@namzu/cli 45.7.0 → 45.9.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 +22 -0
- package/dist/bin.js +1 -1
- package/dist/chunks/{acp-VJBPFMDK.js → acp-JFCJSIIA.js} +47 -47
- package/dist/chunks/{activity-command-A2MPD6N4.js → activity-command-SJPF7IBA.js} +13 -13
- package/dist/chunks/{add-FRWIF4G3.js → add-C4GQN6DM.js} +19 -19
- package/dist/chunks/{agent-R6JYTUTC.js → agent-ACOT5CFE.js} +37 -37
- package/dist/chunks/agent-session-W3NDL6TR.js +71 -0
- package/dist/chunks/{archive-RRZOJXZM.js → archive-L63QOXVL.js} +11 -11
- package/dist/chunks/{bin-main-LXWGB4OG.js → bin-main-POO2NZBN.js} +7 -7
- package/dist/chunks/{binding-LXBE6SZ6.js → binding-EQIATU4R.js} +3 -3
- package/dist/chunks/{browser-CLRSZZVD.js → browser-LCBZH67I.js} +6 -6
- package/dist/chunks/{chat-43PBV7FK.js → chat-24D5YZXH.js} +16 -16
- package/dist/chunks/{chunk-DS5LPGZL.js → chunk-2BEDVT2Y.js} +4 -4
- package/dist/chunks/{chunk-HFWISJ3W.js → chunk-37OSPOWM.js} +4 -4
- package/dist/chunks/{chunk-TKN2LZYX.js → chunk-3PGIEWQC.js} +6 -6
- package/dist/chunks/{chunk-I73NPSRQ.js → chunk-3TAJHVYW.js} +13 -13
- package/dist/chunks/{chunk-Z7XLQDDV.js → chunk-43IPGFN7.js} +9 -9
- package/dist/chunks/{chunk-RSAZJF3I.js → chunk-4447JRIE.js} +3 -3
- package/dist/chunks/{chunk-4X3I6SZF.js → chunk-46QXCDI7.js} +30 -5
- package/dist/chunks/{chunk-4X3I6SZF.js.map → chunk-46QXCDI7.js.map} +1 -1
- package/dist/chunks/{chunk-YUMBJ6IT.js → chunk-4PWH27US.js} +9 -9
- package/dist/chunks/{chunk-X4ZT2ASR.js → chunk-4WPNREGO.js} +2 -2
- package/dist/chunks/{chunk-OO3ABJWG.js → chunk-53K22MUQ.js} +67 -8
- package/dist/chunks/chunk-53K22MUQ.js.map +6 -0
- package/dist/chunks/{chunk-3J5BNEAB.js → chunk-5X7BXGFA.js} +2 -2
- package/dist/chunks/{chunk-HEAUWMXL.js → chunk-6VL6UVFF.js} +12 -12
- package/dist/chunks/{chunk-EXV7NMBE.js → chunk-757SVBWJ.js} +2 -2
- package/dist/chunks/{chunk-IODBG3XL.js → chunk-7OUFXHKA.js} +2 -2
- package/dist/chunks/{chunk-AMDJD6CH.js → chunk-7QSKAPX7.js} +12 -12
- package/dist/chunks/{chunk-RT3RZMJA.js → chunk-A7257HMU.js} +2 -2
- package/dist/chunks/{chunk-VXPYQGU2.js → chunk-ACG3D2BX.js} +2 -2
- package/dist/chunks/{chunk-GGAJGRIM.js → chunk-ASS6MXGF.js} +16 -4
- package/dist/chunks/chunk-ASS6MXGF.js.map +6 -0
- package/dist/chunks/{chunk-D3J3PXOT.js → chunk-BMUV6VKC.js} +2 -2
- package/dist/chunks/{chunk-LGFTM2YK.js → chunk-C34HWZPS.js} +2 -2
- package/dist/chunks/{chunk-PRNBQTUI.js → chunk-C3ZNDBTH.js} +4 -4
- package/dist/chunks/{chunk-CX7BSYST.js → chunk-CULCLST7.js} +3 -3
- package/dist/chunks/{chunk-WVNXGMNE.js → chunk-DBSHL5JJ.js} +2 -2
- package/dist/chunks/{chunk-APSFLVDO.js → chunk-DX6JBQ3X.js} +5 -5
- package/dist/chunks/{chunk-RESPR3EN.js → chunk-DXWPZ2MI.js} +3 -3
- package/dist/chunks/{chunk-NQIA37CF.js → chunk-EMAVNRSG.js} +3 -3
- package/dist/chunks/{chunk-BCJL3S23.js → chunk-EP6BYDNQ.js} +2 -2
- package/dist/chunks/{chunk-363XKSP6.js → chunk-EQXLMDW6.js} +2 -2
- package/dist/chunks/{chunk-M7PUJE22.js → chunk-EZSI3CMO.js} +3 -3
- package/dist/chunks/{chunk-K6IU46G6.js → chunk-FI7AARZA.js} +3 -3
- package/dist/chunks/{chunk-SVMUXZQE.js → chunk-FQMRE4UZ.js} +4 -4
- package/dist/chunks/{chunk-K3G3EUCW.js → chunk-G7JD3N2N.js} +4 -4
- package/dist/chunks/{chunk-HFE6APGQ.js → chunk-GUIGJ4BY.js} +2 -2
- package/dist/chunks/{chunk-XUMJQNIV.js → chunk-HCICXDSS.js} +2 -2
- package/dist/chunks/{chunk-JIXHNBGH.js → chunk-HI7I3TAU.js} +4 -4
- package/dist/chunks/chunk-HREK4V2O.js +1545 -0
- package/dist/chunks/chunk-HREK4V2O.js.map +6 -0
- package/dist/chunks/{chunk-XGSJOMN2.js → chunk-I6K53U6B.js} +2 -2
- package/dist/chunks/{chunk-XY5VT5CV.js → chunk-IMCIEA4W.js} +3 -3
- package/dist/chunks/{chunk-C3YZAJ2Z.js → chunk-IU6MPKP4.js} +3 -3
- package/dist/chunks/{chunk-G3TIGCWK.js → chunk-K2BAXNW6.js} +10 -10
- package/dist/chunks/{chunk-D5MO6HFG.js → chunk-KX5NNRHA.js} +2 -2
- package/dist/chunks/{chunk-R4FHPOJJ.js → chunk-LPWEVMGN.js} +2 -2
- package/dist/chunks/{chunk-3NG4CVQD.js → chunk-LUM7JK5K.js} +4 -4
- package/dist/chunks/{chunk-F5ZVNY3R.js → chunk-LVGARFGV.js} +2 -2
- package/dist/chunks/{chunk-OYOBOPRI.js → chunk-MAMFVNSK.js} +3 -3
- package/dist/chunks/{chunk-OGQIHPSK.js → chunk-MJ7L4YKW.js} +2 -2
- package/dist/chunks/{chunk-76GATJYU.js → chunk-MK3IK4LB.js} +2 -2
- package/dist/chunks/{chunk-GAPKVMFJ.js → chunk-N36ZNZWP.js} +2 -2
- package/dist/chunks/{chunk-EXQE56JO.js → chunk-NI4TTLTR.js} +4 -4
- package/dist/chunks/{chunk-QGQIWR3J.js → chunk-NQKJYDZD.js} +2 -2
- package/dist/chunks/{chunk-C2VJISDY.js → chunk-OID5W4VF.js} +3 -3
- package/dist/chunks/{chunk-BEH4HT6Z.js → chunk-OJFU4YEN.js} +3 -3
- package/dist/chunks/{chunk-YX7WHZAR.js → chunk-OZQFST6Z.js} +2 -2
- package/dist/chunks/{chunk-WXZU737B.js → chunk-PH3UMBH7.js} +4 -4
- package/dist/chunks/{chunk-NHCVWH7D.js → chunk-PILA7WOZ.js} +3 -3
- package/dist/chunks/{chunk-YXPMFGVR.js → chunk-PMCY557I.js} +2 -2
- package/dist/chunks/{chunk-RKP3CAJ3.js → chunk-PV33KWQ6.js} +3 -3
- package/dist/chunks/{chunk-SVYPYQKS.js → chunk-QQ7GNM4Q.js} +3 -3
- package/dist/chunks/{chunk-M4JIXKZL.js → chunk-R3C2IFIP.js} +27 -1557
- package/dist/chunks/chunk-R3C2IFIP.js.map +6 -0
- package/dist/chunks/{chunk-GPA7Y4OA.js → chunk-RSSV7Z7B.js} +33 -33
- package/dist/chunks/{chunk-SSYTEIX5.js → chunk-RYECRNWW.js} +2 -2
- package/dist/chunks/{chunk-LGKMYO23.js → chunk-SHNMQXCD.js} +12 -3
- package/dist/chunks/{chunk-LGKMYO23.js.map → chunk-SHNMQXCD.js.map} +1 -1
- package/dist/chunks/{chunk-PKR5XLS4.js → chunk-SNJEGKQL.js} +5 -5
- package/dist/chunks/{chunk-6GGXRCTW.js → chunk-TIU7AEQW.js} +3 -3
- package/dist/chunks/{chunk-P5FP6UJF.js → chunk-TQ6IWAEP.js} +5 -5
- package/dist/chunks/{chunk-I4NKYTRH.js → chunk-TRRP7ZYG.js} +7 -7
- package/dist/chunks/{chunk-J6S76HCU.js → chunk-U3A77O5Y.js} +3 -3
- package/dist/chunks/{chunk-Q27GQILU.js → chunk-UCXOX5CJ.js} +2 -2
- package/dist/chunks/{chunk-BTMU336W.js → chunk-V7YK2DPQ.js} +8 -8
- package/dist/chunks/{chunk-ZKIRQG4T.js → chunk-XC44CZUI.js} +3 -3
- package/dist/chunks/{chunk-OS2VCOT4.js → chunk-XJOQKEOI.js} +6 -6
- package/dist/chunks/{chunk-TDXHVZ66.js → chunk-XK5RJSUS.js} +2 -2
- package/dist/chunks/{chunk-U7EBFN7U.js → chunk-XNJBTPX4.js} +6 -6
- package/dist/chunks/{chunk-EPV5O6RP.js → chunk-Y3LRN7YX.js} +6 -6
- package/dist/chunks/{chunk-36QGYDNX.js → chunk-YGATPRPZ.js} +34 -33
- package/dist/chunks/{chunk-527SIDBI.js → chunk-YZABN3IO.js} +2 -2
- package/dist/chunks/{chunk-YJ3OUJDG.js → chunk-Z442BNIE.js} +2 -2
- package/dist/chunks/{chunk-MRIUYE6R.js → chunk-Z45KPHJG.js} +2 -2
- package/dist/chunks/{chunk-UWPS6PV2.js → chunk-ZBDBZWX7.js} +2 -2
- package/dist/chunks/{chunk-KRL7BJTX.js → chunk-ZHCKDGV3.js} +3 -3
- package/dist/chunks/{chunk-WUNHL7B2.js → chunk-ZQTN2JJI.js} +6 -6
- package/dist/chunks/{chunk-MLAJ6ZIG.js → chunk-ZTG3O5OO.js} +5 -5
- package/dist/chunks/{cli-runtime-NB4HBCBU.js → cli-runtime-FZANNWNC.js} +10 -10
- package/dist/chunks/{commands-MPWHDJNZ.js → commands-J2VZPLHT.js} +5 -5
- package/dist/chunks/{crash-report-KVMI6RQY.js → crash-report-E7K2UDNT.js} +6 -6
- package/dist/chunks/{dist-SEKX72EF.js → dist-3X7FEGRZ.js} +2 -2
- package/dist/chunks/{dist-WCFY6H3Y.js → dist-3XYNVJ3Q.js} +2 -2
- package/dist/chunks/{dist-3PTVBBUZ.js → dist-EGN4SVCI.js} +2 -2
- package/dist/chunks/{dist-ZE6R5KGY.js → dist-G4YRU6OC.js} +2 -2
- package/dist/chunks/{dist-JQYNMXFO.js → dist-JLID2Q63.js} +2 -2
- package/dist/chunks/{dist-LCBVOQNP.js → dist-LW465GNK.js} +2 -2
- package/dist/chunks/{dist-ISU5SFTX.js → dist-PDJ75QWW.js} +2 -2
- package/dist/chunks/{dist-CCH5IL3C.js → dist-RXKDAGL3.js} +4 -2
- package/dist/chunks/{doctor-DUEPRCGZ.js → doctor-KDWQIFIS.js} +16 -16
- package/dist/chunks/{drain-555N6B62.js → drain-2QZHDCCJ.js} +10 -10
- package/dist/chunks/{entry-A4YVPFFT.js → entry-XCN5AVBW.js} +6 -6
- package/dist/chunks/{eval-SNSW7LHK.js → eval-CFRRUHKU.js} +2 -2
- package/dist/chunks/{exec-544ZWPWM.js → exec-7KWBTEW5.js} +36 -35
- package/dist/chunks/exec-7KWBTEW5.js.map +6 -0
- package/dist/chunks/{home-XOLD73YB.js → home-MNY5VS2O.js} +3 -3
- package/dist/chunks/{host-5UX7PVCP.js → host-VCPGT6XQ.js} +11 -10
- package/dist/chunks/{host-queries-FV3F52SM.js → host-queries-O7J6UBWH.js} +16 -16
- package/dist/chunks/{learn-XV2UYYVX.js → learn-SS6LIU5G.js} +13 -13
- package/dist/chunks/{learn-builtin-W37PQFJV.js → learn-builtin-CZYPWD53.js} +16 -16
- package/dist/chunks/{lifecycle-OJC7MXNX.js → lifecycle-4S3S4N4Z.js} +29 -29
- package/dist/chunks/{list-IKFFQ2WL.js → list-HIARDM5X.js} +10 -10
- package/dist/chunks/{live-6CIVSKFU.js → live-SPTFUF6I.js} +15 -15
- package/dist/chunks/{login-JSPUARUD.js → login-SCKEZDYC.js} +13 -13
- package/dist/chunks/{logs-OKVRZ3FM.js → logs-ULFCZVDT.js} +4 -4
- package/dist/chunks/{mcp-KJ3RGN3D.js → mcp-3BZRB7KA.js} +20 -20
- package/dist/chunks/{message-command-SNUKD4UM.js → message-command-ZDWOLD7H.js} +43 -43
- package/dist/chunks/{open-YCBT62N4.js → open-UIBSKVSM.js} +8 -8
- package/dist/chunks/{operator-tools-YSZLU23R.js → operator-tools-UVYTJHXF.js} +14 -14
- package/dist/chunks/{output-schema-6M6LJ3ON.js → output-schema-6VUEX3R2.js} +3 -3
- package/dist/chunks/{pal-NJWKENBJ.js → pal-NQ6KSCD4.js} +16 -16
- package/dist/chunks/{peers-NAABYS2J.js → peers-EX5WTMXI.js} +6 -6
- package/dist/chunks/{providers-OWITORKR.js → providers-E5YJKVJG.js} +11 -11
- package/dist/chunks/{pty-RWVJJ5EO.js → pty-7745KVSE.js} +3 -3
- package/dist/chunks/{resident-RAXXTDAY.js → resident-E2B2O5OL.js} +24 -24
- package/dist/chunks/resume-EAED5K46.js +24 -0
- package/dist/chunks/{resume-command-C2TWMUWZ.js → resume-command-U2MQAS7O.js} +4 -4
- package/dist/chunks/{schedule-QIA3XRIE.js → schedule-TFV7RPZM.js} +8 -8
- package/dist/chunks/{service-MVWDIVXD.js → service-LXMA7DPT.js} +29 -29
- package/dist/chunks/{session-step-JL6A7XWG.js → session-step-TH26HZY3.js} +15 -15
- package/dist/chunks/{skills-ZDOOLV6R.js → skills-7WDJT333.js} +8 -8
- package/dist/chunks/{start-check-M4YDWO36.js → start-check-AANZ7RK3.js} +2 -2
- package/dist/chunks/{startup-failure-PE4XFXCJ.js → startup-failure-UKMUVWQV.js} +2 -2
- package/dist/chunks/{state-H7HSNFBS.js → state-BOBBL737.js} +2 -2
- package/dist/chunks/{store-4VWEOE55.js → store-LWGGUHJW.js} +3 -3
- package/dist/chunks/{store-OIG4RYYJ.js → store-MQLKJCXI.js} +11 -11
- package/dist/chunks/{store-4FPWFOPR.js → store-TFXEWDAR.js} +4 -4
- package/dist/chunks/{store-HEHXFRAI.js → store-UXENSWRU.js} +6 -6
- package/dist/chunks/{tui-OYA5Z4UH.js → tui-WGVEUU3O.js} +279 -135
- package/dist/chunks/tui-WGVEUU3O.js.map +6 -0
- package/dist/chunks/{upgrade-7W7CHF72.js → upgrade-US5UJBDW.js} +7 -7
- package/dist/chunks/{workspaces-DWZR3X3K.js → workspaces-HX64WER4.js} +17 -16
- package/dist/chunks/workspaces-HX64WER4.js.map +6 -0
- package/dist/chunks/{worktree-U3ICGV7I.js → worktree-YVNALLAZ.js} +13 -13
- package/dist/config/load.d.ts.map +1 -1
- package/dist/config/schema.d.ts +11 -0
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/index.js +19 -19
- package/dist/integrations/decision/notify-worthy.d.ts +25 -0
- package/dist/integrations/decision/notify-worthy.d.ts.map +1 -0
- package/dist/integrations/decision/points.d.ts +71 -0
- package/dist/integrations/decision/points.d.ts.map +1 -0
- package/dist/integrations/notifications/sound.d.ts +9 -0
- package/dist/integrations/notifications/sound.d.ts.map +1 -1
- package/dist/integrations/peers/runtime.d.ts.map +1 -1
- package/dist/integrations/resident/runner-worker.js +21 -21
- package/dist/tui/App.d.ts.map +1 -1
- package/dist/workspaces/host.d.ts +4 -0
- package/dist/workspaces/host.d.ts.map +1 -1
- package/dist/workspaces/roster.d.ts +6 -0
- package/dist/workspaces/roster.d.ts.map +1 -1
- package/dist/workspaces/sidebar.d.ts +7 -0
- package/dist/workspaces/sidebar.d.ts.map +1 -1
- package/package.json +4 -4
- package/dist/chunks/agent-session-I45DFZQY.js +0 -71
- package/dist/chunks/chunk-GGAJGRIM.js.map +0 -6
- package/dist/chunks/chunk-M4JIXKZL.js.map +0 -6
- package/dist/chunks/chunk-OO3ABJWG.js.map +0 -6
- package/dist/chunks/exec-544ZWPWM.js.map +0 -6
- package/dist/chunks/resume-DZNXT37Q.js +0 -24
- package/dist/chunks/tui-OYA5Z4UH.js.map +0 -6
- package/dist/chunks/workspaces-DWZR3X3K.js.map +0 -6
- /package/dist/chunks/{acp-VJBPFMDK.js.map → acp-JFCJSIIA.js.map} +0 -0
- /package/dist/chunks/{activity-command-A2MPD6N4.js.map → activity-command-SJPF7IBA.js.map} +0 -0
- /package/dist/chunks/{add-FRWIF4G3.js.map → add-C4GQN6DM.js.map} +0 -0
- /package/dist/chunks/{agent-R6JYTUTC.js.map → agent-ACOT5CFE.js.map} +0 -0
- /package/dist/chunks/{agent-session-I45DFZQY.js.map → agent-session-W3NDL6TR.js.map} +0 -0
- /package/dist/chunks/{archive-RRZOJXZM.js.map → archive-L63QOXVL.js.map} +0 -0
- /package/dist/chunks/{bin-main-LXWGB4OG.js.map → bin-main-POO2NZBN.js.map} +0 -0
- /package/dist/chunks/{binding-LXBE6SZ6.js.map → binding-EQIATU4R.js.map} +0 -0
- /package/dist/chunks/{browser-CLRSZZVD.js.map → browser-LCBZH67I.js.map} +0 -0
- /package/dist/chunks/{chat-43PBV7FK.js.map → chat-24D5YZXH.js.map} +0 -0
- /package/dist/chunks/{chunk-DS5LPGZL.js.map → chunk-2BEDVT2Y.js.map} +0 -0
- /package/dist/chunks/{chunk-HFWISJ3W.js.map → chunk-37OSPOWM.js.map} +0 -0
- /package/dist/chunks/{chunk-TKN2LZYX.js.map → chunk-3PGIEWQC.js.map} +0 -0
- /package/dist/chunks/{chunk-I73NPSRQ.js.map → chunk-3TAJHVYW.js.map} +0 -0
- /package/dist/chunks/{chunk-Z7XLQDDV.js.map → chunk-43IPGFN7.js.map} +0 -0
- /package/dist/chunks/{chunk-RSAZJF3I.js.map → chunk-4447JRIE.js.map} +0 -0
- /package/dist/chunks/{chunk-YUMBJ6IT.js.map → chunk-4PWH27US.js.map} +0 -0
- /package/dist/chunks/{chunk-X4ZT2ASR.js.map → chunk-4WPNREGO.js.map} +0 -0
- /package/dist/chunks/{chunk-3J5BNEAB.js.map → chunk-5X7BXGFA.js.map} +0 -0
- /package/dist/chunks/{chunk-HEAUWMXL.js.map → chunk-6VL6UVFF.js.map} +0 -0
- /package/dist/chunks/{chunk-EXV7NMBE.js.map → chunk-757SVBWJ.js.map} +0 -0
- /package/dist/chunks/{chunk-IODBG3XL.js.map → chunk-7OUFXHKA.js.map} +0 -0
- /package/dist/chunks/{chunk-AMDJD6CH.js.map → chunk-7QSKAPX7.js.map} +0 -0
- /package/dist/chunks/{chunk-RT3RZMJA.js.map → chunk-A7257HMU.js.map} +0 -0
- /package/dist/chunks/{chunk-VXPYQGU2.js.map → chunk-ACG3D2BX.js.map} +0 -0
- /package/dist/chunks/{chunk-D3J3PXOT.js.map → chunk-BMUV6VKC.js.map} +0 -0
- /package/dist/chunks/{chunk-LGFTM2YK.js.map → chunk-C34HWZPS.js.map} +0 -0
- /package/dist/chunks/{chunk-PRNBQTUI.js.map → chunk-C3ZNDBTH.js.map} +0 -0
- /package/dist/chunks/{chunk-CX7BSYST.js.map → chunk-CULCLST7.js.map} +0 -0
- /package/dist/chunks/{chunk-WVNXGMNE.js.map → chunk-DBSHL5JJ.js.map} +0 -0
- /package/dist/chunks/{chunk-APSFLVDO.js.map → chunk-DX6JBQ3X.js.map} +0 -0
- /package/dist/chunks/{chunk-RESPR3EN.js.map → chunk-DXWPZ2MI.js.map} +0 -0
- /package/dist/chunks/{chunk-NQIA37CF.js.map → chunk-EMAVNRSG.js.map} +0 -0
- /package/dist/chunks/{chunk-BCJL3S23.js.map → chunk-EP6BYDNQ.js.map} +0 -0
- /package/dist/chunks/{chunk-363XKSP6.js.map → chunk-EQXLMDW6.js.map} +0 -0
- /package/dist/chunks/{chunk-M7PUJE22.js.map → chunk-EZSI3CMO.js.map} +0 -0
- /package/dist/chunks/{chunk-K6IU46G6.js.map → chunk-FI7AARZA.js.map} +0 -0
- /package/dist/chunks/{chunk-SVMUXZQE.js.map → chunk-FQMRE4UZ.js.map} +0 -0
- /package/dist/chunks/{chunk-K3G3EUCW.js.map → chunk-G7JD3N2N.js.map} +0 -0
- /package/dist/chunks/{chunk-HFE6APGQ.js.map → chunk-GUIGJ4BY.js.map} +0 -0
- /package/dist/chunks/{chunk-XUMJQNIV.js.map → chunk-HCICXDSS.js.map} +0 -0
- /package/dist/chunks/{chunk-JIXHNBGH.js.map → chunk-HI7I3TAU.js.map} +0 -0
- /package/dist/chunks/{chunk-XGSJOMN2.js.map → chunk-I6K53U6B.js.map} +0 -0
- /package/dist/chunks/{chunk-XY5VT5CV.js.map → chunk-IMCIEA4W.js.map} +0 -0
- /package/dist/chunks/{chunk-C3YZAJ2Z.js.map → chunk-IU6MPKP4.js.map} +0 -0
- /package/dist/chunks/{chunk-G3TIGCWK.js.map → chunk-K2BAXNW6.js.map} +0 -0
- /package/dist/chunks/{chunk-D5MO6HFG.js.map → chunk-KX5NNRHA.js.map} +0 -0
- /package/dist/chunks/{chunk-R4FHPOJJ.js.map → chunk-LPWEVMGN.js.map} +0 -0
- /package/dist/chunks/{chunk-3NG4CVQD.js.map → chunk-LUM7JK5K.js.map} +0 -0
- /package/dist/chunks/{chunk-F5ZVNY3R.js.map → chunk-LVGARFGV.js.map} +0 -0
- /package/dist/chunks/{chunk-OYOBOPRI.js.map → chunk-MAMFVNSK.js.map} +0 -0
- /package/dist/chunks/{chunk-OGQIHPSK.js.map → chunk-MJ7L4YKW.js.map} +0 -0
- /package/dist/chunks/{chunk-76GATJYU.js.map → chunk-MK3IK4LB.js.map} +0 -0
- /package/dist/chunks/{chunk-GAPKVMFJ.js.map → chunk-N36ZNZWP.js.map} +0 -0
- /package/dist/chunks/{chunk-EXQE56JO.js.map → chunk-NI4TTLTR.js.map} +0 -0
- /package/dist/chunks/{chunk-QGQIWR3J.js.map → chunk-NQKJYDZD.js.map} +0 -0
- /package/dist/chunks/{chunk-C2VJISDY.js.map → chunk-OID5W4VF.js.map} +0 -0
- /package/dist/chunks/{chunk-BEH4HT6Z.js.map → chunk-OJFU4YEN.js.map} +0 -0
- /package/dist/chunks/{chunk-YX7WHZAR.js.map → chunk-OZQFST6Z.js.map} +0 -0
- /package/dist/chunks/{chunk-WXZU737B.js.map → chunk-PH3UMBH7.js.map} +0 -0
- /package/dist/chunks/{chunk-NHCVWH7D.js.map → chunk-PILA7WOZ.js.map} +0 -0
- /package/dist/chunks/{chunk-YXPMFGVR.js.map → chunk-PMCY557I.js.map} +0 -0
- /package/dist/chunks/{chunk-RKP3CAJ3.js.map → chunk-PV33KWQ6.js.map} +0 -0
- /package/dist/chunks/{chunk-SVYPYQKS.js.map → chunk-QQ7GNM4Q.js.map} +0 -0
- /package/dist/chunks/{chunk-GPA7Y4OA.js.map → chunk-RSSV7Z7B.js.map} +0 -0
- /package/dist/chunks/{chunk-SSYTEIX5.js.map → chunk-RYECRNWW.js.map} +0 -0
- /package/dist/chunks/{chunk-PKR5XLS4.js.map → chunk-SNJEGKQL.js.map} +0 -0
- /package/dist/chunks/{chunk-6GGXRCTW.js.map → chunk-TIU7AEQW.js.map} +0 -0
- /package/dist/chunks/{chunk-P5FP6UJF.js.map → chunk-TQ6IWAEP.js.map} +0 -0
- /package/dist/chunks/{chunk-I4NKYTRH.js.map → chunk-TRRP7ZYG.js.map} +0 -0
- /package/dist/chunks/{chunk-J6S76HCU.js.map → chunk-U3A77O5Y.js.map} +0 -0
- /package/dist/chunks/{chunk-Q27GQILU.js.map → chunk-UCXOX5CJ.js.map} +0 -0
- /package/dist/chunks/{chunk-BTMU336W.js.map → chunk-V7YK2DPQ.js.map} +0 -0
- /package/dist/chunks/{chunk-ZKIRQG4T.js.map → chunk-XC44CZUI.js.map} +0 -0
- /package/dist/chunks/{chunk-OS2VCOT4.js.map → chunk-XJOQKEOI.js.map} +0 -0
- /package/dist/chunks/{chunk-TDXHVZ66.js.map → chunk-XK5RJSUS.js.map} +0 -0
- /package/dist/chunks/{chunk-U7EBFN7U.js.map → chunk-XNJBTPX4.js.map} +0 -0
- /package/dist/chunks/{chunk-EPV5O6RP.js.map → chunk-Y3LRN7YX.js.map} +0 -0
- /package/dist/chunks/{chunk-36QGYDNX.js.map → chunk-YGATPRPZ.js.map} +0 -0
- /package/dist/chunks/{chunk-527SIDBI.js.map → chunk-YZABN3IO.js.map} +0 -0
- /package/dist/chunks/{chunk-YJ3OUJDG.js.map → chunk-Z442BNIE.js.map} +0 -0
- /package/dist/chunks/{chunk-MRIUYE6R.js.map → chunk-Z45KPHJG.js.map} +0 -0
- /package/dist/chunks/{chunk-UWPS6PV2.js.map → chunk-ZBDBZWX7.js.map} +0 -0
- /package/dist/chunks/{chunk-KRL7BJTX.js.map → chunk-ZHCKDGV3.js.map} +0 -0
- /package/dist/chunks/{chunk-WUNHL7B2.js.map → chunk-ZQTN2JJI.js.map} +0 -0
- /package/dist/chunks/{chunk-MLAJ6ZIG.js.map → chunk-ZTG3O5OO.js.map} +0 -0
- /package/dist/chunks/{cli-runtime-NB4HBCBU.js.map → cli-runtime-FZANNWNC.js.map} +0 -0
- /package/dist/chunks/{commands-MPWHDJNZ.js.map → commands-J2VZPLHT.js.map} +0 -0
- /package/dist/chunks/{crash-report-KVMI6RQY.js.map → crash-report-E7K2UDNT.js.map} +0 -0
- /package/dist/chunks/{dist-SEKX72EF.js.map → dist-3X7FEGRZ.js.map} +0 -0
- /package/dist/chunks/{dist-WCFY6H3Y.js.map → dist-3XYNVJ3Q.js.map} +0 -0
- /package/dist/chunks/{dist-3PTVBBUZ.js.map → dist-EGN4SVCI.js.map} +0 -0
- /package/dist/chunks/{dist-ZE6R5KGY.js.map → dist-G4YRU6OC.js.map} +0 -0
- /package/dist/chunks/{dist-JQYNMXFO.js.map → dist-JLID2Q63.js.map} +0 -0
- /package/dist/chunks/{dist-LCBVOQNP.js.map → dist-LW465GNK.js.map} +0 -0
- /package/dist/chunks/{dist-ISU5SFTX.js.map → dist-PDJ75QWW.js.map} +0 -0
- /package/dist/chunks/{dist-CCH5IL3C.js.map → dist-RXKDAGL3.js.map} +0 -0
- /package/dist/chunks/{doctor-DUEPRCGZ.js.map → doctor-KDWQIFIS.js.map} +0 -0
- /package/dist/chunks/{drain-555N6B62.js.map → drain-2QZHDCCJ.js.map} +0 -0
- /package/dist/chunks/{entry-A4YVPFFT.js.map → entry-XCN5AVBW.js.map} +0 -0
- /package/dist/chunks/{eval-SNSW7LHK.js.map → eval-CFRRUHKU.js.map} +0 -0
- /package/dist/chunks/{home-XOLD73YB.js.map → home-MNY5VS2O.js.map} +0 -0
- /package/dist/chunks/{host-5UX7PVCP.js.map → host-VCPGT6XQ.js.map} +0 -0
- /package/dist/chunks/{host-queries-FV3F52SM.js.map → host-queries-O7J6UBWH.js.map} +0 -0
- /package/dist/chunks/{learn-XV2UYYVX.js.map → learn-SS6LIU5G.js.map} +0 -0
- /package/dist/chunks/{learn-builtin-W37PQFJV.js.map → learn-builtin-CZYPWD53.js.map} +0 -0
- /package/dist/chunks/{lifecycle-OJC7MXNX.js.map → lifecycle-4S3S4N4Z.js.map} +0 -0
- /package/dist/chunks/{list-IKFFQ2WL.js.map → list-HIARDM5X.js.map} +0 -0
- /package/dist/chunks/{live-6CIVSKFU.js.map → live-SPTFUF6I.js.map} +0 -0
- /package/dist/chunks/{login-JSPUARUD.js.map → login-SCKEZDYC.js.map} +0 -0
- /package/dist/chunks/{logs-OKVRZ3FM.js.map → logs-ULFCZVDT.js.map} +0 -0
- /package/dist/chunks/{mcp-KJ3RGN3D.js.map → mcp-3BZRB7KA.js.map} +0 -0
- /package/dist/chunks/{message-command-SNUKD4UM.js.map → message-command-ZDWOLD7H.js.map} +0 -0
- /package/dist/chunks/{open-YCBT62N4.js.map → open-UIBSKVSM.js.map} +0 -0
- /package/dist/chunks/{operator-tools-YSZLU23R.js.map → operator-tools-UVYTJHXF.js.map} +0 -0
- /package/dist/chunks/{output-schema-6M6LJ3ON.js.map → output-schema-6VUEX3R2.js.map} +0 -0
- /package/dist/chunks/{pal-NJWKENBJ.js.map → pal-NQ6KSCD4.js.map} +0 -0
- /package/dist/chunks/{peers-NAABYS2J.js.map → peers-EX5WTMXI.js.map} +0 -0
- /package/dist/chunks/{providers-OWITORKR.js.map → providers-E5YJKVJG.js.map} +0 -0
- /package/dist/chunks/{pty-RWVJJ5EO.js.map → pty-7745KVSE.js.map} +0 -0
- /package/dist/chunks/{resident-RAXXTDAY.js.map → resident-E2B2O5OL.js.map} +0 -0
- /package/dist/chunks/{resume-DZNXT37Q.js.map → resume-EAED5K46.js.map} +0 -0
- /package/dist/chunks/{resume-command-C2TWMUWZ.js.map → resume-command-U2MQAS7O.js.map} +0 -0
- /package/dist/chunks/{schedule-QIA3XRIE.js.map → schedule-TFV7RPZM.js.map} +0 -0
- /package/dist/chunks/{service-MVWDIVXD.js.map → service-LXMA7DPT.js.map} +0 -0
- /package/dist/chunks/{session-step-JL6A7XWG.js.map → session-step-TH26HZY3.js.map} +0 -0
- /package/dist/chunks/{skills-ZDOOLV6R.js.map → skills-7WDJT333.js.map} +0 -0
- /package/dist/chunks/{start-check-M4YDWO36.js.map → start-check-AANZ7RK3.js.map} +0 -0
- /package/dist/chunks/{startup-failure-PE4XFXCJ.js.map → startup-failure-UKMUVWQV.js.map} +0 -0
- /package/dist/chunks/{state-H7HSNFBS.js.map → state-BOBBL737.js.map} +0 -0
- /package/dist/chunks/{store-4FPWFOPR.js.map → store-LWGGUHJW.js.map} +0 -0
- /package/dist/chunks/{store-4VWEOE55.js.map → store-MQLKJCXI.js.map} +0 -0
- /package/dist/chunks/{store-HEHXFRAI.js.map → store-TFXEWDAR.js.map} +0 -0
- /package/dist/chunks/{store-OIG4RYYJ.js.map → store-UXENSWRU.js.map} +0 -0
- /package/dist/chunks/{upgrade-7W7CHF72.js.map → upgrade-US5UJBDW.js.map} +0 -0
- /package/dist/chunks/{worktree-U3ICGV7I.js.map → worktree-YVNALLAZ.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
|
selectDesktopBackend
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-4WPNREGO.js";
|
|
6
6
|
import {
|
|
7
7
|
NAMZU_COMPACT_WORDMARK,
|
|
8
8
|
NAMZU_WORDMARK,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
confirmationView,
|
|
15
15
|
describeChanges,
|
|
16
16
|
permissionsChanged
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-MK3IK4LB.js";
|
|
18
18
|
import {
|
|
19
19
|
visibleScheduleMessage
|
|
20
20
|
} from "./chunk-NADQQMMG.js";
|
|
@@ -36,38 +36,33 @@ import {
|
|
|
36
36
|
kernelCommandDescriptors,
|
|
37
37
|
matchSlashCommands,
|
|
38
38
|
mergeHostCommands,
|
|
39
|
-
motionAllowed,
|
|
40
39
|
parseSlash,
|
|
41
40
|
pressedKeyLabel,
|
|
42
41
|
primaryKeyLabel,
|
|
43
|
-
reducedMotion,
|
|
44
42
|
renderContext,
|
|
45
43
|
renderOutcome,
|
|
46
|
-
require_react,
|
|
47
44
|
reviewPrompt,
|
|
48
45
|
runSlash,
|
|
49
46
|
saveReducedMotion,
|
|
50
47
|
saveTheme,
|
|
51
48
|
savedThemeSetting,
|
|
52
|
-
setReducedMotion,
|
|
53
49
|
setThemePreview,
|
|
54
50
|
setThemeSetting,
|
|
55
51
|
shownTheme,
|
|
56
52
|
slashTiming,
|
|
57
53
|
toolServerRow,
|
|
58
54
|
turnLimitCommands,
|
|
59
|
-
useReducedMotion,
|
|
60
55
|
useThemeEpoch,
|
|
61
56
|
useThemeSubscription
|
|
62
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-R3C2IFIP.js";
|
|
63
58
|
import {
|
|
64
59
|
handleTerminationSignals
|
|
65
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-DBSHL5JJ.js";
|
|
66
61
|
import "./chunk-R66H2G5R.js";
|
|
67
62
|
import {
|
|
68
63
|
deleteUserConfigValue,
|
|
69
64
|
setUserConfigValue
|
|
70
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-QQ7GNM4Q.js";
|
|
71
66
|
import {
|
|
72
67
|
describeAllCredentialsLogout,
|
|
73
68
|
describeApiKeyLogout,
|
|
@@ -78,13 +73,13 @@ import {
|
|
|
78
73
|
} from "./chunk-MDK4RMBQ.js";
|
|
79
74
|
import {
|
|
80
75
|
reportCrash
|
|
81
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-A7257HMU.js";
|
|
82
77
|
import {
|
|
83
78
|
BYPASS_CONSENT_BODY,
|
|
84
79
|
BYPASS_CONSENT_TITLE,
|
|
85
80
|
acknowledgeBypass,
|
|
86
81
|
hasAcknowledgedBypass
|
|
87
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-EP6BYDNQ.js";
|
|
88
83
|
import {
|
|
89
84
|
applyFallbackFlag,
|
|
90
85
|
capChoiceLines,
|
|
@@ -98,12 +93,12 @@ import {
|
|
|
98
93
|
} from "./chunk-XH5YF2YX.js";
|
|
99
94
|
import {
|
|
100
95
|
settleAnsweredPark
|
|
101
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-TRRP7ZYG.js";
|
|
102
97
|
import {
|
|
103
98
|
DELIVERY_READ_LIMIT,
|
|
104
99
|
readSourceDeliveryPage,
|
|
105
100
|
takeSuppressedCount
|
|
106
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-3TAJHVYW.js";
|
|
107
102
|
import {
|
|
108
103
|
callsCount
|
|
109
104
|
} from "./chunk-HFY2647W.js";
|
|
@@ -120,25 +115,25 @@ import {
|
|
|
120
115
|
runsPerDay,
|
|
121
116
|
scriptShellUnavailableReason,
|
|
122
117
|
verifyScheduledScript
|
|
123
|
-
} from "./chunk-
|
|
124
|
-
import "./chunk-
|
|
118
|
+
} from "./chunk-NI4TTLTR.js";
|
|
119
|
+
import "./chunk-LPWEVMGN.js";
|
|
125
120
|
import {
|
|
126
121
|
allowsCommands,
|
|
127
122
|
compileJobPolicy,
|
|
128
123
|
compileScriptCheckPolicy,
|
|
129
124
|
isPresetName
|
|
130
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-37OSPOWM.js";
|
|
131
126
|
import {
|
|
132
127
|
formatResumeShellCommand,
|
|
133
128
|
parkedRunWords,
|
|
134
129
|
resumeCommand
|
|
135
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-GUIGJ4BY.js";
|
|
136
131
|
import {
|
|
137
132
|
appendHistory,
|
|
138
133
|
nextFireOf,
|
|
139
134
|
readHistory,
|
|
140
135
|
readState
|
|
141
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-XK5RJSUS.js";
|
|
142
137
|
import {
|
|
143
138
|
callEndpoint,
|
|
144
139
|
readEndpoint
|
|
@@ -155,7 +150,14 @@ import {
|
|
|
155
150
|
hostSlot,
|
|
156
151
|
hostedByHost,
|
|
157
152
|
workspacesSignal
|
|
158
|
-
} from "./chunk-
|
|
153
|
+
} from "./chunk-PMCY557I.js";
|
|
154
|
+
import {
|
|
155
|
+
motionAllowed,
|
|
156
|
+
reducedMotion,
|
|
157
|
+
require_react,
|
|
158
|
+
setReducedMotion,
|
|
159
|
+
useReducedMotion
|
|
160
|
+
} from "./chunk-HREK4V2O.js";
|
|
159
161
|
import {
|
|
160
162
|
writeLaunchMouseReset
|
|
161
163
|
} from "./chunk-DH4X2E6M.js";
|
|
@@ -164,7 +166,7 @@ import {
|
|
|
164
166
|
openLivePeers,
|
|
165
167
|
peerMailLabel,
|
|
166
168
|
peerMailMessage
|
|
167
|
-
} from "./chunk-
|
|
169
|
+
} from "./chunk-ASS6MXGF.js";
|
|
168
170
|
import {
|
|
169
171
|
AUTO_CHOICE_ID,
|
|
170
172
|
PR_NONE,
|
|
@@ -178,25 +180,25 @@ import {
|
|
|
178
180
|
sectionHeading,
|
|
179
181
|
withAutoChoice,
|
|
180
182
|
writeConversationExport
|
|
181
|
-
} from "./chunk-
|
|
183
|
+
} from "./chunk-TIU7AEQW.js";
|
|
182
184
|
import {
|
|
183
185
|
tuiPalDefinition,
|
|
184
186
|
tuiPalEnvironment,
|
|
185
187
|
tuiPalOwner,
|
|
186
188
|
tuiPalPreferences
|
|
187
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-ZTG3O5OO.js";
|
|
188
190
|
import {
|
|
189
191
|
isModelOnlyContext,
|
|
190
192
|
runtimeContextLabel
|
|
191
193
|
} from "./chunk-FJONRQQU.js";
|
|
192
|
-
import "./chunk-
|
|
194
|
+
import "./chunk-4447JRIE.js";
|
|
193
195
|
import "./chunk-ZWA2JRJV.js";
|
|
194
|
-
import "./chunk-
|
|
195
|
-
import "./chunk-
|
|
196
|
+
import "./chunk-K2BAXNW6.js";
|
|
197
|
+
import "./chunk-Y3LRN7YX.js";
|
|
196
198
|
import {
|
|
197
199
|
claimPalConversation,
|
|
198
200
|
listPalConversations
|
|
199
|
-
} from "./chunk-
|
|
201
|
+
} from "./chunk-LUM7JK5K.js";
|
|
200
202
|
import {
|
|
201
203
|
COMPACTED_HINT,
|
|
202
204
|
COMPACTING_LABEL,
|
|
@@ -249,6 +251,7 @@ import {
|
|
|
249
251
|
hiddenLinesHint,
|
|
250
252
|
hintRows,
|
|
251
253
|
isSessionPlanPath,
|
|
254
|
+
maybeCreateDecisionModel,
|
|
252
255
|
mergeGroups,
|
|
253
256
|
modelListingCause,
|
|
254
257
|
mustAskPerson,
|
|
@@ -278,12 +281,12 @@ import {
|
|
|
278
281
|
webLiveStatus,
|
|
279
282
|
webSettledLine,
|
|
280
283
|
withDebugDetail
|
|
281
|
-
} from "./chunk-
|
|
284
|
+
} from "./chunk-YGATPRPZ.js";
|
|
282
285
|
import {
|
|
283
286
|
openManagedWorktrees,
|
|
284
287
|
worktreeOpenHint
|
|
285
|
-
} from "./chunk-
|
|
286
|
-
import "./chunk-
|
|
288
|
+
} from "./chunk-PH3UMBH7.js";
|
|
289
|
+
import "./chunk-PV33KWQ6.js";
|
|
287
290
|
import {
|
|
288
291
|
SAVE_SKILL_TOOL_NAME,
|
|
289
292
|
SKILL_CREATOR_SKILL,
|
|
@@ -307,25 +310,25 @@ import {
|
|
|
307
310
|
runTokens,
|
|
308
311
|
sandboxRunsShellUnasked,
|
|
309
312
|
settledElapsed
|
|
310
|
-
} from "./chunk-
|
|
311
|
-
import "./chunk-
|
|
312
|
-
import "./chunk-
|
|
313
|
+
} from "./chunk-EZSI3CMO.js";
|
|
314
|
+
import "./chunk-U3A77O5Y.js";
|
|
315
|
+
import "./chunk-SNJEGKQL.js";
|
|
313
316
|
import {
|
|
314
317
|
MCP_OUTPUT_CHARS,
|
|
315
318
|
boundedMcpText,
|
|
316
319
|
validatePromptArguments
|
|
317
|
-
} from "./chunk-
|
|
320
|
+
} from "./chunk-2BEDVT2Y.js";
|
|
318
321
|
import {
|
|
319
322
|
openInBrowser
|
|
320
|
-
} from "./chunk-
|
|
323
|
+
} from "./chunk-Z442BNIE.js";
|
|
321
324
|
import {
|
|
322
325
|
describePlainInterruption,
|
|
323
326
|
describeProviderWait,
|
|
324
327
|
describeProviderWaitClock,
|
|
325
328
|
isSelfMending,
|
|
326
329
|
isSpentAllowance
|
|
327
|
-
} from "./chunk-
|
|
328
|
-
import "./chunk-
|
|
330
|
+
} from "./chunk-IU6MPKP4.js";
|
|
331
|
+
import "./chunk-FQMRE4UZ.js";
|
|
329
332
|
import {
|
|
330
333
|
describeBrowserStatus
|
|
331
334
|
} from "./chunk-WHODOMXA.js";
|
|
@@ -349,34 +352,34 @@ import {
|
|
|
349
352
|
loadSkillBody,
|
|
350
353
|
renderSkillRoster,
|
|
351
354
|
skillTierLabel
|
|
352
|
-
} from "./chunk-
|
|
355
|
+
} from "./chunk-OID5W4VF.js";
|
|
353
356
|
import "./chunk-NUGPLXVK.js";
|
|
354
357
|
import {
|
|
355
358
|
beginSubscriptionLogin,
|
|
356
359
|
parsePastedInput
|
|
357
|
-
} from "./chunk-
|
|
360
|
+
} from "./chunk-DX6JBQ3X.js";
|
|
358
361
|
import {
|
|
359
362
|
apiKeyLogoutWord,
|
|
360
363
|
isApiKeyLogoutTarget
|
|
361
|
-
} from "./chunk-
|
|
364
|
+
} from "./chunk-IMCIEA4W.js";
|
|
362
365
|
import {
|
|
363
366
|
API_KEY_ACCOUNT_PROVIDERS,
|
|
364
367
|
openCliAccounts,
|
|
365
368
|
storedAccountSignedIn
|
|
366
|
-
} from "./chunk-
|
|
369
|
+
} from "./chunk-TQ6IWAEP.js";
|
|
367
370
|
import {
|
|
368
371
|
beginCodexDeviceLogin
|
|
369
|
-
} from "./chunk-
|
|
372
|
+
} from "./chunk-C3ZNDBTH.js";
|
|
370
373
|
import {
|
|
371
374
|
startAutoUpdate
|
|
372
|
-
} from "./chunk-
|
|
375
|
+
} from "./chunk-CULCLST7.js";
|
|
373
376
|
import {
|
|
374
377
|
readManifest
|
|
375
378
|
} from "./chunk-AK2U3N2A.js";
|
|
376
379
|
import {
|
|
377
380
|
resolveNpmInvocation
|
|
378
|
-
} from "./chunk-
|
|
379
|
-
import "./chunk-
|
|
381
|
+
} from "./chunk-RYECRNWW.js";
|
|
382
|
+
import "./chunk-PILA7WOZ.js";
|
|
380
383
|
import {
|
|
381
384
|
ScheduleConflictError,
|
|
382
385
|
confirmationHolds,
|
|
@@ -408,7 +411,7 @@ import {
|
|
|
408
411
|
describeCacheLifetime,
|
|
409
412
|
promptCacheTtl,
|
|
410
413
|
providerOffersCacheLifetime
|
|
411
|
-
} from "./chunk-
|
|
414
|
+
} from "./chunk-XC44CZUI.js";
|
|
412
415
|
import {
|
|
413
416
|
COMPOSER_TRIGGER_DEFAULTS,
|
|
414
417
|
COMPOSER_TRIGGER_IDS,
|
|
@@ -426,7 +429,7 @@ import {
|
|
|
426
429
|
pendingServersMessage,
|
|
427
430
|
readPermissionLayers,
|
|
428
431
|
resolveComposerTriggers
|
|
429
|
-
} from "./chunk-
|
|
432
|
+
} from "./chunk-46QXCDI7.js";
|
|
430
433
|
import "./chunk-KONYGNG6.js";
|
|
431
434
|
import "./chunk-LCGXWCVU.js";
|
|
432
435
|
import {
|
|
@@ -443,7 +446,7 @@ import {
|
|
|
443
446
|
import {
|
|
444
447
|
primaryProvider,
|
|
445
448
|
writePreferences
|
|
446
|
-
} from "./chunk-
|
|
449
|
+
} from "./chunk-6VL6UVFF.js";
|
|
447
450
|
import {
|
|
448
451
|
automaticChoice,
|
|
449
452
|
automaticKind,
|
|
@@ -452,7 +455,7 @@ import {
|
|
|
452
455
|
discoverProviders,
|
|
453
456
|
hasApiCredential,
|
|
454
457
|
signedInSubscriptionProviders
|
|
455
|
-
} from "./chunk-
|
|
458
|
+
} from "./chunk-HI7I3TAU.js";
|
|
456
459
|
import {
|
|
457
460
|
ALL_PROVIDER_IDS,
|
|
458
461
|
PROVIDER_REGISTRY,
|
|
@@ -464,20 +467,20 @@ import "./chunk-RI2KAZJO.js";
|
|
|
464
467
|
import {
|
|
465
468
|
isAnthropicOAuthToken,
|
|
466
469
|
readCodexCredentialFile
|
|
467
|
-
} from "./chunk-
|
|
468
|
-
import "./chunk-
|
|
470
|
+
} from "./chunk-KX5NNRHA.js";
|
|
471
|
+
import "./chunk-I6K53U6B.js";
|
|
469
472
|
import {
|
|
470
473
|
applyProviderFlags
|
|
471
|
-
} from "./chunk-
|
|
474
|
+
} from "./chunk-DXWPZ2MI.js";
|
|
472
475
|
import "./chunk-XEUQN4JC.js";
|
|
473
|
-
import "./chunk-
|
|
476
|
+
import "./chunk-ZQTN2JJI.js";
|
|
474
477
|
import {
|
|
475
478
|
autoAvailable,
|
|
476
479
|
nextCycleMode,
|
|
477
480
|
permissionModeDescription,
|
|
478
481
|
permissionModeLabel,
|
|
479
482
|
permissionModeName
|
|
480
|
-
} from "./chunk-
|
|
483
|
+
} from "./chunk-ACG3D2BX.js";
|
|
481
484
|
import {
|
|
482
485
|
PAUSED_TURN_LINES,
|
|
483
486
|
currentTimeLine,
|
|
@@ -486,7 +489,7 @@ import {
|
|
|
486
489
|
handoffContinuationNote,
|
|
487
490
|
refusalDetail,
|
|
488
491
|
retryAfterMs
|
|
489
|
-
} from "./chunk-
|
|
492
|
+
} from "./chunk-MJ7L4YKW.js";
|
|
490
493
|
import {
|
|
491
494
|
expandTabs,
|
|
492
495
|
terminalDisplayText
|
|
@@ -520,27 +523,27 @@ import {
|
|
|
520
523
|
typedTextOf,
|
|
521
524
|
unansweredReviewPark,
|
|
522
525
|
unarchiveConversation
|
|
523
|
-
} from "./chunk-
|
|
524
|
-
import "./chunk-
|
|
526
|
+
} from "./chunk-XNJBTPX4.js";
|
|
527
|
+
import "./chunk-OJFU4YEN.js";
|
|
525
528
|
import "./chunk-JQIBPPOL.js";
|
|
526
|
-
import "./chunk-
|
|
527
|
-
import "./chunk-
|
|
529
|
+
import "./chunk-C34HWZPS.js";
|
|
530
|
+
import "./chunk-G7JD3N2N.js";
|
|
528
531
|
import {
|
|
529
532
|
isTrusted,
|
|
530
533
|
trustDir
|
|
531
|
-
} from "./chunk-
|
|
534
|
+
} from "./chunk-5X7BXGFA.js";
|
|
532
535
|
import {
|
|
533
536
|
bindAccount,
|
|
534
537
|
findAccountByName,
|
|
535
538
|
isDefaultAccountId
|
|
536
|
-
} from "./chunk-
|
|
539
|
+
} from "./chunk-Z45KPHJG.js";
|
|
537
540
|
import "./chunk-OH6TB27S.js";
|
|
538
|
-
import "./chunk-
|
|
541
|
+
import "./chunk-ZHCKDGV3.js";
|
|
539
542
|
import "./chunk-WMEZTDLT.js";
|
|
540
543
|
import {
|
|
541
544
|
contextLogging,
|
|
542
545
|
installCliLogging
|
|
543
|
-
} from "./chunk-
|
|
546
|
+
} from "./chunk-HCICXDSS.js";
|
|
544
547
|
import {
|
|
545
548
|
PROJECT_MCP_FILE,
|
|
546
549
|
parseMcpServerFile
|
|
@@ -554,7 +557,7 @@ import {
|
|
|
554
557
|
} from "./chunk-U5UV2YRE.js";
|
|
555
558
|
import "./chunk-IE5XIE4W.js";
|
|
556
559
|
import "./chunk-B73OIFL6.js";
|
|
557
|
-
import "./chunk-
|
|
560
|
+
import "./chunk-LVGARFGV.js";
|
|
558
561
|
import "./chunk-JORONMD3.js";
|
|
559
562
|
import {
|
|
560
563
|
apiKeysPath,
|
|
@@ -573,10 +576,10 @@ import {
|
|
|
573
576
|
readStoredSubscriptionCredential,
|
|
574
577
|
writeStoredApiKey,
|
|
575
578
|
writeStoredGeminiApiKey
|
|
576
|
-
} from "./chunk-
|
|
579
|
+
} from "./chunk-YZABN3IO.js";
|
|
577
580
|
import {
|
|
578
581
|
namzuHomePath
|
|
579
|
-
} from "./chunk-
|
|
582
|
+
} from "./chunk-N36ZNZWP.js";
|
|
580
583
|
import {
|
|
581
584
|
ACCEPT_EDITS_TOOLS,
|
|
582
585
|
AccountRegistryError,
|
|
@@ -630,7 +633,7 @@ import {
|
|
|
630
633
|
validateTimeZone,
|
|
631
634
|
wakeBudgetFromEnv,
|
|
632
635
|
wrapUntrusted
|
|
633
|
-
} from "./chunk-
|
|
636
|
+
} from "./chunk-SHNMQXCD.js";
|
|
634
637
|
import {
|
|
635
638
|
__commonJS,
|
|
636
639
|
__export,
|
|
@@ -33994,7 +33997,7 @@ var import_react61 = __toESM(require_react(), 1);
|
|
|
33994
33997
|
|
|
33995
33998
|
// src/tui/App.tsx
|
|
33996
33999
|
import { existsSync as existsSync3, rmSync as rmSync2 } from "node:fs";
|
|
33997
|
-
import { join as
|
|
34000
|
+
import { join as join10, relative as relative3, resolve as resolve7 } from "node:path";
|
|
33998
34001
|
var import_react60 = __toESM(require_react(), 1);
|
|
33999
34002
|
|
|
34000
34003
|
// src/tui/system-rows.ts
|
|
@@ -34430,33 +34433,33 @@ function workflowRowVariants(workflow, now) {
|
|
|
34430
34433
|
const count2 = `${workflow.done}/${workflow.total}`;
|
|
34431
34434
|
const elapsed2 = formatElapsed(Math.max(0, (workflow.endedAt ?? now) - workflow.startedAt));
|
|
34432
34435
|
const spent = workflow.tokens === void 0 ? void 0 : formatCompactCount(workflow.tokens);
|
|
34433
|
-
const
|
|
34436
|
+
const join13 = /* @__PURE__ */ __name((parts) => parts.filter((part) => part !== void 0).join(" \xB7 "), "join");
|
|
34434
34437
|
const [wide, mid, narrow] = WORKFLOW_BAR_WIDTHS;
|
|
34435
34438
|
const warned = workflow.large ? [
|
|
34436
34439
|
{
|
|
34437
34440
|
barWidth: wide,
|
|
34438
|
-
text:
|
|
34441
|
+
text: join13([count2, elapsed2, spent && `\u2193 ${spent} tokens`, LARGE_WORKFLOW_WARNING])
|
|
34439
34442
|
},
|
|
34440
34443
|
{
|
|
34441
34444
|
barWidth: wide,
|
|
34442
|
-
text:
|
|
34445
|
+
text: join13([count2, elapsed2, spent && `\u2193 ${spent} tokens`, LARGE_WORKFLOW_WARNING_SHORT])
|
|
34443
34446
|
},
|
|
34444
34447
|
{
|
|
34445
34448
|
barWidth: wide,
|
|
34446
|
-
text:
|
|
34449
|
+
text: join13([elapsed2, spent && `\u2193 ${spent}`, LARGE_WORKFLOW_WARNING_SHORT])
|
|
34447
34450
|
}
|
|
34448
34451
|
] : [];
|
|
34449
34452
|
const variants = [
|
|
34450
34453
|
...warned,
|
|
34451
34454
|
{
|
|
34452
34455
|
barWidth: wide,
|
|
34453
|
-
text:
|
|
34456
|
+
text: join13([count2, elapsed2, spent && `\u2193 ${spent} tokens`])
|
|
34454
34457
|
},
|
|
34455
|
-
{ barWidth: wide, text:
|
|
34456
|
-
{ barWidth: wide, text:
|
|
34457
|
-
{ barWidth: wide, text:
|
|
34458
|
-
{ barWidth: mid, text:
|
|
34459
|
-
{ barWidth: narrow, text:
|
|
34458
|
+
{ barWidth: wide, text: join13([elapsed2, spent && `\u2193 ${spent} tokens`]) },
|
|
34459
|
+
{ barWidth: wide, text: join13([elapsed2, spent && `\u2193 ${spent}`]) },
|
|
34460
|
+
{ barWidth: wide, text: join13([spent && `\u2193 ${spent}`]) },
|
|
34461
|
+
{ barWidth: mid, text: join13([spent && `\u2193 ${spent}`]) },
|
|
34462
|
+
{ barWidth: narrow, text: join13([spent && `\u2193 ${spent}`]) },
|
|
34460
34463
|
{ barWidth: narrow, text: "" }
|
|
34461
34464
|
];
|
|
34462
34465
|
return variants.filter(
|
|
@@ -40014,6 +40017,123 @@ function hostAccountFacts(input) {
|
|
|
40014
40017
|
}
|
|
40015
40018
|
__name(hostAccountFacts, "hostAccountFacts");
|
|
40016
40019
|
|
|
40020
|
+
// src/integrations/decision/notify-worthy.ts
|
|
40021
|
+
var NOTIFY_WORTHY_TAIL_CHARS = 1200;
|
|
40022
|
+
var NOTIFY_WORTHY_INSTRUCTIONS = "Would a person who stepped away from the terminal want to be called back right now? Answer yes when the reply asks them something, needs their decision or approval, hands over a finished result, or reports a failure they must act on. Answer no for progress notes, acknowledgements, and a short answer to something they just asked and are watching for.";
|
|
40023
|
+
function printable(text) {
|
|
40024
|
+
let out = "";
|
|
40025
|
+
for (const ch of text) {
|
|
40026
|
+
const code = ch.codePointAt(0) ?? 0;
|
|
40027
|
+
if (code < 32 && code !== 10 && code !== 9 || code === 127) continue;
|
|
40028
|
+
out += ch;
|
|
40029
|
+
}
|
|
40030
|
+
return out;
|
|
40031
|
+
}
|
|
40032
|
+
__name(printable, "printable");
|
|
40033
|
+
function notifyWorthyQuestion(input) {
|
|
40034
|
+
const chars = [...printable(input.reply).trim()];
|
|
40035
|
+
const tail = chars.slice(-NOTIFY_WORTHY_TAIL_CHARS).join("");
|
|
40036
|
+
const seconds = Math.round(input.turnMs / 1e3);
|
|
40037
|
+
return {
|
|
40038
|
+
point: "notify-worthy",
|
|
40039
|
+
state: `${tail}
|
|
40040
|
+
|
|
40041
|
+
[the turn took ${seconds}s]`,
|
|
40042
|
+
instructions: NOTIFY_WORTHY_INSTRUCTIONS,
|
|
40043
|
+
rule: input.rule
|
|
40044
|
+
};
|
|
40045
|
+
}
|
|
40046
|
+
__name(notifyWorthyQuestion, "notifyWorthyQuestion");
|
|
40047
|
+
|
|
40048
|
+
// src/integrations/decision/points.ts
|
|
40049
|
+
import { appendFileSync, mkdirSync as mkdirSync2, renameSync, statSync as statSync2 } from "node:fs";
|
|
40050
|
+
import { join as join3 } from "node:path";
|
|
40051
|
+
var DEFAULT_TIMEOUT_MS2 = 1500;
|
|
40052
|
+
var LOG_ROTATE_BYTES = 1e6;
|
|
40053
|
+
function createDecisionPoints(options) {
|
|
40054
|
+
const { model } = options;
|
|
40055
|
+
const now = options.now ?? Date.now;
|
|
40056
|
+
const timeoutMs = options.timeoutMs ?? DEFAULT_TIMEOUT_MS2;
|
|
40057
|
+
const log = options.log ?? appendDecisionLog;
|
|
40058
|
+
const mode = /* @__PURE__ */ __name((point) => model === void 0 ? "off" : options.modes?.[point] ?? "off", "mode");
|
|
40059
|
+
return {
|
|
40060
|
+
mode,
|
|
40061
|
+
async ask(question, signal) {
|
|
40062
|
+
const current = mode(question.point);
|
|
40063
|
+
if (current === "off" || model === void 0) return void 0;
|
|
40064
|
+
const startedAt = now();
|
|
40065
|
+
const controller = new AbortController();
|
|
40066
|
+
let timer;
|
|
40067
|
+
const onOuterAbort = /* @__PURE__ */ __name(() => controller.abort(), "onOuterAbort");
|
|
40068
|
+
signal?.addEventListener("abort", onOuterAbort, { once: true });
|
|
40069
|
+
if (signal?.aborted) controller.abort();
|
|
40070
|
+
let p;
|
|
40071
|
+
let outcome = "answered";
|
|
40072
|
+
try {
|
|
40073
|
+
const timedOut = new Promise((_, reject) => {
|
|
40074
|
+
timer = setTimeout(() => {
|
|
40075
|
+
controller.abort();
|
|
40076
|
+
reject(new Error("timeout"));
|
|
40077
|
+
}, timeoutMs);
|
|
40078
|
+
});
|
|
40079
|
+
const answer = await Promise.race([
|
|
40080
|
+
model.yesno(question.state, question.instructions, { signal: controller.signal }),
|
|
40081
|
+
timedOut
|
|
40082
|
+
]);
|
|
40083
|
+
p = answer.p;
|
|
40084
|
+
if (typeof p !== "number" || !Number.isFinite(p) || p < 0 || p > 1) {
|
|
40085
|
+
p = void 0;
|
|
40086
|
+
outcome = "error";
|
|
40087
|
+
}
|
|
40088
|
+
} catch (error) {
|
|
40089
|
+
outcome = error instanceof Error && error.message === "timeout" ? "timeout" : "error";
|
|
40090
|
+
} finally {
|
|
40091
|
+
if (timer !== void 0) clearTimeout(timer);
|
|
40092
|
+
signal?.removeEventListener("abort", onOuterAbort);
|
|
40093
|
+
}
|
|
40094
|
+
try {
|
|
40095
|
+
log({
|
|
40096
|
+
at: startedAt,
|
|
40097
|
+
point: question.point,
|
|
40098
|
+
mode: current,
|
|
40099
|
+
...p !== void 0 ? { p } : {},
|
|
40100
|
+
rule: question.rule,
|
|
40101
|
+
latencyMs: Math.max(0, now() - startedAt),
|
|
40102
|
+
outcome,
|
|
40103
|
+
chars: question.state.length
|
|
40104
|
+
});
|
|
40105
|
+
} catch {
|
|
40106
|
+
}
|
|
40107
|
+
return current === "on" ? p : void 0;
|
|
40108
|
+
}
|
|
40109
|
+
};
|
|
40110
|
+
}
|
|
40111
|
+
__name(createDecisionPoints, "createDecisionPoints");
|
|
40112
|
+
function appendDecisionLog(entry, home = namzuHomePath()) {
|
|
40113
|
+
try {
|
|
40114
|
+
const directory = join3(home, "decision");
|
|
40115
|
+
const file = join3(directory, "points.jsonl");
|
|
40116
|
+
mkdirSync2(directory, { recursive: true, mode: 448 });
|
|
40117
|
+
try {
|
|
40118
|
+
if (statSync2(file).size >= LOG_ROTATE_BYTES) renameSync(file, `${file}.1`);
|
|
40119
|
+
} catch {
|
|
40120
|
+
}
|
|
40121
|
+
appendFileSync(file, `${JSON.stringify(entry)}
|
|
40122
|
+
`, { mode: 384 });
|
|
40123
|
+
} catch {
|
|
40124
|
+
}
|
|
40125
|
+
}
|
|
40126
|
+
__name(appendDecisionLog, "appendDecisionLog");
|
|
40127
|
+
var CONFIDENT_YES = 0.7;
|
|
40128
|
+
var CONFIDENT_NO = 0.3;
|
|
40129
|
+
function verdictOf(p) {
|
|
40130
|
+
if (p === void 0) return "unsure";
|
|
40131
|
+
if (p >= CONFIDENT_YES) return "yes";
|
|
40132
|
+
if (p <= CONFIDENT_NO) return "no";
|
|
40133
|
+
return "unsure";
|
|
40134
|
+
}
|
|
40135
|
+
__name(verdictOf, "verdictOf");
|
|
40136
|
+
|
|
40017
40137
|
// src/integrations/mcp/person-commands.ts
|
|
40018
40138
|
var MCP_PERSON_USAGE = [
|
|
40019
40139
|
"/mcp prompts [server]",
|
|
@@ -40106,8 +40226,8 @@ __name(mcpPersonCommand, "mcpPersonCommand");
|
|
|
40106
40226
|
|
|
40107
40227
|
// src/integrations/notifications/sound.ts
|
|
40108
40228
|
import { spawn as spawn2 } from "node:child_process";
|
|
40109
|
-
import { existsSync as existsSync2, mkdirSync as
|
|
40110
|
-
import { join as
|
|
40229
|
+
import { existsSync as existsSync2, mkdirSync as mkdirSync3, renameSync as renameSync2, statSync as statSync3, writeFileSync } from "node:fs";
|
|
40230
|
+
import { join as join4 } from "node:path";
|
|
40111
40231
|
|
|
40112
40232
|
// src/integrations/notifications/sound/chime.ts
|
|
40113
40233
|
var FIGURES = {
|
|
@@ -40188,6 +40308,15 @@ function soundFor(moment, turnMs) {
|
|
|
40188
40308
|
return turnMs !== void 0 && turnMs >= SOUND_MIN_TURN_MS ? "done" : void 0;
|
|
40189
40309
|
}
|
|
40190
40310
|
__name(soundFor, "soundFor");
|
|
40311
|
+
function soundForVerdict(moment, turnMs, verdict) {
|
|
40312
|
+
if (moment.kind !== "turn-settled" || moment.outcome !== "completed") {
|
|
40313
|
+
return soundFor(moment, turnMs);
|
|
40314
|
+
}
|
|
40315
|
+
if (verdict === "yes") return "done";
|
|
40316
|
+
if (verdict === "no") return void 0;
|
|
40317
|
+
return soundFor(moment, turnMs);
|
|
40318
|
+
}
|
|
40319
|
+
__name(soundForVerdict, "soundForVerdict");
|
|
40191
40320
|
var PLAY_SCRIPT = "$ErrorActionPreference = 'Stop'; (New-Object System.Media.SoundPlayer $env:NAMZU_SOUND_FILE).PlaySync()";
|
|
40192
40321
|
var POWERSHELL_ARGS = [
|
|
40193
40322
|
"-NoProfile",
|
|
@@ -40200,7 +40329,7 @@ var POWERSHELL_ARGS = [
|
|
|
40200
40329
|
function onPath(env3, exists, name) {
|
|
40201
40330
|
for (const dir of (env3.PATH ?? "").split(":")) {
|
|
40202
40331
|
if (!dir || dir.startsWith("/mnt/")) continue;
|
|
40203
|
-
const candidate =
|
|
40332
|
+
const candidate = join4(dir, name);
|
|
40204
40333
|
if (exists(candidate)) return candidate;
|
|
40205
40334
|
}
|
|
40206
40335
|
return void 0;
|
|
@@ -40252,20 +40381,20 @@ function selectSoundPlayer(probe = {}) {
|
|
|
40252
40381
|
}
|
|
40253
40382
|
__name(selectSoundPlayer, "selectSoundPlayer");
|
|
40254
40383
|
function soundFilePath(kind, home = namzuHomePath()) {
|
|
40255
|
-
return
|
|
40384
|
+
return join4(home, "cache", "sound", `namzu-${kind}-v1.wav`);
|
|
40256
40385
|
}
|
|
40257
40386
|
__name(soundFilePath, "soundFilePath");
|
|
40258
40387
|
function ensureSoundFile(kind, home) {
|
|
40259
40388
|
const file = soundFilePath(kind, home);
|
|
40260
40389
|
const wav = chimeWav(kind);
|
|
40261
40390
|
try {
|
|
40262
|
-
if (
|
|
40391
|
+
if (statSync3(file).size === wav.length) return file;
|
|
40263
40392
|
} catch {
|
|
40264
40393
|
}
|
|
40265
|
-
|
|
40394
|
+
mkdirSync3(join4(file, ".."), { recursive: true });
|
|
40266
40395
|
const staging = `${file}.${process.pid}.tmp`;
|
|
40267
40396
|
writeFileSync(staging, wav);
|
|
40268
|
-
|
|
40397
|
+
renameSync2(staging, file);
|
|
40269
40398
|
return file;
|
|
40270
40399
|
}
|
|
40271
40400
|
__name(ensureSoundFile, "ensureSoundFile");
|
|
@@ -40291,7 +40420,7 @@ function playMoment(moment, turnMs, options = {}) {
|
|
|
40291
40420
|
const env3 = options.env ?? process.env;
|
|
40292
40421
|
if (options.enabled === false || options.isTTY === false) return void 0;
|
|
40293
40422
|
if (env3[SOUND_KILL_SWITCH] === "1") return void 0;
|
|
40294
|
-
const kind =
|
|
40423
|
+
const kind = soundForVerdict(moment, turnMs, options.verdict);
|
|
40295
40424
|
if (!kind) return void 0;
|
|
40296
40425
|
const now = (options.now ?? Date.now)();
|
|
40297
40426
|
if (now - lastPlayedAt < SOUND_SPACING_MS) return void 0;
|
|
@@ -41617,7 +41746,7 @@ __name(loadImageFiles, "loadImageFiles");
|
|
|
41617
41746
|
// src/integrations/clipboard/image.ts
|
|
41618
41747
|
import { spawn as spawn3 } from "node:child_process";
|
|
41619
41748
|
import { readFile as readFile2, rm } from "node:fs/promises";
|
|
41620
|
-
import { join as
|
|
41749
|
+
import { join as join5 } from "node:path";
|
|
41621
41750
|
var MAX_IMAGE_BASE64_BYTES = 5 * 1024 * 1024;
|
|
41622
41751
|
function imageFitsProvider(image2) {
|
|
41623
41752
|
return image2.data.length <= MAX_IMAGE_BASE64_BYTES;
|
|
@@ -41818,7 +41947,7 @@ async function readLinux(run4, wsl, readText, fit2) {
|
|
|
41818
41947
|
__name(readLinux, "readLinux");
|
|
41819
41948
|
async function readMac(run4, fit2) {
|
|
41820
41949
|
const dir = await createTempDir("clip-");
|
|
41821
|
-
const file =
|
|
41950
|
+
const file = join5(dir, "clip.png");
|
|
41822
41951
|
try {
|
|
41823
41952
|
const result = await run4(
|
|
41824
41953
|
"osascript",
|
|
@@ -41957,7 +42086,7 @@ import {
|
|
|
41957
42086
|
openSync,
|
|
41958
42087
|
readSync,
|
|
41959
42088
|
realpathSync,
|
|
41960
|
-
statSync as
|
|
42089
|
+
statSync as statSync4
|
|
41961
42090
|
} from "node:fs";
|
|
41962
42091
|
import { resolve as resolve2, sep } from "node:path";
|
|
41963
42092
|
import { StringDecoder } from "node:string_decoder";
|
|
@@ -41970,7 +42099,7 @@ function readMentionFile(cwd2, rel, range, maxChars, budget) {
|
|
|
41970
42099
|
const abs = realpathSync(resolve2(root, rel));
|
|
41971
42100
|
const inside = /* @__PURE__ */ __name((path) => path === root || path.startsWith(root + sep), "inside");
|
|
41972
42101
|
if (!inside(abs)) return null;
|
|
41973
|
-
const before =
|
|
42102
|
+
const before = statSync4(abs);
|
|
41974
42103
|
if (!before.isFile()) return null;
|
|
41975
42104
|
fd = openSync(abs, constants2.O_RDONLY | constants2.O_NOFOLLOW | constants2.O_NONBLOCK);
|
|
41976
42105
|
const opened = fstatSync(fd);
|
|
@@ -47844,9 +47973,9 @@ function editLine(text, key) {
|
|
|
47844
47973
|
if (key.ctrl || key.meta || key.tab || key.return || key.escape) return null;
|
|
47845
47974
|
if (key.upArrow || key.downArrow || key.leftArrow || key.rightArrow || key.pageUp || key.pageDown || key.home || key.end)
|
|
47846
47975
|
return null;
|
|
47847
|
-
const
|
|
47848
|
-
if (
|
|
47849
|
-
return text +
|
|
47976
|
+
const printable3 = key.input.replace(/[\u0000-\u001f\u007f]/g, "");
|
|
47977
|
+
if (printable3.length === 0) return null;
|
|
47978
|
+
return text + printable3;
|
|
47850
47979
|
}
|
|
47851
47980
|
__name(editLine, "editLine");
|
|
47852
47981
|
function resumeScopeLabel(scope) {
|
|
@@ -48274,10 +48403,10 @@ function confirmKey(state, input, key, env3) {
|
|
|
48274
48403
|
};
|
|
48275
48404
|
}
|
|
48276
48405
|
if (input && !key.ctrl && !key.meta) {
|
|
48277
|
-
const
|
|
48278
|
-
if (
|
|
48406
|
+
const printable3 = [...input].filter((ch) => !isControl(ch)).join("");
|
|
48407
|
+
if (printable3) {
|
|
48279
48408
|
return {
|
|
48280
|
-
state: { ...state, texts: { ...state.texts, [slot]: state.texts[slot] +
|
|
48409
|
+
state: { ...state, texts: { ...state.texts, [slot]: state.texts[slot] + printable3 } }
|
|
48281
48410
|
};
|
|
48282
48411
|
}
|
|
48283
48412
|
}
|
|
@@ -50422,7 +50551,7 @@ __name(editablePrompts, "editablePrompts");
|
|
|
50422
50551
|
// src/tui/external-editor.ts
|
|
50423
50552
|
import { spawn as spawn4 } from "node:child_process";
|
|
50424
50553
|
import { lstat, mkdtemp, readFile as readFile4, rm as rm2, writeFile } from "node:fs/promises";
|
|
50425
|
-
import { join as
|
|
50554
|
+
import { join as join6 } from "node:path";
|
|
50426
50555
|
var MAX_EDITED_DRAFT_BYTES = 4 * 1024 * 1024;
|
|
50427
50556
|
var ExternalEditorError = class extends Error {
|
|
50428
50557
|
static {
|
|
@@ -50508,8 +50637,8 @@ __name(resolveExternalEditorCommand, "resolveExternalEditorCommand");
|
|
|
50508
50637
|
async function editDraftInExternalEditor(seed, options) {
|
|
50509
50638
|
options.signal?.throwIfAborted();
|
|
50510
50639
|
const command = resolveExternalEditorCommand(options.env, options.pressed);
|
|
50511
|
-
const directory = options.temporaryRoot === void 0 ? await createTempDir("editor-") : await mkdtemp(
|
|
50512
|
-
const draftPath =
|
|
50640
|
+
const directory = options.temporaryRoot === void 0 ? await createTempDir("editor-") : await mkdtemp(join6(options.temporaryRoot, "namzu-editor-"));
|
|
50641
|
+
const draftPath = join6(directory, "draft.md");
|
|
50513
50642
|
let edited;
|
|
50514
50643
|
let failure;
|
|
50515
50644
|
try {
|
|
@@ -51113,7 +51242,7 @@ var AskQueue = class {
|
|
|
51113
51242
|
};
|
|
51114
51243
|
|
|
51115
51244
|
// src/tui/plugin-view.ts
|
|
51116
|
-
import { join as
|
|
51245
|
+
import { join as join7 } from "node:path";
|
|
51117
51246
|
function pluginOption(plugin) {
|
|
51118
51247
|
return {
|
|
51119
51248
|
label: plugin.name,
|
|
@@ -51156,9 +51285,9 @@ function emptyPluginReport(config, cwd2) {
|
|
|
51156
51285
|
const reason = config?.enabled !== true ? "Plugins are off. Set plugins.enabled: true in your Namzu configuration to load trusted plugins at startup." : config.autoDiscovery === false ? "Plugin discovery is off (plugins.autoDiscovery: false)." : scopes.length === 0 ? "No plugin scopes are allowed (plugins.allowedScopes: [])." : "No plugins are loaded in this conversation.";
|
|
51157
51286
|
return [
|
|
51158
51287
|
reason,
|
|
51159
|
-
`Configuration: ${
|
|
51160
|
-
...scopes.includes("project") ? [`Project plugins: ${
|
|
51161
|
-
...scopes.includes("user") ? [`User plugins: ${
|
|
51288
|
+
`Configuration: ${join7(home, "config.yaml")}`,
|
|
51289
|
+
...scopes.includes("project") ? [`Project plugins: ${join7(cwd2, ".namzu", "plugins")}`] : [],
|
|
51290
|
+
...scopes.includes("user") ? [`User plugins: ${join7(home, "plugins")}`] : [],
|
|
51162
51291
|
"Each plugin directory contains plugin.json. Only Namzu plugin manifests are supported.",
|
|
51163
51292
|
"Tools, hooks and MCP servers can execute code. Enable only plugins you trust, then restart Namzu."
|
|
51164
51293
|
].map(choiceDisplayText).join("\n");
|
|
@@ -52592,7 +52721,7 @@ __name(prepareScheduledResume, "prepareScheduledResume");
|
|
|
52592
52721
|
|
|
52593
52722
|
// src/tui/schedule/startup.ts
|
|
52594
52723
|
import { readFileSync as readFileSync6 } from "node:fs";
|
|
52595
|
-
import { join as
|
|
52724
|
+
import { join as join8 } from "node:path";
|
|
52596
52725
|
function ago(ms) {
|
|
52597
52726
|
if (ms < 36e5) return `${Math.max(1, Math.round(ms / 6e4))} min`;
|
|
52598
52727
|
if (ms < 1728e5) return `${Math.round(ms / 36e5)} h`;
|
|
@@ -52674,7 +52803,7 @@ function scheduleStartupLine(home, cwd2, now = Date.now()) {
|
|
|
52674
52803
|
parts.push("The scheduler is installed but has not started \u2014 namzu schedule status");
|
|
52675
52804
|
}
|
|
52676
52805
|
}
|
|
52677
|
-
const suppressed = takeSuppressedCount(
|
|
52806
|
+
const suppressed = takeSuppressedCount(join8(paths.daemon, "notify.json"));
|
|
52678
52807
|
if (suppressed > 0)
|
|
52679
52808
|
parts.push(
|
|
52680
52809
|
`${plural(suppressed, "scheduled notification")} ${suppressed === 1 ? "was" : "were"} held back`
|
|
@@ -53728,12 +53857,12 @@ function setSkillSuggestions(on, opts = {}) {
|
|
|
53728
53857
|
__name(setSkillSuggestions, "setSkillSuggestions");
|
|
53729
53858
|
|
|
53730
53859
|
// src/tui/skills/suggestion-ledger.ts
|
|
53731
|
-
import { mkdirSync as
|
|
53732
|
-
import { dirname, join as
|
|
53860
|
+
import { mkdirSync as mkdirSync4, readFileSync as readFileSync7, renameSync as renameSync3, writeFileSync as writeFileSync2 } from "node:fs";
|
|
53861
|
+
import { dirname, join as join9 } from "node:path";
|
|
53733
53862
|
var SUGGESTION_IGNORE_LIMIT = 3;
|
|
53734
53863
|
var FRESH_LEDGER = { v: 1, unanswered: 0, stopped: false };
|
|
53735
53864
|
function suggestionLedgerPath(namzuHome) {
|
|
53736
|
-
return
|
|
53865
|
+
return join9(namzuHome, "skills", ".suggestions.json");
|
|
53737
53866
|
}
|
|
53738
53867
|
__name(suggestionLedgerPath, "suggestionLedgerPath");
|
|
53739
53868
|
function readSuggestionLedger(namzuHome) {
|
|
@@ -53749,11 +53878,11 @@ __name(readSuggestionLedger, "readSuggestionLedger");
|
|
|
53749
53878
|
function writeSuggestionLedger(namzuHome, ledger) {
|
|
53750
53879
|
const path = suggestionLedgerPath(namzuHome);
|
|
53751
53880
|
try {
|
|
53752
|
-
|
|
53881
|
+
mkdirSync4(dirname(path), { recursive: true });
|
|
53753
53882
|
const temp = `${path}.${process.pid}.tmp`;
|
|
53754
53883
|
writeFileSync2(temp, `${JSON.stringify(ledger)}
|
|
53755
53884
|
`, { mode: 384 });
|
|
53756
|
-
|
|
53885
|
+
renameSync3(temp, path);
|
|
53757
53886
|
} catch {
|
|
53758
53887
|
}
|
|
53759
53888
|
}
|
|
@@ -55897,10 +56026,10 @@ var TITLE_ANIMATION_MS = 960;
|
|
|
55897
56026
|
var TITLE_NAME_MAX = 100;
|
|
55898
56027
|
var OSC_SET_TITLE_AND_ICON = "\x1B]0;";
|
|
55899
56028
|
var BEL4 = "\x07";
|
|
55900
|
-
function
|
|
56029
|
+
function printable2(text) {
|
|
55901
56030
|
return text.replace(/[\u0000-\u001f\u007f-\u009f]+/gu, " ").replace(/\s+/gu, " ").trim();
|
|
55902
56031
|
}
|
|
55903
|
-
__name(
|
|
56032
|
+
__name(printable2, "printable");
|
|
55904
56033
|
function titleAnimates(input) {
|
|
55905
56034
|
return input.working && input.focused && !underMultiplexer(input.env);
|
|
55906
56035
|
}
|
|
@@ -55910,7 +56039,7 @@ function underMultiplexer(env3) {
|
|
|
55910
56039
|
}
|
|
55911
56040
|
__name(underMultiplexer, "underMultiplexer");
|
|
55912
56041
|
function terminalTitleText(input) {
|
|
55913
|
-
const name = [input.named, input.generated, DEFAULT_TERMINAL_TITLE].map((candidate) =>
|
|
56042
|
+
const name = [input.named, input.generated, DEFAULT_TERMINAL_TITLE].map((candidate) => printable2(candidate ?? "")).find((candidate) => candidate.length > 0);
|
|
55914
56043
|
const shown = name.length > TITLE_NAME_MAX ? `${name.slice(0, TITLE_NAME_MAX - 1)}\u2026` : name;
|
|
55915
56044
|
const frames = BUSY_TITLE_FRAMES.length;
|
|
55916
56045
|
const glyph = input.busy ? BUSY_TITLE_FRAMES[((input.frame ?? 0) % frames + frames) % frames] ?? BUSY_TITLE_GLYPH : IDLE_TITLE_GLYPH;
|
|
@@ -55918,7 +56047,7 @@ function terminalTitleText(input) {
|
|
|
55918
56047
|
}
|
|
55919
56048
|
__name(terminalTitleText, "terminalTitleText");
|
|
55920
56049
|
function setTerminalTitleSequence(text) {
|
|
55921
|
-
return `${OSC_SET_TITLE_AND_ICON}${
|
|
56050
|
+
return `${OSC_SET_TITLE_AND_ICON}${printable2(text)}${BEL4}`;
|
|
55922
56051
|
}
|
|
55923
56052
|
__name(setTerminalTitleSequence, "setTerminalTitleSequence");
|
|
55924
56053
|
var RESET_TERMINAL_TITLE_SEQUENCE = `${OSC_SET_TITLE_AND_ICON}${BEL4}`;
|
|
@@ -57580,7 +57709,7 @@ ${blocks.join("\n\n")}`;
|
|
|
57580
57709
|
const scope = scopeRef.current;
|
|
57581
57710
|
if (!sessions || !scope || !conversationMaterializedRef.current) return void 0;
|
|
57582
57711
|
try {
|
|
57583
|
-
return
|
|
57712
|
+
return join10(sessions.paths.sessionDir({ sessionId: scope.sessionId }), "loops.json");
|
|
57584
57713
|
} catch {
|
|
57585
57714
|
return void 0;
|
|
57586
57715
|
}
|
|
@@ -59291,8 +59420,15 @@ ${blocks.join("\n\n")}`;
|
|
|
59291
59420
|
},
|
|
59292
59421
|
[clipboard, pushMessage, setCopyPicker, pushSystem]
|
|
59293
59422
|
);
|
|
59423
|
+
const decisionPointsRef = (0, import_react60.useRef)(null);
|
|
59424
|
+
if (decisionPointsRef.current === null) {
|
|
59425
|
+
decisionPointsRef.current = createDecisionPoints({
|
|
59426
|
+
model: maybeCreateDecisionModel(ctx.decision, process.env),
|
|
59427
|
+
modes: ctx.decision?.points
|
|
59428
|
+
});
|
|
59429
|
+
}
|
|
59294
59430
|
const sendTerminalNotification = (0, import_react60.useCallback)(
|
|
59295
|
-
(notification, turnMs) => {
|
|
59431
|
+
(notification, turnMs, reply) => {
|
|
59296
59432
|
if (notification.kind === "approval-required") {
|
|
59297
59433
|
session?.notifyHooks?.({
|
|
59298
59434
|
type: "approval_required",
|
|
@@ -59309,10 +59445,17 @@ ${blocks.join("\n\n")}`;
|
|
|
59309
59445
|
message: notification.outcome === "completed" ? "The turn completed." : notification.outcome === "stopped" ? "The turn stopped and needs attention." : "The turn failed."
|
|
59310
59446
|
});
|
|
59311
59447
|
}
|
|
59312
|
-
|
|
59313
|
-
|
|
59314
|
-
|
|
59315
|
-
|
|
59448
|
+
const sound = { enabled: ctx.tui?.sound !== false, isTTY: stdout.isTTY };
|
|
59449
|
+
const points = decisionPointsRef.current;
|
|
59450
|
+
if (reply !== void 0 && sound.enabled && notification.kind === "turn-settled" && notification.outcome === "completed" && points?.mode("notify-worthy") !== "off") {
|
|
59451
|
+
void points?.ask(
|
|
59452
|
+
notifyWorthyQuestion({
|
|
59453
|
+
reply,
|
|
59454
|
+
turnMs: turnMs ?? 0,
|
|
59455
|
+
rule: soundFor(notification, turnMs) !== void 0
|
|
59456
|
+
})
|
|
59457
|
+
).then((p) => playMoment(notification, turnMs, { ...sound, verdict: verdictOf(p) }));
|
|
59458
|
+
} else playMoment(notification, turnMs, sound);
|
|
59316
59459
|
if (!terminalNotificationEnabled(ctx.tui?.notifications, notification)) return;
|
|
59317
59460
|
const result = writeTerminalNotification(
|
|
59318
59461
|
notification,
|
|
@@ -60640,7 +60783,7 @@ ${blocks.join("\n\n")}`;
|
|
|
60640
60783
|
doctorRunningRef.current = true;
|
|
60641
60784
|
const progressId = pushMessage("system", "Checking\u2026");
|
|
60642
60785
|
try {
|
|
60643
|
-
const { runLiveDoctor } = await import("./live-
|
|
60786
|
+
const { runLiveDoctor } = await import("./live-SPTFUF6I.js");
|
|
60644
60787
|
const { describePlainDoctor } = await import("./plain-report-XVPBQDLE.js");
|
|
60645
60788
|
const report = await runLiveDoctor({
|
|
60646
60789
|
...ctxRef.current.telemetry ? { telemetry: ctxRef.current.telemetry } : {}
|
|
@@ -63238,7 +63381,8 @@ ${jobLines.map(([, line]) => `- ${line}`).join("\n")}`] : []
|
|
|
63238
63381
|
if (ownsTurn && !ac.signal.aborted && !goalRound && st.notification && (roundQueueRef.current.items().length === 0 || shouldPauseQueued)) {
|
|
63239
63382
|
sendTerminalNotification(
|
|
63240
63383
|
st.notification,
|
|
63241
|
-
st.startedAt !== void 0 ? Date.now() - st.startedAt : void 0
|
|
63384
|
+
st.startedAt !== void 0 ? Date.now() - st.startedAt : void 0,
|
|
63385
|
+
st.text
|
|
63242
63386
|
);
|
|
63243
63387
|
}
|
|
63244
63388
|
}
|
|
@@ -63793,7 +63937,7 @@ ${jobLines.map(([, line]) => `- ${line}`).join("\n")}`] : []
|
|
|
63793
63937
|
}
|
|
63794
63938
|
try {
|
|
63795
63939
|
const sameSignIn = accounts.registry.list("codex").find(
|
|
63796
|
-
(other) => other.source.kind === "codex-home" && readCodexCredentialFile(
|
|
63940
|
+
(other) => other.source.kind === "codex-home" && readCodexCredentialFile(join10(other.source.dir, "auth.json"))?.accountId === result.accountId
|
|
63797
63941
|
);
|
|
63798
63942
|
if (sameSignIn) {
|
|
63799
63943
|
rmSync2(dir, { recursive: true, force: true });
|
|
@@ -68271,12 +68415,12 @@ __name(installFocusReporting, "installFocusReporting");
|
|
|
68271
68415
|
|
|
68272
68416
|
// src/tui/hint-counts.ts
|
|
68273
68417
|
import { randomUUID } from "node:crypto";
|
|
68274
|
-
import { mkdirSync as
|
|
68275
|
-
import { dirname as dirname2, join as
|
|
68418
|
+
import { mkdirSync as mkdirSync5, readFileSync as readFileSync8, renameSync as renameSync4, rmSync as rmSync3, writeFileSync as writeFileSync3 } from "node:fs";
|
|
68419
|
+
import { dirname as dirname2, join as join11 } from "node:path";
|
|
68276
68420
|
var FILE_MODE = 384;
|
|
68277
68421
|
var DIR_MODE = 448;
|
|
68278
68422
|
function hintCountsPath(home) {
|
|
68279
|
-
return
|
|
68423
|
+
return join11(namzuHomePath(home), "hint-counts.json");
|
|
68280
68424
|
}
|
|
68281
68425
|
__name(hintCountsPath, "hintCountsPath");
|
|
68282
68426
|
function readAll(path) {
|
|
@@ -68301,12 +68445,12 @@ function writeHintCount(name, count2, home) {
|
|
|
68301
68445
|
const path = hintCountsPath(home);
|
|
68302
68446
|
const temp = `${path}.${randomUUID()}.tmp`;
|
|
68303
68447
|
try {
|
|
68304
|
-
|
|
68448
|
+
mkdirSync5(dirname2(path), { recursive: true, mode: DIR_MODE });
|
|
68305
68449
|
writeFileSync3(temp, `${JSON.stringify({ ...readAll(path), [name]: count2 }, null, 2)}
|
|
68306
68450
|
`, {
|
|
68307
68451
|
mode: FILE_MODE
|
|
68308
68452
|
});
|
|
68309
|
-
|
|
68453
|
+
renameSync4(temp, path);
|
|
68310
68454
|
} catch {
|
|
68311
68455
|
rmSync3(temp, { force: true });
|
|
68312
68456
|
}
|
|
@@ -68440,13 +68584,13 @@ __name(askTerminal, "askTerminal");
|
|
|
68440
68584
|
|
|
68441
68585
|
// src/tui/tip-history.ts
|
|
68442
68586
|
import { randomUUID as randomUUID2 } from "node:crypto";
|
|
68443
|
-
import { mkdirSync as
|
|
68444
|
-
import { dirname as dirname3, join as
|
|
68587
|
+
import { mkdirSync as mkdirSync6, readFileSync as readFileSync9, renameSync as renameSync5, rmSync as rmSync4, writeFileSync as writeFileSync4 } from "node:fs";
|
|
68588
|
+
import { dirname as dirname3, join as join12 } from "node:path";
|
|
68445
68589
|
var FILE_MODE2 = 384;
|
|
68446
68590
|
var DIR_MODE2 = 448;
|
|
68447
68591
|
var EMPTY_TIP_HISTORY = { launches: 0, shown: {}, used: {} };
|
|
68448
68592
|
function tipHistoryPath(home) {
|
|
68449
|
-
return
|
|
68593
|
+
return join12(namzuHomePath(home), "tip-history.json");
|
|
68450
68594
|
}
|
|
68451
68595
|
__name(tipHistoryPath, "tipHistoryPath");
|
|
68452
68596
|
function wholeNumber(value) {
|
|
@@ -68480,10 +68624,10 @@ __name(readTipHistory, "readTipHistory");
|
|
|
68480
68624
|
function writeTipHistory(path, history) {
|
|
68481
68625
|
const temp = `${path}.${randomUUID2()}.tmp`;
|
|
68482
68626
|
try {
|
|
68483
|
-
|
|
68627
|
+
mkdirSync6(dirname3(path), { recursive: true, mode: DIR_MODE2 });
|
|
68484
68628
|
writeFileSync4(temp, `${JSON.stringify(history, null, 2)}
|
|
68485
68629
|
`, { mode: FILE_MODE2 });
|
|
68486
|
-
|
|
68630
|
+
renameSync5(temp, path);
|
|
68487
68631
|
} catch {
|
|
68488
68632
|
try {
|
|
68489
68633
|
rmSync4(temp, { force: true });
|
|
@@ -68715,7 +68859,7 @@ async function launchTui(ctx, options = {}) {
|
|
|
68715
68859
|
current: null
|
|
68716
68860
|
};
|
|
68717
68861
|
const workspacesEntry = /* @__PURE__ */ __name(() => {
|
|
68718
|
-
workspaces.current ??= import("./entry-
|
|
68862
|
+
workspaces.current ??= import("./entry-XCN5AVBW.js").then(
|
|
68719
68863
|
(m) => m.createWorkspacesEntry({
|
|
68720
68864
|
proxy,
|
|
68721
68865
|
realOut: process.stdout,
|
|
@@ -68905,4 +69049,4 @@ react/cjs/react-jsx-runtime.development.js:
|
|
|
68905
69049
|
* LICENSE file in the root directory of this source tree.
|
|
68906
69050
|
*)
|
|
68907
69051
|
*/
|
|
68908
|
-
//# sourceMappingURL=tui-
|
|
69052
|
+
//# sourceMappingURL=tui-WGVEUU3O.js.map
|