@organizaone/o1-code 0.15.0 → 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.
Files changed (248) hide show
  1. package/bundled/qc-helper/docs/support/troubleshooting.md +4 -0
  2. package/chunks/{MaxSizedBox-O7G2ZRYR.js → MaxSizedBox-WCIHTA5J.js} +17 -17
  3. package/chunks/{StandaloneSessionPicker-BIGZLIRY.js → StandaloneSessionPicker-FPZOMXZZ.js} +30 -30
  4. package/chunks/{acp-subagent-executor-A7RO7LHH.js → acp-subagent-executor-NZEXVO6C.js} +19 -19
  5. package/chunks/{acpAgent-AFGYYTUH.js → acpAgent-5C3S3EXK.js} +54 -54
  6. package/chunks/{agent-PV23LGME.js → agent-OUKS3KJA.js} +9 -9
  7. package/chunks/{agent-headless-PEA6NNMN.js → agent-headless-MXWPFKRF.js} +9 -9
  8. package/chunks/{all-providers-FZ4ESP4Z.js → all-providers-U3R3R6E7.js} +2 -2
  9. package/chunks/{anthropicContentGenerator-XWCHKKOI.js → anthropicContentGenerator-HSU2Y3YE.js} +5 -5
  10. package/chunks/{bridge-7L53A4AM.js → bridge-JHBIMGIY.js} +19 -19
  11. package/chunks/{chunk-LE5TRASB.js → chunk-25JT53JK.js} +1 -1
  12. package/chunks/{chunk-MMXQXZWA.js → chunk-2EAL2FHY.js} +4 -4
  13. package/chunks/{chunk-NUSAKUTH.js → chunk-2IMNI647.js} +1 -1
  14. package/chunks/{chunk-YT5BWAWH.js → chunk-2SSQSUD7.js} +1 -1
  15. package/chunks/{chunk-QMJ6GWQX.js → chunk-3AF7X2MG.js} +1 -1
  16. package/chunks/{chunk-7UZZDG7L.js → chunk-3HY7YVUK.js} +26 -26
  17. package/chunks/{chunk-T74COXKF.js → chunk-3XGM4GXG.js} +11 -11
  18. package/chunks/{chunk-6R2MXKWJ.js → chunk-4WWJCEWY.js} +4 -4
  19. package/chunks/{chunk-XMF6AIIL.js → chunk-54M5TQ2R.js} +2 -2
  20. package/chunks/{chunk-7NVHSJXM.js → chunk-56HAFFVR.js} +7 -7
  21. package/chunks/{chunk-4LXE6MLF.js → chunk-5KPMPTTM.js} +1 -1
  22. package/chunks/{chunk-JEDXP6FR.js → chunk-6JA47LCQ.js} +1 -1
  23. package/chunks/{chunk-LB4ZZJJM.js → chunk-6JTVWRDH.js} +1 -1
  24. package/chunks/{chunk-DTA6JUKZ.js → chunk-75RB6EGS.js} +1 -1
  25. package/chunks/{chunk-46H5ZP7X.js → chunk-7TWCFU7L.js} +1 -1
  26. package/chunks/{chunk-WOGFLOFT.js → chunk-7XOIEIK2.js} +4 -4
  27. package/chunks/{chunk-R27K7DNS.js → chunk-BAY2S4AG.js} +4 -4
  28. package/chunks/{chunk-R3ZENPTG.js → chunk-BIINRKJD.js} +1 -1
  29. package/chunks/{chunk-XJLSYFTS.js → chunk-BL4MZ3ZG.js} +3 -3
  30. package/chunks/{chunk-VH24XB23.js → chunk-C4SR35GB.js} +1 -1
  31. package/chunks/{chunk-P7FKRAJ6.js → chunk-CO3SD65V.js} +3 -3
  32. package/chunks/{chunk-HODHQG2A.js → chunk-CPQMNYBE.js} +2 -2
  33. package/chunks/{chunk-4JSCCVOO.js → chunk-CYDSNNR5.js} +6 -6
  34. package/chunks/{chunk-Q3275KQT.js → chunk-DA4GEY74.js} +12 -2
  35. package/chunks/{chunk-OF73JBMF.js → chunk-DPVWZLJW.js} +3 -3
  36. package/chunks/{chunk-QO72AGKU.js → chunk-DTJHPTCP.js} +1 -1
  37. package/chunks/{chunk-WE52DYQN.js → chunk-ECBJ5FS3.js} +2 -2
  38. package/chunks/{chunk-Y5JTX5BE.js → chunk-F3TYA6UD.js} +2 -2
  39. package/chunks/{chunk-XPSDYGLU.js → chunk-FBXM55GQ.js} +1 -1
  40. package/chunks/{chunk-CMW56OJG.js → chunk-FO2XIE6X.js} +11 -11
  41. package/chunks/{chunk-FI36HOVR.js → chunk-FQSMZJTY.js} +1 -1
  42. package/chunks/{chunk-DAB7MOET.js → chunk-G3GZR2GB.js} +1 -1
  43. package/chunks/{chunk-FADOMWAI.js → chunk-G3TMBRML.js} +1 -1
  44. package/chunks/{chunk-GEO7X3EN.js → chunk-G7JLEAIF.js} +2 -2
  45. package/chunks/{chunk-HYZ7GRES.js → chunk-GBEDSUAL.js} +2 -2
  46. package/chunks/{chunk-PDZGLV3P.js → chunk-H656RRY6.js} +7 -7
  47. package/chunks/{chunk-FFWWJHI7.js → chunk-HGUMEOGA.js} +4 -4
  48. package/chunks/{chunk-5G7PI5O3.js → chunk-HWUZG6HM.js} +2 -2
  49. package/chunks/{chunk-UVGSFQ4I.js → chunk-IKQ3LPTK.js} +2 -2
  50. package/chunks/{chunk-QWO3KT35.js → chunk-IN4QTEKF.js} +2 -2
  51. package/chunks/{chunk-7EF7MDGB.js → chunk-JAPK5MIN.js} +3 -3
  52. package/chunks/{chunk-XXM44WQ5.js → chunk-M2W6Q7ZY.js} +2 -2
  53. package/chunks/{chunk-3ERDAKD7.js → chunk-M5PBINBK.js} +1 -1
  54. package/chunks/{chunk-RONJ4ZC5.js → chunk-MDXRSVFU.js} +1 -1
  55. package/chunks/{chunk-AX74MBBW.js → chunk-MMM4JHDL.js} +1 -1
  56. package/chunks/{chunk-4DRJFWXS.js → chunk-MXUFKTRV.js} +3 -3
  57. package/chunks/{chunk-JFCIZ63D.js → chunk-NC333V4Q.js} +1 -1
  58. package/chunks/{chunk-4XNNJAVK.js → chunk-NQHJ4XI4.js} +2 -2
  59. package/chunks/{chunk-HSJMAQII.js → chunk-NTATN4NC.js} +5 -5
  60. package/chunks/{chunk-B2EKPHXQ.js → chunk-OQ5UCQEU.js} +1 -1
  61. package/chunks/{chunk-FF4G3BYI.js → chunk-PB4JDMEU.js} +26 -26
  62. package/chunks/{chunk-7DKVPPL3.js → chunk-PZA6OK5U.js} +2 -2
  63. package/chunks/{chunk-2RSWDZVO.js → chunk-QCKD7NUE.js} +245 -58
  64. package/chunks/{chunk-YBQLV5NQ.js → chunk-QHZJAK26.js} +5 -5
  65. package/chunks/{chunk-52L6JTMO.js → chunk-QINR3BPI.js} +2 -2
  66. package/chunks/{chunk-DWT44BB5.js → chunk-QJOAE3MY.js} +1 -1
  67. package/chunks/{chunk-AVLRJ5GO.js → chunk-QPATMMH6.js} +10 -10
  68. package/chunks/{chunk-CRGQG4ZJ.js → chunk-THF6QN43.js} +2 -2
  69. package/chunks/{chunk-RDQZ4Z3T.js → chunk-TPTKSRDS.js} +2 -2
  70. package/chunks/{chunk-ZHRNMGGR.js → chunk-TSWAMCTA.js} +1 -1
  71. package/chunks/{chunk-FXYJP742.js → chunk-U3TAPXNY.js} +2 -2
  72. package/chunks/{chunk-RBG3RNDF.js → chunk-UBBF6OHF.js} +1 -1
  73. package/chunks/{chunk-BYF5YB4S.js → chunk-UUYHAE7L.js} +2 -2
  74. package/chunks/{chunk-4EVSBPVF.js → chunk-UZO5EWDY.js} +1 -1
  75. package/chunks/{chunk-ZG3ZB6LH.js → chunk-V5FMJGT3.js} +3 -3
  76. package/chunks/{chunk-2DQNWI5T.js → chunk-VCR2ZMBJ.js} +3 -3
  77. package/chunks/{chunk-RJ56P2F7.js → chunk-VOC5JURN.js} +1 -1
  78. package/chunks/{chunk-HRQT6PTP.js → chunk-VOHQDSSM.js} +3 -3
  79. package/chunks/{chunk-I32MCMVV.js → chunk-VT4QNRKU.js} +4 -4
  80. package/chunks/{chunk-CCW5CSV7.js → chunk-VWNJNOMV.js} +4 -4
  81. package/chunks/{chunk-FSDDJVL4.js → chunk-W5MVK3CY.js} +3 -3
  82. package/chunks/{chunk-QPVENQJH.js → chunk-WN5SRYTJ.js} +2 -2
  83. package/chunks/{chunk-LPF2XDE2.js → chunk-WSJ2ZA4C.js} +6 -6
  84. package/chunks/{chunk-5GR3V3II.js → chunk-YOQXJIDM.js} +2 -2
  85. package/chunks/{chunk-DXXRKDEZ.js → chunk-YSXZMF2B.js} +3 -3
  86. package/chunks/{chunk-5OYTF5XP.js → chunk-ZHEOV5HE.js} +1 -1
  87. package/chunks/{chunk-3FJHPBCE.js → chunk-ZIULS3Z4.js} +1 -1
  88. package/chunks/{chunk-35KQ7CDI.js → chunk-ZLILADLQ.js} +4 -4
  89. package/chunks/{chunk-YHCW34AJ.js → chunk-ZZTHZM2I.js} +1 -1
  90. package/chunks/{codex-subagent-executor-JBCVWY67.js → codex-subagent-executor-AHUDSG4Y.js} +19 -19
  91. package/chunks/{contextCommand-PLGPX4BU.js → contextCommand-XGDON2S3.js} +18 -18
  92. package/chunks/{core-runtime-AOXGKBMN.js → core-runtime-TBFHSDHQ.js} +17 -17
  93. package/chunks/{create-sub-session-OGKW35EJ.js → create-sub-session-I5GYJEYY.js} +18 -18
  94. package/chunks/{daemon-git-worktree-guard-MHUJPQU4.js → daemon-git-worktree-guard-ZOB5RPFK.js} +17 -17
  95. package/chunks/{daemon-status-provider-VR3TJW6Y.js → daemon-status-provider-FGZH6W4M.js} +23 -23
  96. package/chunks/{daemon-trust-policy-HIIJ3AW2.js → daemon-trust-policy-QFXVDRS7.js} +22 -22
  97. package/chunks/{daemon-trust-policy-monitor-CP2PTB7Z.js → daemon-trust-policy-monitor-XEGSMSQ2.js} +22 -22
  98. package/chunks/{deferred-core-runtime-YN2YQOS3.js → deferred-core-runtime-NRNCEWYK.js} +17 -17
  99. package/chunks/{edit-MKZIJJFV.js → edit-RTNEVAS4.js} +11 -11
  100. package/chunks/{enterPlanMode-2JDPJDOI.js → enterPlanMode-CDLYJQDN.js} +9 -9
  101. package/chunks/{environment-PJB6G3DC.js → environment-NXOZD6YO.js} +19 -19
  102. package/chunks/{errors-RCPKPF4D.js → errors-Z5K742KC.js} +19 -19
  103. package/chunks/{execution-tool-QXSN5SIB.js → execution-tool-AEINPRPE.js} +11 -11
  104. package/chunks/{execution-worker-JZMBO7AU.js → execution-worker-5KA2DSDN.js} +14 -14
  105. package/chunks/{exitPlanMode-B6VQ7WU4.js → exitPlanMode-PQ57IF6L.js} +9 -9
  106. package/chunks/{fast-path-WTTSHBHO.js → fast-path-YBLVVROI.js} +2 -2
  107. package/chunks/{glob-GYFLWO23.js → glob-CTWTSEIV.js} +9 -9
  108. package/chunks/{goal-tools-NQKMSURK.js → goal-tools-54BPLUQN.js} +9 -9
  109. package/chunks/{handleAutoUpdate-SMCAKDKC.js → handleAutoUpdate-Z4SSSZ2E.js} +19 -19
  110. package/chunks/{i18n-M37YB75J.js → i18n-YZNEGDIL.js} +17 -17
  111. package/chunks/{initializer-7QNGXIFH.js → initializer-3OVUOMDI.js} +22 -22
  112. package/chunks/{installationInfo-WYK5GZ76.js → installationInfo-ELJ2EVAQ.js} +17 -17
  113. package/chunks/{list-Q5BU32SE.js → list-HOPL7DZF.js} +24 -24
  114. package/chunks/{llm-FIJJDU6O.js → llm-V2XIIRDV.js} +47 -47
  115. package/chunks/{llm-content-generator-TL62ECGM.js → llm-content-generator-5YWGTM5P.js} +4 -4
  116. package/chunks/{loadedSettingsAdapter-NQPUHSAO.js → loadedSettingsAdapter-CJLTFJ4N.js} +22 -22
  117. package/chunks/{local-execution-environment-T2TD4DV6.js → local-execution-environment-EIWDLRAH.js} +14 -14
  118. package/chunks/{loggingContentGenerator-3FNNMRBZ.js → loggingContentGenerator-7BF4GJCS.js} +10 -10
  119. package/chunks/{managed-npm-update-LGPY3TA6.js → managed-npm-update-WITECQFC.js} +17 -17
  120. package/chunks/{mcp-J3A5XLOV.js → mcp-T4PROT4K.js} +22 -22
  121. package/chunks/{model-call-collection-5U5N23HQ.js → model-call-collection-XR3R3VVM.js} +1 -1
  122. package/chunks/{model-configuration-MZ6CUBPJ.js → model-configuration-HMBGB7SA.js} +23 -23
  123. package/chunks/{modelConfigUtils-5SJN5MCH.js → modelConfigUtils-3CK424YK.js} +19 -19
  124. package/chunks/{monitor-3B7HPA37.js → monitor-6OK5CF7B.js} +9 -9
  125. package/chunks/{nonInteractiveCli-ENHKPCSB.js → nonInteractiveCli-RIK2HQON.js} +45 -45
  126. package/chunks/{nonInteractiveToolExecutor-I6XHNZQV.js → nonInteractiveToolExecutor-MC2XGWHT.js} +10 -10
  127. package/chunks/{notebook-edit-BOPJ7HJ5.js → notebook-edit-IIZUM2QQ.js} +10 -10
  128. package/chunks/{omni-NDS6RRPE.js → omni-ZNA6SYTJ.js} +9 -9
  129. package/chunks/{openaiContentGenerator-FD6PKK7U.js → openaiContentGenerator-UU7GV5FP.js} +7 -7
  130. package/chunks/{openaiResponsesContentGenerator-CX5BJT3H.js → openaiResponsesContentGenerator-BCC47KF7.js} +4 -4
  131. package/chunks/{processUtils-DYLWKVGY.js → processUtils-PHZAU2FF.js} +2 -2
  132. package/chunks/{prompt-terminal-ledger-GVYJCNHN.js → prompt-terminal-ledger-DTT42BN5.js} +18 -18
  133. package/chunks/{reactive-degrade-PWOKK52Z.js → reactive-degrade-IO4MRXRH.js} +8 -8
  134. package/chunks/{read-file-QNL7JRBN.js → read-file-5ACDU2YQ.js} +1 -1
  135. package/chunks/{resumeHistoryUtils-FBULSJIP.js → resumeHistoryUtils-K4TUEBRE.js} +18 -18
  136. package/chunks/{ripGrep-4XTRKASX.js → ripGrep-WLW256L7.js} +1 -1
  137. package/chunks/{run-o1-code-serve-FXAMAHOO.js → run-o1-code-serve-XNXL6BGH.js} +32 -32
  138. package/chunks/{sandboxConfig-QCO5DWYQ.js → sandboxConfig-6ERJ2VSP.js} +17 -17
  139. package/chunks/{scheduled-tasks-NSSH5VOP.js → scheduled-tasks-IQLWO7QP.js} +22 -22
  140. package/chunks/{scheduler-56522BVY.js → scheduler-YM3RUYQT.js} +19 -19
  141. package/chunks/{serve-XPMWF6P2.js → serve-Q5A4XGNN.js} +22 -22
  142. package/chunks/{server-3HJUOXO6.js → server-DUQGQKW7.js} +45 -45
  143. package/chunks/{session-2ZGNP3JN.js → session-L7J2BJ4B.js} +46 -46
  144. package/chunks/{session-USLQVMHK.js → session-MECHV24O.js} +1 -1
  145. package/chunks/{session-attachments-root-CSR65ITD.js → session-attachments-root-T6YBSJ3U.js} +17 -17
  146. package/chunks/{session-pr-refresh-7VHDYKI5.js → session-pr-refresh-HHPFHEXI.js} +21 -21
  147. package/chunks/{settings-7D3KTPDJ.js → settings-PQ7U5ALA.js} +21 -21
  148. package/chunks/{shell-3MMVXNLH.js → shell-CVULXL34.js} +9 -9
  149. package/chunks/{skill-VD4DNOVA.js → skill-TA4CALBL.js} +1 -1
  150. package/chunks/{skill-settings-6G6KNY75.js → skill-settings-5CMBXYNQ.js} +21 -21
  151. package/chunks/{spawnChannel-3G2ZEX6N.js → spawnChannel-LT5O6P3J.js} +18 -18
  152. package/chunks/{standalone-update-6WHFCPQK.js → standalone-update-ITMWGCH5.js} +18 -18
  153. package/chunks/{startInteractiveUI-IE3JBVIA.js → startInteractiveUI-JB2KE65F.js} +53 -53
  154. package/chunks/{team-create-INVD7CZA.js → team-create-FAWOEYNL.js} +9 -9
  155. package/chunks/{team-plan-approval-X3RPLEM5.js → team-plan-approval-3T7EVWTL.js} +9 -9
  156. package/chunks/{terminal-image-renderer-QKR7JHLJ.js → terminal-image-renderer-VHUUIAKF.js} +17 -17
  157. package/chunks/{theme-manager-JZIWFQFR.js → theme-manager-ZFTUPCOT.js} +17 -17
  158. package/chunks/{tool-result-media-UR3332TH.js → tool-result-media-77JB2L2U.js} +9 -9
  159. package/chunks/{tool-search-VFXZN2VC.js → tool-search-QHLD7GJT.js} +1 -1
  160. package/chunks/{total-session-admission-GBM7FPBI.js → total-session-admission-6XKHQLLL.js} +19 -19
  161. package/chunks/{trustedFolders-GBAOKT4A.js → trustedFolders-XTVMYO3M.js} +18 -18
  162. package/chunks/{update-relaunch-FQYXBQMI.js → update-relaunch-2DU52FES.js} +5 -5
  163. package/chunks/{updateCheck-HDD2DZ6Y.js → updateCheck-7KC26GUX.js} +17 -17
  164. package/chunks/{upload-config-NJJI7MOI.js → upload-config-HMSU4CZP.js} +6 -6
  165. package/chunks/{useAutoAcceptIndicator-GITM657T.js → useAutoAcceptIndicator-NRR52JRP.js} +24 -24
  166. package/chunks/{validateNonInterActiveAuth-O7MD6UW4.js → validateNonInterActiveAuth-VVX3IIDW.js} +43 -43
  167. package/chunks/{version-TX6H2U3L.js → version-EBHPPTUN.js} +1 -1
  168. package/chunks/{web-fetch-RVYBM4NU.js → web-fetch-DB6YX73X.js} +1 -1
  169. package/chunks/{web-search-B6W4C5JM.js → web-search-5N6YFNQL.js} +7 -7
  170. package/chunks/{workflow-KR7EAPUM.js → workflow-2U3MBIGP.js} +10 -10
  171. package/chunks/{workspace-providers-status-2G6MBEVA.js → workspace-providers-status-P34L7WWU.js} +26 -26
  172. package/chunks/{workspace-registration-store-OH6P3EPH.js → workspace-registration-store-DRQK7E65.js} +1 -1
  173. package/chunks/{workspace-registry-Y35XQZCS.js → workspace-registry-6IQR6KH7.js} +19 -19
  174. package/chunks/{workspace-runtime-coordinator-U3URIEFA.js → workspace-runtime-coordinator-UY5H2H6F.js} +19 -19
  175. package/chunks/{workspace-service-WC5WYXT6.js → workspace-service-T4U4M57B.js} +24 -24
  176. package/chunks/{workspace-skills-status-HKPF4YQD.js → workspace-skills-status-EZB7FZDA.js} +22 -22
  177. package/chunks/{workspace-trust-reconciler-3UQXQCWY.js → workspace-trust-reconciler-FW7PNFE7.js} +24 -24
  178. package/chunks/{write-file-GTT4MO5C.js → write-file-4IU4MIDG.js} +11 -11
  179. package/chunks/{zoom-image-2KVDIK5E.js → zoom-image-AIPZJAB4.js} +1 -1
  180. package/cli.js +12 -12
  181. package/execution-worker.js +1 -1
  182. package/export-transcript-document.js +1 -1
  183. package/package.json +2 -2
  184. package/release-notes.json +5 -0
  185. package/web-shell/assets/{abnfDiagram-VCTEODGH-Dh4ud-bV.js → abnfDiagram-VCTEODGH-8zBYfkj0.js} +1 -1
  186. package/web-shell/assets/{arc-CzedV-8_.js → arc-Dr7frfgI.js} +1 -1
  187. package/web-shell/assets/{architectureDiagram-5GKGNRK7-DcdBEH6f.js → architectureDiagram-5GKGNRK7-Dw0TobFx.js} +1 -1
  188. package/web-shell/assets/{blockDiagram-NRAW4CY4-uDeURqM8.js → blockDiagram-NRAW4CY4-vKHZF19g.js} +1 -1
  189. package/web-shell/assets/{c4Diagram-UCG6FXSJ-810hyXoQ.js → c4Diagram-UCG6FXSJ-BTDDLR0b.js} +1 -1
  190. package/web-shell/assets/channel-BDp9YKm9.js +1 -0
  191. package/web-shell/assets/{chunk-2Q5K7J3B-Mk0ldZt-.js → chunk-2Q5K7J3B-Boqx2Q3v.js} +1 -1
  192. package/web-shell/assets/{chunk-5VM5RSS4-Bz2kOVPI.js → chunk-5VM5RSS4-tKCWS0Nx.js} +1 -1
  193. package/web-shell/assets/{chunk-F27PBJKO-CAjzX5Mt.js → chunk-F27PBJKO-C6NkGIMe.js} +1 -1
  194. package/web-shell/assets/{chunk-G27WJ6UU-DqvudZ0O.js → chunk-G27WJ6UU-ChQxnaEI.js} +1 -1
  195. package/web-shell/assets/{chunk-JWPE2WC7-Dw-KeS8S.js → chunk-JWPE2WC7-DAhrR7V5.js} +1 -1
  196. package/web-shell/assets/{chunk-LCL6LL3I-DNF6ysro.js → chunk-LCL6LL3I-DQgb43EV.js} +1 -1
  197. package/web-shell/assets/{chunk-POPQ4Y6H-DWU0wpHI.js → chunk-POPQ4Y6H-DdSgsFCr.js} +1 -1
  198. package/web-shell/assets/{chunk-SVP7TREG-BQOJiqUJ.js → chunk-SVP7TREG-CsyENxwm.js} +1 -1
  199. package/web-shell/assets/{chunk-XXDRQBXY-icpdUXXf.js → chunk-XXDRQBXY-h3qkgMY3.js} +1 -1
  200. package/web-shell/assets/classDiagram-DTDB5LWJ-DOReB-DE.js +1 -0
  201. package/web-shell/assets/classDiagram-v2-JRS7N3AN-DOReB-DE.js +1 -0
  202. package/web-shell/assets/{cose-bilkent-JH36ORCC-BS-UzOw7.js → cose-bilkent-JH36ORCC-Bzh-NzMt.js} +1 -1
  203. package/web-shell/assets/{cynefin-OW5HDTMX-BWgRJWKh.js → cynefin-OW5HDTMX-C4_P_Yoc.js} +1 -1
  204. package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-C6kE3QdM.js → cynefinDiagram-5FMLGOSQ-BuW621YL.js} +1 -1
  205. package/web-shell/assets/{dagre-3AP2YEHR-DHbMoz2D.js → dagre-3AP2YEHR-DEYS83zL.js} +1 -1
  206. package/web-shell/assets/{diagram-S7CK7UJ4-8S4HP9wv.js → diagram-S7CK7UJ4-BMtjGmDg.js} +1 -1
  207. package/web-shell/assets/{diagram-UQ7AKVKN-CDM_fDvK.js → diagram-UQ7AKVKN-BzxkP09r.js} +1 -1
  208. package/web-shell/assets/{diagram-VSXAHHWV-Jt_YgGmQ.js → diagram-VSXAHHWV-EMYvU-cZ.js} +1 -1
  209. package/web-shell/assets/{diagram-VX7I27RA-jgA2EN0U.js → diagram-VX7I27RA-CnspBccH.js} +1 -1
  210. package/web-shell/assets/{diagram-Z3DM3KII-34lWgOek.js → diagram-Z3DM3KII-0NFTLr1f.js} +1 -1
  211. package/web-shell/assets/{ebnfDiagram-PWID7BFC-DkXkay_a.js → ebnfDiagram-PWID7BFC-Cn16enHu.js} +1 -1
  212. package/web-shell/assets/{erDiagram-SSCWMZ5O-2F7Ae8PJ.js → erDiagram-SSCWMZ5O-Cti58N5W.js} +1 -1
  213. package/web-shell/assets/{flowDiagram-A5DVABFB-DEp8HZ1Z.js → flowDiagram-A5DVABFB-CigLfgUP.js} +1 -1
  214. package/web-shell/assets/{ganttDiagram-EL5Y4UJY-DB9PwX6e.js → ganttDiagram-EL5Y4UJY-CjuMs_pK.js} +1 -1
  215. package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-CIudOlp-.js → gitGraphDiagram-WWUBYQGX-DOxl_2_x.js} +1 -1
  216. package/web-shell/assets/{index-BLTYMaXa.js → index-By0dekuz.js} +3 -3
  217. package/web-shell/assets/{index-DsGnZKQl.js → index-H7LsVN_M.js} +1 -1
  218. package/web-shell/assets/{infoDiagram-RXCK75RN-Csm0vHSo.js → infoDiagram-RXCK75RN-D0XQbjRi.js} +1 -1
  219. package/web-shell/assets/{ishikawaDiagram-5VMMS53U-CLJXnHlY.js → ishikawaDiagram-5VMMS53U-DOliT3Hm.js} +1 -1
  220. package/web-shell/assets/{journeyDiagram-EYS64GPL-Cf92U7ZB.js → journeyDiagram-EYS64GPL-DF6vvHQf.js} +1 -1
  221. package/web-shell/assets/{kanban-definition-3QL26DDD-Dh7Te4fu.js → kanban-definition-3QL26DDD-BY_17qoo.js} +1 -1
  222. package/web-shell/assets/{layout-B5ALjnq4.js → layout-B91ME8fF.js} +1 -1
  223. package/web-shell/assets/{linear-CGxKsCj8.js → linear-BEgEyRkI.js} +1 -1
  224. package/web-shell/assets/{mermaid.core-B_e-IZNF.js → mermaid.core-BBo02LMd.js} +6 -6
  225. package/web-shell/assets/{mindmap-definition-FBJOCRG2-BftMDT3T.js → mindmap-definition-FBJOCRG2-C1Jh0DIu.js} +1 -1
  226. package/web-shell/assets/{pegDiagram-XKGWAZYB-CruSZoUh.js → pegDiagram-XKGWAZYB-DOt-0tX-.js} +1 -1
  227. package/web-shell/assets/{pieDiagram-E7YTZNPT-Bi9haYEh.js → pieDiagram-E7YTZNPT-D_Pnb6KK.js} +1 -1
  228. package/web-shell/assets/{quadrantDiagram-AXDQQJYC-BY4w8seK.js → quadrantDiagram-AXDQQJYC-0tTq4TDV.js} +1 -1
  229. package/web-shell/assets/{railroadDiagram-O6MQD6OU-moN3YnCi.js → railroadDiagram-O6MQD6OU-D8sT8HBX.js} +1 -1
  230. package/web-shell/assets/{requirementDiagram-EFPCY7ZU-B--U5ed4.js → requirementDiagram-EFPCY7ZU-zmn8P5S5.js} +1 -1
  231. package/web-shell/assets/{sankeyDiagram-P5KCCOFB-DD3-WWOa.js → sankeyDiagram-P5KCCOFB-DIdIBb9D.js} +1 -1
  232. package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-7AYhwUmK.js → sequenceDiagram-WJ2MYXX4-DR0z10JW.js} +1 -1
  233. package/web-shell/assets/{sizeCapture-X5ZJPWSS-DM0iKsnv.js → sizeCapture-X5ZJPWSS-BAoZUB5z.js} +1 -1
  234. package/web-shell/assets/{stateDiagram-HBIQ2CUA-DpTV0LVR.js → stateDiagram-HBIQ2CUA-A_BJS30R.js} +1 -1
  235. package/web-shell/assets/stateDiagram-v2-4QOOHH4V-DsZg5hvr.js +1 -0
  236. package/web-shell/assets/{swimlanes-XN3QIQJK-CsGNhmi3.js → swimlanes-XN3QIQJK-DoHKDejp.js} +1 -1
  237. package/web-shell/assets/swimlanesDiagram-VK2B7HYN-xB_iuHcQ.js +8 -0
  238. package/web-shell/assets/{timeline-definition-24CTP7MA-C4M08jyd.js → timeline-definition-24CTP7MA-DIgaU8qe.js} +1 -1
  239. package/web-shell/assets/{vennDiagram-4TSXK5OY-B3fw4hM4.js → vennDiagram-4TSXK5OY-DinP1LiH.js} +1 -1
  240. package/web-shell/assets/{wardleyDiagram-VM6X3IG4-DC9yoqPT.js → wardleyDiagram-VM6X3IG4-Bl_eYQSI.js} +1 -1
  241. package/web-shell/assets/{xychartDiagram-S5SC5T6Z-BgQUydcN.js → xychartDiagram-S5SC5T6Z-CeovOG8L.js} +1 -1
  242. package/web-shell/index.html +1 -1
  243. package/web-shell/sw.js +1 -1
  244. package/web-shell/assets/channel-v3XEMgos.js +0 -1
  245. package/web-shell/assets/classDiagram-DTDB5LWJ-B9FB6o4A.js +0 -1
  246. package/web-shell/assets/classDiagram-v2-JRS7N3AN-B9FB6o4A.js +0 -1
  247. package/web-shell/assets/stateDiagram-v2-4QOOHH4V-BePrySOz.js +0 -1
  248. 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-RBG3RNDF.js";
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-NUSAKUTH.js";
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-XJLSYFTS.js";
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-DAB7MOET.js";
399
+ } from "./chunk-G3GZR2GB.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-FSDDJVL4.js";
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-YBQLV5NQ.js";
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\s+name=["']([^"']+)["']>([\s\S]*?)<\/parameter>/g;
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[2])
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, _name, _body, offset) => {
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-PWOKK52Z.js");
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 && !hasToolCall && hasFinishReason && contentText && containsXmlToolCalls(contentText)) {
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: { role: "model", parts: recovery.functionCallParts }
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-UR3332TH.js");
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-5U5N23HQ.js");
75706
+ const { collectModelPolicyCall } = await import("./model-call-collection-XR3R3VVM.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-NJJI7MOI.js");
169948
+ const { normalizeDedicatedOmniUploadConfig } = await import("./upload-config-HMSU4CZP.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-NDS6RRPE.js");
173861
+ return import("./omni-ZNA6SYTJ.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-KR7EAPUM.js");
175470
+ const { WorkflowTool } = await import("./workflow-2U3MBIGP.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-NQKMSURK.js");
175550
+ const { GetGoalTool: GetGoalTool2 } = await import("./goal-tools-54BPLUQN.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-NQKMSURK.js");
175554
+ const { UpdateGoalTool: UpdateGoalTool2 } = await import("./goal-tools-54BPLUQN.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-NQKMSURK.js");
175559
+ const { ProposeGoalTool: ProposeGoalTool2 } = await import("./goal-tools-54BPLUQN.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-RVYBM4NU.js");
175579
+ const { WebFetchTool } = await import("./web-fetch-DB6YX73X.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-B6W4C5JM.js");
175584
+ const { evaluateWebSearchGate } = await import("./web-search-5N6YFNQL.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-B6W4C5JM.js");
175588
+ const { WebSearchTool } = await import("./web-search-5N6YFNQL.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-T2TD4DV6.js"),
175419
- import("./execution-tool-QXSN5SIB.js")
175605
+ import("./local-execution-environment-EIWDLRAH.js"),
175606
+ import("./execution-tool-AEINPRPE.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-VFXZN2VC.js");
175621
+ const { ToolSearchTool } = await import("./tool-search-QHLD7GJT.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-3MMVXNLH.js");
175633
+ const { ShellTool: ShellTool2 } = await import("./shell-CVULXL34.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-QNL7JRBN.js");
175641
+ const { ReadFileTool } = await import("./read-file-5ACDU2YQ.js");
175455
175642
  return new ReadFileTool(this);
175456
175643
  });
175457
175644
  await registerLazy(ToolNames.WRITE_FILE, async () => {
175458
- const { WriteFileTool } = await import("./write-file-GTT4MO5C.js");
175645
+ const { WriteFileTool } = await import("./write-file-4IU4MIDG.js");
175459
175646
  return new WriteFileTool(this);
175460
175647
  });
175461
175648
  await registerLazy(ToolNames.EDIT, async () => {
175462
- const { EditTool } = await import("./edit-MKZIJJFV.js");
175649
+ const { EditTool } = await import("./edit-RTNEVAS4.js");
175463
175650
  return new EditTool(this);
175464
175651
  });
175465
175652
  await registerLazy(ToolNames.MONITOR, async () => {
175466
- const { MonitorTool } = await import("./monitor-3B7HPA37.js");
175653
+ const { MonitorTool } = await import("./monitor-6OK5CF7B.js");
175467
175654
  return new MonitorTool(this);
175468
175655
  });
175469
175656
  await registerLazy(ToolNames.AGENT, async () => {
175470
- const { AgentTool: AgentTool2 } = await import("./agent-PV23LGME.js");
175657
+ const { AgentTool: AgentTool2 } = await import("./agent-OUKS3KJA.js");
175471
175658
  return new AgentTool2(this);
175472
175659
  });
175473
175660
  await registerLazy(ToolNames.GLOB, async () => {
175474
- const { GlobTool } = await import("./glob-GYFLWO23.js");
175661
+ const { GlobTool } = await import("./glob-CTWTSEIV.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-QNL7JRBN.js");
175680
+ const { ReadFileTool } = await import("./read-file-5ACDU2YQ.js");
175494
175681
  return new ReadFileTool(this);
175495
175682
  });
175496
175683
  await registerLazy(ToolNames.EDIT, async () => {
175497
- const { EditTool } = await import("./edit-MKZIJJFV.js");
175684
+ const { EditTool } = await import("./edit-RTNEVAS4.js");
175498
175685
  return new EditTool(this);
175499
175686
  });
175500
175687
  await registerLazy(ToolNames.NOTEBOOK_EDIT, async () => {
175501
- const { NotebookEditTool } = await import("./notebook-edit-BOPJ7HJ5.js");
175688
+ const { NotebookEditTool } = await import("./notebook-edit-IIZUM2QQ.js");
175502
175689
  return new NotebookEditTool(this);
175503
175690
  });
175504
175691
  await registerLazy(ToolNames.SHELL, async () => {
175505
- const { ShellTool: ShellTool2 } = await import("./shell-3MMVXNLH.js");
175692
+ const { ShellTool: ShellTool2 } = await import("./shell-CVULXL34.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-VFXZN2VC.js");
175711
+ const { ToolSearchTool } = await import("./tool-search-QHLD7GJT.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-PV23LGME.js");
175719
+ const { AgentTool: AgentTool2 } = await import("./agent-OUKS3KJA.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-VD4DNOVA.js");
175735
+ const { SkillTool } = await import("./skill-TA4CALBL.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-QNL7JRBN.js");
175745
+ const { ReadFileTool } = await import("./read-file-5ACDU2YQ.js");
175559
175746
  return new ReadFileTool(this);
175560
175747
  });
175561
175748
  await registerLazy(ToolNames.ZOOM_IMAGE, async () => {
175562
- const { ZoomImageTool } = await import("./zoom-image-2KVDIK5E.js");
175749
+ const { ZoomImageTool } = await import("./zoom-image-AIPZJAB4.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-4XTRKASX.js");
175764
+ const { RipGrepTool } = await import("./ripGrep-WLW256L7.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-GYFLWO23.js");
175790
+ const { GlobTool } = await import("./glob-CTWTSEIV.js");
175604
175791
  return new GlobTool(this);
175605
175792
  });
175606
175793
  await registerLazy(ToolNames.EDIT, async () => {
175607
- const { EditTool } = await import("./edit-MKZIJJFV.js");
175794
+ const { EditTool } = await import("./edit-RTNEVAS4.js");
175608
175795
  return new EditTool(this);
175609
175796
  });
175610
175797
  await registerLazy(ToolNames.NOTEBOOK_EDIT, async () => {
175611
- const { NotebookEditTool } = await import("./notebook-edit-BOPJ7HJ5.js");
175798
+ const { NotebookEditTool } = await import("./notebook-edit-IIZUM2QQ.js");
175612
175799
  return new NotebookEditTool(this);
175613
175800
  });
175614
175801
  await registerLazy(ToolNames.WRITE_FILE, async () => {
175615
- const { WriteFileTool } = await import("./write-file-GTT4MO5C.js");
175802
+ const { WriteFileTool } = await import("./write-file-4IU4MIDG.js");
175616
175803
  return new WriteFileTool(this);
175617
175804
  });
175618
175805
  await registerLazy(ToolNames.SHELL, async () => {
175619
- const { ShellTool: ShellTool2 } = await import("./shell-3MMVXNLH.js");
175806
+ const { ShellTool: ShellTool2 } = await import("./shell-CVULXL34.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-B6VQ7WU4.js");
175822
+ const { ExitPlanModeTool: ExitPlanModeTool2 } = await import("./exitPlanMode-PQ57IF6L.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-2JDPJDOI.js");
175828
+ const { EnterPlanModeTool } = await import("./enterPlanMode-CDLYJQDN.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-INVD7CZA.js");
175895
+ const { TeamCreateTool } = await import("./team-create-FAWOEYNL.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-X3RPLEM5.js");
175903
+ const { TeamPlanApprovalTool } = await import("./team-plan-approval-3T7EVWTL.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-3B7HPA37.js");
175999
+ const { MonitorTool } = await import("./monitor-6OK5CF7B.js");
175813
176000
  return new MonitorTool(this);
175814
176001
  });
175815
176002
  if (this.pendingMcpBudgetCallback) {
@@ -406,22 +406,22 @@ async function createContentGenerator(generatorConfig, config) {
406
406
  try {
407
407
  if (authType === "openai" /* USE_OPENAI */) {
408
408
  loadBaseGenerator = /* @__PURE__ */ __name(async () => {
409
- const { createOpenAIContentGenerator } = await import("./openaiContentGenerator-FD6PKK7U.js");
409
+ const { createOpenAIContentGenerator } = await import("./openaiContentGenerator-UU7GV5FP.js");
410
410
  return createOpenAIContentGenerator(generatorConfig, config);
411
411
  }, "loadBaseGenerator");
412
412
  } else if (authType === "openai-responses" /* USE_OPENAI_RESPONSES */) {
413
413
  loadBaseGenerator = /* @__PURE__ */ __name(async () => {
414
- const { createOpenAIResponsesContentGenerator } = await import("./openaiResponsesContentGenerator-CX5BJT3H.js");
414
+ const { createOpenAIResponsesContentGenerator } = await import("./openaiResponsesContentGenerator-BCC47KF7.js");
415
415
  return createOpenAIResponsesContentGenerator(generatorConfig, config);
416
416
  }, "loadBaseGenerator");
417
417
  } else if (authType === "anthropic" /* USE_ANTHROPIC */) {
418
418
  loadBaseGenerator = /* @__PURE__ */ __name(async () => {
419
- const { createAnthropicContentGenerator } = await import("./anthropicContentGenerator-XWCHKKOI.js");
419
+ const { createAnthropicContentGenerator } = await import("./anthropicContentGenerator-HSU2Y3YE.js");
420
420
  return createAnthropicContentGenerator(generatorConfig, config);
421
421
  }, "loadBaseGenerator");
422
422
  } else if (authType === "gemini" /* USE_GEMINI */ || authType === "vertex-ai" /* USE_VERTEX_AI */) {
423
423
  loadBaseGenerator = /* @__PURE__ */ __name(async () => {
424
- const { createLlmContentGenerator } = await import("./llm-content-generator-TL62ECGM.js");
424
+ const { createLlmContentGenerator } = await import("./llm-content-generator-5YWGTM5P.js");
425
425
  return createLlmContentGenerator(generatorConfig, config);
426
426
  }, "loadBaseGenerator");
427
427
  } else {
@@ -436,7 +436,7 @@ async function createContentGenerator(generatorConfig, config) {
436
436
  try {
437
437
  const [baseGenerator, { LoggingContentGenerator }] = await Promise.all([
438
438
  loadBaseGenerator(),
439
- import("./loggingContentGenerator-3FNNMRBZ.js")
439
+ import("./loggingContentGenerator-7BF4GJCS.js")
440
440
  ]);
441
441
  return new LoggingContentGenerator(
442
442
  baseGenerator,