@organizaone/o1-code 0.15.0 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundled/qc-helper/docs/support/troubleshooting.md +4 -0
- package/chunks/{MaxSizedBox-O7G2ZRYR.js → MaxSizedBox-2TYDUNNU.js} +17 -17
- package/chunks/{StandaloneSessionPicker-BIGZLIRY.js → StandaloneSessionPicker-ZROBPEFQ.js} +33 -33
- package/chunks/{acp-subagent-executor-A7RO7LHH.js → acp-subagent-executor-OJ5CSLUK.js} +19 -19
- package/chunks/{acpAgent-AFGYYTUH.js → acpAgent-QBIB2TRW.js} +58 -58
- package/chunks/{agent-PV23LGME.js → agent-2TKMAHIV.js} +9 -9
- package/chunks/{agent-headless-PEA6NNMN.js → agent-headless-5KUSM7OR.js} +9 -9
- package/chunks/{all-providers-FZ4ESP4Z.js → all-providers-ZK63AJ3C.js} +2 -2
- package/chunks/{anthropicContentGenerator-XWCHKKOI.js → anthropicContentGenerator-IUCHJGSK.js} +5 -5
- package/chunks/{bridge-7L53A4AM.js → bridge-3KJNS4QF.js} +19 -19
- package/chunks/{ca-D47KKMP2.js → ca-6DKW436A.js} +5 -1
- package/chunks/{chunk-UVGSFQ4I.js → chunk-2UREUJXC.js} +2 -2
- package/chunks/{chunk-FFWWJHI7.js → chunk-34G7FZRB.js} +4 -4
- package/chunks/{chunk-5GR3V3II.js → chunk-34XYDMGX.js} +2 -2
- package/chunks/{chunk-5G7PI5O3.js → chunk-3A6WSMP6.js} +2 -2
- package/chunks/{chunk-DWT44BB5.js → chunk-3B5S32PH.js} +2 -2
- package/chunks/{chunk-RONJ4ZC5.js → chunk-3JVFURR2.js} +1 -1
- package/chunks/{chunk-CCW5CSV7.js → chunk-3ZGCA7B3.js} +4 -4
- package/chunks/{chunk-PDZGLV3P.js → chunk-4JUSHB6F.js} +8 -8
- package/chunks/{chunk-LE5TRASB.js → chunk-4S3THAXN.js} +2 -2
- package/chunks/{chunk-3FJHPBCE.js → chunk-4TS4SSPH.js} +1 -1
- package/chunks/{chunk-4XNNJAVK.js → chunk-5EO5NLAZ.js} +2 -2
- package/chunks/{chunk-NAURON7F.js → chunk-5EV2NTVO.js} +1 -1
- package/chunks/{chunk-CMW56OJG.js → chunk-6A5Q65UL.js} +13 -13
- package/chunks/{chunk-QMJ6GWQX.js → chunk-6BYJHUGK.js} +1 -1
- package/chunks/{chunk-AVLRJ5GO.js → chunk-6CPUZCPC.js} +10 -10
- package/chunks/{chunk-JEDXP6FR.js → chunk-6UDB3N6F.js} +1 -1
- package/chunks/{chunk-I32MCMVV.js → chunk-6XG5ISFN.js} +4 -4
- package/chunks/{chunk-XMF6AIIL.js → chunk-6YCHTUH2.js} +3 -3
- package/chunks/{chunk-6R2MXKWJ.js → chunk-7CBV56H7.js} +5 -5
- package/chunks/{chunk-DAB7MOET.js → chunk-7E65VZVK.js} +1 -1
- package/chunks/{chunk-XJLSYFTS.js → chunk-7FOYGJNM.js} +3 -3
- package/chunks/{chunk-R27K7DNS.js → chunk-7HANSWCM.js} +5 -5
- package/chunks/{chunk-AX74MBBW.js → chunk-7OUAV4XG.js} +2 -2
- package/chunks/{chunk-QO72AGKU.js → chunk-BDCCYCFU.js} +2 -2
- package/chunks/{chunk-4JSCCVOO.js → chunk-BFXFX3FK.js} +7 -7
- package/chunks/{chunk-DXXRKDEZ.js → chunk-BJ5MQJXM.js} +3 -3
- package/chunks/{chunk-RBG3RNDF.js → chunk-BXK3DJCG.js} +1 -1
- package/chunks/{chunk-GEO7X3EN.js → chunk-CDGJSEBA.js} +2 -2
- package/chunks/{chunk-FI36HOVR.js → chunk-CH4X5E4Z.js} +1 -1
- package/chunks/{chunk-HRQT6PTP.js → chunk-D2ILWLZR.js} +3 -3
- package/chunks/{chunk-Q3275KQT.js → chunk-DA4GEY74.js} +12 -2
- package/chunks/{chunk-XPSDYGLU.js → chunk-DIYSLFAP.js} +1 -1
- package/chunks/{chunk-YBQLV5NQ.js → chunk-DUGEG2BK.js} +5 -5
- package/chunks/{chunk-JFCIZ63D.js → chunk-EFBXSPWX.js} +2 -2
- package/chunks/{chunk-FF4G3BYI.js → chunk-EFRNGULN.js} +27 -27
- package/chunks/{chunk-2RSWDZVO.js → chunk-EVXFVO4N.js} +245 -58
- package/chunks/{chunk-WE52DYQN.js → chunk-FJPRXXWL.js} +2 -2
- package/chunks/{chunk-P7FKRAJ6.js → chunk-G2K5YCFA.js} +3 -3
- package/chunks/{chunk-AYCEQ2OH.js → chunk-GGVMBB5D.js} +9 -9
- package/chunks/{chunk-3ERDAKD7.js → chunk-HGGCMZYT.js} +1 -1
- package/chunks/{chunk-ZG3ZB6LH.js → chunk-HUSUXWDW.js} +3 -3
- package/chunks/{chunk-R3ZENPTG.js → chunk-I7T7CK4X.js} +1 -1
- package/chunks/{chunk-XXM44WQ5.js → chunk-J5FIWQYH.js} +45 -7
- package/chunks/{chunk-YT5BWAWH.js → chunk-JBZRYGEN.js} +1 -1
- package/chunks/{chunk-VH24XB23.js → chunk-JHMQARLQ.js} +1 -1
- package/chunks/{chunk-RDQZ4Z3T.js → chunk-JT32D36Q.js} +2 -2
- package/chunks/{chunk-NUSAKUTH.js → chunk-K6XL57WQ.js} +1 -1
- package/chunks/{chunk-46H5ZP7X.js → chunk-KAK63RUD.js} +1 -1
- package/chunks/{chunk-HYZ7GRES.js → chunk-KL3CPVSH.js} +2 -2
- package/chunks/{chunk-T74COXKF.js → chunk-L5J36Q7M.js} +35 -20
- package/chunks/{chunk-LFUSSHHB.js → chunk-M4EUU6I4.js} +1 -1
- package/chunks/{chunk-TIJEMBWQ.js → chunk-MJ64BRWA.js} +1 -1
- package/chunks/{chunk-QWO3KT35.js → chunk-MNPQ7IFL.js} +2 -2
- package/chunks/{chunk-52L6JTMO.js → chunk-MORXCEYQ.js} +3 -3
- package/chunks/{chunk-5OYTF5XP.js → chunk-MQWCB6CZ.js} +1 -1
- package/chunks/{chunk-4LXE6MLF.js → chunk-MSMRYA5X.js} +1 -1
- package/chunks/{chunk-7EF7MDGB.js → chunk-MTQPU663.js} +3 -3
- package/chunks/{chunk-7DKVPPL3.js → chunk-NE3VSCRR.js} +2 -2
- package/chunks/{chunk-LPF2XDE2.js → chunk-NVSLG7SE.js} +7 -7
- package/chunks/{chunk-CRGQG4ZJ.js → chunk-OLW5S7HQ.js} +2 -2
- package/chunks/{chunk-LB4ZZJJM.js → chunk-ON42XEZW.js} +1 -1
- package/chunks/{chunk-3ZMBFNPV.js → chunk-ONVNHXAW.js} +1 -1
- package/chunks/{chunk-QPVENQJH.js → chunk-QOCPGDNT.js} +5 -5
- package/chunks/{chunk-HSJMAQII.js → chunk-RDGVK2U2.js} +5 -5
- package/chunks/{chunk-BYF5YB4S.js → chunk-REG6EQEZ.js} +2 -2
- package/chunks/{chunk-RJ56P2F7.js → chunk-RGNWFBEK.js} +1 -1
- package/chunks/{chunk-MMXQXZWA.js → chunk-RPUZTV2L.js} +9 -8
- package/chunks/{chunk-ZHRNMGGR.js → chunk-RWPVXETN.js} +2 -2
- package/chunks/{chunk-4DRJFWXS.js → chunk-SRFM7DK6.js} +3 -3
- package/chunks/{chunk-2DQNWI5T.js → chunk-SUX7K6CH.js} +3 -3
- package/chunks/{chunk-B2EKPHXQ.js → chunk-TNIBUPW6.js} +1 -1
- package/chunks/{chunk-35KQ7CDI.js → chunk-TPSK4GGU.js} +5 -5
- package/chunks/{chunk-HODHQG2A.js → chunk-UR3WLV2D.js} +2 -2
- package/chunks/{chunk-OF73JBMF.js → chunk-USJR7COK.js} +3 -3
- package/chunks/{chunk-7UZZDG7L.js → chunk-UXT565NK.js} +56 -30
- package/chunks/{chunk-Y5JTX5BE.js → chunk-UZDO4DPP.js} +2 -2
- package/chunks/{chunk-FADOMWAI.js → chunk-V3TW2QIQ.js} +1 -1
- package/chunks/{chunk-4EVSBPVF.js → chunk-WYTHTUE3.js} +1 -1
- package/chunks/{chunk-WOGFLOFT.js → chunk-XDYFJGSU.js} +4 -4
- package/chunks/{chunk-FXYJP742.js → chunk-XKK56J76.js} +2 -2
- package/chunks/{chunk-DWX6K4EP.js → chunk-Y32WI65S.js} +1 -1
- package/chunks/{chunk-DTA6JUKZ.js → chunk-YKXSDA3K.js} +1 -1
- package/chunks/{chunk-FSDDJVL4.js → chunk-YRCNLI2J.js} +3 -3
- package/chunks/{chunk-YHCW34AJ.js → chunk-Z74V3N2I.js} +1 -1
- package/chunks/{chunk-7NVHSJXM.js → chunk-ZSIMR3YK.js} +7 -7
- package/chunks/{codex-subagent-executor-JBCVWY67.js → codex-subagent-executor-HMPFBRJR.js} +19 -19
- package/chunks/{contextCommand-PLGPX4BU.js → contextCommand-J7PLXHDV.js} +19 -19
- package/chunks/{core-runtime-AOXGKBMN.js → core-runtime-GMOVYQB7.js} +17 -17
- package/chunks/{create-sub-session-OGKW35EJ.js → create-sub-session-STIPZA4B.js} +18 -18
- package/chunks/{daemon-git-worktree-guard-MHUJPQU4.js → daemon-git-worktree-guard-PO2NOVQL.js} +17 -17
- package/chunks/{daemon-status-provider-VR3TJW6Y.js → daemon-status-provider-S7QUDEDT.js} +23 -23
- package/chunks/{daemon-trust-policy-HIIJ3AW2.js → daemon-trust-policy-7C4RDZJY.js} +23 -23
- package/chunks/{daemon-trust-policy-monitor-CP2PTB7Z.js → daemon-trust-policy-monitor-PNSO35A7.js} +23 -23
- package/chunks/{de-LJ7XKJ7L.js → de-E75VCQRZ.js} +5 -1
- package/chunks/{deferred-core-runtime-YN2YQOS3.js → deferred-core-runtime-JX2E7YS6.js} +17 -17
- package/chunks/{edit-MKZIJJFV.js → edit-ZK3IGOPB.js} +11 -11
- package/chunks/{en-IMODPCQQ.js → en-YLUPJ2ES.js} +5 -1
- package/chunks/{enterPlanMode-2JDPJDOI.js → enterPlanMode-GUQG6QCV.js} +9 -9
- package/chunks/{environment-PJB6G3DC.js → environment-L6RGNIXM.js} +19 -19
- package/chunks/{errors-RCPKPF4D.js → errors-WP7CIQ3V.js} +19 -19
- package/chunks/{execution-tool-QXSN5SIB.js → execution-tool-72NVMLBX.js} +11 -11
- package/chunks/{execution-worker-JZMBO7AU.js → execution-worker-XUPREKSS.js} +14 -14
- package/chunks/{exitPlanMode-B6VQ7WU4.js → exitPlanMode-NHPYP33G.js} +9 -9
- package/chunks/{fast-path-WTTSHBHO.js → fast-path-Q4ALGH4S.js} +2 -2
- package/chunks/{fr-XXSQXQDX.js → fr-KWQ6T7MX.js} +5 -1
- package/chunks/{glob-GYFLWO23.js → glob-WKIYRMMT.js} +9 -9
- package/chunks/{goal-tools-NQKMSURK.js → goal-tools-HV3CLIHS.js} +9 -9
- package/chunks/{handleAutoUpdate-SMCAKDKC.js → handleAutoUpdate-HRNDHXUB.js} +20 -20
- package/chunks/{i18n-M37YB75J.js → i18n-HVZFWGW3.js} +18 -18
- package/chunks/{initializer-7QNGXIFH.js → initializer-DWSIIELS.js} +23 -23
- package/chunks/{installationInfo-WYK5GZ76.js → installationInfo-ZVWUHCLZ.js} +17 -17
- package/chunks/{ja-CI32MYX2.js → ja-NLAMHYSV.js} +5 -1
- package/chunks/{list-Q5BU32SE.js → list-NCUBAPVX.js} +25 -25
- package/chunks/{llm-FIJJDU6O.js → llm-I3XRIV7K.js} +48 -48
- package/chunks/{llm-content-generator-TL62ECGM.js → llm-content-generator-JDTP4LNQ.js} +4 -4
- package/chunks/{loadedSettingsAdapter-NQPUHSAO.js → loadedSettingsAdapter-WGGKXNQG.js} +23 -23
- package/chunks/{local-execution-environment-T2TD4DV6.js → local-execution-environment-OQO7VNC4.js} +14 -14
- package/chunks/{loggingContentGenerator-3FNNMRBZ.js → loggingContentGenerator-V4JGQDCX.js} +10 -10
- package/chunks/{managed-npm-update-LGPY3TA6.js → managed-npm-update-FMXICTDP.js} +17 -17
- package/chunks/{mcp-J3A5XLOV.js → mcp-J3SEZPD6.js} +23 -23
- package/chunks/{model-call-collection-5U5N23HQ.js → model-call-collection-ZZAEOS36.js} +1 -1
- package/chunks/{model-configuration-MZ6CUBPJ.js → model-configuration-6XJN6H5T.js} +24 -24
- package/chunks/{modelConfigUtils-5SJN5MCH.js → modelConfigUtils-G5GGV7WC.js} +19 -19
- package/chunks/{monitor-3B7HPA37.js → monitor-256VE4YC.js} +9 -9
- package/chunks/{nonInteractiveCli-ENHKPCSB.js → nonInteractiveCli-YXMNGEN4.js} +50 -50
- package/chunks/{nonInteractiveToolExecutor-I6XHNZQV.js → nonInteractiveToolExecutor-VQUJYEIN.js} +10 -10
- package/chunks/{notebook-edit-BOPJ7HJ5.js → notebook-edit-5K76ND3P.js} +10 -10
- package/chunks/{omni-NDS6RRPE.js → omni-J5YRDSJZ.js} +9 -9
- package/chunks/{openaiContentGenerator-FD6PKK7U.js → openaiContentGenerator-MG6XO6D3.js} +7 -7
- package/chunks/{openaiResponsesContentGenerator-CX5BJT3H.js → openaiResponsesContentGenerator-DDNG5N2E.js} +4 -4
- package/chunks/{processUtils-DYLWKVGY.js → processUtils-6QS6YSJP.js} +2 -2
- package/chunks/{prompt-terminal-ledger-GVYJCNHN.js → prompt-terminal-ledger-F33LXVB7.js} +18 -18
- package/chunks/{pt-JCXCCW4Y.js → pt-IEUSIFOV.js} +5 -1
- package/chunks/{reactive-degrade-PWOKK52Z.js → reactive-degrade-WNTQMFD2.js} +8 -8
- package/chunks/{read-file-QNL7JRBN.js → read-file-42GBL65G.js} +1 -1
- package/chunks/{resumeHistoryUtils-FBULSJIP.js → resumeHistoryUtils-5SMUCI55.js} +21 -21
- package/chunks/{ripGrep-4XTRKASX.js → ripGrep-VBY5E5MH.js} +1 -1
- package/chunks/{ru-6VYU34XF.js → ru-QXDK3EHQ.js} +5 -1
- package/chunks/{run-o1-code-serve-FXAMAHOO.js → run-o1-code-serve-MYORUH5E.js} +32 -32
- package/chunks/{sandboxConfig-QCO5DWYQ.js → sandboxConfig-GFFJJSDN.js} +17 -17
- package/chunks/{scheduled-tasks-NSSH5VOP.js → scheduled-tasks-PJ474UZV.js} +22 -22
- package/chunks/{scheduler-56522BVY.js → scheduler-V6LEZ2V4.js} +19 -19
- package/chunks/{serve-XPMWF6P2.js → serve-46N3FIK4.js} +23 -23
- package/chunks/{server-3HJUOXO6.js → server-3BVHQ6J2.js} +48 -48
- package/chunks/{session-USLQVMHK.js → session-2NV4LPAU.js} +1 -1
- package/chunks/{session-2ZGNP3JN.js → session-JSXE5OPF.js} +51 -51
- package/chunks/{session-attachments-root-CSR65ITD.js → session-attachments-root-GBMYPQLN.js} +17 -17
- package/chunks/{session-pr-refresh-7VHDYKI5.js → session-pr-refresh-WLPEN4HG.js} +21 -21
- package/chunks/{settings-7D3KTPDJ.js → settings-OPILPABT.js} +22 -22
- package/chunks/{shell-3MMVXNLH.js → shell-4D33CGFZ.js} +9 -9
- package/chunks/{skill-VD4DNOVA.js → skill-G27DFTOT.js} +1 -1
- package/chunks/{skill-settings-6G6KNY75.js → skill-settings-CRBJHBIB.js} +22 -22
- package/chunks/{spawnChannel-3G2ZEX6N.js → spawnChannel-HRZWR3CN.js} +18 -18
- package/chunks/{standalone-update-6WHFCPQK.js → standalone-update-USPU2BXC.js} +19 -19
- package/chunks/{startInteractiveUI-IE3JBVIA.js → startInteractiveUI-JPOCFNSC.js} +3512 -3300
- package/chunks/{team-create-INVD7CZA.js → team-create-V5EHA5MW.js} +9 -9
- package/chunks/{team-plan-approval-X3RPLEM5.js → team-plan-approval-KAWV6OEH.js} +9 -9
- package/chunks/{terminal-image-renderer-QKR7JHLJ.js → terminal-image-renderer-NNOO4EW5.js} +17 -17
- package/chunks/{theme-manager-JZIWFQFR.js → theme-manager-AX2EUKA3.js} +17 -17
- package/chunks/{tool-result-media-UR3332TH.js → tool-result-media-JBZOEPC7.js} +9 -9
- package/chunks/{tool-search-VFXZN2VC.js → tool-search-6XO43BMI.js} +1 -1
- package/chunks/{total-session-admission-GBM7FPBI.js → total-session-admission-R3PHRRSM.js} +19 -19
- package/chunks/{trustedFolders-GBAOKT4A.js → trustedFolders-WAF4EZIP.js} +18 -18
- package/chunks/{update-relaunch-FQYXBQMI.js → update-relaunch-PT3DZ2CG.js} +5 -5
- package/chunks/{updateCheck-HDD2DZ6Y.js → updateCheck-KLX2AIKM.js} +19 -19
- package/chunks/{upload-config-NJJI7MOI.js → upload-config-OHMP6OPM.js} +6 -6
- package/chunks/{useAutoAcceptIndicator-GITM657T.js → useAutoAcceptIndicator-FZRTJ76B.js} +25 -25
- package/chunks/{validateNonInterActiveAuth-O7MD6UW4.js → validateNonInterActiveAuth-RGA3MEJW.js} +47 -47
- package/chunks/{version-TX6H2U3L.js → version-NTM2LWL7.js} +1 -1
- package/chunks/{web-fetch-RVYBM4NU.js → web-fetch-VP66LBHF.js} +1 -1
- package/chunks/{web-search-B6W4C5JM.js → web-search-XP2ICFV7.js} +7 -7
- package/chunks/{workflow-KR7EAPUM.js → workflow-4J2PP5YJ.js} +10 -10
- package/chunks/{workspace-providers-status-2G6MBEVA.js → workspace-providers-status-XPSCK6Y4.js} +27 -27
- package/chunks/{workspace-registration-store-OH6P3EPH.js → workspace-registration-store-WZVNEVUR.js} +1 -1
- package/chunks/{workspace-registry-Y35XQZCS.js → workspace-registry-44ZZMSXR.js} +19 -19
- package/chunks/{workspace-runtime-coordinator-U3URIEFA.js → workspace-runtime-coordinator-FMU6NZRB.js} +19 -19
- package/chunks/{workspace-service-WC5WYXT6.js → workspace-service-KIKW6OZJ.js} +26 -26
- package/chunks/{workspace-skills-status-HKPF4YQD.js → workspace-skills-status-XADGSEWD.js} +23 -23
- package/chunks/{workspace-trust-reconciler-3UQXQCWY.js → workspace-trust-reconciler-6NO7CZHY.js} +25 -25
- package/chunks/{write-file-GTT4MO5C.js → write-file-IZYXGZ5T.js} +11 -11
- package/chunks/{zh-GBDJHFG4.js → zh-5CH77RQJ.js} +5 -1
- package/chunks/{zh-TW-WWN26WO4.js → zh-TW-7ASXOAM2.js} +5 -1
- package/chunks/{zoom-image-2KVDIK5E.js → zoom-image-S557GMZ4.js} +1 -1
- package/cli.js +12 -12
- package/execution-worker.js +1 -1
- package/export-transcript-document.js +1 -1
- package/locales/ca.js +7 -2
- package/locales/de.js +7 -2
- package/locales/en.js +7 -2
- package/locales/fr.js +7 -2
- package/locales/ja.js +7 -2
- package/locales/pt.js +7 -2
- package/locales/ru.js +7 -2
- package/locales/zh-TW.js +7 -2
- package/locales/zh.js +7 -2
- package/package.json +2 -2
- package/release-notes.json +12 -0
- package/vendor/tree-sitter/tree-sitter-bash.wasm +0 -0
- package/vendor/tree-sitter/tree-sitter.wasm +0 -0
- package/web-shell/assets/{abnfDiagram-VCTEODGH-Dh4ud-bV.js → abnfDiagram-VCTEODGH-Cg0Xp2Tw.js} +1 -1
- package/web-shell/assets/{arc-CzedV-8_.js → arc-rphTEhh4.js} +1 -1
- package/web-shell/assets/{architectureDiagram-5GKGNRK7-DcdBEH6f.js → architectureDiagram-5GKGNRK7-0p_fAAnq.js} +1 -1
- package/web-shell/assets/{blockDiagram-NRAW4CY4-uDeURqM8.js → blockDiagram-NRAW4CY4-BH3JNNnw.js} +1 -1
- package/web-shell/assets/{c4Diagram-UCG6FXSJ-810hyXoQ.js → c4Diagram-UCG6FXSJ-rc8S1MHn.js} +1 -1
- package/web-shell/assets/channel-DlNYawW0.js +1 -0
- package/web-shell/assets/{chunk-2Q5K7J3B-Mk0ldZt-.js → chunk-2Q5K7J3B-DwRbrHkz.js} +1 -1
- package/web-shell/assets/{chunk-5VM5RSS4-Bz2kOVPI.js → chunk-5VM5RSS4-Blh3UQwZ.js} +1 -1
- package/web-shell/assets/{chunk-F27PBJKO-CAjzX5Mt.js → chunk-F27PBJKO-B0e1jh3z.js} +1 -1
- package/web-shell/assets/{chunk-G27WJ6UU-DqvudZ0O.js → chunk-G27WJ6UU-Df4iip5-.js} +1 -1
- package/web-shell/assets/{chunk-JWPE2WC7-Dw-KeS8S.js → chunk-JWPE2WC7-NcIlL-BT.js} +1 -1
- package/web-shell/assets/{chunk-LCL6LL3I-DNF6ysro.js → chunk-LCL6LL3I-K2nq--iT.js} +1 -1
- package/web-shell/assets/{chunk-POPQ4Y6H-DWU0wpHI.js → chunk-POPQ4Y6H-DrBmyqZi.js} +1 -1
- package/web-shell/assets/{chunk-SVP7TREG-BQOJiqUJ.js → chunk-SVP7TREG-CeZbeCh2.js} +1 -1
- package/web-shell/assets/{chunk-XXDRQBXY-icpdUXXf.js → chunk-XXDRQBXY-CILpFXGE.js} +1 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-Pb7sErU1.js +1 -0
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-Pb7sErU1.js +1 -0
- package/web-shell/assets/{cose-bilkent-JH36ORCC-BS-UzOw7.js → cose-bilkent-JH36ORCC-BdbRNemt.js} +1 -1
- package/web-shell/assets/{cynefin-OW5HDTMX-BWgRJWKh.js → cynefin-OW5HDTMX-YdU66rB9.js} +1 -1
- package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-C6kE3QdM.js → cynefinDiagram-5FMLGOSQ-B7Qbs43o.js} +1 -1
- package/web-shell/assets/{dagre-3AP2YEHR-DHbMoz2D.js → dagre-3AP2YEHR-DjFBdOXy.js} +1 -1
- package/web-shell/assets/{diagram-S7CK7UJ4-8S4HP9wv.js → diagram-S7CK7UJ4-BFyq2fgr.js} +1 -1
- package/web-shell/assets/{diagram-UQ7AKVKN-CDM_fDvK.js → diagram-UQ7AKVKN-BOTy1iYo.js} +1 -1
- package/web-shell/assets/{diagram-VSXAHHWV-Jt_YgGmQ.js → diagram-VSXAHHWV-C8C3WpaU.js} +1 -1
- package/web-shell/assets/{diagram-VX7I27RA-jgA2EN0U.js → diagram-VX7I27RA-CPpyCd4x.js} +1 -1
- package/web-shell/assets/{diagram-Z3DM3KII-34lWgOek.js → diagram-Z3DM3KII-BIFnz7s9.js} +1 -1
- package/web-shell/assets/{ebnfDiagram-PWID7BFC-DkXkay_a.js → ebnfDiagram-PWID7BFC-iUSR9gqd.js} +1 -1
- package/web-shell/assets/{erDiagram-SSCWMZ5O-2F7Ae8PJ.js → erDiagram-SSCWMZ5O-BxiEvDA6.js} +1 -1
- package/web-shell/assets/{flowDiagram-A5DVABFB-DEp8HZ1Z.js → flowDiagram-A5DVABFB-M76KZLej.js} +1 -1
- package/web-shell/assets/{ganttDiagram-EL5Y4UJY-DB9PwX6e.js → ganttDiagram-EL5Y4UJY-CZ2mArt8.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-CIudOlp-.js → gitGraphDiagram-WWUBYQGX-CWJIKJmc.js} +1 -1
- package/web-shell/assets/{index-BLTYMaXa.js → index-BNf4IfnC.js} +3 -3
- package/web-shell/assets/{index-DsGnZKQl.js → index-CZ27ab4T.js} +1 -1
- package/web-shell/assets/{infoDiagram-RXCK75RN-Csm0vHSo.js → infoDiagram-RXCK75RN-D18B0_ca.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-5VMMS53U-CLJXnHlY.js → ishikawaDiagram-5VMMS53U-DfCDM8y8.js} +1 -1
- package/web-shell/assets/{journeyDiagram-EYS64GPL-Cf92U7ZB.js → journeyDiagram-EYS64GPL-B3OIQ6ta.js} +1 -1
- package/web-shell/assets/{kanban-definition-3QL26DDD-Dh7Te4fu.js → kanban-definition-3QL26DDD-Dz5gq3kf.js} +1 -1
- package/web-shell/assets/{layout-B5ALjnq4.js → layout-q0Uvupeg.js} +1 -1
- package/web-shell/assets/{linear-CGxKsCj8.js → linear-D6PjPEhu.js} +1 -1
- package/web-shell/assets/{mermaid.core-B_e-IZNF.js → mermaid.core-C1SesJq-.js} +6 -6
- package/web-shell/assets/{mindmap-definition-FBJOCRG2-BftMDT3T.js → mindmap-definition-FBJOCRG2-tZK1b2sh.js} +1 -1
- package/web-shell/assets/{pegDiagram-XKGWAZYB-CruSZoUh.js → pegDiagram-XKGWAZYB-CXeMvnyo.js} +1 -1
- package/web-shell/assets/{pieDiagram-E7YTZNPT-Bi9haYEh.js → pieDiagram-E7YTZNPT-CM6WSRW2.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-AXDQQJYC-BY4w8seK.js → quadrantDiagram-AXDQQJYC-B_nn8GtX.js} +1 -1
- package/web-shell/assets/{railroadDiagram-O6MQD6OU-moN3YnCi.js → railroadDiagram-O6MQD6OU-BgEBqzTy.js} +1 -1
- package/web-shell/assets/{requirementDiagram-EFPCY7ZU-B--U5ed4.js → requirementDiagram-EFPCY7ZU-Do3G1pAu.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-P5KCCOFB-DD3-WWOa.js → sankeyDiagram-P5KCCOFB-CAUrDEv2.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-7AYhwUmK.js → sequenceDiagram-WJ2MYXX4-BikOgxJW.js} +1 -1
- package/web-shell/assets/{sizeCapture-X5ZJPWSS-DM0iKsnv.js → sizeCapture-X5ZJPWSS-NV_NLe2S.js} +1 -1
- package/web-shell/assets/{stateDiagram-HBIQ2CUA-DpTV0LVR.js → stateDiagram-HBIQ2CUA-okqHnoAS.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-DbmbUf_b.js +1 -0
- package/web-shell/assets/{swimlanes-XN3QIQJK-CsGNhmi3.js → swimlanes-XN3QIQJK-Pdy2CRFu.js} +1 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-DXlYVFfg.js +8 -0
- package/web-shell/assets/{timeline-definition-24CTP7MA-C4M08jyd.js → timeline-definition-24CTP7MA-DENLkwDH.js} +1 -1
- package/web-shell/assets/{vennDiagram-4TSXK5OY-B3fw4hM4.js → vennDiagram-4TSXK5OY-B3E4CKso.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-VM6X3IG4-DC9yoqPT.js → wardleyDiagram-VM6X3IG4-Cf9juwQI.js} +1 -1
- package/web-shell/assets/{xychartDiagram-S5SC5T6Z-BgQUydcN.js → xychartDiagram-S5SC5T6Z-BfKZ5YBB.js} +1 -1
- package/web-shell/index.html +1 -1
- package/web-shell/sw.js +1 -1
- package/vendor/o1-connect/.lintstagedrc.mjs +0 -7
- package/web-shell/assets/channel-v3XEMgos.js +0 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-B9FB6o4A.js +0 -1
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-B9FB6o4A.js +0 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-BePrySOz.js +0 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-PnJ6YOB7.js +0 -8
|
@@ -168,7 +168,7 @@ import {
|
|
|
168
168
|
import {
|
|
169
169
|
buildModelIdContext,
|
|
170
170
|
resolveModelId
|
|
171
|
-
} from "./chunk-
|
|
171
|
+
} from "./chunk-BXK3DJCG.js";
|
|
172
172
|
import {
|
|
173
173
|
glob,
|
|
174
174
|
globSync
|
|
@@ -191,7 +191,7 @@ import {
|
|
|
191
191
|
} from "./chunk-HPQNI3OQ.js";
|
|
192
192
|
import {
|
|
193
193
|
isOmniDeliveryActive
|
|
194
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-K6XL57WQ.js";
|
|
195
195
|
import {
|
|
196
196
|
MediaResourceRegistry,
|
|
197
197
|
evaluateMediaPolicyToolCall,
|
|
@@ -332,7 +332,7 @@ import {
|
|
|
332
332
|
import {
|
|
333
333
|
DashScopeOpenAICompatibleProvider,
|
|
334
334
|
selectDashScopeThinkingKnob
|
|
335
|
-
} from "./chunk-
|
|
335
|
+
} from "./chunk-7FOYGJNM.js";
|
|
336
336
|
import {
|
|
337
337
|
childLaunchDepth,
|
|
338
338
|
getCurrentAgentConfiguredToolAllowlist,
|
|
@@ -396,7 +396,7 @@ import {
|
|
|
396
396
|
resolveReasoningCapabilities,
|
|
397
397
|
resolveReasoningForModel,
|
|
398
398
|
validateReasoningCapabilities
|
|
399
|
-
} from "./chunk-
|
|
399
|
+
} from "./chunk-7E65VZVK.js";
|
|
400
400
|
import {
|
|
401
401
|
addDaemonRequestAttribute
|
|
402
402
|
} from "./chunk-55BVGW3L.js";
|
|
@@ -735,7 +735,7 @@ import {
|
|
|
735
735
|
resolveProviderProtocol,
|
|
736
736
|
resolveSavedModelApiKey,
|
|
737
737
|
stripRuntimeSnapshotPrefix
|
|
738
|
-
} from "./chunk-
|
|
738
|
+
} from "./chunk-YRCNLI2J.js";
|
|
739
739
|
import {
|
|
740
740
|
DEFAULT_TOKEN_LIMIT,
|
|
741
741
|
OUTPUT_TOKEN_CEILING,
|
|
@@ -761,7 +761,7 @@ import {
|
|
|
761
761
|
createContentGenerator,
|
|
762
762
|
resetPreloadedContentGenerator,
|
|
763
763
|
resolveContentGeneratorConfigWithSources
|
|
764
|
-
} from "./chunk-
|
|
764
|
+
} from "./chunk-DUGEG2BK.js";
|
|
765
765
|
import {
|
|
766
766
|
DEFAULT_O1CODE_MODEL
|
|
767
767
|
} from "./chunk-LEXKU5FI.js";
|
|
@@ -14147,8 +14147,69 @@ __name(finalizeToolResponses, "finalizeToolResponses");
|
|
|
14147
14147
|
|
|
14148
14148
|
// packages/core/src/core/xml-tool-call-fallback.ts
|
|
14149
14149
|
init_esbuild_shims();
|
|
14150
|
-
var INVOKE_PATTERN = /<invoke\s+name=["']([^"']+)["']>([\s\S]*?)<\/invoke>/g;
|
|
14151
|
-
var PARAMETER_PATTERN = /<parameter
|
|
14150
|
+
var INVOKE_PATTERN = /<invoke\s+name=["']([^"']+)["']>([\s\S]*?)<\/invoke>|<tool_call>\s*<function=([^>]+)>([\s\S]*?)<\/function>\s*<\/tool_call>/g;
|
|
14151
|
+
var PARAMETER_PATTERN = /<parameter(?:\s+name=["']([^"']+)["']|=([^>]+))>([\s\S]*?)<\/parameter>/g;
|
|
14152
|
+
var XmlToolCallTextBuffer = class {
|
|
14153
|
+
static {
|
|
14154
|
+
__name(this, "XmlToolCallTextBuffer");
|
|
14155
|
+
}
|
|
14156
|
+
text = "";
|
|
14157
|
+
emittedLength = 0;
|
|
14158
|
+
holding = false;
|
|
14159
|
+
accept(text) {
|
|
14160
|
+
this.text += text;
|
|
14161
|
+
if (this.holding) return "";
|
|
14162
|
+
const prefixes = ["<tool_call>", "<invoke ", "<function_calls>"];
|
|
14163
|
+
for (let i = this.emittedLength; i < this.text.length; i++) {
|
|
14164
|
+
if (this.text[i] !== "<") continue;
|
|
14165
|
+
const suffix = this.text.slice(i);
|
|
14166
|
+
if (prefixes.some((prefix) => suffix.startsWith(prefix)) && !positionInsideFence(this.text, i, computeInvokeRanges(this.text))) {
|
|
14167
|
+
this.holding = true;
|
|
14168
|
+
const output2 = this.text.slice(this.emittedLength, i);
|
|
14169
|
+
this.emittedLength = i;
|
|
14170
|
+
return output2;
|
|
14171
|
+
}
|
|
14172
|
+
if (prefixes.some((prefix) => prefix.startsWith(suffix))) {
|
|
14173
|
+
const output2 = this.text.slice(this.emittedLength, i);
|
|
14174
|
+
this.emittedLength = i;
|
|
14175
|
+
return output2;
|
|
14176
|
+
}
|
|
14177
|
+
}
|
|
14178
|
+
const output = this.text.slice(this.emittedLength);
|
|
14179
|
+
this.emittedLength = this.text.length;
|
|
14180
|
+
return output;
|
|
14181
|
+
}
|
|
14182
|
+
get buffered() {
|
|
14183
|
+
return this.emittedLength < this.text.length;
|
|
14184
|
+
}
|
|
14185
|
+
get remainingText() {
|
|
14186
|
+
return this.text.slice(this.emittedLength);
|
|
14187
|
+
}
|
|
14188
|
+
remainingRecoveredText() {
|
|
14189
|
+
return tryRecoverXmlToolCalls(this.remainingText).remainingText;
|
|
14190
|
+
}
|
|
14191
|
+
};
|
|
14192
|
+
function coerceXmlToolCallArguments(args, schema) {
|
|
14193
|
+
if (typeof schema !== "object" || schema === null || !("properties" in schema))
|
|
14194
|
+
return;
|
|
14195
|
+
const properties = schema.properties;
|
|
14196
|
+
if (typeof properties !== "object" || properties === null) return;
|
|
14197
|
+
for (const [name, value] of Object.entries(args)) {
|
|
14198
|
+
if (typeof value !== "string" || !(name in properties)) continue;
|
|
14199
|
+
const property = properties[name];
|
|
14200
|
+
if (typeof property !== "object" || property === null || !("type" in property))
|
|
14201
|
+
continue;
|
|
14202
|
+
const types = Array.isArray(property.type) ? property.type : [property.type];
|
|
14203
|
+
if (types.includes("string")) continue;
|
|
14204
|
+
try {
|
|
14205
|
+
const parsed = JSON.parse(value);
|
|
14206
|
+
if (typeof parsed === "number" && Number.isFinite(parsed) && (types.includes("number") || types.includes("integer") && Number.isInteger(parsed)) || typeof parsed === "boolean" && types.includes("boolean") || parsed === null && types.includes("null"))
|
|
14207
|
+
args[name] = parsed;
|
|
14208
|
+
} catch {
|
|
14209
|
+
}
|
|
14210
|
+
}
|
|
14211
|
+
}
|
|
14212
|
+
__name(coerceXmlToolCallArguments, "coerceXmlToolCallArguments");
|
|
14152
14213
|
function containsXmlToolCalls(text) {
|
|
14153
14214
|
INVOKE_PATTERN.lastIndex = 0;
|
|
14154
14215
|
return INVOKE_PATTERN.test(text);
|
|
@@ -14222,15 +14283,15 @@ function extractXmlToolCalls(text) {
|
|
|
14222
14283
|
if (positionInsideFence(text, match.index, invokeRanges)) {
|
|
14223
14284
|
continue;
|
|
14224
14285
|
}
|
|
14225
|
-
const toolName = match[1];
|
|
14226
|
-
const paramsBlock = match[2];
|
|
14286
|
+
const toolName = match[1] ?? match[3];
|
|
14287
|
+
const paramsBlock = match[2] ?? match[4];
|
|
14227
14288
|
const args = /* @__PURE__ */ Object.create(null);
|
|
14228
14289
|
PARAMETER_PATTERN.lastIndex = 0;
|
|
14229
14290
|
let paramMatch;
|
|
14230
14291
|
while ((paramMatch = PARAMETER_PATTERN.exec(paramsBlock)) !== null) {
|
|
14231
|
-
const paramName = paramMatch[1];
|
|
14292
|
+
const paramName = paramMatch[1] ?? paramMatch[2];
|
|
14232
14293
|
const paramValue = decodeXmlEntities(
|
|
14233
|
-
stripDelimitingNewlines(paramMatch[
|
|
14294
|
+
stripDelimitingNewlines(paramMatch[3])
|
|
14234
14295
|
);
|
|
14235
14296
|
args[paramName] = parseParameterValue(paramValue);
|
|
14236
14297
|
}
|
|
@@ -14255,7 +14316,7 @@ function tryRecoverXmlToolCalls(text) {
|
|
|
14255
14316
|
INVOKE_PATTERN.lastIndex = 0;
|
|
14256
14317
|
const remainingText = text.replace(
|
|
14257
14318
|
INVOKE_PATTERN,
|
|
14258
|
-
(block2,
|
|
14319
|
+
(block2, _invokeName, _invokeBody, _functionName, _functionBody, offset) => {
|
|
14259
14320
|
if (positionInsideFence(text, offset, invokeRanges)) {
|
|
14260
14321
|
return block2;
|
|
14261
14322
|
}
|
|
@@ -34561,7 +34622,7 @@ var LlmChat = class {
|
|
|
34561
34622
|
const degradeAttempt = omniMediaDegradeAttempts++;
|
|
34562
34623
|
let degradeOutcome;
|
|
34563
34624
|
try {
|
|
34564
|
-
const { degradeOmniMediaAfterServerReject } = await import("./reactive-degrade-
|
|
34625
|
+
const { degradeOmniMediaAfterServerReject } = await import("./reactive-degrade-WNTQMFD2.js");
|
|
34565
34626
|
degradeOutcome = await degradeOmniMediaAfterServerReject(
|
|
34566
34627
|
self2.config,
|
|
34567
34628
|
self2.history,
|
|
@@ -35670,6 +35731,15 @@ This error was probably caused by cyclic schema references in one of the followi
|
|
|
35670
35731
|
let usageMetadata;
|
|
35671
35732
|
let coercedUsage;
|
|
35672
35733
|
let hasToolCall = false;
|
|
35734
|
+
const xmlTextBuffer = new XmlToolCallTextBuffer();
|
|
35735
|
+
const heldXmlCalls = [];
|
|
35736
|
+
const deliveredXmlParts = [];
|
|
35737
|
+
const hasEmptyRequiredArguments = /* @__PURE__ */ __name((part) => {
|
|
35738
|
+
const call = part.functionCall;
|
|
35739
|
+
if (!call || Object.keys(call.args ?? {}).length > 0) return false;
|
|
35740
|
+
const schema = this.config.getToolRegistry()?.getTool?.(call.name ?? "")?.schema.parametersJsonSchema;
|
|
35741
|
+
return typeof schema === "object" && schema !== null && "required" in schema && Array.isArray(schema.required) && schema.required.length > 0;
|
|
35742
|
+
}, "hasEmptyRequiredArguments");
|
|
35673
35743
|
let hasFinishReason = false;
|
|
35674
35744
|
let closedFinishReason;
|
|
35675
35745
|
const protocolTagDetector = new LeadingProtocolTagLeakDetector();
|
|
@@ -35845,12 +35915,42 @@ This error was probably caused by cyclic schema references in one of the followi
|
|
|
35845
35915
|
}
|
|
35846
35916
|
}
|
|
35847
35917
|
if (!chunk.candidates?.length || preparations.length > 0 || !protocolTextWasSuppressed || !protocolTagDetector.blockingOutput) {
|
|
35918
|
+
const parts2 = chunk.candidates?.[0]?.content?.parts;
|
|
35919
|
+
if (parts2) {
|
|
35920
|
+
const visibleParts = [];
|
|
35921
|
+
for (const part of parts2) {
|
|
35922
|
+
if (typeof part.text === "string" && !part.thought) {
|
|
35923
|
+
const text = xmlTextBuffer.accept(part.text);
|
|
35924
|
+
if (text) visibleParts.push({ ...part, text });
|
|
35925
|
+
} else {
|
|
35926
|
+
visibleParts.push(part);
|
|
35927
|
+
}
|
|
35928
|
+
}
|
|
35929
|
+
const deliveredParts = visibleParts.filter((part) => {
|
|
35930
|
+
const call = part.functionCall;
|
|
35931
|
+
if (call && Object.keys(call.args ?? {}).length === 0 && (xmlTextBuffer.buffered || hasEmptyRequiredArguments(part))) {
|
|
35932
|
+
heldXmlCalls.push(part);
|
|
35933
|
+
return false;
|
|
35934
|
+
}
|
|
35935
|
+
return true;
|
|
35936
|
+
});
|
|
35937
|
+
chunk.candidates[0].content = {
|
|
35938
|
+
...chunk.candidates[0].content,
|
|
35939
|
+
parts: deliveredParts
|
|
35940
|
+
};
|
|
35941
|
+
syncFunctionCallsField(chunk, deliveredParts);
|
|
35942
|
+
deliveredXmlParts.push(...deliveredParts);
|
|
35943
|
+
}
|
|
35848
35944
|
yield chunk;
|
|
35849
35945
|
}
|
|
35850
35946
|
}
|
|
35851
35947
|
} catch (e) {
|
|
35852
35948
|
streamError = e;
|
|
35853
35949
|
} finally {
|
|
35950
|
+
if ((streamError !== null || abortSignal?.aborted) && (xmlTextBuffer.buffered || heldXmlCalls.length > 0)) {
|
|
35951
|
+
allModelParts.splice(0, allModelParts.length, ...deliveredXmlParts);
|
|
35952
|
+
hasToolCall = allModelParts.some((part) => part.functionCall);
|
|
35953
|
+
}
|
|
35854
35954
|
if (abortSignal?.aborted) {
|
|
35855
35955
|
let parts2 = consolidateModelResponseParts(allModelParts);
|
|
35856
35956
|
dropDanglingUnsignedTrailingThought(parts2, hasToolCall);
|
|
@@ -35918,7 +36018,7 @@ This error was probably caused by cyclic schema references in one of the followi
|
|
|
35918
36018
|
) : contentText;
|
|
35919
36019
|
const hasAnyContent = contentText || thoughtText;
|
|
35920
36020
|
const lacksVisibleToolResultProgress = isToolResultContinuation && (!contentText || contentText === GEMINI_EMPTY_CONTENT_PLACEHOLDER);
|
|
35921
|
-
if (streamError !== null && !hasToolCall && closedFinishReason !== void 0 && completedText && hasAnyContent && !lacksVisibleToolResultProgress) {
|
|
36021
|
+
if (streamError !== null && !hasToolCall && !xmlTextBuffer.buffered && heldXmlCalls.length === 0 && closedFinishReason !== void 0 && completedText && hasAnyContent && !lacksVisibleToolResultProgress) {
|
|
35922
36022
|
const trailingErrorClassification = classifyRetryError(
|
|
35923
36023
|
streamError,
|
|
35924
36024
|
retryClassificationContext
|
|
@@ -35935,9 +36035,66 @@ This error was probably caused by cyclic schema references in one of the followi
|
|
|
35935
36035
|
}
|
|
35936
36036
|
}
|
|
35937
36037
|
let recoveredChunk = null;
|
|
35938
|
-
if (streamError === null &&
|
|
36038
|
+
if (streamError === null && hasFinishReason && contentText && containsXmlToolCalls(contentText)) {
|
|
35939
36039
|
const recovery = tryRecoverXmlToolCalls(contentText);
|
|
35940
36040
|
if (recovery.recovered) {
|
|
36041
|
+
const residual = new XmlToolCallTextBuffer();
|
|
36042
|
+
residual.accept(recovery.remainingText);
|
|
36043
|
+
if (residual.buffered && !containsXmlToolCalls(residual.remainingText) && /^<(?:tool_call>|function_calls>|invoke\s)/.test(
|
|
36044
|
+
residual.remainingText
|
|
36045
|
+
)) {
|
|
36046
|
+
throw new InvalidStreamError(
|
|
36047
|
+
"Model response contained an incomplete XML tool call.",
|
|
36048
|
+
"MALFORMED_TOOL_CALL"
|
|
36049
|
+
);
|
|
36050
|
+
}
|
|
36051
|
+
}
|
|
36052
|
+
if (recovery.recovered && hasToolCall) {
|
|
36053
|
+
const nativeCalls = consolidatedHistoryParts.filter(
|
|
36054
|
+
(p2) => p2.functionCall
|
|
36055
|
+
);
|
|
36056
|
+
const repairCandidates = heldXmlCalls.filter(hasEmptyRequiredArguments);
|
|
36057
|
+
const canRepair = repairCandidates.length > 0 && repairCandidates.length === recovery.functionCallParts.length && repairCandidates.every(
|
|
36058
|
+
(part, index) => part.functionCall?.name === recovery.functionCallParts[index]?.functionCall?.name && Object.keys(part.functionCall?.args ?? {}).length === 0
|
|
36059
|
+
);
|
|
36060
|
+
const hasCompleteNativeCalls = nativeCalls.every(
|
|
36061
|
+
(part) => !hasEmptyRequiredArguments(part)
|
|
36062
|
+
);
|
|
36063
|
+
if (!canRepair && !hasCompleteNativeCalls) {
|
|
36064
|
+
throw new InvalidStreamError(
|
|
36065
|
+
"Model response mixed incompatible XML and structured tool calls.",
|
|
36066
|
+
"MALFORMED_TOOL_CALL"
|
|
36067
|
+
);
|
|
36068
|
+
}
|
|
36069
|
+
if (hasCompleteNativeCalls) {
|
|
36070
|
+
recovery.functionCallParts = heldXmlCalls;
|
|
36071
|
+
} else {
|
|
36072
|
+
const recoveredCalls = recovery.functionCallParts;
|
|
36073
|
+
recovery.functionCallParts = heldXmlCalls.map((part) => {
|
|
36074
|
+
const index = repairCandidates.indexOf(part);
|
|
36075
|
+
if (index < 0) return part;
|
|
36076
|
+
const recovered = recoveredCalls[index];
|
|
36077
|
+
recovered.functionCall.id = part.functionCall.id;
|
|
36078
|
+
return recovered;
|
|
36079
|
+
});
|
|
36080
|
+
}
|
|
36081
|
+
const heldIds = new Set(
|
|
36082
|
+
heldXmlCalls.map((part) => part.functionCall?.id)
|
|
36083
|
+
);
|
|
36084
|
+
for (let i = consolidatedHistoryParts.length - 1; i >= 0; i--) {
|
|
36085
|
+
const part = consolidatedHistoryParts[i];
|
|
36086
|
+
if (part.functionCall && heldIds.has(part.functionCall.id))
|
|
36087
|
+
consolidatedHistoryParts.splice(i, 1);
|
|
36088
|
+
}
|
|
36089
|
+
}
|
|
36090
|
+
if (recovery.recovered) {
|
|
36091
|
+
for (const part of recovery.functionCallParts) {
|
|
36092
|
+
const call = part.functionCall;
|
|
36093
|
+
coerceXmlToolCallArguments(
|
|
36094
|
+
call.args ?? {},
|
|
36095
|
+
this.config.getToolRegistry()?.getTool?.(call.name ?? "")?.schema.parametersJsonSchema
|
|
36096
|
+
);
|
|
36097
|
+
}
|
|
35941
36098
|
hasToolCall = true;
|
|
35942
36099
|
const lastPartBeforeRemoval = consolidatedHistoryParts[consolidatedHistoryParts.length - 1];
|
|
35943
36100
|
const hadTrailingDanglingThought = Boolean(
|
|
@@ -35970,7 +36127,17 @@ This error was probably caused by cyclic schema references in one of the followi
|
|
|
35970
36127
|
const syntheticChunk = {
|
|
35971
36128
|
candidates: [
|
|
35972
36129
|
{
|
|
35973
|
-
content: {
|
|
36130
|
+
content: {
|
|
36131
|
+
role: "model",
|
|
36132
|
+
parts: [
|
|
36133
|
+
...xmlTextBuffer.remainingRecoveredText() ? [
|
|
36134
|
+
{
|
|
36135
|
+
text: xmlTextBuffer.remainingRecoveredText()
|
|
36136
|
+
}
|
|
36137
|
+
] : [],
|
|
36138
|
+
...recovery.functionCallParts
|
|
36139
|
+
]
|
|
36140
|
+
}
|
|
35974
36141
|
}
|
|
35975
36142
|
]
|
|
35976
36143
|
};
|
|
@@ -35985,6 +36152,26 @@ This error was probably caused by cyclic schema references in one of the followi
|
|
|
35985
36152
|
);
|
|
35986
36153
|
}
|
|
35987
36154
|
}
|
|
36155
|
+
if (streamError === null && !recoveredChunk && (xmlTextBuffer.buffered || heldXmlCalls.length > 0)) {
|
|
36156
|
+
const text = xmlTextBuffer.remainingText;
|
|
36157
|
+
if (/^<(?:tool_call>|function_calls>|invoke\s)/.test(text) && !containsXmlToolCalls(text)) {
|
|
36158
|
+
throw new InvalidStreamError(
|
|
36159
|
+
"Model response contained an incomplete XML tool call.",
|
|
36160
|
+
"MALFORMED_TOOL_CALL"
|
|
36161
|
+
);
|
|
36162
|
+
}
|
|
36163
|
+
recoveredChunk = {
|
|
36164
|
+
candidates: [
|
|
36165
|
+
{
|
|
36166
|
+
content: {
|
|
36167
|
+
role: "model",
|
|
36168
|
+
parts: [...text ? [{ text }] : [], ...heldXmlCalls]
|
|
36169
|
+
}
|
|
36170
|
+
}
|
|
36171
|
+
]
|
|
36172
|
+
};
|
|
36173
|
+
syncFunctionCallsField(recoveredChunk, heldXmlCalls);
|
|
36174
|
+
}
|
|
35988
36175
|
if (streamError === null && protocolTagDetector.leaked && !hasToolCall) {
|
|
35989
36176
|
throw new InvalidStreamError(
|
|
35990
36177
|
"Model response started with leaked protocol tags.",
|
|
@@ -72349,7 +72536,7 @@ var CoreToolScheduler = class _CoreToolScheduler {
|
|
|
72349
72536
|
const notices = [];
|
|
72350
72537
|
let omniProcessed = responseParts;
|
|
72351
72538
|
if (this.config.isOmniEnabled?.()) {
|
|
72352
|
-
const { processToolResultOmniMedia } = await import("./tool-result-media-
|
|
72539
|
+
const { processToolResultOmniMedia } = await import("./tool-result-media-JBZOEPC7.js");
|
|
72353
72540
|
omniProcessed = await processToolResultOmniMedia(
|
|
72354
72541
|
responseParts,
|
|
72355
72542
|
this.config,
|
|
@@ -75516,7 +75703,7 @@ ${body}
|
|
|
75516
75703
|
artifacts: toolResult.artifacts
|
|
75517
75704
|
} : void 0;
|
|
75518
75705
|
if (policyArtifacts && policyArtifacts.executionOrigin.kind !== "fixed_policy" && scheduledCall.tool.mediaPolicyDescriptor) {
|
|
75519
|
-
const { collectModelPolicyCall } = await import("./model-call-collection-
|
|
75706
|
+
const { collectModelPolicyCall } = await import("./model-call-collection-ZZAEOS36.js");
|
|
75520
75707
|
await collectModelPolicyCall({
|
|
75521
75708
|
config: this.config,
|
|
75522
75709
|
batch: policyArtifacts,
|
|
@@ -169758,7 +169945,7 @@ var Config = class _Config {
|
|
|
169758
169945
|
await this.proxyDispatcherReady;
|
|
169759
169946
|
options2?.signal?.throwIfAborted();
|
|
169760
169947
|
if (this.isOmniEnabled()) {
|
|
169761
|
-
const { normalizeDedicatedOmniUploadConfig } = await import("./upload-config-
|
|
169948
|
+
const { normalizeDedicatedOmniUploadConfig } = await import("./upload-config-OHMP6OPM.js");
|
|
169762
169949
|
this.omniUploadConfig = normalizeDedicatedOmniUploadConfig({
|
|
169763
169950
|
baseUrl: this.omniUploadBaseUrl,
|
|
169764
169951
|
apiKeyEnv: this.omniUploadApiKeyEnv,
|
|
@@ -173671,7 +173858,7 @@ var Config = class _Config {
|
|
|
173671
173858
|
return this.omniPolicyTools;
|
|
173672
173859
|
}
|
|
173673
173860
|
async loadOmniMediaReader() {
|
|
173674
|
-
return import("./omni-
|
|
173861
|
+
return import("./omni-J5YRDSJZ.js");
|
|
173675
173862
|
}
|
|
173676
173863
|
/** Normalized `omni.processing` view. Undefined until tool warmup
|
|
173677
173864
|
* completes (or when omni is disabled). */
|
|
@@ -175280,7 +175467,7 @@ var Config = class _Config {
|
|
|
175280
175467
|
async registerWorkflowTool(registry4) {
|
|
175281
175468
|
if (registry4.getAllToolNames().includes(ToolNames.WORKFLOW)) return true;
|
|
175282
175469
|
await this.registerLazyTool(registry4, ToolNames.WORKFLOW, async () => {
|
|
175283
|
-
const { WorkflowTool } = await import("./workflow-
|
|
175470
|
+
const { WorkflowTool } = await import("./workflow-4J2PP5YJ.js");
|
|
175284
175471
|
return new WorkflowTool(this);
|
|
175285
175472
|
});
|
|
175286
175473
|
return registry4.getAllToolNames().includes(ToolNames.WORKFLOW);
|
|
@@ -175360,16 +175547,16 @@ var Config = class _Config {
|
|
|
175360
175547
|
const registerGoalWorkerTools = /* @__PURE__ */ __name(async () => {
|
|
175361
175548
|
if (options2?.forSubAgent) return;
|
|
175362
175549
|
await registerLazy(ToolNames.GET_GOAL, async () => {
|
|
175363
|
-
const { GetGoalTool: GetGoalTool2 } = await import("./goal-tools-
|
|
175550
|
+
const { GetGoalTool: GetGoalTool2 } = await import("./goal-tools-HV3CLIHS.js");
|
|
175364
175551
|
return new GetGoalTool2(this);
|
|
175365
175552
|
});
|
|
175366
175553
|
await registerLazy(ToolNames.UPDATE_GOAL, async () => {
|
|
175367
|
-
const { UpdateGoalTool: UpdateGoalTool2 } = await import("./goal-tools-
|
|
175554
|
+
const { UpdateGoalTool: UpdateGoalTool2 } = await import("./goal-tools-HV3CLIHS.js");
|
|
175368
175555
|
return new UpdateGoalTool2(this);
|
|
175369
175556
|
});
|
|
175370
175557
|
if (this.getModelProposedGoals() !== "disabled" && (resolveInteractionMode(this) === "interactive" || this.goalProposalHostSupported)) {
|
|
175371
175558
|
await registerLazy(ToolNames.PROPOSE_GOAL, async () => {
|
|
175372
|
-
const { ProposeGoalTool: ProposeGoalTool2 } = await import("./goal-tools-
|
|
175559
|
+
const { ProposeGoalTool: ProposeGoalTool2 } = await import("./goal-tools-HV3CLIHS.js");
|
|
175373
175560
|
return new ProposeGoalTool2(this);
|
|
175374
175561
|
});
|
|
175375
175562
|
}
|
|
@@ -175389,16 +175576,16 @@ var Config = class _Config {
|
|
|
175389
175576
|
});
|
|
175390
175577
|
}
|
|
175391
175578
|
await registerLazy(ToolNames.WEB_FETCH, async () => {
|
|
175392
|
-
const { WebFetchTool } = await import("./web-fetch-
|
|
175579
|
+
const { WebFetchTool } = await import("./web-fetch-VP66LBHF.js");
|
|
175393
175580
|
return new WebFetchTool(this);
|
|
175394
175581
|
});
|
|
175395
175582
|
const hasExplicitWebSearchBackend = !!this.webSearchSettings?.model?.trim() || !!this.webSearchSettings?.baseUrl;
|
|
175396
175583
|
if (!this.getBareMode() && !this.isSafeMode() && this.webSearchSettings?.enabled !== false && (this.webSearchSettings?.enabled === true || !hasExplicitWebSearchBackend)) {
|
|
175397
|
-
const { evaluateWebSearchGate } = await import("./web-search-
|
|
175584
|
+
const { evaluateWebSearchGate } = await import("./web-search-XP2ICFV7.js");
|
|
175398
175585
|
const gate = evaluateWebSearchGate(this);
|
|
175399
175586
|
if (gate.ok) {
|
|
175400
175587
|
await registerLazy(ToolNames.WEB_SEARCH, async () => {
|
|
175401
|
-
const { WebSearchTool } = await import("./web-search-
|
|
175588
|
+
const { WebSearchTool } = await import("./web-search-XP2ICFV7.js");
|
|
175402
175589
|
return new WebSearchTool(this);
|
|
175403
175590
|
});
|
|
175404
175591
|
} else if (!gate.silent && !this.webSearchNoticeEmitted && !options2?.forSubAgent) {
|
|
@@ -175415,8 +175602,8 @@ var Config = class _Config {
|
|
|
175415
175602
|
);
|
|
175416
175603
|
}
|
|
175417
175604
|
const [{ createExecutionTools }, { wrapExecutionTool }] = await Promise.all([
|
|
175418
|
-
import("./local-execution-environment-
|
|
175419
|
-
import("./execution-tool-
|
|
175605
|
+
import("./local-execution-environment-OQO7VNC4.js"),
|
|
175606
|
+
import("./execution-tool-72NVMLBX.js")
|
|
175420
175607
|
]);
|
|
175421
175608
|
for (const [name, tool] of createExecutionTools(this)) {
|
|
175422
175609
|
if (environment.toolNames && !environment.toolNames.has(name)) continue;
|
|
@@ -175431,7 +175618,7 @@ var Config = class _Config {
|
|
|
175431
175618
|
return new ToolCallTool(registry4);
|
|
175432
175619
|
});
|
|
175433
175620
|
await registerLazy(ToolNames.TOOL_SEARCH, async () => {
|
|
175434
|
-
const { ToolSearchTool } = await import("./tool-search-
|
|
175621
|
+
const { ToolSearchTool } = await import("./tool-search-6XO43BMI.js");
|
|
175435
175622
|
return new ToolSearchTool(this);
|
|
175436
175623
|
});
|
|
175437
175624
|
if (this.executionEnvironment && !options2?.forSubAgent) {
|
|
@@ -175443,7 +175630,7 @@ var Config = class _Config {
|
|
|
175443
175630
|
}
|
|
175444
175631
|
if (this.shellExecutionSandbox) {
|
|
175445
175632
|
await registerLazy(ToolNames.SHELL, async () => {
|
|
175446
|
-
const { ShellTool: ShellTool2 } = await import("./shell-
|
|
175633
|
+
const { ShellTool: ShellTool2 } = await import("./shell-4D33CGFZ.js");
|
|
175447
175634
|
return new ShellTool2(this);
|
|
175448
175635
|
});
|
|
175449
175636
|
await registerLazy(ToolNames.TASK_STOP, async () => {
|
|
@@ -175451,27 +175638,27 @@ var Config = class _Config {
|
|
|
175451
175638
|
return new TaskStopTool(this);
|
|
175452
175639
|
});
|
|
175453
175640
|
await registerLazy(ToolNames.READ_FILE, async () => {
|
|
175454
|
-
const { ReadFileTool } = await import("./read-file-
|
|
175641
|
+
const { ReadFileTool } = await import("./read-file-42GBL65G.js");
|
|
175455
175642
|
return new ReadFileTool(this);
|
|
175456
175643
|
});
|
|
175457
175644
|
await registerLazy(ToolNames.WRITE_FILE, async () => {
|
|
175458
|
-
const { WriteFileTool } = await import("./write-file-
|
|
175645
|
+
const { WriteFileTool } = await import("./write-file-IZYXGZ5T.js");
|
|
175459
175646
|
return new WriteFileTool(this);
|
|
175460
175647
|
});
|
|
175461
175648
|
await registerLazy(ToolNames.EDIT, async () => {
|
|
175462
|
-
const { EditTool } = await import("./edit-
|
|
175649
|
+
const { EditTool } = await import("./edit-ZK3IGOPB.js");
|
|
175463
175650
|
return new EditTool(this);
|
|
175464
175651
|
});
|
|
175465
175652
|
await registerLazy(ToolNames.MONITOR, async () => {
|
|
175466
|
-
const { MonitorTool } = await import("./monitor-
|
|
175653
|
+
const { MonitorTool } = await import("./monitor-256VE4YC.js");
|
|
175467
175654
|
return new MonitorTool(this);
|
|
175468
175655
|
});
|
|
175469
175656
|
await registerLazy(ToolNames.AGENT, async () => {
|
|
175470
|
-
const { AgentTool: AgentTool2 } = await import("./agent-
|
|
175657
|
+
const { AgentTool: AgentTool2 } = await import("./agent-2TKMAHIV.js");
|
|
175471
175658
|
return new AgentTool2(this);
|
|
175472
175659
|
});
|
|
175473
175660
|
await registerLazy(ToolNames.GLOB, async () => {
|
|
175474
|
-
const { GlobTool } = await import("./glob-
|
|
175661
|
+
const { GlobTool } = await import("./glob-WKIYRMMT.js");
|
|
175475
175662
|
return new GlobTool(this);
|
|
175476
175663
|
});
|
|
175477
175664
|
await registerLazy(ToolNames.LS, async () => {
|
|
@@ -175490,19 +175677,19 @@ var Config = class _Config {
|
|
|
175490
175677
|
}
|
|
175491
175678
|
if (this.getBareMode()) {
|
|
175492
175679
|
await registerLazy(ToolNames.READ_FILE, async () => {
|
|
175493
|
-
const { ReadFileTool } = await import("./read-file-
|
|
175680
|
+
const { ReadFileTool } = await import("./read-file-42GBL65G.js");
|
|
175494
175681
|
return new ReadFileTool(this);
|
|
175495
175682
|
});
|
|
175496
175683
|
await registerLazy(ToolNames.EDIT, async () => {
|
|
175497
|
-
const { EditTool } = await import("./edit-
|
|
175684
|
+
const { EditTool } = await import("./edit-ZK3IGOPB.js");
|
|
175498
175685
|
return new EditTool(this);
|
|
175499
175686
|
});
|
|
175500
175687
|
await registerLazy(ToolNames.NOTEBOOK_EDIT, async () => {
|
|
175501
|
-
const { NotebookEditTool } = await import("./notebook-edit-
|
|
175688
|
+
const { NotebookEditTool } = await import("./notebook-edit-5K76ND3P.js");
|
|
175502
175689
|
return new NotebookEditTool(this);
|
|
175503
175690
|
});
|
|
175504
175691
|
await registerLazy(ToolNames.SHELL, async () => {
|
|
175505
|
-
const { ShellTool: ShellTool2 } = await import("./shell-
|
|
175692
|
+
const { ShellTool: ShellTool2 } = await import("./shell-4D33CGFZ.js");
|
|
175506
175693
|
return new ShellTool2(this);
|
|
175507
175694
|
});
|
|
175508
175695
|
await registerGoalWorkerTools();
|
|
@@ -175521,7 +175708,7 @@ var Config = class _Config {
|
|
|
175521
175708
|
return new ToolCallTool(registry4);
|
|
175522
175709
|
});
|
|
175523
175710
|
await registerLazy(ToolNames.TOOL_SEARCH, async () => {
|
|
175524
|
-
const { ToolSearchTool } = await import("./tool-search-
|
|
175711
|
+
const { ToolSearchTool } = await import("./tool-search-6XO43BMI.js");
|
|
175525
175712
|
return new ToolSearchTool(this);
|
|
175526
175713
|
});
|
|
175527
175714
|
await registerLazy(ToolNames.READ_MCP_RESOURCE, async () => {
|
|
@@ -175529,7 +175716,7 @@ var Config = class _Config {
|
|
|
175529
175716
|
return new ReadMcpResourceTool(this);
|
|
175530
175717
|
});
|
|
175531
175718
|
await registerLazy(ToolNames.AGENT, async () => {
|
|
175532
|
-
const { AgentTool: AgentTool2 } = await import("./agent-
|
|
175719
|
+
const { AgentTool: AgentTool2 } = await import("./agent-2TKMAHIV.js");
|
|
175533
175720
|
return new AgentTool2(this);
|
|
175534
175721
|
});
|
|
175535
175722
|
await registerLazy(ToolNames.LIST_AGENTS, async () => {
|
|
@@ -175545,7 +175732,7 @@ var Config = class _Config {
|
|
|
175545
175732
|
return new SendMessageTool(this);
|
|
175546
175733
|
});
|
|
175547
175734
|
await registerLazy(ToolNames.SKILL, async () => {
|
|
175548
|
-
const { SkillTool } = await import("./skill-
|
|
175735
|
+
const { SkillTool } = await import("./skill-G27DFTOT.js");
|
|
175549
175736
|
return new SkillTool(this);
|
|
175550
175737
|
});
|
|
175551
175738
|
if (this.isLsToolEnabled()) {
|
|
@@ -175555,11 +175742,11 @@ var Config = class _Config {
|
|
|
175555
175742
|
});
|
|
175556
175743
|
}
|
|
175557
175744
|
await registerLazy(ToolNames.READ_FILE, async () => {
|
|
175558
|
-
const { ReadFileTool } = await import("./read-file-
|
|
175745
|
+
const { ReadFileTool } = await import("./read-file-42GBL65G.js");
|
|
175559
175746
|
return new ReadFileTool(this);
|
|
175560
175747
|
});
|
|
175561
175748
|
await registerLazy(ToolNames.ZOOM_IMAGE, async () => {
|
|
175562
|
-
const { ZoomImageTool } = await import("./zoom-image-
|
|
175749
|
+
const { ZoomImageTool } = await import("./zoom-image-S557GMZ4.js");
|
|
175563
175750
|
return new ZoomImageTool(this);
|
|
175564
175751
|
});
|
|
175565
175752
|
if (this.getUseRipgrep()) {
|
|
@@ -175574,7 +175761,7 @@ var Config = class _Config {
|
|
|
175574
175761
|
recordStartupEvent("config_initialize_ripgrep_probe_end");
|
|
175575
175762
|
if (useRipgrep) {
|
|
175576
175763
|
await registerLazy(ToolNames.GREP, async () => {
|
|
175577
|
-
const { RipGrepTool } = await import("./ripGrep-
|
|
175764
|
+
const { RipGrepTool } = await import("./ripGrep-VBY5E5MH.js");
|
|
175578
175765
|
return new RipGrepTool(this);
|
|
175579
175766
|
});
|
|
175580
175767
|
} else {
|
|
@@ -175600,23 +175787,23 @@ var Config = class _Config {
|
|
|
175600
175787
|
});
|
|
175601
175788
|
}
|
|
175602
175789
|
await registerLazy(ToolNames.GLOB, async () => {
|
|
175603
|
-
const { GlobTool } = await import("./glob-
|
|
175790
|
+
const { GlobTool } = await import("./glob-WKIYRMMT.js");
|
|
175604
175791
|
return new GlobTool(this);
|
|
175605
175792
|
});
|
|
175606
175793
|
await registerLazy(ToolNames.EDIT, async () => {
|
|
175607
|
-
const { EditTool } = await import("./edit-
|
|
175794
|
+
const { EditTool } = await import("./edit-ZK3IGOPB.js");
|
|
175608
175795
|
return new EditTool(this);
|
|
175609
175796
|
});
|
|
175610
175797
|
await registerLazy(ToolNames.NOTEBOOK_EDIT, async () => {
|
|
175611
|
-
const { NotebookEditTool } = await import("./notebook-edit-
|
|
175798
|
+
const { NotebookEditTool } = await import("./notebook-edit-5K76ND3P.js");
|
|
175612
175799
|
return new NotebookEditTool(this);
|
|
175613
175800
|
});
|
|
175614
175801
|
await registerLazy(ToolNames.WRITE_FILE, async () => {
|
|
175615
|
-
const { WriteFileTool } = await import("./write-file-
|
|
175802
|
+
const { WriteFileTool } = await import("./write-file-IZYXGZ5T.js");
|
|
175616
175803
|
return new WriteFileTool(this);
|
|
175617
175804
|
});
|
|
175618
175805
|
await registerLazy(ToolNames.SHELL, async () => {
|
|
175619
|
-
const { ShellTool: ShellTool2 } = await import("./shell-
|
|
175806
|
+
const { ShellTool: ShellTool2 } = await import("./shell-4D33CGFZ.js");
|
|
175620
175807
|
return new ShellTool2(this);
|
|
175621
175808
|
});
|
|
175622
175809
|
await registerLazy(ToolNames.REPORT_FINDINGS, async () => {
|
|
@@ -175632,13 +175819,13 @@ var Config = class _Config {
|
|
|
175632
175819
|
}
|
|
175633
175820
|
if (!this.sdkMode && (supportsUserInteraction || options2?.forSubAgent)) {
|
|
175634
175821
|
await registerLazy(ToolNames.EXIT_PLAN_MODE, async () => {
|
|
175635
|
-
const { ExitPlanModeTool: ExitPlanModeTool2 } = await import("./exitPlanMode-
|
|
175822
|
+
const { ExitPlanModeTool: ExitPlanModeTool2 } = await import("./exitPlanMode-NHPYP33G.js");
|
|
175636
175823
|
return new ExitPlanModeTool2(this);
|
|
175637
175824
|
});
|
|
175638
175825
|
}
|
|
175639
175826
|
if (!this.sdkMode && supportsUserInteraction) {
|
|
175640
175827
|
await registerLazy(ToolNames.ENTER_PLAN_MODE, async () => {
|
|
175641
|
-
const { EnterPlanModeTool } = await import("./enterPlanMode-
|
|
175828
|
+
const { EnterPlanModeTool } = await import("./enterPlanMode-GUQG6QCV.js");
|
|
175642
175829
|
return new EnterPlanModeTool(this);
|
|
175643
175830
|
});
|
|
175644
175831
|
}
|
|
@@ -175705,7 +175892,7 @@ var Config = class _Config {
|
|
|
175705
175892
|
}
|
|
175706
175893
|
if (this.isAgentTeamEnabled()) {
|
|
175707
175894
|
await registerLazy(ToolNames.TEAM_CREATE, async () => {
|
|
175708
|
-
const { TeamCreateTool } = await import("./team-create-
|
|
175895
|
+
const { TeamCreateTool } = await import("./team-create-V5EHA5MW.js");
|
|
175709
175896
|
return new TeamCreateTool(this);
|
|
175710
175897
|
});
|
|
175711
175898
|
await registerLazy(ToolNames.TEAM_DELETE, async () => {
|
|
@@ -175713,7 +175900,7 @@ var Config = class _Config {
|
|
|
175713
175900
|
return new TeamDeleteTool(this);
|
|
175714
175901
|
});
|
|
175715
175902
|
await registerLazy(ToolNames.TEAM_PLAN_APPROVAL, async () => {
|
|
175716
|
-
const { TeamPlanApprovalTool } = await import("./team-plan-approval-
|
|
175903
|
+
const { TeamPlanApprovalTool } = await import("./team-plan-approval-KAWV6OEH.js");
|
|
175717
175904
|
return new TeamPlanApprovalTool(this);
|
|
175718
175905
|
});
|
|
175719
175906
|
if (!options2?.forSubAgent) {
|
|
@@ -175809,7 +175996,7 @@ var Config = class _Config {
|
|
|
175809
175996
|
}
|
|
175810
175997
|
}
|
|
175811
175998
|
await registerLazy(ToolNames.MONITOR, async () => {
|
|
175812
|
-
const { MonitorTool } = await import("./monitor-
|
|
175999
|
+
const { MonitorTool } = await import("./monitor-256VE4YC.js");
|
|
175813
176000
|
return new MonitorTool(this);
|
|
175814
176001
|
});
|
|
175815
176002
|
if (this.pendingMcpBudgetCallback) {
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
ACP_ROUTE_ID_PREFIX
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-UZDO4DPP.js";
|
|
6
6
|
import {
|
|
7
7
|
getEffectiveReasoning,
|
|
8
8
|
isOpenRouterHostname,
|
|
9
9
|
resolveReasoningForModel
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7E65VZVK.js";
|
|
11
11
|
import {
|
|
12
12
|
REASONING_EFFORT_TIERS,
|
|
13
13
|
clampReasoningEffort,
|
|
@@ -24,10 +24,10 @@ import {
|
|
|
24
24
|
} from "./chunk-W3YES77O.js";
|
|
25
25
|
import {
|
|
26
26
|
loadSettings
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-7CBV56H7.js";
|
|
28
28
|
import {
|
|
29
29
|
MCP_BUDGET_WARN_FRACTION
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-EVXFVO4N.js";
|
|
31
31
|
import {
|
|
32
32
|
openBrowserSecurely,
|
|
33
33
|
shouldLaunchBrowser
|
|
@@ -434,7 +434,7 @@ var serveCommand = {
|
|
|
434
434
|
delete process.env[EXTERNAL_TOOL_GUARD_TOKEN_ENV];
|
|
435
435
|
const openWithAuth = argv["open-with-auth"];
|
|
436
436
|
const open = argv.open || openWithAuth;
|
|
437
|
-
const { runO1CodeServe } = await import("./run-o1-code-serve-
|
|
437
|
+
const { runO1CodeServe } = await import("./run-o1-code-serve-MYORUH5E.js");
|
|
438
438
|
try {
|
|
439
439
|
const serveOptions = {
|
|
440
440
|
port: argv.port,
|