@brucewaynedecoy/make-docs 2.0.7 → 2.0.9
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/{backup-M5RBOM6F.js → backup-EBZZZL74.js} +4 -4
- package/dist/{chunk-Z4KZ4JTE.js → chunk-2Z7KRD4H.js} +2 -2
- package/dist/{chunk-OSS4NT6N.js → chunk-5XKMSGMS.js} +428 -29
- package/dist/{chunk-OSS4NT6N.js.map → chunk-5XKMSGMS.js.map} +1 -1
- package/dist/{chunk-O27AYYF3.js → chunk-ABKEBYCF.js} +3 -3
- package/dist/{chunk-B6HJRHWL.js → chunk-DZ3SA3JA.js} +70 -12
- package/dist/chunk-DZ3SA3JA.js.map +1 -0
- package/dist/{chunk-65TAUWTC.js → chunk-HZ4QLB7L.js} +3 -3
- package/dist/{chunk-YJLVHT4J.js → chunk-KKXJTVMH.js} +13 -9
- package/dist/chunk-KKXJTVMH.js.map +1 -0
- package/dist/{chunk-7AVGITZK.js → chunk-MESLJI5A.js} +2 -2
- package/dist/{chunk-5WR4D6HH.js → chunk-USVCSYS5.js} +13 -2
- package/dist/chunk-USVCSYS5.js.map +1 -0
- package/dist/{chunk-3ZFX5456.js → chunk-VCC4D5I3.js} +2 -2
- package/dist/{chunk-C67WJWVP.js → chunk-X6TAWRTO.js} +148 -127
- package/dist/chunk-X6TAWRTO.js.map +1 -0
- package/dist/index.js +41 -24
- package/dist/index.js.map +1 -1
- package/dist/{registry-7L26WFZP.js → registry-XNCQALXP.js} +7 -7
- package/dist/{self-4HOKEXBV.js → self-LDLIIKFW.js} +7 -7
- package/dist/{server-VXVGDWRY.js → server-G2UO2NOT.js} +10 -10
- package/dist/{server-VXVGDWRY.js.map → server-G2UO2NOT.js.map} +1 -1
- package/dist/{setup-system-CJESBAQ5.js → setup-system-2MZMQ3MX.js} +7 -7
- package/dist/{skills-command-YXPOHXI2.js → skills-command-VE4GRWI2.js} +53 -17
- package/dist/skills-command-VE4GRWI2.js.map +1 -0
- package/dist/{uninstall-R2QK7XPK.js → uninstall-EJF6HCYI.js} +7 -7
- package/dist/virtual_make-docs-first-party-skills-CLTQEIKC.js +11 -0
- package/dist/virtual_make-docs-first-party-skills-CLTQEIKC.js.map +1 -0
- package/package.json +1 -1
- package/template/.make-docs/system/contracts/design-contract.md +1 -1
- package/template/.make-docs/system/contracts/output-contract.md +3 -2
- package/template/.make-docs/system/prompts/designs-to-plan-change.prompt.md +2 -2
- package/template/.make-docs/system/prompts/prd-change-to-work.prompt.md +2 -2
- package/template/.make-docs/system/references/execution-workflow.md +5 -5
- package/template/.make-docs/system/references/lifecycle.md +3 -0
- package/template/.make-docs/system/references/planning-workflow.md +8 -8
- package/template/.make-docs/system/references/prd-change-management.md +2 -2
- package/template/.make-docs/system/references/wave-model.md +126 -14
- package/template/.make-docs/system/templates/plan-overview.md +17 -2
- package/template/.make-docs/system/templates/plan-prd-change.md +21 -6
- package/template/.make-docs/system/templates/plan-prd-decompose.md +17 -2
- package/template/.make-docs/system/templates/plan-prd.md +17 -2
- package/template/.make-docs/system/templates/work-index.md +15 -0
- package/template/.make-docs/system/templates/work-phase.md +3 -0
- package/template/docs/plans/AGENTS.md +1 -1
- package/template/docs/plans/CLAUDE.md +1 -1
- package/template/docs/work/AGENTS.md +1 -0
- package/template/docs/work/CLAUDE.md +1 -0
- package/dist/chunk-5WR4D6HH.js.map +0 -1
- package/dist/chunk-B6HJRHWL.js.map +0 -1
- package/dist/chunk-C67WJWVP.js.map +0 -1
- package/dist/chunk-YJLVHT4J.js.map +0 -1
- package/dist/skills-command-YXPOHXI2.js.map +0 -1
- package/dist/virtual_make-docs-first-party-skills-POWW3OI3.js +0 -11
- package/dist/virtual_make-docs-first-party-skills-POWW3OI3.js.map +0 -1
- /package/dist/{backup-M5RBOM6F.js.map → backup-EBZZZL74.js.map} +0 -0
- /package/dist/{chunk-Z4KZ4JTE.js.map → chunk-2Z7KRD4H.js.map} +0 -0
- /package/dist/{chunk-O27AYYF3.js.map → chunk-ABKEBYCF.js.map} +0 -0
- /package/dist/{chunk-65TAUWTC.js.map → chunk-HZ4QLB7L.js.map} +0 -0
- /package/dist/{chunk-7AVGITZK.js.map → chunk-MESLJI5A.js.map} +0 -0
- /package/dist/{chunk-3ZFX5456.js.map → chunk-VCC4D5I3.js.map} +0 -0
- /package/dist/{registry-7L26WFZP.js.map → registry-XNCQALXP.js.map} +0 -0
- /package/dist/{self-4HOKEXBV.js.map → self-LDLIIKFW.js.map} +0 -0
- /package/dist/{setup-system-CJESBAQ5.js.map → setup-system-2MZMQ3MX.js.map} +0 -0
- /package/dist/{uninstall-R2QK7XPK.js.map → uninstall-EJF6HCYI.js.map} +0 -0
package/dist/index.js
CHANGED
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
COMPLETE_PROJECT_CAPABILITIES,
|
|
4
4
|
describeHarnessSupport,
|
|
5
5
|
resolveUnifiedSetupState
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-MESLJI5A.js";
|
|
7
7
|
import {
|
|
8
8
|
classifyCompatibilityState,
|
|
9
9
|
formatCompatibilityClassification,
|
|
10
10
|
importLegacyInstallationState,
|
|
11
11
|
previewLegacyInstallationState,
|
|
12
12
|
scopeCompatibilityToInstallPlan
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-KKXJTVMH.js";
|
|
14
14
|
import {
|
|
15
15
|
Checkpoint9ReceiptProjectionError,
|
|
16
16
|
MigrationSafetyError,
|
|
@@ -25,8 +25,11 @@ import {
|
|
|
25
25
|
operationCliPath,
|
|
26
26
|
operationCliProjection,
|
|
27
27
|
resolveCliOperationLaunch,
|
|
28
|
-
serializeOperationError
|
|
29
|
-
|
|
28
|
+
serializeOperationError,
|
|
29
|
+
setupFollowUpAction,
|
|
30
|
+
skillChangesLeftForSkillsSetup,
|
|
31
|
+
skillChangesNextAction
|
|
32
|
+
} from "./chunk-5XKMSGMS.js";
|
|
30
33
|
import {
|
|
31
34
|
MCP_SERVER_PROFILES,
|
|
32
35
|
applyInstallPlan,
|
|
@@ -40,12 +43,12 @@ import {
|
|
|
40
43
|
planInstall,
|
|
41
44
|
planProjectHarnessIntegrationWrite,
|
|
42
45
|
registerSkillAdoptionRecovery
|
|
43
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-DZ3SA3JA.js";
|
|
44
47
|
import {
|
|
45
48
|
runBackupCommand
|
|
46
|
-
} from "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
+
} from "./chunk-ABKEBYCF.js";
|
|
50
|
+
import "./chunk-USVCSYS5.js";
|
|
51
|
+
import "./chunk-VCC4D5I3.js";
|
|
49
52
|
import {
|
|
50
53
|
S_BAR,
|
|
51
54
|
S_BAR_END,
|
|
@@ -69,7 +72,7 @@ import {
|
|
|
69
72
|
previewStoreCompatibilityBridge,
|
|
70
73
|
resolveProjectIdentity,
|
|
71
74
|
writeGlobalConfig
|
|
72
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-HZ4QLB7L.js";
|
|
73
76
|
import {
|
|
74
77
|
HARNESS_CALLER_IDENTITY_ARG,
|
|
75
78
|
HARNESS_CALLER_IDENTITY_ENV,
|
|
@@ -84,7 +87,7 @@ import {
|
|
|
84
87
|
redactMcpNativeValue,
|
|
85
88
|
sha256,
|
|
86
89
|
verifyMakeDocsExecutable
|
|
87
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-2Z7KRD4H.js";
|
|
88
91
|
import {
|
|
89
92
|
CAPABILITIES,
|
|
90
93
|
CAPABILITY_DEPENDENCIES,
|
|
@@ -116,7 +119,7 @@ import {
|
|
|
116
119
|
validateAndMigrateManifest,
|
|
117
120
|
withStoreDatabase,
|
|
118
121
|
writeTextFile
|
|
119
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-X6TAWRTO.js";
|
|
120
123
|
import "./chunk-D4HDZEJT.js";
|
|
121
124
|
|
|
122
125
|
// src/cli.ts
|
|
@@ -2693,12 +2696,12 @@ async function runCli(argv = process.argv.slice(2), priorProjectRecovery = null,
|
|
|
2693
2696
|
return;
|
|
2694
2697
|
}
|
|
2695
2698
|
if (parsed.command === "mcp") {
|
|
2696
|
-
const { runMcpServer } = await import("./server-
|
|
2699
|
+
const { runMcpServer } = await import("./server-G2UO2NOT.js");
|
|
2697
2700
|
await runMcpServer({ profile: parsed.mcpProfile ?? "all" });
|
|
2698
2701
|
return;
|
|
2699
2702
|
}
|
|
2700
2703
|
if (parsed.command === "update") {
|
|
2701
|
-
const { runToolUpdateCommand } = await import("./self-
|
|
2704
|
+
const { runToolUpdateCommand } = await import("./self-LDLIIKFW.js");
|
|
2702
2705
|
await runToolUpdateCommand({
|
|
2703
2706
|
yes: parsed.yes,
|
|
2704
2707
|
...parsed.targetDir ? { targetDir: path4.resolve(parsed.targetDir) } : {}
|
|
@@ -2706,13 +2709,13 @@ async function runCli(argv = process.argv.slice(2), priorProjectRecovery = null,
|
|
|
2706
2709
|
return;
|
|
2707
2710
|
}
|
|
2708
2711
|
if (parsed.command === "uninstall") {
|
|
2709
|
-
const { runToolUninstallCommand } = await import("./self-
|
|
2712
|
+
const { runToolUninstallCommand } = await import("./self-LDLIIKFW.js");
|
|
2710
2713
|
await runToolUninstallCommand({ yes: parsed.yes, removeStore: parsed.removeStore });
|
|
2711
2714
|
return;
|
|
2712
2715
|
}
|
|
2713
2716
|
validateParsedArgs(parsed);
|
|
2714
2717
|
if (parsed.setupSubcommand === "system") {
|
|
2715
|
-
const { runSystemSetupCommand } = await import("./setup-system-
|
|
2718
|
+
const { runSystemSetupCommand } = await import("./setup-system-2MZMQ3MX.js");
|
|
2716
2719
|
const result = await runSystemSetupCommand({
|
|
2717
2720
|
dryRun: parsed.dryRun,
|
|
2718
2721
|
yes: parsed.yes,
|
|
@@ -3100,7 +3103,7 @@ Current path: ${checkoutMove.targetRoot}
|
|
|
3100
3103
|
});
|
|
3101
3104
|
}
|
|
3102
3105
|
if (!freshInstallTarget) {
|
|
3103
|
-
const { detectPreV2Install, promptPreV2Choice } = await import("./self-
|
|
3106
|
+
const { detectPreV2Install, promptPreV2Choice } = await import("./self-LDLIIKFW.js");
|
|
3104
3107
|
const preV2 = detectPreV2Install({
|
|
3105
3108
|
targetDir,
|
|
3106
3109
|
classification: compatibilityClassification
|
|
@@ -3169,7 +3172,7 @@ Current path: ${checkoutMove.targetRoot}
|
|
|
3169
3172
|
}
|
|
3170
3173
|
let interactiveMethodSelections = {};
|
|
3171
3174
|
if (interactive) {
|
|
3172
|
-
const { inspectSystemHarnesses, promptForSystemSetupMethods } = await import("./setup-system-
|
|
3175
|
+
const { inspectSystemHarnesses, promptForSystemSetupMethods } = await import("./setup-system-2MZMQ3MX.js");
|
|
3173
3176
|
const harnessSupport = inspectSystemHarnesses();
|
|
3174
3177
|
const afterHarnessSelection = async (wizardSelections) => {
|
|
3175
3178
|
interactiveMethodSelections = await promptForSystemSetupMethods({
|
|
@@ -3247,7 +3250,7 @@ Current path: ${checkoutMove.targetRoot}
|
|
|
3247
3250
|
applyPreparedSystemSetup,
|
|
3248
3251
|
prepareSystemSetupCommand,
|
|
3249
3252
|
resumePendingSystemSetupCommand
|
|
3250
|
-
} = await import("./setup-system-
|
|
3253
|
+
} = await import("./setup-system-2MZMQ3MX.js");
|
|
3251
3254
|
const savedMethods = Object.fromEntries(
|
|
3252
3255
|
makeDocsConfig.harnessIntegrations.filter((record) => record.mode === "narrow" && record.method && (record.harness === "codex" || record.harness === "claude-code" || record.harness === "github-copilot")).map((record) => [record.harness, record.method])
|
|
3253
3256
|
);
|
|
@@ -3545,8 +3548,14 @@ ${nextAction}
|
|
|
3545
3548
|
output.write(`Next: ${storeBridgePreview.nextAction}
|
|
3546
3549
|
`);
|
|
3547
3550
|
}
|
|
3551
|
+
const skillChangesLeftNow = () => !parsed.adopt && !freshInstallTarget && hasInstallMutation && completedRemovalHandoff.status !== "ready" ? skillChangesLeftForSkillsSetup(plan) : [];
|
|
3552
|
+
const skillRouteTarget = parsed.targetDir;
|
|
3553
|
+
const skillChangesLeft = skillChangesLeftNow();
|
|
3554
|
+
const shownProjectActions = skillChangesLeft.length === 0 ? plan.actions : plan.actions.map(
|
|
3555
|
+
(action) => skillChangesLeft.includes(action) ? { ...action, type: "skip", reason: skillChangesNextAction(skillChangesLeft.length, skillRouteTarget) } : action
|
|
3556
|
+
);
|
|
3548
3557
|
if (!jsonOutput) printPlan({
|
|
3549
|
-
actions:
|
|
3558
|
+
actions: shownProjectActions,
|
|
3550
3559
|
dryRun: parsed.dryRun,
|
|
3551
3560
|
existingManifest: planningManifest,
|
|
3552
3561
|
installIntent,
|
|
@@ -3565,8 +3574,11 @@ ${nextAction}
|
|
|
3565
3574
|
}
|
|
3566
3575
|
const unresolvedManagedFileConflicts = findReviewableManagedFileConflicts(plan);
|
|
3567
3576
|
if (parsed.dryRun && unresolvedManagedFileConflicts.length === 0) {
|
|
3568
|
-
|
|
3569
|
-
|
|
3577
|
+
const skillRoute = skillChangesLeft.length > 0 ? ` ${skillChangesNextAction(skillChangesLeft.length, skillRouteTarget)}` : "";
|
|
3578
|
+
if (jsonOutput) writeCanonicalSetupResult({ status: "planned", dryRun: true, targetRoot: targetDir, prepared: preparedSystemSetup, genericMcp: genericMcpPlan, storeBridge: storeBridgePreview, projectRecovery: priorProjectRecovery, projectChanged: hasInstallMutation, projectActions: shownProjectActions, failedCondition: null, nextAction: hasInstallMutation || hasMachineMutation ? `Run setup with the same choices and --yes to apply this plan.${skillRoute}` : null });
|
|
3579
|
+
else output.write(`
|
|
3580
|
+
Dry run complete.${skillRoute}
|
|
3581
|
+
`);
|
|
3570
3582
|
return;
|
|
3571
3583
|
}
|
|
3572
3584
|
if (unresolvedManagedFileConflicts.length > 0) {
|
|
@@ -3989,6 +4001,11 @@ Next: ${nextAction}
|
|
|
3989
4001
|
targetDir
|
|
3990
4002
|
});
|
|
3991
4003
|
}
|
|
4004
|
+
const appliedSkillChangesLeft = skillChangesLeftNow();
|
|
4005
|
+
if (appliedSkillChangesLeft.length > 0 && !jsonOutput) {
|
|
4006
|
+
output.write(`${skillChangesNextAction(appliedSkillChangesLeft.length, skillRouteTarget)}
|
|
4007
|
+
`);
|
|
4008
|
+
}
|
|
3992
4009
|
if (applied.conflictFiles.length > 0 && !jsonOutput) {
|
|
3993
4010
|
output.write("Conflicts were staged for manual review:\n");
|
|
3994
4011
|
for (const conflictFile of applied.conflictFiles) {
|
|
@@ -4010,7 +4027,7 @@ Next: ${nextAction}
|
|
|
4010
4027
|
projectMutationState: projectPrerequisiteChanged || applied.mutationApplied ? "applied" : "none",
|
|
4011
4028
|
projectActions: applied.appliedActions,
|
|
4012
4029
|
failedCondition: null,
|
|
4013
|
-
nextAction: systemSetup.blocked[0]?.nextAction
|
|
4030
|
+
nextAction: setupFollowUpAction(systemSetup.blocked[0]?.nextAction, appliedSkillChangesLeft.length, skillRouteTarget)
|
|
4014
4031
|
});
|
|
4015
4032
|
} else if (systemSetup.status === "partial") {
|
|
4016
4033
|
output.write("Project setup: ready. MCP setup still needs manual work for these platforms:\n");
|
|
@@ -4309,7 +4326,7 @@ async function loadUninstallCommand() {
|
|
|
4309
4326
|
if (uninstallCommandLoaderOverride) {
|
|
4310
4327
|
return uninstallCommandLoaderOverride();
|
|
4311
4328
|
}
|
|
4312
|
-
const uninstallModule = await import("./uninstall-
|
|
4329
|
+
const uninstallModule = await import("./uninstall-EJF6HCYI.js");
|
|
4313
4330
|
if (typeof uninstallModule.runUninstallCommand !== "function") {
|
|
4314
4331
|
throw new Error(
|
|
4315
4332
|
"The `uninstall` command module must export `runUninstallCommand(options)`."
|
|
@@ -4322,7 +4339,7 @@ async function runSkillsCommand(options) {
|
|
|
4322
4339
|
await skillsCommandRunnerOverride(options);
|
|
4323
4340
|
return;
|
|
4324
4341
|
}
|
|
4325
|
-
const skillsModule = await import("./skills-command-
|
|
4342
|
+
const skillsModule = await import("./skills-command-VE4GRWI2.js");
|
|
4326
4343
|
await skillsModule.runSkillsCommand(options);
|
|
4327
4344
|
}
|
|
4328
4345
|
function getSelectionOverrideFlags(parsed) {
|