@opencode/core 0.0.0-dev-20960 → 0.0.0-dev-20962

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 (788) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{bus-wk5z6jzv.js → provider-0996nyz8.js} +9 -9
  8. package/dist/chunks/{bus-kqy50e42.js → provider-0avkqsyh.js} +11 -11
  9. package/dist/chunks/{bus-4434d9q2.js → provider-0bg0bx69.js} +9 -9
  10. package/dist/chunks/{bus-398y121m.js → provider-0chgmggq.js} +11 -11
  11. package/dist/chunks/{bus-sxmekffs.js → provider-0edhb53e.js} +11 -11
  12. package/dist/chunks/{bus-782zrs06.js → provider-0fhevdjt.js} +5 -5
  13. package/dist/chunks/{bus-r0grdksa.js → provider-0fpa5v37.js} +18 -18
  14. package/dist/chunks/{bus-7dqw4kz8.js → provider-0jwsre1p.js} +5 -5
  15. package/dist/chunks/{bus-ywyx2haj.js → provider-0mm9aq32.js} +13 -13
  16. package/dist/chunks/{bus-v4mbb2sh.js → provider-0nyzhezz.js} +50 -50
  17. package/dist/chunks/{bus-4pt5zbtp.js → provider-0sa2fhnm.js} +11 -11
  18. package/dist/chunks/{bus-2aet7wja.js → provider-0t9wd588.js} +8 -8
  19. package/dist/chunks/{bus-0vbcp93d.js → provider-0vbcp93d.js} +2 -2
  20. package/dist/chunks/{bus-26q6vggz.js → provider-178yzz4c.js} +6 -6
  21. package/dist/chunks/{bus-bdqng849.js → provider-1ahdxtnp.js} +35 -35
  22. package/dist/chunks/{bus-pa8pe2x7.js → provider-1ajx6rf5.js} +8 -8
  23. package/dist/chunks/{bus-00dkx0d4.js → provider-1ja1wxmc.js} +8 -8
  24. package/dist/chunks/{bus-atw403ht.js → provider-27fne53y.js} +32 -32
  25. package/dist/chunks/{bus-j3z348jk.js → provider-2anx6zyp.js} +11 -11
  26. package/dist/chunks/{bus-0k3esben.js → provider-2dfgztks.js} +5 -5
  27. package/dist/chunks/{bus-vjawha9d.js → provider-2p74at1f.js} +11 -11
  28. package/dist/chunks/{bus-vxvmm3ng.js → provider-2qjhvk9c.js} +17 -17
  29. package/dist/chunks/{bus-89ddhe7z.js → provider-2s2vbzb6.js} +17 -17
  30. package/dist/chunks/{bus-btxavp2f.js → provider-2vkbbze0.js} +43 -43
  31. package/dist/chunks/{bus-0ytnbz4y.js → provider-35rhfapn.js} +12 -12
  32. package/dist/chunks/{bus-33raapge.js → provider-3fae5vwa.js} +7 -7
  33. package/dist/chunks/{bus-3fc6dm20.js → provider-3fc6dm20.js} +1 -1
  34. package/dist/chunks/{bus-3hepkmqq.js → provider-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{bus-82zb0sc7.js → provider-3hs5mxmp.js} +13 -13
  36. package/dist/chunks/{bus-3hwn7j4h.js → provider-3hwn7j4h.js} +2 -2
  37. package/dist/chunks/{bus-3ppptnan.js → provider-3ppptnan.js} +1 -1
  38. package/dist/chunks/provider-3qdqmnbt.js +26 -0
  39. package/dist/chunks/{bus-djc7xb42.js → provider-3qtz8e24.js} +19 -19
  40. package/dist/chunks/{bus-3smtnn6g.js → provider-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{bus-3tvqynh2.js → provider-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{bus-s36grbt2.js → provider-3wzwh970.js} +16 -16
  43. package/dist/chunks/{bus-3zsf4n22.js → provider-3zsf4n22.js} +1 -1
  44. package/dist/chunks/{bus-8xkfk1rq.js → provider-41wrsvw7.js} +14 -14
  45. package/dist/chunks/{bus-ghceazn2.js → provider-45ezyvr1.js} +13 -13
  46. package/dist/chunks/{bus-d416qwxh.js → provider-46s5zsn6.js} +193 -193
  47. package/dist/chunks/{bus-rmn1xy97.js → provider-4p85ce3k.js} +8 -8
  48. package/dist/chunks/{bus-4v086v4b.js → provider-4qrgz4fh.js} +4 -4
  49. package/dist/chunks/{bus-54ma36ye.js → provider-54ma36ye.js} +1 -1
  50. package/dist/chunks/{bus-6bg0sqtt.js → provider-5bxt3wpb.js} +44 -44
  51. package/dist/chunks/{bus-sfkj0ta1.js → provider-5d17xbav.js} +5 -5
  52. package/dist/chunks/{bus-9c2h48zs.js → provider-5dpgnwm1.js} +11 -11
  53. package/dist/chunks/{bus-qfqw5kx1.js → provider-5h5cw0kb.js} +19 -19
  54. package/dist/chunks/{bus-5m9w47nd.js → provider-5m9w47nd.js} +1 -1
  55. package/dist/chunks/{bus-s7mtv1bq.js → provider-5mjdgbh9.js} +7 -7
  56. package/dist/chunks/{bus-e3qxr5gk.js → provider-5qd3pb7m.js} +2 -2
  57. package/dist/chunks/{bus-cjpmac0s.js → provider-5rf7prve.js} +13 -13
  58. package/dist/chunks/{bus-5rzwp8tz.js → provider-5rzwp8tz.js} +1 -1
  59. package/dist/chunks/{bus-ff8ymsvv.js → provider-5tzxr2xg.js} +10 -10
  60. package/dist/chunks/{bus-c9011knd.js → provider-6ejbh5bw.js} +6 -6
  61. package/dist/chunks/{bus-2ws178rw.js → provider-6msxjspv.js} +27 -27
  62. package/dist/chunks/{bus-ykfy41bp.js → provider-6vytd5f0.js} +10 -10
  63. package/dist/chunks/{bus-6xb47vfp.js → provider-6xb47vfp.js} +1 -1
  64. package/dist/chunks/{bus-zm6e2j1c.js → provider-6zzvxpwv.js} +10 -10
  65. package/dist/chunks/{bus-sw9j6ksk.js → provider-71qj1krj.js} +24 -24
  66. package/dist/chunks/{bus-775gj3j1.js → provider-775gj3j1.js} +2 -2
  67. package/dist/chunks/{bus-xcbpqqbd.js → provider-79m1rfa1.js} +11 -11
  68. package/dist/chunks/{bus-s43j9fc8.js → provider-7aqn883v.js} +45 -45
  69. package/dist/chunks/{bus-7bmhse3q.js → provider-7bmhse3q.js} +1 -1
  70. package/dist/chunks/{bus-9sbgnbhh.js → provider-7k4ntbhc.js} +15 -15
  71. package/dist/chunks/{bus-nxebrffs.js → provider-7pehn31s.js} +23 -23
  72. package/dist/chunks/{bus-nz1vskxa.js → provider-7s41t4qk.js} +13 -13
  73. package/dist/chunks/{bus-ktc4x85z.js → provider-7xkdmskh.js} +3 -3
  74. package/dist/chunks/{bus-7r26ccq8.js → provider-800bdyfv.js} +19 -19
  75. package/dist/chunks/{bus-qbqbaz6q.js → provider-80scg3y3.js} +4 -4
  76. package/dist/chunks/{bus-6sqmzbzs.js → provider-83rw8dgr.js} +4 -4
  77. package/dist/chunks/{bus-pmxdg44f.js → provider-85wvk3p1.js} +29 -29
  78. package/dist/chunks/{bus-1j8dkxme.js → provider-87skp6zd.js} +11 -11
  79. package/dist/chunks/{bus-0wq0ysk6.js → provider-8dr4q500.js} +15 -15
  80. package/dist/chunks/{bus-8m6m0r52.js → provider-8m6m0r52.js} +1 -1
  81. package/dist/chunks/{bus-n74py125.js → provider-8n5kbdvf.js} +19 -19
  82. package/dist/chunks/{bus-6bnjf6f4.js → provider-8na7k0g9.js} +8 -8
  83. package/dist/chunks/{bus-cwewv0hd.js → provider-8s9h0bgg.js} +10 -10
  84. package/dist/chunks/{bus-473fyxsj.js → provider-8tqny9xt.js} +4 -4
  85. package/dist/chunks/{bus-91qna3x0.js → provider-91qna3x0.js} +3 -3
  86. package/dist/chunks/{bus-kqv3x6rj.js → provider-97aeaand.js} +9 -9
  87. package/dist/chunks/{bus-z3a0qmaa.js → provider-99gkggwm.js} +11 -11
  88. package/dist/chunks/{bus-bj04ekg4.js → provider-9av8bacp.js} +27 -27
  89. package/dist/chunks/{bus-z5tadht1.js → provider-9e25vn24.js} +4 -4
  90. package/dist/chunks/{bus-2wkctjpk.js → provider-9k3h9x7c.js} +28 -28
  91. package/dist/chunks/{bus-jfwxvc8y.js → provider-a039zm1r.js} +11 -11
  92. package/dist/chunks/{bus-yt8mytmq.js → provider-a0a6dmtm.js} +37 -37
  93. package/dist/chunks/{bus-j42m18m7.js → provider-a8fjrhec.js} +3 -3
  94. package/dist/chunks/{bus-crxjpxy3.js → provider-ajdckhzw.js} +11 -11
  95. package/dist/chunks/{bus-jk8m7z7w.js → provider-amby2w69.js} +11 -11
  96. package/dist/chunks/{bus-d78rtj1k.js → provider-arnqn5aq.js} +17 -17
  97. package/dist/chunks/{bus-cb9bgdnx.js → provider-as743q1n.js} +22 -22
  98. package/dist/chunks/{bus-380jswzm.js → provider-b5ybqcma.js} +4 -4
  99. package/dist/chunks/{bus-19gt07c1.js → provider-b8gd3dkx.js} +11 -11
  100. package/dist/chunks/{bus-41y1pdrr.js → provider-bb96wvfv.js} +10 -10
  101. package/dist/chunks/{bus-h7x4vf5y.js → provider-bh92r7ax.js} +45 -45
  102. package/dist/chunks/{bus-pg3d8dpb.js → provider-btbmdjwj.js} +4 -4
  103. package/dist/chunks/{bus-n2q0s26t.js → provider-bty6dbnt.js} +25 -25
  104. package/dist/chunks/{bus-ed90f847.js → provider-bvjwexvn.js} +51 -51
  105. package/dist/chunks/{bus-qne3fa44.js → provider-bx0gyb4h.js} +5 -5
  106. package/dist/chunks/{bus-c1fqxshp.js → provider-c1fqxshp.js} +3 -3
  107. package/dist/chunks/{bus-twb1z4g5.js → provider-c5zvwsmq.js} +17 -17
  108. package/dist/chunks/{bus-shshnmxt.js → provider-cdvg6mh2.js} +4 -4
  109. package/dist/chunks/{bus-a3t537pd.js → provider-ce9taes4.js} +10 -10
  110. package/dist/chunks/{bus-hcc3q5rr.js → provider-cst3b3yb.js} +30 -30
  111. package/dist/chunks/{bus-6057rnvg.js → provider-cy9sv6ck.js} +11 -11
  112. package/dist/chunks/{bus-yxfmzf1f.js → provider-d1nddhfv.js} +3 -3
  113. package/dist/chunks/{bus-ratrq7cm.js → provider-d216944b.js} +7 -7
  114. package/dist/chunks/{bus-k1afr8k8.js → provider-d7rdamty.js} +14 -14
  115. package/dist/chunks/{bus-d4he2qe1.js → provider-djszqvmq.js} +9 -9
  116. package/dist/chunks/{bus-dqxsqydv.js → provider-dqxsqydv.js} +1 -1
  117. package/dist/chunks/{bus-8pdz634n.js → provider-drgqqq0e.js} +36 -36
  118. package/dist/chunks/{bus-1ey2nzn1.js → provider-e8mvx7yd.js} +11 -11
  119. package/dist/chunks/{bus-swm9mrax.js → provider-ebq43vw5.js} +24 -24
  120. package/dist/chunks/{bus-eej6y6fw.js → provider-eej6y6fw.js} +2 -2
  121. package/dist/chunks/{bus-ef5x83kb.js → provider-ef5x83kb.js} +1 -1
  122. package/dist/chunks/{bus-tag4xnf9.js → provider-ehad32z2.js} +22 -22
  123. package/dist/chunks/{bus-1dd2w187.js → provider-em3brvbs.js} +23 -23
  124. package/dist/chunks/{bus-nm7sf511.js → provider-enpwqqn0.js} +13 -13
  125. package/dist/chunks/{bus-pfzygb21.js → provider-es7kxqf0.js} +33 -33
  126. package/dist/chunks/{bus-r9c5hhft.js → provider-f27s4mgk.js} +328 -328
  127. package/dist/chunks/{bus-ppvdn42r.js → provider-f2frejk5.js} +5 -5
  128. package/dist/chunks/{bus-yp2x3t23.js → provider-f2n192rq.js} +4 -4
  129. package/dist/chunks/{bus-vktwk5kv.js → provider-f58gpcny.js} +9 -9
  130. package/dist/chunks/{bus-64x0hgxn.js → provider-fet8v0n8.js} +18 -18
  131. package/dist/chunks/{bus-ax80y0b8.js → provider-fk7yywng.js} +18 -19
  132. package/dist/chunks/{bus-7f3rbzsp.js → provider-fnj7ew7f.js} +50 -50
  133. package/dist/chunks/{bus-fqwtbb5g.js → provider-fnpj0ea6.js} +15 -15
  134. package/dist/chunks/{bus-2k4mbjc5.js → provider-fww2ha2b.js} +10 -10
  135. package/dist/chunks/{bus-0vhqfmyc.js → provider-fxjy1gaz.js} +23 -23
  136. package/dist/chunks/{bus-cqk47g7r.js → provider-g3f6525a.js} +24 -24
  137. package/dist/chunks/{bus-4j0w6qav.js → provider-gbcpnbg0.js} +28 -28
  138. package/dist/chunks/{bus-gd4qta3r.js → provider-gd4qta3r.js} +1 -1
  139. package/dist/chunks/{bus-fx806nkn.js → provider-gqjfsscs.js} +8 -8
  140. package/dist/chunks/{bus-hn57h045.js → provider-gst7axd9.js} +4 -4
  141. package/dist/chunks/{bus-z6b1b6at.js → provider-gtkys9g5.js} +18 -18
  142. package/dist/chunks/{bus-h6vf3j39.js → provider-h6vf3j39.js} +1 -1
  143. package/dist/chunks/{bus-h7s7r6s9.js → provider-h7s7r6s9.js} +2 -2
  144. package/dist/chunks/{bus-1f5q1a3x.js → provider-hck0njnj.js} +24 -24
  145. package/dist/chunks/{bus-hgz4x7wa.js → provider-hgz4x7wa.js} +1 -1
  146. package/dist/chunks/{bus-wfq5er05.js → provider-hns8fa6k.js} +1 -1
  147. package/dist/chunks/{bus-w4650645.js → provider-hnyjm6g5.js} +7 -7
  148. package/dist/chunks/{bus-gsc0aa41.js → provider-hs0emwqk.js} +33 -33
  149. package/dist/chunks/{bus-k8wpe4va.js → provider-hs4s17a6.js} +29 -29
  150. package/dist/chunks/provider-ht5y0zrb.js +18 -0
  151. package/dist/chunks/{bus-x7zk3xe8.js → provider-hwfx9e0v.js} +3 -3
  152. package/dist/chunks/{bus-3bt0s3jd.js → provider-hxpxs7m5.js} +34 -34
  153. package/dist/chunks/{bus-3jgm4556.js → provider-hyrayrht.js} +87 -87
  154. package/dist/chunks/{bus-fwgc76aj.js → provider-hzmxkg1x.js} +28 -28
  155. package/dist/chunks/{bus-0t5za6dd.js → provider-j1rz9bja.js} +20 -20
  156. package/dist/chunks/{bus-3j62vzr6.js → provider-j2v9e2av.js} +13 -13
  157. package/dist/chunks/{bus-r25wmq2t.js → provider-j3pmf3xc.js} +15 -15
  158. package/dist/chunks/{bus-4eknkaec.js → provider-j972kp05.js} +42 -42
  159. package/dist/chunks/{bus-5cz20m1h.js → provider-jf4mty79.js} +27 -27
  160. package/dist/chunks/{bus-834j5p15.js → provider-jfhb73ga.js} +17 -17
  161. package/dist/chunks/{bus-stm29492.js → provider-jftcm1p2.js} +16 -16
  162. package/dist/chunks/{bus-6g107h22.js → provider-jk540des.js} +2 -2
  163. package/dist/chunks/provider-jp851rwh.js +253 -0
  164. package/dist/chunks/{bus-6pc27hjz.js → provider-jws6fkes.js} +4 -4
  165. package/dist/chunks/{bus-rmgkpjed.js → provider-k1w7jx6t.js} +34 -34
  166. package/dist/chunks/{bus-64vw3q0a.js → provider-k2bz20w5.js} +47 -47
  167. package/dist/chunks/{bus-p7zpqra7.js → provider-k436a2zc.js} +5 -5
  168. package/dist/chunks/{bus-maahtrna.js → provider-k6bpcq3t.js} +28 -28
  169. package/dist/chunks/{bus-18bsjer9.js → provider-kaqckjty.js} +34 -34
  170. package/dist/chunks/{bus-77mnv1p1.js → provider-kd7gkzrj.js} +24 -24
  171. package/dist/chunks/{bus-khmqacep.js → provider-khmqacep.js} +1 -1
  172. package/dist/chunks/{bus-g686f6pq.js → provider-kjd40bgk.js} +9 -9
  173. package/dist/chunks/{bus-kqx1b4hy.js → provider-kqx1b4hy.js} +4 -4
  174. package/dist/chunks/{bus-58072hz9.js → provider-m5jcjszt.js} +3 -3
  175. package/dist/chunks/{bus-m9w0rfyh.js → provider-m9w0rfyh.js} +1 -1
  176. package/dist/chunks/{bus-maspj1v3.js → provider-maspj1v3.js} +1 -1
  177. package/dist/chunks/{bus-6vcqh3nn.js → provider-mfzbxada.js} +16 -16
  178. package/dist/chunks/{bus-nzyq0fma.js → provider-mmvj8fee.js} +19 -19
  179. package/dist/chunks/{bus-jqa5tae4.js → provider-mqe9x832.js} +66 -66
  180. package/dist/chunks/{bus-xj1thgjc.js → provider-mw6hct32.js} +5 -5
  181. package/dist/chunks/{bus-wwvf330t.js → provider-n61013np.js} +11 -11
  182. package/dist/chunks/{bus-00gkfv3g.js → provider-n9rk3330.js} +5 -5
  183. package/dist/chunks/{bus-4r9en7k0.js → provider-nggjaaey.js} +20 -20
  184. package/dist/chunks/{bus-892mrmp0.js → provider-ngts6ef0.js} +8 -8
  185. package/dist/chunks/{bus-yecejfqf.js → provider-nk15sya2.js} +17 -17
  186. package/dist/chunks/{bus-aff8x0jf.js → provider-nmb6s6yx.js} +15 -15
  187. package/dist/chunks/{bus-ap1cjxc7.js → provider-np95nkwd.js} +9 -9
  188. package/dist/chunks/{bus-rpg8pfb4.js → provider-p5g5pbnc.js} +30 -30
  189. package/dist/chunks/{bus-3vkqtywc.js → provider-p5h4w4th.js} +4 -4
  190. package/dist/chunks/{bus-f3j42fy9.js → provider-p7xkakat.js} +22 -22
  191. package/dist/chunks/{bus-wd8fgp30.js → provider-pdmy1nqv.js} +26 -26
  192. package/dist/chunks/{bus-rsyjv6mg.js → provider-pj8fb3qr.js} +9 -9
  193. package/dist/chunks/{bus-pjvnvgmy.js → provider-pjvnvgmy.js} +1 -1
  194. package/dist/chunks/{bus-pknna89w.js → provider-pknna89w.js} +1 -1
  195. package/dist/chunks/{bus-44d22bhd.js → provider-pkt1g79k.js} +5 -5
  196. package/dist/chunks/{bus-gd0tnyjc.js → provider-pnzf6mjf.js} +1 -1
  197. package/dist/chunks/{bus-4kc9f4z3.js → provider-pq3tqnwt.js} +18 -18
  198. package/dist/chunks/{bus-ygkay44d.js → provider-psgbjfb6.js} +25 -25
  199. package/dist/chunks/{bus-a734d9pv.js → provider-pxme7dsc.js} +17 -17
  200. package/dist/chunks/{bus-0j77ygfz.js → provider-q0xm7vwc.js} +6 -6
  201. package/dist/chunks/{bus-thwkaytk.js → provider-q38a94v8.js} +32 -32
  202. package/dist/chunks/{bus-rqx3t2mm.js → provider-qax75a92.js} +9 -9
  203. package/dist/chunks/{bus-cg961tyv.js → provider-qenm3c1x.js} +52 -52
  204. package/dist/chunks/{bus-9zyrfkt6.js → provider-qgzg545f.js} +24 -24
  205. package/dist/chunks/{bus-8wzg168y.js → provider-qhd8ymp6.js} +35 -35
  206. package/dist/chunks/{bus-0gkk5ev5.js → provider-qkze3bem.js} +18 -18
  207. package/dist/chunks/{bus-qnc92qwc.js → provider-qnc92qwc.js} +1 -1
  208. package/dist/chunks/{bus-drwq78ky.js → provider-qqeeq2t9.js} +7 -7
  209. package/dist/chunks/{bus-qsdy395h.js → provider-qsdy395h.js} +1 -1
  210. package/dist/chunks/{bus-dkx8hh7h.js → provider-qsg3v84t.js} +16 -16
  211. package/dist/chunks/{bus-gd9k1kqd.js → provider-qt4mgqne.js} +21 -21
  212. package/dist/chunks/{bus-g0szv97q.js → provider-qvsmbsx7.js} +18 -18
  213. package/dist/chunks/{bus-rnpgyt0h.js → provider-qxmgy5v8.js} +20 -20
  214. package/dist/chunks/{bus-wfpht1wy.js → provider-r2m1ycex.js} +32 -32
  215. package/dist/chunks/{bus-aesxv1ar.js → provider-r42rxzp2.js} +15 -15
  216. package/dist/chunks/{bus-3pzne7nj.js → provider-r66p9w6v.js} +3 -3
  217. package/dist/chunks/{bus-bb48m4jz.js → provider-r70qewr9.js} +17 -17
  218. package/dist/chunks/{bus-3r5g4k1g.js → provider-rc07w95g.js} +10 -10
  219. package/dist/chunks/{bus-rdw6cm16.js → provider-rdw6cm16.js} +1 -1
  220. package/dist/chunks/{bus-rert0e01.js → provider-rert0e01.js} +2 -2
  221. package/dist/chunks/{bus-1fgrf8ne.js → provider-rfh3waba.js} +18 -18
  222. package/dist/chunks/{bus-s2zv6nyz.js → provider-rh92rkmz.js} +5 -5
  223. package/dist/chunks/{bus-rhjbct0v.js → provider-rhjbct0v.js} +1 -1
  224. package/dist/chunks/{bus-rj3eygr5.js → provider-rj3eygr5.js} +2 -2
  225. package/dist/chunks/{bus-prsra7d9.js → provider-rn2k52va.js} +16 -16
  226. package/dist/chunks/{bus-7fqf872z.js → provider-rq8w23r5.js} +11 -11
  227. package/dist/chunks/{bus-hf9tj6qr.js → provider-s5tkhmxc.js} +5 -5
  228. package/dist/chunks/{bus-sa8ekw3f.js → provider-sa8ekw3f.js} +2 -2
  229. package/dist/chunks/{bus-nv3ptt7p.js → provider-sr9gvwf8.js} +4 -4
  230. package/dist/chunks/{bus-tkpexp8c.js → provider-ss4vf093.js} +5 -5
  231. package/dist/chunks/{bus-syv4x271.js → provider-syv4x271.js} +1 -1
  232. package/dist/chunks/{bus-rm32pmqw.js → provider-t6m4fh97.js} +32 -32
  233. package/dist/chunks/{bus-tazgh4e4.js → provider-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{bus-tcezcvh9.js → provider-tcezcvh9.js} +1 -1
  235. package/dist/chunks/{bus-tdstcens.js → provider-tdstcens.js} +1 -1
  236. package/dist/chunks/{bus-wq2yy38y.js → provider-tdtcw4xa.js} +32 -32
  237. package/dist/chunks/{bus-g4kgqnsj.js → provider-te482g04.js} +6 -6
  238. package/dist/chunks/{bus-e5c52b1q.js → provider-thqhm7b8.js} +7 -7
  239. package/dist/chunks/{bus-tm0kqsz3.js → provider-tm0kqsz3.js} +1 -1
  240. package/dist/chunks/{bus-v4vcq6h6.js → provider-tpprgjsf.js} +11 -11
  241. package/dist/chunks/{bus-g0ns0t0h.js → provider-ty907bk2.js} +11 -11
  242. package/dist/chunks/{bus-tyytaxap.js → provider-tyytaxap.js} +1 -1
  243. package/dist/chunks/{bus-9y3p8hw6.js → provider-tzhess53.js} +4 -4
  244. package/dist/chunks/{bus-gccjnz6h.js → provider-v0xmac3n.js} +2 -2
  245. package/dist/chunks/{bus-nd1fsjn1.js → provider-v0y8rbp5.js} +9 -9
  246. package/dist/chunks/{bus-js67rrqy.js → provider-v5x24k53.js} +35 -35
  247. package/dist/chunks/{bus-v7p4zvkq.js → provider-v7p4zvkq.js} +2 -2
  248. package/dist/chunks/{bus-a6hpz6kj.js → provider-v7pgrky2.js} +18 -18
  249. package/dist/chunks/{bus-zad36gve.js → provider-vaz5qvqg.js} +28 -28
  250. package/dist/chunks/{bus-veqvce7d.js → provider-veqvce7d.js} +1 -1
  251. package/dist/chunks/{bus-vzs5sf6e.js → provider-vzs5sf6e.js} +1 -1
  252. package/dist/chunks/{bus-meksxd78.js → provider-w0g3ptdb.js} +9 -9
  253. package/dist/chunks/{bus-84txncab.js → provider-w1eejvng.js} +5 -5
  254. package/dist/chunks/{bus-w3wsvvr9.js → provider-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{bus-wd87259q.js → provider-wd87259q.js} +1 -1
  256. package/dist/chunks/{bus-6yz0wx8n.js → provider-wh6zw745.js} +5 -5
  257. package/dist/chunks/{bus-ywt8jp22.js → provider-wjr9rjd7.js} +6 -6
  258. package/dist/chunks/{bus-4g16f462.js → provider-wnbanjze.js} +3 -3
  259. package/dist/chunks/{bus-dwzw3ysq.js → provider-wt86dmhn.js} +6 -6
  260. package/dist/chunks/{bus-amky5vfe.js → provider-wxhs1qjx.js} +21 -21
  261. package/dist/chunks/{bus-nxn41ptx.js → provider-wz3sw48p.js} +11 -11
  262. package/dist/chunks/{bus-3y377wv9.js → provider-x661k3y3.js} +4 -4
  263. package/dist/chunks/{bus-j3wt0nwb.js → provider-x98ee4vw.js} +3 -3
  264. package/dist/chunks/{bus-btp8fcp1.js → provider-xapeapez.js} +32 -32
  265. package/dist/chunks/{bus-d0t3dw1s.js → provider-xd50x2en.js} +14 -14
  266. package/dist/chunks/{bus-g8msvjt6.js → provider-xhrgsrn3.js} +11 -11
  267. package/dist/chunks/{bus-zpb199nx.js → provider-xjy2aw5f.js} +2 -2
  268. package/dist/chunks/{bus-1d5h2wfm.js → provider-xkqbx9x4.js} +5 -5
  269. package/dist/chunks/{bus-d45zy1ke.js → provider-xzvhangy.js} +9 -9
  270. package/dist/chunks/{bus-y1fvbwt7.js → provider-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{bus-y71avatq.js → provider-y71avatq.js} +1 -1
  272. package/dist/chunks/{bus-nd37ta7v.js → provider-y8p3zjbc.js} +8 -8
  273. package/dist/chunks/{bus-3q1tbpxr.js → provider-ybzwk8bv.js} +20 -20
  274. package/dist/chunks/{bus-0gw4emb7.js → provider-yh9ky8zt.js} +23 -23
  275. package/dist/chunks/{bus-4z58m4b4.js → provider-yrcj3v3g.js} +4 -4
  276. package/dist/chunks/{bus-z0bkrqjs.js → provider-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{bus-m22batcp.js → provider-z2jd07rd.js} +7 -7
  278. package/dist/chunks/{bus-rrkmx6ac.js → provider-zbg202n1.js} +4 -4
  279. package/dist/chunks/{bus-b2ek08gx.js → provider-znm4dr2c.js} +81 -81
  280. package/dist/chunks/{bus-zr2ceqn5.js → provider-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{bus-81jw5x1j.js → provider-ztc63c18.js} +1 -1
  282. package/dist/chunks/{bus-0181gbjf.js → provider-zx5x520x.js} +20 -20
  283. package/dist/chunks/{bus-zxq2ej10.js → provider-zxq2ej10.js} +1 -1
  284. package/dist/chunks/{bus-zyk1yjk8.js → provider-zyk1yjk8.js} +2 -2
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +9 -9
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +87 -87
  290. package/dist/config/discovery.js +84 -84
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +101 -101
  293. package/dist/config/plugin/agent.js +118 -118
  294. package/dist/config/plugin/command.js +207 -207
  295. package/dist/config/plugin/compaction.js +156 -156
  296. package/dist/config/plugin/compatibility.js +136 -136
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +119 -119
  299. package/dist/config/plugin/image.js +118 -118
  300. package/dist/config/plugin/instruction.js +118 -118
  301. package/dist/config/plugin/location-watcher.js +120 -120
  302. package/dist/config/plugin/mcp.js +125 -125
  303. package/dist/config/plugin/policy.js +119 -119
  304. package/dist/config/plugin/provider.js +118 -118
  305. package/dist/config/plugin/reference.js +120 -120
  306. package/dist/config/plugin/shell.js +118 -118
  307. package/dist/config/plugin/skill-file.js +104 -104
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +118 -118
  310. package/dist/config/plugin/source.js +119 -119
  311. package/dist/config/plugin/tool-output.js +119 -119
  312. package/dist/config/plugin/websearch.js +117 -117
  313. package/dist/config/plugin/worktree.js +120 -120
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +121 -121
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +85 -85
  319. package/dist/database/database.js +68 -68
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  385. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  386. package/dist/database/migration.gen.js +51 -51
  387. package/dist/database/migration.js +53 -53
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +78 -78
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +362 -362
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +1 -1
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +95 -95
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +97 -97
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +72 -72
  411. package/dist/file-access.js +106 -106
  412. package/dist/file-mutation.js +96 -96
  413. package/dist/file-retention.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +222 -222
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +105 -105
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +13 -13
  424. package/dist/filesystem.js +108 -108
  425. package/dist/form.js +86 -86
  426. package/dist/formatter/builtins.js +2 -2
  427. package/dist/formatter.js +89 -89
  428. package/dist/generate.js +105 -105
  429. package/dist/git.js +10 -10
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +93 -93
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +1 -1
  452. package/dist/instance.js +355 -355
  453. package/dist/instruction-discovery.js +86 -86
  454. package/dist/instructions/builtins.js +89 -89
  455. package/dist/instructions/index.js +1 -1
  456. package/dist/integration/connection.js +3 -3
  457. package/dist/integration.js +91 -91
  458. package/dist/job.js +80 -80
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +75 -75
  461. package/dist/location-activity.js +133 -133
  462. package/dist/location-lifecycle.js +109 -109
  463. package/dist/location-service-map.js +88 -88
  464. package/dist/location-services.js +356 -356
  465. package/dist/location.js +91 -91
  466. package/dist/managed-policy.js +8 -8
  467. package/dist/mcp/client.js +93 -93
  468. package/dist/mcp/index.js +111 -111
  469. package/dist/mcp/instructions.js +129 -129
  470. package/dist/mcp/oauth.js +80 -80
  471. package/dist/mcp/stdio.js +92 -92
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +93 -93
  474. package/dist/model-resolver.js +100 -100
  475. package/dist/model.js +102 -102
  476. package/dist/models-dev.js +103 -103
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +84 -84
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +115 -115
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +90 -90
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +77 -77
  486. package/dist/plugin/agent.js +76 -76
  487. package/dist/plugin/command.js +102 -102
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/identity.js +3 -3
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +331 -331
  493. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  494. package/dist/plugin/models-dev.js +98 -98
  495. package/dist/plugin/module.js +117 -117
  496. package/dist/plugin/optimize.js +2 -2
  497. package/dist/plugin/plan.js +104 -104
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +1 -1
  502. package/dist/plugin/provider/chatgpt.js +118 -118
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/databricks.js +1 -1
  508. package/dist/plugin/provider/digitalocean.js +95 -95
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/github-copilot.js +97 -97
  512. package/dist/plugin/provider/gitlab.js +95 -95
  513. package/dist/plugin/provider/google-vertex.js +115 -115
  514. package/dist/plugin/provider/kilo.js +1 -1
  515. package/dist/plugin/provider/llmgateway.js +80 -80
  516. package/dist/plugin/provider/lmstudio.js +127 -127
  517. package/dist/plugin/provider/local.js +124 -124
  518. package/dist/plugin/provider/modal.js +94 -94
  519. package/dist/plugin/provider/neon.js +1 -1
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +127 -127
  522. package/dist/plugin/provider/openai.js +118 -118
  523. package/dist/plugin/provider/opencode.js +99 -99
  524. package/dist/plugin/provider/openrouter.js +93 -93
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +81 -81
  527. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  528. package/dist/plugin/provider/sap-ai-core.js +93 -93
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  531. package/dist/plugin/provider/vercel.js +92 -92
  532. package/dist/plugin/provider/vllm.js +127 -127
  533. package/dist/plugin/provider/xai.js +93 -93
  534. package/dist/plugin/provider/zenmux.js +1 -1
  535. package/dist/plugin/provider.js +169 -169
  536. package/dist/plugin/sdk.js +76 -76
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +136 -136
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +348 -348
  541. package/dist/plugin/tool-input-repair.js +4 -4
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/vcs/git.js +88 -88
  544. package/dist/plugin/vcs/hg.js +88 -88
  545. package/dist/plugin/verbosity.js +95 -95
  546. package/dist/plugin/warming.js +116 -116
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +6 -6
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +4 -4
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin/websearch/tinyfish.js +8 -8
  554. package/dist/plugin.js +220 -220
  555. package/dist/project/schema.js +8 -8
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +90 -90
  558. package/dist/provider.js +99 -99
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +99 -99
  562. package/dist/reference/instructions.js +91 -91
  563. package/dist/reference.js +93 -93
  564. package/dist/repository-cache.js +83 -83
  565. package/dist/repository.js +3 -3
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +99 -99
  568. package/dist/rpc.js +88 -88
  569. package/dist/schema.js +1 -1
  570. package/dist/session/affinity.js +1 -1
  571. package/dist/session/command.js +76 -76
  572. package/dist/session/compaction.js +135 -135
  573. package/dist/session/context.js +155 -155
  574. package/dist/session/diff.js +90 -90
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +5 -5
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +216 -216
  579. package/dist/session/execution.js +129 -129
  580. package/dist/session/generate.js +154 -154
  581. package/dist/session/history.js +15 -15
  582. package/dist/session/inbox.js +90 -90
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +79 -79
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +99 -99
  587. package/dist/session/message-updater.js +2 -2
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +122 -122
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +131 -131
  592. package/dist/session/projector.js +88 -88
  593. package/dist/session/prompt.js +107 -107
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +92 -92
  596. package/dist/session/run-coordinator.js +3 -3
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +226 -226
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +100 -100
  601. package/dist/session/runner/publish-llm-event.js +115 -115
  602. package/dist/session/runner/retry.js +2 -2
  603. package/dist/session/runner/step.js +125 -125
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +164 -164
  607. package/dist/session/shell.js +132 -132
  608. package/dist/session/skill.js +105 -105
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +75 -75
  611. package/dist/session/store.js +89 -89
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +203 -203
  614. package/dist/session/system-prompt.js +5 -5
  615. package/dist/session/title.js +157 -157
  616. package/dist/session/to-session-error.js +113 -113
  617. package/dist/session/transfer.js +212 -212
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +211 -211
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +9 -9
  624. package/dist/shell.js +134 -134
  625. package/dist/skill/discovery.js +6 -6
  626. package/dist/skill/instructions.js +109 -109
  627. package/dist/skill.js +112 -112
  628. package/dist/snapshot.js +95 -95
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +130 -130
  633. package/dist/tool/plugin/edit.js +122 -122
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +126 -126
  636. package/dist/tool/plugin/grep.js +126 -126
  637. package/dist/tool/plugin/mcp-resource.js +119 -119
  638. package/dist/tool/plugin/opencode.js +111 -111
  639. package/dist/tool/plugin/patch.js +122 -122
  640. package/dist/tool/plugin/question.js +105 -105
  641. package/dist/tool/plugin/read.js +127 -127
  642. package/dist/tool/plugin/shell.js +206 -206
  643. package/dist/tool/plugin/skill.js +115 -115
  644. package/dist/tool/plugin/subagent.js +208 -208
  645. package/dist/tool/plugin/webfetch.js +112 -112
  646. package/dist/tool/plugin/websearch.js +110 -110
  647. package/dist/tool/plugin/write.js +118 -118
  648. package/dist/tool/read-filesystem.js +102 -102
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +7 -7
  651. package/dist/tool.js +16 -16
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/git-executable.js +2 -2
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +7 -7
  662. package/dist/v1/config/command.js +5 -5
  663. package/dist/v1/config/error.js +4 -4
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +94 -94
  666. package/dist/v1/config/permission.js +7 -7
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/variant.js +93 -93
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +89 -89
  673. package/dist/websearch.js +84 -84
  674. package/dist/wellknown/plugin.js +78 -78
  675. package/dist/wellknown.js +83 -83
  676. package/dist/workspace/driver.js +7 -7
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +84 -84
  679. package/dist/worktree/directory.js +2 -2
  680. package/dist/worktree/git.js +8 -8
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree/strategies.js +91 -91
  683. package/dist/worktree.js +98 -98
  684. package/package.json +8 -8
  685. package/dist/chunks/bus-1x11rq2a.js +0 -18
  686. package/dist/chunks/bus-aa1ahzj9.js +0 -26
  687. package/dist/chunks/bus-eba0thny.js +0 -253
  688. /package/dist/chunks/{bus-0qkdqm5v.js → provider-0qkdqm5v.js} +0 -0
  689. /package/dist/chunks/{bus-0zkw76rk.js → provider-0zkw76rk.js} +0 -0
  690. /package/dist/chunks/{bus-17cy0kzp.js → provider-17cy0kzp.js} +0 -0
  691. /package/dist/chunks/{bus-1cnp2v09.js → provider-1cnp2v09.js} +0 -0
  692. /package/dist/chunks/{bus-1kg9ymc8.js → provider-1kg9ymc8.js} +0 -0
  693. /package/dist/chunks/{bus-24dcb14g.js → provider-24dcb14g.js} +0 -0
  694. /package/dist/chunks/{bus-2710q6r3.js → provider-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{bus-2axfhc9x.js → provider-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{bus-2bv980vf.js → provider-2bv980vf.js} +0 -0
  697. /package/dist/chunks/{bus-2c3vjs8z.js → provider-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{bus-359p4xyc.js → provider-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{bus-3asan66x.js → provider-3asan66x.js} +0 -0
  700. /package/dist/chunks/{bus-3t0ybcrp.js → provider-3t0ybcrp.js} +0 -0
  701. /package/dist/chunks/{bus-3v8g72cx.js → provider-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{bus-3wcehsnq.js → provider-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{bus-43n2bw4t.js → provider-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{bus-4knz6hnm.js → provider-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{bus-4vcrnpx2.js → provider-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{bus-4y7fprxs.js → provider-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{bus-53557ph1.js → provider-53557ph1.js} +0 -0
  708. /package/dist/chunks/{bus-550bvhaj.js → provider-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{bus-6prwharc.js → provider-6prwharc.js} +0 -0
  710. /package/dist/chunks/{bus-6q2bdcd1.js → provider-6q2bdcd1.js} +0 -0
  711. /package/dist/chunks/{bus-7akdwqpd.js → provider-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{bus-7m9af43g.js → provider-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{bus-822emrt2.js → provider-822emrt2.js} +0 -0
  714. /package/dist/chunks/{bus-84wd9syh.js → provider-84wd9syh.js} +0 -0
  715. /package/dist/chunks/{bus-88xbtdfr.js → provider-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{bus-8n3pysct.js → provider-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{bus-8wj87zfr.js → provider-8wj87zfr.js} +0 -0
  718. /package/dist/chunks/{bus-9a4afbnw.js → provider-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{bus-9rqn6x4v.js → provider-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{bus-a6k6eb26.js → provider-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{bus-af5trqkr.js → provider-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{bus-afrmfg78.js → provider-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{bus-aqzs7mqg.js → provider-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{bus-atq7p7m5.js → provider-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{bus-bkyjaxrp.js → provider-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{bus-bmr6ed5q.js → provider-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{bus-cf4snx6d.js → provider-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{bus-cvy3z8tj.js → provider-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{bus-d9fn303g.js → provider-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{bus-d9jj8t3e.js → provider-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{bus-dajrwvna.js → provider-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{bus-dap0rakb.js → provider-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{bus-df08tz66.js → provider-df08tz66.js} +0 -0
  734. /package/dist/chunks/{bus-dy18nga0.js → provider-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{bus-e5kj55wp.js → provider-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{bus-e73j6tqm.js → provider-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{bus-ec1grn59.js → provider-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{bus-eh3zwz77.js → provider-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{bus-emrn6kk6.js → provider-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{bus-f0mxakyp.js → provider-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{bus-f6n9ztr4.js → provider-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{bus-faypxj3z.js → provider-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{bus-fd410y7t.js → provider-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{bus-g4wezp1m.js → provider-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{bus-g86h250q.js → provider-g86h250q.js} +0 -0
  746. /package/dist/chunks/{bus-gebd4c9n.js → provider-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{bus-gftt206x.js → provider-gftt206x.js} +0 -0
  748. /package/dist/chunks/{bus-hcxmzztb.js → provider-hcxmzztb.js} +0 -0
  749. /package/dist/chunks/{bus-hk9envan.js → provider-hk9envan.js} +0 -0
  750. /package/dist/chunks/{bus-j2ntwpah.js → provider-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{bus-j5zkgpj8.js → provider-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{bus-jjkms2e6.js → provider-jjkms2e6.js} +0 -0
  753. /package/dist/chunks/{bus-jr7sbwjy.js → provider-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{bus-jwfs4k6c.js → provider-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{bus-jze0r7bz.js → provider-jze0r7bz.js} +0 -0
  756. /package/dist/chunks/{bus-jzg6c2d5.js → provider-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{bus-m18g726c.js → provider-m18g726c.js} +0 -0
  758. /package/dist/chunks/{bus-mp448xyj.js → provider-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{bus-msx8hqn2.js → provider-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{bus-n05xt0ee.js → provider-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{bus-n3j8tn72.js → provider-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{bus-njntx4h6.js → provider-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{bus-pkyv6v7h.js → provider-pkyv6v7h.js} +0 -0
  764. /package/dist/chunks/{bus-pyv0edze.js → provider-pyv0edze.js} +0 -0
  765. /package/dist/chunks/{bus-q3sfg36h.js → provider-q3sfg36h.js} +0 -0
  766. /package/dist/chunks/{bus-q74kybfr.js → provider-q74kybfr.js} +0 -0
  767. /package/dist/chunks/{bus-qaymkmh1.js → provider-qaymkmh1.js} +0 -0
  768. /package/dist/chunks/{bus-qb87gjwd.js → provider-qb87gjwd.js} +0 -0
  769. /package/dist/chunks/{bus-qfa1cgps.js → provider-qfa1cgps.js} +0 -0
  770. /package/dist/chunks/{bus-qg3g05ea.js → provider-qg3g05ea.js} +0 -0
  771. /package/dist/chunks/{bus-qrg20bc0.js → provider-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{bus-rcb2kzg1.js → provider-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{bus-sdp7kfr6.js → provider-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{bus-ssg3fenm.js → provider-ssg3fenm.js} +0 -0
  775. /package/dist/chunks/{bus-ve7vex1e.js → provider-ve7vex1e.js} +0 -0
  776. /package/dist/chunks/{bus-w803qqfp.js → provider-w803qqfp.js} +0 -0
  777. /package/dist/chunks/{bus-wc3fc9cn.js → provider-wc3fc9cn.js} +0 -0
  778. /package/dist/chunks/{bus-wer8tq1h.js → provider-wer8tq1h.js} +0 -0
  779. /package/dist/chunks/{bus-wjj7prxr.js → provider-wjj7prxr.js} +0 -0
  780. /package/dist/chunks/{bus-wtztk69x.js → provider-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{bus-x0ckcb58.js → provider-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{bus-x61499pn.js → provider-x61499pn.js} +0 -0
  783. /package/dist/chunks/{bus-y44na4kk.js → provider-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{bus-y8f7s663.js → provider-y8f7s663.js} +0 -0
  785. /package/dist/chunks/{bus-ygaqb7jw.js → provider-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{bus-ym463w8f.js → provider-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{bus-z5v4ffb3.js → provider-z5v4ffb3.js} +0 -0
  788. /package/dist/chunks/{bus-z9919s4g.js → provider-z9919s4g.js} +0 -0
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./bus-3vkqtywc.js";
4
+ } from "./provider-p5h4w4th.js";
5
5
  import {
6
- Service78,
7
- node82
8
- } from "./bus-yecejfqf.js";
6
+ Service76,
7
+ node80
8
+ } from "./provider-nk15sya2.js";
9
9
  import {
10
- Service53,
11
- node56
12
- } from "./bus-1f5q1a3x.js";
10
+ Service74,
11
+ node77
12
+ } from "./provider-hck0njnj.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./bus-gd4qta3r.js";
15
+ } from "./provider-gd4qta3r.js";
16
16
  import {
17
- Service74,
17
+ Service80,
18
18
  args2,
19
- node78
20
- } from "./bus-9sbgnbhh.js";
19
+ node84
20
+ } from "./provider-7k4ntbhc.js";
21
21
  import {
22
- Service60,
23
- node64
24
- } from "./bus-892mrmp0.js";
22
+ Service62,
23
+ node65
24
+ } from "./provider-ngts6ef0.js";
25
25
  import {
26
- Service30,
27
- node33
28
- } from "./bus-2aet7wja.js";
26
+ Service34,
27
+ node37
28
+ } from "./provider-0t9wd588.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./bus-58072hz9.js";
31
+ } from "./provider-m5jcjszt.js";
32
32
  import {
33
33
  latest2,
34
- Service62,
35
- node66
36
- } from "./bus-6bg0sqtt.js";
34
+ Service48,
35
+ node51
36
+ } from "./provider-5bxt3wpb.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./bus-vjawha9d.js";
40
+ } from "./provider-2p74at1f.js";
41
41
  import {
42
42
  __export
43
- } from "./bus-9rqn6x4v.js";
43
+ } from "./provider-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError3,
49
+ NotFoundError: () => NotFoundError4,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service29,
51
+ Service: () => Service33,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node32
54
+ node: () => node36
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
63
63
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
65
  import { Global } from "@opencode/util/global";
66
- class NotFoundError3 extends Schema.TaggedError()("Shell.NotFoundError", {
66
+ class NotFoundError4 extends Schema.TaggedError()("Shell.NotFoundError", {
67
67
  id: Shell.ID
68
68
  }) {
69
69
  }
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
71
71
  var RETENTION2 = Duration.days(7);
72
72
  var DIRECTORY2 = "shell";
73
73
 
74
- class Service29 extends Context.Service()("@opencode/Shell") {
74
+ class Service33 extends Context.Service()("@opencode/Shell") {
75
75
  }
76
76
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
77
77
  const fs = yield* FSUtil.Service;
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
87
87
  layer: cleanupLayer,
88
88
  deps: [FSUtil.node, Global.node]
89
89
  });
90
- var layer = () => Layer.effect(Service29, Effect.gen(function* () {
90
+ var layer = () => Layer.effect(Service33, Effect.gen(function* () {
91
91
  const bus = yield* Service84;
92
- const location = yield* Service78;
92
+ const location = yield* Service76;
93
93
  const global = yield* Global.Service;
94
- const shell = yield* Service74;
95
- const environment = yield* Service53;
96
- const hooks = yield* Service60;
97
- const environments = yield* Service30;
98
- const config = yield* Service62;
94
+ const shell = yield* Service80;
95
+ const environment = yield* Service74;
96
+ const hooks = yield* Service62;
97
+ const environments = yield* Service34;
98
+ const config = yield* Service48;
99
99
  const context = yield* Effect.context();
100
100
  const runFork = Effect.runForkWith(context);
101
101
  const commands = new Map;
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service29, Effect.gen(function* () {
116
116
  const require2 = Effect.fnUntraced(function* (id) {
117
117
  const command = commands.get(id);
118
118
  if (!command)
119
- return yield* new NotFoundError3({ id });
119
+ return yield* new NotFoundError4({ id });
120
120
  return command;
121
121
  });
122
122
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service29, Effect.gen(function* () {
129
129
  commands.delete(id);
130
130
  if (command.timeoutFiber)
131
131
  yield* Fiber.interrupt(command.timeoutFiber);
132
- yield* Deferred.fail(command.done, new NotFoundError3({ id }));
132
+ yield* Deferred.fail(command.done, new NotFoundError4({ id }));
133
133
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
134
134
  yield* bus.publish(Shell.Event.Deleted, { id });
135
135
  });
@@ -323,22 +323,22 @@ var layer = () => Layer.effect(Service29, Effect.gen(function* () {
323
323
  const command = yield* Deferred.await(ready);
324
324
  return command.info;
325
325
  });
326
- return Service29.of({ create, list, get, wait, result, timeout, output, remove });
326
+ return Service33.of({ create, list, get, wait, result, timeout, output, remove });
327
327
  }));
328
- var node32 = makeLocationNode({
329
- service: Service29,
328
+ var node36 = makeLocationNode({
329
+ service: Service33,
330
330
  layer: layer(),
331
331
  deps: [
332
332
  node88,
333
- node82,
333
+ node80,
334
334
  Global.node,
335
- node78,
336
- node56,
337
- node64,
338
- node33,
339
- node66,
335
+ node84,
336
+ node77,
337
+ node65,
338
+ node37,
339
+ node51,
340
340
  cleanupNode
341
341
  ]
342
342
  });
343
343
 
344
- export { NotFoundError3, RETENTION2, DIRECTORY2, Service29, cleanup2, node32, exports_shell4 };
344
+ export { NotFoundError4, RETENTION2, DIRECTORY2, Service33, cleanup2, node36, exports_shell4 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  Service84
3
- } from "./bus-3vkqtywc.js";
3
+ } from "./provider-p5h4w4th.js";
4
4
  import {
5
5
  supportsText2
6
- } from "./bus-5cz20m1h.js";
6
+ } from "./provider-jf4mty79.js";
7
7
  import {
8
- Service14,
8
+ Service15,
9
9
  Event2
10
- } from "./bus-pmxdg44f.js";
10
+ } from "./provider-85wvk3p1.js";
11
11
 
12
12
  // src/plugin/models-dev.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -32,7 +32,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
32
32
  var ModelsDevPlugin2 = define({
33
33
  id: "opencode.models.dev",
34
34
  effect: Effect.fn(function* (ctx) {
35
- const modelsDev = yield* Service14;
35
+ const modelsDev = yield* Service15;
36
36
  const bus = yield* Service84;
37
37
  const loaded = { data: snapshots(yield* modelsDev.get()) };
38
38
  yield* ctx.integration.transform((integrations) => {
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./bus-3vkqtywc.js";
4
+ } from "./provider-p5h4w4th.js";
5
5
  import {
6
- parse4,
6
+ parse5,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./bus-84txncab.js";
11
+ } from "./provider-w1eejvng.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./bus-z5v4ffb3.js";
14
+ } from "./provider-z5v4ffb3.js";
15
15
  import {
16
- Service48,
17
- node51
18
- } from "./bus-nxebrffs.js";
16
+ Service67,
17
+ node70
18
+ } from "./provider-7pehn31s.js";
19
19
  import {
20
20
  create3
21
- } from "./bus-rdw6cm16.js";
21
+ } from "./provider-rdw6cm16.js";
22
22
  import {
23
23
  __export
24
- } from "./bus-9rqn6x4v.js";
24
+ } from "./provider-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
28
28
  __export(exports_reference2, {
29
- Event: () => Event4,
29
+ Event: () => Event15,
30
30
  GitSource: () => GitSource2,
31
- Info: () => Info4,
31
+ Info: () => Info20,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service28,
35
- Source: () => Source3,
36
- node: () => node31
34
+ Service: () => Service66,
35
+ Source: () => Source5,
36
+ node: () => node69
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Context, Effect, Layer, Scope } from "effect";
40
40
  import { Reference } from "@opencode/schema/reference";
41
41
  import { Global } from "@opencode/util/global";
42
- import { Event as Event4 } from "@opencode/schema/reference";
42
+ import { Event as Event15 } from "@opencode/schema/reference";
43
43
  var LocalSource2 = Reference.LocalSource;
44
44
  var GitSource2 = Reference.GitSource;
45
- var Source3 = Reference.Source;
46
- var Info4 = Reference.Info;
45
+ var Source5 = Reference.Source;
46
+ var Info20 = Reference.Info;
47
47
 
48
- class Service28 extends Context.Service()("@opencode/Reference") {
48
+ class Service66 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service28, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service66, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
52
  const bus = yield* Service84;
53
- const cache = yield* Service48;
53
+ const cache = yield* Service67;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -60,8 +60,8 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
60
60
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
61
61
  };
62
62
  if (source.type === "local")
63
- return [Info4.make({ ...info, path: source.path })];
64
- const repository = parse4(source.repository);
63
+ return [Info20.make({ ...info, path: source.path })];
64
+ const repository = parse5(source.repository);
65
65
  if (!repository || !isRemote2(repository))
66
66
  return [];
67
67
  if (source.branch) {
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
72
72
  }
73
73
  }
74
74
  return [
75
- Info4.make({
75
+ Info20.make({
76
76
  ...info,
77
77
  path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
78
78
  })
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service28.of({
107
+ return Service66.of({
108
108
  transform: state.transform,
109
109
  reload: state.reload,
110
110
  list: Effect.fn("Reference.list")(function* () {
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node31 = makeLocationNode({
116
- service: Service28,
115
+ var node69 = makeLocationNode({
116
+ service: Service66,
117
117
  layer,
118
- deps: [Global.node, node88, node51]
118
+ deps: [Global.node, node88, node70]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source3, Info4, Service28, node31, exports_reference2, Event4 };
121
+ export { LocalSource2, GitSource2, Source5, Info20, Service66, node69, exports_reference2, Event15 };
@@ -2,42 +2,42 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./bus-z5v4ffb3.js";
5
+ } from "./provider-z5v4ffb3.js";
6
6
  import {
7
- Service78,
8
- node82
9
- } from "./bus-yecejfqf.js";
7
+ Service76,
8
+ node80
9
+ } from "./provider-nk15sya2.js";
10
10
  import {
11
- Service36,
12
- node39
13
- } from "./bus-hcc3q5rr.js";
11
+ Service17,
12
+ node19
13
+ } from "./provider-cst3b3yb.js";
14
14
  import {
15
15
  __export
16
- } from "./bus-9rqn6x4v.js";
16
+ } from "./provider-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
20
20
  __export(exports_filesystem, {
21
- Content: () => Content3,
21
+ Content: () => Content2,
22
22
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
24
  DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
25
25
  DirectoryNotFoundError: () => DirectoryNotFoundError2,
26
26
  Entry: () => Entry2,
27
- Event: () => Event7,
27
+ Event: () => Event3,
28
28
  FileSystem: () => exports_filesystem,
29
29
  FindInput: () => FindInput2,
30
30
  GlobInput: () => GlobInput2,
31
31
  GrepInput: () => GrepInput2,
32
- ListInput: () => ListInput3,
32
+ ListInput: () => ListInput2,
33
33
  Match: () => Match2,
34
- NotFoundError: () => NotFoundError5,
34
+ NotFoundError: () => NotFoundError2,
35
35
  ReadInput: () => ReadInput2,
36
- Service: () => Service35,
36
+ Service: () => Service16,
37
37
  Submatch: () => Submatch2,
38
38
  Write: () => Write2,
39
39
  WriteInput: () => WriteInput2,
40
- node: () => node38
40
+ node: () => node18
41
41
  });
42
42
  import { makeLocationNode } from "@opencode/util/effect/app-node";
43
43
  import path from "path";
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
53
53
  data: Schema.Uint8Array
54
54
  });
55
55
 
56
- class NotFoundError5 extends Schema.TaggedError()("FileSystem.NotFoundError", {
56
+ class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
57
57
  path: RelativePath2
58
58
  }) {
59
59
  }
@@ -75,14 +75,14 @@ class DirectoryAccessDeniedError2 extends Schema.TaggedError()("FileSystem.Direc
75
75
  return `Access denied to directory: ${this.directory}`;
76
76
  }
77
77
  }
78
- var Content3 = Schema.Struct({
78
+ var Content2 = Schema.Struct({
79
79
  uri: Schema.String,
80
80
  name: Schema.String.pipe(Schema.optional),
81
81
  content: Schema.String,
82
82
  encoding: Schema.Literals(["utf8", "base64"]),
83
83
  mime: Schema.String
84
84
  }).annotate({ identifier: "FileSystem.Content" });
85
- var ListInput3 = Schema.Struct({
85
+ var ListInput2 = Schema.Struct({
86
86
  path: Schema.String.pipe(Schema.optional)
87
87
  });
88
88
  var DEFAULT_SEARCH_LIMIT2 = 100;
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
105
105
  limit: Schema.optionalKey(PositiveInt2)
106
106
  }) {
107
107
  }
108
- var Event7 = FileSystem.Event;
108
+ var Event3 = FileSystem.Event;
109
109
 
110
- class Service35 extends Context.Service()("@opencode/FileSystem") {
110
+ class Service16 extends Context.Service()("@opencode/FileSystem") {
111
111
  }
112
- var baseLayer = Layer.effect(Service35, Effect.gen(function* () {
112
+ var baseLayer = Layer.effect(Service16, Effect.gen(function* () {
113
113
  const fs = yield* FSUtil.Service;
114
- const location = yield* Service78;
115
- const search = yield* Service36;
114
+ const location = yield* Service76;
115
+ const search = yield* Service17;
116
116
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
117
117
  if (cause.reason._tag === "NotFound")
118
118
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
@@ -122,22 +122,22 @@ var baseLayer = Layer.effect(Service35, Effect.gen(function* () {
122
122
  }));
123
123
  const resolve = Effect.fnUntraced(function* (input) {
124
124
  if (input.includes("\x00"))
125
- return yield* Effect.fail(new NotFoundError5({ path: input }));
125
+ return yield* Effect.fail(new NotFoundError2({ path: input }));
126
126
  const absolute = path.resolve(location.directory, input);
127
127
  if (!FSUtil.contains(location.directory, absolute))
128
- return yield* Effect.fail(new NotFoundError5({ path: input }));
129
- const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input })), (_, error) => Effect.die(error)));
128
+ return yield* Effect.fail(new NotFoundError2({ path: input }));
129
+ const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input })), (_, error) => Effect.die(error)));
130
130
  if (!FSUtil.contains(root, real))
131
- return yield* Effect.fail(new NotFoundError5({ path: input }));
131
+ return yield* Effect.fail(new NotFoundError2({ path: input }));
132
132
  return { absolute, real, directory: location.directory };
133
133
  });
134
- return Service35.of({
134
+ return Service16.of({
135
135
  find: search.find,
136
136
  read: Effect.fn("FileSystem.read")(function* (input) {
137
137
  const target = yield* resolve(input.path);
138
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input.path })), (_, error) => Effect.die(error)));
138
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
139
139
  if (info.type !== "File")
140
- return yield* Effect.fail(new NotFoundError5({ path: input.path }));
140
+ return yield* Effect.fail(new NotFoundError2({ path: input.path }));
141
141
  return {
142
142
  mime: FSUtil.mimeType(target.real),
143
143
  size: Number(info.size),
@@ -147,7 +147,7 @@ var baseLayer = Layer.effect(Service35, Effect.gen(function* () {
147
147
  }),
148
148
  list: Effect.fn("FileSystem.list")(function* (input = {}) {
149
149
  const directory = path.resolve(location.directory, input.path ?? ".");
150
- const missing = new NotFoundError5({ path: RelativePath2.make(input.path ?? ".") });
150
+ const missing = new NotFoundError2({ path: RelativePath2.make(input.path ?? ".") });
151
151
  const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
152
152
  if (info.type !== "Directory")
153
153
  return yield* missing;
@@ -171,10 +171,10 @@ var baseLayer = Layer.effect(Service35, Effect.gen(function* () {
171
171
  })
172
172
  });
173
173
  }));
174
- var node38 = makeLocationNode({
175
- service: Service35,
174
+ var node18 = makeLocationNode({
175
+ service: Service16,
176
176
  layer: baseLayer,
177
- deps: [FSUtil.node, node82, node39]
177
+ deps: [FSUtil.node, node80, node19]
178
178
  });
179
179
 
180
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError5, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event7, Service35, node38, exports_filesystem, Entry2, Match2, Submatch2 };
180
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3, Service16, node18, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./bus-3vkqtywc.js";
4
+ } from "./provider-p5h4w4th.js";
5
5
  import {
6
6
  __export
7
- } from "./bus-9rqn6x4v.js";
7
+ } from "./provider-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,31 +12,31 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event20,
15
+ Event: () => Event19,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID17,
20
- Info: () => Info28,
19
+ ID: () => ID15,
20
+ Info: () => Info25,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError11,
23
+ NotFoundError: () => NotFoundError9,
24
24
  Reply: () => Reply3,
25
- Service: () => Service82,
25
+ Service: () => Service71,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
- layer: () => layer27,
29
- node: () => node86,
28
+ layer: () => layer26,
29
+ node: () => node74,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event20 } from "@opencode/schema/form";
36
+ import { Event as Event19 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID17 = Form.ID;
39
- var Info28 = Form.Info;
38
+ var ID15 = Form.ID;
39
+ var Info25 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
@@ -44,8 +44,8 @@ var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
- class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID17
47
+ class NotFoundError9 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID15
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID17
56
+ id: ID15
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID17
64
+ id: ID15
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID17,
72
+ id: ID15,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service82 extends Context.Service()("@opencode/Form") {
82
+ class Service71 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer27 = Layer.effect(Service82, Effect.gen(function* () {
84
+ var layer26 = Layer.effect(Service71, Effect.gen(function* () {
85
85
  const bus = yield* Service84;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
88
88
  capacity: Number.MAX_SAFE_INTEGER,
89
89
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
90
90
  });
91
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError11({ id })))));
91
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError9({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID17.create();
93
+ const id = input.id ?? ID15.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -162,9 +162,9 @@ var layer27 = Layer.effect(Service82, Effect.gen(function* () {
162
162
  closed = true;
163
163
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
164
164
  yield* Effect.addFinalizer(() => close);
165
- return Service82.of({ create, ask, get, list, state, reply, cancel, close });
165
+ return Service71.of({ create, ask, get, list, state, reply, cancel, close });
166
166
  }));
167
- var node86 = makeLocationNode({ service: Service82, layer: layer27, deps: [node88] });
167
+ var node74 = makeLocationNode({ service: Service71, layer: layer26, deps: [node88] });
168
168
  function validateAnswer2(form, answer) {
169
169
  const fields = new Map(form.map((field) => [field.key, field]));
170
170
  for (const key of Object.keys(answer)) {
@@ -316,4 +316,4 @@ function isDateTime(value) {
316
316
  return !Number.isNaN(new Date(value).getTime());
317
317
  }
318
318
 
319
- export { ID17, Info28, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError11, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service82, layer27, node86, validateAnswer2, validateFields2, exports_form, Event20 };
319
+ export { ID15, Info25, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError9, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service71, layer26, node74, validateAnswer2, validateFields2, exports_form, Event19 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./bus-9rqn6x4v.js";
3
+ } from "./provider-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/unavailable.ts
6
6
  var exports_unavailable = {};
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./bus-z5v4ffb3.js";
3
+ } from "./provider-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./bus-9rqn6x4v.js";
6
+ } from "./provider-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service13,
11
+ Service: () => Service6,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node15
13
+ node: () => node8
14
14
  });
15
15
  import path from "path";
16
16
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service13 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service6 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service13, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service6, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service13.of({
66
+ return Service6.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node15 = makeGlobalNode({ service: Service13, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node8 = makeGlobalNode({ service: Service6, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service13, node15, exports_discovery };
155
+ export { Service6, node8, exports_discovery };