@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,32 +1,32 @@
1
1
  import {
2
- Key4,
2
+ Key3,
3
3
  removed2,
4
4
  empty3,
5
5
  make21,
6
6
  diffByKey2
7
- } from "./location-eaj1djv9.js";
7
+ } from "./rpc-s8d7rejh.js";
8
8
  import {
9
- ID5,
9
+ ID6,
10
10
  Name2,
11
11
  available2,
12
- Service38,
13
- node42
14
- } from "./location-nrg6p0d7.js";
12
+ Service33,
13
+ node37
14
+ } from "./rpc-z03wer5m.js";
15
15
  import {
16
16
  __export
17
- } from "./location-9rqn6x4v.js";
17
+ } from "./rpc-9rqn6x4v.js";
18
18
 
19
19
  // src/skill/instructions.ts
20
- var exports_instructions2 = {};
21
- __export(exports_instructions2, {
22
- Service: () => Service29,
23
- SkillInstructions: () => exports_instructions2,
24
- node: () => node33
20
+ var exports_instructions4 = {};
21
+ __export(exports_instructions4, {
22
+ Service: () => Service23,
23
+ SkillInstructions: () => exports_instructions4,
24
+ node: () => node28
25
25
  });
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Context, Effect, Layer, Schema } from "effect";
28
28
  var Summary = Schema.Struct({
29
- id: ID5,
29
+ id: ID6,
30
30
  name: Name2,
31
31
  description: Schema.String
32
32
  });
@@ -60,18 +60,18 @@ var update = (previous, current) => {
60
60
  `);
61
61
  };
62
62
 
63
- class Service29 extends Context.Service()("@opencode/SkillInstructions") {
63
+ class Service23 extends Context.Service()("@opencode/SkillInstructions") {
64
64
  }
65
- var layer = Layer.effect(Service29, Effect.gen(function* () {
66
- const skills = yield* Service38;
67
- return Service29.of({
65
+ var layer = Layer.effect(Service23, Effect.gen(function* () {
66
+ const skills = yield* Service33;
67
+ return Service23.of({
68
68
  load: Effect.fn("SkillInstructions.load")(function* (selection) {
69
69
  const agent = selection.info;
70
70
  if (!agent)
71
71
  return empty3;
72
72
  const available = available2(yield* skills.list(), agent).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
73
73
  return make21({
74
- key: Key4.make("core/skill-guidance"),
74
+ key: Key3.make("core/skill-guidance"),
75
75
  codec: Schema.toCodecJson(Schema.Array(Summary)),
76
76
  read: Effect.succeed(available.length === 0 ? removed2 : available),
77
77
  render: {
@@ -83,6 +83,6 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
83
83
  })
84
84
  });
85
85
  }));
86
- var node33 = makeLocationNode({ service: Service29, layer, deps: [node42] });
86
+ var node28 = makeLocationNode({ service: Service23, layer, deps: [node37] });
87
87
 
88
- export { Service29, node33, exports_instructions2 };
88
+ export { Service23, node28, exports_instructions4 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./location-7ny3kv6n.js";
4
+ } from "./rpc-jtp7wgq3.js";
5
5
 
6
6
  // src/plugin/provider/kilo.ts
7
7
  import { Effect } from "effect";
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./location-xgcvvaqd.js";
4
+ } from "./rpc-zfytcyng.js";
5
5
  import {
6
- Service76,
7
- node81
8
- } from "./location-6h508dp1.js";
6
+ Service75,
7
+ node80
8
+ } from "./rpc-7etk2hzb.js";
9
9
  import {
10
- ID15,
11
- Service74,
12
- node79
13
- } from "./location-7ny1t5fr.js";
10
+ ID14,
11
+ Service73,
12
+ node78
13
+ } from "./rpc-s2v4v98g.js";
14
14
  import {
15
15
  NotFoundError9
16
- } from "./location-k7d0894y.js";
16
+ } from "./rpc-w12rp218.js";
17
17
  import {
18
- Service73,
19
- node78
20
- } from "./location-bbwyhmbr.js";
18
+ Service71,
19
+ node76
20
+ } from "./rpc-sf7x1fj7.js";
21
21
  import {
22
22
  match2
23
- } from "./location-y1fvbwt7.js";
23
+ } from "./rpc-y1fvbwt7.js";
24
24
  import {
25
25
  Service72,
26
26
  node77
27
- } from "./location-ztj8pse5.js";
27
+ } from "./rpc-gd1x23dm.js";
28
28
  import {
29
- Service75,
30
- node80
31
- } from "./location-dc76j9wz.js";
29
+ Service74,
30
+ node79
31
+ } from "./rpc-8sghyhzw.js";
32
32
  import {
33
33
  __export
34
- } from "./location-9rqn6x4v.js";
34
+ } from "./rpc-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
37
  var exports_permission2 = {};
@@ -42,8 +42,8 @@ __export(exports_permission2, {
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event18,
46
- ID: () => ID13,
45
+ Event: () => Event17,
46
+ ID: () => ID12,
47
47
  NotFoundError: () => NotFoundError8,
48
48
  Permission: () => exports_permission2,
49
49
  Reply: () => Reply3,
@@ -51,20 +51,20 @@ __export(exports_permission2, {
51
51
  Request: () => Request3,
52
52
  Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service71,
54
+ Service: () => Service70,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node76
58
+ node: () => node75
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
63
  import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event18 } from "@opencode/schema/permission";
64
+ import { Event as Event17 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID13 = Permission.ID;
67
+ var ID12 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -77,17 +77,17 @@ var RequestFields = {
77
77
  var Request3 = Permission.Request;
78
78
  var Reply3 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID13.pipe(Schema.optional),
80
+ id: ID12.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID15.pipe(Schema.optional)
82
+ agent: ID14.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID13,
85
+ requestID: ID12,
86
86
  reply: Reply3,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID13,
90
+ id: ID12,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -111,7 +111,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
111
111
  }
112
112
 
113
113
  class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID13
114
+ requestID: ID12
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service71 extends Context.Service()("@opencode/Permission") {
128
+ class Service70 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service71, Effect.gen(function* () {
130
+ var layer = Layer.effect(Service70, Effect.gen(function* () {
131
131
  const bus = yield* Service79;
132
- const location = yield* Service76;
133
- const agents = yield* Service74;
134
- const sessions = yield* Service73;
132
+ const location = yield* Service75;
133
+ const agents = yield* Service73;
134
+ const sessions = yield* Service71;
135
135
  const saved = yield* Service72;
136
- const hooks = yield* Service75;
136
+ const hooks = yield* Service74;
137
137
  const pending = new Map;
138
138
  yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
139
139
  discard: true
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
180
180
  });
181
181
  function request(input, message) {
182
182
  return {
183
- id: input.id ?? ID13.create(),
183
+ id: input.id ?? ID12.create(),
184
184
  sessionID: input.sessionID,
185
185
  action: input.action,
186
186
  resources: input.resources,
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
283
283
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
284
284
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
285
285
  });
286
- return Service71.of({ ask, assert, reply, get, forSession, list });
286
+ return Service70.of({ ask, assert, reply, get, forSession, list });
287
287
  }));
288
- var node76 = makeLocationNode({
289
- service: Service71,
288
+ var node75 = makeLocationNode({
289
+ service: Service70,
290
290
  layer,
291
- deps: [node84, node81, node79, node78, node77, node80]
291
+ deps: [node84, node80, node78, node76, node77, node79]
292
292
  });
293
293
 
294
- export { PermissionEffect, ID13, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service71, node76, exports_permission2, Rule3, Ruleset2, Event18 };
294
+ export { PermissionEffect, ID12, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service70, node75, exports_permission2, Rule3, Ruleset2, Event17 };
@@ -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/codemode/catalog.ts
6
6
  var exports_catalog = {};
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./location-2a5m3afh.js";
3
+ } from "./rpc-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./location-922hggd3.js";
6
+ } from "./rpc-922hggd3.js";
7
7
  import {
8
- Service76
9
- } from "./location-6h508dp1.js";
8
+ Service75
9
+ } from "./rpc-7etk2hzb.js";
10
10
  import {
11
- Service52
12
- } from "./location-39gsfx95.js";
11
+ Service47
12
+ } from "./rpc-b4jtvy14.js";
13
13
  import {
14
- Service24
15
- } from "./location-e328z05c.js";
14
+ Service46
15
+ } from "./rpc-9kgmhgf7.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./location-nmxf6tf3.js";
21
+ } from "./rpc-zymgq775.js";
22
22
  import {
23
- Service71
24
- } from "./location-tz2p0jnc.js";
23
+ Service70
24
+ } from "./rpc-392203pj.js";
25
25
  import {
26
- Service56
27
- } from "./location-d2412gps.js";
26
+ Service69
27
+ } from "./rpc-2gzv1x1z.js";
28
28
  import {
29
29
  __export
30
- } from "./location-9rqn6x4v.js";
30
+ } from "./rpc-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input11,
37
- Output: () => Output8,
38
- Plugin: () => Plugin11,
39
- name: () => name11,
40
- toModelContent: () => toModelContent6
36
+ Input: () => Input10,
37
+ Output: () => Output7,
38
+ Plugin: () => Plugin42,
39
+ name: () => name10,
40
+ toModelContent: () => toModelContent4
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name11 = "glob";
46
- var Input11 = Schema.Struct({
45
+ var name10 = "glob";
46
+ var Input10 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,35 +55,35 @@ var Input11 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output8 = Schema.Array(Entry2);
59
- var toModelContent6 = (entries, truncated = false) => {
58
+ var Output7 = Schema.Array(Entry2);
59
+ var toModelContent4 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin11 = {
66
+ var Plugin42 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service52;
70
- const ripgrep = yield* Service24;
71
- const location = yield* Service76;
72
- const access = yield* Service56;
73
- const permission = yield* Service71;
69
+ const environment = yield* Service47;
70
+ const ripgrep = yield* Service46;
71
+ const location = yield* Service75;
72
+ const access = yield* Service69;
73
+ const permission = yield* Service70;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name11,
75
+ name: name10,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input11,
79
- output: Output8,
78
+ input: Input10,
79
+ output: Output7,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name11,
86
+ action: name10,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -118,11 +118,11 @@ var Plugin11 = {
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent6(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent4(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name11, Input11, Output8, toModelContent6, Plugin11, exports_glob };
128
+ export { name10, Input10, Output7, toModelContent4, Plugin42, exports_glob };
@@ -1,24 +1,24 @@
1
1
  import {
2
- Service71
3
- } from "./location-tz2p0jnc.js";
2
+ Service70
3
+ } from "./rpc-392203pj.js";
4
4
  import {
5
- ID5,
5
+ ID6,
6
6
  Name2,
7
7
  toModelOutput3,
8
8
  prepare3,
9
- Service38
10
- } from "./location-nrg6p0d7.js";
9
+ Service33
10
+ } from "./rpc-z03wer5m.js";
11
11
  import {
12
12
  __export
13
- } from "./location-9rqn6x4v.js";
13
+ } from "./rpc-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/skill.ts
16
- var exports_skill = {};
17
- __export(exports_skill, {
16
+ var exports_skill3 = {};
17
+ __export(exports_skill3, {
18
18
  Input: () => Input5,
19
- Output: () => Output4,
20
- Plugin: () => Plugin5,
21
- SkillTool: () => exports_skill,
19
+ Output: () => Output3,
20
+ Plugin: () => Plugin36,
21
+ SkillTool: () => exports_skill3,
22
22
  description: () => description3,
23
23
  name: () => name5,
24
24
  toModelOutput: () => toModelOutput2
@@ -28,9 +28,9 @@ import { Effect, Schema } from "effect";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
29
  var name5 = "skill";
30
30
  var Input5 = Schema.Struct({
31
- id: ID5.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
31
+ id: ID6.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
32
32
  });
33
- var Output4 = Schema.Struct({
33
+ var Output3 = Schema.Struct({
34
34
  name: Name2,
35
35
  directory: Schema.String,
36
36
  output: Schema.String
@@ -43,18 +43,18 @@ var description3 = [
43
43
  `);
44
44
  var toModelOutput2 = toModelOutput3;
45
45
  var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
46
- var Plugin5 = {
46
+ var Plugin36 = {
47
47
  id: "opencode.tool.skill",
48
48
  effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
49
49
  const fs = yield* FSUtil.Service;
50
- const skills = yield* Service38;
51
- const permission = yield* Service71;
50
+ const skills = yield* Service33;
51
+ const permission = yield* Service70;
52
52
  yield* ctx.tool.transform((editor) => editor.add({
53
53
  name: name5,
54
54
  options: { codemode: false },
55
55
  description: description3,
56
56
  input: Input5,
57
- output: Output4,
57
+ output: Output3,
58
58
  execute: (input, context) => Effect.gen(function* () {
59
59
  const skill = yield* skills.get(input.id);
60
60
  if (!skill)
@@ -79,4 +79,4 @@ var Plugin5 = {
79
79
  })
80
80
  };
81
81
 
82
- export { name5, Input5, Output4, description3, toModelOutput2, Plugin5, exports_skill };
82
+ export { name5, Input5, Output3, description3, toModelOutput2, Plugin36, exports_skill3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./location-qfa1cgps.js";
3
+ } from "./rpc-qfa1cgps.js";
4
4
 
5
5
  // src/kv/sql.ts
6
6
  import { sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./location-xgcvvaqd.js";
4
+ } from "./rpc-zfytcyng.js";
5
5
  import {
6
6
  optional2,
7
7
  statics2
8
- } from "./location-922hggd3.js";
8
+ } from "./rpc-922hggd3.js";
9
9
  import {
10
10
  Ref4,
11
- Service76,
12
- node81
13
- } from "./location-6h508dp1.js";
11
+ Service75,
12
+ node80
13
+ } from "./rpc-7etk2hzb.js";
14
14
  import {
15
15
  __export
16
- } from "./location-9rqn6x4v.js";
16
+ } from "./rpc-9rqn6x4v.js";
17
17
 
18
18
  // src/rpc.ts
19
19
  var exports_rpc = {};
20
20
  __export(exports_rpc, {
21
21
  Rpc: () => exports_rpc,
22
- Service: () => Service20,
22
+ Service: () => Service50,
23
23
  define: () => define2,
24
- node: () => node24
24
+ node: () => node55
25
25
  });
26
26
  import { define as define2 } from "@opencode/schema/rpc";
27
27
  import { Event } from "@opencode/schema/event";
28
28
  import { makeLocationNode } from "@opencode/util/effect/app-node";
29
29
  import { Context, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
30
- class Service20 extends Context.Service()("@opencode/Rpc") {
30
+ class Service50 extends Context.Service()("@opencode/Rpc") {
31
31
  }
32
32
 
33
33
  class DeclaredError extends Error {
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
39
39
  this.data = data;
40
40
  }
41
41
  }
42
- var layer = Layer.effect(Service20, Effect.gen(function* () {
42
+ var layer = Layer.effect(Service50, Effect.gen(function* () {
43
43
  const bus = yield* Service79;
44
- const location = yield* Service76;
44
+ const location = yield* Service75;
45
45
  const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
46
46
  const callContext = {
47
47
  error: (type, message, data) => new DeclaredError(type, message, data)
@@ -115,14 +115,14 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
115
115
  const registered = events.get(name);
116
116
  if (!registered)
117
117
  return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
118
- return bus.subscribe(registered.definition).pipe(Stream.provideService(Service76, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
118
+ return bus.subscribe(registered.definition).pipe(Stream.provideService(Service75, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
119
119
  }
120
120
  }
121
121
  };
122
122
  };
123
- return Service20.of({ register, call, client });
123
+ return Service50.of({ register, call, client });
124
124
  }));
125
- var node24 = makeLocationNode({ service: Service20, layer, deps: [node84, node81] });
125
+ var node55 = makeLocationNode({ service: Service50, layer, deps: [node84, node80] });
126
126
  var fields = {
127
127
  id: Event.ID,
128
128
  created: Schema.Finite,
@@ -207,4 +207,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
207
207
  };
208
208
  });
209
209
 
210
- export { Service20, node24, exports_rpc, define2 };
210
+ export { Service50, node55, exports_rpc, define2 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isCheckpoint2,
3
3
  decode2
4
- } from "./location-w1k39n5e.js";
4
+ } from "./rpc-1hc11dc4.js";
5
5
 
6
6
  // src/session/runner/to-llm-message.ts
7
7
  import { Message, ToolCallPart, ToolResultPart } from "@opencode/ai";
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  convertToOpenAICompatibleChatMessages2
3
- } from "./location-fxgpk5d8.js";
3
+ } from "./rpc-fxgpk5d8.js";
4
4
  import {
5
5
  getResponseMetadata2
6
- } from "./location-g4wezp1m.js";
6
+ } from "./rpc-g4wezp1m.js";
7
7
  import {
8
8
  mapOpenAICompatibleFinishReason2
9
- } from "./location-x61499pn.js";
9
+ } from "./rpc-x61499pn.js";
10
10
  import {
11
11
  openaiCompatibleProviderOptions2
12
- } from "./location-af5trqkr.js";
12
+ } from "./rpc-af5trqkr.js";
13
13
  import {
14
14
  defaultOpenAICompatibleErrorStructure2
15
- } from "./location-afrmfg78.js";
15
+ } from "./rpc-afrmfg78.js";
16
16
  import {
17
17
  prepareTools2
18
- } from "./location-x0ckcb58.js";
18
+ } from "./rpc-x0ckcb58.js";
19
19
 
20
20
  // src/github-copilot/chat/openai-compatible-chat-language-model.ts
21
21
  import {
@@ -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/mime.ts
6
6
  var exports_mime = {};
@@ -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/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Ref4
3
- } from "./location-6h508dp1.js";
3
+ } from "./rpc-7etk2hzb.js";
4
4
  import {
5
5
  __export
6
- } from "./location-9rqn6x4v.js";
6
+ } from "./rpc-9rqn6x4v.js";
7
7
 
8
8
  // src/location-service-map.ts
9
9
  var exports_location_service_map = {};
10
10
  __export(exports_location_service_map, {
11
11
  LocationServiceMap: () => exports_location_service_map,
12
- Service: () => Service62,
12
+ Service: () => Service61,
13
13
  canonical: () => canonical3,
14
- node: () => node67
14
+ node: () => node66
15
15
  });
16
16
  import { Context, Effect, Layer } from "effect";
17
17
  import { LayerNode } from "@opencode/util/effect/layer-node";
18
18
  import { Node } from "@opencode/util/effect/app-node";
19
19
  import { AbsolutePath } from "@opencode/schema/schema";
20
20
  import path from "path";
21
- class Service62 extends Context.Service()("@opencode/example/LocationServiceMap") {
21
+ class Service61 extends Context.Service()("@opencode/example/LocationServiceMap") {
22
22
  static get(ref) {
23
- return Layer.unwrap(Effect.map(Service62, (locations) => locations.get(ref)));
23
+ return Layer.unwrap(Effect.map(Service61, (locations) => locations.get(ref)));
24
24
  }
25
25
  }
26
- var node67 = LayerNode.unbound(Service62, Node.tags.values.global);
26
+ var node66 = LayerNode.unbound(Service61, Node.tags.values.global);
27
27
  function canonical3(ref) {
28
28
  return Ref4.make({
29
29
  directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
@@ -31,4 +31,4 @@ function canonical3(ref) {
31
31
  });
32
32
  }
33
33
 
34
- export { Service62, node67, canonical3, exports_location_service_map };
34
+ export { Service61, node66, canonical3, exports_location_service_map };