@namzu/cli 51.0.0 → 51.1.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 +35 -0
- package/dist/bin.js +1 -1
- package/dist/chunks/{acp-I75ITR7W.js → acp-YH3ORAMX.js} +129 -60
- package/dist/chunks/acp-YH3ORAMX.js.map +6 -0
- package/dist/chunks/{activity-command-6RM3I3CG.js → activity-command-6SLWX5O6.js} +13 -13
- package/dist/chunks/{add-X25CBZQM.js → add-5DU7SP37.js} +89 -23
- package/dist/chunks/add-5DU7SP37.js.map +6 -0
- package/dist/chunks/{agent-TIXCYM5Q.js → agent-IN76G7FR.js} +36 -36
- package/dist/chunks/agent-session-5T4QOI6T.js +69 -0
- package/dist/chunks/{archive-UFBZQWFO.js → archive-X5OO3HYU.js} +11 -11
- package/dist/chunks/{bin-main-5E4PLOSV.js → bin-main-MJURSFNJ.js} +8 -8
- package/dist/chunks/{binding-EGKCFUJN.js → binding-6EX5H32J.js} +3 -3
- package/dist/chunks/{browser-WSEOMG6B.js → browser-UUSAOFML.js} +7 -7
- package/dist/chunks/{chat-XGURQIQN.js → chat-J2DRST74.js} +16 -16
- package/dist/chunks/{chunk-TW56AJLJ.js → chunk-2OGJPIGN.js} +17 -17
- package/dist/chunks/{chunk-J6EAQ4XD.js → chunk-2XXEIH7D.js} +3 -3
- package/dist/chunks/{chunk-55KDC7DM.js → chunk-3KNUUOMF.js} +2 -2
- package/dist/chunks/{chunk-EBES22ZB.js → chunk-3MUNYBIF.js} +29 -4
- package/dist/chunks/{chunk-EBES22ZB.js.map → chunk-3MUNYBIF.js.map} +1 -1
- package/dist/chunks/{chunk-6I7YVWWO.js → chunk-3VKSD45U.js} +4 -4
- package/dist/chunks/{chunk-KZTKHIP5.js → chunk-4DYB42HG.js} +2 -2
- package/dist/chunks/{chunk-3I4UQCJZ.js → chunk-4GQ5ACCZ.js} +2 -2
- package/dist/chunks/{chunk-MNMG5JGZ.js → chunk-4MDH3G7P.js} +4 -4
- package/dist/chunks/{chunk-2MAMU7AX.js → chunk-5HS5WIS3.js} +2 -2
- package/dist/chunks/{chunk-ZXYCWNKE.js → chunk-64CDTVEM.js} +19 -19
- package/dist/chunks/{chunk-SDIFKDGI.js → chunk-6J6AEQA4.js} +3 -3
- package/dist/chunks/{chunk-POGVGWKL.js → chunk-76HAMOHW.js} +7 -7
- package/dist/chunks/{chunk-4JTXA7EU.js → chunk-AROJAFON.js} +9 -4
- package/dist/chunks/chunk-AROJAFON.js.map +6 -0
- package/dist/chunks/{chunk-QZRV5EOA.js → chunk-ASITCNWM.js} +4 -4
- package/dist/chunks/{chunk-GTFK7PLC.js → chunk-B4M4IEOE.js} +13 -10
- package/dist/chunks/chunk-B4M4IEOE.js.map +6 -0
- package/dist/chunks/{chunk-LNVTSRF3.js → chunk-BGT2BABA.js} +4 -4
- package/dist/chunks/{chunk-VRFKZSBH.js → chunk-BIWDWFAK.js} +8 -3
- package/dist/chunks/chunk-BIWDWFAK.js.map +6 -0
- package/dist/chunks/{chunk-BNEGQX4Q.js → chunk-BNIO5NNW.js} +47 -36
- package/dist/chunks/chunk-BNIO5NNW.js.map +6 -0
- package/dist/chunks/{chunk-WQ2S6BUX.js → chunk-BZC5JPMB.js} +3 -3
- package/dist/chunks/{chunk-EUMXN6FC.js → chunk-CB7VORLS.js} +4 -4
- package/dist/chunks/{chunk-PYYCH65R.js → chunk-CSWUOY5K.js} +124 -93
- package/dist/chunks/chunk-CSWUOY5K.js.map +6 -0
- package/dist/chunks/{chunk-NYYG7HAY.js → chunk-DE4WWSBB.js} +12 -12
- package/dist/chunks/{chunk-5GWSNJUP.js → chunk-DQGDG63U.js} +5 -5
- package/dist/chunks/{chunk-ZSNNS2V6.js → chunk-DXFPBLQV.js} +3 -3
- package/dist/chunks/{chunk-APKI7B7W.js → chunk-EK74R563.js} +4112 -1752
- package/dist/chunks/chunk-EK74R563.js.map +6 -0
- package/dist/chunks/{chunk-V6H2W6TZ.js → chunk-F2I6X667.js} +3 -3
- package/dist/chunks/{chunk-45LQJKMG.js → chunk-FI5EMDFZ.js} +3 -65
- package/dist/chunks/chunk-FI5EMDFZ.js.map +6 -0
- package/dist/chunks/{chunk-NEMRZKU7.js → chunk-FJZL4BJN.js} +2 -2
- package/dist/chunks/{chunk-YMWHDGCW.js → chunk-FTMONTUX.js} +3 -1
- package/dist/chunks/chunk-FTMONTUX.js.map +6 -0
- package/dist/chunks/{chunk-TH3PVZT3.js → chunk-G2DGASUC.js} +2 -2
- package/dist/chunks/{chunk-WYGUFPCK.js → chunk-GN4BLP6C.js} +9 -9
- package/dist/chunks/{chunk-TUNKUMWI.js → chunk-GTRG5VXA.js} +3 -3
- package/dist/chunks/{chunk-2UELHX7A.js → chunk-H32MIHLE.js} +2 -2
- package/dist/chunks/{chunk-I6WKUIVX.js → chunk-HAHNDC7N.js} +3 -3
- package/dist/chunks/{chunk-W3M6GZTY.js → chunk-HFLX3ZLT.js} +3 -3
- package/dist/chunks/{chunk-55LA4ARF.js → chunk-HSSTV5SF.js} +3 -3
- package/dist/chunks/{chunk-O53XPCC5.js → chunk-J267C5O6.js} +2 -2
- package/dist/chunks/{chunk-GFFWXLQI.js → chunk-J4QN36GJ.js} +11 -11
- package/dist/chunks/chunk-JBQATPG3.js +102 -0
- package/dist/chunks/chunk-JBQATPG3.js.map +6 -0
- package/dist/chunks/{chunk-TUBA7HB2.js → chunk-JE2S7MW2.js} +2 -2
- package/dist/chunks/{chunk-TXP6SOA7.js → chunk-JR6EFL7G.js} +5 -4
- package/dist/chunks/chunk-JR6EFL7G.js.map +6 -0
- package/dist/chunks/{chunk-TC3E4SKI.js → chunk-K4BMTUBH.js} +2 -2
- package/dist/chunks/{chunk-OQCZ27OE.js → chunk-KBLICB2N.js} +2 -2
- package/dist/chunks/{chunk-OY7K65K6.js → chunk-LJ4DIGHQ.js} +10 -10
- package/dist/chunks/{chunk-YICIG5QP.js → chunk-LNIM2TS3.js} +4 -4
- package/dist/chunks/{chunk-5MD7FSR4.js → chunk-LRLMZTZ3.js} +2 -2
- package/dist/chunks/{chunk-LM3JEI5Z.js → chunk-M3O7WEJF.js} +2 -2
- package/dist/chunks/{chunk-GBIYC3OF.js → chunk-MFRWOJCD.js} +2 -2
- package/dist/chunks/{chunk-WBCYE4JI.js → chunk-MJW6FQAW.js} +2 -2
- package/dist/chunks/{tui-2PVEZMXJ.js → chunk-MPLS4I5N.js} +655 -1383
- package/dist/chunks/chunk-MPLS4I5N.js.map +6 -0
- package/dist/chunks/{chunk-2H2TQCA5.js → chunk-MPUHBR73.js} +6 -2
- package/dist/chunks/chunk-MPUHBR73.js.map +6 -0
- package/dist/chunks/{chunk-ECYKNBHN.js → chunk-N7COW4QY.js} +10 -10
- package/dist/chunks/{chunk-ZUDMNBWB.js → chunk-NEKCM2HR.js} +6 -6
- package/dist/chunks/{chunk-4SQVWV4B.js → chunk-O6QJXKWZ.js} +5 -5
- package/dist/chunks/{chunk-HFY2647W.js → chunk-OG2MLME3.js} +2 -1
- package/dist/chunks/{chunk-HFY2647W.js.map → chunk-OG2MLME3.js.map} +1 -1
- package/dist/chunks/{chunk-LS2USKSX.js → chunk-P6CNFKJC.js} +5 -5
- package/dist/chunks/{chunk-PD2MTV6U.js → chunk-PR3HSIXG.js} +4 -4
- package/dist/chunks/{chunk-GVXKT3BV.js → chunk-PYRMWOCP.js} +4 -4
- package/dist/chunks/{chunk-I3DHWG5M.js → chunk-QN4WGK62.js} +3 -3
- package/dist/chunks/{chunk-UUZM4M2L.js → chunk-QZDNCVK4.js} +67 -44
- package/dist/chunks/chunk-QZDNCVK4.js.map +6 -0
- package/dist/chunks/{chunk-XBZJBXQY.js → chunk-R77WPUUF.js} +3 -3
- package/dist/chunks/{chunk-R2K5AFBF.js → chunk-RQKE2URW.js} +4 -4
- package/dist/chunks/{chunk-GMAPTJ3G.js → chunk-RZXNXGRE.js} +2 -2
- package/dist/chunks/{chunk-5JPQVU57.js → chunk-S4HDKI6L.js} +2 -2
- package/dist/chunks/{chunk-DQW7UPXP.js → chunk-SRBCU3IJ.js} +3 -3
- package/dist/chunks/{chunk-354BWCU6.js → chunk-TF6ZSM2M.js} +2 -2
- package/dist/chunks/{chunk-B3XETKYI.js → chunk-UHYZ64ET.js} +2 -2
- package/dist/chunks/{chunk-JQO2LGPA.js → chunk-VDQQE3Q6.js} +4 -4
- package/dist/chunks/{chunk-VIV4OF3E.js → chunk-VIJFICIC.js} +4 -4
- package/dist/chunks/{chunk-BMYWEYPI.js → chunk-VONTYDZ3.js} +3 -3
- package/dist/chunks/{chunk-NGHCVY4T.js → chunk-VPIFXAL6.js} +2 -2
- package/dist/chunks/{chunk-BMIFPELO.js → chunk-W5IR3SD3.js} +27 -6
- package/dist/chunks/chunk-W5IR3SD3.js.map +6 -0
- package/dist/chunks/{chunk-W2PMDZWZ.js → chunk-WWC6L5WC.js} +2 -2
- package/dist/chunks/{chunk-NSIV6WEI.js → chunk-XCDXSRY7.js} +2 -2
- package/dist/chunks/{chunk-W7NCIPEV.js → chunk-YOCPU3WT.js} +3 -3
- package/dist/chunks/{chunk-EPKNYAR5.js → chunk-YU65OZTC.js} +2 -2
- package/dist/chunks/chunk-YUDCUW4N.js +313 -0
- package/dist/chunks/chunk-YUDCUW4N.js.map +6 -0
- package/dist/chunks/{chunk-4ZWZ3UZ2.js → chunk-YWKZQABS.js} +8 -3
- package/dist/chunks/chunk-YWKZQABS.js.map +6 -0
- package/dist/chunks/{chunk-MPHLRHG6.js → chunk-ZJQYNG27.js} +2 -2
- package/dist/chunks/{chunk-RWMWDV5U.js → chunk-ZKOEUHCF.js} +3 -3
- package/dist/chunks/{chunk-C4YEWOFD.js → chunk-ZRM2NW77.js} +51 -93
- package/dist/chunks/chunk-ZRM2NW77.js.map +6 -0
- package/dist/chunks/{chunk-Y36X5RRN.js → chunk-ZYRABJ7J.js} +3 -3
- package/dist/chunks/{cli-runtime-6YUL7KO4.js → cli-runtime-YUFSSYYG.js} +12 -12
- package/dist/chunks/{commands-INKRVLL2.js → commands-J7XAMJC5.js} +6 -6
- package/dist/chunks/{computer-UE2AN7NW.js → computer-ZWTWBY67.js} +2 -2
- package/dist/chunks/{crash-report-W2LEW2CB.js → crash-report-3GPFLNQX.js} +6 -6
- package/dist/chunks/{dist-MSXSGG4O.js → dist-2EQ3MAWA.js} +2 -2
- package/dist/chunks/{dist-G66KFB6L.js → dist-4TO2X6U4.js} +2 -2
- package/dist/chunks/{dist-KNDQQ7NJ.js → dist-5LXAFF2H.js} +2 -2
- package/dist/chunks/{dist-YKMXFMEH.js → dist-CO47MPO4.js} +2 -2
- package/dist/chunks/{dist-CNCFMP4G.js → dist-EGCYKNFG.js} +92 -2
- package/dist/chunks/{dist-UH4FMDFC.js → dist-F36KOHDP.js} +2 -2
- package/dist/chunks/{dist-2WHW47YN.js → dist-IS662MSA.js} +2 -2
- package/dist/chunks/{dist-32QKP26R.js → dist-UXUFCGIX.js} +2 -2
- package/dist/chunks/{doctor-GUQ55L7P.js → doctor-YC6Z7P3P.js} +21 -21
- package/dist/chunks/{drain-W354CYLH.js → drain-5BQHD3KW.js} +10 -10
- package/dist/chunks/{entry-A6OLKTK4.js → entry-ZJWR3CSL.js} +6 -6
- package/dist/chunks/eval-JHNFGVGA.js +351 -0
- package/dist/chunks/eval-JHNFGVGA.js.map +6 -0
- package/dist/chunks/{exec-2GC33AL4.js → exec-YADZELFF.js} +71 -47
- package/dist/chunks/exec-YADZELFF.js.map +6 -0
- package/dist/chunks/{github-VCUDZDGI.js → github-FQAXV2KP.js} +2 -2
- package/dist/chunks/{home-T4OIF6S7.js → home-EBXWUU6C.js} +3 -3
- package/dist/chunks/{host-AVAUHFYK.js → host-JU76NQJY.js} +10 -10
- package/dist/chunks/{host-queries-DOTBOTRM.js → host-queries-6TO7AIZE.js} +15 -15
- package/dist/chunks/{learn-YMOECXWO.js → learn-YGTIACD6.js} +12 -12
- package/dist/chunks/{learn-builtin-BF6BC7VT.js → learn-builtin-FND7NEEV.js} +15 -15
- package/dist/chunks/{lifecycle-SCXNENNO.js → lifecycle-VBNEAO74.js} +33 -32
- package/dist/chunks/{list-A2TVECA4.js → list-GQEKL3MC.js} +26 -16
- package/dist/chunks/list-GQEKL3MC.js.map +6 -0
- package/dist/chunks/{live-GIKIVP5N.js → live-N3PPNKW6.js} +19 -19
- package/dist/chunks/{login-COY7ZU76.js → login-KEFAKXJZ.js} +14 -14
- package/dist/chunks/{logs-HN5ED3XC.js → logs-JZEIQMOQ.js} +7 -7
- package/dist/chunks/{mcp-KMFXTAEG.js → mcp-7CBDNNY3.js} +22 -22
- package/dist/chunks/{message-command-XJCX6GEH.js → message-command-JAKH5U6B.js} +43 -43
- package/dist/chunks/{open-7CKFU4GZ.js → open-Q63ZNCNO.js} +8 -8
- package/dist/chunks/{operator-tools-SBSUWAPM.js → operator-tools-SEK3DCMJ.js} +13 -13
- package/dist/chunks/{output-schema-OF7MU44K.js → output-schema-ROCYTWMQ.js} +3 -3
- package/dist/chunks/{pal-ANABYPQI.js → pal-XOMURPYQ.js} +17 -17
- package/dist/chunks/{peers-MQMTWBNF.js → peers-GY5QNN5F.js} +8 -8
- package/dist/chunks/{peers-45ERDPKF.js → peers-JILQNRCW.js} +6 -6
- package/dist/chunks/{providers-U2VOQPIQ.js → providers-NMMTLTEC.js} +11 -11
- package/dist/chunks/{pty-O3JUR6E6.js → pty-KR5RNX54.js} +3 -3
- package/dist/chunks/resume-A3XPV4Z5.js +23 -0
- package/dist/chunks/{resume-command-CTK2KZBA.js → resume-command-WOG47T6A.js} +6 -6
- package/dist/chunks/{schedule-QPTZKLTX.js → schedule-V3OHZVHK.js} +15 -10
- package/dist/chunks/schedule-V3OHZVHK.js.map +6 -0
- package/dist/chunks/{service-HV3GCDHA.js → service-XPJSCHPW.js} +37 -36
- package/dist/chunks/service-XPJSCHPW.js.map +6 -0
- package/dist/chunks/{skills-2AT7ET7J.js → skills-PGO6KGCD.js} +9 -9
- package/dist/chunks/{start-check-KLNGOTCH.js → start-check-CLSVKYRW.js} +2 -2
- package/dist/chunks/{startup-failure-LONKNDPE.js → startup-failure-WN5PCOIE.js} +2 -2
- package/dist/chunks/{state-NH64B6V6.js → state-W72YF7CF.js} +3 -3
- package/dist/chunks/{store-3UO335CU.js → store-4RNQ47OD.js} +6 -6
- package/dist/chunks/{store-FQVXZJIN.js → store-7SESBCUG.js} +3 -3
- package/dist/chunks/{store-UK2654YC.js → store-J4CYKAFS.js} +4 -4
- package/dist/chunks/{store-XEDK3ESU.js → store-SQINHTJO.js} +14 -10
- package/dist/chunks/tui-HYKE4V4J.js +1030 -0
- package/dist/chunks/tui-HYKE4V4J.js.map +6 -0
- package/dist/chunks/{upgrade-ERUCYWMK.js → upgrade-HE5NIE2M.js} +8 -8
- package/dist/chunks/watch-C5YQJNHV.js +978 -0
- package/dist/chunks/watch-C5YQJNHV.js.map +6 -0
- package/dist/chunks/{workspaces-YIBJSUGI.js → workspaces-CPOLSOKE.js} +16 -16
- package/dist/chunks/{worktree-4K2Y37SY.js → worktree-TUBWOHUQ.js} +13 -13
- package/dist/cli.d.ts.map +1 -1
- package/dist/commands/acp-provider-retry.d.ts +30 -0
- package/dist/commands/acp-provider-retry.d.ts.map +1 -1
- package/dist/commands/acp.d.ts.map +1 -1
- package/dist/commands/desktop-host.d.ts +3 -0
- package/dist/commands/desktop-host.d.ts.map +1 -1
- package/dist/commands/eval.d.ts.map +1 -1
- package/dist/commands/exec-flags.d.ts +2 -0
- package/dist/commands/exec-flags.d.ts.map +1 -1
- package/dist/commands/exec-json.d.ts.map +1 -1
- package/dist/commands/exec.d.ts.map +1 -1
- package/dist/commands/manifest.d.ts +1 -0
- package/dist/commands/manifest.d.ts.map +1 -1
- package/dist/commands/schedule.d.ts.map +1 -1
- package/dist/commands/watch.d.ts +41 -0
- package/dist/commands/watch.d.ts.map +1 -0
- package/dist/config/load.d.ts.map +1 -1
- package/dist/config/schema.d.ts +25 -0
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/config/settings-descriptors.d.ts.map +1 -1
- package/dist/config/turn-guards.d.ts +5 -2
- package/dist/config/turn-guards.d.ts.map +1 -1
- package/dist/exit-codes.d.ts +9 -1
- package/dist/exit-codes.d.ts.map +1 -1
- package/dist/index.js +29 -29
- package/dist/integrations/sessions/session-watch.d.ts +127 -0
- package/dist/integrations/sessions/session-watch.d.ts.map +1 -0
- package/dist/integrations/sessions/store.d.ts +7 -1
- package/dist/integrations/sessions/store.d.ts.map +1 -1
- package/dist/integrations/sessions/watch-view.d.ts +73 -0
- package/dist/integrations/sessions/watch-view.d.ts.map +1 -0
- package/dist/integrations/sessions/watch-wait.d.ts +32 -0
- package/dist/integrations/sessions/watch-wait.d.ts.map +1 -0
- package/dist/schedule/build.d.ts +12 -0
- package/dist/schedule/build.d.ts.map +1 -1
- package/dist/schedule/changes.d.ts.map +1 -1
- package/dist/schedule/commands/add.d.ts +1 -1
- package/dist/schedule/commands/add.d.ts.map +1 -1
- package/dist/schedule/commands/list.d.ts +2 -0
- package/dist/schedule/commands/list.d.ts.map +1 -1
- package/dist/schedule/daemon/daemon.d.ts.map +1 -1
- package/dist/schedule/daemon/notify.d.ts +7 -2
- package/dist/schedule/daemon/notify.d.ts.map +1 -1
- package/dist/schedule/delivery.d.ts.map +1 -1
- package/dist/schedule/fire/calls.d.ts +2 -0
- package/dist/schedule/fire/calls.d.ts.map +1 -1
- package/dist/schedule/fire/fire.d.ts +3 -0
- package/dist/schedule/fire/fire.d.ts.map +1 -1
- package/dist/schedule/fire/run-script.d.ts +4 -0
- package/dist/schedule/fire/run-script.d.ts.map +1 -1
- package/dist/schedule/fire/unattended-note.d.ts +5 -0
- package/dist/schedule/fire/unattended-note.d.ts.map +1 -1
- package/dist/schedule/gate.d.ts +73 -0
- package/dist/schedule/gate.d.ts.map +1 -0
- package/dist/schedule/store/jobs.d.ts +2 -2
- package/dist/schedule/store/jobs.d.ts.map +1 -1
- package/dist/schedule/types.d.ts +60 -1
- package/dist/schedule/types.d.ts.map +1 -1
- package/dist/tui/App.d.ts.map +1 -1
- package/dist/tui/Markdown.d.ts +5 -1
- package/dist/tui/Markdown.d.ts.map +1 -1
- package/dist/tui/ScheduleReviewOverlay.d.ts.map +1 -1
- package/dist/tui/agent.d.ts +14 -1
- package/dist/tui/agent.d.ts.map +1 -1
- package/dist/tui/conversation-in-use.d.ts +2 -2
- package/dist/tui/conversation-in-use.d.ts.map +1 -1
- package/dist/tui/fullscreen/markdown-rows.d.ts.map +1 -1
- package/dist/tui/markdown-structure.d.ts +24 -0
- package/dist/tui/markdown-structure.d.ts.map +1 -0
- package/dist/tui/markdownParser.d.ts +11 -0
- package/dist/tui/markdownParser.d.ts.map +1 -1
- package/dist/tui/outcome-line.d.ts +29 -1
- package/dist/tui/outcome-line.d.ts.map +1 -1
- package/dist/tui/restored-rows.d.ts +8 -1
- package/dist/tui/restored-rows.d.ts.map +1 -1
- package/dist/tui/schedule/host-commands.d.ts.map +1 -1
- package/dist/tui/schedule/source-deliveries.d.ts.map +1 -1
- package/dist/tui/schedule/tool-host.d.ts.map +1 -1
- package/dist/tui/tool-end-rows.d.ts +1 -1
- package/dist/tui/tool-end-rows.d.ts.map +1 -1
- package/dist/tui/types.d.ts +5 -1
- package/dist/tui/types.d.ts.map +1 -1
- package/package.json +5 -5
- package/skills/schedule-task/SKILL.md +8 -0
- package/dist/chunks/acp-I75ITR7W.js.map +0 -6
- package/dist/chunks/add-X25CBZQM.js.map +0 -6
- package/dist/chunks/agent-session-YXYFEYXB.js +0 -69
- package/dist/chunks/chunk-2H2TQCA5.js.map +0 -6
- package/dist/chunks/chunk-45LQJKMG.js.map +0 -6
- package/dist/chunks/chunk-4JTXA7EU.js.map +0 -6
- package/dist/chunks/chunk-4ZWZ3UZ2.js.map +0 -6
- package/dist/chunks/chunk-APKI7B7W.js.map +0 -6
- package/dist/chunks/chunk-BMIFPELO.js.map +0 -6
- package/dist/chunks/chunk-BNEGQX4Q.js.map +0 -6
- package/dist/chunks/chunk-C4YEWOFD.js.map +0 -6
- package/dist/chunks/chunk-GTFK7PLC.js.map +0 -6
- package/dist/chunks/chunk-PYYCH65R.js.map +0 -6
- package/dist/chunks/chunk-TXP6SOA7.js.map +0 -6
- package/dist/chunks/chunk-UUZM4M2L.js.map +0 -6
- package/dist/chunks/chunk-VRFKZSBH.js.map +0 -6
- package/dist/chunks/chunk-YMWHDGCW.js.map +0 -6
- package/dist/chunks/eval-4WUEX4J2.js +0 -187
- package/dist/chunks/eval-4WUEX4J2.js.map +0 -6
- package/dist/chunks/exec-2GC33AL4.js.map +0 -6
- package/dist/chunks/list-A2TVECA4.js.map +0 -6
- package/dist/chunks/resume-SAA3MLKU.js +0 -23
- package/dist/chunks/schedule-QPTZKLTX.js.map +0 -6
- package/dist/chunks/service-HV3GCDHA.js.map +0 -6
- package/dist/chunks/tui-2PVEZMXJ.js.map +0 -6
- /package/dist/chunks/{activity-command-6RM3I3CG.js.map → activity-command-6SLWX5O6.js.map} +0 -0
- /package/dist/chunks/{agent-TIXCYM5Q.js.map → agent-IN76G7FR.js.map} +0 -0
- /package/dist/chunks/{agent-session-YXYFEYXB.js.map → agent-session-5T4QOI6T.js.map} +0 -0
- /package/dist/chunks/{archive-UFBZQWFO.js.map → archive-X5OO3HYU.js.map} +0 -0
- /package/dist/chunks/{bin-main-5E4PLOSV.js.map → bin-main-MJURSFNJ.js.map} +0 -0
- /package/dist/chunks/{binding-EGKCFUJN.js.map → binding-6EX5H32J.js.map} +0 -0
- /package/dist/chunks/{browser-WSEOMG6B.js.map → browser-UUSAOFML.js.map} +0 -0
- /package/dist/chunks/{chat-XGURQIQN.js.map → chat-J2DRST74.js.map} +0 -0
- /package/dist/chunks/{chunk-TW56AJLJ.js.map → chunk-2OGJPIGN.js.map} +0 -0
- /package/dist/chunks/{chunk-J6EAQ4XD.js.map → chunk-2XXEIH7D.js.map} +0 -0
- /package/dist/chunks/{chunk-55KDC7DM.js.map → chunk-3KNUUOMF.js.map} +0 -0
- /package/dist/chunks/{chunk-6I7YVWWO.js.map → chunk-3VKSD45U.js.map} +0 -0
- /package/dist/chunks/{chunk-KZTKHIP5.js.map → chunk-4DYB42HG.js.map} +0 -0
- /package/dist/chunks/{chunk-3I4UQCJZ.js.map → chunk-4GQ5ACCZ.js.map} +0 -0
- /package/dist/chunks/{chunk-MNMG5JGZ.js.map → chunk-4MDH3G7P.js.map} +0 -0
- /package/dist/chunks/{chunk-2MAMU7AX.js.map → chunk-5HS5WIS3.js.map} +0 -0
- /package/dist/chunks/{chunk-ZXYCWNKE.js.map → chunk-64CDTVEM.js.map} +0 -0
- /package/dist/chunks/{chunk-SDIFKDGI.js.map → chunk-6J6AEQA4.js.map} +0 -0
- /package/dist/chunks/{chunk-POGVGWKL.js.map → chunk-76HAMOHW.js.map} +0 -0
- /package/dist/chunks/{chunk-QZRV5EOA.js.map → chunk-ASITCNWM.js.map} +0 -0
- /package/dist/chunks/{chunk-LNVTSRF3.js.map → chunk-BGT2BABA.js.map} +0 -0
- /package/dist/chunks/{chunk-WQ2S6BUX.js.map → chunk-BZC5JPMB.js.map} +0 -0
- /package/dist/chunks/{chunk-EUMXN6FC.js.map → chunk-CB7VORLS.js.map} +0 -0
- /package/dist/chunks/{chunk-NYYG7HAY.js.map → chunk-DE4WWSBB.js.map} +0 -0
- /package/dist/chunks/{chunk-5GWSNJUP.js.map → chunk-DQGDG63U.js.map} +0 -0
- /package/dist/chunks/{chunk-ZSNNS2V6.js.map → chunk-DXFPBLQV.js.map} +0 -0
- /package/dist/chunks/{chunk-V6H2W6TZ.js.map → chunk-F2I6X667.js.map} +0 -0
- /package/dist/chunks/{chunk-NEMRZKU7.js.map → chunk-FJZL4BJN.js.map} +0 -0
- /package/dist/chunks/{chunk-TH3PVZT3.js.map → chunk-G2DGASUC.js.map} +0 -0
- /package/dist/chunks/{chunk-WYGUFPCK.js.map → chunk-GN4BLP6C.js.map} +0 -0
- /package/dist/chunks/{chunk-TUNKUMWI.js.map → chunk-GTRG5VXA.js.map} +0 -0
- /package/dist/chunks/{chunk-2UELHX7A.js.map → chunk-H32MIHLE.js.map} +0 -0
- /package/dist/chunks/{chunk-I6WKUIVX.js.map → chunk-HAHNDC7N.js.map} +0 -0
- /package/dist/chunks/{chunk-W3M6GZTY.js.map → chunk-HFLX3ZLT.js.map} +0 -0
- /package/dist/chunks/{chunk-55LA4ARF.js.map → chunk-HSSTV5SF.js.map} +0 -0
- /package/dist/chunks/{chunk-O53XPCC5.js.map → chunk-J267C5O6.js.map} +0 -0
- /package/dist/chunks/{chunk-GFFWXLQI.js.map → chunk-J4QN36GJ.js.map} +0 -0
- /package/dist/chunks/{chunk-TUBA7HB2.js.map → chunk-JE2S7MW2.js.map} +0 -0
- /package/dist/chunks/{chunk-TC3E4SKI.js.map → chunk-K4BMTUBH.js.map} +0 -0
- /package/dist/chunks/{chunk-OQCZ27OE.js.map → chunk-KBLICB2N.js.map} +0 -0
- /package/dist/chunks/{chunk-OY7K65K6.js.map → chunk-LJ4DIGHQ.js.map} +0 -0
- /package/dist/chunks/{chunk-YICIG5QP.js.map → chunk-LNIM2TS3.js.map} +0 -0
- /package/dist/chunks/{chunk-5MD7FSR4.js.map → chunk-LRLMZTZ3.js.map} +0 -0
- /package/dist/chunks/{chunk-LM3JEI5Z.js.map → chunk-M3O7WEJF.js.map} +0 -0
- /package/dist/chunks/{chunk-GBIYC3OF.js.map → chunk-MFRWOJCD.js.map} +0 -0
- /package/dist/chunks/{chunk-WBCYE4JI.js.map → chunk-MJW6FQAW.js.map} +0 -0
- /package/dist/chunks/{chunk-ECYKNBHN.js.map → chunk-N7COW4QY.js.map} +0 -0
- /package/dist/chunks/{chunk-ZUDMNBWB.js.map → chunk-NEKCM2HR.js.map} +0 -0
- /package/dist/chunks/{chunk-4SQVWV4B.js.map → chunk-O6QJXKWZ.js.map} +0 -0
- /package/dist/chunks/{chunk-LS2USKSX.js.map → chunk-P6CNFKJC.js.map} +0 -0
- /package/dist/chunks/{chunk-PD2MTV6U.js.map → chunk-PR3HSIXG.js.map} +0 -0
- /package/dist/chunks/{chunk-GVXKT3BV.js.map → chunk-PYRMWOCP.js.map} +0 -0
- /package/dist/chunks/{chunk-I3DHWG5M.js.map → chunk-QN4WGK62.js.map} +0 -0
- /package/dist/chunks/{chunk-XBZJBXQY.js.map → chunk-R77WPUUF.js.map} +0 -0
- /package/dist/chunks/{chunk-R2K5AFBF.js.map → chunk-RQKE2URW.js.map} +0 -0
- /package/dist/chunks/{chunk-GMAPTJ3G.js.map → chunk-RZXNXGRE.js.map} +0 -0
- /package/dist/chunks/{chunk-5JPQVU57.js.map → chunk-S4HDKI6L.js.map} +0 -0
- /package/dist/chunks/{chunk-DQW7UPXP.js.map → chunk-SRBCU3IJ.js.map} +0 -0
- /package/dist/chunks/{chunk-354BWCU6.js.map → chunk-TF6ZSM2M.js.map} +0 -0
- /package/dist/chunks/{chunk-B3XETKYI.js.map → chunk-UHYZ64ET.js.map} +0 -0
- /package/dist/chunks/{chunk-JQO2LGPA.js.map → chunk-VDQQE3Q6.js.map} +0 -0
- /package/dist/chunks/{chunk-VIV4OF3E.js.map → chunk-VIJFICIC.js.map} +0 -0
- /package/dist/chunks/{chunk-BMYWEYPI.js.map → chunk-VONTYDZ3.js.map} +0 -0
- /package/dist/chunks/{chunk-NGHCVY4T.js.map → chunk-VPIFXAL6.js.map} +0 -0
- /package/dist/chunks/{chunk-W2PMDZWZ.js.map → chunk-WWC6L5WC.js.map} +0 -0
- /package/dist/chunks/{chunk-NSIV6WEI.js.map → chunk-XCDXSRY7.js.map} +0 -0
- /package/dist/chunks/{chunk-W7NCIPEV.js.map → chunk-YOCPU3WT.js.map} +0 -0
- /package/dist/chunks/{chunk-EPKNYAR5.js.map → chunk-YU65OZTC.js.map} +0 -0
- /package/dist/chunks/{chunk-MPHLRHG6.js.map → chunk-ZJQYNG27.js.map} +0 -0
- /package/dist/chunks/{chunk-RWMWDV5U.js.map → chunk-ZKOEUHCF.js.map} +0 -0
- /package/dist/chunks/{chunk-Y36X5RRN.js.map → chunk-ZYRABJ7J.js.map} +0 -0
- /package/dist/chunks/{cli-runtime-6YUL7KO4.js.map → cli-runtime-YUFSSYYG.js.map} +0 -0
- /package/dist/chunks/{commands-INKRVLL2.js.map → commands-J7XAMJC5.js.map} +0 -0
- /package/dist/chunks/{computer-UE2AN7NW.js.map → computer-ZWTWBY67.js.map} +0 -0
- /package/dist/chunks/{crash-report-W2LEW2CB.js.map → crash-report-3GPFLNQX.js.map} +0 -0
- /package/dist/chunks/{dist-MSXSGG4O.js.map → dist-2EQ3MAWA.js.map} +0 -0
- /package/dist/chunks/{dist-G66KFB6L.js.map → dist-4TO2X6U4.js.map} +0 -0
- /package/dist/chunks/{dist-KNDQQ7NJ.js.map → dist-5LXAFF2H.js.map} +0 -0
- /package/dist/chunks/{dist-YKMXFMEH.js.map → dist-CO47MPO4.js.map} +0 -0
- /package/dist/chunks/{dist-CNCFMP4G.js.map → dist-EGCYKNFG.js.map} +0 -0
- /package/dist/chunks/{dist-UH4FMDFC.js.map → dist-F36KOHDP.js.map} +0 -0
- /package/dist/chunks/{dist-2WHW47YN.js.map → dist-IS662MSA.js.map} +0 -0
- /package/dist/chunks/{dist-32QKP26R.js.map → dist-UXUFCGIX.js.map} +0 -0
- /package/dist/chunks/{doctor-GUQ55L7P.js.map → doctor-YC6Z7P3P.js.map} +0 -0
- /package/dist/chunks/{drain-W354CYLH.js.map → drain-5BQHD3KW.js.map} +0 -0
- /package/dist/chunks/{entry-A6OLKTK4.js.map → entry-ZJWR3CSL.js.map} +0 -0
- /package/dist/chunks/{github-VCUDZDGI.js.map → github-FQAXV2KP.js.map} +0 -0
- /package/dist/chunks/{home-T4OIF6S7.js.map → home-EBXWUU6C.js.map} +0 -0
- /package/dist/chunks/{host-AVAUHFYK.js.map → host-JU76NQJY.js.map} +0 -0
- /package/dist/chunks/{host-queries-DOTBOTRM.js.map → host-queries-6TO7AIZE.js.map} +0 -0
- /package/dist/chunks/{learn-YMOECXWO.js.map → learn-YGTIACD6.js.map} +0 -0
- /package/dist/chunks/{learn-builtin-BF6BC7VT.js.map → learn-builtin-FND7NEEV.js.map} +0 -0
- /package/dist/chunks/{lifecycle-SCXNENNO.js.map → lifecycle-VBNEAO74.js.map} +0 -0
- /package/dist/chunks/{live-GIKIVP5N.js.map → live-N3PPNKW6.js.map} +0 -0
- /package/dist/chunks/{login-COY7ZU76.js.map → login-KEFAKXJZ.js.map} +0 -0
- /package/dist/chunks/{logs-HN5ED3XC.js.map → logs-JZEIQMOQ.js.map} +0 -0
- /package/dist/chunks/{mcp-KMFXTAEG.js.map → mcp-7CBDNNY3.js.map} +0 -0
- /package/dist/chunks/{message-command-XJCX6GEH.js.map → message-command-JAKH5U6B.js.map} +0 -0
- /package/dist/chunks/{open-7CKFU4GZ.js.map → open-Q63ZNCNO.js.map} +0 -0
- /package/dist/chunks/{operator-tools-SBSUWAPM.js.map → operator-tools-SEK3DCMJ.js.map} +0 -0
- /package/dist/chunks/{output-schema-OF7MU44K.js.map → output-schema-ROCYTWMQ.js.map} +0 -0
- /package/dist/chunks/{pal-ANABYPQI.js.map → pal-XOMURPYQ.js.map} +0 -0
- /package/dist/chunks/{peers-MQMTWBNF.js.map → peers-GY5QNN5F.js.map} +0 -0
- /package/dist/chunks/{peers-45ERDPKF.js.map → peers-JILQNRCW.js.map} +0 -0
- /package/dist/chunks/{providers-U2VOQPIQ.js.map → providers-NMMTLTEC.js.map} +0 -0
- /package/dist/chunks/{pty-O3JUR6E6.js.map → pty-KR5RNX54.js.map} +0 -0
- /package/dist/chunks/{resume-SAA3MLKU.js.map → resume-A3XPV4Z5.js.map} +0 -0
- /package/dist/chunks/{resume-command-CTK2KZBA.js.map → resume-command-WOG47T6A.js.map} +0 -0
- /package/dist/chunks/{skills-2AT7ET7J.js.map → skills-PGO6KGCD.js.map} +0 -0
- /package/dist/chunks/{start-check-KLNGOTCH.js.map → start-check-CLSVKYRW.js.map} +0 -0
- /package/dist/chunks/{startup-failure-LONKNDPE.js.map → startup-failure-WN5PCOIE.js.map} +0 -0
- /package/dist/chunks/{state-NH64B6V6.js.map → state-W72YF7CF.js.map} +0 -0
- /package/dist/chunks/{store-3UO335CU.js.map → store-4RNQ47OD.js.map} +0 -0
- /package/dist/chunks/{store-FQVXZJIN.js.map → store-7SESBCUG.js.map} +0 -0
- /package/dist/chunks/{store-UK2654YC.js.map → store-J4CYKAFS.js.map} +0 -0
- /package/dist/chunks/{store-XEDK3ESU.js.map → store-SQINHTJO.js.map} +0 -0
- /package/dist/chunks/{upgrade-ERUCYWMK.js.map → upgrade-HE5NIE2M.js.map} +0 -0
- /package/dist/chunks/{workspaces-YIBJSUGI.js.map → workspaces-CPOLSOKE.js.map} +0 -0
- /package/dist/chunks/{worktree-4K2Y37SY.js.map → worktree-TUBWOHUQ.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,40 @@
|
|
|
1
1
|
# @namzu/cli
|
|
2
2
|
|
|
3
|
+
## 51.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- a89772d: When an answer says a check passed (tests, build, lint, type checking) and the same turn's record says a check failed, or says files changed and no check ran or none could be read, the terminal now shows one more line under the outcome line: "The answer says the tests pass. The record: pnpm test failed." Nothing is shown in any other case, and nothing is blocked or sent back to the model. `namzu exec --output-format json` and the `done` line of `exec --json` gain an optional `claimMismatch` key with the same facts, absent when there is none; a script that reads only the keys it knows is not affected. English claims only; a reopened conversation draws the same line, worked out again from the saved answer and record.
|
|
8
|
+
- 29de8d5: `namzu eval` takes `--repeat <n>` (run every case n times, 1 to 100) and `--seed <n>` (seed for the 95% intervals), and reaches suites that were written before either existed. It prints each suite's intervals and a whole-run summary, and `--out` now writes `schemaVersion: 2` with a `run` object and, per suite, the disclosure of what produced it. New `namzu eval compare <a.json> <b.json> [--json] [--seed <n>]` pairs two written reports by suite and case id and prints the paired difference with its interval, the flips with an exact test, one sentence that claims a winner only when the interval excludes zero, and what differs between the two runs, with a warning when more than one thing does. The exit codes of a run are unchanged. A bad `--repeat` or `--seed` is a usage error (exit 3). Only a bad `--repeat` or `--seed` is a usage error; a RangeError thrown by a suite's own code is no longer one. The commit in a report reads `<sha>-dirty` when tracked files have changed, and the whole-run seed is the seed the suites used. Nothing to change on your side.
|
|
9
|
+
- 7793f27: A goal can now end by the record of the work. Set `goal.confirmedBy: record` in your config, or `/goal set --confirmed-by record <objective>` for one goal, and when the model reports a goal complete Namzu reads the kernel's record of the turn first: the goal ends as confirmed by the record (a check passed and nothing changed after it), as stated and not checked (the record cannot confirm or contradict it), or as not confirmed (the goal is blocked and `/goal status` shows the record's sentence). A failing check, files changed after the last pass, or files changed with no check send the model back with one plain note, up to 3 times per goal; the existing limits still win. The closing line says which ending it was. `namzu exec --output-format json` and the `done` line of `exec --json` gain an optional `goalEnding` key, absent unless a goal ended in the command. Nothing changes unless you opt in: the default stays the model's report, and is intended to become `record` in a later major release, at which point `goal.confirmedBy: model` keeps today's behaviour.
|
|
10
|
+
- 8e8bc4d: The model can now be allowed to hand a task back to a person instead of forcing a result it cannot honestly reach. Off by default; turn it on with `handBack.enabled: true` in your config, or `--hand-back` on `namzu exec`. When the model hands a task back, the terminal says so in Namzu's words and shows the model's own sentences under labels (what blocks it, what it tried, what a person has to decide or provide), a reopened conversation shows the same, `namzu exec` exits with the new status **3** (distinct from 0, done, and 1, failed; stderr says why and `--output-format json` carries an optional `handedBack` key, also on the `done` line of `exec --json`, which still exits 0), a goal round ends the goal as not confirmed, and a scheduled run ends with the new status `needs-a-person` and is counted, notified once and paused on repeats like a failing run. If you read scheduled run statuses, handle `needs-a-person`; it only appears when you turn the setting on. Nothing changes unless you do: with it off the tool is absent and the prompt is unchanged. Before it could become the default it needs a measurement with real models on tasks that cannot be done as specified, against how often a model hands back a task it could have finished.
|
|
11
|
+
- 5569888: A reply's markdown looks different in the terminal, in both the default screen and fullscreen. Headings are told apart by level: level 1 is bold and underlined in the accent colour, level 2 bold in the accent colour, level 3 bold in the body colour, levels 4 to 6 bold in the muted colour (before, levels 1 and 2 showed as plain bold like the rest). A quote (lines starting with `>`) is drawn with a bar down its left edge on every row, its text in italics, and a quote inside a quote gets two bars; before, the `>` was printed as text. A line of `---`, `***`, `___` or `- - -` on its own is drawn as a horizontal line up to 40 cells wide; before, the characters were printed. A `>` in the middle of a line, and anything inside a code fence, stays as written. Text over `---` is a paragraph and a rule, not an underlined heading. Nothing to change on your side.
|
|
12
|
+
- 7cf9b02: New command `namzu watch [session]` follows a running or finished session from a second terminal on the same machine, read-only. It prints the conversation as a reopened one is drawn and keeps it current as the session's log grows; with no argument it offers the sessions with a turn in flight now, this folder's first. It never takes the session's lease, writes to its log, sends a message or answers an approval; a session that waits for one says what it waits for and that the answer belongs in the terminal that runs it. Text a step is still writing appears when that step ends, because the log holds only settled records. `--exit-on-end` leaves when the session ends with status 0 (finished), 1 (failed or stopped) or 69 (interrupted), `--plain` writes lines with no terminal control (the default when output is not a terminal), and Ctrl+C leaves with 130. Nothing changes for existing commands or flags.
|
|
13
|
+
- fc9929d: A scheduled agent job can carry a gate: one shell command you write, run first in the job's folder, that decides whether the model is called. Set it with `namzu schedule add --gate '<command>'` (or `--gate-file`, `--gate-shell bash|sh`, `--gate-timeout`, and `--no-gate` on `edit`), or in the job file followed by `namzu schedule confirm`. The turn starts only when the gate exits 0 and prints something; its output (capped at 4,000 characters, the cut marked) is handed to the turn as data under "The gate command printed:". Otherwise the run is recorded as the new status `skipped` with its reason (the gate printed nothing, exited with a code, ran out of time, could not start), no model is called, and nothing is spent. The gate has a 30 second default limit, at most 5 minutes, runs on the host with the scheduler's environment minus credential-shaped variables, and is read by the scheduled-run floor and your deny rules like a script job's body.
|
|
14
|
+
|
|
15
|
+
A skipped run is not a failure: it does not count toward `--pause-after-failures`, sends no failure notice and delivers nothing to a source conversation. A gate that cannot start three runs in a row is told to you once. A job without a gate behaves exactly as before.
|
|
16
|
+
|
|
17
|
+
What to do about it: nothing, unless you read run statuses yourself. Code that switches on a run's `status` in `schedule show --json`, `history --json` or a job's `state` should treat `skipped` as a finished run that did nothing. A job with a gate is stored as format version 3, which an older namzu refuses loudly. A job that already has one and is later edited by the model's `schedule` tool keeps its gate. In `@namzu/sdk` the `schedule` tool refuses a `gate` input (only a person sets one), and `ScheduleJobPreview` gains the optional `gate` so a host can show the exact command.
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Updated dependencies [fc9929d]
|
|
22
|
+
- Updated dependencies [a89772d]
|
|
23
|
+
- Updated dependencies [29de8d5]
|
|
24
|
+
- Updated dependencies [7793f27]
|
|
25
|
+
- Updated dependencies [8e8bc4d]
|
|
26
|
+
- Updated dependencies [d978097]
|
|
27
|
+
- @namzu/sdk@62.13.0
|
|
28
|
+
|
|
29
|
+
## 51.0.1
|
|
30
|
+
|
|
31
|
+
### Patch Changes
|
|
32
|
+
|
|
33
|
+
- ec1d5e0: A conversation no longer refuses every message after the app was closed or killed in the first instant of a reply. When a host went away after writing only a reply's start and your message, the next host treated that reply as still running and the Desktop answered "Namzu is still finishing the last reply. Give it a moment." to everything you sent. The host now closes a reply that has no host running it, with one record and your message kept, when it is asked whether the conversation can go on, and a message sent to a host that never asked closes it as well. When the host was killed and never gave its writer lease back, the reply is closed at once, but only when its lease says it was written in the same place as the host asking (the same host name, process-id namespace and machine identity) and no process has that process id. Two things still wait for the lease's five minutes, as before: a reply whose lease was written by an older version (it names no place), and a reply held by a host in another place, such as a container or a second system that shares the same home folder, where a process id says nothing about whether that host is alive. Two machines with the same host name that both cannot read a machine identity still share a place. A reply another host still runs, and a paused one, are left alone. The terminal's "in use by another window" sentence no longer takes a process of another place for itself.
|
|
34
|
+
- 5c5a3d8: In a second Desktop window, right-clicking a conversation that window had not opened showed no "Mark as unread", and Fork and Copy gave the wrong answer, because the menu looked at a thread that window never loaded. Main now keeps whether a conversation has a reply on its entry in the list, read from the saved log so it survives a restart, and every window follows it. A conversation with a reply offers Mark as unread in any window; Fork, New side chat, Copy as Markdown and Copy last reply say "Open the conversation first." until that window holds the conversation. A conversation with no reply is still not offered Mark as unread. The host's conversation list gains an optional `replied` field.
|
|
35
|
+
- Updated dependencies [ec1d5e0]
|
|
36
|
+
- @namzu/sdk@62.12.0
|
|
37
|
+
|
|
3
38
|
## 51.0.0
|
|
4
39
|
|
|
5
40
|
### Major Changes
|
package/dist/bin.js
CHANGED
|
@@ -39,6 +39,6 @@ __name(suppressSqliteExperimentalWarning, "suppressSqliteExperimentalWarning");
|
|
|
39
39
|
suppressSqliteExperimentalWarning();
|
|
40
40
|
|
|
41
41
|
// src/bin.ts
|
|
42
|
-
var { main } = await import("./chunks/bin-main-
|
|
42
|
+
var { main } = await import("./chunks/bin-main-MJURSFNJ.js");
|
|
43
43
|
await main(fileURLToPath(new URL("./", import.meta.url).href + "bin.js"));
|
|
44
44
|
//# sourceMappingURL=bin.js.map
|
|
@@ -2,35 +2,37 @@ import { createRequire as __namzuCreateRequire } from 'node:module';
|
|
|
2
2
|
const require = __namzuCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
dispatchCliPalMessages
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-GN4BLP6C.js";
|
|
6
6
|
import {
|
|
7
7
|
readUserMcpServers,
|
|
8
8
|
summarizeUserMcpServer
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VPIFXAL6.js";
|
|
10
10
|
import {
|
|
11
11
|
decideHeadlessTrust
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-J267C5O6.js";
|
|
13
13
|
import {
|
|
14
14
|
conversationMarkdown,
|
|
15
15
|
lookupPr,
|
|
16
|
-
outcomeLine,
|
|
17
16
|
runCommand,
|
|
18
17
|
withKeyNote
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-FI5EMDFZ.js";
|
|
19
|
+
import "./chunk-DQGDG63U.js";
|
|
21
20
|
import "./chunk-JETLWXUE.js";
|
|
21
|
+
import {
|
|
22
|
+
outcomeLine
|
|
23
|
+
} from "./chunk-JBQATPG3.js";
|
|
22
24
|
import {
|
|
23
25
|
deleteUserConfigValue,
|
|
24
26
|
setUserConfigValue,
|
|
25
27
|
userConfigPath
|
|
26
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-HFLX3ZLT.js";
|
|
27
29
|
import {
|
|
28
30
|
HeadlessScreen
|
|
29
31
|
} from "./chunk-GWGIAZLZ.js";
|
|
30
32
|
import "./chunk-6HTC5TQ3.js";
|
|
31
33
|
import {
|
|
32
34
|
launchRefusal
|
|
33
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-ZJQYNG27.js";
|
|
34
36
|
import {
|
|
35
37
|
cliPalComputerStatus,
|
|
36
38
|
cliPalScreen,
|
|
@@ -43,21 +45,21 @@ import {
|
|
|
43
45
|
startCliPalComputer,
|
|
44
46
|
stopCliPalComputer,
|
|
45
47
|
takeOverCliPalComputer
|
|
46
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-BZC5JPMB.js";
|
|
47
49
|
import {
|
|
48
50
|
palSessionEnvironment
|
|
49
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-N7COW4QY.js";
|
|
50
52
|
import {
|
|
51
53
|
cliPalActivitySubscriptionPolicy,
|
|
52
54
|
cliPalActivitySubscriptionStore,
|
|
53
55
|
cliPalCommunicationPolicy,
|
|
54
56
|
cliPalCommunicationStore
|
|
55
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-NEKCM2HR.js";
|
|
56
58
|
import {
|
|
57
59
|
claimPalConversation,
|
|
58
60
|
listPalConversations,
|
|
59
61
|
palConversationBinding
|
|
60
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-3VKSD45U.js";
|
|
61
63
|
import {
|
|
62
64
|
FileCheckpointStore,
|
|
63
65
|
PluginSettingsStore,
|
|
@@ -69,34 +71,34 @@ import {
|
|
|
69
71
|
sessionLogCheckpointView,
|
|
70
72
|
validateComposerSendSettings,
|
|
71
73
|
verifyCredential
|
|
72
|
-
} from "./chunk-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
78
|
-
import "./chunk-
|
|
79
|
-
import "./chunk-
|
|
80
|
-
import "./chunk-GTFK7PLC.js";
|
|
81
|
-
import "./chunk-QZRV5EOA.js";
|
|
74
|
+
} from "./chunk-QZDNCVK4.js";
|
|
75
|
+
import "./chunk-4MDH3G7P.js";
|
|
76
|
+
import "./chunk-F2I6X667.js";
|
|
77
|
+
import "./chunk-AROJAFON.js";
|
|
78
|
+
import "./chunk-QN4WGK62.js";
|
|
79
|
+
import "./chunk-PR3HSIXG.js";
|
|
80
|
+
import "./chunk-VDQQE3Q6.js";
|
|
81
|
+
import "./chunk-G2DGASUC.js";
|
|
82
82
|
import "./chunk-WHODOMXA.js";
|
|
83
|
-
import "./chunk-
|
|
83
|
+
import "./chunk-B4M4IEOE.js";
|
|
84
|
+
import "./chunk-MPUHBR73.js";
|
|
85
|
+
import "./chunk-ASITCNWM.js";
|
|
84
86
|
import "./chunk-YOWYTBJS.js";
|
|
85
87
|
import "./chunk-2IPDTDB3.js";
|
|
86
|
-
import "./chunk-
|
|
88
|
+
import "./chunk-KBLICB2N.js";
|
|
87
89
|
import "./chunk-I4GTRFPK.js";
|
|
88
|
-
import "./chunk-
|
|
90
|
+
import "./chunk-HAHNDC7N.js";
|
|
89
91
|
import "./chunk-ZWA2JRJV.js";
|
|
90
92
|
import "./chunk-NUGPLXVK.js";
|
|
91
|
-
import "./chunk-
|
|
93
|
+
import "./chunk-O6QJXKWZ.js";
|
|
92
94
|
import {
|
|
93
95
|
listProviderConnections,
|
|
94
96
|
removeProviderKey,
|
|
95
97
|
saveProviderKey,
|
|
96
98
|
typedKeyProvider
|
|
97
|
-
} from "./chunk-
|
|
98
|
-
import "./chunk-
|
|
99
|
-
import "./chunk-
|
|
99
|
+
} from "./chunk-GTRG5VXA.js";
|
|
100
|
+
import "./chunk-P6CNFKJC.js";
|
|
101
|
+
import "./chunk-LNIM2TS3.js";
|
|
100
102
|
import {
|
|
101
103
|
archiveConversation,
|
|
102
104
|
closeSessions,
|
|
@@ -114,9 +116,10 @@ import {
|
|
|
114
116
|
readConversationRecords,
|
|
115
117
|
refreshIndex,
|
|
116
118
|
setTitle,
|
|
119
|
+
storedAssistantPhase,
|
|
117
120
|
unarchiveConversation
|
|
118
|
-
} from "./chunk-
|
|
119
|
-
import "./chunk-
|
|
121
|
+
} from "./chunk-W5IR3SD3.js";
|
|
122
|
+
import "./chunk-R77WPUUF.js";
|
|
120
123
|
import {
|
|
121
124
|
cliProjectRoot
|
|
122
125
|
} from "./chunk-JQIBPPOL.js";
|
|
@@ -129,14 +132,14 @@ import {
|
|
|
129
132
|
listPals,
|
|
130
133
|
palAtWorkspace,
|
|
131
134
|
updatePal
|
|
132
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-PYRMWOCP.js";
|
|
133
136
|
import {
|
|
134
137
|
isTrusted,
|
|
135
138
|
isTrustedAtStateRoot,
|
|
136
139
|
trustDir,
|
|
137
140
|
untrustDir
|
|
138
|
-
} from "./chunk-
|
|
139
|
-
import "./chunk-
|
|
141
|
+
} from "./chunk-JE2S7MW2.js";
|
|
142
|
+
import "./chunk-S4HDKI6L.js";
|
|
140
143
|
import {
|
|
141
144
|
flushCompileCacheWhenIdle
|
|
142
145
|
} from "./chunk-SOIP273Z.js";
|
|
@@ -146,9 +149,8 @@ import {
|
|
|
146
149
|
import {
|
|
147
150
|
CLI_VERSION
|
|
148
151
|
} from "./chunk-HE7WUOX2.js";
|
|
152
|
+
import "./chunk-HSSTV5SF.js";
|
|
149
153
|
import "./chunk-GNBMKISG.js";
|
|
150
|
-
import "./chunk-55LA4ARF.js";
|
|
151
|
-
import "./chunk-OH6TB27S.js";
|
|
152
154
|
import {
|
|
153
155
|
ConfigValueError,
|
|
154
156
|
approveShownMcpServers,
|
|
@@ -156,7 +158,7 @@ import {
|
|
|
156
158
|
loadConfig,
|
|
157
159
|
pendingProjectMcpServers,
|
|
158
160
|
readConfigKey
|
|
159
|
-
} from "./chunk-
|
|
161
|
+
} from "./chunk-3MUNYBIF.js";
|
|
160
162
|
import {
|
|
161
163
|
require_dist
|
|
162
164
|
} from "./chunk-KONYGNG6.js";
|
|
@@ -165,12 +167,13 @@ import {
|
|
|
165
167
|
compilePermissionLayers,
|
|
166
168
|
permissionLayersOf,
|
|
167
169
|
warnLegacyMcpPermissionNames
|
|
168
|
-
} from "./chunk-
|
|
170
|
+
} from "./chunk-6J6AEQA4.js";
|
|
169
171
|
import {
|
|
170
172
|
cliLogger
|
|
171
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-XCDXSRY7.js";
|
|
172
174
|
import "./chunk-SIG7WHBU.js";
|
|
173
175
|
import "./chunk-LVVD32KJ.js";
|
|
176
|
+
import "./chunk-OH6TB27S.js";
|
|
174
177
|
import "./chunk-6PWRKA5T.js";
|
|
175
178
|
import "./chunk-QLDUL46Z.js";
|
|
176
179
|
import "./chunk-WMEZTDLT.js";
|
|
@@ -185,28 +188,28 @@ import {
|
|
|
185
188
|
loadHostPty,
|
|
186
189
|
processesCarrying,
|
|
187
190
|
quietConptyHelper
|
|
188
|
-
} from "./chunk-
|
|
189
|
-
import "./chunk-
|
|
191
|
+
} from "./chunk-FJZL4BJN.js";
|
|
192
|
+
import "./chunk-DE4WWSBB.js";
|
|
190
193
|
import {
|
|
191
194
|
automaticKind,
|
|
192
195
|
canSelectModel,
|
|
193
196
|
discoverProviders,
|
|
194
197
|
isAnonymousZen
|
|
195
|
-
} from "./chunk-
|
|
198
|
+
} from "./chunk-VIJFICIC.js";
|
|
196
199
|
import {
|
|
197
200
|
isOfferableModel
|
|
198
201
|
} from "./chunk-4QIWRKJO.js";
|
|
199
202
|
import "./chunk-G6YSAHKC.js";
|
|
200
203
|
import "./chunk-KTPFUCRU.js";
|
|
201
204
|
import "./chunk-RI2KAZJO.js";
|
|
202
|
-
import "./chunk-
|
|
203
|
-
import "./chunk-
|
|
204
|
-
import "./chunk-
|
|
205
|
+
import "./chunk-H32MIHLE.js";
|
|
206
|
+
import "./chunk-RZXNXGRE.js";
|
|
207
|
+
import "./chunk-YU65OZTC.js";
|
|
205
208
|
import {
|
|
206
209
|
canonicalProjectPath
|
|
207
210
|
} from "./chunk-JORONMD3.js";
|
|
208
|
-
import "./chunk-
|
|
209
|
-
import "./chunk-
|
|
211
|
+
import "./chunk-5HS5WIS3.js";
|
|
212
|
+
import "./chunk-WWC6L5WC.js";
|
|
210
213
|
import {
|
|
211
214
|
ACPServer,
|
|
212
215
|
DiskLogMedium,
|
|
@@ -228,6 +231,7 @@ import {
|
|
|
228
231
|
createHarnessSession,
|
|
229
232
|
createPalActivitySource,
|
|
230
233
|
createUserMessage,
|
|
234
|
+
currentPlace,
|
|
231
235
|
discoverAllPluginDirs,
|
|
232
236
|
dryRunEdit,
|
|
233
237
|
generateSessionId,
|
|
@@ -236,12 +240,14 @@ import {
|
|
|
236
240
|
loadPluginManifest,
|
|
237
241
|
mustAskPerson,
|
|
238
242
|
openSessionIndex,
|
|
243
|
+
parseTurnHolder,
|
|
239
244
|
parseTurnOutcome,
|
|
240
245
|
resolveNamzuHome,
|
|
241
246
|
resolveWithinAnyReal,
|
|
242
247
|
resolveWithinReal,
|
|
243
|
-
selectAssistantText
|
|
244
|
-
|
|
248
|
+
selectAssistantText,
|
|
249
|
+
turnHolder
|
|
250
|
+
} from "./chunk-EK74R563.js";
|
|
245
251
|
import {
|
|
246
252
|
__name,
|
|
247
253
|
__toESM
|
|
@@ -4173,6 +4179,56 @@ function withCliHarnesses(base, directory, deps = createDefaults()) {
|
|
|
4173
4179
|
__name(withCliHarnesses, "withCliHarnesses");
|
|
4174
4180
|
|
|
4175
4181
|
// src/commands/acp-provider-retry.ts
|
|
4182
|
+
var HOST_GONE_REASON = "The host that was running this reply went away before it finished.";
|
|
4183
|
+
function holderIsGone(holder, turnId, probe = pidIsAlive, place = currentPlace()) {
|
|
4184
|
+
const parsed = parseTurnHolder(holder);
|
|
4185
|
+
if (!parsed || parsed.turnId !== turnId) return false;
|
|
4186
|
+
if (parsed.place === void 0 || parsed.place !== place) return false;
|
|
4187
|
+
if (parsed.pid <= 0 || parsed.pid === process.pid) return false;
|
|
4188
|
+
return !probe(parsed.pid);
|
|
4189
|
+
}
|
|
4190
|
+
__name(holderIsGone, "holderIsGone");
|
|
4191
|
+
function pidIsAlive(pid) {
|
|
4192
|
+
try {
|
|
4193
|
+
process.kill(pid, 0);
|
|
4194
|
+
return true;
|
|
4195
|
+
} catch (error) {
|
|
4196
|
+
return error.code !== "ESRCH";
|
|
4197
|
+
}
|
|
4198
|
+
}
|
|
4199
|
+
__name(pidIsAlive, "pidIsAlive");
|
|
4200
|
+
async function settleTurnOfGoneHost(state, sessionId, close, isGone = holderIsGone) {
|
|
4201
|
+
const id2 = asSessionId(sessionId);
|
|
4202
|
+
const facts = await readConversationFacts(state, id2);
|
|
4203
|
+
const active = facts?.activeTurn;
|
|
4204
|
+
if (!active || active.paused) return false;
|
|
4205
|
+
if (facts.latestPause(active.turnId) || facts.wasResumed(active.turnId)) return false;
|
|
4206
|
+
const log = DiskSessionLog.at(state.paths, { sessionId: id2 });
|
|
4207
|
+
const held = await log.lease();
|
|
4208
|
+
const killed = held !== null && held.holder !== "" && isGone(held.holder, active.turnId) ? held : null;
|
|
4209
|
+
const current = await log.activeTurn(killed ? { now: killed.expiresAt } : {});
|
|
4210
|
+
if (!current || current.turnId !== active.turnId || current.state !== "interrupted") return false;
|
|
4211
|
+
try {
|
|
4212
|
+
if (killed) {
|
|
4213
|
+
const lease = await log.claim({
|
|
4214
|
+
holder: turnHolder(id2),
|
|
4215
|
+
ttlMs: 3e4,
|
|
4216
|
+
now: killed.expiresAt
|
|
4217
|
+
});
|
|
4218
|
+
if (!lease) return false;
|
|
4219
|
+
try {
|
|
4220
|
+
await log.abandonTurn(lease, asTurnId(active.turnId), HOST_GONE_REASON);
|
|
4221
|
+
} finally {
|
|
4222
|
+
await log.release(lease).catch(() => void 0);
|
|
4223
|
+
}
|
|
4224
|
+
} else if (close) await close(active.turnId, HOST_GONE_REASON);
|
|
4225
|
+
else await abandonTurn(id2, asTurnId(active.turnId), HOST_GONE_REASON, { log });
|
|
4226
|
+
} catch {
|
|
4227
|
+
return false;
|
|
4228
|
+
}
|
|
4229
|
+
return true;
|
|
4230
|
+
}
|
|
4231
|
+
__name(settleTurnOfGoneHost, "settleTurnOfGoneHost");
|
|
4176
4232
|
async function readProviderRetryStatus(state, sessionId) {
|
|
4177
4233
|
const id2 = asSessionId(sessionId);
|
|
4178
4234
|
const facts = await readConversationFacts(state, id2);
|
|
@@ -4678,6 +4734,22 @@ var SETTING_DESCRIPTORS = [
|
|
|
4678
4734
|
pick("unrestricted", "small", "medium", "large"),
|
|
4679
4735
|
{ defaultText: "medium" }
|
|
4680
4736
|
),
|
|
4737
|
+
d(
|
|
4738
|
+
"goal.confirmedBy",
|
|
4739
|
+
"agent",
|
|
4740
|
+
"What ends a goal",
|
|
4741
|
+
"model: the model saying it is done ends a goal. record: Namzu reads the record of the work first, and a goal ends as confirmed, stated and not checked, or not confirmed.",
|
|
4742
|
+
pick("model", "record"),
|
|
4743
|
+
{ defaultText: "model (intended to become record in a later major release)" }
|
|
4744
|
+
),
|
|
4745
|
+
d(
|
|
4746
|
+
"handBack.enabled",
|
|
4747
|
+
"agent",
|
|
4748
|
+
"Let the model hand a task back",
|
|
4749
|
+
"The model may stop and hand the task back to a person when it cannot be done as specified, instead of forcing a result. Adds one tool and a short paragraph to the prompt.",
|
|
4750
|
+
on,
|
|
4751
|
+
{ defaultText: "off" }
|
|
4752
|
+
),
|
|
4681
4753
|
d(
|
|
4682
4754
|
"toolResultScreens",
|
|
4683
4755
|
"agent",
|
|
@@ -6274,16 +6346,6 @@ function undoResolutions(value) {
|
|
|
6274
6346
|
return out;
|
|
6275
6347
|
}
|
|
6276
6348
|
__name(undoResolutions, "undoResolutions");
|
|
6277
|
-
function storedAssistantPhase(message) {
|
|
6278
|
-
const parts = message.textParts;
|
|
6279
|
-
if (!parts?.length || typeof message.content !== "string") return void 0;
|
|
6280
|
-
if (selectAssistantText(parts) !== message.content) return void 0;
|
|
6281
|
-
const finals = parts.filter((part) => part.phase === "final_answer");
|
|
6282
|
-
const selected = finals.length ? finals : parts;
|
|
6283
|
-
const phase = selected[0]?.phase;
|
|
6284
|
-
return phase && selected.every((part) => part.phase === phase) ? phase : void 0;
|
|
6285
|
-
}
|
|
6286
|
-
__name(storedAssistantPhase, "storedAssistantPhase");
|
|
6287
6349
|
function recordedMessageTimes(records) {
|
|
6288
6350
|
const starts = /* @__PURE__ */ new Map();
|
|
6289
6351
|
const messages = /* @__PURE__ */ new Map();
|
|
@@ -8282,6 +8344,8 @@ function createCliAcpRuntime(bootstrapCtx, deps = DEFAULT_RUNTIME_DEPS, runtimeO
|
|
|
8282
8344
|
};
|
|
8283
8345
|
const inputInbox = liveInbox;
|
|
8284
8346
|
const monitorSnapshot = record2.session.monitors?.peek() ?? { ids: [] };
|
|
8347
|
+
if (record2.conversations)
|
|
8348
|
+
await settleTurnOfGoneHost(record2.conversations, sessionId).catch(() => false);
|
|
8285
8349
|
const undoNote = undoNotes.get(sessionId)?.join("\n\n");
|
|
8286
8350
|
undoNotes.delete(sessionId);
|
|
8287
8351
|
for await (const event of record2.session.send(messages, {
|
|
@@ -8610,6 +8674,11 @@ function createCliAcpRuntime(bootstrapCtx, deps = DEFAULT_RUNTIME_DEPS, runtimeO
|
|
|
8610
8674
|
try {
|
|
8611
8675
|
assertReadTrust(trust.cwd, state);
|
|
8612
8676
|
const binding = await deps.palBinding?.(trust.cwd, target.sessionId, state);
|
|
8677
|
+
await settleTurnOfGoneHost(
|
|
8678
|
+
state,
|
|
8679
|
+
target.sessionId,
|
|
8680
|
+
record2?.session.abandonTurn ? async (turnId, reason) => record2.session.abandonTurn?.(asTurnId(turnId), reason, { withdrawMessages: false }) : void 0
|
|
8681
|
+
);
|
|
8613
8682
|
const status = await (deps.readRetryStatus ?? readProviderRetryStatus)(
|
|
8614
8683
|
state,
|
|
8615
8684
|
target.sessionId
|
|
@@ -9111,4 +9180,4 @@ export {
|
|
|
9111
9180
|
resolveAcpSession,
|
|
9112
9181
|
runAcpCommand
|
|
9113
9182
|
};
|
|
9114
|
-
//# sourceMappingURL=acp-
|
|
9183
|
+
//# sourceMappingURL=acp-YH3ORAMX.js.map
|