@organizaone/o1-code 0.23.1 → 0.23.3

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 (287) hide show
  1. package/bundled/qc-helper/docs/configuration/model-providers.md +49 -20
  2. package/bundled/qc-helper/docs/support/troubleshooting.md +8 -0
  3. package/chunks/{MaxSizedBox-HMZHVBB4.js → MaxSizedBox-PNOKV5XB.js} +29 -28
  4. package/chunks/{StandaloneSessionPicker-P4GOMYHR.js → StandaloneSessionPicker-DI2PPRCG.js} +47 -46
  5. package/chunks/{acp-subagent-executor-3IS4UQXS.js → acp-subagent-executor-J5IOC3T2.js} +32 -31
  6. package/chunks/{acpAgent-RUS62IJ2.js → acpAgent-Q3ES6XUH.js} +78 -76
  7. package/chunks/{agent-WO7H3FRF.js → agent-VXBORFU5.js} +18 -17
  8. package/chunks/{agent-headless-DQHOJM3J.js → agent-headless-F7X4H6AT.js} +18 -17
  9. package/chunks/{all-providers-AGB7PSE7.js → all-providers-UJJNWFBU.js} +2 -2
  10. package/chunks/{anthropicContentGenerator-SVXJ2WC5.js → anthropicContentGenerator-PXN4JHYG.js} +9 -8
  11. package/chunks/{bridge-6DNUXTIG.js → bridge-OHMXMD6B.js} +32 -31
  12. package/chunks/{chunk-JTL36LF7.js → chunk-2JVMVD6L.js} +14 -14
  13. package/chunks/chunk-2SJEYSJ5.js +478 -0
  14. package/chunks/{chunk-QS7XJXMY.js → chunk-2VH7GPPV.js} +2 -2
  15. package/chunks/{chunk-RH6ENXV4.js → chunk-35WHEBW3.js} +6 -6
  16. package/chunks/{chunk-G376S7VI.js → chunk-3FDAQK6P.js} +1 -1
  17. package/chunks/chunk-3JWJHYFV.js +328 -0
  18. package/chunks/{chunk-XWJPREGE.js → chunk-45LWV5IN.js} +7 -7
  19. package/chunks/{chunk-BH64NQFS.js → chunk-4FKNGLMA.js} +4 -4
  20. package/chunks/{chunk-5WCEM6DZ.js → chunk-4MFP7T32.js} +1 -1
  21. package/chunks/{chunk-J6IO5FRE.js → chunk-4OV5UWWQ.js} +2 -2
  22. package/chunks/{chunk-2HSMDGHO.js → chunk-4Q5LZTPI.js} +3 -3
  23. package/chunks/{chunk-P2AKFALJ.js → chunk-5UX4INNV.js} +59 -16
  24. package/chunks/{chunk-NRCAQMQE.js → chunk-5UZNF6UX.js} +1 -1
  25. package/chunks/{chunk-XR3PDQ7P.js → chunk-63BWCBL5.js} +6 -6
  26. package/chunks/{chunk-KXDR4O5J.js → chunk-6LJBRLNS.js} +8 -8
  27. package/chunks/{chunk-7TGDEUSS.js → chunk-6RIH5HJL.js} +3 -3
  28. package/chunks/{chunk-B3VFKGW7.js → chunk-756Q43CP.js} +3 -3
  29. package/chunks/{chunk-3MWH2YYG.js → chunk-7BEB4OCA.js} +4 -4
  30. package/chunks/{chunk-4WZ25EWZ.js → chunk-7DHQ5FE7.js} +1 -1
  31. package/chunks/{chunk-T7XP4FJG.js → chunk-7GCSNYB5.js} +3 -3
  32. package/chunks/{chunk-RWUZRVUT.js → chunk-AE4IQ5HU.js} +2 -2
  33. package/chunks/{chunk-OXIUXVOT.js → chunk-AEQNNEHI.js} +1 -1
  34. package/chunks/{chunk-YPTR7ZFB.js → chunk-AFLYEJ7J.js} +20 -314
  35. package/chunks/{chunk-MEBXT3L3.js → chunk-AK6UP3LA.js} +2 -2
  36. package/chunks/{chunk-O6V4DKZY.js → chunk-BBQWOOBL.js} +8 -8
  37. package/chunks/{chunk-WA47FG3A.js → chunk-BEGSPMH3.js} +5 -5
  38. package/chunks/{chunk-2OEBEF5L.js → chunk-BZYI5TLI.js} +1 -1
  39. package/chunks/{chunk-DCGCG4T6.js → chunk-CQL2XFY3.js} +3 -3
  40. package/chunks/{chunk-5T7YYYZN.js → chunk-DHXBIFA3.js} +1 -1
  41. package/chunks/{chunk-W5XYWVXE.js → chunk-EB4VOVOS.js} +4 -4
  42. package/chunks/{chunk-XST2W6J5.js → chunk-ER7RIWYZ.js} +1 -1
  43. package/chunks/{chunk-AXM2QH6N.js → chunk-ETYF6LYZ.js} +1 -1
  44. package/chunks/{chunk-GLSFB2Z7.js → chunk-F5XJP6CK.js} +1 -1
  45. package/chunks/{chunk-CMDJL3HC.js → chunk-FE2ZH6WW.js} +83 -92
  46. package/chunks/{chunk-VPWZ7N32.js → chunk-FIPT36QW.js} +4 -4
  47. package/chunks/{chunk-SLYGIHMA.js → chunk-FMWQ43OS.js} +4 -4
  48. package/chunks/{chunk-CADCX42P.js → chunk-FQZNP6Z5.js} +2 -2
  49. package/chunks/{chunk-CNXTYK25.js → chunk-G7TCNWW4.js} +2 -2
  50. package/chunks/{chunk-6IAICUFQ.js → chunk-GHFDVXXW.js} +2 -2
  51. package/chunks/{chunk-ZTYFX6BP.js → chunk-GJKIVVOK.js} +3 -3
  52. package/chunks/{chunk-R75USKXV.js → chunk-GQSJRXHV.js} +2 -2
  53. package/chunks/{chunk-OFZASMA6.js → chunk-GRSBNB75.js} +4 -4
  54. package/chunks/{chunk-DS3A6UN5.js → chunk-GXQSKSIX.js} +4 -4
  55. package/chunks/{chunk-F5GPRGLO.js → chunk-HA5FHKHP.js} +1 -1
  56. package/chunks/{chunk-KPPSQ5EU.js → chunk-HBVBJLFL.js} +1 -1
  57. package/chunks/{chunk-PHTNY4JK.js → chunk-HFH6267M.js} +6 -2
  58. package/chunks/{chunk-CMPS6GD5.js → chunk-HFYFYN7B.js} +3 -3
  59. package/chunks/{chunk-KZCG5HAI.js → chunk-HV7DTSIC.js} +1 -1
  60. package/chunks/{chunk-SLNJDU4D.js → chunk-IJLB54SO.js} +4 -4
  61. package/chunks/{chunk-SJG3PCMJ.js → chunk-IOWEOCTW.js} +3 -3
  62. package/chunks/{chunk-HKOWTL7X.js → chunk-IQS3YNFT.js} +3 -3
  63. package/chunks/{chunk-WXIQKOFD.js → chunk-JCWIHPJ2.js} +32 -2
  64. package/chunks/{chunk-ZXSPXXBY.js → chunk-K3QLKXBZ.js} +1 -1
  65. package/chunks/{chunk-SEBFGV7T.js → chunk-K7OVGWJS.js} +5 -5
  66. package/chunks/{chunk-MRAQKHJP.js → chunk-KH547BMV.js} +1 -1
  67. package/chunks/{chunk-I4WCGUHX.js → chunk-L37WQYHD.js} +3 -3
  68. package/chunks/{chunk-C6HK75MO.js → chunk-LOWKYYPU.js} +3 -3
  69. package/chunks/{chunk-DCMEEISM.js → chunk-LRLHFEMZ.js} +1 -1
  70. package/chunks/{chunk-IR2EWI3F.js → chunk-MDRVMHR5.js} +1 -1
  71. package/chunks/{chunk-IULGJTBN.js → chunk-MDZE3I5B.js} +3 -3
  72. package/chunks/{chunk-4UC6NODS.js → chunk-MEHOIUQO.js} +1 -1
  73. package/chunks/{chunk-3SIUBEAC.js → chunk-MLMRVKRY.js} +1 -1
  74. package/chunks/{chunk-HGY3PIN4.js → chunk-MNPMZBSO.js} +8 -8
  75. package/chunks/{chunk-FFDLG4P3.js → chunk-MYLH5UBR.js} +3 -3
  76. package/chunks/{chunk-KM6V7YUD.js → chunk-MZ4ZQ5JN.js} +3 -3
  77. package/chunks/{chunk-ZKQ2SFH7.js → chunk-NO5DFAGI.js} +1 -1
  78. package/chunks/{chunk-F7SCCXXH.js → chunk-NWRMBNPA.js} +1 -1
  79. package/chunks/{chunk-ODPTXM6X.js → chunk-ODSKG77G.js} +2 -2
  80. package/chunks/{chunk-UQSP4Y3H.js → chunk-P3K3UIUL.js} +1 -1
  81. package/chunks/{chunk-JYT4QT7G.js → chunk-PMFVBLGB.js} +5 -5
  82. package/chunks/{chunk-5TGVTMA4.js → chunk-PZ5JMLBW.js} +2 -2
  83. package/chunks/{chunk-UZIP5RZG.js → chunk-Q2LPAA7C.js} +1 -1
  84. package/chunks/{chunk-VY24CEQH.js → chunk-QEYB4PDO.js} +6 -6
  85. package/chunks/{chunk-2NTOADNA.js → chunk-QPGYYXO7.js} +1 -1
  86. package/chunks/{chunk-EE35GR3R.js → chunk-QQXXDTSU.js} +1 -1
  87. package/chunks/{chunk-27WKLITY.js → chunk-QSSYZQUP.js} +2 -2
  88. package/chunks/{chunk-6HNVIHAF.js → chunk-QUTCQFWY.js} +9 -9
  89. package/chunks/{chunk-6WR3DWHA.js → chunk-R5IR75RD.js} +1 -1
  90. package/chunks/{chunk-B4CCJMG6.js → chunk-R66LP4MO.js} +2 -2
  91. package/chunks/{chunk-UVW5RWDM.js → chunk-RHOOOMUK.js} +2 -2
  92. package/chunks/{chunk-B4K3VBFF.js → chunk-RI6JVRWR.js} +1 -1
  93. package/chunks/{chunk-7UCLXR66.js → chunk-RRRI34RZ.js} +11 -11
  94. package/chunks/{chunk-VJNBNL44.js → chunk-RXSGUX7U.js} +1 -1
  95. package/chunks/{chunk-4HQ4I3PR.js → chunk-SE4AX4Z4.js} +2 -2
  96. package/chunks/{chunk-CPYRGB5A.js → chunk-SQRKCXPM.js} +6 -6
  97. package/chunks/{chunk-6XQREQ7X.js → chunk-SY5UOOLE.js} +8 -8
  98. package/chunks/{chunk-QLR4QOL7.js → chunk-T636IYGV.js} +1 -1
  99. package/chunks/{chunk-4KLFLD6W.js → chunk-TASQRFKT.js} +1 -1
  100. package/chunks/{chunk-CCC24CXE.js → chunk-TQXNST6Y.js} +2 -2
  101. package/chunks/{chunk-W4LHOCZD.js → chunk-UBWDDULS.js} +1 -1
  102. package/chunks/{chunk-UM5Y2RAD.js → chunk-V7K34NU3.js} +1 -1
  103. package/chunks/{chunk-AW4B6RTB.js → chunk-VCUEXE3H.js} +3 -3
  104. package/chunks/{chunk-3KNM7K53.js → chunk-W42YGWDC.js} +74 -35
  105. package/chunks/{chunk-GBAPQSEP.js → chunk-WOUHB7ZU.js} +4 -4
  106. package/chunks/{chunk-2OUOX7LX.js → chunk-X3KJPJFI.js} +2 -2
  107. package/chunks/{chunk-LMFAYXBU.js → chunk-XBZ4D64Q.js} +1 -1
  108. package/chunks/{chunk-Z4AMHZHW.js → chunk-XOT6SBGY.js} +102 -43
  109. package/chunks/{chunk-INXZWNOV.js → chunk-Y77F2ZSE.js} +2 -2
  110. package/chunks/{chunk-7Q3WUUDP.js → chunk-YQN4NZ4S.js} +5 -5
  111. package/chunks/{chunk-CNXCYQSU.js → chunk-Z35PMMFQ.js} +3 -3
  112. package/chunks/{chunk-LNRMJR3C.js → chunk-ZIWDO6UP.js} +5 -5
  113. package/chunks/{chunk-OCGMQ7V4.js → chunk-ZIWHK3AH.js} +1 -1
  114. package/chunks/{chunk-HAFQUJ2R.js → chunk-ZSCKJRVS.js} +9 -9
  115. package/chunks/{codex-subagent-executor-LRMIHGUJ.js → codex-subagent-executor-NKIAVWGC.js} +32 -31
  116. package/chunks/{contextCommand-LCS4K6AS.js → contextCommand-5JWT6VQL.js} +31 -30
  117. package/chunks/{core-runtime-KA3DTXOS.js → core-runtime-7DRPFC35.js} +29 -28
  118. package/chunks/{create-sub-session-AOLRCPHX.js → create-sub-session-3YQEERSH.js} +30 -29
  119. package/chunks/{daemon-git-worktree-guard-XNJQMGBA.js → daemon-git-worktree-guard-VFOGBZHD.js} +29 -28
  120. package/chunks/{daemon-status-provider-S7JFBO7R.js → daemon-status-provider-IIFM5IM6.js} +37 -36
  121. package/chunks/{daemon-trust-policy-3TZF3A23.js → daemon-trust-policy-AVBAHIIT.js} +35 -34
  122. package/chunks/{daemon-trust-policy-monitor-KCTEA4NB.js → daemon-trust-policy-monitor-KKXFYM52.js} +35 -34
  123. package/chunks/{deferred-core-runtime-APR46DSV.js → deferred-core-runtime-3MIPB4S7.js} +29 -28
  124. package/chunks/{edit-3XYI6QI5.js → edit-PPJLVA5I.js} +20 -19
  125. package/chunks/{en-MQICGJBA.js → en-V375KBHU.js} +4 -0
  126. package/chunks/{enterPlanMode-T6ZQCSIY.js → enterPlanMode-YJTR3OC2.js} +18 -17
  127. package/chunks/{environment-ZSKN47KY.js → environment-PQMV73WH.js} +31 -30
  128. package/chunks/{errors-JVU3YU37.js → errors-YXLBIGK2.js} +31 -30
  129. package/chunks/{execution-tool-4AHWPEBH.js → execution-tool-PRN55ECE.js} +20 -19
  130. package/chunks/{execution-worker-V22CIVJD.js → execution-worker-5VUJKVPI.js} +23 -22
  131. package/chunks/{exitPlanMode-HSLDDGIZ.js → exitPlanMode-3SOHTPAM.js} +18 -17
  132. package/chunks/{fast-path-55D3R6HR.js → fast-path-KKKMA4OP.js} +2 -2
  133. package/chunks/{foreground-runner-3JU62IZN.js → foreground-runner-G3TYGJAE.js} +31 -30
  134. package/chunks/{gateway-content-generator-76KRZXAA.js → gateway-content-generator-URNHKQ6P.js} +128 -123
  135. package/chunks/{gateway-models-N5DT7Q4M.js → gateway-models-UR5GHR6N.js} +7 -6
  136. package/chunks/gateway-transfer-OASSZYSK.js +46 -0
  137. package/chunks/{glob-FVF7TFRO.js → glob-5AEFGOMN.js} +18 -17
  138. package/chunks/{goal-tools-UHHDYOKQ.js → goal-tools-O5TA2PQY.js} +18 -17
  139. package/chunks/{handleAutoUpdate-EOHNI5GZ.js → handleAutoUpdate-JAQEKGA7.js} +33 -32
  140. package/chunks/{i18n-QYM6PMQT.js → i18n-SKUHM5IJ.js} +30 -29
  141. package/chunks/{image-gen-WGMRL47H.js → image-gen-D4WPSZB4.js} +3 -2
  142. package/chunks/{initializer-MYP7CFZW.js → initializer-XZ6MXFUA.js} +35 -34
  143. package/chunks/{installationInfo-FJ67GP5M.js → installationInfo-YXI3S52N.js} +30 -29
  144. package/chunks/{list-XF6G4GUF.js → list-K3KSNZSU.js} +37 -36
  145. package/chunks/{llm-W4KJ3VXB.js → llm-DMR52SHW.js} +64 -63
  146. package/chunks/{llm-content-generator-UZLRLOG3.js → llm-content-generator-UWKSCTYE.js} +4 -4
  147. package/chunks/{loadedSettingsAdapter-7Q5U3DXV.js → loadedSettingsAdapter-TW2IMB6V.js} +35 -34
  148. package/chunks/{local-execution-environment-MYZ2Y54Q.js → local-execution-environment-KH5EESSY.js} +23 -22
  149. package/chunks/{loggingContentGenerator-4OPNBZMP.js → loggingContentGenerator-T2W2WRJJ.js} +19 -18
  150. package/chunks/{managed-npm-update-KLB5RZZX.js → managed-npm-update-6RQYY3YZ.js} +30 -29
  151. package/chunks/{mcp-NC27EHB4.js → mcp-64G5H2OG.js} +35 -34
  152. package/chunks/{model-call-collection-YKPPKTJC.js → model-call-collection-Z4NJZHIV.js} +1 -1
  153. package/chunks/{model-configuration-2G3ULIR4.js → model-configuration-Q36E3EFG.js} +36 -35
  154. package/chunks/{modelConfigUtils-664FHNH3.js → modelConfigUtils-7LRIWH6S.js} +31 -30
  155. package/chunks/{monitor-UBN77ORZ.js → monitor-VT7Z5NIW.js} +18 -17
  156. package/chunks/{nonInteractiveCli-L3L4WX5E.js → nonInteractiveCli-YTRGNVIT.js} +66 -64
  157. package/chunks/{nonInteractiveToolExecutor-C3T5J2NW.js → nonInteractiveToolExecutor-KCT5X3VP.js} +19 -18
  158. package/chunks/{notebook-edit-63MI44CU.js → notebook-edit-BTEP4ZZF.js} +19 -18
  159. package/chunks/{omni-SLZABQRH.js → omni-J52AX5TE.js} +13 -12
  160. package/chunks/{openaiContentGenerator-7V6CYXFU.js → openaiContentGenerator-I2O3ZSYA.js} +15 -13
  161. package/chunks/{openaiResponsesContentGenerator-6YVQAUJ3.js → openaiResponsesContentGenerator-FUJIJGE2.js} +8 -7
  162. package/chunks/{processUtils-7ZT2P4R2.js → processUtils-BPHUSEPE.js} +2 -2
  163. package/chunks/{prompt-terminal-ledger-QPVHC4HA.js → prompt-terminal-ledger-JAMNBNXB.js} +30 -29
  164. package/chunks/{pt-EZL4H2AB.js → pt-554PEF6Z.js} +4 -0
  165. package/chunks/{reactive-degrade-SLNICU7U.js → reactive-degrade-XI6MKZZ5.js} +12 -11
  166. package/chunks/{read-file-WBHCQFBS.js → read-file-TXVD2R3P.js} +4 -4
  167. package/chunks/{resumeHistoryUtils-RMVHH2EV.js → resumeHistoryUtils-2SRSXIHZ.js} +34 -33
  168. package/chunks/{ripGrep-RXD7MQDC.js → ripGrep-IZ3IBKVF.js} +5 -5
  169. package/chunks/{run-o1-code-serve-QTI4KAOJ.js → run-o1-code-serve-XO4BHKDA.js} +32 -32
  170. package/chunks/{sandboxConfig-DAOIURBO.js → sandboxConfig-YTUMPCXL.js} +29 -28
  171. package/chunks/{scheduled-tasks-SXKRP3GY.js → scheduled-tasks-KJYPVS4M.js} +35 -34
  172. package/chunks/{scheduler-YECMJLGP.js → scheduler-IAQQQQYN.js} +31 -30
  173. package/chunks/{sdk-exporters-http-66WPQ7UY.js → sdk-exporters-http-YROX3PLL.js} +2 -2
  174. package/chunks/{sdk-impl-B4WTXTDQ.js → sdk-impl-LMCYCCTE.js} +4 -4
  175. package/chunks/{serve-N4CEYSQI.js → serve-3LSIZROT.js} +35 -34
  176. package/chunks/{server-VSMVJXNJ.js → server-2YOZRQDZ.js} +67 -66
  177. package/chunks/{session-DQY6YADB.js → session-G6BRGHF4.js} +177 -68
  178. package/chunks/{session-WXHJRBXC.js → session-JVXNBIG2.js} +1 -1
  179. package/chunks/{session-attachments-root-NKR2OHXN.js → session-attachments-root-57AW3DJA.js} +29 -28
  180. package/chunks/{session-pr-refresh-FESHW7O7.js → session-pr-refresh-KVCFM7XO.js} +34 -33
  181. package/chunks/{settings-MJDXAJOQ.js → settings-LEYMP47D.js} +34 -33
  182. package/chunks/{shell-XUMG65ZC.js → shell-IZZXIZEA.js} +18 -17
  183. package/chunks/{skill-RS7AGKYN.js → skill-VKY4NL3S.js} +6 -6
  184. package/chunks/{skill-settings-MEXN6DN6.js → skill-settings-II2S2X4N.js} +35 -34
  185. package/chunks/{spawnChannel-GOF25LIG.js → spawnChannel-5ZGURNUI.js} +31 -30
  186. package/chunks/{standalone-update-AYQDZNVC.js → standalone-update-3WGDHWYQ.js} +31 -30
  187. package/chunks/{startInteractiveUI-7HHCEPIG.js → startInteractiveUI-ILJJTRGB.js} +125 -153
  188. package/chunks/{supervisor-runner-VSXLLNB3.js → supervisor-runner-JTBZ6TKM.js} +2 -2
  189. package/chunks/{team-create-4LGDPW5M.js → team-create-OB7H2J22.js} +18 -17
  190. package/chunks/{team-plan-approval-KYQWPQXN.js → team-plan-approval-IWAVB7GG.js} +18 -17
  191. package/chunks/{terminal-image-renderer-PVLPYQHK.js → terminal-image-renderer-TKSJWK74.js} +29 -28
  192. package/chunks/{theme-manager-I4JCVFQ3.js → theme-manager-PMVUV6N4.js} +29 -28
  193. package/chunks/{tool-result-media-AFIZLPZ7.js → tool-result-media-YXNXZVPE.js} +13 -12
  194. package/chunks/{tool-search-B5WIMGV2.js → tool-search-MCUYQHXS.js} +4 -4
  195. package/chunks/{total-session-admission-WAQB3AMR.js → total-session-admission-47PQOJF4.js} +32 -31
  196. package/chunks/{trustedFolders-MMMGBQOP.js → trustedFolders-YQXN7ZK7.js} +30 -29
  197. package/chunks/{update-relaunch-WE7M3JFY.js → update-relaunch-IJ2CZAKA.js} +5 -5
  198. package/chunks/{updateCheck-O4WELAS7.js → updateCheck-ZLTZQV3Q.js} +32 -31
  199. package/chunks/{upload-config-5IV7GPH3.js → upload-config-P5BLCB72.js} +10 -9
  200. package/chunks/{useAutoAcceptIndicator-L5APVQBL.js → useAutoAcceptIndicator-KS6UQLAF.js} +39 -38
  201. package/chunks/{validateNonInterActiveAuth-HMLF22RB.js → validateNonInterActiveAuth-JFHD2CGM.js} +63 -61
  202. package/chunks/{version-HF62HOZR.js → version-JYHYRKC2.js} +1 -1
  203. package/chunks/{web-fetch-ACG4GZWS.js → web-fetch-QS7AL72Y.js} +6 -5
  204. package/chunks/{web-search-FOBOKL5H.js → web-search-M5YLCDCJ.js} +10 -9
  205. package/chunks/{workflow-ILU5GODQ.js → workflow-QIHDEVAH.js} +21 -20
  206. package/chunks/{workspace-providers-status-OQ6BF2I4.js → workspace-providers-status-BBQTHMSA.js} +41 -40
  207. package/chunks/{workspace-registration-store-C7HXASW3.js → workspace-registration-store-X3UYZFNJ.js} +1 -1
  208. package/chunks/{workspace-registry-BLZXWWBO.js → workspace-registry-FFHZ2EVX.js} +32 -31
  209. package/chunks/{workspace-runtime-coordinator-L77AZGKG.js → workspace-runtime-coordinator-BAGT7DSO.js} +33 -32
  210. package/chunks/{workspace-service-R7A6VM73.js → workspace-service-J24VVFZM.js} +39 -38
  211. package/chunks/{workspace-skills-status-U2NYMQU3.js → workspace-skills-status-UZ54UGI2.js} +38 -37
  212. package/chunks/{workspace-trust-reconciler-UGEU2622.js → workspace-trust-reconciler-GTJFOGCS.js} +38 -37
  213. package/chunks/{write-file-4N2F3VNU.js → write-file-4WGBKBGB.js} +20 -19
  214. package/chunks/{zoom-image-E772GQFP.js → zoom-image-OYRRFO65.js} +4 -4
  215. package/cli.js +15 -15
  216. package/execution-worker.js +1 -1
  217. package/export-transcript-document.js +1 -1
  218. package/locales/en.js +7 -0
  219. package/locales/pt.js +7 -0
  220. package/package.json +2 -2
  221. package/release-notes.json +16 -0
  222. package/web-shell/assets/{abnfDiagram-VCTEODGH-D4wWvLfQ.js → abnfDiagram-VCTEODGH-D-bBdnGb.js} +1 -1
  223. package/web-shell/assets/{arc-CbFSLdCO.js → arc-B2SS2QTX.js} +1 -1
  224. package/web-shell/assets/{architectureDiagram-5GKGNRK7-BjZoTViq.js → architectureDiagram-5GKGNRK7-DFVuGyYx.js} +1 -1
  225. package/web-shell/assets/{blockDiagram-NRAW4CY4-CGSVjghq.js → blockDiagram-NRAW4CY4-CS2hSeXi.js} +1 -1
  226. package/web-shell/assets/{c4Diagram-UCG6FXSJ-DZszjKKm.js → c4Diagram-UCG6FXSJ-DQShkkBR.js} +1 -1
  227. package/web-shell/assets/channel-DV-9kalP.js +1 -0
  228. package/web-shell/assets/{chunk-2Q5K7J3B-snkNi44P.js → chunk-2Q5K7J3B-BwTtOt8R.js} +1 -1
  229. package/web-shell/assets/{chunk-5VM5RSS4-CsnyTIr_.js → chunk-5VM5RSS4-Bj6h0Dwa.js} +1 -1
  230. package/web-shell/assets/{chunk-F27PBJKO-BDleVSaw.js → chunk-F27PBJKO-kC66vkrG.js} +1 -1
  231. package/web-shell/assets/{chunk-G27WJ6UU-CbjFrBwN.js → chunk-G27WJ6UU-Cgvg9nvk.js} +1 -1
  232. package/web-shell/assets/{chunk-JWPE2WC7-rkiI-MmN.js → chunk-JWPE2WC7-EzC494sa.js} +1 -1
  233. package/web-shell/assets/{chunk-LCL6LL3I-CEESZISZ.js → chunk-LCL6LL3I-utra0L7l.js} +1 -1
  234. package/web-shell/assets/{chunk-POPQ4Y6H-C0vPHNMP.js → chunk-POPQ4Y6H-xUBwWPMI.js} +1 -1
  235. package/web-shell/assets/{chunk-SVP7TREG-_LLDkzrp.js → chunk-SVP7TREG-CSs6ULGi.js} +1 -1
  236. package/web-shell/assets/{chunk-XXDRQBXY-PCJcNBA-.js → chunk-XXDRQBXY-CWPn3dOd.js} +1 -1
  237. package/web-shell/assets/classDiagram-DTDB5LWJ-DN5tETa4.js +1 -0
  238. package/web-shell/assets/classDiagram-v2-JRS7N3AN-DN5tETa4.js +1 -0
  239. package/web-shell/assets/{cose-bilkent-JH36ORCC-Z1LPHXFQ.js → cose-bilkent-JH36ORCC-Dp7POI99.js} +1 -1
  240. package/web-shell/assets/{cynefin-OW5HDTMX-Ch8GJJZn.js → cynefin-OW5HDTMX-CnqWFq9t.js} +1 -1
  241. package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-BaZYUcGn.js → cynefinDiagram-5FMLGOSQ-BtgoKTG2.js} +1 -1
  242. package/web-shell/assets/{dagre-3AP2YEHR-CMiuGPg4.js → dagre-3AP2YEHR-BkDKcnoQ.js} +1 -1
  243. package/web-shell/assets/{diagram-S7CK7UJ4-Ch4SWYiO.js → diagram-S7CK7UJ4-CoCStDfp.js} +1 -1
  244. package/web-shell/assets/{diagram-UQ7AKVKN-DrQs-UnS.js → diagram-UQ7AKVKN-D6a6j3_H.js} +1 -1
  245. package/web-shell/assets/{diagram-VSXAHHWV-CK683mKd.js → diagram-VSXAHHWV-Da_ctgX_.js} +1 -1
  246. package/web-shell/assets/{diagram-VX7I27RA-CdtSFCwE.js → diagram-VX7I27RA-CoToXRBH.js} +1 -1
  247. package/web-shell/assets/{diagram-Z3DM3KII-mmDlyQCV.js → diagram-Z3DM3KII-DlRPF3da.js} +1 -1
  248. package/web-shell/assets/{ebnfDiagram-PWID7BFC-ig7MW8j3.js → ebnfDiagram-PWID7BFC-B0owtdgg.js} +1 -1
  249. package/web-shell/assets/{erDiagram-SSCWMZ5O-Br1al6yd.js → erDiagram-SSCWMZ5O-DZv1xcIp.js} +1 -1
  250. package/web-shell/assets/{flowDiagram-A5DVABFB-VU5pvkzQ.js → flowDiagram-A5DVABFB-DqXIgApm.js} +1 -1
  251. package/web-shell/assets/{ganttDiagram-EL5Y4UJY-D5-CC_k4.js → ganttDiagram-EL5Y4UJY-hp-3Nfao.js} +1 -1
  252. package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-aIOAY7jv.js → gitGraphDiagram-WWUBYQGX-pHy6E6Jm.js} +1 -1
  253. package/web-shell/assets/{index-BvC4CLzJ.js → index-BM9Xm2Dz.js} +1 -1
  254. package/web-shell/assets/{index-CHjJJO_-.js → index-zRWCDwX8.js} +3 -3
  255. package/web-shell/assets/{infoDiagram-RXCK75RN-BLavxALh.js → infoDiagram-RXCK75RN-DQlz-0GH.js} +1 -1
  256. package/web-shell/assets/{ishikawaDiagram-5VMMS53U-WrFAKU7P.js → ishikawaDiagram-5VMMS53U-BA43ebt4.js} +1 -1
  257. package/web-shell/assets/{journeyDiagram-EYS64GPL-CNB-o7UU.js → journeyDiagram-EYS64GPL-DDlU7qPX.js} +1 -1
  258. package/web-shell/assets/{kanban-definition-3QL26DDD-BsOlyiXs.js → kanban-definition-3QL26DDD-DaT1T9VO.js} +1 -1
  259. package/web-shell/assets/{layout-CLP7XDl-.js → layout-CGoDE0Jk.js} +1 -1
  260. package/web-shell/assets/{linear-B_ZqoW0R.js → linear-Dlcix00h.js} +1 -1
  261. package/web-shell/assets/{mermaid.core-DM7r4q8D.js → mermaid.core-CTrkfnVV.js} +6 -6
  262. package/web-shell/assets/{mindmap-definition-FBJOCRG2-Bqb6RJsq.js → mindmap-definition-FBJOCRG2-CKlmCDs2.js} +1 -1
  263. package/web-shell/assets/{pegDiagram-XKGWAZYB-CvUwl3Q5.js → pegDiagram-XKGWAZYB-C-81xWvj.js} +1 -1
  264. package/web-shell/assets/{pieDiagram-E7YTZNPT-BQNKFhor.js → pieDiagram-E7YTZNPT-DkWgCGEs.js} +1 -1
  265. package/web-shell/assets/{quadrantDiagram-AXDQQJYC-7VbOBW8d.js → quadrantDiagram-AXDQQJYC-B8ItQsl-.js} +1 -1
  266. package/web-shell/assets/{railroadDiagram-O6MQD6OU-CgkPn4Te.js → railroadDiagram-O6MQD6OU-BZMa6PzJ.js} +1 -1
  267. package/web-shell/assets/{requirementDiagram-EFPCY7ZU-C7XViHWf.js → requirementDiagram-EFPCY7ZU-BGNIJd20.js} +1 -1
  268. package/web-shell/assets/{sankeyDiagram-P5KCCOFB-vsv0eiDF.js → sankeyDiagram-P5KCCOFB-BfD9Ralh.js} +1 -1
  269. package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-BLdDIcOL.js → sequenceDiagram-WJ2MYXX4-BHv0Frcl.js} +1 -1
  270. package/web-shell/assets/{sizeCapture-X5ZJPWSS-BVqQaCER.js → sizeCapture-X5ZJPWSS-Dz7SvtQb.js} +1 -1
  271. package/web-shell/assets/{stateDiagram-HBIQ2CUA-Bq3g73mj.js → stateDiagram-HBIQ2CUA-CgkD_KYa.js} +1 -1
  272. package/web-shell/assets/stateDiagram-v2-4QOOHH4V-uPaEMeEa.js +1 -0
  273. package/web-shell/assets/{swimlanes-XN3QIQJK-7w4P-g0w.js → swimlanes-XN3QIQJK-Bv1d8x7Q.js} +1 -1
  274. package/web-shell/assets/swimlanesDiagram-VK2B7HYN-DClL59AS.js +8 -0
  275. package/web-shell/assets/{timeline-definition-24CTP7MA-DlkUGqRK.js → timeline-definition-24CTP7MA-B_3E6jPw.js} +1 -1
  276. package/web-shell/assets/{vennDiagram-4TSXK5OY-D920UplN.js → vennDiagram-4TSXK5OY-OX4OfnpL.js} +1 -1
  277. package/web-shell/assets/{wardleyDiagram-VM6X3IG4-EsWGTViP.js → wardleyDiagram-VM6X3IG4-agygocEg.js} +1 -1
  278. package/web-shell/assets/{xychartDiagram-S5SC5T6Z-Bhnogtoq.js → xychartDiagram-S5SC5T6Z-Dlre674O.js} +1 -1
  279. package/web-shell/index.html +1 -1
  280. package/web-shell/sw.js +1 -1
  281. package/chunks/chunk-V24FMEXL.js +0 -203
  282. package/chunks/gateway-transfer-47WP3EUB.js +0 -27
  283. package/web-shell/assets/channel-BxByz4gj.js +0 -1
  284. package/web-shell/assets/classDiagram-DTDB5LWJ-Vxr2jk7x.js +0 -1
  285. package/web-shell/assets/classDiagram-v2-JRS7N3AN-Vxr2jk7x.js +0 -1
  286. package/web-shell/assets/stateDiagram-v2-4QOOHH4V-Cb0cd1Bn.js +0 -1
  287. package/web-shell/assets/swimlanesDiagram-VK2B7HYN-BKzBsHUu.js +0 -8
@@ -7,7 +7,7 @@ import {
7
7
  resolveVoiceStreamConfig,
8
8
  resolveVoiceTranscriptionConfig,
9
9
  transcribeVoiceAudio
10
- } from "./chunk-CADCX42P.js";
10
+ } from "./chunk-FQZNP6Z5.js";
11
11
  import {
12
12
  getVoiceSettingsScope,
13
13
  isSelectableVoiceModel,
@@ -16,7 +16,7 @@ import {
16
16
  readVoiceMode,
17
17
  readVoiceModel,
18
18
  resolveVoiceTransport
19
- } from "./chunk-3SIUBEAC.js";
19
+ } from "./chunk-MLMRVKRY.js";
20
20
  import {
21
21
  WorkspacePermissionRulesSessionRequiredError,
22
22
  WorkspaceSettingsPartialPersistError,
@@ -47,24 +47,24 @@ import {
47
47
  createIdleWorkspaceProvidersStatus,
48
48
  createIdleWorkspaceSkillsStatus,
49
49
  mapDomainErrorToErrorKind
50
- } from "./chunk-AXM2QH6N.js";
50
+ } from "./chunk-ETYF6LYZ.js";
51
51
  import {
52
52
  publicProviderBaseUrl
53
- } from "./chunk-ZXSPXXBY.js";
53
+ } from "./chunk-K3QLKXBZ.js";
54
54
  import {
55
55
  getPersistScopeForModelSelection,
56
56
  loadSettings
57
- } from "./chunk-LNRMJR3C.js";
57
+ } from "./chunk-ZIWDO6UP.js";
58
58
  import {
59
59
  getWorkspaceTrustStatus
60
- } from "./chunk-QLR4QOL7.js";
60
+ } from "./chunk-T636IYGV.js";
61
61
  import {
62
62
  SkillManager,
63
63
  require_yauzl
64
- } from "./chunk-CMDJL3HC.js";
64
+ } from "./chunk-FE2ZH6WW.js";
65
65
  import {
66
66
  ModelsConfig
67
- } from "./chunk-I4WCGUHX.js";
67
+ } from "./chunk-L37WQYHD.js";
68
68
  import {
69
69
  writeStderrLine,
70
70
  writeStderrLineSafe
@@ -8,14 +8,14 @@ import {
8
8
  } from "./chunk-KQCQCJBL.js";
9
9
  import {
10
10
  DEFAULT_OPENAI_LOG_RETENTION_DAYS
11
- } from "./chunk-C6HK75MO.js";
11
+ } from "./chunk-LOWKYYPU.js";
12
12
  import {
13
13
  resolveOpenAILogDir
14
- } from "./chunk-5TGVTMA4.js";
14
+ } from "./chunk-PZ5JMLBW.js";
15
15
  import {
16
16
  FILE_HISTORY_DIR,
17
17
  getSubagentsRootDir
18
- } from "./chunk-CMDJL3HC.js";
18
+ } from "./chunk-FE2ZH6WW.js";
19
19
  import {
20
20
  createDebugLogger,
21
21
  sessionIdContext
@@ -2,12 +2,12 @@
2
2
  "use strict";
3
3
  import {
4
4
  buildOutboundFetch
5
- } from "./chunk-CNXTYK25.js";
5
+ } from "./chunk-G7TCNWW4.js";
6
6
  import {
7
7
  getEffectiveReasoning,
8
8
  isOpenRouterHostname,
9
9
  resolveReasoningForModel
10
- } from "./chunk-F7SCCXXH.js";
10
+ } from "./chunk-NWRMBNPA.js";
11
11
  import {
12
12
  o1CodeUserAgent
13
13
  } from "./chunk-EYKEQPKF.js";
@@ -19,7 +19,7 @@ import {
19
19
  DEFAULT_DASHSCOPE_BASE_URL,
20
20
  DEFAULT_MAX_RETRIES,
21
21
  resolveRequestTimeout
22
- } from "./chunk-I4WCGUHX.js";
22
+ } from "./chunk-L37WQYHD.js";
23
23
  import {
24
24
  REASONING_EFFORT_TIERS,
25
25
  clampReasoningEffort,
@@ -2,24 +2,24 @@
2
2
  "use strict";
3
3
  import {
4
4
  functionResponsePartsToString
5
- } from "./chunk-Z4AMHZHW.js";
5
+ } from "./chunk-XOT6SBGY.js";
6
6
  import {
7
7
  observeHeadlessToolResultProjection,
8
8
  observeHeadlessToolResultWire,
9
9
  projectJsonStringToByteBudget
10
- } from "./chunk-7UCLXR66.js";
10
+ } from "./chunk-RRRI34RZ.js";
11
11
  import {
12
12
  createNotStartedToolErrorResponse,
13
13
  parseAndFormatApiError,
14
14
  toolResultBoundaryArtifact
15
- } from "./chunk-CMDJL3HC.js";
15
+ } from "./chunk-FE2ZH6WW.js";
16
16
  import {
17
17
  shellResultText
18
18
  } from "./chunk-GYGA6V6B.js";
19
19
  import {
20
20
  formatVisionBridgeNoticeDisplay,
21
21
  isVisionBridgeNoticeDisplay
22
- } from "./chunk-2OEBEF5L.js";
22
+ } from "./chunk-BZYI5TLI.js";
23
23
  import {
24
24
  init_esbuild_shims
25
25
  } from "./chunk-S2467S6L.js";
@@ -978,7 +978,7 @@ async function executePolicy(config, item, policy, store, cache, signal, memory)
978
978
  stage: policy.stage
979
979
  }
980
980
  };
981
- const { executeToolCall } = await import("./nonInteractiveToolExecutor-C3T5J2NW.js");
981
+ const { executeToolCall } = await import("./nonInteractiveToolExecutor-KCT5X3VP.js");
982
982
  const response = await executeToolCall(
983
983
  config,
984
984
  request,
@@ -3,7 +3,7 @@
3
3
  import {
4
4
  getUserSettingsPath,
5
5
  v1ToV2Migration
6
- } from "./chunk-LNRMJR3C.js";
6
+ } from "./chunk-ZIWDO6UP.js";
7
7
  import {
8
8
  getSystemDefaultsPath,
9
9
  getSystemSettingsPath
@@ -13,7 +13,7 @@ import {
13
13
  TrustLevel,
14
14
  getExplicitTrustLevel,
15
15
  getTrustedFoldersPath
16
- } from "./chunk-QLR4QOL7.js";
16
+ } from "./chunk-T636IYGV.js";
17
17
  import {
18
18
  arePathsEquivalent
19
19
  } from "./chunk-MXCWSDSC.js";
@@ -22,7 +22,7 @@ import {
22
22
  } from "./chunk-YCZIOHKD.js";
23
23
  import {
24
24
  ideContextStore
25
- } from "./chunk-CMDJL3HC.js";
25
+ } from "./chunk-FE2ZH6WW.js";
26
26
  import {
27
27
  init_esbuild_shims
28
28
  } from "./chunk-S2467S6L.js";
@@ -9,7 +9,7 @@ import {
9
9
  import {
10
10
  GOAL_STATE_EVENT_CAUSES,
11
11
  makeGoalStateEvent
12
- } from "./chunk-2OEBEF5L.js";
12
+ } from "./chunk-BZYI5TLI.js";
13
13
  import {
14
14
  DEFAULT_SENSITIVE_SPAN_ATTRIBUTE_MAX_LENGTH,
15
15
  SENSITIVE_SPAN_ATTRIBUTE_MAX_LENGTH_LIMIT,
@@ -17,7 +17,7 @@ import {
17
17
  getMeter,
18
18
  isTelemetrySdkInitialized,
19
19
  isValidSensitiveSpanAttributeMaxLength
20
- } from "./chunk-W5XYWVXE.js";
20
+ } from "./chunk-EB4VOVOS.js";
21
21
  import {
22
22
  atomicWriteJSON
23
23
  } from "./chunk-EPJAMNLS.js";
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
  import {
4
4
  registerCleanup
5
- } from "./chunk-DCMEEISM.js";
5
+ } from "./chunk-LRLHFEMZ.js";
6
6
  import {
7
7
  init_esbuild_shims
8
8
  } from "./chunk-S2467S6L.js";
@@ -1,5 +1,15 @@
1
1
  // Force strict mode and setup for ESM
2
2
  "use strict";
3
+ import {
4
+ QUOTA_EXHAUSTED_PREFIX,
5
+ formatQuotaExhaustedMessage,
6
+ getErrorHeader,
7
+ getRateLimitErrorDetails,
8
+ getRetryAfterDelayMs,
9
+ getRetryDelayMs,
10
+ isQuotaExhaustedError,
11
+ isRateLimitError
12
+ } from "./chunk-3JWJHYFV.js";
3
13
  import {
4
14
  redactProxyCredentials
5
15
  } from "./chunk-S6HB6BVJ.js";
@@ -18,301 +28,6 @@ import {
18
28
  __name
19
29
  } from "./chunk-J2S4EL5Y.js";
20
30
 
21
- // packages/core/src/utils/retryPolicy.ts
22
- init_esbuild_shims();
23
- var MAX_TIMEOUT_MS = 2147483647;
24
- function getRetryDelayMs(options) {
25
- const normalizedAttempt = Math.max(1, options.attempt);
26
- const delayCeilingMs = Math.min(options.maxDelayMs, MAX_TIMEOUT_MS);
27
- const exponent = Math.min(normalizedAttempt - 1, 31);
28
- const cappedExponentialDelayMs = Math.min(
29
- options.initialDelayMs * Math.pow(2, exponent),
30
- delayCeilingMs
31
- );
32
- const retryAfterMode = options.retryAfterMode ?? "ignore";
33
- const retryAfterMs = retryAfterMode === "ignore" ? null : getRetryAfterDelayMs(options.error);
34
- if (retryAfterMs !== null && retryAfterMs > 0) {
35
- const retryAfterCapMs = Math.min(
36
- options.retryAfterMaxDelayMs ?? options.maxDelayMs,
37
- MAX_TIMEOUT_MS
38
- );
39
- const cappedRetryAfterMs = Math.min(retryAfterMs, retryAfterCapMs);
40
- return Math.max(cappedExponentialDelayMs, cappedRetryAfterMs);
41
- }
42
- const jitterRatio = options.jitterRatio ?? 0;
43
- if (jitterRatio <= 0) return cappedExponentialDelayMs;
44
- const random = options.random ?? Math.random;
45
- const jitter = cappedExponentialDelayMs * jitterRatio * (random() * 2 - 1);
46
- return Math.min(
47
- Math.max(0, cappedExponentialDelayMs + jitter),
48
- delayCeilingMs
49
- );
50
- }
51
- __name(getRetryDelayMs, "getRetryDelayMs");
52
- function getRetryAfterDelayMs(error) {
53
- const millis = getHeaderValue(error, "retry-after-ms") ?? getResponseHeaderValue(error, "retry-after-ms");
54
- if (millis !== null && /^\d+(\.\d+)?$/.test(millis.trim())) {
55
- const value2 = Number(millis);
56
- if (Number.isFinite(value2)) return Math.min(value2, MAX_TIMEOUT_MS);
57
- }
58
- const value = getHeaderValue(error, "retry-after") ?? getResponseHeaderValue(error, "retry-after");
59
- if (value === null) return null;
60
- const trimmed = value.trim();
61
- if (/^\d+(\.\d+)?$/.test(trimmed)) {
62
- const seconds = Number(trimmed);
63
- if (Number.isFinite(seconds) && seconds >= 0) {
64
- return Math.min(seconds * 1e3, MAX_TIMEOUT_MS);
65
- }
66
- }
67
- const retryAtMs = Date.parse(trimmed);
68
- if (!Number.isFinite(retryAtMs)) return null;
69
- const delayMs = retryAtMs - Date.now();
70
- return delayMs > 0 ? Math.min(delayMs, MAX_TIMEOUT_MS) : 0;
71
- }
72
- __name(getRetryAfterDelayMs, "getRetryAfterDelayMs");
73
- function getErrorHeader(error, headerName) {
74
- return getHeaderValue(error, headerName) ?? getResponseHeaderValue(error, headerName);
75
- }
76
- __name(getErrorHeader, "getErrorHeader");
77
- function getHeaderValue(error, headerName) {
78
- if (!hasHeaders(error)) return null;
79
- const { headers } = error;
80
- if (typeof headers.get === "function") {
81
- const value = headers.get(headerName);
82
- return typeof value === "string" ? value : null;
83
- }
84
- if (typeof headers !== "object" || headers === null) return null;
85
- const lowerHeaderName = headerName.toLowerCase();
86
- for (const [key, value] of Object.entries(headers)) {
87
- if (key.toLowerCase() !== lowerHeaderName) continue;
88
- return typeof value === "string" ? value : null;
89
- }
90
- return null;
91
- }
92
- __name(getHeaderValue, "getHeaderValue");
93
- function getResponseHeaderValue(error, headerName) {
94
- if (!hasResponseHeaders(error)) return null;
95
- return getHeaderValue(error.response, headerName);
96
- }
97
- __name(getResponseHeaderValue, "getResponseHeaderValue");
98
- function hasHeaders(error) {
99
- return typeof error === "object" && error !== null && "headers" in error && error.headers != null;
100
- }
101
- __name(hasHeaders, "hasHeaders");
102
- function hasResponseHeaders(error) {
103
- return typeof error === "object" && error !== null && "response" in error && typeof error.response === "object" && error.response !== null && "headers" in error.response && error.response.headers != null;
104
- }
105
- __name(hasResponseHeaders, "hasResponseHeaders");
106
-
107
- // packages/core/src/utils/rateLimit.ts
108
- init_esbuild_shims();
109
-
110
- // packages/core/src/utils/quotaErrorDetection.ts
111
- init_esbuild_shims();
112
- function isApiError(error) {
113
- return typeof error === "object" && error !== null && "error" in error && typeof error.error === "object" && error.error !== null && "message" in error.error;
114
- }
115
- __name(isApiError, "isApiError");
116
- function isStructuredError(error) {
117
- return typeof error === "object" && error !== null && "message" in error && typeof error.message === "string";
118
- }
119
- __name(isStructuredError, "isStructuredError");
120
- var QUOTA_EXHAUSTED_PREFIX = "Quota exhausted: ";
121
- function getQuotaMessage(error) {
122
- let message = null;
123
- if (typeof error === "string") message = error;
124
- else if (isStructuredError(error)) message = error.message;
125
- else if (isApiError(error)) message = error.error.message;
126
- if (message === null) return null;
127
- const start = message.indexOf("{");
128
- if (start !== -1) {
129
- try {
130
- const parsed = JSON.parse(message.substring(start));
131
- if (isApiError(parsed)) return parsed.error.message;
132
- } catch {
133
- }
134
- }
135
- return message;
136
- }
137
- __name(getQuotaMessage, "getQuotaMessage");
138
- function isQuotaExhaustedError(error) {
139
- const message = getQuotaMessage(error);
140
- if (!message) return false;
141
- const lower = message.toLowerCase();
142
- return lower.includes("quota") && (lower.includes("exhausted") || lower.includes("exceeded")) && (lower.includes("will reset") || lower.includes("reset at"));
143
- }
144
- __name(isQuotaExhaustedError, "isQuotaExhaustedError");
145
- function formatQuotaExhaustedMessage(error) {
146
- const raw = getQuotaMessage(error) ?? "";
147
- if (raw.startsWith(QUOTA_EXHAUSTED_PREFIX)) return raw;
148
- const stripped = raw.replace(/^\d{3}\s+/, "").trim() || "quota has been exhausted";
149
- return `${QUOTA_EXHAUSTED_PREFIX}${stripped}
150
-
151
- Please retry after the reset time, or switch to another API key / auth method.`;
152
- }
153
- __name(formatQuotaExhaustedMessage, "formatQuotaExhaustedMessage");
154
-
155
- // packages/core/src/utils/rateLimit.ts
156
- var RATE_LIMIT_ERROR_CODES = /* @__PURE__ */ new Set([429, 503, 1302, 1305]);
157
- function isRateLimitError(error, extraCodes) {
158
- const code = getErrorCode(error);
159
- if (code === null) return isStatuslessThrottle(error);
160
- if (RATE_LIMIT_ERROR_CODES.has(code)) return true;
161
- if (extraCodes && extraCodes.includes(code)) return true;
162
- return false;
163
- }
164
- __name(isRateLimitError, "isRateLimitError");
165
- function isStatuslessThrottle(error) {
166
- for (const payload of [error, ...getJsonPayloads(error)]) {
167
- const selected = providerErrorSource(payload);
168
- if (!selected) continue;
169
- const { source } = selected;
170
- const { type, message } = source;
171
- if (type === "rate_limit_error" || type === "overloaded_error") return true;
172
- if (type !== "invalid_request_error" || typeof message !== "string")
173
- continue;
174
- const detail = decodeProviderMessage(message)?.["message"] ?? message;
175
- if (typeof detail === "string" && /^too many requests\b/i.test(detail.trim()) && /\b(?:wait|try(?:ing)? again)\b/i.test(detail)) {
176
- return true;
177
- }
178
- }
179
- return false;
180
- }
181
- __name(isStatuslessThrottle, "isStatuslessThrottle");
182
- function providerErrorSource(payload) {
183
- if (typeof payload !== "object" || payload === null) return null;
184
- const direct = payload;
185
- const nested = direct["error"];
186
- const source = typeof nested === "object" && nested !== null ? nested : direct;
187
- return { source, direct };
188
- }
189
- __name(providerErrorSource, "providerErrorSource");
190
- function decodeProviderMessage(message) {
191
- try {
192
- const selected = providerErrorSource(JSON.parse(message));
193
- if (!selected || typeof selected.source["message"] !== "string") {
194
- return null;
195
- }
196
- return { ...selected.direct, ...selected.source };
197
- } catch {
198
- return null;
199
- }
200
- }
201
- __name(decodeProviderMessage, "decodeProviderMessage");
202
- function getRateLimitErrorDetails(error) {
203
- const statusCode = getErrorStatus(error);
204
- const payload = getProviderErrorPayload(error);
205
- const message = getRawErrorMessage(error);
206
- const transport = message?.includes("event:error") || message?.includes("HTTP_STATUS/") ? "sse" : statusCode !== void 0 ? "http" : "unknown";
207
- return {
208
- ...statusCode !== void 0 ? { statusCode } : {},
209
- ...payload?.code !== void 0 || payload?.type !== void 0 ? { providerCode: String(payload.code ?? payload.type) } : {},
210
- ...payload?.type !== void 0 ? { providerType: payload.type } : {},
211
- ...payload?.message !== void 0 ? { providerMessage: payload.message } : {},
212
- ...payload?.requestId !== void 0 ? { requestId: payload.requestId } : {},
213
- transport
214
- };
215
- }
216
- __name(getRateLimitErrorDetails, "getRateLimitErrorDetails");
217
- function getRateLimitRetryDelayMs(attempt, options) {
218
- return getRetryDelayMs({
219
- attempt,
220
- initialDelayMs: options.initialDelayMs,
221
- maxDelayMs: options.maxDelayMs,
222
- retryAfterMode: "minimum",
223
- retryAfterMaxDelayMs: options.maxDelayMs,
224
- error: options.error
225
- });
226
- }
227
- __name(getRateLimitRetryDelayMs, "getRateLimitRetryDelayMs");
228
- function getErrorCode(error) {
229
- if (isApiError(error)) {
230
- const n = Number(error.error.code);
231
- if (Number.isFinite(n) && n > 0) return n;
232
- }
233
- const msg = error instanceof Error ? error.message : typeof error === "string" ? error : null;
234
- if (msg) {
235
- const i = msg.indexOf("{");
236
- if (i !== -1) {
237
- try {
238
- const p = JSON.parse(msg.substring(i));
239
- if (isApiError(p)) {
240
- const n = Number(p.error.code);
241
- if (Number.isFinite(n) && n > 0) return n;
242
- }
243
- } catch {
244
- }
245
- }
246
- }
247
- if (isStructuredError(error) && typeof error.status === "number") {
248
- return error.status;
249
- }
250
- if (error instanceof Error && "status" in error) {
251
- const s = error.status;
252
- if (typeof s === "number") return s;
253
- }
254
- return getErrorStatus(error) ?? null;
255
- }
256
- __name(getErrorCode, "getErrorCode");
257
- function getProviderErrorPayload(error) {
258
- for (const payload of getJsonPayloads(error)) {
259
- const selected = providerErrorSource(payload);
260
- if (!selected) continue;
261
- const { source, direct } = selected;
262
- const decoded = typeof source["message"] === "string" ? decodeProviderMessage(source["message"]) : null;
263
- const code = typeof source["code"] === "string" || typeof source["code"] === "number" ? source["code"] : typeof decoded?.["code"] === "string" || typeof decoded?.["code"] === "number" ? decoded["code"] : void 0;
264
- const type = typeof source["type"] === "string" ? source["type"] : typeof decoded?.["type"] === "string" ? decoded["type"] : void 0;
265
- const message = typeof decoded?.["message"] === "string" ? decoded["message"] : typeof source["message"] === "string" ? source["message"] : void 0;
266
- const requestId = typeof source["request_id"] === "string" ? source["request_id"] : typeof source["requestId"] === "string" ? source["requestId"] : typeof direct["request_id"] === "string" ? direct["request_id"] : typeof direct["requestId"] === "string" ? direct["requestId"] : typeof decoded?.["request_id"] === "string" ? decoded["request_id"] : typeof decoded?.["requestId"] === "string" ? decoded["requestId"] : void 0;
267
- if (code !== void 0 || type !== void 0 || message !== void 0 || requestId !== void 0) {
268
- return { code, type, message, requestId };
269
- }
270
- }
271
- if (isApiError(error)) {
272
- const decoded = decodeProviderMessage(error.error.message);
273
- return {
274
- code: error.error.code,
275
- ...typeof decoded?.["type"] === "string" ? { type: decoded["type"] } : {},
276
- message: typeof decoded?.["message"] === "string" ? decoded["message"] : error.error.message
277
- };
278
- }
279
- return null;
280
- }
281
- __name(getProviderErrorPayload, "getProviderErrorPayload");
282
- function getJsonPayloads(error) {
283
- const message = getRawErrorMessage(error);
284
- if (!message) return [];
285
- const payloads = [];
286
- for (const line of message.split(/\r?\n/)) {
287
- if (!line.startsWith("data:")) continue;
288
- const data = line.slice("data:".length).trim();
289
- if (!data || data === "[DONE]") continue;
290
- try {
291
- payloads.push(JSON.parse(data));
292
- } catch {
293
- }
294
- }
295
- if (payloads.length > 0) return payloads;
296
- const jsonStart = message.indexOf("{");
297
- const jsonEnd = message.lastIndexOf("}");
298
- if (jsonStart !== -1 && jsonEnd > jsonStart) {
299
- try {
300
- payloads.push(
301
- JSON.parse(message.slice(jsonStart, jsonEnd + 1))
302
- );
303
- } catch {
304
- }
305
- }
306
- return payloads;
307
- }
308
- __name(getJsonPayloads, "getJsonPayloads");
309
- function getRawErrorMessage(error) {
310
- if (error instanceof Error) return error.message;
311
- if (typeof error === "string") return error;
312
- return null;
313
- }
314
- __name(getRawErrorMessage, "getRawErrorMessage");
315
-
316
31
  // packages/core/src/utils/fetch.ts
317
32
  init_esbuild_shims();
318
33
 
@@ -1312,13 +1027,13 @@ function classifyErrorCode(error) {
1312
1027
  const errors = candidate?.errors;
1313
1028
  return Array.isArray(errors) ? errors : [];
1314
1029
  });
1315
- const connectionLevel = attempts.map(getErrorCode2).find(
1030
+ const connectionLevel = attempts.map(getErrorCode).find(
1316
1031
  (code) => code !== void 0 && CONNECTION_LEVEL_ERROR_CODES.has(code)
1317
1032
  );
1318
- return connectionLevel ?? getErrorCode2(error) ?? getErrorCode2(cause);
1033
+ return connectionLevel ?? getErrorCode(error) ?? getErrorCode(cause);
1319
1034
  }
1320
1035
  __name(classifyErrorCode, "classifyErrorCode");
1321
- function getErrorCode2(error) {
1036
+ function getErrorCode(error) {
1322
1037
  if (!error || typeof error !== "object") {
1323
1038
  return void 0;
1324
1039
  }
@@ -1327,18 +1042,9 @@ function getErrorCode2(error) {
1327
1042
  }
1328
1043
  return void 0;
1329
1044
  }
1330
- __name(getErrorCode2, "getErrorCode");
1045
+ __name(getErrorCode, "getErrorCode");
1331
1046
 
1332
1047
  export {
1333
- isApiError,
1334
- isStructuredError,
1335
- QUOTA_EXHAUSTED_PREFIX,
1336
- isQuotaExhaustedError,
1337
- formatQuotaExhaustedMessage,
1338
- getErrorHeader,
1339
- isRateLimitError,
1340
- getRateLimitErrorDetails,
1341
- getRateLimitRetryDelayMs,
1342
1048
  ResponsesHttpError,
1343
1049
  classifyRetryError,
1344
1050
  getTransportCode,
@@ -1355,27 +1061,27 @@ export {
1355
1061
  };
1356
1062
  /**
1357
1063
  * @license
1358
- * Copyright 2026 Google LLC
1064
+ * Copyright 2026 o1-code contributors
1359
1065
  * SPDX-License-Identifier: Apache-2.0
1360
1066
  */
1361
1067
  /**
1362
1068
  * @license
1363
- * Copyright 2025 Google LLC
1069
+ * Copyright 2026 Qwen
1364
1070
  * SPDX-License-Identifier: Apache-2.0
1365
1071
  */
1366
1072
  /**
1367
1073
  * @license
1368
- * Copyright 2026 o1-code contributors
1074
+ * Copyright 2026 Google LLC
1369
1075
  * SPDX-License-Identifier: Apache-2.0
1370
1076
  */
1371
1077
  /**
1372
1078
  * @license
1373
- * Copyright 2026 Qwen
1079
+ * Copyright 2026 Qwen Team
1080
+ * Modified by the o1-code project; see NOTICE.
1374
1081
  * SPDX-License-Identifier: Apache-2.0
1375
1082
  */
1376
1083
  /**
1377
1084
  * @license
1378
- * Copyright 2026 Qwen Team
1379
- * Modified by the o1-code project; see NOTICE.
1085
+ * Copyright 2025 Google LLC
1380
1086
  * SPDX-License-Identifier: Apache-2.0
1381
1087
  */
@@ -11,10 +11,10 @@ import {
11
11
  } from "./chunk-W3YES77O.js";
12
12
  import {
13
13
  MissingCliEntryError
14
- } from "./chunk-AXM2QH6N.js";
14
+ } from "./chunk-ETYF6LYZ.js";
15
15
  import {
16
16
  external_exports
17
- } from "./chunk-CMDJL3HC.js";
17
+ } from "./chunk-FE2ZH6WW.js";
18
18
  import {
19
19
  init_esbuild_shims
20
20
  } from "./chunk-S2467S6L.js";
@@ -392,7 +392,7 @@ async function createContentGenerator(generatorConfig, config) {
392
392
  "The saved gateway tunnel is not open. Reconnect the provider before using this route."
393
393
  );
394
394
  if (session) {
395
- const { o1ConnectBaseUrlFor } = await import("./session-WXHJRBXC.js");
395
+ const { o1ConnectBaseUrlFor } = await import("./session-JVXNBIG2.js");
396
396
  generatorConfig.baseUrl = o1ConnectBaseUrlFor(
397
397
  session,
398
398
  generatorConfig.authType
@@ -418,22 +418,22 @@ async function createContentGenerator(generatorConfig, config) {
418
418
  try {
419
419
  if (authType === "openai" /* USE_OPENAI */) {
420
420
  loadBaseGenerator = /* @__PURE__ */ __name(async () => {
421
- const { createOpenAIContentGenerator } = await import("./openaiContentGenerator-7V6CYXFU.js");
421
+ const { createOpenAIContentGenerator } = await import("./openaiContentGenerator-I2O3ZSYA.js");
422
422
  return createOpenAIContentGenerator(generatorConfig, config);
423
423
  }, "loadBaseGenerator");
424
424
  } else if (authType === "openai-responses" /* USE_OPENAI_RESPONSES */) {
425
425
  loadBaseGenerator = /* @__PURE__ */ __name(async () => {
426
- const { createOpenAIResponsesContentGenerator } = await import("./openaiResponsesContentGenerator-6YVQAUJ3.js");
426
+ const { createOpenAIResponsesContentGenerator } = await import("./openaiResponsesContentGenerator-FUJIJGE2.js");
427
427
  return createOpenAIResponsesContentGenerator(generatorConfig, config);
428
428
  }, "loadBaseGenerator");
429
429
  } else if (authType === "anthropic" /* USE_ANTHROPIC */) {
430
430
  loadBaseGenerator = /* @__PURE__ */ __name(async () => {
431
- const { createAnthropicContentGenerator } = await import("./anthropicContentGenerator-SVXJ2WC5.js");
431
+ const { createAnthropicContentGenerator } = await import("./anthropicContentGenerator-PXN4JHYG.js");
432
432
  return createAnthropicContentGenerator(generatorConfig, config);
433
433
  }, "loadBaseGenerator");
434
434
  } else if (authType === "gemini" /* USE_GEMINI */ || authType === "vertex-ai" /* USE_VERTEX_AI */) {
435
435
  loadBaseGenerator = /* @__PURE__ */ __name(async () => {
436
- const { createLlmContentGenerator } = await import("./llm-content-generator-UZLRLOG3.js");
436
+ const { createLlmContentGenerator } = await import("./llm-content-generator-UWKSCTYE.js");
437
437
  return createLlmContentGenerator(generatorConfig, config);
438
438
  }, "loadBaseGenerator");
439
439
  } else {
@@ -448,13 +448,13 @@ async function createContentGenerator(generatorConfig, config) {
448
448
  try {
449
449
  const [baseGenerator, { LoggingContentGenerator }] = await Promise.all([
450
450
  loadBaseGenerator(),
451
- import("./loggingContentGenerator-4OPNBZMP.js")
451
+ import("./loggingContentGenerator-T2W2WRJJ.js")
452
452
  ]);
453
453
  if (reachesOrganizaOne(generatorConfig)) {
454
- const { refreshGatewayModels } = await import("./gateway-models-N5DT7Q4M.js");
454
+ const { refreshGatewayModels } = await import("./gateway-models-UR5GHR6N.js");
455
455
  await refreshGatewayModels(config, generatorConfig);
456
456
  }
457
- const wrapped = reachesOrganizaOne(generatorConfig) ? new (await import("./gateway-content-generator-76KRZXAA.js")).GatewayContentGenerator(baseGenerator, config, generatorConfig) : baseGenerator;
457
+ const wrapped = reachesOrganizaOne(generatorConfig) ? new (await import("./gateway-content-generator-URNHKQ6P.js")).GatewayContentGenerator(baseGenerator, config, generatorConfig) : baseGenerator;
458
458
  return new LoggingContentGenerator(wrapped, config, generatorConfig);
459
459
  } catch (error) {
460
460
  throw wrapProviderLoadError(error, authType);
@@ -7,18 +7,18 @@ import {
7
7
  jsonStringPayloadByteLength,
8
8
  observeAcpToolResultProjection,
9
9
  truncateJsonStringPayload
10
- } from "./chunk-7UCLXR66.js";
10
+ } from "./chunk-RRRI34RZ.js";
11
11
  import {
12
12
  isA2uiToolMeta
13
- } from "./chunk-SLYGIHMA.js";
13
+ } from "./chunk-FMWQ43OS.js";
14
14
  import {
15
15
  redactLogCredentials
16
- } from "./chunk-MEBXT3L3.js";
16
+ } from "./chunk-AK6UP3LA.js";
17
17
  import {
18
18
  getResponseText,
19
19
  lastHistoryContentFromRecords,
20
20
  restorableAskUserQuestionCallIds
21
- } from "./chunk-CMDJL3HC.js";
21
+ } from "./chunk-FE2ZH6WW.js";
22
22
  import {
23
23
  isShellResultDisplay,
24
24
  mapShellResultText
@@ -26,7 +26,7 @@ import {
26
26
  import {
27
27
  parseGoalSnapshotV2,
28
28
  parseGoalStateCause
29
- } from "./chunk-RWUZRVUT.js";
29
+ } from "./chunk-AE4IQ5HU.js";
30
30
  import {
31
31
  init_esbuild_shims
32
32
  } from "./chunk-S2467S6L.js";