@opencode/core 0.0.0-dev-20377 → 0.0.0-dev-20381

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 (799) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{repository-f3fd7e69.js → rpc-02jj188d.js} +4 -4
  8. package/dist/chunks/{repository-w6zk8pbt.js → rpc-0ejd5hp1.js} +8 -8
  9. package/dist/chunks/{repository-2k8khapm.js → rpc-0jwsre1p.js} +5 -5
  10. package/dist/chunks/{repository-0paq2nw3.js → rpc-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{repository-y9zw62b3.js → rpc-0qnwgxcx.js} +12 -12
  12. package/dist/chunks/{repository-fbfxcass.js → rpc-0veeyvfm.js} +17 -17
  13. package/dist/chunks/{repository-g1sxm558.js → rpc-166kng33.js} +8 -8
  14. package/dist/chunks/{repository-ftnrf378.js → rpc-1cpck8gv.js} +15 -15
  15. package/dist/chunks/{repository-1dazxqgg.js → rpc-1dazxqgg.js} +2 -2
  16. package/dist/chunks/{repository-bt3gm041.js → rpc-1g5vmb1j.js} +21 -21
  17. package/dist/chunks/{repository-0jnnt1bs.js → rpc-1pk1jfmd.js} +17 -17
  18. package/dist/chunks/{repository-h0j67pyz.js → rpc-1vxd76q3.js} +10 -10
  19. package/dist/chunks/{repository-vspmykee.js → rpc-1wzyakj1.js} +14 -14
  20. package/dist/chunks/{repository-vzvmbq7x.js → rpc-1xhj1txz.js} +46 -46
  21. package/dist/chunks/{repository-wz5tj16h.js → rpc-207ajt2h.js} +5 -5
  22. package/dist/chunks/{repository-21r38tys.js → rpc-21r38tys.js} +1 -1
  23. package/dist/chunks/{repository-csr47hpp.js → rpc-240vvp2b.js} +7 -7
  24. package/dist/chunks/{repository-2a5m3afh.js → rpc-2a5m3afh.js} +1 -1
  25. package/dist/chunks/{repository-5nm3sjh9.js → rpc-2kfagwra.js} +9 -9
  26. package/dist/chunks/rpc-2q4d7yj3.js +252 -0
  27. package/dist/chunks/{repository-qhj864bm.js → rpc-2rbsv4j1.js} +22 -22
  28. package/dist/chunks/{repository-awaee7qt.js → rpc-2y34zzjz.js} +6 -6
  29. package/dist/chunks/{repository-y5kv6yf7.js → rpc-37gzdae6.js} +25 -25
  30. package/dist/chunks/{repository-dj9sq318.js → rpc-3cfzdc8e.js} +5 -5
  31. package/dist/chunks/{repository-3fc6dm20.js → rpc-3fc6dm20.js} +1 -1
  32. package/dist/chunks/{repository-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
  33. package/dist/chunks/{repository-45g6rp4p.js → rpc-3ky9a5f7.js} +8 -8
  34. package/dist/chunks/{repository-bxcevcrv.js → rpc-3sj2hmhn.js} +15 -15
  35. package/dist/chunks/{repository-3smtnn6g.js → rpc-3smtnn6g.js} +1 -1
  36. package/dist/chunks/{repository-3tvqynh2.js → rpc-3tvqynh2.js} +1 -1
  37. package/dist/chunks/{repository-p9qne3wm.js → rpc-3zn4sg2c.js} +54 -54
  38. package/dist/chunks/{repository-3zsf4n22.js → rpc-3zsf4n22.js} +1 -1
  39. package/dist/chunks/{repository-b9ek0cs0.js → rpc-411radew.js} +9 -9
  40. package/dist/chunks/{repository-3ewed21c.js → rpc-4bm5ja14.js} +4 -4
  41. package/dist/chunks/{repository-92k45pvj.js → rpc-4pwxaf10.js} +6 -6
  42. package/dist/chunks/{repository-7ys5ezf5.js → rpc-4qr0emt2.js} +17 -17
  43. package/dist/chunks/{repository-3kjwbdcf.js → rpc-4rh22bex.js} +8 -8
  44. package/dist/chunks/{repository-tea56sn9.js → rpc-5146pxbw.js} +30 -30
  45. package/dist/chunks/{repository-qm7jrdpz.js → rpc-533t3k18.js} +5 -5
  46. package/dist/chunks/{repository-54ma36ye.js → rpc-54ma36ye.js} +1 -1
  47. package/dist/chunks/{repository-bk4cztra.js → rpc-54sgfqm0.js} +6 -6
  48. package/dist/chunks/{repository-56gdpj1q.js → rpc-56gdpj1q.js} +2 -2
  49. package/dist/chunks/{repository-6d58n71n.js → rpc-56sbpqpy.js} +18 -18
  50. package/dist/chunks/{repository-2fgn2we9.js → rpc-57ez7d0k.js} +9 -9
  51. package/dist/chunks/{repository-m85aqzgd.js → rpc-59sqkgcz.js} +41 -41
  52. package/dist/chunks/{repository-5daktx2q.js → rpc-5daktx2q.js} +1 -1
  53. package/dist/chunks/{repository-x23wrtd4.js → rpc-5dht68aa.js} +16 -16
  54. package/dist/chunks/{repository-db2txphp.js → rpc-5fn1j13d.js} +17 -17
  55. package/dist/chunks/{repository-kxzsw107.js → rpc-5qz9vfqb.js} +23 -23
  56. package/dist/chunks/{repository-5t3nmthw.js → rpc-5t3nmthw.js} +2 -2
  57. package/dist/chunks/{repository-rjkc8qw5.js → rpc-5tb8a3cn.js} +5 -5
  58. package/dist/chunks/{repository-zss2mcem.js → rpc-5w0ma60y.js} +8 -8
  59. package/dist/chunks/{repository-pj8e2ttv.js → rpc-61p2gn3c.js} +48 -48
  60. package/dist/chunks/{repository-fbjrfmj9.js → rpc-658hk3ar.js} +20 -20
  61. package/dist/chunks/{repository-669tq793.js → rpc-669tq793.js} +1 -1
  62. package/dist/chunks/{repository-4xvg8qhq.js → rpc-682rjw8a.js} +87 -87
  63. package/dist/chunks/{repository-q82chg0w.js → rpc-692kj7w3.js} +37 -37
  64. package/dist/chunks/{repository-f75xppwz.js → rpc-6d2xvp2z.js} +58 -58
  65. package/dist/chunks/{repository-xr3n93y1.js → rpc-6g45nwks.js} +9 -9
  66. package/dist/chunks/{repository-6msgmcgs.js → rpc-6msgmcgs.js} +1 -1
  67. package/dist/chunks/{repository-v8v68fnp.js → rpc-6p67gzpn.js} +13 -13
  68. package/dist/chunks/{repository-6pc27hjz.js → rpc-6pc27hjz.js} +2 -2
  69. package/dist/chunks/{repository-0bmz8k31.js → rpc-6q90rzng.js} +30 -30
  70. package/dist/chunks/{repository-bhq0jy72.js → rpc-6t37hax9.js} +3 -3
  71. package/dist/chunks/{repository-yn23vpp6.js → rpc-7537esrs.js} +17 -17
  72. package/dist/chunks/{repository-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{repository-8h613fcm.js → rpc-7e96yn50.js} +22 -22
  74. package/dist/chunks/{repository-10w0r48r.js → rpc-7kkv30ab.js} +3 -3
  75. package/dist/chunks/{repository-g5zdntwf.js → rpc-7yhnk20z.js} +9 -9
  76. package/dist/chunks/{repository-84txncab.js → rpc-84txncab.js} +1 -1
  77. package/dist/chunks/{repository-tcezcvh9.js → rpc-89znhe33.js} +4 -4
  78. package/dist/chunks/{repository-js2zbbsy.js → rpc-8d5kb0gn.js} +10 -10
  79. package/dist/chunks/{repository-8d7r5vzw.js → rpc-8d7r5vzw.js} +1 -1
  80. package/dist/chunks/{repository-ef9qytv4.js → rpc-8d8c4s3b.js} +15 -15
  81. package/dist/chunks/{repository-cfkxc3zx.js → rpc-8fn17prt.js} +14 -14
  82. package/dist/chunks/{repository-61d2erc5.js → rpc-8smk45yf.js} +23 -23
  83. package/dist/chunks/{repository-b7n1errk.js → rpc-8ytx492z.js} +310 -310
  84. package/dist/chunks/{repository-36mnffrz.js → rpc-8zn2na59.js} +4 -4
  85. package/dist/chunks/{repository-4pq2ykhk.js → rpc-91a17qdz.js} +9 -9
  86. package/dist/chunks/{repository-4hzcvfa9.js → rpc-946svjry.js} +19 -19
  87. package/dist/chunks/{repository-94ek1h2f.js → rpc-94ek1h2f.js} +2 -2
  88. package/dist/chunks/{repository-hnr8f6ws.js → rpc-96ctqc5x.js} +4 -4
  89. package/dist/chunks/{repository-pptf5a6z.js → rpc-9cememrc.js} +11 -11
  90. package/dist/chunks/{repository-t5fcdsyj.js → rpc-9fwpadhv.js} +5 -5
  91. package/dist/chunks/{repository-2j74qy9w.js → rpc-9gc7vjkx.js} +4 -4
  92. package/dist/chunks/{repository-s9jd6y68.js → rpc-9gwfnzdc.js} +11 -11
  93. package/dist/chunks/{repository-ah4v29zr.js → rpc-9vgxsr0f.js} +23 -23
  94. package/dist/chunks/{repository-y5rf7nzv.js → rpc-a2rpfkac.js} +4 -4
  95. package/dist/chunks/{repository-wgs8hk86.js → rpc-a3e33rv8.js} +8 -8
  96. package/dist/chunks/{repository-aaet6srn.js → rpc-aaet6srn.js} +2 -2
  97. package/dist/chunks/{repository-gp17yma0.js → rpc-aafym81k.js} +26 -26
  98. package/dist/chunks/{repository-kjnxwy2q.js → rpc-aaz57tz5.js} +9 -9
  99. package/dist/chunks/{repository-rskbfe93.js → rpc-ahtncqw7.js} +3 -3
  100. package/dist/chunks/{repository-fad6j005.js → rpc-akrnn5pm.js} +8 -8
  101. package/dist/chunks/{repository-pnpn4wz1.js → rpc-amzhydp5.js} +17 -17
  102. package/dist/chunks/{repository-k6a913mc.js → rpc-antesb8a.js} +3 -3
  103. package/dist/chunks/{repository-81ye6pg3.js → rpc-b18k1zs2.js} +23 -23
  104. package/dist/chunks/{repository-667yebj2.js → rpc-b38j3whv.js} +47 -47
  105. package/dist/chunks/{repository-7pr2hkwv.js → rpc-b4p19tx4.js} +5 -5
  106. package/dist/chunks/{repository-b6gygkdw.js → rpc-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{repository-74m68t1r.js → rpc-bg7q500h.js} +17 -17
  108. package/dist/chunks/{repository-ez9bk2es.js → rpc-bgepzekk.js} +10 -10
  109. package/dist/chunks/{repository-0xgfsmsc.js → rpc-bh4mgjf3.js} +4 -4
  110. package/dist/chunks/{repository-t8c99pq6.js → rpc-bnae1mpp.js} +187 -187
  111. package/dist/chunks/{repository-zdqwn290.js → rpc-by4ebpdc.js} +19 -19
  112. package/dist/chunks/{repository-51f5btjf.js → rpc-c8bydgjz.js} +6 -6
  113. package/dist/chunks/{repository-8nbxw31j.js → rpc-cezp6vxa.js} +9 -9
  114. package/dist/chunks/{repository-ckecvw8r.js → rpc-ckecvw8r.js} +2 -2
  115. package/dist/chunks/{repository-pf2hb43r.js → rpc-cqg8v4c7.js} +5 -5
  116. package/dist/chunks/{repository-wpzgjbhj.js → rpc-cryfzwrd.js} +33 -33
  117. package/dist/chunks/{repository-j0dca7h1.js → rpc-ctvmbjvv.js} +36 -36
  118. package/dist/chunks/{repository-ddg1taeb.js → rpc-czpmk66h.js} +6 -6
  119. package/dist/chunks/{repository-rwa9kg8s.js → rpc-d0vm0wq8.js} +16 -16
  120. package/dist/chunks/{repository-ak8wweg5.js → rpc-d2anxpr8.js} +2 -2
  121. package/dist/chunks/{repository-1n9hcfy3.js → rpc-d3zp2qn8.js} +15 -15
  122. package/dist/chunks/{repository-vjx0011y.js → rpc-d4w79z61.js} +17 -17
  123. package/dist/chunks/{repository-j290mkxf.js → rpc-dhqze9vc.js} +24 -24
  124. package/dist/chunks/{repository-djszqvmq.js → rpc-djszqvmq.js} +2 -2
  125. package/dist/chunks/{repository-xkntkrq7.js → rpc-dmqcgk4z.js} +5 -5
  126. package/dist/chunks/{repository-drwq78ky.js → rpc-drwq78ky.js} +1 -1
  127. package/dist/chunks/{repository-x8e3c47v.js → rpc-dwevmsma.js} +30 -30
  128. package/dist/chunks/{repository-7545v071.js → rpc-dytv88em.js} +5 -5
  129. package/dist/chunks/{repository-t550f9t1.js → rpc-eaj1djv9.js} +8 -8
  130. package/dist/chunks/{repository-6mksg9xh.js → rpc-eb4na3fv.js} +27 -27
  131. package/dist/chunks/{repository-ecfe7b91.js → rpc-ecfe7b91.js} +2 -2
  132. package/dist/chunks/{repository-ef5x83kb.js → rpc-ef5x83kb.js} +1 -1
  133. package/dist/chunks/{repository-g5b01x5v.js → rpc-ekyy2mhv.js} +36 -36
  134. package/dist/chunks/{repository-zcrspsvn.js → rpc-embw8kgh.js} +4 -4
  135. package/dist/chunks/{repository-14v0t5se.js → rpc-en2dwfny.js} +90 -90
  136. package/dist/chunks/{repository-etq0c3wd.js → rpc-etq0c3wd.js} +1 -1
  137. package/dist/chunks/{repository-t8cezs0c.js → rpc-f66bccwn.js} +5 -5
  138. package/dist/chunks/{repository-mdenj6n2.js → rpc-fb7qthtr.js} +22 -22
  139. package/dist/chunks/{repository-ys0z6e7b.js → rpc-fcvmnj0r.js} +26 -26
  140. package/dist/chunks/{repository-ex6sdzkj.js → rpc-fd0e9ebd.js} +13 -13
  141. package/dist/chunks/{repository-qevyghr7.js → rpc-fdv9msya.js} +5 -5
  142. package/dist/chunks/{repository-b27vhd2z.js → rpc-fm2qvscf.js} +4 -4
  143. package/dist/chunks/{repository-fqka1xvk.js → rpc-fvxg17y2.js} +3 -3
  144. package/dist/chunks/{repository-k91vaj61.js → rpc-fwgga033.js} +4 -4
  145. package/dist/chunks/{repository-ws0hhf19.js → rpc-fxtmaxyj.js} +12 -12
  146. package/dist/chunks/{repository-kc72bagp.js → rpc-fzk8ehhv.js} +5 -5
  147. package/dist/chunks/{repository-cxnbdzcm.js → rpc-g3ntd4xd.js} +50 -50
  148. package/dist/chunks/{repository-gd4qta3r.js → rpc-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{repository-rfstt2b7.js → rpc-gmjnk6ep.js} +7 -7
  150. package/dist/chunks/{repository-gv6a8nnw.js → rpc-gv6a8nnw.js} +2 -2
  151. package/dist/chunks/{repository-0zh0x4h1.js → rpc-h2jp4waz.js} +24 -24
  152. package/dist/chunks/{repository-h6vf3j39.js → rpc-h6vf3j39.js} +1 -1
  153. package/dist/chunks/{repository-7zrv9dtw.js → rpc-hcqe9dg4.js} +23 -23
  154. package/dist/chunks/{repository-a4ae1mqs.js → rpc-hekxc47r.js} +1 -1
  155. package/dist/chunks/{repository-04atd798.js → rpc-hj4aaq0x.js} +4 -4
  156. package/dist/chunks/{repository-hx5mqagm.js → rpc-hk4xp7sk.js} +54 -54
  157. package/dist/chunks/{repository-jj3kxevf.js → rpc-hp8gp39b.js} +6 -6
  158. package/dist/chunks/{repository-mn05vpar.js → rpc-hvajpj5a.js} +17 -17
  159. package/dist/chunks/{repository-y5df08dr.js → rpc-hx5ww8wt.js} +12 -12
  160. package/dist/chunks/{repository-9qrdrmps.js → rpc-j2hgmjn3.js} +15 -15
  161. package/dist/chunks/{repository-j56e64zr.js → rpc-j56e64zr.js} +1 -1
  162. package/dist/chunks/{repository-0a237mzv.js → rpc-jbega7th.js} +12 -12
  163. package/dist/chunks/{repository-yqgpt25r.js → rpc-jbkjygfb.js} +32 -32
  164. package/dist/chunks/{repository-0magjvjs.js → rpc-jc9759m4.js} +17 -17
  165. package/dist/chunks/{repository-ts1yq6xm.js → rpc-jmttzreg.js} +30 -30
  166. package/dist/chunks/{repository-23tvs9mh.js → rpc-jrv9zaag.js} +25 -25
  167. package/dist/chunks/{repository-tt62nkee.js → rpc-k14mz5r3.js} +34 -34
  168. package/dist/chunks/{repository-k3c624dm.js → rpc-k3c624dm.js} +3 -3
  169. package/dist/chunks/{repository-5txyz6kk.js → rpc-k8m084bz.js} +9 -9
  170. package/dist/chunks/{repository-nz569jqt.js → rpc-kbqjp078.js} +5 -5
  171. package/dist/chunks/{repository-m3fdjcah.js → rpc-m3fdjcah.js} +1 -1
  172. package/dist/chunks/{repository-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
  173. package/dist/chunks/{repository-3xcbwh8b.js → rpc-maff49ax.js} +3 -3
  174. package/dist/chunks/{repository-z0vv805r.js → rpc-mcbtmp24.js} +34 -34
  175. package/dist/chunks/{repository-xts7ca3t.js → rpc-mdpssxg0.js} +11 -11
  176. package/dist/chunks/rpc-mhrcjgnb.js +26 -0
  177. package/dist/chunks/{repository-dx8av2x7.js → rpc-mjrfwaps.js} +20 -20
  178. package/dist/chunks/{repository-ee7enzjx.js → rpc-mkeasgba.js} +3 -3
  179. package/dist/chunks/{repository-apg4ryxk.js → rpc-mkya1vkq.js} +7 -7
  180. package/dist/chunks/{repository-e0dagena.js → rpc-n1bpmmce.js} +20 -20
  181. package/dist/chunks/{repository-h57x98jw.js → rpc-n2pdwfck.js} +8 -8
  182. package/dist/chunks/{repository-436fakxd.js → rpc-n3s1wep9.js} +44 -44
  183. package/dist/chunks/{repository-0k9hz50x.js → rpc-ndd4s1hb.js} +19 -19
  184. package/dist/chunks/{repository-qf2587vm.js → rpc-njhxfh55.js} +31 -31
  185. package/dist/chunks/{repository-pnv527nz.js → rpc-nq7qbqzc.js} +9 -9
  186. package/dist/chunks/{repository-p1pf9hx4.js → rpc-nxpjk0n4.js} +18 -18
  187. package/dist/chunks/{repository-bxg2qx57.js → rpc-p1p7yams.js} +4 -4
  188. package/dist/chunks/{repository-d2czbp48.js → rpc-p6wxjpka.js} +4 -4
  189. package/dist/chunks/{repository-tj650tt1.js → rpc-p9sy75vy.js} +20 -20
  190. package/dist/chunks/rpc-pf31ssb9.js +18 -0
  191. package/dist/chunks/{repository-pjvnvgmy.js → rpc-pjvnvgmy.js} +1 -1
  192. package/dist/chunks/{repository-pknna89w.js → rpc-pknna89w.js} +1 -1
  193. package/dist/chunks/{repository-fkdqjgjc.js → rpc-px383m71.js} +23 -23
  194. package/dist/chunks/{repository-3sfbkq17.js → rpc-q6zw89mm.js} +9 -9
  195. package/dist/chunks/{repository-c87t5eya.js → rpc-q7dmtnxx.js} +32 -32
  196. package/dist/chunks/{repository-jw7mqvhb.js → rpc-q83t8ykt.js} +24 -24
  197. package/dist/chunks/{repository-21y796mf.js → rpc-q8nwh079.js} +15 -15
  198. package/dist/chunks/{repository-d68cj2ze.js → rpc-q95fwmf1.js} +26 -26
  199. package/dist/chunks/{repository-tgthxese.js → rpc-qbmejtr1.js} +5 -5
  200. package/dist/chunks/{repository-bay05q8f.js → rpc-qdwhejxn.js} +16 -16
  201. package/dist/chunks/{repository-b0v5ywzm.js → rpc-qf2h8j7x.js} +11 -11
  202. package/dist/chunks/{repository-knxfq3yn.js → rpc-qhhddrhx.js} +13 -13
  203. package/dist/chunks/{repository-9cr16z8x.js → rpc-qhke4dz0.js} +8 -8
  204. package/dist/chunks/{repository-cavr175a.js → rpc-qj8eh1ht.js} +4 -4
  205. package/dist/chunks/{repository-86m00gc1.js → rpc-qmx1h8v8.js} +8 -8
  206. package/dist/chunks/{repository-a6azfam0.js → rpc-qpbm3ztw.js} +2 -2
  207. package/dist/chunks/{repository-qsdy395h.js → rpc-qsdy395h.js} +1 -1
  208. package/dist/chunks/{repository-f6ky630e.js → rpc-qtsqcjpr.js} +38 -38
  209. package/dist/chunks/{repository-25cs5cen.js → rpc-qvb3nf84.js} +8 -8
  210. package/dist/chunks/{repository-wqbbhmw9.js → rpc-r11hkjk4.js} +18 -18
  211. package/dist/chunks/{repository-tqs9jcf6.js → rpc-r3pyn2sd.js} +22 -22
  212. package/dist/chunks/{repository-73tb2d7t.js → rpc-r5x6zcsm.js} +3 -3
  213. package/dist/chunks/{repository-z2018skw.js → rpc-rdg24yab.js} +12 -12
  214. package/dist/chunks/{repository-rdw6cm16.js → rpc-rdw6cm16.js} +1 -1
  215. package/dist/chunks/{repository-mmsj8dfy.js → rpc-rm7hx2h9.js} +21 -21
  216. package/dist/chunks/{repository-dpja8khg.js → rpc-rsp3dmjs.js} +43 -43
  217. package/dist/chunks/{repository-f1gpw9yy.js → rpc-rtzzq57v.js} +8 -8
  218. package/dist/chunks/{repository-0ztvbm79.js → rpc-rz9de3a5.js} +29 -29
  219. package/dist/chunks/{repository-fmqp2bpe.js → rpc-s02jbxs5.js} +27 -27
  220. package/dist/chunks/{repository-4f06rze2.js → rpc-s2csw21s.js} +10 -10
  221. package/dist/chunks/{repository-yt0fqk68.js → rpc-s8zy8myc.js} +5 -5
  222. package/dist/chunks/{repository-f346y1sz.js → rpc-sn70db0p.js} +10 -10
  223. package/dist/chunks/{repository-6t45mx4g.js → rpc-snf13aa5.js} +24 -24
  224. package/dist/chunks/{repository-40v6kns3.js → rpc-syaeh5dc.js} +9 -9
  225. package/dist/chunks/{repository-s6sgn3gb.js → rpc-sz63pebb.js} +26 -26
  226. package/dist/chunks/{repository-6b8mt4qe.js → rpc-t1jms00y.js} +18 -18
  227. package/dist/chunks/{repository-rzecepek.js → rpc-t43fmngk.js} +10 -10
  228. package/dist/chunks/{repository-tazgh4e4.js → rpc-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{repository-84npfg6g.js → rpc-tbdvezg6.js} +22 -22
  230. package/dist/chunks/{repository-rpt1dgh1.js → rpc-tbwm0nt3.js} +11 -11
  231. package/dist/chunks/{repository-tdstcens.js → rpc-tdstcens.js} +1 -1
  232. package/dist/chunks/{repository-pa8pe2x7.js → rpc-tpw6cwsb.js} +8 -8
  233. package/dist/chunks/{repository-tvtrv512.js → rpc-tvtrv512.js} +1 -1
  234. package/dist/chunks/{repository-cegyq325.js → rpc-tw7s424j.js} +5 -5
  235. package/dist/chunks/{repository-smzj8rfw.js → rpc-tznb5qaq.js} +25 -25
  236. package/dist/chunks/{repository-hr7n7dfk.js → rpc-v2b68ckw.js} +39 -39
  237. package/dist/chunks/{repository-ve0yqpdc.js → rpc-v9achbqy.js} +18 -18
  238. package/dist/chunks/{repository-5rf1rhax.js → rpc-va7p1h3t.js} +24 -24
  239. package/dist/chunks/{repository-veqvce7d.js → rpc-veqvce7d.js} +1 -1
  240. package/dist/chunks/{repository-0v53mg2y.js → rpc-vncycja5.js} +4 -4
  241. package/dist/chunks/{repository-kg3dqxfj.js → rpc-vnx05bne.js} +3 -3
  242. package/dist/chunks/{repository-krswtk6s.js → rpc-vrffbp44.js} +6 -6
  243. package/dist/chunks/{repository-b7sdn3j2.js → rpc-vvdghh7g.js} +11 -11
  244. package/dist/chunks/{repository-kxgkk26h.js → rpc-vw19fjw8.js} +15 -15
  245. package/dist/chunks/{repository-vzcthcp8.js → rpc-vzcthcp8.js} +1 -1
  246. package/dist/chunks/{repository-vzs5sf6e.js → rpc-vzs5sf6e.js} +1 -1
  247. package/dist/chunks/{repository-ttqxpwhe.js → rpc-w1xvrbj5.js} +20 -20
  248. package/dist/chunks/{repository-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{repository-pdbx26ag.js → rpc-w547y7sk.js} +7 -7
  250. package/dist/chunks/{repository-f58hpvk1.js → rpc-w6gfe054.js} +10 -10
  251. package/dist/chunks/{repository-2hkadfk1.js → rpc-w7w2jjhx.js} +20 -20
  252. package/dist/chunks/{repository-fsbk27r1.js → rpc-w9vf9qqj.js} +9 -9
  253. package/dist/chunks/{repository-qjnxxf51.js → rpc-wbkyxrgf.js} +5 -5
  254. package/dist/chunks/{repository-wd3x2cqz.js → rpc-wd3x2cqz.js} +2 -2
  255. package/dist/chunks/{repository-wd87259q.js → rpc-wd87259q.js} +1 -1
  256. package/dist/chunks/{repository-2rahks1y.js → rpc-wdr62gh7.js} +32 -32
  257. package/dist/chunks/{repository-82gfdtdv.js → rpc-wee23531.js} +11 -11
  258. package/dist/chunks/{repository-6gb6ah6k.js → rpc-wg9j838r.js} +1 -1
  259. package/dist/chunks/{repository-fdw6x2n6.js → rpc-wgq3tw2n.js} +32 -32
  260. package/dist/chunks/{repository-82rhge12.js → rpc-wk5z6jzv.js} +9 -9
  261. package/dist/chunks/{repository-ahjyxdwj.js → rpc-wnzb6xvf.js} +15 -15
  262. package/dist/chunks/{repository-pccq72bz.js → rpc-wq4mmp7m.js} +4 -4
  263. package/dist/chunks/{repository-1dak9s0j.js → rpc-wtcb6vs4.js} +24 -24
  264. package/dist/chunks/{repository-60ycj86c.js → rpc-wxfc6s8g.js} +21 -21
  265. package/dist/chunks/{repository-x1ezjp6w.js → rpc-x1ezjp6w.js} +1 -1
  266. package/dist/chunks/{repository-wzvzbcsg.js → rpc-x6p7tmnf.js} +12 -12
  267. package/dist/chunks/{repository-8e7h0d3g.js → rpc-xe1rq30m.js} +1 -1
  268. package/dist/chunks/{repository-zg91g03d.js → rpc-xef3vhss.js} +33 -33
  269. package/dist/chunks/{repository-xbnvh8b8.js → rpc-xmhzgq26.js} +17 -17
  270. package/dist/chunks/{repository-3373zw91.js → rpc-xvwyzs5x.js} +11 -11
  271. package/dist/chunks/{repository-y1fvbwt7.js → rpc-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{repository-dnxkq42g.js → rpc-y6bex35g.js} +4 -4
  273. package/dist/chunks/{repository-y71avatq.js → rpc-y71avatq.js} +1 -1
  274. package/dist/chunks/{repository-mm244bga.js → rpc-y82bc83e.js} +30 -30
  275. package/dist/chunks/{repository-x1fz7ram.js → rpc-y9x49r01.js} +15 -15
  276. package/dist/chunks/{repository-5jr1zcyz.js → rpc-yc3z08e9.js} +43 -43
  277. package/dist/chunks/{repository-xkyyaqys.js → rpc-ydkeg25k.js} +13 -13
  278. package/dist/chunks/{repository-d7fh38br.js → rpc-ygpp3mx7.js} +11 -11
  279. package/dist/chunks/{repository-ckb64qrr.js → rpc-ynpc68wq.js} +19 -19
  280. package/dist/chunks/{repository-f2n192rq.js → rpc-yp2x3t23.js} +4 -4
  281. package/dist/chunks/{repository-yrhqyw5v.js → rpc-yrhqyw5v.js} +1 -1
  282. package/dist/chunks/{repository-yrznvahk.js → rpc-yrznvahk.js} +2 -2
  283. package/dist/chunks/{repository-7wv6t35z.js → rpc-yv1rk2qz.js} +11 -11
  284. package/dist/chunks/{repository-z07pqspn.js → rpc-z07pqspn.js} +3 -3
  285. package/dist/chunks/{repository-z0bkrqjs.js → rpc-z0bkrqjs.js} +1 -1
  286. package/dist/chunks/{repository-bkgg21ch.js → rpc-z1q79rtb.js} +8 -8
  287. package/dist/chunks/{repository-z63w68vq.js → rpc-z63w68vq.js} +2 -2
  288. package/dist/chunks/{repository-zeh9ct20.js → rpc-zeh9ct20.js} +2 -2
  289. package/dist/chunks/{repository-zr2ceqn5.js → rpc-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{repository-zxq2ej10.js → rpc-zxq2ej10.js} +1 -1
  291. package/dist/chunks/{repository-5qedxm44.js → rpc-zyyvvwzg.js} +11 -11
  292. package/dist/chunks/{repository-sqdvw4xb.js → rpc-zzrx66n5.js} +6 -6
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +5 -5
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +83 -83
  298. package/dist/config/discovery.js +84 -84
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +123 -123
  302. package/dist/config/plugin/command.js +213 -213
  303. package/dist/config/plugin/compaction.js +161 -161
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +123 -123
  310. package/dist/config/plugin/mcp.js +130 -130
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +123 -123
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +142 -142
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +120 -120
  319. package/dist/config/plugin/tool-output.js +123 -123
  320. package/dist/config/plugin/websearch.js +122 -122
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +128 -128
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +85 -85
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +372 -372
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +1 -1
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +70 -70
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +2 -2
  426. package/dist/filesystem/location-watcher.js +222 -222
  427. package/dist/filesystem/protected.js +3 -3
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +15 -15
  431. package/dist/filesystem.js +106 -106
  432. package/dist/form.js +84 -84
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +87 -87
  435. package/dist/generate.js +103 -103
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +99 -99
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +363 -363
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +5 -5
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +87 -87
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +132 -132
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +360 -360
  473. package/dist/location.js +87 -87
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +109 -109
  477. package/dist/mcp/instructions.js +127 -127
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +99 -99
  482. package/dist/model-resolver.js +98 -98
  483. package/dist/model.js +100 -100
  484. package/dist/models-dev.js +107 -107
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +82 -82
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +113 -113
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +88 -88
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +102 -102
  495. package/dist/plugin/command.js +100 -100
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +219 -219
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +335 -335
  501. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  502. package/dist/plugin/models-dev.js +96 -96
  503. package/dist/plugin/module.js +5 -5
  504. package/dist/plugin/optimize.js +2 -2
  505. package/dist/plugin/plan.js +102 -102
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  508. package/dist/plugin/provider/azure.js +122 -122
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/chatgpt.js +93 -93
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +119 -119
  515. package/dist/plugin/provider/digitalocean.js +93 -93
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +95 -95
  520. package/dist/plugin/provider/gitlab.js +93 -93
  521. package/dist/plugin/provider/google-vertex.js +90 -90
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +78 -78
  524. package/dist/plugin/provider/lmstudio.js +120 -120
  525. package/dist/plugin/provider/modal.js +92 -92
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +122 -122
  528. package/dist/plugin/provider/openai.js +93 -93
  529. package/dist/plugin/provider/opencode.js +95 -95
  530. package/dist/plugin/provider/openrouter.js +91 -91
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +79 -79
  533. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  534. package/dist/plugin/provider/sap-ai-core.js +91 -91
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +90 -90
  539. package/dist/plugin/provider/vllm.js +120 -120
  540. package/dist/plugin/provider/xai.js +91 -91
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +163 -163
  543. package/dist/plugin/sdk.js +74 -74
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +139 -139
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +350 -350
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +86 -86
  551. package/dist/plugin/vcs/hg.js +86 -86
  552. package/dist/plugin/verbosity.js +93 -93
  553. package/dist/plugin/warming.js +119 -119
  554. package/dist/plugin/websearch/exa.js +5 -5
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +2 -2
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +226 -226
  562. package/dist/project/schema.js +8 -8
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +88 -88
  565. package/dist/provider.js +101 -101
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +91 -91
  569. package/dist/reference/instructions.js +87 -87
  570. package/dist/reference.js +91 -91
  571. package/dist/repository-cache.js +81 -81
  572. package/dist/repository.js +1 -1
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +95 -95
  575. package/dist/rpc.js +86 -86
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +129 -129
  580. package/dist/session/context.js +153 -153
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +5 -5
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +222 -222
  586. package/dist/session/execution.js +126 -126
  587. package/dist/session/generate.js +152 -152
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +88 -88
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +77 -77
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +4 -4
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +120 -120
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +230 -230
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +4 -4
  610. package/dist/session/runner/step.js +124 -124
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +170 -170
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +73 -73
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +209 -209
  621. package/dist/session/system-prompt.js +1 -1
  622. package/dist/session/title.js +151 -151
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +218 -218
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +221 -221
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +11 -11
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +105 -105
  634. package/dist/skill.js +112 -112
  635. package/dist/snapshot.js +91 -91
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +126 -126
  640. package/dist/tool/plugin/edit.js +114 -114
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +122 -122
  643. package/dist/tool/plugin/grep.js +122 -122
  644. package/dist/tool/plugin/mcp-resource.js +117 -117
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +120 -120
  647. package/dist/tool/plugin/question.js +103 -103
  648. package/dist/tool/plugin/read.js +123 -123
  649. package/dist/tool/plugin/shell.js +216 -216
  650. package/dist/tool/plugin/skill.js +111 -111
  651. package/dist/tool/plugin/subagent.js +220 -220
  652. package/dist/tool/plugin/webfetch.js +110 -110
  653. package/dist/tool/plugin/websearch.js +112 -112
  654. package/dist/tool/plugin/write.js +120 -120
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +14 -14
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +5 -5
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +3 -3
  671. package/dist/v1/config/config.js +16 -16
  672. package/dist/v1/config/error.js +2 -2
  673. package/dist/v1/config/formatter.js +5 -5
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +3 -3
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +92 -92
  678. package/dist/v1/config/permission.js +3 -3
  679. package/dist/v1/config/plugin.js +3 -3
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +3 -3
  684. package/dist/v1/permission.js +1 -1
  685. package/dist/variant.js +93 -93
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +87 -87
  688. package/dist/websearch.js +84 -84
  689. package/dist/wellknown/plugin.js +74 -74
  690. package/dist/wellknown.js +79 -79
  691. package/dist/workspace/driver.js +7 -7
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +80 -80
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +10 -10
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +89 -89
  698. package/dist/worktree.js +96 -96
  699. package/package.json +8 -8
  700. package/dist/chunks/repository-3snht0cr.js +0 -252
  701. package/dist/chunks/repository-6evwh1wj.js +0 -26
  702. package/dist/chunks/repository-by5v678g.js +0 -18
  703. /package/dist/chunks/{repository-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
  704. /package/dist/chunks/{repository-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
  705. /package/dist/chunks/{repository-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
  706. /package/dist/chunks/{repository-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
  707. /package/dist/chunks/{repository-1kg9ymc8.js → rpc-1kg9ymc8.js} +0 -0
  708. /package/dist/chunks/{repository-24dcb14g.js → rpc-24dcb14g.js} +0 -0
  709. /package/dist/chunks/{repository-2710q6r3.js → rpc-2710q6r3.js} +0 -0
  710. /package/dist/chunks/{repository-2axfhc9x.js → rpc-2axfhc9x.js} +0 -0
  711. /package/dist/chunks/{repository-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
  712. /package/dist/chunks/{repository-34c7v6d4.js → rpc-34c7v6d4.js} +0 -0
  713. /package/dist/chunks/{repository-359p4xyc.js → rpc-359p4xyc.js} +0 -0
  714. /package/dist/chunks/{repository-3asan66x.js → rpc-3asan66x.js} +0 -0
  715. /package/dist/chunks/{repository-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
  716. /package/dist/chunks/{repository-3w5fmr99.js → rpc-3w5fmr99.js} +0 -0
  717. /package/dist/chunks/{repository-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
  718. /package/dist/chunks/{repository-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
  719. /package/dist/chunks/{repository-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
  720. /package/dist/chunks/{repository-4vcrnpx2.js → rpc-4vcrnpx2.js} +0 -0
  721. /package/dist/chunks/{repository-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
  722. /package/dist/chunks/{repository-53557ph1.js → rpc-53557ph1.js} +0 -0
  723. /package/dist/chunks/{repository-550bvhaj.js → rpc-550bvhaj.js} +0 -0
  724. /package/dist/chunks/{repository-5qd3pb7m.js → rpc-5qd3pb7m.js} +0 -0
  725. /package/dist/chunks/{repository-6prwharc.js → rpc-6prwharc.js} +0 -0
  726. /package/dist/chunks/{repository-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
  727. /package/dist/chunks/{repository-7m9af43g.js → rpc-7m9af43g.js} +0 -0
  728. /package/dist/chunks/{repository-822emrt2.js → rpc-822emrt2.js} +0 -0
  729. /package/dist/chunks/{repository-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
  730. /package/dist/chunks/{repository-8n3pysct.js → rpc-8n3pysct.js} +0 -0
  731. /package/dist/chunks/{repository-8wj87zfr.js → rpc-8wj87zfr.js} +0 -0
  732. /package/dist/chunks/{repository-922hggd3.js → rpc-922hggd3.js} +0 -0
  733. /package/dist/chunks/{repository-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
  734. /package/dist/chunks/{repository-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
  735. /package/dist/chunks/{repository-a6k6eb26.js → rpc-a6k6eb26.js} +0 -0
  736. /package/dist/chunks/{repository-af5trqkr.js → rpc-af5trqkr.js} +0 -0
  737. /package/dist/chunks/{repository-afrmfg78.js → rpc-afrmfg78.js} +0 -0
  738. /package/dist/chunks/{repository-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
  739. /package/dist/chunks/{repository-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
  740. /package/dist/chunks/{repository-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
  741. /package/dist/chunks/{repository-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
  742. /package/dist/chunks/{repository-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
  743. /package/dist/chunks/{repository-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
  744. /package/dist/chunks/{repository-d9fn303g.js → rpc-d9fn303g.js} +0 -0
  745. /package/dist/chunks/{repository-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
  746. /package/dist/chunks/{repository-dajrwvna.js → rpc-dajrwvna.js} +0 -0
  747. /package/dist/chunks/{repository-dap0rakb.js → rpc-dap0rakb.js} +0 -0
  748. /package/dist/chunks/{repository-df08tz66.js → rpc-df08tz66.js} +0 -0
  749. /package/dist/chunks/{repository-dy18nga0.js → rpc-dy18nga0.js} +0 -0
  750. /package/dist/chunks/{repository-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
  751. /package/dist/chunks/{repository-e73j6tqm.js → rpc-e73j6tqm.js} +0 -0
  752. /package/dist/chunks/{repository-ec1grn59.js → rpc-ec1grn59.js} +0 -0
  753. /package/dist/chunks/{repository-eh3zwz77.js → rpc-eh3zwz77.js} +0 -0
  754. /package/dist/chunks/{repository-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
  755. /package/dist/chunks/{repository-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
  756. /package/dist/chunks/{repository-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
  757. /package/dist/chunks/{repository-faypxj3z.js → rpc-faypxj3z.js} +0 -0
  758. /package/dist/chunks/{repository-fd410y7t.js → rpc-fd410y7t.js} +0 -0
  759. /package/dist/chunks/{repository-fxgpk5d8.js → rpc-fxgpk5d8.js} +0 -0
  760. /package/dist/chunks/{repository-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
  761. /package/dist/chunks/{repository-g86h250q.js → rpc-g86h250q.js} +0 -0
  762. /package/dist/chunks/{repository-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
  763. /package/dist/chunks/{repository-gftt206x.js → rpc-gftt206x.js} +0 -0
  764. /package/dist/chunks/{repository-hjbc5kem.js → rpc-hjbc5kem.js} +0 -0
  765. /package/dist/chunks/{repository-hk9envan.js → rpc-hk9envan.js} +0 -0
  766. /package/dist/chunks/{repository-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
  767. /package/dist/chunks/{repository-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
  768. /package/dist/chunks/{repository-jjkms2e6.js → rpc-jjkms2e6.js} +0 -0
  769. /package/dist/chunks/{repository-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
  770. /package/dist/chunks/{repository-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
  771. /package/dist/chunks/{repository-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
  772. /package/dist/chunks/{repository-mp448xyj.js → rpc-mp448xyj.js} +0 -0
  773. /package/dist/chunks/{repository-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
  774. /package/dist/chunks/{repository-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
  775. /package/dist/chunks/{repository-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
  776. /package/dist/chunks/{repository-njntx4h6.js → rpc-njntx4h6.js} +0 -0
  777. /package/dist/chunks/{repository-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
  778. /package/dist/chunks/{repository-q74kybfr.js → rpc-q74kybfr.js} +0 -0
  779. /package/dist/chunks/{repository-qaymkmh1.js → rpc-qaymkmh1.js} +0 -0
  780. /package/dist/chunks/{repository-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
  781. /package/dist/chunks/{repository-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
  782. /package/dist/chunks/{repository-qg3g05ea.js → rpc-qg3g05ea.js} +0 -0
  783. /package/dist/chunks/{repository-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
  784. /package/dist/chunks/{repository-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
  785. /package/dist/chunks/{repository-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
  786. /package/dist/chunks/{repository-sk3qaz4a.js → rpc-sk3qaz4a.js} +0 -0
  787. /package/dist/chunks/{repository-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
  788. /package/dist/chunks/{repository-w803qqfp.js → rpc-w803qqfp.js} +0 -0
  789. /package/dist/chunks/{repository-wc3fc9cn.js → rpc-wc3fc9cn.js} +0 -0
  790. /package/dist/chunks/{repository-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
  791. /package/dist/chunks/{repository-wtztk69x.js → rpc-wtztk69x.js} +0 -0
  792. /package/dist/chunks/{repository-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
  793. /package/dist/chunks/{repository-x61499pn.js → rpc-x61499pn.js} +0 -0
  794. /package/dist/chunks/{repository-y44na4kk.js → rpc-y44na4kk.js} +0 -0
  795. /package/dist/chunks/{repository-y8cydn3q.js → rpc-y8cydn3q.js} +0 -0
  796. /package/dist/chunks/{repository-y8f7s663.js → rpc-y8f7s663.js} +0 -0
  797. /package/dist/chunks/{repository-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
  798. /package/dist/chunks/{repository-ym463w8f.js → rpc-ym463w8f.js} +0 -0
  799. /package/dist/chunks/{repository-z9919s4g.js → rpc-z9919s4g.js} +0 -0
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./repository-10w0r48r.js";
4
+ } from "./rpc-7kkv30ab.js";
5
5
  import {
6
6
  Service83,
7
7
  node87
8
- } from "./repository-04atd798.js";
8
+ } from "./rpc-hj4aaq0x.js";
9
9
  import {
10
- Service50,
11
- node52
12
- } from "./repository-0magjvjs.js";
10
+ Service51,
11
+ node53
12
+ } from "./rpc-jc9759m4.js";
13
13
  import {
14
- Service44,
15
- node46
16
- } from "./repository-51f5btjf.js";
14
+ Service49,
15
+ node51
16
+ } from "./rpc-c8bydgjz.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./repository-ec1grn59.js";
19
+ } from "./rpc-ec1grn59.js";
20
20
  import {
21
- make15
22
- } from "./repository-f2n192rq.js";
21
+ make16
22
+ } from "./rpc-yp2x3t23.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service41
26
- } from "./repository-zcrspsvn.js";
25
+ Service47
26
+ } from "./rpc-embw8kgh.js";
27
27
  import {
28
- Service56,
29
- node59
30
- } from "./repository-cfkxc3zx.js";
28
+ Service72,
29
+ node76
30
+ } from "./rpc-8fn17prt.js";
31
31
  import {
32
32
  toSessionError2
33
- } from "./repository-tgthxese.js";
33
+ } from "./rpc-qbmejtr1.js";
34
34
  import {
35
35
  nextPromotable2
36
- } from "./repository-dx8av2x7.js";
36
+ } from "./rpc-mjrfwaps.js";
37
37
  import {
38
38
  __export
39
- } from "./repository-9rqn6x4v.js";
39
+ } from "./rpc-9rqn6x4v.js";
40
40
 
41
41
  // src/session/execution.ts
42
42
  var exports_execution = {};
43
43
  __export(exports_execution, {
44
- Service: () => Service40,
44
+ Service: () => Service46,
45
45
  SessionExecution: () => exports_execution,
46
- layer: () => layer17,
47
- node: () => node43,
46
+ layer: () => layer18,
47
+ node: () => node49,
48
48
  noopLayer: () => noopLayer2,
49
49
  terminal: () => terminal2
50
50
  });
51
51
  import { Cause, Context, Effect, Exit, Layer } from "effect";
52
52
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
53
- class Service40 extends Context.Service()("@opencode/SessionExecution") {
53
+ class Service46 extends Context.Service()("@opencode/SessionExecution") {
54
54
  }
55
55
  function terminal2(exit, reason) {
56
56
  if (Exit.isSuccess(exit))
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
59
59
  return { type: "interrupted", reason: reason ?? "shutdown" };
60
60
  return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
61
61
  }
62
- var layer17 = Layer.effect(Service40, Effect.gen(function* () {
63
- const store = yield* Service56;
64
- const instances = yield* Service44;
62
+ var layer18 = Layer.effect(Service46, Effect.gen(function* () {
63
+ const store = yield* Service72;
64
+ const instances = yield* Service49;
65
65
  const bus = yield* Service83;
66
- const jobs = yield* Service50;
66
+ const jobs = yield* Service51;
67
67
  const db = (yield* Service84).db;
68
68
  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);
69
69
  const claimOnCommit = (sessionID) => ({
@@ -76,14 +76,14 @@ var layer17 = Layer.effect(Service40, Effect.gen(function* () {
76
76
  const session = yield* store.get(sessionID);
77
77
  if (!session)
78
78
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
79
- const result = yield* Service41.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 }))));
79
+ const result = yield* Service47.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 }))));
80
80
  return yield* DrainResult2.$match(result, {
81
81
  Complete: () => Effect.void,
82
82
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
83
83
  Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
84
84
  });
85
85
  });
86
- const coordinator = yield* make15({
86
+ const coordinator = yield* make16({
87
87
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
88
88
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
89
89
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -104,7 +104,7 @@ var layer17 = Layer.effect(Service40, Effect.gen(function* () {
104
104
  }, releaseOnCommit(sessionID));
105
105
  }))
106
106
  });
107
- return Service40.of({
107
+ return Service46.of({
108
108
  active: coordinator.active,
109
109
  isActive: coordinator.isActive,
110
110
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -123,12 +123,12 @@ var layer17 = Layer.effect(Service40, Effect.gen(function* () {
123
123
  awaitIdle: coordinator.awaitIdle
124
124
  });
125
125
  }));
126
- var node43 = makeGlobalNode({
127
- service: Service40,
128
- layer: layer17,
129
- deps: [node59, node46, node87, node88, node52]
126
+ var node49 = makeGlobalNode({
127
+ service: Service46,
128
+ layer: layer18,
129
+ deps: [node76, node51, node87, node88, node53]
130
130
  });
131
- var noopLayer2 = Layer.succeed(Service40, Service40.of({
131
+ var noopLayer2 = Layer.succeed(Service46, Service46.of({
132
132
  active: Effect.succeed(new Set),
133
133
  isActive: () => Effect.succeed(false),
134
134
  resume: () => Effect.void,
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service40, Service40.of({
137
137
  awaitIdle: () => Effect.void
138
138
  }));
139
139
 
140
- export { Service40, terminal2, layer17, node43, noopLayer2, exports_execution };
140
+ export { Service46, terminal2, layer18, node49, noopLayer2, exports_execution };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-9rqn6x4v.js";
3
+ } from "./rpc-9rqn6x4v.js";
4
4
 
5
5
  // src/session/runner/index.ts
6
6
  var exports_runner = {};
7
7
  __export(exports_runner, {
8
8
  DrainResult: () => DrainResult2,
9
- Service: () => Service41,
9
+ Service: () => Service47,
10
10
  SessionRunner: () => exports_runner
11
11
  });
12
12
  import { Context, Data } from "effect";
13
13
  var DrainResult2 = Data.taggedEnum();
14
14
 
15
- class Service41 extends Context.Service()("@opencode/SessionRunner") {
15
+ class Service47 extends Context.Service()("@opencode/SessionRunner") {
16
16
  }
17
17
 
18
- export { DrainResult2, Service41, exports_runner };
18
+ export { DrainResult2, Service47, exports_runner };
@@ -1,56 +1,56 @@
1
1
  import {
2
- ID10,
3
- Info22,
2
+ ID14,
3
+ Info30,
4
4
  SessionSchema2
5
- } from "./repository-fqka1xvk.js";
5
+ } from "./rpc-fvxg17y2.js";
6
6
  import {
7
7
  RelativePath2
8
- } from "./repository-922hggd3.js";
8
+ } from "./rpc-922hggd3.js";
9
9
  import {
10
10
  Service84,
11
11
  node88
12
- } from "./repository-10w0r48r.js";
12
+ } from "./rpc-7kkv30ab.js";
13
13
  import {
14
14
  isSynced2,
15
15
  Service83,
16
16
  node87
17
- } from "./repository-04atd798.js";
17
+ } from "./rpc-hj4aaq0x.js";
18
18
  import {
19
- Service80,
20
- node84
21
- } from "./repository-hr7n7dfk.js";
19
+ Service79,
20
+ node83
21
+ } from "./rpc-v2b68ckw.js";
22
22
  import {
23
- Service44,
24
- node46
25
- } from "./repository-51f5btjf.js";
23
+ Service49,
24
+ node51
25
+ } from "./rpc-c8bydgjz.js";
26
26
  import {
27
27
  SessionEvent2
28
- } from "./repository-ec1grn59.js";
28
+ } from "./rpc-ec1grn59.js";
29
29
  import {
30
30
  SessionMessageTable2
31
- } from "./repository-z07pqspn.js";
31
+ } from "./rpc-z07pqspn.js";
32
32
  import {
33
- node44
34
- } from "./repository-dx8av2x7.js";
33
+ node50
34
+ } from "./rpc-mjrfwaps.js";
35
35
  import {
36
36
  current2
37
- } from "./repository-pccq72bz.js";
37
+ } from "./rpc-wq4mmp7m.js";
38
38
  import {
39
39
  snapshot2
40
- } from "./repository-bxcevcrv.js";
40
+ } from "./rpc-3sj2hmhn.js";
41
41
  import {
42
42
  Slug2
43
- } from "./repository-gebd4c9n.js";
43
+ } from "./rpc-gebd4c9n.js";
44
44
  import {
45
45
  SessionAlreadyProjected2,
46
- node31
47
- } from "./repository-6b8mt4qe.js";
46
+ node23
47
+ } from "./rpc-t1jms00y.js";
48
48
  import {
49
49
  Metadata2,
50
- node56
51
- } from "./repository-4f06rze2.js";
50
+ node64
51
+ } from "./rpc-s2csw21s.js";
52
52
  import {
53
- NotFoundError9,
53
+ NotFoundError8,
54
54
  MessageNotFoundError2,
55
55
  ForkEmptyError2,
56
56
  MessageDecodeError2,
@@ -61,58 +61,58 @@ import {
61
61
  BusyError2,
62
62
  InboxConflictError2,
63
63
  SkillNotFoundError2
64
- } from "./repository-jj3kxevf.js";
64
+ } from "./rpc-hp8gp39b.js";
65
65
  import {
66
- ListInput4,
67
- Service56,
68
- node59
69
- } from "./repository-cfkxc3zx.js";
66
+ ListInput5,
67
+ Service72,
68
+ node76
69
+ } from "./rpc-8fn17prt.js";
70
70
  import {
71
- Service50,
72
- node52
73
- } from "./repository-0magjvjs.js";
71
+ Service51,
72
+ node53
73
+ } from "./rpc-jc9759m4.js";
74
74
  import {
75
- Service40,
76
- node43
77
- } from "./repository-g5b01x5v.js";
75
+ Service46,
76
+ node49
77
+ } from "./rpc-ekyy2mhv.js";
78
78
  import {
79
79
  llmClient2
80
- } from "./repository-5t3nmthw.js";
80
+ } from "./rpc-5t3nmthw.js";
81
81
  import {
82
- Service33,
83
- node37
84
- } from "./repository-5qedxm44.js";
82
+ Service24,
83
+ node28
84
+ } from "./rpc-zyyvvwzg.js";
85
85
  import {
86
86
  generate2
87
- } from "./repository-y9zw62b3.js";
87
+ } from "./rpc-0qnwgxcx.js";
88
88
  import {
89
89
  execute2
90
- } from "./repository-wgs8hk86.js";
90
+ } from "./rpc-a3e33rv8.js";
91
91
  import {
92
- Service70,
93
- node74
94
- } from "./repository-xr3n93y1.js";
92
+ Service69,
93
+ node73
94
+ } from "./rpc-6g45nwks.js";
95
95
  import {
96
96
  DestinationNotFoundError2,
97
97
  DestinationNotDirectoryError2,
98
98
  DestinationUnavailableError2,
99
- Service27,
100
- node30
101
- } from "./repository-hx5mqagm.js";
99
+ Service19,
100
+ node22
101
+ } from "./rpc-hk4xp7sk.js";
102
102
  import {
103
- Service47,
104
- node49
105
- } from "./repository-25cs5cen.js";
103
+ Service41,
104
+ node44
105
+ } from "./rpc-qvb3nf84.js";
106
106
  import {
107
107
  make13
108
- } from "./repository-x8e3c47v.js";
108
+ } from "./rpc-dwevmsma.js";
109
109
  import {
110
110
  TurnRangeError2,
111
111
  turn2
112
- } from "./repository-d7fh38br.js";
112
+ } from "./rpc-ygpp3mx7.js";
113
113
  import {
114
114
  __export
115
- } from "./repository-9rqn6x4v.js";
115
+ } from "./rpc-9rqn6x4v.js";
116
116
 
117
117
  // src/session.ts
118
118
  var exports_session = {};
@@ -123,22 +123,22 @@ __export(exports_session, {
123
123
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
124
124
  DestinationNotFoundError: () => DestinationNotFoundError2,
125
125
  DestinationUnavailableError: () => DestinationUnavailableError2,
126
- ID: () => ID10,
126
+ ID: () => ID14,
127
127
  InboxConflictError: () => InboxConflictError2,
128
- Info: () => Info22,
128
+ Info: () => Info30,
129
129
  ListAnchor: () => ListAnchor2,
130
- ListInput: () => ListInput3,
130
+ ListInput: () => ListInput2,
131
131
  MessageDecodeError: () => MessageDecodeError2,
132
132
  MessageNotFoundError: () => MessageNotFoundError2,
133
- NotFoundError: () => NotFoundError9,
133
+ NotFoundError: () => NotFoundError8,
134
134
  PromptConflictError: () => PromptConflictError2,
135
- Service: () => Service26,
135
+ Service: () => Service18,
136
136
  Session: () => exports_session,
137
137
  SessionSchema: () => SessionSchema2,
138
138
  SkillNotFoundError: () => SkillNotFoundError2,
139
139
  SyntheticConflictError: () => SyntheticConflictError2,
140
140
  TurnRangeError: () => TurnRangeError2,
141
- node: () => node29
141
+ node: () => node21
142
142
  });
143
143
  import { Effect, Layer, Schema, Context, Stream } from "effect";
144
144
  import { LLMClient } from "@opencode/ai";
@@ -148,27 +148,27 @@ import { Model } from "@opencode/schema/model";
148
148
  import path from "path";
149
149
  import { Node } from "@opencode/util/effect/app-node";
150
150
  import { FSUtil } from "@opencode/util/fs-util";
151
- var ListInput3 = ListInput4;
152
- class Service26 extends Context.Service()("@opencode/Session") {
151
+ var ListInput2 = ListInput5;
152
+ class Service18 extends Context.Service()("@opencode/Session") {
153
153
  }
154
- var layer = Layer.effect(Service26, Effect.gen(function* () {
154
+ var layer = Layer.effect(Service18, Effect.gen(function* () {
155
155
  const app = yield* Metadata2;
156
156
  const database = yield* Service84;
157
157
  const db = database.db;
158
158
  const bus = yield* Service83;
159
- const projects = yield* Service80;
160
- const execution = yield* Service40;
159
+ const projects = yield* Service79;
160
+ const execution = yield* Service46;
161
161
  const llm = yield* LLMClient.Service;
162
- const transport = yield* Service33;
163
- const store = yield* Service56;
164
- const instances = yield* Service44;
165
- const moves = yield* Service27;
166
- const jobs = yield* Service50;
167
- const environments = yield* Service47;
168
- const locations = yield* Service70;
162
+ const transport = yield* Service24;
163
+ const store = yield* Service72;
164
+ const instances = yield* Service49;
165
+ const moves = yield* Service19;
166
+ const jobs = yield* Service51;
167
+ const environments = yield* Service41;
168
+ const locations = yield* Service69;
169
169
  const sessions = yield* make13();
170
170
  const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
171
- const result = Service26.of({
171
+ const result = Service18.of({
172
172
  create: Effect.fn("Session.create")(function* (input) {
173
173
  const sessionID = input.id ?? SessionSchema2.ID.create();
174
174
  const recorded = yield* store.get(sessionID);
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
176
176
  return recorded;
177
177
  const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
178
178
  if (input.parentID && parent === undefined)
179
- return yield* new NotFoundError9({ sessionID: input.parentID });
179
+ return yield* new NotFoundError8({ sessionID: input.parentID });
180
180
  const location = parent?.location ?? input.location;
181
181
  if (location === undefined)
182
182
  return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
281
281
  prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
282
282
  generate: Effect.fn("Session.generate")(function* (input) {
283
283
  const session = yield* result.get(input.sessionID);
284
- return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service44, instances), Effect.provideService(Service84, database), Effect.provideService(LLMClient.Service, llm));
284
+ return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service49, instances), Effect.provideService(Service84, database), Effect.provideService(LLMClient.Service, llm));
285
285
  }),
286
286
  command: Effect.fn("Session.command")(function* (input) {
287
287
  const session = yield* result.get(input.sessionID);
288
- return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service44, instances));
288
+ return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service49, instances));
289
289
  }),
290
290
  shell: (input) => sessions.forSession(input.sessionID).shell(input),
291
291
  skill: (input) => sessions.forSession(input.sessionID).skill(input),
@@ -327,27 +327,27 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
327
327
  });
328
328
  return result;
329
329
  }));
330
- var node29 = Node.makeGlobalNode({
331
- service: Service26,
330
+ var node21 = Node.makeGlobalNode({
331
+ service: Service18,
332
332
  layer,
333
333
  deps: [
334
- node52,
335
- node49,
334
+ node53,
335
+ node44,
336
336
  node88,
337
337
  node87,
338
- node84,
339
- node43,
340
- node37,
338
+ node83,
339
+ node49,
340
+ node28,
341
341
  llmClient2,
342
- node59,
343
- node46,
344
- node44,
345
- node30,
346
- node31,
347
- node74,
342
+ node76,
343
+ node51,
344
+ node50,
345
+ node22,
346
+ node23,
347
+ node73,
348
348
  FSUtil.node,
349
- node56
349
+ node64
350
350
  ]
351
351
  });
352
352
 
353
- export { ListAnchor2, ListInput3, Service26, node29, exports_session };
353
+ export { ListAnchor2, ListInput2, Service18, node21, exports_session };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-9rqn6x4v.js";
3
+ } from "./rpc-9rqn6x4v.js";
4
4
 
5
5
  // src/database/sqlite.ts
6
6
  var exports_sqlite = {};
@@ -1,7 +1,7 @@
1
1
  import {
2
- ID14,
3
- Service77
4
- } from "./repository-mm244bga.js";
2
+ ID9,
3
+ Service66
4
+ } from "./rpc-y82bc83e.js";
5
5
 
6
6
  // src/plugin/provider/llmgateway.ts
7
7
  import { Effect } from "effect";
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
9
9
  var LLMGatewayPlugin2 = define({
10
10
  id: "opencode.provider.llmgateway",
11
11
  effect: Effect.fn(function* (ctx) {
12
- const integrations = yield* Service77;
12
+ const integrations = yield* Service66;
13
13
  const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
14
14
  yield* ctx.provider.transform((evt) => {
15
15
  for (const item of evt.list()) {
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
19
19
  continue;
20
20
  if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
21
21
  continue;
22
- if (!configured.has(ID14.make(item.provider.id)))
22
+ if (!configured.has(ID9.make(item.provider.id)))
23
23
  continue;
24
24
  evt.update(item.provider.id, (provider) => {
25
25
  provider.headers = {
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./repository-88xbtdfr.js";
3
+ } from "./rpc-88xbtdfr.js";
4
4
  import {
5
5
  load4
6
- } from "./repository-5qd3pb7m.js";
6
+ } from "./rpc-5qd3pb7m.js";
7
7
  import {
8
8
  __export
9
- } from "./repository-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: () => Event9,
14
+ Event: () => Event10,
15
15
  Native: () => Native3,
16
- Options: () => Options9,
17
- Service: () => Service49,
16
+ Options: () => Options5,
17
+ Service: () => Service43,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured8,
20
+ configured: () => configured5,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer21,
22
+ layer: () => layer16,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node51,
25
+ node: () => node46,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -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 Event9 = { Updated: FileSystem.Event.Changed };
36
+ var Event10 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
39
  return createWrapper(load4());
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options9 = Schema.Struct({
56
+ var Options5 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service49 extends Context.Service()("@opencode/Watcher") {
60
+ class Service43 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer21 = (options) => Layer.effect(Service49, Effect.gen(function* () {
65
+ var layer16 = (options) => Layer.effect(Service43, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service49.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service43.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 layer21 = (options) => Layer.effect(Service49, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service49.of({ subscribe });
108
+ return Service43.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(layer21().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer16().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service49).subscribe,
134
+ subscribe: Context.get(context, Service43).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(Service49, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service43, 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: Service49, layer: layer21(options), deps: [nativeNode2] });
167
+ function configured5(options) {
168
+ return makeGlobalNode({ service: Service43, layer: layer16(options), deps: [nativeNode2] });
169
169
  }
170
- var node51 = configured8();
170
+ var node46 = configured5();
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 { Event9, hasNativeBinding2, Native3, Options9, Service49, Test3, layer21, testLayer3, nativeLayer2, nativeNode2, configured8, node51, exports_watcher };
190
+ export { Event10, hasNativeBinding2, Native3, Options5, Service43, Test3, layer16, testLayer3, nativeLayer2, nativeNode2, configured5, node46, exports_watcher };