@namzu/cli 55.0.0 → 57.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 +47 -0
- package/dist/bin.js +1 -1
- package/dist/chunks/{acp-P6KFYGM5.js → acp-KBPTK4GN.js} +63 -62
- package/dist/chunks/acp-KBPTK4GN.js.map +6 -0
- package/dist/chunks/{activity-command-3J6V5EAF.js → activity-command-JOED2VWN.js} +14 -13
- package/dist/chunks/activity-command-JOED2VWN.js.map +6 -0
- package/dist/chunks/{add-LUMWGWUU.js → add-66AQ7SKZ.js} +20 -19
- package/dist/chunks/add-66AQ7SKZ.js.map +6 -0
- package/dist/chunks/{agent-DEUD7JUU.js → agent-DL7YTL5B.js} +46 -45
- package/dist/chunks/agent-session-KQIXHDGU.js +87 -0
- package/dist/chunks/{apply-at-exit-F4UKB3BB.js → apply-at-exit-5GUCOPX3.js} +7 -7
- package/dist/chunks/{archive-4WUNS3EH.js → archive-ED4CWEU2.js} +12 -11
- package/dist/chunks/archive-ED4CWEU2.js.map +6 -0
- package/dist/chunks/{bin-main-QQECDPFM.js → bin-main-JDJ6LEOK.js} +8 -8
- package/dist/chunks/{binding-CDC6AMM5.js → binding-NU3G3EBQ.js} +3 -3
- package/dist/chunks/{browser-7K5T2CC4.js → browser-7DRWOIEZ.js} +7 -7
- package/dist/chunks/{chat-R4QQEEKS.js → chat-ISFH5CPZ.js} +17 -16
- package/dist/chunks/chat-ISFH5CPZ.js.map +6 -0
- package/dist/chunks/{chunk-ISPL24EM.js → chunk-2TU3QQRG.js} +69 -8
- package/dist/chunks/chunk-2TU3QQRG.js.map +6 -0
- package/dist/chunks/chunk-372SLS6Y.js +437 -0
- package/dist/chunks/chunk-372SLS6Y.js.map +6 -0
- package/dist/chunks/{chunk-KFEWG3GS.js → chunk-4KGXEARZ.js} +2 -2
- package/dist/chunks/{chunk-CK3YOOFA.js → chunk-4PX62LQ2.js} +31 -261
- package/dist/chunks/chunk-4PX62LQ2.js.map +6 -0
- package/dist/chunks/{chunk-LQHDKHAT.js → chunk-4YN7VGLV.js} +3 -3
- package/dist/chunks/{chunk-ENH45E5N.js → chunk-5GRTRQTV.js} +5 -5
- package/dist/chunks/{chunk-4XBZAAZY.js → chunk-5LDYBGOZ.js} +3 -3
- package/dist/chunks/{chunk-VE2UWCKT.js → chunk-5PTXGBPL.js} +2 -2
- package/dist/chunks/{chunk-HVHJJTWW.js → chunk-5TJZWGTZ.js} +40 -40
- package/dist/chunks/{chunk-7KXXEO4G.js → chunk-5X4XLHLF.js} +8 -8
- package/dist/chunks/{chunk-HXZIELO7.js → chunk-66ZXPQGB.js} +13 -13
- package/dist/chunks/chunk-6A4RDHHY.js +10 -0
- package/dist/chunks/chunk-6A4RDHHY.js.map +6 -0
- package/dist/chunks/{chunk-NZNYEM7D.js → chunk-6F3M3P3W.js} +528 -145
- package/dist/chunks/chunk-6F3M3P3W.js.map +6 -0
- package/dist/chunks/{chunk-OWDZULYL.js → chunk-6JAWZGSH.js} +5 -5
- package/dist/chunks/{chunk-MBIW6VMV.js → chunk-6SEDSZBH.js} +3 -3
- package/dist/chunks/{chunk-A4ET3763.js → chunk-6XIPTDOH.js} +2 -2
- package/dist/chunks/{chunk-5PU3W3NS.js → chunk-73VS7EXG.js} +2 -2
- package/dist/chunks/{chunk-SMSOGEDJ.js → chunk-7AXLZKTB.js} +4 -4
- package/dist/chunks/{chunk-MIE7YQ72.js → chunk-7EL5RPEU.js} +5 -5
- package/dist/chunks/{chunk-BH4E5V75.js → chunk-7O2WNQQZ.js} +2 -2
- package/dist/chunks/{chunk-S2WSJZM4.js → chunk-7WDKN3QG.js} +4 -4
- package/dist/chunks/{chunk-RLWETFV5.js → chunk-A4I24ISL.js} +3 -3
- package/dist/chunks/{chunk-KJDF4CBE.js → chunk-AF4ILHID.js} +3 -3
- package/dist/chunks/{chunk-663TOG2D.js → chunk-AFNHI46Y.js} +429 -48
- package/dist/chunks/chunk-AFNHI46Y.js.map +6 -0
- package/dist/chunks/{chunk-ICASE5FC.js → chunk-AWU5MYX3.js} +75 -10
- package/dist/chunks/{chunk-ICASE5FC.js.map → chunk-AWU5MYX3.js.map} +2 -2
- package/dist/chunks/{chunk-HSKH47TP.js → chunk-BFTAE67C.js} +3 -3
- package/dist/chunks/{chunk-4IUNZXG4.js → chunk-BQR2C4RM.js} +2 -2
- package/dist/chunks/{chunk-BEX7ZFUX.js → chunk-C4CUPDOU.js} +3 -3
- package/dist/chunks/{chunk-ASO7KWTF.js → chunk-C534SIJI.js} +2 -2
- package/dist/chunks/{chunk-X54UJMLY.js → chunk-CJUK4IWQ.js} +3 -3
- package/dist/chunks/{chunk-OM4JJUJ3.js → chunk-DBXWOXG3.js} +17 -18
- package/dist/chunks/chunk-DBXWOXG3.js.map +6 -0
- package/dist/chunks/{chunk-VGPX5ALX.js → chunk-DID4WFOD.js} +4 -4
- package/dist/chunks/{chunk-CHIP5NK3.js → chunk-DYCSVG2K.js} +7 -7
- package/dist/chunks/{chunk-TWT3GCUF.js → chunk-E7RD32NX.js} +2 -2
- package/dist/chunks/{chunk-N2ARTTR4.js → chunk-ECDMJNZU.js} +2 -2
- package/dist/chunks/{chunk-IGMWQRFG.js → chunk-ETDOSJF7.js} +2 -2
- package/dist/chunks/{chunk-QDW4P4KH.js → chunk-EXE7JBHE.js} +2 -2
- package/dist/chunks/{chunk-WVGG3KJQ.js → chunk-F7ECENUK.js} +2 -2
- package/dist/chunks/{chunk-CUFZPB43.js → chunk-F7LHGSEQ.js} +3 -3
- package/dist/chunks/{chunk-XULWT3EI.js → chunk-FNSWIOFJ.js} +4 -4
- package/dist/chunks/{chunk-ULS4WBNK.js → chunk-G3WCIRCZ.js} +8 -8
- package/dist/chunks/{chunk-BL3HUJQR.js → chunk-GBOOHDIH.js} +3 -3
- package/dist/chunks/{chunk-KXAKSDX2.js → chunk-GQU3OUV5.js} +5 -5
- package/dist/chunks/{chunk-LJREHEHA.js → chunk-GWH6BOVE.js} +4 -4
- package/dist/chunks/{chunk-HO4IDWJ2.js → chunk-HQFAVCTF.js} +4 -4
- package/dist/chunks/{chunk-WZ6SG2FE.js → chunk-HXW5DQLU.js} +4 -4
- package/dist/chunks/{chunk-5LF334Q6.js → chunk-I5CWCNRN.js} +5 -5
- package/dist/chunks/{chunk-3PCS7YGC.js → chunk-I7WXDTCF.js} +2 -2
- package/dist/chunks/{chunk-SEVYJ3QP.js → chunk-ICQYIDIR.js} +2 -2
- package/dist/chunks/{chunk-LM5T256H.js → chunk-IH5NEU2Y.js} +3 -3
- package/dist/chunks/{chunk-K2MUOGQY.js → chunk-IRCAPHCE.js} +2 -2
- package/dist/chunks/{chunk-PHSVFRNT.js → chunk-IT2OFHF7.js} +3 -3
- package/dist/chunks/{chunk-KIQLLWFY.js → chunk-JB3UZ7JJ.js} +2 -2
- package/dist/chunks/{chunk-LOOU73RU.js → chunk-JOORBY5L.js} +3 -3
- package/dist/chunks/{chunk-PS6J5XX7.js → chunk-JRIDJW3W.js} +3 -3
- package/dist/chunks/{chunk-FO2XREXN.js → chunk-K3NVHXN7.js} +19 -19
- package/dist/chunks/{chunk-JVSFISBV.js → chunk-K5FGK5AP.js} +3 -3
- package/dist/chunks/{chunk-JHR2TXRF.js → chunk-KE53UTUG.js} +6 -6
- package/dist/chunks/{chunk-QU4Z3BLV.js → chunk-KOVWQARO.js} +2 -2
- package/dist/chunks/{chunk-HAKXFSUH.js → chunk-L2Q467T7.js} +3 -3
- package/dist/chunks/{chunk-53WJ4NO5.js → chunk-LD4COIFG.js} +2 -2
- package/dist/chunks/{chunk-M7EORGVU.js → chunk-LJDAHRWI.js} +2 -2
- package/dist/chunks/{chunk-DHMRU3K4.js → chunk-LMPUBX5R.js} +5 -5
- package/dist/chunks/{chunk-PQ5HWAG3.js → chunk-LS5KVRMV.js} +4 -4
- package/dist/chunks/{chunk-AIMVTV6F.js → chunk-MI6WMBDQ.js} +3 -3
- package/dist/chunks/{chunk-J7SEGQ2I.js → chunk-MN426ZWA.js} +3 -3
- package/dist/chunks/{chunk-TNYZUL6N.js → chunk-MPIYLDWJ.js} +2 -2
- package/dist/chunks/{chunk-YFCQ3KFF.js → chunk-MTSXDMJB.js} +9 -9
- package/dist/chunks/{chunk-FCL5DXWB.js → chunk-NQ3MZ6N4.js} +2 -2
- package/dist/chunks/{chunk-BSERBIUO.js → chunk-O5YDY6XR.js} +6 -6
- package/dist/chunks/{chunk-MEGG65LL.js → chunk-OP2GILCA.js} +2 -2
- package/dist/chunks/{chunk-I3KWVWF2.js → chunk-P7UV5M73.js} +2 -2
- package/dist/chunks/{chunk-ZQNGW4KZ.js → chunk-PHDA4JI7.js} +4 -4
- package/dist/chunks/{chunk-O3PX7I34.js → chunk-PYR7VRWF.js} +2 -2
- package/dist/chunks/{chunk-VRP3BOCU.js → chunk-Q4LXBL4Z.js} +3 -3
- package/dist/chunks/{chunk-I3TRVPI6.js → chunk-QERO7OI6.js} +9 -9
- package/dist/chunks/{chunk-GWMVCQ3D.js → chunk-QF2FZ2DM.js} +37 -12
- package/dist/chunks/chunk-QF2FZ2DM.js.map +6 -0
- package/dist/chunks/{chunk-KWL25JMF.js → chunk-QF4HGWRL.js} +9 -9
- package/dist/chunks/{chunk-NE6LZ6Q5.js → chunk-QJYK566B.js} +7 -7
- package/dist/chunks/{chunk-PY3YYC4G.js → chunk-QS44GK4N.js} +2 -2
- package/dist/chunks/{chunk-3GDRKZXA.js → chunk-QUI2ZAGY.js} +141 -49
- package/dist/chunks/chunk-QUI2ZAGY.js.map +6 -0
- package/dist/chunks/{chunk-MKCLCEIV.js → chunk-QW3Y3RDE.js} +4 -4
- package/dist/chunks/chunk-RF6EIDPV.js +246 -0
- package/dist/chunks/chunk-RF6EIDPV.js.map +6 -0
- package/dist/chunks/{chunk-XDYJECN5.js → chunk-SQ32S3OE.js} +6 -6
- package/dist/chunks/{chunk-BNWEXH3W.js → chunk-T3VMBZEY.js} +5 -5
- package/dist/chunks/{chunk-3H5KDCSS.js → chunk-T5MBQXU2.js} +13 -4
- package/dist/chunks/{chunk-3H5KDCSS.js.map → chunk-T5MBQXU2.js.map} +1 -1
- package/dist/chunks/{chunk-ZKYOEJQL.js → chunk-TOADRNOV.js} +4 -4
- package/dist/chunks/{chunk-7MZT772U.js → chunk-U2MFIQ6X.js} +3 -3
- package/dist/chunks/{chunk-2QWV6XSF.js → chunk-U77GVCK3.js} +2 -2
- package/dist/chunks/{chunk-2TFJA5EQ.js → chunk-VFB4ZUOR.js} +2 -2
- package/dist/chunks/{chunk-2US4P3ES.js → chunk-W5TYUJI5.js} +6 -6
- package/dist/chunks/{chunk-SV5MKPY7.js → chunk-WCPKRDGR.js} +3 -3
- package/dist/chunks/{chunk-MEVLBVLI.js → chunk-WEL6L6DN.js} +3 -3
- package/dist/chunks/{chunk-XTR72KZ5.js → chunk-WIO3JRB5.js} +8 -8
- package/dist/chunks/{chunk-NXW2EAJK.js → chunk-WSO7YQLR.js} +3 -3
- package/dist/chunks/{chunk-AORNOTZJ.js → chunk-WXCJTJK4.js} +3 -3
- package/dist/chunks/{chunk-LFOK3YKA.js → chunk-X2JFYB5A.js} +3 -3
- package/dist/chunks/{chunk-DJRQ5SN5.js → chunk-X4W4DN3S.js} +2 -2
- package/dist/chunks/{chunk-DAL54OA6.js → chunk-X7QC2Q7P.js} +551 -72
- package/dist/chunks/chunk-X7QC2Q7P.js.map +6 -0
- package/dist/chunks/{chunk-GKI4TAEF.js → chunk-XYF26ZUO.js} +10 -10
- package/dist/chunks/{chunk-IY23C77E.js → chunk-Y3KKZ7HS.js} +2 -2
- package/dist/chunks/{chunk-VLSXELJR.js → chunk-YBAPUTER.js} +3 -3
- package/dist/chunks/{chunk-DQQAUL6O.js → chunk-YQOT7ABG.js} +4 -4
- package/dist/chunks/{chunk-NI7MFABN.js → chunk-ZAPPY4VF.js} +2 -2
- package/dist/chunks/{chunk-OS3TN3W5.js → chunk-ZFQOF5A5.js} +3 -3
- package/dist/chunks/{chunk-EDFXEVCR.js → chunk-ZT3DLJQZ.js} +5 -5
- package/dist/chunks/{cli-runtime-3EOGPAOI.js → cli-runtime-2HOSJR5Y.js} +16 -15
- package/dist/chunks/cli-runtime-2HOSJR5Y.js.map +6 -0
- package/dist/chunks/{commands-JKFW2FTM.js → commands-TKD5BHAC.js} +6 -6
- package/dist/chunks/{config-G76X2XWR.js → config-2JST7BZT.js} +12 -11
- package/dist/chunks/config-2JST7BZT.js.map +6 -0
- package/dist/chunks/{cost-JOL2XKCR.js → cost-AZAQ3AC5.js} +5 -5
- package/dist/chunks/{crash-report-WWQB3FNT.js → crash-report-IYMUJRDT.js} +6 -6
- package/dist/chunks/{dist-C4LFRONS.js → dist-5JRS362B.js} +2 -2
- package/dist/chunks/{dist-KALZOZSB.js → dist-BECOVIWQ.js} +2 -2
- package/dist/chunks/{dist-RNBUOIZ3.js → dist-NLY5ZLEK.js} +10 -2
- package/dist/chunks/{dist-RNBUOIZ3.js.map → dist-NLY5ZLEK.js.map} +1 -1
- package/dist/chunks/{dist-K56BXWHZ.js → dist-PYOYSQIZ.js} +261 -21
- package/dist/chunks/dist-PYOYSQIZ.js.map +6 -0
- package/dist/chunks/{dist-P7T5B6OQ.js → dist-S4GG5BOF.js} +2 -2
- package/dist/chunks/{dist-QTTPXF7V.js → dist-SPKR3SBF.js} +20 -2
- package/dist/chunks/{dist-XS43LEG6.js → dist-VQGHI5SR.js} +2 -2
- package/dist/chunks/{dist-HCQR5JWF.js → dist-YGZEZT7E.js} +2 -2
- package/dist/chunks/{doctor-MWVFGS4P.js → doctor-MYN7YCXB.js} +38 -37
- package/dist/chunks/{drain-TEKTLCEY.js → drain-IEZMA72M.js} +17 -16
- package/dist/chunks/drain-IEZMA72M.js.map +6 -0
- package/dist/chunks/{entry-X57C42AL.js → entry-SS5QYOOM.js} +6 -6
- package/dist/chunks/{eval-SPOW66XS.js → eval-4QK2EYXU.js} +9 -8
- package/dist/chunks/eval-4QK2EYXU.js.map +6 -0
- package/dist/chunks/{exec-JQ5NB2AS.js → exec-Z6TIWDJM.js} +43 -42
- package/dist/chunks/exec-Z6TIWDJM.js.map +6 -0
- package/dist/chunks/{extension-DJ455WVV.js → extension-4SMB7XQP.js} +5 -5
- package/dist/chunks/{home-UZMGNMMU.js → home-YYLBZ3E7.js} +3 -3
- package/dist/chunks/{hooks-GAV3AHGW.js → hooks-KVCP7AHB.js} +21 -20
- package/dist/chunks/hooks-KVCP7AHB.js.map +6 -0
- package/dist/chunks/{hooks-report-ZYD2PKFE.js → hooks-report-7BAQ5FJD.js} +17 -16
- package/dist/chunks/{host-MW35UKDW.js → host-CAZNAKUM.js} +10 -9
- package/dist/chunks/{host-queries-G7TO777Q.js → host-queries-NVNPXLV6.js} +17 -16
- package/dist/chunks/{installed-list-CDK2ADXL.js → installed-list-X7D2METU.js} +4 -4
- package/dist/chunks/{learn-XKT2W3TS.js → learn-BSA4OH3O.js} +16 -15
- package/dist/chunks/learn-BSA4OH3O.js.map +6 -0
- package/dist/chunks/{learn-builtin-ENUZCUF2.js → learn-builtin-YIJE4KDM.js} +19 -18
- package/dist/chunks/learn-builtin-YIJE4KDM.js.map +6 -0
- package/dist/chunks/{lifecycle-I7D57PFM.js → lifecycle-4CCVUYHX.js} +30 -28
- package/dist/chunks/{list-55DQ6HHQ.js → list-Y365NWT5.js} +15 -14
- package/dist/chunks/list-Y365NWT5.js.map +6 -0
- package/dist/chunks/{live-JZV6BRVX.js → live-3URICZBD.js} +37 -36
- package/dist/chunks/{load-BX73NFCW.js → load-LXAWOITU.js} +9 -8
- package/dist/chunks/{login-5NOFGMVK.js → login-QDMS62PW.js} +12 -11
- package/dist/chunks/{logs-V3T5ZLSL.js → logs-OGG4QEIR.js} +10 -4
- package/dist/chunks/{logs-V3T5ZLSL.js.map → logs-OGG4QEIR.js.map} +1 -1
- package/dist/chunks/{mcp-P6ZETIYE.js → mcp-VCZRILZ2.js} +20 -19
- package/dist/chunks/mcp-VCZRILZ2.js.map +6 -0
- package/dist/chunks/{message-command-MFRCWJMS.js → message-command-RN3TYTUE.js} +52 -51
- package/dist/chunks/message-command-RN3TYTUE.js.map +6 -0
- package/dist/chunks/{open-RWB4YIMA.js → open-S3T2QSFD.js} +7 -6
- package/dist/chunks/{operator-tools-5RKKKTJ7.js → operator-tools-4FKDVXEJ.js} +15 -14
- package/dist/chunks/operator-tools-4FKDVXEJ.js.map +6 -0
- package/dist/chunks/{output-schema-TAGVY7FK.js → output-schema-JZS2DYJS.js} +3 -3
- package/dist/chunks/{pal-HFEIAILK.js → pal-N4BQKNXH.js} +15 -14
- package/dist/chunks/pal-N4BQKNXH.js.map +6 -0
- package/dist/chunks/{peers-CIHUJQM2.js → peers-3QJCXMVT.js} +18 -17
- package/dist/chunks/peers-3QJCXMVT.js.map +6 -0
- package/dist/chunks/{peers-DYHS2JIA.js → peers-B46EOYXB.js} +7 -6
- package/dist/chunks/{plugin-IVAFURW3.js → plugin-SJ3Y2P53.js} +17 -16
- package/dist/chunks/plugin-SJ3Y2P53.js.map +6 -0
- package/dist/chunks/{providers-2E6JCJQS.js → providers-6HCMKQUI.js} +17 -16
- package/dist/chunks/providers-6HCMKQUI.js.map +6 -0
- package/dist/chunks/{providers-Y3D3NB7T.js → providers-AAGYOW7X.js} +10 -9
- package/dist/chunks/{pty-3K4QJTHO.js → pty-Y6DQ3O7S.js} +3 -3
- package/dist/chunks/resume-URQRK5DV.js +26 -0
- package/dist/chunks/{resume-command-MB6OK2MS.js → resume-command-GPX3ZFJG.js} +4 -4
- package/dist/chunks/{running-F76RPHIO.js → running-XXZFJXM2.js} +4 -4
- package/dist/chunks/{schedule-6UVWFIAX.js → schedule-36SDQUHA.js} +135 -31
- package/dist/chunks/schedule-36SDQUHA.js.map +6 -0
- package/dist/chunks/{send-XGXS5FD3.js → send-3I5I445I.js} +17 -16
- package/dist/chunks/send-person-YWJEDJLC.js +31 -0
- package/dist/chunks/{service-7O7ZQ2DO.js → service-2KVKUVPK.js} +155 -339
- package/dist/chunks/service-2KVKUVPK.js.map +6 -0
- package/dist/chunks/{setting-cli-QP7P5A3N.js → setting-cli-BIG2WZWH.js} +12 -11
- package/dist/chunks/{skills-RMHLBKND.js → skills-ROGIKQBK.js} +23 -22
- package/dist/chunks/skills-ROGIKQBK.js.map +6 -0
- package/dist/chunks/{start-check-L2MWVZIQ.js → start-check-WZ3L3FAC.js} +2 -2
- package/dist/chunks/{startup-failure-J3MIQOBW.js → startup-failure-Y6OKFLWB.js} +2 -2
- package/dist/chunks/{state-3PMAO2ZB.js → state-EK4XKBK5.js} +6 -6
- package/dist/chunks/{store-6WQ654X7.js → store-A6ZRPCAB.js} +12 -11
- package/dist/chunks/{store-4SRNBIX6.js → store-FLT5PL3C.js} +4 -4
- package/dist/chunks/{store-7R4L27D4.js → store-IOOFZ6PN.js} +3 -3
- package/dist/chunks/{store-WQ2MHPFZ.js → store-NX2MC2JN.js} +8 -7
- package/dist/chunks/{tui-2CWBX2GO.js → tui-DT36PST5.js} +84 -82
- package/dist/chunks/tui-DT36PST5.js.map +6 -0
- package/dist/chunks/{upgrade-E3BWBHV2.js → upgrade-AHGIHDGH.js} +8 -8
- package/dist/chunks/{watch-NUPIBU5S.js → watch-AFI4NLCR.js} +87 -85
- package/dist/chunks/watch-AFI4NLCR.js.map +6 -0
- package/dist/chunks/{workspaces-Y2XKF5VR.js → workspaces-QKVXLISC.js} +15 -14
- package/dist/chunks/workspaces-QKVXLISC.js.map +6 -0
- package/dist/chunks/{worktree-Y6BSAIZQ.js → worktree-NWJLCB5C.js} +21 -20
- package/dist/chunks/worktree-NWJLCB5C.js.map +6 -0
- package/dist/commands/schedule.d.ts.map +1 -1
- package/dist/config/load.d.ts.map +1 -1
- package/dist/config/schema.d.ts +32 -5
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/config/settings-descriptors.d.ts.map +1 -1
- package/dist/context/identity.d.ts.map +1 -1
- package/dist/index.js +38 -37
- package/dist/integrations/decision/points.d.ts +5 -2
- package/dist/integrations/decision/points.d.ts.map +1 -1
- package/dist/integrations/small-model/side-model.d.ts +5 -0
- package/dist/integrations/small-model/side-model.d.ts.map +1 -1
- package/dist/integrations/web/search.d.ts +1 -1
- package/dist/permissions/rules.d.ts +4 -1
- package/dist/permissions/rules.d.ts.map +1 -1
- package/dist/rounds/goal-admission.d.ts +1 -1
- package/dist/rounds/goal-admission.d.ts.map +1 -1
- package/dist/rounds/goal-guards.d.ts +61 -0
- package/dist/rounds/goal-guards.d.ts.map +1 -0
- package/dist/rounds/goal-judge.d.ts +55 -0
- package/dist/rounds/goal-judge.d.ts.map +1 -0
- package/dist/rounds/types.d.ts.map +1 -1
- package/dist/schedule/commands/logs.d.ts.map +1 -1
- package/dist/schedule/commands/service.d.ts +5 -1
- package/dist/schedule/commands/service.d.ts.map +1 -1
- package/dist/schedule/service/index.d.ts.map +1 -1
- package/dist/schedule/service/registry.d.ts +55 -0
- package/dist/schedule/service/registry.d.ts.map +1 -0
- package/dist/schedule/service/target.d.ts +31 -0
- package/dist/schedule/service/target.d.ts.map +1 -0
- package/dist/tui/App.d.ts.map +1 -1
- package/dist/tui/PermissionOverlay.d.ts.map +1 -1
- package/dist/tui/StatusBar.d.ts +6 -3
- package/dist/tui/StatusBar.d.ts.map +1 -1
- package/dist/tui/agent-view-commands.d.ts.map +1 -1
- package/dist/tui/agent.d.ts +19 -3
- package/dist/tui/agent.d.ts.map +1 -1
- package/dist/tui/command-catalogue.d.ts +5 -0
- package/dist/tui/command-catalogue.d.ts.map +1 -0
- package/dist/tui/command-tool.d.ts +71 -0
- package/dist/tui/command-tool.d.ts.map +1 -0
- package/dist/tui/fast-mode.d.ts +89 -11
- package/dist/tui/fast-mode.d.ts.map +1 -1
- package/dist/tui/launch-settings.d.ts +1 -1
- package/dist/tui/launch-settings.d.ts.map +1 -1
- package/dist/tui/model-run.d.ts +30 -0
- package/dist/tui/model-run.d.ts.map +1 -0
- package/dist/tui/model-switch-tool.d.ts.map +1 -1
- package/dist/tui/schedule/integration.d.ts +1 -1
- package/dist/tui/schedule/integration.d.ts.map +1 -1
- package/dist/tui/slash-parse.d.ts +16 -0
- package/dist/tui/slash-parse.d.ts.map +1 -0
- package/dist/tui/slashCommands.d.ts +36 -9
- package/dist/tui/slashCommands.d.ts.map +1 -1
- package/dist/tui/system-rows.d.ts +8 -2
- package/dist/tui/system-rows.d.ts.map +1 -1
- package/package.json +7 -7
- package/dist/chunks/acp-P6KFYGM5.js.map +0 -6
- package/dist/chunks/activity-command-3J6V5EAF.js.map +0 -6
- package/dist/chunks/add-LUMWGWUU.js.map +0 -6
- package/dist/chunks/agent-session-F76F26QR.js +0 -86
- package/dist/chunks/archive-4WUNS3EH.js.map +0 -6
- package/dist/chunks/chat-R4QQEEKS.js.map +0 -6
- package/dist/chunks/chunk-3GDRKZXA.js.map +0 -6
- package/dist/chunks/chunk-663TOG2D.js.map +0 -6
- package/dist/chunks/chunk-CK3YOOFA.js.map +0 -6
- package/dist/chunks/chunk-DAL54OA6.js.map +0 -6
- package/dist/chunks/chunk-GWMVCQ3D.js.map +0 -6
- package/dist/chunks/chunk-ISPL24EM.js.map +0 -6
- package/dist/chunks/chunk-NZNYEM7D.js.map +0 -6
- package/dist/chunks/chunk-OM4JJUJ3.js.map +0 -6
- package/dist/chunks/cli-runtime-3EOGPAOI.js.map +0 -6
- package/dist/chunks/config-G76X2XWR.js.map +0 -6
- package/dist/chunks/dist-K56BXWHZ.js.map +0 -6
- package/dist/chunks/drain-TEKTLCEY.js.map +0 -6
- package/dist/chunks/eval-SPOW66XS.js.map +0 -6
- package/dist/chunks/exec-JQ5NB2AS.js.map +0 -6
- package/dist/chunks/hooks-GAV3AHGW.js.map +0 -6
- package/dist/chunks/learn-XKT2W3TS.js.map +0 -6
- package/dist/chunks/learn-builtin-ENUZCUF2.js.map +0 -6
- package/dist/chunks/list-55DQ6HHQ.js.map +0 -6
- package/dist/chunks/mcp-P6ZETIYE.js.map +0 -6
- package/dist/chunks/message-command-MFRCWJMS.js.map +0 -6
- package/dist/chunks/operator-tools-5RKKKTJ7.js.map +0 -6
- package/dist/chunks/pal-HFEIAILK.js.map +0 -6
- package/dist/chunks/peers-CIHUJQM2.js.map +0 -6
- package/dist/chunks/plugin-IVAFURW3.js.map +0 -6
- package/dist/chunks/providers-2E6JCJQS.js.map +0 -6
- package/dist/chunks/resume-54ZENGFV.js +0 -25
- package/dist/chunks/schedule-6UVWFIAX.js.map +0 -6
- package/dist/chunks/send-person-PYOUY4X2.js +0 -30
- package/dist/chunks/service-7O7ZQ2DO.js.map +0 -6
- package/dist/chunks/skills-RMHLBKND.js.map +0 -6
- package/dist/chunks/tui-2CWBX2GO.js.map +0 -6
- package/dist/chunks/watch-NUPIBU5S.js.map +0 -6
- package/dist/chunks/workspaces-Y2XKF5VR.js.map +0 -6
- package/dist/chunks/worktree-Y6BSAIZQ.js.map +0 -6
- /package/dist/chunks/{agent-DEUD7JUU.js.map → agent-DL7YTL5B.js.map} +0 -0
- /package/dist/chunks/{agent-session-F76F26QR.js.map → agent-session-KQIXHDGU.js.map} +0 -0
- /package/dist/chunks/{apply-at-exit-F4UKB3BB.js.map → apply-at-exit-5GUCOPX3.js.map} +0 -0
- /package/dist/chunks/{bin-main-QQECDPFM.js.map → bin-main-JDJ6LEOK.js.map} +0 -0
- /package/dist/chunks/{binding-CDC6AMM5.js.map → binding-NU3G3EBQ.js.map} +0 -0
- /package/dist/chunks/{browser-7K5T2CC4.js.map → browser-7DRWOIEZ.js.map} +0 -0
- /package/dist/chunks/{chunk-KFEWG3GS.js.map → chunk-4KGXEARZ.js.map} +0 -0
- /package/dist/chunks/{chunk-LQHDKHAT.js.map → chunk-4YN7VGLV.js.map} +0 -0
- /package/dist/chunks/{chunk-ENH45E5N.js.map → chunk-5GRTRQTV.js.map} +0 -0
- /package/dist/chunks/{chunk-4XBZAAZY.js.map → chunk-5LDYBGOZ.js.map} +0 -0
- /package/dist/chunks/{chunk-VE2UWCKT.js.map → chunk-5PTXGBPL.js.map} +0 -0
- /package/dist/chunks/{chunk-HVHJJTWW.js.map → chunk-5TJZWGTZ.js.map} +0 -0
- /package/dist/chunks/{chunk-7KXXEO4G.js.map → chunk-5X4XLHLF.js.map} +0 -0
- /package/dist/chunks/{chunk-HXZIELO7.js.map → chunk-66ZXPQGB.js.map} +0 -0
- /package/dist/chunks/{chunk-OWDZULYL.js.map → chunk-6JAWZGSH.js.map} +0 -0
- /package/dist/chunks/{chunk-MBIW6VMV.js.map → chunk-6SEDSZBH.js.map} +0 -0
- /package/dist/chunks/{chunk-A4ET3763.js.map → chunk-6XIPTDOH.js.map} +0 -0
- /package/dist/chunks/{chunk-5PU3W3NS.js.map → chunk-73VS7EXG.js.map} +0 -0
- /package/dist/chunks/{chunk-SMSOGEDJ.js.map → chunk-7AXLZKTB.js.map} +0 -0
- /package/dist/chunks/{chunk-MIE7YQ72.js.map → chunk-7EL5RPEU.js.map} +0 -0
- /package/dist/chunks/{chunk-BH4E5V75.js.map → chunk-7O2WNQQZ.js.map} +0 -0
- /package/dist/chunks/{chunk-S2WSJZM4.js.map → chunk-7WDKN3QG.js.map} +0 -0
- /package/dist/chunks/{chunk-RLWETFV5.js.map → chunk-A4I24ISL.js.map} +0 -0
- /package/dist/chunks/{chunk-KJDF4CBE.js.map → chunk-AF4ILHID.js.map} +0 -0
- /package/dist/chunks/{chunk-HSKH47TP.js.map → chunk-BFTAE67C.js.map} +0 -0
- /package/dist/chunks/{chunk-4IUNZXG4.js.map → chunk-BQR2C4RM.js.map} +0 -0
- /package/dist/chunks/{chunk-BEX7ZFUX.js.map → chunk-C4CUPDOU.js.map} +0 -0
- /package/dist/chunks/{chunk-ASO7KWTF.js.map → chunk-C534SIJI.js.map} +0 -0
- /package/dist/chunks/{chunk-X54UJMLY.js.map → chunk-CJUK4IWQ.js.map} +0 -0
- /package/dist/chunks/{chunk-VGPX5ALX.js.map → chunk-DID4WFOD.js.map} +0 -0
- /package/dist/chunks/{chunk-CHIP5NK3.js.map → chunk-DYCSVG2K.js.map} +0 -0
- /package/dist/chunks/{chunk-TWT3GCUF.js.map → chunk-E7RD32NX.js.map} +0 -0
- /package/dist/chunks/{chunk-N2ARTTR4.js.map → chunk-ECDMJNZU.js.map} +0 -0
- /package/dist/chunks/{chunk-IGMWQRFG.js.map → chunk-ETDOSJF7.js.map} +0 -0
- /package/dist/chunks/{chunk-QDW4P4KH.js.map → chunk-EXE7JBHE.js.map} +0 -0
- /package/dist/chunks/{chunk-WVGG3KJQ.js.map → chunk-F7ECENUK.js.map} +0 -0
- /package/dist/chunks/{chunk-CUFZPB43.js.map → chunk-F7LHGSEQ.js.map} +0 -0
- /package/dist/chunks/{chunk-XULWT3EI.js.map → chunk-FNSWIOFJ.js.map} +0 -0
- /package/dist/chunks/{chunk-ULS4WBNK.js.map → chunk-G3WCIRCZ.js.map} +0 -0
- /package/dist/chunks/{chunk-BL3HUJQR.js.map → chunk-GBOOHDIH.js.map} +0 -0
- /package/dist/chunks/{chunk-KXAKSDX2.js.map → chunk-GQU3OUV5.js.map} +0 -0
- /package/dist/chunks/{chunk-LJREHEHA.js.map → chunk-GWH6BOVE.js.map} +0 -0
- /package/dist/chunks/{chunk-HO4IDWJ2.js.map → chunk-HQFAVCTF.js.map} +0 -0
- /package/dist/chunks/{chunk-WZ6SG2FE.js.map → chunk-HXW5DQLU.js.map} +0 -0
- /package/dist/chunks/{chunk-5LF334Q6.js.map → chunk-I5CWCNRN.js.map} +0 -0
- /package/dist/chunks/{chunk-3PCS7YGC.js.map → chunk-I7WXDTCF.js.map} +0 -0
- /package/dist/chunks/{chunk-SEVYJ3QP.js.map → chunk-ICQYIDIR.js.map} +0 -0
- /package/dist/chunks/{chunk-LM5T256H.js.map → chunk-IH5NEU2Y.js.map} +0 -0
- /package/dist/chunks/{chunk-K2MUOGQY.js.map → chunk-IRCAPHCE.js.map} +0 -0
- /package/dist/chunks/{chunk-PHSVFRNT.js.map → chunk-IT2OFHF7.js.map} +0 -0
- /package/dist/chunks/{chunk-KIQLLWFY.js.map → chunk-JB3UZ7JJ.js.map} +0 -0
- /package/dist/chunks/{chunk-LOOU73RU.js.map → chunk-JOORBY5L.js.map} +0 -0
- /package/dist/chunks/{chunk-PS6J5XX7.js.map → chunk-JRIDJW3W.js.map} +0 -0
- /package/dist/chunks/{chunk-FO2XREXN.js.map → chunk-K3NVHXN7.js.map} +0 -0
- /package/dist/chunks/{chunk-JVSFISBV.js.map → chunk-K5FGK5AP.js.map} +0 -0
- /package/dist/chunks/{chunk-JHR2TXRF.js.map → chunk-KE53UTUG.js.map} +0 -0
- /package/dist/chunks/{chunk-QU4Z3BLV.js.map → chunk-KOVWQARO.js.map} +0 -0
- /package/dist/chunks/{chunk-HAKXFSUH.js.map → chunk-L2Q467T7.js.map} +0 -0
- /package/dist/chunks/{chunk-53WJ4NO5.js.map → chunk-LD4COIFG.js.map} +0 -0
- /package/dist/chunks/{chunk-M7EORGVU.js.map → chunk-LJDAHRWI.js.map} +0 -0
- /package/dist/chunks/{chunk-DHMRU3K4.js.map → chunk-LMPUBX5R.js.map} +0 -0
- /package/dist/chunks/{chunk-PQ5HWAG3.js.map → chunk-LS5KVRMV.js.map} +0 -0
- /package/dist/chunks/{chunk-AIMVTV6F.js.map → chunk-MI6WMBDQ.js.map} +0 -0
- /package/dist/chunks/{chunk-J7SEGQ2I.js.map → chunk-MN426ZWA.js.map} +0 -0
- /package/dist/chunks/{chunk-TNYZUL6N.js.map → chunk-MPIYLDWJ.js.map} +0 -0
- /package/dist/chunks/{chunk-YFCQ3KFF.js.map → chunk-MTSXDMJB.js.map} +0 -0
- /package/dist/chunks/{chunk-FCL5DXWB.js.map → chunk-NQ3MZ6N4.js.map} +0 -0
- /package/dist/chunks/{chunk-BSERBIUO.js.map → chunk-O5YDY6XR.js.map} +0 -0
- /package/dist/chunks/{chunk-MEGG65LL.js.map → chunk-OP2GILCA.js.map} +0 -0
- /package/dist/chunks/{chunk-I3KWVWF2.js.map → chunk-P7UV5M73.js.map} +0 -0
- /package/dist/chunks/{chunk-ZQNGW4KZ.js.map → chunk-PHDA4JI7.js.map} +0 -0
- /package/dist/chunks/{chunk-O3PX7I34.js.map → chunk-PYR7VRWF.js.map} +0 -0
- /package/dist/chunks/{chunk-VRP3BOCU.js.map → chunk-Q4LXBL4Z.js.map} +0 -0
- /package/dist/chunks/{chunk-I3TRVPI6.js.map → chunk-QERO7OI6.js.map} +0 -0
- /package/dist/chunks/{chunk-KWL25JMF.js.map → chunk-QF4HGWRL.js.map} +0 -0
- /package/dist/chunks/{chunk-NE6LZ6Q5.js.map → chunk-QJYK566B.js.map} +0 -0
- /package/dist/chunks/{chunk-PY3YYC4G.js.map → chunk-QS44GK4N.js.map} +0 -0
- /package/dist/chunks/{chunk-MKCLCEIV.js.map → chunk-QW3Y3RDE.js.map} +0 -0
- /package/dist/chunks/{chunk-XDYJECN5.js.map → chunk-SQ32S3OE.js.map} +0 -0
- /package/dist/chunks/{chunk-BNWEXH3W.js.map → chunk-T3VMBZEY.js.map} +0 -0
- /package/dist/chunks/{chunk-ZKYOEJQL.js.map → chunk-TOADRNOV.js.map} +0 -0
- /package/dist/chunks/{chunk-7MZT772U.js.map → chunk-U2MFIQ6X.js.map} +0 -0
- /package/dist/chunks/{chunk-2QWV6XSF.js.map → chunk-U77GVCK3.js.map} +0 -0
- /package/dist/chunks/{chunk-2TFJA5EQ.js.map → chunk-VFB4ZUOR.js.map} +0 -0
- /package/dist/chunks/{chunk-2US4P3ES.js.map → chunk-W5TYUJI5.js.map} +0 -0
- /package/dist/chunks/{chunk-SV5MKPY7.js.map → chunk-WCPKRDGR.js.map} +0 -0
- /package/dist/chunks/{chunk-MEVLBVLI.js.map → chunk-WEL6L6DN.js.map} +0 -0
- /package/dist/chunks/{chunk-XTR72KZ5.js.map → chunk-WIO3JRB5.js.map} +0 -0
- /package/dist/chunks/{chunk-NXW2EAJK.js.map → chunk-WSO7YQLR.js.map} +0 -0
- /package/dist/chunks/{chunk-AORNOTZJ.js.map → chunk-WXCJTJK4.js.map} +0 -0
- /package/dist/chunks/{chunk-LFOK3YKA.js.map → chunk-X2JFYB5A.js.map} +0 -0
- /package/dist/chunks/{chunk-DJRQ5SN5.js.map → chunk-X4W4DN3S.js.map} +0 -0
- /package/dist/chunks/{chunk-GKI4TAEF.js.map → chunk-XYF26ZUO.js.map} +0 -0
- /package/dist/chunks/{chunk-IY23C77E.js.map → chunk-Y3KKZ7HS.js.map} +0 -0
- /package/dist/chunks/{chunk-VLSXELJR.js.map → chunk-YBAPUTER.js.map} +0 -0
- /package/dist/chunks/{chunk-DQQAUL6O.js.map → chunk-YQOT7ABG.js.map} +0 -0
- /package/dist/chunks/{chunk-NI7MFABN.js.map → chunk-ZAPPY4VF.js.map} +0 -0
- /package/dist/chunks/{chunk-OS3TN3W5.js.map → chunk-ZFQOF5A5.js.map} +0 -0
- /package/dist/chunks/{chunk-EDFXEVCR.js.map → chunk-ZT3DLJQZ.js.map} +0 -0
- /package/dist/chunks/{commands-JKFW2FTM.js.map → commands-TKD5BHAC.js.map} +0 -0
- /package/dist/chunks/{cost-JOL2XKCR.js.map → cost-AZAQ3AC5.js.map} +0 -0
- /package/dist/chunks/{crash-report-WWQB3FNT.js.map → crash-report-IYMUJRDT.js.map} +0 -0
- /package/dist/chunks/{dist-C4LFRONS.js.map → dist-5JRS362B.js.map} +0 -0
- /package/dist/chunks/{dist-KALZOZSB.js.map → dist-BECOVIWQ.js.map} +0 -0
- /package/dist/chunks/{dist-P7T5B6OQ.js.map → dist-S4GG5BOF.js.map} +0 -0
- /package/dist/chunks/{dist-QTTPXF7V.js.map → dist-SPKR3SBF.js.map} +0 -0
- /package/dist/chunks/{dist-XS43LEG6.js.map → dist-VQGHI5SR.js.map} +0 -0
- /package/dist/chunks/{dist-HCQR5JWF.js.map → dist-YGZEZT7E.js.map} +0 -0
- /package/dist/chunks/{doctor-MWVFGS4P.js.map → doctor-MYN7YCXB.js.map} +0 -0
- /package/dist/chunks/{entry-X57C42AL.js.map → entry-SS5QYOOM.js.map} +0 -0
- /package/dist/chunks/{extension-DJ455WVV.js.map → extension-4SMB7XQP.js.map} +0 -0
- /package/dist/chunks/{home-UZMGNMMU.js.map → home-YYLBZ3E7.js.map} +0 -0
- /package/dist/chunks/{hooks-report-ZYD2PKFE.js.map → hooks-report-7BAQ5FJD.js.map} +0 -0
- /package/dist/chunks/{host-MW35UKDW.js.map → host-CAZNAKUM.js.map} +0 -0
- /package/dist/chunks/{host-queries-G7TO777Q.js.map → host-queries-NVNPXLV6.js.map} +0 -0
- /package/dist/chunks/{installed-list-CDK2ADXL.js.map → installed-list-X7D2METU.js.map} +0 -0
- /package/dist/chunks/{lifecycle-I7D57PFM.js.map → lifecycle-4CCVUYHX.js.map} +0 -0
- /package/dist/chunks/{live-JZV6BRVX.js.map → live-3URICZBD.js.map} +0 -0
- /package/dist/chunks/{load-BX73NFCW.js.map → load-LXAWOITU.js.map} +0 -0
- /package/dist/chunks/{login-5NOFGMVK.js.map → login-QDMS62PW.js.map} +0 -0
- /package/dist/chunks/{open-RWB4YIMA.js.map → open-S3T2QSFD.js.map} +0 -0
- /package/dist/chunks/{output-schema-TAGVY7FK.js.map → output-schema-JZS2DYJS.js.map} +0 -0
- /package/dist/chunks/{peers-DYHS2JIA.js.map → peers-B46EOYXB.js.map} +0 -0
- /package/dist/chunks/{providers-Y3D3NB7T.js.map → providers-AAGYOW7X.js.map} +0 -0
- /package/dist/chunks/{pty-3K4QJTHO.js.map → pty-Y6DQ3O7S.js.map} +0 -0
- /package/dist/chunks/{resume-54ZENGFV.js.map → resume-URQRK5DV.js.map} +0 -0
- /package/dist/chunks/{resume-command-MB6OK2MS.js.map → resume-command-GPX3ZFJG.js.map} +0 -0
- /package/dist/chunks/{running-F76RPHIO.js.map → running-XXZFJXM2.js.map} +0 -0
- /package/dist/chunks/{send-XGXS5FD3.js.map → send-3I5I445I.js.map} +0 -0
- /package/dist/chunks/{send-person-PYOUY4X2.js.map → send-person-YWJEDJLC.js.map} +0 -0
- /package/dist/chunks/{setting-cli-QP7P5A3N.js.map → setting-cli-BIG2WZWH.js.map} +0 -0
- /package/dist/chunks/{start-check-L2MWVZIQ.js.map → start-check-WZ3L3FAC.js.map} +0 -0
- /package/dist/chunks/{startup-failure-J3MIQOBW.js.map → startup-failure-Y6OKFLWB.js.map} +0 -0
- /package/dist/chunks/{state-3PMAO2ZB.js.map → state-EK4XKBK5.js.map} +0 -0
- /package/dist/chunks/{store-4SRNBIX6.js.map → store-A6ZRPCAB.js.map} +0 -0
- /package/dist/chunks/{store-6WQ654X7.js.map → store-FLT5PL3C.js.map} +0 -0
- /package/dist/chunks/{store-7R4L27D4.js.map → store-IOOFZ6PN.js.map} +0 -0
- /package/dist/chunks/{store-WQ2MHPFZ.js.map → store-NX2MC2JN.js.map} +0 -0
- /package/dist/chunks/{upgrade-E3BWBHV2.js.map → upgrade-AHGIHDGH.js.map} +0 -0
|
@@ -2,7 +2,7 @@ import { createRequire as __namzuCreateRequire } from 'node:module';
|
|
|
2
2
|
const require = __namzuCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
openWorktreeHookRuntime
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-MI6WMBDQ.js";
|
|
6
6
|
import {
|
|
7
7
|
NAMZU_COMPACT_WORDMARK,
|
|
8
8
|
NAMZU_WORDMARK,
|
|
@@ -14,27 +14,27 @@ import {
|
|
|
14
14
|
confirmationView,
|
|
15
15
|
describeChanges,
|
|
16
16
|
permissionsChanged
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-C534SIJI.js";
|
|
18
18
|
import {
|
|
19
19
|
visibleScheduleMessage
|
|
20
20
|
} from "./chunk-NADQQMMG.js";
|
|
21
21
|
import {
|
|
22
22
|
selectDesktopBackend
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-P7UV5M73.js";
|
|
24
24
|
import {
|
|
25
25
|
hooksOf
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-LJDAHRWI.js";
|
|
27
27
|
import {
|
|
28
28
|
applyProviderFlags
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-LMPUBX5R.js";
|
|
30
30
|
import {
|
|
31
31
|
settleAnsweredPark
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-DYCSVG2K.js";
|
|
33
33
|
import {
|
|
34
34
|
DELIVERY_READ_LIMIT,
|
|
35
35
|
readSourceDeliveryPage,
|
|
36
36
|
takeSuppressedCount
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-DBXWOXG3.js";
|
|
38
38
|
import {
|
|
39
39
|
DEFAULT_MAX_ITERATIONS,
|
|
40
40
|
DEFAULT_TIMEOUT_MS,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
editedJob,
|
|
46
46
|
previewLines,
|
|
47
47
|
runsPerDay
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-5GRTRQTV.js";
|
|
49
49
|
import {
|
|
50
50
|
callsCount
|
|
51
51
|
} from "./chunk-OG2MLME3.js";
|
|
@@ -54,13 +54,13 @@ import {
|
|
|
54
54
|
gateRefusal,
|
|
55
55
|
scriptShellUnavailableReason,
|
|
56
56
|
verifyScheduledScript
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-CJUK4IWQ.js";
|
|
58
58
|
import {
|
|
59
59
|
allowsCommands,
|
|
60
60
|
compileJobPolicy,
|
|
61
61
|
compileScriptCheckPolicy,
|
|
62
62
|
isPresetName
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-ZT3DLJQZ.js";
|
|
64
64
|
import {
|
|
65
65
|
callEndpoint,
|
|
66
66
|
readEndpoint
|
|
@@ -74,20 +74,20 @@ import {
|
|
|
74
74
|
hasAcknowledgedBypass,
|
|
75
75
|
hasSeenAutoModeDefaultNotice,
|
|
76
76
|
markAutoModeDefaultNoticeSeen
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-Y3KKZ7HS.js";
|
|
78
78
|
import {
|
|
79
79
|
applyFallbackFlag
|
|
80
80
|
} from "./chunk-RL2CTUF2.js";
|
|
81
81
|
import {
|
|
82
82
|
parkedRunWords,
|
|
83
83
|
resumeCommand
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-E7RD32NX.js";
|
|
85
85
|
import {
|
|
86
86
|
appendHistory,
|
|
87
87
|
nextFireOf,
|
|
88
88
|
readHistory,
|
|
89
89
|
readState
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-4KGXEARZ.js";
|
|
91
91
|
import {
|
|
92
92
|
PERSON_ONLY_OPS,
|
|
93
93
|
controlDispatch,
|
|
@@ -105,7 +105,7 @@ import {
|
|
|
105
105
|
renderPeersScreen,
|
|
106
106
|
startControlServer,
|
|
107
107
|
writeControlInfo
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-OP2GILCA.js";
|
|
109
109
|
import {
|
|
110
110
|
CLIPBOARD_KILL_SWITCH,
|
|
111
111
|
ClickCounter,
|
|
@@ -118,7 +118,7 @@ import {
|
|
|
118
118
|
orderRange,
|
|
119
119
|
snapRange,
|
|
120
120
|
wordAt
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-7O2WNQQZ.js";
|
|
122
122
|
import {
|
|
123
123
|
buildPeerTools,
|
|
124
124
|
openLivePeers,
|
|
@@ -126,7 +126,7 @@ import {
|
|
|
126
126
|
peerMailMessage,
|
|
127
127
|
resolvePeerRuntime,
|
|
128
128
|
runsUnderAny
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-F7LHGSEQ.js";
|
|
130
130
|
import {
|
|
131
131
|
AUTO_CHOICE_ID,
|
|
132
132
|
PR_NONE,
|
|
@@ -147,13 +147,13 @@ import {
|
|
|
147
147
|
sharedExtensionHost,
|
|
148
148
|
withAutoChoice,
|
|
149
149
|
writeConversationExport
|
|
150
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-G3WCIRCZ.js";
|
|
151
151
|
import {
|
|
152
152
|
tuiPalDefinition,
|
|
153
153
|
tuiPalEnvironment,
|
|
154
154
|
tuiPalOwner,
|
|
155
155
|
tuiPalPreferences
|
|
156
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-6JAWZGSH.js";
|
|
157
157
|
import {
|
|
158
158
|
isModelOnlyContext,
|
|
159
159
|
runtimeContextRowLabel
|
|
@@ -165,10 +165,10 @@ import {
|
|
|
165
165
|
handedBackLines,
|
|
166
166
|
hypermodeRefusal,
|
|
167
167
|
outcomeNotice
|
|
168
|
-
} from "./chunk-
|
|
168
|
+
} from "./chunk-PHDA4JI7.js";
|
|
169
169
|
import {
|
|
170
170
|
defaultStartMode
|
|
171
|
-
} from "./chunk-
|
|
171
|
+
} from "./chunk-73VS7EXG.js";
|
|
172
172
|
import {
|
|
173
173
|
COMMAND_ROW_INDENT,
|
|
174
174
|
COMPACTED_HINT,
|
|
@@ -260,16 +260,16 @@ import {
|
|
|
260
260
|
webLiveStatus,
|
|
261
261
|
webSettledLine,
|
|
262
262
|
withDebugDetail
|
|
263
|
-
} from "./chunk-
|
|
263
|
+
} from "./chunk-AFNHI46Y.js";
|
|
264
264
|
import {
|
|
265
265
|
openManagedWorktrees,
|
|
266
266
|
worktreeOpenHint
|
|
267
|
-
} from "./chunk-
|
|
267
|
+
} from "./chunk-5X4XLHLF.js";
|
|
268
268
|
import {
|
|
269
269
|
MCP_OUTPUT_CHARS,
|
|
270
270
|
boundedMcpText,
|
|
271
271
|
validatePromptArguments
|
|
272
|
-
} from "./chunk-
|
|
272
|
+
} from "./chunk-FNSWIOFJ.js";
|
|
273
273
|
import {
|
|
274
274
|
completionNotice,
|
|
275
275
|
countAgents,
|
|
@@ -279,13 +279,13 @@ import {
|
|
|
279
279
|
resumeCallText,
|
|
280
280
|
resumeReviewLines,
|
|
281
281
|
runTokens
|
|
282
|
-
} from "./chunk-
|
|
282
|
+
} from "./chunk-Q4LXBL4Z.js";
|
|
283
283
|
import {
|
|
284
284
|
openInBrowser
|
|
285
|
-
} from "./chunk-
|
|
285
|
+
} from "./chunk-X4W4DN3S.js";
|
|
286
286
|
import {
|
|
287
287
|
describeBrowserStatus
|
|
288
|
-
} from "./chunk-
|
|
288
|
+
} from "./chunk-VFB4ZUOR.js";
|
|
289
289
|
import {
|
|
290
290
|
MAY_BE_LIMITED_WINDOW_MS,
|
|
291
291
|
accountProductName,
|
|
@@ -297,19 +297,19 @@ import {
|
|
|
297
297
|
import {
|
|
298
298
|
beginSubscriptionLogin,
|
|
299
299
|
parsePastedInput
|
|
300
|
-
} from "./chunk-
|
|
300
|
+
} from "./chunk-7AXLZKTB.js";
|
|
301
301
|
import {
|
|
302
302
|
API_KEY_ACCOUNT_PROVIDERS,
|
|
303
303
|
openCliAccounts,
|
|
304
304
|
storedAccountSignedIn
|
|
305
|
-
} from "./chunk-
|
|
305
|
+
} from "./chunk-I5CWCNRN.js";
|
|
306
306
|
import {
|
|
307
307
|
beginCodexDeviceLogin
|
|
308
|
-
} from "./chunk-
|
|
308
|
+
} from "./chunk-K5FGK5AP.js";
|
|
309
309
|
import {
|
|
310
310
|
claimPalConversation,
|
|
311
311
|
listPalConversations
|
|
312
|
-
} from "./chunk-
|
|
312
|
+
} from "./chunk-7WDKN3QG.js";
|
|
313
313
|
import {
|
|
314
314
|
ConversationIndexRefreshError,
|
|
315
315
|
activeConversationTurn,
|
|
@@ -361,15 +361,15 @@ import {
|
|
|
361
361
|
unarchiveConversation,
|
|
362
362
|
unchipPastedRanges,
|
|
363
363
|
widenOverChips
|
|
364
|
-
} from "./chunk-
|
|
364
|
+
} from "./chunk-KE53UTUG.js";
|
|
365
365
|
import {
|
|
366
366
|
bindAccount,
|
|
367
367
|
findAccountByName,
|
|
368
368
|
isDefaultAccountId
|
|
369
|
-
} from "./chunk-
|
|
369
|
+
} from "./chunk-IRCAPHCE.js";
|
|
370
370
|
import {
|
|
371
371
|
startAutoUpdate
|
|
372
|
-
} from "./chunk-
|
|
372
|
+
} from "./chunk-LS5KVRMV.js";
|
|
373
373
|
import {
|
|
374
374
|
readManifest
|
|
375
375
|
} from "./chunk-AK2U3N2A.js";
|
|
@@ -377,6 +377,7 @@ import {
|
|
|
377
377
|
BACKGROUND_SECTION_TITLES,
|
|
378
378
|
Box_default,
|
|
379
379
|
CALL_BLOCK_EXTRA_ROWS,
|
|
380
|
+
CLI_LOCAL_COMMANDS,
|
|
380
381
|
CLOSING_GLYPH,
|
|
381
382
|
CONTINUATION_GLYPH,
|
|
382
383
|
Checklist,
|
|
@@ -435,12 +436,12 @@ import {
|
|
|
435
436
|
kernelCommandDescriptors,
|
|
436
437
|
launchFollowNote,
|
|
437
438
|
launchReceipt,
|
|
439
|
+
listedCommands,
|
|
438
440
|
liveGroups,
|
|
439
441
|
matchSlashCommands,
|
|
440
442
|
measure_element_default,
|
|
441
443
|
mergeHostCommands,
|
|
442
444
|
monitorEndRow,
|
|
443
|
-
parseSlash,
|
|
444
445
|
pendingBackgroundAgents,
|
|
445
446
|
pressedKeyLabel,
|
|
446
447
|
primaryKeyLabel,
|
|
@@ -493,10 +494,10 @@ import {
|
|
|
493
494
|
wroteLineText,
|
|
494
495
|
wroteOf,
|
|
495
496
|
wroteRailText
|
|
496
|
-
} from "./chunk-
|
|
497
|
+
} from "./chunk-QUI2ZAGY.js";
|
|
497
498
|
import {
|
|
498
499
|
discoverUserCommands
|
|
499
|
-
} from "./chunk-
|
|
500
|
+
} from "./chunk-QW3Y3RDE.js";
|
|
500
501
|
import {
|
|
501
502
|
describeAllCredentialsLogout,
|
|
502
503
|
describeApiKeyLogout,
|
|
@@ -507,7 +508,7 @@ import {
|
|
|
507
508
|
} from "./chunk-MDK4RMBQ.js";
|
|
508
509
|
import {
|
|
509
510
|
resolveNpmInvocation
|
|
510
|
-
} from "./chunk-
|
|
511
|
+
} from "./chunk-LD4COIFG.js";
|
|
511
512
|
import {
|
|
512
513
|
capChoiceLines,
|
|
513
514
|
choiceDisplayText,
|
|
@@ -547,7 +548,7 @@ import {
|
|
|
547
548
|
describeCacheLifetime,
|
|
548
549
|
promptCacheTtl,
|
|
549
550
|
providerOffersCacheLifetime
|
|
550
|
-
} from "./chunk-
|
|
551
|
+
} from "./chunk-5LDYBGOZ.js";
|
|
551
552
|
import {
|
|
552
553
|
CLICK_EXPAND_HINT,
|
|
553
554
|
CLICK_FOLD_HINT,
|
|
@@ -577,18 +578,19 @@ import {
|
|
|
577
578
|
isSessionPlanPath,
|
|
578
579
|
learnSkillPrompt,
|
|
579
580
|
newSkillPrompt,
|
|
581
|
+
parseSlash,
|
|
580
582
|
resolveTurnGuards,
|
|
581
583
|
sameAllow,
|
|
582
584
|
sandboxRunsShellUnasked,
|
|
583
585
|
settledElapsed,
|
|
584
586
|
withoutCdToCwd
|
|
585
|
-
} from "./chunk-
|
|
587
|
+
} from "./chunk-AWU5MYX3.js";
|
|
586
588
|
import {
|
|
587
589
|
describePlainInterruption,
|
|
588
590
|
describeProviderWait,
|
|
589
591
|
isSelfMending,
|
|
590
592
|
isSpentAllowance
|
|
591
|
-
} from "./chunk-
|
|
593
|
+
} from "./chunk-L2Q467T7.js";
|
|
592
594
|
import {
|
|
593
595
|
debugRequested
|
|
594
596
|
} from "./chunk-GNBMKISG.js";
|
|
@@ -600,14 +602,14 @@ import {
|
|
|
600
602
|
handoffContinuationNote,
|
|
601
603
|
refusalDetail,
|
|
602
604
|
retryAfterMs
|
|
603
|
-
} from "./chunk-
|
|
605
|
+
} from "./chunk-QS44GK4N.js";
|
|
604
606
|
import {
|
|
605
607
|
autoAvailable,
|
|
606
608
|
nextCycleMode,
|
|
607
609
|
permissionModeDescription,
|
|
608
610
|
permissionModeLabel,
|
|
609
611
|
permissionModeName
|
|
610
|
-
} from "./chunk-
|
|
612
|
+
} from "./chunk-NQ3MZ6N4.js";
|
|
611
613
|
import {
|
|
612
614
|
paint,
|
|
613
615
|
rowTints,
|
|
@@ -616,18 +618,18 @@ import {
|
|
|
616
618
|
} from "./chunk-P65AXQPL.js";
|
|
617
619
|
import {
|
|
618
620
|
discoverAgentDefinitions
|
|
619
|
-
} from "./chunk-
|
|
621
|
+
} from "./chunk-GQU3OUV5.js";
|
|
620
622
|
import {
|
|
621
623
|
readAgentHooks
|
|
622
|
-
} from "./chunk-
|
|
624
|
+
} from "./chunk-HQFAVCTF.js";
|
|
623
625
|
import {
|
|
624
626
|
readSkillHooks,
|
|
625
627
|
withoutSessionStart
|
|
626
|
-
} from "./chunk-
|
|
628
|
+
} from "./chunk-AF4ILHID.js";
|
|
627
629
|
import {
|
|
628
630
|
primaryProvider,
|
|
629
631
|
writePreferences
|
|
630
|
-
} from "./chunk-
|
|
632
|
+
} from "./chunk-66ZXPQGB.js";
|
|
631
633
|
import {
|
|
632
634
|
apiKeyLogoutWord,
|
|
633
635
|
automaticChoice,
|
|
@@ -638,7 +640,7 @@ import {
|
|
|
638
640
|
hasApiCredential,
|
|
639
641
|
isApiKeyLogoutTarget,
|
|
640
642
|
signedInSubscriptionProviders
|
|
641
|
-
} from "./chunk-
|
|
643
|
+
} from "./chunk-4YN7VGLV.js";
|
|
642
644
|
import {
|
|
643
645
|
isAnthropicOAuthToken
|
|
644
646
|
} from "./chunk-LPPFJYL6.js";
|
|
@@ -649,14 +651,14 @@ import {
|
|
|
649
651
|
loadSkillBody,
|
|
650
652
|
renderSkillRoster,
|
|
651
653
|
skillTierLabel
|
|
652
|
-
} from "./chunk-
|
|
654
|
+
} from "./chunk-U2MFIQ6X.js";
|
|
653
655
|
import {
|
|
654
656
|
isTrusted,
|
|
655
657
|
isTrustedAtStateRoot,
|
|
656
658
|
startNewTrustList,
|
|
657
659
|
trustDir,
|
|
658
660
|
trustListProblem
|
|
659
|
-
} from "./chunk-
|
|
661
|
+
} from "./chunk-C4CUPDOU.js";
|
|
660
662
|
import {
|
|
661
663
|
expandTabs,
|
|
662
664
|
scriptText,
|
|
@@ -664,11 +666,11 @@ import {
|
|
|
664
666
|
} from "./chunk-I4GTRFPK.js";
|
|
665
667
|
import {
|
|
666
668
|
getScreenModeNow
|
|
667
|
-
} from "./chunk-
|
|
669
|
+
} from "./chunk-2TU3QQRG.js";
|
|
668
670
|
import {
|
|
669
671
|
deleteUserConfigValue,
|
|
670
672
|
setUserConfigValue
|
|
671
|
-
} from "./chunk-
|
|
673
|
+
} from "./chunk-TOADRNOV.js";
|
|
672
674
|
import {
|
|
673
675
|
COMPOSER_TRIGGER_DEFAULTS,
|
|
674
676
|
COMPOSER_TRIGGER_IDS,
|
|
@@ -704,7 +706,7 @@ import {
|
|
|
704
706
|
verdictOf,
|
|
705
707
|
withWorkflowKeywordSwitch,
|
|
706
708
|
writeConnection
|
|
707
|
-
} from "./chunk-
|
|
709
|
+
} from "./chunk-QF2FZ2DM.js";
|
|
708
710
|
import {
|
|
709
711
|
PROJECT_MCP_FILE,
|
|
710
712
|
parseMcpServerFile
|
|
@@ -746,10 +748,10 @@ import {
|
|
|
746
748
|
restrictToOwner,
|
|
747
749
|
writeStoredApiKey,
|
|
748
750
|
writeStoredGeminiApiKey
|
|
749
|
-
} from "./chunk-
|
|
751
|
+
} from "./chunk-4PX62LQ2.js";
|
|
750
752
|
import {
|
|
751
753
|
namzuHomePath
|
|
752
|
-
} from "./chunk-
|
|
754
|
+
} from "./chunk-U77GVCK3.js";
|
|
753
755
|
import {
|
|
754
756
|
stringWidth
|
|
755
757
|
} from "./chunk-U5UV2YRE.js";
|
|
@@ -759,10 +761,12 @@ import {
|
|
|
759
761
|
AuthorizationGate,
|
|
760
762
|
CompactionRefusedError,
|
|
761
763
|
DECLINED_TOOL_CALL_FEEDBACK,
|
|
762
|
-
|
|
764
|
+
DEFAULT_GOAL_STALL_ROUNDS,
|
|
763
765
|
DiskMessageFeedbackStore,
|
|
764
766
|
DiskSessionLeaseStore,
|
|
765
767
|
DiskSessionLog,
|
|
768
|
+
GoalBudgetLimitError,
|
|
769
|
+
GoalCheckInError,
|
|
766
770
|
GoalRoundLimitError,
|
|
767
771
|
HAND_BACK_RECEIPT,
|
|
768
772
|
HAND_BACK_TOOL_NAME,
|
|
@@ -802,6 +806,8 @@ import {
|
|
|
802
806
|
formatJoinCode,
|
|
803
807
|
generateSessionId,
|
|
804
808
|
generateTurnId,
|
|
809
|
+
goalCostText,
|
|
810
|
+
goalTokensText,
|
|
805
811
|
hardenPeerRuntimeDir,
|
|
806
812
|
hostCommandShell,
|
|
807
813
|
hostTimeZone,
|
|
@@ -846,7 +852,7 @@ import {
|
|
|
846
852
|
withAccountLock,
|
|
847
853
|
wrapUntrusted,
|
|
848
854
|
writePeerRecord
|
|
849
|
-
} from "./chunk-
|
|
855
|
+
} from "./chunk-X7QC2Q7P.js";
|
|
850
856
|
import {
|
|
851
857
|
__name,
|
|
852
858
|
__toESM
|
|
@@ -11994,6 +12000,118 @@ function admissionBlocked(source, facts) {
|
|
|
11994
12000
|
}
|
|
11995
12001
|
__name(admissionBlocked, "admissionBlocked");
|
|
11996
12002
|
|
|
12003
|
+
// src/rounds/goal-guards.ts
|
|
12004
|
+
var DEFAULT_CLI_GOAL_MAX_ROUNDS = 1e3;
|
|
12005
|
+
var DEFAULT_CLI_GOAL_CHECK_IN_ROUNDS = 0;
|
|
12006
|
+
function goalDefaults(config) {
|
|
12007
|
+
return {
|
|
12008
|
+
maxGoalRounds: config?.maxRounds ?? DEFAULT_CLI_GOAL_MAX_ROUNDS,
|
|
12009
|
+
guards: {
|
|
12010
|
+
stallRounds: config?.stallRounds ?? DEFAULT_GOAL_STALL_ROUNDS,
|
|
12011
|
+
checkInEvery: config?.checkInEvery ?? DEFAULT_CLI_GOAL_CHECK_IN_ROUNDS,
|
|
12012
|
+
...config?.tokenBudget !== void 0 ? { tokenBudget: config.tokenBudget } : {}
|
|
12013
|
+
}
|
|
12014
|
+
};
|
|
12015
|
+
}
|
|
12016
|
+
__name(goalDefaults, "goalDefaults");
|
|
12017
|
+
function clip(text, max = 80) {
|
|
12018
|
+
const flat = text.replace(/\s+/gu, " ").trim();
|
|
12019
|
+
return flat.length > max ? `${flat.slice(0, max - 1)}\u2026` : flat;
|
|
12020
|
+
}
|
|
12021
|
+
__name(clip, "clip");
|
|
12022
|
+
function roundProgress(record3) {
|
|
12023
|
+
if (record3 === void 0) return "unknown";
|
|
12024
|
+
if (record3.changes.total > 0 || record3.changes.outsideKnownTools || record3.checks.length > 0 || record3.verdict === "unknown") {
|
|
12025
|
+
return "progress";
|
|
12026
|
+
}
|
|
12027
|
+
return "empty";
|
|
12028
|
+
}
|
|
12029
|
+
__name(roundProgress, "roundProgress");
|
|
12030
|
+
function roundFailure(record3) {
|
|
12031
|
+
const failed = record3?.checks.filter((check) => check.result === "failed") ?? [];
|
|
12032
|
+
if (failed.length === 0) return void 0;
|
|
12033
|
+
return failed.map(
|
|
12034
|
+
(check) => clip(`${check.command}${check.exitCode !== void 0 ? ` (exit ${check.exitCode})` : ""}`)
|
|
12035
|
+
).sort().join("; ");
|
|
12036
|
+
}
|
|
12037
|
+
__name(roundFailure, "roundFailure");
|
|
12038
|
+
function roundAction(record3) {
|
|
12039
|
+
if (record3 === void 0) return void 0;
|
|
12040
|
+
const check = record3.checks[record3.checks.length - 1];
|
|
12041
|
+
if (check) return `ran ${clip(check.command, 60)}`;
|
|
12042
|
+
const path = record3.changes.paths[0];
|
|
12043
|
+
if (path !== void 0) {
|
|
12044
|
+
const more = record3.changes.total > 1 ? ` and ${record3.changes.total - 1} more` : "";
|
|
12045
|
+
return `changed ${clip(path, 60)}${more}`;
|
|
12046
|
+
}
|
|
12047
|
+
if (record3.changes.outsideKnownTools || record3.verdict === "unknown") return "ran a command";
|
|
12048
|
+
return void 0;
|
|
12049
|
+
}
|
|
12050
|
+
__name(roundAction, "roundAction");
|
|
12051
|
+
function summarizeRound(input) {
|
|
12052
|
+
const claimed = input.goal !== null && (input.goal.phase === "complete" || (input.goal.missing?.length ?? 0) > 0);
|
|
12053
|
+
const failure = (input.record?.changes.total ?? 0) > 0 ? void 0 : roundFailure(input.record);
|
|
12054
|
+
const action = roundAction(input.record);
|
|
12055
|
+
return {
|
|
12056
|
+
progress: claimed ? "unknown" : roundProgress(input.record),
|
|
12057
|
+
...input.tokens !== void 0 ? { tokens: input.tokens } : {},
|
|
12058
|
+
...input.costUsd !== void 0 ? { costUsd: input.costUsd } : {},
|
|
12059
|
+
...failure !== void 0 ? { failureSignature: failure } : {},
|
|
12060
|
+
...action !== void 0 ? { action } : {}
|
|
12061
|
+
};
|
|
12062
|
+
}
|
|
12063
|
+
__name(summarizeRound, "summarizeRound");
|
|
12064
|
+
function goalSpentSentence(goal) {
|
|
12065
|
+
const turns = goal.roundsAdmitted;
|
|
12066
|
+
return `${turns} automatic turn${turns === 1 ? "" : "s"}, ${goalTokensText(goal)} tokens, ${goalCostText(goal)}`;
|
|
12067
|
+
}
|
|
12068
|
+
__name(goalSpentSentence, "goalSpentSentence");
|
|
12069
|
+
function goalStopSentence(goal) {
|
|
12070
|
+
if (goal.phase === "paused" && goal.pauseReason?.code === "check-in") {
|
|
12071
|
+
return `${goal.pauseReason.message} Run /goal resume to continue.`;
|
|
12072
|
+
}
|
|
12073
|
+
if (goal.phase !== "blocked" || goal.blockedReason === void 0) return void 0;
|
|
12074
|
+
const reason = goal.blockedReason;
|
|
12075
|
+
switch (reason.code) {
|
|
12076
|
+
case "no-progress":
|
|
12077
|
+
return `Goal stopped: ${reason.message} ${goalSpentSentence(goal)} so far. Run /goal resume to try again.`;
|
|
12078
|
+
case "repeated-failure":
|
|
12079
|
+
return `Goal stopped: ${reason.message} ${goalSpentSentence(goal)} so far. Fix the cause, then run /goal resume.`;
|
|
12080
|
+
case "budget-limited":
|
|
12081
|
+
return `Goal stopped at its token budget: ${reason.message} Raise it with /goal resume after setting goal.tokenBudget higher.`;
|
|
12082
|
+
case "round-limit":
|
|
12083
|
+
return `Goal stopped: ${reason.message} ${goalSpentSentence(goal)} so far. Run /goal resume to go on (raise goal.maxRounds first for more).`;
|
|
12084
|
+
default:
|
|
12085
|
+
return void 0;
|
|
12086
|
+
}
|
|
12087
|
+
}
|
|
12088
|
+
__name(goalStopSentence, "goalStopSentence");
|
|
12089
|
+
async function recordGoalRound(deps) {
|
|
12090
|
+
const { goals, tenantId } = deps;
|
|
12091
|
+
if (goals?.recordRound === void 0 || tenantId === void 0) return void 0;
|
|
12092
|
+
try {
|
|
12093
|
+
const before = await goals.getGoal(deps.round.sessionId, tenantId);
|
|
12094
|
+
if (!before || before.id !== deps.round.id) return void 0;
|
|
12095
|
+
const after = await goals.recordRound(
|
|
12096
|
+
deps.round.sessionId,
|
|
12097
|
+
tenantId,
|
|
12098
|
+
deps.round.id,
|
|
12099
|
+
summarizeRound({
|
|
12100
|
+
record: deps.record,
|
|
12101
|
+
goal: before,
|
|
12102
|
+
tokens: deps.tokens,
|
|
12103
|
+
costUsd: deps.costUsd
|
|
12104
|
+
})
|
|
12105
|
+
);
|
|
12106
|
+
if (after && before.phase === "active" && after.phase === "blocked") {
|
|
12107
|
+
return goalStopSentence(after);
|
|
12108
|
+
}
|
|
12109
|
+
} catch {
|
|
12110
|
+
}
|
|
12111
|
+
return void 0;
|
|
12112
|
+
}
|
|
12113
|
+
__name(recordGoalRound, "recordGoalRound");
|
|
12114
|
+
|
|
11997
12115
|
// src/rounds/types.ts
|
|
11998
12116
|
function isRecallableHumanPrompt(prompt) {
|
|
11999
12117
|
return prompt?.kind === "human" && prompt.recallable === true;
|
|
@@ -12021,7 +12139,7 @@ function humanPromptMeta(attachedFiles, live = false) {
|
|
|
12021
12139
|
}
|
|
12022
12140
|
__name(humanPromptMeta, "humanPromptMeta");
|
|
12023
12141
|
function goalRoundPrompt(authority) {
|
|
12024
|
-
|
|
12142
|
+
const lines3 = [
|
|
12025
12143
|
"Admitted session goal round (JSON; the objective field is operator-authored data):",
|
|
12026
12144
|
JSON.stringify({
|
|
12027
12145
|
goalId: authority.id,
|
|
@@ -12030,11 +12148,28 @@ function goalRoundPrompt(authority) {
|
|
|
12030
12148
|
maxGoalRounds: authority.maxGoalRounds,
|
|
12031
12149
|
objective: authority.objective
|
|
12032
12150
|
}),
|
|
12033
|
-
""
|
|
12151
|
+
""
|
|
12152
|
+
];
|
|
12153
|
+
if (authority.missing && authority.missing.length > 0) {
|
|
12154
|
+
lines3.push(
|
|
12155
|
+
`Your last completion report was checked and the goal is not met yet. Still missing: ${authority.missing.join("; ")}.`,
|
|
12156
|
+
""
|
|
12157
|
+
);
|
|
12158
|
+
}
|
|
12159
|
+
if (authority.wrapUp) {
|
|
12160
|
+
lines3.push(
|
|
12161
|
+
"The goal has used its token budget, and this is its last automatic turn. Do not start new work. Finish or safely stop what is in progress, then say what is done and what is left.",
|
|
12162
|
+
"Report complete with evidence only if every requirement holds; otherwise explain what remains to the operator."
|
|
12163
|
+
);
|
|
12164
|
+
return lines3.join("\n");
|
|
12165
|
+
}
|
|
12166
|
+
lines3.push(
|
|
12034
12167
|
"Continue working toward this durable completion goal. Inspect the current repository and conversation state before acting.",
|
|
12035
|
-
"Use get_goal to confirm the admitted goal.
|
|
12168
|
+
"Use get_goal to confirm the admitted goal.",
|
|
12169
|
+
"Completion needs an audit. Before calling update_goal with status complete: restate each requirement in the objective, check each one against the current state (open the file, run the check, read the output), and pass one evidence entry per requirement (the requirement, what you checked, what it showed). Intent, earlier work or a plausible answer is not proof. If any evidence is weak, keep working instead of reporting. Then explain the verified outcome to the operator.",
|
|
12036
12170
|
"Only report status blocked after at least three admitted rounds and only when the same concrete blocking condition prevents meaningful progress. Otherwise keep making progress in this turn."
|
|
12037
|
-
|
|
12171
|
+
);
|
|
12172
|
+
return lines3.join("\n");
|
|
12038
12173
|
}
|
|
12039
12174
|
__name(goalRoundPrompt, "goalRoundPrompt");
|
|
12040
12175
|
|
|
@@ -12066,10 +12201,10 @@ async function admitGoalRound(deps) {
|
|
|
12066
12201
|
};
|
|
12067
12202
|
} catch (error) {
|
|
12068
12203
|
activation.disarm(sessionId, armed2);
|
|
12069
|
-
if (error instanceof GoalRoundLimitError) {
|
|
12204
|
+
if (error instanceof GoalRoundLimitError || error instanceof GoalCheckInError || error instanceof GoalBudgetLimitError) {
|
|
12070
12205
|
return {
|
|
12071
12206
|
kind: "blocked",
|
|
12072
|
-
message: `Goal
|
|
12207
|
+
message: goalStopSentence(error.goal) ?? `Goal stopped after ${error.goal.roundsAdmitted} automatic turn${error.goal.roundsAdmitted === 1 ? "" : "s"}: ${error.goal.blockedReason?.message ?? "a limit was reached"}`
|
|
12073
12208
|
};
|
|
12074
12209
|
}
|
|
12075
12210
|
if (error instanceof StaleGoalError) return { kind: "none" };
|
|
@@ -20411,6 +20546,10 @@ function permissionTitle(toolCalls, cwd) {
|
|
|
20411
20546
|
return "Start an agent";
|
|
20412
20547
|
case "workflow":
|
|
20413
20548
|
return resumesWorkflow(first) ? "Resume a workflow" : "Start a workflow";
|
|
20549
|
+
case "command":
|
|
20550
|
+
return "Run a Namzu command";
|
|
20551
|
+
case "switch_model":
|
|
20552
|
+
return "Change the model";
|
|
20414
20553
|
default:
|
|
20415
20554
|
return connectorToolLabel(first.name);
|
|
20416
20555
|
}
|
|
@@ -20426,6 +20565,22 @@ function resumesWorkflow(call) {
|
|
|
20426
20565
|
return typeof input === "object" && input !== null && typeof input.resumeFromRunId === "string";
|
|
20427
20566
|
}
|
|
20428
20567
|
__name(resumesWorkflow, "resumesWorkflow");
|
|
20568
|
+
function commandLineOfInput(input) {
|
|
20569
|
+
if (input === null || typeof input !== "object") return "a command";
|
|
20570
|
+
const { name, args } = input;
|
|
20571
|
+
if (typeof name !== "string") return "a command";
|
|
20572
|
+
const words2 = [name, ...Array.isArray(args) ? args.filter((a) => typeof a === "string") : []].join(" ").split(/\s+/u).filter((word) => word.length > 0);
|
|
20573
|
+
if (words2[0]?.startsWith("/")) words2[0] = words2[0].slice(1);
|
|
20574
|
+
return `/${words2.join(" ")}`;
|
|
20575
|
+
}
|
|
20576
|
+
__name(commandLineOfInput, "commandLineOfInput");
|
|
20577
|
+
function modelOfInput(input) {
|
|
20578
|
+
if (input === null || typeof input !== "object") return "another model";
|
|
20579
|
+
const { model, provider } = input;
|
|
20580
|
+
if (typeof model !== "string") return "another model";
|
|
20581
|
+
return typeof provider === "string" && provider.length > 0 ? `${provider}/${model}` : model;
|
|
20582
|
+
}
|
|
20583
|
+
__name(modelOfInput, "modelOfInput");
|
|
20429
20584
|
function permissionQuestion(toolCalls) {
|
|
20430
20585
|
const first = toolCalls[0];
|
|
20431
20586
|
if (toolCalls.length === 1 && first) {
|
|
@@ -20441,6 +20596,10 @@ function permissionQuestion(toolCalls) {
|
|
|
20441
20596
|
return "Do you want to write this file?";
|
|
20442
20597
|
case "Agent":
|
|
20443
20598
|
return "Do you want to start this agent?";
|
|
20599
|
+
case "command":
|
|
20600
|
+
return `Do you want to run ${commandLineOfInput(first.input)}?`;
|
|
20601
|
+
case "switch_model":
|
|
20602
|
+
return `Do you want to switch this conversation to ${modelOfInput(first.input)}?`;
|
|
20444
20603
|
case "workflow":
|
|
20445
20604
|
return resumesWorkflow(first) ? "Do you want to resume this workflow?" : "Do you want to start this workflow?";
|
|
20446
20605
|
default:
|
|
@@ -24075,7 +24234,7 @@ function fitStatusLine(input) {
|
|
|
24075
24234
|
let tasks = input.tasks ?? null;
|
|
24076
24235
|
let pr = input.pr ?? null;
|
|
24077
24236
|
let effort = input.effort ? `effort ${input.effort}` : null;
|
|
24078
|
-
let fast = input.fast === true ? "fast" : null;
|
|
24237
|
+
let fast = input.fast === "ultrafast" ? "ultrafast" : input.fast === true || input.fast === "fast" ? "fast" : null;
|
|
24079
24238
|
const parts = /* @__PURE__ */ __name(() => [
|
|
24080
24239
|
vim,
|
|
24081
24240
|
mode ? `${mode}${cycleSuffix ?? ""}` : null,
|
|
@@ -24926,6 +25085,21 @@ function stopAllStep(running, armed2) {
|
|
|
24926
25085
|
}
|
|
24927
25086
|
__name(stopAllStep, "stopAllStep");
|
|
24928
25087
|
|
|
25088
|
+
// src/tui/command-catalogue.ts
|
|
25089
|
+
function builtinCommandCatalogue(commands = mergeHostCommands(
|
|
25090
|
+
kernelCommandDescriptors(),
|
|
25091
|
+
CLI_LOCAL_COMMANDS
|
|
25092
|
+
)) {
|
|
25093
|
+
return commands.map((command) => ({
|
|
25094
|
+
name: command.name,
|
|
25095
|
+
description: command.description,
|
|
25096
|
+
...command.modelRun !== void 0 ? { modelRun: command.modelRun } : {},
|
|
25097
|
+
source: "builtin",
|
|
25098
|
+
...command.discoverable === false ? { hidden: true } : {}
|
|
25099
|
+
}));
|
|
25100
|
+
}
|
|
25101
|
+
__name(builtinCommandCatalogue, "builtinCommandCatalogue");
|
|
25102
|
+
|
|
24929
25103
|
// src/tui/compact-transcript.ts
|
|
24930
25104
|
function keepRecentRows(rows, keptTurns) {
|
|
24931
25105
|
if (keptTurns <= 0) return [];
|
|
@@ -26457,26 +26631,79 @@ function editablePrompts(history, transcript) {
|
|
|
26457
26631
|
__name(editablePrompts, "editablePrompts");
|
|
26458
26632
|
|
|
26459
26633
|
// src/tui/fast-mode.ts
|
|
26460
|
-
|
|
26461
|
-
|
|
26462
|
-
if (
|
|
26463
|
-
|
|
26634
|
+
function openAIThirdPartyHost(env = process.env) {
|
|
26635
|
+
const raw = env.OPENAI_BASE_URL?.trim();
|
|
26636
|
+
if (!raw) return void 0;
|
|
26637
|
+
try {
|
|
26638
|
+
const host = new URL(raw).hostname;
|
|
26639
|
+
return host === "api.openai.com" ? void 0 : host;
|
|
26640
|
+
} catch {
|
|
26641
|
+
return void 0;
|
|
26642
|
+
}
|
|
26643
|
+
}
|
|
26644
|
+
__name(openAIThirdPartyHost, "openAIThirdPartyHost");
|
|
26645
|
+
async function fastModeVerdict(providerId, model, options = {}) {
|
|
26646
|
+
const tier = options.tier ?? "fast";
|
|
26647
|
+
const now = options.now ?? Date.now();
|
|
26648
|
+
const refuse = /* @__PURE__ */ __name((reason) => ({ ok: false, reason }), "refuse");
|
|
26649
|
+
if (providerId !== "anthropic" && providerId !== "openai" && providerId !== "codex") {
|
|
26650
|
+
return refuse(
|
|
26651
|
+
"Fast mode is available on Anthropic and OpenAI models only. Pick one with /model."
|
|
26652
|
+
);
|
|
26464
26653
|
}
|
|
26465
|
-
if (
|
|
26466
|
-
|
|
26654
|
+
if (providerId === "anthropic") {
|
|
26655
|
+
const otherHost2 = options.otherHost === void 0 ? thirdPartyHost() ?? null : options.otherHost;
|
|
26656
|
+
if (otherHost2 !== null) {
|
|
26657
|
+
return refuse(
|
|
26658
|
+
`Fast mode is offered on the vendor's own endpoint only, and requests here go to ${otherHost2}.`
|
|
26659
|
+
);
|
|
26660
|
+
}
|
|
26661
|
+
if (!model) return refuse("Fast mode needs a model; pick one with /model.");
|
|
26662
|
+
if (tier === "ultrafast") {
|
|
26663
|
+
return refuse("Ultrafast is not offered on Anthropic models. /fast turns on fast mode.");
|
|
26664
|
+
}
|
|
26665
|
+
const { resolveFastModeVerdict: resolveFastModeVerdict2 } = await import("./dist-NLY5ZLEK.js");
|
|
26666
|
+
const verdict2 = resolveFastModeVerdict2(model, now);
|
|
26667
|
+
return verdict2.ok ? { ok: true, provider: "anthropic", tier: "fast", rate: { kind: "billing", multiplier: 2 } } : refuse(verdict2.reason);
|
|
26467
26668
|
}
|
|
26468
|
-
if (!model) return "Fast mode needs a model; pick one with /model.";
|
|
26469
|
-
const
|
|
26470
|
-
const
|
|
26471
|
-
|
|
26669
|
+
if (!model) return refuse("Fast mode needs a model; pick one with /model.");
|
|
26670
|
+
const otherHost = providerId === "openai" ? options.otherHost === void 0 ? openAIThirdPartyHost() ?? null : options.otherHost : null;
|
|
26671
|
+
const { resolveFastModeVerdict } = await import("./dist-PYOYSQIZ.js");
|
|
26672
|
+
const verdict = resolveFastModeVerdict({
|
|
26673
|
+
route: providerId === "openai" ? "api" : "subscription",
|
|
26674
|
+
model,
|
|
26675
|
+
tier,
|
|
26676
|
+
firstPartyEndpoint: otherHost === null,
|
|
26677
|
+
...otherHost !== null ? { host: otherHost } : {},
|
|
26678
|
+
...options.advertised !== void 0 ? { advertised: options.advertised } : {}
|
|
26679
|
+
});
|
|
26680
|
+
return verdict.ok ? { ok: true, provider: providerId, tier: verdict.tier, rate: verdict.rate } : refuse(verdict.reason);
|
|
26681
|
+
}
|
|
26682
|
+
__name(fastModeVerdict, "fastModeVerdict");
|
|
26683
|
+
function requestedFastTier(current, tier) {
|
|
26684
|
+
return current === tier ? void 0 : tier;
|
|
26472
26685
|
}
|
|
26473
|
-
__name(
|
|
26474
|
-
function
|
|
26475
|
-
return
|
|
26686
|
+
__name(requestedFastTier, "requestedFastTier");
|
|
26687
|
+
function rateWords(multiplier) {
|
|
26688
|
+
return multiplier === 2 ? "twice" : `${multiplier} times`;
|
|
26689
|
+
}
|
|
26690
|
+
__name(rateWords, "rateWords");
|
|
26691
|
+
function fastOnMessage(verdict) {
|
|
26692
|
+
if (verdict === void 0) {
|
|
26693
|
+
return "Fast mode on: faster replies, billed at twice the standard rate. /fast turns it off.";
|
|
26694
|
+
}
|
|
26695
|
+
const { tier, rate } = verdict;
|
|
26696
|
+
if (rate.kind === "billing") {
|
|
26697
|
+
return rate.multiplier !== void 0 ? `Fast mode on: faster replies, billed at ${rateWords(rate.multiplier)} the standard rate. /fast turns it off.` : "Fast mode on: faster replies, billed above the standard rate. /fast turns it off.";
|
|
26698
|
+
}
|
|
26699
|
+
if (tier === "ultrafast") {
|
|
26700
|
+
return rate.multiplier !== void 0 ? `Ultrafast on: the fastest replies, using your plan allowance ${rate.multiplier}x as fast. /ultrafast turns it off.` : "Ultrafast on: the fastest replies, using much more of your plan allowance. /ultrafast turns it off.";
|
|
26701
|
+
}
|
|
26702
|
+
return rate.multiplier !== void 0 ? `Fast mode on: faster replies, using your plan allowance ${rate.multiplier}x as fast. /fast turns it off.` : "Fast mode on: faster replies, using more of your plan allowance. /fast turns it off.";
|
|
26476
26703
|
}
|
|
26477
26704
|
__name(fastOnMessage, "fastOnMessage");
|
|
26478
|
-
function fastOffMessage() {
|
|
26479
|
-
return "Fast mode off: standard speed and rate.";
|
|
26705
|
+
function fastOffMessage(tier = "fast") {
|
|
26706
|
+
return tier === "ultrafast" ? "Ultrafast off: standard speed and rate." : "Fast mode off: standard speed and rate.";
|
|
26480
26707
|
}
|
|
26481
26708
|
__name(fastOffMessage, "fastOffMessage");
|
|
26482
26709
|
function fastLaunchRefusal(reason, source = "flag") {
|
|
@@ -26488,6 +26715,35 @@ function fastDroppedMessage(reason) {
|
|
|
26488
26715
|
return `Fast mode turned off: ${reason}`;
|
|
26489
26716
|
}
|
|
26490
26717
|
__name(fastDroppedMessage, "fastDroppedMessage");
|
|
26718
|
+
async function fastModeOptionsFor(session, tier) {
|
|
26719
|
+
const model = session.modelSummary;
|
|
26720
|
+
if (session.providerId !== "codex" || !model || !session.speedTiersFor) return { tier };
|
|
26721
|
+
let advertised = session.speedTiersFor(model);
|
|
26722
|
+
if (advertised === void 0 && session.reasoningSettled) {
|
|
26723
|
+
await session.reasoningSettled;
|
|
26724
|
+
advertised = session.speedTiersFor(model);
|
|
26725
|
+
}
|
|
26726
|
+
return { tier, ...advertised !== void 0 ? { advertised } : {} };
|
|
26727
|
+
}
|
|
26728
|
+
__name(fastModeOptionsFor, "fastModeOptionsFor");
|
|
26729
|
+
async function launchFastOutcome(session, source) {
|
|
26730
|
+
const verdict = await fastModeVerdict(
|
|
26731
|
+
session.providerId,
|
|
26732
|
+
session.modelSummary,
|
|
26733
|
+
await fastModeOptionsFor(session, "fast")
|
|
26734
|
+
);
|
|
26735
|
+
return verdict.ok ? { tier: verdict.tier, message: fastOnMessage(verdict) } : { tier: void 0, message: fastLaunchRefusal(verdict.reason, source) };
|
|
26736
|
+
}
|
|
26737
|
+
__name(launchFastOutcome, "launchFastOutcome");
|
|
26738
|
+
async function fastAfterModelChange(session, current) {
|
|
26739
|
+
const verdict = await fastModeVerdict(
|
|
26740
|
+
session.providerId,
|
|
26741
|
+
session.modelSummary,
|
|
26742
|
+
await fastModeOptionsFor(session, current)
|
|
26743
|
+
);
|
|
26744
|
+
return verdict.ok ? void 0 : fastDroppedMessage(verdict.reason);
|
|
26745
|
+
}
|
|
26746
|
+
__name(fastAfterModelChange, "fastAfterModelChange");
|
|
26491
26747
|
|
|
26492
26748
|
// src/tui/hypermode.ts
|
|
26493
26749
|
var HYPERMODE = "hypermode";
|
|
@@ -29542,13 +29798,14 @@ function createScheduleIntegration(deps) {
|
|
|
29542
29798
|
], "tools"),
|
|
29543
29799
|
handleSlash(name, args) {
|
|
29544
29800
|
if (name === "loop") {
|
|
29545
|
-
|
|
29801
|
+
return runLoopCommand(args, loops, deps.say).then(() => {
|
|
29546
29802
|
try {
|
|
29547
29803
|
tick();
|
|
29548
29804
|
} catch {
|
|
29549
29805
|
}
|
|
29806
|
+
}).catch((error) => {
|
|
29807
|
+
deps.say(explainFailure(error, "The loop command failed."));
|
|
29550
29808
|
});
|
|
29551
|
-
return true;
|
|
29552
29809
|
}
|
|
29553
29810
|
if (name !== "schedule") return false;
|
|
29554
29811
|
let ctxHome;
|
|
@@ -29556,10 +29813,10 @@ function createScheduleIntegration(deps) {
|
|
|
29556
29813
|
ctxHome = home();
|
|
29557
29814
|
} catch (error) {
|
|
29558
29815
|
deps.say(explainFailure(error, "Scheduling is not available right now."));
|
|
29559
|
-
return
|
|
29816
|
+
return Promise.resolve();
|
|
29560
29817
|
}
|
|
29561
29818
|
const model = deps.model();
|
|
29562
|
-
|
|
29819
|
+
return runScheduleCommand(args, {
|
|
29563
29820
|
home: ctxHome,
|
|
29564
29821
|
cwd: deps.cwd(),
|
|
29565
29822
|
config: deps.config(),
|
|
@@ -29569,8 +29826,12 @@ function createScheduleIntegration(deps) {
|
|
|
29569
29826
|
...deps.review ? { review: deps.review } : {},
|
|
29570
29827
|
extraRoots: deps.extraRoots(),
|
|
29571
29828
|
sourceConversation: deps.sourceConversation()
|
|
29572
|
-
})
|
|
29573
|
-
|
|
29829
|
+
}).then(
|
|
29830
|
+
() => void 0,
|
|
29831
|
+
(error) => {
|
|
29832
|
+
deps.say(explainFailure(error, "The schedule command failed."));
|
|
29833
|
+
}
|
|
29834
|
+
);
|
|
29574
29835
|
},
|
|
29575
29836
|
startupLine() {
|
|
29576
29837
|
const value = deps.home();
|
|
@@ -30693,9 +30954,10 @@ function agentViewCommandClass(name) {
|
|
|
30693
30954
|
switch (name) {
|
|
30694
30955
|
case "model":
|
|
30695
30956
|
case "fast":
|
|
30957
|
+
case "ultrafast":
|
|
30696
30958
|
return {
|
|
30697
30959
|
kind: "block",
|
|
30698
|
-
notice: `/${name} changes the main conversation's ${name === "model" ? "model" : "fast mode"}, not this agent's`
|
|
30960
|
+
notice: `/${name} changes the main conversation's ${name === "model" ? "model" : name === "fast" ? "fast mode" : "ultrafast"}, not this agent's`
|
|
30699
30961
|
};
|
|
30700
30962
|
case "compact":
|
|
30701
30963
|
case "clear":
|
|
@@ -32948,7 +33210,7 @@ function projectConversation(messages, nextId, readableUserTexts = [], restore)
|
|
|
32948
33210
|
{
|
|
32949
33211
|
id: nextId(),
|
|
32950
33212
|
role: "system",
|
|
32951
|
-
content: goalRoundHeadline(message.source.round
|
|
33213
|
+
content: goalRoundHeadline(message.source.round),
|
|
32952
33214
|
glyph: SYSTEM_ROW_GLYPH,
|
|
32953
33215
|
glyphColor: systemRowStyle("notice").color
|
|
32954
33216
|
},
|
|
@@ -33228,11 +33490,46 @@ function AppBody({
|
|
|
33228
33490
|
hypermodeRef.current = next;
|
|
33229
33491
|
setHypermodeState(next);
|
|
33230
33492
|
}, []);
|
|
33231
|
-
const [fastMode, setFastModeState] = (0, import_react30.useState)(
|
|
33232
|
-
const fastModeRef = (0, import_react30.useRef)(
|
|
33493
|
+
const [fastMode, setFastModeState] = (0, import_react30.useState)(void 0);
|
|
33494
|
+
const fastModeRef = (0, import_react30.useRef)(void 0);
|
|
33233
33495
|
const launchFastPendingRef = (0, import_react30.useRef)(
|
|
33234
33496
|
initialCtx.launchSettings?.fast === true ? "flag" : initialCtx.launchSettings?.savedFast === true ? "saved" : void 0
|
|
33235
33497
|
);
|
|
33498
|
+
const [speedView, setSpeedView] = (0, import_react30.useState)({ tiers: [], reasons: {} });
|
|
33499
|
+
(0, import_react30.useEffect)(() => {
|
|
33500
|
+
if (!session?.hasProvider) {
|
|
33501
|
+
setSpeedView({ tiers: [], reasons: {} });
|
|
33502
|
+
return;
|
|
33503
|
+
}
|
|
33504
|
+
let current = true;
|
|
33505
|
+
const compute = /* @__PURE__ */ __name(async () => {
|
|
33506
|
+
const model = session.modelSummary;
|
|
33507
|
+
const advertised = model ? session.speedTiersFor?.(model) : void 0;
|
|
33508
|
+
const unknown = session.providerId === "codex" && advertised === void 0;
|
|
33509
|
+
const tiers = [];
|
|
33510
|
+
const reasons = {};
|
|
33511
|
+
for (const tier of ["fast", "ultrafast"]) {
|
|
33512
|
+
if (tier === "ultrafast" && unknown) {
|
|
33513
|
+
reasons.ultrafast = "Ultrafast needs the list of models your Codex subscription offers, which has not loaded yet. Try again in a moment.";
|
|
33514
|
+
continue;
|
|
33515
|
+
}
|
|
33516
|
+
const verdict = await fastModeVerdict(session.providerId, model, {
|
|
33517
|
+
tier,
|
|
33518
|
+
...advertised !== void 0 ? { advertised } : {}
|
|
33519
|
+
});
|
|
33520
|
+
if (verdict.ok) tiers.push(tier);
|
|
33521
|
+
else reasons[tier] = verdict.reason;
|
|
33522
|
+
}
|
|
33523
|
+
if (current) setSpeedView({ tiers, reasons });
|
|
33524
|
+
}, "compute");
|
|
33525
|
+
void compute();
|
|
33526
|
+
if (session.providerId === "codex" && session.reasoningSettled) {
|
|
33527
|
+
void session.reasoningSettled.then(() => compute()).catch(() => void 0);
|
|
33528
|
+
}
|
|
33529
|
+
return () => {
|
|
33530
|
+
current = false;
|
|
33531
|
+
};
|
|
33532
|
+
}, [session]);
|
|
33236
33533
|
const setFastMode = (0, import_react30.useCallback)((next) => {
|
|
33237
33534
|
fastModeRef.current = next;
|
|
33238
33535
|
setFastModeState(next);
|
|
@@ -33929,6 +34226,18 @@ ${AUTO_MODE_DEFAULT_NOTICE_BODY}`,
|
|
|
33929
34226
|
const admissionRef = (0, import_react30.useRef)(null);
|
|
33930
34227
|
const activeTurnTokenRef = (0, import_react30.useRef)(null);
|
|
33931
34228
|
const pendingModelSwitchRef = (0, import_react30.useRef)(null);
|
|
34229
|
+
const commandHostRef = (0, import_react30.useRef)(null);
|
|
34230
|
+
const commandHostBridge = (0, import_react30.useRef)({
|
|
34231
|
+
catalogue: builtinCommandCatalogue(),
|
|
34232
|
+
unavailable: /* @__PURE__ */ __name((name, args) => commandHostRef.current?.unavailable?.(name, args), "unavailable"),
|
|
34233
|
+
run: /* @__PURE__ */ __name((line, options) => commandHostRef.current ? commandHostRef.current.run(line, options) : Promise.resolve({
|
|
34234
|
+
kind: "refused",
|
|
34235
|
+
reason: "The terminal is not ready to run commands."
|
|
34236
|
+
}), "run")
|
|
34237
|
+
}).current;
|
|
34238
|
+
const commandCaptureRef = (0, import_react30.useRef)(null);
|
|
34239
|
+
const commandRefusalRef = (0, import_react30.useRef)(null);
|
|
34240
|
+
const hostCommandSettledRef = (0, import_react30.useRef)(null);
|
|
33932
34241
|
const [modelSwitchVersion, setModelSwitchVersion] = (0, import_react30.useState)(0);
|
|
33933
34242
|
const cancelPendingModelSwitch = (0, import_react30.useCallback)(() => {
|
|
33934
34243
|
const pending = pendingModelSwitchRef.current;
|
|
@@ -34529,6 +34838,7 @@ ${AUTO_MODE_DEFAULT_NOTICE_BODY}`,
|
|
|
34529
34838
|
replyModelRef.current = session?.modelSummary ?? null;
|
|
34530
34839
|
const pushMessage = (0, import_react30.useCallback)(
|
|
34531
34840
|
(role, content, pending = false, glyph, detail, glyphColor, meta, activity, sourceDelivery, shell, diff, contentColor, attachments) => {
|
|
34841
|
+
if (role === "system") commandCaptureRef.current?.push(content);
|
|
34532
34842
|
if (role === "assistant") flushLaunchReceiptsRef.current();
|
|
34533
34843
|
if (!(role === "assistant" && !pending && content.trim().length === 0))
|
|
34534
34844
|
readSearchGroup.close();
|
|
@@ -35317,26 +35627,29 @@ ${AUTO_MODE_DEFAULT_NOTICE_BODY}`,
|
|
|
35317
35627
|
if (note) pushMessage("system", note);
|
|
35318
35628
|
}, [initialCtx, pushMessage]);
|
|
35319
35629
|
const applyFastMode = (0, import_react30.useCallback)(
|
|
35320
|
-
async (
|
|
35630
|
+
async (tier) => {
|
|
35321
35631
|
if (!session?.hasProvider) {
|
|
35322
35632
|
pushMessage("system", "No model is connected yet \u2014 pick a provider with /model first.");
|
|
35323
35633
|
return;
|
|
35324
35634
|
}
|
|
35325
|
-
|
|
35326
|
-
|
|
35327
|
-
|
|
35328
|
-
|
|
35329
|
-
|
|
35330
|
-
}
|
|
35635
|
+
const was = fastModeRef.current;
|
|
35636
|
+
const wanted = requestedFastTier(was, tier);
|
|
35637
|
+
if (wanted === void 0) {
|
|
35638
|
+
setFastMode(void 0);
|
|
35639
|
+
if (was !== void 0) pushMessage("system", fastOffMessage(was));
|
|
35331
35640
|
return;
|
|
35332
35641
|
}
|
|
35333
|
-
const
|
|
35334
|
-
|
|
35335
|
-
|
|
35642
|
+
const verdict = await fastModeVerdict(
|
|
35643
|
+
session.providerId,
|
|
35644
|
+
session.modelSummary,
|
|
35645
|
+
await fastModeOptionsFor(session, wanted)
|
|
35646
|
+
);
|
|
35647
|
+
if (!verdict.ok) {
|
|
35648
|
+
pushMessage("system", verdict.reason);
|
|
35336
35649
|
return;
|
|
35337
35650
|
}
|
|
35338
|
-
setFastMode(
|
|
35339
|
-
pushMessage("system", fastOnMessage());
|
|
35651
|
+
setFastMode(verdict.tier);
|
|
35652
|
+
pushMessage("system", fastOnMessage(verdict));
|
|
35340
35653
|
},
|
|
35341
35654
|
[pushMessage, session, setFastMode]
|
|
35342
35655
|
);
|
|
@@ -36088,7 +36401,7 @@ ${AUTO_MODE_DEFAULT_NOTICE_BODY}`,
|
|
|
36088
36401
|
pushMessage("system", "Not changed.");
|
|
36089
36402
|
return;
|
|
36090
36403
|
}
|
|
36091
|
-
void import("./setting-cli-
|
|
36404
|
+
void import("./setting-cli-BIG2WZWH.js").then(({ planSettingChange }) => {
|
|
36092
36405
|
const plan = planSettingChange(picker.change.key, picker.change.text);
|
|
36093
36406
|
if (!plan.ok) {
|
|
36094
36407
|
pushMessage("system", plan.error);
|
|
@@ -36616,6 +36929,7 @@ ${AUTO_MODE_DEFAULT_NOTICE_BODY}`,
|
|
|
36616
36929
|
...sessionsRef.current ? {
|
|
36617
36930
|
sessionGoals: sessionsRef.current.goals,
|
|
36618
36931
|
...activeCtx.goal?.confirmedBy ? { goalConfirmedBy: activeCtx.goal.confirmedBy } : {},
|
|
36932
|
+
...activeCtx.goal?.judgeModel ? { goalJudgeModel: activeCtx.goal.judgeModel } : {},
|
|
36619
36933
|
conversationSessions: sessionsRef.current
|
|
36620
36934
|
} : {},
|
|
36621
36935
|
...activeCtx.handBack?.enabled === true ? { handBack: true } : {},
|
|
@@ -36656,6 +36970,9 @@ ${AUTO_MODE_DEFAULT_NOTICE_BODY}`,
|
|
|
36656
36970
|
planApproval: true,
|
|
36657
36971
|
reminders: true,
|
|
36658
36972
|
allowModelSwitch: true,
|
|
36973
|
+
// The person can ask for their own commands in words; a Pal has
|
|
36974
|
+
// its own computer and none of them.
|
|
36975
|
+
...definition ? {} : { commandHost: commandHostBridge },
|
|
36659
36976
|
// The user is at this desktop, so the model may open a page for them.
|
|
36660
36977
|
openUrl: true
|
|
36661
36978
|
}
|
|
@@ -36730,15 +37047,15 @@ ${AUTO_MODE_DEFAULT_NOTICE_BODY}`,
|
|
|
36730
37047
|
if (launchFastPendingRef.current && s.hasProvider) {
|
|
36731
37048
|
const fastSource = launchFastPendingRef.current;
|
|
36732
37049
|
launchFastPendingRef.current = void 0;
|
|
36733
|
-
void
|
|
36734
|
-
if (
|
|
36735
|
-
|
|
37050
|
+
void launchFastOutcome(s, fastSource).then((outcome) => {
|
|
37051
|
+
if (outcome.tier !== void 0) setFastMode(outcome.tier);
|
|
37052
|
+
pushMessage("system", outcome.message);
|
|
36736
37053
|
});
|
|
36737
37054
|
} else if (fastModeRef.current) {
|
|
36738
|
-
void
|
|
36739
|
-
if (
|
|
36740
|
-
setFastMode(
|
|
36741
|
-
pushMessage("system",
|
|
37055
|
+
void fastAfterModelChange(s, fastModeRef.current).then((outcome) => {
|
|
37056
|
+
if (outcome === void 0) return;
|
|
37057
|
+
setFastMode(void 0);
|
|
37058
|
+
pushMessage("system", outcome);
|
|
36742
37059
|
});
|
|
36743
37060
|
}
|
|
36744
37061
|
const settleEffort = /* @__PURE__ */ __name(() => {
|
|
@@ -37418,6 +37735,8 @@ ${AUTO_MODE_DEFAULT_NOTICE_BODY}`,
|
|
|
37418
37735
|
const hostCommands = mergeHostCommands(kernelCommandDescriptors());
|
|
37419
37736
|
const slashCtx = {
|
|
37420
37737
|
cwd: ctx.cwd,
|
|
37738
|
+
speedTiers: /* @__PURE__ */ __name(() => speedView.tiers, "speedTiers"),
|
|
37739
|
+
speedTierRefusal: /* @__PURE__ */ __name((tier) => session?.hasProvider ? speedView.reasons[tier] : void 0, "speedTierRefusal"),
|
|
37421
37740
|
jobs: /* @__PURE__ */ __name(() => session?.jobs?.() ?? [], "jobs"),
|
|
37422
37741
|
timers: /* @__PURE__ */ __name(() => scheduleRef.current?.timers.list() ?? [], "timers"),
|
|
37423
37742
|
hooks: /* @__PURE__ */ __name(() => session?.hooks, "hooks"),
|
|
@@ -37783,10 +38102,10 @@ ${AUTO_MODE_DEFAULT_NOTICE_BODY}`,
|
|
|
37783
38102
|
const progressId = pushMessage("system", "Reading spend\u2026");
|
|
37784
38103
|
try {
|
|
37785
38104
|
const [{ buildCostReport }, { renderSpend }, { systemClock: systemClock2 }, { resolveNamzuHome: resolveNamzuHome2 }] = await Promise.all([
|
|
37786
|
-
import("./cost-
|
|
38105
|
+
import("./cost-AZAQ3AC5.js"),
|
|
37787
38106
|
import("./render-QFCCPEEL.js"),
|
|
37788
38107
|
import("./day-CU5J7UAK.js"),
|
|
37789
|
-
import("./home-
|
|
38108
|
+
import("./home-YYLBZ3E7.js")
|
|
37790
38109
|
]);
|
|
37791
38110
|
const report = await buildCostReport(days, {
|
|
37792
38111
|
home: resolveNamzuHome2(),
|
|
@@ -37812,7 +38131,7 @@ ${AUTO_MODE_DEFAULT_NOTICE_BODY}`,
|
|
|
37812
38131
|
doctorRunningRef.current = true;
|
|
37813
38132
|
const progressId = pushMessage("system", "Checking\u2026");
|
|
37814
38133
|
try {
|
|
37815
|
-
const { runLiveDoctor } = await import("./live-
|
|
38134
|
+
const { runLiveDoctor } = await import("./live-3URICZBD.js");
|
|
37816
38135
|
const { describePlainDoctor } = await import("./plain-report-U37TZYMU.js");
|
|
37817
38136
|
const report = await runLiveDoctor({
|
|
37818
38137
|
...ctxRef.current.telemetry ? { telemetry: ctxRef.current.telemetry } : {}
|
|
@@ -38729,7 +39048,12 @@ ${AUTO_MODE_DEFAULT_NOTICE_BODY}`,
|
|
|
38729
39048
|
}
|
|
38730
39049
|
if (!offerPick) return;
|
|
38731
39050
|
const now = decisionSetup.now ?? Date.now;
|
|
38732
|
-
if (!shouldOfferDecisionSetup({
|
|
39051
|
+
if (!shouldOfferDecisionSetup({
|
|
39052
|
+
record: readOffer(opts),
|
|
39053
|
+
setting,
|
|
39054
|
+
env: opts.env,
|
|
39055
|
+
now: now()
|
|
39056
|
+
}))
|
|
38733
39057
|
return;
|
|
38734
39058
|
setSelectedChoice(0);
|
|
38735
39059
|
setChoicePicker({
|
|
@@ -39484,7 +39808,7 @@ ${plain2(err)}`
|
|
|
39484
39808
|
onAutoModeLimit: handleAutoModeLimit,
|
|
39485
39809
|
limits: resolveTurnGuards(ctxRef.current.limits, turnLimitsOverrideRef.current),
|
|
39486
39810
|
...reasoningEffortRef.current !== void 0 ? { effort: reasoningEffortRef.current } : {},
|
|
39487
|
-
...fastModeRef.current ? { speed:
|
|
39811
|
+
...fastModeRef.current ? { speed: fastModeRef.current } : {},
|
|
39488
39812
|
...hypermodeRef.current ? { hypermode: true } : {},
|
|
39489
39813
|
...ctxRef.current.refusalFallback ? { refusalFallback: ctxRef.current.refusalFallback } : {},
|
|
39490
39814
|
extraSystem: composeSkillsPrompt(activeSkills) || void 0,
|
|
@@ -40026,6 +40350,7 @@ ${plain2(err)}`
|
|
|
40026
40350
|
selfMendingPauseRowRef.current.forget();
|
|
40027
40351
|
setSummarising(false);
|
|
40028
40352
|
if (event.text !== void 0) st.text = event.text;
|
|
40353
|
+
st.turnRecord = event.outcome;
|
|
40029
40354
|
st.completed = event.stopReason === void 0 || event.stopReason === "end_turn";
|
|
40030
40355
|
st.outcome = event.stopReason === "cancelled" ? "cancelled" : st.completed ? "completed" : "stopped";
|
|
40031
40356
|
st.notification = {
|
|
@@ -40348,9 +40673,14 @@ ${jobLines.map(([, line]) => `- ${line}`).join("\n")}`] : []
|
|
|
40348
40673
|
pushSystem("notice", peerMailLabel(prompt.mail));
|
|
40349
40674
|
} else if (prompt.kind === "notice") {
|
|
40350
40675
|
} else if (goalRound) {
|
|
40351
|
-
pushSystem(
|
|
40352
|
-
|
|
40353
|
-
|
|
40676
|
+
pushSystem(
|
|
40677
|
+
"notice",
|
|
40678
|
+
goalRoundHeadline(goalRound.round, {
|
|
40679
|
+
...goalRound.tokensUsed !== void 0 ? { tokens: goalRound.tokensUsed } : {},
|
|
40680
|
+
...goalRound.costUsd !== void 0 ? { costUsd: goalRound.costUsd } : {}
|
|
40681
|
+
}),
|
|
40682
|
+
{ continuation: goalRound.objective }
|
|
40683
|
+
);
|
|
40354
40684
|
} else {
|
|
40355
40685
|
userEchoId = pushMessage(
|
|
40356
40686
|
"user",
|
|
@@ -40666,7 +40996,7 @@ ${jobLines.map(([, line]) => `- ${line}`).join("\n")}`] : []
|
|
|
40666
40996
|
// turn only; the session's own setting is untouched.
|
|
40667
40997
|
...(pinnedEffort ?? turnReasoningEffort) !== void 0 ? { effort: pinnedEffort ?? turnReasoningEffort } : {},
|
|
40668
40998
|
...turnHypermode ? { hypermode: true } : {},
|
|
40669
|
-
...turnFast ? { speed:
|
|
40999
|
+
...turnFast ? { speed: turnFast } : {},
|
|
40670
41000
|
// A model picked with /model while this turn runs: read before every
|
|
40671
41001
|
// request, so the next request of the loop uses it.
|
|
40672
41002
|
liveModel: /* @__PURE__ */ __name(() => {
|
|
@@ -40843,6 +41173,17 @@ ${jobLines.map(([, line]) => `- ${line}`).join("\n")}`] : []
|
|
|
40843
41173
|
const conversationMessages = admitted ? st.conversationMessages : void 0;
|
|
40844
41174
|
const nextModelHistory = takenBackTurnRef.current === turnToken ? historyBeforeTurn : conversationMessages ?? [...historyBeforeTurn, ...fallbackTurn];
|
|
40845
41175
|
if (stillHere()) saveModeIfChanged();
|
|
41176
|
+
if (goalRound) {
|
|
41177
|
+
const stopped = await recordGoalRound({
|
|
41178
|
+
goals: turnSessions?.goals,
|
|
41179
|
+
tenantId: turnSessions?.tenantId,
|
|
41180
|
+
round: goalRound,
|
|
41181
|
+
record: st.turnRecord,
|
|
41182
|
+
tokens: st.lastUsage?.totalTokens,
|
|
41183
|
+
costUsd: st.lastUsage?.cost.totalCost
|
|
41184
|
+
});
|
|
41185
|
+
if (stopped) pushSystem("warning", stopped);
|
|
41186
|
+
}
|
|
40846
41187
|
if (goalRound && (ac.signal.aborted || st.outcome !== "completed")) {
|
|
40847
41188
|
goalActivation.disarm(goalRound.sessionId, goalRound);
|
|
40848
41189
|
wakeGoalDriver();
|
|
@@ -41106,12 +41447,15 @@ ${jobLines.map(([, line]) => `- ${line}`).join("\n")}`] : []
|
|
|
41106
41447
|
return;
|
|
41107
41448
|
}
|
|
41108
41449
|
if (fastModeRef.current) {
|
|
41109
|
-
const
|
|
41110
|
-
|
|
41450
|
+
const verdict = await fastModeVerdict(selection.id, selection.model, {
|
|
41451
|
+
tier: fastModeRef.current,
|
|
41452
|
+
advertised: session.speedTiersFor?.(selection.model)
|
|
41453
|
+
});
|
|
41454
|
+
if (!verdict.ok) {
|
|
41111
41455
|
deferredModelRef.current = { query: target, quiet: false };
|
|
41112
41456
|
pushMessage(
|
|
41113
41457
|
"system",
|
|
41114
|
-
`Switching to ${selection.id} \xB7 ${selection.model} when this reply finishes. Fast mode ends then: ${
|
|
41458
|
+
`Switching to ${selection.id} \xB7 ${selection.model} when this reply finishes. Fast mode ends then: ${verdict.reason}`
|
|
41115
41459
|
);
|
|
41116
41460
|
return;
|
|
41117
41461
|
}
|
|
@@ -41896,32 +42240,27 @@ ${jobLines.map(([, line]) => `- ${line}`).join("\n")}`] : []
|
|
|
41896
42240
|
},
|
|
41897
42241
|
[pushSystem]
|
|
41898
42242
|
);
|
|
41899
|
-
const expansionAnsweredRef = (0, import_react30.useRef)(
|
|
41900
|
-
null
|
|
41901
|
-
);
|
|
42243
|
+
const expansionAnsweredRef = (0, import_react30.useRef)(null);
|
|
41902
42244
|
const handleSubmitRef = (0, import_react30.useRef)(void 0);
|
|
41903
42245
|
const handleSubmit = (0, import_react30.useCallback)(
|
|
41904
42246
|
(value, attachments, mode, meta) => {
|
|
41905
42247
|
if (goalCommandInFlightRef.current) {
|
|
41906
|
-
|
|
41907
|
-
|
|
41908
|
-
|
|
41909
|
-
);
|
|
42248
|
+
const text = "A goal command is still being saved. Wait for it to finish before sending another command or prompt.";
|
|
42249
|
+
if (commandCaptureRef.current) commandRefusalRef.current = text;
|
|
42250
|
+
pushMessage("system", text);
|
|
41910
42251
|
return;
|
|
41911
42252
|
}
|
|
41912
42253
|
if (exportingRef.current) {
|
|
41913
|
-
|
|
41914
|
-
|
|
41915
|
-
|
|
41916
|
-
);
|
|
42254
|
+
const text = "A verified conversation export is still being written. Wait for its result before sending another command or prompt.";
|
|
42255
|
+
if (commandCaptureRef.current) commandRefusalRef.current = text;
|
|
42256
|
+
pushMessage("system", text);
|
|
41917
42257
|
return;
|
|
41918
42258
|
}
|
|
41919
42259
|
if (conversationMutationRef.current) {
|
|
41920
42260
|
const operation = conversationMutationRef.current === "fork" ? "forked" : conversationMutationRef.current === "edit" ? "branched for prompt editing" : conversationMutationRef.current === "archive" ? "archived" : conversationMutationRef.current === "materialize" ? "initialized" : "moved to a fresh conversation";
|
|
41921
|
-
|
|
41922
|
-
|
|
41923
|
-
|
|
41924
|
-
);
|
|
42261
|
+
const text = `Conversation history is being ${operation}. Wait for it to finish before sending another command or prompt.`;
|
|
42262
|
+
if (commandCaptureRef.current) commandRefusalRef.current = text;
|
|
42263
|
+
pushMessage("system", text);
|
|
41925
42264
|
return;
|
|
41926
42265
|
}
|
|
41927
42266
|
const viewedId = viewingAgentRef.current;
|
|
@@ -42098,8 +42437,12 @@ ${jobLines.map(([, line]) => `- ${line}`).join("\n")}`] : []
|
|
|
42098
42437
|
if (slash) {
|
|
42099
42438
|
switch (slash.kind) {
|
|
42100
42439
|
case "message":
|
|
42440
|
+
if (commandCaptureRef.current && slash.content.startsWith("Usage:")) {
|
|
42441
|
+
commandRefusalRef.current = slash.content;
|
|
42442
|
+
}
|
|
42101
42443
|
pushMessage("system", dispatch.trim(), false, "\u203A", void 0, tokenColor("accent.user"));
|
|
42102
42444
|
if (slash.statusRows) {
|
|
42445
|
+
commandCaptureRef.current?.push(slash.content);
|
|
42103
42446
|
setMessages((previous) => [
|
|
42104
42447
|
...previous,
|
|
42105
42448
|
{
|
|
@@ -42498,7 +42841,7 @@ Held (${heldLocal.length}): ${heldLocal.map((item) => `${item.fromName} \xB7 ${i
|
|
|
42498
42841
|
token: textPromptTokenRef.current,
|
|
42499
42842
|
kind: slash.edit ? "goal-edit" : "goal-create",
|
|
42500
42843
|
title: slash.edit ? "Edit goal" : "Set a goal",
|
|
42501
|
-
placeholder:
|
|
42844
|
+
placeholder: "Describe the result you want; /goal pause stops automatic work.",
|
|
42502
42845
|
emptyNotice: "Describe the result you want, or press Esc to cancel.",
|
|
42503
42846
|
initialValue: slash.edit ? goalStatus?.objective ?? "" : "",
|
|
42504
42847
|
sessionId: scope.sessionId
|
|
@@ -42564,7 +42907,7 @@ Held (${heldLocal.length}): ${heldLocal.map((item) => `${item.fromName} \xB7 ${i
|
|
|
42564
42907
|
kind: "command",
|
|
42565
42908
|
back: choicePickerRef.current?.back,
|
|
42566
42909
|
title: "Goal",
|
|
42567
|
-
notice: goal ? `${goal.phase} \xB7 ${goal
|
|
42910
|
+
notice: goal ? `${goal.phase} \xB7 ${goalSpentSentence(goal)} \xB7 ${goal.objective}` : "No goal set for this conversation.",
|
|
42568
42911
|
values: commands,
|
|
42569
42912
|
options: commands.map((command) => ({
|
|
42570
42913
|
label: `/${command.name}`,
|
|
@@ -43034,7 +43377,10 @@ ${plugins.map((plugin) => {
|
|
|
43034
43377
|
let hookRuntime;
|
|
43035
43378
|
try {
|
|
43036
43379
|
if (verb === "create" || verb === "fork") {
|
|
43037
|
-
hookRuntime = session?.worktreeHooks ? {
|
|
43380
|
+
hookRuntime = session?.worktreeHooks ? {
|
|
43381
|
+
hooks: session.worktreeHooks,
|
|
43382
|
+
close: /* @__PURE__ */ __name(async () => void 0, "close")
|
|
43383
|
+
} : await openWorktreeHookRuntime({ hooks: initialCtx.hooks }, ctx.cwd, notice);
|
|
43038
43384
|
}
|
|
43039
43385
|
const manager = await openManagedWorktrees(ctx.cwd, {
|
|
43040
43386
|
...hookRuntime?.hooks ? { hooks: hookRuntime.hooks.host, onNotice: hookRuntime.hooks.onNotice } : {}
|
|
@@ -43200,11 +43546,15 @@ ${answered.context}` : slash.text;
|
|
|
43200
43546
|
case "none":
|
|
43201
43547
|
return;
|
|
43202
43548
|
case "host-command": {
|
|
43203
|
-
|
|
43549
|
+
const scheduleSettled = scheduleRef.current?.handleSlash(slash.name, slash.args);
|
|
43550
|
+
if (scheduleSettled) {
|
|
43551
|
+
hostCommandSettledRef.current = scheduleSettled;
|
|
43552
|
+
return;
|
|
43553
|
+
}
|
|
43204
43554
|
const generation = conversationGenRef.current;
|
|
43205
43555
|
const goalCommand = slash.name === "goal";
|
|
43206
43556
|
if (goalCommand) goalCommandInFlightRef.current = true;
|
|
43207
|
-
|
|
43557
|
+
const hostCommandSettled = (async () => {
|
|
43208
43558
|
let goalCommandReleased = false;
|
|
43209
43559
|
const releaseGoalCommand = /* @__PURE__ */ __name(() => {
|
|
43210
43560
|
if (!goalCommand || goalCommandReleased) return;
|
|
@@ -43226,7 +43576,8 @@ ${answered.context}` : slash.text;
|
|
|
43226
43576
|
sessionId: sessionScope.sessionId,
|
|
43227
43577
|
tenantId: durableSessions.tenantId,
|
|
43228
43578
|
activation: goalActivation,
|
|
43229
|
-
...ctxRef.current.goal?.confirmedBy ? { defaultConfirmedBy: ctxRef.current.goal.confirmedBy } : {}
|
|
43579
|
+
...ctxRef.current.goal?.confirmedBy ? { defaultConfirmedBy: ctxRef.current.goal.confirmedBy } : {},
|
|
43580
|
+
defaults: goalDefaults(ctxRef.current.goal)
|
|
43230
43581
|
}
|
|
43231
43582
|
} : {}
|
|
43232
43583
|
})
|
|
@@ -43247,6 +43598,7 @@ ${answered.context}` : slash.text;
|
|
|
43247
43598
|
releaseGoalCommand();
|
|
43248
43599
|
}
|
|
43249
43600
|
})();
|
|
43601
|
+
hostCommandSettledRef.current = hostCommandSettled;
|
|
43250
43602
|
return;
|
|
43251
43603
|
}
|
|
43252
43604
|
case "feedback-picker": {
|
|
@@ -43608,7 +43960,7 @@ ${answered.context}` : slash.text;
|
|
|
43608
43960
|
return;
|
|
43609
43961
|
}
|
|
43610
43962
|
case "config-setting": {
|
|
43611
|
-
void import("./setting-cli-
|
|
43963
|
+
void import("./setting-cli-BIG2WZWH.js").then((cli) => {
|
|
43612
43964
|
if (slash.text === void 0 && slash.clear !== true) {
|
|
43613
43965
|
try {
|
|
43614
43966
|
pushMessage("system", cli.describeSetting(slash.key));
|
|
@@ -43671,7 +44023,7 @@ ${answered.context}` : slash.text;
|
|
|
43671
44023
|
return;
|
|
43672
44024
|
}
|
|
43673
44025
|
case "fast-mode": {
|
|
43674
|
-
void applyFastMode(slash.
|
|
44026
|
+
void applyFastMode(slash.tier);
|
|
43675
44027
|
return;
|
|
43676
44028
|
}
|
|
43677
44029
|
case "hypermode": {
|
|
@@ -43812,6 +44164,37 @@ ${answered.context}` : slash.text;
|
|
|
43812
44164
|
]
|
|
43813
44165
|
);
|
|
43814
44166
|
handleSubmitRef.current = handleSubmit;
|
|
44167
|
+
commandHostRef.current = {
|
|
44168
|
+
unavailable: /* @__PURE__ */ __name((name, args) => {
|
|
44169
|
+
void args;
|
|
44170
|
+
return hostCommands.find((command) => command.name === name)?.unavailable?.(slashCtx);
|
|
44171
|
+
}, "unavailable"),
|
|
44172
|
+
run: /* @__PURE__ */ __name(async (line, options) => {
|
|
44173
|
+
if (appLifetime.signal.aborted || options.signal?.aborted) {
|
|
44174
|
+
return { kind: "refused", reason: "The conversation is closing." };
|
|
44175
|
+
}
|
|
44176
|
+
if (options.deferred || slashTiming(line, userCommands, hostCommands) === "queue") {
|
|
44177
|
+
enqueueQueued({ kind: "human", text: line, command: true });
|
|
44178
|
+
return { kind: "queued" };
|
|
44179
|
+
}
|
|
44180
|
+
const captured = [];
|
|
44181
|
+
commandCaptureRef.current = captured;
|
|
44182
|
+
commandRefusalRef.current = null;
|
|
44183
|
+
hostCommandSettledRef.current = null;
|
|
44184
|
+
let refusal = null;
|
|
44185
|
+
try {
|
|
44186
|
+
handleSubmitRef.current?.(line, void 0, "submit", { source: "queued-command" });
|
|
44187
|
+
await hostCommandSettledRef.current;
|
|
44188
|
+
refusal = commandRefusalRef.current;
|
|
44189
|
+
} finally {
|
|
44190
|
+
commandCaptureRef.current = null;
|
|
44191
|
+
commandRefusalRef.current = null;
|
|
44192
|
+
hostCommandSettledRef.current = null;
|
|
44193
|
+
}
|
|
44194
|
+
if (refusal !== null) return { kind: "refused", reason: refusal };
|
|
44195
|
+
return { kind: "ran", output: captured.join("\n") };
|
|
44196
|
+
}, "run")
|
|
44197
|
+
};
|
|
43815
44198
|
const idleStateRef = (0, import_react30.useRef)({
|
|
43816
44199
|
dialogOpen: false,
|
|
43817
44200
|
session,
|
|
@@ -46104,7 +46487,7 @@ ${answered.context}` : slash.text;
|
|
|
46104
46487
|
onStopAllAgents: requestStopAllAgents,
|
|
46105
46488
|
railFocused: railFocus !== null,
|
|
46106
46489
|
userCommands,
|
|
46107
|
-
builtins: hostCommands.map((command) => ({
|
|
46490
|
+
builtins: listedCommands(hostCommands, slashCtx).map((command) => ({
|
|
46108
46491
|
...command,
|
|
46109
46492
|
description: command.unavailable?.(slashCtx) ?? command.description
|
|
46110
46493
|
})),
|
|
@@ -46689,4 +47072,4 @@ export {
|
|
|
46689
47072
|
projectConversation,
|
|
46690
47073
|
App
|
|
46691
47074
|
};
|
|
46692
|
-
//# sourceMappingURL=chunk-
|
|
47075
|
+
//# sourceMappingURL=chunk-6F3M3P3W.js.map
|