@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,36 +1,36 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service82,
4
- node85
5
- } from "./provider-y7gnf2d1.js";
3
+ Service83,
4
+ node87
5
+ } from "./filesystem-hkh5g506.js";
6
6
  import {
7
7
  Key3,
8
8
  unavailable3,
9
9
  removed2,
10
10
  make21,
11
11
  diffByKey2
12
- } from "./provider-s8d7rejh.js";
12
+ } from "./filesystem-s8d7rejh.js";
13
13
  import {
14
14
  AbsolutePath2
15
- } from "./provider-z5v4ffb3.js";
15
+ } from "./filesystem-z5v4ffb3.js";
16
16
  import {
17
17
  create3
18
- } from "./provider-rdw6cm16.js";
18
+ } from "./filesystem-rdw6cm16.js";
19
19
  import {
20
20
  __export
21
- } from "./provider-9rqn6x4v.js";
21
+ } from "./filesystem-9rqn6x4v.js";
22
22
 
23
23
  // src/instruction-discovery.ts
24
24
  var exports_instruction_discovery = {};
25
25
  __export(exports_instruction_discovery, {
26
- Event: () => Event8,
26
+ Event: () => Event9,
27
27
  File: () => File2,
28
28
  InstructionDiscovery: () => exports_instruction_discovery,
29
29
  Options: () => Options6,
30
- Service: () => Service41,
31
- configured: () => configured7,
30
+ Service: () => Service44,
31
+ configured: () => configured6,
32
32
  layer: () => layer17,
33
- node: () => node45
33
+ node: () => node47
34
34
  });
35
35
  import { Context, Effect, Layer, Schema } from "effect";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -42,7 +42,7 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
42
42
  }
43
43
  var Files = Schema.Array(File2);
44
44
  var key = Key3.make("core/instructions");
45
- var Event8 = {
45
+ var Event9 = {
46
46
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
47
47
  };
48
48
  var Options6 = Schema.Struct({
@@ -50,10 +50,10 @@ var Options6 = Schema.Struct({
50
50
  global: Schema.optional(Schema.Boolean)
51
51
  });
52
52
 
53
- class Service41 extends Context.Service()("@opencode/InstructionDiscovery") {
53
+ class Service44 extends Context.Service()("@opencode/InstructionDiscovery") {
54
54
  }
55
- var layer17 = (options) => Layer.effect(Service41, Effect.gen(function* () {
56
- const bus = yield* Service82;
55
+ var layer17 = (options) => Layer.effect(Service44, Effect.gen(function* () {
56
+ const bus = yield* Service83;
57
57
  const state = create3({
58
58
  name: "instruction-discovery",
59
59
  initial: () => ({ files: new Map, available: true }),
@@ -72,7 +72,7 @@ var layer17 = (options) => Layer.effect(Service41, Effect.gen(function* () {
72
72
  editor.available = false;
73
73
  }
74
74
  }),
75
- notify: () => bus.publish(Event8.Updated, {}).pipe(Effect.asVoid)
75
+ notify: () => bus.publish(Event9.Updated, {}).pipe(Effect.asVoid)
76
76
  });
77
77
  const source = (value) => make21({
78
78
  key,
@@ -90,7 +90,7 @@ var layer17 = (options) => Layer.effect(Service41, Effect.gen(function* () {
90
90
  return unavailable3;
91
91
  return Array.from(current.files.values());
92
92
  });
93
- return Service41.of({
93
+ return Service44.of({
94
94
  project: options?.project !== false,
95
95
  global: options?.global !== false,
96
96
  transform: state.transform,
@@ -104,14 +104,14 @@ var layer17 = (options) => Layer.effect(Service41, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  }));
107
- function configured7(options) {
107
+ function configured6(options) {
108
108
  return makeLocationNode({
109
- service: Service41,
109
+ service: Service44,
110
110
  layer: layer17(options),
111
- deps: [node85]
111
+ deps: [node87]
112
112
  });
113
113
  }
114
- var node45 = configured7();
114
+ var node47 = configured6();
115
115
  function render(files) {
116
116
  return files.map((file) => `Instructions from: ${file.path}
117
117
  ${file.content}`).join(`
@@ -142,4 +142,4 @@ ${render([after])}`;
142
142
  `);
143
143
  }
144
144
 
145
- export { File2, Event8, Options6, Service41, layer17, configured7, node45, exports_instruction_discovery };
145
+ export { File2, Event9, Options6, Service44, layer17, configured6, node47, exports_instruction_discovery };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./provider-qfa1cgps.js";
3
+ } from "./filesystem-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./provider-h2b79v29.js";
6
+ } from "./filesystem-h2b79v29.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,48 +1,48 @@
1
1
  import {
2
- Service82
3
- } from "./provider-y7gnf2d1.js";
2
+ Service83
3
+ } from "./filesystem-hkh5g506.js";
4
4
  import {
5
- Service56
6
- } from "./provider-7cd1ytca.js";
5
+ Service72
6
+ } from "./filesystem-fnnra18v.js";
7
7
  import {
8
8
  group2,
9
9
  batch2,
10
10
  shutdown2,
11
11
  inherit2
12
- } from "./provider-rdw6cm16.js";
12
+ } from "./filesystem-rdw6cm16.js";
13
13
  import {
14
- Service29,
14
+ Service41,
15
15
  awaitActivation2
16
- } from "./provider-4v7qdvcn.js";
16
+ } from "./filesystem-ctefx7dc.js";
17
17
  import {
18
18
  make12,
19
19
  requirements3,
20
20
  storage2
21
- } from "./provider-8a762xj8.js";
21
+ } from "./filesystem-2k4z4ex5.js";
22
22
  import {
23
23
  __export
24
- } from "./provider-9rqn6x4v.js";
24
+ } from "./filesystem-9rqn6x4v.js";
25
25
 
26
26
  // src/plugin.ts
27
27
  var exports_plugin2 = {};
28
28
  __export(exports_plugin2, {
29
- Event: () => Event2,
30
- ID: () => ID2,
31
- Info: () => Info2,
29
+ Event: () => Event4,
30
+ ID: () => ID3,
31
+ Info: () => Info3,
32
32
  Plugin: () => exports_plugin2,
33
- Service: () => Service29,
33
+ Service: () => Service41,
34
34
  Source: () => Source2,
35
35
  State: () => State2,
36
36
  awaitActivation: () => awaitActivation2,
37
- node: () => node15
37
+ node: () => node19
38
38
  });
39
- import { Event as Event2, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
39
+ import { Event as Event4, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
40
40
  import { Plugin } from "@opencode/schema/plugin";
41
41
  import { Node } from "@opencode/util/effect/app-node";
42
42
  import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
43
- var layer = Layer.effect(Service29, Effect.gen(function* () {
44
- const bus = yield* Service82;
45
- const kv = yield* Service56;
43
+ var layer = Layer.effect(Service41, Effect.gen(function* () {
44
+ const bus = yield* Service83;
45
+ const kv = yield* Service72;
46
46
  const scope = yield* Scope.make();
47
47
  const active = new Map;
48
48
  const lock = Semaphore.makeUnsafe(1);
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
205
205
  yield* shutdown2(Scope.close(scope, exit));
206
206
  }));
207
207
  yield* Effect.addFinalizer(close);
208
- return Service29.of({
208
+ return Service41.of({
209
209
  activate,
210
210
  close,
211
211
  awaitActivation: ready.await,
@@ -222,10 +222,10 @@ function slotInfo(slot) {
222
222
  features: { server: true, ...slot.plugin.features }
223
223
  };
224
224
  }
225
- var node15 = Node.makeLocationNode({
226
- service: Service29,
225
+ var node19 = Node.makeLocationNode({
226
+ service: Service41,
227
227
  layer,
228
228
  deps: [requirements3]
229
229
  });
230
230
 
231
- export { node15, exports_plugin2, Event2, ID2, Info2, Source2, State2 };
231
+ export { node19, exports_plugin2, Event4, ID3, Info3, Source2, State2 };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service54,
3
- node57
4
- } from "./provider-crkpb7cs.js";
2
+ Service58,
3
+ node61
4
+ } from "./filesystem-qhrb4a35.js";
5
5
  import {
6
- Service79,
7
- node82
8
- } from "./provider-435p4ksb.js";
6
+ Service80,
7
+ node84
8
+ } from "./filesystem-50vxqkrt.js";
9
9
  import {
10
- Service53,
11
- node56
12
- } from "./provider-wzj2gnv1.js";
10
+ Service57,
11
+ node60
12
+ } from "./filesystem-zr4r5d69.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./provider-zxq2ej10.js";
16
+ } from "./filesystem-zxq2ej10.js";
17
17
  import {
18
18
  __export
19
- } from "./provider-9rqn6x4v.js";
19
+ } from "./filesystem-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/source.ts
22
22
  var exports_source = {};
23
23
  __export(exports_source, {
24
24
  ConfigPluginSource: () => exports_source,
25
- Service: () => Service9,
25
+ Service: () => Service4,
26
26
  empty: () => empty2,
27
- layer: () => layer6,
28
- node: () => node11
27
+ layer: () => layer5,
28
+ node: () => node6
29
29
  });
30
30
  import { FSUtil } from "@opencode/util/fs-util";
31
31
  import { Host } from "@opencode/plugin/host";
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
34
34
  import path from "path";
35
35
  import { fileURLToPath, pathToFileURL } from "url";
36
- class Service9 extends Context.Service()("@opencode/ConfigPluginSource") {
36
+ class Service4 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
- var layer6 = Layer.effect(Service9, Effect.gen(function* () {
39
- const config = yield* Service53;
40
- const watcher = yield* Service54;
38
+ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
39
+ const config = yield* Service57;
40
+ const watcher = yield* Service58;
41
41
  const fs = yield* FSUtil.Service;
42
- const location = yield* Service79;
42
+ const location = yield* Service80;
43
43
  const configuredChanges = yield* PubSub.unbounded();
44
44
  const watched = new Set;
45
45
  const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
@@ -58,7 +58,7 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
58
58
  yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
59
59
  }
60
60
  });
61
- return Service9.of({
61
+ return Service4.of({
62
62
  operations: Effect.fn("ConfigPluginSource.operations")(function* () {
63
63
  const entries = yield* config.entries();
64
64
  const operations = yield* scan(fs, location, entries);
@@ -70,14 +70,14 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
70
70
  })), Stream.fromPubSub(configuredChanges))
71
71
  });
72
72
  }));
73
- var node11 = makeLocationNode({
74
- service: Service9,
75
- layer: layer6,
76
- deps: [node56, FSUtil.node, node57, node82]
73
+ var node6 = makeLocationNode({
74
+ service: Service4,
75
+ layer: layer5,
76
+ deps: [node60, FSUtil.node, node61, node84]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
- service: Service9,
80
- layer: Layer.succeed(Service9, Service9.of({
79
+ service: Service4,
80
+ layer: Layer.succeed(Service4, Service4.of({
81
81
  operations: () => Effect.succeed([]),
82
82
  changes: () => Stream.never
83
83
  })),
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
137
137
  return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
138
138
  }
139
139
 
140
- export { Service9, layer6, node11, empty2, exports_source };
140
+ export { Service4, layer5, node6, empty2, exports_source };
@@ -2,7 +2,7 @@ import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2,
4
4
  mapUpdateSet2
5
- } from "./provider-emrn6kk6.js";
5
+ } from "./filesystem-emrn6kk6.js";
6
6
 
7
7
  // src/database/drizzle/sqlite-core/effect/insert.ts
8
8
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./provider-9rqn6x4v.js";
3
+ } from "./filesystem-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/plugin.ts
6
6
  var exports_plugin3 = {};
7
7
  __export(exports_plugin3, {
8
8
  ConfigPluginV1: () => exports_plugin3,
9
- Options: () => Options8,
9
+ Options: () => Options9,
10
10
  Spec: () => Spec2
11
11
  });
12
12
  import { Schema } from "effect";
13
- var Options8 = Schema.Record(Schema.String, Schema.Unknown);
14
- var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options8]))]);
13
+ var Options9 = Schema.Record(Schema.String, Schema.Unknown);
14
+ var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options9]))]);
15
15
 
16
- export { Options8, Spec2, exports_plugin3 };
16
+ export { Options9, Spec2, exports_plugin3 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  OAuth3
3
- } from "./provider-y117vq4z.js";
3
+ } from "./filesystem-1178x954.js";
4
4
  import {
5
- ID13,
5
+ ID14,
6
6
  MethodID2
7
- } from "./provider-54bf5ftt.js";
7
+ } from "./filesystem-jw6e3k9x.js";
8
8
  import {
9
9
  success2,
10
10
  error2
11
- } from "./provider-pjvnvgmy.js";
11
+ } from "./filesystem-pjvnvgmy.js";
12
12
 
13
13
  // src/plugin/provider/poe.ts
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Clock, Deferred, Effect, Option, Schema } from "effect";
16
16
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
17
- var integrationID = ID13.make("poe");
17
+ var integrationID = ID14.make("poe");
18
18
  var methodID = MethodID2.make("browser");
19
19
  var clientID = "client_728290227fc048cc9262091a1ea197ea";
20
20
  var issuer = "https://poe.com";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service82,
4
- node85
5
- } from "./provider-y7gnf2d1.js";
3
+ Service83,
4
+ node87
5
+ } from "./filesystem-hkh5g506.js";
6
6
  import {
7
- Service56,
8
- node59
9
- } from "./provider-7cd1ytca.js";
7
+ Service72,
8
+ node76
9
+ } from "./filesystem-fnnra18v.js";
10
10
  import {
11
11
  __export
12
- } from "./provider-9rqn6x4v.js";
12
+ } from "./filesystem-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
@@ -19,10 +19,10 @@ __export(exports_wellknown, {
19
19
  Event: () => Event11,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service55,
22
+ Service: () => Service59,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node58,
25
+ node: () => node62,
26
26
  resolve: () => resolve4
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
@@ -46,7 +46,7 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service55 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service59 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
51
  var Event11 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service55, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service59, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service56;
81
- const bus = yield* Service82;
80
+ const kv = yield* Service72;
81
+ const bus = yield* Service83;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
84
84
  const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
@@ -112,7 +112,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
112
112
  yield* bus.publish(Event11.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service55.of({
115
+ return Service59.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -143,6 +143,6 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node58 = makeGlobalNode({ service: Service55, layer, deps: [httpClient, node59, node85] });
146
+ var node62 = makeGlobalNode({ service: Service59, layer, deps: [httpClient, node76, node87] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service55, Event11, inspect2, resolve4, node58, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service59, Event11, inspect2, resolve4, node62, exports_wellknown };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./provider-t6ybzkhe.js";
4
+ } from "./filesystem-tx57kkma.js";
5
5
 
6
6
  // src/plugin/provider/vercel.ts
7
7
  import { Effect } from "effect";
@@ -1,35 +1,35 @@
1
1
  import {
2
2
  useragent2
3
- } from "./provider-dtqny3g5.js";
3
+ } from "./filesystem-2kn5e7ew.js";
4
4
  import {
5
- Service82
6
- } from "./provider-y7gnf2d1.js";
5
+ Service83
6
+ } from "./filesystem-hkh5g506.js";
7
7
  import {
8
8
  ID15,
9
9
  OAuth3,
10
- Event20,
11
- Service75
12
- } from "./provider-y117vq4z.js";
10
+ Event19,
11
+ Service76
12
+ } from "./filesystem-1178x954.js";
13
13
  import {
14
14
  key2
15
- } from "./provider-x661k3y3.js";
15
+ } from "./filesystem-addxnjmp.js";
16
16
  import {
17
- ID13,
17
+ ID14,
18
18
  MethodID2
19
- } from "./provider-54bf5ftt.js";
19
+ } from "./filesystem-jw6e3k9x.js";
20
20
  import {
21
- ID12,
21
+ ID13,
22
22
  mergeOverlay2
23
- } from "./provider-t6ybzkhe.js";
23
+ } from "./filesystem-tx57kkma.js";
24
24
  import {
25
- ID11,
25
+ ID6,
26
26
  VariantID2,
27
- Info20
28
- } from "./provider-6es9ekve.js";
27
+ Info14
28
+ } from "./filesystem-5cpk2dg7.js";
29
29
  import {
30
30
  success2,
31
31
  error2
32
- } from "./provider-pjvnvgmy.js";
32
+ } from "./filesystem-pjvnvgmy.js";
33
33
 
34
34
  // src/plugin/provider/chatgpt.ts
35
35
  import { define } from "@opencode/plugin/effect/plugin";
@@ -41,8 +41,8 @@ var issuer = "https://auth.openai.com";
41
41
  var tokenURL = `${issuer}/api/accounts/oauth/token`;
42
42
  var resource = "https://api.openai.com/v1";
43
43
  var tokenSharingScope = "chatgpt.tokens.use.direct";
44
- var providerID = ID12.openai;
45
- var integrationID = ID13.make("openai");
44
+ var providerID = ID13.openai;
45
+ var integrationID = ID14.make("openai");
46
46
  var methodID = MethodID2.make("chatgpt-token-sharing");
47
47
  var modelCacheKey = (clientID) => `models:${clientID}`;
48
48
  var fallbackModels = new Set([
@@ -171,8 +171,8 @@ function listen(server) {
171
171
  var ChatGPTPlugin2 = define({
172
172
  id: "opencode.provider.chatgpt",
173
173
  effect: Effect.fn(function* (ctx) {
174
- const bus = yield* Service82;
175
- const credentials = yield* Service75;
174
+ const bus = yield* Service83;
175
+ const credentials = yield* Service76;
176
176
  const loading = Semaphore.makeUnsafe(1);
177
177
  let chatgpt;
178
178
  let available;
@@ -194,7 +194,7 @@ var ChatGPTPlugin2 = define({
194
194
  yield* ctx.integration.transform((editor) => {
195
195
  editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
196
196
  });
197
- yield* Effect.forEach(yield* credentials.list(ID13.make("openai")), (entry) => {
197
+ yield* Effect.forEach(yield* credentials.list(ID14.make("openai")), (entry) => {
198
198
  const value = entry.value;
199
199
  if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
200
200
  return Effect.void;
@@ -279,7 +279,7 @@ var ChatGPTPlugin2 = define({
279
279
  }));
280
280
  });
281
281
  const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload()))).pipe(Effect.andThen(refreshModels().pipe(Effect.forkScoped, Effect.asVoid)));
282
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
282
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
283
283
  yield* refreshModels().pipe(Effect.forkScoped);
284
284
  yield* Effect.sleep(Duration.minutes(15)).pipe(Effect.andThen(refreshModels), Effect.forever, Effect.forkScoped);
285
285
  })
@@ -338,7 +338,7 @@ function deriveModels2(remote, existing) {
338
338
  const found = byID.get(model.modelID);
339
339
  return found ? [deriveModel(found, model)] : [];
340
340
  }),
341
- ...remote.filter((model) => !known.has(ID11.make(model.slug))).map((model) => deriveModel(model, Info20.default(ID12.openai, ID11.make(model.slug))))
341
+ ...remote.filter((model) => !known.has(ID6.make(model.slug))).map((model) => deriveModel(model, Info14.default(ID13.openai, ID6.make(model.slug))))
342
342
  ];
343
343
  }
344
344
  function deriveModel(remote, previous) {
@@ -1,17 +1,17 @@
1
1
  import {
2
- ID12,
2
+ ID13,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./provider-t6ybzkhe.js";
5
+ } from "./filesystem-tx57kkma.js";
6
6
  import {
7
- ID11,
7
+ ID6,
8
8
  VariantID2,
9
9
  Family2,
10
- Info20
11
- } from "./provider-6es9ekve.js";
10
+ Info14
11
+ } from "./filesystem-5cpk2dg7.js";
12
12
  import {
13
13
  __export
14
- } from "./provider-9rqn6x4v.js";
14
+ } from "./filesystem-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
17
  var exports_models = {};
@@ -94,7 +94,7 @@ function derive2(baseURL, remote, existing) {
94
94
  result.set(id, build(id, current, baseURL, model));
95
95
  }
96
96
  for (const [id, model] of remote) {
97
- const key = ID11.make(id);
97
+ const key = ID6.make(id);
98
98
  if (result.has(key))
99
99
  continue;
100
100
  result.set(key, build(key, model, baseURL));
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
118
118
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
119
119
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
120
120
  const released = previous?.time.released || Date.parse(version);
121
- return Info20.make({
122
- ...Info20.default(ID12.githubCopilot, id),
121
+ return Info14.make({
122
+ ...Info14.default(ID13.githubCopilot, id),
123
123
  id,
124
- modelID: ID11.make(remote.id),
125
- providerID: ID12.githubCopilot,
124
+ modelID: ID6.make(remote.id),
125
+ providerID: ID13.githubCopilot,
126
126
  family: previous?.family ?? Family2.make(remote.capabilities.family),
127
127
  name: previous?.name ?? remote.name,
128
128
  package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),