@namzu/cli 45.1.0 → 45.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 +58 -0
- package/README.md +1 -1
- package/dist/bin-main.d.ts.map +1 -1
- package/dist/bin.js +1 -1
- package/dist/chunks/{acp-CGGPX6FV.js → acp-ZTROFKCB.js} +50 -48
- package/dist/chunks/acp-ZTROFKCB.js.map +6 -0
- package/dist/chunks/{activity-command-D744W6SC.js → activity-command-UOPJG7HV.js} +13 -13
- package/dist/chunks/{add-7F26IYNU.js → add-72ZD5COQ.js} +21 -20
- package/dist/chunks/add-72ZD5COQ.js.map +6 -0
- package/dist/chunks/{agent-42PYZGA5.js → agent-LCIH3SLO.js} +40 -38
- package/dist/chunks/agent-session-LUGICAIR.js +71 -0
- package/dist/chunks/{archive-FLZUJDJZ.js → archive-7WVQ537T.js} +11 -11
- package/dist/chunks/{bin-main-NID46PS7.js → bin-main-UKMSMD75.js} +31 -8
- package/dist/chunks/bin-main-UKMSMD75.js.map +6 -0
- package/dist/chunks/{binding-JQUI2CTZ.js → binding-XVFMQCFN.js} +3 -3
- package/dist/chunks/{browser-YZCY2CI6.js → browser-4PRGERNN.js} +6 -6
- package/dist/chunks/{chat-WBJPS4K6.js → chat-X5MYAPDS.js} +16 -16
- package/dist/chunks/{chunk-HIJXUSOS.js → chunk-25KCA24W.js} +3 -3
- package/dist/chunks/{chunk-LQN7NG2F.js → chunk-2GW4CKCP.js} +13 -13
- package/dist/chunks/chunk-2IPDTDB3.js +80 -0
- package/dist/chunks/chunk-2IPDTDB3.js.map +6 -0
- package/dist/chunks/{chunk-RPCJJZTI.js → chunk-3DV5GOM2.js} +3 -3
- package/dist/chunks/{chunk-NZ6DX5CL.js → chunk-3KFDEYQO.js} +4 -4
- package/dist/chunks/{chunk-OYX743QK.js → chunk-4HZFDYJ5.js} +587 -441
- package/dist/chunks/chunk-4HZFDYJ5.js.map +6 -0
- package/dist/chunks/{chunk-NI3LZ6UX.js → chunk-56KFHOMT.js} +5 -5
- package/dist/chunks/{chunk-NI3LZ6UX.js.map → chunk-56KFHOMT.js.map} +1 -1
- package/dist/chunks/{chunk-QXNROEIH.js → chunk-5EAN453D.js} +4 -4
- package/dist/chunks/{chunk-IZDYKTPN.js → chunk-5OLWLGSL.js} +6 -6
- package/dist/chunks/{chunk-PAY5TGHV.js → chunk-5QA7PV3Q.js} +3 -3
- package/dist/chunks/{chunk-LMVXENEF.js → chunk-5UPGCZZI.js} +3 -3
- package/dist/chunks/{chunk-24NEAMG5.js → chunk-6C7LQMXN.js} +3 -3
- package/dist/chunks/{chunk-SSE5CXYL.js → chunk-6DIVEA5W.js} +4 -4
- package/dist/chunks/{chunk-SSE5CXYL.js.map → chunk-6DIVEA5W.js.map} +1 -1
- package/dist/chunks/{chunk-P2Y3IUE6.js → chunk-6GYORUQC.js} +12 -12
- package/dist/chunks/{chunk-PQTS7XQB.js → chunk-6IKRSJZD.js} +12 -12
- package/dist/chunks/{chunk-BWI7L43E.js → chunk-6RZHAFXK.js} +6 -6
- package/dist/chunks/chunk-6ULKBT6P.js +83 -0
- package/dist/chunks/chunk-6ULKBT6P.js.map +6 -0
- package/dist/chunks/{chunk-Q7ELMF4C.js → chunk-72B3BK3S.js} +6 -6
- package/dist/chunks/{chunk-EVRWBRUB.js → chunk-7OGCV6CD.js} +2 -2
- package/dist/chunks/{chunk-POKKY7MR.js → chunk-7W4SPINO.js} +5 -5
- package/dist/chunks/{chunk-NFATUZMX.js → chunk-7YVCP6TP.js} +2 -2
- package/dist/chunks/{chunk-G742EI3J.js → chunk-ACDJPD4J.js} +83 -54
- package/dist/chunks/chunk-ACDJPD4J.js.map +6 -0
- package/dist/chunks/{chunk-2YKQMUTC.js → chunk-B7BYKKRH.js} +14 -337
- package/dist/chunks/chunk-B7BYKKRH.js.map +6 -0
- package/dist/chunks/{chunk-NS4PN3SI.js → chunk-BA34BT4O.js} +2 -2
- package/dist/chunks/{chunk-Q6DM2TVI.js → chunk-BCRSDURU.js} +2 -2
- package/dist/chunks/{chunk-2UATEMPS.js → chunk-BJKLRSSR.js} +7 -7
- package/dist/chunks/{chunk-JCLZ5HXI.js → chunk-BN5TEW6O.js} +2 -2
- package/dist/chunks/{chunk-OM3EDVLG.js → chunk-CRWKYSTS.js} +3 -3
- package/dist/chunks/{chunk-6F4PW7TF.js → chunk-D5K2HSG7.js} +5 -5
- package/dist/chunks/{chunk-L2WEBN6A.js → chunk-DH4X2E6M.js} +2 -2
- package/dist/chunks/{chunk-L2WEBN6A.js.map → chunk-DH4X2E6M.js.map} +1 -1
- package/dist/chunks/{chunk-RBH2FDM5.js → chunk-EDAXADCF.js} +3 -3
- package/dist/chunks/{chunk-7BRK6EHB.js → chunk-EEG22XMV.js} +2 -2
- package/dist/chunks/{chunk-HYPNAC4H.js → chunk-EHFPJANT.js} +3 -3
- package/dist/chunks/{chunk-GXP5BKCZ.js → chunk-FAAMBADN.js} +129 -106
- package/dist/chunks/{chunk-GXP5BKCZ.js.map → chunk-FAAMBADN.js.map} +1 -1
- package/dist/chunks/{chunk-K3UL7Z4X.js → chunk-FADVC2JQ.js} +80 -37
- package/dist/chunks/{chunk-K3UL7Z4X.js.map → chunk-FADVC2JQ.js.map} +2 -2
- package/dist/chunks/{chunk-TGPKTH2S.js → chunk-FLQZA5WL.js} +2 -2
- package/dist/chunks/{chunk-X2F5ZFBV.js → chunk-FU7GB347.js} +4 -4
- package/dist/chunks/{chunk-JU7JQ62S.js → chunk-GGAZD6ML.js} +3 -3
- package/dist/chunks/{chunk-KY2WSKNM.js → chunk-GMT73VBK.js} +2 -2
- package/dist/chunks/{chunk-QWVWGW6I.js → chunk-GXYKREW7.js} +2 -2
- package/dist/chunks/{chunk-V26FS5VG.js → chunk-HIV7GBNO.js} +11 -2
- package/dist/chunks/{chunk-V26FS5VG.js.map → chunk-HIV7GBNO.js.map} +1 -1
- package/dist/chunks/{chunk-FU776PDS.js → chunk-HWRC2KL5.js} +5 -5
- package/dist/chunks/{chunk-6OWRRNLC.js → chunk-HWZWMDMN.js} +2 -2
- package/dist/chunks/{chunk-XK26JNIF.js → chunk-I3E5SDBB.js} +6 -6
- package/dist/chunks/{chunk-XN7C5GWO.js → chunk-IKK3UQOE.js} +2 -2
- package/dist/chunks/{chunk-I6W3KJR3.js → chunk-K3W6LEIP.js} +2 -2
- package/dist/chunks/{chunk-U4YXQWPW.js → chunk-K7KQHO3W.js} +6 -6
- package/dist/chunks/{chunk-AR2GPJUO.js → chunk-KFN6CSN2.js} +3 -68
- package/dist/chunks/chunk-KFN6CSN2.js.map +6 -0
- package/dist/chunks/{chunk-PCWQ3ET3.js → chunk-LV6FQJHS.js} +4 -4
- package/dist/chunks/{chunk-T3NLKQO2.js → chunk-LVIYX25W.js} +4 -4
- package/dist/chunks/{chunk-F4B77QJQ.js → chunk-M33ZJVMX.js} +3 -3
- package/dist/chunks/{chunk-B7QEQ7Y3.js → chunk-MKLTHECQ.js} +2 -2
- package/dist/chunks/{chunk-F2QERXWD.js → chunk-MVYLBP2M.js} +10 -10
- package/dist/chunks/{chunk-Q3AB63M5.js → chunk-MXXIXVYX.js} +24 -12
- package/dist/chunks/{chunk-Q3AB63M5.js.map → chunk-MXXIXVYX.js.map} +2 -2
- package/dist/chunks/{chunk-XSAEGHPS.js → chunk-NQDPAMNA.js} +9 -9
- package/dist/chunks/{chunk-O7H4QZ7I.js → chunk-NRKOU2PC.js} +2 -2
- package/dist/chunks/{chunk-GXQ4G3KA.js → chunk-NS5UHMLA.js} +3 -3
- package/dist/chunks/{chunk-5OGY4CE7.js → chunk-NYTO4KXS.js} +2 -2
- package/dist/chunks/{chunk-ZB45QDNU.js → chunk-O6EAXTVH.js} +3 -3
- package/dist/chunks/{chunk-WNOB6C62.js → chunk-PAWGQZAW.js} +2 -2
- package/dist/chunks/{chunk-6LMIJ2YT.js → chunk-PBU6HAWN.js} +8 -8
- package/dist/chunks/{chunk-IFXYNA2K.js → chunk-PSRJQ7V6.js} +3 -3
- package/dist/chunks/chunk-QLDUL46Z.js +338 -0
- package/dist/chunks/chunk-QLDUL46Z.js.map +6 -0
- package/dist/chunks/{chunk-5VBA5XSC.js → chunk-QU7FKI2J.js} +2 -2
- package/dist/chunks/{chunk-S7WRWA25.js → chunk-RI2KAZJO.js} +2 -2
- package/dist/chunks/{chunk-S7WRWA25.js.map → chunk-RI2KAZJO.js.map} +1 -1
- package/dist/chunks/{chunk-H2RDYYTB.js → chunk-S34KVZZT.js} +2 -2
- package/dist/chunks/{chunk-H5H6HDRA.js → chunk-S3DSUD7H.js} +3 -3
- package/dist/chunks/{chunk-5DFBOMTX.js → chunk-T33MN3DE.js} +3 -3
- package/dist/chunks/{chunk-PFFQOCEI.js → chunk-THZVC2RU.js} +2 -2
- package/dist/chunks/{chunk-IFEBBQ2M.js → chunk-UOJPF6B4.js} +3 -3
- package/dist/chunks/{chunk-IPVDXTWF.js → chunk-UQJSWYXI.js} +2 -2
- package/dist/chunks/{chunk-V3R3MR7F.js → chunk-USYZCOWI.js} +4 -4
- package/dist/chunks/{chunk-5W7CSQXQ.js → chunk-UVPKVX7S.js} +4 -4
- package/dist/chunks/{chunk-OXM3GHWE.js → chunk-UXKEO43V.js} +19 -15
- package/dist/chunks/chunk-UXKEO43V.js.map +6 -0
- package/dist/chunks/chunk-V45XJDX3.js +176 -0
- package/dist/chunks/chunk-V45XJDX3.js.map +6 -0
- package/dist/chunks/{chunk-4HL5LUP5.js → chunk-VGLTZY7A.js} +1096 -642
- package/dist/chunks/chunk-VGLTZY7A.js.map +6 -0
- package/dist/chunks/{chunk-VPJG7NQL.js → chunk-W7YNWEPA.js} +2 -2
- package/dist/chunks/{chunk-NGMXEU2B.js → chunk-WQJ4VBBH.js} +2 -2
- package/dist/chunks/{chunk-U4ZP2JN2.js → chunk-WUMLVV7Q.js} +4 -4
- package/dist/chunks/{chunk-W7XKWKEZ.js → chunk-XE4RMHJI.js} +2 -2
- package/dist/chunks/{chunk-NCW3WBBI.js → chunk-XKZTXW3A.js} +4 -4
- package/dist/chunks/{chunk-OMRGJSUJ.js → chunk-XLBVOLB5.js} +91 -100
- package/dist/chunks/chunk-XLBVOLB5.js.map +6 -0
- package/dist/chunks/{chunk-TOJSNO4M.js → chunk-XS6IOLUS.js} +5 -5
- package/dist/chunks/{chunk-7HNWFGWD.js → chunk-Y4ZZZQ7V.js} +2 -2
- package/dist/chunks/{chunk-D7BXM6WW.js → chunk-YGCXTFUS.js} +2 -2
- package/dist/chunks/{chunk-BDHXJ7BM.js → chunk-Z5L5BGQH.js} +4 -2
- package/dist/chunks/chunk-Z5L5BGQH.js.map +6 -0
- package/dist/chunks/{cli-runtime-OBTTHZZI.js → cli-runtime-SX3OXB7S.js} +12 -11
- package/dist/chunks/cli-runtime-SX3OXB7S.js.map +6 -0
- package/dist/chunks/{commands-56WUDKVN.js → commands-NL3MWKEZ.js} +5 -5
- package/dist/chunks/{crash-report-3IE2RFYG.js → crash-report-JVCF24WM.js} +6 -6
- package/dist/chunks/{dist-BLCQRSQS.js → dist-663JGNNO.js} +2 -2
- package/dist/chunks/{dist-L757TGUH.js → dist-7FHKFZWJ.js} +2 -2
- package/dist/chunks/{dist-7UW2VLWO.js → dist-7Z3LCNPK.js} +2 -2
- package/dist/chunks/{dist-Y6IO47UU.js → dist-AC7IAQ22.js} +2 -2
- package/dist/chunks/{dist-SEXSU4PO.js → dist-IB62FDT7.js} +2 -2
- package/dist/chunks/{dist-BLC5XSXL.js → dist-JEF2TWFB.js} +2 -2
- package/dist/chunks/{dist-QZPA2XDK.js → dist-RICAGJLB.js} +24 -2
- package/dist/chunks/{dist-GUHZ3EE6.js → dist-TQZS3NMV.js} +2 -2
- package/dist/chunks/{doctor-QGFOTR5H.js → doctor-QNEVNEWM.js} +16 -16
- package/dist/chunks/{drain-5WSM4MTM.js → drain-RMVRJ3ZH.js} +10 -10
- package/dist/chunks/{entry-HLIJKK65.js → entry-Z2QTPFTK.js} +27 -21
- package/dist/chunks/{entry-HLIJKK65.js.map → entry-Z2QTPFTK.js.map} +1 -1
- package/dist/chunks/{eval-5ZIBALCB.js → eval-R6XNQB7S.js} +2 -2
- package/dist/chunks/{exec-7YEZ64T4.js → exec-KGXLOANS.js} +38 -35
- package/dist/chunks/exec-KGXLOANS.js.map +6 -0
- package/dist/chunks/{home-DXPCVXZK.js → home-MG5XGCBL.js} +3 -3
- package/dist/chunks/host-Q4VEV5LF.js +30 -0
- package/dist/chunks/{host-queries-7CSOWEPE.js → host-queries-6PVXVD67.js} +16 -16
- package/dist/chunks/{learn-NNBHDBLF.js → learn-QEJFA6JU.js} +13 -13
- package/dist/chunks/{learn-builtin-YEDJT6ZP.js → learn-builtin-5I4QOYGH.js} +16 -16
- package/dist/chunks/{lifecycle-NDR7R22S.js → lifecycle-MOIUIQAH.js} +31 -30
- package/dist/chunks/{list-GIP6KAYZ.js → list-EWRMBRFM.js} +12 -11
- package/dist/chunks/list-EWRMBRFM.js.map +6 -0
- package/dist/chunks/{live-FJISKPXJ.js → live-IOPYPFSM.js} +15 -15
- package/dist/chunks/{login-42ZPPMYK.js → login-CO4ONVID.js} +13 -13
- package/dist/chunks/{logs-7MAFXNFR.js → logs-7TJCQWWC.js} +4 -4
- package/dist/chunks/{mcp-EBVO25Q2.js → mcp-AGC6CKVF.js} +22 -21
- package/dist/chunks/mcp-AGC6CKVF.js.map +6 -0
- package/dist/chunks/{message-command-YIHQF33L.js → message-command-YABOALYQ.js} +46 -44
- package/dist/chunks/message-command-YABOALYQ.js.map +6 -0
- package/dist/chunks/{mouse-WFSJSLQD.js → mouse-EJQML44I.js} +2 -2
- package/dist/chunks/{open-3I5NZTSX.js → open-EOD6CNU3.js} +8 -8
- package/dist/chunks/{operator-tools-PK2WYSF3.js → operator-tools-PKBH2QBO.js} +14 -14
- package/dist/chunks/{output-schema-2UJ7LOOX.js → output-schema-AWMLT4WM.js} +3 -3
- package/dist/chunks/{pal-IOPI5RKZ.js → pal-5YHCJ2JR.js} +16 -16
- package/dist/chunks/{palette-WDPS7W6Q.js → palette-CL5OOYGK.js} +10 -4
- package/dist/chunks/{peers-MZD3KTZK.js → peers-Z3T7RTVH.js} +6 -6
- package/dist/chunks/{plain-report-IOYN4O6N.js → plain-report-XVPBQDLE.js} +2 -2
- package/dist/chunks/{prefix-MLAG4KTK.js → prefix-3ZNPUSUK.js} +2 -2
- package/dist/chunks/{providers-SI467SWN.js → providers-N664Y22F.js} +11 -11
- package/dist/chunks/{pty-T5LBAATA.js → pty-ETJLWVJ3.js} +3 -3
- package/dist/chunks/{resident-DDGJ2IWB.js → resident-LZELYADV.js} +26 -25
- package/dist/chunks/resident-LZELYADV.js.map +6 -0
- package/dist/chunks/resume-HXLVD3CA.js +24 -0
- package/dist/chunks/{resume-command-V6ZKY7J6.js → resume-command-DTBT3HAZ.js} +4 -4
- package/dist/chunks/{schedule-GSNY74KJ.js → schedule-CJHDXOBP.js} +8 -8
- package/dist/chunks/{service-MH57P24N.js → service-G3C3P3OH.js} +30 -29
- package/dist/chunks/service-G3C3P3OH.js.map +6 -0
- package/dist/chunks/{session-step-D4AT5RZR.js → session-step-Y5MB3PC3.js} +15 -15
- package/dist/chunks/{skills-QARQHL6M.js → skills-A43CBSME.js} +8 -8
- package/dist/chunks/{start-check-2EP7HZTU.js → start-check-YM6MB74I.js} +2 -2
- package/dist/chunks/startup-failure-BRK5RHPG.js +27 -0
- package/dist/chunks/startup-failure-BRK5RHPG.js.map +6 -0
- package/dist/chunks/{state-ADQWQEYB.js → state-CEVBX4RS.js} +2 -2
- package/dist/chunks/{store-TFJ73ZAM.js → store-22ERCOCX.js} +4 -4
- package/dist/chunks/store-76EY6ETT.js +21 -0
- package/dist/chunks/{store-RF6D7U2T.js → store-IHGR6SBK.js} +6 -6
- package/dist/chunks/{store-KOGQWG66.js → store-M4T7Y6I3.js} +11 -11
- package/dist/chunks/{tui-5HAU6RLS.js → tui-VBX3GXNF.js} +435 -168
- package/dist/chunks/tui-VBX3GXNF.js.map +6 -0
- package/dist/chunks/{upgrade-ARBZZZRK.js → upgrade-V6M7ZTO4.js} +8 -9
- package/dist/chunks/upgrade-V6M7ZTO4.js.map +6 -0
- package/dist/chunks/{spaces-JVPRV4YM.js → workspaces-6RCDMD75.js} +79 -53
- package/dist/chunks/workspaces-6RCDMD75.js.map +6 -0
- package/dist/chunks/{worktree-5M2XFFJT.js → worktree-BJWETVLX.js} +13 -13
- package/dist/cli.d.ts.map +1 -1
- package/dist/commands/manifest.d.ts +1 -1
- package/dist/commands/manifest.d.ts.map +1 -1
- package/dist/commands/upgrade.d.ts.map +1 -1
- package/dist/commands/workspaces.d.ts +49 -0
- package/dist/commands/workspaces.d.ts.map +1 -0
- package/dist/config/load.d.ts.map +1 -1
- package/dist/config/schema.d.ts +8 -3
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/context/environment.d.ts +9 -1
- package/dist/context/environment.d.ts.map +1 -1
- package/dist/doctor/checks/runtime.d.ts +1 -1
- package/dist/doctor/checks/runtime.d.ts.map +1 -1
- package/dist/doctor/checks/terminal.d.ts +1 -1
- package/dist/doctor/checks/terminal.d.ts.map +1 -1
- package/dist/index.js +21 -20
- package/dist/integrations/accounts/host-facts.d.ts +1 -1
- package/dist/integrations/peers/runtime.d.ts +1 -1
- package/dist/integrations/peers/runtime.d.ts.map +1 -1
- package/dist/integrations/resident/runner-worker.js +21 -21
- package/dist/reminders/environment.d.ts +1 -1
- package/dist/reminders/environment.d.ts.map +1 -1
- package/dist/reminders/index.d.ts +1 -1
- package/dist/reminders/index.d.ts.map +1 -1
- package/dist/rounds/types.d.ts +6 -0
- package/dist/rounds/types.d.ts.map +1 -1
- package/dist/startup-failure.d.ts +12 -0
- package/dist/startup-failure.d.ts.map +1 -0
- package/dist/tui/App.d.ts +19 -7
- package/dist/tui/App.d.ts.map +1 -1
- package/dist/tui/Composer.d.ts +10 -4
- package/dist/tui/Composer.d.ts.map +1 -1
- package/dist/tui/agent.d.ts +17 -0
- package/dist/tui/agent.d.ts.map +1 -1
- package/dist/tui/capability-notice.d.ts +7 -0
- package/dist/tui/capability-notice.d.ts.map +1 -1
- package/dist/tui/external-editor.d.ts.map +1 -1
- package/dist/tui/index.d.ts.map +1 -1
- package/dist/tui/live-model-step.d.ts +16 -0
- package/dist/tui/live-model-step.d.ts.map +1 -0
- package/dist/tui/model-refusal.d.ts +2 -0
- package/dist/tui/model-refusal.d.ts.map +1 -1
- package/dist/tui/slashCommands.d.ts +22 -0
- package/dist/tui/slashCommands.d.ts.map +1 -1
- package/dist/tui/zoom/entry.d.ts +6 -6
- package/dist/tui/zoom/entry.d.ts.map +1 -1
- package/dist/tui/zoom/gesture.d.ts +2 -2
- package/dist/tui/zoom/gesture.d.ts.map +1 -1
- package/dist/tui/zoom/leave.d.ts +2 -2
- package/dist/tui/zoom/leave.d.ts.map +1 -1
- package/dist/tui/zoom/local.d.ts +3 -3
- package/dist/tui/zoom/local.d.ts.map +1 -1
- package/dist/{spaces → workspaces}/git.d.ts +1 -1
- package/dist/workspaces/git.d.ts.map +1 -0
- package/dist/{spaces → workspaces}/goto.d.ts +7 -7
- package/dist/workspaces/goto.d.ts.map +1 -0
- package/dist/{spaces → workspaces}/host.d.ts +61 -52
- package/dist/workspaces/host.d.ts.map +1 -0
- package/dist/{spaces → workspaces}/input.d.ts +1 -1
- package/dist/workspaces/input.d.ts.map +1 -0
- package/dist/{spaces → workspaces}/keymap.d.ts +2 -2
- package/dist/workspaces/keymap.d.ts.map +1 -0
- package/dist/{spaces → workspaces}/layout.d.ts +6 -4
- package/dist/workspaces/layout.d.ts.map +1 -0
- package/dist/{spaces → workspaces}/mouse.d.ts +2 -2
- package/dist/workspaces/mouse.d.ts.map +1 -0
- package/dist/{spaces → workspaces}/overlay.d.ts +0 -1
- package/dist/workspaces/overlay.d.ts.map +1 -0
- package/dist/workspaces/palette.d.ts +75 -0
- package/dist/workspaces/palette.d.ts.map +1 -0
- package/dist/workspaces/peers.d.ts.map +1 -0
- package/dist/{spaces → workspaces}/prefix.d.ts +1 -1
- package/dist/workspaces/prefix.d.ts.map +1 -0
- package/dist/{spaces → workspaces}/roster.d.ts +22 -22
- package/dist/workspaces/roster.d.ts.map +1 -0
- package/dist/workspaces/selection.d.ts.map +1 -0
- package/dist/{spaces → workspaces}/session.d.ts +1 -1
- package/dist/workspaces/session.d.ts.map +1 -0
- package/dist/{spaces → workspaces}/sidebar.d.ts +17 -17
- package/dist/workspaces/sidebar.d.ts.map +1 -0
- package/dist/{spaces → workspaces}/signal.d.ts +5 -3
- package/dist/workspaces/signal.d.ts.map +1 -0
- package/dist/{spaces → workspaces}/status.d.ts +2 -2
- package/dist/workspaces/status.d.ts.map +1 -0
- package/dist/{spaces → workspaces}/store.d.ts +25 -14
- package/dist/workspaces/store.d.ts.map +1 -0
- package/dist/workspaces/tabbar.d.ts +54 -0
- package/dist/workspaces/tabbar.d.ts.map +1 -0
- package/dist/{spaces → workspaces}/tiling.d.ts +7 -4
- package/dist/workspaces/tiling.d.ts.map +1 -0
- package/package.json +3 -3
- package/dist/chunks/acp-CGGPX6FV.js.map +0 -6
- package/dist/chunks/add-7F26IYNU.js.map +0 -6
- package/dist/chunks/agent-session-SYLDVKFJ.js +0 -69
- package/dist/chunks/bin-main-NID46PS7.js.map +0 -6
- package/dist/chunks/chunk-2YKQMUTC.js.map +0 -6
- package/dist/chunks/chunk-4HL5LUP5.js.map +0 -6
- package/dist/chunks/chunk-AR2GPJUO.js.map +0 -6
- package/dist/chunks/chunk-BDHXJ7BM.js.map +0 -6
- package/dist/chunks/chunk-EXFSMYH4.js +0 -83
- package/dist/chunks/chunk-EXFSMYH4.js.map +0 -6
- package/dist/chunks/chunk-G742EI3J.js.map +0 -6
- package/dist/chunks/chunk-OMRGJSUJ.js.map +0 -6
- package/dist/chunks/chunk-OXM3GHWE.js.map +0 -6
- package/dist/chunks/chunk-OYX743QK.js.map +0 -6
- package/dist/chunks/cli-runtime-OBTTHZZI.js.map +0 -6
- package/dist/chunks/exec-7YEZ64T4.js.map +0 -6
- package/dist/chunks/host-663JLCCW.js +0 -28
- package/dist/chunks/list-GIP6KAYZ.js.map +0 -6
- package/dist/chunks/mcp-EBVO25Q2.js.map +0 -6
- package/dist/chunks/message-command-YIHQF33L.js.map +0 -6
- package/dist/chunks/resident-DDGJ2IWB.js.map +0 -6
- package/dist/chunks/resume-GPXJJXCK.js +0 -24
- package/dist/chunks/service-MH57P24N.js.map +0 -6
- package/dist/chunks/spaces-JVPRV4YM.js.map +0 -6
- package/dist/chunks/store-IRKBQZNF.js +0 -17
- package/dist/chunks/tui-5HAU6RLS.js.map +0 -6
- package/dist/chunks/upgrade-ARBZZZRK.js.map +0 -6
- package/dist/commands/spaces.d.ts +0 -46
- package/dist/commands/spaces.d.ts.map +0 -1
- package/dist/spaces/git.d.ts.map +0 -1
- package/dist/spaces/goto.d.ts.map +0 -1
- package/dist/spaces/host.d.ts.map +0 -1
- package/dist/spaces/input.d.ts.map +0 -1
- package/dist/spaces/keymap.d.ts.map +0 -1
- package/dist/spaces/layout.d.ts.map +0 -1
- package/dist/spaces/mouse.d.ts.map +0 -1
- package/dist/spaces/overlay.d.ts.map +0 -1
- package/dist/spaces/palette.d.ts +0 -35
- package/dist/spaces/palette.d.ts.map +0 -1
- package/dist/spaces/peers.d.ts.map +0 -1
- package/dist/spaces/prefix.d.ts.map +0 -1
- package/dist/spaces/roster.d.ts.map +0 -1
- package/dist/spaces/selection.d.ts.map +0 -1
- package/dist/spaces/session.d.ts.map +0 -1
- package/dist/spaces/sidebar.d.ts.map +0 -1
- package/dist/spaces/signal.d.ts.map +0 -1
- package/dist/spaces/status.d.ts.map +0 -1
- package/dist/spaces/store.d.ts.map +0 -1
- package/dist/spaces/tabbar.d.ts +0 -36
- package/dist/spaces/tabbar.d.ts.map +0 -1
- package/dist/spaces/tiling.d.ts.map +0 -1
- /package/dist/chunks/{activity-command-D744W6SC.js.map → activity-command-UOPJG7HV.js.map} +0 -0
- /package/dist/chunks/{agent-42PYZGA5.js.map → agent-LCIH3SLO.js.map} +0 -0
- /package/dist/chunks/{agent-session-SYLDVKFJ.js.map → agent-session-LUGICAIR.js.map} +0 -0
- /package/dist/chunks/{archive-FLZUJDJZ.js.map → archive-7WVQ537T.js.map} +0 -0
- /package/dist/chunks/{binding-JQUI2CTZ.js.map → binding-XVFMQCFN.js.map} +0 -0
- /package/dist/chunks/{browser-YZCY2CI6.js.map → browser-4PRGERNN.js.map} +0 -0
- /package/dist/chunks/{chat-WBJPS4K6.js.map → chat-X5MYAPDS.js.map} +0 -0
- /package/dist/chunks/{chunk-HIJXUSOS.js.map → chunk-25KCA24W.js.map} +0 -0
- /package/dist/chunks/{chunk-LQN7NG2F.js.map → chunk-2GW4CKCP.js.map} +0 -0
- /package/dist/chunks/{chunk-RPCJJZTI.js.map → chunk-3DV5GOM2.js.map} +0 -0
- /package/dist/chunks/{chunk-NZ6DX5CL.js.map → chunk-3KFDEYQO.js.map} +0 -0
- /package/dist/chunks/{chunk-QXNROEIH.js.map → chunk-5EAN453D.js.map} +0 -0
- /package/dist/chunks/{chunk-IZDYKTPN.js.map → chunk-5OLWLGSL.js.map} +0 -0
- /package/dist/chunks/{chunk-PAY5TGHV.js.map → chunk-5QA7PV3Q.js.map} +0 -0
- /package/dist/chunks/{chunk-LMVXENEF.js.map → chunk-5UPGCZZI.js.map} +0 -0
- /package/dist/chunks/{chunk-24NEAMG5.js.map → chunk-6C7LQMXN.js.map} +0 -0
- /package/dist/chunks/{chunk-P2Y3IUE6.js.map → chunk-6GYORUQC.js.map} +0 -0
- /package/dist/chunks/{chunk-PQTS7XQB.js.map → chunk-6IKRSJZD.js.map} +0 -0
- /package/dist/chunks/{chunk-BWI7L43E.js.map → chunk-6RZHAFXK.js.map} +0 -0
- /package/dist/chunks/{chunk-Q7ELMF4C.js.map → chunk-72B3BK3S.js.map} +0 -0
- /package/dist/chunks/{chunk-EVRWBRUB.js.map → chunk-7OGCV6CD.js.map} +0 -0
- /package/dist/chunks/{chunk-POKKY7MR.js.map → chunk-7W4SPINO.js.map} +0 -0
- /package/dist/chunks/{chunk-NFATUZMX.js.map → chunk-7YVCP6TP.js.map} +0 -0
- /package/dist/chunks/{chunk-NS4PN3SI.js.map → chunk-BA34BT4O.js.map} +0 -0
- /package/dist/chunks/{chunk-Q6DM2TVI.js.map → chunk-BCRSDURU.js.map} +0 -0
- /package/dist/chunks/{chunk-2UATEMPS.js.map → chunk-BJKLRSSR.js.map} +0 -0
- /package/dist/chunks/{chunk-JCLZ5HXI.js.map → chunk-BN5TEW6O.js.map} +0 -0
- /package/dist/chunks/{chunk-OM3EDVLG.js.map → chunk-CRWKYSTS.js.map} +0 -0
- /package/dist/chunks/{chunk-6F4PW7TF.js.map → chunk-D5K2HSG7.js.map} +0 -0
- /package/dist/chunks/{chunk-RBH2FDM5.js.map → chunk-EDAXADCF.js.map} +0 -0
- /package/dist/chunks/{chunk-7BRK6EHB.js.map → chunk-EEG22XMV.js.map} +0 -0
- /package/dist/chunks/{chunk-HYPNAC4H.js.map → chunk-EHFPJANT.js.map} +0 -0
- /package/dist/chunks/{chunk-TGPKTH2S.js.map → chunk-FLQZA5WL.js.map} +0 -0
- /package/dist/chunks/{chunk-X2F5ZFBV.js.map → chunk-FU7GB347.js.map} +0 -0
- /package/dist/chunks/{chunk-JU7JQ62S.js.map → chunk-GGAZD6ML.js.map} +0 -0
- /package/dist/chunks/{chunk-KY2WSKNM.js.map → chunk-GMT73VBK.js.map} +0 -0
- /package/dist/chunks/{chunk-QWVWGW6I.js.map → chunk-GXYKREW7.js.map} +0 -0
- /package/dist/chunks/{chunk-FU776PDS.js.map → chunk-HWRC2KL5.js.map} +0 -0
- /package/dist/chunks/{chunk-6OWRRNLC.js.map → chunk-HWZWMDMN.js.map} +0 -0
- /package/dist/chunks/{chunk-XK26JNIF.js.map → chunk-I3E5SDBB.js.map} +0 -0
- /package/dist/chunks/{chunk-XN7C5GWO.js.map → chunk-IKK3UQOE.js.map} +0 -0
- /package/dist/chunks/{chunk-I6W3KJR3.js.map → chunk-K3W6LEIP.js.map} +0 -0
- /package/dist/chunks/{chunk-U4YXQWPW.js.map → chunk-K7KQHO3W.js.map} +0 -0
- /package/dist/chunks/{chunk-PCWQ3ET3.js.map → chunk-LV6FQJHS.js.map} +0 -0
- /package/dist/chunks/{chunk-T3NLKQO2.js.map → chunk-LVIYX25W.js.map} +0 -0
- /package/dist/chunks/{chunk-F4B77QJQ.js.map → chunk-M33ZJVMX.js.map} +0 -0
- /package/dist/chunks/{chunk-B7QEQ7Y3.js.map → chunk-MKLTHECQ.js.map} +0 -0
- /package/dist/chunks/{chunk-F2QERXWD.js.map → chunk-MVYLBP2M.js.map} +0 -0
- /package/dist/chunks/{chunk-XSAEGHPS.js.map → chunk-NQDPAMNA.js.map} +0 -0
- /package/dist/chunks/{chunk-O7H4QZ7I.js.map → chunk-NRKOU2PC.js.map} +0 -0
- /package/dist/chunks/{chunk-GXQ4G3KA.js.map → chunk-NS5UHMLA.js.map} +0 -0
- /package/dist/chunks/{chunk-5OGY4CE7.js.map → chunk-NYTO4KXS.js.map} +0 -0
- /package/dist/chunks/{chunk-ZB45QDNU.js.map → chunk-O6EAXTVH.js.map} +0 -0
- /package/dist/chunks/{chunk-WNOB6C62.js.map → chunk-PAWGQZAW.js.map} +0 -0
- /package/dist/chunks/{chunk-6LMIJ2YT.js.map → chunk-PBU6HAWN.js.map} +0 -0
- /package/dist/chunks/{chunk-IFXYNA2K.js.map → chunk-PSRJQ7V6.js.map} +0 -0
- /package/dist/chunks/{chunk-5VBA5XSC.js.map → chunk-QU7FKI2J.js.map} +0 -0
- /package/dist/chunks/{chunk-H2RDYYTB.js.map → chunk-S34KVZZT.js.map} +0 -0
- /package/dist/chunks/{chunk-H5H6HDRA.js.map → chunk-S3DSUD7H.js.map} +0 -0
- /package/dist/chunks/{chunk-5DFBOMTX.js.map → chunk-T33MN3DE.js.map} +0 -0
- /package/dist/chunks/{chunk-PFFQOCEI.js.map → chunk-THZVC2RU.js.map} +0 -0
- /package/dist/chunks/{chunk-IFEBBQ2M.js.map → chunk-UOJPF6B4.js.map} +0 -0
- /package/dist/chunks/{chunk-IPVDXTWF.js.map → chunk-UQJSWYXI.js.map} +0 -0
- /package/dist/chunks/{chunk-V3R3MR7F.js.map → chunk-USYZCOWI.js.map} +0 -0
- /package/dist/chunks/{chunk-5W7CSQXQ.js.map → chunk-UVPKVX7S.js.map} +0 -0
- /package/dist/chunks/{chunk-VPJG7NQL.js.map → chunk-W7YNWEPA.js.map} +0 -0
- /package/dist/chunks/{chunk-NGMXEU2B.js.map → chunk-WQJ4VBBH.js.map} +0 -0
- /package/dist/chunks/{chunk-U4ZP2JN2.js.map → chunk-WUMLVV7Q.js.map} +0 -0
- /package/dist/chunks/{chunk-W7XKWKEZ.js.map → chunk-XE4RMHJI.js.map} +0 -0
- /package/dist/chunks/{chunk-NCW3WBBI.js.map → chunk-XKZTXW3A.js.map} +0 -0
- /package/dist/chunks/{chunk-TOJSNO4M.js.map → chunk-XS6IOLUS.js.map} +0 -0
- /package/dist/chunks/{chunk-7HNWFGWD.js.map → chunk-Y4ZZZQ7V.js.map} +0 -0
- /package/dist/chunks/{chunk-D7BXM6WW.js.map → chunk-YGCXTFUS.js.map} +0 -0
- /package/dist/chunks/{commands-56WUDKVN.js.map → commands-NL3MWKEZ.js.map} +0 -0
- /package/dist/chunks/{crash-report-3IE2RFYG.js.map → crash-report-JVCF24WM.js.map} +0 -0
- /package/dist/chunks/{dist-BLCQRSQS.js.map → dist-663JGNNO.js.map} +0 -0
- /package/dist/chunks/{dist-L757TGUH.js.map → dist-7FHKFZWJ.js.map} +0 -0
- /package/dist/chunks/{dist-7UW2VLWO.js.map → dist-7Z3LCNPK.js.map} +0 -0
- /package/dist/chunks/{dist-Y6IO47UU.js.map → dist-AC7IAQ22.js.map} +0 -0
- /package/dist/chunks/{dist-SEXSU4PO.js.map → dist-IB62FDT7.js.map} +0 -0
- /package/dist/chunks/{dist-BLC5XSXL.js.map → dist-JEF2TWFB.js.map} +0 -0
- /package/dist/chunks/{dist-QZPA2XDK.js.map → dist-RICAGJLB.js.map} +0 -0
- /package/dist/chunks/{dist-GUHZ3EE6.js.map → dist-TQZS3NMV.js.map} +0 -0
- /package/dist/chunks/{doctor-QGFOTR5H.js.map → doctor-QNEVNEWM.js.map} +0 -0
- /package/dist/chunks/{drain-5WSM4MTM.js.map → drain-RMVRJ3ZH.js.map} +0 -0
- /package/dist/chunks/{eval-5ZIBALCB.js.map → eval-R6XNQB7S.js.map} +0 -0
- /package/dist/chunks/{home-DXPCVXZK.js.map → home-MG5XGCBL.js.map} +0 -0
- /package/dist/chunks/{host-663JLCCW.js.map → host-Q4VEV5LF.js.map} +0 -0
- /package/dist/chunks/{host-queries-7CSOWEPE.js.map → host-queries-6PVXVD67.js.map} +0 -0
- /package/dist/chunks/{learn-NNBHDBLF.js.map → learn-QEJFA6JU.js.map} +0 -0
- /package/dist/chunks/{learn-builtin-YEDJT6ZP.js.map → learn-builtin-5I4QOYGH.js.map} +0 -0
- /package/dist/chunks/{lifecycle-NDR7R22S.js.map → lifecycle-MOIUIQAH.js.map} +0 -0
- /package/dist/chunks/{live-FJISKPXJ.js.map → live-IOPYPFSM.js.map} +0 -0
- /package/dist/chunks/{login-42ZPPMYK.js.map → login-CO4ONVID.js.map} +0 -0
- /package/dist/chunks/{logs-7MAFXNFR.js.map → logs-7TJCQWWC.js.map} +0 -0
- /package/dist/chunks/{mouse-WFSJSLQD.js.map → mouse-EJQML44I.js.map} +0 -0
- /package/dist/chunks/{open-3I5NZTSX.js.map → open-EOD6CNU3.js.map} +0 -0
- /package/dist/chunks/{operator-tools-PK2WYSF3.js.map → operator-tools-PKBH2QBO.js.map} +0 -0
- /package/dist/chunks/{output-schema-2UJ7LOOX.js.map → output-schema-AWMLT4WM.js.map} +0 -0
- /package/dist/chunks/{pal-IOPI5RKZ.js.map → pal-5YHCJ2JR.js.map} +0 -0
- /package/dist/chunks/{palette-WDPS7W6Q.js.map → palette-CL5OOYGK.js.map} +0 -0
- /package/dist/chunks/{peers-MZD3KTZK.js.map → peers-Z3T7RTVH.js.map} +0 -0
- /package/dist/chunks/{plain-report-IOYN4O6N.js.map → plain-report-XVPBQDLE.js.map} +0 -0
- /package/dist/chunks/{prefix-MLAG4KTK.js.map → prefix-3ZNPUSUK.js.map} +0 -0
- /package/dist/chunks/{providers-SI467SWN.js.map → providers-N664Y22F.js.map} +0 -0
- /package/dist/chunks/{pty-T5LBAATA.js.map → pty-ETJLWVJ3.js.map} +0 -0
- /package/dist/chunks/{resume-GPXJJXCK.js.map → resume-HXLVD3CA.js.map} +0 -0
- /package/dist/chunks/{resume-command-V6ZKY7J6.js.map → resume-command-DTBT3HAZ.js.map} +0 -0
- /package/dist/chunks/{schedule-GSNY74KJ.js.map → schedule-CJHDXOBP.js.map} +0 -0
- /package/dist/chunks/{session-step-D4AT5RZR.js.map → session-step-Y5MB3PC3.js.map} +0 -0
- /package/dist/chunks/{skills-QARQHL6M.js.map → skills-A43CBSME.js.map} +0 -0
- /package/dist/chunks/{start-check-2EP7HZTU.js.map → start-check-YM6MB74I.js.map} +0 -0
- /package/dist/chunks/{state-ADQWQEYB.js.map → state-CEVBX4RS.js.map} +0 -0
- /package/dist/chunks/{store-IRKBQZNF.js.map → store-22ERCOCX.js.map} +0 -0
- /package/dist/chunks/{store-KOGQWG66.js.map → store-76EY6ETT.js.map} +0 -0
- /package/dist/chunks/{store-RF6D7U2T.js.map → store-IHGR6SBK.js.map} +0 -0
- /package/dist/chunks/{store-TFJ73ZAM.js.map → store-M4T7Y6I3.js.map} +0 -0
- /package/dist/chunks/{worktree-5M2XFFJT.js.map → worktree-BJWETVLX.js.map} +0 -0
- /package/dist/{spaces → workspaces}/peers.d.ts +0 -0
- /package/dist/{spaces → workspaces}/selection.d.ts +0 -0
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
confirmationView,
|
|
12
12
|
describeChanges,
|
|
13
13
|
permissionsChanged
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-QU7FKI2J.js";
|
|
15
15
|
import {
|
|
16
16
|
visibleScheduleMessage
|
|
17
17
|
} from "./chunk-NADQQMMG.js";
|
|
@@ -19,7 +19,6 @@ import {
|
|
|
19
19
|
TURN_LIMIT_FIELDS,
|
|
20
20
|
ThemeEpochContext,
|
|
21
21
|
argumentHintFor,
|
|
22
|
-
backgroundFromColorFgBg,
|
|
23
22
|
baseBranchReviewPrompt,
|
|
24
23
|
commandPickerDescription,
|
|
25
24
|
commitReviewPrompt,
|
|
@@ -38,7 +37,6 @@ import {
|
|
|
38
37
|
parseSlash,
|
|
39
38
|
pressedKeyLabel,
|
|
40
39
|
primaryKeyLabel,
|
|
41
|
-
queryTerminalBackground,
|
|
42
40
|
reducedMotion,
|
|
43
41
|
renderContext,
|
|
44
42
|
renderOutcome,
|
|
@@ -52,20 +50,21 @@ import {
|
|
|
52
50
|
setThemePreview,
|
|
53
51
|
setThemeSetting,
|
|
54
52
|
shownTheme,
|
|
53
|
+
slashTiming,
|
|
55
54
|
toolServerRow,
|
|
56
55
|
turnLimitCommands,
|
|
57
56
|
useReducedMotion,
|
|
58
57
|
useThemeEpoch,
|
|
59
58
|
useThemeSubscription
|
|
60
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-XLBVOLB5.js";
|
|
61
60
|
import {
|
|
62
61
|
handleTerminationSignals
|
|
63
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-7YVCP6TP.js";
|
|
64
63
|
import "./chunk-R66H2G5R.js";
|
|
65
64
|
import {
|
|
66
65
|
deleteUserConfigValue,
|
|
67
66
|
setUserConfigValue
|
|
68
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-5QA7PV3Q.js";
|
|
69
68
|
import {
|
|
70
69
|
describeAllCredentialsLogout,
|
|
71
70
|
describeApiKeyLogout,
|
|
@@ -76,13 +75,13 @@ import {
|
|
|
76
75
|
} from "./chunk-MDK4RMBQ.js";
|
|
77
76
|
import {
|
|
78
77
|
reportCrash
|
|
79
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-PAWGQZAW.js";
|
|
80
79
|
import {
|
|
81
80
|
BYPASS_CONSENT_BODY,
|
|
82
81
|
BYPASS_CONSENT_TITLE,
|
|
83
82
|
acknowledgeBypass,
|
|
84
83
|
hasAcknowledgedBypass
|
|
85
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-S34KVZZT.js";
|
|
86
85
|
import {
|
|
87
86
|
applyFallbackFlag,
|
|
88
87
|
capChoiceLines,
|
|
@@ -96,12 +95,12 @@ import {
|
|
|
96
95
|
} from "./chunk-XH5YF2YX.js";
|
|
97
96
|
import {
|
|
98
97
|
settleAnsweredPark
|
|
99
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-BJKLRSSR.js";
|
|
100
99
|
import {
|
|
101
100
|
DELIVERY_READ_LIMIT,
|
|
102
101
|
readSourceDeliveryPage,
|
|
103
102
|
takeSuppressedCount
|
|
104
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-2GW4CKCP.js";
|
|
105
104
|
import {
|
|
106
105
|
callsCount
|
|
107
106
|
} from "./chunk-E5VLANCO.js";
|
|
@@ -118,46 +117,51 @@ import {
|
|
|
118
117
|
runsPerDay,
|
|
119
118
|
scriptShellUnavailableReason,
|
|
120
119
|
verifyScheduledScript
|
|
121
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-LV6FQJHS.js";
|
|
122
121
|
import {
|
|
123
122
|
allowsCommands,
|
|
124
123
|
compileJobPolicy,
|
|
125
124
|
compileScriptCheckPolicy,
|
|
126
125
|
isPresetName
|
|
127
|
-
} from "./chunk-
|
|
128
|
-
import "./chunk-
|
|
126
|
+
} from "./chunk-WUMLVV7Q.js";
|
|
127
|
+
import "./chunk-IKK3UQOE.js";
|
|
129
128
|
import {
|
|
130
129
|
formatResumeShellCommand,
|
|
131
130
|
parkedRunWords,
|
|
132
131
|
resumeCommand
|
|
133
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-MKLTHECQ.js";
|
|
134
133
|
import {
|
|
135
134
|
appendHistory,
|
|
136
135
|
nextFireOf,
|
|
137
136
|
readHistory,
|
|
138
137
|
readState
|
|
139
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-NYTO4KXS.js";
|
|
140
139
|
import {
|
|
141
140
|
callEndpoint,
|
|
142
141
|
readEndpoint
|
|
143
142
|
} from "./chunk-6YG7D7U4.js";
|
|
143
|
+
import {
|
|
144
|
+
backgroundFromColorFgBg,
|
|
145
|
+
queryTerminalBackground
|
|
146
|
+
} from "./chunk-6ULKBT6P.js";
|
|
144
147
|
import {
|
|
145
148
|
CLIPBOARD_KILL_SWITCH,
|
|
146
149
|
bypassKey,
|
|
147
150
|
createClipboardCopier,
|
|
148
151
|
describeCopy,
|
|
152
|
+
hostSlot,
|
|
149
153
|
hostedByHost,
|
|
150
|
-
|
|
151
|
-
} from "./chunk-
|
|
154
|
+
workspacesSignal
|
|
155
|
+
} from "./chunk-MXXIXVYX.js";
|
|
152
156
|
import {
|
|
153
157
|
writeLaunchMouseReset
|
|
154
|
-
} from "./chunk-
|
|
158
|
+
} from "./chunk-DH4X2E6M.js";
|
|
155
159
|
import {
|
|
156
160
|
buildPeerTools,
|
|
157
161
|
openLivePeers,
|
|
158
162
|
peerMailLabel,
|
|
159
163
|
peerMailMessage
|
|
160
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-5UPGCZZI.js";
|
|
161
165
|
import {
|
|
162
166
|
AUTO_CHOICE_ID,
|
|
163
167
|
PR_NONE,
|
|
@@ -171,25 +175,25 @@ import {
|
|
|
171
175
|
sectionHeading,
|
|
172
176
|
withAutoChoice,
|
|
173
177
|
writeConversationExport
|
|
174
|
-
} from "./chunk-
|
|
178
|
+
} from "./chunk-PSRJQ7V6.js";
|
|
175
179
|
import {
|
|
176
180
|
tuiPalDefinition,
|
|
177
181
|
tuiPalEnvironment,
|
|
178
182
|
tuiPalOwner,
|
|
179
183
|
tuiPalPreferences
|
|
180
|
-
} from "./chunk-
|
|
184
|
+
} from "./chunk-HWRC2KL5.js";
|
|
181
185
|
import {
|
|
182
186
|
isModelOnlyContext,
|
|
183
187
|
runtimeContextLabel
|
|
184
188
|
} from "./chunk-FJONRQQU.js";
|
|
185
|
-
import "./chunk-
|
|
189
|
+
import "./chunk-NS5UHMLA.js";
|
|
186
190
|
import "./chunk-ZWA2JRJV.js";
|
|
187
|
-
import "./chunk-
|
|
188
|
-
import "./chunk-
|
|
191
|
+
import "./chunk-MVYLBP2M.js";
|
|
192
|
+
import "./chunk-I3E5SDBB.js";
|
|
189
193
|
import {
|
|
190
194
|
claimPalConversation,
|
|
191
195
|
listPalConversations
|
|
192
|
-
} from "./chunk-
|
|
196
|
+
} from "./chunk-FU7GB347.js";
|
|
193
197
|
import {
|
|
194
198
|
COMPACTED_HINT,
|
|
195
199
|
COMPACTING_LABEL,
|
|
@@ -230,6 +234,7 @@ import {
|
|
|
230
234
|
describeHistoryRepairNotice,
|
|
231
235
|
describePendingWorkflowNotices,
|
|
232
236
|
describeProviderModels,
|
|
237
|
+
describeTranscriptWrites,
|
|
233
238
|
diffViewBody,
|
|
234
239
|
diffViewRows,
|
|
235
240
|
discoverAgentDefinitions,
|
|
@@ -270,12 +275,12 @@ import {
|
|
|
270
275
|
webLiveStatus,
|
|
271
276
|
webSettledLine,
|
|
272
277
|
withDebugDetail
|
|
273
|
-
} from "./chunk-
|
|
278
|
+
} from "./chunk-FADVC2JQ.js";
|
|
274
279
|
import {
|
|
275
280
|
openManagedWorktrees,
|
|
276
281
|
worktreeOpenHint
|
|
277
|
-
} from "./chunk-
|
|
278
|
-
import "./chunk-
|
|
282
|
+
} from "./chunk-5EAN453D.js";
|
|
283
|
+
import "./chunk-25KCA24W.js";
|
|
279
284
|
import {
|
|
280
285
|
SAVE_SKILL_TOOL_NAME,
|
|
281
286
|
SKILL_CREATOR_SKILL,
|
|
@@ -293,34 +298,31 @@ import {
|
|
|
293
298
|
isWorkflowRunAgent,
|
|
294
299
|
learnSkillPrompt,
|
|
295
300
|
newSkillPrompt,
|
|
296
|
-
paint,
|
|
297
301
|
resolveTurnGuards,
|
|
298
302
|
resumeCallText,
|
|
299
303
|
resumeReviewLines,
|
|
300
304
|
runTokens,
|
|
301
305
|
sandboxRunsShellUnasked,
|
|
302
|
-
settledElapsed
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
import "./chunk-HYPNAC4H.js";
|
|
307
|
-
import "./chunk-POKKY7MR.js";
|
|
306
|
+
settledElapsed
|
|
307
|
+
} from "./chunk-KFN6CSN2.js";
|
|
308
|
+
import "./chunk-EHFPJANT.js";
|
|
309
|
+
import "./chunk-7W4SPINO.js";
|
|
308
310
|
import {
|
|
309
311
|
MCP_OUTPUT_CHARS,
|
|
310
312
|
boundedMcpText,
|
|
311
313
|
validatePromptArguments
|
|
312
|
-
} from "./chunk-
|
|
314
|
+
} from "./chunk-USYZCOWI.js";
|
|
313
315
|
import {
|
|
314
316
|
openInBrowser
|
|
315
|
-
} from "./chunk-
|
|
317
|
+
} from "./chunk-YGCXTFUS.js";
|
|
316
318
|
import {
|
|
317
319
|
describePlainInterruption,
|
|
318
320
|
describeProviderWait,
|
|
319
321
|
describeProviderWaitClock,
|
|
320
322
|
isSelfMending,
|
|
321
323
|
isSpentAllowance
|
|
322
|
-
} from "./chunk-
|
|
323
|
-
import "./chunk-
|
|
324
|
+
} from "./chunk-EDAXADCF.js";
|
|
325
|
+
import "./chunk-XKZTXW3A.js";
|
|
324
326
|
import {
|
|
325
327
|
describeBrowserStatus
|
|
326
328
|
} from "./chunk-WHODOMXA.js";
|
|
@@ -332,6 +334,11 @@ import {
|
|
|
332
334
|
describeState,
|
|
333
335
|
endpointHost
|
|
334
336
|
} from "./chunk-YOWYTBJS.js";
|
|
337
|
+
import {
|
|
338
|
+
paint,
|
|
339
|
+
theme,
|
|
340
|
+
tokenColor
|
|
341
|
+
} from "./chunk-2IPDTDB3.js";
|
|
335
342
|
import {
|
|
336
343
|
NO_SKILLS_FOUND,
|
|
337
344
|
composeSkillsPrompt,
|
|
@@ -339,34 +346,34 @@ import {
|
|
|
339
346
|
loadSkillBody,
|
|
340
347
|
renderSkillRoster,
|
|
341
348
|
skillTierLabel
|
|
342
|
-
} from "./chunk-
|
|
349
|
+
} from "./chunk-O6EAXTVH.js";
|
|
343
350
|
import "./chunk-NUGPLXVK.js";
|
|
344
351
|
import {
|
|
345
352
|
beginSubscriptionLogin,
|
|
346
353
|
parsePastedInput
|
|
347
|
-
} from "./chunk-
|
|
354
|
+
} from "./chunk-XS6IOLUS.js";
|
|
348
355
|
import {
|
|
349
356
|
apiKeyLogoutWord,
|
|
350
357
|
isApiKeyLogoutTarget
|
|
351
|
-
} from "./chunk-
|
|
358
|
+
} from "./chunk-GGAZD6ML.js";
|
|
352
359
|
import {
|
|
353
360
|
API_KEY_ACCOUNT_PROVIDERS,
|
|
354
361
|
openCliAccounts,
|
|
355
362
|
storedAccountSignedIn
|
|
356
|
-
} from "./chunk-
|
|
363
|
+
} from "./chunk-D5K2HSG7.js";
|
|
357
364
|
import {
|
|
358
365
|
beginCodexDeviceLogin
|
|
359
|
-
} from "./chunk-
|
|
366
|
+
} from "./chunk-UVPKVX7S.js";
|
|
360
367
|
import {
|
|
361
368
|
startAutoUpdate
|
|
362
|
-
} from "./chunk-
|
|
369
|
+
} from "./chunk-CRWKYSTS.js";
|
|
363
370
|
import {
|
|
364
371
|
readManifest
|
|
365
372
|
} from "./chunk-AK2U3N2A.js";
|
|
366
373
|
import {
|
|
367
374
|
resolveNpmInvocation
|
|
368
|
-
} from "./chunk-
|
|
369
|
-
import "./chunk-
|
|
375
|
+
} from "./chunk-NRKOU2PC.js";
|
|
376
|
+
import "./chunk-M33ZJVMX.js";
|
|
370
377
|
import {
|
|
371
378
|
ScheduleConflictError,
|
|
372
379
|
confirmationHolds,
|
|
@@ -397,14 +404,13 @@ import {
|
|
|
397
404
|
describeCacheLifetime,
|
|
398
405
|
promptCacheTtl,
|
|
399
406
|
providerOffersCacheLifetime
|
|
400
|
-
} from "./chunk-
|
|
407
|
+
} from "./chunk-56KFHOMT.js";
|
|
401
408
|
import {
|
|
402
409
|
COMPOSER_TRIGGER_DEFAULTS,
|
|
403
410
|
COMPOSER_TRIGGER_IDS,
|
|
404
411
|
ConfigLoadError,
|
|
405
412
|
LARGE_WORKFLOW_WARNING,
|
|
406
413
|
LARGE_WORKFLOW_WARNING_SHORT,
|
|
407
|
-
THEME_CHOICES,
|
|
408
414
|
approveShownMcpServers,
|
|
409
415
|
browserCallOrigin,
|
|
410
416
|
browserSiteRuleFor,
|
|
@@ -416,7 +422,7 @@ import {
|
|
|
416
422
|
pendingServersMessage,
|
|
417
423
|
readPermissionLayers,
|
|
418
424
|
resolveComposerTriggers
|
|
419
|
-
} from "./chunk-
|
|
425
|
+
} from "./chunk-B7BYKKRH.js";
|
|
420
426
|
import "./chunk-KONYGNG6.js";
|
|
421
427
|
import "./chunk-LCGXWCVU.js";
|
|
422
428
|
import {
|
|
@@ -427,10 +433,13 @@ import {
|
|
|
427
433
|
plural,
|
|
428
434
|
productName
|
|
429
435
|
} from "./chunk-GMUWAUKQ.js";
|
|
436
|
+
import {
|
|
437
|
+
THEME_CHOICES
|
|
438
|
+
} from "./chunk-QLDUL46Z.js";
|
|
430
439
|
import {
|
|
431
440
|
primaryProvider,
|
|
432
441
|
writePreferences
|
|
433
|
-
} from "./chunk-
|
|
442
|
+
} from "./chunk-6IKRSJZD.js";
|
|
434
443
|
import {
|
|
435
444
|
automaticChoice,
|
|
436
445
|
automaticKind,
|
|
@@ -439,7 +448,7 @@ import {
|
|
|
439
448
|
discoverProviders,
|
|
440
449
|
hasApiCredential,
|
|
441
450
|
signedInSubscriptionProviders
|
|
442
|
-
} from "./chunk-
|
|
451
|
+
} from "./chunk-LVIYX25W.js";
|
|
443
452
|
import {
|
|
444
453
|
ALL_PROVIDER_IDS,
|
|
445
454
|
PROVIDER_REGISTRY,
|
|
@@ -447,24 +456,24 @@ import {
|
|
|
447
456
|
providerEntriesOfVendor,
|
|
448
457
|
unsupportedProviderMessage
|
|
449
458
|
} from "./chunk-G6YSAHKC.js";
|
|
450
|
-
import "./chunk-
|
|
459
|
+
import "./chunk-RI2KAZJO.js";
|
|
451
460
|
import {
|
|
452
461
|
isAnthropicOAuthToken,
|
|
453
462
|
readCodexCredentialFile
|
|
454
|
-
} from "./chunk-
|
|
455
|
-
import "./chunk-
|
|
463
|
+
} from "./chunk-WQJ4VBBH.js";
|
|
464
|
+
import "./chunk-HIV7GBNO.js";
|
|
456
465
|
import {
|
|
457
466
|
applyProviderFlags
|
|
458
|
-
} from "./chunk-
|
|
467
|
+
} from "./chunk-6C7LQMXN.js";
|
|
459
468
|
import "./chunk-XEUQN4JC.js";
|
|
460
|
-
import "./chunk-
|
|
469
|
+
import "./chunk-72B3BK3S.js";
|
|
461
470
|
import {
|
|
462
471
|
autoAvailable,
|
|
463
472
|
nextCycleMode,
|
|
464
473
|
permissionModeDescription,
|
|
465
474
|
permissionModeLabel,
|
|
466
475
|
permissionModeName
|
|
467
|
-
} from "./chunk-
|
|
476
|
+
} from "./chunk-W7YNWEPA.js";
|
|
468
477
|
import {
|
|
469
478
|
PAUSED_TURN_LINES,
|
|
470
479
|
currentTimeLine,
|
|
@@ -473,7 +482,7 @@ import {
|
|
|
473
482
|
handoffContinuationNote,
|
|
474
483
|
refusalDetail,
|
|
475
484
|
retryAfterMs
|
|
476
|
-
} from "./chunk-
|
|
485
|
+
} from "./chunk-Z5L5BGQH.js";
|
|
477
486
|
import {
|
|
478
487
|
expandTabs,
|
|
479
488
|
terminalDisplayText
|
|
@@ -507,27 +516,27 @@ import {
|
|
|
507
516
|
typedTextOf,
|
|
508
517
|
unansweredReviewPark,
|
|
509
518
|
unarchiveConversation
|
|
510
|
-
} from "./chunk-
|
|
511
|
-
import "./chunk-
|
|
519
|
+
} from "./chunk-K7KQHO3W.js";
|
|
520
|
+
import "./chunk-3DV5GOM2.js";
|
|
512
521
|
import "./chunk-JQIBPPOL.js";
|
|
513
|
-
import "./chunk-
|
|
514
|
-
import "./chunk-
|
|
522
|
+
import "./chunk-K3W6LEIP.js";
|
|
523
|
+
import "./chunk-3KFDEYQO.js";
|
|
515
524
|
import {
|
|
516
525
|
isTrusted,
|
|
517
526
|
trustDir
|
|
518
|
-
} from "./chunk-
|
|
527
|
+
} from "./chunk-GMT73VBK.js";
|
|
519
528
|
import {
|
|
520
529
|
bindAccount,
|
|
521
530
|
findAccountByName,
|
|
522
531
|
isDefaultAccountId
|
|
523
|
-
} from "./chunk-
|
|
532
|
+
} from "./chunk-EEG22XMV.js";
|
|
524
533
|
import "./chunk-OH6TB27S.js";
|
|
525
|
-
import "./chunk-
|
|
534
|
+
import "./chunk-UOJPF6B4.js";
|
|
526
535
|
import "./chunk-WMEZTDLT.js";
|
|
527
536
|
import {
|
|
528
537
|
contextLogging,
|
|
529
538
|
installCliLogging
|
|
530
|
-
} from "./chunk-
|
|
539
|
+
} from "./chunk-FLQZA5WL.js";
|
|
531
540
|
import {
|
|
532
541
|
PROJECT_MCP_FILE,
|
|
533
542
|
parseMcpServerFile
|
|
@@ -541,7 +550,7 @@ import {
|
|
|
541
550
|
} from "./chunk-U5UV2YRE.js";
|
|
542
551
|
import "./chunk-IE5XIE4W.js";
|
|
543
552
|
import "./chunk-B73OIFL6.js";
|
|
544
|
-
import "./chunk-
|
|
553
|
+
import "./chunk-BCRSDURU.js";
|
|
545
554
|
import "./chunk-JORONMD3.js";
|
|
546
555
|
import {
|
|
547
556
|
apiKeysPath,
|
|
@@ -560,10 +569,10 @@ import {
|
|
|
560
569
|
readStoredSubscriptionCredential,
|
|
561
570
|
writeStoredApiKey,
|
|
562
571
|
writeStoredGeminiApiKey
|
|
563
|
-
} from "./chunk-
|
|
572
|
+
} from "./chunk-7OGCV6CD.js";
|
|
564
573
|
import {
|
|
565
574
|
namzuHomePath
|
|
566
|
-
} from "./chunk-
|
|
575
|
+
} from "./chunk-THZVC2RU.js";
|
|
567
576
|
import {
|
|
568
577
|
ACCEPT_EDITS_TOOLS,
|
|
569
578
|
AccountRegistryError,
|
|
@@ -589,6 +598,7 @@ import {
|
|
|
589
598
|
buildSessionLoopTools,
|
|
590
599
|
createAssistantMessage,
|
|
591
600
|
createRuntimeContextMessage,
|
|
601
|
+
createTempDir,
|
|
592
602
|
createUserMessage,
|
|
593
603
|
describeMonitorEnd,
|
|
594
604
|
describeSchedule,
|
|
@@ -615,7 +625,7 @@ import {
|
|
|
615
625
|
validateTimeZone,
|
|
616
626
|
wakeBudgetFromEnv,
|
|
617
627
|
wrapUntrusted
|
|
618
|
-
} from "./chunk-
|
|
628
|
+
} from "./chunk-VGLTZY7A.js";
|
|
619
629
|
import {
|
|
620
630
|
__commonJS,
|
|
621
631
|
__export,
|
|
@@ -41406,8 +41416,7 @@ __name(loadImageFiles, "loadImageFiles");
|
|
|
41406
41416
|
|
|
41407
41417
|
// src/integrations/clipboard/image.ts
|
|
41408
41418
|
import { spawn as spawn2 } from "node:child_process";
|
|
41409
|
-
import {
|
|
41410
|
-
import { tmpdir } from "node:os";
|
|
41419
|
+
import { readFile as readFile2, rm } from "node:fs/promises";
|
|
41411
41420
|
import { join as join3 } from "node:path";
|
|
41412
41421
|
var MAX_IMAGE_BASE64_BYTES = 5 * 1024 * 1024;
|
|
41413
41422
|
function imageFitsProvider(image2) {
|
|
@@ -41608,7 +41617,7 @@ async function readLinux(run4, wsl, readText, fit2) {
|
|
|
41608
41617
|
}
|
|
41609
41618
|
__name(readLinux, "readLinux");
|
|
41610
41619
|
async function readMac(run4, fit2) {
|
|
41611
|
-
const dir = await
|
|
41620
|
+
const dir = await createTempDir("clip-");
|
|
41612
41621
|
const file = join3(dir, "clip.png");
|
|
41613
41622
|
try {
|
|
41614
41623
|
const result = await run4(
|
|
@@ -43339,7 +43348,7 @@ var LeftGesture = class {
|
|
|
43339
43348
|
var import_jsx_runtime15 = __toESM(require_jsx_runtime(), 1);
|
|
43340
43349
|
var ESC_CLEAR_KEY = "escape-again-to-clear";
|
|
43341
43350
|
var STASH_KEY = "draft-stash";
|
|
43342
|
-
var
|
|
43351
|
+
var WORKSPACES_HINT_KEY = "workspaces-arm";
|
|
43343
43352
|
var STASH_NOTICE_MS = 3e3;
|
|
43344
43353
|
var STASH_RESTORED_NOTICE_MS = 5e3;
|
|
43345
43354
|
var ESC_CLEAR_WINDOW_MS = 800;
|
|
@@ -43581,7 +43590,7 @@ function Composer({
|
|
|
43581
43590
|
onDraftPresenceChange,
|
|
43582
43591
|
onOpenAgentPanel,
|
|
43583
43592
|
onOpenAgents,
|
|
43584
|
-
|
|
43593
|
+
onOpenWorkspaces,
|
|
43585
43594
|
onScrollTranscript,
|
|
43586
43595
|
onRecallQueued,
|
|
43587
43596
|
queuedEdit,
|
|
@@ -44375,7 +44384,7 @@ function Composer({
|
|
|
44375
44384
|
setCursorState(next);
|
|
44376
44385
|
return;
|
|
44377
44386
|
}
|
|
44378
|
-
if (key.leftArrow &&
|
|
44387
|
+
if (key.leftArrow && onOpenWorkspaces) {
|
|
44379
44388
|
const verdict = leftGestureRef.current.press({
|
|
44380
44389
|
empty: valueRef.current.length === 0,
|
|
44381
44390
|
attachments: attachmentsRef.current.length > 0,
|
|
@@ -44384,14 +44393,14 @@ function Composer({
|
|
|
44384
44393
|
meta: key.meta
|
|
44385
44394
|
});
|
|
44386
44395
|
if (verdict === "fire") {
|
|
44387
|
-
onFooterNoticeRemove?.(
|
|
44388
|
-
|
|
44396
|
+
onFooterNoticeRemove?.(WORKSPACES_HINT_KEY);
|
|
44397
|
+
onOpenWorkspaces();
|
|
44389
44398
|
return;
|
|
44390
44399
|
}
|
|
44391
44400
|
if (verdict === "arm") {
|
|
44392
44401
|
onFooterNotice?.({
|
|
44393
|
-
key:
|
|
44394
|
-
text: "Press \u2190 again to open
|
|
44402
|
+
key: WORKSPACES_HINT_KEY,
|
|
44403
|
+
text: "Press \u2190 again to open workspaces",
|
|
44395
44404
|
priority: "immediate",
|
|
44396
44405
|
timeoutMs: ARM_MS
|
|
44397
44406
|
});
|
|
@@ -50183,8 +50192,7 @@ __name(editablePrompts, "editablePrompts");
|
|
|
50183
50192
|
|
|
50184
50193
|
// src/tui/external-editor.ts
|
|
50185
50194
|
import { spawn as spawn3 } from "node:child_process";
|
|
50186
|
-
import { lstat, mkdtemp
|
|
50187
|
-
import { tmpdir as tmpdir2 } from "node:os";
|
|
50195
|
+
import { lstat, mkdtemp, readFile as readFile4, rm as rm2, writeFile } from "node:fs/promises";
|
|
50188
50196
|
import { join as join4 } from "node:path";
|
|
50189
50197
|
var MAX_EDITED_DRAFT_BYTES = 4 * 1024 * 1024;
|
|
50190
50198
|
var ExternalEditorError = class extends Error {
|
|
@@ -50271,7 +50279,7 @@ __name(resolveExternalEditorCommand, "resolveExternalEditorCommand");
|
|
|
50271
50279
|
async function editDraftInExternalEditor(seed, options) {
|
|
50272
50280
|
options.signal?.throwIfAborted();
|
|
50273
50281
|
const command = resolveExternalEditorCommand(options.env, options.pressed);
|
|
50274
|
-
const directory = await
|
|
50282
|
+
const directory = options.temporaryRoot === void 0 ? await createTempDir("editor-") : await mkdtemp(join4(options.temporaryRoot, "namzu-editor-"));
|
|
50275
50283
|
const draftPath = join4(directory, "draft.md");
|
|
50276
50284
|
let edited;
|
|
50277
50285
|
let failure;
|
|
@@ -56368,7 +56376,7 @@ function AppBody({
|
|
|
56368
56376
|
externalEditor = defaultExternalEditor,
|
|
56369
56377
|
terminationExit,
|
|
56370
56378
|
repaint,
|
|
56371
|
-
|
|
56379
|
+
onOpenWorkspaces,
|
|
56372
56380
|
onConfirmExit,
|
|
56373
56381
|
beforeExit,
|
|
56374
56382
|
examplePrompts = false,
|
|
@@ -56812,7 +56820,14 @@ ${blocks.join("\n\n")}`;
|
|
|
56812
56820
|
selectionRef: selectedChoiceRef,
|
|
56813
56821
|
setSelection: setSelectedChoice
|
|
56814
56822
|
} = useSelectionIndex(0);
|
|
56823
|
+
const chooseModelRef = (0, import_react60.useRef)(() => {
|
|
56824
|
+
});
|
|
56825
|
+
const slashWhileReplyRef = (0, import_react60.useRef)(false);
|
|
56826
|
+
const resumeOpeningRef = (0, import_react60.useRef)(false);
|
|
56827
|
+
const queuedBehindCommandRef = (0, import_react60.useRef)(null);
|
|
56828
|
+
const retireAtTurnEndRef = (0, import_react60.useRef)(null);
|
|
56815
56829
|
const setChoicePicker = (0, import_react60.useCallback)((next) => {
|
|
56830
|
+
if (next !== null && slashWhileReplyRef.current) retireAtTurnEndRef.current = next;
|
|
56816
56831
|
choicePickerRef.current = next;
|
|
56817
56832
|
choiceQueryRef.current = "";
|
|
56818
56833
|
setChoiceQuery("");
|
|
@@ -57137,6 +57152,9 @@ ${blocks.join("\n\n")}`;
|
|
|
57137
57152
|
const runProbeRef = (0, import_react60.useRef)(null);
|
|
57138
57153
|
(0, import_react60.useEffect)(() => cancelPendingLogin, [cancelPendingLogin]);
|
|
57139
57154
|
const previousSessionRef = (0, import_react60.useRef)(null);
|
|
57155
|
+
const deferredModelRef = (0, import_react60.useRef)(null);
|
|
57156
|
+
const refusalFallbackActiveRef = (0, import_react60.useRef)(false);
|
|
57157
|
+
const liveModelPickRef = (0, import_react60.useRef)(null);
|
|
57140
57158
|
const [, setReasoningVersion] = (0, import_react60.useState)(0);
|
|
57141
57159
|
const browserProfileRef = (0, import_react60.useRef)(void 0);
|
|
57142
57160
|
const browserControlRef = (0, import_react60.useRef)(void 0);
|
|
@@ -58270,18 +58288,15 @@ ${blocks.join("\n\n")}`;
|
|
|
58270
58288
|
);
|
|
58271
58289
|
return;
|
|
58272
58290
|
}
|
|
58273
|
-
|
|
58291
|
+
const replyRunning = state !== "idle" || abortRef.current !== null || hasUnsettledTurn();
|
|
58292
|
+
if (effort === void 0) {
|
|
58293
|
+
setReasoningEffort(void 0);
|
|
58274
58294
|
pushMessage(
|
|
58275
58295
|
"system",
|
|
58276
|
-
"Reasoning effort
|
|
58296
|
+
replyRunning ? "Reasoning effort set to the provider default. It applies from your next message." : "Reasoning: provider default."
|
|
58277
58297
|
);
|
|
58278
58298
|
return;
|
|
58279
58299
|
}
|
|
58280
|
-
if (effort === void 0) {
|
|
58281
|
-
setReasoningEffort(void 0);
|
|
58282
|
-
pushMessage("system", "Reasoning: provider default.");
|
|
58283
|
-
return;
|
|
58284
|
-
}
|
|
58285
58300
|
if (!session.reasoningEffortLevels?.includes(effort)) {
|
|
58286
58301
|
pushMessage(
|
|
58287
58302
|
"system",
|
|
@@ -58290,7 +58305,10 @@ ${blocks.join("\n\n")}`;
|
|
|
58290
58305
|
return;
|
|
58291
58306
|
}
|
|
58292
58307
|
setReasoningEffort(effort);
|
|
58293
|
-
pushMessage(
|
|
58308
|
+
pushMessage(
|
|
58309
|
+
"system",
|
|
58310
|
+
replyRunning ? `Reasoning effort set to ${effort}. It applies from your next message.` : `Reasoning: ${effort} (this conversation).`
|
|
58311
|
+
);
|
|
58294
58312
|
},
|
|
58295
58313
|
[hasUnsettledTurn, pushMessage, session, setReasoningEffort, state]
|
|
58296
58314
|
);
|
|
@@ -58307,13 +58325,6 @@ ${blocks.join("\n\n")}`;
|
|
|
58307
58325
|
pushMessage("system", "Hypermode was not changed: the selected model is no longer active.");
|
|
58308
58326
|
return;
|
|
58309
58327
|
}
|
|
58310
|
-
if (state !== "idle" || abortRef.current !== null || hasUnsettledTurn() || roundQueueRef.current.items().length > 0 && selectedSession !== session || permissionResolveRef.current !== null || compactingRef.current) {
|
|
58311
|
-
pushMessage(
|
|
58312
|
-
"system",
|
|
58313
|
-
"Hypermode was not changed: wait for the current reply and queued messages to finish."
|
|
58314
|
-
);
|
|
58315
|
-
return;
|
|
58316
|
-
}
|
|
58317
58328
|
if (!enabled && !hypermodeRef.current) {
|
|
58318
58329
|
pushMessage("system", "Hypermode is off.");
|
|
58319
58330
|
return;
|
|
@@ -58323,9 +58334,12 @@ ${blocks.join("\n\n")}`;
|
|
|
58323
58334
|
if (newlyEnabled) setHypermodeActivation((activation) => activation + 1);
|
|
58324
58335
|
const effort = reasoningEffortRef.current;
|
|
58325
58336
|
const hasLevels = (session.reasoningEffortLevels?.length ?? 0) > 0;
|
|
58337
|
+
const replyRunning = state !== "idle" || abortRef.current !== null || hasUnsettledTurn();
|
|
58338
|
+
const said = enabled ? hypermodeOnMessage(effort, hasLevels) : hypermodeOffMessage(effort, hasLevels);
|
|
58326
58339
|
pushMessage(
|
|
58327
58340
|
"system",
|
|
58328
|
-
|
|
58341
|
+
// The reply being written has already been told; the next message is told.
|
|
58342
|
+
replyRunning ? `${said} It applies from your next message.` : said
|
|
58329
58343
|
);
|
|
58330
58344
|
},
|
|
58331
58345
|
[hasUnsettledTurn, pushMessage, session, setHypermode, state]
|
|
@@ -58874,6 +58888,10 @@ ${blocks.join("\n\n")}`;
|
|
|
58874
58888
|
return;
|
|
58875
58889
|
}
|
|
58876
58890
|
setChoicePicker(null);
|
|
58891
|
+
if (picker.kind === "model-live") {
|
|
58892
|
+
chooseModelRef.current(`${picker.provider}/${value}`);
|
|
58893
|
+
return;
|
|
58894
|
+
}
|
|
58877
58895
|
if (picker.kind === "resume-goal") {
|
|
58878
58896
|
if (value === "resume" && scopeRef.current?.sessionId === picker.sessionId)
|
|
58879
58897
|
commandPickerSubmitRef.current("/goal resume");
|
|
@@ -60311,7 +60329,7 @@ ${blocks.join("\n\n")}`;
|
|
|
60311
60329
|
const timer = setInterval(() => setAutoResumeTick((n) => n + 1), 1e3);
|
|
60312
60330
|
return () => clearInterval(timer);
|
|
60313
60331
|
}, [autoResumeAt]);
|
|
60314
|
-
const
|
|
60332
|
+
const openResumePicker = (0, import_react60.useCallback)(
|
|
60315
60333
|
async (query, pr) => {
|
|
60316
60334
|
const sessions = sessionsRef.current ?? await ensureSessions().then(() => sessionsRef.current);
|
|
60317
60335
|
if (!sessions) {
|
|
@@ -60354,6 +60372,18 @@ ${blocks.join("\n\n")}`;
|
|
|
60354
60372
|
},
|
|
60355
60373
|
[ensureSessions, pushMessage, resumeActiveTurn]
|
|
60356
60374
|
);
|
|
60375
|
+
const doResume = (0, import_react60.useCallback)(
|
|
60376
|
+
async (query, pr) => {
|
|
60377
|
+
resumeOpeningRef.current = true;
|
|
60378
|
+
try {
|
|
60379
|
+
await openResumePicker(query, pr);
|
|
60380
|
+
} finally {
|
|
60381
|
+
resumeOpeningRef.current = false;
|
|
60382
|
+
setQueueSettleVersion((version) => version + 1);
|
|
60383
|
+
}
|
|
60384
|
+
},
|
|
60385
|
+
[openResumePicker]
|
|
60386
|
+
);
|
|
60357
60387
|
const doctorRunningRef = (0, import_react60.useRef)(false);
|
|
60358
60388
|
const runDoctorInSession = (0, import_react60.useCallback)(async () => {
|
|
60359
60389
|
if (doctorRunningRef.current) {
|
|
@@ -60363,8 +60393,8 @@ ${blocks.join("\n\n")}`;
|
|
|
60363
60393
|
doctorRunningRef.current = true;
|
|
60364
60394
|
const progressId = pushMessage("system", "Checking\u2026");
|
|
60365
60395
|
try {
|
|
60366
|
-
const { runLiveDoctor } = await import("./live-
|
|
60367
|
-
const { describePlainDoctor } = await import("./plain-report-
|
|
60396
|
+
const { runLiveDoctor } = await import("./live-IOPYPFSM.js");
|
|
60397
|
+
const { describePlainDoctor } = await import("./plain-report-XVPBQDLE.js");
|
|
60368
60398
|
const report = await runLiveDoctor({
|
|
60369
60399
|
...ctxRef.current.telemetry ? { telemetry: ctxRef.current.telemetry } : {}
|
|
60370
60400
|
});
|
|
@@ -60734,6 +60764,8 @@ ${blocks.join("\n\n")}`;
|
|
|
60734
60764
|
const startFreshConversation = (0, import_react60.useCallback)(
|
|
60735
60765
|
async (clearScreen2) => {
|
|
60736
60766
|
if (conversationMutationRef.current) return;
|
|
60767
|
+
const keepQueued = queuedBehindCommandRef.current;
|
|
60768
|
+
queuedBehindCommandRef.current = null;
|
|
60737
60769
|
if (palDefinitionRef.current && (abortRef.current || hasUnsettledTurn() || roundQueueRef.current.items().length > 0)) {
|
|
60738
60770
|
pushMessage(
|
|
60739
60771
|
"system",
|
|
@@ -60758,9 +60790,13 @@ ${blocks.join("\n\n")}`;
|
|
|
60758
60790
|
);
|
|
60759
60791
|
} else targetSessionId = await startConversation(sessions);
|
|
60760
60792
|
}
|
|
60761
|
-
const discardedQueued =
|
|
60793
|
+
const discardedQueued = Math.max(
|
|
60794
|
+
0,
|
|
60795
|
+
roundQueueRef.current.items().length - (keepQueued?.length ?? 0)
|
|
60796
|
+
);
|
|
60762
60797
|
const interrupted = interruptTurn();
|
|
60763
60798
|
discardQueued();
|
|
60799
|
+
if (keepQueued?.length) roundQueueRef.current.replace(keepQueued);
|
|
60764
60800
|
goalActivation.clear();
|
|
60765
60801
|
wakeGoalDriver();
|
|
60766
60802
|
cancelPendingModelSwitch();
|
|
@@ -62129,8 +62165,9 @@ ${plain(err)}`
|
|
|
62129
62165
|
st.refusalRowShown = true;
|
|
62130
62166
|
const detail = refusalDetail(event);
|
|
62131
62167
|
if (event.outcome === "fallback" && event.fallbackModel) {
|
|
62168
|
+
refusalFallbackActiveRef.current = true;
|
|
62132
62169
|
st.pendingFallback = {
|
|
62133
|
-
row: describeModelRefusal(event),
|
|
62170
|
+
row: describeModelRefusal({ ...event, auto: autoActiveRef.current }),
|
|
62134
62171
|
detail,
|
|
62135
62172
|
model: event.fallbackModel
|
|
62136
62173
|
};
|
|
@@ -62143,6 +62180,12 @@ ${plain(err)}`
|
|
|
62143
62180
|
);
|
|
62144
62181
|
break;
|
|
62145
62182
|
}
|
|
62183
|
+
case "transcript-writes":
|
|
62184
|
+
pushSystem(
|
|
62185
|
+
event.state === "working" ? "notice" : "warning",
|
|
62186
|
+
describeTranscriptWrites(event.state)
|
|
62187
|
+
);
|
|
62188
|
+
break;
|
|
62146
62189
|
case "capability-warning":
|
|
62147
62190
|
pushSystem(
|
|
62148
62191
|
"warning",
|
|
@@ -62738,6 +62781,12 @@ ${jobLines.map(([, line]) => `- ${line}`).join("\n")}`] : []
|
|
|
62738
62781
|
// turn only; the session's own setting is untouched.
|
|
62739
62782
|
...(pinnedEffort ?? turnReasoningEffort) !== void 0 ? { effort: pinnedEffort ?? turnReasoningEffort } : {},
|
|
62740
62783
|
...turnHypermode ? { hypermode: true } : {},
|
|
62784
|
+
// A model picked with /model while this turn runs: read before every
|
|
62785
|
+
// request, so the next request of the loop uses it.
|
|
62786
|
+
liveModel: /* @__PURE__ */ __name(() => {
|
|
62787
|
+
const pick = liveModelPickRef.current;
|
|
62788
|
+
return pick && pick.session === previousSessionRef.current ? pick.model : void 0;
|
|
62789
|
+
}, "liveModel"),
|
|
62741
62790
|
...ctxRef.current.refusalFallback ? { refusalFallback: ctxRef.current.refusalFallback } : {},
|
|
62742
62791
|
...turnTriggers.includes("workflow") ? { workflow: true } : {},
|
|
62743
62792
|
// Read at every iteration, so an after-turn trigger a steer
|
|
@@ -62848,7 +62897,25 @@ ${jobLines.map(([, line]) => `- ${line}`).join("\n")}`] : []
|
|
|
62848
62897
|
if (event.kind === "done" && st.answeredFallbackModel && currentProvider) {
|
|
62849
62898
|
const model = st.answeredFallbackModel;
|
|
62850
62899
|
st.answeredFallbackModel = void 0;
|
|
62851
|
-
|
|
62900
|
+
const held = deferredModelRef.current;
|
|
62901
|
+
const pin = !autoActiveRef.current && !(held && held.beforeRefusal !== true);
|
|
62902
|
+
if (pin) {
|
|
62903
|
+
if (held?.quiet === true && held.model) {
|
|
62904
|
+
deferredModelRef.current = null;
|
|
62905
|
+
liveModelPickRef.current = null;
|
|
62906
|
+
pushMessage(
|
|
62907
|
+
"system",
|
|
62908
|
+
`${held.model} declined this message, so ${model} stays selected.`
|
|
62909
|
+
);
|
|
62910
|
+
}
|
|
62911
|
+
const switched = await requestModelSwitch({ model, provider: currentProvider });
|
|
62912
|
+
if (switched.kind === "rejected") {
|
|
62913
|
+
pushMessage(
|
|
62914
|
+
"system",
|
|
62915
|
+
`${model} answered this message but could not be kept as the selected model.`
|
|
62916
|
+
);
|
|
62917
|
+
}
|
|
62918
|
+
}
|
|
62852
62919
|
}
|
|
62853
62920
|
} else if (event.kind === "delta") st.text += event.text;
|
|
62854
62921
|
else if (event.kind === "done" && event.text !== void 0) st.text = event.text;
|
|
@@ -62868,6 +62935,7 @@ ${jobLines.map(([, line]) => `- ${line}`).join("\n")}`] : []
|
|
|
62868
62935
|
pushSystem("error", explainFailure(err, "That reply failed."));
|
|
62869
62936
|
}
|
|
62870
62937
|
} finally {
|
|
62938
|
+
refusalFallbackActiveRef.current = false;
|
|
62871
62939
|
readSearchGroup.close();
|
|
62872
62940
|
if (st.completed && stillHere())
|
|
62873
62941
|
markOrphanNoticesDelivered([...wakeSnapshot.workflows.keys()]);
|
|
@@ -63014,6 +63082,76 @@ ${jobLines.map(([, line]) => `- ${line}`).join("\n")}`] : []
|
|
|
63014
63082
|
wakeGoalDriver
|
|
63015
63083
|
]
|
|
63016
63084
|
);
|
|
63085
|
+
const deferModelSelection = (0, import_react60.useCallback)(
|
|
63086
|
+
async (query, wantsAuto) => {
|
|
63087
|
+
if (!session || !currentProvider) return;
|
|
63088
|
+
if (wantsAuto) {
|
|
63089
|
+
deferredModelRef.current = { query, quiet: false };
|
|
63090
|
+
pushMessage("system", "Switching to Auto when this reply finishes.");
|
|
63091
|
+
return;
|
|
63092
|
+
}
|
|
63093
|
+
let resolved;
|
|
63094
|
+
try {
|
|
63095
|
+
resolved = await resolveModelSelectionIntent(query, {
|
|
63096
|
+
currentProvider,
|
|
63097
|
+
detected,
|
|
63098
|
+
describeModels: describeProviderModels,
|
|
63099
|
+
signal: appLifetime.signal
|
|
63100
|
+
});
|
|
63101
|
+
} catch (error) {
|
|
63102
|
+
if (appLifetime.signal.aborted) return;
|
|
63103
|
+
pushMessage(
|
|
63104
|
+
"system",
|
|
63105
|
+
`${explainFailure(error, "Could not look up that model.")} The current model is unchanged.`
|
|
63106
|
+
);
|
|
63107
|
+
return;
|
|
63108
|
+
}
|
|
63109
|
+
if (appLifetime.signal.aborted) return;
|
|
63110
|
+
if (resolved.kind === "rejected") {
|
|
63111
|
+
pushMessage(
|
|
63112
|
+
"system",
|
|
63113
|
+
resolved.reason + (resolved.choices?.length ? ` Choices: ${resolved.choices.map((choice2) => `${choice2.provider}/${choice2.model}`).join(", ")}.` : "")
|
|
63114
|
+
);
|
|
63115
|
+
return;
|
|
63116
|
+
}
|
|
63117
|
+
const { selection } = resolved;
|
|
63118
|
+
const target = `${selection.id}/${selection.model}`;
|
|
63119
|
+
if (selection.id === currentProvider && !autoActiveRef.current) {
|
|
63120
|
+
if (refusalFallbackActiveRef.current) {
|
|
63121
|
+
deferredModelRef.current = {
|
|
63122
|
+
query: target,
|
|
63123
|
+
quiet: false,
|
|
63124
|
+
model: selection.model,
|
|
63125
|
+
beforeRefusal: false
|
|
63126
|
+
};
|
|
63127
|
+
pushMessage(
|
|
63128
|
+
"system",
|
|
63129
|
+
`Switching to ${selection.id} \xB7 ${selection.model} when this reply finishes.`
|
|
63130
|
+
);
|
|
63131
|
+
return;
|
|
63132
|
+
}
|
|
63133
|
+
liveModelPickRef.current = { session, model: selection.model };
|
|
63134
|
+
deferredModelRef.current = {
|
|
63135
|
+
query: target,
|
|
63136
|
+
quiet: true,
|
|
63137
|
+
model: selection.model,
|
|
63138
|
+
beforeRefusal: true
|
|
63139
|
+
};
|
|
63140
|
+
pushMessage(
|
|
63141
|
+
"system",
|
|
63142
|
+
`Using ${selection.model} from the next request. The one being answered now keeps its model.`
|
|
63143
|
+
);
|
|
63144
|
+
return;
|
|
63145
|
+
}
|
|
63146
|
+
liveModelPickRef.current = null;
|
|
63147
|
+
deferredModelRef.current = { query: target, quiet: false };
|
|
63148
|
+
pushMessage(
|
|
63149
|
+
"system",
|
|
63150
|
+
`Switching to ${selection.id} \xB7 ${selection.model} when this reply finishes.`
|
|
63151
|
+
);
|
|
63152
|
+
},
|
|
63153
|
+
[appLifetime.signal, currentProvider, detected, pushMessage, session]
|
|
63154
|
+
);
|
|
63017
63155
|
const selectModelIntent = (0, import_react60.useCallback)(
|
|
63018
63156
|
async (query, options = {}) => {
|
|
63019
63157
|
const wantsAuto = isAutoQuery(query);
|
|
@@ -63031,11 +63169,12 @@ ${jobLines.map(([, line]) => `- ${line}`).join("\n")}`] : []
|
|
|
63031
63169
|
return;
|
|
63032
63170
|
}
|
|
63033
63171
|
}
|
|
63034
|
-
if (!session || !currentProvider ||
|
|
63035
|
-
pushMessage(
|
|
63036
|
-
|
|
63037
|
-
|
|
63038
|
-
|
|
63172
|
+
if (!session || !currentProvider || phase !== "ready" && !options.fromPicker) {
|
|
63173
|
+
pushMessage("system", "Choose a model with /model once a provider is connected.");
|
|
63174
|
+
return;
|
|
63175
|
+
}
|
|
63176
|
+
if (!options.atBoundary && (state !== "idle" || abortRef.current || hasUnsettledTurn() || pendingModelSwitchRef.current || roundQueueRef.current.items().length > 0 || permissionResolveRef.current || compactingRef.current || conversationMutationRef.current || exportingRef.current || goalDriveInFlightRef.current)) {
|
|
63177
|
+
await deferModelSelection(query, wantsAuto);
|
|
63039
63178
|
return;
|
|
63040
63179
|
}
|
|
63041
63180
|
const wasAuto = autoActiveRef.current;
|
|
@@ -63072,7 +63211,7 @@ ${jobLines.map(([, line]) => `- ${line}`).join("\n")}`] : []
|
|
|
63072
63211
|
beforePublish
|
|
63073
63212
|
});
|
|
63074
63213
|
if (pendingModelSwitchRef.current === pending && !pending.signal.aborted && previousSessionRef.current !== session) {
|
|
63075
|
-
pushMessage("system", AUTO_ON_NOTICE);
|
|
63214
|
+
if (!options.quiet) pushMessage("system", AUTO_ON_NOTICE);
|
|
63076
63215
|
}
|
|
63077
63216
|
return;
|
|
63078
63217
|
}
|
|
@@ -63107,12 +63246,14 @@ ${jobLines.map(([, line]) => `- ${line}`).join("\n")}`] : []
|
|
|
63107
63246
|
}
|
|
63108
63247
|
);
|
|
63109
63248
|
if (pendingModelSwitchRef.current === pending && !pending.signal.aborted && previousSessionRef.current !== session) {
|
|
63110
|
-
|
|
63111
|
-
|
|
63112
|
-
|
|
63113
|
-
|
|
63249
|
+
if (!options.quiet)
|
|
63250
|
+
pushMessage(
|
|
63251
|
+
"system",
|
|
63252
|
+
`Switched to ${resolved.selection.id} \xB7 ${resolved.selection.model} for this conversation.${wasAuto ? AUTO_TURNED_OFF_SUFFIX : ""}`
|
|
63253
|
+
);
|
|
63114
63254
|
}
|
|
63115
63255
|
} catch (error) {
|
|
63256
|
+
if (liveModelPickRef.current?.session === session) liveModelPickRef.current = null;
|
|
63116
63257
|
if (owns())
|
|
63117
63258
|
pushMessage(
|
|
63118
63259
|
"system",
|
|
@@ -63127,6 +63268,7 @@ ${jobLines.map(([, line]) => `- ${line}`).join("\n")}`] : []
|
|
|
63127
63268
|
}
|
|
63128
63269
|
},
|
|
63129
63270
|
[
|
|
63271
|
+
deferModelSelection,
|
|
63130
63272
|
session,
|
|
63131
63273
|
currentProvider,
|
|
63132
63274
|
state,
|
|
@@ -63139,6 +63281,60 @@ ${jobLines.map(([, line]) => `- ${line}`).join("\n")}`] : []
|
|
|
63139
63281
|
wakeGoalDriver
|
|
63140
63282
|
]
|
|
63141
63283
|
);
|
|
63284
|
+
chooseModelRef.current = (query) => {
|
|
63285
|
+
void selectModelIntent(query);
|
|
63286
|
+
};
|
|
63287
|
+
const openLiveModelPicker = (0, import_react60.useCallback)(async () => {
|
|
63288
|
+
const entry = detected.find((item) => item.entry.id === currentProvider);
|
|
63289
|
+
if (!session?.hasProvider || !currentProvider || !entry) {
|
|
63290
|
+
pushMessage("system", "Choose a model with /model once a provider is connected.");
|
|
63291
|
+
return;
|
|
63292
|
+
}
|
|
63293
|
+
const listing = await describeProviderModels(currentProvider, entry, appLifetime.signal).catch(
|
|
63294
|
+
() => void 0
|
|
63295
|
+
);
|
|
63296
|
+
if (appLifetime.signal.aborted) return;
|
|
63297
|
+
const models = listing?.kind === "ok" ? listing.models.filter((model) => canSelectModel(entry.entry, entry.apiKey, model.id)) : [];
|
|
63298
|
+
if (models.length === 0) {
|
|
63299
|
+
pushMessage(
|
|
63300
|
+
"system",
|
|
63301
|
+
`The model list for ${entry.entry.label} could not be read. Type /model <name> to choose one.`
|
|
63302
|
+
);
|
|
63303
|
+
return;
|
|
63304
|
+
}
|
|
63305
|
+
const current = session.modelSummary;
|
|
63306
|
+
const picker = {
|
|
63307
|
+
kind: "model-live",
|
|
63308
|
+
title: `Select a model for ${entry.entry.label}`,
|
|
63309
|
+
notice: "Used from the next request; the one being answered now keeps its model. For another provider, type /model provider/model.",
|
|
63310
|
+
provider: currentProvider,
|
|
63311
|
+
values: models.map((model) => model.id),
|
|
63312
|
+
options: models.map((model) => ({
|
|
63313
|
+
label: model.name,
|
|
63314
|
+
description: model.name === model.id ? "" : model.id,
|
|
63315
|
+
current: model.id === current || model.name === current,
|
|
63316
|
+
searchText: `${model.id} ${model.name}`
|
|
63317
|
+
}))
|
|
63318
|
+
};
|
|
63319
|
+
setSelectedChoice(
|
|
63320
|
+
Math.max(
|
|
63321
|
+
0,
|
|
63322
|
+
picker.options.findIndex((option) => option.current)
|
|
63323
|
+
)
|
|
63324
|
+
);
|
|
63325
|
+
const busy = abortRef.current !== null || hasUnsettledTurn();
|
|
63326
|
+
setChoicePicker(picker);
|
|
63327
|
+
if (busy) retireAtTurnEndRef.current = picker;
|
|
63328
|
+
}, [
|
|
63329
|
+
appLifetime.signal,
|
|
63330
|
+
currentProvider,
|
|
63331
|
+
detected,
|
|
63332
|
+
hasUnsettledTurn,
|
|
63333
|
+
pushMessage,
|
|
63334
|
+
session,
|
|
63335
|
+
setChoicePicker,
|
|
63336
|
+
setSelectedChoice
|
|
63337
|
+
]);
|
|
63142
63338
|
const accountActionsRef = (0, import_react60.useRef)(null);
|
|
63143
63339
|
const openAccounts = (0, import_react60.useCallback)(
|
|
63144
63340
|
() => openCliAccounts({
|
|
@@ -63729,7 +63925,7 @@ ${jobLines.map(([, line]) => `- ${line}`).join("\n")}`] : []
|
|
|
63729
63925
|
return;
|
|
63730
63926
|
}
|
|
63731
63927
|
const viewedId = viewingAgentRef.current;
|
|
63732
|
-
if (viewedId !== null && meta.source !== "model-loop" && meta.source !== "launch-message") {
|
|
63928
|
+
if (viewedId !== null && meta.source !== "model-loop" && meta.source !== "launch-message" && meta.source !== "queued-command") {
|
|
63733
63929
|
const restore = /* @__PURE__ */ __name((notice) => {
|
|
63734
63930
|
setViewNotice(notice);
|
|
63735
63931
|
composerDraftTokenRef.current += 1;
|
|
@@ -63788,7 +63984,8 @@ ${jobLines.map(([, line]) => `- ${line}`).join("\n")}`] : []
|
|
|
63788
63984
|
selfMendingPauseRowRef.current.forget();
|
|
63789
63985
|
const fromLoop = meta.source === "operator-loop" || meta.source === "model-loop";
|
|
63790
63986
|
keybindingDraftRef.current = meta.source === "keybinding" ? meta.draft ?? null : null;
|
|
63791
|
-
if (!fromLoop && meta.source !== "keybinding"
|
|
63987
|
+
if (!fromLoop && meta.source !== "keybinding" && meta.source !== "queued-command")
|
|
63988
|
+
setHistory((prev) => [...prev, value]);
|
|
63792
63989
|
const operatorText = meta.source !== "model-loop" && meta.source !== "launch-message";
|
|
63793
63990
|
const selectionIntent = operatorText && !attachments?.length ? parseModelSelectionIntent(value) : void 0;
|
|
63794
63991
|
if (selectionIntent) {
|
|
@@ -63871,6 +64068,24 @@ ${jobLines.map(([, line]) => `- ${line}`).join("\n")}`] : []
|
|
|
63871
64068
|
);
|
|
63872
64069
|
return;
|
|
63873
64070
|
}
|
|
64071
|
+
if (operatorText && meta.source !== "queued-command" && slashTiming(dispatch, userCommands, hostCommands) === "queue" && (state !== "idle" || abortRef.current !== null || hasUnsettledTurn() || permissionResolveRef.current !== null || compactingRef.current || Boolean(pendingModelSwitchRef.current) || // Messages held by a pause are not ahead of it in any useful sense:
|
|
64072
|
+
// the pause only lifts through a command (`/resume`, `/clear`), so
|
|
64073
|
+
// waiting behind them would wait for itself.
|
|
64074
|
+
roundQueueRef.current.items().length > 0 && roundQueueRef.current.pause() === null)) {
|
|
64075
|
+
enqueueQueued({
|
|
64076
|
+
kind: "human",
|
|
64077
|
+
text: dispatch.trim(),
|
|
64078
|
+
command: true,
|
|
64079
|
+
...meta.source === "composer" ? { recallable: true } : {}
|
|
64080
|
+
});
|
|
64081
|
+
return;
|
|
64082
|
+
}
|
|
64083
|
+
if (operatorText && (state !== "idle" || abortRef.current !== null || hasUnsettledTurn()) && slashTiming(dispatch, userCommands, hostCommands) === "now") {
|
|
64084
|
+
slashWhileReplyRef.current = true;
|
|
64085
|
+
queueMicrotask(() => {
|
|
64086
|
+
slashWhileReplyRef.current = false;
|
|
64087
|
+
});
|
|
64088
|
+
}
|
|
63874
64089
|
const slash = operatorText ? runSlash(dispatch, slashCtx, hostCommands) : null;
|
|
63875
64090
|
if (slash) {
|
|
63876
64091
|
const commandName = /^\/([\w-]+)/u.exec(dispatch.trim())?.[1];
|
|
@@ -64285,10 +64500,7 @@ ${peersList.map((peer) => `${peer.self ? "This terminal" : peer.title} [${peer.r
|
|
|
64285
64500
|
return;
|
|
64286
64501
|
case "repick":
|
|
64287
64502
|
if (state !== "idle" || pendingModelSwitchRef.current || abortRef.current !== null || hasUnsettledTurn() || roundQueueRef.current.items().length > 0 && roundQueueRef.current.pause() === null || permissionResolveRef.current !== null || compactingRef.current || conversationMutationRef.current !== null || exportingRef.current) {
|
|
64288
|
-
|
|
64289
|
-
"system",
|
|
64290
|
-
"Model choices are unavailable while a reply, a question, queued messages or a summary are in progress. Try again when they finish."
|
|
64291
|
-
);
|
|
64503
|
+
void openLiveModelPicker();
|
|
64292
64504
|
return;
|
|
64293
64505
|
}
|
|
64294
64506
|
setPickerNotice(null);
|
|
@@ -64341,10 +64553,6 @@ ${answer}`
|
|
|
64341
64553
|
pushMessage("system", "Choose a model before changing permissions.");
|
|
64342
64554
|
return;
|
|
64343
64555
|
}
|
|
64344
|
-
if (state !== "idle" || abortRef.current !== null || hasUnsettledTurn() || roundQueueRef.current.items().length > 0 || permissionResolveRef.current !== null || compactingRef.current) {
|
|
64345
|
-
pushMessage("system", "Finish or stop the current work before changing permissions.");
|
|
64346
|
-
return;
|
|
64347
|
-
}
|
|
64348
64556
|
const picker = permissionPicker(
|
|
64349
64557
|
permissionModeRef.current,
|
|
64350
64558
|
false,
|
|
@@ -64373,13 +64581,6 @@ ${answer}`
|
|
|
64373
64581
|
);
|
|
64374
64582
|
return;
|
|
64375
64583
|
}
|
|
64376
|
-
if (state !== "idle" || abortRef.current !== null || hasUnsettledTurn() || roundQueueRef.current.items().length > 0 || permissionResolveRef.current !== null || compactingRef.current) {
|
|
64377
|
-
pushMessage(
|
|
64378
|
-
"system",
|
|
64379
|
-
"Reasoning-effort choices are unavailable while a reply, a question, a summary or queued messages are in progress. Try again when they finish."
|
|
64380
|
-
);
|
|
64381
|
-
return;
|
|
64382
|
-
}
|
|
64383
64584
|
const values = [void 0, ...levels];
|
|
64384
64585
|
const current = reasoningEffortRef.current;
|
|
64385
64586
|
setSelectedChoice(
|
|
@@ -65256,6 +65457,7 @@ ${plugins.map((plugin) => {
|
|
|
65256
65457
|
materializeConversation,
|
|
65257
65458
|
nextId,
|
|
65258
65459
|
openAgentCockpit,
|
|
65460
|
+
openLiveModelPicker,
|
|
65259
65461
|
abandonActiveTurn,
|
|
65260
65462
|
pushMessage,
|
|
65261
65463
|
rawOutput,
|
|
@@ -65274,7 +65476,8 @@ ${plugins.map((plugin) => {
|
|
|
65274
65476
|
stableExportSource,
|
|
65275
65477
|
startFreshConversation,
|
|
65276
65478
|
state,
|
|
65277
|
-
terminal.rows
|
|
65479
|
+
terminal.rows,
|
|
65480
|
+
userCommands
|
|
65278
65481
|
]
|
|
65279
65482
|
);
|
|
65280
65483
|
const idleStateRef = (0, import_react60.useRef)({
|
|
@@ -65543,7 +65746,7 @@ ${plugins.map((plugin) => {
|
|
|
65543
65746
|
turnRunning: Boolean(abortRef.current),
|
|
65544
65747
|
unsettledTurn: hasUnsettledTurn(),
|
|
65545
65748
|
pendingModelSwitch: Boolean(pendingModelSwitchRef.current),
|
|
65546
|
-
conversationMutation: Boolean(conversationMutationRef.current),
|
|
65749
|
+
conversationMutation: Boolean(conversationMutationRef.current) || resumeOpeningRef.current,
|
|
65547
65750
|
exporting: Boolean(exportingRef.current),
|
|
65548
65751
|
compacting: Boolean(compactingRef.current),
|
|
65549
65752
|
textPrompt: Boolean(textPromptRef.current),
|
|
@@ -65650,10 +65853,66 @@ ${plugins.map((plugin) => {
|
|
|
65650
65853
|
copyPicker,
|
|
65651
65854
|
wakeGoalDriver
|
|
65652
65855
|
]);
|
|
65856
|
+
(0, import_react60.useEffect)(() => {
|
|
65857
|
+
const panel = retireAtTurnEndRef.current;
|
|
65858
|
+
if (panel === null) return;
|
|
65859
|
+
if (choicePickerRef.current !== panel) {
|
|
65860
|
+
retireAtTurnEndRef.current = null;
|
|
65861
|
+
return;
|
|
65862
|
+
}
|
|
65863
|
+
if (state !== "idle" || abortRef.current !== null || hasUnsettledTurn()) return;
|
|
65864
|
+
retireAtTurnEndRef.current = null;
|
|
65865
|
+
setSelectedChoice(0);
|
|
65866
|
+
setChoicePicker(null);
|
|
65867
|
+
}, [
|
|
65868
|
+
state,
|
|
65869
|
+
choicePicker,
|
|
65870
|
+
queueSettleVersion,
|
|
65871
|
+
hasUnsettledTurn,
|
|
65872
|
+
setChoicePicker,
|
|
65873
|
+
setSelectedChoice
|
|
65874
|
+
]);
|
|
65875
|
+
(0, import_react60.useEffect)(() => {
|
|
65876
|
+
const deferred = deferredModelRef.current;
|
|
65877
|
+
if (!deferred) return;
|
|
65878
|
+
const facts = { ...roundGateFacts(), queueLength: 0, queuePaused: false };
|
|
65879
|
+
if (admissionBlocked("peer", facts) !== null) return;
|
|
65880
|
+
deferredModelRef.current = null;
|
|
65881
|
+
void selectModelIntent(deferred.query, {
|
|
65882
|
+
atBoundary: true,
|
|
65883
|
+
quiet: deferred.quiet
|
|
65884
|
+
});
|
|
65885
|
+
}, [
|
|
65886
|
+
state,
|
|
65887
|
+
phase,
|
|
65888
|
+
queued,
|
|
65889
|
+
queueSettleVersion,
|
|
65890
|
+
modelSwitchVersion,
|
|
65891
|
+
textPrompt,
|
|
65892
|
+
choicePicker,
|
|
65893
|
+
copyPicker,
|
|
65894
|
+
hasUnsettledTurn,
|
|
65895
|
+
selectModelIntent
|
|
65896
|
+
]);
|
|
65653
65897
|
(0, import_react60.useEffect)(() => {
|
|
65654
65898
|
if (admissionBlocked("queue", roundGateFacts()) !== null) return;
|
|
65655
65899
|
const next = dequeueQueued();
|
|
65656
|
-
if (next
|
|
65900
|
+
if (next === void 0) return;
|
|
65901
|
+
if (next.kind === "human" && next.command) {
|
|
65902
|
+
const behind = roundQueueRef.current.items();
|
|
65903
|
+
roundQueueRef.current.replace([]);
|
|
65904
|
+
queuedBehindCommandRef.current = behind;
|
|
65905
|
+
try {
|
|
65906
|
+
handleSubmit(next.text, void 0, "submit", {
|
|
65907
|
+
source: "queued-command"
|
|
65908
|
+
});
|
|
65909
|
+
} finally {
|
|
65910
|
+
roundQueueRef.current.replace([...roundQueueRef.current.items(), ...behind]);
|
|
65911
|
+
queuedBehindCommandRef.current = null;
|
|
65912
|
+
}
|
|
65913
|
+
return;
|
|
65914
|
+
}
|
|
65915
|
+
void runTurn(next);
|
|
65657
65916
|
}, [
|
|
65658
65917
|
state,
|
|
65659
65918
|
phase,
|
|
@@ -65665,6 +65924,7 @@ ${plugins.map((plugin) => {
|
|
|
65665
65924
|
choicePicker,
|
|
65666
65925
|
copyPicker,
|
|
65667
65926
|
dequeueQueued,
|
|
65927
|
+
handleSubmit,
|
|
65668
65928
|
hasUnsettledTurn,
|
|
65669
65929
|
runTurn
|
|
65670
65930
|
]);
|
|
@@ -65674,6 +65934,7 @@ ${plugins.map((plugin) => {
|
|
|
65674
65934
|
peersStartingRef.current = true;
|
|
65675
65935
|
let disposed = false;
|
|
65676
65936
|
let opened = null;
|
|
65937
|
+
const workspaceHostSlot = hostSlot(process.env);
|
|
65677
65938
|
const hostFacts = /* @__PURE__ */ __name(() => {
|
|
65678
65939
|
let activity;
|
|
65679
65940
|
try {
|
|
@@ -65707,10 +65968,10 @@ ${plugins.map((plugin) => {
|
|
|
65707
65968
|
wakePeers((version) => version + 1);
|
|
65708
65969
|
}, "available"),
|
|
65709
65970
|
report: /* @__PURE__ */ __name((text) => pushMessage("system", text), "report"),
|
|
65710
|
-
...
|
|
65711
|
-
// Only a session inside a
|
|
65971
|
+
...workspaceHostSlot ? { hostSlot: workspaceHostSlot } : {},
|
|
65972
|
+
// Only a session inside a workspaces host writes the new record fields, so a plain
|
|
65712
65973
|
// session stays readable by builds that predate them.
|
|
65713
|
-
...
|
|
65974
|
+
...workspaceHostSlot ? {
|
|
65714
65975
|
conversation: /* @__PURE__ */ __name(() => conversationMaterializedRef.current ? scopeRef.current?.sessionId : void 0, "conversation"),
|
|
65715
65976
|
account: /* @__PURE__ */ __name(() => hostFacts().account, "account"),
|
|
65716
65977
|
limited: /* @__PURE__ */ __name(() => hostFacts().limited, "limited"),
|
|
@@ -67171,7 +67432,7 @@ ${plugins.map((plugin) => {
|
|
|
67171
67432
|
onDraftPresenceChange: setComposerHasDraft,
|
|
67172
67433
|
onOpenAgentPanel: focusAgentRail,
|
|
67173
67434
|
onOpenAgents: () => void openAgentCockpit(),
|
|
67174
|
-
|
|
67435
|
+
onOpenWorkspaces: onOpenWorkspaces ? () => void onOpenWorkspaces().then((opened) => {
|
|
67175
67436
|
if (!opened) void openAgentCockpit();
|
|
67176
67437
|
}) : void 0,
|
|
67177
67438
|
onScrollTranscript: () => setScrollOpen(true),
|
|
@@ -67233,8 +67494,8 @@ ${plugins.map((plugin) => {
|
|
|
67233
67494
|
monitorCount: showComposerSurface && !childSurfaceOpen ? runningMonitorCount : 0,
|
|
67234
67495
|
pr: prStatus,
|
|
67235
67496
|
hyperlinks,
|
|
67236
|
-
agentCount: footerKeysLive && !
|
|
67237
|
-
workflowCount: footerKeysLive && !
|
|
67497
|
+
agentCount: footerKeysLive && !onOpenWorkspaces ? runningAgentCount : 0,
|
|
67498
|
+
workflowCount: footerKeysLive && !onOpenWorkspaces ? runningWorkflowCount : 0,
|
|
67238
67499
|
canManage: footerKeysLive && railFocus === null && (runningShellCount > 0 || railHasRows),
|
|
67239
67500
|
shellsSelected: railFocus === SHELLS_FOCUS,
|
|
67240
67501
|
...tasks.length > 0 && showComposerSurface && !childSurfaceOpen ? { tasksOpen: checklistOpen } : {},
|
|
@@ -67415,9 +67676,15 @@ function withAccountLabel(model, provider, account) {
|
|
|
67415
67676
|
}
|
|
67416
67677
|
__name(withAccountLabel, "withAccountLabel");
|
|
67417
67678
|
function choicePickerSearchable(picker) {
|
|
67418
|
-
return [
|
|
67419
|
-
|
|
67420
|
-
|
|
67679
|
+
return [
|
|
67680
|
+
"command",
|
|
67681
|
+
"skill",
|
|
67682
|
+
"plugin",
|
|
67683
|
+
"review-branch",
|
|
67684
|
+
"review-commit",
|
|
67685
|
+
"account",
|
|
67686
|
+
"model-live"
|
|
67687
|
+
].includes(picker.kind);
|
|
67421
67688
|
}
|
|
67422
67689
|
__name(choicePickerSearchable, "choicePickerSearchable");
|
|
67423
67690
|
function loadedPluginPicker(owner) {
|
|
@@ -67955,7 +68222,7 @@ function fileTipHistory(home) {
|
|
|
67955
68222
|
__name(fileTipHistory, "fileTipHistory");
|
|
67956
68223
|
|
|
67957
68224
|
// src/tui/zoom/leave.ts
|
|
67958
|
-
async function
|
|
68225
|
+
async function leaveWorkspacesBounded(options) {
|
|
67959
68226
|
let wanted = true;
|
|
67960
68227
|
let timer;
|
|
67961
68228
|
const hand = /* @__PURE__ */ __name(async () => {
|
|
@@ -67975,7 +68242,7 @@ async function leaveSpacesBounded(options) {
|
|
|
67975
68242
|
clearTimeout(timer);
|
|
67976
68243
|
}
|
|
67977
68244
|
}
|
|
67978
|
-
__name(
|
|
68245
|
+
__name(leaveWorkspacesBounded, "leaveWorkspacesBounded");
|
|
67979
68246
|
|
|
67980
68247
|
// src/tui/zoom/proxy.ts
|
|
67981
68248
|
import { EventEmitter as EventEmitter3 } from "node:events";
|
|
@@ -68119,7 +68386,7 @@ function createTerminalProxy(realOut, realIn) {
|
|
|
68119
68386
|
__name(createTerminalProxy, "createTerminalProxy");
|
|
68120
68387
|
|
|
68121
68388
|
// src/tui/index.tsx
|
|
68122
|
-
var
|
|
68389
|
+
var LEAVE_WORKSPACES_MS = 2e3;
|
|
68123
68390
|
async function launchTui(ctx, options = {}) {
|
|
68124
68391
|
const invocation = {
|
|
68125
68392
|
cwd: resolve8(ctx.cwd),
|
|
@@ -68152,51 +68419,51 @@ async function launchTui(ctx, options = {}) {
|
|
|
68152
68419
|
const proxy = !hosted && consoleInput === void 0 && process.platform !== "win32" && process.stdout.isTTY === true && inputStream.isTTY === true ? createTerminalProxy(process.stdout, inputStream) : null;
|
|
68153
68420
|
const terminationExit = { current: null };
|
|
68154
68421
|
const repaint = { current: null };
|
|
68155
|
-
const
|
|
68422
|
+
const workspaces = {
|
|
68156
68423
|
current: null
|
|
68157
68424
|
};
|
|
68158
|
-
const
|
|
68159
|
-
|
|
68160
|
-
(m) => m.
|
|
68425
|
+
const workspacesEntry = /* @__PURE__ */ __name(() => {
|
|
68426
|
+
workspaces.current ??= import("./entry-Z2QTPFTK.js").then(
|
|
68427
|
+
(m) => m.createWorkspacesEntry({
|
|
68161
68428
|
proxy,
|
|
68162
68429
|
realOut: process.stdout,
|
|
68163
68430
|
env: process.env,
|
|
68164
68431
|
cwd: process.cwd(),
|
|
68165
68432
|
entry: process.argv[1],
|
|
68166
|
-
prefixSetting: ctx.tui?.spacesPrefix,
|
|
68433
|
+
prefixSetting: ctx.tui?.workspacesPrefix ?? ctx.tui?.spacesPrefix,
|
|
68167
68434
|
...ctx.tui?.mouse !== void 0 ? { mouseSetting: ctx.tui.mouse } : {},
|
|
68168
68435
|
...ctx.tui?.copyOnSelect !== void 0 ? { copyOnSelect: ctx.tui.copyOnSelect } : {},
|
|
68169
68436
|
requestExit: /* @__PURE__ */ __name(() => terminationExit.current ? terminationExit.current() : instance.unmount(), "requestExit"),
|
|
68170
68437
|
repaint: /* @__PURE__ */ __name(() => repaint.current?.(), "repaint")
|
|
68171
68438
|
})
|
|
68172
68439
|
);
|
|
68173
|
-
return
|
|
68174
|
-
}, "
|
|
68175
|
-
const
|
|
68176
|
-
process.stdout.write(
|
|
68440
|
+
return workspaces.current;
|
|
68441
|
+
}, "workspacesEntry");
|
|
68442
|
+
const onOpenWorkspaces = hosted ? () => {
|
|
68443
|
+
process.stdout.write(workspacesSignal("zoom-out"));
|
|
68177
68444
|
return Promise.resolve(true);
|
|
68178
68445
|
} : proxy !== null ? async () => {
|
|
68179
68446
|
try {
|
|
68180
|
-
return await (await
|
|
68447
|
+
return await (await workspacesEntry()).open();
|
|
68181
68448
|
} catch {
|
|
68182
68449
|
return false;
|
|
68183
68450
|
}
|
|
68184
68451
|
} : void 0;
|
|
68185
68452
|
const onConfirmExit = !hosted && proxy !== null ? async () => {
|
|
68186
68453
|
try {
|
|
68187
|
-
return
|
|
68454
|
+
return workspaces.current === null ? true : await (await workspaces.current).confirmExit();
|
|
68188
68455
|
} catch {
|
|
68189
68456
|
return true;
|
|
68190
68457
|
}
|
|
68191
68458
|
} : void 0;
|
|
68192
68459
|
const beforeExit = !hosted && proxy !== null ? async () => {
|
|
68193
|
-
if (
|
|
68194
|
-
await
|
|
68195
|
-
release: /* @__PURE__ */ __name((stillWanted) =>
|
|
68460
|
+
if (workspaces.current === null) return;
|
|
68461
|
+
await leaveWorkspacesBounded({
|
|
68462
|
+
release: /* @__PURE__ */ __name((stillWanted) => workspaces.current.then(
|
|
68196
68463
|
(entry) => entry.release(stillWanted)
|
|
68197
68464
|
), "release"),
|
|
68198
68465
|
flush: /* @__PURE__ */ __name(() => instance.waitUntilRenderFlush(), "flush"),
|
|
68199
|
-
limitMs:
|
|
68466
|
+
limitMs: LEAVE_WORKSPACES_MS
|
|
68200
68467
|
});
|
|
68201
68468
|
} : void 0;
|
|
68202
68469
|
let terminatedBy = null;
|
|
@@ -68208,7 +68475,7 @@ async function launchTui(ctx, options = {}) {
|
|
|
68208
68475
|
}, "onExitSummary"),
|
|
68209
68476
|
terminationExit,
|
|
68210
68477
|
repaint,
|
|
68211
|
-
...
|
|
68478
|
+
...onOpenWorkspaces ? { onOpenWorkspaces } : {},
|
|
68212
68479
|
...onConfirmExit ? { onConfirmExit } : {},
|
|
68213
68480
|
...beforeExit ? { beforeExit } : {},
|
|
68214
68481
|
examplePrompts: true,
|
|
@@ -68237,12 +68504,12 @@ async function launchTui(ctx, options = {}) {
|
|
|
68237
68504
|
if (terminationExit.current) terminationExit.current();
|
|
68238
68505
|
else instance.unmount();
|
|
68239
68506
|
await instance.waitUntilExit();
|
|
68240
|
-
if (
|
|
68507
|
+
if (workspaces.current !== null) await (await workspaces.current).shutdown();
|
|
68241
68508
|
});
|
|
68242
68509
|
try {
|
|
68243
68510
|
await instance.waitUntilExit();
|
|
68244
68511
|
} finally {
|
|
68245
|
-
if (
|
|
68512
|
+
if (workspaces.current !== null) await (await workspaces.current).shutdown();
|
|
68246
68513
|
termination.dispose();
|
|
68247
68514
|
stopSizeWatch?.();
|
|
68248
68515
|
stopFocusReporting();
|
|
@@ -68346,4 +68613,4 @@ react/cjs/react-jsx-runtime.development.js:
|
|
|
68346
68613
|
* LICENSE file in the root directory of this source tree.
|
|
68347
68614
|
*)
|
|
68348
68615
|
*/
|
|
68349
|
-
//# sourceMappingURL=tui-
|
|
68616
|
+
//# sourceMappingURL=tui-VBX3GXNF.js.map
|