@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,63 +1,63 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./location-qa467n4w.js";
4
+ } from "./rpc-s8rzfbyd.js";
5
5
  import {
6
6
  Service79,
7
7
  node84
8
- } from "./location-xgcvvaqd.js";
8
+ } from "./rpc-zfytcyng.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./location-pknna89w.js";
11
+ } from "./rpc-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./location-0q0f95c6.js";
14
+ } from "./rpc-0q0f95c6.js";
15
15
  import {
16
16
  __export
17
- } from "./location-9rqn6x4v.js";
17
+ } from "./rpc-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event17,
24
- ID: () => ID12,
25
- Info: () => Info26,
26
- Key: () => Key3,
23
+ Event: () => Event20,
24
+ ID: () => ID18,
25
+ Info: () => Info33,
26
+ Key: () => Key4,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service70,
28
+ Service: () => Service78,
29
29
  Value: () => Value2,
30
- node: () => node75
30
+ node: () => node83
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID12 = Credential.ID;
37
+ var ID18 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
- var Key3 = Credential.Key;
39
+ var Key4 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event17 = Credential.Event;
41
+ var Event20 = Credential.Event;
42
42
 
43
- class Info26 extends Schema.Class("Credential.Info")({
44
- id: ID12,
43
+ class Info33 extends Schema.Class("Credential.Info")({
44
+ id: ID18,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service70 extends Context.Service()("@opencode/Credential") {
51
+ class Service78 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service70, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service78, Effect.gen(function* () {
54
54
  const db = (yield* Service80).db;
55
55
  const bus = yield* Service79;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info26({
60
+ return new Info33({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service70.of({
71
+ return Service78.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info26({
80
- id: ID12.create(),
79
+ const credential = new Info33({
80
+ id: ID18.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
101
101
  integrationID: credential.integrationID,
102
102
  type: credential.value.type
103
103
  });
104
- yield* bus.publish(Event17.Updated, {}, { global: true });
105
- yield* bus.publish(Event17.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
104
+ yield* bus.publish(Event20.Updated, {}, { global: true });
105
+ yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
106
106
  return credential;
107
107
  }),
108
108
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
122
122
  })), Effect.orDie);
123
123
  if (integrationID) {
124
124
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
125
- yield* bus.publish(Event17.Switched, { integrationID, credentialID: id }, { global: true });
125
+ yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
126
126
  }
127
127
  }),
128
128
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
154
154
  labelChanged: updates.label !== undefined && updates.label !== credential.label
155
155
  });
156
156
  if (updates.label !== undefined && updates.label !== credential.label)
157
- yield* bus.publish(Event17.Updated, {}, { global: true });
157
+ yield* bus.publish(Event20.Updated, {}, { global: true });
158
158
  }),
159
159
  remove: Effect.fn("Credential.remove")(function* (id) {
160
160
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
187
187
  active: removed.switched,
188
188
  ...removed.switched ? { replacementID: removed.credentialID } : {}
189
189
  });
190
- yield* bus.publish(Event17.Updated, {}, { global: true });
190
+ yield* bus.publish(Event20.Updated, {}, { global: true });
191
191
  if (removed.switched)
192
- yield* bus.publish(Event17.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
192
+ yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
193
193
  })
194
194
  });
195
195
  }));
196
- var node75 = makeGlobalNode({ service: Service70, layer, deps: [node85, node84] });
196
+ var node83 = makeGlobalNode({ service: Service78, layer, deps: [node85, node84] });
197
197
 
198
- export { ID12, OAuth3, Key3, Value2, Event17, Info26, Service70, node75, exports_credential };
198
+ export { ID18, OAuth3, Key4, Value2, Event20, Info33, Service78, node83, exports_credential };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./location-922hggd3.js";
3
+ } from "./rpc-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./location-9rqn6x4v.js";
6
+ } from "./rpc-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/provider.ts
9
9
  var exports_provider2 = {};
10
10
  __export(exports_provider2, {
11
11
  ConfigProviderV1: () => exports_provider2,
12
- Info: () => Info11,
12
+ Info: () => Info15,
13
13
  Model: () => Model2,
14
14
  ModelStatus: () => ModelStatus2
15
15
  });
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
61
61
  disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
62
62
  }), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
63
63
  });
64
- var Info11 = Schema.Struct({
64
+ var Info15 = Schema.Struct({
65
65
  api: Schema.optional(Schema.String),
66
66
  name: Schema.optional(Schema.String),
67
67
  env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
@@ -95,4 +95,4 @@ var Info11 = Schema.Struct({
95
95
  models: Schema.optional(Schema.Record(Schema.String, Model2))
96
96
  }).annotate({ identifier: "ProviderConfig" });
97
97
 
98
- export { ModelStatus2, Model2, Info11, exports_provider2 };
98
+ export { ModelStatus2, Model2, Info15, exports_provider2 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service79
3
- } from "./location-xgcvvaqd.js";
3
+ } from "./rpc-zfytcyng.js";
4
4
  import {
5
- Service76
6
- } from "./location-6h508dp1.js";
5
+ Service75
6
+ } from "./rpc-7etk2hzb.js";
7
7
  import {
8
8
  PromptsChanged2,
9
- Service37
10
- } from "./location-pg1rtztb.js";
9
+ Service29
10
+ } from "./rpc-ave7p2tf.js";
11
11
  import {
12
12
  __export
13
- } from "./location-9rqn6x4v.js";
13
+ } from "./rpc-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/command.ts
16
- var exports_command = {};
17
- __export(exports_command, {
18
- CommandPlugin: () => exports_command,
19
- Plugin: () => Plugin25
16
+ var exports_command2 = {};
17
+ __export(exports_command2, {
18
+ CommandPlugin: () => exports_command2,
19
+ Plugin: () => Plugin30
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect, Stream } from "effect";
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
193
193
  `;
194
194
 
195
195
  // src/plugin/command.ts
196
- var Plugin25 = define({
196
+ var Plugin30 = define({
197
197
  id: "opencode.command",
198
198
  effect: Effect.fn(function* (ctx) {
199
- const location = yield* Service76;
200
- const mcp = yield* Service37;
199
+ const location = yield* Service75;
200
+ const mcp = yield* Service29;
201
201
  const bus = yield* Service79;
202
202
  const loaded = { prompts: [] };
203
203
  yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
@@ -280,4 +280,4 @@ function sanitize(value) {
280
280
  var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
281
281
  var quoteTrimRegex = /^["']|["']$/g;
282
282
 
283
- export { Plugin25, exports_command };
283
+ export { Plugin30, exports_command2 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getViewSelectedFieldsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./location-emrn6kk6.js";
4
+ } from "./rpc-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/select.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  migrations2
3
- } from "./location-fw0f0qsw.js";
3
+ } from "./rpc-sn0jzx2p.js";
4
4
  import {
5
5
  schema_gen_default
6
- } from "./location-twg0f83k.js";
6
+ } from "./rpc-twg0f83k.js";
7
7
  import {
8
8
  __export
9
- } from "./location-9rqn6x4v.js";
9
+ } from "./rpc-9rqn6x4v.js";
10
10
 
11
11
  // src/database/migration.ts
12
12
  var exports_migration = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./rpc-9rqn6x4v.js";
4
4
 
5
5
  // src/session/subagent-completion.ts
6
6
  var exports_subagent_completion = {};
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizedName2
4
- } from "./location-3w5fmr99.js";
4
+ } from "./rpc-3w5fmr99.js";
5
5
  import {
6
6
  __export
7
- } from "./location-9rqn6x4v.js";
7
+ } from "./rpc-9rqn6x4v.js";
8
8
 
9
9
  // src/codemode/tool.ts
10
10
  var exports_tool2 = {};
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./location-xgcvvaqd.js";
4
+ } from "./rpc-zfytcyng.js";
5
5
  import {
6
- Service37,
7
- node41
8
- } from "./location-pg1rtztb.js";
6
+ Service29,
7
+ node33
8
+ } from "./rpc-ave7p2tf.js";
9
9
  import {
10
- Service71,
11
- node76
12
- } from "./location-tz2p0jnc.js";
10
+ Service70,
11
+ node75
12
+ } from "./rpc-392203pj.js";
13
13
  import {
14
- Service40,
15
- node44
16
- } from "./location-9g2mmtg8.js";
14
+ Service35,
15
+ node39
16
+ } from "./rpc-5a0ch1qz.js";
17
17
  import {
18
18
  __export
19
- } from "./location-9rqn6x4v.js";
19
+ } from "./rpc-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service32,
26
- layer: () => layer13,
27
- name: () => name13,
25
+ Service: () => Service28,
26
+ layer: () => layer12,
27
+ name: () => name14,
28
28
  namespace: () => namespace2,
29
- node: () => node36
29
+ node: () => node32
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
33
33
  import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
- var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
36
+ var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service32 extends Context.Service()("@opencode/McpTool") {
38
+ class Service28 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer13 = Layer.effect(Service32, Effect.gen(function* () {
41
- const mcp = yield* Service37;
42
- const tools = yield* Service40;
40
+ var layer12 = Layer.effect(Service28, Effect.gen(function* () {
41
+ const mcp = yield* Service29;
42
+ const tools = yield* Service35;
43
43
  const bus = yield* Service79;
44
- const permission = yield* Service71;
44
+ const permission = yield* Service70;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -62,7 +62,7 @@ var layer13 = Layer.effect(Service32, Effect.gen(function* () {
62
62
  output: tool.outputSchema ?? {},
63
63
  execute: (input, context) => Effect.gen(function* () {
64
64
  yield* permission.assert({
65
- action: name13(tool.server, tool.name),
65
+ action: name14(tool.server, tool.name),
66
66
  resources: ["*"],
67
67
  save: ["*"],
68
68
  metadata: {},
@@ -99,7 +99,7 @@ var layer13 = Layer.effect(Service32, Effect.gen(function* () {
99
99
  output: result.structured ?? (text === "" ? null : text),
100
100
  ...content.length === 0 ? {} : { content }
101
101
  };
102
- }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
102
+ }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
103
103
  });
104
104
  }
105
105
  });
@@ -112,12 +112,12 @@ var layer13 = Layer.effect(Service32, Effect.gen(function* () {
112
112
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
113
113
  const updates = yield* PubSub.subscribe(changes);
114
114
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
115
- return Service32.of({ flush: Effect.asVoid(Fiber.await(initial)) });
115
+ return Service28.of({ flush: Effect.asVoid(Fiber.await(initial)) });
116
116
  }));
117
- var node36 = makeLocationNode({
118
- service: Service32,
119
- layer: layer13,
120
- deps: [node44, node41, node84, node76]
117
+ var node32 = makeLocationNode({
118
+ service: Service28,
119
+ layer: layer12,
120
+ deps: [node39, node33, node84, node75]
121
121
  });
122
122
 
123
- export { namespace2, name13, Service32, layer13, node36, exports_mcp3 };
123
+ export { namespace2, name14, Service28, layer12, node32, exports_mcp3 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./location-922hggd3.js";
3
+ } from "./rpc-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./location-9rqn6x4v.js";
6
+ } from "./rpc-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service8,
11
+ Service: () => Service7,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node11
13
+ node: () => node10
14
14
  });
15
15
  import path from "path";
16
16
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service8 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service7 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service8, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service7, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service8.of({
66
+ return Service7.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node11 = makeGlobalNode({ service: Service8, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node10 = makeGlobalNode({ service: Service7, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service8, node11, exports_discovery };
155
+ export { Service7, node10, exports_discovery };
@@ -1,66 +1,66 @@
1
1
  import {
2
- Service69
3
- } from "./location-1xnwpsdb.js";
2
+ Service66
3
+ } from "./rpc-drf46963.js";
4
4
  import {
5
- Service71
6
- } from "./location-tz2p0jnc.js";
5
+ Service70
6
+ } from "./rpc-392203pj.js";
7
7
  import {
8
8
  ID4,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service16
14
- } from "./location-ejcg2d9c.js";
13
+ Service15
14
+ } from "./rpc-kyf09390.js";
15
15
  import {
16
16
  __export
17
- } from "./location-9rqn6x4v.js";
17
+ } from "./rpc-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
- var exports_websearch = {};
21
- __export(exports_websearch, {
22
- Input: () => Input4,
20
+ var exports_websearch2 = {};
21
+ __export(exports_websearch2, {
22
+ Input: () => Input7,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin4,
25
- WebSearchTool: () => exports_websearch,
26
- description: () => description2,
27
- name: () => name4
24
+ Plugin: () => Plugin38,
25
+ WebSearchTool: () => exports_websearch2,
26
+ description: () => description4,
27
+ name: () => name7
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/unstable/http";
32
- var name4 = "websearch";
32
+ var name7 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
36
36
  [429, "Web search rate limited (HTTP 429)"],
37
37
  [401, "Web search authentication failed (HTTP 401)"]
38
38
  ]);
39
- var description2 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
39
+ var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input4 = Schema.Struct({
42
+ var Input7 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
46
  provider: ID4,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin4 = {
49
+ var Plugin38 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service71;
53
- const forms = yield* Service69;
54
- const websearch = yield* Service16;
52
+ const permission = yield* Service70;
53
+ const forms = yield* Service66;
54
+ const websearch = yield* Service15;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name4,
56
+ name: name7,
57
57
  options: { codemode: false },
58
- description: description2,
59
- input: Input4,
58
+ description: description4,
59
+ input: Input7,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name4,
63
+ action: name7,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -176,9 +176,9 @@ ${result.content}` : ""}`;
176
176
  yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name4];
179
+ delete event.tools[name7];
180
180
  }));
181
181
  })
182
182
  };
183
183
 
184
- export { name4, NO_RESULTS2, description2, Input4, Plugin4, exports_websearch };
184
+ export { name7, NO_RESULTS2, description4, Input7, Plugin38, exports_websearch2 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  resolveNullableObjectPaths2,
3
3
  mapResultRow2
4
- } from "./location-emrn6kk6.js";
4
+ } from "./rpc-emrn6kk6.js";
5
5
  import {
6
6
  SQLiteEffectDatabase2
7
- } from "./location-cy6spc12.js";
7
+ } from "./rpc-28ysey72.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/session.ts
10
10
  import * as Cause from "effect/Cause";
@@ -1,8 +1,8 @@
1
1
  import {
2
- ID9,
2
+ ID11,
3
3
  isAISDK2,
4
4
  packageName2
5
- } from "./location-7ny3kv6n.js";
5
+ } from "./rpc-jtp7wgq3.js";
6
6
 
7
7
  // src/plugin/provider/google-vertex.ts
8
8
  import { Effect } from "effect";
@@ -39,7 +39,7 @@ var GoogleVertexPlugin2 = define({
39
39
  for (const item of evt.provider.list()) {
40
40
  if (!isAISDK2(item.provider.package))
41
41
  continue;
42
- if (packageName2(item.provider.package) !== "@ai-sdk/google-vertex" && !(item.provider.id === ID9.googleVertex && packageName2(item.provider.package)?.includes("@ai-sdk/openai-compatible")))
42
+ if (packageName2(item.provider.package) !== "@ai-sdk/google-vertex" && !(item.provider.id === ID11.googleVertex && packageName2(item.provider.package)?.includes("@ai-sdk/openai-compatible")))
43
43
  continue;
44
44
  const project = resolveProject(item.provider.settings ?? {});
45
45
  const location = String(resolveLocation(item.provider.settings ?? {}));
@@ -56,7 +56,7 @@ var GoogleVertexPlugin2 = define({
56
56
  }
57
57
  });
58
58
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
59
- if (evt.model.providerID === ID9.googleVertex && evt.package.includes("@ai-sdk/openai-compatible")) {
59
+ if (evt.model.providerID === ID11.googleVertex && evt.package.includes("@ai-sdk/openai-compatible")) {
60
60
  evt.options.fetch = authFetch(evt.options.fetch);
61
61
  return;
62
62
  }
@@ -87,7 +87,7 @@ var GoogleVertexPlugin2 = define({
87
87
  });
88
88
  }));
89
89
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
90
- if (evt.model.providerID !== ID9.googleVertex)
90
+ if (evt.model.providerID !== ID11.googleVertex)
91
91
  return;
92
92
  evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
93
93
  }));
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./location-922hggd3.js";
3
+ } from "./rpc-922hggd3.js";
4
4
  import {
5
- Service76
6
- } from "./location-6h508dp1.js";
5
+ Service75
6
+ } from "./rpc-7etk2hzb.js";
7
7
  import {
8
- Service45
9
- } from "./location-mmx9f08p.js";
8
+ Service52
9
+ } from "./rpc-ehz7tvfk.js";
10
10
  import {
11
- Service55
12
- } from "./location-zkt8qzze.js";
11
+ Service38
12
+ } from "./rpc-j36g4ek5.js";
13
13
  import {
14
14
  observe2
15
- } from "./location-qsdy395h.js";
15
+ } from "./rpc-qsdy395h.js";
16
16
  import {
17
17
  __export
18
- } from "./location-9rqn6x4v.js";
18
+ } from "./rpc-9rqn6x4v.js";
19
19
 
20
20
  // src/config/plugin/worktree.ts
21
21
  var exports_worktree = {};
22
22
  __export(exports_worktree, {
23
23
  ConfigWorktreePlugin: () => exports_worktree,
24
- Plugin: () => Plugin38
24
+ Plugin: () => Plugin12
25
25
  });
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { Effect } from "effect";
28
28
  import path from "path";
29
29
  import { Global } from "@opencode/util/global";
30
- var Plugin38 = define({
30
+ var Plugin12 = define({
31
31
  id: "opencode.config.worktree",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service45;
34
- const location = yield* Service76;
33
+ const config = yield* Service52;
34
+ const location = yield* Service75;
35
35
  const global = yield* Global.Service;
36
- const worktrees = yield* Service55;
36
+ const worktrees = yield* Service38;
37
37
  const loaded = yield* observe2(config, ctx.event, worktrees.reload());
38
38
  yield* worktrees.transform((editor) => {
39
39
  for (const entry of loaded.entries) {
@@ -48,4 +48,4 @@ var Plugin38 = define({
48
48
  })
49
49
  });
50
50
 
51
- export { Plugin38, exports_worktree };
51
+ export { Plugin12, exports_worktree };