@opencode/core 0.0.0-dev-19815 → 0.0.0-dev-19821

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 (796) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{file-mutation-s8wea8bx.js → job-06v682d8.js} +16 -16
  8. package/dist/chunks/{file-mutation-vackyeka.js → job-0dhz5hwf.js} +10 -10
  9. package/dist/chunks/{file-mutation-af04s6ss.js → job-0f9afca0.js} +5 -5
  10. package/dist/chunks/{file-mutation-fjvq75r9.js → job-0h0s6eq7.js} +31 -31
  11. package/dist/chunks/{file-mutation-s1kvmffy.js → job-0jq9fyba.js} +9 -9
  12. package/dist/chunks/job-0mesazry.js +4 -0
  13. package/dist/chunks/{file-mutation-0paq2nw3.js → job-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{file-mutation-0q0f95c6.js → job-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{file-mutation-510m7gjw.js → job-0r7yqxbf.js} +5 -5
  16. package/dist/chunks/{file-mutation-2vw86sre.js → job-0vvpktwt.js} +28 -28
  17. package/dist/chunks/{file-mutation-ye41kewf.js → job-15d0d0bm.js} +17 -17
  18. package/dist/chunks/{file-mutation-yp2x3t23.js → job-1acjjqhc.js} +4 -4
  19. package/dist/chunks/{file-mutation-1dazxqgg.js → job-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{file-mutation-zgr90j8v.js → job-1e0p5273.js} +51 -51
  21. package/dist/chunks/{file-mutation-cvkwxbsz.js → job-1ej0a07e.js} +26 -26
  22. package/dist/chunks/{file-mutation-cbje66mk.js → job-1gtkbj19.js} +15 -15
  23. package/dist/chunks/{file-mutation-8hvq2ep8.js → job-1jaberd3.js} +15 -15
  24. package/dist/chunks/{file-mutation-0tg136y5.js → job-1padrdc5.js} +9 -9
  25. package/dist/chunks/{file-mutation-1awtappa.js → job-1rtycg88.js} +20 -20
  26. package/dist/chunks/{file-mutation-56gdpj1q.js → job-1ygqh575.js} +9 -9
  27. package/dist/chunks/{file-mutation-21r38tys.js → job-21r38tys.js} +1 -1
  28. package/dist/chunks/{file-mutation-hm06wjfd.js → job-27e1jej6.js} +87 -87
  29. package/dist/chunks/{file-mutation-2a5m3afh.js → job-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{file-mutation-mrhf43mr.js → job-2b4h2ww7.js} +11 -11
  31. package/dist/chunks/{file-mutation-h6jr292a.js → job-2evyaa68.js} +4 -4
  32. package/dist/chunks/{file-mutation-6vew141g.js → job-2qazqbzw.js} +5 -5
  33. package/dist/chunks/{file-mutation-vkxpz7g2.js → job-2tfmgkzg.js} +4 -4
  34. package/dist/chunks/{file-mutation-8gwfkhjz.js → job-2vr0m82r.js} +12 -12
  35. package/dist/chunks/{file-mutation-gdaj5aat.js → job-2xsycv5e.js} +13 -13
  36. package/dist/chunks/{file-mutation-gpsxp3jx.js → job-2y5824bb.js} +32 -32
  37. package/dist/chunks/{file-mutation-6pcefmbq.js → job-32sn9zmq.js} +27 -27
  38. package/dist/chunks/{file-mutation-f3fzf6ct.js → job-3bfmbvg2.js} +29 -29
  39. package/dist/chunks/{file-mutation-bew5cyq4.js → job-3dr0v1fh.js} +32 -32
  40. package/dist/chunks/{file-mutation-h7w9m21h.js → job-3e34z61w.js} +6 -6
  41. package/dist/chunks/{file-mutation-3fc6dm20.js → job-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{file-mutation-3hepkmqq.js → job-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{file-mutation-0x4jbnkh.js → job-3kvw8mnh.js} +44 -44
  44. package/dist/chunks/{file-mutation-3smtnn6g.js → job-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{file-mutation-2r0aj5wh.js → job-3szszgrt.js} +3 -3
  46. package/dist/chunks/{file-mutation-3tvqynh2.js → job-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{file-mutation-tvs3qzmc.js → job-3vh7x5wm.js} +29 -29
  48. package/dist/chunks/{file-mutation-7a9f7nwj.js → job-481kcnmx.js} +20 -20
  49. package/dist/chunks/{file-mutation-07nzwxsz.js → job-48xyscag.js} +9 -9
  50. package/dist/chunks/{file-mutation-q26d77qc.js → job-4jz5jyn0.js} +7 -7
  51. package/dist/chunks/{file-mutation-4rys938p.js → job-4nzxx4d3.js} +12 -12
  52. package/dist/chunks/{file-mutation-q5k1gk2r.js → job-50ejayt8.js} +20 -20
  53. package/dist/chunks/{file-mutation-aamtrqep.js → job-57ez7d0k.js} +9 -9
  54. package/dist/chunks/{file-mutation-a1bz86dw.js → job-5c4hm403.js} +3 -3
  55. package/dist/chunks/{file-mutation-7w99qc9d.js → job-5cmxdwv8.js} +3 -3
  56. package/dist/chunks/{file-mutation-5daktx2q.js → job-5daktx2q.js} +1 -1
  57. package/dist/chunks/{file-mutation-xnetyx8p.js → job-5jkb1k88.js} +11 -11
  58. package/dist/chunks/{file-mutation-2a234wtm.js → job-5m8b30t3.js} +28 -28
  59. package/dist/chunks/{file-mutation-e3qxr5gk.js → job-5qd3pb7m.js} +2 -2
  60. package/dist/chunks/{file-mutation-5t3nmthw.js → job-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{file-mutation-akrwbyqx.js → job-5z4wn5yq.js} +37 -37
  62. package/dist/chunks/{file-mutation-nxp2ndre.js → job-63e71ytq.js} +2 -2
  63. package/dist/chunks/{file-mutation-vyxtkag7.js → job-668w0xjb.js} +34 -34
  64. package/dist/chunks/{file-mutation-669tq793.js → job-669tq793.js} +1 -1
  65. package/dist/chunks/{file-mutation-6h73sxmp.js → job-6h73sxmp.js} +1 -1
  66. package/dist/chunks/{file-mutation-6msgmcgs.js → job-6msgmcgs.js} +1 -1
  67. package/dist/chunks/{file-mutation-tfthf431.js → job-71m3rqxh.js} +11 -11
  68. package/dist/chunks/{file-mutation-fzw6vb94.js → job-71shgfsf.js} +29 -29
  69. package/dist/chunks/{file-mutation-mvfsc1pv.js → job-73tb2d7t.js} +3 -3
  70. package/dist/chunks/job-76z3yd02.js +252 -0
  71. package/dist/chunks/{file-mutation-ett7491z.js → job-7aqv3jr3.js} +17 -17
  72. package/dist/chunks/{file-mutation-7bmhse3q.js → job-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{file-mutation-5aj0q20a.js → job-7kvkdg61.js} +18 -18
  74. package/dist/chunks/{file-mutation-vb0h7fes.js → job-7ma37mjv.js} +30 -30
  75. package/dist/chunks/{file-mutation-f4zk55g1.js → job-7pz960d0.js} +7 -7
  76. package/dist/chunks/{file-mutation-emkv37r5.js → job-7thy3neb.js} +17 -17
  77. package/dist/chunks/{file-mutation-3rqkssp8.js → job-87deq66t.js} +6 -6
  78. package/dist/chunks/{file-mutation-y8gdy8xa.js → job-87sngdwh.js} +11 -11
  79. package/dist/chunks/{file-mutation-tcezcvh9.js → job-89znhe33.js} +4 -4
  80. package/dist/chunks/{file-mutation-8mhg0p4j.js → job-8ahba785.js} +3 -3
  81. package/dist/chunks/{file-mutation-8d7r5vzw.js → job-8d7r5vzw.js} +1 -1
  82. package/dist/chunks/{file-mutation-8d81dgab.js → job-8f57sem9.js} +8 -8
  83. package/dist/chunks/{file-mutation-5p7phca6.js → job-8j9pcpgt.js} +44 -44
  84. package/dist/chunks/{file-mutation-g1q4s0jw.js → job-8mt5e22m.js} +20 -20
  85. package/dist/chunks/{file-mutation-x2kz3kd9.js → job-8s8dhtps.js} +10 -10
  86. package/dist/chunks/{file-mutation-vndk1130.js → job-92tc7jpe.js} +21 -21
  87. package/dist/chunks/{file-mutation-1xebqrby.js → job-985zy11a.js} +43 -43
  88. package/dist/chunks/{file-mutation-mgscsna9.js → job-9a60j1p0.js} +22 -22
  89. package/dist/chunks/{file-mutation-4vg93jqq.js → job-9bwme3e5.js} +13 -13
  90. package/dist/chunks/{file-mutation-sm4ygxtf.js → job-9fe0nesq.js} +4 -4
  91. package/dist/chunks/{file-mutation-n22ydv4n.js → job-9nap1tbr.js} +11 -11
  92. package/dist/chunks/{file-mutation-zxfw9cda.js → job-9wbyf57d.js} +5 -5
  93. package/dist/chunks/{file-mutation-tvzz1vvx.js → job-a1xnpkxd.js} +31 -31
  94. package/dist/chunks/{file-mutation-5zrd1yp0.js → job-a21nqz3m.js} +10 -10
  95. package/dist/chunks/{file-mutation-ymnk3hjs.js → job-a6fsw91z.js} +21 -21
  96. package/dist/chunks/{file-mutation-aaet6srn.js → job-aaet6srn.js} +2 -2
  97. package/dist/chunks/{file-mutation-3hn2t390.js → job-aazyja1w.js} +19 -19
  98. package/dist/chunks/{file-mutation-qjj0dw3c.js → job-apsrg68e.js} +37 -37
  99. package/dist/chunks/job-asj1j4ys.js +65 -0
  100. package/dist/chunks/{file-mutation-nk6ab3nm.js → job-atbq07bs.js} +16 -16
  101. package/dist/chunks/{file-mutation-se8haf2r.js → job-b4z9ja23.js} +3 -3
  102. package/dist/chunks/{file-mutation-b6gygkdw.js → job-b6gygkdw.js} +2 -2
  103. package/dist/chunks/{file-mutation-eyrsk2wr.js → job-b7nw3dz7.js} +17 -17
  104. package/dist/chunks/{file-mutation-25r2jws7.js → job-bc1scf50.js} +15 -15
  105. package/dist/chunks/{file-mutation-7m15pt6c.js → job-bgc09g8q.js} +30 -30
  106. package/dist/chunks/{file-mutation-h53tpazp.js → job-bm3m92rh.js} +12 -12
  107. package/dist/chunks/{file-mutation-ptkbcdgn.js → job-bqmgswbv.js} +14 -14
  108. package/dist/chunks/{file-mutation-vfmrq4xs.js → job-brvmyjnj.js} +4 -4
  109. package/dist/chunks/{file-mutation-25835ps7.js → job-bv11tn3t.js} +16 -16
  110. package/dist/chunks/{file-mutation-0q6eeezy.js → job-c45er5nk.js} +5 -5
  111. package/dist/chunks/{file-mutation-d4he2qe1.js → job-c765mh8b.js} +9 -9
  112. package/dist/chunks/{file-mutation-jb05x9cx.js → job-c7nv01yg.js} +52 -52
  113. package/dist/chunks/{file-mutation-fvhrn3gk.js → job-caajgf1j.js} +5 -5
  114. package/dist/chunks/{file-mutation-vynmvp9h.js → job-d43tgzm4.js} +9 -9
  115. package/dist/chunks/{file-mutation-cwe02ca0.js → job-d6qthb8j.js} +11 -11
  116. package/dist/chunks/{file-mutation-kkp8zx71.js → job-d858xzj7.js} +4 -4
  117. package/dist/chunks/{file-mutation-8ar1z498.js → job-dba8p38n.js} +13 -13
  118. package/dist/chunks/{file-mutation-8p4f9s12.js → job-dj2t23y0.js} +2 -2
  119. package/dist/chunks/{file-mutation-ag9w8cw1.js → job-dj9sq318.js} +5 -5
  120. package/dist/chunks/{file-mutation-wqexvhqz.js → job-dm1rxb12.js} +1 -1
  121. package/dist/chunks/{file-mutation-szbjyn1k.js → job-dmdcvf38.js} +16 -16
  122. package/dist/chunks/job-dqkwgabx.js +26 -0
  123. package/dist/chunks/{file-mutation-xfkkasph.js → job-drwq78ky.js} +4 -4
  124. package/dist/chunks/{file-mutation-zw4pk1bw.js → job-e89xj288.js} +5 -5
  125. package/dist/chunks/{file-mutation-0gdmqesm.js → job-eaj1djv9.js} +8 -8
  126. package/dist/chunks/{file-mutation-ef5x83kb.js → job-ef5x83kb.js} +1 -1
  127. package/dist/chunks/{file-mutation-r1q2hccy.js → job-ef62gz93.js} +20 -20
  128. package/dist/chunks/{file-mutation-jyzcxg5d.js → job-efm8p952.js} +15 -15
  129. package/dist/chunks/{file-mutation-mfk1rbdv.js → job-egkz4txj.js} +22 -22
  130. package/dist/chunks/{file-mutation-xyd70p3w.js → job-epybzj2g.js} +20 -20
  131. package/dist/chunks/{file-mutation-erw5rpbs.js → job-erw5rpbs.js} +2 -2
  132. package/dist/chunks/{file-mutation-k1grr621.js → job-es0t55qq.js} +25 -25
  133. package/dist/chunks/{file-mutation-89sbf2tr.js → job-esqzc4fs.js} +3 -3
  134. package/dist/chunks/{file-mutation-etq0c3wd.js → job-etq0c3wd.js} +1 -1
  135. package/dist/chunks/{file-mutation-yjvamrjh.js → job-f063ghk9.js} +20 -20
  136. package/dist/chunks/{file-mutation-5jwj12zg.js → job-f0p5ctes.js} +4 -4
  137. package/dist/chunks/{file-mutation-8hbb8fdq.js → job-f5ftdqyv.js} +4 -4
  138. package/dist/chunks/{file-mutation-pnv527nz.js → job-fhs97t90.js} +9 -9
  139. package/dist/chunks/{file-mutation-whtqb0a0.js → job-fk58vp44.js} +32 -32
  140. package/dist/chunks/{file-mutation-44ke2mar.js → job-fkjmw100.js} +6 -6
  141. package/dist/chunks/{file-mutation-fxbjtjnd.js → job-fxbjtjnd.js} +1 -1
  142. package/dist/chunks/{file-mutation-q85fv5sm.js → job-g47mxt1p.js} +51 -51
  143. package/dist/chunks/{file-mutation-khgmt31j.js → job-g6v7ypq0.js} +18 -18
  144. package/dist/chunks/{file-mutation-7m9w9bvj.js → job-g7pvs3fs.js} +10 -10
  145. package/dist/chunks/{file-mutation-806j49yq.js → job-g8d3gcyj.js} +7 -7
  146. package/dist/chunks/{file-mutation-gd4qta3r.js → job-gd4qta3r.js} +1 -1
  147. package/dist/chunks/{file-mutation-bzbtqdde.js → job-gg62xv4q.js} +1 -1
  148. package/dist/chunks/{file-mutation-t9mj6jt2.js → job-gsw6h1kf.js} +4 -4
  149. package/dist/chunks/{file-mutation-gv6a8nnw.js → job-gv6a8nnw.js} +2 -2
  150. package/dist/chunks/{file-mutation-a0t9nbea.js → job-gzkctzh1.js} +3 -3
  151. package/dist/chunks/{file-mutation-dhwr7h25.js → job-h2r7bbkd.js} +11 -11
  152. package/dist/chunks/{file-mutation-h6vf3j39.js → job-h6vf3j39.js} +1 -1
  153. package/dist/chunks/{file-mutation-fb10pz29.js → job-h7kw5x2h.js} +20 -20
  154. package/dist/chunks/{file-mutation-5jyrccsa.js → job-h8z3wjez.js} +27 -27
  155. package/dist/chunks/{file-mutation-v9spj19e.js → job-habd9p12.js} +30 -30
  156. package/dist/chunks/{file-mutation-e8qyrgb1.js → job-hbyhqfhs.js} +5 -5
  157. package/dist/chunks/{file-mutation-jp61ynmd.js → job-hd50s0sm.js} +20 -20
  158. package/dist/chunks/{file-mutation-f828m53h.js → job-hdnk95c8.js} +2 -2
  159. package/dist/chunks/{file-mutation-5ft7ers2.js → job-hggmt63b.js} +11 -11
  160. package/dist/chunks/{file-mutation-3yxkz7nw.js → job-hjb25kd7.js} +46 -46
  161. package/dist/chunks/{file-mutation-1yaa2472.js → job-hkzck3ga.js} +8 -8
  162. package/dist/chunks/{file-mutation-kne8f3cn.js → job-hn57h045.js} +4 -4
  163. package/dist/chunks/{file-mutation-4dxew0jv.js → job-hpxbhh9j.js} +6 -6
  164. package/dist/chunks/{file-mutation-ghfgp0c3.js → job-hqq6j2f9.js} +24 -24
  165. package/dist/chunks/{file-mutation-27hdnw63.js → job-hsg4398k.js} +13 -13
  166. package/dist/chunks/{file-mutation-npnjm836.js → job-hsmc4e55.js} +11 -11
  167. package/dist/chunks/{file-mutation-pdb8ga4w.js → job-j0d9e70d.js} +12 -12
  168. package/dist/chunks/{file-mutation-8ymss7tz.js → job-j1g8nv42.js} +5 -5
  169. package/dist/chunks/{file-mutation-j56e64zr.js → job-j56e64zr.js} +1 -1
  170. package/dist/chunks/{file-mutation-b5a5chs4.js → job-jczg0w2x.js} +11 -11
  171. package/dist/chunks/{file-mutation-vsp1fds9.js → job-jw80jp6b.js} +21 -21
  172. package/dist/chunks/{file-mutation-mx4jkr8z.js → job-k28n6t13.js} +9 -9
  173. package/dist/chunks/{file-mutation-k3c624dm.js → job-k3c624dm.js} +3 -3
  174. package/dist/chunks/{file-mutation-h2g1afwd.js → job-kbx20vne.js} +11 -11
  175. package/dist/chunks/{file-mutation-yxc72q6g.js → job-kcbwjnna.js} +17 -17
  176. package/dist/chunks/{file-mutation-83w0rrj2.js → job-kfgbczz1.js} +30 -30
  177. package/dist/chunks/{file-mutation-fk7y4jkk.js → job-kwrb1vta.js} +11 -11
  178. package/dist/chunks/{file-mutation-cfpkc3c9.js → job-m0jqrx5p.js} +2 -2
  179. package/dist/chunks/{file-mutation-r2h83j2n.js → job-m2v8bx2y.js} +7 -7
  180. package/dist/chunks/{file-mutation-m3fdjcah.js → job-m3fdjcah.js} +1 -1
  181. package/dist/chunks/{file-mutation-n0rcm67m.js → job-m7s474br.js} +22 -22
  182. package/dist/chunks/{file-mutation-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{file-mutation-vxfja19v.js → job-mfna20ew.js} +3 -3
  184. package/dist/chunks/{file-mutation-618kh5az.js → job-mjqkth3z.js} +179 -179
  185. package/dist/chunks/{file-mutation-3zbb0e4x.js → job-mkw2wvv0.js} +10 -10
  186. package/dist/chunks/{file-mutation-7ehb06f5.js → job-mr86hgcg.js} +24 -24
  187. package/dist/chunks/{file-mutation-r98d5qx5.js → job-nv7rbgje.js} +9 -9
  188. package/dist/chunks/{file-mutation-p28j5sbe.js → job-p28j5sbe.js} +2 -2
  189. package/dist/chunks/{file-mutation-7hf3hesr.js → job-p293czm2.js} +4 -4
  190. package/dist/chunks/job-p2h6zvwc.js +18 -0
  191. package/dist/chunks/{file-mutation-cmwkp3r5.js → job-p37cw4rj.js} +8 -8
  192. package/dist/chunks/{file-mutation-w9jrmyp1.js → job-p479xm5n.js} +24 -24
  193. package/dist/chunks/{file-mutation-64kphnzf.js → job-paegk39x.js} +4 -4
  194. package/dist/chunks/{file-mutation-fz059jzw.js → job-pbnv5caj.js} +3 -3
  195. package/dist/chunks/{file-mutation-q58h1swb.js → job-pc4bd1ey.js} +18 -18
  196. package/dist/chunks/{file-mutation-qz49fwgp.js → job-pf2hb43r.js} +6 -6
  197. package/dist/chunks/{file-mutation-gdsttb99.js → job-pggmyjh7.js} +4 -4
  198. package/dist/chunks/{file-mutation-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{file-mutation-pknna89w.js → job-pknna89w.js} +1 -1
  200. package/dist/chunks/{file-mutation-mzrbxmyd.js → job-pn56yd6f.js} +11 -11
  201. package/dist/chunks/{file-mutation-yd2f7xje.js → job-q0x3bbkn.js} +24 -24
  202. package/dist/chunks/{file-mutation-jh7y3ak4.js → job-q1zmm1c6.js} +7 -7
  203. package/dist/chunks/{file-mutation-349ahzma.js → job-q2sqeqex.js} +21 -21
  204. package/dist/chunks/{file-mutation-ma79mf5h.js → job-q8b8x23r.js} +25 -25
  205. package/dist/chunks/{file-mutation-7dqw4kz8.js → job-qgn6gcr1.js} +5 -5
  206. package/dist/chunks/{file-mutation-9d7xkn7g.js → job-qhk3c1hk.js} +15 -15
  207. package/dist/chunks/job-qqb4kf29.js +492 -0
  208. package/dist/chunks/{file-mutation-qsdy395h.js → job-qsdy395h.js} +1 -1
  209. package/dist/chunks/{file-mutation-bdqrk2vk.js → job-qsxf26yz.js} +6 -6
  210. package/dist/chunks/{file-mutation-a7h69g84.js → job-qvzgrdvp.js} +70 -70
  211. package/dist/chunks/{file-mutation-h6r3nrb9.js → job-r55vasa2.js} +4 -4
  212. package/dist/chunks/{file-mutation-qz5dz7fn.js → job-r6ssyrn8.js} +16 -16
  213. package/dist/chunks/{file-mutation-v3qe9rs0.js → job-r6tah6zk.js} +19 -19
  214. package/dist/chunks/{file-mutation-kkhsm4n5.js → job-rdpx5tsz.js} +24 -24
  215. package/dist/chunks/{file-mutation-rdw6cm16.js → job-rdw6cm16.js} +1 -1
  216. package/dist/chunks/{file-mutation-42ybwkjg.js → job-rfyfz3ew.js} +17 -17
  217. package/dist/chunks/{file-mutation-grdqhvxd.js → job-rpwm8seb.js} +23 -23
  218. package/dist/chunks/{file-mutation-4khym028.js → job-rxmj5mzk.js} +6 -6
  219. package/dist/chunks/{file-mutation-zzm21s8t.js → job-rxv8w89z.js} +10 -10
  220. package/dist/chunks/{file-mutation-beq4zmjh.js → job-rzvntaz1.js} +6 -6
  221. package/dist/chunks/{file-mutation-hk26yxvn.js → job-s65x92mt.js} +17 -17
  222. package/dist/chunks/{file-mutation-mn433rsw.js → job-s6e14krq.js} +10 -10
  223. package/dist/chunks/{file-mutation-jxt024yh.js → job-sd834t27.js} +11 -11
  224. package/dist/chunks/{file-mutation-hfbvy1sn.js → job-ss3wr7y3.js} +19 -19
  225. package/dist/chunks/{file-mutation-rk9tjfwx.js → job-ssb8vzq0.js} +14 -14
  226. package/dist/chunks/{file-mutation-ve4pfa0n.js → job-sx1n432n.js} +4 -4
  227. package/dist/chunks/{file-mutation-fradymh3.js → job-szcj0kzf.js} +8 -8
  228. package/dist/chunks/{file-mutation-4ym5jtja.js → job-t4x7ra2n.js} +24 -24
  229. package/dist/chunks/{file-mutation-0eg4rpj5.js → job-t6e30qbs.js} +47 -47
  230. package/dist/chunks/{file-mutation-tazgh4e4.js → job-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{file-mutation-wy8b5sm2.js → job-tcg29b4q.js} +1 -1
  232. package/dist/chunks/{file-mutation-tdstcens.js → job-tdstcens.js} +1 -1
  233. package/dist/chunks/{file-mutation-xw3aqcjm.js → job-tem2pcp0.js} +7 -7
  234. package/dist/chunks/{file-mutation-8aaqm6qj.js → job-tk9ew89t.js} +8 -8
  235. package/dist/chunks/{file-mutation-969z9wtq.js → job-tktcwvw2.js} +47 -47
  236. package/dist/chunks/{file-mutation-kdbxf4qp.js → job-tsdhstjq.js} +9 -9
  237. package/dist/chunks/{file-mutation-tvtrv512.js → job-tvtrv512.js} +1 -1
  238. package/dist/chunks/{file-mutation-yw8t9dwe.js → job-tx9w5tca.js} +8 -8
  239. package/dist/chunks/{file-mutation-veqvce7d.js → job-veqvce7d.js} +1 -1
  240. package/dist/chunks/{file-mutation-nng2ktcm.js → job-vmgq4x8b.js} +2 -2
  241. package/dist/chunks/{file-mutation-mx9vqzsb.js → job-vqfzq50h.js} +6 -6
  242. package/dist/chunks/{file-mutation-3hdyanjz.js → job-vr2vg3zy.js} +4 -4
  243. package/dist/chunks/{file-mutation-q643w91n.js → job-vv1h1xbx.js} +5 -5
  244. package/dist/chunks/{file-mutation-a43a3g9h.js → job-vxt7r4vg.js} +10 -10
  245. package/dist/chunks/{file-mutation-vzcthcp8.js → job-vzcthcp8.js} +1 -1
  246. package/dist/chunks/{file-mutation-kjfdeayr.js → job-w1ad28wa.js} +8 -8
  247. package/dist/chunks/{file-mutation-ft2kdwr0.js → job-w2tyfqqp.js} +41 -41
  248. package/dist/chunks/{file-mutation-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{file-mutation-0pkscahp.js → job-wbktg4wj.js} +18 -18
  250. package/dist/chunks/{file-mutation-vvqa46qn.js → job-wd36wav5.js} +32 -32
  251. package/dist/chunks/{file-mutation-wd87259q.js → job-wd87259q.js} +1 -1
  252. package/dist/chunks/{file-mutation-ff2d2r5m.js → job-wh1n14bd.js} +17 -17
  253. package/dist/chunks/{file-mutation-yq432fpn.js → job-wncs52te.js} +24 -24
  254. package/dist/chunks/{file-mutation-ddszz877.js → job-wnrxzpw0.js} +5 -5
  255. package/dist/chunks/{file-mutation-3wwmjj1e.js → job-wv5yzdar.js} +19 -19
  256. package/dist/chunks/{file-mutation-tgkhkf8q.js → job-wzdyyep8.js} +8 -8
  257. package/dist/chunks/{file-mutation-x1ezjp6w.js → job-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{file-mutation-tf439zmr.js → job-x7kmr8sd.js} +26 -26
  259. package/dist/chunks/{file-mutation-dm5eaebf.js → job-xakv51w3.js} +37 -37
  260. package/dist/chunks/{file-mutation-1tve5nz8.js → job-xnm8kjs2.js} +8 -8
  261. package/dist/chunks/{file-mutation-1xv6ggcd.js → job-xxa0rhz0.js} +37 -37
  262. package/dist/chunks/{file-mutation-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
  263. package/dist/chunks/{file-mutation-272j0xxc.js → job-y1fyccvv.js} +7 -7
  264. package/dist/chunks/{file-mutation-y71avatq.js → job-y71avatq.js} +1 -1
  265. package/dist/chunks/{file-mutation-vf8xkcyd.js → job-ye7w4cqk.js} +13 -13
  266. package/dist/chunks/{file-mutation-an8v9wk2.js → job-yfz9e6q0.js} +46 -46
  267. package/dist/chunks/{file-mutation-hfdv8wax.js → job-yjab35yh.js} +6 -6
  268. package/dist/chunks/{file-mutation-h2mtz7rf.js → job-ymqqterr.js} +22 -22
  269. package/dist/chunks/{file-mutation-yrhqyw5v.js → job-yrhqyw5v.js} +1 -1
  270. package/dist/chunks/{file-mutation-s4enseaf.js → job-yrznvahk.js} +2 -2
  271. package/dist/chunks/{file-mutation-7ea56vch.js → job-yw26j43m.js} +9 -9
  272. package/dist/chunks/{file-mutation-tz0rw111.js → job-yxvmkcfe.js} +41 -41
  273. package/dist/chunks/{file-mutation-z0bkrqjs.js → job-z0bkrqjs.js} +1 -1
  274. package/dist/chunks/{file-mutation-8hpm3er8.js → job-z135kqbe.js} +38 -38
  275. package/dist/chunks/{file-mutation-ymw7bbdm.js → job-z1xjbeh4.js} +9 -9
  276. package/dist/chunks/{file-mutation-29x78va6.js → job-z63w68vq.js} +6 -6
  277. package/dist/chunks/{file-mutation-9xw9w00h.js → job-za2adgwd.js} +14 -14
  278. package/dist/chunks/{file-mutation-th6pfvs0.js → job-za8v1e16.js} +33 -33
  279. package/dist/chunks/{file-mutation-e1qag84x.js → job-zdx017e5.js} +20 -20
  280. package/dist/chunks/{file-mutation-zeh9ct20.js → job-zeh9ct20.js} +2 -2
  281. package/dist/chunks/{file-mutation-8q83d4tx.js → job-zhtw8qjf.js} +15 -15
  282. package/dist/chunks/{file-mutation-x2ncb56t.js → job-zmxkbdbt.js} +24 -24
  283. package/dist/chunks/{file-mutation-cpbpaj6d.js → job-znj4065v.js} +21 -21
  284. package/dist/chunks/{file-mutation-kbgxh5wd.js → job-znrpspxx.js} +11 -11
  285. package/dist/chunks/{file-mutation-b0kddjqc.js → job-zqgctg7n.js} +90 -90
  286. package/dist/chunks/{file-mutation-zr2ceqn5.js → job-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{file-mutation-xpjszw2w.js → job-zsxqfppe.js} +14 -14
  288. package/dist/chunks/{file-mutation-sbydz4ep.js → job-zw67fc8n.js} +6 -6
  289. package/dist/chunks/{file-mutation-zxq2ej10.js → job-zxq2ej10.js} +1 -1
  290. package/dist/chunks/{file-mutation-w15v5k7j.js → job-zxxqg0t9.js} +10 -10
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +5 -5
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +84 -84
  296. package/dist/config/discovery.js +83 -83
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +105 -105
  299. package/dist/config/plugin/agent.js +124 -124
  300. package/dist/config/plugin/command.js +213 -213
  301. package/dist/config/plugin/compaction.js +161 -161
  302. package/dist/config/plugin/compatibility.js +140 -140
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +123 -123
  305. package/dist/config/plugin/image.js +122 -122
  306. package/dist/config/plugin/instruction.js +89 -89
  307. package/dist/config/plugin/location-watcher.js +122 -122
  308. package/dist/config/plugin/mcp.js +131 -131
  309. package/dist/config/plugin/policy.js +122 -122
  310. package/dist/config/plugin/provider.js +122 -122
  311. package/dist/config/plugin/reference.js +124 -124
  312. package/dist/config/plugin/shell.js +124 -124
  313. package/dist/config/plugin/skill-file.js +101 -101
  314. package/dist/config/plugin/skill.js +141 -141
  315. package/dist/config/plugin/snapshot.js +122 -122
  316. package/dist/config/plugin/source.js +125 -125
  317. package/dist/config/plugin/tool-output.js +124 -124
  318. package/dist/config/plugin/websearch.js +123 -123
  319. package/dist/config/plugin/worktree.js +124 -124
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +127 -127
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +84 -84
  325. package/dist/database/database.js +65 -65
  326. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +13 -13
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +14 -14
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration.gen.js +48 -48
  390. package/dist/database/migration.js +50 -50
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +75 -75
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +366 -366
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +1 -1
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +92 -92
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +94 -94
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +69 -69
  414. package/dist/file-access.js +103 -103
  415. package/dist/file-mutation.js +93 -93
  416. package/dist/file-retention.js +1 -1
  417. package/dist/file.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +224 -224
  425. package/dist/filesystem/protected.js +3 -3
  426. package/dist/filesystem/search.js +102 -102
  427. package/dist/filesystem/watcher-binding.js +3 -3
  428. package/dist/filesystem/watcher.js +15 -15
  429. package/dist/filesystem.js +107 -107
  430. package/dist/form.js +79 -79
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +82 -82
  433. package/dist/generate.js +102 -102
  434. package/dist/git.js +10 -10
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +90 -90
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +359 -359
  459. package/dist/instruction-discovery.js +82 -82
  460. package/dist/instructions/builtins.js +86 -86
  461. package/dist/instructions/index.js +5 -5
  462. package/dist/integration/connection.js +3 -3
  463. package/dist/integration.js +87 -87
  464. package/dist/job.js +76 -76
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +72 -72
  467. package/dist/location-activity.js +129 -129
  468. package/dist/location-lifecycle.js +105 -105
  469. package/dist/location-mutation.js +103 -103
  470. package/dist/location-service-map.js +83 -83
  471. package/dist/location-services.js +356 -356
  472. package/dist/location.js +88 -88
  473. package/dist/mcp/client.js +90 -90
  474. package/dist/mcp/index.js +107 -107
  475. package/dist/mcp/instructions.js +125 -125
  476. package/dist/mcp/oauth.js +77 -77
  477. package/dist/mcp/stdio.js +89 -89
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +90 -90
  480. package/dist/model-resolver.js +97 -97
  481. package/dist/model.js +99 -99
  482. package/dist/models-dev.js +106 -106
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +81 -81
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +112 -112
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +85 -85
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +74 -74
  492. package/dist/plugin/agent.js +103 -103
  493. package/dist/plugin/command.js +100 -100
  494. package/dist/plugin/compaction.js +132 -132
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +217 -217
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +330 -330
  500. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  501. package/dist/plugin/models-dev.js +95 -95
  502. package/dist/plugin/module.js +7 -7
  503. package/dist/plugin/optimize.js +4 -4
  504. package/dist/plugin/plan.js +101 -101
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  507. package/dist/plugin/provider/azure.js +121 -121
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +118 -118
  513. package/dist/plugin/provider/digitalocean.js +92 -92
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/gateway.js +2 -2
  517. package/dist/plugin/provider/github-copilot.js +92 -92
  518. package/dist/plugin/provider/gitlab.js +90 -90
  519. package/dist/plugin/provider/google-vertex.js +89 -89
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +76 -76
  522. package/dist/plugin/provider/lmstudio.js +121 -121
  523. package/dist/plugin/provider/modal.js +91 -91
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +119 -119
  526. package/dist/plugin/provider/openai.js +93 -93
  527. package/dist/plugin/provider/opencode.js +92 -92
  528. package/dist/plugin/provider/openrouter.js +90 -90
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +77 -77
  531. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  532. package/dist/plugin/provider/sap-ai-core.js +90 -90
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  535. package/dist/plugin/provider/venice.js +2 -2
  536. package/dist/plugin/provider/vercel.js +89 -89
  537. package/dist/plugin/provider/vllm.js +121 -121
  538. package/dist/plugin/provider/xai.js +90 -90
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +158 -158
  541. package/dist/plugin/sdk.js +75 -75
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +140 -140
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +349 -349
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +85 -85
  549. package/dist/plugin/vcs/hg.js +85 -85
  550. package/dist/plugin/warming.js +120 -120
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +6 -6
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +228 -228
  559. package/dist/project/schema.js +8 -8
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +89 -89
  562. package/dist/provider.js +100 -100
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/schema.js +3 -3
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +93 -93
  567. package/dist/reference/instructions.js +86 -86
  568. package/dist/reference.js +88 -88
  569. package/dist/repository-cache.js +80 -80
  570. package/dist/repository.js +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +96 -96
  573. package/dist/rpc.js +85 -85
  574. package/dist/schema.js +1 -1
  575. package/dist/session/command.js +73 -73
  576. package/dist/session/compaction.js +131 -131
  577. package/dist/session/context.js +151 -151
  578. package/dist/session/diff.js +87 -87
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +5 -5
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +220 -220
  583. package/dist/session/execution.js +125 -125
  584. package/dist/session/generate.js +152 -152
  585. package/dist/session/history.js +15 -15
  586. package/dist/session/inbox.js +87 -87
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +78 -78
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +96 -96
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +118 -118
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +129 -129
  596. package/dist/session/projector.js +85 -85
  597. package/dist/session/prompt.js +104 -104
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +89 -89
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +230 -230
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +97 -97
  605. package/dist/session/runner/publish-llm-event.js +3 -3
  606. package/dist/session/runner/retry.js +113 -113
  607. package/dist/session/runner/step.js +125 -125
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +171 -171
  611. package/dist/session/shell.js +137 -137
  612. package/dist/session/skill.js +102 -102
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +72 -72
  615. package/dist/session/store.js +86 -86
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +209 -209
  618. package/dist/session/system-prompt.js +3 -3
  619. package/dist/session/title.js +155 -155
  620. package/dist/session/to-session-error.js +110 -110
  621. package/dist/session/transfer.js +216 -216
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +217 -217
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +15 -15
  628. package/dist/shell.js +139 -139
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +104 -104
  631. package/dist/skill.js +109 -109
  632. package/dist/snapshot.js +88 -88
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +126 -126
  637. package/dist/tool/plugin/edit.js +113 -113
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +123 -123
  640. package/dist/tool/plugin/grep.js +123 -123
  641. package/dist/tool/plugin/opencode.js +3 -3
  642. package/dist/tool/plugin/patch.js +121 -121
  643. package/dist/tool/plugin/question.js +104 -104
  644. package/dist/tool/plugin/read.js +124 -124
  645. package/dist/tool/plugin/shell.js +216 -216
  646. package/dist/tool/plugin/skill.js +112 -112
  647. package/dist/tool/plugin/subagent.js +218 -218
  648. package/dist/tool/plugin/webfetch.js +109 -109
  649. package/dist/tool/plugin/websearch.js +107 -107
  650. package/dist/tool/plugin/write.js +121 -121
  651. package/dist/tool/read-filesystem.js +99 -99
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +8 -8
  654. package/dist/tool.js +16 -16
  655. package/dist/util/error-summary.js +1 -1
  656. package/dist/util/error.js +1 -1
  657. package/dist/util/git-executable.js +2 -2
  658. package/dist/util/iife.js +1 -1
  659. package/dist/util/lazy.js +1 -1
  660. package/dist/util/slug.js +1 -1
  661. package/dist/util/token.js +1 -1
  662. package/dist/util/which.js +1 -1
  663. package/dist/util/wildcard.js +1 -1
  664. package/dist/v1/config/agent.js +7 -7
  665. package/dist/v1/config/attachment.js +4 -4
  666. package/dist/v1/config/command.js +5 -5
  667. package/dist/v1/config/config.js +16 -16
  668. package/dist/v1/config/error.js +4 -4
  669. package/dist/v1/config/formatter.js +5 -5
  670. package/dist/v1/config/layout.js +1 -1
  671. package/dist/v1/config/lsp.js +5 -5
  672. package/dist/v1/config/mcp.js +4 -4
  673. package/dist/v1/config/migrate.js +91 -91
  674. package/dist/v1/config/permission.js +7 -7
  675. package/dist/v1/config/plugin.js +3 -3
  676. package/dist/v1/config/provider-options.js +1 -1
  677. package/dist/v1/config/provider.js +4 -4
  678. package/dist/v1/config/server.js +2 -2
  679. package/dist/v1/config/skills.js +3 -3
  680. package/dist/v1/permission.js +1 -1
  681. package/dist/variant.js +92 -92
  682. package/dist/vcs/patch.js +1 -1
  683. package/dist/vcs.js +88 -88
  684. package/dist/websearch.js +83 -83
  685. package/dist/wellknown/plugin.js +75 -75
  686. package/dist/wellknown.js +80 -80
  687. package/dist/workspace/driver.js +5 -5
  688. package/dist/workspace/sql.js +1 -1
  689. package/dist/workspace.js +77 -77
  690. package/dist/worktree/directory.js +2 -2
  691. package/dist/worktree/git.js +10 -10
  692. package/dist/worktree/sql.js +5 -5
  693. package/dist/worktree/strategies.js +88 -88
  694. package/dist/worktree.js +93 -93
  695. package/package.json +8 -8
  696. package/dist/chunks/file-mutation-2680q31g.js +0 -65
  697. package/dist/chunks/file-mutation-5fvgv7y0.js +0 -26
  698. package/dist/chunks/file-mutation-6kdq0pjd.js +0 -4
  699. package/dist/chunks/file-mutation-ctefx7dc.js +0 -18
  700. package/dist/chunks/file-mutation-e2h1d8z0.js +0 -492
  701. package/dist/chunks/file-mutation-w1v3sb82.js +0 -252
  702. /package/dist/chunks/{file-mutation-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
  703. /package/dist/chunks/{file-mutation-0zkw76rk.js → job-0zkw76rk.js} +0 -0
  704. /package/dist/chunks/{file-mutation-17cy0kzp.js → job-17cy0kzp.js} +0 -0
  705. /package/dist/chunks/{file-mutation-1cnp2v09.js → job-1cnp2v09.js} +0 -0
  706. /package/dist/chunks/{file-mutation-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
  707. /package/dist/chunks/{file-mutation-24dcb14g.js → job-24dcb14g.js} +0 -0
  708. /package/dist/chunks/{file-mutation-2710q6r3.js → job-2710q6r3.js} +0 -0
  709. /package/dist/chunks/{file-mutation-2axfhc9x.js → job-2axfhc9x.js} +0 -0
  710. /package/dist/chunks/{file-mutation-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
  711. /package/dist/chunks/{file-mutation-359p4xyc.js → job-359p4xyc.js} +0 -0
  712. /package/dist/chunks/{file-mutation-3asan66x.js → job-3asan66x.js} +0 -0
  713. /package/dist/chunks/{file-mutation-3v8g72cx.js → job-3v8g72cx.js} +0 -0
  714. /package/dist/chunks/{file-mutation-3w5fmr99.js → job-3w5fmr99.js} +0 -0
  715. /package/dist/chunks/{file-mutation-3wcehsnq.js → job-3wcehsnq.js} +0 -0
  716. /package/dist/chunks/{file-mutation-43n2bw4t.js → job-43n2bw4t.js} +0 -0
  717. /package/dist/chunks/{file-mutation-4knz6hnm.js → job-4knz6hnm.js} +0 -0
  718. /package/dist/chunks/{file-mutation-4vcrnpx2.js → job-4vcrnpx2.js} +0 -0
  719. /package/dist/chunks/{file-mutation-4y7fprxs.js → job-4y7fprxs.js} +0 -0
  720. /package/dist/chunks/{file-mutation-53557ph1.js → job-53557ph1.js} +0 -0
  721. /package/dist/chunks/{file-mutation-550bvhaj.js → job-550bvhaj.js} +0 -0
  722. /package/dist/chunks/{file-mutation-6prwharc.js → job-6prwharc.js} +0 -0
  723. /package/dist/chunks/{file-mutation-7akdwqpd.js → job-7akdwqpd.js} +0 -0
  724. /package/dist/chunks/{file-mutation-7m9af43g.js → job-7m9af43g.js} +0 -0
  725. /package/dist/chunks/{file-mutation-822emrt2.js → job-822emrt2.js} +0 -0
  726. /package/dist/chunks/{file-mutation-88xbtdfr.js → job-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{file-mutation-8n3pysct.js → job-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{file-mutation-922hggd3.js → job-922hggd3.js} +0 -0
  729. /package/dist/chunks/{file-mutation-9a4afbnw.js → job-9a4afbnw.js} +0 -0
  730. /package/dist/chunks/{file-mutation-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
  731. /package/dist/chunks/{file-mutation-a6k6eb26.js → job-a6k6eb26.js} +0 -0
  732. /package/dist/chunks/{file-mutation-af5trqkr.js → job-af5trqkr.js} +0 -0
  733. /package/dist/chunks/{file-mutation-afrmfg78.js → job-afrmfg78.js} +0 -0
  734. /package/dist/chunks/{file-mutation-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
  735. /package/dist/chunks/{file-mutation-atq7p7m5.js → job-atq7p7m5.js} +0 -0
  736. /package/dist/chunks/{file-mutation-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
  737. /package/dist/chunks/{file-mutation-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
  738. /package/dist/chunks/{file-mutation-cf4snx6d.js → job-cf4snx6d.js} +0 -0
  739. /package/dist/chunks/{file-mutation-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
  740. /package/dist/chunks/{file-mutation-d9fn303g.js → job-d9fn303g.js} +0 -0
  741. /package/dist/chunks/{file-mutation-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
  742. /package/dist/chunks/{file-mutation-dajrwvna.js → job-dajrwvna.js} +0 -0
  743. /package/dist/chunks/{file-mutation-dap0rakb.js → job-dap0rakb.js} +0 -0
  744. /package/dist/chunks/{file-mutation-df08tz66.js → job-df08tz66.js} +0 -0
  745. /package/dist/chunks/{file-mutation-dy18nga0.js → job-dy18nga0.js} +0 -0
  746. /package/dist/chunks/{file-mutation-e5kj55wp.js → job-e5kj55wp.js} +0 -0
  747. /package/dist/chunks/{file-mutation-e73j6tqm.js → job-e73j6tqm.js} +0 -0
  748. /package/dist/chunks/{file-mutation-ec1grn59.js → job-ec1grn59.js} +0 -0
  749. /package/dist/chunks/{file-mutation-eh3zwz77.js → job-eh3zwz77.js} +0 -0
  750. /package/dist/chunks/{file-mutation-emrn6kk6.js → job-emrn6kk6.js} +0 -0
  751. /package/dist/chunks/{file-mutation-f0mxakyp.js → job-f0mxakyp.js} +0 -0
  752. /package/dist/chunks/{file-mutation-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
  753. /package/dist/chunks/{file-mutation-faypxj3z.js → job-faypxj3z.js} +0 -0
  754. /package/dist/chunks/{file-mutation-fd410y7t.js → job-fd410y7t.js} +0 -0
  755. /package/dist/chunks/{file-mutation-fxgpk5d8.js → job-fxgpk5d8.js} +0 -0
  756. /package/dist/chunks/{file-mutation-g4wezp1m.js → job-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{file-mutation-g86h250q.js → job-g86h250q.js} +0 -0
  758. /package/dist/chunks/{file-mutation-gebd4c9n.js → job-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{file-mutation-gftt206x.js → job-gftt206x.js} +0 -0
  760. /package/dist/chunks/{file-mutation-hjbc5kem.js → job-hjbc5kem.js} +0 -0
  761. /package/dist/chunks/{file-mutation-hk9envan.js → job-hk9envan.js} +0 -0
  762. /package/dist/chunks/{file-mutation-j2ntwpah.js → job-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{file-mutation-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{file-mutation-jjkms2e6.js → job-jjkms2e6.js} +0 -0
  765. /package/dist/chunks/{file-mutation-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
  766. /package/dist/chunks/{file-mutation-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
  767. /package/dist/chunks/{file-mutation-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
  768. /package/dist/chunks/{file-mutation-mp448xyj.js → job-mp448xyj.js} +0 -0
  769. /package/dist/chunks/{file-mutation-msx8hqn2.js → job-msx8hqn2.js} +0 -0
  770. /package/dist/chunks/{file-mutation-n05xt0ee.js → job-n05xt0ee.js} +0 -0
  771. /package/dist/chunks/{file-mutation-n3j8tn72.js → job-n3j8tn72.js} +0 -0
  772. /package/dist/chunks/{file-mutation-njntx4h6.js → job-njntx4h6.js} +0 -0
  773. /package/dist/chunks/{file-mutation-q3sfg36h.js → job-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{file-mutation-q74kybfr.js → job-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{file-mutation-qaymkmh1.js → job-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{file-mutation-qb87gjwd.js → job-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{file-mutation-qfa1cgps.js → job-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{file-mutation-qg3g05ea.js → job-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{file-mutation-qrg20bc0.js → job-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{file-mutation-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{file-mutation-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{file-mutation-sk3qaz4a.js → job-sk3qaz4a.js} +0 -0
  783. /package/dist/chunks/{file-mutation-ssg3fenm.js → job-ssg3fenm.js} +0 -0
  784. /package/dist/chunks/{file-mutation-twg0f83k.js → job-twg0f83k.js} +0 -0
  785. /package/dist/chunks/{file-mutation-w803qqfp.js → job-w803qqfp.js} +0 -0
  786. /package/dist/chunks/{file-mutation-wc3fc9cn.js → job-wc3fc9cn.js} +0 -0
  787. /package/dist/chunks/{file-mutation-wer8tq1h.js → job-wer8tq1h.js} +0 -0
  788. /package/dist/chunks/{file-mutation-wtztk69x.js → job-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{file-mutation-x0ckcb58.js → job-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{file-mutation-x61499pn.js → job-x61499pn.js} +0 -0
  791. /package/dist/chunks/{file-mutation-y44na4kk.js → job-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{file-mutation-y8cydn3q.js → job-y8cydn3q.js} +0 -0
  793. /package/dist/chunks/{file-mutation-y8f7s663.js → job-y8f7s663.js} +0 -0
  794. /package/dist/chunks/{file-mutation-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
  795. /package/dist/chunks/{file-mutation-ym463w8f.js → job-ym463w8f.js} +0 -0
  796. /package/dist/chunks/{file-mutation-z9919s4g.js → job-z9919s4g.js} +0 -0
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  Service83
3
- } from "./file-mutation-a0t9nbea.js";
3
+ } from "./job-gzkctzh1.js";
4
4
  import {
5
5
  Service82
6
- } from "./file-mutation-t9mj6jt2.js";
6
+ } from "./job-gsw6h1kf.js";
7
7
  import {
8
- Service45
9
- } from "./file-mutation-mx9vqzsb.js";
8
+ Service41
9
+ } from "./job-vqfzq50h.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./file-mutation-fxbjtjnd.js";
12
+ } from "./job-fxbjtjnd.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./file-mutation-gftt206x.js";
15
+ } from "./job-gftt206x.js";
16
16
  import {
17
17
  NotFoundError9,
18
18
  PromptConflictError2,
@@ -20,55 +20,55 @@ import {
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./file-mutation-jh7y3ak4.js";
23
+ } from "./job-q1zmm1c6.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./file-mutation-ec1grn59.js";
26
+ } from "./job-ec1grn59.js";
27
27
  import {
28
- Service57
29
- } from "./file-mutation-s8wea8bx.js";
28
+ Service74
29
+ } from "./job-06v682d8.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service44
34
- } from "./file-mutation-cpbpaj6d.js";
33
+ Service39
34
+ } from "./job-znj4065v.js";
35
35
  import {
36
- Service42
37
- } from "./file-mutation-qjj0dw3c.js";
36
+ Service37
37
+ } from "./job-apsrg68e.js";
38
38
  import {
39
39
  prepare2
40
- } from "./file-mutation-nk6ab3nm.js";
40
+ } from "./job-atbq07bs.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./file-mutation-25835ps7.js";
45
+ } from "./job-bv11tn3t.js";
46
46
  import {
47
47
  start2
48
- } from "./file-mutation-mx4jkr8z.js";
48
+ } from "./job-k28n6t13.js";
49
49
  import {
50
50
  get4
51
- } from "./file-mutation-ymw7bbdm.js";
51
+ } from "./job-z1xjbeh4.js";
52
52
  import {
53
53
  __export
54
- } from "./file-mutation-9rqn6x4v.js";
54
+ } from "./job-9rqn6x4v.js";
55
55
 
56
56
  // src/session/session.ts
57
57
  var exports_session2 = {};
58
58
  __export(exports_session2, {
59
59
  Session: () => exports_session2,
60
- make: () => make13
60
+ make: () => make12
61
61
  });
62
62
  import { DateTime, Effect, Fiber, Scope } from "effect";
63
63
  import { Event } from "@opencode/schema/event";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
- var make13 = Effect.fn("Session.make")(function* () {
65
+ var make12 = Effect.fn("Session.make")(function* () {
66
66
  const bus = yield* Service82;
67
67
  const database = yield* Service83;
68
- const store = yield* Service57;
69
- const instances = yield* Service45;
70
- const execution = yield* Service42;
71
- const admission = yield* Service44;
68
+ const store = yield* Service74;
69
+ const instances = yield* Service41;
70
+ const execution = yield* Service37;
71
+ const admission = yield* Service39;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
@@ -131,7 +131,7 @@ var make13 = Effect.fn("Session.make")(function* () {
131
131
  });
132
132
  if (existing)
133
133
  return existing;
134
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service45, instances), Effect.provideService(FSUtil.Service, fs)));
134
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service41, instances), Effect.provideService(FSUtil.Service, fs)));
135
135
  if (session.revert)
136
136
  yield* commit2(bus, session);
137
137
  return yield* admission.admit({
@@ -147,7 +147,7 @@ var make13 = Effect.fn("Session.make")(function* () {
147
147
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
148
148
  const session = yield* get(sessionID);
149
149
  const running = yield* Effect.gen(function* () {
150
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service45, instances), Effect.tapError((error) => synthetic(sessionID, {
150
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service41, instances), Effect.tapError((error) => synthetic(sessionID, {
151
151
  text: `User shell command failed to start:
152
152
  ${input.command}
153
153
 
@@ -176,7 +176,7 @@ ${error.message}`,
176
176
  });
177
177
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
178
178
  const session = yield* get(sessionID);
179
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service45, instances));
179
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service41, instances));
180
180
  yield* bus.publish(SessionEvent2.Skill.Activated, {
181
181
  sessionID,
182
182
  id: skill.id,
@@ -233,13 +233,13 @@ ${error.message}`,
233
233
  const session = yield* get(sessionID);
234
234
  if (yield* execution.isActive(sessionID))
235
235
  return yield* new BusyError2({ sessionID });
236
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service45, instances), Effect.provideService(Service83, database), Effect.provideService(Service82, bus));
236
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service41, instances), Effect.provideService(Service83, database), Effect.provideService(Service82, bus));
237
237
  });
238
238
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
239
239
  const session = yield* get(sessionID);
240
240
  if (yield* execution.isActive(sessionID))
241
241
  return yield* new BusyError2({ sessionID });
242
- yield* clear2(session).pipe(Effect.provideService(Service45, instances), Effect.provideService(Service82, bus));
242
+ yield* clear2(session).pipe(Effect.provideService(Service41, instances), Effect.provideService(Service82, bus));
243
243
  return yield* execution.wake(sessionID);
244
244
  });
245
245
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -322,4 +322,4 @@ ${error.message}`,
322
322
  return { forSession };
323
323
  });
324
324
 
325
- export { make13, exports_session2 };
325
+ export { make12, exports_session2 };
@@ -1,24 +1,24 @@
1
1
  import {
2
- Service10
3
- } from "./file-mutation-4ym5jtja.js";
2
+ Service9
3
+ } from "./job-t4x7ra2n.js";
4
4
  import {
5
5
  __export
6
- } from "./file-mutation-9rqn6x4v.js";
6
+ } from "./job-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/compaction.ts
9
- var exports_compaction2 = {};
10
- __export(exports_compaction2, {
11
- NativeCompactionPlugin: () => exports_compaction2,
12
- Plugin: () => Plugin46
9
+ var exports_compaction = {};
10
+ __export(exports_compaction, {
11
+ NativeCompactionPlugin: () => exports_compaction,
12
+ Plugin: () => Plugin18
13
13
  });
14
14
  import { LLMClient, Message } from "@opencode/ai";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Effect } from "effect";
17
- var Plugin46 = define({
17
+ var Plugin18 = define({
18
18
  id: "opencode.compaction.native",
19
19
  effect: Effect.fn("NativeCompactionPlugin")(function* () {
20
20
  const llm = yield* LLMClient.Service;
21
- const compaction = yield* Service10;
21
+ const compaction = yield* Service9;
22
22
  yield* compaction.transform((editor) => {
23
23
  editor.native((input) => {
24
24
  const request = input.request;
@@ -36,4 +36,4 @@ var Plugin46 = define({
36
36
  })
37
37
  });
38
38
 
39
- export { Plugin46, exports_compaction2 };
39
+ export { Plugin18, exports_compaction };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service76
3
- } from "./file-mutation-emkv37r5.js";
2
+ Service79
3
+ } from "./job-7thy3neb.js";
4
4
  import {
5
- Service68
6
- } from "./file-mutation-w9jrmyp1.js";
5
+ Service69
6
+ } from "./job-p479xm5n.js";
7
7
  import {
8
- Service27,
8
+ Service68,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./file-mutation-4vg93jqq.js";
11
+ } from "./job-9bwme3e5.js";
12
12
  import {
13
13
  Service13
14
- } from "./file-mutation-xw3aqcjm.js";
14
+ } from "./job-tem2pcp0.js";
15
15
  import {
16
- Service55
17
- } from "./file-mutation-zgr90j8v.js";
16
+ Service73
17
+ } from "./job-1e0p5273.js";
18
18
  import {
19
- Service21,
19
+ Service15,
20
20
  resolvePath2
21
- } from "./file-mutation-q58h1swb.js";
21
+ } from "./job-pc4bd1ey.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./file-mutation-6prwharc.js";
24
+ } from "./job-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./file-mutation-9rqn6x4v.js";
27
+ } from "./job-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
@@ -32,7 +32,7 @@ __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
33
  Input: () => Input3,
34
34
  Output: () => Output2,
35
- Plugin: () => Plugin4,
35
+ Plugin: () => Plugin39,
36
36
  name: () => name3
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
@@ -103,15 +103,15 @@ var findLineOccurrences = (content, search) => {
103
103
  return result;
104
104
  }, []);
105
105
  };
106
- var Plugin4 = {
106
+ var Plugin39 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service21;
110
- const fileMutation = yield* Service27;
111
- const environment = yield* Service68;
109
+ const access = yield* Service15;
110
+ const fileMutation = yield* Service68;
111
+ const environment = yield* Service69;
112
112
  const formatter = yield* Service13;
113
- const location = yield* Service76;
114
- const permission = yield* Service55;
113
+ const location = yield* Service79;
114
+ const permission = yield* Service73;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
116
  name: name3,
117
117
  options: { codemode: false, permission: "edit" },
@@ -194,4 +194,4 @@ var Plugin4 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name3, Input3, Output2, Plugin4, exports_edit };
197
+ export { name3, Input3, Output2, Plugin39, exports_edit };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./file-mutation-2a5m3afh.js";
5
+ } from "./job-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./file-mutation-9rqn6x4v.js";
8
+ } from "./job-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/memory.ts
11
11
  var exports_memory = {};
@@ -1,50 +1,50 @@
1
1
  import {
2
- Service63
3
- } from "./file-mutation-yd2f7xje.js";
2
+ Service46
3
+ } from "./job-q0x3bbkn.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./file-mutation-922hggd3.js";
6
+ } from "./job-922hggd3.js";
7
7
  import {
8
- Service76
9
- } from "./file-mutation-emkv37r5.js";
8
+ Service79
9
+ } from "./job-7thy3neb.js";
10
10
  import {
11
- Service62
12
- } from "./file-mutation-an8v9wk2.js";
11
+ Service45
12
+ } from "./job-yfz9e6q0.js";
13
13
  import {
14
14
  DirectorySource2,
15
15
  UrlSource2,
16
16
  Source3
17
- } from "./file-mutation-mgscsna9.js";
17
+ } from "./job-9a60j1p0.js";
18
18
  import {
19
- Service9
20
- } from "./file-mutation-pnv527nz.js";
19
+ Service8
20
+ } from "./job-fhs97t90.js";
21
21
  import {
22
22
  parse2
23
- } from "./file-mutation-4khym028.js";
23
+ } from "./job-rxmj5mzk.js";
24
24
  import {
25
25
  __export
26
- } from "./file-mutation-9rqn6x4v.js";
26
+ } from "./job-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/skill.ts
29
29
  var exports_skill2 = {};
30
30
  __export(exports_skill2, {
31
31
  ConfigSkillPlugin: () => exports_skill2,
32
- Plugin: () => Plugin29
32
+ Plugin: () => Plugin27
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import path from "path";
38
38
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
39
- var Plugin29 = define({
39
+ var Plugin27 = define({
40
40
  id: "opencode.config.skill",
41
41
  effect: Effect.fn(function* (ctx) {
42
- const config = yield* Service62;
43
- const discovery = yield* Service9;
42
+ const config = yield* Service45;
43
+ const discovery = yield* Service8;
44
44
  const fs = yield* FSUtil.Service;
45
45
  const global = yield* Global.Service;
46
- const location = yield* Service76;
47
- const watcher = yield* Service63;
46
+ const location = yield* Service79;
47
+ const watcher = yield* Service46;
48
48
  const loaded = {
49
49
  entries: yield* config.entries(),
50
50
  skills: []
@@ -176,4 +176,4 @@ var Plugin29 = define({
176
176
  })
177
177
  });
178
178
 
179
- export { Plugin29, exports_skill2 };
179
+ export { Plugin27, exports_skill2 };
@@ -1,59 +1,59 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./file-mutation-a0t9nbea.js";
4
+ } from "./job-gzkctzh1.js";
5
5
  import {
6
6
  Service82,
7
7
  node86
8
- } from "./file-mutation-t9mj6jt2.js";
8
+ } from "./job-gsw6h1kf.js";
9
9
  import {
10
- Service67,
11
- node69
12
- } from "./file-mutation-jyzcxg5d.js";
10
+ Service65,
11
+ node68
12
+ } from "./job-efm8p952.js";
13
13
  import {
14
- Service45,
15
- node47
16
- } from "./file-mutation-mx9vqzsb.js";
14
+ Service41,
15
+ node43
16
+ } from "./job-vqfzq50h.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./file-mutation-ec1grn59.js";
19
+ } from "./job-ec1grn59.js";
20
20
  import {
21
- make16
22
- } from "./file-mutation-yp2x3t23.js";
21
+ make17
22
+ } from "./job-1acjjqhc.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service43
26
- } from "./file-mutation-kne8f3cn.js";
25
+ Service38
26
+ } from "./job-hn57h045.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./file-mutation-jh7y3ak4.js";
29
+ } from "./job-q1zmm1c6.js";
30
30
  import {
31
- Service57,
32
- node59
33
- } from "./file-mutation-s8wea8bx.js";
31
+ Service74,
32
+ node78
33
+ } from "./job-06v682d8.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./file-mutation-7hf3hesr.js";
36
+ } from "./job-p293czm2.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./file-mutation-cpbpaj6d.js";
39
+ } from "./job-znj4065v.js";
40
40
  import {
41
41
  __export
42
- } from "./file-mutation-9rqn6x4v.js";
42
+ } from "./job-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service42,
47
+ Service: () => Service37,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer17,
50
- node: () => node45,
49
+ layer: () => layer15,
50
+ node: () => node40,
51
51
  noopLayer: () => noopLayer2,
52
52
  terminal: () => terminal2
53
53
  });
54
54
  import { Cause, Context, Effect, Exit, Layer } from "effect";
55
55
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
56
- class Service42 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service37 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer17 = Layer.effect(Service42, Effect.gen(function* () {
69
- const store = yield* Service57;
70
- const instances = yield* Service45;
68
+ var layer15 = Layer.effect(Service37, Effect.gen(function* () {
69
+ const store = yield* Service74;
70
+ const instances = yield* Service41;
71
71
  const bus = yield* Service82;
72
- const jobs = yield* Service67;
72
+ const jobs = yield* Service65;
73
73
  const db = (yield* Service83).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
@@ -82,14 +82,14 @@ var layer17 = Layer.effect(Service42, Effect.gen(function* () {
82
82
  const session = yield* store.get(sessionID);
83
83
  if (!session)
84
84
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
85
- const result = yield* Service43.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
85
+ const result = yield* Service38.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
86
86
  return yield* DrainResult2.$match(result, {
87
87
  Complete: () => Effect.void,
88
88
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
89
89
  Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
90
90
  });
91
91
  });
92
- const coordinator = yield* make16({
92
+ const coordinator = yield* make17({
93
93
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
94
94
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
95
95
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -110,7 +110,7 @@ var layer17 = Layer.effect(Service42, Effect.gen(function* () {
110
110
  }, releaseOnCommit(sessionID));
111
111
  }))
112
112
  });
113
- return Service42.of({
113
+ return Service37.of({
114
114
  active: coordinator.active,
115
115
  isActive: coordinator.isActive,
116
116
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -129,12 +129,12 @@ var layer17 = Layer.effect(Service42, Effect.gen(function* () {
129
129
  awaitIdle: coordinator.awaitIdle
130
130
  });
131
131
  }));
132
- var node45 = makeGlobalNode({
133
- service: Service42,
134
- layer: layer17,
135
- deps: [node59, node47, node86, node87, node69]
132
+ var node40 = makeGlobalNode({
133
+ service: Service37,
134
+ layer: layer15,
135
+ deps: [node78, node43, node86, node87, node68]
136
136
  });
137
- var noopLayer2 = Layer.succeed(Service42, Service42.of({
137
+ var noopLayer2 = Layer.succeed(Service37, Service37.of({
138
138
  active: Effect.succeed(new Set),
139
139
  isActive: () => Effect.succeed(false),
140
140
  resume: () => Effect.void,
@@ -143,4 +143,4 @@ var noopLayer2 = Layer.succeed(Service42, Service42.of({
143
143
  awaitIdle: () => Effect.void
144
144
  }));
145
145
 
146
- export { Service42, terminal2, layer17, node45, noopLayer2, exports_execution };
146
+ export { Service37, terminal2, layer15, node40, noopLayer2, exports_execution };
@@ -0,0 +1,65 @@
1
+ import {
2
+ Service82,
3
+ node86
4
+ } from "./job-gsw6h1kf.js";
5
+ import {
6
+ Service77,
7
+ node81
8
+ } from "./job-92tc7jpe.js";
9
+ import {
10
+ Ref4,
11
+ Service79,
12
+ node83
13
+ } from "./job-7thy3neb.js";
14
+ import {
15
+ Service73,
16
+ node77
17
+ } from "./job-1e0p5273.js";
18
+ import {
19
+ Service72,
20
+ node76
21
+ } from "./job-epybzj2g.js";
22
+ import {
23
+ __export
24
+ } from "./job-9rqn6x4v.js";
25
+
26
+ // src/location-lifecycle.ts
27
+ var exports_location_lifecycle = {};
28
+ __export(exports_location_lifecycle, {
29
+ LocationLifecycle: () => exports_location_lifecycle,
30
+ Service: () => Service71,
31
+ node: () => node75
32
+ });
33
+ import { Context, Effect, Layer } from "effect";
34
+ import { makeLocationNode } from "@opencode/util/effect/app-node";
35
+ import { LocationEvent } from "@opencode/schema/location-event";
36
+ class Service71 extends Context.Service()("@opencode/LocationLifecycle") {
37
+ }
38
+ var layer = Layer.effect(Service71, Effect.gen(function* () {
39
+ const bus = yield* Service82;
40
+ const location = yield* Service79;
41
+ const permission = yield* Service73;
42
+ const forms = yield* Service77;
43
+ const rpc = yield* Service72;
44
+ let closed = false;
45
+ const shutdown = yield* Effect.cached(Effect.gen(function* () {
46
+ closed = true;
47
+ yield* permission.close;
48
+ yield* forms.close;
49
+ yield* rpc.close;
50
+ yield* bus.publish(LocationEvent.Shutdown, {}, {
51
+ location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
52
+ });
53
+ }).pipe(Effect.uninterruptible));
54
+ return Service71.of({
55
+ isClosed: () => closed,
56
+ shutdown
57
+ });
58
+ }));
59
+ var node75 = makeLocationNode({
60
+ service: Service71,
61
+ layer,
62
+ deps: [node86, node83, node77, node81, node76]
63
+ });
64
+
65
+ export { Service71, node75, exports_location_lifecycle };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service71
3
- } from "./file-mutation-vynmvp9h.js";
2
+ Service61
3
+ } from "./job-d43tgzm4.js";
4
4
  import {
5
- Service45
6
- } from "./file-mutation-mx9vqzsb.js";
5
+ Service41
6
+ } from "./job-vqfzq50h.js";
7
7
  import {
8
8
  detect2
9
- } from "./file-mutation-3smtnn6g.js";
9
+ } from "./job-3smtnn6g.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./file-mutation-ctefx7dc.js";
12
+ } from "./job-p2h6zvwc.js";
13
13
  import {
14
- Service72
15
- } from "./file-mutation-yw8t9dwe.js";
14
+ Service78
15
+ } from "./job-tx9w5tca.js";
16
16
  import {
17
17
  AttachmentError2,
18
18
  SkillNotFoundError2
19
- } from "./file-mutation-jh7y3ak4.js";
19
+ } from "./job-q1zmm1c6.js";
20
20
  import {
21
21
  prepare3,
22
- Service50
23
- } from "./file-mutation-mgscsna9.js";
22
+ Service35
23
+ } from "./job-9a60j1p0.js";
24
24
  import {
25
25
  __export
26
- } from "./file-mutation-9rqn6x4v.js";
26
+ } from "./job-9rqn6x4v.js";
27
27
 
28
28
  // src/session/prompt.ts
29
29
  var exports_prompt = {};
@@ -39,10 +39,10 @@ import path from "path";
39
39
  import { fileURLToPath } from "url";
40
40
  var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
41
41
  const fs = yield* FSUtil.Service;
42
- const instances = yield* Service45;
42
+ const instances = yield* Service41;
43
43
  return yield* Effect.gen(function* () {
44
44
  yield* awaitActivation2;
45
- const hooks = yield* Service72;
45
+ const hooks = yield* Service78;
46
46
  const event = yield* hooks.trigger("session", "prompt", {
47
47
  sessionID: request.session.id,
48
48
  messageID: request.messageID,
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
61
61
  const selected = yield* Effect.gen(function* () {
62
62
  if (!requested?.length)
63
63
  return;
64
- const skillService = yield* Service50;
64
+ const skillService = yield* Service35;
65
65
  const prepared = new Map;
66
66
  return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
67
67
  const name = prepared.get(attachment.id);
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
126
126
  var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
127
127
  if (!mime.startsWith("image/"))
128
128
  return { data: Base64.make(data), mime };
129
- const image = yield* Service71;
129
+ const image = yield* Service61;
130
130
  const label = attachmentLabel(input);
131
131
  const content = { uri: label, content: data, encoding: "base64", mime };
132
132
  const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID13
3
- } from "./file-mutation-whtqb0a0.js";
2
+ ID8
3
+ } from "./job-fk58vp44.js";
4
4
 
5
5
  // src/plugin/provider/amazon-bedrock.ts
6
6
  import { Effect } from "effect";
@@ -18,7 +18,7 @@ var AmazonBedrockPlugin2 = define({
18
18
  effect: Effect.fn(function* (ctx) {
19
19
  yield* ctx.integration.transform((editor) => {
20
20
  editor.method.update({
21
- integrationID: ID13.amazonBedrock,
21
+ integrationID: ID8.amazonBedrock,
22
22
  method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
23
23
  });
24
24
  });