harnessed 3.6.0 → 3.6.1
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 +12 -29
- package/dist/cli.mjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -952,7 +952,7 @@ var init_resume = __esm({
|
|
|
952
952
|
|
|
953
953
|
// package.json
|
|
954
954
|
var package_default = {
|
|
955
|
-
version: "3.6.
|
|
955
|
+
version: "3.6.1"};
|
|
956
956
|
|
|
957
957
|
// src/manifest/errors.ts
|
|
958
958
|
function instancePathToKeyPath(instancePath) {
|
|
@@ -5348,7 +5348,7 @@ function registerInstallBase(program2) {
|
|
|
5348
5348
|
}
|
|
5349
5349
|
console.log(
|
|
5350
5350
|
`
|
|
5351
|
-
installed: ${installed.length} / already-installed: ${alreadyInstalled.length} / skipped (deferred phase 2.1): ${skipped.length} / failed: ${failed.length}`
|
|
5351
|
+
installed: ${installed.length} / already-installed: ${alreadyInstalled.length} / skipped (deferred installer methods awaiting phase 2.1): ${skipped.length} / failed: ${failed.length}`
|
|
5352
5352
|
);
|
|
5353
5353
|
for (const i of installed) console.log(` installed ${i}`);
|
|
5354
5354
|
for (const a of alreadyInstalled)
|
|
@@ -5873,13 +5873,18 @@ async function renderAllSkills(skillNames, skillsBase, workflowsDir, homedirOver
|
|
|
5873
5873
|
return { results, aggregatedWarnings: [...warningSet] };
|
|
5874
5874
|
}
|
|
5875
5875
|
init_checkAgentTeams();
|
|
5876
|
-
var
|
|
5877
|
-
|
|
5876
|
+
var FLAT_LEGACY_KEEP = /* @__PURE__ */ new Set([
|
|
5877
|
+
"research",
|
|
5878
|
+
"retro",
|
|
5879
|
+
"auto",
|
|
5880
|
+
"execute-task",
|
|
5881
|
+
"plan-feature",
|
|
5882
|
+
"verify-work"
|
|
5883
|
+
]);
|
|
5878
5884
|
var FLAT_TOP_LEVEL_MASTERS = /* @__PURE__ */ new Set(["auto"]);
|
|
5879
5885
|
var NON_WORKFLOW_DIRS = /* @__PURE__ */ new Set(["disciplines", "judgments"]);
|
|
5880
5886
|
async function scanWorkflowsNested(workflowsDir, entries) {
|
|
5881
5887
|
const workflows = [];
|
|
5882
|
-
const deprecated = [];
|
|
5883
5888
|
for (const entry of entries.sort()) {
|
|
5884
5889
|
if (NON_WORKFLOW_DIRS.has(entry)) continue;
|
|
5885
5890
|
const src = join(workflowsDir, entry);
|
|
@@ -5898,10 +5903,6 @@ async function scanWorkflowsNested(workflowsDir, entries) {
|
|
|
5898
5903
|
hasFlatSkill = false;
|
|
5899
5904
|
}
|
|
5900
5905
|
if (hasFlatSkill) {
|
|
5901
|
-
if (FLAT_LEGACY_DEPRECATED.has(entry)) {
|
|
5902
|
-
deprecated.push(entry);
|
|
5903
|
-
continue;
|
|
5904
|
-
}
|
|
5905
5906
|
if (FLAT_LEGACY_KEEP.has(entry)) {
|
|
5906
5907
|
workflows.push({ name: entry, relPath: entry, isMaster: FLAT_TOP_LEVEL_MASTERS.has(entry) });
|
|
5907
5908
|
continue;
|
|
@@ -5933,20 +5934,7 @@ async function scanWorkflowsNested(workflowsDir, entries) {
|
|
|
5933
5934
|
workflows.push({ name, relPath: `${entry}/${sub}`, isMaster: sub === "auto" });
|
|
5934
5935
|
}
|
|
5935
5936
|
}
|
|
5936
|
-
return { workflows
|
|
5937
|
-
}
|
|
5938
|
-
function renderDeprecationBlock(deprecated) {
|
|
5939
|
-
if (deprecated.length === 0) return "";
|
|
5940
|
-
return [
|
|
5941
|
-
"\u26A0\uFE0F v3.0 BREAKING \u2014 v2 legacy slash cmd deprecated:",
|
|
5942
|
-
" /plan-feature \u2192 /plan (master) | /plan-phase (sub)",
|
|
5943
|
-
" /execute-task \u2192 /task (master) | /task-{clarify,code,test,deliver} (sub)",
|
|
5944
|
-
" /verify-work \u2192 /verify (master) | /verify-{progress,paranoid,qa,security,design,simplify,multispec} (sub)",
|
|
5945
|
-
" /research, /retro \u4E0D\u53D8",
|
|
5946
|
-
" \u8BE6\u89C1 CHANGELOG [3.0.0]",
|
|
5947
|
-
` skipped install: ${deprecated.sort().join(", ")}`,
|
|
5948
|
-
""
|
|
5949
|
-
].join("\n");
|
|
5937
|
+
return { workflows };
|
|
5950
5938
|
}
|
|
5951
5939
|
|
|
5952
5940
|
// src/cli/lib/setup-helpers.ts
|
|
@@ -6058,12 +6046,7 @@ function registerSetup(program2) {
|
|
|
6058
6046
|
console.error(t("setup.workflows_not_found", { path: workflowsDir }));
|
|
6059
6047
|
process.exit(1);
|
|
6060
6048
|
}
|
|
6061
|
-
const { workflows: toInstall
|
|
6062
|
-
workflowsDir,
|
|
6063
|
-
entries
|
|
6064
|
-
);
|
|
6065
|
-
const depBlock = renderDeprecationBlock(deprecated);
|
|
6066
|
-
if (depBlock) console.log(depBlock);
|
|
6049
|
+
const { workflows: toInstall } = await scanWorkflowsWithSkill(workflowsDir, entries);
|
|
6067
6050
|
if (toInstall.length === 0) {
|
|
6068
6051
|
console.log(t("setup.nothing_to_install"));
|
|
6069
6052
|
process.exit(2);
|