@opencode/core 0.0.0-dev-20560 → 0.0.0-dev-20561

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 (779) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +75 -75
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{provider-g91m6ns0.js → filesystem-05s1xpx9.js} +5 -5
  8. package/dist/chunks/{provider-cg5tt1tt.js → filesystem-0b5d4wqg.js} +26 -26
  9. package/dist/chunks/{provider-29takrd9.js → filesystem-0darn3w3.js} +3 -3
  10. package/dist/chunks/{provider-z6x3qavv.js → filesystem-0g731nkn.js} +36 -36
  11. package/dist/chunks/{provider-9q9rjagx.js → filesystem-0p056far.js} +54 -54
  12. package/dist/chunks/{provider-0paq2nw3.js → filesystem-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{provider-q2y38gbr.js → filesystem-0vadek73.js} +6 -6
  14. package/dist/chunks/{provider-0vbcp93d.js → filesystem-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{provider-y117vq4z.js → filesystem-1178x954.js} +23 -23
  16. package/dist/chunks/{provider-1acjjqhc.js → filesystem-1acjjqhc.js} +1 -1
  17. package/dist/chunks/{provider-1dazxqgg.js → filesystem-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{provider-1dvck2a7.js → filesystem-1dvck2a7.js} +2 -2
  19. package/dist/chunks/{provider-1b47cdh9.js → filesystem-1k07r218.js} +9 -9
  20. package/dist/chunks/{provider-fyjp43ss.js → filesystem-1nwxscpy.js} +5 -5
  21. package/dist/chunks/{provider-skwdgpes.js → filesystem-1pb87kts.js} +10 -10
  22. package/dist/chunks/{provider-rdz0fprs.js → filesystem-20yrtfvs.js} +36 -36
  23. package/dist/chunks/{provider-hj6p1ak3.js → filesystem-21mjyg2m.js} +15 -15
  24. package/dist/chunks/{provider-2a5m3afh.js → filesystem-2a5m3afh.js} +1 -1
  25. package/dist/chunks/{provider-rnbem8r2.js → filesystem-2d5yxwhn.js} +5 -5
  26. package/dist/chunks/{provider-6hb4axps.js → filesystem-2e1yz4t0.js} +18 -18
  27. package/dist/chunks/{provider-8a762xj8.js → filesystem-2k4z4ex5.js} +166 -166
  28. package/dist/chunks/{provider-dtqny3g5.js → filesystem-2kn5e7ew.js} +11 -11
  29. package/dist/chunks/{provider-cjzg55rp.js → filesystem-2pb4n73y.js} +11 -11
  30. package/dist/chunks/{provider-3xtchf3h.js → filesystem-2w3n3m8j.js} +5 -5
  31. package/dist/chunks/{provider-vreax0eq.js → filesystem-2wcm31wb.js} +46 -46
  32. package/dist/chunks/{provider-6vnksd4p.js → filesystem-2wdzasa3.js} +30 -30
  33. package/dist/chunks/{provider-e8c09gwn.js → filesystem-2za63s1q.js} +324 -324
  34. package/dist/chunks/{provider-9sy89r0f.js → filesystem-33y1fd5k.js} +4 -4
  35. package/dist/chunks/{provider-5jrbfcyk.js → filesystem-3cy6ygha.js} +7 -7
  36. package/dist/chunks/{provider-3fc6dm20.js → filesystem-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{provider-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{provider-3smtnn6g.js → filesystem-3smtnn6g.js} +1 -1
  39. package/dist/chunks/{provider-3tvqynh2.js → filesystem-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{provider-5mffh87d.js → filesystem-3wdkwvwj.js} +23 -23
  41. package/dist/chunks/{provider-3zsf4n22.js → filesystem-3zsf4n22.js} +1 -1
  42. package/dist/chunks/{provider-raxp2c9r.js → filesystem-44e8p68v.js} +3 -3
  43. package/dist/chunks/{provider-9y0w708y.js → filesystem-4a0nv7mx.js} +8 -8
  44. package/dist/chunks/{provider-4ts7tf6z.js → filesystem-4ts7tf6z.js} +2 -2
  45. package/dist/chunks/{provider-435p4ksb.js → filesystem-50vxqkrt.js} +16 -16
  46. package/dist/chunks/{provider-cg82180e.js → filesystem-5167myhe.js} +11 -11
  47. package/dist/chunks/{provider-54ma36ye.js → filesystem-54ma36ye.js} +1 -1
  48. package/dist/chunks/{provider-1ygqh575.js → filesystem-56gdpj1q.js} +9 -9
  49. package/dist/chunks/{provider-6gp95x7h.js → filesystem-5c67hs8w.js} +24 -24
  50. package/dist/chunks/{provider-6es9ekve.js → filesystem-5cpk2dg7.js} +33 -33
  51. package/dist/chunks/{provider-5daktx2q.js → filesystem-5daktx2q.js} +1 -1
  52. package/dist/chunks/{provider-kwe77dsa.js → filesystem-5nv1sxm7.js} +8 -8
  53. package/dist/chunks/{provider-yspr33n3.js → filesystem-5s1dr8ae.js} +3 -3
  54. package/dist/chunks/{provider-5t3nmthw.js → filesystem-5t3nmthw.js} +2 -2
  55. package/dist/chunks/{provider-69n11mhg.js → filesystem-5xtsng1h.js} +24 -24
  56. package/dist/chunks/{provider-hc48ba3f.js → filesystem-61ga223q.js} +22 -22
  57. package/dist/chunks/{provider-6jmnagmy.js → filesystem-64dva6qk.js} +18 -18
  58. package/dist/chunks/{provider-669tq793.js → filesystem-669tq793.js} +1 -1
  59. package/dist/chunks/{provider-9szwjyee.js → filesystem-68dcddmz.js} +4 -4
  60. package/dist/chunks/{provider-2bx1hchp.js → filesystem-6hxqkvwn.js} +3 -3
  61. package/dist/chunks/{provider-9epr5phe.js → filesystem-6mrppxqh.js} +19 -19
  62. package/dist/chunks/{provider-xr86wyz0.js → filesystem-6y4y1s1z.js} +22 -22
  63. package/dist/chunks/{provider-71az546q.js → filesystem-71az546q.js} +2 -2
  64. package/dist/chunks/{provider-xd27s6m4.js → filesystem-72gzdak0.js} +22 -22
  65. package/dist/chunks/{provider-sg97scqd.js → filesystem-745q83q9.js} +27 -27
  66. package/dist/chunks/{provider-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
  67. package/dist/chunks/{provider-2k8khapm.js → filesystem-7dqw4kz8.js} +5 -5
  68. package/dist/chunks/{provider-d63p7tmf.js → filesystem-7g0a4xbf.js} +5 -5
  69. package/dist/chunks/{provider-0jq8n27z.js → filesystem-7gk56s9p.js} +16 -16
  70. package/dist/chunks/{provider-vnrsjt5v.js → filesystem-7mqtmdfv.js} +1 -1
  71. package/dist/chunks/{provider-fqb0yfph.js → filesystem-7tbpabav.js} +22 -22
  72. package/dist/chunks/{provider-we6nqpaf.js → filesystem-82p5sc74.js} +11 -11
  73. package/dist/chunks/{provider-33cp61c9.js → filesystem-8606fqv4.js} +13 -13
  74. package/dist/chunks/{provider-r2gk0ttq.js → filesystem-86mzb83b.js} +13 -13
  75. package/dist/chunks/{provider-vkrws2w1.js → filesystem-8bsq9cmc.js} +16 -16
  76. package/dist/chunks/{provider-8d7r5vzw.js → filesystem-8d7r5vzw.js} +1 -1
  77. package/dist/chunks/{provider-680jt4jr.js → filesystem-8zz7qfd2.js} +16 -16
  78. package/dist/chunks/{provider-9e5bzkjp.js → filesystem-9e5bzkjp.js} +3 -3
  79. package/dist/chunks/{provider-5ngaw42y.js → filesystem-9k8khh75.js} +9 -9
  80. package/dist/chunks/{provider-trdyvw7q.js → filesystem-9mbktg3q.js} +8 -8
  81. package/dist/chunks/{provider-af1qyrwf.js → filesystem-a1548wxn.js} +4 -4
  82. package/dist/chunks/{provider-73tb2d7t.js → filesystem-a1gpj94z.js} +3 -3
  83. package/dist/chunks/{provider-3zwwsd0z.js → filesystem-a1gzp32g.js} +29 -29
  84. package/dist/chunks/{provider-y3gt2pxq.js → filesystem-a7cdrn8g.js} +5 -5
  85. package/dist/chunks/{provider-aaet6srn.js → filesystem-aaet6srn.js} +2 -2
  86. package/dist/chunks/{provider-7syq4jmg.js → filesystem-aaxagp5t.js} +14 -14
  87. package/dist/chunks/{provider-x661k3y3.js → filesystem-addxnjmp.js} +4 -4
  88. package/dist/chunks/{provider-xrh33zgb.js → filesystem-aej1k0m3.js} +21 -21
  89. package/dist/chunks/{provider-2j8811pr.js → filesystem-afe1rz3j.js} +32 -32
  90. package/dist/chunks/{provider-0ym7r8mw.js → filesystem-ap0z94yk.js} +1 -1
  91. package/dist/chunks/{provider-m5jcjszt.js → filesystem-arz7hw7x.js} +3 -3
  92. package/dist/chunks/{provider-x2rw7g36.js → filesystem-axs6pdy0.js} +5 -5
  93. package/dist/chunks/{provider-cywzwz9x.js → filesystem-b1ejk53y.js} +17 -17
  94. package/dist/chunks/{provider-kadn9d92.js → filesystem-b49trrwf.js} +14 -14
  95. package/dist/chunks/{provider-8sze2n9a.js → filesystem-b4twkq7r.js} +2 -2
  96. package/dist/chunks/{provider-gj71zhbs.js → filesystem-b674v2dg.js} +5 -5
  97. package/dist/chunks/{provider-b6gygkdw.js → filesystem-b6gygkdw.js} +2 -2
  98. package/dist/chunks/{provider-cq1crqf5.js → filesystem-bd0wg847.js} +29 -29
  99. package/dist/chunks/{provider-470p4mvx.js → filesystem-bh7b7fwa.js} +17 -17
  100. package/dist/chunks/{provider-70wfxkqk.js → filesystem-bhmagzz7.js} +5 -5
  101. package/dist/chunks/{provider-ydm09vy0.js → filesystem-bp3dz00c.js} +7 -7
  102. package/dist/chunks/filesystem-brhkvxaw.js +253 -0
  103. package/dist/chunks/{provider-k1bc9b3q.js → filesystem-c42w5rbs.js} +13 -13
  104. package/dist/chunks/{provider-ff0htmxq.js → filesystem-c8bydgjz.js} +6 -6
  105. package/dist/chunks/{provider-5yzzbxa7.js → filesystem-cmwkp3r5.js} +8 -8
  106. package/dist/chunks/{provider-e4ng0cwh.js → filesystem-csgf08gg.js} +15 -15
  107. package/dist/chunks/filesystem-ctefx7dc.js +18 -0
  108. package/dist/chunks/{provider-mcdat7hx.js → filesystem-cwvd40hs.js} +8 -8
  109. package/dist/chunks/{provider-v6ee4kkz.js → filesystem-d19qcdcp.js} +29 -29
  110. package/dist/chunks/{provider-aekpz6sr.js → filesystem-d3efwvz5.js} +48 -48
  111. package/dist/chunks/{provider-9kangp0z.js → filesystem-da721fkj.js} +8 -8
  112. package/dist/chunks/{provider-6j3fzm1y.js → filesystem-ddf5b0s2.js} +19 -19
  113. package/dist/chunks/{provider-j7ab7yhq.js → filesystem-demj5k7q.js} +10 -10
  114. package/dist/chunks/{provider-xcmk6yw7.js → filesystem-dhcb13vn.js} +11 -11
  115. package/dist/chunks/{provider-kne8f3cn.js → filesystem-dhmh7aw6.js} +4 -4
  116. package/dist/chunks/{provider-dpkg50ah.js → filesystem-dpkg50ah.js} +1 -1
  117. package/dist/chunks/{provider-x8fg1acq.js → filesystem-dqz32msn.js} +10 -10
  118. package/dist/chunks/{provider-7cp65q13.js → filesystem-dt1mmnkg.js} +56 -56
  119. package/dist/chunks/{provider-z2zdbf9m.js → filesystem-dypdz9hf.js} +24 -24
  120. package/dist/chunks/{provider-79wzcjsa.js → filesystem-dyyz5283.js} +6 -6
  121. package/dist/chunks/{provider-z4hyjh59.js → filesystem-e53c762s.js} +4 -4
  122. package/dist/chunks/{provider-dky9q78m.js → filesystem-e656h771.js} +24 -24
  123. package/dist/chunks/{provider-erxm7rkb.js → filesystem-e66qqpgz.js} +23 -23
  124. package/dist/chunks/{provider-0hs982sg.js → filesystem-eb1dxvtt.js} +10 -10
  125. package/dist/chunks/{provider-f8t71jt9.js → filesystem-ee5sde4w.js} +19 -19
  126. package/dist/chunks/{provider-ef5x83kb.js → filesystem-ef5x83kb.js} +1 -1
  127. package/dist/chunks/{provider-3v7w85me.js → filesystem-eh93c3s7.js} +9 -9
  128. package/dist/chunks/{provider-qj5ds43h.js → filesystem-en2hpwz4.js} +38 -38
  129. package/dist/chunks/{provider-49d8wj3j.js → filesystem-epephavf.js} +11 -11
  130. package/dist/chunks/{provider-h9pnpq88.js → filesystem-espax8zg.js} +4 -4
  131. package/dist/chunks/{provider-etq0c3wd.js → filesystem-etq0c3wd.js} +1 -1
  132. package/dist/chunks/{provider-jp0zb534.js → filesystem-eycb1p8a.js} +19 -19
  133. package/dist/chunks/{provider-0631dk44.js → filesystem-ez14c0m1.js} +35 -35
  134. package/dist/chunks/{provider-50wdke11.js → filesystem-f99wh82f.js} +6 -6
  135. package/dist/chunks/{provider-9r803xq9.js → filesystem-fahsxrte.js} +11 -11
  136. package/dist/chunks/{provider-pe07j12a.js → filesystem-fcvkxbgs.js} +24 -24
  137. package/dist/chunks/{provider-g1axe9mw.js → filesystem-ff11qc79.js} +9 -9
  138. package/dist/chunks/{provider-9t52bdds.js → filesystem-fjt2jd2k.js} +47 -47
  139. package/dist/chunks/{provider-jcwdcbg9.js → filesystem-fme8rgsj.js} +4 -4
  140. package/dist/chunks/{provider-7cd1ytca.js → filesystem-fnnra18v.js} +10 -10
  141. package/dist/chunks/{provider-73szrdfc.js → filesystem-fsxfdkb2.js} +16 -16
  142. package/dist/chunks/{provider-bzvxwtgf.js → filesystem-ft0syenm.js} +41 -41
  143. package/dist/chunks/{provider-prq7hedt.js → filesystem-fwwk8vbp.js} +9 -9
  144. package/dist/chunks/{provider-gyx3rp2r.js → filesystem-fx0ft7bw.js} +16 -16
  145. package/dist/chunks/{provider-gmkravmr.js → filesystem-g3wadahe.js} +13 -13
  146. package/dist/chunks/{provider-tge9ftn1.js → filesystem-g4kgyb8v.js} +9 -9
  147. package/dist/chunks/{provider-xfkkasph.js → filesystem-g5w8qwbj.js} +4 -4
  148. package/dist/chunks/{provider-w39jehkq.js → filesystem-g6yfr6ja.js} +5 -5
  149. package/dist/chunks/{provider-tpykdk7e.js → filesystem-gbm58kyz.js} +23 -23
  150. package/dist/chunks/{provider-gd4qta3r.js → filesystem-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{provider-z6saq0r8.js → filesystem-gqk7pm7c.js} +31 -31
  152. package/dist/chunks/{provider-zgfgymxp.js → filesystem-gt8z7hnk.js} +9 -9
  153. package/dist/chunks/{provider-kjhbxppm.js → filesystem-gwfpf1r0.js} +31 -31
  154. package/dist/chunks/{provider-p9tbp9qs.js → filesystem-gx4wbphy.js} +8 -8
  155. package/dist/chunks/{provider-h2b79v29.js → filesystem-h2b79v29.js} +2 -2
  156. package/dist/chunks/{provider-m7wfyeg7.js → filesystem-h31epwvj.js} +14 -14
  157. package/dist/chunks/{provider-k423vsa4.js → filesystem-h4bey8yr.js} +22 -22
  158. package/dist/chunks/{provider-3x10bfpz.js → filesystem-h6gabqmb.js} +17 -17
  159. package/dist/chunks/{provider-h6vf3j39.js → filesystem-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{provider-a1r079t2.js → filesystem-hf0fjtc4.js} +13 -13
  161. package/dist/chunks/{provider-jjaddj82.js → filesystem-hj8vgj88.js} +17 -17
  162. package/dist/chunks/{provider-y7gnf2d1.js → filesystem-hkh5g506.js} +14 -14
  163. package/dist/chunks/{provider-wgn1zfzh.js → filesystem-ht5zbj26.js} +2 -2
  164. package/dist/chunks/{provider-63j7grd1.js → filesystem-hz0q9sdq.js} +4 -4
  165. package/dist/chunks/{provider-j56e64zr.js → filesystem-j56e64zr.js} +1 -1
  166. package/dist/chunks/{provider-t08kermd.js → filesystem-j7qdy4kr.js} +13 -13
  167. package/dist/chunks/{provider-hkh1gyze.js → filesystem-jeegv1qz.js} +32 -32
  168. package/dist/chunks/{provider-h4ckqw4f.js → filesystem-jervv9x6.js} +8 -8
  169. package/dist/chunks/{provider-986x86b7.js → filesystem-jf9xte2j.js} +44 -44
  170. package/dist/chunks/{provider-4m14wrc9.js → filesystem-jkgq88nr.js} +13 -13
  171. package/dist/chunks/{provider-q4c9f7y5.js → filesystem-jmn6tp13.js} +10 -10
  172. package/dist/chunks/{provider-54bf5ftt.js → filesystem-jw6e3k9x.js} +27 -27
  173. package/dist/chunks/{provider-1d6v1ma9.js → filesystem-jyj71esj.js} +20 -20
  174. package/dist/chunks/{provider-rhwvwbyq.js → filesystem-k5981vyk.js} +11 -11
  175. package/dist/chunks/{provider-g31erja1.js → filesystem-k70p9jzb.js} +9 -9
  176. package/dist/chunks/{provider-9n2aebv8.js → filesystem-kevfspn8.js} +7 -7
  177. package/dist/chunks/{provider-jxh05zr6.js → filesystem-kf3zv6hf.js} +11 -11
  178. package/dist/chunks/{provider-r9t00hsy.js → filesystem-kjfdeayr.js} +8 -8
  179. package/dist/chunks/{provider-xqsqk9sp.js → filesystem-kteg0bd6.js} +14 -14
  180. package/dist/chunks/{provider-ykbx70vn.js → filesystem-kyc74hmy.js} +32 -32
  181. package/dist/chunks/{provider-m3fdjcah.js → filesystem-m3fdjcah.js} +1 -1
  182. package/dist/chunks/{provider-me3a999s.js → filesystem-m4fxjmpc.js} +9 -9
  183. package/dist/chunks/{provider-74mwd0vm.js → filesystem-m4g8rqwq.js} +11 -11
  184. package/dist/chunks/{provider-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
  185. package/dist/chunks/{provider-yps7s2q8.js → filesystem-mm0ehgq1.js} +35 -35
  186. package/dist/chunks/{provider-01285jvk.js → filesystem-mmhfxctp.js} +37 -37
  187. package/dist/chunks/{provider-jx6439b8.js → filesystem-mt3dh78v.js} +17 -17
  188. package/dist/chunks/{provider-xb50yt4b.js → filesystem-mwwxnxty.js} +4 -4
  189. package/dist/chunks/{provider-3sj8yt8v.js → filesystem-n1n192bv.js} +4 -4
  190. package/dist/chunks/{provider-c4r1z0h4.js → filesystem-n8df4ymx.js} +5 -5
  191. package/dist/chunks/{provider-2hcv837r.js → filesystem-ncfw2m6a.js} +10 -10
  192. package/dist/chunks/{provider-90rktb5s.js → filesystem-ng5taz21.js} +9 -9
  193. package/dist/chunks/{provider-d5577vah.js → filesystem-nkbqs3g6.js} +8 -8
  194. package/dist/chunks/{provider-c6dhd04y.js → filesystem-nkdq3f4j.js} +22 -22
  195. package/dist/chunks/{provider-52p7fva6.js → filesystem-nqw83y6t.js} +45 -45
  196. package/dist/chunks/{provider-v0xmac3n.js → filesystem-nqxj0yn4.js} +2 -2
  197. package/dist/chunks/{provider-a8bn8zg0.js → filesystem-nrdmrqsx.js} +4 -4
  198. package/dist/chunks/{provider-n2thn3nx.js → filesystem-ns3eape4.js} +1 -1
  199. package/dist/chunks/{provider-nrgk47gy.js → filesystem-p2nmdyzb.js} +10 -10
  200. package/dist/chunks/{provider-pmv6ntjp.js → filesystem-p4pj0byg.js} +18 -18
  201. package/dist/chunks/{provider-pjvnvgmy.js → filesystem-pjvnvgmy.js} +1 -1
  202. package/dist/chunks/{provider-pknna89w.js → filesystem-pknna89w.js} +1 -1
  203. package/dist/chunks/{provider-ap47h660.js → filesystem-ppnybpah.js} +15 -15
  204. package/dist/chunks/{provider-1vcbmft8.js → filesystem-ptnpxtm5.js} +25 -25
  205. package/dist/chunks/{provider-s9n824c4.js → filesystem-ptwr3tsj.js} +3 -3
  206. package/dist/chunks/{provider-7pna4pjx.js → filesystem-pw0ckph3.js} +12 -12
  207. package/dist/chunks/filesystem-q0w5zgnd.js +26 -0
  208. package/dist/chunks/{provider-q0xm7vwc.js → filesystem-q0xm7vwc.js} +2 -2
  209. package/dist/chunks/{provider-mkr0nv12.js → filesystem-q86s7tss.js} +20 -20
  210. package/dist/chunks/{provider-vbfgae2j.js → filesystem-qbqbaz6q.js} +4 -4
  211. package/dist/chunks/{provider-kfxyjhp2.js → filesystem-qgyv1dwh.js} +3 -3
  212. package/dist/chunks/{provider-crkpb7cs.js → filesystem-qhrb4a35.js} +20 -20
  213. package/dist/chunks/{provider-cwa6csj7.js → filesystem-qmqgtz8f.js} +9 -9
  214. package/dist/chunks/{provider-qnc92qwc.js → filesystem-qnc92qwc.js} +1 -1
  215. package/dist/chunks/{provider-qsdy395h.js → filesystem-qsdy395h.js} +1 -1
  216. package/dist/chunks/{provider-xyafkbt0.js → filesystem-qxjc9qry.js} +3 -3
  217. package/dist/chunks/{provider-qds735d4.js → filesystem-qyfgy2gq.js} +27 -27
  218. package/dist/chunks/{provider-4jvsrzf3.js → filesystem-r3z47bx0.js} +21 -21
  219. package/dist/chunks/{provider-n8hzfk5n.js → filesystem-r9jqn31q.js} +15 -15
  220. package/dist/chunks/{provider-rdw6cm16.js → filesystem-rdw6cm16.js} +1 -1
  221. package/dist/chunks/{provider-db0cs2kz.js → filesystem-rt07f39r.js} +31 -31
  222. package/dist/chunks/{provider-6e7wsvmk.js → filesystem-rz34hq66.js} +25 -25
  223. package/dist/chunks/{provider-a8ded0f6.js → filesystem-s7pdhzrp.js} +13 -13
  224. package/dist/chunks/{provider-gstkmqpe.js → filesystem-s85m4ty3.js} +5 -5
  225. package/dist/chunks/{provider-s8d7rejh.js → filesystem-s8d7rejh.js} +1 -1
  226. package/dist/chunks/{provider-mt1f1117.js → filesystem-secpxc4k.js} +13 -13
  227. package/dist/chunks/{provider-ax2gd5n1.js → filesystem-sfa3hexk.js} +18 -18
  228. package/dist/chunks/{provider-khr9akvx.js → filesystem-sgma6wrx.js} +32 -32
  229. package/dist/chunks/{provider-veqfhemw.js → filesystem-snf1tfdw.js} +6 -6
  230. package/dist/chunks/{provider-6hh8tjw2.js → filesystem-sxz6gkc3.js} +5 -5
  231. package/dist/chunks/{provider-ve9zm8mm.js → filesystem-t35etwb9.js} +11 -11
  232. package/dist/chunks/{provider-t8h9k6kt.js → filesystem-taex66d2.js} +3 -3
  233. package/dist/chunks/{provider-tazgh4e4.js → filesystem-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{provider-89znhe33.js → filesystem-tcezcvh9.js} +4 -4
  235. package/dist/chunks/{provider-tdstcens.js → filesystem-tdstcens.js} +1 -1
  236. package/dist/chunks/{provider-dwhba9yv.js → filesystem-te6tp5cr.js} +30 -30
  237. package/dist/chunks/{provider-a2ky4jhc.js → filesystem-tfryn9s8.js} +74 -74
  238. package/dist/chunks/{provider-s783479j.js → filesystem-tv0940e9.js} +44 -44
  239. package/dist/chunks/{provider-t6ybzkhe.js → filesystem-tx57kkma.js} +29 -29
  240. package/dist/chunks/{provider-6g7e4dd5.js → filesystem-v0es1rhs.js} +7 -7
  241. package/dist/chunks/{provider-wymd7d8j.js → filesystem-v8r5by3x.js} +87 -87
  242. package/dist/chunks/{provider-tr8bqbe2.js → filesystem-vafjtnbs.js} +10 -10
  243. package/dist/chunks/{provider-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
  244. package/dist/chunks/{provider-rzs3gq0x.js → filesystem-vgx6weyf.js} +8 -8
  245. package/dist/chunks/{provider-p98bz656.js → filesystem-vnqerq2z.js} +15 -15
  246. package/dist/chunks/{provider-3ynjgzpx.js → filesystem-vr31stga.js} +3 -3
  247. package/dist/chunks/{provider-mcrs9awc.js → filesystem-vr6dg64g.js} +3 -3
  248. package/dist/chunks/{provider-sh9zb4hv.js → filesystem-vt69289g.js} +94 -94
  249. package/dist/chunks/{provider-grbwyzfx.js → filesystem-vvecbeba.js} +23 -23
  250. package/dist/chunks/{provider-vzcthcp8.js → filesystem-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{provider-vzs5sf6e.js → filesystem-vzs5sf6e.js} +1 -1
  252. package/dist/chunks/{provider-84txncab.js → filesystem-w1eejvng.js} +5 -5
  253. package/dist/chunks/{provider-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{provider-g762atc6.js → filesystem-w8djw5a7.js} +9 -9
  255. package/dist/chunks/{provider-w3ejnnxx.js → filesystem-wc87bz9b.js} +27 -27
  256. package/dist/chunks/{provider-wd87259q.js → filesystem-wd87259q.js} +1 -1
  257. package/dist/chunks/{provider-zwh81tv5.js → filesystem-wjk84ptv.js} +25 -25
  258. package/dist/chunks/{provider-wac6chsn.js → filesystem-wnm70ssr.js} +21 -21
  259. package/dist/chunks/{provider-x1ezjp6w.js → filesystem-x1ezjp6w.js} +1 -1
  260. package/dist/chunks/{provider-3vtrhh30.js → filesystem-xd0jjt73.js} +11 -11
  261. package/dist/chunks/{provider-r5rttqkx.js → filesystem-xew8gt5p.js} +26 -26
  262. package/dist/chunks/{provider-dmqcgk4z.js → filesystem-xkntkrq7.js} +5 -5
  263. package/dist/chunks/{provider-w90th1wq.js → filesystem-xmcfxvam.js} +8 -8
  264. package/dist/chunks/{provider-y1fvbwt7.js → filesystem-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{provider-aydwb50t.js → filesystem-ybjb50wp.js} +11 -11
  266. package/dist/chunks/{provider-17n19r01.js → filesystem-ykk2czw6.js} +30 -30
  267. package/dist/chunks/{provider-1qwpq4r3.js → filesystem-yvxbrs33.js} +9 -9
  268. package/dist/chunks/{provider-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
  269. package/dist/chunks/{provider-ezr7p14b.js → filesystem-z25t9qfb.js} +28 -28
  270. package/dist/chunks/{provider-t55zzdc3.js → filesystem-z2fhbmnd.js} +22 -22
  271. package/dist/chunks/{provider-3ch8yd3e.js → filesystem-z5earm0j.js} +15 -15
  272. package/dist/chunks/{provider-mcb0hy3p.js → filesystem-z6qgms2n.js} +27 -27
  273. package/dist/chunks/{provider-hnp531gc.js → filesystem-z7bsjx09.js} +11 -11
  274. package/dist/chunks/{provider-jy6n4x97.js → filesystem-zc5g640q.js} +12 -12
  275. package/dist/chunks/{provider-8xrn7n4t.js → filesystem-zek9rv4e.js} +4 -4
  276. package/dist/chunks/{provider-zmzek11k.js → filesystem-zf29esk9.js} +13 -13
  277. package/dist/chunks/{provider-8hbyspe1.js → filesystem-zfs19yjd.js} +18 -18
  278. package/dist/chunks/{provider-zfs8ae4p.js → filesystem-zfs8ae4p.js} +4 -4
  279. package/dist/chunks/{provider-w8rdajxk.js → filesystem-zqaa94x3.js} +48 -48
  280. package/dist/chunks/{provider-zr2ceqn5.js → filesystem-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{provider-wzj2gnv1.js → filesystem-zr4r5d69.js} +47 -47
  282. package/dist/chunks/{provider-zxq2ej10.js → filesystem-zxq2ej10.js} +1 -1
  283. package/dist/chunks/{provider-qygbw77c.js → filesystem-zyk1yjk8.js} +5 -5
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +7 -7
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +85 -85
  289. package/dist/config/discovery.js +84 -84
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +99 -99
  292. package/dist/config/plugin/agent.js +118 -118
  293. package/dist/config/plugin/command.js +207 -207
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +134 -134
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +90 -90
  300. package/dist/config/plugin/location-watcher.js +118 -118
  301. package/dist/config/plugin/mcp.js +125 -125
  302. package/dist/config/plugin/policy.js +117 -117
  303. package/dist/config/plugin/provider.js +116 -116
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +118 -118
  306. package/dist/config/plugin/skill-file.js +102 -102
  307. package/dist/config/plugin/skill.js +137 -137
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +119 -119
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +117 -117
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +121 -121
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +79 -79
  318. package/dist/database/database.js +66 -66
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +14 -14
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration.gen.js +49 -49
  384. package/dist/database/migration.js +51 -51
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +76 -76
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +363 -363
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +1 -1
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +93 -93
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +93 -93
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +74 -74
  408. package/dist/file-access.js +104 -104
  409. package/dist/file-mutation.js +94 -94
  410. package/dist/file-retention.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/location-watcher-policy.js +6 -6
  416. package/dist/filesystem/location-watcher.js +220 -220
  417. package/dist/filesystem/protected.js +3 -3
  418. package/dist/filesystem/search.js +103 -103
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +13 -13
  421. package/dist/filesystem.js +106 -106
  422. package/dist/form.js +80 -80
  423. package/dist/formatter/builtins.js +4 -4
  424. package/dist/formatter.js +87 -87
  425. package/dist/generate.js +105 -105
  426. package/dist/git.js +10 -10
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +91 -91
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +5 -5
  449. package/dist/instance.js +354 -354
  450. package/dist/instruction-discovery.js +81 -81
  451. package/dist/instructions/builtins.js +87 -87
  452. package/dist/instructions/index.js +1 -1
  453. package/dist/integration/connection.js +3 -3
  454. package/dist/integration.js +85 -85
  455. package/dist/job.js +78 -78
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +73 -73
  458. package/dist/location-activity.js +134 -134
  459. package/dist/location-lifecycle.js +107 -107
  460. package/dist/location-service-map.js +86 -86
  461. package/dist/location-services.js +351 -351
  462. package/dist/location.js +87 -87
  463. package/dist/managed-policy.js +3 -3
  464. package/dist/mcp/client.js +91 -91
  465. package/dist/mcp/index.js +109 -109
  466. package/dist/mcp/instructions.js +129 -129
  467. package/dist/mcp/oauth.js +78 -78
  468. package/dist/mcp/stdio.js +90 -90
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +91 -91
  471. package/dist/model-resolver.js +98 -98
  472. package/dist/model.js +102 -102
  473. package/dist/models-dev.js +99 -99
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +80 -80
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +107 -107
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +82 -82
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +75 -75
  483. package/dist/plugin/agent.js +104 -104
  484. package/dist/plugin/command.js +102 -102
  485. package/dist/plugin/hooks.js +5 -5
  486. package/dist/plugin/host.js +211 -211
  487. package/dist/plugin/identity.js +3 -3
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +326 -326
  490. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  491. package/dist/plugin/models-dev.js +96 -96
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +2 -2
  494. package/dist/plugin/plan.js +102 -102
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  497. package/dist/plugin/provider/azure.js +117 -117
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/chatgpt.js +93 -93
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +112 -112
  504. package/dist/plugin/provider/digitalocean.js +93 -93
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/gateway.js +2 -2
  508. package/dist/plugin/provider/github-copilot.js +95 -95
  509. package/dist/plugin/provider/gitlab.js +93 -93
  510. package/dist/plugin/provider/google-vertex.js +90 -90
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +78 -78
  513. package/dist/plugin/provider/lmstudio.js +115 -115
  514. package/dist/plugin/provider/modal.js +92 -92
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +115 -115
  517. package/dist/plugin/provider/openai.js +93 -93
  518. package/dist/plugin/provider/opencode.js +96 -96
  519. package/dist/plugin/provider/openrouter.js +91 -91
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +79 -79
  522. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  523. package/dist/plugin/provider/sap-ai-core.js +91 -91
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  526. package/dist/plugin/provider/vercel.js +90 -90
  527. package/dist/plugin/provider/vllm.js +115 -115
  528. package/dist/plugin/provider/xai.js +91 -91
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +155 -155
  531. package/dist/plugin/sdk.js +76 -76
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +134 -134
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +345 -345
  536. package/dist/plugin/tool-input-repair.js +4 -4
  537. package/dist/plugin/update.js +6 -6
  538. package/dist/plugin/vcs/git.js +86 -86
  539. package/dist/plugin/vcs/hg.js +86 -86
  540. package/dist/plugin/verbosity.js +93 -93
  541. package/dist/plugin/warming.js +114 -114
  542. package/dist/plugin/websearch/exa.js +7 -7
  543. package/dist/plugin/websearch/firecrawl.js +8 -8
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +6 -6
  546. package/dist/plugin/websearch/parallel.js +8 -8
  547. package/dist/plugin/websearch/tavily.js +4 -4
  548. package/dist/plugin/websearch/tinyfish.js +8 -8
  549. package/dist/plugin.js +222 -222
  550. package/dist/project/schema.js +6 -6
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +88 -88
  553. package/dist/provider.js +97 -97
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +93 -93
  557. package/dist/reference/instructions.js +87 -87
  558. package/dist/reference.js +89 -89
  559. package/dist/repository-cache.js +81 -81
  560. package/dist/repository.js +3 -3
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +97 -97
  563. package/dist/rpc.js +86 -86
  564. package/dist/schema.js +1 -1
  565. package/dist/session/affinity.js +1 -1
  566. package/dist/session/command.js +74 -74
  567. package/dist/session/compaction.js +133 -133
  568. package/dist/session/context.js +153 -153
  569. package/dist/session/diff.js +88 -88
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +5 -5
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +217 -217
  574. package/dist/session/execution.js +125 -125
  575. package/dist/session/generate.js +154 -154
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +86 -86
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +79 -79
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +97 -97
  582. package/dist/session/message-updater.js +4 -4
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +118 -118
  585. package/dist/session/model-transport.js +7 -7
  586. package/dist/session/move.js +129 -129
  587. package/dist/session/projector.js +86 -86
  588. package/dist/session/prompt.js +105 -105
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +90 -90
  591. package/dist/session/run-coordinator.js +1 -1
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +224 -224
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +98 -98
  596. package/dist/session/runner/publish-llm-event.js +113 -113
  597. package/dist/session/runner/retry.js +4 -4
  598. package/dist/session/runner/step.js +125 -125
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +164 -164
  602. package/dist/session/shell.js +130 -130
  603. package/dist/session/skill.js +103 -103
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +73 -73
  606. package/dist/session/store.js +87 -87
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +203 -203
  609. package/dist/session/system-prompt.js +3 -3
  610. package/dist/session/title.js +157 -157
  611. package/dist/session/to-session-error.js +111 -111
  612. package/dist/session/transfer.js +213 -213
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +211 -211
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +13 -13
  619. package/dist/shell.js +130 -130
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +107 -107
  622. package/dist/skill.js +104 -104
  623. package/dist/snapshot.js +91 -91
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +128 -128
  628. package/dist/tool/plugin/edit.js +120 -120
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +120 -120
  631. package/dist/tool/plugin/grep.js +122 -122
  632. package/dist/tool/plugin/mcp-resource.js +117 -117
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +114 -114
  635. package/dist/tool/plugin/question.js +103 -103
  636. package/dist/tool/plugin/read.js +123 -123
  637. package/dist/tool/plugin/shell.js +210 -210
  638. package/dist/tool/plugin/skill.js +111 -111
  639. package/dist/tool/plugin/subagent.js +204 -204
  640. package/dist/tool/plugin/webfetch.js +112 -112
  641. package/dist/tool/plugin/websearch.js +114 -114
  642. package/dist/tool/plugin/write.js +114 -114
  643. package/dist/tool/read-filesystem.js +100 -100
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +7 -7
  646. package/dist/tool.js +16 -16
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/git-executable.js +2 -2
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +5 -5
  657. package/dist/v1/config/command.js +3 -3
  658. package/dist/v1/config/error.js +2 -2
  659. package/dist/v1/config/mcp.js +4 -4
  660. package/dist/v1/config/migrate.js +92 -92
  661. package/dist/v1/config/permission.js +3 -3
  662. package/dist/v1/config/plugin.js +3 -3
  663. package/dist/v1/config/provider-options.js +1 -1
  664. package/dist/v1/config/provider.js +4 -4
  665. package/dist/variant.js +91 -91
  666. package/dist/vcs/patch.js +1 -1
  667. package/dist/vcs.js +89 -89
  668. package/dist/websearch.js +78 -78
  669. package/dist/wellknown/plugin.js +76 -76
  670. package/dist/wellknown.js +77 -77
  671. package/dist/workspace/driver.js +3 -3
  672. package/dist/workspace/sql.js +1 -1
  673. package/dist/workspace.js +80 -80
  674. package/dist/worktree/directory.js +2 -2
  675. package/dist/worktree/git.js +10 -10
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree/strategies.js +89 -89
  678. package/dist/worktree.js +96 -96
  679. package/package.json +8 -8
  680. package/dist/chunks/provider-4v7qdvcn.js +0 -18
  681. package/dist/chunks/provider-9ztar93x.js +0 -26
  682. package/dist/chunks/provider-yhapg49b.js +0 -253
  683. /package/dist/chunks/{provider-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
  684. /package/dist/chunks/{provider-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
  685. /package/dist/chunks/{provider-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
  686. /package/dist/chunks/{provider-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
  687. /package/dist/chunks/{provider-1kg9ymc8.js → filesystem-1kg9ymc8.js} +0 -0
  688. /package/dist/chunks/{provider-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
  689. /package/dist/chunks/{provider-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
  690. /package/dist/chunks/{provider-2axfhc9x.js → filesystem-2axfhc9x.js} +0 -0
  691. /package/dist/chunks/{provider-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
  692. /package/dist/chunks/{provider-34c7v6d4.js → filesystem-34c7v6d4.js} +0 -0
  693. /package/dist/chunks/{provider-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
  694. /package/dist/chunks/{provider-3asan66x.js → filesystem-3asan66x.js} +0 -0
  695. /package/dist/chunks/{provider-3t0ybcrp.js → filesystem-3t0ybcrp.js} +0 -0
  696. /package/dist/chunks/{provider-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
  697. /package/dist/chunks/{provider-3w5fmr99.js → filesystem-3w5fmr99.js} +0 -0
  698. /package/dist/chunks/{provider-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
  699. /package/dist/chunks/{provider-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
  700. /package/dist/chunks/{provider-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
  701. /package/dist/chunks/{provider-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
  702. /package/dist/chunks/{provider-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
  703. /package/dist/chunks/{provider-53557ph1.js → filesystem-53557ph1.js} +0 -0
  704. /package/dist/chunks/{provider-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
  705. /package/dist/chunks/{provider-5qd3pb7m.js → filesystem-5qd3pb7m.js} +0 -0
  706. /package/dist/chunks/{provider-6prwharc.js → filesystem-6prwharc.js} +0 -0
  707. /package/dist/chunks/{provider-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
  708. /package/dist/chunks/{provider-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
  709. /package/dist/chunks/{provider-822emrt2.js → filesystem-822emrt2.js} +0 -0
  710. /package/dist/chunks/{provider-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
  711. /package/dist/chunks/{provider-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
  712. /package/dist/chunks/{provider-8wj87zfr.js → filesystem-8wj87zfr.js} +0 -0
  713. /package/dist/chunks/{provider-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
  714. /package/dist/chunks/{provider-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
  715. /package/dist/chunks/{provider-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
  716. /package/dist/chunks/{provider-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
  717. /package/dist/chunks/{provider-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
  718. /package/dist/chunks/{provider-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
  719. /package/dist/chunks/{provider-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
  720. /package/dist/chunks/{provider-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
  721. /package/dist/chunks/{provider-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
  722. /package/dist/chunks/{provider-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
  723. /package/dist/chunks/{provider-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
  724. /package/dist/chunks/{provider-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
  725. /package/dist/chunks/{provider-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
  726. /package/dist/chunks/{provider-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
  727. /package/dist/chunks/{provider-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
  728. /package/dist/chunks/{provider-df08tz66.js → filesystem-df08tz66.js} +0 -0
  729. /package/dist/chunks/{provider-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
  730. /package/dist/chunks/{provider-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
  731. /package/dist/chunks/{provider-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
  732. /package/dist/chunks/{provider-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
  733. /package/dist/chunks/{provider-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
  734. /package/dist/chunks/{provider-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
  735. /package/dist/chunks/{provider-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
  736. /package/dist/chunks/{provider-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
  737. /package/dist/chunks/{provider-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
  738. /package/dist/chunks/{provider-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
  739. /package/dist/chunks/{provider-fxgpk5d8.js → filesystem-fxgpk5d8.js} +0 -0
  740. /package/dist/chunks/{provider-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
  741. /package/dist/chunks/{provider-g86h250q.js → filesystem-g86h250q.js} +0 -0
  742. /package/dist/chunks/{provider-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
  743. /package/dist/chunks/{provider-gftt206x.js → filesystem-gftt206x.js} +0 -0
  744. /package/dist/chunks/{provider-hjbc5kem.js → filesystem-hjbc5kem.js} +0 -0
  745. /package/dist/chunks/{provider-hk9envan.js → filesystem-hk9envan.js} +0 -0
  746. /package/dist/chunks/{provider-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
  747. /package/dist/chunks/{provider-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
  748. /package/dist/chunks/{provider-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
  749. /package/dist/chunks/{provider-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
  750. /package/dist/chunks/{provider-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
  751. /package/dist/chunks/{provider-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
  752. /package/dist/chunks/{provider-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
  753. /package/dist/chunks/{provider-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
  754. /package/dist/chunks/{provider-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
  755. /package/dist/chunks/{provider-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
  756. /package/dist/chunks/{provider-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
  757. /package/dist/chunks/{provider-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
  758. /package/dist/chunks/{provider-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
  759. /package/dist/chunks/{provider-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
  760. /package/dist/chunks/{provider-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
  761. /package/dist/chunks/{provider-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
  762. /package/dist/chunks/{provider-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
  763. /package/dist/chunks/{provider-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
  764. /package/dist/chunks/{provider-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
  765. /package/dist/chunks/{provider-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
  766. /package/dist/chunks/{provider-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
  767. /package/dist/chunks/{provider-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
  768. /package/dist/chunks/{provider-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
  769. /package/dist/chunks/{provider-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
  770. /package/dist/chunks/{provider-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
  771. /package/dist/chunks/{provider-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
  772. /package/dist/chunks/{provider-x61499pn.js → filesystem-x61499pn.js} +0 -0
  773. /package/dist/chunks/{provider-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
  774. /package/dist/chunks/{provider-y8cydn3q.js → filesystem-y8cydn3q.js} +0 -0
  775. /package/dist/chunks/{provider-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
  776. /package/dist/chunks/{provider-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
  777. /package/dist/chunks/{provider-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
  778. /package/dist/chunks/{provider-z5v4ffb3.js → filesystem-z5v4ffb3.js} +0 -0
  779. /package/dist/chunks/{provider-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
@@ -1,125 +1,125 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./provider-yspr33n3.js";
4
+ } from "./filesystem-5s1dr8ae.js";
5
5
  import {
6
- Service82,
7
- node85
8
- } from "./provider-y7gnf2d1.js";
6
+ Service83,
7
+ node87
8
+ } from "./filesystem-hkh5g506.js";
9
9
  import {
10
10
  SessionMessage2
11
- } from "./provider-gftt206x.js";
11
+ } from "./filesystem-gftt206x.js";
12
12
  import {
13
13
  StepFailedError2
14
- } from "./provider-veqfhemw.js";
14
+ } from "./filesystem-snf1tfdw.js";
15
15
  import {
16
16
  SessionEvent2
17
- } from "./provider-ec1grn59.js";
17
+ } from "./filesystem-ec1grn59.js";
18
18
  import {
19
19
  SessionMessageTable2
20
- } from "./provider-9e5bzkjp.js";
20
+ } from "./filesystem-9e5bzkjp.js";
21
21
  import {
22
22
  prepare4
23
- } from "./provider-zfs8ae4p.js";
23
+ } from "./filesystem-zfs8ae4p.js";
24
24
  import {
25
25
  provenance2
26
- } from "./provider-3sj8yt8v.js";
26
+ } from "./filesystem-n1n192bv.js";
27
27
  import {
28
28
  decodeMessageRow2,
29
29
  preview2
30
- } from "./provider-p9tbp9qs.js";
30
+ } from "./filesystem-gx4wbphy.js";
31
31
  import {
32
- Service63,
33
- node66
34
- } from "./provider-kadn9d92.js";
32
+ Service66,
33
+ node69
34
+ } from "./filesystem-b49trrwf.js";
35
35
  import {
36
- Service20,
37
- node23
38
- } from "./provider-rdz0fprs.js";
36
+ Service24,
37
+ node27
38
+ } from "./filesystem-20yrtfvs.js";
39
39
  import {
40
40
  llmClient2
41
- } from "./provider-5t3nmthw.js";
41
+ } from "./filesystem-5t3nmthw.js";
42
42
  import {
43
- Service32,
44
- node35
45
- } from "./provider-tge9ftn1.js";
43
+ Service36,
44
+ node40
45
+ } from "./filesystem-g4kgyb8v.js";
46
46
  import {
47
47
  baseTranscript2
48
- } from "./provider-db0cs2kz.js";
48
+ } from "./filesystem-rt07f39r.js";
49
49
  import {
50
- make11
51
- } from "./provider-qygbw77c.js";
50
+ make5
51
+ } from "./filesystem-zyk1yjk8.js";
52
52
  import {
53
53
  toSessionError2
54
- } from "./provider-y3gt2pxq.js";
54
+ } from "./filesystem-a7cdrn8g.js";
55
55
  import {
56
- Service10,
57
- node12,
56
+ Service8,
57
+ node10,
58
58
  estimatePrompt2
59
- } from "./provider-bzvxwtgf.js";
59
+ } from "./filesystem-ft0syenm.js";
60
60
  import {
61
- Service23,
62
- node27
63
- } from "./provider-wymd7d8j.js";
61
+ Service32,
62
+ node35
63
+ } from "./filesystem-v8r5by3x.js";
64
64
  import {
65
65
  serialized2,
66
66
  nextPromotable2,
67
67
  promote2
68
- } from "./provider-dky9q78m.js";
68
+ } from "./filesystem-e656h771.js";
69
69
  import {
70
- Service7,
70
+ Service2,
71
71
  isUntitled2,
72
- node9
73
- } from "./provider-v6ee4kkz.js";
72
+ node3
73
+ } from "./filesystem-d19qcdcp.js";
74
74
  import {
75
75
  DrainResult2,
76
- Service43
77
- } from "./provider-kne8f3cn.js";
76
+ Service46
77
+ } from "./filesystem-dhmh7aw6.js";
78
78
  import {
79
- node37
80
- } from "./provider-dwhba9yv.js";
79
+ node52
80
+ } from "./filesystem-te6tp5cr.js";
81
81
  import {
82
- node55
83
- } from "./provider-xcmk6yw7.js";
82
+ node82
83
+ } from "./filesystem-dhcb13vn.js";
84
84
  import {
85
85
  Outcome2,
86
- make8
87
- } from "./provider-c6dhd04y.js";
86
+ make3
87
+ } from "./filesystem-nkdq3f4j.js";
88
88
  import {
89
- Service29
90
- } from "./provider-4v7qdvcn.js";
89
+ Service41
90
+ } from "./filesystem-ctefx7dc.js";
91
91
  import {
92
- node15
93
- } from "./provider-xd27s6m4.js";
92
+ node19
93
+ } from "./filesystem-72gzdak0.js";
94
94
  import {
95
95
  MAX_STEPS_PROMPT2
96
- } from "./provider-y44na4kk.js";
96
+ } from "./filesystem-y44na4kk.js";
97
97
  import {
98
98
  __export
99
- } from "./provider-9rqn6x4v.js";
99
+ } from "./filesystem-9rqn6x4v.js";
100
100
 
101
101
  // src/session/runner/llm.ts
102
102
  var exports_llm = {};
103
103
  __export(exports_llm, {
104
104
  SessionRunnerLLM: () => exports_llm,
105
- node: () => node7
105
+ node: () => node2
106
106
  });
107
107
  import { Message } from "@opencode/ai";
108
108
  import { and, desc, eq, sql } from "drizzle-orm";
109
109
  import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
110
110
  import { makeLocationNode } from "@opencode/util/effect/app-node";
111
111
  var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
112
- var layer = Layer.effect(Service43, Effect.gen(function* () {
113
- const bus = yield* Service82;
114
- const lifecycle = yield* Service20;
115
- const store = yield* Service63;
116
- const context = yield* Service23;
117
- const modelTransport = yield* Service32;
112
+ var layer = Layer.effect(Service46, Effect.gen(function* () {
113
+ const bus = yield* Service83;
114
+ const lifecycle = yield* Service24;
115
+ const store = yield* Service66;
116
+ const context = yield* Service32;
117
+ const modelTransport = yield* Service36;
118
118
  const db = (yield* Service84).db;
119
- const compaction = yield* Service10;
120
- const plugins = yield* Service29;
121
- const title = yield* Service7;
122
- const steps = yield* make8;
119
+ const compaction = yield* Service8;
120
+ const plugins = yield* Service41;
121
+ const title = yield* Service2;
122
+ const steps = yield* make3;
123
123
  const titles = yield* FiberMap.make();
124
124
  const drain = Effect.fn("SessionRunner.drain")(function* (input) {
125
125
  const sessionID = input.sessionID;
@@ -240,7 +240,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
240
240
  const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
241
241
  const sessionID = first.session.id;
242
242
  let assistantMessageID = SessionMessage2.ID.create();
243
- const retry = yield* make11(bus, sessionID);
243
+ const retry = yield* make5(bus, sessionID);
244
244
  let initial = first;
245
245
  let recoverOverflow = true;
246
246
  let recoverContinuation = true;
@@ -356,25 +356,25 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
356
356
  }
357
357
  }
358
358
  });
359
- return Service43.of({ drain });
359
+ return Service46.of({ drain });
360
360
  }));
361
- var node7 = makeLocationNode({
362
- service: Service43,
361
+ var node2 = makeLocationNode({
362
+ service: Service46,
363
363
  layer,
364
364
  deps: [
365
- node85,
366
- node23,
367
- llmClient2,
365
+ node87,
368
366
  node27,
367
+ llmClient2,
369
368
  node35,
370
- node66,
371
- node12,
372
- node15,
373
- node9,
374
- node37,
375
- node55,
369
+ node40,
370
+ node69,
371
+ node10,
372
+ node19,
373
+ node3,
374
+ node52,
375
+ node82,
376
376
  node88
377
377
  ]
378
378
  });
379
379
 
380
- export { node7, exports_llm };
380
+ export { node2, exports_llm };
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID13,
3
- Service73,
4
- node76
5
- } from "./provider-54bf5ftt.js";
2
+ ID14,
3
+ Service75,
4
+ node79
5
+ } from "./filesystem-jw6e3k9x.js";
6
6
  import {
7
- ID12,
7
+ ID13,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
@@ -14,23 +14,23 @@ import {
14
14
  timeouts2,
15
15
  mergeOverlay2,
16
16
  mergeHeaders2,
17
- Service72,
18
- node75
19
- } from "./provider-t6ybzkhe.js";
17
+ Service74,
18
+ node78
19
+ } from "./filesystem-tx57kkma.js";
20
20
  import {
21
- Service69,
22
- node72
23
- } from "./provider-9r803xq9.js";
21
+ Service53,
22
+ node56
23
+ } from "./filesystem-fahsxrte.js";
24
24
  import {
25
- ID11,
25
+ ID6,
26
26
  VariantID2,
27
27
  Ref2,
28
- Service71,
29
- node74
30
- } from "./provider-6es9ekve.js";
28
+ Service60,
29
+ node63
30
+ } from "./filesystem-5cpk2dg7.js";
31
31
  import {
32
32
  __export
33
- } from "./provider-9rqn6x4v.js";
33
+ } from "./filesystem-9rqn6x4v.js";
34
34
 
35
35
  // src/model-resolver.ts
36
36
  var exports_model_resolver = {};
@@ -39,15 +39,15 @@ __export(exports_model_resolver, {
39
39
  ModelConfigurationError: () => ModelConfigurationError2,
40
40
  ModelInitializationError: () => ModelInitializationError2,
41
41
  ModelResolver: () => exports_model_resolver,
42
- Service: () => Service68,
42
+ Service: () => Service52,
43
43
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
44
44
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
45
45
  UnsupportedPackageError: () => UnsupportedPackageError2,
46
46
  VariantUnavailableError: () => VariantUnavailableError2,
47
47
  fromCatalogModel: () => fromCatalogModel2,
48
48
  hasPackage: () => hasPackage2,
49
- layer: () => layer24,
50
- node: () => node71,
49
+ layer: () => layer21,
50
+ node: () => node55,
51
51
  resolveModel: () => resolveModel2,
52
52
  withVariant: () => withVariant2
53
53
  });
@@ -57,8 +57,8 @@ import { Auth } from "@opencode/ai/route";
57
57
  import { Context, Effect, Layer, Schema, Struct } from "effect";
58
58
  import { Npm } from "@opencode/util/npm";
59
59
  class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
60
- providerID: ID12,
61
- modelID: ID11,
60
+ providerID: ID13,
61
+ modelID: ID6,
62
62
  variant: VariantID2
63
63
  }) {
64
64
  get message() {
@@ -67,8 +67,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
67
67
  }
68
68
 
69
69
  class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
70
- providerID: ID12,
71
- modelID: ID11,
70
+ providerID: ID13,
71
+ modelID: ID6,
72
72
  package: Schema.String
73
73
  }) {
74
74
  get message() {
@@ -78,8 +78,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
78
78
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
79
79
 
80
80
  class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
81
- providerID: ID12,
82
- modelID: ID11,
81
+ providerID: ID13,
82
+ modelID: ID6,
83
83
  package: Schema.String,
84
84
  detail: Schema.String
85
85
  }) {
@@ -89,8 +89,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
89
89
  }
90
90
 
91
91
  class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
92
- providerID: ID12,
93
- modelID: ID11,
92
+ providerID: ID13,
93
+ modelID: ID6,
94
94
  package: Schema.String,
95
95
  phase: InitializationPhase2,
96
96
  detail: Schema.String
@@ -101,8 +101,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
101
101
  }
102
102
 
103
103
  class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
104
- providerID: ID12,
105
- modelID: ID11,
104
+ providerID: ID13,
105
+ modelID: ID6,
106
106
  variables: Schema.Array(Schema.String)
107
107
  }) {
108
108
  get message() {
@@ -111,8 +111,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
111
111
  }
112
112
 
113
113
  class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
114
- providerID: ID12,
115
- modelID: ID11,
114
+ providerID: ID13,
115
+ modelID: ID6,
116
116
  route: Schema.String
117
117
  }) {
118
118
  get message() {
@@ -120,7 +120,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
120
120
  }
121
121
  }
122
122
 
123
- class Service68 extends Context.Service()("@opencode/ModelResolver") {
123
+ class Service52 extends Context.Service()("@opencode/ModelResolver") {
124
124
  }
125
125
  var withVariant2 = (model, variantID) => {
126
126
  const id = variantID === "default" ? undefined : variantID;
@@ -264,15 +264,15 @@ var causeMessage = (cause) => {
264
264
  };
265
265
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
266
266
  var hasPackage2 = (model) => Boolean(model.package);
267
- var layer24 = Layer.effect(Service68, Effect.gen(function* () {
268
- const providers = yield* Service72;
269
- const models = yield* Service71;
270
- const integrations = yield* Service73;
267
+ var layer21 = Layer.effect(Service52, Effect.gen(function* () {
268
+ const providers = yield* Service74;
269
+ const models = yield* Service60;
270
+ const integrations = yield* Service75;
271
271
  const npm = yield* Npm.Service;
272
- const aisdk = yield* Service69;
272
+ const aisdk = yield* Service53;
273
273
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
274
274
  const provider = yield* providers.get(selected.providerID);
275
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID13.make(selected.providerID));
275
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
276
276
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
277
277
  const selectedVariant = yield* withVariant2(selected, variant);
278
278
  const runtimeInfo = {
@@ -299,7 +299,7 @@ var layer24 = Layer.effect(Service68, Effect.gen(function* () {
299
299
  chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
300
300
  };
301
301
  });
302
- return Service68.of({
302
+ return Service52.of({
303
303
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
304
304
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
305
305
  if (!selected)
@@ -316,10 +316,10 @@ function usesAPIKeyAuth(packageName) {
316
316
  const name = packageName2(packageName);
317
317
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
318
318
  }
319
- var node71 = makeLocationNode({
320
- service: Service68,
321
- layer: layer24,
322
- deps: [node75, node74, node76, Npm.node, node72]
319
+ var node55 = makeLocationNode({
320
+ service: Service52,
321
+ layer: layer21,
322
+ deps: [node78, node63, node79, Npm.node, node56]
323
323
  });
324
324
 
325
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service68, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node71, exports_model_resolver };
325
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service52, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer21, node55, exports_model_resolver };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service82,
3
- node85
4
- } from "./provider-y7gnf2d1.js";
2
+ Service83,
3
+ node87
4
+ } from "./filesystem-hkh5g506.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./provider-rdw6cm16.js";
8
+ } from "./filesystem-rdw6cm16.js";
9
9
  import {
10
10
  key2
11
- } from "./provider-x661k3y3.js";
11
+ } from "./filesystem-addxnjmp.js";
12
12
  import {
13
- ID13,
14
- Service73,
15
- node76,
13
+ ID14,
14
+ Service75,
15
+ node79,
16
16
  Event18
17
- } from "./provider-54bf5ftt.js";
17
+ } from "./filesystem-jw6e3k9x.js";
18
18
  import {
19
- Service79,
20
- node82
21
- } from "./provider-435p4ksb.js";
19
+ Service80,
20
+ node84
21
+ } from "./filesystem-50vxqkrt.js";
22
22
  import {
23
23
  __export
24
- } from "./provider-9rqn6x4v.js";
24
+ } from "./filesystem-9rqn6x4v.js";
25
25
 
26
26
  // src/aisdk-native.ts
27
27
  var exports_aisdk_native = {};
@@ -39,12 +39,12 @@ __export(exports_provider3, {
39
39
  Compaction: () => Compaction3,
40
40
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
41
41
  Event: () => Event17,
42
- ID: () => ID12,
43
- Info: () => Info21,
42
+ ID: () => ID13,
43
+ Info: () => Info22,
44
44
  LoadError: () => LoadError3,
45
45
  Provider: () => exports_provider3,
46
46
  Request: () => Request3,
47
- Service: () => Service72,
47
+ Service: () => Service74,
48
48
  Settings: () => Settings2,
49
49
  Transport: () => Transport2,
50
50
  aisdk: () => aisdk2,
@@ -54,7 +54,7 @@ __export(exports_provider3, {
54
54
  mergeOverlay: () => mergeOverlay2,
55
55
  modelSettings: () => modelSettings2,
56
56
  nativeSettings: () => nativeSettings2,
57
- node: () => node75,
57
+ node: () => node78,
58
58
  packageName: () => packageName2,
59
59
  timeout: () => timeout2,
60
60
  timeouts: () => timeouts2
@@ -69,7 +69,7 @@ import { importModule, resolveModule } from "@opencode/util/runtime-import";
69
69
  import { Credential } from "@opencode/schema/credential";
70
70
  import { freeze } from "immer";
71
71
  import { Event as Event17 } from "@opencode/schema/provider";
72
- var ID12 = Provider.ID;
72
+ var ID13 = Provider.ID;
73
73
  var AISDK_PREFIX2 = "aisdk:";
74
74
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
75
75
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -231,9 +231,9 @@ var Request3 = Provider.Request;
231
231
  var Compaction3 = Provider.Compaction;
232
232
  var Transport2 = Provider.Transport;
233
233
  var Settings2 = Provider.Settings;
234
- var Info21 = Provider.Info;
234
+ var Info22 = Provider.Info;
235
235
 
236
- class Service72 extends Context.Service()("@opencode/Provider") {
236
+ class Service74 extends Context.Service()("@opencode/Provider") {
237
237
  }
238
238
  var definitions = new WeakMap;
239
239
  function index(providerID, models) {
@@ -246,10 +246,10 @@ function index(providerID, models) {
246
246
  definitions.set(models, indexes);
247
247
  return result;
248
248
  }
249
- var layer = Layer.effect(Service72, Effect.gen(function* () {
250
- const bus = yield* Service82;
251
- const integrations = yield* Service73;
252
- const location = yield* Service79;
249
+ var layer = Layer.effect(Service74, Effect.gen(function* () {
250
+ const bus = yield* Service83;
251
+ const integrations = yield* Service75;
252
+ const location = yield* Service80;
253
253
  const state = create3({
254
254
  name: "provider",
255
255
  initial: () => new Map,
@@ -260,7 +260,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
260
260
  const current = records.get(id);
261
261
  if (current)
262
262
  return current;
263
- const added = { provider: Info21.empty(id), models: new Map };
263
+ const added = { provider: Info22.empty(id), models: new Map };
264
264
  records.set(id, added);
265
265
  maps.add(added.models);
266
266
  return added;
@@ -341,7 +341,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
341
341
  const available = Array.from(records.values()).filter((record) => {
342
342
  if (record.provider.activation === "disabled")
343
343
  return false;
344
- const integration = byID.get(record.provider.integrationID ?? ID13.make(record.provider.id));
344
+ const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
345
345
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
346
346
  return false;
347
347
  if (record.provider.activation === "enabled")
@@ -368,7 +368,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
368
368
  });
369
369
  });
370
370
  yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
371
- return Service72.of({
371
+ return Service74.of({
372
372
  transform: state.transform,
373
373
  reload: state.reload,
374
374
  get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -377,7 +377,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
377
377
  snapshot
378
378
  });
379
379
  }));
380
- var node75 = makeLocationNode({ service: Service72, layer, deps: [node85, node76, node82] });
380
+ var node78 = makeLocationNode({ service: Service74, layer, deps: [node87, node79, node84] });
381
381
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
382
382
  const module = yield* Effect.tryPromise({
383
383
  try: () => {
@@ -650,4 +650,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
650
650
  }), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
651
651
  var decode = Schema2.decodeUnknownSync(Legacy);
652
652
 
653
- export { rewrite2, native2, exports_aisdk_native, ID12, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, timeout2, timeouts2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info21, Service72, node75, exports_provider3, Event17 };
653
+ export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, timeout2, timeouts2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info22, Service74, node78, exports_provider3, Event17 };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./provider-z5v4ffb3.js";
3
+ } from "./filesystem-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./provider-9rqn6x4v.js";
6
+ } from "./filesystem-9rqn6x4v.js";
7
7
 
8
8
  // src/project/schema.ts
9
9
  var exports_schema = {};
10
10
  __export(exports_schema, {
11
11
  Current: () => Current3,
12
12
  Event: () => Event21,
13
- ID: () => ID17,
14
- Info: () => Info28,
13
+ ID: () => ID18,
14
+ Info: () => Info29,
15
15
  ProjectSchema: () => exports_schema,
16
16
  UpdateInput: () => UpdateInput4,
17
17
  Vcs: () => Vcs3
18
18
  });
19
19
  import { Schema } from "effect";
20
20
  import { Project } from "@opencode/schema/project";
21
- var ID17 = Project.ID;
21
+ var ID18 = Project.ID;
22
22
  var Current3 = Project.Current;
23
- var Info28 = Project.Info;
23
+ var Info29 = Project.Info;
24
24
  var UpdateInput4 = Project.UpdateInput;
25
25
  var Event21 = Project.Event;
26
26
  var Vcs3 = Schema.Struct({
@@ -28,4 +28,4 @@ var Vcs3 = Schema.Struct({
28
28
  store: AbsolutePath2
29
29
  });
30
30
 
31
- export { ID17, Current3, Info28, UpdateInput4, Event21, Vcs3, exports_schema };
31
+ export { ID18, Current3, Info29, UpdateInput4, Event21, Vcs3, exports_schema };