@organizaone/o1-code 0.21.8 → 0.21.11
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/bundled/qc-helper/docs/configuration/model-providers.md +3 -2
- package/chunks/{MaxSizedBox-5JDIZGRI.js → MaxSizedBox-2FWSV7FI.js} +26 -27
- package/chunks/{StandaloneSessionPicker-337W36MR.js → StandaloneSessionPicker-IAUJMK74.js} +44 -45
- package/chunks/{acp-subagent-executor-AZWIITY3.js → acp-subagent-executor-GEEL2MZ6.js} +24 -24
- package/chunks/{acpAgent-PEHT7573.js → acpAgent-OPXOXGFU.js} +112 -113
- package/chunks/{agent-WEPKBCCS.js → agent-NCDEREDG.js} +13 -13
- package/chunks/{agent-headless-LXH6LAJ4.js → agent-headless-EZZUUVIB.js} +13 -13
- package/chunks/{all-providers-R7MFQTE7.js → all-providers-2ST3OWID.js} +3 -3
- package/chunks/{anthropicContentGenerator-WZ3YSYDF.js → anthropicContentGenerator-7BFVPSHZ.js} +7 -7
- package/chunks/{bridge-TVSETA7K.js → bridge-ETQNZ6KS.js} +25 -25
- package/chunks/{build-MAJLYX7D.js → build-U7CYF476.js} +3 -1
- package/chunks/{ca-EMDHXMDN.js → ca-GU7RNZSU.js} +2 -1
- package/chunks/{chunk-WIYLWOCP.js → chunk-2H5AYSDZ.js} +552 -553
- package/chunks/{chunk-MREQOAW7.js → chunk-2MIPBAQP.js} +9 -9
- package/chunks/{chunk-JSY4J2FE.js → chunk-2Q6AZPNP.js} +3 -3
- package/chunks/{chunk-O7OCJ6MQ.js → chunk-2V2HOEMT.js} +3 -3
- package/chunks/{chunk-AZ4ZCY3E.js → chunk-3KLKHKEB.js} +4 -4
- package/chunks/{chunk-R7SPXY4A.js → chunk-3MYKJC6P.js} +1 -1
- package/chunks/{chunk-37VDIIHU.js → chunk-3X7E3AWH.js} +2 -2
- package/chunks/{chunk-IE4RH3YW.js → chunk-4ABCTDVK.js} +1 -1
- package/chunks/{chunk-UMI3KYEG.js → chunk-4BE7MFUW.js} +8 -8
- package/chunks/{chunk-GXYKKO5F.js → chunk-4D2ZKS2J.js} +2 -2
- package/chunks/{chunk-HL32D3FC.js → chunk-4FZTHBFE.js} +5 -5
- package/chunks/{chunk-A32TOFXI.js → chunk-4HL4OWZ2.js} +2 -2
- package/chunks/{chunk-YSZVDMBR.js → chunk-4PSWGNTB.js} +2 -2
- package/chunks/{chunk-PHD4B34J.js → chunk-4WIMZMTX.js} +6 -6
- package/chunks/{chunk-5JBX43I3.js → chunk-67HLAKZL.js} +6 -6
- package/chunks/{chunk-XL5ZRHQA.js → chunk-6RTZ7UD6.js} +2 -2
- package/chunks/{chunk-7W6HMRGG.js → chunk-6ZDW5III.js} +8 -8
- package/chunks/{chunk-WRB3UNB5.js → chunk-75MPDOHZ.js} +3 -3
- package/chunks/{chunk-P7RO4QSF.js → chunk-7HN3RHKV.js} +998 -87
- package/chunks/{chunk-CAVFN5I5.js → chunk-7U6M3BD5.js} +3 -3
- package/chunks/{chunk-HIMOZPLA.js → chunk-AAW2TG66.js} +1 -0
- package/chunks/{chunk-5WDVZJDQ.js → chunk-ANNYW7PO.js} +2 -2
- package/chunks/{chunk-7DQWDZUQ.js → chunk-AZMVJ5C3.js} +1 -1
- package/chunks/{chunk-NVI4SRJU.js → chunk-B7AGOETA.js} +1 -1
- package/chunks/{chunk-IG4SI7D6.js → chunk-C2WMERW4.js} +1 -1
- package/chunks/{chunk-HIGJHRG5.js → chunk-C4YKGP4G.js} +1 -1
- package/chunks/{chunk-KXCRSEZN.js → chunk-C7WGRJH3.js} +2 -2
- package/chunks/{chunk-566GYHAE.js → chunk-CB6GTOTC.js} +3 -3
- package/chunks/{chunk-ZEJQB32M.js → chunk-CC4MR6JY.js} +1 -1
- package/chunks/{chunk-4TOOWZCQ.js → chunk-CP4FRKFD.js} +1 -1
- package/chunks/{chunk-N7R6Z4QV.js → chunk-CQ3TT5CD.js} +2 -2
- package/chunks/{chunk-TDZFKR2H.js → chunk-CTORCJRO.js} +2 -2
- package/chunks/{chunk-JOUK4R23.js → chunk-D2PCRDAN.js} +3 -3
- package/chunks/{chunk-QYBFVUU2.js → chunk-DBMNMWJD.js} +3 -3
- package/chunks/{chunk-WUFRJBFC.js → chunk-DDYIYPX4.js} +1 -1
- package/chunks/{chunk-TJQTTY4F.js → chunk-DQORDG4A.js} +2 -2
- package/chunks/{chunk-IS5IIFV3.js → chunk-DT4XHXJD.js} +2 -2
- package/chunks/{chunk-R5HO4EJV.js → chunk-E2NTOSGU.js} +1 -1
- package/chunks/{chunk-KIKQVSGH.js → chunk-EJS6XSIJ.js} +2 -2
- package/chunks/{chunk-RVRJZT5M.js → chunk-EVIGOLAL.js} +1 -1
- package/chunks/{chunk-XRY6XLJD.js → chunk-FGRVF6H3.js} +1350 -168
- package/chunks/{chunk-N3TIE57S.js → chunk-FIBEJIUP.js} +2 -2
- package/chunks/{chunk-5RYP7RZG.js → chunk-FQGLVBOZ.js} +1 -1
- package/chunks/{chunk-YZHGNS36.js → chunk-FWGGR3EP.js} +38 -38
- package/chunks/{chunk-VGMNG7VW.js → chunk-G3MI7JUZ.js} +2 -2
- package/chunks/{chunk-V5KWWBKF.js → chunk-GIIKRH34.js} +1 -1
- package/chunks/{chunk-TC2TJAOF.js → chunk-GM2WNDZ5.js} +1 -1
- package/chunks/{chunk-YSOP3ENC.js → chunk-GXVPBIXP.js} +1 -1
- package/chunks/{chunk-RA3QWZZQ.js → chunk-GY5IE6TZ.js} +1 -1
- package/chunks/{chunk-VCV7AYPL.js → chunk-H2XB6JJR.js} +3 -3
- package/chunks/{chunk-NRBB6WW6.js → chunk-HDKFD7Z3.js} +1 -1
- package/chunks/{chunk-XT5JXHVL.js → chunk-HTFHMT2B.js} +1 -1
- package/chunks/{chunk-PWCTX66B.js → chunk-HVDKV73M.js} +2 -2
- package/chunks/{chunk-D2RK5447.js → chunk-IFSHKBED.js} +43 -45
- package/chunks/{chunk-6VFNWYWN.js → chunk-IHCKAXTV.js} +4 -4
- package/chunks/{chunk-S2B2454D.js → chunk-JEIYTVIM.js} +1 -1
- package/chunks/{chunk-BH6ETFAI.js → chunk-JJXDNZR5.js} +4 -4
- package/chunks/{chunk-Z7R3ZHC6.js → chunk-JXQHE2TJ.js} +1 -1
- package/chunks/{chunk-QFEZGB3Y.js → chunk-KROMG4JO.js} +2 -2
- package/chunks/{chunk-S733EYWX.js → chunk-KWLUBNRA.js} +3 -3
- package/chunks/{chunk-JN4REMRH.js → chunk-KXH43VZE.js} +12 -12
- package/chunks/{chunk-SADH4MG3.js → chunk-MHIJKC73.js} +3 -3
- package/chunks/{chunk-642PIR4M.js → chunk-MVKPJPKY.js} +4 -4
- package/chunks/{chunk-2KHVBXZ3.js → chunk-NGVTH2DZ.js} +1 -1
- package/chunks/{chunk-ZA3QP7UG.js → chunk-NJDYZIML.js} +3 -3
- package/chunks/{chunk-2C5GYVPR.js → chunk-NOR3RJHC.js} +1 -1
- package/chunks/{chunk-HVQQIKDI.js → chunk-NUF3FLRS.js} +1 -1
- package/chunks/{chunk-JVG7Y6QE.js → chunk-OED4GEPD.js} +1 -1
- package/chunks/{chunk-4Q3WNTP3.js → chunk-OOAOXTXA.js} +1 -1
- package/chunks/{chunk-5VXMTGPV.js → chunk-OPVYDUDV.js} +4 -4
- package/chunks/{chunk-SMO5AGRH.js → chunk-OQBAZO6M.js} +1 -1
- package/chunks/{chunk-W453GJ7M.js → chunk-OSYSBND2.js} +256 -240
- package/chunks/{chunk-6VF7EU56.js → chunk-P4JFO6QK.js} +5 -2
- package/chunks/{chunk-KKENXQEQ.js → chunk-PADXB376.js} +12 -12
- package/chunks/{chunk-D2PPGNSH.js → chunk-PHKFNJ3T.js} +1 -1
- package/chunks/{chunk-TBJKCOB6.js → chunk-Q25NI5KZ.js} +4 -4
- package/chunks/{chunk-MRTHM5GF.js → chunk-R5AMOGLJ.js} +13 -4
- package/chunks/{chunk-YK63USRK.js → chunk-RAPJVCIY.js} +1 -1
- package/chunks/{chunk-TADRPMGC.js → chunk-RDNXXSY5.js} +9 -9
- package/chunks/{chunk-OQKXVSEF.js → chunk-RETFH5UL.js} +1 -1
- package/chunks/{chunk-BTPTME2B.js → chunk-RK4C5MUJ.js} +3 -3
- package/chunks/{chunk-YC6PZUFV.js → chunk-RTXZX3PS.js} +2 -2
- package/chunks/{chunk-YFWMLF7Y.js → chunk-RX4YBUI4.js} +1 -1
- package/chunks/{chunk-KMWAEX43.js → chunk-S6F7ZE4T.js} +5898 -931
- package/chunks/{chunk-HDGYCLNB.js → chunk-S6HB6BVJ.js} +1 -1
- package/chunks/{chunk-JOBZWTVK.js → chunk-SLH747HE.js} +2 -2
- package/chunks/{chunk-OGJ4MVXX.js → chunk-TQSGOTEA.js} +2 -2
- package/chunks/{chunk-HMOUS4QB.js → chunk-U4THVRB3.js} +2 -2
- package/chunks/{chunk-7BQPZQP7.js → chunk-UDPULGRU.js} +2 -2
- package/chunks/{chunk-RFIKBXKI.js → chunk-UFUHC477.js} +10 -10
- package/chunks/{chunk-AHI6EFWS.js → chunk-UMTH7ZGQ.js} +5 -5
- package/chunks/{chunk-LHDFH54F.js → chunk-UNZI5SHV.js} +5 -5
- package/chunks/{chunk-JMDM6FHI.js → chunk-V3MBXP4H.js} +4 -4
- package/chunks/{chunk-GROV3BFX.js → chunk-WHKFXFFX.js} +5 -5
- package/chunks/{chunk-3ZJUMBOS.js → chunk-WWN3FNLA.js} +8 -8
- package/chunks/{chunk-NLTUEC5Q.js → chunk-XHQFNIZT.js} +7 -7
- package/chunks/{chunk-7NUQOGKE.js → chunk-XMEMQBM7.js} +1 -1
- package/chunks/{chunk-A6445NIL.js → chunk-YRGZNA7E.js} +5 -5
- package/chunks/{chunk-YMUJVUDI.js → chunk-ZDLDAW45.js} +13 -13
- package/chunks/{chunk-TEEKFZLV.js → chunk-ZKQ6L46E.js} +24897 -31464
- package/chunks/{codex-subagent-executor-FVOOXTD2.js → codex-subagent-executor-3EQOWHZV.js} +24 -24
- package/chunks/{contextCommand-DDMF36IO.js → contextCommand-BWVDDD42.js} +24 -24
- package/chunks/{core-runtime-VDEXQQ3W.js → core-runtime-3C6ZJFVM.js} +22 -22
- package/chunks/{create-sub-session-VCVMK3TY.js → create-sub-session-Q46D7FQ7.js} +23 -23
- package/chunks/{daemon-git-worktree-guard-XKFWZEYY.js → daemon-git-worktree-guard-DPFNF7HP.js} +22 -22
- package/chunks/{daemon-status-provider-AU5LGZYL.js → daemon-status-provider-ILRYVOHH.js} +30 -30
- package/chunks/{daemon-trust-policy-ETD5TBWN.js → daemon-trust-policy-I2GR6JWD.js} +28 -28
- package/chunks/{daemon-trust-policy-monitor-5FGLZXEL.js → daemon-trust-policy-monitor-YM63PD4H.js} +28 -28
- package/chunks/{de-OMV463ND.js → de-25M4TEKC.js} +2 -1
- package/chunks/{deferred-core-runtime-2UIGRE2M.js → deferred-core-runtime-SZP2ASWT.js} +22 -22
- package/chunks/{edit-IMZBRFRB.js → edit-T2SFPFGW.js} +15 -15
- package/chunks/{en-EEVIOXSR.js → en-FL7WELC7.js} +2 -1
- package/chunks/{enterPlanMode-LJCSRD4Y.js → enterPlanMode-Z7RBJRII.js} +13 -13
- package/chunks/{environment-M5U2L6VP.js → environment-SCPE7QWN.js} +24 -24
- package/chunks/{errors-GA3VDNIT.js → errors-23DLSQ4Z.js} +24 -24
- package/chunks/{execution-tool-57H5EQKA.js → execution-tool-Y7YCRR5V.js} +15 -15
- package/chunks/{execution-worker-U7374LKH.js → execution-worker-YGX5SHJO.js} +18 -18
- package/chunks/{exitPlanMode-NSG5E7RE.js → exitPlanMode-7Z7YPGOB.js} +13 -13
- package/chunks/{fast-path-HJTILAVY.js → fast-path-Q2TZRRUS.js} +2 -2
- package/chunks/{foreground-runner-VMNIA55V.js → foreground-runner-KHJNQGAJ.js} +77 -40
- package/chunks/{fr-ZHVJMULM.js → fr-VHRROZTJ.js} +2 -1
- package/chunks/{glob-E4PL2FJY.js → glob-2QY6IKA3.js} +13 -13
- package/chunks/{goal-tools-UX6J7MMW.js → goal-tools-6OXOSX5X.js} +13 -13
- package/chunks/{handleAutoUpdate-X3Q3Q3ZZ.js → handleAutoUpdate-OMZNM7GO.js} +26 -26
- package/chunks/{i18n-LAT3RPLP.js → i18n-TNNGMQCX.js} +23 -23
- package/chunks/{image-gen-27Q5XGGZ.js → image-gen-KX5VPAGI.js} +3 -3
- package/chunks/{initializer-TSHTVKWG.js → initializer-KOLVPWB5.js} +29 -30
- package/chunks/{installationInfo-WWWJ2BSH.js → installationInfo-7IK7IYUF.js} +22 -22
- package/chunks/{ja-MQ3LTDXD.js → ja-CP7PJNQT.js} +2 -1
- package/chunks/{list-FEYX463Q.js → list-KT5BWRIW.js} +30 -30
- package/chunks/{llm-DZ67ZBGE.js → llm-6PBB4WRE.js} +59 -59
- package/chunks/{llm-content-generator-LJFLHUI4.js → llm-content-generator-VS2BMHWM.js} +5 -5
- package/chunks/{loadedSettingsAdapter-PE4EHJAG.js → loadedSettingsAdapter-6XFZSSXJ.js} +28 -28
- package/chunks/{local-execution-environment-NVTEBXRI.js → local-execution-environment-ROVMYUTT.js} +18 -18
- package/chunks/{loggingContentGenerator-XYJSX5U7.js → loggingContentGenerator-F453JKZE.js} +15 -15
- package/chunks/{managed-npm-update-I4V2CZBT.js → managed-npm-update-WVNAWXWS.js} +22 -22
- package/chunks/{mcp-RQRENAYR.js → mcp-QQRLH5OC.js} +28 -28
- package/chunks/{model-call-collection-KMSHM63U.js → model-call-collection-RMICFHVC.js} +1 -1
- package/chunks/{model-configuration-AEZJTLZ2.js → model-configuration-VLRCZHZG.js} +29 -29
- package/chunks/{modelConfigUtils-S3YKJBPJ.js → modelConfigUtils-2BZNN4PB.js} +24 -24
- package/chunks/{monitor-5JZFPFXF.js → monitor-SFJ7FAEY.js} +13 -13
- package/chunks/{nonInteractiveCli-G77J2SPF.js → nonInteractiveCli-C2KI5GOW.js} +62 -63
- package/chunks/{nonInteractiveToolExecutor-CAF2D3IE.js → nonInteractiveToolExecutor-E6BECW4D.js} +14 -14
- package/chunks/{notebook-edit-KASVFOUZ.js → notebook-edit-XMY3ZKHD.js} +14 -14
- package/chunks/{omni-ZWYNO7DO.js → omni-PRLMNRWA.js} +12 -12
- package/chunks/{openai-44SFHTR2.js → openai-XJV7KGB7.js} +11 -3
- package/chunks/{openaiContentGenerator-6W7NNSML.js → openaiContentGenerator-2QWUUMZC.js} +11 -11
- package/chunks/{openaiResponsesContentGenerator-YPVT5IPV.js → openaiResponsesContentGenerator-S4WUXDML.js} +7 -7
- package/chunks/{processUtils-B335BOHB.js → processUtils-5MDVESKY.js} +2 -2
- package/chunks/{prompt-terminal-ledger-SZPB5TQ7.js → prompt-terminal-ledger-AD7RFSE4.js} +23 -23
- package/chunks/{pt-F7AYPRBY.js → pt-V4NPGBSB.js} +2 -1
- package/chunks/{pty-host-process-Y4BPXZFM.js → pty-host-process-UP752FWV.js} +1 -1
- package/chunks/{reactive-degrade-T3LRI72F.js → reactive-degrade-BSBEJJKC.js} +11 -11
- package/chunks/{read-file-WKMDZ4AA.js → read-file-XMDDPZB3.js} +2 -2
- package/chunks/{resumeHistoryUtils-54CUO66A.js → resumeHistoryUtils-R2NJUVX7.js} +30 -31
- package/chunks/{ripGrep-C5LMCFOH.js → ripGrep-JSB5IZHQ.js} +2 -2
- package/chunks/{ru-CSBDIXDS.js → ru-HSRK22CP.js} +2 -1
- package/chunks/{run-o1-code-serve-WA6DJOGP.js → run-o1-code-serve-REM3DQ5G.js} +43 -43
- package/chunks/{sandboxConfig-7COZTQZP.js → sandboxConfig-TXRBZ3UN.js} +22 -22
- package/chunks/{scheduled-tasks-SVOYVXPL.js → scheduled-tasks-L4Q3PXXS.js} +28 -28
- package/chunks/{scheduler-JB622CYT.js → scheduler-WDGW4GSB.js} +24 -24
- package/chunks/{serve-ZQ4S5CZ6.js → serve-CJFLNUPV.js} +28 -28
- package/chunks/{server-FEUPFXKE.js → server-J7YWGK75.js} +136 -136
- package/chunks/{session-KUQTUHIS.js → session-6NBIDSCB.js} +2 -2
- package/chunks/{session-ZKEPJVDM.js → session-S2NPYMMB.js} +63 -64
- package/chunks/{session-attachments-root-76MMYRJZ.js → session-attachments-root-4M5MJRG7.js} +22 -22
- package/chunks/{session-pr-refresh-HMSBPUAT.js → session-pr-refresh-YGTSKXSX.js} +27 -27
- package/chunks/{settings-37VAWY5T.js → settings-LSHFACQE.js} +27 -27
- package/chunks/{shell-P6FLTO46.js → shell-F6RBXOB3.js} +13 -13
- package/chunks/{skill-4E3KLKYE.js → skill-NZWCT2LR.js} +2 -2
- package/chunks/{skill-settings-2XSTQS7N.js → skill-settings-BGXKPSAU.js} +27 -27
- package/chunks/{spawnChannel-636YP5DD.js → spawnChannel-HYEF3MUQ.js} +23 -23
- package/chunks/{standalone-update-JIO6PT5Q.js → standalone-update-G43JK5RC.js} +25 -25
- package/chunks/{startInteractiveUI-PNQ24YTR.js → startInteractiveUI-NHADUQTG.js} +266 -197
- package/chunks/{supervisor-runner-YD27MXSJ.js → supervisor-runner-MDQEC376.js} +2 -2
- package/chunks/{team-create-DFCGOGXH.js → team-create-E6TDE5J3.js} +13 -13
- package/chunks/{team-plan-approval-QGUMDHBR.js → team-plan-approval-OBRXLZ6G.js} +13 -13
- package/chunks/{terminal-image-renderer-DSGAMRMC.js → terminal-image-renderer-YU3PWPDD.js} +22 -22
- package/chunks/{theme-manager-FD5Z5E5S.js → theme-manager-TQOS647B.js} +23 -24
- package/chunks/{tool-result-media-EEGRFXMA.js → tool-result-media-ORXPJ5VJ.js} +12 -12
- package/chunks/{tool-search-NFNCJDE3.js → tool-search-NJLOGAAS.js} +2 -2
- package/chunks/{total-session-admission-ZM2EQYG3.js → total-session-admission-IBX5PP66.js} +25 -25
- package/chunks/{trustedFolders-DFB3QCCB.js → trustedFolders-YAQJKV5W.js} +23 -23
- package/chunks/{undici-I7LHD7IT.js → undici-M5SHDWIM.js} +659 -230
- package/chunks/{update-relaunch-73MKVCSJ.js → update-relaunch-XUL5PUQL.js} +5 -5
- package/chunks/{updateCheck-QB6J5MFF.js → updateCheck-7GCAWKQU.js} +24 -24
- package/chunks/{upload-config-HYKEF2MB.js → upload-config-VSTMX36S.js} +9 -9
- package/chunks/{useAutoAcceptIndicator-IG5DFG7J.js → useAutoAcceptIndicator-6Z5OP4AB.js} +31 -31
- package/chunks/{validateNonInterActiveAuth-2X2ENWCH.js → validateNonInterActiveAuth-H6SXP7U4.js} +59 -60
- package/chunks/{version-OJVLJFMR.js → version-BLRKUK3E.js} +1 -1
- package/chunks/{web-fetch-NCB23225.js → web-fetch-F6U5QISL.js} +3 -3
- package/chunks/{web-search-NA5AEA6Q.js → web-search-K52RBXDY.js} +10 -10
- package/chunks/{web-shell-static-OOIIII74.js → web-shell-static-LITKZKQN.js} +2 -2
- package/chunks/{workflow-TWXEI7ZN.js → workflow-X5K6W6Q2.js} +14 -14
- package/chunks/{workspace-providers-status-QVILUFRO.js → workspace-providers-status-HCU5SVE2.js} +33 -33
- package/chunks/{workspace-registration-store-V5DN7Z2M.js → workspace-registration-store-GT6MWEAI.js} +1 -1
- package/chunks/{workspace-registry-KDWRXKZV.js → workspace-registry-Q66U56G6.js} +25 -25
- package/chunks/{workspace-runtime-coordinator-MDJUA5TU.js → workspace-runtime-coordinator-56FBQH4B.js} +25 -25
- package/chunks/{workspace-service-K465AJAX.js → workspace-service-SH2HVHOA.js} +31 -31
- package/chunks/{workspace-skills-status-RUNJMWUV.js → workspace-skills-status-CKZV3CEG.js} +29 -29
- package/chunks/{workspace-trust-reconciler-DCJ523JB.js → workspace-trust-reconciler-SE3NUJ3B.js} +31 -31
- package/chunks/{write-file-4G4KA5RN.js → write-file-LJAZWR2P.js} +15 -15
- package/chunks/{zh-U2XVEBDV.js → zh-IOAADEYA.js} +2 -1
- package/chunks/{zh-TW-EGHYQY24.js → zh-TW-G6KB7N63.js} +2 -1
- package/chunks/{zoom-image-UPJRIJCG.js → zoom-image-HPBEMNPD.js} +2 -2
- package/cli.js +16 -16
- package/examples/mcp-server/example.ts +4 -4
- package/examples/mcp-server/package.json +2 -2
- package/examples/starter/example.ts +4 -4
- package/examples/starter/package.json +2 -2
- package/execution-worker.js +1 -1
- package/export-transcript-document.js +136 -199
- package/locales/ca.js +2 -1
- package/locales/de.js +2 -1
- package/locales/en.js +2 -1
- package/locales/fr.js +2 -1
- package/locales/ja.js +2 -1
- package/locales/pt.js +2 -1
- package/locales/ru.js +2 -1
- package/locales/zh-TW.js +2 -1
- package/locales/zh.js +2 -1
- package/package.json +2 -2
- package/release-notes.json +15 -0
- package/web-shell/assets/{abnfDiagram-VCTEODGH-Dkrk74MS.js → abnfDiagram-VCTEODGH-BW_qSX9j.js} +1 -1
- package/web-shell/assets/{arc-CnUa5VxI.js → arc-ZQXM7Hbo.js} +1 -1
- package/web-shell/assets/{architectureDiagram-5GKGNRK7-BRSOyYI6.js → architectureDiagram-5GKGNRK7-Brc5rH28.js} +1 -1
- package/web-shell/assets/{blockDiagram-NRAW4CY4-BbTkFWts.js → blockDiagram-NRAW4CY4-D6Zl-D2Z.js} +1 -1
- package/web-shell/assets/{c4Diagram-UCG6FXSJ-BXRx3VRL.js → c4Diagram-UCG6FXSJ-C7tqp_U2.js} +1 -1
- package/web-shell/assets/channel-6U9KHAGS.js +1 -0
- package/web-shell/assets/{chunk-2Q5K7J3B-yW4fzUWC.js → chunk-2Q5K7J3B-BvPCFuF7.js} +1 -1
- package/web-shell/assets/{chunk-5VM5RSS4-C7j7gy3X.js → chunk-5VM5RSS4-CRamx50r.js} +1 -1
- package/web-shell/assets/{chunk-F27PBJKO-gg8Wggfc.js → chunk-F27PBJKO-Dx3eTDLi.js} +1 -1
- package/web-shell/assets/{chunk-G27WJ6UU-BIXiafrY.js → chunk-G27WJ6UU-Dgyx5hmw.js} +1 -1
- package/web-shell/assets/{chunk-JWPE2WC7-CT4Zio6z.js → chunk-JWPE2WC7-nccxs6af.js} +1 -1
- package/web-shell/assets/{chunk-LCL6LL3I-B-4wf3Z6.js → chunk-LCL6LL3I-Bj5hISXt.js} +1 -1
- package/web-shell/assets/{chunk-POPQ4Y6H-C-hsbjMq.js → chunk-POPQ4Y6H-CS8BjxDL.js} +1 -1
- package/web-shell/assets/{chunk-SVP7TREG-esRKmQXQ.js → chunk-SVP7TREG-CXV-G5Xj.js} +1 -1
- package/web-shell/assets/{chunk-XXDRQBXY-DldWZluv.js → chunk-XXDRQBXY-DElMboJx.js} +1 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-CzKyvpT-.js +1 -0
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-CzKyvpT-.js +1 -0
- package/web-shell/assets/{cose-bilkent-JH36ORCC-Cg_Hkegg.js → cose-bilkent-JH36ORCC-DsJYHvao.js} +1 -1
- package/web-shell/assets/{cynefin-OW5HDTMX-BD4NjKO1.js → cynefin-OW5HDTMX-zlslGDNA.js} +1 -1
- package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-7OiuFm2e.js → cynefinDiagram-5FMLGOSQ-DR9w-Kwt.js} +1 -1
- package/web-shell/assets/{dagre-3AP2YEHR-BY2cDSvK.js → dagre-3AP2YEHR-ZYOK-rUH.js} +1 -1
- package/web-shell/assets/{diagram-S7CK7UJ4-DcQpei6o.js → diagram-S7CK7UJ4-B0HTh7cI.js} +1 -1
- package/web-shell/assets/{diagram-UQ7AKVKN-CSOpgeLd.js → diagram-UQ7AKVKN-CTMnXgEz.js} +1 -1
- package/web-shell/assets/{diagram-VSXAHHWV-BIxEPq8f.js → diagram-VSXAHHWV-D2oVCbAj.js} +1 -1
- package/web-shell/assets/{diagram-VX7I27RA-Mulf5VDd.js → diagram-VX7I27RA-QCo6NzS8.js} +1 -1
- package/web-shell/assets/{diagram-Z3DM3KII-oTPPUV-h.js → diagram-Z3DM3KII-KLlMNxZ9.js} +1 -1
- package/web-shell/assets/{ebnfDiagram-PWID7BFC-BsncOXfu.js → ebnfDiagram-PWID7BFC-C8DJIYln.js} +1 -1
- package/web-shell/assets/{erDiagram-SSCWMZ5O-DkxQVTV8.js → erDiagram-SSCWMZ5O-C-xmRC0M.js} +1 -1
- package/web-shell/assets/{flowDiagram-A5DVABFB-YUsa6wZO.js → flowDiagram-A5DVABFB-CN9JylPo.js} +1 -1
- package/web-shell/assets/{ganttDiagram-EL5Y4UJY-Cnqm7Bik.js → ganttDiagram-EL5Y4UJY-QVCuotcn.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-Dd8e40AY.js → gitGraphDiagram-WWUBYQGX-BZ_EylSY.js} +1 -1
- package/web-shell/assets/{index-CZCfLqp_.js → index-ApAS0aET.js} +516 -485
- package/web-shell/assets/{index-DDT8pqbp.js → index-Csbrycup.js} +1 -1
- package/web-shell/assets/{infoDiagram-RXCK75RN-8MF9FKjM.js → infoDiagram-RXCK75RN-MnxW8m9X.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-5VMMS53U-DQ-ktH4y.js → ishikawaDiagram-5VMMS53U-DZC4Wqe4.js} +1 -1
- package/web-shell/assets/{journeyDiagram-EYS64GPL-BCHFI2vN.js → journeyDiagram-EYS64GPL-bCUBptPZ.js} +1 -1
- package/web-shell/assets/{kanban-definition-3QL26DDD-DWzXuuVu.js → kanban-definition-3QL26DDD-Bl43MhIy.js} +1 -1
- package/web-shell/assets/{layout-I40DGxKz.js → layout-BYtWDqeA.js} +1 -1
- package/web-shell/assets/{linear-CJ4Hss20.js → linear-wv7ORGMW.js} +1 -1
- package/web-shell/assets/mermaid.core-DfKzeQBS.js +312 -0
- package/web-shell/assets/{mindmap-definition-FBJOCRG2-C6DKnyuH.js → mindmap-definition-FBJOCRG2-ltaBWmFr.js} +1 -1
- package/web-shell/assets/{pegDiagram-XKGWAZYB-zomV7Ng0.js → pegDiagram-XKGWAZYB-Dp4T6LzR.js} +1 -1
- package/web-shell/assets/{pieDiagram-E7YTZNPT-CO-uix-_.js → pieDiagram-E7YTZNPT-DZgAytP1.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-AXDQQJYC-Dg1whrAZ.js → quadrantDiagram-AXDQQJYC-BnpQUM3i.js} +1 -1
- package/web-shell/assets/{railroadDiagram-O6MQD6OU-cHZU3Gch.js → railroadDiagram-O6MQD6OU-BFCF1Lwy.js} +1 -1
- package/web-shell/assets/{requirementDiagram-EFPCY7ZU-C6DsWhMZ.js → requirementDiagram-EFPCY7ZU-F4dB_cR1.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-P5KCCOFB-C9ILyOS0.js → sankeyDiagram-P5KCCOFB-oaQwkTxp.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-CVvYgJCg.js → sequenceDiagram-WJ2MYXX4-DEFa-QTi.js} +1 -1
- package/web-shell/assets/{sizeCapture-X5ZJPWSS-B8TDIlSl.js → sizeCapture-X5ZJPWSS-oBktEcI9.js} +1 -1
- package/web-shell/assets/{stateDiagram-HBIQ2CUA-CTKxsECh.js → stateDiagram-HBIQ2CUA-PsBju85M.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-DhTVFds7.js +1 -0
- package/web-shell/assets/{swimlanes-XN3QIQJK-Blfs3x7y.js → swimlanes-XN3QIQJK-DKhvz2lU.js} +1 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-CfBMIrnE.js +8 -0
- package/web-shell/assets/{timeline-definition-24CTP7MA-D-VBOqpM.js → timeline-definition-24CTP7MA-Cc8JE9z5.js} +1 -1
- package/web-shell/assets/{vennDiagram-4TSXK5OY-BXfVcLxa.js → vennDiagram-4TSXK5OY-BWlabnUg.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-VM6X3IG4-B7kNnroZ.js → wardleyDiagram-VM6X3IG4-BFmYU2kG.js} +1 -1
- package/web-shell/assets/{xychartDiagram-S5SC5T6Z-CQxBdR6i.js → xychartDiagram-S5SC5T6Z-B1hIhMtj.js} +1 -1
- package/web-shell/index.html +1 -1
- package/web-shell/sw.js +1 -1
- package/chunks/chunk-YQQ7QFC5.js +0 -945
- package/web-shell/assets/channel-BJm6co8h.js +0 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-BEYla04O.js +0 -1
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-BEYla04O.js +0 -1
- package/web-shell/assets/mermaid.core-CyYLnEfA.js +0 -312
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-DV77q__d.js +0 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-gVyWcYvC.js +0 -8
|
@@ -2,23 +2,23 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
startPostRenderPrefetches
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-PADXB376.js";
|
|
6
6
|
import {
|
|
7
7
|
useAutoAcceptIndicator
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4D2ZKS2J.js";
|
|
9
9
|
import {
|
|
10
10
|
MAX_ACCEPTED_BACKLOG,
|
|
11
11
|
PeerMessaging,
|
|
12
12
|
classifyApiError,
|
|
13
13
|
fireSessionDeleteHook
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-NGVTH2DZ.js";
|
|
15
15
|
import {
|
|
16
16
|
buildPermissionSuggestions
|
|
17
17
|
} from "./chunk-CPURT2SU.js";
|
|
18
18
|
import {
|
|
19
19
|
TUI_CHAT_RECORDING_FAILURE_MESSAGE,
|
|
20
20
|
reportChatRecordingFailureToAdapter
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-CP4FRKFD.js";
|
|
22
22
|
import {
|
|
23
23
|
MAX_SUGGESTIONS_TO_SHOW,
|
|
24
24
|
SESSION_MENTION_PREFIX,
|
|
@@ -31,10 +31,10 @@ import {
|
|
|
31
31
|
normalizeDescription,
|
|
32
32
|
normalizePartList,
|
|
33
33
|
resolveAtCommandQuery
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-XHQFNIZT.js";
|
|
35
35
|
import {
|
|
36
36
|
StreamJsonOutputAdapter
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-2Q6AZPNP.js";
|
|
38
38
|
import {
|
|
39
39
|
BuiltinCommandLoader,
|
|
40
40
|
BundledSkillLoader,
|
|
@@ -91,7 +91,7 @@ import {
|
|
|
91
91
|
resolveOutputStyleChoice,
|
|
92
92
|
serializeUserPromptExpansionPrompt,
|
|
93
93
|
supportsMatchers
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-IFSHKBED.js";
|
|
95
95
|
import {
|
|
96
96
|
EXTENSION_RELOAD_FAILED_REASON,
|
|
97
97
|
ExtensionRefreshState,
|
|
@@ -99,7 +99,7 @@ import {
|
|
|
99
99
|
cleanupReviewWorktreeLeases,
|
|
100
100
|
loadHierarchicalMemory,
|
|
101
101
|
openRemoteSession
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-FWGGR3EP.js";
|
|
103
103
|
import {
|
|
104
104
|
disableKittyProtocol,
|
|
105
105
|
isKittyProtocolEnabled,
|
|
@@ -108,7 +108,7 @@ import {
|
|
|
108
108
|
} from "./chunk-AYSIXE44.js";
|
|
109
109
|
import {
|
|
110
110
|
sanitizeDisplayText
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-DT4XHXJD.js";
|
|
112
112
|
import {
|
|
113
113
|
AboutBox,
|
|
114
114
|
BaseSelectionList,
|
|
@@ -141,6 +141,7 @@ import {
|
|
|
141
141
|
TOOL_SUCCESS_RATE_MEDIUM,
|
|
142
142
|
TerminalOutputProvider,
|
|
143
143
|
TextInput,
|
|
144
|
+
ThemeCanvasContext,
|
|
144
145
|
ThoughtExpandedProvider,
|
|
145
146
|
ToolConfirmationMessage,
|
|
146
147
|
ToolDetailsExpandedProvider,
|
|
@@ -210,13 +211,13 @@ import {
|
|
|
210
211
|
useUIActions,
|
|
211
212
|
useUIState,
|
|
212
213
|
useVirtualViewport
|
|
213
|
-
} from "./chunk-
|
|
214
|
+
} from "./chunk-OSYSBND2.js";
|
|
214
215
|
import {
|
|
215
216
|
KeypressProvider,
|
|
216
217
|
useFocus,
|
|
217
218
|
useKeypress,
|
|
218
219
|
useKeypressContext
|
|
219
|
-
} from "./chunk-
|
|
220
|
+
} from "./chunk-U4THVRB3.js";
|
|
220
221
|
import {
|
|
221
222
|
BRAND,
|
|
222
223
|
MAX_EXTENSION_OWNER_LABEL_WIDTH,
|
|
@@ -226,7 +227,7 @@ import {
|
|
|
226
227
|
getEffectiveSupportedModes,
|
|
227
228
|
repoDocUrl,
|
|
228
229
|
skillOriginLabel
|
|
229
|
-
} from "./chunk-
|
|
230
|
+
} from "./chunk-MHIJKC73.js";
|
|
230
231
|
import {
|
|
231
232
|
BEL,
|
|
232
233
|
OSC_PREFIX,
|
|
@@ -239,13 +240,13 @@ import {
|
|
|
239
240
|
oscKittyNotify,
|
|
240
241
|
saveClipboardImage,
|
|
241
242
|
writeOsc52
|
|
242
|
-
} from "./chunk-
|
|
243
|
+
} from "./chunk-HTFHMT2B.js";
|
|
243
244
|
import "./chunk-AHKE26WU.js";
|
|
244
245
|
import {
|
|
245
246
|
MaxSizedBox,
|
|
246
247
|
OverflowProvider,
|
|
247
248
|
useOverflowState
|
|
248
|
-
} from "./chunk-
|
|
249
|
+
} from "./chunk-DQORDG4A.js";
|
|
249
250
|
import {
|
|
250
251
|
CATEGORY_LABELS,
|
|
251
252
|
ICON,
|
|
@@ -267,18 +268,18 @@ import {
|
|
|
267
268
|
showsToolLabel,
|
|
268
269
|
useStreamingContext,
|
|
269
270
|
waitForGoalRuntime
|
|
270
|
-
} from "./chunk-
|
|
271
|
+
} from "./chunk-UFUHC477.js";
|
|
271
272
|
import {
|
|
272
273
|
contextUsageLabel,
|
|
273
274
|
formatDuration,
|
|
274
275
|
formatPercentageUsed,
|
|
275
276
|
formatRelativeTime,
|
|
276
277
|
formatTokenCount
|
|
277
|
-
} from "./chunk-
|
|
278
|
+
} from "./chunk-XMEMQBM7.js";
|
|
278
279
|
import {
|
|
279
280
|
extendedTheme,
|
|
280
281
|
theme
|
|
281
|
-
} from "./chunk-
|
|
282
|
+
} from "./chunk-E2NTOSGU.js";
|
|
282
283
|
import {
|
|
283
284
|
require_jsx_runtime
|
|
284
285
|
} from "./chunk-SKTOH6US.js";
|
|
@@ -287,6 +288,7 @@ import {
|
|
|
287
288
|
Static,
|
|
288
289
|
Text,
|
|
289
290
|
base_exports,
|
|
291
|
+
foregroundContext,
|
|
290
292
|
measure_element_default,
|
|
291
293
|
render_default,
|
|
292
294
|
use_box_metrics_default,
|
|
@@ -295,62 +297,57 @@ import {
|
|
|
295
297
|
use_stdin_default,
|
|
296
298
|
use_stdout_default,
|
|
297
299
|
wrapAnsi
|
|
298
|
-
} from "./chunk-
|
|
300
|
+
} from "./chunk-R5AMOGLJ.js";
|
|
299
301
|
import {
|
|
300
302
|
require_react
|
|
301
303
|
} from "./chunk-2KK65OQ6.js";
|
|
302
304
|
import {
|
|
303
305
|
stopAndGetCapturedInput
|
|
304
306
|
} from "./chunk-VFLUNXD6.js";
|
|
307
|
+
import "./chunk-G4YDGSSX.js";
|
|
308
|
+
import {
|
|
309
|
+
MAX_INLINE_IMAGES_PER_ITEM,
|
|
310
|
+
collectInlineImages,
|
|
311
|
+
getInlineImageData
|
|
312
|
+
} from "./chunk-KIN34HCU.js";
|
|
305
313
|
import {
|
|
306
314
|
setUpdateHandler
|
|
307
|
-
} from "./chunk-
|
|
315
|
+
} from "./chunk-6RTZ7UD6.js";
|
|
308
316
|
import {
|
|
309
317
|
isHistoryItemVisibleAfterRestore
|
|
310
318
|
} from "./chunk-64WBFX5X.js";
|
|
311
|
-
import "./chunk-
|
|
312
|
-
import {
|
|
313
|
-
AUTO_THEME_NAME,
|
|
314
|
-
DEFAULT_THEME,
|
|
315
|
-
themeManager
|
|
316
|
-
} from "./chunk-P7RO4QSF.js";
|
|
319
|
+
import "./chunk-DBMNMWJD.js";
|
|
317
320
|
import "./chunk-UMIHM32I.js";
|
|
318
321
|
import {
|
|
319
322
|
TOP_FRAME,
|
|
320
323
|
glyphs
|
|
321
324
|
} from "./chunk-U6ZAL4MF.js";
|
|
325
|
+
import {
|
|
326
|
+
requestConsentInteractive,
|
|
327
|
+
requestConsentOrFail
|
|
328
|
+
} from "./chunk-4FZTHBFE.js";
|
|
329
|
+
import "./chunk-XZ3MQL2U.js";
|
|
322
330
|
import {
|
|
323
331
|
relaunchApp
|
|
324
|
-
} from "./chunk-
|
|
332
|
+
} from "./chunk-CC4MR6JY.js";
|
|
325
333
|
import "./chunk-XG36NMOI.js";
|
|
326
334
|
import "./chunk-SPLQKNEP.js";
|
|
327
335
|
import "./chunk-4P64F4DP.js";
|
|
328
|
-
import "./chunk-
|
|
329
|
-
import "./chunk-
|
|
330
|
-
import "./chunk-
|
|
336
|
+
import "./chunk-RETFH5UL.js";
|
|
337
|
+
import "./chunk-H2XB6JJR.js";
|
|
338
|
+
import "./chunk-AZMVJ5C3.js";
|
|
331
339
|
import "./chunk-KD7GIK2D.js";
|
|
332
|
-
import "./chunk-
|
|
333
|
-
import {
|
|
334
|
-
MAX_INLINE_IMAGES_PER_ITEM,
|
|
335
|
-
collectInlineImages,
|
|
336
|
-
getInlineImageData
|
|
337
|
-
} from "./chunk-KIN34HCU.js";
|
|
338
|
-
import "./chunk-BTPTME2B.js";
|
|
340
|
+
import "./chunk-RK4C5MUJ.js";
|
|
339
341
|
import "./chunk-LXUIOY3M.js";
|
|
340
|
-
import {
|
|
341
|
-
requestConsentInteractive,
|
|
342
|
-
requestConsentOrFail
|
|
343
|
-
} from "./chunk-HL32D3FC.js";
|
|
344
|
-
import "./chunk-XZ3MQL2U.js";
|
|
345
342
|
import {
|
|
346
343
|
getErrorMessage as getErrorMessage2
|
|
347
|
-
} from "./chunk-
|
|
344
|
+
} from "./chunk-7U6M3BD5.js";
|
|
348
345
|
import {
|
|
349
346
|
openDashScopeAsrRealtimeStream,
|
|
350
347
|
openVoiceStream,
|
|
351
348
|
openVoiceStreamWithRetry
|
|
352
349
|
} from "./chunk-MTSHGY6F.js";
|
|
353
|
-
import "./chunk-
|
|
350
|
+
import "./chunk-WWN3FNLA.js";
|
|
354
351
|
import "./chunk-LL7XM3LM.js";
|
|
355
352
|
import {
|
|
356
353
|
cpLen,
|
|
@@ -364,60 +361,64 @@ import {
|
|
|
364
361
|
toCodePoints,
|
|
365
362
|
truncateToWidth
|
|
366
363
|
} from "./chunk-PJF3WRYZ.js";
|
|
367
|
-
import "./chunk-
|
|
368
|
-
import "./chunk-ZWXTCEPP.js";
|
|
369
|
-
import "./chunk-W2R46PFD.js";
|
|
370
|
-
import {
|
|
371
|
-
isValidSessionId
|
|
372
|
-
} from "./chunk-KQCQCJBL.js";
|
|
364
|
+
import "./chunk-GXVPBIXP.js";
|
|
373
365
|
import {
|
|
374
366
|
assertVoiceBaseUrlNetworkAllowed,
|
|
375
367
|
isKeytermEcho,
|
|
376
368
|
isStreamingVoiceModel,
|
|
377
369
|
resolveVoiceStreamConfig,
|
|
378
370
|
transcribeVoiceAudio
|
|
379
|
-
} from "./chunk-
|
|
371
|
+
} from "./chunk-UDPULGRU.js";
|
|
380
372
|
import {
|
|
381
373
|
formatUnsupportedVoiceModelMessage,
|
|
382
374
|
isSelectableVoiceModel
|
|
383
|
-
} from "./chunk-
|
|
375
|
+
} from "./chunk-GIIKRH34.js";
|
|
384
376
|
import "./chunk-TESN7CJW.js";
|
|
377
|
+
import "./chunk-ZWXTCEPP.js";
|
|
378
|
+
import "./chunk-W2R46PFD.js";
|
|
379
|
+
import {
|
|
380
|
+
isValidSessionId
|
|
381
|
+
} from "./chunk-KQCQCJBL.js";
|
|
385
382
|
import {
|
|
386
383
|
getExtendedSystemInfo
|
|
387
|
-
} from "./chunk-
|
|
388
|
-
import "./chunk-
|
|
384
|
+
} from "./chunk-75MPDOHZ.js";
|
|
385
|
+
import "./chunk-RTXZX3PS.js";
|
|
389
386
|
import "./chunk-LPCPB2S5.js";
|
|
390
387
|
import "./chunk-LD2T7YET.js";
|
|
391
388
|
import "./chunk-QTAUA6ED.js";
|
|
389
|
+
import "./chunk-O7MSLRFZ.js";
|
|
390
|
+
import "./chunk-W3YES77O.js";
|
|
392
391
|
import {
|
|
393
392
|
REASONING_EFFORT_DEFAULT,
|
|
394
393
|
getReasoningEffortsForConfig,
|
|
395
394
|
getReasoningForDisplay
|
|
396
|
-
} from "./chunk-
|
|
397
|
-
import "./chunk-
|
|
395
|
+
} from "./chunk-ANNYW7PO.js";
|
|
396
|
+
import "./chunk-SU6K5JRJ.js";
|
|
397
|
+
import "./chunk-IHCKAXTV.js";
|
|
398
398
|
import {
|
|
399
399
|
isInlineModelOverrideAllowed
|
|
400
|
-
} from "./chunk-
|
|
400
|
+
} from "./chunk-4HL4OWZ2.js";
|
|
401
401
|
import {
|
|
402
402
|
buildHigherDisabled,
|
|
403
403
|
computeWorkspaceSkillListUpdates,
|
|
404
404
|
skillSettingStrings
|
|
405
405
|
} from "./chunk-XA3N5TO5.js";
|
|
406
|
-
import "./chunk-YQQ7QFC5.js";
|
|
407
406
|
import {
|
|
408
407
|
stringWidth
|
|
409
408
|
} from "./chunk-F5IN4KK7.js";
|
|
410
409
|
import "./chunk-ZCZKKAIG.js";
|
|
410
|
+
import {
|
|
411
|
+
AUTO_THEME_NAME,
|
|
412
|
+
DEFAULT_THEME,
|
|
413
|
+
themeManager
|
|
414
|
+
} from "./chunk-7HN3RHKV.js";
|
|
411
415
|
import {
|
|
412
416
|
createLoadedSettingsAdapter,
|
|
413
417
|
getRawModelProviders
|
|
414
|
-
} from "./chunk-
|
|
415
|
-
import "./chunk-O7MSLRFZ.js";
|
|
416
|
-
import "./chunk-W3YES77O.js";
|
|
417
|
-
import "./chunk-SU6K5JRJ.js";
|
|
418
|
+
} from "./chunk-JJXDNZR5.js";
|
|
418
419
|
import {
|
|
419
420
|
loadMcpApprovals
|
|
420
|
-
} from "./chunk-
|
|
421
|
+
} from "./chunk-UMTH7ZGQ.js";
|
|
421
422
|
import {
|
|
422
423
|
CORRUPTED_SUFFIX,
|
|
423
424
|
SettingScope,
|
|
@@ -440,8 +441,7 @@ import {
|
|
|
440
441
|
settingExistsInScope,
|
|
441
442
|
validateSettingValue,
|
|
442
443
|
writeOutputLanguageAndRegisterPath
|
|
443
|
-
} from "./chunk-
|
|
444
|
-
import "./chunk-EDRKBK4B.js";
|
|
444
|
+
} from "./chunk-6ZDW5III.js";
|
|
445
445
|
import {
|
|
446
446
|
LOGO_ANIMATIONS,
|
|
447
447
|
LOGO_FRAME_MS,
|
|
@@ -451,16 +451,17 @@ import {
|
|
|
451
451
|
pickLogoAnimation,
|
|
452
452
|
renderLogoRows,
|
|
453
453
|
restFrame
|
|
454
|
-
} from "./chunk-
|
|
454
|
+
} from "./chunk-TQSGOTEA.js";
|
|
455
|
+
import "./chunk-EDRKBK4B.js";
|
|
455
456
|
import "./chunk-2JJLDP4A.js";
|
|
456
457
|
import {
|
|
457
458
|
getCurrentLanguage,
|
|
458
459
|
localizeToolDisplayName,
|
|
459
460
|
t,
|
|
460
461
|
ta
|
|
461
|
-
} from "./chunk-
|
|
462
|
+
} from "./chunk-RDNXXSY5.js";
|
|
462
463
|
import "./chunk-Q2V34OV7.js";
|
|
463
|
-
import "./chunk-
|
|
464
|
+
import "./chunk-G3MI7JUZ.js";
|
|
464
465
|
import "./chunk-MLAF3GLB.js";
|
|
465
466
|
import {
|
|
466
467
|
require_semver
|
|
@@ -480,14 +481,14 @@ import "./chunk-FMWE3YMM.js";
|
|
|
480
481
|
import {
|
|
481
482
|
formatVersionLabel,
|
|
482
483
|
getCliVersion
|
|
483
|
-
} from "./chunk-
|
|
484
|
+
} from "./chunk-GY5IE6TZ.js";
|
|
484
485
|
import "./chunk-Y75AMWDB.js";
|
|
485
486
|
import "./chunk-FRITN2AG.js";
|
|
486
487
|
import "./chunk-F4S6U26O.js";
|
|
487
488
|
import {
|
|
488
489
|
isWorkspaceTrusted,
|
|
489
490
|
loadTrustedFolders
|
|
490
|
-
} from "./chunk-
|
|
491
|
+
} from "./chunk-OQBAZO6M.js";
|
|
491
492
|
import "./chunk-BHXBXELA.js";
|
|
492
493
|
import "./chunk-MXCWSDSC.js";
|
|
493
494
|
import {
|
|
@@ -531,7 +532,7 @@ import {
|
|
|
531
532
|
subagentGenerator,
|
|
532
533
|
supportsHyperlinks,
|
|
533
534
|
wrapForMultiplexer
|
|
534
|
-
} from "./chunk-
|
|
535
|
+
} from "./chunk-3KLKHKEB.js";
|
|
535
536
|
import "./chunk-MYMATZAY.js";
|
|
536
537
|
import "./chunk-6IFQXZTP.js";
|
|
537
538
|
import {
|
|
@@ -555,28 +556,28 @@ import {
|
|
|
555
556
|
} from "./chunk-AEGEUWVC.js";
|
|
556
557
|
import "./chunk-OJAGNSHH.js";
|
|
557
558
|
import "./chunk-NWCDFCWK.js";
|
|
558
|
-
import "./chunk-
|
|
559
|
+
import "./chunk-CQ3TT5CD.js";
|
|
559
560
|
import "./chunk-32722SNN.js";
|
|
560
561
|
import "./chunk-AGTM6524.js";
|
|
561
|
-
import "./chunk-
|
|
562
|
-
import "./chunk-
|
|
562
|
+
import "./chunk-4BE7MFUW.js";
|
|
563
|
+
import "./chunk-RX4YBUI4.js";
|
|
563
564
|
import "./chunk-ZMZRVR62.js";
|
|
564
565
|
import {
|
|
565
566
|
WORKFLOW_AUTHORING_SKILL_NAME,
|
|
566
567
|
isToolHiddenBehindToolSearch,
|
|
567
568
|
resolveWorkflowAuthoringSurface,
|
|
568
569
|
toolSearchBridgeSentence
|
|
569
|
-
} from "./chunk-
|
|
570
|
-
import "./chunk-
|
|
570
|
+
} from "./chunk-KROMG4JO.js";
|
|
571
|
+
import "./chunk-UNZI5SHV.js";
|
|
571
572
|
import "./chunk-UW4Q5E5P.js";
|
|
572
|
-
import "./chunk-
|
|
573
|
+
import "./chunk-OED4GEPD.js";
|
|
573
574
|
import "./chunk-F3FKDGHN.js";
|
|
574
|
-
import "./chunk-
|
|
575
|
+
import "./chunk-JXQHE2TJ.js";
|
|
575
576
|
import "./chunk-UBWL27PO.js";
|
|
576
577
|
import "./chunk-DM6W2QYB.js";
|
|
577
578
|
import "./chunk-UAACCQBD.js";
|
|
578
579
|
import "./chunk-2QYMJSSC.js";
|
|
579
|
-
import "./chunk-
|
|
580
|
+
import "./chunk-NUF3FLRS.js";
|
|
580
581
|
import {
|
|
581
582
|
ConditionalRulesRegistry,
|
|
582
583
|
CoreToolScheduler,
|
|
@@ -638,7 +639,7 @@ import {
|
|
|
638
639
|
saveWorkflowScript,
|
|
639
640
|
updateSetting,
|
|
640
641
|
validateWorkflowName
|
|
641
|
-
} from "./chunk-
|
|
642
|
+
} from "./chunk-ZKQ6L46E.js";
|
|
642
643
|
import "./chunk-WXTAP6NR.js";
|
|
643
644
|
import "./chunk-BZOAEOYF.js";
|
|
644
645
|
import "./chunk-BIDB75DA.js";
|
|
@@ -690,12 +691,12 @@ import "./chunk-TC7UXK4M.js";
|
|
|
690
691
|
import "./chunk-DS3COGEF.js";
|
|
691
692
|
import {
|
|
692
693
|
resolveModelId
|
|
693
|
-
} from "./chunk-
|
|
694
|
+
} from "./chunk-OOAOXTXA.js";
|
|
694
695
|
import "./chunk-SYMKXR42.js";
|
|
695
|
-
import "./chunk-
|
|
696
|
+
import "./chunk-SLH747HE.js";
|
|
696
697
|
import "./chunk-HPQNI3OQ.js";
|
|
697
|
-
import "./chunk-
|
|
698
|
-
import "./chunk-
|
|
698
|
+
import "./chunk-C2WMERW4.js";
|
|
699
|
+
import "./chunk-RAPJVCIY.js";
|
|
699
700
|
import "./chunk-CI2ZHR5C.js";
|
|
700
701
|
import {
|
|
701
702
|
BUILT_IN_OUTPUT_STYLES
|
|
@@ -745,7 +746,7 @@ import "./chunk-6YS3YH6O.js";
|
|
|
745
746
|
import "./chunk-AVCUVYSA.js";
|
|
746
747
|
import "./chunk-6CW53FOJ.js";
|
|
747
748
|
import "./chunk-HX6AICAX.js";
|
|
748
|
-
import "./chunk-
|
|
749
|
+
import "./chunk-WHKFXFFX.js";
|
|
749
750
|
import "./chunk-65B6QBMP.js";
|
|
750
751
|
import "./chunk-O4IWNFDK.js";
|
|
751
752
|
import "./chunk-WMJL2XAM.js";
|
|
@@ -769,12 +770,12 @@ import "./chunk-BQAZCJF7.js";
|
|
|
769
770
|
import {
|
|
770
771
|
fetchKeyInfo,
|
|
771
772
|
onLowRateLimit
|
|
772
|
-
} from "./chunk-
|
|
773
|
-
import "./chunk-
|
|
773
|
+
} from "./chunk-D2PCRDAN.js";
|
|
774
|
+
import "./chunk-GM2WNDZ5.js";
|
|
774
775
|
import "./chunk-CP63SY5N.js";
|
|
775
776
|
import {
|
|
776
777
|
resolveReasoningForModel
|
|
777
|
-
} from "./chunk-
|
|
778
|
+
} from "./chunk-C4YKGP4G.js";
|
|
778
779
|
import "./chunk-2F3GZ6WG.js";
|
|
779
780
|
import {
|
|
780
781
|
ApiCancelEvent,
|
|
@@ -904,7 +905,7 @@ import {
|
|
|
904
905
|
resolveSavedModelApiKey,
|
|
905
906
|
shouldShowStep,
|
|
906
907
|
withdrawExportedCredential
|
|
907
|
-
} from "./chunk-
|
|
908
|
+
} from "./chunk-2V2HOEMT.js";
|
|
908
909
|
import {
|
|
909
910
|
DEFAULT_TOKEN_LIMIT,
|
|
910
911
|
REASONING_EFFORT_TIERS,
|
|
@@ -914,9 +915,9 @@ import {
|
|
|
914
915
|
} from "./chunk-72EBG4FJ.js";
|
|
915
916
|
import {
|
|
916
917
|
MAINLINE_CODER_MODEL
|
|
917
|
-
} from "./chunk-
|
|
918
|
+
} from "./chunk-4WIMZMTX.js";
|
|
918
919
|
import "./chunk-LEXKU5FI.js";
|
|
919
|
-
import "./chunk-
|
|
920
|
+
import "./chunk-S6HB6BVJ.js";
|
|
920
921
|
import "./chunk-WPZM4XOT.js";
|
|
921
922
|
import {
|
|
922
923
|
FinishReason
|
|
@@ -924,7 +925,7 @@ import {
|
|
|
924
925
|
import "./chunk-S7GOFMLU.js";
|
|
925
926
|
import "./chunk-RC67CA5Z.js";
|
|
926
927
|
import "./chunk-HHIX6THS.js";
|
|
927
|
-
import "./chunk-
|
|
928
|
+
import "./chunk-HDKFD7Z3.js";
|
|
928
929
|
import "./chunk-O6GD6SFV.js";
|
|
929
930
|
import {
|
|
930
931
|
finalizeStartupProfile,
|
|
@@ -934,7 +935,7 @@ import "./chunk-H7HA2YLC.js";
|
|
|
934
935
|
import {
|
|
935
936
|
registerCleanup,
|
|
936
937
|
runExitCleanup
|
|
937
|
-
} from "./chunk-
|
|
938
|
+
} from "./chunk-FQGLVBOZ.js";
|
|
938
939
|
import {
|
|
939
940
|
clearScreen,
|
|
940
941
|
writeStderrLine,
|
|
@@ -945,7 +946,7 @@ import {
|
|
|
945
946
|
getWindowsClipboardText
|
|
946
947
|
} from "./chunk-3UJ6A45H.js";
|
|
947
948
|
import "./chunk-AK6T4SJC.js";
|
|
948
|
-
import "./chunk-
|
|
949
|
+
import "./chunk-S6F7ZE4T.js";
|
|
949
950
|
import "./chunk-EVC2HZ5T.js";
|
|
950
951
|
import "./chunk-7TK6OY2J.js";
|
|
951
952
|
import {
|
|
@@ -3654,7 +3655,7 @@ __name(modeColor, "modeColor");
|
|
|
3654
3655
|
var Sep = /* @__PURE__ */ __name(() => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Text, { color: extendedTheme.ui.separator, children: SEP2 }), "Sep");
|
|
3655
3656
|
var REASONING_DEFAULT = "default";
|
|
3656
3657
|
var ModeZone = /* @__PURE__ */ __name(({ tier, mode, model, reasoning, safeMode, debugMode, summaryMode }) => {
|
|
3657
|
-
const reasoningText = reasoning === void 0 || !atLeast(tier, "compact") ? "" : reasoning === false ? t("
|
|
3658
|
+
const reasoningText = reasoning === void 0 || !atLeast(tier, "compact") ? "" : reasoning === false ? t("off") : reasoning === REASONING_DEFAULT ? t("DEFAULT").toLocaleLowerCase() : t(reasoning);
|
|
3658
3659
|
return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(Text, { color: extendedTheme.text.muted, wrap: "truncate", children: [
|
|
3659
3660
|
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Text, { color: modeColor(mode), bold: true, children: `${glyphs().dot} ${modeLabel(mode)}` }),
|
|
3660
3661
|
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Text, { color: extendedTheme.ui.separator, children: " \u2502 " }),
|
|
@@ -5033,7 +5034,7 @@ var MainContent = /* @__PURE__ */ __name(({
|
|
|
5033
5034
|
liveTurnMarker
|
|
5034
5035
|
]
|
|
5035
5036
|
);
|
|
5036
|
-
if (useVirtualScroll && (uiState.isExtensionsManagerDialogOpen || uiState.isAgentsManagerDialogOpen || uiState.isSettingsDialogOpen || uiState.isModelDialogOpen || uiState.isStatsDialogOpen || uiState.isResumeDialogOpen || uiState.isDeleteDialogOpen || uiState.isRewindSelectorOpen || uiState.isDiffDialogOpen || uiState.isRemoteDialogOpen || uiState.auth.isAuthDialogOpen || uiState.auth.isAuthenticating || uiState.auth.authError)) {
|
|
5037
|
+
if (useVirtualScroll && (uiState.isExtensionsManagerDialogOpen || uiState.isAgentsManagerDialogOpen || uiState.isSettingsDialogOpen || uiState.isModelDialogOpen || uiState.isThemeDialogOpen || uiState.isStatsDialogOpen || uiState.isResumeDialogOpen || uiState.isDeleteDialogOpen || uiState.isRewindSelectorOpen || uiState.isDiffDialogOpen || uiState.isRemoteDialogOpen || uiState.auth.isAuthDialogOpen || uiState.auth.isAuthenticating || uiState.auth.authError)) {
|
|
5037
5038
|
return null;
|
|
5038
5039
|
}
|
|
5039
5040
|
if (useVirtualScroll) {
|
|
@@ -5539,6 +5540,7 @@ var PasswordInput = /* @__PURE__ */ __name(({
|
|
|
5539
5540
|
onSubmit,
|
|
5540
5541
|
placeholder
|
|
5541
5542
|
}) => {
|
|
5543
|
+
const canvasBackground = (0, import_react22.useContext)(ThemeCanvasContext);
|
|
5542
5544
|
useKeypress(
|
|
5543
5545
|
(key) => {
|
|
5544
5546
|
if (key.paste) {
|
|
@@ -5570,7 +5572,7 @@ var PasswordInput = /* @__PURE__ */ __name(({
|
|
|
5570
5572
|
);
|
|
5571
5573
|
const maskedValue = "*".repeat(value.length);
|
|
5572
5574
|
const displayValue2 = maskedValue || "";
|
|
5573
|
-
const cursorChar = renderSoftwareCursor(" ");
|
|
5575
|
+
const cursorChar = renderSoftwareCursor(" ", canvasBackground);
|
|
5574
5576
|
return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(Box_default, { children: [
|
|
5575
5577
|
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Text, { color: theme.text.accent, children: "> " }),
|
|
5576
5578
|
value.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(Text, { children: [
|
|
@@ -7819,6 +7821,7 @@ function SettingsDialog({
|
|
|
7819
7821
|
width,
|
|
7820
7822
|
config
|
|
7821
7823
|
}) {
|
|
7824
|
+
const canvasBackground = (0, import_react27.useContext)(ThemeCanvasContext);
|
|
7822
7825
|
const { columns } = useTerminalSize();
|
|
7823
7826
|
const panelWidth = Math.max(1, columns - 4);
|
|
7824
7827
|
const sideHelp = columns >= 120 && (availableTerminalHeight ?? 24) >= 14;
|
|
@@ -8616,7 +8619,7 @@ function SettingsDialog({
|
|
|
8616
8619
|
),
|
|
8617
8620
|
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Box_default, { flexGrow: 1, minWidth: 0, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(Text, { wrap: "truncate-start", children: [
|
|
8618
8621
|
searchQuery ? /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Text, { color: theme.text.primary, children: searchQuery }) : null,
|
|
8619
|
-
focusZone === "search" && renderSoftwareCursor(" "),
|
|
8622
|
+
focusZone === "search" && renderSoftwareCursor(" ", canvasBackground),
|
|
8620
8623
|
searchQuery ? null : /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Text, { color: extendedTheme.text.placeholder, children: t("Search settings\u2026") })
|
|
8621
8624
|
] }) })
|
|
8622
8625
|
]
|
|
@@ -8678,7 +8681,7 @@ function SettingsDialog({
|
|
|
8678
8681
|
editWidth - getCachedStringWidth(before + cursor)
|
|
8679
8682
|
)
|
|
8680
8683
|
);
|
|
8681
|
-
displayValue2 = before + (cursorVisible ? renderSoftwareCursor(cursor) : cursor) + after;
|
|
8684
|
+
displayValue2 = before + (cursorVisible ? renderSoftwareCursor(cursor, canvasBackground) : cursor) + after;
|
|
8682
8685
|
} else if (isNumericSettingType(item.type) || item.type === "string") {
|
|
8683
8686
|
const isSubDialogSetting = item.value === "ui.theme" || item.value === "general.preferredEditor" || item.value === "fastModel" || item.value === "visionModel";
|
|
8684
8687
|
const path14 = item.value.split(".");
|
|
@@ -10820,6 +10823,7 @@ function ModelIdsStep({
|
|
|
10820
10823
|
minVisibleModelRows,
|
|
10821
10824
|
draftModelIds,
|
|
10822
10825
|
onDraftChange,
|
|
10826
|
+
customInputAfterList = false,
|
|
10823
10827
|
additionalChromeRows = 0,
|
|
10824
10828
|
availableHeight
|
|
10825
10829
|
}) {
|
|
@@ -10851,7 +10855,7 @@ function ModelIdsStep({
|
|
|
10851
10855
|
const showSearchLabel = !compact;
|
|
10852
10856
|
const searchRows = borderless ? 1 : 3 + Number(showSearchLabel);
|
|
10853
10857
|
const showSelectionSummary = !compact;
|
|
10854
|
-
const chromeRows = gap * (4 + errorRows) + (borderless ? 1 : 2) + (compact ? 0 : 1) + errorRows + searchRows + Number(showSelectionSummary) + 3;
|
|
10858
|
+
const chromeRows = gap * (4 + errorRows) + (borderless ? 1 : 2) + (compact ? 0 : 1) + errorRows + searchRows + Number(showSelectionSummary) + Number(customInputAfterList) + (customInputAfterList ? 1 - gap + (borderless ? 2 : 1) : 0) + 3;
|
|
10855
10859
|
const modelRows = budget === void 0 ? minVisibleModelRows ?? MAX_MODELS_TO_SHOW : Math.max(1, budget - chromeRows);
|
|
10856
10860
|
const defaultIds = config.models?.map((m) => m.id).join(", ") ?? "";
|
|
10857
10861
|
const hasSelectableModels = models.length > 0;
|
|
@@ -10984,7 +10988,7 @@ function ModelIdsStep({
|
|
|
10984
10988
|
}
|
|
10985
10989
|
if (key.name === "down") {
|
|
10986
10990
|
setFocusedModelIndex(
|
|
10987
|
-
(index) => Math.max(0, Math.min(index + 1, filteredModelOptions.length - 1))
|
|
10991
|
+
(index) => customInputAfterList && index >= filteredModelOptions.length - 1 ? MODEL_CUSTOM_INPUT_FOCUS_INDEX : Math.max(0, Math.min(index + 1, filteredModelOptions.length - 1))
|
|
10988
10992
|
);
|
|
10989
10993
|
return;
|
|
10990
10994
|
}
|
|
@@ -11013,16 +11017,20 @@ function ModelIdsStep({
|
|
|
11013
11017
|
{ isActive: hasSelectableModels && focusedModelIndex >= 0 }
|
|
11014
11018
|
);
|
|
11015
11019
|
if (hasSelectableModels) {
|
|
11016
|
-
|
|
11020
|
+
const customInput = /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(Box_default, { flexDirection: "column", children: [
|
|
11021
|
+
customInputAfterList && /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(Text, { color: theme.text.primary, bold: true, children: [
|
|
11022
|
+
t("Custom"),
|
|
11023
|
+
":"
|
|
11024
|
+
] }),
|
|
11017
11025
|
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
11018
11026
|
Box_default,
|
|
11019
11027
|
{
|
|
11020
|
-
|
|
11021
|
-
|
|
11022
|
-
|
|
11023
|
-
|
|
11024
|
-
|
|
11025
|
-
|
|
11028
|
+
borderStyle: borderless && !customInputAfterList ? void 0 : glyphs().borderStyle,
|
|
11029
|
+
borderBottom: !borderless || customInputAfterList,
|
|
11030
|
+
borderTop: customInputAfterList,
|
|
11031
|
+
borderLeft: customInputAfterList,
|
|
11032
|
+
borderRight: customInputAfterList,
|
|
11033
|
+
paddingX: customInputAfterList ? 1 : 0,
|
|
11026
11034
|
borderColor: focusedModelIndex === MODEL_CUSTOM_INPUT_FOCUS_INDEX ? extendedTheme.ui.brand : extendedTheme.ui.rule,
|
|
11027
11035
|
width,
|
|
11028
11036
|
children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
@@ -11031,22 +11039,24 @@ function ModelIdsStep({
|
|
|
11031
11039
|
value: customModelIdsText,
|
|
11032
11040
|
onChange: handleCustomModelIdsChange,
|
|
11033
11041
|
onSubmit: handleSubmitModelIds,
|
|
11034
|
-
|
|
11035
|
-
|
|
11036
|
-
|
|
11037
|
-
onTab: () => {
|
|
11038
|
-
setFocusedModelIndex(MODEL_SEARCH_INPUT_FOCUS_INDEX);
|
|
11039
|
-
},
|
|
11042
|
+
onUp: customInputAfterList && filteredModelOptions.length > 0 ? () => setFocusedModelIndex(filteredModelOptions.length - 1) : void 0,
|
|
11043
|
+
onDown: () => setFocusedModelIndex(MODEL_SEARCH_INPUT_FOCUS_INDEX),
|
|
11044
|
+
onTab: () => setFocusedModelIndex(MODEL_SEARCH_INPUT_FOCUS_INDEX),
|
|
11040
11045
|
placeholder: "model-id",
|
|
11041
11046
|
height: inputHeight,
|
|
11042
|
-
inputWidth: width === void 0 ? void 0 : Math.max(1, width - 2),
|
|
11047
|
+
inputWidth: width === void 0 ? void 0 : Math.max(1, width - (customInputAfterList ? 6 : 2)),
|
|
11043
11048
|
isActive: focusedModelIndex === MODEL_CUSTOM_INPUT_FOCUS_INDEX
|
|
11044
11049
|
},
|
|
11045
11050
|
"model-ids-input"
|
|
11046
11051
|
)
|
|
11047
11052
|
}
|
|
11048
|
-
)
|
|
11049
|
-
|
|
11053
|
+
)
|
|
11054
|
+
] });
|
|
11055
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(Box_default, { marginTop: gap, flexDirection: "column", width, flexShrink: 0, children: [
|
|
11056
|
+
!customInputAfterList && /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_jsx_runtime40.Fragment, { children: [
|
|
11057
|
+
customInput,
|
|
11058
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Box_default, { marginBottom: compact ? 0 : 1 })
|
|
11059
|
+
] }),
|
|
11050
11060
|
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(Box_default, { marginTop: 0, flexDirection: "column", children: [
|
|
11051
11061
|
showSearchLabel && /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(Text, { color: extendedTheme.text.muted, children: [
|
|
11052
11062
|
"\u2315",
|
|
@@ -11131,6 +11141,7 @@ function ModelIdsStep({
|
|
|
11131
11141
|
showVerified && ` \xB7 ${t("key valid")} ${glyphs().done}`
|
|
11132
11142
|
] })
|
|
11133
11143
|
] }),
|
|
11144
|
+
customInputAfterList && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Box_default, { marginTop: 1, children: customInput }),
|
|
11134
11145
|
flow.state.modelIdsError && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Box_default, { marginTop: gap, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Text, { color: theme.status.error, wrap: "truncate-end", children: flow.state.modelIdsError }) }),
|
|
11135
11146
|
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(Box_default, { marginTop: gap, flexDirection: "column", children: [
|
|
11136
11147
|
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Text, { color: extendedTheme.ui.brandSoft, wrap: "truncate-end", children: t("\u2191\u2193/Tab navigate \xB7 Space toggle") }),
|
|
@@ -11198,6 +11209,7 @@ function DiscoveringModelIdsStep({
|
|
|
11198
11209
|
showKeyStatus,
|
|
11199
11210
|
onKeyStatusChange,
|
|
11200
11211
|
minVisibleModelRows,
|
|
11212
|
+
customInputAfterList,
|
|
11201
11213
|
availableHeight
|
|
11202
11214
|
}) {
|
|
11203
11215
|
const uiState = (0, import_react35.useContext)(UIStateContext);
|
|
@@ -11332,6 +11344,7 @@ function DiscoveringModelIdsStep({
|
|
|
11332
11344
|
keyVerified: snapshot.verified && requiresApiKey(config),
|
|
11333
11345
|
showKeyStatus,
|
|
11334
11346
|
minVisibleModelRows,
|
|
11347
|
+
customInputAfterList,
|
|
11335
11348
|
availableHeight,
|
|
11336
11349
|
additionalChromeRows: listFailed ? noticeGap + 1 : 0,
|
|
11337
11350
|
preselect: snapshot.verified ? preselectedModels(
|
|
@@ -11554,6 +11567,7 @@ function ProviderSetupSteps({
|
|
|
11554
11567
|
showKeyStatus,
|
|
11555
11568
|
onKeyStatusChange,
|
|
11556
11569
|
minVisibleModelRows,
|
|
11570
|
+
customInputAfterList,
|
|
11557
11571
|
availableHeight
|
|
11558
11572
|
}) {
|
|
11559
11573
|
const { provider, step } = flow.state;
|
|
@@ -11667,6 +11681,7 @@ function ProviderSetupSteps({
|
|
|
11667
11681
|
showKeyStatus,
|
|
11668
11682
|
onKeyStatusChange,
|
|
11669
11683
|
minVisibleModelRows,
|
|
11684
|
+
customInputAfterList,
|
|
11670
11685
|
availableHeight
|
|
11671
11686
|
}
|
|
11672
11687
|
);
|
|
@@ -11678,6 +11693,7 @@ function ProviderSetupSteps({
|
|
|
11678
11693
|
flow,
|
|
11679
11694
|
showKeyStatus,
|
|
11680
11695
|
minVisibleModelRows,
|
|
11696
|
+
customInputAfterList,
|
|
11681
11697
|
availableHeight
|
|
11682
11698
|
}
|
|
11683
11699
|
);
|
|
@@ -13472,6 +13488,7 @@ function ModelListEditDialog({
|
|
|
13472
13488
|
}) {
|
|
13473
13489
|
const config = useConfig();
|
|
13474
13490
|
const settings = useSettings();
|
|
13491
|
+
const uiState = (0, import_react40.useContext)(UIStateContext);
|
|
13475
13492
|
const [errorMessage, setErrorMessage] = (0, import_react40.useState)(null);
|
|
13476
13493
|
const [isKeyValid, setIsKeyValid] = (0, import_react40.useState)(false);
|
|
13477
13494
|
const closeLatchRef = (0, import_react40.useRef)(false);
|
|
@@ -13616,7 +13633,8 @@ function ModelListEditDialog({
|
|
|
13616
13633
|
borderStyle: glyphs().borderStyle,
|
|
13617
13634
|
borderColor: extendedTheme.ui.brand,
|
|
13618
13635
|
flexDirection: "column",
|
|
13619
|
-
|
|
13636
|
+
paddingX: 1,
|
|
13637
|
+
paddingY: uiState && uiState.terminalHeight <= 24 ? 0 : 1,
|
|
13620
13638
|
width: "100%",
|
|
13621
13639
|
children: [
|
|
13622
13640
|
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(Box_default, { flexDirection: "row", children: [
|
|
@@ -13636,7 +13654,8 @@ function ModelListEditDialog({
|
|
|
13636
13654
|
flow,
|
|
13637
13655
|
showKeyStatus: false,
|
|
13638
13656
|
onKeyStatusChange: setIsKeyValid,
|
|
13639
|
-
minVisibleModelRows: MODEL_CATALOG_MIN_VISIBLE_ROWS
|
|
13657
|
+
minVisibleModelRows: MODEL_CATALOG_MIN_VISIBLE_ROWS,
|
|
13658
|
+
customInputAfterList: true
|
|
13640
13659
|
}
|
|
13641
13660
|
),
|
|
13642
13661
|
(flow.state.apiKeyError || errorMessage) && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Box_default, { marginTop: 1, children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Text, { color: theme.status.error, children: flow.state.apiKeyError || errorMessage }) })
|
|
@@ -14044,7 +14063,7 @@ function ModelDialog({
|
|
|
14044
14063
|
useKeypress(
|
|
14045
14064
|
(key) => {
|
|
14046
14065
|
if (editingModelList) return;
|
|
14047
|
-
if (canEditModelList && key.ctrl && key.
|
|
14066
|
+
if (canEditModelList && key.name === "e" && !key.ctrl && !key.meta && !key.paste) {
|
|
14048
14067
|
setEditingModelList(true);
|
|
14049
14068
|
return;
|
|
14050
14069
|
}
|
|
@@ -14342,6 +14361,9 @@ ${errorMessage2}`
|
|
|
14342
14361
|
reportAuxiliaryModelSelection
|
|
14343
14362
|
]
|
|
14344
14363
|
);
|
|
14364
|
+
const editListHint = t(" \xB7 e edit list");
|
|
14365
|
+
const editKeyIndex = editListHint.indexOf("e");
|
|
14366
|
+
const navigationHint = effortOptions.length > 0 ? t("\u2191\u2193 navigate \xB7 \u2190\u2192 effort \xB7 enter select \xB7 esc close") : t("\u2191\u2193 navigate \xB7 enter select \xB7 esc close");
|
|
14345
14367
|
const hasModels = MODEL_OPTIONS.length > 0;
|
|
14346
14368
|
const hasCurrentModel = MODEL_OPTIONS.some(
|
|
14347
14369
|
(option) => option.value === preferredKey
|
|
@@ -14418,7 +14440,7 @@ ${errorMessage2}`
|
|
|
14418
14440
|
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
14419
14441
|
DetailRow,
|
|
14420
14442
|
{
|
|
14421
|
-
label: t("Context
|
|
14443
|
+
label: t("Context"),
|
|
14422
14444
|
value: formatContextWindow(
|
|
14423
14445
|
highlightedEntry.model.contextWindowSize
|
|
14424
14446
|
)
|
|
@@ -14453,7 +14475,16 @@ ${errorMessage2}`
|
|
|
14453
14475
|
"\u2715 ",
|
|
14454
14476
|
errorMessage
|
|
14455
14477
|
] }) }),
|
|
14456
|
-
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Box_default, { marginTop: 1, flexDirection: "column", children: /* @__PURE__ */ (0, import_jsx_runtime46.
|
|
14478
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Box_default, { marginTop: 1, flexDirection: "column", children: /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(Text, { color: theme.text.secondary, children: [
|
|
14479
|
+
navigationHint.split(/(↑↓|←→|enter|esc)/).map(
|
|
14480
|
+
(part, index) => /^(↑↓|←→|enter|esc)$/.test(part) ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Text, { bold: true, children: part }, index) : part
|
|
14481
|
+
),
|
|
14482
|
+
canEditModelList && (editKeyIndex < 0 ? editListHint : /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(import_jsx_runtime46.Fragment, { children: [
|
|
14483
|
+
editListHint.slice(0, editKeyIndex),
|
|
14484
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Text, { bold: true, children: editListHint[editKeyIndex] }),
|
|
14485
|
+
editListHint.slice(editKeyIndex + 1)
|
|
14486
|
+
] }))
|
|
14487
|
+
] }) })
|
|
14457
14488
|
]
|
|
14458
14489
|
}
|
|
14459
14490
|
);
|
|
@@ -32386,7 +32417,8 @@ function defaultRenderLine({
|
|
|
32386
32417
|
lineText,
|
|
32387
32418
|
isOnCursorLine,
|
|
32388
32419
|
cursorCol,
|
|
32389
|
-
showCursor
|
|
32420
|
+
showCursor,
|
|
32421
|
+
canvasBackground
|
|
32390
32422
|
}) {
|
|
32391
32423
|
if (!isOnCursorLine || !showCursor || terminalShowsInputCursor()) {
|
|
32392
32424
|
return /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(Text, { children: lineText || " " });
|
|
@@ -32395,7 +32427,7 @@ function defaultRenderLine({
|
|
|
32395
32427
|
if (cursorCol >= len) {
|
|
32396
32428
|
return /* @__PURE__ */ (0, import_jsx_runtime117.jsxs)(Text, { children: [
|
|
32397
32429
|
lineText,
|
|
32398
|
-
renderSoftwareCursor(" ")
|
|
32430
|
+
renderSoftwareCursor(" ", canvasBackground)
|
|
32399
32431
|
] });
|
|
32400
32432
|
}
|
|
32401
32433
|
const before = cpSlice(lineText, 0, cursorCol);
|
|
@@ -32403,7 +32435,7 @@ function defaultRenderLine({
|
|
|
32403
32435
|
const after = cpSlice(lineText, cursorCol + 1);
|
|
32404
32436
|
return /* @__PURE__ */ (0, import_jsx_runtime117.jsxs)(Text, { children: [
|
|
32405
32437
|
before,
|
|
32406
|
-
renderSoftwareCursor(cursorChar),
|
|
32438
|
+
renderSoftwareCursor(cursorChar, canvasBackground),
|
|
32407
32439
|
after
|
|
32408
32440
|
] });
|
|
32409
32441
|
}
|
|
@@ -32463,6 +32495,7 @@ var BaseTextInput = /* @__PURE__ */ __name(({
|
|
|
32463
32495
|
mouseEnabled = false,
|
|
32464
32496
|
selectableLinesRef
|
|
32465
32497
|
}) => {
|
|
32498
|
+
const canvasBackground = (0, import_react108.useContext)(ThemeCanvasContext);
|
|
32466
32499
|
const handleKey = (0, import_react108.useCallback)(
|
|
32467
32500
|
(key) => {
|
|
32468
32501
|
if (onKeypress?.(key)) {
|
|
@@ -32630,7 +32663,10 @@ var BaseTextInput = /* @__PURE__ */ __name(({
|
|
|
32630
32663
|
count: String(scrollVisualRow)
|
|
32631
32664
|
})}` }),
|
|
32632
32665
|
/* @__PURE__ */ (0, import_jsx_runtime117.jsx)(Box_default, { flexGrow: 1, minWidth: 0, flexDirection: "column", ref: linesRef, children: buffer.text.length === 0 && placeholder ? showCursor && !terminalShowsInputCursor() ? /* @__PURE__ */ (0, import_jsx_runtime117.jsxs)(Text, { children: [
|
|
32633
|
-
renderSoftwareCursor(
|
|
32666
|
+
renderSoftwareCursor(
|
|
32667
|
+
placeholder.slice(0, 1),
|
|
32668
|
+
canvasBackground
|
|
32669
|
+
),
|
|
32634
32670
|
/* @__PURE__ */ (0, import_jsx_runtime117.jsx)(Text, { color: extendedTheme.text.placeholder, children: placeholder.slice(1) })
|
|
32635
32671
|
] }) : /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(Text, { color: extendedTheme.text.placeholder, children: placeholder }) : linesToRender.map((lineText, idx) => {
|
|
32636
32672
|
const absoluteVisualIndex = scrollVisualRow + idx;
|
|
@@ -32643,7 +32679,8 @@ var BaseTextInput = /* @__PURE__ */ __name(({
|
|
|
32643
32679
|
visualLineIndex: idx,
|
|
32644
32680
|
absoluteVisualIndex,
|
|
32645
32681
|
buffer,
|
|
32646
|
-
scrollVisualRow
|
|
32682
|
+
scrollVisualRow,
|
|
32683
|
+
canvasBackground
|
|
32647
32684
|
}) }, idx);
|
|
32648
32685
|
}) }),
|
|
32649
32686
|
(buffer.allVisualLines?.length ?? 0) > 1 && /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(Box_default, { justifyContent: "flex-end", children: /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(Text, { color: extendedTheme.text.muted, children: t("{{count}} lines \xB7 enter sends \xB7 shift+enter new line", {
|
|
@@ -35782,7 +35819,8 @@ ${currentText}`);
|
|
|
35782
35819
|
cursorCol: cursorVisualColAbsolute,
|
|
35783
35820
|
showCursor: showCursorOpt,
|
|
35784
35821
|
absoluteVisualIndex,
|
|
35785
|
-
buffer: buf
|
|
35822
|
+
buffer: buf,
|
|
35823
|
+
canvasBackground
|
|
35786
35824
|
} = opts;
|
|
35787
35825
|
const mapEntry = buf.visualToLogicalMap[absoluteVisualIndex];
|
|
35788
35826
|
const [logicalLineIdx, logicalStartCol] = mapEntry;
|
|
@@ -35814,7 +35852,7 @@ ${currentText}`);
|
|
|
35814
35852
|
cursorVisualColAbsolute - segStart,
|
|
35815
35853
|
cursorVisualColAbsolute - segStart + 1
|
|
35816
35854
|
);
|
|
35817
|
-
const highlighted = drawCursor ? renderSoftwareCursor(charToHighlight) : charToHighlight;
|
|
35855
|
+
const highlighted = drawCursor ? renderSoftwareCursor(charToHighlight, canvasBackground) : charToHighlight;
|
|
35818
35856
|
display = cpSlice(seg.text, 0, cursorVisualColAbsolute - segStart) + highlighted + cpSlice(seg.text, cursorVisualColAbsolute - segStart + 1);
|
|
35819
35857
|
}
|
|
35820
35858
|
charCount = segEnd;
|
|
@@ -35833,7 +35871,7 @@ ${currentText}`);
|
|
|
35833
35871
|
);
|
|
35834
35872
|
} else if (ghostText.showCursorBeforeText) {
|
|
35835
35873
|
renderedLine.push(
|
|
35836
|
-
/* @__PURE__ */ (0, import_jsx_runtime121.jsx)(Text, { children: renderSoftwareCursor(" ") }, "ghost-cursor")
|
|
35874
|
+
/* @__PURE__ */ (0, import_jsx_runtime121.jsx)(Text, { children: renderSoftwareCursor(" ", canvasBackground) }, "ghost-cursor")
|
|
35837
35875
|
);
|
|
35838
35876
|
renderedLine.push(
|
|
35839
35877
|
/* @__PURE__ */ (0, import_jsx_runtime121.jsx)(Text, { color: theme.text.secondary, children: ghostText.text }, "ghost-rest")
|
|
@@ -35842,7 +35880,7 @@ ${currentText}`);
|
|
|
35842
35880
|
const firstChar = ghostText.text[0];
|
|
35843
35881
|
const rest = ghostText.text.slice(firstChar.length);
|
|
35844
35882
|
renderedLine.push(
|
|
35845
|
-
/* @__PURE__ */ (0, import_jsx_runtime121.jsx)(Text, { children: renderSoftwareCursor(firstChar) }, "ghost-cursor")
|
|
35883
|
+
/* @__PURE__ */ (0, import_jsx_runtime121.jsx)(Text, { children: renderSoftwareCursor(firstChar, canvasBackground) }, "ghost-cursor")
|
|
35846
35884
|
);
|
|
35847
35885
|
if (rest.length > 0) {
|
|
35848
35886
|
renderedLine.push(
|
|
@@ -35852,7 +35890,7 @@ ${currentText}`);
|
|
|
35852
35890
|
}
|
|
35853
35891
|
} else if (!terminalShowsInputCursor()) {
|
|
35854
35892
|
renderedLine.push(
|
|
35855
|
-
/* @__PURE__ */ (0, import_jsx_runtime121.jsx)(Text, { children: showCursorOpt ? renderSoftwareCursor(" ") : " " }, `cursor-end-${cursorVisualColAbsolute}`)
|
|
35893
|
+
/* @__PURE__ */ (0, import_jsx_runtime121.jsx)(Text, { children: showCursorOpt ? renderSoftwareCursor(" ", canvasBackground) : " " }, `cursor-end-${cursorVisualColAbsolute}`)
|
|
35856
35894
|
);
|
|
35857
35895
|
}
|
|
35858
35896
|
}
|
|
@@ -38988,74 +39026,101 @@ var DefaultAppLayout = /* @__PURE__ */ __name(() => {
|
|
|
38988
39026
|
refreshStatic();
|
|
38989
39027
|
}
|
|
38990
39028
|
}, [activeView, refreshStatic]);
|
|
38991
|
-
return /* @__PURE__ */ (0, import_jsx_runtime143.
|
|
38992
|
-
|
|
38993
|
-
|
|
38994
|
-
|
|
38995
|
-
/* @__PURE__ */ (0, import_jsx_runtime143.
|
|
38996
|
-
|
|
38997
|
-
/* @__PURE__ */ (0, import_jsx_runtime143.jsx)(AgentComposer, { agentId: activeView }, activeView),
|
|
38998
|
-
/* @__PURE__ */ (0, import_jsx_runtime143.jsx)(ExitWarning, {})
|
|
38999
|
-
] })
|
|
39000
|
-
] }) : /* @__PURE__ */ (0, import_jsx_runtime143.jsxs)(ScrollContext.Provider, { value: scrollActions, children: [
|
|
39001
|
-
/* @__PURE__ */ (0, import_jsx_runtime143.jsx)(
|
|
39002
|
-
MainContent,
|
|
39029
|
+
return /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(
|
|
39030
|
+
ThemeCanvasContext.Provider,
|
|
39031
|
+
{
|
|
39032
|
+
value: uiState.useTerminalBuffer ? theme.background.primary || void 0 : void 0,
|
|
39033
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(
|
|
39034
|
+
foregroundContext.Provider,
|
|
39003
39035
|
{
|
|
39004
|
-
|
|
39005
|
-
|
|
39006
|
-
|
|
39007
|
-
}
|
|
39008
|
-
),
|
|
39009
|
-
/* @__PURE__ */ (0, import_jsx_runtime143.jsxs)(Box_default, { flexDirection: "column", ref: uiState.mainControlsRef, children: [
|
|
39010
|
-
!uiState.useTerminalBuffer && !uiState.dialogsVisible && uiState.updateInfo && /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(UpdateNotification, { message: uiState.updateInfo.message }),
|
|
39011
|
-
uiState.dialogsVisible ? /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(
|
|
39012
|
-
Box_default,
|
|
39013
|
-
{
|
|
39014
|
-
marginX: backgroundDialogOpen ? backgroundMargin : 2,
|
|
39015
|
-
flexDirection: "column",
|
|
39016
|
-
width: backgroundDialogOpen ? Math.max(1, terminalWidth - backgroundMargin * 2) : uiState.isSettingsDialogOpen ? Math.max(1, terminalWidth - 4) : uiState.isApprovalModeDialogOpen ? Math.max(1, Math.min(terminalWidth - 4, 140)) : uiState.mainAreaWidth,
|
|
39017
|
-
height: uiState.isApprovalModeDialogOpen || uiState.isSettingsDialogOpen ? void 0 : dialogHeight,
|
|
39018
|
-
maxHeight: dialogHeight,
|
|
39019
|
-
overflow: uiState.constrainHeight ? "hidden" : void 0,
|
|
39020
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(
|
|
39021
|
-
DialogManager,
|
|
39022
|
-
{
|
|
39023
|
-
terminalWidth: uiState.terminalWidth,
|
|
39024
|
-
addItem: uiState.historyManager.addItem
|
|
39025
|
-
}
|
|
39026
|
-
)
|
|
39027
|
-
}
|
|
39028
|
-
) : /* @__PURE__ */ (0, import_jsx_runtime143.jsxs)(import_jsx_runtime143.Fragment, { children: [
|
|
39029
|
-
shouldShowStickyTodos && /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(
|
|
39030
|
-
StickyTodoList,
|
|
39031
|
-
{
|
|
39032
|
-
todos: uiState.stickyTodos,
|
|
39033
|
-
width: stickyTodoWidth,
|
|
39034
|
-
maxVisibleItems: stickyTodoMaxVisibleItems
|
|
39035
|
-
}
|
|
39036
|
-
),
|
|
39037
|
-
uiState.btwItem && /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(Box_default, { marginX: 2, width: uiState.mainAreaWidth, children: /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(
|
|
39038
|
-
BtwMessage,
|
|
39036
|
+
value: uiState.useTerminalBuffer ? themeManager.getActiveTheme().colors.Foreground || void 0 : void 0,
|
|
39037
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime143.jsxs)(
|
|
39038
|
+
Box_default,
|
|
39039
39039
|
{
|
|
39040
|
-
|
|
39041
|
-
|
|
39040
|
+
flexDirection: "column",
|
|
39041
|
+
width: terminalWidth,
|
|
39042
|
+
minHeight: uiState.useTerminalBuffer && uiState.isThemeDialogOpen ? uiState.terminalHeight : void 0,
|
|
39043
|
+
backgroundColor: uiState.useTerminalBuffer ? theme.background.primary || void 0 : void 0,
|
|
39044
|
+
children: [
|
|
39045
|
+
uiState.useTerminalBuffer && /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(PinnedHeader, {}),
|
|
39046
|
+
isAgentTab ? /* @__PURE__ */ (0, import_jsx_runtime143.jsxs)(import_jsx_runtime143.Fragment, { children: [
|
|
39047
|
+
/* @__PURE__ */ (0, import_jsx_runtime143.jsx)(AgentChatView, { agentId: activeView }),
|
|
39048
|
+
/* @__PURE__ */ (0, import_jsx_runtime143.jsxs)(Box_default, { flexDirection: "column", ref: uiState.mainControlsRef, children: [
|
|
39049
|
+
!uiState.useTerminalBuffer && !uiState.dialogsVisible && uiState.updateInfo && /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(UpdateNotification, { message: uiState.updateInfo.message }),
|
|
39050
|
+
/* @__PURE__ */ (0, import_jsx_runtime143.jsx)(AgentComposer, { agentId: activeView }, activeView),
|
|
39051
|
+
/* @__PURE__ */ (0, import_jsx_runtime143.jsx)(ExitWarning, {})
|
|
39052
|
+
] })
|
|
39053
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime143.jsxs)(ScrollContext.Provider, { value: scrollActions, children: [
|
|
39054
|
+
/* @__PURE__ */ (0, import_jsx_runtime143.jsx)(
|
|
39055
|
+
MainContent,
|
|
39056
|
+
{
|
|
39057
|
+
footerRef,
|
|
39058
|
+
inputLinesRef,
|
|
39059
|
+
scrollActionsRef
|
|
39060
|
+
}
|
|
39061
|
+
),
|
|
39062
|
+
/* @__PURE__ */ (0, import_jsx_runtime143.jsxs)(Box_default, { flexDirection: "column", ref: uiState.mainControlsRef, children: [
|
|
39063
|
+
!uiState.useTerminalBuffer && !uiState.dialogsVisible && uiState.updateInfo && /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(UpdateNotification, { message: uiState.updateInfo.message }),
|
|
39064
|
+
uiState.dialogsVisible ? /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(
|
|
39065
|
+
Box_default,
|
|
39066
|
+
{
|
|
39067
|
+
marginX: backgroundDialogOpen ? backgroundMargin : 2,
|
|
39068
|
+
flexDirection: "column",
|
|
39069
|
+
width: backgroundDialogOpen ? Math.max(1, terminalWidth - backgroundMargin * 2) : uiState.isSettingsDialogOpen ? Math.max(1, terminalWidth - 4) : uiState.isApprovalModeDialogOpen ? Math.max(1, Math.min(terminalWidth - 4, 140)) : uiState.mainAreaWidth,
|
|
39070
|
+
height: uiState.isApprovalModeDialogOpen || uiState.isSettingsDialogOpen ? void 0 : dialogHeight,
|
|
39071
|
+
maxHeight: dialogHeight,
|
|
39072
|
+
overflow: uiState.constrainHeight ? "hidden" : void 0,
|
|
39073
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(
|
|
39074
|
+
DialogManager,
|
|
39075
|
+
{
|
|
39076
|
+
terminalWidth: uiState.terminalWidth,
|
|
39077
|
+
addItem: uiState.historyManager.addItem
|
|
39078
|
+
}
|
|
39079
|
+
)
|
|
39080
|
+
}
|
|
39081
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime143.jsxs)(import_jsx_runtime143.Fragment, { children: [
|
|
39082
|
+
shouldShowStickyTodos && /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(
|
|
39083
|
+
StickyTodoList,
|
|
39084
|
+
{
|
|
39085
|
+
todos: uiState.stickyTodos,
|
|
39086
|
+
width: stickyTodoWidth,
|
|
39087
|
+
maxVisibleItems: stickyTodoMaxVisibleItems
|
|
39088
|
+
}
|
|
39089
|
+
),
|
|
39090
|
+
uiState.btwItem && /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(Box_default, { marginX: 2, width: uiState.mainAreaWidth, children: /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(
|
|
39091
|
+
BtwMessage,
|
|
39092
|
+
{
|
|
39093
|
+
btw: uiState.btwItem.btw,
|
|
39094
|
+
containerWidth: uiState.mainAreaWidth
|
|
39095
|
+
}
|
|
39096
|
+
) }),
|
|
39097
|
+
/* @__PURE__ */ (0, import_jsx_runtime143.jsx)(
|
|
39098
|
+
Composer,
|
|
39099
|
+
{
|
|
39100
|
+
footerRef,
|
|
39101
|
+
inputLinesRef
|
|
39102
|
+
}
|
|
39103
|
+
)
|
|
39104
|
+
] }),
|
|
39105
|
+
/* @__PURE__ */ (0, import_jsx_runtime143.jsx)(ExitWarning, {}),
|
|
39106
|
+
!uiState.dialogsVisible && /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(
|
|
39107
|
+
LiveAgentPanel,
|
|
39108
|
+
{
|
|
39109
|
+
width: uiState.terminalWidth,
|
|
39110
|
+
maxRows: uiState.useTerminalBuffer ? getLiveAgentPanelVpMaxRows(uiState.terminalHeight) : void 0
|
|
39111
|
+
}
|
|
39112
|
+
)
|
|
39113
|
+
] })
|
|
39114
|
+
] }),
|
|
39115
|
+
hasAgents && !uiState.dialogsVisible && /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(AgentTabBar, {}),
|
|
39116
|
+
/* @__PURE__ */ (0, import_jsx_runtime143.jsx)(ContextMenuOverlay, {})
|
|
39117
|
+
]
|
|
39042
39118
|
}
|
|
39043
|
-
)
|
|
39044
|
-
|
|
39045
|
-
|
|
39046
|
-
|
|
39047
|
-
|
|
39048
|
-
LiveAgentPanel,
|
|
39049
|
-
{
|
|
39050
|
-
width: uiState.terminalWidth,
|
|
39051
|
-
maxRows: uiState.useTerminalBuffer ? getLiveAgentPanelVpMaxRows(uiState.terminalHeight) : void 0
|
|
39052
|
-
}
|
|
39053
|
-
)
|
|
39054
|
-
] })
|
|
39055
|
-
] }),
|
|
39056
|
-
hasAgents && !uiState.dialogsVisible && /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(AgentTabBar, {}),
|
|
39057
|
-
/* @__PURE__ */ (0, import_jsx_runtime143.jsx)(ContextMenuOverlay, {})
|
|
39058
|
-
] });
|
|
39119
|
+
)
|
|
39120
|
+
}
|
|
39121
|
+
)
|
|
39122
|
+
}
|
|
39123
|
+
);
|
|
39059
39124
|
}, "DefaultAppLayout");
|
|
39060
39125
|
|
|
39061
39126
|
// packages/cli/src/ui/App.tsx
|
|
@@ -53892,7 +53957,9 @@ ${currentText}` : popped.modelText
|
|
|
53892
53957
|
});
|
|
53893
53958
|
const dialogsVisible = showWelcomeBackDialog || shouldShowIdePrompt || shouldShowCommandMigrationNudge || isFolderTrustDialogOpen || isMcpApprovalDialogOpen || !!shellConfirmationRequest || !!confirmationRequest || confirmUpdateExtensionRequests.length > 0 || !!providerUpdateRequest || settingInputRequests.length > 0 || pluginChoiceRequests.length > 0 || !!loopDetectionConfirmationRequest || isThemeDialogOpen || isSettingsDialogOpen || isStatusLineDialogOpen || isMemoryDialogOpen || isModelDialogOpen || isTrustDialogOpen || activeArenaDialog !== null || isPermissionsDialogOpen || isAuthDialogOpen || isAuthenticating || isEditorDialogOpen || showIdeRestartPrompt || isSubagentCreateDialogOpen || isAgentsManagerDialogOpen || isSkillsManagerDialogOpen || isMcpDialogOpen || isHooksDialogOpen || isStatsDialogOpen || isRemoteDialogOpen || isApprovalModeDialogOpen || isEffortDialogOpen || isOutputStyleDialogOpen || isResumeDialogOpen || isDeleteDialogOpen || isHelpDialogOpen || isExtensionsManagerDialogOpen || isRewindSelectorOpen || isDiffDialogOpen || isSkillReviewDialogOpen || bgTasksDialogOpen || showWorktreeExitDialog || !!(settings.corruptedPath && !settings.corruptionDialogDismissed);
|
|
53894
53959
|
dialogsVisibleRef.current = dialogsVisible;
|
|
53895
|
-
const
|
|
53960
|
+
const agentSessionActiveTheme = themeManager.getActiveTheme();
|
|
53961
|
+
const agentSessionTheme = agentSessionActiveTheme.type === "light" ? "light" : "dark";
|
|
53962
|
+
const agentSessionThemeName = agentSessionActiveTheme.name;
|
|
53896
53963
|
const agentSessionLanguage = getCurrentLanguage();
|
|
53897
53964
|
const agentSessionTurnFailed = streamingState === "idle" /* Idle */ && (historyManager.history.at(-1)?.type === "error" || pendingLlmHistoryItems.some((item) => item.type === "error"));
|
|
53898
53965
|
const agentSessionIsWorking = isProcessing || hasExecutingTool || Boolean(activePtyId);
|
|
@@ -53909,11 +53976,13 @@ ${currentText}` : popped.modelText
|
|
|
53909
53976
|
cwd: config.getTargetDir(),
|
|
53910
53977
|
model: currentModel,
|
|
53911
53978
|
theme: agentSessionTheme,
|
|
53979
|
+
themeName: agentSessionThemeName,
|
|
53912
53980
|
language: agentSessionLanguage,
|
|
53913
53981
|
lastResult: agentSessionTurnFailed ? "failed" : void 0
|
|
53914
53982
|
});
|
|
53915
53983
|
}, [
|
|
53916
53984
|
agentSessionTheme,
|
|
53985
|
+
agentSessionThemeName,
|
|
53917
53986
|
agentSessionLanguage,
|
|
53918
53987
|
agentSessionTurnFailed,
|
|
53919
53988
|
agentSessionIsWorking,
|