@zq-silk/yui 0.5.0 → 0.5.1

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.
@@ -785,7 +785,7 @@ export const ROOT_COMMAND = buildNode({
785
785
  {
786
786
  name: "project",
787
787
  summary: "Manage Projects, stable checkouts, branches, and Yui knowledge.",
788
- sections: [{ id: "manage", title: "Commands", entries: ["add", "clone", "refresh", "update", "discover", "list", "show", "knowledge"] }],
788
+ sections: [{ id: "manage", title: "Commands", entries: ["add", "clone", "refresh", "migrate", "update", "discover", "list", "show", "knowledge"] }],
789
789
  children: [
790
790
  {
791
791
  name: "add",
@@ -805,6 +805,12 @@ export const ROOT_COMMAND = buildNode({
805
805
  summary: "Fast-forward a clean stable checkout from its configured remote.",
806
806
  usage: "yui project refresh <project>"
807
807
  },
808
+ {
809
+ name: "migrate",
810
+ summary: "Move an external Project into a Home-managed repository.",
811
+ usage: "yui project migrate <project> [--preflight]",
812
+ options: ["--preflight"]
813
+ },
808
814
  {
809
815
  name: "update",
810
816
  summary: "Update a bound Project's aliases, remote, or branch refs.",
@@ -18,6 +18,18 @@ export const INTERACTION_POLICIES = Object.freeze([
18
18
  actionTarget: true
19
19
  }]
20
20
  },
21
+ {
22
+ commandPath: ["project", "migrate"],
23
+ selectors: [{
24
+ argumentIndex: 2,
25
+ entity: "project",
26
+ provider: "projects",
27
+ actionTarget: true
28
+ }],
29
+ trailingOptions: {
30
+ "--preflight": "flag"
31
+ }
32
+ },
21
33
  {
22
34
  commandPath: ["project", "update"],
23
35
  selectors: [{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zq-silk/yui",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "Local control plane for long-running native agent CLI sessions backed by tmux.",
5
5
  "license": "MIT",
6
6
  "private": false,