@code-partner/codepipe 0.1.137-dev.59.g4039549 → 0.1.137-dev.61.g5455e63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +27 -0
  2. package/dist/index.js +109 -104
  3. package/package.json +3 -3
package/README.md CHANGED
@@ -199,6 +199,7 @@ codepipe daemon headless daemon (launchd/systemd; --profile for multi-
199
199
  codepipe sync clone/fetch the project repos per project.yaml
200
200
  codepipe login set/replace the Claude token (--shared for machine-wide)
201
201
  codepipe clone <id> reconstruct the workspace on another machine
202
+ codepipe project move … repoint an initialised project at another HUB
202
203
  codepipe worker … run the agent worker separately (see below)
203
204
  ```
204
205
 
@@ -272,4 +273,30 @@ mkdir ~/Projects/acme && cd ~/Projects/acme
272
273
  codepipe clone acme # re-clone the workspace; re-enter your tokens
273
274
  ```
274
275
 
276
+ ## Moving a project to another HUB
277
+
278
+ When a project graduates from a shared HUB to an enterprise one (or you want to
279
+ try it on a dev stand), `project move` re-registers it on the target HUB without
280
+ the full `init` wizard. Your Context Repo, project config and stored
281
+ credentials are reused as-is; only a fresh account sign-in on the target HUB is
282
+ needed.
283
+
284
+ ```bash
285
+ codepipe project move --from-profile acme --hub https://hub.enterprise.example
286
+ ```
287
+
288
+ That repoints the `acme` profile in place. To keep the old binding and add a
289
+ second one — e.g. a dev stand alongside prod — write a separate profile:
290
+
291
+ ```bash
292
+ codepipe project move --from-profile acme --to-profile acme-dev \
293
+ --hub https://hub.dev.example --project acme-dev
294
+ ```
295
+
296
+ The move is non-destructive: the project's registration on the old HUB stays.
297
+ Task history is not copied — the project starts clean on the target HUB — and
298
+ the source HUB must be reachable so the current definition can be read.
299
+ `--account <email>` targets a specific account on the new HUB (defaults to the
300
+ source account); `--yes` skips the confirmation.
301
+
275
302
  See the platform docs for architecture and the pipeline state machine.