@staff0rd/assist 0.1173.0 → 0.1174.0
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/allowed.cli-reads +1 -0
- package/dist/.build-files +111 -110
- package/dist/{add-AESVVBQN.js → add-DJIOVA6D.js} +2 -2
- package/dist/{addActivity-7BL2QCUP.js → addActivity-OHUAOTZJ.js} +1 -1
- package/dist/{addPhase-DKKE7JH6.js → addPhase-QBUAKLAH.js} +1 -1
- package/dist/allowed.cli-reads +1 -0
- package/dist/{askCheck-WXTZA77F.js → askCheck-QOHOUKV5.js} +1 -1
- package/dist/{associateGithub-ONWGQI42.js → associateGithub-22HCYIPE.js} +2 -2
- package/dist/{associateJira-AVUYIH27.js → associateJira-CKFL2WVK.js} +2 -2
- package/dist/built-version +1 -1
- package/dist/{chunk-OEGJ2WJL.js → chunk-7SVGJFVD.js} +1 -1
- package/dist/{chunk-PRYFYXI6.js → chunk-B5OH3FBF.js} +1 -1
- package/dist/{chunk-LQFSYNUE.js → chunk-CPVWOSRB.js} +1 -1
- package/dist/{chunk-NXQKAFP4.js → chunk-FQZ4IOOS.js} +3 -3
- package/dist/{chunk-RN6N5PBR.js → chunk-HRJOLMDC.js} +3 -3
- package/dist/{chunk-TH5IQEKH.js → chunk-INAKCGBI.js} +1 -1
- package/dist/{chunk-LTJELZEB.js → chunk-K2TCPPNP.js} +1 -1
- package/dist/{chunk-YBYFWF2Y.js → chunk-KRIL63SS.js} +1 -1
- package/dist/{chunk-YCR73USO.js → chunk-LXPWAFU3.js} +2 -2
- package/dist/{chunk-6MNOEMDU.js → chunk-LYIWEB54.js} +4 -4
- package/dist/{chunk-GP7S6QPQ.js → chunk-M76TSQGC.js} +1 -1
- package/dist/{chunk-AOTNNZPH.js → chunk-MQVG32S7.js} +1 -1
- package/dist/{chunk-YJ3SURWJ.js → chunk-MTXRBOLE.js} +22 -22
- package/dist/{chunk-BFJWW4V4.js → chunk-OKBM2D5T.js} +1 -1
- package/dist/{chunk-N2U7GIMU.js → chunk-P7MK3XNO.js} +1 -1
- package/dist/{chunk-SUHIUYLH.js → chunk-Q47NVZDO.js} +1 -1
- package/dist/{chunk-425LLTMS.js → chunk-QL5667J4.js} +17 -2
- package/dist/{chunk-IMEPUB7H.js → chunk-RGLGQLXR.js} +1 -1
- package/dist/{chunk-PIMHGLG4.js → chunk-RU3XNR2X.js} +1 -1
- package/dist/{chunk-3GXIMTGV.js → chunk-SKHIWOBT.js} +1 -1
- package/dist/{chunk-BAZSIPT5.js → chunk-T7XODF6O.js} +1 -1
- package/dist/{chunk-ZCGRZJ6Y.js → chunk-WEOBZ5OU.js} +1 -1
- package/dist/{chunk-PYZUB3JT.js → chunk-YSYPE3OC.js} +4 -2
- package/dist/{chunk-IMXR6FKH.js → chunk-Z4BPGJN6.js} +3 -8
- package/dist/{cliHook-LXPHXYTG.js → cliHook-WGVPO2HO.js} +3 -3
- package/dist/{codexHook-JHA7XAJI.js → codexHook-GHBHUWNP.js} +3 -3
- package/dist/commands/extension/extension/options.js +2 -1
- package/dist/commands/sessions/web/bundle.js +1 -1
- package/dist/{comment-EXMBXH3T.js → comment-2A4HGWSA.js} +1 -1
- package/dist/{comments-RCBCQYKH.js → comments-3TJ2INHR.js} +1 -1
- package/dist/{configGet-42P4ONFD.js → configGet-ETTRGSVM.js} +3 -3
- package/dist/{configList-CBYHO432.js → configList-MVWX2QHV.js} +2 -2
- package/dist/{configSet-QBZONRDW.js → configSet-QLHCEYEF.js} +13 -13
- package/dist/{del-NVWQX5OD.js → del-O4EGF3YH.js} +1 -1
- package/dist/{deleteCommentCmd-AUOGQD6L.js → deleteCommentCmd-FHGBYQO3.js} +1 -1
- package/dist/{docsConfirm-TJCYL5IL.js → docsConfirm-UI24PRYF.js} +2 -2
- package/dist/docsScreenshots-4ZRT7Z7Z.js +273 -0
- package/dist/{docsUnlock-7F2N6OZN.js → docsUnlock-XATVITTC.js} +1 -1
- package/dist/{doctorNodes-3YCIL6TK.js → doctorNodes-FCH7SQXI.js} +3 -3
- package/dist/{done-E72Z7ECB.js → done-G6LIRUJ4.js} +1 -1
- package/dist/{editHook-TIPNG6CB.js → editHook-KAS7F7FU.js} +3 -3
- package/dist/{fixConflict-7DJYV2PT.js → fixConflict-ERZSVDBB.js} +3 -3
- package/dist/{fixed-OTDA7M25.js → fixed-ELT3ARTP.js} +2 -2
- package/dist/{harnessFollowUps-JC2ZUX4L.js → harnessFollowUps-QYDL3J4V.js} +1 -1
- package/dist/index.js +124 -104
- package/dist/{launchMode-XWRRV34L.js → launchMode-SKGP5KT7.js} +4 -4
- package/dist/{link-5CWACWHB.js → link-J3CSPIZW.js} +1 -1
- package/dist/{list-IJS6P6DF.js → list-UTXVRPMK.js} +1 -1
- package/dist/{movePhase-4D2WZ5K6.js → movePhase-JWZRA4PD.js} +1 -1
- package/dist/{moveRepo-I3QC6UFW.js → moveRepo-UGD2BFQJ.js} +1 -1
- package/dist/{next-4RDKKAFD.js → next-AXMA7K4H.js} +3 -3
- package/dist/{phaseDone-L54W2FEQ.js → phaseDone-2PCPUWC6.js} +1 -1
- package/dist/{piHook-GCKOXN5A.js → piHook-C6NWS4FD.js} +3 -3
- package/dist/{plan-IQCMHN77.js → plan-URKRDEXQ.js} +1 -1
- package/dist/{propose-MXYXKAV3.js → propose-HLGQ4C42.js} +3 -3
- package/dist/{refine-36MDNT24.js → refine-TDSLPXS5.js} +6 -6
- package/dist/{refreshDocs-7JNTMR46.js → refreshDocs-XBE35WWG.js} +2 -2
- package/dist/{releasesConfigure-CLIC4ZJK.js → releasesConfigure-EP4OB7QT.js} +3 -3
- package/dist/{removePhase-BUCY4ROU.js → removePhase-LTGWR7I7.js} +2 -2
- package/dist/{restartNode-YKWRX6XV.js → restartNode-S4B6SVPV.js} +5 -5
- package/dist/{review-2IACQAAP.js → review-2DUXDOFN.js} +12 -12
- package/dist/{reviewPrComments-7VXADPBV.js → reviewPrComments-ZN7RNVF5.js} +3 -3
- package/dist/{rewindPhase-COPWFKMK.js → rewindPhase-BYYXTYYC.js} +2 -2
- package/dist/{rulesAdd-V4SWWQKL.js → rulesAdd-AFBC7LXO.js} +5 -5
- package/dist/{run-5LR5KWYE.js → run-DE67FAI3.js} +2 -2
- package/dist/{run-QBAQDALK.js → run-NOGXMHJI.js} +2 -2
- package/dist/{runDaemon-FL6QP4TG.js → runDaemon-RSSVIHXN.js} +3 -3
- package/dist/{runExtract-4IIID534.js → runExtract-6CGKPVES.js} +4 -4
- package/dist/{runRefine-HZ4NLV6A.js → runRefine-FDSHGAKF.js} +6 -6
- package/dist/{schemaConfirm-AB6SR5SC.js → schemaConfirm-QBDYM262.js} +2 -2
- package/dist/{schemaUnlock-AT5T43PB.js → schemaUnlock-3WGA7Z75.js} +1 -1
- package/dist/{search-DQ2UDIBW.js → search-W6AYM3WG.js} +1 -1
- package/dist/{setStatusCommand-54E3IJ72.js → setStatusCommand-ECL4KJHP.js} +1 -1
- package/dist/{show-QBR7REUE.js → show-TL7BQP45.js} +1 -1
- package/dist/{signExtension-2P6BBH5A.js → signExtension-GJU2FE24.js} +1 -1
- package/dist/{skip-PRE2V5HC.js → skip-GYNS4EGV.js} +3 -3
- package/dist/{star-UKT6KZF7.js → star-VH7BG5QT.js} +2 -2
- package/dist/{start-C3V6DREE.js → start-RFZSNISJ.js} +1 -1
- package/dist/{stop-3XVTF677.js → stop-SVZBBHSH.js} +1 -1
- package/dist/{unlink-WKYRZH76.js → unlink-XDXXQTFO.js} +1 -1
- package/dist/{unstar-FBZF3RJQ.js → unstar-6B7XPFZW.js} +2 -2
- package/dist/{update-64YJ4HRY.js → update-WTII3H43.js} +1 -1
- package/dist/{updateNode-DUCILZMA.js → updateNode-DJAPWNNF.js} +5 -5
- package/dist/{updatePhase-QNEA4YU2.js → updatePhase-ZTJHQKEA.js} +4 -4
- package/dist/{updatePlan-UJ76CTUM.js → updatePlan-K2KEFAUX.js} +2 -2
- package/dist/{web-6WD3D424.js → web-JI5MPRK3.js} +20 -20
- package/dist/{web-GXDVC3H6.js → web-QICJGPHC.js} +20 -20
- package/dist/{wontdo-NIR44VPG.js → wontdo-7OFCULW5.js} +1 -1
- package/dist/{wontfix-ASUD2OQM.js → wontfix-7KOACROO.js} +4 -4
- package/package.json +3 -8
- package/dist/{add-4IT4FODS.js → add-T4YUV6LT.js} +3 -3
- package/dist/{chunk-IV7Z4UVQ.js → chunk-B3A43VL7.js} +3 -3
- package/dist/{chunk-62GEKLQ6.js → chunk-DKBTWUXS.js} +3 -3
- package/dist/{chunk-3PESUAUN.js → chunk-ESVJOQAE.js} +10 -10
- package/dist/{chunk-5WQDLREX.js → chunk-O4MJMD64.js} +3 -3
- package/dist/{chunk-R2HLLDFE.js → chunk-RGOPWXPX.js} +3 -3
- package/dist/{chunk-4NMVLSNH.js → chunk-VAVO35LN.js} +3 -3
- package/dist/{chunk-GF4MNBOX.js → chunk-VVN4TAH6.js} +4 -4
- package/dist/{chunk-4WMCOPQR.js → chunk-YRN4U6HZ.js} +3 -3
- package/dist/{configImportUser-KJ2P5JL5.js → configImportUser-CLDPACCV.js} +4 -4
- package/dist/{configUnset-U4QVA7DY.js → configUnset-ER5T4LJB.js} +3 -3
- package/dist/{createIssue-IQJL3QO4.js → createIssue-RJGB4H3S.js} +1 -1
- package/dist/{editIssue-53DIWJIJ.js → editIssue-V4OZ6A37.js} +3 -3
- package/dist/{migrate-XZ562LTJ.js → migrate-5Y4JMNS4.js} +3 -3
- package/dist/{next-FAAUSQLC.js → next-TDJFWPS2.js} +7 -7
- package/dist/{repos-JP75ZTBU.js → repos-ZNNX7J2W.js} +3 -3
- package/dist/{sqlQuery-XCD5LQOS.js → sqlQuery-OAXPQJPY.js} +3 -3
- package/dist/{status-63OT6MGQ.js → status-TZS6UJX2.js} +3 -3
- package/dist/{version-4E3HWTDD.js → version-AVIXLJ2U.js} +3 -3
package/dist/index.js
CHANGED
|
@@ -6,18 +6,18 @@ import {
|
|
|
6
6
|
prConcisenessGuidance,
|
|
7
7
|
screenshotGuidance
|
|
8
8
|
} from "./chunk-6T53CG7D.js";
|
|
9
|
+
import {
|
|
10
|
+
scopeHelpText
|
|
11
|
+
} from "./chunk-TJGF3Z72.js";
|
|
9
12
|
import {
|
|
10
13
|
defaultTypeChain
|
|
11
14
|
} from "./chunk-XEJODD6D.js";
|
|
12
15
|
import {
|
|
13
16
|
minGhAttachVersion
|
|
14
17
|
} from "./chunk-B7B26YPF.js";
|
|
15
|
-
import {
|
|
16
|
-
scopeHelpText
|
|
17
|
-
} from "./chunk-TJGF3Z72.js";
|
|
18
18
|
import {
|
|
19
19
|
package_default
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-Z4BPGJN6.js";
|
|
21
21
|
import {
|
|
22
22
|
adviceConfigHelp,
|
|
23
23
|
askQuestionConfigHelp,
|
|
@@ -92,7 +92,7 @@ import { Command } from "commander";
|
|
|
92
92
|
// src/commands/registerRootAction.ts
|
|
93
93
|
function registerRootAction(program) {
|
|
94
94
|
program.option("--no-open", "Do not open a browser on startup").action(
|
|
95
|
-
async (options) => (await import("./web-
|
|
95
|
+
async (options) => (await import("./web-JI5MPRK3.js")).web({
|
|
96
96
|
port: "3100",
|
|
97
97
|
open: options.open
|
|
98
98
|
})
|
|
@@ -170,7 +170,7 @@ function registerAskCheck(program) {
|
|
|
170
170
|
).option(
|
|
171
171
|
"--check <n>",
|
|
172
172
|
"1-based index of the current backlog phase's manual check this covers; lets the user move it to a later phase"
|
|
173
|
-
).action(lazyAction(() => import("./askCheck-
|
|
173
|
+
).action(lazyAction(() => import("./askCheck-QOHOUKV5.js"), "askCheck")),
|
|
174
174
|
askQuestionConfigHelp
|
|
175
175
|
),
|
|
176
176
|
"Claude when asking the user to test a change"
|
|
@@ -273,7 +273,7 @@ function registerActivityCommands(cmd) {
|
|
|
273
273
|
internalCommand(
|
|
274
274
|
cmd.command("add-activity <id> <kind> <ref>").description(
|
|
275
275
|
"Attach an activity ref (branch|commit|pr|slack|session|design) to a backlog item"
|
|
276
|
-
).option("--title <title>", "Title metadata for the ref").option("--url <url>", "URL metadata (auto-filled for branch/commit)").option("--state <state>", "State metadata for the ref").action(lazyAction(() => import("./addActivity-
|
|
276
|
+
).option("--title <title>", "Title metadata for the ref").option("--url <url>", "URL metadata (auto-filled for branch/commit)").option("--state <state>", "State metadata for the ref").action(lazyAction(() => import("./addActivity-OHUAOTZJ.js"), "addActivity")),
|
|
277
277
|
"/draft and /bug"
|
|
278
278
|
);
|
|
279
279
|
internalCommand(
|
|
@@ -286,12 +286,12 @@ function registerActivityCommands(cmd) {
|
|
|
286
286
|
|
|
287
287
|
// src/commands/backlog/registerAssociateGithubCommand.ts
|
|
288
288
|
function registerAssociateGithubCommand(cmd) {
|
|
289
|
-
cmd.command("associate-github <id> [issue]").description("Associate a GitHub issue with a backlog item").option("--clear", "Remove the GitHub association from the item").action(lazyAction(() => import("./associateGithub-
|
|
289
|
+
cmd.command("associate-github <id> [issue]").description("Associate a GitHub issue with a backlog item").option("--clear", "Remove the GitHub association from the item").action(lazyAction(() => import("./associateGithub-22HCYIPE.js"), "associateGithub"));
|
|
290
290
|
}
|
|
291
291
|
|
|
292
292
|
// src/commands/backlog/registerAssociateJiraCommand.ts
|
|
293
293
|
function registerAssociateJiraCommand(cmd) {
|
|
294
|
-
cmd.command("associate-jira <id> [key]").description("Associate a Jira ticket with a backlog item").option("--clear", "Remove the Jira association from the item").action(lazyAction(() => import("./associateJira-
|
|
294
|
+
cmd.command("associate-jira <id> [key]").description("Associate a Jira ticket with a backlog item").option("--clear", "Remove the Jira association from the item").action(lazyAction(() => import("./associateJira-CKFL2WVK.js"), "associateJira"));
|
|
295
295
|
}
|
|
296
296
|
|
|
297
297
|
// src/commands/backlog/registerCloneCommand.ts
|
|
@@ -306,11 +306,11 @@ function registerCloneCommand(cmd) {
|
|
|
306
306
|
// src/commands/backlog/registerCommentCommands.ts
|
|
307
307
|
function registerCommentCommands(cmd) {
|
|
308
308
|
internalCommand(
|
|
309
|
-
cmd.command("comment <id> <text>").description("Add a comment to a backlog item").action(lazyAction(() => import("./comment-
|
|
309
|
+
cmd.command("comment <id> <text>").description("Add a comment to a backlog item").action(lazyAction(() => import("./comment-2A4HGWSA.js"), "comment")),
|
|
310
310
|
"backlog run phases and /refine"
|
|
311
311
|
);
|
|
312
|
-
cmd.command("comments <id>").description("List comments and summaries for a backlog item").action(lazyAction(() => import("./comments-
|
|
313
|
-
cmd.command("delete-comment <id> <comment-id>").description("Delete a comment from a backlog item").action(lazyAction(() => import("./deleteCommentCmd-
|
|
312
|
+
cmd.command("comments <id>").description("List comments and summaries for a backlog item").action(lazyAction(() => import("./comments-3TJ2INHR.js"), "comments"));
|
|
313
|
+
cmd.command("delete-comment <id> <comment-id>").description("Delete a comment from a backlog item").action(lazyAction(() => import("./deleteCommentCmd-FHGBYQO3.js"), "deleteCommentCmd"));
|
|
314
314
|
}
|
|
315
315
|
|
|
316
316
|
// src/commands/backlog/registerExportCommand.ts
|
|
@@ -350,7 +350,7 @@ function registerProposeCommand(cmd) {
|
|
|
350
350
|
"--confirmed",
|
|
351
351
|
"Create the item after its draft has been reviewed in chat (agent use outside a web session)"
|
|
352
352
|
).addHelpText("after", `
|
|
353
|
-
${proposeHelpText}`).action(lazyAction(() => import("./propose-
|
|
353
|
+
${proposeHelpText}`).action(lazyAction(() => import("./propose-HLGQ4C42.js"), "propose")),
|
|
354
354
|
"/draft and /bug"
|
|
355
355
|
);
|
|
356
356
|
}
|
|
@@ -360,11 +360,11 @@ function registerItemCommands(cmd) {
|
|
|
360
360
|
cmd.command("list").alias("ls").description("List all backlog items").option(
|
|
361
361
|
"--status <type>",
|
|
362
362
|
"Filter by status (todo, in-progress, done, wontdo)"
|
|
363
|
-
).option("-a, --all", "Include done/wontdo items").option("--all-repos", "List items across all repositories").option("-v, --verbose", "Show all item details").action(lazyAction(() => import("./list-
|
|
363
|
+
).option("-a, --all", "Include done/wontdo items").option("--all-repos", "List items across all repositories").option("-v, --verbose", "Show all item details").action(lazyAction(() => import("./list-UTXVRPMK.js"), "list"));
|
|
364
364
|
cmd.command("add").description("Add a new backlog item").option("--name <name>", "Item name").option("--type <type>", "Item type (story or bug)").option(
|
|
365
365
|
"--desc <description>",
|
|
366
366
|
String.raw`Item description (Markdown supported; use \n for line breaks)`
|
|
367
|
-
).option("--ac <criterion...>", "Acceptance criteria (repeatable)").action(lazyAction(() => import("./add-
|
|
367
|
+
).option("--ac <criterion...>", "Acceptance criteria (repeatable)").action(lazyAction(() => import("./add-DJIOVA6D.js"), "add"));
|
|
368
368
|
registerProposeCommand(cmd);
|
|
369
369
|
cmd.command("add-phase <id> <name>").description("Add a phase to an existing backlog item").option("--task <task...>", "Task description (repeatable)").option(
|
|
370
370
|
"--manual-check <check...>",
|
|
@@ -372,7 +372,7 @@ function registerItemCommands(cmd) {
|
|
|
372
372
|
).option(
|
|
373
373
|
"--position <position>",
|
|
374
374
|
"1-indexed position to insert at (default: append)"
|
|
375
|
-
).action(lazyAction(() => import("./addPhase-
|
|
375
|
+
).action(lazyAction(() => import("./addPhase-QBUAKLAH.js"), "addPhase"));
|
|
376
376
|
}
|
|
377
377
|
|
|
378
378
|
// src/commands/backlog/registerLinkCommands.ts
|
|
@@ -381,8 +381,8 @@ function registerLinkCommands(cmd) {
|
|
|
381
381
|
"--type <type>",
|
|
382
382
|
"Link type (relates-to or depends-on)",
|
|
383
383
|
"relates-to"
|
|
384
|
-
).action(lazyAction(() => import("./link-
|
|
385
|
-
cmd.command("unlink <from> <to>").description("Remove a link between two backlog items").action(lazyAction(() => import("./unlink-
|
|
384
|
+
).action(lazyAction(() => import("./link-J3CSPIZW.js"), "link"));
|
|
385
|
+
cmd.command("unlink <from> <to>").description("Remove a link between two backlog items").action(lazyAction(() => import("./unlink-XDXXQTFO.js"), "unlink"));
|
|
386
386
|
}
|
|
387
387
|
|
|
388
388
|
// src/commands/backlog/registerMoveRepoCommand.ts
|
|
@@ -390,14 +390,14 @@ function registerMoveRepoCommand(cmd) {
|
|
|
390
390
|
cmd.command("move-repo <old-origin> [new-origin]").description(
|
|
391
391
|
"Retag all items from one origin to another after a repo rename (new origin defaults to the current repo's remote)"
|
|
392
392
|
).option("-y, --yes", "Skip the confirmation prompt").action(
|
|
393
|
-
async (oldOrigin, newOrigin, options) => (await import("./moveRepo-
|
|
393
|
+
async (oldOrigin, newOrigin, options) => (await import("./moveRepo-UGD2BFQJ.js")).moveRepo(oldOrigin, newOrigin, options)
|
|
394
394
|
);
|
|
395
395
|
}
|
|
396
396
|
|
|
397
397
|
// src/commands/backlog/registerNextCommand.ts
|
|
398
398
|
function registerNextCommand(cmd) {
|
|
399
399
|
cmd.command("next").argument("[id]", "Backlog item ID to run first").description("Pick and run the next backlog item, or open /draft if none").option("-w, --write", "Run Claude with auto permission mode (default)").option("--no-write", "Run Claude without auto permission mode").option("--once", "Exit after the first completed item run").action(
|
|
400
|
-
async (id, opts) => (await import("./next-
|
|
400
|
+
async (id, opts) => (await import("./next-AXMA7K4H.js")).next(
|
|
401
401
|
{ allowEdits: opts.write !== false, once: opts.once },
|
|
402
402
|
id
|
|
403
403
|
)
|
|
@@ -406,9 +406,9 @@ function registerNextCommand(cmd) {
|
|
|
406
406
|
|
|
407
407
|
// src/commands/backlog/registerPlanCommands.ts
|
|
408
408
|
function registerPlanCommands(cmd) {
|
|
409
|
-
cmd.command("plan <id>").description("Display the plan for a backlog item").action(lazyAction(() => import("./plan-
|
|
409
|
+
cmd.command("plan <id>").description("Display the plan for a backlog item").action(lazyAction(() => import("./plan-URKRDEXQ.js"), "plan"));
|
|
410
410
|
internalCommand(
|
|
411
|
-
cmd.command("phase-done <id> <phase> <summary>").description("Signal that a plan phase is complete").action(lazyAction(() => import("./phaseDone-
|
|
411
|
+
cmd.command("phase-done <id> <phase> <summary>").description("Signal that a plan phase is complete").action(lazyAction(() => import("./phaseDone-2PCPUWC6.js"), "phaseDone")),
|
|
412
412
|
"the agent running each phase of a backlog run"
|
|
413
413
|
);
|
|
414
414
|
}
|
|
@@ -420,7 +420,7 @@ function registerRefineCommand(cmd) {
|
|
|
420
420
|
"Coding harness to launch (claude|codex|pi); defaults to the configured harness.engine. Exits with the reasons, without launching, when Refine is unavailable on it"
|
|
421
421
|
).action(
|
|
422
422
|
async (id, opts) => {
|
|
423
|
-
const { refine: backlogRefine } = await import("./refine-
|
|
423
|
+
const { refine: backlogRefine } = await import("./refine-TDSLPXS5.js");
|
|
424
424
|
const { resolveHarness } = await import("./resolveHarness-Q6HQK2IZ.js");
|
|
425
425
|
return backlogRefine(id, {
|
|
426
426
|
once: opts.once,
|
|
@@ -430,16 +430,36 @@ function registerRefineCommand(cmd) {
|
|
|
430
430
|
);
|
|
431
431
|
}
|
|
432
432
|
|
|
433
|
+
// src/commands/backlog/registerDocsScreenshotsCommand.ts
|
|
434
|
+
function collect(value, previous = []) {
|
|
435
|
+
return [...previous, value];
|
|
436
|
+
}
|
|
437
|
+
function registerDocsScreenshotsCommand(cmd) {
|
|
438
|
+
cmd.command("docs-screenshots <refresh-id>").description(
|
|
439
|
+
"List a Refresh docs item's covered stories whose commits changed UI files (.tsx, .jsx, .css, .html, .swift, .vue, .svelte), each with those files; exits non-zero until every one is mapped with --story to a screenshot declared on a docs page whose PNG is added or changed in the working tree"
|
|
440
|
+
).option(
|
|
441
|
+
"--story <id=file.png>",
|
|
442
|
+
"Map a UI story to the screenshot that documents it (repeatable)",
|
|
443
|
+
collect
|
|
444
|
+
).action(
|
|
445
|
+
lazyAction(
|
|
446
|
+
() => import("./docsScreenshots-4ZRT7Z7Z.js"),
|
|
447
|
+
"docsScreenshots"
|
|
448
|
+
)
|
|
449
|
+
);
|
|
450
|
+
}
|
|
451
|
+
|
|
433
452
|
// src/commands/backlog/registerRefreshDocsCommand.ts
|
|
434
453
|
function registerRefreshDocsCommand(cmd) {
|
|
435
454
|
cmd.command("refresh-docs").description(
|
|
436
455
|
"Create a Refresh docs item now for every done story not yet swept, without waiting for docs.refreshAfter (refused when docs.refreshAfter is unset: Refresh docs is off)"
|
|
437
|
-
).action(lazyAction(() => import("./refreshDocs-
|
|
456
|
+
).action(lazyAction(() => import("./refreshDocs-XBE35WWG.js"), "refreshDocs"));
|
|
457
|
+
registerDocsScreenshotsCommand(cmd);
|
|
438
458
|
}
|
|
439
459
|
|
|
440
460
|
// src/commands/backlog/registerRewindCommand.ts
|
|
441
461
|
function registerRewindCommand(cmd) {
|
|
442
|
-
cmd.command("rewind <id> <phase>").description("Rewind a backlog item to an earlier phase").requiredOption("--reason <reason>", "Reason for rewinding").action(lazyAction(() => import("./rewindPhase-
|
|
462
|
+
cmd.command("rewind <id> <phase>").description("Rewind a backlog item to an earlier phase").requiredOption("--reason <reason>", "Reason for rewinding").action(lazyAction(() => import("./rewindPhase-BYYXTYYC.js"), "rewindPhase"));
|
|
443
463
|
}
|
|
444
464
|
|
|
445
465
|
// src/commands/backlog/registerRunCommand.ts
|
|
@@ -458,7 +478,7 @@ function registerRunCommand(cmd) {
|
|
|
458
478
|
const { pullIfConfigured } = await import("./pullIfConfigured-V2H6IFDQ.js");
|
|
459
479
|
const { resolveHarness } = await import("./resolveHarness-Q6HQK2IZ.js");
|
|
460
480
|
const { resolveModel } = await import("./resolveModel-EPG2YC5Q.js");
|
|
461
|
-
const { run: backlogRun } = await import("./run-
|
|
481
|
+
const { run: backlogRun } = await import("./run-NOGXMHJI.js");
|
|
462
482
|
if (!opts.resumeSession) await pullIfConfigured();
|
|
463
483
|
const harness = resolveHarness(opts.harness, "run");
|
|
464
484
|
await backlogRun(id, {
|
|
@@ -474,44 +494,44 @@ function registerRunCommand(cmd) {
|
|
|
474
494
|
|
|
475
495
|
// src/commands/backlog/registerSearchCommand.ts
|
|
476
496
|
function registerSearchCommand(cmd) {
|
|
477
|
-
cmd.command("search <query>").description("Search backlog items by keyword").action(lazyAction(() => import("./search-
|
|
497
|
+
cmd.command("search <query>").description("Search backlog items by keyword").action(lazyAction(() => import("./search-W6AYM3WG.js"), "search"));
|
|
478
498
|
}
|
|
479
499
|
|
|
480
500
|
// src/commands/backlog/registerStatusCommands.ts
|
|
481
501
|
function registerStatusCommands(cmd) {
|
|
482
|
-
cmd.command("start <id>").description("Set a backlog item to in-progress").action(lazyAction(() => import("./start-
|
|
483
|
-
cmd.command("stop").description("Revert all in-progress backlog items to todo").action(lazyAction(() => import("./stop-
|
|
502
|
+
cmd.command("start <id>").description("Set a backlog item to in-progress").action(lazyAction(() => import("./start-RFZSNISJ.js"), "start"));
|
|
503
|
+
cmd.command("stop").description("Revert all in-progress backlog items to todo").action(lazyAction(() => import("./stop-SVZBBHSH.js"), "stop"));
|
|
484
504
|
internalCommand(
|
|
485
|
-
cmd.command("done <id> [summary]").description("Set a backlog item to done").action(lazyAction(() => import("./done-
|
|
505
|
+
cmd.command("done <id> [summary]").description("Set a backlog item to done").action(lazyAction(() => import("./done-G6LIRUJ4.js"), "done")),
|
|
486
506
|
"the review phase of a backlog run"
|
|
487
507
|
);
|
|
488
|
-
cmd.command("wontdo <id> [reason]").description("Set a backlog item to won't do").action(lazyAction(() => import("./wontdo-
|
|
508
|
+
cmd.command("wontdo <id> [reason]").description("Set a backlog item to won't do").action(lazyAction(() => import("./wontdo-7OFCULW5.js"), "wontdo"));
|
|
489
509
|
cmd.command("set-status <id> <status>").description(
|
|
490
510
|
"Set a backlog item to a specific status (todo, in-progress, done, wontdo)"
|
|
491
|
-
).action(lazyAction(() => import("./setStatusCommand-
|
|
492
|
-
cmd.command("star <id>").description("Star a backlog item to pin it in the web view").action(lazyAction(() => import("./star-
|
|
493
|
-
cmd.command("unstar <id>").description("Remove the star from a backlog item").action(lazyAction(() => import("./unstar-
|
|
494
|
-
cmd.command("delete <id>").alias("remove").description("Delete a backlog item").action(lazyAction(() => import("./del-
|
|
511
|
+
).action(lazyAction(() => import("./setStatusCommand-ECL4KJHP.js"), "setStatusCommand"));
|
|
512
|
+
cmd.command("star <id>").description("Star a backlog item to pin it in the web view").action(lazyAction(() => import("./star-VH7BG5QT.js"), "star"));
|
|
513
|
+
cmd.command("unstar <id>").description("Remove the star from a backlog item").action(lazyAction(() => import("./unstar-6B7XPFZW.js"), "unstar"));
|
|
514
|
+
cmd.command("delete <id>").alias("remove").description("Delete a backlog item").action(lazyAction(() => import("./del-O4EGF3YH.js"), "del"));
|
|
495
515
|
}
|
|
496
516
|
|
|
497
517
|
// src/commands/backlog/registerUpdatePhaseCommand.ts
|
|
498
|
-
function
|
|
518
|
+
function collect2(value, previous) {
|
|
499
519
|
return [...previous, value];
|
|
500
520
|
}
|
|
501
521
|
function registerUpdatePhaseCommand(cmd) {
|
|
502
|
-
cmd.command("update-phase <id> <phase>").alias("edit-phase").description("Modify a plan phase on a backlog item").option("--name <name>", "New phase name").option("--task <task...>", "Replace tasks (repeatable)").option("--manual-check <check...>", "Replace manual checks (repeatable)").option("--add-task <text>", "Append one task (repeatable)",
|
|
522
|
+
cmd.command("update-phase <id> <phase>").alias("edit-phase").description("Modify a plan phase on a backlog item").option("--name <name>", "New phase name").option("--task <task...>", "Replace tasks (repeatable)").option("--manual-check <check...>", "Replace manual checks (repeatable)").option("--add-task <text>", "Append one task (repeatable)", collect2, []).option("--edit-task <n> <text...>", "Replace task n (1-based) in place").option("--remove-task <n>", "Remove task n (1-based)").option(
|
|
503
523
|
"--add-check <text>",
|
|
504
524
|
"Append one manual check (repeatable)",
|
|
505
|
-
|
|
525
|
+
collect2,
|
|
506
526
|
[]
|
|
507
527
|
).option(
|
|
508
528
|
"--edit-check <n> <text...>",
|
|
509
529
|
"Replace manual check n (1-based) in place"
|
|
510
|
-
).option("--remove-check <n>", "Remove manual check n (1-based)").action(lazyAction(() => import("./updatePhase-
|
|
530
|
+
).option("--remove-check <n>", "Remove manual check n (1-based)").action(lazyAction(() => import("./updatePhase-ZTJHQKEA.js"), "updatePhase"));
|
|
511
531
|
}
|
|
512
532
|
|
|
513
533
|
// src/commands/backlog/registerUpdateFieldCommand.ts
|
|
514
|
-
function
|
|
534
|
+
function collect3(value, previous) {
|
|
515
535
|
return [...previous, value];
|
|
516
536
|
}
|
|
517
537
|
function registerUpdateFieldCommand(cmd) {
|
|
@@ -522,7 +542,7 @@ function registerUpdateFieldCommand(cmd) {
|
|
|
522
542
|
).option("--type <type>", "New type (story or bug)").option("--ac <criterion...>", "Replace acceptance criteria (repeatable)").option(
|
|
523
543
|
"--add-ac <text>",
|
|
524
544
|
"Append one acceptance criterion (repeatable)",
|
|
525
|
-
|
|
545
|
+
collect3,
|
|
526
546
|
[]
|
|
527
547
|
).option(
|
|
528
548
|
"--edit-ac <n> <text...>",
|
|
@@ -530,7 +550,7 @@ function registerUpdateFieldCommand(cmd) {
|
|
|
530
550
|
).option("--remove-ac <n>", "Remove acceptance criterion n (1-based)").option(
|
|
531
551
|
"--origin [origin]",
|
|
532
552
|
"Retag the item to a different repo (origin URL or key, normalized); with no value, retags to the current repo's origin"
|
|
533
|
-
).action(lazyAction(() => import("./update-
|
|
553
|
+
).action(lazyAction(() => import("./update-WTII3H43.js"), "update")),
|
|
534
554
|
"/refine"
|
|
535
555
|
);
|
|
536
556
|
}
|
|
@@ -539,19 +559,19 @@ function registerUpdateFieldCommand(cmd) {
|
|
|
539
559
|
function registerUpdateCommands(cmd) {
|
|
540
560
|
registerUpdateFieldCommand(cmd);
|
|
541
561
|
registerUpdatePhaseCommand(cmd);
|
|
542
|
-
cmd.command("remove-phase <id> <phase>").description("Remove a plan phase from a backlog item").action(lazyAction(() => import("./removePhase-
|
|
562
|
+
cmd.command("remove-phase <id> <phase>").description("Remove a plan phase from a backlog item").action(lazyAction(() => import("./removePhase-LTGWR7I7.js"), "removePhase"));
|
|
543
563
|
internalCommand(
|
|
544
564
|
cmd.command("update-plan <id>").description(
|
|
545
565
|
"Replace an item's whole plan from a JSON payload, previewed and applied in one approval"
|
|
546
566
|
).requiredOption(
|
|
547
567
|
"--json <file|->",
|
|
548
568
|
"Path to a JSON payload of { phases: [{ name, tasks, manualChecks }] }, or - to read it from stdin"
|
|
549
|
-
).action(lazyAction(() => import("./updatePlan-
|
|
569
|
+
).action(lazyAction(() => import("./updatePlan-K2KEFAUX.js"), "updatePlan")),
|
|
550
570
|
"/refine"
|
|
551
571
|
);
|
|
552
572
|
cmd.command("move-phase <id> <from> <to>").description(
|
|
553
573
|
"Reorder a plan phase from one 1-based position to another, moving its tasks with it"
|
|
554
|
-
).action(lazyAction(() => import("./movePhase-
|
|
574
|
+
).action(lazyAction(() => import("./movePhase-JWZRA4PD.js"), "movePhase"));
|
|
555
575
|
}
|
|
556
576
|
|
|
557
577
|
// src/commands/backlog/registerShowCommands.ts
|
|
@@ -559,12 +579,12 @@ function registerShowCommands(cmd) {
|
|
|
559
579
|
cmd.command("show <id>").alias("view").description("Show full detail for a backlog item").option(
|
|
560
580
|
"--all-commits",
|
|
561
581
|
"Show every commit in Activity instead of the newest 10"
|
|
562
|
-
).action(lazyAction(() => import("./show-
|
|
582
|
+
).action(lazyAction(() => import("./show-TL7BQP45.js"), "show"));
|
|
563
583
|
}
|
|
564
584
|
|
|
565
585
|
// src/commands/registerBacklog.ts
|
|
566
586
|
function registerWebCommand(cmd) {
|
|
567
|
-
cmd.command("web").description("Open the backlog tab in the web dashboard").option("-p, --port <number>", "Port to listen on", "3100").option("--no-open", "Do not open a browser on startup").action(lazyAction(() => import("./web-
|
|
587
|
+
cmd.command("web").description("Open the backlog tab in the web dashboard").option("-p, --port <number>", "Port to listen on", "3100").option("--no-open", "Do not open a browser on startup").action(lazyAction(() => import("./web-QICJGPHC.js"), "web"));
|
|
568
588
|
}
|
|
569
589
|
var registrars = [
|
|
570
590
|
registerItemCommands,
|
|
@@ -594,7 +614,7 @@ function registerBacklog(program) {
|
|
|
594
614
|
const { setBacklogDir } = await import("./getBacklogDir-AVGEKM42.js");
|
|
595
615
|
setBacklogDir(thisCommand.opts().dir);
|
|
596
616
|
}).action(
|
|
597
|
-
async (options) => (await import("./web-
|
|
617
|
+
async (options) => (await import("./web-QICJGPHC.js")).web({ port: "3100", open: options.open })
|
|
598
618
|
);
|
|
599
619
|
for (const register of registrars) {
|
|
600
620
|
register(cmd);
|
|
@@ -633,7 +653,7 @@ function registerDeny(parent) {
|
|
|
633
653
|
// src/commands/registerCliHook.ts
|
|
634
654
|
function registerCliHook(program) {
|
|
635
655
|
const cmd = program.command("cli-hook").description("PreToolUse hook for auto-approving read-only CLI commands").action(async () => {
|
|
636
|
-
const { cliHook } = await import("./cliHook-
|
|
656
|
+
const { cliHook } = await import("./cliHook-WGVPO2HO.js");
|
|
637
657
|
cliHook();
|
|
638
658
|
});
|
|
639
659
|
internalCommand(cmd, "the PreToolUse hook on shell commands and reads");
|
|
@@ -690,7 +710,7 @@ function registerCodexHook(program) {
|
|
|
690
710
|
internalCommand(
|
|
691
711
|
program.command("codex-hook").description(
|
|
692
712
|
"Codex hook: auto-approves read-only CLI commands (PreToolUse/PermissionRequest) and reports session status (running/waiting) to the sessions daemon"
|
|
693
|
-
).action(lazyAction(() => import("./codexHook-
|
|
713
|
+
).action(lazyAction(() => import("./codexHook-GHBHUWNP.js"), "codexHook")),
|
|
694
714
|
"Codex's hooks"
|
|
695
715
|
);
|
|
696
716
|
internalCommand(
|
|
@@ -762,13 +782,13 @@ function registerConfigWrites(configCommand) {
|
|
|
762
782
|
).option("--node", "Write to user (node): this node's ~/.assist.yml").option(
|
|
763
783
|
"-u, --user",
|
|
764
784
|
"Write to user (db): the shared db, applied to every repo on every node"
|
|
765
|
-
).action(lazyAction(() => import("./configSet-
|
|
785
|
+
).action(lazyAction(() => import("./configSet-QLHCEYEF.js"), "configSet"));
|
|
766
786
|
configCommand.command("unset [key]").description(
|
|
767
787
|
"Remove a config value (e.g. commit.push); with no scope flag it removes it from repo (git), this repo's assist.yml"
|
|
768
788
|
).option(
|
|
769
789
|
"-r, --repo [name]",
|
|
770
790
|
"Remove from repo (db): a repo's override in the shared db (defaults to the current repo)"
|
|
771
|
-
).option("--node", "Remove from user (node): this node's ~/.assist.yml").option("-u, --user", "Remove from user (db) in the shared db").action(lazyAction(() => import("./configUnset-
|
|
791
|
+
).option("--node", "Remove from user (node): this node's ~/.assist.yml").option("-u, --user", "Remove from user (db) in the shared db").action(lazyAction(() => import("./configUnset-ER5T4LJB.js"), "configUnset"));
|
|
772
792
|
}
|
|
773
793
|
|
|
774
794
|
// src/commands/registerConfig.ts
|
|
@@ -790,12 +810,12 @@ function registerConfig(program) {
|
|
|
790
810
|
configCommand.command("import-user [keys...]").description(
|
|
791
811
|
"Move keys (default advice.rules) from this node's ~/.assist.yml into user (db), the shared db applied to every repo on every node, showing a diff and asking first. Array keys append the entries user (db) lacks"
|
|
792
812
|
).action(
|
|
793
|
-
async (keys) => (await import("./configImportUser-
|
|
813
|
+
async (keys) => (await import("./configImportUser-CLDPACCV.js")).configImportUser(keys)
|
|
794
814
|
);
|
|
795
|
-
configCommand.command("get <key>").description("Get a config value (secrets print as <hidden>)").option("--reveal", "Print the raw value of a secret, undecorated").action(lazyAction(() => import("./configGet-
|
|
815
|
+
configCommand.command("get <key>").description("Get a config value (secrets print as <hidden>)").option("--reveal", "Print the raw value of a secret, undecorated").action(lazyAction(() => import("./configGet-ETTRGSVM.js"), "configGet"));
|
|
796
816
|
configCommand.command("list").description(
|
|
797
817
|
"List the config values that are set (secrets print as <hidden>); see 'config keys' for every key"
|
|
798
|
-
).action(lazyAction(() => import("./configList-
|
|
818
|
+
).action(lazyAction(() => import("./configList-MVWX2QHV.js"), "configList"));
|
|
799
819
|
configCommand.command("keys [filter]").description(
|
|
800
820
|
"List every config key with its default, note and setter (filter narrows by key substring)"
|
|
801
821
|
).action(lazyAction(() => import("./configKeys-HFGEHZBT.js"), "configKeys"));
|
|
@@ -907,7 +927,7 @@ function registerExtension(program) {
|
|
|
907
927
|
).action(async (options) => {
|
|
908
928
|
const { extension } = await import("./extension-YYRD5EM6.js");
|
|
909
929
|
const { printExtensionUrl } = await import("./printExtensionUrl-IW2WTSNS.js");
|
|
910
|
-
const { signExtension } = await import("./signExtension-
|
|
930
|
+
const { signExtension } = await import("./signExtension-GJU2FE24.js");
|
|
911
931
|
if (options.url) return printExtensionUrl();
|
|
912
932
|
return options.sign ? signExtension() : extension();
|
|
913
933
|
});
|
|
@@ -918,10 +938,10 @@ function registerDb(program) {
|
|
|
918
938
|
const db = program.command("db").description("Inspect and apply the backlog database migrations");
|
|
919
939
|
db.command("migrate").description(
|
|
920
940
|
`Apply pending migrations in order (build ships up to migration ${latestMigrationId})`
|
|
921
|
-
).action(lazyAction(() => import("./migrate-
|
|
941
|
+
).action(lazyAction(() => import("./migrate-5Y4JMNS4.js"), "migrate"));
|
|
922
942
|
db.command("status").description(
|
|
923
943
|
"Report whether the database is in sync, behind, or ahead of this build"
|
|
924
|
-
).action(lazyAction(() => import("./status-
|
|
944
|
+
).action(lazyAction(() => import("./status-TZS6UJX2.js"), "status"));
|
|
925
945
|
db.command("drop-retired").description(
|
|
926
946
|
"Drop retired tables left by removed features, after confirming each"
|
|
927
947
|
).action(async () => {
|
|
@@ -942,10 +962,10 @@ function registerDeploy(program) {
|
|
|
942
962
|
function registerDevlogEntryCommands(devlogCommand) {
|
|
943
963
|
devlogCommand.command("next").description(
|
|
944
964
|
"Show commits for the next completed ISO week after the last dev entry"
|
|
945
|
-
).option("-v, --verbose", "Show file names for each commit").action(lazyAction(() => import("./next-
|
|
965
|
+
).option("-v, --verbose", "Show file names for each commit").action(lazyAction(() => import("./next-TDJFWPS2.js"), "next"));
|
|
946
966
|
devlogCommand.command("skip <week>").description(
|
|
947
967
|
"Add an ISO week (YYYY-Www) to this repo's repo (db) devlog.skipWeeks"
|
|
948
|
-
).action(async (week) => (await import("./skip-
|
|
968
|
+
).action(async (week) => (await import("./skip-GYNS4EGV.js")).skip(week));
|
|
949
969
|
internalCommand(
|
|
950
970
|
devlogCommand.command("write").description(
|
|
951
971
|
"Write a dev entry from JSON on stdin (week, title, versions, aiGenerated, added/changed/fixed, lede)"
|
|
@@ -978,13 +998,13 @@ function registerDevlog(program) {
|
|
|
978
998
|
"--since <date|week>",
|
|
979
999
|
"Only show commits since this date (YYYY-MM-DD) or week (YYYY-Www)"
|
|
980
1000
|
).option("-r, --reverse", "Show earliest weeks first").option("-v, --verbose", "Show file names for each commit").action(lazyAction(() => import("./list-ZVSHR4AA.js"), "list"));
|
|
981
|
-
devlogCommand.command("version").description("Show the repo name, its latest dev entry week and versions").action(lazyAction(() => import("./version-
|
|
1001
|
+
devlogCommand.command("version").description("Show the repo name, its latest dev entry week and versions").action(lazyAction(() => import("./version-AVIXLJ2U.js"), "version"));
|
|
982
1002
|
registerDevlogEntryCommands(devlogCommand);
|
|
983
1003
|
devlogCommand.command("repos").description("Show repos missing weekly dev entries").option(
|
|
984
1004
|
"--days <number>",
|
|
985
1005
|
"Only show repos pushed within N days (default: 30)",
|
|
986
1006
|
Number.parseInt
|
|
987
|
-
).option("--all", "Show all non-archived repos regardless of push date").action(lazyAction(() => import("./repos-
|
|
1007
|
+
).option("--all", "Show all non-archived repos regardless of push date").action(lazyAction(() => import("./repos-ZNNX7J2W.js"), "repos"));
|
|
988
1008
|
configHelp(devlogCommand, devlogConfigHelp);
|
|
989
1009
|
}
|
|
990
1010
|
|
|
@@ -997,13 +1017,13 @@ function registerDocs(parent) {
|
|
|
997
1017
|
internalCommand(
|
|
998
1018
|
docs.command("unlock").description(
|
|
999
1019
|
"Page a human with a pin to unlock docs changes for this session's backlog item phase"
|
|
1000
|
-
).action(lazyAction(() => import("./docsUnlock-
|
|
1020
|
+
).action(lazyAction(() => import("./docsUnlock-XATVITTC.js"), "docsUnlock")),
|
|
1001
1021
|
calledBy2
|
|
1002
1022
|
);
|
|
1003
1023
|
internalCommand(
|
|
1004
1024
|
docs.command("confirm").description(
|
|
1005
1025
|
"Confirm a pin from 'docs unlock' to approve docs changes for that backlog item phase"
|
|
1006
|
-
).argument("<pin>", "Pin issued by 'docs unlock'").action(lazyAction(() => import("./docsConfirm-
|
|
1026
|
+
).argument("<pin>", "Pin issued by 'docs unlock'").action(lazyAction(() => import("./docsConfirm-UI24PRYF.js"), "docsConfirm")),
|
|
1007
1027
|
calledBy2
|
|
1008
1028
|
);
|
|
1009
1029
|
}
|
|
@@ -1018,7 +1038,7 @@ function registerSchema(parent) {
|
|
|
1018
1038
|
schema.command("unlock").description(
|
|
1019
1039
|
"Page a human with a pin to unlock schema changes for this session's backlog item phase, or this Claude session when there is no item"
|
|
1020
1040
|
).action(
|
|
1021
|
-
lazyAction(() => import("./schemaUnlock-
|
|
1041
|
+
lazyAction(() => import("./schemaUnlock-3WGA7Z75.js"), "schemaUnlock")
|
|
1022
1042
|
),
|
|
1023
1043
|
calledBy3
|
|
1024
1044
|
);
|
|
@@ -1026,7 +1046,7 @@ function registerSchema(parent) {
|
|
|
1026
1046
|
schema.command("confirm").description(
|
|
1027
1047
|
"Confirm a pin from 'schema unlock' to approve schema changes for that item phase or Claude session"
|
|
1028
1048
|
).argument("<pin>", "Pin issued by 'schema unlock'").action(
|
|
1029
|
-
lazyAction(() => import("./schemaConfirm-
|
|
1049
|
+
lazyAction(() => import("./schemaConfirm-QBDYM262.js"), "schemaConfirm")
|
|
1030
1050
|
),
|
|
1031
1051
|
calledBy3
|
|
1032
1052
|
);
|
|
@@ -1058,7 +1078,7 @@ function registerEditHook(program) {
|
|
|
1058
1078
|
program.command("edit-hook").description(
|
|
1059
1079
|
"PreToolUse hook that blocks edits to the maintainability override marker and edits that introduce code comments"
|
|
1060
1080
|
).action(async () => {
|
|
1061
|
-
const { editHook } = await import("./editHook-
|
|
1081
|
+
const { editHook } = await import("./editHook-KAS7F7FU.js");
|
|
1062
1082
|
editHook();
|
|
1063
1083
|
}),
|
|
1064
1084
|
"the PreToolUse hook on file edits"
|
|
@@ -1081,7 +1101,7 @@ function parseSinceDate(value) {
|
|
|
1081
1101
|
// src/commands/github/issue/fixStructure/registerFixStructure.ts
|
|
1082
1102
|
var chain = defaultTypeChain.join(" > ");
|
|
1083
1103
|
var levels = defaultTypeChain.map((name) => name.toLowerCase()).join("|");
|
|
1084
|
-
function
|
|
1104
|
+
function collect4(value, previous) {
|
|
1085
1105
|
return previous.concat([value]);
|
|
1086
1106
|
}
|
|
1087
1107
|
function registerFixStructure(issueCommand) {
|
|
@@ -1097,7 +1117,7 @@ function registerFixStructure(issueCommand) {
|
|
|
1097
1117
|
).option(
|
|
1098
1118
|
"--strip-label <label>",
|
|
1099
1119
|
"Legacy marker label to remove from every issue in the subtree that carries it (repeatable)",
|
|
1100
|
-
|
|
1120
|
+
collect4,
|
|
1101
1121
|
[]
|
|
1102
1122
|
).option("--apply", "Write the planned changes instead of reporting them").addHelpText(
|
|
1103
1123
|
"after",
|
|
@@ -1173,7 +1193,7 @@ The reviewer may also drop or paste screenshots or video into the pane; on appro
|
|
|
1173
1193
|
--type, --parent, --project, --status, --label and --milestone are all resolved before the preview, so an unknown name, an unreadable parent, a missing project scope or --status without --project creates nothing.
|
|
1174
1194
|
A bare --parent number is read against --repo, or the current repo; a parent in another repository is allowed.
|
|
1175
1195
|
The project scope is needed for --project: gh auth refresh -h github.com -s project`
|
|
1176
|
-
).action(lazyAction(() => import("./createIssue-
|
|
1196
|
+
).action(lazyAction(() => import("./createIssue-RJGB4H3S.js"), "createIssue"));
|
|
1177
1197
|
internalCommand(createCommand, "/github create");
|
|
1178
1198
|
}
|
|
1179
1199
|
|
|
@@ -1197,7 +1217,7 @@ function registerEditIssue(issueCommand) {
|
|
|
1197
1217
|
).addHelpText(
|
|
1198
1218
|
"after",
|
|
1199
1219
|
"\nFetches the issue's current body and opens it in the assist web preview pane, where it can be reworked before it is pushed back.\nWhen you already know the body you want, pass it with --body (--body - reads stdin): the first preview then shows that proposal instead of the current body, replacing any working file.\nTo make a targeted change to the current body (strike items out, tick a box), run with --fetch first: it writes the current body to the working file and prints its path without opening a preview. Edit that file in place, then re-run without --fetch or --body so the first preview shows your revision. Never run without --fetch just to get the body.\nApproving pushes the pane's markdown to the issue; nothing is pushed if the issue moved on GitHub after it was fetched, or outside a web session.\nRejecting writes the pane's markdown to a working file and names it: revise that file in place and re-run to preview the revision, which keeps any collapses already applied. A re-run resumes from the working file while the issue has not moved on GitHub; --fresh discards it and re-fetches.\nOnly the body is touched \u2014 the title, labels, assignees and state are left alone.\n--parent sets the issue's parent instead of editing the body: nothing is previewed and no web session is needed. A bare number is read against --repo, or the current repo; a parent in another repository is allowed."
|
|
1200
|
-
).action(lazyAction(() => import("./editIssue-
|
|
1220
|
+
).action(lazyAction(() => import("./editIssue-V4OZ6A37.js"), "editIssue"));
|
|
1201
1221
|
internalCommand(editCommand, "/github");
|
|
1202
1222
|
}
|
|
1203
1223
|
|
|
@@ -1315,7 +1335,7 @@ var HARNESS_FLAG = "Coding harness to launch (claude|codex|pi); defaults to the
|
|
|
1315
1335
|
function registerRefineLaunch(program, resumeFlag) {
|
|
1316
1336
|
const command = program.command("refine").argument("[id]", "Backlog item ID").description(
|
|
1317
1337
|
"Launch a coding harness in /refine mode to refine a backlog item"
|
|
1318
|
-
).option("--once", "Exit when the initial task completes").option("--resume-session <id>", resumeFlag).option("--harness <kind>", HARNESS_FLAG).action(lazyAction(() => import("./runRefine-
|
|
1338
|
+
).option("--once", "Exit when the initial task completes").option("--resume-session <id>", resumeFlag).option("--harness <kind>", HARNESS_FLAG).action(lazyAction(() => import("./runRefine-FDSHGAKF.js"), "runRefine"));
|
|
1319
1339
|
configHelp(command, harnessConfigHelp);
|
|
1320
1340
|
}
|
|
1321
1341
|
|
|
@@ -1329,7 +1349,7 @@ function registerFixConflict(program, resumeFlag) {
|
|
|
1329
1349
|
).action(
|
|
1330
1350
|
async (number, options) => {
|
|
1331
1351
|
const { resolveHarness } = await import("./resolveHarness-Q6HQK2IZ.js");
|
|
1332
|
-
const { fixConflict } = await import("./fixConflict-
|
|
1352
|
+
const { fixConflict } = await import("./fixConflict-ERZSVDBB.js");
|
|
1333
1353
|
return fixConflict(number, {
|
|
1334
1354
|
rebase: options.rebase,
|
|
1335
1355
|
resumeSessionId: options.resumeSession,
|
|
@@ -1356,7 +1376,7 @@ function registerReviewPrComments(program, resumeFlag) {
|
|
|
1356
1376
|
).action(
|
|
1357
1377
|
async (number, opts) => {
|
|
1358
1378
|
const { resolveHarness } = await import("./resolveHarness-Q6HQK2IZ.js");
|
|
1359
|
-
const { reviewPrComments } = await import("./reviewPrComments-
|
|
1379
|
+
const { reviewPrComments } = await import("./reviewPrComments-ZN7RNVF5.js");
|
|
1360
1380
|
return reviewPrComments(number, {
|
|
1361
1381
|
announce: opts.announce,
|
|
1362
1382
|
auto: opts.auto,
|
|
@@ -1378,7 +1398,7 @@ function registerDescriptionLaunch(program, name, slashCommand, description, fea
|
|
|
1378
1398
|
"--model <model>",
|
|
1379
1399
|
`Model to launch the harness with; defaults to harness.defaults.${name}.model while the ${name} type's harness is used`
|
|
1380
1400
|
).option("--no-model", "Launch with the harness's own default model").action(async (text, opts) => {
|
|
1381
|
-
const { launchMode } = await import("./launchMode-
|
|
1401
|
+
const { launchMode } = await import("./launchMode-SKGP5KT7.js");
|
|
1382
1402
|
const { resolveHarness } = await import("./resolveHarness-Q6HQK2IZ.js");
|
|
1383
1403
|
const { resolveModel } = await import("./resolveModel-EPG2YC5Q.js");
|
|
1384
1404
|
const harness = resolveHarness(opts.harness, name);
|
|
@@ -1399,7 +1419,7 @@ function registerDescriptionLaunch(program, name, slashCommand, description, fea
|
|
|
1399
1419
|
var RESUME_SESSION_FLAG = "Resume an interrupted harness session by its conversation id (used by the sessions daemon on restart)";
|
|
1400
1420
|
function registerNext(program) {
|
|
1401
1421
|
program.command("next").argument("[id]", "Backlog item ID to run first").description("Alias for backlog next").option("--once", "Exit after the first completed item run").action(
|
|
1402
|
-
async (id, opts) => (await import("./next-
|
|
1422
|
+
async (id, opts) => (await import("./next-AXMA7K4H.js")).next(
|
|
1403
1423
|
{ allowEdits: true, once: opts.once },
|
|
1404
1424
|
id
|
|
1405
1425
|
)
|
|
@@ -1435,7 +1455,7 @@ function registerList(program) {
|
|
|
1435
1455
|
"--status <type>",
|
|
1436
1456
|
"Filter by status (todo, in-progress, done, wontdo)"
|
|
1437
1457
|
).option("-a, --all", "Include done/wontdo items").option("--all-repos", "List items across all repositories").option("-v, --verbose", "Show all item details").option("--dir <path>", "Override directory for backlog file discovery").action(async (options) => {
|
|
1438
|
-
const { list: backlogList } = await import("./list-
|
|
1458
|
+
const { list: backlogList } = await import("./list-UTXVRPMK.js");
|
|
1439
1459
|
const { setBacklogDir } = await import("./getBacklogDir-AVGEKM42.js");
|
|
1440
1460
|
setBacklogDir(options.dir);
|
|
1441
1461
|
return backlogList(options);
|
|
@@ -1494,7 +1514,7 @@ function registerMiro(program) {
|
|
|
1494
1514
|
"-r, --repo [name]",
|
|
1495
1515
|
"Save the extract to repo (db), a repo's shared db override (defaults to the current repo)"
|
|
1496
1516
|
).action(
|
|
1497
|
-
async (name, options) => (await import("./runExtract-
|
|
1517
|
+
async (name, options) => (await import("./runExtract-6CGKPVES.js")).runExtract(name, options)
|
|
1498
1518
|
);
|
|
1499
1519
|
configHelp(
|
|
1500
1520
|
extract,
|
|
@@ -1536,7 +1556,7 @@ function registerPiHook(program) {
|
|
|
1536
1556
|
program.command("pi-hook").description(
|
|
1537
1557
|
"pi tool-call permission gate: reads pi's tool-call JSON from stdin and emits an allow/deny/gate decision, auto-approving read-only CLI commands via the shared cli-hook allowlist"
|
|
1538
1558
|
).action(async () => {
|
|
1539
|
-
const { piHook } = await import("./piHook-
|
|
1559
|
+
const { piHook } = await import("./piHook-C6NWS4FD.js");
|
|
1540
1560
|
piHook();
|
|
1541
1561
|
}),
|
|
1542
1562
|
"assist's pi permission-gate extension"
|
|
@@ -1555,7 +1575,7 @@ function registerPrompts(program) {
|
|
|
1555
1575
|
function registerPrsThreadReplies(prsCommand, calledBy5) {
|
|
1556
1576
|
internalCommand(
|
|
1557
1577
|
prsCommand.command("fixed <comment-id> <sha>").description("Reply with commit link and resolve thread").action(async (commentId, sha) => {
|
|
1558
|
-
const { fixed: prsFixed } = await import("./fixed-
|
|
1578
|
+
const { fixed: prsFixed } = await import("./fixed-ELT3ARTP.js");
|
|
1559
1579
|
prsFixed(Number.parseInt(commentId, 10), sha);
|
|
1560
1580
|
}),
|
|
1561
1581
|
calledBy5
|
|
@@ -1565,7 +1585,7 @@ function registerPrsThreadReplies(prsCommand, calledBy5) {
|
|
|
1565
1585
|
"Reply with reason and resolve thread (reason of - reads it from stdin)"
|
|
1566
1586
|
).action(async (commentId, reason) => {
|
|
1567
1587
|
const { readBodyArgument } = await import("./readBodyArgument-WHNTOBUE.js");
|
|
1568
|
-
const { wontfix: prsWontfix } = await import("./wontfix-
|
|
1588
|
+
const { wontfix: prsWontfix } = await import("./wontfix-7KOACROO.js");
|
|
1569
1589
|
await prsWontfix(
|
|
1570
1590
|
Number.parseInt(commentId, 10),
|
|
1571
1591
|
await readBodyArgument(reason)
|
|
@@ -1645,7 +1665,7 @@ ${prConcisenessGuidance}
|
|
|
1645
1665
|
}
|
|
1646
1666
|
|
|
1647
1667
|
// src/commands/registerPrsEdit.ts
|
|
1648
|
-
function
|
|
1668
|
+
function collect5(value, previous) {
|
|
1649
1669
|
return previous.concat([value]);
|
|
1650
1670
|
}
|
|
1651
1671
|
function registerPrsEdit(prsCommand) {
|
|
@@ -1654,12 +1674,12 @@ function registerPrsEdit(prsCommand) {
|
|
|
1654
1674
|
).option("-t, --title <title>", "New title for the pull request").option("--what <what>", "Replace the ## What section").option("--why <why>", "Replace the ## Why section").option("--how <how>", "Replace the ## How section").option(
|
|
1655
1675
|
"--resolves <ref>",
|
|
1656
1676
|
"Jira issue key or GitHub issue reference resolved by this PR, appended to ## Why (repeatable)",
|
|
1657
|
-
|
|
1677
|
+
collect5,
|
|
1658
1678
|
[]
|
|
1659
1679
|
).option(
|
|
1660
1680
|
"--screenshot <spec>",
|
|
1661
1681
|
"Attach a screenshot as '[Group/]Caption=path', replacing the ## Screenshots section (repeatable)",
|
|
1662
|
-
|
|
1682
|
+
collect5,
|
|
1663
1683
|
[]
|
|
1664
1684
|
).addHelpText("after", () => editHelpText()).action(lazyAction(() => import("./edit-XLS74GEX.js"), "edit"));
|
|
1665
1685
|
internalCommand(editCommand, "agents revising their pull request");
|
|
@@ -1679,7 +1699,7 @@ async function preloadHelpText() {
|
|
|
1679
1699
|
}
|
|
1680
1700
|
|
|
1681
1701
|
// src/commands/prs/collect.ts
|
|
1682
|
-
function
|
|
1702
|
+
function collect6(value, previous) {
|
|
1683
1703
|
return previous.concat([value]);
|
|
1684
1704
|
}
|
|
1685
1705
|
|
|
@@ -1688,12 +1708,12 @@ function addRaiseSectionOptions(command) {
|
|
|
1688
1708
|
return command.option("-t, --title <title>", "Title for the pull request").option("--what <what>", "What the change does (## What section)").option("--why <why>", "Why the change is needed (## Why section)").option("--how <how>", "How the change works (optional ## How section)").option(
|
|
1689
1709
|
"--resolves <ref>",
|
|
1690
1710
|
"Jira issue key or GitHub issue reference resolved by this PR, appended to ## Why (repeatable)",
|
|
1691
|
-
|
|
1711
|
+
collect6,
|
|
1692
1712
|
[]
|
|
1693
1713
|
).option(
|
|
1694
1714
|
"--screenshot <spec>",
|
|
1695
1715
|
"Attach a screenshot as '[Group/]Caption=path' under ## Screenshots (repeatable)",
|
|
1696
|
-
|
|
1716
|
+
collect6,
|
|
1697
1717
|
[]
|
|
1698
1718
|
);
|
|
1699
1719
|
}
|
|
@@ -1710,15 +1730,15 @@ function registerPrsRaise(prsCommand) {
|
|
|
1710
1730
|
).option("-B, --base <branch>", "Branch into which the pull request merges").option("-H, --head <branch>", "Branch that contains the commits").option("-d, --draft", "Mark the pull request as a draft").option(
|
|
1711
1731
|
"--no-draft",
|
|
1712
1732
|
"Create a ready-for-review pull request, overriding prs.draft"
|
|
1713
|
-
).option("-w, --web", "Open the browser to create the pull request").option("-l, --label <label>", "Add a label (repeatable)",
|
|
1733
|
+
).option("-w, --web", "Open the browser to create the pull request").option("-l, --label <label>", "Add a label (repeatable)", collect6, []).option(
|
|
1714
1734
|
"-a, --assignee <login>",
|
|
1715
1735
|
"Assign a person by login (repeatable)",
|
|
1716
|
-
|
|
1736
|
+
collect6,
|
|
1717
1737
|
[]
|
|
1718
1738
|
).option(
|
|
1719
1739
|
"-r, --reviewer <handle>",
|
|
1720
1740
|
"Request a review (repeatable)",
|
|
1721
|
-
|
|
1741
|
+
collect6,
|
|
1722
1742
|
[]
|
|
1723
1743
|
).option("-m, --milestone <name>", "Add the pull request to a milestone");
|
|
1724
1744
|
lazyHelpText(
|
|
@@ -1834,7 +1854,7 @@ function registerReleases(parent) {
|
|
|
1834
1854
|
"git"
|
|
1835
1855
|
).action(
|
|
1836
1856
|
lazyAction(
|
|
1837
|
-
() => import("./releasesConfigure-
|
|
1857
|
+
() => import("./releasesConfigure-EP4OB7QT.js"),
|
|
1838
1858
|
"releasesConfigure"
|
|
1839
1859
|
)
|
|
1840
1860
|
),
|
|
@@ -1995,7 +2015,7 @@ function registerReview(program) {
|
|
|
1995
2015
|
addReviewModeOptions(addReviewRunOptions(reviewCommand)).action(
|
|
1996
2016
|
async (number, options) => {
|
|
1997
2017
|
const { resolveHarness } = await import("./resolveHarness-Q6HQK2IZ.js");
|
|
1998
|
-
const { review } = await import("./review-
|
|
2018
|
+
const { review } = await import("./review-2DUXDOFN.js");
|
|
1999
2019
|
return review({
|
|
2000
2020
|
...options,
|
|
2001
2021
|
number,
|
|
@@ -2033,7 +2053,7 @@ function registerRulesAdd(rulesCommand) {
|
|
|
2033
2053
|
"--repo [name]",
|
|
2034
2054
|
"As --user, but append to advice.rules in repo (db), the shared per-repo override every node sees, for the current repo or the named one"
|
|
2035
2055
|
).action(async (text, options) => {
|
|
2036
|
-
const { rulesAdd } = await import("./rulesAdd-
|
|
2056
|
+
const { rulesAdd } = await import("./rulesAdd-AFBC7LXO.js");
|
|
2037
2057
|
return rulesAdd(text, options);
|
|
2038
2058
|
}),
|
|
2039
2059
|
"/add-rule and /fix-rules"
|
|
@@ -2178,7 +2198,7 @@ function registerSql(program) {
|
|
|
2178
2198
|
async (name) => (await import("./sqlSetConnection-UAX7TRB4.js")).sqlSetConnection(name)
|
|
2179
2199
|
);
|
|
2180
2200
|
cmd.command("query <sql> [connection]").description("Execute a read-only SQL query (rejects mutating statements)").action(
|
|
2181
|
-
async (query, connection) => (await import("./sqlQuery-
|
|
2201
|
+
async (query, connection) => (await import("./sqlQuery-OAXPQJPY.js")).sqlQuery(query, connection)
|
|
2182
2202
|
);
|
|
2183
2203
|
cmd.command("mutate <sql> [connection]").description(
|
|
2184
2204
|
"Execute a mutating SQL statement (rejects non-mutating statements)"
|
|
@@ -2340,7 +2360,7 @@ var checks = [
|
|
|
2340
2360
|
{
|
|
2341
2361
|
name: "harness-follow-ups",
|
|
2342
2362
|
description: "Check every follow-up item named by an unsupported harness capability exists and is still open",
|
|
2343
|
-
load: async () => (await import("./harnessFollowUps-
|
|
2363
|
+
load: async () => (await import("./harnessFollowUps-QYDL3J4V.js")).harnessFollowUps
|
|
2344
2364
|
}
|
|
2345
2365
|
];
|
|
2346
2366
|
function registerVerifyChecks(verifyCommand) {
|
|
@@ -2539,13 +2559,13 @@ function registerRunAdd(runCommand) {
|
|
|
2539
2559
|
).option(
|
|
2540
2560
|
"--repo [name]",
|
|
2541
2561
|
"Write to a repo's override in the shared db, seen by every node, instead of assist.yml (defaults to the current repo; no command file is created)"
|
|
2542
|
-
).addHelpText("after", runAddHelpText).allowUnknownOption().allowExcessArguments().action(lazyAction(() => import("./add-
|
|
2562
|
+
).addHelpText("after", runAddHelpText).allowUnknownOption().allowExcessArguments().action(lazyAction(() => import("./add-T4YUV6LT.js"), "add"));
|
|
2543
2563
|
}
|
|
2544
2564
|
|
|
2545
2565
|
// src/commands/run/registerRunSubcommands.ts
|
|
2546
2566
|
function registerRunSubcommands(runCommand) {
|
|
2547
2567
|
runCommand.command("list").description("List configured run commands").option("-v, --verbose", "Show full command details").action(
|
|
2548
|
-
async (opts) => (await import("./run-
|
|
2568
|
+
async (opts) => (await import("./run-DE67FAI3.js")).listRunConfigs(!!opts.verbose)
|
|
2549
2569
|
);
|
|
2550
2570
|
registerRunAdd(runCommand);
|
|
2551
2571
|
runCommand.command("link").description("Link run configurations from another project's assist.yml").argument("<path>", "Relative path to the linked project").requiredOption("--prefix <prefix>", "Namespace prefix for linked commands").allowUnknownOption().action(lazyAction(() => import("./link-LYQZULAX.js"), "link"));
|
|
@@ -2566,7 +2586,7 @@ function registerRun(program) {
|
|
|
2566
2586
|
lazyHelpText(
|
|
2567
2587
|
runCommand,
|
|
2568
2588
|
async () => (await import("./formatConfiguredCommands-WI25I2JJ.js")).formatConfiguredCommands
|
|
2569
|
-
).action(lazyAction(() => import("./run-
|
|
2589
|
+
).action(lazyAction(() => import("./run-DE67FAI3.js"), "run"));
|
|
2570
2590
|
configHelp(runCommand, runConfigHelp);
|
|
2571
2591
|
registerRunSubcommands(runCommand);
|
|
2572
2592
|
}
|
|
@@ -2576,7 +2596,7 @@ function registerDaemon(program) {
|
|
|
2576
2596
|
const cmd = program.command("daemon").description("Long-lived daemon that owns web session PTYs");
|
|
2577
2597
|
cmd.command("run").description(
|
|
2578
2598
|
"Run the sessions daemon in the foreground (auto-spawned by assist sessions)"
|
|
2579
|
-
).action(lazyAction(() => import("./runDaemon-
|
|
2599
|
+
).action(lazyAction(() => import("./runDaemon-RSSVIHXN.js"), "runDaemon"));
|
|
2580
2600
|
cmd.command("status").description(
|
|
2581
2601
|
"Show sessions daemon status, live sessions, and any stray daemon processes"
|
|
2582
2602
|
).action(lazyAction(() => import("./daemonStatus-GZKN2CYX.js"), "daemonStatus"));
|
|
@@ -2600,7 +2620,7 @@ function registerDiagnoseCommands(nodes, calledBy5) {
|
|
|
2600
2620
|
nodes.command("doctor [name]").description(
|
|
2601
2621
|
"Probe each hop of every link (or one) in order and stop at the first failure with a remediation"
|
|
2602
2622
|
).option("--json", "Output as JSON").action(
|
|
2603
|
-
async (name, _options, command) => (await import("./doctorNodes-
|
|
2623
|
+
async (name, _options, command) => (await import("./doctorNodes-FCH7SQXI.js")).doctorNodes(
|
|
2604
2624
|
name,
|
|
2605
2625
|
command.optsWithGlobals()
|
|
2606
2626
|
)
|
|
@@ -2630,14 +2650,14 @@ function registerPeerActionCommands(nodes, calledBy5) {
|
|
|
2630
2650
|
internalCommand(
|
|
2631
2651
|
nodes.command("restart <name>").description(
|
|
2632
2652
|
"Restart a linked node's daemon and/or web server, wait for its link to reconnect and print its version"
|
|
2633
|
-
).option("--target <target>", "daemon, webserver or both", "both").action(lazyAction(() => import("./restartNode-
|
|
2653
|
+
).option("--target <target>", "daemon, webserver or both", "both").action(lazyAction(() => import("./restartNode-S4B6SVPV.js"), "restartNode")),
|
|
2634
2654
|
calledBy5
|
|
2635
2655
|
);
|
|
2636
2656
|
internalCommand(
|
|
2637
2657
|
nodes.command("update <name>").description(
|
|
2638
2658
|
"Run assist update on a linked node, restart it, wait for its link to reconnect and print its version"
|
|
2639
2659
|
).action(
|
|
2640
|
-
async (name) => (await import("./updateNode-
|
|
2660
|
+
async (name) => (await import("./updateNode-DJAPWNNF.js")).updateNode(name)
|
|
2641
2661
|
),
|
|
2642
2662
|
calledBy5
|
|
2643
2663
|
);
|
|
@@ -2700,7 +2720,7 @@ function registerSetStatusCommand(cmd) {
|
|
|
2700
2720
|
// src/commands/sessions/registerSessionsWeb.ts
|
|
2701
2721
|
function registerSessionsWeb(cmd) {
|
|
2702
2722
|
const webCmd = cmd.command("web").description("Start the sessions web dashboard").option("-p, --port <number>", "Port to listen on", "3100").option("--no-open", "Do not open a browser on startup").action(
|
|
2703
|
-
async (options, command) => (await import("./web-
|
|
2723
|
+
async (options, command) => (await import("./web-JI5MPRK3.js")).web({
|
|
2704
2724
|
...options,
|
|
2705
2725
|
open: command.optsWithGlobals().open
|
|
2706
2726
|
})
|
|
@@ -2715,7 +2735,7 @@ function registerSessionsWeb(cmd) {
|
|
|
2715
2735
|
// src/commands/sessions/registerSessions.ts
|
|
2716
2736
|
function registerSessions(program) {
|
|
2717
2737
|
const cmd = program.command("sessions").description("Web dashboard for coding agent sessions").option("--no-open", "Do not open a browser on startup").action(
|
|
2718
|
-
async (_options, command) => (await import("./web-
|
|
2738
|
+
async (_options, command) => (await import("./web-JI5MPRK3.js")).web({
|
|
2719
2739
|
port: "3100",
|
|
2720
2740
|
open: command.optsWithGlobals().open
|
|
2721
2741
|
})
|