@namzu/cli 36.2.0 → 36.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +35 -0
- package/dist/bin.js +1 -1
- package/dist/chunks/{acp-P22WRX3A.js → acp-2DS2IECT.js} +58 -34
- package/dist/chunks/acp-2DS2IECT.js.map +6 -0
- package/dist/chunks/{activity-command-OK463NV4.js → activity-command-MCYEK4Z4.js} +10 -10
- package/dist/chunks/{add-ML53TFN2.js → add-ZQ3YWP4F.js} +16 -16
- package/dist/chunks/{agent-3ST7Q6HZ.js → agent-PAGVUATH.js} +22 -22
- package/dist/chunks/agent-session-PLIPF3XG.js +46 -0
- package/dist/chunks/{archive-WV2NBOHR.js → archive-VPREZOGC.js} +8 -8
- package/dist/chunks/{bin-main-FPJQMK33.js → bin-main-MWFKUXP2.js} +3 -3
- package/dist/chunks/{browser-JRWZ3PYX.js → browser-FZWYOIIJ.js} +6 -6
- package/dist/chunks/{chat-3IJFKDSN.js → chat-W355SFNQ.js} +13 -13
- package/dist/chunks/{chunk-S7E42272.js → chunk-2BZOT2CT.js} +2 -2
- package/dist/chunks/{chunk-7OEK2NAO.js → chunk-2O7KYX4V.js} +8 -8
- package/dist/chunks/{chunk-OS7IVIYH.js → chunk-2TGQ2B53.js} +242 -3
- package/dist/chunks/{chunk-OS7IVIYH.js.map → chunk-2TGQ2B53.js.map} +3 -3
- package/dist/chunks/{chunk-LIZPXS73.js → chunk-3F5DGROG.js} +2 -2
- package/dist/chunks/{chunk-NKEOCU52.js → chunk-3M3PMQ3I.js} +7 -7
- package/dist/chunks/{chunk-KNNQHRZ4.js → chunk-46B7KRXY.js} +6 -6
- package/dist/chunks/{chunk-PT7TZNBV.js → chunk-52OVP5BG.js} +4 -4
- package/dist/chunks/{chunk-X2YRM3UE.js → chunk-56OUKG5W.js} +3 -3
- package/dist/chunks/{chunk-53EZXXT4.js → chunk-5H4LJ4AN.js} +27 -9
- package/dist/chunks/chunk-5H4LJ4AN.js.map +6 -0
- package/dist/chunks/{chunk-HJ42RG5U.js → chunk-5URT3ZM2.js} +4 -4
- package/dist/chunks/{chunk-ZZ6Z2DO6.js → chunk-6CGC72OA.js} +10 -10
- package/dist/chunks/{chunk-GWOW3U2S.js → chunk-6TDJXZ5W.js} +4 -4
- package/dist/chunks/{chunk-7WQV2FSF.js → chunk-AHYHR5DY.js} +3 -3
- package/dist/chunks/{chunk-XAKL7C7B.js → chunk-AP5KD43Y.js} +2 -2
- package/dist/chunks/{chunk-NRML7BIR.js → chunk-AS7UWXMN.js} +4 -4
- package/dist/chunks/{chunk-QQLB573I.js → chunk-BOV53LZO.js} +2 -2
- package/dist/chunks/{chunk-GPBUDMUF.js → chunk-BUCICQWG.js} +2 -2
- package/dist/chunks/{chunk-5PQVJBIO.js → chunk-CZVHXYGD.js} +6 -3
- package/dist/chunks/{chunk-5PQVJBIO.js.map → chunk-CZVHXYGD.js.map} +1 -1
- package/dist/chunks/{chunk-CFN7CUD3.js → chunk-DYUOXP5Q.js} +13 -13
- package/dist/chunks/{chunk-G5XTLTDR.js → chunk-E7HLYLD7.js} +3 -3
- package/dist/chunks/{chunk-ABD2DOO2.js → chunk-EKUJUPFA.js} +4 -4
- package/dist/chunks/{chunk-YEFJAE2B.js → chunk-EZ6ZSHYX.js} +27 -26
- package/dist/chunks/{chunk-YEFJAE2B.js.map → chunk-EZ6ZSHYX.js.map} +1 -1
- package/dist/chunks/{chunk-AABPCENY.js → chunk-F3YQ2CSZ.js} +4 -4
- package/dist/chunks/{chunk-2VXA7GZU.js → chunk-FU4GQ7K2.js} +2 -2
- package/dist/chunks/{chunk-VHKKPDL2.js → chunk-GQN64E36.js} +3 -3
- package/dist/chunks/{chunk-3OZ2OBGU.js → chunk-HKDPP2JF.js} +2 -2
- package/dist/chunks/{chunk-YZ675PG4.js → chunk-HSEJGSXE.js} +2 -2
- package/dist/chunks/{chunk-ZXWJ6G3J.js → chunk-I6CDUPVR.js} +2 -2
- package/dist/chunks/{chunk-27VZRJTG.js → chunk-IQBR45AU.js} +2 -2
- package/dist/chunks/{chunk-HIZ7F6BT.js → chunk-JCDTR2ZU.js} +4 -4
- package/dist/chunks/{chunk-ZNAH4EGP.js → chunk-KMHLON54.js} +2 -2
- package/dist/chunks/{chunk-CXLSM5SH.js → chunk-KOG2WB66.js} +4 -4
- package/dist/chunks/{chunk-AGHVC2IJ.js → chunk-LBH5WVXU.js} +2 -2
- package/dist/chunks/{chunk-22P25PLK.js → chunk-LYDXPWAZ.js} +22 -4
- package/dist/chunks/{chunk-22P25PLK.js.map → chunk-LYDXPWAZ.js.map} +1 -1
- package/dist/chunks/{chunk-U5AWHJ7O.js → chunk-MBBFX64S.js} +2 -2
- package/dist/chunks/{chunk-PJ3UYK2K.js → chunk-MJO6CH5F.js} +3 -3
- package/dist/chunks/{chunk-AVIW5JJF.js → chunk-NATYSTPM.js} +2 -2
- package/dist/chunks/{chunk-YLIKDPD6.js → chunk-NBD5MAGK.js} +9 -9
- package/dist/chunks/{chunk-43FBWINL.js → chunk-PINPSIJ5.js} +5 -5
- package/dist/chunks/{chunk-AL6ESCHD.js → chunk-PLKJKF32.js} +12 -12
- package/dist/chunks/chunk-QBAISLAD.js +750 -0
- package/dist/chunks/chunk-QBAISLAD.js.map +6 -0
- package/dist/chunks/{chunk-KQOIPRZ5.js → chunk-QRT3N2K3.js} +2 -2
- package/dist/chunks/{chunk-DYBUCWAB.js → chunk-QXDKRJZ5.js} +3 -3
- package/dist/chunks/{chunk-EOO5AKO4.js → chunk-RBX6RVYO.js} +6 -6
- package/dist/chunks/{chunk-VSUHR44P.js → chunk-RM6HTBJK.js} +2 -2
- package/dist/chunks/{chunk-WW4VKEBD.js → chunk-S6MZK4LD.js} +2 -2
- package/dist/chunks/{chunk-H7VJHF5S.js → chunk-SFUUN6B3.js} +957 -262
- package/dist/chunks/chunk-SFUUN6B3.js.map +6 -0
- package/dist/chunks/{chunk-ZKTLXAQK.js → chunk-V3ZLK3XQ.js} +3243 -1041
- package/dist/chunks/chunk-V3ZLK3XQ.js.map +6 -0
- package/dist/chunks/{chunk-WNMRETWS.js → chunk-VUOS5SQ3.js} +2 -2
- package/dist/chunks/{chunk-YTJO7G24.js → chunk-XCWZZZOW.js} +3 -3
- package/dist/chunks/{chunk-RPAHIOW6.js → chunk-YYQFUKI7.js} +3 -3
- package/dist/chunks/{chunk-5GARJ3CK.js → chunk-YYVDLVUM.js} +2 -2
- package/dist/chunks/{chunk-HQZSTYKY.js → chunk-ZB5ETOVE.js} +3 -3
- package/dist/chunks/{chunk-GFSD2D3M.js → chunk-ZG6NVROB.js} +2 -2
- package/dist/chunks/{chunk-MBGQS5YA.js → chunk-ZHBHRMCI.js} +4 -4
- package/dist/chunks/{cli-runtime-CQKITOHY.js → cli-runtime-NG23IVRM.js} +8 -8
- package/dist/chunks/{commands-UEPVSG33.js → commands-LQISMOPF.js} +5 -5
- package/dist/chunks/{crash-report-3GQ3SJML.js → crash-report-EYK56MJJ.js} +6 -6
- package/dist/chunks/{dist-YDFJ4YOH.js → dist-3AMBKAG4.js} +2 -2
- package/dist/chunks/{dist-SCEJQJFY.js → dist-AUDNCB3F.js} +2 -2
- package/dist/chunks/{dist-FFMNE5LK.js → dist-AZJ56DQJ.js} +2 -2
- package/dist/chunks/{dist-IPJVDPA3.js → dist-DWB5AYXB.js} +2 -2
- package/dist/chunks/{dist-VJ2UQYSX.js → dist-EDKLCZY4.js} +2 -2
- package/dist/chunks/{dist-Q37IZHCW.js → dist-PZXF5NU3.js} +2 -2
- package/dist/chunks/{dist-AMYVT2VT.js → dist-XT4V74YL.js} +2 -2
- package/dist/chunks/{doctor-YWK25HGQ.js → doctor-3EOUWDYB.js} +6 -6
- package/dist/chunks/{drain-5R73B66Y.js → drain-IMNF2CDN.js} +10 -10
- package/dist/chunks/{eval-GYPUHRIK.js → eval-VHWEJ4GG.js} +2 -2
- package/dist/chunks/{exec-AHAC6YBQ.js → exec-2KM6DH56.js} +149 -41
- package/dist/chunks/exec-2KM6DH56.js.map +6 -0
- package/dist/chunks/{home-GI6TRZAN.js → home-H4GTIYO5.js} +3 -3
- package/dist/chunks/{host-queries-MN57UTDU.js → host-queries-5C4TCX6J.js} +13 -13
- package/dist/chunks/{lifecycle-7LD634AQ.js → lifecycle-IHW4P636.js} +23 -23
- package/dist/chunks/{list-DSHTQRTP.js → list-JJZ7I5OF.js} +12 -12
- package/dist/chunks/{login-R5P2OAXZ.js → login-T2RKNHK2.js} +8 -8
- package/dist/chunks/{logs-SGPSXLBY.js → logs-J6D4SEDY.js} +4 -4
- package/dist/chunks/{mcp-MC6B34XH.js → mcp-WONRVJ26.js} +15 -15
- package/dist/chunks/{message-command-4MV2SVHP.js → message-command-F3TFROMK.js} +29 -29
- package/dist/chunks/{operator-tools-GI63VOXH.js → operator-tools-H4MYC5PE.js} +11 -11
- package/dist/chunks/{output-schema-74VSN66J.js → output-schema-RFJUTQ2N.js} +3 -3
- package/dist/chunks/{pal-BWPYGQ4B.js → pal-UCYGJN75.js} +11 -11
- package/dist/chunks/{providers-YV45XVWS.js → providers-BHF65IUG.js} +6 -6
- package/dist/chunks/{resident-OC2D5V5I.js → resident-CNS3XQRU.js} +18 -18
- package/dist/chunks/{resume-command-DZBKOABY.js → resume-command-Y3NYDSI4.js} +4 -4
- package/dist/chunks/{schedule-GUD625PJ.js → schedule-KN5YGOSJ.js} +8 -8
- package/dist/chunks/{service-67FZ3N75.js → service-OEOHUGM6.js} +22 -22
- package/dist/chunks/session-step-AYHFVVX6.js +26 -0
- package/dist/chunks/{skills-DNNEKEOH.js → skills-K3JRZ3IR.js} +8 -8
- package/dist/chunks/{state-K7MMFNZC.js → state-QPSQI7U7.js} +2 -2
- package/dist/chunks/{store-2PDDGKYZ.js → store-7WZWQXKX.js} +6 -6
- package/dist/chunks/{store-NIBJFQOT.js → store-PSQKDEPY.js} +8 -8
- package/dist/chunks/{store-KYMOKW6X.js → store-Z3PS6LUZ.js} +4 -4
- package/dist/chunks/{tui-UY3ZLTMX.js → tui-JKZOXURU.js} +2535 -1325
- package/dist/chunks/tui-JKZOXURU.js.map +6 -0
- package/dist/chunks/{upgrade-2NO7NPPM.js → upgrade-C6QUXRLB.js} +3 -3
- package/dist/chunks/{worktree-ADQJ4AJ5.js → worktree-KLD2PAMU.js} +10 -10
- package/dist/cli.d.ts.map +1 -1
- package/dist/commands/acp-harness.d.ts.map +1 -1
- package/dist/commands/desktop-host-pr.d.ts +14 -0
- package/dist/commands/desktop-host-pr.d.ts.map +1 -0
- package/dist/commands/desktop-host.d.ts +3 -0
- package/dist/commands/desktop-host.d.ts.map +1 -1
- package/dist/commands/exec-json.d.ts.map +1 -1
- package/dist/commands/exec-workflows.d.ts +50 -0
- package/dist/commands/exec-workflows.d.ts.map +1 -0
- package/dist/commands/exec.d.ts.map +1 -1
- package/dist/config/load.d.ts.map +1 -1
- package/dist/config/schema.d.ts +13 -0
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/index.js +9 -9
- package/dist/integrations/resident/runner-worker.js +16 -16
- package/dist/integrations/subagents/activity.d.ts +19 -0
- package/dist/integrations/subagents/activity.d.ts.map +1 -1
- package/dist/integrations/subagents/runtime.d.ts +52 -0
- package/dist/integrations/subagents/runtime.d.ts.map +1 -1
- package/dist/integrations/workflows/doctrine.d.ts +7 -0
- package/dist/integrations/workflows/doctrine.d.ts.map +1 -0
- package/dist/integrations/workflows/history.d.ts +13 -0
- package/dist/integrations/workflows/history.d.ts.map +1 -0
- package/dist/integrations/workflows/host.d.ts +59 -0
- package/dist/integrations/workflows/host.d.ts.map +1 -0
- package/dist/integrations/workflows/notice.d.ts +19 -0
- package/dist/integrations/workflows/notice.d.ts.map +1 -0
- package/dist/integrations/workflows/offering.d.ts +40 -0
- package/dist/integrations/workflows/offering.d.ts.map +1 -0
- package/dist/integrations/workflows/registry.d.ts +73 -0
- package/dist/integrations/workflows/registry.d.ts.map +1 -0
- package/dist/integrations/workflows/view.d.ts +97 -0
- package/dist/integrations/workflows/view.d.ts.map +1 -0
- package/dist/tui/AgentExplorer.d.ts +179 -32
- package/dist/tui/AgentExplorer.d.ts.map +1 -1
- package/dist/tui/App.d.ts.map +1 -1
- package/dist/tui/BackgroundJobsPanel.d.ts.map +1 -1
- package/dist/tui/BrandHeader.d.ts +3 -1
- package/dist/tui/BrandHeader.d.ts.map +1 -1
- package/dist/tui/Composer.d.ts +23 -1
- package/dist/tui/Composer.d.ts.map +1 -1
- package/dist/tui/ComposerFrame.d.ts +10 -3
- package/dist/tui/ComposerFrame.d.ts.map +1 -1
- package/dist/tui/LiveActivity.d.ts +4 -0
- package/dist/tui/LiveActivity.d.ts.map +1 -1
- package/dist/tui/PendingInputPanel.d.ts +14 -11
- package/dist/tui/PendingInputPanel.d.ts.map +1 -1
- package/dist/tui/PermissionOverlay.d.ts.map +1 -1
- package/dist/tui/StatusBar.d.ts +61 -36
- package/dist/tui/StatusBar.d.ts.map +1 -1
- package/dist/tui/Transcript.d.ts +14 -0
- package/dist/tui/Transcript.d.ts.map +1 -1
- package/dist/tui/agent-transcript-rows.d.ts +34 -12
- package/dist/tui/agent-transcript-rows.d.ts.map +1 -1
- package/dist/tui/agent.d.ts +49 -1
- package/dist/tui/agent.d.ts.map +1 -1
- package/dist/tui/job-exit-row.d.ts +19 -0
- package/dist/tui/job-exit-row.d.ts.map +1 -0
- package/dist/tui/permission-review.d.ts +26 -0
- package/dist/tui/permission-review.d.ts.map +1 -1
- package/dist/tui/pr-status.d.ts +112 -0
- package/dist/tui/pr-status.d.ts.map +1 -0
- package/dist/tui/shell-cell.d.ts +86 -0
- package/dist/tui/shell-cell.d.ts.map +1 -0
- package/dist/tui/shorten-path.d.ts +10 -0
- package/dist/tui/shorten-path.d.ts.map +1 -0
- package/dist/tui/slashCommands.d.ts +4 -0
- package/dist/tui/slashCommands.d.ts.map +1 -1
- package/dist/tui/theme.d.ts +6 -0
- package/dist/tui/theme.d.ts.map +1 -1
- package/dist/tui/tidy-tool-output.d.ts +5 -0
- package/dist/tui/tidy-tool-output.d.ts.map +1 -1
- package/dist/tui/types.d.ts +10 -1
- package/dist/tui/types.d.ts.map +1 -1
- package/dist/tui/use-pr-status.d.ts +15 -0
- package/dist/tui/use-pr-status.d.ts.map +1 -0
- package/dist/tui/workflow-runs.d.ts +38 -0
- package/dist/tui/workflow-runs.d.ts.map +1 -0
- package/package.json +4 -4
- package/dist/chunks/acp-P22WRX3A.js.map +0 -6
- package/dist/chunks/agent-session-C2HDOXK4.js +0 -46
- package/dist/chunks/chunk-53EZXXT4.js.map +0 -6
- package/dist/chunks/chunk-H7VJHF5S.js.map +0 -6
- package/dist/chunks/chunk-L6FMG3R6.js +0 -380
- package/dist/chunks/chunk-L6FMG3R6.js.map +0 -6
- package/dist/chunks/chunk-ZKTLXAQK.js.map +0 -6
- package/dist/chunks/exec-AHAC6YBQ.js.map +0 -6
- package/dist/chunks/session-step-YNMU75FQ.js +0 -26
- package/dist/chunks/tui-UY3ZLTMX.js.map +0 -6
- /package/dist/chunks/{activity-command-OK463NV4.js.map → activity-command-MCYEK4Z4.js.map} +0 -0
- /package/dist/chunks/{add-ML53TFN2.js.map → add-ZQ3YWP4F.js.map} +0 -0
- /package/dist/chunks/{agent-3ST7Q6HZ.js.map → agent-PAGVUATH.js.map} +0 -0
- /package/dist/chunks/{agent-session-C2HDOXK4.js.map → agent-session-PLIPF3XG.js.map} +0 -0
- /package/dist/chunks/{archive-WV2NBOHR.js.map → archive-VPREZOGC.js.map} +0 -0
- /package/dist/chunks/{bin-main-FPJQMK33.js.map → bin-main-MWFKUXP2.js.map} +0 -0
- /package/dist/chunks/{browser-JRWZ3PYX.js.map → browser-FZWYOIIJ.js.map} +0 -0
- /package/dist/chunks/{chat-3IJFKDSN.js.map → chat-W355SFNQ.js.map} +0 -0
- /package/dist/chunks/{chunk-S7E42272.js.map → chunk-2BZOT2CT.js.map} +0 -0
- /package/dist/chunks/{chunk-7OEK2NAO.js.map → chunk-2O7KYX4V.js.map} +0 -0
- /package/dist/chunks/{chunk-LIZPXS73.js.map → chunk-3F5DGROG.js.map} +0 -0
- /package/dist/chunks/{chunk-NKEOCU52.js.map → chunk-3M3PMQ3I.js.map} +0 -0
- /package/dist/chunks/{chunk-KNNQHRZ4.js.map → chunk-46B7KRXY.js.map} +0 -0
- /package/dist/chunks/{chunk-PT7TZNBV.js.map → chunk-52OVP5BG.js.map} +0 -0
- /package/dist/chunks/{chunk-X2YRM3UE.js.map → chunk-56OUKG5W.js.map} +0 -0
- /package/dist/chunks/{chunk-HJ42RG5U.js.map → chunk-5URT3ZM2.js.map} +0 -0
- /package/dist/chunks/{chunk-ZZ6Z2DO6.js.map → chunk-6CGC72OA.js.map} +0 -0
- /package/dist/chunks/{chunk-GWOW3U2S.js.map → chunk-6TDJXZ5W.js.map} +0 -0
- /package/dist/chunks/{chunk-7WQV2FSF.js.map → chunk-AHYHR5DY.js.map} +0 -0
- /package/dist/chunks/{chunk-XAKL7C7B.js.map → chunk-AP5KD43Y.js.map} +0 -0
- /package/dist/chunks/{chunk-NRML7BIR.js.map → chunk-AS7UWXMN.js.map} +0 -0
- /package/dist/chunks/{chunk-QQLB573I.js.map → chunk-BOV53LZO.js.map} +0 -0
- /package/dist/chunks/{chunk-GPBUDMUF.js.map → chunk-BUCICQWG.js.map} +0 -0
- /package/dist/chunks/{chunk-CFN7CUD3.js.map → chunk-DYUOXP5Q.js.map} +0 -0
- /package/dist/chunks/{chunk-G5XTLTDR.js.map → chunk-E7HLYLD7.js.map} +0 -0
- /package/dist/chunks/{chunk-ABD2DOO2.js.map → chunk-EKUJUPFA.js.map} +0 -0
- /package/dist/chunks/{chunk-AABPCENY.js.map → chunk-F3YQ2CSZ.js.map} +0 -0
- /package/dist/chunks/{chunk-2VXA7GZU.js.map → chunk-FU4GQ7K2.js.map} +0 -0
- /package/dist/chunks/{chunk-VHKKPDL2.js.map → chunk-GQN64E36.js.map} +0 -0
- /package/dist/chunks/{chunk-3OZ2OBGU.js.map → chunk-HKDPP2JF.js.map} +0 -0
- /package/dist/chunks/{chunk-YZ675PG4.js.map → chunk-HSEJGSXE.js.map} +0 -0
- /package/dist/chunks/{chunk-ZXWJ6G3J.js.map → chunk-I6CDUPVR.js.map} +0 -0
- /package/dist/chunks/{chunk-27VZRJTG.js.map → chunk-IQBR45AU.js.map} +0 -0
- /package/dist/chunks/{chunk-HIZ7F6BT.js.map → chunk-JCDTR2ZU.js.map} +0 -0
- /package/dist/chunks/{chunk-ZNAH4EGP.js.map → chunk-KMHLON54.js.map} +0 -0
- /package/dist/chunks/{chunk-CXLSM5SH.js.map → chunk-KOG2WB66.js.map} +0 -0
- /package/dist/chunks/{chunk-AGHVC2IJ.js.map → chunk-LBH5WVXU.js.map} +0 -0
- /package/dist/chunks/{chunk-U5AWHJ7O.js.map → chunk-MBBFX64S.js.map} +0 -0
- /package/dist/chunks/{chunk-PJ3UYK2K.js.map → chunk-MJO6CH5F.js.map} +0 -0
- /package/dist/chunks/{chunk-AVIW5JJF.js.map → chunk-NATYSTPM.js.map} +0 -0
- /package/dist/chunks/{chunk-YLIKDPD6.js.map → chunk-NBD5MAGK.js.map} +0 -0
- /package/dist/chunks/{chunk-43FBWINL.js.map → chunk-PINPSIJ5.js.map} +0 -0
- /package/dist/chunks/{chunk-AL6ESCHD.js.map → chunk-PLKJKF32.js.map} +0 -0
- /package/dist/chunks/{chunk-KQOIPRZ5.js.map → chunk-QRT3N2K3.js.map} +0 -0
- /package/dist/chunks/{chunk-DYBUCWAB.js.map → chunk-QXDKRJZ5.js.map} +0 -0
- /package/dist/chunks/{chunk-EOO5AKO4.js.map → chunk-RBX6RVYO.js.map} +0 -0
- /package/dist/chunks/{chunk-VSUHR44P.js.map → chunk-RM6HTBJK.js.map} +0 -0
- /package/dist/chunks/{chunk-WW4VKEBD.js.map → chunk-S6MZK4LD.js.map} +0 -0
- /package/dist/chunks/{chunk-WNMRETWS.js.map → chunk-VUOS5SQ3.js.map} +0 -0
- /package/dist/chunks/{chunk-YTJO7G24.js.map → chunk-XCWZZZOW.js.map} +0 -0
- /package/dist/chunks/{chunk-RPAHIOW6.js.map → chunk-YYQFUKI7.js.map} +0 -0
- /package/dist/chunks/{chunk-5GARJ3CK.js.map → chunk-YYVDLVUM.js.map} +0 -0
- /package/dist/chunks/{chunk-HQZSTYKY.js.map → chunk-ZB5ETOVE.js.map} +0 -0
- /package/dist/chunks/{chunk-GFSD2D3M.js.map → chunk-ZG6NVROB.js.map} +0 -0
- /package/dist/chunks/{chunk-MBGQS5YA.js.map → chunk-ZHBHRMCI.js.map} +0 -0
- /package/dist/chunks/{cli-runtime-CQKITOHY.js.map → cli-runtime-NG23IVRM.js.map} +0 -0
- /package/dist/chunks/{commands-UEPVSG33.js.map → commands-LQISMOPF.js.map} +0 -0
- /package/dist/chunks/{crash-report-3GQ3SJML.js.map → crash-report-EYK56MJJ.js.map} +0 -0
- /package/dist/chunks/{dist-YDFJ4YOH.js.map → dist-3AMBKAG4.js.map} +0 -0
- /package/dist/chunks/{dist-SCEJQJFY.js.map → dist-AUDNCB3F.js.map} +0 -0
- /package/dist/chunks/{dist-FFMNE5LK.js.map → dist-AZJ56DQJ.js.map} +0 -0
- /package/dist/chunks/{dist-IPJVDPA3.js.map → dist-DWB5AYXB.js.map} +0 -0
- /package/dist/chunks/{dist-VJ2UQYSX.js.map → dist-EDKLCZY4.js.map} +0 -0
- /package/dist/chunks/{dist-Q37IZHCW.js.map → dist-PZXF5NU3.js.map} +0 -0
- /package/dist/chunks/{dist-AMYVT2VT.js.map → dist-XT4V74YL.js.map} +0 -0
- /package/dist/chunks/{doctor-YWK25HGQ.js.map → doctor-3EOUWDYB.js.map} +0 -0
- /package/dist/chunks/{drain-5R73B66Y.js.map → drain-IMNF2CDN.js.map} +0 -0
- /package/dist/chunks/{eval-GYPUHRIK.js.map → eval-VHWEJ4GG.js.map} +0 -0
- /package/dist/chunks/{home-GI6TRZAN.js.map → home-H4GTIYO5.js.map} +0 -0
- /package/dist/chunks/{host-queries-MN57UTDU.js.map → host-queries-5C4TCX6J.js.map} +0 -0
- /package/dist/chunks/{lifecycle-7LD634AQ.js.map → lifecycle-IHW4P636.js.map} +0 -0
- /package/dist/chunks/{list-DSHTQRTP.js.map → list-JJZ7I5OF.js.map} +0 -0
- /package/dist/chunks/{login-R5P2OAXZ.js.map → login-T2RKNHK2.js.map} +0 -0
- /package/dist/chunks/{logs-SGPSXLBY.js.map → logs-J6D4SEDY.js.map} +0 -0
- /package/dist/chunks/{mcp-MC6B34XH.js.map → mcp-WONRVJ26.js.map} +0 -0
- /package/dist/chunks/{message-command-4MV2SVHP.js.map → message-command-F3TFROMK.js.map} +0 -0
- /package/dist/chunks/{operator-tools-GI63VOXH.js.map → operator-tools-H4MYC5PE.js.map} +0 -0
- /package/dist/chunks/{output-schema-74VSN66J.js.map → output-schema-RFJUTQ2N.js.map} +0 -0
- /package/dist/chunks/{pal-BWPYGQ4B.js.map → pal-UCYGJN75.js.map} +0 -0
- /package/dist/chunks/{providers-YV45XVWS.js.map → providers-BHF65IUG.js.map} +0 -0
- /package/dist/chunks/{resident-OC2D5V5I.js.map → resident-CNS3XQRU.js.map} +0 -0
- /package/dist/chunks/{resume-command-DZBKOABY.js.map → resume-command-Y3NYDSI4.js.map} +0 -0
- /package/dist/chunks/{schedule-GUD625PJ.js.map → schedule-KN5YGOSJ.js.map} +0 -0
- /package/dist/chunks/{service-67FZ3N75.js.map → service-OEOHUGM6.js.map} +0 -0
- /package/dist/chunks/{session-step-YNMU75FQ.js.map → session-step-AYHFVVX6.js.map} +0 -0
- /package/dist/chunks/{skills-DNNEKEOH.js.map → skills-K3JRZ3IR.js.map} +0 -0
- /package/dist/chunks/{state-K7MMFNZC.js.map → state-QPSQI7U7.js.map} +0 -0
- /package/dist/chunks/{store-2PDDGKYZ.js.map → store-7WZWQXKX.js.map} +0 -0
- /package/dist/chunks/{store-KYMOKW6X.js.map → store-PSQKDEPY.js.map} +0 -0
- /package/dist/chunks/{store-NIBJFQOT.js.map → store-Z3PS6LUZ.js.map} +0 -0
- /package/dist/chunks/{upgrade-2NO7NPPM.js.map → upgrade-C6QUXRLB.js.map} +0 -0
- /package/dist/chunks/{worktree-ADQJ4AJ5.js.map → worktree-KLD2PAMU.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BackgroundJobsPanel.d.ts","sourceRoot":"","sources":["../../src/tui/BackgroundJobsPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAA;AAYpE,MAAM,WAAW,wBAAwB;IACxC,QAAQ,CAAC,IAAI,EAAE,SAAS,aAAa,EAAE,CAAA;IACvC,wEAAwE;IACxE,QAAQ,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAA;IACrC,+EAA+E;IAC/E,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IACnC,iFAAiF;IACjF,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;IAC3B,gFAAgF;IAChF,QAAQ,CAAC,OAAO,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,mBAAmB,GAAG,SAAS,CAAA;IACjE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,GAAG,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAClC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC/B;AAED,0EAA0E;AAC1E,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAE3D;AAED,mFAAmF;AACnF,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEhE;
|
|
1
|
+
{"version":3,"file":"BackgroundJobsPanel.d.ts","sourceRoot":"","sources":["../../src/tui/BackgroundJobsPanel.tsx"],"names":[],"mappings":"AAAA,O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,OAAO,EACP,GAAgB,EAChB,SAAgB,EAChB,MAAa,GACb,EAAE,wBAAwB,2CA8J1B"}
|
|
@@ -2,8 +2,10 @@ import { type PermissionMode } from '../permissions/mode.js';
|
|
|
2
2
|
interface BrandHeaderProps {
|
|
3
3
|
readonly version: string;
|
|
4
4
|
readonly permissionMode: PermissionMode;
|
|
5
|
+
/** The folder Namzu works in, shown under the version, as a welcome header does. */
|
|
6
|
+
readonly cwd?: string;
|
|
5
7
|
}
|
|
6
8
|
/** Printed once by the transcript's Static owner; active model state lives in the footer. */
|
|
7
|
-
export declare function BrandHeader({ version, permissionMode }: BrandHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare function BrandHeader({ version, permissionMode, cwd }: BrandHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
8
10
|
export {};
|
|
9
11
|
//# sourceMappingURL=BrandHeader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BrandHeader.d.ts","sourceRoot":"","sources":["../../src/tui/BrandHeader.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAuB,MAAM,wBAAwB,CAAA;
|
|
1
|
+
{"version":3,"file":"BrandHeader.d.ts","sourceRoot":"","sources":["../../src/tui/BrandHeader.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAuB,MAAM,wBAAwB,CAAA;AAYjF,UAAU,gBAAgB;IACzB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,cAAc,EAAE,cAAc,CAAA;IACvC,oFAAoF;IACpF,QAAQ,CAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CACrB;AAED,6FAA6F;AAC7F,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,cAAc,EAAE,GAAG,EAAE,EAAE,gBAAgB,2CAiD7E"}
|
package/dist/tui/Composer.d.ts
CHANGED
|
@@ -84,10 +84,32 @@ export interface ComposerProps {
|
|
|
84
84
|
* is the host's answer to give, not a value this key press can hold.
|
|
85
85
|
*/
|
|
86
86
|
readonly onOpenAgentPanel?: () => void;
|
|
87
|
+
/**
|
|
88
|
+
* `←` on an empty composer: open the agents. Anything typed, pasted or
|
|
89
|
+
* attached keeps `←` as cursor movement, so editing is never taken over.
|
|
90
|
+
*/
|
|
91
|
+
readonly onOpenAgents?: () => void;
|
|
87
92
|
/** Page up at the composer: open the scrollable transcript. */
|
|
88
93
|
readonly onScrollTranscript?: () => void;
|
|
89
94
|
/** Recall the latest operator-authored next-turn message into an empty draft. */
|
|
90
95
|
readonly onRecallQueued?: () => Omit<ComposerDraft, 'token'> | null;
|
|
96
|
+
/**
|
|
97
|
+
* Messages typed while a reply runs and still waiting. Up on an empty
|
|
98
|
+
* draft chooses the newest editable one, Up/Down move, Enter loads the
|
|
99
|
+
* chosen one into the draft, Esc (handled by the host) leaves the choice.
|
|
100
|
+
*/
|
|
101
|
+
readonly queuedEdit?: {
|
|
102
|
+
/** At least one waiting message can be loaded back for editing. */
|
|
103
|
+
readonly available: boolean;
|
|
104
|
+
/** A waiting message is chosen right now. */
|
|
105
|
+
readonly selected: boolean;
|
|
106
|
+
/** Returns whether the key was used; false lets Up fall through to prompt history. */
|
|
107
|
+
readonly onMove: (direction: 'up' | 'down') => boolean;
|
|
108
|
+
readonly onLoad: () => Omit<ComposerDraft, 'token'> | null;
|
|
109
|
+
readonly onLeave: () => void;
|
|
110
|
+
};
|
|
111
|
+
/** ctrl+x ctrl+s: deliver the waiting messages now instead of at the next boundary. */
|
|
112
|
+
readonly onSendNow?: () => void;
|
|
91
113
|
/** Shift+Tab. Absent means the key does nothing, which the composer footer then does not advertise. */
|
|
92
114
|
readonly onCycleMode?: () => void;
|
|
93
115
|
/**
|
|
@@ -185,5 +207,5 @@ export declare function clampDescription(description: string, width: number): re
|
|
|
185
207
|
* operators already bring to this key.
|
|
186
208
|
*/
|
|
187
209
|
export declare function deletePreviousWord(source: string): string;
|
|
188
|
-
export declare function Composer({ disabled, plainText, placeholder, onDraftChange, reasoningEffortLevels, onSubmit, history, userCommands, builtins, mentionCandidates, hidden, escapeInterrupts, onNotice, onStepReasoningEffort, onExternalEdit, onEditPrevious, draftToRestore, onDraftRestored, onDraftPresenceChange, onOpenAgentPanel, onScrollTranscript, onRecallQueued, onCycleMode, triggers, turnActive, }: ComposerProps): import("react/jsx-runtime").JSX.Element | null;
|
|
210
|
+
export declare function Composer({ disabled, plainText, placeholder, onDraftChange, reasoningEffortLevels, onSubmit, history, userCommands, builtins, mentionCandidates, hidden, escapeInterrupts, onNotice, onStepReasoningEffort, onExternalEdit, onEditPrevious, draftToRestore, onDraftRestored, onDraftPresenceChange, onOpenAgentPanel, onOpenAgents, onScrollTranscript, onRecallQueued, queuedEdit, onSendNow, onCycleMode, triggers, turnActive, }: ComposerProps): import("react/jsx-runtime").JSX.Element | null;
|
|
189
211
|
//# sourceMappingURL=Composer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Composer.d.ts","sourceRoot":"","sources":["../../src/tui/Composer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAKnD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAA;AAM5D,OAAO,EAAE,KAAK,YAAY,EAAsB,MAAM,oBAAoB,CAAA;AAK1E,OAAO,EAGN,KAAK,cAAc,EAGnB,MAAM,sBAAsB,CAAA;AAW7B,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAExE,MAAM,WAAW,aAAa;IAC7B,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAC3B,kGAAkG;IAClG,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,CAAA;IAC5B,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAA;IAC7B,4EAA4E;IAC5E,QAAQ,CA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ACxB,QAAQ,EACR,qBAAqB,EACrB,cAAc,EACd,cAAc,EACd,cAAqB,EACrB,eAAe,EACf,qBAAqB,EACrB,gBAAgB,EAChB,YAAY,EACZ,kBAAkB,EAClB,cAAc,EACd,UAAU,EACV,SAAS,EACT,WAAW,EACX,QAAQ,EACR,UAAkB,GAClB,EAAE,aAAa,kDAmgCf"}
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
/**
|
|
3
|
+
* The composer's frame: a plain horizontal rule above and below the input and
|
|
4
|
+
* nothing at the sides, no corners and no title, as the reference draws it.
|
|
5
|
+
* Its content stays mounted while another prompt owns focus. The one thing
|
|
6
|
+
* written on a rule is the session mode (today only `hypermode`), at the right
|
|
7
|
+
* end of the upper one.
|
|
8
|
+
*/
|
|
9
|
+
export declare function ComposerFrame({ hidden, mode, columns, activation, animate, children, }: {
|
|
10
|
+
/** Kept for the callers that say whether the input owns the keyboard; the rules look the same either way. */
|
|
11
|
+
readonly focus?: boolean;
|
|
5
12
|
readonly hidden?: boolean;
|
|
6
13
|
readonly working?: boolean;
|
|
7
14
|
readonly animate?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComposerFrame.d.ts","sourceRoot":"","sources":["../../src/tui/ComposerFrame.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAA+B,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"ComposerFrame.d.ts","sourceRoot":"","sources":["../../src/tui/ComposerFrame.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAA+B,MAAM,OAAO,CAAA;AAOnE;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,EAC7B,MAAc,EACd,IAAI,EACJ,OAAO,EACP,UAAc,EACd,OAAc,EACd,QAAQ,GACR,EAAE;IACF,6GAA6G;IAC7G,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAA;IACzB,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAA;IAC1B,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAA;IAC1B;;OAEG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;IACtB,yEAAyE;IACzE,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAA;IACzB,+EAA+E;IAC/E,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAA;IAC5B,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAC5B,2CAgDA"}
|
|
@@ -21,6 +21,10 @@ export interface ActiveTool {
|
|
|
21
21
|
readonly waitingOn?: string;
|
|
22
22
|
/** A web search or fetch: its `progress` line is drawn as the call's `⎿` status. */
|
|
23
23
|
readonly web?: WebActivity;
|
|
24
|
+
/** A shell call's command; set, the call is drawn as a command cell (`● Bash(…)` over `⎿ Running…`). */
|
|
25
|
+
readonly command?: string;
|
|
26
|
+
/** The last few output lines the shell call has reported, oldest first. */
|
|
27
|
+
readonly tail?: readonly string[];
|
|
24
28
|
}
|
|
25
29
|
export interface LiveActivityProps {
|
|
26
30
|
/** Show the current tool and total count in two rows on a short terminal. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LiveActivity.d.ts","sourceRoot":"","sources":["../../src/tui/LiveActivity.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;
|
|
1
|
+
{"version":3,"file":"LiveActivity.d.ts","sourceRoot":"","sources":["../../src/tui/LiveActivity.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AASH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAEpD,MAAM,WAAW,UAAU;IAC1B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;IACnB,4CAA4C;IAC5C,QAAQ,CAAC,KAAK,EAAE,MAA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EACd,QAAe,EACf,MAAM,EACN,aAAqB,EACrB,UAAiB,GACjB,EAAE,iBAAiB,kDAgNnB;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,SAAS,UAAU,EAAE,GAAG,MAAM,GAAG,SAAS,CAM5E;AAED,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
2
|
+
* Messages the operator sent while Namzu is still working, drawn as rows at
|
|
3
|
+
* the end of the transcript, above the input box, in the passive grey of a
|
|
4
|
+
* message that has not been read yet. A steer belongs to the active reply; a
|
|
5
|
+
* Tab-queued message starts a later one and says so. Read-only: the keys that
|
|
6
|
+
* act on these rows live in the composer.
|
|
5
7
|
*/
|
|
6
8
|
export interface PendingInputItem {
|
|
7
9
|
readonly text: string;
|
|
@@ -16,19 +18,20 @@ export interface PendingInputPanelProps {
|
|
|
16
18
|
/** Available cells, including the panel's one-cell side padding. */
|
|
17
19
|
readonly columns: number;
|
|
18
20
|
readonly rows: number;
|
|
19
|
-
/**
|
|
20
|
-
readonly
|
|
21
|
-
/**
|
|
22
|
-
readonly
|
|
23
|
-
/** One-line summary of armed queued composer triggers. */
|
|
24
|
-
readonly queuedTags?: string;
|
|
21
|
+
/** A reply is running, so "send now" has something to interrupt. */
|
|
22
|
+
readonly working?: boolean;
|
|
23
|
+
/** Index into `queued` of the row chosen for editing; it is drawn in the accent colour. */
|
|
24
|
+
readonly selectedQueued?: number | null;
|
|
25
25
|
/** A stopped or failed turn keeps the next-turn queue until the operator continues. */
|
|
26
26
|
readonly held?: {
|
|
27
27
|
readonly outcome: 'failed' | 'stopped' | 'paused';
|
|
28
28
|
readonly source?: 'operator-interrupt';
|
|
29
29
|
} | null;
|
|
30
30
|
}
|
|
31
|
+
/** The pointer every pending row carries, as in the reference transcript. */
|
|
32
|
+
export declare const PENDING_POINTER = "\u276F";
|
|
33
|
+
export declare const SEND_NOW_HINT = "ctrl+x ctrl+s to send now";
|
|
31
34
|
/** Reserve the actual panel height in App's live transcript calculation. */
|
|
32
|
-
export declare function pendingInputPanelRows({ pendingSteers, queued, rows,
|
|
33
|
-
export declare function PendingInputPanel({ pendingSteers, queued, columns, rows,
|
|
35
|
+
export declare function pendingInputPanelRows({ pendingSteers, queued, rows, working, held, }: Pick<PendingInputPanelProps, 'pendingSteers' | 'queued' | 'rows' | 'working' | 'held'>): number;
|
|
36
|
+
export declare function PendingInputPanel({ pendingSteers, queued, columns, rows, working, selectedQueued, held, }: PendingInputPanelProps): import("react/jsx-runtime").JSX.Element | null;
|
|
34
37
|
//# sourceMappingURL=PendingInputPanel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PendingInputPanel.d.ts","sourceRoot":"","sources":["../../src/tui/PendingInputPanel.tsx"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"PendingInputPanel.d.ts","sourceRoot":"","sources":["../../src/tui/PendingInputPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAWH,MAAM,WAAW,gBAAgB;IAChC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,+EAA+E;IAC/E,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAA;IACjC,8EAA8E;IAC9E,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAA;CACjC;AAED,MAAM,WAAW,sBAAsB;IACtC,QAAQ,CAAC,aAAa,EAAE,SAAS,gBAAgB,EAAE,CAAA;IACnD,QAAQ,CAAC,MAAM,EAAE,SAAS,gBAAgB,EAAE,CAAA;IAC5C,oEAAoE;IACpE,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,oEAAoE;IACpE,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAA;IAC1B,2FAA2F;IAC3F,QA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ACH,wBAAgB,yBAAyB,CAAC,SAAS,EAAE,SAAS,kBAAkB,EAAE,GAAG,MAAM,EAAE,CAc5F;AAED,yCAAyC;AACzC,MAAM,MAAM,oBAAoB,GAAG,SAAS,GAAG,aAAa,GAAG,QAAQ,CAAA;AAEvE;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAChC,SAAS,EAAE,SAAS,kBAAkB,EAAE,EACxC,OAAO,GAAE;IAAE,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,aAAa,CAAC,EAAE,OAAO,CAAA;CAAO,GAC9E,SAAS;IAAE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,IAAI,EAAE,oBAAoB,CAAA;CAAE,EAAE,CAqC5E;AAED,qCAAqC;AACrC,wBAAgB,iBAAiB,CAChC,SAAS,EAAE,SAAS,kBAAkB,EAAE,EACxC,OAAO,GAAE;IAAE,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,aAAa,CAAC,EAAE,OAAO,CAAA;CAAO,GAC9E,SAAS,MAAM,EAAE,CAEnB;AA2BD,wBAAgB,iBAAiB,CAAC,EACjC,SAAS,EACT,MAAM,EACN,OAAO,EACP,WAAW,EACX,YAAgB,EAChB,MAAU,EACV,WAAe,EACf,WAAW,EACX,OAAO,EACP,IAAI,EAAE,YAAY,EAClB,SAAiB,EACjB,SAAc,EACd,aAAa,GACb,EAAE,sBAAsB,2CAkJxB"}
|
package/dist/tui/StatusBar.d.ts
CHANGED
|
@@ -1,17 +1,22 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* One-line composer footer, directly below the input box.
|
|
3
3
|
*
|
|
4
|
-
* Left to right
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* the
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
4
|
+
* Left to right, items joined by a dim ` · `: the permission mode (`⏵⏵ bypass
|
|
5
|
+
* permissions on`, colored by mode, with its cycle key while it fits), the
|
|
6
|
+
* pull request for the branch (`PR #592`, underlined, colored by review
|
|
7
|
+
* state), the background-shell pill (`2 shells`), the reasoning effort when
|
|
8
|
+
* the operator has set one, then the hints: `esc to interrupt` while a turn
|
|
9
|
+
* runs, `← 2 agents` when the empty composer's left arrow opens them, and
|
|
10
|
+
* `↓ to manage` when the empty composer's down arrow reaches the shells or
|
|
11
|
+
* the agents rail. Right-aligned: an interaction hint or a durable goal when
|
|
12
|
+
* either is active, else the model identity, which is Namzu's own addition
|
|
13
|
+
* and the first thing to go when the row is narrow. The right side owns its
|
|
14
|
+
* columns first so a long mode label cannot erase the key that exits a
|
|
15
|
+
* prompt. The folder is not here; the header names it.
|
|
11
16
|
*/
|
|
12
|
-
import {
|
|
17
|
+
import type { PermissionMode } from '../permissions/mode.js';
|
|
18
|
+
import type { PrFooterState } from './pr-status.js';
|
|
13
19
|
export interface StatusBarProps {
|
|
14
|
-
readonly cwd: string;
|
|
15
20
|
readonly provider: string | null;
|
|
16
21
|
readonly model: string | null;
|
|
17
22
|
/** An explicit reasoning-effort override; omitted/undefined means the model's own default, which this footer does not name. */
|
|
@@ -27,35 +32,48 @@ export interface StatusBarProps {
|
|
|
27
32
|
/**
|
|
28
33
|
* Whether a composer is on screen. Shift+Tab is the composer's key, so with
|
|
29
34
|
* none mounted (a picker, the trust prompt, a stopped start) the footer
|
|
30
|
-
* names no cycle key; the active mode
|
|
35
|
+
* names no cycle key; the active mode is still a fact.
|
|
31
36
|
*/
|
|
32
37
|
readonly composerMounted?: boolean;
|
|
38
|
+
/** Background shells that are running now; 0 or omitted hides the pill. */
|
|
39
|
+
readonly shellCount?: number;
|
|
40
|
+
/** The pull request for the current branch, from `pr-status.ts`. */
|
|
41
|
+
readonly pr?: PrFooterState;
|
|
42
|
+
/** Whether the terminal understands OSC 8 links; the PR number is plain text without it. */
|
|
43
|
+
readonly hyperlinks?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Agents that are running now, offered as `← N agents`. Pass 0 (or omit it)
|
|
46
|
+
* whenever `←` would not open them: input typed, a panel open, the rail focused.
|
|
47
|
+
*/
|
|
48
|
+
readonly agentCount?: number;
|
|
49
|
+
/** Whether `↓` from the empty composer reaches the shells or the agents rail; adds `↓ to manage`. */
|
|
50
|
+
readonly canManage?: boolean;
|
|
51
|
+
/** The shell pill holds the keyboard: it is drawn inverted and `enter to view shells` replaces `↓ to manage`. */
|
|
52
|
+
readonly shellsSelected?: boolean;
|
|
33
53
|
}
|
|
34
54
|
/**
|
|
35
|
-
* The mode marks. `⏵⏵` is the
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
55
|
+
* The mode marks. `⏵⏵` is outside the emoji set; the pause mark a plan mode
|
|
56
|
+
* would pair with, `⏸` (U+23F8), is an emoji code point that Windows Terminal
|
|
57
|
+
* draws as a blue two-cell tile. `‖` (U+2016, DOUBLE VERTICAL LINE) says "held"
|
|
58
|
+
* in one text cell with no emoji form.
|
|
39
59
|
*/
|
|
40
60
|
export declare const MODE_MARK: {
|
|
41
61
|
readonly moving: "⏵⏵";
|
|
42
62
|
readonly held: "‖";
|
|
43
63
|
};
|
|
44
|
-
export declare function StatusBar({
|
|
45
|
-
/**
|
|
46
|
-
* A path shortened from the LEFT, keeping the leaf.
|
|
47
|
-
*
|
|
48
|
-
* The end of a path is the informative end: `core` says which package you are
|
|
49
|
-
* in, `/home` says nothing you did not know. Cutting resumes at a separator
|
|
50
|
-
* when one is near the cut, so the result still reads as a path rather than as
|
|
51
|
-
* a word broken in half.
|
|
52
|
-
*/
|
|
53
|
-
export declare function shortenPathToFit(path: string, max: number): string;
|
|
64
|
+
export declare function StatusBar({ provider, model, effort, goal, state, hint, permissionMode, canCycleMode, composerMounted, shellCount, pr, hyperlinks, agentCount, canManage, shellsSelected, }: StatusBarProps): import("react/jsx-runtime").JSX.Element;
|
|
54
65
|
export interface StatusLineLayout {
|
|
55
66
|
readonly mode: string | null;
|
|
56
67
|
readonly cycleSuffix: string | null;
|
|
68
|
+
readonly interrupt: string | null;
|
|
69
|
+
readonly shells: string | null;
|
|
70
|
+
readonly pr: {
|
|
71
|
+
readonly prefix: string | null;
|
|
72
|
+
readonly label: string;
|
|
73
|
+
} | null;
|
|
57
74
|
readonly effort: string | null;
|
|
58
|
-
readonly
|
|
75
|
+
readonly agents: string | null;
|
|
76
|
+
readonly manage: string | null;
|
|
59
77
|
readonly gap: string;
|
|
60
78
|
readonly right: {
|
|
61
79
|
readonly kind: 'text';
|
|
@@ -67,22 +85,21 @@ export interface StatusLineLayout {
|
|
|
67
85
|
};
|
|
68
86
|
}
|
|
69
87
|
/**
|
|
70
|
-
* Fit the
|
|
88
|
+
* Fit the footer's items around an authoritative right-side indicator.
|
|
71
89
|
*
|
|
72
90
|
* A hint can be the only on-screen explanation of how to leave a prompt, and
|
|
73
|
-
* a goal label is the durable work state
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
91
|
+
* a goal label is the durable work state, so both reserve their width before
|
|
92
|
+
* the model identity does. The model is Namzu's own addition and shows only
|
|
93
|
+
* while the whole row fits beside it. Past that the row loses items from its
|
|
94
|
+
* right end, the way the reference's clipped row does: `↓ to manage`,
|
|
95
|
+
* `← N agents`, `esc to interrupt`, then the cycle key (the reference hides
|
|
96
|
+
* it first once a task is running), the effort label, the shell pill, the
|
|
97
|
+
* pull request item; after that the quiet reminder goes, then the mode
|
|
98
|
+
* truncates, and last of all it goes. A line too wide for its room loses
|
|
99
|
+
* whole items, never half of one, except the mode, which is the state itself.
|
|
82
100
|
*/
|
|
83
101
|
export declare function fitStatusLine(input: {
|
|
84
102
|
readonly columns: number;
|
|
85
|
-
readonly cwd: string;
|
|
86
103
|
readonly provider: string | null;
|
|
87
104
|
readonly model: string | null;
|
|
88
105
|
readonly effort?: string | null;
|
|
@@ -90,5 +107,13 @@ export declare function fitStatusLine(input: {
|
|
|
90
107
|
readonly goal?: string | null | undefined;
|
|
91
108
|
readonly modeLabel: string;
|
|
92
109
|
readonly cycleSuffix?: string | null;
|
|
110
|
+
readonly interrupt?: string | null;
|
|
111
|
+
readonly shells?: string | null;
|
|
112
|
+
readonly agents?: string | null;
|
|
113
|
+
readonly manage?: string | null;
|
|
114
|
+
readonly pr?: {
|
|
115
|
+
readonly prefix: string | null;
|
|
116
|
+
readonly label: string;
|
|
117
|
+
} | null;
|
|
93
118
|
}): StatusLineLayout;
|
|
94
119
|
//# sourceMappingURL=StatusBar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatusBar.d.ts","sourceRoot":"","sources":["../../src/tui/StatusBar.tsx"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"StatusBar.d.ts","sourceRoot":"","sources":["../../src/tui/StatusBar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAIH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAE5D,OAAO,KAAK,EAAE,aAAa,EAAY,MAAM,gBAAgB,CAAA;AAI7D,MAAM,WAAW,cAAc;IAC9B,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IAChC,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,+HAA+H;IAC/H,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC/B,sEAAsE;IACtE,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,UAAU,GAAG,MAAM,GAAG,qBAAqB,CAAA;IACpE,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;IACtB,sHAAsH;IACtH,QAAQ,CAAC,cAAc,CAAC,EAAE,cAAc,CAAA;IACxC,2GAA2G;IAC3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AAI,CAAA;IAC/B,QAAQ,CAAC,EAAE,CAAC,EAAE;QAAE,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAA;CAC/E,GAAG,gBAAgB,CAkFnB"}
|
package/dist/tui/Transcript.d.ts
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
* streams; the Working row owns the active turn's animation.
|
|
7
7
|
*/
|
|
8
8
|
import type { ReactNode } from 'react';
|
|
9
|
+
import { type ShellOutput } from './shell-cell.js';
|
|
9
10
|
import type { TranscriptMessage } from './types.js';
|
|
10
11
|
export interface TranscriptProps {
|
|
11
12
|
/** Finalized messages, oldest first. */
|
|
@@ -75,6 +76,19 @@ export interface TranscriptProps {
|
|
|
75
76
|
readonly staticIndent?: number;
|
|
76
77
|
}
|
|
77
78
|
export declare function Transcript({ messages, pending, pendingAt, settled, resetKey, raw, hyperlinks, showLive, header, staticIndent, }: TranscriptProps): import("react/jsx-runtime").JSX.Element;
|
|
79
|
+
/** Columns the `⎿` prefix and its indent take from a result row. */
|
|
80
|
+
export declare const SHELL_RESULT_INDENT = 5;
|
|
81
|
+
/**
|
|
82
|
+
* The `⎿` result of a shell call: output rows hung under one dim `⎿`, the
|
|
83
|
+
* first rows of each stream, then a dim count of what is folded away.
|
|
84
|
+
*/
|
|
85
|
+
export declare function ShellBlock({ shell, expanded, canExpand, }: {
|
|
86
|
+
readonly shell: ShellOutput;
|
|
87
|
+
readonly expanded: boolean;
|
|
88
|
+
readonly canExpand: boolean;
|
|
89
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
90
|
+
/** Whether a row hides something Ctrl+O would show (a folded body or a cut command). */
|
|
91
|
+
export declare function messageCollapses(message: Pick<TranscriptMessage, 'detail' | 'shell'>): boolean;
|
|
78
92
|
/** Whether the preview hides text and App should mark the body as expandable. */
|
|
79
93
|
export declare function willCollapse(detail: readonly string[] | undefined): boolean;
|
|
80
94
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Transcript.d.ts","sourceRoot":"","sources":["../../src/tui/Transcript.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"Transcript.d.ts","sourceRoot":"","sources":["../../src/tui/Transcript.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAMtC,OAAO,EAAE,KAAK,WAAW,EAAmD,MAAM,iBAAiB,CAAA;AAInG,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAEnD,MAAM,WAAW,eAAe;IAC/B,wCAAwC;IACxC,QAAQ,CAAC,QAAQ,EAAE,SAAS,iBAAiB,EAAE,CAAA;IAC/C,gFAAgF;IAChF,QAAQ,CAAC,OAAO,EAAE,iBAAiB,GAAG,IAAI,CAAA;IAC1C;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;IAC3B,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,UAAU,GAAG,MAAM,GAAG,qBAAqB,CAAA;IACpE;;;;;;;;;;;;;;OAcG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IACxB,0EAA0E;IAC1E,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;IACzB,0FAA0F;IAC1F,QAAQ,CAAC,GAAG,CAAC,EAAE,OAAO,CAAA;IACtB,6DAA6D;IAC7D,QAAQ,CAAC,UAAU,CAAC,EAAE,OAAO,CAAA;IAC7B;;;;;;OAMG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAC3B;;;;;OAKG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,SAAS,CAAA;IAC3B;;;;;;;;;OASG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAA;CAC9B;AAaD,wBAAgB,UAAU,CAAC,EAC1B,QAAQ,EACR,OAAO,EACP,SAAS,EACT,OAAO,EACP,QAAQ,EACR,GAAW,EACX,UAAkB,EAClB,QAAe,EACf,MAAM,EACN,YAAgB,GAChB,EAAE,eAAe,2CA8DjB;AA8KD,oEAAoE;AACpE,eAAO,MAAM,mBAAmB,IAAI,CAAA;AAEpC;;;GAGG;AACH,wBAAgB,UAAU,CAAC,EAC1B,KAAK,EACL,QAAQ,EACR,SAAS,GACT,EAAE;IACF,QAAQ,CAAC,KAAK,EAAE,WAAW,CAAA;IAC3B,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAA;IAC1B,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAA;CAC3B,2CAwBA;AAED,wFAAwF;AACxF,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,IAAI,CAAC,iBAAiB,EAAE,QAAQ,GAAG,OAAO,CAAC,GAAG,OAAO,CAE9F;AAyCD,iFAAiF;AACjF,wBAAgB,YAAY,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,GAAG,OAAO,CAM3E;AAoCD;;;;;;;;;GASG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,iBAAiB,GAAG,SAAS,MAAM,EAAE,CAIjF;AAiCD,wBAAgB,YAAY,CAAC,IAAI,EAAE,iBAAiB,CAAC,MAAM,CAAC,GAAG,MAAM,CAWpE;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,iBAAiB,CAAC,MAAM,CAAC,GAAG,MAAM,CAWzE;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,iBAAiB,CAAC,MAAM,CAAC,GAAG,MAAM,CAW3E"}
|
|
@@ -5,18 +5,29 @@
|
|
|
5
5
|
* place (settled rows cannot be repainted; the live state belongs to the
|
|
6
6
|
* rail under the footer):
|
|
7
7
|
*
|
|
8
|
-
* - a launch receipt per batch of agents: `● Launched 2 agents
|
|
9
|
-
* with the agents' names beneath it as a `├`/`└` tree;
|
|
10
|
-
*
|
|
11
|
-
*
|
|
8
|
+
* - a launch receipt per batch of unlabelled agents: `● Launched 2 agents`
|
|
9
|
+
* with the agents' names beneath it as a `├`/`└` tree; agents the model
|
|
10
|
+
* gave a `workflow` label get ONE group line instead,
|
|
11
|
+
* `● Workflow <name>` / `⎿ Running in background · ↓ to manage`;
|
|
12
|
+
* - a completion row per unlabelled agent: `✓ <name> · 1.7s · 9.0k tokens`,
|
|
13
|
+
* carrying the agent's final answer as a collapsed body Ctrl+O opens (a
|
|
14
|
+
* workflow's agents are read in its detail view, and the workflow closes
|
|
15
|
+
* with one line);
|
|
12
16
|
* - a closing line when a turn that delegated settles:
|
|
13
|
-
* `✻ Worked for 38s · 3 agents
|
|
17
|
+
* `✻ Worked for 38s · 3 agents · 27.0k tokens`.
|
|
14
18
|
*
|
|
15
19
|
* Pure so the wording is tested without an App.
|
|
16
20
|
*/
|
|
17
21
|
import { type SubagentActivity } from '../integrations/subagents/activity.js';
|
|
18
|
-
|
|
19
|
-
|
|
22
|
+
import { type RailWorkflow } from './AgentExplorer.js';
|
|
23
|
+
/**
|
|
24
|
+
* The key that reaches the agents from an empty composer: `↓` focuses the
|
|
25
|
+
* footer (the shells pill, then the rail rows). The same words the shell cell
|
|
26
|
+
* and the workflow launch use, so one key is named for all background work.
|
|
27
|
+
*/
|
|
28
|
+
export declare const AGENT_MANAGE_HINT = "\u2193 to manage";
|
|
29
|
+
/** The key that opens the rail's workflow row from the composer. */
|
|
30
|
+
export declare const WORKFLOW_MANAGE_HINT = "\u2193 to manage";
|
|
20
31
|
export interface LaunchReceipt {
|
|
21
32
|
/** First line, then one tree line per agent when there are several. */
|
|
22
33
|
readonly content: string;
|
|
@@ -39,21 +50,32 @@ export interface CompletionRow {
|
|
|
39
50
|
}
|
|
40
51
|
/** The row for one agent that reached a terminal state. */
|
|
41
52
|
export declare function completionRow(agent: SubagentActivity, now?: number): CompletionRow;
|
|
53
|
+
export interface WorkflowNotice {
|
|
54
|
+
readonly content: string;
|
|
55
|
+
/** Completed reads quiet, failed is red, stopped is yellow. */
|
|
56
|
+
readonly tone: 'ok' | 'error' | 'warn';
|
|
57
|
+
readonly glyph: string;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* The one line a workflow leaves in the conversation when its last agent
|
|
61
|
+
* settles: `Workflow Release audit completed · 4m02s · 7 agents · 112k tokens`.
|
|
62
|
+
* Written once per settled workflow, below the last agent's own row.
|
|
63
|
+
*/
|
|
64
|
+
export declare function workflowNotice(workflow: RailWorkflow, now?: number): WorkflowNotice;
|
|
42
65
|
/**
|
|
43
66
|
* A turn that delegated nothing and took less than this closes without a
|
|
44
67
|
* line: an answer that arrived at once needs no account of how long it took.
|
|
45
68
|
*/
|
|
46
69
|
export declare const SETTLE_LINE_MIN_MS = 3000;
|
|
47
70
|
/**
|
|
48
|
-
* `Worked for 38s · 3 agents
|
|
71
|
+
* `Worked for 38s · 3 agents · 27.0k tokens`, or `Worked for 46s`
|
|
49
72
|
* for a turn that delegated nothing — a finished turn closes with how long it
|
|
50
73
|
* took, as the reference terminal's do — or `undefined` for a turn that
|
|
51
74
|
* delegated nothing and finished within {@link SETTLE_LINE_MIN_MS}.
|
|
52
75
|
*
|
|
53
|
-
*
|
|
54
|
-
* tokens only when a child reported
|
|
55
|
-
*
|
|
56
|
-
* failure is worth the words.
|
|
76
|
+
* Phases never appear here: the reference shows them only inside a
|
|
77
|
+
* workflow's detail view. The tokens appear only when a child reported
|
|
78
|
+
* spend, and `· 1 failed` only when one did.
|
|
57
79
|
*/
|
|
58
80
|
export declare function settleLine(elapsedMs: number, agents: readonly SubagentActivity[]): string | undefined;
|
|
59
81
|
//# sourceMappingURL=agent-transcript-rows.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-transcript-rows.d.ts","sourceRoot":"","sources":["../../src/tui/agent-transcript-rows.ts"],"names":[],"mappings":"A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EvC;;;;;;;;;GASG;AACH,wBAAgB,UAAU,CACzB,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,SAAS,gBAAgB,EAAE,GACjC,MAAM,GAAG,SAAS,CAcpB"}
|
package/dist/tui/agent.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ import { type AuthorizationRule, type BackgroundJob, type BackgroundJobOutput, t
|
|
|
26
26
|
import { SubprocessComputerUseHost } from '@namzu/computer-use';
|
|
27
27
|
import { type BrowserControl, type BrowserSessionOptions } from '../browser/control.js';
|
|
28
28
|
import { FileCheckpointStore } from '../checkpoints/store.js';
|
|
29
|
-
import type { CompactionCliConfig, DecisionConfig, HooksConfig, MemoryCliConfig, PluginConfig, RoutingConfig, SandboxConfig, SkillsConfig, TurnLimitsConfig, WebConfig } from '../config/schema.js';
|
|
29
|
+
import type { CompactionCliConfig, DecisionConfig, HooksConfig, MemoryCliConfig, PluginConfig, RoutingConfig, SandboxConfig, SkillsConfig, TurnLimitsConfig, WebConfig, WorkflowCliConfig } from '../config/schema.js';
|
|
30
30
|
import { type ToolResultScreenConfig } from '../config/tool-result-screens.js';
|
|
31
31
|
import { type SessionDirectories } from '../context/directories.js';
|
|
32
32
|
import { type SandboxSummary } from '../context/sandbox.js';
|
|
@@ -39,6 +39,8 @@ import { type ConversationContext } from '../integrations/sessions/store.js';
|
|
|
39
39
|
import type { SubagentActivity, SubagentActivitySource } from '../integrations/subagents/activity.js';
|
|
40
40
|
import { type Batch } from '../integrations/subagents/batches.js';
|
|
41
41
|
import { type SubagentMessageReceipt } from '../integrations/subagents/runtime.js';
|
|
42
|
+
import type { WorkflowRunEnd } from '../integrations/workflows/registry.js';
|
|
43
|
+
import type { WorkflowRunView } from '../integrations/workflows/view.js';
|
|
42
44
|
import { type TypedNoteResult } from '../memory/typed.js';
|
|
43
45
|
import type { PermissionMode } from '../permissions/mode.js';
|
|
44
46
|
import { type ModelSwitchOutcome } from './model-switch-tool.js';
|
|
@@ -76,6 +78,8 @@ export type AgentEvent = {
|
|
|
76
78
|
readonly detail?: readonly string[];
|
|
77
79
|
/** A web search or fetch: what it is for, so its row can name it. */
|
|
78
80
|
readonly web?: WebActivity;
|
|
81
|
+
/** A shell call's full command line, kept with its line breaks for the cell header. */
|
|
82
|
+
readonly command?: string;
|
|
79
83
|
/**
|
|
80
84
|
* The tool declares this call read-only. Absent means it changes
|
|
81
85
|
* something, or the tool did not say. Read by the TUI's skill
|
|
@@ -168,6 +172,8 @@ export type AgentEvent = {
|
|
|
168
172
|
readonly cancelled?: boolean;
|
|
169
173
|
/** A web search or fetch, with whatever its result told us (query, result count). */
|
|
170
174
|
readonly web?: WebActivity;
|
|
175
|
+
/** A shell call's output split into streams, for the command cell. */
|
|
176
|
+
readonly shell?: import('./shell-cell.js').ShellOutput;
|
|
171
177
|
}
|
|
172
178
|
/**
|
|
173
179
|
* The model thinking, for the live region only. `text` is a delta;
|
|
@@ -484,6 +490,19 @@ export interface SendOptions {
|
|
|
484
490
|
* so it is recorded. Absent, `permissionMode` holds for the whole turn.
|
|
485
491
|
*/
|
|
486
492
|
readonly currentPermissionMode?: () => PermissionMode;
|
|
493
|
+
/**
|
|
494
|
+
* A host that can run workflows says so by passing this, and says who
|
|
495
|
+
* answers their reviews for as long as they run. A workflow outlives the
|
|
496
|
+
* turn that started it, so it cannot borrow `onPermission`, which belongs to
|
|
497
|
+
* the turn. Absent, the `workflow` tool is not offered at all: a host that
|
|
498
|
+
* has not built the screens for a background run (the desktop app today)
|
|
499
|
+
* must not hand the model a tool whose agents it cannot ask about.
|
|
500
|
+
*/
|
|
501
|
+
readonly workflowReview?: {
|
|
502
|
+
/** Absent: nobody to ask (a headless host), so only a session set to run without asking may start one. */
|
|
503
|
+
readonly onPermission?: PermissionFn;
|
|
504
|
+
readonly currentPermissionMode: () => PermissionMode;
|
|
505
|
+
};
|
|
487
506
|
/**
|
|
488
507
|
* Caller-reserved identity for this new turn, for a host that has to name
|
|
489
508
|
* the turn before it starts (a resident step's verifier). Absent: the
|
|
@@ -641,6 +660,29 @@ export interface AutoRouteSummary {
|
|
|
641
660
|
readonly tier: RouteTier;
|
|
642
661
|
readonly model: string;
|
|
643
662
|
}
|
|
663
|
+
/** The workflow runs of one session, as the terminal reads and steers them. */
|
|
664
|
+
export interface SessionWorkflows {
|
|
665
|
+
/** Runs this process started, running and ended, oldest first. */
|
|
666
|
+
readonly runs: () => readonly WorkflowRunView[];
|
|
667
|
+
readonly subscribe: (listener: () => void) => () => void;
|
|
668
|
+
/** Stop one run; false when it is not running. */
|
|
669
|
+
readonly stop: (runId: string) => boolean;
|
|
670
|
+
/** Skip one agent of a run; false when it is not running. */
|
|
671
|
+
readonly skipAgent: (runId: string, index: number) => boolean;
|
|
672
|
+
/** Which run and agent a monitor row is, if it is a workflow agent. */
|
|
673
|
+
readonly agentOf: (viewId: string) => {
|
|
674
|
+
readonly runId: string;
|
|
675
|
+
readonly index: number;
|
|
676
|
+
} | undefined;
|
|
677
|
+
/** Every run of this conversation, newest first: the live ones, then the journaled rest. */
|
|
678
|
+
readonly history: () => Promise<readonly WorkflowRunView[]>;
|
|
679
|
+
/** Be told once when a run ends, whether or not a turn is running. */
|
|
680
|
+
readonly onEnd: (listener: (end: WorkflowRunEnd) => void) => () => void;
|
|
681
|
+
/** Resolves once no run is going, or when the signal aborts. */
|
|
682
|
+
readonly idle: (signal?: AbortSignal) => Promise<void>;
|
|
683
|
+
/** Forget ended runs and stop running ones (a new conversation). */
|
|
684
|
+
readonly reset: () => void;
|
|
685
|
+
}
|
|
644
686
|
export interface AgentSession {
|
|
645
687
|
/**
|
|
646
688
|
* The browser the `browser` and `browser_act` tools drive, when this
|
|
@@ -832,7 +874,11 @@ export interface AgentSession {
|
|
|
832
874
|
readonly text: string;
|
|
833
875
|
}) => void) => () => void;
|
|
834
876
|
readonly messageSubagent?: (viewId: string, message: string, opts?: SendOptions) => Promise<SubagentMessageReceipt>;
|
|
877
|
+
/** Stop one running child from the agents rail; false when it is not ours or already ended. */
|
|
878
|
+
readonly stopSubagent?: (viewId: string) => boolean;
|
|
835
879
|
readonly subagents?: SubagentActivitySource;
|
|
880
|
+
/** Workflow runs of this conversation: the `workflow` tool's background runs. */
|
|
881
|
+
readonly workflows?: SessionWorkflows;
|
|
836
882
|
/**
|
|
837
883
|
* Children of this conversation's earlier turns, rebuilt from their own
|
|
838
884
|
* session logs.
|
|
@@ -1205,6 +1251,8 @@ export interface AgentSessionOptions {
|
|
|
1205
1251
|
readonly memory?: MemoryCliConfig;
|
|
1206
1252
|
/** See `NamzuCliConfig.limits`: how many model calls and tokens one turn may spend. */
|
|
1207
1253
|
readonly limits?: TurnLimitsConfig;
|
|
1254
|
+
/** See `NamzuCliConfig.workflow`: the caps a workflow run is held to. */
|
|
1255
|
+
readonly workflow?: WorkflowCliConfig;
|
|
1208
1256
|
/**
|
|
1209
1257
|
* Where this session's events are recorded, if anywhere.
|
|
1210
1258
|
*
|