@detergent-software/atk 9.6.0-dev.1 → 9.6.0-dev.3

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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## [9.6.0-dev.3](https://emergentcode.visualstudio.com/Emergent%20Software/_git/Emergent.AgenticToolkit/branchCompare?baseVersion=GTv9.6.0-dev.2&targetVersion=GTv9.6.0-dev.3) (2026-11-06)
2
+
3
+ ### Features
4
+
5
+ * **schemas:** a plugin version's scan report in the registry index (ATK-917) ([b60bdc0](https://emergentcode.visualstudio.com/Emergent%20Software/_git/Emergent.AgenticToolkit/commit/b60bdc0ba595f1867192b56afc45f964b030d272))
6
+
7
+ ## [9.6.0-dev.2](https://emergentcode.visualstudio.com/Emergent%20Software/_git/Emergent.AgenticToolkit/branchCompare?baseVersion=GTv9.6.0-dev.1&targetVersion=GTv9.6.0-dev.2) (2026-11-06)
8
+
9
+ ### Features
10
+
11
+ * **cli:** atk move takes several names (ATK-911) ([3ff3e4e](https://emergentcode.visualstudio.com/Emergent%20Software/_git/Emergent.AgenticToolkit/commit/3ff3e4e8db0a632b7c52b8de44d08b580e83a149))
12
+
1
13
  ## [9.6.0-dev.1](https://emergentcode.visualstudio.com/Emergent%20Software/_git/Emergent.AgenticToolkit/branchCompare?baseVersion=GTv9.5.0&targetVersion=GTv9.6.0-dev.1) (2026-11-06)
2
14
 
3
15
  ### Features
package/README.md CHANGED
@@ -90,7 +90,7 @@ atk update
90
90
  | `atk list` | List all installed assets (`--tree`: with their dependencies) |
91
91
  | `atk login` | Sign in with your Emergent (Microsoft Entra) account |
92
92
  | `atk logout` | Sign out of your Emergent account |
93
- | `atk move <asset>` | Move an installed asset between the project and the user scope |
93
+ | `atk move <assets...>` | Move installed assets between the project and the user scope |
94
94
  | `atk outdated` | Show assets with available updates |
95
95
  | `atk pin <assets...>` | Pin assets at their installed versions |
96
96
  | `atk promote <name>` | Promote an org-scoped asset or bundle to global via PR |
@@ -363,8 +363,8 @@ atk list --user
363
363
  atk outdated --user
364
364
  atk update --user
365
365
 
366
- # Move a project install to your user scope, or back
367
- atk move my-skill --to user
366
+ # Move project installs to your user scope, or back
367
+ atk move my-skill my-rule --to user
368
368
  atk move my-skill --to project
369
369
  ```
370
370
 
@@ -708,9 +708,13 @@
708
708
  {
709
709
  "description": "Asset name to move (supports @org/name and global:name)",
710
710
  "name": "<name>"
711
+ },
712
+ {
713
+ "description": "More assets to move with the first; every name is checked before any moves, and a failure stops the rest",
714
+ "name": "[names...]"
711
715
  }
712
716
  ],
713
- "description": "Move an installed asset between the project and the user scope",
717
+ "description": "Move installed assets between the project and the user scope",
714
718
  "file": "move.js",
715
719
  "options": [
716
720
  {
@@ -734,7 +738,7 @@
734
738
  },
735
739
  {
736
740
  "flags": "--to <to>",
737
- "description": "The scope to move the asset to: user (the user root, ~ by default) or project",
741
+ "description": "The scope to move the assets to: user (the user root, ~ by default) or project",
738
742
  "choices": [
739
743
  "project",
740
744
  "user"
@@ -742,7 +746,7 @@
742
746
  },
743
747
  {
744
748
  "flags": "-t, --type [type]",
745
- "description": "Asset type, when the name is installed as more than one type",
749
+ "description": "Asset type, when a name is installed as more than one type",
746
750
  "choices": [
747
751
  "skill",
748
752
  "agent",
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- export declare const description = "Move an installed asset between the project and the user scope";
2
+ export declare const description = "Move installed assets between the project and the user scope";
3
3
  export declare const options: z.ZodObject<{
4
4
  dryRun: z.ZodDefault<z.ZodBoolean>;
5
5
  force: z.ZodDefault<z.ZodBoolean>;
@@ -19,11 +19,12 @@ export declare const options: z.ZodObject<{
19
19
  plugin: "plugin";
20
20
  }>>;
21
21
  }, z.core.$strip>;
22
- export declare const args: z.ZodTuple<[z.ZodString], null>;
22
+ export declare const args: z.ZodTuple<[z.ZodString], z.ZodString>;
23
+ type Options = z.infer<typeof options>;
23
24
  type Props = {
24
25
  args: z.infer<typeof args>;
25
- options: z.infer<typeof options>;
26
+ options: Options;
26
27
  };
27
- export default function Move({ args: [rawName], options: { dryRun, force, json, projectRoot, to, type } }: Props): import("react").JSX.Element;
28
+ export default function Move({ args: [rawName, ...more], options }: Props): import("react").JSX.Element;
28
29
  export {};
29
30
  //# sourceMappingURL=move.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"move.d.ts","sourceRoot":"","sources":["../../src/commands/move.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAgBxB,eAAO,MAAM,WAAW,mEAAmE,CAAC;AAE5F,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;iBAiDlB,CAAC;AAEH,eAAO,MAAM,IAAI,iCAIf,CAAC;AAIH,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC;IAC3B,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,OAAO,CAAC,CAAC;CAClC,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,EAAE,IAAI,EAAE,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,WAAW,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,KAAK,+BA4I/G"}
1
+ {"version":3,"file":"move.d.ts","sourceRoot":"","sources":["../../src/commands/move.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA2BxB,eAAO,MAAM,WAAW,iEAAiE,CAAC;AAE1F,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;iBAiDlB,CAAC;AAEH,eAAO,MAAM,IAAI,wCAcd,CAAC;AAIJ,KAAK,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,OAAO,CAAC,CAAC;AAEvC,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC;IAC3B,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAKF,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,EAAE,IAAI,EAAE,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,EAAE,OAAO,EAAE,EAAE,KAAK,+BAMxE"}
@@ -3,15 +3,16 @@ import { Box, Text } from 'ink';
3
3
  import { z } from 'zod';
4
4
  import { ErrorView, Spinner } from '../components/index.js';
5
5
  import { useCommand } from '../hooks/useCommand.js';
6
- import { errorMessage } from '../lib/errors.js';
7
- import { executeMove, finishMoveCommand, planMove } from '../lib/mover.js';
6
+ import { errorGuidance, errorMessage } from '../lib/errors.js';
7
+ import { identityKey } from '../lib/lockfile.js';
8
+ import { executeMove, executeMoves, finishMoveCommand, planMove, planMoves, } from '../lib/mover.js';
8
9
  import { formatOrgName } from '../lib/org.js';
9
10
  import { renderJson, useNonInteractive } from '../lib/output.js';
10
11
  import { argument, option } from '../lib/pastel/index.js';
11
12
  import { fetchRegistry } from '../lib/registry.js';
12
13
  import { AssetType } from '../lib/schemas/index.js';
13
14
  import { scopeLabel } from '../lib/scope.js';
14
- export const description = 'Move an installed asset between the project and the user scope';
15
+ export const description = 'Move installed assets between the project and the user scope';
15
16
  export const options = z.object({
16
17
  dryRun: z
17
18
  .boolean()
@@ -42,100 +43,25 @@ export const options = z.object({
42
43
  description: 'The project side of the move (default: the project at the current directory)',
43
44
  })),
44
45
  to: z.enum(['project', 'user']).describe(option({
45
- description: 'The scope to move the asset to: user (the user root, ~ by default) or project',
46
+ description: 'The scope to move the assets to: user (the user root, ~ by default) or project',
46
47
  })),
47
48
  type: AssetType.optional().describe(option({
48
49
  alias: 't',
49
- description: 'Asset type, when the name is installed as more than one type',
50
+ description: 'Asset type, when a name is installed as more than one type',
50
51
  })),
51
52
  });
52
- export const args = z.tuple([
53
+ export const args = z
54
+ .tuple([
53
55
  z
54
56
  .string()
55
57
  .describe(argument({ description: 'Asset name to move (supports @org/name and global:name)', name: 'name' })),
56
- ]);
57
- export default function Move({ args: [rawName], options: { dryRun, force, json, projectRoot, to, type } }) {
58
- const { json: effectiveJson } = useNonInteractive(json);
59
- const state = useCommand(async (progress) => {
60
- progress('Fetching registry...');
61
- const registry = await fetchRegistry({ force: true });
62
- progress('Planning the move...');
63
- const request = { force, projectRoot, spec: rawName, to, type };
64
- if (dryRun)
65
- return { outcome: 'dry-run', plan: await planMove(request, registry, progress) };
66
- const result = await executeMove(request, registry, progress);
67
- if (result.outcome === 'source-uninstall-failed')
68
- process.exitCode = 1;
69
- return result;
70
- }, [rawName, dryRun, force, projectRoot, to, type]);
71
- if (state.status === 'loading') {
72
- return _jsx(Spinner, { message: state.message });
73
- }
74
- if (state.status === 'error') {
75
- if (effectiveJson) {
76
- return renderJson({
77
- ...(state.code ? { code: state.code } : {}),
78
- ...(state.command ? { command: state.command } : {}),
79
- ...(state.hint ? { hint: state.hint } : {}),
80
- message: state.message,
81
- outcome: 'error',
82
- });
83
- }
84
- return _jsx(ErrorView, { command: state.command, hint: state.hint, message: state.message });
85
- }
86
- const { data } = state;
87
- const { plan } = data;
88
- const from = scopeLabel(plan.from);
89
- const target = scopeLabel(plan.to);
90
- if (data.outcome === 'source-uninstall-failed') {
91
- const message = `Installed ${formatOrgName(plan.asset.org, plan.asset.name)} in ${target}, but removing it from ${from} failed: ${errorMessage(data.error)}`;
92
- const command = finishMoveCommand(plan);
93
- const hint = `Both scopes have it installed now. Run the command to finish the move, or atk sync in ${from} to restore its files.`;
94
- if (effectiveJson) {
95
- return renderJson({
96
- ...moveFields(plan),
97
- command,
98
- hint,
99
- installed: installedFields(data.toolResults),
100
- message,
101
- outcome: data.outcome,
102
- });
103
- }
104
- return _jsx(ErrorView, { command: command, hint: hint, message: message });
105
- }
106
- if (data.outcome === 'dry-run') {
107
- if (effectiveJson) {
108
- return renderJson({
109
- ...moveFields(plan),
110
- install: plan.install.entries.map((e) => ({
111
- name: e.asset.name,
112
- ...(e.asset.org ? { org: e.asset.org } : {}),
113
- reason: e.reason,
114
- type: e.asset.type,
115
- version: e.version,
116
- })),
117
- outcome: data.outcome,
118
- uninstall: [plan.asset, ...plan.dependencies.moving].map(assetFields),
119
- });
120
- }
121
- return (_jsxs(Box, { flexDirection: 'column', children: [_jsx(Text, { color: 'yellow', children: "~ Dry run \u2014 no changes will be made" }), _jsxs(Text, { children: ["Would move ", _jsx(Text, { bold: true, children: formatOrgName(plan.asset.org, plan.asset.name) }), " v", plan.asset.version, " from", ' ', from, " to ", target, ":"] }), _jsx(Text, { children: " " }), _jsxs(Text, { dimColor: true, children: ["Install in ", target, " (", plan.targetTools.map((t) => t.tool).join(', '), "):"] }), plan.install.entries.length === 0 && _jsxs(Text, { dimColor: true, children: [' ', "nothing (already installed)"] }), plan.install.entries.map((e) => (_jsxs(Text, { children: [' ', "+ ", formatOrgName(e.asset.org, e.asset.name), _jsxs(Text, { dimColor: true, children: [' ', "(", e.asset.type, ") v", e.version, e.reason === 'dependency' ? ' (dependency)' : ''] })] }, `${e.asset.type}:${e.asset.org ?? ''}:${e.asset.name}`))), _jsx(Text, { children: " " }), _jsxs(Text, { dimColor: true, children: ["Remove from ", from, ":"] }), [plan.asset, ...plan.dependencies.moving].map((a) => (_jsx(AssetLine, { asset: a, mark: '\u2715' }, `${a.type}:${a.org ?? ''}:${a.name}`))), _jsx(Kept, { from: from, plan: plan })] }));
122
- }
123
- if (effectiveJson) {
124
- return renderJson({
125
- ...moveFields(plan),
126
- installed: installedFields(data.toolResults),
127
- outcome: data.outcome,
128
- removed: data.removed.map((r) => ({
129
- name: r.name,
130
- ...(r.org ? { org: r.org } : {}),
131
- reason: r.reason,
132
- type: r.type,
133
- version: r.version,
134
- })),
135
- ...(data.warnings.length > 0 ? { warnings: data.warnings } : {}),
136
- });
137
- }
138
- return (_jsxs(Box, { flexDirection: 'column', children: [_jsxs(Text, { color: 'green', children: ["Moved ", _jsx(Text, { bold: true, children: formatOrgName(plan.asset.org, plan.asset.name) }), " v", plan.asset.version, " from ", from, " to", ' ', target, plan.asset.pinnedVersion ? _jsx(Text, { dimColor: true, children: " (pinned)" }) : null, plan.frozen ? _jsx(Text, { dimColor: true, children: " (frozen)" }) : null] }), plan.dependencies.moving.map((a) => (_jsx(AssetLine, { asset: a, mark: '\u2192' }, `${a.type}:${a.org ?? ''}:${a.name}`))), _jsx(Kept, { from: from, plan: plan }), data.warnings.map((warning) => (_jsxs(Text, { color: 'yellow', children: ["! ", warning] }, warning)))] }));
58
+ ])
59
+ .rest(z.string().describe(argument({
60
+ description: 'More assets to move with the first; every name is checked before any moves, and a failure stops the rest',
61
+ name: 'names',
62
+ })));
63
+ export default function Move({ args: [rawName, ...more], options }) {
64
+ return more.length > 0 ? (_jsx(MoveSeveral, { options: options, specs: [rawName, ...more] })) : (_jsx(MoveOne, { options: options, rawName: rawName }));
139
65
  }
140
66
  function assetFields(asset) {
141
67
  return {
@@ -150,6 +76,33 @@ function assetFields(asset) {
150
76
  function AssetLine({ asset, mark }) {
151
77
  return (_jsxs(Text, { children: [' ', mark, " ", formatOrgName(asset.org, asset.name), _jsxs(Text, { dimColor: true, children: [' ', "(", asset.type, ") v", asset.version, (asset.installReason ?? 'direct') === 'dependency' ? ' (dependency)' : ''] })] }));
152
78
  }
79
+ function DryRunBanner() {
80
+ return _jsx(Text, { color: 'yellow', children: "~ Dry run \u2014 no changes will be made" });
81
+ }
82
+ /** A planned move's dry run, as `--json` reports it. */
83
+ function dryRunFields(plan) {
84
+ return {
85
+ ...moveFields(plan),
86
+ install: plan.install.entries.map((e) => ({
87
+ name: e.asset.name,
88
+ ...(e.asset.org ? { org: e.asset.org } : {}),
89
+ reason: e.reason,
90
+ type: e.asset.type,
91
+ version: e.version,
92
+ })),
93
+ outcome: 'dry-run',
94
+ uninstall: [plan.asset, ...plan.dependencies.moving].map(assetFields),
95
+ };
96
+ }
97
+ function errorFields(state) {
98
+ return {
99
+ ...(state.code ? { code: state.code } : {}),
100
+ ...(state.command ? { command: state.command } : {}),
101
+ ...(state.hint ? { hint: state.hint } : {}),
102
+ message: state.message,
103
+ outcome: 'error',
104
+ };
105
+ }
153
106
  function installedFields(toolResults) {
154
107
  return toolResults.map(({ results, tool }) => ({
155
108
  assets: results.map((r) => ({
@@ -168,6 +121,27 @@ function Kept({ from, plan }) {
168
121
  return null;
169
122
  return (_jsxs(_Fragment, { children: [_jsx(Text, { children: " " }), _jsxs(Text, { dimColor: true, children: ["Kept in ", from, " (other assets there need them):"] }), plan.dependencies.staying.map((a) => (_jsx(AssetLine, { asset: a, mark: '=' }, `${a.type}:${a.org ?? ''}:${a.name}`)))] }));
170
123
  }
124
+ /** A finished move: the asset, its dependencies that went with it, those kept, and any warnings. */
125
+ function Moved({ plan, result }) {
126
+ const from = scopeLabel(plan.from);
127
+ return (_jsxs(Box, { flexDirection: 'column', children: [_jsxs(Text, { color: 'green', children: ["Moved ", _jsx(Text, { bold: true, children: formatOrgName(plan.asset.org, plan.asset.name) }), " v", plan.asset.version, " from ", from, " to", ' ', scopeLabel(plan.to), plan.asset.pinnedVersion ? _jsx(Text, { dimColor: true, children: " (pinned)" }) : null, plan.frozen ? _jsx(Text, { dimColor: true, children: " (frozen)" }) : null] }), plan.dependencies.moving.map((a) => (_jsx(AssetLine, { asset: a, mark: '\u2192' }, `${a.type}:${a.org ?? ''}:${a.name}`))), _jsx(Kept, { from: from, plan: plan }), result.warnings.map((warning) => (_jsxs(Text, { color: 'yellow', children: ["! ", warning] }, warning)))] }));
128
+ }
129
+ /** A finished move, as `--json` reports it. */
130
+ function movedFields(plan, result) {
131
+ return {
132
+ ...moveFields(plan),
133
+ installed: installedFields(result.toolResults),
134
+ outcome: result.outcome,
135
+ removed: result.removed.map((r) => ({
136
+ name: r.name,
137
+ ...(r.org ? { org: r.org } : {}),
138
+ reason: r.reason,
139
+ type: r.type,
140
+ version: r.version,
141
+ })),
142
+ ...(result.warnings.length > 0 ? { warnings: result.warnings } : {}),
143
+ };
144
+ }
171
145
  /** The fields every `--json` outcome of a planned move carries: the asset and both scopes. */
172
146
  function moveFields(plan) {
173
147
  return {
@@ -181,4 +155,157 @@ function moveFields(plan) {
181
155
  to: { root: plan.to.root, scope: plan.to.scope, tools: plan.targetTools.map((t) => t.tool) },
182
156
  };
183
157
  }
158
+ function MoveOne({ options: { dryRun, force, json, projectRoot, to, type }, rawName, }) {
159
+ const { json: effectiveJson } = useNonInteractive(json);
160
+ const state = useCommand(async (progress) => {
161
+ progress('Fetching registry...');
162
+ const registry = await fetchRegistry({ force: true });
163
+ progress('Planning the move...');
164
+ const request = { force, projectRoot, spec: rawName, to, type };
165
+ if (dryRun)
166
+ return { outcome: 'dry-run', plan: await planMove(request, registry, progress) };
167
+ const result = await executeMove(request, registry, progress);
168
+ if (result.outcome === 'source-uninstall-failed')
169
+ process.exitCode = 1;
170
+ return result;
171
+ }, [rawName, dryRun, force, projectRoot, to, type]);
172
+ if (state.status === 'loading') {
173
+ return _jsx(Spinner, { message: state.message });
174
+ }
175
+ if (state.status === 'error') {
176
+ if (effectiveJson)
177
+ return renderJson(errorFields(state));
178
+ return _jsx(ErrorView, { command: state.command, hint: state.hint, message: state.message });
179
+ }
180
+ const { data } = state;
181
+ const { plan } = data;
182
+ if (data.outcome === 'source-uninstall-failed') {
183
+ if (effectiveJson)
184
+ return renderJson(uninstallFailedFields(plan, data));
185
+ return _jsx(ErrorView, { ...uninstallFailed(plan, data.error) });
186
+ }
187
+ if (data.outcome === 'dry-run') {
188
+ if (effectiveJson)
189
+ return renderJson(dryRunFields(plan));
190
+ return (_jsxs(Box, { flexDirection: 'column', children: [_jsx(DryRunBanner, {}), _jsx(WouldMove, { plan: plan })] }));
191
+ }
192
+ if (effectiveJson)
193
+ return renderJson(movedFields(plan, data));
194
+ return _jsx(Moved, { plan: plan, result: data });
195
+ }
196
+ function MoveSeveral({ options: { dryRun, force, json, projectRoot, to, type }, specs, }) {
197
+ const { json: effectiveJson } = useNonInteractive(json);
198
+ const state = useCommand(async (progress) => {
199
+ progress('Fetching registry...');
200
+ const registry = await fetchRegistry({ force: true });
201
+ progress('Planning the moves...');
202
+ const moveOptions = { force, projectRoot, to, type };
203
+ if (dryRun)
204
+ return { named: await planMoves(specs, moveOptions, registry, progress), outcome: 'dry-run' };
205
+ const named = await executeMoves(specs, moveOptions, registry, progress);
206
+ if (overallOutcome(named) !== 'moved')
207
+ process.exitCode = 1;
208
+ return { named, outcome: 'run' };
209
+ }, [specs.join(' '), dryRun, force, projectRoot, to, type]);
210
+ if (state.status === 'loading') {
211
+ return _jsx(Spinner, { message: state.message });
212
+ }
213
+ if (state.status === 'error') {
214
+ if (effectiveJson)
215
+ return renderJson(errorFields(state));
216
+ return _jsx(ErrorView, { command: state.command, hint: state.hint, message: state.message });
217
+ }
218
+ const { data } = state;
219
+ if (data.outcome === 'dry-run') {
220
+ if (effectiveJson) {
221
+ return renderJson({
222
+ assets: data.named.map((n) => 'plan' in n
223
+ ? { name: n.spec, ...dryRunFields(n.plan) }
224
+ : // Taken along by another named asset's move: `with` names it.
225
+ { asset: assetFields(n.asset), name: n.spec, outcome: 'dry-run', with: assetFields(n.with) }),
226
+ outcome: 'dry-run',
227
+ });
228
+ }
229
+ return (_jsxs(Box, { flexDirection: 'column', children: [_jsx(DryRunBanner, {}), data.named.map((n) => (_jsxs(Box, { flexDirection: 'column', children: ['plan' in n ? _jsx(WouldMove, { plan: n.plan }) : _jsx(MovesWith, { asset: n.asset, verb: 'Would move', with: n.with }), _jsx(Text, { children: " " })] }, 'plan' in n ? identityKey(n.plan.asset) : identityKey(n.asset))))] }));
230
+ }
231
+ if (effectiveJson) {
232
+ return renderJson({ assets: data.named.map(namedResultFields), outcome: overallOutcome(data.named) });
233
+ }
234
+ return (_jsx(Box, { flexDirection: 'column', children: data.named.map((n) => (_jsx(NamedResult, { result: n }, identityKey('plan' in n ? n.plan.asset : n.asset)))) }));
235
+ }
236
+ /** A named asset another named asset's move takes along, as its dependency. */
237
+ function MovesWith({ asset, verb, with: by }) {
238
+ return (_jsxs(Text, { children: [verb, " ", _jsx(Text, { bold: true, children: formatOrgName(asset.org, asset.name) }), " v", asset.version, " with", ' ', formatOrgName(by.org, by.name), " ", _jsx(Text, { dimColor: true, children: "(its dependency)" })] }));
239
+ }
240
+ /** How one of several named assets' move ended, in human output. */
241
+ function NamedResult({ result }) {
242
+ switch (result.outcome) {
243
+ case 'error':
244
+ return (_jsx(ErrorView, { ...errorGuidance(result.error), message: `${formatOrgName(result.asset.org, result.asset.name)}: ${errorMessage(result.error)}` }));
245
+ case 'moved':
246
+ return _jsx(Moved, { plan: result.plan, result: result });
247
+ case 'moved-with':
248
+ return _jsx(MovesWith, { asset: result.asset, verb: 'Moved', with: result.with });
249
+ case 'not-run':
250
+ return (_jsxs(Text, { dimColor: true, children: ["Not moved: ", formatOrgName(result.asset.org, result.asset.name), " (an earlier move failed)"] }));
251
+ case 'source-uninstall-failed':
252
+ return _jsx(ErrorView, { ...uninstallFailed(result.plan, result.error) });
253
+ }
254
+ }
255
+ /** One of several named assets' result, as `--json` reports it; `name` is the name as given. */
256
+ function namedResultFields(result) {
257
+ const name = result.spec;
258
+ switch (result.outcome) {
259
+ case 'error':
260
+ return {
261
+ asset: assetFields(result.asset),
262
+ ...errorGuidance(result.error),
263
+ message: errorMessage(result.error),
264
+ name,
265
+ outcome: result.outcome,
266
+ };
267
+ case 'moved':
268
+ return { name, ...movedFields(result.plan, result) };
269
+ case 'moved-with':
270
+ return { asset: assetFields(result.asset), name, outcome: result.outcome, with: assetFields(result.with) };
271
+ case 'not-run':
272
+ return { asset: assetFields(result.asset), name, outcome: result.outcome };
273
+ case 'source-uninstall-failed':
274
+ return { name, ...uninstallFailedFields(result.plan, result) };
275
+ }
276
+ }
277
+ /** `moved` when every name moved (or went with another), `partial` when some did, else `failed`. */
278
+ function overallOutcome(named) {
279
+ const done = named.filter((n) => n.outcome === 'moved' || n.outcome === 'moved-with').length;
280
+ if (done === named.length)
281
+ return 'moved';
282
+ return named.some((n) => n.outcome === 'moved') ? 'partial' : 'failed';
283
+ }
284
+ /** The message, command and hint of a move whose target half finished and source half failed. */
285
+ function uninstallFailed(plan, error) {
286
+ const from = scopeLabel(plan.from);
287
+ return {
288
+ command: finishMoveCommand(plan),
289
+ hint: `Both scopes have it installed now. Run the command to finish the move, or atk sync in ${from} to restore its files.`,
290
+ message: `Installed ${formatOrgName(plan.asset.org, plan.asset.name)} in ${scopeLabel(plan.to)}, but removing it from ${from} failed: ${errorMessage(error)}`,
291
+ };
292
+ }
293
+ /** A move whose target half finished and source half failed, as `--json` reports it. */
294
+ function uninstallFailedFields(plan, result) {
295
+ const { command, hint, message } = uninstallFailed(plan, result.error);
296
+ return {
297
+ ...moveFields(plan),
298
+ command,
299
+ hint,
300
+ installed: installedFields(result.toolResults),
301
+ message,
302
+ outcome: result.outcome,
303
+ };
304
+ }
305
+ /** A planned move's dry run: what the target installs, what the source removes, what it keeps. */
306
+ function WouldMove({ plan }) {
307
+ const from = scopeLabel(plan.from);
308
+ const target = scopeLabel(plan.to);
309
+ return (_jsxs(Box, { flexDirection: 'column', children: [_jsxs(Text, { children: ["Would move ", _jsx(Text, { bold: true, children: formatOrgName(plan.asset.org, plan.asset.name) }), " v", plan.asset.version, " from ", from, ' ', "to ", target, ":"] }), _jsx(Text, { children: " " }), _jsxs(Text, { dimColor: true, children: ["Install in ", target, " (", plan.targetTools.map((t) => t.tool).join(', '), "):"] }), plan.install.entries.length === 0 && _jsxs(Text, { dimColor: true, children: [' ', "nothing (already installed)"] }), plan.install.entries.map((e) => (_jsxs(Text, { children: [' ', "+ ", formatOrgName(e.asset.org, e.asset.name), _jsxs(Text, { dimColor: true, children: [' ', "(", e.asset.type, ") v", e.version, e.reason === 'dependency' ? ' (dependency)' : ''] })] }, `${e.asset.type}:${e.asset.org ?? ''}:${e.asset.name}`))), _jsx(Text, { children: " " }), _jsxs(Text, { dimColor: true, children: ["Remove from ", from, ":"] }), [plan.asset, ...plan.dependencies.moving].map((a) => (_jsx(AssetLine, { asset: a, mark: '\u2715' }, `${a.type}:${a.org ?? ''}:${a.name}`))), _jsx(Kept, { from: from, plan: plan })] }));
310
+ }
184
311
  //# sourceMappingURL=move.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"move.js","sourceRoot":"","sources":["../../src/commands/move.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAChC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAkC,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3G,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C,MAAM,CAAC,MAAM,WAAW,GAAG,gEAAgE,CAAC;AAE5F,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9B,MAAM,EAAE,CAAC;SACN,OAAO,EAAE;SACT,OAAO,CAAC,KAAK,CAAC;SACd,QAAQ,CACP,MAAM,CAAC;QACL,KAAK,EAAE,GAAG;QACV,WAAW,EAAE,iEAAiE;KAC/E,CAAC,CACH;IACH,KAAK,EAAE,CAAC;SACL,OAAO,EAAE;SACT,OAAO,CAAC,KAAK,CAAC;SACd,QAAQ,CACP,MAAM,C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AC,CAAC,CAAC,EAAE,EAAE,CAAC,CAC/B,MAAC,IAAI,eACF,IAAI,QAAI,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,EACjD,MAAC,IAAI,IAAC,QAAQ,mBACX,GAAG,OACF,CAAC,CAAC,KAAK,CAAC,IAAI,SAAK,CAAC,CAAC,OAAO,EAC3B,CAAC,CAAC,MAAM,KAAK,YAAY,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE,IAC5C,KANE,GAAG,CAAC,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,CAAC,KAAK,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC,CAAC,KAAK,CAAC,IAAI,EAAE,CAO1D,CACR,CAAC,EACF,KAAC,IAAI,oBAAS,EACd,MAAC,IAAI,IAAC,QAAQ,mCAAc,IAAI,SAAS,EACxC,CAAC,IAAI,CAAC,KAAK,EAAE,GAAG,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CACpD,KAAC,SAAS,IAAC,KAAK,EAAE,CAAC,EAA6C,IAAI,EAAC,QAAG,IAA9C,GAAG,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC,CAAC,IAAI,EAAE,CAAa,CAC5E,CAAC,EACF,KAAC,IAAI,IAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,GAAI,IAC5B,CACP,CAAC;AACJ,CAAC"}
@@ -1,3 +1,3 @@
1
1
  export { checkout, deprecate, deprecatePlan, downloadAsset, downloadBundle, getAssetFile, getAssetManifest, getAssetReadme, getBundleManifest, getBundleReadme, getCliReleases, getRegistry, getSchema, getUsage, health, listAssetFiles, listBundleVersions, me, openApi, type Options, promote, promotePlan, publish, publishPlan, reportInstalls, unpublish, unpublishPlan } from './sdk.gen.ts';
2
- export type { ApiError, ApiErrorDetail, AssetUsage, BundleUsage, BundleVersionsResponse, CheckoutData, CheckoutError, CheckoutErrors, CheckoutFile, CheckoutResponse, CheckoutResponse2, CheckoutResponses, ClientOptions, CliRelease, CliReleaseList, DeprecateData, DeprecateError, DeprecateErrors, DeprecatePlanData, DeprecatePlanError, DeprecatePlanErrors, DeprecatePlanResponse, DeprecatePlanResponses, DeprecateRequest, DeprecateResponse, DeprecateResponses, DeprecationChange, DeprecationFile, DeprecationPlan, DeprecationState, DownloadAssetData, DownloadAssetError, DownloadAssetErrors, DownloadAssetResponse, DownloadAssetResponses, DownloadBundleData, DownloadBundleError, DownloadBundleErrors, DownloadBundleResponse, DownloadBundleResponses, FileEntry, FileListResponse, GetAssetFileData, GetAssetFileError, GetAssetFileErrors, GetAssetFileResponse, GetAssetFileResponses, GetAssetManifestData, GetAssetManifestError, GetAssetManifestErrors, GetAssetManifestResponse, GetAssetManifestResponses, GetAssetReadmeData, GetAssetReadmeError, GetAssetReadmeErrors, GetAssetReadmeResponse, GetAssetReadmeResponses, GetBundleManifestData, GetBundleManifestError, GetBundleManifestErrors, GetBundleManifestResponse, GetBundleManifestResponses, GetBundleReadmeData, GetBundleReadmeError, GetBundleReadmeErrors, GetBundleReadmeResponse, GetBundleReadmeResponses, GetCliReleasesData, GetCliReleasesError, GetCliReleasesErrors, GetCliReleasesResponse, GetCliReleasesResponses, GetRegistryData, GetRegistryError, GetRegistryErrors, GetRegistryResponse, GetRegistryResponses, GetSchemaData, GetSchemaError, GetSchemaErrors, GetSchemaResponse, GetSchemaResponses, GetUsageData, GetUsageError, GetUsageErrors, GetUsageResponse, GetUsageResponses, HealthData, HealthResponse, HealthResponse2, HealthResponses, InstalledAsset, InstalledBundle, InstallReport, ListAssetFilesData, ListAssetFilesError, ListAssetFilesErrors, ListAssetFilesResponse, ListAssetFilesResponses, ListBundleVersionsData, ListBundleVersionsError, ListBundleVersionsErrors, ListBundleVersionsResponse, ListBundleVersionsResponses, MeData, MeError, MeErrors, MeResponse, MeResponses, OpenApiData, OpenApiResponse, OpenApiResponses, Principal, PromoteData, PromoteError, PromoteErrors, PromotePlanData, PromotePlanError, PromotePlanErrors, PromotePlanResponse, PromotePlanResponses, PromoteRequest, PromoteResponse, PromoteResponses, PublishData, PublishDependency, PublishEntry, PublishEntryPlan, PublishError, PublishErrors, PublishFile, PublishPlan, PublishPlanData, PublishPlanError, PublishPlanErrors, PublishPlanResponse, PublishPlanResponses, PublishRequest, PublishResponse, PublishResponse2, PublishResponses, RegistryChangePlan, RegistryChangeResponse, RegistryPathChange, ReportInstallsData, ReportInstallsError, ReportInstallsErrors, ReportInstallsResponse, ReportInstallsResponses, UnpublishData, UnpublishError, UnpublishErrors, UnpublishPlanData, UnpublishPlanError, UnpublishPlanErrors, UnpublishPlanResponse, UnpublishPlanResponses, UnpublishRequest, UnpublishResponse, UnpublishResponses, UsageResponse } from './types.gen.ts';
2
+ export type { ApiError, ApiErrorDetail, AssetUsage, BundleUsage, BundleVersionsResponse, CheckoutData, CheckoutError, CheckoutErrors, CheckoutFile, CheckoutResponse, CheckoutResponse2, CheckoutResponses, ClientOptions, CliRelease, CliReleaseList, DeprecateData, DeprecateError, DeprecateErrors, DeprecatePlanData, DeprecatePlanError, DeprecatePlanErrors, DeprecatePlanResponse, DeprecatePlanResponses, DeprecateRequest, DeprecateResponse, DeprecateResponses, DeprecationChange, DeprecationFile, DeprecationPlan, DeprecationState, DownloadAssetData, DownloadAssetError, DownloadAssetErrors, DownloadAssetResponse, DownloadAssetResponses, DownloadBundleData, DownloadBundleError, DownloadBundleErrors, DownloadBundleResponse, DownloadBundleResponses, FileEntry, FileListResponse, GetAssetFileData, GetAssetFileError, GetAssetFileErrors, GetAssetFileResponse, GetAssetFileResponses, GetAssetManifestData, GetAssetManifestError, GetAssetManifestErrors, GetAssetManifestResponse, GetAssetManifestResponses, GetAssetReadmeData, GetAssetReadmeError, GetAssetReadmeErrors, GetAssetReadmeResponse, GetAssetReadmeResponses, GetBundleManifestData, GetBundleManifestError, GetBundleManifestErrors, GetBundleManifestResponse, GetBundleManifestResponses, GetBundleReadmeData, GetBundleReadmeError, GetBundleReadmeErrors, GetBundleReadmeResponse, GetBundleReadmeResponses, GetCliReleasesData, GetCliReleasesError, GetCliReleasesErrors, GetCliReleasesResponse, GetCliReleasesResponses, GetRegistryData, GetRegistryError, GetRegistryErrors, GetRegistryResponse, GetRegistryResponses, GetSchemaData, GetSchemaError, GetSchemaErrors, GetSchemaResponse, GetSchemaResponses, GetUsageData, GetUsageError, GetUsageErrors, GetUsageResponse, GetUsageResponses, HealthData, HealthResponse, HealthResponse2, HealthResponses, InstalledAsset, InstalledBundle, InstallReport, ListAssetFilesData, ListAssetFilesError, ListAssetFilesErrors, ListAssetFilesResponse, ListAssetFilesResponses, ListBundleVersionsData, ListBundleVersionsError, ListBundleVersionsErrors, ListBundleVersionsResponse, ListBundleVersionsResponses, MeData, MeError, MeErrors, MeResponse, MeResponses, OpenApiData, OpenApiResponse, OpenApiResponses, Principal, PromoteData, PromoteError, PromoteErrors, PromotePlanData, PromotePlanError, PromotePlanErrors, PromotePlanResponse, PromotePlanResponses, PromoteRequest, PromoteResponse, PromoteResponses, PublishData, PublishDependency, PublishEntry, PublishEntryPlan, PublishError, PublishErrors, PublishFile, PublishPlan, PublishPlanData, PublishPlanError, PublishPlanErrors, PublishPlanResponse, PublishPlanResponses, PublishRequest, PublishResponse, PublishResponse2, PublishResponses, RegistryChangeEntryPlan, RegistryChangePlan, RegistryChangeResponse, RegistryPathChange, ReportInstallsData, ReportInstallsError, ReportInstallsErrors, ReportInstallsResponse, ReportInstallsResponses, UnpublishData, UnpublishError, UnpublishErrors, UnpublishPlanData, UnpublishPlanError, UnpublishPlanErrors, UnpublishPlanResponse, UnpublishPlanResponses, UnpublishRequest, UnpublishResponse, UnpublishResponses, UnpublishTarget, UsageResponse } from './types.gen.ts';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRo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,gBAAgB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,cAAc,EAAE,eAAe,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,aAAa,EAAE,cAAc,EAAE,eAAe,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC"}
@@ -82,11 +82,11 @@ export declare const publishPlan: <ThrowOnError extends boolean = false>(options
82
82
  */
83
83
  export declare const publish: <ThrowOnError extends boolean = false>(options: Options<PublishData, ThrowOnError>) => RequestResult<PublishResponses, PublishErrors, ThrowOnError>;
84
84
  /**
85
- * Resolve an unpublish target and return the plan (branch, PR title and body, directories removed) without touching GitHub. The same guards as the execute call apply, so this is the dry run.
85
+ * Resolve an unpublish target and return the plan (branch, PR title and body, directories removed) without touching GitHub. The same guards as the execute call apply, so this is the dry run. With `targets`, the plan is the batch's, and `entries` plans each of `targets`.
86
86
  */
87
87
  export declare const unpublishPlan: <ThrowOnError extends boolean = false>(options: Options<UnpublishPlanData, ThrowOnError>) => RequestResult<UnpublishPlanResponses, UnpublishPlanErrors, ThrowOnError>;
88
88
  /**
89
- * Open a registry PR that removes an asset, a bundle, or one version of either. Refused while published bundles reference the asset (or pin the version). Written like a publish, by the API's publish identity with the commit authored as the caller; the PR body names who asked.
89
+ * Open a registry PR that removes an asset, a bundle, or one version of either. Refused while published bundles reference the asset (or pin the version). Written like a publish, by the API's publish identity with the commit authored as the caller; the PR body names who asked. With `targets`, every target is removed in one commit and one pull request, on an `unpublish/batch/` branch under a title that names every target, and the warnings name their target.
90
90
  */
91
91
  export declare const unpublish: <ThrowOnError extends boolean = false>(options: Options<UnpublishData, ThrowOnError>) => RequestResult<UnpublishResponses, UnpublishErrors, ThrowOnError>;
92
92
  /**
@@ -134,7 +134,7 @@ export const publish = (options) => (options.client ?? client).post({
134
134
  }
135
135
  });
136
136
  /**
137
- * Resolve an unpublish target and return the plan (branch, PR title and body, directories removed) without touching GitHub. The same guards as the execute call apply, so this is the dry run.
137
+ * Resolve an unpublish target and return the plan (branch, PR title and body, directories removed) without touching GitHub. The same guards as the execute call apply, so this is the dry run. With `targets`, the plan is the batch's, and `entries` plans each of `targets`.
138
138
  */
139
139
  export const unpublishPlan = (options) => (options.client ?? client).post({
140
140
  security: [{ scheme: 'bearer', type: 'http' }],
@@ -146,7 +146,7 @@ export const unpublishPlan = (options) => (options.client ?? client).post({
146
146
  }
147
147
  });
148
148
  /**
149
- * Open a registry PR that removes an asset, a bundle, or one version of either. Refused while published bundles reference the asset (or pin the version). Written like a publish, by the API's publish identity with the commit authored as the caller; the PR body names who asked.
149
+ * Open a registry PR that removes an asset, a bundle, or one version of either. Refused while published bundles reference the asset (or pin the version). Written like a publish, by the API's publish identity with the commit authored as the caller; the PR body names who asked. With `targets`, every target is removed in one commit and one pull request, on an `unpublish/batch/` branch under a title that names every target, and the warnings name their target.
150
150
  */
151
151
  export const unpublish = (options) => (options.client ?? client).post({
152
152
  security: [{ scheme: 'bearer', type: 'http' }],