@organizaone/o1-code 0.14.1 → 0.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundled/qc-helper/docs/configuration/settings.md +9 -4
- package/bundled/qc-helper/docs/features/commands.md +45 -44
- package/bundled/qc-helper/docs/features/remote-sessions.md +102 -0
- package/bundled/qc-helper/docs/support/troubleshooting.md +4 -0
- package/chunks/{MaxSizedBox-K6LS4AHI.js → MaxSizedBox-WCIHTA5J.js} +20 -20
- package/chunks/{StandaloneSessionPicker-VAKM7ZGE.js → StandaloneSessionPicker-FPZOMXZZ.js} +37 -37
- package/chunks/{acp-subagent-executor-VUIOR2ET.js → acp-subagent-executor-NZEXVO6C.js} +22 -22
- package/chunks/{acpAgent-NJVBZXCP.js → acpAgent-5C3S3EXK.js} +63 -63
- package/chunks/{agent-VHLE7AET.js → agent-OUKS3KJA.js} +11 -11
- package/chunks/{agent-headless-BJF6NKGR.js → agent-headless-MXWPFKRF.js} +11 -11
- package/chunks/{all-providers-3TZIHJW7.js → all-providers-U3R3R6E7.js} +2 -2
- package/chunks/{anthropicContentGenerator-VB7JA4B3.js → anthropicContentGenerator-HSU2Y3YE.js} +5 -5
- package/chunks/{bridge-3FUGH7LN.js → bridge-JHBIMGIY.js} +22 -22
- package/chunks/{chunk-M6VRFWLT.js → chunk-25JT53JK.js} +2 -2
- package/chunks/{chunk-N5LF4EE4.js → chunk-2EAL2FHY.js} +4 -4
- package/chunks/{chunk-HBB3LYMT.js → chunk-2IMNI647.js} +1 -1
- package/chunks/{chunk-MFPRAXI5.js → chunk-2SSQSUD7.js} +1 -1
- package/chunks/{chunk-KCHIGNQ3.js → chunk-3AF7X2MG.js} +1 -1
- package/chunks/{chunk-YPFJPIKO.js → chunk-3HY7YVUK.js} +202 -31
- package/chunks/{chunk-RBN3RLF6.js → chunk-3XGM4GXG.js} +13 -13
- package/chunks/{chunk-JNEJLREI.js → chunk-3ZMBFNPV.js} +1 -1
- package/chunks/{chunk-A643DATS.js → chunk-4WWJCEWY.js} +9 -6
- package/chunks/{chunk-AWE7GF4J.js → chunk-54M5TQ2R.js} +3 -3
- package/chunks/{chunk-SMZJAMZI.js → chunk-56HAFFVR.js} +7 -7
- package/chunks/{chunk-6VO6YKJ3.js → chunk-5KPMPTTM.js} +1 -1
- package/chunks/{chunk-YSK3J7RQ.js → chunk-6JA47LCQ.js} +1 -1
- package/chunks/{chunk-2EGCBKYN.js → chunk-6JTVWRDH.js} +1 -1
- package/chunks/{chunk-5WA2C3YU.js → chunk-75RB6EGS.js} +1 -1
- package/chunks/{chunk-I4J3GC2D.js → chunk-7TWCFU7L.js} +1 -1
- package/chunks/{chunk-XS3QHNTA.js → chunk-7XOIEIK2.js} +4 -4
- package/chunks/{chunk-TIYFDYIF.js → chunk-AEGEUWVC.js} +1 -1
- package/chunks/{chunk-WORDJV7E.js → chunk-AYCEQ2OH.js} +2 -2
- package/chunks/{chunk-3C53Y3EH.js → chunk-BAY2S4AG.js} +5 -5
- package/chunks/{chunk-3HS7IEMU.js → chunk-BIINRKJD.js} +1 -1
- package/chunks/{chunk-5EQBVEDH.js → chunk-BL4MZ3ZG.js} +3 -3
- package/chunks/{chunk-HVXQBQY4.js → chunk-C4SR35GB.js} +1 -1
- package/chunks/{chunk-TM5ELIJT.js → chunk-CO3SD65V.js} +3 -3
- package/chunks/{chunk-5RGWMVLI.js → chunk-CPQMNYBE.js} +2 -2
- package/chunks/{chunk-VJCVMHU2.js → chunk-CYDSNNR5.js} +7 -7
- package/chunks/{chunk-Q3275KQT.js → chunk-DA4GEY74.js} +12 -2
- package/chunks/{chunk-4OYDPQIT.js → chunk-DPVWZLJW.js} +3 -3
- package/chunks/{chunk-DKDXWZAA.js → chunk-DTJHPTCP.js} +2 -2
- package/chunks/{chunk-KXUAXTBE.js → chunk-DWX6K4EP.js} +1 -1
- package/chunks/{chunk-5LMV3DCZ.js → chunk-ECBJ5FS3.js} +2 -2
- package/chunks/{chunk-2V7HIDQH.js → chunk-F3TYA6UD.js} +2 -2
- package/chunks/{chunk-JIF2TEKH.js → chunk-FBXM55GQ.js} +1 -1
- package/chunks/{chunk-32O4NVPN.js → chunk-FO2XIE6X.js} +13 -13
- package/chunks/{chunk-ND36AMUP.js → chunk-FQSMZJTY.js} +1 -1
- package/chunks/{chunk-5VNWNZZ4.js → chunk-G3GZR2GB.js} +1 -1
- package/chunks/{chunk-MZ3XMTPL.js → chunk-G3TMBRML.js} +1 -1
- package/chunks/{chunk-4ENDHWP4.js → chunk-G7JLEAIF.js} +55 -2
- package/chunks/{chunk-JSAYXOQE.js → chunk-GBEDSUAL.js} +2 -2
- package/chunks/{chunk-3UNHYRK5.js → chunk-H656RRY6.js} +8 -8
- package/chunks/{chunk-GVGCZY46.js → chunk-HGUMEOGA.js} +4 -4
- package/chunks/{chunk-CSPWXNJC.js → chunk-HWUZG6HM.js} +2 -2
- package/chunks/{chunk-GHM4HUC7.js → chunk-IKQ3LPTK.js} +3 -3
- package/chunks/{chunk-SGMEBT6K.js → chunk-IN4QTEKF.js} +2 -2
- package/chunks/{chunk-DBH5ZQ3X.js → chunk-JAPK5MIN.js} +3 -3
- package/chunks/{chunk-WBPIFM2X.js → chunk-JKXGHDQ2.js} +551 -5
- package/chunks/{chunk-ZZVIBILR.js → chunk-KEPNWFUD.js} +9 -1
- package/chunks/{chunk-URRLGWTK.js → chunk-LFUSSHHB.js} +1 -1
- package/chunks/{chunk-ZHJX6KFO.js → chunk-M2W6Q7ZY.js} +8 -2
- package/chunks/{chunk-74D4F6ZR.js → chunk-M5PBINBK.js} +1 -1
- package/chunks/{chunk-YSHODLWP.js → chunk-MDXRSVFU.js} +3 -3
- package/chunks/{chunk-7N5GDAXK.js → chunk-MLAF3GLB.js} +3 -0
- package/chunks/{chunk-JFWM2L2S.js → chunk-MMM4JHDL.js} +2 -2
- package/chunks/{chunk-VVJHO662.js → chunk-MXUFKTRV.js} +3 -3
- package/chunks/{chunk-HHMGHAVL.js → chunk-NAURON7F.js} +1 -1
- package/chunks/{chunk-WB2AB6LU.js → chunk-NC333V4Q.js} +2 -2
- package/chunks/{chunk-SHIS7KCU.js → chunk-NQHJ4XI4.js} +2 -2
- package/chunks/{chunk-XX4IZ2SW.js → chunk-NTATN4NC.js} +5 -5
- package/chunks/{chunk-LPFK3TO2.js → chunk-O6GD6SFV.js} +4 -0
- package/chunks/{chunk-P2AKC25G.js → chunk-OQ5UCQEU.js} +1 -1
- package/chunks/{chunk-ACVOTRTG.js → chunk-PB4JDMEU.js} +73 -33
- package/chunks/{chunk-EJWEWKFL.js → chunk-PZA6OK5U.js} +2 -2
- package/chunks/{chunk-T7FPP3WA.js → chunk-QCKD7NUE.js} +293 -62
- package/chunks/{chunk-62X5BQMO.js → chunk-QHZJAK26.js} +5 -5
- package/chunks/{chunk-MPL3BISR.js → chunk-QINR3BPI.js} +3 -3
- package/chunks/{chunk-R2EIRELD.js → chunk-QJOAE3MY.js} +2 -2
- package/chunks/{chunk-XFQMTQBE.js → chunk-QPATMMH6.js} +10 -10
- package/chunks/{chunk-N6MH3XSG.js → chunk-THF6QN43.js} +2 -2
- package/chunks/{chunk-NSHGO4SD.js → chunk-TIJEMBWQ.js} +1 -1
- package/chunks/{chunk-Q27JDWE5.js → chunk-TPTKSRDS.js} +2 -2
- package/chunks/{chunk-7OFHGQYG.js → chunk-TSWAMCTA.js} +2 -2
- package/chunks/{chunk-BFCJISSV.js → chunk-U3TAPXNY.js} +2 -2
- package/chunks/{chunk-DXNQVFM7.js → chunk-UBBF6OHF.js} +1 -1
- package/chunks/{chunk-QXTSKDFW.js → chunk-UUYHAE7L.js} +2 -2
- package/chunks/{chunk-5A5PF6UU.js → chunk-UZO5EWDY.js} +1 -1
- package/chunks/{chunk-BWSTJ4LI.js → chunk-V5FMJGT3.js} +3 -3
- package/chunks/{chunk-XUJZPD2H.js → chunk-VCR2ZMBJ.js} +3 -3
- package/chunks/{chunk-XS3WCMRG.js → chunk-VOC5JURN.js} +1 -1
- package/chunks/{chunk-ACL45DSG.js → chunk-VOHQDSSM.js} +5 -5
- package/chunks/{chunk-URNH2X7M.js → chunk-VT4QNRKU.js} +4 -4
- package/chunks/{chunk-X7TMJR6A.js → chunk-VWNJNOMV.js} +4 -4
- package/chunks/{chunk-SRDLL4JM.js → chunk-W5MVK3CY.js} +3 -3
- package/chunks/{chunk-5YPMVUV3.js → chunk-WN5SRYTJ.js} +5 -5
- package/chunks/{chunk-NQH5WCUX.js → chunk-WSJ2ZA4C.js} +7 -7
- package/chunks/{chunk-JJPU5RIJ.js → chunk-Y3JWAVRJ.js} +1 -1
- package/chunks/{chunk-JDJVJMXU.js → chunk-YOQXJIDM.js} +2 -2
- package/chunks/{chunk-GAEZNPGF.js → chunk-YSXZMF2B.js} +3 -3
- package/chunks/{chunk-R2Q36SDT.js → chunk-ZHEOV5HE.js} +1 -1
- package/chunks/{chunk-Z277EETV.js → chunk-ZIULS3Z4.js} +1 -1
- package/chunks/{chunk-NWQNQ2JQ.js → chunk-ZLILADLQ.js} +5 -5
- package/chunks/{chunk-FUA6Z2U4.js → chunk-ZZTHZM2I.js} +1 -1
- package/chunks/{codex-subagent-executor-NGTRWYIK.js → codex-subagent-executor-AHUDSG4Y.js} +22 -22
- package/chunks/{contextCommand-7GVOH5VF.js → contextCommand-XGDON2S3.js} +22 -22
- package/chunks/{core-runtime-POJAS25N.js → core-runtime-TBFHSDHQ.js} +20 -20
- package/chunks/{create-sub-session-QCYXUHFL.js → create-sub-session-I5GYJEYY.js} +21 -21
- package/chunks/{daemon-git-worktree-guard-D3RHUHVC.js → daemon-git-worktree-guard-ZOB5RPFK.js} +20 -20
- package/chunks/{daemon-status-provider-R3KRR4AS.js → daemon-status-provider-FGZH6W4M.js} +26 -26
- package/chunks/{daemon-trust-policy-5NYWDYOB.js → daemon-trust-policy-QFXVDRS7.js} +27 -27
- package/chunks/{daemon-trust-policy-monitor-I73M3BZX.js → daemon-trust-policy-monitor-XEGSMSQ2.js} +27 -27
- package/chunks/{deferred-core-runtime-S2JMS2IS.js → deferred-core-runtime-NRNCEWYK.js} +20 -20
- package/chunks/{edit-FAI2CHTP.js → edit-RTNEVAS4.js} +13 -13
- package/chunks/{en-SHMOSKM6.js → en-IMODPCQQ.js} +49 -1
- package/chunks/{enterPlanMode-KX7IPPYT.js → enterPlanMode-CDLYJQDN.js} +11 -11
- package/chunks/{environment-MVOVD7JZ.js → environment-NXOZD6YO.js} +23 -23
- package/chunks/{errors-DSEHKEKP.js → errors-Z5K742KC.js} +22 -22
- package/chunks/{execution-tool-XRAFGCPA.js → execution-tool-AEINPRPE.js} +13 -13
- package/chunks/{execution-worker-VKPVJNIG.js → execution-worker-5KA2DSDN.js} +16 -16
- package/chunks/{exitPlanMode-3TY5ONOY.js → exitPlanMode-PQ57IF6L.js} +11 -11
- package/chunks/{fast-path-NAKYI5AD.js → fast-path-YBLVVROI.js} +3 -3
- package/chunks/{fast-path-settings-YKLDHHCG.js → fast-path-settings-FIMIXD3V.js} +2 -2
- package/chunks/{glob-7WS7EQ5K.js → glob-CTWTSEIV.js} +11 -11
- package/chunks/{goal-tools-5WVEBKPG.js → goal-tools-54BPLUQN.js} +11 -11
- package/chunks/{handleAutoUpdate-PDYNM2OD.js → handleAutoUpdate-Z4SSSZ2E.js} +23 -23
- package/chunks/{i18n-C475G3CR.js → i18n-YZNEGDIL.js} +21 -21
- package/chunks/{initializer-U77RJ3RD.js → initializer-3OVUOMDI.js} +27 -27
- package/chunks/{installationInfo-KJT5UHT6.js → installationInfo-ELJ2EVAQ.js} +20 -20
- package/chunks/{list-B5DL4CMZ.js → list-HOPL7DZF.js} +29 -29
- package/chunks/{list-agents-NYXZC74C.js → list-agents-A7UJ6VXZ.js} +2 -2
- package/chunks/{llm-V3GR2JCY.js → llm-V2XIIRDV.js} +53 -53
- package/chunks/{llm-content-generator-WSOLYSIS.js → llm-content-generator-5YWGTM5P.js} +4 -4
- package/chunks/{loadedSettingsAdapter-RUVHFDOM.js → loadedSettingsAdapter-CJLTFJ4N.js} +27 -27
- package/chunks/{local-execution-environment-ODOGTJ6F.js → local-execution-environment-EIWDLRAH.js} +16 -16
- package/chunks/{loggingContentGenerator-DLRB334C.js → loggingContentGenerator-7BF4GJCS.js} +12 -12
- package/chunks/{managed-npm-update-NQTZYPEF.js → managed-npm-update-WITECQFC.js} +20 -20
- package/chunks/{mcp-WCOE7Y3F.js → mcp-T4PROT4K.js} +27 -27
- package/chunks/{model-call-collection-X2EWPR6V.js → model-call-collection-XR3R3VVM.js} +1 -1
- package/chunks/{model-configuration-BUJWNHTG.js → model-configuration-HMBGB7SA.js} +28 -28
- package/chunks/{modelConfigUtils-HLTTOLV5.js → modelConfigUtils-3CK424YK.js} +22 -22
- package/chunks/{monitor-R5SGEUKX.js → monitor-6OK5CF7B.js} +11 -11
- package/chunks/{nonInteractiveCli-TKBS5ML2.js → nonInteractiveCli-RIK2HQON.js} +55 -55
- package/chunks/{nonInteractiveToolExecutor-JJFTNXHA.js → nonInteractiveToolExecutor-MC2XGWHT.js} +12 -12
- package/chunks/{notebook-edit-33OGSCHE.js → notebook-edit-IIZUM2QQ.js} +12 -12
- package/chunks/{omni-CMDCQ3UQ.js → omni-ZNA6SYTJ.js} +9 -9
- package/chunks/{openaiContentGenerator-M5UV2BQJ.js → openaiContentGenerator-UU7GV5FP.js} +7 -7
- package/chunks/{openaiResponsesContentGenerator-S5ECTVDG.js → openaiResponsesContentGenerator-BCC47KF7.js} +4 -4
- package/chunks/{processUtils-GDZ7TOHZ.js → processUtils-PHZAU2FF.js} +2 -2
- package/chunks/{prompt-terminal-ledger-PGEHFQ7H.js → prompt-terminal-ledger-DTT42BN5.js} +21 -21
- package/chunks/{pt-IU7FRCNS.js → pt-JCXCCW4Y.js} +49 -1
- package/chunks/{reactive-degrade-ASMEPJ5Z.js → reactive-degrade-IO4MRXRH.js} +8 -8
- package/chunks/{read-file-2EDHAVNT.js → read-file-5ACDU2YQ.js} +1 -1
- package/chunks/{resumeHistoryUtils-QW3OYHXI.js → resumeHistoryUtils-K4TUEBRE.js} +24 -24
- package/chunks/{ripGrep-76TJJQGO.js → ripGrep-WLW256L7.js} +1 -1
- package/chunks/{run-o1-code-serve-WIDKXLJF.js → run-o1-code-serve-XNXL6BGH.js} +34 -34
- package/chunks/{sandboxConfig-R3UG3IOZ.js → sandboxConfig-6ERJ2VSP.js} +20 -20
- package/chunks/{scheduled-tasks-4UBCLNXS.js → scheduled-tasks-IQLWO7QP.js} +25 -25
- package/chunks/{scheduler-AH4TSEXQ.js → scheduler-YM3RUYQT.js} +22 -22
- package/chunks/{send-message-OSS7K7GE.js → send-message-H6B5EST3.js} +2 -2
- package/chunks/{serve-A4BJAAZE.js → serve-Q5A4XGNN.js} +27 -27
- package/chunks/{server-ZDI6GJOC.js → server-DUQGQKW7.js} +52 -52
- package/chunks/{session-DK3CRCPB.js → session-L7J2BJ4B.js} +56 -56
- package/chunks/{session-J5MWNWYV.js → session-MECHV24O.js} +2 -2
- package/chunks/{session-attachments-root-44FEUUR2.js → session-attachments-root-T6YBSJ3U.js} +20 -20
- package/chunks/{session-pr-refresh-ZGKQBFME.js → session-pr-refresh-HHPFHEXI.js} +24 -24
- package/chunks/{settings-FAWXGNOI.js → settings-PQ7U5ALA.js} +26 -26
- package/chunks/{shell-2TAJP2XL.js → shell-CVULXL34.js} +11 -11
- package/chunks/{skill-DNIK7OZQ.js → skill-TA4CALBL.js} +1 -1
- package/chunks/{skill-settings-AK7CSZAS.js → skill-settings-5CMBXYNQ.js} +26 -26
- package/chunks/{spawnChannel-IOCLK2X3.js → spawnChannel-LT5O6P3J.js} +21 -21
- package/chunks/{standalone-update-DVOARXLA.js → standalone-update-ITMWGCH5.js} +22 -22
- package/chunks/{startInteractiveUI-NTVZYIDU.js → startInteractiveUI-JB2KE65F.js} +3881 -2676
- package/chunks/{team-create-XP7DRQAK.js → team-create-FAWOEYNL.js} +11 -11
- package/chunks/{team-plan-approval-GOAS57I3.js → team-plan-approval-3T7EVWTL.js} +11 -11
- package/chunks/{terminal-image-renderer-YCLREPL4.js → terminal-image-renderer-VHUUIAKF.js} +20 -20
- package/chunks/{theme-manager-XVYTKW34.js → theme-manager-ZFTUPCOT.js} +20 -20
- package/chunks/{tool-result-media-RGRXVT5T.js → tool-result-media-77JB2L2U.js} +9 -9
- package/chunks/{tool-search-ZMAKKG5I.js → tool-search-QHLD7GJT.js} +1 -1
- package/chunks/{total-session-admission-I5UDK7FQ.js → total-session-admission-6XKHQLLL.js} +22 -22
- package/chunks/{trustedFolders-QTPG7HMS.js → trustedFolders-XTVMYO3M.js} +21 -21
- package/chunks/{update-relaunch-SGPQQMNN.js → update-relaunch-2DU52FES.js} +5 -5
- package/chunks/{updateCheck-T5ZZGRHM.js → updateCheck-7KC26GUX.js} +22 -22
- package/chunks/{upload-config-EZ62EOKL.js → upload-config-HMSU4CZP.js} +6 -6
- package/chunks/{useAutoAcceptIndicator-JF6JC7LL.js → useAutoAcceptIndicator-NRR52JRP.js} +29 -29
- package/chunks/{validateNonInterActiveAuth-S6X4XLNK.js → validateNonInterActiveAuth-VVX3IIDW.js} +52 -52
- package/chunks/{version-7F4SOHPI.js → version-EBHPPTUN.js} +1 -1
- package/chunks/{web-fetch-OO7L367T.js → web-fetch-DB6YX73X.js} +1 -1
- package/chunks/{web-search-VN7PBUQ6.js → web-search-5N6YFNQL.js} +7 -7
- package/chunks/{workflow-IWSW5MOB.js → workflow-2U3MBIGP.js} +12 -12
- package/chunks/{workspace-providers-status-ZVH5MCVN.js → workspace-providers-status-P34L7WWU.js} +31 -31
- package/chunks/{workspace-registration-store-ROZOUOYK.js → workspace-registration-store-DRQK7E65.js} +1 -1
- package/chunks/{workspace-registry-CROM24XQ.js → workspace-registry-6IQR6KH7.js} +22 -22
- package/chunks/{workspace-runtime-coordinator-NAE37OW5.js → workspace-runtime-coordinator-UY5H2H6F.js} +22 -22
- package/chunks/{workspace-service-VUQF5IQG.js → workspace-service-T4U4M57B.js} +30 -30
- package/chunks/{workspace-skills-status-DLRICTEZ.js → workspace-skills-status-EZB7FZDA.js} +27 -27
- package/chunks/{workspace-trust-reconciler-ZUL5PMCB.js → workspace-trust-reconciler-FW7PNFE7.js} +29 -29
- package/chunks/{write-file-5SDNS6TZ.js → write-file-4IU4MIDG.js} +13 -13
- package/chunks/{zoom-image-PCKYJ2PJ.js → zoom-image-AIPZJAB4.js} +1 -1
- package/cli.js +13 -13
- package/execution-worker.js +1 -1
- package/export-transcript-document.js +1 -1
- package/locales/en.js +75 -0
- package/locales/pt.js +77 -0
- package/package.json +2 -2
- package/release-notes.json +11 -0
- package/vendor/o1-connect/.lintstagedrc.mjs +7 -0
- package/vendor/o1-connect/README.md +9 -8
- package/vendor/o1-connect/VENDOR.json +4 -4
- package/vendor/o1-connect/lib.d.mts +124 -2
- package/vendor/o1-connect/lib.mjs +532 -7
- 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-BbovwPw2.js → abnfDiagram-VCTEODGH-8zBYfkj0.js} +1 -1
- package/web-shell/assets/{arc-Wui7aPtG.js → arc-Dr7frfgI.js} +1 -1
- package/web-shell/assets/{architectureDiagram-5GKGNRK7-3WH5ESB7.js → architectureDiagram-5GKGNRK7-Dw0TobFx.js} +1 -1
- package/web-shell/assets/{blockDiagram-NRAW4CY4-C36UiMl-.js → blockDiagram-NRAW4CY4-vKHZF19g.js} +1 -1
- package/web-shell/assets/{c4Diagram-UCG6FXSJ-DdnwgcM1.js → c4Diagram-UCG6FXSJ-BTDDLR0b.js} +1 -1
- package/web-shell/assets/channel-BDp9YKm9.js +1 -0
- package/web-shell/assets/{chunk-2Q5K7J3B-khFNk3ao.js → chunk-2Q5K7J3B-Boqx2Q3v.js} +1 -1
- package/web-shell/assets/{chunk-5VM5RSS4-DDLDZsfl.js → chunk-5VM5RSS4-tKCWS0Nx.js} +1 -1
- package/web-shell/assets/{chunk-F27PBJKO-aLJmSbub.js → chunk-F27PBJKO-C6NkGIMe.js} +1 -1
- package/web-shell/assets/{chunk-G27WJ6UU-B_GSvc5F.js → chunk-G27WJ6UU-ChQxnaEI.js} +1 -1
- package/web-shell/assets/{chunk-JWPE2WC7-d8m9ubln.js → chunk-JWPE2WC7-DAhrR7V5.js} +1 -1
- package/web-shell/assets/{chunk-LCL6LL3I-Bf5h6VmG.js → chunk-LCL6LL3I-DQgb43EV.js} +1 -1
- package/web-shell/assets/{chunk-POPQ4Y6H-Czd6y3Dp.js → chunk-POPQ4Y6H-DdSgsFCr.js} +1 -1
- package/web-shell/assets/{chunk-SVP7TREG-B03axGPa.js → chunk-SVP7TREG-CsyENxwm.js} +1 -1
- package/web-shell/assets/{chunk-XXDRQBXY-N33vsGyF.js → chunk-XXDRQBXY-h3qkgMY3.js} +1 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-DOReB-DE.js +1 -0
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-DOReB-DE.js +1 -0
- package/web-shell/assets/{cose-bilkent-JH36ORCC-CH_b8j1f.js → cose-bilkent-JH36ORCC-Bzh-NzMt.js} +1 -1
- package/web-shell/assets/{cynefin-OW5HDTMX-CpdeeUn4.js → cynefin-OW5HDTMX-C4_P_Yoc.js} +1 -1
- package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-CpTzaCzt.js → cynefinDiagram-5FMLGOSQ-BuW621YL.js} +1 -1
- package/web-shell/assets/{dagre-3AP2YEHR-BTtggthC.js → dagre-3AP2YEHR-DEYS83zL.js} +1 -1
- package/web-shell/assets/{diagram-S7CK7UJ4-BKgOiJsS.js → diagram-S7CK7UJ4-BMtjGmDg.js} +1 -1
- package/web-shell/assets/{diagram-UQ7AKVKN-I12M4b-_.js → diagram-UQ7AKVKN-BzxkP09r.js} +1 -1
- package/web-shell/assets/{diagram-VSXAHHWV-C5EuyQ1H.js → diagram-VSXAHHWV-EMYvU-cZ.js} +1 -1
- package/web-shell/assets/{diagram-VX7I27RA-CcsSRsvO.js → diagram-VX7I27RA-CnspBccH.js} +1 -1
- package/web-shell/assets/{diagram-Z3DM3KII-tNMV05Fn.js → diagram-Z3DM3KII-0NFTLr1f.js} +1 -1
- package/web-shell/assets/{ebnfDiagram-PWID7BFC-liAtArsc.js → ebnfDiagram-PWID7BFC-Cn16enHu.js} +1 -1
- package/web-shell/assets/{erDiagram-SSCWMZ5O-I4lmr_zI.js → erDiagram-SSCWMZ5O-Cti58N5W.js} +1 -1
- package/web-shell/assets/{flowDiagram-A5DVABFB-nEXpsOvo.js → flowDiagram-A5DVABFB-CigLfgUP.js} +1 -1
- package/web-shell/assets/{ganttDiagram-EL5Y4UJY-Dw75s1-O.js → ganttDiagram-EL5Y4UJY-CjuMs_pK.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-DiLeptZ9.js → gitGraphDiagram-WWUBYQGX-DOxl_2_x.js} +1 -1
- package/web-shell/assets/{index-BrTCjwfu.js → index-By0dekuz.js} +3 -3
- package/web-shell/assets/{index-BH44b2De.js → index-H7LsVN_M.js} +1 -1
- package/web-shell/assets/{infoDiagram-RXCK75RN-DCcJ_WXa.js → infoDiagram-RXCK75RN-D0XQbjRi.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-5VMMS53U-Cj6CqTSd.js → ishikawaDiagram-5VMMS53U-DOliT3Hm.js} +1 -1
- package/web-shell/assets/{journeyDiagram-EYS64GPL-CJXzA_hz.js → journeyDiagram-EYS64GPL-DF6vvHQf.js} +1 -1
- package/web-shell/assets/{kanban-definition-3QL26DDD-DdNe_a61.js → kanban-definition-3QL26DDD-BY_17qoo.js} +1 -1
- package/web-shell/assets/{layout-DaXP6yO1.js → layout-B91ME8fF.js} +1 -1
- package/web-shell/assets/{linear-B-jZU9Hq.js → linear-BEgEyRkI.js} +1 -1
- package/web-shell/assets/{mermaid.core-CIdivnr2.js → mermaid.core-BBo02LMd.js} +6 -6
- package/web-shell/assets/{mindmap-definition-FBJOCRG2-D0W4HbAm.js → mindmap-definition-FBJOCRG2-C1Jh0DIu.js} +1 -1
- package/web-shell/assets/{pegDiagram-XKGWAZYB-BXa0Luv-.js → pegDiagram-XKGWAZYB-DOt-0tX-.js} +1 -1
- package/web-shell/assets/{pieDiagram-E7YTZNPT-CWQYQAXk.js → pieDiagram-E7YTZNPT-D_Pnb6KK.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-AXDQQJYC-C2rr5v8g.js → quadrantDiagram-AXDQQJYC-0tTq4TDV.js} +1 -1
- package/web-shell/assets/{railroadDiagram-O6MQD6OU-Ixq2-sNq.js → railroadDiagram-O6MQD6OU-D8sT8HBX.js} +1 -1
- package/web-shell/assets/{requirementDiagram-EFPCY7ZU-Bkiw-rJU.js → requirementDiagram-EFPCY7ZU-zmn8P5S5.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-P5KCCOFB-fdyaOOD3.js → sankeyDiagram-P5KCCOFB-DIdIBb9D.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-DwyYk-Nn.js → sequenceDiagram-WJ2MYXX4-DR0z10JW.js} +1 -1
- package/web-shell/assets/{sizeCapture-X5ZJPWSS-73pmJ9p5.js → sizeCapture-X5ZJPWSS-BAoZUB5z.js} +1 -1
- package/web-shell/assets/{stateDiagram-HBIQ2CUA-BuVhfbnT.js → stateDiagram-HBIQ2CUA-A_BJS30R.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-DsZg5hvr.js +1 -0
- package/web-shell/assets/{swimlanes-XN3QIQJK-CzJEsLmd.js → swimlanes-XN3QIQJK-DoHKDejp.js} +1 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-xB_iuHcQ.js +8 -0
- package/web-shell/assets/{timeline-definition-24CTP7MA-DY2tlsbK.js → timeline-definition-24CTP7MA-DIgaU8qe.js} +1 -1
- package/web-shell/assets/{vennDiagram-4TSXK5OY-jOnpk6UN.js → vennDiagram-4TSXK5OY-DinP1LiH.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-VM6X3IG4-ns8qvGAq.js → wardleyDiagram-VM6X3IG4-Bl_eYQSI.js} +1 -1
- package/web-shell/assets/{xychartDiagram-S5SC5T6Z-BVvufFM8.js → xychartDiagram-S5SC5T6Z-CeovOG8L.js} +1 -1
- package/web-shell/index.html +1 -1
- package/web-shell/sw.js +1 -1
- package/web-shell/assets/channel-laaanioB.js +0 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-vy7HfQpt.js +0 -1
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-vy7HfQpt.js +0 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-Behbwxmi.js +0 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-xalmucUq.js +0 -8
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
deriveSessionName,
|
|
86
86
|
patchSessionRecord,
|
|
87
87
|
unregisterSession
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-KEPNWFUD.js";
|
|
89
89
|
import {
|
|
90
90
|
LEADER_NAME,
|
|
91
91
|
MAX_TEAMMATES,
|
|
@@ -168,7 +168,7 @@ import {
|
|
|
168
168
|
import {
|
|
169
169
|
buildModelIdContext,
|
|
170
170
|
resolveModelId
|
|
171
|
-
} from "./chunk-
|
|
171
|
+
} from "./chunk-UBBF6OHF.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-2IMNI647.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-BL4MZ3ZG.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-G3GZR2GB.js";
|
|
400
400
|
import {
|
|
401
401
|
addDaemonRequestAttribute
|
|
402
402
|
} from "./chunk-55BVGW3L.js";
|
|
@@ -718,7 +718,7 @@ import {
|
|
|
718
718
|
TokenStorageType,
|
|
719
719
|
o1ConnectBaseUrlFor,
|
|
720
720
|
openO1Connect
|
|
721
|
-
} from "./chunk-
|
|
721
|
+
} from "./chunk-JKXGHDQ2.js";
|
|
722
722
|
import {
|
|
723
723
|
atomicWriteFile,
|
|
724
724
|
atomicWriteFileSync,
|
|
@@ -735,7 +735,7 @@ import {
|
|
|
735
735
|
resolveProviderProtocol,
|
|
736
736
|
resolveSavedModelApiKey,
|
|
737
737
|
stripRuntimeSnapshotPrefix
|
|
738
|
-
} from "./chunk-
|
|
738
|
+
} from "./chunk-W5MVK3CY.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-QHZJAK26.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-IO4MRXRH.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-77JB2L2U.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-XR3R3VVM.js");
|
|
75520
75707
|
await collectModelPolicyCall({
|
|
75521
75708
|
config: this.config,
|
|
75522
75709
|
batch: policyArtifacts,
|
|
@@ -169075,6 +169262,10 @@ var Config = class _Config {
|
|
|
169075
169262
|
* lazily on first use, never persisted. */
|
|
169076
169263
|
omniMediaResourceRegistry;
|
|
169077
169264
|
workflowsEnabled;
|
|
169265
|
+
remoteEnabled;
|
|
169266
|
+
remoteAtStartup;
|
|
169267
|
+
remoteSessionName;
|
|
169268
|
+
remoteViaTunnel;
|
|
169078
169269
|
sessionWorkflowEnabled;
|
|
169079
169270
|
sessionWorkflowEnabledProvider;
|
|
169080
169271
|
sessionWorkflowPlanRevision;
|
|
@@ -169433,6 +169624,10 @@ var Config = class _Config {
|
|
|
169433
169624
|
this.omniStorageMaxTotalBytes = params.omniStorageMaxTotalBytes;
|
|
169434
169625
|
this.omniMemory = params.omniMemory;
|
|
169435
169626
|
this.workflowsEnabled = params.workflowsEnabled;
|
|
169627
|
+
this.remoteEnabled = params.remoteEnabled;
|
|
169628
|
+
this.remoteAtStartup = params.remoteAtStartup ?? false;
|
|
169629
|
+
this.remoteSessionName = params.remoteSessionName;
|
|
169630
|
+
this.remoteViaTunnel = params.remoteViaTunnel ?? "auto";
|
|
169436
169631
|
this.sessionWorkflowEnabled = params.sessionWorkflowEnabled ?? false;
|
|
169437
169632
|
this.modelProposedGoals = params.modelProposedGoals ?? "alwaysAsk";
|
|
169438
169633
|
this.skipWorkflowUsageWarning = params.skipWorkflowUsageWarning ?? false;
|
|
@@ -169750,7 +169945,7 @@ var Config = class _Config {
|
|
|
169750
169945
|
await this.proxyDispatcherReady;
|
|
169751
169946
|
options2?.signal?.throwIfAborted();
|
|
169752
169947
|
if (this.isOmniEnabled()) {
|
|
169753
|
-
const { normalizeDedicatedOmniUploadConfig } = await import("./upload-config-
|
|
169948
|
+
const { normalizeDedicatedOmniUploadConfig } = await import("./upload-config-HMSU4CZP.js");
|
|
169754
169949
|
this.omniUploadConfig = normalizeDedicatedOmniUploadConfig({
|
|
169755
169950
|
baseUrl: this.omniUploadBaseUrl,
|
|
169756
169951
|
apiKeyEnv: this.omniUploadApiKeyEnv,
|
|
@@ -171121,6 +171316,19 @@ var Config = class _Config {
|
|
|
171121
171316
|
});
|
|
171122
171317
|
await this.sessionRegistryWrite;
|
|
171123
171318
|
}
|
|
171319
|
+
/**
|
|
171320
|
+
* Announce, or withdraw, the remote session this terminal is mirrored to
|
|
171321
|
+
* (`/rc`), serialized with every other registry patch. Best-effort: a
|
|
171322
|
+
* record that cannot be patched costs `ps` its REMOTE column, nothing
|
|
171323
|
+
* else.
|
|
171324
|
+
*/
|
|
171325
|
+
async updateSessionRegistryRemote(remote) {
|
|
171326
|
+
if (!this.sessionRegistryActive) return;
|
|
171327
|
+
this.queueSessionRegistryWrite(async () => {
|
|
171328
|
+
await patchSessionRecord({ remote }, this.sessionRegistrySlot);
|
|
171329
|
+
});
|
|
171330
|
+
await this.sessionRegistryWrite;
|
|
171331
|
+
}
|
|
171124
171332
|
/** Drain queued patches, then remove this process's registered record. */
|
|
171125
171333
|
async unregisterSessionRegistry() {
|
|
171126
171334
|
this.sessionRegistryActive = false;
|
|
@@ -173650,7 +173858,7 @@ var Config = class _Config {
|
|
|
173650
173858
|
return this.omniPolicyTools;
|
|
173651
173859
|
}
|
|
173652
173860
|
async loadOmniMediaReader() {
|
|
173653
|
-
return import("./omni-
|
|
173861
|
+
return import("./omni-ZNA6SYTJ.js");
|
|
173654
173862
|
}
|
|
173655
173863
|
/** Normalized `omni.processing` view. Undefined until tool warmup
|
|
173656
173864
|
* completes (or when omni is disabled). */
|
|
@@ -173750,6 +173958,29 @@ var Config = class _Config {
|
|
|
173750
173958
|
setWorkflowsEnabled(enabled) {
|
|
173751
173959
|
this.workflowsEnabled = enabled;
|
|
173752
173960
|
}
|
|
173961
|
+
/**
|
|
173962
|
+
* Whether `/rc` is offered. A sandboxed or provisional session has no
|
|
173963
|
+
* terminal of its own to mirror; the kill switch is for an operator.
|
|
173964
|
+
*/
|
|
173965
|
+
isRemoteEnabled() {
|
|
173966
|
+
if (this.shellExecutionSandbox) return false;
|
|
173967
|
+
if (this.provisionalWorkspace) return false;
|
|
173968
|
+
if (process8.env["O1CODE_DISABLE_REMOTE"] === "1") return false;
|
|
173969
|
+
return this.remoteEnabled ?? true;
|
|
173970
|
+
}
|
|
173971
|
+
getRemoteAtStartup() {
|
|
173972
|
+
return this.remoteAtStartup;
|
|
173973
|
+
}
|
|
173974
|
+
getRemoteSessionName() {
|
|
173975
|
+
return this.remoteSessionName;
|
|
173976
|
+
}
|
|
173977
|
+
getRemoteViaTunnel() {
|
|
173978
|
+
return this.remoteViaTunnel;
|
|
173979
|
+
}
|
|
173980
|
+
/** The open o1-connect tunnel of this session, when the model rides one. */
|
|
173981
|
+
getO1ConnectSession() {
|
|
173982
|
+
return this.o1ConnectSession;
|
|
173983
|
+
}
|
|
173753
173984
|
async enableReviewWorkflow() {
|
|
173754
173985
|
if (this.shellExecutionSandbox || this.workflowsEnabled === false || !isTopLevelSession() || this.getBareMode() || this.provisionalWorkspace || process8.env["O1CODE_DISABLE_WORKFLOWS"] === "1") {
|
|
173755
173986
|
return;
|
|
@@ -175236,7 +175467,7 @@ var Config = class _Config {
|
|
|
175236
175467
|
async registerWorkflowTool(registry4) {
|
|
175237
175468
|
if (registry4.getAllToolNames().includes(ToolNames.WORKFLOW)) return true;
|
|
175238
175469
|
await this.registerLazyTool(registry4, ToolNames.WORKFLOW, async () => {
|
|
175239
|
-
const { WorkflowTool } = await import("./workflow-
|
|
175470
|
+
const { WorkflowTool } = await import("./workflow-2U3MBIGP.js");
|
|
175240
175471
|
return new WorkflowTool(this);
|
|
175241
175472
|
});
|
|
175242
175473
|
return registry4.getAllToolNames().includes(ToolNames.WORKFLOW);
|
|
@@ -175316,16 +175547,16 @@ var Config = class _Config {
|
|
|
175316
175547
|
const registerGoalWorkerTools = /* @__PURE__ */ __name(async () => {
|
|
175317
175548
|
if (options2?.forSubAgent) return;
|
|
175318
175549
|
await registerLazy(ToolNames.GET_GOAL, async () => {
|
|
175319
|
-
const { GetGoalTool: GetGoalTool2 } = await import("./goal-tools-
|
|
175550
|
+
const { GetGoalTool: GetGoalTool2 } = await import("./goal-tools-54BPLUQN.js");
|
|
175320
175551
|
return new GetGoalTool2(this);
|
|
175321
175552
|
});
|
|
175322
175553
|
await registerLazy(ToolNames.UPDATE_GOAL, async () => {
|
|
175323
|
-
const { UpdateGoalTool: UpdateGoalTool2 } = await import("./goal-tools-
|
|
175554
|
+
const { UpdateGoalTool: UpdateGoalTool2 } = await import("./goal-tools-54BPLUQN.js");
|
|
175324
175555
|
return new UpdateGoalTool2(this);
|
|
175325
175556
|
});
|
|
175326
175557
|
if (this.getModelProposedGoals() !== "disabled" && (resolveInteractionMode(this) === "interactive" || this.goalProposalHostSupported)) {
|
|
175327
175558
|
await registerLazy(ToolNames.PROPOSE_GOAL, async () => {
|
|
175328
|
-
const { ProposeGoalTool: ProposeGoalTool2 } = await import("./goal-tools-
|
|
175559
|
+
const { ProposeGoalTool: ProposeGoalTool2 } = await import("./goal-tools-54BPLUQN.js");
|
|
175329
175560
|
return new ProposeGoalTool2(this);
|
|
175330
175561
|
});
|
|
175331
175562
|
}
|
|
@@ -175345,16 +175576,16 @@ var Config = class _Config {
|
|
|
175345
175576
|
});
|
|
175346
175577
|
}
|
|
175347
175578
|
await registerLazy(ToolNames.WEB_FETCH, async () => {
|
|
175348
|
-
const { WebFetchTool } = await import("./web-fetch-
|
|
175579
|
+
const { WebFetchTool } = await import("./web-fetch-DB6YX73X.js");
|
|
175349
175580
|
return new WebFetchTool(this);
|
|
175350
175581
|
});
|
|
175351
175582
|
const hasExplicitWebSearchBackend = !!this.webSearchSettings?.model?.trim() || !!this.webSearchSettings?.baseUrl;
|
|
175352
175583
|
if (!this.getBareMode() && !this.isSafeMode() && this.webSearchSettings?.enabled !== false && (this.webSearchSettings?.enabled === true || !hasExplicitWebSearchBackend)) {
|
|
175353
|
-
const { evaluateWebSearchGate } = await import("./web-search-
|
|
175584
|
+
const { evaluateWebSearchGate } = await import("./web-search-5N6YFNQL.js");
|
|
175354
175585
|
const gate = evaluateWebSearchGate(this);
|
|
175355
175586
|
if (gate.ok) {
|
|
175356
175587
|
await registerLazy(ToolNames.WEB_SEARCH, async () => {
|
|
175357
|
-
const { WebSearchTool } = await import("./web-search-
|
|
175588
|
+
const { WebSearchTool } = await import("./web-search-5N6YFNQL.js");
|
|
175358
175589
|
return new WebSearchTool(this);
|
|
175359
175590
|
});
|
|
175360
175591
|
} else if (!gate.silent && !this.webSearchNoticeEmitted && !options2?.forSubAgent) {
|
|
@@ -175371,8 +175602,8 @@ var Config = class _Config {
|
|
|
175371
175602
|
);
|
|
175372
175603
|
}
|
|
175373
175604
|
const [{ createExecutionTools }, { wrapExecutionTool }] = await Promise.all([
|
|
175374
|
-
import("./local-execution-environment-
|
|
175375
|
-
import("./execution-tool-
|
|
175605
|
+
import("./local-execution-environment-EIWDLRAH.js"),
|
|
175606
|
+
import("./execution-tool-AEINPRPE.js")
|
|
175376
175607
|
]);
|
|
175377
175608
|
for (const [name, tool] of createExecutionTools(this)) {
|
|
175378
175609
|
if (environment.toolNames && !environment.toolNames.has(name)) continue;
|
|
@@ -175387,7 +175618,7 @@ var Config = class _Config {
|
|
|
175387
175618
|
return new ToolCallTool(registry4);
|
|
175388
175619
|
});
|
|
175389
175620
|
await registerLazy(ToolNames.TOOL_SEARCH, async () => {
|
|
175390
|
-
const { ToolSearchTool } = await import("./tool-search-
|
|
175621
|
+
const { ToolSearchTool } = await import("./tool-search-QHLD7GJT.js");
|
|
175391
175622
|
return new ToolSearchTool(this);
|
|
175392
175623
|
});
|
|
175393
175624
|
if (this.executionEnvironment && !options2?.forSubAgent) {
|
|
@@ -175399,7 +175630,7 @@ var Config = class _Config {
|
|
|
175399
175630
|
}
|
|
175400
175631
|
if (this.shellExecutionSandbox) {
|
|
175401
175632
|
await registerLazy(ToolNames.SHELL, async () => {
|
|
175402
|
-
const { ShellTool: ShellTool2 } = await import("./shell-
|
|
175633
|
+
const { ShellTool: ShellTool2 } = await import("./shell-CVULXL34.js");
|
|
175403
175634
|
return new ShellTool2(this);
|
|
175404
175635
|
});
|
|
175405
175636
|
await registerLazy(ToolNames.TASK_STOP, async () => {
|
|
@@ -175407,27 +175638,27 @@ var Config = class _Config {
|
|
|
175407
175638
|
return new TaskStopTool(this);
|
|
175408
175639
|
});
|
|
175409
175640
|
await registerLazy(ToolNames.READ_FILE, async () => {
|
|
175410
|
-
const { ReadFileTool } = await import("./read-file-
|
|
175641
|
+
const { ReadFileTool } = await import("./read-file-5ACDU2YQ.js");
|
|
175411
175642
|
return new ReadFileTool(this);
|
|
175412
175643
|
});
|
|
175413
175644
|
await registerLazy(ToolNames.WRITE_FILE, async () => {
|
|
175414
|
-
const { WriteFileTool } = await import("./write-file-
|
|
175645
|
+
const { WriteFileTool } = await import("./write-file-4IU4MIDG.js");
|
|
175415
175646
|
return new WriteFileTool(this);
|
|
175416
175647
|
});
|
|
175417
175648
|
await registerLazy(ToolNames.EDIT, async () => {
|
|
175418
|
-
const { EditTool } = await import("./edit-
|
|
175649
|
+
const { EditTool } = await import("./edit-RTNEVAS4.js");
|
|
175419
175650
|
return new EditTool(this);
|
|
175420
175651
|
});
|
|
175421
175652
|
await registerLazy(ToolNames.MONITOR, async () => {
|
|
175422
|
-
const { MonitorTool } = await import("./monitor-
|
|
175653
|
+
const { MonitorTool } = await import("./monitor-6OK5CF7B.js");
|
|
175423
175654
|
return new MonitorTool(this);
|
|
175424
175655
|
});
|
|
175425
175656
|
await registerLazy(ToolNames.AGENT, async () => {
|
|
175426
|
-
const { AgentTool: AgentTool2 } = await import("./agent-
|
|
175657
|
+
const { AgentTool: AgentTool2 } = await import("./agent-OUKS3KJA.js");
|
|
175427
175658
|
return new AgentTool2(this);
|
|
175428
175659
|
});
|
|
175429
175660
|
await registerLazy(ToolNames.GLOB, async () => {
|
|
175430
|
-
const { GlobTool } = await import("./glob-
|
|
175661
|
+
const { GlobTool } = await import("./glob-CTWTSEIV.js");
|
|
175431
175662
|
return new GlobTool(this);
|
|
175432
175663
|
});
|
|
175433
175664
|
await registerLazy(ToolNames.LS, async () => {
|
|
@@ -175446,19 +175677,19 @@ var Config = class _Config {
|
|
|
175446
175677
|
}
|
|
175447
175678
|
if (this.getBareMode()) {
|
|
175448
175679
|
await registerLazy(ToolNames.READ_FILE, async () => {
|
|
175449
|
-
const { ReadFileTool } = await import("./read-file-
|
|
175680
|
+
const { ReadFileTool } = await import("./read-file-5ACDU2YQ.js");
|
|
175450
175681
|
return new ReadFileTool(this);
|
|
175451
175682
|
});
|
|
175452
175683
|
await registerLazy(ToolNames.EDIT, async () => {
|
|
175453
|
-
const { EditTool } = await import("./edit-
|
|
175684
|
+
const { EditTool } = await import("./edit-RTNEVAS4.js");
|
|
175454
175685
|
return new EditTool(this);
|
|
175455
175686
|
});
|
|
175456
175687
|
await registerLazy(ToolNames.NOTEBOOK_EDIT, async () => {
|
|
175457
|
-
const { NotebookEditTool } = await import("./notebook-edit-
|
|
175688
|
+
const { NotebookEditTool } = await import("./notebook-edit-IIZUM2QQ.js");
|
|
175458
175689
|
return new NotebookEditTool(this);
|
|
175459
175690
|
});
|
|
175460
175691
|
await registerLazy(ToolNames.SHELL, async () => {
|
|
175461
|
-
const { ShellTool: ShellTool2 } = await import("./shell-
|
|
175692
|
+
const { ShellTool: ShellTool2 } = await import("./shell-CVULXL34.js");
|
|
175462
175693
|
return new ShellTool2(this);
|
|
175463
175694
|
});
|
|
175464
175695
|
await registerGoalWorkerTools();
|
|
@@ -175477,7 +175708,7 @@ var Config = class _Config {
|
|
|
175477
175708
|
return new ToolCallTool(registry4);
|
|
175478
175709
|
});
|
|
175479
175710
|
await registerLazy(ToolNames.TOOL_SEARCH, async () => {
|
|
175480
|
-
const { ToolSearchTool } = await import("./tool-search-
|
|
175711
|
+
const { ToolSearchTool } = await import("./tool-search-QHLD7GJT.js");
|
|
175481
175712
|
return new ToolSearchTool(this);
|
|
175482
175713
|
});
|
|
175483
175714
|
await registerLazy(ToolNames.READ_MCP_RESOURCE, async () => {
|
|
@@ -175485,11 +175716,11 @@ var Config = class _Config {
|
|
|
175485
175716
|
return new ReadMcpResourceTool(this);
|
|
175486
175717
|
});
|
|
175487
175718
|
await registerLazy(ToolNames.AGENT, async () => {
|
|
175488
|
-
const { AgentTool: AgentTool2 } = await import("./agent-
|
|
175719
|
+
const { AgentTool: AgentTool2 } = await import("./agent-OUKS3KJA.js");
|
|
175489
175720
|
return new AgentTool2(this);
|
|
175490
175721
|
});
|
|
175491
175722
|
await registerLazy(ToolNames.LIST_AGENTS, async () => {
|
|
175492
|
-
const { ListAgentsTool } = await import("./list-agents-
|
|
175723
|
+
const { ListAgentsTool } = await import("./list-agents-A7UJ6VXZ.js");
|
|
175493
175724
|
return new ListAgentsTool(this);
|
|
175494
175725
|
});
|
|
175495
175726
|
await registerLazy(ToolNames.TASK_STOP, async () => {
|
|
@@ -175497,11 +175728,11 @@ var Config = class _Config {
|
|
|
175497
175728
|
return new TaskStopTool(this);
|
|
175498
175729
|
});
|
|
175499
175730
|
await registerLazy(ToolNames.SEND_MESSAGE, async () => {
|
|
175500
|
-
const { SendMessageTool } = await import("./send-message-
|
|
175731
|
+
const { SendMessageTool } = await import("./send-message-H6B5EST3.js");
|
|
175501
175732
|
return new SendMessageTool(this);
|
|
175502
175733
|
});
|
|
175503
175734
|
await registerLazy(ToolNames.SKILL, async () => {
|
|
175504
|
-
const { SkillTool } = await import("./skill-
|
|
175735
|
+
const { SkillTool } = await import("./skill-TA4CALBL.js");
|
|
175505
175736
|
return new SkillTool(this);
|
|
175506
175737
|
});
|
|
175507
175738
|
if (this.isLsToolEnabled()) {
|
|
@@ -175511,11 +175742,11 @@ var Config = class _Config {
|
|
|
175511
175742
|
});
|
|
175512
175743
|
}
|
|
175513
175744
|
await registerLazy(ToolNames.READ_FILE, async () => {
|
|
175514
|
-
const { ReadFileTool } = await import("./read-file-
|
|
175745
|
+
const { ReadFileTool } = await import("./read-file-5ACDU2YQ.js");
|
|
175515
175746
|
return new ReadFileTool(this);
|
|
175516
175747
|
});
|
|
175517
175748
|
await registerLazy(ToolNames.ZOOM_IMAGE, async () => {
|
|
175518
|
-
const { ZoomImageTool } = await import("./zoom-image-
|
|
175749
|
+
const { ZoomImageTool } = await import("./zoom-image-AIPZJAB4.js");
|
|
175519
175750
|
return new ZoomImageTool(this);
|
|
175520
175751
|
});
|
|
175521
175752
|
if (this.getUseRipgrep()) {
|
|
@@ -175530,7 +175761,7 @@ var Config = class _Config {
|
|
|
175530
175761
|
recordStartupEvent("config_initialize_ripgrep_probe_end");
|
|
175531
175762
|
if (useRipgrep) {
|
|
175532
175763
|
await registerLazy(ToolNames.GREP, async () => {
|
|
175533
|
-
const { RipGrepTool } = await import("./ripGrep-
|
|
175764
|
+
const { RipGrepTool } = await import("./ripGrep-WLW256L7.js");
|
|
175534
175765
|
return new RipGrepTool(this);
|
|
175535
175766
|
});
|
|
175536
175767
|
} else {
|
|
@@ -175556,23 +175787,23 @@ var Config = class _Config {
|
|
|
175556
175787
|
});
|
|
175557
175788
|
}
|
|
175558
175789
|
await registerLazy(ToolNames.GLOB, async () => {
|
|
175559
|
-
const { GlobTool } = await import("./glob-
|
|
175790
|
+
const { GlobTool } = await import("./glob-CTWTSEIV.js");
|
|
175560
175791
|
return new GlobTool(this);
|
|
175561
175792
|
});
|
|
175562
175793
|
await registerLazy(ToolNames.EDIT, async () => {
|
|
175563
|
-
const { EditTool } = await import("./edit-
|
|
175794
|
+
const { EditTool } = await import("./edit-RTNEVAS4.js");
|
|
175564
175795
|
return new EditTool(this);
|
|
175565
175796
|
});
|
|
175566
175797
|
await registerLazy(ToolNames.NOTEBOOK_EDIT, async () => {
|
|
175567
|
-
const { NotebookEditTool } = await import("./notebook-edit-
|
|
175798
|
+
const { NotebookEditTool } = await import("./notebook-edit-IIZUM2QQ.js");
|
|
175568
175799
|
return new NotebookEditTool(this);
|
|
175569
175800
|
});
|
|
175570
175801
|
await registerLazy(ToolNames.WRITE_FILE, async () => {
|
|
175571
|
-
const { WriteFileTool } = await import("./write-file-
|
|
175802
|
+
const { WriteFileTool } = await import("./write-file-4IU4MIDG.js");
|
|
175572
175803
|
return new WriteFileTool(this);
|
|
175573
175804
|
});
|
|
175574
175805
|
await registerLazy(ToolNames.SHELL, async () => {
|
|
175575
|
-
const { ShellTool: ShellTool2 } = await import("./shell-
|
|
175806
|
+
const { ShellTool: ShellTool2 } = await import("./shell-CVULXL34.js");
|
|
175576
175807
|
return new ShellTool2(this);
|
|
175577
175808
|
});
|
|
175578
175809
|
await registerLazy(ToolNames.REPORT_FINDINGS, async () => {
|
|
@@ -175588,13 +175819,13 @@ var Config = class _Config {
|
|
|
175588
175819
|
}
|
|
175589
175820
|
if (!this.sdkMode && (supportsUserInteraction || options2?.forSubAgent)) {
|
|
175590
175821
|
await registerLazy(ToolNames.EXIT_PLAN_MODE, async () => {
|
|
175591
|
-
const { ExitPlanModeTool: ExitPlanModeTool2 } = await import("./exitPlanMode-
|
|
175822
|
+
const { ExitPlanModeTool: ExitPlanModeTool2 } = await import("./exitPlanMode-PQ57IF6L.js");
|
|
175592
175823
|
return new ExitPlanModeTool2(this);
|
|
175593
175824
|
});
|
|
175594
175825
|
}
|
|
175595
175826
|
if (!this.sdkMode && supportsUserInteraction) {
|
|
175596
175827
|
await registerLazy(ToolNames.ENTER_PLAN_MODE, async () => {
|
|
175597
|
-
const { EnterPlanModeTool } = await import("./enterPlanMode-
|
|
175828
|
+
const { EnterPlanModeTool } = await import("./enterPlanMode-CDLYJQDN.js");
|
|
175598
175829
|
return new EnterPlanModeTool(this);
|
|
175599
175830
|
});
|
|
175600
175831
|
}
|
|
@@ -175661,7 +175892,7 @@ var Config = class _Config {
|
|
|
175661
175892
|
}
|
|
175662
175893
|
if (this.isAgentTeamEnabled()) {
|
|
175663
175894
|
await registerLazy(ToolNames.TEAM_CREATE, async () => {
|
|
175664
|
-
const { TeamCreateTool } = await import("./team-create-
|
|
175895
|
+
const { TeamCreateTool } = await import("./team-create-FAWOEYNL.js");
|
|
175665
175896
|
return new TeamCreateTool(this);
|
|
175666
175897
|
});
|
|
175667
175898
|
await registerLazy(ToolNames.TEAM_DELETE, async () => {
|
|
@@ -175669,7 +175900,7 @@ var Config = class _Config {
|
|
|
175669
175900
|
return new TeamDeleteTool(this);
|
|
175670
175901
|
});
|
|
175671
175902
|
await registerLazy(ToolNames.TEAM_PLAN_APPROVAL, async () => {
|
|
175672
|
-
const { TeamPlanApprovalTool } = await import("./team-plan-approval-
|
|
175903
|
+
const { TeamPlanApprovalTool } = await import("./team-plan-approval-3T7EVWTL.js");
|
|
175673
175904
|
return new TeamPlanApprovalTool(this);
|
|
175674
175905
|
});
|
|
175675
175906
|
if (!options2?.forSubAgent) {
|
|
@@ -175765,7 +175996,7 @@ var Config = class _Config {
|
|
|
175765
175996
|
}
|
|
175766
175997
|
}
|
|
175767
175998
|
await registerLazy(ToolNames.MONITOR, async () => {
|
|
175768
|
-
const { MonitorTool } = await import("./monitor-
|
|
175999
|
+
const { MonitorTool } = await import("./monitor-6OK5CF7B.js");
|
|
175769
176000
|
return new MonitorTool(this);
|
|
175770
176001
|
});
|
|
175771
176002
|
if (this.pendingMcpBudgetCallback) {
|