@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,52 +1,52 @@
1
1
  import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2
4
- } from "./location-922hggd3.js";
5
- import {
6
- Info16
7
- } from "./location-g190xswt.js";
8
- import {
9
- Info8
10
- } from "./location-gxr1dr9e.js";
4
+ } from "./rpc-922hggd3.js";
11
5
  import {
12
6
  Info12
13
- } from "./location-t0fxg8b9.js";
7
+ } from "./rpc-a8bn8zg0.js";
14
8
  import {
15
- Info15
16
- } from "./location-g8d3gcyj.js";
9
+ Info11
10
+ } from "./rpc-a8zr1srk.js";
17
11
  import {
18
12
  Info13
19
- } from "./location-dwvzh0g2.js";
13
+ } from "./rpc-evbgk2k8.js";
14
+ import {
15
+ Info18
16
+ } from "./rpc-a2ew8a62.js";
17
+ import {
18
+ Info16
19
+ } from "./rpc-j5208yae.js";
20
20
  import {
21
21
  Layout2
22
- } from "./location-21r38tys.js";
22
+ } from "./rpc-21r38tys.js";
23
23
  import {
24
- Info9
25
- } from "./location-w4arg62q.js";
24
+ Info17
25
+ } from "./rpc-r33ff4dw.js";
26
26
  import {
27
27
  Info14
28
- } from "./location-p44d8wdy.js";
28
+ } from "./rpc-p44d8wdy.js";
29
29
  import {
30
30
  Spec2
31
- } from "./location-qgn6gcr1.js";
31
+ } from "./rpc-7dqw4kz8.js";
32
32
  import {
33
- Info11
34
- } from "./location-yjptyezs.js";
33
+ Info15
34
+ } from "./rpc-wbkyxrgf.js";
35
35
  import {
36
36
  Server2
37
- } from "./location-zeh9ct20.js";
37
+ } from "./rpc-zeh9ct20.js";
38
38
  import {
39
- Info10
40
- } from "./location-sx1n432n.js";
39
+ Info19
40
+ } from "./rpc-r98e92ep.js";
41
41
  import {
42
42
  __export
43
- } from "./location-9rqn6x4v.js";
43
+ } from "./rpc-9rqn6x4v.js";
44
44
 
45
45
  // src/v1/config/config.ts
46
46
  var exports_config2 = {};
47
47
  __export(exports_config2, {
48
48
  ConfigV1: () => exports_config2,
49
- Info: () => Info7,
49
+ Info: () => Info10,
50
50
  WellKnown: () => WellKnown2
51
51
  });
52
52
  import { Schema } from "effect";
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
59
59
  identifier: "LogLevel",
60
60
  description: "Log level"
61
61
  });
62
- var Info7 = Schema.Struct({
62
+ var Info10 = Schema.Struct({
63
63
  $schema: Schema.optional(Schema.String).annotate({
64
64
  description: "JSON schema reference for configuration validation"
65
65
  }),
@@ -68,10 +68,10 @@ var Info7 = Schema.Struct({
68
68
  server: Schema.optional(Server2).annotate({
69
69
  description: "Server configuration for opencode serve and web commands"
70
70
  }),
71
- command: Schema.optional(Schema.Record(Schema.String, Info15)).annotate({
71
+ command: Schema.optional(Schema.Record(Schema.String, Info18)).annotate({
72
72
  description: "Command configuration, see https://opencode.ai/docs/commands"
73
73
  }),
74
- skills: Schema.optional(Info10).annotate({ description: "Additional skill folder paths" }),
74
+ skills: Schema.optional(Info19).annotate({ description: "Additional skill folder paths" }),
75
75
  references: Schema.optional(ConfigReference.Info).annotate({
76
76
  description: "Named git or local directory references"
77
77
  }),
@@ -113,33 +113,33 @@ var Info7 = Schema.Struct({
113
113
  username: Schema.optional(Schema.String).annotate({
114
114
  description: "Custom username to display in conversations instead of system username"
115
115
  }),
116
- mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info8), plan: Schema.optional(Info8) }), [Schema.Record(Schema.String, Info8)])).annotate({ description: "@deprecated Use `agent` field instead." }),
116
+ mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info11), plan: Schema.optional(Info11) }), [Schema.Record(Schema.String, Info11)])).annotate({ description: "@deprecated Use `agent` field instead." }),
117
117
  agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
118
- plan: Schema.optional(Info8),
119
- build: Schema.optional(Info8),
120
- general: Schema.optional(Info8),
121
- explore: Schema.optional(Info8),
122
- title: Schema.optional(Info8),
123
- summary: Schema.optional(Info8),
124
- compaction: Schema.optional(Info8)
125
- }), [Schema.Record(Schema.String, Info8)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
126
- provider: Schema.optional(Schema.Record(Schema.String, Info11)).annotate({
118
+ plan: Schema.optional(Info11),
119
+ build: Schema.optional(Info11),
120
+ general: Schema.optional(Info11),
121
+ explore: Schema.optional(Info11),
122
+ title: Schema.optional(Info11),
123
+ summary: Schema.optional(Info11),
124
+ compaction: Schema.optional(Info11)
125
+ }), [Schema.Record(Schema.String, Info11)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
126
+ provider: Schema.optional(Schema.Record(Schema.String, Info15)).annotate({
127
127
  description: "Custom provider configurations and model overrides"
128
128
  }),
129
129
  mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info14, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
130
- formatter: Schema.optional(Info13).annotate({
130
+ formatter: Schema.optional(Info16).annotate({
131
131
  description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
132
132
  }),
133
- lsp: Schema.optional(Info9).annotate({
133
+ lsp: Schema.optional(Info17).annotate({
134
134
  description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
135
135
  }),
136
136
  instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
137
137
  description: "Additional instruction files or patterns to include"
138
138
  }),
139
139
  layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
140
- permission: Schema.optional(Info16),
140
+ permission: Schema.optional(Info12),
141
141
  tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
142
- attachment: Schema.optional(Info12).annotate({
142
+ attachment: Schema.optional(Info13).annotate({
143
143
  description: "Attachment processing configuration, including image size limits and resizing behavior"
144
144
  }),
145
145
  enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
@@ -191,4 +191,4 @@ var Info7 = Schema.Struct({
191
191
  }))
192
192
  }).annotate({ identifier: "Config" });
193
193
 
194
- export { WellKnown2, Info7, exports_config2 };
194
+ export { WellKnown2, Info10, exports_config2 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  create3
3
- } from "./location-kg06axw8.js";
3
+ } from "./rpc-kg06axw8.js";
4
4
  import {
5
5
  __export
6
- } from "./location-9rqn6x4v.js";
6
+ } from "./rpc-9rqn6x4v.js";
7
7
 
8
8
  // src/filesystem/location-watcher-policy.ts
9
9
  var exports_location_watcher_policy = {};
10
10
  __export(exports_location_watcher_policy, {
11
11
  LocationWatcherPolicy: () => exports_location_watcher_policy,
12
- Service: () => Service12,
13
- node: () => node15
12
+ Service: () => Service10,
13
+ node: () => node13
14
14
  });
15
15
  import { makeLocationNode } from "@opencode/util/effect/app-node";
16
16
  import { Context, Effect, Layer, Scope } from "effect";
17
- class Service12 extends Context.Service()("@opencode/LocationWatcherPolicy") {
17
+ class Service10 extends Context.Service()("@opencode/LocationWatcherPolicy") {
18
18
  }
19
- var layer = Layer.effect(Service12, Effect.gen(function* () {
19
+ var layer = Layer.effect(Service10, Effect.gen(function* () {
20
20
  const listeners = new Set;
21
21
  const state = create3({
22
22
  name: "location-watcher-policy",
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
41
41
  yield* Scope.addFinalizer(scope, dispose);
42
42
  return { dispose };
43
43
  });
44
- return Service12.of({
44
+ return Service10.of({
45
45
  transform: state.transform,
46
46
  reload: state.reload,
47
47
  current,
48
48
  observe
49
49
  });
50
50
  }));
51
- var node15 = makeLocationNode({ service: Service12, layer, deps: [] });
51
+ var node13 = makeLocationNode({ service: Service10, layer, deps: [] });
52
52
 
53
- export { Service12, node15, exports_location_watcher_policy };
53
+ export { Service10, node13, exports_location_watcher_policy };
@@ -1,61 +1,61 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./location-qa467n4w.js";
4
+ } from "./rpc-s8rzfbyd.js";
5
5
  import {
6
6
  reserveSequence2,
7
7
  Service79,
8
8
  node84
9
- } from "./location-xgcvvaqd.js";
9
+ } from "./rpc-zfytcyng.js";
10
10
  import {
11
11
  SessionEvent2
12
- } from "./location-ec1grn59.js";
12
+ } from "./rpc-ec1grn59.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./location-gftt206x.js";
15
+ } from "./rpc-gftt206x.js";
16
16
  import {
17
- update2
18
- } from "./location-1dfhrqqs.js";
17
+ update3
18
+ } from "./rpc-0hpxrkyb.js";
19
19
  import {
20
20
  AbsolutePath2,
21
21
  RelativePath2
22
- } from "./location-922hggd3.js";
22
+ } from "./rpc-922hggd3.js";
23
23
  import {
24
24
  ProjectTable2
25
- } from "./location-8p4f9s12.js";
25
+ } from "./rpc-8p4f9s12.js";
26
26
  import {
27
27
  SessionTable2,
28
28
  SessionMessageTable2,
29
29
  SessionInboxTable2
30
- } from "./location-a1bz86dw.js";
30
+ } from "./rpc-a1bz86dw.js";
31
31
  import {
32
32
  projectAdmitted2,
33
33
  projectDelivered2,
34
34
  projectCancelled2,
35
35
  projectDeliveryChanged2
36
- } from "./location-1hfsjvjf.js";
36
+ } from "./rpc-8kfkccvf.js";
37
37
  import {
38
38
  apply2,
39
39
  initialize3,
40
40
  advanceEpoch2,
41
41
  reset2
42
- } from "./location-bha4atvq.js";
42
+ } from "./rpc-hfdr1yjj.js";
43
43
  import {
44
44
  initialize2
45
- } from "./location-9tk4atd8.js";
45
+ } from "./rpc-dmky53ph.js";
46
46
  import {
47
47
  Slug2
48
- } from "./location-gebd4c9n.js";
48
+ } from "./rpc-gebd4c9n.js";
49
49
  import {
50
50
  __export
51
- } from "./location-9rqn6x4v.js";
51
+ } from "./rpc-9rqn6x4v.js";
52
52
 
53
53
  // src/session/projector.ts
54
54
  var exports_projector = {};
55
55
  __export(exports_projector, {
56
56
  SessionAlreadyProjected: () => SessionAlreadyProjected2,
57
57
  SessionProjector: () => exports_projector,
58
- node: () => node31
58
+ node: () => node23
59
59
  });
60
60
  import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
61
61
  import { DateTime, Effect, Layer, Schema, Stream } from "effect";
@@ -245,7 +245,7 @@ function run(db, event) {
245
245
  updateCompaction: updateMessage,
246
246
  appendMessage
247
247
  };
248
- yield* update2(adapter, event);
248
+ yield* update3(adapter, event);
249
249
  });
250
250
  }
251
251
  function insertMessage(db, event, message) {
@@ -455,6 +455,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
455
455
  return publishSessionUsage(db, bus, event.data.sessionID);
456
456
  }), Effect.forkScoped({ startImmediately: true }));
457
457
  }));
458
- var node31 = makeGlobalNode({ name: "session-projector", layer, deps: [node84, node85] });
458
+ var node23 = makeGlobalNode({ name: "session-projector", layer, deps: [node84, node85] });
459
459
 
460
- export { SessionAlreadyProjected2, node31, exports_projector };
460
+ export { SessionAlreadyProjected2, node23, exports_projector };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./location-88xbtdfr.js";
3
+ } from "./rpc-88xbtdfr.js";
4
4
  import {
5
5
  load2
6
- } from "./location-paphc93g.js";
6
+ } from "./rpc-paphc93g.js";
7
7
  import {
8
8
  __export
9
- } from "./location-9rqn6x4v.js";
9
+ } from "./rpc-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event8,
14
+ Event: () => Event12,
15
15
  Native: () => Native3,
16
- Options: () => Options8,
17
- Service: () => Service46,
16
+ Options: () => Options10,
17
+ Service: () => Service53,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured8,
20
+ configured: () => configured11,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer19,
22
+ layer: () => layer21,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node51,
25
+ node: () => node59,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper";
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event8 = { Updated: FileSystem.Event.Changed };
36
+ var Event12 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
39
  return createWrapper(load2());
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options8 = Schema.Struct({
56
+ var Options10 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service46 extends Context.Service()("@opencode/Watcher") {
60
+ class Service53 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer19 = (options) => Layer.effect(Service46, Effect.gen(function* () {
65
+ var layer21 = (options) => Layer.effect(Service53, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service46.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service53.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer19 = (options) => Layer.effect(Service46, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service46.of({ subscribe });
108
+ return Service53.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer19().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer21().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service46).subscribe,
134
+ subscribe: Context.get(context, Service53).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service46, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service53, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured8(options) {
168
- return makeGlobalNode({ service: Service46, layer: layer19(options), deps: [nativeNode2] });
167
+ function configured11(options) {
168
+ return makeGlobalNode({ service: Service53, layer: layer21(options), deps: [nativeNode2] });
169
169
  }
170
- var node51 = configured8();
170
+ var node59 = configured11();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event8, hasNativeBinding2, Native3, Options8, Service46, Test3, layer19, testLayer3, nativeLayer2, nativeNode2, configured8, node51, exports_watcher };
190
+ export { Event12, hasNativeBinding2, Native3, Options10, Service53, Test3, layer21, testLayer3, nativeLayer2, nativeNode2, configured11, node59, exports_watcher };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WebSocketConstructor2
3
- } from "./location-y8cydn3q.js";
3
+ } from "./rpc-y8cydn3q.js";
4
4
  import {
5
5
  __export
6
- } from "./location-9rqn6x4v.js";
6
+ } from "./rpc-9rqn6x4v.js";
7
7
 
8
8
  // src/effect/app-node-platform.ts
9
9
  var exports_app_node_platform = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  useragent2
3
- } from "./location-9k0trt10.js";
3
+ } from "./rpc-fd4fwae4.js";
4
4
  import {
5
- ID9
6
- } from "./location-7ny3kv6n.js";
5
+ ID11
6
+ } from "./rpc-jtp7wgq3.js";
7
7
 
8
8
  // src/plugin/provider/gitlab.ts
9
9
  import os from "os";
@@ -33,7 +33,7 @@ var GitLabPlugin2 = define({
33
33
  });
34
34
  }));
35
35
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
36
- if (evt.model.providerID !== ID9.gitlab)
36
+ if (evt.model.providerID !== ID11.gitlab)
37
37
  return;
38
38
  const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
39
39
  const id = evt.model.modelID ?? evt.model.id;
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./location-7ny3kv6n.js";
4
+ } from "./rpc-jtp7wgq3.js";
5
5
  import {
6
6
  __export
7
- } from "./location-9rqn6x4v.js";
7
+ } from "./rpc-9rqn6x4v.js";
8
8
 
9
9
  // src/aisdk-native.ts
10
10
  var exports_aisdk_native = {};
@@ -1,59 +1,59 @@
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";
9
- import {
10
- Service65,
11
- node70
12
- } from "./location-gwzbkwjt.js";
8
+ } from "./rpc-zfytcyng.js";
13
9
  import {
14
10
  Service60,
15
11
  node65
16
- } from "./location-4m2pmvxz.js";
12
+ } from "./rpc-vczw2nmh.js";
13
+ import {
14
+ Service59,
15
+ node64
16
+ } from "./rpc-6sth7kcr.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./location-ec1grn59.js";
19
+ } from "./rpc-ec1grn59.js";
20
20
  import {
21
- make18
22
- } from "./location-r8xr0va3.js";
21
+ make19
22
+ } from "./rpc-rhraev7y.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service58
26
- } from "./location-afdssyjb.js";
25
+ Service56
26
+ } from "./rpc-e2hjzebn.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./location-k7d0894y.js";
29
+ } from "./rpc-w12rp218.js";
30
30
  import {
31
- Service73,
32
- node78
33
- } from "./location-bbwyhmbr.js";
31
+ Service71,
32
+ node76
33
+ } from "./rpc-sf7x1fj7.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./location-7w1wksne.js";
36
+ } from "./rpc-yk9e0cpf.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./location-1hfsjvjf.js";
39
+ } from "./rpc-8kfkccvf.js";
40
40
  import {
41
41
  __export
42
- } from "./location-9rqn6x4v.js";
42
+ } from "./rpc-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service57,
47
+ Service: () => Service55,
48
48
  SessionExecution: () => exports_execution,
49
49
  layer: () => layer22,
50
- node: () => node63,
50
+ node: () => node61,
51
51
  noopLayer: () => noopLayer3,
52
52
  terminal: () => terminal2
53
53
  });
54
54
  import { Cause, Context, Effect, Exit, Layer } from "effect";
55
55
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
56
- class Service57 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service55 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer22 = Layer.effect(Service57, Effect.gen(function* () {
69
- const store = yield* Service73;
70
- const instances = yield* Service60;
68
+ var layer22 = Layer.effect(Service55, Effect.gen(function* () {
69
+ const store = yield* Service71;
70
+ const instances = yield* Service59;
71
71
  const bus = yield* Service79;
72
- const jobs = yield* Service65;
72
+ const jobs = yield* Service60;
73
73
  const db = (yield* Service80).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
@@ -82,13 +82,13 @@ var layer22 = Layer.effect(Service57, Effect.gen(function* () {
82
82
  const session = yield* store.get(sessionID);
83
83
  if (!session)
84
84
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
85
- const result = yield* Service58.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
85
+ const result = yield* Service56.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
86
86
  return yield* DrainResult2.$match(result, {
87
87
  Complete: () => Effect.void,
88
88
  Moved: (result) => drain(sessionID, false, result.continuation, promotable)
89
89
  });
90
90
  });
91
- const coordinator = yield* make18({
91
+ const coordinator = yield* make19({
92
92
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
93
93
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
94
94
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -109,7 +109,7 @@ var layer22 = Layer.effect(Service57, Effect.gen(function* () {
109
109
  }, releaseOnCommit(sessionID));
110
110
  }))
111
111
  });
112
- return Service57.of({
112
+ return Service55.of({
113
113
  active: coordinator.active,
114
114
  isActive: coordinator.isActive,
115
115
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -128,12 +128,12 @@ var layer22 = Layer.effect(Service57, Effect.gen(function* () {
128
128
  awaitIdle: coordinator.awaitIdle
129
129
  });
130
130
  }));
131
- var node63 = makeGlobalNode({
132
- service: Service57,
131
+ var node61 = makeGlobalNode({
132
+ service: Service55,
133
133
  layer: layer22,
134
- deps: [node78, node65, node84, node85, node70]
134
+ deps: [node76, node64, node84, node85, node65]
135
135
  });
136
- var noopLayer3 = Layer.succeed(Service57, Service57.of({
136
+ var noopLayer3 = Layer.succeed(Service55, Service55.of({
137
137
  active: Effect.succeed(new Set),
138
138
  isActive: () => Effect.succeed(false),
139
139
  resume: () => Effect.void,
@@ -142,4 +142,4 @@ var noopLayer3 = Layer.succeed(Service57, Service57.of({
142
142
  awaitIdle: () => Effect.void
143
143
  }));
144
144
 
145
- export { Service57, terminal2, layer22, node63, noopLayer3, exports_execution };
145
+ export { Service55, terminal2, layer22, node61, noopLayer3, exports_execution };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./location-ym463w8f.js";
3
+ } from "./rpc-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/gateway.ts
6
6
  var GatewayPlugin2 = createProviderPlugin2({