@opencode/core 0.0.0-dev-19402 → 0.0.0-dev-19404

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 (787) 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 +71 -71
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{worktree-9b60vqg3.js → file-03wwe30p.js} +19 -19
  9. package/dist/chunks/{worktree-tezvarmp.js → file-03zt5v0h.js} +11 -11
  10. package/dist/chunks/{worktree-n1qkhzt6.js → file-0bc9xa41.js} +15 -15
  11. package/dist/chunks/{worktree-8tw6vjk5.js → file-0ee4sq7j.js} +13 -13
  12. package/dist/chunks/{worktree-0kjjkgrz.js → file-0kzzmtkd.js} +11 -11
  13. package/dist/chunks/file-0mesazry.js +4 -0
  14. package/dist/chunks/{worktree-1tjg7tvh.js → file-0p4j4cv0.js} +9 -9
  15. package/dist/chunks/{worktree-0paq2nw3.js → file-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{worktree-0q0f95c6.js → file-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{worktree-zez8w2s0.js → file-0tqgm7xh.js} +32 -32
  18. package/dist/chunks/{worktree-k0kes8vm.js → file-0vbmec47.js} +30 -30
  19. package/dist/chunks/{worktree-jnmqjdkf.js → file-11tcp5y8.js} +4 -4
  20. package/dist/chunks/{worktree-sdva1t93.js → file-195b9hkp.js} +28 -28
  21. package/dist/chunks/{worktree-1dazxqgg.js → file-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{worktree-xvarwbkw.js → file-1enyjv7v.js} +11 -11
  23. package/dist/chunks/{worktree-1eyaby9q.js → file-1eyaby9q.js} +2 -2
  24. package/dist/chunks/{worktree-8t3tghaa.js → file-1tx98gn3.js} +14 -14
  25. package/dist/chunks/{worktree-gqt4stpv.js → file-1vd4786e.js} +9 -9
  26. package/dist/chunks/{worktree-0qzq572y.js → file-1vpsedet.js} +4 -4
  27. package/dist/chunks/{worktree-dz46kn0c.js → file-1z0pzthf.js} +2 -2
  28. package/dist/chunks/{worktree-f4hvcdyc.js → file-206fxkvm.js} +18 -18
  29. package/dist/chunks/{worktree-21r38tys.js → file-21r38tys.js} +1 -1
  30. package/dist/chunks/{worktree-z63w68vq.js → file-29x78va6.js} +6 -6
  31. package/dist/chunks/{worktree-2a5m3afh.js → file-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{worktree-ex6wht0f.js → file-2cmcktmr.js} +12 -12
  33. package/dist/chunks/{worktree-t7xstbkq.js → file-2ff89mrc.js} +4 -4
  34. package/dist/chunks/{worktree-89y6ec7x.js → file-2r4xr41j.js} +23 -23
  35. package/dist/chunks/{worktree-a81erjcz.js → file-2rbw2ja1.js} +25 -25
  36. package/dist/chunks/{worktree-f7ng0avf.js → file-37y0x4sa.js} +13 -13
  37. package/dist/chunks/{worktree-39gq0jsz.js → file-397qe2v7.js} +16 -16
  38. package/dist/chunks/{worktree-gdvy8fx6.js → file-3fc6dm20.js} +4 -4
  39. package/dist/chunks/{worktree-7x1jk2s0.js → file-3fj0ehej.js} +43 -43
  40. package/dist/chunks/{worktree-3hepkmqq.js → file-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{worktree-84esvpjp.js → file-3kff94q5.js} +9 -9
  42. package/dist/chunks/{worktree-swqq1grb.js → file-3n1sj9mp.js} +1 -1
  43. package/dist/chunks/{worktree-8hyjw9n3.js → file-3nmb6yg0.js} +25 -25
  44. package/dist/chunks/{worktree-ty151b2e.js → file-3nte7245.js} +27 -27
  45. package/dist/chunks/{worktree-3smtnn6g.js → file-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{worktree-a54cm72e.js → file-3trbxeqx.js} +1 -1
  47. package/dist/chunks/{worktree-3tvqynh2.js → file-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{worktree-t0fxg8b9.js → file-3w2b2yj4.js} +5 -5
  49. package/dist/chunks/{worktree-j7wq2tw5.js → file-3yjg5mh2.js} +3 -3
  50. package/dist/chunks/{worktree-yefxppqx.js → file-3yknbgq7.js} +13 -13
  51. package/dist/chunks/{worktree-g1f7p4xr.js → file-416qpt5q.js} +32 -32
  52. package/dist/chunks/{worktree-1n39waag.js → file-4e25g0td.js} +17 -17
  53. package/dist/chunks/{worktree-wnbnthsg.js → file-4qbtf2xm.js} +5 -5
  54. package/dist/chunks/{worktree-d9sn21bc.js → file-4rpd5z62.js} +2 -2
  55. package/dist/chunks/{worktree-y2e61msj.js → file-4ycmfby4.js} +41 -41
  56. package/dist/chunks/{worktree-vh076mqk.js → file-52az7e5h.js} +17 -17
  57. package/dist/chunks/{worktree-1ygqh575.js → file-56gdpj1q.js} +9 -9
  58. package/dist/chunks/{worktree-ggr3x0mq.js → file-56j57pys.js} +15 -15
  59. package/dist/chunks/{worktree-3ma48d2q.js → file-5aejmzs0.js} +25 -25
  60. package/dist/chunks/{worktree-hd849z55.js → file-5cvqq58e.js} +3 -3
  61. package/dist/chunks/{worktree-5daktx2q.js → file-5daktx2q.js} +1 -1
  62. package/dist/chunks/{worktree-vdehrbvs.js → file-5djf14hj.js} +40 -40
  63. package/dist/chunks/{worktree-5t3nmthw.js → file-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{worktree-jdh6s7jq.js → file-5trk58xb.js} +8 -8
  65. package/dist/chunks/{worktree-zznp8j5v.js → file-5z7h86dp.js} +5 -5
  66. package/dist/chunks/{worktree-4arj8dq0.js → file-60chw6ns.js} +291 -291
  67. package/dist/chunks/{worktree-h1201fn2.js → file-664j63h8.js} +20 -20
  68. package/dist/chunks/{worktree-669tq793.js → file-669tq793.js} +1 -1
  69. package/dist/chunks/{worktree-sfbj4knz.js → file-67mjd9te.js} +9 -9
  70. package/dist/chunks/{worktree-trwfvtm6.js → file-6bg31a94.js} +15 -15
  71. package/dist/chunks/{worktree-7d9jba8k.js → file-6cr0vect.js} +34 -34
  72. package/dist/chunks/{worktree-2402vzrj.js → file-6h73sxmp.js} +5 -5
  73. package/dist/chunks/{worktree-6jnybvqn.js → file-6jnybvqn.js} +2 -2
  74. package/dist/chunks/{worktree-6msgmcgs.js → file-6msgmcgs.js} +1 -1
  75. package/dist/chunks/{worktree-y91xqvp5.js → file-70xczmxz.js} +9 -9
  76. package/dist/chunks/{worktree-71q4at8m.js → file-71q4at8m.js} +1 -1
  77. package/dist/chunks/{worktree-mcrth2bg.js → file-75v5avbv.js} +9 -9
  78. package/dist/chunks/{worktree-3m1vdcah.js → file-79rym0vx.js} +16 -16
  79. package/dist/chunks/{worktree-t0msmdsn.js → file-7a03d1b8.js} +18 -18
  80. package/dist/chunks/{worktree-7bmhse3q.js → file-7bmhse3q.js} +1 -1
  81. package/dist/chunks/{worktree-qgn6gcr1.js → file-7dqw4kz8.js} +5 -5
  82. package/dist/chunks/{worktree-yr02nea7.js → file-7ebn0nc0.js} +4 -4
  83. package/dist/chunks/{worktree-73tb2d7t.js → file-7yh4e7ss.js} +3 -3
  84. package/dist/chunks/{worktree-81swgkk7.js → file-81swgkk7.js} +2 -2
  85. package/dist/chunks/{worktree-x3et2xth.js → file-844ef7ks.js} +8 -8
  86. package/dist/chunks/{worktree-m3g11tvf.js → file-84tssp1s.js} +8 -8
  87. package/dist/chunks/{worktree-5sdemcz3.js → file-87deq66t.js} +8 -8
  88. package/dist/chunks/{worktree-w1k39n5e.js → file-88sz8qcd.js} +4 -4
  89. package/dist/chunks/{worktree-8d7r5vzw.js → file-8d7r5vzw.js} +1 -1
  90. package/dist/chunks/{worktree-ks9r2606.js → file-8kpa3sfw.js} +23 -23
  91. package/dist/chunks/{worktree-8p4f9s12.js → file-8p4f9s12.js} +2 -2
  92. package/dist/chunks/{worktree-g5z572jc.js → file-8pnwjqbd.js} +19 -19
  93. package/dist/chunks/{worktree-j7k24pbc.js → file-8s0m5yrh.js} +18 -18
  94. package/dist/chunks/{worktree-edrmdtr5.js → file-8x96bj0m.js} +4 -4
  95. package/dist/chunks/{worktree-7m5f9412.js → file-91p1v22t.js} +8 -8
  96. package/dist/chunks/{worktree-kgxk992x.js → file-9aqzzx1f.js} +20 -20
  97. package/dist/chunks/{worktree-q2t36530.js → file-9bj2cvf7.js} +9 -9
  98. package/dist/chunks/{worktree-4w6drx90.js → file-9hhkemsn.js} +15 -15
  99. package/dist/chunks/{worktree-sxc4n3b4.js → file-9k2v62xn.js} +1 -1
  100. package/dist/chunks/{worktree-j8n86hs1.js → file-9nmemh1m.js} +20 -20
  101. package/dist/chunks/{worktree-xkskprjp.js → file-9v3118pd.js} +26 -26
  102. package/dist/chunks/{worktree-xjgcvsjt.js → file-9vqmh8rd.js} +20 -20
  103. package/dist/chunks/{worktree-zc2n0ndy.js → file-9yb9755z.js} +13 -13
  104. package/dist/chunks/{worktree-a1bz86dw.js → file-a1bz86dw.js} +3 -3
  105. package/dist/chunks/{worktree-721cw5cc.js → file-a28msnrx.js} +4 -4
  106. package/dist/chunks/{worktree-aaet6srn.js → file-aaet6srn.js} +2 -2
  107. package/dist/chunks/{worktree-31n43axm.js → file-agmzfzv5.js} +18 -18
  108. package/dist/chunks/{worktree-nt7ny3vf.js → file-agz6ccty.js} +39 -46
  109. package/dist/chunks/{worktree-5q02cxx3.js → file-an7cqtb7.js} +4 -4
  110. package/dist/chunks/{worktree-nf98eega.js → file-arncpnzb.js} +18 -18
  111. package/dist/chunks/{worktree-psyj660w.js → file-ashvqh0k.js} +4 -4
  112. package/dist/chunks/{worktree-07gza034.js → file-awz7xhfp.js} +4 -4
  113. package/dist/chunks/{worktree-qj8a3ybw.js → file-b3ab3ctg.js} +6 -6
  114. package/dist/chunks/{worktree-rfnzy394.js → file-b3wkxfg9.js} +1 -1
  115. package/dist/chunks/{worktree-qwkytnft.js → file-b4ssmz4r.js} +9 -9
  116. package/dist/chunks/{worktree-b6gygkdw.js → file-b6gygkdw.js} +2 -2
  117. package/dist/chunks/{worktree-y6qp2ybc.js → file-b8ek1188.js} +32 -32
  118. package/dist/chunks/{worktree-dsk24zyn.js → file-b91bsk4k.js} +20 -20
  119. package/dist/chunks/{worktree-nhpkhfw8.js → file-bbddt0rr.js} +25 -25
  120. package/dist/chunks/{worktree-0bfcx7cw.js → file-bd7mw0dj.js} +20 -20
  121. package/dist/chunks/{worktree-qsfs49vc.js → file-bf99w40p.js} +85 -85
  122. package/dist/chunks/{worktree-z2333xw5.js → file-bv5t9bgg.js} +10 -10
  123. package/dist/chunks/file-bxsmgxt8.js +22 -0
  124. package/dist/chunks/{worktree-efywkr4m.js → file-c807y6n2.js} +26 -26
  125. package/dist/chunks/{worktree-9w4ppqge.js → file-ce5fknq2.js} +5 -5
  126. package/dist/chunks/{worktree-cfpkc3c9.js → file-cfpkc3c9.js} +2 -2
  127. package/dist/chunks/{worktree-fan4hwvp.js → file-d1xvm4af.js} +11 -11
  128. package/dist/chunks/{worktree-n2rf99bc.js → file-d5n4bh35.js} +22 -22
  129. package/dist/chunks/{worktree-enae0pqt.js → file-denqxv8d.js} +7 -7
  130. package/dist/chunks/{worktree-cwyfgkk1.js → file-dft13gwa.js} +46 -46
  131. package/dist/chunks/{worktree-530frpyx.js → file-dgbe4bt1.js} +18 -18
  132. package/dist/chunks/{worktree-jy5v7e4m.js → file-dn4sgk77.js} +60 -60
  133. package/dist/chunks/{worktree-me1mq5zn.js → file-dtbk98nz.js} +30 -30
  134. package/dist/chunks/{worktree-e5sghx2m.js → file-dx6t03ys.js} +2 -2
  135. package/dist/chunks/{worktree-t7pm3pdd.js → file-e6g776ht.js} +18 -18
  136. package/dist/chunks/{worktree-mzbvs37z.js → file-e7c5hh0v.js} +7 -7
  137. package/dist/chunks/{worktree-9mszsyym.js → file-e7n26ax2.js} +8 -8
  138. package/dist/chunks/{worktree-b7qepvza.js → file-e9cer28w.js} +4 -4
  139. package/dist/chunks/{worktree-7z7az0f5.js → file-ec8389mk.js} +4 -4
  140. package/dist/chunks/{worktree-8g9sv97x.js → file-edx7kkbf.js} +24 -24
  141. package/dist/chunks/{worktree-9abatgz1.js → file-egqspz5t.js} +17 -17
  142. package/dist/chunks/{worktree-baaqp4zd.js → file-embw8kgh.js} +4 -4
  143. package/dist/chunks/{worktree-qvgcjadf.js → file-esdnemd6.js} +1 -1
  144. package/dist/chunks/{worktree-etq0c3wd.js → file-etq0c3wd.js} +1 -1
  145. package/dist/chunks/{worktree-xhm4y6wv.js → file-ew6y6y1a.js} +30 -30
  146. package/dist/chunks/{worktree-37fxfkdc.js → file-eykg37vx.js} +15 -15
  147. package/dist/chunks/{worktree-f828m53h.js → file-f828m53h.js} +2 -2
  148. package/dist/chunks/{worktree-22pek6eg.js → file-f98vsa4d.js} +32 -32
  149. package/dist/chunks/{worktree-0cj21tsq.js → file-ff8vf18q.js} +7 -7
  150. package/dist/chunks/{worktree-t0x5rdq8.js → file-fjmrr6sh.js} +9 -9
  151. package/dist/chunks/{worktree-jb4hwekh.js → file-fk561ek3.js} +17 -17
  152. package/dist/chunks/{worktree-hcryep5n.js → file-fkszgfvj.js} +14 -14
  153. package/dist/chunks/{worktree-787q5hy4.js → file-fq1h1v14.js} +3 -3
  154. package/dist/chunks/{worktree-t8k0wgen.js → file-frghq38s.js} +15 -15
  155. package/dist/chunks/{worktree-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
  156. package/dist/chunks/{worktree-jr0w00x6.js → file-fydnx5fx.js} +42 -42
  157. package/dist/chunks/{worktree-etbytr9f.js → file-fzsrmebp.js} +22 -22
  158. package/dist/chunks/{worktree-m2wv8ykr.js → file-g5twr0sp.js} +14 -14
  159. package/dist/chunks/{worktree-jbeqfmv6.js → file-g713qgch.js} +24 -24
  160. package/dist/chunks/{worktree-gd4qta3r.js → file-gd4qta3r.js} +1 -1
  161. package/dist/chunks/{worktree-w1cjc361.js → file-gj4x8zz6.js} +15 -15
  162. package/dist/chunks/{worktree-hv82z4gy.js → file-gj7pn1ka.js} +11 -11
  163. package/dist/chunks/{worktree-dep21bfz.js → file-gj9xpvv3.js} +8 -8
  164. package/dist/chunks/file-gshc2tst.js +260 -0
  165. package/dist/chunks/{worktree-th5km1p3.js → file-gv6a8nnw.js} +5 -5
  166. package/dist/chunks/{worktree-pt3jfr41.js → file-gzbkpp9m.js} +4 -4
  167. package/dist/chunks/{worktree-h03wrkyp.js → file-h03wrkyp.js} +2 -2
  168. package/dist/chunks/{worktree-m1m1txre.js → file-h074tf43.js} +41 -41
  169. package/dist/chunks/{worktree-kx71qmfd.js → file-h2gyv3sg.js} +1 -1
  170. package/dist/chunks/{worktree-h6vf3j39.js → file-h6vf3j39.js} +1 -1
  171. package/dist/chunks/{worktree-d99x89gq.js → file-hbznxe04.js} +17 -17
  172. package/dist/chunks/{worktree-fbnvfbcr.js → file-he3a9kdv.js} +27 -27
  173. package/dist/chunks/{worktree-m2manvsf.js → file-hq8zt1th.js} +6 -6
  174. package/dist/chunks/file-ht5y0zrb.js +18 -0
  175. package/dist/chunks/{worktree-q6dht6b8.js → file-htj0b10m.js} +27 -27
  176. package/dist/chunks/{worktree-fmtcp64w.js → file-j1ywwsrp.js} +56 -56
  177. package/dist/chunks/{worktree-4zn0m4jw.js → file-j2j5pzjs.js} +5 -5
  178. package/dist/chunks/{worktree-j56e64zr.js → file-j56e64zr.js} +1 -1
  179. package/dist/chunks/{worktree-paphc93g.js → file-j935v87r.js} +2 -2
  180. package/dist/chunks/{worktree-tfj258z8.js → file-ja6srv6s.js} +29 -29
  181. package/dist/chunks/{worktree-qhrw8p3b.js → file-jh9jg79a.js} +11 -11
  182. package/dist/chunks/{worktree-5d5n2frr.js → file-jhtsdbae.js} +35 -35
  183. package/dist/chunks/{worktree-rq2m1hnf.js → file-jvdqbckk.js} +19 -19
  184. package/dist/chunks/{worktree-y71avatq.js → file-jwcy2c2z.js} +4 -4
  185. package/dist/chunks/{worktree-aw7fybkd.js → file-jxj1g7d6.js} +5 -5
  186. package/dist/chunks/{worktree-pztj2cvn.js → file-k2cps1w2.js} +14 -14
  187. package/dist/chunks/{worktree-jkzabyxv.js → file-k4t1n3ds.js} +5 -5
  188. package/dist/chunks/{worktree-4rx8c3z8.js → file-kcvfr73y.js} +46 -46
  189. package/dist/chunks/{worktree-kg06axw8.js → file-kg06axw8.js} +1 -1
  190. package/dist/chunks/{worktree-75nkg2tt.js → file-kk4kf303.js} +11 -11
  191. package/dist/chunks/{worktree-9df0z3fr.js → file-kkmk6wev.js} +14 -14
  192. package/dist/chunks/{worktree-kyamxspj.js → file-m4w483hc.js} +6 -6
  193. package/dist/chunks/{worktree-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
  194. package/dist/chunks/{worktree-68sfsyrr.js → file-mcma3e2p.js} +6 -6
  195. package/dist/chunks/{worktree-mkcjrzeh.js → file-mkcjrzeh.js} +1 -1
  196. package/dist/chunks/{worktree-e7f0s3sx.js → file-mrw4weg4.js} +5 -5
  197. package/dist/chunks/{worktree-88nd1tx7.js → file-ms6rwfbv.js} +29 -29
  198. package/dist/chunks/{worktree-12jxt57q.js → file-n2egqj3k.js} +10 -10
  199. package/dist/chunks/{worktree-vvgctfdq.js → file-n3ehebhz.js} +12 -12
  200. package/dist/chunks/{worktree-zbxt5nxa.js → file-n4tr9e7x.js} +18 -18
  201. package/dist/chunks/{worktree-hapy5g3w.js → file-n6c8w82a.js} +5 -5
  202. package/dist/chunks/{worktree-47cde2b0.js → file-n92g5px8.js} +17 -17
  203. package/dist/chunks/file-ngb1kbyf.js +247 -0
  204. package/dist/chunks/{worktree-2t5vmbg2.js → file-ngx16gc5.js} +10 -10
  205. package/dist/chunks/{worktree-e82z9tr0.js → file-nhy5jxhy.js} +7 -7
  206. package/dist/chunks/{worktree-dj33xrhc.js → file-nmpjh5tr.js} +30 -30
  207. package/dist/chunks/{worktree-bf5zf3k6.js → file-nrj82zgb.js} +26 -26
  208. package/dist/chunks/{worktree-jjxpfn67.js → file-ntp00jbn.js} +50 -50
  209. package/dist/chunks/{worktree-gg7pg1rj.js → file-p1nm93x7.js} +5 -5
  210. package/dist/chunks/{worktree-zgcjn2bs.js → file-p7r5e3re.js} +25 -25
  211. package/dist/chunks/{worktree-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
  212. package/dist/chunks/{worktree-pknna89w.js → file-pknna89w.js} +1 -1
  213. package/dist/chunks/{worktree-et0ngb76.js → file-pnfpsavj.js} +8 -8
  214. package/dist/chunks/{worktree-y2a9qway.js → file-prqr7atv.js} +16 -16
  215. package/dist/chunks/{worktree-0ddfdf6h.js → file-pvp2wc9z.js} +11 -11
  216. package/dist/chunks/{worktree-f59qb7z8.js → file-q043d12m.js} +11 -11
  217. package/dist/chunks/{worktree-yse482wb.js → file-qacd23e2.js} +4 -4
  218. package/dist/chunks/{worktree-3cdjp2z1.js → file-qaeybh9m.js} +6 -6
  219. package/dist/chunks/{worktree-j47svp76.js → file-qefhz522.js} +11 -11
  220. package/dist/chunks/{worktree-t5sxkdg8.js → file-qj43ta48.js} +32 -32
  221. package/dist/chunks/{worktree-9pbhwmzz.js → file-qrh3ph5y.js} +39 -39
  222. package/dist/chunks/{worktree-qsdy395h.js → file-qsdy395h.js} +1 -1
  223. package/dist/chunks/{worktree-mmg38rnz.js → file-qt2wzkfv.js} +175 -175
  224. package/dist/chunks/{worktree-0a6m9zn6.js → file-rb7pkpgx.js} +27 -27
  225. package/dist/chunks/{worktree-p6vhw81v.js → file-rbb6h0rd.js} +11 -11
  226. package/dist/chunks/{worktree-0ms7d4ta.js → file-rctdwqm8.js} +13 -13
  227. package/dist/chunks/{worktree-hf4cy5d5.js → file-rddqvwx7.js} +22 -22
  228. package/dist/chunks/{worktree-p1bhyryy.js → file-rn18s34v.js} +9 -9
  229. package/dist/chunks/{worktree-8rkr9qb0.js → file-rs226bz6.js} +5 -5
  230. package/dist/chunks/{worktree-0hjjfnva.js → file-rz3jkdqg.js} +20 -20
  231. package/dist/chunks/{worktree-nx9fcjx2.js → file-s40t4n9p.js} +36 -36
  232. package/dist/chunks/{worktree-yrznvahk.js → file-s4enseaf.js} +2 -2
  233. package/dist/chunks/{worktree-w2pgmj82.js → file-s7vx81dz.js} +9 -9
  234. package/dist/chunks/{worktree-bha4atvq.js → file-szgy4byf.js} +4 -4
  235. package/dist/chunks/{worktree-w1ad28wa.js → file-t33aqq77.js} +8 -8
  236. package/dist/chunks/{worktree-dfzyx3vm.js → file-t4fssz5f.js} +11 -11
  237. package/dist/chunks/{worktree-eaj1djv9.js → file-t550f9t1.js} +8 -8
  238. package/dist/chunks/{worktree-4hs0xter.js → file-t9qhnrv6.js} +6 -6
  239. package/dist/chunks/{worktree-tazgh4e4.js → file-tazgh4e4.js} +1 -1
  240. package/dist/chunks/{worktree-tcezcvh9.js → file-tcezcvh9.js} +1 -1
  241. package/dist/chunks/{worktree-tdstcens.js → file-tdstcens.js} +1 -1
  242. package/dist/chunks/{worktree-5t6qf0dk.js → file-tsdrwk88.js} +11 -11
  243. package/dist/chunks/{worktree-tvtrv512.js → file-tvtrv512.js} +1 -1
  244. package/dist/chunks/{worktree-ehzmktfy.js → file-v3smhzc7.js} +21 -21
  245. package/dist/chunks/{worktree-bsn55ndq.js → file-v6eynfa8.js} +28 -28
  246. package/dist/chunks/{worktree-z5vzydcd.js → file-v9n7g2jp.js} +48 -48
  247. package/dist/chunks/{worktree-z92e5j38.js → file-vabb23s0.js} +1 -1
  248. package/dist/chunks/{worktree-veqvce7d.js → file-veqvce7d.js} +1 -1
  249. package/dist/chunks/{worktree-6npnztgt.js → file-verq85zk.js} +4 -4
  250. package/dist/chunks/{worktree-5aq7k26p.js → file-vftfn4tg.js} +76 -76
  251. package/dist/chunks/{worktree-txqj87x6.js → file-vq3dh784.js} +21 -21
  252. package/dist/chunks/{worktree-cavr175a.js → file-vsp1fds9.js} +21 -21
  253. package/dist/chunks/{worktree-ceanckhm.js → file-vypqtakx.js} +1 -1
  254. package/dist/chunks/{worktree-mkyhyqbc.js → file-vzab2f08.js} +30 -30
  255. package/dist/chunks/{worktree-vzcthcp8.js → file-vzcthcp8.js} +1 -1
  256. package/dist/chunks/{worktree-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{worktree-fjsew8y4.js → file-w6vgwbtw.js} +15 -15
  258. package/dist/chunks/{worktree-87s6j92f.js → file-wc01vwq2.js} +17 -17
  259. package/dist/chunks/{worktree-wd87259q.js → file-wd87259q.js} +1 -1
  260. package/dist/chunks/{worktree-tby7n86s.js → file-wh05710z.js} +44 -44
  261. package/dist/chunks/{worktree-wtkpn8tp.js → file-wkwfxgj3.js} +4 -4
  262. package/dist/chunks/{worktree-xb08yn7h.js → file-wxg97684.js} +31 -31
  263. package/dist/chunks/{worktree-d73e9djv.js → file-x015srt1.js} +23 -23
  264. package/dist/chunks/{worktree-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
  265. package/dist/chunks/{worktree-x43y2vfs.js → file-x43y2vfs.js} +2 -2
  266. package/dist/chunks/{worktree-mw16jd8v.js → file-xacpwbjs.js} +9 -9
  267. package/dist/chunks/{worktree-bz2gz0gx.js → file-xe3tttza.js} +10 -10
  268. package/dist/chunks/{worktree-x05hx5mx.js → file-xncegbyh.js} +6 -6
  269. package/dist/chunks/{worktree-fxr0k3ej.js → file-xnn90w67.js} +26 -26
  270. package/dist/chunks/{worktree-rzse8s8s.js → file-xp2ajnz8.js} +24 -24
  271. package/dist/chunks/{worktree-fdkcz4j4.js → file-xr2q0tqq.js} +21 -21
  272. package/dist/chunks/{worktree-paqdzpve.js → file-xx0dsh07.js} +36 -36
  273. package/dist/chunks/{worktree-kexm4n6m.js → file-xxewcce8.js} +11 -11
  274. package/dist/chunks/{worktree-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
  275. package/dist/chunks/{worktree-nbddwgy7.js → file-y2vrj84a.js} +6 -6
  276. package/dist/chunks/{worktree-z1cvmk2p.js → file-yc3z3e63.js} +11 -11
  277. package/dist/chunks/{worktree-1acjjqhc.js → file-yp2x3t23.js} +4 -4
  278. package/dist/chunks/{worktree-pda56gn5.js → file-ypy1tgyh.js} +13 -13
  279. package/dist/chunks/{worktree-yrhqyw5v.js → file-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{worktree-p44d8wdy.js → file-yt0fqk68.js} +5 -5
  281. package/dist/chunks/{worktree-z0bkrqjs.js → file-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{worktree-x3af3qht.js → file-z2rxccdg.js} +9 -9
  283. package/dist/chunks/{worktree-1aqychxq.js → file-z6mn07nx.js} +87 -87
  284. package/dist/chunks/{worktree-zeh9ct20.js → file-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{worktree-gb17qnes.js → file-zgye80qh.js} +32 -32
  286. package/dist/chunks/{worktree-3gvv7fv9.js → file-zn15gz72.js} +17 -17
  287. package/dist/chunks/{worktree-zr2ceqn5.js → file-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{worktree-za9cx4qh.js → file-zts5fb25.js} +11 -11
  289. package/dist/chunks/{worktree-zxq2ej10.js → file-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +3 -3
  291. package/dist/codemode/instructions.js +9 -9
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +81 -81
  294. package/dist/config/discovery.js +77 -77
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +19 -19
  297. package/dist/config/plugin/agent.js +117 -117
  298. package/dist/config/plugin/command.js +209 -209
  299. package/dist/config/plugin/compaction.js +155 -155
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +115 -115
  303. package/dist/config/plugin/instruction.js +85 -85
  304. package/dist/config/plugin/location-watcher.js +117 -117
  305. package/dist/config/plugin/mcp.js +126 -126
  306. package/dist/config/plugin/policy.js +114 -114
  307. package/dist/config/plugin/provider.js +113 -113
  308. package/dist/config/plugin/reference.js +117 -117
  309. package/dist/config/plugin/shell.js +118 -118
  310. package/dist/config/plugin/skill-file.js +97 -97
  311. package/dist/config/plugin/skill.js +136 -136
  312. package/dist/config/plugin/snapshot.js +115 -115
  313. package/dist/config/plugin/source.js +117 -117
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +115 -115
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +119 -119
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +83 -83
  322. package/dist/database/database.js +70 -70
  323. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +15 -15
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +16 -16
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration.gen.js +47 -47
  386. package/dist/database/migration.js +49 -49
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +74 -74
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +362 -362
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +3 -3
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +88 -88
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +90 -90
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +70 -70
  410. package/dist/file-access.js +99 -99
  411. package/dist/file-mutation.js +89 -89
  412. package/dist/file-retention.js +1 -1
  413. package/dist/file.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/ignore.js +1 -1
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +222 -222
  421. package/dist/filesystem/protected.js +1 -1
  422. package/dist/filesystem/search.js +99 -99
  423. package/dist/filesystem/watcher-binding.js +3 -3
  424. package/dist/filesystem/watcher.js +13 -13
  425. package/dist/filesystem.js +98 -98
  426. package/dist/form.js +82 -82
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +82 -82
  429. package/dist/generate.js +93 -93
  430. package/dist/git.js +5 -5
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +7 -7
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/id/id.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +353 -353
  455. package/dist/instruction-discovery.js +83 -83
  456. package/dist/instructions/builtins.js +82 -82
  457. package/dist/instructions/index.js +5 -5
  458. package/dist/integration/connection.js +1 -1
  459. package/dist/integration.js +86 -86
  460. package/dist/job.js +77 -77
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +71 -71
  463. package/dist/location-activity.js +131 -131
  464. package/dist/location-mutation.js +99 -99
  465. package/dist/location-service-map.js +83 -83
  466. package/dist/location-services.js +350 -350
  467. package/dist/location.js +84 -84
  468. package/dist/mcp/client.js +86 -86
  469. package/dist/mcp/index.js +103 -103
  470. package/dist/mcp/instructions.js +122 -122
  471. package/dist/mcp/oauth.js +3 -3
  472. package/dist/mcp/stdio.js +85 -85
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +7 -7
  475. package/dist/model-resolver.js +86 -86
  476. package/dist/model.js +10 -10
  477. package/dist/models-dev.js +84 -84
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +80 -80
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +112 -112
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +86 -86
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +73 -73
  487. package/dist/plugin/agent.js +99 -99
  488. package/dist/plugin/command.js +96 -96
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +213 -213
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +324 -324
  493. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  494. package/dist/plugin/models-dev.js +75 -75
  495. package/dist/plugin/module.js +7 -7
  496. package/dist/plugin/optimize.js +4 -4
  497. package/dist/plugin/plan.js +97 -97
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/alibaba.js +2 -2
  500. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  501. package/dist/plugin/provider/anthropic.js +2 -2
  502. package/dist/plugin/provider/azure.js +118 -118
  503. package/dist/plugin/provider/cerebras.js +2 -2
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +114 -114
  508. package/dist/plugin/provider/digitalocean.js +79 -79
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/gateway.js +2 -2
  512. package/dist/plugin/provider/github-copilot.js +80 -80
  513. package/dist/plugin/provider/gitlab.js +3 -3
  514. package/dist/plugin/provider/google-vertex.js +2 -2
  515. package/dist/plugin/provider/kilo.js +2 -2
  516. package/dist/plugin/provider/llmgateway.js +76 -76
  517. package/dist/plugin/provider/lmstudio.js +117 -117
  518. package/dist/plugin/provider/mistral.js +2 -2
  519. package/dist/plugin/provider/modal.js +79 -79
  520. package/dist/plugin/provider/nvidia.js +2 -2
  521. package/dist/plugin/provider/ollama.js +117 -117
  522. package/dist/plugin/provider/openai-compatible.js +1 -1
  523. package/dist/plugin/provider/openai.js +80 -80
  524. package/dist/plugin/provider/opencode.js +79 -79
  525. package/dist/plugin/provider/openrouter.js +3 -3
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +76 -76
  528. package/dist/plugin/provider/sap-ai-core.js +3 -3
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +2 -2
  533. package/dist/plugin/provider/vllm.js +117 -117
  534. package/dist/plugin/provider/xai.js +77 -77
  535. package/dist/plugin/provider/zenmux.js +2 -2
  536. package/dist/plugin/provider.js +158 -158
  537. package/dist/plugin/sdk.js +74 -74
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +133 -133
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +341 -341
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/variant.js +4 -4
  544. package/dist/plugin/vcs/git.js +82 -82
  545. package/dist/plugin/vcs/hg.js +82 -82
  546. package/dist/plugin/warming.js +112 -112
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +8 -8
  550. package/dist/plugin/websearch/mcp.js +6 -6
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +4 -4
  553. package/dist/plugin.js +222 -222
  554. package/dist/project/schema.js +2 -2
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +77 -77
  557. package/dist/provider.js +7 -7
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/schema.js +3 -3
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +94 -94
  562. package/dist/reference/instructions.js +82 -82
  563. package/dist/reference.js +86 -86
  564. package/dist/repository-cache.js +76 -76
  565. package/dist/repository.js +3 -3
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +93 -93
  568. package/dist/rpc.js +81 -81
  569. package/dist/schema.js +1 -1
  570. package/dist/session/command.js +72 -72
  571. package/dist/session/compaction.js +127 -127
  572. package/dist/session/context.js +147 -147
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +7 -7
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +217 -217
  577. package/dist/session/execution.js +122 -122
  578. package/dist/session/generate.js +148 -148
  579. package/dist/session/history.js +15 -15
  580. package/dist/session/inbox.js +86 -86
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +77 -77
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +92 -92
  585. package/dist/session/message-updater.js +2 -2
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +113 -113
  588. package/dist/session/model-transport.js +9 -9
  589. package/dist/session/move.js +126 -126
  590. package/dist/session/projector.js +84 -84
  591. package/dist/session/prompt.js +100 -100
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +85 -85
  594. package/dist/session/run-coordinator.js +3 -3
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +225 -225
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +86 -86
  599. package/dist/session/runner/publish-llm-event.js +3 -3
  600. package/dist/session/runner/retry.js +110 -110
  601. package/dist/session/runner/step.js +119 -119
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +5 -5
  604. package/dist/session/session.js +167 -167
  605. package/dist/session/shell.js +131 -131
  606. package/dist/session/skill.js +98 -98
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +71 -71
  609. package/dist/session/store.js +85 -85
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +205 -205
  612. package/dist/session/system-prompt.js +5 -5
  613. package/dist/session/title.js +149 -149
  614. package/dist/session/to-session-error.js +107 -107
  615. package/dist/session/transfer.js +212 -212
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +213 -213
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +9 -9
  622. package/dist/shell.js +133 -133
  623. package/dist/skill/discovery.js +2 -2
  624. package/dist/skill/instructions.js +102 -102
  625. package/dist/skill.js +105 -105
  626. package/dist/snapshot.js +86 -86
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +121 -121
  631. package/dist/tool/plugin/edit.js +115 -115
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +118 -118
  634. package/dist/tool/plugin/grep.js +114 -114
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +117 -117
  637. package/dist/tool/plugin/question.js +100 -100
  638. package/dist/tool/plugin/read.js +121 -121
  639. package/dist/tool/plugin/shell.js +212 -212
  640. package/dist/tool/plugin/skill.js +106 -106
  641. package/dist/tool/plugin/subagent.js +214 -214
  642. package/dist/tool/plugin/webfetch.js +105 -105
  643. package/dist/tool/plugin/websearch.js +107 -107
  644. package/dist/tool/plugin/write.js +117 -117
  645. package/dist/tool/read-filesystem.js +96 -96
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +8 -8
  648. package/dist/tool.js +13 -13
  649. package/dist/types/session/compaction.d.ts +2 -2
  650. package/dist/types/session/context.d.ts +1 -1
  651. package/dist/types/session/model-request.d.ts +18 -37
  652. package/dist/types/session/runner/step.d.ts +1 -1
  653. package/dist/util/error-summary.js +1 -1
  654. package/dist/util/error.js +1 -1
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +7 -7
  662. package/dist/v1/config/attachment.js +4 -4
  663. package/dist/v1/config/command.js +3 -3
  664. package/dist/v1/config/config.js +16 -16
  665. package/dist/v1/config/error.js +4 -4
  666. package/dist/v1/config/formatter.js +3 -3
  667. package/dist/v1/config/layout.js +1 -1
  668. package/dist/v1/config/lsp.js +3 -3
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +4 -4
  671. package/dist/v1/config/permission.js +7 -7
  672. package/dist/v1/config/plugin.js +3 -3
  673. package/dist/v1/config/provider-options.js +1 -1
  674. package/dist/v1/config/provider.js +4 -4
  675. package/dist/v1/config/server.js +2 -2
  676. package/dist/v1/config/skills.js +3 -3
  677. package/dist/v1/permission.js +1 -1
  678. package/dist/vcs/patch.js +1 -1
  679. package/dist/vcs.js +85 -85
  680. package/dist/websearch.js +82 -82
  681. package/dist/wellknown/plugin.js +74 -74
  682. package/dist/wellknown.js +77 -77
  683. package/dist/workspace/driver.js +7 -7
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +78 -78
  686. package/dist/worktree/directory.js +4 -4
  687. package/dist/worktree/git.js +7 -7
  688. package/dist/worktree/refresh.js +342 -342
  689. package/dist/worktree/sql.js +5 -5
  690. package/dist/worktree.js +91 -91
  691. package/package.json +8 -8
  692. package/dist/chunks/worktree-2t5f0p39.js +0 -270
  693. package/dist/chunks/worktree-dt3c0xg5.js +0 -22
  694. package/dist/chunks/worktree-dxj72tfx.js +0 -18
  695. package/dist/chunks/worktree-w6vhhse3.js +0 -247
  696. package/dist/chunks/worktree-z926abd4.js +0 -4
  697. /package/dist/chunks/{worktree-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
  698. /package/dist/chunks/{worktree-0zkw76rk.js → file-0zkw76rk.js} +0 -0
  699. /package/dist/chunks/{worktree-17cy0kzp.js → file-17cy0kzp.js} +0 -0
  700. /package/dist/chunks/{worktree-1cnp2v09.js → file-1cnp2v09.js} +0 -0
  701. /package/dist/chunks/{worktree-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
  702. /package/dist/chunks/{worktree-2710q6r3.js → file-2710q6r3.js} +0 -0
  703. /package/dist/chunks/{worktree-2axfhc9x.js → file-2axfhc9x.js} +0 -0
  704. /package/dist/chunks/{worktree-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
  705. /package/dist/chunks/{worktree-359p4xyc.js → file-359p4xyc.js} +0 -0
  706. /package/dist/chunks/{worktree-3asan66x.js → file-3asan66x.js} +0 -0
  707. /package/dist/chunks/{worktree-3v8g72cx.js → file-3v8g72cx.js} +0 -0
  708. /package/dist/chunks/{worktree-3w5fmr99.js → file-3w5fmr99.js} +0 -0
  709. /package/dist/chunks/{worktree-3wcehsnq.js → file-3wcehsnq.js} +0 -0
  710. /package/dist/chunks/{worktree-43n2bw4t.js → file-43n2bw4t.js} +0 -0
  711. /package/dist/chunks/{worktree-4knz6hnm.js → file-4knz6hnm.js} +0 -0
  712. /package/dist/chunks/{worktree-4vcrnpx2.js → file-4vcrnpx2.js} +0 -0
  713. /package/dist/chunks/{worktree-4y7fprxs.js → file-4y7fprxs.js} +0 -0
  714. /package/dist/chunks/{worktree-53557ph1.js → file-53557ph1.js} +0 -0
  715. /package/dist/chunks/{worktree-550bvhaj.js → file-550bvhaj.js} +0 -0
  716. /package/dist/chunks/{worktree-6prwharc.js → file-6prwharc.js} +0 -0
  717. /package/dist/chunks/{worktree-7akdwqpd.js → file-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{worktree-7m9af43g.js → file-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{worktree-822emrt2.js → file-822emrt2.js} +0 -0
  720. /package/dist/chunks/{worktree-88xbtdfr.js → file-88xbtdfr.js} +0 -0
  721. /package/dist/chunks/{worktree-8n3pysct.js → file-8n3pysct.js} +0 -0
  722. /package/dist/chunks/{worktree-922hggd3.js → file-922hggd3.js} +0 -0
  723. /package/dist/chunks/{worktree-9a4afbnw.js → file-9a4afbnw.js} +0 -0
  724. /package/dist/chunks/{worktree-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
  725. /package/dist/chunks/{worktree-a6k6eb26.js → file-a6k6eb26.js} +0 -0
  726. /package/dist/chunks/{worktree-af5trqkr.js → file-af5trqkr.js} +0 -0
  727. /package/dist/chunks/{worktree-afrmfg78.js → file-afrmfg78.js} +0 -0
  728. /package/dist/chunks/{worktree-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
  729. /package/dist/chunks/{worktree-atq7p7m5.js → file-atq7p7m5.js} +0 -0
  730. /package/dist/chunks/{worktree-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
  731. /package/dist/chunks/{worktree-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
  732. /package/dist/chunks/{worktree-cf4snx6d.js → file-cf4snx6d.js} +0 -0
  733. /package/dist/chunks/{worktree-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
  734. /package/dist/chunks/{worktree-d9fn303g.js → file-d9fn303g.js} +0 -0
  735. /package/dist/chunks/{worktree-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
  736. /package/dist/chunks/{worktree-dajrwvna.js → file-dajrwvna.js} +0 -0
  737. /package/dist/chunks/{worktree-dap0rakb.js → file-dap0rakb.js} +0 -0
  738. /package/dist/chunks/{worktree-df08tz66.js → file-df08tz66.js} +0 -0
  739. /package/dist/chunks/{worktree-dy18nga0.js → file-dy18nga0.js} +0 -0
  740. /package/dist/chunks/{worktree-e5kj55wp.js → file-e5kj55wp.js} +0 -0
  741. /package/dist/chunks/{worktree-e73j6tqm.js → file-e73j6tqm.js} +0 -0
  742. /package/dist/chunks/{worktree-ec1grn59.js → file-ec1grn59.js} +0 -0
  743. /package/dist/chunks/{worktree-eh3zwz77.js → file-eh3zwz77.js} +0 -0
  744. /package/dist/chunks/{worktree-emrn6kk6.js → file-emrn6kk6.js} +0 -0
  745. /package/dist/chunks/{worktree-f0mxakyp.js → file-f0mxakyp.js} +0 -0
  746. /package/dist/chunks/{worktree-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
  747. /package/dist/chunks/{worktree-faypxj3z.js → file-faypxj3z.js} +0 -0
  748. /package/dist/chunks/{worktree-fd410y7t.js → file-fd410y7t.js} +0 -0
  749. /package/dist/chunks/{worktree-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
  750. /package/dist/chunks/{worktree-g4wezp1m.js → file-g4wezp1m.js} +0 -0
  751. /package/dist/chunks/{worktree-g86h250q.js → file-g86h250q.js} +0 -0
  752. /package/dist/chunks/{worktree-gebd4c9n.js → file-gebd4c9n.js} +0 -0
  753. /package/dist/chunks/{worktree-gftt206x.js → file-gftt206x.js} +0 -0
  754. /package/dist/chunks/{worktree-hjbc5kem.js → file-hjbc5kem.js} +0 -0
  755. /package/dist/chunks/{worktree-hk9envan.js → file-hk9envan.js} +0 -0
  756. /package/dist/chunks/{worktree-hrnqkpcd.js → file-hrnqkpcd.js} +0 -0
  757. /package/dist/chunks/{worktree-j2ntwpah.js → file-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{worktree-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{worktree-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{worktree-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{worktree-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
  762. /package/dist/chunks/{worktree-mp448xyj.js → file-mp448xyj.js} +0 -0
  763. /package/dist/chunks/{worktree-msx8hqn2.js → file-msx8hqn2.js} +0 -0
  764. /package/dist/chunks/{worktree-n05xt0ee.js → file-n05xt0ee.js} +0 -0
  765. /package/dist/chunks/{worktree-n3j8tn72.js → file-n3j8tn72.js} +0 -0
  766. /package/dist/chunks/{worktree-njntx4h6.js → file-njntx4h6.js} +0 -0
  767. /package/dist/chunks/{worktree-q3sfg36h.js → file-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{worktree-q74kybfr.js → file-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{worktree-qaymkmh1.js → file-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{worktree-qb87gjwd.js → file-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{worktree-qfa1cgps.js → file-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{worktree-qrg20bc0.js → file-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{worktree-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{worktree-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{worktree-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
  776. /package/dist/chunks/{worktree-ssg3fenm.js → file-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{worktree-twg0f83k.js → file-twg0f83k.js} +0 -0
  778. /package/dist/chunks/{worktree-w803qqfp.js → file-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{worktree-wer8tq1h.js → file-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{worktree-wtztk69x.js → file-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{worktree-x0ckcb58.js → file-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{worktree-x61499pn.js → file-x61499pn.js} +0 -0
  783. /package/dist/chunks/{worktree-y44na4kk.js → file-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{worktree-y8cydn3q.js → file-y8cydn3q.js} +0 -0
  785. /package/dist/chunks/{worktree-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{worktree-ym463w8f.js → file-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{worktree-z9919s4g.js → file-z9919s4g.js} +0 -0
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./worktree-922hggd3.js";
4
+ } from "./file-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
8
  Service77,
9
- node82
10
- } from "./worktree-nbddwgy7.js";
9
+ node81
10
+ } from "./file-y2vrj84a.js";
11
11
  import {
12
- Service75,
13
- node80
14
- } from "./worktree-trwfvtm6.js";
12
+ Service72,
13
+ node76
14
+ } from "./file-6bg31a94.js";
15
15
  import {
16
16
  create3
17
- } from "./worktree-kg06axw8.js";
17
+ } from "./file-kg06axw8.js";
18
18
  import {
19
19
  __export
20
- } from "./worktree-9rqn6x4v.js";
20
+ } from "./file-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error4,
26
- ID: () => ID6,
27
- Service: () => Service48,
25
+ Error: () => Error3,
26
+ ID: () => ID5,
27
+ Service: () => Service42,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node54,
29
+ node: () => node46,
30
30
  noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,22 +34,22 @@ import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID6 } from "@opencode/schema/snapshot";
37
+ import { ID as ID5 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error4 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service48 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service42 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service48, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service42, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service77;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service75;
52
+ const location = yield* Service72;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID6.make(yield* git.tree.capture({
85
+ return ID5.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -122,25 +122,25 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
122
122
  for (const [file, snapshot] of input.files) {
123
123
  const absolute = path.resolve(worktree, file);
124
124
  if (!FSUtil.contains(worktree, absolute))
125
- return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
125
+ return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
126
126
  files.set(file, TreeID2.make(snapshot));
127
127
  }
128
128
  return files;
129
129
  });
130
130
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
131
131
  if (!enabled())
132
- return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
132
+ return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
133
133
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
134
134
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
135
135
  });
136
- return Service48.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
136
+ return Service42.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
137
137
  }).pipe(Effect.withSpan("Snapshot.boot")));
138
- var node54 = makeLocationNode({
139
- service: Service48,
138
+ var node46 = makeLocationNode({
139
+ service: Service42,
140
140
  layer,
141
- deps: [FSUtil.node, node82, Global.node, node80]
141
+ deps: [FSUtil.node, node81, Global.node, node76]
142
142
  });
143
- var noopLayer2 = Layer.succeed(Service48, Service48.of({
143
+ var noopLayer2 = Layer.succeed(Service42, Service42.of({
144
144
  transform: () => Effect.succeed({ dispose: Effect.void }),
145
145
  reload: () => Effect.void,
146
146
  capture: () => Effect.undefined,
@@ -149,13 +149,13 @@ var noopLayer2 = Layer.succeed(Service48, Service48.of({
149
149
  restore: () => Effect.void
150
150
  }));
151
151
  function failure(operation, cause) {
152
- if (cause instanceof Error4 && cause.operation === operation)
152
+ if (cause instanceof Error3 && cause.operation === operation)
153
153
  return cause;
154
- return new Error4({
154
+ return new Error3({
155
155
  operation,
156
156
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
157
157
  cause
158
158
  });
159
159
  }
160
160
 
161
- export { ID6, Error4, Service48, node54, noopLayer2, exports_snapshot2 };
161
+ export { ID5, Error3, Service42, node46, noopLayer2, exports_snapshot2 };
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  Service78,
3
- node83
4
- } from "./worktree-0kjjkgrz.js";
3
+ node82
4
+ } from "./file-0kzzmtkd.js";
5
5
  import {
6
- Service65,
7
- node70
8
- } from "./worktree-z1cvmk2p.js";
6
+ Service73,
7
+ node77
8
+ } from "./file-yc3z3e63.js";
9
9
  import {
10
10
  create3
11
- } from "./worktree-kg06axw8.js";
11
+ } from "./file-kg06axw8.js";
12
12
  import {
13
13
  __export
14
- } from "./worktree-9rqn6x4v.js";
14
+ } from "./file-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
- Event: () => Event5,
21
- ID: () => ID3,
22
- Input: () => Input13,
20
+ Event: () => Event10,
21
+ ID: () => ID6,
22
+ Input: () => Input14,
23
23
  Provider: () => Provider2,
24
24
  ProviderKey: () => ProviderKey2,
25
25
  ProviderNotFoundError: () => ProviderNotFoundError2,
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service19,
31
+ Service: () => Service45,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node23
33
+ node: () => node49
34
34
  });
35
35
  import { WebSearch } from "@opencode/schema/websearch";
36
36
  import { SessionEvent } from "@opencode/schema/session-event";
37
37
  import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
38
38
  import { HttpClientError } from "effect/unstable/http";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- import { Event as Event5 } from "@opencode/schema/websearch";
41
- var ID3 = WebSearch.ID;
40
+ import { Event as Event10 } from "@opencode/schema/websearch";
41
+ var ID6 = WebSearch.ID;
42
42
  var Provider2 = WebSearch.Provider;
43
- var Input13 = WebSearch.Input;
43
+ var Input14 = WebSearch.Input;
44
44
  var Result2 = WebSearch.Result;
45
45
  var Response2 = WebSearch.Response;
46
46
  var ProviderKey2 = "websearch:provider";
47
- var Selection2 = Schema.Union([ID3, Schema.Literal("random"), Schema.Literal(false)]);
47
+ var Selection2 = Schema.Union([ID6, Schema.Literal("random"), Schema.Literal(false)]);
48
48
 
49
49
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
50
50
  }
51
51
 
52
52
  class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
53
- providerID: ID3
53
+ providerID: ID6
54
54
  }) {
55
55
  }
56
56
 
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
58
58
  }
59
59
 
60
60
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
61
- providerID: ID3,
61
+ providerID: ID6,
62
62
  cause: Schema.Defect()
63
63
  }) {
64
64
  }
65
65
 
66
- class Service19 extends Context.Service()("@opencode/WebSearch") {
66
+ class Service45 extends Context.Service()("@opencode/WebSearch") {
67
67
  }
68
- var layer = Layer.effect(Service19, Effect.gen(function* () {
68
+ var layer = Layer.effect(Service45, Effect.gen(function* () {
69
69
  const bus = yield* Service78;
70
- const kv = yield* Service65;
70
+ const kv = yield* Service73;
71
71
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
72
72
  const cooldowns = new Map;
73
73
  const preferred = new Map;
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
124
124
  }
125
125
  return choice ? state.get().providers.get(choice) : undefined;
126
126
  });
127
- return Service19.of({
127
+ return Service45.of({
128
128
  transform: state.transform,
129
129
  reload: state.reload,
130
130
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
184
184
  const date = Date.parse(value);
185
185
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
186
186
  }
187
- var node23 = makeLocationNode({
188
- service: Service19,
187
+ var node49 = makeLocationNode({
188
+ service: Service45,
189
189
  layer,
190
- deps: [node83, node70]
190
+ deps: [node82, node77]
191
191
  });
192
192
 
193
- export { ID3, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service19, node23, exports_websearch3, Event5 };
193
+ export { ID6, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service45, node49, exports_websearch3, Event10 };
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./worktree-y71avatq.js";
3
+ } from "./file-jwcy2c2z.js";
4
4
  import {
5
5
  Service78,
6
- node83
7
- } from "./worktree-0kjjkgrz.js";
6
+ node82
7
+ } from "./file-0kzzmtkd.js";
8
8
  import {
9
- Event12,
10
- Service58,
11
- node63
12
- } from "./worktree-zez8w2s0.js";
9
+ Event18,
10
+ Service74,
11
+ node78
12
+ } from "./file-0tqgm7xh.js";
13
13
  import {
14
- Service75,
15
- node80
16
- } from "./worktree-trwfvtm6.js";
14
+ Service72,
15
+ node76
16
+ } from "./file-6bg31a94.js";
17
17
  import {
18
- Service43,
19
- node48
20
- } from "./worktree-rzse8s8s.js";
18
+ Service69,
19
+ node72
20
+ } from "./file-xp2ajnz8.js";
21
21
  import {
22
- ID10,
23
- Service59,
22
+ ID11,
23
+ Service61,
24
24
  node64
25
- } from "./worktree-fxr0k3ej.js";
25
+ } from "./file-xnn90w67.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./worktree-kg06axw8.js";
29
+ } from "./file-kg06axw8.js";
30
30
  import {
31
- ID8,
31
+ ID10,
32
32
  MethodID2,
33
- Service57,
34
- node62
35
- } from "./worktree-xb08yn7h.js";
33
+ Service60,
34
+ node63
35
+ } from "./file-wxg97684.js";
36
36
  import {
37
37
  __export
38
- } from "./worktree-9rqn6x4v.js";
38
+ } from "./file-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: () => Options3,
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: () => Service35,
59
+ Service: () => Service29,
60
60
  Status: () => Status2,
61
- Tool: () => Tool2,
61
+ Tool: () => Tool3,
62
62
  ToolCallError: () => ToolCallError2,
63
63
  ToolResult: () => ToolResult2,
64
64
  ToolResultContent: () => ToolResultContent2,
65
- configured: () => configured5,
66
- layer: () => layer16,
67
- node: () => node39
65
+ configured: () => configured3,
66
+ layer: () => layer13,
67
+ node: () => node33
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: ID8.pipe(Schema.optional)
84
+ integrationID: ID10.pipe(Schema.optional)
85
85
  }) {
86
86
  }
87
87
 
@@ -91,7 +91,7 @@ class ServerInstructions2 extends Schema.Class("MCP.ServerInstructions")({
91
91
  }) {
92
92
  }
93
93
 
94
- class Tool2 extends Schema.Class("MCP.Tool")({
94
+ class Tool3 extends Schema.Class("MCP.Tool")({
95
95
  server: ServerName2,
96
96
  name: Schema.String,
97
97
  codemode: Schema.Boolean.pipe(Schema.optional),
@@ -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 Service35 extends Context.Service()("@opencode/MCP") {
168
+ class Service29 extends Context.Service()("@opencode/MCP") {
169
169
  }
170
- var Options5 = Schema.Struct({
170
+ var Options3 = 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 layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
177
- const location = yield* Service75;
178
- const environment = yield* Service43;
176
+ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
177
+ const location = yield* Service72;
178
+ const environment = yield* Service69;
179
179
  const bus = yield* Service78;
180
- const forms = yield* Service59;
181
- const integration = yield* Service57;
182
- const credentials = yield* Service58;
180
+ const forms = yield* Service61;
181
+ const integration = yield* Service60;
182
+ const credentials = yield* Service74;
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 layer16 = (options) => Layer.effect(Service35, 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 = ID8.make(suffix);
194
+ const integrationID = ID10.make(suffix);
195
195
  entry.integrationID = integrationID;
196
196
  owned.add(integrationID);
197
197
  const methodID = MethodID2.make(suffix);
@@ -315,7 +315,7 @@ var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
315
315
  const elicitation = {
316
316
  create: (input) => Effect.gen(function* () {
317
317
  if (input.params.mode === "url") {
318
- const formID = ID10.create();
318
+ const formID = ID11.create();
319
319
  const key = input.server + "\x00" + input.params.elicitationId;
320
320
  urlElicitations.set(key, formID);
321
321
  return yield* forms.ask({
@@ -358,7 +358,7 @@ var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
358
358
  yield* forms.reply({ id: formID, answer: { [URL_ELICITATION_FIELD_KEY]: true } }).pipe(Effect.ignore);
359
359
  })
360
360
  };
361
- const toTool = (server, entry, def) => new Tool2({
361
+ const toTool = (server, entry, def) => new Tool3({
362
362
  server,
363
363
  name: def.name,
364
364
  codemode: entry.config.codemode,
@@ -433,7 +433,7 @@ var layer16 = (options) => Layer.effect(Service35, 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(Service43, 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(Service69, 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 layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
557
557
  yield* startServer(name, entry);
558
558
  }).pipe(locks.withLock(name));
559
559
  });
560
- fork(bus.subscribe(Event12.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
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))))));
561
561
  const state = create3({
562
562
  name: "mcp",
563
563
  initial: () => ({
@@ -587,7 +587,7 @@ var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
587
587
  concurrency: "unbounded",
588
588
  discard: true
589
589
  }));
590
- return Service35.of({
590
+ return Service29.of({
591
591
  transform: state.transform,
592
592
  reload: state.reload,
593
593
  servers: Effect.fn("MCP.servers")(function* () {
@@ -707,14 +707,14 @@ var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
707
707
  })
708
708
  });
709
709
  }));
710
- function configured5(options) {
710
+ function configured3(options) {
711
711
  return makeLocationNode({
712
- service: Service35,
713
- layer: layer16(options),
714
- deps: [node80, node48, node83, node64, node62, node63]
712
+ service: Service29,
713
+ layer: layer13(options),
714
+ deps: [node76, node72, node82, node64, node63, node78]
715
715
  });
716
716
  }
717
- var node39 = configured5();
717
+ var node33 = configured3();
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, Tool2, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service35, Options5, layer16, configured5, node39, exports_mcp4 };
768
+ export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service29, Options3, layer13, configured3, node33, exports_mcp4 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./worktree-922hggd3.js";
3
+ } from "./file-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./worktree-9rqn6x4v.js";
6
+ } from "./file-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/provider.ts
9
9
  var exports_provider2 = {};
10
10
  __export(exports_provider2, {
11
11
  ConfigProviderV1: () => exports_provider2,
12
- Info: () => Info8,
12
+ Info: () => Info22,
13
13
  Model: () => Model2,
14
14
  ModelStatus: () => ModelStatus2
15
15
  });
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
61
61
  disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
62
62
  }), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
63
63
  });
64
- var Info8 = Schema.Struct({
64
+ var Info22 = Schema.Struct({
65
65
  api: Schema.optional(Schema.String),
66
66
  name: Schema.optional(Schema.String),
67
67
  env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
@@ -95,4 +95,4 @@ var Info8 = Schema.Struct({
95
95
  models: Schema.optional(Schema.Record(Schema.String, Model2))
96
96
  }).annotate({ identifier: "ProviderConfig" });
97
97
 
98
- export { ModelStatus2, Model2, Info8, exports_provider2 };
98
+ export { ModelStatus2, Model2, Info22, exports_provider2 };
@@ -1,44 +1,44 @@
1
1
  import {
2
2
  Service78,
3
- node83
4
- } from "./worktree-0kjjkgrz.js";
3
+ node82
4
+ } from "./file-0kzzmtkd.js";
5
5
  import {
6
6
  create3
7
- } from "./worktree-kg06axw8.js";
7
+ } from "./file-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./worktree-9rqn6x4v.js";
10
+ } from "./file-9rqn6x4v.js";
11
11
 
12
12
  // src/agent.ts
13
- var exports_agent4 = {};
14
- __export(exports_agent4, {
15
- Agent: () => exports_agent4,
13
+ var exports_agent3 = {};
14
+ __export(exports_agent3, {
15
+ Agent: () => exports_agent3,
16
16
  Color: () => Color2,
17
- Event: () => Event19,
18
- ID: () => ID16,
19
- Info: () => Info30,
17
+ Event: () => Event12,
18
+ ID: () => ID9,
19
+ Info: () => Info12,
20
20
  Name: () => Name3,
21
- Service: () => Service74,
21
+ Service: () => Service58,
22
22
  defaultID: () => defaultID2,
23
- node: () => node79
23
+ node: () => node61
24
24
  });
25
25
  import path from "path";
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Array, Context, Effect, Layer } from "effect";
28
28
  import { Agent } from "@opencode/schema/agent";
29
29
  import { Global } from "@opencode/util/global";
30
- import { Event as Event19 } from "@opencode/schema/agent";
30
+ import { Event as Event12 } from "@opencode/schema/agent";
31
31
  var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
32
32
  var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
33
- var ID16 = Agent.ID;
33
+ var ID9 = Agent.ID;
34
34
  var Name3 = Agent.Name;
35
- var defaultID2 = ID16.make("build");
35
+ var defaultID2 = ID9.make("build");
36
36
  var Color2 = Agent.Color;
37
- var Info30 = Agent.Info;
37
+ var Info12 = Agent.Info;
38
38
 
39
- class Service74 extends Context.Service()("@opencode/Agent") {
39
+ class Service58 extends Context.Service()("@opencode/Agent") {
40
40
  }
41
- var layer = Layer.effect(Service74, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
42
42
  const bus = yield* Service78;
43
43
  const global = yield* Global.Service;
44
44
  const permissions = [
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
57
57
  editor.default = id;
58
58
  },
59
59
  update: (id, fn) => {
60
- const defaults = Info30.default(id);
60
+ const defaults = Info12.default(id);
61
61
  const current = editor.agents.get(id) ?? {
62
62
  ...defaults,
63
63
  permissions: [...defaults.permissions, ...permissions]
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
79
79
  const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
80
80
  if (configured)
81
81
  return configured;
82
- const build = selectable(data.agents.get(ID16.make("build")));
82
+ const build = selectable(data.agents.get(ID9.make("build")));
83
83
  if (build)
84
84
  return build;
85
85
  for (const agent of data.agents.values()) {
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
88
88
  return fallback;
89
89
  }
90
90
  };
91
- return Service74.of({
91
+ return Service58.of({
92
92
  transform: state.transform,
93
93
  reload: state.reload,
94
94
  get: Effect.fn("Agent.get")(function* (id) {
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
96
96
  }),
97
97
  resolve: Effect.fnUntraced(function* (id) {
98
98
  if (id !== undefined)
99
- return state.get().agents.get(ID16.make(id));
99
+ return state.get().agents.get(ID9.make(id));
100
100
  return selectedDefault();
101
101
  }),
102
102
  select: Effect.fn("Agent.select")(function* (id) {
103
103
  if (id !== undefined) {
104
- const selected = ID16.make(id);
104
+ const selected = ID9.make(id);
105
105
  return { id: selected, info: state.get().agents.get(selected) };
106
106
  }
107
107
  const info = selectedDefault();
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node79 = makeLocationNode({ service: Service74, layer, deps: [node83, Global.node] });
119
+ var node61 = makeLocationNode({ service: Service58, layer, deps: [node82, Global.node] });
120
120
 
121
- export { ID16, Name3, defaultID2, Color2, Info30, Service74, node79, exports_agent4, Event19 };
121
+ export { ID9, Name3, defaultID2, Color2, Info12, Service58, node61, exports_agent3, Event12 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./file-9rqn6x4v.js";
4
4
 
5
5
  // src/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./worktree-qfa1cgps.js";
3
+ } from "./file-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";