harnessed 3.9.9 → 3.9.10
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/dist/cli.mjs +17 -10
- package/dist/cli.mjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/manifests/skill-packs/mattpocock-skills.yaml +1 -1
- package/package.json +1 -1
- package/routing/decision_rules.yaml +1 -10
- package/manifests/skill-packs/anthropics-skills-pptx.yaml +0 -46
- package/manifests/skill-packs/anthropics-skills-slide-deck.yaml +0 -46
package/dist/cli.mjs
CHANGED
|
@@ -1222,7 +1222,7 @@ var init_auto_install = __esm({
|
|
|
1222
1222
|
|
|
1223
1223
|
// package.json
|
|
1224
1224
|
var package_default = {
|
|
1225
|
-
version: "3.9.
|
|
1225
|
+
version: "3.9.10"};
|
|
1226
1226
|
|
|
1227
1227
|
// src/manifest/errors.ts
|
|
1228
1228
|
function instancePathToKeyPath(instancePath) {
|
|
@@ -4505,12 +4505,13 @@ async function detectNative(ctx) {
|
|
|
4505
4505
|
}
|
|
4506
4506
|
if (method === "npx-skill-installer") {
|
|
4507
4507
|
const skillName = extractSkillName(cmd, name);
|
|
4508
|
-
const
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
|
|
4513
|
-
|
|
4508
|
+
for (const base of [".claude", ".agents"]) {
|
|
4509
|
+
const skillMd = join(homedir(), base, "skills", skillName, "SKILL.md");
|
|
4510
|
+
try {
|
|
4511
|
+
await access(skillMd);
|
|
4512
|
+
return true;
|
|
4513
|
+
} catch {
|
|
4514
|
+
}
|
|
4514
4515
|
}
|
|
4515
4516
|
}
|
|
4516
4517
|
if (method === "git-clone-with-setup") {
|
|
@@ -4532,6 +4533,14 @@ async function detectNative(ctx) {
|
|
|
4532
4533
|
return false;
|
|
4533
4534
|
}
|
|
4534
4535
|
}
|
|
4536
|
+
const pluginNames = [name];
|
|
4537
|
+
if (name === "ctx7") pluginNames.push("context7");
|
|
4538
|
+
for (const pn of pluginNames) {
|
|
4539
|
+
try {
|
|
4540
|
+
if (await isPluginRegistered(pn)) return true;
|
|
4541
|
+
} catch {
|
|
4542
|
+
}
|
|
4543
|
+
}
|
|
4535
4544
|
return false;
|
|
4536
4545
|
}
|
|
4537
4546
|
async function isAlreadyInstalled(ctx, opts = {}) {
|
|
@@ -6395,9 +6404,7 @@ function registerSetup(program2) {
|
|
|
6395
6404
|
);
|
|
6396
6405
|
for (const n of b.installed) console.log(` [B] installed ${n}`);
|
|
6397
6406
|
for (const n of b.alreadyInstalled)
|
|
6398
|
-
console.log(
|
|
6399
|
-
` [B] already-installed ${n} \u2014 run \`/mcp\` in Claude Code to verify connection`
|
|
6400
|
-
);
|
|
6407
|
+
console.log(` [B] already-installed ${n}`);
|
|
6401
6408
|
for (const s of b.skipped) console.log(` [B] skipped ${s.name} \u2014 ${s.reason}`);
|
|
6402
6409
|
for (const n of b.failed) console.error(` [B] failed ${n}`);
|
|
6403
6410
|
if (!forceFirstPass && !dryRun && raw.nonInteractive !== true && b.alreadyInstalled.length > 0) {
|