@namzu/cli 39.2.1 → 41.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 +128 -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-VDM66X7T.js → acp-CLFVQCFH.js} +40 -39
- package/dist/chunks/acp-CLFVQCFH.js.map +6 -0
- package/dist/chunks/{activity-command-23DPNYXT.js → activity-command-XULXEUGH.js} +13 -12
- package/dist/chunks/activity-command-XULXEUGH.js.map +6 -0
- package/dist/chunks/{add-Y2UMHBTC.js → add-BALM5DGZ.js} +19 -17
- package/dist/chunks/add-BALM5DGZ.js.map +6 -0
- package/dist/chunks/{agent-LCCOMK5H.js → agent-CLYE4KWV.js} +33 -30
- package/dist/chunks/agent-session-2MVAYKJC.js +54 -0
- package/dist/chunks/{archive-YUZ62G7R.js → archive-FWXFWMZJ.js} +11 -10
- package/dist/chunks/archive-FWXFWMZJ.js.map +6 -0
- package/dist/chunks/{bin-main-LFPYUV3K.js → bin-main-HO4CMSMY.js} +5 -4
- package/dist/chunks/bin-main-HO4CMSMY.js.map +6 -0
- package/dist/chunks/{browser-X6UIDIQQ.js → browser-Z46YPGWH.js} +6 -6
- package/dist/chunks/{chat-EMEYQKRR.js → chat-NOXE5RTE.js} +14 -14
- package/dist/chunks/{chunk-MCXVRO4B.js → chunk-37S7MY2T.js} +66 -14
- package/dist/chunks/chunk-37S7MY2T.js.map +6 -0
- package/dist/chunks/{chunk-2PH7EQQP.js → chunk-3WAQN6DX.js} +2 -2
- package/dist/chunks/{chunk-HWM73622.js → chunk-4GJSW2KC.js} +12 -12
- package/dist/chunks/{chunk-DNHHMNVG.js → chunk-4JQUY3DT.js} +2 -2
- package/dist/chunks/{chunk-OVG3QY7U.js → chunk-5OVI35QS.js} +3 -3
- package/dist/chunks/{chunk-YZOR7643.js → chunk-65CAAE7I.js} +157 -4
- package/dist/chunks/chunk-65CAAE7I.js.map +6 -0
- package/dist/chunks/chunk-6CCX6DPQ.js +440 -0
- package/dist/chunks/chunk-6CCX6DPQ.js.map +6 -0
- package/dist/chunks/{chunk-FXMJ5NVM.js → chunk-6RNVFKSZ.js} +5 -5
- package/dist/chunks/{chunk-TACSPIUK.js → chunk-AGN45S6D.js} +2 -2
- package/dist/chunks/{chunk-AP4B5Z3D.js → chunk-AOHJCFG3.js} +2 -2
- package/dist/chunks/{chunk-7WUSJ454.js → chunk-AUZB4LKS.js} +4 -4
- package/dist/chunks/{chunk-BPDKRVGW.js → chunk-AX4Z3H7N.js} +2 -2
- package/dist/chunks/{chunk-7C6DG66T.js → chunk-B2RMIYPZ.js} +4 -4
- package/dist/chunks/{chunk-PV4ZAFVQ.js → chunk-B6BQ5ULO.js} +2 -2
- package/dist/chunks/{chunk-XJT5DL3I.js → chunk-BPRT5LV7.js} +2 -2
- package/dist/chunks/{chunk-A34Y6ZPM.js → chunk-CBL2FUHG.js} +2 -2
- package/dist/chunks/{chunk-N3JNFZOW.js → chunk-DMPPM3IA.js} +3 -3
- package/dist/chunks/{chunk-EXVGLN6V.js → chunk-EL6GXINV.js} +2 -2
- package/dist/chunks/{chunk-KONYGNG6.js → chunk-EUBCYTOK.js} +3 -152
- package/dist/chunks/chunk-EUBCYTOK.js.map +6 -0
- package/dist/chunks/{chunk-ONKQPPSY.js → chunk-FLYE25VX.js} +2 -2
- package/dist/chunks/{chunk-45GT626R.js → chunk-G4LCCGQR.js} +3 -3
- package/dist/chunks/{chunk-7OXYUJSY.js → chunk-HE7K6IZ2.js} +29 -29
- package/dist/chunks/{chunk-E6LQB5Z7.js → chunk-IR3AZZFJ.js} +60 -22
- package/dist/chunks/chunk-IR3AZZFJ.js.map +6 -0
- package/dist/chunks/{chunk-EEDZOGV4.js → chunk-IYUW2RAA.js} +27 -2
- package/dist/chunks/chunk-IYUW2RAA.js.map +6 -0
- package/dist/chunks/{chunk-3MT5KLBF.js → chunk-JSGZ4V7Y.js} +2 -2
- package/dist/chunks/{chunk-OPIC6ZIL.js → chunk-K5OXOYM5.js} +14090 -12711
- package/dist/chunks/chunk-K5OXOYM5.js.map +6 -0
- package/dist/chunks/{chunk-5NVONQBW.js → chunk-KD4Q2INM.js} +3 -3
- package/dist/chunks/{chunk-M3TJHQF7.js → chunk-LFI6O7WL.js} +5 -5
- package/dist/chunks/{chunk-T64F5OER.js → chunk-M5RW7JBV.js} +9 -9
- package/dist/chunks/{chunk-JII5GOH2.js → chunk-MDG3THRR.js} +2 -2
- package/dist/chunks/{chunk-IVZB7YKX.js → chunk-MNDFPZVQ.js} +3 -3
- package/dist/chunks/{chunk-2L3JDLC5.js → chunk-MZI4TLFB.js} +12 -12
- package/dist/chunks/{chunk-EGP3MB37.js → chunk-NQGMYAXK.js} +11 -5
- package/dist/chunks/chunk-NQGMYAXK.js.map +6 -0
- package/dist/chunks/{chunk-IYPP6HSK.js → chunk-O2B3B2TM.js} +1 -6
- package/dist/chunks/chunk-O2B3B2TM.js.map +6 -0
- package/dist/chunks/{chunk-YIFOFVWM.js → chunk-O6FOUL5S.js} +4 -4
- package/dist/chunks/{chunk-B2GM4GON.js → chunk-O6JILDEY.js} +6 -6
- package/dist/chunks/{chunk-OT5X76XI.js → chunk-OUQEMJ26.js} +3 -3
- package/dist/chunks/{chunk-QR5YS5QW.js → chunk-P3JHLZH4.js} +2 -2
- package/dist/chunks/{chunk-HLIXL5RK.js → chunk-PDZZ64IH.js} +7 -7
- package/dist/chunks/{chunk-WNVYEZUQ.js → chunk-PKLBJMCY.js} +4 -4
- package/dist/chunks/{chunk-KS5X3GMX.js → chunk-PPZKCA6K.js} +3 -3
- package/dist/chunks/{chunk-363DTX3M.js → chunk-PSZ44BRO.js} +4 -4
- package/dist/chunks/{chunk-M2PQMMDW.js → chunk-PTJI2QA4.js} +3 -3
- package/dist/chunks/{chunk-XNQI4ZDH.js → chunk-QSDPQR3F.js} +3 -3
- package/dist/chunks/{chunk-FKSIOYXA.js → chunk-QY77MJS4.js} +4 -4
- package/dist/chunks/{chunk-ISN4VZCX.js → chunk-RWOPUQNS.js} +2 -2
- package/dist/chunks/{chunk-A25FQQTW.js → chunk-SE5UKEXD.js} +2 -2
- package/dist/chunks/{chunk-BZIUFNYR.js → chunk-SEYEOYMT.js} +4 -4
- package/dist/chunks/{chunk-HBTPB6ON.js → chunk-SMR6TQN2.js} +2 -2
- package/dist/chunks/{chunk-MEHYOYTW.js → chunk-SPZWLMZY.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-QENCNE7Q.js → chunk-V2NG7LLL.js} +10 -10
- package/dist/chunks/{chunk-QENCNE7Q.js.map → chunk-V2NG7LLL.js.map} +1 -1
- package/dist/chunks/{chunk-B4DC7NC7.js → chunk-V2ZSQXYQ.js} +8 -8
- package/dist/chunks/{chunk-V6UEMLTT.js → chunk-V4PHIKLW.js} +2 -2
- package/dist/chunks/chunk-VUZYMKPD.js +3604 -0
- package/dist/chunks/chunk-VUZYMKPD.js.map +6 -0
- package/dist/chunks/{chunk-LS7PT6RY.js → chunk-WLAVNIFG.js} +10 -4
- package/dist/chunks/{chunk-LS7PT6RY.js.map → chunk-WLAVNIFG.js.map} +1 -1
- package/dist/chunks/{chunk-HHOTJDZW.js → chunk-WQRBEQ2P.js} +2 -2
- package/dist/chunks/{chunk-ESMVELWA.js → chunk-WV7XGYNQ.js} +5 -5
- package/dist/chunks/{chunk-JEHKZEIB.js → chunk-WZPN6PWE.js} +4 -4
- package/dist/chunks/chunk-XPS3W7FC.js +147 -0
- package/dist/chunks/chunk-XPS3W7FC.js.map +6 -0
- package/dist/chunks/{chunk-W6JEZMOJ.js → chunk-XRX3DHEW.js} +4 -4
- package/dist/chunks/chunk-XSCT3DLE.js +161 -0
- package/dist/chunks/chunk-XSCT3DLE.js.map +6 -0
- package/dist/chunks/{chunk-NUJCTZOM.js → chunk-XWLQH2NW.js} +7 -7
- package/dist/chunks/{chunk-MIM4YRP2.js → chunk-YGV3VBYL.js} +2 -2
- package/dist/chunks/{chunk-37YQDLHZ.js → chunk-YXZBHG5N.js} +5495 -4531
- package/dist/chunks/chunk-YXZBHG5N.js.map +6 -0
- package/dist/chunks/{cli-runtime-XHGO7QSK.js → cli-runtime-5H7CTXF2.js} +16 -14
- package/dist/chunks/cli-runtime-5H7CTXF2.js.map +6 -0
- package/dist/chunks/{commands-GDF5OOXO.js → commands-XC67PG6L.js} +5 -5
- package/dist/chunks/{crash-report-N7ZQ2UB4.js → crash-report-UE423ET4.js} +9 -8
- package/dist/chunks/{dist-TCILCQPG.js → dist-4ACX6FL7.js} +2 -2
- package/dist/chunks/{dist-IJ3AAED4.js → dist-DCOPEJDN.js} +2 -2
- package/dist/chunks/{dist-MZNKQTW4.js → dist-DSK2VZQB.js} +2 -2
- package/dist/chunks/{dist-547VSBMV.js → dist-OXUHOXCU.js} +2 -2
- package/dist/chunks/{dist-TCIDRGW5.js → dist-SN7QXPO2.js} +2 -2
- package/dist/chunks/{dist-T2NJ6SVO.js → dist-SY7OYS74.js} +44 -16
- package/dist/chunks/dist-SY7OYS74.js.map +6 -0
- package/dist/chunks/{dist-36LBIFJ6.js → dist-YZRXSX7C.js} +2 -2
- package/dist/chunks/{doctor-T7SC3VSE.js → doctor-VCCIYKNL.js} +8 -8
- package/dist/chunks/{drain-OA5MO7SQ.js → drain-QKEXEMCO.js} +10 -10
- package/dist/chunks/{eval-D5Q2WZ7S.js → eval-K47YMZVT.js} +2 -2
- package/dist/chunks/{exec-MG5S7OJN.js → exec-K3LRQU6R.js} +33 -28
- package/dist/chunks/exec-K3LRQU6R.js.map +6 -0
- package/dist/chunks/{home-Z7L4BJTW.js → home-OSHELFKX.js} +3 -3
- package/dist/chunks/{host-queries-LL56A6NY.js → host-queries-TV3XH3YV.js} +14 -14
- package/dist/chunks/{lifecycle-TCRLU6B5.js → lifecycle-R3QWZ664.js} +28 -26
- package/dist/chunks/{list-RBOLXDHG.js → list-L5QFDBPX.js} +16 -14
- package/dist/chunks/list-L5QFDBPX.js.map +6 -0
- package/dist/chunks/{login-RZCJNDAJ.js → login-N4EO2F45.js} +8 -8
- package/dist/chunks/{logs-KDEGF3FA.js → logs-264INNUN.js} +4 -4
- package/dist/chunks/{mcp-7L7NYLKG.js → mcp-7H3G3KLD.js} +21 -19
- package/dist/chunks/mcp-7H3G3KLD.js.map +6 -0
- package/dist/chunks/{message-command-NTLYNKUW.js → message-command-JOQ24TAL.js} +37 -36
- package/dist/chunks/message-command-JOQ24TAL.js.map +6 -0
- package/dist/chunks/{operator-tools-DXU6UK4S.js → operator-tools-O2MDVMJP.js} +12 -12
- package/dist/chunks/{output-schema-UMOAOTW2.js → output-schema-LKM35JS4.js} +3 -3
- package/dist/chunks/{pal-FDOF3S5J.js → pal-N56IUOUP.js} +13 -12
- package/dist/chunks/pal-N56IUOUP.js.map +6 -0
- package/dist/chunks/{providers-HOY5QHWL.js → providers-B352G4OM.js} +6 -6
- package/dist/chunks/{resident-XIM5KNNX.js → resident-SMWDKMJP.js} +24 -22
- package/dist/chunks/resident-SMWDKMJP.js.map +6 -0
- package/dist/chunks/resume-EXHKGQII.js +22 -0
- package/dist/chunks/{resume-command-DIVGMVMA.js → resume-command-OHQBIY5P.js} +6 -5
- package/dist/chunks/{schedule-YRHGK6CD.js → schedule-VHP2VGEF.js} +8 -8
- package/dist/chunks/{service-DRXVEYFA.js → service-RHWPRJJO.js} +27 -25
- package/dist/chunks/service-RHWPRJJO.js.map +6 -0
- package/dist/chunks/session-step-NJRR3Q2L.js +30 -0
- package/dist/chunks/{skills-C5ZXOJEA.js → skills-JS3FQPHU.js} +10 -9
- package/dist/chunks/skills-JS3FQPHU.js.map +6 -0
- package/dist/chunks/{state-BVKWZF6F.js → state-A56X2FGB.js} +4 -3
- package/dist/chunks/state-A56X2FGB.js.map +6 -0
- package/dist/chunks/{store-ZXFXXY4S.js → store-IMV6NZTT.js} +9 -9
- package/dist/chunks/{store-GKY55UEV.js → store-SEPPZ7H6.js} +4 -4
- package/dist/chunks/{store-A4VHV4I2.js → store-WJEK5ZI2.js} +6 -6
- package/dist/chunks/{tui-PY2FQXVO.js → tui-BP7MYQG2.js} +14415 -12525
- package/dist/chunks/tui-BP7MYQG2.js.map +6 -0
- package/dist/chunks/{upgrade-WSBGA3FW.js → upgrade-2A7CIVAY.js} +3 -4
- package/dist/chunks/upgrade-2A7CIVAY.js.map +6 -0
- package/dist/chunks/{worktree-HLE7PBLL.js → worktree-ERUU4NVZ.js} +13 -12
- package/dist/chunks/worktree-ERUU4NVZ.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/context/doctrine.d.ts +2 -1
- package/dist/context/doctrine.d.ts.map +1 -1
- package/dist/context/environment.d.ts +37 -1
- package/dist/context/environment.d.ts.map +1 -1
- package/dist/context/identity.d.ts +27 -0
- package/dist/context/identity.d.ts.map +1 -0
- package/dist/context/project-tracker.d.ts.map +1 -1
- package/dist/context/system-prompt.d.ts +99 -0
- package/dist/context/system-prompt.d.ts.map +1 -0
- 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/conversation-search.d.ts +1 -1
- package/dist/integrations/sessions/conversation-search.d.ts.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 +2 -0
- package/dist/integrations/subagents/runtime.d.ts.map +1 -1
- package/dist/integrations/workflows/doctrine.d.ts.map +1 -1
- package/dist/integrations/workflows/host.d.ts +0 -5
- package/dist/integrations/workflows/host.d.ts.map +1 -1
- package/dist/integrations/workflows/offering.d.ts +0 -2
- package/dist/integrations/workflows/offering.d.ts.map +1 -1
- package/dist/integrations/workflows/size.d.ts +9 -1
- package/dist/integrations/workflows/size.d.ts.map +1 -1
- package/dist/memory/typed.d.ts +11 -0
- package/dist/memory/typed.d.ts.map +1 -1
- package/dist/permissions/session-allow.d.ts +10 -0
- package/dist/permissions/session-allow.d.ts.map +1 -1
- package/dist/reminders/environment.d.ts +20 -0
- package/dist/reminders/environment.d.ts.map +1 -0
- package/dist/reminders/frame.d.ts +1 -1
- package/dist/reminders/frame.d.ts.map +1 -1
- package/dist/reminders/index.d.ts +11 -1
- package/dist/reminders/index.d.ts.map +1 -1
- package/dist/reminders/mode.d.ts +11 -0
- package/dist/reminders/mode.d.ts.map +1 -0
- 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 +11 -1
- package/dist/tui/LiveActivity.d.ts.map +1 -1
- package/dist/tui/Markdown.d.ts.map +1 -1
- package/dist/tui/PermissionOverlay.d.ts +25 -4
- package/dist/tui/PermissionOverlay.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 +84 -3
- 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/connector-label.d.ts +19 -0
- package/dist/tui/connector-label.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/per-call-review.d.ts +50 -0
- package/dist/tui/per-call-review.d.ts.map +1 -0
- package/dist/tui/permission-asks.d.ts +68 -0
- package/dist/tui/permission-asks.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/queued-calls.d.ts +47 -0
- package/dist/tui/queued-calls.d.ts.map +1 -0
- 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 +22 -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 +7 -7
- package/skills/schedule-task/SKILL.md +6 -34
- package/dist/chunks/acp-VDM66X7T.js.map +0 -6
- package/dist/chunks/activity-command-23DPNYXT.js.map +0 -6
- package/dist/chunks/add-Y2UMHBTC.js.map +0 -6
- package/dist/chunks/agent-session-6ZFR55NO.js +0 -53
- package/dist/chunks/archive-YUZ62G7R.js.map +0 -6
- package/dist/chunks/bin-main-LFPYUV3K.js.map +0 -6
- package/dist/chunks/chunk-37YQDLHZ.js.map +0 -6
- package/dist/chunks/chunk-6YFMOYKD.js +0 -1796
- package/dist/chunks/chunk-6YFMOYKD.js.map +0 -6
- package/dist/chunks/chunk-AURV7PCK.js +0 -111
- package/dist/chunks/chunk-AURV7PCK.js.map +0 -6
- package/dist/chunks/chunk-AXCOWIIH.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-E6LQB5Z7.js.map +0 -6
- package/dist/chunks/chunk-EEDZOGV4.js.map +0 -6
- package/dist/chunks/chunk-EGP3MB37.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-MCXVRO4B.js.map +0 -6
- package/dist/chunks/chunk-OPIC6ZIL.js.map +0 -6
- package/dist/chunks/chunk-YZOR7643.js.map +0 -6
- package/dist/chunks/cli-runtime-XHGO7QSK.js.map +0 -6
- package/dist/chunks/dist-T2NJ6SVO.js.map +0 -6
- package/dist/chunks/exec-MG5S7OJN.js.map +0 -6
- package/dist/chunks/list-RBOLXDHG.js.map +0 -6
- package/dist/chunks/mcp-7L7NYLKG.js.map +0 -6
- package/dist/chunks/message-command-NTLYNKUW.js.map +0 -6
- package/dist/chunks/pal-FDOF3S5J.js.map +0 -6
- package/dist/chunks/resident-XIM5KNNX.js.map +0 -6
- package/dist/chunks/resume-3OP5GB7S.js +0 -22
- package/dist/chunks/service-DRXVEYFA.js.map +0 -6
- package/dist/chunks/session-step-ZD3D55SM.js +0 -29
- package/dist/chunks/skills-C5ZXOJEA.js.map +0 -6
- package/dist/chunks/state-BVKWZF6F.js.map +0 -6
- package/dist/chunks/tui-PY2FQXVO.js.map +0 -6
- package/dist/chunks/upgrade-WSBGA3FW.js.map +0 -6
- package/dist/chunks/worktree-HLE7PBLL.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-LCCOMK5H.js.map → agent-CLYE4KWV.js.map} +0 -0
- /package/dist/chunks/{agent-session-6ZFR55NO.js.map → agent-session-2MVAYKJC.js.map} +0 -0
- /package/dist/chunks/{browser-X6UIDIQQ.js.map → browser-Z46YPGWH.js.map} +0 -0
- /package/dist/chunks/{chat-EMEYQKRR.js.map → chat-NOXE5RTE.js.map} +0 -0
- /package/dist/chunks/{chunk-2PH7EQQP.js.map → chunk-3WAQN6DX.js.map} +0 -0
- /package/dist/chunks/{chunk-HWM73622.js.map → chunk-4GJSW2KC.js.map} +0 -0
- /package/dist/chunks/{chunk-DNHHMNVG.js.map → chunk-4JQUY3DT.js.map} +0 -0
- /package/dist/chunks/{chunk-OVG3QY7U.js.map → chunk-5OVI35QS.js.map} +0 -0
- /package/dist/chunks/{chunk-FXMJ5NVM.js.map → chunk-6RNVFKSZ.js.map} +0 -0
- /package/dist/chunks/{chunk-TACSPIUK.js.map → chunk-AGN45S6D.js.map} +0 -0
- /package/dist/chunks/{chunk-AP4B5Z3D.js.map → chunk-AOHJCFG3.js.map} +0 -0
- /package/dist/chunks/{chunk-7WUSJ454.js.map → chunk-AUZB4LKS.js.map} +0 -0
- /package/dist/chunks/{chunk-BPDKRVGW.js.map → chunk-AX4Z3H7N.js.map} +0 -0
- /package/dist/chunks/{chunk-7C6DG66T.js.map → chunk-B2RMIYPZ.js.map} +0 -0
- /package/dist/chunks/{chunk-PV4ZAFVQ.js.map → chunk-B6BQ5ULO.js.map} +0 -0
- /package/dist/chunks/{chunk-XJT5DL3I.js.map → chunk-BPRT5LV7.js.map} +0 -0
- /package/dist/chunks/{chunk-A34Y6ZPM.js.map → chunk-CBL2FUHG.js.map} +0 -0
- /package/dist/chunks/{chunk-N3JNFZOW.js.map → chunk-DMPPM3IA.js.map} +0 -0
- /package/dist/chunks/{chunk-EXVGLN6V.js.map → chunk-EL6GXINV.js.map} +0 -0
- /package/dist/chunks/{chunk-ONKQPPSY.js.map → chunk-FLYE25VX.js.map} +0 -0
- /package/dist/chunks/{chunk-45GT626R.js.map → chunk-G4LCCGQR.js.map} +0 -0
- /package/dist/chunks/{chunk-7OXYUJSY.js.map → chunk-HE7K6IZ2.js.map} +0 -0
- /package/dist/chunks/{chunk-3MT5KLBF.js.map → chunk-JSGZ4V7Y.js.map} +0 -0
- /package/dist/chunks/{chunk-5NVONQBW.js.map → chunk-KD4Q2INM.js.map} +0 -0
- /package/dist/chunks/{chunk-M3TJHQF7.js.map → chunk-LFI6O7WL.js.map} +0 -0
- /package/dist/chunks/{chunk-T64F5OER.js.map → chunk-M5RW7JBV.js.map} +0 -0
- /package/dist/chunks/{chunk-JII5GOH2.js.map → chunk-MDG3THRR.js.map} +0 -0
- /package/dist/chunks/{chunk-IVZB7YKX.js.map → chunk-MNDFPZVQ.js.map} +0 -0
- /package/dist/chunks/{chunk-2L3JDLC5.js.map → chunk-MZI4TLFB.js.map} +0 -0
- /package/dist/chunks/{chunk-YIFOFVWM.js.map → chunk-O6FOUL5S.js.map} +0 -0
- /package/dist/chunks/{chunk-B2GM4GON.js.map → chunk-O6JILDEY.js.map} +0 -0
- /package/dist/chunks/{chunk-OT5X76XI.js.map → chunk-OUQEMJ26.js.map} +0 -0
- /package/dist/chunks/{chunk-QR5YS5QW.js.map → chunk-P3JHLZH4.js.map} +0 -0
- /package/dist/chunks/{chunk-HLIXL5RK.js.map → chunk-PDZZ64IH.js.map} +0 -0
- /package/dist/chunks/{chunk-WNVYEZUQ.js.map → chunk-PKLBJMCY.js.map} +0 -0
- /package/dist/chunks/{chunk-KS5X3GMX.js.map → chunk-PPZKCA6K.js.map} +0 -0
- /package/dist/chunks/{chunk-363DTX3M.js.map → chunk-PSZ44BRO.js.map} +0 -0
- /package/dist/chunks/{chunk-M2PQMMDW.js.map → chunk-PTJI2QA4.js.map} +0 -0
- /package/dist/chunks/{chunk-XNQI4ZDH.js.map → chunk-QSDPQR3F.js.map} +0 -0
- /package/dist/chunks/{chunk-FKSIOYXA.js.map → chunk-QY77MJS4.js.map} +0 -0
- /package/dist/chunks/{chunk-ISN4VZCX.js.map → chunk-RWOPUQNS.js.map} +0 -0
- /package/dist/chunks/{chunk-A25FQQTW.js.map → chunk-SE5UKEXD.js.map} +0 -0
- /package/dist/chunks/{chunk-BZIUFNYR.js.map → chunk-SEYEOYMT.js.map} +0 -0
- /package/dist/chunks/{chunk-HBTPB6ON.js.map → chunk-SMR6TQN2.js.map} +0 -0
- /package/dist/chunks/{chunk-MEHYOYTW.js.map → chunk-SPZWLMZY.js.map} +0 -0
- /package/dist/chunks/{chunk-B4DC7NC7.js.map → chunk-V2ZSQXYQ.js.map} +0 -0
- /package/dist/chunks/{chunk-V6UEMLTT.js.map → chunk-V4PHIKLW.js.map} +0 -0
- /package/dist/chunks/{chunk-HHOTJDZW.js.map → chunk-WQRBEQ2P.js.map} +0 -0
- /package/dist/chunks/{chunk-ESMVELWA.js.map → chunk-WV7XGYNQ.js.map} +0 -0
- /package/dist/chunks/{chunk-JEHKZEIB.js.map → chunk-WZPN6PWE.js.map} +0 -0
- /package/dist/chunks/{chunk-W6JEZMOJ.js.map → chunk-XRX3DHEW.js.map} +0 -0
- /package/dist/chunks/{chunk-NUJCTZOM.js.map → chunk-XWLQH2NW.js.map} +0 -0
- /package/dist/chunks/{chunk-MIM4YRP2.js.map → chunk-YGV3VBYL.js.map} +0 -0
- /package/dist/chunks/{commands-GDF5OOXO.js.map → commands-XC67PG6L.js.map} +0 -0
- /package/dist/chunks/{crash-report-N7ZQ2UB4.js.map → crash-report-UE423ET4.js.map} +0 -0
- /package/dist/chunks/{dist-TCILCQPG.js.map → dist-4ACX6FL7.js.map} +0 -0
- /package/dist/chunks/{dist-IJ3AAED4.js.map → dist-DCOPEJDN.js.map} +0 -0
- /package/dist/chunks/{dist-MZNKQTW4.js.map → dist-DSK2VZQB.js.map} +0 -0
- /package/dist/chunks/{dist-547VSBMV.js.map → dist-OXUHOXCU.js.map} +0 -0
- /package/dist/chunks/{dist-TCIDRGW5.js.map → dist-SN7QXPO2.js.map} +0 -0
- /package/dist/chunks/{dist-36LBIFJ6.js.map → dist-YZRXSX7C.js.map} +0 -0
- /package/dist/chunks/{doctor-T7SC3VSE.js.map → doctor-VCCIYKNL.js.map} +0 -0
- /package/dist/chunks/{drain-OA5MO7SQ.js.map → drain-QKEXEMCO.js.map} +0 -0
- /package/dist/chunks/{eval-D5Q2WZ7S.js.map → eval-K47YMZVT.js.map} +0 -0
- /package/dist/chunks/{home-Z7L4BJTW.js.map → home-OSHELFKX.js.map} +0 -0
- /package/dist/chunks/{host-queries-LL56A6NY.js.map → host-queries-TV3XH3YV.js.map} +0 -0
- /package/dist/chunks/{lifecycle-TCRLU6B5.js.map → lifecycle-R3QWZ664.js.map} +0 -0
- /package/dist/chunks/{login-RZCJNDAJ.js.map → login-N4EO2F45.js.map} +0 -0
- /package/dist/chunks/{logs-KDEGF3FA.js.map → logs-264INNUN.js.map} +0 -0
- /package/dist/chunks/{operator-tools-DXU6UK4S.js.map → operator-tools-O2MDVMJP.js.map} +0 -0
- /package/dist/chunks/{output-schema-UMOAOTW2.js.map → output-schema-LKM35JS4.js.map} +0 -0
- /package/dist/chunks/{providers-HOY5QHWL.js.map → providers-B352G4OM.js.map} +0 -0
- /package/dist/chunks/{resume-3OP5GB7S.js.map → resume-EXHKGQII.js.map} +0 -0
- /package/dist/chunks/{resume-command-DIVGMVMA.js.map → resume-command-OHQBIY5P.js.map} +0 -0
- /package/dist/chunks/{schedule-YRHGK6CD.js.map → schedule-VHP2VGEF.js.map} +0 -0
- /package/dist/chunks/{session-step-ZD3D55SM.js.map → session-step-NJRR3Q2L.js.map} +0 -0
- /package/dist/chunks/{store-A4VHV4I2.js.map → store-IMV6NZTT.js.map} +0 -0
- /package/dist/chunks/{store-GKY55UEV.js.map → store-SEPPZ7H6.js.map} +0 -0
- /package/dist/chunks/{store-ZXFXXY4S.js.map → store-WJEK5ZI2.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,133 @@
|
|
|
1
1
|
# @namzu/cli
|
|
2
2
|
|
|
3
|
+
## 41.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- c1b7b6c: The terminal now asks about one tool call at a time instead of showing one prompt for a whole batch. Reads and other calls that are safe to run together each open their own prompt and start as soon as you answer; a call that changes something waits for the calls before it, then asks, then runs. Three things change for anyone who drives or scripts the terminal:
|
|
8
|
+
|
|
9
|
+
- There is one prompt per call, so a model response with three calls opens three prompts in turn. "Do you want to run these N tools?" and the "N more awaiting approval" line are gone; a dim `2 of 3` on the title row says where you are when two or more questions are open.
|
|
10
|
+
- A plain No (or Esc) now ends the turn: what is running is cancelled, calls that have not started are refused without being asked, and the model is not called again. Before, the model was told the call was declined and carried on. To refuse one call and let the agent carry on, press Tab on the No row, type the reason and press Enter; the reason reaches the model.
|
|
11
|
+
- Pressing "Yes, and don't ask again" or the accept-edits answer now re-checks every question still open and lets through the ones the new rule or mode covers, without showing them. A call that leaves the working directory, always needs a person or was too large to show in full is still asked.
|
|
12
|
+
|
|
13
|
+
A script that answered the batch prompt with a single key must now answer each call's prompt; the "don't ask again" answer passes a repeated command. Questions from other agents queue behind your own and say which agent is asking. A connector's tool is named by its server and tool (`slack · post`) in the prompt. Desktop, ACP and `namzu exec` are unchanged.
|
|
14
|
+
|
|
15
|
+
### Minor Changes
|
|
16
|
+
|
|
17
|
+
- e25dd2a: Plan mode, the date and the permission mode no longer change the cached system prompt, so toggling plan mode, a new day or a Shift+Tab keeps the prompt cache warm. Plan mode's instructions now arrive only as the plan-mode reminder, the date and branch arrive as an environment reminder (with a short notice, that needs no announcement, when either changes), and `auto`, `accept-edits` and `bypass` are announced when they start and when they end. Queued operator messages and background-job notices are wrapped so they are labelled as what they are. Nothing to change in your setup; a prompt override that looked for plan-mode text in the system prompt should read the reminder instead.
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- e25dd2a: Compaction no longer treats text the runtime put in the user role as something the operator asked for. Project instructions, step context and reminders are skipped when the summary's task and requirements are extracted, and are left out of the excerpt the summary check reads, so a compacted conversation no longer lists the project's rules as the user's requests. The project instructions are still kept whole, once, and re-read fresh on the next turn. The project instructions message now also says that project rules win over Namzu's default style and workflow, and never over safety or permission rules. Nothing to do on upgrade.
|
|
22
|
+
- e25dd2a: The model is now told when Auto (and Strict) mode starts and ends, like Accept edits and Bypass, and hears about a mode change once, after the conversation, instead of also through a system message that re-read the whole conversation on every Shift+Tab. The end of a mode is worded for the mode you land in, and a sub-agent is told its calls follow the session that started it, with that session's person deciding, rather than that it may ask the user. Nothing to change in your setup.
|
|
23
|
+
- e25dd2a: A delegated turn that resumes (for example after a permission answer) now gets the same system prompt a new turn gets: plan-mode instructions when the turn is in plan mode, the note on loading deferred tools, and the delegation advice only when the session has the Agent tool. The resumed turn also keeps the skills the operator has on, and it is told about delegating only when the Agent tool is available (before, it was told unconditionally). Before, the resumed turn was built from a shorter second list and lacked those sections. Nothing to do on upgrade.
|
|
24
|
+
- e25dd2a: Prompt wording. The plan-mode reminder now says why plan mode exists and what is allowed (read and search freely, write only the plan file), asks for approval by calling `exit_plan_mode` because a plain-text question cannot be answered in the approval screen, and no longer says it overrides every other instruction. Coming back into plan mode with a plan for a different task says to write the new plan over the old one, not to start over. The opening line of the system prompt calls Namzu an AI kernel. Nothing to do on upgrade.
|
|
25
|
+
- e25dd2a: Prompt wording. The working rules, the identity block and the tool descriptions say what to do and why instead of stacking prohibitions and capitals; a tool-specific rule (changing a file, building a long file, waiting for a job, when to call `workflow`) now lives only in that tool's description, and the workflow opt-in list is in the `workflow` tool's description alone. The evidence rules are three bullets. Every parameter of the browser, conversation, agent-task and loop tools now carries a description, and the `Agent` tool's `prompt` parameter asks for an objective, what is out of bounds, tools and sources, and the reply shape. A host that matched the old sentences in `CODING_AGENT_WORKING_DOCTRINE` or the tool descriptions by text should match the new ones; nothing else changes on upgrade.
|
|
26
|
+
- e25dd2a: Prompt wording and structure, with no public API change. The operator's wording for a compaction summary now sits in a labelled block that only a per-request closing tag ends. The background-start, moved-to-background and queued-agent tool results state facts and leave the usage advice to the `bash`, `job`, `wait_for_job` and `Agent` descriptions. The note about removed credential-shaped variables gives their count, not their names. The workflow size guideline moves from the `workflow` tool description to the system prompt beside the workflow rules, so a changed setting no longer rewrites the tool definitions. The browser description drops the engine id. `schedule`, `ask_user_question` and `browser_act` each show one sample call. The 12000-character payload cap, the branch rule and the no-apology rule give a reason, and the schedule skill drops text the `schedule` description already holds. A host or test that matched these sentences by text should match the new ones.
|
|
27
|
+
- e25dd2a: Namzu's opening instructions no longer point the model at a shell tool called `bash.run` (it never existed; the tool is `bash`), no longer carry a closed list of six tools, and say one consistent thing about parallel work: independent tool calls may share a response, `bash` calls run one at a time, and the model does not claim concurrency without proof. The foreground `bash` tool's description no longer steers shell work through a sub-agent. The environment paragraph about permissions now follows the turn's permission mode instead of saying every call may ask the user, and says a call that would ask is refused when nobody is at the terminal. Nothing to do on upgrade.
|
|
28
|
+
- e25dd2a: `ask_user_question` no longer tells the model that plan ratification goes through `approve_plan` in a host that does not mount that tool. `buildAskUserQuestionTool` takes an optional `planApprovalTool` naming the host's approval tool; without it the description says "the plan-approval tool". The coordinator passes `approve_plan` when it mounts that tool, and the terminal passes `exit_plan_mode` when plan mode can be approved. A host that builds the tool itself and mounts an approval tool should pass its name.
|
|
29
|
+
- e25dd2a: A sub-agent's result now reaches the parent inside the same marked block as other outside text on every path, not only as a task notification: a foreground `Agent` call, `wait_for_task` and a saved agent's history return the child's words in an `agent-result` block, with the task id and status outside it. The block's header tells the model that an instruction inside it is for the operator to hear about, not to act on. A tool that read the `Agent result:` text of a `wait_for_task` result as plain text should read the block (`untrustedEnvelopeBody` returns its body). The sub-agent prompt no longer tells the child not to ask questions in a way that contradicts the working rules it inherits: it ends by saying that with no one to ask, the child finishes what is safe, leaves the risky step undone and names the blocker in its summary.
|
|
30
|
+
- e25dd2a: A delegated sub-agent now reads working rules that already say what to do when nobody can answer (leave the risky step undone and name it in the summary), instead of rules that send it to ask a person beside a later line saying it has no one to ask. The environment sentence for a sub-agent says the same thing once. The header on outside text (files, web pages, a sub-agent's result) now says "report them in your reply" instead of "tell the operator", which fits a sub-agent whose reader is its parent and is shorter. Nothing to do on upgrade.
|
|
31
|
+
- c1b7b6c: When you answer No to a tool call and the turn stops, the conversation now ends with one dim "Interrupted · What should Namzu do instead?" row (Ctrl+C at a question leaves the same row), lists the stopped calls in the order the model made them, and draws the declined call's dot in the error colour. The No option reads "No, and tell Namzu what to do differently (esc)", and `tab say why` stays on the hint line in narrow terminals. A connector tool call reads `slack · post(hello)` with a few words of the request instead of its raw input, and its result shows what the server said without the wrapper text meant for the model.
|
|
32
|
+
- c1b7b6c: A call that a rule or a hook asked about is no longer approved without being shown when another agent's question is waiting: switching to bypass or answering "don't ask again" on a connector tool leaves it open for you to answer.
|
|
33
|
+
- c1b7b6c: Answering "Yes, and don't ask again" on one shell call now also covers the identical calls waiting behind it, so they run without a second question. The last of several questions keeps its `k of N`, and Ctrl+C at a question ends the turn the way a plain No does, with one `Interrupted` row and the unasked calls shown as not run.
|
|
34
|
+
- Updated dependencies [e25dd2a]
|
|
35
|
+
- Updated dependencies [e25dd2a]
|
|
36
|
+
- Updated dependencies [e25dd2a]
|
|
37
|
+
- Updated dependencies [e25dd2a]
|
|
38
|
+
- Updated dependencies [e25dd2a]
|
|
39
|
+
- Updated dependencies [c1b7b6c]
|
|
40
|
+
- Updated dependencies [c1b7b6c]
|
|
41
|
+
- Updated dependencies [e25dd2a]
|
|
42
|
+
- Updated dependencies [e25dd2a]
|
|
43
|
+
- Updated dependencies [e25dd2a]
|
|
44
|
+
- Updated dependencies [e25dd2a]
|
|
45
|
+
- Updated dependencies [e25dd2a]
|
|
46
|
+
- Updated dependencies [e25dd2a]
|
|
47
|
+
- Updated dependencies [e25dd2a]
|
|
48
|
+
- Updated dependencies [e25dd2a]
|
|
49
|
+
- Updated dependencies [e25dd2a]
|
|
50
|
+
- @namzu/sdk@55.0.0
|
|
51
|
+
- @namzu/browser@2.0.1
|
|
52
|
+
- @namzu/computer-use@3.1.0
|
|
53
|
+
- @namzu/anthropic@6.4.0
|
|
54
|
+
- @namzu/ollama@2.2.5
|
|
55
|
+
- @namzu/openai@4.2.0
|
|
56
|
+
- @namzu/openrouter@3.0.4
|
|
57
|
+
- @namzu/sandbox@30.0.0
|
|
58
|
+
|
|
59
|
+
## 40.0.0
|
|
60
|
+
|
|
61
|
+
### Major Changes
|
|
62
|
+
|
|
63
|
+
- 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.
|
|
64
|
+
|
|
65
|
+
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.
|
|
66
|
+
|
|
67
|
+
- 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.
|
|
68
|
+
|
|
69
|
+
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.
|
|
70
|
+
|
|
71
|
+
- 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.
|
|
72
|
+
|
|
73
|
+
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.
|
|
74
|
+
|
|
75
|
+
`@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.
|
|
76
|
+
|
|
77
|
+
- 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.
|
|
78
|
+
- 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.
|
|
79
|
+
|
|
80
|
+
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.
|
|
81
|
+
|
|
82
|
+
### Minor Changes
|
|
83
|
+
|
|
84
|
+
- 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.
|
|
85
|
+
- 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.
|
|
86
|
+
- 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.
|
|
87
|
+
|
|
88
|
+
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.
|
|
89
|
+
|
|
90
|
+
- 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.
|
|
91
|
+
- 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.
|
|
92
|
+
|
|
93
|
+
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.
|
|
94
|
+
|
|
95
|
+
- 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.
|
|
96
|
+
|
|
97
|
+
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.
|
|
98
|
+
|
|
99
|
+
- 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.
|
|
100
|
+
|
|
101
|
+
- `/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.
|
|
102
|
+
- `/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.
|
|
103
|
+
- 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.
|
|
104
|
+
- `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.
|
|
105
|
+
|
|
106
|
+
- 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.
|
|
107
|
+
|
|
108
|
+
### Patch Changes
|
|
109
|
+
|
|
110
|
+
- 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.
|
|
111
|
+
- 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.
|
|
112
|
+
- 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.
|
|
113
|
+
- 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.
|
|
114
|
+
- Updated dependencies [bb67398]
|
|
115
|
+
- Updated dependencies [38d62f7]
|
|
116
|
+
- Updated dependencies [38d62f7]
|
|
117
|
+
- Updated dependencies [38d62f7]
|
|
118
|
+
- Updated dependencies [38d62f7]
|
|
119
|
+
- Updated dependencies [38d62f7]
|
|
120
|
+
- Updated dependencies [38d62f7]
|
|
121
|
+
- Updated dependencies [38d62f7]
|
|
122
|
+
- @namzu/sdk@54.0.0
|
|
123
|
+
- @namzu/anthropic@6.4.0
|
|
124
|
+
- @namzu/browser@2.0.1
|
|
125
|
+
- @namzu/computer-use@3.1.0
|
|
126
|
+
- @namzu/ollama@2.2.5
|
|
127
|
+
- @namzu/openai@4.2.0
|
|
128
|
+
- @namzu/openrouter@3.0.4
|
|
129
|
+
- @namzu/sandbox@29.0.0
|
|
130
|
+
|
|
3
131
|
## 39.2.1
|
|
4
132
|
|
|
5
133
|
### Patch 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-HO4CMSMY.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;IACtB,KAAK,EAAE,OAAO,GAAG,IAAI,CAAA;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,MAAM,CAAA;IACj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AAQ,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,MAAM,mBAAmB,CAAA;AAEtD,MAAM,WAAW,cAAc;IAC9B,gFAAgF;IAChF,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACt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AI,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-M5RW7JBV.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-6RNVFKSZ.js";
|
|
12
|
+
import "./chunk-WV7XGYNQ.js";
|
|
13
13
|
import {
|
|
14
14
|
decideHeadlessTrust
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-WQRBEQ2P.js";
|
|
16
16
|
import {
|
|
17
17
|
palSessionEnvironment
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-V2ZSQXYQ.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-MEHYOYTW.js";
|
|
33
|
-
import "./chunk-CDYUGK7F.js";
|
|
29
|
+
} from "./chunk-YXZBHG5N.js";
|
|
30
|
+
import "./chunk-B2RMIYPZ.js";
|
|
31
|
+
import "./chunk-SPZWLMZY.js";
|
|
34
32
|
import "./chunk-WHODOMXA.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-65CAAE7I.js";
|
|
34
|
+
import "./chunk-NQGMYAXK.js";
|
|
35
|
+
import "./chunk-O6FOUL5S.js";
|
|
36
|
+
import "./chunk-JSGZ4V7Y.js";
|
|
38
37
|
import "./chunk-NUGPLXVK.js";
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-PSZ44BRO.js";
|
|
39
|
+
import "./chunk-PTJI2QA4.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-OUQEMJ26.js";
|
|
54
53
|
import {
|
|
55
54
|
cliPalActivitySubscriptionPolicy,
|
|
56
55
|
cliPalActivitySubscriptionStore,
|
|
57
56
|
cliPalCommunicationPolicy,
|
|
58
57
|
cliPalCommunicationStore
|
|
59
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-O6JILDEY.js";
|
|
60
59
|
import {
|
|
61
60
|
claimPalConversation,
|
|
62
61
|
listPalConversations,
|
|
63
62
|
palConversationBinding
|
|
64
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-SEYEOYMT.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-37S7MY2T.js";
|
|
70
|
+
import "./chunk-XSCT3DLE.js";
|
|
71
|
+
import "./chunk-6CCX6DPQ.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-EL6GXINV.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-IR3AZZFJ.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-3WAQN6DX.js";
|
|
92
|
+
import "./chunk-G4LCCGQR.js";
|
|
93
|
+
import "./chunk-RWOPUQNS.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-V2NG7LLL.js";
|
|
113
113
|
import {
|
|
114
114
|
cliProjectRoot
|
|
115
115
|
} from "./chunk-H6B6AROX.js";
|
|
116
|
-
import "./chunk-
|
|
116
|
+
import "./chunk-4JQUY3DT.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-XRX3DHEW.js";
|
|
127
127
|
import {
|
|
128
128
|
isTrusted,
|
|
129
129
|
isTrustedAtStateRoot,
|
|
130
130
|
trustDir,
|
|
131
131
|
untrustDir
|
|
132
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-YGV3VBYL.js";
|
|
133
133
|
import {
|
|
134
134
|
compilePermissionLayers,
|
|
135
135
|
permissionLayersOf,
|
|
136
136
|
warnLegacyMcpPermissionNames
|
|
137
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-5OVI35QS.js";
|
|
138
138
|
import "./chunk-WMEZTDLT.js";
|
|
139
139
|
import {
|
|
140
140
|
cliLogger
|
|
141
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-MDG3THRR.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-V4PHIKLW.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-FLYE25VX.js";
|
|
160
|
+
import "./chunk-AOHJCFG3.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-K5OXOYM5.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-CLFVQCFH.js.map
|