@opencode/core 0.0.0-dev-19343 → 0.0.0-dev-19345

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 (783) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  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 +71 -71
  7. package/dist/catalog.js +81 -81
  8. package/dist/chunks/{location-mutation-vsv68ttx.js → mime-02tds00a.js} +10 -10
  9. package/dist/chunks/{location-mutation-zw7fcf2s.js → mime-088n5vnd.js} +43 -43
  10. package/dist/chunks/{location-mutation-0paq2nw3.js → mime-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{location-mutation-0q0f95c6.js → mime-0q0f95c6.js} +1 -1
  12. package/dist/chunks/{location-mutation-gyq4aabv.js → mime-0rqbdkvg.js} +20 -20
  13. package/dist/chunks/{location-mutation-bcaqsvj6.js → mime-11hdm724.js} +23 -23
  14. package/dist/chunks/{location-mutation-cay3r0qb.js → mime-11tcp5y8.js} +4 -4
  15. package/dist/chunks/{location-mutation-2mt51k4p.js → mime-133g6x3j.js} +13 -13
  16. package/dist/chunks/{location-mutation-rqzy1ewj.js → mime-168791n0.js} +1 -1
  17. package/dist/chunks/{location-mutation-c2k3x2kh.js → mime-16x2etdg.js} +9 -9
  18. package/dist/chunks/{location-mutation-e2vt25n2.js → mime-1ar9tdzh.js} +19 -19
  19. package/dist/chunks/{location-mutation-vaw4v3ea.js → mime-1ct58dhd.js} +61 -61
  20. package/dist/chunks/{location-mutation-rs95a90c.js → mime-1d81kemj.js} +20 -20
  21. package/dist/chunks/{location-mutation-1dazxqgg.js → mime-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{location-mutation-1dfhrqqs.js → mime-1dfhrqqs.js} +2 -2
  23. package/dist/chunks/{location-mutation-5r7abtjb.js → mime-1f66m63a.js} +7 -7
  24. package/dist/chunks/{location-mutation-qq97xfyz.js → mime-1mj9jbws.js} +6 -6
  25. package/dist/chunks/{location-mutation-21r38tys.js → mime-21r38tys.js} +1 -1
  26. package/dist/chunks/{location-mutation-6h73sxmp.js → mime-2402vzrj.js} +5 -5
  27. package/dist/chunks/{location-mutation-ae9b13mv.js → mime-243y984z.js} +12 -12
  28. package/dist/chunks/{location-mutation-2a5m3afh.js → mime-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{location-mutation-9xtkkd11.js → mime-2g95xqej.js} +4 -4
  30. package/dist/chunks/{location-mutation-844ef7ks.js → mime-2hyh68ab.js} +8 -8
  31. package/dist/chunks/{location-mutation-6jn5f8v1.js → mime-2m09jy5t.js} +43 -43
  32. package/dist/chunks/{location-mutation-r1vajnqg.js → mime-33ca5pxe.js} +13 -13
  33. package/dist/chunks/{location-mutation-3w0fmcng.js → mime-37s12vcn.js} +5 -5
  34. package/dist/chunks/{location-mutation-8r15tr8a.js → mime-3af28565.js} +10 -10
  35. package/dist/chunks/{location-mutation-gdvy8fx6.js → mime-3fc6dm20.js} +4 -4
  36. package/dist/chunks/{location-mutation-8g5sjpkg.js → mime-3h1dh17g.js} +23 -23
  37. package/dist/chunks/{location-mutation-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{location-mutation-3dqftnvs.js → mime-3hestq8p.js} +1 -1
  39. package/dist/chunks/{location-mutation-ras7gexc.js → mime-3kwvdx6y.js} +5 -5
  40. package/dist/chunks/{location-mutation-g47vrvhs.js → mime-3qzfbvdy.js} +14 -14
  41. package/dist/chunks/{location-mutation-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{location-mutation-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{location-mutation-4ah5m7dw.js → mime-438cv0y9.js} +6 -6
  44. package/dist/chunks/{location-mutation-kvb4wp4j.js → mime-43np8af1.js} +10 -10
  45. package/dist/chunks/{location-mutation-9sbv9g2h.js → mime-456rmk1m.js} +11 -11
  46. package/dist/chunks/{location-mutation-ssb1z7k2.js → mime-47wgbh1b.js} +5 -5
  47. package/dist/chunks/{location-mutation-m86bx8pg.js → mime-4ccjrj4w.js} +4 -4
  48. package/dist/chunks/{location-mutation-d9fmyqsb.js → mime-4pxh79v4.js} +4 -4
  49. package/dist/chunks/{location-mutation-nws43tmt.js → mime-4szvz0dy.js} +24 -24
  50. package/dist/chunks/{location-mutation-mc2qpn0s.js → mime-4yvhae7v.js} +20 -20
  51. package/dist/chunks/{location-mutation-dv6dc4x6.js → mime-5080dy1a.js} +8 -8
  52. package/dist/chunks/{location-mutation-ezq2qp9g.js → mime-55bk8pm9.js} +11 -11
  53. package/dist/chunks/{location-mutation-56gdpj1q.js → mime-56gdpj1q.js} +2 -2
  54. package/dist/chunks/{location-mutation-8daqk3xn.js → mime-56wgdq5b.js} +29 -29
  55. package/dist/chunks/{location-mutation-95nc2sbg.js → mime-57fqtxcw.js} +9 -9
  56. package/dist/chunks/{location-mutation-5daktx2q.js → mime-5daktx2q.js} +1 -1
  57. package/dist/chunks/{location-mutation-7bdqbdfj.js → mime-5gyfktnb.js} +3 -3
  58. package/dist/chunks/{location-mutation-q316qzt7.js → mime-5hxsjejd.js} +14 -14
  59. package/dist/chunks/{location-mutation-385yzhyd.js → mime-5kvnsejc.js} +17 -17
  60. package/dist/chunks/{location-mutation-5t3nmthw.js → mime-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{location-mutation-r58s3aqr.js → mime-5txbv38z.js} +5 -5
  62. package/dist/chunks/{location-mutation-ww7tzrk1.js → mime-64z8dyvg.js} +31 -31
  63. package/dist/chunks/{location-mutation-669tq793.js → mime-669tq793.js} +1 -1
  64. package/dist/chunks/{location-mutation-76dehvxn.js → mime-69pxdd4k.js} +8 -8
  65. package/dist/chunks/{location-mutation-r8dsc003.js → mime-6aswj5x9.js} +20 -20
  66. package/dist/chunks/mime-6kdq0pjd.js +4 -0
  67. package/dist/chunks/{location-mutation-6msgmcgs.js → mime-6msgmcgs.js} +1 -1
  68. package/dist/chunks/{location-mutation-dw3vbsxg.js → mime-6w0bcxbh.js} +32 -32
  69. package/dist/chunks/{location-mutation-71q4at8m.js → mime-71q4at8m.js} +1 -1
  70. package/dist/chunks/{location-mutation-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{location-mutation-wbmrxx9p.js → mime-7gp47pj0.js} +161 -161
  72. package/dist/chunks/{location-mutation-4yqnhzhd.js → mime-7jxaeb6r.js} +4 -4
  73. package/dist/chunks/{location-mutation-watqcrva.js → mime-7sgansy8.js} +2 -2
  74. package/dist/chunks/{location-mutation-mf4542vt.js → mime-7zzvg2d9.js} +23 -23
  75. package/dist/chunks/{location-mutation-9pv0dm11.js → mime-81swgkk7.js} +9 -9
  76. package/dist/chunks/{location-mutation-w53767ff.js → mime-82eqrsw3.js} +11 -11
  77. package/dist/chunks/{location-mutation-s1a57xgp.js → mime-8489kzp1.js} +1 -1
  78. package/dist/chunks/{location-mutation-wsrtz5x5.js → mime-85z7b11m.js} +25 -25
  79. package/dist/chunks/{location-mutation-yjrvv3jh.js → mime-88xad3v8.js} +9 -9
  80. package/dist/chunks/{location-mutation-8d7r5vzw.js → mime-8d7r5vzw.js} +1 -1
  81. package/dist/chunks/{location-mutation-8p4f9s12.js → mime-8p4f9s12.js} +2 -2
  82. package/dist/chunks/{location-mutation-9edcvf27.js → mime-8pccszvy.js} +3 -3
  83. package/dist/chunks/{location-mutation-6bsje7ws.js → mime-8q7cq0y1.js} +3 -3
  84. package/dist/chunks/{location-mutation-9237j28x.js → mime-8t2b84nn.js} +5 -5
  85. package/dist/chunks/{location-mutation-a9yybgxj.js → mime-93xhsgw0.js} +17 -17
  86. package/dist/chunks/{location-mutation-jnehgznh.js → mime-9c26h465.js} +29 -29
  87. package/dist/chunks/{location-mutation-78x7f3ty.js → mime-9cpary1r.js} +9 -9
  88. package/dist/chunks/{location-mutation-sz3a6x34.js → mime-9ftth5vm.js} +28 -28
  89. package/dist/chunks/{location-mutation-zm47b27w.js → mime-9g4m8n77.js} +20 -20
  90. package/dist/chunks/{location-mutation-3dtz0ed4.js → mime-9mwfxnzp.js} +6 -6
  91. package/dist/chunks/{location-mutation-178rcfj9.js → mime-a0t51jnz.js} +16 -16
  92. package/dist/chunks/{location-mutation-a1bz86dw.js → mime-a1bz86dw.js} +3 -3
  93. package/dist/chunks/{location-mutation-w6x96kp1.js → mime-a4xkxa28.js} +4 -4
  94. package/dist/chunks/{location-mutation-zycm96ct.js → mime-a5e04ee8.js} +2 -2
  95. package/dist/chunks/{location-mutation-aaet6srn.js → mime-aaet6srn.js} +2 -2
  96. package/dist/chunks/{location-mutation-5nxfjrr3.js → mime-agxarav8.js} +15 -15
  97. package/dist/chunks/{location-mutation-zr8vjmmw.js → mime-ah8nfyxn.js} +5 -5
  98. package/dist/chunks/{location-mutation-3w5dy25f.js → mime-anhgbzpg.js} +44 -44
  99. package/dist/chunks/{location-mutation-7qc321h1.js → mime-b08twemt.js} +20 -20
  100. package/dist/chunks/{location-mutation-b6gygkdw.js → mime-b6gygkdw.js} +2 -2
  101. package/dist/chunks/{location-mutation-cq37gk0t.js → mime-bajakh74.js} +4 -4
  102. package/dist/chunks/{location-mutation-9ps2pggw.js → mime-bc9737rz.js} +6 -6
  103. package/dist/chunks/{location-mutation-76h67nm5.js → mime-bez6jkeq.js} +10 -10
  104. package/dist/chunks/{location-mutation-g1ryce64.js → mime-bmkkgyyb.js} +9 -9
  105. package/dist/chunks/{location-mutation-j5208yae.js → mime-bscb95cy.js} +4 -4
  106. package/dist/chunks/{location-mutation-tw9m5efe.js → mime-c22rd54z.js} +8 -8
  107. package/dist/chunks/{location-mutation-29qpr4zm.js → mime-c4thz8m2.js} +15 -15
  108. package/dist/chunks/{location-mutation-tm7zr4pr.js → mime-c5gn303e.js} +4 -4
  109. package/dist/chunks/{location-mutation-9epaz3x0.js → mime-c6k6mpeh.js} +7 -7
  110. package/dist/chunks/{location-mutation-z6mfc8hp.js → mime-c82tz0n6.js} +27 -27
  111. package/dist/chunks/{location-mutation-9fmb6jsc.js → mime-c8b5nr3q.js} +11 -11
  112. package/dist/chunks/{location-mutation-090d9x51.js → mime-cejv791v.js} +26 -26
  113. package/dist/chunks/{location-mutation-cfpkc3c9.js → mime-cfpkc3c9.js} +2 -2
  114. package/dist/chunks/{location-mutation-mx1dcdcs.js → mime-ck0ctze1.js} +54 -54
  115. package/dist/chunks/{location-mutation-p22jdjzb.js → mime-ck2hnzkb.js} +11 -11
  116. package/dist/chunks/{location-mutation-27eq3hnx.js → mime-ck2vragq.js} +8 -8
  117. package/dist/chunks/{location-mutation-fvanntqq.js → mime-cpy6gm2a.js} +4 -4
  118. package/dist/chunks/{location-mutation-fqpps30f.js → mime-csa3t7pa.js} +9 -9
  119. package/dist/chunks/{location-mutation-pwjmm335.js → mime-ct2c37mg.js} +24 -24
  120. package/dist/chunks/{location-mutation-y7h51c3z.js → mime-cwhjh763.js} +34 -34
  121. package/dist/chunks/{location-mutation-qpp7njgw.js → mime-cx8y2bn6.js} +27 -27
  122. package/dist/chunks/{location-mutation-sjygwc2a.js → mime-d88yrek2.js} +32 -32
  123. package/dist/chunks/{location-mutation-4ggq81fe.js → mime-d89wb828.js} +6 -6
  124. package/dist/chunks/{location-mutation-zycx2ktx.js → mime-daa3vrdn.js} +12 -12
  125. package/dist/chunks/{location-mutation-b2yhkeqr.js → mime-dc7knmg2.js} +11 -11
  126. package/dist/chunks/{location-mutation-ymp004yg.js → mime-dc9gsvve.js} +5 -5
  127. package/dist/chunks/{location-mutation-gsqtb8jw.js → mime-dh23jx6d.js} +11 -11
  128. package/dist/chunks/{location-mutation-r2qzv5a7.js → mime-djwmzzhk.js} +6 -6
  129. package/dist/chunks/{location-mutation-n0sspdwz.js → mime-dvsy9eq6.js} +6 -6
  130. package/dist/chunks/{location-mutation-1317kfkp.js → mime-dw9etqnp.js} +32 -32
  131. package/dist/chunks/{location-mutation-dsxqmp7c.js → mime-dykcbgv3.js} +80 -80
  132. package/dist/chunks/{location-mutation-p5nxgrb7.js → mime-e4kseffw.js} +17 -17
  133. package/dist/chunks/{location-mutation-545xcy3v.js → mime-e575995y.js} +18 -18
  134. package/dist/chunks/{location-mutation-crjd20w0.js → mime-e5s1yzpb.js} +28 -28
  135. package/dist/chunks/mime-ec32znm2.js +462 -0
  136. package/dist/chunks/{location-mutation-6n88yxkj.js → mime-ep6z9mt6.js} +8 -8
  137. package/dist/chunks/{location-mutation-2bt6bea8.js → mime-es1gkq3r.js} +9 -9
  138. package/dist/chunks/{location-mutation-etq0c3wd.js → mime-etq0c3wd.js} +1 -1
  139. package/dist/chunks/{location-mutation-q52tmxvy.js → mime-ezj79k2w.js} +15 -15
  140. package/dist/chunks/{location-mutation-3dq4f3ya.js → mime-f4d9fb2p.js} +3 -3
  141. package/dist/chunks/{location-mutation-f828m53h.js → mime-f828m53h.js} +2 -2
  142. package/dist/chunks/{location-mutation-k0pv4tct.js → mime-ffgb433v.js} +14 -14
  143. package/dist/chunks/{location-mutation-drdaqm2t.js → mime-fjfzy0ft.js} +11 -11
  144. package/dist/chunks/{location-mutation-135pcv3x.js → mime-fstm3t6m.js} +25 -25
  145. package/dist/chunks/{location-mutation-fxbjtjnd.js → mime-fxbjtjnd.js} +1 -1
  146. package/dist/chunks/{location-mutation-fpqwst5z.js → mime-fxm6czzg.js} +27 -27
  147. package/dist/chunks/{location-mutation-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
  148. package/dist/chunks/{location-mutation-0g18c8jp.js → mime-gqv90n74.js} +10 -10
  149. package/dist/chunks/{location-mutation-0e7nvs8b.js → mime-grkb1es6.js} +28 -28
  150. package/dist/chunks/{location-mutation-awpbsmrw.js → mime-gtkzr06a.js} +7 -7
  151. package/dist/chunks/{location-mutation-gv6a8nnw.js → mime-gv6a8nnw.js} +2 -2
  152. package/dist/chunks/{location-mutation-h03wrkyp.js → mime-h03wrkyp.js} +2 -2
  153. package/dist/chunks/{location-mutation-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
  154. package/dist/chunks/{location-mutation-47gsdddb.js → mime-hjt4xg1x.js} +7 -7
  155. package/dist/chunks/{location-mutation-e6k7hz6j.js → mime-hpajbe9q.js} +28 -28
  156. package/dist/chunks/{location-mutation-ycvksfe9.js → mime-htjbf50c.js} +26 -26
  157. package/dist/chunks/{location-mutation-hm2ejha3.js → mime-hvtrc2sr.js} +13 -13
  158. package/dist/chunks/{location-mutation-s6pp54ct.js → mime-j068kma8.js} +11 -11
  159. package/dist/chunks/{location-mutation-9197vs9x.js → mime-j0avgrhm.js} +31 -31
  160. package/dist/chunks/{location-mutation-6t52233q.js → mime-j1nc1ypa.js} +25 -25
  161. package/dist/chunks/{location-mutation-j56e64zr.js → mime-j56e64zr.js} +1 -1
  162. package/dist/chunks/{location-mutation-j3nra4g0.js → mime-j5k41gmt.js} +18 -18
  163. package/dist/chunks/{location-mutation-vb6hmp0d.js → mime-jdv50zsr.js} +7 -7
  164. package/dist/chunks/{location-mutation-510m7gjw.js → mime-jv01nqvq.js} +5 -5
  165. package/dist/chunks/{location-mutation-2jgd78gq.js → mime-jv7gg9s4.js} +83 -83
  166. package/dist/chunks/{location-mutation-b8b3f19r.js → mime-jwx4y25k.js} +9 -9
  167. package/dist/chunks/{location-mutation-qqmmwjzc.js → mime-jxhkeq1z.js} +7 -7
  168. package/dist/chunks/{location-mutation-byvcghq4.js → mime-jyag7kpd.js} +19 -19
  169. package/dist/chunks/{location-mutation-kg06axw8.js → mime-kg06axw8.js} +1 -1
  170. package/dist/chunks/{location-mutation-4x302fsb.js → mime-kkf18jfd.js} +29 -29
  171. package/dist/chunks/{location-mutation-mgtytz9t.js → mime-m2j1zwfr.js} +3 -3
  172. package/dist/chunks/{location-mutation-kc5hk0w3.js → mime-m6ssgqy9.js} +9 -9
  173. package/dist/chunks/{location-mutation-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
  174. package/dist/chunks/{location-mutation-k2h4r4s0.js → mime-magykp64.js} +4 -4
  175. package/dist/chunks/{location-mutation-sdnaceaw.js → mime-mh6gcjg5.js} +6 -6
  176. package/dist/chunks/{location-mutation-mkcjrzeh.js → mime-mkcjrzeh.js} +1 -1
  177. package/dist/chunks/{location-mutation-rsdf2nvv.js → mime-msq0jde0.js} +4 -4
  178. package/dist/chunks/{location-mutation-1bbkgx8g.js → mime-mvfsc1pv.js} +3 -3
  179. package/dist/chunks/{location-mutation-g196q5ga.js → mime-mxcdw21b.js} +15 -15
  180. package/dist/chunks/{location-mutation-c4r800sx.js → mime-n53003ns.js} +53 -53
  181. package/dist/chunks/{location-mutation-ts62jcg3.js → mime-n8ncag7m.js} +13 -13
  182. package/dist/chunks/mime-n95b3jav.js +18 -0
  183. package/dist/chunks/{location-mutation-6gmnnrt6.js → mime-npy0pcv6.js} +22 -22
  184. package/dist/chunks/{location-mutation-wx9wy1qm.js → mime-p33ejz0k.js} +1 -1
  185. package/dist/chunks/{location-mutation-123pna3q.js → mime-p5ttnzxg.js} +15 -15
  186. package/dist/chunks/{location-mutation-h5f79651.js → mime-p6cv4jkm.js} +11 -11
  187. package/dist/chunks/{location-mutation-v4ctacay.js → mime-peq2m4zd.js} +32 -32
  188. package/dist/chunks/{location-mutation-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
  189. package/dist/chunks/{location-mutation-pknna89w.js → mime-pknna89w.js} +1 -1
  190. package/dist/chunks/{location-mutation-vncycja5.js → mime-pmr4s4kc.js} +4 -4
  191. package/dist/chunks/{location-mutation-45796egf.js → mime-q6k0ydck.js} +1 -1
  192. package/dist/chunks/{location-mutation-6hh8tjw2.js → mime-qa3qhgw8.js} +4 -4
  193. package/dist/chunks/{location-mutation-ytf8k5yw.js → mime-qf9x3e4y.js} +46 -46
  194. package/dist/chunks/{location-mutation-nwrfcwym.js → mime-qfpdxyz6.js} +15 -15
  195. package/dist/chunks/{location-mutation-qgn6gcr1.js → mime-qgn6gcr1.js} +1 -1
  196. package/dist/chunks/mime-qj9sgvpq.js +22 -0
  197. package/dist/chunks/{location-mutation-0qdvrgkw.js → mime-qnf2z1wn.js} +31 -31
  198. package/dist/chunks/{location-mutation-qsdy395h.js → mime-qsdy395h.js} +1 -1
  199. package/dist/chunks/{location-mutation-rrmx6085.js → mime-qxk2r6jc.js} +20 -20
  200. package/dist/chunks/{location-mutation-vyjzrkx0.js → mime-r60jfj5j.js} +9 -9
  201. package/dist/chunks/{location-mutation-xq8c8dbz.js → mime-rdhh766h.js} +4 -4
  202. package/dist/chunks/{location-mutation-7gjhgsed.js → mime-rksemafj.js} +11 -11
  203. package/dist/chunks/{location-mutation-7xr0d558.js → mime-rmc6y74k.js} +41 -41
  204. package/dist/chunks/{location-mutation-rmm45jmv.js → mime-rmk2c50f.js} +5 -5
  205. package/dist/chunks/{location-mutation-4hjsykte.js → mime-rn61w89f.js} +4 -4
  206. package/dist/chunks/{location-mutation-kcm7gb9h.js → mime-rp2k1chf.js} +15 -15
  207. package/dist/chunks/{location-mutation-84t3vnx7.js → mime-rwcemz8c.js} +2 -2
  208. package/dist/chunks/{location-mutation-wmafn4dk.js → mime-ryea99zr.js} +11 -11
  209. package/dist/chunks/{location-mutation-hc5qqzdn.js → mime-s08ate44.js} +17 -17
  210. package/dist/chunks/{location-mutation-rv3dfgbk.js → mime-s1wede50.js} +31 -31
  211. package/dist/chunks/{location-mutation-d1268gaq.js → mime-s22vqpmb.js} +10 -10
  212. package/dist/chunks/{location-mutation-rnkhefmk.js → mime-s326psv9.js} +11 -11
  213. package/dist/chunks/{location-mutation-4n15vdsh.js → mime-s6dsm5hz.js} +10 -10
  214. package/dist/chunks/{location-mutation-9198tjt8.js → mime-semqf2xs.js} +12 -12
  215. package/dist/chunks/{location-mutation-rs7v9e6v.js → mime-sm5xrj98.js} +32 -32
  216. package/dist/chunks/{location-mutation-gxayccxh.js → mime-smx0h7mz.js} +18 -18
  217. package/dist/chunks/{location-mutation-42m4w0gd.js → mime-sqnwhwkn.js} +7 -7
  218. package/dist/chunks/{location-mutation-4w92ht60.js → mime-sqxedksp.js} +14 -14
  219. package/dist/chunks/mime-sth3c461.js +247 -0
  220. package/dist/chunks/{location-mutation-xjxyt9bq.js → mime-svjx41xm.js} +30 -30
  221. package/dist/chunks/{location-mutation-js0rm7nb.js → mime-t0d6gkvd.js} +8 -8
  222. package/dist/chunks/{location-mutation-kksf6wrm.js → mime-t0tjasbx.js} +3 -3
  223. package/dist/chunks/{location-mutation-t0x5rdq8.js → mime-t0x5rdq8.js} +2 -2
  224. package/dist/chunks/{location-mutation-rhjbct0v.js → mime-t550f9t1.js} +4 -4
  225. package/dist/chunks/{location-mutation-pxf12as1.js → mime-t8h1d4xm.js} +4 -4
  226. package/dist/chunks/{location-mutation-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
  227. package/dist/chunks/{location-mutation-tcezcvh9.js → mime-tcezcvh9.js} +1 -1
  228. package/dist/chunks/{location-mutation-tdstcens.js → mime-tdstcens.js} +1 -1
  229. package/dist/chunks/{location-mutation-7adcerzg.js → mime-te7pedy9.js} +34 -34
  230. package/dist/chunks/{location-mutation-4vm7bp65.js → mime-trnjn3sg.js} +20 -20
  231. package/dist/chunks/{location-mutation-n9v9edgr.js → mime-ts2eqmrv.js} +23 -23
  232. package/dist/chunks/{location-mutation-tvtrv512.js → mime-tvtrv512.js} +1 -1
  233. package/dist/chunks/{location-mutation-2dchnhcv.js → mime-tye6f8h2.js} +1 -1
  234. package/dist/chunks/{location-mutation-nq9qg1fa.js → mime-v4nx8rhf.js} +8 -8
  235. package/dist/chunks/{location-mutation-xhqkdcr0.js → mime-v52wsnkd.js} +2 -2
  236. package/dist/chunks/{location-mutation-h42j1xnf.js → mime-v7jve9ab.js} +40 -40
  237. package/dist/chunks/{location-mutation-nxcn73z5.js → mime-v98pcphq.js} +6 -6
  238. package/dist/chunks/{location-mutation-ghk9cxjs.js → mime-ve6nm2s5.js} +6 -6
  239. package/dist/chunks/{location-mutation-veqvce7d.js → mime-veqvce7d.js} +1 -1
  240. package/dist/chunks/{location-mutation-f2gse5fy.js → mime-vfnexndp.js} +6 -6
  241. package/dist/chunks/{location-mutation-6pzk0tbd.js → mime-vjcjk6v2.js} +16 -16
  242. package/dist/chunks/{location-mutation-4ymkhcds.js → mime-vjm50dby.js} +20 -20
  243. package/dist/chunks/{location-mutation-my9h9hzg.js → mime-vr7gxye5.js} +15 -15
  244. package/dist/chunks/{location-mutation-d9mnrx7s.js → mime-vtb9d41w.js} +12 -12
  245. package/dist/chunks/{location-mutation-vzcthcp8.js → mime-vzcthcp8.js} +1 -1
  246. package/dist/chunks/{location-mutation-t3w9f47z.js → mime-w3hg1by5.js} +1 -1
  247. package/dist/chunks/{location-mutation-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{location-mutation-yw151kp9.js → mime-w7zdnn3n.js} +16 -16
  249. package/dist/chunks/{location-mutation-hr5bc81f.js → mime-was7srj9.js} +8 -8
  250. package/dist/chunks/{location-mutation-wd87259q.js → mime-wd87259q.js} +1 -1
  251. package/dist/chunks/{location-mutation-v71xcev7.js → mime-ww3j1jeh.js} +1 -1
  252. package/dist/chunks/{location-mutation-jt7ywd0b.js → mime-x0c1a7xp.js} +11 -11
  253. package/dist/chunks/{location-mutation-x1ezjp6w.js → mime-x1ezjp6w.js} +1 -1
  254. package/dist/chunks/{location-mutation-x43y2vfs.js → mime-x43y2vfs.js} +2 -2
  255. package/dist/chunks/{location-mutation-481njsdn.js → mime-x8gz1y8e.js} +8 -8
  256. package/dist/chunks/{location-mutation-080yxg7k.js → mime-xbar29gt.js} +13 -13
  257. package/dist/chunks/{location-mutation-rtqz3zzf.js → mime-xbmh9apa.js} +19 -19
  258. package/dist/chunks/{location-mutation-r12caqqb.js → mime-xeejjgkv.js} +11 -11
  259. package/dist/chunks/{location-mutation-q2wkz0b5.js → mime-xngzz0fa.js} +19 -19
  260. package/dist/chunks/{location-mutation-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
  261. package/dist/chunks/{location-mutation-3kk8mamv.js → mime-y400rwxv.js} +36 -36
  262. package/dist/chunks/{location-mutation-dpkg50ah.js → mime-y71avatq.js} +4 -4
  263. package/dist/chunks/{location-mutation-y8p3zjbc.js → mime-y8p3zjbc.js} +1 -1
  264. package/dist/chunks/{location-mutation-egkp1q9v.js → mime-yf4ks7mc.js} +5 -5
  265. package/dist/chunks/{location-mutation-8nv6ekx5.js → mime-yp11bte6.js} +5 -5
  266. package/dist/chunks/{location-mutation-1acjjqhc.js → mime-yp2x3t23.js} +4 -4
  267. package/dist/chunks/{location-mutation-sggvzg7x.js → mime-yr7ny2fv.js} +23 -23
  268. package/dist/chunks/{location-mutation-yrhqyw5v.js → mime-yrhqyw5v.js} +1 -1
  269. package/dist/chunks/{location-mutation-yrznvahk.js → mime-yrznvahk.js} +2 -2
  270. package/dist/chunks/{location-mutation-hkfg6fzm.js → mime-yt0fqk68.js} +5 -5
  271. package/dist/chunks/{location-mutation-dh1thg5k.js → mime-z01wqcwa.js} +3 -3
  272. package/dist/chunks/{location-mutation-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
  273. package/dist/chunks/{location-mutation-qpv0by5y.js → mime-z2p70en7.js} +28 -28
  274. package/dist/chunks/{location-mutation-z63w68vq.js → mime-z63w68vq.js} +2 -2
  275. package/dist/chunks/{location-mutation-ttt2pthn.js → mime-z6gx8zfr.js} +40 -40
  276. package/dist/chunks/{location-mutation-ngjzpzgr.js → mime-zc93s7ce.js} +8 -8
  277. package/dist/chunks/{location-mutation-tz4n1mmd.js → mime-zcrspsvn.js} +4 -4
  278. package/dist/chunks/{location-mutation-6m887wqr.js → mime-zdcf82tg.js} +49 -49
  279. package/dist/chunks/{location-mutation-bzx022j9.js → mime-zds8cgrm.js} +24 -24
  280. package/dist/chunks/{location-mutation-zeh9ct20.js → mime-zeh9ct20.js} +2 -2
  281. package/dist/chunks/{location-mutation-y3gn6rnp.js → mime-zejhr07q.js} +41 -41
  282. package/dist/chunks/{location-mutation-h6nsps6f.js → mime-zerdtc7d.js} +4 -4
  283. package/dist/chunks/{location-mutation-mkzzj3z7.js → mime-zf35384k.js} +29 -29
  284. package/dist/chunks/{location-mutation-4wmmbnna.js → mime-zpsd46jx.js} +24 -24
  285. package/dist/chunks/{location-mutation-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{location-mutation-xfagbf0j.js → mime-zspysg16.js} +14 -14
  287. package/dist/chunks/{location-mutation-b6ynejew.js → mime-zvk2568b.js} +22 -22
  288. package/dist/chunks/{location-mutation-zxq2ej10.js → mime-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +3 -3
  290. package/dist/codemode/instructions.js +9 -9
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +79 -79
  293. package/dist/config/discovery.js +77 -77
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +19 -19
  296. package/dist/config/plugin/agent.js +115 -115
  297. package/dist/config/plugin/command.js +207 -207
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +115 -115
  302. package/dist/config/plugin/instruction.js +85 -85
  303. package/dist/config/plugin/location-watcher.js +117 -117
  304. package/dist/config/plugin/mcp.js +124 -124
  305. package/dist/config/plugin/policy.js +114 -114
  306. package/dist/config/plugin/provider.js +113 -113
  307. package/dist/config/plugin/reference.js +117 -117
  308. package/dist/config/plugin/shell.js +118 -118
  309. package/dist/config/plugin/skill-file.js +97 -97
  310. package/dist/config/plugin/skill.js +136 -136
  311. package/dist/config/plugin/snapshot.js +115 -115
  312. package/dist/config/plugin/source.js +115 -115
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +115 -115
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +117 -117
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +81 -81
  321. package/dist/database/database.js +64 -64
  322. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +15 -15
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +16 -16
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration.gen.js +47 -47
  385. package/dist/database/migration.js +49 -49
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +74 -74
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +362 -362
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +84 -84
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +86 -86
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +72 -72
  409. package/dist/file-access.js +99 -99
  410. package/dist/file-mutation.js +89 -89
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +2 -2
  419. package/dist/filesystem/location-watcher.js +222 -222
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +89 -89
  422. package/dist/filesystem/watcher-binding.js +1 -1
  423. package/dist/filesystem/watcher.js +13 -13
  424. package/dist/filesystem.js +92 -92
  425. package/dist/form.js +84 -84
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +82 -82
  428. package/dist/generate.js +91 -91
  429. package/dist/git.js +3 -3
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +7 -7
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +353 -353
  454. package/dist/instruction-discovery.js +83 -83
  455. package/dist/instructions/builtins.js +80 -80
  456. package/dist/instructions/index.js +3 -3
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +86 -86
  459. package/dist/job.js +75 -75
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +71 -71
  462. package/dist/location-activity.js +131 -131
  463. package/dist/location-mutation.js +99 -99
  464. package/dist/location-service-map.js +81 -81
  465. package/dist/location-services.js +350 -350
  466. package/dist/location.js +78 -78
  467. package/dist/mcp/client.js +86 -86
  468. package/dist/mcp/index.js +105 -105
  469. package/dist/mcp/instructions.js +122 -122
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +85 -85
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +7 -7
  474. package/dist/model-resolver.js +86 -86
  475. package/dist/model.js +10 -10
  476. package/dist/models-dev.js +86 -86
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +80 -80
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +108 -108
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +84 -84
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +73 -73
  486. package/dist/plugin/agent.js +97 -97
  487. package/dist/plugin/command.js +94 -94
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +324 -324
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +75 -75
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +97 -97
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/anthropic.js +2 -2
  501. package/dist/plugin/provider/azure.js +118 -118
  502. package/dist/plugin/provider/cerebras.js +2 -2
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/digitalocean.js +79 -79
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +80 -80
  512. package/dist/plugin/provider/gitlab.js +3 -3
  513. package/dist/plugin/provider/google-vertex.js +2 -2
  514. package/dist/plugin/provider/kilo.js +2 -2
  515. package/dist/plugin/provider/llmgateway.js +76 -76
  516. package/dist/plugin/provider/lmstudio.js +117 -117
  517. package/dist/plugin/provider/mistral.js +2 -2
  518. package/dist/plugin/provider/modal.js +79 -79
  519. package/dist/plugin/provider/nvidia.js +2 -2
  520. package/dist/plugin/provider/ollama.js +117 -117
  521. package/dist/plugin/provider/openai-compatible.js +1 -1
  522. package/dist/plugin/provider/openai.js +78 -78
  523. package/dist/plugin/provider/opencode.js +79 -79
  524. package/dist/plugin/provider/openrouter.js +3 -3
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +76 -76
  527. package/dist/plugin/provider/sap-ai-core.js +3 -3
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  530. package/dist/plugin/provider/venice.js +2 -2
  531. package/dist/plugin/provider/vercel.js +2 -2
  532. package/dist/plugin/provider/vllm.js +115 -115
  533. package/dist/plugin/provider/xai.js +77 -77
  534. package/dist/plugin/provider/zenmux.js +2 -2
  535. package/dist/plugin/provider.js +158 -158
  536. package/dist/plugin/sdk.js +74 -74
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +131 -131
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +341 -341
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/variant.js +4 -4
  543. package/dist/plugin/vcs/git.js +80 -80
  544. package/dist/plugin/vcs/hg.js +80 -80
  545. package/dist/plugin/warming.js +112 -112
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +8 -8
  549. package/dist/plugin/websearch/mcp.js +2 -2
  550. package/dist/plugin/websearch/parallel.js +6 -6
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin.js +222 -222
  553. package/dist/project/schema.js +8 -8
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +79 -79
  556. package/dist/provider.js +5 -5
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +3 -3
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +94 -94
  561. package/dist/reference/instructions.js +84 -84
  562. package/dist/reference.js +86 -86
  563. package/dist/repository-cache.js +76 -76
  564. package/dist/repository.js +3 -3
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +91 -91
  567. package/dist/rpc.js +81 -81
  568. package/dist/schema.js +1 -1
  569. package/dist/session/command.js +72 -72
  570. package/dist/session/compaction.js +129 -129
  571. package/dist/session/context.js +147 -147
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +5 -5
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +219 -219
  576. package/dist/session/execution.js +122 -122
  577. package/dist/session/generate.js +148 -148
  578. package/dist/session/history.js +13 -13
  579. package/dist/session/inbox.js +86 -86
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +77 -77
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +92 -92
  584. package/dist/session/message-updater.js +2 -2
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +113 -113
  587. package/dist/session/model-transport.js +9 -9
  588. package/dist/session/move.js +126 -126
  589. package/dist/session/projector.js +84 -84
  590. package/dist/session/prompt.js +100 -100
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +85 -85
  593. package/dist/session/run-coordinator.js +3 -3
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +225 -225
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +86 -86
  598. package/dist/session/runner/publish-llm-event.js +3 -3
  599. package/dist/session/runner/retry.js +110 -110
  600. package/dist/session/runner/step.js +119 -119
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +167 -167
  604. package/dist/session/shell.js +131 -131
  605. package/dist/session/skill.js +98 -98
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +71 -71
  608. package/dist/session/store.js +85 -85
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +205 -205
  611. package/dist/session/system-prompt.js +5 -5
  612. package/dist/session/title.js +147 -147
  613. package/dist/session/to-session-error.js +107 -107
  614. package/dist/session/transfer.js +212 -212
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +211 -211
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +9 -9
  621. package/dist/shell.js +133 -133
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +102 -102
  624. package/dist/skill.js +107 -107
  625. package/dist/snapshot.js +86 -86
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +121 -121
  630. package/dist/tool/plugin/edit.js +115 -115
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +120 -120
  633. package/dist/tool/plugin/grep.js +116 -116
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +117 -117
  636. package/dist/tool/plugin/question.js +100 -100
  637. package/dist/tool/plugin/read.js +119 -119
  638. package/dist/tool/plugin/shell.js +212 -212
  639. package/dist/tool/plugin/skill.js +108 -108
  640. package/dist/tool/plugin/subagent.js +208 -208
  641. package/dist/tool/plugin/webfetch.js +103 -103
  642. package/dist/tool/plugin/websearch.js +109 -109
  643. package/dist/tool/plugin/write.js +117 -117
  644. package/dist/tool/read-filesystem.js +92 -92
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +6 -6
  647. package/dist/tool.js +13 -13
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +5 -5
  657. package/dist/v1/config/attachment.js +4 -4
  658. package/dist/v1/config/command.js +3 -3
  659. package/dist/v1/config/config.js +16 -16
  660. package/dist/v1/config/error.js +2 -2
  661. package/dist/v1/config/formatter.js +3 -3
  662. package/dist/v1/config/layout.js +1 -1
  663. package/dist/v1/config/lsp.js +3 -3
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +4 -4
  666. package/dist/v1/config/permission.js +3 -3
  667. package/dist/v1/config/plugin.js +1 -1
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/v1/config/server.js +2 -2
  671. package/dist/v1/config/skills.js +3 -3
  672. package/dist/v1/permission.js +1 -1
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +85 -85
  675. package/dist/websearch.js +82 -82
  676. package/dist/wellknown/plugin.js +74 -74
  677. package/dist/wellknown.js +77 -77
  678. package/dist/workspace/driver.js +1 -1
  679. package/dist/workspace/sql.js +1 -1
  680. package/dist/workspace.js +72 -72
  681. package/dist/worktree/directory.js +2 -2
  682. package/dist/worktree/git.js +5 -5
  683. package/dist/worktree/refresh.js +342 -342
  684. package/dist/worktree/sql.js +5 -5
  685. package/dist/worktree.js +87 -87
  686. package/package.json +8 -8
  687. package/dist/chunks/location-mutation-0mesazry.js +0 -4
  688. package/dist/chunks/location-mutation-0nzs2ddd.js +0 -462
  689. package/dist/chunks/location-mutation-4v7qdvcn.js +0 -18
  690. package/dist/chunks/location-mutation-8vq1702j.js +0 -22
  691. package/dist/chunks/location-mutation-hmjqf0ee.js +0 -247
  692. /package/dist/chunks/{location-mutation-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{location-mutation-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{location-mutation-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{location-mutation-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{location-mutation-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{location-mutation-2710q6r3.js → mime-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{location-mutation-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
  699. /package/dist/chunks/{location-mutation-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{location-mutation-359p4xyc.js → mime-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{location-mutation-3asan66x.js → mime-3asan66x.js} +0 -0
  702. /package/dist/chunks/{location-mutation-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{location-mutation-3w5fmr99.js → mime-3w5fmr99.js} +0 -0
  704. /package/dist/chunks/{location-mutation-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{location-mutation-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{location-mutation-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{location-mutation-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{location-mutation-53557ph1.js → mime-53557ph1.js} +0 -0
  709. /package/dist/chunks/{location-mutation-550bvhaj.js → mime-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{location-mutation-6prwharc.js → mime-6prwharc.js} +0 -0
  711. /package/dist/chunks/{location-mutation-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{location-mutation-7m9af43g.js → mime-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{location-mutation-822emrt2.js → mime-822emrt2.js} +0 -0
  714. /package/dist/chunks/{location-mutation-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
  715. /package/dist/chunks/{location-mutation-8n3pysct.js → mime-8n3pysct.js} +0 -0
  716. /package/dist/chunks/{location-mutation-922hggd3.js → mime-922hggd3.js} +0 -0
  717. /package/dist/chunks/{location-mutation-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
  718. /package/dist/chunks/{location-mutation-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
  719. /package/dist/chunks/{location-mutation-a1tpkmh4.js → mime-a1tpkmh4.js} +0 -0
  720. /package/dist/chunks/{location-mutation-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{location-mutation-af5trqkr.js → mime-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{location-mutation-afrmfg78.js → mime-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{location-mutation-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{location-mutation-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{location-mutation-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{location-mutation-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{location-mutation-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{location-mutation-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{location-mutation-d9fn303g.js → mime-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{location-mutation-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{location-mutation-dajrwvna.js → mime-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{location-mutation-dap0rakb.js → mime-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{location-mutation-df08tz66.js → mime-df08tz66.js} +0 -0
  734. /package/dist/chunks/{location-mutation-dy18nga0.js → mime-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{location-mutation-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{location-mutation-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{location-mutation-ec1grn59.js → mime-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{location-mutation-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{location-mutation-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{location-mutation-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{location-mutation-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{location-mutation-faypxj3z.js → mime-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{location-mutation-fd410y7t.js → mime-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{location-mutation-fxgpk5d8.js → mime-fxgpk5d8.js} +0 -0
  745. /package/dist/chunks/{location-mutation-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{location-mutation-g86h250q.js → mime-g86h250q.js} +0 -0
  747. /package/dist/chunks/{location-mutation-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{location-mutation-gftt206x.js → mime-gftt206x.js} +0 -0
  749. /package/dist/chunks/{location-mutation-hjbc5kem.js → mime-hjbc5kem.js} +0 -0
  750. /package/dist/chunks/{location-mutation-hk9envan.js → mime-hk9envan.js} +0 -0
  751. /package/dist/chunks/{location-mutation-hrnqkpcd.js → mime-hrnqkpcd.js} +0 -0
  752. /package/dist/chunks/{location-mutation-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{location-mutation-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{location-mutation-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{location-mutation-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{location-mutation-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{location-mutation-mp448xyj.js → mime-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{location-mutation-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{location-mutation-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{location-mutation-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{location-mutation-njntx4h6.js → mime-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{location-mutation-paphc93g.js → mime-paphc93g.js} +0 -0
  763. /package/dist/chunks/{location-mutation-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
  764. /package/dist/chunks/{location-mutation-q74kybfr.js → mime-q74kybfr.js} +0 -0
  765. /package/dist/chunks/{location-mutation-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
  766. /package/dist/chunks/{location-mutation-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
  767. /package/dist/chunks/{location-mutation-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
  768. /package/dist/chunks/{location-mutation-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
  769. /package/dist/chunks/{location-mutation-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
  770. /package/dist/chunks/{location-mutation-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
  771. /package/dist/chunks/{location-mutation-sk3qaz4a.js → mime-sk3qaz4a.js} +0 -0
  772. /package/dist/chunks/{location-mutation-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
  773. /package/dist/chunks/{location-mutation-twg0f83k.js → mime-twg0f83k.js} +0 -0
  774. /package/dist/chunks/{location-mutation-w803qqfp.js → mime-w803qqfp.js} +0 -0
  775. /package/dist/chunks/{location-mutation-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
  776. /package/dist/chunks/{location-mutation-wtztk69x.js → mime-wtztk69x.js} +0 -0
  777. /package/dist/chunks/{location-mutation-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
  778. /package/dist/chunks/{location-mutation-x61499pn.js → mime-x61499pn.js} +0 -0
  779. /package/dist/chunks/{location-mutation-y44na4kk.js → mime-y44na4kk.js} +0 -0
  780. /package/dist/chunks/{location-mutation-y8cydn3q.js → mime-y8cydn3q.js} +0 -0
  781. /package/dist/chunks/{location-mutation-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
  782. /package/dist/chunks/{location-mutation-ym463w8f.js → mime-ym463w8f.js} +0 -0
  783. /package/dist/chunks/{location-mutation-z9919s4g.js → mime-z9919s4g.js} +0 -0
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  Service75
3
- } from "./location-mutation-9237j28x.js";
3
+ } from "./mime-8t2b84nn.js";
4
4
  import {
5
5
  latest2,
6
- Service54
7
- } from "./location-mutation-y3gn6rnp.js";
6
+ Service52
7
+ } from "./mime-zejhr07q.js";
8
8
  import {
9
- Service43
10
- } from "./location-mutation-9sbv9g2h.js";
9
+ Service13
10
+ } from "./mime-456rmk1m.js";
11
11
  import {
12
- make7
13
- } from "./location-mutation-1bbkgx8g.js";
12
+ make4
13
+ } from "./mime-mvfsc1pv.js";
14
14
  import {
15
15
  observe2
16
- } from "./location-mutation-qsdy395h.js";
16
+ } from "./mime-qsdy395h.js";
17
17
  import {
18
18
  __export
19
- } from "./location-mutation-9rqn6x4v.js";
19
+ } from "./mime-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/formatter.ts
22
22
  var exports_formatter = {};
23
23
  __export(exports_formatter, {
24
24
  ConfigFormatterPlugin: () => exports_formatter,
25
- Plugin: () => Plugin25
25
+ Plugin: () => Plugin9
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
@@ -30,11 +30,11 @@ import { Global } from "@opencode/util/global";
30
30
  import { Npm } from "@opencode/util/npm";
31
31
  import { AppProcess } from "@opencode/util/process";
32
32
  import { Effect } from "effect";
33
- var Plugin25 = define({
33
+ var Plugin9 = define({
34
34
  id: "opencode.config.formatter",
35
35
  effect: Effect.fn(function* (ctx) {
36
- const config = yield* Service54;
37
- const formatter = yield* Service43;
36
+ const config = yield* Service52;
37
+ const formatter = yield* Service13;
38
38
  const fs = yield* FSUtil.Service;
39
39
  const global = yield* Global.Service;
40
40
  const location = yield* Service75;
@@ -45,7 +45,7 @@ var Plugin25 = define({
45
45
  const configured = latest2(loaded.entries, "formatter");
46
46
  if (!configured)
47
47
  return;
48
- const builtIns = make7({
48
+ const builtIns = make4({
49
49
  directory: location.directory,
50
50
  worktree: location.project.directory,
51
51
  fs,
@@ -74,4 +74,4 @@ var Plugin25 = define({
74
74
  })
75
75
  });
76
76
 
77
- export { Plugin25, exports_formatter };
77
+ export { Plugin9, exports_formatter };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  resolveNullableObjectPaths2,
3
3
  mapResultRow2
4
- } from "./location-mutation-emrn6kk6.js";
4
+ } from "./mime-emrn6kk6.js";
5
5
  import {
6
6
  SQLiteEffectDatabase2
7
- } from "./location-mutation-9epaz3x0.js";
7
+ } from "./mime-c6k6mpeh.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/session.ts
10
10
  import * as Cause from "effect/Cause";
@@ -2,17 +2,17 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./location-mutation-922hggd3.js";
5
+ } from "./mime-922hggd3.js";
6
6
  import {
7
7
  Service73,
8
8
  node77
9
- } from "./location-mutation-42m4w0gd.js";
9
+ } from "./mime-sqnwhwkn.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./location-mutation-8d7r5vzw.js";
12
+ } from "./mime-8d7r5vzw.js";
13
13
  import {
14
14
  __export
15
- } from "./location-mutation-9rqn6x4v.js";
15
+ } from "./mime-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
20
20
  Error: () => Error2,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service50,
24
- node: () => node54
23
+ Service: () => Service16,
24
+ node: () => node19
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/unstable/process";
@@ -58,12 +58,12 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service50 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service16 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
63
  var failure = (message, cause) => new Error2({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service50, Effect.gen(function* () {
66
+ var layer = Layer.effect(Service16, Effect.gen(function* () {
67
67
  const environment = yield* Service73;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
93
  return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service50.of({
95
+ return Service16.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -174,6 +174,6 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
174
174
  }))))
175
175
  });
176
176
  }));
177
- var node54 = makeLocationNode({ service: Service50, layer, deps: [node77, RipgrepBinary2.node] });
177
+ var node19 = makeLocationNode({ service: Service16, layer, deps: [node77, RipgrepBinary2.node] });
178
178
 
179
- export { Error2, InvalidPatternError2, Service50, node54, exports_ripgrep };
179
+ export { Error2, InvalidPatternError2, Service16, node19, exports_ripgrep };
@@ -1,36 +1,36 @@
1
1
  import {
2
- Service67
3
- } from "./location-mutation-mx1dcdcs.js";
2
+ Service59
3
+ } from "./mime-ck0ctze1.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./location-mutation-a1tpkmh4.js";
7
+ } from "./mime-a1tpkmh4.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./location-mutation-3v8g72cx.js";
10
+ } from "./mime-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./location-mutation-9rqn6x4v.js";
13
+ } from "./mime-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
17
17
  __export(exports_webfetch, {
18
18
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
19
- Input: () => Input4,
19
+ Input: () => Input2,
20
20
  MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin4,
22
+ Plugin: () => Plugin20,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
25
  description: () => description2,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name4
27
+ name: () => name2
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Duration, Effect, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name4 = "webfetch";
33
+ var name2 = "webfetch";
34
34
  var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
@@ -38,7 +38,7 @@ var description2 = `Fetch content from an HTTP or HTTPS URL and return it as tex
38
38
 
39
39
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
40
40
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
41
- var Input4 = Schema.Struct({
41
+ var Input2 = Schema.Struct({
42
42
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
43
43
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
44
44
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -48,7 +48,7 @@ var Input4 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input4.fields.format,
51
+ format: Input2.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin4 = {
95
+ var Plugin20 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service67;
99
+ const permission = yield* Service59;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name4,
101
+ name: name2,
102
102
  options: { codemode: false },
103
103
  description: description2,
104
- input: Input4,
104
+ input: Input2,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin4 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name4,
112
+ action: name2,
113
113
  resources: [input.url],
114
114
  save: ["*"],
115
115
  metadata: input,
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name4, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input4, Plugin4, extractTextFromHTML2, exports_webfetch };
170
+ export { name2, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input2, Plugin20, extractTextFromHTML2, exports_webfetch };
@@ -1,56 +1,56 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./location-mutation-9198tjt8.js";
2
+ Service78,
3
+ node83
4
+ } from "./mime-semqf2xs.js";
5
5
  import {
6
- parse5,
6
+ parse4,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./location-mutation-6h73sxmp.js";
11
+ } from "./mime-2402vzrj.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./location-mutation-922hggd3.js";
14
+ } from "./mime-922hggd3.js";
15
15
  import {
16
- Service40,
17
- node43
18
- } from "./location-mutation-gyq4aabv.js";
16
+ Service64,
17
+ node67
18
+ } from "./mime-0rqbdkvg.js";
19
19
  import {
20
20
  create3
21
- } from "./location-mutation-kg06axw8.js";
21
+ } from "./mime-kg06axw8.js";
22
22
  import {
23
23
  __export
24
- } from "./location-mutation-9rqn6x4v.js";
24
+ } from "./mime-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
28
28
  __export(exports_reference2, {
29
- Event: () => Event7,
29
+ Event: () => Event15,
30
30
  GitSource: () => GitSource2,
31
- Info: () => Info6,
31
+ Info: () => Info24,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service31,
35
- Source: () => Source3,
36
- node: () => node35
34
+ Service: () => Service63,
35
+ Source: () => Source5,
36
+ node: () => node66
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Context, Effect, Layer, Scope } from "effect";
40
40
  import { Reference } from "@opencode/schema/reference";
41
41
  import { Global } from "@opencode/util/global";
42
- import { Event as Event7 } from "@opencode/schema/reference";
42
+ import { Event as Event15 } from "@opencode/schema/reference";
43
43
  var LocalSource2 = Reference.LocalSource;
44
44
  var GitSource2 = Reference.GitSource;
45
- var Source3 = Reference.Source;
46
- var Info6 = Reference.Info;
45
+ var Source5 = Reference.Source;
46
+ var Info24 = Reference.Info;
47
47
 
48
- class Service31 extends Context.Service()("@opencode/Reference") {
48
+ class Service63 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service31, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service63, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
- const bus = yield* Service79;
53
- const cache = yield* Service40;
52
+ const bus = yield* Service78;
53
+ const cache = yield* Service64;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -60,8 +60,8 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
60
60
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
61
61
  };
62
62
  if (source.type === "local")
63
- return [Info6.make({ ...info, path: source.path })];
64
- const repository = parse5(source.repository);
63
+ return [Info24.make({ ...info, path: source.path })];
64
+ const repository = parse4(source.repository);
65
65
  if (!repository || !isRemote2(repository))
66
66
  return [];
67
67
  if (source.branch) {
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
72
72
  }
73
73
  }
74
74
  return [
75
- Info6.make({
75
+ Info24.make({
76
76
  ...info,
77
77
  path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
78
78
  })
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service31.of({
107
+ return Service63.of({
108
108
  transform: state.transform,
109
109
  reload: state.reload,
110
110
  list: Effect.fn("Reference.list")(function* () {
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node35 = makeLocationNode({
116
- service: Service31,
115
+ var node66 = makeLocationNode({
116
+ service: Service63,
117
117
  layer,
118
- deps: [Global.node, node84, node43]
118
+ deps: [Global.node, node83, node67]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source3, Info6, Service31, node35, exports_reference2, Event7 };
121
+ export { LocalSource2, GitSource2, Source5, Info24, Service63, node66, exports_reference2, Event15 };
@@ -1,13 +1,13 @@
1
1
  import {
2
- ID5,
2
+ ID11,
3
3
  Family2
4
- } from "./location-mutation-g47vrvhs.js";
4
+ } from "./mime-3qzfbvdy.js";
5
5
  import {
6
- Service54
7
- } from "./location-mutation-y3gn6rnp.js";
6
+ Service52
7
+ } from "./mime-zejhr07q.js";
8
8
  import {
9
9
  foldSettings2
10
- } from "./location-mutation-awpbsmrw.js";
10
+ } from "./mime-gtkzr06a.js";
11
11
 
12
12
  // src/plugin/provider/lmstudio.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
31
31
  var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
32
32
  var discovery = new Map;
33
33
  var discoveryLock = Semaphore.makeUnsafe(1);
34
- function make10(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
34
+ function make9(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
35
35
  return define({
36
36
  id: "opencode.provider.lmstudio",
37
37
  effect: Effect.fn(function* (ctx) {
38
38
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
39
- const config = yield* Service54;
39
+ const config = yield* Service52;
40
40
  const source = { current: configured(yield* config.entries(), origin) };
41
41
  const loaded = { models: [], hash: "[]" };
42
42
  yield* ctx.integration.transform((integrations) => {
@@ -63,7 +63,7 @@ function make10(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
63
63
  });
64
64
  for (const item of loaded.models) {
65
65
  catalog.model.update(providerID, item.key, (model) => {
66
- model.modelID = ID5.make(item.key);
66
+ model.modelID = ID11.make(item.key);
67
67
  model.name = item.display_name || item.key;
68
68
  model.family = item.architecture ? Family2.make(item.architecture) : undefined;
69
69
  model.capabilities = {
@@ -125,7 +125,7 @@ function make10(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
125
125
  })
126
126
  });
127
127
  }
128
- var LMStudioPlugin2 = make10();
128
+ var LMStudioPlugin2 = make9();
129
129
  function configured(entries, origin) {
130
130
  const settings = foldSettings2(entries, providerID, undefined);
131
131
  const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
@@ -142,4 +142,4 @@ function configured(entries, origin) {
142
142
  return { baseURL, apiKey, endpoint: url.toString() };
143
143
  }
144
144
 
145
- export { make10, LMStudioPlugin2 };
145
+ export { make9, LMStudioPlugin2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./location-mutation-5t3nmthw.js";
3
+ } from "./mime-5t3nmthw.js";
4
4
  import {
5
5
  __export
6
- } from "./location-mutation-9rqn6x4v.js";
6
+ } from "./mime-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service25,
11
+ Service: () => Service36,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer13,
13
+ layer: () => layer14,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node30
15
+ node: () => node41
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -31,7 +31,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
31
31
  });
32
32
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
33
33
 
34
- class Service25 extends Context.Service()("@opencode/SessionModelTransport") {
34
+ class Service36 extends Context.Service()("@opencode/SessionModelTransport") {
35
35
  }
36
36
  var transportError = (message, input) => new AIError({
37
37
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -55,7 +55,7 @@ var observationFrame = (observation) => {
55
55
  return Effect.fail(observation.error);
56
56
  };
57
57
  var observationTerminal = (observation) => observation.type !== "frame";
58
- var makeLayer2 = (connector) => Layer.effect(Service25, Effect.gen(function* () {
58
+ var makeLayer2 = (connector) => Layer.effect(Service36, Effect.gen(function* () {
59
59
  const scope = yield* Scope.Scope;
60
60
  const states = new Map;
61
61
  const state = (sessionID) => {
@@ -331,11 +331,11 @@ var makeLayer2 = (connector) => Layer.effect(Service25, Effect.gen(function* ()
331
331
  }, { discard: true });
332
332
  });
333
333
  yield* Effect.addFinalizer(() => closeAll);
334
- return Service25.of({ bind, close, closeAll });
334
+ return Service36.of({ bind, close, closeAll });
335
335
  }));
336
- var layer13 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
336
+ var layer14 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
337
337
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
338
338
  })));
339
- var node30 = makeGlobalNode({ service: Service25, layer: layer13, deps: [webSocketConstructor2] });
339
+ var node41 = makeGlobalNode({ service: Service36, layer: layer14, deps: [webSocketConstructor2] });
340
340
 
341
- export { Service25, makeLayer2, layer13, node30, exports_model_transport };
341
+ export { Service36, makeLayer2, layer14, node41, exports_model_transport };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service54
3
- } from "./location-mutation-y3gn6rnp.js";
2
+ Service52
3
+ } from "./mime-zejhr07q.js";
4
4
  import {
5
- Service28
6
- } from "./location-mutation-6m887wqr.js";
5
+ Service38
6
+ } from "./mime-zdcf82tg.js";
7
7
  import {
8
8
  __export
9
- } from "./location-mutation-9rqn6x4v.js";
9
+ } from "./mime-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
12
  var exports_mcp = {};
13
13
  __export(exports_mcp, {
14
14
  ConfigMcpPlugin: () => exports_mcp,
15
- Plugin: () => Plugin26,
15
+ Plugin: () => Plugin11,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin26 = define({
20
+ var Plugin11 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe());
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service54;
28
- const mcp = yield* Service28;
27
+ const config = yield* Service52;
28
+ const mcp = yield* Service38;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin26, register2, exports_mcp };
49
+ export { Plugin11, register2, exports_mcp };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./location-mutation-dh1thg5k.js";
4
+ } from "./mime-z01wqcwa.js";
5
5
  import {
6
6
  EventSequenceTable2,
7
7
  EventTable2
8
- } from "./location-mutation-2710q6r3.js";
8
+ } from "./mime-2710q6r3.js";
9
9
  import {
10
10
  makeUnsafe2
11
- } from "./location-mutation-dpkg50ah.js";
11
+ } from "./mime-y71avatq.js";
12
12
  import {
13
13
  __export
14
- } from "./location-mutation-9rqn6x4v.js";
14
+ } from "./mime-9rqn6x4v.js";
15
15
 
16
16
  // src/bus.ts
17
17
  var exports_bus = {};
18
18
  __export(exports_bus, {
19
19
  Bus: () => exports_bus,
20
20
  InvalidDurableEventError: () => InvalidDurableEventError2,
21
- Service: () => Service79,
21
+ Service: () => Service78,
22
22
  configured: () => configured12,
23
23
  durable: () => durable2,
24
24
  ephemeral: () => ephemeral2,
25
25
  isSynced: () => isSynced2,
26
26
  latestSequence: () => latestSequence2,
27
- node: () => node84,
27
+ node: () => node83,
28
28
  reserveSequence: () => reserveSequence2,
29
29
  versionedType: () => versionedType2
30
30
  });
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
76
76
  var isSynced2 = (item) => item.type === "log.synced";
77
77
  var isDefinition = (input) => !Array.isArray(input);
78
78
 
79
- class Service79 extends Context.Service()("@opencode/Bus") {
79
+ class Service78 extends Context.Service()("@opencode/Bus") {
80
80
  }
81
81
  function configured12(options) {
82
82
  return makeGlobalNode({
83
- service: Service79,
83
+ service: Service78,
84
84
  deps: [node85],
85
- layer: Layer.effect(Service79, Effect.gen(function* () {
85
+ layer: Layer.effect(Service78, Effect.gen(function* () {
86
86
  const { Location } = yield* Effect.promise(() => import("../location.js"));
87
87
  const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
88
88
  const pubsub = {
@@ -525,7 +525,7 @@ function configured12(options) {
525
525
  list.push((event) => projector(event));
526
526
  projectors.set(key, list);
527
527
  });
528
- return Service79.of({
528
+ return Service78.of({
529
529
  publish,
530
530
  publishAll,
531
531
  subscribe,
@@ -539,6 +539,6 @@ function configured12(options) {
539
539
  }))
540
540
  });
541
541
  }
542
- var node84 = configured12();
542
+ var node83 = configured12();
543
543
 
544
- export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service79, configured12, node84, exports_bus };
544
+ export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service78, configured12, node83, exports_bus };