@opencode/core 0.0.0-dev-19300 → 0.0.0-dev-19305

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 (781) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{repository-m52vhm9w.js → kv-06zq0e3e.js} +10 -10
  9. package/dist/chunks/{repository-mtgx628c.js → kv-0d8k8whk.js} +16 -16
  10. package/dist/chunks/kv-0kwcw7fy.js +4 -0
  11. package/dist/chunks/{repository-1rw8y3qp.js → kv-0nddvemt.js} +23 -23
  12. package/dist/chunks/{repository-g32rby1q.js → kv-0pa87wdg.js} +16 -16
  13. package/dist/chunks/{repository-0paq2nw3.js → kv-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{repository-0q0f95c6.js → kv-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{repository-2qw4fg5j.js → kv-0yjrx829.js} +26 -26
  16. package/dist/chunks/{repository-ng1cxp70.js → kv-0yz71n10.js} +15 -15
  17. package/dist/chunks/{repository-p5ym65ek.js → kv-12v07r08.js} +12 -12
  18. package/dist/chunks/kv-18nhnycp.js +22 -0
  19. package/dist/chunks/{repository-ve4pfa0n.js → kv-1a6p2twq.js} +4 -4
  20. package/dist/chunks/{repository-1dazxqgg.js → kv-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{repository-1dfhrqqs.js → kv-1dfhrqqs.js} +2 -2
  22. package/dist/chunks/{repository-0y360m9h.js → kv-1g7qrdvj.js} +20 -20
  23. package/dist/chunks/{repository-fcx00w1h.js → kv-1pgaj36c.js} +9 -9
  24. package/dist/chunks/{repository-pjw4mgws.js → kv-1qtzcvag.js} +15 -15
  25. package/dist/chunks/{repository-svz4xhyh.js → kv-1r2zdtkd.js} +17 -17
  26. package/dist/chunks/{repository-23ys1acm.js → kv-1rwkxv71.js} +22 -22
  27. package/dist/chunks/{repository-2p2ash1s.js → kv-1x79khn6.js} +6 -6
  28. package/dist/chunks/{repository-np2wt734.js → kv-1y13kvtj.js} +64 -64
  29. package/dist/chunks/{repository-f19mrtp6.js → kv-205hyhp5.js} +24 -24
  30. package/dist/chunks/{repository-21r38tys.js → kv-21r38tys.js} +1 -1
  31. package/dist/chunks/{repository-5hk4b2g6.js → kv-23279rje.js} +8 -8
  32. package/dist/chunks/{repository-2a5m3afh.js → kv-2a5m3afh.js} +1 -1
  33. package/dist/chunks/{repository-pzqj8cz9.js → kv-2fa0tcff.js} +11 -11
  34. package/dist/chunks/{repository-2jd3nfvw.js → kv-2m7h6g0w.js} +26 -26
  35. package/dist/chunks/{repository-jc87ns02.js → kv-2sswhhhj.js} +29 -29
  36. package/dist/chunks/{repository-xn4600q8.js → kv-2tavq0r4.js} +4 -4
  37. package/dist/chunks/{repository-mqypt7zj.js → kv-2v31gz2r.js} +10 -10
  38. package/dist/chunks/{repository-2ke5dpvq.js → kv-2z2smmkn.js} +16 -16
  39. package/dist/chunks/{repository-28bdjpwd.js → kv-2zc5egdh.js} +20 -20
  40. package/dist/chunks/{repository-56gdpj1q.js → kv-33w4ejhs.js} +6 -6
  41. package/dist/chunks/{repository-bs5pepmy.js → kv-385btzpz.js} +24 -24
  42. package/dist/chunks/{repository-vm3tqwqk.js → kv-386yacj4.js} +4 -4
  43. package/dist/chunks/{repository-3fc6dm20.js → kv-3fc6dm20.js} +1 -1
  44. package/dist/chunks/{repository-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{repository-3smtnn6g.js → kv-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{repository-3tvqynh2.js → kv-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{repository-pz6kvv0a.js → kv-3ydrj0e1.js} +11 -11
  48. package/dist/chunks/{repository-z4vx8zth.js → kv-45hb7f83.js} +26 -26
  49. package/dist/chunks/{repository-fygdb7h7.js → kv-47r3zz0x.js} +3 -3
  50. package/dist/chunks/{repository-bk1bf212.js → kv-4dekfvbj.js} +32 -32
  51. package/dist/chunks/{repository-96yt6zt0.js → kv-4whayx0s.js} +1 -1
  52. package/dist/chunks/{repository-qxc8wz53.js → kv-4wz9d7kc.js} +20 -20
  53. package/dist/chunks/{repository-zapem284.js → kv-4zhbjfra.js} +20 -20
  54. package/dist/chunks/{repository-65tew8e9.js → kv-54993ev7.js} +32 -32
  55. package/dist/chunks/{repository-5daktx2q.js → kv-5daktx2q.js} +1 -1
  56. package/dist/chunks/{repository-4ftw1z01.js → kv-5fmfe22g.js} +15 -15
  57. package/dist/chunks/{repository-hc0r56wb.js → kv-5h3nb936.js} +41 -41
  58. package/dist/chunks/{repository-qe2326jn.js → kv-5jrfr8a0.js} +6 -6
  59. package/dist/chunks/{repository-nyfsa3d4.js → kv-5mgj9z2s.js} +15 -15
  60. package/dist/chunks/kv-5mv3qnn6.js +247 -0
  61. package/dist/chunks/{repository-5t3nmthw.js → kv-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{repository-nw0w9xts.js → kv-5zhnrkq5.js} +18 -18
  63. package/dist/chunks/{repository-sf673xhe.js → kv-60mz5h67.js} +13 -13
  64. package/dist/chunks/{repository-wvp8ne5c.js → kv-631qzpxd.js} +14 -14
  65. package/dist/chunks/{repository-ppg2pkc4.js → kv-654ce46n.js} +7 -7
  66. package/dist/chunks/{repository-669tq793.js → kv-669tq793.js} +1 -1
  67. package/dist/chunks/{repository-6h73sxmp.js → kv-6h73sxmp.js} +1 -1
  68. package/dist/chunks/{repository-6msgmcgs.js → kv-6msgmcgs.js} +1 -1
  69. package/dist/chunks/{repository-6s9eyz9r.js → kv-6s9eyz9r.js} +4 -4
  70. package/dist/chunks/{repository-fvkyxybn.js → kv-6wswrqax.js} +23 -23
  71. package/dist/chunks/{repository-71q4at8m.js → kv-71q4at8m.js} +1 -1
  72. package/dist/chunks/{repository-mvfsc1pv.js → kv-73tb2d7t.js} +3 -3
  73. package/dist/chunks/{repository-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{repository-qgn6gcr1.js → kv-7dqw4kz8.js} +5 -5
  75. package/dist/chunks/{repository-d3p1g0v9.js → kv-7jz404f1.js} +81 -81
  76. package/dist/chunks/{repository-h9xzymfq.js → kv-7rr4f4n7.js} +4 -4
  77. package/dist/chunks/{repository-3faemfqa.js → kv-7tr6s30h.js} +15 -15
  78. package/dist/chunks/{repository-n77pyy8y.js → kv-7wdy64v3.js} +4 -4
  79. package/dist/chunks/{repository-qth74v4j.js → kv-818pfwc9.js} +11 -11
  80. package/dist/chunks/{repository-bksjv0kp.js → kv-83p1geyf.js} +14 -14
  81. package/dist/chunks/{repository-1235z6h5.js → kv-8d2c4t5g.js} +9 -9
  82. package/dist/chunks/{repository-8d7r5vzw.js → kv-8d7r5vzw.js} +1 -1
  83. package/dist/chunks/{repository-hbhp39pa.js → kv-8kxdp5sm.js} +23 -23
  84. package/dist/chunks/{repository-8p4f9s12.js → kv-8p4f9s12.js} +2 -2
  85. package/dist/chunks/{repository-t9azvbfb.js → kv-8ydwgjmc.js} +17 -17
  86. package/dist/chunks/{repository-vxzf7v58.js → kv-979jzsrn.js} +3 -3
  87. package/dist/chunks/{repository-drx0v7dc.js → kv-992nrvv2.js} +15 -15
  88. package/dist/chunks/{repository-w86n12pv.js → kv-9ft914dh.js} +41 -41
  89. package/dist/chunks/{repository-tysrnn2h.js → kv-9g1by0bf.js} +11 -11
  90. package/dist/chunks/{repository-0ms83wsr.js → kv-9j856hay.js} +12 -12
  91. package/dist/chunks/{repository-g1nak0bc.js → kv-9nnkqgar.js} +18 -18
  92. package/dist/chunks/{repository-v33xfvcj.js → kv-9pv0dm11.js} +9 -9
  93. package/dist/chunks/{repository-a1bz86dw.js → kv-a1bz86dw.js} +3 -3
  94. package/dist/chunks/{repository-806j49yq.js → kv-a2ew8a62.js} +4 -4
  95. package/dist/chunks/{repository-eppyg65b.js → kv-a91jrmzy.js} +25 -25
  96. package/dist/chunks/{repository-aaet6srn.js → kv-aaet6srn.js} +2 -2
  97. package/dist/chunks/{repository-4rq8jptq.js → kv-akzgzmy5.js} +13 -13
  98. package/dist/chunks/{repository-b6gygkdw.js → kv-b6gygkdw.js} +2 -2
  99. package/dist/chunks/{repository-98h7z1dp.js → kv-b7xbmwj9.js} +5 -5
  100. package/dist/chunks/{repository-j7rmzkqc.js → kv-bchv7rjf.js} +16 -16
  101. package/dist/chunks/{repository-p40ajvra.js → kv-bp5q4kjs.js} +46 -46
  102. package/dist/chunks/{repository-42x6g9em.js → kv-btdv9ryv.js} +20 -20
  103. package/dist/chunks/{repository-20d5ynpz.js → kv-c700j0vg.js} +20 -20
  104. package/dist/chunks/{repository-rad6g3ft.js → kv-cbys0e10.js} +6 -6
  105. package/dist/chunks/{repository-cfpkc3c9.js → kv-cfpkc3c9.js} +2 -2
  106. package/dist/chunks/{repository-s702d5fa.js → kv-cm67pz5m.js} +44 -44
  107. package/dist/chunks/{repository-j0er744w.js → kv-csw7rs6s.js} +8 -8
  108. package/dist/chunks/{repository-1s7e6phh.js → kv-cz7fd6ea.js} +9 -9
  109. package/dist/chunks/{repository-ehg1nygq.js → kv-czntfx8t.js} +6 -6
  110. package/dist/chunks/{repository-fy9dm37w.js → kv-d0acbv0h.js} +44 -44
  111. package/dist/chunks/{repository-2nxb55e9.js → kv-d1z2e9b7.js} +11 -11
  112. package/dist/chunks/{repository-v4t0dn9g.js → kv-d9sn21bc.js} +2 -2
  113. package/dist/chunks/{repository-gg4p3dxp.js → kv-dvvjdwja.js} +39 -39
  114. package/dist/chunks/{repository-5kh3zgw0.js → kv-e0j10c9k.js} +15 -15
  115. package/dist/chunks/{repository-r034twb5.js → kv-e7sgzf74.js} +18 -18
  116. package/dist/chunks/{repository-af04s6ss.js → kv-ead3g9p8.js} +5 -5
  117. package/dist/chunks/{repository-eaj1djv9.js → kv-eaj1djv9.js} +1 -1
  118. package/dist/chunks/{repository-f2wm6whm.js → kv-edhs40p9.js} +10 -10
  119. package/dist/chunks/{repository-65k3vztb.js → kv-ej5hckht.js} +54 -54
  120. package/dist/chunks/{repository-gasa05ya.js → kv-ekcx5as7.js} +35 -35
  121. package/dist/chunks/{repository-qegb081p.js → kv-erqeev50.js} +15 -15
  122. package/dist/chunks/{repository-g5qy6dee.js → kv-esvgtq8n.js} +13 -13
  123. package/dist/chunks/{repository-etq0c3wd.js → kv-etq0c3wd.js} +1 -1
  124. package/dist/chunks/{repository-r9babyk8.js → kv-ezn8zr4k.js} +1 -1
  125. package/dist/chunks/{repository-1xb5wcr4.js → kv-f0gm38sp.js} +13 -13
  126. package/dist/chunks/{repository-42t63d0v.js → kv-f3xjqa4w.js} +9 -9
  127. package/dist/chunks/{repository-f828m53h.js → kv-f828m53h.js} +2 -2
  128. package/dist/chunks/{repository-5ck9wg8w.js → kv-fafk78t6.js} +8 -8
  129. package/dist/chunks/{repository-pnean495.js → kv-ff8r9ysp.js} +5 -5
  130. package/dist/chunks/{repository-12gb8myc.js → kv-ffr714k0.js} +17 -17
  131. package/dist/chunks/{repository-nayt11ps.js → kv-fj3qsqhh.js} +3 -3
  132. package/dist/chunks/{repository-5m82w98f.js → kv-fs7g862w.js} +36 -36
  133. package/dist/chunks/{repository-mvdnynp8.js → kv-fts5bq5k.js} +4 -4
  134. package/dist/chunks/{repository-rpxwpx2g.js → kv-fx2zdwtr.js} +13 -13
  135. package/dist/chunks/{repository-fxbjtjnd.js → kv-fxbjtjnd.js} +1 -1
  136. package/dist/chunks/{repository-bz3n39rt.js → kv-fyfhjpam.js} +59 -59
  137. package/dist/chunks/{repository-6m42r3np.js → kv-g190xswt.js} +21 -21
  138. package/dist/chunks/{repository-twcs75va.js → kv-g3tb9zt0.js} +20 -20
  139. package/dist/chunks/{repository-k16ay38w.js → kv-g6ew7cqr.js} +1 -1
  140. package/dist/chunks/{repository-f8q7mv7a.js → kv-g9245y80.js} +1 -1
  141. package/dist/chunks/{repository-cfhyqxd5.js → kv-g98bfr3c.js} +24 -24
  142. package/dist/chunks/{repository-gd4qta3r.js → kv-gd4qta3r.js} +1 -1
  143. package/dist/chunks/{repository-z69s9t6b.js → kv-gey3b743.js} +5 -5
  144. package/dist/chunks/{repository-e7710hd6.js → kv-gqawmzqm.js} +8 -8
  145. package/dist/chunks/{repository-06x8he3q.js → kv-gst7axd9.js} +4 -4
  146. package/dist/chunks/{repository-g52x9ads.js → kv-gvp0w9xb.js} +10 -10
  147. package/dist/chunks/{repository-h03wrkyp.js → kv-h03wrkyp.js} +2 -2
  148. package/dist/chunks/{repository-5p36ytzk.js → kv-h11jv7vh.js} +28 -28
  149. package/dist/chunks/{repository-acr4esdf.js → kv-h1qq3dsd.js} +26 -26
  150. package/dist/chunks/{repository-h6vf3j39.js → kv-h6vf3j39.js} +1 -1
  151. package/dist/chunks/{repository-1080qp6z.js → kv-h6z8d5tn.js} +4 -4
  152. package/dist/chunks/{repository-a3xfqne5.js → kv-hg4g3nha.js} +19 -19
  153. package/dist/chunks/{repository-83m7jv2c.js → kv-hghep4wy.js} +6 -6
  154. package/dist/chunks/{repository-ec018mz5.js → kv-hm622x1n.js} +8 -8
  155. package/dist/chunks/{repository-b0q3gy5e.js → kv-hw39y2t2.js} +10 -10
  156. package/dist/chunks/{repository-fgh0kbhd.js → kv-hx55d56e.js} +1 -1
  157. package/dist/chunks/{repository-q5zafh14.js → kv-hy7dp2k3.js} +6 -6
  158. package/dist/chunks/{repository-eddb1hsm.js → kv-j235te6d.js} +3 -3
  159. package/dist/chunks/{repository-pgyxckf0.js → kv-j41a475f.js} +11 -11
  160. package/dist/chunks/{repository-756ftpmv.js → kv-j438vazm.js} +4 -4
  161. package/dist/chunks/{repository-j56e64zr.js → kv-j56e64zr.js} +1 -1
  162. package/dist/chunks/{repository-ndmv45hp.js → kv-j7wq2tw5.js} +2 -2
  163. package/dist/chunks/{repository-3da9a2rq.js → kv-j8vakhm6.js} +41 -41
  164. package/dist/chunks/{repository-s9teexy3.js → kv-jkvd5y7z.js} +13 -13
  165. package/dist/chunks/{repository-gw75b7xp.js → kv-jwa4fmm9.js} +37 -37
  166. package/dist/chunks/{repository-kg06axw8.js → kv-kg06axw8.js} +1 -1
  167. package/dist/chunks/{repository-21505my7.js → kv-kx3d0pr1.js} +32 -32
  168. package/dist/chunks/{repository-81rrwt6s.js → kv-kzd68pqg.js} +6 -6
  169. package/dist/chunks/{repository-crptryd9.js → kv-m2d0j7c0.js} +8 -8
  170. package/dist/chunks/{repository-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
  171. package/dist/chunks/{repository-24jpa85g.js → kv-maaqrbhp.js} +11 -11
  172. package/dist/chunks/{repository-mkcjrzeh.js → kv-mkcjrzeh.js} +1 -1
  173. package/dist/chunks/{repository-ksz0h0wp.js → kv-mp045f7j.js} +1 -1
  174. package/dist/chunks/{repository-x8pybnqb.js → kv-mrn7qyex.js} +9 -9
  175. package/dist/chunks/{repository-ygab95pb.js → kv-n3fvjmy7.js} +11 -11
  176. package/dist/chunks/{repository-9e0shq8y.js → kv-n91raeq2.js} +2 -2
  177. package/dist/chunks/{repository-3tey5e4w.js → kv-nbddwgy7.js} +10 -10
  178. package/dist/chunks/{repository-0sb7r7z8.js → kv-nce8p23g.js} +164 -164
  179. package/dist/chunks/{repository-gj9xpvv3.js → kv-nhvhf6q8.js} +6 -6
  180. package/dist/chunks/{repository-nhy5jxhy.js → kv-nhy5jxhy.js} +1 -1
  181. package/dist/chunks/{repository-n76fdqym.js → kv-njyck951.js} +5 -5
  182. package/dist/chunks/{repository-nxrh5nrb.js → kv-nksescck.js} +10 -10
  183. package/dist/chunks/{repository-bccb6npm.js → kv-paegk39x.js} +4 -4
  184. package/dist/chunks/{repository-d971jd90.js → kv-pagkjc3y.js} +19 -19
  185. package/dist/chunks/{repository-j935v87r.js → kv-paphc93g.js} +2 -2
  186. package/dist/chunks/{repository-n8gkpbkd.js → kv-pepqf6ga.js} +21 -21
  187. package/dist/chunks/{repository-zhxw6mnd.js → kv-pf07gewk.js} +2 -2
  188. package/dist/chunks/kv-pf31ssb9.js +18 -0
  189. package/dist/chunks/{repository-pjedbq3k.js → kv-pjedbq3k.js} +1 -1
  190. package/dist/chunks/{repository-pjvnvgmy.js → kv-pjvnvgmy.js} +1 -1
  191. package/dist/chunks/{repository-pknna89w.js → kv-pknna89w.js} +1 -1
  192. package/dist/chunks/{repository-a7ya2t55.js → kv-pmk1pqd6.js} +4 -4
  193. package/dist/chunks/{repository-farzb5ty.js → kv-pq2fa145.js} +15 -15
  194. package/dist/chunks/{repository-yyyn8rfv.js → kv-pytnpz35.js} +5 -5
  195. package/dist/chunks/{repository-m9wjgnng.js → kv-q0me2p8d.js} +9 -9
  196. package/dist/chunks/{repository-2hyh68ab.js → kv-q26tgv94.js} +8 -8
  197. package/dist/chunks/{repository-8brhm2ma.js → kv-qa0xdzs2.js} +35 -35
  198. package/dist/chunks/{repository-0rvwym2w.js → kv-qeh09qy1.js} +4 -4
  199. package/dist/chunks/{repository-qsdy395h.js → kv-qsdy395h.js} +1 -1
  200. package/dist/chunks/{repository-njtrby3g.js → kv-qta1thjb.js} +14 -14
  201. package/dist/chunks/{repository-25dt1yg9.js → kv-qy03xt3s.js} +41 -41
  202. package/dist/chunks/{repository-7yqjxrmz.js → kv-qz49fwgp.js} +4 -4
  203. package/dist/chunks/{repository-sqc84shp.js → kv-rentfk4q.js} +33 -33
  204. package/dist/chunks/{repository-t0sqncza.js → kv-rmk2c50f.js} +5 -5
  205. package/dist/chunks/{repository-1d1r455x.js → kv-rs0jkqyn.js} +15 -15
  206. package/dist/chunks/{repository-m1jtpm13.js → kv-rwtq93ad.js} +4 -4
  207. package/dist/chunks/{repository-5ta6a5m3.js → kv-s30wkzvp.js} +12 -12
  208. package/dist/chunks/{repository-egdp0v7k.js → kv-s3r3b7q0.js} +11 -11
  209. package/dist/chunks/{repository-twkbfbpv.js → kv-s5k7vegs.js} +23 -23
  210. package/dist/chunks/{repository-7yscfpph.js → kv-s6awdsy0.js} +7 -7
  211. package/dist/chunks/{repository-wsax0zm4.js → kv-sgdmzdqa.js} +20 -20
  212. package/dist/chunks/{repository-ja76sygq.js → kv-strj3zkw.js} +9 -9
  213. package/dist/chunks/{repository-t97t2t7r.js → kv-swe4yj3v.js} +9 -9
  214. package/dist/chunks/{repository-zqn7tw4w.js → kv-sz3a1ten.js} +16 -16
  215. package/dist/chunks/{repository-8w9tvb25.js → kv-t0x5rdq8.js} +9 -9
  216. package/dist/chunks/{repository-5ndbzdej.js → kv-t6yvnw0e.js} +41 -41
  217. package/dist/chunks/{repository-hd29wc17.js → kv-t8bhz2vr.js} +8 -8
  218. package/dist/chunks/{repository-z6dtt623.js → kv-t9ke5tbg.js} +37 -37
  219. package/dist/chunks/{repository-tazgh4e4.js → kv-tazgh4e4.js} +1 -1
  220. package/dist/chunks/{repository-tcezcvh9.js → kv-tcezcvh9.js} +1 -1
  221. package/dist/chunks/{repository-vc1a951d.js → kv-tdsjmbek.js} +35 -35
  222. package/dist/chunks/{repository-tdstcens.js → kv-tdstcens.js} +1 -1
  223. package/dist/chunks/{repository-pt9hhbjv.js → kv-temcajp8.js} +23 -23
  224. package/dist/chunks/{repository-tf1axwb0.js → kv-tgcgw25p.js} +27 -27
  225. package/dist/chunks/{repository-gv6a8nnw.js → kv-th5km1p3.js} +5 -5
  226. package/dist/chunks/{repository-p3cr5m8k.js → kv-tmxsk5ay.js} +11 -11
  227. package/dist/chunks/{repository-tn0aqsam.js → kv-tn0aqsam.js} +2 -2
  228. package/dist/chunks/{repository-h77e4z6a.js → kv-tph2fk4h.js} +9 -9
  229. package/dist/chunks/{repository-tvtrv512.js → kv-tvtrv512.js} +1 -1
  230. package/dist/chunks/{repository-t430gn4d.js → kv-ve1enffa.js} +24 -24
  231. package/dist/chunks/{repository-veqvce7d.js → kv-veqvce7d.js} +1 -1
  232. package/dist/chunks/{repository-bey7x3zt.js → kv-vk1ne14n.js} +24 -24
  233. package/dist/chunks/{repository-hcz3zddy.js → kv-vmq7ehpy.js} +5 -5
  234. package/dist/chunks/{repository-trjbg8c1.js → kv-vn5xh55y.js} +16 -16
  235. package/dist/chunks/{repository-6nyfbssk.js → kv-vrx6ppv4.js} +22 -22
  236. package/dist/chunks/{repository-rsvmvhbp.js → kv-vt44rdpy.js} +8 -8
  237. package/dist/chunks/{repository-ee84hvhb.js → kv-vx7ccse2.js} +13 -13
  238. package/dist/chunks/{repository-vzcthcp8.js → kv-vzcthcp8.js} +1 -1
  239. package/dist/chunks/{repository-11tcp5y8.js → kv-vze96k0n.js} +4 -4
  240. package/dist/chunks/{repository-hhnggr0y.js → kv-w12rp218.js} +9 -9
  241. package/dist/chunks/{repository-2gqxkbxa.js → kv-w2bv7fed.js} +20 -20
  242. package/dist/chunks/{repository-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
  243. package/dist/chunks/{repository-t23qze4t.js → kv-w79zsp0s.js} +1 -1
  244. package/dist/chunks/{repository-ct5ygdvv.js → kv-wb7ykpge.js} +32 -32
  245. package/dist/chunks/{repository-wd87259q.js → kv-wd87259q.js} +1 -1
  246. package/dist/chunks/{repository-esj243wz.js → kv-wk5z6jzv.js} +9 -9
  247. package/dist/chunks/{repository-tetdjcv5.js → kv-wrvngkj1.js} +11 -11
  248. package/dist/chunks/{repository-7fh28bch.js → kv-wvssgkrf.js} +30 -30
  249. package/dist/chunks/{repository-byvwwxkk.js → kv-wzcjkfks.js} +30 -30
  250. package/dist/chunks/{repository-f9dnc6qb.js → kv-wzq4pq7r.js} +9 -9
  251. package/dist/chunks/{repository-x1ezjp6w.js → kv-x1ezjp6w.js} +1 -1
  252. package/dist/chunks/{repository-z9czcytr.js → kv-x2xe7v1f.js} +28 -28
  253. package/dist/chunks/{repository-x43y2vfs.js → kv-x43y2vfs.js} +2 -2
  254. package/dist/chunks/{repository-dcmk5z6d.js → kv-x62ywaz6.js} +11 -11
  255. package/dist/chunks/{repository-y1p12sez.js → kv-x636v8jx.js} +27 -27
  256. package/dist/chunks/{repository-3sy2qy7n.js → kv-x82mgsnk.js} +1 -1
  257. package/dist/chunks/{repository-q7v1pqah.js → kv-xebmnhc4.js} +10 -10
  258. package/dist/chunks/{repository-5wz9f6t6.js → kv-xeyrsf3e.js} +16 -16
  259. package/dist/chunks/{repository-nf52vkfc.js → kv-xgr9hw2t.js} +11 -11
  260. package/dist/chunks/{repository-2zm9r2mq.js → kv-xjmjzbm2.js} +33 -33
  261. package/dist/chunks/{repository-mhwnn3nh.js → kv-xp20cf23.js} +7 -7
  262. package/dist/chunks/{repository-99xeyytz.js → kv-xrw35cq0.js} +22 -22
  263. package/dist/chunks/{repository-n6fqsy4a.js → kv-xxwv7ftt.js} +9 -9
  264. package/dist/chunks/{repository-xwdv5ax5.js → kv-y1ebma8p.js} +11 -11
  265. package/dist/chunks/{repository-y1fvbwt7.js → kv-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{repository-fk4ccpbg.js → kv-y30c2c2s.js} +17 -17
  267. package/dist/chunks/{repository-b3mzkn50.js → kv-y45g446j.js} +17 -17
  268. package/dist/chunks/{repository-y71avatq.js → kv-y71avatq.js} +1 -1
  269. package/dist/chunks/{repository-bn9sxrbg.js → kv-ygcyspqj.js} +28 -28
  270. package/dist/chunks/{repository-1acjjqhc.js → kv-yp2x3t23.js} +4 -4
  271. package/dist/chunks/{repository-yrhqyw5v.js → kv-yrhqyw5v.js} +1 -1
  272. package/dist/chunks/{repository-s4enseaf.js → kv-yrznvahk.js} +2 -2
  273. package/dist/chunks/{repository-xxrmh4kw.js → kv-ys4qthf1.js} +37 -37
  274. package/dist/chunks/{repository-m27pyyd3.js → kv-yt2qvb82.js} +8 -8
  275. package/dist/chunks/{repository-488yfy34.js → kv-yyqejxk6.js} +16 -16
  276. package/dist/chunks/{repository-z0bkrqjs.js → kv-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{repository-9nps6jxk.js → kv-z0jk54k5.js} +87 -87
  278. package/dist/chunks/{repository-cqz2c9ze.js → kv-z1xgx1q6.js} +14 -14
  279. package/dist/chunks/{repository-s784my9g.js → kv-z3t3b1t8.js} +18 -18
  280. package/dist/chunks/{repository-29x78va6.js → kv-z63w68vq.js} +6 -6
  281. package/dist/chunks/{repository-hj52cskm.js → kv-z7k2beek.js} +3 -3
  282. package/dist/chunks/kv-z99gdnr1.js +462 -0
  283. package/dist/chunks/{repository-zeh9ct20.js → kv-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{repository-5c74bejr.js → kv-zg1cw4cj.js} +13 -13
  285. package/dist/chunks/{repository-zr2ceqn5.js → kv-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{repository-0f776x05.js → kv-zvd5jbwb.js} +15 -15
  287. package/dist/chunks/{repository-zxq2ej10.js → kv-zxq2ej10.js} +1 -1
  288. package/dist/chunks/{repository-8g0ywzr5.js → kv-zyj2twks.js} +18 -18
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +7 -7
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +77 -77
  293. package/dist/config/discovery.js +77 -77
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +19 -19
  296. package/dist/config/plugin/agent.js +117 -117
  297. package/dist/config/plugin/command.js +209 -209
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +115 -115
  302. package/dist/config/plugin/instruction.js +85 -85
  303. package/dist/config/plugin/location-watcher.js +117 -117
  304. package/dist/config/plugin/mcp.js +126 -126
  305. package/dist/config/plugin/policy.js +114 -114
  306. package/dist/config/plugin/provider.js +113 -113
  307. package/dist/config/plugin/reference.js +117 -117
  308. package/dist/config/plugin/shell.js +118 -118
  309. package/dist/config/plugin/skill-file.js +97 -97
  310. package/dist/config/plugin/skill.js +136 -136
  311. package/dist/config/plugin/snapshot.js +115 -115
  312. package/dist/config/plugin/source.js +115 -115
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +115 -115
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +117 -117
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +81 -81
  321. package/dist/database/database.js +64 -64
  322. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +13 -13
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +14 -14
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration.gen.js +47 -47
  385. package/dist/database/migration.js +49 -49
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +74 -74
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +361 -361
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +88 -88
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +90 -90
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +68 -68
  409. package/dist/file-access.js +99 -99
  410. package/dist/file-mutation.js +89 -89
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +222 -222
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +99 -99
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +11 -11
  424. package/dist/filesystem.js +98 -98
  425. package/dist/form.js +84 -84
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +82 -82
  428. package/dist/generate.js +91 -91
  429. package/dist/git.js +7 -7
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +7 -7
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +352 -352
  454. package/dist/instruction-discovery.js +77 -77
  455. package/dist/instructions/builtins.js +82 -82
  456. package/dist/instructions/index.js +1 -1
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +86 -86
  459. package/dist/job.js +77 -77
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +71 -71
  462. package/dist/location-activity.js +130 -130
  463. package/dist/location-mutation.js +99 -99
  464. package/dist/location-service-map.js +83 -83
  465. package/dist/location-services.js +349 -349
  466. package/dist/location.js +84 -84
  467. package/dist/mcp/client.js +86 -86
  468. package/dist/mcp/index.js +99 -99
  469. package/dist/mcp/instructions.js +118 -118
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +85 -85
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +7 -7
  474. package/dist/model-resolver.js +86 -86
  475. package/dist/model.js +6 -6
  476. package/dist/models-dev.js +86 -86
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +80 -80
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +112 -112
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +78 -78
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +73 -73
  486. package/dist/plugin/agent.js +99 -99
  487. package/dist/plugin/command.js +96 -96
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +323 -323
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +75 -75
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +4 -4
  496. package/dist/plugin/plan.js +97 -97
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/anthropic.js +2 -2
  501. package/dist/plugin/provider/azure.js +118 -118
  502. package/dist/plugin/provider/cerebras.js +2 -2
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/digitalocean.js +79 -79
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +80 -80
  512. package/dist/plugin/provider/gitlab.js +3 -3
  513. package/dist/plugin/provider/google-vertex.js +2 -2
  514. package/dist/plugin/provider/kilo.js +2 -2
  515. package/dist/plugin/provider/llmgateway.js +76 -76
  516. package/dist/plugin/provider/lmstudio.js +117 -117
  517. package/dist/plugin/provider/mistral.js +2 -2
  518. package/dist/plugin/provider/modal.js +79 -79
  519. package/dist/plugin/provider/nvidia.js +2 -2
  520. package/dist/plugin/provider/ollama.js +117 -117
  521. package/dist/plugin/provider/openai-compatible.js +1 -1
  522. package/dist/plugin/provider/openai.js +80 -80
  523. package/dist/plugin/provider/opencode.js +76 -76
  524. package/dist/plugin/provider/openrouter.js +3 -3
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/sap-ai-core.js +3 -3
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  529. package/dist/plugin/provider/venice.js +2 -2
  530. package/dist/plugin/provider/vercel.js +2 -2
  531. package/dist/plugin/provider/vllm.js +117 -117
  532. package/dist/plugin/provider/xai.js +77 -77
  533. package/dist/plugin/provider/zenmux.js +2 -2
  534. package/dist/plugin/provider.js +156 -156
  535. package/dist/plugin/sdk.js +74 -74
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +133 -133
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +342 -342
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/variant.js +4 -4
  542. package/dist/plugin/vcs/git.js +82 -82
  543. package/dist/plugin/vcs/hg.js +82 -82
  544. package/dist/plugin/warming.js +112 -112
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +8 -8
  548. package/dist/plugin/websearch/mcp.js +4 -4
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin.js +220 -220
  552. package/dist/project/schema.js +8 -8
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +85 -85
  555. package/dist/provider.js +7 -7
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +3 -3
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +88 -88
  560. package/dist/reference/instructions.js +82 -82
  561. package/dist/reference.js +84 -84
  562. package/dist/repository-cache.js +76 -76
  563. package/dist/repository.js +1 -1
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +93 -93
  566. package/dist/rpc.js +81 -81
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +72 -72
  569. package/dist/session/compaction.js +127 -127
  570. package/dist/session/context.js +147 -147
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +7 -7
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +216 -216
  575. package/dist/session/execution.js +122 -122
  576. package/dist/session/generate.js +148 -148
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +84 -84
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +77 -77
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +92 -92
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +111 -111
  586. package/dist/session/model-transport.js +7 -7
  587. package/dist/session/move.js +126 -126
  588. package/dist/session/projector.js +84 -84
  589. package/dist/session/prompt.js +100 -100
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +85 -85
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +225 -225
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +86 -86
  597. package/dist/session/runner/publish-llm-event.js +3 -3
  598. package/dist/session/runner/retry.js +110 -110
  599. package/dist/session/runner/step.js +121 -121
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +3 -3
  602. package/dist/session/session.js +169 -169
  603. package/dist/session/shell.js +131 -131
  604. package/dist/session/skill.js +98 -98
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +71 -71
  607. package/dist/session/store.js +85 -85
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +205 -205
  610. package/dist/session/system-prompt.js +1 -1
  611. package/dist/session/title.js +151 -151
  612. package/dist/session/to-session-error.js +107 -107
  613. package/dist/session/transfer.js +212 -212
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +211 -211
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +11 -11
  620. package/dist/shell.js +133 -133
  621. package/dist/skill/discovery.js +4 -4
  622. package/dist/skill/instructions.js +102 -102
  623. package/dist/skill.js +101 -101
  624. package/dist/snapshot.js +86 -86
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +117 -117
  629. package/dist/tool/plugin/edit.js +115 -115
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +120 -120
  632. package/dist/tool/plugin/grep.js +120 -120
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +117 -117
  635. package/dist/tool/plugin/question.js +98 -98
  636. package/dist/tool/plugin/read.js +121 -121
  637. package/dist/tool/plugin/shell.js +208 -208
  638. package/dist/tool/plugin/skill.js +106 -106
  639. package/dist/tool/plugin/subagent.js +214 -214
  640. package/dist/tool/plugin/webfetch.js +105 -105
  641. package/dist/tool/plugin/websearch.js +109 -109
  642. package/dist/tool/plugin/write.js +117 -117
  643. package/dist/tool/read-filesystem.js +96 -96
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +8 -8
  646. package/dist/tool.js +13 -13
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/iife.js +1 -1
  650. package/dist/util/lazy.js +1 -1
  651. package/dist/util/slug.js +1 -1
  652. package/dist/util/token.js +1 -1
  653. package/dist/util/which.js +1 -1
  654. package/dist/util/wildcard.js +1 -1
  655. package/dist/v1/config/agent.js +7 -7
  656. package/dist/v1/config/attachment.js +2 -2
  657. package/dist/v1/config/command.js +3 -3
  658. package/dist/v1/config/config.js +16 -16
  659. package/dist/v1/config/error.js +4 -4
  660. package/dist/v1/config/formatter.js +1 -1
  661. package/dist/v1/config/layout.js +1 -1
  662. package/dist/v1/config/lsp.js +3 -3
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +4 -4
  665. package/dist/v1/config/permission.js +7 -7
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/v1/config/server.js +2 -2
  670. package/dist/v1/config/skills.js +3 -3
  671. package/dist/v1/permission.js +1 -1
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +85 -85
  674. package/dist/websearch.js +82 -82
  675. package/dist/wellknown/plugin.js +74 -74
  676. package/dist/wellknown.js +77 -77
  677. package/dist/workspace/driver.js +7 -7
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +78 -78
  680. package/dist/worktree/directory.js +4 -4
  681. package/dist/worktree/git.js +7 -7
  682. package/dist/worktree/refresh.js +341 -341
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree.js +89 -89
  685. package/package.json +8 -8
  686. package/dist/chunks/repository-dxj72tfx.js +0 -18
  687. package/dist/chunks/repository-gjn7zjnk.js +0 -247
  688. package/dist/chunks/repository-h47he10w.js +0 -4
  689. package/dist/chunks/repository-jn0ab61b.js +0 -22
  690. package/dist/chunks/repository-pe1hnp5n.js +0 -462
  691. /package/dist/chunks/{repository-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
  692. /package/dist/chunks/{repository-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
  693. /package/dist/chunks/{repository-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
  694. /package/dist/chunks/{repository-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
  695. /package/dist/chunks/{repository-1kg9ymc8.js → kv-1kg9ymc8.js} +0 -0
  696. /package/dist/chunks/{repository-2710q6r3.js → kv-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{repository-2axfhc9x.js → kv-2axfhc9x.js} +0 -0
  698. /package/dist/chunks/{repository-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{repository-359p4xyc.js → kv-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{repository-3asan66x.js → kv-3asan66x.js} +0 -0
  701. /package/dist/chunks/{repository-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{repository-3w5fmr99.js → kv-3w5fmr99.js} +0 -0
  703. /package/dist/chunks/{repository-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{repository-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{repository-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{repository-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{repository-53557ph1.js → kv-53557ph1.js} +0 -0
  708. /package/dist/chunks/{repository-550bvhaj.js → kv-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{repository-6prwharc.js → kv-6prwharc.js} +0 -0
  710. /package/dist/chunks/{repository-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{repository-7m9af43g.js → kv-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{repository-822emrt2.js → kv-822emrt2.js} +0 -0
  713. /package/dist/chunks/{repository-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{repository-8n3pysct.js → kv-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{repository-922hggd3.js → kv-922hggd3.js} +0 -0
  716. /package/dist/chunks/{repository-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{repository-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{repository-a1tpkmh4.js → kv-a1tpkmh4.js} +0 -0
  719. /package/dist/chunks/{repository-a6k6eb26.js → kv-a6k6eb26.js} +0 -0
  720. /package/dist/chunks/{repository-af5trqkr.js → kv-af5trqkr.js} +0 -0
  721. /package/dist/chunks/{repository-afrmfg78.js → kv-afrmfg78.js} +0 -0
  722. /package/dist/chunks/{repository-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
  723. /package/dist/chunks/{repository-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
  724. /package/dist/chunks/{repository-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
  725. /package/dist/chunks/{repository-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
  726. /package/dist/chunks/{repository-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
  727. /package/dist/chunks/{repository-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
  728. /package/dist/chunks/{repository-d9fn303g.js → kv-d9fn303g.js} +0 -0
  729. /package/dist/chunks/{repository-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
  730. /package/dist/chunks/{repository-dajrwvna.js → kv-dajrwvna.js} +0 -0
  731. /package/dist/chunks/{repository-dap0rakb.js → kv-dap0rakb.js} +0 -0
  732. /package/dist/chunks/{repository-df08tz66.js → kv-df08tz66.js} +0 -0
  733. /package/dist/chunks/{repository-dy18nga0.js → kv-dy18nga0.js} +0 -0
  734. /package/dist/chunks/{repository-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
  735. /package/dist/chunks/{repository-e73j6tqm.js → kv-e73j6tqm.js} +0 -0
  736. /package/dist/chunks/{repository-ec1grn59.js → kv-ec1grn59.js} +0 -0
  737. /package/dist/chunks/{repository-eh3zwz77.js → kv-eh3zwz77.js} +0 -0
  738. /package/dist/chunks/{repository-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
  739. /package/dist/chunks/{repository-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
  740. /package/dist/chunks/{repository-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
  741. /package/dist/chunks/{repository-faypxj3z.js → kv-faypxj3z.js} +0 -0
  742. /package/dist/chunks/{repository-fd410y7t.js → kv-fd410y7t.js} +0 -0
  743. /package/dist/chunks/{repository-fxgpk5d8.js → kv-fxgpk5d8.js} +0 -0
  744. /package/dist/chunks/{repository-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{repository-g86h250q.js → kv-g86h250q.js} +0 -0
  746. /package/dist/chunks/{repository-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{repository-gftt206x.js → kv-gftt206x.js} +0 -0
  748. /package/dist/chunks/{repository-hjbc5kem.js → kv-hjbc5kem.js} +0 -0
  749. /package/dist/chunks/{repository-hk9envan.js → kv-hk9envan.js} +0 -0
  750. /package/dist/chunks/{repository-hrnqkpcd.js → kv-hrnqkpcd.js} +0 -0
  751. /package/dist/chunks/{repository-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{repository-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{repository-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{repository-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{repository-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
  756. /package/dist/chunks/{repository-mp448xyj.js → kv-mp448xyj.js} +0 -0
  757. /package/dist/chunks/{repository-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
  758. /package/dist/chunks/{repository-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
  759. /package/dist/chunks/{repository-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
  760. /package/dist/chunks/{repository-njntx4h6.js → kv-njntx4h6.js} +0 -0
  761. /package/dist/chunks/{repository-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
  762. /package/dist/chunks/{repository-q74kybfr.js → kv-q74kybfr.js} +0 -0
  763. /package/dist/chunks/{repository-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
  764. /package/dist/chunks/{repository-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
  765. /package/dist/chunks/{repository-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
  766. /package/dist/chunks/{repository-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{repository-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{repository-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{repository-sk3qaz4a.js → kv-sk3qaz4a.js} +0 -0
  770. /package/dist/chunks/{repository-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
  771. /package/dist/chunks/{repository-twg0f83k.js → kv-twg0f83k.js} +0 -0
  772. /package/dist/chunks/{repository-w803qqfp.js → kv-w803qqfp.js} +0 -0
  773. /package/dist/chunks/{repository-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
  774. /package/dist/chunks/{repository-wtztk69x.js → kv-wtztk69x.js} +0 -0
  775. /package/dist/chunks/{repository-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
  776. /package/dist/chunks/{repository-x61499pn.js → kv-x61499pn.js} +0 -0
  777. /package/dist/chunks/{repository-y44na4kk.js → kv-y44na4kk.js} +0 -0
  778. /package/dist/chunks/{repository-y8cydn3q.js → kv-y8cydn3q.js} +0 -0
  779. /package/dist/chunks/{repository-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{repository-ym463w8f.js → kv-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{repository-z9919s4g.js → kv-z9919s4g.js} +0 -0
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./repository-922hggd3.js";
3
+ } from "./kv-922hggd3.js";
4
4
  import {
5
- Service71,
6
- node76
7
- } from "./repository-3tey5e4w.js";
5
+ Service77,
6
+ node82
7
+ } from "./kv-nbddwgy7.js";
8
8
  import {
9
9
  parse5,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./repository-6h73sxmp.js";
13
+ } from "./kv-6h73sxmp.js";
14
14
  import {
15
- Service78,
16
- node83
17
- } from "./repository-m52vhm9w.js";
15
+ Service69,
16
+ node74
17
+ } from "./kv-06zq0e3e.js";
18
18
  import {
19
19
  __export
20
- } from "./repository-9rqn6x4v.js";
20
+ } from "./kv-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service45,
33
+ Service: () => Service66,
34
34
  isError: () => isError2,
35
- node: () => node48,
35
+ node: () => node71,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service45 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service66 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service45, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service66, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
- const git = yield* Service71;
106
+ const git = yield* Service77;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service78;
110
- return Service45.of({
109
+ const kv = yield* Service69;
110
+ return Service66.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node48 = makeGlobalNode({
171
- service: Service45,
170
+ var node71 = makeGlobalNode({
171
+ service: Service66,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node76, Global.node, node83]
173
+ deps: [EffectFlock.node, FSUtil.node, node82, Global.node, node74]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service45, isError2, validateBranch2, node48, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service66, isError2, validateBranch2, node71, exports_repository_cache };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  useragent2
3
- } from "./repository-pgyxckf0.js";
3
+ } from "./kv-j41a475f.js";
4
4
  import {
5
- ID18,
5
+ ID11,
6
6
  isAISDK2
7
- } from "./repository-m27pyyd3.js";
7
+ } from "./kv-yt2qvb82.js";
8
8
  import {
9
9
  iife2
10
- } from "./repository-1kg9ymc8.js";
10
+ } from "./kv-1kg9ymc8.js";
11
11
  import {
12
12
  configuredSettings2
13
- } from "./repository-mhwnn3nh.js";
13
+ } from "./kv-xp20cf23.js";
14
14
 
15
15
  // src/plugin/provider/cloudflare-workers-ai.ts
16
16
  import os from "os";
17
17
  import { Effect } from "effect";
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Form } from "@opencode/schema/form";
20
- var providerID = ID18.make("cloudflare-workers-ai");
20
+ var providerID = ID11.make("cloudflare-workers-ai");
21
21
  var CloudflareWorkersAIPlugin2 = define({
22
22
  id: "opencode.provider.cloudflare.workers.ai",
23
23
  effect: Effect.fn(function* (ctx) {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteColumn2
3
- } from "./repository-6msgmcgs.js";
3
+ } from "./kv-6msgmcgs.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./repository-8p4f9s12.js";
6
+ } from "./kv-8p4f9s12.js";
7
7
 
8
8
  // src/worktree/sql.ts
9
9
  import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./repository-mvdnynp8.js";
4
+ } from "./kv-fts5bq5k.js";
5
5
  import {
6
- Service69,
7
- node74
8
- } from "./repository-svz4xhyh.js";
6
+ Service74,
7
+ node79
8
+ } from "./kv-1r2zdtkd.js";
9
9
  import {
10
- Service63,
11
- node67
12
- } from "./repository-bey7x3zt.js";
10
+ Service52,
11
+ node56
12
+ } from "./kv-vk1ne14n.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./repository-gd4qta3r.js";
15
+ } from "./kv-gd4qta3r.js";
16
16
  import {
17
- Service65,
17
+ Service59,
18
18
  args2,
19
- node70
20
- } from "./repository-ng1cxp70.js";
19
+ node64
20
+ } from "./kv-0yz71n10.js";
21
21
  import {
22
- Service67,
23
- node72
24
- } from "./repository-hd29wc17.js";
22
+ Service76,
23
+ node81
24
+ } from "./kv-t8bhz2vr.js";
25
25
  import {
26
- Service60,
27
- node64
28
- } from "./repository-5hk4b2g6.js";
26
+ Service33,
27
+ node37
28
+ } from "./kv-23279rje.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./repository-ndmv45hp.js";
31
+ } from "./kv-j7wq2tw5.js";
32
32
  import {
33
33
  latest2,
34
- Service61,
34
+ Service60,
35
35
  node65
36
- } from "./repository-w86n12pv.js";
36
+ } from "./kv-9ft914dh.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./repository-p5ym65ek.js";
40
+ } from "./kv-12v07r08.js";
41
41
  import {
42
42
  __export
43
- } from "./repository-9rqn6x4v.js";
43
+ } from "./kv-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError8,
49
+ NotFoundError: () => NotFoundError4,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service59,
51
+ Service: () => Service32,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node63
54
+ node: () => node36
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
62
62
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
63
63
  import { FSUtil } from "@opencode/util/fs-util";
64
64
  import { Global } from "@opencode/util/global";
65
- class NotFoundError8 extends Schema.TaggedError()("Shell.NotFoundError", {
65
+ class NotFoundError4 extends Schema.TaggedError()("Shell.NotFoundError", {
66
66
  id: Shell.ID
67
67
  }) {
68
68
  }
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
70
70
  var RETENTION2 = Duration.days(7);
71
71
  var DIRECTORY2 = "shell";
72
72
 
73
- class Service59 extends Context.Service()("@opencode/Shell") {
73
+ class Service32 extends Context.Service()("@opencode/Shell") {
74
74
  }
75
75
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
76
76
  const fs = yield* FSUtil.Service;
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
86
86
  layer: cleanupLayer,
87
87
  deps: [FSUtil.node, Global.node]
88
88
  });
89
- var layer = () => Layer.effect(Service59, Effect.gen(function* () {
89
+ var layer = () => Layer.effect(Service32, Effect.gen(function* () {
90
90
  const bus = yield* Service79;
91
- const location = yield* Service69;
91
+ const location = yield* Service74;
92
92
  const global = yield* Global.Service;
93
- const shell = yield* Service65;
94
- const environment = yield* Service63;
95
- const hooks = yield* Service67;
96
- const environments = yield* Service60;
97
- const config = yield* Service61;
93
+ const shell = yield* Service59;
94
+ const environment = yield* Service52;
95
+ const hooks = yield* Service76;
96
+ const environments = yield* Service33;
97
+ const config = yield* Service60;
98
98
  const context = yield* Effect.context();
99
99
  const runFork = Effect.runForkWith(context);
100
100
  const commands = new Map;
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service59, Effect.gen(function* () {
115
115
  const require2 = Effect.fnUntraced(function* (id) {
116
116
  const command = commands.get(id);
117
117
  if (!command)
118
- return yield* new NotFoundError8({ id });
118
+ return yield* new NotFoundError4({ id });
119
119
  return command;
120
120
  });
121
121
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service59, Effect.gen(function* () {
128
128
  commands.delete(id);
129
129
  if (command.timeoutFiber)
130
130
  yield* Fiber.interrupt(command.timeoutFiber);
131
- yield* Deferred.fail(command.done, new NotFoundError8({ id }));
131
+ yield* Deferred.fail(command.done, new NotFoundError4({ id }));
132
132
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
133
133
  yield* bus.publish(Shell.Event.Deleted, { id });
134
134
  });
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service59, Effect.gen(function* () {
314
314
  const command = yield* Deferred.await(ready);
315
315
  return command.info;
316
316
  });
317
- return Service59.of({ create, list, get, wait, result, timeout, output, remove });
317
+ return Service32.of({ create, list, get, wait, result, timeout, output, remove });
318
318
  }));
319
- var node63 = makeLocationNode({
320
- service: Service59,
319
+ var node36 = makeLocationNode({
320
+ service: Service32,
321
321
  layer: layer(),
322
322
  deps: [
323
323
  node84,
324
- node74,
324
+ node79,
325
325
  Global.node,
326
- node70,
327
- node67,
328
- node72,
329
326
  node64,
327
+ node56,
328
+ node81,
329
+ node37,
330
330
  node65,
331
331
  cleanupNode
332
332
  ]
333
333
  });
334
334
 
335
- export { NotFoundError8, RETENTION2, DIRECTORY2, Service59, cleanup2, node63, exports_shell4 };
335
+ export { NotFoundError4, RETENTION2, DIRECTORY2, Service32, cleanup2, node36, exports_shell4 };
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service50
3
- } from "./repository-g32rby1q.js";
2
+ Service56
3
+ } from "./kv-0pa87wdg.js";
4
4
  import {
5
- Service42
6
- } from "./repository-81rrwt6s.js";
5
+ Service40
6
+ } from "./kv-kzd68pqg.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./repository-dxj72tfx.js";
9
+ } from "./kv-pf31ssb9.js";
10
10
  import {
11
11
  __export
12
- } from "./repository-9rqn6x4v.js";
12
+ } from "./kv-9rqn6x4v.js";
13
13
 
14
14
  // src/session/command.ts
15
15
  var exports_command3 = {};
@@ -19,8 +19,8 @@ __export(exports_command3, {
19
19
  });
20
20
  import { Effect } from "effect";
21
21
  var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
22
- const instances = yield* Service42;
23
- const commands = yield* awaitActivation2.pipe(Effect.andThen(Service50), instances.provide(input.session));
22
+ const instances = yield* Service40;
23
+ const commands = yield* awaitActivation2.pipe(Effect.andThen(Service56), instances.provide(input.session));
24
24
  yield* commands.execute({
25
25
  name: input.command,
26
26
  invocation: {
@@ -1,6 +1,6 @@
1
1
  import {
2
- Service69
3
- } from "./repository-svz4xhyh.js";
2
+ Service74
3
+ } from "./kv-1r2zdtkd.js";
4
4
  import {
5
5
  PATCH_CONTEXT_LINES2,
6
6
  MAX_PATCH_BYTES2,
@@ -10,18 +10,18 @@ import {
10
10
  deletePatch2,
11
11
  countPatch2,
12
12
  chunksByFile2
13
- } from "./repository-tazgh4e4.js";
13
+ } from "./kv-tazgh4e4.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./repository-2gqxkbxa.js";
16
+ } from "./kv-w2bv7fed.js";
17
17
  import {
18
18
  __export
19
- } from "./repository-9rqn6x4v.js";
19
+ } from "./kv-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
23
23
  __export(exports_hg, {
24
- Plugin: () => Plugin33,
24
+ Plugin: () => Plugin14,
25
25
  VcsHgPlugin: () => exports_hg
26
26
  });
27
27
  import path from "path";
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { FSUtil } from "@opencode/util/fs-util";
32
32
  import { AppProcess } from "@opencode/util/process";
33
- var Plugin33 = define({
33
+ var Plugin14 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
- const location = yield* Service69;
36
+ const location = yield* Service74;
37
37
  if (location.vcs?.type !== "hg")
38
38
  return;
39
39
  const processes = yield* AppProcess.Service;
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
188
188
  return { status, diff, branch, ancestor, cat };
189
189
  }
190
190
 
191
- export { Plugin33, exports_hg };
191
+ export { Plugin14, exports_hg };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./repository-ec1grn59.js";
3
+ } from "./kv-ec1grn59.js";
4
4
  import {
5
5
  toSessionError2
6
- } from "./repository-0rvwym2w.js";
6
+ } from "./kv-qeh09qy1.js";
7
7
  import {
8
8
  __export
9
- } from "./repository-9rqn6x4v.js";
9
+ } from "./kv-9rqn6x4v.js";
10
10
 
11
11
  // src/session/runner/retry.ts
12
12
  var exports_retry = {};
13
13
  __export(exports_retry, {
14
14
  SessionRunnerRetry: () => exports_retry,
15
15
  isRetryable: () => isRetryable2,
16
- make: () => make9,
16
+ make: () => make8,
17
17
  policy: () => policy2,
18
18
  transient: () => transient2
19
19
  });
@@ -96,7 +96,7 @@ var transient2 = (decide, input) => (effect) => Effect.retry(effect, {
96
96
  return true;
97
97
  })
98
98
  });
99
- var make9 = (bus, sessionID) => Effect.gen(function* () {
99
+ var make8 = (bus, sessionID) => Effect.gen(function* () {
100
100
  const decide = yield* policy2(sessionID);
101
101
  const wait = (input) => Effect.gen(function* () {
102
102
  const scheduled = yield* Clock.currentTimeMillis;
@@ -113,4 +113,4 @@ var make9 = (bus, sessionID) => Effect.gen(function* () {
113
113
  return { decide, wait };
114
114
  });
115
115
 
116
- export { isRetryable2, policy2, transient2, make9, exports_retry };
116
+ export { isRetryable2, policy2, transient2, make8, exports_retry };
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./repository-y71avatq.js";
3
+ } from "./kv-y71avatq.js";
4
4
  import {
5
5
  Service79,
6
6
  node84
7
- } from "./repository-mvdnynp8.js";
7
+ } from "./kv-fts5bq5k.js";
8
8
  import {
9
- Event18,
10
- Service75,
11
- node80
12
- } from "./repository-5p36ytzk.js";
13
- import {
14
- Service69,
15
- node74
16
- } from "./repository-svz4xhyh.js";
17
- import {
18
- Service63,
9
+ Event14,
10
+ Service62,
19
11
  node67
20
- } from "./repository-bey7x3zt.js";
12
+ } from "./kv-h11jv7vh.js";
21
13
  import {
22
- ID16,
23
14
  Service74,
24
15
  node79
25
- } from "./repository-acr4esdf.js";
16
+ } from "./kv-1r2zdtkd.js";
17
+ import {
18
+ Service52,
19
+ node56
20
+ } from "./kv-vk1ne14n.js";
21
+ import {
22
+ ID6,
23
+ Service46,
24
+ node50
25
+ } from "./kv-h1qq3dsd.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./repository-kg06axw8.js";
29
+ } from "./kv-kg06axw8.js";
30
30
  import {
31
- ID15,
31
+ ID4,
32
32
  MethodID2,
33
- Service73,
34
- node78
35
- } from "./repository-z4vx8zth.js";
33
+ Service43,
34
+ node47
35
+ } from "./kv-45hb7f83.js";
36
36
  import {
37
37
  __export
38
- } from "./repository-9rqn6x4v.js";
38
+ } from "./kv-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
44
  NotFoundError: () => NotFoundError3,
45
- Options: () => Options5,
45
+ Options: () => Options4,
46
46
  Prompt: () => Prompt2,
47
47
  PromptArgument: () => PromptArgument2,
48
48
  PromptMessage: () => PromptMessage2,
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
56
56
  ServerInfo: () => ServerInfo2,
57
57
  ServerInstructions: () => ServerInstructions2,
58
58
  ServerName: () => ServerName2,
59
- Service: () => Service34,
59
+ Service: () => Service30,
60
60
  Status: () => Status2,
61
61
  Tool: () => Tool3,
62
62
  ToolCallError: () => ToolCallError2,
63
63
  ToolResult: () => ToolResult2,
64
64
  ToolResultContent: () => ToolResultContent2,
65
- configured: () => configured5,
65
+ configured: () => configured4,
66
66
  layer: () => layer15,
67
- node: () => node38
67
+ node: () => node34
68
68
  });
69
69
  import { Mcp } from "@opencode/schema/mcp";
70
70
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
81
81
  class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
82
82
  name: ServerName2,
83
83
  status: Status2,
84
- integrationID: ID15.pipe(Schema.optional)
84
+ integrationID: ID4.pipe(Schema.optional)
85
85
  }) {
86
86
  }
87
87
 
@@ -165,21 +165,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
165
165
  var URL_ELICITATION_FIELD_KEY = "elicitation";
166
166
  var cloneConfig = (config) => structuredClone(config);
167
167
 
168
- class Service34 extends Context.Service()("@opencode/MCP") {
168
+ class Service30 extends Context.Service()("@opencode/MCP") {
169
169
  }
170
- var Options5 = Schema.Struct({
170
+ var Options4 = Schema.Struct({
171
171
  clientInfo: Schema.optional(Schema.Struct({
172
172
  name: Schema.String,
173
173
  version: Schema.String
174
174
  }))
175
175
  });
176
- var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
177
- const location = yield* Service69;
178
- const environment = yield* Service63;
176
+ var layer15 = (options) => Layer.effect(Service30, Effect.gen(function* () {
177
+ const location = yield* Service74;
178
+ const environment = yield* Service52;
179
179
  const bus = yield* Service79;
180
- const forms = yield* Service74;
181
- const integration = yield* Service73;
182
- const credentials = yield* Service75;
180
+ const forms = yield* Service46;
181
+ const integration = yield* Service43;
182
+ const credentials = yield* Service62;
183
183
  const root = yield* Effect.scope;
184
184
  const fork = yield* FiberSet.makeRuntime();
185
185
  const entries = new Map;
@@ -191,7 +191,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
191
191
  return;
192
192
  const remote = entry.config;
193
193
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
194
- const integrationID = ID15.make(suffix);
194
+ const integrationID = ID4.make(suffix);
195
195
  entry.integrationID = integrationID;
196
196
  owned.add(integrationID);
197
197
  const methodID = MethodID2.make(suffix);
@@ -315,7 +315,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
315
315
  const elicitation = {
316
316
  create: (input) => Effect.gen(function* () {
317
317
  if (input.params.mode === "url") {
318
- const formID = ID16.create();
318
+ const formID = ID6.create();
319
319
  const key = input.server + "\x00" + input.params.elicitationId;
320
320
  urlElicitations.set(key, formID);
321
321
  return yield* forms.ask({
@@ -433,7 +433,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
433
433
  entry.scope = scope;
434
434
  const authProvider = yield* connectProvider(entry);
435
435
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
436
- const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service63, environment), Scope.provide(scope), Effect.exit);
436
+ const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service52, environment), Scope.provide(scope), Effect.exit);
437
437
  if (Exit.isSuccess(result)) {
438
438
  entry.client = result.value.connection;
439
439
  entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
@@ -557,7 +557,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
557
557
  yield* startServer(name, entry);
558
558
  }).pipe(locks.withLock(name));
559
559
  });
560
- fork(bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
560
+ fork(bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
561
561
  const state = create3({
562
562
  name: "mcp",
563
563
  initial: () => ({
@@ -587,7 +587,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
587
587
  concurrency: "unbounded",
588
588
  discard: true
589
589
  }));
590
- return Service34.of({
590
+ return Service30.of({
591
591
  transform: state.transform,
592
592
  reload: state.reload,
593
593
  servers: Effect.fn("MCP.servers")(function* () {
@@ -707,14 +707,14 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
707
707
  })
708
708
  });
709
709
  }));
710
- function configured5(options) {
710
+ function configured4(options) {
711
711
  return makeLocationNode({
712
- service: Service34,
712
+ service: Service30,
713
713
  layer: layer15(options),
714
- deps: [node74, node67, node84, node79, node78, node80]
714
+ deps: [node79, node56, node84, node50, node47, node67]
715
715
  });
716
716
  }
717
- var node38 = configured5();
717
+ var node34 = configured4();
718
718
  function toElicitationField(key, property, required) {
719
719
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
720
720
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -765,4 +765,4 @@ function toElicitationField(key, property, required) {
765
765
  }
766
766
  }
767
767
 
768
- export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service34, Options5, layer15, configured5, node38, exports_mcp4 };
768
+ export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service30, Options4, layer15, configured4, node34, exports_mcp4 };