claude-dev-env 8.110.0 → 8.110.2
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.
|
@@ -228,7 +228,7 @@ export function marketplacePluginsPlan(allSpecs, host) {
|
|
|
228
228
|
marketplaceAddCommand,
|
|
229
229
|
['plugin', 'marketplace', hostDefinition.updateVerb, firstSpec.marketplaceName],
|
|
230
230
|
...allPluginInstallCommands,
|
|
231
|
-
...allSpecs.map(eachSpec => ['plugin', hostDefinition.updateVerb, eachSpec.pluginIdentifier]),
|
|
231
|
+
...allSpecs.map(eachSpec => ['plugin', hostDefinition.updateVerb, eachSpec.pluginIdentifier, '--scope', 'user']),
|
|
232
232
|
]
|
|
233
233
|
: [];
|
|
234
234
|
return {
|
|
@@ -77,7 +77,7 @@ test('each host installs into the managed root this run wrote', () => {
|
|
|
77
77
|
['claude', 'plugin', 'marketplace', 'add', PSTACK_MARKETPLACE_REPOSITORY],
|
|
78
78
|
['claude', 'plugin', 'marketplace', 'update', 'pstack-claude'],
|
|
79
79
|
['claude', 'plugin', 'install', PSTACK_PLUGIN_IDENTIFIER],
|
|
80
|
-
['claude', 'plugin', 'update', PSTACK_PLUGIN_IDENTIFIER],
|
|
80
|
+
['claude', 'plugin', 'update', PSTACK_PLUGIN_IDENTIFIER, '--scope', 'user'],
|
|
81
81
|
['codex', 'plugin', 'remove', PSTACK_PLUGIN_IDENTIFIER],
|
|
82
82
|
['codex', 'plugin', 'marketplace', 'remove', 'pstack-claude'],
|
|
83
83
|
['codex', 'plugin', 'marketplace', 'add', PSTACK_MARKETPLACE_REPOSITORY],
|
|
@@ -92,7 +92,7 @@ test('the Claude plan refreshes in place and Codex has no refresh commands', ()
|
|
|
92
92
|
['plugin', 'marketplace', 'add', PSTACK_MARKETPLACE_REPOSITORY],
|
|
93
93
|
['plugin', 'marketplace', 'update', 'pstack-claude'],
|
|
94
94
|
['plugin', 'install', PSTACK_PLUGIN_IDENTIFIER],
|
|
95
|
-
['plugin', 'update', PSTACK_PLUGIN_IDENTIFIER],
|
|
95
|
+
['plugin', 'update', PSTACK_PLUGIN_IDENTIFIER, '--scope', 'user'],
|
|
96
96
|
]);
|
|
97
97
|
assert.deepEqual(marketplacePluginsPlan([PSTACK_PLUGIN_SPEC], 'codex').refreshCommands, []);
|
|
98
98
|
});
|
|
@@ -140,7 +140,7 @@ test('a Claude refresh that fails on the network keeps the installed plugin and
|
|
|
140
140
|
: { status: 0, stderr: '' }));
|
|
141
141
|
const outcome = installMarketplacePlugins([PSTACK_PLUGIN_SPEC], { ...ROOTS, hosts: ['claude'] }, runner);
|
|
142
142
|
assert.equal(outcome.status, 'failed');
|
|
143
|
-
assert.match(outcome.hosts[0].warning, /claude plugin update pstack@pstack-claude failed: .*ENOTFOUND/);
|
|
143
|
+
assert.match(outcome.hosts[0].warning, /claude plugin update pstack@pstack-claude --scope user failed: .*ENOTFOUND/);
|
|
144
144
|
const allRemovalCalls = runner.calls.filter(call => (
|
|
145
145
|
call.commandArguments.includes('uninstall') || call.commandArguments.includes('remove')
|
|
146
146
|
));
|
|
@@ -364,7 +364,7 @@ test('installing usage-wrapup runs only the Claude commands, inside the managed
|
|
|
364
364
|
['claude', 'plugin', 'marketplace', 'add', 'jl-cmd-projects/claude-mods-framework'],
|
|
365
365
|
['claude', 'plugin', 'marketplace', 'update', 'claude-mods-framework'],
|
|
366
366
|
['claude', 'plugin', 'install', 'usage-wrapup@claude-mods-framework'],
|
|
367
|
-
['claude', 'plugin', 'update', 'usage-wrapup@claude-mods-framework'],
|
|
367
|
+
['claude', 'plugin', 'update', 'usage-wrapup@claude-mods-framework', '--scope', 'user'],
|
|
368
368
|
]);
|
|
369
369
|
for (const call of runner.calls) {
|
|
370
370
|
assert.deepEqual(call.environment, { CLAUDE_CONFIG_DIR: ROOTS.claudeRoot });
|
|
@@ -416,9 +416,9 @@ test('should add and update the mods framework marketplace once for drawer-core,
|
|
|
416
416
|
['claude', 'plugin', 'install', 'drawer-core@claude-mods-framework'],
|
|
417
417
|
['claude', 'plugin', 'install', 'usage-wrapup@claude-mods-framework'],
|
|
418
418
|
['claude', 'plugin', 'install', 'subagent-models@claude-mods-framework'],
|
|
419
|
-
['claude', 'plugin', 'update', 'drawer-core@claude-mods-framework'],
|
|
420
|
-
['claude', 'plugin', 'update', 'usage-wrapup@claude-mods-framework'],
|
|
421
|
-
['claude', 'plugin', 'update', 'subagent-models@claude-mods-framework'],
|
|
419
|
+
['claude', 'plugin', 'update', 'drawer-core@claude-mods-framework', '--scope', 'user'],
|
|
420
|
+
['claude', 'plugin', 'update', 'usage-wrapup@claude-mods-framework', '--scope', 'user'],
|
|
421
|
+
['claude', 'plugin', 'update', 'subagent-models@claude-mods-framework', '--scope', 'user'],
|
|
422
422
|
]);
|
|
423
423
|
});
|
|
424
424
|
|
|
@@ -694,7 +694,7 @@ test('should install security-guidance from the official marketplace on Claude o
|
|
|
694
694
|
['claude', 'plugin', 'marketplace', 'add', 'anthropics/claude-plugins-official'],
|
|
695
695
|
['claude', 'plugin', 'marketplace', 'update', 'claude-plugins-official'],
|
|
696
696
|
['claude', 'plugin', 'install', 'security-guidance@claude-plugins-official'],
|
|
697
|
-
['claude', 'plugin', 'update', 'security-guidance@claude-plugins-official'],
|
|
697
|
+
['claude', 'plugin', 'update', 'security-guidance@claude-plugins-official', '--scope', 'user'],
|
|
698
698
|
]);
|
|
699
699
|
assert.equal(runner.calls[0].environment.CLAUDE_CONFIG_DIR, ROOTS.claudeRoot);
|
|
700
700
|
});
|
|
@@ -710,7 +710,7 @@ test('should install against an official marketplace already known under another
|
|
|
710
710
|
['plugin', 'marketplace', 'add', 'anthropics/claude-plugins-official'],
|
|
711
711
|
['plugin', 'marketplace', 'update', 'claude-plugins-official'],
|
|
712
712
|
['plugin', 'install', 'security-guidance@claude-plugins-official'],
|
|
713
|
-
['plugin', 'update', 'security-guidance@claude-plugins-official'],
|
|
713
|
+
['plugin', 'update', 'security-guidance@claude-plugins-official', '--scope', 'user'],
|
|
714
714
|
]);
|
|
715
715
|
});
|
|
716
716
|
|
package/bin/install.test.mjs
CHANGED
|
@@ -3163,7 +3163,7 @@ test('a full install adds the pstack marketplace and plugin on both hosts', t =>
|
|
|
3163
3163
|
'claude plugin marketplace add jl-cmd/pstack-claude',
|
|
3164
3164
|
'claude plugin marketplace update pstack-claude',
|
|
3165
3165
|
'claude plugin install pstack@pstack-claude',
|
|
3166
|
-
'claude plugin update pstack@pstack-claude',
|
|
3166
|
+
'claude plugin update pstack@pstack-claude --scope user',
|
|
3167
3167
|
'codex plugin remove pstack@pstack-claude',
|
|
3168
3168
|
'codex plugin marketplace remove pstack-claude',
|
|
3169
3169
|
'codex plugin marketplace add jl-cmd/pstack-claude',
|
|
@@ -3206,7 +3206,7 @@ test('a full install adds DeepStack for Claude, Codex, and Cursor', t => {
|
|
|
3206
3206
|
'claude plugin marketplace add jl-cmd-projects/DeepStack',
|
|
3207
3207
|
'claude plugin marketplace update DeepStack',
|
|
3208
3208
|
'claude plugin install deepstack@DeepStack',
|
|
3209
|
-
'claude plugin update deepstack@DeepStack',
|
|
3209
|
+
'claude plugin update deepstack@DeepStack --scope user',
|
|
3210
3210
|
'codex plugin remove deepstack@DeepStack',
|
|
3211
3211
|
'codex plugin marketplace remove DeepStack',
|
|
3212
3212
|
'codex plugin marketplace add jl-cmd-projects/DeepStack',
|
|
@@ -3424,8 +3424,8 @@ const USAGE_WRAPUP_CLAUDE_COMMANDS = Object.freeze([
|
|
|
3424
3424
|
'claude plugin marketplace update claude-mods-framework',
|
|
3425
3425
|
'claude plugin install drawer-core@claude-mods-framework',
|
|
3426
3426
|
'claude plugin install usage-wrapup@claude-mods-framework',
|
|
3427
|
-
'claude plugin update drawer-core@claude-mods-framework',
|
|
3428
|
-
'claude plugin update usage-wrapup@claude-mods-framework',
|
|
3427
|
+
'claude plugin update drawer-core@claude-mods-framework --scope user',
|
|
3428
|
+
'claude plugin update usage-wrapup@claude-mods-framework --scope user',
|
|
3429
3429
|
]);
|
|
3430
3430
|
|
|
3431
3431
|
function usageWrapupCommands(allRecordedCommands) {
|
|
@@ -3506,9 +3506,9 @@ const MODS_FRAMEWORK_PLUGIN_CLAUDE_COMMANDS = Object.freeze([
|
|
|
3506
3506
|
'claude plugin install drawer-core@claude-mods-framework',
|
|
3507
3507
|
'claude plugin install usage-wrapup@claude-mods-framework',
|
|
3508
3508
|
'claude plugin install subagent-models@claude-mods-framework',
|
|
3509
|
-
'claude plugin update drawer-core@claude-mods-framework',
|
|
3510
|
-
'claude plugin update usage-wrapup@claude-mods-framework',
|
|
3511
|
-
'claude plugin update subagent-models@claude-mods-framework',
|
|
3509
|
+
'claude plugin update drawer-core@claude-mods-framework --scope user',
|
|
3510
|
+
'claude plugin update usage-wrapup@claude-mods-framework --scope user',
|
|
3511
|
+
'claude plugin update subagent-models@claude-mods-framework --scope user',
|
|
3512
3512
|
]);
|
|
3513
3513
|
|
|
3514
3514
|
test('should install drawer-core and subagent-models beside usage-wrapup with one marketplace add on a full install', t => {
|
|
@@ -3560,7 +3560,7 @@ test('should install security-guidance from the official marketplace on a full i
|
|
|
3560
3560
|
'claude plugin marketplace add anthropics/claude-plugins-official',
|
|
3561
3561
|
'claude plugin marketplace update claude-plugins-official',
|
|
3562
3562
|
'claude plugin install security-guidance@claude-plugins-official',
|
|
3563
|
-
'claude plugin update security-guidance@claude-plugins-official',
|
|
3563
|
+
'claude plugin update security-guidance@claude-plugins-official --scope user',
|
|
3564
3564
|
]);
|
|
3565
3565
|
assert.match(installerOutput, /Security-guidance \(claude\): installed/);
|
|
3566
3566
|
});
|