@namzu/cli 36.3.1 → 36.5.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 +24 -0
- package/README.md +1 -1
- package/dist/bin.js +1 -1
- package/dist/chunks/{acp-CJ2TTGJD.js → acp-QQHLC6HY.js} +31 -31
- package/dist/chunks/{activity-command-MCYEK4Z4.js → activity-command-7A2NGBRO.js} +10 -10
- package/dist/chunks/{add-ZQ3YWP4F.js → add-VK7JVGYN.js} +16 -16
- package/dist/chunks/{agent-UO62HZPI.js → agent-IYFZOSN7.js} +22 -22
- package/dist/chunks/agent-session-FXZ4RXQH.js +46 -0
- package/dist/chunks/{archive-VPREZOGC.js → archive-7A5RLRRZ.js} +8 -8
- package/dist/chunks/{bin-main-J5ULRXXN.js → bin-main-QWTSTI5W.js} +3 -3
- package/dist/chunks/{browser-FZWYOIIJ.js → browser-Z4JR5SV4.js} +6 -6
- package/dist/chunks/{chat-BGWKKQTT.js → chat-452HRD23.js} +13 -13
- package/dist/chunks/{chunk-HSEJGSXE.js → chunk-2IWLDZNE.js} +2 -2
- package/dist/chunks/{chunk-2BZOT2CT.js → chunk-2Y3V7YTY.js} +2 -2
- package/dist/chunks/{chunk-E7HLYLD7.js → chunk-3I5CIWA6.js} +3 -3
- package/dist/chunks/{chunk-QRT3N2K3.js → chunk-3N54T4H4.js} +2 -2
- package/dist/chunks/{chunk-KMHLON54.js → chunk-4BBUZZDS.js} +2 -2
- package/dist/chunks/{chunk-LNQ6SCBF.js → chunk-5TIOW3QX.js} +7 -7
- package/dist/chunks/{chunk-XCWZZZOW.js → chunk-6G3TX6QD.js} +3 -3
- package/dist/chunks/{chunk-F3YQ2CSZ.js → chunk-6YVH6LAU.js} +4 -4
- package/dist/chunks/{chunk-RM6HTBJK.js → chunk-7IKMMZ7R.js} +2 -2
- package/dist/chunks/{chunk-KHF4IAIH.js → chunk-7NGZ5XGK.js} +10 -12
- package/dist/chunks/chunk-7NGZ5XGK.js.map +6 -0
- package/dist/chunks/{chunk-HKDPP2JF.js → chunk-7RP7HIBA.js} +2 -2
- package/dist/chunks/{chunk-M32YRERZ.js → chunk-7TW2GZ5D.js} +30 -26
- package/dist/chunks/chunk-7TW2GZ5D.js.map +6 -0
- package/dist/chunks/{chunk-AHYHR5DY.js → chunk-AJLZB6G6.js} +3 -3
- package/dist/chunks/{chunk-IQBR45AU.js → chunk-AM6K4LK2.js} +2 -2
- package/dist/chunks/{chunk-S6MZK4LD.js → chunk-BQYV3WGF.js} +2 -2
- package/dist/chunks/{chunk-74KMYYM2.js → chunk-CAOXGCUA.js} +3 -3
- package/dist/chunks/{chunk-AP5KD43Y.js → chunk-DQNJEGUV.js} +2 -2
- package/dist/chunks/{chunk-S6DK2YOB.js → chunk-DSODVSO7.js} +9 -9
- package/dist/chunks/{chunk-V3ZLK3XQ.js → chunk-E2OJSRDE.js} +19 -16
- package/dist/chunks/{chunk-V3ZLK3XQ.js.map → chunk-E2OJSRDE.js.map} +2 -2
- package/dist/chunks/{chunk-I6CDUPVR.js → chunk-EZ26PYSK.js} +2 -2
- package/dist/chunks/{chunk-MJO6CH5F.js → chunk-FPMRK6W6.js} +3 -3
- package/dist/chunks/{chunk-CXSUA2PF.js → chunk-GELWAUNY.js} +3 -3
- package/dist/chunks/{chunk-FU4GQ7K2.js → chunk-GKVDZZN6.js} +2 -2
- package/dist/chunks/{chunk-UFTNEQFN.js → chunk-HBWHJCNO.js} +10 -10
- package/dist/chunks/{chunk-3F5DGROG.js → chunk-HNX3JZWU.js} +2 -2
- package/dist/chunks/{chunk-ZHBHRMCI.js → chunk-HUTSLFLA.js} +4 -4
- package/dist/chunks/{chunk-AS7UWXMN.js → chunk-IFBWLO7J.js} +4 -4
- package/dist/chunks/{chunk-6TDJXZ5W.js → chunk-J7GTTLAZ.js} +4 -4
- package/dist/chunks/{chunk-56OUKG5W.js → chunk-KGKBG3U7.js} +3 -3
- package/dist/chunks/{chunk-ZB5ETOVE.js → chunk-KI7GP25X.js} +3 -3
- package/dist/chunks/{chunk-RBX6RVYO.js → chunk-KJLJVK4Y.js} +6 -6
- package/dist/chunks/{chunk-YYVDLVUM.js → chunk-KR2AARGO.js} +2 -2
- package/dist/chunks/{chunk-AEPAIDAA.js → chunk-KRUTBAWS.js} +5 -5
- package/dist/chunks/{chunk-GSHSAMZJ.js → chunk-KX2JZX4Q.js} +12 -12
- package/dist/chunks/{chunk-LYDXPWAZ.js → chunk-LNBO3KD2.js} +4 -4
- package/dist/chunks/{chunk-ZG6NVROB.js → chunk-OF6QIV42.js} +2 -2
- package/dist/chunks/{chunk-BUCICQWG.js → chunk-OIGLY4EG.js} +2 -2
- package/dist/chunks/{chunk-KOG2WB66.js → chunk-OQHSD4WX.js} +4 -4
- package/dist/chunks/{chunk-52OVP5BG.js → chunk-P6AM76US.js} +4 -4
- package/dist/chunks/{chunk-YYQFUKI7.js → chunk-PDSZNG3C.js} +3 -3
- package/dist/chunks/{chunk-QXDKRJZ5.js → chunk-PGEDH5H5.js} +3 -3
- package/dist/chunks/{chunk-UXGI3FE5.js → chunk-QB6CLDHT.js} +8 -8
- package/dist/chunks/{chunk-LBH5WVXU.js → chunk-QLB4KNQA.js} +21 -6
- package/dist/chunks/chunk-QLB4KNQA.js.map +6 -0
- package/dist/chunks/{chunk-DYUOXP5Q.js → chunk-QNHDYR4J.js} +13 -13
- package/dist/chunks/{chunk-GQN64E36.js → chunk-QQ2TBG2P.js} +3 -3
- package/dist/chunks/{chunk-VUOS5SQ3.js → chunk-QXUJNVPO.js} +2 -2
- package/dist/chunks/{chunk-BOV53LZO.js → chunk-R5OZ6DCD.js} +2 -2
- package/dist/chunks/{chunk-JCDTR2ZU.js → chunk-R5QMJRF7.js} +4 -4
- package/dist/chunks/{chunk-NATYSTPM.js → chunk-TC7HMH6P.js} +2 -2
- package/dist/chunks/{chunk-H6MWKPHM.js → chunk-WBR7JG42.js} +520 -76
- package/dist/chunks/chunk-WBR7JG42.js.map +6 -0
- package/dist/chunks/{chunk-46B7KRXY.js → chunk-WEVDA4IS.js} +6 -6
- package/dist/chunks/{chunk-EKUJUPFA.js → chunk-XMN2OSBG.js} +4 -4
- package/dist/chunks/{chunk-5URT3ZM2.js → chunk-ZBWLULPM.js} +4 -4
- package/dist/chunks/{chunk-MBBFX64S.js → chunk-ZHWB7GXV.js} +2 -2
- package/dist/chunks/{cli-runtime-NG23IVRM.js → cli-runtime-KHQJO3WG.js} +8 -8
- package/dist/chunks/{commands-LQISMOPF.js → commands-GOFR6DU5.js} +5 -5
- package/dist/chunks/{crash-report-EYK56MJJ.js → crash-report-BEZJS4TE.js} +6 -6
- package/dist/chunks/{dist-PZXF5NU3.js → dist-2PTH7PME.js} +2 -2
- package/dist/chunks/{dist-DWB5AYXB.js → dist-AVGYNTRY.js} +2 -2
- package/dist/chunks/{dist-AZJ56DQJ.js → dist-B3WFU7LE.js} +2 -2
- package/dist/chunks/{dist-3AMBKAG4.js → dist-GR6IFO7M.js} +2 -2
- package/dist/chunks/{dist-AUDNCB3F.js → dist-OLFVZDAR.js} +2 -2
- package/dist/chunks/{dist-EDKLCZY4.js → dist-TFSA6QEB.js} +2 -2
- package/dist/chunks/{dist-XT4V74YL.js → dist-ZIZ457D5.js} +2 -2
- package/dist/chunks/{doctor-3EOUWDYB.js → doctor-Y366MZD7.js} +6 -6
- package/dist/chunks/{drain-VKGTCFXC.js → drain-CQELENIA.js} +10 -10
- package/dist/chunks/{eval-VHWEJ4GG.js → eval-IUIKSMIP.js} +2 -2
- package/dist/chunks/{exec-TBNI5CDH.js → exec-CUF3USRR.js} +22 -22
- package/dist/chunks/{home-H4GTIYO5.js → home-OZK7SYKC.js} +3 -3
- package/dist/chunks/{host-queries-AIZVYFDQ.js → host-queries-OZ3GTNQB.js} +13 -13
- package/dist/chunks/{lifecycle-UF7VDCOQ.js → lifecycle-EDPBG4CF.js} +23 -23
- package/dist/chunks/{list-JJZ7I5OF.js → list-OKA3E7GI.js} +12 -12
- package/dist/chunks/{login-T2RKNHK2.js → login-NMPAF4D4.js} +8 -8
- package/dist/chunks/{logs-J6D4SEDY.js → logs-BLEDKYPA.js} +4 -4
- package/dist/chunks/{mcp-WONRVJ26.js → mcp-SO43UZSA.js} +15 -15
- package/dist/chunks/{message-command-BGQB2TFW.js → message-command-4CG7SPQA.js} +29 -29
- package/dist/chunks/{operator-tools-H4MYC5PE.js → operator-tools-BRBJUOP5.js} +11 -11
- package/dist/chunks/{output-schema-RFJUTQ2N.js → output-schema-Q74INRDV.js} +3 -3
- package/dist/chunks/{pal-AV7AD5MG.js → pal-Q4LLIL3Z.js} +11 -11
- package/dist/chunks/{providers-BHF65IUG.js → providers-L4SRCWQ5.js} +6 -6
- package/dist/chunks/{resident-YF3MIILM.js → resident-KROFLWQD.js} +18 -18
- package/dist/chunks/{resume-command-Y3NYDSI4.js → resume-command-433WHYYJ.js} +4 -4
- package/dist/chunks/{schedule-6T2MNPKK.js → schedule-YTD3NQTH.js} +8 -8
- package/dist/chunks/{service-2VASPD2V.js → service-X2BXZORB.js} +22 -22
- package/dist/chunks/session-step-NTNPJVXZ.js +26 -0
- package/dist/chunks/{skills-K3JRZ3IR.js → skills-6U4GTACH.js} +8 -8
- package/dist/chunks/{state-QPSQI7U7.js → state-JKH362WC.js} +2 -2
- package/dist/chunks/{store-Z3PS6LUZ.js → store-LMUDVSKO.js} +4 -4
- package/dist/chunks/{store-PSQKDEPY.js → store-T6ITZS2N.js} +8 -8
- package/dist/chunks/{store-7WZWQXKX.js → store-ULDTJXKN.js} +6 -6
- package/dist/chunks/{tui-GNG3YLGE.js → tui-T5O5A7F3.js} +1958 -1546
- package/dist/chunks/tui-T5O5A7F3.js.map +6 -0
- package/dist/chunks/{upgrade-C6QUXRLB.js → upgrade-FUJFUSY5.js} +2 -2
- package/dist/chunks/{worktree-KLD2PAMU.js → worktree-KJYHKRHL.js} +10 -10
- package/dist/cli.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-label.d.ts +40 -0
- package/dist/integrations/subagents/activity-label.d.ts.map +1 -0
- package/dist/integrations/subagents/activity.d.ts +45 -1
- package/dist/integrations/subagents/activity.d.ts.map +1 -1
- package/dist/integrations/subagents/label-ledger.d.ts +45 -0
- package/dist/integrations/subagents/label-ledger.d.ts.map +1 -0
- package/dist/integrations/subagents/runtime.d.ts +23 -1
- package/dist/integrations/subagents/runtime.d.ts.map +1 -1
- package/dist/permissions/mode.d.ts +17 -2
- package/dist/permissions/mode.d.ts.map +1 -1
- package/dist/permissions/session-allow.d.ts +65 -0
- package/dist/permissions/session-allow.d.ts.map +1 -0
- package/dist/tui/AgentExplorer.d.ts +83 -15
- package/dist/tui/AgentExplorer.d.ts.map +1 -1
- package/dist/tui/App.d.ts.map +1 -1
- package/dist/tui/PermissionOverlay.d.ts +35 -16
- package/dist/tui/PermissionOverlay.d.ts.map +1 -1
- package/dist/tui/StatusBar.d.ts +7 -1
- package/dist/tui/StatusBar.d.ts.map +1 -1
- package/dist/tui/Transcript.d.ts +6 -0
- package/dist/tui/Transcript.d.ts.map +1 -1
- package/dist/tui/agent-transcript-rows.d.ts +66 -5
- package/dist/tui/agent-transcript-rows.d.ts.map +1 -1
- package/dist/tui/agent-view-commands.d.ts +35 -0
- package/dist/tui/agent-view-commands.d.ts.map +1 -0
- package/dist/tui/agent.d.ts +27 -19
- package/dist/tui/agent.d.ts.map +1 -1
- package/dist/tui/permission-review.d.ts +0 -16
- package/dist/tui/permission-review.d.ts.map +1 -1
- package/dist/tui/slashCommands.d.ts +0 -13
- package/dist/tui/slashCommands.d.ts.map +1 -1
- package/dist/tui/types.d.ts +2 -0
- package/dist/tui/types.d.ts.map +1 -1
- package/package.json +9 -9
- package/dist/chunks/agent-session-DU55LD4P.js +0 -46
- package/dist/chunks/chunk-H6MWKPHM.js.map +0 -6
- package/dist/chunks/chunk-KHF4IAIH.js.map +0 -6
- package/dist/chunks/chunk-LBH5WVXU.js.map +0 -6
- package/dist/chunks/chunk-M32YRERZ.js.map +0 -6
- package/dist/chunks/session-step-LJ24HVLF.js +0 -26
- package/dist/chunks/tui-GNG3YLGE.js.map +0 -6
- package/dist/tui/ChildComposer.d.ts +0 -22
- package/dist/tui/ChildComposer.d.ts.map +0 -1
- /package/dist/chunks/{acp-CJ2TTGJD.js.map → acp-QQHLC6HY.js.map} +0 -0
- /package/dist/chunks/{activity-command-MCYEK4Z4.js.map → activity-command-7A2NGBRO.js.map} +0 -0
- /package/dist/chunks/{add-ZQ3YWP4F.js.map → add-VK7JVGYN.js.map} +0 -0
- /package/dist/chunks/{agent-UO62HZPI.js.map → agent-IYFZOSN7.js.map} +0 -0
- /package/dist/chunks/{agent-session-DU55LD4P.js.map → agent-session-FXZ4RXQH.js.map} +0 -0
- /package/dist/chunks/{archive-VPREZOGC.js.map → archive-7A5RLRRZ.js.map} +0 -0
- /package/dist/chunks/{bin-main-J5ULRXXN.js.map → bin-main-QWTSTI5W.js.map} +0 -0
- /package/dist/chunks/{browser-FZWYOIIJ.js.map → browser-Z4JR5SV4.js.map} +0 -0
- /package/dist/chunks/{chat-BGWKKQTT.js.map → chat-452HRD23.js.map} +0 -0
- /package/dist/chunks/{chunk-HSEJGSXE.js.map → chunk-2IWLDZNE.js.map} +0 -0
- /package/dist/chunks/{chunk-2BZOT2CT.js.map → chunk-2Y3V7YTY.js.map} +0 -0
- /package/dist/chunks/{chunk-E7HLYLD7.js.map → chunk-3I5CIWA6.js.map} +0 -0
- /package/dist/chunks/{chunk-QRT3N2K3.js.map → chunk-3N54T4H4.js.map} +0 -0
- /package/dist/chunks/{chunk-KMHLON54.js.map → chunk-4BBUZZDS.js.map} +0 -0
- /package/dist/chunks/{chunk-LNQ6SCBF.js.map → chunk-5TIOW3QX.js.map} +0 -0
- /package/dist/chunks/{chunk-XCWZZZOW.js.map → chunk-6G3TX6QD.js.map} +0 -0
- /package/dist/chunks/{chunk-F3YQ2CSZ.js.map → chunk-6YVH6LAU.js.map} +0 -0
- /package/dist/chunks/{chunk-RM6HTBJK.js.map → chunk-7IKMMZ7R.js.map} +0 -0
- /package/dist/chunks/{chunk-HKDPP2JF.js.map → chunk-7RP7HIBA.js.map} +0 -0
- /package/dist/chunks/{chunk-AHYHR5DY.js.map → chunk-AJLZB6G6.js.map} +0 -0
- /package/dist/chunks/{chunk-IQBR45AU.js.map → chunk-AM6K4LK2.js.map} +0 -0
- /package/dist/chunks/{chunk-S6MZK4LD.js.map → chunk-BQYV3WGF.js.map} +0 -0
- /package/dist/chunks/{chunk-74KMYYM2.js.map → chunk-CAOXGCUA.js.map} +0 -0
- /package/dist/chunks/{chunk-AP5KD43Y.js.map → chunk-DQNJEGUV.js.map} +0 -0
- /package/dist/chunks/{chunk-S6DK2YOB.js.map → chunk-DSODVSO7.js.map} +0 -0
- /package/dist/chunks/{chunk-I6CDUPVR.js.map → chunk-EZ26PYSK.js.map} +0 -0
- /package/dist/chunks/{chunk-MJO6CH5F.js.map → chunk-FPMRK6W6.js.map} +0 -0
- /package/dist/chunks/{chunk-CXSUA2PF.js.map → chunk-GELWAUNY.js.map} +0 -0
- /package/dist/chunks/{chunk-FU4GQ7K2.js.map → chunk-GKVDZZN6.js.map} +0 -0
- /package/dist/chunks/{chunk-UFTNEQFN.js.map → chunk-HBWHJCNO.js.map} +0 -0
- /package/dist/chunks/{chunk-3F5DGROG.js.map → chunk-HNX3JZWU.js.map} +0 -0
- /package/dist/chunks/{chunk-ZHBHRMCI.js.map → chunk-HUTSLFLA.js.map} +0 -0
- /package/dist/chunks/{chunk-AS7UWXMN.js.map → chunk-IFBWLO7J.js.map} +0 -0
- /package/dist/chunks/{chunk-6TDJXZ5W.js.map → chunk-J7GTTLAZ.js.map} +0 -0
- /package/dist/chunks/{chunk-56OUKG5W.js.map → chunk-KGKBG3U7.js.map} +0 -0
- /package/dist/chunks/{chunk-ZB5ETOVE.js.map → chunk-KI7GP25X.js.map} +0 -0
- /package/dist/chunks/{chunk-RBX6RVYO.js.map → chunk-KJLJVK4Y.js.map} +0 -0
- /package/dist/chunks/{chunk-YYVDLVUM.js.map → chunk-KR2AARGO.js.map} +0 -0
- /package/dist/chunks/{chunk-AEPAIDAA.js.map → chunk-KRUTBAWS.js.map} +0 -0
- /package/dist/chunks/{chunk-GSHSAMZJ.js.map → chunk-KX2JZX4Q.js.map} +0 -0
- /package/dist/chunks/{chunk-LYDXPWAZ.js.map → chunk-LNBO3KD2.js.map} +0 -0
- /package/dist/chunks/{chunk-ZG6NVROB.js.map → chunk-OF6QIV42.js.map} +0 -0
- /package/dist/chunks/{chunk-BUCICQWG.js.map → chunk-OIGLY4EG.js.map} +0 -0
- /package/dist/chunks/{chunk-KOG2WB66.js.map → chunk-OQHSD4WX.js.map} +0 -0
- /package/dist/chunks/{chunk-52OVP5BG.js.map → chunk-P6AM76US.js.map} +0 -0
- /package/dist/chunks/{chunk-YYQFUKI7.js.map → chunk-PDSZNG3C.js.map} +0 -0
- /package/dist/chunks/{chunk-QXDKRJZ5.js.map → chunk-PGEDH5H5.js.map} +0 -0
- /package/dist/chunks/{chunk-UXGI3FE5.js.map → chunk-QB6CLDHT.js.map} +0 -0
- /package/dist/chunks/{chunk-DYUOXP5Q.js.map → chunk-QNHDYR4J.js.map} +0 -0
- /package/dist/chunks/{chunk-GQN64E36.js.map → chunk-QQ2TBG2P.js.map} +0 -0
- /package/dist/chunks/{chunk-VUOS5SQ3.js.map → chunk-QXUJNVPO.js.map} +0 -0
- /package/dist/chunks/{chunk-BOV53LZO.js.map → chunk-R5OZ6DCD.js.map} +0 -0
- /package/dist/chunks/{chunk-JCDTR2ZU.js.map → chunk-R5QMJRF7.js.map} +0 -0
- /package/dist/chunks/{chunk-NATYSTPM.js.map → chunk-TC7HMH6P.js.map} +0 -0
- /package/dist/chunks/{chunk-46B7KRXY.js.map → chunk-WEVDA4IS.js.map} +0 -0
- /package/dist/chunks/{chunk-EKUJUPFA.js.map → chunk-XMN2OSBG.js.map} +0 -0
- /package/dist/chunks/{chunk-5URT3ZM2.js.map → chunk-ZBWLULPM.js.map} +0 -0
- /package/dist/chunks/{chunk-MBBFX64S.js.map → chunk-ZHWB7GXV.js.map} +0 -0
- /package/dist/chunks/{cli-runtime-NG23IVRM.js.map → cli-runtime-KHQJO3WG.js.map} +0 -0
- /package/dist/chunks/{commands-LQISMOPF.js.map → commands-GOFR6DU5.js.map} +0 -0
- /package/dist/chunks/{crash-report-EYK56MJJ.js.map → crash-report-BEZJS4TE.js.map} +0 -0
- /package/dist/chunks/{dist-PZXF5NU3.js.map → dist-2PTH7PME.js.map} +0 -0
- /package/dist/chunks/{dist-DWB5AYXB.js.map → dist-AVGYNTRY.js.map} +0 -0
- /package/dist/chunks/{dist-AZJ56DQJ.js.map → dist-B3WFU7LE.js.map} +0 -0
- /package/dist/chunks/{dist-3AMBKAG4.js.map → dist-GR6IFO7M.js.map} +0 -0
- /package/dist/chunks/{dist-AUDNCB3F.js.map → dist-OLFVZDAR.js.map} +0 -0
- /package/dist/chunks/{dist-EDKLCZY4.js.map → dist-TFSA6QEB.js.map} +0 -0
- /package/dist/chunks/{dist-XT4V74YL.js.map → dist-ZIZ457D5.js.map} +0 -0
- /package/dist/chunks/{doctor-3EOUWDYB.js.map → doctor-Y366MZD7.js.map} +0 -0
- /package/dist/chunks/{drain-VKGTCFXC.js.map → drain-CQELENIA.js.map} +0 -0
- /package/dist/chunks/{eval-VHWEJ4GG.js.map → eval-IUIKSMIP.js.map} +0 -0
- /package/dist/chunks/{exec-TBNI5CDH.js.map → exec-CUF3USRR.js.map} +0 -0
- /package/dist/chunks/{home-H4GTIYO5.js.map → home-OZK7SYKC.js.map} +0 -0
- /package/dist/chunks/{host-queries-AIZVYFDQ.js.map → host-queries-OZ3GTNQB.js.map} +0 -0
- /package/dist/chunks/{lifecycle-UF7VDCOQ.js.map → lifecycle-EDPBG4CF.js.map} +0 -0
- /package/dist/chunks/{list-JJZ7I5OF.js.map → list-OKA3E7GI.js.map} +0 -0
- /package/dist/chunks/{login-T2RKNHK2.js.map → login-NMPAF4D4.js.map} +0 -0
- /package/dist/chunks/{logs-J6D4SEDY.js.map → logs-BLEDKYPA.js.map} +0 -0
- /package/dist/chunks/{mcp-WONRVJ26.js.map → mcp-SO43UZSA.js.map} +0 -0
- /package/dist/chunks/{message-command-BGQB2TFW.js.map → message-command-4CG7SPQA.js.map} +0 -0
- /package/dist/chunks/{operator-tools-H4MYC5PE.js.map → operator-tools-BRBJUOP5.js.map} +0 -0
- /package/dist/chunks/{output-schema-RFJUTQ2N.js.map → output-schema-Q74INRDV.js.map} +0 -0
- /package/dist/chunks/{pal-AV7AD5MG.js.map → pal-Q4LLIL3Z.js.map} +0 -0
- /package/dist/chunks/{providers-BHF65IUG.js.map → providers-L4SRCWQ5.js.map} +0 -0
- /package/dist/chunks/{resident-YF3MIILM.js.map → resident-KROFLWQD.js.map} +0 -0
- /package/dist/chunks/{resume-command-Y3NYDSI4.js.map → resume-command-433WHYYJ.js.map} +0 -0
- /package/dist/chunks/{schedule-6T2MNPKK.js.map → schedule-YTD3NQTH.js.map} +0 -0
- /package/dist/chunks/{service-2VASPD2V.js.map → service-X2BXZORB.js.map} +0 -0
- /package/dist/chunks/{session-step-LJ24HVLF.js.map → session-step-NTNPJVXZ.js.map} +0 -0
- /package/dist/chunks/{skills-K3JRZ3IR.js.map → skills-6U4GTACH.js.map} +0 -0
- /package/dist/chunks/{state-QPSQI7U7.js.map → state-JKH362WC.js.map} +0 -0
- /package/dist/chunks/{store-7WZWQXKX.js.map → store-LMUDVSKO.js.map} +0 -0
- /package/dist/chunks/{store-PSQKDEPY.js.map → store-T6ITZS2N.js.map} +0 -0
- /package/dist/chunks/{store-Z3PS6LUZ.js.map → store-ULDTJXKN.js.map} +0 -0
- /package/dist/chunks/{upgrade-C6QUXRLB.js.map → upgrade-FUJFUSY5.js.map} +0 -0
- /package/dist/chunks/{worktree-KLD2PAMU.js.map → worktree-KJYHKRHL.js.map} +0 -0
|
@@ -48,14 +48,15 @@ export declare const AGENT_RAIL_WINDOW = 5;
|
|
|
48
48
|
/** How long a finished agent stays on the rail before it leaves. */
|
|
49
49
|
export declare const AGENT_RAIL_FINISHED_LINGER_MS = 30000;
|
|
50
50
|
/**
|
|
51
|
-
* The agents the rail lists: everything running, plus
|
|
52
|
-
*
|
|
51
|
+
* The agents the rail lists: everything running, plus a failed or stopped
|
|
52
|
+
* agent for {@link AGENT_RAIL_FINISHED_LINGER_MS} after it ended, oldest
|
|
53
|
+
* launch first. A background agent that completed is not listed at all.
|
|
53
54
|
*
|
|
54
55
|
* Saved children (`replayed`) never appear — they ended in another process,
|
|
55
56
|
* and the rail says what is moving now; the cockpit still lists them. An
|
|
56
57
|
* agent the operator already cleared with `x` stays off the rail.
|
|
57
58
|
*/
|
|
58
|
-
export declare function railAgents(agents: readonly SubagentActivity[], now: number, dismissed?: ReadonlySet<string
|
|
59
|
+
export declare function railAgents(agents: readonly SubagentActivity[], now: number, dismissed?: ReadonlySet<string>, pinned?: string | null): readonly SubagentActivity[];
|
|
59
60
|
/**
|
|
60
61
|
* Milliseconds until the next finished agent leaves the rail, or undefined
|
|
61
62
|
* when none is waiting to leave. App sleeps exactly this long instead of
|
|
@@ -70,6 +71,8 @@ export declare function railActionFor(agent: SubagentActivity): 'stop' | 'clear'
|
|
|
70
71
|
* started.
|
|
71
72
|
*/
|
|
72
73
|
export declare function railStatusText(agent: SubagentActivity, now: number): string;
|
|
74
|
+
/** `2 queued`: messages sent to the agent that it has not taken in yet. */
|
|
75
|
+
export declare function railQueuedText(agent: SubagentActivity): string | undefined;
|
|
73
76
|
/** What a workflow row shows about how the group ended; `running` until every member has settled. */
|
|
74
77
|
export type RailWorkflowStatus = 'running' | 'completed' | 'failed' | 'stopped';
|
|
75
78
|
/**
|
|
@@ -160,19 +163,29 @@ export interface AgentTaskPanelProps {
|
|
|
160
163
|
/** Clock for tests; the panel otherwise ticks once a second. */
|
|
161
164
|
readonly now?: number;
|
|
162
165
|
}
|
|
166
|
+
/** What an agent row says in its description column: what it is doing now, else what it was asked to do. */
|
|
167
|
+
export declare function railDescription(agent: SubagentActivity): string;
|
|
163
168
|
/**
|
|
164
|
-
* The agents rail: a `main` row,
|
|
165
|
-
*
|
|
169
|
+
* The agents rail: a blank row, then a `main` row, one row per running or
|
|
170
|
+
* recently failed sub-agent, and one per workflow, drawn under the footer
|
|
171
|
+
* line.
|
|
166
172
|
*
|
|
167
173
|
* ```
|
|
174
|
+
*
|
|
168
175
|
* ● main
|
|
169
|
-
*
|
|
176
|
+
* ◯ count-words Read(a.txt) 12s · ↓ 3.2k tokens
|
|
177
|
+
* ◯ release-audit ▰▰▰▰▱▱▱▱▱▱▱▱▱▱▱▱▱▱▱▱ 1/4 · 35s · ↓ 12.5k tokens
|
|
170
178
|
* ```
|
|
171
179
|
*
|
|
172
|
-
*
|
|
173
|
-
*
|
|
180
|
+
* The first cell of a row is the pointer slot and the bullet sits two cells in,
|
|
181
|
+
* directly under the first glyph of the mode line above (the rail reaches one
|
|
182
|
+
* cell into the app's margin to put it there), and rows stop two cells short
|
|
183
|
+
* of the right edge. `●` marks the transcript on screen, `◯` the others. No
|
|
184
|
+
* accent colour: the pointer and bullets take the row's own colour, and only a
|
|
185
|
+
* finished row's bullet turns green or red. Not a modal: the composer stays
|
|
174
186
|
* mounted above and keeps taking input until the operator presses ↓ on an
|
|
175
|
-
* empty composer to move into the rail.
|
|
187
|
+
* empty composer to move into the rail. The key line for the focused row is
|
|
188
|
+
* not drawn here; it takes the place of the mode line (see {@link railHint}).
|
|
176
189
|
*/
|
|
177
190
|
export declare function AgentTaskPanel({ agents, workflows, terminalColumns, compact, selectedIndex, viewingId, now: nowOverride, }: AgentTaskPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
178
191
|
/**
|
|
@@ -182,8 +195,21 @@ export declare function AgentTaskPanel({ agents, workflows, terminalColumns, com
|
|
|
182
195
|
* `main`; `compact` is the one-row form and always keeps it.
|
|
183
196
|
*/
|
|
184
197
|
export declare function railShowsMain(agentCount: number, viewingId?: string | null, compact?: boolean): boolean;
|
|
185
|
-
/** The
|
|
186
|
-
export declare
|
|
198
|
+
/** The chord that stops every running agent from the rail. */
|
|
199
|
+
export declare const RAIL_STOP_ALL_CHORD = "ctrl+x ctrl+k";
|
|
200
|
+
/**
|
|
201
|
+
* The key line for the focused rail row. It takes the place of the footer's
|
|
202
|
+
* mode line while the rail has the keyboard (the rows stay where they are),
|
|
203
|
+
* and says only what the row can do:
|
|
204
|
+
*
|
|
205
|
+
* - an agent or workflow row: `Enter to view · x to stop` (`x to clear` once
|
|
206
|
+
* it has finished), plus `ctrl+x ctrl+k to stop all agents` when more than
|
|
207
|
+
* one agent runs and the line is at least 90 columns wide;
|
|
208
|
+
* - `main`, or nothing selected: `↑/↓ to select · Enter to view`.
|
|
209
|
+
*
|
|
210
|
+
* Esc leaves the rail but is not advertised here.
|
|
211
|
+
*/
|
|
212
|
+
export declare function railHint(selected: SubagentActivity | RailWorkflow | undefined, columns: number, runningAgents?: number, viewedId?: string): string;
|
|
187
213
|
export type AgentCockpitFocus = 'workflows' | 'phases' | 'agents';
|
|
188
214
|
export interface AgentWorkflow {
|
|
189
215
|
readonly id: string;
|
|
@@ -246,7 +272,12 @@ export declare function phaseCount(phase: Pick<AgentPhase, 'agents'>): string;
|
|
|
246
272
|
* a single group.
|
|
247
273
|
*/
|
|
248
274
|
export declare function cockpitEntryFocus(workflow: AgentWorkflow): 'phases' | 'agents';
|
|
249
|
-
/**
|
|
275
|
+
/**
|
|
276
|
+
* Rows of list the detail dialog shows at once: 14 on a tall screen, fewer on
|
|
277
|
+
* a short one, never fewer than 4. The dialog is this many rows of list
|
|
278
|
+
* whether it holds two items or none, so it does not change height as agents
|
|
279
|
+
* come and go. Shared with the key handler so paging matches the screen.
|
|
280
|
+
*/
|
|
250
281
|
export declare function workflowDetailPageSize(terminalRows: number): number;
|
|
251
282
|
interface WorkflowDetailProps {
|
|
252
283
|
readonly workflow: AgentWorkflow;
|
|
@@ -259,9 +290,25 @@ interface WorkflowDetailProps {
|
|
|
259
290
|
readonly now: number;
|
|
260
291
|
}
|
|
261
292
|
/**
|
|
262
|
-
*
|
|
263
|
-
*
|
|
264
|
-
* the
|
|
293
|
+
* `↑ 1–8 of 14 ↓`: which rows of a longer list the box shows. An arrow is
|
|
294
|
+
* drawn on the side that has more, a space on the side that does not. Set in
|
|
295
|
+
* the box's bottom border, one per list (REA fns vt/Bo/Zt, chunk-t32eta2x.js).
|
|
296
|
+
*/
|
|
297
|
+
export declare function windowTag(window: {
|
|
298
|
+
readonly start: number;
|
|
299
|
+
readonly items: readonly unknown[];
|
|
300
|
+
}, total: number): string;
|
|
301
|
+
/**
|
|
302
|
+
* The detail of one workflow, as a frameless dialog: a rule across the top, the
|
|
303
|
+
* workflow's name, then its description on the left and `done/total agents ·
|
|
304
|
+
* elapsed` on the right, then the lists.
|
|
305
|
+
*
|
|
306
|
+
* From 64 columns the lists sit side by side in one box: the phases on the left
|
|
307
|
+
* (`✔`/`✘` or the phase's number, its title, `done/total`), and the agents of the
|
|
308
|
+
* selected phase on the right (status glyph, label, `model · tokens`, elapsed
|
|
309
|
+
* flush right). Level 1 puts the pointer on the phases, level 2 on the agents.
|
|
310
|
+
* Below 64 columns the same two lists are stacked: one at a time, the phases at
|
|
311
|
+
* level 1 and the selected phase's agents at level 2.
|
|
265
312
|
*/
|
|
266
313
|
export declare function WorkflowDetail({ workflow, phases, selectedPhaseIndex, selectedAgentIndex, level, terminalRows, terminalColumns, now, }: WorkflowDetailProps): import("react/jsx-runtime").JSX.Element;
|
|
267
314
|
export declare function agentCockpitIsWide(terminalColumns: number): boolean;
|
|
@@ -284,6 +331,27 @@ export interface AgentTranscriptProps {
|
|
|
284
331
|
}
|
|
285
332
|
/** Child screen; leave two parent footer rows and one terminal cursor row free. */
|
|
286
333
|
export declare function AgentTranscript({ agent, tailOffset, terminalRows, terminalColumns, compact, navigationHint, escapeTo, }: AgentTranscriptProps): import("react/jsx-runtime").JSX.Element;
|
|
334
|
+
/** Rows the viewed agent's transcript gets: what is left once the composer, footer line and rail are drawn. */
|
|
335
|
+
export declare function agentViewPageRows(terminalRows: number, railRows: number): number;
|
|
336
|
+
/** How far a viewed transcript can be scrolled back from its tail. */
|
|
337
|
+
export declare function maxAgentViewTailOffset(agent: SubagentActivity, pageRows: number, terminalColumns: number): number;
|
|
338
|
+
export interface AgentViewProps {
|
|
339
|
+
readonly agent: SubagentActivity;
|
|
340
|
+
/** Display rows skipped back from the live tail. */
|
|
341
|
+
readonly tailOffset: number;
|
|
342
|
+
readonly pageRows: number;
|
|
343
|
+
readonly terminalColumns: number;
|
|
344
|
+
/** One plain sentence about the last message that could not be sent. */
|
|
345
|
+
readonly notice?: string | undefined;
|
|
346
|
+
}
|
|
347
|
+
/**
|
|
348
|
+
* The transcript of the agent being viewed, drawn as part of the main screen:
|
|
349
|
+
* no box, no header, no tail counter. The agent's own prompt and what you sent
|
|
350
|
+
* it read as your rows (`❯`), what it said as `●`; its state is on the rail row
|
|
351
|
+
* below, and the one main composer under this stays live. Bottom-aligned, so the
|
|
352
|
+
* newest row sits against the composer.
|
|
353
|
+
*/
|
|
354
|
+
export declare function AgentView({ agent, tailOffset, pageRows, terminalColumns, notice, }: AgentViewProps): import("react/jsx-runtime").JSX.Element;
|
|
287
355
|
export declare function agentPickerPageSize(terminalRows: number, _wide?: boolean): number;
|
|
288
356
|
export declare function agentTranscriptPageSize(terminalRows: number, reservedRows?: number): number;
|
|
289
357
|
export declare function maxAgentTranscriptTailOffset(agent: SubagentActivity, terminalRows: number, terminalColumns: number): number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AgentExplorer.d.ts","sourceRoot":"","sources":["../../src/tui/AgentExplorer.tsx"],"names":[],"mappings":"AAIA,OAAO,EAGN,KAAK,gBAAgB,EACrB,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EACN,KAAK,iBAAiB,EACtB,KAAK,eAAe,EAEpB,MAAM,mCAAmC,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ACrB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;CACtB,CAcA;AAED,MAAM,WAAW,mBAAmB;IACnC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAA;IAC9B,QAAQ,CAAC,MAAM,EAAE,QAAQ,GAAG,gBAAgB,CAAC,YAAY,CAAC,CAAC,MAAM,CAAC,CAAA;CAClE;AAED,wEAAwE;AACxE,wBAAgB,mBAAmB,CAClC,KAAK,EAAE,gBAAgB,EACvB,eAAe,EAAE,MAAM,GAAG,SAAS,GACjC,SAAS,mBAAmB,EAAE,CAuDhC;AAkBD,qFAAqF;AACrF,OAAO,EAAE,kBAAkB,EAAE,CAAA"}
|
package/dist/tui/App.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../src/tui/App.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAUN,KAAK,OAAO,EAqBZ,MAAM,YAAY,CAAA;
|
|
1
|
+
{"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../src/tui/App.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAUN,KAAK,OAAO,EAqBZ,MAAM,YAAY,CAAA;AA4PnB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAmJvD,OAAO,KAAK,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AAc/D,MAAM,WAAW,QAAQ;IACxB,QAAQ,CAAC,GAAG,EAAE,UAAU,CAAA;IACxB,QAAQ,CAAC,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE,cAAc,KAAK,IAAI,CAAA;IAC1D,0EAA0E;IAC1E,QAAQ,CAAC,cAAc,CAAC,EAAE,qBAAqB,CAAA;IAC/C;;;;OAIG;IACH,QAAQ,CAAC,eAAe,CAAC,EAAE;QAAE,OAAO,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,IAAI,CAAA;KAAE,CAAA;CAC3D;AASD,MAAM,MAAM,qBAAqB,GAAG,CAAC,OAAO,EAAE;IAC7C,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,MAAM,EAAE,WAAW,CAAA;CAC5B,KAAK,OAAO,CAAC,MAAM,CAAC,CAAA;AAoVrB,6EAA6E;AAC7E,wBAAgB,6BAA6B,CAAC,QAAQ,EAAE,SAAS,OAAO,EAAE,GAAG,SAAS,MAAM,EAAE,CAM7F;AAED,sEAAsE;AACtE,wBAAgB,mBAAmB,CAClC,QAAQ,EAAE,SAAS,OAAO,EAAE,EAC5B,MAAM,EAAE,MAAM,MAAM,EACpB,iBAAiB,GAAE,SAAS,MAAM,EAAO,GACvC,SAAS,iBAAiB,EAAE,CAqE9B;AA6KD,wBAAgB,GAAG,CAAC,EACnB,GAAG,EAAE,UAAU,EACf,aAAa,EACb,cAAsC,EACtC,eAAe,GACf,EAAE,QAAQ,2CAmsWV"}
|
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
* envelope's projection from `permission-review.ts`, and the exact envelope
|
|
12
12
|
* is one key away. What this file decides is how it reads.
|
|
13
13
|
*/
|
|
14
|
+
import { type PermissionMode } from '../permissions/mode.js';
|
|
15
|
+
import { type SessionAllow } from '../permissions/session-allow.js';
|
|
14
16
|
import type { PermissionToolCall } from './agent.js';
|
|
15
17
|
import { type PermissionReviewSummary } from './permission-review.js';
|
|
16
18
|
/** The answers, in the order they are shown and numbered: three, or two for a batch-only prompt. */
|
|
@@ -34,8 +36,12 @@ export interface PermissionOverlayProps {
|
|
|
34
36
|
readonly columns?: number;
|
|
35
37
|
/** Live terminal height; the pager shows as much as the screen has room for. */
|
|
36
38
|
readonly rows?: number;
|
|
37
|
-
/** Answers this batch only: no
|
|
39
|
+
/** Answers this batch only: no session-wide answer is offered (a scheduled run). */
|
|
38
40
|
readonly batchOnly?: boolean;
|
|
41
|
+
/** The session's mode now; the accept-edits answer is offered only from `prompt`. */
|
|
42
|
+
readonly mode?: PermissionMode;
|
|
43
|
+
/** Present when the session can remember allows; see `permissionAnswers`. */
|
|
44
|
+
readonly commandArguments?: ReadonlyMap<string, string>;
|
|
39
45
|
/** Which browser site rule decided each browser call, with the profile and engine. */
|
|
40
46
|
readonly siteNotes?: readonly string[];
|
|
41
47
|
/**
|
|
@@ -61,25 +67,38 @@ export declare function permissionQuestion(toolCalls: readonly PermissionToolCal
|
|
|
61
67
|
* `dangerously_disable_sandbox` at the end of a long command is easy to miss.
|
|
62
68
|
*/
|
|
63
69
|
export declare function permissionEscalationNotes(toolCalls: readonly PermissionToolCall[]): string[];
|
|
64
|
-
/** What an answer on the screen does. */
|
|
65
|
-
export type PermissionAnswerKind = 'approve' | 'approve-all' | 'reject';
|
|
66
70
|
/**
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
+
* What an answer on the screen does. `approve-edits` switches the session to
|
|
72
|
+
* accept-edits and `approve-rule` remembers the allows it carries, both for
|
|
73
|
+
* the rest of the session; each also approves this batch. There is no
|
|
74
|
+
* "allow every tool" answer: the reference has none.
|
|
71
75
|
*/
|
|
72
|
-
export
|
|
73
|
-
|
|
74
|
-
readonly screenConsent?: boolean;
|
|
75
|
-
}): readonly {
|
|
76
|
+
export type PermissionAnswerKind = 'approve' | 'approve-edits' | 'approve-rule' | 'reject';
|
|
77
|
+
export interface PermissionAnswer {
|
|
76
78
|
readonly label: string;
|
|
77
79
|
readonly kind: PermissionAnswerKind;
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
80
|
+
/** What `approve-rule` remembers. */
|
|
81
|
+
readonly allows?: readonly SessionAllow[];
|
|
82
|
+
}
|
|
83
|
+
export interface PermissionAnswerOptions {
|
|
81
84
|
readonly batchOnly?: boolean;
|
|
82
85
|
readonly screenConsent?: boolean;
|
|
83
|
-
|
|
84
|
-
|
|
86
|
+
/** The session's mode now; the edit answer is offered only from `prompt`. */
|
|
87
|
+
readonly mode?: PermissionMode;
|
|
88
|
+
/** Tools whose command line is one argument, when this session can remember allows. */
|
|
89
|
+
readonly commandArguments?: ReadonlyMap<string, string>;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* The answers, in the order they are shown and numbered, with what each
|
|
93
|
+
* does. Yes and No always; between them, at most one that is valid for every
|
|
94
|
+
* call in the batch: switch to accept edits (every call a plain edit or
|
|
95
|
+
* write, from `prompt`), or remember an allow for the rest of the session
|
|
96
|
+
* (every call a plain command, fetch or MCP call). A call that crosses the
|
|
97
|
+
* turn's boundary, asks by rule, or must always be asked, gets neither. A
|
|
98
|
+
* `batchOnly` prompt (a scheduled run's) offers neither.
|
|
99
|
+
*/
|
|
100
|
+
export declare function permissionAnswers(toolCalls: readonly PermissionToolCall[], options?: PermissionAnswerOptions): readonly PermissionAnswer[];
|
|
101
|
+
/** The answers' labels, in order. */
|
|
102
|
+
export declare function permissionChoices(toolCalls: readonly PermissionToolCall[], options?: PermissionAnswerOptions): readonly string[];
|
|
103
|
+
export declare function PermissionOverlay({ toolCalls, review, summary, detailsOpen, reviewOffset, choice, queuedCount, sourceLabel, columns, rows: terminalRows, batchOnly, mode, commandArguments, siteNotes, screenConsent, }: PermissionOverlayProps): import("react/jsx-runtime").JSX.Element;
|
|
85
104
|
//# sourceMappingURL=PermissionOverlay.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PermissionOverlay.d.ts","sourceRoot":"","sources":["../../src/tui/PermissionOverlay.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAMH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAEpD,OAAO,EACN,KAAK,uBAAuB,EAG5B,MAAM,wBAAwB,CAAA;AAI/B,oGAAoG;AACpG,MAAM,MAAM,gBAAgB,GAAG,CAA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}
|
package/dist/tui/StatusBar.d.ts
CHANGED
|
@@ -50,6 +50,12 @@ export interface StatusBarProps {
|
|
|
50
50
|
readonly canManage?: boolean;
|
|
51
51
|
/** The shell pill holds the keyboard: it is drawn inverted and `enter to view shells` replaces `↓ to manage`. */
|
|
52
52
|
readonly shellsSelected?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* The key line of the focused agents-rail row. While set it takes the
|
|
55
|
+
* place of the whole line — mode, pills and model — so the keys the row
|
|
56
|
+
* answers to are the only thing on it, as the rail's rows stay put below.
|
|
57
|
+
*/
|
|
58
|
+
readonly railHint?: string;
|
|
53
59
|
}
|
|
54
60
|
/**
|
|
55
61
|
* The mode marks. `⏵⏵` is outside the emoji set; the pause mark a plan mode
|
|
@@ -61,7 +67,7 @@ export declare const MODE_MARK: {
|
|
|
61
67
|
readonly moving: "⏵⏵";
|
|
62
68
|
readonly held: "‖";
|
|
63
69
|
};
|
|
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;
|
|
70
|
+
export declare function StatusBar({ provider, model, effort, goal, state, hint, permissionMode, canCycleMode, composerMounted, shellCount, pr, hyperlinks, agentCount, canManage, shellsSelected, railHint, }: StatusBarProps): import("react/jsx-runtime").JSX.Element;
|
|
65
71
|
export interface StatusLineLayout {
|
|
66
72
|
readonly mode: string | null;
|
|
67
73
|
readonly cycleSuffix: string | null;
|
|
@@ -1 +1 @@
|
|
|
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,QAA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,GAAG,IAAI,CAAA;IAC7B,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAClC,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IACzC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAC1B,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACpC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAClC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC/B,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC/B,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,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
|
@@ -105,4 +105,10 @@ export declare function renderedDetailLines(message: TranscriptMessage): readonl
|
|
|
105
105
|
export declare function glyphForRole(role: TranscriptMessage['role']): string;
|
|
106
106
|
export declare function glyphColorForRole(role: TranscriptMessage['role']): string;
|
|
107
107
|
export declare function contentColorForRole(role: TranscriptMessage['role']): string;
|
|
108
|
+
/**
|
|
109
|
+
* What joins a row's hint to its text. A hint written in parentheses, like
|
|
110
|
+
* `(ctrl+o to expand)` after `› Message from @name`, follows the text after a
|
|
111
|
+
* space as the reference draws it; any other hint is set off with a middle dot.
|
|
112
|
+
*/
|
|
113
|
+
export declare function metaSeparator(meta: string): string;
|
|
108
114
|
//# sourceMappingURL=Transcript.d.ts.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ACf,MAAM,EACN,YAAgB,GAChB,EAAE,eAAe,2CA8DjB;AAsLD,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;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAElD"}
|
|
@@ -28,6 +28,8 @@ import { type RailWorkflow } from './AgentExplorer.js';
|
|
|
28
28
|
export declare const AGENT_MANAGE_HINT = "\u2193 to manage";
|
|
29
29
|
/** The key that opens the rail's workflow row from the composer. */
|
|
30
30
|
export declare const WORKFLOW_MANAGE_HINT = "\u2193 to manage";
|
|
31
|
+
/** How a launch names an agent: what it was asked to do (its description). */
|
|
32
|
+
export declare function launchLabel(agent: SubagentActivity): string;
|
|
31
33
|
export interface LaunchReceipt {
|
|
32
34
|
/** First line, then one tree line per agent when there are several. */
|
|
33
35
|
readonly content: string;
|
|
@@ -41,15 +43,74 @@ export interface LaunchReceipt {
|
|
|
41
43
|
* the rail's title follows.
|
|
42
44
|
*/
|
|
43
45
|
export declare function launchReceipt(unordered: readonly SubagentActivity[]): LaunchReceipt;
|
|
44
|
-
|
|
45
|
-
|
|
46
|
+
/** `8s`, `1m 4s`, `1h 2m`: the spaced form the notification lines use. */
|
|
47
|
+
export declare function spacedElapsed(ms: number): string;
|
|
48
|
+
export interface AgentMessageRow {
|
|
49
|
+
/** `Message from @count-words`, the sender being the agent's name (else its type). */
|
|
46
50
|
readonly content: string;
|
|
47
|
-
/** The agent's final answer, one entry per line;
|
|
51
|
+
/** The agent's final answer, one entry per line; the row is collapsed and ctrl+o opens it. */
|
|
48
52
|
readonly detail: readonly string[];
|
|
49
53
|
readonly hint: string;
|
|
50
54
|
}
|
|
51
|
-
/**
|
|
52
|
-
|
|
55
|
+
/**
|
|
56
|
+
* What an agent that finished says to the conversation: its answer, as one
|
|
57
|
+
* collapsed row `› Message from @name (ctrl+o to expand)`. Undefined when it
|
|
58
|
+
* gave no answer, so there is nothing to expand.
|
|
59
|
+
*/
|
|
60
|
+
export declare function agentMessageRow(agent: SubagentActivity): AgentMessageRow | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* What a running agent said to the conversation with its own `send_message`,
|
|
63
|
+
* as the same collapsed row a finished agent's answer is:
|
|
64
|
+
* `› Message from @name (ctrl+o to expand)`, the text behind Ctrl+O
|
|
65
|
+
* (REA fn en/Hg and helper Pre, the reference's peer-message row).
|
|
66
|
+
*/
|
|
67
|
+
export declare function childMessageRow(message: {
|
|
68
|
+
readonly agentId: string;
|
|
69
|
+
readonly text: string;
|
|
70
|
+
}): AgentMessageRow;
|
|
71
|
+
/**
|
|
72
|
+
* The same message as the model reads it: marked as the agent's own words,
|
|
73
|
+
* not the person's and not proof of anything, whatever it says.
|
|
74
|
+
*/
|
|
75
|
+
export declare function childMessageNotice(message: {
|
|
76
|
+
readonly agentId: string;
|
|
77
|
+
readonly description: string;
|
|
78
|
+
readonly taskId?: string;
|
|
79
|
+
readonly text: string;
|
|
80
|
+
}): string;
|
|
81
|
+
export interface AgentNotice {
|
|
82
|
+
/** `Agent "Count words in a.txt" finished · 8s`: the result is not repeated here. */
|
|
83
|
+
readonly content: string;
|
|
84
|
+
readonly tone: 'ok' | 'error' | 'warn';
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Whether an agent reports its end to the conversation as a notification
|
|
88
|
+
* (`Message from @name`, then `Agent "…" finished`). Only an agent that runs
|
|
89
|
+
* on its own does: a background launch, one whose wait was released, or one a
|
|
90
|
+
* later message resumed. One the parent waited on handed its result back
|
|
91
|
+
* inline, and the reference draws that as the tool's own result line
|
|
92
|
+
* (`Done (3 tool uses · 12.1k tokens · 8s)`), not as a notification
|
|
93
|
+
* (REA fn Qxt, chunk-8242685m.js: every caller is the background path).
|
|
94
|
+
*/
|
|
95
|
+
export declare function reportsAsNotification(agent: SubagentActivity): boolean;
|
|
96
|
+
/**
|
|
97
|
+
* What a waited-on agent leaves in place of a notification: the tool's own
|
|
98
|
+
* header and result, `general-purpose (Count words in a.txt)` over
|
|
99
|
+
* `Done (3 tool uses · 12.1k tokens · 8s)`. The header is there because the
|
|
100
|
+
* reference prints the result under the call that made it, and here the call is
|
|
101
|
+
* a launch line shared by the whole batch.
|
|
102
|
+
*/
|
|
103
|
+
export declare function agentDoneRows(agent: SubagentActivity, now?: number): {
|
|
104
|
+
readonly header: string;
|
|
105
|
+
readonly result: string;
|
|
106
|
+
};
|
|
107
|
+
/**
|
|
108
|
+
* The one line that closes an agent's run in the conversation, worded as the
|
|
109
|
+
* reference's notification: `finished`, `failed: <reason>`, and for a stop
|
|
110
|
+
* `was stopped by user`, `was stopped by Namzu` (the conversation's own agent
|
|
111
|
+
* asked), or plain `was stopped` when nobody recorded who (REA fn Qxt).
|
|
112
|
+
*/
|
|
113
|
+
export declare function agentNotice(agent: SubagentActivity, now?: number): AgentNotice;
|
|
53
114
|
export interface WorkflowNotice {
|
|
54
115
|
readonly content: string;
|
|
55
116
|
/** Completed reads quiet, failed is red, stopped is yellow. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-transcript-rows.d.ts","sourceRoot":"","sources":["../../src/tui/agent-transcript-rows.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;
|
|
1
|
+
{"version":3,"file":"agent-transcript-rows.d.ts","sourceRoot":"","sources":["../../src/tui/agent-transcript-rows.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAIH,OAAO,EAGN,KAAK,gBAAgB,EACrB,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EAAE,KAAK,YAAY,EAAsB,MAAM,oBAAoB,CAAA;AAI1E;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,qBAAgB,CAAA;AAE9C,oEAAoE;AACpE,eAAO,MAAM,oBAAoB,qBAAgB,CAAA;AAEjD,8EAA8E;AAC9E,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,GAAG,MAAM,CAE3D;AAED,MAAM,WAAW,aAAa;IAC7B,uEAAuE;IACvE,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;CACxB;AAED;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,SAAS,EAAE,SAAS,gBAAgB,EAAE,GAAG,aAAa,CAgCnF;AAED,0EAA0E;AAC1E,wBAAgB,aAAa,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,CAMhD;AAED,MAAM,WAAW,eAAe;IAC/B,sFAAsF;IACtF,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IACxB,8FAA8F;IAC9F,QAAQ,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAA;IAClC,QAAQ,CA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tC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;CACtB;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,YAAY,EAAE,GAAG,SAAa,GAAG,cAAc,CAoBvF;AAED;;;GAGG;AACH,eAAO,MAAM,kBAAkB,OAAQ,CAAA;AAEvC;;;;;;;;;GASG;AACH,wBAAgB,UAAU,CACzB,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,SAAS,gBAAgB,EAAE,GACjC,MAAM,GAAG,SAAS,CAcpB"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* What a slash command typed while an agent is on screen does.
|
|
3
|
+
*
|
|
4
|
+
* The composer is the conversation's, and it stays live while an agent is
|
|
5
|
+
* viewed, so a command typed there could mean the agent or the conversation.
|
|
6
|
+
* The reference settles it per command (REA fn Ece in chunk-2rs9vjmc.js, called
|
|
7
|
+
* from the prompt input's submit, REA fn p3e):
|
|
8
|
+
*
|
|
9
|
+
* - a command the host answers itself (`local` in the reference, every built-in
|
|
10
|
+
* here) is never sent to the agent. Most simply run against the
|
|
11
|
+
* conversation, as they do with no agent open;
|
|
12
|
+
* - `model` and `fast` only say they would change the conversation's, not the
|
|
13
|
+
* agent's, and do nothing;
|
|
14
|
+
* - `compact`, `clear` (and `new`, which the reference lists as an alias of
|
|
15
|
+
* `clear`) and `rewind` act on the conversation's history, so they ask first
|
|
16
|
+
* and name that;
|
|
17
|
+
* - anything else that starts with `/` (a skill, a custom command, a typo) is
|
|
18
|
+
* text for the agent like any other line.
|
|
19
|
+
*/
|
|
20
|
+
export type AgentViewCommandClass = {
|
|
21
|
+
/** Nothing runs; the notice says why. */
|
|
22
|
+
readonly kind: 'block';
|
|
23
|
+
readonly notice: string;
|
|
24
|
+
} | {
|
|
25
|
+
/** Asks, then runs against the conversation. */
|
|
26
|
+
readonly kind: 'confirm';
|
|
27
|
+
readonly title: string;
|
|
28
|
+
readonly confirmLabel: string;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* How the named built-in command is treated while an agent is viewed, or
|
|
32
|
+
* `undefined` when it simply runs against the conversation.
|
|
33
|
+
*/
|
|
34
|
+
export declare function agentViewCommandClass(name: string): AgentViewCommandClass | undefined;
|
|
35
|
+
//# sourceMappingURL=agent-view-commands.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-view-commands.d.ts","sourceRoot":"","sources":["../../src/tui/agent-view-commands.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,MAAM,MAAM,qBAAqB,GAC9B;IACA,yCAAyC;IACzC,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAA;IACtB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;CACtB,GACD;IACA,gDAAgD;IAChD,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAA;IACxB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAA;CAC5B,CAAA;AAEJ;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,GAAG,qBAAqB,GAAG,SAAS,CAoBrF"}
|
package/dist/tui/agent.d.ts
CHANGED
|
@@ -38,11 +38,12 @@ import { type DetectedProvider, type Preferences, type ProviderId } from '../int
|
|
|
38
38
|
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
|
-
import { type SubagentMessageReceipt } from '../integrations/subagents/runtime.js';
|
|
41
|
+
import { type SubagentMessage, type SubagentMessageReceipt } from '../integrations/subagents/runtime.js';
|
|
42
42
|
import type { WorkflowRunEnd } from '../integrations/workflows/registry.js';
|
|
43
43
|
import type { WorkflowRunView } from '../integrations/workflows/view.js';
|
|
44
44
|
import { type TypedNoteResult } from '../memory/typed.js';
|
|
45
45
|
import type { PermissionMode } from '../permissions/mode.js';
|
|
46
|
+
import { type SessionAllow } from '../permissions/session-allow.js';
|
|
46
47
|
import { type ModelSwitchOutcome } from './model-switch-tool.js';
|
|
47
48
|
import { type ModelSwitchRequest } from './model-switch.js';
|
|
48
49
|
export type AgentEvent = {
|
|
@@ -388,6 +389,12 @@ export interface PermissionToolCall {
|
|
|
388
389
|
readonly isDestructive: boolean;
|
|
389
390
|
/** What the call reaches past the turn's boundary; see `ToolCallSummary.escalation`. */
|
|
390
391
|
readonly escalation?: ToolCallEscalation;
|
|
392
|
+
/** Present when a rule asked for this call; no remembered answer may skip it. */
|
|
393
|
+
readonly authorization?: {
|
|
394
|
+
readonly explicitReview?: true;
|
|
395
|
+
};
|
|
396
|
+
/** The tool needs a person's yes on every call. */
|
|
397
|
+
readonly requiresApproval?: true;
|
|
391
398
|
}
|
|
392
399
|
/** The batch a person is asked about — the kernel's `ToolReviewRequest`. */
|
|
393
400
|
export type PermissionRequest = ToolReviewRequest;
|
|
@@ -873,6 +880,12 @@ export interface AgentSession {
|
|
|
873
880
|
readonly parentSessionId: string;
|
|
874
881
|
readonly text: string;
|
|
875
882
|
}) => void) => () => void;
|
|
883
|
+
/**
|
|
884
|
+
* Hear what a running sub-agent tells the main conversation with its own
|
|
885
|
+
* `send_message` tool. Absent when the host has no sub-agents or cannot show
|
|
886
|
+
* the message; a child has that tool only while somebody listens.
|
|
887
|
+
*/
|
|
888
|
+
readonly onSubagentMessage?: (listener: (message: SubagentMessage) => void) => () => void;
|
|
876
889
|
readonly messageSubagent?: (viewId: string, message: string, opts?: SendOptions) => Promise<SubagentMessageReceipt>;
|
|
877
890
|
/** Stop one running child from the agents rail; false when it is not ours or already ended. */
|
|
878
891
|
readonly stopSubagent?: (viewId: string) => boolean;
|
|
@@ -939,27 +952,22 @@ export interface AgentSession {
|
|
|
939
952
|
readonly derived: RenderedMemoryIndex;
|
|
940
953
|
}>;
|
|
941
954
|
/**
|
|
942
|
-
* Whether "approve all" has been
|
|
943
|
-
*
|
|
944
|
-
*
|
|
945
|
-
* lives in a mutable object the permission handler closes over, and it flips
|
|
946
|
-
* mid-turn on a single keystroke. A surface handed a boolean would be handed
|
|
947
|
-
* whatever the value was when the surface was built — and `/permissions` is
|
|
948
|
-
* rendered from a context object assembled on an earlier render, so a
|
|
949
|
-
* snapshot would reintroduce the staleness one layer up from where it was
|
|
950
|
-
* fixed.
|
|
951
|
-
*
|
|
952
|
-
* It exists because `/permissions` reported the approval posture from the
|
|
953
|
-
* operator's flags alone and could not see this, so it kept printing "you
|
|
954
|
-
* are asked before they run" after the operator had turned that off.
|
|
955
|
+
* Whether "approve all" has been answered through a host prompt (ACP,
|
|
956
|
+
* Desktop). The terminal no longer offers that answer and does not read
|
|
957
|
+
* this; it stays for the hosts that do.
|
|
955
958
|
*/
|
|
956
|
-
readonly approvalLatched
|
|
959
|
+
readonly approvalLatched?: () => boolean;
|
|
960
|
+
/** Revoke a host's "approve all". The terminal does not call it. */
|
|
961
|
+
readonly resetApprovalLatch?: () => void;
|
|
957
962
|
/**
|
|
958
|
-
*
|
|
959
|
-
*
|
|
960
|
-
*
|
|
963
|
+
* Remember "don't ask again" answers for the rest of the session. They
|
|
964
|
+
* apply behind the operator's rules and never cover an escape or a path
|
|
965
|
+
* outside the roots. Absent where the host has no such store, in which
|
|
966
|
+
* case the prompt offers no such answer.
|
|
961
967
|
*/
|
|
962
|
-
readonly
|
|
968
|
+
readonly allowForSession?: (allows: readonly SessionAllow[]) => void;
|
|
969
|
+
/** Tools whose command line is one argument, for naming a command to remember. */
|
|
970
|
+
readonly commandArguments?: ReadonlyMap<string, string>;
|
|
963
971
|
/**
|
|
964
972
|
* Record a permission-mode change on every turn running now: written to
|
|
965
973
|
* the session log as `approval_policy_changed` before it takes effect,
|