@brucewaynedecoy/make-docs 2.0.5 → 2.0.7
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-M5RBOM6F.js} +4 -4
- package/dist/{chunk-VMKG3H4B.js → chunk-3ZFX5456.js} +2 -2
- package/dist/{chunk-46MGH32G.js → chunk-5WR4D6HH.js} +2 -2
- package/dist/{chunk-UNR4CYVX.js → chunk-65TAUWTC.js} +3 -3
- package/dist/{chunk-I4FADOUK.js → chunk-7AVGITZK.js} +2 -2
- package/dist/{chunk-CLSOY7NV.js → chunk-B6HJRHWL.js} +179 -103
- package/dist/chunk-B6HJRHWL.js.map +1 -0
- package/dist/{chunk-HXWD2EUD.js → chunk-C67WJWVP.js} +278 -74
- package/dist/chunk-C67WJWVP.js.map +1 -0
- package/dist/{chunk-CCYP5NU2.js → chunk-O27AYYF3.js} +3 -3
- package/dist/{chunk-XDSWX4Y4.js → chunk-OSS4NT6N.js} +88 -8
- package/dist/chunk-OSS4NT6N.js.map +1 -0
- package/dist/{chunk-CMNKQM7L.js → chunk-YJLVHT4J.js} +3 -3
- package/dist/{chunk-ISSMVKIA.js → chunk-Z4KZ4JTE.js} +2 -2
- package/dist/index.js +397 -36
- package/dist/index.js.map +1 -1
- package/dist/{registry-PC5GKAKM.js → registry-7L26WFZP.js} +7 -7
- package/dist/{self-WYVXO23B.js → self-4HOKEXBV.js} +7 -7
- package/dist/{server-BQOG6FTA.js → server-VXVGDWRY.js} +13 -9
- package/dist/server-VXVGDWRY.js.map +1 -0
- package/dist/{setup-system-KN7FTTLT.js → setup-system-CJESBAQ5.js} +7 -7
- package/dist/{skills-command-KEW7MOEW.js → skills-command-YXPOHXI2.js} +6 -6
- package/dist/{uninstall-45XF4CHD.js → uninstall-R2QK7XPK.js} +7 -7
- package/dist/{virtual_make-docs-first-party-skills-ECJESFL2.js → virtual_make-docs-first-party-skills-POWW3OI3.js} +2 -2
- package/dist/{virtual_make-docs-first-party-skills-ECJESFL2.js.map → virtual_make-docs-first-party-skills-POWW3OI3.js.map} +1 -1
- package/package.json +1 -1
- package/dist/chunk-CLSOY7NV.js.map +0 -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-M5RBOM6F.js.map} +0 -0
- /package/dist/{chunk-VMKG3H4B.js.map → chunk-3ZFX5456.js.map} +0 -0
- /package/dist/{chunk-46MGH32G.js.map → chunk-5WR4D6HH.js.map} +0 -0
- /package/dist/{chunk-UNR4CYVX.js.map → chunk-65TAUWTC.js.map} +0 -0
- /package/dist/{chunk-I4FADOUK.js.map → chunk-7AVGITZK.js.map} +0 -0
- /package/dist/{chunk-CCYP5NU2.js.map → chunk-O27AYYF3.js.map} +0 -0
- /package/dist/{chunk-CMNKQM7L.js.map → chunk-YJLVHT4J.js.map} +0 -0
- /package/dist/{chunk-ISSMVKIA.js.map → chunk-Z4KZ4JTE.js.map} +0 -0
- /package/dist/{registry-PC5GKAKM.js.map → registry-7L26WFZP.js.map} +0 -0
- /package/dist/{self-WYVXO23B.js.map → self-4HOKEXBV.js.map} +0 -0
- /package/dist/{setup-system-KN7FTTLT.js.map → setup-system-CJESBAQ5.js.map} +0 -0
- /package/dist/{skills-command-KEW7MOEW.js.map → skills-command-YXPOHXI2.js.map} +0 -0
- /package/dist/{uninstall-45XF4CHD.js.map → uninstall-R2QK7XPK.js.map} +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
createAuditReport,
|
|
4
4
|
getProjectBackupRoot
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-5WR4D6HH.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-C67WJWVP.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-O27AYYF3.js.map
|
|
@@ -21,12 +21,12 @@ import {
|
|
|
21
21
|
planProjectHarnessIntegrationWrite,
|
|
22
22
|
registerSkillAdoptionRecovery,
|
|
23
23
|
resolveEffectiveHarnessIntegration
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-B6HJRHWL.js";
|
|
25
25
|
import {
|
|
26
26
|
assertLifecyclePlanSnapshotCurrent,
|
|
27
27
|
createLifecycleMutationReceipt,
|
|
28
28
|
createLifecyclePlanSnapshot
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-3ZFX5456.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-65TAUWTC.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-Z4KZ4JTE.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-C67WJWVP.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") {
|
|
@@ -24263,6 +24266,7 @@ function executeInstallPlanMigration(input2) {
|
|
|
24263
24266
|
const projectHarnessConfig = input2.projectHarnessConfig ? planProjectHarnessIntegrationWrite({
|
|
24264
24267
|
targetDir: prepared.projectRoot,
|
|
24265
24268
|
reviewed: input2.projectHarnessConfig.reviewed,
|
|
24269
|
+
reviewedResourceProjection: input2.projectHarnessConfig.reviewedResourceProjection,
|
|
24266
24270
|
contentWhenMissing: input2.projectHarnessConfig.content
|
|
24267
24271
|
}) : void 0;
|
|
24268
24272
|
return executePreparedInstallPlanMigration({
|
|
@@ -25150,7 +25154,71 @@ var stateRecoverInput = external_exports.object({
|
|
|
25150
25154
|
operationId: external_exports.string().min(1),
|
|
25151
25155
|
mode: external_exports.enum(["resume", "rollback"])
|
|
25152
25156
|
}).strict();
|
|
25157
|
+
var checkoutMovePreviewInput = external_exports.object({
|
|
25158
|
+
targetRoot: external_exports.string().min(1).optional(),
|
|
25159
|
+
sourceCheckoutId: external_exports.string().min(1).optional()
|
|
25160
|
+
}).strict();
|
|
25161
|
+
var checkoutMoveApplyInput = external_exports.object({
|
|
25162
|
+
targetRoot: external_exports.string().min(1).optional(),
|
|
25163
|
+
sourceCheckoutId: external_exports.string().min(1),
|
|
25164
|
+
sourceRoot: external_exports.string().min(1),
|
|
25165
|
+
reviewDigest: external_exports.string().regex(/^[a-f0-9]{64}$/)
|
|
25166
|
+
}).strict();
|
|
25167
|
+
var checkoutRegisterApplyInput = external_exports.object({
|
|
25168
|
+
targetRoot: external_exports.string().min(1).optional(),
|
|
25169
|
+
reviewDigest: external_exports.string().regex(/^[a-f0-9]{64}$/)
|
|
25170
|
+
}).strict();
|
|
25153
25171
|
var projectOperations = [{
|
|
25172
|
+
id: "project.checkout-register.preview",
|
|
25173
|
+
mcp: { profiles: ["setup"], defaultExposure: "deferred" },
|
|
25174
|
+
summary: "Review a new checkout ID for an existing project without changing files or Store rows.",
|
|
25175
|
+
mutates: "read",
|
|
25176
|
+
access: STORE_READ_PROJECT_READ_ACCESS,
|
|
25177
|
+
status: "active",
|
|
25178
|
+
inputSchema: external_exports.object({ targetRoot: external_exports.string().min(1).optional() }).strict(),
|
|
25179
|
+
handler(rawInput, context) {
|
|
25180
|
+
const input2 = external_exports.object({ targetRoot: external_exports.string().min(1).optional() }).strict().parse(rawInput);
|
|
25181
|
+
return previewInstallationCheckoutMove(path10.resolve(input2.targetRoot ?? context.cwd), void 0, context.storeRoot);
|
|
25182
|
+
}
|
|
25183
|
+
}, {
|
|
25184
|
+
id: "project.checkout-register.apply",
|
|
25185
|
+
mcp: { profiles: ["setup"], defaultExposure: "deferred" },
|
|
25186
|
+
summary: "Register a distinct reviewed checkout ID for a managed project install.",
|
|
25187
|
+
mutates: "write",
|
|
25188
|
+
access: STORE_WRITE_PROJECT_WRITE_ACCESS,
|
|
25189
|
+
status: "active",
|
|
25190
|
+
inputSchema: checkoutRegisterApplyInput,
|
|
25191
|
+
handler(rawInput, context) {
|
|
25192
|
+
const input2 = checkoutRegisterApplyInput.parse(rawInput);
|
|
25193
|
+
if (context.dryRun) return previewInstallationCheckoutMove(path10.resolve(input2.targetRoot ?? context.cwd), void 0, context.storeRoot);
|
|
25194
|
+
return registerSeparateInstallationCheckout(path10.resolve(input2.targetRoot ?? context.cwd), input2.reviewDigest, context.storeRoot);
|
|
25195
|
+
}
|
|
25196
|
+
}, {
|
|
25197
|
+
id: "project.checkout-move.preview",
|
|
25198
|
+
mcp: { profiles: ["setup"], defaultExposure: "deferred" },
|
|
25199
|
+
summary: "Review saved checkout paths and target ownership without changing Store or project files.",
|
|
25200
|
+
mutates: "read",
|
|
25201
|
+
access: STORE_READ_PROJECT_READ_ACCESS,
|
|
25202
|
+
status: "active",
|
|
25203
|
+
inputSchema: checkoutMovePreviewInput,
|
|
25204
|
+
handler(rawInput, context) {
|
|
25205
|
+
const input2 = checkoutMovePreviewInput.parse(rawInput);
|
|
25206
|
+
return previewInstallationCheckoutMove(path10.resolve(input2.targetRoot ?? context.cwd), input2.sourceCheckoutId, context.storeRoot);
|
|
25207
|
+
}
|
|
25208
|
+
}, {
|
|
25209
|
+
id: "project.checkout-move.apply",
|
|
25210
|
+
mcp: { profiles: ["setup"], defaultExposure: "deferred" },
|
|
25211
|
+
summary: "Move one reviewed checkout binding in the Store. Project files stay unchanged.",
|
|
25212
|
+
mutates: "write",
|
|
25213
|
+
access: STORE_WRITE_PROJECT_READ_ACCESS,
|
|
25214
|
+
status: "active",
|
|
25215
|
+
inputSchema: checkoutMoveApplyInput,
|
|
25216
|
+
handler(rawInput, context) {
|
|
25217
|
+
const input2 = checkoutMoveApplyInput.parse(rawInput);
|
|
25218
|
+
if (context.dryRun) return previewInstallationCheckoutMove(path10.resolve(input2.targetRoot ?? context.cwd), input2.sourceCheckoutId, context.storeRoot);
|
|
25219
|
+
return applyInstallationCheckoutMove(path10.resolve(input2.targetRoot ?? context.cwd), input2.sourceCheckoutId, input2.sourceRoot, input2.reviewDigest, context.storeRoot);
|
|
25220
|
+
}
|
|
25221
|
+
}, {
|
|
25154
25222
|
id: "project.state.status",
|
|
25155
25223
|
mcp: { profiles: ["core", "setup"], defaultExposure: "eager" },
|
|
25156
25224
|
summary: "Read installation state and the next safe action from the global Store.",
|
|
@@ -29921,7 +29989,7 @@ var backlogReviewRefreshOperation = {
|
|
|
29921
29989
|
inputSchema: backlogReviewRefreshInputSchema,
|
|
29922
29990
|
mcpResultSchema: BacklogReviewRefreshPayloadV1Schema,
|
|
29923
29991
|
async handler(input2, context) {
|
|
29924
|
-
const { invokeOperation: invokeOperation2 } = await import("./registry-
|
|
29992
|
+
const { invokeOperation: invokeOperation2 } = await import("./registry-7L26WFZP.js");
|
|
29925
29993
|
const { envelope } = input2;
|
|
29926
29994
|
const targetRoot2 = envelope.report.snapshot.targetRoot;
|
|
29927
29995
|
let snapshot2;
|
|
@@ -30433,6 +30501,10 @@ var ADMITTED_OPERATION_IDS = [
|
|
|
30433
30501
|
"resource.ensure",
|
|
30434
30502
|
"project.state.status",
|
|
30435
30503
|
"project.state.recover",
|
|
30504
|
+
"project.checkout-move.preview",
|
|
30505
|
+
"project.checkout-move.apply",
|
|
30506
|
+
"project.checkout-register.preview",
|
|
30507
|
+
"project.checkout-register.apply",
|
|
30436
30508
|
"project.persona.list",
|
|
30437
30509
|
"project.layout.preview",
|
|
30438
30510
|
"project.layout.prepare",
|
|
@@ -30474,6 +30546,10 @@ var ADMITTED_CLI_PATHS = {
|
|
|
30474
30546
|
"resource.ensure": ["resource", "ensure"],
|
|
30475
30547
|
"project.state.status": ["project", "state status"],
|
|
30476
30548
|
"project.state.recover": ["project", "state recover"],
|
|
30549
|
+
"project.checkout-move.preview": ["project", "checkout-move preview"],
|
|
30550
|
+
"project.checkout-move.apply": ["project", "checkout-move apply"],
|
|
30551
|
+
"project.checkout-register.preview": ["project", "checkout-register preview"],
|
|
30552
|
+
"project.checkout-register.apply": ["project", "checkout-register apply"],
|
|
30477
30553
|
"project.persona.list": ["project", "persona list"],
|
|
30478
30554
|
"project.layout.preview": ["project", "layout preview"],
|
|
30479
30555
|
"project.layout.prepare": ["project", "layout prepare"],
|
|
@@ -30513,6 +30589,10 @@ var ADMITTED_CLI_USAGES = {
|
|
|
30513
30589
|
"project.layout.verify": "make-docs project layout verify <operation-id> [--target-root <path>] [--json]",
|
|
30514
30590
|
"project.state.status": "make-docs project state status [--json]",
|
|
30515
30591
|
"project.state.recover": "make-docs project state recover <operation-id> --resume|--rollback [--dry-run] [--json]",
|
|
30592
|
+
"project.checkout-move.preview": "make-docs project checkout-move preview [--source-checkout <id>] [--target-root <path>] [--json]",
|
|
30593
|
+
"project.checkout-move.apply": "make-docs project checkout-move apply --source-checkout <id> --source-root <path> --review <digest> [--target-root <path>] [--json]",
|
|
30594
|
+
"project.checkout-register.preview": "make-docs project checkout-register preview [--target-root <path>] [--json]",
|
|
30595
|
+
"project.checkout-register.apply": "make-docs project checkout-register apply --review <digest> [--target-root <path>] [--json]",
|
|
30516
30596
|
"resource.read": "make-docs resource read <uri>",
|
|
30517
30597
|
"resource.ensure": "make-docs resource ensure <uri>",
|
|
30518
30598
|
"project.surface.ensure": "make-docs project surface ensure <archive|artifacts|assets>",
|
|
@@ -30844,4 +30924,4 @@ export {
|
|
|
30844
30924
|
getInstallPlanMigrationReviewBlock,
|
|
30845
30925
|
executeStoreCheckpoint9Migration
|
|
30846
30926
|
};
|
|
30847
|
-
//# sourceMappingURL=chunk-
|
|
30927
|
+
//# sourceMappingURL=chunk-OSS4NT6N.js.map
|