@opencode/core 0.0.0-dev-19291 → 0.0.0-dev-19292

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 (779) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{workspace-1dfhrqqs.js → filesystem-0hpxrkyb.js} +5 -5
  9. package/dist/chunks/{workspace-mpxhxrb2.js → filesystem-0ja9s148.js} +20 -20
  10. package/dist/chunks/{workspace-c0mtdgpv.js → filesystem-0my5tm07.js} +15 -15
  11. package/dist/chunks/{workspace-0paq2nw3.js → filesystem-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{workspace-0q0f95c6.js → filesystem-0q0f95c6.js} +1 -1
  13. package/dist/chunks/{workspace-7vbk9m4e.js → filesystem-182ekf6d.js} +18 -18
  14. package/dist/chunks/{workspace-fq1h1v14.js → filesystem-18cztcj7.js} +3 -3
  15. package/dist/chunks/{workspace-1acjjqhc.js → filesystem-1acjjqhc.js} +1 -1
  16. package/dist/chunks/{workspace-mrw4weg4.js → filesystem-1ah30sey.js} +5 -5
  17. package/dist/chunks/{workspace-cgnjyr8a.js → filesystem-1d6xgsn1.js} +47 -47
  18. package/dist/chunks/{workspace-1dazxqgg.js → filesystem-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{workspace-m95v7z6z.js → filesystem-1j4zjt90.js} +20 -20
  20. package/dist/chunks/{workspace-r7x04355.js → filesystem-1pmr1wh0.js} +24 -24
  21. package/dist/chunks/{workspace-bgqpk6ej.js → filesystem-1rrwdqhg.js} +5 -5
  22. package/dist/chunks/{workspace-dffz74yj.js → filesystem-1s6e1gpa.js} +26 -26
  23. package/dist/chunks/{workspace-t7b1xacm.js → filesystem-1ypbpeza.js} +10 -10
  24. package/dist/chunks/{workspace-21r38tys.js → filesystem-21r38tys.js} +1 -1
  25. package/dist/chunks/{workspace-6h73sxmp.js → filesystem-2402vzrj.js} +5 -5
  26. package/dist/chunks/{workspace-36jkazxa.js → filesystem-29bacfvv.js} +5 -5
  27. package/dist/chunks/{workspace-gf3khw20.js → filesystem-29k8s8e4.js} +17 -17
  28. package/dist/chunks/{workspace-z63w68vq.js → filesystem-29x78va6.js} +6 -6
  29. package/dist/chunks/{workspace-2a5m3afh.js → filesystem-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{workspace-mrk2ms14.js → filesystem-2chnyb6y.js} +33 -33
  31. package/dist/chunks/{workspace-84tssp1s.js → filesystem-2d6j2h4j.js} +6 -6
  32. package/dist/chunks/{workspace-ewztbjbx.js → filesystem-2fjmmd1n.js} +171 -171
  33. package/dist/chunks/{workspace-gk38wydt.js → filesystem-2g4a82s9.js} +11 -11
  34. package/dist/chunks/{workspace-hrhrxexm.js → filesystem-2hybh429.js} +4 -4
  35. package/dist/chunks/{workspace-0jwsre1p.js → filesystem-2k8khapm.js} +5 -5
  36. package/dist/chunks/{workspace-q265yh5d.js → filesystem-2mrtaxmf.js} +7 -7
  37. package/dist/chunks/{workspace-95x6xbkr.js → filesystem-2tfmgkzg.js} +4 -4
  38. package/dist/chunks/{workspace-1vtz46z8.js → filesystem-2vnwx32a.js} +8 -8
  39. package/dist/chunks/{workspace-baaqp4zd.js → filesystem-2vs2nh1n.js} +4 -4
  40. package/dist/chunks/{workspace-7k17nv4j.js → filesystem-306yx9xs.js} +21 -21
  41. package/dist/chunks/{workspace-esdnemd6.js → filesystem-31dz7cp4.js} +1 -1
  42. package/dist/chunks/{workspace-5kmnb5g6.js → filesystem-33yyfjes.js} +15 -15
  43. package/dist/chunks/{workspace-j69p6wmc.js → filesystem-36q2s365.js} +25 -25
  44. package/dist/chunks/{workspace-3fc6dm20.js → filesystem-3fc6dm20.js} +1 -1
  45. package/dist/chunks/{workspace-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{workspace-xmh8jj88.js → filesystem-3jp54z3r.js} +1 -1
  47. package/dist/chunks/{workspace-2yamwwtx.js → filesystem-3nbz8wd3.js} +10 -10
  48. package/dist/chunks/{workspace-1tbv6t5g.js → filesystem-3rz5xnhe.js} +41 -41
  49. package/dist/chunks/{workspace-3smtnn6g.js → filesystem-3smtnn6g.js} +1 -1
  50. package/dist/chunks/{workspace-3tvqynh2.js → filesystem-3tvqynh2.js} +1 -1
  51. package/dist/chunks/{workspace-wmqmw210.js → filesystem-45pqravd.js} +8 -8
  52. package/dist/chunks/{workspace-dgmwn8ez.js → filesystem-4nvekdmf.js} +8 -8
  53. package/dist/chunks/{workspace-k1hbjbhr.js → filesystem-4r3mqmdm.js} +41 -41
  54. package/dist/chunks/{workspace-eh4km76q.js → filesystem-4zskx0sx.js} +30 -30
  55. package/dist/chunks/{workspace-4d61g8er.js → filesystem-52j78j64.js} +41 -41
  56. package/dist/chunks/{workspace-kma43rbx.js → filesystem-55azg7hm.js} +35 -35
  57. package/dist/chunks/{workspace-ej8xv5ds.js → filesystem-560shqbd.js} +3 -3
  58. package/dist/chunks/{workspace-33w4ejhs.js → filesystem-56gdpj1q.js} +6 -6
  59. package/dist/chunks/{workspace-a1bz86dw.js → filesystem-5c4hm403.js} +3 -3
  60. package/dist/chunks/{workspace-5daktx2q.js → filesystem-5daktx2q.js} +1 -1
  61. package/dist/chunks/{workspace-vabb23s0.js → filesystem-5jtdmvnp.js} +1 -1
  62. package/dist/chunks/{workspace-yagmabmz.js → filesystem-5nzkepsx.js} +4 -4
  63. package/dist/chunks/{workspace-t6qa8pj9.js → filesystem-5qsm3jka.js} +15 -15
  64. package/dist/chunks/{workspace-5t3nmthw.js → filesystem-5t3nmthw.js} +2 -2
  65. package/dist/chunks/{workspace-5aktmhjp.js → filesystem-610n7dfb.js} +17 -17
  66. package/dist/chunks/{workspace-xkzbfh0m.js → filesystem-6175y1py.js} +13 -13
  67. package/dist/chunks/{workspace-v1cqtm69.js → filesystem-61938heb.js} +17 -17
  68. package/dist/chunks/{workspace-669tq793.js → filesystem-669tq793.js} +1 -1
  69. package/dist/chunks/{workspace-7gvp9cq5.js → filesystem-68rttjrp.js} +25 -25
  70. package/dist/chunks/{workspace-h7ygw6q4.js → filesystem-6jnybvqn.js} +9 -9
  71. package/dist/chunks/{workspace-6msgmcgs.js → filesystem-6msgmcgs.js} +1 -1
  72. package/dist/chunks/{workspace-zke2pdp6.js → filesystem-6nvdcf2p.js} +11 -11
  73. package/dist/chunks/{workspace-jxn2j4b1.js → filesystem-6v7xqtha.js} +6 -6
  74. package/dist/chunks/{workspace-4zbs3q2b.js → filesystem-6wfg927e.js} +25 -25
  75. package/dist/chunks/{workspace-97s80yy3.js → filesystem-70h0dqcv.js} +12 -12
  76. package/dist/chunks/{workspace-71q4at8m.js → filesystem-71q4at8m.js} +1 -1
  77. package/dist/chunks/{workspace-93hpb89x.js → filesystem-721tb84k.js} +3 -3
  78. package/dist/chunks/{workspace-1s5kemrg.js → filesystem-73df9qch.js} +25 -25
  79. package/dist/chunks/{workspace-61tdtcny.js → filesystem-77934d6b.js} +10 -10
  80. package/dist/chunks/{workspace-7mz653pd.js → filesystem-77kqwf55.js} +15 -15
  81. package/dist/chunks/{workspace-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{workspace-mtd5x7py.js → filesystem-7d9rgk6v.js} +16 -16
  83. package/dist/chunks/{workspace-qqbqqn54.js → filesystem-7g04y0rf.js} +36 -36
  84. package/dist/chunks/{workspace-fvr7jna4.js → filesystem-7stty0k9.js} +13 -13
  85. package/dist/chunks/{workspace-s7731dqm.js → filesystem-7wc683m2.js} +2 -2
  86. package/dist/chunks/{workspace-v9ct93z2.js → filesystem-7xcv53jd.js} +8 -8
  87. package/dist/chunks/{workspace-dvzjgrza.js → filesystem-7yjg4qch.js} +39 -39
  88. package/dist/chunks/{workspace-awaee7qt.js → filesystem-7yqnf43w.js} +6 -6
  89. package/dist/chunks/{workspace-g5twr0sp.js → filesystem-80e0yyk8.js} +14 -14
  90. package/dist/chunks/{workspace-xp88wr07.js → filesystem-81swgkk7.js} +9 -9
  91. package/dist/chunks/{workspace-asmz7wyz.js → filesystem-844ef7ks.js} +8 -8
  92. package/dist/chunks/{workspace-v84z85pp.js → filesystem-851r6173.js} +13 -13
  93. package/dist/chunks/{workspace-pkjnw8xf.js → filesystem-85g0gjbv.js} +27 -27
  94. package/dist/chunks/{workspace-rtv6ahp9.js → filesystem-87deq66t.js} +4 -4
  95. package/dist/chunks/{workspace-8d7r5vzw.js → filesystem-8d7r5vzw.js} +1 -1
  96. package/dist/chunks/{workspace-jh06ctgk.js → filesystem-8eyjkgz3.js} +34 -34
  97. package/dist/chunks/{workspace-ve0zfa78.js → filesystem-8fjdeang.js} +14 -14
  98. package/dist/chunks/{workspace-8p83gb6h.js → filesystem-8z6evsjd.js} +6 -6
  99. package/dist/chunks/{workspace-51e3a5p7.js → filesystem-9afe43sd.js} +6 -6
  100. package/dist/chunks/{workspace-cwtysmh4.js → filesystem-9bey2zpa.js} +12 -12
  101. package/dist/chunks/{workspace-6gfd5xf8.js → filesystem-9d8ap61w.js} +32 -32
  102. package/dist/chunks/{workspace-48hw3qw3.js → filesystem-9g4h0krc.js} +20 -20
  103. package/dist/chunks/{workspace-5jfbnsm9.js → filesystem-9m17q65d.js} +47 -47
  104. package/dist/chunks/{workspace-2fsj26k1.js → filesystem-9pdjfdc0.js} +15 -15
  105. package/dist/chunks/{workspace-9a52esse.js → filesystem-9vf0b0kg.js} +28 -28
  106. package/dist/chunks/{workspace-7gb606e6.js → filesystem-9yx1vv9a.js} +14 -14
  107. package/dist/chunks/{workspace-kxpygcw9.js → filesystem-9z2n9fsv.js} +6 -6
  108. package/dist/chunks/{workspace-9zswys26.js → filesystem-9zswys26.js} +2 -2
  109. package/dist/chunks/{workspace-rztdx977.js → filesystem-a2rp47zj.js} +9 -9
  110. package/dist/chunks/{workspace-g8d3gcyj.js → filesystem-a46v4e4v.js} +7 -7
  111. package/dist/chunks/{workspace-awz7xhfp.js → filesystem-a4exdnt3.js} +4 -4
  112. package/dist/chunks/{workspace-540a1fgr.js → filesystem-a79c2avy.js} +33 -33
  113. package/dist/chunks/{workspace-pn6nrrpr.js → filesystem-aabx2j0n.js} +18 -18
  114. package/dist/chunks/{workspace-aaet6srn.js → filesystem-aaet6srn.js} +2 -2
  115. package/dist/chunks/{workspace-0yq4eb34.js → filesystem-abzdtrwv.js} +24 -24
  116. package/dist/chunks/{workspace-43bvnm0c.js → filesystem-ac9yf703.js} +32 -32
  117. package/dist/chunks/{workspace-c4t116nm.js → filesystem-afc89ev1.js} +7 -7
  118. package/dist/chunks/{workspace-eds7zwp6.js → filesystem-am15qhr4.js} +24 -24
  119. package/dist/chunks/{workspace-awhdw3pf.js → filesystem-apbzxcta.js} +83 -83
  120. package/dist/chunks/{workspace-bt8hdx22.js → filesystem-at1f71x6.js} +18 -18
  121. package/dist/chunks/{workspace-b6gygkdw.js → filesystem-b6gygkdw.js} +2 -2
  122. package/dist/chunks/{workspace-15pjexzy.js → filesystem-b6vhrqz2.js} +13 -13
  123. package/dist/chunks/{workspace-50p99xk2.js → filesystem-bpzgnhx9.js} +51 -51
  124. package/dist/chunks/{workspace-5yrg3hxm.js → filesystem-bq07s7py.js} +5 -5
  125. package/dist/chunks/{workspace-rrjgssxh.js → filesystem-bsfhgqyd.js} +46 -46
  126. package/dist/chunks/{workspace-s2bazk07.js → filesystem-c3h4b1pf.js} +24 -24
  127. package/dist/chunks/{workspace-gwwc15b8.js → filesystem-ca4qmn19.js} +16 -16
  128. package/dist/chunks/{workspace-n51qh0r9.js → filesystem-cc3f4dqb.js} +6 -6
  129. package/dist/chunks/{workspace-sp5zyyma.js → filesystem-cny5rd43.js} +8 -8
  130. package/dist/chunks/{workspace-qzyph8ek.js → filesystem-crzr9tv5.js} +11 -11
  131. package/dist/chunks/{workspace-zyzp2298.js → filesystem-csa1wr7g.js} +10 -10
  132. package/dist/chunks/{workspace-81czwxpn.js → filesystem-csf2jhsg.js} +4 -4
  133. package/dist/chunks/{workspace-9n5bgjha.js → filesystem-cv4ngb9q.js} +3 -3
  134. package/dist/chunks/{workspace-40ztfmwz.js → filesystem-cvx3h1xc.js} +17 -17
  135. package/dist/chunks/{workspace-q3jq24j1.js → filesystem-d6jf792w.js} +18 -18
  136. package/dist/chunks/{workspace-0s5v0p6k.js → filesystem-dbftckt4.js} +53 -53
  137. package/dist/chunks/{workspace-j6rj9xt6.js → filesystem-ddztgakg.js} +43 -43
  138. package/dist/chunks/filesystem-de4mmwy9.js +247 -0
  139. package/dist/chunks/{workspace-4dg124c5.js → filesystem-dfzjqex4.js} +5 -5
  140. package/dist/chunks/{workspace-8p4f9s12.js → filesystem-dj2t23y0.js} +2 -2
  141. package/dist/chunks/{workspace-5nzafj0m.js → filesystem-dm4dnfc4.js} +11 -11
  142. package/dist/chunks/{workspace-pq4st5kv.js → filesystem-e0prvjnp.js} +2 -2
  143. package/dist/chunks/{workspace-0gdmqesm.js → filesystem-eaj1djv9.js} +8 -8
  144. package/dist/chunks/{workspace-w23a9fg2.js → filesystem-eeavwd92.js} +3 -3
  145. package/dist/chunks/{workspace-etq0c3wd.js → filesystem-etq0c3wd.js} +1 -1
  146. package/dist/chunks/{workspace-t6msp11s.js → filesystem-f2gse5fy.js} +6 -6
  147. package/dist/chunks/{workspace-h2gyv3sg.js → filesystem-f9bavhm2.js} +1 -1
  148. package/dist/chunks/{workspace-9m6qag95.js → filesystem-f9jz9apw.js} +26 -26
  149. package/dist/chunks/{workspace-f4x3f9y9.js → filesystem-ff6crjyd.js} +32 -32
  150. package/dist/chunks/{workspace-wgq3akg3.js → filesystem-fffs15cf.js} +24 -24
  151. package/dist/chunks/{workspace-d5a42mez.js → filesystem-fkf7rt1g.js} +22 -22
  152. package/dist/chunks/{workspace-dj9sq318.js → filesystem-fpmq6gma.js} +5 -5
  153. package/dist/chunks/{workspace-fxbjtjnd.js → filesystem-fxbjtjnd.js} +1 -1
  154. package/dist/chunks/{workspace-qkek724z.js → filesystem-fyjrpq2n.js} +8 -8
  155. package/dist/chunks/{workspace-rdz2tx67.js → filesystem-g5g6qkd8.js} +3 -3
  156. package/dist/chunks/filesystem-gbeg4n2a.js +22 -0
  157. package/dist/chunks/{workspace-gd4qta3r.js → filesystem-gd4qta3r.js} +1 -1
  158. package/dist/chunks/{workspace-3q6hd4jt.js → filesystem-gepszj42.js} +16 -16
  159. package/dist/chunks/{workspace-gv6a8nnw.js → filesystem-gv6a8nnw.js} +2 -2
  160. package/dist/chunks/{workspace-h03wrkyp.js → filesystem-h03wrkyp.js} +2 -2
  161. package/dist/chunks/{workspace-h6vf3j39.js → filesystem-h6vf3j39.js} +1 -1
  162. package/dist/chunks/{workspace-f828m53h.js → filesystem-hdnk95c8.js} +2 -2
  163. package/dist/chunks/{workspace-srvat6zp.js → filesystem-hdxhjexh.js} +6 -6
  164. package/dist/chunks/{workspace-nhy5jxhy.js → filesystem-hjt4xg1x.js} +4 -4
  165. package/dist/chunks/{workspace-vze96k0n.js → filesystem-hv2e1k7y.js} +4 -4
  166. package/dist/chunks/{workspace-19g3xj2s.js → filesystem-hwdsezy6.js} +27 -27
  167. package/dist/chunks/{workspace-0em1p5dp.js → filesystem-j2d2x7tv.js} +84 -84
  168. package/dist/chunks/{workspace-j56e64zr.js → filesystem-j56e64zr.js} +1 -1
  169. package/dist/chunks/{workspace-cjsvwj1q.js → filesystem-j86xyryf.js} +17 -17
  170. package/dist/chunks/{workspace-4tq5d7x2.js → filesystem-j8xrsd60.js} +20 -20
  171. package/dist/chunks/{workspace-paphc93g.js → filesystem-j935v87r.js} +2 -2
  172. package/dist/chunks/{workspace-4t57t1en.js → filesystem-jbd8s1pr.js} +11 -11
  173. package/dist/chunks/{workspace-rme5v0wm.js → filesystem-jefma2gq.js} +10 -10
  174. package/dist/chunks/{workspace-a1963bm0.js → filesystem-jgeey3vd.js} +35 -35
  175. package/dist/chunks/{workspace-mw6ans9c.js → filesystem-jmgfrcfm.js} +5 -5
  176. package/dist/chunks/{workspace-4rd6evxz.js → filesystem-jrjrrhp8.js} +20 -20
  177. package/dist/chunks/{workspace-60stz191.js → filesystem-jtc6bzgn.js} +31 -31
  178. package/dist/chunks/{workspace-317x7tvz.js → filesystem-jw6vwvft.js} +16 -16
  179. package/dist/chunks/{workspace-vypqtakx.js → filesystem-jy16bfac.js} +1 -1
  180. package/dist/chunks/{workspace-kenqsagb.js → filesystem-jzdnffp3.js} +9 -9
  181. package/dist/chunks/{workspace-9phvn7ns.js → filesystem-k0k8y9a7.js} +3 -3
  182. package/dist/chunks/{workspace-bskx12th.js → filesystem-k8zgzs4j.js} +7 -7
  183. package/dist/chunks/{workspace-91xp5nbf.js → filesystem-kam6mwnv.js} +7 -7
  184. package/dist/chunks/{workspace-kg06axw8.js → filesystem-kg06axw8.js} +1 -1
  185. package/dist/chunks/{workspace-s6jr34qb.js → filesystem-knac7z16.js} +28 -28
  186. package/dist/chunks/{workspace-1s80jvpe.js → filesystem-kxf93db8.js} +30 -30
  187. package/dist/chunks/{workspace-cfpkc3c9.js → filesystem-m0jqrx5p.js} +2 -2
  188. package/dist/chunks/{workspace-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
  189. package/dist/chunks/{workspace-p129658b.js → filesystem-md8xapqn.js} +15 -15
  190. package/dist/chunks/{workspace-mkcjrzeh.js → filesystem-mkcjrzeh.js} +1 -1
  191. package/dist/chunks/{workspace-3v77a270.js → filesystem-mmqk02zq.js} +24 -24
  192. package/dist/chunks/{workspace-5pq3v0sk.js → filesystem-mn7mvsf2.js} +17 -17
  193. package/dist/chunks/{workspace-wv6yb1rv.js → filesystem-mqafpt2f.js} +1 -1
  194. package/dist/chunks/{workspace-af04s6ss.js → filesystem-mtft99cd.js} +5 -5
  195. package/dist/chunks/{workspace-39mbwg99.js → filesystem-n819r5x6.js} +18 -18
  196. package/dist/chunks/{workspace-jab8rdhp.js → filesystem-nb12cs01.js} +9 -9
  197. package/dist/chunks/{workspace-cdm0865e.js → filesystem-nb2mwgfq.js} +297 -297
  198. package/dist/chunks/{workspace-q2b1ymqp.js → filesystem-nfkr9082.js} +4 -4
  199. package/dist/chunks/{workspace-e3b0d0gy.js → filesystem-nv8hv94m.js} +9 -9
  200. package/dist/chunks/{workspace-bh0wyjv7.js → filesystem-ny7m7jyt.js} +6 -6
  201. package/dist/chunks/{workspace-90qgvd9n.js → filesystem-p5eadnhw.js} +23 -23
  202. package/dist/chunks/{workspace-bsxfqzhc.js → filesystem-pahszt5y.js} +8 -8
  203. package/dist/chunks/{workspace-9cex7hp6.js → filesystem-phnksyfb.js} +57 -57
  204. package/dist/chunks/{workspace-pjvnvgmy.js → filesystem-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{workspace-pknna89w.js → filesystem-pknna89w.js} +1 -1
  206. package/dist/chunks/{workspace-42h2bxtq.js → filesystem-pzh96g4g.js} +10 -10
  207. package/dist/chunks/{workspace-mxj2eewr.js → filesystem-q13v07rn.js} +20 -20
  208. package/dist/chunks/{workspace-w2ztz3kz.js → filesystem-q3n43qhw.js} +10 -10
  209. package/dist/chunks/{workspace-3trbxeqx.js → filesystem-qmr73083.js} +1 -1
  210. package/dist/chunks/{workspace-rjqwr5dw.js → filesystem-qpcd101b.js} +25 -25
  211. package/dist/chunks/{workspace-wkwfxgj3.js → filesystem-qr27hz8v.js} +4 -4
  212. package/dist/chunks/{workspace-qsdy395h.js → filesystem-qsdy395h.js} +1 -1
  213. package/dist/chunks/{workspace-qn4ba14w.js → filesystem-qte5z7bc.js} +5 -5
  214. package/dist/chunks/{workspace-4jmdj23e.js → filesystem-qynpn6w3.js} +9 -9
  215. package/dist/chunks/{workspace-xwwm14an.js → filesystem-qyp1btz3.js} +9 -9
  216. package/dist/chunks/{workspace-8hpffc5d.js → filesystem-qywpveqw.js} +15 -15
  217. package/dist/chunks/{workspace-r0nnab1q.js → filesystem-qzkfvpqa.js} +24 -24
  218. package/dist/chunks/{workspace-323qkwbp.js → filesystem-r1p902q3.js} +10 -10
  219. package/dist/chunks/{workspace-93dyhyad.js → filesystem-r3x1gk33.js} +19 -19
  220. package/dist/chunks/{workspace-d53dp3ny.js → filesystem-r59yas2b.js} +11 -11
  221. package/dist/chunks/{workspace-eq1pz5kg.js → filesystem-r5x6zcsm.js} +3 -3
  222. package/dist/chunks/{workspace-k19spz14.js → filesystem-ra6n8sk1.js} +4 -4
  223. package/dist/chunks/filesystem-rap9a73h.js +18 -0
  224. package/dist/chunks/{workspace-wynthrjp.js → filesystem-rhm006ed.js} +6 -6
  225. package/dist/chunks/{workspace-jwqth68t.js → filesystem-rt3ch154.js} +19 -19
  226. package/dist/chunks/{workspace-bkqaqtv1.js → filesystem-s3ef3sn4.js} +27 -27
  227. package/dist/chunks/{workspace-yrznvahk.js → filesystem-s4enseaf.js} +2 -2
  228. package/dist/chunks/{workspace-z9xz7t7m.js → filesystem-sc1v85yd.js} +22 -22
  229. package/dist/chunks/{workspace-a68v6zx7.js → filesystem-sea28k5q.js} +11 -11
  230. package/dist/chunks/{workspace-beamd2gc.js → filesystem-snfe3xn9.js} +7 -7
  231. package/dist/chunks/{workspace-c82pnra3.js → filesystem-st1tj7wz.js} +29 -29
  232. package/dist/chunks/{workspace-rs226bz6.js → filesystem-sv9bpgvh.js} +5 -5
  233. package/dist/chunks/{workspace-5kptn8c0.js → filesystem-t0x5rdq8.js} +9 -9
  234. package/dist/chunks/{workspace-wwhdthxc.js → filesystem-t4e6bmk3.js} +22 -22
  235. package/dist/chunks/{workspace-wzkwse1s.js → filesystem-t4z0wkpb.js} +11 -11
  236. package/dist/chunks/{workspace-nrdmrqsx.js → filesystem-t51qk8jz.js} +21 -21
  237. package/dist/chunks/{workspace-86jav2f7.js → filesystem-t54fdmqn.js} +21 -21
  238. package/dist/chunks/{workspace-tazgh4e4.js → filesystem-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{workspace-tcezcvh9.js → filesystem-tcezcvh9.js} +1 -1
  240. package/dist/chunks/{workspace-tdstcens.js → filesystem-tdstcens.js} +1 -1
  241. package/dist/chunks/{workspace-8761qpcg.js → filesystem-tdwyp4wd.js} +41 -41
  242. package/dist/chunks/{workspace-mqy0jkn2.js → filesystem-tm7zr4pr.js} +4 -4
  243. package/dist/chunks/{workspace-2vg72gbq.js → filesystem-tn4g20bc.js} +9 -9
  244. package/dist/chunks/{workspace-fmah640z.js → filesystem-tpxc5hbb.js} +10 -10
  245. package/dist/chunks/{workspace-b8gwhbay.js → filesystem-tqjtzs87.js} +24 -24
  246. package/dist/chunks/{workspace-tvtrv512.js → filesystem-tvtrv512.js} +1 -1
  247. package/dist/chunks/{workspace-9k2v62xn.js → filesystem-v8ch97zc.js} +1 -1
  248. package/dist/chunks/{workspace-ntgxvp5h.js → filesystem-v8wb3v9z.js} +11 -11
  249. package/dist/chunks/{workspace-1yafz2c2.js → filesystem-va2cr1hn.js} +24 -24
  250. package/dist/chunks/{workspace-f5agypy8.js → filesystem-vbfce96g.js} +18 -18
  251. package/dist/chunks/{workspace-0hf9g8pg.js → filesystem-ve6nm2s5.js} +6 -6
  252. package/dist/chunks/{workspace-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
  253. package/dist/chunks/{workspace-e4k3fffr.js → filesystem-vfkzc9c7.js} +23 -23
  254. package/dist/chunks/{workspace-vzcthcp8.js → filesystem-vzcthcp8.js} +1 -1
  255. package/dist/chunks/{workspace-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{workspace-ak2adswv.js → filesystem-w6jjpet8.js} +12 -12
  257. package/dist/chunks/{workspace-83q95eg7.js → filesystem-wbs9x86t.js} +9 -9
  258. package/dist/chunks/{workspace-ed1arge1.js → filesystem-wd3khw6k.js} +18 -18
  259. package/dist/chunks/{workspace-wd87259q.js → filesystem-wd87259q.js} +1 -1
  260. package/dist/chunks/{workspace-4zb7zm34.js → filesystem-wgfj0ahh.js} +11 -11
  261. package/dist/chunks/{workspace-kfdzm4dd.js → filesystem-wgnc4fqp.js} +22 -22
  262. package/dist/chunks/{workspace-yyhgy33t.js → filesystem-wwrcmqtb.js} +13 -13
  263. package/dist/chunks/{workspace-0cmfkvjr.js → filesystem-wzchp92g.js} +22 -22
  264. package/dist/chunks/{workspace-x1ezjp6w.js → filesystem-x1ezjp6w.js} +1 -1
  265. package/dist/chunks/{workspace-x43y2vfs.js → filesystem-x43y2vfs.js} +2 -2
  266. package/dist/chunks/{workspace-f10twq9w.js → filesystem-x553xac2.js} +11 -11
  267. package/dist/chunks/{workspace-2nyvck04.js → filesystem-xhv33s0s.js} +9 -9
  268. package/dist/chunks/{workspace-6st33d4x.js → filesystem-xmxn88x7.js} +25 -25
  269. package/dist/chunks/{workspace-zka56nxw.js → filesystem-xtskrd06.js} +33 -33
  270. package/dist/chunks/{workspace-y1fvbwt7.js → filesystem-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{workspace-66j98p5d.js → filesystem-y4f4eb8e.js} +25 -25
  272. package/dist/chunks/{workspace-y71avatq.js → filesystem-y71avatq.js} +1 -1
  273. package/dist/chunks/{workspace-s5g9mpsf.js → filesystem-y81batpe.js} +4 -4
  274. package/dist/chunks/{workspace-12jdhdht.js → filesystem-y9aqre06.js} +11 -11
  275. package/dist/chunks/{workspace-a2vj9kk6.js → filesystem-ydvj4nw2.js} +17 -17
  276. package/dist/chunks/{workspace-yrhqyw5v.js → filesystem-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{workspace-ayjzdqkx.js → filesystem-yt0bjwgq.js} +4 -4
  278. package/dist/chunks/{workspace-5cwvq4ff.js → filesystem-ytws7ykb.js} +2 -2
  279. package/dist/chunks/{workspace-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{workspace-wn4kdw9q.js → filesystem-z412kppw.js} +4 -4
  281. package/dist/chunks/{workspace-1jyjw0dy.js → filesystem-zbmxxgxf.js} +11 -11
  282. package/dist/chunks/{workspace-10dffqyq.js → filesystem-zdejx0ks.js} +24 -24
  283. package/dist/chunks/{workspace-ya5s98jd.js → filesystem-ze5td8vt.js} +11 -11
  284. package/dist/chunks/{workspace-zeh9ct20.js → filesystem-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{workspace-zr2ceqn5.js → filesystem-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{workspace-1ev0k7s6.js → filesystem-zsdmrg6x.js} +11 -11
  287. package/dist/chunks/{workspace-zxq2ej10.js → filesystem-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +83 -83
  292. package/dist/config/discovery.js +77 -77
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +115 -115
  296. package/dist/config/plugin/command.js +209 -209
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +117 -117
  300. package/dist/config/plugin/image.js +115 -115
  301. package/dist/config/plugin/instruction.js +85 -85
  302. package/dist/config/plugin/location-watcher.js +117 -117
  303. package/dist/config/plugin/mcp.js +126 -126
  304. package/dist/config/plugin/policy.js +114 -114
  305. package/dist/config/plugin/provider.js +113 -113
  306. package/dist/config/plugin/reference.js +117 -117
  307. package/dist/config/plugin/shell.js +116 -116
  308. package/dist/config/plugin/skill-file.js +97 -97
  309. package/dist/config/plugin/skill.js +136 -136
  310. package/dist/config/plugin/snapshot.js +115 -115
  311. package/dist/config/plugin/source.js +117 -117
  312. package/dist/config/plugin/tool-output.js +117 -117
  313. package/dist/config/plugin/websearch.js +113 -113
  314. package/dist/config/plugin/worktree.js +118 -118
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +119 -119
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +81 -81
  320. package/dist/database/database.js +64 -64
  321. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +13 -13
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +14 -14
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration.gen.js +47 -47
  384. package/dist/database/migration.js +49 -49
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +74 -74
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +361 -361
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +1 -1
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +88 -88
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +90 -90
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +68 -68
  408. package/dist/file-access.js +99 -99
  409. package/dist/file-mutation.js +89 -89
  410. package/dist/file-retention.js +1 -1
  411. package/dist/file.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/ignore.js +1 -1
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +222 -222
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +99 -99
  421. package/dist/filesystem/watcher-binding.js +3 -3
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +100 -100
  424. package/dist/form.js +82 -82
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +82 -82
  427. package/dist/generate.js +91 -91
  428. package/dist/git.js +7 -7
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +3 -3
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/id/id.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +352 -352
  453. package/dist/instruction-discovery.js +83 -83
  454. package/dist/instructions/builtins.js +80 -80
  455. package/dist/instructions/index.js +5 -5
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +86 -86
  458. package/dist/job.js +75 -75
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +71 -71
  461. package/dist/location-activity.js +128 -128
  462. package/dist/location-mutation.js +99 -99
  463. package/dist/location-service-map.js +81 -81
  464. package/dist/location-services.js +349 -349
  465. package/dist/location.js +84 -84
  466. package/dist/mcp/client.js +86 -86
  467. package/dist/mcp/index.js +103 -103
  468. package/dist/mcp/instructions.js +122 -122
  469. package/dist/mcp/oauth.js +3 -3
  470. package/dist/mcp/stdio.js +85 -85
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +3 -3
  473. package/dist/model-resolver.js +84 -84
  474. package/dist/model.js +10 -10
  475. package/dist/models-dev.js +86 -86
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +80 -80
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +108 -108
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +84 -84
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +73 -73
  485. package/dist/plugin/agent.js +99 -99
  486. package/dist/plugin/command.js +96 -96
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +213 -213
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +323 -323
  491. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  492. package/dist/plugin/models-dev.js +75 -75
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +97 -97
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/alibaba.js +2 -2
  498. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  499. package/dist/plugin/provider/anthropic.js +2 -2
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +2 -2
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +114 -114
  506. package/dist/plugin/provider/digitalocean.js +79 -79
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +80 -80
  511. package/dist/plugin/provider/gitlab.js +3 -3
  512. package/dist/plugin/provider/google-vertex.js +2 -2
  513. package/dist/plugin/provider/kilo.js +2 -2
  514. package/dist/plugin/provider/llmgateway.js +76 -76
  515. package/dist/plugin/provider/lmstudio.js +117 -117
  516. package/dist/plugin/provider/mistral.js +2 -2
  517. package/dist/plugin/provider/modal.js +79 -79
  518. package/dist/plugin/provider/nvidia.js +2 -2
  519. package/dist/plugin/provider/ollama.js +117 -117
  520. package/dist/plugin/provider/openai-compatible.js +1 -1
  521. package/dist/plugin/provider/openai.js +80 -80
  522. package/dist/plugin/provider/opencode.js +76 -76
  523. package/dist/plugin/provider/openrouter.js +3 -3
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/sap-ai-core.js +3 -3
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  528. package/dist/plugin/provider/venice.js +2 -2
  529. package/dist/plugin/provider/vercel.js +2 -2
  530. package/dist/plugin/provider/vllm.js +117 -117
  531. package/dist/plugin/provider/xai.js +77 -77
  532. package/dist/plugin/provider/zenmux.js +2 -2
  533. package/dist/plugin/provider.js +156 -156
  534. package/dist/plugin/sdk.js +74 -74
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +133 -133
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +340 -340
  539. package/dist/plugin/update.js +2 -2
  540. package/dist/plugin/variant.js +4 -4
  541. package/dist/plugin/vcs/git.js +82 -82
  542. package/dist/plugin/vcs/hg.js +82 -82
  543. package/dist/plugin/warming.js +112 -112
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +8 -8
  546. package/dist/plugin/websearch/index.js +8 -8
  547. package/dist/plugin/websearch/mcp.js +4 -4
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +4 -4
  550. package/dist/plugin.js +218 -218
  551. package/dist/project/schema.js +8 -8
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +85 -85
  554. package/dist/provider.js +5 -5
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/schema.js +1 -1
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +86 -86
  559. package/dist/reference/instructions.js +82 -82
  560. package/dist/reference.js +86 -86
  561. package/dist/repository-cache.js +76 -76
  562. package/dist/repository.js +3 -3
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +93 -93
  565. package/dist/rpc.js +81 -81
  566. package/dist/schema.js +1 -1
  567. package/dist/session/command.js +72 -72
  568. package/dist/session/compaction.js +127 -127
  569. package/dist/session/context.js +147 -147
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +5 -5
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +216 -216
  574. package/dist/session/execution.js +124 -124
  575. package/dist/session/generate.js +148 -148
  576. package/dist/session/history.js +15 -15
  577. package/dist/session/inbox.js +86 -86
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +77 -77
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +92 -92
  582. package/dist/session/message-updater.js +4 -4
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +113 -113
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +126 -126
  587. package/dist/session/projector.js +84 -84
  588. package/dist/session/prompt.js +100 -100
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +85 -85
  591. package/dist/session/run-coordinator.js +1 -1
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +223 -223
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +86 -86
  596. package/dist/session/runner/publish-llm-event.js +3 -3
  597. package/dist/session/runner/retry.js +110 -110
  598. package/dist/session/runner/step.js +119 -119
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +169 -169
  602. package/dist/session/shell.js +131 -131
  603. package/dist/session/skill.js +98 -98
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +71 -71
  606. package/dist/session/store.js +85 -85
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +205 -205
  609. package/dist/session/system-prompt.js +3 -3
  610. package/dist/session/title.js +147 -147
  611. package/dist/session/to-session-error.js +107 -107
  612. package/dist/session/transfer.js +212 -212
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +211 -211
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +13 -13
  619. package/dist/shell.js +133 -133
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +102 -102
  622. package/dist/skill.js +107 -107
  623. package/dist/snapshot.js +86 -86
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +119 -119
  628. package/dist/tool/plugin/edit.js +115 -115
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +120 -120
  631. package/dist/tool/plugin/grep.js +116 -116
  632. package/dist/tool/plugin/opencode.js +3 -3
  633. package/dist/tool/plugin/patch.js +109 -109
  634. package/dist/tool/plugin/question.js +98 -98
  635. package/dist/tool/plugin/read.js +115 -115
  636. package/dist/tool/plugin/shell.js +208 -208
  637. package/dist/tool/plugin/skill.js +106 -106
  638. package/dist/tool/plugin/subagent.js +214 -214
  639. package/dist/tool/plugin/webfetch.js +101 -101
  640. package/dist/tool/plugin/websearch.js +105 -105
  641. package/dist/tool/plugin/write.js +117 -117
  642. package/dist/tool/read-filesystem.js +96 -96
  643. package/dist/tool/runtime.js +1 -1
  644. package/dist/tool-output.js +8 -8
  645. package/dist/tool.js +15 -15
  646. package/dist/util/error-summary.js +1 -1
  647. package/dist/util/error.js +1 -1
  648. package/dist/util/iife.js +1 -1
  649. package/dist/util/lazy.js +1 -1
  650. package/dist/util/slug.js +1 -1
  651. package/dist/util/token.js +1 -1
  652. package/dist/util/which.js +1 -1
  653. package/dist/util/wildcard.js +1 -1
  654. package/dist/v1/config/agent.js +7 -7
  655. package/dist/v1/config/attachment.js +4 -4
  656. package/dist/v1/config/command.js +5 -5
  657. package/dist/v1/config/config.js +16 -16
  658. package/dist/v1/config/error.js +4 -4
  659. package/dist/v1/config/formatter.js +5 -5
  660. package/dist/v1/config/layout.js +1 -1
  661. package/dist/v1/config/lsp.js +5 -5
  662. package/dist/v1/config/mcp.js +4 -4
  663. package/dist/v1/config/migrate.js +4 -4
  664. package/dist/v1/config/permission.js +7 -7
  665. package/dist/v1/config/plugin.js +3 -3
  666. package/dist/v1/config/provider-options.js +1 -1
  667. package/dist/v1/config/provider.js +4 -4
  668. package/dist/v1/config/server.js +2 -2
  669. package/dist/v1/config/skills.js +3 -3
  670. package/dist/v1/permission.js +1 -1
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +85 -85
  673. package/dist/websearch.js +82 -82
  674. package/dist/wellknown/plugin.js +72 -72
  675. package/dist/wellknown.js +79 -79
  676. package/dist/workspace/driver.js +3 -3
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +78 -78
  679. package/dist/worktree/directory.js +2 -2
  680. package/dist/worktree/git.js +7 -7
  681. package/dist/worktree/refresh.js +341 -341
  682. package/dist/worktree/sql.js +5 -5
  683. package/dist/worktree.js +87 -87
  684. package/package.json +8 -8
  685. package/dist/chunks/workspace-q509s3k3.js +0 -18
  686. package/dist/chunks/workspace-x1a21s98.js +0 -247
  687. package/dist/chunks/workspace-y31r8zkp.js +0 -22
  688. /package/dist/chunks/{workspace-0mesazry.js → filesystem-0mesazry.js} +0 -0
  689. /package/dist/chunks/{workspace-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{workspace-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{workspace-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{workspace-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{workspace-1kg9ymc8.js → filesystem-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{workspace-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{workspace-2axfhc9x.js → filesystem-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{workspace-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{workspace-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{workspace-3asan66x.js → filesystem-3asan66x.js} +0 -0
  699. /package/dist/chunks/{workspace-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{workspace-3w5fmr99.js → filesystem-3w5fmr99.js} +0 -0
  701. /package/dist/chunks/{workspace-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{workspace-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{workspace-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{workspace-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{workspace-53557ph1.js → filesystem-53557ph1.js} +0 -0
  706. /package/dist/chunks/{workspace-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{workspace-6prwharc.js → filesystem-6prwharc.js} +0 -0
  708. /package/dist/chunks/{workspace-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{workspace-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{workspace-822emrt2.js → filesystem-822emrt2.js} +0 -0
  711. /package/dist/chunks/{workspace-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
  712. /package/dist/chunks/{workspace-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
  713. /package/dist/chunks/{workspace-922hggd3.js → filesystem-922hggd3.js} +0 -0
  714. /package/dist/chunks/{workspace-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
  715. /package/dist/chunks/{workspace-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
  716. /package/dist/chunks/{workspace-a1tpkmh4.js → filesystem-a1tpkmh4.js} +0 -0
  717. /package/dist/chunks/{workspace-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{workspace-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{workspace-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{workspace-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{workspace-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{workspace-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{workspace-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{workspace-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{workspace-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{workspace-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{workspace-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{workspace-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{workspace-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{workspace-df08tz66.js → filesystem-df08tz66.js} +0 -0
  731. /package/dist/chunks/{workspace-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{workspace-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{workspace-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{workspace-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{workspace-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{workspace-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{workspace-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{workspace-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{workspace-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{workspace-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{workspace-fxgpk5d8.js → filesystem-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{workspace-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{workspace-g86h250q.js → filesystem-g86h250q.js} +0 -0
  744. /package/dist/chunks/{workspace-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{workspace-gftt206x.js → filesystem-gftt206x.js} +0 -0
  746. /package/dist/chunks/{workspace-hjbc5kem.js → filesystem-hjbc5kem.js} +0 -0
  747. /package/dist/chunks/{workspace-hk9envan.js → filesystem-hk9envan.js} +0 -0
  748. /package/dist/chunks/{workspace-hrnqkpcd.js → filesystem-hrnqkpcd.js} +0 -0
  749. /package/dist/chunks/{workspace-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{workspace-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{workspace-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{workspace-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{workspace-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{workspace-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{workspace-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{workspace-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{workspace-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{workspace-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{workspace-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
  760. /package/dist/chunks/{workspace-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
  761. /package/dist/chunks/{workspace-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
  762. /package/dist/chunks/{workspace-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
  763. /package/dist/chunks/{workspace-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
  764. /package/dist/chunks/{workspace-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
  765. /package/dist/chunks/{workspace-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
  766. /package/dist/chunks/{workspace-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
  767. /package/dist/chunks/{workspace-sk3qaz4a.js → filesystem-sk3qaz4a.js} +0 -0
  768. /package/dist/chunks/{workspace-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
  769. /package/dist/chunks/{workspace-twg0f83k.js → filesystem-twg0f83k.js} +0 -0
  770. /package/dist/chunks/{workspace-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
  771. /package/dist/chunks/{workspace-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
  772. /package/dist/chunks/{workspace-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
  773. /package/dist/chunks/{workspace-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
  774. /package/dist/chunks/{workspace-x61499pn.js → filesystem-x61499pn.js} +0 -0
  775. /package/dist/chunks/{workspace-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
  776. /package/dist/chunks/{workspace-y8cydn3q.js → filesystem-y8cydn3q.js} +0 -0
  777. /package/dist/chunks/{workspace-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
  778. /package/dist/chunks/{workspace-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
  779. /package/dist/chunks/{workspace-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
@@ -1,59 +1,59 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./workspace-9n5bgjha.js";
4
+ } from "./filesystem-cv4ngb9q.js";
5
5
  import {
6
6
  Service79,
7
7
  node84
8
- } from "./workspace-wn4kdw9q.js";
8
+ } from "./filesystem-z412kppw.js";
9
9
  import {
10
- Service67,
11
- node70
12
- } from "./workspace-p129658b.js";
10
+ Service48,
11
+ node52
12
+ } from "./filesystem-md8xapqn.js";
13
13
  import {
14
- Service53,
15
- node56
16
- } from "./workspace-0hf9g8pg.js";
14
+ Service43,
15
+ node46
16
+ } from "./filesystem-ve6nm2s5.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./workspace-ec1grn59.js";
19
+ } from "./filesystem-ec1grn59.js";
20
20
  import {
21
21
  make17
22
- } from "./workspace-1acjjqhc.js";
22
+ } from "./filesystem-1acjjqhc.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service50
26
- } from "./workspace-baaqp4zd.js";
25
+ Service40
26
+ } from "./filesystem-2vs2nh1n.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./workspace-c4t116nm.js";
29
+ } from "./filesystem-afc89ev1.js";
30
30
  import {
31
- Service57,
32
- node60
33
- } from "./workspace-gwwc15b8.js";
31
+ Service53,
32
+ node57
33
+ } from "./filesystem-ca4qmn19.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./workspace-k19spz14.js";
36
+ } from "./filesystem-ra6n8sk1.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./workspace-wwhdthxc.js";
39
+ } from "./filesystem-t4e6bmk3.js";
40
40
  import {
41
41
  __export
42
- } from "./workspace-9rqn6x4v.js";
42
+ } from "./filesystem-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service49,
47
+ Service: () => Service39,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer18,
50
- node: () => node53,
51
- noopLayer: () => noopLayer3,
49
+ layer: () => layer16,
50
+ node: () => node43,
51
+ noopLayer: () => noopLayer2,
52
52
  terminal: () => terminal2
53
53
  });
54
54
  import { Cause, Context, Effect, Exit, Layer } from "effect";
55
55
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
56
- class Service49 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service39 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer18 = Layer.effect(Service49, Effect.gen(function* () {
69
- const store = yield* Service57;
70
- const instances = yield* Service53;
68
+ var layer16 = Layer.effect(Service39, Effect.gen(function* () {
69
+ const store = yield* Service53;
70
+ const instances = yield* Service43;
71
71
  const bus = yield* Service79;
72
- const jobs = yield* Service67;
72
+ const jobs = yield* Service48;
73
73
  const db = (yield* Service80).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
@@ -82,7 +82,7 @@ var layer18 = Layer.effect(Service49, Effect.gen(function* () {
82
82
  const session = yield* store.get(sessionID);
83
83
  if (!session)
84
84
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
85
- const result = yield* Service50.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
85
+ const result = yield* Service40.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
86
86
  return yield* DrainResult2.$match(result, {
87
87
  Complete: () => Effect.void,
88
88
  Moved: (result) => drain(sessionID, false, result.continuation, promotable)
@@ -109,7 +109,7 @@ var layer18 = Layer.effect(Service49, Effect.gen(function* () {
109
109
  }, releaseOnCommit(sessionID));
110
110
  }))
111
111
  });
112
- return Service49.of({
112
+ return Service39.of({
113
113
  active: coordinator.active,
114
114
  isActive: coordinator.isActive,
115
115
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -128,12 +128,12 @@ var layer18 = Layer.effect(Service49, Effect.gen(function* () {
128
128
  awaitIdle: coordinator.awaitIdle
129
129
  });
130
130
  }));
131
- var node53 = makeGlobalNode({
132
- service: Service49,
133
- layer: layer18,
134
- deps: [node60, node56, node84, node85, node70]
131
+ var node43 = makeGlobalNode({
132
+ service: Service39,
133
+ layer: layer16,
134
+ deps: [node57, node46, node84, node85, node52]
135
135
  });
136
- var noopLayer3 = Layer.succeed(Service49, Service49.of({
136
+ var noopLayer2 = Layer.succeed(Service39, Service39.of({
137
137
  active: Effect.succeed(new Set),
138
138
  isActive: () => Effect.succeed(false),
139
139
  resume: () => Effect.void,
@@ -142,4 +142,4 @@ var noopLayer3 = Layer.succeed(Service49, Service49.of({
142
142
  awaitIdle: () => Effect.void
143
143
  }));
144
144
 
145
- export { Service49, terminal2, layer18, node53, noopLayer3, exports_execution };
145
+ export { Service39, terminal2, layer16, node43, noopLayer2, exports_execution };
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./workspace-922hggd3.js";
3
+ } from "./filesystem-922hggd3.js";
4
4
  import {
5
- Service61
6
- } from "./workspace-v1cqtm69.js";
5
+ Service75
6
+ } from "./filesystem-61938heb.js";
7
7
  import {
8
- Service41
9
- } from "./workspace-1tbv6t5g.js";
8
+ Service70
9
+ } from "./filesystem-3rz5xnhe.js";
10
10
  import {
11
11
  LocalSource2,
12
12
  GitSource2
13
- } from "./workspace-s6jr34qb.js";
13
+ } from "./filesystem-knac7z16.js";
14
14
  import {
15
15
  observe2
16
- } from "./workspace-qsdy395h.js";
16
+ } from "./filesystem-qsdy395h.js";
17
17
  import {
18
18
  __export
19
- } from "./workspace-9rqn6x4v.js";
19
+ } from "./filesystem-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/reference.ts
22
22
  var exports_reference = {};
23
23
  __export(exports_reference, {
24
24
  ConfigReferencePlugin: () => exports_reference,
25
- Plugin: () => Plugin43
25
+ Plugin: () => Plugin18
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import path from "path";
29
29
  import { Effect } from "effect";
30
30
  import { Global } from "@opencode/util/global";
31
- var Plugin43 = define({
31
+ var Plugin18 = define({
32
32
  id: "opencode.config.reference",
33
33
  effect: Effect.fn(function* (ctx) {
34
- const config = yield* Service41;
35
- const location = yield* Service61;
34
+ const config = yield* Service70;
35
+ const location = yield* Service75;
36
36
  const global = yield* Global.Service;
37
37
  const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
38
38
  yield* ctx.reference.transform((editor) => {
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
72
72
  return path.isAbsolute(value) ? value : path.resolve(directory, value);
73
73
  }
74
74
 
75
- export { Plugin43, exports_reference };
75
+ export { Plugin18, exports_reference };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./workspace-922hggd3.js";
4
+ } from "./filesystem-922hggd3.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./workspace-93hpb89x.js";
7
+ } from "./filesystem-721tb84k.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  fromPromise2
3
- } from "./workspace-zr2ceqn5.js";
3
+ } from "./filesystem-zr2ceqn5.js";
4
4
  import {
5
- Service42
6
- } from "./workspace-10dffqyq.js";
5
+ Service71
6
+ } from "./filesystem-zdejx0ks.js";
7
7
  import {
8
8
  __export
9
- } from "./workspace-9rqn6x4v.js";
9
+ } from "./filesystem-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/module.ts
12
12
  var exports_module = {};
13
13
  __export(exports_module, {
14
14
  LoadError: () => LoadError2,
15
15
  PluginModule: () => exports_module,
16
- make: () => make7
16
+ make: () => make4
17
17
  });
18
18
  import { Host } from "@opencode/plugin/host";
19
19
  import { createPluginSources } from "@opencode/plugin/source";
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
22
22
  import path from "path";
23
23
  import { stat } from "node:fs/promises";
24
24
  import { fileURLToPath, pathToFileURL } from "url";
25
- var make7 = Effect.fn("PluginModule.make")(function* () {
26
- const watcher = yield* Service42;
25
+ var make4 = Effect.fn("PluginModule.make")(function* () {
26
+ const watcher = yield* Service71;
27
27
  const scope = yield* Effect.scope;
28
28
  const runPromise = yield* FiberSet.makeRuntimePromise();
29
29
  const changes = yield* PubSub.unbounded();
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
102
102
  };
103
103
  });
104
104
 
105
- export { make7, LoadError2, exports_module };
105
+ export { make4, LoadError2, exports_module };
@@ -1,41 +1,41 @@
1
1
  import {
2
- ID16,
2
+ ID15,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  loadPackage2,
6
6
  mergeOverlay2,
7
7
  mergeHeaders2
8
- } from "./workspace-84tssp1s.js";
8
+ } from "./filesystem-2d6j2h4j.js";
9
9
  import {
10
- Service69,
11
- node73
12
- } from "./workspace-5nzafj0m.js";
10
+ Service50,
11
+ node54
12
+ } from "./filesystem-dm4dnfc4.js";
13
13
  import {
14
14
  map2
15
- } from "./workspace-pq4st5kv.js";
15
+ } from "./filesystem-e0prvjnp.js";
16
16
  import {
17
- ID15,
17
+ ID14,
18
18
  VariantID2,
19
- Ref4
20
- } from "./workspace-g5twr0sp.js";
19
+ Ref3
20
+ } from "./filesystem-80e0yyk8.js";
21
21
  import {
22
- ID11,
23
- Service65,
24
- node68
25
- } from "./workspace-eh4km76q.js";
22
+ ID10,
23
+ Service57,
24
+ node61
25
+ } from "./filesystem-4zskx0sx.js";
26
26
  import {
27
- Service64,
28
- node67
29
- } from "./workspace-1s5kemrg.js";
27
+ Service56,
28
+ node60
29
+ } from "./filesystem-73df9qch.js";
30
30
  import {
31
31
  __export
32
- } from "./workspace-9rqn6x4v.js";
32
+ } from "./filesystem-9rqn6x4v.js";
33
33
 
34
34
  // src/model-resolver.ts
35
35
  var exports_model_resolver = {};
36
36
  __export(exports_model_resolver, {
37
37
  ModelResolver: () => exports_model_resolver,
38
- Service: () => Service55,
38
+ Service: () => Service47,
39
39
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
40
40
  UnsupportedCompactionError: () => UnsupportedCompactionError3,
41
41
  UnsupportedPackageError: () => UnsupportedPackageError3,
@@ -43,7 +43,7 @@ __export(exports_model_resolver, {
43
43
  fromCatalogModel: () => fromCatalogModel2,
44
44
  hasPackage: () => hasPackage2,
45
45
  layer: () => layer20,
46
- node: () => node58,
46
+ node: () => node51,
47
47
  resolveModel: () => resolveModel2,
48
48
  withVariant: () => withVariant2
49
49
  });
@@ -53,8 +53,8 @@ import { Auth } from "@opencode/ai/route";
53
53
  import { Context, Effect, Layer, Schema, Struct } from "effect";
54
54
  import { Npm } from "@opencode/util/npm";
55
55
  class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
56
- providerID: ID16,
57
- modelID: ID15,
56
+ providerID: ID15,
57
+ modelID: ID14,
58
58
  variant: VariantID2
59
59
  }) {
60
60
  get message() {
@@ -63,8 +63,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
63
63
  }
64
64
 
65
65
  class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
66
- providerID: ID16,
67
- modelID: ID15,
66
+ providerID: ID15,
67
+ modelID: ID14,
68
68
  package: Schema.String
69
69
  }) {
70
70
  get message() {
@@ -73,8 +73,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
73
73
  }
74
74
 
75
75
  class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
76
- providerID: ID16,
77
- modelID: ID15,
76
+ providerID: ID15,
77
+ modelID: ID14,
78
78
  variables: Schema.Array(Schema.String)
79
79
  }) {
80
80
  get message() {
@@ -83,8 +83,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
83
83
  }
84
84
 
85
85
  class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
86
- providerID: ID16,
87
- modelID: ID15,
86
+ providerID: ID15,
87
+ modelID: ID14,
88
88
  route: Schema.String
89
89
  }) {
90
90
  get message() {
@@ -92,7 +92,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
92
92
  }
93
93
  }
94
94
 
95
- class Service55 extends Context.Service()("@opencode/ModelResolver") {
95
+ class Service47 extends Context.Service()("@opencode/ModelResolver") {
96
96
  }
97
97
  var withVariant2 = (model, variantID) => {
98
98
  const id = variantID === "default" ? undefined : variantID;
@@ -218,14 +218,14 @@ var unsupported = (model) => new UnsupportedPackageError3({
218
218
  });
219
219
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
220
220
  var hasPackage2 = (model) => Boolean(model.package);
221
- var layer20 = Layer.effect(Service55, Effect.gen(function* () {
222
- const catalog = yield* Service64;
223
- const integrations = yield* Service65;
221
+ var layer20 = Layer.effect(Service47, Effect.gen(function* () {
222
+ const catalog = yield* Service56;
223
+ const integrations = yield* Service57;
224
224
  const npm = yield* Npm.Service;
225
- const aisdk = yield* Service69;
225
+ const aisdk = yield* Service50;
226
226
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
227
227
  const provider = yield* catalog.provider.get(selected.providerID);
228
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID11.make(selected.providerID));
228
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID10.make(selected.providerID));
229
229
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
230
230
  const runtimeInfo = yield* withVariant2(selected, variant);
231
231
  const model = yield* fromCatalogModel2(runtimeInfo, credential, {
@@ -235,7 +235,7 @@ var layer20 = Layer.effect(Service55, Effect.gen(function* () {
235
235
  const runtime = provider?.activation === "enabled" && credential === undefined && !hasConfiguredAuth(runtimeInfo) && usesAPIKeyAuth(runtimeInfo.package) ? LanguageModel.update(model, { route: model.route.with({ auth: Auth.none }) }) : model;
236
236
  return {
237
237
  model: runtime,
238
- ref: Ref4.make({
238
+ ref: Ref3.make({
239
239
  id: selected.id,
240
240
  providerID: selected.providerID,
241
241
  ...variant === undefined ? {} : { variant }
@@ -246,7 +246,7 @@ var layer20 = Layer.effect(Service55, Effect.gen(function* () {
246
246
  compaction: selected.compaction
247
247
  };
248
248
  });
249
- return Service55.of({
249
+ return Service47.of({
250
250
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
251
251
  const selected = requested ? yield* catalog.model.get(requested.providerID, requested.id) : yield* catalog.model.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(catalog.model.available(), (models) => models.find(hasPackage2))));
252
252
  if (!selected)
@@ -263,10 +263,10 @@ function usesAPIKeyAuth(packageName) {
263
263
  const name = packageName2(packageName);
264
264
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
265
265
  }
266
- var node58 = makeLocationNode({
267
- service: Service55,
266
+ var node51 = makeLocationNode({
267
+ service: Service47,
268
268
  layer: layer20,
269
- deps: [node67, node68, Npm.node, node73]
269
+ deps: [node60, node61, Npm.node, node54]
270
270
  });
271
271
 
272
- export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service55, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer20, node58, exports_model_resolver };
272
+ export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service47, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer20, node51, exports_model_resolver };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  __export
3
- } from "./workspace-9rqn6x4v.js";
3
+ } from "./filesystem-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/formatter.ts
6
6
  var exports_formatter3 = {};
7
7
  __export(exports_formatter3, {
8
8
  ConfigFormatterV1: () => exports_formatter3,
9
- Entry: () => Entry4,
10
- Info: () => Info14
9
+ Entry: () => Entry3,
10
+ Info: () => Info24
11
11
  });
12
12
  import { Schema } from "effect";
13
- var Entry4 = Schema.Struct({
13
+ var Entry3 = Schema.Struct({
14
14
  disabled: Schema.optional(Schema.Boolean),
15
15
  command: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
16
16
  environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
17
17
  extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
18
18
  });
19
- var Info14 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]);
19
+ var Info24 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
20
20
 
21
- export { Entry4, Info14, exports_formatter3 };
21
+ export { Entry3, Info24, exports_formatter3 };
@@ -1,9 +1,9 @@
1
1
  import {
2
- ID16
3
- } from "./workspace-84tssp1s.js";
2
+ ID15
3
+ } from "./filesystem-2d6j2h4j.js";
4
4
  import {
5
5
  __export
6
- } from "./workspace-9rqn6x4v.js";
6
+ } from "./filesystem-9rqn6x4v.js";
7
7
 
8
8
  // src/model.ts
9
9
  var exports_model2 = {};
@@ -12,25 +12,25 @@ __export(exports_model2, {
12
12
  Compatibility: () => Compatibility2,
13
13
  Cost: () => Cost2,
14
14
  Family: () => Family2,
15
- ID: () => ID15,
16
- Info: () => Info29,
15
+ ID: () => ID14,
16
+ Info: () => Info28,
17
17
  Model: () => exports_model2,
18
18
  ReasoningField: () => ReasoningField2,
19
- Ref: () => Ref4,
19
+ Ref: () => Ref3,
20
20
  VariantID: () => VariantID2,
21
21
  compatibility: () => compatibility2,
22
- parse: () => parse4
22
+ parse: () => parse5
23
23
  });
24
24
  import { Model } from "@opencode/schema/model";
25
- var ID15 = Model.ID;
25
+ var ID14 = Model.ID;
26
26
  var VariantID2 = Model.VariantID;
27
27
  var Family2 = Model.Family;
28
28
  var ReasoningField2 = Model.ReasoningField;
29
29
  var Compatibility2 = Model.Compatibility;
30
30
  var Capabilities2 = Model.Capabilities;
31
31
  var Cost2 = Model.Cost;
32
- var Ref4 = Model.Ref;
33
- var Info29 = Model.Info;
32
+ var Ref3 = Model.Ref;
33
+ var Info28 = Model.Info;
34
34
  function compatibility2(input) {
35
35
  if (typeof input === "string")
36
36
  return { reasoningField: input };
@@ -38,12 +38,12 @@ function compatibility2(input) {
38
38
  return;
39
39
  return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
40
40
  }
41
- function parse4(input) {
41
+ function parse5(input) {
42
42
  const index = input.indexOf("/");
43
43
  return {
44
- providerID: ID16.make(index === -1 ? input : input.slice(0, index)),
45
- modelID: ID15.make(index === -1 ? "" : input.slice(index + 1))
44
+ providerID: ID15.make(index === -1 ? input : input.slice(0, index)),
45
+ modelID: ID14.make(index === -1 ? "" : input.slice(index + 1))
46
46
  };
47
47
  }
48
48
 
49
- export { ID15, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref4, Info29, compatibility2, parse4, exports_model2 };
49
+ export { ID14, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref3, Info28, compatibility2, parse5, exports_model2 };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./workspace-922hggd3.js";
3
+ } from "./filesystem-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./workspace-9rqn6x4v.js";
6
+ } from "./filesystem-9rqn6x4v.js";
7
7
 
8
8
  // src/project/schema.ts
9
9
  var exports_schema = {};
10
10
  __export(exports_schema, {
11
11
  Current: () => Current3,
12
- Event: () => Event11,
13
- ID: () => ID10,
14
- Info: () => Info24,
12
+ Event: () => Event20,
13
+ ID: () => ID18,
14
+ Info: () => Info33,
15
15
  ProjectSchema: () => exports_schema,
16
16
  UpdateInput: () => UpdateInput4,
17
17
  Vcs: () => Vcs3
18
18
  });
19
19
  import { Schema } from "effect";
20
20
  import { Project } from "@opencode/schema/project";
21
- var ID10 = Project.ID;
21
+ var ID18 = Project.ID;
22
22
  var Current3 = Project.Current;
23
- var Info24 = Project.Info;
23
+ var Info33 = Project.Info;
24
24
  var UpdateInput4 = Project.UpdateInput;
25
- var Event11 = Project.Event;
25
+ var Event20 = Project.Event;
26
26
  var Vcs3 = Schema.Struct({
27
27
  type: Project.Vcs,
28
28
  store: AbsolutePath2
29
29
  });
30
30
 
31
- export { ID10, Current3, Info24, UpdateInput4, Event11, Vcs3, exports_schema };
31
+ export { ID18, Current3, Info33, UpdateInput4, Event20, Vcs3, exports_schema };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./workspace-9rqn6x4v.js";
3
+ } from "./filesystem-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service7,
9
+ Service: () => Service5,
10
10
  bound: () => bound2,
11
- node: () => node10
11
+ node: () => node8
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service7 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service5 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node10 = makeLocationNode({
19
- service: Service7,
18
+ var node8 = makeLocationNode({
19
+ service: Service5,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service7, Service7.of({ all: () => stamped }));
29
+ return Layer.succeed(Service5, Service5.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service7, node10, bound2, exports_instance2 };
32
+ export { Service5, node8, bound2, exports_instance2 };