@namzu/cli 45.0.0 → 45.2.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 +55 -0
- package/README.md +1 -1
- package/dist/bin.js +1 -1
- package/dist/chunks/{acp-XSAUUT2D.js → acp-TYPW7WFK.js} +52 -49
- package/dist/chunks/acp-TYPW7WFK.js.map +6 -0
- package/dist/chunks/{activity-command-DB4DREW7.js → activity-command-D744W6SC.js} +13 -13
- package/dist/chunks/{add-NVXRVUGY.js → add-QEKJGVR4.js} +21 -20
- package/dist/chunks/add-QEKJGVR4.js.map +6 -0
- package/dist/chunks/{agent-6TD66IMV.js → agent-JWTNZ4PK.js} +40 -38
- package/dist/chunks/agent-session-OGPKSSKG.js +71 -0
- package/dist/chunks/{archive-A3X7KX2U.js → archive-FLZUJDJZ.js} +11 -11
- package/dist/chunks/{bin-main-5PYV7WYI.js → bin-main-UI3NYIJE.js} +5 -5
- package/dist/chunks/{binding-EMMG5PAE.js → binding-JQUI2CTZ.js} +3 -3
- package/dist/chunks/{browser-FUFFJBRR.js → browser-YZCY2CI6.js} +6 -6
- package/dist/chunks/{chat-M653DEAF.js → chat-F3WXVEDM.js} +16 -16
- package/dist/chunks/{chunk-OMRU22BQ.js → chunk-24NEAMG5.js} +3 -3
- package/dist/chunks/chunk-2IPDTDB3.js +80 -0
- package/dist/chunks/chunk-2IPDTDB3.js.map +6 -0
- package/dist/chunks/{chunk-325X27UO.js → chunk-4E33SWZU.js} +4 -4
- package/dist/chunks/{chunk-MMZHUQZQ.js → chunk-4HL5LUP5.js} +497 -63
- package/dist/chunks/chunk-4HL5LUP5.js.map +6 -0
- package/dist/chunks/{chunk-C4MAQ64X.js → chunk-4WHMQBUC.js} +130 -106
- package/dist/chunks/chunk-4WHMQBUC.js.map +6 -0
- package/dist/chunks/{chunk-4DVCHAWN.js → chunk-4YBTLYYH.js} +83 -54
- package/dist/chunks/chunk-4YBTLYYH.js.map +6 -0
- package/dist/chunks/{chunk-U6U472VN.js → chunk-5DFBOMTX.js} +3 -3
- package/dist/chunks/{chunk-HV2JFRSE.js → chunk-5OGY4CE7.js} +2 -2
- package/dist/chunks/{chunk-IRUDNBAR.js → chunk-5W7CSQXQ.js} +4 -4
- package/dist/chunks/{chunk-H6AUN2YD.js → chunk-6F4PW7TF.js} +5 -5
- package/dist/chunks/{chunk-LHZSSQ6K.js → chunk-6NDJLXKW.js} +4 -4
- package/dist/chunks/{chunk-NXX6C3WS.js → chunk-6OWRRNLC.js} +2 -2
- package/dist/chunks/chunk-6ULKBT6P.js +83 -0
- package/dist/chunks/chunk-6ULKBT6P.js.map +6 -0
- package/dist/chunks/{chunk-FUJSGQYW.js → chunk-6WPKPHE2.js} +10 -10
- package/dist/chunks/{chunk-HFD2VRQP.js → chunk-6XL5ZMAL.js} +7 -5
- package/dist/chunks/chunk-6XL5ZMAL.js.map +6 -0
- package/dist/chunks/{chunk-VHFPIYVY.js → chunk-7BRK6EHB.js} +2 -2
- package/dist/chunks/{chunk-WSIMHBEQ.js → chunk-7HNWFGWD.js} +2 -2
- package/dist/chunks/{chunk-IYEDXZQZ.js → chunk-7XAUAIGO.js} +587 -441
- package/dist/chunks/chunk-7XAUAIGO.js.map +6 -0
- package/dist/chunks/{chunk-THQAGFMO.js → chunk-A72NRUYG.js} +13 -13
- package/dist/chunks/{chunk-U33GIKBK.js → chunk-ADG5OPNS.js} +4 -4
- package/dist/chunks/{chunk-HH3NBBBE.js → chunk-B7QEQ7Y3.js} +2 -2
- package/dist/chunks/{chunk-G5FWVYK2.js → chunk-BWI7L43E.js} +6 -6
- package/dist/chunks/{chunk-2OAD3CZE.js → chunk-CAOGKKB5.js} +3 -3
- package/dist/chunks/{chunk-K5FQ4G64.js → chunk-D7BXM6WW.js} +2 -2
- 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-RJQ6WQYX.js → chunk-E3OXUQQB.js} +4 -69
- package/dist/chunks/chunk-E3OXUQQB.js.map +6 -0
- package/dist/chunks/{chunk-KZ5WYSA6.js → chunk-EPIIR5CJ.js} +9 -9
- package/dist/chunks/{chunk-M7LCVDP3.js → chunk-EVRWBRUB.js} +2 -2
- package/dist/chunks/{chunk-MYSU54EZ.js → chunk-EVZAGFTY.js} +12 -12
- package/dist/chunks/{chunk-MYSU54EZ.js.map → chunk-EVZAGFTY.js.map} +1 -1
- package/dist/chunks/{chunk-3F3V2PB7.js → chunk-FJONRQQU.js} +3 -1
- package/dist/chunks/{chunk-3F3V2PB7.js.map → chunk-FJONRQQU.js.map} +1 -1
- package/dist/chunks/{chunk-6PDIDZGX.js → chunk-GSAYGBOR.js} +24 -12
- package/dist/chunks/{chunk-6PDIDZGX.js.map → chunk-GSAYGBOR.js.map} +2 -2
- package/dist/chunks/{chunk-BICC735N.js → chunk-GXQ4G3KA.js} +3 -3
- package/dist/chunks/{chunk-THJQXERD.js → chunk-H2JLRNYH.js} +8 -8
- package/dist/chunks/{chunk-S2UDKXWH.js → chunk-H2RDYYTB.js} +2 -2
- package/dist/chunks/{chunk-P6RUYL3F.js → chunk-H5H6HDRA.js} +3 -3
- package/dist/chunks/{chunk-6TT7NXLP.js → chunk-HB4LEJMU.js} +20 -337
- package/dist/chunks/chunk-HB4LEJMU.js.map +6 -0
- package/dist/chunks/{chunk-ADCVLGQO.js → chunk-HIJXUSOS.js} +3 -3
- package/dist/chunks/{chunk-GAEZQRQI.js → chunk-HYPNAC4H.js} +3 -3
- package/dist/chunks/{chunk-OENL667J.js → chunk-I6W3KJR3.js} +2 -2
- package/dist/chunks/{chunk-HGIIAAEG.js → chunk-IFEBBQ2M.js} +3 -3
- package/dist/chunks/{chunk-X7WLWVR7.js → chunk-IPVDXTWF.js} +2 -2
- package/dist/chunks/{chunk-FZR4XULA.js → chunk-IZDYKTPN.js} +6 -6
- package/dist/chunks/{chunk-7TBETDTX.js → chunk-JCLZ5HXI.js} +2 -2
- package/dist/chunks/{chunk-7NJAEWFK.js → chunk-JU7JQ62S.js} +3 -3
- package/dist/chunks/{chunk-JAB62RI5.js → chunk-KY2WSKNM.js} +2 -2
- package/dist/chunks/{chunk-THUX2WOG.js → chunk-L3XUPXPP.js} +12 -12
- package/dist/chunks/{chunk-Y2PZNQH5.js → chunk-LMVXENEF.js} +3 -3
- package/dist/chunks/{chunk-GCFXQSN6.js → chunk-LOKFLXQL.js} +2 -2
- package/dist/chunks/{chunk-BOM64EUQ.js → chunk-NFATUZMX.js} +2 -2
- package/dist/chunks/{chunk-VAP6YMB6.js → chunk-NGMXEU2B.js} +2 -2
- package/dist/chunks/{chunk-J2FGTLZV.js → chunk-NI3LZ6UX.js} +2 -2
- package/dist/chunks/{chunk-TFOIA3U3.js → chunk-NS4PN3SI.js} +2 -2
- package/dist/chunks/{chunk-ANHFJD66.js → chunk-NZ6DX5CL.js} +4 -4
- package/dist/chunks/{chunk-B6INWHLR.js → chunk-PAY5TGHV.js} +3 -3
- package/dist/chunks/{chunk-KVCYYXCS.js → chunk-PFFQOCEI.js} +2 -2
- package/dist/chunks/{chunk-E3FA5H3Q.js → chunk-POKKY7MR.js} +6 -5
- package/dist/chunks/chunk-POKKY7MR.js.map +6 -0
- package/dist/chunks/{chunk-CDDS3UKB.js → chunk-PQTS7XQB.js} +12 -12
- package/dist/chunks/{chunk-6ZEHXLF7.js → chunk-Q6DM2TVI.js} +2 -2
- package/dist/chunks/{chunk-MKRYUMLP.js → chunk-Q6RZ64FS.js} +5 -5
- package/dist/chunks/{chunk-VGUU6E6X.js → chunk-Q7ELMF4C.js} +6 -6
- package/dist/chunks/chunk-QLDUL46Z.js +338 -0
- package/dist/chunks/chunk-QLDUL46Z.js.map +6 -0
- package/dist/chunks/{chunk-TUF4NNJV.js → chunk-QWVWGW6I.js} +2 -2
- package/dist/chunks/{chunk-VY377HAA.js → chunk-QXNROEIH.js} +4 -4
- 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-2YCPLLUW.js → chunk-RISNSR62.js} +4 -4
- package/dist/chunks/{chunk-2YCPLLUW.js.map → chunk-RISNSR62.js.map} +1 -1
- package/dist/chunks/{chunk-WG32TSVL.js → chunk-RPCJJZTI.js} +3 -3
- package/dist/chunks/{chunk-P7MNE6YP.js → chunk-T3NLKQO2.js} +4 -4
- package/dist/chunks/{chunk-EFU2OFEK.js → chunk-TCRGKEEX.js} +42 -2
- package/dist/chunks/chunk-TCRGKEEX.js.map +6 -0
- package/dist/chunks/{chunk-43PTHA5N.js → chunk-TGPKTH2S.js} +2 -2
- package/dist/chunks/{chunk-667W6Z5W.js → chunk-TOJSNO4M.js} +5 -5
- package/dist/chunks/{chunk-L6QJZZCJ.js → chunk-U4YXQWPW.js} +6 -6
- package/dist/chunks/{chunk-P6FEQPES.js → chunk-U5BN3L3Y.js} +2 -2
- package/dist/chunks/{chunk-TKIWAXRU.js → chunk-UQJPNUDU.js} +7 -7
- package/dist/chunks/{chunk-S766UWAQ.js → chunk-V26FS5VG.js} +2 -2
- package/dist/chunks/{chunk-LR4QQMJH.js → chunk-V3R3MR7F.js} +4 -4
- package/dist/chunks/chunk-V45XJDX3.js +176 -0
- package/dist/chunks/chunk-V45XJDX3.js.map +6 -0
- package/dist/chunks/{chunk-NUNOIP4Y.js → chunk-VPJG7NQL.js} +2 -2
- package/dist/chunks/{chunk-AHNXQAYZ.js → chunk-VZC7FE4F.js} +91 -100
- package/dist/chunks/chunk-VZC7FE4F.js.map +6 -0
- package/dist/chunks/{chunk-43HR3AF5.js → chunk-W6E3PSFH.js} +2 -2
- package/dist/chunks/{chunk-24FBGXYR.js → chunk-WNOB6C62.js} +2 -2
- package/dist/chunks/{chunk-U3EQTU4G.js → chunk-X2F5ZFBV.js} +4 -4
- package/dist/chunks/{chunk-7DR7EU3J.js → chunk-X4TNXFUB.js} +59 -36
- package/dist/chunks/chunk-X4TNXFUB.js.map +6 -0
- package/dist/chunks/{chunk-YLNQLDMP.js → chunk-XHR3UCKT.js} +4 -4
- package/dist/chunks/{chunk-X4WCRRZV.js → chunk-XK26JNIF.js} +6 -6
- package/dist/chunks/{chunk-JKPUOSDC.js → chunk-XN7C5GWO.js} +2 -2
- package/dist/chunks/{chunk-46OOPRR6.js → chunk-XOIXLN2Y.js} +3 -3
- package/dist/chunks/{chunk-D23EJNO5.js → chunk-ZB45QDNU.js} +3 -3
- package/dist/chunks/{cli-runtime-QWBGE2VF.js → cli-runtime-QOMHGRZL.js} +12 -11
- package/dist/chunks/cli-runtime-QOMHGRZL.js.map +6 -0
- package/dist/chunks/{commands-LVUUZ6LF.js → commands-56WUDKVN.js} +5 -5
- package/dist/chunks/{crash-report-PGXMRS5P.js → crash-report-KHJZ3AKU.js} +6 -6
- package/dist/chunks/{dist-JRBSW53E.js → dist-7UW2VLWO.js} +3 -2
- package/dist/chunks/{dist-JRBSW53E.js.map → dist-7UW2VLWO.js.map} +1 -1
- package/dist/chunks/{dist-VON3NRHE.js → dist-BLC5XSXL.js} +185 -120
- package/dist/chunks/dist-BLC5XSXL.js.map +6 -0
- package/dist/chunks/{dist-NSCNMOX7.js → dist-BLCQRSQS.js} +2 -2
- package/dist/chunks/{dist-V4SNHHMB.js → dist-GUHZ3EE6.js} +5 -2
- package/dist/chunks/dist-GUHZ3EE6.js.map +6 -0
- package/dist/chunks/{dist-6HN2ZMLV.js → dist-L757TGUH.js} +3 -3
- package/dist/chunks/dist-L757TGUH.js.map +6 -0
- package/dist/chunks/{dist-TC6H7TPQ.js → dist-QZPA2XDK.js} +6 -2
- package/dist/chunks/{dist-VV3V36IP.js → dist-SEXSU4PO.js} +4 -2
- package/dist/chunks/{dist-VV3V36IP.js.map → dist-SEXSU4PO.js.map} +1 -1
- package/dist/chunks/{dist-JJANJMY5.js → dist-Y6IO47UU.js} +3 -2
- package/dist/chunks/{dist-JJANJMY5.js.map → dist-Y6IO47UU.js.map} +1 -1
- package/dist/chunks/{doctor-P7L35KGN.js → doctor-LCRG5FBA.js} +16 -16
- package/dist/chunks/{drain-HOHRXIYY.js → drain-47IMDCI5.js} +10 -10
- package/dist/chunks/{entry-L7XZIE7J.js → entry-P6YPWRQW.js} +27 -21
- package/dist/chunks/{entry-L7XZIE7J.js.map → entry-P6YPWRQW.js.map} +1 -1
- package/dist/chunks/{eval-2F473JAC.js → eval-5ZIBALCB.js} +2 -2
- package/dist/chunks/{exec-VCM4AL2S.js → exec-ELIM7XVY.js} +53 -36
- package/dist/chunks/exec-ELIM7XVY.js.map +6 -0
- package/dist/chunks/{home-R6WCBSOT.js → home-DXPCVXZK.js} +3 -3
- package/dist/chunks/host-QE4D3UXC.js +30 -0
- package/dist/chunks/{host-queries-QWV47CFK.js → host-queries-5H765XNX.js} +17 -17
- package/dist/chunks/{learn-3UPHM5OI.js → learn-Y5IBBZDY.js} +13 -13
- package/dist/chunks/{learn-builtin-3Q4BJFCF.js → learn-builtin-ND3T6U5L.js} +16 -16
- package/dist/chunks/{lifecycle-EJLVISCU.js → lifecycle-FJS7LD7B.js} +31 -30
- package/dist/chunks/{list-DQJBF4AB.js → list-6HQMG7TU.js} +12 -11
- package/dist/chunks/list-6HQMG7TU.js.map +6 -0
- package/dist/chunks/{live-IWDOVSLG.js → live-CSA2LX3R.js} +15 -15
- package/dist/chunks/{login-B2PHE6IL.js → login-42ZPPMYK.js} +13 -13
- package/dist/chunks/{logs-5UTV3FMG.js → logs-7MAFXNFR.js} +4 -4
- package/dist/chunks/{mcp-JN36OQLX.js → mcp-5RQSD6QV.js} +22 -21
- package/dist/chunks/mcp-5RQSD6QV.js.map +6 -0
- package/dist/chunks/{message-command-RMLQ2PU5.js → message-command-V3CL4DNT.js} +46 -44
- package/dist/chunks/message-command-V3CL4DNT.js.map +6 -0
- package/dist/chunks/{mouse-WFSJSLQD.js → mouse-EJQML44I.js} +2 -2
- package/dist/chunks/{open-LDBJL43A.js → open-3I5NZTSX.js} +8 -8
- package/dist/chunks/{operator-tools-NA7PLRIP.js → operator-tools-PK2WYSF3.js} +14 -14
- package/dist/chunks/{output-schema-UKYWRZPS.js → output-schema-2UJ7LOOX.js} +3 -3
- package/dist/chunks/{pal-MAVUNYMB.js → pal-WXN4O3DD.js} +16 -16
- package/dist/chunks/{palette-WDPS7W6Q.js → palette-CL5OOYGK.js} +10 -4
- package/dist/chunks/{peers-FBTQW2SY.js → peers-JQOUU3CX.js} +6 -6
- package/dist/chunks/{prefix-MLAG4KTK.js → prefix-3ZNPUSUK.js} +2 -2
- package/dist/chunks/{providers-M75ET3GT.js → providers-SI467SWN.js} +11 -11
- package/dist/chunks/{pty-VMUEEJRN.js → pty-T5LBAATA.js} +3 -3
- package/dist/chunks/{resident-URNRPE2S.js → resident-NGQORA2W.js} +26 -25
- package/dist/chunks/resident-NGQORA2W.js.map +6 -0
- package/dist/chunks/resume-GPXJJXCK.js +24 -0
- package/dist/chunks/{resume-command-5QGHV6WR.js → resume-command-V6ZKY7J6.js} +4 -4
- package/dist/chunks/{schedule-BK3WF2VK.js → schedule-4L4DTRC5.js} +8 -8
- package/dist/chunks/{service-VWASFP3R.js → service-EV6VQYJD.js} +30 -29
- package/dist/chunks/service-EV6VQYJD.js.map +6 -0
- package/dist/chunks/{session-step-DORV5FER.js → session-step-ZCZNC52S.js} +15 -15
- package/dist/chunks/{skills-TDDPMTQI.js → skills-QARQHL6M.js} +8 -8
- package/dist/chunks/{start-check-N4TPV2TM.js → start-check-W72K6M5Q.js} +2 -2
- package/dist/chunks/{state-SHLWYVZU.js → state-ADQWQEYB.js} +2 -2
- package/dist/chunks/store-IVVYIPV2.js +21 -0
- package/dist/chunks/{store-GUSFCKJA.js → store-KOGQWG66.js} +11 -11
- package/dist/chunks/{store-CQVUIU7K.js → store-RF6D7U2T.js} +6 -6
- package/dist/chunks/{store-75YZOOZI.js → store-TFJ73ZAM.js} +4 -4
- package/dist/chunks/{tui-PGHWYFN4.js → tui-CCAGK7BG.js} +464 -161
- package/dist/chunks/tui-CCAGK7BG.js.map +6 -0
- package/dist/chunks/{upgrade-RHPZQ33L.js → upgrade-LN6TFWDW.js} +6 -6
- package/dist/chunks/{spaces-AEOU6MSZ.js → workspaces-5ZKKOX4X.js} +79 -53
- package/dist/chunks/workspaces-5ZKKOX4X.js.map +6 -0
- package/dist/chunks/{worktree-5IYFN33C.js → worktree-5M2XFFJT.js} +13 -13
- package/dist/cli.d.ts.map +1 -1
- package/dist/commands/desktop-host.d.ts.map +1 -1
- package/dist/commands/exec-json.d.ts.map +1 -1
- package/dist/commands/exec.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/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 +22 -3
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/context/runtime-message.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/learning/session-feed.d.ts.map +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/rounds/types.d.ts +6 -0
- package/dist/rounds/types.d.ts.map +1 -1
- 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 +27 -0
- package/dist/tui/agent.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 +36 -0
- package/dist/tui/model-refusal.d.ts.map +1 -0
- package/dist/tui/plain-interruption.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/turn-interruption.d.ts.map +1 -1
- package/dist/tui/types.d.ts +2 -0
- package/dist/tui/types.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 +11 -11
- package/dist/chunks/acp-XSAUUT2D.js.map +0 -6
- package/dist/chunks/add-NVXRVUGY.js.map +0 -6
- package/dist/chunks/agent-session-3A5K5VK3.js +0 -69
- package/dist/chunks/chunk-4DVCHAWN.js.map +0 -6
- package/dist/chunks/chunk-6TT7NXLP.js.map +0 -6
- package/dist/chunks/chunk-7DR7EU3J.js.map +0 -6
- package/dist/chunks/chunk-AHNXQAYZ.js.map +0 -6
- package/dist/chunks/chunk-C4MAQ64X.js.map +0 -6
- package/dist/chunks/chunk-E3FA5H3Q.js.map +0 -6
- package/dist/chunks/chunk-EFU2OFEK.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-HFD2VRQP.js.map +0 -6
- package/dist/chunks/chunk-IYEDXZQZ.js.map +0 -6
- package/dist/chunks/chunk-MMZHUQZQ.js.map +0 -6
- package/dist/chunks/chunk-RJQ6WQYX.js.map +0 -6
- package/dist/chunks/cli-runtime-QWBGE2VF.js.map +0 -6
- package/dist/chunks/dist-6HN2ZMLV.js.map +0 -6
- package/dist/chunks/dist-V4SNHHMB.js.map +0 -6
- package/dist/chunks/dist-VON3NRHE.js.map +0 -6
- package/dist/chunks/exec-VCM4AL2S.js.map +0 -6
- package/dist/chunks/host-JGPJVLTC.js +0 -28
- package/dist/chunks/list-DQJBF4AB.js.map +0 -6
- package/dist/chunks/mcp-JN36OQLX.js.map +0 -6
- package/dist/chunks/message-command-RMLQ2PU5.js.map +0 -6
- package/dist/chunks/resident-URNRPE2S.js.map +0 -6
- package/dist/chunks/resume-7B3EHDJ7.js +0 -24
- package/dist/chunks/service-VWASFP3R.js.map +0 -6
- package/dist/chunks/spaces-AEOU6MSZ.js.map +0 -6
- package/dist/chunks/store-Z5H6LYVE.js +0 -17
- package/dist/chunks/tui-PGHWYFN4.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-DB4DREW7.js.map → activity-command-D744W6SC.js.map} +0 -0
- /package/dist/chunks/{agent-6TD66IMV.js.map → agent-JWTNZ4PK.js.map} +0 -0
- /package/dist/chunks/{agent-session-3A5K5VK3.js.map → agent-session-OGPKSSKG.js.map} +0 -0
- /package/dist/chunks/{archive-A3X7KX2U.js.map → archive-FLZUJDJZ.js.map} +0 -0
- /package/dist/chunks/{bin-main-5PYV7WYI.js.map → bin-main-UI3NYIJE.js.map} +0 -0
- /package/dist/chunks/{binding-EMMG5PAE.js.map → binding-JQUI2CTZ.js.map} +0 -0
- /package/dist/chunks/{browser-FUFFJBRR.js.map → browser-YZCY2CI6.js.map} +0 -0
- /package/dist/chunks/{chat-M653DEAF.js.map → chat-F3WXVEDM.js.map} +0 -0
- /package/dist/chunks/{chunk-OMRU22BQ.js.map → chunk-24NEAMG5.js.map} +0 -0
- /package/dist/chunks/{chunk-325X27UO.js.map → chunk-4E33SWZU.js.map} +0 -0
- /package/dist/chunks/{chunk-U6U472VN.js.map → chunk-5DFBOMTX.js.map} +0 -0
- /package/dist/chunks/{chunk-HV2JFRSE.js.map → chunk-5OGY4CE7.js.map} +0 -0
- /package/dist/chunks/{chunk-IRUDNBAR.js.map → chunk-5W7CSQXQ.js.map} +0 -0
- /package/dist/chunks/{chunk-H6AUN2YD.js.map → chunk-6F4PW7TF.js.map} +0 -0
- /package/dist/chunks/{chunk-LHZSSQ6K.js.map → chunk-6NDJLXKW.js.map} +0 -0
- /package/dist/chunks/{chunk-NXX6C3WS.js.map → chunk-6OWRRNLC.js.map} +0 -0
- /package/dist/chunks/{chunk-FUJSGQYW.js.map → chunk-6WPKPHE2.js.map} +0 -0
- /package/dist/chunks/{chunk-VHFPIYVY.js.map → chunk-7BRK6EHB.js.map} +0 -0
- /package/dist/chunks/{chunk-WSIMHBEQ.js.map → chunk-7HNWFGWD.js.map} +0 -0
- /package/dist/chunks/{chunk-THQAGFMO.js.map → chunk-A72NRUYG.js.map} +0 -0
- /package/dist/chunks/{chunk-U33GIKBK.js.map → chunk-ADG5OPNS.js.map} +0 -0
- /package/dist/chunks/{chunk-HH3NBBBE.js.map → chunk-B7QEQ7Y3.js.map} +0 -0
- /package/dist/chunks/{chunk-G5FWVYK2.js.map → chunk-BWI7L43E.js.map} +0 -0
- /package/dist/chunks/{chunk-2OAD3CZE.js.map → chunk-CAOGKKB5.js.map} +0 -0
- /package/dist/chunks/{chunk-K5FQ4G64.js.map → chunk-D7BXM6WW.js.map} +0 -0
- /package/dist/chunks/{chunk-KZ5WYSA6.js.map → chunk-EPIIR5CJ.js.map} +0 -0
- /package/dist/chunks/{chunk-M7LCVDP3.js.map → chunk-EVRWBRUB.js.map} +0 -0
- /package/dist/chunks/{chunk-BICC735N.js.map → chunk-GXQ4G3KA.js.map} +0 -0
- /package/dist/chunks/{chunk-THJQXERD.js.map → chunk-H2JLRNYH.js.map} +0 -0
- /package/dist/chunks/{chunk-S2UDKXWH.js.map → chunk-H2RDYYTB.js.map} +0 -0
- /package/dist/chunks/{chunk-P6RUYL3F.js.map → chunk-H5H6HDRA.js.map} +0 -0
- /package/dist/chunks/{chunk-ADCVLGQO.js.map → chunk-HIJXUSOS.js.map} +0 -0
- /package/dist/chunks/{chunk-GAEZQRQI.js.map → chunk-HYPNAC4H.js.map} +0 -0
- /package/dist/chunks/{chunk-OENL667J.js.map → chunk-I6W3KJR3.js.map} +0 -0
- /package/dist/chunks/{chunk-HGIIAAEG.js.map → chunk-IFEBBQ2M.js.map} +0 -0
- /package/dist/chunks/{chunk-X7WLWVR7.js.map → chunk-IPVDXTWF.js.map} +0 -0
- /package/dist/chunks/{chunk-FZR4XULA.js.map → chunk-IZDYKTPN.js.map} +0 -0
- /package/dist/chunks/{chunk-7TBETDTX.js.map → chunk-JCLZ5HXI.js.map} +0 -0
- /package/dist/chunks/{chunk-7NJAEWFK.js.map → chunk-JU7JQ62S.js.map} +0 -0
- /package/dist/chunks/{chunk-JAB62RI5.js.map → chunk-KY2WSKNM.js.map} +0 -0
- /package/dist/chunks/{chunk-THUX2WOG.js.map → chunk-L3XUPXPP.js.map} +0 -0
- /package/dist/chunks/{chunk-Y2PZNQH5.js.map → chunk-LMVXENEF.js.map} +0 -0
- /package/dist/chunks/{chunk-GCFXQSN6.js.map → chunk-LOKFLXQL.js.map} +0 -0
- /package/dist/chunks/{chunk-BOM64EUQ.js.map → chunk-NFATUZMX.js.map} +0 -0
- /package/dist/chunks/{chunk-VAP6YMB6.js.map → chunk-NGMXEU2B.js.map} +0 -0
- /package/dist/chunks/{chunk-J2FGTLZV.js.map → chunk-NI3LZ6UX.js.map} +0 -0
- /package/dist/chunks/{chunk-TFOIA3U3.js.map → chunk-NS4PN3SI.js.map} +0 -0
- /package/dist/chunks/{chunk-ANHFJD66.js.map → chunk-NZ6DX5CL.js.map} +0 -0
- /package/dist/chunks/{chunk-B6INWHLR.js.map → chunk-PAY5TGHV.js.map} +0 -0
- /package/dist/chunks/{chunk-KVCYYXCS.js.map → chunk-PFFQOCEI.js.map} +0 -0
- /package/dist/chunks/{chunk-CDDS3UKB.js.map → chunk-PQTS7XQB.js.map} +0 -0
- /package/dist/chunks/{chunk-6ZEHXLF7.js.map → chunk-Q6DM2TVI.js.map} +0 -0
- /package/dist/chunks/{chunk-MKRYUMLP.js.map → chunk-Q6RZ64FS.js.map} +0 -0
- /package/dist/chunks/{chunk-VGUU6E6X.js.map → chunk-Q7ELMF4C.js.map} +0 -0
- /package/dist/chunks/{chunk-TUF4NNJV.js.map → chunk-QWVWGW6I.js.map} +0 -0
- /package/dist/chunks/{chunk-VY377HAA.js.map → chunk-QXNROEIH.js.map} +0 -0
- /package/dist/chunks/{chunk-WG32TSVL.js.map → chunk-RPCJJZTI.js.map} +0 -0
- /package/dist/chunks/{chunk-P7MNE6YP.js.map → chunk-T3NLKQO2.js.map} +0 -0
- /package/dist/chunks/{chunk-43PTHA5N.js.map → chunk-TGPKTH2S.js.map} +0 -0
- /package/dist/chunks/{chunk-667W6Z5W.js.map → chunk-TOJSNO4M.js.map} +0 -0
- /package/dist/chunks/{chunk-L6QJZZCJ.js.map → chunk-U4YXQWPW.js.map} +0 -0
- /package/dist/chunks/{chunk-P6FEQPES.js.map → chunk-U5BN3L3Y.js.map} +0 -0
- /package/dist/chunks/{chunk-TKIWAXRU.js.map → chunk-UQJPNUDU.js.map} +0 -0
- /package/dist/chunks/{chunk-S766UWAQ.js.map → chunk-V26FS5VG.js.map} +0 -0
- /package/dist/chunks/{chunk-LR4QQMJH.js.map → chunk-V3R3MR7F.js.map} +0 -0
- /package/dist/chunks/{chunk-NUNOIP4Y.js.map → chunk-VPJG7NQL.js.map} +0 -0
- /package/dist/chunks/{chunk-43HR3AF5.js.map → chunk-W6E3PSFH.js.map} +0 -0
- /package/dist/chunks/{chunk-24FBGXYR.js.map → chunk-WNOB6C62.js.map} +0 -0
- /package/dist/chunks/{chunk-U3EQTU4G.js.map → chunk-X2F5ZFBV.js.map} +0 -0
- /package/dist/chunks/{chunk-YLNQLDMP.js.map → chunk-XHR3UCKT.js.map} +0 -0
- /package/dist/chunks/{chunk-X4WCRRZV.js.map → chunk-XK26JNIF.js.map} +0 -0
- /package/dist/chunks/{chunk-JKPUOSDC.js.map → chunk-XN7C5GWO.js.map} +0 -0
- /package/dist/chunks/{chunk-46OOPRR6.js.map → chunk-XOIXLN2Y.js.map} +0 -0
- /package/dist/chunks/{chunk-D23EJNO5.js.map → chunk-ZB45QDNU.js.map} +0 -0
- /package/dist/chunks/{commands-LVUUZ6LF.js.map → commands-56WUDKVN.js.map} +0 -0
- /package/dist/chunks/{crash-report-PGXMRS5P.js.map → crash-report-KHJZ3AKU.js.map} +0 -0
- /package/dist/chunks/{dist-NSCNMOX7.js.map → dist-BLCQRSQS.js.map} +0 -0
- /package/dist/chunks/{dist-TC6H7TPQ.js.map → dist-QZPA2XDK.js.map} +0 -0
- /package/dist/chunks/{doctor-P7L35KGN.js.map → doctor-LCRG5FBA.js.map} +0 -0
- /package/dist/chunks/{drain-HOHRXIYY.js.map → drain-47IMDCI5.js.map} +0 -0
- /package/dist/chunks/{eval-2F473JAC.js.map → eval-5ZIBALCB.js.map} +0 -0
- /package/dist/chunks/{home-R6WCBSOT.js.map → home-DXPCVXZK.js.map} +0 -0
- /package/dist/chunks/{host-JGPJVLTC.js.map → host-QE4D3UXC.js.map} +0 -0
- /package/dist/chunks/{host-queries-QWV47CFK.js.map → host-queries-5H765XNX.js.map} +0 -0
- /package/dist/chunks/{learn-3UPHM5OI.js.map → learn-Y5IBBZDY.js.map} +0 -0
- /package/dist/chunks/{learn-builtin-3Q4BJFCF.js.map → learn-builtin-ND3T6U5L.js.map} +0 -0
- /package/dist/chunks/{lifecycle-EJLVISCU.js.map → lifecycle-FJS7LD7B.js.map} +0 -0
- /package/dist/chunks/{live-IWDOVSLG.js.map → live-CSA2LX3R.js.map} +0 -0
- /package/dist/chunks/{login-B2PHE6IL.js.map → login-42ZPPMYK.js.map} +0 -0
- /package/dist/chunks/{logs-5UTV3FMG.js.map → logs-7MAFXNFR.js.map} +0 -0
- /package/dist/chunks/{mouse-WFSJSLQD.js.map → mouse-EJQML44I.js.map} +0 -0
- /package/dist/chunks/{open-LDBJL43A.js.map → open-3I5NZTSX.js.map} +0 -0
- /package/dist/chunks/{operator-tools-NA7PLRIP.js.map → operator-tools-PK2WYSF3.js.map} +0 -0
- /package/dist/chunks/{output-schema-UKYWRZPS.js.map → output-schema-2UJ7LOOX.js.map} +0 -0
- /package/dist/chunks/{pal-MAVUNYMB.js.map → pal-WXN4O3DD.js.map} +0 -0
- /package/dist/chunks/{palette-WDPS7W6Q.js.map → palette-CL5OOYGK.js.map} +0 -0
- /package/dist/chunks/{peers-FBTQW2SY.js.map → peers-JQOUU3CX.js.map} +0 -0
- /package/dist/chunks/{prefix-MLAG4KTK.js.map → prefix-3ZNPUSUK.js.map} +0 -0
- /package/dist/chunks/{providers-M75ET3GT.js.map → providers-SI467SWN.js.map} +0 -0
- /package/dist/chunks/{pty-VMUEEJRN.js.map → pty-T5LBAATA.js.map} +0 -0
- /package/dist/chunks/{resume-7B3EHDJ7.js.map → resume-GPXJJXCK.js.map} +0 -0
- /package/dist/chunks/{resume-command-5QGHV6WR.js.map → resume-command-V6ZKY7J6.js.map} +0 -0
- /package/dist/chunks/{schedule-BK3WF2VK.js.map → schedule-4L4DTRC5.js.map} +0 -0
- /package/dist/chunks/{session-step-DORV5FER.js.map → session-step-ZCZNC52S.js.map} +0 -0
- /package/dist/chunks/{skills-TDDPMTQI.js.map → skills-QARQHL6M.js.map} +0 -0
- /package/dist/chunks/{start-check-N4TPV2TM.js.map → start-check-W72K6M5Q.js.map} +0 -0
- /package/dist/chunks/{state-SHLWYVZU.js.map → state-ADQWQEYB.js.map} +0 -0
- /package/dist/chunks/{store-75YZOOZI.js.map → store-IVVYIPV2.js.map} +0 -0
- /package/dist/chunks/{store-CQVUIU7K.js.map → store-KOGQWG66.js.map} +0 -0
- /package/dist/chunks/{store-GUSFCKJA.js.map → store-RF6D7U2T.js.map} +0 -0
- /package/dist/chunks/{store-Z5H6LYVE.js.map → store-TFJ73ZAM.js.map} +0 -0
- /package/dist/chunks/{upgrade-RHPZQ33L.js.map → upgrade-LN6TFWDW.js.map} +0 -0
- /package/dist/chunks/{worktree-5IYFN33C.js.map → worktree-5M2XFFJT.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-LOKFLXQL.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-VZC7FE4F.js";
|
|
61
60
|
import {
|
|
62
61
|
handleTerminationSignals
|
|
63
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-NFATUZMX.js";
|
|
64
63
|
import "./chunk-R66H2G5R.js";
|
|
65
64
|
import {
|
|
66
65
|
deleteUserConfigValue,
|
|
67
66
|
setUserConfigValue
|
|
68
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-PAY5TGHV.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-WNOB6C62.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-H2RDYYTB.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-UQJPNUDU.js";
|
|
100
99
|
import {
|
|
101
100
|
DELIVERY_READ_LIMIT,
|
|
102
101
|
readSourceDeliveryPage,
|
|
103
102
|
takeSuppressedCount
|
|
104
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-A72NRUYG.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-XHR3UCKT.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-4E33SWZU.js";
|
|
127
|
+
import "./chunk-XN7C5GWO.js";
|
|
129
128
|
import {
|
|
130
129
|
formatResumeShellCommand,
|
|
131
130
|
parkedRunWords,
|
|
132
131
|
resumeCommand
|
|
133
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-B7QEQ7Y3.js";
|
|
134
133
|
import {
|
|
135
134
|
appendHistory,
|
|
136
135
|
nextFireOf,
|
|
137
136
|
readHistory,
|
|
138
137
|
readState
|
|
139
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-5OGY4CE7.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-GSAYGBOR.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-LMVXENEF.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-ADG5OPNS.js";
|
|
175
179
|
import {
|
|
176
180
|
tuiPalDefinition,
|
|
177
181
|
tuiPalEnvironment,
|
|
178
182
|
tuiPalOwner,
|
|
179
183
|
tuiPalPreferences
|
|
180
|
-
} from "./chunk-
|
|
184
|
+
} from "./chunk-Q6RZ64FS.js";
|
|
181
185
|
import {
|
|
182
186
|
isModelOnlyContext,
|
|
183
187
|
runtimeContextLabel
|
|
184
|
-
} from "./chunk-
|
|
185
|
-
import "./chunk-
|
|
188
|
+
} from "./chunk-FJONRQQU.js";
|
|
189
|
+
import "./chunk-GXQ4G3KA.js";
|
|
186
190
|
import "./chunk-ZWA2JRJV.js";
|
|
187
|
-
import "./chunk-
|
|
188
|
-
import "./chunk-
|
|
191
|
+
import "./chunk-6WPKPHE2.js";
|
|
192
|
+
import "./chunk-XK26JNIF.js";
|
|
189
193
|
import {
|
|
190
194
|
claimPalConversation,
|
|
191
195
|
listPalConversations
|
|
192
|
-
} from "./chunk-
|
|
196
|
+
} from "./chunk-X2F5ZFBV.js";
|
|
193
197
|
import {
|
|
194
198
|
COMPACTED_HINT,
|
|
195
199
|
COMPACTING_LABEL,
|
|
@@ -270,12 +274,12 @@ import {
|
|
|
270
274
|
webLiveStatus,
|
|
271
275
|
webSettledLine,
|
|
272
276
|
withDebugDetail
|
|
273
|
-
} from "./chunk-
|
|
277
|
+
} from "./chunk-X4TNXFUB.js";
|
|
274
278
|
import {
|
|
275
279
|
openManagedWorktrees,
|
|
276
280
|
worktreeOpenHint
|
|
277
|
-
} from "./chunk-
|
|
278
|
-
import "./chunk-
|
|
281
|
+
} from "./chunk-QXNROEIH.js";
|
|
282
|
+
import "./chunk-HIJXUSOS.js";
|
|
279
283
|
import {
|
|
280
284
|
SAVE_SKILL_TOOL_NAME,
|
|
281
285
|
SKILL_CREATOR_SKILL,
|
|
@@ -293,34 +297,31 @@ import {
|
|
|
293
297
|
isWorkflowRunAgent,
|
|
294
298
|
learnSkillPrompt,
|
|
295
299
|
newSkillPrompt,
|
|
296
|
-
paint,
|
|
297
300
|
resolveTurnGuards,
|
|
298
301
|
resumeCallText,
|
|
299
302
|
resumeReviewLines,
|
|
300
303
|
runTokens,
|
|
301
304
|
sandboxRunsShellUnasked,
|
|
302
|
-
settledElapsed
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
import "./chunk-GAEZQRQI.js";
|
|
307
|
-
import "./chunk-E3FA5H3Q.js";
|
|
305
|
+
settledElapsed
|
|
306
|
+
} from "./chunk-E3OXUQQB.js";
|
|
307
|
+
import "./chunk-HYPNAC4H.js";
|
|
308
|
+
import "./chunk-POKKY7MR.js";
|
|
308
309
|
import {
|
|
309
310
|
MCP_OUTPUT_CHARS,
|
|
310
311
|
boundedMcpText,
|
|
311
312
|
validatePromptArguments
|
|
312
|
-
} from "./chunk-
|
|
313
|
+
} from "./chunk-V3R3MR7F.js";
|
|
313
314
|
import {
|
|
314
315
|
openInBrowser
|
|
315
|
-
} from "./chunk-
|
|
316
|
+
} from "./chunk-D7BXM6WW.js";
|
|
316
317
|
import {
|
|
317
318
|
describePlainInterruption,
|
|
318
319
|
describeProviderWait,
|
|
319
320
|
describeProviderWaitClock,
|
|
320
321
|
isSelfMending,
|
|
321
322
|
isSpentAllowance
|
|
322
|
-
} from "./chunk-
|
|
323
|
-
import "./chunk-
|
|
323
|
+
} from "./chunk-6XL5ZMAL.js";
|
|
324
|
+
import "./chunk-6NDJLXKW.js";
|
|
324
325
|
import {
|
|
325
326
|
describeBrowserStatus
|
|
326
327
|
} from "./chunk-WHODOMXA.js";
|
|
@@ -332,6 +333,11 @@ import {
|
|
|
332
333
|
describeState,
|
|
333
334
|
endpointHost
|
|
334
335
|
} from "./chunk-YOWYTBJS.js";
|
|
336
|
+
import {
|
|
337
|
+
paint,
|
|
338
|
+
theme,
|
|
339
|
+
tokenColor
|
|
340
|
+
} from "./chunk-2IPDTDB3.js";
|
|
335
341
|
import {
|
|
336
342
|
NO_SKILLS_FOUND,
|
|
337
343
|
composeSkillsPrompt,
|
|
@@ -339,34 +345,34 @@ import {
|
|
|
339
345
|
loadSkillBody,
|
|
340
346
|
renderSkillRoster,
|
|
341
347
|
skillTierLabel
|
|
342
|
-
} from "./chunk-
|
|
348
|
+
} from "./chunk-ZB45QDNU.js";
|
|
343
349
|
import "./chunk-NUGPLXVK.js";
|
|
344
350
|
import {
|
|
345
351
|
beginSubscriptionLogin,
|
|
346
352
|
parsePastedInput
|
|
347
|
-
} from "./chunk-
|
|
353
|
+
} from "./chunk-TOJSNO4M.js";
|
|
348
354
|
import {
|
|
349
355
|
apiKeyLogoutWord,
|
|
350
356
|
isApiKeyLogoutTarget
|
|
351
|
-
} from "./chunk-
|
|
357
|
+
} from "./chunk-JU7JQ62S.js";
|
|
352
358
|
import {
|
|
353
359
|
API_KEY_ACCOUNT_PROVIDERS,
|
|
354
360
|
openCliAccounts,
|
|
355
361
|
storedAccountSignedIn
|
|
356
|
-
} from "./chunk-
|
|
362
|
+
} from "./chunk-6F4PW7TF.js";
|
|
357
363
|
import {
|
|
358
364
|
beginCodexDeviceLogin
|
|
359
|
-
} from "./chunk-
|
|
365
|
+
} from "./chunk-5W7CSQXQ.js";
|
|
360
366
|
import {
|
|
361
367
|
startAutoUpdate
|
|
362
|
-
} from "./chunk-
|
|
368
|
+
} from "./chunk-CAOGKKB5.js";
|
|
363
369
|
import {
|
|
364
370
|
readManifest
|
|
365
371
|
} from "./chunk-AK2U3N2A.js";
|
|
366
372
|
import {
|
|
367
373
|
resolveNpmInvocation
|
|
368
|
-
} from "./chunk-
|
|
369
|
-
import "./chunk-
|
|
374
|
+
} from "./chunk-W6E3PSFH.js";
|
|
375
|
+
import "./chunk-XOIXLN2Y.js";
|
|
370
376
|
import {
|
|
371
377
|
ScheduleConflictError,
|
|
372
378
|
confirmationHolds,
|
|
@@ -397,14 +403,13 @@ import {
|
|
|
397
403
|
describeCacheLifetime,
|
|
398
404
|
promptCacheTtl,
|
|
399
405
|
providerOffersCacheLifetime
|
|
400
|
-
} from "./chunk-
|
|
406
|
+
} from "./chunk-NI3LZ6UX.js";
|
|
401
407
|
import {
|
|
402
408
|
COMPOSER_TRIGGER_DEFAULTS,
|
|
403
409
|
COMPOSER_TRIGGER_IDS,
|
|
404
410
|
ConfigLoadError,
|
|
405
411
|
LARGE_WORKFLOW_WARNING,
|
|
406
412
|
LARGE_WORKFLOW_WARNING_SHORT,
|
|
407
|
-
THEME_CHOICES,
|
|
408
413
|
approveShownMcpServers,
|
|
409
414
|
browserCallOrigin,
|
|
410
415
|
browserSiteRuleFor,
|
|
@@ -416,7 +421,7 @@ import {
|
|
|
416
421
|
pendingServersMessage,
|
|
417
422
|
readPermissionLayers,
|
|
418
423
|
resolveComposerTriggers
|
|
419
|
-
} from "./chunk-
|
|
424
|
+
} from "./chunk-HB4LEJMU.js";
|
|
420
425
|
import "./chunk-KONYGNG6.js";
|
|
421
426
|
import "./chunk-LCGXWCVU.js";
|
|
422
427
|
import {
|
|
@@ -427,10 +432,13 @@ import {
|
|
|
427
432
|
plural,
|
|
428
433
|
productName
|
|
429
434
|
} from "./chunk-GMUWAUKQ.js";
|
|
435
|
+
import {
|
|
436
|
+
THEME_CHOICES
|
|
437
|
+
} from "./chunk-QLDUL46Z.js";
|
|
430
438
|
import {
|
|
431
439
|
primaryProvider,
|
|
432
440
|
writePreferences
|
|
433
|
-
} from "./chunk-
|
|
441
|
+
} from "./chunk-PQTS7XQB.js";
|
|
434
442
|
import {
|
|
435
443
|
automaticChoice,
|
|
436
444
|
automaticKind,
|
|
@@ -439,7 +447,7 @@ import {
|
|
|
439
447
|
discoverProviders,
|
|
440
448
|
hasApiCredential,
|
|
441
449
|
signedInSubscriptionProviders
|
|
442
|
-
} from "./chunk-
|
|
450
|
+
} from "./chunk-T3NLKQO2.js";
|
|
443
451
|
import {
|
|
444
452
|
ALL_PROVIDER_IDS,
|
|
445
453
|
PROVIDER_REGISTRY,
|
|
@@ -447,31 +455,33 @@ import {
|
|
|
447
455
|
providerEntriesOfVendor,
|
|
448
456
|
unsupportedProviderMessage
|
|
449
457
|
} from "./chunk-G6YSAHKC.js";
|
|
450
|
-
import "./chunk-
|
|
458
|
+
import "./chunk-RI2KAZJO.js";
|
|
451
459
|
import {
|
|
452
460
|
isAnthropicOAuthToken,
|
|
453
461
|
readCodexCredentialFile
|
|
454
|
-
} from "./chunk-
|
|
455
|
-
import "./chunk-
|
|
462
|
+
} from "./chunk-NGMXEU2B.js";
|
|
463
|
+
import "./chunk-V26FS5VG.js";
|
|
456
464
|
import {
|
|
457
465
|
applyProviderFlags
|
|
458
|
-
} from "./chunk-
|
|
466
|
+
} from "./chunk-24NEAMG5.js";
|
|
459
467
|
import "./chunk-XEUQN4JC.js";
|
|
460
|
-
import "./chunk-
|
|
468
|
+
import "./chunk-Q7ELMF4C.js";
|
|
461
469
|
import {
|
|
462
470
|
autoAvailable,
|
|
463
471
|
nextCycleMode,
|
|
464
472
|
permissionModeDescription,
|
|
465
473
|
permissionModeLabel,
|
|
466
474
|
permissionModeName
|
|
467
|
-
} from "./chunk-
|
|
475
|
+
} from "./chunk-VPJG7NQL.js";
|
|
468
476
|
import {
|
|
469
477
|
PAUSED_TURN_LINES,
|
|
470
478
|
currentTimeLine,
|
|
479
|
+
describeModelRefusal,
|
|
471
480
|
describeTurnStop,
|
|
472
481
|
handoffContinuationNote,
|
|
482
|
+
refusalDetail,
|
|
473
483
|
retryAfterMs
|
|
474
|
-
} from "./chunk-
|
|
484
|
+
} from "./chunk-TCRGKEEX.js";
|
|
475
485
|
import {
|
|
476
486
|
expandTabs,
|
|
477
487
|
terminalDisplayText
|
|
@@ -505,27 +515,27 @@ import {
|
|
|
505
515
|
typedTextOf,
|
|
506
516
|
unansweredReviewPark,
|
|
507
517
|
unarchiveConversation
|
|
508
|
-
} from "./chunk-
|
|
509
|
-
import "./chunk-
|
|
518
|
+
} from "./chunk-U4YXQWPW.js";
|
|
519
|
+
import "./chunk-RPCJJZTI.js";
|
|
510
520
|
import "./chunk-JQIBPPOL.js";
|
|
511
|
-
import "./chunk-
|
|
512
|
-
import "./chunk-
|
|
521
|
+
import "./chunk-I6W3KJR3.js";
|
|
522
|
+
import "./chunk-NZ6DX5CL.js";
|
|
513
523
|
import {
|
|
514
524
|
isTrusted,
|
|
515
525
|
trustDir
|
|
516
|
-
} from "./chunk-
|
|
526
|
+
} from "./chunk-KY2WSKNM.js";
|
|
517
527
|
import {
|
|
518
528
|
bindAccount,
|
|
519
529
|
findAccountByName,
|
|
520
530
|
isDefaultAccountId
|
|
521
|
-
} from "./chunk-
|
|
531
|
+
} from "./chunk-7BRK6EHB.js";
|
|
522
532
|
import "./chunk-OH6TB27S.js";
|
|
523
|
-
import "./chunk-
|
|
533
|
+
import "./chunk-IFEBBQ2M.js";
|
|
524
534
|
import "./chunk-WMEZTDLT.js";
|
|
525
535
|
import {
|
|
526
536
|
contextLogging,
|
|
527
537
|
installCliLogging
|
|
528
|
-
} from "./chunk-
|
|
538
|
+
} from "./chunk-TGPKTH2S.js";
|
|
529
539
|
import {
|
|
530
540
|
PROJECT_MCP_FILE,
|
|
531
541
|
parseMcpServerFile
|
|
@@ -539,7 +549,7 @@ import {
|
|
|
539
549
|
} from "./chunk-U5UV2YRE.js";
|
|
540
550
|
import "./chunk-IE5XIE4W.js";
|
|
541
551
|
import "./chunk-B73OIFL6.js";
|
|
542
|
-
import "./chunk-
|
|
552
|
+
import "./chunk-Q6DM2TVI.js";
|
|
543
553
|
import "./chunk-JORONMD3.js";
|
|
544
554
|
import {
|
|
545
555
|
apiKeysPath,
|
|
@@ -558,10 +568,10 @@ import {
|
|
|
558
568
|
readStoredSubscriptionCredential,
|
|
559
569
|
writeStoredApiKey,
|
|
560
570
|
writeStoredGeminiApiKey
|
|
561
|
-
} from "./chunk-
|
|
571
|
+
} from "./chunk-EVRWBRUB.js";
|
|
562
572
|
import {
|
|
563
573
|
namzuHomePath
|
|
564
|
-
} from "./chunk-
|
|
574
|
+
} from "./chunk-PFFQOCEI.js";
|
|
565
575
|
import {
|
|
566
576
|
ACCEPT_EDITS_TOOLS,
|
|
567
577
|
AccountRegistryError,
|
|
@@ -613,7 +623,7 @@ import {
|
|
|
613
623
|
validateTimeZone,
|
|
614
624
|
wakeBudgetFromEnv,
|
|
615
625
|
wrapUntrusted
|
|
616
|
-
} from "./chunk-
|
|
626
|
+
} from "./chunk-4HL5LUP5.js";
|
|
617
627
|
import {
|
|
618
628
|
__commonJS,
|
|
619
629
|
__export,
|
|
@@ -43337,7 +43347,7 @@ var LeftGesture = class {
|
|
|
43337
43347
|
var import_jsx_runtime15 = __toESM(require_jsx_runtime(), 1);
|
|
43338
43348
|
var ESC_CLEAR_KEY = "escape-again-to-clear";
|
|
43339
43349
|
var STASH_KEY = "draft-stash";
|
|
43340
|
-
var
|
|
43350
|
+
var WORKSPACES_HINT_KEY = "workspaces-arm";
|
|
43341
43351
|
var STASH_NOTICE_MS = 3e3;
|
|
43342
43352
|
var STASH_RESTORED_NOTICE_MS = 5e3;
|
|
43343
43353
|
var ESC_CLEAR_WINDOW_MS = 800;
|
|
@@ -43579,7 +43589,7 @@ function Composer({
|
|
|
43579
43589
|
onDraftPresenceChange,
|
|
43580
43590
|
onOpenAgentPanel,
|
|
43581
43591
|
onOpenAgents,
|
|
43582
|
-
|
|
43592
|
+
onOpenWorkspaces,
|
|
43583
43593
|
onScrollTranscript,
|
|
43584
43594
|
onRecallQueued,
|
|
43585
43595
|
queuedEdit,
|
|
@@ -44373,7 +44383,7 @@ function Composer({
|
|
|
44373
44383
|
setCursorState(next);
|
|
44374
44384
|
return;
|
|
44375
44385
|
}
|
|
44376
|
-
if (key.leftArrow &&
|
|
44386
|
+
if (key.leftArrow && onOpenWorkspaces) {
|
|
44377
44387
|
const verdict = leftGestureRef.current.press({
|
|
44378
44388
|
empty: valueRef.current.length === 0,
|
|
44379
44389
|
attachments: attachmentsRef.current.length > 0,
|
|
@@ -44382,14 +44392,14 @@ function Composer({
|
|
|
44382
44392
|
meta: key.meta
|
|
44383
44393
|
});
|
|
44384
44394
|
if (verdict === "fire") {
|
|
44385
|
-
onFooterNoticeRemove?.(
|
|
44386
|
-
|
|
44395
|
+
onFooterNoticeRemove?.(WORKSPACES_HINT_KEY);
|
|
44396
|
+
onOpenWorkspaces();
|
|
44387
44397
|
return;
|
|
44388
44398
|
}
|
|
44389
44399
|
if (verdict === "arm") {
|
|
44390
44400
|
onFooterNotice?.({
|
|
44391
|
-
key:
|
|
44392
|
-
text: "Press \u2190 again to open
|
|
44401
|
+
key: WORKSPACES_HINT_KEY,
|
|
44402
|
+
text: "Press \u2190 again to open workspaces",
|
|
44393
44403
|
priority: "immediate",
|
|
44394
44404
|
timeoutMs: ARM_MS
|
|
44395
44405
|
});
|
|
@@ -56366,7 +56376,7 @@ function AppBody({
|
|
|
56366
56376
|
externalEditor = defaultExternalEditor,
|
|
56367
56377
|
terminationExit,
|
|
56368
56378
|
repaint,
|
|
56369
|
-
|
|
56379
|
+
onOpenWorkspaces,
|
|
56370
56380
|
onConfirmExit,
|
|
56371
56381
|
beforeExit,
|
|
56372
56382
|
examplePrompts = false,
|
|
@@ -56810,7 +56820,14 @@ ${blocks.join("\n\n")}`;
|
|
|
56810
56820
|
selectionRef: selectedChoiceRef,
|
|
56811
56821
|
setSelection: setSelectedChoice
|
|
56812
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);
|
|
56813
56829
|
const setChoicePicker = (0, import_react60.useCallback)((next) => {
|
|
56830
|
+
if (next !== null && slashWhileReplyRef.current) retireAtTurnEndRef.current = next;
|
|
56814
56831
|
choicePickerRef.current = next;
|
|
56815
56832
|
choiceQueryRef.current = "";
|
|
56816
56833
|
setChoiceQuery("");
|
|
@@ -57135,6 +57152,9 @@ ${blocks.join("\n\n")}`;
|
|
|
57135
57152
|
const runProbeRef = (0, import_react60.useRef)(null);
|
|
57136
57153
|
(0, import_react60.useEffect)(() => cancelPendingLogin, [cancelPendingLogin]);
|
|
57137
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);
|
|
57138
57158
|
const [, setReasoningVersion] = (0, import_react60.useState)(0);
|
|
57139
57159
|
const browserProfileRef = (0, import_react60.useRef)(void 0);
|
|
57140
57160
|
const browserControlRef = (0, import_react60.useRef)(void 0);
|
|
@@ -58268,18 +58288,15 @@ ${blocks.join("\n\n")}`;
|
|
|
58268
58288
|
);
|
|
58269
58289
|
return;
|
|
58270
58290
|
}
|
|
58271
|
-
|
|
58291
|
+
const replyRunning = state !== "idle" || abortRef.current !== null || hasUnsettledTurn();
|
|
58292
|
+
if (effort === void 0) {
|
|
58293
|
+
setReasoningEffort(void 0);
|
|
58272
58294
|
pushMessage(
|
|
58273
58295
|
"system",
|
|
58274
|
-
"Reasoning effort
|
|
58296
|
+
replyRunning ? "Reasoning effort set to the provider default. It applies from your next message." : "Reasoning: provider default."
|
|
58275
58297
|
);
|
|
58276
58298
|
return;
|
|
58277
58299
|
}
|
|
58278
|
-
if (effort === void 0) {
|
|
58279
|
-
setReasoningEffort(void 0);
|
|
58280
|
-
pushMessage("system", "Reasoning: provider default.");
|
|
58281
|
-
return;
|
|
58282
|
-
}
|
|
58283
58300
|
if (!session.reasoningEffortLevels?.includes(effort)) {
|
|
58284
58301
|
pushMessage(
|
|
58285
58302
|
"system",
|
|
@@ -58288,7 +58305,10 @@ ${blocks.join("\n\n")}`;
|
|
|
58288
58305
|
return;
|
|
58289
58306
|
}
|
|
58290
58307
|
setReasoningEffort(effort);
|
|
58291
|
-
pushMessage(
|
|
58308
|
+
pushMessage(
|
|
58309
|
+
"system",
|
|
58310
|
+
replyRunning ? `Reasoning effort set to ${effort}. It applies from your next message.` : `Reasoning: ${effort} (this conversation).`
|
|
58311
|
+
);
|
|
58292
58312
|
},
|
|
58293
58313
|
[hasUnsettledTurn, pushMessage, session, setReasoningEffort, state]
|
|
58294
58314
|
);
|
|
@@ -58305,13 +58325,6 @@ ${blocks.join("\n\n")}`;
|
|
|
58305
58325
|
pushMessage("system", "Hypermode was not changed: the selected model is no longer active.");
|
|
58306
58326
|
return;
|
|
58307
58327
|
}
|
|
58308
|
-
if (state !== "idle" || abortRef.current !== null || hasUnsettledTurn() || roundQueueRef.current.items().length > 0 && selectedSession !== session || permissionResolveRef.current !== null || compactingRef.current) {
|
|
58309
|
-
pushMessage(
|
|
58310
|
-
"system",
|
|
58311
|
-
"Hypermode was not changed: wait for the current reply and queued messages to finish."
|
|
58312
|
-
);
|
|
58313
|
-
return;
|
|
58314
|
-
}
|
|
58315
58328
|
if (!enabled && !hypermodeRef.current) {
|
|
58316
58329
|
pushMessage("system", "Hypermode is off.");
|
|
58317
58330
|
return;
|
|
@@ -58321,9 +58334,12 @@ ${blocks.join("\n\n")}`;
|
|
|
58321
58334
|
if (newlyEnabled) setHypermodeActivation((activation) => activation + 1);
|
|
58322
58335
|
const effort = reasoningEffortRef.current;
|
|
58323
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);
|
|
58324
58339
|
pushMessage(
|
|
58325
58340
|
"system",
|
|
58326
|
-
|
|
58341
|
+
// The reply being written has already been told; the next message is told.
|
|
58342
|
+
replyRunning ? `${said} It applies from your next message.` : said
|
|
58327
58343
|
);
|
|
58328
58344
|
},
|
|
58329
58345
|
[hasUnsettledTurn, pushMessage, session, setHypermode, state]
|
|
@@ -58872,6 +58888,10 @@ ${blocks.join("\n\n")}`;
|
|
|
58872
58888
|
return;
|
|
58873
58889
|
}
|
|
58874
58890
|
setChoicePicker(null);
|
|
58891
|
+
if (picker.kind === "model-live") {
|
|
58892
|
+
chooseModelRef.current(`${picker.provider}/${value}`);
|
|
58893
|
+
return;
|
|
58894
|
+
}
|
|
58875
58895
|
if (picker.kind === "resume-goal") {
|
|
58876
58896
|
if (value === "resume" && scopeRef.current?.sessionId === picker.sessionId)
|
|
58877
58897
|
commandPickerSubmitRef.current("/goal resume");
|
|
@@ -60309,7 +60329,7 @@ ${blocks.join("\n\n")}`;
|
|
|
60309
60329
|
const timer = setInterval(() => setAutoResumeTick((n) => n + 1), 1e3);
|
|
60310
60330
|
return () => clearInterval(timer);
|
|
60311
60331
|
}, [autoResumeAt]);
|
|
60312
|
-
const
|
|
60332
|
+
const openResumePicker = (0, import_react60.useCallback)(
|
|
60313
60333
|
async (query, pr) => {
|
|
60314
60334
|
const sessions = sessionsRef.current ?? await ensureSessions().then(() => sessionsRef.current);
|
|
60315
60335
|
if (!sessions) {
|
|
@@ -60352,6 +60372,18 @@ ${blocks.join("\n\n")}`;
|
|
|
60352
60372
|
},
|
|
60353
60373
|
[ensureSessions, pushMessage, resumeActiveTurn]
|
|
60354
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
|
+
);
|
|
60355
60387
|
const doctorRunningRef = (0, import_react60.useRef)(false);
|
|
60356
60388
|
const runDoctorInSession = (0, import_react60.useCallback)(async () => {
|
|
60357
60389
|
if (doctorRunningRef.current) {
|
|
@@ -60361,7 +60393,7 @@ ${blocks.join("\n\n")}`;
|
|
|
60361
60393
|
doctorRunningRef.current = true;
|
|
60362
60394
|
const progressId = pushMessage("system", "Checking\u2026");
|
|
60363
60395
|
try {
|
|
60364
|
-
const { runLiveDoctor } = await import("./live-
|
|
60396
|
+
const { runLiveDoctor } = await import("./live-CSA2LX3R.js");
|
|
60365
60397
|
const { describePlainDoctor } = await import("./plain-report-IOYN4O6N.js");
|
|
60366
60398
|
const report = await runLiveDoctor({
|
|
60367
60399
|
...ctxRef.current.telemetry ? { telemetry: ctxRef.current.telemetry } : {}
|
|
@@ -60732,6 +60764,8 @@ ${blocks.join("\n\n")}`;
|
|
|
60732
60764
|
const startFreshConversation = (0, import_react60.useCallback)(
|
|
60733
60765
|
async (clearScreen2) => {
|
|
60734
60766
|
if (conversationMutationRef.current) return;
|
|
60767
|
+
const keepQueued = queuedBehindCommandRef.current;
|
|
60768
|
+
queuedBehindCommandRef.current = null;
|
|
60735
60769
|
if (palDefinitionRef.current && (abortRef.current || hasUnsettledTurn() || roundQueueRef.current.items().length > 0)) {
|
|
60736
60770
|
pushMessage(
|
|
60737
60771
|
"system",
|
|
@@ -60756,9 +60790,13 @@ ${blocks.join("\n\n")}`;
|
|
|
60756
60790
|
);
|
|
60757
60791
|
} else targetSessionId = await startConversation(sessions);
|
|
60758
60792
|
}
|
|
60759
|
-
const discardedQueued =
|
|
60793
|
+
const discardedQueued = Math.max(
|
|
60794
|
+
0,
|
|
60795
|
+
roundQueueRef.current.items().length - (keepQueued?.length ?? 0)
|
|
60796
|
+
);
|
|
60760
60797
|
const interrupted = interruptTurn();
|
|
60761
60798
|
discardQueued();
|
|
60799
|
+
if (keepQueued?.length) roundQueueRef.current.replace(keepQueued);
|
|
60762
60800
|
goalActivation.clear();
|
|
60763
60801
|
wakeGoalDriver();
|
|
60764
60802
|
cancelPendingModelSwitch();
|
|
@@ -61693,6 +61731,7 @@ ${plain(err)}`
|
|
|
61693
61731
|
limits: resolveTurnGuards(ctxRef.current.limits, turnLimitsOverrideRef.current),
|
|
61694
61732
|
...reasoningEffortRef.current !== void 0 ? { effort: reasoningEffortRef.current } : {},
|
|
61695
61733
|
...hypermodeRef.current ? { hypermode: true } : {},
|
|
61734
|
+
...ctxRef.current.refusalFallback ? { refusalFallback: ctxRef.current.refusalFallback } : {},
|
|
61696
61735
|
extraSystem: composeSkillsPrompt(activeSkills) || void 0,
|
|
61697
61736
|
onPermission: /* @__PURE__ */ __name(async (request) => {
|
|
61698
61737
|
if (!owns())
|
|
@@ -61779,6 +61818,7 @@ ${plain(err)}`
|
|
|
61779
61818
|
if (abandoned) setMessages((prev) => prev.filter((m) => m.id !== abandoned));
|
|
61780
61819
|
}, "voidStreamedReply");
|
|
61781
61820
|
if (event.kind === "provider-fallback" && event.restart) voidStreamedReply();
|
|
61821
|
+
if (event.kind === "model-refusal" && event.outcome === "fallback") voidStreamedReply();
|
|
61782
61822
|
if (event.kind === "provider-wait") {
|
|
61783
61823
|
const notice = describeProviderWait(event, scheduleLiveRef.current?.model?.provider);
|
|
61784
61824
|
providerWaitNoticeRef.current = notice;
|
|
@@ -61854,6 +61894,7 @@ ${plain(err)}`
|
|
|
61854
61894
|
}
|
|
61855
61895
|
switch (event.kind) {
|
|
61856
61896
|
case "delta": {
|
|
61897
|
+
if (st.pendingFallback) st.pendingFallback.answered = true;
|
|
61857
61898
|
if (event.messageId && (st.sourceMessageId !== event.messageId || event.textPart && st.sourceTextPartId !== event.textPart.id)) {
|
|
61858
61899
|
if (st.sourceMessageId !== void 0) closeAssistant();
|
|
61859
61900
|
st.sourceMessageId = event.messageId;
|
|
@@ -61890,6 +61931,7 @@ ${plain(err)}`
|
|
|
61890
61931
|
break;
|
|
61891
61932
|
}
|
|
61892
61933
|
case "tool-start": {
|
|
61934
|
+
if (st.pendingFallback) st.pendingFallback.answered = true;
|
|
61893
61935
|
turnToolCallsRef.current += 1;
|
|
61894
61936
|
closeAssistant();
|
|
61895
61937
|
if (event.fold)
|
|
@@ -62119,6 +62161,25 @@ ${plain(err)}`
|
|
|
62119
62161
|
case "provider-fallback":
|
|
62120
62162
|
pushSystem("warning", event.text);
|
|
62121
62163
|
break;
|
|
62164
|
+
case "model-refusal": {
|
|
62165
|
+
st.refusalRowShown = true;
|
|
62166
|
+
const detail = refusalDetail(event);
|
|
62167
|
+
if (event.outcome === "fallback" && event.fallbackModel) {
|
|
62168
|
+
refusalFallbackActiveRef.current = true;
|
|
62169
|
+
st.pendingFallback = {
|
|
62170
|
+
row: describeModelRefusal({ ...event, auto: autoActiveRef.current }),
|
|
62171
|
+
detail,
|
|
62172
|
+
model: event.fallbackModel
|
|
62173
|
+
};
|
|
62174
|
+
break;
|
|
62175
|
+
}
|
|
62176
|
+
pushSystem(
|
|
62177
|
+
"warning",
|
|
62178
|
+
describeModelRefusal(event),
|
|
62179
|
+
detail.length > 0 ? { detail } : void 0
|
|
62180
|
+
);
|
|
62181
|
+
break;
|
|
62182
|
+
}
|
|
62122
62183
|
case "capability-warning":
|
|
62123
62184
|
pushSystem(
|
|
62124
62185
|
"warning",
|
|
@@ -62163,6 +62224,18 @@ ${plain(err)}`
|
|
|
62163
62224
|
outcome: st.completed ? "completed" : "stopped"
|
|
62164
62225
|
};
|
|
62165
62226
|
closeAssistant();
|
|
62227
|
+
if (st.pendingFallback) {
|
|
62228
|
+
const pending = st.pendingFallback;
|
|
62229
|
+
st.pendingFallback = void 0;
|
|
62230
|
+
if (pending.answered === true && event.stopReason !== "refused" && event.stopReason !== "cancelled" && event.stopReason !== "error") {
|
|
62231
|
+
pushSystem(
|
|
62232
|
+
"warning",
|
|
62233
|
+
pending.row,
|
|
62234
|
+
pending.detail.length > 0 ? { detail: pending.detail } : void 0
|
|
62235
|
+
);
|
|
62236
|
+
st.answeredFallbackModel = pending.model;
|
|
62237
|
+
}
|
|
62238
|
+
}
|
|
62166
62239
|
if (refusalEndedTurnRef.current) {
|
|
62167
62240
|
refusalEndedTurnRef.current = false;
|
|
62168
62241
|
if (event.stopReason === "cancelled") {
|
|
@@ -62170,7 +62243,7 @@ ${plain(err)}`
|
|
|
62170
62243
|
pushMessage("system", row.content, false, row.glyph, void 0, row.color);
|
|
62171
62244
|
}
|
|
62172
62245
|
}
|
|
62173
|
-
const stopNotice = describeTurnStop(event.stopReason, event.budget);
|
|
62246
|
+
const stopNotice = event.stopReason === "refused" && st.refusalRowShown ? void 0 : describeTurnStop(event.stopReason, event.budget);
|
|
62174
62247
|
if (stopNotice) pushSystem("warning", stopNotice);
|
|
62175
62248
|
if (st.startedAt !== void 0) {
|
|
62176
62249
|
const since = st.startedAt;
|
|
@@ -62702,6 +62775,13 @@ ${jobLines.map(([, line]) => `- ${line}`).join("\n")}`] : []
|
|
|
62702
62775
|
// turn only; the session's own setting is untouched.
|
|
62703
62776
|
...(pinnedEffort ?? turnReasoningEffort) !== void 0 ? { effort: pinnedEffort ?? turnReasoningEffort } : {},
|
|
62704
62777
|
...turnHypermode ? { hypermode: true } : {},
|
|
62778
|
+
// A model picked with /model while this turn runs: read before every
|
|
62779
|
+
// request, so the next request of the loop uses it.
|
|
62780
|
+
liveModel: /* @__PURE__ */ __name(() => {
|
|
62781
|
+
const pick = liveModelPickRef.current;
|
|
62782
|
+
return pick && pick.session === previousSessionRef.current ? pick.model : void 0;
|
|
62783
|
+
}, "liveModel"),
|
|
62784
|
+
...ctxRef.current.refusalFallback ? { refusalFallback: ctxRef.current.refusalFallback } : {},
|
|
62705
62785
|
...turnTriggers.includes("workflow") ? { workflow: true } : {},
|
|
62706
62786
|
// Read at every iteration, so an after-turn trigger a steer
|
|
62707
62787
|
// binds to this turn is said from the next one on.
|
|
@@ -62808,6 +62888,29 @@ ${jobLines.map(([, line]) => `- ${line}`).join("\n")}`] : []
|
|
|
62808
62888
|
if (stillHere()) {
|
|
62809
62889
|
applyEvent(event, st);
|
|
62810
62890
|
markNonGoalAbnormal();
|
|
62891
|
+
if (event.kind === "done" && st.answeredFallbackModel && currentProvider) {
|
|
62892
|
+
const model = st.answeredFallbackModel;
|
|
62893
|
+
st.answeredFallbackModel = void 0;
|
|
62894
|
+
const held = deferredModelRef.current;
|
|
62895
|
+
const pin = !autoActiveRef.current && !(held && held.beforeRefusal !== true);
|
|
62896
|
+
if (pin) {
|
|
62897
|
+
if (held?.quiet === true && held.model) {
|
|
62898
|
+
deferredModelRef.current = null;
|
|
62899
|
+
liveModelPickRef.current = null;
|
|
62900
|
+
pushMessage(
|
|
62901
|
+
"system",
|
|
62902
|
+
`${held.model} declined this message, so ${model} stays selected.`
|
|
62903
|
+
);
|
|
62904
|
+
}
|
|
62905
|
+
const switched = await requestModelSwitch({ model, provider: currentProvider });
|
|
62906
|
+
if (switched.kind === "rejected") {
|
|
62907
|
+
pushMessage(
|
|
62908
|
+
"system",
|
|
62909
|
+
`${model} answered this message but could not be kept as the selected model.`
|
|
62910
|
+
);
|
|
62911
|
+
}
|
|
62912
|
+
}
|
|
62913
|
+
}
|
|
62811
62914
|
} else if (event.kind === "delta") st.text += event.text;
|
|
62812
62915
|
else if (event.kind === "done" && event.text !== void 0) st.text = event.text;
|
|
62813
62916
|
}
|
|
@@ -62826,6 +62929,7 @@ ${jobLines.map(([, line]) => `- ${line}`).join("\n")}`] : []
|
|
|
62826
62929
|
pushSystem("error", explainFailure(err, "That reply failed."));
|
|
62827
62930
|
}
|
|
62828
62931
|
} finally {
|
|
62932
|
+
refusalFallbackActiveRef.current = false;
|
|
62829
62933
|
readSearchGroup.close();
|
|
62830
62934
|
if (st.completed && stillHere())
|
|
62831
62935
|
markOrphanNoticesDelivered([...wakeSnapshot.workflows.keys()]);
|
|
@@ -62972,6 +63076,76 @@ ${jobLines.map(([, line]) => `- ${line}`).join("\n")}`] : []
|
|
|
62972
63076
|
wakeGoalDriver
|
|
62973
63077
|
]
|
|
62974
63078
|
);
|
|
63079
|
+
const deferModelSelection = (0, import_react60.useCallback)(
|
|
63080
|
+
async (query, wantsAuto) => {
|
|
63081
|
+
if (!session || !currentProvider) return;
|
|
63082
|
+
if (wantsAuto) {
|
|
63083
|
+
deferredModelRef.current = { query, quiet: false };
|
|
63084
|
+
pushMessage("system", "Switching to Auto when this reply finishes.");
|
|
63085
|
+
return;
|
|
63086
|
+
}
|
|
63087
|
+
let resolved;
|
|
63088
|
+
try {
|
|
63089
|
+
resolved = await resolveModelSelectionIntent(query, {
|
|
63090
|
+
currentProvider,
|
|
63091
|
+
detected,
|
|
63092
|
+
describeModels: describeProviderModels,
|
|
63093
|
+
signal: appLifetime.signal
|
|
63094
|
+
});
|
|
63095
|
+
} catch (error) {
|
|
63096
|
+
if (appLifetime.signal.aborted) return;
|
|
63097
|
+
pushMessage(
|
|
63098
|
+
"system",
|
|
63099
|
+
`${explainFailure(error, "Could not look up that model.")} The current model is unchanged.`
|
|
63100
|
+
);
|
|
63101
|
+
return;
|
|
63102
|
+
}
|
|
63103
|
+
if (appLifetime.signal.aborted) return;
|
|
63104
|
+
if (resolved.kind === "rejected") {
|
|
63105
|
+
pushMessage(
|
|
63106
|
+
"system",
|
|
63107
|
+
resolved.reason + (resolved.choices?.length ? ` Choices: ${resolved.choices.map((choice2) => `${choice2.provider}/${choice2.model}`).join(", ")}.` : "")
|
|
63108
|
+
);
|
|
63109
|
+
return;
|
|
63110
|
+
}
|
|
63111
|
+
const { selection } = resolved;
|
|
63112
|
+
const target = `${selection.id}/${selection.model}`;
|
|
63113
|
+
if (selection.id === currentProvider && !autoActiveRef.current) {
|
|
63114
|
+
if (refusalFallbackActiveRef.current) {
|
|
63115
|
+
deferredModelRef.current = {
|
|
63116
|
+
query: target,
|
|
63117
|
+
quiet: false,
|
|
63118
|
+
model: selection.model,
|
|
63119
|
+
beforeRefusal: false
|
|
63120
|
+
};
|
|
63121
|
+
pushMessage(
|
|
63122
|
+
"system",
|
|
63123
|
+
`Switching to ${selection.id} \xB7 ${selection.model} when this reply finishes.`
|
|
63124
|
+
);
|
|
63125
|
+
return;
|
|
63126
|
+
}
|
|
63127
|
+
liveModelPickRef.current = { session, model: selection.model };
|
|
63128
|
+
deferredModelRef.current = {
|
|
63129
|
+
query: target,
|
|
63130
|
+
quiet: true,
|
|
63131
|
+
model: selection.model,
|
|
63132
|
+
beforeRefusal: true
|
|
63133
|
+
};
|
|
63134
|
+
pushMessage(
|
|
63135
|
+
"system",
|
|
63136
|
+
`Using ${selection.model} from the next request. The one being answered now keeps its model.`
|
|
63137
|
+
);
|
|
63138
|
+
return;
|
|
63139
|
+
}
|
|
63140
|
+
liveModelPickRef.current = null;
|
|
63141
|
+
deferredModelRef.current = { query: target, quiet: false };
|
|
63142
|
+
pushMessage(
|
|
63143
|
+
"system",
|
|
63144
|
+
`Switching to ${selection.id} \xB7 ${selection.model} when this reply finishes.`
|
|
63145
|
+
);
|
|
63146
|
+
},
|
|
63147
|
+
[appLifetime.signal, currentProvider, detected, pushMessage, session]
|
|
63148
|
+
);
|
|
62975
63149
|
const selectModelIntent = (0, import_react60.useCallback)(
|
|
62976
63150
|
async (query, options = {}) => {
|
|
62977
63151
|
const wantsAuto = isAutoQuery(query);
|
|
@@ -62989,11 +63163,12 @@ ${jobLines.map(([, line]) => `- ${line}`).join("\n")}`] : []
|
|
|
62989
63163
|
return;
|
|
62990
63164
|
}
|
|
62991
63165
|
}
|
|
62992
|
-
if (!session || !currentProvider ||
|
|
62993
|
-
pushMessage(
|
|
62994
|
-
|
|
62995
|
-
|
|
62996
|
-
|
|
63166
|
+
if (!session || !currentProvider || phase !== "ready" && !options.fromPicker) {
|
|
63167
|
+
pushMessage("system", "Choose a model with /model once a provider is connected.");
|
|
63168
|
+
return;
|
|
63169
|
+
}
|
|
63170
|
+
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)) {
|
|
63171
|
+
await deferModelSelection(query, wantsAuto);
|
|
62997
63172
|
return;
|
|
62998
63173
|
}
|
|
62999
63174
|
const wasAuto = autoActiveRef.current;
|
|
@@ -63030,7 +63205,7 @@ ${jobLines.map(([, line]) => `- ${line}`).join("\n")}`] : []
|
|
|
63030
63205
|
beforePublish
|
|
63031
63206
|
});
|
|
63032
63207
|
if (pendingModelSwitchRef.current === pending && !pending.signal.aborted && previousSessionRef.current !== session) {
|
|
63033
|
-
pushMessage("system", AUTO_ON_NOTICE);
|
|
63208
|
+
if (!options.quiet) pushMessage("system", AUTO_ON_NOTICE);
|
|
63034
63209
|
}
|
|
63035
63210
|
return;
|
|
63036
63211
|
}
|
|
@@ -63065,12 +63240,14 @@ ${jobLines.map(([, line]) => `- ${line}`).join("\n")}`] : []
|
|
|
63065
63240
|
}
|
|
63066
63241
|
);
|
|
63067
63242
|
if (pendingModelSwitchRef.current === pending && !pending.signal.aborted && previousSessionRef.current !== session) {
|
|
63068
|
-
|
|
63069
|
-
|
|
63070
|
-
|
|
63071
|
-
|
|
63243
|
+
if (!options.quiet)
|
|
63244
|
+
pushMessage(
|
|
63245
|
+
"system",
|
|
63246
|
+
`Switched to ${resolved.selection.id} \xB7 ${resolved.selection.model} for this conversation.${wasAuto ? AUTO_TURNED_OFF_SUFFIX : ""}`
|
|
63247
|
+
);
|
|
63072
63248
|
}
|
|
63073
63249
|
} catch (error) {
|
|
63250
|
+
if (liveModelPickRef.current?.session === session) liveModelPickRef.current = null;
|
|
63074
63251
|
if (owns())
|
|
63075
63252
|
pushMessage(
|
|
63076
63253
|
"system",
|
|
@@ -63085,6 +63262,7 @@ ${jobLines.map(([, line]) => `- ${line}`).join("\n")}`] : []
|
|
|
63085
63262
|
}
|
|
63086
63263
|
},
|
|
63087
63264
|
[
|
|
63265
|
+
deferModelSelection,
|
|
63088
63266
|
session,
|
|
63089
63267
|
currentProvider,
|
|
63090
63268
|
state,
|
|
@@ -63097,6 +63275,60 @@ ${jobLines.map(([, line]) => `- ${line}`).join("\n")}`] : []
|
|
|
63097
63275
|
wakeGoalDriver
|
|
63098
63276
|
]
|
|
63099
63277
|
);
|
|
63278
|
+
chooseModelRef.current = (query) => {
|
|
63279
|
+
void selectModelIntent(query);
|
|
63280
|
+
};
|
|
63281
|
+
const openLiveModelPicker = (0, import_react60.useCallback)(async () => {
|
|
63282
|
+
const entry = detected.find((item) => item.entry.id === currentProvider);
|
|
63283
|
+
if (!session?.hasProvider || !currentProvider || !entry) {
|
|
63284
|
+
pushMessage("system", "Choose a model with /model once a provider is connected.");
|
|
63285
|
+
return;
|
|
63286
|
+
}
|
|
63287
|
+
const listing = await describeProviderModels(currentProvider, entry, appLifetime.signal).catch(
|
|
63288
|
+
() => void 0
|
|
63289
|
+
);
|
|
63290
|
+
if (appLifetime.signal.aborted) return;
|
|
63291
|
+
const models = listing?.kind === "ok" ? listing.models.filter((model) => canSelectModel(entry.entry, entry.apiKey, model.id)) : [];
|
|
63292
|
+
if (models.length === 0) {
|
|
63293
|
+
pushMessage(
|
|
63294
|
+
"system",
|
|
63295
|
+
`The model list for ${entry.entry.label} could not be read. Type /model <name> to choose one.`
|
|
63296
|
+
);
|
|
63297
|
+
return;
|
|
63298
|
+
}
|
|
63299
|
+
const current = session.modelSummary;
|
|
63300
|
+
const picker = {
|
|
63301
|
+
kind: "model-live",
|
|
63302
|
+
title: `Select a model for ${entry.entry.label}`,
|
|
63303
|
+
notice: "Used from the next request; the one being answered now keeps its model. For another provider, type /model provider/model.",
|
|
63304
|
+
provider: currentProvider,
|
|
63305
|
+
values: models.map((model) => model.id),
|
|
63306
|
+
options: models.map((model) => ({
|
|
63307
|
+
label: model.name,
|
|
63308
|
+
description: model.name === model.id ? "" : model.id,
|
|
63309
|
+
current: model.id === current || model.name === current,
|
|
63310
|
+
searchText: `${model.id} ${model.name}`
|
|
63311
|
+
}))
|
|
63312
|
+
};
|
|
63313
|
+
setSelectedChoice(
|
|
63314
|
+
Math.max(
|
|
63315
|
+
0,
|
|
63316
|
+
picker.options.findIndex((option) => option.current)
|
|
63317
|
+
)
|
|
63318
|
+
);
|
|
63319
|
+
const busy = abortRef.current !== null || hasUnsettledTurn();
|
|
63320
|
+
setChoicePicker(picker);
|
|
63321
|
+
if (busy) retireAtTurnEndRef.current = picker;
|
|
63322
|
+
}, [
|
|
63323
|
+
appLifetime.signal,
|
|
63324
|
+
currentProvider,
|
|
63325
|
+
detected,
|
|
63326
|
+
hasUnsettledTurn,
|
|
63327
|
+
pushMessage,
|
|
63328
|
+
session,
|
|
63329
|
+
setChoicePicker,
|
|
63330
|
+
setSelectedChoice
|
|
63331
|
+
]);
|
|
63100
63332
|
const accountActionsRef = (0, import_react60.useRef)(null);
|
|
63101
63333
|
const openAccounts = (0, import_react60.useCallback)(
|
|
63102
63334
|
() => openCliAccounts({
|
|
@@ -63687,7 +63919,7 @@ ${jobLines.map(([, line]) => `- ${line}`).join("\n")}`] : []
|
|
|
63687
63919
|
return;
|
|
63688
63920
|
}
|
|
63689
63921
|
const viewedId = viewingAgentRef.current;
|
|
63690
|
-
if (viewedId !== null && meta.source !== "model-loop" && meta.source !== "launch-message") {
|
|
63922
|
+
if (viewedId !== null && meta.source !== "model-loop" && meta.source !== "launch-message" && meta.source !== "queued-command") {
|
|
63691
63923
|
const restore = /* @__PURE__ */ __name((notice) => {
|
|
63692
63924
|
setViewNotice(notice);
|
|
63693
63925
|
composerDraftTokenRef.current += 1;
|
|
@@ -63746,7 +63978,8 @@ ${jobLines.map(([, line]) => `- ${line}`).join("\n")}`] : []
|
|
|
63746
63978
|
selfMendingPauseRowRef.current.forget();
|
|
63747
63979
|
const fromLoop = meta.source === "operator-loop" || meta.source === "model-loop";
|
|
63748
63980
|
keybindingDraftRef.current = meta.source === "keybinding" ? meta.draft ?? null : null;
|
|
63749
|
-
if (!fromLoop && meta.source !== "keybinding"
|
|
63981
|
+
if (!fromLoop && meta.source !== "keybinding" && meta.source !== "queued-command")
|
|
63982
|
+
setHistory((prev) => [...prev, value]);
|
|
63750
63983
|
const operatorText = meta.source !== "model-loop" && meta.source !== "launch-message";
|
|
63751
63984
|
const selectionIntent = operatorText && !attachments?.length ? parseModelSelectionIntent(value) : void 0;
|
|
63752
63985
|
if (selectionIntent) {
|
|
@@ -63829,6 +64062,24 @@ ${jobLines.map(([, line]) => `- ${line}`).join("\n")}`] : []
|
|
|
63829
64062
|
);
|
|
63830
64063
|
return;
|
|
63831
64064
|
}
|
|
64065
|
+
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:
|
|
64066
|
+
// the pause only lifts through a command (`/resume`, `/clear`), so
|
|
64067
|
+
// waiting behind them would wait for itself.
|
|
64068
|
+
roundQueueRef.current.items().length > 0 && roundQueueRef.current.pause() === null)) {
|
|
64069
|
+
enqueueQueued({
|
|
64070
|
+
kind: "human",
|
|
64071
|
+
text: dispatch.trim(),
|
|
64072
|
+
command: true,
|
|
64073
|
+
...meta.source === "composer" ? { recallable: true } : {}
|
|
64074
|
+
});
|
|
64075
|
+
return;
|
|
64076
|
+
}
|
|
64077
|
+
if (operatorText && (state !== "idle" || abortRef.current !== null || hasUnsettledTurn()) && slashTiming(dispatch, userCommands, hostCommands) === "now") {
|
|
64078
|
+
slashWhileReplyRef.current = true;
|
|
64079
|
+
queueMicrotask(() => {
|
|
64080
|
+
slashWhileReplyRef.current = false;
|
|
64081
|
+
});
|
|
64082
|
+
}
|
|
63832
64083
|
const slash = operatorText ? runSlash(dispatch, slashCtx, hostCommands) : null;
|
|
63833
64084
|
if (slash) {
|
|
63834
64085
|
const commandName = /^\/([\w-]+)/u.exec(dispatch.trim())?.[1];
|
|
@@ -64243,10 +64494,7 @@ ${peersList.map((peer) => `${peer.self ? "This terminal" : peer.title} [${peer.r
|
|
|
64243
64494
|
return;
|
|
64244
64495
|
case "repick":
|
|
64245
64496
|
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) {
|
|
64246
|
-
|
|
64247
|
-
"system",
|
|
64248
|
-
"Model choices are unavailable while a reply, a question, queued messages or a summary are in progress. Try again when they finish."
|
|
64249
|
-
);
|
|
64497
|
+
void openLiveModelPicker();
|
|
64250
64498
|
return;
|
|
64251
64499
|
}
|
|
64252
64500
|
setPickerNotice(null);
|
|
@@ -64299,10 +64547,6 @@ ${answer}`
|
|
|
64299
64547
|
pushMessage("system", "Choose a model before changing permissions.");
|
|
64300
64548
|
return;
|
|
64301
64549
|
}
|
|
64302
|
-
if (state !== "idle" || abortRef.current !== null || hasUnsettledTurn() || roundQueueRef.current.items().length > 0 || permissionResolveRef.current !== null || compactingRef.current) {
|
|
64303
|
-
pushMessage("system", "Finish or stop the current work before changing permissions.");
|
|
64304
|
-
return;
|
|
64305
|
-
}
|
|
64306
64550
|
const picker = permissionPicker(
|
|
64307
64551
|
permissionModeRef.current,
|
|
64308
64552
|
false,
|
|
@@ -64331,13 +64575,6 @@ ${answer}`
|
|
|
64331
64575
|
);
|
|
64332
64576
|
return;
|
|
64333
64577
|
}
|
|
64334
|
-
if (state !== "idle" || abortRef.current !== null || hasUnsettledTurn() || roundQueueRef.current.items().length > 0 || permissionResolveRef.current !== null || compactingRef.current) {
|
|
64335
|
-
pushMessage(
|
|
64336
|
-
"system",
|
|
64337
|
-
"Reasoning-effort choices are unavailable while a reply, a question, a summary or queued messages are in progress. Try again when they finish."
|
|
64338
|
-
);
|
|
64339
|
-
return;
|
|
64340
|
-
}
|
|
64341
64578
|
const values = [void 0, ...levels];
|
|
64342
64579
|
const current = reasoningEffortRef.current;
|
|
64343
64580
|
setSelectedChoice(
|
|
@@ -65214,6 +65451,7 @@ ${plugins.map((plugin) => {
|
|
|
65214
65451
|
materializeConversation,
|
|
65215
65452
|
nextId,
|
|
65216
65453
|
openAgentCockpit,
|
|
65454
|
+
openLiveModelPicker,
|
|
65217
65455
|
abandonActiveTurn,
|
|
65218
65456
|
pushMessage,
|
|
65219
65457
|
rawOutput,
|
|
@@ -65232,7 +65470,8 @@ ${plugins.map((plugin) => {
|
|
|
65232
65470
|
stableExportSource,
|
|
65233
65471
|
startFreshConversation,
|
|
65234
65472
|
state,
|
|
65235
|
-
terminal.rows
|
|
65473
|
+
terminal.rows,
|
|
65474
|
+
userCommands
|
|
65236
65475
|
]
|
|
65237
65476
|
);
|
|
65238
65477
|
const idleStateRef = (0, import_react60.useRef)({
|
|
@@ -65501,7 +65740,7 @@ ${plugins.map((plugin) => {
|
|
|
65501
65740
|
turnRunning: Boolean(abortRef.current),
|
|
65502
65741
|
unsettledTurn: hasUnsettledTurn(),
|
|
65503
65742
|
pendingModelSwitch: Boolean(pendingModelSwitchRef.current),
|
|
65504
|
-
conversationMutation: Boolean(conversationMutationRef.current),
|
|
65743
|
+
conversationMutation: Boolean(conversationMutationRef.current) || resumeOpeningRef.current,
|
|
65505
65744
|
exporting: Boolean(exportingRef.current),
|
|
65506
65745
|
compacting: Boolean(compactingRef.current),
|
|
65507
65746
|
textPrompt: Boolean(textPromptRef.current),
|
|
@@ -65608,10 +65847,66 @@ ${plugins.map((plugin) => {
|
|
|
65608
65847
|
copyPicker,
|
|
65609
65848
|
wakeGoalDriver
|
|
65610
65849
|
]);
|
|
65850
|
+
(0, import_react60.useEffect)(() => {
|
|
65851
|
+
const panel = retireAtTurnEndRef.current;
|
|
65852
|
+
if (panel === null) return;
|
|
65853
|
+
if (choicePickerRef.current !== panel) {
|
|
65854
|
+
retireAtTurnEndRef.current = null;
|
|
65855
|
+
return;
|
|
65856
|
+
}
|
|
65857
|
+
if (state !== "idle" || abortRef.current !== null || hasUnsettledTurn()) return;
|
|
65858
|
+
retireAtTurnEndRef.current = null;
|
|
65859
|
+
setSelectedChoice(0);
|
|
65860
|
+
setChoicePicker(null);
|
|
65861
|
+
}, [
|
|
65862
|
+
state,
|
|
65863
|
+
choicePicker,
|
|
65864
|
+
queueSettleVersion,
|
|
65865
|
+
hasUnsettledTurn,
|
|
65866
|
+
setChoicePicker,
|
|
65867
|
+
setSelectedChoice
|
|
65868
|
+
]);
|
|
65869
|
+
(0, import_react60.useEffect)(() => {
|
|
65870
|
+
const deferred = deferredModelRef.current;
|
|
65871
|
+
if (!deferred) return;
|
|
65872
|
+
const facts = { ...roundGateFacts(), queueLength: 0, queuePaused: false };
|
|
65873
|
+
if (admissionBlocked("peer", facts) !== null) return;
|
|
65874
|
+
deferredModelRef.current = null;
|
|
65875
|
+
void selectModelIntent(deferred.query, {
|
|
65876
|
+
atBoundary: true,
|
|
65877
|
+
quiet: deferred.quiet
|
|
65878
|
+
});
|
|
65879
|
+
}, [
|
|
65880
|
+
state,
|
|
65881
|
+
phase,
|
|
65882
|
+
queued,
|
|
65883
|
+
queueSettleVersion,
|
|
65884
|
+
modelSwitchVersion,
|
|
65885
|
+
textPrompt,
|
|
65886
|
+
choicePicker,
|
|
65887
|
+
copyPicker,
|
|
65888
|
+
hasUnsettledTurn,
|
|
65889
|
+
selectModelIntent
|
|
65890
|
+
]);
|
|
65611
65891
|
(0, import_react60.useEffect)(() => {
|
|
65612
65892
|
if (admissionBlocked("queue", roundGateFacts()) !== null) return;
|
|
65613
65893
|
const next = dequeueQueued();
|
|
65614
|
-
if (next
|
|
65894
|
+
if (next === void 0) return;
|
|
65895
|
+
if (next.kind === "human" && next.command) {
|
|
65896
|
+
const behind = roundQueueRef.current.items();
|
|
65897
|
+
roundQueueRef.current.replace([]);
|
|
65898
|
+
queuedBehindCommandRef.current = behind;
|
|
65899
|
+
try {
|
|
65900
|
+
handleSubmit(next.text, void 0, "submit", {
|
|
65901
|
+
source: "queued-command"
|
|
65902
|
+
});
|
|
65903
|
+
} finally {
|
|
65904
|
+
roundQueueRef.current.replace([...roundQueueRef.current.items(), ...behind]);
|
|
65905
|
+
queuedBehindCommandRef.current = null;
|
|
65906
|
+
}
|
|
65907
|
+
return;
|
|
65908
|
+
}
|
|
65909
|
+
void runTurn(next);
|
|
65615
65910
|
}, [
|
|
65616
65911
|
state,
|
|
65617
65912
|
phase,
|
|
@@ -65623,6 +65918,7 @@ ${plugins.map((plugin) => {
|
|
|
65623
65918
|
choicePicker,
|
|
65624
65919
|
copyPicker,
|
|
65625
65920
|
dequeueQueued,
|
|
65921
|
+
handleSubmit,
|
|
65626
65922
|
hasUnsettledTurn,
|
|
65627
65923
|
runTurn
|
|
65628
65924
|
]);
|
|
@@ -65632,6 +65928,7 @@ ${plugins.map((plugin) => {
|
|
|
65632
65928
|
peersStartingRef.current = true;
|
|
65633
65929
|
let disposed = false;
|
|
65634
65930
|
let opened = null;
|
|
65931
|
+
const workspaceHostSlot = hostSlot(process.env);
|
|
65635
65932
|
const hostFacts = /* @__PURE__ */ __name(() => {
|
|
65636
65933
|
let activity;
|
|
65637
65934
|
try {
|
|
@@ -65665,10 +65962,10 @@ ${plugins.map((plugin) => {
|
|
|
65665
65962
|
wakePeers((version) => version + 1);
|
|
65666
65963
|
}, "available"),
|
|
65667
65964
|
report: /* @__PURE__ */ __name((text) => pushMessage("system", text), "report"),
|
|
65668
|
-
...
|
|
65669
|
-
// Only a session inside a
|
|
65965
|
+
...workspaceHostSlot ? { hostSlot: workspaceHostSlot } : {},
|
|
65966
|
+
// Only a session inside a workspaces host writes the new record fields, so a plain
|
|
65670
65967
|
// session stays readable by builds that predate them.
|
|
65671
|
-
...
|
|
65968
|
+
...workspaceHostSlot ? {
|
|
65672
65969
|
conversation: /* @__PURE__ */ __name(() => conversationMaterializedRef.current ? scopeRef.current?.sessionId : void 0, "conversation"),
|
|
65673
65970
|
account: /* @__PURE__ */ __name(() => hostFacts().account, "account"),
|
|
65674
65971
|
limited: /* @__PURE__ */ __name(() => hostFacts().limited, "limited"),
|
|
@@ -67129,7 +67426,7 @@ ${plugins.map((plugin) => {
|
|
|
67129
67426
|
onDraftPresenceChange: setComposerHasDraft,
|
|
67130
67427
|
onOpenAgentPanel: focusAgentRail,
|
|
67131
67428
|
onOpenAgents: () => void openAgentCockpit(),
|
|
67132
|
-
|
|
67429
|
+
onOpenWorkspaces: onOpenWorkspaces ? () => void onOpenWorkspaces().then((opened) => {
|
|
67133
67430
|
if (!opened) void openAgentCockpit();
|
|
67134
67431
|
}) : void 0,
|
|
67135
67432
|
onScrollTranscript: () => setScrollOpen(true),
|
|
@@ -67191,8 +67488,8 @@ ${plugins.map((plugin) => {
|
|
|
67191
67488
|
monitorCount: showComposerSurface && !childSurfaceOpen ? runningMonitorCount : 0,
|
|
67192
67489
|
pr: prStatus,
|
|
67193
67490
|
hyperlinks,
|
|
67194
|
-
agentCount: footerKeysLive && !
|
|
67195
|
-
workflowCount: footerKeysLive && !
|
|
67491
|
+
agentCount: footerKeysLive && !onOpenWorkspaces ? runningAgentCount : 0,
|
|
67492
|
+
workflowCount: footerKeysLive && !onOpenWorkspaces ? runningWorkflowCount : 0,
|
|
67196
67493
|
canManage: footerKeysLive && railFocus === null && (runningShellCount > 0 || railHasRows),
|
|
67197
67494
|
shellsSelected: railFocus === SHELLS_FOCUS,
|
|
67198
67495
|
...tasks.length > 0 && showComposerSurface && !childSurfaceOpen ? { tasksOpen: checklistOpen } : {},
|
|
@@ -67373,9 +67670,15 @@ function withAccountLabel(model, provider, account) {
|
|
|
67373
67670
|
}
|
|
67374
67671
|
__name(withAccountLabel, "withAccountLabel");
|
|
67375
67672
|
function choicePickerSearchable(picker) {
|
|
67376
|
-
return [
|
|
67377
|
-
|
|
67378
|
-
|
|
67673
|
+
return [
|
|
67674
|
+
"command",
|
|
67675
|
+
"skill",
|
|
67676
|
+
"plugin",
|
|
67677
|
+
"review-branch",
|
|
67678
|
+
"review-commit",
|
|
67679
|
+
"account",
|
|
67680
|
+
"model-live"
|
|
67681
|
+
].includes(picker.kind);
|
|
67379
67682
|
}
|
|
67380
67683
|
__name(choicePickerSearchable, "choicePickerSearchable");
|
|
67381
67684
|
function loadedPluginPicker(owner) {
|
|
@@ -67913,7 +68216,7 @@ function fileTipHistory(home) {
|
|
|
67913
68216
|
__name(fileTipHistory, "fileTipHistory");
|
|
67914
68217
|
|
|
67915
68218
|
// src/tui/zoom/leave.ts
|
|
67916
|
-
async function
|
|
68219
|
+
async function leaveWorkspacesBounded(options) {
|
|
67917
68220
|
let wanted = true;
|
|
67918
68221
|
let timer;
|
|
67919
68222
|
const hand = /* @__PURE__ */ __name(async () => {
|
|
@@ -67933,7 +68236,7 @@ async function leaveSpacesBounded(options) {
|
|
|
67933
68236
|
clearTimeout(timer);
|
|
67934
68237
|
}
|
|
67935
68238
|
}
|
|
67936
|
-
__name(
|
|
68239
|
+
__name(leaveWorkspacesBounded, "leaveWorkspacesBounded");
|
|
67937
68240
|
|
|
67938
68241
|
// src/tui/zoom/proxy.ts
|
|
67939
68242
|
import { EventEmitter as EventEmitter3 } from "node:events";
|
|
@@ -68077,7 +68380,7 @@ function createTerminalProxy(realOut, realIn) {
|
|
|
68077
68380
|
__name(createTerminalProxy, "createTerminalProxy");
|
|
68078
68381
|
|
|
68079
68382
|
// src/tui/index.tsx
|
|
68080
|
-
var
|
|
68383
|
+
var LEAVE_WORKSPACES_MS = 2e3;
|
|
68081
68384
|
async function launchTui(ctx, options = {}) {
|
|
68082
68385
|
const invocation = {
|
|
68083
68386
|
cwd: resolve8(ctx.cwd),
|
|
@@ -68110,51 +68413,51 @@ async function launchTui(ctx, options = {}) {
|
|
|
68110
68413
|
const proxy = !hosted && consoleInput === void 0 && process.platform !== "win32" && process.stdout.isTTY === true && inputStream.isTTY === true ? createTerminalProxy(process.stdout, inputStream) : null;
|
|
68111
68414
|
const terminationExit = { current: null };
|
|
68112
68415
|
const repaint = { current: null };
|
|
68113
|
-
const
|
|
68416
|
+
const workspaces = {
|
|
68114
68417
|
current: null
|
|
68115
68418
|
};
|
|
68116
|
-
const
|
|
68117
|
-
|
|
68118
|
-
(m) => m.
|
|
68419
|
+
const workspacesEntry = /* @__PURE__ */ __name(() => {
|
|
68420
|
+
workspaces.current ??= import("./entry-P6YPWRQW.js").then(
|
|
68421
|
+
(m) => m.createWorkspacesEntry({
|
|
68119
68422
|
proxy,
|
|
68120
68423
|
realOut: process.stdout,
|
|
68121
68424
|
env: process.env,
|
|
68122
68425
|
cwd: process.cwd(),
|
|
68123
68426
|
entry: process.argv[1],
|
|
68124
|
-
prefixSetting: ctx.tui?.spacesPrefix,
|
|
68427
|
+
prefixSetting: ctx.tui?.workspacesPrefix ?? ctx.tui?.spacesPrefix,
|
|
68125
68428
|
...ctx.tui?.mouse !== void 0 ? { mouseSetting: ctx.tui.mouse } : {},
|
|
68126
68429
|
...ctx.tui?.copyOnSelect !== void 0 ? { copyOnSelect: ctx.tui.copyOnSelect } : {},
|
|
68127
68430
|
requestExit: /* @__PURE__ */ __name(() => terminationExit.current ? terminationExit.current() : instance.unmount(), "requestExit"),
|
|
68128
68431
|
repaint: /* @__PURE__ */ __name(() => repaint.current?.(), "repaint")
|
|
68129
68432
|
})
|
|
68130
68433
|
);
|
|
68131
|
-
return
|
|
68132
|
-
}, "
|
|
68133
|
-
const
|
|
68134
|
-
process.stdout.write(
|
|
68434
|
+
return workspaces.current;
|
|
68435
|
+
}, "workspacesEntry");
|
|
68436
|
+
const onOpenWorkspaces = hosted ? () => {
|
|
68437
|
+
process.stdout.write(workspacesSignal("zoom-out"));
|
|
68135
68438
|
return Promise.resolve(true);
|
|
68136
68439
|
} : proxy !== null ? async () => {
|
|
68137
68440
|
try {
|
|
68138
|
-
return await (await
|
|
68441
|
+
return await (await workspacesEntry()).open();
|
|
68139
68442
|
} catch {
|
|
68140
68443
|
return false;
|
|
68141
68444
|
}
|
|
68142
68445
|
} : void 0;
|
|
68143
68446
|
const onConfirmExit = !hosted && proxy !== null ? async () => {
|
|
68144
68447
|
try {
|
|
68145
|
-
return
|
|
68448
|
+
return workspaces.current === null ? true : await (await workspaces.current).confirmExit();
|
|
68146
68449
|
} catch {
|
|
68147
68450
|
return true;
|
|
68148
68451
|
}
|
|
68149
68452
|
} : void 0;
|
|
68150
68453
|
const beforeExit = !hosted && proxy !== null ? async () => {
|
|
68151
|
-
if (
|
|
68152
|
-
await
|
|
68153
|
-
release: /* @__PURE__ */ __name((stillWanted) =>
|
|
68454
|
+
if (workspaces.current === null) return;
|
|
68455
|
+
await leaveWorkspacesBounded({
|
|
68456
|
+
release: /* @__PURE__ */ __name((stillWanted) => workspaces.current.then(
|
|
68154
68457
|
(entry) => entry.release(stillWanted)
|
|
68155
68458
|
), "release"),
|
|
68156
68459
|
flush: /* @__PURE__ */ __name(() => instance.waitUntilRenderFlush(), "flush"),
|
|
68157
|
-
limitMs:
|
|
68460
|
+
limitMs: LEAVE_WORKSPACES_MS
|
|
68158
68461
|
});
|
|
68159
68462
|
} : void 0;
|
|
68160
68463
|
let terminatedBy = null;
|
|
@@ -68166,7 +68469,7 @@ async function launchTui(ctx, options = {}) {
|
|
|
68166
68469
|
}, "onExitSummary"),
|
|
68167
68470
|
terminationExit,
|
|
68168
68471
|
repaint,
|
|
68169
|
-
...
|
|
68472
|
+
...onOpenWorkspaces ? { onOpenWorkspaces } : {},
|
|
68170
68473
|
...onConfirmExit ? { onConfirmExit } : {},
|
|
68171
68474
|
...beforeExit ? { beforeExit } : {},
|
|
68172
68475
|
examplePrompts: true,
|
|
@@ -68195,12 +68498,12 @@ async function launchTui(ctx, options = {}) {
|
|
|
68195
68498
|
if (terminationExit.current) terminationExit.current();
|
|
68196
68499
|
else instance.unmount();
|
|
68197
68500
|
await instance.waitUntilExit();
|
|
68198
|
-
if (
|
|
68501
|
+
if (workspaces.current !== null) await (await workspaces.current).shutdown();
|
|
68199
68502
|
});
|
|
68200
68503
|
try {
|
|
68201
68504
|
await instance.waitUntilExit();
|
|
68202
68505
|
} finally {
|
|
68203
|
-
if (
|
|
68506
|
+
if (workspaces.current !== null) await (await workspaces.current).shutdown();
|
|
68204
68507
|
termination.dispose();
|
|
68205
68508
|
stopSizeWatch?.();
|
|
68206
68509
|
stopFocusReporting();
|
|
@@ -68304,4 +68607,4 @@ react/cjs/react-jsx-runtime.development.js:
|
|
|
68304
68607
|
* LICENSE file in the root directory of this source tree.
|
|
68305
68608
|
*)
|
|
68306
68609
|
*/
|
|
68307
|
-
//# sourceMappingURL=tui-
|
|
68610
|
+
//# sourceMappingURL=tui-CCAGK7BG.js.map
|