@namzu/cli 57.1.0 → 59.0.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/CHANGELOG.md +247 -0
- package/README.md +5 -5
- package/dist/bin-main.d.ts.map +1 -1
- package/dist/bin.js +1 -1
- package/dist/boot-narrative.d.ts.map +1 -1
- package/dist/browser/control.d.ts +19 -2
- package/dist/browser/control.d.ts.map +1 -1
- package/dist/chunks/{acp-DEH76VXL.js → acp-AQUZCZSO.js} +581 -212
- package/dist/chunks/acp-AQUZCZSO.js.map +6 -0
- package/dist/chunks/{activity-command-GETWRD67.js → activity-command-Y3A6GIFW.js} +14 -15
- package/dist/chunks/activity-command-Y3A6GIFW.js.map +6 -0
- package/dist/chunks/{add-XFYJ6UZE.js → add-DWFKSOYI.js} +42 -38
- package/dist/chunks/add-DWFKSOYI.js.map +6 -0
- package/dist/chunks/{agent-FW4VC2AF.js → agent-Z6PJYBAO.js} +63 -48
- package/dist/chunks/agent-session-WXWW7E5M.js +92 -0
- package/dist/chunks/{apply-at-exit-OU2UXZCF.js → apply-at-exit-SHGR2BAB.js} +9 -9
- package/dist/chunks/{apply-at-exit-OU2UXZCF.js.map → apply-at-exit-SHGR2BAB.js.map} +1 -1
- package/dist/chunks/{archive-PA5MDKXC.js → archive-KYXU4AZZ.js} +16 -13
- package/dist/chunks/archive-KYXU4AZZ.js.map +6 -0
- package/dist/chunks/auth-R3RCZZ7U.js +242 -0
- package/dist/chunks/auth-R3RCZZ7U.js.map +6 -0
- package/dist/chunks/{bin-main-RH4NLAPK.js → bin-main-DUZFYUCJ.js} +51 -23
- package/dist/chunks/bin-main-DUZFYUCJ.js.map +6 -0
- package/dist/chunks/{binding-ON644UJ3.js → binding-5UJYMFMU.js} +3 -3
- package/dist/chunks/browser-7CFZ6BZS.js +76 -0
- package/dist/chunks/browser-7CFZ6BZS.js.map +6 -0
- package/dist/chunks/{chat-UNZSJZ6U.js → chat-BELD32ZP.js} +17 -18
- package/dist/chunks/chat-BELD32ZP.js.map +6 -0
- package/dist/chunks/{chunk-IMXTM75Q.js → chunk-23D5IXMW.js} +3 -3
- package/dist/chunks/{chunk-PYYDU2BC.js → chunk-24EZWZDZ.js} +6 -6
- package/dist/chunks/{chunk-WDROVY6V.js → chunk-2EVP6BX4.js} +2 -2
- package/dist/chunks/{chunk-M4XYHIA3.js → chunk-2KC52MDS.js} +2 -2
- package/dist/chunks/{chunk-GVWDNFIP.js → chunk-2VP2Q657.js} +3 -3
- package/dist/chunks/{chunk-Z6LUWKV4.js → chunk-3ETXWTV4.js} +8 -8
- package/dist/chunks/{chunk-3Z5OXTDI.js → chunk-3PH6F6Z3.js} +3 -3
- package/dist/chunks/{chunk-7T56MZIJ.js → chunk-3RLKUXXG.js} +24 -23
- package/dist/chunks/{chunk-7T56MZIJ.js.map → chunk-3RLKUXXG.js.map} +1 -1
- package/dist/chunks/{chunk-6MQHDX7R.js → chunk-44MFZJ24.js} +32 -5
- package/dist/chunks/chunk-44MFZJ24.js.map +6 -0
- package/dist/chunks/{chunk-LGPOJEZK.js → chunk-4BAXYUZQ.js} +51 -17
- package/dist/chunks/chunk-4BAXYUZQ.js.map +6 -0
- package/dist/chunks/{chunk-GWLUXO4O.js → chunk-4RW7GDJ4.js} +2 -2
- package/dist/chunks/{chunk-PJF46DI6.js → chunk-4TIUY3Q6.js} +15 -5
- package/dist/chunks/chunk-4TIUY3Q6.js.map +6 -0
- package/dist/chunks/{chunk-NP4BQ7SB.js → chunk-4TJ7AGQO.js} +2 -2
- package/dist/chunks/{chunk-Y62WSR5N.js → chunk-567CSU37.js} +8 -8
- package/dist/chunks/{chunk-DGV6YSAW.js → chunk-5HMJ3DYR.js} +4 -4
- package/dist/chunks/{chunk-6CI5CHBT.js → chunk-5JVKE4LB.js} +7765 -2889
- package/dist/chunks/chunk-5JVKE4LB.js.map +6 -0
- package/dist/chunks/chunk-5OYJXSMZ.js +34 -0
- package/dist/chunks/chunk-5OYJXSMZ.js.map +6 -0
- package/dist/chunks/{chunk-DT6PTS6H.js → chunk-6CSJRIUZ.js} +3 -3
- package/dist/chunks/{chunk-HEFLKPCT.js → chunk-6IOZY2AB.js} +41 -7
- package/dist/chunks/chunk-6IOZY2AB.js.map +6 -0
- package/dist/chunks/{chunk-R37C3PDS.js → chunk-6YXHH5JW.js} +5 -5
- package/dist/chunks/{chunk-R37C3PDS.js.map → chunk-6YXHH5JW.js.map} +1 -1
- package/dist/chunks/chunk-73HWWJYC.js +130 -0
- package/dist/chunks/chunk-73HWWJYC.js.map +6 -0
- package/dist/chunks/{chunk-5YTGRS7U.js → chunk-7J23SPSX.js} +7 -7
- package/dist/chunks/{chunk-LDU7AFNZ.js → chunk-7LDUPEXP.js} +25 -6
- package/dist/chunks/chunk-7LDUPEXP.js.map +6 -0
- package/dist/chunks/chunk-7Y4RR47U.js +197 -0
- package/dist/chunks/chunk-7Y4RR47U.js.map +6 -0
- package/dist/chunks/{chunk-SIG7WHBU.js → chunk-7YC42EXB.js} +5 -1
- package/dist/chunks/{chunk-SIG7WHBU.js.map → chunk-7YC42EXB.js.map} +1 -1
- package/dist/chunks/{chunk-ORSFP3ZC.js → chunk-ABKURT35.js} +36 -12
- package/dist/chunks/{chunk-ORSFP3ZC.js.map → chunk-ABKURT35.js.map} +1 -1
- package/dist/chunks/{chunk-SM6UI33D.js → chunk-ACO3LTRT.js} +8 -4
- package/dist/chunks/{chunk-SM6UI33D.js.map → chunk-ACO3LTRT.js.map} +1 -1
- package/dist/chunks/{chunk-SKFBM6OJ.js → chunk-AEXGGJUW.js} +5 -5
- package/dist/chunks/{chunk-BXAUUC2B.js → chunk-AIQKSTVJ.js} +4 -4
- package/dist/chunks/{chunk-6IWJ6JC6.js → chunk-ATCVFWXD.js} +476 -135
- package/dist/chunks/chunk-ATCVFWXD.js.map +6 -0
- package/dist/chunks/{chunk-3HT7FQNG.js → chunk-CEZW3NVM.js} +4 -4
- package/dist/chunks/{chunk-KUIATFLN.js → chunk-CG5CGXNF.js} +2 -2
- package/dist/chunks/{chunk-HENM67TJ.js → chunk-CNSKJ3DZ.js} +2 -2
- package/dist/chunks/{chunk-W6UOMYDX.js → chunk-CQFWLYTK.js} +2 -2
- package/dist/chunks/{chunk-DMHE6X3Y.js → chunk-D35UCVTK.js} +12 -40
- package/dist/chunks/chunk-D35UCVTK.js.map +6 -0
- package/dist/chunks/{chunk-FNEQ77RJ.js → chunk-D3SCA6NT.js} +102 -5
- package/dist/chunks/chunk-D3SCA6NT.js.map +6 -0
- package/dist/chunks/{chunk-7BF4FLOP.js → chunk-D6XZ4ZAV.js} +76 -17
- package/dist/chunks/chunk-D6XZ4ZAV.js.map +6 -0
- package/dist/chunks/{chunk-M5LA652U.js → chunk-DGYMR4WJ.js} +4 -4
- package/dist/chunks/{chunk-ABELB4VO.js → chunk-DJKWBSVM.js} +2 -2
- package/dist/chunks/{chunk-HIHHTWEU.js → chunk-DJTCZSSY.js} +2 -2
- package/dist/chunks/{chunk-VV6DYTFU.js → chunk-DKSFQRUM.js} +5 -5
- package/dist/chunks/{chunk-ETBXU3OK.js → chunk-DRWJTADQ.js} +6 -6
- package/dist/chunks/{chunk-ETBXU3OK.js.map → chunk-DRWJTADQ.js.map} +1 -1
- package/dist/chunks/{chunk-SHFB4DZP.js → chunk-E4RVHFV6.js} +2 -2
- package/dist/chunks/{chunk-NV7RJBWA.js → chunk-E65IWYTT.js} +6 -6
- package/dist/chunks/{chunk-N4YYJGMW.js → chunk-E6FMAE5Q.js} +11 -10
- package/dist/chunks/{chunk-N4YYJGMW.js.map → chunk-E6FMAE5Q.js.map} +1 -1
- package/dist/chunks/{chunk-PI5ZZQVH.js → chunk-EA6YICQ7.js} +3 -3
- package/dist/chunks/{chunk-JR6EFL7G.js → chunk-EGGO56FY.js} +2 -1
- package/dist/chunks/{chunk-TBKSDYS4.js → chunk-ESIICAI3.js} +3 -3
- package/dist/chunks/{chunk-MOMSIAV4.js → chunk-FEOS7UZ2.js} +2 -2
- package/dist/chunks/{chunk-AZXIYYVX.js → chunk-FK5C7SHM.js} +172 -34
- package/dist/chunks/chunk-FK5C7SHM.js.map +6 -0
- package/dist/chunks/{chunk-JDWCVWIQ.js → chunk-FMQCPAKR.js} +3 -3
- package/dist/chunks/{chunk-2JFRYOBC.js → chunk-FRGOWO6N.js} +11 -9
- package/dist/chunks/chunk-FRGOWO6N.js.map +6 -0
- package/dist/chunks/{chunk-2AEWJA4Y.js → chunk-G5LPTLLY.js} +4 -4
- package/dist/chunks/{chunk-2AEWJA4Y.js.map → chunk-G5LPTLLY.js.map} +1 -1
- package/dist/chunks/chunk-G76POTWW.js +188 -0
- package/dist/chunks/chunk-G76POTWW.js.map +6 -0
- package/dist/chunks/{chunk-2ZPB4ZBP.js → chunk-GEVWZWLM.js} +3 -3
- package/dist/chunks/chunk-GQ6WXY3M.js +435 -0
- package/dist/chunks/chunk-GQ6WXY3M.js.map +6 -0
- package/dist/chunks/{chunk-5ZPCQ2HL.js → chunk-GUK47JTV.js} +21 -7
- package/dist/chunks/chunk-GUK47JTV.js.map +6 -0
- package/dist/chunks/{chunk-4DNEDLBT.js → chunk-HGTOAMV6.js} +2444 -1383
- package/dist/chunks/chunk-HGTOAMV6.js.map +6 -0
- package/dist/chunks/{chunk-WSQAVWIV.js → chunk-HW2QBNAA.js} +13 -13
- package/dist/chunks/{chunk-ZR3VZG37.js → chunk-IJ6Z6FNY.js} +7 -186
- package/dist/chunks/chunk-IJ6Z6FNY.js.map +6 -0
- package/dist/chunks/{chunk-DOLGKZC5.js → chunk-IRAG3YXW.js} +5 -3
- package/dist/chunks/{chunk-77AYLILT.js → chunk-J5E4DV6R.js} +3 -3
- package/dist/chunks/{chunk-6TCZN54R.js → chunk-JPM3JXZB.js} +3 -3
- package/dist/chunks/{chunk-6BTNPDXR.js → chunk-JRWUIW4J.js} +2 -2
- package/dist/chunks/{chunk-3EH4PF5T.js → chunk-JUDJGDYX.js} +228 -5
- package/dist/chunks/chunk-JUDJGDYX.js.map +6 -0
- package/dist/chunks/chunk-JZTTOZRG.js +167 -0
- package/dist/chunks/chunk-JZTTOZRG.js.map +6 -0
- package/dist/chunks/{chunk-CKYGPQVJ.js → chunk-KBLYZ7L7.js} +3 -3
- package/dist/chunks/{chunk-6MGRBXCW.js → chunk-KETRBV2E.js} +2 -2
- package/dist/chunks/{chunk-C7ZKC7HY.js → chunk-KHGY6QJR.js} +160 -19
- package/dist/chunks/chunk-KHGY6QJR.js.map +6 -0
- package/dist/chunks/{chunk-RSO4LBHJ.js → chunk-KPOOM7QT.js} +7 -7
- package/dist/chunks/{chunk-WCAKWRZU.js → chunk-KVNL7XA6.js} +3 -3
- package/dist/chunks/{chunk-4LSSJKYK.js → chunk-LB4HC5U7.js} +19 -4
- package/dist/chunks/{chunk-4LSSJKYK.js.map → chunk-LB4HC5U7.js.map} +1 -1
- package/dist/chunks/{chunk-4PFTZNS5.js → chunk-LWJJDERP.js} +3 -3
- package/dist/chunks/{chunk-2P2PDEZJ.js → chunk-LXJW3ZYI.js} +24 -16
- package/dist/chunks/chunk-LXJW3ZYI.js.map +6 -0
- package/dist/chunks/{chunk-LGVEASS7.js → chunk-MDBUSIPW.js} +9 -8
- package/dist/chunks/{chunk-LGVEASS7.js.map → chunk-MDBUSIPW.js.map} +1 -1
- package/dist/chunks/{chunk-763RT6Z5.js → chunk-MDVYEFTI.js} +2 -2
- package/dist/chunks/{chunk-DROVNI2Y.js → chunk-MF57EX7H.js} +3 -3
- package/dist/chunks/{chunk-J6QCR3SC.js → chunk-MF5KTVGJ.js} +15 -15
- package/dist/chunks/{chunk-XF243FQN.js → chunk-MRZHTIE7.js} +21 -6
- package/dist/chunks/chunk-MRZHTIE7.js.map +6 -0
- package/dist/chunks/{chunk-S7YXINNY.js → chunk-O2PZDA5H.js} +3 -3
- package/dist/chunks/{chunk-PK7M7VIU.js → chunk-OA7QKUCM.js} +13 -13
- package/dist/chunks/{chunk-MY6JV4BT.js → chunk-OH7EYW3T.js} +7 -9
- package/dist/chunks/chunk-OH7EYW3T.js.map +6 -0
- package/dist/chunks/{chunk-GJ6NI7JL.js → chunk-OOJP5BEK.js} +408 -50
- package/dist/chunks/chunk-OOJP5BEK.js.map +6 -0
- package/dist/chunks/{chunk-JCH7IWMU.js → chunk-OQWLQUO7.js} +3680 -877
- package/dist/chunks/chunk-OQWLQUO7.js.map +6 -0
- package/dist/chunks/{chunk-LXK7S2I2.js → chunk-OSC47PCX.js} +157 -11
- package/dist/chunks/chunk-OSC47PCX.js.map +6 -0
- package/dist/chunks/{chunk-ZDGKFGVE.js → chunk-P4TCLMD6.js} +2 -2
- package/dist/chunks/{chunk-WYBLTKBR.js → chunk-P725GKKG.js} +17 -20
- package/dist/chunks/{chunk-WYBLTKBR.js.map → chunk-P725GKKG.js.map} +1 -1
- package/dist/chunks/{chunk-IZYYWNP2.js → chunk-PFVYYH6O.js} +2 -2
- package/dist/chunks/{chunk-RP5HOVOW.js → chunk-PKFXIWVX.js} +4 -4
- package/dist/chunks/{chunk-ZWP5L7BV.js → chunk-PQT7624W.js} +8 -8
- package/dist/chunks/{chunk-DRKCWJPR.js → chunk-Q6PZODSV.js} +26 -13
- package/dist/chunks/chunk-Q6PZODSV.js.map +6 -0
- package/dist/chunks/{chunk-FEP2R3XI.js → chunk-QTHG6UPU.js} +2 -2
- package/dist/chunks/{chunk-MMJ6UURB.js → chunk-QZTTIL3A.js} +3 -3
- package/dist/chunks/chunk-RHJOIAFS.js +201 -0
- package/dist/chunks/chunk-RHJOIAFS.js.map +6 -0
- package/dist/chunks/{chunk-LWAGZIEA.js → chunk-RZKIZTPA.js} +2 -2
- package/dist/chunks/{chunk-QTQIHFYH.js → chunk-S7FE35WQ.js} +3 -3
- package/dist/chunks/{chunk-233CEYFX.js → chunk-SS6IJAPA.js} +2 -2
- package/dist/chunks/chunk-SSPHAILP.js +39 -0
- package/dist/chunks/chunk-SSPHAILP.js.map +6 -0
- package/dist/chunks/{chunk-5C6XCI24.js → chunk-TORIEDBN.js} +4 -4
- package/dist/chunks/{chunk-6E4TDPXP.js → chunk-TP7DRQXE.js} +25 -7
- package/dist/chunks/chunk-TP7DRQXE.js.map +6 -0
- package/dist/chunks/{chunk-OZ55WTNZ.js → chunk-TRRKG642.js} +3 -3
- package/dist/chunks/{dist-NUCTP67R.js → chunk-TYNAB5GR.js} +351 -46
- package/dist/chunks/chunk-TYNAB5GR.js.map +6 -0
- package/dist/chunks/{chunk-D5N3SDNF.js → chunk-UFGLSUGU.js} +25 -25
- package/dist/chunks/{list-2QV773EI.js → chunk-UL6MZ5OM.js} +87 -60
- package/dist/chunks/chunk-UL6MZ5OM.js.map +6 -0
- package/dist/chunks/{chunk-RYLQH5BB.js → chunk-VE4XIWDW.js} +3 -3
- package/dist/chunks/{chunk-GPP4OXHP.js → chunk-VJHENTNB.js} +2 -2
- package/dist/chunks/{chunk-3ZHOM2L7.js → chunk-VL6Z2OMG.js} +15 -63
- package/dist/chunks/chunk-VL6Z2OMG.js.map +6 -0
- package/dist/chunks/{chunk-6TF24TFD.js → chunk-VSNV3U2B.js} +57 -9
- package/dist/chunks/chunk-VSNV3U2B.js.map +6 -0
- package/dist/chunks/{chunk-PPCKNQOQ.js → chunk-W4S4ZBXX.js} +15 -11
- package/dist/chunks/chunk-W4S4ZBXX.js.map +6 -0
- package/dist/chunks/{chunk-AF2QPFEQ.js → chunk-W752G3FM.js} +3 -3
- package/dist/chunks/{chunk-REYJHS2X.js → chunk-WGC5DJEW.js} +106 -108
- package/dist/chunks/chunk-WGC5DJEW.js.map +6 -0
- package/dist/chunks/{chunk-FSAI4GDZ.js → chunk-WSDZIJNK.js} +11 -5
- package/dist/chunks/chunk-WSDZIJNK.js.map +6 -0
- package/dist/chunks/chunk-WW3AU2YN.js +220 -0
- package/dist/chunks/chunk-WW3AU2YN.js.map +6 -0
- package/dist/chunks/{chunk-UILPXAKQ.js → chunk-WXYRLTRY.js} +37 -14
- package/dist/chunks/chunk-WXYRLTRY.js.map +6 -0
- package/dist/chunks/{chunk-BFYETM56.js → chunk-XJALHM5Z.js} +91 -6
- package/dist/chunks/chunk-XJALHM5Z.js.map +6 -0
- package/dist/chunks/{chunk-4E2REC5O.js → chunk-XLXPPVUT.js} +2 -2
- package/dist/chunks/{chunk-BJQ7WFWL.js → chunk-XVOPQCPD.js} +35 -3
- package/dist/chunks/chunk-XVOPQCPD.js.map +6 -0
- package/dist/chunks/{chunk-NOHH27YE.js → chunk-YNWPC3HO.js} +5 -5
- package/dist/chunks/{chunk-ICIVSMA3.js → chunk-ZQGCZYAE.js} +2 -2
- package/dist/chunks/{cli-runtime-66YC7XKZ.js → cli-runtime-P6LCHPBA.js} +35 -20
- package/dist/chunks/cli-runtime-P6LCHPBA.js.map +6 -0
- package/dist/chunks/{commands-R6WIMNZG.js → commands-BNHIQVYO.js} +6 -6
- package/dist/chunks/{computer-FQRWTC6M.js → computer-6P3GAOV2.js} +15 -7
- package/dist/chunks/computer-6P3GAOV2.js.map +6 -0
- package/dist/chunks/{config-BWAJ7XDA.js → config-ZMXMX2WY.js} +20 -17
- package/dist/chunks/config-ZMXMX2WY.js.map +6 -0
- package/dist/chunks/{cost-MVUQ3UWP.js → cost-BJKADKEZ.js} +5 -5
- package/dist/chunks/{crash-report-ASOVDFQT.js → crash-report-OJHGVRD7.js} +6 -6
- package/dist/chunks/{dist-6BE2BTVP.js → dist-43XWK3LF.js} +2 -2
- package/dist/chunks/dist-4LEGETQA.js +52 -0
- package/dist/chunks/{dist-ZPPSUKEG.js → dist-4ZPDHZOX.js} +150 -2
- package/dist/chunks/{dist-SQYPEQ4A.js → dist-ADQAO5C3.js} +2 -2
- package/dist/chunks/{dist-DOHBDUFC.js → dist-BGJEX527.js} +2 -2
- package/dist/chunks/{dist-ERFNYYTR.js → dist-FMFNU4M3.js} +2 -2
- package/dist/chunks/{dist-IYSARJ7B.js → dist-NCBDELMI.js} +2 -2
- package/dist/chunks/{dist-UTQTSM32.js → dist-PMSBTFU5.js} +10 -2
- package/dist/chunks/{dist-UTQTSM32.js.map → dist-PMSBTFU5.js.map} +1 -1
- package/dist/chunks/{doctor-J2BRJDVI.js → doctor-AIYB27QY.js} +42 -41
- package/dist/chunks/{drain-TGBUG6MO.js → drain-PYKX4QNR.js} +20 -19
- package/dist/chunks/{drain-TGBUG6MO.js.map → drain-PYKX4QNR.js.map} +1 -1
- package/dist/chunks/{entry-7QM6GODJ.js → entry-HM5E7KCD.js} +6 -6
- package/dist/chunks/{eval-274GGZ3M.js → eval-H4NKZYVV.js} +12 -12
- package/dist/chunks/{eval-274GGZ3M.js.map → eval-H4NKZYVV.js.map} +1 -1
- package/dist/chunks/{exec-QOH5FQCM.js → exec-2PRVZNUX.js} +174 -65
- package/dist/chunks/exec-2PRVZNUX.js.map +6 -0
- package/dist/chunks/{extension-Y52E4FZR.js → extension-4233XOZW.js} +5 -5
- package/dist/chunks/{github-X352BD5R.js → github-IF3JVVJF.js} +5 -1
- package/dist/chunks/github-IF3JVVJF.js.map +6 -0
- package/dist/chunks/{home-OGOBLYWY.js → home-AZY7APF6.js} +3 -3
- package/dist/chunks/homes-WL6LAAY5.js +24 -0
- package/dist/chunks/{hooks-C6WM34FA.js → hooks-AK5S4YUS.js} +22 -22
- package/dist/chunks/{hooks-report-FCLN3ERK.js → hooks-report-NJLGBWN3.js} +18 -18
- package/dist/chunks/{host-FUPSAICG.js → host-SX3QC5FN.js} +10 -10
- package/dist/chunks/host-queries-HBW7AW44.js +37 -0
- package/dist/chunks/{installed-list-3Z2UYHZL.js → installed-list-44QXUJFE.js} +4 -4
- package/dist/chunks/{learn-EXNQYLI3.js → learn-LW4DLSGZ.js} +18 -18
- package/dist/chunks/{learn-builtin-C4ZAVNHA.js → learn-builtin-4RV2XDH4.js} +23 -22
- package/dist/chunks/{learn-builtin-C4ZAVNHA.js.map → learn-builtin-4RV2XDH4.js.map} +1 -1
- package/dist/chunks/{lifecycle-4ZRBSEP2.js → lifecycle-AJCHTSAF.js} +34 -34
- package/dist/chunks/list-DT7AJVPX.js +56 -0
- package/dist/chunks/{live-33QEKVAM.js → live-Z6HZFXPW.js} +41 -40
- package/dist/chunks/{load-SYMNQIDR.js → load-454TJBPW.js} +12 -10
- package/dist/chunks/{logs-IW7PYTI2.js → logs-GRUSUSL7.js} +5 -5
- package/dist/chunks/{mcp-HP3YRE3U.js → mcp-AFLRDYNN.js} +449 -61
- package/dist/chunks/mcp-AFLRDYNN.js.map +6 -0
- package/dist/chunks/mcp-serve-NNWP4IES.js +311 -0
- package/dist/chunks/mcp-serve-NNWP4IES.js.map +6 -0
- package/dist/chunks/{message-command-IFQSBBI5.js → message-command-ZR2JQBBU.js} +59 -54
- package/dist/chunks/message-command-ZR2JQBBU.js.map +6 -0
- package/dist/chunks/{open-3GVSPGUF.js → open-Z3BELFL7.js} +7 -7
- package/dist/chunks/{operator-tools-HT7UNWNK.js → operator-tools-PN3SPQ3C.js} +15 -16
- package/dist/chunks/operator-tools-PN3SPQ3C.js.map +6 -0
- package/dist/chunks/{output-schema-MKFI5PWR.js → output-schema-DSR56W6A.js} +3 -3
- package/dist/chunks/{pal-6KB3D324.js → pal-ZOH5ILEV.js} +150 -15
- package/dist/chunks/pal-ZOH5ILEV.js.map +6 -0
- package/dist/chunks/{peers-CGTVWK6B.js → peers-LXNB4QSL.js} +7 -7
- package/dist/chunks/{peers-4M45XTZO.js → peers-WINODTEB.js} +216 -34
- package/dist/chunks/peers-WINODTEB.js.map +6 -0
- package/dist/chunks/{plugin-FIVP6MGJ.js → plugin-MLHZ42NZ.js} +23 -18
- package/dist/chunks/plugin-MLHZ42NZ.js.map +6 -0
- package/dist/chunks/{providers-Z3KLRJDW.js → providers-AVECY67I.js} +10 -10
- package/dist/chunks/{providers-6634CTX7.js → providers-UOTUEQOJ.js} +22 -19
- package/dist/chunks/providers-UOTUEQOJ.js.map +6 -0
- package/dist/chunks/{pty-GMA24QAT.js → pty-GW2YC23H.js} +3 -3
- package/dist/chunks/resume-AYWSKWEX.js +25 -0
- package/dist/chunks/{resume-command-MXUIVG6T.js → resume-command-FXT3KGLC.js} +5 -5
- package/dist/chunks/{running-HYMQGZMF.js → running-3NLAODZ7.js} +4 -4
- package/dist/chunks/schedule-TTQUT45H.js +559 -0
- package/dist/chunks/schedule-TTQUT45H.js.map +6 -0
- package/dist/chunks/{send-IFZ7XPTF.js → send-FRNTRW2M.js} +19 -18
- package/dist/chunks/send-person-57F5RJA7.js +32 -0
- package/dist/chunks/{serve-CZDHGDZL.js → serve-4VIDXLEB.js} +2 -2
- package/dist/chunks/{service-Y5N7WIHV.js → service-TCKPUGL5.js} +459 -83
- package/dist/chunks/service-TCKPUGL5.js.map +6 -0
- package/dist/chunks/{setting-cli-CJMZHIMQ.js → setting-cli-HGYOIGC6.js} +13 -13
- package/dist/chunks/{skills-VSVXQTY3.js → skills-ICVGYWBH.js} +29 -25
- package/dist/chunks/skills-ICVGYWBH.js.map +6 -0
- package/dist/chunks/{start-check-MZGEYSQD.js → start-check-C5VJXVPY.js} +2 -2
- package/dist/chunks/{startup-failure-QS7O3M62.js → startup-failure-YQSEQRNQ.js} +2 -2
- package/dist/chunks/{state-IRA33PLY.js → state-2DBTSDEP.js} +560 -28
- package/dist/chunks/state-2DBTSDEP.js.map +6 -0
- package/dist/chunks/{store-5QOUJL3S.js → store-CZGKLVTT.js} +12 -13
- package/dist/chunks/{store-LIG46NWV.js → store-JJKCDY7Y.js} +6 -4
- package/dist/chunks/{store-VRWL26C2.js → store-RJZCW2MI.js} +8 -8
- package/dist/chunks/store-RJZCW2MI.js.map +6 -0
- package/dist/chunks/{store-N4CURUP2.js → store-S4BT3ESJ.js} +3 -3
- package/dist/chunks/store-S4BT3ESJ.js.map +6 -0
- package/dist/chunks/{tui-KFWUIY7N.js → tui-Q7ED7VFI.js} +110 -92
- package/dist/chunks/tui-Q7ED7VFI.js.map +6 -0
- package/dist/chunks/{upgrade-BIHZ3JJV.js → update-G7D3YCH5.js} +35 -35
- package/dist/chunks/{upgrade-BIHZ3JJV.js.map → update-G7D3YCH5.js.map} +2 -2
- package/dist/chunks/{watch-OUI2U5YK.js → watch-EON3IWRY.js} +104 -94
- package/dist/chunks/watch-EON3IWRY.js.map +6 -0
- package/dist/chunks/{workspaces-CB5DV4KR.js → workspaces-O6S2OTDL.js} +15 -20
- package/dist/chunks/workspaces-O6S2OTDL.js.map +6 -0
- package/dist/chunks/{worktree-PNG7MZV3.js → worktree-A2DNXLOT.js} +26 -23
- package/dist/chunks/worktree-A2DNXLOT.js.map +6 -0
- package/dist/cli-runtime.d.ts +3 -1
- package/dist/cli-runtime.d.ts.map +1 -1
- package/dist/cli.d.ts +15 -0
- package/dist/cli.d.ts.map +1 -1
- package/dist/commands/acp-browser-pane.d.ts +81 -0
- package/dist/commands/acp-browser-pane.d.ts.map +1 -0
- package/dist/commands/acp-desktop-question.d.ts +10 -7
- package/dist/commands/acp-desktop-question.d.ts.map +1 -1
- package/dist/commands/acp-provider-retry.d.ts +2 -1
- package/dist/commands/acp-provider-retry.d.ts.map +1 -1
- package/dist/commands/acp-screen-question.d.ts +6 -1
- package/dist/commands/acp-screen-question.d.ts.map +1 -1
- package/dist/commands/acp.d.ts +25 -1
- package/dist/commands/acp.d.ts.map +1 -1
- package/dist/commands/action-help.d.ts +37 -0
- package/dist/commands/action-help.d.ts.map +1 -0
- package/dist/commands/actions/auth.d.ts +3 -0
- package/dist/commands/actions/auth.d.ts.map +1 -0
- package/dist/commands/actions/browser.d.ts +3 -0
- package/dist/commands/actions/browser.d.ts.map +1 -0
- package/dist/commands/actions/extension.d.ts +3 -0
- package/dist/commands/actions/extension.d.ts.map +1 -0
- package/dist/commands/actions/mcp.d.ts +3 -0
- package/dist/commands/actions/mcp.d.ts.map +1 -0
- package/dist/commands/actions/pal.d.ts +3 -0
- package/dist/commands/actions/pal.d.ts.map +1 -0
- package/dist/commands/actions/peers.d.ts +3 -0
- package/dist/commands/actions/peers.d.ts.map +1 -0
- package/dist/commands/actions/schedule.d.ts +3 -0
- package/dist/commands/actions/schedule.d.ts.map +1 -0
- package/dist/commands/actions/small.d.ts +11 -0
- package/dist/commands/actions/small.d.ts.map +1 -0
- package/dist/commands/archive.d.ts.map +1 -1
- package/dist/commands/auth-status.d.ts +24 -0
- package/dist/commands/auth-status.d.ts.map +1 -0
- package/dist/commands/auth.d.ts +9 -0
- package/dist/commands/auth.d.ts.map +1 -0
- package/dist/commands/browser.d.ts.map +1 -1
- package/dist/commands/computer.d.ts.map +1 -1
- package/dist/commands/config.d.ts.map +1 -1
- package/dist/commands/desktop-host.d.ts +6 -3
- package/dist/commands/desktop-host.d.ts.map +1 -1
- package/dist/commands/drain.d.ts.map +1 -1
- package/dist/commands/exec-flags.d.ts +17 -3
- package/dist/commands/exec-flags.d.ts.map +1 -1
- package/dist/commands/exec-json.d.ts.map +1 -1
- package/dist/commands/exec.d.ts.map +1 -1
- package/dist/commands/extension.d.ts.map +1 -1
- package/dist/commands/github.d.ts.map +1 -1
- package/dist/commands/launch-extras.d.ts +49 -0
- package/dist/commands/launch-extras.d.ts.map +1 -0
- package/dist/commands/lazy.d.ts +3 -3
- package/dist/commands/lazy.d.ts.map +1 -1
- package/dist/commands/learn-builtin.d.ts.map +1 -1
- package/dist/commands/login.d.ts +1 -1
- package/dist/commands/manifest.d.ts +3 -4
- package/dist/commands/manifest.d.ts.map +1 -1
- package/dist/commands/mcp-serve.d.ts +16 -0
- package/dist/commands/mcp-serve.d.ts.map +1 -0
- package/dist/commands/mcp.d.ts.map +1 -1
- package/dist/commands/pal.d.ts.map +1 -1
- package/dist/commands/peers.d.ts +9 -1
- package/dist/commands/peers.d.ts.map +1 -1
- package/dist/commands/permission-preview.d.ts +2 -0
- package/dist/commands/permission-preview.d.ts.map +1 -1
- package/dist/commands/plugin.d.ts.map +1 -1
- package/dist/commands/providers.d.ts.map +1 -1
- package/dist/commands/registry.d.ts.map +1 -1
- package/dist/commands/run-flags.d.ts +10 -2
- package/dist/commands/run-flags.d.ts.map +1 -1
- package/dist/commands/schedule.d.ts.map +1 -1
- package/dist/commands/skills.d.ts.map +1 -1
- package/dist/commands/state.d.ts +11 -0
- package/dist/commands/state.d.ts.map +1 -1
- package/dist/commands/types.d.ts +9 -2
- package/dist/commands/types.d.ts.map +1 -1
- package/dist/commands/{upgrade-progress.d.ts → update-progress.d.ts} +3 -3
- package/dist/commands/update-progress.d.ts.map +1 -0
- package/dist/commands/{upgrade.d.ts → update.d.ts} +9 -9
- package/dist/commands/update.d.ts.map +1 -0
- package/dist/commands/workspaces.d.ts +1 -1
- package/dist/commands/workspaces.d.ts.map +1 -1
- package/dist/commands/worktree.d.ts.map +1 -1
- package/dist/computer/run.d.ts.map +1 -1
- package/dist/config/debug.d.ts.map +1 -1
- package/dist/config/hook-common-shape.d.ts.map +1 -1
- package/dist/config/hooks-report.d.ts +3 -1
- package/dist/config/hooks-report.d.ts.map +1 -1
- package/dist/config/load.d.ts +40 -0
- package/dist/config/load.d.ts.map +1 -1
- package/dist/config/schema.d.ts +70 -2
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/config/session-options.d.ts +1 -1
- package/dist/config/session-options.d.ts.map +1 -1
- package/dist/config/settings-descriptors.d.ts.map +1 -1
- package/dist/config/skill-hooks-reader.d.ts.map +1 -1
- package/dist/context/doctrine.d.ts.map +1 -1
- package/dist/context/environment.d.ts +15 -0
- package/dist/context/environment.d.ts.map +1 -1
- package/dist/context/file-placement.d.ts.map +1 -1
- package/dist/context/project-tracker.d.ts +3 -0
- package/dist/context/project-tracker.d.ts.map +1 -1
- package/dist/context/system-prompt.d.ts +6 -0
- package/dist/context/system-prompt.d.ts.map +1 -1
- package/dist/exit-process.d.ts +3 -0
- package/dist/exit-process.d.ts.map +1 -0
- package/dist/flush-stdio.d.ts +8 -0
- package/dist/flush-stdio.d.ts.map +1 -0
- package/dist/index.js +42 -41
- package/dist/integrations/auto-update/apply.d.ts +1 -1
- package/dist/integrations/auto-update/apply.d.ts.map +1 -1
- package/dist/integrations/auto-update/policy.d.ts +1 -1
- package/dist/integrations/auto-update/policy.d.ts.map +1 -1
- package/dist/integrations/auto-update/state.d.ts +1 -1
- package/dist/integrations/auto-update/state.d.ts.map +1 -1
- package/dist/integrations/decision/routing.d.ts +8 -0
- package/dist/integrations/decision/routing.d.ts.map +1 -1
- package/dist/integrations/extensions/host.d.ts.map +1 -1
- package/dist/integrations/extensions/query.d.ts +10 -0
- package/dist/integrations/extensions/query.d.ts.map +1 -1
- package/dist/integrations/extensions/supervisor.d.ts +14 -0
- package/dist/integrations/extensions/supervisor.d.ts.map +1 -1
- package/dist/integrations/images/generate-image.d.ts +47 -0
- package/dist/integrations/images/generate-image.d.ts.map +1 -0
- package/dist/integrations/images/image-access.d.ts +20 -0
- package/dist/integrations/images/image-access.d.ts.map +1 -0
- package/dist/integrations/mcp/project-file.d.ts +16 -0
- package/dist/integrations/mcp/project-file.d.ts.map +1 -0
- package/dist/integrations/mcp/serve.d.ts +55 -0
- package/dist/integrations/mcp/serve.d.ts.map +1 -0
- package/dist/integrations/mcp/servers.d.ts +42 -1
- package/dist/integrations/mcp/servers.d.ts.map +1 -1
- package/dist/integrations/mcp/shared-file.d.ts +2 -1
- package/dist/integrations/mcp/shared-file.d.ts.map +1 -1
- package/dist/integrations/network/computer-secret.d.ts +11 -0
- package/dist/integrations/network/computer-secret.d.ts.map +1 -0
- package/dist/integrations/network/controller.d.ts.map +1 -1
- package/dist/integrations/network/format.d.ts +13 -9
- package/dist/integrations/network/format.d.ts.map +1 -1
- package/dist/integrations/network/policy.d.ts.map +1 -1
- package/dist/integrations/network/runtime.d.ts +9 -0
- package/dist/integrations/network/runtime.d.ts.map +1 -1
- package/dist/integrations/network/session-list.d.ts +77 -0
- package/dist/integrations/network/session-list.d.ts.map +1 -0
- package/dist/integrations/network/types.d.ts +5 -1
- package/dist/integrations/network/types.d.ts.map +1 -1
- package/dist/integrations/npm-global.d.ts +2 -2
- package/dist/integrations/npm-global.d.ts.map +1 -1
- package/dist/integrations/outstanding/status.d.ts +4 -0
- package/dist/integrations/outstanding/status.d.ts.map +1 -1
- package/dist/integrations/peers/runtime.d.ts +1 -0
- package/dist/integrations/peers/runtime.d.ts.map +1 -1
- package/dist/integrations/peers/send-once.d.ts +14 -3
- package/dist/integrations/peers/send-once.d.ts.map +1 -1
- package/dist/integrations/plugins/lifecycle-events.d.ts +10 -0
- package/dist/integrations/plugins/lifecycle-events.d.ts.map +1 -1
- package/dist/integrations/providers/connections.d.ts +1 -1
- package/dist/integrations/providers/connections.d.ts.map +1 -1
- package/dist/integrations/providers/harness-credentials.d.ts +5 -0
- package/dist/integrations/providers/harness-credentials.d.ts.map +1 -1
- package/dist/integrations/providers/pending-login.d.ts +1 -1
- package/dist/integrations/providers/subscription-login.d.ts +1 -1
- package/dist/integrations/sessions/session-watch.d.ts +8 -1
- package/dist/integrations/sessions/session-watch.d.ts.map +1 -1
- package/dist/integrations/state/purge.d.ts +66 -0
- package/dist/integrations/state/purge.d.ts.map +1 -0
- package/dist/integrations/subagents/activity.d.ts +21 -2
- package/dist/integrations/subagents/activity.d.ts.map +1 -1
- package/dist/integrations/subagents/agent-hooks.d.ts.map +1 -1
- package/dist/integrations/subagents/agent-names.d.ts +10 -6
- package/dist/integrations/subagents/agent-names.d.ts.map +1 -1
- package/dist/integrations/subagents/definitions.d.ts +8 -0
- package/dist/integrations/subagents/definitions.d.ts.map +1 -1
- package/dist/integrations/subagents/row-labels.d.ts +18 -0
- package/dist/integrations/subagents/row-labels.d.ts.map +1 -0
- package/dist/integrations/subagents/runtime.d.ts +49 -2
- package/dist/integrations/subagents/runtime.d.ts.map +1 -1
- package/dist/integrations/subagents/stop-guidance.d.ts +14 -0
- package/dist/integrations/subagents/stop-guidance.d.ts.map +1 -0
- package/dist/integrations/teams/colors.d.ts +31 -0
- package/dist/integrations/teams/colors.d.ts.map +1 -0
- package/dist/integrations/teams/enabled.d.ts +44 -0
- package/dist/integrations/teams/enabled.d.ts.map +1 -0
- package/dist/integrations/teams/host.d.ts +15 -0
- package/dist/integrations/teams/host.d.ts.map +1 -0
- package/dist/integrations/teams/runner.d.ts +278 -0
- package/dist/integrations/teams/runner.d.ts.map +1 -0
- package/dist/integrations/teams/view.d.ts +62 -0
- package/dist/integrations/teams/view.d.ts.map +1 -0
- package/dist/integrations/web/open-url.d.ts +1 -1
- package/dist/integrations/web/search.d.ts +1 -1
- package/dist/integrations/workflows/host.d.ts.map +1 -1
- package/dist/integrations/workflows/notice.d.ts +9 -0
- package/dist/integrations/workflows/notice.d.ts.map +1 -1
- package/dist/integrations/workflows/offering.d.ts +3 -2
- package/dist/integrations/workflows/offering.d.ts.map +1 -1
- package/dist/integrations/workflows/orphans.d.ts +17 -0
- package/dist/integrations/workflows/orphans.d.ts.map +1 -1
- package/dist/integrations/workflows/owners.d.ts +17 -0
- package/dist/integrations/workflows/owners.d.ts.map +1 -0
- package/dist/integrations/workflows/registry.d.ts +17 -2
- package/dist/integrations/workflows/registry.d.ts.map +1 -1
- package/dist/logging.d.ts +10 -1
- package/dist/logging.d.ts.map +1 -1
- package/dist/memory/screen-archive.d.ts +2 -0
- package/dist/memory/screen-archive.d.ts.map +1 -1
- package/dist/pals/agent-session.d.ts.map +1 -1
- package/dist/pals/dispatch.d.ts.map +1 -1
- package/dist/permissions/auto-classifier.d.ts.map +1 -1
- package/dist/permissions/launch.d.ts +1 -1
- package/dist/permissions/mode.d.ts +2 -2
- package/dist/permissions/path-rules.d.ts.map +1 -1
- package/dist/permissions/rules.d.ts +2 -0
- package/dist/permissions/rules.d.ts.map +1 -1
- package/dist/permissions/tool-flags.d.ts +5 -1
- package/dist/permissions/tool-flags.d.ts.map +1 -1
- package/dist/reminders/changed-files.d.ts.map +1 -1
- package/dist/reminders/frame.d.ts +1 -1
- package/dist/reminders/frame.d.ts.map +1 -1
- package/dist/reminders/hypermode.d.ts.map +1 -1
- package/dist/reminders/index.d.ts +3 -0
- package/dist/reminders/index.d.ts.map +1 -1
- package/dist/reminders/memory-nudge.d.ts +20 -0
- package/dist/reminders/memory-nudge.d.ts.map +1 -0
- package/dist/schedule/commands/add.d.ts.map +1 -1
- package/dist/schedule/commands/list.d.ts.map +1 -1
- package/dist/schedule/commands/service.d.ts +8 -0
- package/dist/schedule/commands/service.d.ts.map +1 -1
- package/dist/schedule/fire/fire.d.ts +1 -1
- package/dist/schedule/fire/fire.d.ts.map +1 -1
- package/dist/schedule/folder.d.ts +8 -1
- package/dist/schedule/folder.d.ts.map +1 -1
- package/dist/schedule/policy.d.ts.map +1 -1
- package/dist/schedule/service/homes.d.ts +56 -0
- package/dist/schedule/service/homes.d.ts.map +1 -0
- package/dist/schedule/service/move.d.ts +48 -0
- package/dist/schedule/service/move.d.ts.map +1 -0
- package/dist/schedule/service/names.d.ts +2 -1
- package/dist/schedule/service/names.d.ts.map +1 -1
- package/dist/schedule/service/registry.d.ts +6 -0
- package/dist/schedule/service/registry.d.ts.map +1 -1
- package/dist/schedule/service/target.d.ts +3 -1
- package/dist/schedule/service/target.d.ts.map +1 -1
- package/dist/skills/catalog.d.ts +7 -0
- package/dist/skills/catalog.d.ts.map +1 -1
- package/dist/skills/directory.d.ts.map +1 -1
- package/dist/skills/retired.d.ts +19 -0
- package/dist/skills/retired.d.ts.map +1 -0
- package/dist/skills/save-card.d.ts +42 -0
- package/dist/skills/save-card.d.ts.map +1 -0
- package/dist/skills/save.d.ts +25 -1
- package/dist/skills/save.d.ts.map +1 -1
- package/dist/skills/skill-hooks.d.ts +2 -2
- package/dist/skills/skill-hooks.d.ts.map +1 -1
- package/dist/skills/skill-shell.d.ts +99 -0
- package/dist/skills/skill-shell.d.ts.map +1 -0
- package/dist/skills/store.d.ts +7 -0
- package/dist/skills/store.d.ts.map +1 -1
- package/dist/skills/typed-command-load.d.ts +45 -0
- package/dist/skills/typed-command-load.d.ts.map +1 -0
- package/dist/tui/AgentExplorer.d.ts +82 -29
- package/dist/tui/AgentExplorer.d.ts.map +1 -1
- package/dist/tui/App.d.ts.map +1 -1
- package/dist/tui/Checklist.d.ts +12 -0
- package/dist/tui/Checklist.d.ts.map +1 -1
- package/dist/tui/Composer.d.ts +6 -7
- package/dist/tui/Composer.d.ts.map +1 -1
- package/dist/tui/CopyPicker.d.ts +1 -3
- package/dist/tui/CopyPicker.d.ts.map +1 -1
- package/dist/tui/Markdown.d.ts +7 -1
- package/dist/tui/Markdown.d.ts.map +1 -1
- package/dist/tui/PendingInputPanel.d.ts +2 -0
- package/dist/tui/PendingInputPanel.d.ts.map +1 -1
- package/dist/tui/PermissionOverlay.d.ts +8 -1
- package/dist/tui/PermissionOverlay.d.ts.map +1 -1
- package/dist/tui/ScheduleReviewOverlay.d.ts +2 -0
- package/dist/tui/ScheduleReviewOverlay.d.ts.map +1 -1
- package/dist/tui/StatusBar.d.ts +8 -1
- package/dist/tui/StatusBar.d.ts.map +1 -1
- package/dist/tui/TaskList.d.ts +6 -2
- package/dist/tui/TaskList.d.ts.map +1 -1
- package/dist/tui/Transcript.d.ts.map +1 -1
- package/dist/tui/agent-calls.d.ts.map +1 -1
- package/dist/tui/agent-transcript-rows.d.ts +4 -0
- package/dist/tui/agent-transcript-rows.d.ts.map +1 -1
- package/dist/tui/agent.d.ts +139 -8
- package/dist/tui/agent.d.ts.map +1 -1
- package/dist/tui/box-rows.d.ts +35 -0
- package/dist/tui/box-rows.d.ts.map +1 -0
- package/dist/tui/computer-use-screen-approval.d.ts +18 -0
- package/dist/tui/computer-use-screen-approval.d.ts.map +1 -1
- package/dist/tui/context-grid.d.ts +5 -0
- package/dist/tui/context-grid.d.ts.map +1 -1
- package/dist/tui/copy-targets.d.ts +0 -13
- package/dist/tui/copy-targets.d.ts.map +1 -1
- package/dist/tui/fullscreen/FullscreenTranscript.d.ts +3 -2
- package/dist/tui/fullscreen/FullscreenTranscript.d.ts.map +1 -1
- package/dist/tui/generated-image-rows.d.ts +12 -0
- package/dist/tui/generated-image-rows.d.ts.map +1 -0
- package/dist/tui/keypad-keys.d.ts +1 -1
- package/dist/tui/keypad-keys.d.ts.map +1 -1
- package/dist/tui/launch-settings.d.ts +2 -0
- package/dist/tui/launch-settings.d.ts.map +1 -1
- package/dist/tui/login-prompt.d.ts +1 -1
- package/dist/tui/markdown-wrap.d.ts +4 -0
- package/dist/tui/markdown-wrap.d.ts.map +1 -1
- package/dist/tui/notice-display.d.ts +8 -0
- package/dist/tui/notice-display.d.ts.map +1 -0
- package/dist/tui/outcome-line.d.ts.map +1 -1
- package/dist/tui/permission-asks.d.ts +7 -0
- package/dist/tui/permission-asks.d.ts.map +1 -1
- package/dist/tui/permission-review.d.ts.map +1 -1
- package/dist/tui/resize-settle.d.ts +26 -0
- package/dist/tui/resize-settle.d.ts.map +1 -0
- package/dist/tui/restored-rows.d.ts +5 -1
- package/dist/tui/restored-rows.d.ts.map +1 -1
- package/dist/tui/schedule/host-commands.d.ts.map +1 -1
- package/dist/tui/shell-expansion-slot.d.ts +30 -0
- package/dist/tui/shell-expansion-slot.d.ts.map +1 -0
- package/dist/tui/slashCommands.d.ts +8 -5
- package/dist/tui/slashCommands.d.ts.map +1 -1
- package/dist/tui/stopped-turn-line.d.ts +22 -0
- package/dist/tui/stopped-turn-line.d.ts.map +1 -0
- package/dist/tui/team-rows.d.ts +98 -0
- package/dist/tui/team-rows.d.ts.map +1 -0
- package/dist/tui/team-view.d.ts +169 -0
- package/dist/tui/team-view.d.ts.map +1 -0
- package/dist/tui/tidy-tool-output.d.ts.map +1 -1
- package/dist/tui/tool-end-rows.d.ts +1 -2
- package/dist/tui/tool-end-rows.d.ts.map +1 -1
- package/dist/tui/tool-presentation.d.ts +2 -0
- package/dist/tui/tool-presentation.d.ts.map +1 -1
- package/dist/tui/types.d.ts +31 -2
- package/dist/tui/types.d.ts.map +1 -1
- package/dist/tui/untrusted-display.d.ts +12 -0
- package/dist/tui/untrusted-display.d.ts.map +1 -0
- package/dist/tui/web-activity.d.ts +4 -2
- package/dist/tui/web-activity.d.ts.map +1 -1
- package/dist/usage-error.d.ts.map +1 -1
- package/dist/user-commands/mcp-skill-commands.d.ts +21 -0
- package/dist/user-commands/mcp-skill-commands.d.ts.map +1 -0
- package/dist/user-commands/store.d.ts +24 -0
- package/dist/user-commands/store.d.ts.map +1 -1
- package/package.json +8 -8
- package/skills/README.md +14 -3
- package/skills/batch/SKILL.md +53 -0
- package/skills/commit/SKILL.md +46 -0
- package/skills/debug/SKILL.md +47 -0
- package/skills/deep-research/SKILL.md +102 -0
- package/skills/document/SKILL.md +40 -18
- package/skills/fewer-permission-prompts/SKILL.md +58 -0
- package/skills/pdf/SKILL.md +93 -0
- package/skills/pr/SKILL.md +50 -0
- package/skills/review-changes/SKILL.md +1 -1
- package/skills/run/SKILL.md +179 -0
- package/skills/run-skill-generator/SKILL.md +144 -0
- package/skills/security-review/SKILL.md +48 -0
- package/skills/simplify/SKILL.md +52 -0
- package/skills/skill-creator/SKILL.md +15 -6
- package/skills/update-config/SKILL.md +75 -0
- package/dist/chunks/acp-DEH76VXL.js.map +0 -6
- package/dist/chunks/activity-command-GETWRD67.js.map +0 -6
- package/dist/chunks/add-XFYJ6UZE.js.map +0 -6
- package/dist/chunks/agent-session-2YJCVWPX.js +0 -87
- package/dist/chunks/archive-PA5MDKXC.js.map +0 -6
- package/dist/chunks/bin-main-RH4NLAPK.js.map +0 -6
- package/dist/chunks/browser-ZMNLA73K.js +0 -31
- package/dist/chunks/browser-ZMNLA73K.js.map +0 -6
- package/dist/chunks/chat-UNZSJZ6U.js.map +0 -6
- package/dist/chunks/chunk-2JFRYOBC.js.map +0 -6
- package/dist/chunks/chunk-2P2PDEZJ.js.map +0 -6
- package/dist/chunks/chunk-3EH4PF5T.js.map +0 -6
- package/dist/chunks/chunk-3ZHOM2L7.js.map +0 -6
- package/dist/chunks/chunk-4DNEDLBT.js.map +0 -6
- package/dist/chunks/chunk-5ZPCQ2HL.js.map +0 -6
- package/dist/chunks/chunk-6A4RDHHY.js +0 -10
- package/dist/chunks/chunk-6A4RDHHY.js.map +0 -6
- package/dist/chunks/chunk-6CI5CHBT.js.map +0 -6
- package/dist/chunks/chunk-6E4TDPXP.js.map +0 -6
- package/dist/chunks/chunk-6IWJ6JC6.js.map +0 -6
- package/dist/chunks/chunk-6MQHDX7R.js.map +0 -6
- package/dist/chunks/chunk-6TF24TFD.js.map +0 -6
- package/dist/chunks/chunk-7BF4FLOP.js.map +0 -6
- package/dist/chunks/chunk-AZXIYYVX.js.map +0 -6
- package/dist/chunks/chunk-BFYETM56.js.map +0 -6
- package/dist/chunks/chunk-BJQ7WFWL.js.map +0 -6
- package/dist/chunks/chunk-C7ZKC7HY.js.map +0 -6
- package/dist/chunks/chunk-CPDGXVVE.js +0 -94
- package/dist/chunks/chunk-CPDGXVVE.js.map +0 -6
- package/dist/chunks/chunk-DMHE6X3Y.js.map +0 -6
- package/dist/chunks/chunk-DRKCWJPR.js.map +0 -6
- package/dist/chunks/chunk-FNEQ77RJ.js.map +0 -6
- package/dist/chunks/chunk-FSAI4GDZ.js.map +0 -6
- package/dist/chunks/chunk-GJ6NI7JL.js.map +0 -6
- package/dist/chunks/chunk-HEFLKPCT.js.map +0 -6
- package/dist/chunks/chunk-JCH7IWMU.js.map +0 -6
- package/dist/chunks/chunk-LDU7AFNZ.js.map +0 -6
- package/dist/chunks/chunk-LGPOJEZK.js.map +0 -6
- package/dist/chunks/chunk-LXK7S2I2.js.map +0 -6
- package/dist/chunks/chunk-MY6JV4BT.js.map +0 -6
- package/dist/chunks/chunk-PJF46DI6.js.map +0 -6
- package/dist/chunks/chunk-PPCKNQOQ.js.map +0 -6
- package/dist/chunks/chunk-REYJHS2X.js.map +0 -6
- package/dist/chunks/chunk-UILPXAKQ.js.map +0 -6
- package/dist/chunks/chunk-XF243FQN.js.map +0 -6
- package/dist/chunks/chunk-ZR3VZG37.js.map +0 -6
- package/dist/chunks/cli-runtime-66YC7XKZ.js.map +0 -6
- package/dist/chunks/computer-FQRWTC6M.js.map +0 -6
- package/dist/chunks/config-BWAJ7XDA.js.map +0 -6
- package/dist/chunks/dist-NUCTP67R.js.map +0 -6
- package/dist/chunks/exec-QOH5FQCM.js.map +0 -6
- package/dist/chunks/github-X352BD5R.js.map +0 -6
- package/dist/chunks/host-queries-YTND6J2W.js +0 -38
- package/dist/chunks/list-2QV773EI.js.map +0 -6
- package/dist/chunks/login-KN5KQXOD.js +0 -38
- package/dist/chunks/mcp-HP3YRE3U.js.map +0 -6
- package/dist/chunks/message-command-IFQSBBI5.js.map +0 -6
- package/dist/chunks/operator-tools-HT7UNWNK.js.map +0 -6
- package/dist/chunks/pal-6KB3D324.js.map +0 -6
- package/dist/chunks/peers-4M45XTZO.js.map +0 -6
- package/dist/chunks/plugin-FIVP6MGJ.js.map +0 -6
- package/dist/chunks/providers-6634CTX7.js.map +0 -6
- package/dist/chunks/resume-OEUL3DML.js +0 -26
- package/dist/chunks/schedule-54POTO5A.js +0 -282
- package/dist/chunks/schedule-54POTO5A.js.map +0 -6
- package/dist/chunks/send-person-YV7Y3N7V.js +0 -31
- package/dist/chunks/service-Y5N7WIHV.js.map +0 -6
- package/dist/chunks/skills-VSVXQTY3.js.map +0 -6
- package/dist/chunks/state-IRA33PLY.js.map +0 -6
- package/dist/chunks/tui-KFWUIY7N.js.map +0 -6
- package/dist/chunks/watch-OUI2U5YK.js.map +0 -6
- package/dist/chunks/workspaces-CB5DV4KR.js.map +0 -6
- package/dist/chunks/worktree-PNG7MZV3.js.map +0 -6
- package/dist/commands/upgrade-progress.d.ts.map +0 -1
- package/dist/commands/upgrade.d.ts.map +0 -1
- package/skills/verify-change/SKILL.md +0 -63
- /package/dist/chunks/{agent-FW4VC2AF.js.map → agent-Z6PJYBAO.js.map} +0 -0
- /package/dist/chunks/{agent-session-2YJCVWPX.js.map → agent-session-WXWW7E5M.js.map} +0 -0
- /package/dist/chunks/{binding-ON644UJ3.js.map → binding-5UJYMFMU.js.map} +0 -0
- /package/dist/chunks/{chunk-IMXTM75Q.js.map → chunk-23D5IXMW.js.map} +0 -0
- /package/dist/chunks/{chunk-PYYDU2BC.js.map → chunk-24EZWZDZ.js.map} +0 -0
- /package/dist/chunks/{chunk-WDROVY6V.js.map → chunk-2EVP6BX4.js.map} +0 -0
- /package/dist/chunks/{chunk-M4XYHIA3.js.map → chunk-2KC52MDS.js.map} +0 -0
- /package/dist/chunks/{chunk-GVWDNFIP.js.map → chunk-2VP2Q657.js.map} +0 -0
- /package/dist/chunks/{chunk-Z6LUWKV4.js.map → chunk-3ETXWTV4.js.map} +0 -0
- /package/dist/chunks/{chunk-3Z5OXTDI.js.map → chunk-3PH6F6Z3.js.map} +0 -0
- /package/dist/chunks/{chunk-GWLUXO4O.js.map → chunk-4RW7GDJ4.js.map} +0 -0
- /package/dist/chunks/{chunk-NP4BQ7SB.js.map → chunk-4TJ7AGQO.js.map} +0 -0
- /package/dist/chunks/{chunk-Y62WSR5N.js.map → chunk-567CSU37.js.map} +0 -0
- /package/dist/chunks/{chunk-DGV6YSAW.js.map → chunk-5HMJ3DYR.js.map} +0 -0
- /package/dist/chunks/{chunk-DT6PTS6H.js.map → chunk-6CSJRIUZ.js.map} +0 -0
- /package/dist/chunks/{chunk-5YTGRS7U.js.map → chunk-7J23SPSX.js.map} +0 -0
- /package/dist/chunks/{chunk-SKFBM6OJ.js.map → chunk-AEXGGJUW.js.map} +0 -0
- /package/dist/chunks/{chunk-BXAUUC2B.js.map → chunk-AIQKSTVJ.js.map} +0 -0
- /package/dist/chunks/{chunk-3HT7FQNG.js.map → chunk-CEZW3NVM.js.map} +0 -0
- /package/dist/chunks/{chunk-KUIATFLN.js.map → chunk-CG5CGXNF.js.map} +0 -0
- /package/dist/chunks/{chunk-HENM67TJ.js.map → chunk-CNSKJ3DZ.js.map} +0 -0
- /package/dist/chunks/{chunk-W6UOMYDX.js.map → chunk-CQFWLYTK.js.map} +0 -0
- /package/dist/chunks/{chunk-M5LA652U.js.map → chunk-DGYMR4WJ.js.map} +0 -0
- /package/dist/chunks/{chunk-ABELB4VO.js.map → chunk-DJKWBSVM.js.map} +0 -0
- /package/dist/chunks/{chunk-HIHHTWEU.js.map → chunk-DJTCZSSY.js.map} +0 -0
- /package/dist/chunks/{chunk-VV6DYTFU.js.map → chunk-DKSFQRUM.js.map} +0 -0
- /package/dist/chunks/{chunk-SHFB4DZP.js.map → chunk-E4RVHFV6.js.map} +0 -0
- /package/dist/chunks/{chunk-NV7RJBWA.js.map → chunk-E65IWYTT.js.map} +0 -0
- /package/dist/chunks/{chunk-PI5ZZQVH.js.map → chunk-EA6YICQ7.js.map} +0 -0
- /package/dist/chunks/{chunk-JR6EFL7G.js.map → chunk-EGGO56FY.js.map} +0 -0
- /package/dist/chunks/{chunk-TBKSDYS4.js.map → chunk-ESIICAI3.js.map} +0 -0
- /package/dist/chunks/{chunk-MOMSIAV4.js.map → chunk-FEOS7UZ2.js.map} +0 -0
- /package/dist/chunks/{chunk-JDWCVWIQ.js.map → chunk-FMQCPAKR.js.map} +0 -0
- /package/dist/chunks/{chunk-2ZPB4ZBP.js.map → chunk-GEVWZWLM.js.map} +0 -0
- /package/dist/chunks/{chunk-WSQAVWIV.js.map → chunk-HW2QBNAA.js.map} +0 -0
- /package/dist/chunks/{chunk-DOLGKZC5.js.map → chunk-IRAG3YXW.js.map} +0 -0
- /package/dist/chunks/{chunk-77AYLILT.js.map → chunk-J5E4DV6R.js.map} +0 -0
- /package/dist/chunks/{chunk-6TCZN54R.js.map → chunk-JPM3JXZB.js.map} +0 -0
- /package/dist/chunks/{chunk-6BTNPDXR.js.map → chunk-JRWUIW4J.js.map} +0 -0
- /package/dist/chunks/{chunk-CKYGPQVJ.js.map → chunk-KBLYZ7L7.js.map} +0 -0
- /package/dist/chunks/{chunk-6MGRBXCW.js.map → chunk-KETRBV2E.js.map} +0 -0
- /package/dist/chunks/{chunk-RSO4LBHJ.js.map → chunk-KPOOM7QT.js.map} +0 -0
- /package/dist/chunks/{chunk-WCAKWRZU.js.map → chunk-KVNL7XA6.js.map} +0 -0
- /package/dist/chunks/{chunk-4PFTZNS5.js.map → chunk-LWJJDERP.js.map} +0 -0
- /package/dist/chunks/{chunk-763RT6Z5.js.map → chunk-MDVYEFTI.js.map} +0 -0
- /package/dist/chunks/{chunk-DROVNI2Y.js.map → chunk-MF57EX7H.js.map} +0 -0
- /package/dist/chunks/{chunk-J6QCR3SC.js.map → chunk-MF5KTVGJ.js.map} +0 -0
- /package/dist/chunks/{chunk-S7YXINNY.js.map → chunk-O2PZDA5H.js.map} +0 -0
- /package/dist/chunks/{chunk-PK7M7VIU.js.map → chunk-OA7QKUCM.js.map} +0 -0
- /package/dist/chunks/{chunk-ZDGKFGVE.js.map → chunk-P4TCLMD6.js.map} +0 -0
- /package/dist/chunks/{chunk-IZYYWNP2.js.map → chunk-PFVYYH6O.js.map} +0 -0
- /package/dist/chunks/{chunk-RP5HOVOW.js.map → chunk-PKFXIWVX.js.map} +0 -0
- /package/dist/chunks/{chunk-ZWP5L7BV.js.map → chunk-PQT7624W.js.map} +0 -0
- /package/dist/chunks/{chunk-FEP2R3XI.js.map → chunk-QTHG6UPU.js.map} +0 -0
- /package/dist/chunks/{chunk-MMJ6UURB.js.map → chunk-QZTTIL3A.js.map} +0 -0
- /package/dist/chunks/{chunk-LWAGZIEA.js.map → chunk-RZKIZTPA.js.map} +0 -0
- /package/dist/chunks/{chunk-QTQIHFYH.js.map → chunk-S7FE35WQ.js.map} +0 -0
- /package/dist/chunks/{chunk-233CEYFX.js.map → chunk-SS6IJAPA.js.map} +0 -0
- /package/dist/chunks/{chunk-5C6XCI24.js.map → chunk-TORIEDBN.js.map} +0 -0
- /package/dist/chunks/{chunk-OZ55WTNZ.js.map → chunk-TRRKG642.js.map} +0 -0
- /package/dist/chunks/{chunk-D5N3SDNF.js.map → chunk-UFGLSUGU.js.map} +0 -0
- /package/dist/chunks/{chunk-RYLQH5BB.js.map → chunk-VE4XIWDW.js.map} +0 -0
- /package/dist/chunks/{chunk-GPP4OXHP.js.map → chunk-VJHENTNB.js.map} +0 -0
- /package/dist/chunks/{chunk-AF2QPFEQ.js.map → chunk-W752G3FM.js.map} +0 -0
- /package/dist/chunks/{chunk-4E2REC5O.js.map → chunk-XLXPPVUT.js.map} +0 -0
- /package/dist/chunks/{chunk-NOHH27YE.js.map → chunk-YNWPC3HO.js.map} +0 -0
- /package/dist/chunks/{chunk-ICIVSMA3.js.map → chunk-ZQGCZYAE.js.map} +0 -0
- /package/dist/chunks/{commands-R6WIMNZG.js.map → commands-BNHIQVYO.js.map} +0 -0
- /package/dist/chunks/{cost-MVUQ3UWP.js.map → cost-BJKADKEZ.js.map} +0 -0
- /package/dist/chunks/{crash-report-ASOVDFQT.js.map → crash-report-OJHGVRD7.js.map} +0 -0
- /package/dist/chunks/{dist-6BE2BTVP.js.map → dist-43XWK3LF.js.map} +0 -0
- /package/dist/chunks/{dist-ZPPSUKEG.js.map → dist-4LEGETQA.js.map} +0 -0
- /package/dist/chunks/{doctor-J2BRJDVI.js.map → dist-4ZPDHZOX.js.map} +0 -0
- /package/dist/chunks/{dist-SQYPEQ4A.js.map → dist-ADQAO5C3.js.map} +0 -0
- /package/dist/chunks/{dist-DOHBDUFC.js.map → dist-BGJEX527.js.map} +0 -0
- /package/dist/chunks/{dist-ERFNYYTR.js.map → dist-FMFNU4M3.js.map} +0 -0
- /package/dist/chunks/{dist-IYSARJ7B.js.map → dist-NCBDELMI.js.map} +0 -0
- /package/dist/chunks/{extension-Y52E4FZR.js.map → doctor-AIYB27QY.js.map} +0 -0
- /package/dist/chunks/{entry-7QM6GODJ.js.map → entry-HM5E7KCD.js.map} +0 -0
- /package/dist/chunks/{home-OGOBLYWY.js.map → extension-4233XOZW.js.map} +0 -0
- /package/dist/chunks/{hooks-report-FCLN3ERK.js.map → home-AZY7APF6.js.map} +0 -0
- /package/dist/chunks/{host-FUPSAICG.js.map → homes-WL6LAAY5.js.map} +0 -0
- /package/dist/chunks/{hooks-C6WM34FA.js.map → hooks-AK5S4YUS.js.map} +0 -0
- /package/dist/chunks/{host-queries-YTND6J2W.js.map → hooks-report-NJLGBWN3.js.map} +0 -0
- /package/dist/chunks/{lifecycle-4ZRBSEP2.js.map → host-SX3QC5FN.js.map} +0 -0
- /package/dist/chunks/{live-33QEKVAM.js.map → host-queries-HBW7AW44.js.map} +0 -0
- /package/dist/chunks/{installed-list-3Z2UYHZL.js.map → installed-list-44QXUJFE.js.map} +0 -0
- /package/dist/chunks/{learn-EXNQYLI3.js.map → learn-LW4DLSGZ.js.map} +0 -0
- /package/dist/chunks/{load-SYMNQIDR.js.map → lifecycle-AJCHTSAF.js.map} +0 -0
- /package/dist/chunks/{login-KN5KQXOD.js.map → list-DT7AJVPX.js.map} +0 -0
- /package/dist/chunks/{open-3GVSPGUF.js.map → live-Z6HZFXPW.js.map} +0 -0
- /package/dist/chunks/{output-schema-MKFI5PWR.js.map → load-454TJBPW.js.map} +0 -0
- /package/dist/chunks/{logs-IW7PYTI2.js.map → logs-GRUSUSL7.js.map} +0 -0
- /package/dist/chunks/{peers-CGTVWK6B.js.map → open-Z3BELFL7.js.map} +0 -0
- /package/dist/chunks/{providers-Z3KLRJDW.js.map → output-schema-DSR56W6A.js.map} +0 -0
- /package/dist/chunks/{pty-GMA24QAT.js.map → peers-LXNB4QSL.js.map} +0 -0
- /package/dist/chunks/{resume-OEUL3DML.js.map → providers-AVECY67I.js.map} +0 -0
- /package/dist/chunks/{resume-command-MXUIVG6T.js.map → pty-GW2YC23H.js.map} +0 -0
- /package/dist/chunks/{running-HYMQGZMF.js.map → resume-AYWSKWEX.js.map} +0 -0
- /package/dist/chunks/{send-IFZ7XPTF.js.map → resume-command-FXT3KGLC.js.map} +0 -0
- /package/dist/chunks/{send-person-YV7Y3N7V.js.map → running-3NLAODZ7.js.map} +0 -0
- /package/dist/chunks/{setting-cli-CJMZHIMQ.js.map → send-FRNTRW2M.js.map} +0 -0
- /package/dist/chunks/{start-check-MZGEYSQD.js.map → send-person-57F5RJA7.js.map} +0 -0
- /package/dist/chunks/{serve-CZDHGDZL.js.map → serve-4VIDXLEB.js.map} +0 -0
- /package/dist/chunks/{store-5QOUJL3S.js.map → setting-cli-HGYOIGC6.js.map} +0 -0
- /package/dist/chunks/{store-LIG46NWV.js.map → start-check-C5VJXVPY.js.map} +0 -0
- /package/dist/chunks/{startup-failure-QS7O3M62.js.map → startup-failure-YQSEQRNQ.js.map} +0 -0
- /package/dist/chunks/{store-N4CURUP2.js.map → store-CZGKLVTT.js.map} +0 -0
- /package/dist/chunks/{store-VRWL26C2.js.map → store-JJKCDY7Y.js.map} +0 -0
|
@@ -1,32 +1,9 @@
|
|
|
1
1
|
import { createRequire as __namzuCreateRequire } from 'node:module';
|
|
2
2
|
const require = __namzuCreateRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
describeTaskResult,
|
|
5
|
-
displayName,
|
|
6
|
-
isEphemeralBin,
|
|
7
|
-
nameClash,
|
|
8
|
-
parseTaskQuery,
|
|
9
|
-
probeInterop,
|
|
10
|
-
readServiceIndexChecked,
|
|
11
|
-
recordService,
|
|
12
|
-
removeEmptyTaskFolderArguments,
|
|
13
|
-
removeServices,
|
|
14
|
-
systemdAssignment,
|
|
15
|
-
systemdWord,
|
|
16
|
-
taskPath,
|
|
17
|
-
taskXml,
|
|
18
|
-
taskXmlBytes,
|
|
19
|
-
toWindowsPath,
|
|
20
|
-
windowsTools,
|
|
21
|
-
windowsUser,
|
|
22
|
-
wslTaskDefinition,
|
|
23
|
-
wslTaskName,
|
|
24
|
-
xmlText
|
|
25
|
-
} from "./chunk-LDU7AFNZ.js";
|
|
26
3
|
import {
|
|
27
4
|
selectDesktopBackend,
|
|
28
5
|
sendDesktopNotification
|
|
29
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RZKIZTPA.js";
|
|
30
7
|
import {
|
|
31
8
|
ScheduleDaemon,
|
|
32
9
|
daemonLogPath,
|
|
@@ -40,67 +17,96 @@ import {
|
|
|
40
17
|
spawnFireProcess,
|
|
41
18
|
stopRequestPath,
|
|
42
19
|
writeRunResult
|
|
43
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-3RLKUXXG.js";
|
|
21
|
+
import "./chunk-TP7DRQXE.js";
|
|
44
22
|
import {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
23
|
+
callEndpoint,
|
|
24
|
+
readEndpoint
|
|
25
|
+
} from "./chunk-6YG7D7U4.js";
|
|
48
26
|
import "./chunk-OG2MLME3.js";
|
|
49
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-EA6YICQ7.js";
|
|
50
28
|
import {
|
|
51
29
|
flag,
|
|
52
30
|
has,
|
|
53
31
|
parseArgs,
|
|
54
32
|
parseMs,
|
|
55
33
|
pathsFor
|
|
56
|
-
} from "./chunk-
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-XEUQN4JC.js";
|
|
34
|
+
} from "./chunk-2KC52MDS.js";
|
|
35
|
+
import "./chunk-MDBUSIPW.js";
|
|
59
36
|
import {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
37
|
+
EXIT_STOP_REQUESTED,
|
|
38
|
+
defaultNamzuHome,
|
|
39
|
+
describeTaskResult,
|
|
40
|
+
displayName,
|
|
41
|
+
findService,
|
|
42
|
+
isEphemeralBin,
|
|
43
|
+
legacyBaseName,
|
|
44
|
+
matchService,
|
|
45
|
+
nameClash,
|
|
46
|
+
parseTaskQuery,
|
|
47
|
+
probeInterop,
|
|
48
|
+
readServiceIndexChecked,
|
|
49
|
+
recordService,
|
|
50
|
+
removeEmptyTaskFolderArguments,
|
|
51
|
+
removeServices,
|
|
52
|
+
serviceHomePath,
|
|
53
|
+
servicesRoot,
|
|
54
|
+
systemdAssignment,
|
|
55
|
+
systemdWord,
|
|
56
|
+
taskPath,
|
|
57
|
+
taskXml,
|
|
58
|
+
taskXmlBytes,
|
|
59
|
+
toWindowsPath,
|
|
60
|
+
windowsTools,
|
|
61
|
+
windowsUser,
|
|
62
|
+
wslTaskDefinition,
|
|
63
|
+
wslTaskName,
|
|
64
|
+
xmlText
|
|
65
|
+
} from "./chunk-7LDUPEXP.js";
|
|
66
|
+
import "./chunk-XEUQN4JC.js";
|
|
63
67
|
import {
|
|
64
68
|
parkedRunWords,
|
|
65
69
|
resumeCommand
|
|
66
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-6CSJRIUZ.js";
|
|
67
71
|
import {
|
|
68
72
|
readState
|
|
69
|
-
} from "./chunk-
|
|
70
|
-
import "./chunk-
|
|
71
|
-
import "./chunk-
|
|
73
|
+
} from "./chunk-LWJJDERP.js";
|
|
74
|
+
import "./chunk-LXJW3ZYI.js";
|
|
75
|
+
import "./chunk-KPOOM7QT.js";
|
|
72
76
|
import "./chunk-SD25ASC7.js";
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
78
|
-
import "./chunk-W6UOMYDX.js";
|
|
77
|
+
import "./chunk-GEVWZWLM.js";
|
|
78
|
+
import "./chunk-OH7EYW3T.js";
|
|
79
|
+
import "./chunk-XJALHM5Z.js";
|
|
80
|
+
import "./chunk-5HMJ3DYR.js";
|
|
81
|
+
import "./chunk-CQFWLYTK.js";
|
|
79
82
|
import {
|
|
80
83
|
readManifest,
|
|
81
84
|
removeManifest,
|
|
82
85
|
writeManifest
|
|
83
86
|
} from "./chunk-AK2U3N2A.js";
|
|
84
87
|
import {
|
|
88
|
+
confirmationHolds,
|
|
85
89
|
listJobs
|
|
86
|
-
} from "./chunk-
|
|
87
|
-
import
|
|
90
|
+
} from "./chunk-EGGO56FY.js";
|
|
91
|
+
import {
|
|
92
|
+
writeJsonAtomic
|
|
93
|
+
} from "./chunk-OEW7CJKK.js";
|
|
88
94
|
import {
|
|
89
95
|
schedulePaths
|
|
90
96
|
} from "./chunk-A22MBIYU.js";
|
|
91
97
|
import "./chunk-JEW7RLYH.js";
|
|
92
98
|
import "./chunk-EDOJTQQU.js";
|
|
93
|
-
import "./chunk-
|
|
99
|
+
import "./chunk-3PH6F6Z3.js";
|
|
94
100
|
import {
|
|
95
101
|
CLI_VERSION
|
|
96
102
|
} from "./chunk-HE7WUOX2.js";
|
|
97
|
-
import "./chunk-
|
|
98
|
-
import "./chunk-
|
|
103
|
+
import "./chunk-HW2QBNAA.js";
|
|
104
|
+
import "./chunk-KBLYZ7L7.js";
|
|
99
105
|
import "./chunk-4QIWRKJO.js";
|
|
100
106
|
import "./chunk-KTPFUCRU.js";
|
|
101
107
|
import "./chunk-LPPFJYL6.js";
|
|
102
|
-
import "./chunk-
|
|
103
|
-
import "./chunk-
|
|
108
|
+
import "./chunk-4TJ7AGQO.js";
|
|
109
|
+
import "./chunk-O2PZDA5H.js";
|
|
104
110
|
import {
|
|
105
111
|
EXIT_NO_CONFIG,
|
|
106
112
|
EXIT_OK,
|
|
@@ -110,40 +116,48 @@ import {
|
|
|
110
116
|
import "./chunk-I4GTRFPK.js";
|
|
111
117
|
import {
|
|
112
118
|
loadBootstrapConfigWithProvenance
|
|
113
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-KHGY6QJR.js";
|
|
120
|
+
import "./chunk-ABKURT35.js";
|
|
114
121
|
import "./chunk-5WORROIE.js";
|
|
115
|
-
import "./chunk-ORSFP3ZC.js";
|
|
116
122
|
import "./chunk-WMEZTDLT.js";
|
|
117
123
|
import "./chunk-LCGXWCVU.js";
|
|
118
|
-
import "./chunk-
|
|
124
|
+
import "./chunk-7YC42EXB.js";
|
|
119
125
|
import "./chunk-LVVD32KJ.js";
|
|
120
126
|
import "./chunk-GMUWAUKQ.js";
|
|
121
127
|
import "./chunk-PJ6IEIKJ.js";
|
|
122
128
|
import {
|
|
123
129
|
cliLogger,
|
|
124
130
|
installCliLogging
|
|
125
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-XVOPQCPD.js";
|
|
126
132
|
import "./chunk-G6YSAHKC.js";
|
|
127
133
|
import "./chunk-JORONMD3.js";
|
|
128
|
-
import "./chunk-
|
|
129
|
-
import "./chunk-
|
|
134
|
+
import "./chunk-PFVYYH6O.js";
|
|
135
|
+
import "./chunk-GUK47JTV.js";
|
|
136
|
+
import "./chunk-WRPEQ3KP.js";
|
|
130
137
|
import {
|
|
131
138
|
detectWsl
|
|
132
|
-
} from "./chunk-
|
|
133
|
-
import "./chunk-WRPEQ3KP.js";
|
|
139
|
+
} from "./chunk-44MFZJ24.js";
|
|
134
140
|
import "./chunk-A6RHRNY2.js";
|
|
135
|
-
import "./chunk-
|
|
141
|
+
import "./chunk-CG5CGXNF.js";
|
|
136
142
|
import "./chunk-U5UV2YRE.js";
|
|
137
143
|
import "./chunk-PHW6PWIJ.js";
|
|
138
|
-
import "./chunk-
|
|
144
|
+
import "./chunk-5JVKE4LB.js";
|
|
139
145
|
import {
|
|
140
146
|
__name
|
|
141
147
|
} from "./chunk-76FLAFCG.js";
|
|
142
148
|
|
|
143
149
|
// src/schedule/commands/service.ts
|
|
144
150
|
import { randomUUID } from "node:crypto";
|
|
145
|
-
import {
|
|
146
|
-
|
|
151
|
+
import {
|
|
152
|
+
existsSync as existsSync4,
|
|
153
|
+
mkdirSync as mkdirSync4,
|
|
154
|
+
readFileSync as readFileSync2,
|
|
155
|
+
realpathSync,
|
|
156
|
+
renameSync,
|
|
157
|
+
rmSync as rmSync4,
|
|
158
|
+
statSync as statSync2
|
|
159
|
+
} from "node:fs";
|
|
160
|
+
import { dirname as dirname4, join as join6, resolve as resolve3 } from "node:path";
|
|
147
161
|
import { fileURLToPath } from "node:url";
|
|
148
162
|
|
|
149
163
|
// src/schedule/service/detect.ts
|
|
@@ -679,30 +693,140 @@ async function stopService(ctx, manifest) {
|
|
|
679
693
|
}
|
|
680
694
|
__name(stopService, "stopService");
|
|
681
695
|
|
|
696
|
+
// src/schedule/service/move.ts
|
|
697
|
+
import { existsSync as existsSync3, readFileSync, readdirSync, statSync } from "node:fs";
|
|
698
|
+
import { basename, dirname as dirname3, join as join4, relative, resolve } from "node:path";
|
|
699
|
+
function scratchRootOf(home) {
|
|
700
|
+
const h = resolve(home);
|
|
701
|
+
return join4(dirname3(h), `${basename(h)}-schedule-workspaces`);
|
|
702
|
+
}
|
|
703
|
+
__name(scratchRootOf, "scratchRootOf");
|
|
704
|
+
function nearestExisting(path) {
|
|
705
|
+
let current = resolve(path);
|
|
706
|
+
while (!existsSync3(current)) {
|
|
707
|
+
const up = dirname3(current);
|
|
708
|
+
if (up === current) return current;
|
|
709
|
+
current = up;
|
|
710
|
+
}
|
|
711
|
+
return current;
|
|
712
|
+
}
|
|
713
|
+
__name(nearestExisting, "nearestExisting");
|
|
714
|
+
function sameFileSystem(a, b) {
|
|
715
|
+
try {
|
|
716
|
+
return statSync(nearestExisting(a)).dev === statSync(nearestExisting(b)).dev;
|
|
717
|
+
} catch {
|
|
718
|
+
return false;
|
|
719
|
+
}
|
|
720
|
+
}
|
|
721
|
+
__name(sameFileSystem, "sameFileSystem");
|
|
722
|
+
function underOld(path, oldScratch) {
|
|
723
|
+
return path === oldScratch || path.startsWith(`${oldScratch}/`) || path.startsWith(`${oldScratch}\\`);
|
|
724
|
+
}
|
|
725
|
+
__name(underOld, "underOld");
|
|
726
|
+
function rewriteJobPaths(paths, fromHome, toHome) {
|
|
727
|
+
const oldScratch = scratchRootOf(fromHome);
|
|
728
|
+
const newScratch = scratchRootOf(toHome);
|
|
729
|
+
const rewritten = [];
|
|
730
|
+
const needConfirming = [];
|
|
731
|
+
const stillConfirmed = [];
|
|
732
|
+
const problems = [];
|
|
733
|
+
for (const job of listJobs(paths).jobs) {
|
|
734
|
+
const held = confirmationHolds(job);
|
|
735
|
+
let next = job;
|
|
736
|
+
if (job.workspace === "none" && underOld(job.folder.path, oldScratch) && underOld(job.folder.canonical, oldScratch)) {
|
|
737
|
+
const swap = /* @__PURE__ */ __name((p) => join4(newScratch, relative(oldScratch, p)), "swap");
|
|
738
|
+
next = {
|
|
739
|
+
...job,
|
|
740
|
+
folder: {
|
|
741
|
+
...job.folder,
|
|
742
|
+
path: swap(job.folder.path),
|
|
743
|
+
canonical: swap(job.folder.canonical)
|
|
744
|
+
},
|
|
745
|
+
...job.trust ? { trust: { ...job.trust, canonical: swap(job.trust.canonical) } } : {}
|
|
746
|
+
};
|
|
747
|
+
try {
|
|
748
|
+
writeJsonAtomic(paths.job(job.id), next);
|
|
749
|
+
rewritten.push(job.name);
|
|
750
|
+
} catch (error) {
|
|
751
|
+
problems.push(
|
|
752
|
+
`${job.name}: the job file could not be rewritten (${error instanceof Error ? error.message : String(error)})`
|
|
753
|
+
);
|
|
754
|
+
continue;
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
|
+
if (!held) continue;
|
|
758
|
+
if (confirmationHolds(next)) stillConfirmed.push(job.name);
|
|
759
|
+
else needConfirming.push(job.name);
|
|
760
|
+
}
|
|
761
|
+
return { rewritten, needConfirming, stillConfirmed, problems };
|
|
762
|
+
}
|
|
763
|
+
__name(rewriteJobPaths, "rewriteJobPaths");
|
|
764
|
+
var SECRET_NAME = /(credential|secret|token|auth|keychain|\.env$|\.key$|\.pem$|^id_)/i;
|
|
765
|
+
var RECORD_DIRS = /* @__PURE__ */ new Set(["history", "runs", "log", "sessions", "node_modules", "claims"]);
|
|
766
|
+
var MAX_FILE_BYTES = 1024 * 1024;
|
|
767
|
+
var MAX_FILES = 5e3;
|
|
768
|
+
function filesMentioning(root, needle) {
|
|
769
|
+
const found = [];
|
|
770
|
+
let seen = 0;
|
|
771
|
+
const walk = /* @__PURE__ */ __name((dir) => {
|
|
772
|
+
let entries;
|
|
773
|
+
try {
|
|
774
|
+
entries = readdirSync(dir, { withFileTypes: true });
|
|
775
|
+
} catch {
|
|
776
|
+
return;
|
|
777
|
+
}
|
|
778
|
+
for (const entry of entries) {
|
|
779
|
+
if (seen > MAX_FILES) return;
|
|
780
|
+
const path = join4(dir, entry.name);
|
|
781
|
+
if (entry.isSymbolicLink()) continue;
|
|
782
|
+
if (entry.isDirectory()) {
|
|
783
|
+
if (!RECORD_DIRS.has(entry.name)) walk(path);
|
|
784
|
+
continue;
|
|
785
|
+
}
|
|
786
|
+
if (!entry.isFile() || !entry.name.endsWith(".json") || SECRET_NAME.test(entry.name)) continue;
|
|
787
|
+
seen++;
|
|
788
|
+
try {
|
|
789
|
+
if (statSync(path).size > MAX_FILE_BYTES) continue;
|
|
790
|
+
if (readFileSync(path, "utf8").includes(needle)) found.push(relative(root, path));
|
|
791
|
+
} catch {
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
}, "walk");
|
|
795
|
+
walk(root);
|
|
796
|
+
return found.sort();
|
|
797
|
+
}
|
|
798
|
+
__name(filesMentioning, "filesMentioning");
|
|
799
|
+
|
|
682
800
|
// src/schedule/service/names.ts
|
|
683
801
|
import { createHash } from "node:crypto";
|
|
684
802
|
import { homedir as homedir3 } from "node:os";
|
|
685
|
-
import { join as
|
|
803
|
+
import { join as join5, resolve as resolve2 } from "node:path";
|
|
686
804
|
var SERVICE_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]{0,62}$/;
|
|
687
805
|
function defaultServiceName(namzuHome, osHome = homedir3()) {
|
|
688
|
-
if (
|
|
689
|
-
const h8 = createHash("sha256").update(
|
|
806
|
+
if (resolve2(namzuHome) === resolve2(join5(osHome, ".namzu"))) return "namzu-scheduler";
|
|
807
|
+
const h8 = createHash("sha256").update(resolve2(namzuHome)).digest("hex").slice(0, 8);
|
|
690
808
|
return `namzu-scheduler-${h8}`;
|
|
691
809
|
}
|
|
692
810
|
__name(defaultServiceName, "defaultServiceName");
|
|
811
|
+
var SCRATCH_SUFFIX = "-schedule-workspaces";
|
|
693
812
|
function checkServiceName(name) {
|
|
694
813
|
if (!SERVICE_NAME.test(name)) {
|
|
695
814
|
throw new Error(
|
|
696
815
|
`"${name}" is not a service name: letters, digits, dot, dash and underscore only`
|
|
697
816
|
);
|
|
698
817
|
}
|
|
818
|
+
if (name.endsWith(SCRATCH_SUFFIX)) {
|
|
819
|
+
throw new Error(
|
|
820
|
+
`"${name}" is not a service name: ${SCRATCH_SUFFIX} is kept for a service's scratch folders`
|
|
821
|
+
);
|
|
822
|
+
}
|
|
699
823
|
return name;
|
|
700
824
|
}
|
|
701
825
|
__name(checkServiceName, "checkServiceName");
|
|
702
826
|
|
|
703
827
|
// src/schedule/service/runner.ts
|
|
704
828
|
import { execFile } from "node:child_process";
|
|
705
|
-
var runCommand = /* @__PURE__ */ __name((command, args, options = {}) => new Promise((
|
|
829
|
+
var runCommand = /* @__PURE__ */ __name((command, args, options = {}) => new Promise((resolve4) => {
|
|
706
830
|
execFile(
|
|
707
831
|
command,
|
|
708
832
|
[...args],
|
|
@@ -716,7 +840,7 @@ var runCommand = /* @__PURE__ */ __name((command, args, options = {}) => new Pro
|
|
|
716
840
|
},
|
|
717
841
|
(error, stdout, stderr) => {
|
|
718
842
|
const code = error ? typeof error.code === "number" ? error.code : 127 : 0;
|
|
719
|
-
|
|
843
|
+
resolve4({ code, stdout: decode(stdout), stderr: decode(stderr) });
|
|
720
844
|
}
|
|
721
845
|
);
|
|
722
846
|
}), "runCommand");
|
|
@@ -738,8 +862,8 @@ var PLATFORMS = [
|
|
|
738
862
|
"wsl-windows-task"
|
|
739
863
|
];
|
|
740
864
|
function installedBin() {
|
|
741
|
-
const here =
|
|
742
|
-
const candidate =
|
|
865
|
+
const here = dirname4(fileURLToPath(new URL("../", import.meta.url).href + "schedule/commands/service.js"));
|
|
866
|
+
const candidate = join6(here, "..", "..", "bin.js");
|
|
743
867
|
try {
|
|
744
868
|
return realpathSync(candidate);
|
|
745
869
|
} catch {
|
|
@@ -752,15 +876,30 @@ function program(paths) {
|
|
|
752
876
|
}
|
|
753
877
|
__name(program, "program");
|
|
754
878
|
async function installCommand(ctx, argv) {
|
|
755
|
-
|
|
879
|
+
if (argv.some((a) => a === "--name" || a.startsWith("--name="))) {
|
|
880
|
+
ctx.formatter.error({
|
|
881
|
+
message: "`--name <n>` is now the word right after install: `namzu schedule service install <n>`, which keeps the service in the Namzu folder."
|
|
882
|
+
});
|
|
883
|
+
return EXIT_USAGE;
|
|
884
|
+
}
|
|
885
|
+
const args = parseArgs(argv, ["home", "platform", "at-boot!", "dry-run!"]);
|
|
756
886
|
const platformFlag = flag(args, "platform") ?? "auto";
|
|
757
|
-
if (args.unknown.length > 0 || !PLATFORMS.includes(platformFlag)) {
|
|
887
|
+
if (args.unknown.length > 0 || args.positionals.length > 1 || !PLATFORMS.includes(platformFlag)) {
|
|
758
888
|
ctx.formatter.error({
|
|
759
|
-
message: `usage: namzu schedule service install [--platform ${PLATFORMS.join("|")}] [--
|
|
889
|
+
message: `usage: namzu schedule service install [<name>] [--platform ${PLATFORMS.join("|")}] [--home <dir>] [--at-boot] [--dry-run]`
|
|
760
890
|
});
|
|
761
891
|
return EXIT_USAGE;
|
|
762
892
|
}
|
|
763
|
-
const
|
|
893
|
+
const named = args.positionals[0];
|
|
894
|
+
if (named !== void 0) {
|
|
895
|
+
try {
|
|
896
|
+
checkServiceName(named);
|
|
897
|
+
} catch (error) {
|
|
898
|
+
ctx.formatter.error({ message: error instanceof Error ? error.message : String(error) });
|
|
899
|
+
return EXIT_USAGE;
|
|
900
|
+
}
|
|
901
|
+
}
|
|
902
|
+
const paths = named !== void 0 && flag(args, "home") === void 0 ? schedulePaths(serviceHomePath(named)) : pathsFor(args);
|
|
764
903
|
let platform;
|
|
765
904
|
if (platformFlag === "auto") {
|
|
766
905
|
const detected = detectPlatform({
|
|
@@ -772,7 +911,7 @@ async function installCommand(ctx, argv) {
|
|
|
772
911
|
}
|
|
773
912
|
platform = detected.platform;
|
|
774
913
|
} else platform = platformFlag;
|
|
775
|
-
const name = checkServiceName(
|
|
914
|
+
const name = checkServiceName(named ?? defaultServiceName(paths.home));
|
|
776
915
|
const prog = program(paths);
|
|
777
916
|
if (has(args, "dry-run")) {
|
|
778
917
|
let text;
|
|
@@ -811,14 +950,28 @@ async function installCommand(ctx, argv) {
|
|
|
811
950
|
);
|
|
812
951
|
break;
|
|
813
952
|
}
|
|
814
|
-
ctx.formatter.print({ text, platform, name });
|
|
953
|
+
ctx.formatter.print({ text, platform, name, home: paths.home });
|
|
815
954
|
return EXIT_OK;
|
|
816
955
|
}
|
|
817
956
|
const clash = nameClash(name, paths.home);
|
|
818
957
|
if (clash) {
|
|
819
|
-
|
|
958
|
+
const there = findService(name)?.home;
|
|
959
|
+
const legacy = there !== void 0 && named !== void 0 && resolve3(there) !== serviceHomePath(named);
|
|
960
|
+
ctx.formatter.error({
|
|
961
|
+
message: legacy ? `${clash}; to keep it and bring its home into the Namzu folder: namzu schedule service move ${name}` : clash
|
|
962
|
+
});
|
|
820
963
|
return 1;
|
|
821
964
|
}
|
|
965
|
+
if (named !== void 0 && flag(args, "home") === void 0) {
|
|
966
|
+
try {
|
|
967
|
+
mkdirSync4(paths.home, { recursive: true, mode: 448 });
|
|
968
|
+
} catch (error) {
|
|
969
|
+
ctx.formatter.error({
|
|
970
|
+
message: `the service home ${paths.home} could not be created: ${error instanceof Error ? error.message : String(error)}`
|
|
971
|
+
});
|
|
972
|
+
return 1;
|
|
973
|
+
}
|
|
974
|
+
}
|
|
822
975
|
const existing = readManifest(paths);
|
|
823
976
|
if (existing && existing.name !== name && existing.platform !== platform) {
|
|
824
977
|
ctx.formatter.error({
|
|
@@ -847,7 +1000,7 @@ ${problems.join("\n")}` });
|
|
|
847
1000
|
return 1;
|
|
848
1001
|
}
|
|
849
1002
|
ctx.formatter.print({
|
|
850
|
-
text: `Installed ${manifest.name} (${manifest.platform}). Check it with \`namzu schedule service status\`.`,
|
|
1003
|
+
text: `Installed ${manifest.name} (${manifest.platform}) for ${paths.home}. Check it with \`namzu schedule service status${named !== void 0 ? ` ${named}` : ""}\`.`,
|
|
851
1004
|
platform: manifest.platform,
|
|
852
1005
|
name: manifest.name
|
|
853
1006
|
});
|
|
@@ -926,7 +1079,7 @@ ${problems.join("\n")}` });
|
|
|
926
1079
|
__name(uninstallCommand, "uninstallCommand");
|
|
927
1080
|
function readHeartbeat(paths) {
|
|
928
1081
|
try {
|
|
929
|
-
return JSON.parse(
|
|
1082
|
+
return JSON.parse(readFileSync2(paths.heartbeat, "utf8"));
|
|
930
1083
|
} catch {
|
|
931
1084
|
return void 0;
|
|
932
1085
|
}
|
|
@@ -1059,7 +1212,7 @@ async function listCommand(ctx, argv) {
|
|
|
1059
1212
|
const paths = schedulePaths(entry.home);
|
|
1060
1213
|
let state;
|
|
1061
1214
|
try {
|
|
1062
|
-
if (!
|
|
1215
|
+
if (!existsSync4(entry.home)) state = "missing";
|
|
1063
1216
|
else if (!readManifest(paths)) state = "not installed";
|
|
1064
1217
|
else state = (await probeHealth(paths)).healthy ? "running" : "not running";
|
|
1065
1218
|
} catch {
|
|
@@ -1149,7 +1302,7 @@ async function daemonCommand(ctx, argv) {
|
|
|
1149
1302
|
manifest?.windows?.powershell ? { powershell: manifest.windows.powershell } : {}
|
|
1150
1303
|
);
|
|
1151
1304
|
const bin = installedBin();
|
|
1152
|
-
if (
|
|
1305
|
+
if (existsSync4(stopRequestPath(paths))) {
|
|
1153
1306
|
ctx.formatter.error({
|
|
1154
1307
|
message: `the scheduler for ${paths.home} was stopped with \`namzu schedule service stop\`; \`namzu schedule service start\` lets it run again`
|
|
1155
1308
|
});
|
|
@@ -1235,14 +1388,237 @@ async function fireCommand(ctx, argv, termination) {
|
|
|
1235
1388
|
return runFire(ctx, paths, fire);
|
|
1236
1389
|
}
|
|
1237
1390
|
__name(fireCommand, "fireCommand");
|
|
1391
|
+
async function moveCommand(ctx, argv, named) {
|
|
1392
|
+
const args = parseArgs(argv, ["wait", "dry-run!"]);
|
|
1393
|
+
if (args.unknown.length > 0 || args.positionals.length > 0 || named === void 0) {
|
|
1394
|
+
ctx.formatter.error({
|
|
1395
|
+
message: "usage: namzu schedule service move <name> [--dry-run] [--wait 10m]"
|
|
1396
|
+
});
|
|
1397
|
+
return EXIT_USAGE;
|
|
1398
|
+
}
|
|
1399
|
+
const index = readServiceIndexChecked();
|
|
1400
|
+
const entry = matchService(index.services, named);
|
|
1401
|
+
if (!entry) {
|
|
1402
|
+
ctx.formatter.error({
|
|
1403
|
+
message: index.problem ? `cannot look up ${named}: ${index.problem}` : `no scheduler service is named ${named}; see namzu schedule service list`
|
|
1404
|
+
});
|
|
1405
|
+
return index.problem ? 1 : EXIT_USAGE;
|
|
1406
|
+
}
|
|
1407
|
+
const refuse = /* @__PURE__ */ __name((message) => {
|
|
1408
|
+
ctx.formatter.error({ message });
|
|
1409
|
+
return 1;
|
|
1410
|
+
}, "refuse");
|
|
1411
|
+
if (legacyBaseName(entry) !== void 0)
|
|
1412
|
+
return refuse(
|
|
1413
|
+
`${entry.name} was registered by an older namzu under a distro-suffixed name; uninstall it and install it again by name: namzu schedule service uninstall ${displayName(entry)}, then namzu schedule service install ${displayName(entry)}`
|
|
1414
|
+
);
|
|
1415
|
+
let name;
|
|
1416
|
+
try {
|
|
1417
|
+
name = checkServiceName(entry.name);
|
|
1418
|
+
} catch (error) {
|
|
1419
|
+
return refuse(
|
|
1420
|
+
`the service index holds a name that is not a service name (${error instanceof Error ? error.message : String(error)}); nothing was changed`
|
|
1421
|
+
);
|
|
1422
|
+
}
|
|
1423
|
+
const from = resolve3(entry.home);
|
|
1424
|
+
const to = serviceHomePath(name);
|
|
1425
|
+
const inside = resolve3(servicesRoot());
|
|
1426
|
+
if (dirname4(resolve3(to)) !== inside)
|
|
1427
|
+
return refuse(`${name} would land outside ${inside}; nothing was changed`);
|
|
1428
|
+
if (from === to) {
|
|
1429
|
+
ctx.formatter.print({
|
|
1430
|
+
text: `${name} is already in the Namzu folder (${to}); nothing to move.`
|
|
1431
|
+
});
|
|
1432
|
+
return EXIT_OK;
|
|
1433
|
+
}
|
|
1434
|
+
const main = defaultNamzuHome();
|
|
1435
|
+
if (from === main || main.startsWith(`${from}/`) || main.startsWith(`${from}\\`))
|
|
1436
|
+
return refuse(
|
|
1437
|
+
`${name} serves ${from}, which is the Namzu home itself or contains it; it is not moved`
|
|
1438
|
+
);
|
|
1439
|
+
if (to.startsWith(`${from}/`) || to.startsWith(`${from}\\`))
|
|
1440
|
+
return refuse(`${name} serves ${from}, which contains ${to}; it is not moved`);
|
|
1441
|
+
if (!existsSync4(from) || !statSync2(from).isDirectory())
|
|
1442
|
+
return refuse(`${name} serves ${from}, which does not exist; there is nothing to move`);
|
|
1443
|
+
if (existsSync4(to))
|
|
1444
|
+
return refuse(`${to} already exists; move or remove it first, nothing was changed`);
|
|
1445
|
+
const scratchFrom = scratchRootOf(from);
|
|
1446
|
+
const scratchTo = scratchRootOf(to);
|
|
1447
|
+
const hasScratch = existsSync4(scratchFrom);
|
|
1448
|
+
if (hasScratch && existsSync4(scratchTo))
|
|
1449
|
+
return refuse(`${scratchTo} already exists; move or remove it first, nothing was changed`);
|
|
1450
|
+
for (const [source, target] of [
|
|
1451
|
+
[from, to],
|
|
1452
|
+
...hasScratch ? [[scratchFrom, scratchTo]] : []
|
|
1453
|
+
]) {
|
|
1454
|
+
if (!sameFileSystem(source, target))
|
|
1455
|
+
return refuse(
|
|
1456
|
+
`${source} and ${nearestExisting(target)} are on different file systems, and a move there would copy and delete; stop the service (namzu schedule service stop ${name}), move the folder by hand to ${target} and then run namzu schedule service install ${name}`
|
|
1457
|
+
);
|
|
1458
|
+
}
|
|
1459
|
+
const paths = schedulePaths(from);
|
|
1460
|
+
const manifest = readManifest(paths);
|
|
1461
|
+
if (!manifest)
|
|
1462
|
+
return refuse(
|
|
1463
|
+
`no scheduler service is installed in ${from}; namzu schedule service install ${name} installs one in the Namzu folder`
|
|
1464
|
+
);
|
|
1465
|
+
const inFlight = runsInFlight(paths);
|
|
1466
|
+
const jobs = listJobs(paths).jobs;
|
|
1467
|
+
const plan = [
|
|
1468
|
+
`Move ${name} (${manifest.platform})`,
|
|
1469
|
+
` home ${from}`,
|
|
1470
|
+
` to ${to}`,
|
|
1471
|
+
...hasScratch ? [` scratch ${scratchFrom}`, ` to ${scratchTo}`] : [],
|
|
1472
|
+
` jobs ${jobs.length} (${jobs.filter((j) => j.workspace === "none").length} with a scratch folder that is rewritten and needs confirming again)`,
|
|
1473
|
+
" then reinstall the service unit for the new home; start it again if it was running"
|
|
1474
|
+
];
|
|
1475
|
+
if (has(args, "dry-run")) {
|
|
1476
|
+
ctx.formatter.print({
|
|
1477
|
+
text: [
|
|
1478
|
+
...plan,
|
|
1479
|
+
...inFlight > 0 ? [
|
|
1480
|
+
` blocked ${inFlight} run(s) in progress; a real move waits for them (--wait) or refuses`
|
|
1481
|
+
] : [],
|
|
1482
|
+
"Nothing was changed."
|
|
1483
|
+
].join("\n")
|
|
1484
|
+
});
|
|
1485
|
+
return EXIT_OK;
|
|
1486
|
+
}
|
|
1487
|
+
const context = { paths, run: runCommand, env: process.env, version: CLI_VERSION };
|
|
1488
|
+
const wasRunning = (await probeHealth(paths)).healthy;
|
|
1489
|
+
const restart = /* @__PURE__ */ __name(async () => {
|
|
1490
|
+
requestStop(paths, !wasRunning);
|
|
1491
|
+
if (wasRunning) await startService(context, manifest);
|
|
1492
|
+
}, "restart");
|
|
1493
|
+
requestStop(paths, true);
|
|
1494
|
+
const endpoint = readEndpoint(paths.endpoint);
|
|
1495
|
+
if (endpoint) await callEndpoint(endpoint, "stop");
|
|
1496
|
+
await stopService(context, manifest);
|
|
1497
|
+
const waitMs = parseMs("--wait", flag(args, "wait")) ?? 0;
|
|
1498
|
+
const deadline = Date.now() + waitMs;
|
|
1499
|
+
while (runsInFlight(paths) > 0 && Date.now() < deadline) {
|
|
1500
|
+
ctx.formatter.info(`waiting for ${runsInFlight(paths)} run(s) in progress to finish\u2026`);
|
|
1501
|
+
await new Promise((r) => setTimeout(r, 5e3));
|
|
1502
|
+
}
|
|
1503
|
+
const still = runsInFlight(paths);
|
|
1504
|
+
if (still > 0) {
|
|
1505
|
+
await restart();
|
|
1506
|
+
return refuse(
|
|
1507
|
+
`${still} run(s) of ${name} are in progress, and their files would move under them; wait for them to finish (namzu schedule service status ${name}) or pass --wait 10m. Nothing was changed.`
|
|
1508
|
+
);
|
|
1509
|
+
}
|
|
1510
|
+
const indexBefore = {
|
|
1511
|
+
name,
|
|
1512
|
+
home: from,
|
|
1513
|
+
platform: manifest.platform,
|
|
1514
|
+
installedAt: manifest.installedAt
|
|
1515
|
+
};
|
|
1516
|
+
if (runsInFlight(paths) > 0) {
|
|
1517
|
+
await restart();
|
|
1518
|
+
return refuse(
|
|
1519
|
+
`a run of ${name} started while the move was being prepared; wait for it to finish and run the move again. Nothing was changed.`
|
|
1520
|
+
);
|
|
1521
|
+
}
|
|
1522
|
+
const putBack = /* @__PURE__ */ __name(() => {
|
|
1523
|
+
try {
|
|
1524
|
+
if (hasScratch && existsSync4(scratchTo) && !existsSync4(scratchFrom))
|
|
1525
|
+
renameSync(scratchTo, scratchFrom);
|
|
1526
|
+
} catch {
|
|
1527
|
+
}
|
|
1528
|
+
try {
|
|
1529
|
+
if (existsSync4(to) && !existsSync4(from)) renameSync(to, from);
|
|
1530
|
+
} catch {
|
|
1531
|
+
}
|
|
1532
|
+
}, "putBack");
|
|
1533
|
+
try {
|
|
1534
|
+
mkdirSync4(servicesRoot(), { recursive: true, mode: 448 });
|
|
1535
|
+
renameSync(from, to);
|
|
1536
|
+
if (hasScratch) renameSync(scratchFrom, scratchTo);
|
|
1537
|
+
} catch (error) {
|
|
1538
|
+
putBack();
|
|
1539
|
+
await restart();
|
|
1540
|
+
return refuse(
|
|
1541
|
+
`the folder could not be moved: ${error instanceof Error ? error.message : String(error)}. Nothing was changed.`
|
|
1542
|
+
);
|
|
1543
|
+
}
|
|
1544
|
+
const moved = schedulePaths(to);
|
|
1545
|
+
const problems = [];
|
|
1546
|
+
const indexProblem = recordService({ ...indexBefore, home: to });
|
|
1547
|
+
let manifestProblem;
|
|
1548
|
+
if (!indexProblem) {
|
|
1549
|
+
try {
|
|
1550
|
+
writeManifest(moved, { ...manifest, namzuHome: to });
|
|
1551
|
+
} catch (error) {
|
|
1552
|
+
manifestProblem = error instanceof Error ? error.message : String(error);
|
|
1553
|
+
recordService(indexBefore);
|
|
1554
|
+
}
|
|
1555
|
+
}
|
|
1556
|
+
if (indexProblem || manifestProblem) {
|
|
1557
|
+
putBack();
|
|
1558
|
+
await restart();
|
|
1559
|
+
return refuse(
|
|
1560
|
+
`the move was undone, ${name} is back in ${from}: ${indexProblem ? `the service index was not updated (${indexProblem})` : `the service manifest was not written (${manifestProblem})`}.`
|
|
1561
|
+
);
|
|
1562
|
+
}
|
|
1563
|
+
const notes = [];
|
|
1564
|
+
const rewrite = rewriteJobPaths(moved, from, to);
|
|
1565
|
+
problems.push(...rewrite.problems);
|
|
1566
|
+
requestStop(moved, !wasRunning);
|
|
1567
|
+
try {
|
|
1568
|
+
const reinstalled = await installService(
|
|
1569
|
+
{ paths: moved, run: runCommand, env: process.env, version: CLI_VERSION },
|
|
1570
|
+
{
|
|
1571
|
+
platform: manifest.platform,
|
|
1572
|
+
name,
|
|
1573
|
+
program: program(moved),
|
|
1574
|
+
atBoot: manifest.enabledLinger === true
|
|
1575
|
+
}
|
|
1576
|
+
);
|
|
1577
|
+
writeManifest(moved, {
|
|
1578
|
+
...reinstalled.manifest,
|
|
1579
|
+
installedAt: manifest.installedAt,
|
|
1580
|
+
...manifest.enabledLinger !== void 0 ? { enabledLinger: manifest.enabledLinger } : {}
|
|
1581
|
+
});
|
|
1582
|
+
problems.push(...reinstalled.problems);
|
|
1583
|
+
if (!wasRunning) await stopService({ ...context, paths: moved }, reinstalled.manifest);
|
|
1584
|
+
} catch (error) {
|
|
1585
|
+
problems.push(error instanceof Error ? error.message : String(error));
|
|
1586
|
+
}
|
|
1587
|
+
const mentions = filesMentioning(to, from);
|
|
1588
|
+
const lines = [
|
|
1589
|
+
`Moved ${name}: ${from} -> ${to}`,
|
|
1590
|
+
...hasScratch ? [`Scratch folders: ${scratchFrom} -> ${scratchTo}`] : [],
|
|
1591
|
+
`Service unit reinstalled for the new home; ${wasRunning ? "it is running again" : "it was stopped, and stays stopped"}.`,
|
|
1592
|
+
rewrite.rewritten.length > 0 ? `Rewritten to the new scratch folder: ${rewrite.rewritten.join(", ")}.` : "No job file needed rewriting.",
|
|
1593
|
+
...rewrite.needConfirming.length > 0 ? [
|
|
1594
|
+
`Confirm again (their confirmation covers the old scratch folder): ${rewrite.needConfirming.join(", ")}. Use namzu schedule confirm <job> --service ${name}.`
|
|
1595
|
+
] : [],
|
|
1596
|
+
rewrite.stillConfirmed.length > 0 ? `Confirmations still hold for ${rewrite.stillConfirmed.length} job(s): their folders are outside the home.` : rewrite.needConfirming.length === 0 ? "No confirmed job was affected." : "No other confirmed job.",
|
|
1597
|
+
...mentions.length > 0 ? [`Still names the old home (not rewritten): ${mentions.join(", ")}.`] : [],
|
|
1598
|
+
"daemon.env and the other files that may hold secrets moved with the folder unread."
|
|
1599
|
+
];
|
|
1600
|
+
for (const note of notes) ctx.formatter.info(note);
|
|
1601
|
+
ctx.formatter.print({ text: lines.join("\n") });
|
|
1602
|
+
if (problems.length > 0) {
|
|
1603
|
+
ctx.formatter.error({
|
|
1604
|
+
message: `the folder moved, but not everything followed:
|
|
1605
|
+
${problems.join("\n")}
|
|
1606
|
+
Run namzu schedule service install ${name} to finish.`
|
|
1607
|
+
});
|
|
1608
|
+
return 1;
|
|
1609
|
+
}
|
|
1610
|
+
return EXIT_OK;
|
|
1611
|
+
}
|
|
1612
|
+
__name(moveCommand, "moveCommand");
|
|
1238
1613
|
export {
|
|
1239
1614
|
daemonCommand,
|
|
1240
1615
|
fireCommand,
|
|
1241
1616
|
installCommand,
|
|
1242
1617
|
installedBin,
|
|
1243
1618
|
listCommand,
|
|
1619
|
+
moveCommand,
|
|
1244
1620
|
startStopCommand,
|
|
1245
1621
|
statusCommand,
|
|
1246
1622
|
uninstallCommand
|
|
1247
1623
|
};
|
|
1248
|
-
//# sourceMappingURL=service-
|
|
1624
|
+
//# sourceMappingURL=service-TCKPUGL5.js.map
|