@ran-sh/dsh-crew 2.0.6 → 2.0.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/package.json
CHANGED
|
@@ -599,7 +599,12 @@ export async function installClaudeCode({ home = homedir(), statusline = false,
|
|
|
599
599
|
}
|
|
600
600
|
try {
|
|
601
601
|
const { execSync } = await import('node:child_process');
|
|
602
|
-
|
|
602
|
+
// 300s, not 120: the install below runs after the uninstall, so it does a real
|
|
603
|
+
// copy of the plugin tree rather than the no-op an already-installed plugin
|
|
604
|
+
// gets. Measured on this machine: `marketplace add` 3s, `uninstall` 3s,
|
|
605
|
+
// `install` 163s (no-op install: 6s). The old ceiling killed the copy partway
|
|
606
|
+
// and left Claude Code without the plugin the same run had just removed.
|
|
607
|
+
const run = (cmd) => execSync(cmd, { encoding: 'utf8', stdio: ['ignore', 'pipe', 'pipe'], timeout: 300_000 });
|
|
603
608
|
try { run(`claude plugin marketplace add ${JSON.stringify(mpDir)}`); actions.push('cli: marketplace registered'); }
|
|
604
609
|
catch { actions.push('cli: marketplace add skipped (already registered)'); }
|
|
605
610
|
// `plugin install` on an already-installed plugin is a no-op and leaves a
|
package/src/runtime-identity.mjs
CHANGED
|
@@ -36,7 +36,7 @@ export {
|
|
|
36
36
|
// included in the identity contract.
|
|
37
37
|
const RUNTIME_ID = randomUUID();
|
|
38
38
|
|
|
39
|
-
export const RUNTIME_VERSION = '2.0.
|
|
39
|
+
export const RUNTIME_VERSION = '2.0.7';
|
|
40
40
|
export const HUB_PROTOCOL_VERSION = 1;
|
|
41
41
|
|
|
42
42
|
export const HUB_CAPABILITIES = Object.freeze([
|