@opencode/core 0.0.0-dev-19976 → 0.0.0-dev-19978

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 (795) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +76 -76
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{workspace-qz49fwgp.js → shell-0gaj4617.js} +4 -4
  8. package/dist/chunks/{workspace-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
  9. package/dist/chunks/{workspace-0q0f95c6.js → shell-0q0f95c6.js} +1 -1
  10. package/dist/chunks/{workspace-qwv4fpqw.js → shell-0yj0eem9.js} +10 -10
  11. package/dist/chunks/{workspace-shh6fz4q.js → shell-1080qp6z.js} +4 -4
  12. package/dist/chunks/{workspace-8vabvz82.js → shell-11vtep71.js} +13 -13
  13. package/dist/chunks/{workspace-6r6sqe9n.js → shell-18fd1sb5.js} +3 -3
  14. package/dist/chunks/{workspace-g652nsve.js → shell-19ezmb62.js} +22 -22
  15. package/dist/chunks/{workspace-txw29g1t.js → shell-1crvyphj.js} +4 -4
  16. package/dist/chunks/{workspace-1dazxqgg.js → shell-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{workspace-a3afvmqg.js → shell-1kwcskzj.js} +7 -7
  18. package/dist/chunks/{workspace-phbsj0j2.js → shell-1p0k74td.js} +16 -16
  19. package/dist/chunks/{workspace-9fc3v4re.js → shell-1rmaqtrx.js} +4 -4
  20. package/dist/chunks/{workspace-9403nfm7.js → shell-1s2t0np1.js} +32 -32
  21. package/dist/chunks/{workspace-eatsc6yh.js → shell-1w5344nt.js} +10 -10
  22. package/dist/chunks/{workspace-bsfgxy3a.js → shell-1yxss9sq.js} +8 -8
  23. package/dist/chunks/{workspace-21r38tys.js → shell-21r38tys.js} +1 -1
  24. package/dist/chunks/{workspace-6h73sxmp.js → shell-2402vzrj.js} +5 -5
  25. package/dist/chunks/{workspace-89ad7fzy.js → shell-250ht8wz.js} +9 -9
  26. package/dist/chunks/{workspace-cq01mcjf.js → shell-260cwht4.js} +74 -74
  27. package/dist/chunks/{workspace-sx7xb6j6.js → shell-2640wgj5.js} +12 -12
  28. package/dist/chunks/{workspace-7yg3y2sd.js → shell-2976z3d9.js} +11 -11
  29. package/dist/chunks/{workspace-29x78va6.js → shell-29x78va6.js} +2 -2
  30. package/dist/chunks/{workspace-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{workspace-7h57f7d7.js → shell-2ey0y3b4.js} +35 -35
  32. package/dist/chunks/{workspace-hbyhqfhs.js → shell-2p623br6.js} +5 -5
  33. package/dist/chunks/{workspace-bh6xnkn8.js → shell-2srtjxyz.js} +314 -314
  34. package/dist/chunks/{workspace-rjg5g3rw.js → shell-2vp71rdt.js} +12 -12
  35. package/dist/chunks/{workspace-wj557cjd.js → shell-387f2ghq.js} +10 -10
  36. package/dist/chunks/{workspace-xqrhjvfz.js → shell-3abh18r5.js} +13 -13
  37. package/dist/chunks/{workspace-jd2q17ad.js → shell-3cghyafc.js} +11 -11
  38. package/dist/chunks/{workspace-3fc6dm20.js → shell-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{workspace-0x0c0f3f.js → shell-3gh3ew6n.js} +10 -10
  40. package/dist/chunks/{workspace-en5ms791.js → shell-3h4a5sy3.js} +14 -14
  41. package/dist/chunks/{workspace-jn6zj5k7.js → shell-3hapsyq9.js} +26 -26
  42. package/dist/chunks/{workspace-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{workspace-dfe8djrf.js → shell-3j8sdtpz.js} +4 -4
  44. package/dist/chunks/{workspace-kkkjbbh2.js → shell-3kn2wvnz.js} +6 -6
  45. package/dist/chunks/{workspace-j71eb661.js → shell-3q2rkys7.js} +14 -14
  46. package/dist/chunks/{workspace-2qmapw28.js → shell-3s7qr6kk.js} +16 -16
  47. package/dist/chunks/{workspace-1kzq6qnm.js → shell-3sb31twn.js} +6 -6
  48. package/dist/chunks/{workspace-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
  49. package/dist/chunks/{workspace-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
  50. package/dist/chunks/{workspace-frq37dj9.js → shell-420tzvdn.js} +16 -16
  51. package/dist/chunks/{workspace-gmqh62m1.js → shell-48698xmq.js} +16 -16
  52. package/dist/chunks/{workspace-en40pvpc.js → shell-4a5q5w53.js} +20 -20
  53. package/dist/chunks/{workspace-7b0gpmec.js → shell-4kcqzamp.js} +16 -16
  54. package/dist/chunks/{workspace-05jrxfe9.js → shell-4r49tv4x.js} +16 -16
  55. package/dist/chunks/shell-4v7qdvcn.js +18 -0
  56. package/dist/chunks/{workspace-5yyt2gzp.js → shell-4xnk508k.js} +1 -1
  57. package/dist/chunks/{workspace-g97bb4fb.js → shell-51jra4mh.js} +2 -2
  58. package/dist/chunks/{workspace-yv13jgjp.js → shell-53g2xa05.js} +3 -3
  59. package/dist/chunks/{workspace-m7a66szm.js → shell-561eeawp.js} +20 -20
  60. package/dist/chunks/{workspace-57ez7d0k.js → shell-57ez7d0k.js} +2 -2
  61. package/dist/chunks/{workspace-m2333cga.js → shell-5b1f5rf1.js} +6 -6
  62. package/dist/chunks/{workspace-q37hvqsc.js → shell-5bs0k4xh.js} +9 -9
  63. package/dist/chunks/{workspace-5daktx2q.js → shell-5daktx2q.js} +1 -1
  64. package/dist/chunks/{workspace-hby81b9r.js → shell-5fs6yg5a.js} +5 -5
  65. package/dist/chunks/{workspace-tx1r3w21.js → shell-5j5738f4.js} +10 -10
  66. package/dist/chunks/{workspace-sttw4gkc.js → shell-5ns8eg09.js} +33 -33
  67. package/dist/chunks/{workspace-brpd6fv5.js → shell-5qc21a3k.js} +26 -26
  68. package/dist/chunks/{workspace-915kganc.js → shell-5t1mxvsw.js} +19 -19
  69. package/dist/chunks/{workspace-5t3nmthw.js → shell-5t3nmthw.js} +2 -2
  70. package/dist/chunks/{workspace-vjz8een3.js → shell-5xmvjqbs.js} +9 -9
  71. package/dist/chunks/{workspace-64prggvs.js → shell-5y5m0zb6.js} +31 -31
  72. package/dist/chunks/{workspace-y39x7n9b.js → shell-5zfxgaph.js} +8 -8
  73. package/dist/chunks/{workspace-1y9dt3g7.js → shell-6134wrt7.js} +38 -38
  74. package/dist/chunks/{workspace-8ykdne12.js → shell-62hy6yfd.js} +12 -12
  75. package/dist/chunks/{workspace-t8djmwwn.js → shell-62yfe89d.js} +8 -8
  76. package/dist/chunks/{workspace-669tq793.js → shell-669tq793.js} +1 -1
  77. package/dist/chunks/{workspace-vd7ypez6.js → shell-6a5cyqv6.js} +7 -7
  78. package/dist/chunks/{workspace-crf141y6.js → shell-6dv6n725.js} +18 -18
  79. package/dist/chunks/{workspace-vkt5fbj2.js → shell-6f8737q3.js} +8 -8
  80. package/dist/chunks/{workspace-8z45c87w.js → shell-6gj1ckc8.js} +12 -12
  81. package/dist/chunks/{workspace-724bb6xm.js → shell-6hr9dd4j.js} +18 -18
  82. package/dist/chunks/{workspace-6msgmcgs.js → shell-6msgmcgs.js} +1 -1
  83. package/dist/chunks/{workspace-2aftd3a2.js → shell-6wqzn9nn.js} +3 -3
  84. package/dist/chunks/{workspace-qkp1k0b9.js → shell-6zdpm8gg.js} +3 -3
  85. package/dist/chunks/{workspace-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
  86. package/dist/chunks/{workspace-xhxcwzqv.js → shell-7bt5snpn.js} +9 -9
  87. package/dist/chunks/{workspace-7dqw4kz8.js → shell-7dqw4kz8.js} +1 -1
  88. package/dist/chunks/{workspace-nhkza4qs.js → shell-7eg5yrd4.js} +14 -14
  89. package/dist/chunks/{workspace-5epte933.js → shell-7jdsj2a9.js} +3 -3
  90. package/dist/chunks/{workspace-k55f3hcm.js → shell-7mv393fz.js} +10 -10
  91. package/dist/chunks/{workspace-77g3a63m.js → shell-7p1faebm.js} +13 -13
  92. package/dist/chunks/{workspace-7s2tn799.js → shell-7s2tn799.js} +1 -1
  93. package/dist/chunks/{workspace-2cmnwcq0.js → shell-7tj6d01t.js} +7 -7
  94. package/dist/chunks/{workspace-ptx7r7w6.js → shell-7v61v3dm.js} +11 -11
  95. package/dist/chunks/{workspace-9rcspwcs.js → shell-7vfxn4ds.js} +42 -42
  96. package/dist/chunks/{workspace-8d7r5vzw.js → shell-8d7r5vzw.js} +1 -1
  97. package/dist/chunks/{workspace-5nzaa539.js → shell-8f1yg6p5.js} +40 -40
  98. package/dist/chunks/{workspace-vpv31xpv.js → shell-8gj0fsd9.js} +4 -4
  99. package/dist/chunks/{workspace-rxxp0mym.js → shell-8jkt1xn6.js} +1 -1
  100. package/dist/chunks/{workspace-9zdcna1n.js → shell-8k69atjg.js} +19 -19
  101. package/dist/chunks/{workspace-8p4f9s12.js → shell-8p4f9s12.js} +2 -2
  102. package/dist/chunks/{workspace-9hn6k4tm.js → shell-8v6pyhej.js} +8 -8
  103. package/dist/chunks/{workspace-0z7rzftk.js → shell-8z7r2bkb.js} +4 -4
  104. package/dist/chunks/{workspace-s8ah00f6.js → shell-9514k7xd.js} +4 -4
  105. package/dist/chunks/{workspace-y9k1g73x.js → shell-9eay0pge.js} +3 -3
  106. package/dist/chunks/{workspace-xtn5wpmn.js → shell-9fvzrgf5.js} +14 -14
  107. package/dist/chunks/{workspace-4nj4bn9q.js → shell-9jzp6rtr.js} +9 -9
  108. package/dist/chunks/{workspace-a1bz86dw.js → shell-a1bz86dw.js} +3 -3
  109. package/dist/chunks/{workspace-a46v4e4v.js → shell-a2ew8a62.js} +4 -4
  110. package/dist/chunks/{workspace-r02e4wv6.js → shell-a51z7ksw.js} +9 -9
  111. package/dist/chunks/{workspace-8j6z6d32.js → shell-a5c1graw.js} +24 -24
  112. package/dist/chunks/shell-a9zdeeck.js +26 -0
  113. package/dist/chunks/{workspace-aaet6srn.js → shell-aaet6srn.js} +2 -2
  114. package/dist/chunks/{workspace-jzj5fe77.js → shell-acffanb1.js} +24 -24
  115. package/dist/chunks/{workspace-607q5haz.js → shell-afed7ext.js} +5 -5
  116. package/dist/chunks/{workspace-3w2b2yj4.js → shell-ag9w8cw1.js} +5 -5
  117. package/dist/chunks/{workspace-cs700ddv.js → shell-akjymesb.js} +15 -15
  118. package/dist/chunks/{workspace-61fvg6ge.js → shell-as7bzewp.js} +3 -3
  119. package/dist/chunks/shell-aw8ehhwx.js +252 -0
  120. package/dist/chunks/{workspace-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
  121. package/dist/chunks/{workspace-6878ajz3.js → shell-b6kpjdeq.js} +9 -9
  122. package/dist/chunks/{workspace-9t3w81t2.js → shell-b8adnfnt.js} +20 -20
  123. package/dist/chunks/{workspace-68arvhxb.js → shell-bcdacnkc.js} +7 -7
  124. package/dist/chunks/{workspace-xygf558z.js → shell-bcdav7a4.js} +13 -13
  125. package/dist/chunks/{workspace-n7hq9y22.js → shell-bez9vw3c.js} +23 -23
  126. package/dist/chunks/{workspace-9pkkzrmj.js → shell-bgs9y14h.js} +5 -5
  127. package/dist/chunks/{workspace-438fgj0f.js → shell-bhsa20q5.js} +18 -18
  128. package/dist/chunks/{workspace-egm44ayq.js → shell-bpf0162m.js} +13 -13
  129. package/dist/chunks/{workspace-njpe9gsc.js → shell-c0qnvhxc.js} +17 -17
  130. package/dist/chunks/{workspace-cfpkc3c9.js → shell-cfpkc3c9.js} +2 -2
  131. package/dist/chunks/{workspace-00jp707z.js → shell-ch7t79yz.js} +31 -31
  132. package/dist/chunks/{workspace-vrxn6v33.js → shell-ckkgcvab.js} +84 -84
  133. package/dist/chunks/{workspace-cq37gk0t.js → shell-cq37gk0t.js} +4 -4
  134. package/dist/chunks/{workspace-qnye80mc.js → shell-cry49m72.js} +34 -34
  135. package/dist/chunks/{workspace-csf2jhsg.js → shell-csf2jhsg.js} +1 -1
  136. package/dist/chunks/{workspace-0rvp7ahq.js → shell-cte7fmtx.js} +20 -20
  137. package/dist/chunks/{workspace-nz40v0xg.js → shell-d3c81gqs.js} +15 -15
  138. package/dist/chunks/{workspace-zav06jzw.js → shell-ddt2bs9e.js} +4 -4
  139. package/dist/chunks/{workspace-7rce4ag1.js → shell-dhhwvr0d.js} +10 -10
  140. package/dist/chunks/{workspace-6bstxtt3.js → shell-dy5t6xhr.js} +13 -13
  141. package/dist/chunks/{workspace-j04hx8st.js → shell-dykkexkt.js} +2 -2
  142. package/dist/chunks/{workspace-hq9c8xrb.js → shell-e0tqeget.js} +26 -26
  143. package/dist/chunks/{workspace-d2aac7k2.js → shell-ead3g9p8.js} +5 -5
  144. package/dist/chunks/{workspace-yga8c4n1.js → shell-ef00qedp.js} +12 -12
  145. package/dist/chunks/{workspace-ef5x83kb.js → shell-ef5x83kb.js} +1 -1
  146. package/dist/chunks/{workspace-erw5rpbs.js → shell-erw5rpbs.js} +2 -2
  147. package/dist/chunks/{workspace-etq0c3wd.js → shell-etq0c3wd.js} +1 -1
  148. package/dist/chunks/{workspace-1acjjqhc.js → shell-f2n192rq.js} +4 -4
  149. package/dist/chunks/{workspace-yemygy56.js → shell-f409aq7x.js} +26 -26
  150. package/dist/chunks/{workspace-zymwz594.js → shell-f4k8275x.js} +47 -47
  151. package/dist/chunks/{workspace-yf10kn3d.js → shell-f5gy8qwh.js} +8 -8
  152. package/dist/chunks/{workspace-f828m53h.js → shell-f828m53h.js} +2 -2
  153. package/dist/chunks/{workspace-mbj6r9mg.js → shell-fdytj4qh.js} +2 -2
  154. package/dist/chunks/{workspace-evstn2e1.js → shell-fh7gdbkn.js} +20 -20
  155. package/dist/chunks/{workspace-y9c8ds6g.js → shell-fp7m90ch.js} +1 -1
  156. package/dist/chunks/{workspace-95aphakr.js → shell-ftjnkh8h.js} +8 -8
  157. package/dist/chunks/{workspace-hnr5yq9h.js → shell-fvsyg6qk.js} +5 -5
  158. package/dist/chunks/{workspace-cskcxkdr.js → shell-fwwj4rbr.js} +13 -13
  159. package/dist/chunks/{workspace-fxbjtjnd.js → shell-fxbjtjnd.js} +1 -1
  160. package/dist/chunks/{workspace-vhv5xdae.js → shell-g2b0fmk0.js} +9 -9
  161. package/dist/chunks/{workspace-gy8jtxss.js → shell-g4e7yzyy.js} +18 -18
  162. package/dist/chunks/{workspace-r2m716tb.js → shell-g6q9qykm.js} +8 -8
  163. package/dist/chunks/{workspace-hc5h1fwz.js → shell-g73vfdfa.js} +11 -11
  164. package/dist/chunks/{workspace-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
  165. package/dist/chunks/{workspace-c05v4fnx.js → shell-gf6qp9k5.js} +33 -33
  166. package/dist/chunks/{workspace-jy1x85rx.js → shell-gthdbg3t.js} +4 -4
  167. package/dist/chunks/{workspace-gv6a8nnw.js → shell-gv6a8nnw.js} +2 -2
  168. package/dist/chunks/{workspace-dnq79vah.js → shell-h0ncryma.js} +10 -10
  169. package/dist/chunks/{workspace-mvfdckk2.js → shell-h5b4kcx3.js} +4 -4
  170. package/dist/chunks/{workspace-h6r3nrb9.js → shell-h6r3nrb9.js} +1 -1
  171. package/dist/chunks/{workspace-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
  172. package/dist/chunks/{workspace-f32czd11.js → shell-h74ge2a2.js} +8 -8
  173. package/dist/chunks/{workspace-dn1jy3t2.js → shell-h8fbtp05.js} +9 -9
  174. package/dist/chunks/{workspace-33k257v5.js → shell-hg87j33e.js} +9 -9
  175. package/dist/chunks/{workspace-v2gb0a2b.js → shell-hk9yfvgj.js} +3 -3
  176. package/dist/chunks/{workspace-dnk3rzs1.js → shell-hsmsnpd6.js} +22 -22
  177. package/dist/chunks/{workspace-qqveq5z9.js → shell-hw51ngyv.js} +8 -8
  178. package/dist/chunks/{workspace-j56e64zr.js → shell-j56e64zr.js} +1 -1
  179. package/dist/chunks/{workspace-zn2rtdne.js → shell-j9frms3x.js} +6 -6
  180. package/dist/chunks/{workspace-jttm2z5k.js → shell-jh94thfm.js} +133 -133
  181. package/dist/chunks/{workspace-jdhqnsv9.js → shell-jjqebjeq.js} +22 -22
  182. package/dist/chunks/{workspace-h05xe26f.js → shell-jt0at99v.js} +2 -2
  183. package/dist/chunks/{workspace-ed6ewr6r.js → shell-jyh1spmy.js} +8 -8
  184. package/dist/chunks/{workspace-ex4wm9dq.js → shell-jzqj7kse.js} +30 -30
  185. package/dist/chunks/{workspace-nzks3jc8.js → shell-k3c624dm.js} +3 -3
  186. package/dist/chunks/{workspace-axmvebxj.js → shell-kk00bynn.js} +4 -4
  187. package/dist/chunks/{workspace-57sydnee.js → shell-kmv09gbc.js} +12 -12
  188. package/dist/chunks/{workspace-6qa9hb0h.js → shell-knzq6194.js} +27 -27
  189. package/dist/chunks/{workspace-0jrsc0d0.js → shell-kqkf13qm.js} +20 -20
  190. package/dist/chunks/{workspace-p7gtrmqp.js → shell-kx21j3gp.js} +4 -4
  191. package/dist/chunks/{workspace-xk747vep.js → shell-m2d0j7c0.js} +9 -9
  192. package/dist/chunks/{workspace-m3fdjcah.js → shell-m3fdjcah.js} +1 -1
  193. package/dist/chunks/{workspace-9bkpwrqx.js → shell-m3tsgwa2.js} +34 -34
  194. package/dist/chunks/{workspace-6y1vxjf5.js → shell-m508k0v5.js} +16 -16
  195. package/dist/chunks/{workspace-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
  196. package/dist/chunks/{workspace-yz5wbtz1.js → shell-maa7zwzz.js} +16 -16
  197. package/dist/chunks/{workspace-fb08vzds.js → shell-magqfpze.js} +40 -40
  198. package/dist/chunks/{workspace-37sfe3bm.js → shell-magsh8sv.js} +8 -8
  199. package/dist/chunks/{workspace-1ygqh575.js → shell-mfqp6xfm.js} +6 -6
  200. package/dist/chunks/{workspace-m1xzdp0d.js → shell-mgezdqvd.js} +21 -21
  201. package/dist/chunks/{workspace-1bbkgx8g.js → shell-mhkvc446.js} +3 -3
  202. package/dist/chunks/{workspace-qft4n94x.js → shell-mrtxncf8.js} +3 -3
  203. package/dist/chunks/{workspace-za2m9gf5.js → shell-mxkxgfdc.js} +16 -16
  204. package/dist/chunks/{workspace-gfrjm2xz.js → shell-myrc5q0t.js} +22 -22
  205. package/dist/chunks/{workspace-v2mh11m3.js → shell-myyxex1z.js} +20 -20
  206. package/dist/chunks/{workspace-277eer69.js → shell-n2srvep7.js} +4 -4
  207. package/dist/chunks/{workspace-ppygek1b.js → shell-n4v7jv1t.js} +12 -12
  208. package/dist/chunks/{workspace-fnxvy9mq.js → shell-n7pj9vak.js} +23 -23
  209. package/dist/chunks/{workspace-jprse0xe.js → shell-nfd8mtse.js} +25 -25
  210. package/dist/chunks/{workspace-ezqe822v.js → shell-nn0v9drq.js} +43 -43
  211. package/dist/chunks/{workspace-hsg668p1.js → shell-ns2c2r1h.js} +16 -16
  212. package/dist/chunks/{workspace-f7djnycc.js → shell-nvra0fyk.js} +15 -15
  213. package/dist/chunks/{workspace-szgj26xm.js → shell-ny0kgn08.js} +2 -2
  214. package/dist/chunks/{workspace-6m0tgnv5.js → shell-nz32y6j9.js} +32 -32
  215. package/dist/chunks/{workspace-p28j5sbe.js → shell-p28j5sbe.js} +2 -2
  216. package/dist/chunks/{workspace-zcaw5wve.js → shell-p2h430zw.js} +16 -16
  217. package/dist/chunks/{workspace-gjmk74th.js → shell-p7a39gy5.js} +6 -6
  218. package/dist/chunks/{workspace-jck03djw.js → shell-p7f48tpq.js} +24 -24
  219. package/dist/chunks/{workspace-x57r3cf8.js → shell-pe5xq6m6.js} +17 -17
  220. package/dist/chunks/{workspace-bdqrk2vk.js → shell-pjedbq3k.js} +4 -4
  221. package/dist/chunks/{workspace-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
  222. package/dist/chunks/{workspace-g9avfrxv.js → shell-pk1qwwxe.js} +9 -9
  223. package/dist/chunks/{workspace-pknna89w.js → shell-pknna89w.js} +1 -1
  224. package/dist/chunks/{workspace-4zvygart.js → shell-q2dkzkdb.js} +11 -11
  225. package/dist/chunks/{workspace-axm728m5.js → shell-qea7c352.js} +39 -39
  226. package/dist/chunks/{workspace-9zmsvm50.js → shell-qp4q688a.js} +23 -23
  227. package/dist/chunks/{workspace-xfkkasph.js → shell-qqeeq2t9.js} +7 -7
  228. package/dist/chunks/{workspace-qsdy395h.js → shell-qsdy395h.js} +1 -1
  229. package/dist/chunks/{workspace-ay0gn1a8.js → shell-qzhzzgth.js} +24 -24
  230. package/dist/chunks/{workspace-wnf5egzc.js → shell-r3n8e044.js} +9 -9
  231. package/dist/chunks/{workspace-6ky7efr6.js → shell-r562f6qv.js} +69 -69
  232. package/dist/chunks/{workspace-rdw6cm16.js → shell-rdw6cm16.js} +1 -1
  233. package/dist/chunks/{workspace-rhjbct0v.js → shell-rhjbct0v.js} +1 -1
  234. package/dist/chunks/{workspace-jbnhwg68.js → shell-rnw38jw6.js} +3 -3
  235. package/dist/chunks/{workspace-whtf8zfp.js → shell-rp531hqd.js} +6 -6
  236. package/dist/chunks/{workspace-0tmgye68.js → shell-rpjgfq5s.js} +5 -5
  237. package/dist/chunks/{workspace-s4enseaf.js → shell-s4enseaf.js} +2 -2
  238. package/dist/chunks/{workspace-qby9dwvd.js → shell-s5met55r.js} +4 -4
  239. package/dist/chunks/{workspace-dj97z1h1.js → shell-s6skgdzw.js} +11 -11
  240. package/dist/chunks/{workspace-kfpry7jw.js → shell-s8nw8qqp.js} +28 -28
  241. package/dist/chunks/{workspace-8hyqnzhe.js → shell-s9y92xh6.js} +48 -48
  242. package/dist/chunks/{workspace-drkc87kz.js → shell-sp1zcgp4.js} +11 -11
  243. package/dist/chunks/{workspace-vs1j1ez4.js → shell-sz15nke5.js} +9 -9
  244. package/dist/chunks/{workspace-4t3xng2k.js → shell-szpwe2j4.js} +33 -33
  245. package/dist/chunks/{workspace-yx53t0r1.js → shell-t673y9ra.js} +23 -23
  246. package/dist/chunks/{workspace-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
  247. package/dist/chunks/{workspace-tcezcvh9.js → shell-tcezcvh9.js} +1 -1
  248. package/dist/chunks/{workspace-tdstcens.js → shell-tdstcens.js} +1 -1
  249. package/dist/chunks/{workspace-tjszthyy.js → shell-tkeqhyvm.js} +8 -8
  250. package/dist/chunks/{workspace-ts2x07a1.js → shell-ts2x07a1.js} +1 -1
  251. package/dist/chunks/{workspace-hcpextjt.js → shell-tvpppgsc.js} +13 -13
  252. package/dist/chunks/{workspace-tvtrv512.js → shell-tvtrv512.js} +1 -1
  253. package/dist/chunks/{workspace-dkkf29sp.js → shell-v01tkn9z.js} +12 -12
  254. package/dist/chunks/{workspace-ersf5sn4.js → shell-v27xpbdp.js} +10 -10
  255. package/dist/chunks/{workspace-v9bkd1yb.js → shell-v5g6m2jr.js} +21 -21
  256. package/dist/chunks/{workspace-9v1v9bph.js → shell-vb8b7bnb.js} +4 -4
  257. package/dist/chunks/{workspace-veqvce7d.js → shell-veqvce7d.js} +1 -1
  258. package/dist/chunks/{workspace-egmeyekh.js → shell-vp1et1m5.js} +18 -18
  259. package/dist/chunks/{workspace-pm8erawn.js → shell-vp53y9j4.js} +11 -11
  260. package/dist/chunks/{workspace-w068zxwj.js → shell-vrwant47.js} +16 -16
  261. package/dist/chunks/{workspace-ns9v291x.js → shell-vww8x242.js} +1 -1
  262. package/dist/chunks/{workspace-cm5z7ssw.js → shell-vxzgcgea.js} +13 -13
  263. package/dist/chunks/{workspace-vzcthcp8.js → shell-vzcthcp8.js} +1 -1
  264. package/dist/chunks/{workspace-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
  265. package/dist/chunks/{workspace-5bkw2dcb.js → shell-w94jh9ha.js} +7 -7
  266. package/dist/chunks/{workspace-wd87259q.js → shell-wd87259q.js} +1 -1
  267. package/dist/chunks/{workspace-hpew3xwe.js → shell-wxahwc7r.js} +1 -1
  268. package/dist/chunks/{workspace-mksgfzgs.js → shell-wxe1qfek.js} +6 -6
  269. package/dist/chunks/{workspace-cwp5p4t3.js → shell-wxrbz6ev.js} +17 -17
  270. package/dist/chunks/{workspace-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
  271. package/dist/chunks/{workspace-mzkzf2w3.js → shell-xjf9vqpg.js} +10 -10
  272. package/dist/chunks/{workspace-wc444ph0.js → shell-xnpkhd7t.js} +15 -15
  273. package/dist/chunks/{workspace-4vv2c1zf.js → shell-xvvxjgs3.js} +11 -11
  274. package/dist/chunks/{workspace-x9m6b332.js → shell-xwkvp7ty.js} +5 -5
  275. package/dist/chunks/{workspace-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
  276. package/dist/chunks/{workspace-zetnz1cj.js → shell-y1hy686p.js} +3 -3
  277. package/dist/chunks/{workspace-dpkg50ah.js → shell-y71avatq.js} +4 -4
  278. package/dist/chunks/{workspace-1407x5yq.js → shell-y844exjz.js} +6 -6
  279. package/dist/chunks/{workspace-42em1327.js → shell-ychryjdx.js} +26 -26
  280. package/dist/chunks/{workspace-ehe4wzqm.js → shell-ymshdtr8.js} +11 -11
  281. package/dist/chunks/{workspace-p0ar7mqv.js → shell-ynhzt9k4.js} +11 -11
  282. package/dist/chunks/{workspace-yrhqyw5v.js → shell-yrhqyw5v.js} +1 -1
  283. package/dist/chunks/{workspace-z0bkrqjs.js → shell-z0bkrqjs.js} +1 -1
  284. package/dist/chunks/{workspace-zeh9ct20.js → shell-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{workspace-3nenj1by.js → shell-zftvnttz.js} +8 -8
  286. package/dist/chunks/{workspace-k9kj6xed.js → shell-zqx8wcya.js} +8 -8
  287. package/dist/chunks/{workspace-zr2ceqn5.js → shell-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{workspace-vh4jega5.js → shell-ztzrhfw8.js} +4 -4
  289. package/dist/chunks/{workspace-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +5 -5
  292. package/dist/codemode/tool.js +3 -3
  293. package/dist/codemode/web.js +1 -1
  294. package/dist/command.js +78 -78
  295. package/dist/config/discovery.js +81 -81
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +105 -105
  298. package/dist/config/plugin/agent.js +124 -124
  299. package/dist/config/plugin/command.js +213 -213
  300. package/dist/config/plugin/compaction.js +161 -161
  301. package/dist/config/plugin/compatibility.js +140 -140
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +123 -123
  304. package/dist/config/plugin/image.js +122 -122
  305. package/dist/config/plugin/instruction.js +89 -89
  306. package/dist/config/plugin/location-watcher.js +122 -122
  307. package/dist/config/plugin/mcp.js +131 -131
  308. package/dist/config/plugin/policy.js +123 -123
  309. package/dist/config/plugin/provider.js +122 -122
  310. package/dist/config/plugin/reference.js +124 -124
  311. package/dist/config/plugin/shell.js +124 -124
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +143 -143
  314. package/dist/config/plugin/snapshot.js +122 -122
  315. package/dist/config/plugin/source.js +123 -123
  316. package/dist/config/plugin/tool-output.js +124 -124
  317. package/dist/config/plugin/websearch.js +123 -123
  318. package/dist/config/plugin/worktree.js +124 -124
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +123 -123
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +76 -76
  324. package/dist/database/database.js +65 -65
  325. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +15 -15
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +16 -16
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +75 -75
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +369 -369
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +3 -3
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +92 -92
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +94 -94
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +69 -69
  413. package/dist/file-access.js +103 -103
  414. package/dist/file-mutation.js +93 -93
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +4 -4
  423. package/dist/filesystem/location-watcher.js +224 -224
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +96 -96
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +11 -11
  428. package/dist/filesystem.js +101 -101
  429. package/dist/form.js +73 -73
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +86 -86
  432. package/dist/generate.js +102 -102
  433. package/dist/git.js +6 -6
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +98 -98
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +4 -4
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +360 -360
  458. package/dist/instruction-discovery.js +82 -82
  459. package/dist/instructions/builtins.js +86 -86
  460. package/dist/instructions/index.js +1 -1
  461. package/dist/integration/connection.js +1 -1
  462. package/dist/integration.js +79 -79
  463. package/dist/job.js +72 -72
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +131 -131
  467. package/dist/location-lifecycle.js +105 -105
  468. package/dist/location-mutation.js +103 -103
  469. package/dist/location-service-map.js +85 -85
  470. package/dist/location-services.js +357 -357
  471. package/dist/location.js +80 -80
  472. package/dist/managed-policy.js +5 -5
  473. package/dist/mcp/client.js +90 -90
  474. package/dist/mcp/index.js +105 -105
  475. package/dist/mcp/instructions.js +125 -125
  476. package/dist/mcp/oauth.js +77 -77
  477. package/dist/mcp/stdio.js +89 -89
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +98 -98
  480. package/dist/model-resolver.js +95 -95
  481. package/dist/model.js +101 -101
  482. package/dist/models-dev.js +98 -98
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +77 -77
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +104 -104
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +85 -85
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +74 -74
  492. package/dist/plugin/agent.js +103 -103
  493. package/dist/plugin/command.js +100 -100
  494. package/dist/plugin/compaction.js +132 -132
  495. package/dist/plugin/hooks.js +3 -3
  496. package/dist/plugin/host.js +217 -217
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +331 -331
  500. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  501. package/dist/plugin/models-dev.js +95 -95
  502. package/dist/plugin/module.js +7 -7
  503. package/dist/plugin/optimize.js +4 -4
  504. package/dist/plugin/plan.js +101 -101
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  507. package/dist/plugin/provider/azure.js +121 -121
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +118 -118
  513. package/dist/plugin/provider/digitalocean.js +92 -92
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/gateway.js +2 -2
  517. package/dist/plugin/provider/github-copilot.js +92 -92
  518. package/dist/plugin/provider/gitlab.js +90 -90
  519. package/dist/plugin/provider/google-vertex.js +89 -89
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +76 -76
  522. package/dist/plugin/provider/lmstudio.js +121 -121
  523. package/dist/plugin/provider/modal.js +91 -91
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +121 -121
  526. package/dist/plugin/provider/openai.js +93 -93
  527. package/dist/plugin/provider/opencode.js +93 -93
  528. package/dist/plugin/provider/openrouter.js +90 -90
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +77 -77
  531. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  532. package/dist/plugin/provider/sap-ai-core.js +90 -90
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  535. package/dist/plugin/provider/venice.js +2 -2
  536. package/dist/plugin/provider/vercel.js +89 -89
  537. package/dist/plugin/provider/vllm.js +121 -121
  538. package/dist/plugin/provider/xai.js +90 -90
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +159 -159
  541. package/dist/plugin/sdk.js +75 -75
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +140 -140
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +350 -350
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +85 -85
  549. package/dist/plugin/vcs/hg.js +85 -85
  550. package/dist/plugin/warming.js +120 -120
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +4 -4
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +6 -6
  558. package/dist/plugin.js +222 -222
  559. package/dist/project/schema.js +2 -2
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +79 -79
  562. package/dist/provider.js +92 -92
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/schema.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +93 -93
  567. package/dist/reference/instructions.js +88 -88
  568. package/dist/reference.js +88 -88
  569. package/dist/repository-cache.js +80 -80
  570. package/dist/repository.js +3 -3
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +94 -94
  573. package/dist/rpc.js +85 -85
  574. package/dist/schema.js +1 -1
  575. package/dist/session/command.js +73 -73
  576. package/dist/session/compaction.js +131 -131
  577. package/dist/session/context.js +151 -151
  578. package/dist/session/diff.js +87 -87
  579. package/dist/session/environment.js +1 -1
  580. package/dist/session/error.js +3 -3
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +217 -217
  583. package/dist/session/execution.js +125 -125
  584. package/dist/session/generate.js +152 -152
  585. package/dist/session/history.js +13 -13
  586. package/dist/session/inbox.js +87 -87
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +78 -78
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +96 -96
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +118 -118
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +129 -129
  596. package/dist/session/projector.js +85 -85
  597. package/dist/session/prompt.js +104 -104
  598. package/dist/session/provider-context.js +1 -1
  599. package/dist/session/revert.js +89 -89
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +230 -230
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +97 -97
  605. package/dist/session/runner/publish-llm-event.js +3 -3
  606. package/dist/session/runner/retry.js +113 -113
  607. package/dist/session/runner/step.js +125 -125
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +171 -171
  611. package/dist/session/shell.js +137 -137
  612. package/dist/session/skill.js +102 -102
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +72 -72
  615. package/dist/session/store.js +84 -84
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +209 -209
  618. package/dist/session/system-prompt.js +5 -5
  619. package/dist/session/title.js +155 -155
  620. package/dist/session/to-session-error.js +110 -110
  621. package/dist/session/transfer.js +213 -213
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +213 -213
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +9 -9
  628. package/dist/shell.js +133 -133
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +106 -106
  631. package/dist/skill.js +105 -105
  632. package/dist/snapshot.js +88 -88
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +122 -122
  637. package/dist/tool/plugin/edit.js +119 -119
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +123 -123
  640. package/dist/tool/plugin/grep.js +123 -123
  641. package/dist/tool/plugin/opencode.js +3 -3
  642. package/dist/tool/plugin/patch.js +119 -119
  643. package/dist/tool/plugin/question.js +100 -100
  644. package/dist/tool/plugin/read.js +122 -122
  645. package/dist/tool/plugin/shell.js +216 -216
  646. package/dist/tool/plugin/skill.js +112 -112
  647. package/dist/tool/plugin/subagent.js +218 -218
  648. package/dist/tool/plugin/webfetch.js +103 -103
  649. package/dist/tool/plugin/websearch.js +113 -113
  650. package/dist/tool/plugin/write.js +121 -121
  651. package/dist/tool/read-filesystem.js +99 -99
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +8 -8
  654. package/dist/tool.js +12 -12
  655. package/dist/util/error-summary.js +1 -1
  656. package/dist/util/error.js +1 -1
  657. package/dist/util/git-executable.js +2 -2
  658. package/dist/util/iife.js +1 -1
  659. package/dist/util/lazy.js +1 -1
  660. package/dist/util/slug.js +1 -1
  661. package/dist/util/token.js +1 -1
  662. package/dist/util/which.js +1 -1
  663. package/dist/util/wildcard.js +1 -1
  664. package/dist/v1/config/agent.js +5 -5
  665. package/dist/v1/config/attachment.js +4 -4
  666. package/dist/v1/config/command.js +3 -3
  667. package/dist/v1/config/config.js +16 -16
  668. package/dist/v1/config/error.js +2 -2
  669. package/dist/v1/config/formatter.js +3 -3
  670. package/dist/v1/config/layout.js +1 -1
  671. package/dist/v1/config/lsp.js +3 -3
  672. package/dist/v1/config/mcp.js +4 -4
  673. package/dist/v1/config/migrate.js +91 -91
  674. package/dist/v1/config/permission.js +3 -3
  675. package/dist/v1/config/plugin.js +1 -1
  676. package/dist/v1/config/provider-options.js +1 -1
  677. package/dist/v1/config/provider.js +4 -4
  678. package/dist/v1/config/server.js +2 -2
  679. package/dist/v1/config/skills.js +3 -3
  680. package/dist/v1/permission.js +1 -1
  681. package/dist/variant.js +90 -90
  682. package/dist/vcs/patch.js +1 -1
  683. package/dist/vcs.js +88 -88
  684. package/dist/websearch.js +79 -79
  685. package/dist/wellknown/plugin.js +75 -75
  686. package/dist/wellknown.js +78 -78
  687. package/dist/workspace/driver.js +3 -3
  688. package/dist/workspace/sql.js +1 -1
  689. package/dist/workspace.js +79 -79
  690. package/dist/worktree/directory.js +2 -2
  691. package/dist/worktree/git.js +10 -10
  692. package/dist/worktree/sql.js +5 -5
  693. package/dist/worktree/strategies.js +88 -88
  694. package/dist/worktree.js +95 -95
  695. package/package.json +8 -8
  696. package/dist/chunks/workspace-2a7ewa7q.js +0 -26
  697. package/dist/chunks/workspace-nt2g1hn6.js +0 -252
  698. package/dist/chunks/workspace-vkrew15q.js +0 -18
  699. /package/dist/chunks/{workspace-0mesazry.js → shell-0mesazry.js} +0 -0
  700. /package/dist/chunks/{workspace-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{workspace-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{workspace-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{workspace-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{workspace-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
  705. /package/dist/chunks/{workspace-24dcb14g.js → shell-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{workspace-2710q6r3.js → shell-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{workspace-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
  708. /package/dist/chunks/{workspace-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{workspace-359p4xyc.js → shell-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{workspace-3asan66x.js → shell-3asan66x.js} +0 -0
  711. /package/dist/chunks/{workspace-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
  712. /package/dist/chunks/{workspace-3w5fmr99.js → shell-3w5fmr99.js} +0 -0
  713. /package/dist/chunks/{workspace-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
  714. /package/dist/chunks/{workspace-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
  715. /package/dist/chunks/{workspace-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
  716. /package/dist/chunks/{workspace-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
  717. /package/dist/chunks/{workspace-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
  718. /package/dist/chunks/{workspace-53557ph1.js → shell-53557ph1.js} +0 -0
  719. /package/dist/chunks/{workspace-550bvhaj.js → shell-550bvhaj.js} +0 -0
  720. /package/dist/chunks/{workspace-6prwharc.js → shell-6prwharc.js} +0 -0
  721. /package/dist/chunks/{workspace-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
  722. /package/dist/chunks/{workspace-7m9af43g.js → shell-7m9af43g.js} +0 -0
  723. /package/dist/chunks/{workspace-822emrt2.js → shell-822emrt2.js} +0 -0
  724. /package/dist/chunks/{workspace-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
  725. /package/dist/chunks/{workspace-8n3pysct.js → shell-8n3pysct.js} +0 -0
  726. /package/dist/chunks/{workspace-922hggd3.js → shell-922hggd3.js} +0 -0
  727. /package/dist/chunks/{workspace-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
  728. /package/dist/chunks/{workspace-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
  729. /package/dist/chunks/{workspace-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
  730. /package/dist/chunks/{workspace-af5trqkr.js → shell-af5trqkr.js} +0 -0
  731. /package/dist/chunks/{workspace-afrmfg78.js → shell-afrmfg78.js} +0 -0
  732. /package/dist/chunks/{workspace-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
  733. /package/dist/chunks/{workspace-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
  734. /package/dist/chunks/{workspace-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
  735. /package/dist/chunks/{workspace-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
  736. /package/dist/chunks/{workspace-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
  737. /package/dist/chunks/{workspace-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
  738. /package/dist/chunks/{workspace-d9fn303g.js → shell-d9fn303g.js} +0 -0
  739. /package/dist/chunks/{workspace-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
  740. /package/dist/chunks/{workspace-dajrwvna.js → shell-dajrwvna.js} +0 -0
  741. /package/dist/chunks/{workspace-dap0rakb.js → shell-dap0rakb.js} +0 -0
  742. /package/dist/chunks/{workspace-df08tz66.js → shell-df08tz66.js} +0 -0
  743. /package/dist/chunks/{workspace-dy18nga0.js → shell-dy18nga0.js} +0 -0
  744. /package/dist/chunks/{workspace-e3qxr5gk.js → shell-e3qxr5gk.js} +0 -0
  745. /package/dist/chunks/{workspace-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
  746. /package/dist/chunks/{workspace-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
  747. /package/dist/chunks/{workspace-ec1grn59.js → shell-ec1grn59.js} +0 -0
  748. /package/dist/chunks/{workspace-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
  749. /package/dist/chunks/{workspace-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
  750. /package/dist/chunks/{workspace-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
  751. /package/dist/chunks/{workspace-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
  752. /package/dist/chunks/{workspace-faypxj3z.js → shell-faypxj3z.js} +0 -0
  753. /package/dist/chunks/{workspace-fd410y7t.js → shell-fd410y7t.js} +0 -0
  754. /package/dist/chunks/{workspace-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
  755. /package/dist/chunks/{workspace-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
  756. /package/dist/chunks/{workspace-g86h250q.js → shell-g86h250q.js} +0 -0
  757. /package/dist/chunks/{workspace-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
  758. /package/dist/chunks/{workspace-gftt206x.js → shell-gftt206x.js} +0 -0
  759. /package/dist/chunks/{workspace-hjbc5kem.js → shell-hjbc5kem.js} +0 -0
  760. /package/dist/chunks/{workspace-hk9envan.js → shell-hk9envan.js} +0 -0
  761. /package/dist/chunks/{workspace-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
  762. /package/dist/chunks/{workspace-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
  763. /package/dist/chunks/{workspace-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
  764. /package/dist/chunks/{workspace-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
  765. /package/dist/chunks/{workspace-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
  766. /package/dist/chunks/{workspace-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
  767. /package/dist/chunks/{workspace-mp448xyj.js → shell-mp448xyj.js} +0 -0
  768. /package/dist/chunks/{workspace-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
  769. /package/dist/chunks/{workspace-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
  770. /package/dist/chunks/{workspace-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
  771. /package/dist/chunks/{workspace-njntx4h6.js → shell-njntx4h6.js} +0 -0
  772. /package/dist/chunks/{workspace-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{workspace-q74kybfr.js → shell-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{workspace-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{workspace-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{workspace-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{workspace-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{workspace-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{workspace-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{workspace-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{workspace-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
  782. /package/dist/chunks/{workspace-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{workspace-twg0f83k.js → shell-twg0f83k.js} +0 -0
  784. /package/dist/chunks/{workspace-w803qqfp.js → shell-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{workspace-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{workspace-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{workspace-wtztk69x.js → shell-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{workspace-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{workspace-x61499pn.js → shell-x61499pn.js} +0 -0
  790. /package/dist/chunks/{workspace-y44na4kk.js → shell-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{workspace-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
  792. /package/dist/chunks/{workspace-y8f7s663.js → shell-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{workspace-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{workspace-ym463w8f.js → shell-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{workspace-z9919s4g.js → shell-z9919s4g.js} +0 -0
@@ -1,16 +1,16 @@
1
1
  import {
2
- Service55
3
- } from "./workspace-1y9dt3g7.js";
2
+ Service57
3
+ } from "./shell-6134wrt7.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./workspace-4vcrnpx2.js";
7
+ } from "./shell-4vcrnpx2.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./workspace-3v8g72cx.js";
10
+ } from "./shell-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./workspace-9rqn6x4v.js";
13
+ } from "./shell-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
@@ -19,7 +19,7 @@ __export(exports_webfetch, {
19
19
  Input: () => Input12,
20
20
  MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin30,
22
+ Plugin: () => Plugin48,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
25
  description: () => description5,
@@ -92,11 +92,11 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin30 = {
95
+ var Plugin48 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service55;
99
+ const permission = yield* Service57;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
101
  name: name12,
102
102
  options: { codemode: false },
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name12, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input12, Plugin30, extractTextFromHTML2, exports_webfetch };
170
+ export { name12, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input12, Plugin48, extractTextFromHTML2, exports_webfetch };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  Service84
3
- } from "./workspace-jbnhwg68.js";
3
+ } from "./shell-rnw38jw6.js";
4
4
  import {
5
5
  Service83
6
- } from "./workspace-p7gtrmqp.js";
6
+ } from "./shell-kx21j3gp.js";
7
7
  import {
8
- Service51
9
- } from "./workspace-gjmk74th.js";
8
+ Service38
9
+ } from "./shell-p7a39gy5.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./workspace-fxbjtjnd.js";
12
+ } from "./shell-fxbjtjnd.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./workspace-gftt206x.js";
15
+ } from "./shell-gftt206x.js";
16
16
  import {
17
17
  NotFoundError8,
18
18
  PromptConflictError2,
@@ -20,55 +20,55 @@ import {
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./workspace-yv13jgjp.js";
23
+ } from "./shell-53g2xa05.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./workspace-ec1grn59.js";
26
+ } from "./shell-ec1grn59.js";
27
27
  import {
28
- Service57
29
- } from "./workspace-sx7xb6j6.js";
28
+ Service59
29
+ } from "./shell-2640wgj5.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service49
34
- } from "./workspace-0jrsc0d0.js";
33
+ Service37
34
+ } from "./shell-kqkf13qm.js";
35
35
  import {
36
- Service47
37
- } from "./workspace-qnye80mc.js";
36
+ Service35
37
+ } from "./shell-cry49m72.js";
38
38
  import {
39
39
  prepare2
40
- } from "./workspace-ppygek1b.js";
40
+ } from "./shell-n4v7jv1t.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./workspace-0rvp7ahq.js";
45
+ } from "./shell-cte7fmtx.js";
46
46
  import {
47
47
  start2
48
- } from "./workspace-5bkw2dcb.js";
48
+ } from "./shell-w94jh9ha.js";
49
49
  import {
50
50
  get4
51
- } from "./workspace-dn1jy3t2.js";
51
+ } from "./shell-h8fbtp05.js";
52
52
  import {
53
53
  __export
54
- } from "./workspace-9rqn6x4v.js";
54
+ } from "./shell-9rqn6x4v.js";
55
55
 
56
56
  // src/session/session.ts
57
57
  var exports_session2 = {};
58
58
  __export(exports_session2, {
59
59
  Session: () => exports_session2,
60
- make: () => make13
60
+ make: () => make12
61
61
  });
62
62
  import { DateTime, Effect, Fiber, Scope } from "effect";
63
63
  import { Event } from "@opencode/schema/event";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
- var make13 = Effect.fn("Session.make")(function* () {
65
+ var make12 = Effect.fn("Session.make")(function* () {
66
66
  const bus = yield* Service83;
67
67
  const database = yield* Service84;
68
- const store = yield* Service57;
69
- const instances = yield* Service51;
70
- const execution = yield* Service47;
71
- const admission = yield* Service49;
68
+ const store = yield* Service59;
69
+ const instances = yield* Service38;
70
+ const execution = yield* Service35;
71
+ const admission = yield* Service37;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
@@ -131,7 +131,7 @@ var make13 = Effect.fn("Session.make")(function* () {
131
131
  });
132
132
  if (existing)
133
133
  return existing;
134
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service51, instances), Effect.provideService(FSUtil.Service, fs)));
134
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service38, instances), Effect.provideService(FSUtil.Service, fs)));
135
135
  if (session.revert)
136
136
  yield* commit2(bus, session);
137
137
  return yield* admission.admit({
@@ -147,7 +147,7 @@ var make13 = Effect.fn("Session.make")(function* () {
147
147
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
148
148
  const session = yield* get(sessionID);
149
149
  const running = yield* Effect.gen(function* () {
150
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service51, instances), Effect.tapError((error) => synthetic(sessionID, {
150
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service38, instances), Effect.tapError((error) => synthetic(sessionID, {
151
151
  text: `User shell command failed to start:
152
152
  ${input.command}
153
153
 
@@ -176,7 +176,7 @@ ${error.message}`,
176
176
  });
177
177
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
178
178
  const session = yield* get(sessionID);
179
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service51, instances));
179
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service38, instances));
180
180
  yield* bus.publish(SessionEvent2.Skill.Activated, {
181
181
  sessionID,
182
182
  id: skill.id,
@@ -233,13 +233,13 @@ ${error.message}`,
233
233
  const session = yield* get(sessionID);
234
234
  if (yield* execution.isActive(sessionID))
235
235
  return yield* new BusyError2({ sessionID });
236
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service51, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
236
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service38, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
237
237
  });
238
238
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
239
239
  const session = yield* get(sessionID);
240
240
  if (yield* execution.isActive(sessionID))
241
241
  return yield* new BusyError2({ sessionID });
242
- yield* clear2(session).pipe(Effect.provideService(Service51, instances), Effect.provideService(Service83, bus));
242
+ yield* clear2(session).pipe(Effect.provideService(Service38, instances), Effect.provideService(Service83, bus));
243
243
  return yield* execution.wake(sessionID);
244
244
  });
245
245
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -322,4 +322,4 @@ ${error.message}`,
322
322
  return { forSession };
323
323
  });
324
324
 
325
- export { make13, exports_session2 };
325
+ export { make12, exports_session2 };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  useragent2
3
- } from "./workspace-7rce4ag1.js";
3
+ } from "./shell-dhhwvr0d.js";
4
4
  import {
5
5
  Service83
6
- } from "./workspace-p7gtrmqp.js";
6
+ } from "./shell-kx21j3gp.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event19
10
- } from "./workspace-yga8c4n1.js";
10
+ } from "./shell-ef00qedp.js";
11
11
  import {
12
12
  ID14,
13
13
  MethodID2
14
- } from "./workspace-x57r3cf8.js";
14
+ } from "./shell-pe5xq6m6.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./workspace-pjvnvgmy.js";
18
+ } from "./shell-pjvnvgmy.js";
19
19
  import {
20
20
  ID13,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./workspace-2qmapw28.js";
23
+ } from "./shell-3s7qr6kk.js";
24
24
 
25
25
  // src/plugin/provider/openai.ts
26
26
  import { define } from "@opencode/plugin/effect/plugin";
@@ -159,7 +159,7 @@ var headless = (app) => ({
159
159
  }),
160
160
  refresh: (value) => refresh(headlessMethodID, value, app)
161
161
  });
162
- var OpenAIPlugin3 = define({
162
+ var OpenAIPlugin2 = define({
163
163
  id: "opencode.provider.openai",
164
164
  effect: Effect.fn(function* (ctx) {
165
165
  const bus = yield* Service83;
@@ -318,4 +318,4 @@ function claim(token) {
318
318
  return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
319
319
  }
320
320
 
321
- export { OpenAIPlugin3 };
321
+ export { OpenAIPlugin2 };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./workspace-p7gtrmqp.js";
4
+ } from "./shell-kx21j3gp.js";
5
5
  import {
6
6
  Service80,
7
7
  node84
8
- } from "./workspace-j04hx8st.js";
8
+ } from "./shell-dykkexkt.js";
9
9
  import {
10
- ID8,
11
- Service58,
12
- node61
13
- } from "./workspace-za2m9gf5.js";
10
+ ID9,
11
+ Service60,
12
+ node63
13
+ } from "./shell-mxkxgfdc.js";
14
14
  import {
15
15
  NotFoundError8
16
- } from "./workspace-yv13jgjp.js";
16
+ } from "./shell-53g2xa05.js";
17
17
  import {
18
- Service57,
19
- node60
20
- } from "./workspace-sx7xb6j6.js";
18
+ Service59,
19
+ node62
20
+ } from "./shell-2640wgj5.js";
21
21
  import {
22
22
  match2
23
- } from "./workspace-y1fvbwt7.js";
23
+ } from "./shell-y1fvbwt7.js";
24
24
  import {
25
- Service56,
26
- node59
27
- } from "./workspace-egm44ayq.js";
25
+ Service58,
26
+ node61
27
+ } from "./shell-bpf0162m.js";
28
28
  import {
29
29
  Service66,
30
- node69
31
- } from "./workspace-qby9dwvd.js";
30
+ node70
31
+ } from "./shell-s5met55r.js";
32
32
  import {
33
33
  __export
34
- } from "./workspace-9rqn6x4v.js";
34
+ } from "./shell-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
37
  var exports_permission = {};
@@ -43,7 +43,7 @@ __export(exports_permission, {
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
45
  Event: () => Event11,
46
- ID: () => ID6,
46
+ ID: () => ID7,
47
47
  NotFoundError: () => NotFoundError7,
48
48
  Permission: () => exports_permission,
49
49
  Reply: () => Reply2,
@@ -51,11 +51,11 @@ __export(exports_permission, {
51
51
  Request: () => Request2,
52
52
  Rule: () => Rule2,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service55,
54
+ Service: () => Service57,
55
55
  Source: () => Source4,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node58
58
+ node: () => node60
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
@@ -64,7 +64,7 @@ import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission"
64
64
  import { Event as Event11 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID6 = Permission.ID;
67
+ var ID7 = Permission.ID;
68
68
  var Source4 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -77,17 +77,17 @@ var RequestFields = {
77
77
  var Request2 = Permission.Request;
78
78
  var Reply2 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID6.pipe(Schema.optional),
80
+ id: ID7.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID8.pipe(Schema.optional)
82
+ agent: ID9.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID6,
85
+ requestID: ID7,
86
86
  reply: Reply2,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID6,
90
+ id: ID7,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -111,7 +111,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
111
111
  }
112
112
 
113
113
  class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID6
114
+ requestID: ID7
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,14 +125,14 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service55 extends Context.Service()("@opencode/Permission") {
128
+ class Service57 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service55, Effect.gen(function* () {
130
+ var layer = Layer.effect(Service57, Effect.gen(function* () {
131
131
  const bus = yield* Service83;
132
132
  const location = yield* Service80;
133
- const agents = yield* Service58;
134
- const sessions = yield* Service57;
135
- const saved = yield* Service56;
133
+ const agents = yield* Service60;
134
+ const sessions = yield* Service59;
135
+ const saved = yield* Service58;
136
136
  const hooks = yield* Service66;
137
137
  const pending = new Map;
138
138
  let closed = false;
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
186
186
  });
187
187
  function request(input, message) {
188
188
  return {
189
- id: input.id ?? ID6.create(),
189
+ id: input.id ?? ID7.create(),
190
190
  sessionID: input.sessionID,
191
191
  action: input.action,
192
192
  resources: input.resources,
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
211
211
  }));
212
212
  const ask = Effect.fn("Permission.ask")(function* (input) {
213
213
  if (closed)
214
- return { id: input.id ?? ID6.create(), effect: "deny" };
214
+ return { id: input.id ?? ID7.create(), effect: "deny" };
215
215
  const result = yield* evaluateInput(input);
216
216
  const value = request(input, result.message);
217
217
  if (result.effect === "ask")
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
297
297
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
298
298
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
299
299
  });
300
- return Service55.of({ ask, assert, reply, get, forSession, list, close });
300
+ return Service57.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node58 = makeLocationNode({
303
- service: Service55,
302
+ var node60 = makeLocationNode({
303
+ service: Service57,
304
304
  layer,
305
- deps: [node87, node84, node61, node60, node59, node69]
305
+ deps: [node87, node84, node63, node62, node61, node70]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID6, Source4, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service55, node58, exports_permission, Rule2, Ruleset2, Event11 };
308
+ export { PermissionEffect, ID7, Source4, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service57, node60, exports_permission, Rule2, Ruleset2, Event11 };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  Service83
3
- } from "./workspace-p7gtrmqp.js";
3
+ } from "./shell-kx21j3gp.js";
4
4
  import {
5
5
  key2
6
- } from "./workspace-h6r3nrb9.js";
6
+ } from "./shell-h6r3nrb9.js";
7
7
  import {
8
8
  Event19
9
- } from "./workspace-yga8c4n1.js";
9
+ } from "./shell-ef00qedp.js";
10
10
  import {
11
11
  ID14
12
- } from "./workspace-x57r3cf8.js";
12
+ } from "./shell-pe5xq6m6.js";
13
13
  import {
14
14
  ID13,
15
- Service76
16
- } from "./workspace-2qmapw28.js";
15
+ Service75
16
+ } from "./shell-3s7qr6kk.js";
17
17
  import {
18
- load3,
19
- derive3
20
- } from "./workspace-m1xzdp0d.js";
18
+ load2,
19
+ derive2
20
+ } from "./shell-mgezdqvd.js";
21
21
 
22
22
  // src/plugin/provider/modal.ts
23
23
  import { Effect, Semaphore, Stream } from "effect";
@@ -26,7 +26,7 @@ var providerID = ID13.make("modal");
26
26
  var ModalPlugin2 = define({
27
27
  id: "opencode.provider.modal",
28
28
  effect: Effect.fn(function* (ctx) {
29
- const providers = yield* Service76;
29
+ const providers = yield* Service75;
30
30
  const bus = yield* Service83;
31
31
  const loading = Semaphore.makeUnsafe(1);
32
32
  const loaded = {};
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
45
45
  return;
46
46
  }
47
47
  const remote = yield* Effect.tryPromise({
48
- try: () => load3(baseURL, apiKey),
48
+ try: () => load2(baseURL, apiKey),
49
49
  catch: (cause) => cause
50
50
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
51
51
  if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
@@ -62,7 +62,7 @@ var ModalPlugin2 = define({
62
62
  return;
63
63
  evt.add({
64
64
  info: item.provider,
65
- models: Array.from(derive3(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
65
+ models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
66
66
  sourceConnection: loaded.connection
67
67
  });
68
68
  });
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./workspace-922hggd3.js";
3
+ } from "./shell-922hggd3.js";
4
4
  import {
5
5
  Service84,
6
6
  node88
7
- } from "./workspace-jbnhwg68.js";
7
+ } from "./shell-rnw38jw6.js";
8
8
  import {
9
9
  Service83,
10
10
  node87
11
- } from "./workspace-p7gtrmqp.js";
11
+ } from "./shell-kx21j3gp.js";
12
12
  import {
13
13
  Service82,
14
14
  node86
15
- } from "./workspace-607q5haz.js";
15
+ } from "./shell-afed7ext.js";
16
16
  import {
17
17
  ID18,
18
18
  Current3,
@@ -20,17 +20,17 @@ import {
20
20
  UpdateInput4,
21
21
  Event21,
22
22
  Vcs3
23
- } from "./workspace-57ez7d0k.js";
23
+ } from "./shell-57ez7d0k.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./workspace-8p4f9s12.js";
27
+ } from "./shell-8p4f9s12.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./workspace-cfpkc3c9.js";
30
+ } from "./shell-cfpkc3c9.js";
31
31
  import {
32
32
  __export
33
- } from "./workspace-9rqn6x4v.js";
33
+ } from "./shell-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./workspace-ym463w8f.js";
3
+ } from "./shell-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/gateway.ts
6
6
  var GatewayPlugin2 = createProviderPlugin2({
@@ -1,12 +1,12 @@
1
1
  import {
2
- Service79
3
- } from "./workspace-6878ajz3.js";
2
+ Service78
3
+ } from "./shell-b6kpjdeq.js";
4
4
  import {
5
- Service55
6
- } from "./workspace-1y9dt3g7.js";
5
+ Service57
6
+ } from "./shell-6134wrt7.js";
7
7
  import {
8
8
  __export
9
- } from "./workspace-9rqn6x4v.js";
9
+ } from "./shell-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/plugin/question.ts
12
12
  var exports_question = {};
@@ -53,8 +53,8 @@ var toModelContent7 = (questions, answers) => {
53
53
  var Plugin49 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
- const forms = yield* Service79;
57
- const permission = yield* Service55;
56
+ const forms = yield* Service78;
57
+ const permission = yield* Service57;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
59
  name: name14,
60
60
  options: { codemode: false },
@@ -4,28 +4,28 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./workspace-3w5fmr99.js";
7
+ } from "./shell-3w5fmr99.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./workspace-nzks3jc8.js";
11
+ } from "./shell-k3c624dm.js";
12
12
  import {
13
13
  create3
14
- } from "./workspace-rdw6cm16.js";
14
+ } from "./shell-rdw6cm16.js";
15
15
  import {
16
16
  Service46,
17
- node50
18
- } from "./workspace-0tmgye68.js";
17
+ node49
18
+ } from "./shell-rpjgfq5s.js";
19
19
  import {
20
20
  Service66,
21
- node69
22
- } from "./workspace-qby9dwvd.js";
21
+ node70
22
+ } from "./shell-s5met55r.js";
23
23
  import {
24
24
  match2
25
- } from "./workspace-y1fvbwt7.js";
25
+ } from "./shell-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./workspace-9rqn6x4v.js";
28
+ } from "./shell-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
@@ -35,10 +35,10 @@ __export(exports_tool, {
35
35
  Error: () => Error3,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service42,
38
+ Service: () => Service45,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node46
41
+ node: () => node48
42
42
  });
43
43
  import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
@@ -51,9 +51,9 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service42 extends Context.Service()("@opencode/Tool") {
54
+ class Service45 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service42, Effect.gen(function* () {
56
+ var layer = Layer.effect(Service45, Effect.gen(function* () {
57
57
  const hooks = yield* Service66;
58
58
  const image = yield* Service46;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
184
184
  }), { discard: true });
185
185
  }
186
186
  });
187
- return Service42.of({
187
+ return Service45.of({
188
188
  transform: state.transform,
189
189
  reload: state.reload,
190
190
  list: () => Effect.sync(() => Array.from(state.get().tools.values())),
@@ -273,10 +273,10 @@ function namespaceError(name) {
273
273
  return;
274
274
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
275
275
  }
276
- var node46 = makeLocationNode({
277
- service: Service42,
276
+ var node48 = makeLocationNode({
277
+ service: Service45,
278
278
  layer,
279
- deps: [node69, node50]
279
+ deps: [node70, node49]
280
280
  });
281
281
 
282
- export { RegistrationError2, Service42, node46, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
282
+ export { RegistrationError2, Service45, node48, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };