@opencode/core 0.0.0-dev-19417 → 0.0.0-dev-19418

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 (782) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +73 -73
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{state-ge924j7m.js → location-mutation-0at1dgts.js} +42 -42
  9. package/dist/chunks/{state-51sqk4p3.js → location-mutation-0azjn6sr.js} +4 -4
  10. package/dist/chunks/{state-3yvg7ec0.js → location-mutation-0c8czza9.js} +16 -16
  11. package/dist/chunks/{state-9mtn2cv8.js → location-mutation-0jcafdzy.js} +39 -39
  12. package/dist/chunks/{state-x7thm6pv.js → location-mutation-0jjqb7mh.js} +4 -4
  13. package/dist/chunks/{state-0paq2nw3.js → location-mutation-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{state-0q0f95c6.js → location-mutation-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{state-0wx9a7sf.js → location-mutation-0rdv8sdz.js} +13 -13
  16. package/dist/chunks/{state-sx1n432n.js → location-mutation-0v53mg2y.js} +4 -4
  17. package/dist/chunks/{state-mn06vk7v.js → location-mutation-0vqy458c.js} +9 -9
  18. package/dist/chunks/{state-0gr7cw0d.js → location-mutation-18e56dsp.js} +4 -4
  19. package/dist/chunks/{state-1dazxqgg.js → location-mutation-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{state-jefma2gq.js → location-mutation-1e9w7pgh.js} +10 -10
  21. package/dist/chunks/{state-7sdps93t.js → location-mutation-1eyaby9q.js} +5 -5
  22. package/dist/chunks/{state-066qkj8w.js → location-mutation-1gt6pg26.js} +14 -14
  23. package/dist/chunks/{state-5w8d3jay.js → location-mutation-1wfb8cmh.js} +16 -16
  24. package/dist/chunks/{state-21r38tys.js → location-mutation-21r38tys.js} +1 -1
  25. package/dist/chunks/{state-6h73sxmp.js → location-mutation-2402vzrj.js} +5 -5
  26. package/dist/chunks/{state-2a5m3afh.js → location-mutation-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{state-7ezme6az.js → location-mutation-2aten2pp.js} +21 -21
  28. package/dist/chunks/{state-7dqw4kz8.js → location-mutation-2k8khapm.js} +5 -5
  29. package/dist/chunks/{state-hnhyr0c0.js → location-mutation-38zjj427.js} +15 -15
  30. package/dist/chunks/{state-wwxgka64.js → location-mutation-3fqa324q.js} +18 -18
  31. package/dist/chunks/{state-3hepkmqq.js → location-mutation-3hepkmqq.js} +1 -1
  32. package/dist/chunks/{state-2bdvqy9h.js → location-mutation-3j3vzkqm.js} +3 -3
  33. package/dist/chunks/{state-4fh9rp06.js → location-mutation-3mxe0cfz.js} +11 -11
  34. package/dist/chunks/{state-3smtnn6g.js → location-mutation-3smtnn6g.js} +1 -1
  35. package/dist/chunks/{state-50mzsvk4.js → location-mutation-3t8eac1t.js} +4 -4
  36. package/dist/chunks/{state-3tvqynh2.js → location-mutation-3tvqynh2.js} +1 -1
  37. package/dist/chunks/{state-tz2bjj40.js → location-mutation-3w2b2yj4.js} +5 -5
  38. package/dist/chunks/{state-bgzb6mwh.js → location-mutation-3xq09ctw.js} +14 -14
  39. package/dist/chunks/{state-w73cktdb.js → location-mutation-3zbghj6b.js} +24 -24
  40. package/dist/chunks/{state-5qb0shjw.js → location-mutation-41v0ykex.js} +25 -25
  41. package/dist/chunks/{state-zf33mq30.js → location-mutation-43wkwns3.js} +20 -20
  42. package/dist/chunks/{state-nhy5jxhy.js → location-mutation-47gsdddb.js} +5 -5
  43. package/dist/chunks/{state-fygdb7h7.js → location-mutation-47r3zz0x.js} +3 -3
  44. package/dist/chunks/{state-srkp4j65.js → location-mutation-4bek1fet.js} +24 -24
  45. package/dist/chunks/{state-yzwd6hg8.js → location-mutation-4j17gp9s.js} +8 -8
  46. package/dist/chunks/{state-61rp159a.js → location-mutation-4rj1fxpy.js} +17 -17
  47. package/dist/chunks/{state-6www0xvk.js → location-mutation-4t1s2y34.js} +23 -23
  48. package/dist/chunks/{state-1y8vqfwf.js → location-mutation-4tm4v716.js} +22 -22
  49. package/dist/chunks/{state-96yt6zt0.js → location-mutation-4whayx0s.js} +1 -1
  50. package/dist/chunks/{state-wsysymfc.js → location-mutation-514dm7sz.js} +78 -78
  51. package/dist/chunks/{state-1ygqh575.js → location-mutation-56gdpj1q.js} +9 -9
  52. package/dist/chunks/{state-42aph06y.js → location-mutation-5bmzabcb.js} +29 -29
  53. package/dist/chunks/{state-5daktx2q.js → location-mutation-5daktx2q.js} +1 -1
  54. package/dist/chunks/{state-5kptn8c0.js → location-mutation-5kptn8c0.js} +2 -2
  55. package/dist/chunks/{state-0dhmg274.js → location-mutation-5srqrzkb.js} +13 -13
  56. package/dist/chunks/{state-5t3nmthw.js → location-mutation-5t3nmthw.js} +2 -2
  57. package/dist/chunks/{state-2q862m59.js → location-mutation-5tjgq90g.js} +18 -18
  58. package/dist/chunks/{state-ytm6k3pf.js → location-mutation-64n1nww9.js} +23 -23
  59. package/dist/chunks/{state-669tq793.js → location-mutation-669tq793.js} +1 -1
  60. package/dist/chunks/{state-63311j7c.js → location-mutation-66zqvmfb.js} +15 -15
  61. package/dist/chunks/{state-jj6p7979.js → location-mutation-6d564yyh.js} +18 -18
  62. package/dist/chunks/{state-e3ywz855.js → location-mutation-6er3j4n0.js} +11 -11
  63. package/dist/chunks/{state-6msgmcgs.js → location-mutation-6msgmcgs.js} +1 -1
  64. package/dist/chunks/{state-tvtmmrz5.js → location-mutation-6qwk570e.js} +13 -13
  65. package/dist/chunks/{state-71q4at8m.js → location-mutation-71q4at8m.js} +1 -1
  66. package/dist/chunks/{state-x8rj6ez0.js → location-mutation-72x48231.js} +7 -7
  67. package/dist/chunks/{state-mhkvc446.js → location-mutation-73tb2d7t.js} +3 -3
  68. package/dist/chunks/{state-7bmhse3q.js → location-mutation-7bmhse3q.js} +1 -1
  69. package/dist/chunks/{state-bj61vyhj.js → location-mutation-7nr37ra4.js} +11 -11
  70. package/dist/chunks/{state-nz26nxtf.js → location-mutation-7s15f4tt.js} +14 -14
  71. package/dist/chunks/{state-8ebb7t3v.js → location-mutation-7zyxb8cr.js} +14 -14
  72. package/dist/chunks/{state-tha5f9wh.js → location-mutation-81hpt686.js} +6 -6
  73. package/dist/chunks/{state-jk87kmpx.js → location-mutation-82bg67ry.js} +32 -32
  74. package/dist/chunks/{state-65mn4jpx.js → location-mutation-836s2waj.js} +7 -7
  75. package/dist/chunks/{state-x3et2xth.js → location-mutation-844ef7ks.js} +8 -8
  76. package/dist/chunks/{state-zyf4mc13.js → location-mutation-84pjytny.js} +20 -20
  77. package/dist/chunks/{state-h299w6tn.js → location-mutation-87h87vf0.js} +39 -39
  78. package/dist/chunks/{state-6v59tey3.js → location-mutation-88dctvys.js} +7 -7
  79. package/dist/chunks/{state-8d7r5vzw.js → location-mutation-8d7r5vzw.js} +1 -1
  80. package/dist/chunks/{state-r4ep3j0m.js → location-mutation-8d981hya.js} +32 -32
  81. package/dist/chunks/{state-wbp8ajd5.js → location-mutation-8em8258v.js} +27 -27
  82. package/dist/chunks/{state-1f4fgzdm.js → location-mutation-8jfggrwh.js} +20 -20
  83. package/dist/chunks/{state-8p4f9s12.js → location-mutation-8p4f9s12.js} +2 -2
  84. package/dist/chunks/{state-1fdrhs0c.js → location-mutation-8s3bya6s.js} +10 -10
  85. package/dist/chunks/{state-7m5f9412.js → location-mutation-8wsye86r.js} +8 -8
  86. package/dist/chunks/{state-czf73tjr.js → location-mutation-92p28a2g.js} +9 -9
  87. package/dist/chunks/{state-2hg7qvzt.js → location-mutation-96te9d4b.js} +5 -5
  88. package/dist/chunks/{state-zntppk5h.js → location-mutation-9qrsfw37.js} +14 -14
  89. package/dist/chunks/location-mutation-9sh4wc5j.js +18 -0
  90. package/dist/chunks/{state-2cak2ffx.js → location-mutation-9vwma8zt.js} +12 -12
  91. package/dist/chunks/{state-xhmq8qgk.js → location-mutation-9zswys26.js} +9 -9
  92. package/dist/chunks/{state-a1bz86dw.js → location-mutation-a1bz86dw.js} +3 -3
  93. package/dist/chunks/{state-aaet6srn.js → location-mutation-aaet6srn.js} +2 -2
  94. package/dist/chunks/{state-00wfxggy.js → location-mutation-abezn3p7.js} +23 -23
  95. package/dist/chunks/{state-w4apvevz.js → location-mutation-ae17mrde.js} +39 -39
  96. package/dist/chunks/{state-1g7epwpd.js → location-mutation-b27vhd2z.js} +5 -5
  97. package/dist/chunks/{state-fyjrpq2n.js → location-mutation-b40gkt47.js} +5 -5
  98. package/dist/chunks/{state-ap27jtgp.js → location-mutation-b6cez5sj.js} +10 -10
  99. package/dist/chunks/{state-b6gygkdw.js → location-mutation-b6gygkdw.js} +2 -2
  100. package/dist/chunks/location-mutation-bbxvem25.js +22 -0
  101. package/dist/chunks/{state-9gr8y5ys.js → location-mutation-bha4atvq.js} +4 -4
  102. package/dist/chunks/{state-m73dqb1s.js → location-mutation-bjtgenxc.js} +23 -23
  103. package/dist/chunks/location-mutation-bm6n0t2a.js +247 -0
  104. package/dist/chunks/{state-dsw1ndrf.js → location-mutation-byhd97gn.js} +23 -23
  105. package/dist/chunks/{state-q78npgc3.js → location-mutation-c3f144mk.js} +11 -11
  106. package/dist/chunks/{state-6hk2kazq.js → location-mutation-cbr7n5bp.js} +21 -21
  107. package/dist/chunks/{state-mptdwt93.js → location-mutation-cd0cw9wc.js} +10 -10
  108. package/dist/chunks/{state-cfpkc3c9.js → location-mutation-cfpkc3c9.js} +2 -2
  109. package/dist/chunks/{state-dtwe6gdy.js → location-mutation-cjwfgz9w.js} +3 -3
  110. package/dist/chunks/{state-bz9ncdsc.js → location-mutation-czqwawk1.js} +11 -11
  111. package/dist/chunks/{state-nbzsj80d.js → location-mutation-d8bwwvjm.js} +8 -8
  112. package/dist/chunks/{state-kcq3q37j.js → location-mutation-db72jng6.js} +24 -24
  113. package/dist/chunks/{state-desf89vc.js → location-mutation-dc6tzc5b.js} +9 -9
  114. package/dist/chunks/{state-zcb40fcd.js → location-mutation-dd1946ec.js} +9 -9
  115. package/dist/chunks/{state-gsrxbby1.js → location-mutation-dgkbpb0z.js} +8 -8
  116. package/dist/chunks/{state-4khkba8k.js → location-mutation-dmpnqa4c.js} +7 -7
  117. package/dist/chunks/{state-eg2tb1rm.js → location-mutation-dnga40es.js} +11 -11
  118. package/dist/chunks/{state-pj5hzraa.js → location-mutation-dtz65a83.js} +32 -32
  119. package/dist/chunks/{state-4ymk9r0e.js → location-mutation-e69jvgpv.js} +1 -1
  120. package/dist/chunks/{state-km9xg0y0.js → location-mutation-e9y1n4eq.js} +22 -22
  121. package/dist/chunks/{state-6yt3p2w4.js → location-mutation-ea967z7b.js} +27 -27
  122. package/dist/chunks/{state-02nrjc1r.js → location-mutation-eaj1djv9.js} +4 -4
  123. package/dist/chunks/{state-e6hd9jay.js → location-mutation-efv4s0g0.js} +4 -4
  124. package/dist/chunks/{state-eqv7r0bw.js → location-mutation-eqv7r0bw.js} +6 -6
  125. package/dist/chunks/{state-etq0c3wd.js → location-mutation-etq0c3wd.js} +1 -1
  126. package/dist/chunks/{state-mtw5xpj5.js → location-mutation-ey6kwa4m.js} +14 -14
  127. package/dist/chunks/{state-r9babyk8.js → location-mutation-ezn8zr4k.js} +1 -1
  128. package/dist/chunks/{state-vg7v1mq5.js → location-mutation-f5mzv18t.js} +30 -30
  129. package/dist/chunks/{state-t6wrgqgp.js → location-mutation-f80zej9y.js} +17 -17
  130. package/dist/chunks/{state-f828m53h.js → location-mutation-f828m53h.js} +2 -2
  131. package/dist/chunks/{state-mt2y3rmv.js → location-mutation-f8mxbdz5.js} +18 -18
  132. package/dist/chunks/{state-nc1v4c4k.js → location-mutation-f924m4kc.js} +5 -5
  133. package/dist/chunks/{state-fnr1gee3.js → location-mutation-f9m0m19r.js} +46 -46
  134. package/dist/chunks/{state-p8dje7jp.js → location-mutation-fab4hqg5.js} +24 -24
  135. package/dist/chunks/{state-gqpnndec.js → location-mutation-fgh4s40a.js} +12 -12
  136. package/dist/chunks/{state-vj0fkvb7.js → location-mutation-fh8rk5rm.js} +13 -13
  137. package/dist/chunks/{state-tx1bbn1t.js → location-mutation-fnhgpw53.js} +2 -2
  138. package/dist/chunks/{state-crehqsnt.js → location-mutation-fsbgy90x.js} +4 -4
  139. package/dist/chunks/{state-fxbjtjnd.js → location-mutation-fxbjtjnd.js} +1 -1
  140. package/dist/chunks/{state-q6j3kbw7.js → location-mutation-g69b3nsp.js} +7 -7
  141. package/dist/chunks/{state-k16ay38w.js → location-mutation-g6ew7cqr.js} +1 -1
  142. package/dist/chunks/{state-f8q7mv7a.js → location-mutation-g9245y80.js} +1 -1
  143. package/dist/chunks/{state-m71ggxp1.js → location-mutation-gas2w1ne.js} +6 -6
  144. package/dist/chunks/{state-ted4v28k.js → location-mutation-gaswy4fy.js} +31 -31
  145. package/dist/chunks/{state-gd4qta3r.js → location-mutation-gd4qta3r.js} +1 -1
  146. package/dist/chunks/{state-3fc6dm20.js → location-mutation-gdvy8fx6.js} +4 -4
  147. package/dist/chunks/{state-z69s9t6b.js → location-mutation-gey3b743.js} +5 -5
  148. package/dist/chunks/{state-rxp6shwg.js → location-mutation-ghasjdrg.js} +25 -25
  149. package/dist/chunks/{state-jbpvaypx.js → location-mutation-gj0dd9a5.js} +27 -27
  150. package/dist/chunks/{state-r11ajgf0.js → location-mutation-gmjjhz4f.js} +6 -6
  151. package/dist/chunks/{state-bvk82pqx.js → location-mutation-grgdtd1e.js} +35 -35
  152. package/dist/chunks/{state-x7cszgen.js → location-mutation-gsazbvxt.js} +9 -9
  153. package/dist/chunks/{state-gv6a8nnw.js → location-mutation-gv6a8nnw.js} +2 -2
  154. package/dist/chunks/{state-tf8b2rra.js → location-mutation-gzyxv0pn.js} +20 -20
  155. package/dist/chunks/{state-h03wrkyp.js → location-mutation-h03wrkyp.js} +2 -2
  156. package/dist/chunks/{state-32w6yhxp.js → location-mutation-h1wjmbkk.js} +46 -46
  157. package/dist/chunks/{state-gj9xpvv3.js → location-mutation-h6nsps6f.js} +4 -4
  158. package/dist/chunks/{state-h6vf3j39.js → location-mutation-h6vf3j39.js} +1 -1
  159. package/dist/chunks/{state-m86bnw2c.js → location-mutation-h7ygw6q4.js} +9 -9
  160. package/dist/chunks/{state-ty5dcm6b.js → location-mutation-h8qfas8f.js} +49 -49
  161. package/dist/chunks/{state-5wpq217t.js → location-mutation-h9nnf5ws.js} +4 -4
  162. package/dist/chunks/{state-wbkyxrgf.js → location-mutation-hcz3zddy.js} +5 -5
  163. package/dist/chunks/{state-qde0q9gx.js → location-mutation-hhvmp6hz.js} +8 -8
  164. package/dist/chunks/{state-y6kkr5ec.js → location-mutation-hpp25ebc.js} +10 -10
  165. package/dist/chunks/{state-5wkjyw8p.js → location-mutation-hs65ptje.js} +15 -15
  166. package/dist/chunks/{state-fgh0kbhd.js → location-mutation-hx55d56e.js} +1 -1
  167. package/dist/chunks/{state-wmtzy23c.js → location-mutation-hxtmqnrf.js} +16 -16
  168. package/dist/chunks/{state-rgrqjgjs.js → location-mutation-j0hvwk9n.js} +17 -17
  169. package/dist/chunks/{state-2j86tmtz.js → location-mutation-j113vdcs.js} +3 -3
  170. package/dist/chunks/{state-j56e64zr.js → location-mutation-j56e64zr.js} +1 -1
  171. package/dist/chunks/{state-7f2jh0qn.js → location-mutation-j5bh0wmn.js} +11 -11
  172. package/dist/chunks/{state-4gycnsfp.js → location-mutation-jbjr1a4g.js} +4 -4
  173. package/dist/chunks/{state-1ksnyvb3.js → location-mutation-jd4c6e0g.js} +46 -46
  174. package/dist/chunks/{state-9rga3kb5.js → location-mutation-jhtwchfn.js} +11 -11
  175. package/dist/chunks/{state-g71ct4k0.js → location-mutation-jqaj71sm.js} +12 -12
  176. package/dist/chunks/{state-9gwet866.js → location-mutation-jy375f8f.js} +9 -9
  177. package/dist/chunks/{state-wke5383d.js → location-mutation-jysk5p21.js} +17 -17
  178. package/dist/chunks/{state-wds6e8mb.js → location-mutation-k1jrpyvx.js} +9 -9
  179. package/dist/chunks/{state-2w5z3j1a.js → location-mutation-k4b28awz.js} +10 -10
  180. package/dist/chunks/{state-bpqahvg7.js → location-mutation-ka2k270b.js} +8 -8
  181. package/dist/chunks/{state-kg06axw8.js → location-mutation-kg06axw8.js} +1 -1
  182. package/dist/chunks/{state-ef625r2z.js → location-mutation-kkyy9fk9.js} +14 -14
  183. package/dist/chunks/{state-90442k3a.js → location-mutation-kr70pbj8.js} +32 -32
  184. package/dist/chunks/{state-7jc1agss.js → location-mutation-m1sr9yce.js} +26 -26
  185. package/dist/chunks/{state-gtrw2qym.js → location-mutation-m8426q42.js} +25 -25
  186. package/dist/chunks/{state-m9w0rfyh.js → location-mutation-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{state-b85erezf.js → location-mutation-mawt5qf7.js} +56 -56
  188. package/dist/chunks/{state-4vrct9zm.js → location-mutation-mgntzgg6.js} +18 -18
  189. package/dist/chunks/{state-bk0e418j.js → location-mutation-mgz0y9y1.js} +11 -11
  190. package/dist/chunks/{state-mkcjrzeh.js → location-mutation-mkcjrzeh.js} +1 -1
  191. package/dist/chunks/{state-ksz0h0wp.js → location-mutation-mp045f7j.js} +1 -1
  192. package/dist/chunks/{state-x8yc61fk.js → location-mutation-n0ydf6ct.js} +4 -4
  193. package/dist/chunks/{state-km680rkc.js → location-mutation-naztm8rb.js} +13 -13
  194. package/dist/chunks/{state-28gynx35.js → location-mutation-nb37dnme.js} +26 -26
  195. package/dist/chunks/{state-n76fdqym.js → location-mutation-njyck951.js} +5 -5
  196. package/dist/chunks/{state-3spc9b0y.js → location-mutation-nn1a9pd6.js} +8 -8
  197. package/dist/chunks/{state-m0sxcqt2.js → location-mutation-nn23dsca.js} +14 -14
  198. package/dist/chunks/location-mutation-nnxgfjxc.js +462 -0
  199. package/dist/chunks/{state-qrg5hbxp.js → location-mutation-nr44y0jg.js} +17 -17
  200. package/dist/chunks/{state-r6ydxe53.js → location-mutation-nwdsawfy.js} +11 -11
  201. package/dist/chunks/{state-rkmqat29.js → location-mutation-p2b6fe4v.js} +24 -24
  202. package/dist/chunks/{state-xqm5bvqa.js → location-mutation-p2m13sj7.js} +27 -27
  203. package/dist/chunks/{state-scw7b4kd.js → location-mutation-p5ckrkz6.js} +4 -4
  204. package/dist/chunks/{state-pjvnvgmy.js → location-mutation-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{state-pknna89w.js → location-mutation-pknna89w.js} +1 -1
  206. package/dist/chunks/{state-2vd4sda7.js → location-mutation-psjgct05.js} +3 -3
  207. package/dist/chunks/{state-qcpv5myg.js → location-mutation-pycg9kmm.js} +21 -21
  208. package/dist/chunks/{state-9vs0xtad.js → location-mutation-q3t37ft6.js} +3 -3
  209. package/dist/chunks/{state-p068qqsj.js → location-mutation-q49jh35q.js} +6 -6
  210. package/dist/chunks/{state-vvqrkmmn.js → location-mutation-q4cnpa82.js} +2 -2
  211. package/dist/chunks/{state-ykq2h6pr.js → location-mutation-qgj2gmvg.js} +6 -6
  212. package/dist/chunks/{state-fa2tgj35.js → location-mutation-qgrpvh6y.js} +13 -13
  213. package/dist/chunks/{state-1m7gx937.js → location-mutation-qkfcc35g.js} +7 -7
  214. package/dist/chunks/{state-vkt5fbj2.js → location-mutation-qm7jrdpz.js} +8 -8
  215. package/dist/chunks/{state-qkwm3mh9.js → location-mutation-qp56629k.js} +19 -19
  216. package/dist/chunks/{state-qsdy395h.js → location-mutation-qsdy395h.js} +1 -1
  217. package/dist/chunks/{state-rhraev7y.js → location-mutation-r8xr0va3.js} +4 -4
  218. package/dist/chunks/{state-q9xdtjp2.js → location-mutation-r97capk8.js} +46 -46
  219. package/dist/chunks/{state-avp9g4w2.js → location-mutation-rdm5pf0f.js} +15 -15
  220. package/dist/chunks/{state-29zj8nk3.js → location-mutation-rf0bd2dv.js} +2 -2
  221. package/dist/chunks/{state-wx9wy1qm.js → location-mutation-rfnzy394.js} +1 -1
  222. package/dist/chunks/{state-f1yy6z4t.js → location-mutation-rhrs8d8a.js} +5 -5
  223. package/dist/chunks/{state-k76fn4kw.js → location-mutation-rpg9c19m.js} +4 -4
  224. package/dist/chunks/{state-qh1vzpa3.js → location-mutation-rqsy9jfp.js} +8 -8
  225. package/dist/chunks/{state-abzx8bgj.js → location-mutation-rwd9d0j7.js} +11 -11
  226. package/dist/chunks/{state-1cct8kcv.js → location-mutation-rydh8xqx.js} +6 -6
  227. package/dist/chunks/{state-v7hd7bnc.js → location-mutation-s1h7q102.js} +15 -15
  228. package/dist/chunks/{state-042s3amf.js → location-mutation-s8rwmjr0.js} +11 -11
  229. package/dist/chunks/{state-g0mtbafz.js → location-mutation-sassn4bh.js} +3 -3
  230. package/dist/chunks/{state-dn7xhbn4.js → location-mutation-shrpy2d8.js} +4 -4
  231. package/dist/chunks/{state-s835qbj0.js → location-mutation-sj6fyths.js} +18 -18
  232. package/dist/chunks/{state-a7jajy5d.js → location-mutation-ss9xbr1v.js} +6 -6
  233. package/dist/chunks/{state-2rs9bjec.js → location-mutation-sw100a17.js} +20 -20
  234. package/dist/chunks/{state-qvzm18dh.js → location-mutation-t0w5t2p9.js} +36 -36
  235. package/dist/chunks/{state-jeb4xcwa.js → location-mutation-t5e9ke13.js} +5 -5
  236. package/dist/chunks/{state-mcpt8bkr.js → location-mutation-taac5f65.js} +49 -49
  237. package/dist/chunks/{state-tazgh4e4.js → location-mutation-tazgh4e4.js} +1 -1
  238. package/dist/chunks/{state-mh6832qx.js → location-mutation-tc1rgqrk.js} +26 -26
  239. package/dist/chunks/{state-se2zbpq4.js → location-mutation-tc4bwz4d.js} +84 -84
  240. package/dist/chunks/{state-tcezcvh9.js → location-mutation-tcezcvh9.js} +1 -1
  241. package/dist/chunks/{state-ed6v5dqc.js → location-mutation-td93y0md.js} +33 -33
  242. package/dist/chunks/{state-tdstcens.js → location-mutation-tdstcens.js} +1 -1
  243. package/dist/chunks/{state-p2aqfnpv.js → location-mutation-tt2g822k.js} +18 -18
  244. package/dist/chunks/{state-tvtrv512.js → location-mutation-tvtrv512.js} +1 -1
  245. package/dist/chunks/{state-vzhfee2j.js → location-mutation-tz31g325.js} +15 -15
  246. package/dist/chunks/{state-nejmrbzt.js → location-mutation-v1mp8shd.js} +32 -32
  247. package/dist/chunks/{state-j9ge49hn.js → location-mutation-v25z4a8a.js} +34 -34
  248. package/dist/chunks/{state-jt51yh8d.js → location-mutation-v53gnzvk.js} +20 -20
  249. package/dist/chunks/{state-veqvce7d.js → location-mutation-veqvce7d.js} +1 -1
  250. package/dist/chunks/{state-y2616w7b.js → location-mutation-veyjd4rh.js} +17 -17
  251. package/dist/chunks/{state-6fk9gyy2.js → location-mutation-vv4t1sa5.js} +13 -13
  252. package/dist/chunks/{state-vzcthcp8.js → location-mutation-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{state-cjsb4aez.js → location-mutation-vze96k0n.js} +4 -4
  254. package/dist/chunks/{state-rsdf2nvv.js → location-mutation-w1k39n5e.js} +4 -4
  255. package/dist/chunks/{state-w3wsvvr9.js → location-mutation-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{state-hz1cvwa4.js → location-mutation-w832q7c0.js} +11 -11
  257. package/dist/chunks/{state-r38vse2c.js → location-mutation-wd66sdn1.js} +38 -38
  258. package/dist/chunks/{state-wd87259q.js → location-mutation-wd87259q.js} +1 -1
  259. package/dist/chunks/{state-jtp5bn6d.js → location-mutation-wdskrzmg.js} +22 -22
  260. package/dist/chunks/{state-x1ezjp6w.js → location-mutation-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{state-x43y2vfs.js → location-mutation-x43y2vfs.js} +2 -2
  262. package/dist/chunks/{state-3rbrzhqv.js → location-mutation-xahxvcqc.js} +7 -7
  263. package/dist/chunks/{state-72s1wact.js → location-mutation-xsh4tk7k.js} +143 -143
  264. package/dist/chunks/{state-4vzv7cpc.js → location-mutation-xvjfdb6w.js} +15 -15
  265. package/dist/chunks/{state-y1fvbwt7.js → location-mutation-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{state-vsw5hcvb.js → location-mutation-y48x47v0.js} +9 -9
  267. package/dist/chunks/{state-y71avatq.js → location-mutation-y71avatq.js} +1 -1
  268. package/dist/chunks/{state-2x5jtj7n.js → location-mutation-y81v6499.js} +4 -4
  269. package/dist/chunks/{state-ad3z2jmd.js → location-mutation-y9c21x9k.js} +18 -18
  270. package/dist/chunks/{state-3v4jhxgr.js → location-mutation-ya8tq615.js} +30 -30
  271. package/dist/chunks/{state-db8qwr0q.js → location-mutation-yhg89gw1.js} +34 -34
  272. package/dist/chunks/{state-yrhqyw5v.js → location-mutation-yrhqyw5v.js} +1 -1
  273. package/dist/chunks/{state-yrznvahk.js → location-mutation-yrznvahk.js} +2 -2
  274. package/dist/chunks/{state-yt0fqk68.js → location-mutation-yt0fqk68.js} +2 -2
  275. package/dist/chunks/{state-m27pyyd3.js → location-mutation-yt2qvb82.js} +8 -8
  276. package/dist/chunks/{state-dexz354z.js → location-mutation-yzsghzfy.js} +29 -29
  277. package/dist/chunks/{state-z0bkrqjs.js → location-mutation-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{state-z63w68vq.js → location-mutation-z63w68vq.js} +2 -2
  279. package/dist/chunks/{state-56j0scq4.js → location-mutation-z6683fdr.js} +19 -19
  280. package/dist/chunks/{state-zeh9ct20.js → location-mutation-zeh9ct20.js} +2 -2
  281. package/dist/chunks/{state-8qed9hmh.js → location-mutation-zg7j34pd.js} +4 -4
  282. package/dist/chunks/{state-zr2ceqn5.js → location-mutation-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{state-qz8q6p3t.js → location-mutation-zsev4cyf.js} +4 -4
  284. package/dist/chunks/{state-ywsenab2.js → location-mutation-zw8jnkhh.js} +6 -6
  285. package/dist/chunks/{state-j25khcks.js → location-mutation-zwn4a66c.js} +26 -26
  286. package/dist/chunks/{state-h1p31dmy.js → location-mutation-zxck7hcj.js} +13 -13
  287. package/dist/chunks/{state-zxq2ej10.js → location-mutation-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +3 -3
  289. package/dist/codemode/instructions.js +11 -11
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +83 -83
  292. package/dist/config/discovery.js +77 -77
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +117 -117
  296. package/dist/config/plugin/command.js +209 -209
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +117 -117
  300. package/dist/config/plugin/image.js +115 -115
  301. package/dist/config/plugin/instruction.js +85 -85
  302. package/dist/config/plugin/location-watcher.js +115 -115
  303. package/dist/config/plugin/mcp.js +126 -126
  304. package/dist/config/plugin/policy.js +114 -114
  305. package/dist/config/plugin/provider.js +113 -113
  306. package/dist/config/plugin/reference.js +117 -117
  307. package/dist/config/plugin/shell.js +118 -118
  308. package/dist/config/plugin/skill-file.js +97 -97
  309. package/dist/config/plugin/skill.js +132 -132
  310. package/dist/config/plugin/snapshot.js +115 -115
  311. package/dist/config/plugin/source.js +117 -117
  312. package/dist/config/plugin/tool-output.js +117 -117
  313. package/dist/config/plugin/websearch.js +115 -115
  314. package/dist/config/plugin/worktree.js +118 -118
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +119 -119
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +79 -79
  320. package/dist/database/database.js +64 -64
  321. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +13 -13
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +14 -14
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration.gen.js +47 -47
  384. package/dist/database/migration.js +49 -49
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +74 -74
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +358 -358
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +1 -1
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +88 -88
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +90 -90
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +68 -68
  408. package/dist/file-access.js +99 -99
  409. package/dist/file-mutation.js +89 -89
  410. package/dist/file-retention.js +1 -1
  411. package/dist/file.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/ignore.js +1 -1
  417. package/dist/filesystem/location-watcher-policy.js +2 -2
  418. package/dist/filesystem/location-watcher.js +218 -218
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +99 -99
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +96 -96
  424. package/dist/form.js +84 -84
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +82 -82
  427. package/dist/generate.js +93 -93
  428. package/dist/git.js +7 -7
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +3 -3
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/id/id.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +3 -3
  452. package/dist/instance.js +351 -351
  453. package/dist/instruction-discovery.js +83 -83
  454. package/dist/instructions/builtins.js +82 -82
  455. package/dist/instructions/index.js +3 -3
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +82 -82
  458. package/dist/job.js +77 -77
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +71 -71
  461. package/dist/location-activity.js +127 -127
  462. package/dist/location-mutation.js +99 -99
  463. package/dist/location-service-map.js +81 -81
  464. package/dist/location-services.js +350 -350
  465. package/dist/location.js +84 -84
  466. package/dist/mcp/client.js +86 -86
  467. package/dist/mcp/index.js +105 -105
  468. package/dist/mcp/instructions.js +122 -122
  469. package/dist/mcp/oauth.js +3 -3
  470. package/dist/mcp/stdio.js +85 -85
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +3 -3
  473. package/dist/model-resolver.js +86 -86
  474. package/dist/model.js +10 -10
  475. package/dist/models-dev.js +86 -86
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +76 -76
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +106 -106
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +86 -86
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +73 -73
  485. package/dist/plugin/agent.js +99 -99
  486. package/dist/plugin/command.js +96 -96
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +213 -213
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +324 -324
  491. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  492. package/dist/plugin/models-dev.js +75 -75
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +97 -97
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/alibaba.js +2 -2
  498. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  499. package/dist/plugin/provider/anthropic.js +2 -2
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +2 -2
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +114 -114
  506. package/dist/plugin/provider/digitalocean.js +79 -79
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +80 -80
  511. package/dist/plugin/provider/gitlab.js +3 -3
  512. package/dist/plugin/provider/google-vertex.js +2 -2
  513. package/dist/plugin/provider/kilo.js +2 -2
  514. package/dist/plugin/provider/llmgateway.js +76 -76
  515. package/dist/plugin/provider/lmstudio.js +115 -115
  516. package/dist/plugin/provider/mistral.js +2 -2
  517. package/dist/plugin/provider/modal.js +79 -79
  518. package/dist/plugin/provider/nvidia.js +2 -2
  519. package/dist/plugin/provider/ollama.js +115 -115
  520. package/dist/plugin/provider/openai-compatible.js +1 -1
  521. package/dist/plugin/provider/openai.js +78 -78
  522. package/dist/plugin/provider/opencode.js +79 -79
  523. package/dist/plugin/provider/openrouter.js +3 -3
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +76 -76
  526. package/dist/plugin/provider/sap-ai-core.js +3 -3
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  529. package/dist/plugin/provider/venice.js +2 -2
  530. package/dist/plugin/provider/vercel.js +2 -2
  531. package/dist/plugin/provider/vllm.js +117 -117
  532. package/dist/plugin/provider/xai.js +77 -77
  533. package/dist/plugin/provider/zenmux.js +2 -2
  534. package/dist/plugin/provider.js +158 -158
  535. package/dist/plugin/sdk.js +74 -74
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +133 -133
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +339 -339
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/variant.js +4 -4
  542. package/dist/plugin/vcs/git.js +82 -82
  543. package/dist/plugin/vcs/hg.js +82 -82
  544. package/dist/plugin/warming.js +112 -112
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +6 -6
  547. package/dist/plugin/websearch/index.js +8 -8
  548. package/dist/plugin/websearch/mcp.js +6 -6
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin.js +220 -220
  552. package/dist/project/schema.js +8 -8
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +83 -83
  555. package/dist/provider.js +7 -7
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +1 -1
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +88 -88
  560. package/dist/reference/instructions.js +84 -84
  561. package/dist/reference.js +84 -84
  562. package/dist/repository-cache.js +76 -76
  563. package/dist/repository.js +3 -3
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +91 -91
  566. package/dist/rpc.js +81 -81
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +72 -72
  569. package/dist/session/compaction.js +127 -127
  570. package/dist/session/context.js +147 -147
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +5 -5
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +215 -215
  575. package/dist/session/execution.js +122 -122
  576. package/dist/session/generate.js +148 -148
  577. package/dist/session/history.js +13 -13
  578. package/dist/session/inbox.js +84 -84
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +75 -75
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +92 -92
  583. package/dist/session/message-updater.js +4 -4
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +113 -113
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +126 -126
  588. package/dist/session/projector.js +84 -84
  589. package/dist/session/prompt.js +100 -100
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +85 -85
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +223 -223
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +86 -86
  597. package/dist/session/runner/publish-llm-event.js +3 -3
  598. package/dist/session/runner/retry.js +110 -110
  599. package/dist/session/runner/step.js +119 -119
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +169 -169
  603. package/dist/session/shell.js +131 -131
  604. package/dist/session/skill.js +98 -98
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +71 -71
  607. package/dist/session/store.js +85 -85
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +205 -205
  610. package/dist/session/system-prompt.js +3 -3
  611. package/dist/session/title.js +145 -145
  612. package/dist/session/to-session-error.js +107 -107
  613. package/dist/session/transfer.js +212 -212
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +211 -211
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +9 -9
  620. package/dist/shell.js +133 -133
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +102 -102
  623. package/dist/skill.js +105 -105
  624. package/dist/snapshot.js +88 -88
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +121 -121
  629. package/dist/tool/plugin/edit.js +115 -115
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +120 -120
  632. package/dist/tool/plugin/grep.js +118 -118
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +117 -117
  635. package/dist/tool/plugin/question.js +100 -100
  636. package/dist/tool/plugin/read.js +121 -121
  637. package/dist/tool/plugin/shell.js +212 -212
  638. package/dist/tool/plugin/skill.js +106 -106
  639. package/dist/tool/plugin/subagent.js +214 -214
  640. package/dist/tool/plugin/webfetch.js +107 -107
  641. package/dist/tool/plugin/websearch.js +109 -109
  642. package/dist/tool/plugin/write.js +117 -117
  643. package/dist/tool/read-filesystem.js +96 -96
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +8 -8
  646. package/dist/tool.js +13 -13
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/iife.js +1 -1
  650. package/dist/util/lazy.js +1 -1
  651. package/dist/util/slug.js +1 -1
  652. package/dist/util/token.js +1 -1
  653. package/dist/util/which.js +1 -1
  654. package/dist/util/wildcard.js +1 -1
  655. package/dist/v1/config/agent.js +5 -5
  656. package/dist/v1/config/attachment.js +4 -4
  657. package/dist/v1/config/command.js +3 -3
  658. package/dist/v1/config/config.js +16 -16
  659. package/dist/v1/config/error.js +2 -2
  660. package/dist/v1/config/formatter.js +3 -3
  661. package/dist/v1/config/layout.js +1 -1
  662. package/dist/v1/config/lsp.js +3 -3
  663. package/dist/v1/config/mcp.js +2 -2
  664. package/dist/v1/config/migrate.js +4 -4
  665. package/dist/v1/config/permission.js +3 -3
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/v1/config/server.js +2 -2
  670. package/dist/v1/config/skills.js +3 -3
  671. package/dist/v1/permission.js +1 -1
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +83 -83
  674. package/dist/websearch.js +82 -82
  675. package/dist/wellknown/plugin.js +74 -74
  676. package/dist/wellknown.js +77 -77
  677. package/dist/workspace/driver.js +7 -7
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +76 -76
  680. package/dist/worktree/directory.js +2 -2
  681. package/dist/worktree/git.js +5 -5
  682. package/dist/worktree/refresh.js +342 -342
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree.js +87 -87
  685. package/package.json +8 -8
  686. package/dist/chunks/state-619r8v3y.js +0 -18
  687. package/dist/chunks/state-8wtzn31m.js +0 -462
  688. package/dist/chunks/state-9av7zhqb.js +0 -247
  689. package/dist/chunks/state-swbd6aq4.js +0 -22
  690. /package/dist/chunks/{state-0mesazry.js → location-mutation-0mesazry.js} +0 -0
  691. /package/dist/chunks/{state-0qkdqm5v.js → location-mutation-0qkdqm5v.js} +0 -0
  692. /package/dist/chunks/{state-0zkw76rk.js → location-mutation-0zkw76rk.js} +0 -0
  693. /package/dist/chunks/{state-17cy0kzp.js → location-mutation-17cy0kzp.js} +0 -0
  694. /package/dist/chunks/{state-1cnp2v09.js → location-mutation-1cnp2v09.js} +0 -0
  695. /package/dist/chunks/{state-1kg9ymc8.js → location-mutation-1kg9ymc8.js} +0 -0
  696. /package/dist/chunks/{state-2710q6r3.js → location-mutation-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{state-2axfhc9x.js → location-mutation-2axfhc9x.js} +0 -0
  698. /package/dist/chunks/{state-2c3vjs8z.js → location-mutation-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{state-359p4xyc.js → location-mutation-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{state-3asan66x.js → location-mutation-3asan66x.js} +0 -0
  701. /package/dist/chunks/{state-3v8g72cx.js → location-mutation-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{state-3w5fmr99.js → location-mutation-3w5fmr99.js} +0 -0
  703. /package/dist/chunks/{state-3wcehsnq.js → location-mutation-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{state-43n2bw4t.js → location-mutation-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{state-4knz6hnm.js → location-mutation-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{state-4vcrnpx2.js → location-mutation-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{state-4y7fprxs.js → location-mutation-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{state-53557ph1.js → location-mutation-53557ph1.js} +0 -0
  709. /package/dist/chunks/{state-550bvhaj.js → location-mutation-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{state-6prwharc.js → location-mutation-6prwharc.js} +0 -0
  711. /package/dist/chunks/{state-7akdwqpd.js → location-mutation-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{state-7m9af43g.js → location-mutation-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{state-822emrt2.js → location-mutation-822emrt2.js} +0 -0
  714. /package/dist/chunks/{state-88xbtdfr.js → location-mutation-88xbtdfr.js} +0 -0
  715. /package/dist/chunks/{state-8n3pysct.js → location-mutation-8n3pysct.js} +0 -0
  716. /package/dist/chunks/{state-922hggd3.js → location-mutation-922hggd3.js} +0 -0
  717. /package/dist/chunks/{state-9a4afbnw.js → location-mutation-9a4afbnw.js} +0 -0
  718. /package/dist/chunks/{state-9rqn6x4v.js → location-mutation-9rqn6x4v.js} +0 -0
  719. /package/dist/chunks/{state-a6k6eb26.js → location-mutation-a6k6eb26.js} +0 -0
  720. /package/dist/chunks/{state-af5trqkr.js → location-mutation-af5trqkr.js} +0 -0
  721. /package/dist/chunks/{state-afrmfg78.js → location-mutation-afrmfg78.js} +0 -0
  722. /package/dist/chunks/{state-aqzs7mqg.js → location-mutation-aqzs7mqg.js} +0 -0
  723. /package/dist/chunks/{state-atq7p7m5.js → location-mutation-atq7p7m5.js} +0 -0
  724. /package/dist/chunks/{state-bkyjaxrp.js → location-mutation-bkyjaxrp.js} +0 -0
  725. /package/dist/chunks/{state-bmr6ed5q.js → location-mutation-bmr6ed5q.js} +0 -0
  726. /package/dist/chunks/{state-cf4snx6d.js → location-mutation-cf4snx6d.js} +0 -0
  727. /package/dist/chunks/{state-cvy3z8tj.js → location-mutation-cvy3z8tj.js} +0 -0
  728. /package/dist/chunks/{state-d9fn303g.js → location-mutation-d9fn303g.js} +0 -0
  729. /package/dist/chunks/{state-d9jj8t3e.js → location-mutation-d9jj8t3e.js} +0 -0
  730. /package/dist/chunks/{state-dajrwvna.js → location-mutation-dajrwvna.js} +0 -0
  731. /package/dist/chunks/{state-dap0rakb.js → location-mutation-dap0rakb.js} +0 -0
  732. /package/dist/chunks/{state-df08tz66.js → location-mutation-df08tz66.js} +0 -0
  733. /package/dist/chunks/{state-dy18nga0.js → location-mutation-dy18nga0.js} +0 -0
  734. /package/dist/chunks/{state-e5kj55wp.js → location-mutation-e5kj55wp.js} +0 -0
  735. /package/dist/chunks/{state-e73j6tqm.js → location-mutation-e73j6tqm.js} +0 -0
  736. /package/dist/chunks/{state-ec1grn59.js → location-mutation-ec1grn59.js} +0 -0
  737. /package/dist/chunks/{state-eh3zwz77.js → location-mutation-eh3zwz77.js} +0 -0
  738. /package/dist/chunks/{state-emrn6kk6.js → location-mutation-emrn6kk6.js} +0 -0
  739. /package/dist/chunks/{state-f0mxakyp.js → location-mutation-f0mxakyp.js} +0 -0
  740. /package/dist/chunks/{state-f6n9ztr4.js → location-mutation-f6n9ztr4.js} +0 -0
  741. /package/dist/chunks/{state-faypxj3z.js → location-mutation-faypxj3z.js} +0 -0
  742. /package/dist/chunks/{state-fd410y7t.js → location-mutation-fd410y7t.js} +0 -0
  743. /package/dist/chunks/{state-fxgpk5d8.js → location-mutation-fxgpk5d8.js} +0 -0
  744. /package/dist/chunks/{state-g4wezp1m.js → location-mutation-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{state-g86h250q.js → location-mutation-g86h250q.js} +0 -0
  746. /package/dist/chunks/{state-gebd4c9n.js → location-mutation-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{state-gftt206x.js → location-mutation-gftt206x.js} +0 -0
  748. /package/dist/chunks/{state-hjbc5kem.js → location-mutation-hjbc5kem.js} +0 -0
  749. /package/dist/chunks/{state-hk9envan.js → location-mutation-hk9envan.js} +0 -0
  750. /package/dist/chunks/{state-hrnqkpcd.js → location-mutation-hrnqkpcd.js} +0 -0
  751. /package/dist/chunks/{state-j2ntwpah.js → location-mutation-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{state-j5zkgpj8.js → location-mutation-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{state-jr7sbwjy.js → location-mutation-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{state-jwfs4k6c.js → location-mutation-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{state-jzg6c2d5.js → location-mutation-jzg6c2d5.js} +0 -0
  756. /package/dist/chunks/{state-mp448xyj.js → location-mutation-mp448xyj.js} +0 -0
  757. /package/dist/chunks/{state-msx8hqn2.js → location-mutation-msx8hqn2.js} +0 -0
  758. /package/dist/chunks/{state-n05xt0ee.js → location-mutation-n05xt0ee.js} +0 -0
  759. /package/dist/chunks/{state-n3j8tn72.js → location-mutation-n3j8tn72.js} +0 -0
  760. /package/dist/chunks/{state-njntx4h6.js → location-mutation-njntx4h6.js} +0 -0
  761. /package/dist/chunks/{state-paphc93g.js → location-mutation-paphc93g.js} +0 -0
  762. /package/dist/chunks/{state-q3sfg36h.js → location-mutation-q3sfg36h.js} +0 -0
  763. /package/dist/chunks/{state-q74kybfr.js → location-mutation-q74kybfr.js} +0 -0
  764. /package/dist/chunks/{state-qaymkmh1.js → location-mutation-qaymkmh1.js} +0 -0
  765. /package/dist/chunks/{state-qb87gjwd.js → location-mutation-qb87gjwd.js} +0 -0
  766. /package/dist/chunks/{state-qfa1cgps.js → location-mutation-qfa1cgps.js} +0 -0
  767. /package/dist/chunks/{state-qrg20bc0.js → location-mutation-qrg20bc0.js} +0 -0
  768. /package/dist/chunks/{state-rcb2kzg1.js → location-mutation-rcb2kzg1.js} +0 -0
  769. /package/dist/chunks/{state-sdp7kfr6.js → location-mutation-sdp7kfr6.js} +0 -0
  770. /package/dist/chunks/{state-sk3qaz4a.js → location-mutation-sk3qaz4a.js} +0 -0
  771. /package/dist/chunks/{state-ssg3fenm.js → location-mutation-ssg3fenm.js} +0 -0
  772. /package/dist/chunks/{state-twg0f83k.js → location-mutation-twg0f83k.js} +0 -0
  773. /package/dist/chunks/{state-w803qqfp.js → location-mutation-w803qqfp.js} +0 -0
  774. /package/dist/chunks/{state-wer8tq1h.js → location-mutation-wer8tq1h.js} +0 -0
  775. /package/dist/chunks/{state-wtztk69x.js → location-mutation-wtztk69x.js} +0 -0
  776. /package/dist/chunks/{state-x0ckcb58.js → location-mutation-x0ckcb58.js} +0 -0
  777. /package/dist/chunks/{state-x61499pn.js → location-mutation-x61499pn.js} +0 -0
  778. /package/dist/chunks/{state-y44na4kk.js → location-mutation-y44na4kk.js} +0 -0
  779. /package/dist/chunks/{state-y8cydn3q.js → location-mutation-y8cydn3q.js} +0 -0
  780. /package/dist/chunks/{state-ygaqb7jw.js → location-mutation-ygaqb7jw.js} +0 -0
  781. /package/dist/chunks/{state-ym463w8f.js → location-mutation-ym463w8f.js} +0 -0
  782. /package/dist/chunks/{state-z9919s4g.js → location-mutation-z9919s4g.js} +0 -0
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service47
4
- } from "./state-ge924j7m.js";
3
+ Service62
4
+ } from "./location-mutation-0at1dgts.js";
5
5
  import {
6
- Service55
7
- } from "./state-90442k3a.js";
6
+ Service34
7
+ } from "./location-mutation-kr70pbj8.js";
8
8
  import {
9
9
  observe2
10
- } from "./state-qsdy395h.js";
10
+ } from "./location-mutation-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./state-9rqn6x4v.js";
13
+ } from "./location-mutation-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/snapshot.ts
16
16
  var exports_snapshot = {};
17
17
  __export(exports_snapshot, {
18
18
  ConfigSnapshotPlugin: () => exports_snapshot,
19
- Plugin: () => Plugin22
19
+ Plugin: () => Plugin16
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin22 = define({
23
+ var Plugin16 = define({
24
24
  id: "opencode.config.snapshot",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service47;
27
- const snapshot = yield* Service55;
26
+ const config = yield* Service62;
27
+ const snapshot = yield* Service34;
28
28
  const loaded = yield* observe2(config, ctx.event, snapshot.reload());
29
29
  yield* snapshot.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "snapshots");
@@ -35,4 +35,4 @@ var Plugin22 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin22, exports_snapshot };
38
+ export { Plugin16, exports_snapshot };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service56,
3
- node61,
2
+ Service73,
3
+ node78,
4
4
  canonical3
5
- } from "./state-y6kkr5ec.js";
5
+ } from "./location-mutation-hpp25ebc.js";
6
6
  import {
7
7
  Service54,
8
- node59
9
- } from "./state-dn7xhbn4.js";
8
+ node58
9
+ } from "./location-mutation-shrpy2d8.js";
10
10
  import {
11
- Service21
12
- } from "./state-zyf4mc13.js";
11
+ Service49
12
+ } from "./location-mutation-84pjytny.js";
13
13
  import {
14
14
  layer2
15
- } from "./state-9av7zhqb.js";
15
+ } from "./location-mutation-bm6n0t2a.js";
16
16
 
17
17
  // src/location-services.ts
18
18
  import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
19
19
  function buildLocationServiceMap2(replacements = []) {
20
- return Layer.effect(Service56, Effect.gen(function* () {
20
+ return Layer.effect(Service73, Effect.gen(function* () {
21
21
  const owner = yield* Effect.scope;
22
22
  const builds = MutableHashMap.empty();
23
23
  const inner = yield* LayerMap.make((ref) => {
@@ -28,7 +28,7 @@ function buildLocationServiceMap2(replacements = []) {
28
28
  if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
29
29
  return Effect.void;
30
30
  if (Exit.isSuccess(exit)) {
31
- build.close = Context.get(exit.value, Service21).close;
31
+ build.close = Context.get(exit.value, Service49).close;
32
32
  return Effect.void;
33
33
  }
34
34
  MutableHashMap.remove(builds, ref);
@@ -50,11 +50,11 @@ function buildLocationServiceMap2(replacements = []) {
50
50
  })
51
51
  };
52
52
  const bindings = [
53
- node59.replace(Layer.succeed(Service54, {
53
+ node58.replace(Layer.succeed(Service54, {
54
54
  provide: (session) => Effect.provide(map.get(session.location))
55
55
  })),
56
56
  ...replacements,
57
- node61.replace(Layer.succeed(Service56, map))
57
+ node78.replace(Layer.succeed(Service73, map))
58
58
  ];
59
59
  return map;
60
60
  }));
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service47
3
- } from "./state-ge924j7m.js";
2
+ Service62
3
+ } from "./location-mutation-0at1dgts.js";
4
4
  import {
5
5
  Service10
6
- } from "./state-5kptn8c0.js";
6
+ } from "./location-mutation-5kptn8c0.js";
7
7
  import {
8
8
  observe2
9
- } from "./state-qsdy395h.js";
9
+ } from "./location-mutation-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./state-9rqn6x4v.js";
12
+ } from "./location-mutation-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/location-watcher.ts
15
15
  var exports_location_watcher2 = {};
16
16
  __export(exports_location_watcher2, {
17
17
  ConfigLocationWatcherPlugin: () => exports_location_watcher2,
18
- Plugin: () => Plugin23
18
+ Plugin: () => Plugin18
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin23 = define({
22
+ var Plugin18 = define({
23
23
  id: "opencode.config.location-watcher",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service47;
25
+ const config = yield* Service62;
26
26
  const policy = yield* Service10;
27
27
  const loaded = yield* observe2(config, ctx.event, policy.reload());
28
28
  yield* policy.transform((editor) => {
@@ -35,4 +35,4 @@ var Plugin23 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin23, exports_location_watcher2 };
38
+ export { Plugin18, exports_location_watcher2 };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./state-crehqsnt.js";
4
+ } from "./location-mutation-fsbgy90x.js";
5
5
  import {
6
- Service76,
7
- node81
8
- } from "./state-y2616w7b.js";
6
+ Service74,
7
+ node79
8
+ } from "./location-mutation-veyjd4rh.js";
9
9
  import {
10
10
  reconcile2,
11
11
  create3
12
- } from "./state-kg06axw8.js";
12
+ } from "./location-mutation-kg06axw8.js";
13
13
  import {
14
14
  PATCH_CONTEXT_LINES2,
15
15
  MAX_TOTAL_PATCH_BYTES2,
16
16
  emptyPatch2
17
- } from "./state-tazgh4e4.js";
17
+ } from "./location-mutation-tazgh4e4.js";
18
18
  import {
19
19
  __export
20
- } from "./state-9rqn6x4v.js";
20
+ } from "./location-mutation-9rqn6x4v.js";
21
21
 
22
22
  // src/vcs.ts
23
23
  var exports_vcs = {};
@@ -28,9 +28,9 @@ __export(exports_vcs, {
28
28
  FileStatus: () => FileStatus2,
29
29
  Info: () => Info5,
30
30
  Mode: () => Mode2,
31
- Service: () => Service26,
31
+ Service: () => Service19,
32
32
  Vcs: () => exports_vcs,
33
- node: () => node30
33
+ node: () => node23
34
34
  });
35
35
  import path from "path";
36
36
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
45
45
  }) {
46
46
  }
47
47
 
48
- class Service26 extends Context.Service()("@opencode/Vcs") {
48
+ class Service19 extends Context.Service()("@opencode/Vcs") {
49
49
  }
50
- var layer = Layer.effect(Service26, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service19, Effect.gen(function* () {
51
51
  const fs = yield* FSUtil.Service;
52
- const location = yield* Service76;
52
+ const location = yield* Service74;
53
53
  const bus = yield* Service79;
54
54
  const root = yield* Effect.scope;
55
55
  const fork = yield* FiberSet.makeRuntime();
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
115
115
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
116
116
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
117
117
  }
118
- return Service26.of({
118
+ return Service19.of({
119
119
  transform: state.transform,
120
120
  reload: state.reload,
121
121
  info: Effect.fn("Vcs.info")(function* () {
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
161
161
  })
162
162
  });
163
163
  }));
164
- var node30 = makeLocationNode({
165
- service: Service26,
164
+ var node23 = makeLocationNode({
165
+ service: Service19,
166
166
  layer,
167
- deps: [FSUtil.node, node81, node84]
167
+ deps: [FSUtil.node, node79, node84]
168
168
  });
169
169
 
170
- export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, Service26, node30, exports_vcs };
170
+ export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, Service19, node23, exports_vcs };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./state-m27pyyd3.js";
4
+ } from "./location-mutation-yt2qvb82.js";
5
5
  import {
6
6
  latest2,
7
- Service47
8
- } from "./state-ge924j7m.js";
7
+ Service62
8
+ } from "./location-mutation-0at1dgts.js";
9
9
  import {
10
10
  observe2
11
- } from "./state-qsdy395h.js";
11
+ } from "./location-mutation-qsdy395h.js";
12
12
  import {
13
13
  __export
14
- } from "./state-9rqn6x4v.js";
14
+ } from "./location-mutation-9rqn6x4v.js";
15
15
 
16
16
  // src/config/plugin/provider.ts
17
17
  var exports_provider = {};
18
18
  __export(exports_provider, {
19
19
  ConfigProviderPlugin: () => exports_provider,
20
- Plugin: () => Plugin28
20
+ Plugin: () => Plugin23
21
21
  });
22
22
  import { define } from "@opencode/plugin/effect/plugin";
23
23
  import { Money } from "@opencode/schema/money";
24
24
  import { Effect } from "effect";
25
- var Plugin28 = define({
25
+ var Plugin23 = define({
26
26
  id: "opencode.config.provider",
27
27
  effect: Effect.fn(function* (ctx) {
28
- const config = yield* Service47;
28
+ const config = yield* Service62;
29
29
  const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.catalog.reload())));
30
30
  yield* ctx.integration.transform((integrations) => {
31
31
  for (const [id, provider] of configuredProviders(loaded.entries)) {
@@ -159,4 +159,4 @@ function configuredProviders(entries) {
159
159
  return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
160
160
  }
161
161
 
162
- export { Plugin28, exports_provider };
162
+ export { Plugin23, exports_provider };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service79
3
- } from "./state-crehqsnt.js";
3
+ } from "./location-mutation-fsbgy90x.js";
4
4
  import {
5
- Service49,
6
- Event10
7
- } from "./state-4vrct9zm.js";
5
+ Service64,
6
+ Event14
7
+ } from "./location-mutation-mgntzgg6.js";
8
8
  import {
9
9
  __export
10
- } from "./state-9rqn6x4v.js";
10
+ } from "./location-mutation-9rqn6x4v.js";
11
11
 
12
12
  // src/wellknown/plugin.ts
13
13
  var exports_plugin = {};
14
14
  __export(exports_plugin, {
15
- Plugin: () => Plugin44,
15
+ Plugin: () => Plugin14,
16
16
  WellKnownPlugin: () => exports_plugin
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin44 = define({
20
+ var Plugin14 = define({
21
21
  id: "opencode.wellknown",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  const bus = yield* Service79;
24
- const wellknown = yield* Service49;
24
+ const wellknown = yield* Service64;
25
25
  yield* wellknown.entries().pipe(Effect.orDie);
26
26
  yield* ctx.integration.transform((editor) => {
27
27
  wellknown.snapshot().forEach((entry) => {
@@ -41,8 +41,8 @@ var Plugin44 = define({
41
41
  });
42
42
  });
43
43
  });
44
- yield* bus.subscribe(Event10.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
44
+ yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
45
45
  })
46
46
  });
47
47
 
48
- export { Plugin44, exports_plugin };
48
+ export { Plugin14, exports_plugin };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./location-mutation-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  PluginHooks: () => exports_hooks,
9
- Service: () => Service70,
10
- node: () => node75
9
+ Service: () => Service72,
10
+ node: () => node77
11
11
  });
12
12
  import { Context, Effect, Layer, Scope } from "effect";
13
13
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
20
20
  return typeof model.providerID === "string" ? model.providerID : undefined;
21
21
  };
22
22
 
23
- class Service70 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service72 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service70, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service72, Effect.gen(function* () {
26
26
  const callbacks = new Map;
27
27
  const key = (domain, name) => `${domain}.${String(name)}`;
28
28
  const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
54
54
  return event;
55
55
  });
56
56
  const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
57
- return Service70.of({ has, register, trigger });
57
+ return Service72.of({ has, register, trigger });
58
58
  }));
59
- var node75 = makeLocationNode({ service: Service70, layer, deps: [] });
59
+ var node77 = makeLocationNode({ service: Service72, layer, deps: [] });
60
60
 
61
- export { Service70, node75, exports_hooks };
61
+ export { Service72, node77, exports_hooks };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./location-mutation-9rqn6x4v.js";
4
4
 
5
5
  // src/state.ts
6
6
  var exports_state = {};
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service79
3
- } from "./state-crehqsnt.js";
3
+ } from "./location-mutation-fsbgy90x.js";
4
4
  import {
5
- Service76
6
- } from "./state-y2616w7b.js";
5
+ Service74
6
+ } from "./location-mutation-veyjd4rh.js";
7
7
  import {
8
8
  PromptsChanged2,
9
- Service41
10
- } from "./state-mcpt8bkr.js";
9
+ Service31
10
+ } from "./location-mutation-taac5f65.js";
11
11
  import {
12
12
  __export
13
- } from "./state-9rqn6x4v.js";
13
+ } from "./location-mutation-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/command.ts
16
- var exports_command = {};
17
- __export(exports_command, {
18
- CommandPlugin: () => exports_command,
19
- Plugin: () => Plugin13
16
+ var exports_command2 = {};
17
+ __export(exports_command2, {
18
+ CommandPlugin: () => exports_command2,
19
+ Plugin: () => Plugin37
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect, Stream } from "effect";
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
193
193
  `;
194
194
 
195
195
  // src/plugin/command.ts
196
- var Plugin13 = define({
196
+ var Plugin37 = define({
197
197
  id: "opencode.command",
198
198
  effect: Effect.fn(function* (ctx) {
199
- const location = yield* Service76;
200
- const mcp = yield* Service41;
199
+ const location = yield* Service74;
200
+ const mcp = yield* Service31;
201
201
  const bus = yield* Service79;
202
202
  const loaded = { prompts: [] };
203
203
  yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
@@ -280,4 +280,4 @@ function sanitize(value) {
280
280
  var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
281
281
  var quoteTrimRegex = /^["']|["']$/g;
282
282
 
283
- export { Plugin13, exports_command };
283
+ export { Plugin37, exports_command2 };
@@ -1,55 +1,55 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./state-922hggd3.js";
4
+ } from "./location-mutation-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service78,
9
- node83
10
- } from "./state-jefma2gq.js";
11
- import {
12
8
  Service76,
13
9
  node81
14
- } from "./state-y2616w7b.js";
10
+ } from "./location-mutation-1e9w7pgh.js";
11
+ import {
12
+ Service74,
13
+ node79
14
+ } from "./location-mutation-veyjd4rh.js";
15
15
  import {
16
16
  create3
17
- } from "./state-kg06axw8.js";
17
+ } from "./location-mutation-kg06axw8.js";
18
18
  import {
19
19
  __export
20
- } from "./state-9rqn6x4v.js";
20
+ } from "./location-mutation-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error5,
26
- ID: () => ID6,
27
- Service: () => Service55,
25
+ Error: () => Error3,
26
+ ID: () => ID4,
27
+ Service: () => Service34,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node60,
30
- noopLayer: () => noopLayer3
29
+ node: () => node38,
30
+ noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID6 } from "@opencode/schema/snapshot";
37
+ import { ID as ID4 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error5 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service55 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service34 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service55, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service34, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service78;
50
+ const git = yield* Service76;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service76;
52
+ const location = yield* Service74;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error5({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID6.make(yield* git.tree.capture({
85
+ return ID4.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -122,25 +122,25 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
122
122
  for (const [file, snapshot] of input.files) {
123
123
  const absolute = path.resolve(worktree, file);
124
124
  if (!FSUtil.contains(worktree, absolute))
125
- return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
125
+ return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
126
126
  files.set(file, TreeID2.make(snapshot));
127
127
  }
128
128
  return files;
129
129
  });
130
130
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
131
131
  if (!enabled())
132
- return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
132
+ return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
133
133
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
134
134
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
135
135
  });
136
- return Service55.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
136
+ return Service34.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
137
137
  }).pipe(Effect.withSpan("Snapshot.boot")));
138
- var node60 = makeLocationNode({
139
- service: Service55,
138
+ var node38 = makeLocationNode({
139
+ service: Service34,
140
140
  layer,
141
- deps: [FSUtil.node, node83, Global.node, node81]
141
+ deps: [FSUtil.node, node81, Global.node, node79]
142
142
  });
143
- var noopLayer3 = Layer.succeed(Service55, Service55.of({
143
+ var noopLayer2 = Layer.succeed(Service34, Service34.of({
144
144
  transform: () => Effect.succeed({ dispose: Effect.void }),
145
145
  reload: () => Effect.void,
146
146
  capture: () => Effect.undefined,
@@ -149,13 +149,13 @@ var noopLayer3 = Layer.succeed(Service55, Service55.of({
149
149
  restore: () => Effect.void
150
150
  }));
151
151
  function failure(operation, cause) {
152
- if (cause instanceof Error5 && cause.operation === operation)
152
+ if (cause instanceof Error3 && cause.operation === operation)
153
153
  return cause;
154
- return new Error5({
154
+ return new Error3({
155
155
  operation,
156
156
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
157
157
  cause
158
158
  });
159
159
  }
160
160
 
161
- export { ID6, Error5, Service55, node60, noopLayer3, exports_snapshot2 };
161
+ export { ID4, Error3, Service34, node38, noopLayer2, exports_snapshot2 };