@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/dist/tui/types.d.ts
CHANGED
|
@@ -10,7 +10,9 @@ import type { ToolResultScreenConfig } from '../config/tool-result-screens.js';
|
|
|
10
10
|
import type { McpServersConfig } from '../integrations/mcp/servers.js';
|
|
11
11
|
import type { ResolvedLogging } from '../logging.js';
|
|
12
12
|
import type { ChecklistItem } from './Checklist.js';
|
|
13
|
+
import type { ContextView } from './context-grid.js';
|
|
13
14
|
import type { DiffInfo } from './diff-view.js';
|
|
15
|
+
import type { GroupState } from './read-search-group.js';
|
|
14
16
|
import type { ShellOutput } from './shell-cell.js';
|
|
15
17
|
import type { TaskOperation } from './task-activity.js';
|
|
16
18
|
export type MessageRole = 'user' | 'assistant' | 'system' | 'tool';
|
|
@@ -18,10 +20,19 @@ export interface TranscriptMessage {
|
|
|
18
20
|
readonly id: string;
|
|
19
21
|
readonly role: MessageRole;
|
|
20
22
|
readonly content: string;
|
|
23
|
+
/**
|
|
24
|
+
* `recap`: the away recap, a display-only row (`※ recap: …`). Never sent to
|
|
25
|
+
* the model and never counted as something the person typed. `shell`: the
|
|
26
|
+
* echo of a `!command` the person ran themselves; a user row, but not a
|
|
27
|
+
* prompt (no reply follows it and no rewind point stands at it).
|
|
28
|
+
*/
|
|
29
|
+
readonly kind?: 'recap' | 'shell';
|
|
21
30
|
/** Host-only schedule result from the active conversation's sidecar inbox. */
|
|
22
31
|
readonly sourceDelivery?: true;
|
|
23
32
|
/** Structured operator status snapshot; plain content remains available for raw/export. */
|
|
24
33
|
readonly statusRows?: readonly (readonly [string, string])[];
|
|
34
|
+
/** The `/context` grid and lists; `content` carries the same as plain text. */
|
|
35
|
+
readonly contextView?: ContextView;
|
|
25
36
|
readonly pending?: boolean;
|
|
26
37
|
/**
|
|
27
38
|
* Compact successful observation, with full output available on expansion.
|
|
@@ -30,10 +41,19 @@ export interface TranscriptMessage {
|
|
|
30
41
|
* the terminal's width with an ellipsis.
|
|
31
42
|
*/
|
|
32
43
|
readonly activity?: 'exploration' | 'catalogue' | 'evidence' | 'agent-result' | 'web' | 'summary';
|
|
44
|
+
/**
|
|
45
|
+
* Reads, searches, listings and connector calls folded into one counted line.
|
|
46
|
+
* `content` is the line as plain text, `detail` holds every call it covers
|
|
47
|
+
* (each call's headline, then its output) for expansion, and `pending` means
|
|
48
|
+
* more calls may still join it.
|
|
49
|
+
*/
|
|
50
|
+
readonly group?: GroupState;
|
|
33
51
|
/** Overrides the role's default gutter glyph (e.g. a per-tool icon). */
|
|
34
52
|
readonly glyph?: string;
|
|
35
53
|
/** Overrides the glyph color (e.g. red for a failed tool). */
|
|
36
54
|
readonly glyphColor?: string;
|
|
55
|
+
/** Overrides the colour of the row's text (the glyph keeps `glyphColor`). */
|
|
56
|
+
readonly contentColor?: string;
|
|
37
57
|
/** Dim suffix after the content (e.g. a tool's elapsed time). */
|
|
38
58
|
readonly meta?: string;
|
|
39
59
|
/** Collapsible body under the line (tool diff / output). */
|
|
@@ -55,9 +75,14 @@ export interface TranscriptMessage {
|
|
|
55
75
|
readonly detailRef?: number;
|
|
56
76
|
/**
|
|
57
77
|
* Print the complete retained body, without clipping or omission markers.
|
|
58
|
-
*
|
|
78
|
+
* The detailed transcript screen (Ctrl+O) draws every row this way.
|
|
59
79
|
*/
|
|
60
80
|
readonly detailExpanded?: boolean;
|
|
81
|
+
/**
|
|
82
|
+
* What the model reasoned before this row. Kept so the detailed transcript
|
|
83
|
+
* screen can draw it; no other view shows it.
|
|
84
|
+
*/
|
|
85
|
+
readonly thinking?: string;
|
|
61
86
|
/**
|
|
62
87
|
* A shell call's output, drawn as the command cell: this row is the header
|
|
63
88
|
* (`content`) and the `⎿` result under it, elided to a preview until
|
package/dist/tui/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/tui/types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAEnD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AAC7D,OAAO,KAAK,EACX,aAAa,EACb,kBAAkB,EAClB,mBAAmB,EACnB,sBAAsB,EACtB,cAAc,EACd,WAAW,EACX,eAAe,EACf,YAAY,EACZ,aAAa,EACb,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,SAAS,EACT,gBAAgB,EAChB,SAAS,EACT,iBAAiB,EACjB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAA;AAC9E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAA;AACtE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AACpD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AACnD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAC9C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAClD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAEvD,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,WAAW,GAAG,QAAQ,GAAG,MAAM,CAAA;AAElE,MAAM,WAAW,iBAAiB;IACjC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAA;IAC1B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IACxB,8EAA8E;IAC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AQ,CAAC,OAAO,CAAC,EAAE,aAAa,CAAA;IAChC;;;OAGG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAA;IAC9B;;;;;;;;;OASG;IACH,QAAQ,CAAC,iBAAiB,CAAC,EAAE,SAAS,sBAAsB,EAAE,CAAA;IAC9D,uFAAuF;IACvF,QAAQ,CAAC,qBAAqB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;IAClD;;;;OAIG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,aAAa,CAAA;IAChC,4EAA4E;IAC5E,QAAQ,CAAC,GAAG,CAAC,EAAE,SAAS,CAAA;IACxB;;;;;;OAMG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,eAAe,CAAA;CAClC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The standing footer item that says a newer version is out and what to run.
|
|
3
|
+
* It stays at the right end while the check found one; nothing else claims the
|
|
4
|
+
* end of the row except a hint, a notice or a goal.
|
|
5
|
+
*/
|
|
6
|
+
import type { UpdateInfo } from '../integrations/updates.js';
|
|
7
|
+
export declare function updateAmbient(update: UpdateInfo): {
|
|
8
|
+
readonly text: string;
|
|
9
|
+
readonly tone: 'warn';
|
|
10
|
+
readonly strong: string;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=update-notice.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-notice.d.ts","sourceRoot":"","sources":["../../src/tui/update-notice.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAA;AAE5D,wBAAgB,aAAa,CAAC,MAAM,EAAE,UAAU,GAAG;IAClD,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;CACvB,CAEA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { IdleCompactor } from '../integrations/compaction/idle-compaction.js';
|
|
2
|
+
/**
|
|
3
|
+
* What the screen knows that the idle compactor needs. Read through a ref at
|
|
4
|
+
* fire time, so a value that changed since the timer was armed is the one used.
|
|
5
|
+
*/
|
|
6
|
+
export interface IdleCompactionHost {
|
|
7
|
+
/** Names the conversation and model; a change cancels the attempt. */
|
|
8
|
+
readonly conversationKey: () => string;
|
|
9
|
+
/** Undefined while idle compaction is off. */
|
|
10
|
+
readonly settings: () => {
|
|
11
|
+
readonly minTokens: number;
|
|
12
|
+
} | undefined;
|
|
13
|
+
readonly lastInteractionAt: () => number;
|
|
14
|
+
readonly isTurnRunning: () => boolean;
|
|
15
|
+
readonly isDialogOpen: () => boolean;
|
|
16
|
+
readonly hasPendingWake: () => boolean;
|
|
17
|
+
readonly hasBackgroundWork: () => boolean;
|
|
18
|
+
/** Run the compaction and show its result; true when something was compacted. */
|
|
19
|
+
readonly compact: () => Promise<boolean>;
|
|
20
|
+
}
|
|
21
|
+
/** One compactor for the life of the screen; its timer is cleared on unmount. */
|
|
22
|
+
export declare function useIdleCompaction(host: IdleCompactionHost): {
|
|
23
|
+
readonly compactor: IdleCompactor;
|
|
24
|
+
/** The latest context size the kernel reported, or undefined after a rewrite. */
|
|
25
|
+
readonly contextTokens: {
|
|
26
|
+
current: number | undefined;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=use-idle-compaction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-idle-compaction.d.ts","sourceRoot":"","sources":["../../src/tui/use-idle-compaction.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,+CAA+C,CAAA;AAE7E;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IAClC,sEAAsE;IACtE,QAAQ,CAAC,eAAe,EAAE,MAAM,MAAM,CAAA;IACtC,8CAA8C;IAC9C,QAAQ,CAAC,QAAQ,EAAE,MAAM;QAAE,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;KAAE,GAAG,SAAS,CAAA;IACnE,QAAQ,CAAC,iBAAiB,EAAE,MAAM,MAAM,CAAA;IACxC,QAAQ,CAAC,aAAa,EAAE,MAAM,OAAO,CAAA;IACrC,QAAQ,CAAC,YAAY,EAAE,MAAM,OAAO,CAAA;IACpC,QAAQ,CAAC,cAAc,EAAE,MAAM,OAAO,CAAA;IACtC,QAAQ,CAAC,iBAAiB,EAAE,MAAM,OAAO,CAAA;IACzC,iFAAiF;IACjF,QAAQ,CAAC,OAAO,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAA;CACxC;AAED,iFAAiF;AACjF,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,kBAAkB,GAAG;IAC5D,QAAQ,CAAC,SAAS,EAAE,aAAa,CAAA;IACjC,iFAAiF;IACjF,QAAQ,CAAC,aAAa,EAAE;QAAE,OAAO,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE,CAAA;CACvD,CAgCA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type Tip } from './spinner-tips.js';
|
|
2
|
+
import type { TipHistoryStore } from './tip-history.js';
|
|
3
|
+
export interface SpinnerTipInput {
|
|
4
|
+
readonly store: TipHistoryStore | undefined;
|
|
5
|
+
/** `tui.spinnerTips`, with this session's `/config tips` choice applied. */
|
|
6
|
+
readonly enabled: boolean;
|
|
7
|
+
/** True while a reply is in flight (thinking, running a tool or waiting on a permission). */
|
|
8
|
+
readonly busy: boolean;
|
|
9
|
+
readonly statusLineSet: boolean;
|
|
10
|
+
readonly notificationsSet: boolean;
|
|
11
|
+
/** Tool calls the reply that just ended made. */
|
|
12
|
+
readonly lastTurnToolCalls: () => number;
|
|
13
|
+
readonly env?: Readonly<Record<string, string | undefined>>;
|
|
14
|
+
readonly tips?: readonly Tip[];
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* The tip for the next reply's working row. It is picked once, when a reply
|
|
18
|
+
* ends, and recorded then (not when it is shown); it does not change while
|
|
19
|
+
* the next reply runs. A launch's first reply shows none: nothing has ended
|
|
20
|
+
* yet. Turning tips off clears it at once.
|
|
21
|
+
*/
|
|
22
|
+
export declare function useSpinnerTip(input: SpinnerTipInput): string | undefined;
|
|
23
|
+
//# sourceMappingURL=use-spinner-tip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-spinner-tip.d.ts","sourceRoot":"","sources":["../../src/tui/use-spinner-tip.ts"],"names":[],"mappings":"AAEA,OAAO,EAAgB,KAAK,GAAG,EAA4B,MAAM,mBAAmB,CAAA;AACpF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAEvD,MAAM,WAAW,eAAe;IAC/B,QAAQ,CAAC,KAAK,EAAE,eAAe,GAAG,SAAS,CAAA;IAC3C,4EAA4E;IAC5E,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAA;IACzB,6FAA6F;IAC7F,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAA;IACtB,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAA;IAC/B,QAAQ,CAAC,gBAAgB,EAAE,OAAO,CAAA;IAClC,iDAAiD;IACjD,QAAQ,CAAC,iBAAiB,EAAE,MAAM,MAAM,CAAA;IACxC,QAAQ,CAAC,GAAG,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC,CAAA;IAC3D,QAAQ,CAAC,IAAI,CAAC,EAAE,SAAS,GAAG,EAAE,CAAA;CAC9B;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,eAAe,GAAG,MAAM,GAAG,SAAS,CA+BxE"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Runs `notifications.ts`: holds the state, owns the one timer, and hands the
|
|
3
|
+
* footer the notice that is up. `add` and `remove` are stable and synchronous
|
|
4
|
+
* (they read the latest state from a ref), so a key handler can call them and
|
|
5
|
+
* the next key sees the result.
|
|
6
|
+
*/
|
|
7
|
+
import { type Notice } from './notifications.js';
|
|
8
|
+
export interface NoticeSlot {
|
|
9
|
+
readonly current: Notice | null;
|
|
10
|
+
readonly add: (notice: Notice) => void;
|
|
11
|
+
readonly remove: (key: string) => void;
|
|
12
|
+
}
|
|
13
|
+
export declare function useNotifications(): NoticeSlot;
|
|
14
|
+
//# sourceMappingURL=useNotifications.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useNotifications.d.ts","sourceRoot":"","sources":["../../src/tui/useNotifications.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,EAEN,KAAK,MAAM,EAIX,MAAM,oBAAoB,CAAA;AAE3B,MAAM,WAAW,UAAU;IAC1B,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IAC/B,QAAQ,CAAC,GAAG,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;IACtC,QAAQ,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAA;CACtC;AAED,wBAAgB,gBAAgB,IAAI,UAAU,CAkC7C"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type Dispatch, type SetStateAction } from 'react';
|
|
2
|
+
import { type FoldOp } from './read-search-group.js';
|
|
3
|
+
import type { TranscriptMessage } from './types.js';
|
|
4
|
+
export interface ReadSearchGroupControls {
|
|
5
|
+
/** A read, search, listing or connector call started: open the group or add to it. */
|
|
6
|
+
readonly start: (memberKey: string, op: FoldOp) => void;
|
|
7
|
+
/** A member ended, whether it worked or failed: keep its text in the group. False when it is not a member of an open group. */
|
|
8
|
+
readonly finish: (memberKey: string, section: readonly string[]) => boolean;
|
|
9
|
+
/** Settle the open group into its past-tense line. Does nothing when none is open. */
|
|
10
|
+
readonly close: () => void;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* The one group of consecutive reads, searches and listings a live run keeps
|
|
14
|
+
* open. The row is pending while it is open (present tense, counting up) and is
|
|
15
|
+
* settled by the first thing that is not one of those calls: the model's text,
|
|
16
|
+
* another kind of call, a notice, the person's message or the end of the turn.
|
|
17
|
+
*/
|
|
18
|
+
export declare function useReadSearchGroup(setMessages: Dispatch<SetStateAction<readonly TranscriptMessage[]>>, nextId: () => string,
|
|
19
|
+
/** Hands over the reasoning that came before this row, once, or nothing. */
|
|
20
|
+
takeThinking?: () => string | undefined): ReadSearchGroupControls;
|
|
21
|
+
//# sourceMappingURL=useReadSearchGroup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useReadSearchGroup.d.ts","sourceRoot":"","sources":["../../src/tui/useReadSearchGroup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAgC,MAAM,OAAO,CAAA;AAGxF,OAAO,EAEN,KAAK,MAAM,EAIX,MAAM,wBAAwB,CAAA;AAE/B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAUnD,MAAM,WAAW,uBAAuB;IACvC,sFAAsF;IACtF,QAAQ,CAAC,KAAK,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IACvD,+HAA+H;IAC/H,QAAQ,CAAC,MAAM,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,MAAM,EAAE,KAAK,OAAO,CAAA;IAC3E,sFAAsF;IACtF,QAAQ,CAAC,KAAK,EAAE,MAAM,IAAI,CAAA;CAC1B;AAQD;;;;;GAKG;AACH,wBAAgB,kBAAkB,CACjC,WAAW,EAAE,QAAQ,CAAC,cAAc,CAAC,SAAS,iBAAiB,EAAE,CAAC,CAAC,EACnE,MAAM,EAAE,MAAM,MAAM;AACpB,4EAA4E;AAC5E,YAAY,CAAC,EAAE,MAAM,MAAM,GAAG,SAAS,GACrC,uBAAuB,CA0FzB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@namzu/cli",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "41.0.0",
|
|
4
4
|
"description": "Interactive and headless terminal agent for Namzu, with provider discovery, durable sessions, tools and diagnostics.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"namzu",
|
|
@@ -57,17 +57,17 @@
|
|
|
57
57
|
"react": "19.2.6",
|
|
58
58
|
"string-width": "8.2.1",
|
|
59
59
|
"yaml": "^2.9.0",
|
|
60
|
-
"@namzu/anthropic": "6.3.0",
|
|
61
60
|
"@namzu/browser": "2.0.1",
|
|
62
|
-
"@namzu/
|
|
63
|
-
"@namzu/deepseek": "^2.1.0",
|
|
61
|
+
"@namzu/anthropic": "6.4.0",
|
|
64
62
|
"@namzu/computer-use": "3.1.0",
|
|
65
|
-
"@namzu/
|
|
63
|
+
"@namzu/deepseek": "^2.1.0",
|
|
64
|
+
"@namzu/files": "1.1.2",
|
|
66
65
|
"@namzu/ollama": "2.2.5",
|
|
66
|
+
"@namzu/google": "^1.1.3",
|
|
67
67
|
"@namzu/openai": "4.2.0",
|
|
68
68
|
"@namzu/openrouter": "3.0.4",
|
|
69
|
-
"@namzu/sandbox": "^
|
|
70
|
-
"@namzu/sdk": "^
|
|
69
|
+
"@namzu/sandbox": "^30.0.0",
|
|
70
|
+
"@namzu/sdk": "^55.0.0",
|
|
71
71
|
"@namzu/zen": "^5.0.2"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
@@ -13,7 +13,7 @@ to survive when Namzu closes. For a repeat in this same conversation **only
|
|
|
13
13
|
while the TUI is open**, use `session_loop` (or tell the operator `/loop`). It
|
|
14
14
|
re-sends the prompt between turns under the conversation's current permission
|
|
15
15
|
mode. It stops firing when the TUI closes; resuming the conversation later
|
|
16
|
-
restores an unexpired loop.
|
|
16
|
+
restores an unexpired loop. Describe `/loop` as a repeat that lives only while the TUI is open.
|
|
17
17
|
|
|
18
18
|
For a durable task, use `schedule`. It runs later with **nobody watching**,
|
|
19
19
|
including while Namzu is closed when the scheduler service is installed. The
|
|
@@ -33,7 +33,7 @@ the user did not ask for.
|
|
|
33
33
|
Check the tools actually offered in this session before proposing the work.
|
|
34
34
|
Permission rules authorize tools; they do not install or mount them. For example,
|
|
35
35
|
allowing `web_fetch` does not make it available when only `web_search` is offered.
|
|
36
|
-
|
|
36
|
+
Work from the tools this session offers; an output tool it lacks cannot be conjured from package files.
|
|
37
37
|
If the requested page or artifact service is absent, explain that gap and agree
|
|
38
38
|
on a supported output before promising the job. A local HTML file written with
|
|
39
39
|
`write` is a file, not an integrated artifact page.
|
|
@@ -45,15 +45,7 @@ context-window size. A long series of broad searches can exhaust it before any
|
|
|
45
45
|
output file is written. Tool calls made together belong to one model iteration;
|
|
46
46
|
do not equate the iteration budget with the number of tool calls.
|
|
47
47
|
|
|
48
|
-
|
|
49
|
-
merely because the current directory is home, root or `NAMZU_HOME`. Use the
|
|
50
|
-
job's `workspace: "none"` option with `kind: "script"`, and omit `folder`.
|
|
51
|
-
The scheduler makes a private working directory after confirmation. This
|
|
52
|
-
changes the working directory, not the script's authority: it still runs as
|
|
53
|
-
the operator on the host, and the directory is not a write boundary. The
|
|
54
|
-
source conversation can receive the significant result. If a task does
|
|
55
|
-
need project files, use the actual existing project folder; ask the user when
|
|
56
|
-
the project cannot be identified.
|
|
48
|
+
A task that needs no project files uses `workspace: "none"` with `kind: "script"` and no `folder` (section 5). A task that needs project files uses the actual existing project folder; ask the user when the project cannot be identified.
|
|
57
49
|
|
|
58
50
|
## 0. Choosing a kind
|
|
59
51
|
|
|
@@ -99,16 +91,7 @@ nothing can wait for the operator mid-script; use `park` only on a
|
|
|
99
91
|
wakes it. `execution: "sandbox"` is not yet supported for the script/gate
|
|
100
92
|
phase; leave `execution` unset (host).
|
|
101
93
|
|
|
102
|
-
For a pure `"script"` job,
|
|
103
|
-
`permissions: {"rules": {}, "unmatched": "deny"}` with no preset. The
|
|
104
|
-
explicit empty `rules` object is required: there is no default permission
|
|
105
|
-
set. Add only intentional `deny` rules. The `"read-only"` preset includes
|
|
106
|
-
`bash: deny`, which refuses **every** script command during the static
|
|
107
|
-
check, regardless of what that command does. Changing the script text
|
|
108
|
-
cannot fix that rule.
|
|
109
|
-
The `"edit-in-folder"` preset avoids the blanket denial, but its `write`,
|
|
110
|
-
`edit` and `bash: ask` permissions are for agent tool calls, which a pure
|
|
111
|
-
script never makes. They do not confine a host script to the working folder.
|
|
94
|
+
For a pure `"script"` job pass `permissions: {"rules": {}, "unmatched": "deny"}` with no preset and add only intentional `deny` rules. The `"read-only"` preset includes `bash: deny`, which refuses every script command during the static check, so changing the script text cannot fix it. The `"edit-in-folder"` preset's `write`, `edit` and `bash: ask` rules are for agent tool calls, which a pure script never makes.
|
|
112
95
|
|
|
113
96
|
When a polling script sends its own notification only on a change, set
|
|
114
97
|
`notifyOnFinish: false` in the proposal. Otherwise Namzu also sends a
|
|
@@ -276,13 +259,7 @@ anything."
|
|
|
276
259
|
|
|
277
260
|
Call `schedule` with `name` (lowercase, digits, dashes), `when` and
|
|
278
261
|
`permissions`, plus `prompt` (unless `kind` is `"script"`) and `script`
|
|
279
|
-
(when `kind` is not `"agent"`). For a job that needs project files, leave
|
|
280
|
-
`folder` unset only when the session's folder is the actual project and a
|
|
281
|
-
valid job folder. The file system root, the operator's home directory itself,
|
|
282
|
-
`NAMZU_HOME`, and any folder containing `NAMZU_HOME` are refused. In those
|
|
283
|
-
locations, set `folder` to the actual existing project directory. For a
|
|
284
|
-
project-free pure script, set `workspace: "none"` and omit `folder` instead
|
|
285
|
-
of making a directory for the job. Leave `tz`, `execution`, `budget` and
|
|
262
|
+
(when `kind` is not `"agent"`). For a job that needs project files, leave `folder` unset only when the session's folder is the actual project; the file system root, the operator's home directory, `NAMZU_HOME` and any folder containing it are refused, so set `folder` to the project directory there. For a project-free pure script, set `workspace: "none"` and omit `folder`. Leave `tz`, `execution`, `budget` and
|
|
286
263
|
`headed` unset unless the user asked for them. The operator sees one
|
|
287
264
|
confirmation screen with the job
|
|
288
265
|
as it will run, and every value you set that differs from the default is
|
|
@@ -290,12 +267,7 @@ marked as yours. Do not ask them to confirm again in chat. Afterwards,
|
|
|
290
267
|
`schedule` with `action: "list"` shows every job, in any folder, and the
|
|
291
268
|
operator manages them with `/schedule` or `namzu schedule list`.
|
|
292
269
|
|
|
293
|
-
To change a job, call `schedule` with `action: "update"`, `job` (its name)
|
|
294
|
-
and only the fields that change (`prompt`, `when`, `folder`, `workspace`,
|
|
295
|
-
`kind`, `script`, `tz`, `budget`, `notifyOnFinish`, or `permissions` as the
|
|
296
|
-
whole new set). The operator sees what changes and confirms it; the job
|
|
297
|
-
keeps its history. Never delete a job and create it again to change it: its
|
|
298
|
-
history is lost. Jobs run only when the scheduler service is installed: if
|
|
270
|
+
To change a job, call `schedule` with `action: "update"`, `job` (its name) and only the fields that change (`permissions` as the whole new set). The operator confirms what changes and the job keeps its history, which a delete and re-create would lose. Jobs run only when the scheduler service is installed: if
|
|
299
271
|
the result says none is installed, tell the user to run
|
|
300
272
|
`namzu schedule install`; do not say the job is set up and running.
|
|
301
273
|
|