@opencode/core 0.0.0-dev-19977 → 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 (796) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  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/{vcs-fng9e0je.js → shell-0gaj4617.js} +6 -6
  8. package/dist/chunks/shell-0mesazry.js +4 -0
  9. package/dist/chunks/{vcs-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
  10. package/dist/chunks/{vcs-0q0f95c6.js → shell-0q0f95c6.js} +1 -1
  11. package/dist/chunks/{vcs-qdpmgmct.js → shell-0yj0eem9.js} +8 -8
  12. package/dist/chunks/{vcs-18e56dsp.js → shell-1080qp6z.js} +4 -4
  13. package/dist/chunks/{vcs-mp0zv96f.js → shell-11vtep71.js} +13 -13
  14. package/dist/chunks/{vcs-5ypy0aps.js → shell-18fd1sb5.js} +3 -3
  15. package/dist/chunks/{vcs-xcckkd32.js → shell-19ezmb62.js} +12 -12
  16. package/dist/chunks/{vcs-hn09sy8b.js → shell-1crvyphj.js} +4 -4
  17. package/dist/chunks/{vcs-1dazxqgg.js → shell-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{vcs-7hgdmm2q.js → shell-1kwcskzj.js} +7 -7
  19. package/dist/chunks/{vcs-0gyx6ezr.js → shell-1p0k74td.js} +16 -16
  20. package/dist/chunks/{vcs-e6fmpsdj.js → shell-1rmaqtrx.js} +4 -4
  21. package/dist/chunks/{vcs-pzk07e2t.js → shell-1s2t0np1.js} +32 -32
  22. package/dist/chunks/{vcs-jqgys1dy.js → shell-1w5344nt.js} +10 -10
  23. package/dist/chunks/{vcs-nehsc8qp.js → shell-1yxss9sq.js} +8 -8
  24. package/dist/chunks/{vcs-21r38tys.js → shell-21r38tys.js} +1 -1
  25. package/dist/chunks/{vcs-2402vzrj.js → shell-2402vzrj.js} +1 -1
  26. package/dist/chunks/{vcs-ca5qybfk.js → shell-250ht8wz.js} +9 -9
  27. package/dist/chunks/{vcs-nw28za41.js → shell-260cwht4.js} +80 -80
  28. package/dist/chunks/{vcs-mgj4p8m4.js → shell-2640wgj5.js} +14 -14
  29. package/dist/chunks/{vcs-gkpeh6zm.js → shell-2976z3d9.js} +11 -11
  30. package/dist/chunks/{vcs-z63w68vq.js → shell-29x78va6.js} +6 -6
  31. package/dist/chunks/{vcs-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{vcs-hy8nah29.js → shell-2ey0y3b4.js} +35 -35
  33. package/dist/chunks/{vcs-yt3hy1g9.js → shell-2p623br6.js} +5 -5
  34. package/dist/chunks/{vcs-wgtgqmgr.js → shell-2srtjxyz.js} +317 -317
  35. package/dist/chunks/{vcs-qmhk62hb.js → shell-2vp71rdt.js} +12 -12
  36. package/dist/chunks/{vcs-y307swq8.js → shell-387f2ghq.js} +10 -10
  37. package/dist/chunks/{vcs-1scs63j0.js → shell-3abh18r5.js} +20 -20
  38. package/dist/chunks/{vcs-esp4rdvc.js → shell-3cghyafc.js} +11 -11
  39. package/dist/chunks/{vcs-3fc6dm20.js → shell-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{vcs-vm6hw26a.js → shell-3gh3ew6n.js} +8 -8
  41. package/dist/chunks/{vcs-wrka22zr.js → shell-3h4a5sy3.js} +24 -24
  42. package/dist/chunks/{vcs-raj0fffq.js → shell-3hapsyq9.js} +28 -28
  43. package/dist/chunks/{vcs-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{vcs-00z3vp5f.js → shell-3j8sdtpz.js} +4 -4
  45. package/dist/chunks/{vcs-dgpaqazm.js → shell-3kn2wvnz.js} +6 -6
  46. package/dist/chunks/{vcs-02egfabs.js → shell-3q2rkys7.js} +11 -11
  47. package/dist/chunks/{vcs-qagsqzqe.js → shell-3s7qr6kk.js} +16 -16
  48. package/dist/chunks/{vcs-tzjwyy45.js → shell-3sb31twn.js} +3 -3
  49. package/dist/chunks/{vcs-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
  50. package/dist/chunks/{vcs-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
  51. package/dist/chunks/{vcs-6vx8265g.js → shell-420tzvdn.js} +24 -24
  52. package/dist/chunks/{vcs-sk41x0qc.js → shell-48698xmq.js} +16 -16
  53. package/dist/chunks/{vcs-3790xwfd.js → shell-4a5q5w53.js} +25 -25
  54. package/dist/chunks/{vcs-ea198e8q.js → shell-4kcqzamp.js} +16 -16
  55. package/dist/chunks/{vcs-zamycwzx.js → shell-4r49tv4x.js} +12 -12
  56. package/dist/chunks/shell-4v7qdvcn.js +18 -0
  57. package/dist/chunks/{vcs-rvmg0ahe.js → shell-4xnk508k.js} +1 -1
  58. package/dist/chunks/{vcs-a3r4dcrj.js → shell-51jra4mh.js} +2 -2
  59. package/dist/chunks/{vcs-ybhbtxjg.js → shell-53g2xa05.js} +9 -9
  60. package/dist/chunks/{vcs-dnrd96kf.js → shell-561eeawp.js} +17 -17
  61. package/dist/chunks/{vcs-57ez7d0k.js → shell-57ez7d0k.js} +2 -2
  62. package/dist/chunks/{vcs-d7r387ef.js → shell-5b1f5rf1.js} +6 -6
  63. package/dist/chunks/{vcs-cr17rqga.js → shell-5bs0k4xh.js} +9 -9
  64. package/dist/chunks/{vcs-5daktx2q.js → shell-5daktx2q.js} +1 -1
  65. package/dist/chunks/{vcs-sj4zt4zs.js → shell-5fs6yg5a.js} +5 -5
  66. package/dist/chunks/{vcs-hh877wqm.js → shell-5j5738f4.js} +10 -10
  67. package/dist/chunks/{vcs-34d507gh.js → shell-5ns8eg09.js} +20 -20
  68. package/dist/chunks/{vcs-rd68j2my.js → shell-5qc21a3k.js} +26 -26
  69. package/dist/chunks/{vcs-yf18nbwz.js → shell-5t1mxvsw.js} +18 -18
  70. package/dist/chunks/{vcs-5t3nmthw.js → shell-5t3nmthw.js} +2 -2
  71. package/dist/chunks/{vcs-x2rjr4y2.js → shell-5xmvjqbs.js} +23 -23
  72. package/dist/chunks/{vcs-krw5nhfk.js → shell-5y5m0zb6.js} +30 -30
  73. package/dist/chunks/{vcs-4c8cjtxr.js → shell-5zfxgaph.js} +8 -8
  74. package/dist/chunks/{vcs-21jmns5z.js → shell-6134wrt7.js} +53 -53
  75. package/dist/chunks/{vcs-y2swddp5.js → shell-62hy6yfd.js} +8 -8
  76. package/dist/chunks/{vcs-5b5g75gf.js → shell-62yfe89d.js} +8 -8
  77. package/dist/chunks/{vcs-669tq793.js → shell-669tq793.js} +1 -1
  78. package/dist/chunks/{vcs-pkr90xzg.js → shell-6a5cyqv6.js} +7 -7
  79. package/dist/chunks/{vcs-qw1bjgpz.js → shell-6dv6n725.js} +24 -24
  80. package/dist/chunks/{vcs-mm5kxf07.js → shell-6f8737q3.js} +8 -8
  81. package/dist/chunks/{vcs-1571dsgn.js → shell-6gj1ckc8.js} +12 -12
  82. package/dist/chunks/{vcs-eveqffnf.js → shell-6hr9dd4j.js} +24 -24
  83. package/dist/chunks/{vcs-6msgmcgs.js → shell-6msgmcgs.js} +1 -1
  84. package/dist/chunks/{vcs-qa1eq3gf.js → shell-6wqzn9nn.js} +3 -3
  85. package/dist/chunks/{vcs-0csvndr3.js → shell-6zdpm8gg.js} +3 -3
  86. package/dist/chunks/{vcs-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
  87. package/dist/chunks/{vcs-xd4kzs7n.js → shell-7bt5snpn.js} +9 -9
  88. package/dist/chunks/{vcs-qgn6gcr1.js → shell-7dqw4kz8.js} +5 -5
  89. package/dist/chunks/{vcs-77n73x0z.js → shell-7eg5yrd4.js} +13 -13
  90. package/dist/chunks/{vcs-jexxy024.js → shell-7jdsj2a9.js} +2 -2
  91. package/dist/chunks/{vcs-6mwa2s17.js → shell-7mv393fz.js} +7 -7
  92. package/dist/chunks/{vcs-wqys0xwa.js → shell-7p1faebm.js} +13 -13
  93. package/dist/chunks/{vcs-yvvvp4gn.js → shell-7s2tn799.js} +8 -8
  94. package/dist/chunks/{vcs-35qq722n.js → shell-7tj6d01t.js} +7 -7
  95. package/dist/chunks/{vcs-qx03bd0a.js → shell-7v61v3dm.js} +11 -11
  96. package/dist/chunks/{vcs-yzrxx1hs.js → shell-7vfxn4ds.js} +44 -44
  97. package/dist/chunks/{vcs-8d7r5vzw.js → shell-8d7r5vzw.js} +1 -1
  98. package/dist/chunks/{vcs-v00wb7q9.js → shell-8f1yg6p5.js} +46 -46
  99. package/dist/chunks/{vcs-y30evbxf.js → shell-8gj0fsd9.js} +4 -4
  100. package/dist/chunks/{vcs-04zx5mpa.js → shell-8jkt1xn6.js} +1 -1
  101. package/dist/chunks/{vcs-q29hs5tk.js → shell-8k69atjg.js} +20 -20
  102. package/dist/chunks/{vcs-8p4f9s12.js → shell-8p4f9s12.js} +2 -2
  103. package/dist/chunks/{vcs-phstrbs2.js → shell-8v6pyhej.js} +8 -8
  104. package/dist/chunks/{vcs-7pej1m6n.js → shell-8z7r2bkb.js} +4 -4
  105. package/dist/chunks/{vcs-ejsjeqcn.js → shell-9514k7xd.js} +6 -6
  106. package/dist/chunks/{vcs-e1j0qnan.js → shell-9eay0pge.js} +3 -3
  107. package/dist/chunks/{vcs-pdx9bhth.js → shell-9fvzrgf5.js} +14 -14
  108. package/dist/chunks/{vcs-a3ftg8j6.js → shell-9jzp6rtr.js} +9 -9
  109. package/dist/chunks/{vcs-a1bz86dw.js → shell-a1bz86dw.js} +3 -3
  110. package/dist/chunks/{vcs-g8d3gcyj.js → shell-a2ew8a62.js} +7 -7
  111. package/dist/chunks/{vcs-31a459na.js → shell-a51z7ksw.js} +11 -11
  112. package/dist/chunks/{vcs-88b3bgew.js → shell-a5c1graw.js} +24 -24
  113. package/dist/chunks/shell-a9zdeeck.js +26 -0
  114. package/dist/chunks/{vcs-aaet6srn.js → shell-aaet6srn.js} +2 -2
  115. package/dist/chunks/{vcs-026mxvrw.js → shell-acffanb1.js} +24 -24
  116. package/dist/chunks/{vcs-vy4zg7qh.js → shell-afed7ext.js} +5 -5
  117. package/dist/chunks/{vcs-37s12vcn.js → shell-ag9w8cw1.js} +5 -5
  118. package/dist/chunks/{vcs-3qjhd3zm.js → shell-akjymesb.js} +15 -15
  119. package/dist/chunks/{vcs-ypyq0fq8.js → shell-as7bzewp.js} +3 -3
  120. package/dist/chunks/shell-aw8ehhwx.js +252 -0
  121. package/dist/chunks/{vcs-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
  122. package/dist/chunks/{vcs-6xyj4q8a.js → shell-b6kpjdeq.js} +9 -9
  123. package/dist/chunks/{vcs-5xjstr01.js → shell-b8adnfnt.js} +17 -17
  124. package/dist/chunks/{vcs-ce4c0a8t.js → shell-bcdacnkc.js} +7 -7
  125. package/dist/chunks/{vcs-1gx19wx1.js → shell-bcdav7a4.js} +13 -13
  126. package/dist/chunks/{vcs-65gfcbyz.js → shell-bez9vw3c.js} +29 -29
  127. package/dist/chunks/{vcs-762r0j46.js → shell-bgs9y14h.js} +5 -5
  128. package/dist/chunks/{vcs-ncne3zzx.js → shell-bhsa20q5.js} +17 -17
  129. package/dist/chunks/{vcs-s8a7esdq.js → shell-bpf0162m.js} +15 -15
  130. package/dist/chunks/{vcs-4s7kcajh.js → shell-c0qnvhxc.js} +10 -10
  131. package/dist/chunks/{vcs-cfpkc3c9.js → shell-cfpkc3c9.js} +2 -2
  132. package/dist/chunks/{vcs-qnre3gvs.js → shell-ch7t79yz.js} +34 -34
  133. package/dist/chunks/{vcs-wh2pd5f7.js → shell-ckkgcvab.js} +78 -78
  134. package/dist/chunks/{vcs-cq37gk0t.js → shell-cq37gk0t.js} +4 -4
  135. package/dist/chunks/{vcs-5zdtcgy0.js → shell-cry49m72.js} +38 -38
  136. package/dist/chunks/{vcs-5c0f1prt.js → shell-csf2jhsg.js} +4 -4
  137. package/dist/chunks/{vcs-ra3bs4fs.js → shell-cte7fmtx.js} +20 -20
  138. package/dist/chunks/{vcs-aee8h6x3.js → shell-d3c81gqs.js} +15 -15
  139. package/dist/chunks/{vcs-rwm5vee1.js → shell-ddt2bs9e.js} +4 -4
  140. package/dist/chunks/{vcs-eq9pbqr9.js → shell-dhhwvr0d.js} +10 -10
  141. package/dist/chunks/{vcs-n2havasm.js → shell-dy5t6xhr.js} +13 -13
  142. package/dist/chunks/{vcs-p5tk2x4g.js → shell-dykkexkt.js} +2 -2
  143. package/dist/chunks/{vcs-vmact3ma.js → shell-e0tqeget.js} +16 -16
  144. package/dist/chunks/{vcs-5qd3pb7m.js → shell-e3qxr5gk.js} +2 -2
  145. package/dist/chunks/{vcs-p44d8wdy.js → shell-ead3g9p8.js} +5 -5
  146. package/dist/chunks/{vcs-q6f7adkm.js → shell-ef00qedp.js} +12 -12
  147. package/dist/chunks/{vcs-ef5x83kb.js → shell-ef5x83kb.js} +1 -1
  148. package/dist/chunks/{vcs-erw5rpbs.js → shell-erw5rpbs.js} +2 -2
  149. package/dist/chunks/{vcs-etq0c3wd.js → shell-etq0c3wd.js} +1 -1
  150. package/dist/chunks/{vcs-r8xr0va3.js → shell-f2n192rq.js} +4 -4
  151. package/dist/chunks/{vcs-wq8d43zf.js → shell-f409aq7x.js} +23 -23
  152. package/dist/chunks/{vcs-f6mdpyt7.js → shell-f4k8275x.js} +47 -47
  153. package/dist/chunks/{vcs-gs4tkc79.js → shell-f5gy8qwh.js} +8 -8
  154. package/dist/chunks/{vcs-f828m53h.js → shell-f828m53h.js} +2 -2
  155. package/dist/chunks/{vcs-ve9gaad2.js → shell-fdytj4qh.js} +2 -2
  156. package/dist/chunks/{vcs-a4gexze1.js → shell-fh7gdbkn.js} +3 -3
  157. package/dist/chunks/{vcs-0b9vs59q.js → shell-fp7m90ch.js} +1 -1
  158. package/dist/chunks/{vcs-mxqk8fax.js → shell-ftjnkh8h.js} +5 -5
  159. package/dist/chunks/{vcs-hnr5yq9h.js → shell-fvsyg6qk.js} +5 -5
  160. package/dist/chunks/{vcs-jfmt6x2y.js → shell-fwwj4rbr.js} +10 -10
  161. package/dist/chunks/{vcs-fxbjtjnd.js → shell-fxbjtjnd.js} +1 -1
  162. package/dist/chunks/{vcs-36k6dezp.js → shell-g2b0fmk0.js} +9 -9
  163. package/dist/chunks/{vcs-fmb18yvb.js → shell-g4e7yzyy.js} +16 -16
  164. package/dist/chunks/{vcs-d4he2qe1.js → shell-g6q9qykm.js} +9 -9
  165. package/dist/chunks/{vcs-0p47j88a.js → shell-g73vfdfa.js} +11 -11
  166. package/dist/chunks/{vcs-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
  167. package/dist/chunks/{vcs-22a20jna.js → shell-gf6qp9k5.js} +33 -33
  168. package/dist/chunks/{vcs-6mm913p5.js → shell-gthdbg3t.js} +4 -4
  169. package/dist/chunks/{vcs-gv6a8nnw.js → shell-gv6a8nnw.js} +2 -2
  170. package/dist/chunks/{vcs-9c1r8673.js → shell-h0ncryma.js} +10 -10
  171. package/dist/chunks/{vcs-x8cycxf4.js → shell-h5b4kcx3.js} +6 -6
  172. package/dist/chunks/{vcs-h6r3nrb9.js → shell-h6r3nrb9.js} +1 -1
  173. package/dist/chunks/{vcs-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
  174. package/dist/chunks/{vcs-g8jasmdt.js → shell-h74ge2a2.js} +11 -11
  175. package/dist/chunks/{vcs-1enqjbtj.js → shell-h8fbtp05.js} +9 -9
  176. package/dist/chunks/{vcs-ewtse9cq.js → shell-hg87j33e.js} +17 -17
  177. package/dist/chunks/{vcs-c3065vva.js → shell-hk9yfvgj.js} +3 -3
  178. package/dist/chunks/{vcs-5sb1zc5g.js → shell-hsmsnpd6.js} +22 -22
  179. package/dist/chunks/{vcs-5g96j2vd.js → shell-hw51ngyv.js} +8 -8
  180. package/dist/chunks/{vcs-j56e64zr.js → shell-j56e64zr.js} +1 -1
  181. package/dist/chunks/{vcs-krjf62r2.js → shell-j9frms3x.js} +6 -6
  182. package/dist/chunks/{vcs-2m91t0br.js → shell-jh94thfm.js} +128 -128
  183. package/dist/chunks/{vcs-arcxrr1g.js → shell-jjqebjeq.js} +24 -24
  184. package/dist/chunks/{vcs-2ndbjpj7.js → shell-jt0at99v.js} +2 -2
  185. package/dist/chunks/{vcs-7z1m1xqn.js → shell-jyh1spmy.js} +8 -8
  186. package/dist/chunks/{vcs-7f4kevra.js → shell-jzqj7kse.js} +30 -30
  187. package/dist/chunks/{vcs-nzks3jc8.js → shell-k3c624dm.js} +3 -3
  188. package/dist/chunks/{vcs-cavr175a.js → shell-kk00bynn.js} +21 -21
  189. package/dist/chunks/{vcs-at3m1tvy.js → shell-kmv09gbc.js} +18 -18
  190. package/dist/chunks/{vcs-jg9pn0ks.js → shell-knzq6194.js} +27 -27
  191. package/dist/chunks/{vcs-ebt3yecv.js → shell-kqkf13qm.js} +24 -24
  192. package/dist/chunks/{vcs-73sq42y9.js → shell-kx21j3gp.js} +4 -4
  193. package/dist/chunks/{vcs-nq7qbqzc.js → shell-m2d0j7c0.js} +9 -9
  194. package/dist/chunks/{vcs-m3fdjcah.js → shell-m3fdjcah.js} +1 -1
  195. package/dist/chunks/{vcs-0cvxc6ms.js → shell-m3tsgwa2.js} +38 -38
  196. package/dist/chunks/{vcs-2n0f0xad.js → shell-m508k0v5.js} +18 -18
  197. package/dist/chunks/{vcs-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
  198. package/dist/chunks/{vcs-y36f9vsb.js → shell-maa7zwzz.js} +20 -20
  199. package/dist/chunks/{vcs-8vbzfqqc.js → shell-magqfpze.js} +42 -42
  200. package/dist/chunks/{vcs-0mm9aq32.js → shell-magsh8sv.js} +7 -7
  201. package/dist/chunks/{vcs-56gdpj1q.js → shell-mfqp6xfm.js} +6 -6
  202. package/dist/chunks/{vcs-ja7awhpc.js → shell-mgezdqvd.js} +3 -3
  203. package/dist/chunks/{vcs-r5x6zcsm.js → shell-mhkvc446.js} +3 -3
  204. package/dist/chunks/{vcs-eg9s2d14.js → shell-mrtxncf8.js} +3 -3
  205. package/dist/chunks/{vcs-c9jrejd8.js → shell-mxkxgfdc.js} +24 -24
  206. package/dist/chunks/{vcs-14604q16.js → shell-myrc5q0t.js} +22 -22
  207. package/dist/chunks/{vcs-dedh1m42.js → shell-myyxex1z.js} +15 -15
  208. package/dist/chunks/{vcs-3ewed21c.js → shell-n2srvep7.js} +4 -4
  209. package/dist/chunks/{vcs-esww11we.js → shell-n4v7jv1t.js} +16 -16
  210. package/dist/chunks/{vcs-zvdcdv1n.js → shell-n7pj9vak.js} +25 -25
  211. package/dist/chunks/{vcs-pxp43rx9.js → shell-nfd8mtse.js} +15 -15
  212. package/dist/chunks/{vcs-w12svhvm.js → shell-nn0v9drq.js} +43 -43
  213. package/dist/chunks/{vcs-31ckz9nn.js → shell-ns2c2r1h.js} +12 -12
  214. package/dist/chunks/{vcs-f0xae989.js → shell-nvra0fyk.js} +15 -15
  215. package/dist/chunks/{vcs-w3nmmr0q.js → shell-ny0kgn08.js} +2 -2
  216. package/dist/chunks/{vcs-bzmv9v1t.js → shell-nz32y6j9.js} +28 -28
  217. package/dist/chunks/{vcs-p28j5sbe.js → shell-p28j5sbe.js} +2 -2
  218. package/dist/chunks/{vcs-kt8hxg6p.js → shell-p2h430zw.js} +16 -16
  219. package/dist/chunks/{vcs-bw9zjykr.js → shell-p7a39gy5.js} +6 -6
  220. package/dist/chunks/{vcs-636n1fx9.js → shell-p7f48tpq.js} +17 -17
  221. package/dist/chunks/{vcs-rbrcjd28.js → shell-pe5xq6m6.js} +17 -17
  222. package/dist/chunks/{vcs-nkcwakxz.js → shell-pjedbq3k.js} +6 -6
  223. package/dist/chunks/{vcs-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
  224. package/dist/chunks/{vcs-31dgsdk7.js → shell-pk1qwwxe.js} +7 -7
  225. package/dist/chunks/{vcs-pknna89w.js → shell-pknna89w.js} +1 -1
  226. package/dist/chunks/{vcs-nxf13baa.js → shell-q2dkzkdb.js} +11 -11
  227. package/dist/chunks/{vcs-f7f62ppg.js → shell-qea7c352.js} +27 -27
  228. package/dist/chunks/{vcs-gtmm17wr.js → shell-qp4q688a.js} +16 -16
  229. package/dist/chunks/{vcs-qqeeq2t9.js → shell-qqeeq2t9.js} +1 -1
  230. package/dist/chunks/{vcs-qsdy395h.js → shell-qsdy395h.js} +1 -1
  231. package/dist/chunks/{vcs-wv50yr5g.js → shell-qzhzzgth.js} +43 -43
  232. package/dist/chunks/{vcs-dpewnr59.js → shell-r3n8e044.js} +9 -9
  233. package/dist/chunks/{vcs-mn77zb4p.js → shell-r562f6qv.js} +61 -61
  234. package/dist/chunks/{vcs-rdw6cm16.js → shell-rdw6cm16.js} +1 -1
  235. package/dist/chunks/{vcs-rhjbct0v.js → shell-rhjbct0v.js} +1 -1
  236. package/dist/chunks/{vcs-91p43skh.js → shell-rnw38jw6.js} +3 -3
  237. package/dist/chunks/{vcs-j0c0jrrq.js → shell-rp531hqd.js} +9 -9
  238. package/dist/chunks/{vcs-xdrba4jw.js → shell-rpjgfq5s.js} +9 -9
  239. package/dist/chunks/{vcs-yrznvahk.js → shell-s4enseaf.js} +2 -2
  240. package/dist/chunks/{vcs-k1gkpfdk.js → shell-s5met55r.js} +8 -8
  241. package/dist/chunks/{vcs-93pp14as.js → shell-s6skgdzw.js} +8 -8
  242. package/dist/chunks/{vcs-5zr8nydg.js → shell-s8nw8qqp.js} +30 -30
  243. package/dist/chunks/{vcs-bjtgrew5.js → shell-s9y92xh6.js} +50 -50
  244. package/dist/chunks/{vcs-70rtrpe7.js → shell-sp1zcgp4.js} +11 -11
  245. package/dist/chunks/{vcs-n64bhgvh.js → shell-sz15nke5.js} +11 -11
  246. package/dist/chunks/{vcs-ze01d2sn.js → shell-szpwe2j4.js} +30 -30
  247. package/dist/chunks/{vcs-f47ks197.js → shell-t673y9ra.js} +18 -18
  248. package/dist/chunks/{vcs-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
  249. package/dist/chunks/{vcs-tcezcvh9.js → shell-tcezcvh9.js} +1 -1
  250. package/dist/chunks/{vcs-tdstcens.js → shell-tdstcens.js} +1 -1
  251. package/dist/chunks/{vcs-47r4vyk3.js → shell-tkeqhyvm.js} +8 -8
  252. package/dist/chunks/{vcs-zhq6vg7a.js → shell-ts2x07a1.js} +1 -1
  253. package/dist/chunks/{vcs-w3aqdajt.js → shell-tvpppgsc.js} +13 -13
  254. package/dist/chunks/{vcs-tvtrv512.js → shell-tvtrv512.js} +1 -1
  255. package/dist/chunks/{vcs-1wy7xpcm.js → shell-v01tkn9z.js} +9 -9
  256. package/dist/chunks/{vcs-jspmbzq8.js → shell-v27xpbdp.js} +2 -2
  257. package/dist/chunks/{vcs-h3emgna1.js → shell-v5g6m2jr.js} +21 -21
  258. package/dist/chunks/{vcs-gqf37yrc.js → shell-vb8b7bnb.js} +4 -4
  259. package/dist/chunks/{vcs-veqvce7d.js → shell-veqvce7d.js} +1 -1
  260. package/dist/chunks/{vcs-7jmzt1bp.js → shell-vp1et1m5.js} +20 -20
  261. package/dist/chunks/{vcs-kbxs9t8f.js → shell-vp53y9j4.js} +11 -11
  262. package/dist/chunks/{vcs-4fp0tc5q.js → shell-vrwant47.js} +18 -18
  263. package/dist/chunks/{vcs-4mj78ng4.js → shell-vww8x242.js} +1 -1
  264. package/dist/chunks/{vcs-8g3cnzmf.js → shell-vxzgcgea.js} +13 -13
  265. package/dist/chunks/{vcs-vzcthcp8.js → shell-vzcthcp8.js} +1 -1
  266. package/dist/chunks/{vcs-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
  267. package/dist/chunks/{vcs-h1smzm8e.js → shell-w94jh9ha.js} +9 -9
  268. package/dist/chunks/{vcs-wd87259q.js → shell-wd87259q.js} +1 -1
  269. package/dist/chunks/{vcs-f501bh8q.js → shell-wxahwc7r.js} +1 -1
  270. package/dist/chunks/{vcs-w6dttbvj.js → shell-wxe1qfek.js} +6 -6
  271. package/dist/chunks/{vcs-z7syg6j7.js → shell-wxrbz6ev.js} +26 -26
  272. package/dist/chunks/{vcs-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
  273. package/dist/chunks/{vcs-tdvtfxdy.js → shell-xjf9vqpg.js} +8 -8
  274. package/dist/chunks/{vcs-xfja6ssk.js → shell-xnpkhd7t.js} +12 -12
  275. package/dist/chunks/{vcs-xta7qcpj.js → shell-xvvxjgs3.js} +11 -11
  276. package/dist/chunks/{vcs-grhn0qhx.js → shell-xwkvp7ty.js} +3 -3
  277. package/dist/chunks/{vcs-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
  278. package/dist/chunks/{vcs-pyds7pwm.js → shell-y1hy686p.js} +1 -1
  279. package/dist/chunks/{vcs-y71avatq.js → shell-y71avatq.js} +1 -1
  280. package/dist/chunks/{vcs-b4fb1g87.js → shell-y844exjz.js} +6 -6
  281. package/dist/chunks/{vcs-xp7fz8rg.js → shell-ychryjdx.js} +26 -26
  282. package/dist/chunks/{vcs-ebfttpxm.js → shell-ymshdtr8.js} +11 -11
  283. package/dist/chunks/{vcs-mqxthytd.js → shell-ynhzt9k4.js} +11 -11
  284. package/dist/chunks/{vcs-yrhqyw5v.js → shell-yrhqyw5v.js} +1 -1
  285. package/dist/chunks/{vcs-z0bkrqjs.js → shell-z0bkrqjs.js} +1 -1
  286. package/dist/chunks/{vcs-zeh9ct20.js → shell-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{vcs-ehyhzm66.js → shell-zftvnttz.js} +11 -11
  288. package/dist/chunks/{vcs-mmr7bq34.js → shell-zqx8wcya.js} +6 -6
  289. package/dist/chunks/{vcs-zr2ceqn5.js → shell-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{vcs-ypk83nm1.js → shell-ztzrhfw8.js} +4 -4
  291. package/dist/chunks/{vcs-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +5 -5
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +84 -84
  297. package/dist/config/discovery.js +81 -81
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +105 -105
  300. package/dist/config/plugin/agent.js +122 -122
  301. package/dist/config/plugin/command.js +211 -211
  302. package/dist/config/plugin/compaction.js +159 -159
  303. package/dist/config/plugin/compatibility.js +140 -140
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +123 -123
  306. package/dist/config/plugin/image.js +122 -122
  307. package/dist/config/plugin/instruction.js +89 -89
  308. package/dist/config/plugin/location-watcher.js +122 -122
  309. package/dist/config/plugin/mcp.js +129 -129
  310. package/dist/config/plugin/policy.js +123 -123
  311. package/dist/config/plugin/provider.js +122 -122
  312. package/dist/config/plugin/reference.js +124 -124
  313. package/dist/config/plugin/shell.js +124 -124
  314. package/dist/config/plugin/skill-file.js +101 -101
  315. package/dist/config/plugin/skill.js +143 -143
  316. package/dist/config/plugin/snapshot.js +120 -120
  317. package/dist/config/plugin/source.js +119 -119
  318. package/dist/config/plugin/tool-output.js +124 -124
  319. package/dist/config/plugin/websearch.js +123 -123
  320. package/dist/config/plugin/worktree.js +124 -124
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +127 -127
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +76 -76
  326. package/dist/database/database.js +65 -65
  327. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +13 -13
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +14 -14
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration.gen.js +48 -48
  391. package/dist/database/migration.js +50 -50
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +75 -75
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +369 -369
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +1 -1
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +92 -92
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +92 -92
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +1 -1
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +69 -69
  415. package/dist/file-access.js +103 -103
  416. package/dist/file-mutation.js +93 -93
  417. package/dist/file-retention.js +1 -1
  418. package/dist/file.js +1 -1
  419. package/dist/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/ignore.js +1 -1
  424. package/dist/filesystem/location-watcher-policy.js +6 -6
  425. package/dist/filesystem/location-watcher.js +220 -220
  426. package/dist/filesystem/protected.js +1 -1
  427. package/dist/filesystem/search.js +96 -96
  428. package/dist/filesystem/watcher-binding.js +3 -3
  429. package/dist/filesystem/watcher.js +15 -15
  430. package/dist/filesystem.js +99 -99
  431. package/dist/form.js +73 -73
  432. package/dist/formatter/builtins.js +4 -4
  433. package/dist/formatter.js +86 -86
  434. package/dist/generate.js +98 -98
  435. package/dist/git.js +6 -6
  436. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  437. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  438. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  440. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  442. package/dist/github-copilot/copilot-provider.js +17 -17
  443. package/dist/github-copilot/models.js +90 -90
  444. package/dist/github-copilot/openai-compatible-error.js +1 -1
  445. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  446. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  447. package/dist/github-copilot/responses/openai-error.js +1 -1
  448. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  449. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  450. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  451. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  452. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  455. package/dist/id/id.js +1 -1
  456. package/dist/image/photon.js +2 -2
  457. package/dist/image.js +6 -6
  458. package/dist/instance/service.js +5 -5
  459. package/dist/instance.js +360 -360
  460. package/dist/instruction-discovery.js +82 -82
  461. package/dist/instructions/builtins.js +86 -86
  462. package/dist/instructions/index.js +1 -1
  463. package/dist/integration/connection.js +1 -1
  464. package/dist/integration.js +79 -79
  465. package/dist/job.js +78 -78
  466. package/dist/kv/sql.js +2 -2
  467. package/dist/kv.js +72 -72
  468. package/dist/location-activity.js +131 -131
  469. package/dist/location-lifecycle.js +105 -105
  470. package/dist/location-mutation.js +103 -103
  471. package/dist/location-service-map.js +85 -85
  472. package/dist/location-services.js +357 -357
  473. package/dist/location.js +80 -80
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +90 -90
  476. package/dist/mcp/index.js +107 -107
  477. package/dist/mcp/instructions.js +125 -125
  478. package/dist/mcp/oauth.js +77 -77
  479. package/dist/mcp/stdio.js +89 -89
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +90 -90
  482. package/dist/model-resolver.js +97 -97
  483. package/dist/model.js +93 -93
  484. package/dist/models-dev.js +98 -98
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +79 -79
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +114 -114
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +85 -85
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +74 -74
  494. package/dist/plugin/agent.js +101 -101
  495. package/dist/plugin/command.js +98 -98
  496. package/dist/plugin/compaction.js +130 -130
  497. package/dist/plugin/hooks.js +5 -5
  498. package/dist/plugin/host.js +217 -217
  499. package/dist/plugin/identity.js +3 -3
  500. package/dist/plugin/instance.js +5 -5
  501. package/dist/plugin/internal.js +331 -331
  502. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  503. package/dist/plugin/models-dev.js +95 -95
  504. package/dist/plugin/module.js +5 -5
  505. package/dist/plugin/optimize.js +4 -4
  506. package/dist/plugin/plan.js +101 -101
  507. package/dist/plugin/promise.js +1 -1
  508. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  509. package/dist/plugin/provider/azure.js +121 -121
  510. package/dist/plugin/provider/cerebras.js +1 -1
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +118 -118
  515. package/dist/plugin/provider/digitalocean.js +92 -92
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +92 -92
  520. package/dist/plugin/provider/gitlab.js +90 -90
  521. package/dist/plugin/provider/google-vertex.js +89 -89
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +76 -76
  524. package/dist/plugin/provider/lmstudio.js +121 -121
  525. package/dist/plugin/provider/modal.js +91 -91
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +121 -121
  528. package/dist/plugin/provider/openai.js +93 -93
  529. package/dist/plugin/provider/opencode.js +93 -93
  530. package/dist/plugin/provider/openrouter.js +90 -90
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +77 -77
  533. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  534. package/dist/plugin/provider/sap-ai-core.js +90 -90
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +89 -89
  539. package/dist/plugin/provider/vllm.js +121 -121
  540. package/dist/plugin/provider/xai.js +90 -90
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +159 -159
  543. package/dist/plugin/sdk.js +69 -69
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +140 -140
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +346 -346
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +85 -85
  551. package/dist/plugin/vcs/hg.js +85 -85
  552. package/dist/plugin/warming.js +120 -120
  553. package/dist/plugin/websearch/exa.js +7 -7
  554. package/dist/plugin/websearch/firecrawl.js +8 -8
  555. package/dist/plugin/websearch/index.js +9 -9
  556. package/dist/plugin/websearch/mcp.js +4 -4
  557. package/dist/plugin/websearch/parallel.js +8 -8
  558. package/dist/plugin/websearch/tavily.js +6 -6
  559. package/dist/plugin/websearch/tinyfish.js +8 -8
  560. package/dist/plugin.js +228 -228
  561. package/dist/project/schema.js +2 -2
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +79 -79
  564. package/dist/provider.js +92 -92
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/schema.js +3 -3
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +95 -95
  569. package/dist/reference/instructions.js +86 -86
  570. package/dist/reference.js +90 -90
  571. package/dist/repository-cache.js +80 -80
  572. package/dist/repository.js +1 -1
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +92 -92
  575. package/dist/rpc.js +85 -85
  576. package/dist/schema.js +1 -1
  577. package/dist/session/command.js +73 -73
  578. package/dist/session/compaction.js +131 -131
  579. package/dist/session/context.js +151 -151
  580. package/dist/session/diff.js +87 -87
  581. package/dist/session/environment.js +5 -5
  582. package/dist/session/error.js +7 -7
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +220 -220
  585. package/dist/session/execution.js +127 -127
  586. package/dist/session/generate.js +150 -150
  587. package/dist/session/history.js +15 -15
  588. package/dist/session/inbox.js +89 -89
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +78 -78
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +96 -96
  593. package/dist/session/message-updater.js +2 -2
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +118 -118
  596. package/dist/session/model-transport.js +9 -9
  597. package/dist/session/move.js +129 -129
  598. package/dist/session/projector.js +85 -85
  599. package/dist/session/prompt.js +104 -104
  600. package/dist/session/provider-context.js +3 -3
  601. package/dist/session/revert.js +89 -89
  602. package/dist/session/run-coordinator.js +3 -3
  603. package/dist/session/runner/index.js +3 -3
  604. package/dist/session/runner/llm.js +228 -228
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +97 -97
  607. package/dist/session/runner/publish-llm-event.js +3 -3
  608. package/dist/session/runner/retry.js +113 -113
  609. package/dist/session/runner/step.js +123 -123
  610. package/dist/session/runner/to-llm-message.js +2 -2
  611. package/dist/session/schema.js +3 -3
  612. package/dist/session/session.js +169 -169
  613. package/dist/session/shell.js +137 -137
  614. package/dist/session/skill.js +102 -102
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +72 -72
  617. package/dist/session/store.js +84 -84
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +209 -209
  620. package/dist/session/system-prompt.js +1 -1
  621. package/dist/session/title.js +149 -149
  622. package/dist/session/to-session-error.js +110 -110
  623. package/dist/session/transfer.js +211 -211
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +213 -213
  626. package/dist/shell/parse.js +6 -6
  627. package/dist/shell/result.js +1 -1
  628. package/dist/shell/scan.js +1 -1
  629. package/dist/shell/select.js +13 -13
  630. package/dist/shell.js +139 -139
  631. package/dist/skill/discovery.js +6 -6
  632. package/dist/skill/instructions.js +106 -106
  633. package/dist/skill.js +111 -111
  634. package/dist/snapshot.js +92 -92
  635. package/dist/state.js +1 -1
  636. package/dist/tool/html-markdown.js +1 -1
  637. package/dist/tool/http-body.js +1 -1
  638. package/dist/tool/mcp.js +124 -124
  639. package/dist/tool/plugin/edit.js +119 -119
  640. package/dist/tool/plugin/file-diff.js +1 -1
  641. package/dist/tool/plugin/glob.js +115 -115
  642. package/dist/tool/plugin/grep.js +121 -121
  643. package/dist/tool/plugin/opencode.js +3 -3
  644. package/dist/tool/plugin/patch.js +121 -121
  645. package/dist/tool/plugin/question.js +100 -100
  646. package/dist/tool/plugin/read.js +122 -122
  647. package/dist/tool/plugin/shell.js +216 -216
  648. package/dist/tool/plugin/skill.js +112 -112
  649. package/dist/tool/plugin/subagent.js +218 -218
  650. package/dist/tool/plugin/webfetch.js +111 -111
  651. package/dist/tool/plugin/websearch.js +113 -113
  652. package/dist/tool/plugin/write.js +121 -121
  653. package/dist/tool/read-filesystem.js +99 -99
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +8 -8
  656. package/dist/tool.js +14 -14
  657. package/dist/util/error-summary.js +1 -1
  658. package/dist/util/error.js +1 -1
  659. package/dist/util/git-executable.js +2 -2
  660. package/dist/util/iife.js +1 -1
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +7 -7
  667. package/dist/v1/config/attachment.js +4 -4
  668. package/dist/v1/config/command.js +5 -5
  669. package/dist/v1/config/config.js +16 -16
  670. package/dist/v1/config/error.js +4 -4
  671. package/dist/v1/config/formatter.js +5 -5
  672. package/dist/v1/config/layout.js +1 -1
  673. package/dist/v1/config/lsp.js +5 -5
  674. package/dist/v1/config/mcp.js +4 -4
  675. package/dist/v1/config/migrate.js +91 -91
  676. package/dist/v1/config/permission.js +7 -7
  677. package/dist/v1/config/plugin.js +3 -3
  678. package/dist/v1/config/provider-options.js +1 -1
  679. package/dist/v1/config/provider.js +4 -4
  680. package/dist/v1/config/server.js +2 -2
  681. package/dist/v1/config/skills.js +3 -3
  682. package/dist/v1/permission.js +1 -1
  683. package/dist/variant.js +90 -90
  684. package/dist/vcs/patch.js +1 -1
  685. package/dist/vcs.js +88 -88
  686. package/dist/websearch.js +77 -77
  687. package/dist/wellknown/plugin.js +75 -75
  688. package/dist/wellknown.js +80 -80
  689. package/dist/workspace/driver.js +5 -5
  690. package/dist/workspace/sql.js +1 -1
  691. package/dist/workspace.js +79 -79
  692. package/dist/worktree/directory.js +2 -2
  693. package/dist/worktree/git.js +10 -10
  694. package/dist/worktree/sql.js +5 -5
  695. package/dist/worktree/strategies.js +88 -88
  696. package/dist/worktree.js +95 -95
  697. package/package.json +8 -8
  698. package/dist/chunks/vcs-3p71wzhx.js +0 -252
  699. package/dist/chunks/vcs-619r8v3y.js +0 -18
  700. package/dist/chunks/vcs-qapv375x.js +0 -4
  701. package/dist/chunks/vcs-rgevtwgf.js +0 -26
  702. /package/dist/chunks/{vcs-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
  703. /package/dist/chunks/{vcs-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
  704. /package/dist/chunks/{vcs-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
  705. /package/dist/chunks/{vcs-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
  706. /package/dist/chunks/{vcs-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
  707. /package/dist/chunks/{vcs-24dcb14g.js → shell-24dcb14g.js} +0 -0
  708. /package/dist/chunks/{vcs-2710q6r3.js → shell-2710q6r3.js} +0 -0
  709. /package/dist/chunks/{vcs-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
  710. /package/dist/chunks/{vcs-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
  711. /package/dist/chunks/{vcs-359p4xyc.js → shell-359p4xyc.js} +0 -0
  712. /package/dist/chunks/{vcs-3asan66x.js → shell-3asan66x.js} +0 -0
  713. /package/dist/chunks/{vcs-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
  714. /package/dist/chunks/{vcs-3w5fmr99.js → shell-3w5fmr99.js} +0 -0
  715. /package/dist/chunks/{vcs-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
  716. /package/dist/chunks/{vcs-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
  717. /package/dist/chunks/{vcs-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
  718. /package/dist/chunks/{vcs-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
  719. /package/dist/chunks/{vcs-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
  720. /package/dist/chunks/{vcs-53557ph1.js → shell-53557ph1.js} +0 -0
  721. /package/dist/chunks/{vcs-550bvhaj.js → shell-550bvhaj.js} +0 -0
  722. /package/dist/chunks/{vcs-6prwharc.js → shell-6prwharc.js} +0 -0
  723. /package/dist/chunks/{vcs-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
  724. /package/dist/chunks/{vcs-7m9af43g.js → shell-7m9af43g.js} +0 -0
  725. /package/dist/chunks/{vcs-822emrt2.js → shell-822emrt2.js} +0 -0
  726. /package/dist/chunks/{vcs-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{vcs-8n3pysct.js → shell-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{vcs-922hggd3.js → shell-922hggd3.js} +0 -0
  729. /package/dist/chunks/{vcs-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
  730. /package/dist/chunks/{vcs-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
  731. /package/dist/chunks/{vcs-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
  732. /package/dist/chunks/{vcs-af5trqkr.js → shell-af5trqkr.js} +0 -0
  733. /package/dist/chunks/{vcs-afrmfg78.js → shell-afrmfg78.js} +0 -0
  734. /package/dist/chunks/{vcs-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
  735. /package/dist/chunks/{vcs-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
  736. /package/dist/chunks/{vcs-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
  737. /package/dist/chunks/{vcs-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
  738. /package/dist/chunks/{vcs-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
  739. /package/dist/chunks/{vcs-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
  740. /package/dist/chunks/{vcs-d9fn303g.js → shell-d9fn303g.js} +0 -0
  741. /package/dist/chunks/{vcs-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
  742. /package/dist/chunks/{vcs-dajrwvna.js → shell-dajrwvna.js} +0 -0
  743. /package/dist/chunks/{vcs-dap0rakb.js → shell-dap0rakb.js} +0 -0
  744. /package/dist/chunks/{vcs-df08tz66.js → shell-df08tz66.js} +0 -0
  745. /package/dist/chunks/{vcs-dy18nga0.js → shell-dy18nga0.js} +0 -0
  746. /package/dist/chunks/{vcs-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
  747. /package/dist/chunks/{vcs-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
  748. /package/dist/chunks/{vcs-ec1grn59.js → shell-ec1grn59.js} +0 -0
  749. /package/dist/chunks/{vcs-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
  750. /package/dist/chunks/{vcs-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
  751. /package/dist/chunks/{vcs-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
  752. /package/dist/chunks/{vcs-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
  753. /package/dist/chunks/{vcs-faypxj3z.js → shell-faypxj3z.js} +0 -0
  754. /package/dist/chunks/{vcs-fd410y7t.js → shell-fd410y7t.js} +0 -0
  755. /package/dist/chunks/{vcs-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
  756. /package/dist/chunks/{vcs-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{vcs-g86h250q.js → shell-g86h250q.js} +0 -0
  758. /package/dist/chunks/{vcs-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{vcs-gftt206x.js → shell-gftt206x.js} +0 -0
  760. /package/dist/chunks/{vcs-hjbc5kem.js → shell-hjbc5kem.js} +0 -0
  761. /package/dist/chunks/{vcs-hk9envan.js → shell-hk9envan.js} +0 -0
  762. /package/dist/chunks/{vcs-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{vcs-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{vcs-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
  765. /package/dist/chunks/{vcs-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
  766. /package/dist/chunks/{vcs-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
  767. /package/dist/chunks/{vcs-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
  768. /package/dist/chunks/{vcs-mp448xyj.js → shell-mp448xyj.js} +0 -0
  769. /package/dist/chunks/{vcs-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
  770. /package/dist/chunks/{vcs-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
  771. /package/dist/chunks/{vcs-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
  772. /package/dist/chunks/{vcs-njntx4h6.js → shell-njntx4h6.js} +0 -0
  773. /package/dist/chunks/{vcs-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{vcs-q74kybfr.js → shell-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{vcs-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{vcs-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{vcs-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{vcs-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{vcs-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{vcs-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{vcs-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{vcs-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
  783. /package/dist/chunks/{vcs-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
  784. /package/dist/chunks/{vcs-twg0f83k.js → shell-twg0f83k.js} +0 -0
  785. /package/dist/chunks/{vcs-w803qqfp.js → shell-w803qqfp.js} +0 -0
  786. /package/dist/chunks/{vcs-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
  787. /package/dist/chunks/{vcs-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
  788. /package/dist/chunks/{vcs-wtztk69x.js → shell-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{vcs-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{vcs-x61499pn.js → shell-x61499pn.js} +0 -0
  791. /package/dist/chunks/{vcs-y44na4kk.js → shell-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{vcs-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
  793. /package/dist/chunks/{vcs-y8f7s663.js → shell-y8f7s663.js} +0 -0
  794. /package/dist/chunks/{vcs-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
  795. /package/dist/chunks/{vcs-ym463w8f.js → shell-ym463w8f.js} +0 -0
  796. /package/dist/chunks/{vcs-z9919s4g.js → shell-z9919s4g.js} +0 -0
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./vcs-922hggd3.js";
3
+ } from "./shell-922hggd3.js";
4
4
  import {
5
5
  Service80
6
- } from "./vcs-p5tk2x4g.js";
6
+ } from "./shell-dykkexkt.js";
7
7
  import {
8
- Service24
9
- } from "./vcs-f0xae989.js";
8
+ Service53
9
+ } from "./shell-nvra0fyk.js";
10
10
  import {
11
- Service7
12
- } from "./vcs-0gyx6ezr.js";
11
+ Service11
12
+ } from "./shell-1p0k74td.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./vcs-2a5m3afh.js";
15
+ } from "./shell-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service6
27
- } from "./vcs-3qjhd3zm.js";
26
+ Service12
27
+ } from "./shell-akjymesb.js";
28
28
  import {
29
29
  __export
30
- } from "./vcs-9rqn6x4v.js";
30
+ } from "./shell-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input8,
36
- Plugin: () => Plugin9,
35
+ Input: () => Input5,
36
+ Plugin: () => Plugin40,
37
37
  ReadTool: () => exports_read,
38
- name: () => name8,
38
+ name: () => name5,
39
39
  toModelContent: () => toModelContent3
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name8 = "read";
45
+ var name5 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
54
54
  })
55
55
  });
56
- var Input8 = LocationInput;
56
+ var Input5 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin9 = {
58
+ var Plugin40 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service6;
62
- const access = yield* Service24;
63
- const sessionInstructions = yield* Service7;
61
+ const reader = yield* Service12;
62
+ const access = yield* Service53;
63
+ const sessionInstructions = yield* Service11;
64
64
  const fs = yield* FSUtil.Service;
65
65
  const location = yield* Service80;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name8,
67
+ name: name5,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input8,
70
+ input: Input5,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -180,4 +180,4 @@ var toModelContent3 = (path, offset, output) => {
180
180
  `);
181
181
  };
182
182
 
183
- export { name8, Input8, Plugin9, toModelContent3, exports_read };
183
+ export { name5, Input5, Plugin40, toModelContent3, exports_read };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./vcs-5t3nmthw.js";
3
+ } from "./shell-5t3nmthw.js";
4
4
  import {
5
- Service71,
6
- node75
7
- } from "./vcs-bzmv9v1t.js";
5
+ Service55,
6
+ node58
7
+ } from "./shell-nz32y6j9.js";
8
8
  import {
9
9
  __export
10
- } from "./vcs-9rqn6x4v.js";
10
+ } from "./shell-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
13
  var exports_generate2 = {};
14
14
  __export(exports_generate2, {
15
15
  Generate: () => exports_generate2,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service53,
17
+ Service: () => Service54,
18
18
  UnavailableError: () => UnavailableError3,
19
- layer: () => layer20,
19
+ layer: () => layer21,
20
20
  node: () => node57
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode/ai";
@@ -33,11 +33,11 @@ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError"
33
33
  }) {
34
34
  }
35
35
 
36
- class Service53 extends Context.Service()("@opencode/Generate") {
36
+ class Service54 extends Context.Service()("@opencode/Generate") {
37
37
  }
38
- var layer20 = Layer.effect(Service53, Effect.gen(function* () {
38
+ var layer21 = Layer.effect(Service54, Effect.gen(function* () {
39
39
  const llm = yield* LLMClient.Service;
40
- const resolver = yield* Service71;
40
+ const resolver = yield* Service55;
41
41
  const runText = Effect.fn("Generate.text")(function* (input) {
42
42
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
43
43
  "SessionRunnerModel.VariantUnavailableError",
@@ -63,12 +63,12 @@ var layer20 = Layer.effect(Service53, Effect.gen(function* () {
63
63
  const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
64
64
  message: "Generation credentials are unavailable"
65
65
  })));
66
- return Service53.of({ text });
66
+ return Service54.of({ text });
67
67
  }));
68
68
  var node57 = makeLocationNode({
69
- service: Service53,
70
- layer: layer20,
71
- deps: [node75, llmClient2]
69
+ service: Service54,
70
+ layer: layer21,
71
+ deps: [node58, llmClient2]
72
72
  });
73
73
 
74
- export { ModelSelectionError2, UnavailableError3, Service53, layer20, node57, exports_generate2 };
74
+ export { ModelSelectionError2, UnavailableError3, Service54, layer21, node57, exports_generate2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./vcs-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/identity.ts
6
6
  var exports_identity = {};
7
7
  __export(exports_identity, {
8
8
  IdentityPlugin: () => exports_identity,
9
- Plugin: () => Plugin47,
9
+ Plugin: () => Plugin31,
10
10
  identity: () => identity2
11
11
  });
12
12
  import { SystemPart } from "@opencode/ai";
@@ -22,7 +22,7 @@ function identity2(model) {
22
22
  ].join(`
23
23
  `);
24
24
  }
25
- var Plugin47 = define({
25
+ var Plugin31 = define({
26
26
  id: "opencode.prompt.identity",
27
27
  effect: Effect.fn("IdentityPlugin")(function* (ctx) {
28
28
  const hook = (event) => Effect.gen(function* () {
@@ -35,4 +35,4 @@ var Plugin47 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { identity2, Plugin47, exports_identity };
38
+ export { identity2, Plugin31, exports_identity };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service49
3
- } from "./vcs-xdrba4jw.js";
2
+ Service46
3
+ } from "./shell-rpjgfq5s.js";
4
4
  import {
5
- Service62
6
- } from "./vcs-bw9zjykr.js";
5
+ Service38
6
+ } from "./shell-p7a39gy5.js";
7
7
  import {
8
8
  detect2
9
- } from "./vcs-3smtnn6g.js";
9
+ } from "./shell-3smtnn6g.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./vcs-619r8v3y.js";
12
+ } from "./shell-4v7qdvcn.js";
13
13
  import {
14
- Service68
15
- } from "./vcs-k1gkpfdk.js";
14
+ Service66
15
+ } from "./shell-s5met55r.js";
16
16
  import {
17
17
  AttachmentError2,
18
18
  SkillNotFoundError2
19
- } from "./vcs-ybhbtxjg.js";
19
+ } from "./shell-53g2xa05.js";
20
20
  import {
21
21
  prepare3,
22
- Service41
23
- } from "./vcs-wrka22zr.js";
22
+ Service40
23
+ } from "./shell-3h4a5sy3.js";
24
24
  import {
25
25
  __export
26
- } from "./vcs-9rqn6x4v.js";
26
+ } from "./shell-9rqn6x4v.js";
27
27
 
28
28
  // src/session/prompt.ts
29
29
  var exports_prompt = {};
@@ -39,10 +39,10 @@ import path from "path";
39
39
  import { fileURLToPath } from "url";
40
40
  var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
41
41
  const fs = yield* FSUtil.Service;
42
- const instances = yield* Service62;
42
+ const instances = yield* Service38;
43
43
  return yield* Effect.gen(function* () {
44
44
  yield* awaitActivation2;
45
- const hooks = yield* Service68;
45
+ const hooks = yield* Service66;
46
46
  const event = yield* hooks.trigger("session", "prompt", {
47
47
  sessionID: request.session.id,
48
48
  messageID: request.messageID,
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
61
61
  const selected = yield* Effect.gen(function* () {
62
62
  if (!requested?.length)
63
63
  return;
64
- const skillService = yield* Service41;
64
+ const skillService = yield* Service40;
65
65
  const prepared = new Map;
66
66
  return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
67
67
  const name = prepared.get(attachment.id);
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
126
126
  var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
127
127
  if (!mime.startsWith("image/"))
128
128
  return { data: Base64.make(data), mime };
129
- const image = yield* Service49;
129
+ const image = yield* Service46;
130
130
  const label = attachmentLabel(input);
131
131
  const content = { uri: label, content: data, encoding: "base64", mime };
132
132
  const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./vcs-73sq42y9.js";
4
+ } from "./shell-kx21j3gp.js";
5
5
  import {
6
- Service37,
7
- node40
8
- } from "./vcs-8vbzfqqc.js";
6
+ Service34,
7
+ node37
8
+ } from "./shell-magqfpze.js";
9
9
  import {
10
- Service65,
11
- node69
12
- } from "./vcs-21jmns5z.js";
10
+ Service57,
11
+ node60
12
+ } from "./shell-6134wrt7.js";
13
13
  import {
14
- Service39,
15
- node42
16
- } from "./vcs-qw1bjgpz.js";
14
+ Service45,
15
+ node48
16
+ } from "./shell-6dv6n725.js";
17
17
  import {
18
18
  __export
19
- } from "./vcs-9rqn6x4v.js";
19
+ } from "./shell-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service30,
26
- layer: () => layer12,
25
+ Service: () => Service33,
26
+ layer: () => layer13,
27
27
  name: () => name13,
28
28
  namespace: () => namespace2,
29
- node: () => node33
29
+ node: () => node36
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
36
  var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service30 extends Context.Service()("@opencode/McpTool") {
38
+ class Service33 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer12 = Layer.effect(Service30, Effect.gen(function* () {
41
- const mcp = yield* Service37;
42
- const tools = yield* Service39;
40
+ var layer13 = Layer.effect(Service33, Effect.gen(function* () {
41
+ const mcp = yield* Service34;
42
+ const tools = yield* Service45;
43
43
  const bus = yield* Service83;
44
- const permission = yield* Service65;
44
+ const permission = yield* Service57;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -118,12 +118,12 @@ var layer12 = Layer.effect(Service30, Effect.gen(function* () {
118
118
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
119
119
  const updates = yield* PubSub.subscribe(changes);
120
120
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
121
- return Service30.of({ flush: Effect.asVoid(Fiber.await(initial)) });
121
+ return Service33.of({ flush: Effect.asVoid(Fiber.await(initial)) });
122
122
  }));
123
- var node33 = makeLocationNode({
124
- service: Service30,
125
- layer: layer12,
126
- deps: [node42, node40, node87, node69]
123
+ var node36 = makeLocationNode({
124
+ service: Service33,
125
+ layer: layer13,
126
+ deps: [node48, node37, node87, node60]
127
127
  });
128
128
 
129
- export { namespace2, name13, Service30, layer12, node33, exports_mcp3 };
129
+ export { namespace2, name13, Service33, layer13, node36, exports_mcp3 };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./vcs-73sq42y9.js";
4
+ } from "./shell-kx21j3gp.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./vcs-rdw6cm16.js";
8
+ } from "./shell-rdw6cm16.js";
9
9
  import {
10
10
  Service80,
11
11
  node84
12
- } from "./vcs-p5tk2x4g.js";
12
+ } from "./shell-dykkexkt.js";
13
13
  import {
14
14
  rewrite2,
15
15
  ID13,
16
16
  modelSettings2,
17
17
  mergeOverlay2,
18
18
  mergeHeaders2,
19
- Service74,
20
- node78,
19
+ Service75,
20
+ node79,
21
21
  Event17
22
- } from "./vcs-qagsqzqe.js";
22
+ } from "./shell-3s7qr6kk.js";
23
23
  import {
24
24
  __export
25
- } from "./vcs-9rqn6x4v.js";
25
+ } from "./shell-9rqn6x4v.js";
26
26
 
27
27
  // src/model.ts
28
28
  var exports_model2 = {};
@@ -37,10 +37,10 @@ __export(exports_model2, {
37
37
  Model: () => exports_model2,
38
38
  ReasoningField: () => ReasoningField2,
39
39
  Ref: () => Ref2,
40
- Service: () => Service72,
40
+ Service: () => Service74,
41
41
  VariantID: () => VariantID2,
42
42
  compatibility: () => compatibility2,
43
- node: () => node76,
43
+ node: () => node78,
44
44
  parse: () => parse5
45
45
  });
46
46
  import { Model } from "@opencode/schema/model";
@@ -58,10 +58,10 @@ var Cost2 = Model.Cost;
58
58
  var Ref2 = Model.Ref;
59
59
  var Info26 = Model.Info;
60
60
 
61
- class Service72 extends Context.Service()("@opencode/Model") {
61
+ class Service74 extends Context.Service()("@opencode/Model") {
62
62
  }
63
- var layer = Layer.effect(Service72, Effect.gen(function* () {
64
- const providers = yield* Service74;
63
+ var layer = Layer.effect(Service74, Effect.gen(function* () {
64
+ const providers = yield* Service75;
65
65
  const bus = yield* Service83;
66
66
  const location = yield* Service80;
67
67
  let input;
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
198
198
  });
199
199
  });
200
200
  yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
201
- return Service72.of({
201
+ return Service74.of({
202
202
  transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
203
203
  reload,
204
204
  get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
217
217
  })
218
218
  });
219
219
  }));
220
- var node76 = makeLocationNode({ service: Service72, layer, deps: [node78, node87, node84] });
220
+ var node78 = makeLocationNode({ service: Service74, layer, deps: [node79, node87, node84] });
221
221
  function compatibility2(input) {
222
222
  if (typeof input === "string")
223
223
  return { reasoningField: input };
@@ -233,4 +233,4 @@ function parse5(input) {
233
233
  };
234
234
  }
235
235
 
236
- export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info26, Service72, node76, compatibility2, parse5, exports_model2, Event16 };
236
+ export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info26, Service74, node78, compatibility2, parse5, exports_model2, Event16 };
@@ -1,52 +1,52 @@
1
1
  import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2
4
- } from "./vcs-922hggd3.js";
4
+ } from "./shell-922hggd3.js";
5
5
  import {
6
- Info13
7
- } from "./vcs-cavr175a.js";
6
+ Info24
7
+ } from "./shell-kk00bynn.js";
8
8
  import {
9
- Info12
10
- } from "./vcs-g8jasmdt.js";
9
+ Info17
10
+ } from "./shell-h74ge2a2.js";
11
11
  import {
12
- Info10
13
- } from "./vcs-37s12vcn.js";
12
+ Info22
13
+ } from "./shell-ag9w8cw1.js";
14
14
  import {
15
- Info15
16
- } from "./vcs-g8d3gcyj.js";
15
+ Info18
16
+ } from "./shell-a2ew8a62.js";
17
17
  import {
18
- Info11
19
- } from "./vcs-nkcwakxz.js";
18
+ Info19
19
+ } from "./shell-pjedbq3k.js";
20
20
  import {
21
21
  Layout2
22
- } from "./vcs-21r38tys.js";
22
+ } from "./shell-21r38tys.js";
23
23
  import {
24
- Info8
25
- } from "./vcs-fng9e0je.js";
24
+ Info21
25
+ } from "./shell-0gaj4617.js";
26
26
  import {
27
- Info14
28
- } from "./vcs-p44d8wdy.js";
27
+ Info20
28
+ } from "./shell-ead3g9p8.js";
29
29
  import {
30
30
  Spec2
31
- } from "./vcs-qgn6gcr1.js";
31
+ } from "./shell-7dqw4kz8.js";
32
32
  import {
33
- Info16
34
- } from "./vcs-hnr5yq9h.js";
33
+ Info25
34
+ } from "./shell-fvsyg6qk.js";
35
35
  import {
36
36
  Server2
37
- } from "./vcs-zeh9ct20.js";
37
+ } from "./shell-zeh9ct20.js";
38
38
  import {
39
- Info9
40
- } from "./vcs-00z3vp5f.js";
39
+ Info23
40
+ } from "./shell-3j8sdtpz.js";
41
41
  import {
42
42
  __export
43
- } from "./vcs-9rqn6x4v.js";
43
+ } from "./shell-9rqn6x4v.js";
44
44
 
45
45
  // src/v1/config/config.ts
46
46
  var exports_config2 = {};
47
47
  __export(exports_config2, {
48
48
  ConfigV1: () => exports_config2,
49
- Info: () => Info7,
49
+ Info: () => Info16,
50
50
  WellKnown: () => WellKnown2
51
51
  });
52
52
  import { Schema } from "effect";
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
59
59
  identifier: "LogLevel",
60
60
  description: "Log level"
61
61
  });
62
- var Info7 = Schema.Struct({
62
+ var Info16 = Schema.Struct({
63
63
  $schema: Schema.optional(Schema.String).annotate({
64
64
  description: "JSON schema reference for configuration validation"
65
65
  }),
@@ -68,10 +68,10 @@ var Info7 = Schema.Struct({
68
68
  server: Schema.optional(Server2).annotate({
69
69
  description: "Server configuration for opencode serve and web commands"
70
70
  }),
71
- command: Schema.optional(Schema.Record(Schema.String, Info15)).annotate({
71
+ command: Schema.optional(Schema.Record(Schema.String, Info18)).annotate({
72
72
  description: "Command configuration, see https://opencode.ai/docs/commands"
73
73
  }),
74
- skills: Schema.optional(Info9).annotate({ description: "Additional skill folder paths" }),
74
+ skills: Schema.optional(Info23).annotate({ description: "Additional skill folder paths" }),
75
75
  references: Schema.optional(ConfigReference.Info).annotate({
76
76
  description: "Named git or local directory references"
77
77
  }),
@@ -113,33 +113,33 @@ var Info7 = Schema.Struct({
113
113
  username: Schema.optional(Schema.String).annotate({
114
114
  description: "Custom username to display in conversations instead of system username"
115
115
  }),
116
- mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info12), plan: Schema.optional(Info12) }), [Schema.Record(Schema.String, Info12)])).annotate({ description: "@deprecated Use `agent` field instead." }),
116
+ mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info17), plan: Schema.optional(Info17) }), [Schema.Record(Schema.String, Info17)])).annotate({ description: "@deprecated Use `agent` field instead." }),
117
117
  agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
118
- plan: Schema.optional(Info12),
119
- build: Schema.optional(Info12),
120
- general: Schema.optional(Info12),
121
- explore: Schema.optional(Info12),
122
- title: Schema.optional(Info12),
123
- summary: Schema.optional(Info12),
124
- compaction: Schema.optional(Info12)
125
- }), [Schema.Record(Schema.String, Info12)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
126
- provider: Schema.optional(Schema.Record(Schema.String, Info16)).annotate({
118
+ plan: Schema.optional(Info17),
119
+ build: Schema.optional(Info17),
120
+ general: Schema.optional(Info17),
121
+ explore: Schema.optional(Info17),
122
+ title: Schema.optional(Info17),
123
+ summary: Schema.optional(Info17),
124
+ compaction: Schema.optional(Info17)
125
+ }), [Schema.Record(Schema.String, Info17)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
126
+ provider: Schema.optional(Schema.Record(Schema.String, Info25)).annotate({
127
127
  description: "Custom provider configurations and model overrides"
128
128
  }),
129
- mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info14, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
130
- formatter: Schema.optional(Info11).annotate({
129
+ mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info20, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
130
+ formatter: Schema.optional(Info19).annotate({
131
131
  description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
132
132
  }),
133
- lsp: Schema.optional(Info8).annotate({
133
+ lsp: Schema.optional(Info21).annotate({
134
134
  description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
135
135
  }),
136
136
  instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
137
137
  description: "Additional instruction files or patterns to include"
138
138
  }),
139
139
  layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
140
- permission: Schema.optional(Info13),
140
+ permission: Schema.optional(Info24),
141
141
  tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
142
- attachment: Schema.optional(Info10).annotate({
142
+ attachment: Schema.optional(Info22).annotate({
143
143
  description: "Attachment processing configuration, including image size limits and resizing behavior"
144
144
  }),
145
145
  enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
@@ -191,4 +191,4 @@ var Info7 = Schema.Struct({
191
191
  }))
192
192
  }).annotate({ identifier: "Config" });
193
193
 
194
- export { WellKnown2, Info7, exports_config2 };
194
+ export { WellKnown2, Info16, exports_config2 };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service84
3
- } from "./vcs-91p43skh.js";
3
+ } from "./shell-rnw38jw6.js";
4
4
  import {
5
- Service62
6
- } from "./vcs-bw9zjykr.js";
5
+ Service38
6
+ } from "./shell-p7a39gy5.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./vcs-619r8v3y.js";
9
+ } from "./shell-4v7qdvcn.js";
10
10
  import {
11
11
  provenance2
12
- } from "./vcs-5c0f1prt.js";
12
+ } from "./shell-csf2jhsg.js";
13
13
  import {
14
14
  preview2
15
- } from "./vcs-ehyhzm66.js";
15
+ } from "./shell-zftvnttz.js";
16
16
  import {
17
17
  baseTranscript2
18
- } from "./vcs-5zr8nydg.js";
18
+ } from "./shell-s8nw8qqp.js";
19
19
  import {
20
- Service27
21
- } from "./vcs-wh2pd5f7.js";
20
+ Service24
21
+ } from "./shell-ckkgcvab.js";
22
22
  import {
23
23
  __export
24
- } from "./vcs-9rqn6x4v.js";
24
+ } from "./shell-9rqn6x4v.js";
25
25
 
26
26
  // src/session/generate.ts
27
27
  var exports_generate = {};
@@ -32,12 +32,12 @@ __export(exports_generate, {
32
32
  import { LLMClient, Message } from "@opencode/ai";
33
33
  import { Effect } from "effect";
34
34
  var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
35
- const instances = yield* Service62;
35
+ const instances = yield* Service38;
36
36
  const database = yield* Service84;
37
37
  const llm = yield* LLMClient.Service;
38
38
  return yield* Effect.gen(function* () {
39
39
  yield* awaitActivation2;
40
- const context = yield* Service27;
40
+ const context = yield* Service24;
41
41
  const selection = yield* context.select(input.session.id);
42
42
  const model = yield* context.resolveModel(selection.session);
43
43
  const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");