@staff0rd/assist 0.1177.0 → 0.1178.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/agent/commands/draft.md +7 -2
- package/dist/.build-files +185 -186
- package/dist/{add-26G3VH4W.js → add-2UGDXA57.js} +4 -4
- package/dist/{add-EQSDVMYS.js → add-FRBOEDUG.js} +8 -8
- package/dist/{add-6VHF4GYJ.js → add-P5FQT5OP.js} +7 -7
- package/dist/{addActivity-EVJKYYRK.js → addActivity-OHEX6ZYA.js} +11 -12
- package/dist/{addPhase-EMUC75TM.js → addPhase-J7HNEAJD.js} +59 -30
- package/dist/{advise-3WCBQOWA.js → advise-E24R7PGU.js} +7 -9
- package/dist/{ask-FKL4O7CM.js → ask-U5DHNRPN.js} +5 -7
- package/dist/{askCheck-ASINLULR.js → askCheck-6XT7VK4E.js} +18 -20
- package/dist/{askDesign-3QUHOJPI.js → askDesign-EWPBMN2Z.js} +7 -9
- package/dist/{askQuestion-WYUW7O6I.js → askQuestion-EKLQUDWO.js} +4 -6
- package/dist/{associateGithub-GX7KCYKC.js → associateGithub-QVFEIHHB.js} +7 -7
- package/dist/{associateJira-HZQVQPTE.js → associateJira-GW2TNHHC.js} +7 -7
- package/dist/{backup-ZAM5SUS4.js → backup-5EOEKEHC.js} +5 -5
- package/dist/{branch-4E2A5OSA.js → branch-XA5WFZNE.js} +12 -13
- package/dist/built-version +1 -1
- package/dist/{chunk-G7TGPGP4.js → chunk-33TWT7ED.js} +1 -1
- package/dist/{chunk-GACR5HPR.js → chunk-3OU7KKPD.js} +1 -1
- package/dist/{chunk-NTHIX33Z.js → chunk-47A67SZG.js} +1 -1
- package/dist/{chunk-VHA4GGY6.js → chunk-47CWDPJG.js} +2 -2
- package/dist/{chunk-ZYSRGPPK.js → chunk-55AOIDG7.js} +4 -4
- package/dist/{chunk-2ULGYTC7.js → chunk-5HBAIIK7.js} +2 -2
- package/dist/{chunk-5RR74N53.js → chunk-5IEBDC2V.js} +1 -1
- package/dist/{chunk-SEPXT73V.js → chunk-5SFKQCC7.js} +4 -2
- package/dist/{chunk-S43ZXLSG.js → chunk-5V2PSFQZ.js} +2 -2
- package/dist/{chunk-XTIQTN6C.js → chunk-5XLNXKJ2.js} +1 -1
- package/dist/{chunk-AA4KTFRA.js → chunk-6ON5FZRW.js} +1 -1
- package/dist/{chunk-34JCYVZJ.js → chunk-6SVL3VTM.js} +3 -3
- package/dist/{chunk-3RN5JXYO.js → chunk-6UK5TKSQ.js} +1 -1
- package/dist/{chunk-4X6EPEUY.js → chunk-7APOEKZW.js} +2 -2
- package/dist/{chunk-I6OVO66A.js → chunk-7CZTOEBC.js} +4 -4
- package/dist/{chunk-RKNRSAMW.js → chunk-7KHXEIII.js} +2 -2
- package/dist/{chunk-5DC6R45H.js → chunk-7VYOQAV2.js} +1 -1
- package/dist/{chunk-OEUVHIK7.js → chunk-AAZOHULZ.js} +2 -2
- package/dist/{chunk-NWNODYLQ.js → chunk-AFQMD7AO.js} +1 -1
- package/dist/{chunk-6EGDNDME.js → chunk-CPJ3KOSP.js} +1 -1
- package/dist/{chunk-EBBTBVRF.js → chunk-CVRUEPAF.js} +2 -2
- package/dist/{chunk-HER4MYII.js → chunk-DJ3YHTZR.js} +4 -4
- package/dist/{chunk-IVSNDH4D.js → chunk-DLWUDZA7.js} +2 -2
- package/dist/{chunk-3QKE2ONF.js → chunk-DZQGGM7S.js} +2 -2
- package/dist/{chunk-PYACTCZ2.js → chunk-EEFDZ4FS.js} +1 -1
- package/dist/{chunk-KQLM2B42.js → chunk-EKVZPMHV.js} +1 -1
- package/dist/{chunk-MELBVXKL.js → chunk-EM5TGZYD.js} +1 -1
- package/dist/{chunk-OVT3MIV3.js → chunk-FEE3CHDF.js} +1 -1
- package/dist/{chunk-VQXCEXLN.js → chunk-FOVFGF3T.js} +1 -1
- package/dist/{chunk-EXFM2OJH.js → chunk-GLWIKWJD.js} +1 -1
- package/dist/{chunk-X7PGOOAB.js → chunk-GNNMJOUE.js} +13 -5
- package/dist/{chunk-RPJMHCA5.js → chunk-HEZPVVNU.js} +2 -2
- package/dist/{chunk-VO7AQC4M.js → chunk-IVLGG2X4.js} +29 -7
- package/dist/{chunk-GPEP64A2.js → chunk-J77SUTGV.js} +1 -1
- package/dist/{chunk-YWZ4S2QB.js → chunk-JDR5RER7.js} +2 -2
- package/dist/{chunk-E573PJQO.js → chunk-JKVDFE73.js} +5 -5
- package/dist/{chunk-OFQA2NMS.js → chunk-JOI2TFU6.js} +2 -2
- package/dist/{chunk-GNDYSVHK.js → chunk-K2WOZAIZ.js} +2 -2
- package/dist/{chunk-N4ZFTKU5.js → chunk-KB7ROCWL.js} +1 -1
- package/dist/{chunk-TZHPY4TP.js → chunk-KMYNML56.js} +1 -1
- package/dist/{chunk-VJSCW57R.js → chunk-LSPSE5PK.js} +2 -2
- package/dist/{chunk-AE63ECHM.js → chunk-M6MAQU3Z.js} +2 -4
- package/dist/{chunk-3LZFM4XP.js → chunk-MJ4VVWS2.js} +2 -2
- package/dist/{chunk-BDF4ZNX6.js → chunk-MPN7AQZO.js} +1 -1
- package/dist/{chunk-D2JJTYYP.js → chunk-MPTENWZJ.js} +1 -1
- package/dist/{chunk-5X376XAZ.js → chunk-MU6NC4RI.js} +2 -2
- package/dist/{chunk-ZLTSFZMQ.js → chunk-NQJYLM2U.js} +2 -2
- package/dist/{chunk-AG6HDXL7.js → chunk-O4NZNNM6.js} +1 -1
- package/dist/{chunk-TIUFDKIT.js → chunk-ODUJYQNX.js} +2 -2
- package/dist/{chunk-HMQIAEJG.js → chunk-ONVFP5UL.js} +2 -2
- package/dist/{chunk-WNHEHLLU.js → chunk-OYRCAC62.js} +1 -1
- package/dist/{chunk-SVOKDZOH.js → chunk-OZTCLQ2P.js} +1 -1
- package/dist/{chunk-OWE2XFXQ.js → chunk-POXYZNR6.js} +2 -1
- package/dist/{chunk-CCV7FX7F.js → chunk-PTD3FE65.js} +1 -1
- package/dist/{chunk-4OBTBJGI.js → chunk-QMMXURVF.js} +12 -12
- package/dist/{chunk-7KJ6IGYA.js → chunk-QPEQB4SW.js} +1 -1
- package/dist/{chunk-A5TT5WAA.js → chunk-QTJDU5WR.js} +1 -1
- package/dist/{chunk-GBKSK5NM.js → chunk-R4G74YF4.js} +1 -1
- package/dist/{chunk-55DAVOXM.js → chunk-RXFNQQZC.js} +32 -2
- package/dist/{chunk-QKHOYKUQ.js → chunk-T2BK6RAR.js} +12 -1
- package/dist/chunk-T4FC6NXX.js +24 -0
- package/dist/{chunk-6C2FGUCJ.js → chunk-TM3TO23X.js} +1 -1
- package/dist/{chunk-QWT75J57.js → chunk-U4UUT6CV.js} +1 -1
- package/dist/{chunk-W3WCK6CC.js → chunk-UU7KVABO.js} +186 -127
- package/dist/{chunk-OTY4ZZK5.js → chunk-UVCIW7TQ.js} +3 -3
- package/dist/{chunk-BJYS3T47.js → chunk-UYGELUAS.js} +15 -15
- package/dist/{chunk-RNJG2457.js → chunk-V5YHDOMM.js} +3 -3
- package/dist/{chunk-S4QSBI4B.js → chunk-V7TXFEZL.js} +1 -1
- package/dist/chunk-VG3T4OHM.js +37 -0
- package/dist/{chunk-EJ47RKEE.js → chunk-VLYRZ5SP.js} +140 -40
- package/dist/{chunk-TTGFYYM3.js → chunk-WACC5D2Z.js} +2 -2
- package/dist/{chunk-LERYBWFS.js → chunk-WLDKO4VB.js} +1 -1
- package/dist/{chunk-RA6EZEDD.js → chunk-WLJ6XQHQ.js} +6 -4
- package/dist/{chunk-C2SYKKB5.js → chunk-WN3S62N3.js} +1 -1
- package/dist/{chunk-VDXZYKAV.js → chunk-WXAG6MRL.js} +1 -1
- package/dist/{chunk-IPHYNETA.js → chunk-XDBJOQY4.js} +27 -27
- package/dist/{chunk-SZY5ANA2.js → chunk-XY4XHIGT.js} +1 -1
- package/dist/{chunk-JIVAT6IU.js → chunk-XZSNW74V.js} +9 -9
- package/dist/{chunk-SEYMNOHZ.js → chunk-Y3HTS5LL.js} +3 -3
- package/dist/{chunk-O5JIFWMQ.js → chunk-YKL7VLIQ.js} +1 -1
- package/dist/{chunk-XE24F7VE.js → chunk-Z544QRLG.js} +1 -1
- package/dist/{chunk-B5TM4HJA.js → chunk-ZJ62GBLC.js} +1 -1
- package/dist/{chunk-Q35BRHRJ.js → chunk-ZRPLRWAQ.js} +2 -2
- package/dist/{cliHook-MX7SGXI5.js → cliHook-2ST26IMO.js} +12 -14
- package/dist/{cliHookCheck-LEPJJOB2.js → cliHookCheck-HBD5OUON.js} +4 -4
- package/dist/{codexHook-FPWKVVXR.js → codexHook-2XECBV2W.js} +15 -17
- package/dist/commands/sessions/web/bundle.js +425 -425
- package/dist/{comment-I4I2HSCK.js → comment-NJJ5D43Q.js} +7 -7
- package/dist/{comment-T6VKMQSC.js → comment-O7CAONH7.js} +6 -8
- package/dist/{commentIssue-KYYGEMM6.js → commentIssue-4IYYW234.js} +5 -7
- package/dist/{comments-4LL3QRP4.js → comments-LRMDQZVV.js} +6 -6
- package/dist/{commit-BQI7L6WM.js → commit-DLOZJVLG.js} +11 -11
- package/dist/{configGet-UCG62AE4.js → configGet-IBOCGBBD.js} +6 -6
- package/dist/{configImportRepos-7DDEGAVK.js → configImportRepos-WNBZW2SW.js} +6 -6
- package/dist/{configImportUser-77C56FIE.js → configImportUser-3EJW5CN7.js} +6 -6
- package/dist/{configList-WB54H6EU.js → configList-YHRABWEH.js} +6 -6
- package/dist/{configSet-AB33B47W.js → configSet-FWJ4CODG.js} +11 -11
- package/dist/{configUnset-BZJ7LC5H.js → configUnset-ASENBQ2W.js} +10 -10
- package/dist/{createIssue-RDI2HOU4.js → createIssue-FGHP6XJV.js} +4 -6
- package/dist/{del-F3OPSYX3.js → del-2G7FLCPI.js} +6 -6
- package/dist/{deleteCommentCmd-4J75BXTV.js → deleteCommentCmd-YL4AQSUK.js} +7 -7
- package/dist/{docsConfirm-4EI3UX4R.js → docsConfirm-DFZJQYBN.js} +8 -8
- package/dist/{docsScreenshots-XZGGZTM7.js → docsScreenshots-TEZGWAMN.js} +6 -6
- package/dist/{docsUnlock-AOFQIZCE.js → docsUnlock-3BAUJLMS.js} +6 -6
- package/dist/{doctorNodes-OLELLGI5.js → doctorNodes-U4BZ2NQI.js} +3 -3
- package/dist/{done-JJOEGPGX.js → done-YX4Z354K.js} +14 -15
- package/dist/{edit-SDMU64FM.js → edit-Z4L64CLH.js} +4 -6
- package/dist/{editHook-UXIHATIT.js → editHook-7MXP7Y27.js} +12 -14
- package/dist/{editIssue-2BVQHWJT.js → editIssue-CO6C7M54.js} +4 -6
- package/dist/{editIssueComment-RORO62JH.js → editIssueComment-MMW2F4TM.js} +5 -7
- package/dist/{exportBacklog-PV6W4HPE.js → exportBacklog-TU3ZS5OA.js} +5 -5
- package/dist/{fixConflict-GE72P7WJ.js → fixConflict-DLGWJZOT.js} +7 -8
- package/dist/{harnessFollowUps-6XB5AOCC.js → harnessFollowUps-BRGKMTFL.js} +7 -7
- package/dist/{importBacklog-KZZFOFGE.js → importBacklog-ZDEMGYEO.js} +4 -4
- package/dist/index.js +122 -112
- package/dist/{launchMode-2A2X4BYA.js → launchMode-BB4BVLDY.js} +28 -29
- package/dist/{link-SWM2NNGW.js → link-5IOLILGN.js} +6 -6
- package/dist/{list-ME3QFVBT.js → list-4VNSG33V.js} +5 -5
- package/dist/{list-4J7IDSCX.js → list-WAWI262A.js} +14 -15
- package/dist/{list-UIMHBUPC.js → list-X6NRZS23.js} +4 -4
- package/dist/{migrate-K6GJ32ZE.js → migrate-K5YH6RKI.js} +2 -2
- package/dist/{migrations-7N6ELG6C.js → migrations-HHPF74F6.js} +1 -1
- package/dist/{movePhase-KQQD6ZNS.js → movePhase-4NND5MPI.js} +47 -33
- package/dist/{moveRepo-6LOJLD4P.js → moveRepo-JDI4TTGH.js} +6 -6
- package/dist/{next-CC3ZZX3W.js → next-V6SDUR7R.js} +26 -27
- package/dist/{phaseDone-XVAXKIPL.js → phaseDone-GDPMXG35.js} +7 -7
- package/dist/{piHook-TWZ7VL4C.js → piHook-IJBECGXG.js} +12 -14
- package/dist/{plan-DGRO5A3G.js → plan-6OBSLR2L.js} +6 -6
- package/dist/{postSlackMessage-W4PBW5GV.js → postSlackMessage-7L6NMG56.js} +5 -7
- package/dist/{propose-ARHZAMP3.js → propose-YTLU3KGQ.js} +18 -19
- package/dist/{raise-5RO44AHM.js → raise-GPFJCJ2J.js} +10 -12
- package/dist/{recordSlack-NVFWCZCC.js → recordSlack-FHEYASHQ.js} +6 -6
- package/dist/{refine-LVIOVPOG.js → refine-L2SLU4TB.js} +30 -31
- package/dist/{refreshDocs-TH5EP3NG.js → refreshDocs-BZWK2KC7.js} +7 -7
- package/dist/{releasesConfigure-LUSL6ZCS.js → releasesConfigure-XVR5KROD.js} +8 -8
- package/dist/{remove-REYLY4AO.js → remove-DKQPUMN5.js} +8 -8
- package/dist/{remove-DCQXXX4U.js → remove-WPVTCWEZ.js} +4 -4
- package/dist/{removePhase-CUTEYLN5.js → removePhase-JDSLXH2O.js} +23 -12
- package/dist/{reply-4NHJUAW2.js → reply-GTYV733P.js} +5 -7
- package/dist/{restartNode-FBD7UXIX.js → restartNode-YZDNDY6D.js} +5 -5
- package/dist/{review-24PY4QIO.js → review-CWFH4LHV.js} +19 -21
- package/dist/{reviewPrComments-DI55I3RN.js → reviewPrComments-53PFIBRN.js} +7 -8
- package/dist/{rewindPhase-PYPWUAQM.js → rewindPhase-2HPPVR3L.js} +18 -19
- package/dist/{rulesAdd-275CED56.js → rulesAdd-FJN36QFV.js} +15 -17
- package/dist/{run-A6K3HKIO.js → run-5TXKCHOJ.js} +24 -25
- package/dist/{run-X6JJMFTX.js → run-ZG6I4ADW.js} +24 -25
- package/dist/{runDaemon-ZSLSNKWS.js → runDaemon-SX4R3YEQ.js} +169 -81
- package/dist/{runExtract-O2VT6GXC.js → runExtract-XYFMOU3N.js} +12 -14
- package/dist/{runRefine-DB6P3MCR.js → runRefine-UU3WQE34.js} +30 -31
- package/dist/{scan-2DJUBCO7.js → scan-5OUOOZUA.js} +11 -12
- package/dist/{schemaConfirm-YQ75EKIB.js → schemaConfirm-5VA5T4OG.js} +12 -12
- package/dist/{schemaUnlock-7RER37EP.js → schemaUnlock-XUE63IVW.js} +10 -10
- package/dist/{search-4REYRJSL.js → search-6LVWZ73V.js} +14 -15
- package/dist/{setStatusCommand-OUL6CBZA.js → setStatusCommand-DERSLTKL.js} +6 -6
- package/dist/{show-YVFFZ342.js → show-UXHLUY5T.js} +24 -16
- package/dist/{show-ASBGNNIT.js → show-XE6EEDNK.js} +5 -6
- package/dist/{signExtension-7K4SURCD.js → signExtension-LGZST4CY.js} +1 -1
- package/dist/{skip-3LVATJEN.js → skip-5OBBOOP6.js} +8 -8
- package/dist/{slack-I2CXIEBY.js → slack-TW6ZQ6OA.js} +5 -7
- package/dist/{star-TXCNMYGQ.js → star-3TUER5YU.js} +8 -8
- package/dist/{start-TXEV2Y34.js → start-OHKYHOYJ.js} +6 -6
- package/dist/{status-POFESCYK.js → status-N53C3FDN.js} +3 -3
- package/dist/{stop-P5MCFMMZ.js → stop-3IPI3CAG.js} +6 -6
- package/dist/{unlink-MJ5XYTP7.js → unlink-CNFMKO6F.js} +6 -6
- package/dist/{unstar-UGQ6ZAS2.js → unstar-CIOYWFYS.js} +8 -8
- package/dist/{update-WMETXIKN.js → update-GFEO2PVL.js} +6 -6
- package/dist/{updateNode-FZJK3CTV.js → updateNode-2FAOTXLN.js} +5 -5
- package/dist/{updatePhase-N7MDNMJI.js → updatePhase-TR27Y3ZD.js} +7 -7
- package/dist/{updatePlan-5ZHUWXQO.js → updatePlan-VEYFU6RR.js} +28 -24
- package/dist/{web-XTOMYQRF.js → web-KGQROIGX.js} +44 -45
- package/dist/{web-PAJSC2XW.js → web-LF6STSEO.js} +44 -45
- package/dist/{wontdo-GG6DV5VY.js → wontdo-HMW5Y7ER.js} +7 -7
- package/dist/{wontfix-LJSLOGTK.js → wontfix-ORNEHNPO.js} +5 -7
- package/package.json +1 -1
- package/dist/chunk-K5LOYASR.js +0 -18
- package/dist/chunk-OGJ6AZK4.js +0 -9
- package/dist/chunk-VXIZ5DUA.js +0 -6
package/dist/index.js
CHANGED
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk-B7B26YPF.js";
|
|
18
18
|
import {
|
|
19
19
|
package_default
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-O4NZNNM6.js";
|
|
21
21
|
import {
|
|
22
22
|
adviceConfigHelp,
|
|
23
23
|
askQuestionConfigHelp,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
} from "./chunk-EW2ZM2PC.js";
|
|
73
73
|
import {
|
|
74
74
|
latestMigrationId
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-T2BK6RAR.js";
|
|
76
76
|
import {
|
|
77
77
|
bugFeature,
|
|
78
78
|
draftFeature
|
|
@@ -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-KGQROIGX.js")).web({
|
|
96
96
|
port: "3100",
|
|
97
97
|
open: options.open
|
|
98
98
|
})
|
|
@@ -133,7 +133,7 @@ function registerAdvise(program) {
|
|
|
133
133
|
"--explain",
|
|
134
134
|
"list every shipped fragment with whether it was included and why"
|
|
135
135
|
).action(async (options) => {
|
|
136
|
-
const { advise } = await import("./advise-
|
|
136
|
+
const { advise } = await import("./advise-E24R7PGU.js");
|
|
137
137
|
await advise({ hook: options.hook, explain: options.explain });
|
|
138
138
|
});
|
|
139
139
|
configHelp(adviseCommand, adviceConfigHelp);
|
|
@@ -153,7 +153,7 @@ function registerAsk(program) {
|
|
|
153
153
|
).requiredOption("--title <title>", "Pane title").requiredOption(
|
|
154
154
|
"--body <markdown|->",
|
|
155
155
|
"Markdown to review, or - for stdin"
|
|
156
|
-
).action(lazyAction(() => import("./ask-
|
|
156
|
+
).action(lazyAction(() => import("./ask-U5DHNRPN.js"), "ask")),
|
|
157
157
|
"/ask"
|
|
158
158
|
);
|
|
159
159
|
}
|
|
@@ -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-6XT7VK4E.js"), "askCheck")),
|
|
174
174
|
askQuestionConfigHelp
|
|
175
175
|
),
|
|
176
176
|
"Claude when asking the user to test a change"
|
|
@@ -185,7 +185,7 @@ function registerAskDesign(program) {
|
|
|
185
185
|
).requiredOption(
|
|
186
186
|
"--url <artifact-url>",
|
|
187
187
|
"claude.ai artifact link of the design"
|
|
188
|
-
).requiredOption("--title <title>", "Pane title").option("--body <markdown|->", "Markdown summary, or - for stdin").action(lazyAction(() => import("./askDesign-
|
|
188
|
+
).requiredOption("--title <title>", "Pane title").option("--body <markdown|->", "Markdown summary, or - for stdin").action(lazyAction(() => import("./askDesign-EWPBMN2Z.js"), "askDesign")),
|
|
189
189
|
"/draft"
|
|
190
190
|
);
|
|
191
191
|
}
|
|
@@ -199,7 +199,7 @@ function registerAskQuestion(program) {
|
|
|
199
199
|
).requiredOption(
|
|
200
200
|
"--json <file|->",
|
|
201
201
|
"AskUserQuestion input JSON ({questions: [...]}), or - for stdin"
|
|
202
|
-
).action(lazyAction(() => import("./askQuestion-
|
|
202
|
+
).action(lazyAction(() => import("./askQuestion-EKLQUDWO.js"), "askQuestion")),
|
|
203
203
|
askQuestionConfigHelp
|
|
204
204
|
),
|
|
205
205
|
"Claude in place of AskUserQuestion"
|
|
@@ -213,7 +213,7 @@ function registerBackup(program) {
|
|
|
213
213
|
).option(
|
|
214
214
|
"-o, --out <dir>",
|
|
215
215
|
"Directory to write the dump to (overrides the backup.dir config)"
|
|
216
|
-
).action(lazyAction(() => import("./backup-
|
|
216
|
+
).action(lazyAction(() => import("./backup-5EOEKEHC.js"), "backup"));
|
|
217
217
|
const scheduleCommand = backupCommand.command("schedule").description("Manage a recurring crontab entry that runs assist backup").option("--every <duration>", "Cadence to run the backup (e.g. 5m, 6h)").action(
|
|
218
218
|
lazyAction(() => import("./scheduleBackup-Y6TIGJOX.js"), "scheduleBackup")
|
|
219
219
|
);
|
|
@@ -273,25 +273,25 @@ 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-OHEX6ZYA.js"), "addActivity")),
|
|
277
277
|
"/draft and /bug"
|
|
278
278
|
);
|
|
279
279
|
internalCommand(
|
|
280
280
|
cmd.command("record-slack <url>").description(
|
|
281
281
|
"Attach a Slack thread permalink to the current session's backlog item"
|
|
282
|
-
).option("--title <title>", "PR title to label the ref with").action(lazyAction(() => import("./recordSlack-
|
|
282
|
+
).option("--title <title>", "PR title to label the ref with").action(lazyAction(() => import("./recordSlack-FHEYASHQ.js"), "recordSlack")),
|
|
283
283
|
"/prs-slack"
|
|
284
284
|
);
|
|
285
285
|
}
|
|
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-QVFEIHHB.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-GW2TNHHC.js"), "associateJira"));
|
|
295
295
|
}
|
|
296
296
|
|
|
297
297
|
// src/commands/backlog/registerCloneCommand.ts
|
|
@@ -306,18 +306,18 @@ 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-NJJ5D43Q.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-LRMDQZVV.js"), "comments"));
|
|
313
|
+
cmd.command("delete-comment <id> <comment-id>").description("Delete a comment from a backlog item").action(lazyAction(() => import("./deleteCommentCmd-YL4AQSUK.js"), "deleteCommentCmd"));
|
|
314
314
|
}
|
|
315
315
|
|
|
316
316
|
// src/commands/backlog/registerExportCommand.ts
|
|
317
317
|
function registerExportCommand(cmd) {
|
|
318
318
|
cmd.command("export [file]").description(
|
|
319
319
|
"Export every table in the backlog database (discovered by introspection) to a file, or stdout if omitted"
|
|
320
|
-
).action(lazyAction(() => import("./exportBacklog-
|
|
320
|
+
).action(lazyAction(() => import("./exportBacklog-TU3ZS5OA.js"), "exportBacklog"));
|
|
321
321
|
}
|
|
322
322
|
|
|
323
323
|
// src/commands/backlog/registerImportCommand.ts
|
|
@@ -325,13 +325,20 @@ function registerImportCommand(cmd) {
|
|
|
325
325
|
cmd.command("import [file]").description(
|
|
326
326
|
"Restore every table in a dump back into the backlog database, in foreign-key-safe order, from a file or stdin if omitted (destructive)"
|
|
327
327
|
).option("-y, --yes", "Skip the confirmation prompt").action(
|
|
328
|
-
async (file, options) => (await import("./importBacklog-
|
|
328
|
+
async (file, options) => (await import("./importBacklog-ZDEMGYEO.js")).importBacklog(file, options)
|
|
329
329
|
);
|
|
330
330
|
}
|
|
331
331
|
|
|
332
332
|
// src/commands/backlog/propose/proposeHelpText.ts
|
|
333
333
|
var proposeHelpText = `The payload is strict JSON: { name, type, description?, acceptanceCriteria?, phases? }.
|
|
334
|
-
Each phase is { name, tasks, manualChecks? } and needs at least one task.
|
|
334
|
+
Each phase is { name, tasks, manualChecks?, dependsOn? } and needs at least one task.
|
|
335
|
+
|
|
336
|
+
dependsOn lists the earlier phase numbers a phase needs, e.g. [2]. Leave it out
|
|
337
|
+
and the phase waits for the previous one. Give it when a phase only needs an
|
|
338
|
+
earlier phase, not the one right before it, so independent phases can run side
|
|
339
|
+
by side; [] means it needs no earlier phase. Only mark phases independent when
|
|
340
|
+
they touch different code and neither needs the other's changes. Entries must
|
|
341
|
+
name earlier phases: forward or self references are rejected.
|
|
335
342
|
|
|
336
343
|
The Review phase is owned by the runner and appended to every plan automatically,
|
|
337
344
|
so it must not be authored: a phase named "Review" is rejected. Do not add a final
|
|
@@ -350,7 +357,7 @@ function registerProposeCommand(cmd) {
|
|
|
350
357
|
"--confirmed",
|
|
351
358
|
"Create the item after its draft has been reviewed in chat (agent use outside a web session)"
|
|
352
359
|
).addHelpText("after", `
|
|
353
|
-
${proposeHelpText}`).action(lazyAction(() => import("./propose-
|
|
360
|
+
${proposeHelpText}`).action(lazyAction(() => import("./propose-YTLU3KGQ.js"), "propose")),
|
|
354
361
|
"/draft and /bug"
|
|
355
362
|
);
|
|
356
363
|
}
|
|
@@ -360,11 +367,11 @@ function registerItemCommands(cmd) {
|
|
|
360
367
|
cmd.command("list").alias("ls").description("List all backlog items").option(
|
|
361
368
|
"--status <type>",
|
|
362
369
|
"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-
|
|
370
|
+
).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-WAWI262A.js"), "list"));
|
|
364
371
|
cmd.command("add").description("Add a new backlog item").option("--name <name>", "Item name").option("--type <type>", "Item type (story or bug)").option(
|
|
365
372
|
"--desc <description>",
|
|
366
373
|
String.raw`Item description (Markdown supported; use \n for line breaks)`
|
|
367
|
-
).option("--ac <criterion...>", "Acceptance criteria (repeatable)").action(lazyAction(() => import("./add-
|
|
374
|
+
).option("--ac <criterion...>", "Acceptance criteria (repeatable)").action(lazyAction(() => import("./add-P5FQT5OP.js"), "add"));
|
|
368
375
|
registerProposeCommand(cmd);
|
|
369
376
|
cmd.command("add-phase <id> <name>").description("Add a phase to an existing backlog item").option("--task <task...>", "Task description (repeatable)").option(
|
|
370
377
|
"--manual-check <check...>",
|
|
@@ -372,7 +379,10 @@ function registerItemCommands(cmd) {
|
|
|
372
379
|
).option(
|
|
373
380
|
"--position <position>",
|
|
374
381
|
"1-indexed position to insert at (default: append)"
|
|
375
|
-
).
|
|
382
|
+
).option(
|
|
383
|
+
"--depends-on <phase...>",
|
|
384
|
+
"Earlier phase numbers this phase waits for (default: the previous phase; pass none for no dependencies)"
|
|
385
|
+
).action(lazyAction(() => import("./addPhase-J7HNEAJD.js"), "addPhase"));
|
|
376
386
|
}
|
|
377
387
|
|
|
378
388
|
// src/commands/backlog/registerLinkCommands.ts
|
|
@@ -381,8 +391,8 @@ function registerLinkCommands(cmd) {
|
|
|
381
391
|
"--type <type>",
|
|
382
392
|
"Link type (relates-to or depends-on)",
|
|
383
393
|
"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-
|
|
394
|
+
).action(lazyAction(() => import("./link-5IOLILGN.js"), "link"));
|
|
395
|
+
cmd.command("unlink <from> <to>").description("Remove a link between two backlog items").action(lazyAction(() => import("./unlink-CNFMKO6F.js"), "unlink"));
|
|
386
396
|
}
|
|
387
397
|
|
|
388
398
|
// src/commands/backlog/registerMoveRepoCommand.ts
|
|
@@ -390,14 +400,14 @@ function registerMoveRepoCommand(cmd) {
|
|
|
390
400
|
cmd.command("move-repo <old-origin> [new-origin]").description(
|
|
391
401
|
"Retag all items from one origin to another after a repo rename (new origin defaults to the current repo's remote)"
|
|
392
402
|
).option("-y, --yes", "Skip the confirmation prompt").action(
|
|
393
|
-
async (oldOrigin, newOrigin, options) => (await import("./moveRepo-
|
|
403
|
+
async (oldOrigin, newOrigin, options) => (await import("./moveRepo-JDI4TTGH.js")).moveRepo(oldOrigin, newOrigin, options)
|
|
394
404
|
);
|
|
395
405
|
}
|
|
396
406
|
|
|
397
407
|
// src/commands/backlog/registerNextCommand.ts
|
|
398
408
|
function registerNextCommand(cmd) {
|
|
399
409
|
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-
|
|
410
|
+
async (id, opts) => (await import("./next-V6SDUR7R.js")).next(
|
|
401
411
|
{ allowEdits: opts.write !== false, once: opts.once },
|
|
402
412
|
id
|
|
403
413
|
)
|
|
@@ -406,9 +416,9 @@ function registerNextCommand(cmd) {
|
|
|
406
416
|
|
|
407
417
|
// src/commands/backlog/registerPlanCommands.ts
|
|
408
418
|
function registerPlanCommands(cmd) {
|
|
409
|
-
cmd.command("plan <id>").description("Display the plan for a backlog item").action(lazyAction(() => import("./plan-
|
|
419
|
+
cmd.command("plan <id>").description("Display the plan for a backlog item").action(lazyAction(() => import("./plan-6OBSLR2L.js"), "plan"));
|
|
410
420
|
internalCommand(
|
|
411
|
-
cmd.command("phase-done <id> <phase> <summary>").description("Signal that a plan phase is complete").action(lazyAction(() => import("./phaseDone-
|
|
421
|
+
cmd.command("phase-done <id> <phase> <summary>").description("Signal that a plan phase is complete").action(lazyAction(() => import("./phaseDone-GDPMXG35.js"), "phaseDone")),
|
|
412
422
|
"the agent running each phase of a backlog run"
|
|
413
423
|
);
|
|
414
424
|
}
|
|
@@ -420,7 +430,7 @@ function registerRefineCommand(cmd) {
|
|
|
420
430
|
"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
431
|
).action(
|
|
422
432
|
async (id, opts) => {
|
|
423
|
-
const { refine: backlogRefine } = await import("./refine-
|
|
433
|
+
const { refine: backlogRefine } = await import("./refine-L2SLU4TB.js");
|
|
424
434
|
const { resolveHarness } = await import("./resolveHarness-QYMRJB2R.js");
|
|
425
435
|
return backlogRefine(id, {
|
|
426
436
|
once: opts.once,
|
|
@@ -443,7 +453,7 @@ function registerDocsScreenshotsCommand(cmd) {
|
|
|
443
453
|
collect
|
|
444
454
|
).action(
|
|
445
455
|
lazyAction(
|
|
446
|
-
() => import("./docsScreenshots-
|
|
456
|
+
() => import("./docsScreenshots-TEZGWAMN.js"),
|
|
447
457
|
"docsScreenshots"
|
|
448
458
|
)
|
|
449
459
|
);
|
|
@@ -453,13 +463,13 @@ function registerDocsScreenshotsCommand(cmd) {
|
|
|
453
463
|
function registerRefreshDocsCommand(cmd) {
|
|
454
464
|
cmd.command("refresh-docs").description(
|
|
455
465
|
"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)"
|
|
456
|
-
).action(lazyAction(() => import("./refreshDocs-
|
|
466
|
+
).action(lazyAction(() => import("./refreshDocs-BZWK2KC7.js"), "refreshDocs"));
|
|
457
467
|
registerDocsScreenshotsCommand(cmd);
|
|
458
468
|
}
|
|
459
469
|
|
|
460
470
|
// src/commands/backlog/registerRewindCommand.ts
|
|
461
471
|
function registerRewindCommand(cmd) {
|
|
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-
|
|
472
|
+
cmd.command("rewind <id> <phase>").description("Rewind a backlog item to an earlier phase").requiredOption("--reason <reason>", "Reason for rewinding").action(lazyAction(() => import("./rewindPhase-2HPPVR3L.js"), "rewindPhase"));
|
|
463
473
|
}
|
|
464
474
|
|
|
465
475
|
// src/commands/backlog/registerRunCommand.ts
|
|
@@ -478,7 +488,7 @@ function registerRunCommand(cmd) {
|
|
|
478
488
|
const { pullIfConfigured } = await import("./pullIfConfigured-6OBLC7BO.js");
|
|
479
489
|
const { resolveHarness } = await import("./resolveHarness-QYMRJB2R.js");
|
|
480
490
|
const { resolveModel } = await import("./resolveModel-D5DWMB7O.js");
|
|
481
|
-
const { run: backlogRun } = await import("./run-
|
|
491
|
+
const { run: backlogRun } = await import("./run-ZG6I4ADW.js");
|
|
482
492
|
if (!opts.resumeSession) await pullIfConfigured();
|
|
483
493
|
const harness = resolveHarness(opts.harness, "run");
|
|
484
494
|
await backlogRun(id, {
|
|
@@ -494,24 +504,24 @@ function registerRunCommand(cmd) {
|
|
|
494
504
|
|
|
495
505
|
// src/commands/backlog/registerSearchCommand.ts
|
|
496
506
|
function registerSearchCommand(cmd) {
|
|
497
|
-
cmd.command("search <query>").description("Search backlog items by keyword").action(lazyAction(() => import("./search-
|
|
507
|
+
cmd.command("search <query>").description("Search backlog items by keyword").action(lazyAction(() => import("./search-6LVWZ73V.js"), "search"));
|
|
498
508
|
}
|
|
499
509
|
|
|
500
510
|
// src/commands/backlog/registerStatusCommands.ts
|
|
501
511
|
function registerStatusCommands(cmd) {
|
|
502
|
-
cmd.command("start <id>").description("Set a backlog item to in-progress").action(lazyAction(() => import("./start-
|
|
503
|
-
cmd.command("stop").description("Revert all in-progress backlog items to todo").action(lazyAction(() => import("./stop-
|
|
512
|
+
cmd.command("start <id>").description("Set a backlog item to in-progress").action(lazyAction(() => import("./start-OHKYHOYJ.js"), "start"));
|
|
513
|
+
cmd.command("stop").description("Revert all in-progress backlog items to todo").action(lazyAction(() => import("./stop-3IPI3CAG.js"), "stop"));
|
|
504
514
|
internalCommand(
|
|
505
|
-
cmd.command("done <id> [summary]").description("Set a backlog item to done").action(lazyAction(() => import("./done-
|
|
515
|
+
cmd.command("done <id> [summary]").description("Set a backlog item to done").action(lazyAction(() => import("./done-YX4Z354K.js"), "done")),
|
|
506
516
|
"the review phase of a backlog run"
|
|
507
517
|
);
|
|
508
|
-
cmd.command("wontdo <id> [reason]").description("Set a backlog item to won't do").action(lazyAction(() => import("./wontdo-
|
|
518
|
+
cmd.command("wontdo <id> [reason]").description("Set a backlog item to won't do").action(lazyAction(() => import("./wontdo-HMW5Y7ER.js"), "wontdo"));
|
|
509
519
|
cmd.command("set-status <id> <status>").description(
|
|
510
520
|
"Set a backlog item to a specific status (todo, in-progress, done, wontdo)"
|
|
511
|
-
).action(lazyAction(() => import("./setStatusCommand-
|
|
512
|
-
cmd.command("star <id>").description("Star a backlog item to pin it in the web view").action(lazyAction(() => import("./star-
|
|
513
|
-
cmd.command("unstar <id>").description("Remove the star from a backlog item").action(lazyAction(() => import("./unstar-
|
|
514
|
-
cmd.command("delete <id>").alias("remove").description("Delete a backlog item").action(lazyAction(() => import("./del-
|
|
521
|
+
).action(lazyAction(() => import("./setStatusCommand-DERSLTKL.js"), "setStatusCommand"));
|
|
522
|
+
cmd.command("star <id>").description("Star a backlog item to pin it in the web view").action(lazyAction(() => import("./star-3TUER5YU.js"), "star"));
|
|
523
|
+
cmd.command("unstar <id>").description("Remove the star from a backlog item").action(lazyAction(() => import("./unstar-CIOYWFYS.js"), "unstar"));
|
|
524
|
+
cmd.command("delete <id>").alias("remove").description("Delete a backlog item").action(lazyAction(() => import("./del-2G7FLCPI.js"), "del"));
|
|
515
525
|
}
|
|
516
526
|
|
|
517
527
|
// src/commands/backlog/registerUpdatePhaseCommand.ts
|
|
@@ -527,7 +537,7 @@ function registerUpdatePhaseCommand(cmd) {
|
|
|
527
537
|
).option(
|
|
528
538
|
"--edit-check <n> <text...>",
|
|
529
539
|
"Replace manual check n (1-based) in place"
|
|
530
|
-
).option("--remove-check <n>", "Remove manual check n (1-based)").action(lazyAction(() => import("./updatePhase-
|
|
540
|
+
).option("--remove-check <n>", "Remove manual check n (1-based)").action(lazyAction(() => import("./updatePhase-TR27Y3ZD.js"), "updatePhase"));
|
|
531
541
|
}
|
|
532
542
|
|
|
533
543
|
// src/commands/backlog/registerUpdateFieldCommand.ts
|
|
@@ -550,7 +560,7 @@ function registerUpdateFieldCommand(cmd) {
|
|
|
550
560
|
).option("--remove-ac <n>", "Remove acceptance criterion n (1-based)").option(
|
|
551
561
|
"--origin [origin]",
|
|
552
562
|
"Retag the item to a different repo (origin URL or key, normalized); with no value, retags to the current repo's origin"
|
|
553
|
-
).action(lazyAction(() => import("./update-
|
|
563
|
+
).action(lazyAction(() => import("./update-GFEO2PVL.js"), "update")),
|
|
554
564
|
"/refine"
|
|
555
565
|
);
|
|
556
566
|
}
|
|
@@ -559,19 +569,19 @@ function registerUpdateFieldCommand(cmd) {
|
|
|
559
569
|
function registerUpdateCommands(cmd) {
|
|
560
570
|
registerUpdateFieldCommand(cmd);
|
|
561
571
|
registerUpdatePhaseCommand(cmd);
|
|
562
|
-
cmd.command("remove-phase <id> <phase>").description("Remove a plan phase from a backlog item").action(lazyAction(() => import("./removePhase-
|
|
572
|
+
cmd.command("remove-phase <id> <phase>").description("Remove a plan phase from a backlog item").action(lazyAction(() => import("./removePhase-JDSLXH2O.js"), "removePhase"));
|
|
563
573
|
internalCommand(
|
|
564
574
|
cmd.command("update-plan <id>").description(
|
|
565
575
|
"Replace an item's whole plan from a JSON payload, previewed and applied in one approval"
|
|
566
576
|
).requiredOption(
|
|
567
577
|
"--json <file|->",
|
|
568
|
-
"Path to a JSON payload of { phases: [{ name, tasks, manualChecks }] }, or - to read it from stdin"
|
|
569
|
-
).action(lazyAction(() => import("./updatePlan-
|
|
578
|
+
"Path to a JSON payload of { phases: [{ name, tasks, manualChecks?, dependsOn? }] }, or - to read it from stdin"
|
|
579
|
+
).action(lazyAction(() => import("./updatePlan-VEYFU6RR.js"), "updatePlan")),
|
|
570
580
|
"/refine"
|
|
571
581
|
);
|
|
572
582
|
cmd.command("move-phase <id> <from> <to>").description(
|
|
573
583
|
"Reorder a plan phase from one 1-based position to another, moving its tasks with it"
|
|
574
|
-
).action(lazyAction(() => import("./movePhase-
|
|
584
|
+
).action(lazyAction(() => import("./movePhase-4NND5MPI.js"), "movePhase"));
|
|
575
585
|
}
|
|
576
586
|
|
|
577
587
|
// src/commands/backlog/registerShowCommands.ts
|
|
@@ -579,12 +589,12 @@ function registerShowCommands(cmd) {
|
|
|
579
589
|
cmd.command("show <id>").alias("view").description("Show full detail for a backlog item").option(
|
|
580
590
|
"--all-commits",
|
|
581
591
|
"Show every commit in Activity instead of the newest 10"
|
|
582
|
-
).action(lazyAction(() => import("./show-
|
|
592
|
+
).action(lazyAction(() => import("./show-UXHLUY5T.js"), "show"));
|
|
583
593
|
}
|
|
584
594
|
|
|
585
595
|
// src/commands/registerBacklog.ts
|
|
586
596
|
function registerWebCommand(cmd) {
|
|
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-
|
|
597
|
+
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-LF6STSEO.js"), "web"));
|
|
588
598
|
}
|
|
589
599
|
var registrars = [
|
|
590
600
|
registerItemCommands,
|
|
@@ -614,7 +624,7 @@ function registerBacklog(program) {
|
|
|
614
624
|
const { setBacklogDir } = await import("./getBacklogDir-XYQGRILZ.js");
|
|
615
625
|
setBacklogDir(thisCommand.opts().dir);
|
|
616
626
|
}).action(
|
|
617
|
-
async (options) => (await import("./web-
|
|
627
|
+
async (options) => (await import("./web-LF6STSEO.js")).web({ port: "3100", open: options.open })
|
|
618
628
|
);
|
|
619
629
|
for (const register of registrars) {
|
|
620
630
|
register(cmd);
|
|
@@ -631,7 +641,7 @@ function registerBranch(program) {
|
|
|
631
641
|
"--from <ref>",
|
|
632
642
|
"base the branch off <ref> verbatim (local branch, tag, or origin/*) instead of the fresh remote default"
|
|
633
643
|
).action(
|
|
634
|
-
async (slug, options) => (await import("./branch-
|
|
644
|
+
async (slug, options) => (await import("./branch-XA5WFZNE.js")).branch(slug, options)
|
|
635
645
|
);
|
|
636
646
|
internalCommand(branchCommand, "/branch");
|
|
637
647
|
configHelp(
|
|
@@ -653,13 +663,13 @@ function registerDeny(parent) {
|
|
|
653
663
|
// src/commands/registerCliHook.ts
|
|
654
664
|
function registerCliHook(program) {
|
|
655
665
|
const cmd = program.command("cli-hook").description("PreToolUse hook for auto-approving read-only CLI commands").action(async () => {
|
|
656
|
-
const { cliHook } = await import("./cliHook-
|
|
666
|
+
const { cliHook } = await import("./cliHook-2ST26IMO.js");
|
|
657
667
|
cliHook();
|
|
658
668
|
});
|
|
659
669
|
internalCommand(cmd, "the PreToolUse hook on shell commands and reads");
|
|
660
670
|
configHelp(cmd, cliHookConfigHelp);
|
|
661
671
|
cmd.command("check <command>").description("Check whether a command would be auto-approved").option("--tool <tool>", "Tool name to check against", "Bash").action(async (command, options) => {
|
|
662
|
-
const { cliHookCheck } = await import("./cliHookCheck-
|
|
672
|
+
const { cliHookCheck } = await import("./cliHookCheck-HBD5OUON.js");
|
|
663
673
|
cliHookCheck(command, options.tool);
|
|
664
674
|
});
|
|
665
675
|
cmd.command("add").description("Discover a CLI's commands and auto-permit read-only ones").argument(
|
|
@@ -710,7 +720,7 @@ function registerCodexHook(program) {
|
|
|
710
720
|
internalCommand(
|
|
711
721
|
program.command("codex-hook").description(
|
|
712
722
|
"Codex hook: auto-approves read-only CLI commands (PreToolUse/PermissionRequest) and reports session status (running/waiting) to the sessions daemon"
|
|
713
|
-
).action(lazyAction(() => import("./codexHook-
|
|
723
|
+
).action(lazyAction(() => import("./codexHook-2XECBV2W.js"), "codexHook")),
|
|
714
724
|
"Codex's hooks"
|
|
715
725
|
);
|
|
716
726
|
internalCommand(
|
|
@@ -736,7 +746,7 @@ function registerCommit(program) {
|
|
|
736
746
|
"Add a Ref: trailer carrying free text with a URL (repeatable)",
|
|
737
747
|
collectRef,
|
|
738
748
|
[]
|
|
739
|
-
).action(lazyAction(() => import("./commit-
|
|
749
|
+
).action(lazyAction(() => import("./commit-DLOZJVLG.js"), "commit"));
|
|
740
750
|
internalCommand(commitCommand, "/commit");
|
|
741
751
|
configHelp(commitCommand, rootConfigHelp.commit);
|
|
742
752
|
}
|
|
@@ -782,13 +792,13 @@ function registerConfigWrites(configCommand) {
|
|
|
782
792
|
).option("--node", "Write to user (node): this node's ~/.assist.yml").option(
|
|
783
793
|
"-u, --user",
|
|
784
794
|
"Write to user (db): the shared db, applied to every repo on every node"
|
|
785
|
-
).action(lazyAction(() => import("./configSet-
|
|
795
|
+
).action(lazyAction(() => import("./configSet-FWJ4CODG.js"), "configSet"));
|
|
786
796
|
configCommand.command("unset [key]").description(
|
|
787
797
|
"Remove a config value (e.g. commit.push); with no scope flag it removes it from repo (git), this repo's assist.yml"
|
|
788
798
|
).option(
|
|
789
799
|
"-r, --repo [name]",
|
|
790
800
|
"Remove from repo (db): a repo's override in the shared db (defaults to the current repo)"
|
|
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-
|
|
801
|
+
).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-ASENBQ2W.js"), "configUnset"));
|
|
792
802
|
}
|
|
793
803
|
|
|
794
804
|
// src/commands/registerConfig.ts
|
|
@@ -803,19 +813,19 @@ function registerConfig(program) {
|
|
|
803
813
|
"Move this machine's ~/.assist.yml repos: overrides into the shared db, showing a per-key diff and asking first"
|
|
804
814
|
).action(
|
|
805
815
|
lazyAction(
|
|
806
|
-
() => import("./configImportRepos-
|
|
816
|
+
() => import("./configImportRepos-WNBZW2SW.js"),
|
|
807
817
|
"configImportRepos"
|
|
808
818
|
)
|
|
809
819
|
);
|
|
810
820
|
configCommand.command("import-user [keys...]").description(
|
|
811
821
|
"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"
|
|
812
822
|
).action(
|
|
813
|
-
async (keys) => (await import("./configImportUser-
|
|
823
|
+
async (keys) => (await import("./configImportUser-3EJW5CN7.js")).configImportUser(keys)
|
|
814
824
|
);
|
|
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-
|
|
825
|
+
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-IBOCGBBD.js"), "configGet"));
|
|
816
826
|
configCommand.command("list").description(
|
|
817
827
|
"List the config values that are set (secrets print as <hidden>); see 'config keys' for every key"
|
|
818
|
-
).action(lazyAction(() => import("./configList-
|
|
828
|
+
).action(lazyAction(() => import("./configList-YHRABWEH.js"), "configList"));
|
|
819
829
|
configCommand.command("keys [filter]").description(
|
|
820
830
|
"List every config key with its default, note and setter (filter narrows by key substring)"
|
|
821
831
|
).action(lazyAction(() => import("./configKeys-UMNRPWU4.js"), "configKeys"));
|
|
@@ -927,7 +937,7 @@ function registerExtension(program) {
|
|
|
927
937
|
).action(async (options) => {
|
|
928
938
|
const { extension } = await import("./extension-YYRD5EM6.js");
|
|
929
939
|
const { printExtensionUrl } = await import("./printExtensionUrl-IW2WTSNS.js");
|
|
930
|
-
const { signExtension } = await import("./signExtension-
|
|
940
|
+
const { signExtension } = await import("./signExtension-LGZST4CY.js");
|
|
931
941
|
if (options.url) return printExtensionUrl();
|
|
932
942
|
return options.sign ? signExtension() : extension();
|
|
933
943
|
});
|
|
@@ -938,10 +948,10 @@ function registerDb(program) {
|
|
|
938
948
|
const db = program.command("db").description("Inspect and apply the backlog database migrations");
|
|
939
949
|
db.command("migrate").description(
|
|
940
950
|
`Apply pending migrations in order (build ships up to migration ${latestMigrationId})`
|
|
941
|
-
).action(lazyAction(() => import("./migrate-
|
|
951
|
+
).action(lazyAction(() => import("./migrate-K5YH6RKI.js"), "migrate"));
|
|
942
952
|
db.command("status").description(
|
|
943
953
|
"Report whether the database is in sync, behind, or ahead of this build"
|
|
944
|
-
).action(lazyAction(() => import("./status-
|
|
954
|
+
).action(lazyAction(() => import("./status-N53C3FDN.js"), "status"));
|
|
945
955
|
db.command("drop-retired").description(
|
|
946
956
|
"Drop retired tables left by removed features, after confirming each"
|
|
947
957
|
).action(async () => {
|
|
@@ -965,7 +975,7 @@ function registerDevlogEntryCommands(devlogCommand) {
|
|
|
965
975
|
).option("-v, --verbose", "Show file names for each commit").action(lazyAction(() => import("./next-AFRVBOAC.js"), "next"));
|
|
966
976
|
devlogCommand.command("skip <week>").description(
|
|
967
977
|
"Add an ISO week (YYYY-Www) to this repo's repo (db) devlog.skipWeeks"
|
|
968
|
-
).action(async (week) => (await import("./skip-
|
|
978
|
+
).action(async (week) => (await import("./skip-5OBBOOP6.js")).skip(week));
|
|
969
979
|
internalCommand(
|
|
970
980
|
devlogCommand.command("write").description(
|
|
971
981
|
"Write a dev entry from JSON on stdin (week, title, versions, aiGenerated, added/changed/fixed, lede)"
|
|
@@ -976,7 +986,7 @@ function registerDevlogEntryCommands(devlogCommand) {
|
|
|
976
986
|
devlogCommand.command("slack [week]").description(
|
|
977
987
|
"List un-posted dev entries oldest first, or preview one week as a Slack parent message plus a threaded Added/Changed/Fixed reply, printing the channel and approved paths"
|
|
978
988
|
).action(
|
|
979
|
-
async (week) => (await import("./slack-
|
|
989
|
+
async (week) => (await import("./slack-TW6ZQ6OA.js")).slack(week)
|
|
980
990
|
),
|
|
981
991
|
"/devlog"
|
|
982
992
|
);
|
|
@@ -1017,13 +1027,13 @@ function registerDocs(parent) {
|
|
|
1017
1027
|
internalCommand(
|
|
1018
1028
|
docs.command("unlock").description(
|
|
1019
1029
|
"Page a human with a pin to unlock docs changes for this session's backlog item phase"
|
|
1020
|
-
).action(lazyAction(() => import("./docsUnlock-
|
|
1030
|
+
).action(lazyAction(() => import("./docsUnlock-3BAUJLMS.js"), "docsUnlock")),
|
|
1021
1031
|
calledBy2
|
|
1022
1032
|
);
|
|
1023
1033
|
internalCommand(
|
|
1024
1034
|
docs.command("confirm").description(
|
|
1025
1035
|
"Confirm a pin from 'docs unlock' to approve docs changes for that backlog item phase"
|
|
1026
|
-
).argument("<pin>", "Pin issued by 'docs unlock'").action(lazyAction(() => import("./docsConfirm-
|
|
1036
|
+
).argument("<pin>", "Pin issued by 'docs unlock'").action(lazyAction(() => import("./docsConfirm-DFZJQYBN.js"), "docsConfirm")),
|
|
1027
1037
|
calledBy2
|
|
1028
1038
|
);
|
|
1029
1039
|
}
|
|
@@ -1038,7 +1048,7 @@ function registerSchema(parent) {
|
|
|
1038
1048
|
schema.command("unlock").description(
|
|
1039
1049
|
"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"
|
|
1040
1050
|
).action(
|
|
1041
|
-
lazyAction(() => import("./schemaUnlock-
|
|
1051
|
+
lazyAction(() => import("./schemaUnlock-XUE63IVW.js"), "schemaUnlock")
|
|
1042
1052
|
),
|
|
1043
1053
|
calledBy3
|
|
1044
1054
|
);
|
|
@@ -1046,7 +1056,7 @@ function registerSchema(parent) {
|
|
|
1046
1056
|
schema.command("confirm").description(
|
|
1047
1057
|
"Confirm a pin from 'schema unlock' to approve schema changes for that item phase or Claude session"
|
|
1048
1058
|
).argument("<pin>", "Pin issued by 'schema unlock'").action(
|
|
1049
|
-
lazyAction(() => import("./schemaConfirm-
|
|
1059
|
+
lazyAction(() => import("./schemaConfirm-5VA5T4OG.js"), "schemaConfirm")
|
|
1050
1060
|
),
|
|
1051
1061
|
calledBy3
|
|
1052
1062
|
);
|
|
@@ -1078,7 +1088,7 @@ function registerEditHook(program) {
|
|
|
1078
1088
|
program.command("edit-hook").description(
|
|
1079
1089
|
"PreToolUse hook that blocks edits to the maintainability override marker and edits that introduce code comments"
|
|
1080
1090
|
).action(async () => {
|
|
1081
|
-
const { editHook } = await import("./editHook-
|
|
1091
|
+
const { editHook } = await import("./editHook-7MXP7Y27.js");
|
|
1082
1092
|
editHook();
|
|
1083
1093
|
}),
|
|
1084
1094
|
"the PreToolUse hook on file edits"
|
|
@@ -1143,7 +1153,7 @@ function registerCommentIssue(issueCommand) {
|
|
|
1143
1153
|
).action(
|
|
1144
1154
|
async (number, options) => {
|
|
1145
1155
|
const { readBodyArgument } = await import("./readBodyArgument-WHNTOBUE.js");
|
|
1146
|
-
const { commentIssue } = await import("./commentIssue-
|
|
1156
|
+
const { commentIssue } = await import("./commentIssue-4IYYW234.js");
|
|
1147
1157
|
await commentIssue(number, {
|
|
1148
1158
|
...options,
|
|
1149
1159
|
body: options.body ? await readBodyArgument(options.body) : void 0
|
|
@@ -1193,7 +1203,7 @@ The reviewer may also drop or paste screenshots or video into the pane; on appro
|
|
|
1193
1203
|
--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.
|
|
1194
1204
|
A bare --parent number is read against --repo, or the current repo; a parent in another repository is allowed.
|
|
1195
1205
|
The project scope is needed for --project: gh auth refresh -h github.com -s project`
|
|
1196
|
-
).action(lazyAction(() => import("./createIssue-
|
|
1206
|
+
).action(lazyAction(() => import("./createIssue-FGHP6XJV.js"), "createIssue"));
|
|
1197
1207
|
internalCommand(createCommand, "/github create");
|
|
1198
1208
|
}
|
|
1199
1209
|
|
|
@@ -1217,7 +1227,7 @@ function registerEditIssue(issueCommand) {
|
|
|
1217
1227
|
).addHelpText(
|
|
1218
1228
|
"after",
|
|
1219
1229
|
"\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."
|
|
1220
|
-
).action(lazyAction(() => import("./editIssue-
|
|
1230
|
+
).action(lazyAction(() => import("./editIssue-CO6C7M54.js"), "editIssue"));
|
|
1221
1231
|
internalCommand(editCommand, "/github");
|
|
1222
1232
|
}
|
|
1223
1233
|
|
|
@@ -1234,7 +1244,7 @@ function registerEditIssueComment(issueCommand) {
|
|
|
1234
1244
|
).action(
|
|
1235
1245
|
async (commentId, options) => {
|
|
1236
1246
|
const { readBodyArgument } = await import("./readBodyArgument-WHNTOBUE.js");
|
|
1237
|
-
const { editIssueComment } = await import("./editIssueComment-
|
|
1247
|
+
const { editIssueComment } = await import("./editIssueComment-MMW2F4TM.js");
|
|
1238
1248
|
await editIssueComment(commentId, {
|
|
1239
1249
|
...options,
|
|
1240
1250
|
body: options.body ? await readBodyArgument(options.body) : void 0
|
|
@@ -1312,8 +1322,8 @@ function registerInbox(program) {
|
|
|
1312
1322
|
"--harness <kind>",
|
|
1313
1323
|
"Harness to scan with; defaults to Claude. Exits with the reasons, before spawning, when the inbox scan is unavailable on it (it needs read-only Gmail and Slack connectors and a tool allow-list)"
|
|
1314
1324
|
).choices(Object.keys(harnesses))
|
|
1315
|
-
).action(lazyAction(() => import("./scan-
|
|
1316
|
-
inboxCommand.command("list").description("List flagged inbox messages, newest first").action(lazyAction(() => import("./list-
|
|
1325
|
+
).action(lazyAction(() => import("./scan-5OUOOZUA.js"), "scan"));
|
|
1326
|
+
inboxCommand.command("list").description("List flagged inbox messages, newest first").action(lazyAction(() => import("./list-4VNSG33V.js"), "list"));
|
|
1317
1327
|
configHelp(inboxCommand, inboxConfigHelp);
|
|
1318
1328
|
}
|
|
1319
1329
|
|
|
@@ -1335,7 +1345,7 @@ var HARNESS_FLAG = "Coding harness to launch (claude|codex|pi); defaults to the
|
|
|
1335
1345
|
function registerRefineLaunch(program, resumeFlag) {
|
|
1336
1346
|
const command = program.command("refine").argument("[id]", "Backlog item ID").description(
|
|
1337
1347
|
"Launch a coding harness in /refine mode to refine a backlog item"
|
|
1338
|
-
).option("--once", "Exit when the initial task completes").option("--resume-session <id>", resumeFlag).option("--harness <kind>", HARNESS_FLAG).action(lazyAction(() => import("./runRefine-
|
|
1348
|
+
).option("--once", "Exit when the initial task completes").option("--resume-session <id>", resumeFlag).option("--harness <kind>", HARNESS_FLAG).action(lazyAction(() => import("./runRefine-UU3WQE34.js"), "runRefine"));
|
|
1339
1349
|
configHelp(command, harnessConfigHelp);
|
|
1340
1350
|
}
|
|
1341
1351
|
|
|
@@ -1349,7 +1359,7 @@ function registerFixConflict(program, resumeFlag) {
|
|
|
1349
1359
|
).action(
|
|
1350
1360
|
async (number, options) => {
|
|
1351
1361
|
const { resolveHarness } = await import("./resolveHarness-QYMRJB2R.js");
|
|
1352
|
-
const { fixConflict } = await import("./fixConflict-
|
|
1362
|
+
const { fixConflict } = await import("./fixConflict-DLGWJZOT.js");
|
|
1353
1363
|
return fixConflict(number, {
|
|
1354
1364
|
rebase: options.rebase,
|
|
1355
1365
|
resumeSessionId: options.resumeSession,
|
|
@@ -1376,7 +1386,7 @@ function registerReviewPrComments(program, resumeFlag) {
|
|
|
1376
1386
|
).action(
|
|
1377
1387
|
async (number, opts) => {
|
|
1378
1388
|
const { resolveHarness } = await import("./resolveHarness-QYMRJB2R.js");
|
|
1379
|
-
const { reviewPrComments } = await import("./reviewPrComments-
|
|
1389
|
+
const { reviewPrComments } = await import("./reviewPrComments-53PFIBRN.js");
|
|
1380
1390
|
return reviewPrComments(number, {
|
|
1381
1391
|
announce: opts.announce,
|
|
1382
1392
|
auto: opts.auto,
|
|
@@ -1398,7 +1408,7 @@ function registerDescriptionLaunch(program, name, slashCommand, description, fea
|
|
|
1398
1408
|
"--model <model>",
|
|
1399
1409
|
`Model to launch the harness with; defaults to harness.defaults.${name}.model while the ${name} type's harness is used`
|
|
1400
1410
|
).option("--no-model", "Launch with the harness's own default model").action(async (text, opts) => {
|
|
1401
|
-
const { launchMode } = await import("./launchMode-
|
|
1411
|
+
const { launchMode } = await import("./launchMode-BB4BVLDY.js");
|
|
1402
1412
|
const { resolveHarness } = await import("./resolveHarness-QYMRJB2R.js");
|
|
1403
1413
|
const { resolveModel } = await import("./resolveModel-D5DWMB7O.js");
|
|
1404
1414
|
const harness = resolveHarness(opts.harness, name);
|
|
@@ -1419,7 +1429,7 @@ function registerDescriptionLaunch(program, name, slashCommand, description, fea
|
|
|
1419
1429
|
var RESUME_SESSION_FLAG = "Resume an interrupted harness session by its conversation id (used by the sessions daemon on restart)";
|
|
1420
1430
|
function registerNext(program) {
|
|
1421
1431
|
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(
|
|
1422
|
-
async (id, opts) => (await import("./next-
|
|
1432
|
+
async (id, opts) => (await import("./next-V6SDUR7R.js")).next(
|
|
1423
1433
|
{ allowEdits: true, once: opts.once },
|
|
1424
1434
|
id
|
|
1425
1435
|
)
|
|
@@ -1455,7 +1465,7 @@ function registerList(program) {
|
|
|
1455
1465
|
"--status <type>",
|
|
1456
1466
|
"Filter by status (todo, in-progress, done, wontdo)"
|
|
1457
1467
|
).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) => {
|
|
1458
|
-
const { list: backlogList } = await import("./list-
|
|
1468
|
+
const { list: backlogList } = await import("./list-WAWI262A.js");
|
|
1459
1469
|
const { setBacklogDir } = await import("./getBacklogDir-XYQGRILZ.js");
|
|
1460
1470
|
setBacklogDir(options.dir);
|
|
1461
1471
|
return backlogList(options);
|
|
@@ -1514,7 +1524,7 @@ function registerMiro(program) {
|
|
|
1514
1524
|
"-r, --repo [name]",
|
|
1515
1525
|
"Save the extract to repo (db), a repo's shared db override (defaults to the current repo)"
|
|
1516
1526
|
).action(
|
|
1517
|
-
async (name, options) => (await import("./runExtract-
|
|
1527
|
+
async (name, options) => (await import("./runExtract-XYFMOU3N.js")).runExtract(name, options)
|
|
1518
1528
|
);
|
|
1519
1529
|
configHelp(
|
|
1520
1530
|
extract,
|
|
@@ -1544,9 +1554,9 @@ function registerNetcap(program) {
|
|
|
1544
1554
|
// src/commands/registerNews.ts
|
|
1545
1555
|
function registerNews(program) {
|
|
1546
1556
|
const newsCommand = program.command("news").description("Manage RSS news feeds");
|
|
1547
|
-
newsCommand.command("add").description("Add an RSS feed URL to news.feeds").argument("<url>", "RSS feed URL").action(lazyAction(() => import("./add-
|
|
1548
|
-
newsCommand.command("list").description("List the RSS feed URLs in news.feeds").action(lazyAction(() => import("./list-
|
|
1549
|
-
newsCommand.command("remove").description("Remove an RSS feed URL from news.feeds").argument("<url>", "RSS feed URL").action(lazyAction(() => import("./remove-
|
|
1557
|
+
newsCommand.command("add").description("Add an RSS feed URL to news.feeds").argument("<url>", "RSS feed URL").action(lazyAction(() => import("./add-2UGDXA57.js"), "add"));
|
|
1558
|
+
newsCommand.command("list").description("List the RSS feed URLs in news.feeds").action(lazyAction(() => import("./list-X6NRZS23.js"), "list"));
|
|
1559
|
+
newsCommand.command("remove").description("Remove an RSS feed URL from news.feeds").argument("<url>", "RSS feed URL").action(lazyAction(() => import("./remove-WPVTCWEZ.js"), "remove"));
|
|
1550
1560
|
configHelp(newsCommand, newsConfigHelp);
|
|
1551
1561
|
}
|
|
1552
1562
|
|
|
@@ -1556,7 +1566,7 @@ function registerPiHook(program) {
|
|
|
1556
1566
|
program.command("pi-hook").description(
|
|
1557
1567
|
"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"
|
|
1558
1568
|
).action(async () => {
|
|
1559
|
-
const { piHook } = await import("./piHook-
|
|
1569
|
+
const { piHook } = await import("./piHook-IJBECGXG.js");
|
|
1560
1570
|
piHook();
|
|
1561
1571
|
}),
|
|
1562
1572
|
"assist's pi permission-gate extension"
|
|
@@ -1585,7 +1595,7 @@ function registerPrsThreadReplies(prsCommand, calledBy5) {
|
|
|
1585
1595
|
"Reply with reason and resolve thread (reason of - reads it from stdin)"
|
|
1586
1596
|
).action(async (commentId, reason) => {
|
|
1587
1597
|
const { readBodyArgument } = await import("./readBodyArgument-WHNTOBUE.js");
|
|
1588
|
-
const { wontfix: prsWontfix } = await import("./wontfix-
|
|
1598
|
+
const { wontfix: prsWontfix } = await import("./wontfix-ORNEHNPO.js");
|
|
1589
1599
|
await prsWontfix(
|
|
1590
1600
|
Number.parseInt(commentId, 10),
|
|
1591
1601
|
await readBodyArgument(reason)
|
|
@@ -1598,7 +1608,7 @@ function registerPrsThreadReplies(prsCommand, calledBy5) {
|
|
|
1598
1608
|
"Reply to a comment thread without resolving it (body of - reads it from stdin)"
|
|
1599
1609
|
).action(async (commentId, body) => {
|
|
1600
1610
|
const { readBodyArgument } = await import("./readBodyArgument-WHNTOBUE.js");
|
|
1601
|
-
const { reply: prsReply } = await import("./reply-
|
|
1611
|
+
const { reply: prsReply } = await import("./reply-GTYV733P.js");
|
|
1602
1612
|
await prsReply(
|
|
1603
1613
|
Number.parseInt(commentId, 10),
|
|
1604
1614
|
await readBodyArgument(body)
|
|
@@ -1624,7 +1634,7 @@ function registerPrsComments(prsCommand) {
|
|
|
1624
1634
|
prsCommand.command("comment <path> <line> <body>").description(
|
|
1625
1635
|
"Add a line comment to the pending review (body of - reads it from stdin)"
|
|
1626
1636
|
).action(async (path, line, body) => {
|
|
1627
|
-
const { comment: prsComment } = await import("./comment-
|
|
1637
|
+
const { comment: prsComment } = await import("./comment-O7CAONH7.js");
|
|
1628
1638
|
const { readBodyArgument } = await import("./readBodyArgument-WHNTOBUE.js");
|
|
1629
1639
|
await prsComment(
|
|
1630
1640
|
path,
|
|
@@ -1681,7 +1691,7 @@ function registerPrsEdit(prsCommand) {
|
|
|
1681
1691
|
"Attach a screenshot as '[Group/]Caption=path', replacing the ## Screenshots section (repeatable)",
|
|
1682
1692
|
collect5,
|
|
1683
1693
|
[]
|
|
1684
|
-
).addHelpText("after", () => editHelpText()).action(lazyAction(() => import("./edit-
|
|
1694
|
+
).addHelpText("after", () => editHelpText()).action(lazyAction(() => import("./edit-Z4L64CLH.js"), "edit"));
|
|
1685
1695
|
internalCommand(editCommand, "agents revising their pull request");
|
|
1686
1696
|
}
|
|
1687
1697
|
|
|
@@ -1744,7 +1754,7 @@ function registerPrsRaise(prsCommand) {
|
|
|
1744
1754
|
lazyHelpText(
|
|
1745
1755
|
raiseCommand,
|
|
1746
1756
|
async () => (await import("./raiseHelpText-7RW5RK7I.js")).raiseHelpText
|
|
1747
|
-
).action(lazyAction(() => import("./raise-
|
|
1757
|
+
).action(lazyAction(() => import("./raise-GPFJCJ2J.js"), "raise"));
|
|
1748
1758
|
internalCommand(raiseCommand, "/pr");
|
|
1749
1759
|
configHelp(raiseCommand, prsRaiseConfigHelp);
|
|
1750
1760
|
}
|
|
@@ -1854,7 +1864,7 @@ function registerReleases(parent) {
|
|
|
1854
1864
|
"git"
|
|
1855
1865
|
).action(
|
|
1856
1866
|
lazyAction(
|
|
1857
|
-
() => import("./releasesConfigure-
|
|
1867
|
+
() => import("./releasesConfigure-XVR5KROD.js"),
|
|
1858
1868
|
"releasesConfigure"
|
|
1859
1869
|
)
|
|
1860
1870
|
),
|
|
@@ -2015,7 +2025,7 @@ function registerReview(program) {
|
|
|
2015
2025
|
addReviewModeOptions(addReviewRunOptions(reviewCommand)).action(
|
|
2016
2026
|
async (number, options) => {
|
|
2017
2027
|
const { resolveHarness } = await import("./resolveHarness-QYMRJB2R.js");
|
|
2018
|
-
const { review } = await import("./review-
|
|
2028
|
+
const { review } = await import("./review-CWFH4LHV.js");
|
|
2019
2029
|
return review({
|
|
2020
2030
|
...options,
|
|
2021
2031
|
number,
|
|
@@ -2053,7 +2063,7 @@ function registerRulesAdd(rulesCommand) {
|
|
|
2053
2063
|
"--repo [name]",
|
|
2054
2064
|
"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"
|
|
2055
2065
|
).action(async (text, options) => {
|
|
2056
|
-
const { rulesAdd } = await import("./rulesAdd-
|
|
2066
|
+
const { rulesAdd } = await import("./rulesAdd-FJN36QFV.js");
|
|
2057
2067
|
return rulesAdd(text, options);
|
|
2058
2068
|
}),
|
|
2059
2069
|
"/add-rule and /fix-rules"
|
|
@@ -2106,7 +2116,7 @@ function registerShow(program) {
|
|
|
2106
2116
|
internalCommand(
|
|
2107
2117
|
program.command("show").description(
|
|
2108
2118
|
"Open markdown in the session's web preview pane so long links, paths and snippets can be clicked and copied unbroken; prints it outside a web session"
|
|
2109
|
-
).option("--title <title>", "Pane title").requiredOption("--body <markdown|->", "Markdown to show, or - for stdin").action(lazyAction(() => import("./show-
|
|
2119
|
+
).option("--title <title>", "Pane title").requiredOption("--body <markdown|->", "Markdown to show, or - for stdin").action(lazyAction(() => import("./show-XE6EEDNK.js"), "show")),
|
|
2110
2120
|
"/show"
|
|
2111
2121
|
);
|
|
2112
2122
|
}
|
|
@@ -2169,7 +2179,7 @@ function registerSlack(program) {
|
|
|
2169
2179
|
).action(
|
|
2170
2180
|
async (channel, options) => {
|
|
2171
2181
|
const { readBodyArgument } = await import("./readBodyArgument-WHNTOBUE.js");
|
|
2172
|
-
const { postSlackMessage } = await import("./postSlackMessage-
|
|
2182
|
+
const { postSlackMessage } = await import("./postSlackMessage-7L6NMG56.js");
|
|
2173
2183
|
await postSlackMessage(channel, {
|
|
2174
2184
|
...options,
|
|
2175
2185
|
body: options.body ? await readBodyArgument(options.body) : void 0
|
|
@@ -2355,12 +2365,12 @@ var checks = [
|
|
|
2355
2365
|
{
|
|
2356
2366
|
name: "migrations",
|
|
2357
2367
|
description: "Check DB migrations are sequentially numbered, append-only, and gate destructive DDL behind an acknowledgement marker",
|
|
2358
|
-
load: async () => (await import("./migrations-
|
|
2368
|
+
load: async () => (await import("./migrations-HHPF74F6.js")).migrations
|
|
2359
2369
|
},
|
|
2360
2370
|
{
|
|
2361
2371
|
name: "harness-follow-ups",
|
|
2362
2372
|
description: "Check every follow-up item named by an unsupported harness capability exists and is still open",
|
|
2363
|
-
load: async () => (await import("./harnessFollowUps-
|
|
2373
|
+
load: async () => (await import("./harnessFollowUps-BRGKMTFL.js")).harnessFollowUps
|
|
2364
2374
|
}
|
|
2365
2375
|
];
|
|
2366
2376
|
function registerVerifyChecks(verifyCommand) {
|
|
@@ -2559,13 +2569,13 @@ function registerRunAdd(runCommand) {
|
|
|
2559
2569
|
).option(
|
|
2560
2570
|
"--repo [name]",
|
|
2561
2571
|
"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)"
|
|
2562
|
-
).addHelpText("after", runAddHelpText).allowUnknownOption().allowExcessArguments().action(lazyAction(() => import("./add-
|
|
2572
|
+
).addHelpText("after", runAddHelpText).allowUnknownOption().allowExcessArguments().action(lazyAction(() => import("./add-FRBOEDUG.js"), "add"));
|
|
2563
2573
|
}
|
|
2564
2574
|
|
|
2565
2575
|
// src/commands/run/registerRunSubcommands.ts
|
|
2566
2576
|
function registerRunSubcommands(runCommand) {
|
|
2567
2577
|
runCommand.command("list").description("List configured run commands").option("-v, --verbose", "Show full command details").action(
|
|
2568
|
-
async (opts) => (await import("./run-
|
|
2578
|
+
async (opts) => (await import("./run-5TXKCHOJ.js")).listRunConfigs(!!opts.verbose)
|
|
2569
2579
|
);
|
|
2570
2580
|
registerRunAdd(runCommand);
|
|
2571
2581
|
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-G2QPYOHO.js"), "link"));
|
|
@@ -2574,7 +2584,7 @@ function registerRunSubcommands(runCommand) {
|
|
|
2574
2584
|
).argument("<name>", "Name of the run configuration to remove").option(
|
|
2575
2585
|
"--repo [name]",
|
|
2576
2586
|
"Remove from a repo's override in the shared db instead of assist.yml (defaults to the current repo)"
|
|
2577
|
-
).action(lazyAction(() => import("./remove-
|
|
2587
|
+
).action(lazyAction(() => import("./remove-DKQPUMN5.js"), "remove"));
|
|
2578
2588
|
}
|
|
2579
2589
|
|
|
2580
2590
|
// src/commands/run/registerRun.ts
|
|
@@ -2586,7 +2596,7 @@ function registerRun(program) {
|
|
|
2586
2596
|
lazyHelpText(
|
|
2587
2597
|
runCommand,
|
|
2588
2598
|
async () => (await import("./formatConfiguredCommands-XTP2DUCW.js")).formatConfiguredCommands
|
|
2589
|
-
).action(lazyAction(() => import("./run-
|
|
2599
|
+
).action(lazyAction(() => import("./run-5TXKCHOJ.js"), "run"));
|
|
2590
2600
|
configHelp(runCommand, runConfigHelp);
|
|
2591
2601
|
registerRunSubcommands(runCommand);
|
|
2592
2602
|
}
|
|
@@ -2596,7 +2606,7 @@ function registerDaemon(program) {
|
|
|
2596
2606
|
const cmd = program.command("daemon").description("Long-lived daemon that owns web session PTYs");
|
|
2597
2607
|
cmd.command("run").description(
|
|
2598
2608
|
"Run the sessions daemon in the foreground (auto-spawned by assist sessions)"
|
|
2599
|
-
).action(lazyAction(() => import("./runDaemon-
|
|
2609
|
+
).action(lazyAction(() => import("./runDaemon-SX4R3YEQ.js"), "runDaemon"));
|
|
2600
2610
|
cmd.command("status").description(
|
|
2601
2611
|
"Show sessions daemon status, live sessions, and any stray daemon processes"
|
|
2602
2612
|
).action(lazyAction(() => import("./daemonStatus-EAZHBC6O.js"), "daemonStatus"));
|
|
@@ -2620,7 +2630,7 @@ function registerDiagnoseCommands(nodes, calledBy5) {
|
|
|
2620
2630
|
nodes.command("doctor [name]").description(
|
|
2621
2631
|
"Probe each hop of every link (or one) in order and stop at the first failure with a remediation"
|
|
2622
2632
|
).option("--json", "Output as JSON").action(
|
|
2623
|
-
async (name, _options, command) => (await import("./doctorNodes-
|
|
2633
|
+
async (name, _options, command) => (await import("./doctorNodes-U4BZ2NQI.js")).doctorNodes(
|
|
2624
2634
|
name,
|
|
2625
2635
|
command.optsWithGlobals()
|
|
2626
2636
|
)
|
|
@@ -2650,14 +2660,14 @@ function registerPeerActionCommands(nodes, calledBy5) {
|
|
|
2650
2660
|
internalCommand(
|
|
2651
2661
|
nodes.command("restart <name>").description(
|
|
2652
2662
|
"Restart a linked node's daemon and/or web server, wait for its link to reconnect and print its version"
|
|
2653
|
-
).option("--target <target>", "daemon, webserver or both", "both").action(lazyAction(() => import("./restartNode-
|
|
2663
|
+
).option("--target <target>", "daemon, webserver or both", "both").action(lazyAction(() => import("./restartNode-YZDNDY6D.js"), "restartNode")),
|
|
2654
2664
|
calledBy5
|
|
2655
2665
|
);
|
|
2656
2666
|
internalCommand(
|
|
2657
2667
|
nodes.command("update <name>").description(
|
|
2658
2668
|
"Run assist update on a linked node, restart it, wait for its link to reconnect and print its version"
|
|
2659
2669
|
).action(
|
|
2660
|
-
async (name) => (await import("./updateNode-
|
|
2670
|
+
async (name) => (await import("./updateNode-2FAOTXLN.js")).updateNode(name)
|
|
2661
2671
|
),
|
|
2662
2672
|
calledBy5
|
|
2663
2673
|
);
|
|
@@ -2720,7 +2730,7 @@ function registerSetStatusCommand(cmd) {
|
|
|
2720
2730
|
// src/commands/sessions/registerSessionsWeb.ts
|
|
2721
2731
|
function registerSessionsWeb(cmd) {
|
|
2722
2732
|
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(
|
|
2723
|
-
async (options, command) => (await import("./web-
|
|
2733
|
+
async (options, command) => (await import("./web-KGQROIGX.js")).web({
|
|
2724
2734
|
...options,
|
|
2725
2735
|
open: command.optsWithGlobals().open
|
|
2726
2736
|
})
|
|
@@ -2735,7 +2745,7 @@ function registerSessionsWeb(cmd) {
|
|
|
2735
2745
|
// src/commands/sessions/registerSessions.ts
|
|
2736
2746
|
function registerSessions(program) {
|
|
2737
2747
|
const cmd = program.command("sessions").description("Web dashboard for coding agent sessions").option("--no-open", "Do not open a browser on startup").action(
|
|
2738
|
-
async (_options, command) => (await import("./web-
|
|
2748
|
+
async (_options, command) => (await import("./web-KGQROIGX.js")).web({
|
|
2739
2749
|
port: "3100",
|
|
2740
2750
|
open: command.optsWithGlobals().open
|
|
2741
2751
|
})
|