You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Without `--output`, the CLI requests `redirect=false` from the Registry API and prints the package, publisher, artifact checksum, storage URL, and signature metadata. With `--output`, it fetches the signed storage URL, verifies the downloaded byte count and SHA-256 checksum, and writes the artifact only after verification passes.
60
60
61
+
6. Produce a dry-run installer plan:
62
+
63
+
```sh
64
+
npm run corehub -- package install plugin-lab --registry https://coreblow.com/corehub
`package install` does not modify CoreBlow plugin state yet. It resolves the package, checks publisher and artifact metadata, and reports the install steps that would run. With `--output`, it also performs the verified artifact download and includes the verification result in the plan.
69
+
61
70
## Package-Compatible Commands
62
71
63
72
CoreHub keeps ClawHub-style package commands so clients can grow around stable registry habits:
npm run corehub -- registry info --registry https://coreblow.com/corehub
92
105
```
93
106
@@ -118,6 +131,25 @@ If the byte count or SHA-256 checksum does not match the artifact manifest, the
118
131
119
132
For the signed redirect behavior behind this command, see [Downloads](/corehub/downloads). For the full trust chain, see [Trust Model](/corehub/trust-model).
120
133
134
+
## Install Planning
135
+
136
+
`corehub package install <id>` is currently an install planner. It returns JSON with:
137
+
138
+
| Field | Purpose |
139
+
| --- | --- |
140
+
|`dryRun`| Always `true` until CoreBlow plugin install wiring lands. |
141
+
|`install.status`| Planned install action and whether CoreBlow state would be modified. |
142
+
|`download.verified`| Whether the artifact was fetched and checksum verified. |
143
+
|`plan`| Ordered install steps for package resolution, publisher verification, artifact fetch, and plugin install. |
144
+
145
+
Use `--output <path>` when you want the planner to prove the artifact bytes:
Without `--output`, the CLI requests `redirect=false` and prints the signed download metadata. With `--output`, it fetches the signed storage URL, verifies `artifact.size` and `artifact.sha256`, then writes the artifact to disk.
68
69
70
+
`package install` uses the same verified download path when `--output` is present, but the command still returns a dry-run install plan instead of modifying CoreBlow plugin state.
71
+
69
72
For the security model behind this flow, see the [Trust Model](/corehub/trust-model). For endpoint details and status codes, see the [Registry API](/corehub/api).
0 commit comments