@namzu/cli 39.2.0 → 40.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +80 -0
- package/dist/bin.js +1 -1
- package/dist/checkpoints/manifest.d.ts +7 -0
- package/dist/checkpoints/manifest.d.ts.map +1 -1
- package/dist/checkpoints/rewind-stats.d.ts +31 -0
- package/dist/checkpoints/rewind-stats.d.ts.map +1 -0
- package/dist/checkpoints/store.d.ts +24 -3
- package/dist/checkpoints/store.d.ts.map +1 -1
- package/dist/chunks/{acp-OOJ6EBDV.js → acp-E7XNZWFV.js} +40 -39
- package/dist/chunks/acp-E7XNZWFV.js.map +6 -0
- package/dist/chunks/{activity-command-H7YPFJXX.js → activity-command-QANVT2PA.js} +13 -12
- package/dist/chunks/activity-command-QANVT2PA.js.map +6 -0
- package/dist/chunks/{add-E46I4MLS.js → add-VDRMBSNZ.js} +20 -18
- package/dist/chunks/add-VDRMBSNZ.js.map +6 -0
- package/dist/chunks/{agent-A3IFU43K.js → agent-PPQJZWBO.js} +31 -30
- package/dist/chunks/agent-session-PISYPFO2.js +54 -0
- package/dist/chunks/{archive-FWKUN3JD.js → archive-SH4IG6KC.js} +11 -10
- package/dist/chunks/archive-SH4IG6KC.js.map +6 -0
- package/dist/chunks/{bin-main-YOWKMTAT.js → bin-main-D45Q7FMM.js} +5 -4
- package/dist/chunks/bin-main-D45Q7FMM.js.map +6 -0
- package/dist/chunks/{browser-ZISCIIZG.js → browser-EUFWHKYD.js} +6 -6
- package/dist/chunks/{chat-JNYLC4XC.js → chat-QDWGHEEL.js} +14 -14
- package/dist/chunks/{chunk-D24BFQ2R.js → chunk-2I3Z65TV.js} +13 -13
- package/dist/chunks/{chunk-62GB6STC.js → chunk-4HUZHYCY.js} +4 -4
- package/dist/chunks/{chunk-2SPJH5HF.js → chunk-53GEER6F.js} +3 -3
- package/dist/chunks/{chunk-7T6O6HZO.js → chunk-5HSG2XFD.js} +2 -2
- package/dist/chunks/{chunk-JPWIGZJ4.js → chunk-6PAE7AWD.js} +2 -2
- package/dist/chunks/{chunk-SN4RRU3A.js → chunk-6UDJ3PVE.js} +7 -7
- package/dist/chunks/{chunk-D57LFZYV.js → chunk-73G5WDGM.js} +3 -3
- package/dist/chunks/{chunk-BD7DGINR.js → chunk-7M6IZGAK.js} +58 -12
- package/dist/chunks/chunk-7M6IZGAK.js.map +6 -0
- package/dist/chunks/{chunk-JBI7VU5W.js → chunk-AHPIP5IE.js} +2 -2
- package/dist/chunks/{chunk-JC37Z4C2.js → chunk-AQL5A442.js} +10 -4
- package/dist/chunks/{chunk-JC37Z4C2.js.map → chunk-AQL5A442.js.map} +1 -1
- package/dist/chunks/{chunk-FEANPQH4.js → chunk-AUFSSABF.js} +3 -3
- package/dist/chunks/{chunk-5ED3H3C7.js → chunk-BJNHDKU6.js} +2 -2
- package/dist/chunks/{chunk-ARILZQYC.js → chunk-BQ7PN64G.js} +10 -10
- package/dist/chunks/{chunk-ARILZQYC.js.map → chunk-BQ7PN64G.js.map} +1 -1
- package/dist/chunks/{chunk-5Y3XJ2QD.js → chunk-BZ4U5L7N.js} +9 -9
- package/dist/chunks/{chunk-XJMHPZGJ.js → chunk-BZJNXGWW.js} +5 -5
- package/dist/chunks/{chunk-K2WHGUA7.js → chunk-C3APHRQB.js} +2 -2
- package/dist/chunks/{chunk-5WZ63LBF.js → chunk-C3ZJQLUX.js} +2 -2
- package/dist/chunks/{chunk-J3JUC6J6.js → chunk-C723P7SP.js} +6 -6
- package/dist/chunks/{chunk-RKMGVFLZ.js → chunk-D63T5UQN.js} +584 -45
- package/dist/chunks/chunk-D63T5UQN.js.map +6 -0
- package/dist/chunks/{chunk-YN5PDLFB.js → chunk-DGV5W2BU.js} +3 -3
- package/dist/chunks/{chunk-DJCBJ4D2.js → chunk-DWSATEAY.js} +2 -2
- package/dist/chunks/{chunk-ZGL3HYDE.js → chunk-EKFNDKPO.js} +3 -3
- package/dist/chunks/{chunk-KONYGNG6.js → chunk-EUBCYTOK.js} +3 -152
- package/dist/chunks/chunk-EUBCYTOK.js.map +6 -0
- package/dist/chunks/{chunk-LNANLHGE.js → chunk-FBY4LGL7.js} +3 -3
- package/dist/chunks/chunk-G6LK7V7F.js +440 -0
- package/dist/chunks/chunk-G6LK7V7F.js.map +6 -0
- package/dist/chunks/{chunk-XRLM7PL2.js → chunk-GDVYFXOR.js} +12 -12
- package/dist/chunks/{chunk-P5GCOEET.js → chunk-GTWNJ7GL.js} +4 -4
- package/dist/chunks/{chunk-UJ7NTALX.js → chunk-HBDBVQ3R.js} +12 -12
- package/dist/chunks/{chunk-BTSYFCBK.js → chunk-HLYTSH5W.js} +2 -2
- package/dist/chunks/{chunk-TAWI7GF2.js → chunk-HPLVGTBH.js} +2 -2
- package/dist/chunks/{chunk-FCM3BH55.js → chunk-I7LUF577.js} +11 -5
- package/dist/chunks/chunk-I7LUF577.js.map +6 -0
- package/dist/chunks/{chunk-KG5YQMJ7.js → chunk-IAL3F2OI.js} +8 -8
- package/dist/chunks/{chunk-KYEHKRUB.js → chunk-ILTHOMHL.js} +4 -4
- package/dist/chunks/{chunk-EEDZOGV4.js → chunk-IYUW2RAA.js} +27 -2
- package/dist/chunks/chunk-IYUW2RAA.js.map +6 -0
- package/dist/chunks/{chunk-CWFDC3IX.js → chunk-JAHVXTO4.js} +2 -2
- package/dist/chunks/{chunk-L4M6ZSF6.js → chunk-KKYIGLKI.js} +4 -4
- package/dist/chunks/{chunk-A2PPMNCN.js → chunk-KOYEUNX7.js} +5 -5
- package/dist/chunks/{chunk-S7HFDW5W.js → chunk-KWRJTEV5.js} +3 -3
- package/dist/chunks/{chunk-EWD65LWA.js → chunk-L2GX4GAQ.js} +2 -2
- package/dist/chunks/{chunk-M3TJHQF7.js → chunk-LFI6O7WL.js} +5 -5
- package/dist/chunks/{chunk-6E2F73CY.js → chunk-LM3W6AEK.js} +2 -2
- package/dist/chunks/{chunk-IYPP6HSK.js → chunk-O2B3B2TM.js} +1 -6
- package/dist/chunks/chunk-O2B3B2TM.js.map +6 -0
- package/dist/chunks/{chunk-DEYB7GQW.js → chunk-O3L5C2WT.js} +2 -2
- package/dist/chunks/{chunk-AJMJHLWZ.js → chunk-PXKXXNFU.js} +2 -2
- package/dist/chunks/{chunk-KVYTZCCO.js → chunk-QPEGCKRA.js} +2 -2
- package/dist/chunks/{chunk-TQ2PH66J.js → chunk-R7XQP4PZ.js} +3 -3
- package/dist/chunks/{chunk-COI6QKBD.js → chunk-RAS4ZA5C.js} +5 -5
- package/dist/chunks/chunk-RLMKDLGK.js +3604 -0
- package/dist/chunks/chunk-RLMKDLGK.js.map +6 -0
- package/dist/chunks/{chunk-FZZU6FGO.js → chunk-RVNLS4BN.js} +2 -2
- package/dist/chunks/{chunk-DQIPEDOM.js → chunk-RVSGU3JS.js} +2 -2
- package/dist/chunks/{chunk-MD7SYK6K.js → chunk-SOE4Q55L.js} +2 -2
- package/dist/chunks/{chunk-2ZRQG2PH.js → chunk-SUDXOGE6.js} +29 -29
- package/dist/chunks/{chunk-DK6MIKJ5.js → chunk-T6INV7EZ.js} +7 -7
- package/dist/chunks/{chunk-AZCFI7C6.js → chunk-TTDBVPB2.js} +4240 -3641
- package/dist/chunks/chunk-TTDBVPB2.js.map +6 -0
- package/dist/chunks/{chunk-OIRKBC2L.js → chunk-U5KONGAN.js} +3 -3
- package/dist/chunks/{chunk-RGCA3YZA.js → chunk-U5PL5D27.js} +3 -3
- package/dist/chunks/{chunk-AXCOWIIH.js → chunk-U5UV2YRE.js} +2 -139
- package/dist/chunks/chunk-U5UV2YRE.js.map +6 -0
- package/dist/chunks/{chunk-65L26A6S.js → chunk-WYULBUCG.js} +4 -4
- package/dist/chunks/{chunk-AWDFNOGP.js → chunk-X54VNEWE.js} +2 -2
- package/dist/chunks/{chunk-VPDXH3ZZ.js → chunk-XDGIOXTU.js} +156 -3
- package/dist/chunks/chunk-XDGIOXTU.js.map +6 -0
- package/dist/chunks/{chunk-Q733LA67.js → chunk-XLGTH7JD.js} +4 -4
- package/dist/chunks/chunk-XPS3W7FC.js +147 -0
- package/dist/chunks/chunk-XPS3W7FC.js.map +6 -0
- package/dist/chunks/chunk-XSCT3DLE.js +161 -0
- package/dist/chunks/chunk-XSCT3DLE.js.map +6 -0
- package/dist/chunks/{chunk-52NW6KXV.js → chunk-YTEGBYGL.js} +4 -4
- package/dist/chunks/{chunk-U4A4C4GE.js → chunk-ZPIHARMI.js} +4 -4
- package/dist/chunks/{cli-runtime-KFHNZS4M.js → cli-runtime-YD7OZGEU.js} +16 -14
- package/dist/chunks/cli-runtime-YD7OZGEU.js.map +6 -0
- package/dist/chunks/{commands-7FSE67S7.js → commands-5P4RLRXG.js} +5 -5
- package/dist/chunks/{crash-report-5S6I2H4P.js → crash-report-F5G32A7S.js} +9 -8
- package/dist/chunks/{dist-BMP4NVQA.js → dist-6O3HSFZP.js} +2 -2
- package/dist/chunks/{dist-VMJECBAZ.js → dist-7B6PZO7C.js} +2 -2
- package/dist/chunks/{dist-ZHD7MSXC.js → dist-DFLFYX3A.js} +2 -2
- package/dist/chunks/{dist-MLM3PBXB.js → dist-SX66KAH4.js} +2 -2
- package/dist/chunks/{dist-KGS4QDJL.js → dist-WB355CNL.js} +44 -16
- package/dist/chunks/dist-WB355CNL.js.map +6 -0
- package/dist/chunks/{dist-2QEEO2BO.js → dist-Y6SGSSMO.js} +2 -2
- package/dist/chunks/{dist-EC2S5MA6.js → dist-ZAGIMP7N.js} +2 -2
- package/dist/chunks/{doctor-P67RCEDL.js → doctor-2AOB47IO.js} +8 -8
- package/dist/chunks/{drain-GXTL5M2V.js → drain-M6AGCMJX.js} +10 -10
- package/dist/chunks/{eval-TGCAUXM6.js → eval-YHY3VO7B.js} +2 -2
- package/dist/chunks/{exec-KGTWE4LA.js → exec-KCISQ4M7.js} +33 -28
- package/dist/chunks/exec-KCISQ4M7.js.map +6 -0
- package/dist/chunks/{home-PZO47UU7.js → home-AC5LQKDR.js} +3 -3
- package/dist/chunks/{host-queries-QOFBCKMJ.js → host-queries-YQVRKUWC.js} +14 -14
- package/dist/chunks/{lifecycle-DPH2KOCH.js → lifecycle-CQXCTLAZ.js} +28 -26
- package/dist/chunks/{list-ILFBHQS7.js → list-LNKKJZSZ.js} +16 -14
- package/dist/chunks/list-LNKKJZSZ.js.map +6 -0
- package/dist/chunks/{login-EUEB5HLK.js → login-YA652CIL.js} +8 -8
- package/dist/chunks/{logs-F2II4CCT.js → logs-2PREHSOD.js} +4 -4
- package/dist/chunks/{mcp-KPJ7KVE4.js → mcp-WJB2UVQW.js} +21 -19
- package/dist/chunks/mcp-WJB2UVQW.js.map +6 -0
- package/dist/chunks/{message-command-I3J5NA35.js → message-command-IXUASFZO.js} +37 -36
- package/dist/chunks/message-command-IXUASFZO.js.map +6 -0
- package/dist/chunks/{operator-tools-2SI6AFFF.js → operator-tools-QOZZZVEC.js} +12 -12
- package/dist/chunks/{output-schema-PJNYSOO5.js → output-schema-JTPOC3NL.js} +3 -3
- package/dist/chunks/{pal-7ILZQGYB.js → pal-FNSNP47Q.js} +13 -12
- package/dist/chunks/pal-FNSNP47Q.js.map +6 -0
- package/dist/chunks/{providers-MD4HAS6J.js → providers-M5HWW7DH.js} +6 -6
- package/dist/chunks/{resident-HVI3YGHH.js → resident-R2RCAHYR.js} +24 -22
- package/dist/chunks/resident-R2RCAHYR.js.map +6 -0
- package/dist/chunks/resume-UKK4HVCO.js +22 -0
- package/dist/chunks/{resume-command-EVY3VMMM.js → resume-command-LPN33FIF.js} +6 -5
- package/dist/chunks/{schedule-QCGOB5T2.js → schedule-J2IY3SVE.js} +8 -8
- package/dist/chunks/{service-MVQA56RE.js → service-LEAVOYGP.js} +27 -25
- package/dist/chunks/service-LEAVOYGP.js.map +6 -0
- package/dist/chunks/session-step-2B46NVE7.js +30 -0
- package/dist/chunks/{skills-MTR3YGWW.js → skills-X2V3TNTK.js} +10 -9
- package/dist/chunks/skills-X2V3TNTK.js.map +6 -0
- package/dist/chunks/{state-5GSLSGR2.js → state-VDTYWZ5S.js} +4 -3
- package/dist/chunks/state-VDTYWZ5S.js.map +6 -0
- package/dist/chunks/{store-P2I5OF2S.js → store-C27Q22UV.js} +4 -4
- package/dist/chunks/{store-SQUUV4YQ.js → store-DRPRQLDD.js} +9 -9
- package/dist/chunks/{store-UMSGE2UE.js → store-S4QRR5DH.js} +6 -6
- package/dist/chunks/{tui-5EKXXN5S.js → tui-RU6CRMLX.js} +13396 -11956
- package/dist/chunks/tui-RU6CRMLX.js.map +6 -0
- package/dist/chunks/{upgrade-OZE2Z2OV.js → upgrade-I2GMLDWZ.js} +3 -4
- package/dist/chunks/upgrade-I2GMLDWZ.js.map +6 -0
- package/dist/chunks/{worktree-452AXJPV.js → worktree-F632OJNE.js} +13 -12
- package/dist/chunks/worktree-F632OJNE.js.map +6 -0
- package/dist/config/load.d.ts +6 -1
- package/dist/config/load.d.ts.map +1 -1
- package/dist/config/schema.d.ts +45 -0
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/config/user-config.d.ts.map +1 -1
- package/dist/index.js +16 -14
- package/dist/integrations/compaction/idle-compaction.d.ts +84 -0
- package/dist/integrations/compaction/idle-compaction.d.ts.map +1 -0
- package/dist/integrations/providers/prompt-cache-ttl.d.ts +14 -0
- package/dist/integrations/providers/prompt-cache-ttl.d.ts.map +1 -0
- package/dist/integrations/resident/runner-worker.js +20 -19
- package/dist/integrations/resident/runner-worker.js.map +1 -1
- package/dist/integrations/sessions/recap.d.ts +56 -0
- package/dist/integrations/sessions/recap.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/subagents/runtime.d.ts.map +1 -1
- package/dist/memory/typed.d.ts +11 -0
- package/dist/memory/typed.d.ts.map +1 -1
- package/dist/tui/App.d.ts +17 -1
- package/dist/tui/App.d.ts.map +1 -1
- package/dist/tui/BrandHeader.d.ts.map +1 -1
- package/dist/tui/Checklist.d.ts +2 -0
- package/dist/tui/Checklist.d.ts.map +1 -1
- package/dist/tui/ChoicePicker.d.ts +4 -1
- package/dist/tui/ChoicePicker.d.ts.map +1 -1
- package/dist/tui/Composer.d.ts +15 -3
- package/dist/tui/Composer.d.ts.map +1 -1
- package/dist/tui/ComposerFrame.d.ts.map +1 -1
- package/dist/tui/ContextGridRow.d.ts +6 -0
- package/dist/tui/ContextGridRow.d.ts.map +1 -0
- package/dist/tui/LiveActivity.d.ts +9 -1
- package/dist/tui/LiveActivity.d.ts.map +1 -1
- package/dist/tui/Markdown.d.ts.map +1 -1
- package/dist/tui/ReadSearchGroup.d.ts +14 -0
- package/dist/tui/ReadSearchGroup.d.ts.map +1 -0
- package/dist/tui/RewindPicker.d.ts +14 -0
- package/dist/tui/RewindPicker.d.ts.map +1 -0
- package/dist/tui/StatusBar.d.ts +31 -12
- package/dist/tui/StatusBar.d.ts.map +1 -1
- package/dist/tui/ThemeSample.d.ts +5 -0
- package/dist/tui/ThemeSample.d.ts.map +1 -0
- package/dist/tui/Transcript.d.ts +13 -0
- package/dist/tui/Transcript.d.ts.map +1 -1
- package/dist/tui/TranscriptScreen.d.ts +24 -0
- package/dist/tui/TranscriptScreen.d.ts.map +1 -0
- package/dist/tui/agent-transcript-rows.d.ts.map +1 -1
- package/dist/tui/agent-view-commands.d.ts.map +1 -1
- package/dist/tui/agent.d.ts +62 -1
- package/dist/tui/agent.d.ts.map +1 -1
- package/dist/tui/away-recap.d.ts +73 -0
- package/dist/tui/away-recap.d.ts.map +1 -0
- package/dist/tui/context-grid.d.ts +121 -0
- package/dist/tui/context-grid.d.ts.map +1 -0
- package/dist/tui/context-meter.d.ts +9 -0
- package/dist/tui/context-meter.d.ts.map +1 -1
- package/dist/tui/context-usage.d.ts +70 -0
- package/dist/tui/context-usage.d.ts.map +1 -0
- package/dist/tui/diff-view.d.ts +1 -1
- package/dist/tui/edit-prompts.d.ts.map +1 -1
- package/dist/tui/focus-reporting.d.ts +45 -0
- package/dist/tui/focus-reporting.d.ts.map +1 -0
- package/dist/tui/group-rows.d.ts +10 -0
- package/dist/tui/group-rows.d.ts.map +1 -0
- package/dist/tui/index.d.ts.map +1 -1
- package/dist/tui/live-window.d.ts +5 -8
- package/dist/tui/live-window.d.ts.map +1 -1
- package/dist/tui/logo.d.ts +0 -1
- package/dist/tui/logo.d.ts.map +1 -1
- package/dist/tui/motion.d.ts +14 -0
- package/dist/tui/motion.d.ts.map +1 -0
- package/dist/tui/next-task.d.ts +11 -0
- package/dist/tui/next-task.d.ts.map +1 -0
- package/dist/tui/notifications.d.ts +69 -0
- package/dist/tui/notifications.d.ts.map +1 -0
- package/dist/tui/plain-interruption.d.ts +1 -1
- package/dist/tui/plain-interruption.d.ts.map +1 -1
- package/dist/tui/read-search-group.d.ts +97 -0
- package/dist/tui/read-search-group.d.ts.map +1 -0
- package/dist/tui/recap-setting.d.ts +36 -0
- package/dist/tui/recap-setting.d.ts.map +1 -0
- package/dist/tui/recap-turns.d.ts +13 -0
- package/dist/tui/recap-turns.d.ts.map +1 -0
- package/dist/tui/restored-rows.d.ts.map +1 -1
- package/dist/tui/rewind.d.ts +142 -0
- package/dist/tui/rewind.d.ts.map +1 -0
- package/dist/tui/slashCommands.d.ts +45 -0
- package/dist/tui/slashCommands.d.ts.map +1 -1
- package/dist/tui/spinner-tips-setting.d.ts +10 -0
- package/dist/tui/spinner-tips-setting.d.ts.map +1 -0
- package/dist/tui/spinner-tips.d.ts +39 -0
- package/dist/tui/spinner-tips.d.ts.map +1 -0
- package/dist/tui/stale-history-retry.d.ts +17 -0
- package/dist/tui/stale-history-retry.d.ts.map +1 -0
- package/dist/tui/system-rows.d.ts +4 -0
- package/dist/tui/system-rows.d.ts.map +1 -1
- package/dist/tui/terminal-display.d.ts +7 -0
- package/dist/tui/terminal-display.d.ts.map +1 -1
- package/dist/tui/terminal-focus.d.ts +29 -0
- package/dist/tui/terminal-focus.d.ts.map +1 -0
- package/dist/tui/terminal-title.d.ts +19 -0
- package/dist/tui/terminal-title.d.ts.map +1 -1
- package/dist/tui/theme-command.d.ts +20 -0
- package/dist/tui/theme-command.d.ts.map +1 -0
- package/dist/tui/theme-detect.d.ts +41 -0
- package/dist/tui/theme-detect.d.ts.map +1 -0
- package/dist/tui/theme-launch.d.ts +16 -0
- package/dist/tui/theme-launch.d.ts.map +1 -0
- package/dist/tui/theme-palettes.d.ts +121 -0
- package/dist/tui/theme-palettes.d.ts.map +1 -0
- package/dist/tui/theme-store.d.ts +35 -0
- package/dist/tui/theme-store.d.ts.map +1 -0
- package/dist/tui/theme.d.ts +35 -64
- package/dist/tui/theme.d.ts.map +1 -1
- package/dist/tui/tidy-tool-output.d.ts +17 -0
- package/dist/tui/tidy-tool-output.d.ts.map +1 -1
- package/dist/tui/tip-history.d.ts +25 -0
- package/dist/tui/tip-history.d.ts.map +1 -0
- package/dist/tui/title-frame.d.ts +7 -0
- package/dist/tui/title-frame.d.ts.map +1 -0
- package/dist/tui/tool-end-rows.d.ts +4 -1
- package/dist/tui/tool-end-rows.d.ts.map +1 -1
- package/dist/tui/tool-failure-text.d.ts.map +1 -1
- package/dist/tui/transcript-screen.d.ts +31 -0
- package/dist/tui/transcript-screen.d.ts.map +1 -0
- package/dist/tui/transcript-scroll.d.ts.map +1 -1
- package/dist/tui/types.d.ts +26 -1
- package/dist/tui/types.d.ts.map +1 -1
- package/dist/tui/update-notice.d.ts +12 -0
- package/dist/tui/update-notice.d.ts.map +1 -0
- package/dist/tui/use-idle-compaction.d.ts +29 -0
- package/dist/tui/use-idle-compaction.d.ts.map +1 -0
- package/dist/tui/use-spinner-tip.d.ts +23 -0
- package/dist/tui/use-spinner-tip.d.ts.map +1 -0
- package/dist/tui/useNotifications.d.ts +14 -0
- package/dist/tui/useNotifications.d.ts.map +1 -0
- package/dist/tui/useReadSearchGroup.d.ts +21 -0
- package/dist/tui/useReadSearchGroup.d.ts.map +1 -0
- package/package.json +8 -8
- package/skills/browser-automation/SKILL.md +2 -2
- package/skills/schedule-task/SKILL.md +7 -7
- package/skills/skill-creator/SKILL.md +1 -1
- package/dist/chunks/acp-OOJ6EBDV.js.map +0 -6
- package/dist/chunks/activity-command-H7YPFJXX.js.map +0 -6
- package/dist/chunks/add-E46I4MLS.js.map +0 -6
- package/dist/chunks/agent-session-V7NDZWPF.js +0 -53
- package/dist/chunks/archive-FWKUN3JD.js.map +0 -6
- package/dist/chunks/bin-main-YOWKMTAT.js.map +0 -6
- package/dist/chunks/chunk-AXCOWIIH.js.map +0 -6
- package/dist/chunks/chunk-AZCFI7C6.js.map +0 -6
- package/dist/chunks/chunk-BD7DGINR.js.map +0 -6
- package/dist/chunks/chunk-BVUYBGWV.js +0 -1796
- package/dist/chunks/chunk-BVUYBGWV.js.map +0 -6
- package/dist/chunks/chunk-CDYUGK7F.js +0 -70
- package/dist/chunks/chunk-CDYUGK7F.js.map +0 -6
- package/dist/chunks/chunk-EEDZOGV4.js.map +0 -6
- package/dist/chunks/chunk-FCM3BH55.js.map +0 -6
- package/dist/chunks/chunk-IYPP6HSK.js.map +0 -6
- package/dist/chunks/chunk-KONYGNG6.js.map +0 -6
- package/dist/chunks/chunk-QGU3QOXI.js +0 -111
- package/dist/chunks/chunk-QGU3QOXI.js.map +0 -6
- package/dist/chunks/chunk-RKMGVFLZ.js.map +0 -6
- package/dist/chunks/chunk-VPDXH3ZZ.js.map +0 -6
- package/dist/chunks/cli-runtime-KFHNZS4M.js.map +0 -6
- package/dist/chunks/dist-KGS4QDJL.js.map +0 -6
- package/dist/chunks/exec-KGTWE4LA.js.map +0 -6
- package/dist/chunks/list-ILFBHQS7.js.map +0 -6
- package/dist/chunks/mcp-KPJ7KVE4.js.map +0 -6
- package/dist/chunks/message-command-I3J5NA35.js.map +0 -6
- package/dist/chunks/pal-7ILZQGYB.js.map +0 -6
- package/dist/chunks/resident-HVI3YGHH.js.map +0 -6
- package/dist/chunks/resume-R2OYMKYY.js +0 -22
- package/dist/chunks/service-MVQA56RE.js.map +0 -6
- package/dist/chunks/session-step-XAOTLL4U.js +0 -29
- package/dist/chunks/skills-MTR3YGWW.js.map +0 -6
- package/dist/chunks/state-5GSLSGR2.js.map +0 -6
- package/dist/chunks/tui-5EKXXN5S.js.map +0 -6
- package/dist/chunks/upgrade-OZE2Z2OV.js.map +0 -6
- package/dist/chunks/worktree-452AXJPV.js.map +0 -6
- package/dist/tui/EditPromptPicker.d.ts +0 -8
- package/dist/tui/EditPromptPicker.d.ts.map +0 -1
- package/dist/tui/ToolOutputViewer.d.ts +0 -11
- package/dist/tui/ToolOutputViewer.d.ts.map +0 -1
- /package/dist/chunks/{agent-A3IFU43K.js.map → agent-PPQJZWBO.js.map} +0 -0
- /package/dist/chunks/{agent-session-V7NDZWPF.js.map → agent-session-PISYPFO2.js.map} +0 -0
- /package/dist/chunks/{browser-ZISCIIZG.js.map → browser-EUFWHKYD.js.map} +0 -0
- /package/dist/chunks/{chat-JNYLC4XC.js.map → chat-QDWGHEEL.js.map} +0 -0
- /package/dist/chunks/{chunk-D24BFQ2R.js.map → chunk-2I3Z65TV.js.map} +0 -0
- /package/dist/chunks/{chunk-62GB6STC.js.map → chunk-4HUZHYCY.js.map} +0 -0
- /package/dist/chunks/{chunk-2SPJH5HF.js.map → chunk-53GEER6F.js.map} +0 -0
- /package/dist/chunks/{chunk-7T6O6HZO.js.map → chunk-5HSG2XFD.js.map} +0 -0
- /package/dist/chunks/{chunk-JPWIGZJ4.js.map → chunk-6PAE7AWD.js.map} +0 -0
- /package/dist/chunks/{chunk-SN4RRU3A.js.map → chunk-6UDJ3PVE.js.map} +0 -0
- /package/dist/chunks/{chunk-D57LFZYV.js.map → chunk-73G5WDGM.js.map} +0 -0
- /package/dist/chunks/{chunk-JBI7VU5W.js.map → chunk-AHPIP5IE.js.map} +0 -0
- /package/dist/chunks/{chunk-FEANPQH4.js.map → chunk-AUFSSABF.js.map} +0 -0
- /package/dist/chunks/{chunk-5ED3H3C7.js.map → chunk-BJNHDKU6.js.map} +0 -0
- /package/dist/chunks/{chunk-5Y3XJ2QD.js.map → chunk-BZ4U5L7N.js.map} +0 -0
- /package/dist/chunks/{chunk-XJMHPZGJ.js.map → chunk-BZJNXGWW.js.map} +0 -0
- /package/dist/chunks/{chunk-K2WHGUA7.js.map → chunk-C3APHRQB.js.map} +0 -0
- /package/dist/chunks/{chunk-5WZ63LBF.js.map → chunk-C3ZJQLUX.js.map} +0 -0
- /package/dist/chunks/{chunk-J3JUC6J6.js.map → chunk-C723P7SP.js.map} +0 -0
- /package/dist/chunks/{chunk-YN5PDLFB.js.map → chunk-DGV5W2BU.js.map} +0 -0
- /package/dist/chunks/{chunk-DJCBJ4D2.js.map → chunk-DWSATEAY.js.map} +0 -0
- /package/dist/chunks/{chunk-ZGL3HYDE.js.map → chunk-EKFNDKPO.js.map} +0 -0
- /package/dist/chunks/{chunk-LNANLHGE.js.map → chunk-FBY4LGL7.js.map} +0 -0
- /package/dist/chunks/{chunk-XRLM7PL2.js.map → chunk-GDVYFXOR.js.map} +0 -0
- /package/dist/chunks/{chunk-P5GCOEET.js.map → chunk-GTWNJ7GL.js.map} +0 -0
- /package/dist/chunks/{chunk-UJ7NTALX.js.map → chunk-HBDBVQ3R.js.map} +0 -0
- /package/dist/chunks/{chunk-BTSYFCBK.js.map → chunk-HLYTSH5W.js.map} +0 -0
- /package/dist/chunks/{chunk-TAWI7GF2.js.map → chunk-HPLVGTBH.js.map} +0 -0
- /package/dist/chunks/{chunk-KG5YQMJ7.js.map → chunk-IAL3F2OI.js.map} +0 -0
- /package/dist/chunks/{chunk-KYEHKRUB.js.map → chunk-ILTHOMHL.js.map} +0 -0
- /package/dist/chunks/{chunk-CWFDC3IX.js.map → chunk-JAHVXTO4.js.map} +0 -0
- /package/dist/chunks/{chunk-L4M6ZSF6.js.map → chunk-KKYIGLKI.js.map} +0 -0
- /package/dist/chunks/{chunk-A2PPMNCN.js.map → chunk-KOYEUNX7.js.map} +0 -0
- /package/dist/chunks/{chunk-S7HFDW5W.js.map → chunk-KWRJTEV5.js.map} +0 -0
- /package/dist/chunks/{chunk-EWD65LWA.js.map → chunk-L2GX4GAQ.js.map} +0 -0
- /package/dist/chunks/{chunk-M3TJHQF7.js.map → chunk-LFI6O7WL.js.map} +0 -0
- /package/dist/chunks/{chunk-6E2F73CY.js.map → chunk-LM3W6AEK.js.map} +0 -0
- /package/dist/chunks/{chunk-DEYB7GQW.js.map → chunk-O3L5C2WT.js.map} +0 -0
- /package/dist/chunks/{chunk-AJMJHLWZ.js.map → chunk-PXKXXNFU.js.map} +0 -0
- /package/dist/chunks/{chunk-KVYTZCCO.js.map → chunk-QPEGCKRA.js.map} +0 -0
- /package/dist/chunks/{chunk-TQ2PH66J.js.map → chunk-R7XQP4PZ.js.map} +0 -0
- /package/dist/chunks/{chunk-COI6QKBD.js.map → chunk-RAS4ZA5C.js.map} +0 -0
- /package/dist/chunks/{chunk-FZZU6FGO.js.map → chunk-RVNLS4BN.js.map} +0 -0
- /package/dist/chunks/{chunk-DQIPEDOM.js.map → chunk-RVSGU3JS.js.map} +0 -0
- /package/dist/chunks/{chunk-MD7SYK6K.js.map → chunk-SOE4Q55L.js.map} +0 -0
- /package/dist/chunks/{chunk-2ZRQG2PH.js.map → chunk-SUDXOGE6.js.map} +0 -0
- /package/dist/chunks/{chunk-DK6MIKJ5.js.map → chunk-T6INV7EZ.js.map} +0 -0
- /package/dist/chunks/{chunk-OIRKBC2L.js.map → chunk-U5KONGAN.js.map} +0 -0
- /package/dist/chunks/{chunk-RGCA3YZA.js.map → chunk-U5PL5D27.js.map} +0 -0
- /package/dist/chunks/{chunk-65L26A6S.js.map → chunk-WYULBUCG.js.map} +0 -0
- /package/dist/chunks/{chunk-AWDFNOGP.js.map → chunk-X54VNEWE.js.map} +0 -0
- /package/dist/chunks/{chunk-Q733LA67.js.map → chunk-XLGTH7JD.js.map} +0 -0
- /package/dist/chunks/{chunk-52NW6KXV.js.map → chunk-YTEGBYGL.js.map} +0 -0
- /package/dist/chunks/{chunk-U4A4C4GE.js.map → chunk-ZPIHARMI.js.map} +0 -0
- /package/dist/chunks/{commands-7FSE67S7.js.map → commands-5P4RLRXG.js.map} +0 -0
- /package/dist/chunks/{crash-report-5S6I2H4P.js.map → crash-report-F5G32A7S.js.map} +0 -0
- /package/dist/chunks/{dist-BMP4NVQA.js.map → dist-6O3HSFZP.js.map} +0 -0
- /package/dist/chunks/{dist-VMJECBAZ.js.map → dist-7B6PZO7C.js.map} +0 -0
- /package/dist/chunks/{dist-ZHD7MSXC.js.map → dist-DFLFYX3A.js.map} +0 -0
- /package/dist/chunks/{dist-MLM3PBXB.js.map → dist-SX66KAH4.js.map} +0 -0
- /package/dist/chunks/{dist-2QEEO2BO.js.map → dist-Y6SGSSMO.js.map} +0 -0
- /package/dist/chunks/{dist-EC2S5MA6.js.map → dist-ZAGIMP7N.js.map} +0 -0
- /package/dist/chunks/{doctor-P67RCEDL.js.map → doctor-2AOB47IO.js.map} +0 -0
- /package/dist/chunks/{drain-GXTL5M2V.js.map → drain-M6AGCMJX.js.map} +0 -0
- /package/dist/chunks/{eval-TGCAUXM6.js.map → eval-YHY3VO7B.js.map} +0 -0
- /package/dist/chunks/{home-PZO47UU7.js.map → home-AC5LQKDR.js.map} +0 -0
- /package/dist/chunks/{host-queries-QOFBCKMJ.js.map → host-queries-YQVRKUWC.js.map} +0 -0
- /package/dist/chunks/{lifecycle-DPH2KOCH.js.map → lifecycle-CQXCTLAZ.js.map} +0 -0
- /package/dist/chunks/{login-EUEB5HLK.js.map → login-YA652CIL.js.map} +0 -0
- /package/dist/chunks/{logs-F2II4CCT.js.map → logs-2PREHSOD.js.map} +0 -0
- /package/dist/chunks/{operator-tools-2SI6AFFF.js.map → operator-tools-QOZZZVEC.js.map} +0 -0
- /package/dist/chunks/{output-schema-PJNYSOO5.js.map → output-schema-JTPOC3NL.js.map} +0 -0
- /package/dist/chunks/{providers-MD4HAS6J.js.map → providers-M5HWW7DH.js.map} +0 -0
- /package/dist/chunks/{resume-R2OYMKYY.js.map → resume-UKK4HVCO.js.map} +0 -0
- /package/dist/chunks/{resume-command-EVY3VMMM.js.map → resume-command-LPN33FIF.js.map} +0 -0
- /package/dist/chunks/{schedule-QCGOB5T2.js.map → schedule-J2IY3SVE.js.map} +0 -0
- /package/dist/chunks/{session-step-XAOTLL4U.js.map → session-step-2B46NVE7.js.map} +0 -0
- /package/dist/chunks/{store-P2I5OF2S.js.map → store-C27Q22UV.js.map} +0 -0
- /package/dist/chunks/{store-SQUUV4YQ.js.map → store-DRPRQLDD.js.map} +0 -0
- /package/dist/chunks/{store-UMSGE2UE.js.map → store-S4QRR5DH.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,85 @@
|
|
|
1
1
|
# @namzu/cli
|
|
2
2
|
|
|
3
|
+
## 40.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- bb67398: Breaking default in `@namzu/cli`: `save_memory` and `update_memory` no longer ask for approval in the default mode (ask before changes) and in the mode that approves edits. They write only to namzu's own memory store under its home, never to a workspace file. Before, every save asked "Do you want to run save_memory?". `delete_memory` still asks; plan mode, strict mode and the classifier mode treat the memory tools as before. To be asked again, add `permissions: { save_memory: "ask", update_memory: "ask" }` to the configuration.
|
|
8
|
+
|
|
9
|
+
The model now keeps memory itself during a session. When the memory tools are mounted, the system prompt carries a short `## Memory` section saying what is worth saving (the person's preferences and corrections, decisions and their reasons, lessons from failures that will recur or were not obvious, pointers to outside resources), what to leave out (what the repository records, progress, secrets), and how to keep the store tidy (one fact per memory, update instead of duplicating, remove a wrong one, check a recalled memory against the current code). When the person asks to remember something the repository already records, the model saves only what was surprising about it. A sub-agent that holds `save_memory` gets the same section. The section sits in the stable prefix, so it does not change prompt caching. The descriptions of `save_memory`, `search_memory`, `read_memory`, `update_memory` and `delete_memory` now state purpose, when to use the tool and what it returns, and the stored-memory index paragraph no longer repeats those rules. No option, export or tool input changes.
|
|
10
|
+
|
|
11
|
+
- 38d62f7: One Esc on a typed draft no longer clears it. The first Esc shows `Esc again to clear` at the right end of the footer for a second; a second Esc within 800 ms clears the draft, and an Esc after that arms again. Any other key between the two ends the window, so typing after the first Esc starts over. The cleared text goes into the prompt history, so Up brings it back. Press Esc twice where you pressed it once. A running turn still keeps Esc for interrupting. On an empty box Esc has its own meaning, described in the rewind note: Esc twice opens the rewind dialog.
|
|
12
|
+
|
|
13
|
+
The footer's right end is now a notice slot: one passing notice at a time, ordered by priority. The context meter (`N% until auto-compact`) moves from the left items into it and is hidden from a compaction until the next turn starts; the stop-all chord's notices use it too. The update check no longer writes a scrollback row: when a newer Namzu is out, the footer carries `Update available! Run: namzu upgrade` until the next launch.
|
|
14
|
+
|
|
15
|
+
- 38d62f7: Esc twice on an empty message now opens a rewind dialog instead of the previous-prompt picker, and the first Esc no longer shows "Press Esc again to edit a previous prompt". The second Esc counts only within 800 ms of the first, and any other key in between starts over. With a draft typed, Esc still means "clear it": the first Esc shows `Esc again to clear` and the second clears the draft. A running reply keeps Esc for interrupting, and inside the detailed transcript or a dialog Esc only closes it.
|
|
16
|
+
|
|
17
|
+
What changes for you: to edit an earlier prompt, press Esc twice, pick the prompt, and choose "Restore conversation". It does what the old picker did (continues in a new conversation before that prompt and puts the prompt back in the composer; the original stays in `/resume`). The dialog also offers "Restore code" (puts files back with the same drift-checked plan as `/restore`), "Restore code and conversation", "Summarize from here" and "Summarize up to here", and shows what each prompt would do to your files. `/rewind` opens the same dialog, with `/undo` and `/checkpoint` as aliases; `/restore` is unchanged. A project command or plugin command named `undo`, `checkpoint` or `rewind` is shadowed by the built-in.
|
|
18
|
+
|
|
19
|
+
`@namzu/sdk` adds `compactSessionRange` (and `CompactSessionRangeParams`): like `compactSession`, but it summarises only the messages from one recorded message id up to another and leaves the rest of the context verbatim.
|
|
20
|
+
|
|
21
|
+
- 38d62f7: The `tui` block of the config now merges key by key across your config files; before, a later file that had a `tui` block replaced the whole block. A later file that sets only `notifications` no longer drops an earlier file's `notificationMethod`. If you relied on a later file replacing the whole block, list every key you want in that file (or remove the keys you no longer want from the earlier one) to keep the old result.
|
|
22
|
+
- 38d62f7: Ctrl+O now opens a detailed transcript instead of expanding one tool body. The screen replaces the composer and shows the last 30 rows with every tool body, shell command, diff and agent answer in full, plus the model's thinking (dim italic, marked `∵`). Ctrl+E shows or hides the older rows, the arrow, page, `g` and `G` keys scroll a conversation taller than the terminal, and Ctrl+O, Esc, `q` or Ctrl+C returns to the composer with your draft untouched. Nothing is written to scrollback. A permission request that arrives while the screen is open waits behind it (`dialog waiting` in the footer) and appears when you close it.
|
|
23
|
+
|
|
24
|
+
Removed: the in-place expansion of a single body, the `Tool output` viewer with its left and right keys, and the `Nothing to expand yet` row. If you scripted Ctrl+O to reprint one result, press Ctrl+O and scroll to it instead. The PageUp scroll view is unchanged.
|
|
25
|
+
|
|
26
|
+
### Minor Changes
|
|
27
|
+
|
|
28
|
+
- 38d62f7: Consecutive reads, searches, directory listings, read-only shell commands (`rg`, `grep`, `find`, `cat`, `head`, `ls` and similar, with no redirect other than `2>&1` or to `/dev/null`, and no substitution) and connector (MCP) calls now fold into one counted line such as `Searched for 2 patterns, read 3 files, listed 1 directory`, with `(ctrl+o to expand)`. While the run is open it reads `Reading 1 file…` with the latest target under it; Ctrl+O opens the detailed transcript, which shows every call of the line, open or settled, with its result. The `Explored` heading and the row per call are gone, and a connector call or a read-only shell command no longer prints its output in the transcript; press Ctrl+O to see it. A call that fails is counted like the others and stays in the line with no error text on it; the detailed transcript shows that call with its error. A call you refuse keeps its own row. A script that matched on the old `Explored` heading, per-call `⎿` rows or a red row for a failed read should read the counted line instead.
|
|
29
|
+
- 38d62f7: Fixes where the newer terminal screens meet. A read, search or listing that fails now stays in its counted line (nothing red on the line itself) and Ctrl+O shows that call with its error; every `(ctrl+o to expand)` hint now leads to the part it hides. A second Esc counts only if no other key or paste came between the two presses, and the clear-the-draft and open-rewind windows never count toward each other. A row already on screen follows a theme change, mark included; `/config theme [name]` is new, and `/config tips` and `/config motion` accept `list`. A rewind point is a prompt you sent, never a `!command` echo, a recap or a notice. An idle compaction or a rewind summary hides the footer's context meter until the next reply and `/context` sizes the conversation from its messages meanwhile; an idle compaction no longer runs while the detailed transcript is open. Removing the last key of a block from the settings file (for example `/config recap on`) removes the empty block too.
|
|
30
|
+
- 38d62f7: `/context` now draws where the context goes: a grid for the window with a legend of categories (system prompt, tools, MCP tools and instructions, agents, memory files, skills, messages, free space), lists of MCP tools, agents, memory files and skills with their sizes, and advice when a tool, file reads or memory files take a large share. The old one-line summary appears only before the first reply; `/context details` still shows how older messages were summarised, below the grid. Nothing in `exec` or the editor protocol changes. `/context all` is accepted and shows the same view.
|
|
31
|
+
|
|
32
|
+
The grid and its legend draw in the active theme's colours, so the light, colorblind-friendly and ANSI-only themes recolour them like everything else.
|
|
33
|
+
|
|
34
|
+
- 38d62f7: A failed tool call now shows what the tool said. Under the call you see `Error: <text>` in the error colour (first 10 lines, then `… +N lines (ctrl+o to expand)`) instead of a muted `failed: <text>`; a schema error reads `Invalid tool parameters` until expanded. A refused read, edit, write, notebook edit, search or language call reads as a short red text (`File not found`, `Error reading file`, `Error editing file`, `Error writing file`, `Error editing notebook`, `Error searching files`, `LSP operation failed`), and an edit on a file never read says `File must be read first` in the dim colour; the tool's own message is behind Ctrl+O. Every other failure, including a permission error, a timeout or a directory read as a file, shows the tool's own text the same way. A background agent that fails leaves `Agent "<name>" failed: <plain reason>` with no duration with the error's own text on one line, and only the dot carries the red. Nothing to configure; scripts that read these rows from a terminal capture will see the new wording.
|
|
35
|
+
- 38d62f7: The terminal now reports whether its window has focus, and Namzu uses it in two ways. The tab title's busy glyph alternates between two frames every 960 ms while a reply is working and the window has focus (it stays on the idle glyph during a permission wait and inside tmux, screen or zellij). And when you leave the window and a finished reply has sat for three minutes, Namzu writes a one-line recap of where things stand, shown as a `※ recap:` row when you come back.
|
|
36
|
+
|
|
37
|
+
The recap costs one small-model request each time (at most 120 reply tokens, from a digest of at most 6,000 characters of your recent prompts and replies; it needs at least three typed prompts in the conversation and two since the last recap). It is on by default. To switch it off, set `tui.recap: false`, run `/config recap off`, or set `NAMZU_RECAP=0`; `NAMZU_RECAP=1` forces it on. `/recap` writes one on request. A terminal that never reports focus never gets a recap. Runs without a screen (`exec`, `--json`) never recap.
|
|
38
|
+
|
|
39
|
+
- 38d62f7: Compact a large conversation that nobody is using just before its one-hour prompt cache expires, so coming back does not re-write the whole context. Off by default: nothing changes until you set `compaction.idleCompaction: true` (and `compaction.promptCacheTtl: 1h`, because only a one-hour cache is worth it) in the config file. `compaction.idleCompactionMinTokens` (default 200,000) and the `NAMZU_IDLE_COMPACT_MIN_TOKENS` variable set the smallest context worth it. A one-hour cache costs more per write than the five-minute default, which stays the default.
|
|
40
|
+
|
|
41
|
+
Additive for callers: `@namzu/sdk` adds optional `TokenUsage.cacheTtlMs` and `cacheWriteTtlTokens` (per call, never summed), `CacheControl.ttl`, the `cacheTtl` provider capability, a `CacheClock` helper, an optional `cache` field on the `token_usage_updated` event, and `compactSession({ trigger: 'idle' })`. (The widened `trigger` union is in its own `@namzu/sdk` major changeset.) `@namzu/anthropic` and `@namzu/bedrock` take `promptCacheTtl: '5m' | '1h'` (Bedrock sends `1h` only to Claude 4.5 and later) and report the lifetime the service wrote.
|
|
42
|
+
|
|
43
|
+
- 38d62f7: Add themes and a reduced-motion setting to the terminal UI. The default is unchanged: `dark` is the look Namzu has always had, so nothing changes unless you ask.
|
|
44
|
+
|
|
45
|
+
- `/theme` opens a list of seven choices (auto, dark, light, and a colorblind-friendly and an ANSI-only version of each) with a live preview as you move; Enter saves, Esc puts the saved theme back. `/theme <name>` applies one directly. `auto` follows the terminal's light or dark background.
|
|
46
|
+
- `/config theme [name]` does the same as `/theme`. Rows already on screen are redrawn in the new theme, and every new surface (the detailed transcript, the rewind dialog, tips and notices) draws through the theme colours.
|
|
47
|
+
- New config keys `tui.theme` and `tui.reducedMotion` in your user config. A project file cannot set them and its values are ignored, so a repository cannot restyle your terminal.
|
|
48
|
+
- `tui.reducedMotion: true` (or `/config motion on`) stops the working line's moving highlight, the composer's pulse, the open read/search line's blinking dot and the tab title's busy glyph.
|
|
49
|
+
|
|
50
|
+
- 38d62f7: While a reply runs, the terminal now shows one dim line under the `Working` row: `Next: <task>` when the model's plan has a pending task, otherwise a short `Tip:` about a command or setting you have not used. A tip is picked when a reply ends, holds for the next reply, and does not return until its cooldown (counted in terminal launches) has passed; the history is kept in `~/.namzu/tip-history.json`. To turn tips off set `tui.spinnerTips: false` in `~/.namzu/config.yaml`, run `/config tips off` or use the `Tips` row in `/config` (`/config tips` says which it is now); the `Next:` row is not affected. Nothing you call from code changes.
|
|
51
|
+
|
|
52
|
+
### Patch Changes
|
|
53
|
+
|
|
54
|
+
- 38d62f7: The `bash` tool no longer reports a failure when a search or comparison command uses its exit status to answer. When the last command of the line is `grep`, `rg`, `egrep`, `fgrep`, `find`, `diff`, `test`, `[`, `git diff` or `git grep`, exit 1 now returns `success: true` with no `error` (it was `success: false` with `Command exited with code 1`), and `data.exitNote` and the new optional `ToolFacts` command field `exitNote` carry a short sentence (`No matches found`, `Some directories were inaccessible`, `Files differ`, `Condition is false`). Exit 2 and above, every other command, and a line whose last step follows `&&` (the status may belong to an earlier step) fail exactly as before. This changes the default result for those commands, so code that read `success === false` or the `error` text to detect "no match" must read `data.exitCode` (still 1) instead. The model's text is unchanged. In the terminal such a call is drawn as a success and, when it printed nothing, shows the note in dim where `(No output)` was, and a read-only search of this kind with no match stays inside its collapsed read and search line instead of ending it with a red failure.
|
|
55
|
+
- 38d62f7: Sending the prompt you edited after Restore conversation in the rewind dialog (or after `/fork`) no longer fails with a message about a cached message id the log never recorded. The screen now continues from the fork's own saved history. If the saved conversation and the screen's copy ever disagree again, Namzu rebuilds the copy from the saved conversation and sends once more, and a second refusal reads as plain words with "Send your message again." A call whose arguments do not fit its tool now reads `Invalid tool parameters` on its row, with the full text on the Ctrl+O screen.
|
|
56
|
+
- 38d62f7: The detailed transcript (Ctrl+O) now draws the model's thinking above the counted read or search line it led to, not under the answer that followed. A permission request that waited behind the detailed transcript starts its settle window again when the screen closes, so a stray key cannot approve a call you have not seen. Thinking is not saved with a conversation, so a resumed or forked one shows none.
|
|
57
|
+
- 38d62f7: Display fixes in the terminal: `Esc again to clear` now stays a full second, a call whose arguments fail the tool's schema check reads `Invalid tool parameters` until you press Ctrl+O, a numbered file excerpt on the Ctrl+O screen keeps the last character of every line, and the rewind restore notices no longer print a turn number or a conversation id. Nothing to change on your side.
|
|
58
|
+
- Updated dependencies [bb67398]
|
|
59
|
+
- Updated dependencies [38d62f7]
|
|
60
|
+
- Updated dependencies [38d62f7]
|
|
61
|
+
- Updated dependencies [38d62f7]
|
|
62
|
+
- Updated dependencies [38d62f7]
|
|
63
|
+
- Updated dependencies [38d62f7]
|
|
64
|
+
- Updated dependencies [38d62f7]
|
|
65
|
+
- Updated dependencies [38d62f7]
|
|
66
|
+
- @namzu/sdk@54.0.0
|
|
67
|
+
- @namzu/anthropic@6.4.0
|
|
68
|
+
- @namzu/browser@2.0.1
|
|
69
|
+
- @namzu/computer-use@3.1.0
|
|
70
|
+
- @namzu/ollama@2.2.5
|
|
71
|
+
- @namzu/openai@4.2.0
|
|
72
|
+
- @namzu/openrouter@3.0.4
|
|
73
|
+
- @namzu/sandbox@29.0.0
|
|
74
|
+
|
|
75
|
+
## 39.2.1
|
|
76
|
+
|
|
77
|
+
### Patch Changes
|
|
78
|
+
|
|
79
|
+
- b4a44b9: Model-facing wording (the system prompt, tool descriptions and bundled skills) now names categories instead of specific products, sites or models as examples, so an example is no longer repeated back as a preference. No API or behaviour change; nothing to do on upgrade.
|
|
80
|
+
- Updated dependencies [b4a44b9]
|
|
81
|
+
- @namzu/sdk@53.2.2
|
|
82
|
+
|
|
3
83
|
## 39.2.0
|
|
4
84
|
|
|
5
85
|
### Minor Changes
|
package/dist/bin.js
CHANGED
|
@@ -81,6 +81,6 @@ __name(suppressSqliteExperimentalWarning, "suppressSqliteExperimentalWarning");
|
|
|
81
81
|
suppressSqliteExperimentalWarning();
|
|
82
82
|
|
|
83
83
|
// src/bin.ts
|
|
84
|
-
var { main } = await import("./chunks/bin-main-
|
|
84
|
+
var { main } = await import("./chunks/bin-main-D45Q7FMM.js");
|
|
85
85
|
main(fileURLToPath(new URL("./", import.meta.url).href + "bin.js"));
|
|
86
86
|
//# sourceMappingURL=bin.js.map
|
|
@@ -40,6 +40,13 @@ export interface Manifest {
|
|
|
40
40
|
turnId: string;
|
|
41
41
|
seq: number;
|
|
42
42
|
label: string;
|
|
43
|
+
/**
|
|
44
|
+
* Zero-based position of the prompt that started this turn among the
|
|
45
|
+
* conversation's user messages, so a rewind picker can say which turns
|
|
46
|
+
* come at or after a chosen prompt. Absent on a history written before
|
|
47
|
+
* the link was recorded.
|
|
48
|
+
*/
|
|
49
|
+
promptOrdinal?: number;
|
|
43
50
|
startedAt: number;
|
|
44
51
|
/** Last time an edit settled in this turn; retention counts from here. */
|
|
45
52
|
lastEditAt: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifest.d.ts","sourceRoot":"","sources":["../../src/checkpoints/manifest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAOH,eAAO,MAAM,gBAAgB,IAAI,CAAA;AAEjC,MAAM,WAAW,OAAO;IACvB,wBAAwB;IACxB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,uDAAuD;IACvD,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,+EAA+E;IAC/E,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAA;CACzB;AAED,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,CAAA;AAEtD,MAAM,WAAW,aAAa;IAC7B,mCAAmC;IACnC,IAAI,EAAE,MAAM,CAAA;IACZ,mDAAmD;IACnD,GAAG,EAAE,MAAM,CAAA;IACX,qEAAqE;IACrE,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,OAAO,GAAG,IAAI,CAAA;I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M,KAAG,OAAO,CAAC,OAAO,CAIvE,CAAA;AAEF,wBAAsB,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC,CAInF;AAaD,sFAAsF;AACtF,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,QAAQ,GAAG,IAAI,CA6B3D;AAED,0FAA0F;AAC1F,wBAAsB,aAAa,CAClC,IAAI,EAAE,MAAM,GACV,OAAO,CAAC;IAAE,SAAS,EAAE,QAAQ,EAAE,CAAC;IAAC,UAAU,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC,CAW1D;AAED,wBAAsB,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAGhF;AAED,wCAAwC;AACxC,wBAAsB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAW1E;AAED,wBAAsB,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAE5E;AAED,mDAAmD;AACnD,wBAAgB,eAAe,CAAC,QAAQ,EAAE,QAAQ,GAAG,GAAG,CAAC,MAAM,CAAC,CAY/D;AAED,uFAAuF;AACvF,wBAAsB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CASvF"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* What a rewind would change, counted from the saved file bodies.
|
|
3
|
+
*
|
|
4
|
+
* For each file the turns touched, the body it had before the first of them
|
|
5
|
+
* is compared with the body the last of them left. Counting is bounded the
|
|
6
|
+
* way a picker needs it to be: a body past a megabyte, a binary body, a diff
|
|
7
|
+
* past a few hundred edits or an exhausted clock make the line counts
|
|
8
|
+
* unknown, and the file names are still reported.
|
|
9
|
+
*/
|
|
10
|
+
import type { ManifestEntry } from './manifest.js';
|
|
11
|
+
/** Per side. A larger body is not read for counting. */
|
|
12
|
+
export declare const REWIND_STATS_BODY_BYTES: number;
|
|
13
|
+
/** A diff needing more edits than this is not counted. */
|
|
14
|
+
export declare const REWIND_STATS_MAX_EDITS = 500;
|
|
15
|
+
export interface RewindSummary {
|
|
16
|
+
/** Absolute paths whose content differs from the rewind point, first touched first. */
|
|
17
|
+
readonly files: readonly string[];
|
|
18
|
+
/** Lines added and removed across those files; absent when any file could not be counted. */
|
|
19
|
+
readonly insertions?: number;
|
|
20
|
+
readonly deletions?: number;
|
|
21
|
+
}
|
|
22
|
+
export interface RewindStatsTurn {
|
|
23
|
+
/** Where this turn's bodies live. */
|
|
24
|
+
readonly root: string;
|
|
25
|
+
readonly entries: readonly ManifestEntry[];
|
|
26
|
+
}
|
|
27
|
+
type ReadBody = (root: string, sha256: string) => Promise<Uint8Array>;
|
|
28
|
+
/** `turns` oldest first. */
|
|
29
|
+
export declare function summariseRewind(turns: readonly RewindStatsTurn[], readBody: ReadBody, expired: () => boolean): Promise<RewindSummary>;
|
|
30
|
+
export {};
|
|
31
|
+
//# sourceMappingURL=rewind-stats.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rewind-stats.d.ts","sourceRoot":"","sources":["../../src/checkpoints/rewind-stats.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,OAAO,KAAK,EAAW,aAAa,EAAE,MAAM,eAAe,CAAA;AAE3D,wDAAwD;AACxD,eAAO,MAAM,uBAAuB,QAAc,CAAA;AAClD,0DAA0D;AAC1D,eAAO,MAAM,sBAAsB,MAAM,CAAA;AAEzC,MAAM,WAAW,aAAa;IAC7B,uFAAuF;IACvF,QAAQ,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,CAAA;IACjC,6FAA6F;IAC7F,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAA;IAC5B,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAC3B;AAED,MAAM,WAAW,eAAe;IAC/B,qCAAqC;IACrC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,OAAO,EAAE,SAAS,aAAa,EAAE,CAAA;CAC1C;AAED,KAAK,QAAQ,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,UAAU,CAAC,CAAA;AAOrE,4BAA4B;AAC5B,wBAAsB,eAAe,CACpC,KAAK,EAAE,SAAS,eAAe,EAAE,EACjC,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,MAAM,OAAO,GACpB,OAAO,CAAC,aAAa,CAAC,CAyBxB"}
|
|
@@ -18,15 +18,19 @@
|
|
|
18
18
|
*/
|
|
19
19
|
import { sep } from 'node:path';
|
|
20
20
|
import { type SkipReason, type TurnStatus } from './manifest.js';
|
|
21
|
+
import { type RewindSummary } from './rewind-stats.js';
|
|
21
22
|
import { type ConflictReason, type PlanFile } from './undo-plan.js';
|
|
22
23
|
export type { SkipReason, TurnStatus } from './manifest.js';
|
|
23
24
|
export type { ConflictReason, PlanAction, PlanFile, UndoPlan } from './undo-plan.js';
|
|
25
|
+
export type { RewindSummary } from './rewind-stats.js';
|
|
24
26
|
export interface CheckpointTurn {
|
|
25
27
|
/** 1-based, in the order turns first recorded a change in this conversation. */
|
|
26
28
|
readonly index: number;
|
|
27
29
|
readonly turnId: string;
|
|
28
30
|
/** The prompt that started the turn, cut to a line. */
|
|
29
31
|
readonly label: string;
|
|
32
|
+
/** Which user message started the turn; absent in a history from before it was recorded. */
|
|
33
|
+
readonly promptOrdinal?: number;
|
|
30
34
|
readonly startedAt: number;
|
|
31
35
|
readonly status: TurnStatus;
|
|
32
36
|
/** Host paths changed in this turn, first change first. */
|
|
@@ -204,7 +208,9 @@ export declare class FileCheckpointStore {
|
|
|
204
208
|
* a caller with none (a test, a host command) gets a generated one.
|
|
205
209
|
* Returns the id.
|
|
206
210
|
*/
|
|
207
|
-
beginTurn(label: string, turnId?: string
|
|
211
|
+
beginTurn(label: string, turnId?: string, meta?: {
|
|
212
|
+
promptOrdinal?: number;
|
|
213
|
+
}): string;
|
|
208
214
|
private newRec;
|
|
209
215
|
/** The turn a write belongs to. Under the lock, after the history is loaded. */
|
|
210
216
|
private resolveRec;
|
|
@@ -262,6 +268,14 @@ export declare class FileCheckpointStore {
|
|
|
262
268
|
private currentHistory;
|
|
263
269
|
/** Turns of the current conversation that changed at least one file and can still be undone. */
|
|
264
270
|
list(): readonly CheckpointTurn[];
|
|
271
|
+
/**
|
|
272
|
+
* What putting the files back to before turn `fromIndex` would change, as
|
|
273
|
+
* a person reads it: the files whose content differs from what that
|
|
274
|
+
* point held, and how many lines each side gained or lost. Reads saved
|
|
275
|
+
* bodies, never the disk. `expired` ends the counting early (the file
|
|
276
|
+
* names still come back, the line counts do not).
|
|
277
|
+
*/
|
|
278
|
+
rewindSummary(fromIndex: number, expired?: () => boolean): Promise<RewindSummary>;
|
|
265
279
|
/**
|
|
266
280
|
* Where each reply's undo stands. Reads the manifests only, never the disk,
|
|
267
281
|
* so it is cheap to ask on open. With `turnIds`, one row per id asked for
|
|
@@ -314,10 +328,17 @@ export declare class FileCheckpointStore {
|
|
|
314
328
|
*/
|
|
315
329
|
dispose(): Promise<void>;
|
|
316
330
|
}
|
|
331
|
+
/** How a prompt is kept as a turn's label: its first non-blank line, cut short. */
|
|
332
|
+
export declare function turnLabel(text: string): string;
|
|
317
333
|
/** What `/restore` prints with no argument. */
|
|
318
334
|
export declare function renderCheckpoints(turns: readonly CheckpointTurn[], cwd: string, skipped?: readonly SkippedPath[]): string;
|
|
319
|
-
/**
|
|
320
|
-
|
|
335
|
+
/**
|
|
336
|
+
* What `/restore N` prints. The rewind list numbers no turns, so its report
|
|
337
|
+
* names the prompt instead (`before: 'prompt'`).
|
|
338
|
+
*/
|
|
339
|
+
export declare function renderRestore(report: RestoreReport, cwd: string, options?: {
|
|
340
|
+
readonly before?: 'turn' | 'prompt';
|
|
341
|
+
}): string;
|
|
321
342
|
/**
|
|
322
343
|
* What the model reads before its next turn: the operator took files back,
|
|
323
344
|
* so what it remembers of them is wrong, and the files left alone hold
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../src/checkpoints/store.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAeH,OAAO,EAA0D,GAAG,EAAE,MAAM,WAAW,CAAA;AAEvF,OAAO,EAKN,KAAK,UAAU,EACf,KAAK,UAAU,EAcf,MAAM,eAAe,CAAA;AACtB,OAAO,EACN,KAAK,cAAc,EAGnB,KAAK,QAAQ,EAMb,MAAM,gBAAgB,CAAA;AAEvB,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC3D,YAAY,EAAE,cAAc,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;
|
|
1
|
+
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../src/checkpoints/store.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAeH,OAAO,EAA0D,GAAG,EAAE,MAAM,WAAW,CAAA;AAEvF,OAAO,EAKN,KAAK,UAAU,EACf,KAAK,UAAU,EAcf,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,KAAK,aAAa,EAAmB,MAAM,mBAAmB,CAAA;AACvE,OAAO,EACN,KAAK,cAAc,EAGnB,KAAK,QAAQ,EAMb,MAAM,gBAAgB,CAAA;AAEvB,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC3D,YAAY,EAAE,cAAc,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACpF,YAAY,EAAE,aAAa,EAAE,MAA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CAAC,MAAM,CAAC;IA+BnF;;;OAGG;IACG,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;IAS9B;;;OAGG;IACG,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;CAK9B;AAyDD,mFAAmF;AACnF,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAE9C;AAcD,+CAA+C;AAC/C,wBAAgB,iBAAiB,CAChC,KAAK,EAAE,SAAS,cAAc,EAAE,EAChC,GAAG,EAAE,MAAM,EACX,OAAO,GAAE,SAAS,WAAW,EAAO,GAClC,MAAM,CAsBR;AAUD;;;GAGG;AACH,wBAAgB,aAAa,CAC5B,MAAM,EAAE,aAAa,EACrB,GAAG,EAAE,MAAM,EACX,OAAO,GAAE;IAAE,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAA;CAAO,GACnD,MAAM,CA+BR;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,aAAa,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAQ5E;AAED,OAAO,EAAE,GAAG,IAAI,cAAc,EAAE,CAAA"}
|
|
@@ -2,20 +2,20 @@ 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-BZ4U5L7N.js";
|
|
6
6
|
import {
|
|
7
7
|
conversationMarkdown,
|
|
8
8
|
lookupPr,
|
|
9
9
|
runCommand,
|
|
10
10
|
withKeyNote
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-BZJNXGWW.js";
|
|
12
|
+
import "./chunk-RAS4ZA5C.js";
|
|
13
13
|
import {
|
|
14
14
|
decideHeadlessTrust
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-5HSG2XFD.js";
|
|
16
16
|
import {
|
|
17
17
|
palSessionEnvironment
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-IAL3F2OI.js";
|
|
19
19
|
import {
|
|
20
20
|
FileCheckpointStore,
|
|
21
21
|
PluginSettingsStore,
|
|
@@ -26,18 +26,17 @@ import {
|
|
|
26
26
|
sessionLogCheckpointView,
|
|
27
27
|
validateComposerSendSettings,
|
|
28
28
|
verifyCredential
|
|
29
|
-
} from "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-OIRKBC2L.js";
|
|
33
|
-
import "./chunk-CDYUGK7F.js";
|
|
29
|
+
} from "./chunk-TTDBVPB2.js";
|
|
30
|
+
import "./chunk-ZPIHARMI.js";
|
|
31
|
+
import "./chunk-U5KONGAN.js";
|
|
34
32
|
import "./chunk-WHODOMXA.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-XDGIOXTU.js";
|
|
34
|
+
import "./chunk-I7LUF577.js";
|
|
35
|
+
import "./chunk-WYULBUCG.js";
|
|
36
|
+
import "./chunk-HLYTSH5W.js";
|
|
38
37
|
import "./chunk-NUGPLXVK.js";
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-YTEGBYGL.js";
|
|
39
|
+
import "./chunk-73G5WDGM.js";
|
|
41
40
|
import {
|
|
42
41
|
cliPalComputerStatus,
|
|
43
42
|
cliPalScreen,
|
|
@@ -50,48 +49,49 @@ import {
|
|
|
50
49
|
startCliPalComputer,
|
|
51
50
|
stopCliPalComputer,
|
|
52
51
|
takeOverCliPalComputer
|
|
53
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-KWRJTEV5.js";
|
|
54
53
|
import {
|
|
55
54
|
cliPalActivitySubscriptionPolicy,
|
|
56
55
|
cliPalActivitySubscriptionStore,
|
|
57
56
|
cliPalCommunicationPolicy,
|
|
58
57
|
cliPalCommunicationStore
|
|
59
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-C723P7SP.js";
|
|
60
59
|
import {
|
|
61
60
|
claimPalConversation,
|
|
62
61
|
listPalConversations,
|
|
63
62
|
palConversationBinding
|
|
64
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-KKYIGLKI.js";
|
|
65
64
|
import "./chunk-ZWA2JRJV.js";
|
|
66
65
|
import {
|
|
67
66
|
resolveTrustedProjectContext
|
|
68
67
|
} from "./chunk-CHIEVVQ2.js";
|
|
69
68
|
import "./chunk-GNBMKISG.js";
|
|
70
|
-
import "./chunk-
|
|
71
|
-
import "./chunk-
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
69
|
+
import "./chunk-7M6IZGAK.js";
|
|
70
|
+
import "./chunk-XSCT3DLE.js";
|
|
71
|
+
import "./chunk-G6LK7V7F.js";
|
|
72
|
+
import "./chunk-XPS3W7FC.js";
|
|
73
|
+
import "./chunk-EUBCYTOK.js";
|
|
74
74
|
import {
|
|
75
75
|
CLI_VERSION
|
|
76
76
|
} from "./chunk-HE7WUOX2.js";
|
|
77
|
-
import "./chunk-
|
|
77
|
+
import "./chunk-PXKXXNFU.js";
|
|
78
78
|
import {
|
|
79
79
|
automaticKind,
|
|
80
80
|
canSelectModel,
|
|
81
81
|
discoverProviders,
|
|
82
82
|
hasApiCredential,
|
|
83
83
|
isAnonymousZen
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-2I3Z65TV.js";
|
|
85
85
|
import {
|
|
86
86
|
ALL_PROVIDER_IDS,
|
|
87
87
|
PROVIDER_REGISTRY
|
|
88
88
|
} from "./chunk-6LLJQ3KY.js";
|
|
89
89
|
import {
|
|
90
90
|
launchRefusal
|
|
91
|
-
} from "./chunk-
|
|
92
|
-
import "./chunk-
|
|
93
|
-
import "./chunk-
|
|
94
|
-
import "./chunk-
|
|
91
|
+
} from "./chunk-AHPIP5IE.js";
|
|
92
|
+
import "./chunk-EKFNDKPO.js";
|
|
93
|
+
import "./chunk-LM3W6AEK.js";
|
|
94
|
+
import "./chunk-IYUW2RAA.js";
|
|
95
95
|
import {
|
|
96
96
|
archiveConversation,
|
|
97
97
|
closeSessions,
|
|
@@ -109,11 +109,11 @@ import {
|
|
|
109
109
|
refreshIndex,
|
|
110
110
|
setTitle,
|
|
111
111
|
unarchiveConversation
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-BQ7PN64G.js";
|
|
113
113
|
import {
|
|
114
114
|
cliProjectRoot
|
|
115
115
|
} from "./chunk-H6B6AROX.js";
|
|
116
|
-
import "./chunk-
|
|
116
|
+
import "./chunk-O3L5C2WT.js";
|
|
117
117
|
import {
|
|
118
118
|
cliPalStore,
|
|
119
119
|
createPal,
|
|
@@ -123,28 +123,29 @@ import {
|
|
|
123
123
|
listPals,
|
|
124
124
|
palAtWorkspace,
|
|
125
125
|
updatePal
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-4HUZHYCY.js";
|
|
127
127
|
import {
|
|
128
128
|
isTrusted,
|
|
129
129
|
isTrustedAtStateRoot,
|
|
130
130
|
trustDir,
|
|
131
131
|
untrustDir
|
|
132
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-QPEGCKRA.js";
|
|
133
133
|
import {
|
|
134
134
|
compilePermissionLayers,
|
|
135
135
|
permissionLayersOf,
|
|
136
136
|
warnLegacyMcpPermissionNames
|
|
137
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-R7XQP4PZ.js";
|
|
138
138
|
import "./chunk-WMEZTDLT.js";
|
|
139
139
|
import {
|
|
140
140
|
cliLogger
|
|
141
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-SOE4Q55L.js";
|
|
142
|
+
import "./chunk-U5UV2YRE.js";
|
|
142
143
|
import "./chunk-OH6TB27S.js";
|
|
143
144
|
import {
|
|
144
145
|
isOfferableModel
|
|
145
146
|
} from "./chunk-IE5XIE4W.js";
|
|
146
147
|
import "./chunk-B73OIFL6.js";
|
|
147
|
-
import "./chunk-
|
|
148
|
+
import "./chunk-6PAE7AWD.js";
|
|
148
149
|
import {
|
|
149
150
|
canonicalProjectPath
|
|
150
151
|
} from "./chunk-JORONMD3.js";
|
|
@@ -155,8 +156,8 @@ import {
|
|
|
155
156
|
readStoredGeminiApiKey,
|
|
156
157
|
writeStoredApiKey,
|
|
157
158
|
writeStoredGeminiApiKey
|
|
158
|
-
} from "./chunk-
|
|
159
|
-
import "./chunk-
|
|
159
|
+
} from "./chunk-X54VNEWE.js";
|
|
160
|
+
import "./chunk-DWSATEAY.js";
|
|
160
161
|
import {
|
|
161
162
|
ACPServer,
|
|
162
163
|
DiskLogMedium,
|
|
@@ -190,7 +191,7 @@ import {
|
|
|
190
191
|
resolveWithinAnyReal,
|
|
191
192
|
resolveWithinReal,
|
|
192
193
|
selectAssistantText
|
|
193
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-D63T5UQN.js";
|
|
194
195
|
import {
|
|
195
196
|
__commonJS,
|
|
196
197
|
__name,
|
|
@@ -13590,4 +13591,4 @@ export {
|
|
|
13590
13591
|
resolveAcpSession,
|
|
13591
13592
|
runAcpCommand
|
|
13592
13593
|
};
|
|
13593
|
-
//# sourceMappingURL=acp-
|
|
13594
|
+
//# sourceMappingURL=acp-E7XNZWFV.js.map
|