@organizaone/o1-code 0.21.6 → 0.21.8

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/integration-vscode.md +13 -3
  2. package/chunks/{MaxSizedBox-AN2DNRPV.js → MaxSizedBox-5JDIZGRI.js} +17 -17
  3. package/chunks/{StandaloneSessionPicker-LESYIRMJ.js → StandaloneSessionPicker-337W36MR.js} +30 -30
  4. package/chunks/{acp-subagent-executor-Q3GNC3HS.js → acp-subagent-executor-AZWIITY3.js} +19 -19
  5. package/chunks/{acpAgent-K2JPAPNG.js → acpAgent-PEHT7573.js} +54 -54
  6. package/chunks/{agent-J47XQYJF.js → agent-WEPKBCCS.js} +9 -9
  7. package/chunks/{agent-headless-F2NBV6XP.js → agent-headless-LXH6LAJ4.js} +9 -9
  8. package/chunks/{all-providers-YDURUUR4.js → all-providers-R7MFQTE7.js} +2 -2
  9. package/chunks/{anthropicContentGenerator-YGZWFVKK.js → anthropicContentGenerator-WZ3YSYDF.js} +5 -5
  10. package/chunks/{bridge-EZFIDHSZ.js → bridge-TVSETA7K.js} +19 -19
  11. package/chunks/{chunk-HAT42FVU.js → chunk-2C5GYVPR.js} +1 -1
  12. package/chunks/{chunk-IJFTFE5M.js → chunk-2KHVBXZ3.js} +1 -1
  13. package/chunks/{chunk-NFAFQQWN.js → chunk-37VDIIHU.js} +1 -1
  14. package/chunks/{chunk-2YBJIS4G.js → chunk-3ZJUMBOS.js} +7 -7
  15. package/chunks/{chunk-A4FVSDNY.js → chunk-4Q3WNTP3.js} +1 -1
  16. package/chunks/{chunk-KPMZ6OCM.js → chunk-566GYHAE.js} +3 -3
  17. package/chunks/{chunk-AWR5OW4D.js → chunk-5JBX43I3.js} +2 -2
  18. package/chunks/{chunk-HSUOTIEB.js → chunk-5RYP7RZG.js} +1 -1
  19. package/chunks/{chunk-WFRN5VYT.js → chunk-5VXMTGPV.js} +4 -4
  20. package/chunks/{chunk-XVN3TBSM.js → chunk-5WDVZJDQ.js} +2 -2
  21. package/chunks/{chunk-2XGPCZ3W.js → chunk-642PIR4M.js} +4 -4
  22. package/chunks/{chunk-QQPPTJ5E.js → chunk-6VFNWYWN.js} +4 -4
  23. package/chunks/{chunk-AORGHKMJ.js → chunk-7BQPZQP7.js} +1 -1
  24. package/chunks/{chunk-QKSXLP4U.js → chunk-7W6HMRGG.js} +4 -4
  25. package/chunks/{chunk-HP2MUSSA.js → chunk-A32TOFXI.js} +2 -2
  26. package/chunks/{chunk-CPGGUGTZ.js → chunk-A6445NIL.js} +2 -2
  27. package/chunks/{chunk-BZ4MUEHS.js → chunk-AHI6EFWS.js} +4 -4
  28. package/chunks/{chunk-LKJ6DRM4.js → chunk-AZ4ZCY3E.js} +136 -36
  29. package/chunks/{chunk-JGSQIDRH.js → chunk-BH6ETFAI.js} +4 -4
  30. package/chunks/{chunk-CG5SPMYE.js → chunk-BTPTME2B.js} +3 -3
  31. package/chunks/{chunk-WHRT2KVE.js → chunk-CAVFN5I5.js} +3 -3
  32. package/chunks/{chunk-VUMO3U3K.js → chunk-D2PPGNSH.js} +1 -1
  33. package/chunks/{chunk-YEVP7Q5D.js → chunk-D2RK5447.js} +34 -27
  34. package/chunks/{chunk-FI5NIT44.js → chunk-GROV3BFX.js} +3 -3
  35. package/chunks/{chunk-6Z7ZK63Y.js → chunk-GXYKKO5F.js} +1 -1
  36. package/chunks/{chunk-3R27XP5U.js → chunk-HIGJHRG5.js} +1 -1
  37. package/chunks/{chunk-NDKRHVOS.js → chunk-HL32D3FC.js} +4 -4
  38. package/chunks/{chunk-GXG6MW42.js → chunk-HMOUS4QB.js} +21 -1
  39. package/chunks/{chunk-LRCAEEQ4.js → chunk-IG4SI7D6.js} +1 -1
  40. package/chunks/{chunk-7BYLBMIM.js → chunk-IS5IIFV3.js} +1 -1
  41. package/chunks/{chunk-XSKIJRUO.js → chunk-JMDM6FHI.js} +1 -1
  42. package/chunks/{chunk-BPWQTLYJ.js → chunk-JN4REMRH.js} +7 -7
  43. package/chunks/{chunk-2GNSB3MV.js → chunk-JOUK4R23.js} +2 -2
  44. package/chunks/{chunk-2KPLXCHA.js → chunk-JSY4J2FE.js} +3 -3
  45. package/chunks/{chunk-F2P7NVPY.js → chunk-JVG7Y6QE.js} +1 -1
  46. package/chunks/{chunk-QJXSOKPL.js → chunk-KIKQVSGH.js} +2 -2
  47. package/chunks/{chunk-U4GTSPTT.js → chunk-KKENXQEQ.js} +10 -10
  48. package/chunks/{chunk-IU2TBZ2X.js → chunk-KXCRSEZN.js} +2 -2
  49. package/chunks/{chunk-KLFLF253.js → chunk-LHDFH54F.js} +3 -3
  50. package/chunks/{chunk-JVEISRVM.js → chunk-MREQOAW7.js} +6 -6
  51. package/chunks/{chunk-KMYUIBA5.js → chunk-N3TIE57S.js} +2 -2
  52. package/chunks/{chunk-D43CSOUB.js → chunk-N7R6Z4QV.js} +2 -2
  53. package/chunks/{chunk-OSLNDI6V.js → chunk-NLTUEC5Q.js} +6 -6
  54. package/chunks/{chunk-X3OF2MOD.js → chunk-NRBB6WW6.js} +1 -1
  55. package/chunks/{chunk-ZA2GMH4G.js → chunk-NVI4SRJU.js} +1 -1
  56. package/chunks/{chunk-GPI2PYEY.js → chunk-O7OCJ6MQ.js} +3 -3
  57. package/chunks/{chunk-PTIMDYCI.js → chunk-OGJ4MVXX.js} +2 -2
  58. package/chunks/{chunk-CBRWGS6L.js → chunk-PHD4B34J.js} +5 -5
  59. package/chunks/{chunk-PPLCTPML.js → chunk-PWCTX66B.js} +2 -2
  60. package/chunks/{chunk-CIAZ7YKW.js → chunk-QFEZGB3Y.js} +2 -2
  61. package/chunks/{chunk-NF6IIVR3.js → chunk-QYBFVUU2.js} +1 -1
  62. package/chunks/{chunk-QVOW246O.js → chunk-RA3QWZZQ.js} +1 -1
  63. package/chunks/{chunk-LSTMZ7A3.js → chunk-RFIKBXKI.js} +2 -2
  64. package/chunks/{chunk-RRF47RKY.js → chunk-S2B2454D.js} +1 -1
  65. package/chunks/{chunk-OM73CSST.js → chunk-S733EYWX.js} +3 -3
  66. package/chunks/{chunk-R5YP5TGM.js → chunk-SADH4MG3.js} +2 -2
  67. package/chunks/{chunk-IPS3SOM7.js → chunk-SMO5AGRH.js} +1 -1
  68. package/chunks/{chunk-66RAPJKN.js → chunk-TBJKCOB6.js} +4 -4
  69. package/chunks/{chunk-MLM4LXNP.js → chunk-TDZFKR2H.js} +2 -2
  70. package/chunks/{chunk-QHYBO45R.js → chunk-TEEKFZLV.js} +48 -48
  71. package/chunks/{chunk-FHQ47UYV.js → chunk-UMI3KYEG.js} +5 -5
  72. package/chunks/{chunk-JY5PM6AG.js → chunk-VCV7AYPL.js} +1 -1
  73. package/chunks/{chunk-DBUZFCC5.js → chunk-VGMNG7VW.js} +2 -2
  74. package/chunks/{chunk-CEO4OATR.js → chunk-W453GJ7M.js} +105 -28
  75. package/chunks/{chunk-LRHG3HEE.js → chunk-WIYLWOCP.js} +1 -1
  76. package/chunks/{chunk-SLEQB7MC.js → chunk-WRB3UNB5.js} +3 -3
  77. package/chunks/{chunk-PKQDGEB5.js → chunk-WUFRJBFC.js} +1 -1
  78. package/chunks/{chunk-QX4VK7NI.js → chunk-XL5ZRHQA.js} +1 -1
  79. package/chunks/{chunk-F3BZPKGF.js → chunk-XT5JXHVL.js} +1 -1
  80. package/chunks/{chunk-SUHTEYAC.js → chunk-YC6PZUFV.js} +2 -2
  81. package/chunks/{chunk-5WRMBB6J.js → chunk-YFWMLF7Y.js} +1 -1
  82. package/chunks/{chunk-ZDYTO2FH.js → chunk-YK63USRK.js} +1 -1
  83. package/chunks/{chunk-275ZUQB3.js → chunk-YMUJVUDI.js} +11 -11
  84. package/chunks/{chunk-3JXCA2SW.js → chunk-YSZVDMBR.js} +2 -2
  85. package/chunks/{chunk-DQSNVGRB.js → chunk-YZHGNS36.js} +26 -26
  86. package/chunks/{chunk-47JQAV5K.js → chunk-Z7R3ZHC6.js} +1 -1
  87. package/chunks/{chunk-QQBWMPS3.js → chunk-ZA3QP7UG.js} +2 -2
  88. package/chunks/{chunk-2IGYCJXV.js → chunk-ZEJQB32M.js} +1 -1
  89. package/chunks/{codex-subagent-executor-3UJAUKXP.js → codex-subagent-executor-FVOOXTD2.js} +19 -19
  90. package/chunks/{contextCommand-U3NPERT3.js → contextCommand-DDMF36IO.js} +18 -18
  91. package/chunks/{core-runtime-AJQ2B44Q.js → core-runtime-VDEXQQ3W.js} +17 -17
  92. package/chunks/{create-sub-session-MMY4TJKV.js → create-sub-session-VCVMK3TY.js} +18 -18
  93. package/chunks/{daemon-git-worktree-guard-L7C5O6S7.js → daemon-git-worktree-guard-XKFWZEYY.js} +17 -17
  94. package/chunks/{daemon-status-provider-YSTJKGPV.js → daemon-status-provider-AU5LGZYL.js} +23 -23
  95. package/chunks/{daemon-trust-policy-XPJQLGFQ.js → daemon-trust-policy-ETD5TBWN.js} +22 -22
  96. package/chunks/{daemon-trust-policy-monitor-BZCNWR4S.js → daemon-trust-policy-monitor-5FGLZXEL.js} +22 -22
  97. package/chunks/{deferred-core-runtime-YK6ZHJAZ.js → deferred-core-runtime-2UIGRE2M.js} +17 -17
  98. package/chunks/{edit-JJRQZXSB.js → edit-IMZBRFRB.js} +11 -11
  99. package/chunks/{enterPlanMode-VJRKTNVV.js → enterPlanMode-LJCSRD4Y.js} +9 -9
  100. package/chunks/{environment-BNN557IL.js → environment-M5U2L6VP.js} +19 -19
  101. package/chunks/{errors-ZZZ4H2TW.js → errors-GA3VDNIT.js} +19 -19
  102. package/chunks/{execution-tool-UVE5UDLE.js → execution-tool-57H5EQKA.js} +11 -11
  103. package/chunks/{execution-worker-M7Q7PH54.js → execution-worker-U7374LKH.js} +14 -14
  104. package/chunks/{exitPlanMode-VDYF27JA.js → exitPlanMode-NSG5E7RE.js} +9 -9
  105. package/chunks/{fast-path-YJVUWN34.js → fast-path-HJTILAVY.js} +2 -2
  106. package/chunks/{foreground-runner-HGWI4TGE.js → foreground-runner-VMNIA55V.js} +17 -17
  107. package/chunks/{glob-IUWXVPTC.js → glob-E4PL2FJY.js} +9 -9
  108. package/chunks/{goal-tools-DVKESACD.js → goal-tools-UX6J7MMW.js} +9 -9
  109. package/chunks/{handleAutoUpdate-D47PMDR2.js → handleAutoUpdate-X3Q3Q3ZZ.js} +19 -19
  110. package/chunks/{i18n-VK4ONPDS.js → i18n-LAT3RPLP.js} +17 -17
  111. package/chunks/{initializer-SLEQZXKI.js → initializer-TSHTVKWG.js} +22 -22
  112. package/chunks/{installationInfo-D3EOUW3S.js → installationInfo-WWWJ2BSH.js} +17 -17
  113. package/chunks/{list-XENYQKI4.js → list-FEYX463Q.js} +24 -24
  114. package/chunks/{llm-235MXYRH.js → llm-DZ67ZBGE.js} +47 -47
  115. package/chunks/{llm-content-generator-HNUASHSO.js → llm-content-generator-LJFLHUI4.js} +4 -4
  116. package/chunks/{loadedSettingsAdapter-ZWRICMV5.js → loadedSettingsAdapter-PE4EHJAG.js} +22 -22
  117. package/chunks/{local-execution-environment-TBMR43QN.js → local-execution-environment-NVTEBXRI.js} +14 -14
  118. package/chunks/{loggingContentGenerator-5SFK5JSM.js → loggingContentGenerator-XYJSX5U7.js} +9 -9
  119. package/chunks/{managed-npm-update-OFVGDOMC.js → managed-npm-update-I4V2CZBT.js} +17 -17
  120. package/chunks/{mcp-XFCXGREW.js → mcp-RQRENAYR.js} +22 -22
  121. package/chunks/{model-call-collection-VUG7J3NU.js → model-call-collection-KMSHM63U.js} +1 -1
  122. package/chunks/{model-configuration-B372RNMH.js → model-configuration-AEZJTLZ2.js} +23 -23
  123. package/chunks/{modelConfigUtils-FCEGLU7S.js → modelConfigUtils-S3YKJBPJ.js} +19 -19
  124. package/chunks/{monitor-MQZGSK3U.js → monitor-5JZFPFXF.js} +9 -9
  125. package/chunks/{nonInteractiveCli-JTDVRG6F.js → nonInteractiveCli-G77J2SPF.js} +45 -45
  126. package/chunks/{nonInteractiveToolExecutor-ZBLSW6AM.js → nonInteractiveToolExecutor-CAF2D3IE.js} +10 -10
  127. package/chunks/{notebook-edit-VEAUBJF4.js → notebook-edit-KASVFOUZ.js} +10 -10
  128. package/chunks/{omni-JLFVT5LJ.js → omni-ZWYNO7DO.js} +9 -9
  129. package/chunks/{openaiContentGenerator-YSOVIFSI.js → openaiContentGenerator-6W7NNSML.js} +6 -6
  130. package/chunks/{openaiResponsesContentGenerator-NOXYV72W.js → openaiResponsesContentGenerator-YPVT5IPV.js} +4 -4
  131. package/chunks/{processUtils-4ZFBIJKQ.js → processUtils-B335BOHB.js} +2 -2
  132. package/chunks/{prompt-terminal-ledger-GWOO2XOE.js → prompt-terminal-ledger-SZPB5TQ7.js} +18 -18
  133. package/chunks/{reactive-degrade-XB7FIF3X.js → reactive-degrade-T3LRI72F.js} +8 -8
  134. package/chunks/{read-file-MYXO6WG2.js → read-file-WKMDZ4AA.js} +1 -1
  135. package/chunks/{resumeHistoryUtils-4YABJ2W6.js → resumeHistoryUtils-54CUO66A.js} +18 -18
  136. package/chunks/{ripGrep-N42SFIEK.js → ripGrep-C5LMCFOH.js} +1 -1
  137. package/chunks/{run-o1-code-serve-GHPD5FON.js → run-o1-code-serve-WA6DJOGP.js} +32 -32
  138. package/chunks/{sandboxConfig-DUQU5SG4.js → sandboxConfig-7COZTQZP.js} +17 -17
  139. package/chunks/{scheduled-tasks-SNKJ6ISO.js → scheduled-tasks-SVOYVXPL.js} +22 -22
  140. package/chunks/{scheduler-J2MSKJIV.js → scheduler-JB622CYT.js} +19 -19
  141. package/chunks/{serve-Q7BXL2DX.js → serve-ZQ4S5CZ6.js} +22 -22
  142. package/chunks/{server-SHQBDAIM.js → server-FEUPFXKE.js} +45 -45
  143. package/chunks/{session-ODKWRR2Y.js → session-KUQTUHIS.js} +1 -1
  144. package/chunks/{session-S5ZSKYYJ.js → session-ZKEPJVDM.js} +46 -46
  145. package/chunks/{session-attachments-root-VQVF6BLL.js → session-attachments-root-76MMYRJZ.js} +17 -17
  146. package/chunks/{session-pr-refresh-MRBRDXD5.js → session-pr-refresh-HMSBPUAT.js} +21 -21
  147. package/chunks/{settings-RET2MIBG.js → settings-37VAWY5T.js} +21 -21
  148. package/chunks/{shell-ZVQFEYOV.js → shell-P6FLTO46.js} +9 -9
  149. package/chunks/{skill-HT4CMN7L.js → skill-4E3KLKYE.js} +1 -1
  150. package/chunks/{skill-settings-5OSBR44T.js → skill-settings-2XSTQS7N.js} +21 -21
  151. package/chunks/{spawnChannel-76RUHLP7.js → spawnChannel-636YP5DD.js} +18 -18
  152. package/chunks/{standalone-update-JFQOUS2J.js → standalone-update-JIO6PT5Q.js} +18 -18
  153. package/chunks/{startInteractiveUI-KYRRQNAO.js → startInteractiveUI-PNQ24YTR.js} +75 -63
  154. package/chunks/{team-create-MLWM7MKV.js → team-create-DFCGOGXH.js} +9 -9
  155. package/chunks/{team-plan-approval-GQ6KJBVC.js → team-plan-approval-QGUMDHBR.js} +9 -9
  156. package/chunks/{terminal-image-renderer-ITYLCSZV.js → terminal-image-renderer-DSGAMRMC.js} +17 -17
  157. package/chunks/{theme-manager-UFQXM3TZ.js → theme-manager-FD5Z5E5S.js} +17 -17
  158. package/chunks/{tool-result-media-BHZ77TR7.js → tool-result-media-EEGRFXMA.js} +9 -9
  159. package/chunks/{tool-search-Q5GWK6PK.js → tool-search-NFNCJDE3.js} +1 -1
  160. package/chunks/{total-session-admission-DYLVTSU4.js → total-session-admission-ZM2EQYG3.js} +19 -19
  161. package/chunks/{trustedFolders-DRE45JZN.js → trustedFolders-DFB3QCCB.js} +18 -18
  162. package/chunks/{update-relaunch-JFJSG23K.js → update-relaunch-73MKVCSJ.js} +5 -5
  163. package/chunks/{updateCheck-QPAY3DCR.js → updateCheck-QB6J5MFF.js} +17 -17
  164. package/chunks/{upload-config-XDRUE443.js → upload-config-HYKEF2MB.js} +6 -6
  165. package/chunks/{useAutoAcceptIndicator-UTO44H4F.js → useAutoAcceptIndicator-IG5DFG7J.js} +24 -24
  166. package/chunks/{validateNonInterActiveAuth-TJ3KFHEJ.js → validateNonInterActiveAuth-2X2ENWCH.js} +43 -43
  167. package/chunks/{version-33244VHX.js → version-OJVLJFMR.js} +1 -1
  168. package/chunks/{web-fetch-VRDTLGRP.js → web-fetch-NCB23225.js} +1 -1
  169. package/chunks/{web-search-6F6NOULM.js → web-search-NA5AEA6Q.js} +7 -7
  170. package/chunks/{workflow-WGK3LBK7.js → workflow-TWXEI7ZN.js} +10 -10
  171. package/chunks/{workspace-providers-status-HQXYMCC3.js → workspace-providers-status-QVILUFRO.js} +26 -26
  172. package/chunks/{workspace-registration-store-EOVZQNKV.js → workspace-registration-store-V5DN7Z2M.js} +1 -1
  173. package/chunks/{workspace-registry-XKPZSLHV.js → workspace-registry-KDWRXKZV.js} +19 -19
  174. package/chunks/{workspace-runtime-coordinator-TKTVPDVU.js → workspace-runtime-coordinator-MDJUA5TU.js} +19 -19
  175. package/chunks/{workspace-service-N4BFDV6G.js → workspace-service-K465AJAX.js} +24 -24
  176. package/chunks/{workspace-skills-status-YQQLAK4G.js → workspace-skills-status-RUNJMWUV.js} +22 -22
  177. package/chunks/{workspace-trust-reconciler-ZC7VDG67.js → workspace-trust-reconciler-DCJ523JB.js} +24 -24
  178. package/chunks/{write-file-GVNER2DM.js → write-file-4G4KA5RN.js} +11 -11
  179. package/chunks/{zoom-image-BPNCUZEM.js → zoom-image-UPJRIJCG.js} +1 -1
  180. package/cli.js +14 -14
  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 +10 -0
  185. package/web-shell/assets/{abnfDiagram-VCTEODGH-QVIHVben.js → abnfDiagram-VCTEODGH-Dkrk74MS.js} +1 -1
  186. package/web-shell/assets/{arc-HeSDtNtX.js → arc-CnUa5VxI.js} +1 -1
  187. package/web-shell/assets/{architectureDiagram-5GKGNRK7-D_I5FvJb.js → architectureDiagram-5GKGNRK7-BRSOyYI6.js} +1 -1
  188. package/web-shell/assets/{blockDiagram-NRAW4CY4-BKXL9HCO.js → blockDiagram-NRAW4CY4-BbTkFWts.js} +1 -1
  189. package/web-shell/assets/{c4Diagram-UCG6FXSJ-B5Jkd4oE.js → c4Diagram-UCG6FXSJ-BXRx3VRL.js} +1 -1
  190. package/web-shell/assets/channel-BJm6co8h.js +1 -0
  191. package/web-shell/assets/{chunk-2Q5K7J3B-3md99-kU.js → chunk-2Q5K7J3B-yW4fzUWC.js} +1 -1
  192. package/web-shell/assets/{chunk-5VM5RSS4-Di-M-RXu.js → chunk-5VM5RSS4-C7j7gy3X.js} +1 -1
  193. package/web-shell/assets/{chunk-F27PBJKO-DOY-I6Dd.js → chunk-F27PBJKO-gg8Wggfc.js} +1 -1
  194. package/web-shell/assets/{chunk-G27WJ6UU-DNNAVfCN.js → chunk-G27WJ6UU-BIXiafrY.js} +1 -1
  195. package/web-shell/assets/{chunk-JWPE2WC7-B5XGKuWO.js → chunk-JWPE2WC7-CT4Zio6z.js} +1 -1
  196. package/web-shell/assets/{chunk-LCL6LL3I-BwYNRTvx.js → chunk-LCL6LL3I-B-4wf3Z6.js} +1 -1
  197. package/web-shell/assets/{chunk-POPQ4Y6H-By9QdsQ1.js → chunk-POPQ4Y6H-C-hsbjMq.js} +1 -1
  198. package/web-shell/assets/{chunk-SVP7TREG-BGjyhznR.js → chunk-SVP7TREG-esRKmQXQ.js} +1 -1
  199. package/web-shell/assets/{chunk-XXDRQBXY-CKKDILBw.js → chunk-XXDRQBXY-DldWZluv.js} +1 -1
  200. package/web-shell/assets/classDiagram-DTDB5LWJ-BEYla04O.js +1 -0
  201. package/web-shell/assets/classDiagram-v2-JRS7N3AN-BEYla04O.js +1 -0
  202. package/web-shell/assets/{cose-bilkent-JH36ORCC-YQbJHk--.js → cose-bilkent-JH36ORCC-Cg_Hkegg.js} +1 -1
  203. package/web-shell/assets/{cynefin-OW5HDTMX-6utxwbDX.js → cynefin-OW5HDTMX-BD4NjKO1.js} +1 -1
  204. package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-CrzTLIFr.js → cynefinDiagram-5FMLGOSQ-7OiuFm2e.js} +1 -1
  205. package/web-shell/assets/{dagre-3AP2YEHR-BqiPJTip.js → dagre-3AP2YEHR-BY2cDSvK.js} +1 -1
  206. package/web-shell/assets/{diagram-S7CK7UJ4-B4aWqB6r.js → diagram-S7CK7UJ4-DcQpei6o.js} +1 -1
  207. package/web-shell/assets/{diagram-UQ7AKVKN-BcW4bS0g.js → diagram-UQ7AKVKN-CSOpgeLd.js} +1 -1
  208. package/web-shell/assets/{diagram-VSXAHHWV-I5qM5dXO.js → diagram-VSXAHHWV-BIxEPq8f.js} +1 -1
  209. package/web-shell/assets/{diagram-VX7I27RA-Dr1Wg8Nh.js → diagram-VX7I27RA-Mulf5VDd.js} +1 -1
  210. package/web-shell/assets/{diagram-Z3DM3KII-kpc3Cdmi.js → diagram-Z3DM3KII-oTPPUV-h.js} +1 -1
  211. package/web-shell/assets/{ebnfDiagram-PWID7BFC-Qr5d683c.js → ebnfDiagram-PWID7BFC-BsncOXfu.js} +1 -1
  212. package/web-shell/assets/{erDiagram-SSCWMZ5O-11wRwAq6.js → erDiagram-SSCWMZ5O-DkxQVTV8.js} +1 -1
  213. package/web-shell/assets/{flowDiagram-A5DVABFB-BBtmjnHw.js → flowDiagram-A5DVABFB-YUsa6wZO.js} +1 -1
  214. package/web-shell/assets/{ganttDiagram-EL5Y4UJY-BuWA227g.js → ganttDiagram-EL5Y4UJY-Cnqm7Bik.js} +1 -1
  215. package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-zEacadOI.js → gitGraphDiagram-WWUBYQGX-Dd8e40AY.js} +1 -1
  216. package/web-shell/assets/{index-eoasfO-_.js → index-CZCfLqp_.js} +3 -3
  217. package/web-shell/assets/{index-BLfPs37u.js → index-DDT8pqbp.js} +1 -1
  218. package/web-shell/assets/{infoDiagram-RXCK75RN-CJLlk-aS.js → infoDiagram-RXCK75RN-8MF9FKjM.js} +1 -1
  219. package/web-shell/assets/{ishikawaDiagram-5VMMS53U-Ce4-E7pl.js → ishikawaDiagram-5VMMS53U-DQ-ktH4y.js} +1 -1
  220. package/web-shell/assets/{journeyDiagram-EYS64GPL-rpLzgKwk.js → journeyDiagram-EYS64GPL-BCHFI2vN.js} +1 -1
  221. package/web-shell/assets/{kanban-definition-3QL26DDD-DGWRaznM.js → kanban-definition-3QL26DDD-DWzXuuVu.js} +1 -1
  222. package/web-shell/assets/{layout-B17Lv_4u.js → layout-I40DGxKz.js} +1 -1
  223. package/web-shell/assets/{linear-BrPWHlS0.js → linear-CJ4Hss20.js} +1 -1
  224. package/web-shell/assets/{mermaid.core-ByC87DJ9.js → mermaid.core-CyYLnEfA.js} +6 -6
  225. package/web-shell/assets/{mindmap-definition-FBJOCRG2-CNKHZgFE.js → mindmap-definition-FBJOCRG2-C6DKnyuH.js} +1 -1
  226. package/web-shell/assets/{pegDiagram-XKGWAZYB-BpMdvLHx.js → pegDiagram-XKGWAZYB-zomV7Ng0.js} +1 -1
  227. package/web-shell/assets/{pieDiagram-E7YTZNPT-ZP1q6vhT.js → pieDiagram-E7YTZNPT-CO-uix-_.js} +1 -1
  228. package/web-shell/assets/{quadrantDiagram-AXDQQJYC-DTJjsdRJ.js → quadrantDiagram-AXDQQJYC-Dg1whrAZ.js} +1 -1
  229. package/web-shell/assets/{railroadDiagram-O6MQD6OU-Vo57z9nn.js → railroadDiagram-O6MQD6OU-cHZU3Gch.js} +1 -1
  230. package/web-shell/assets/{requirementDiagram-EFPCY7ZU-5v9CHUNi.js → requirementDiagram-EFPCY7ZU-C6DsWhMZ.js} +1 -1
  231. package/web-shell/assets/{sankeyDiagram-P5KCCOFB-B4ytHeb2.js → sankeyDiagram-P5KCCOFB-C9ILyOS0.js} +1 -1
  232. package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-BtAGDC6P.js → sequenceDiagram-WJ2MYXX4-CVvYgJCg.js} +1 -1
  233. package/web-shell/assets/{sizeCapture-X5ZJPWSS-koyIRNTi.js → sizeCapture-X5ZJPWSS-B8TDIlSl.js} +1 -1
  234. package/web-shell/assets/{stateDiagram-HBIQ2CUA--Bodqds1.js → stateDiagram-HBIQ2CUA-CTKxsECh.js} +1 -1
  235. package/web-shell/assets/stateDiagram-v2-4QOOHH4V-DV77q__d.js +1 -0
  236. package/web-shell/assets/{swimlanes-XN3QIQJK-3gBI7yd-.js → swimlanes-XN3QIQJK-Blfs3x7y.js} +1 -1
  237. package/web-shell/assets/swimlanesDiagram-VK2B7HYN-gVyWcYvC.js +8 -0
  238. package/web-shell/assets/{timeline-definition-24CTP7MA-BeGu_igm.js → timeline-definition-24CTP7MA-D-VBOqpM.js} +1 -1
  239. package/web-shell/assets/{vennDiagram-4TSXK5OY-DB0WBhoy.js → vennDiagram-4TSXK5OY-BXfVcLxa.js} +1 -1
  240. package/web-shell/assets/{wardleyDiagram-VM6X3IG4-Chxqpe3U.js → wardleyDiagram-VM6X3IG4-B7kNnroZ.js} +1 -1
  241. package/web-shell/assets/{xychartDiagram-S5SC5T6Z-TUtDjE94.js → xychartDiagram-S5SC5T6Z-CQxBdR6i.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-20DJgRrz.js +0 -1
  245. package/web-shell/assets/classDiagram-DTDB5LWJ-DinjQJbT.js +0 -1
  246. package/web-shell/assets/classDiagram-v2-JRS7N3AN-DinjQJbT.js +0 -1
  247. package/web-shell/assets/stateDiagram-v2-4QOOHH4V-DwGeiXkz.js +0 -1
  248. package/web-shell/assets/swimlanesDiagram-VK2B7HYN-BbsoU5-o.js +0 -8
@@ -24,11 +24,11 @@ import {
24
24
  import {
25
25
  isGoalCheckpointBookkeepingRecord,
26
26
  projectGoalCard
27
- } from "./chunk-LKJ6DRM4.js";
27
+ } from "./chunk-AZ4ZCY3E.js";
28
28
  import {
29
29
  observeToolResultBoundary,
30
30
  toolResultBoundaryArtifact
31
- } from "./chunk-QHYBO45R.js";
31
+ } from "./chunk-TEEKFZLV.js";
32
32
  import {
33
33
  isShellResultDisplay
34
34
  } from "./chunk-GYGA6V6B.js";
@@ -2598,7 +2598,7 @@ async function collectSessionMetadata(conversation, config) {
2598
2598
  const gitBranch = firstRecord?.gitBranch;
2599
2599
  let gitRepo;
2600
2600
  if (cwd) {
2601
- const { getGitRepoName } = await import("./deferred-core-runtime-YK6ZHJAZ.js");
2601
+ const { getGitRepoName } = await import("./deferred-core-runtime-2UIGRE2M.js");
2602
2602
  gitRepo = getGitRepoName(cwd);
2603
2603
  }
2604
2604
  let model;
@@ -3432,7 +3432,7 @@ var DOCUMENT_HTML_TEMPLATE = `<!doctype html>
3432
3432
  id="transcript-stylesheet"
3433
3433
  integrity="sha384-DkkBecJJXAdM7Uh0aAtW9u+3GGsRZGQ2WWxcUeV708Ta1crkjmeaM4Ko4yZmaiAx"
3434
3434
  crossorigin="anonymous"
3435
- href="https://unpkg.com/@organizaone/o1-code@0.21.6/export-transcript-document.css"
3435
+ href="https://unpkg.com/@organizaone/o1-code@0.21.8/export-transcript-document.css"
3436
3436
  />
3437
3437
  </head>
3438
3438
  <body>
@@ -3486,14 +3486,14 @@ var DOCUMENT_HTML_TEMPLATE = `<!doctype html>
3486
3486
  <script
3487
3487
  nonce="__EXPORT_NONCE__"
3488
3488
  id="transcript-renderer"
3489
- integrity="sha384-3At4PjCceCZuGYKvvUI2l+MhPf23CPneK5/lX/Zr+cNvQY3am//x+Vce4CRY9Ap8"
3489
+ integrity="sha384-tGfjrirpBeIRoBdIXA6SB8qk8A1AUdA9ta5U5UgvGCMH6JMb3++TdQ+Gp+ij1dMc"
3490
3490
  crossorigin="anonymous"
3491
- src="https://unpkg.com/@organizaone/o1-code@0.21.6/export-transcript-document.js"
3491
+ src="https://unpkg.com/@organizaone/o1-code@0.21.8/export-transcript-document.js"
3492
3492
  ></script>
3493
3493
  </body>
3494
3494
  </html>
3495
3495
  `;
3496
- var EXPORT_TRANSCRIPT_RENDERER_VERSION = "0.21.6+53c96fdce3ef8bda";
3496
+ var EXPORT_TRANSCRIPT_RENDERER_VERSION = "0.21.8+53c96fdce3ef8bda";
3497
3497
  var EXPORT_TRANSCRIPT_RENDERER_LIMITS = Object.freeze({
3498
3498
  maxBlocks: 1e3,
3499
3499
  maxEnvelopeBytes: 33554432
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
  import {
4
4
  AuthType
5
- } from "./chunk-CBRWGS6L.js";
5
+ } from "./chunk-PHD4B34J.js";
6
6
  import {
7
7
  init_esbuild_shims
8
8
  } from "./chunk-S2467S6L.js";
@@ -2,14 +2,14 @@
2
2
  "use strict";
3
3
  import {
4
4
  publicProviderBaseUrl
5
- } from "./chunk-HP2MUSSA.js";
5
+ } from "./chunk-A32TOFXI.js";
6
6
  import {
7
7
  getWritableScopes
8
- } from "./chunk-QKSXLP4U.js";
8
+ } from "./chunk-7W6HMRGG.js";
9
9
  import {
10
10
  isImageGenerationCapable,
11
11
  tryResolveModelProtocol
12
- } from "./chunk-GPI2PYEY.js";
12
+ } from "./chunk-O7OCJ6MQ.js";
13
13
  import {
14
14
  init_esbuild_shims
15
15
  } from "./chunk-S2467S6L.js";
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-SU6K5JRJ.js";
12
12
  import {
13
13
  loadSettings
14
- } from "./chunk-QKSXLP4U.js";
14
+ } from "./chunk-7W6HMRGG.js";
15
15
  import {
16
16
  resolveLanguage,
17
17
  resolveLanguageSetting
@@ -22,7 +22,7 @@ import {
22
22
  SkillManager,
23
23
  getExtensionDisplayName,
24
24
  isSafeModeEnv
25
- } from "./chunk-QHYBO45R.js";
25
+ } from "./chunk-TEEKFZLV.js";
26
26
  import {
27
27
  authoredSkillName,
28
28
  qualifySkillName
@@ -75,7 +75,7 @@ async function runExitCleanupPass(options) {
75
75
  }
76
76
  __name(runExitCleanupPass, "runExitCleanupPass");
77
77
  async function cleanupCheckpoints() {
78
- const { Storage } = await import("./deferred-core-runtime-YK6ZHJAZ.js");
78
+ const { Storage } = await import("./deferred-core-runtime-2UIGRE2M.js");
79
79
  const storage = new Storage(process.cwd());
80
80
  const tempDir = storage.getProjectTempDir();
81
81
  const checkpointsDir = join(tempDir, "checkpoints");
@@ -8,23 +8,23 @@ import {
8
8
  } from "./chunk-INGWSCK5.js";
9
9
  import {
10
10
  NotebookEditTool
11
- } from "./chunk-RRF47RKY.js";
11
+ } from "./chunk-S2B2454D.js";
12
12
  import {
13
13
  TaskStopTool
14
14
  } from "./chunk-3YBMUB43.js";
15
15
  import {
16
16
  WriteFileTool
17
- } from "./chunk-D43CSOUB.js";
17
+ } from "./chunk-N7R6Z4QV.js";
18
18
  import {
19
19
  EditTool
20
- } from "./chunk-IU2TBZ2X.js";
20
+ } from "./chunk-KXCRSEZN.js";
21
21
  import {
22
22
  GlobTool
23
23
  } from "./chunk-IVVMETSX.js";
24
24
  import {
25
25
  ShellTool,
26
26
  isModifiableDeclarativeTool
27
- } from "./chunk-QHYBO45R.js";
27
+ } from "./chunk-TEEKFZLV.js";
28
28
  import {
29
29
  ReadFileTool
30
30
  } from "./chunk-ASQLIG2L.js";
@@ -2,12 +2,12 @@
2
2
  "use strict";
3
3
  import {
4
4
  ACP_ROUTE_ID_PREFIX
5
- } from "./chunk-HP2MUSSA.js";
5
+ } from "./chunk-A32TOFXI.js";
6
6
  import {
7
7
  getEffectiveReasoning,
8
8
  isOpenRouterHostname,
9
9
  resolveReasoningForModel
10
- } from "./chunk-3R27XP5U.js";
10
+ } from "./chunk-HIGJHRG5.js";
11
11
  import {
12
12
  REASONING_EFFORT_TIERS,
13
13
  clampReasoningEffort,
@@ -4,19 +4,19 @@ import {
4
4
  buildScheduledTaskRunPrompt,
5
5
  scheduledTaskRunSessionName,
6
6
  scheduledTaskRunSourceId
7
- } from "./chunk-PPLCTPML.js";
7
+ } from "./chunk-PWCTX66B.js";
8
8
  import {
9
9
  parseCallerSuppliedSessionId
10
10
  } from "./chunk-KQCQCJBL.js";
11
11
  import {
12
12
  createSessionOrganizationService
13
- } from "./chunk-HAT42FVU.js";
13
+ } from "./chunk-2C5GYVPR.js";
14
14
  import {
15
15
  isInternalWorkspaceRuntime
16
16
  } from "./chunk-H4HNRIFK.js";
17
17
  import {
18
18
  SCHEDULED_TASK_RUN_SOURCE_TYPE
19
- } from "./chunk-CPGGUGTZ.js";
19
+ } from "./chunk-A6445NIL.js";
20
20
  import {
21
21
  SessionNotFoundError
22
22
  } from "./chunk-HLQLPLTQ.js";
@@ -29,7 +29,7 @@ import {
29
29
  import {
30
30
  SessionService,
31
31
  stripTerminalControlSequences
32
- } from "./chunk-QHYBO45R.js";
32
+ } from "./chunk-TEEKFZLV.js";
33
33
  import {
34
34
  MAX_JOBS,
35
35
  nextDurableFireMs
@@ -2,16 +2,16 @@
2
2
  "use strict";
3
3
  import {
4
4
  sanitizeProviderBaseUrl
5
- } from "./chunk-HP2MUSSA.js";
5
+ } from "./chunk-A32TOFXI.js";
6
6
  import {
7
7
  resolveModelConfig
8
- } from "./chunk-QHYBO45R.js";
8
+ } from "./chunk-TEEKFZLV.js";
9
9
  import {
10
10
  resolveModelSelectionAuthType,
11
11
  resolveProviderProtocol,
12
12
  stripRuntimeSnapshotPrefix,
13
13
  tryResolveModelProtocol
14
- } from "./chunk-GPI2PYEY.js";
14
+ } from "./chunk-O7OCJ6MQ.js";
15
15
  import {
16
16
  REASONING_EFFORT_TIERS,
17
17
  normalizeReasoningEffort
@@ -19,7 +19,7 @@ import {
19
19
  import {
20
20
  AuthType,
21
21
  MODEL_GENERATION_CONFIG_FIELDS
22
- } from "./chunk-CBRWGS6L.js";
22
+ } from "./chunk-PHD4B34J.js";
23
23
  import {
24
24
  init_esbuild_shims
25
25
  } from "./chunk-S2467S6L.js";
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-TESN7CJW.js";
12
12
  import {
13
13
  resolveSavedModelApiKey
14
- } from "./chunk-GPI2PYEY.js";
14
+ } from "./chunk-O7OCJ6MQ.js";
15
15
  import {
16
16
  createDebugLogger
17
17
  } from "./chunk-UK2KIU2V.js";
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  customDeepMerge,
9
9
  getSettingsSchema
10
- } from "./chunk-PTIMDYCI.js";
10
+ } from "./chunk-OGJ4MVXX.js";
11
11
  import {
12
12
  CONSOLIDATED_DISABLE_KEYS,
13
13
  V1_INDICATOR_KEYS,
@@ -26,7 +26,7 @@ import {
26
26
  getHomeEnvFallbackVars,
27
27
  loadEnvironment,
28
28
  preResolveHomeEnvOverrides
29
- } from "./chunk-DBUZFCC5.js";
29
+ } from "./chunk-VGMNG7VW.js";
30
30
  import {
31
31
  ENV_CORRUPTED_PATH,
32
32
  ENV_WAS_RECOVERED
@@ -45,7 +45,7 @@ import {
45
45
  import {
46
46
  isWorkspaceTrusted,
47
47
  updateSettingsFilePreservingFormat
48
- } from "./chunk-IPS3SOM7.js";
48
+ } from "./chunk-SMO5AGRH.js";
49
49
  import {
50
50
  require_strip_json_comments
51
51
  } from "./chunk-YCZIOHKD.js";
@@ -55,7 +55,7 @@ import {
55
55
  import {
56
56
  exportSavedCredentials,
57
57
  stripRuntimeSnapshotPrefix
58
- } from "./chunk-GPI2PYEY.js";
58
+ } from "./chunk-O7OCJ6MQ.js";
59
59
  import {
60
60
  createDebugLogger
61
61
  } from "./chunk-UK2KIU2V.js";
@@ -2,10 +2,10 @@
2
2
  "use strict";
3
3
  import {
4
4
  external_exports
5
- } from "./chunk-QHYBO45R.js";
5
+ } from "./chunk-TEEKFZLV.js";
6
6
  import {
7
7
  AuthType
8
- } from "./chunk-CBRWGS6L.js";
8
+ } from "./chunk-PHD4B34J.js";
9
9
  import {
10
10
  init_esbuild_shims
11
11
  } from "./chunk-S2467S6L.js";
@@ -73,7 +73,7 @@ import {
73
73
  RequestError,
74
74
  channelFactoryForwardsChildEnv,
75
75
  defaultSpawnChannelFactory
76
- } from "./chunk-LRHG3HEE.js";
76
+ } from "./chunk-WIYLWOCP.js";
77
77
  import {
78
78
  EXTERNAL_TOOL_GUARD_READY_META_KEY,
79
79
  EXTERNAL_TOOL_GUARD_REQUIRED_VALUE,
@@ -145,7 +145,7 @@ import {
145
145
  canonicalSessionPrUrl,
146
146
  normalizeTurnResultError,
147
147
  toSessionPrInfo
148
- } from "./chunk-QHYBO45R.js";
148
+ } from "./chunk-TEEKFZLV.js";
149
149
  import {
150
150
  isUnverifiableIdentityError,
151
151
  openNoFollow
@@ -2,16 +2,16 @@
2
2
  "use strict";
3
3
  import {
4
4
  loadSettings
5
- } from "./chunk-QKSXLP4U.js";
5
+ } from "./chunk-7W6HMRGG.js";
6
6
  import {
7
7
  getCurrentLanguage
8
8
  } from "./chunk-TADRPMGC.js";
9
9
  import {
10
10
  isWorkspaceTrusted
11
- } from "./chunk-IPS3SOM7.js";
11
+ } from "./chunk-SMO5AGRH.js";
12
12
  import {
13
13
  hashMcpServerConfig
14
- } from "./chunk-LKJ6DRM4.js";
14
+ } from "./chunk-AZ4ZCY3E.js";
15
15
  import {
16
16
  require_strip_json_comments
17
17
  } from "./chunk-YCZIOHKD.js";
@@ -25,7 +25,7 @@ import {
25
25
  isGatedMcpScope,
26
26
  normalizeClaudeMcpServer,
27
27
  runWithTimeout
28
- } from "./chunk-QHYBO45R.js";
28
+ } from "./chunk-TEEKFZLV.js";
29
29
  import {
30
30
  getMCPServerLastError,
31
31
  getMCPServerStatus
@@ -76,7 +76,7 @@ import {
76
76
  stripToolResultImages,
77
77
  toolResultBoundaryArtifact,
78
78
  toolResultPartDiagnosticValues
79
- } from "./chunk-QHYBO45R.js";
79
+ } from "./chunk-TEEKFZLV.js";
80
80
  import {
81
81
  shellResultText
82
82
  } from "./chunk-GYGA6V6B.js";
@@ -141,7 +141,7 @@ import {
141
141
  } from "./chunk-OHAUN3Q5.js";
142
142
  import {
143
143
  o1CodeUserAgent
144
- } from "./chunk-2GNSB3MV.js";
144
+ } from "./chunk-JOUK4R23.js";
145
145
  import {
146
146
  fetchWithPolicy
147
147
  } from "./chunk-TC2TJAOF.js";
@@ -197,11 +197,12 @@ import {
197
197
  atomicWriteJSON
198
198
  } from "./chunk-EPJAMNLS.js";
199
199
  import {
200
+ BRAND,
200
201
  ORGANIZAONE_CLIENT_HEADERS,
201
202
  getModelsForProviderProtocol,
202
203
  isOrganizaOneBaseUrl,
203
204
  tryResolveModelProtocol
204
- } from "./chunk-GPI2PYEY.js";
205
+ } from "./chunk-O7OCJ6MQ.js";
205
206
  import {
206
207
  REASONING_EFFORT_TIERS,
207
208
  isReasoningEffort
@@ -7982,6 +7983,84 @@ import * as process2 from "node:process";
7982
7983
  import * as path9 from "node:path";
7983
7984
  import * as fs7 from "node:fs";
7984
7985
  import * as os3 from "node:os";
7986
+
7987
+ // packages/core/src/ide/companion-release.ts
7988
+ init_esbuild_shims();
7989
+ import { createHash as createHash2 } from "node:crypto";
7990
+ import { mkdtemp, writeFile, rm } from "node:fs/promises";
7991
+ import { tmpdir } from "node:os";
7992
+ import { join as join7 } from "node:path";
7993
+ var DOWNLOAD_HOSTS = /* @__PURE__ */ new Set([
7994
+ "github.com",
7995
+ "release-assets.githubusercontent.com",
7996
+ "objects.githubusercontent.com"
7997
+ ]);
7998
+ async function download(url, maxBytes) {
7999
+ const controller = new AbortController();
8000
+ const timer = setTimeout(() => controller.abort(), 12e4);
8001
+ try {
8002
+ for (let redirects = 0; redirects <= 5; redirects++) {
8003
+ const target = new URL(url);
8004
+ if (target.protocol !== "https:" || target.username || target.password || !DOWNLOAD_HOSTS.has(target.hostname) || target.port && target.port !== "443") {
8005
+ throw new Error("Unexpected companion download redirect.");
8006
+ }
8007
+ const result = await fetchWithPolicy(url, {
8008
+ timeoutMs: 12e4,
8009
+ maxBytes,
8010
+ maxRedirects: 5,
8011
+ signal: controller.signal
8012
+ });
8013
+ if (result.kind === "cross-host-redirect") {
8014
+ url = result.redirectUrl;
8015
+ continue;
8016
+ }
8017
+ if (result.status !== 200)
8018
+ throw new Error(`Companion download failed: HTTP ${result.status}.`);
8019
+ return result.body;
8020
+ }
8021
+ throw new Error("Too many companion download redirects.");
8022
+ } finally {
8023
+ clearTimeout(timer);
8024
+ }
8025
+ }
8026
+ __name(download, "download");
8027
+ async function downloadCompanionVsix(version, platform2 = process.platform, arch2 = process.arch) {
8028
+ if (!/^\d+\.\d+\.\d+$/.test(version)) {
8029
+ throw new Error(
8030
+ "A valid CLI release version is required to install the companion."
8031
+ );
8032
+ }
8033
+ if (!["win32", "darwin", "linux"].includes(platform2) || !["x64", "arm64"].includes(arch2) || platform2 === "linux" && arch2 !== "x64") {
8034
+ throw new Error(
8035
+ `Companion releases are unavailable for ${platform2}-${arch2}.`
8036
+ );
8037
+ }
8038
+ const name = `o1-code-vscode-ide-companion-${version}-${platform2}-${arch2}.vsix`;
8039
+ const url = `${BRAND.repoUrl}/releases/download/v${version}/${name}`;
8040
+ const checksumText = (await download(`${url}.sha256`, 1024)).toString("utf8").trim();
8041
+ const checksum = checksumText.split(/\s+/)[0];
8042
+ if (!/^[a-f0-9]{64}$/i.test(checksum))
8043
+ throw new Error("Invalid companion checksum file.");
8044
+ const bytes = await download(url, 128 * 1024 * 1024);
8045
+ if (createHash2("sha256").update(bytes).digest("hex") !== checksum.toLowerCase()) {
8046
+ throw new Error("Companion checksum verification failed.");
8047
+ }
8048
+ if (bytes.length < 4 || bytes.readUInt32LE(0) !== 67324752)
8049
+ throw new Error("Invalid companion VSIX archive.");
8050
+ const directory = await mkdtemp(join7(tmpdir(), "o1-code-companion-"));
8051
+ const cleanup = /* @__PURE__ */ __name(() => rm(directory, { recursive: true, force: true }), "cleanup");
8052
+ const path20 = join7(directory, name);
8053
+ try {
8054
+ await writeFile(path20, bytes);
8055
+ return { path: path20, cleanup };
8056
+ } catch (error) {
8057
+ await cleanup();
8058
+ throw error;
8059
+ }
8060
+ }
8061
+ __name(downloadCompanionVsix, "downloadCompanionVsix");
8062
+
8063
+ // packages/core/src/ide/ide-installer.ts
7985
8064
  function getVsCodeCommand(platform2 = process2.platform) {
7986
8065
  return platform2 === "win32" ? "code.cmd" : "code";
7987
8066
  }
@@ -8044,9 +8123,10 @@ async function findVsCodeCommand(platform2 = process2.platform) {
8044
8123
  }
8045
8124
  __name(findVsCodeCommand, "findVsCodeCommand");
8046
8125
  var VsCodeInstaller = class {
8047
- constructor(ideInfo, platform2 = process2.platform) {
8126
+ constructor(ideInfo, platform2 = process2.platform, version) {
8048
8127
  this.ideInfo = ideInfo;
8049
8128
  this.platform = platform2;
8129
+ this.version = version;
8050
8130
  this.vsCodeCommand = findVsCodeCommand(platform2);
8051
8131
  }
8052
8132
  static {
@@ -8058,42 +8138,62 @@ var VsCodeInstaller = class {
8058
8138
  if (!commandPath) {
8059
8139
  return {
8060
8140
  success: false,
8061
- message: `${this.ideInfo.displayName} CLI not found. Please ensure 'code' is in your system's PATH. For help, see https://code.visualstudio.com/docs/configure/command-line#_code-is-not-recognized-as-an-internal-or-external-command. You can also install the '${O1CODE_COMPANION_EXTENSION_NAME}' extension manually from the VS Code marketplace.`
8141
+ message: `${this.ideInfo.displayName} CLI not found. Please ensure 'code' is in your system's PATH. You can also install '${O1CODE_COMPANION_EXTENSION_NAME}' from a VSIX at ${BRAND.repoUrl}/releases.`
8062
8142
  };
8063
8143
  }
8064
- const isWindows = process2.platform === "win32";
8144
+ const isWindows = this.platform === "win32";
8145
+ let archive;
8065
8146
  try {
8066
- const result = child_process.spawnSync(
8067
- isWindows ? `"${commandPath}"` : commandPath,
8068
- [
8069
- "--install-extension",
8070
- "organizaone.o1-code-vscode-ide-companion",
8071
- "--force"
8072
- ],
8073
- { stdio: "pipe", shell: isWindows }
8147
+ archive = await downloadCompanionVsix(
8148
+ this.version ?? "",
8149
+ this.platform,
8150
+ process2.arch
8074
8151
  );
8075
- if (result.status !== 0) {
8076
- throw new Error(
8077
- `Failed to install extension: ${result.stderr?.toString()}`
8152
+ const archivePath = archive.path;
8153
+ await new Promise((resolve8, reject) => {
8154
+ child_process.execFile(
8155
+ isWindows ? `"${commandPath}"` : commandPath,
8156
+ [
8157
+ "--install-extension",
8158
+ isWindows ? `"${archivePath}"` : archivePath,
8159
+ "--force"
8160
+ ],
8161
+ {
8162
+ shell: isWindows,
8163
+ windowsHide: true,
8164
+ timeout: 12e4,
8165
+ maxBuffer: 1024 * 1024
8166
+ },
8167
+ (error, stdout, stderr) => {
8168
+ if (error)
8169
+ reject(
8170
+ new Error(
8171
+ (stderr?.toString().trim() || stdout?.toString().trim() || error.message).slice(0, 1e3)
8172
+ )
8173
+ );
8174
+ else resolve8();
8175
+ }
8078
8176
  );
8079
- }
8177
+ });
8080
8178
  return {
8081
8179
  success: true,
8082
8180
  message: `${this.ideInfo.displayName} companion extension was installed successfully.`
8083
8181
  };
8084
- } catch (_error) {
8182
+ } catch (error) {
8085
8183
  return {
8086
8184
  success: false,
8087
- message: `Failed to install ${this.ideInfo.displayName} companion extension. Please try installing '${O1CODE_COMPANION_EXTENSION_NAME}' manually from the ${this.ideInfo.displayName} extension marketplace.`
8185
+ message: `Failed to install ${this.ideInfo.displayName} companion extension: ${error instanceof Error ? error.message : String(error)} Download the matching VSIX from GitHub: ${BRAND.repoUrl}/releases.`
8088
8186
  };
8187
+ } finally {
8188
+ await archive?.cleanup().catch(() => void 0);
8089
8189
  }
8090
8190
  }
8091
8191
  };
8092
- function getIdeInstaller(ide, platform2 = process2.platform) {
8192
+ function getIdeInstaller(ide, platform2 = process2.platform, version) {
8093
8193
  switch (ide.name) {
8094
8194
  case IDE_DEFINITIONS.vscode.name:
8095
8195
  case IDE_DEFINITIONS.firebasestudio.name:
8096
- return new VsCodeInstaller(ide, platform2);
8196
+ return new VsCodeInstaller(ide, platform2, version);
8097
8197
  default:
8098
8198
  return null;
8099
8199
  }
@@ -8161,7 +8261,7 @@ var CODE_ACTION_KIND_LABELS = {
8161
8261
 
8162
8262
  // packages/core/src/lsp/configHash.ts
8163
8263
  init_esbuild_shims();
8164
- import { createHash as createHash2 } from "node:crypto";
8264
+ import { createHash as createHash3 } from "node:crypto";
8165
8265
 
8166
8266
  // packages/core/src/lsp/sort-json-value.ts
8167
8267
  init_esbuild_shims();
@@ -8202,7 +8302,7 @@ function lspServerConfigHash(config) {
8202
8302
  socket: config.socket
8203
8303
  };
8204
8304
  const stableConfig = sortJsonValue(hashInput);
8205
- return createHash2("sha256").update(JSON.stringify(stableConfig)).digest("hex");
8305
+ return createHash3("sha256").update(JSON.stringify(stableConfig)).digest("hex");
8206
8306
  }
8207
8307
  __name(lspServerConfigHash, "lspServerConfigHash");
8208
8308
 
@@ -10909,7 +11009,7 @@ init_esbuild_shims();
10909
11009
  import * as path12 from "path";
10910
11010
  import { fileURLToPath, pathToFileURL as pathToFileURL3 } from "url";
10911
11011
  import * as fs9 from "node:fs";
10912
- import { createHash as createHash3, createHmac, randomBytes as randomBytes3 } from "node:crypto";
11012
+ import { createHash as createHash4, createHmac, randomBytes as randomBytes3 } from "node:crypto";
10913
11013
  import { promises as fsp } from "node:fs";
10914
11014
  var debugLogger18 = createDebugLogger("LSP");
10915
11015
  var LANGUAGE_ID_TO_EXTENSIONS = {
@@ -11998,7 +12098,7 @@ var NativeLspService = class {
11998
12098
  const snapshot = snapshots.get(item.uri);
11999
12099
  let digest = this.snapshotDigests.get(snapshot);
12000
12100
  if (!digest) {
12001
- digest = createHash3("sha256").update(snapshot.text).digest("hex");
12101
+ digest = createHash4("sha256").update(snapshot.text).digest("hex");
12002
12102
  this.snapshotDigests.set(snapshot, digest);
12003
12103
  }
12004
12104
  return createHmac("sha256", secret).update(
@@ -12920,18 +13020,18 @@ __name(getFilterReason, "getFilterReason");
12920
13020
 
12921
13021
  // packages/core/src/followup/overlayFs.ts
12922
13022
  init_esbuild_shims();
12923
- import { mkdir as mkdir3, copyFile, rm } from "node:fs/promises";
13023
+ import { mkdir as mkdir3, copyFile, rm as rm2 } from "node:fs/promises";
12924
13024
  import { existsSync as existsSync3 } from "node:fs";
12925
- import { join as join9, dirname as dirname5, relative, isAbsolute as isAbsolute5 } from "node:path";
12926
- import { tmpdir } from "node:os";
13025
+ import { join as join10, dirname as dirname5, relative, isAbsolute as isAbsolute5 } from "node:path";
13026
+ import { tmpdir as tmpdir2 } from "node:os";
12927
13027
  import { randomUUID } from "node:crypto";
12928
13028
  var OverlayFs = class {
12929
13029
  // relPath -> overlayPath
12930
13030
  constructor(realCwd) {
12931
13031
  this.realCwd = realCwd;
12932
13032
  const id = randomUUID().slice(0, 8);
12933
- this.overlayDir = join9(
12934
- tmpdir(),
13033
+ this.overlayDir = join10(
13034
+ tmpdir2(),
12935
13035
  "o1-code-speculation",
12936
13036
  String(process.pid),
12937
13037
  id
@@ -12969,9 +13069,9 @@ var OverlayFs = class {
12969
13069
  if (this.writtenFiles.has(rel)) {
12970
13070
  return this.writtenFiles.get(rel);
12971
13071
  }
12972
- const overlayPath = join9(this.overlayDir, rel);
13072
+ const overlayPath = join10(this.overlayDir, rel);
12973
13073
  await mkdir3(dirname5(overlayPath), { recursive: true });
12974
- const originalPath = join9(this.realCwd, rel);
13074
+ const originalPath = join10(this.realCwd, rel);
12975
13075
  if (existsSync3(originalPath)) {
12976
13076
  try {
12977
13077
  await copyFile(originalPath, overlayPath);
@@ -12994,7 +13094,7 @@ var OverlayFs = class {
12994
13094
  async applyToReal() {
12995
13095
  const applied = [];
12996
13096
  for (const [rel, overlayPath] of this.writtenFiles) {
12997
- const realPath = join9(this.realCwd, rel);
13097
+ const realPath = join10(this.realCwd, rel);
12998
13098
  try {
12999
13099
  await mkdir3(dirname5(realPath), { recursive: true });
13000
13100
  await copyFile(overlayPath, realPath);
@@ -13009,7 +13109,7 @@ var OverlayFs = class {
13009
13109
  */
13010
13110
  async cleanup() {
13011
13111
  try {
13012
- await rm(this.overlayDir, { recursive: true, force: true });
13112
+ await rm2(this.overlayDir, { recursive: true, force: true });
13013
13113
  } catch {
13014
13114
  }
13015
13115
  }
@@ -13018,7 +13118,7 @@ var OverlayFs = class {
13018
13118
  * Returns null if the path is outside cwd.
13019
13119
  */
13020
13120
  toRelative(inputPath) {
13021
- const abs = isAbsolute5(inputPath) ? inputPath : join9(this.realCwd, inputPath);
13121
+ const abs = isAbsolute5(inputPath) ? inputPath : join10(this.realCwd, inputPath);
13022
13122
  const rel = relative(this.realCwd, abs);
13023
13123
  if (isAbsolute5(rel) || rel.startsWith("..")) {
13024
13124
  return null;
@@ -4,16 +4,16 @@ import {
4
4
  LoadedSettings,
5
5
  getNestedProperty,
6
6
  getPersistScopeForModelSelection
7
- } from "./chunk-QKSXLP4U.js";
7
+ } from "./chunk-7W6HMRGG.js";
8
8
  import {
9
9
  getHomeEnvFallbackVars
10
- } from "./chunk-DBUZFCC5.js";
10
+ } from "./chunk-VGMNG7VW.js";
11
11
  import {
12
12
  writeWithBackupSync
13
- } from "./chunk-IPS3SOM7.js";
13
+ } from "./chunk-SMO5AGRH.js";
14
14
  import {
15
15
  preserveModelProviderPlaceholders
16
- } from "./chunk-LKJ6DRM4.js";
16
+ } from "./chunk-AZ4ZCY3E.js";
17
17
  import {
18
18
  resolveEnvVarsInObject
19
19
  } from "./chunk-EYWIFUPJ.js";
@@ -24,10 +24,10 @@ import {
24
24
  } from "./chunk-W3YES77O.js";
25
25
  import {
26
26
  loadSettings
27
- } from "./chunk-QKSXLP4U.js";
27
+ } from "./chunk-7W6HMRGG.js";
28
28
  import {
29
29
  MCP_BUDGET_WARN_FRACTION
30
- } from "./chunk-QHYBO45R.js";
30
+ } from "./chunk-TEEKFZLV.js";
31
31
  import {
32
32
  openBrowserSecurely,
33
33
  shouldLaunchBrowser
@@ -434,7 +434,7 @@ var serveCommand = {
434
434
  delete process.env[EXTERNAL_TOOL_GUARD_TOKEN_ENV];
435
435
  const openWithAuth = argv["open-with-auth"];
436
436
  const open = argv.open || openWithAuth;
437
- const { runO1CodeServe } = await import("./run-o1-code-serve-GHPD5FON.js");
437
+ const { runO1CodeServe } = await import("./run-o1-code-serve-WA6DJOGP.js");
438
438
  try {
439
439
  const serveOptions = {
440
440
  port: argv.port,