@namzu/cli 39.2.1 → 40.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +72 -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-E7XNZWFV.js} +40 -39
- package/dist/chunks/acp-E7XNZWFV.js.map +6 -0
- package/dist/chunks/{activity-command-23DPNYXT.js → activity-command-QANVT2PA.js} +13 -12
- package/dist/chunks/activity-command-QANVT2PA.js.map +6 -0
- package/dist/chunks/{add-Y2UMHBTC.js → add-VDRMBSNZ.js} +19 -17
- package/dist/chunks/add-VDRMBSNZ.js.map +6 -0
- package/dist/chunks/{agent-LCCOMK5H.js → agent-PPQJZWBO.js} +31 -30
- package/dist/chunks/agent-session-PISYPFO2.js +54 -0
- package/dist/chunks/{archive-YUZ62G7R.js → archive-SH4IG6KC.js} +11 -10
- package/dist/chunks/archive-SH4IG6KC.js.map +6 -0
- package/dist/chunks/{bin-main-LFPYUV3K.js → bin-main-D45Q7FMM.js} +5 -4
- package/dist/chunks/bin-main-D45Q7FMM.js.map +6 -0
- package/dist/chunks/{browser-X6UIDIQQ.js → browser-EUFWHKYD.js} +6 -6
- package/dist/chunks/{chat-EMEYQKRR.js → chat-QDWGHEEL.js} +14 -14
- package/dist/chunks/{chunk-E6LQB5Z7.js → chunk-2I3Z65TV.js} +13 -13
- package/dist/chunks/{chunk-W6JEZMOJ.js → chunk-4HUZHYCY.js} +4 -4
- package/dist/chunks/{chunk-XNQI4ZDH.js → chunk-53GEER6F.js} +3 -3
- package/dist/chunks/{chunk-HHOTJDZW.js → chunk-5HSG2XFD.js} +2 -2
- package/dist/chunks/{chunk-V6UEMLTT.js → chunk-6PAE7AWD.js} +2 -2
- package/dist/chunks/{chunk-HLIXL5RK.js → chunk-6UDJ3PVE.js} +7 -7
- package/dist/chunks/{chunk-M2PQMMDW.js → chunk-73G5WDGM.js} +3 -3
- package/dist/chunks/{chunk-MCXVRO4B.js → chunk-7M6IZGAK.js} +58 -12
- package/dist/chunks/chunk-7M6IZGAK.js.map +6 -0
- package/dist/chunks/{chunk-2PH7EQQP.js → chunk-AHPIP5IE.js} +2 -2
- package/dist/chunks/{chunk-LS7PT6RY.js → chunk-AQL5A442.js} +10 -4
- package/dist/chunks/{chunk-LS7PT6RY.js.map → chunk-AQL5A442.js.map} +1 -1
- package/dist/chunks/{chunk-N3JNFZOW.js → chunk-AUFSSABF.js} +3 -3
- package/dist/chunks/{chunk-BPDKRVGW.js → chunk-BJNHDKU6.js} +2 -2
- package/dist/chunks/{chunk-QENCNE7Q.js → chunk-BQ7PN64G.js} +10 -10
- package/dist/chunks/{chunk-QENCNE7Q.js.map → chunk-BQ7PN64G.js.map} +1 -1
- package/dist/chunks/{chunk-T64F5OER.js → chunk-BZ4U5L7N.js} +9 -9
- package/dist/chunks/{chunk-FXMJ5NVM.js → chunk-BZJNXGWW.js} +5 -5
- package/dist/chunks/{chunk-HBTPB6ON.js → chunk-C3APHRQB.js} +2 -2
- package/dist/chunks/{chunk-A34Y6ZPM.js → chunk-C3ZJQLUX.js} +2 -2
- package/dist/chunks/{chunk-B2GM4GON.js → chunk-C723P7SP.js} +6 -6
- package/dist/chunks/{chunk-OPIC6ZIL.js → chunk-D63T5UQN.js} +561 -32
- package/dist/chunks/chunk-D63T5UQN.js.map +6 -0
- package/dist/chunks/{chunk-5NVONQBW.js → chunk-DGV5W2BU.js} +3 -3
- package/dist/chunks/{chunk-AP4B5Z3D.js → chunk-DWSATEAY.js} +2 -2
- package/dist/chunks/{chunk-45GT626R.js → chunk-EKFNDKPO.js} +3 -3
- package/dist/chunks/{chunk-KONYGNG6.js → chunk-EUBCYTOK.js} +3 -152
- package/dist/chunks/chunk-EUBCYTOK.js.map +6 -0
- package/dist/chunks/{chunk-IVZB7YKX.js → chunk-FBY4LGL7.js} +3 -3
- package/dist/chunks/chunk-G6LK7V7F.js +440 -0
- package/dist/chunks/chunk-G6LK7V7F.js.map +6 -0
- package/dist/chunks/{chunk-HWM73622.js → chunk-GDVYFXOR.js} +12 -12
- package/dist/chunks/{chunk-WNVYEZUQ.js → chunk-GTWNJ7GL.js} +4 -4
- package/dist/chunks/{chunk-2L3JDLC5.js → chunk-HBDBVQ3R.js} +12 -12
- package/dist/chunks/{chunk-3MT5KLBF.js → chunk-HLYTSH5W.js} +2 -2
- package/dist/chunks/{chunk-A25FQQTW.js → chunk-HPLVGTBH.js} +2 -2
- package/dist/chunks/{chunk-EGP3MB37.js → chunk-I7LUF577.js} +11 -5
- package/dist/chunks/chunk-I7LUF577.js.map +6 -0
- package/dist/chunks/{chunk-B4DC7NC7.js → chunk-IAL3F2OI.js} +8 -8
- package/dist/chunks/{chunk-JEHKZEIB.js → chunk-ILTHOMHL.js} +4 -4
- package/dist/chunks/{chunk-EEDZOGV4.js → chunk-IYUW2RAA.js} +27 -2
- package/dist/chunks/chunk-IYUW2RAA.js.map +6 -0
- package/dist/chunks/{chunk-TACSPIUK.js → chunk-JAHVXTO4.js} +2 -2
- package/dist/chunks/{chunk-BZIUFNYR.js → chunk-KKYIGLKI.js} +4 -4
- package/dist/chunks/{chunk-7WUSJ454.js → chunk-KOYEUNX7.js} +4 -4
- package/dist/chunks/{chunk-OT5X76XI.js → chunk-KWRJTEV5.js} +3 -3
- package/dist/chunks/{chunk-XJT5DL3I.js → chunk-L2GX4GAQ.js} +2 -2
- package/dist/chunks/{chunk-M3TJHQF7.js → chunk-LFI6O7WL.js} +5 -5
- package/dist/chunks/{chunk-ISN4VZCX.js → chunk-LM3W6AEK.js} +2 -2
- package/dist/chunks/{chunk-IYPP6HSK.js → chunk-O2B3B2TM.js} +1 -6
- package/dist/chunks/chunk-O2B3B2TM.js.map +6 -0
- package/dist/chunks/{chunk-DNHHMNVG.js → chunk-O3L5C2WT.js} +2 -2
- package/dist/chunks/{chunk-EXVGLN6V.js → chunk-PXKXXNFU.js} +2 -2
- package/dist/chunks/{chunk-MIM4YRP2.js → chunk-QPEGCKRA.js} +2 -2
- package/dist/chunks/{chunk-OVG3QY7U.js → chunk-R7XQP4PZ.js} +3 -3
- package/dist/chunks/{chunk-ESMVELWA.js → chunk-RAS4ZA5C.js} +5 -5
- package/dist/chunks/chunk-RLMKDLGK.js +3604 -0
- package/dist/chunks/chunk-RLMKDLGK.js.map +6 -0
- package/dist/chunks/{chunk-PV4ZAFVQ.js → chunk-RVNLS4BN.js} +2 -2
- package/dist/chunks/{chunk-QR5YS5QW.js → chunk-RVSGU3JS.js} +2 -2
- package/dist/chunks/{chunk-JII5GOH2.js → chunk-SOE4Q55L.js} +2 -2
- package/dist/chunks/{chunk-7OXYUJSY.js → chunk-SUDXOGE6.js} +29 -29
- package/dist/chunks/{chunk-NUJCTZOM.js → chunk-T6INV7EZ.js} +7 -7
- package/dist/chunks/{chunk-37YQDLHZ.js → chunk-TTDBVPB2.js} +4238 -3639
- package/dist/chunks/chunk-TTDBVPB2.js.map +6 -0
- package/dist/chunks/{chunk-MEHYOYTW.js → chunk-U5KONGAN.js} +3 -3
- package/dist/chunks/{chunk-KS5X3GMX.js → chunk-U5PL5D27.js} +3 -3
- package/dist/chunks/{chunk-AXCOWIIH.js → chunk-U5UV2YRE.js} +2 -139
- package/dist/chunks/chunk-U5UV2YRE.js.map +6 -0
- package/dist/chunks/{chunk-YIFOFVWM.js → chunk-WYULBUCG.js} +4 -4
- package/dist/chunks/{chunk-ONKQPPSY.js → chunk-X54VNEWE.js} +2 -2
- package/dist/chunks/{chunk-YZOR7643.js → chunk-XDGIOXTU.js} +156 -3
- package/dist/chunks/chunk-XDGIOXTU.js.map +6 -0
- package/dist/chunks/{chunk-FKSIOYXA.js → chunk-XLGTH7JD.js} +4 -4
- package/dist/chunks/chunk-XPS3W7FC.js +147 -0
- package/dist/chunks/chunk-XPS3W7FC.js.map +6 -0
- package/dist/chunks/chunk-XSCT3DLE.js +161 -0
- package/dist/chunks/chunk-XSCT3DLE.js.map +6 -0
- package/dist/chunks/{chunk-363DTX3M.js → chunk-YTEGBYGL.js} +4 -4
- package/dist/chunks/{chunk-7C6DG66T.js → chunk-ZPIHARMI.js} +4 -4
- package/dist/chunks/{cli-runtime-XHGO7QSK.js → cli-runtime-YD7OZGEU.js} +16 -14
- package/dist/chunks/cli-runtime-YD7OZGEU.js.map +6 -0
- package/dist/chunks/{commands-GDF5OOXO.js → commands-5P4RLRXG.js} +5 -5
- package/dist/chunks/{crash-report-N7ZQ2UB4.js → crash-report-F5G32A7S.js} +9 -8
- package/dist/chunks/{dist-547VSBMV.js → dist-6O3HSFZP.js} +2 -2
- package/dist/chunks/{dist-IJ3AAED4.js → dist-7B6PZO7C.js} +2 -2
- package/dist/chunks/{dist-MZNKQTW4.js → dist-DFLFYX3A.js} +2 -2
- package/dist/chunks/{dist-36LBIFJ6.js → dist-SX66KAH4.js} +2 -2
- package/dist/chunks/{dist-T2NJ6SVO.js → dist-WB355CNL.js} +44 -16
- package/dist/chunks/dist-WB355CNL.js.map +6 -0
- package/dist/chunks/{dist-TCILCQPG.js → dist-Y6SGSSMO.js} +2 -2
- package/dist/chunks/{dist-TCIDRGW5.js → dist-ZAGIMP7N.js} +2 -2
- package/dist/chunks/{doctor-T7SC3VSE.js → doctor-2AOB47IO.js} +8 -8
- package/dist/chunks/{drain-OA5MO7SQ.js → drain-M6AGCMJX.js} +10 -10
- package/dist/chunks/{eval-D5Q2WZ7S.js → eval-YHY3VO7B.js} +2 -2
- package/dist/chunks/{exec-MG5S7OJN.js → exec-KCISQ4M7.js} +33 -28
- package/dist/chunks/exec-KCISQ4M7.js.map +6 -0
- package/dist/chunks/{home-Z7L4BJTW.js → home-AC5LQKDR.js} +3 -3
- package/dist/chunks/{host-queries-LL56A6NY.js → host-queries-YQVRKUWC.js} +14 -14
- package/dist/chunks/{lifecycle-TCRLU6B5.js → lifecycle-CQXCTLAZ.js} +28 -26
- package/dist/chunks/{list-RBOLXDHG.js → list-LNKKJZSZ.js} +16 -14
- package/dist/chunks/list-LNKKJZSZ.js.map +6 -0
- package/dist/chunks/{login-RZCJNDAJ.js → login-YA652CIL.js} +8 -8
- package/dist/chunks/{logs-KDEGF3FA.js → logs-2PREHSOD.js} +4 -4
- package/dist/chunks/{mcp-7L7NYLKG.js → mcp-WJB2UVQW.js} +21 -19
- package/dist/chunks/mcp-WJB2UVQW.js.map +6 -0
- package/dist/chunks/{message-command-NTLYNKUW.js → message-command-IXUASFZO.js} +37 -36
- package/dist/chunks/message-command-IXUASFZO.js.map +6 -0
- package/dist/chunks/{operator-tools-DXU6UK4S.js → operator-tools-QOZZZVEC.js} +12 -12
- package/dist/chunks/{output-schema-UMOAOTW2.js → output-schema-JTPOC3NL.js} +3 -3
- package/dist/chunks/{pal-FDOF3S5J.js → pal-FNSNP47Q.js} +13 -12
- package/dist/chunks/pal-FNSNP47Q.js.map +6 -0
- package/dist/chunks/{providers-HOY5QHWL.js → providers-M5HWW7DH.js} +6 -6
- package/dist/chunks/{resident-XIM5KNNX.js → resident-R2RCAHYR.js} +24 -22
- package/dist/chunks/resident-R2RCAHYR.js.map +6 -0
- package/dist/chunks/resume-UKK4HVCO.js +22 -0
- package/dist/chunks/{resume-command-DIVGMVMA.js → resume-command-LPN33FIF.js} +6 -5
- package/dist/chunks/{schedule-YRHGK6CD.js → schedule-J2IY3SVE.js} +8 -8
- package/dist/chunks/{service-DRXVEYFA.js → service-LEAVOYGP.js} +27 -25
- package/dist/chunks/service-LEAVOYGP.js.map +6 -0
- package/dist/chunks/session-step-2B46NVE7.js +30 -0
- package/dist/chunks/{skills-C5ZXOJEA.js → skills-X2V3TNTK.js} +10 -9
- package/dist/chunks/skills-X2V3TNTK.js.map +6 -0
- package/dist/chunks/{state-BVKWZF6F.js → state-VDTYWZ5S.js} +4 -3
- package/dist/chunks/state-VDTYWZ5S.js.map +6 -0
- package/dist/chunks/{store-GKY55UEV.js → store-C27Q22UV.js} +4 -4
- package/dist/chunks/{store-ZXFXXY4S.js → store-DRPRQLDD.js} +9 -9
- package/dist/chunks/{store-A4VHV4I2.js → store-S4QRR5DH.js} +6 -6
- package/dist/chunks/{tui-PY2FQXVO.js → tui-RU6CRMLX.js} +13396 -11956
- package/dist/chunks/tui-RU6CRMLX.js.map +6 -0
- package/dist/chunks/{upgrade-WSBGA3FW.js → upgrade-I2GMLDWZ.js} +3 -4
- package/dist/chunks/upgrade-I2GMLDWZ.js.map +6 -0
- package/dist/chunks/{worktree-HLE7PBLL.js → worktree-F632OJNE.js} +13 -12
- package/dist/chunks/worktree-F632OJNE.js.map +6 -0
- package/dist/config/load.d.ts +6 -1
- package/dist/config/load.d.ts.map +1 -1
- package/dist/config/schema.d.ts +45 -0
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/config/user-config.d.ts.map +1 -1
- package/dist/index.js +16 -14
- package/dist/integrations/compaction/idle-compaction.d.ts +84 -0
- package/dist/integrations/compaction/idle-compaction.d.ts.map +1 -0
- package/dist/integrations/providers/prompt-cache-ttl.d.ts +14 -0
- package/dist/integrations/providers/prompt-cache-ttl.d.ts.map +1 -0
- package/dist/integrations/resident/runner-worker.js +20 -19
- package/dist/integrations/resident/runner-worker.js.map +1 -1
- package/dist/integrations/sessions/recap.d.ts +56 -0
- package/dist/integrations/sessions/recap.d.ts.map +1 -0
- package/dist/integrations/sessions/store.d.ts +7 -1
- package/dist/integrations/sessions/store.d.ts.map +1 -1
- package/dist/integrations/subagents/runtime.d.ts.map +1 -1
- package/dist/memory/typed.d.ts +11 -0
- package/dist/memory/typed.d.ts.map +1 -1
- package/dist/tui/App.d.ts +17 -1
- package/dist/tui/App.d.ts.map +1 -1
- package/dist/tui/BrandHeader.d.ts.map +1 -1
- package/dist/tui/Checklist.d.ts +2 -0
- package/dist/tui/Checklist.d.ts.map +1 -1
- package/dist/tui/ChoicePicker.d.ts +4 -1
- package/dist/tui/ChoicePicker.d.ts.map +1 -1
- package/dist/tui/Composer.d.ts +15 -3
- package/dist/tui/Composer.d.ts.map +1 -1
- package/dist/tui/ComposerFrame.d.ts.map +1 -1
- package/dist/tui/ContextGridRow.d.ts +6 -0
- package/dist/tui/ContextGridRow.d.ts.map +1 -0
- package/dist/tui/LiveActivity.d.ts +9 -1
- package/dist/tui/LiveActivity.d.ts.map +1 -1
- package/dist/tui/Markdown.d.ts.map +1 -1
- package/dist/tui/ReadSearchGroup.d.ts +14 -0
- package/dist/tui/ReadSearchGroup.d.ts.map +1 -0
- package/dist/tui/RewindPicker.d.ts +14 -0
- package/dist/tui/RewindPicker.d.ts.map +1 -0
- package/dist/tui/StatusBar.d.ts +31 -12
- package/dist/tui/StatusBar.d.ts.map +1 -1
- package/dist/tui/ThemeSample.d.ts +5 -0
- package/dist/tui/ThemeSample.d.ts.map +1 -0
- package/dist/tui/Transcript.d.ts +13 -0
- package/dist/tui/Transcript.d.ts.map +1 -1
- package/dist/tui/TranscriptScreen.d.ts +24 -0
- package/dist/tui/TranscriptScreen.d.ts.map +1 -0
- package/dist/tui/agent-transcript-rows.d.ts.map +1 -1
- package/dist/tui/agent-view-commands.d.ts.map +1 -1
- package/dist/tui/agent.d.ts +62 -1
- package/dist/tui/agent.d.ts.map +1 -1
- package/dist/tui/away-recap.d.ts +73 -0
- package/dist/tui/away-recap.d.ts.map +1 -0
- package/dist/tui/context-grid.d.ts +121 -0
- package/dist/tui/context-grid.d.ts.map +1 -0
- package/dist/tui/context-meter.d.ts +9 -0
- package/dist/tui/context-meter.d.ts.map +1 -1
- package/dist/tui/context-usage.d.ts +70 -0
- package/dist/tui/context-usage.d.ts.map +1 -0
- package/dist/tui/diff-view.d.ts +1 -1
- package/dist/tui/edit-prompts.d.ts.map +1 -1
- package/dist/tui/focus-reporting.d.ts +45 -0
- package/dist/tui/focus-reporting.d.ts.map +1 -0
- package/dist/tui/group-rows.d.ts +10 -0
- package/dist/tui/group-rows.d.ts.map +1 -0
- package/dist/tui/index.d.ts.map +1 -1
- package/dist/tui/live-window.d.ts +5 -8
- package/dist/tui/live-window.d.ts.map +1 -1
- package/dist/tui/logo.d.ts +0 -1
- package/dist/tui/logo.d.ts.map +1 -1
- package/dist/tui/motion.d.ts +14 -0
- package/dist/tui/motion.d.ts.map +1 -0
- package/dist/tui/next-task.d.ts +11 -0
- package/dist/tui/next-task.d.ts.map +1 -0
- package/dist/tui/notifications.d.ts +69 -0
- package/dist/tui/notifications.d.ts.map +1 -0
- package/dist/tui/plain-interruption.d.ts +1 -1
- package/dist/tui/plain-interruption.d.ts.map +1 -1
- package/dist/tui/read-search-group.d.ts +97 -0
- package/dist/tui/read-search-group.d.ts.map +1 -0
- package/dist/tui/recap-setting.d.ts +36 -0
- package/dist/tui/recap-setting.d.ts.map +1 -0
- package/dist/tui/recap-turns.d.ts +13 -0
- package/dist/tui/recap-turns.d.ts.map +1 -0
- package/dist/tui/restored-rows.d.ts.map +1 -1
- package/dist/tui/rewind.d.ts +142 -0
- package/dist/tui/rewind.d.ts.map +1 -0
- package/dist/tui/slashCommands.d.ts +45 -0
- package/dist/tui/slashCommands.d.ts.map +1 -1
- package/dist/tui/spinner-tips-setting.d.ts +10 -0
- package/dist/tui/spinner-tips-setting.d.ts.map +1 -0
- package/dist/tui/spinner-tips.d.ts +39 -0
- package/dist/tui/spinner-tips.d.ts.map +1 -0
- package/dist/tui/stale-history-retry.d.ts +17 -0
- package/dist/tui/stale-history-retry.d.ts.map +1 -0
- package/dist/tui/system-rows.d.ts +4 -0
- package/dist/tui/system-rows.d.ts.map +1 -1
- package/dist/tui/terminal-display.d.ts +7 -0
- package/dist/tui/terminal-display.d.ts.map +1 -1
- package/dist/tui/terminal-focus.d.ts +29 -0
- package/dist/tui/terminal-focus.d.ts.map +1 -0
- package/dist/tui/terminal-title.d.ts +19 -0
- package/dist/tui/terminal-title.d.ts.map +1 -1
- package/dist/tui/theme-command.d.ts +20 -0
- package/dist/tui/theme-command.d.ts.map +1 -0
- package/dist/tui/theme-detect.d.ts +41 -0
- package/dist/tui/theme-detect.d.ts.map +1 -0
- package/dist/tui/theme-launch.d.ts +16 -0
- package/dist/tui/theme-launch.d.ts.map +1 -0
- package/dist/tui/theme-palettes.d.ts +121 -0
- package/dist/tui/theme-palettes.d.ts.map +1 -0
- package/dist/tui/theme-store.d.ts +35 -0
- package/dist/tui/theme-store.d.ts.map +1 -0
- package/dist/tui/theme.d.ts +35 -64
- package/dist/tui/theme.d.ts.map +1 -1
- package/dist/tui/tidy-tool-output.d.ts +17 -0
- package/dist/tui/tidy-tool-output.d.ts.map +1 -1
- package/dist/tui/tip-history.d.ts +25 -0
- package/dist/tui/tip-history.d.ts.map +1 -0
- package/dist/tui/title-frame.d.ts +7 -0
- package/dist/tui/title-frame.d.ts.map +1 -0
- package/dist/tui/tool-end-rows.d.ts +4 -1
- package/dist/tui/tool-end-rows.d.ts.map +1 -1
- package/dist/tui/tool-failure-text.d.ts.map +1 -1
- package/dist/tui/transcript-screen.d.ts +31 -0
- package/dist/tui/transcript-screen.d.ts.map +1 -0
- package/dist/tui/transcript-scroll.d.ts.map +1 -1
- package/dist/tui/types.d.ts +26 -1
- package/dist/tui/types.d.ts.map +1 -1
- package/dist/tui/update-notice.d.ts +12 -0
- package/dist/tui/update-notice.d.ts.map +1 -0
- package/dist/tui/use-idle-compaction.d.ts +29 -0
- package/dist/tui/use-idle-compaction.d.ts.map +1 -0
- package/dist/tui/use-spinner-tip.d.ts +23 -0
- package/dist/tui/use-spinner-tip.d.ts.map +1 -0
- package/dist/tui/useNotifications.d.ts +14 -0
- package/dist/tui/useNotifications.d.ts.map +1 -0
- package/dist/tui/useReadSearchGroup.d.ts +21 -0
- package/dist/tui/useReadSearchGroup.d.ts.map +1 -0
- package/package.json +6 -6
- 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-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-PPQJZWBO.js.map} +0 -0
- /package/dist/chunks/{agent-session-6ZFR55NO.js.map → agent-session-PISYPFO2.js.map} +0 -0
- /package/dist/chunks/{browser-X6UIDIQQ.js.map → browser-EUFWHKYD.js.map} +0 -0
- /package/dist/chunks/{chat-EMEYQKRR.js.map → chat-QDWGHEEL.js.map} +0 -0
- /package/dist/chunks/{chunk-E6LQB5Z7.js.map → chunk-2I3Z65TV.js.map} +0 -0
- /package/dist/chunks/{chunk-W6JEZMOJ.js.map → chunk-4HUZHYCY.js.map} +0 -0
- /package/dist/chunks/{chunk-XNQI4ZDH.js.map → chunk-53GEER6F.js.map} +0 -0
- /package/dist/chunks/{chunk-HHOTJDZW.js.map → chunk-5HSG2XFD.js.map} +0 -0
- /package/dist/chunks/{chunk-V6UEMLTT.js.map → chunk-6PAE7AWD.js.map} +0 -0
- /package/dist/chunks/{chunk-HLIXL5RK.js.map → chunk-6UDJ3PVE.js.map} +0 -0
- /package/dist/chunks/{chunk-M2PQMMDW.js.map → chunk-73G5WDGM.js.map} +0 -0
- /package/dist/chunks/{chunk-2PH7EQQP.js.map → chunk-AHPIP5IE.js.map} +0 -0
- /package/dist/chunks/{chunk-N3JNFZOW.js.map → chunk-AUFSSABF.js.map} +0 -0
- /package/dist/chunks/{chunk-BPDKRVGW.js.map → chunk-BJNHDKU6.js.map} +0 -0
- /package/dist/chunks/{chunk-T64F5OER.js.map → chunk-BZ4U5L7N.js.map} +0 -0
- /package/dist/chunks/{chunk-FXMJ5NVM.js.map → chunk-BZJNXGWW.js.map} +0 -0
- /package/dist/chunks/{chunk-HBTPB6ON.js.map → chunk-C3APHRQB.js.map} +0 -0
- /package/dist/chunks/{chunk-A34Y6ZPM.js.map → chunk-C3ZJQLUX.js.map} +0 -0
- /package/dist/chunks/{chunk-B2GM4GON.js.map → chunk-C723P7SP.js.map} +0 -0
- /package/dist/chunks/{chunk-5NVONQBW.js.map → chunk-DGV5W2BU.js.map} +0 -0
- /package/dist/chunks/{chunk-AP4B5Z3D.js.map → chunk-DWSATEAY.js.map} +0 -0
- /package/dist/chunks/{chunk-45GT626R.js.map → chunk-EKFNDKPO.js.map} +0 -0
- /package/dist/chunks/{chunk-IVZB7YKX.js.map → chunk-FBY4LGL7.js.map} +0 -0
- /package/dist/chunks/{chunk-HWM73622.js.map → chunk-GDVYFXOR.js.map} +0 -0
- /package/dist/chunks/{chunk-WNVYEZUQ.js.map → chunk-GTWNJ7GL.js.map} +0 -0
- /package/dist/chunks/{chunk-2L3JDLC5.js.map → chunk-HBDBVQ3R.js.map} +0 -0
- /package/dist/chunks/{chunk-3MT5KLBF.js.map → chunk-HLYTSH5W.js.map} +0 -0
- /package/dist/chunks/{chunk-A25FQQTW.js.map → chunk-HPLVGTBH.js.map} +0 -0
- /package/dist/chunks/{chunk-B4DC7NC7.js.map → chunk-IAL3F2OI.js.map} +0 -0
- /package/dist/chunks/{chunk-JEHKZEIB.js.map → chunk-ILTHOMHL.js.map} +0 -0
- /package/dist/chunks/{chunk-TACSPIUK.js.map → chunk-JAHVXTO4.js.map} +0 -0
- /package/dist/chunks/{chunk-BZIUFNYR.js.map → chunk-KKYIGLKI.js.map} +0 -0
- /package/dist/chunks/{chunk-7WUSJ454.js.map → chunk-KOYEUNX7.js.map} +0 -0
- /package/dist/chunks/{chunk-OT5X76XI.js.map → chunk-KWRJTEV5.js.map} +0 -0
- /package/dist/chunks/{chunk-XJT5DL3I.js.map → chunk-L2GX4GAQ.js.map} +0 -0
- /package/dist/chunks/{chunk-M3TJHQF7.js.map → chunk-LFI6O7WL.js.map} +0 -0
- /package/dist/chunks/{chunk-ISN4VZCX.js.map → chunk-LM3W6AEK.js.map} +0 -0
- /package/dist/chunks/{chunk-DNHHMNVG.js.map → chunk-O3L5C2WT.js.map} +0 -0
- /package/dist/chunks/{chunk-EXVGLN6V.js.map → chunk-PXKXXNFU.js.map} +0 -0
- /package/dist/chunks/{chunk-MIM4YRP2.js.map → chunk-QPEGCKRA.js.map} +0 -0
- /package/dist/chunks/{chunk-OVG3QY7U.js.map → chunk-R7XQP4PZ.js.map} +0 -0
- /package/dist/chunks/{chunk-ESMVELWA.js.map → chunk-RAS4ZA5C.js.map} +0 -0
- /package/dist/chunks/{chunk-PV4ZAFVQ.js.map → chunk-RVNLS4BN.js.map} +0 -0
- /package/dist/chunks/{chunk-QR5YS5QW.js.map → chunk-RVSGU3JS.js.map} +0 -0
- /package/dist/chunks/{chunk-JII5GOH2.js.map → chunk-SOE4Q55L.js.map} +0 -0
- /package/dist/chunks/{chunk-7OXYUJSY.js.map → chunk-SUDXOGE6.js.map} +0 -0
- /package/dist/chunks/{chunk-NUJCTZOM.js.map → chunk-T6INV7EZ.js.map} +0 -0
- /package/dist/chunks/{chunk-MEHYOYTW.js.map → chunk-U5KONGAN.js.map} +0 -0
- /package/dist/chunks/{chunk-KS5X3GMX.js.map → chunk-U5PL5D27.js.map} +0 -0
- /package/dist/chunks/{chunk-YIFOFVWM.js.map → chunk-WYULBUCG.js.map} +0 -0
- /package/dist/chunks/{chunk-ONKQPPSY.js.map → chunk-X54VNEWE.js.map} +0 -0
- /package/dist/chunks/{chunk-FKSIOYXA.js.map → chunk-XLGTH7JD.js.map} +0 -0
- /package/dist/chunks/{chunk-363DTX3M.js.map → chunk-YTEGBYGL.js.map} +0 -0
- /package/dist/chunks/{chunk-7C6DG66T.js.map → chunk-ZPIHARMI.js.map} +0 -0
- /package/dist/chunks/{commands-GDF5OOXO.js.map → commands-5P4RLRXG.js.map} +0 -0
- /package/dist/chunks/{crash-report-N7ZQ2UB4.js.map → crash-report-F5G32A7S.js.map} +0 -0
- /package/dist/chunks/{dist-547VSBMV.js.map → dist-6O3HSFZP.js.map} +0 -0
- /package/dist/chunks/{dist-IJ3AAED4.js.map → dist-7B6PZO7C.js.map} +0 -0
- /package/dist/chunks/{dist-MZNKQTW4.js.map → dist-DFLFYX3A.js.map} +0 -0
- /package/dist/chunks/{dist-36LBIFJ6.js.map → dist-SX66KAH4.js.map} +0 -0
- /package/dist/chunks/{dist-TCILCQPG.js.map → dist-Y6SGSSMO.js.map} +0 -0
- /package/dist/chunks/{dist-TCIDRGW5.js.map → dist-ZAGIMP7N.js.map} +0 -0
- /package/dist/chunks/{doctor-T7SC3VSE.js.map → doctor-2AOB47IO.js.map} +0 -0
- /package/dist/chunks/{drain-OA5MO7SQ.js.map → drain-M6AGCMJX.js.map} +0 -0
- /package/dist/chunks/{eval-D5Q2WZ7S.js.map → eval-YHY3VO7B.js.map} +0 -0
- /package/dist/chunks/{home-Z7L4BJTW.js.map → home-AC5LQKDR.js.map} +0 -0
- /package/dist/chunks/{host-queries-LL56A6NY.js.map → host-queries-YQVRKUWC.js.map} +0 -0
- /package/dist/chunks/{lifecycle-TCRLU6B5.js.map → lifecycle-CQXCTLAZ.js.map} +0 -0
- /package/dist/chunks/{login-RZCJNDAJ.js.map → login-YA652CIL.js.map} +0 -0
- /package/dist/chunks/{logs-KDEGF3FA.js.map → logs-2PREHSOD.js.map} +0 -0
- /package/dist/chunks/{operator-tools-DXU6UK4S.js.map → operator-tools-QOZZZVEC.js.map} +0 -0
- /package/dist/chunks/{output-schema-UMOAOTW2.js.map → output-schema-JTPOC3NL.js.map} +0 -0
- /package/dist/chunks/{providers-HOY5QHWL.js.map → providers-M5HWW7DH.js.map} +0 -0
- /package/dist/chunks/{resume-3OP5GB7S.js.map → resume-UKK4HVCO.js.map} +0 -0
- /package/dist/chunks/{resume-command-DIVGMVMA.js.map → resume-command-LPN33FIF.js.map} +0 -0
- /package/dist/chunks/{schedule-YRHGK6CD.js.map → schedule-J2IY3SVE.js.map} +0 -0
- /package/dist/chunks/{session-step-ZD3D55SM.js.map → session-step-2B46NVE7.js.map} +0 -0
- /package/dist/chunks/{store-A4VHV4I2.js.map → store-C27Q22UV.js.map} +0 -0
- /package/dist/chunks/{store-GKY55UEV.js.map → store-DRPRQLDD.js.map} +0 -0
- /package/dist/chunks/{store-ZXFXXY4S.js.map → store-S4QRR5DH.js.map} +0 -0
package/dist/tui/theme.d.ts
CHANGED
|
@@ -1,73 +1,44 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Theme tokens for the TUI
|
|
3
|
-
*
|
|
4
|
-
* foreground. Explicit ANSI indices
|
|
5
|
-
* which can turn an intended palette
|
|
6
|
-
*
|
|
7
|
-
*
|
|
2
|
+
* Theme tokens for the TUI. The default is `dark`: phosphor green, neutral
|
|
3
|
+
* text and quiet graphite. We inherit the terminal's own background rather
|
|
4
|
+
* than painting one, and only theme the foreground. Explicit ANSI indices
|
|
5
|
+
* avoid Chalk's RGB cube approximation, which can turn an intended palette
|
|
6
|
+
* color into a different hue.
|
|
7
|
+
*
|
|
8
|
+
* `theme` is read at render time (`theme.text.muted`), never copied into a
|
|
9
|
+
* module-level constant: the active theme can change while the TUI runs (see
|
|
10
|
+
* `theme-store.ts`), and a constant would keep the old colours. The palettes
|
|
11
|
+
* themselves live in `theme-palettes.ts`.
|
|
8
12
|
*/
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
readonly text: {
|
|
13
|
-
readonly primary: string;
|
|
14
|
-
readonly secondary: string;
|
|
15
|
-
readonly muted: string;
|
|
16
|
-
};
|
|
17
|
-
readonly accent: {
|
|
18
|
-
readonly user: string;
|
|
19
|
-
readonly assistant: string;
|
|
20
|
-
readonly system: string;
|
|
21
|
-
readonly tool: string;
|
|
22
|
-
/**
|
|
23
|
-
* The hypermode session mode's own colour (violet), used wherever the
|
|
24
|
-
* mode is named: the effort slider's last stop and the composer tag.
|
|
25
|
-
* Never a status colour.
|
|
26
|
-
*/
|
|
27
|
-
readonly hypermode: string;
|
|
28
|
-
/**
|
|
29
|
-
* An armed composer trigger (sky): its words in the draft and its tag
|
|
30
|
-
* row. Kept apart from the session mode's violet, which names what lasts
|
|
31
|
-
* for the session; a trigger lasts one message.
|
|
32
|
-
*/
|
|
33
|
-
readonly trigger: string;
|
|
34
|
-
/** Plan mode in the footer's mode item (teal). */
|
|
35
|
-
readonly plan: string;
|
|
36
|
-
/** Background shells in the footer pill (cyan). */
|
|
37
|
-
readonly shells: string;
|
|
38
|
-
};
|
|
39
|
-
readonly status: {
|
|
40
|
-
readonly ok: string;
|
|
41
|
-
readonly warn: string;
|
|
42
|
-
readonly error: string;
|
|
43
|
-
/** A merged pull request (purple). */
|
|
44
|
-
readonly merged: string;
|
|
45
|
-
};
|
|
46
|
-
readonly border: {
|
|
47
|
-
readonly default: string;
|
|
48
|
-
readonly focus: string;
|
|
49
|
-
};
|
|
50
|
-
}
|
|
13
|
+
import { type DiffColors, type SemanticColors, type ThemeName } from './theme-palettes.js';
|
|
14
|
+
export type { DiffColors, SemanticColors, ThemeName };
|
|
15
|
+
/** The active palette. Mutated in place by `applyPalette`; read, never written, elsewhere. */
|
|
51
16
|
export declare const theme: SemanticColors;
|
|
52
|
-
/**
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
*/
|
|
57
|
-
export interface DiffColors {
|
|
58
|
-
readonly added: string;
|
|
59
|
-
readonly removed: string;
|
|
60
|
-
readonly addedDimmed: string;
|
|
61
|
-
readonly removedDimmed: string;
|
|
62
|
-
readonly addedWord: string;
|
|
63
|
-
readonly removedWord: string;
|
|
64
|
-
}
|
|
65
|
-
/** For a terminal that reports 24-bit colour: the dark-theme values. */
|
|
17
|
+
/** Make `name` the active palette. The store calls this and then tells the screen to redraw. */
|
|
18
|
+
export declare function applyPalette(name: ThemeName): void;
|
|
19
|
+
/** The name of the palette currently applied. */
|
|
20
|
+
export declare function activeThemeName(): ThemeName;
|
|
21
|
+
/** The dark theme's diff colours for a terminal that reports 24-bit colour. */
|
|
66
22
|
export declare const DIFF_COLORS_TRUECOLOR: DiffColors;
|
|
67
|
-
/**
|
|
23
|
+
/** The dark theme's diff colours for every other terminal: named ANSI colours, words in the bright variant. */
|
|
68
24
|
export declare const DIFF_COLORS_ANSI: DiffColors;
|
|
69
25
|
/** Whether the terminal says it draws 24-bit colour. */
|
|
70
26
|
export declare function reportsTruecolor(env?: NodeJS.ProcessEnv): boolean;
|
|
71
|
-
/** The diff colours this terminal
|
|
27
|
+
/** The diff colours the active theme draws on this terminal. */
|
|
72
28
|
export declare function diffColors(env?: NodeJS.ProcessEnv): DiffColors;
|
|
29
|
+
/** The colour groups a row may name by token. */
|
|
30
|
+
type RowTokenGroup = 'text' | 'accent' | 'status' | 'border' | 'context';
|
|
31
|
+
/** A theme colour a row is allowed to carry, as `group.name` (`status.error`). */
|
|
32
|
+
export type ThemeToken = {
|
|
33
|
+
[G in RowTokenGroup]: `${G}.${keyof SemanticColors[G] & string}`;
|
|
34
|
+
}[RowTokenGroup];
|
|
35
|
+
/**
|
|
36
|
+
* A colour for a row that is stored and drawn later. It is the token's name,
|
|
37
|
+
* not its value, so a row already on screen is drawn in the colours of the theme
|
|
38
|
+
* that is active when it is drawn, not the one it was written under.
|
|
39
|
+
*/
|
|
40
|
+
export declare function tokenColor(token: ThemeToken): string;
|
|
41
|
+
/** The colour to draw: a stored token is looked up in the active theme, any other colour is kept. */
|
|
42
|
+
export declare function paint(color: string): string;
|
|
43
|
+
export declare function paint(color: string | undefined): string | undefined;
|
|
73
44
|
//# sourceMappingURL=theme.d.ts.map
|
package/dist/tui/theme.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/tui/theme.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/tui/theme.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,O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52
52
|
* every internal tool name; the person needs one sentence.
|
|
53
53
|
*/
|
|
54
54
|
export declare function unknownToolNotice(result: string): string | undefined;
|
|
55
|
+
/** The short row for a call whose arguments did not fit the tool's schema; the full text is in the detailed transcript. */
|
|
56
|
+
export declare const INVALID_PARAMETERS = "Invalid tool parameters";
|
|
55
57
|
/** What the transcript says under a call the person answered No to. */
|
|
56
58
|
export declare function declinedLine(note: string | undefined): string;
|
|
57
59
|
/**
|
|
@@ -63,6 +65,21 @@ export declare function declinedLine(note: string | undefined): string;
|
|
|
63
65
|
export declare function failureFactsLine(facts: Extract<ToolFacts, {
|
|
64
66
|
kind: 'failure';
|
|
65
67
|
}>, cwd?: string): string;
|
|
68
|
+
/**
|
|
69
|
+
* The short text a refused call of a file, search or language tool reads as,
|
|
70
|
+
* only where a refusal is worth a label of its own: a missing file, a file
|
|
71
|
+
* that has to be read first, and a refusal made before the tool did its work
|
|
72
|
+
* (input it could not use, text that is not there, a copy gone stale). Every
|
|
73
|
+
* other failure, a permission error, a timeout or a directory read as a file,
|
|
74
|
+
* has no label and is drawn as the tool's own message. The full message stays
|
|
75
|
+
* behind ctrl+o. A file that has to be read first is advice, so it is drawn dim.
|
|
76
|
+
*/
|
|
77
|
+
export declare function shortToolFailure(toolName: string, facts: Extract<ToolFacts, {
|
|
78
|
+
kind: 'failure';
|
|
79
|
+
}>): {
|
|
80
|
+
readonly text: string;
|
|
81
|
+
readonly tone: 'error' | 'muted';
|
|
82
|
+
} | undefined;
|
|
66
83
|
/**
|
|
67
84
|
* The one-line account of a finished read, search, write or edit, from the typed
|
|
68
85
|
* facts the kernel reports (`ToolResult.facts`), not from the model's receipt:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tidy-tool-output.d.ts","sourceRoot":"","sources":["../../src/tui/tidy-tool-output.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAkB,MAAM,YAAY,CAAA;AAI3D,OAAO,KAAK,EAAE,WAAW,EAAE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AAc,QAA0B,CAAA;AAYrD;;;;;;;;;GASG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,GAAG,UAAU,CAmD9E;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAKpE;AAED,2HAA2H;AAC3H,eAAO,MAAM,kBAAkB,4BAA4B,CAAA;AAE3D,uEAAuE;AACvE,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAK7D;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAC/B,KAAK,EAAE,OAAO,CAAC,SAAS,EAAE;IAAE,IAAI,EAAE,SAAS,CAAA;CAAE,CAAC,EAC9C,GAAG,CAAC,EAAE,MAAM,GACV,MAAM,CA8CR;AAED;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAC/B,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,OAAO,CAAC,SAAS,EAAE;IAAE,IAAI,EAAE,SAAS,CAAA;CAAE,CAAC,GAC5C;IAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO,CAAA;CAAE,GAAG,SAAS,CA+BzE;AAoBD;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAoD9E"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface TipShown {
|
|
2
|
+
readonly lastLaunch: number;
|
|
3
|
+
readonly total: number;
|
|
4
|
+
}
|
|
5
|
+
export interface TipHistory {
|
|
6
|
+
readonly launches: number;
|
|
7
|
+
readonly shown: Readonly<Record<string, TipShown>>;
|
|
8
|
+
/** How many times each command was run, by name without the slash. */
|
|
9
|
+
readonly used: Readonly<Record<string, number>>;
|
|
10
|
+
}
|
|
11
|
+
/** The store the terminal and the picker share; the file one below is the real one. */
|
|
12
|
+
export interface TipHistoryStore {
|
|
13
|
+
read(): TipHistory;
|
|
14
|
+
/** Count one process start. Called once, by the interactive entry only. */
|
|
15
|
+
recordLaunch(): void;
|
|
16
|
+
/** A tip was picked: remember it at the current launch and count the showing. */
|
|
17
|
+
recordShown(id: string): void;
|
|
18
|
+
/** A command ran: count it. */
|
|
19
|
+
recordUse(command: string): void;
|
|
20
|
+
}
|
|
21
|
+
export declare const EMPTY_TIP_HISTORY: TipHistory;
|
|
22
|
+
export declare function tipHistoryPath(home?: string): string;
|
|
23
|
+
export declare function readTipHistory(path: string): TipHistory;
|
|
24
|
+
export declare function fileTipHistory(home?: string): TipHistoryStore;
|
|
25
|
+
//# sourceMappingURL=tip-history.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tip-history.d.ts","sourceRoot":"","sources":["../../src/tui/tip-history.ts"],"names":[],"mappings":"AAqBA,MAAM,WAAW,QAAQ;IACxB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;IAC3B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;CACtB;AAED,MAAM,WAAW,UAAU;IAC1B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAA;IAClD,sEAAsE;IACtE,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;CAC/C;AAED,uFAAuF;AACvF,MAAM,WAAW,eAAe;IAC/B,IAAI,IAAI,UAAU,CAAA;IAClB,2EAA2E;IAC3E,YAAY,IAAI,IAAI,CAAA;IACpB,iFAAiF;IACjF,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,+BAA+B;IAC/B,SAAS,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;CAChC;AAED,eAAO,MAAM,iBAAiB,EAAE,UAAiD,CAAA;AAEjF,wBAAgB,cAAc,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAEpD;AAMD,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,CAsBvD;AAiBD,wBAAgB,cAAc,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,eAAe,CAuB7D"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The frame counter behind the animated busy glyph in the terminal title.
|
|
3
|
+
* Advances every `TITLE_ANIMATION_MS` while `active`; when it stops the count
|
|
4
|
+
* stays where it was, so the title freezes on the frame it showed.
|
|
5
|
+
*/
|
|
6
|
+
export declare function useTitleFrame(active: boolean): number;
|
|
7
|
+
//# sourceMappingURL=title-frame.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"title-frame.d.ts","sourceRoot":"","sources":["../../src/tui/title-frame.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,wBAAgB,aAAa,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,CAQrD"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { AgentEvent } from './agent.js';
|
|
2
2
|
import { type ProposedChange } from './diff-rows.js';
|
|
3
|
+
import { type FoldOp } from './read-search-group.js';
|
|
3
4
|
import type { TranscriptMessage } from './types.js';
|
|
4
5
|
import { type WebActivity } from './web-activity.js';
|
|
5
6
|
/**
|
|
@@ -20,11 +21,13 @@ export interface ToolEndStart {
|
|
|
20
21
|
readonly command?: string;
|
|
21
22
|
readonly web?: WebActivity;
|
|
22
23
|
readonly activity?: 'exploration';
|
|
24
|
+
/** The call only looks; it folds into a counted line with its neighbours. */
|
|
25
|
+
readonly fold?: FoldOp;
|
|
23
26
|
/** What an edit or write asked for, drawn dimmed if the person refuses it. */
|
|
24
27
|
readonly proposed?: ProposedChange;
|
|
25
28
|
}
|
|
26
29
|
/** One row to add, in the order of `pushMessage`'s arguments that matter. */
|
|
27
|
-
export type ToolRow = Pick<TranscriptMessage, 'role' | 'content'> & Partial<Pick<TranscriptMessage, 'glyph' | 'glyphColor' | 'meta' | 'detail' | 'activity' | 'shell' | 'diff'>>;
|
|
30
|
+
export type ToolRow = Pick<TranscriptMessage, 'role' | 'content'> & Partial<Pick<TranscriptMessage, 'glyph' | 'glyphColor' | 'contentColor' | 'meta' | 'detail' | 'activity' | 'shell' | 'diff' | 'group'>>;
|
|
28
31
|
export type ToolEndRows =
|
|
29
32
|
/** Add these rows. */
|
|
30
33
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-end-rows.d.ts","sourceRoot":"","sources":["../../src/tui/tool-end-rows.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AAE5C,OAAO,EAAE,KAAK,cAAc,EAAgB,MAAM,gBAAgB,CAAA;
|
|
1
|
+
{"version":3,"file":"tool-end-rows.d.ts","sourceRoot":"","sources":["../../src/tui/tool-end-rows.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AAE5C,OAAO,EAAE,KAAK,cAAc,EAAgB,MAAM,gBAAgB,CAAA;AAGlE,OAAO,EAAe,KAAK,MAAM,EAAqB,MAAM,wBAAwB,CAAA;AAOpF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAEnD,OAAO,EAAE,KAAK,WAAW,EAAgC,MAAM,mBAAmB,CAAA;AAElF;;;;;;;GAOG;AAEH,MAAM,MAAM,YAAY,GAAG,OAAO,CAAC,UAAU,EAAE;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,CAAC,CAAA;AAEpE,sDAAsD;AACtD,MAAM,WAAW,YAAY;IAC5B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,MAAM,CAAC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B,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAErD;AAiED,iGAAiG;AACjG,wBAAgB,WAAW,CAC1B,KAAK,EAAE,YAAY,EACnB,KAAK,EAAE,YAAY,GAAG,SAAS,EAC/B,GAAG,EAAE,cAAc,GACjB,WAAW,CAsRb"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-failure-text.d.ts","sourceRoot":"","sources":["../../src/tui/tool-failure-text.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;
|
|
1
|
+
{"version":3,"file":"tool-failure-text.d.ts","sourceRoot":"","sources":["../../src/tui/tool-failure-text.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AASH,uFAAuF;AACvF,wBAAgB,eAAe,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,EAAE,QAAQ,EAAE,OAAO,GAAG,MAAM,CAUrF;AAED,iFAAiF;AACjF,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEhD"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The detailed transcript screen: which rows it shows and what its footer says.
|
|
3
|
+
*
|
|
4
|
+
* Pure functions, so the window rule, the divider and the footer line can be
|
|
5
|
+
* driven without a terminal. `TranscriptScreen.tsx` draws what these return.
|
|
6
|
+
*/
|
|
7
|
+
import type { TranscriptMessage } from './types.js';
|
|
8
|
+
/** Rows the screen shows before the person asks for all of them. */
|
|
9
|
+
export declare const TRANSCRIPT_SCREEN_TAIL = 30;
|
|
10
|
+
/** The rows to draw, and how many older ones the window leaves out. */
|
|
11
|
+
export interface ScreenWindow {
|
|
12
|
+
readonly hiddenCount: number;
|
|
13
|
+
readonly shown: readonly TranscriptMessage[];
|
|
14
|
+
}
|
|
15
|
+
/** The last {@link TRANSCRIPT_SCREEN_TAIL} rows, or every row once `showAll` is on. */
|
|
16
|
+
export declare function screenWindow(messages: readonly TranscriptMessage[], showAll: boolean): ScreenWindow;
|
|
17
|
+
/**
|
|
18
|
+
* The divider above the window: `[before, count, after]`, where `count` is drawn
|
|
19
|
+
* bold. Null when the conversation fits and there is nothing to show or hide.
|
|
20
|
+
*/
|
|
21
|
+
export declare function screenDivider(hiddenCount: number, showAll: boolean): readonly [string, string, string] | null;
|
|
22
|
+
/** The footer line's left side, cut to `columns` with an ellipsis. */
|
|
23
|
+
export declare function screenFooter(options: {
|
|
24
|
+
readonly showAll: boolean;
|
|
25
|
+
readonly dialogWaiting: boolean;
|
|
26
|
+
readonly columns: number;
|
|
27
|
+
}): {
|
|
28
|
+
readonly prefix: string;
|
|
29
|
+
readonly text: string;
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=transcript-screen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transcript-screen.d.ts","sourceRoot":"","sources":["../../src/tui/transcript-screen.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAEnD,oEAAoE;AACpE,eAAO,MAAM,sBAAsB,KAAK,CAAA;AAExC,uEAAuE;AACvE,MAAM,WAAW,YAAY;IAC5B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;IAC5B,QAAQ,CAAC,KAAK,EAAE,SAAS,iBAAiB,EAAE,CAAA;CAC5C;AAED,uFAAuF;AACvF,wBAAgB,YAAY,CAC3B,QAAQ,EAAE,SAAS,iBAAiB,EAAE,EACtC,OAAO,EAAE,OAAO,GACd,YAAY,CAWd;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAC5B,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,OAAO,GACd,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAQ1C;AAED,sEAAsE;AACtE,wBAAgB,YAAY,CAAC,OAAO,EAAE;IACrC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAA;IACzB,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAA;IAC/B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;CACxB,GAAG;IAAE,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAMrD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transcript-scroll.d.ts","sourceRoot":"","sources":["../../src/tui/transcript-scroll.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAOH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAEnD,2CAA2C;AAC3C,MAAM,WAAW,SAAS;IACzB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;IAC3B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;CACtB;AAKD;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CACnC,QAAQ,EAAE,SAAS,iBAAiB,EAAE,EACtC,OAAO,EAAE,iBAAiB,GAAG,IAAI,EACjC,SAAS,EAAE,MAAM,GAAG,SAAS,EAC7B,OAAO,EAAE,MAAM,GACb,SAAS,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"transcript-scroll.d.ts","sourceRoot":"","sources":["../../src/tui/transcript-scroll.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAOH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAEnD,2CAA2C;AAC3C,MAAM,WAAW,SAAS;IACzB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;IAC3B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;CACtB;AAKD;;;;;;;GAOG;AACH,wBAAgB,oBA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Y,CAUd;AAWD;;;GAGG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,GAAG,MAAM,GAAG,IAAI,CAG1E"}
|
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":["../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BAAsB,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": "40.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.
|
|
60
|
+
"@namzu/anthropic": "6.4.0",
|
|
61
61
|
"@namzu/browser": "2.0.1",
|
|
62
|
-
"@namzu/files": "1.1.2",
|
|
63
|
-
"@namzu/deepseek": "^2.1.0",
|
|
64
62
|
"@namzu/computer-use": "3.1.0",
|
|
63
|
+
"@namzu/deepseek": "^2.1.0",
|
|
64
|
+
"@namzu/files": "1.1.2",
|
|
65
65
|
"@namzu/google": "^1.1.3",
|
|
66
66
|
"@namzu/ollama": "2.2.5",
|
|
67
67
|
"@namzu/openai": "4.2.0",
|
|
68
68
|
"@namzu/openrouter": "3.0.4",
|
|
69
|
-
"@namzu/sandbox": "^
|
|
70
|
-
"@namzu/sdk": "^
|
|
69
|
+
"@namzu/sandbox": "^29.0.0",
|
|
70
|
+
"@namzu/sdk": "^54.0.0",
|
|
71
71
|
"@namzu/zen": "^5.0.2"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|