@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,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./repository-922hggd3.js";
3
+ } from "./rpc-922hggd3.js";
4
4
  import {
5
- Service79,
6
- node83
7
- } from "./repository-x23wrtd4.js";
5
+ Service78,
6
+ node82
7
+ } from "./rpc-5dht68aa.js";
8
8
  import {
9
- Service25,
10
- node28
11
- } from "./repository-vspmykee.js";
9
+ Service56,
10
+ node58
11
+ } from "./rpc-1wzyakj1.js";
12
12
  import {
13
13
  isHome2,
14
- names3
15
- } from "./repository-tcezcvh9.js";
14
+ names4
15
+ } from "./rpc-89znhe33.js";
16
16
  import {
17
17
  __export
18
- } from "./repository-9rqn6x4v.js";
18
+ } from "./rpc-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Options: () => Options4,
25
- Service: () => Service24,
26
- configured: () => configured4,
24
+ Options: () => Options7,
25
+ Service: () => Service55,
26
+ configured: () => configured6,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer10,
29
- node: () => node27,
28
+ layer: () => layer21,
29
+ node: () => node57,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
35
35
  import { Fff } from "#fff";
36
36
  import fuzzysort from "fuzzysort";
37
37
  import { FileSystem } from "@opencode/schema/filesystem";
38
- var Options4 = Schema.Struct({
38
+ var Options7 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service24 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service55 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service24, Effect.gen(function* () {
62
- const location = yield* Service79;
63
- const ripgrep = yield* Service25;
61
+ var ripgrepLayer2 = Layer.effect(Service55, Effect.gen(function* () {
62
+ const location = yield* Service78;
63
+ const ripgrep = yield* Service56;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service24, Effect.gen(function* () {
77
77
  cwd: location.directory,
78
78
  pattern: "*",
79
79
  limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
80
- exclude: home ? [...names3()].map((name) => `${name}/**`) : undefined,
80
+ exclude: home ? [...names4()].map((name) => `${name}/**`) : undefined,
81
81
  onEntry: (entry) => Effect.sync(() => {
82
82
  next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
83
83
  const parts = entry.path.split("/");
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service24, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service24.of({
108
+ return Service55.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service24, Effect.gen(function* () {
116
- const location = yield* Service79;
115
+ var fffLayer2 = Layer.effect(Service55, Effect.gen(function* () {
116
+ const location = yield* Service78;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
119
119
  basePath: location.directory,
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service24, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service24.of({
129
+ return Service55.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service24.of({
134
+ return Service55.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service24, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer10 = (options) => Layer.unwrap(Effect.gen(function* () {
178
- const location = yield* Service79;
177
+ var layer21 = (options) => Layer.unwrap(Effect.gen(function* () {
178
+ const location = yield* Service78;
179
179
  if (location.workspaceID)
180
180
  return ripgrepLayer2;
181
181
  if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
182
182
  return ripgrepLayer2;
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
- function configured4(options) {
186
- return makeLocationNode({ service: Service24, layer: layer10(options), deps: [node83, node28] });
185
+ function configured6(options) {
186
+ return makeLocationNode({ service: Service55, layer: layer21(options), deps: [node82, node58] });
187
187
  }
188
- var node27 = configured4();
188
+ var node57 = configured6();
189
189
 
190
- export { Options4, Service24, ripgrepLayer2, fffLayer2, layer10, configured4, node27, exports_search };
190
+ export { Options7, Service55, ripgrepLayer2, fffLayer2, layer21, configured6, node57, exports_search };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./repository-y71avatq.js";
3
+ } from "./rpc-y71avatq.js";
4
4
  import {
5
5
  __export
6
- } from "./repository-9rqn6x4v.js";
6
+ } from "./rpc-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/update.ts
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
- Service: () => Service7,
13
- node: () => node9
12
+ Service: () => Service5,
13
+ node: () => node7
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode/util/npm";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var interval = 24 * 60 * 60 * 1000;
19
19
 
20
- class Service7 extends Context.Service()("@opencode/PluginUpdate") {
20
+ class Service5 extends Context.Service()("@opencode/PluginUpdate") {
21
21
  }
22
- var layer = Layer.effect(Service7, Effect.gen(function* () {
22
+ var layer = Layer.effect(Service5, Effect.gen(function* () {
23
23
  const npm = yield* Npm.Service;
24
24
  const locks = makeUnsafe2();
25
25
  const status = new Map;
26
26
  const changes = yield* PubSub.unbounded();
27
- return Service7.of({
27
+ return Service5.of({
28
28
  check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
29
29
  const checkedAt = yield* Clock.currentTimeMillis;
30
30
  const current = status.get(target);
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node9 = makeGlobalNode({ service: Service7, layer, deps: [Npm.node] });
52
+ var node7 = makeGlobalNode({ service: Service5, layer, deps: [Npm.node] });
53
53
 
54
- export { Service7, node9, exports_update };
54
+ export { Service5, node7, exports_update };
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service49
3
- } from "./repository-mdenj6n2.js";
2
+ Service43
3
+ } from "./rpc-fb7qthtr.js";
4
4
  import {
5
5
  unavailable3
6
- } from "./repository-t550f9t1.js";
6
+ } from "./rpc-eaj1djv9.js";
7
7
  import {
8
8
  AbsolutePath2
9
- } from "./repository-922hggd3.js";
9
+ } from "./rpc-922hggd3.js";
10
10
  import {
11
11
  File2,
12
- Service39
13
- } from "./repository-d68cj2ze.js";
12
+ Service31
13
+ } from "./rpc-q95fwmf1.js";
14
14
  import {
15
- Service79
16
- } from "./repository-x23wrtd4.js";
15
+ Service78
16
+ } from "./rpc-5dht68aa.js";
17
17
  import {
18
18
  __export
19
- } from "./repository-9rqn6x4v.js";
19
+ } from "./rpc-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin29
25
+ Plugin: () => Plugin17
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
29
  import { Global } from "@opencode/util/global";
30
30
  import { dirname, join } from "path";
31
31
  import { Effect, PubSub, Semaphore, Stream } from "effect";
32
- var Plugin29 = define({
32
+ var Plugin17 = define({
33
33
  id: "opencode.config.instruction",
34
34
  effect: Effect.fn(function* () {
35
- const discovery = yield* Service39;
35
+ const discovery = yield* Service31;
36
36
  if (!discovery.project && !discovery.global)
37
37
  return;
38
38
  yield* Effect.gen(function* () {
39
39
  const fs = yield* FSUtil.Service;
40
40
  const global = yield* Global.Service;
41
- const location = yield* Service79;
42
- const watcher = yield* Service49;
41
+ const location = yield* Service78;
42
+ const watcher = yield* Service43;
43
43
  const changes = yield* PubSub.sliding(1);
44
44
  const lock = Semaphore.makeUnsafe(1);
45
45
  const start = yield* fs.resolve(location.directory);
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
114
114
  return [start, ...ancestorDirectories(dirname(start), stop)];
115
115
  }
116
116
 
117
- export { Plugin29, exports_instruction };
117
+ export { Plugin17, exports_instruction };
@@ -5,17 +5,17 @@ import {
5
5
  renderInitial2,
6
6
  renderUpdate2,
7
7
  applyHashDelta2
8
- } from "./repository-t550f9t1.js";
8
+ } from "./rpc-eaj1djv9.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./repository-ec1grn59.js";
11
+ } from "./rpc-ec1grn59.js";
12
12
  import {
13
13
  InstructionBlobTable2,
14
14
  InstructionStateTable2
15
- } from "./repository-z07pqspn.js";
15
+ } from "./rpc-z07pqspn.js";
16
16
  import {
17
17
  __export
18
- } from "./repository-9rqn6x4v.js";
18
+ } from "./rpc-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instruction-state.ts
21
21
  var exports_instruction_state = {};
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./repository-04atd798.js";
4
+ } from "./rpc-hj4aaq0x.js";
5
5
  import {
6
6
  __export
7
- } from "./repository-9rqn6x4v.js";
7
+ } from "./rpc-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,31 +12,31 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event21,
15
+ Event: () => Event20,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID18,
20
- Info: () => Info34,
19
+ ID: () => ID15,
20
+ Info: () => Info31,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError11,
23
+ NotFoundError: () => NotFoundError9,
24
24
  Reply: () => Reply3,
25
- Service: () => Service82,
25
+ Service: () => Service76,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
- layer: () => layer25,
29
- node: () => node86,
28
+ layer: () => layer24,
29
+ node: () => node80,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event21 } from "@opencode/schema/form";
36
+ import { Event as Event20 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID18 = Form.ID;
39
- var Info34 = Form.Info;
38
+ var ID15 = Form.ID;
39
+ var Info31 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
@@ -44,8 +44,8 @@ var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
- class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID18
47
+ class NotFoundError9 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID15
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID18
56
+ id: ID15
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID18
64
+ id: ID15
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID18,
72
+ id: ID15,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service82 extends Context.Service()("@opencode/Form") {
82
+ class Service76 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer25 = Layer.effect(Service82, Effect.gen(function* () {
84
+ var layer24 = Layer.effect(Service76, Effect.gen(function* () {
85
85
  const bus = yield* Service83;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
88
88
  capacity: Number.MAX_SAFE_INTEGER,
89
89
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
90
90
  });
91
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError11({ id })))));
91
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError9({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID18.create();
93
+ const id = input.id ?? ID15.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -162,9 +162,9 @@ var layer25 = Layer.effect(Service82, Effect.gen(function* () {
162
162
  closed = true;
163
163
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
164
164
  yield* Effect.addFinalizer(() => close);
165
- return Service82.of({ create, ask, get, list, state, reply, cancel, close });
165
+ return Service76.of({ create, ask, get, list, state, reply, cancel, close });
166
166
  }));
167
- var node86 = makeLocationNode({ service: Service82, layer: layer25, deps: [node87] });
167
+ var node80 = makeLocationNode({ service: Service76, layer: layer24, deps: [node87] });
168
168
  function validateAnswer2(form, answer) {
169
169
  const fields = new Map(form.map((field) => [field.key, field]));
170
170
  for (const key of Object.keys(answer)) {
@@ -316,4 +316,4 @@ function isDateTime(value) {
316
316
  return !Number.isNaN(new Date(value).getTime());
317
317
  }
318
318
 
319
- export { ID18, Info34, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError11, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service82, layer25, node86, validateAnswer2, validateFields2, exports_form, Event21 };
319
+ export { ID15, Info31, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError9, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service76, layer24, node80, validateAnswer2, validateFields2, exports_form, Event20 };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./repository-04atd798.js";
4
+ } from "./rpc-hj4aaq0x.js";
5
5
  import {
6
6
  create3
7
- } from "./repository-rdw6cm16.js";
7
+ } from "./rpc-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./repository-9rqn6x4v.js";
10
+ } from "./rpc-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
13
  var exports_command4 = {};
14
14
  __export(exports_command4, {
15
15
  Command: () => exports_command4,
16
- Event: () => Event8,
16
+ Event: () => Event5,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info7,
19
- NotFoundError: () => NotFoundError6,
20
- Service: () => Service45,
21
- layer: () => layer19,
22
- node: () => node47
18
+ Info: () => Info6,
19
+ NotFoundError: () => NotFoundError4,
20
+ Service: () => Service32,
21
+ layer: () => layer14,
22
+ node: () => node35
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event8 } from "@opencode/schema/command";
28
- var Info7 = Command.Info;
27
+ import { Event as Event5 } from "@opencode/schema/command";
28
+ var Info6 = Command.Info;
29
29
 
30
- class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError4 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service45 extends Context.Service()("@opencode/Command") {
42
+ class Service32 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer19 = Layer.effect(Service45, Effect.gen(function* () {
44
+ var layer14 = Layer.effect(Service32, Effect.gen(function* () {
45
45
  const bus = yield* Service83;
46
46
  const state = create3({
47
47
  name: "command",
@@ -51,11 +51,11 @@ var layer19 = Layer.effect(Service45, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info7.make({
54
+ const info = (definition) => Info6.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service45.of({
58
+ return Service32.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,14 +66,14 @@ var layer19 = Layer.effect(Service45, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError4({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node47 = makeLocationNode({
75
- service: Service45,
76
- layer: layer19,
74
+ var node35 = makeLocationNode({
75
+ service: Service32,
76
+ layer: layer14,
77
77
  deps: [node87]
78
78
  });
79
79
  function errorMessage(error) {
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info7, NotFoundError6, ExecutionError2, Service45, layer19, node47, exports_command4, Event8 };
89
+ export { Info6, NotFoundError4, ExecutionError2, Service32, layer14, node35, exports_command4, Event5 };
@@ -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/session/subagent-completion.ts
6
6
  var exports_subagent_completion = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./repository-gd4qta3r.js";
3
+ } from "./rpc-gd4qta3r.js";
4
4
  import {
5
5
  ascending2
6
- } from "./repository-tvtrv512.js";
6
+ } from "./rpc-tvtrv512.js";
7
7
  import {
8
8
  create3
9
- } from "./repository-rdw6cm16.js";
9
+ } from "./rpc-rdw6cm16.js";
10
10
  import {
11
11
  __export
12
- } from "./repository-9rqn6x4v.js";
12
+ } from "./rpc-9rqn6x4v.js";
13
13
 
14
14
  // src/tool-output.ts
15
15
  var exports_tool_output2 = {};
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
18
18
  MAX_BYTES: () => MAX_BYTES2,
19
19
  MAX_LINES: () => MAX_LINES2,
20
20
  RETENTION: () => RETENTION3,
21
- Service: () => Service59,
21
+ Service: () => Service44,
22
22
  ToolOutput: () => exports_tool_output2,
23
- node: () => node62
23
+ node: () => node47
24
24
  });
25
25
  import path from "path";
26
26
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
32
32
  var RETENTION3 = Duration.days(7);
33
33
  var DIRECTORY3 = "tool-output";
34
34
 
35
- class Service59 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service44 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service59, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service44, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
116
116
  metadata: { ...result.metadata, truncated: true, outputPath: file }
117
117
  };
118
118
  });
119
- return Service59.of({
119
+ return Service44.of({
120
120
  transform: state.transform,
121
121
  reload: state.reload,
122
122
  truncate,
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
133
133
  layer: cleanupLayer,
134
134
  deps: [FSUtil.node, Global.node]
135
135
  });
136
- var node62 = makeLocationNode({
137
- service: Service59,
136
+ var node47 = makeLocationNode({
137
+ service: Service44,
138
138
  layer,
139
139
  deps: [FSUtil.node, Global.node, cleanupNode]
140
140
  });
141
141
 
142
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service59, node62, exports_tool_output2 };
142
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service44, node47, exports_tool_output2 };
@@ -2,7 +2,7 @@ import {
2
2
  SQLiteEffectPreparedQuery2,
3
3
  SQLiteEffectSession2,
4
4
  SQLiteEffectTransaction2
5
- } from "./repository-a6azfam0.js";
5
+ } from "./rpc-qpbm3ztw.js";
6
6
 
7
7
  // src/database/drizzle/effect-sqlite/session.ts
8
8
  import * as Context from "effect/Context";