@detergent-software/atk 9.6.0-dev.5 → 9.6.0-dev.7
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 +17 -0
- package/README.md +3 -3
- package/build/command-manifest.json +16 -4
- package/build/commands/deprecate.d.ts +5 -5
- package/build/commands/deprecate.d.ts.map +1 -1
- package/build/commands/deprecate.js +31 -43
- package/build/commands/deprecate.js.map +1 -1
- package/build/commands/install.js +1 -1
- package/build/commands/install.js.map +1 -1
- package/build/commands/promote.d.ts +3 -3
- package/build/commands/promote.d.ts.map +1 -1
- package/build/commands/promote.js +19 -16
- package/build/commands/promote.js.map +1 -1
- package/build/commands/unpublish.d.ts +3 -3
- package/build/commands/unpublish.d.ts.map +1 -1
- package/build/commands/unpublish.js +20 -37
- package/build/commands/unpublish.js.map +1 -1
- package/build/components/DeprecationSummary.d.ts.map +1 -1
- package/build/components/DeprecationSummary.js +22 -5
- package/build/components/DeprecationSummary.js.map +1 -1
- package/build/components/RegistryChangeSummary.d.ts +6 -0
- package/build/components/RegistryChangeSummary.d.ts.map +1 -1
- package/build/components/RegistryChangeSummary.js +19 -1
- package/build/components/RegistryChangeSummary.js.map +1 -1
- package/build/lib/atk-api/client.d.ts +51 -11
- package/build/lib/atk-api/client.d.ts.map +1 -1
- package/build/lib/atk-api/client.js +48 -27
- package/build/lib/atk-api/client.js.map +1 -1
- package/build/lib/atk-api/errors.d.ts +9 -1
- package/build/lib/atk-api/errors.d.ts.map +1 -1
- package/build/lib/atk-api/errors.js +8 -1
- package/build/lib/atk-api/errors.js.map +1 -1
- package/build/lib/atk-api/index.d.ts +1 -1
- package/build/lib/atk-api/index.d.ts.map +1 -1
- package/build/lib/atk-api/index.js.map +1 -1
- package/build/lib/registry-change-json.d.ts +94 -3
- package/build/lib/registry-change-json.d.ts.map +1 -1
- package/build/lib/registry-change-json.js +76 -7
- package/build/lib/registry-change-json.js.map +1 -1
- package/build/lib/registry-mutate.d.ts +41 -1
- package/build/lib/registry-mutate.d.ts.map +1 -1
- package/build/lib/registry-mutate.js +178 -6
- package/build/lib/registry-mutate.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
## [9.6.0-dev.7](https://emergentcode.visualstudio.com/Emergent%20Software/_git/Emergent.AgenticToolkit/branchCompare?baseVersion=GTv9.6.0-dev.6&targetVersion=GTv9.6.0-dev.7) (2026-11-07)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
* **cli:** unpublish, deprecate and promote take several names in one PR (ATK-913) ([ea11516](https://emergentcode.visualstudio.com/Emergent%20Software/_git/Emergent.AgenticToolkit/commit/ea11516924de14c3ec8db3ce16872f53a204aae8))
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
* **cli:** keep the API's heading for a batch that names an item twice (ATK-913) ([35994fc](https://emergentcode.visualstudio.com/Emergent%20Software/_git/Emergent.AgenticToolkit/commit/35994fc02a1ce2d94bd55fe8950dcdf4f9469165))
|
|
10
|
+
* **cli:** leave a batch's request-level refusal as the API words it (ATK-913) ([e4bcd77](https://emergentcode.visualstudio.com/Emergent%20Software/_git/Emergent.AgenticToolkit/commit/e4bcd776965bc195ad6846d2f232c26132384f62))
|
|
11
|
+
|
|
12
|
+
## [9.6.0-dev.6](https://emergentcode.visualstudio.com/Emergent%20Software/_git/Emergent.AgenticToolkit/branchCompare?baseVersion=GTv9.6.0-dev.5&targetVersion=GTv9.6.0-dev.6) (2026-11-07)
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* **cli:** say in install --help that --yes skips the plugin review (ATK-930) ([d699b49](https://emergentcode.visualstudio.com/Emergent%20Software/_git/Emergent.AgenticToolkit/commit/d699b492f52e8da64b65b5714f54ac1ed279215f))
|
|
17
|
+
|
|
1
18
|
## [9.6.0-dev.5](https://emergentcode.visualstudio.com/Emergent%20Software/_git/Emergent.AgenticToolkit/branchCompare?baseVersion=GTv9.6.0-dev.4&targetVersion=GTv9.6.0-dev.5) (2026-11-06)
|
|
2
19
|
|
|
3
20
|
### Features
|
package/README.md
CHANGED
|
@@ -81,7 +81,7 @@ atk update
|
|
|
81
81
|
| `atk checkout <name>` | Fetch a writable working copy of a registry asset for updating |
|
|
82
82
|
| `atk completion <shell>` | Print a completion script for bash, zsh or PowerShell (`pwsh`) |
|
|
83
83
|
| `atk config` | Manage user configuration (`~/.atkrc.json`) |
|
|
84
|
-
| `atk deprecate <name>` | Deprecate
|
|
84
|
+
| `atk deprecate <name>` | Deprecate one or more assets or bundles (or `--undo`) in one PR |
|
|
85
85
|
| `atk diff <asset>` | Show changes against the latest, a chosen version or two versions |
|
|
86
86
|
| `atk doctor` | Run environment diagnostics |
|
|
87
87
|
| `atk info <asset>` | Show asset details, what depends on it and the bundles with it |
|
|
@@ -93,7 +93,7 @@ atk update
|
|
|
93
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
|
-
| `atk promote <name>` | Promote
|
|
96
|
+
| `atk promote <name>` | Promote org-scoped assets or bundles to global in one PR |
|
|
97
97
|
| `atk prune` | Remove orphaned dependencies |
|
|
98
98
|
| `atk publish` | Publish one or more assets, or a bundle, to the registry |
|
|
99
99
|
| `atk register <dir>` | Drop a manifest.json into an existing local directory |
|
|
@@ -102,7 +102,7 @@ atk update
|
|
|
102
102
|
| `atk sync [names...]` | Re-apply the lockfile's assets, all of them or only those named |
|
|
103
103
|
| `atk uninstall <asset>` | Remove an asset and clean up placed files |
|
|
104
104
|
| `atk unpin <assets...>` | Remove the version pins from assets |
|
|
105
|
-
| `atk unpublish <name>` | Remove
|
|
105
|
+
| `atk unpublish <name>` | Remove assets, bundles or versions from the registry in one PR |
|
|
106
106
|
| `atk update [asset]` | Update installed assets to latest versions |
|
|
107
107
|
| `atk upgrade` | Upgrade the CLI itself to the newest on its npm channel |
|
|
108
108
|
| `atk validate [path...]` | Check asset or bundle directories for errors before publishing |
|
|
@@ -189,9 +189,13 @@
|
|
|
189
189
|
{
|
|
190
190
|
"description": "Asset or bundle name; accepts @org/name",
|
|
191
191
|
"name": "<name>"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"description": "More to deprecate (or undo) in the same pull request, with the same reason and replacement",
|
|
195
|
+
"name": "[names...]"
|
|
192
196
|
}
|
|
193
197
|
],
|
|
194
|
-
"description": "Deprecate
|
|
198
|
+
"description": "Deprecate one or more assets or bundles (or undo a deprecation) via one PR, without publishing a version",
|
|
195
199
|
"file": "deprecate.js",
|
|
196
200
|
"options": [
|
|
197
201
|
{
|
|
@@ -615,7 +619,7 @@
|
|
|
615
619
|
},
|
|
616
620
|
{
|
|
617
621
|
"flags": "-y, --yes",
|
|
618
|
-
"description": "Alias for --all: install every asset from an org scope without prompting; also installs at the scope asked without asking about an asset's preferred scope",
|
|
622
|
+
"description": "Alias for --all: install every asset from an org scope without prompting; also installs at the scope asked without asking about an asset's preferred scope, and installs plugins without confirming their capabilities (a run that can't prompt needs it for a plugin)",
|
|
619
623
|
"defaultValue": false
|
|
620
624
|
}
|
|
621
625
|
]
|
|
@@ -865,9 +869,13 @@
|
|
|
865
869
|
{
|
|
866
870
|
"description": "Org-scoped asset or bundle name (e.g. @org/name)",
|
|
867
871
|
"name": "<name>"
|
|
872
|
+
},
|
|
873
|
+
{
|
|
874
|
+
"description": "More org-scoped names to promote in the same pull request",
|
|
875
|
+
"name": "[names...]"
|
|
868
876
|
}
|
|
869
877
|
],
|
|
870
|
-
"description": "Promote
|
|
878
|
+
"description": "Promote one or more org-scoped assets or bundles to the global namespace via one PR",
|
|
871
879
|
"file": "promote.js",
|
|
872
880
|
"options": [
|
|
873
881
|
{
|
|
@@ -1526,9 +1534,13 @@
|
|
|
1526
1534
|
{
|
|
1527
1535
|
"description": "Asset or bundle name; accepts @org/name and optional @version (e.g. my-skill@1.0.0)",
|
|
1528
1536
|
"name": "<name>"
|
|
1537
|
+
},
|
|
1538
|
+
{
|
|
1539
|
+
"description": "More to unpublish in the same pull request (each may carry @org/ and @version)",
|
|
1540
|
+
"name": "[names...]"
|
|
1529
1541
|
}
|
|
1530
1542
|
],
|
|
1531
|
-
"description": "Unpublish
|
|
1543
|
+
"description": "Unpublish one or more assets or bundles from the registry via one PR",
|
|
1532
1544
|
"file": "unpublish.js",
|
|
1533
1545
|
"options": [
|
|
1534
1546
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const description = "Deprecate
|
|
2
|
+
export declare const description = "Deprecate one or more assets or bundles (or undo a deprecation) via one PR, without publishing a version";
|
|
3
3
|
export declare const options: z.ZodObject<{
|
|
4
4
|
bundle: z.ZodDefault<z.ZodBoolean>;
|
|
5
5
|
dryRun: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -20,14 +20,14 @@ export declare const options: z.ZodObject<{
|
|
|
20
20
|
undo: z.ZodDefault<z.ZodBoolean>;
|
|
21
21
|
yes: z.ZodDefault<z.ZodBoolean>;
|
|
22
22
|
}, z.core.$strip>;
|
|
23
|
-
export declare const args: z.ZodTuple<[z.ZodString],
|
|
23
|
+
export declare const args: z.ZodTuple<[z.ZodString], z.ZodString>;
|
|
24
24
|
type Flags = z.infer<typeof options>;
|
|
25
25
|
type Props = {
|
|
26
26
|
args: z.infer<typeof args>;
|
|
27
27
|
options: Flags;
|
|
28
28
|
};
|
|
29
|
-
export default function Deprecate({ args: [
|
|
30
|
-
/** `atk deprecate` with the run's flags, followed by `extra`. */
|
|
31
|
-
export declare function deprecateCommand(
|
|
29
|
+
export default function Deprecate({ args: [first, ...more], options: flags }: Props): import("react").JSX.Element | null;
|
|
30
|
+
/** `atk deprecate` with the run's names and flags, followed by `extra`. */
|
|
31
|
+
export declare function deprecateCommand(specs: readonly string[], flags: Flags, ...extra: string[]): string;
|
|
32
32
|
export {};
|
|
33
33
|
//# sourceMappingURL=deprecate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deprecate.d.ts","sourceRoot":"","sources":["../../src/commands/deprecate.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAgBxB,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"deprecate.d.ts","sourceRoot":"","sources":["../../src/commands/deprecate.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAgBxB,eAAO,MAAM,WAAW,6GACoF,CAAC;AAE7G,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;iBA+ElB,CAAC;AAEH,eAAO,MAAM,IAAI,wCASd,CAAC;AAEJ,KAAK,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,OAAO,CAAC,CAAC;AAErC,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC;IAC3B,OAAO,EAAE,KAAK,CAAC;CAChB,CAAC;AASF,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAAE,IAAI,EAAE,CAAC,KAAK,EAAE,GAAG,IAAI,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,sCAqGlF;AAED,2EAA2E;AAC3E,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,MAAM,EAAE,GAAG,MAAM,CAanG"}
|
|
@@ -10,10 +10,10 @@ import { GuidedError } from '../lib/errors.js';
|
|
|
10
10
|
import { parseOrgFromName } from '../lib/org.js';
|
|
11
11
|
import { renderJson, useNonInteractive } from '../lib/output.js';
|
|
12
12
|
import { argument, option } from '../lib/pastel/index.js';
|
|
13
|
-
import { registryChangeOpenedJson } from '../lib/registry-change-json.js';
|
|
14
|
-
import {
|
|
13
|
+
import { deprecationPlanJson, registryChangeOpenedJson } from '../lib/registry-change-json.js';
|
|
14
|
+
import { deprecateRequest, executeDeprecate, planDeprecate, tooManyNames } from '../lib/registry-mutate.js';
|
|
15
15
|
import { AssetType } from '../lib/schemas/index.js';
|
|
16
|
-
export const description = 'Deprecate
|
|
16
|
+
export const description = 'Deprecate one or more assets or bundles (or undo a deprecation) via one PR, without publishing a version';
|
|
17
17
|
export const options = z.object({
|
|
18
18
|
bundle: z
|
|
19
19
|
.boolean()
|
|
@@ -76,31 +76,36 @@ export const options = z.object({
|
|
|
76
76
|
description: 'Skip confirmation prompt',
|
|
77
77
|
})),
|
|
78
78
|
});
|
|
79
|
-
export const args = z
|
|
80
|
-
z.string().describe(argument({ description: 'Asset or bundle name; accepts @org/name', name: 'name' }))
|
|
81
|
-
|
|
79
|
+
export const args = z
|
|
80
|
+
.tuple([z.string().describe(argument({ description: 'Asset or bundle name; accepts @org/name', name: 'name' }))])
|
|
81
|
+
.rest(z.string().describe(argument({
|
|
82
|
+
description: 'More to deprecate (or undo) in the same pull request, with the same reason and replacement',
|
|
83
|
+
name: 'names',
|
|
84
|
+
})));
|
|
82
85
|
/** API codes that mean "nothing to do": reported as `unchanged`, not as a failure. */
|
|
83
86
|
const UNCHANGED_CODES = new Set(['deprecation_unchanged', 'not_deprecated']);
|
|
84
87
|
const CANCELLED_MESSAGE = 'Deprecation cancelled.';
|
|
85
88
|
class DeprecateUsageError extends GuidedError {
|
|
86
89
|
}
|
|
87
|
-
export default function Deprecate({ args: [
|
|
90
|
+
export default function Deprecate({ args: [first, ...more], options: flags }) {
|
|
88
91
|
const { exit } = useApp();
|
|
89
92
|
const { dryRun, json: jsonFlag, projectRoot, yes } = flags;
|
|
90
93
|
const { json } = useNonInteractive(jsonFlag);
|
|
91
|
-
const
|
|
92
|
-
const
|
|
94
|
+
const specs = [first, ...more];
|
|
95
|
+
const { name, org } = parseOrgFromName(first);
|
|
96
|
+
const request = deprecateRequest(specs, flags.bundle ? 'bundle' : flags.type, flags);
|
|
97
|
+
const usage = usageError(specs, flags);
|
|
93
98
|
const [state, dispatch] = useRegistryChangeState({
|
|
94
99
|
cancelledMessage: CANCELLED_MESSAGE,
|
|
95
100
|
dryRun,
|
|
96
|
-
execute: (progress) => executeDeprecate(
|
|
101
|
+
execute: (progress) => executeDeprecate(request, progress),
|
|
97
102
|
plan: async () => {
|
|
98
103
|
if (usage)
|
|
99
104
|
throw usage;
|
|
100
|
-
const plan = await planDeprecate(
|
|
105
|
+
const plan = await planDeprecate(request);
|
|
101
106
|
// Plan first, so a no-op reports `unchanged` instead of asking for --yes.
|
|
102
107
|
if (!dryRun && !yes && json)
|
|
103
|
-
throw new ConfirmationRequiredError(deprecateCommand(
|
|
108
|
+
throw new ConfirmationRequiredError(deprecateCommand(specs, flags, '--yes'));
|
|
104
109
|
return plan;
|
|
105
110
|
},
|
|
106
111
|
projectRoot,
|
|
@@ -118,7 +123,11 @@ export default function Deprecate({ args: [spec], options: flags }) {
|
|
|
118
123
|
if (yes && state.phase === 'confirming')
|
|
119
124
|
dispatch({ type: 'CONFIRM' });
|
|
120
125
|
}, [yes, state.phase, dispatch]);
|
|
121
|
-
|
|
126
|
+
// One name only: a refused batch carries its first failure's code, which may not be every target's.
|
|
127
|
+
const unchanged = specs.length === 1 &&
|
|
128
|
+
state.phase === 'error' &&
|
|
129
|
+
state.errorCode !== undefined &&
|
|
130
|
+
UNCHANGED_CODES.has(state.errorCode);
|
|
122
131
|
const cancelled = state.phase === 'error' && state.errorMessage === CANCELLED_MESSAGE;
|
|
123
132
|
useEffect(() => {
|
|
124
133
|
if (state.phase === 'error' || state.phase === 'done' || state.phase === 'dry-run-result') {
|
|
@@ -133,9 +142,9 @@ export default function Deprecate({ args: [spec], options: flags }) {
|
|
|
133
142
|
// --- JSON: terminal phases only ---
|
|
134
143
|
if (json) {
|
|
135
144
|
if (state.phase === 'dry-run-result' && state.plan)
|
|
136
|
-
return renderJson(
|
|
145
|
+
return renderJson(deprecationPlanJson(state.plan));
|
|
137
146
|
if (state.phase === 'done' && state.result)
|
|
138
|
-
return renderJson(registryChangeOpenedJson(
|
|
147
|
+
return renderJson(registryChangeOpenedJson(request, state.result));
|
|
139
148
|
if (state.phase === 'error') {
|
|
140
149
|
if (cancelled)
|
|
141
150
|
return renderJson({ name, outcome: 'cancelled' });
|
|
@@ -175,11 +184,11 @@ export default function Deprecate({ args: [spec], options: flags }) {
|
|
|
175
184
|
}
|
|
176
185
|
return null;
|
|
177
186
|
}
|
|
178
|
-
/** `atk deprecate` with the run's flags, followed by `extra`. */
|
|
179
|
-
export function deprecateCommand(
|
|
187
|
+
/** `atk deprecate` with the run's names and flags, followed by `extra`. */
|
|
188
|
+
export function deprecateCommand(specs, flags, ...extra) {
|
|
180
189
|
return [
|
|
181
190
|
'atk deprecate',
|
|
182
|
-
|
|
191
|
+
...specs,
|
|
183
192
|
...(flags.undo ? ['--undo'] : []),
|
|
184
193
|
...(flags.reason !== undefined ? ['--reason', JSON.stringify(flags.reason)] : []),
|
|
185
194
|
...(flags.replacement ? ['--replacement', flags.replacement] : []),
|
|
@@ -190,29 +199,8 @@ export function deprecateCommand(spec, flags, ...extra) {
|
|
|
190
199
|
...extra,
|
|
191
200
|
].join(' ');
|
|
192
201
|
}
|
|
193
|
-
function dryRunJson(plan) {
|
|
194
|
-
return {
|
|
195
|
-
...(plan.assetType ? { assetType: plan.assetType } : {}),
|
|
196
|
-
branchName: plan.branchName,
|
|
197
|
-
change: plan.change,
|
|
198
|
-
...(plan.current ? { current: plan.current } : {}),
|
|
199
|
-
kind: plan.kind,
|
|
200
|
-
name: plan.name,
|
|
201
|
-
...(plan.org ? { org: plan.org } : {}),
|
|
202
|
-
outcome: 'dry-run',
|
|
203
|
-
prTitle: plan.prTitle,
|
|
204
|
-
undo: plan.undo,
|
|
205
|
-
warnings: plan.warnings,
|
|
206
|
-
};
|
|
207
|
-
}
|
|
208
|
-
function toRequest(name, org, flags) {
|
|
209
|
-
const target = { name, ...(org ? { org } : {}), ...changeTargetFields(flags.bundle ? 'bundle' : flags.type) };
|
|
210
|
-
return flags.undo
|
|
211
|
-
? { ...target, undo: true }
|
|
212
|
-
: { ...target, reason: flags.reason ?? '', ...(flags.replacement ? { replacement: flags.replacement } : {}) };
|
|
213
|
-
}
|
|
214
202
|
/** Flag combinations the API would reject, caught before any request so the hint names the flag. */
|
|
215
|
-
function usageError(
|
|
203
|
+
function usageError(specs, flags) {
|
|
216
204
|
if (flags.bundle && flags.type && flags.type !== 'bundle') {
|
|
217
205
|
return new DeprecateUsageError(`--bundle and --type ${flags.type} contradict each other.`, {
|
|
218
206
|
hint: 'Pass --bundle for a bundle, or --type <asset type> for an asset.',
|
|
@@ -220,15 +208,15 @@ function usageError(spec, flags) {
|
|
|
220
208
|
}
|
|
221
209
|
if (flags.undo && (flags.reason !== undefined || flags.replacement !== undefined)) {
|
|
222
210
|
return new DeprecateUsageError('--undo removes the deprecation; it takes no --reason or --replacement.', {
|
|
223
|
-
command: deprecateCommand(
|
|
211
|
+
command: deprecateCommand(specs, { ...flags, reason: undefined, replacement: undefined }),
|
|
224
212
|
});
|
|
225
213
|
}
|
|
226
214
|
if (!flags.undo && !flags.reason?.trim()) {
|
|
227
215
|
return new DeprecateUsageError('A reason is required to deprecate.', {
|
|
228
|
-
command: `atk deprecate ${
|
|
216
|
+
command: `atk deprecate ${specs.join(' ')} --reason "<why>"`,
|
|
229
217
|
hint: 'The reason is shown to everyone who installs it. Use --undo to remove a deprecation instead.',
|
|
230
218
|
});
|
|
231
219
|
}
|
|
232
|
-
return
|
|
220
|
+
return tooManyNames(specs, 'deprecate');
|
|
233
221
|
}
|
|
234
222
|
//# sourceMappingURL=deprecate.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deprecate.js","sourceRoot":"","sources":["../../src/commands/deprecate.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE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;YAC5D,IAAI,EAAE,8FAA8F;SACrG,CAAC,CAAC;IACL,CAAC;IACD,OAAO,YAAY,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC;AAC1C,CAAC"}
|
|
@@ -112,7 +112,7 @@ export const options = z.object({
|
|
|
112
112
|
.default(false)
|
|
113
113
|
.describe(option({
|
|
114
114
|
alias: 'y',
|
|
115
|
-
description: "Alias for --all: install every asset from an org scope without prompting; also installs at the scope asked without asking about an asset's preferred scope",
|
|
115
|
+
description: "Alias for --all: install every asset from an org scope without prompting; also installs at the scope asked without asking about an asset's preferred scope, and installs plugins without confirming their capabilities (a run that can't prompt needs it for a plugin)",
|
|
116
116
|
})),
|
|
117
117
|
});
|
|
118
118
|
export const args = z
|