@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,47 +1,47 @@
1
1
  import {
2
- ID12,
2
+ ID14,
3
3
  Service71
4
- } from "./state-tvtmmrz5.js";
4
+ } from "./location-mutation-6qwk570e.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
  SessionSchema2
11
- } from "./state-9vs0xtad.js";
11
+ } from "./location-mutation-q3t37ft6.js";
12
12
  import {
13
- Service74
14
- } from "./state-61rp159a.js";
13
+ Service56
14
+ } from "./location-mutation-4rj1fxpy.js";
15
15
  import {
16
16
  evaluate2,
17
- Service67
18
- } from "./state-32w6yhxp.js";
17
+ Service68
18
+ } from "./location-mutation-h1wjmbkk.js";
19
19
  import {
20
- Service27
21
- } from "./state-wsysymfc.js";
20
+ Service20
21
+ } from "./location-mutation-514dm7sz.js";
22
22
  import {
23
23
  NO_TEXT2
24
- } from "./state-x1ezjp6w.js";
24
+ } from "./location-mutation-x1ezjp6w.js";
25
25
  import {
26
- make10
27
- } from "./state-abzx8bgj.js";
26
+ make5
27
+ } from "./location-mutation-rwd9d0j7.js";
28
28
  import {
29
29
  __export
30
- } from "./state-9rqn6x4v.js";
30
+ } from "./location-mutation-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/subagent.ts
33
33
  var exports_subagent = {};
34
34
  __export(exports_subagent, {
35
- Input: () => Input10,
36
- Output: () => Output7,
37
- Plugin: () => Plugin41,
35
+ Input: () => Input12,
36
+ Output: () => Output8,
37
+ Plugin: () => Plugin13,
38
38
  SubagentTool: () => exports_subagent,
39
- description: () => description4,
40
- name: () => name10
39
+ description: () => description5,
40
+ name: () => name12
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
- var name10 = "subagent";
44
+ var name12 = "subagent";
45
45
  var backgroundResult = (sessionID) => ({
46
46
  sessionID,
47
47
  status: "running",
@@ -52,7 +52,7 @@ var backgroundResult = (sessionID) => ({
52
52
  ].join(`
53
53
  `)
54
54
  });
55
- var Input10 = Schema.Struct({
55
+ var Input12 = Schema.Struct({
56
56
  agent: Schema.String.annotate({ description: "The type of specialized agent to use for this task" }),
57
57
  description: Schema.String.annotate({ description: "A short 3-5 word label for the task, displayed to the user" }),
58
58
  prompt: Schema.String.annotate({ description: "The task for the subagent to perform" }),
@@ -63,12 +63,12 @@ var Input10 = Schema.Struct({
63
63
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
64
64
  })
65
65
  });
66
- var Output7 = Schema.Struct({
66
+ var Output8 = Schema.Struct({
67
67
  sessionID: SessionSchema2.ID,
68
68
  status: Schema.Literals(["completed", "running"]),
69
69
  output: Schema.String
70
70
  });
71
- var description4 = [
71
+ var description5 = [
72
72
  "Spawns an agent in a child session to work on the specified task.",
73
73
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
74
74
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -77,21 +77,21 @@ var description4 = [
77
77
  "Use background only for independent work that can run while you continue elsewhere."
78
78
  ].join(`
79
79
  `);
80
- var Plugin41 = {
80
+ var Plugin13 = {
81
81
  id: "opencode.tool.subagent",
82
82
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
83
- const sessions = yield* Service27;
84
- const jobs = yield* Service74;
83
+ const sessions = yield* Service20;
84
+ const jobs = yield* Service56;
85
85
  const agents = yield* Service71;
86
- const config = yield* Service47;
87
- const permission = yield* Service67;
88
- const subagents = yield* make10;
86
+ const config = yield* Service62;
87
+ const permission = yield* Service68;
88
+ const subagents = yield* make5;
89
89
  yield* ctx.tool.transform((editor) => editor.add({
90
- name: name10,
90
+ name: name12,
91
91
  options: { codemode: false },
92
- description: description4,
93
- input: Input10,
94
- output: Output7,
92
+ description: description5,
93
+ input: Input12,
94
+ output: Output8,
95
95
  execute: (input, context) => Effect.gen(function* () {
96
96
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
97
97
  let current = parent;
@@ -111,7 +111,7 @@ var Plugin41 = {
111
111
  if (agent.mode === "primary")
112
112
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
113
113
  yield* permission.assert({
114
- action: name10,
114
+ action: name12,
115
115
  resources: [agent.id],
116
116
  save: [agent.id],
117
117
  sessionID: context.sessionID,
@@ -134,7 +134,7 @@ var Plugin41 = {
134
134
  const child = existing ?? (yield* sessions.create({
135
135
  parentID: context.sessionID,
136
136
  title: input.description,
137
- agent: ID12.make(input.agent),
137
+ agent: ID14.make(input.agent),
138
138
  model
139
139
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
140
140
  const background = input.background === true;
@@ -184,13 +184,13 @@ ${output.output}
184
184
  })))
185
185
  })).pipe(Effect.orDie);
186
186
  yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
187
- const tool = event.tools[name10];
187
+ const tool = event.tools[name12];
188
188
  if (!tool)
189
189
  return;
190
190
  const selected = yield* agents.resolve(event.agent);
191
191
  if (!selected)
192
192
  return;
193
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name10, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
193
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name12, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
194
194
  if (available.length === 0)
195
195
  return;
196
196
  tool.description = [
@@ -204,4 +204,4 @@ ${output.output}
204
204
  })
205
205
  };
206
206
 
207
- export { name10, Input10, Output7, description4, Plugin41, exports_subagent };
207
+ export { name12, Input12, Output8, description5, Plugin13, exports_subagent };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  Service54
3
- } from "./state-dn7xhbn4.js";
3
+ } from "./location-mutation-shrpy2d8.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./state-619r8v3y.js";
6
+ } from "./location-mutation-9sh4wc5j.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./state-r11ajgf0.js";
9
+ } from "./location-mutation-gmjjhz4f.js";
10
10
  import {
11
- Service66
12
- } from "./state-km9xg0y0.js";
11
+ Service41
12
+ } from "./location-mutation-e9y1n4eq.js";
13
13
  import {
14
14
  __export
15
- } from "./state-9rqn6x4v.js";
15
+ } from "./location-mutation-9rqn6x4v.js";
16
16
 
17
17
  // src/session/skill.ts
18
18
  var exports_skill4 = {};
@@ -23,7 +23,7 @@ __export(exports_skill4, {
23
23
  import { Effect } from "effect";
24
24
  var get4 = Effect.fn("SessionSkill.get")(function* (input) {
25
25
  const instances = yield* Service54;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service66), instances.provide(input.session));
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service41), instances.provide(input.session));
27
27
  const skill = yield* skills.get(input.skill);
28
28
  if (!skill)
29
29
  return yield* new SkillNotFoundError2({ skill: input.skill });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./state-qaymkmh1.js";
3
+ } from "./location-mutation-qaymkmh1.js";
4
4
 
5
5
  // src/ripgrep/binary.ts
6
6
  import path from "path";
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service76
3
- } from "./state-y2616w7b.js";
2
+ Service74
3
+ } from "./location-mutation-veyjd4rh.js";
4
4
  import {
5
- Service43
6
- } from "./state-kcq3q37j.js";
5
+ Service38
6
+ } from "./location-mutation-db72jng6.js";
7
7
  import {
8
- Service15,
8
+ Service13,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./state-6fk9gyy2.js";
11
+ } from "./location-mutation-vv4t1sa5.js";
12
12
  import {
13
- Service19
14
- } from "./state-v7hd7bnc.js";
13
+ Service50
14
+ } from "./location-mutation-s1h7q102.js";
15
15
  import {
16
- Service67
17
- } from "./state-32w6yhxp.js";
16
+ Service68
17
+ } from "./location-mutation-h1wjmbkk.js";
18
18
  import {
19
- Service20,
19
+ Service67,
20
20
  resolvePath2
21
- } from "./state-2q862m59.js";
21
+ } from "./location-mutation-5tjgq90g.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./state-6prwharc.js";
24
+ } from "./location-mutation-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./state-9rqn6x4v.js";
27
+ } from "./location-mutation-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input8,
34
- Output: () => Output5,
35
- Plugin: () => Plugin38,
36
- name: () => name8
33
+ Input: () => Input3,
34
+ Output: () => Output3,
35
+ Plugin: () => Plugin4,
36
+ name: () => name3
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name8 = "edit";
43
- var Input8 = Schema.Struct({
42
+ var name3 = "edit";
43
+ var Input3 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input8 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output5 = Schema.Struct({
53
+ var Output3 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
103
103
  return result;
104
104
  }, []);
105
105
  };
106
- var Plugin38 = {
106
+ var Plugin4 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service20;
110
- const fileMutation = yield* Service15;
111
- const environment = yield* Service43;
112
- const formatter = yield* Service19;
113
- const location = yield* Service76;
114
- const permission = yield* Service67;
109
+ const access = yield* Service67;
110
+ const fileMutation = yield* Service13;
111
+ const environment = yield* Service38;
112
+ const formatter = yield* Service50;
113
+ const location = yield* Service74;
114
+ const permission = yield* Service68;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name8,
116
+ name: name3,
117
117
  options: { codemode: false, permission: "edit" },
118
118
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
119
- input: Input8,
120
- output: Output5,
119
+ input: Input3,
120
+ output: Output3,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
123
123
  const permissionSource = {
@@ -194,4 +194,4 @@ var Plugin38 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name8, Input8, Output5, Plugin38, exports_edit };
197
+ export { name3, Input3, Output3, Plugin4, exports_edit };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./state-crehqsnt.js";
4
+ } from "./location-mutation-fsbgy90x.js";
5
5
  import {
6
6
  environment2
7
- } from "./state-vj0fkvb7.js";
7
+ } from "./location-mutation-fh8rk5rm.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./state-sk3qaz4a.js";
10
+ } from "./location-mutation-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./state-9rqn6x4v.js";
13
+ } from "./location-mutation-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError3,
20
- Options: () => Options4,
19
+ NotFoundError: () => NotFoundError6,
20
+ Options: () => Options5,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service24,
23
- UnavailableError: () => UnavailableError3,
24
- configured: () => configured4,
25
- layer: () => layer11,
26
- node: () => node28
22
+ Service: () => Service43,
23
+ UnavailableError: () => UnavailableError2,
24
+ configured: () => configured6,
25
+ layer: () => layer16,
26
+ node: () => node48
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -35,21 +35,21 @@ import { Pty } from "@opencode/schema/pty";
35
35
  import { Global } from "@opencode/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
- var Options4 = Schema.Struct({ handoff: Schema.optional(Handoff) });
38
+ var Options5 = Schema.Struct({ handoff: Schema.optional(Handoff) });
39
39
 
40
- class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
40
+ class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
41
41
  message: Schema.String
42
42
  }) {
43
43
  }
44
44
 
45
- class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
45
+ class NotFoundError6 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
46
46
  ptyID: Pty.ID
47
47
  }) {
48
48
  }
49
49
 
50
- class Service24 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service43 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service24, Effect.gen(function* () {
52
+ var makeLayer = (options = {}) => Layer.effect(Service43, Effect.gen(function* () {
53
53
  const bus = yield* Service79;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service24, Effect.gen(function* (
72
72
  const get = Effect.fn("PersistentPty.get")(function* (id) {
73
73
  const found = (yield* list()).find((terminal) => terminal.id === id);
74
74
  if (!found)
75
- return yield* new NotFoundError3({ ptyID: id });
75
+ return yield* new NotFoundError6({ ptyID: id });
76
76
  return found;
77
77
  });
78
78
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service24, Effect.gen(function* (
162
162
  });
163
163
  const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
164
164
  if (lines !== undefined && !Schema.is(ReadLines)(lines))
165
- return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
165
+ return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
166
166
  const id = current.get(sessionID);
167
167
  if (!id)
168
168
  return null;
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service24, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service24.of({
242
+ return Service43.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service24, Effect.gen(function* (
255
255
  attach
256
256
  });
257
257
  }));
258
- var layer11 = makeLayer();
259
- var configured4 = (options) => makeGlobalNode({
260
- service: Service24,
261
- layer: options === undefined ? layer11 : makeLayer(options),
258
+ var layer16 = makeLayer();
259
+ var configured6 = (options) => makeGlobalNode({
260
+ service: Service43,
261
+ layer: options === undefined ? layer16 : makeLayer(options),
262
262
  deps: [node84, Global.node]
263
263
  });
264
- var node28 = configured4();
264
+ var node48 = configured6();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
- var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
268
- var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
267
+ var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
268
+ var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
269
269
  var runtimeDirectory = () => {
270
270
  const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
271
271
  return path.join(root, crypto.randomUUID());
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options4, UnavailableError3, NotFoundError3, Service24, layer11, configured4, node28, exports_persistent_pty, Handoff2 };
304
+ export { Options5, UnavailableError2, NotFoundError6, Service43, layer16, configured6, node48, exports_persistent_pty, Handoff2 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./state-crehqsnt.js";
4
+ } from "./location-mutation-fsbgy90x.js";
5
5
  import {
6
6
  Key3,
7
- Service64,
7
+ Service65,
8
8
  node69
9
- } from "./state-xqm5bvqa.js";
9
+ } from "./location-mutation-p2m13sj7.js";
10
10
  import {
11
11
  create3
12
- } from "./state-kg06axw8.js";
12
+ } from "./location-mutation-kg06axw8.js";
13
13
  import {
14
14
  validateAnswer2,
15
15
  validateFields2
16
- } from "./state-7jc1agss.js";
16
+ } from "./location-mutation-m1sr9yce.js";
17
17
  import {
18
18
  __export
19
- } from "./state-9rqn6x4v.js";
19
+ } from "./location-mutation-9rqn6x4v.js";
20
20
 
21
21
  // src/integration.ts
22
22
  var exports_integration = {};
@@ -30,17 +30,17 @@ __export(exports_integration, {
30
30
  CommandAttemptStatus: () => CommandAttemptStatus2,
31
31
  CommandMethod: () => CommandMethod2,
32
32
  EnvMethod: () => EnvMethod2,
33
- Event: () => Event13,
33
+ Event: () => Event11,
34
34
  ID: () => ID7,
35
- Info: () => Info20,
35
+ Info: () => Info12,
36
36
  Integration: () => exports_integration,
37
37
  KeyMethod: () => KeyMethod2,
38
38
  Method: () => Method2,
39
39
  MethodID: () => MethodID2,
40
40
  OAuthMethod: () => OAuthMethod2,
41
41
  Ref: () => Ref2,
42
- Service: () => Service63,
43
- node: () => node68
42
+ Service: () => Service60,
43
+ node: () => node64
44
44
  });
45
45
  import { makeLocationNode } from "@opencode/util/effect/app-node";
46
46
  import {
@@ -61,7 +61,7 @@ import {
61
61
  import { Integration } from "@opencode/schema/integration";
62
62
  import { AppProcess } from "@opencode/util/process";
63
63
  import { ChildProcess } from "effect/unstable/process";
64
- import { Event as Event13 } from "@opencode/schema/integration";
64
+ import { Event as Event11 } from "@opencode/schema/integration";
65
65
  var ID7 = Integration.ID;
66
66
  var MethodID2 = Integration.MethodID;
67
67
  var AttemptID2 = Integration.AttemptID;
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
70
70
  var KeyMethod2 = Integration.KeyMethod;
71
71
  var EnvMethod2 = Integration.EnvMethod;
72
72
  var Method2 = Integration.Method;
73
- var Info20 = Integration.Info;
73
+ var Info12 = Integration.Info;
74
74
  var Attempt2 = Integration.Attempt;
75
75
  var AttemptStatus2 = Integration.AttemptStatus;
76
76
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -87,13 +87,13 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
87
87
  }
88
88
  var Ref2 = Integration.Ref;
89
89
 
90
- class Service63 extends Context.Service()("@opencode/Integration") {
90
+ class Service60 extends Context.Service()("@opencode/Integration") {
91
91
  }
92
92
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
93
93
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
94
94
  var scrubInterval = Duration.seconds(30);
95
- var layer = Layer.effect(Service63, Effect.gen(function* () {
96
- const credentials = yield* Service64;
95
+ var layer = Layer.effect(Service60, Effect.gen(function* () {
96
+ const credentials = yield* Service65;
97
97
  const bus = yield* Service79;
98
98
  const processes = yield* AppProcess.Service;
99
99
  const scope = yield* Scope.Scope;
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
187
187
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
188
188
  return [...credentials, ...env];
189
189
  };
190
- const project = (entry, connections) => Info20.make({
190
+ const project = (entry, connections) => Info12.make({
191
191
  id: entry.ref.id,
192
192
  name: entry.ref.name,
193
193
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
417
417
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
418
418
  return CommandAttempt2.make({ attemptID, time });
419
419
  });
420
- return Service63.of({
420
+ return Service60.of({
421
421
  transform: state.transform,
422
422
  reload: state.reload,
423
423
  get: Effect.fn("Integration.get")(function* (id) {
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
565
565
  }
566
566
  });
567
567
  }));
568
- var node68 = makeLocationNode({
569
- service: Service63,
568
+ var node64 = makeLocationNode({
569
+ service: Service60,
570
570
  layer,
571
571
  deps: [node69, node84, AppProcess.node]
572
572
  });
573
573
 
574
- export { ID7, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info20, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service63, node68, exports_integration, Event13 };
574
+ export { ID7, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info12, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service60, node64, exports_integration, Event11 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  absoluteColumn2,
3
3
  absoluteArrayColumn2
4
- } from "./state-6msgmcgs.js";
4
+ } from "./location-mutation-6msgmcgs.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./state-qfa1cgps.js";
7
+ } from "./location-mutation-qfa1cgps.js";
8
8
 
9
9
  // src/project/sql.ts
10
10
  import { isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -2,37 +2,37 @@ import {
2
2
  ephemeral2,
3
3
  Service79,
4
4
  node84
5
- } from "./state-crehqsnt.js";
5
+ } from "./location-mutation-fsbgy90x.js";
6
6
  import {
7
7
  __export
8
- } from "./state-9rqn6x4v.js";
8
+ } from "./location-mutation-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/sdk.ts
11
11
  var exports_sdk = {};
12
12
  __export(exports_sdk, {
13
13
  SdkPlugins: () => exports_sdk,
14
- Service: () => Service6,
14
+ Service: () => Service7,
15
15
  Updated: () => Updated2,
16
- layer: () => layer5,
17
- node: () => node9
16
+ layer: () => layer6,
17
+ node: () => node10
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
  var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
22
22
 
23
- class Service6 extends Context.Service()("@opencode/SdkPlugins") {
23
+ class Service7 extends Context.Service()("@opencode/SdkPlugins") {
24
24
  }
25
- var layer5 = Layer.effect(Service6, Effect.gen(function* () {
25
+ var layer6 = Layer.effect(Service7, Effect.gen(function* () {
26
26
  const bus = yield* Service79;
27
27
  const plugins = new Map;
28
28
  let revision = 0;
29
- return Service6.of({
29
+ return Service7.of({
30
30
  register: (plugin) => Effect.sync(() => {
31
31
  plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
32
32
  }).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
33
33
  all: () => [...plugins.values()]
34
34
  });
35
35
  }));
36
- var node9 = makeGlobalNode({ service: Service6, layer: layer5, deps: [node84] });
36
+ var node10 = makeGlobalNode({ service: Service7, layer: layer6, deps: [node84] });
37
37
 
38
- export { Updated2, Service6, layer5, node9, exports_sdk };
38
+ export { Updated2, Service7, layer6, node10, exports_sdk };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./location-mutation-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service38,
8
+ Service: () => Service37,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node42
10
+ node: () => node41
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service38 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service37 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service38, () => {
17
+ var layer = Layer.sync(Service37, () => {
18
18
  const environments = new Map;
19
- return Service38.of({
19
+ return Service37.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service38, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node42 = makeGlobalNode({ service: Service38, layer, deps: [] });
29
+ var node41 = makeGlobalNode({ service: Service37, layer, deps: [] });
30
30
 
31
- export { Service38, node42, exports_environment };
31
+ export { Service37, node41, exports_environment };