@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,102 +1,102 @@
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
10
  SessionMessage2
11
- } from "./repository-gftt206x.js";
11
+ } from "./rpc-gftt206x.js";
12
12
  import {
13
13
  StepFailedError2
14
- } from "./repository-jj3kxevf.js";
14
+ } from "./rpc-hp8gp39b.js";
15
15
  import {
16
16
  SessionEvent2
17
- } from "./repository-ec1grn59.js";
17
+ } from "./rpc-ec1grn59.js";
18
18
  import {
19
19
  SessionMessageTable2
20
- } from "./repository-z07pqspn.js";
20
+ } from "./rpc-z07pqspn.js";
21
21
  import {
22
22
  prepare4
23
- } from "./repository-pccq72bz.js";
23
+ } from "./rpc-wq4mmp7m.js";
24
24
  import {
25
25
  provenance2
26
- } from "./repository-d2czbp48.js";
26
+ } from "./rpc-p6wxjpka.js";
27
27
  import {
28
28
  decodeMessageRow2,
29
29
  preview2
30
- } from "./repository-bkgg21ch.js";
30
+ } from "./rpc-z1q79rtb.js";
31
31
  import {
32
- Service56,
33
- node59
34
- } from "./repository-cfkxc3zx.js";
32
+ Service72,
33
+ node76
34
+ } from "./rpc-8fn17prt.js";
35
35
  import {
36
- Service18,
37
- node20
38
- } from "./repository-wpzgjbhj.js";
36
+ Service68,
37
+ node72
38
+ } from "./rpc-cryfzwrd.js";
39
39
  import {
40
40
  llmClient2
41
- } from "./repository-5t3nmthw.js";
41
+ } from "./rpc-5t3nmthw.js";
42
42
  import {
43
- Service33,
44
- node37
45
- } from "./repository-5qedxm44.js";
43
+ Service24,
44
+ node28
45
+ } from "./rpc-zyyvvwzg.js";
46
46
  import {
47
47
  baseTranscript2
48
- } from "./repository-qf2587vm.js";
48
+ } from "./rpc-njhxfh55.js";
49
49
  import {
50
- make5
51
- } from "./repository-7pr2hkwv.js";
50
+ make7
51
+ } from "./rpc-b4p19tx4.js";
52
52
  import {
53
53
  toSessionError2
54
- } from "./repository-tgthxese.js";
54
+ } from "./rpc-qbmejtr1.js";
55
55
  import {
56
56
  Service11,
57
57
  node13,
58
58
  estimatePrompt2
59
- } from "./repository-wqbbhmw9.js";
59
+ } from "./rpc-r11hkjk4.js";
60
60
  import {
61
- Service28,
62
- node32
63
- } from "./repository-4xvg8qhq.js";
61
+ Service20,
62
+ node24
63
+ } from "./rpc-682rjw8a.js";
64
64
  import {
65
65
  serialized2,
66
66
  nextPromotable2,
67
67
  promote2
68
- } from "./repository-dx8av2x7.js";
68
+ } from "./rpc-mjrfwaps.js";
69
69
  import {
70
70
  Service3,
71
71
  isUntitled2,
72
72
  node4
73
- } from "./repository-bay05q8f.js";
73
+ } from "./rpc-qdwhejxn.js";
74
74
  import {
75
75
  DrainResult2,
76
- Service41
77
- } from "./repository-zcrspsvn.js";
76
+ Service47
77
+ } from "./rpc-embw8kgh.js";
78
78
  import {
79
- node54
80
- } from "./repository-2rahks1y.js";
79
+ node81
80
+ } from "./rpc-wdr62gh7.js";
81
81
  import {
82
- node62
83
- } from "./repository-wzvzbcsg.js";
82
+ node47
83
+ } from "./rpc-x6p7tmnf.js";
84
84
  import {
85
85
  Outcome2,
86
86
  make3
87
- } from "./repository-mn05vpar.js";
87
+ } from "./rpc-hvajpj5a.js";
88
88
  import {
89
- Service34
90
- } from "./repository-by5v678g.js";
89
+ Service26
90
+ } from "./rpc-pf31ssb9.js";
91
91
  import {
92
- node21
93
- } from "./repository-6d58n71n.js";
92
+ node19
93
+ } from "./rpc-56sbpqpy.js";
94
94
  import {
95
95
  MAX_STEPS_PROMPT2
96
- } from "./repository-y44na4kk.js";
96
+ } from "./rpc-y44na4kk.js";
97
97
  import {
98
98
  __export
99
- } from "./repository-9rqn6x4v.js";
99
+ } from "./rpc-9rqn6x4v.js";
100
100
 
101
101
  // src/session/runner/llm.ts
102
102
  var exports_llm = {};
@@ -109,15 +109,15 @@ import { and, desc, eq, sql } from "drizzle-orm";
109
109
  import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
110
110
  import { makeLocationNode } from "@opencode/util/effect/app-node";
111
111
  var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
112
- var layer = Layer.effect(Service41, Effect.gen(function* () {
112
+ var layer = Layer.effect(Service47, Effect.gen(function* () {
113
113
  const bus = yield* Service83;
114
- const lifecycle = yield* Service18;
115
- const store = yield* Service56;
116
- const context = yield* Service28;
117
- const modelTransport = yield* Service33;
114
+ const lifecycle = yield* Service68;
115
+ const store = yield* Service72;
116
+ const context = yield* Service20;
117
+ const modelTransport = yield* Service24;
118
118
  const db = (yield* Service84).db;
119
119
  const compaction = yield* Service11;
120
- const plugins = yield* Service34;
120
+ const plugins = yield* Service26;
121
121
  const title = yield* Service3;
122
122
  const steps = yield* make3;
123
123
  const titles = yield* FiberMap.make();
@@ -240,7 +240,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
240
240
  const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
241
241
  const sessionID = first.session.id;
242
242
  let assistantMessageID = SessionMessage2.ID.create();
243
- const retry = yield* make5(bus, sessionID);
243
+ const retry = yield* make7(bus, sessionID);
244
244
  let initial = first;
245
245
  let recoverOverflow = true;
246
246
  let recoverContinuation = true;
@@ -356,23 +356,23 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
356
356
  }
357
357
  }
358
358
  });
359
- return Service41.of({ drain });
359
+ return Service47.of({ drain });
360
360
  }));
361
361
  var node3 = makeLocationNode({
362
- service: Service41,
362
+ service: Service47,
363
363
  layer,
364
364
  deps: [
365
365
  node87,
366
- node20,
366
+ node72,
367
367
  llmClient2,
368
- node32,
369
- node37,
370
- node59,
368
+ node24,
369
+ node28,
370
+ node76,
371
371
  node13,
372
- node21,
372
+ node19,
373
373
  node4,
374
- node54,
375
- node62,
374
+ node81,
375
+ node47,
376
376
  node88
377
377
  ]
378
378
  });
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Ref4
3
- } from "./repository-x23wrtd4.js";
3
+ } from "./rpc-5dht68aa.js";
4
4
  import {
5
5
  __export
6
- } from "./repository-9rqn6x4v.js";
6
+ } from "./rpc-9rqn6x4v.js";
7
7
 
8
8
  // src/location-service-map.ts
9
9
  var exports_location_service_map = {};
10
10
  __export(exports_location_service_map, {
11
11
  LocationServiceMap: () => exports_location_service_map,
12
- Service: () => Service70,
12
+ Service: () => Service69,
13
13
  canonical: () => canonical3,
14
- node: () => node74,
14
+ node: () => node73,
15
15
  reload: () => reload2
16
16
  });
17
17
  import { Context, Effect, Exit, Layer, RcMap } from "effect";
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
19
19
  import { Node } from "@opencode/util/effect/app-node";
20
20
  import { AbsolutePath } from "@opencode/schema/schema";
21
21
  import path from "path";
22
- class Service70 extends Context.Service()("@opencode/example/LocationServiceMap") {
22
+ class Service69 extends Context.Service()("@opencode/example/LocationServiceMap") {
23
23
  static get(ref) {
24
- return Layer.unwrap(Effect.map(Service70, (locations) => locations.get(ref)));
24
+ return Layer.unwrap(Effect.map(Service69, (locations) => locations.get(ref)));
25
25
  }
26
26
  }
27
- var node74 = LayerNode.unbound(Service70, Node.tags.values.global);
27
+ var node73 = LayerNode.unbound(Service69, Node.tags.values.global);
28
28
  var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
29
- const locations = yield* Service70;
29
+ const locations = yield* Service69;
30
30
  const refs = Array.from(yield* RcMap.keys(locations.rcMap));
31
31
  yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
32
32
  discard: true,
@@ -45,4 +45,4 @@ function canonical3(ref) {
45
45
  });
46
46
  }
47
47
 
48
- export { Service70, node74, reload2, canonical3, exports_location_service_map };
48
+ export { Service69, node73, reload2, canonical3, exports_location_service_map };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./repository-922hggd3.js";
3
+ } from "./rpc-922hggd3.js";
4
4
 
5
5
  // src/database/path.ts
6
6
  import nodePath from "path";
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./repository-922hggd3.js";
3
+ } from "./rpc-922hggd3.js";
4
4
  import {
5
- Service79
6
- } from "./repository-x23wrtd4.js";
5
+ Service78
6
+ } from "./rpc-5dht68aa.js";
7
7
  import {
8
- Service48
9
- } from "./repository-vzvmbq7x.js";
8
+ Service42
9
+ } from "./rpc-1xhj1txz.js";
10
10
  import {
11
11
  LocalSource2,
12
12
  GitSource2
13
- } from "./repository-ys0z6e7b.js";
13
+ } from "./rpc-fcvmnj0r.js";
14
14
  import {
15
15
  observe2
16
- } from "./repository-qsdy395h.js";
16
+ } from "./rpc-qsdy395h.js";
17
17
  import {
18
18
  __export
19
- } from "./repository-9rqn6x4v.js";
19
+ } from "./rpc-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/reference.ts
22
22
  var exports_reference = {};
23
23
  __export(exports_reference, {
24
24
  ConfigReferencePlugin: () => exports_reference,
25
- Plugin: () => Plugin33
25
+ Plugin: () => Plugin23
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import path from "path";
29
29
  import { Effect } from "effect";
30
30
  import { Global } from "@opencode/util/global";
31
- var Plugin33 = define({
31
+ var Plugin23 = define({
32
32
  id: "opencode.config.reference",
33
33
  effect: Effect.fn(function* (ctx) {
34
- const config = yield* Service48;
35
- const location = yield* Service79;
34
+ const config = yield* Service42;
35
+ const location = yield* Service78;
36
36
  const global = yield* Global.Service;
37
37
  const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
38
38
  yield* ctx.reference.transform((editor) => {
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
72
72
  return path.isAbsolute(value) ? value : path.resolve(directory, value);
73
73
  }
74
74
 
75
- export { Plugin33, exports_reference };
75
+ export { Plugin23, exports_reference };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  render3
3
- } from "./repository-drwq78ky.js";
3
+ } from "./rpc-drwq78ky.js";
4
4
  import {
5
5
  __export
6
- } from "./repository-9rqn6x4v.js";
6
+ } from "./rpc-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -2,18 +2,18 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./repository-922hggd3.js";
5
+ } from "./rpc-922hggd3.js";
6
6
  import {
7
- Service79,
8
- node83
9
- } from "./repository-x23wrtd4.js";
7
+ Service78,
8
+ node82
9
+ } from "./rpc-5dht68aa.js";
10
10
  import {
11
- Service24,
12
- node27
13
- } from "./repository-fdw6x2n6.js";
11
+ Service55,
12
+ node57
13
+ } from "./rpc-wgq3tw2n.js";
14
14
  import {
15
15
  __export
16
- } from "./repository-9rqn6x4v.js";
16
+ } from "./rpc-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
@@ -21,28 +21,28 @@ __export(exports_filesystem, {
21
21
  Content: () => Content2,
22
22
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
- Entry: () => Entry2,
25
- Event: () => Event6,
24
+ Entry: () => Entry4,
25
+ Event: () => Event11,
26
26
  FileSystem: () => exports_filesystem,
27
27
  FindInput: () => FindInput2,
28
28
  GlobInput: () => GlobInput2,
29
29
  GrepInput: () => GrepInput2,
30
- ListInput: () => ListInput2,
30
+ ListInput: () => ListInput3,
31
31
  Match: () => Match2,
32
- NotFoundError: () => NotFoundError4,
32
+ NotFoundError: () => NotFoundError6,
33
33
  ReadInput: () => ReadInput2,
34
- Service: () => Service23,
34
+ Service: () => Service54,
35
35
  Submatch: () => Submatch2,
36
36
  Write: () => Write2,
37
37
  WriteInput: () => WriteInput2,
38
- node: () => node26
38
+ node: () => node56
39
39
  });
40
40
  import { makeLocationNode } from "@opencode/util/effect/app-node";
41
41
  import path from "path";
42
42
  import { Context, Effect, Layer, Schema } from "effect";
43
43
  import { FSUtil } from "@opencode/util/fs-util";
44
44
  import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
45
- import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
45
+ import { Entry as Entry4, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
46
46
  var ReadInput2 = Schema.Struct({
47
47
  path: RelativePath2
48
48
  });
@@ -51,7 +51,7 @@ var WriteInput2 = Schema.Struct({
51
51
  data: Schema.Uint8Array
52
52
  });
53
53
 
54
- class NotFoundError4 extends Schema.TaggedError()("FileSystem.NotFoundError", {
54
+ class NotFoundError6 extends Schema.TaggedError()("FileSystem.NotFoundError", {
55
55
  path: RelativePath2
56
56
  }) {
57
57
  }
@@ -62,7 +62,7 @@ var Content2 = Schema.Struct({
62
62
  encoding: Schema.Literals(["utf8", "base64"]),
63
63
  mime: Schema.String
64
64
  }).annotate({ identifier: "FileSystem.Content" });
65
- var ListInput2 = Schema.Struct({
65
+ var ListInput3 = Schema.Struct({
66
66
  path: Schema.String.pipe(Schema.optional)
67
67
  });
68
68
  var DEFAULT_SEARCH_LIMIT2 = 100;
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
85
85
  limit: Schema.optionalKey(PositiveInt2)
86
86
  }) {
87
87
  }
88
- var Event6 = FileSystem.Event;
88
+ var Event11 = FileSystem.Event;
89
89
 
90
- class Service23 extends Context.Service()("@opencode/FileSystem") {
90
+ class Service54 extends Context.Service()("@opencode/FileSystem") {
91
91
  }
92
- var baseLayer = Layer.effect(Service23, Effect.gen(function* () {
92
+ var baseLayer = Layer.effect(Service54, Effect.gen(function* () {
93
93
  const fs = yield* FSUtil.Service;
94
- const location = yield* Service79;
95
- const search = yield* Service24;
94
+ const location = yield* Service78;
95
+ const search = yield* Service55;
96
96
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
97
97
  const resolve = Effect.fnUntraced(function* (input) {
98
98
  const absolute = path.resolve(location.directory, input ?? ".");
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service23, Effect.gen(function* () {
103
103
  return yield* Effect.die(new Error("Path escapes the location"));
104
104
  return { absolute, real, directory: location.directory };
105
105
  });
106
- return Service23.of({
106
+ return Service54.of({
107
107
  find: search.find,
108
108
  read: Effect.fn("FileSystem.read")(function* (input) {
109
- const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error)));
110
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error)));
109
+ const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input.path })), (_, error) => Effect.die(error)));
110
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input.path })), (_, error) => Effect.die(error)));
111
111
  if (info.type !== "File")
112
112
  return yield* Effect.die(new Error("Path is not a file"));
113
113
  return {
114
- content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error))),
114
+ content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input.path })), (_, error) => Effect.die(error))),
115
115
  mime: FSUtil.mimeType(target.real)
116
116
  };
117
117
  }),
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service23, Effect.gen(function* () {
140
140
  })
141
141
  });
142
142
  }));
143
- var node26 = makeLocationNode({
144
- service: Service23,
143
+ var node56 = makeLocationNode({
144
+ service: Service54,
145
145
  layer: baseLayer,
146
- deps: [FSUtil.node, node83, node27]
146
+ deps: [FSUtil.node, node82, node57]
147
147
  });
148
148
 
149
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError4, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event6, Service23, node26, exports_filesystem, Entry2, Match2, Submatch2 };
149
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError6, Content2, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event11, Service54, node56, exports_filesystem, Entry4, Match2, Submatch2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID13
3
- } from "./repository-c87t5eya.js";
2
+ ID8
3
+ } from "./rpc-q7dmtnxx.js";
4
4
 
5
5
  // src/plugin/provider/prompt-cache-key.ts
6
6
  import { Effect } from "effect";
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
24
24
  effect: Effect.fn(function* (ctx) {
25
25
  yield* ctx.model.transform((models) => {
26
26
  for (const id of providerIDs) {
27
- const providerID = ID13.make(id);
27
+ const providerID = ID8.make(id);
28
28
  for (const model of models.list(providerID)) {
29
29
  models.update(model.providerID, model.id, (draft) => {
30
30
  draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./repository-4f06rze2.js";
3
+ } from "./rpc-s2csw21s.js";
4
4
  import {
5
5
  Service83
6
- } from "./repository-04atd798.js";
6
+ } from "./rpc-hj4aaq0x.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19,
10
- Service78
11
- } from "./repository-ts1yq6xm.js";
9
+ Event17,
10
+ Service67
11
+ } from "./rpc-jmttzreg.js";
12
12
  import {
13
- ID14,
13
+ ID9,
14
14
  MethodID2,
15
- Service77
16
- } from "./repository-mm244bga.js";
15
+ Service66
16
+ } from "./rpc-y82bc83e.js";
17
17
  import {
18
18
  success2,
19
19
  error2
20
- } from "./repository-pjvnvgmy.js";
20
+ } from "./rpc-pjvnvgmy.js";
21
21
  import {
22
- ID13
23
- } from "./repository-c87t5eya.js";
22
+ ID8
23
+ } from "./rpc-q7dmtnxx.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./repository-sqdvw4xb.js";
26
+ } from "./rpc-zzrx66n5.js";
27
27
 
28
28
  // src/plugin/provider/snowflake-cortex.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
30
30
  import { Form } from "@opencode/schema/form";
31
31
  import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
32
32
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
33
- var providerID = ID13.make("snowflake-cortex");
34
- var integrationID = ID14.make(providerID);
33
+ var providerID = ID8.make("snowflake-cortex");
34
+ var integrationID = ID9.make(providerID);
35
35
  var methodID = MethodID2.make("browser");
36
36
  var clientID = "LOCAL_APPLICATION";
37
37
  var accountForm = Form.Fields.make([
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
53
53
  id: "opencode.provider.snowflake.cortex",
54
54
  effect: Effect.fn(function* (ctx) {
55
55
  const http = yield* HttpClient.HttpClient;
56
- const credentials = yield* Service78;
57
- const integrations = yield* Service77;
56
+ const credentials = yield* Service67;
57
+ const integrations = yield* Service66;
58
58
  const bus = yield* Service83;
59
59
  const configured = yield* configuredSettings2(providerID);
60
60
  const account = { value: "" };
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
184
184
  });
185
185
  }
186
186
  });
187
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
187
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
188
188
  yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
189
189
  const token = envToken();
190
190
  if (token)
@@ -2,7 +2,7 @@ import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2,
4
4
  mapUpdateSet2
5
- } from "./repository-emrn6kk6.js";
5
+ } from "./rpc-emrn6kk6.js";
6
6
 
7
7
  // src/database/drizzle/sqlite-core/effect/insert.ts
8
8
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,25 +1,25 @@
1
1
  import {
2
- ID13,
2
+ ID8,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./repository-c87t5eya.js";
5
+ } from "./rpc-q7dmtnxx.js";
6
6
  import {
7
- ID12,
7
+ ID7,
8
8
  VariantID2,
9
9
  Family2,
10
- Info26
11
- } from "./repository-tea56sn9.js";
10
+ Info22
11
+ } from "./rpc-5146pxbw.js";
12
12
  import {
13
13
  __export
14
- } from "./repository-9rqn6x4v.js";
14
+ } from "./rpc-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
- var exports_models = {};
18
- __export(exports_models, {
19
- CopilotModels: () => exports_models,
20
- derive: () => derive2,
21
- get: () => get2,
22
- load: () => load2
17
+ var exports_models2 = {};
18
+ __export(exports_models2, {
19
+ CopilotModels: () => exports_models2,
20
+ derive: () => derive3,
21
+ get: () => get3,
22
+ load: () => load3
23
23
  });
24
24
  import { Money } from "@opencode/schema/money";
25
25
  import { Option, Schema } from "effect";
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
68
68
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
69
69
  var decodeResponse = Schema.decodeUnknownSync(Response);
70
70
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
71
- async function get2(baseURL, headers, existing) {
72
- return derive2(baseURL, await load2(baseURL, headers), existing);
71
+ async function get3(baseURL, headers, existing) {
72
+ return derive3(baseURL, await load3(baseURL, headers), existing);
73
73
  }
74
- async function load2(baseURL, headers) {
74
+ async function load3(baseURL, headers) {
75
75
  const response = await fetch(`${baseURL}/models`, {
76
76
  headers,
77
77
  signal: AbortSignal.timeout(5000)
@@ -83,7 +83,7 @@ async function load2(baseURL, headers) {
83
83
  return model && usable(model) ? [[model.id, model]] : [];
84
84
  }));
85
85
  }
86
- function derive2(baseURL, remote, existing) {
86
+ function derive3(baseURL, remote, existing) {
87
87
  const result = new Map(existing.map((model) => [model.id, model]));
88
88
  for (const [id, model] of result) {
89
89
  const current = remote.get(model.modelID);
@@ -94,7 +94,7 @@ function derive2(baseURL, remote, existing) {
94
94
  result.set(id, build(id, current, baseURL, model));
95
95
  }
96
96
  for (const [id, model] of remote) {
97
- const key = ID12.make(id);
97
+ const key = ID7.make(id);
98
98
  if (result.has(key))
99
99
  continue;
100
100
  result.set(key, build(key, model, baseURL));
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
118
118
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
119
119
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
120
120
  const released = previous?.time.released || Date.parse(version);
121
- return Info26.make({
122
- ...Info26.default(ID13.githubCopilot, id),
121
+ return Info22.make({
122
+ ...Info22.default(ID8.githubCopilot, id),
123
123
  id,
124
- modelID: ID12.make(remote.id),
125
- providerID: ID13.githubCopilot,
124
+ modelID: ID7.make(remote.id),
125
+ providerID: ID8.githubCopilot,
126
126
  family: previous?.family ?? Family2.make(remote.capabilities.family),
127
127
  name: previous?.name ?? remote.name,
128
128
  package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
@@ -197,4 +197,4 @@ function variants(remote, messages) {
197
197
  ];
198
198
  }
199
199
 
200
- export { get2, load2, derive2, exports_models };
200
+ export { get3, load3, derive3, exports_models2 };