@opencode/core 0.0.0-dev-19902 → 0.0.0-dev-19904

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 (793) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +78 -78
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +91 -91
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{vcs-jrj7x53v.js → state-00zhev0m.js} +174 -174
  8. package/dist/chunks/{vcs-eaj1djv9.js → state-02nrjc1r.js} +4 -4
  9. package/dist/chunks/{vcs-zxgjg8c8.js → state-06av6aqk.js} +5 -5
  10. package/dist/chunks/{vcs-0m9hvdjb.js → state-07xyahhy.js} +30 -30
  11. package/dist/chunks/{vcs-vyeeb4fx.js → state-082a02mf.js} +28 -28
  12. package/dist/chunks/{vcs-wa37zzmg.js → state-0b59w6b8.js} +21 -21
  13. package/dist/chunks/{vcs-vv7f9fa9.js → state-0bd7yhfg.js} +9 -9
  14. package/dist/chunks/{vcs-kybf328v.js → state-0dm5naev.js} +8 -8
  15. package/dist/chunks/{vcs-af04s6ss.js → state-0f9afca0.js} +5 -5
  16. package/dist/chunks/{vcs-1fb9mvs3.js → state-0j67avv1.js} +8 -8
  17. package/dist/chunks/{vcs-fcrkznn8.js → state-0jwsre1p.js} +5 -5
  18. package/dist/chunks/{vcs-0paq2nw3.js → state-0paq2nw3.js} +1 -1
  19. package/dist/chunks/{vcs-0q0f95c6.js → state-0q0f95c6.js} +1 -1
  20. package/dist/chunks/{vcs-ktgztd0g.js → state-0rg4ktbj.js} +5 -5
  21. package/dist/chunks/{vcs-ajtzfeyv.js → state-0sxvvb3w.js} +27 -27
  22. package/dist/chunks/{vcs-1dazxqgg.js → state-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{vcs-w9g7ydng.js → state-1pch5d31.js} +17 -17
  24. package/dist/chunks/{vcs-d48v28sm.js → state-20pcmxm3.js} +28 -28
  25. package/dist/chunks/{vcs-21r38tys.js → state-21r38tys.js} +1 -1
  26. package/dist/chunks/{vcs-2402vzrj.js → state-2402vzrj.js} +1 -1
  27. package/dist/chunks/{vcs-8x5gmx2f.js → state-24n67b4a.js} +5 -5
  28. package/dist/chunks/{vcs-s1nrrhvy.js → state-24x3edfr.js} +41 -41
  29. package/dist/chunks/{vcs-n4tkj91s.js → state-26gnd6ny.js} +15 -15
  30. package/dist/chunks/{vcs-2a5m3afh.js → state-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{vcs-afs5v1dd.js → state-2jfqkynx.js} +28 -28
  32. package/dist/chunks/{vcs-gddtx3qm.js → state-2q15ef5p.js} +6 -6
  33. package/dist/chunks/{vcs-ekrqgzb7.js → state-2zazyk1c.js} +18 -18
  34. package/dist/chunks/{vcs-8qfhj5ez.js → state-2zwyj5vg.js} +35 -35
  35. package/dist/chunks/{vcs-57tmmswg.js → state-3bf73811.js} +14 -14
  36. package/dist/chunks/{vcs-bha4atvq.js → state-3c4e3q8d.js} +4 -4
  37. package/dist/chunks/{vcs-cqy8643h.js → state-3djcpfd1.js} +13 -13
  38. package/dist/chunks/{vcs-3fc6dm20.js → state-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{vcs-hxnndwj0.js → state-3hatapfr.js} +13 -13
  40. package/dist/chunks/{vcs-3hepkmqq.js → state-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{vcs-vmwh049b.js → state-3ktbe3hf.js} +3 -3
  42. package/dist/chunks/{vcs-1jp5d5qx.js → state-3sb31twn.js} +3 -3
  43. package/dist/chunks/{vcs-jcnasrqh.js → state-3sm54r8q.js} +14 -14
  44. package/dist/chunks/{vcs-3smtnn6g.js → state-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{vcs-3tvqynh2.js → state-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{vcs-evbgk2k8.js → state-3w0fmcng.js} +5 -5
  47. package/dist/chunks/{vcs-pcwda15n.js → state-3w9dm1p6.js} +29 -29
  48. package/dist/chunks/{vcs-8gfvkmm8.js → state-408pxxnj.js} +7 -7
  49. package/dist/chunks/{vcs-54f4cdnr.js → state-445gfy8g.js} +34 -34
  50. package/dist/chunks/{vcs-k9kj6xed.js → state-44ke2mar.js} +6 -6
  51. package/dist/chunks/{vcs-x4xqgfya.js → state-4742rsvj.js} +18 -18
  52. package/dist/chunks/{vcs-06bxqvqd.js → state-4ahg9bde.js} +73 -73
  53. package/dist/chunks/{vcs-4jc5c4h4.js → state-4jc5c4h4.js} +1 -1
  54. package/dist/chunks/{vcs-qev7t9nn.js → state-4rkm8bzg.js} +32 -32
  55. package/dist/chunks/{vcs-c1fkwwdb.js → state-4rxpvwq1.js} +9 -9
  56. package/dist/chunks/{vcs-f3j5hbg7.js → state-4t1gg8ab.js} +31 -31
  57. package/dist/chunks/{vcs-1ygqh575.js → state-56gdpj1q.js} +9 -9
  58. package/dist/chunks/{vcs-svgfqqcp.js → state-56zn65x2.js} +5 -5
  59. package/dist/chunks/{vcs-57ez7d0k.js → state-57ez7d0k.js} +2 -2
  60. package/dist/chunks/{vcs-r29m84vx.js → state-58t1cv1c.js} +8 -8
  61. package/dist/chunks/{vcs-a1bz86dw.js → state-5c4hm403.js} +3 -3
  62. package/dist/chunks/{vcs-5daktx2q.js → state-5daktx2q.js} +1 -1
  63. package/dist/chunks/{vcs-gmec7qkh.js → state-5kk03qhb.js} +14 -14
  64. package/dist/chunks/{vcs-manr16bd.js → state-5n2n84t7.js} +47 -47
  65. package/dist/chunks/{vcs-bbf4qmt4.js → state-5ndhfjk8.js} +20 -20
  66. package/dist/chunks/{vcs-62bbsg9f.js → state-5qfhnn3s.js} +28 -28
  67. package/dist/chunks/{vcs-9rnfzppy.js → state-5ry2patn.js} +89 -89
  68. package/dist/chunks/{vcs-pk22p7g6.js → state-5szeem2z.js} +52 -52
  69. package/dist/chunks/{vcs-5t3nmthw.js → state-5t3nmthw.js} +2 -2
  70. package/dist/chunks/{vcs-669tq793.js → state-669tq793.js} +1 -1
  71. package/dist/chunks/{vcs-1w7zh0sm.js → state-69hatrp6.js} +25 -25
  72. package/dist/chunks/{vcs-6msgmcgs.js → state-6msgmcgs.js} +1 -1
  73. package/dist/chunks/{vcs-bm3m92rh.js → state-6t298p2h.js} +12 -12
  74. package/dist/chunks/{vcs-m0gns9qd.js → state-6yzef1y4.js} +11 -11
  75. package/dist/chunks/{vcs-ts0rj8wt.js → state-78g5pcpb.js} +32 -32
  76. package/dist/chunks/{vcs-7bmhse3q.js → state-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{vcs-gxpss1xa.js → state-7zdrdht4.js} +6 -6
  78. package/dist/chunks/{vcs-6hjx5zpb.js → state-82rhge12.js} +9 -9
  79. package/dist/chunks/{vcs-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
  80. package/dist/chunks/{vcs-gbbd40p0.js → state-8fd6bm6b.js} +22 -22
  81. package/dist/chunks/{vcs-9kx2764h.js → state-8fj2zpf8.js} +3 -3
  82. package/dist/chunks/{vcs-czadhajx.js → state-8sph61ej.js} +17 -17
  83. package/dist/chunks/{vcs-weadm8hn.js → state-8xz1pmc4.js} +33 -33
  84. package/dist/chunks/{vcs-hj10qh6h.js → state-8xzwannf.js} +4 -4
  85. package/dist/chunks/{vcs-28htqttt.js → state-96kdhf6f.js} +28 -28
  86. package/dist/chunks/{vcs-afr11sqc.js → state-9v91qm1a.js} +11 -11
  87. package/dist/chunks/{vcs-a694798e.js → state-a694798e.js} +5 -5
  88. package/dist/chunks/{vcs-djsfyw38.js → state-a7atkcpn.js} +30 -30
  89. package/dist/chunks/{vcs-aaet6srn.js → state-aaet6srn.js} +2 -2
  90. package/dist/chunks/{vcs-zt8dnmbv.js → state-ae4fnj82.js} +5 -5
  91. package/dist/chunks/{vcs-t6cag2br.js → state-afvjkwnc.js} +8 -8
  92. package/dist/chunks/{vcs-4qawhqvw.js → state-akftsrpr.js} +41 -41
  93. package/dist/chunks/{vcs-ygzkyjb3.js → state-ard29dtx.js} +17 -17
  94. package/dist/chunks/{vcs-9rnex8sw.js → state-az14jj64.js} +29 -29
  95. package/dist/chunks/{vcs-mbh094q3.js → state-b04b8x2j.js} +5 -5
  96. package/dist/chunks/{vcs-b6gygkdw.js → state-b6gygkdw.js} +2 -2
  97. package/dist/chunks/{vcs-4trwyrk8.js → state-b7hq0td9.js} +16 -16
  98. package/dist/chunks/{vcs-5ffk9kez.js → state-b8bdg5q4.js} +22 -22
  99. package/dist/chunks/{vcs-s25fny7j.js → state-bcdacnkc.js} +7 -7
  100. package/dist/chunks/{vcs-cfpegmwh.js → state-brx6f7c0.js} +18 -18
  101. package/dist/chunks/{vcs-8n7wg0nx.js → state-brz97kxb.js} +6 -6
  102. package/dist/chunks/{vcs-wy6y3hhv.js → state-bwy0wnve.js} +26 -26
  103. package/dist/chunks/{vcs-8vbfh6w5.js → state-c9ys2xqx.js} +18 -18
  104. package/dist/chunks/{vcs-yjjxz7tc.js → state-cahkz71r.js} +14 -14
  105. package/dist/chunks/{vcs-895cavcg.js → state-ccdh9qtz.js} +5 -5
  106. package/dist/chunks/{vcs-q5asdkn4.js → state-ckf8nxjz.js} +4 -4
  107. package/dist/chunks/{vcs-5kvvkpfr.js → state-ckzpwx1e.js} +26 -26
  108. package/dist/chunks/{vcs-5yzzbxa7.js → state-cmwkp3r5.js} +8 -8
  109. package/dist/chunks/{vcs-kdwyyjd3.js → state-crj50ndq.js} +29 -29
  110. package/dist/chunks/{vcs-m1br8f3h.js → state-da7rfe2v.js} +35 -35
  111. package/dist/chunks/{vcs-kzqky8qt.js → state-dbm93dyc.js} +4 -4
  112. package/dist/chunks/{vcs-8p4f9s12.js → state-dj2t23y0.js} +2 -2
  113. package/dist/chunks/{vcs-cpneeje0.js → state-djszqvmq.js} +9 -9
  114. package/dist/chunks/{vcs-sfxhchz9.js → state-dsvv60hh.js} +6 -6
  115. package/dist/chunks/{vcs-p47d79et.js → state-dswh3rat.js} +12 -12
  116. package/dist/chunks/state-dxj72tfx.js +18 -0
  117. package/dist/chunks/{vcs-9h9x41eb.js → state-e7nzk88m.js} +44 -44
  118. package/dist/chunks/state-ec2warxy.js +26 -0
  119. package/dist/chunks/{vcs-shh6fz4q.js → state-ec8389mk.js} +4 -4
  120. package/dist/chunks/{vcs-9q338w3w.js → state-eds2t28z.js} +15 -15
  121. package/dist/chunks/{vcs-ef5x83kb.js → state-ef5x83kb.js} +1 -1
  122. package/dist/chunks/{vcs-h4jvj8sb.js → state-ef61rkg5.js} +18 -18
  123. package/dist/chunks/{vcs-5p5bzsag.js → state-eh40ahnx.js} +44 -44
  124. package/dist/chunks/{vcs-0rz20qc6.js → state-enhayb15.js} +10 -10
  125. package/dist/chunks/{vcs-22bvbdp8.js → state-envn6cbq.js} +25 -25
  126. package/dist/chunks/{vcs-8q9myf25.js → state-eqkxs06z.js} +4 -4
  127. package/dist/chunks/{vcs-mdt7wpts.js → state-erqyqkr7.js} +12 -12
  128. package/dist/chunks/{vcs-erw5rpbs.js → state-erw5rpbs.js} +2 -2
  129. package/dist/chunks/{vcs-kkaetc1n.js → state-etp4kp2m.js} +11 -11
  130. package/dist/chunks/{vcs-etq0c3wd.js → state-etq0c3wd.js} +1 -1
  131. package/dist/chunks/{vcs-7r7wzp6f.js → state-fbzdn206.js} +11 -11
  132. package/dist/chunks/{vcs-22jekang.js → state-fd4fwae4.js} +10 -10
  133. package/dist/chunks/{vcs-rm8tnsqk.js → state-fp7m90ch.js} +1 -1
  134. package/dist/chunks/{vcs-0fpxx9w9.js → state-fpjcj5z0.js} +25 -25
  135. package/dist/chunks/{vcs-bgjkbd4h.js → state-fsrn267a.js} +10 -10
  136. package/dist/chunks/{vcs-z66kg6fv.js → state-fve1b9pq.js} +12 -12
  137. package/dist/chunks/{vcs-dz8x4rxg.js → state-fwrss4ad.js} +4 -4
  138. package/dist/chunks/{vcs-fxbjtjnd.js → state-fxbjtjnd.js} +1 -1
  139. package/dist/chunks/{vcs-j7y4ca1s.js → state-fydfvvar.js} +4 -4
  140. package/dist/chunks/{vcs-pr76b9qx.js → state-fzpgp42w.js} +11 -11
  141. package/dist/chunks/{vcs-s6gd3yqw.js → state-g10yfvmw.js} +10 -10
  142. package/dist/chunks/{vcs-y3qk7898.js → state-g8cz2a0a.js} +22 -22
  143. package/dist/chunks/{vcs-gqmn58wt.js → state-gbmt15v2.js} +13 -13
  144. package/dist/chunks/{vcs-5bjcf7t7.js → state-gcjfqdjs.js} +13 -13
  145. package/dist/chunks/{vcs-gd4qta3r.js → state-gd4qta3r.js} +1 -1
  146. package/dist/chunks/{vcs-bft4bjt6.js → state-gjsbc86j.js} +23 -23
  147. package/dist/chunks/{vcs-yzbxen85.js → state-gkefhj12.js} +5 -5
  148. package/dist/chunks/{vcs-rqr2ktmx.js → state-gmvqgtzg.js} +24 -24
  149. package/dist/chunks/{vcs-k7myrtme.js → state-gr1f03ws.js} +9 -9
  150. package/dist/chunks/{vcs-zvgbhwzy.js → state-gr6w9vkk.js} +10 -10
  151. package/dist/chunks/{vcs-gv6a8nnw.js → state-gv6a8nnw.js} +2 -2
  152. package/dist/chunks/{vcs-gw4gsfyf.js → state-h0qb8jnk.js} +25 -25
  153. package/dist/chunks/{vcs-3pbjq009.js → state-h2r7bbkd.js} +8 -8
  154. package/dist/chunks/{vcs-6w37svz8.js → state-h34b2p0g.js} +7 -7
  155. package/dist/chunks/{vcs-h6vf3j39.js → state-h6vf3j39.js} +1 -1
  156. package/dist/chunks/{vcs-cgm6kxvk.js → state-h7466sjn.js} +10 -10
  157. package/dist/chunks/{vcs-f828m53h.js → state-hdnk95c8.js} +2 -2
  158. package/dist/chunks/{vcs-184qwre1.js → state-hpv0vy0a.js} +32 -32
  159. package/dist/chunks/{vcs-ng41ab57.js → state-hwakma19.js} +32 -32
  160. package/dist/chunks/{vcs-xwybkkb8.js → state-j4ehyg90.js} +8 -8
  161. package/dist/chunks/{vcs-j56e64zr.js → state-j56e64zr.js} +1 -1
  162. package/dist/chunks/{vcs-kzccg1px.js → state-j5hbqz0e.js} +5 -5
  163. package/dist/chunks/{vcs-vmgq4x8b.js → state-jca4demv.js} +2 -2
  164. package/dist/chunks/{vcs-w44apg5x.js → state-jcajstdn.js} +22 -22
  165. package/dist/chunks/{vcs-ayzh9crp.js → state-jdwbeweq.js} +28 -28
  166. package/dist/chunks/{vcs-sfkndbk9.js → state-jkzpbdjq.js} +20 -20
  167. package/dist/chunks/{vcs-tvwc8hr6.js → state-jmngmkqa.js} +79 -79
  168. package/dist/chunks/{vcs-njh9wamt.js → state-jn4dfycx.js} +9 -9
  169. package/dist/chunks/{vcs-9had1z43.js → state-jqnmewag.js} +16 -16
  170. package/dist/chunks/{vcs-f3ngv102.js → state-jw80jp6b.js} +4 -4
  171. package/dist/chunks/{vcs-w42vs2rt.js → state-jx6e651b.js} +16 -16
  172. package/dist/chunks/{vcs-851r6173.js → state-jxahb5yh.js} +11 -11
  173. package/dist/chunks/{vcs-qq8x5mwt.js → state-jz5sxy2v.js} +4 -4
  174. package/dist/chunks/{vcs-bam9j3yn.js → state-k0345fj3.js} +4 -4
  175. package/dist/chunks/{vcs-7c6da5rg.js → state-k294xaja.js} +6 -6
  176. package/dist/chunks/{vcs-k3c624dm.js → state-k3c624dm.js} +3 -3
  177. package/dist/chunks/{vcs-x12byf42.js → state-kbb6kjfx.js} +17 -17
  178. package/dist/chunks/{vcs-e1mj0vj7.js → state-kcr5bzs1.js} +15 -15
  179. package/dist/chunks/{vcs-53b9wc7c.js → state-kcv68n8h.js} +11 -11
  180. package/dist/chunks/{vcs-86qzxe6p.js → state-kkp8zx71.js} +4 -4
  181. package/dist/chunks/{vcs-cfpkc3c9.js → state-m0jqrx5p.js} +2 -2
  182. package/dist/chunks/{vcs-m3fdjcah.js → state-m3fdjcah.js} +1 -1
  183. package/dist/chunks/{vcs-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{vcs-kfar339a.js → state-mjyq2s3q.js} +7 -7
  185. package/dist/chunks/{vcs-nchf4vkq.js → state-mkx85r9t.js} +17 -17
  186. package/dist/chunks/{vcs-zgr64ze9.js → state-mm9chaq4.js} +9 -9
  187. package/dist/chunks/{vcs-fvezrss0.js → state-mvr5bn4j.js} +12 -12
  188. package/dist/chunks/{vcs-714b5bzd.js → state-nvbct2xq.js} +16 -16
  189. package/dist/chunks/{vcs-44qs7j7x.js → state-ny0kgn08.js} +2 -2
  190. package/dist/chunks/state-nzkkyty2.js +252 -0
  191. package/dist/chunks/{vcs-44h5tttr.js → state-nzyhnfxz.js} +4 -4
  192. package/dist/chunks/{vcs-98xq376d.js → state-p7yx2ddp.js} +318 -318
  193. package/dist/chunks/{vcs-w1ad28wa.js → state-p84dsdfh.js} +8 -8
  194. package/dist/chunks/{vcs-w1wexeyx.js → state-pc0qmpcp.js} +25 -25
  195. package/dist/chunks/{vcs-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
  196. package/dist/chunks/{vcs-pknna89w.js → state-pknna89w.js} +1 -1
  197. package/dist/chunks/{vcs-xk747vep.js → state-pnv527nz.js} +5 -5
  198. package/dist/chunks/{vcs-8z3x7c7v.js → state-q3jrktjg.js} +10 -10
  199. package/dist/chunks/{vcs-5cmxdwv8.js → state-q3t37ft6.js} +3 -3
  200. package/dist/chunks/{vcs-tmn9wnk5.js → state-q5v3cv76.js} +6 -6
  201. package/dist/chunks/{vcs-mnbh32fx.js → state-qh8vdwx1.js} +8 -8
  202. package/dist/chunks/{vcs-2eqzk29d.js → state-qjn69esg.js} +25 -25
  203. package/dist/chunks/{vcs-j1b4f4fp.js → state-qnazj4rm.js} +3 -3
  204. package/dist/chunks/{vcs-e4w0jxb5.js → state-qq4wxkpg.js} +4 -4
  205. package/dist/chunks/{vcs-qsdy395h.js → state-qsdy395h.js} +1 -1
  206. package/dist/chunks/{vcs-97352yzp.js → state-qwgcfn1w.js} +10 -10
  207. package/dist/chunks/{vcs-mf1nhdgy.js → state-qx5nxg37.js} +11 -11
  208. package/dist/chunks/{vcs-j21skp5h.js → state-qytv0kk9.js} +7 -7
  209. package/dist/chunks/{vcs-8qg9v9kt.js → state-r2psd9ex.js} +19 -19
  210. package/dist/chunks/{vcs-6km5j4vv.js → state-r3gf3h6k.js} +28 -28
  211. package/dist/chunks/{vcs-1bbkgx8g.js → state-r5x6zcsm.js} +3 -3
  212. package/dist/chunks/{vcs-z5js96t6.js → state-r8hgcn7e.js} +11 -11
  213. package/dist/chunks/{vcs-r8xr0va3.js → state-r8xr0va3.js} +1 -1
  214. package/dist/chunks/{vcs-2pa0ebz7.js → state-raxe0qt4.js} +30 -30
  215. package/dist/chunks/{vcs-rdw6cm16.js → state-rdw6cm16.js} +1 -1
  216. package/dist/chunks/{vcs-kc0th94z.js → state-reg39rye.js} +18 -18
  217. package/dist/chunks/{vcs-g5ey5584.js → state-rgaa4eab.js} +50 -50
  218. package/dist/chunks/{vcs-9cebvf05.js → state-rnvjvqpz.js} +11 -11
  219. package/dist/chunks/{vcs-2ma6m1hd.js → state-s3dw44fc.js} +41 -41
  220. package/dist/chunks/{vcs-r8qbfd09.js → state-sapn1ja6.js} +13 -13
  221. package/dist/chunks/{vcs-c423wngz.js → state-sxe8pyvn.js} +22 -22
  222. package/dist/chunks/{vcs-t8ztd77a.js → state-syrrgdn4.js} +23 -23
  223. package/dist/chunks/{vcs-bvtvf2dx.js → state-sywfsqmm.js} +27 -27
  224. package/dist/chunks/{vcs-bg2n5hwm.js → state-t3he66w2.js} +24 -24
  225. package/dist/chunks/{vcs-epn2sa0c.js → state-t50p445y.js} +3 -3
  226. package/dist/chunks/{vcs-srm9ksap.js → state-t5mbwcqt.js} +32 -32
  227. package/dist/chunks/{vcs-wnfrhfx2.js → state-t86zkmz1.js} +47 -47
  228. package/dist/chunks/{vcs-tazgh4e4.js → state-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{vcs-tbz0fdvh.js → state-tbz0fdvh.js} +2 -2
  230. package/dist/chunks/{vcs-tcezcvh9.js → state-tcezcvh9.js} +1 -1
  231. package/dist/chunks/{vcs-tdstcens.js → state-tdstcens.js} +1 -1
  232. package/dist/chunks/{vcs-2eegacq4.js → state-thjxzeng.js} +8 -8
  233. package/dist/chunks/{vcs-806j49yq.js → state-tkmwgdpd.js} +7 -7
  234. package/dist/chunks/{vcs-k93pg8v4.js → state-tnz9rdk5.js} +19 -19
  235. package/dist/chunks/{vcs-tvtrv512.js → state-tvtrv512.js} +1 -1
  236. package/dist/chunks/{vcs-9dkzr50w.js → state-twk0bc43.js} +16 -16
  237. package/dist/chunks/{vcs-ptcfs43y.js → state-twtg7g1r.js} +9 -9
  238. package/dist/chunks/{vcs-82tpn184.js → state-ty5rq330.js} +1 -1
  239. package/dist/chunks/{vcs-aef2hfh8.js → state-vac75nvd.js} +3 -3
  240. package/dist/chunks/{vcs-3cfy2m9k.js → state-vahzvnrh.js} +15 -15
  241. package/dist/chunks/{vcs-x445sbb5.js → state-vcep48s5.js} +20 -20
  242. package/dist/chunks/{vcs-veqvce7d.js → state-veqvce7d.js} +1 -1
  243. package/dist/chunks/{vcs-bf0ztrs3.js → state-vncycja5.js} +4 -4
  244. package/dist/chunks/{vcs-c3pnf5gz.js → state-vnp99bxh.js} +5 -5
  245. package/dist/chunks/{vcs-1q9gvqp4.js → state-vs49n45c.js} +33 -33
  246. package/dist/chunks/{vcs-vzcthcp8.js → state-vzcthcp8.js} +1 -1
  247. package/dist/chunks/{vcs-w1k39n5e.js → state-w1k39n5e.js} +1 -1
  248. package/dist/chunks/{vcs-smntnd8a.js → state-w3d1wx13.js} +24 -24
  249. package/dist/chunks/{vcs-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{vcs-3rtxz4nr.js → state-w3x9v1nk.js} +8 -8
  251. package/dist/chunks/{vcs-23pqda6t.js → state-w4arg62q.js} +4 -4
  252. package/dist/chunks/{vcs-1persx71.js → state-waym30vw.js} +15 -15
  253. package/dist/chunks/{vcs-wd87259q.js → state-wd87259q.js} +1 -1
  254. package/dist/chunks/{vcs-9mrdfhh7.js → state-wfea6jy1.js} +4 -4
  255. package/dist/chunks/{vcs-beqc5mbd.js → state-wnt0n0xb.js} +33 -33
  256. package/dist/chunks/{vcs-apcpnh84.js → state-x0vavgn5.js} +17 -17
  257. package/dist/chunks/{vcs-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{vcs-fsb9he91.js → state-x1vjt85b.js} +23 -23
  259. package/dist/chunks/{vcs-f62qkzqr.js → state-x2d9qy7d.js} +5 -5
  260. package/dist/chunks/{vcs-md632y2v.js → state-xa5vzajb.js} +23 -23
  261. package/dist/chunks/{vcs-rbbp8jxz.js → state-xbq29fg5.js} +23 -23
  262. package/dist/chunks/{vcs-xfkkasph.js → state-xfkkasph.js} +1 -1
  263. package/dist/chunks/{vcs-vxx99sjc.js → state-xgqe14p2.js} +3 -3
  264. package/dist/chunks/{vcs-dzqymmzq.js → state-xp1ezwwp.js} +18 -18
  265. package/dist/chunks/{vcs-ryyjaja0.js → state-xqr0k8gk.js} +26 -26
  266. package/dist/chunks/{vcs-91p7smtn.js → state-xs7q27km.js} +18 -18
  267. package/dist/chunks/{vcs-m3m63vqf.js → state-xw29n0bq.js} +18 -18
  268. package/dist/chunks/{vcs-6e5cdvf9.js → state-xwkvp7ty.js} +3 -3
  269. package/dist/chunks/{vcs-tcr6kwe6.js → state-y08awjjx.js} +10 -10
  270. package/dist/chunks/{vcs-6xm7vd1q.js → state-y1b03k3j.js} +45 -45
  271. package/dist/chunks/{vcs-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{vcs-y71avatq.js → state-y71avatq.js} +1 -1
  273. package/dist/chunks/{vcs-49w1zfkv.js → state-y811x3x5.js} +30 -30
  274. package/dist/chunks/{vcs-wbkyxrgf.js → state-yjptyezs.js} +5 -5
  275. package/dist/chunks/{vcs-1vyz3ncy.js → state-ypncs580.js} +22 -22
  276. package/dist/chunks/{vcs-7kwzg5by.js → state-yr9qftvg.js} +24 -24
  277. package/dist/chunks/{vcs-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{vcs-yrznvahk.js → state-yrznvahk.js} +2 -2
  279. package/dist/chunks/{vcs-d9q3pbsw.js → state-ywfcz4kd.js} +22 -22
  280. package/dist/chunks/{vcs-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{vcs-azeezzne.js → state-z42db625.js} +43 -43
  282. package/dist/chunks/{vcs-z63w68vq.js → state-z63w68vq.js} +2 -2
  283. package/dist/chunks/{vcs-hgztkpm2.js → state-z6bwbw5f.js} +15 -15
  284. package/dist/chunks/{vcs-8pjx8nfz.js → state-zdd71wfk.js} +31 -31
  285. package/dist/chunks/{vcs-zeh9ct20.js → state-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{vcs-gf9cennz.js → state-zn3ftspj.js} +11 -11
  287. package/dist/chunks/{vcs-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{vcs-zxq2ej10.js → state-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +7 -7
  291. package/dist/codemode/tool.js +3 -3
  292. package/dist/codemode/web.js +1 -1
  293. package/dist/command.js +84 -84
  294. package/dist/config/discovery.js +81 -81
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +105 -105
  297. package/dist/config/plugin/agent.js +124 -124
  298. package/dist/config/plugin/command.js +213 -213
  299. package/dist/config/plugin/compaction.js +161 -161
  300. package/dist/config/plugin/compatibility.js +140 -140
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +123 -123
  303. package/dist/config/plugin/image.js +122 -122
  304. package/dist/config/plugin/instruction.js +89 -89
  305. package/dist/config/plugin/location-watcher.js +124 -124
  306. package/dist/config/plugin/mcp.js +131 -131
  307. package/dist/config/plugin/policy.js +122 -122
  308. package/dist/config/plugin/provider.js +122 -122
  309. package/dist/config/plugin/reference.js +124 -124
  310. package/dist/config/plugin/shell.js +122 -122
  311. package/dist/config/plugin/skill-file.js +101 -101
  312. package/dist/config/plugin/skill.js +143 -143
  313. package/dist/config/plugin/snapshot.js +122 -122
  314. package/dist/config/plugin/source.js +123 -123
  315. package/dist/config/plugin/tool-output.js +124 -124
  316. package/dist/config/plugin/websearch.js +121 -121
  317. package/dist/config/plugin/worktree.js +124 -124
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +127 -127
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +80 -80
  323. package/dist/database/database.js +69 -69
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration.gen.js +48 -48
  388. package/dist/database/migration.js +50 -50
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +78 -78
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +361 -361
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +1 -1
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +92 -92
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +94 -94
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +73 -73
  412. package/dist/file-access.js +103 -103
  413. package/dist/file-mutation.js +93 -93
  414. package/dist/file-retention.js +1 -1
  415. package/dist/file.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/ignore.js +1 -1
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +226 -226
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +102 -102
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +103 -103
  428. package/dist/form.js +77 -77
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +86 -86
  431. package/dist/generate.js +94 -94
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +98 -98
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/id/id.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +3 -3
  456. package/dist/instance.js +357 -357
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +86 -86
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +83 -83
  462. package/dist/job.js +76 -76
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +72 -72
  465. package/dist/location-activity.js +132 -132
  466. package/dist/location-lifecycle.js +105 -105
  467. package/dist/location-mutation.js +103 -103
  468. package/dist/location-service-map.js +83 -83
  469. package/dist/location-services.js +356 -356
  470. package/dist/location.js +84 -84
  471. package/dist/mcp/client.js +90 -90
  472. package/dist/mcp/index.js +107 -107
  473. package/dist/mcp/instructions.js +125 -125
  474. package/dist/mcp/oauth.js +77 -77
  475. package/dist/mcp/stdio.js +89 -89
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +98 -98
  478. package/dist/model-resolver.js +95 -95
  479. package/dist/model.js +97 -97
  480. package/dist/models-dev.js +102 -102
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +81 -81
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +104 -104
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +85 -85
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +74 -74
  490. package/dist/plugin/agent.js +103 -103
  491. package/dist/plugin/command.js +100 -100
  492. package/dist/plugin/compaction.js +132 -132
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +217 -217
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +330 -330
  498. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  499. package/dist/plugin/models-dev.js +95 -95
  500. package/dist/plugin/module.js +7 -7
  501. package/dist/plugin/optimize.js +4 -4
  502. package/dist/plugin/plan.js +101 -101
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  505. package/dist/plugin/provider/azure.js +121 -121
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +118 -118
  511. package/dist/plugin/provider/digitalocean.js +92 -92
  512. package/dist/plugin/provider/dynamic.js +2 -2
  513. package/dist/plugin/provider/factory.js +1 -1
  514. package/dist/plugin/provider/gateway.js +2 -2
  515. package/dist/plugin/provider/github-copilot.js +92 -92
  516. package/dist/plugin/provider/gitlab.js +90 -90
  517. package/dist/plugin/provider/google-vertex.js +89 -89
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +76 -76
  520. package/dist/plugin/provider/lmstudio.js +121 -121
  521. package/dist/plugin/provider/modal.js +91 -91
  522. package/dist/plugin/provider/nvidia.js +1 -1
  523. package/dist/plugin/provider/ollama.js +121 -121
  524. package/dist/plugin/provider/openai.js +93 -93
  525. package/dist/plugin/provider/opencode.js +92 -92
  526. package/dist/plugin/provider/openrouter.js +90 -90
  527. package/dist/plugin/provider/perplexity.js +2 -2
  528. package/dist/plugin/provider/poe.js +77 -77
  529. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  530. package/dist/plugin/provider/sap-ai-core.js +90 -90
  531. package/dist/plugin/provider/sdk-factory.js +1 -1
  532. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  533. package/dist/plugin/provider/venice.js +2 -2
  534. package/dist/plugin/provider/vercel.js +89 -89
  535. package/dist/plugin/provider/vllm.js +121 -121
  536. package/dist/plugin/provider/xai.js +90 -90
  537. package/dist/plugin/provider/zenmux.js +1 -1
  538. package/dist/plugin/provider.js +158 -158
  539. package/dist/plugin/sdk.js +75 -75
  540. package/dist/plugin/service.js +3 -3
  541. package/dist/plugin/skill.js +140 -140
  542. package/dist/plugin/source-directory.js +1 -1
  543. package/dist/plugin/supervisor.js +349 -349
  544. package/dist/plugin/tool-input-repair.js +4 -4
  545. package/dist/plugin/update.js +6 -6
  546. package/dist/plugin/vcs/git.js +85 -85
  547. package/dist/plugin/vcs/hg.js +85 -85
  548. package/dist/plugin/warming.js +120 -120
  549. package/dist/plugin/websearch/exa.js +7 -7
  550. package/dist/plugin/websearch/firecrawl.js +8 -8
  551. package/dist/plugin/websearch/index.js +9 -9
  552. package/dist/plugin/websearch/mcp.js +6 -6
  553. package/dist/plugin/websearch/parallel.js +8 -8
  554. package/dist/plugin/websearch/tavily.js +6 -6
  555. package/dist/plugin/websearch/tinyfish.js +8 -8
  556. package/dist/plugin.js +220 -220
  557. package/dist/project/schema.js +2 -2
  558. package/dist/project/sql.js +4 -4
  559. package/dist/project.js +83 -83
  560. package/dist/provider.js +96 -96
  561. package/dist/pty/protocol.js +1 -1
  562. package/dist/pty/schema.js +1 -1
  563. package/dist/pty/ticket.js +1 -1
  564. package/dist/pty.js +85 -85
  565. package/dist/reference/instructions.js +88 -88
  566. package/dist/reference.js +86 -86
  567. package/dist/repository-cache.js +80 -80
  568. package/dist/repository.js +1 -1
  569. package/dist/ripgrep/binary.js +2 -2
  570. package/dist/ripgrep.js +96 -96
  571. package/dist/rpc.js +85 -85
  572. package/dist/schema.js +1 -1
  573. package/dist/session/command.js +73 -73
  574. package/dist/session/compaction.js +133 -133
  575. package/dist/session/context.js +151 -151
  576. package/dist/session/diff.js +87 -87
  577. package/dist/session/environment.js +5 -5
  578. package/dist/session/error.js +3 -3
  579. package/dist/session/event.js +1 -1
  580. package/dist/session/execution/restart.js +221 -221
  581. package/dist/session/execution.js +123 -123
  582. package/dist/session/generate.js +150 -150
  583. package/dist/session/history.js +13 -13
  584. package/dist/session/inbox.js +85 -85
  585. package/dist/session/info.js +3 -3
  586. package/dist/session/instruction-entry.js +78 -78
  587. package/dist/session/instruction-state.js +8 -8
  588. package/dist/session/instructions.js +96 -96
  589. package/dist/session/message-updater.js +2 -2
  590. package/dist/session/message.js +1 -1
  591. package/dist/session/model-request.js +116 -116
  592. package/dist/session/model-transport.js +7 -7
  593. package/dist/session/move.js +129 -129
  594. package/dist/session/projector.js +85 -85
  595. package/dist/session/prompt.js +104 -104
  596. package/dist/session/provider-context.js +1 -1
  597. package/dist/session/revert.js +89 -89
  598. package/dist/session/run-coordinator.js +1 -1
  599. package/dist/session/runner/index.js +3 -3
  600. package/dist/session/runner/llm.js +230 -230
  601. package/dist/session/runner/max-steps.js +1 -1
  602. package/dist/session/runner/model.js +97 -97
  603. package/dist/session/runner/publish-llm-event.js +3 -3
  604. package/dist/session/runner/retry.js +113 -113
  605. package/dist/session/runner/step.js +125 -125
  606. package/dist/session/runner/to-llm-message.js +2 -2
  607. package/dist/session/schema.js +5 -5
  608. package/dist/session/session.js +171 -171
  609. package/dist/session/shell.js +137 -137
  610. package/dist/session/skill.js +102 -102
  611. package/dist/session/sql.js +5 -5
  612. package/dist/session/stats.js +74 -74
  613. package/dist/session/store.js +86 -86
  614. package/dist/session/subagent-completion.js +1 -1
  615. package/dist/session/subagent-job.js +209 -209
  616. package/dist/session/system-prompt.js +1 -1
  617. package/dist/session/title.js +155 -155
  618. package/dist/session/to-session-error.js +110 -110
  619. package/dist/session/transfer.js +222 -222
  620. package/dist/session/usage.js +1 -1
  621. package/dist/session.js +213 -213
  622. package/dist/shell/parse.js +6 -6
  623. package/dist/shell/result.js +1 -1
  624. package/dist/shell/scan.js +1 -1
  625. package/dist/shell/select.js +13 -13
  626. package/dist/shell.js +137 -137
  627. package/dist/skill/discovery.js +4 -4
  628. package/dist/skill/instructions.js +104 -104
  629. package/dist/skill.js +111 -111
  630. package/dist/snapshot.js +90 -90
  631. package/dist/state.js +1 -1
  632. package/dist/tool/html-markdown.js +1 -1
  633. package/dist/tool/http-body.js +1 -1
  634. package/dist/tool/mcp.js +124 -124
  635. package/dist/tool/plugin/edit.js +119 -119
  636. package/dist/tool/plugin/file-diff.js +1 -1
  637. package/dist/tool/plugin/glob.js +121 -121
  638. package/dist/tool/plugin/grep.js +121 -121
  639. package/dist/tool/plugin/opencode.js +3 -3
  640. package/dist/tool/plugin/patch.js +119 -119
  641. package/dist/tool/plugin/question.js +100 -100
  642. package/dist/tool/plugin/read.js +124 -124
  643. package/dist/tool/plugin/shell.js +214 -214
  644. package/dist/tool/plugin/skill.js +112 -112
  645. package/dist/tool/plugin/subagent.js +218 -218
  646. package/dist/tool/plugin/webfetch.js +111 -111
  647. package/dist/tool/plugin/websearch.js +111 -111
  648. package/dist/tool/plugin/write.js +121 -121
  649. package/dist/tool/read-filesystem.js +99 -99
  650. package/dist/tool/runtime.js +1 -1
  651. package/dist/tool-output.js +8 -8
  652. package/dist/tool.js +16 -16
  653. package/dist/util/error-summary.js +1 -1
  654. package/dist/util/error.js +1 -1
  655. package/dist/util/git-executable.js +2 -2
  656. package/dist/util/iife.js +1 -1
  657. package/dist/util/lazy.js +1 -1
  658. package/dist/util/slug.js +1 -1
  659. package/dist/util/token.js +1 -1
  660. package/dist/util/which.js +1 -1
  661. package/dist/util/wildcard.js +1 -1
  662. package/dist/v1/config/agent.js +5 -5
  663. package/dist/v1/config/attachment.js +4 -4
  664. package/dist/v1/config/command.js +5 -5
  665. package/dist/v1/config/config.js +16 -16
  666. package/dist/v1/config/error.js +2 -2
  667. package/dist/v1/config/formatter.js +3 -3
  668. package/dist/v1/config/layout.js +1 -1
  669. package/dist/v1/config/lsp.js +3 -3
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +91 -91
  672. package/dist/v1/config/permission.js +3 -3
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/v1/config/server.js +2 -2
  677. package/dist/v1/config/skills.js +3 -3
  678. package/dist/v1/permission.js +1 -1
  679. package/dist/variant.js +90 -90
  680. package/dist/vcs/patch.js +1 -1
  681. package/dist/vcs.js +88 -88
  682. package/dist/websearch.js +79 -79
  683. package/dist/wellknown/plugin.js +75 -75
  684. package/dist/wellknown.js +80 -80
  685. package/dist/workspace/driver.js +7 -7
  686. package/dist/workspace/sql.js +1 -1
  687. package/dist/workspace.js +79 -79
  688. package/dist/worktree/directory.js +2 -2
  689. package/dist/worktree/git.js +8 -8
  690. package/dist/worktree/sql.js +5 -5
  691. package/dist/worktree/strategies.js +88 -88
  692. package/dist/worktree.js +91 -91
  693. package/package.json +8 -8
  694. package/dist/chunks/vcs-hsw65fz2.js +0 -26
  695. package/dist/chunks/vcs-pxhh23s1.js +0 -252
  696. package/dist/chunks/vcs-vnkjks7b.js +0 -18
  697. /package/dist/chunks/{vcs-0mesazry.js → state-0mesazry.js} +0 -0
  698. /package/dist/chunks/{vcs-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
  699. /package/dist/chunks/{vcs-0zkw76rk.js → state-0zkw76rk.js} +0 -0
  700. /package/dist/chunks/{vcs-17cy0kzp.js → state-17cy0kzp.js} +0 -0
  701. /package/dist/chunks/{vcs-1cnp2v09.js → state-1cnp2v09.js} +0 -0
  702. /package/dist/chunks/{vcs-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
  703. /package/dist/chunks/{vcs-24dcb14g.js → state-24dcb14g.js} +0 -0
  704. /package/dist/chunks/{vcs-2710q6r3.js → state-2710q6r3.js} +0 -0
  705. /package/dist/chunks/{vcs-2axfhc9x.js → state-2axfhc9x.js} +0 -0
  706. /package/dist/chunks/{vcs-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
  707. /package/dist/chunks/{vcs-359p4xyc.js → state-359p4xyc.js} +0 -0
  708. /package/dist/chunks/{vcs-3asan66x.js → state-3asan66x.js} +0 -0
  709. /package/dist/chunks/{vcs-3v8g72cx.js → state-3v8g72cx.js} +0 -0
  710. /package/dist/chunks/{vcs-3w5fmr99.js → state-3w5fmr99.js} +0 -0
  711. /package/dist/chunks/{vcs-3wcehsnq.js → state-3wcehsnq.js} +0 -0
  712. /package/dist/chunks/{vcs-43n2bw4t.js → state-43n2bw4t.js} +0 -0
  713. /package/dist/chunks/{vcs-4knz6hnm.js → state-4knz6hnm.js} +0 -0
  714. /package/dist/chunks/{vcs-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
  715. /package/dist/chunks/{vcs-4y7fprxs.js → state-4y7fprxs.js} +0 -0
  716. /package/dist/chunks/{vcs-53557ph1.js → state-53557ph1.js} +0 -0
  717. /package/dist/chunks/{vcs-550bvhaj.js → state-550bvhaj.js} +0 -0
  718. /package/dist/chunks/{vcs-5qd3pb7m.js → state-5qd3pb7m.js} +0 -0
  719. /package/dist/chunks/{vcs-6prwharc.js → state-6prwharc.js} +0 -0
  720. /package/dist/chunks/{vcs-7akdwqpd.js → state-7akdwqpd.js} +0 -0
  721. /package/dist/chunks/{vcs-7m9af43g.js → state-7m9af43g.js} +0 -0
  722. /package/dist/chunks/{vcs-822emrt2.js → state-822emrt2.js} +0 -0
  723. /package/dist/chunks/{vcs-88xbtdfr.js → state-88xbtdfr.js} +0 -0
  724. /package/dist/chunks/{vcs-8n3pysct.js → state-8n3pysct.js} +0 -0
  725. /package/dist/chunks/{vcs-922hggd3.js → state-922hggd3.js} +0 -0
  726. /package/dist/chunks/{vcs-9a4afbnw.js → state-9a4afbnw.js} +0 -0
  727. /package/dist/chunks/{vcs-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
  728. /package/dist/chunks/{vcs-a6k6eb26.js → state-a6k6eb26.js} +0 -0
  729. /package/dist/chunks/{vcs-af5trqkr.js → state-af5trqkr.js} +0 -0
  730. /package/dist/chunks/{vcs-afrmfg78.js → state-afrmfg78.js} +0 -0
  731. /package/dist/chunks/{vcs-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
  732. /package/dist/chunks/{vcs-atq7p7m5.js → state-atq7p7m5.js} +0 -0
  733. /package/dist/chunks/{vcs-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
  734. /package/dist/chunks/{vcs-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
  735. /package/dist/chunks/{vcs-cf4snx6d.js → state-cf4snx6d.js} +0 -0
  736. /package/dist/chunks/{vcs-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
  737. /package/dist/chunks/{vcs-d9fn303g.js → state-d9fn303g.js} +0 -0
  738. /package/dist/chunks/{vcs-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
  739. /package/dist/chunks/{vcs-dajrwvna.js → state-dajrwvna.js} +0 -0
  740. /package/dist/chunks/{vcs-dap0rakb.js → state-dap0rakb.js} +0 -0
  741. /package/dist/chunks/{vcs-df08tz66.js → state-df08tz66.js} +0 -0
  742. /package/dist/chunks/{vcs-dy18nga0.js → state-dy18nga0.js} +0 -0
  743. /package/dist/chunks/{vcs-e5kj55wp.js → state-e5kj55wp.js} +0 -0
  744. /package/dist/chunks/{vcs-e73j6tqm.js → state-e73j6tqm.js} +0 -0
  745. /package/dist/chunks/{vcs-ec1grn59.js → state-ec1grn59.js} +0 -0
  746. /package/dist/chunks/{vcs-eh3zwz77.js → state-eh3zwz77.js} +0 -0
  747. /package/dist/chunks/{vcs-emrn6kk6.js → state-emrn6kk6.js} +0 -0
  748. /package/dist/chunks/{vcs-f0mxakyp.js → state-f0mxakyp.js} +0 -0
  749. /package/dist/chunks/{vcs-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
  750. /package/dist/chunks/{vcs-faypxj3z.js → state-faypxj3z.js} +0 -0
  751. /package/dist/chunks/{vcs-fd410y7t.js → state-fd410y7t.js} +0 -0
  752. /package/dist/chunks/{vcs-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
  753. /package/dist/chunks/{vcs-g4wezp1m.js → state-g4wezp1m.js} +0 -0
  754. /package/dist/chunks/{vcs-g86h250q.js → state-g86h250q.js} +0 -0
  755. /package/dist/chunks/{vcs-gebd4c9n.js → state-gebd4c9n.js} +0 -0
  756. /package/dist/chunks/{vcs-gftt206x.js → state-gftt206x.js} +0 -0
  757. /package/dist/chunks/{vcs-hjbc5kem.js → state-hjbc5kem.js} +0 -0
  758. /package/dist/chunks/{vcs-hk9envan.js → state-hk9envan.js} +0 -0
  759. /package/dist/chunks/{vcs-j2ntwpah.js → state-j2ntwpah.js} +0 -0
  760. /package/dist/chunks/{vcs-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
  761. /package/dist/chunks/{vcs-jjkms2e6.js → state-jjkms2e6.js} +0 -0
  762. /package/dist/chunks/{vcs-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
  763. /package/dist/chunks/{vcs-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
  764. /package/dist/chunks/{vcs-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
  765. /package/dist/chunks/{vcs-mp448xyj.js → state-mp448xyj.js} +0 -0
  766. /package/dist/chunks/{vcs-msx8hqn2.js → state-msx8hqn2.js} +0 -0
  767. /package/dist/chunks/{vcs-n05xt0ee.js → state-n05xt0ee.js} +0 -0
  768. /package/dist/chunks/{vcs-n3j8tn72.js → state-n3j8tn72.js} +0 -0
  769. /package/dist/chunks/{vcs-njntx4h6.js → state-njntx4h6.js} +0 -0
  770. /package/dist/chunks/{vcs-q3sfg36h.js → state-q3sfg36h.js} +0 -0
  771. /package/dist/chunks/{vcs-q74kybfr.js → state-q74kybfr.js} +0 -0
  772. /package/dist/chunks/{vcs-qaymkmh1.js → state-qaymkmh1.js} +0 -0
  773. /package/dist/chunks/{vcs-qb87gjwd.js → state-qb87gjwd.js} +0 -0
  774. /package/dist/chunks/{vcs-qfa1cgps.js → state-qfa1cgps.js} +0 -0
  775. /package/dist/chunks/{vcs-qg3g05ea.js → state-qg3g05ea.js} +0 -0
  776. /package/dist/chunks/{vcs-qrg20bc0.js → state-qrg20bc0.js} +0 -0
  777. /package/dist/chunks/{vcs-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
  778. /package/dist/chunks/{vcs-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
  779. /package/dist/chunks/{vcs-sk3qaz4a.js → state-sk3qaz4a.js} +0 -0
  780. /package/dist/chunks/{vcs-ssg3fenm.js → state-ssg3fenm.js} +0 -0
  781. /package/dist/chunks/{vcs-twg0f83k.js → state-twg0f83k.js} +0 -0
  782. /package/dist/chunks/{vcs-w803qqfp.js → state-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{vcs-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{vcs-wer8tq1h.js → state-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{vcs-wtztk69x.js → state-wtztk69x.js} +0 -0
  786. /package/dist/chunks/{vcs-x0ckcb58.js → state-x0ckcb58.js} +0 -0
  787. /package/dist/chunks/{vcs-x61499pn.js → state-x61499pn.js} +0 -0
  788. /package/dist/chunks/{vcs-y44na4kk.js → state-y44na4kk.js} +0 -0
  789. /package/dist/chunks/{vcs-y8cydn3q.js → state-y8cydn3q.js} +0 -0
  790. /package/dist/chunks/{vcs-y8f7s663.js → state-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{vcs-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{vcs-ym463w8f.js → state-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{vcs-z9919s4g.js → state-z9919s4g.js} +0 -0
@@ -1,35 +1,35 @@
1
1
  import {
2
- ID15,
3
- Service76
4
- } from "./vcs-1vyz3ncy.js";
2
+ ID14,
3
+ Service72
4
+ } from "./state-ypncs580.js";
5
5
  import {
6
- Service78
7
- } from "./vcs-gmec7qkh.js";
6
+ Service76
7
+ } from "./state-5kk03qhb.js";
8
8
  import {
9
- Service65
10
- } from "./vcs-9h9x41eb.js";
9
+ Service45
10
+ } from "./state-e7nzk88m.js";
11
11
  import {
12
- Service38,
12
+ Service51,
13
13
  args2
14
- } from "./vcs-k93pg8v4.js";
14
+ } from "./state-tnz9rdk5.js";
15
15
  import {
16
- Service21
17
- } from "./vcs-tvwc8hr6.js";
16
+ Service19
17
+ } from "./state-jmngmkqa.js";
18
18
  import {
19
- make10
20
- } from "./vcs-9cebvf05.js";
19
+ make6
20
+ } from "./state-rnvjvqpz.js";
21
21
  import {
22
22
  parseOption2
23
- } from "./vcs-5daktx2q.js";
23
+ } from "./state-5daktx2q.js";
24
24
  import {
25
25
  __export
26
- } from "./vcs-9rqn6x4v.js";
26
+ } from "./state-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/command.ts
29
- var exports_command2 = {};
30
- __export(exports_command2, {
31
- ConfigCommandPlugin: () => exports_command2,
32
- Plugin: () => Plugin46
29
+ var exports_command = {};
30
+ __export(exports_command, {
31
+ ConfigCommandPlugin: () => exports_command,
32
+ Plugin: () => Plugin27
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { ConfigCommand } from "@opencode/schema/config/command";
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
41
41
  import { ChildProcess } from "effect/unstable/process";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
43
  var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
44
- var Plugin46 = define({
44
+ var Plugin27 = define({
45
45
  id: "opencode.config.command",
46
46
  effect: Effect.fn(function* (ctx) {
47
- const config = yield* Service65;
47
+ const config = yield* Service45;
48
48
  const fs = yield* FSUtil.Service;
49
49
  const loadEntry = Effect.fnUntraced(function* (entry) {
50
50
  if (entry.type === "document")
@@ -54,12 +54,12 @@ var Plugin46 = define({
54
54
  const commands = yield* loadDirectory(fs, entry.path);
55
55
  return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
56
56
  });
57
- const location = yield* Service78;
57
+ const location = yield* Service76;
58
58
  const processes = yield* AppProcess.Service;
59
- const shell = yield* Service38;
60
- const sessions = yield* Service21;
61
- const agents = yield* Service76;
62
- const subagents = yield* make10;
59
+ const shell = yield* Service51;
60
+ const sessions = yield* Service19;
61
+ const agents = yield* Service72;
62
+ const subagents = yield* make6;
63
63
  const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
64
64
  return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
65
65
  });
@@ -80,7 +80,7 @@ var Plugin46 = define({
80
80
  name,
81
81
  description: command.description,
82
82
  execute: (input) => Effect.gen(function* () {
83
- const agent = command.agent === undefined ? undefined : ID15.make(command.agent);
83
+ const agent = command.agent === undefined ? undefined : ID14.make(command.agent);
84
84
  const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
85
85
  const model = command.model === undefined ? commandAgent?.model : {
86
86
  id: Model.ID.make(command.model.model),
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
204
204
  var quoteTrimRegex = /^["']|["']$/g;
205
205
  var shellRegex = /!`([^`]+)`/g;
206
206
 
207
- export { Plugin46, exports_command2 };
207
+ export { Plugin27, exports_command };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  mergeOverlay2,
3
- Service69
4
- } from "./vcs-pcwda15n.js";
3
+ Service64
4
+ } from "./state-3w9dm1p6.js";
5
5
  import {
6
- Service65
7
- } from "./vcs-9h9x41eb.js";
6
+ Service45
7
+ } from "./state-e7nzk88m.js";
8
8
 
9
9
  // src/plugin/provider/configured.ts
10
10
  import { Effect, Option } from "effect";
11
11
  var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
12
- const providers = yield* Service69;
12
+ const providers = yield* Service64;
13
13
  const current = (yield* providers.get(id))?.settings;
14
- const service = yield* Effect.serviceOption(Service65);
14
+ const service = yield* Effect.serviceOption(Service45);
15
15
  const entries = Option.isSome(service) ? yield* service.value.entries() : [];
16
16
  return foldSettings2(entries, id, current);
17
17
  });
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service80,
3
- node84
4
- } from "./vcs-714b5bzd.js";
2
+ Service79,
3
+ node83
4
+ } from "./state-nvbct2xq.js";
5
5
  import {
6
6
  optional2,
7
7
  statics2
8
- } from "./vcs-922hggd3.js";
8
+ } from "./state-922hggd3.js";
9
9
  import {
10
10
  Ref4,
11
- Service78,
12
- node82
13
- } from "./vcs-gmec7qkh.js";
11
+ Service76,
12
+ node80
13
+ } from "./state-5kk03qhb.js";
14
14
  import {
15
15
  __export
16
- } from "./vcs-9rqn6x4v.js";
16
+ } from "./state-9rqn6x4v.js";
17
17
 
18
18
  // src/rpc.ts
19
19
  var exports_rpc = {};
20
20
  __export(exports_rpc, {
21
21
  Rpc: () => exports_rpc,
22
- Service: () => Service20,
22
+ Service: () => Service38,
23
23
  define: () => define2,
24
- node: () => node23
24
+ node: () => node41
25
25
  });
26
26
  import { define as define2 } from "@opencode/schema/rpc";
27
27
  import { Event } from "@opencode/schema/event";
28
28
  import { makeLocationNode } from "@opencode/util/effect/app-node";
29
29
  import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
30
- class Service20 extends Context.Service()("@opencode/Rpc") {
30
+ class Service38 extends Context.Service()("@opencode/Rpc") {
31
31
  }
32
32
 
33
33
  class DeclaredError extends Error {
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
39
39
  this.data = data;
40
40
  }
41
41
  }
42
- var layer = Layer.effect(Service20, Effect.gen(function* () {
43
- const bus = yield* Service80;
44
- const location = yield* Service78;
42
+ var layer = Layer.effect(Service38, Effect.gen(function* () {
43
+ const bus = yield* Service79;
44
+ const location = yield* Service76;
45
45
  const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
46
46
  const closed = yield* Deferred.make();
47
47
  const callContext = {
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
118
118
  const registered = events.get(name);
119
119
  if (!registered)
120
120
  return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
121
- return bus.subscribe(registered.definition).pipe(Stream.provideService(Service78, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
121
+ return bus.subscribe(registered.definition).pipe(Stream.provideService(Service76, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
122
122
  }
123
123
  }
124
124
  };
125
125
  };
126
- return Service20.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
126
+ return Service38.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
127
127
  }));
128
- var node23 = makeLocationNode({ service: Service20, layer, deps: [node84, node82] });
128
+ var node41 = makeLocationNode({ service: Service38, layer, deps: [node83, node80] });
129
129
  var fields = {
130
130
  id: Event.ID,
131
131
  created: Schema.Finite,
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
210
210
  };
211
211
  });
212
212
 
213
- export { Service20, node23, exports_rpc, define2 };
213
+ export { Service38, node41, exports_rpc, define2 };
@@ -1,59 +1,59 @@
1
- import {
2
- Service83,
3
- node87
4
- } from "./vcs-kkaetc1n.js";
5
1
  import {
6
2
  Service80,
7
3
  node84
8
- } from "./vcs-714b5bzd.js";
4
+ } from "./state-etp4kp2m.js";
5
+ import {
6
+ Service79,
7
+ node83
8
+ } from "./state-nvbct2xq.js";
9
9
  import {
10
- Service61,
10
+ Service62,
11
11
  node65
12
- } from "./vcs-9dkzr50w.js";
12
+ } from "./state-twk0bc43.js";
13
13
  import {
14
14
  Service57,
15
- node61
16
- } from "./vcs-8q9myf25.js";
15
+ node60
16
+ } from "./state-eqkxs06z.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./vcs-ec1grn59.js";
19
+ } from "./state-ec1grn59.js";
20
20
  import {
21
21
  make18
22
- } from "./vcs-r8xr0va3.js";
22
+ } from "./state-r8xr0va3.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service54
26
- } from "./vcs-q5asdkn4.js";
25
+ Service55
26
+ } from "./state-ckf8nxjz.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./vcs-vmwh049b.js";
29
+ } from "./state-3ktbe3hf.js";
30
30
  import {
31
- Service74,
32
- node78
33
- } from "./vcs-w9g7ydng.js";
31
+ Service71,
32
+ node74
33
+ } from "./state-1pch5d31.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./vcs-e4w0jxb5.js";
36
+ } from "./state-qq4wxkpg.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./vcs-w1wexeyx.js";
39
+ } from "./state-pc0qmpcp.js";
40
40
  import {
41
41
  __export
42
- } from "./vcs-9rqn6x4v.js";
42
+ } from "./state-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service53,
47
+ Service: () => Service54,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer20,
49
+ layer: () => layer22,
50
50
  node: () => node58,
51
51
  noopLayer: () => noopLayer3,
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 Service53 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service54 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,12 +65,12 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer20 = Layer.effect(Service53, Effect.gen(function* () {
69
- const store = yield* Service74;
68
+ var layer22 = Layer.effect(Service54, Effect.gen(function* () {
69
+ const store = yield* Service71;
70
70
  const instances = yield* Service57;
71
- const bus = yield* Service80;
72
- const jobs = yield* Service61;
73
- const db = (yield* Service83).db;
71
+ const bus = yield* Service79;
72
+ const jobs = yield* Service62;
73
+ const db = (yield* Service80).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) => ({
76
76
  commit: () => store.claim(sessionID)
@@ -82,7 +82,7 @@ var layer20 = Layer.effect(Service53, 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* Service54.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* Service55.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),
@@ -110,7 +110,7 @@ var layer20 = Layer.effect(Service53, Effect.gen(function* () {
110
110
  }, releaseOnCommit(sessionID));
111
111
  }))
112
112
  });
113
- return Service53.of({
113
+ return Service54.of({
114
114
  active: coordinator.active,
115
115
  isActive: coordinator.isActive,
116
116
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -130,11 +130,11 @@ var layer20 = Layer.effect(Service53, Effect.gen(function* () {
130
130
  });
131
131
  }));
132
132
  var node58 = makeGlobalNode({
133
- service: Service53,
134
- layer: layer20,
135
- deps: [node78, node61, node84, node87, node65]
133
+ service: Service54,
134
+ layer: layer22,
135
+ deps: [node74, node60, node83, node84, node65]
136
136
  });
137
- var noopLayer3 = Layer.succeed(Service53, Service53.of({
137
+ var noopLayer3 = Layer.succeed(Service54, Service54.of({
138
138
  active: Effect.succeed(new Set),
139
139
  isActive: () => Effect.succeed(false),
140
140
  resume: () => Effect.void,
@@ -143,4 +143,4 @@ var noopLayer3 = Layer.succeed(Service53, Service53.of({
143
143
  awaitIdle: () => Effect.void
144
144
  }));
145
145
 
146
- export { Service53, terminal2, layer20, node58, noopLayer3, exports_execution };
146
+ export { Service54, terminal2, layer22, node58, noopLayer3, exports_execution };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service41
3
- } from "./vcs-k7myrtme.js";
2
+ Service82
3
+ } from "./state-gr1f03ws.js";
4
4
  import {
5
5
  Service57
6
- } from "./vcs-8q9myf25.js";
6
+ } from "./state-eqkxs06z.js";
7
7
  import {
8
8
  detect2
9
- } from "./vcs-3smtnn6g.js";
9
+ } from "./state-3smtnn6g.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./vcs-vnkjks7b.js";
12
+ } from "./state-dxj72tfx.js";
13
13
  import {
14
- Service77
15
- } from "./vcs-2eegacq4.js";
14
+ Service83
15
+ } from "./state-thjxzeng.js";
16
16
  import {
17
17
  AttachmentError2,
18
18
  SkillNotFoundError2
19
- } from "./vcs-vmwh049b.js";
19
+ } from "./state-3ktbe3hf.js";
20
20
  import {
21
21
  prepare3,
22
- Service34
23
- } from "./vcs-28htqttt.js";
22
+ Service52
23
+ } from "./state-96kdhf6f.js";
24
24
  import {
25
25
  __export
26
- } from "./vcs-9rqn6x4v.js";
26
+ } from "./state-9rqn6x4v.js";
27
27
 
28
28
  // src/session/prompt.ts
29
29
  var exports_prompt = {};
@@ -42,7 +42,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
42
42
  const instances = yield* Service57;
43
43
  return yield* Effect.gen(function* () {
44
44
  yield* awaitActivation2;
45
- const hooks = yield* Service77;
45
+ const hooks = yield* Service83;
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* Service34;
64
+ const skillService = yield* Service52;
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* Service41;
129
+ const image = yield* Service82;
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 })));
@@ -5,17 +5,17 @@ import {
5
5
  renderInitial2,
6
6
  renderUpdate2,
7
7
  applyHashDelta2
8
- } from "./vcs-eaj1djv9.js";
8
+ } from "./state-02nrjc1r.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./vcs-ec1grn59.js";
11
+ } from "./state-ec1grn59.js";
12
12
  import {
13
13
  InstructionBlobTable2,
14
14
  InstructionStateTable2
15
- } from "./vcs-a1bz86dw.js";
15
+ } from "./state-5c4hm403.js";
16
16
  import {
17
17
  __export
18
- } from "./vcs-9rqn6x4v.js";
18
+ } from "./state-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instruction-state.ts
21
21
  var exports_instruction_state = {};
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./vcs-y71avatq.js";
3
+ } from "./state-y71avatq.js";
4
4
  import {
5
- Service50,
6
- node53
7
- } from "./vcs-smntnd8a.js";
5
+ Service74,
6
+ node77
7
+ } from "./state-w3d1wx13.js";
8
8
  import {
9
9
  __export
10
- } from "./vcs-9rqn6x4v.js";
10
+ } from "./state-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service13,
17
- node: () => node15,
16
+ Service: () => Service73,
17
+ node: () => node76,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service13 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service73 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service13, Effect.gen(function* () {
38
- const environment = yield* Service50;
37
+ var layer = Layer.effect(Service73, Effect.gen(function* () {
38
+ const environment = yield* Service74;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service13.of({ withLock, write, writeTextPreservingBom });
59
+ return Service73.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node15 = makeLocationNode({ service: Service13, layer, deps: [node53] });
61
+ var node76 = makeLocationNode({ service: Service73, layer, deps: [node77] });
62
62
 
63
- export { Service13, readText2, syncTextBom2, node15, exports_file_mutation };
63
+ export { Service73, readText2, syncTextBom2, node76, exports_file_mutation };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./vcs-9rqn6x4v.js";
3
+ } from "./state-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/catalog.ts
6
6
  var exports_catalog = {};
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./vcs-922hggd3.js";
3
+ } from "./state-922hggd3.js";
4
4
  import {
5
- Service78
6
- } from "./vcs-gmec7qkh.js";
5
+ Service76
6
+ } from "./state-5kk03qhb.js";
7
7
  import {
8
- Service65
9
- } from "./vcs-9h9x41eb.js";
8
+ Service45
9
+ } from "./state-e7nzk88m.js";
10
10
  import {
11
11
  LocalSource2,
12
12
  GitSource2
13
- } from "./vcs-t8ztd77a.js";
13
+ } from "./state-syrrgdn4.js";
14
14
  import {
15
15
  observe2
16
- } from "./vcs-qsdy395h.js";
16
+ } from "./state-qsdy395h.js";
17
17
  import {
18
18
  __export
19
- } from "./vcs-9rqn6x4v.js";
19
+ } from "./state-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/reference.ts
22
22
  var exports_reference = {};
23
23
  __export(exports_reference, {
24
24
  ConfigReferencePlugin: () => exports_reference,
25
- Plugin: () => Plugin35
25
+ Plugin: () => Plugin15
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import path from "path";
29
29
  import { Effect } from "effect";
30
30
  import { Global } from "@opencode/util/global";
31
- var Plugin35 = define({
31
+ var Plugin15 = define({
32
32
  id: "opencode.config.reference",
33
33
  effect: Effect.fn(function* (ctx) {
34
- const config = yield* Service65;
35
- const location = yield* Service78;
34
+ const config = yield* Service45;
35
+ const location = yield* Service76;
36
36
  const global = yield* Global.Service;
37
37
  const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
38
38
  yield* ctx.reference.transform((editor) => {
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
72
72
  return path.isAbsolute(value) ? value : path.resolve(directory, value);
73
73
  }
74
74
 
75
- export { Plugin35, exports_reference };
75
+ export { Plugin15, exports_reference };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./vcs-qfa1cgps.js";
3
+ } from "./state-qfa1cgps.js";
4
4
 
5
5
  // src/kv/sql.ts
6
6
  import { sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./vcs-gftt206x.js";
3
+ } from "./state-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./vcs-5cmxdwv8.js";
6
+ } from "./state-q3t37ft6.js";
7
7
  import {
8
8
  __export
9
- } from "./vcs-9rqn6x4v.js";
9
+ } from "./state-9rqn6x4v.js";
10
10
 
11
11
  // src/session/error.ts
12
12
  var exports_error2 = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  jitCompatCheck2
3
- } from "./vcs-emrn6kk6.js";
3
+ } from "./state-emrn6kk6.js";
4
4
  import {
5
5
  SQLiteEffectDatabase2
6
- } from "./vcs-s25fny7j.js";
6
+ } from "./state-bcdacnkc.js";
7
7
  import {
8
8
  EffectSQLiteSession2
9
- } from "./vcs-rm8tnsqk.js";
9
+ } from "./state-fp7m90ch.js";
10
10
 
11
11
  // src/database/drizzle/effect-sqlite/driver.ts
12
12
  import * as Effect from "effect/Effect";
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service65
3
- } from "./vcs-9h9x41eb.js";
2
+ Service45
3
+ } from "./state-e7nzk88m.js";
4
4
  import {
5
- Service10
6
- } from "./vcs-49w1zfkv.js";
5
+ Service12
6
+ } from "./state-y811x3x5.js";
7
7
  import {
8
8
  observe2
9
- } from "./vcs-qsdy395h.js";
9
+ } from "./state-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./vcs-9rqn6x4v.js";
12
+ } from "./state-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/compaction.ts
15
- var exports_compaction2 = {};
16
- __export(exports_compaction2, {
17
- ConfigCompactionPlugin: () => exports_compaction2,
18
- Plugin: () => Plugin33
15
+ var exports_compaction = {};
16
+ __export(exports_compaction, {
17
+ ConfigCompactionPlugin: () => exports_compaction,
18
+ Plugin: () => Plugin20
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin33 = define({
22
+ var Plugin20 = define({
23
23
  id: "opencode.config.compaction",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service65;
26
- const compaction = yield* Service10;
25
+ const config = yield* Service45;
26
+ const compaction = yield* Service12;
27
27
  const loaded = yield* observe2(config, ctx.event, compaction.reload());
28
28
  yield* compaction.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -39,4 +39,4 @@ var Plugin33 = define({
39
39
  })
40
40
  });
41
41
 
42
- export { Plugin33, exports_compaction2 };
42
+ export { Plugin20, exports_compaction };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./vcs-9rqn6x4v.js";
3
+ } from "./state-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};