diff --git a/manifests/context-packs/skill-triggers@1.json b/manifests/context-packs/skill-triggers@1.json index 5684e0892..1c068d9c6 100644 --- a/manifests/context-packs/skill-triggers@1.json +++ b/manifests/context-packs/skill-triggers@1.json @@ -10,7 +10,7 @@ "id": "hand-seeded", "source": "manual-curation-pending-regeneration" }, - "registryDigest": "a8cd19ba5184d00340f7a9a9e750a6486213fcc553731e995197fbc5f0430d48", + "registryDigest": "69c66ff6442cca67161fda51232a26d7ccfe14eb00ad5344b0fe1642dee583fe", "schemaVersion": 1, "triggers": { "skill:agent-runtime-gateway-smoke-test": [ diff --git a/manifests/install-modules.json b/manifests/install-modules.json index c1a1db04b..72c6c5144 100644 --- a/manifests/install-modules.json +++ b/manifests/install-modules.json @@ -68,9 +68,6 @@ "scripts/harness-audit.js", "scripts/skills-health.js", "scripts/lib/skill-evolution", - "scripts/lib/utils.js", - "scripts/lib/agent-data-home.js", - "scripts/lib/path-safety.js", "scripts/lib/astra-review", "scripts/ci/validate-skill-host-compat.js", "scripts/ci/validate-skills.js" @@ -91,7 +88,9 @@ "kimi", "adal" ], - "dependencies": [], + "dependencies": [ + "shared-script-utils" + ], "defaultInstall": true, "cost": "medium", "stability": "stable" @@ -151,9 +150,6 @@ "scripts/auto-update.js", "scripts/setup-package-manager.js", "scripts/lib/package-manager.js", - "scripts/lib/utils.js", - "scripts/lib/agent-data-home.js", - "scripts/lib/path-safety.js", ".hermes", ".openclaw", ".kimi", @@ -177,7 +173,9 @@ "kimi", "adal" ], - "dependencies": [], + "dependencies": [ + "shared-script-utils" + ], "defaultInstall": true, "cost": "light", "stability": "stable" @@ -1421,6 +1419,38 @@ "defaultInstall": false, "cost": "light", "stability": "beta" + }, + { + "id": "shared-script-utils", + "kind": "platform", + "description": "Shared utility files required by installed commands and platform tools.", + "paths": [ + "scripts/lib/utils.js", + "scripts/lib/agent-data-home.js", + "scripts/lib/path-safety.js" + ], + "targets": [ + "claude", + "claude-project", + "cursor", + "copilot", + "antigravity", + "opencode", + "codebuddy", + "joycode", + "qwen", + "zed", + "hermes", + "openclaw", + "kimi", + "adal", + "codex", + "gemini" + ], + "dependencies": [], + "defaultInstall": false, + "cost": "light", + "stability": "stable" } ] } diff --git a/manifests/install-profiles.json b/manifests/install-profiles.json index 1394283ca..5d50a06a6 100644 --- a/manifests/install-profiles.json +++ b/manifests/install-profiles.json @@ -75,6 +75,7 @@ "modules": [ "rules-core", "agents-core", + "shared-script-utils", "commands-core", "hooks-runtime", "platform-configs", diff --git a/tests/lib/install-manifests.test.js b/tests/lib/install-manifests.test.js index 6e3dc8cbf..0cb0baf46 100644 --- a/tests/lib/install-manifests.test.js +++ b/tests/lib/install-manifests.test.js @@ -293,7 +293,8 @@ function runTests() { 'commands-core', 'platform-configs', 'skill-unified-memory', - 'workflow-quality' + 'workflow-quality', + 'shared-script-utils' ] ); assert.ok(plan.skippedModuleIds.includes('hooks-runtime')); @@ -318,7 +319,8 @@ function runTests() { 'commands-core', 'platform-configs', 'skill-unified-memory', - 'workflow-quality' + 'workflow-quality', + 'shared-script-utils' ] ); assert.ok(!plan.selectedModuleIds.includes('hooks-runtime'), @@ -342,7 +344,8 @@ function runTests() { 'commands-core', 'platform-configs', 'skill-unified-memory', - 'workflow-quality' + 'workflow-quality', + 'shared-script-utils' ] ); assert.deepStrictEqual(plan.skippedModuleIds, []); @@ -374,7 +377,8 @@ function runTests() { 'commands-core', 'platform-configs', 'skill-unified-memory', - 'workflow-quality' + 'workflow-quality', + 'shared-script-utils' ] ); assert.deepStrictEqual(plan.skippedModuleIds, []); diff --git a/tests/scripts/install-apply.test.js b/tests/scripts/install-apply.test.js index 6d0d7bffc..84fd3902e 100644 --- a/tests/scripts/install-apply.test.js +++ b/tests/scripts/install-apply.test.js @@ -383,6 +383,7 @@ function runTests() { 'platform-configs', 'skill-unified-memory', 'workflow-quality', + 'shared-script-utils', ] ); assert.ok( @@ -972,7 +973,8 @@ function runTests() { 'commands-core', 'platform-configs', 'skill-unified-memory', - 'workflow-quality' + 'workflow-quality', + 'shared-script-utils' ] ); assert.ok(state.resolution.skippedModules.includes('hooks-runtime'));