@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,27 +1,27 @@
1
1
  import {
2
- Service79
3
- } from "./provider-435p4ksb.js";
2
+ Service80
3
+ } from "./filesystem-50vxqkrt.js";
4
4
  import {
5
- Service53
6
- } from "./provider-wzj2gnv1.js";
5
+ Service57
6
+ } from "./filesystem-zr4r5d69.js";
7
7
  import {
8
- Service17
9
- } from "./provider-n8hzfk5n.js";
8
+ Service14
9
+ } from "./filesystem-r9jqn31q.js";
10
10
  import {
11
- make10
12
- } from "./provider-73tb2d7t.js";
11
+ make11
12
+ } from "./filesystem-a1gpj94z.js";
13
13
  import {
14
14
  observe2
15
- } from "./provider-qsdy395h.js";
15
+ } from "./filesystem-qsdy395h.js";
16
16
  import {
17
17
  __export
18
- } from "./provider-9rqn6x4v.js";
18
+ } from "./filesystem-9rqn6x4v.js";
19
19
 
20
20
  // src/config/plugin/formatter.ts
21
21
  var exports_formatter = {};
22
22
  __export(exports_formatter, {
23
23
  ConfigFormatterPlugin: () => exports_formatter,
24
- Plugin: () => Plugin39
24
+ Plugin: () => Plugin12
25
25
  });
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { FSUtil } from "@opencode/util/fs-util";
@@ -29,14 +29,14 @@ import { Global } from "@opencode/util/global";
29
29
  import { Npm } from "@opencode/util/npm";
30
30
  import { AppProcess } from "@opencode/util/process";
31
31
  import { Effect } from "effect";
32
- var Plugin39 = define({
32
+ var Plugin12 = define({
33
33
  id: "opencode.config.formatter",
34
34
  effect: Effect.fn(function* (ctx) {
35
- const config = yield* Service53;
36
- const formatter = yield* Service17;
35
+ const config = yield* Service57;
36
+ const formatter = yield* Service14;
37
37
  const fs = yield* FSUtil.Service;
38
38
  const global = yield* Global.Service;
39
- const location = yield* Service79;
39
+ const location = yield* Service80;
40
40
  const npm = yield* Npm.Service;
41
41
  const processes = yield* AppProcess.Service;
42
42
  const loaded = yield* observe2(config, ctx.event, formatter.reload());
@@ -44,7 +44,7 @@ var Plugin39 = define({
44
44
  const configured = resolve(loaded.entries);
45
45
  if (!configured)
46
46
  return;
47
- const builtIns = make10({
47
+ const builtIns = make11({
48
48
  directory: location.directory,
49
49
  worktree: location.project.directory,
50
50
  fs,
@@ -85,4 +85,4 @@ function resolve(entries) {
85
85
  }, undefined);
86
86
  }
87
87
 
88
- export { Plugin39, exports_formatter };
88
+ export { Plugin12, exports_formatter };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./provider-yspr33n3.js";
4
+ } from "./filesystem-5s1dr8ae.js";
5
5
  import {
6
6
  EventSequenceTable2,
7
7
  EventTable2
8
- } from "./provider-2710q6r3.js";
8
+ } from "./filesystem-2710q6r3.js";
9
9
  import {
10
10
  makeUnsafe2
11
- } from "./provider-dpkg50ah.js";
11
+ } from "./filesystem-dpkg50ah.js";
12
12
  import {
13
13
  __export
14
- } from "./provider-9rqn6x4v.js";
14
+ } from "./filesystem-9rqn6x4v.js";
15
15
 
16
16
  // src/bus.ts
17
17
  var exports_bus = {};
18
18
  __export(exports_bus, {
19
19
  Bus: () => exports_bus,
20
20
  InvalidDurableEventError: () => InvalidDurableEventError2,
21
- Service: () => Service82,
22
- configured: () => configured11,
21
+ Service: () => Service83,
22
+ configured: () => configured12,
23
23
  durable: () => durable2,
24
24
  ephemeral: () => ephemeral2,
25
25
  isSynced: () => isSynced2,
26
26
  latestSequence: () => latestSequence2,
27
- node: () => node85,
27
+ node: () => node87,
28
28
  reserveSequence: () => reserveSequence2,
29
29
  versionedType: () => versionedType2
30
30
  });
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
76
76
  var isSynced2 = (item) => item.type === "log.synced";
77
77
  var isDefinition = (input) => !Array.isArray(input);
78
78
 
79
- class Service82 extends Context.Service()("@opencode/Bus") {
79
+ class Service83 extends Context.Service()("@opencode/Bus") {
80
80
  }
81
- function configured11(options) {
81
+ function configured12(options) {
82
82
  return makeGlobalNode({
83
- service: Service82,
83
+ service: Service83,
84
84
  deps: [node88],
85
- layer: Layer.effect(Service82, Effect.gen(function* () {
85
+ layer: Layer.effect(Service83, Effect.gen(function* () {
86
86
  const { Location } = yield* Effect.promise(() => import("../location.js"));
87
87
  const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
88
88
  const pubsub = {
@@ -525,7 +525,7 @@ function configured11(options) {
525
525
  list.push((event) => projector(event));
526
526
  projectors.set(key, list);
527
527
  });
528
- return Service82.of({
528
+ return Service83.of({
529
529
  publish,
530
530
  publishAll,
531
531
  subscribe,
@@ -539,6 +539,6 @@ function configured11(options) {
539
539
  }))
540
540
  });
541
541
  }
542
- var node85 = configured11();
542
+ var node87 = configured12();
543
543
 
544
- export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service82, configured11, node85, exports_bus };
544
+ export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service83, configured12, node87, exports_bus };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  resolveNullableObjectPaths2,
3
3
  mapResultRow2
4
- } from "./provider-emrn6kk6.js";
4
+ } from "./filesystem-emrn6kk6.js";
5
5
  import {
6
6
  SQLiteEffectDatabase2
7
- } from "./provider-5jrbfcyk.js";
7
+ } from "./filesystem-3cy6ygha.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/session.ts
10
10
  import * as Cause from "effect/Cause";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./provider-9rqn6x4v.js";
3
+ } from "./filesystem-9rqn6x4v.js";
4
4
 
5
5
  // src/managed-policy.ts
6
6
  var exports_managed_policy = {};
7
7
  __export(exports_managed_policy, {
8
8
  ManagedPolicy: () => exports_managed_policy,
9
9
  Service: () => Service16,
10
- node: () => node19
10
+ node: () => node18
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -23,6 +23,6 @@ var layer = Layer.sync(Service16, () => {
23
23
  })
24
24
  });
25
25
  });
26
- var node19 = makeGlobalNode({ service: Service16, layer, deps: [] });
26
+ var node18 = makeGlobalNode({ service: Service16, layer, deps: [] });
27
27
 
28
- export { Service16, node19, exports_managed_policy };
28
+ export { Service16, node18, exports_managed_policy };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./provider-9rqn6x4v.js";
3
+ } from "./filesystem-9rqn6x4v.js";
4
4
 
5
5
  // src/config/watch.ts
6
6
  var exports_watch = {};
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service68,
3
- node71
4
- } from "./provider-s783479j.js";
2
+ Service52,
3
+ node55
4
+ } from "./filesystem-tv0940e9.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./provider-m5jcjszt.js";
7
+ } from "./filesystem-arz7hw7x.js";
8
8
  import {
9
9
  __export
10
- } from "./provider-9rqn6x4v.js";
10
+ } from "./filesystem-9rqn6x4v.js";
11
11
 
12
12
  // src/session/runner/model.ts
13
13
  var exports_model = {};
14
14
  __export(exports_model, {
15
15
  ModelNotSelectedError: () => ModelNotSelectedError2,
16
16
  ModelUnavailableError: () => ModelUnavailableError2,
17
- Service: () => Service46,
17
+ Service: () => Service48,
18
18
  SessionRunnerModel: () => exports_model,
19
- node: () => node49,
19
+ node: () => node50,
20
20
  resolved: () => resolved2
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
39
39
  }
40
40
  }
41
41
 
42
- class Service46 extends Context.Service()("@opencode/SessionRunnerModel") {
42
+ class Service48 extends Context.Service()("@opencode/SessionRunnerModel") {
43
43
  }
44
44
  var resolved2 = (model, options) => ({
45
45
  model,
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
54
54
  compaction: options.compaction,
55
55
  transport: options.transport
56
56
  });
57
- var layer = Layer.effect(Service46, Effect.gen(function* () {
58
- const resolver = yield* Service68;
59
- return Service46.of({
57
+ var layer = Layer.effect(Service48, Effect.gen(function* () {
58
+ const resolver = yield* Service52;
59
+ return Service48.of({
60
60
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
61
61
  if (!session.model) {
62
62
  const resolved = yield* resolver.resolve();
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
74
74
  })
75
75
  });
76
76
  }));
77
- var node49 = makeLocationNode({ service: Service46, layer, deps: [node71] });
77
+ var node50 = makeLocationNode({ service: Service48, layer, deps: [node55] });
78
78
 
79
- export { ModelNotSelectedError2, ModelUnavailableError2, Service46, resolved2, node49, exports_model };
79
+ export { ModelNotSelectedError2, ModelUnavailableError2, Service48, resolved2, node50, exports_model };
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service79
3
- } from "./provider-435p4ksb.js";
2
+ Service80
3
+ } from "./filesystem-50vxqkrt.js";
4
4
  import {
5
- Service78
6
- } from "./provider-69n11mhg.js";
5
+ Service70
6
+ } from "./filesystem-5xtsng1h.js";
7
7
  import {
8
- Service77,
8
+ Service26,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./provider-mt1f1117.js";
11
+ } from "./filesystem-secpxc4k.js";
12
12
  import {
13
- Service17
14
- } from "./provider-n8hzfk5n.js";
13
+ Service14
14
+ } from "./filesystem-r9jqn31q.js";
15
15
  import {
16
- Service62
17
- } from "./provider-w8rdajxk.js";
16
+ Service64
17
+ } from "./filesystem-zqaa94x3.js";
18
18
  import {
19
- Service15,
19
+ Service21,
20
20
  resolvePath2
21
- } from "./provider-pmv6ntjp.js";
21
+ } from "./filesystem-p4pj0byg.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./provider-6prwharc.js";
24
+ } from "./filesystem-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./provider-9rqn6x4v.js";
27
+ } from "./filesystem-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input7,
34
- Output: () => Output5,
35
- Plugin: () => Plugin25,
36
- name: () => name7
33
+ Input: () => Input5,
34
+ Output: () => Output4,
35
+ Plugin: () => Plugin26,
36
+ name: () => name5
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name7 = "edit";
43
- var Input7 = Schema.Struct({
42
+ var name5 = "edit";
43
+ var Input5 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input7 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output5 = Schema.Struct({
53
+ var Output4 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
103
103
  return result;
104
104
  }, []);
105
105
  };
106
- var Plugin25 = {
106
+ var Plugin26 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service15;
110
- const fileMutation = yield* Service77;
111
- const environment = yield* Service78;
112
- const formatter = yield* Service17;
113
- const location = yield* Service79;
114
- const permission = yield* Service62;
109
+ const access = yield* Service21;
110
+ const fileMutation = yield* Service26;
111
+ const environment = yield* Service70;
112
+ const formatter = yield* Service14;
113
+ const location = yield* Service80;
114
+ const permission = yield* Service64;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name7,
116
+ name: name5,
117
117
  options: { codemode: false, permission: "edit" },
118
118
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
119
- input: Input7,
120
- output: Output5,
119
+ input: Input5,
120
+ output: Output4,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
123
123
  const permissionSource = {
@@ -194,4 +194,4 @@ var Plugin25 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name7, Input7, Output5, Plugin25, exports_edit };
197
+ export { name5, Input5, Output4, Plugin26, exports_edit };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./provider-z5v4ffb3.js";
3
+ } from "./filesystem-z5v4ffb3.js";
4
4
  import {
5
- Info12
6
- } from "./provider-a8bn8zg0.js";
5
+ Info10
6
+ } from "./filesystem-nrdmrqsx.js";
7
7
  import {
8
8
  __export
9
- } from "./provider-9rqn6x4v.js";
9
+ } from "./filesystem-9rqn6x4v.js";
10
10
 
11
11
  // src/v1/config/agent.ts
12
12
  var exports_agent3 = {};
13
13
  __export(exports_agent3, {
14
14
  ConfigAgentV1: () => exports_agent3,
15
- Info: () => Info11
15
+ Info: () => Info9
16
16
  });
17
17
  import { Schema, SchemaGetter } from "effect";
18
18
  var Color = Schema.Union([
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
44
44
  description: "Maximum number of agentic iterations before forcing text-only response"
45
45
  }),
46
46
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
47
- permission: Schema.optional(Info12)
47
+ permission: Schema.optional(Info10)
48
48
  }), [Schema.Record(Schema.String, Schema.Any)]);
49
49
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
50
50
  var normalize = (agent) => {
@@ -66,9 +66,9 @@ var normalize = (agent) => {
66
66
  const steps = agent.steps ?? agent.maxSteps;
67
67
  return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
68
68
  };
69
- var Info11 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
69
+ var Info9 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
70
70
  decode: SchemaGetter.transform(normalize),
71
71
  encode: SchemaGetter.passthrough({ strict: false })
72
72
  })).annotate({ identifier: "AgentConfig" });
73
73
 
74
- export { Info11, exports_agent3 };
74
+ export { Info9, exports_agent3 };
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./provider-z5v4ffb3.js";
3
+ } from "./filesystem-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
- Service53
7
- } from "./provider-wzj2gnv1.js";
6
+ Service57
7
+ } from "./filesystem-zr4r5d69.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./provider-2a5m3afh.js";
10
+ } from "./filesystem-2a5m3afh.js";
11
11
  import {
12
- Service78
13
- } from "./provider-69n11mhg.js";
12
+ Service70
13
+ } from "./filesystem-5xtsng1h.js";
14
14
  import {
15
- Service47
16
- } from "./provider-gyx3rp2r.js";
15
+ Service63
16
+ } from "./filesystem-fx0ft7bw.js";
17
17
  import {
18
- Service62
19
- } from "./provider-w8rdajxk.js";
18
+ Service64
19
+ } from "./filesystem-zqaa94x3.js";
20
20
  import {
21
- Service15,
21
+ Service21,
22
22
  resolvePath2
23
- } from "./provider-pmv6ntjp.js";
23
+ } from "./filesystem-p4pj0byg.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./provider-vzs5sf6e.js";
29
+ } from "./filesystem-vzs5sf6e.js";
30
30
  import {
31
- Service38,
31
+ Service56,
32
32
  name15
33
- } from "./provider-6hb4axps.js";
33
+ } from "./filesystem-2e1yz4t0.js";
34
34
  import {
35
35
  NotFoundError6,
36
- Service36
37
- } from "./provider-9t52bdds.js";
36
+ Service54
37
+ } from "./filesystem-fjt2jd2k.js";
38
38
  import {
39
- Service21
40
- } from "./provider-sh9zb4hv.js";
39
+ Service30
40
+ } from "./filesystem-vt69289g.js";
41
41
  import {
42
42
  scan2
43
- } from "./provider-z4hyjh59.js";
43
+ } from "./filesystem-e53c762s.js";
44
44
  import {
45
45
  __export
46
- } from "./provider-9rqn6x4v.js";
46
+ } from "./filesystem-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell = {};
50
- __export(exports_shell, {
49
+ var exports_shell2 = {};
50
+ __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input3,
53
- Plugin: () => Plugin21,
54
- ShellTool: () => exports_shell,
55
- name: () => name3
52
+ Input: () => Input6,
53
+ Plugin: () => Plugin27,
54
+ ShellTool: () => exports_shell2,
55
+ name: () => name6
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name3 = "shell";
59
+ var name6 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input3 = Schema.Struct({
73
+ var Input6 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
116
116
  truncated: false,
117
117
  status: "running"
118
118
  });
119
- var Plugin21 = {
119
+ var Plugin27 = {
120
120
  id: "opencode.tool.shell",
121
121
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
122
- const sessions = yield* Service21;
123
- const jobs = yield* Service47;
122
+ const sessions = yield* Service30;
123
+ const jobs = yield* Service63;
124
124
  const scope = yield* Scope.Scope;
125
- const environment = yield* Service78;
126
- const access = yield* Service15;
127
- const shell = yield* Service36;
128
- const shellSelect = yield* Service38;
125
+ const environment = yield* Service70;
126
+ const access = yield* Service21;
127
+ const shell = yield* Service54;
128
+ const shellSelect = yield* Service56;
129
129
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
130
- const permission = yield* Service62;
131
- const config = yield* Service53;
130
+ const permission = yield* Service64;
131
+ const config = yield* Service57;
132
132
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
133
133
  const source = {
134
134
  type: "tool",
@@ -147,7 +147,7 @@ var Plugin21 = {
147
147
  yield* access.authorizeExternal([target, ...directories], context);
148
148
  if (parsed.commands.length > 0)
149
149
  yield* permission.assert({
150
- action: name3,
150
+ action: name6,
151
151
  resources: parsed.commands.map((command) => command.resource),
152
152
  save: parsed.commands.map((command) => command.save),
153
153
  sessionID: context.sessionID,
@@ -184,10 +184,10 @@ var Plugin21 = {
184
184
  yield* jobs.completeBackground(info.notificationID);
185
185
  }, Effect.forkIn(scope, { startImmediately: true }));
186
186
  yield* ctx.tool.transform((editor) => editor.add({
187
- name: name3,
187
+ name: name6,
188
188
  options: { codemode: false },
189
189
  description: description(),
190
- input: Input3,
190
+ input: Input6,
191
191
  output: Output,
192
192
  execute: (input, context) => Effect.gen(function* () {
193
193
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -224,7 +224,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
224
224
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
225
225
  const job = yield* jobs.start({
226
226
  id: info.id,
227
- type: name3,
227
+ type: name6,
228
228
  title: info.command,
229
229
  metadata: { sessionID: context.sessionID, shellID: info.id },
230
230
  recovery: {
@@ -254,7 +254,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
254
254
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
255
255
  })).pipe(Effect.orDie);
256
256
  const hook = (event) => Effect.gen(function* () {
257
- const tool = event.tools[name3];
257
+ const tool = event.tools[name6];
258
258
  if (!tool)
259
259
  return;
260
260
  tool.description = description(name15(yield* compatibleShell));
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
265
265
  })
266
266
  };
267
267
 
268
- export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin21, exports_shell };
268
+ export { name6, DEFAULT_TIMEOUT_MS2, Input6, Plugin27, exports_shell2 };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service53
3
- } from "./provider-wzj2gnv1.js";
2
+ Service57
3
+ } from "./filesystem-zr4r5d69.js";
4
4
  import {
5
- Service30
6
- } from "./provider-9q9rjagx.js";
5
+ Service42
6
+ } from "./filesystem-0p056far.js";
7
7
  import {
8
8
  __export
9
- } from "./provider-9rqn6x4v.js";
9
+ } from "./filesystem-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
- var exports_mcp2 = {};
13
- __export(exports_mcp2, {
14
- ConfigMcpPlugin: () => exports_mcp2,
15
- Plugin: () => Plugin34,
12
+ var exports_mcp = {};
13
+ __export(exports_mcp, {
14
+ ConfigMcpPlugin: () => exports_mcp,
15
+ Plugin: () => Plugin16,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin34 = define({
20
+ var Plugin16 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe());
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service53;
28
- const mcp = yield* Service30;
27
+ const config = yield* Service57;
28
+ const mcp = yield* Service42;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin34, register2, exports_mcp2 };
49
+ export { Plugin16, register2, exports_mcp };