@organizaone/o1-code 0.21.2 → 0.21.5
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/chunks/{MaxSizedBox-BDVXDUGY.js → MaxSizedBox-SU4HCQSJ.js} +17 -17
- package/chunks/{StandaloneSessionPicker-TVOJJUHC.js → StandaloneSessionPicker-TP4U5KWK.js} +33 -33
- package/chunks/{acp-subagent-executor-WWYSUVDL.js → acp-subagent-executor-VN5UYKRV.js} +19 -19
- package/chunks/{acpAgent-33UXJPQP.js → acpAgent-HHY5HU4M.js} +59 -59
- package/chunks/{agent-FMHCYV5R.js → agent-ULHGN4TH.js} +9 -9
- package/chunks/{agent-headless-W5YX7TBY.js → agent-headless-XHN5VUEO.js} +9 -9
- package/chunks/{all-providers-DWY3CUMS.js → all-providers-Q32X3OAQ.js} +2 -2
- package/chunks/{anthropicContentGenerator-YYGTZUGF.js → anthropicContentGenerator-QDRGYQDB.js} +5 -5
- package/chunks/{bridge-BZBBRX5Y.js → bridge-HAM6W2PR.js} +19 -19
- package/chunks/{chunk-USU55VZU.js → chunk-2FOOVYBF.js} +2 -2
- package/chunks/{chunk-MR6QBWSU.js → chunk-2WDPNP36.js} +1 -1
- package/chunks/{chunk-HZTDCVG5.js → chunk-2YKAXZ2Z.js} +2 -2
- package/chunks/{chunk-CFUJXVRB.js → chunk-34FJNONT.js} +3 -3
- package/chunks/{chunk-DZZBQ24V.js → chunk-3WC3PWGH.js} +3 -3
- package/chunks/{chunk-OOLBYOKF.js → chunk-4IYK3VTX.js} +1 -1
- package/chunks/{chunk-AVKRSELA.js → chunk-4TOOWZCQ.js} +1 -1
- package/chunks/{chunk-JCD2ECGQ.js → chunk-4ZQ3UJON.js} +4 -4
- package/chunks/{chunk-5LV5NUUX.js → chunk-573HRXBN.js} +1 -1
- package/chunks/{chunk-PYVCGJFV.js → chunk-5DD4XDIO.js} +1 -1
- package/chunks/{chunk-4VGQKFTJ.js → chunk-5JMHQIDF.js} +2 -2
- package/chunks/{chunk-BW4XNKSR.js → chunk-5KX7XCGS.js} +13 -13
- package/chunks/{chunk-6KOVYWMV.js → chunk-6F3T6GCN.js} +5 -5
- package/chunks/{chunk-MOTACAIQ.js → chunk-6P4PKI7C.js} +1 -1
- package/chunks/{chunk-2EFFEOP5.js → chunk-6VF7EU56.js} +20 -12
- package/chunks/{chunk-N4TE7U5S.js → chunk-7NUQOGKE.js} +1 -1
- package/chunks/{chunk-EOCJTIO2.js → chunk-7QQ4CFWY.js} +5 -5
- package/chunks/{chunk-JJH3H37Q.js → chunk-7SCZ63M6.js} +2 -2
- package/chunks/{chunk-2MX5WB7I.js → chunk-A6DDWLZ5.js} +5 -5
- package/chunks/{chunk-6OZIC33H.js → chunk-ATQGDGVO.js} +2 -2
- package/chunks/{chunk-A3IITA3Y.js → chunk-B32I6PBY.js} +719 -668
- package/chunks/{chunk-LVCMQBPV.js → chunk-BN4QAFGN.js} +3 -3
- package/chunks/{chunk-WFOB5XRW.js → chunk-BP2EX2GK.js} +2 -2
- package/chunks/{chunk-Q4J6VZNO.js → chunk-BULRILP2.js} +4 -4
- package/chunks/{chunk-5352FLO6.js → chunk-BVGND6XL.js} +2 -2
- package/chunks/{chunk-ANBZIZRJ.js → chunk-CWNKBQK7.js} +1 -1
- package/chunks/{chunk-EFJLBHZ4.js → chunk-DH6EN3DQ.js} +1 -1
- package/chunks/{chunk-65C47VHT.js → chunk-DS2266LD.js} +3 -3
- package/chunks/{chunk-VLARQWWT.js → chunk-EDPS3FF2.js} +13 -13
- package/chunks/{chunk-7OIDYCHT.js → chunk-EZXKUGDV.js} +1 -1
- package/chunks/{chunk-6HUYUVVW.js → chunk-FFVBQAOI.js} +48 -48
- package/chunks/{chunk-SYGSIMBB.js → chunk-FN2PCMQU.js} +8 -8
- package/chunks/{chunk-TN3RCPTP.js → chunk-FWDUYDO3.js} +3 -3
- package/chunks/{chunk-7NKAI5NF.js → chunk-G5FN6A3O.js} +7 -7
- package/chunks/{chunk-SHOK4JXO.js → chunk-GCP7RBQU.js} +2 -2
- package/chunks/{chunk-7L4J4WZM.js → chunk-GMKBSHSE.js} +4 -4
- package/chunks/{chunk-RGOISHNS.js → chunk-GPE7USUE.js} +1 -1
- package/chunks/{chunk-VDSY3ODQ.js → chunk-HIMOZPLA.js} +1 -1
- package/chunks/{chunk-KX5A3ZL7.js → chunk-HINYEUDQ.js} +3 -3
- package/chunks/{chunk-FKDTCJEB.js → chunk-HIZP2HEY.js} +1 -1
- package/chunks/{chunk-FVXCJ7O5.js → chunk-HU6ONUSW.js} +10 -10
- package/chunks/{chunk-CUIEW2DO.js → chunk-HY6XQBQP.js} +5 -5
- package/chunks/{chunk-53I775WU.js → chunk-I5G3FFPK.js} +1 -1
- package/chunks/{chunk-5LEDICGK.js → chunk-IFQBI2KG.js} +2 -2
- package/chunks/{chunk-R5DTGEJC.js → chunk-J3IOXMRN.js} +7 -7
- package/chunks/{chunk-MQCDSDGS.js → chunk-J5B2Y7OM.js} +1 -1
- package/chunks/{chunk-JX6KBOLC.js → chunk-JC5KPPBA.js} +1 -1
- package/chunks/{chunk-YYK7LIW3.js → chunk-JLTEULJU.js} +1 -1
- package/chunks/{chunk-4U6DXSYR.js → chunk-KXD2AJZC.js} +3 -3
- package/chunks/{chunk-BBS5EK3G.js → chunk-KZGLPXWQ.js} +2 -2
- package/chunks/{chunk-4RMUJ4EW.js → chunk-L6B62OHV.js} +2 -2
- package/chunks/{chunk-X5TVKUTT.js → chunk-L72OGYSB.js} +3 -3
- package/chunks/{chunk-QXPDXX7R.js → chunk-LGJHDSPM.js} +3 -3
- package/chunks/{chunk-7VMW7TZU.js → chunk-LGMJPCDH.js} +2 -2
- package/chunks/{chunk-XW2PY5FF.js → chunk-MHDULU2E.js} +1 -1
- package/chunks/{chunk-67ALOILQ.js → chunk-MKA7BWMJ.js} +2 -2
- package/chunks/{chunk-XF26RRKO.js → chunk-OFLC6D2X.js} +1 -1
- package/chunks/{chunk-2AVSJ6YM.js → chunk-OQKXVSEF.js} +1 -1
- package/chunks/{chunk-H5A66Y7N.js → chunk-PCNTHGKA.js} +1 -1
- package/chunks/{chunk-CCOAJ47J.js → chunk-PM5SLRCF.js} +7 -7
- package/chunks/{chunk-ZSKV65PM.js → chunk-QEEO7JQ5.js} +2 -2
- package/chunks/{chunk-B6CUAZPB.js → chunk-QGEQIPZH.js} +3 -3
- package/chunks/{chunk-I4TPYOCC.js → chunk-QWHAOOJN.js} +2 -2
- package/chunks/{chunk-Y7PM2TUS.js → chunk-QZ4M352N.js} +5 -5
- package/chunks/{chunk-Y5APYUGL.js → chunk-RCBEU2XC.js} +2 -2
- package/chunks/{chunk-B3HD37FG.js → chunk-S32RVOL2.js} +1 -1
- package/chunks/{chunk-ZG6EFU5F.js → chunk-SENOCQJJ.js} +2 -2
- package/chunks/{chunk-42SRSP6X.js → chunk-SPC5HVSD.js} +1 -1
- package/chunks/{chunk-IJZCC6FB.js → chunk-T6H47EQY.js} +4 -4
- package/chunks/{chunk-WFU7YVXW.js → chunk-T775SAII.js} +2 -2
- package/chunks/{chunk-VPHE2AYS.js → chunk-TADRPMGC.js} +3 -3
- package/chunks/{chunk-T74KQREN.js → chunk-TBQZYPU2.js} +1 -1
- package/chunks/{chunk-ZWZG7LCJ.js → chunk-TFJG3BJ2.js} +5 -5
- package/chunks/{chunk-7VJCP57S.js → chunk-UMC3TRX3.js} +1 -1
- package/chunks/{chunk-ZUKNLRKN.js → chunk-UN4MXFDP.js} +1 -1
- package/chunks/{chunk-4UBPNICF.js → chunk-UVWX7EN3.js} +30 -30
- package/chunks/{chunk-AG4TACE2.js → chunk-V5KWWBKF.js} +1 -1
- package/chunks/{chunk-5UCRRIQI.js → chunk-VJXSMATF.js} +2 -2
- package/chunks/{chunk-Z6AUHEOD.js → chunk-VN7625CN.js} +2 -2
- package/chunks/{chunk-LRHUT6ZW.js → chunk-VUIDKECZ.js} +5 -5
- package/chunks/{chunk-PFPAR6H6.js → chunk-VXM4ULU3.js} +3 -3
- package/chunks/{chunk-U6YNAORX.js → chunk-WC5NJRJO.js} +4 -4
- package/chunks/{chunk-KUSJLQ36.js → chunk-XI7IFJGO.js} +1 -1
- package/chunks/{chunk-4FUZP37P.js → chunk-YSOP3ENC.js} +1 -1
- package/chunks/{chunk-LQEJNY2D.js → chunk-YZRATKOH.js} +2 -2
- package/chunks/{chunk-JMUY4N4N.js → chunk-ZKRYMA6W.js} +3 -3
- package/chunks/{chunk-AU23HO76.js → chunk-ZXBRMXUR.js} +2 -2
- package/chunks/{codex-subagent-executor-22DCCKLS.js → codex-subagent-executor-VZ75NQUI.js} +19 -19
- package/chunks/{contextCommand-3Y7UYNLA.js → contextCommand-PZ2HTQXJ.js} +19 -19
- package/chunks/{core-runtime-QX46OTID.js → core-runtime-JK5F3OZ4.js} +17 -17
- package/chunks/{create-sub-session-QIPYII3U.js → create-sub-session-5OTPBP5T.js} +18 -18
- package/chunks/{daemon-git-worktree-guard-EER7IXJR.js → daemon-git-worktree-guard-UE2OZNJD.js} +17 -17
- package/chunks/{daemon-status-provider-6B2INSNO.js → daemon-status-provider-WGAOUGXF.js} +23 -23
- package/chunks/{daemon-trust-policy-YFED56MX.js → daemon-trust-policy-RLODA6A7.js} +23 -23
- package/chunks/{daemon-trust-policy-monitor-TDJXPHDQ.js → daemon-trust-policy-monitor-BCFOZORR.js} +23 -23
- package/chunks/{deferred-core-runtime-EAGMS7UC.js → deferred-core-runtime-B2NSLFG6.js} +17 -17
- package/chunks/{edit-IZNYORSW.js → edit-7KIKQCOH.js} +11 -11
- package/chunks/{enterPlanMode-PLUMR72A.js → enterPlanMode-S7FPV7PD.js} +9 -9
- package/chunks/{environment-RCU5YMO4.js → environment-XQLH4MFD.js} +19 -19
- package/chunks/{errors-6F6NCTEJ.js → errors-PKCA5AAQ.js} +19 -19
- package/chunks/{execution-tool-KLZJR3ZW.js → execution-tool-6HRTHHHK.js} +11 -11
- package/chunks/{execution-worker-AHXOJ2QU.js → execution-worker-PUS2RQOO.js} +14 -14
- package/chunks/{exitPlanMode-2QS7S74N.js → exitPlanMode-ZTWWF3WU.js} +9 -9
- package/chunks/{fast-path-547GJHU2.js → fast-path-JP7DLLHZ.js} +2 -2
- package/chunks/{foreground-runner-666PD6TD.js → foreground-runner-ESOCFK2K.js} +29 -43
- package/chunks/{glob-VE4ZHGHR.js → glob-3R52EFHF.js} +9 -9
- package/chunks/{goal-tools-WDCBGRVN.js → goal-tools-SUXI6WFI.js} +9 -9
- package/chunks/{handleAutoUpdate-4DCUM7XB.js → handleAutoUpdate-H4BPM23B.js} +20 -20
- package/chunks/{i18n-RU6ORTDJ.js → i18n-3SOJHV2H.js} +18 -18
- package/chunks/{initializer-JAA34CRP.js → initializer-ICVRJ72L.js} +23 -23
- package/chunks/{installationInfo-AFGMNVLD.js → installationInfo-N7VCBNOK.js} +17 -17
- package/chunks/{list-JSG6PCP3.js → list-K6HV6EIW.js} +25 -25
- package/chunks/{llm-KSWOKF5B.js → llm-PI6CNWOJ.js} +48 -48
- package/chunks/{llm-content-generator-6KI5CFTE.js → llm-content-generator-E3N6JKGZ.js} +4 -4
- package/chunks/{loadedSettingsAdapter-ATW225PB.js → loadedSettingsAdapter-2YGQHZRC.js} +23 -23
- package/chunks/{local-execution-environment-IDDT2M2C.js → local-execution-environment-3YOJ24ZO.js} +14 -14
- package/chunks/{loggingContentGenerator-TGNGGLS2.js → loggingContentGenerator-KPMS7XOB.js} +9 -9
- package/chunks/{managed-npm-update-554JTDGH.js → managed-npm-update-WFP4CL46.js} +17 -17
- package/chunks/{mcp-D66PPBKT.js → mcp-KBSACFAE.js} +23 -23
- package/chunks/{model-call-collection-XDGQVFED.js → model-call-collection-Q26R7CSH.js} +1 -1
- package/chunks/{model-configuration-QQUX3222.js → model-configuration-3OFIEDKK.js} +24 -24
- package/chunks/{modelConfigUtils-LE5NFCQV.js → modelConfigUtils-PKMMDRV2.js} +19 -19
- package/chunks/{monitor-TUTPBOGA.js → monitor-7L6OWATQ.js} +9 -9
- package/chunks/{nonInteractiveCli-LH2M5UYM.js → nonInteractiveCli-YHWASKJD.js} +51 -51
- package/chunks/{nonInteractiveToolExecutor-HP6LCWIS.js → nonInteractiveToolExecutor-U4XEH4P3.js} +10 -10
- package/chunks/{notebook-edit-X5RH7X2W.js → notebook-edit-FZAEAM5W.js} +10 -10
- package/chunks/{omni-UDBV6XJ2.js → omni-UUFRQ6W6.js} +9 -9
- package/chunks/{openaiContentGenerator-BIMPREY2.js → openaiContentGenerator-3ZHSZ5K5.js} +6 -6
- package/chunks/{openaiResponsesContentGenerator-2UWE4XZ7.js → openaiResponsesContentGenerator-VEE4KFHW.js} +4 -4
- package/chunks/{processUtils-LNTMNIJA.js → processUtils-7JBYCJWE.js} +2 -2
- package/chunks/{prompt-terminal-ledger-ZOB4EXRB.js → prompt-terminal-ledger-ZI5BAXFX.js} +18 -18
- package/chunks/{pt-QYD5TZDW.js → pt-F7AYPRBY.js} +9 -0
- package/chunks/{pty-host-process-PKCVFICX.js → pty-host-process-Y4BPXZFM.js} +2 -2
- package/chunks/{reactive-degrade-WA37W6WX.js → reactive-degrade-BLSKXWLX.js} +8 -8
- package/chunks/{read-file-ODAOIZD6.js → read-file-W3UB2SUO.js} +1 -1
- package/chunks/{resumeHistoryUtils-OP3JIR3F.js → resumeHistoryUtils-H3HSHGMD.js} +21 -21
- package/chunks/{ripGrep-4QTNX2IT.js → ripGrep-4PTAFGVR.js} +1 -1
- package/chunks/{run-o1-code-serve-PUAAKWTZ.js → run-o1-code-serve-SK2TQYXR.js} +32 -32
- package/chunks/{sandboxConfig-6EWR3CLN.js → sandboxConfig-37DZKHCS.js} +17 -17
- package/chunks/{scheduled-tasks-O73N6IJA.js → scheduled-tasks-GUU5IH3A.js} +22 -22
- package/chunks/{scheduler-UDQCSRWR.js → scheduler-2F7WEPGI.js} +19 -19
- package/chunks/{serve-HGGL7PBN.js → serve-ZFWGOSBJ.js} +23 -23
- package/chunks/{server-XTQCFLTQ.js → server-JNBE7EGZ.js} +51 -48
- package/chunks/{session-GXW3LDFK.js → session-CZZ5Z6PW.js} +1 -1
- package/chunks/{session-6QQUOQAH.js → session-JKVOQRIV.js} +52 -52
- package/chunks/{session-attachments-root-CSOMMMGL.js → session-attachments-root-7VASYVDZ.js} +17 -17
- package/chunks/{session-pr-refresh-4CWA54NA.js → session-pr-refresh-Z55XVZMX.js} +21 -21
- package/chunks/{settings-3XT77TC7.js → settings-R47G25MX.js} +22 -22
- package/chunks/{shell-OXJHBBMB.js → shell-FQZMP2TR.js} +9 -9
- package/chunks/{skill-FN5NE57Y.js → skill-4JQIMS5G.js} +1 -1
- package/chunks/{skill-settings-FOQDR37K.js → skill-settings-E6PPIUXT.js} +22 -22
- package/chunks/{spawnChannel-R5RSYYFA.js → spawnChannel-JSRLL75N.js} +18 -18
- package/chunks/{standalone-update-2I2ODBQN.js → standalone-update-TPZ5YNRK.js} +19 -19
- package/chunks/{startInteractiveUI-UJDIVINO.js → startInteractiveUI-CQ2K6W4T.js} +241 -108
- package/chunks/{supervisor-runner-JHRQ2FCR.js → supervisor-runner-YD27MXSJ.js} +3 -3
- package/chunks/{team-create-JHA7AAPL.js → team-create-7AHL54RG.js} +9 -9
- package/chunks/{team-plan-approval-MWCNUWY6.js → team-plan-approval-Q4A2RPY7.js} +9 -9
- package/chunks/{terminal-image-renderer-HC6LQQRR.js → terminal-image-renderer-M2ZQZLCI.js} +17 -17
- package/chunks/{theme-manager-4KVHVCEL.js → theme-manager-Q7I4UYHB.js} +17 -17
- package/chunks/{tool-result-media-6HYDHZAI.js → tool-result-media-D3Y7O4WE.js} +9 -9
- package/chunks/{tool-search-OXGLO7JL.js → tool-search-4OLCMSWT.js} +1 -1
- package/chunks/{total-session-admission-NQGBNMS7.js → total-session-admission-ZCQEVNTK.js} +19 -19
- package/chunks/{trustedFolders-HMPVVJF3.js → trustedFolders-QPF3XHXU.js} +18 -18
- package/chunks/{update-relaunch-UYXPY4RH.js → update-relaunch-IH2H5PCU.js} +5 -5
- package/chunks/{updateCheck-5XOYJ2D2.js → updateCheck-YCNS54E6.js} +19 -19
- package/chunks/{upload-config-DKWZLTOV.js → upload-config-R4VMYGOB.js} +6 -6
- package/chunks/{useAutoAcceptIndicator-ACE36D5U.js → useAutoAcceptIndicator-4HP3J7A4.js} +25 -25
- package/chunks/{validateNonInterActiveAuth-JKEPMGWI.js → validateNonInterActiveAuth-JBTTVPTP.js} +48 -48
- package/chunks/{version-Z7S2XBUO.js → version-LLKOCQSH.js} +1 -1
- package/chunks/{web-fetch-NLTFPQUA.js → web-fetch-IUGELNYW.js} +1 -1
- package/chunks/{web-search-TQVLTY4C.js → web-search-K5RJ3JF2.js} +7 -7
- package/chunks/{workflow-SURVTPFI.js → workflow-BA5LLVP3.js} +10 -10
- package/chunks/{workspace-providers-status-RKOC7JVY.js → workspace-providers-status-APHSM3KW.js} +27 -27
- package/chunks/{workspace-registration-store-O2JTIXOI.js → workspace-registration-store-ABVFM3W3.js} +1 -1
- package/chunks/{workspace-registry-4VQA2AR5.js → workspace-registry-JBSKGAAH.js} +19 -19
- package/chunks/{workspace-runtime-coordinator-R4ETFSMB.js → workspace-runtime-coordinator-JRENHSVA.js} +19 -19
- package/chunks/{workspace-service-6N5JXBSK.js → workspace-service-6FYIPCVT.js} +26 -26
- package/chunks/{workspace-skills-status-Z4ZPGQGU.js → workspace-skills-status-KATMXIQ4.js} +23 -23
- package/chunks/{workspace-trust-reconciler-3OIA6XMY.js → workspace-trust-reconciler-3VWEKO73.js} +25 -25
- package/chunks/{write-file-AEMWOQLT.js → write-file-FLNYRCBW.js} +11 -11
- package/chunks/{zh-TW-O23FCREL.js → zh-TW-EGHYQY24.js} +1 -0
- package/chunks/{zh-6TC2VRKR.js → zh-U2XVEBDV.js} +1 -0
- package/chunks/{zoom-image-2YB7O452.js → zoom-image-7RRE7WBP.js} +1 -1
- package/cli.js +23 -20
- package/execution-worker.js +1 -1
- package/export-transcript-document.js +1 -1
- package/locales/pt.js +12 -0
- package/locales/zh-TW.js +1 -0
- package/locales/zh.js +1 -0
- package/package.json +2 -2
- package/release-notes.json +15 -0
- package/web-shell/assets/{abnfDiagram-VCTEODGH-GfpzcpVT.js → abnfDiagram-VCTEODGH-COCQodLs.js} +1 -1
- package/web-shell/assets/{arc-ErguBx-Q.js → arc-BiH5E4LU.js} +1 -1
- package/web-shell/assets/{architectureDiagram-5GKGNRK7-DiKJO95i.js → architectureDiagram-5GKGNRK7-BSJprUk9.js} +1 -1
- package/web-shell/assets/{blockDiagram-NRAW4CY4-CdWP9NSQ.js → blockDiagram-NRAW4CY4-K2tLOCqY.js} +1 -1
- package/web-shell/assets/{c4Diagram-UCG6FXSJ-C3cpgGGt.js → c4Diagram-UCG6FXSJ-Xh-UK8N1.js} +1 -1
- package/web-shell/assets/channel-Do1XLStu.js +1 -0
- package/web-shell/assets/{chunk-2Q5K7J3B-o4MSKYwx.js → chunk-2Q5K7J3B-rz6DsNnX.js} +1 -1
- package/web-shell/assets/{chunk-5VM5RSS4-B9zWEEyQ.js → chunk-5VM5RSS4-GhCUOtdy.js} +1 -1
- package/web-shell/assets/{chunk-F27PBJKO-C3DMZjvh.js → chunk-F27PBJKO-CKuit_56.js} +1 -1
- package/web-shell/assets/{chunk-G27WJ6UU-5jtIqDsJ.js → chunk-G27WJ6UU-D0U2R9R1.js} +1 -1
- package/web-shell/assets/{chunk-JWPE2WC7-CRzclnDb.js → chunk-JWPE2WC7-DqTl2VmR.js} +1 -1
- package/web-shell/assets/{chunk-LCL6LL3I-DB2DGYlA.js → chunk-LCL6LL3I-7ayhcfK7.js} +1 -1
- package/web-shell/assets/{chunk-POPQ4Y6H-BYeXEqzE.js → chunk-POPQ4Y6H-DKK-l9pm.js} +1 -1
- package/web-shell/assets/{chunk-SVP7TREG-CRnQIqFY.js → chunk-SVP7TREG-BQ5-wOF0.js} +1 -1
- package/web-shell/assets/{chunk-XXDRQBXY-77fC2yhO.js → chunk-XXDRQBXY-B_cd7BPx.js} +1 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-Ddllt15z.js +1 -0
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-Ddllt15z.js +1 -0
- package/web-shell/assets/{cose-bilkent-JH36ORCC-D8wAcp8A.js → cose-bilkent-JH36ORCC-CAiLiU7V.js} +1 -1
- package/web-shell/assets/{cynefin-OW5HDTMX-BJ8GE9ke.js → cynefin-OW5HDTMX-BHVuDWAy.js} +1 -1
- package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-GkGs0eKI.js → cynefinDiagram-5FMLGOSQ-B7RgCVNb.js} +1 -1
- package/web-shell/assets/{dagre-3AP2YEHR-BpEWEW5z.js → dagre-3AP2YEHR-D9FS6luN.js} +1 -1
- package/web-shell/assets/{diagram-S7CK7UJ4-BlxnlgRc.js → diagram-S7CK7UJ4-zEeuJGre.js} +1 -1
- package/web-shell/assets/{diagram-UQ7AKVKN-C7GHsWL9.js → diagram-UQ7AKVKN-Cpr5Jk4R.js} +1 -1
- package/web-shell/assets/{diagram-VSXAHHWV-D3hpKVLF.js → diagram-VSXAHHWV-uJPNDDma.js} +1 -1
- package/web-shell/assets/{diagram-VX7I27RA-BC6MiCDD.js → diagram-VX7I27RA-C0-lIAbw.js} +1 -1
- package/web-shell/assets/{diagram-Z3DM3KII-CZa3Bkqs.js → diagram-Z3DM3KII-D_WiclBf.js} +1 -1
- package/web-shell/assets/{ebnfDiagram-PWID7BFC-CLsllB3m.js → ebnfDiagram-PWID7BFC-yi7C0Q-9.js} +1 -1
- package/web-shell/assets/{erDiagram-SSCWMZ5O-CQddqNTI.js → erDiagram-SSCWMZ5O-C3zZTYcc.js} +1 -1
- package/web-shell/assets/{flowDiagram-A5DVABFB-BmiG6_Vf.js → flowDiagram-A5DVABFB-CH7vBrxS.js} +1 -1
- package/web-shell/assets/{ganttDiagram-EL5Y4UJY-DG4Kk0LH.js → ganttDiagram-EL5Y4UJY-BUbOBENO.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-D-OhJSqn.js → gitGraphDiagram-WWUBYQGX-rHWuYy3s.js} +1 -1
- package/web-shell/assets/{index-sGrLT23x.js → index-CP-3n0KK.js} +4 -4
- package/web-shell/assets/{index-B0JFcQN6.js → index-DX6oSKFm.js} +1 -1
- package/web-shell/assets/{infoDiagram-RXCK75RN-Bt2IvCvf.js → infoDiagram-RXCK75RN-Da23wWox.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-5VMMS53U-WmAboGRg.js → ishikawaDiagram-5VMMS53U-D3bWeABP.js} +1 -1
- package/web-shell/assets/{journeyDiagram-EYS64GPL-0a2T4kXU.js → journeyDiagram-EYS64GPL-D8_rYtJN.js} +1 -1
- package/web-shell/assets/{kanban-definition-3QL26DDD-DODBMpgZ.js → kanban-definition-3QL26DDD-D-RCJhRc.js} +1 -1
- package/web-shell/assets/{layout-B_JdvI-u.js → layout-BR5uC2Yl.js} +1 -1
- package/web-shell/assets/{linear-xHqgirig.js → linear--2gekFRI.js} +1 -1
- package/web-shell/assets/{mermaid.core-C5Wiyd_A.js → mermaid.core-BXiRaLkg.js} +6 -6
- package/web-shell/assets/{mindmap-definition-FBJOCRG2-82b9AN-1.js → mindmap-definition-FBJOCRG2-Ca2xMIbh.js} +1 -1
- package/web-shell/assets/{pegDiagram-XKGWAZYB-DwWPrcnw.js → pegDiagram-XKGWAZYB-tFZsMAqF.js} +1 -1
- package/web-shell/assets/{pieDiagram-E7YTZNPT-DejgyGjA.js → pieDiagram-E7YTZNPT-DMuoAkC8.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-AXDQQJYC-B9FLrff9.js → quadrantDiagram-AXDQQJYC-d04LyzUm.js} +1 -1
- package/web-shell/assets/{railroadDiagram-O6MQD6OU-Cn1LIRoy.js → railroadDiagram-O6MQD6OU-DkPIBPIK.js} +1 -1
- package/web-shell/assets/{requirementDiagram-EFPCY7ZU-6y8h-taP.js → requirementDiagram-EFPCY7ZU-DRqcud--.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-P5KCCOFB-CyQ6-9X9.js → sankeyDiagram-P5KCCOFB-CkCaa1Gw.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-JvE1JsEt.js → sequenceDiagram-WJ2MYXX4-Cbu6abLm.js} +1 -1
- package/web-shell/assets/{sizeCapture-X5ZJPWSS-DBoI4pWa.js → sizeCapture-X5ZJPWSS-9VhGitc0.js} +1 -1
- package/web-shell/assets/{stateDiagram-HBIQ2CUA-BARN0L2r.js → stateDiagram-HBIQ2CUA-aNQhzPd0.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-6ss-fTD3.js +1 -0
- package/web-shell/assets/{swimlanes-XN3QIQJK-CifCu0R8.js → swimlanes-XN3QIQJK-nPL9Zzrp.js} +1 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-B4fn5O6-.js +8 -0
- package/web-shell/assets/{timeline-definition-24CTP7MA-DdyCazJx.js → timeline-definition-24CTP7MA-B_9JC2QK.js} +1 -1
- package/web-shell/assets/{vennDiagram-4TSXK5OY-DzC5W58T.js → vennDiagram-4TSXK5OY-DDOYzZme.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-VM6X3IG4-eoAJEsbS.js → wardleyDiagram-VM6X3IG4-JhSGxhg5.js} +1 -1
- package/web-shell/assets/{xychartDiagram-S5SC5T6Z-DuBAVjyu.js → xychartDiagram-S5SC5T6Z-DmRpSXqq.js} +1 -1
- package/web-shell/index.html +1 -1
- package/web-shell/sw.js +1 -1
- package/web-shell/assets/channel-Cg-ZeYBO.js +0 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-BD8WT9JD.js +0 -1
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-BD8WT9JD.js +0 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-CVlfiijp.js +0 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-DXpMpp5w.js +0 -8
|
@@ -2,23 +2,23 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
startPostRenderPrefetches
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-HU6ONUSW.js";
|
|
6
6
|
import {
|
|
7
7
|
useAutoAcceptIndicator
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-BP2EX2GK.js";
|
|
9
9
|
import {
|
|
10
10
|
MAX_ACCEPTED_BACKLOG,
|
|
11
11
|
PeerMessaging,
|
|
12
12
|
classifyApiError,
|
|
13
13
|
fireSessionDeleteHook
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-SPC5HVSD.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-4TOOWZCQ.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-J3IOXMRN.js";
|
|
35
35
|
import {
|
|
36
36
|
StreamJsonOutputAdapter
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-ZKRYMA6W.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-UVWX7EN3.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-B32I6PBY.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-QWHAOOJN.js";
|
|
112
112
|
import {
|
|
113
113
|
AboutBox,
|
|
114
114
|
BaseSelectionList,
|
|
@@ -210,13 +210,13 @@ import {
|
|
|
210
210
|
useUIActions,
|
|
211
211
|
useUIState,
|
|
212
212
|
useVirtualViewport
|
|
213
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-5KX7XCGS.js";
|
|
214
214
|
import {
|
|
215
215
|
KeypressProvider,
|
|
216
216
|
useFocus,
|
|
217
217
|
useKeypress,
|
|
218
218
|
useKeypressContext
|
|
219
|
-
} from "./chunk-
|
|
219
|
+
} from "./chunk-XI7IFJGO.js";
|
|
220
220
|
import {
|
|
221
221
|
BRAND,
|
|
222
222
|
MAX_EXTENSION_OWNER_LABEL_WIDTH,
|
|
@@ -226,7 +226,7 @@ import {
|
|
|
226
226
|
getEffectiveSupportedModes,
|
|
227
227
|
repoDocUrl,
|
|
228
228
|
skillOriginLabel
|
|
229
|
-
} from "./chunk-
|
|
229
|
+
} from "./chunk-BN4QAFGN.js";
|
|
230
230
|
import {
|
|
231
231
|
BEL,
|
|
232
232
|
OSC_PREFIX,
|
|
@@ -239,7 +239,7 @@ import {
|
|
|
239
239
|
oscKittyNotify,
|
|
240
240
|
saveClipboardImage,
|
|
241
241
|
writeOsc52
|
|
242
|
-
} from "./chunk-
|
|
242
|
+
} from "./chunk-PCNTHGKA.js";
|
|
243
243
|
import "./chunk-AHKE26WU.js";
|
|
244
244
|
import {
|
|
245
245
|
MaxSizedBox,
|
|
@@ -267,14 +267,14 @@ import {
|
|
|
267
267
|
showsToolLabel,
|
|
268
268
|
useStreamingContext,
|
|
269
269
|
waitForGoalRuntime
|
|
270
|
-
} from "./chunk-
|
|
270
|
+
} from "./chunk-QZ4M352N.js";
|
|
271
271
|
import {
|
|
272
272
|
contextUsageLabel,
|
|
273
273
|
formatDuration,
|
|
274
274
|
formatPercentageUsed,
|
|
275
275
|
formatRelativeTime,
|
|
276
276
|
formatTokenCount
|
|
277
|
-
} from "./chunk-
|
|
277
|
+
} from "./chunk-7NUQOGKE.js";
|
|
278
278
|
import {
|
|
279
279
|
extendedTheme,
|
|
280
280
|
theme
|
|
@@ -304,11 +304,11 @@ import {
|
|
|
304
304
|
} from "./chunk-VFLUNXD6.js";
|
|
305
305
|
import {
|
|
306
306
|
setUpdateHandler
|
|
307
|
-
} from "./chunk-
|
|
307
|
+
} from "./chunk-YZRATKOH.js";
|
|
308
308
|
import {
|
|
309
309
|
isHistoryItemVisibleAfterRestore
|
|
310
310
|
} from "./chunk-64WBFX5X.js";
|
|
311
|
-
import "./chunk-
|
|
311
|
+
import "./chunk-5JMHQIDF.js";
|
|
312
312
|
import {
|
|
313
313
|
AUTO_THEME_NAME,
|
|
314
314
|
DEFAULT_THEME,
|
|
@@ -321,12 +321,12 @@ import {
|
|
|
321
321
|
} from "./chunk-U6ZAL4MF.js";
|
|
322
322
|
import {
|
|
323
323
|
relaunchApp
|
|
324
|
-
} from "./chunk-
|
|
324
|
+
} from "./chunk-5DD4XDIO.js";
|
|
325
325
|
import "./chunk-XG36NMOI.js";
|
|
326
326
|
import "./chunk-SPLQKNEP.js";
|
|
327
327
|
import "./chunk-4P64F4DP.js";
|
|
328
|
-
import "./chunk-
|
|
329
|
-
import "./chunk-
|
|
328
|
+
import "./chunk-OQKXVSEF.js";
|
|
329
|
+
import "./chunk-2FOOVYBF.js";
|
|
330
330
|
import "./chunk-7DQWDZUQ.js";
|
|
331
331
|
import "./chunk-KD7GIK2D.js";
|
|
332
332
|
import "./chunk-G4YDGSSX.js";
|
|
@@ -335,22 +335,22 @@ import {
|
|
|
335
335
|
collectInlineImages,
|
|
336
336
|
getInlineImageData
|
|
337
337
|
} from "./chunk-KIN34HCU.js";
|
|
338
|
-
import "./chunk-
|
|
338
|
+
import "./chunk-VXM4ULU3.js";
|
|
339
339
|
import "./chunk-LXUIOY3M.js";
|
|
340
340
|
import {
|
|
341
341
|
requestConsentInteractive,
|
|
342
342
|
requestConsentOrFail
|
|
343
|
-
} from "./chunk-
|
|
343
|
+
} from "./chunk-A6DDWLZ5.js";
|
|
344
344
|
import "./chunk-XZ3MQL2U.js";
|
|
345
345
|
import {
|
|
346
346
|
getErrorMessage as getErrorMessage2
|
|
347
|
-
} from "./chunk-
|
|
347
|
+
} from "./chunk-QGEQIPZH.js";
|
|
348
348
|
import {
|
|
349
349
|
openDashScopeAsrRealtimeStream,
|
|
350
350
|
openVoiceStream,
|
|
351
351
|
openVoiceStreamWithRetry
|
|
352
352
|
} from "./chunk-MTSHGY6F.js";
|
|
353
|
-
import "./chunk-
|
|
353
|
+
import "./chunk-FN2PCMQU.js";
|
|
354
354
|
import "./chunk-LL7XM3LM.js";
|
|
355
355
|
import {
|
|
356
356
|
cpLen,
|
|
@@ -364,7 +364,7 @@ import {
|
|
|
364
364
|
toCodePoints,
|
|
365
365
|
truncateToWidth
|
|
366
366
|
} from "./chunk-PJF3WRYZ.js";
|
|
367
|
-
import "./chunk-
|
|
367
|
+
import "./chunk-YSOP3ENC.js";
|
|
368
368
|
import "./chunk-ZWXTCEPP.js";
|
|
369
369
|
import "./chunk-W2R46PFD.js";
|
|
370
370
|
import {
|
|
@@ -376,16 +376,16 @@ import {
|
|
|
376
376
|
isStreamingVoiceModel,
|
|
377
377
|
resolveVoiceStreamConfig,
|
|
378
378
|
transcribeVoiceAudio
|
|
379
|
-
} from "./chunk-
|
|
379
|
+
} from "./chunk-RCBEU2XC.js";
|
|
380
380
|
import {
|
|
381
381
|
formatUnsupportedVoiceModelMessage,
|
|
382
382
|
isSelectableVoiceModel
|
|
383
|
-
} from "./chunk-
|
|
383
|
+
} from "./chunk-V5KWWBKF.js";
|
|
384
384
|
import "./chunk-TESN7CJW.js";
|
|
385
385
|
import {
|
|
386
386
|
getExtendedSystemInfo
|
|
387
|
-
} from "./chunk-
|
|
388
|
-
import "./chunk-
|
|
387
|
+
} from "./chunk-3WC3PWGH.js";
|
|
388
|
+
import "./chunk-LGMJPCDH.js";
|
|
389
389
|
import "./chunk-LPCPB2S5.js";
|
|
390
390
|
import "./chunk-LD2T7YET.js";
|
|
391
391
|
import "./chunk-QTAUA6ED.js";
|
|
@@ -393,11 +393,11 @@ import {
|
|
|
393
393
|
REASONING_EFFORT_DEFAULT,
|
|
394
394
|
getReasoningEffortsForConfig,
|
|
395
395
|
getReasoningForDisplay
|
|
396
|
-
} from "./chunk-
|
|
397
|
-
import "./chunk-
|
|
396
|
+
} from "./chunk-IFQBI2KG.js";
|
|
397
|
+
import "./chunk-T6H47EQY.js";
|
|
398
398
|
import {
|
|
399
399
|
isInlineModelOverrideAllowed
|
|
400
|
-
} from "./chunk-
|
|
400
|
+
} from "./chunk-VJXSMATF.js";
|
|
401
401
|
import {
|
|
402
402
|
buildHigherDisabled,
|
|
403
403
|
computeWorkspaceSkillListUpdates,
|
|
@@ -411,13 +411,13 @@ import "./chunk-ZCZKKAIG.js";
|
|
|
411
411
|
import {
|
|
412
412
|
createLoadedSettingsAdapter,
|
|
413
413
|
getRawModelProviders
|
|
414
|
-
} from "./chunk-
|
|
414
|
+
} from "./chunk-WC5NJRJO.js";
|
|
415
415
|
import "./chunk-O7MSLRFZ.js";
|
|
416
416
|
import "./chunk-W3YES77O.js";
|
|
417
417
|
import "./chunk-SU6K5JRJ.js";
|
|
418
418
|
import {
|
|
419
419
|
loadMcpApprovals
|
|
420
|
-
} from "./chunk-
|
|
420
|
+
} from "./chunk-HY6XQBQP.js";
|
|
421
421
|
import {
|
|
422
422
|
CORRUPTED_SUFFIX,
|
|
423
423
|
SettingScope,
|
|
@@ -440,7 +440,7 @@ import {
|
|
|
440
440
|
settingExistsInScope,
|
|
441
441
|
validateSettingValue,
|
|
442
442
|
writeOutputLanguageAndRegisterPath
|
|
443
|
-
} from "./chunk-
|
|
443
|
+
} from "./chunk-TFJG3BJ2.js";
|
|
444
444
|
import "./chunk-EDRKBK4B.js";
|
|
445
445
|
import {
|
|
446
446
|
LOGO_ANIMATIONS,
|
|
@@ -451,16 +451,16 @@ import {
|
|
|
451
451
|
pickLogoAnimation,
|
|
452
452
|
renderLogoRows,
|
|
453
453
|
restFrame
|
|
454
|
-
} from "./chunk-
|
|
454
|
+
} from "./chunk-ATQGDGVO.js";
|
|
455
455
|
import "./chunk-2JJLDP4A.js";
|
|
456
456
|
import {
|
|
457
457
|
getCurrentLanguage,
|
|
458
458
|
localizeToolDisplayName,
|
|
459
459
|
t,
|
|
460
460
|
ta
|
|
461
|
-
} from "./chunk-
|
|
461
|
+
} from "./chunk-TADRPMGC.js";
|
|
462
462
|
import "./chunk-Q2V34OV7.js";
|
|
463
|
-
import "./chunk-
|
|
463
|
+
import "./chunk-BVGND6XL.js";
|
|
464
464
|
import "./chunk-MLAF3GLB.js";
|
|
465
465
|
import {
|
|
466
466
|
require_semver
|
|
@@ -473,21 +473,21 @@ import {
|
|
|
473
473
|
reportAgentViewWorkerState,
|
|
474
474
|
sendAgentViewWorkerEvent,
|
|
475
475
|
startAgentViewWorkerHeartbeat
|
|
476
|
-
} from "./chunk-
|
|
476
|
+
} from "./chunk-VUIDKECZ.js";
|
|
477
477
|
import "./chunk-CJ7JDQEG.js";
|
|
478
478
|
import "./chunk-CS4CELQI.js";
|
|
479
479
|
import "./chunk-FMWE3YMM.js";
|
|
480
480
|
import {
|
|
481
481
|
formatVersionLabel,
|
|
482
482
|
getCliVersion
|
|
483
|
-
} from "./chunk-
|
|
483
|
+
} from "./chunk-4IYK3VTX.js";
|
|
484
484
|
import "./chunk-Y75AMWDB.js";
|
|
485
485
|
import "./chunk-FRITN2AG.js";
|
|
486
486
|
import "./chunk-F4S6U26O.js";
|
|
487
487
|
import {
|
|
488
488
|
isWorkspaceTrusted,
|
|
489
489
|
loadTrustedFolders
|
|
490
|
-
} from "./chunk-
|
|
490
|
+
} from "./chunk-CWNKBQK7.js";
|
|
491
491
|
import "./chunk-BHXBXELA.js";
|
|
492
492
|
import "./chunk-MXCWSDSC.js";
|
|
493
493
|
import {
|
|
@@ -531,7 +531,7 @@ import {
|
|
|
531
531
|
subagentGenerator,
|
|
532
532
|
supportsHyperlinks,
|
|
533
533
|
wrapForMultiplexer
|
|
534
|
-
} from "./chunk-
|
|
534
|
+
} from "./chunk-KXD2AJZC.js";
|
|
535
535
|
import "./chunk-MYMATZAY.js";
|
|
536
536
|
import "./chunk-6IFQXZTP.js";
|
|
537
537
|
import {
|
|
@@ -555,23 +555,23 @@ import {
|
|
|
555
555
|
} from "./chunk-AEGEUWVC.js";
|
|
556
556
|
import "./chunk-OJAGNSHH.js";
|
|
557
557
|
import "./chunk-NWCDFCWK.js";
|
|
558
|
-
import "./chunk-
|
|
558
|
+
import "./chunk-QEEO7JQ5.js";
|
|
559
559
|
import "./chunk-32722SNN.js";
|
|
560
560
|
import "./chunk-AGTM6524.js";
|
|
561
|
-
import "./chunk-
|
|
562
|
-
import "./chunk-
|
|
561
|
+
import "./chunk-6F3T6GCN.js";
|
|
562
|
+
import "./chunk-OFLC6D2X.js";
|
|
563
563
|
import "./chunk-ZMZRVR62.js";
|
|
564
564
|
import {
|
|
565
565
|
WORKFLOW_AUTHORING_SKILL_NAME,
|
|
566
566
|
isToolHiddenBehindToolSearch,
|
|
567
567
|
resolveWorkflowAuthoringSurface,
|
|
568
568
|
toolSearchBridgeSentence
|
|
569
|
-
} from "./chunk-
|
|
570
|
-
import "./chunk-
|
|
569
|
+
} from "./chunk-SENOCQJJ.js";
|
|
570
|
+
import "./chunk-LGJHDSPM.js";
|
|
571
571
|
import "./chunk-UW4Q5E5P.js";
|
|
572
|
-
import "./chunk-
|
|
572
|
+
import "./chunk-GPE7USUE.js";
|
|
573
573
|
import "./chunk-F3FKDGHN.js";
|
|
574
|
-
import "./chunk-
|
|
574
|
+
import "./chunk-MHDULU2E.js";
|
|
575
575
|
import "./chunk-UBWL27PO.js";
|
|
576
576
|
import "./chunk-DM6W2QYB.js";
|
|
577
577
|
import "./chunk-UAACCQBD.js";
|
|
@@ -638,7 +638,7 @@ import {
|
|
|
638
638
|
saveWorkflowScript,
|
|
639
639
|
updateSetting,
|
|
640
640
|
validateWorkflowName
|
|
641
|
-
} from "./chunk-
|
|
641
|
+
} from "./chunk-FFVBQAOI.js";
|
|
642
642
|
import "./chunk-WXTAP6NR.js";
|
|
643
643
|
import "./chunk-BZOAEOYF.js";
|
|
644
644
|
import "./chunk-BIDB75DA.js";
|
|
@@ -690,12 +690,12 @@ import "./chunk-TC7UXK4M.js";
|
|
|
690
690
|
import "./chunk-DS3COGEF.js";
|
|
691
691
|
import {
|
|
692
692
|
resolveModelId
|
|
693
|
-
} from "./chunk-
|
|
693
|
+
} from "./chunk-573HRXBN.js";
|
|
694
694
|
import "./chunk-SYMKXR42.js";
|
|
695
695
|
import "./chunk-JOBZWTVK.js";
|
|
696
696
|
import "./chunk-HPQNI3OQ.js";
|
|
697
|
-
import "./chunk-
|
|
698
|
-
import "./chunk-
|
|
697
|
+
import "./chunk-6P4PKI7C.js";
|
|
698
|
+
import "./chunk-2WDPNP36.js";
|
|
699
699
|
import "./chunk-CI2ZHR5C.js";
|
|
700
700
|
import {
|
|
701
701
|
BUILT_IN_OUTPUT_STYLES
|
|
@@ -745,7 +745,7 @@ import "./chunk-6YS3YH6O.js";
|
|
|
745
745
|
import "./chunk-AVCUVYSA.js";
|
|
746
746
|
import "./chunk-6CW53FOJ.js";
|
|
747
747
|
import "./chunk-HX6AICAX.js";
|
|
748
|
-
import "./chunk-
|
|
748
|
+
import "./chunk-L72OGYSB.js";
|
|
749
749
|
import "./chunk-65B6QBMP.js";
|
|
750
750
|
import "./chunk-O4IWNFDK.js";
|
|
751
751
|
import "./chunk-WMJL2XAM.js";
|
|
@@ -769,12 +769,12 @@ import "./chunk-BQAZCJF7.js";
|
|
|
769
769
|
import {
|
|
770
770
|
fetchKeyInfo,
|
|
771
771
|
onLowRateLimit
|
|
772
|
-
} from "./chunk-
|
|
772
|
+
} from "./chunk-VN7625CN.js";
|
|
773
773
|
import "./chunk-TC2TJAOF.js";
|
|
774
774
|
import "./chunk-CP63SY5N.js";
|
|
775
775
|
import {
|
|
776
776
|
resolveReasoningForModel
|
|
777
|
-
} from "./chunk-
|
|
777
|
+
} from "./chunk-S32RVOL2.js";
|
|
778
778
|
import "./chunk-2F3GZ6WG.js";
|
|
779
779
|
import {
|
|
780
780
|
ApiCancelEvent,
|
|
@@ -904,7 +904,7 @@ import {
|
|
|
904
904
|
resolveSavedModelApiKey,
|
|
905
905
|
shouldShowStep,
|
|
906
906
|
withdrawExportedCredential
|
|
907
|
-
} from "./chunk-
|
|
907
|
+
} from "./chunk-HINYEUDQ.js";
|
|
908
908
|
import {
|
|
909
909
|
DEFAULT_TOKEN_LIMIT,
|
|
910
910
|
REASONING_EFFORT_TIERS,
|
|
@@ -914,7 +914,7 @@ import {
|
|
|
914
914
|
} from "./chunk-72EBG4FJ.js";
|
|
915
915
|
import {
|
|
916
916
|
MAINLINE_CODER_MODEL
|
|
917
|
-
} from "./chunk-
|
|
917
|
+
} from "./chunk-7QQ4CFWY.js";
|
|
918
918
|
import "./chunk-LEXKU5FI.js";
|
|
919
919
|
import "./chunk-HDGYCLNB.js";
|
|
920
920
|
import "./chunk-WPZM4XOT.js";
|
|
@@ -924,7 +924,7 @@ import {
|
|
|
924
924
|
import "./chunk-S7GOFMLU.js";
|
|
925
925
|
import "./chunk-RC67CA5Z.js";
|
|
926
926
|
import "./chunk-HHIX6THS.js";
|
|
927
|
-
import "./chunk-
|
|
927
|
+
import "./chunk-I5G3FFPK.js";
|
|
928
928
|
import "./chunk-O6GD6SFV.js";
|
|
929
929
|
import {
|
|
930
930
|
finalizeStartupProfile,
|
|
@@ -934,7 +934,7 @@ import "./chunk-H7HA2YLC.js";
|
|
|
934
934
|
import {
|
|
935
935
|
registerCleanup,
|
|
936
936
|
runExitCleanup
|
|
937
|
-
} from "./chunk-
|
|
937
|
+
} from "./chunk-EZXKUGDV.js";
|
|
938
938
|
import {
|
|
939
939
|
clearScreen,
|
|
940
940
|
writeStderrLine,
|
|
@@ -5942,7 +5942,7 @@ function ThemeDialog({
|
|
|
5942
5942
|
terminalWidth
|
|
5943
5943
|
}) {
|
|
5944
5944
|
const [selectedScope, setSelectedScope] = (0, import_react24.useState)(
|
|
5945
|
-
"User" /* User */
|
|
5945
|
+
settings.isTrusted && settings.workspaceSettingsActive && settings.workspace.settings.ui?.theme ? "Workspace" /* Workspace */ : "User" /* User */
|
|
5946
5946
|
);
|
|
5947
5947
|
const [highlightedThemeName, setHighlightedThemeName] = (0, import_react24.useState)(settings.merged.ui?.theme || AUTO_THEME_NAME);
|
|
5948
5948
|
const customThemes = selectedScope === "User" /* User */ ? settings.user.settings.ui?.customThemes || {} : settings.merged.ui?.customThemes || {};
|
|
@@ -10808,7 +10808,8 @@ function ModelIdsStep({
|
|
|
10808
10808
|
minVisibleModelRows,
|
|
10809
10809
|
draftModelIds,
|
|
10810
10810
|
onDraftChange,
|
|
10811
|
-
additionalChromeRows = 0
|
|
10811
|
+
additionalChromeRows = 0,
|
|
10812
|
+
availableHeight
|
|
10812
10813
|
}) {
|
|
10813
10814
|
const uiState = (0, import_react35.useContext)(UIStateContext);
|
|
10814
10815
|
const constrained = Boolean(
|
|
@@ -10818,25 +10819,28 @@ function ModelIdsStep({
|
|
|
10818
10819
|
1,
|
|
10819
10820
|
Math.min(uiState.mainAreaWidth, uiState.terminalWidth - 4) - 4
|
|
10820
10821
|
) : void 0;
|
|
10821
|
-
const
|
|
10822
|
+
const stepHeight = availableHeight ?? (constrained && uiState ? Math.max(
|
|
10822
10823
|
1,
|
|
10823
10824
|
getDialogMaxHeight(
|
|
10824
10825
|
uiState.terminalHeight,
|
|
10825
10826
|
uiState.staticExtraHeight,
|
|
10826
10827
|
uiState.useTerminalBuffer ? getFixedHeaderHeight(uiState.terminalWidth) : 0
|
|
10827
|
-
) - 5 -
|
|
10828
|
-
|
|
10829
|
-
|
|
10828
|
+
) - 5 - (uiState.auth.authError ? 1 + wrapAnsi(uiState.auth.authError, width ?? 80, {
|
|
10829
|
+
hard: true
|
|
10830
|
+
}).split("\n").length : 0)
|
|
10831
|
+
) : void 0);
|
|
10832
|
+
const budget = stepHeight === void 0 ? void 0 : Math.max(1, stepHeight - additionalChromeRows);
|
|
10833
|
+
const errorRows = Number(Boolean(flow.state.modelIdsError));
|
|
10834
|
+
const compact = budget !== void 0 && budget < 15 + errorRows * 2 + (minVisibleModelRows ?? MODEL_CATALOG_MIN_VISIBLE_ROWS);
|
|
10835
|
+
const borderless = budget !== void 0 && budget < 9 + errorRows;
|
|
10830
10836
|
const gap = compact ? 0 : 1;
|
|
10831
10837
|
const inputHeight = 1;
|
|
10832
|
-
const showVerified = showKeyStatus && keyVerified
|
|
10833
|
-
const
|
|
10834
|
-
const
|
|
10835
|
-
const searchRows = showSearchLabel ? 2 : 1;
|
|
10838
|
+
const showVerified = showKeyStatus && keyVerified;
|
|
10839
|
+
const showSearchLabel = !compact;
|
|
10840
|
+
const searchRows = borderless ? 1 : 3 + Number(showSearchLabel);
|
|
10836
10841
|
const showSelectionSummary = !compact;
|
|
10837
|
-
const
|
|
10838
|
-
const
|
|
10839
|
-
const modelRows = minVisibleModelRows ?? (budget === void 0 ? MAX_MODELS_TO_SHOW : Math.max(1, Math.min(compact ? 4 : 6, budget - chromeRows)));
|
|
10842
|
+
const chromeRows = gap * (4 + errorRows) + (borderless ? 1 : 2) + (compact ? 0 : 1) + errorRows + searchRows + Number(showSelectionSummary) + 3;
|
|
10843
|
+
const modelRows = budget === void 0 ? minVisibleModelRows ?? MAX_MODELS_TO_SHOW : Math.max(1, budget - chromeRows);
|
|
10840
10844
|
const defaultIds = config.models?.map((m) => m.id).join(", ") ?? "";
|
|
10841
10845
|
const hasSelectableModels = models.length > 0;
|
|
10842
10846
|
const selectedModelIds = (0, import_react35.useMemo)(
|
|
@@ -10997,13 +11001,13 @@ function ModelIdsStep({
|
|
|
10997
11001
|
{ isActive: hasSelectableModels && focusedModelIndex >= 0 }
|
|
10998
11002
|
);
|
|
10999
11003
|
if (hasSelectableModels) {
|
|
11000
|
-
return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(Box_default, { marginTop: gap, flexDirection: "column", width, children: [
|
|
11004
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(Box_default, { marginTop: gap, flexDirection: "column", width, flexShrink: 0, children: [
|
|
11001
11005
|
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
11002
11006
|
Box_default,
|
|
11003
11007
|
{
|
|
11004
11008
|
marginTop: 0,
|
|
11005
|
-
borderStyle:
|
|
11006
|
-
borderBottom: !
|
|
11009
|
+
borderStyle: borderless ? void 0 : glyphs().borderStyle,
|
|
11010
|
+
borderBottom: !borderless,
|
|
11007
11011
|
borderTop: false,
|
|
11008
11012
|
borderLeft: false,
|
|
11009
11013
|
borderRight: false,
|
|
@@ -11040,9 +11044,9 @@ function ModelIdsStep({
|
|
|
11040
11044
|
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
11041
11045
|
Box_default,
|
|
11042
11046
|
{
|
|
11043
|
-
borderStyle:
|
|
11047
|
+
borderStyle: borderless ? void 0 : glyphs().borderStyle,
|
|
11044
11048
|
borderColor: focusedModelIndex === MODEL_SEARCH_INPUT_FOCUS_INDEX ? extendedTheme.ui.brand : extendedTheme.ui.rule,
|
|
11045
|
-
paddingX:
|
|
11049
|
+
paddingX: borderless ? 0 : 1,
|
|
11046
11050
|
width,
|
|
11047
11051
|
children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
11048
11052
|
TextInput,
|
|
@@ -11062,7 +11066,7 @@ function ModelIdsStep({
|
|
|
11062
11066
|
}
|
|
11063
11067
|
},
|
|
11064
11068
|
placeholder: "search",
|
|
11065
|
-
inputWidth: width === void 0 ? void 0 : Math.max(1, width - (
|
|
11069
|
+
inputWidth: width === void 0 ? void 0 : Math.max(1, width - (borderless ? 2 : 6)),
|
|
11066
11070
|
isActive: focusedModelIndex === MODEL_SEARCH_INPUT_FOCUS_INDEX
|
|
11067
11071
|
},
|
|
11068
11072
|
"model-search-input"
|
|
@@ -11181,7 +11185,8 @@ function DiscoveringModelIdsStep({
|
|
|
11181
11185
|
flow,
|
|
11182
11186
|
showKeyStatus,
|
|
11183
11187
|
onKeyStatusChange,
|
|
11184
|
-
minVisibleModelRows
|
|
11188
|
+
minVisibleModelRows,
|
|
11189
|
+
availableHeight
|
|
11185
11190
|
}) {
|
|
11186
11191
|
const uiState = (0, import_react35.useContext)(UIStateContext);
|
|
11187
11192
|
const constrained = Boolean(
|
|
@@ -11315,7 +11320,8 @@ function DiscoveringModelIdsStep({
|
|
|
11315
11320
|
keyVerified: snapshot.verified && requiresApiKey(config),
|
|
11316
11321
|
showKeyStatus,
|
|
11317
11322
|
minVisibleModelRows,
|
|
11318
|
-
|
|
11323
|
+
availableHeight,
|
|
11324
|
+
additionalChromeRows: listFailed ? noticeGap + 1 : 0,
|
|
11319
11325
|
preselect: snapshot.verified ? preselectedModels(
|
|
11320
11326
|
snapshot.models,
|
|
11321
11327
|
config.models ?? [],
|
|
@@ -11535,7 +11541,8 @@ function ProviderSetupSteps({
|
|
|
11535
11541
|
flow,
|
|
11536
11542
|
showKeyStatus,
|
|
11537
11543
|
onKeyStatusChange,
|
|
11538
|
-
minVisibleModelRows
|
|
11544
|
+
minVisibleModelRows,
|
|
11545
|
+
availableHeight
|
|
11539
11546
|
}) {
|
|
11540
11547
|
const { provider, step } = flow.state;
|
|
11541
11548
|
useKeypress(
|
|
@@ -11647,7 +11654,8 @@ function ProviderSetupSteps({
|
|
|
11647
11654
|
flow,
|
|
11648
11655
|
showKeyStatus,
|
|
11649
11656
|
onKeyStatusChange,
|
|
11650
|
-
minVisibleModelRows
|
|
11657
|
+
minVisibleModelRows,
|
|
11658
|
+
availableHeight
|
|
11651
11659
|
}
|
|
11652
11660
|
);
|
|
11653
11661
|
}
|
|
@@ -11657,7 +11665,8 @@ function ProviderSetupSteps({
|
|
|
11657
11665
|
config: provider,
|
|
11658
11666
|
flow,
|
|
11659
11667
|
showKeyStatus,
|
|
11660
|
-
minVisibleModelRows
|
|
11668
|
+
minVisibleModelRows,
|
|
11669
|
+
availableHeight
|
|
11661
11670
|
}
|
|
11662
11671
|
);
|
|
11663
11672
|
case "advancedConfig":
|
|
@@ -11880,12 +11889,25 @@ function buildLocalItems(servers) {
|
|
|
11880
11889
|
});
|
|
11881
11890
|
}
|
|
11882
11891
|
__name(buildLocalItems, "buildLocalItems");
|
|
11892
|
+
function menuText(node) {
|
|
11893
|
+
return import_react36.Children.toArray(node).map((child) => {
|
|
11894
|
+
if (typeof child === "string" || typeof child === "number")
|
|
11895
|
+
return String(child);
|
|
11896
|
+
if ((0, import_react36.isValidElement)(child)) {
|
|
11897
|
+
if (child.type === Badge) return ` ${child.props.text ?? ""}`;
|
|
11898
|
+
return menuText(child.props.children ?? child.props.text);
|
|
11899
|
+
}
|
|
11900
|
+
return "";
|
|
11901
|
+
}).join("");
|
|
11902
|
+
}
|
|
11903
|
+
__name(menuText, "menuText");
|
|
11883
11904
|
function AuthMenuList({
|
|
11884
11905
|
items,
|
|
11885
11906
|
initialIndex,
|
|
11886
11907
|
onSelect,
|
|
11887
11908
|
onHighlight,
|
|
11888
|
-
compact = false
|
|
11909
|
+
compact = false,
|
|
11910
|
+
maxItemsToShow: maxItemsToShow2 = items.length
|
|
11889
11911
|
}) {
|
|
11890
11912
|
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
11891
11913
|
DescriptiveRadioButtonSelect,
|
|
@@ -11895,7 +11917,7 @@ function AuthMenuList({
|
|
|
11895
11917
|
onSelect,
|
|
11896
11918
|
onHighlight,
|
|
11897
11919
|
itemGap: compact ? 0 : 1,
|
|
11898
|
-
maxItemsToShow: Math.max(
|
|
11920
|
+
maxItemsToShow: Math.max(maxItemsToShow2, 1)
|
|
11899
11921
|
}
|
|
11900
11922
|
);
|
|
11901
11923
|
}
|
|
@@ -11930,9 +11952,10 @@ var MAIN_INDEX_BY_GROUP = {
|
|
|
11930
11952
|
custom: 3
|
|
11931
11953
|
};
|
|
11932
11954
|
function AuthDialog() {
|
|
11955
|
+
const uiState = useUIState();
|
|
11933
11956
|
const {
|
|
11934
11957
|
auth: { authError, choosingDisplayMode }
|
|
11935
|
-
} =
|
|
11958
|
+
} = uiState;
|
|
11936
11959
|
const {
|
|
11937
11960
|
auth: {
|
|
11938
11961
|
closeAuthDialog,
|
|
@@ -12153,12 +12176,56 @@ function AuthDialog() {
|
|
|
12153
12176
|
choosingDisplayMode
|
|
12154
12177
|
]);
|
|
12155
12178
|
const activeItems = viewLevel === "main" || viewLevel === "provider-setup" ? void 0 : subMenus[viewLevel];
|
|
12156
|
-
const
|
|
12157
|
-
|
|
12179
|
+
const constrained = uiState.useTerminalBuffer || uiState.constrainHeight;
|
|
12180
|
+
const dialogHeight = constrained ? uiState.useTerminalBuffer ? Math.max(
|
|
12181
|
+
1,
|
|
12182
|
+
uiState.terminalHeight - getFixedHeaderHeight(uiState.terminalWidth) - (uiState.ctrlCPressedOnce ? 2 : 0) - (uiState.ctrlDPressedOnce ? 2 : 0)
|
|
12183
|
+
) : getDialogMaxHeight(uiState.terminalHeight, uiState.staticExtraHeight) : void 0;
|
|
12184
|
+
const contentWidth = Math.max(1, uiState.mainAreaWidth - 4);
|
|
12185
|
+
const isMenu = viewLevel !== "provider-setup";
|
|
12186
|
+
const compactFrame = (isMenu || setupFlow.state.step === "models") && dialogHeight !== void 0 && dialogHeight < 22;
|
|
12187
|
+
const compactMenu = isMenu && compactFrame;
|
|
12188
|
+
const paddingY = compactFrame ? 0 : 1;
|
|
12189
|
+
const innerHeight = dialogHeight === void 0 ? void 0 : Math.max(1, dialogHeight - 3 - paddingY * 2);
|
|
12190
|
+
const menuItems = viewLevel === "main" ? mainItems : activeItems;
|
|
12191
|
+
const itemGap = viewLevel === "apiKey" ? 0 : 1;
|
|
12192
|
+
const wrappedRows = /* @__PURE__ */ __name((text, width = contentWidth) => wrapAnsi(text, width, { hard: true }).split("\n").length, "wrappedRows");
|
|
12193
|
+
const itemRows = Math.max(
|
|
12194
|
+
1,
|
|
12195
|
+
...(menuItems ?? []).map(
|
|
12196
|
+
(item) => wrappedRows(menuText(item.title), Math.max(1, contentWidth - 2)) + (menuText(item.description).trim() ? wrappedRows(
|
|
12197
|
+
menuText(item.description),
|
|
12198
|
+
Math.max(1, contentWidth - 2)
|
|
12199
|
+
) : 0)
|
|
12200
|
+
)
|
|
12201
|
+
);
|
|
12202
|
+
const noticeRows = notice && activeItems ? 2 : 0;
|
|
12203
|
+
const error = authError || errorMessage;
|
|
12204
|
+
const showTermsUrl = innerHeight === void 0 || innerHeight >= itemRows + 4 + (error ? 2 : 0);
|
|
12205
|
+
const footerRows = viewLevel === "main" ? (compactMenu ? 2 : 4) + Number(showTermsUrl) : isMenu ? 2 : 0;
|
|
12206
|
+
const errorLines = error ? wrapAnsi(error, contentWidth, { hard: true }).split("\n") : [];
|
|
12207
|
+
const maxErrorRows = innerHeight === void 0 ? errorLines.length : Math.max(
|
|
12208
|
+
1,
|
|
12209
|
+
innerHeight - footerRows - noticeRows - (isMenu ? itemRows + 1 : 6 + Number(Boolean(setupFlow.state.modelIdsError))) - 1
|
|
12210
|
+
);
|
|
12211
|
+
const visibleErrorLines = errorLines.slice(0, maxErrorRows);
|
|
12212
|
+
if (visibleErrorLines.length < errorLines.length)
|
|
12213
|
+
visibleErrorLines[visibleErrorLines.length - 1] = `${visibleErrorLines.at(-1)?.slice(0, -1)}\u2026`;
|
|
12214
|
+
const errorRows = visibleErrorLines.length > 0 ? visibleErrorLines.length + 1 : 0;
|
|
12215
|
+
const availableHeight = innerHeight === void 0 ? void 0 : Math.max(1, innerHeight - errorRows);
|
|
12216
|
+
const menuRows = availableHeight === void 0 ? void 0 : availableHeight - footerRows - noticeRows - 1;
|
|
12217
|
+
const maxMenuItems = menuRows === void 0 ? menuItems?.length : Math.max(1, Math.floor((menuRows + itemGap) / (itemRows + itemGap)));
|
|
12218
|
+
const menuIndex = viewLevel === "main" ? mainIndex ?? defaultMainIndex : subMenuIndex[viewLevel] ?? 0;
|
|
12219
|
+
const menuOverflow = menuItems && maxMenuItems !== void 0 && menuItems.length > maxMenuItems;
|
|
12220
|
+
const header = /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(Box_default, { flexShrink: 0, children: [
|
|
12221
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Box_default, { flexGrow: 1, minWidth: 0, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(Text, { wrap: "truncate-end", children: [
|
|
12158
12222
|
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Text, { bold: true, children: t("Connect a provider") }),
|
|
12159
12223
|
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Text, { color: extendedTheme.text.muted, children: viewPath.map((segment) => ` \u203A ${segment}`).join("") })
|
|
12160
12224
|
] }) }),
|
|
12161
|
-
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Box_default, { flexShrink: 0, marginLeft: 2, children: /* @__PURE__ */ (0, import_jsx_runtime41.
|
|
12225
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Box_default, { flexShrink: 0, marginLeft: 2, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(Text, { color: extendedTheme.text.muted, children: [
|
|
12226
|
+
stepText,
|
|
12227
|
+
menuOverflow ? ` \xB7 \u2191\u2193 ${menuIndex + 1}/${menuItems.length}` : ""
|
|
12228
|
+
] }) })
|
|
12162
12229
|
] });
|
|
12163
12230
|
if (choosingDisplayMode) {
|
|
12164
12231
|
return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
@@ -12182,20 +12249,24 @@ function AuthDialog() {
|
|
|
12182
12249
|
borderStyle: glyphs().borderStyle,
|
|
12183
12250
|
borderColor: extendedTheme.ui.brand,
|
|
12184
12251
|
flexDirection: "column",
|
|
12185
|
-
|
|
12252
|
+
paddingX: 1,
|
|
12253
|
+
paddingY,
|
|
12186
12254
|
width: "100%",
|
|
12255
|
+
flexShrink: isMenu || setupFlow.state.step === "models" ? 0 : 1,
|
|
12187
12256
|
children: [
|
|
12188
12257
|
header,
|
|
12189
12258
|
viewLevel === "main" && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Box_default, { marginTop: 1, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
12190
12259
|
AuthMenuList,
|
|
12191
12260
|
{
|
|
12192
12261
|
items: mainItems,
|
|
12262
|
+
maxItemsToShow: maxMenuItems,
|
|
12193
12263
|
initialIndex: mainIndex != null ? mainIndex : defaultMainIndex,
|
|
12194
12264
|
onSelect: handleMainSelect,
|
|
12195
12265
|
onHighlight: (value) => {
|
|
12196
12266
|
setMainIndex(mainItems.findIndex((item) => item.value === value));
|
|
12197
12267
|
}
|
|
12198
|
-
}
|
|
12268
|
+
},
|
|
12269
|
+
maxMenuItems
|
|
12199
12270
|
) }),
|
|
12200
12271
|
activeItems && /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_jsx_runtime41.Fragment, { children: [
|
|
12201
12272
|
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Box_default, { marginTop: 1, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
@@ -12203,6 +12274,7 @@ function AuthDialog() {
|
|
|
12203
12274
|
{
|
|
12204
12275
|
items: activeItems,
|
|
12205
12276
|
compact: viewLevel === "apiKey",
|
|
12277
|
+
maxItemsToShow: maxMenuItems,
|
|
12206
12278
|
initialIndex: subMenuIndex[viewLevel] ?? 0,
|
|
12207
12279
|
onSelect: (value) => handleSubMenuSelect(activeItems, value),
|
|
12208
12280
|
onHighlight: (value) => {
|
|
@@ -12213,26 +12285,42 @@ function AuthDialog() {
|
|
|
12213
12285
|
}));
|
|
12214
12286
|
}
|
|
12215
12287
|
},
|
|
12216
|
-
viewLevel
|
|
12288
|
+
`${viewLevel}-${maxMenuItems}`
|
|
12217
12289
|
) }),
|
|
12218
|
-
notice && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Box_default, { marginTop: 1, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Text, { color: theme.status.warning, children: notice }) }),
|
|
12219
|
-
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Box_default, { marginTop: 1, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Text, { color: extendedTheme.text.muted, children: viewLevel === "local" ? t("\u2191\u2193 navigate \xB7 enter select \xB7 ctrl+r look again \xB7 esc back") : t("\u2191\u2193 navigate \xB7 enter select \xB7 esc back") }) })
|
|
12290
|
+
notice && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Box_default, { marginTop: 1, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Text, { color: theme.status.warning, wrap: "truncate-end", children: notice }) }),
|
|
12291
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Box_default, { marginTop: 1, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Text, { color: extendedTheme.text.muted, wrap: "truncate-end", children: viewLevel === "local" ? t("\u2191\u2193 navigate \xB7 enter select \xB7 ctrl+r look again \xB7 esc back") : t("\u2191\u2193 navigate \xB7 enter select \xB7 esc back") }) })
|
|
12220
12292
|
] }),
|
|
12221
12293
|
viewLevel === "provider-setup" && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
12222
12294
|
ProviderSetupSteps,
|
|
12223
12295
|
{
|
|
12224
12296
|
flow: setupFlow,
|
|
12225
|
-
minVisibleModelRows: MODEL_CATALOG_MIN_VISIBLE_ROWS
|
|
12297
|
+
minVisibleModelRows: MODEL_CATALOG_MIN_VISIBLE_ROWS,
|
|
12298
|
+
availableHeight
|
|
12226
12299
|
}
|
|
12227
12300
|
),
|
|
12228
|
-
|
|
12301
|
+
error && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Box_default, { marginTop: 1, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Text, { color: theme.status.error, children: visibleErrorLines.join("\n") }) }),
|
|
12229
12302
|
viewLevel === "main" && /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_jsx_runtime41.Fragment, { children: [
|
|
12230
|
-
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Box_default, { marginY: 1, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Text, { color: theme.border.default, children: "\u2500".repeat(
|
|
12231
|
-
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime41.
|
|
12232
|
-
|
|
12233
|
-
|
|
12234
|
-
|
|
12235
|
-
|
|
12303
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Box_default, { marginY: compactMenu ? 0 : 1, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Text, { color: theme.border.default, children: "\u2500".repeat(contentWidth) }) }),
|
|
12304
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
12305
|
+
Text,
|
|
12306
|
+
{
|
|
12307
|
+
color: theme.text.primary,
|
|
12308
|
+
wrap: constrained ? "truncate-end" : void 0,
|
|
12309
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(dist_default, { url: TOS_PRIVACY_URL, fallback: false, children: [
|
|
12310
|
+
t("Terms of Services and Privacy Notice"),
|
|
12311
|
+
":"
|
|
12312
|
+
] })
|
|
12313
|
+
}
|
|
12314
|
+
) }),
|
|
12315
|
+
showTermsUrl && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
12316
|
+
Text,
|
|
12317
|
+
{
|
|
12318
|
+
color: theme.text.secondary,
|
|
12319
|
+
underline: true,
|
|
12320
|
+
wrap: constrained ? "truncate-end" : void 0,
|
|
12321
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(dist_default, { url: TOS_PRIVACY_URL, fallback: false, children: TOS_PRIVACY_URL })
|
|
12322
|
+
}
|
|
12323
|
+
) })
|
|
12236
12324
|
] })
|
|
12237
12325
|
]
|
|
12238
12326
|
}
|
|
@@ -38882,7 +38970,11 @@ var DefaultAppLayout = /* @__PURE__ */ __name(() => {
|
|
|
38882
38970
|
uiState.terminalHeight,
|
|
38883
38971
|
uiState.useTerminalBuffer
|
|
38884
38972
|
);
|
|
38885
|
-
const
|
|
38973
|
+
const isFullScreenAuth = uiState.useTerminalBuffer && Boolean(uiState.auth?.isAuthDialogOpen || uiState.auth?.authError);
|
|
38974
|
+
const dialogMaxHeight = isFullScreenAuth ? Math.max(
|
|
38975
|
+
1,
|
|
38976
|
+
uiState.terminalHeight - getFixedHeaderHeight(terminalWidth) - (uiState.ctrlCPressedOnce ? 2 : 0) - (uiState.ctrlDPressedOnce ? 2 : 0)
|
|
38977
|
+
) : getDialogMaxHeight(
|
|
38886
38978
|
uiState.terminalHeight,
|
|
38887
38979
|
uiState.staticExtraHeight,
|
|
38888
38980
|
uiState.useTerminalBuffer ? getFixedHeaderHeight(terminalWidth) : 0
|
|
@@ -39467,8 +39559,25 @@ __name(useWakeRepaint, "useWakeRepaint");
|
|
|
39467
39559
|
// packages/cli/src/ui/hooks/useThemeCommand.ts
|
|
39468
39560
|
init_esbuild_shims();
|
|
39469
39561
|
var import_react136 = __toESM(require_react(), 1);
|
|
39562
|
+
|
|
39563
|
+
// packages/cli/src/agent-view/session-reattach.ts
|
|
39564
|
+
init_esbuild_shims();
|
|
39565
|
+
var listeners = /* @__PURE__ */ new Set();
|
|
39566
|
+
function onAgentSessionReattach(listener) {
|
|
39567
|
+
listeners.add(listener);
|
|
39568
|
+
return () => {
|
|
39569
|
+
listeners.delete(listener);
|
|
39570
|
+
};
|
|
39571
|
+
}
|
|
39572
|
+
__name(onAgentSessionReattach, "onAgentSessionReattach");
|
|
39573
|
+
function notifyAgentSessionReattach() {
|
|
39574
|
+
for (const listener of listeners) listener();
|
|
39575
|
+
}
|
|
39576
|
+
__name(notifyAgentSessionReattach, "notifyAgentSessionReattach");
|
|
39577
|
+
|
|
39578
|
+
// packages/cli/src/ui/hooks/useThemeCommand.ts
|
|
39470
39579
|
import process7 from "node:process";
|
|
39471
|
-
var useThemeCommand = /* @__PURE__ */ __name((loadedSettings, setThemeError, addItem, initialThemeError, config) => {
|
|
39580
|
+
var useThemeCommand = /* @__PURE__ */ __name((loadedSettings, setThemeError, addItem, initialThemeError, config, onThemeChange) => {
|
|
39472
39581
|
const [isThemeDialogOpen, setIsThemeDialogOpen] = (0, import_react136.useState)(!!initialThemeError);
|
|
39473
39582
|
const [themeBeforeDialogOpen, setThemeBeforeDialogOpen] = (0, import_react136.useState)(themeManager.getActiveTheme().name);
|
|
39474
39583
|
const openThemeDialog = (0, import_react136.useCallback)(() => {
|
|
@@ -39491,7 +39600,7 @@ var useThemeCommand = /* @__PURE__ */ __name((loadedSettings, setThemeError, add
|
|
|
39491
39600
|
setIsThemeDialogOpen(true);
|
|
39492
39601
|
}, [addItem, config]);
|
|
39493
39602
|
const applyTheme = (0, import_react136.useCallback)(
|
|
39494
|
-
(themeName) => {
|
|
39603
|
+
(themeName, previousTheme = themeManager.getActiveTheme()) => {
|
|
39495
39604
|
if (!themeManager.setActiveTheme(themeName)) {
|
|
39496
39605
|
setIsThemeDialogOpen(true);
|
|
39497
39606
|
setThemeError(
|
|
@@ -39501,9 +39610,28 @@ var useThemeCommand = /* @__PURE__ */ __name((loadedSettings, setThemeError, add
|
|
|
39501
39610
|
);
|
|
39502
39611
|
} else {
|
|
39503
39612
|
setThemeError(null);
|
|
39613
|
+
if (themeManager.getActiveTheme() !== previousTheme) onThemeChange?.();
|
|
39504
39614
|
}
|
|
39505
39615
|
},
|
|
39506
|
-
[setThemeError]
|
|
39616
|
+
[setThemeError, onThemeChange]
|
|
39617
|
+
);
|
|
39618
|
+
(0, import_react136.useEffect)(
|
|
39619
|
+
() => onAgentSessionReattach(() => {
|
|
39620
|
+
if (!loadedSettings.reloadScopesFromDiskAtomically([
|
|
39621
|
+
"SystemDefaults" /* SystemDefaults */,
|
|
39622
|
+
"System" /* System */,
|
|
39623
|
+
"User" /* User */,
|
|
39624
|
+
"Workspace" /* Workspace */
|
|
39625
|
+
]))
|
|
39626
|
+
return;
|
|
39627
|
+
const previousTheme = themeManager.getActiveTheme();
|
|
39628
|
+
themeManager.loadCustomThemes(loadedSettings.merged.ui?.customThemes);
|
|
39629
|
+
applyTheme(
|
|
39630
|
+
loadedSettings.merged.ui?.theme ?? AUTO_THEME_NAME,
|
|
39631
|
+
previousTheme
|
|
39632
|
+
);
|
|
39633
|
+
}),
|
|
39634
|
+
[loadedSettings, applyTheme]
|
|
39507
39635
|
);
|
|
39508
39636
|
const handleThemeHighlight = (0, import_react136.useCallback)(
|
|
39509
39637
|
(themeName) => {
|
|
@@ -52024,7 +52152,8 @@ var AppContainer = /* @__PURE__ */ __name((props) => {
|
|
|
52024
52152
|
setThemeError,
|
|
52025
52153
|
historyManager.addItem,
|
|
52026
52154
|
initializationResult.themeError,
|
|
52027
|
-
config
|
|
52155
|
+
config,
|
|
52156
|
+
refreshStatic
|
|
52028
52157
|
);
|
|
52029
52158
|
const {
|
|
52030
52159
|
isApprovalModeDialogOpen,
|
|
@@ -55316,6 +55445,10 @@ async function startInteractiveUI(config, settings, startupWarnings, workspaceRo
|
|
|
55316
55445
|
}
|
|
55317
55446
|
const redraws = await readAgentViewWorkerRedrawEvents();
|
|
55318
55447
|
if (mounted && redraws.length > 0) {
|
|
55448
|
+
if (process.stdout.isTTY) {
|
|
55449
|
+
process.stdout.write(`${useVP ? "\x1B[?1049h" : ""}\x1B[0m`);
|
|
55450
|
+
}
|
|
55451
|
+
notifyAgentSessionReattach();
|
|
55319
55452
|
viewportRenderer.repaint?.();
|
|
55320
55453
|
}
|
|
55321
55454
|
} catch {
|