@opencode/core 0.0.0-beta-19288 → 0.0.0-beta-19289

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 (778) 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 +67 -67
  7. package/dist/catalog.js +81 -81
  8. package/dist/chunks/{location-jjmq01nn.js → rpc-04b36cpa.js} +36 -36
  9. package/dist/chunks/{location-77vyn52g.js → rpc-05hyq7v6.js} +32 -32
  10. package/dist/chunks/{location-hapt17z5.js → rpc-0c1xkqdk.js} +27 -27
  11. package/dist/chunks/{location-5892jdtn.js → rpc-0h54jqbs.js} +8 -8
  12. package/dist/chunks/{location-v4p0vwen.js → rpc-0h7m7rve.js} +11 -11
  13. package/dist/chunks/{location-1dfhrqqs.js → rpc-0hpxrkyb.js} +5 -5
  14. package/dist/chunks/{location-0paq2nw3.js → rpc-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{location-0q0f95c6.js → rpc-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{location-6y8723ne.js → rpc-0q73gbaw.js} +26 -26
  17. package/dist/chunks/{location-djxjwwc9.js → rpc-15v2jbpx.js} +12 -12
  18. package/dist/chunks/{location-p8vbaxe4.js → rpc-160bp6er.js} +26 -26
  19. package/dist/chunks/{location-bgeh6wn9.js → rpc-1acwhj11.js} +20 -20
  20. package/dist/chunks/{location-1dazxqgg.js → rpc-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{location-w1k39n5e.js → rpc-1hc11dc4.js} +4 -4
  22. package/dist/chunks/{location-t45krj2e.js → rpc-1p9hnvwm.js} +9 -9
  23. package/dist/chunks/{location-1x11rq2a.js → rpc-1x11rq2a.js} +1 -1
  24. package/dist/chunks/{location-21r38tys.js → rpc-21r38tys.js} +1 -1
  25. package/dist/chunks/{location-2402vzrj.js → rpc-2402vzrj.js} +1 -1
  26. package/dist/chunks/{location-t97t2t7r.js → rpc-25yddx8d.js} +12 -12
  27. package/dist/chunks/{location-cy6spc12.js → rpc-28ysey72.js} +7 -7
  28. package/dist/chunks/{location-2a5m3afh.js → rpc-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{location-yg5x8fk4.js → rpc-2agmps7v.js} +12 -12
  30. package/dist/chunks/{location-d2412gps.js → rpc-2gzv1x1z.js} +18 -18
  31. package/dist/chunks/{location-4ycpd48q.js → rpc-2n7n6h49.js} +9 -9
  32. package/dist/chunks/{location-td52w80p.js → rpc-32ybvsf8.js} +20 -20
  33. package/dist/chunks/{location-cek2cznd.js → rpc-380vjcmd.js} +1 -1
  34. package/dist/chunks/{location-tz2p0jnc.js → rpc-392203pj.js} +41 -41
  35. package/dist/chunks/{location-3fc6dm20.js → rpc-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{location-bw60cda1.js → rpc-3g2tz5tg.js} +35 -35
  37. package/dist/chunks/{location-vqkn863g.js → rpc-3gf7mgb6.js} +18 -18
  38. package/dist/chunks/{location-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{location-eb6ejpsy.js → rpc-3p5z01cg.js} +15 -15
  40. package/dist/chunks/{location-rfnzy394.js → rpc-3q1jyqhd.js} +1 -1
  41. package/dist/chunks/{location-6cd6tdvt.js → rpc-3qdjr5ym.js} +6 -6
  42. package/dist/chunks/{location-3smtnn6g.js → rpc-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{location-3tvqynh2.js → rpc-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{location-6xkqp8dp.js → rpc-3vfpksxc.js} +8 -8
  45. package/dist/chunks/{location-jp8bt662.js → rpc-46ea3zw7.js} +20 -20
  46. package/dist/chunks/{location-9h3amn4q.js → rpc-4b6bntqd.js} +1 -1
  47. package/dist/chunks/{location-vxp3kcg3.js → rpc-4drgpw32.js} +5 -5
  48. package/dist/chunks/{location-p2fyd12k.js → rpc-4dw97hmp.js} +17 -17
  49. package/dist/chunks/{location-th0feps4.js → rpc-4hxqvqxk.js} +11 -11
  50. package/dist/chunks/{location-fzhxzx5q.js → rpc-4nfkbmq5.js} +24 -24
  51. package/dist/chunks/{location-34njjamc.js → rpc-4v4y0ay6.js} +10 -10
  52. package/dist/chunks/rpc-4ya6vrc4.js +22 -0
  53. package/dist/chunks/{location-x7728wc6.js → rpc-4zxzqmp0.js} +27 -27
  54. package/dist/chunks/{location-51e3a5p7.js → rpc-51e3a5p7.js} +2 -2
  55. package/dist/chunks/{location-9g2mmtg8.js → rpc-5a0ch1qz.js} +23 -23
  56. package/dist/chunks/{location-5daktx2q.js → rpc-5daktx2q.js} +1 -1
  57. package/dist/chunks/{location-ac0cyhm9.js → rpc-5dqwwgx5.js} +41 -41
  58. package/dist/chunks/{location-t0x5rdq8.js → rpc-5kptn8c0.js} +9 -9
  59. package/dist/chunks/{location-8pa9qqqg.js → rpc-5qta70ca.js} +18 -18
  60. package/dist/chunks/{location-nxts4mre.js → rpc-5r1r91je.js} +22 -22
  61. package/dist/chunks/{location-5t3nmthw.js → rpc-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{location-dj7v5w9k.js → rpc-5vs4yzkb.js} +4 -4
  63. package/dist/chunks/{location-hnbxh1ec.js → rpc-63bt3mag.js} +2 -2
  64. package/dist/chunks/{location-d6x20h48.js → rpc-6680k98e.js} +34 -34
  65. package/dist/chunks/{location-669tq793.js → rpc-669tq793.js} +1 -1
  66. package/dist/chunks/{location-v74jsawt.js → rpc-6dgk4twc.js} +32 -32
  67. package/dist/chunks/{location-6msgmcgs.js → rpc-6msgmcgs.js} +1 -1
  68. package/dist/chunks/{location-4m2pmvxz.js → rpc-6sth7kcr.js} +6 -6
  69. package/dist/chunks/{location-2n69zwpj.js → rpc-71hg3n7c.js} +23 -23
  70. package/dist/chunks/{location-71q4at8m.js → rpc-71q4at8m.js} +1 -1
  71. package/dist/chunks/{location-apys6pqf.js → rpc-78hqr335.js} +4 -4
  72. package/dist/chunks/{location-q26tgv94.js → rpc-7b15y959.js} +8 -8
  73. package/dist/chunks/{location-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{location-qgn6gcr1.js → rpc-7dqw4kz8.js} +5 -5
  75. package/dist/chunks/{location-6h508dp1.js → rpc-7etk2hzb.js} +16 -16
  76. package/dist/chunks/{location-24xcqkxa.js → rpc-7g61tyhv.js} +13 -13
  77. package/dist/chunks/{location-6zyexpsp.js → rpc-7mqmxrx0.js} +13 -13
  78. package/dist/chunks/{location-r6yj4sg3.js → rpc-7rvtqatg.js} +11 -11
  79. package/dist/chunks/{location-xhg80140.js → rpc-7ryxtne2.js} +20 -20
  80. package/dist/chunks/{location-3rx2nwvc.js → rpc-7ybwwvvx.js} +3 -3
  81. package/dist/chunks/{location-9jbrb7s7.js → rpc-812pdnj9.js} +17 -17
  82. package/dist/chunks/{location-x1aqk77e.js → rpc-81k39a0h.js} +3 -3
  83. package/dist/chunks/{location-rqay9ghw.js → rpc-82mbhkby.js} +22 -22
  84. package/dist/chunks/{location-3280sxnm.js → rpc-848g7kq8.js} +3 -3
  85. package/dist/chunks/{location-zb0kem16.js → rpc-86azpgyb.js} +30 -30
  86. package/dist/chunks/{location-8d7r5vzw.js → rpc-8d7r5vzw.js} +1 -1
  87. package/dist/chunks/{location-r8a1vay2.js → rpc-8eafbdk1.js} +9 -9
  88. package/dist/chunks/{location-1hfsjvjf.js → rpc-8kfkccvf.js} +19 -19
  89. package/dist/chunks/{location-p7tj0pd3.js → rpc-8kndfjmn.js} +17 -17
  90. package/dist/chunks/{location-8p4f9s12.js → rpc-8p4f9s12.js} +2 -2
  91. package/dist/chunks/{location-n2qrf0kt.js → rpc-8qexswn4.js} +43 -43
  92. package/dist/chunks/{location-6wfj5a9a.js → rpc-8rmy5ya5.js} +6 -6
  93. package/dist/chunks/{location-dc76j9wz.js → rpc-8sghyhzw.js} +8 -8
  94. package/dist/chunks/{location-w54brc8f.js → rpc-8tjfcq3e.js} +8 -8
  95. package/dist/chunks/{location-dt587sme.js → rpc-9ej4f3gs.js} +33 -33
  96. package/dist/chunks/{location-7wpt1821.js → rpc-9ezh3pre.js} +16 -16
  97. package/dist/chunks/{location-e328z05c.js → rpc-9kgmhgf7.js} +18 -18
  98. package/dist/chunks/{location-81swgkk7.js → rpc-9pv0dm11.js} +9 -9
  99. package/dist/chunks/{location-a1bz86dw.js → rpc-a1bz86dw.js} +3 -3
  100. package/dist/chunks/{location-g8d3gcyj.js → rpc-a2ew8a62.js} +7 -7
  101. package/dist/chunks/{location-nty3ym86.js → rpc-a5hqaec8.js} +5 -5
  102. package/dist/chunks/{location-g190xswt.js → rpc-a8bn8zg0.js} +4 -4
  103. package/dist/chunks/{location-gxr1dr9e.js → rpc-a8zr1srk.js} +8 -8
  104. package/dist/chunks/{location-aaet6srn.js → rpc-aaet6srn.js} +2 -2
  105. package/dist/chunks/{location-jzx475sk.js → rpc-ad8rjs1d.js} +51 -51
  106. package/dist/chunks/{location-ap0kd4ae.js → rpc-aeget6rx.js} +15 -15
  107. package/dist/chunks/{location-g72gjvtz.js → rpc-ajzgx9s2.js} +8 -8
  108. package/dist/chunks/{location-e46r4s3c.js → rpc-at0srrj9.js} +11 -11
  109. package/dist/chunks/{location-pg1rtztb.js → rpc-ave7p2tf.js} +50 -50
  110. package/dist/chunks/{location-d36y1n73.js → rpc-ay95kvxt.js} +12 -12
  111. package/dist/chunks/{location-gj6r9tb3.js → rpc-aydj3jpn.js} +8 -8
  112. package/dist/chunks/{location-4ctep4ed.js → rpc-aykm855c.js} +14 -14
  113. package/dist/chunks/{location-m43qeqsy.js → rpc-b2jx7zxs.js} +1 -1
  114. package/dist/chunks/{location-y6498y89.js → rpc-b452245p.js} +17 -17
  115. package/dist/chunks/{location-39gsfx95.js → rpc-b4jtvy14.js} +24 -24
  116. package/dist/chunks/{location-b6gygkdw.js → rpc-b6gygkdw.js} +2 -2
  117. package/dist/chunks/{location-mgcrt4av.js → rpc-bets30rh.js} +38 -38
  118. package/dist/chunks/{location-q221t5h0.js → rpc-bhm0wwej.js} +9 -9
  119. package/dist/chunks/{location-4n03wa3j.js → rpc-bnvsd47h.js} +29 -29
  120. package/dist/chunks/{location-7zmb2mwr.js → rpc-bvx334ga.js} +3 -3
  121. package/dist/chunks/{location-cfpkc3c9.js → rpc-cfpkc3c9.js} +2 -2
  122. package/dist/chunks/{location-kkedg04s.js → rpc-cknngr8n.js} +11 -11
  123. package/dist/chunks/{location-ph9kp892.js → rpc-cqyppt87.js} +5 -5
  124. package/dist/chunks/{location-07cpqq5c.js → rpc-cv3pfd1g.js} +28 -28
  125. package/dist/chunks/{location-37hegrs4.js → rpc-cy023x00.js} +13 -13
  126. package/dist/chunks/{location-5h99c1kf.js → rpc-d1gmhgze.js} +6 -6
  127. package/dist/chunks/rpc-d3edv76n.js +247 -0
  128. package/dist/chunks/{location-p72z5xx6.js → rpc-d9sn21bc.js} +2 -2
  129. package/dist/chunks/{location-9tk4atd8.js → rpc-dmky53ph.js} +15 -15
  130. package/dist/chunks/{location-1xnwpsdb.js → rpc-drf46963.js} +18 -18
  131. package/dist/chunks/{location-barpv3dv.js → rpc-dyy3hg9v.js} +28 -28
  132. package/dist/chunks/{location-xtbntpkm.js → rpc-e10pngcb.js} +7 -7
  133. package/dist/chunks/{location-afdssyjb.js → rpc-e2hjzebn.js} +4 -4
  134. package/dist/chunks/{location-3cxp5vcp.js → rpc-e6jkap1f.js} +4 -4
  135. package/dist/chunks/{location-t6dzybgg.js → rpc-efmeagt0.js} +14 -14
  136. package/dist/chunks/{location-mmx9f08p.js → rpc-ehz7tvfk.js} +40 -40
  137. package/dist/chunks/{location-81c9b8hz.js → rpc-enjqvhhk.js} +4 -4
  138. package/dist/chunks/{location-0zzhyfap.js → rpc-ermacy2g.js} +11 -11
  139. package/dist/chunks/{location-s7pvzq3g.js → rpc-escwhzbq.js} +20 -20
  140. package/dist/chunks/{location-etq0c3wd.js → rpc-etq0c3wd.js} +1 -1
  141. package/dist/chunks/{location-t0fxg8b9.js → rpc-evbgk2k8.js} +5 -5
  142. package/dist/chunks/{location-f3wm46p4.js → rpc-f1qr80xv.js} +10 -10
  143. package/dist/chunks/{location-f828m53h.js → rpc-f828m53h.js} +2 -2
  144. package/dist/chunks/{location-9k0trt10.js → rpc-fd4fwae4.js} +11 -11
  145. package/dist/chunks/{location-fxbjtjnd.js → rpc-fxbjtjnd.js} +1 -1
  146. package/dist/chunks/{location-8dr2m966.js → rpc-fypygjtf.js} +9 -9
  147. package/dist/chunks/{location-27xkhkzw.js → rpc-g0xjywn0.js} +22 -22
  148. package/dist/chunks/{location-61f9xf4r.js → rpc-ga3kzjxn.js} +5 -5
  149. package/dist/chunks/{location-a1qbdnb3.js → rpc-gaqsv9vz.js} +80 -80
  150. package/dist/chunks/{location-kqrx6mz9.js → rpc-gcbhdhgt.js} +28 -28
  151. package/dist/chunks/{location-ztj8pse5.js → rpc-gd1x23dm.js} +9 -9
  152. package/dist/chunks/{location-gd4qta3r.js → rpc-gd4qta3r.js} +1 -1
  153. package/dist/chunks/{location-6qr3rp4k.js → rpc-gkk129yf.js} +6 -6
  154. package/dist/chunks/{location-2dqf8fez.js → rpc-gpjchng5.js} +4 -4
  155. package/dist/chunks/{location-gv6a8nnw.js → rpc-gv6a8nnw.js} +2 -2
  156. package/dist/chunks/{location-h03wrkyp.js → rpc-h03wrkyp.js} +2 -2
  157. package/dist/chunks/{location-yzcb4rs3.js → rpc-h0ddxr27.js} +7 -7
  158. package/dist/chunks/{location-q636n16a.js → rpc-h196em3s.js} +44 -44
  159. package/dist/chunks/{location-kkcepbrv.js → rpc-h1n238ac.js} +4 -4
  160. package/dist/chunks/{location-3v0ddjaj.js → rpc-h2t2tw2n.js} +8 -8
  161. package/dist/chunks/{location-h6vf3j39.js → rpc-h6vf3j39.js} +1 -1
  162. package/dist/chunks/{location-nzwad44m.js → rpc-h8f3xwjj.js} +296 -296
  163. package/dist/chunks/{location-59m3ejf3.js → rpc-hav6ns8c.js} +11 -11
  164. package/dist/chunks/{location-95c54xjs.js → rpc-hemec0th.js} +39 -39
  165. package/dist/chunks/{location-bha4atvq.js → rpc-hfdr1yjj.js} +4 -4
  166. package/dist/chunks/{location-2ydbzgba.js → rpc-hjhqf936.js} +4 -4
  167. package/dist/chunks/{location-h9kgsp7e.js → rpc-hn6ar8tx.js} +30 -30
  168. package/dist/chunks/{location-v3xga481.js → rpc-hpwz0gyy.js} +9 -9
  169. package/dist/chunks/{location-essgt512.js → rpc-j0ewz58p.js} +87 -87
  170. package/dist/chunks/{location-zkt8qzze.js → rpc-j36g4ek5.js} +35 -35
  171. package/dist/chunks/{location-fvz0rdtn.js → rpc-j3xb24h1.js} +12 -12
  172. package/dist/chunks/{location-dwvzh0g2.js → rpc-j5208yae.js} +6 -6
  173. package/dist/chunks/{location-j56e64zr.js → rpc-j56e64zr.js} +1 -1
  174. package/dist/chunks/{location-2f04pwep.js → rpc-j7wq2tw5.js} +3 -3
  175. package/dist/chunks/{location-xywxz97c.js → rpc-jh9q333t.js} +6 -6
  176. package/dist/chunks/{location-vma08mpn.js → rpc-jt8wkmq3.js} +16 -16
  177. package/dist/chunks/{location-7ny3kv6n.js → rpc-jtp7wgq3.js} +6 -6
  178. package/dist/chunks/{location-8t891vs4.js → rpc-jvhgncaf.js} +11 -11
  179. package/dist/chunks/{location-depwzj9d.js → rpc-jwx4y25k.js} +9 -9
  180. package/dist/chunks/{location-1kqd8z3g.js → rpc-k4ggf7wz.js} +6 -6
  181. package/dist/chunks/{location-nc3fjawf.js → rpc-kcwf74x3.js} +1 -1
  182. package/dist/chunks/{location-xwwz9aqf.js → rpc-keat3kjn.js} +4 -4
  183. package/dist/chunks/{location-kg06axw8.js → rpc-kg06axw8.js} +1 -1
  184. package/dist/chunks/{location-k1e9d5er.js → rpc-knpgx9zf.js} +13 -13
  185. package/dist/chunks/{location-r5paa9gw.js → rpc-kvvjzsre.js} +13 -13
  186. package/dist/chunks/{location-ejcg2d9c.js → rpc-kyf09390.js} +14 -14
  187. package/dist/chunks/{location-at3ax2rg.js → rpc-m2shnn4e.js} +24 -24
  188. package/dist/chunks/{location-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
  189. package/dist/chunks/{location-33w4ejhs.js → rpc-mfqp6xfm.js} +9 -9
  190. package/dist/chunks/{location-mkcjrzeh.js → rpc-mkcjrzeh.js} +1 -1
  191. package/dist/chunks/{location-mhkvc446.js → rpc-mvfsc1pv.js} +3 -3
  192. package/dist/chunks/{location-gxbbas38.js → rpc-mwaq9hpm.js} +9 -9
  193. package/dist/chunks/{location-astwgj0c.js → rpc-mzvapydn.js} +14 -14
  194. package/dist/chunks/{location-gxq3v17r.js → rpc-n8w2n8mt.js} +15 -15
  195. package/dist/chunks/{location-jefma2gq.js → rpc-nbddwgy7.js} +10 -10
  196. package/dist/chunks/{location-nvpsz6mb.js → rpc-nh2r5jdq.js} +1 -1
  197. package/dist/chunks/{location-nhy5jxhy.js → rpc-nhy5jxhy.js} +1 -1
  198. package/dist/chunks/{location-vt07bx5r.js → rpc-nngsh4zc.js} +11 -11
  199. package/dist/chunks/{location-0bzsvv4f.js → rpc-ntefk5q2.js} +8 -8
  200. package/dist/chunks/{location-d5hy5d1s.js → rpc-nzwv9chv.js} +3 -3
  201. package/dist/chunks/{location-p44d8wdy.js → rpc-p44d8wdy.js} +2 -2
  202. package/dist/chunks/{location-qgzeej5c.js → rpc-pe8twcp1.js} +8 -8
  203. package/dist/chunks/{location-pjvnvgmy.js → rpc-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{location-t2y4ag3j.js → rpc-pk8pw837.js} +17 -17
  205. package/dist/chunks/{location-pknna89w.js → rpc-pknna89w.js} +1 -1
  206. package/dist/chunks/{location-jwye7syw.js → rpc-pqd1mzxt.js} +5 -5
  207. package/dist/chunks/{location-3rran09x.js → rpc-q1c4k7jk.js} +1 -1
  208. package/dist/chunks/{location-5kw0n2ma.js → rpc-q6d53jre.js} +8 -8
  209. package/dist/chunks/{location-22zgx542.js → rpc-q98kh21b.js} +6 -6
  210. package/dist/chunks/{location-q3m96704.js → rpc-qn236mkj.js} +30 -30
  211. package/dist/chunks/{location-qsdy395h.js → rpc-qsdy395h.js} +1 -1
  212. package/dist/chunks/{location-w4arg62q.js → rpc-r33ff4dw.js} +6 -6
  213. package/dist/chunks/{location-bbd53drz.js → rpc-r4qn2xe9.js} +156 -156
  214. package/dist/chunks/{location-sx1n432n.js → rpc-r98e92ep.js} +4 -4
  215. package/dist/chunks/{location-a1z1dycg.js → rpc-rd1v4kcy.js} +23 -23
  216. package/dist/chunks/{location-r8xr0va3.js → rpc-rhraev7y.js} +4 -4
  217. package/dist/chunks/{location-wyam1r5m.js → rpc-rstnkd3y.js} +1 -1
  218. package/dist/chunks/{location-grrcjh3r.js → rpc-s0b2yntt.js} +9 -9
  219. package/dist/chunks/{location-7ny1t5fr.js → rpc-s2v4v98g.js} +21 -21
  220. package/dist/chunks/{location-eaj1djv9.js → rpc-s8d7rejh.js} +6 -6
  221. package/dist/chunks/{location-qa467n4w.js → rpc-s8rzfbyd.js} +3 -3
  222. package/dist/chunks/{location-vjv4gnc9.js → rpc-sa0a5p27.js} +24 -24
  223. package/dist/chunks/{location-bbwyhmbr.js → rpc-sf7x1fj7.js} +14 -14
  224. package/dist/chunks/{location-fw0f0qsw.js → rpc-sn0jzx2p.js} +46 -46
  225. package/dist/chunks/{location-qy2vc8de.js → rpc-st700yg7.js} +11 -11
  226. package/dist/chunks/{location-t4a9fvmm.js → rpc-sw4fypgs.js} +22 -22
  227. package/dist/chunks/{location-xpbp2ggf.js → rpc-t3de4bw4.js} +19 -19
  228. package/dist/chunks/{location-9enfn6ca.js → rpc-t4g30a11.js} +61 -61
  229. package/dist/chunks/{location-t21qt4wp.js → rpc-t4yvbv2m.js} +8 -8
  230. package/dist/chunks/{location-7zfdt07m.js → rpc-t5n4sn49.js} +10 -10
  231. package/dist/chunks/{location-xvs1sa11.js → rpc-t8r3ep1g.js} +5 -5
  232. package/dist/chunks/{location-tazgh4e4.js → rpc-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{location-tcezcvh9.js → rpc-tcezcvh9.js} +1 -1
  234. package/dist/chunks/{location-tdstcens.js → rpc-tdstcens.js} +1 -1
  235. package/dist/chunks/{location-sm589ezq.js → rpc-tf05515k.js} +30 -30
  236. package/dist/chunks/{location-tvtrv512.js → rpc-tvtrv512.js} +1 -1
  237. package/dist/chunks/{location-66sq9ze3.js → rpc-twxs2vfq.js} +20 -20
  238. package/dist/chunks/{location-av62z334.js → rpc-tz3f8yzd.js} +35 -35
  239. package/dist/chunks/{location-m3g1yjqx.js → rpc-v3a8d439.js} +9 -9
  240. package/dist/chunks/{location-02hgpx06.js → rpc-v5wzvjc3.js} +7 -7
  241. package/dist/chunks/{location-41jkd1br.js → rpc-vazxcjns.js} +27 -27
  242. package/dist/chunks/{location-gwzbkwjt.js → rpc-vczw2nmh.js} +12 -12
  243. package/dist/chunks/{location-veqvce7d.js → rpc-veqvce7d.js} +1 -1
  244. package/dist/chunks/{location-bjyyddbn.js → rpc-vj8a64wy.js} +11 -11
  245. package/dist/chunks/{location-nc09bz1g.js → rpc-vj8jh5p3.js} +26 -26
  246. package/dist/chunks/{location-0dh601sh.js → rpc-vjcp5cnv.js} +9 -9
  247. package/dist/chunks/{location-9zb490gy.js → rpc-vpzh5kyk.js} +10 -10
  248. package/dist/chunks/{location-k74qewf5.js → rpc-vwhnhdwa.js} +12 -12
  249. package/dist/chunks/{location-vzcthcp8.js → rpc-vzcthcp8.js} +1 -1
  250. package/dist/chunks/{location-2erkhkk3.js → rpc-w07mqhec.js} +33 -33
  251. package/dist/chunks/{location-k7d0894y.js → rpc-w12rp218.js} +3 -3
  252. package/dist/chunks/{location-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{location-0njzyrny.js → rpc-w7jvtf3d.js} +23 -23
  254. package/dist/chunks/{location-atdh1fr1.js → rpc-w8gexp6v.js} +30 -30
  255. package/dist/chunks/{location-yjptyezs.js → rpc-wbkyxrgf.js} +5 -5
  256. package/dist/chunks/{location-3xt2dn0n.js → rpc-wcc6gayv.js} +14 -14
  257. package/dist/chunks/{location-wd87259q.js → rpc-wd87259q.js} +1 -1
  258. package/dist/chunks/{location-dsd22mfz.js → rpc-wgktjw56.js} +3 -3
  259. package/dist/chunks/{location-x1ezjp6w.js → rpc-x1ezjp6w.js} +1 -1
  260. package/dist/chunks/{location-x43y2vfs.js → rpc-x43y2vfs.js} +2 -2
  261. package/dist/chunks/{location-2699pam8.js → rpc-x8jcsx7d.js} +29 -29
  262. package/dist/chunks/{location-gsx0ryk4.js → rpc-xekzrwwc.js} +9 -9
  263. package/dist/chunks/{location-dtyxkw1z.js → rpc-xhfcg5z5.js} +27 -27
  264. package/dist/chunks/{location-akj0j9h5.js → rpc-xp7stfgp.js} +2 -2
  265. package/dist/chunks/{location-fmxbrafm.js → rpc-xsdh20fb.js} +5 -5
  266. package/dist/chunks/{location-v75cpdd6.js → rpc-xzda1vkx.js} +15 -15
  267. package/dist/chunks/{location-y1fvbwt7.js → rpc-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{location-ydpmm19b.js → rpc-y4ze8nqa.js} +18 -18
  269. package/dist/chunks/{location-qfrw2mns.js → rpc-y53bff5k.js} +15 -15
  270. package/dist/chunks/{location-y71avatq.js → rpc-y71avatq.js} +1 -1
  271. package/dist/chunks/{location-7w1wksne.js → rpc-yk9e0cpf.js} +4 -4
  272. package/dist/chunks/{location-yrhqyw5v.js → rpc-yrhqyw5v.js} +1 -1
  273. package/dist/chunks/{location-yrznvahk.js → rpc-yrznvahk.js} +2 -2
  274. package/dist/chunks/{location-nrg6p0d7.js → rpc-z03wer5m.js} +22 -22
  275. package/dist/chunks/{location-z0bkrqjs.js → rpc-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{location-7x5129vx.js → rpc-z152v5gf.js} +15 -15
  277. package/dist/chunks/{location-z63w68vq.js → rpc-z63w68vq.js} +2 -2
  278. package/dist/chunks/{location-zeh9ct20.js → rpc-zeh9ct20.js} +2 -2
  279. package/dist/chunks/{location-x8pfpgt4.js → rpc-zej54b25.js} +9 -9
  280. package/dist/chunks/{location-xgcvvaqd.js → rpc-zfytcyng.js} +4 -4
  281. package/dist/chunks/{location-9k1y1b4w.js → rpc-zg0hmsgg.js} +6 -6
  282. package/dist/chunks/{location-zr2ceqn5.js → rpc-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{location-5dgmpcyt.js → rpc-zr9h837b.js} +20 -20
  284. package/dist/chunks/{location-0yq2vxwx.js → rpc-zvrat7w3.js} +26 -26
  285. package/dist/chunks/{location-zxq2ej10.js → rpc-zxq2ej10.js} +1 -1
  286. package/dist/chunks/{location-nmxf6tf3.js → rpc-zymgq775.js} +25 -25
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +7 -7
  289. package/dist/codemode/tool.js +2 -2
  290. package/dist/command.js +83 -83
  291. package/dist/config/discovery.js +77 -77
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +19 -19
  294. package/dist/config/plugin/agent.js +117 -117
  295. package/dist/config/plugin/command.js +209 -209
  296. package/dist/config/plugin/compaction.js +155 -155
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +115 -115
  300. package/dist/config/plugin/instruction.js +85 -85
  301. package/dist/config/plugin/location-watcher.js +115 -115
  302. package/dist/config/plugin/mcp.js +126 -126
  303. package/dist/config/plugin/policy.js +114 -114
  304. package/dist/config/plugin/provider.js +113 -113
  305. package/dist/config/plugin/reference.js +117 -117
  306. package/dist/config/plugin/shell.js +118 -118
  307. package/dist/config/plugin/skill-file.js +97 -97
  308. package/dist/config/plugin/skill.js +136 -136
  309. package/dist/config/plugin/snapshot.js +115 -115
  310. package/dist/config/plugin/source.js +117 -117
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +115 -115
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +119 -119
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +83 -83
  319. package/dist/database/database.js +64 -64
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration.gen.js +47 -47
  383. package/dist/database/migration.js +49 -49
  384. package/dist/database/path.js +2 -2
  385. package/dist/database/schema.gen.js +1 -1
  386. package/dist/database/schema.sql.js +1 -1
  387. package/dist/database/sqlite.bun.js +1 -1
  388. package/dist/database/sqlite.js +1 -1
  389. package/dist/database/sqlite.node.js +1 -1
  390. package/dist/database/sqlite.workerd.js +1 -1
  391. package/dist/database/v1-migration.bun.js +74 -74
  392. package/dist/database/v1-migration.js +1 -1
  393. package/dist/effect/app-node-builder.js +361 -361
  394. package/dist/effect/app-node-platform.js +2 -2
  395. package/dist/effect/keyed-mutex.js +1 -1
  396. package/dist/effect/websocket-constructor.js +1 -1
  397. package/dist/environment/driver.js +1 -1
  398. package/dist/environment/environment.js +88 -88
  399. package/dist/environment/exec-defaults.js +2 -2
  400. package/dist/environment/files.js +1 -1
  401. package/dist/environment/index.js +90 -90
  402. package/dist/environment/local.js +2 -2
  403. package/dist/environment/memory.js +2 -2
  404. package/dist/environment/unavailable.js +1 -1
  405. package/dist/event/sql.js +1 -1
  406. package/dist/event-logger.js +68 -68
  407. package/dist/file-access.js +99 -99
  408. package/dist/file-mutation.js +89 -89
  409. package/dist/file-retention.js +1 -1
  410. package/dist/file.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/ignore.js +1 -1
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +220 -220
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +99 -99
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +100 -100
  423. package/dist/form.js +76 -76
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +82 -82
  426. package/dist/generate.js +89 -89
  427. package/dist/git.js +7 -7
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +3 -3
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/id/id.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +4 -4
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +352 -352
  452. package/dist/instruction-discovery.js +83 -83
  453. package/dist/instructions/builtins.js +82 -82
  454. package/dist/instructions/index.js +3 -3
  455. package/dist/integration/connection.js +1 -1
  456. package/dist/integration.js +84 -84
  457. package/dist/job.js +75 -75
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +67 -67
  460. package/dist/location-activity.js +128 -128
  461. package/dist/location-mutation.js +99 -99
  462. package/dist/location-service-map.js +81 -81
  463. package/dist/location-services.js +349 -349
  464. package/dist/location.js +82 -82
  465. package/dist/mcp/client.js +86 -86
  466. package/dist/mcp/index.js +103 -103
  467. package/dist/mcp/instructions.js +120 -120
  468. package/dist/mcp/oauth.js +3 -3
  469. package/dist/mcp/stdio.js +85 -85
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +3 -3
  472. package/dist/model-resolver.js +84 -84
  473. package/dist/model.js +8 -8
  474. package/dist/models-dev.js +86 -86
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +74 -74
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +102 -102
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +84 -84
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +73 -73
  484. package/dist/plugin/agent.js +99 -99
  485. package/dist/plugin/command.js +96 -96
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +213 -213
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +323 -323
  490. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  491. package/dist/plugin/models-dev.js +75 -75
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +2 -2
  494. package/dist/plugin/plan.js +97 -97
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/alibaba.js +2 -2
  497. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  498. package/dist/plugin/provider/anthropic.js +2 -2
  499. package/dist/plugin/provider/azure.js +118 -118
  500. package/dist/plugin/provider/cerebras.js +2 -2
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +114 -114
  505. package/dist/plugin/provider/digitalocean.js +79 -79
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/gateway.js +2 -2
  509. package/dist/plugin/provider/github-copilot.js +80 -80
  510. package/dist/plugin/provider/gitlab.js +3 -3
  511. package/dist/plugin/provider/google-vertex.js +2 -2
  512. package/dist/plugin/provider/kilo.js +2 -2
  513. package/dist/plugin/provider/llmgateway.js +76 -76
  514. package/dist/plugin/provider/lmstudio.js +117 -117
  515. package/dist/plugin/provider/mistral.js +2 -2
  516. package/dist/plugin/provider/modal.js +79 -79
  517. package/dist/plugin/provider/nvidia.js +2 -2
  518. package/dist/plugin/provider/ollama.js +117 -117
  519. package/dist/plugin/provider/openai-compatible.js +1 -1
  520. package/dist/plugin/provider/openai.js +78 -78
  521. package/dist/plugin/provider/opencode.js +76 -76
  522. package/dist/plugin/provider/openrouter.js +3 -3
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/sap-ai-core.js +3 -3
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  527. package/dist/plugin/provider/venice.js +2 -2
  528. package/dist/plugin/provider/vercel.js +2 -2
  529. package/dist/plugin/provider/vllm.js +117 -117
  530. package/dist/plugin/provider/xai.js +77 -77
  531. package/dist/plugin/provider/zenmux.js +2 -2
  532. package/dist/plugin/provider.js +156 -156
  533. package/dist/plugin/sdk.js +72 -72
  534. package/dist/plugin/service.js +1 -1
  535. package/dist/plugin/skill.js +131 -131
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +342 -342
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/variant.js +4 -4
  540. package/dist/plugin/vcs/git.js +82 -82
  541. package/dist/plugin/vcs/hg.js +82 -82
  542. package/dist/plugin/warming.js +112 -112
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +8 -8
  545. package/dist/plugin/websearch/index.js +8 -8
  546. package/dist/plugin/websearch/mcp.js +6 -6
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin.js +216 -216
  550. package/dist/project/schema.js +8 -8
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +83 -83
  553. package/dist/provider.js +5 -5
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/schema.js +1 -1
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +88 -88
  558. package/dist/reference/instructions.js +84 -84
  559. package/dist/reference.js +86 -86
  560. package/dist/repository-cache.js +76 -76
  561. package/dist/repository.js +1 -1
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +93 -93
  564. package/dist/rpc.js +81 -81
  565. package/dist/schema.js +1 -1
  566. package/dist/session/command.js +72 -72
  567. package/dist/session/compaction.js +129 -129
  568. package/dist/session/context.js +147 -147
  569. package/dist/session/environment.js +5 -5
  570. package/dist/session/error.js +3 -3
  571. package/dist/session/event.js +1 -1
  572. package/dist/session/execution/restart.js +216 -216
  573. package/dist/session/execution.js +120 -120
  574. package/dist/session/generate.js +146 -146
  575. package/dist/session/history.js +13 -13
  576. package/dist/session/inbox.js +84 -84
  577. package/dist/session/info.js +3 -3
  578. package/dist/session/instruction-entry.js +77 -77
  579. package/dist/session/instruction-state.js +8 -8
  580. package/dist/session/instructions.js +92 -92
  581. package/dist/session/message-updater.js +4 -4
  582. package/dist/session/message.js +1 -1
  583. package/dist/session/model-request.js +113 -113
  584. package/dist/session/model-transport.js +9 -9
  585. package/dist/session/move.js +126 -126
  586. package/dist/session/projector.js +84 -84
  587. package/dist/session/prompt.js +100 -100
  588. package/dist/session/provider-context.js +3 -3
  589. package/dist/session/revert.js +85 -85
  590. package/dist/session/run-coordinator.js +3 -3
  591. package/dist/session/runner/index.js +3 -3
  592. package/dist/session/runner/llm.js +225 -225
  593. package/dist/session/runner/max-steps.js +1 -1
  594. package/dist/session/runner/model.js +86 -86
  595. package/dist/session/runner/publish-llm-event.js +3 -3
  596. package/dist/session/runner/retry.js +110 -110
  597. package/dist/session/runner/step.js +121 -121
  598. package/dist/session/runner/to-llm-message.js +2 -2
  599. package/dist/session/schema.js +5 -5
  600. package/dist/session/session.js +167 -167
  601. package/dist/session/shell.js +131 -131
  602. package/dist/session/skill.js +98 -98
  603. package/dist/session/sql.js +5 -5
  604. package/dist/session/stats.js +71 -71
  605. package/dist/session/store.js +85 -85
  606. package/dist/session/subagent-completion.js +1 -1
  607. package/dist/session/subagent-job.js +203 -203
  608. package/dist/session/system-prompt.js +1 -1
  609. package/dist/session/title.js +151 -151
  610. package/dist/session/to-session-error.js +107 -107
  611. package/dist/session/transfer.js +212 -212
  612. package/dist/session/usage.js +1 -1
  613. package/dist/session.js +211 -211
  614. package/dist/shell/parse.js +6 -6
  615. package/dist/shell/result.js +1 -1
  616. package/dist/shell/scan.js +1 -1
  617. package/dist/shell/select.js +11 -11
  618. package/dist/shell.js +131 -131
  619. package/dist/skill/discovery.js +6 -6
  620. package/dist/skill/instructions.js +102 -102
  621. package/dist/skill.js +105 -105
  622. package/dist/snapshot.js +86 -86
  623. package/dist/state.js +1 -1
  624. package/dist/tool/html-markdown.js +1 -1
  625. package/dist/tool/http-body.js +1 -1
  626. package/dist/tool/mcp.js +121 -121
  627. package/dist/tool/plugin/edit.js +115 -115
  628. package/dist/tool/plugin/file-diff.js +1 -1
  629. package/dist/tool/plugin/glob.js +120 -120
  630. package/dist/tool/plugin/grep.js +120 -120
  631. package/dist/tool/plugin/opencode.js +3 -3
  632. package/dist/tool/plugin/patch.js +117 -117
  633. package/dist/tool/plugin/question.js +98 -98
  634. package/dist/tool/plugin/read.js +121 -121
  635. package/dist/tool/plugin/shell.js +212 -212
  636. package/dist/tool/plugin/skill.js +102 -102
  637. package/dist/tool/plugin/subagent.js +210 -210
  638. package/dist/tool/plugin/webfetch.js +107 -107
  639. package/dist/tool/plugin/websearch.js +109 -109
  640. package/dist/tool/plugin/write.js +113 -113
  641. package/dist/tool/read-filesystem.js +96 -96
  642. package/dist/tool/runtime.js +1 -1
  643. package/dist/tool-output.js +8 -8
  644. package/dist/tool.js +15 -15
  645. package/dist/util/error-summary.js +1 -1
  646. package/dist/util/error.js +1 -1
  647. package/dist/util/iife.js +1 -1
  648. package/dist/util/lazy.js +1 -1
  649. package/dist/util/slug.js +1 -1
  650. package/dist/util/token.js +1 -1
  651. package/dist/util/which.js +1 -1
  652. package/dist/util/wildcard.js +1 -1
  653. package/dist/v1/config/agent.js +5 -5
  654. package/dist/v1/config/attachment.js +4 -4
  655. package/dist/v1/config/command.js +5 -5
  656. package/dist/v1/config/config.js +16 -16
  657. package/dist/v1/config/error.js +2 -2
  658. package/dist/v1/config/formatter.js +5 -5
  659. package/dist/v1/config/layout.js +1 -1
  660. package/dist/v1/config/lsp.js +5 -5
  661. package/dist/v1/config/mcp.js +2 -2
  662. package/dist/v1/config/migrate.js +4 -4
  663. package/dist/v1/config/permission.js +3 -3
  664. package/dist/v1/config/plugin.js +3 -3
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +4 -4
  667. package/dist/v1/config/server.js +2 -2
  668. package/dist/v1/config/skills.js +3 -3
  669. package/dist/v1/permission.js +1 -1
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +85 -85
  672. package/dist/websearch.js +78 -78
  673. package/dist/wellknown/plugin.js +74 -74
  674. package/dist/wellknown.js +73 -73
  675. package/dist/workspace/driver.js +5 -5
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +76 -76
  678. package/dist/worktree/directory.js +2 -2
  679. package/dist/worktree/git.js +7 -7
  680. package/dist/worktree/refresh.js +341 -341
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree.js +89 -89
  683. package/package.json +8 -8
  684. package/dist/chunks/location-cbzcwh25.js +0 -22
  685. package/dist/chunks/location-w6mxp700.js +0 -247
  686. /package/dist/chunks/{location-0mesazry.js → rpc-0mesazry.js} +0 -0
  687. /package/dist/chunks/{location-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
  688. /package/dist/chunks/{location-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
  689. /package/dist/chunks/{location-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
  690. /package/dist/chunks/{location-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
  691. /package/dist/chunks/{location-1kg9ymc8.js → rpc-1kg9ymc8.js} +0 -0
  692. /package/dist/chunks/{location-2710q6r3.js → rpc-2710q6r3.js} +0 -0
  693. /package/dist/chunks/{location-2axfhc9x.js → rpc-2axfhc9x.js} +0 -0
  694. /package/dist/chunks/{location-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
  695. /package/dist/chunks/{location-359p4xyc.js → rpc-359p4xyc.js} +0 -0
  696. /package/dist/chunks/{location-3asan66x.js → rpc-3asan66x.js} +0 -0
  697. /package/dist/chunks/{location-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
  698. /package/dist/chunks/{location-3w5fmr99.js → rpc-3w5fmr99.js} +0 -0
  699. /package/dist/chunks/{location-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
  700. /package/dist/chunks/{location-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{location-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{location-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
  703. /package/dist/chunks/{location-53557ph1.js → rpc-53557ph1.js} +0 -0
  704. /package/dist/chunks/{location-550bvhaj.js → rpc-550bvhaj.js} +0 -0
  705. /package/dist/chunks/{location-6prwharc.js → rpc-6prwharc.js} +0 -0
  706. /package/dist/chunks/{location-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
  707. /package/dist/chunks/{location-7m9af43g.js → rpc-7m9af43g.js} +0 -0
  708. /package/dist/chunks/{location-822emrt2.js → rpc-822emrt2.js} +0 -0
  709. /package/dist/chunks/{location-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
  710. /package/dist/chunks/{location-8n3pysct.js → rpc-8n3pysct.js} +0 -0
  711. /package/dist/chunks/{location-922hggd3.js → rpc-922hggd3.js} +0 -0
  712. /package/dist/chunks/{location-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
  713. /package/dist/chunks/{location-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
  714. /package/dist/chunks/{location-a1tpkmh4.js → rpc-a1tpkmh4.js} +0 -0
  715. /package/dist/chunks/{location-a6k6eb26.js → rpc-a6k6eb26.js} +0 -0
  716. /package/dist/chunks/{location-af5trqkr.js → rpc-af5trqkr.js} +0 -0
  717. /package/dist/chunks/{location-afrmfg78.js → rpc-afrmfg78.js} +0 -0
  718. /package/dist/chunks/{location-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
  719. /package/dist/chunks/{location-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
  720. /package/dist/chunks/{location-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
  721. /package/dist/chunks/{location-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
  722. /package/dist/chunks/{location-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
  723. /package/dist/chunks/{location-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
  724. /package/dist/chunks/{location-d9fn303g.js → rpc-d9fn303g.js} +0 -0
  725. /package/dist/chunks/{location-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
  726. /package/dist/chunks/{location-dajrwvna.js → rpc-dajrwvna.js} +0 -0
  727. /package/dist/chunks/{location-dap0rakb.js → rpc-dap0rakb.js} +0 -0
  728. /package/dist/chunks/{location-df08tz66.js → rpc-df08tz66.js} +0 -0
  729. /package/dist/chunks/{location-dy18nga0.js → rpc-dy18nga0.js} +0 -0
  730. /package/dist/chunks/{location-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
  731. /package/dist/chunks/{location-e73j6tqm.js → rpc-e73j6tqm.js} +0 -0
  732. /package/dist/chunks/{location-ec1grn59.js → rpc-ec1grn59.js} +0 -0
  733. /package/dist/chunks/{location-eh3zwz77.js → rpc-eh3zwz77.js} +0 -0
  734. /package/dist/chunks/{location-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
  735. /package/dist/chunks/{location-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
  736. /package/dist/chunks/{location-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
  737. /package/dist/chunks/{location-faypxj3z.js → rpc-faypxj3z.js} +0 -0
  738. /package/dist/chunks/{location-fd410y7t.js → rpc-fd410y7t.js} +0 -0
  739. /package/dist/chunks/{location-fxgpk5d8.js → rpc-fxgpk5d8.js} +0 -0
  740. /package/dist/chunks/{location-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
  741. /package/dist/chunks/{location-g86h250q.js → rpc-g86h250q.js} +0 -0
  742. /package/dist/chunks/{location-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
  743. /package/dist/chunks/{location-gftt206x.js → rpc-gftt206x.js} +0 -0
  744. /package/dist/chunks/{location-hjbc5kem.js → rpc-hjbc5kem.js} +0 -0
  745. /package/dist/chunks/{location-hk9envan.js → rpc-hk9envan.js} +0 -0
  746. /package/dist/chunks/{location-hrnqkpcd.js → rpc-hrnqkpcd.js} +0 -0
  747. /package/dist/chunks/{location-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
  748. /package/dist/chunks/{location-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
  749. /package/dist/chunks/{location-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
  750. /package/dist/chunks/{location-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
  751. /package/dist/chunks/{location-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
  752. /package/dist/chunks/{location-mp448xyj.js → rpc-mp448xyj.js} +0 -0
  753. /package/dist/chunks/{location-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
  754. /package/dist/chunks/{location-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
  755. /package/dist/chunks/{location-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
  756. /package/dist/chunks/{location-njntx4h6.js → rpc-njntx4h6.js} +0 -0
  757. /package/dist/chunks/{location-paphc93g.js → rpc-paphc93g.js} +0 -0
  758. /package/dist/chunks/{location-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
  759. /package/dist/chunks/{location-q74kybfr.js → rpc-q74kybfr.js} +0 -0
  760. /package/dist/chunks/{location-qaymkmh1.js → rpc-qaymkmh1.js} +0 -0
  761. /package/dist/chunks/{location-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
  762. /package/dist/chunks/{location-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
  763. /package/dist/chunks/{location-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
  764. /package/dist/chunks/{location-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
  765. /package/dist/chunks/{location-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
  766. /package/dist/chunks/{location-sk3qaz4a.js → rpc-sk3qaz4a.js} +0 -0
  767. /package/dist/chunks/{location-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
  768. /package/dist/chunks/{location-twg0f83k.js → rpc-twg0f83k.js} +0 -0
  769. /package/dist/chunks/{location-w803qqfp.js → rpc-w803qqfp.js} +0 -0
  770. /package/dist/chunks/{location-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
  771. /package/dist/chunks/{location-wtztk69x.js → rpc-wtztk69x.js} +0 -0
  772. /package/dist/chunks/{location-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
  773. /package/dist/chunks/{location-x61499pn.js → rpc-x61499pn.js} +0 -0
  774. /package/dist/chunks/{location-y44na4kk.js → rpc-y44na4kk.js} +0 -0
  775. /package/dist/chunks/{location-y8cydn3q.js → rpc-y8cydn3q.js} +0 -0
  776. /package/dist/chunks/{location-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
  777. /package/dist/chunks/{location-ym463w8f.js → rpc-ym463w8f.js} +0 -0
  778. /package/dist/chunks/{location-z9919s4g.js → rpc-z9919s4g.js} +0 -0
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service76
3
- } from "./location-6h508dp1.js";
2
+ Service75
3
+ } from "./rpc-7etk2hzb.js";
4
4
  import {
5
- Service52
6
- } from "./location-39gsfx95.js";
5
+ Service47
6
+ } from "./rpc-b4jtvy14.js";
7
7
  import {
8
- Service21,
8
+ Service14,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./location-r5paa9gw.js";
11
+ } from "./rpc-kvvjzsre.js";
12
12
  import {
13
- Service19
14
- } from "./location-ap0kd4ae.js";
13
+ Service36
14
+ } from "./rpc-aeget6rx.js";
15
15
  import {
16
- Service71
17
- } from "./location-tz2p0jnc.js";
16
+ Service70
17
+ } from "./rpc-392203pj.js";
18
18
  import {
19
- Service56,
19
+ Service69,
20
20
  resolvePath2
21
- } from "./location-d2412gps.js";
21
+ } from "./rpc-2gzv1x1z.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./location-6prwharc.js";
24
+ } from "./rpc-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./location-9rqn6x4v.js";
27
+ } from "./rpc-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: () => Input7,
34
- Output: () => Output5,
35
- Plugin: () => Plugin7,
36
- name: () => name7
33
+ Input: () => Input6,
34
+ Output: () => Output4,
35
+ Plugin: () => Plugin37,
36
+ name: () => name6
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 name7 = "edit";
43
- var Input7 = Schema.Struct({
42
+ var name6 = "edit";
43
+ var Input6 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input7 = 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 Output4 = 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 Plugin7 = {
106
+ var Plugin37 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service56;
110
- const fileMutation = yield* Service21;
111
- const environment = yield* Service52;
112
- const formatter = yield* Service19;
113
- const location = yield* Service76;
114
- const permission = yield* Service71;
109
+ const access = yield* Service69;
110
+ const fileMutation = yield* Service14;
111
+ const environment = yield* Service47;
112
+ const formatter = yield* Service36;
113
+ const location = yield* Service75;
114
+ const permission = yield* Service70;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name7,
116
+ name: name6,
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: Input7,
120
- output: Output5,
119
+ input: Input6,
120
+ output: Output4,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
123
123
  const permissionSource = {
@@ -194,4 +194,4 @@ var Plugin7 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name7, Input7, Output5, Plugin7, exports_edit };
197
+ export { name6, Input6, Output4, Plugin37, exports_edit };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./location-922hggd3.js";
3
+ } from "./rpc-922hggd3.js";
4
4
 
5
5
  // src/database/path.ts
6
6
  import nodePath from "path";
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./rpc-9rqn6x4v.js";
4
4
 
5
5
  // src/instance/service.ts
6
6
  var exports_service2 = {};
7
7
  __export(exports_service2, {
8
8
  Instance: () => exports_service2,
9
- Service: () => Service60,
10
- node: () => node65
9
+ Service: () => Service59,
10
+ node: () => node64
11
11
  });
12
12
  import { Context } from "effect";
13
13
  import { Node } from "@opencode/util/effect/app-node";
14
14
  import { LayerNode } from "@opencode/util/effect/layer-node";
15
15
 
16
- class Service60 extends Context.Service()("@opencode/Instance") {
16
+ class Service59 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node65 = LayerNode.unbound(Service60, Node.tags.values.global);
18
+ var node64 = LayerNode.unbound(Service59, Node.tags.values.global);
19
19
 
20
- export { Service60, node65, exports_service2 };
20
+ export { Service59, node64, exports_service2 };
@@ -1,44 +1,44 @@
1
1
  import {
2
- Service71
3
- } from "./location-tz2p0jnc.js";
2
+ Service70
3
+ } from "./rpc-392203pj.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./location-a1tpkmh4.js";
7
+ } from "./rpc-a1tpkmh4.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./location-3v8g72cx.js";
10
+ } from "./rpc-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./location-9rqn6x4v.js";
13
+ } from "./rpc-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: () => Input12,
20
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
19
+ Input: () => Input2,
20
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin13,
22
+ Plugin: () => Plugin33,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
- description: () => description5,
25
+ description: () => description2,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name12
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 name12 = "webfetch";
34
- var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
33
+ var name2 = "webfetch";
34
+ var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
37
- var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
37
+ var description2 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
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 Input12 = 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 Input12 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input12.fields.format,
51
+ format: Input2.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
79
79
  throw new Error("URL must use http:// or https://");
80
80
  };
81
81
  var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
82
- var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
82
+ var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
83
83
  var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
84
84
  var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
85
85
  var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin13 = {
95
+ var Plugin33 = {
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* Service71;
99
+ const permission = yield* Service70;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name12,
101
+ name: name2,
102
102
  options: { codemode: false },
103
- description: description5,
104
- input: Input12,
103
+ description: description2,
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 Plugin13 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name12,
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 { name12, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input12, Plugin13, extractTextFromHTML2, exports_webfetch };
170
+ export { name2, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input2, Plugin33, extractTextFromHTML2, exports_webfetch };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./location-ym463w8f.js";
3
+ } from "./rpc-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/alibaba.ts
6
6
  var AlibabaPlugin2 = createProviderPlugin2({
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./location-7ny3kv6n.js";
4
+ } from "./rpc-jtp7wgq3.js";
5
5
  import {
6
- ID8
7
- } from "./location-djxjwwc9.js";
6
+ ID10
7
+ } from "./rpc-15v2jbpx.js";
8
8
 
9
9
  // src/plugin/provider/openrouter.ts
10
10
  import { Effect } from "effect";
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
21
21
  evt.provider.update(item.provider.id, (provider) => {
22
22
  provider.headers = { ...provider.headers, "HTTP-Referer": "https://opencode.ai/", "X-Title": "opencode" };
23
23
  });
24
- for (const modelID of [ID8.make("gpt-5-chat-latest"), ID8.make("openai/gpt-5-chat")]) {
24
+ for (const modelID of [ID10.make("gpt-5-chat-latest"), ID10.make("openai/gpt-5-chat")]) {
25
25
  if (!item.models.has(modelID))
26
26
  continue;
27
27
  evt.model.update(item.provider.id, modelID, (model) => {
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./rpc-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service2,
9
+ Service: () => Service6,
10
10
  bound: () => bound2,
11
- node: () => node4
11
+ node: () => node9
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service2 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service6 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node4 = makeLocationNode({
19
- service: Service2,
18
+ var node9 = makeLocationNode({
19
+ service: Service6,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service2, Service2.of({ all: () => stamped }));
29
+ return Layer.succeed(Service6, Service6.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service2, node4, bound2, exports_instance2 };
32
+ export { Service6, node9, bound2, exports_instance2 };
@@ -2,7 +2,7 @@ import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2,
4
4
  mapUpdateSet2
5
- } from "./location-emrn6kk6.js";
5
+ } from "./rpc-emrn6kk6.js";
6
6
 
7
7
  // src/database/drizzle/sqlite-core/effect/insert.ts
8
8
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./rpc-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/plugin.ts
6
6
  var exports_plugin3 = {};
7
7
  __export(exports_plugin3, {
8
8
  ConfigPluginV1: () => exports_plugin3,
9
- Options: () => Options7,
9
+ Options: () => Options9,
10
10
  Spec: () => Spec2
11
11
  });
12
12
  import { Schema } from "effect";
13
- var Options7 = Schema.Record(Schema.String, Schema.Unknown);
14
- var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options7]))]);
13
+ var Options9 = Schema.Record(Schema.String, Schema.Unknown);
14
+ var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options9]))]);
15
15
 
16
- export { Options7, Spec2, exports_plugin3 };
16
+ export { Options9, Spec2, exports_plugin3 };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service77,
3
- node82
4
- } from "./location-mgcrt4av.js";
2
+ Service76,
3
+ node81
4
+ } from "./rpc-bets30rh.js";
5
5
  import {
6
6
  __export
7
- } from "./location-9rqn6x4v.js";
7
+ } from "./rpc-9rqn6x4v.js";
8
8
 
9
9
  // src/location.ts
10
10
  var exports_location = {};
11
11
  __export(exports_location, {
12
- Info: () => Info31,
12
+ Info: () => Info30,
13
13
  Location: () => exports_location,
14
14
  Ref: () => Ref4,
15
- Service: () => Service76,
15
+ Service: () => Service75,
16
16
  boundNode: () => boundNode2,
17
- node: () => node81,
17
+ node: () => node80,
18
18
  response: () => response2
19
19
  });
20
20
  import { Context, Effect, Layer } from "effect";
21
- import { Info as Info31, Ref as Ref4, response as response2 } from "@opencode/schema/location";
21
+ import { Info as Info30, Ref as Ref4, response as response2 } from "@opencode/schema/location";
22
22
  import { LayerNode } from "@opencode/util/effect/layer-node";
23
23
  import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
24
- class Service76 extends Context.Service()("@opencode/Location") {
24
+ class Service75 extends Context.Service()("@opencode/Location") {
25
25
  }
26
- var node81 = LayerNode.unbound(Service76, tags.values.location);
27
- var layer = (ref, options) => Layer.effect(Service76, Effect.gen(function* () {
28
- const project = yield* Service77;
26
+ var node80 = LayerNode.unbound(Service75, tags.values.location);
27
+ var layer = (ref, options) => Layer.effect(Service75, Effect.gen(function* () {
28
+ const project = yield* Service76;
29
29
  const resolved = yield* project.resolve(ref.directory, options);
30
- return Service76.of({
30
+ return Service75.of({
31
31
  directory: ref.directory,
32
32
  workspaceID: ref.workspaceID,
33
33
  project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service76, Effect.gen(function* () {
35
35
  });
36
36
  }));
37
37
  var boundNode2 = (ref, options) => makeLocationNode({
38
- service: Service76,
38
+ service: Service75,
39
39
  layer: layer(ref, options),
40
- deps: [node82]
40
+ deps: [node81]
41
41
  });
42
42
 
43
- export { Info31, Ref4, response2, Service76, node81, boundNode2, exports_location };
43
+ export { Info30, Ref4, response2, Service75, node80, boundNode2, exports_location };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service45
3
- } from "./location-mmx9f08p.js";
2
+ Service52
3
+ } from "./rpc-ehz7tvfk.js";
4
4
  import {
5
- Service37
6
- } from "./location-pg1rtztb.js";
5
+ Service29
6
+ } from "./rpc-ave7p2tf.js";
7
7
  import {
8
8
  __export
9
- } from "./location-9rqn6x4v.js";
9
+ } from "./rpc-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
- var exports_mcp2 = {};
13
- __export(exports_mcp2, {
14
- ConfigMcpPlugin: () => exports_mcp2,
15
- Plugin: () => Plugin40,
12
+ var exports_mcp = {};
13
+ __export(exports_mcp, {
14
+ ConfigMcpPlugin: () => exports_mcp,
15
+ Plugin: () => Plugin8,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin40 = define({
20
+ var Plugin8 = 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* Service45;
28
- const mcp = yield* Service37;
27
+ const config = yield* Service52;
28
+ const mcp = yield* Service29;
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 { Plugin40, register2, exports_mcp2 };
49
+ export { Plugin8, register2, exports_mcp };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  useragent2
3
- } from "./location-9k0trt10.js";
3
+ } from "./rpc-fd4fwae4.js";
4
4
  import {
5
5
  Service79
6
- } from "./location-xgcvvaqd.js";
6
+ } from "./rpc-zfytcyng.js";
7
7
  import {
8
8
  OAuth3,
9
- Event17
10
- } from "./location-atdh1fr1.js";
9
+ Event20
10
+ } from "./rpc-w8gexp6v.js";
11
11
  import {
12
- ID10,
12
+ ID8,
13
13
  MethodID2
14
- } from "./location-barpv3dv.js";
14
+ } from "./rpc-dyy3hg9v.js";
15
15
  import {
16
- ID9
17
- } from "./location-7ny3kv6n.js";
16
+ ID11
17
+ } from "./rpc-jtp7wgq3.js";
18
18
  import {
19
19
  Family2
20
- } from "./location-djxjwwc9.js";
20
+ } from "./rpc-15v2jbpx.js";
21
21
  import {
22
22
  bootstrap2
23
- } from "./location-pjvnvgmy.js";
23
+ } from "./rpc-pjvnvgmy.js";
24
24
 
25
25
  // src/plugin/provider/digitalocean.ts
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
28
28
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
29
- var providerID = ID9.make("digitalocean");
30
- var integrationID = ID10.make("digitalocean");
29
+ var providerID = ID11.make("digitalocean");
30
+ var integrationID = ID8.make("digitalocean");
31
31
  var methodID = MethodID2.make("browser");
32
32
  var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
33
33
  var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
@@ -158,7 +158,7 @@ var DigitalOceanPlugin2 = define({
158
158
  }
159
159
  });
160
160
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
161
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
161
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
162
162
  yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
163
163
  })
164
164
  });
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service45
3
- } from "./location-mmx9f08p.js";
2
+ Service52
3
+ } from "./rpc-ehz7tvfk.js";
4
4
  import {
5
- Service9
6
- } from "./location-at3ax2rg.js";
5
+ Service8
6
+ } from "./rpc-m2shnn4e.js";
7
7
  import {
8
8
  observe2
9
- } from "./location-qsdy395h.js";
9
+ } from "./rpc-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./location-9rqn6x4v.js";
12
+ } from "./rpc-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/compaction.ts
15
15
  var exports_compaction = {};
16
16
  __export(exports_compaction, {
17
17
  ConfigCompactionPlugin: () => exports_compaction,
18
- Plugin: () => Plugin31
18
+ Plugin: () => Plugin7
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin31 = define({
22
+ var Plugin7 = define({
23
23
  id: "opencode.config.compaction",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service45;
26
- const compaction = yield* Service9;
25
+ const config = yield* Service52;
26
+ const compaction = yield* Service8;
27
27
  const loaded = yield* observe2(config, ctx.event, compaction.reload());
28
28
  yield* compaction.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -39,4 +39,4 @@ var Plugin31 = define({
39
39
  })
40
40
  });
41
41
 
42
- export { Plugin31, exports_compaction };
42
+ export { Plugin7, exports_compaction };