harnessed 3.9.12 → 3.9.14
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 +3 -9
- package/dist/cli.mjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/messages/zh-Hans.json +76 -76
- package/package.json +1 -1
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.14"};
|
|
1226
1226
|
|
|
1227
1227
|
// src/manifest/errors.ts
|
|
1228
1228
|
function instancePathToKeyPath(instancePath) {
|
|
@@ -6303,13 +6303,6 @@ function registerSetup(program2) {
|
|
|
6303
6303
|
console.log(t("setup.step_a_complete", { count: skillsInstalled, path: skillsBase }));
|
|
6304
6304
|
const skillNames = toInstall.map((wf) => wf.name);
|
|
6305
6305
|
const rendered = await renderAllSkills(skillNames, skillsBase, workflowsDir);
|
|
6306
|
-
const renderedCount = rendered.results.filter((r) => r.rendered).length;
|
|
6307
|
-
console.log(
|
|
6308
|
-
t("setup.step_a_render.complete", {
|
|
6309
|
-
count: renderedCount,
|
|
6310
|
-
total: skillsInstalled
|
|
6311
|
-
})
|
|
6312
|
-
);
|
|
6313
6306
|
if (rendered.aggregatedWarnings.length > 0) {
|
|
6314
6307
|
console.warn(t("setup.step_a_render.warnings_header"));
|
|
6315
6308
|
for (const w of rendered.aggregatedWarnings) {
|
|
@@ -6333,10 +6326,11 @@ function registerSetup(program2) {
|
|
|
6333
6326
|
);
|
|
6334
6327
|
}
|
|
6335
6328
|
const rolePrompts = await loadRolePrompts(workflowsDir);
|
|
6329
|
+
const cmdSkillNames = skillNames.filter((n) => n in rolePrompts);
|
|
6336
6330
|
const installedPlugins = readInstalledPlugins();
|
|
6337
6331
|
const installedUserSkills = readInstalledUserSkills();
|
|
6338
6332
|
const cmdResult = await writeAllCommands(
|
|
6339
|
-
|
|
6333
|
+
cmdSkillNames,
|
|
6340
6334
|
commandsBase,
|
|
6341
6335
|
rolePrompts,
|
|
6342
6336
|
capabilitiesMap,
|