@brucewaynedecoy/make-docs 2.0.5 → 2.0.6
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-2OT4A6LR.js → backup-P5NUPAJL.js} +4 -4
- package/dist/{chunk-ISSMVKIA.js → chunk-2WC74W66.js} +2 -2
- package/dist/{chunk-CLSOY7NV.js → chunk-B7QF7XZT.js} +4 -4
- package/dist/{chunk-CCYP5NU2.js → chunk-DNPFQB24.js} +3 -3
- package/dist/{chunk-XDSWX4Y4.js → chunk-EF47XIIR.js} +87 -8
- package/dist/chunk-EF47XIIR.js.map +1 -0
- package/dist/{chunk-46MGH32G.js → chunk-KFYUB4AX.js} +2 -2
- package/dist/{chunk-CMNKQM7L.js → chunk-LK6BLVZA.js} +3 -3
- package/dist/{chunk-I4FADOUK.js → chunk-PI7W5QDB.js} +2 -2
- package/dist/{chunk-HXWD2EUD.js → chunk-SFKYGFUV.js} +260 -67
- package/dist/chunk-SFKYGFUV.js.map +1 -0
- package/dist/{chunk-UNR4CYVX.js → chunk-TDB6UW4M.js} +3 -3
- package/dist/{chunk-VMKG3H4B.js → chunk-XFFESINU.js} +2 -2
- package/dist/index.js +217 -19
- package/dist/index.js.map +1 -1
- package/dist/{registry-PC5GKAKM.js → registry-44WLX4F5.js} +7 -7
- package/dist/{self-WYVXO23B.js → self-WRWI5XNE.js} +7 -7
- package/dist/{server-BQOG6FTA.js → server-FYRDPOBR.js} +13 -9
- package/dist/server-FYRDPOBR.js.map +1 -0
- package/dist/{setup-system-KN7FTTLT.js → setup-system-XX6NSVXZ.js} +7 -7
- package/dist/{skills-command-KEW7MOEW.js → skills-command-YAQP24JM.js} +6 -6
- package/dist/{uninstall-45XF4CHD.js → uninstall-3YJKZ6UF.js} +7 -7
- package/dist/{virtual_make-docs-first-party-skills-ECJESFL2.js → virtual_make-docs-first-party-skills-5TYTCD5U.js} +2 -2
- package/dist/{virtual_make-docs-first-party-skills-ECJESFL2.js.map → virtual_make-docs-first-party-skills-5TYTCD5U.js.map} +1 -1
- package/package.json +1 -1
- package/dist/chunk-HXWD2EUD.js.map +0 -1
- package/dist/chunk-XDSWX4Y4.js.map +0 -1
- package/dist/server-BQOG6FTA.js.map +0 -1
- /package/dist/{backup-2OT4A6LR.js.map → backup-P5NUPAJL.js.map} +0 -0
- /package/dist/{chunk-ISSMVKIA.js.map → chunk-2WC74W66.js.map} +0 -0
- /package/dist/{chunk-CLSOY7NV.js.map → chunk-B7QF7XZT.js.map} +0 -0
- /package/dist/{chunk-CCYP5NU2.js.map → chunk-DNPFQB24.js.map} +0 -0
- /package/dist/{chunk-46MGH32G.js.map → chunk-KFYUB4AX.js.map} +0 -0
- /package/dist/{chunk-CMNKQM7L.js.map → chunk-LK6BLVZA.js.map} +0 -0
- /package/dist/{chunk-I4FADOUK.js.map → chunk-PI7W5QDB.js.map} +0 -0
- /package/dist/{chunk-UNR4CYVX.js.map → chunk-TDB6UW4M.js.map} +0 -0
- /package/dist/{chunk-VMKG3H4B.js.map → chunk-XFFESINU.js.map} +0 -0
- /package/dist/{registry-PC5GKAKM.js.map → registry-44WLX4F5.js.map} +0 -0
- /package/dist/{self-WYVXO23B.js.map → self-WRWI5XNE.js.map} +0 -0
- /package/dist/{setup-system-KN7FTTLT.js.map → setup-system-XX6NSVXZ.js.map} +0 -0
- /package/dist/{skills-command-KEW7MOEW.js.map → skills-command-YAQP24JM.js.map} +0 -0
- /package/dist/{uninstall-45XF4CHD.js.map → uninstall-3YJKZ6UF.js.map} +0 -0
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
prepareBackupExecution,
|
|
6
6
|
resolveBackupDestinationPlan,
|
|
7
7
|
runBackupCommand
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-DNPFQB24.js";
|
|
9
|
+
import "./chunk-KFYUB4AX.js";
|
|
10
10
|
import "./chunk-3EXHM5L2.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-SFKYGFUV.js";
|
|
12
12
|
import "./chunk-D4HDZEJT.js";
|
|
13
13
|
export {
|
|
14
14
|
compareBackupRelativePathDepth,
|
|
@@ -17,4 +17,4 @@ export {
|
|
|
17
17
|
resolveBackupDestinationPlan,
|
|
18
18
|
runBackupCommand
|
|
19
19
|
};
|
|
20
|
-
//# sourceMappingURL=backup-
|
|
20
|
+
//# sourceMappingURL=backup-P5NUPAJL.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
assertManagedPathHasNoSymlinks,
|
|
4
4
|
platform
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SFKYGFUV.js";
|
|
6
6
|
|
|
7
7
|
// src/harness-access/contract.ts
|
|
8
8
|
import { createHash } from "crypto";
|
|
@@ -2541,4 +2541,4 @@ export {
|
|
|
2541
2541
|
cloneOperationAccess,
|
|
2542
2542
|
assertOperationAccess
|
|
2543
2543
|
};
|
|
2544
|
-
//# sourceMappingURL=chunk-
|
|
2544
|
+
//# sourceMappingURL=chunk-2WC74W66.js.map
|
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
prepareInstallationRemoval,
|
|
8
8
|
pruneInstallationParents,
|
|
9
9
|
removeInstallationPath
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XFFESINU.js";
|
|
11
11
|
import {
|
|
12
12
|
NO_ACCESS,
|
|
13
13
|
getFirstPartyHarnessAdapter,
|
|
14
14
|
validateHarnessMethodSelection
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-2WC74W66.js";
|
|
16
16
|
import {
|
|
17
17
|
CONFLICTS_RELATIVE_DIR,
|
|
18
18
|
DEFAULT_SYSTEM_ASSET_MATERIALIZATION_MODE,
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
withInstallationOperation,
|
|
76
76
|
writeContentFile,
|
|
77
77
|
writeManifest
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-SFKYGFUV.js";
|
|
79
79
|
|
|
80
80
|
// src/config.ts
|
|
81
81
|
import { existsSync, readFileSync } from "fs";
|
|
@@ -4280,4 +4280,4 @@ export {
|
|
|
4280
4280
|
registerSkillAdoptionRecovery,
|
|
4281
4281
|
applySkillAdoptionReview
|
|
4282
4282
|
};
|
|
4283
|
-
//# sourceMappingURL=chunk-
|
|
4283
|
+
//# sourceMappingURL=chunk-B7QF7XZT.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
createAuditReport,
|
|
4
4
|
getProjectBackupRoot
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-KFYUB4AX.js";
|
|
6
6
|
import {
|
|
7
7
|
confirm,
|
|
8
8
|
intro,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
preparePlannedFileChange,
|
|
17
17
|
sealInstallationOperation,
|
|
18
18
|
withInstallationOperation
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-SFKYGFUV.js";
|
|
20
20
|
|
|
21
21
|
// src/backup.ts
|
|
22
22
|
import {
|
|
@@ -520,4 +520,4 @@ export {
|
|
|
520
520
|
executePreparedBackup,
|
|
521
521
|
resolveBackupDestinationPlan
|
|
522
522
|
};
|
|
523
|
-
//# sourceMappingURL=chunk-
|
|
523
|
+
//# sourceMappingURL=chunk-DNPFQB24.js.map
|
|
@@ -21,12 +21,12 @@ import {
|
|
|
21
21
|
planProjectHarnessIntegrationWrite,
|
|
22
22
|
registerSkillAdoptionRecovery,
|
|
23
23
|
resolveEffectiveHarnessIntegration
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-B7QF7XZT.js";
|
|
25
25
|
import {
|
|
26
26
|
assertLifecyclePlanSnapshotCurrent,
|
|
27
27
|
createLifecycleMutationReceipt,
|
|
28
28
|
createLifecyclePlanSnapshot
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-XFFESINU.js";
|
|
30
30
|
import {
|
|
31
31
|
LIFECYCLE_STAGES,
|
|
32
32
|
LIFECYCLE_STATUSES,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
recordWorkEvidence,
|
|
47
47
|
resolveProjectIdentity,
|
|
48
48
|
transitionLifecycleRun
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-TDB6UW4M.js";
|
|
50
50
|
import {
|
|
51
51
|
HARNESS_CALLER_IDENTITY_ENV,
|
|
52
52
|
NO_ACCESS,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
sha256,
|
|
66
66
|
validateHarnessMethodSelection,
|
|
67
67
|
verifyMakeDocsExecutable
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-2WC74W66.js";
|
|
69
69
|
import {
|
|
70
70
|
CURRENT_STORE_SCHEMA_VERSION,
|
|
71
71
|
HARNESS_TO_INSTRUCTION,
|
|
@@ -78,6 +78,7 @@ import {
|
|
|
78
78
|
StoreUnavailableError,
|
|
79
79
|
acquireInstallationLock,
|
|
80
80
|
acquireStoreAccess,
|
|
81
|
+
applyInstallationCheckoutMove,
|
|
81
82
|
assertInstallationLockActive,
|
|
82
83
|
assertManagedPathHasNoSymlinks,
|
|
83
84
|
canonicalInstallationPath,
|
|
@@ -101,6 +102,7 @@ import {
|
|
|
101
102
|
platform,
|
|
102
103
|
prepareDetachedInstallationOperation,
|
|
103
104
|
preparePlannedFileChange,
|
|
105
|
+
previewInstallationCheckoutMove,
|
|
104
106
|
readDetachedInstallationOperation,
|
|
105
107
|
readInstallationManifest,
|
|
106
108
|
readInstallationStatus,
|
|
@@ -110,6 +112,7 @@ import {
|
|
|
110
112
|
recordMigrationState,
|
|
111
113
|
recoverInstallationOperation,
|
|
112
114
|
registerDetachedInstallationOperation,
|
|
115
|
+
registerSeparateInstallationCheckout,
|
|
113
116
|
relativePathToTarget,
|
|
114
117
|
releaseInstallationLock,
|
|
115
118
|
resolveInstallProfile,
|
|
@@ -125,7 +128,7 @@ import {
|
|
|
125
128
|
withStoreDatabase,
|
|
126
129
|
writeManifest,
|
|
127
130
|
writeTextFile
|
|
128
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-SFKYGFUV.js";
|
|
129
132
|
import {
|
|
130
133
|
__export
|
|
131
134
|
} from "./chunk-D4HDZEJT.js";
|
|
@@ -235,7 +238,7 @@ function createProductionStoreSession(explicitStoreRoot) {
|
|
|
235
238
|
withInstallationDatabase(
|
|
236
239
|
targetRoot2,
|
|
237
240
|
(database) => database.prepare("SELECT 1 AS admitted").get(),
|
|
238
|
-
{ storeRoot, readOnly: access === "read" }
|
|
241
|
+
{ storeRoot, readOnly: access === "read" || operation2.startsWith("project.checkout-move.") || operation2.startsWith("project.checkout-register.") }
|
|
239
242
|
);
|
|
240
243
|
const release = acquireStoreAccess(storeRoot);
|
|
241
244
|
if (operation2 === "project.state.recover") {
|
|
@@ -25150,7 +25153,71 @@ var stateRecoverInput = external_exports.object({
|
|
|
25150
25153
|
operationId: external_exports.string().min(1),
|
|
25151
25154
|
mode: external_exports.enum(["resume", "rollback"])
|
|
25152
25155
|
}).strict();
|
|
25156
|
+
var checkoutMovePreviewInput = external_exports.object({
|
|
25157
|
+
targetRoot: external_exports.string().min(1).optional(),
|
|
25158
|
+
sourceCheckoutId: external_exports.string().min(1).optional()
|
|
25159
|
+
}).strict();
|
|
25160
|
+
var checkoutMoveApplyInput = external_exports.object({
|
|
25161
|
+
targetRoot: external_exports.string().min(1).optional(),
|
|
25162
|
+
sourceCheckoutId: external_exports.string().min(1),
|
|
25163
|
+
sourceRoot: external_exports.string().min(1),
|
|
25164
|
+
reviewDigest: external_exports.string().regex(/^[a-f0-9]{64}$/)
|
|
25165
|
+
}).strict();
|
|
25166
|
+
var checkoutRegisterApplyInput = external_exports.object({
|
|
25167
|
+
targetRoot: external_exports.string().min(1).optional(),
|
|
25168
|
+
reviewDigest: external_exports.string().regex(/^[a-f0-9]{64}$/)
|
|
25169
|
+
}).strict();
|
|
25153
25170
|
var projectOperations = [{
|
|
25171
|
+
id: "project.checkout-register.preview",
|
|
25172
|
+
mcp: { profiles: ["setup"], defaultExposure: "deferred" },
|
|
25173
|
+
summary: "Review a new checkout ID for an existing project without changing files or Store rows.",
|
|
25174
|
+
mutates: "read",
|
|
25175
|
+
access: STORE_READ_PROJECT_READ_ACCESS,
|
|
25176
|
+
status: "active",
|
|
25177
|
+
inputSchema: external_exports.object({ targetRoot: external_exports.string().min(1).optional() }).strict(),
|
|
25178
|
+
handler(rawInput, context) {
|
|
25179
|
+
const input2 = external_exports.object({ targetRoot: external_exports.string().min(1).optional() }).strict().parse(rawInput);
|
|
25180
|
+
return previewInstallationCheckoutMove(path10.resolve(input2.targetRoot ?? context.cwd), void 0, context.storeRoot);
|
|
25181
|
+
}
|
|
25182
|
+
}, {
|
|
25183
|
+
id: "project.checkout-register.apply",
|
|
25184
|
+
mcp: { profiles: ["setup"], defaultExposure: "deferred" },
|
|
25185
|
+
summary: "Register a distinct reviewed checkout ID for a managed project install.",
|
|
25186
|
+
mutates: "write",
|
|
25187
|
+
access: STORE_WRITE_PROJECT_WRITE_ACCESS,
|
|
25188
|
+
status: "active",
|
|
25189
|
+
inputSchema: checkoutRegisterApplyInput,
|
|
25190
|
+
handler(rawInput, context) {
|
|
25191
|
+
const input2 = checkoutRegisterApplyInput.parse(rawInput);
|
|
25192
|
+
if (context.dryRun) return previewInstallationCheckoutMove(path10.resolve(input2.targetRoot ?? context.cwd), void 0, context.storeRoot);
|
|
25193
|
+
return registerSeparateInstallationCheckout(path10.resolve(input2.targetRoot ?? context.cwd), input2.reviewDigest, context.storeRoot);
|
|
25194
|
+
}
|
|
25195
|
+
}, {
|
|
25196
|
+
id: "project.checkout-move.preview",
|
|
25197
|
+
mcp: { profiles: ["setup"], defaultExposure: "deferred" },
|
|
25198
|
+
summary: "Review saved checkout paths and target ownership without changing Store or project files.",
|
|
25199
|
+
mutates: "read",
|
|
25200
|
+
access: STORE_READ_PROJECT_READ_ACCESS,
|
|
25201
|
+
status: "active",
|
|
25202
|
+
inputSchema: checkoutMovePreviewInput,
|
|
25203
|
+
handler(rawInput, context) {
|
|
25204
|
+
const input2 = checkoutMovePreviewInput.parse(rawInput);
|
|
25205
|
+
return previewInstallationCheckoutMove(path10.resolve(input2.targetRoot ?? context.cwd), input2.sourceCheckoutId, context.storeRoot);
|
|
25206
|
+
}
|
|
25207
|
+
}, {
|
|
25208
|
+
id: "project.checkout-move.apply",
|
|
25209
|
+
mcp: { profiles: ["setup"], defaultExposure: "deferred" },
|
|
25210
|
+
summary: "Move one reviewed checkout binding in the Store. Project files stay unchanged.",
|
|
25211
|
+
mutates: "write",
|
|
25212
|
+
access: STORE_WRITE_PROJECT_READ_ACCESS,
|
|
25213
|
+
status: "active",
|
|
25214
|
+
inputSchema: checkoutMoveApplyInput,
|
|
25215
|
+
handler(rawInput, context) {
|
|
25216
|
+
const input2 = checkoutMoveApplyInput.parse(rawInput);
|
|
25217
|
+
if (context.dryRun) return previewInstallationCheckoutMove(path10.resolve(input2.targetRoot ?? context.cwd), input2.sourceCheckoutId, context.storeRoot);
|
|
25218
|
+
return applyInstallationCheckoutMove(path10.resolve(input2.targetRoot ?? context.cwd), input2.sourceCheckoutId, input2.sourceRoot, input2.reviewDigest, context.storeRoot);
|
|
25219
|
+
}
|
|
25220
|
+
}, {
|
|
25154
25221
|
id: "project.state.status",
|
|
25155
25222
|
mcp: { profiles: ["core", "setup"], defaultExposure: "eager" },
|
|
25156
25223
|
summary: "Read installation state and the next safe action from the global Store.",
|
|
@@ -29921,7 +29988,7 @@ var backlogReviewRefreshOperation = {
|
|
|
29921
29988
|
inputSchema: backlogReviewRefreshInputSchema,
|
|
29922
29989
|
mcpResultSchema: BacklogReviewRefreshPayloadV1Schema,
|
|
29923
29990
|
async handler(input2, context) {
|
|
29924
|
-
const { invokeOperation: invokeOperation2 } = await import("./registry-
|
|
29991
|
+
const { invokeOperation: invokeOperation2 } = await import("./registry-44WLX4F5.js");
|
|
29925
29992
|
const { envelope } = input2;
|
|
29926
29993
|
const targetRoot2 = envelope.report.snapshot.targetRoot;
|
|
29927
29994
|
let snapshot2;
|
|
@@ -30433,6 +30500,10 @@ var ADMITTED_OPERATION_IDS = [
|
|
|
30433
30500
|
"resource.ensure",
|
|
30434
30501
|
"project.state.status",
|
|
30435
30502
|
"project.state.recover",
|
|
30503
|
+
"project.checkout-move.preview",
|
|
30504
|
+
"project.checkout-move.apply",
|
|
30505
|
+
"project.checkout-register.preview",
|
|
30506
|
+
"project.checkout-register.apply",
|
|
30436
30507
|
"project.persona.list",
|
|
30437
30508
|
"project.layout.preview",
|
|
30438
30509
|
"project.layout.prepare",
|
|
@@ -30474,6 +30545,10 @@ var ADMITTED_CLI_PATHS = {
|
|
|
30474
30545
|
"resource.ensure": ["resource", "ensure"],
|
|
30475
30546
|
"project.state.status": ["project", "state status"],
|
|
30476
30547
|
"project.state.recover": ["project", "state recover"],
|
|
30548
|
+
"project.checkout-move.preview": ["project", "checkout-move preview"],
|
|
30549
|
+
"project.checkout-move.apply": ["project", "checkout-move apply"],
|
|
30550
|
+
"project.checkout-register.preview": ["project", "checkout-register preview"],
|
|
30551
|
+
"project.checkout-register.apply": ["project", "checkout-register apply"],
|
|
30477
30552
|
"project.persona.list": ["project", "persona list"],
|
|
30478
30553
|
"project.layout.preview": ["project", "layout preview"],
|
|
30479
30554
|
"project.layout.prepare": ["project", "layout prepare"],
|
|
@@ -30513,6 +30588,10 @@ var ADMITTED_CLI_USAGES = {
|
|
|
30513
30588
|
"project.layout.verify": "make-docs project layout verify <operation-id> [--target-root <path>] [--json]",
|
|
30514
30589
|
"project.state.status": "make-docs project state status [--json]",
|
|
30515
30590
|
"project.state.recover": "make-docs project state recover <operation-id> --resume|--rollback [--dry-run] [--json]",
|
|
30591
|
+
"project.checkout-move.preview": "make-docs project checkout-move preview [--source-checkout <id>] [--target-root <path>] [--json]",
|
|
30592
|
+
"project.checkout-move.apply": "make-docs project checkout-move apply --source-checkout <id> --source-root <path> --review <digest> [--target-root <path>] [--json]",
|
|
30593
|
+
"project.checkout-register.preview": "make-docs project checkout-register preview [--target-root <path>] [--json]",
|
|
30594
|
+
"project.checkout-register.apply": "make-docs project checkout-register apply --review <digest> [--target-root <path>] [--json]",
|
|
30516
30595
|
"resource.read": "make-docs resource read <uri>",
|
|
30517
30596
|
"resource.ensure": "make-docs resource ensure <uri>",
|
|
30518
30597
|
"project.surface.ensure": "make-docs project surface ensure <archive|artifacts|assets>",
|
|
@@ -30844,4 +30923,4 @@ export {
|
|
|
30844
30923
|
getInstallPlanMigrationReviewBlock,
|
|
30845
30924
|
executeStoreCheckpoint9Migration
|
|
30846
30925
|
};
|
|
30847
|
-
//# sourceMappingURL=chunk-
|
|
30926
|
+
//# sourceMappingURL=chunk-EF47XIIR.js.map
|