@opencode/core 0.0.0-dev-19315 → 0.0.0-dev-19316

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 (780) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  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/{schema-7k98zq5j.js → workspace-0cmfkvjr.js} +20 -20
  9. package/dist/chunks/{schema-ymjxwgvb.js → workspace-0em1p5dp.js} +88 -88
  10. package/dist/chunks/{schema-rhjbct0v.js → workspace-0gdmqesm.js} +4 -4
  11. package/dist/chunks/{schema-v8jfbz3g.js → workspace-0hf9g8pg.js} +6 -6
  12. package/dist/chunks/{schema-qgn6gcr1.js → workspace-0jwsre1p.js} +5 -5
  13. package/dist/chunks/workspace-0mesazry.js +4 -0
  14. package/dist/chunks/{schema-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{schema-0q0f95c6.js → workspace-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{schema-mmpywmy8.js → workspace-0qnka9n6.js} +17 -17
  17. package/dist/chunks/{schema-6ytdtxpy.js → workspace-0s5v0p6k.js} +52 -52
  18. package/dist/chunks/{schema-bf4gnffv.js → workspace-0yq4eb34.js} +24 -24
  19. package/dist/chunks/{schema-vtfyh9kp.js → workspace-10dffqyq.js} +22 -22
  20. package/dist/chunks/{schema-3chymzge.js → workspace-12jdhdht.js} +11 -11
  21. package/dist/chunks/{schema-k0qqd9ns.js → workspace-15pjexzy.js} +13 -13
  22. package/dist/chunks/{schema-rc7c1nkz.js → workspace-19g3xj2s.js} +30 -30
  23. package/dist/chunks/{schema-yp2x3t23.js → workspace-1acjjqhc.js} +4 -4
  24. package/dist/chunks/{schema-1dazxqgg.js → workspace-1dazxqgg.js} +2 -2
  25. package/dist/chunks/{schema-1dfhrqqs.js → workspace-1dfhrqqs.js} +2 -2
  26. package/dist/chunks/{schema-jfmd2d66.js → workspace-1ev0k7s6.js} +8 -8
  27. package/dist/chunks/{schema-ra3x11vx.js → workspace-1jyjw0dy.js} +14 -14
  28. package/dist/chunks/{schema-hstcsx0c.js → workspace-1s5kemrg.js} +20 -20
  29. package/dist/chunks/{schema-2xxkd6hq.js → workspace-1s80jvpe.js} +30 -30
  30. package/dist/chunks/{schema-93qvm8az.js → workspace-1tbv6t5g.js} +43 -43
  31. package/dist/chunks/{schema-d421n1ff.js → workspace-1vtz46z8.js} +8 -8
  32. package/dist/chunks/{schema-4qce8s6f.js → workspace-1yafz2c2.js} +21 -21
  33. package/dist/chunks/{schema-21r38tys.js → workspace-21r38tys.js} +1 -1
  34. package/dist/chunks/{schema-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
  35. package/dist/chunks/{schema-h3fsa19t.js → workspace-2fsj26k1.js} +15 -15
  36. package/dist/chunks/{schema-y0sydbwz.js → workspace-2nyvck04.js} +9 -9
  37. package/dist/chunks/{schema-7q1612ja.js → workspace-2vg72gbq.js} +9 -9
  38. package/dist/chunks/{schema-4yfcpcky.js → workspace-2yamwwtx.js} +10 -10
  39. package/dist/chunks/{schema-2emagh9c.js → workspace-317x7tvz.js} +16 -16
  40. package/dist/chunks/{schema-gd3ag2we.js → workspace-323qkwbp.js} +10 -10
  41. package/dist/chunks/{schema-mfqp6xfm.js → workspace-33w4ejhs.js} +9 -9
  42. package/dist/chunks/{schema-7fcrrf7c.js → workspace-36jkazxa.js} +5 -5
  43. package/dist/chunks/{schema-cpk86zgx.js → workspace-39mbwg99.js} +16 -16
  44. package/dist/chunks/{schema-3fc6dm20.js → workspace-3fc6dm20.js} +1 -1
  45. package/dist/chunks/{schema-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{schema-8qh0cz1n.js → workspace-3q6hd4jt.js} +16 -16
  47. package/dist/chunks/{schema-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{schema-1fa9ans5.js → workspace-3trbxeqx.js} +1 -1
  49. package/dist/chunks/{schema-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
  50. package/dist/chunks/{schema-x9d6r3r4.js → workspace-3v77a270.js} +21 -21
  51. package/dist/chunks/{schema-yq7c167k.js → workspace-40ztfmwz.js} +17 -17
  52. package/dist/chunks/{schema-khgxsbt4.js → workspace-42h2bxtq.js} +10 -10
  53. package/dist/chunks/{schema-0t3za3r7.js → workspace-43bvnm0c.js} +32 -32
  54. package/dist/chunks/{schema-ed9v73ba.js → workspace-48hw3qw3.js} +25 -25
  55. package/dist/chunks/{schema-cg3xgnsj.js → workspace-4d61g8er.js} +46 -46
  56. package/dist/chunks/{schema-kzdcqyn1.js → workspace-4dg124c5.js} +5 -5
  57. package/dist/chunks/{schema-ws5qfxv9.js → workspace-4jmdj23e.js} +9 -9
  58. package/dist/chunks/{schema-tr93pe43.js → workspace-4rd6evxz.js} +15 -15
  59. package/dist/chunks/{schema-4bphcb4q.js → workspace-4t57t1en.js} +14 -14
  60. package/dist/chunks/{schema-5aprmt0q.js → workspace-4tq5d7x2.js} +20 -20
  61. package/dist/chunks/{schema-2mdv5ymf.js → workspace-4zb7zm34.js} +11 -11
  62. package/dist/chunks/{schema-pekwj3qr.js → workspace-4zbs3q2b.js} +33 -33
  63. package/dist/chunks/{schema-rysxkvb4.js → workspace-50p99xk2.js} +37 -37
  64. package/dist/chunks/{schema-hep2a0b7.js → workspace-540a1fgr.js} +33 -33
  65. package/dist/chunks/{schema-3w2rn9dp.js → workspace-5aktmhjp.js} +15 -15
  66. package/dist/chunks/{schema-n72fdvhp.js → workspace-5cwvq4ff.js} +2 -2
  67. package/dist/chunks/{schema-5daktx2q.js → workspace-5daktx2q.js} +1 -1
  68. package/dist/chunks/{schema-avvew7tz.js → workspace-5jfbnsm9.js} +50 -50
  69. package/dist/chunks/{schema-ej832pbm.js → workspace-5kmnb5g6.js} +15 -15
  70. package/dist/chunks/{schema-5kptn8c0.js → workspace-5kptn8c0.js} +2 -2
  71. package/dist/chunks/{schema-nq8ttx4a.js → workspace-5nzafj0m.js} +11 -11
  72. package/dist/chunks/{schema-mp03jghc.js → workspace-5pq3v0sk.js} +14 -14
  73. package/dist/chunks/{schema-5t3nmthw.js → workspace-5t3nmthw.js} +2 -2
  74. package/dist/chunks/{schema-v30hgzdg.js → workspace-5yrg3hxm.js} +8 -8
  75. package/dist/chunks/{schema-3f970z16.js → workspace-60stz191.js} +31 -31
  76. package/dist/chunks/{schema-fxma3jmn.js → workspace-61tdtcny.js} +10 -10
  77. package/dist/chunks/{schema-669tq793.js → workspace-669tq793.js} +1 -1
  78. package/dist/chunks/{schema-rzh64qrh.js → workspace-66j98p5d.js} +29 -29
  79. package/dist/chunks/{schema-kqh9nm8q.js → workspace-6gfd5xf8.js} +30 -30
  80. package/dist/chunks/{schema-2402vzrj.js → workspace-6h73sxmp.js} +5 -5
  81. package/dist/chunks/{schema-6msgmcgs.js → workspace-6msgmcgs.js} +1 -1
  82. package/dist/chunks/{schema-1hbbayva.js → workspace-6st33d4x.js} +25 -25
  83. package/dist/chunks/{schema-71q4at8m.js → workspace-71q4at8m.js} +1 -1
  84. package/dist/chunks/{schema-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
  85. package/dist/chunks/{schema-rnte4p8x.js → workspace-7gb606e6.js} +14 -14
  86. package/dist/chunks/{schema-ggkmsn0n.js → workspace-7gvp9cq5.js} +21 -21
  87. package/dist/chunks/{schema-dvt68sy9.js → workspace-7k17nv4j.js} +22 -22
  88. package/dist/chunks/{schema-yngj08nc.js → workspace-7mz653pd.js} +15 -15
  89. package/dist/chunks/{schema-7678ggar.js → workspace-7vbk9m4e.js} +9 -9
  90. package/dist/chunks/{schema-mfhfdr54.js → workspace-81czwxpn.js} +4 -4
  91. package/dist/chunks/{schema-wwke1kyk.js → workspace-83q95eg7.js} +9 -9
  92. package/dist/chunks/{schema-dt849bc4.js → workspace-84tssp1s.js} +4 -4
  93. package/dist/chunks/{schema-xkgcy5zw.js → workspace-86jav2f7.js} +31 -31
  94. package/dist/chunks/{schema-7v4sg4py.js → workspace-8761qpcg.js} +41 -41
  95. package/dist/chunks/{schema-8d7r5vzw.js → workspace-8d7r5vzw.js} +1 -1
  96. package/dist/chunks/{schema-wtzzntf3.js → workspace-8hpffc5d.js} +15 -15
  97. package/dist/chunks/{schema-8p4f9s12.js → workspace-8p4f9s12.js} +2 -2
  98. package/dist/chunks/{schema-fb69kj5w.js → workspace-8p83gb6h.js} +6 -6
  99. package/dist/chunks/{schema-1ns5ss6t.js → workspace-90qgvd9n.js} +23 -23
  100. package/dist/chunks/{schema-h86j3tsh.js → workspace-91xp5nbf.js} +7 -7
  101. package/dist/chunks/{schema-yefxppqx.js → workspace-93dyhyad.js} +17 -17
  102. package/dist/chunks/{schema-sfvj2g2k.js → workspace-93hpb89x.js} +3 -3
  103. package/dist/chunks/{schema-cq37gk0t.js → workspace-95x6xbkr.js} +4 -4
  104. package/dist/chunks/{schema-5y7wjg0m.js → workspace-97s80yy3.js} +23 -23
  105. package/dist/chunks/{schema-af8qyc7k.js → workspace-9a52esse.js} +28 -28
  106. package/dist/chunks/{schema-h8t2fjwh.js → workspace-9cex7hp6.js} +63 -63
  107. package/dist/chunks/{schema-qssq5wvh.js → workspace-9k2v62xn.js} +1 -1
  108. package/dist/chunks/{schema-rxb98w6d.js → workspace-9m6qag95.js} +19 -19
  109. package/dist/chunks/{schema-tmcnbrvb.js → workspace-9mbwqz4q.js} +39 -39
  110. package/dist/chunks/{schema-vyjxsjpz.js → workspace-9n5bgjha.js} +3 -3
  111. package/dist/chunks/{schema-d09006c3.js → workspace-9zswys26.js} +9 -9
  112. package/dist/chunks/{schema-a1bz86dw.js → workspace-a1bz86dw.js} +3 -3
  113. package/dist/chunks/{schema-zkvpckg7.js → workspace-a2vj9kk6.js} +17 -17
  114. package/dist/chunks/{schema-za9cx4qh.js → workspace-a68v6zx7.js} +8 -8
  115. package/dist/chunks/{schema-aaet6srn.js → workspace-aaet6srn.js} +2 -2
  116. package/dist/chunks/{schema-pecb0brz.js → workspace-af04s6ss.js} +5 -5
  117. package/dist/chunks/{schema-wcbqwdj0.js → workspace-ak2adswv.js} +15 -15
  118. package/dist/chunks/{schema-844ef7ks.js → workspace-asmz7wyz.js} +8 -8
  119. package/dist/chunks/{schema-23sxaqwc.js → workspace-awaee7qt.js} +4 -4
  120. package/dist/chunks/{schema-50ew5km2.js → workspace-awhdw3pf.js} +82 -82
  121. package/dist/chunks/{schema-dghgjkkt.js → workspace-awz7xhfp.js} +4 -4
  122. package/dist/chunks/{schema-yzyvjjcs.js → workspace-ayjzdqkx.js} +4 -4
  123. package/dist/chunks/{schema-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
  124. package/dist/chunks/{schema-5c7w043m.js → workspace-b8gwhbay.js} +22 -22
  125. package/dist/chunks/{schema-3m330dqz.js → workspace-b94pmmqr.js} +293 -293
  126. package/dist/chunks/{schema-dhmh7aw6.js → workspace-baaqp4zd.js} +4 -4
  127. package/dist/chunks/{schema-em9bvvd7.js → workspace-beamd2gc.js} +7 -7
  128. package/dist/chunks/{schema-ahwzvjet.js → workspace-bgqpk6ej.js} +5 -5
  129. package/dist/chunks/{schema-1tjd06ef.js → workspace-bh0wyjv7.js} +6 -6
  130. package/dist/chunks/{schema-x1b8f3r0.js → workspace-bkqaqtv1.js} +22 -22
  131. package/dist/chunks/{schema-9f3e1ggy.js → workspace-bskx12th.js} +7 -7
  132. package/dist/chunks/{schema-zggabhn7.js → workspace-bsxfqzhc.js} +11 -11
  133. package/dist/chunks/{schema-dsy3s5w9.js → workspace-bt8hdx22.js} +20 -20
  134. package/dist/chunks/{schema-rxcp57d1.js → workspace-c0mtdgpv.js} +16 -16
  135. package/dist/chunks/{schema-ann5hjcn.js → workspace-c4t116nm.js} +3 -3
  136. package/dist/chunks/{schema-bdg5dsss.js → workspace-c82pnra3.js} +35 -35
  137. package/dist/chunks/{schema-cfpkc3c9.js → workspace-cfpkc3c9.js} +2 -2
  138. package/dist/chunks/{schema-e0camyxs.js → workspace-cgnjyr8a.js} +47 -47
  139. package/dist/chunks/{schema-27qrrwqp.js → workspace-cjsvwj1q.js} +15 -15
  140. package/dist/chunks/{schema-mjdfv6k0.js → workspace-cwtysmh4.js} +12 -12
  141. package/dist/chunks/{schema-wkm5226z.js → workspace-d53dp3ny.js} +11 -11
  142. package/dist/chunks/{schema-w94wf1va.js → workspace-d5a42mez.js} +18 -18
  143. package/dist/chunks/{schema-s4bpprrf.js → workspace-dffz74yj.js} +26 -26
  144. package/dist/chunks/{schema-7f85ph34.js → workspace-dgmwn8ez.js} +8 -8
  145. package/dist/chunks/{schema-t0fxg8b9.js → workspace-dj9sq318.js} +5 -5
  146. package/dist/chunks/{schema-mey9myn8.js → workspace-dvzjgrza.js} +41 -41
  147. package/dist/chunks/{schema-tc2jbzt4.js → workspace-e3b0d0gy.js} +9 -9
  148. package/dist/chunks/{schema-zwyzcrrk.js → workspace-e4k3fffr.js} +23 -23
  149. package/dist/chunks/{schema-4kjqrx32.js → workspace-ed1arge1.js} +18 -18
  150. package/dist/chunks/{schema-0mgswt6t.js → workspace-eds7zwp6.js} +22 -22
  151. package/dist/chunks/{schema-jmarb9hd.js → workspace-eh4km76q.js} +26 -26
  152. package/dist/chunks/{schema-fge0ah70.js → workspace-ej8xv5ds.js} +3 -3
  153. package/dist/chunks/{schema-mhkvc446.js → workspace-eq1pz5kg.js} +3 -3
  154. package/dist/chunks/{schema-y0gb26f5.js → workspace-eramvw3w.js} +20 -20
  155. package/dist/chunks/{schema-7s02b6me.js → workspace-esdnemd6.js} +1 -1
  156. package/dist/chunks/{schema-etq0c3wd.js → workspace-etq0c3wd.js} +1 -1
  157. package/dist/chunks/{schema-0y31edgy.js → workspace-ewztbjbx.js} +167 -167
  158. package/dist/chunks/{schema-9gmrc3m2.js → workspace-f10twq9w.js} +11 -11
  159. package/dist/chunks/{schema-sbqjgjqr.js → workspace-f4x3f9y9.js} +29 -29
  160. package/dist/chunks/{schema-6xtbsy03.js → workspace-f5agypy8.js} +16 -16
  161. package/dist/chunks/{schema-f828m53h.js → workspace-f828m53h.js} +2 -2
  162. package/dist/chunks/{schema-dhqycw72.js → workspace-fmah640z.js} +11 -11
  163. package/dist/chunks/{schema-fmmn8x74.js → workspace-fq1h1v14.js} +3 -3
  164. package/dist/chunks/{schema-v3jcw94y.js → workspace-fvr7jna4.js} +13 -13
  165. package/dist/chunks/{schema-fxbjtjnd.js → workspace-fxbjtjnd.js} +1 -1
  166. package/dist/chunks/{schema-fban3jjy.js → workspace-g5twr0sp.js} +12 -12
  167. package/dist/chunks/{schema-g8d3gcyj.js → workspace-g8d3gcyj.js} +1 -1
  168. package/dist/chunks/{schema-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
  169. package/dist/chunks/{schema-gwfas74g.js → workspace-gf3khw20.js} +18 -18
  170. package/dist/chunks/{schema-wa9n8nyq.js → workspace-gj9xpvv3.js} +8 -8
  171. package/dist/chunks/{schema-3ezse2vx.js → workspace-gk38wydt.js} +15 -15
  172. package/dist/chunks/{schema-m1qbg9kq.js → workspace-gsyxgrq8.js} +35 -35
  173. package/dist/chunks/{schema-gv6a8nnw.js → workspace-gv6a8nnw.js} +2 -2
  174. package/dist/chunks/{schema-d1z56afy.js → workspace-gwwc15b8.js} +14 -14
  175. package/dist/chunks/{schema-h03wrkyp.js → workspace-h03wrkyp.js} +2 -2
  176. package/dist/chunks/{schema-n5zjdcc0.js → workspace-h2gyv3sg.js} +1 -1
  177. package/dist/chunks/{schema-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
  178. package/dist/chunks/{schema-gsx0ryk4.js → workspace-h7ygw6q4.js} +9 -9
  179. package/dist/chunks/{schema-c9rkggg0.js → workspace-hrhrxexm.js} +4 -4
  180. package/dist/chunks/{schema-j56e64zr.js → workspace-j56e64zr.js} +1 -1
  181. package/dist/chunks/{schema-3ry4enn3.js → workspace-j69p6wmc.js} +26 -26
  182. package/dist/chunks/{schema-jxtw827s.js → workspace-j6rj9xt6.js} +41 -41
  183. package/dist/chunks/{schema-2eyxhsen.js → workspace-jab8rdhp.js} +9 -9
  184. package/dist/chunks/{schema-8z893rkr.js → workspace-jwqth68t.js} +19 -19
  185. package/dist/chunks/{schema-9zb8tb0e.js → workspace-jxn2j4b1.js} +4 -4
  186. package/dist/chunks/{schema-esxv8tw4.js → workspace-k19spz14.js} +4 -4
  187. package/dist/chunks/{schema-r007a4a3.js → workspace-k1hbjbhr.js} +41 -41
  188. package/dist/chunks/{schema-gwng5rs7.js → workspace-kenqsagb.js} +9 -9
  189. package/dist/chunks/{schema-dv2wkykp.js → workspace-kfdzm4dd.js} +27 -27
  190. package/dist/chunks/{schema-kg06axw8.js → workspace-kg06axw8.js} +1 -1
  191. package/dist/chunks/{schema-0b4tyj5c.js → workspace-kma43rbx.js} +35 -35
  192. package/dist/chunks/{schema-6anwy9fs.js → workspace-kxpygcw9.js} +4 -4
  193. package/dist/chunks/{schema-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
  194. package/dist/chunks/{schema-mkcjrzeh.js → workspace-mkcjrzeh.js} +1 -1
  195. package/dist/chunks/{schema-g26fr9df.js → workspace-mpxhxrb2.js} +18 -18
  196. package/dist/chunks/{schema-xwwz9aqf.js → workspace-mqy0jkn2.js} +4 -4
  197. package/dist/chunks/{schema-vdpebk9b.js → workspace-mrk2ms14.js} +34 -34
  198. package/dist/chunks/{schema-2ee8pmxs.js → workspace-mrw4weg4.js} +5 -5
  199. package/dist/chunks/{schema-yeaas6gx.js → workspace-mtd5x7py.js} +20 -20
  200. package/dist/chunks/{schema-aynen3k2.js → workspace-mw6ans9c.js} +5 -5
  201. package/dist/chunks/{schema-0d55fq0h.js → workspace-mxj2eewr.js} +20 -20
  202. package/dist/chunks/{schema-a97fztfj.js → workspace-n51qh0r9.js} +6 -6
  203. package/dist/chunks/{schema-47gsdddb.js → workspace-nhy5jxhy.js} +5 -5
  204. package/dist/chunks/{schema-cavr175a.js → workspace-nrdmrqsx.js} +4 -4
  205. package/dist/chunks/{schema-jhk25xys.js → workspace-ntgxvp5h.js} +11 -11
  206. package/dist/chunks/{schema-n0amp1ck.js → workspace-p129658b.js} +15 -15
  207. package/dist/chunks/{schema-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
  208. package/dist/chunks/{schema-zq2jd2av.js → workspace-pkjnw8xf.js} +27 -27
  209. package/dist/chunks/{schema-pknna89w.js → workspace-pknna89w.js} +1 -1
  210. package/dist/chunks/{schema-f8zp45td.js → workspace-pn6nrrpr.js} +27 -27
  211. package/dist/chunks/{schema-xk1y82za.js → workspace-pq4st5kv.js} +2 -2
  212. package/dist/chunks/{schema-j2raxa28.js → workspace-q265yh5d.js} +10 -10
  213. package/dist/chunks/{schema-vncycja5.js → workspace-q2b1ymqp.js} +4 -4
  214. package/dist/chunks/{schema-4xtb46xg.js → workspace-q3jq24j1.js} +14 -14
  215. package/dist/chunks/workspace-q509s3k3.js +18 -0
  216. package/dist/chunks/{schema-pm9j628w.js → workspace-qkek724z.js} +8 -8
  217. package/dist/chunks/{schema-qjnxxf51.js → workspace-qn4ba14w.js} +5 -5
  218. package/dist/chunks/{schema-cfzd05x5.js → workspace-qqbqqn54.js} +38 -38
  219. package/dist/chunks/{schema-qsdy395h.js → workspace-qsdy395h.js} +1 -1
  220. package/dist/chunks/{schema-9sx9q53n.js → workspace-qzyph8ek.js} +11 -11
  221. package/dist/chunks/{schema-h4xjf306.js → workspace-r0nnab1q.js} +24 -24
  222. package/dist/chunks/{schema-ymnsp9y8.js → workspace-r7x04355.js} +30 -30
  223. package/dist/chunks/{schema-tqae5094.js → workspace-rdz2tx67.js} +5 -5
  224. package/dist/chunks/{schema-7jfqf6pz.js → workspace-rjqwr5dw.js} +24 -24
  225. package/dist/chunks/{schema-tfgscs23.js → workspace-rme5v0wm.js} +10 -10
  226. package/dist/chunks/{schema-wkxdf99e.js → workspace-rrjgssxh.js} +46 -46
  227. package/dist/chunks/{schema-6jex2xta.js → workspace-rs226bz6.js} +5 -5
  228. package/dist/chunks/{schema-yxc59d7f.js → workspace-rtv6ahp9.js} +8 -8
  229. package/dist/chunks/{schema-xaf9dczh.js → workspace-rztdx977.js} +9 -9
  230. package/dist/chunks/{schema-7z1274hf.js → workspace-s2bazk07.js} +14 -14
  231. package/dist/chunks/{schema-33v1kfw7.js → workspace-s5g9mpsf.js} +4 -4
  232. package/dist/chunks/{schema-26bm9vc1.js → workspace-s6jr34qb.js} +26 -26
  233. package/dist/chunks/{schema-cvdpw4j1.js → workspace-s7731dqm.js} +2 -2
  234. package/dist/chunks/{schema-bm1f71yt.js → workspace-sp5zyyma.js} +8 -8
  235. package/dist/chunks/{schema-jxbvqnrb.js → workspace-srvat6zp.js} +6 -6
  236. package/dist/chunks/{schema-n0pywpq4.js → workspace-t6msp11s.js} +6 -6
  237. package/dist/chunks/{schema-ygg5s4mj.js → workspace-t6qa8pj9.js} +18 -18
  238. package/dist/chunks/{schema-62t5ee4h.js → workspace-t7b1xacm.js} +8 -8
  239. package/dist/chunks/{schema-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
  240. package/dist/chunks/{schema-tcezcvh9.js → workspace-tcezcvh9.js} +1 -1
  241. package/dist/chunks/{schema-tdstcens.js → workspace-tdstcens.js} +1 -1
  242. package/dist/chunks/{schema-tvtrv512.js → workspace-tvtrv512.js} +1 -1
  243. package/dist/chunks/{schema-pr80m118.js → workspace-v1cqtm69.js} +16 -16
  244. package/dist/chunks/{schema-8gnjjt4m.js → workspace-v84z85pp.js} +15 -15
  245. package/dist/chunks/{schema-7tvckfyj.js → workspace-v9ct93z2.js} +8 -8
  246. package/dist/chunks/{schema-hf8cnsjw.js → workspace-vabb23s0.js} +1 -1
  247. package/dist/chunks/{schema-mqqdt0nc.js → workspace-ve0zfa78.js} +12 -12
  248. package/dist/chunks/{schema-veqvce7d.js → workspace-veqvce7d.js} +1 -1
  249. package/dist/chunks/{schema-t1bhcjx3.js → workspace-vypqtakx.js} +1 -1
  250. package/dist/chunks/{schema-vzcthcp8.js → workspace-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{schema-e9cy62py.js → workspace-vze96k0n.js} +4 -4
  252. package/dist/chunks/{schema-8nq6hfsb.js → workspace-w23a9fg2.js} +6 -6
  253. package/dist/chunks/{schema-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{schema-wd87259q.js → workspace-wd87259q.js} +1 -1
  255. package/dist/chunks/{schema-rry7wysn.js → workspace-wgq3akg3.js} +21 -21
  256. package/dist/chunks/{schema-v6kh18tr.js → workspace-wkwfxgj3.js} +4 -4
  257. package/dist/chunks/{schema-3csdgxhx.js → workspace-wmqmw210.js} +8 -8
  258. package/dist/chunks/{schema-p58x6frn.js → workspace-wn4kdw9q.js} +4 -4
  259. package/dist/chunks/{schema-2q85j725.js → workspace-wv6yb1rv.js} +1 -1
  260. package/dist/chunks/{schema-p0qwd5gw.js → workspace-wwhdthxc.js} +21 -21
  261. package/dist/chunks/{schema-ejffycx6.js → workspace-wynthrjp.js} +6 -6
  262. package/dist/chunks/{schema-d34vvr7x.js → workspace-wzkwse1s.js} +13 -13
  263. package/dist/chunks/workspace-x04nape8.js +247 -0
  264. package/dist/chunks/{schema-x1ezjp6w.js → workspace-x1ezjp6w.js} +1 -1
  265. package/dist/chunks/{schema-x43y2vfs.js → workspace-x43y2vfs.js} +2 -2
  266. package/dist/chunks/{schema-1z0ea248.js → workspace-xkzbfh0m.js} +13 -13
  267. package/dist/chunks/{schema-39r80e1r.js → workspace-xmh8jj88.js} +1 -1
  268. package/dist/chunks/{schema-rk0rec3h.js → workspace-xp88wr07.js} +9 -9
  269. package/dist/chunks/{schema-rwf0nzrt.js → workspace-xwwm14an.js} +9 -9
  270. package/dist/chunks/{schema-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/workspace-y31r8zkp.js +22 -0
  272. package/dist/chunks/{schema-dpkg50ah.js → workspace-y71avatq.js} +4 -4
  273. package/dist/chunks/{schema-5212w71j.js → workspace-ya5s98jd.js} +11 -11
  274. package/dist/chunks/{schema-sthx2gx7.js → workspace-yagmabmz.js} +4 -4
  275. package/dist/chunks/{schema-yrhqyw5v.js → workspace-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{schema-yrznvahk.js → workspace-yrznvahk.js} +2 -2
  277. package/dist/chunks/{schema-x583y8qn.js → workspace-yyhgy33t.js} +13 -13
  278. package/dist/chunks/{schema-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{schema-z63w68vq.js → workspace-z63w68vq.js} +2 -2
  280. package/dist/chunks/{schema-hx6nt0pb.js → workspace-z9xz7t7m.js} +24 -24
  281. package/dist/chunks/{schema-zeh9ct20.js → workspace-zeh9ct20.js} +2 -2
  282. package/dist/chunks/{schema-19z7ckkr.js → workspace-zka56nxw.js} +30 -30
  283. package/dist/chunks/{schema-s621ccm3.js → workspace-zke2pdp6.js} +11 -11
  284. package/dist/chunks/{schema-apccazr7.js → workspace-zqpyhaa2.js} +10 -10
  285. package/dist/chunks/{schema-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{schema-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
  287. package/dist/chunks/{schema-m3yrrbbr.js → workspace-zyzp2298.js} +10 -10
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +9 -9
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +81 -81
  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 +117 -117
  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 +118 -118
  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 +115 -115
  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 +77 -77
  320. package/dist/database/database.js +64 -64
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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 +3 -3
  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 +2 -2
  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 +1 -1
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +96 -96
  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 +93 -93
  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 +7 -7
  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 +79 -79
  454. package/dist/instructions/builtins.js +82 -82
  455. package/dist/instructions/index.js +3 -3
  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 +82 -82
  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 +7 -7
  473. package/dist/model-resolver.js +86 -86
  474. package/dist/model.js +8 -8
  475. package/dist/models-dev.js +86 -86
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +78 -78
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +100 -100
  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 +86 -86
  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 +117 -117
  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 +129 -129
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +340 -340
  539. package/dist/plugin/update.js +6 -6
  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 +6 -6
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +6 -6
  550. package/dist/plugin.js +224 -224
  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 +3 -3
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/schema.js +3 -3
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +92 -92
  559. package/dist/reference/instructions.js +84 -84
  560. package/dist/reference.js +84 -84
  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 +91 -91
  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 +3 -3
  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 +13 -13
  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 +2 -2
  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 +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +225 -225
  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 +149 -149
  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 +209 -209
  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 +101 -101
  623. package/dist/snapshot.js +88 -88
  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 +121 -121
  628. package/dist/tool/plugin/edit.js +113 -113
  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 +120 -120
  632. package/dist/tool/plugin/opencode.js +3 -3
  633. package/dist/tool/plugin/patch.js +113 -113
  634. package/dist/tool/plugin/question.js +100 -100
  635. package/dist/tool/plugin/read.js +121 -121
  636. package/dist/tool/plugin/shell.js +212 -212
  637. package/dist/tool/plugin/skill.js +108 -108
  638. package/dist/tool/plugin/subagent.js +214 -214
  639. package/dist/tool/plugin/webfetch.js +107 -107
  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 +13 -13
  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 +5 -5
  655. package/dist/v1/config/attachment.js +4 -4
  656. package/dist/v1/config/command.js +1 -1
  657. package/dist/v1/config/config.js +16 -16
  658. package/dist/v1/config/error.js +2 -2
  659. package/dist/v1/config/formatter.js +3 -3
  660. package/dist/v1/config/layout.js +1 -1
  661. package/dist/v1/config/lsp.js +3 -3
  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 +3 -3
  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 +74 -74
  675. package/dist/wellknown.js +77 -77
  676. package/dist/workspace/driver.js +7 -7
  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 +89 -89
  684. package/package.json +8 -8
  685. package/dist/chunks/schema-619r8v3y.js +0 -18
  686. package/dist/chunks/schema-6kdq0pjd.js +0 -4
  687. package/dist/chunks/schema-9bt6bcbt.js +0 -247
  688. package/dist/chunks/schema-ky4k0tjn.js +0 -22
  689. /package/dist/chunks/{schema-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{schema-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{schema-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{schema-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{schema-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{schema-2710q6r3.js → workspace-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{schema-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{schema-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{schema-359p4xyc.js → workspace-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{schema-3asan66x.js → workspace-3asan66x.js} +0 -0
  699. /package/dist/chunks/{schema-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{schema-3w5fmr99.js → workspace-3w5fmr99.js} +0 -0
  701. /package/dist/chunks/{schema-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{schema-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{schema-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{schema-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{schema-53557ph1.js → workspace-53557ph1.js} +0 -0
  706. /package/dist/chunks/{schema-550bvhaj.js → workspace-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{schema-6prwharc.js → workspace-6prwharc.js} +0 -0
  708. /package/dist/chunks/{schema-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{schema-7m9af43g.js → workspace-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{schema-822emrt2.js → workspace-822emrt2.js} +0 -0
  711. /package/dist/chunks/{schema-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
  712. /package/dist/chunks/{schema-8n3pysct.js → workspace-8n3pysct.js} +0 -0
  713. /package/dist/chunks/{schema-922hggd3.js → workspace-922hggd3.js} +0 -0
  714. /package/dist/chunks/{schema-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
  715. /package/dist/chunks/{schema-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
  716. /package/dist/chunks/{schema-a1tpkmh4.js → workspace-a1tpkmh4.js} +0 -0
  717. /package/dist/chunks/{schema-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{schema-af5trqkr.js → workspace-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{schema-afrmfg78.js → workspace-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{schema-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{schema-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{schema-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{schema-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{schema-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{schema-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{schema-d9fn303g.js → workspace-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{schema-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{schema-dajrwvna.js → workspace-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{schema-dap0rakb.js → workspace-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{schema-df08tz66.js → workspace-df08tz66.js} +0 -0
  731. /package/dist/chunks/{schema-dy18nga0.js → workspace-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{schema-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{schema-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{schema-ec1grn59.js → workspace-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{schema-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{schema-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{schema-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{schema-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{schema-faypxj3z.js → workspace-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{schema-fd410y7t.js → workspace-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{schema-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{schema-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{schema-g86h250q.js → workspace-g86h250q.js} +0 -0
  744. /package/dist/chunks/{schema-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{schema-gftt206x.js → workspace-gftt206x.js} +0 -0
  746. /package/dist/chunks/{schema-hjbc5kem.js → workspace-hjbc5kem.js} +0 -0
  747. /package/dist/chunks/{schema-hk9envan.js → workspace-hk9envan.js} +0 -0
  748. /package/dist/chunks/{schema-hrnqkpcd.js → workspace-hrnqkpcd.js} +0 -0
  749. /package/dist/chunks/{schema-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{schema-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{schema-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{schema-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{schema-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{schema-mp448xyj.js → workspace-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{schema-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{schema-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{schema-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{schema-njntx4h6.js → workspace-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{schema-paphc93g.js → workspace-paphc93g.js} +0 -0
  760. /package/dist/chunks/{schema-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
  761. /package/dist/chunks/{schema-q74kybfr.js → workspace-q74kybfr.js} +0 -0
  762. /package/dist/chunks/{schema-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
  763. /package/dist/chunks/{schema-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
  764. /package/dist/chunks/{schema-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
  765. /package/dist/chunks/{schema-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{schema-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{schema-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{schema-sk3qaz4a.js → workspace-sk3qaz4a.js} +0 -0
  769. /package/dist/chunks/{schema-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
  770. /package/dist/chunks/{schema-twg0f83k.js → workspace-twg0f83k.js} +0 -0
  771. /package/dist/chunks/{schema-w803qqfp.js → workspace-w803qqfp.js} +0 -0
  772. /package/dist/chunks/{schema-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
  773. /package/dist/chunks/{schema-wtztk69x.js → workspace-wtztk69x.js} +0 -0
  774. /package/dist/chunks/{schema-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
  775. /package/dist/chunks/{schema-x61499pn.js → workspace-x61499pn.js} +0 -0
  776. /package/dist/chunks/{schema-y44na4kk.js → workspace-y44na4kk.js} +0 -0
  777. /package/dist/chunks/{schema-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
  778. /package/dist/chunks/{schema-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
  779. /package/dist/chunks/{schema-ym463w8f.js → workspace-ym463w8f.js} +0 -0
  780. /package/dist/chunks/{schema-z9919s4g.js → workspace-z9919s4g.js} +0 -0
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./schema-vyjxsjpz.js";
4
+ } from "./workspace-9n5bgjha.js";
5
5
  import {
6
6
  Service79,
7
7
  node84
8
- } from "./schema-p58x6frn.js";
8
+ } from "./workspace-wn4kdw9q.js";
9
9
  import {
10
- Service49,
11
- node52
12
- } from "./schema-v8jfbz3g.js";
10
+ Service53,
11
+ node56
12
+ } from "./workspace-0hf9g8pg.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./schema-922hggd3.js";
16
+ } from "./workspace-922hggd3.js";
17
17
  import {
18
- Service71,
19
- node76
20
- } from "./schema-r007a4a3.js";
18
+ Service62,
19
+ node65
20
+ } from "./workspace-k1hbjbhr.js";
21
21
  import {
22
22
  Ref2
23
- } from "./schema-pr80m118.js";
23
+ } from "./workspace-v1cqtm69.js";
24
24
  import {
25
- Service64,
26
- node68
27
- } from "./schema-62t5ee4h.js";
25
+ Service54,
26
+ node57
27
+ } from "./workspace-t7b1xacm.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./schema-gftt206x.js";
30
+ } from "./workspace-gftt206x.js";
31
31
  import {
32
32
  NotFoundError7
33
- } from "./schema-ann5hjcn.js";
33
+ } from "./workspace-c4t116nm.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./schema-ec1grn59.js";
36
+ } from "./workspace-ec1grn59.js";
37
37
  import {
38
- Service46
39
- } from "./schema-dhmh7aw6.js";
38
+ Service50
39
+ } from "./workspace-baaqp4zd.js";
40
40
  import {
41
- Service52,
42
- node55
43
- } from "./schema-d1z56afy.js";
41
+ Service57,
42
+ node60
43
+ } from "./workspace-gwwc15b8.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
- Service47,
48
- node50,
47
+ Service51,
48
+ node54,
49
49
  moveIDs2
50
- } from "./schema-p0qwd5gw.js";
50
+ } from "./workspace-wwhdthxc.js";
51
51
  import {
52
- Service45,
53
- node49
54
- } from "./schema-cfzd05x5.js";
52
+ Service49,
53
+ node53
54
+ } from "./workspace-qqbqqn54.js";
55
55
  import {
56
- node33
57
- } from "./schema-6xtbsy03.js";
56
+ node26
57
+ } from "./workspace-f5agypy8.js";
58
58
  import {
59
59
  __export
60
- } from "./schema-9rqn6x4v.js";
60
+ } from "./workspace-9rqn6x4v.js";
61
61
 
62
62
  // src/session/move.ts
63
63
  var exports_move = {};
@@ -65,9 +65,9 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service28,
68
+ Service: () => Service21,
69
69
  SessionMove: () => exports_move,
70
- node: () => node32
70
+ node: () => node25
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode/util/fs-util";
@@ -83,17 +83,17 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service28 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service21 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service28, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service21, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
- const projects = yield* Service71;
92
- const locations = yield* Service64;
93
- const store = yield* Service52;
94
- const execution = yield* Service45;
95
- const instances = yield* Service49;
96
- const admission = yield* Service47;
91
+ const projects = yield* Service62;
92
+ const locations = yield* Service54;
93
+ const store = yield* Service57;
94
+ const execution = yield* Service49;
95
+ const instances = yield* Service53;
96
+ const admission = yield* Service51;
97
97
  const database = yield* Service80;
98
98
  const bus = yield* Service79;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service46.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
134
+ return yield* Service50.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
135
135
  });
136
- return Service28.of({
136
+ return Service21.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node32 = makeGlobalNode({
167
- service: Service28,
166
+ var node25 = makeGlobalNode({
167
+ service: Service21,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
- node76,
173
- node68,
174
- node55,
175
- node49,
176
- node52,
177
- node50,
172
+ node65,
173
+ node57,
174
+ node60,
175
+ node53,
176
+ node56,
177
+ node54,
178
178
  node85,
179
179
  node84,
180
- node33
180
+ node26
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service28, node32, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service21, node25, exports_move };
@@ -3,34 +3,34 @@ import {
3
3
  WrongKind2,
4
4
  Failed2,
5
5
  typeFollowing2
6
- } from "./schema-2a5m3afh.js";
6
+ } from "./workspace-2a5m3afh.js";
7
7
  import {
8
8
  execDefaults2
9
- } from "./schema-1dazxqgg.js";
9
+ } from "./workspace-1dazxqgg.js";
10
10
  import {
11
11
  makeLocalDriver2
12
- } from "./schema-b6gygkdw.js";
12
+ } from "./workspace-b6gygkdw.js";
13
13
  import {
14
14
  makeMemoryDriver2
15
- } from "./schema-aaet6srn.js";
15
+ } from "./workspace-aaet6srn.js";
16
16
  import {
17
- Service70,
18
- node75
19
- } from "./schema-pr80m118.js";
17
+ Service61,
18
+ node64
19
+ } from "./workspace-v1cqtm69.js";
20
20
  import {
21
- Service66,
22
- node70
23
- } from "./schema-s4bpprrf.js";
21
+ Service68,
22
+ node71
23
+ } from "./workspace-dffz74yj.js";
24
24
  import {
25
25
  __export
26
- } from "./schema-9rqn6x4v.js";
26
+ } from "./workspace-9rqn6x4v.js";
27
27
 
28
28
  // src/environment/environment.ts
29
29
  var exports_environment2 = {};
30
30
  __export(exports_environment2, {
31
31
  EnvironmentService: () => exports_environment2,
32
- Service: () => Service65,
33
- node: () => node69
32
+ Service: () => Service40,
33
+ node: () => node44
34
34
  });
35
35
  import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,13 +43,13 @@ __export(exports_environment3, {
43
43
  Environment: () => exports_environment3,
44
44
  Failed: () => Failed2,
45
45
  NotFound: () => NotFound2,
46
- Service: () => Service65,
46
+ Service: () => Service40,
47
47
  WrongKind: () => WrongKind2,
48
48
  execDefaults: () => execDefaults2,
49
49
  makeFiles: () => makeFiles2,
50
50
  makeLocalDriver: () => makeLocalDriver2,
51
51
  makeMemoryDriver: () => makeMemoryDriver2,
52
- node: () => node69,
52
+ node: () => node44,
53
53
  typeFollowing: () => typeFollowing2
54
54
  });
55
55
  var makeFiles2 = (driver) => ({
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
58
58
  });
59
59
 
60
60
  // src/environment/environment.ts
61
- class Service65 extends Context.Service()("@opencode/Environment") {
61
+ class Service40 extends Context.Service()("@opencode/Environment") {
62
62
  }
63
- var layer = Layer.effect(Service65, Effect.gen(function* () {
63
+ var layer = Layer.effect(Service40, Effect.gen(function* () {
64
64
  const spawner = yield* ChildProcessSpawner;
65
- const location = yield* Service70;
66
- const workspace = yield* Service66;
65
+ const location = yield* Service61;
66
+ const workspace = yield* Service68;
67
67
  const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
68
- return Service65.of({ files: makeFiles2(driver), spawner: driver.spawner });
68
+ return Service40.of({ files: makeFiles2(driver), spawner: driver.spawner });
69
69
  }));
70
- var node69 = makeLocationNode({
71
- service: Service65,
70
+ var node44 = makeLocationNode({
71
+ service: Service40,
72
72
  layer,
73
- deps: [CrossSpawnSpawner.node, node75, node70]
73
+ deps: [CrossSpawnSpawner.node, node64, node71]
74
74
  });
75
75
 
76
- export { Service65, node69, exports_environment2, makeFiles2, exports_environment3 };
76
+ export { Service40, node44, exports_environment2, makeFiles2, exports_environment3 };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./schema-88xbtdfr.js";
3
+ } from "./workspace-88xbtdfr.js";
4
4
  import {
5
5
  load2
6
- } from "./schema-paphc93g.js";
6
+ } from "./workspace-paphc93g.js";
7
7
  import {
8
8
  __export
9
- } from "./schema-9rqn6x4v.js";
9
+ } from "./workspace-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event9,
14
+ Event: () => Event6,
15
15
  Native: () => Native3,
16
- Options: () => Options8,
17
- Service: () => Service44,
16
+ Options: () => Options5,
17
+ Service: () => Service42,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured7,
20
+ configured: () => configured5,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer18,
22
+ layer: () => layer16,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node48,
25
+ node: () => node46,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper";
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event9 = { Updated: FileSystem.Event.Changed };
36
+ var Event6 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
39
  return createWrapper(load2());
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options8 = Schema.Struct({
56
+ var Options5 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service44 extends Context.Service()("@opencode/Watcher") {
60
+ class Service42 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer18 = (options) => Layer.effect(Service44, Effect.gen(function* () {
65
+ var layer16 = (options) => Layer.effect(Service42, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service44.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service42.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer18 = (options) => Layer.effect(Service44, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service44.of({ subscribe });
108
+ return Service42.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer18().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer16().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service44).subscribe,
134
+ subscribe: Context.get(context, Service42).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service44, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service42, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured7(options) {
168
- return makeGlobalNode({ service: Service44, layer: layer18(options), deps: [nativeNode2] });
167
+ function configured5(options) {
168
+ return makeGlobalNode({ service: Service42, layer: layer16(options), deps: [nativeNode2] });
169
169
  }
170
- var node48 = configured7();
170
+ var node46 = configured5();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event9, hasNativeBinding2, Native3, Options8, Service44, Test3, layer18, testLayer3, nativeLayer2, nativeNode2, configured7, node48, exports_watcher };
190
+ export { Event6, hasNativeBinding2, Native3, Options5, Service42, Test3, layer16, testLayer3, nativeLayer2, nativeNode2, configured5, node46, exports_watcher };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service56
3
- } from "./schema-n0amp1ck.js";
2
+ Service67
3
+ } from "./workspace-p129658b.js";
4
4
  import {
5
- Service27
6
- } from "./schema-50ew5km2.js";
5
+ Service20
6
+ } from "./workspace-awhdw3pf.js";
7
7
  import {
8
8
  text2,
9
9
  deliver2
10
- } from "./schema-x1ezjp6w.js";
10
+ } from "./workspace-x1ezjp6w.js";
11
11
  import {
12
12
  __export
13
- } from "./schema-9rqn6x4v.js";
13
+ } from "./workspace-9rqn6x4v.js";
14
14
 
15
15
  // src/session/subagent-job.ts
16
16
  var exports_subagent_job = {};
17
17
  __export(exports_subagent_job, {
18
18
  SubagentJob: () => exports_subagent_job,
19
- make: () => make10
19
+ make: () => make9
20
20
  });
21
21
  import { Effect, Scope } from "effect";
22
- var make10 = Effect.gen(function* () {
23
- const sessions = yield* Service27;
24
- const jobs = yield* Service56;
22
+ var make9 = Effect.gen(function* () {
23
+ const sessions = yield* Service20;
24
+ const jobs = yield* Service67;
25
25
  const scope = yield* Scope.Scope;
26
26
  const notifications = new Set;
27
27
  const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
@@ -58,4 +58,4 @@ var make10 = Effect.gen(function* () {
58
58
  };
59
59
  });
60
60
 
61
- export { make10, exports_subagent_job };
61
+ export { make9, exports_subagent_job };
@@ -3,28 +3,28 @@ import {
3
3
  UnsupportedPackageError3,
4
4
  UnresolvedProviderVariablesError3,
5
5
  UnsupportedCompactionError3,
6
- Service73,
7
- node78
8
- } from "./schema-mey9myn8.js";
6
+ Service55,
7
+ node58
8
+ } from "./workspace-dvzjgrza.js";
9
9
  import {
10
10
  SessionSchema2
11
- } from "./schema-sfvj2g2k.js";
11
+ } from "./workspace-93hpb89x.js";
12
12
  import {
13
13
  __export
14
- } from "./schema-9rqn6x4v.js";
14
+ } from "./workspace-9rqn6x4v.js";
15
15
 
16
16
  // src/session/runner/model.ts
17
17
  var exports_model = {};
18
18
  __export(exports_model, {
19
19
  ModelNotSelectedError: () => ModelNotSelectedError2,
20
20
  ModelUnavailableError: () => ModelUnavailableError2,
21
- Service: () => Service48,
21
+ Service: () => Service52,
22
22
  SessionRunnerModel: () => exports_model,
23
23
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
24
24
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
25
25
  UnsupportedPackageError: () => UnsupportedPackageError2,
26
26
  VariantUnavailableError: () => VariantUnavailableError2,
27
- node: () => node51,
27
+ node: () => node55,
28
28
  resolved: () => resolved2
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -51,7 +51,7 @@ var UnsupportedPackageError2 = UnsupportedPackageError3;
51
51
  var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
52
52
  var UnsupportedCompactionError2 = UnsupportedCompactionError3;
53
53
 
54
- class Service48 extends Context.Service()("@opencode/SessionRunnerModel") {
54
+ class Service52 extends Context.Service()("@opencode/SessionRunnerModel") {
55
55
  }
56
56
  var resolved2 = (model, options) => ({
57
57
  model,
@@ -65,9 +65,9 @@ var resolved2 = (model, options) => ({
65
65
  limit: options.limit,
66
66
  compaction: options.compaction
67
67
  });
68
- var layer = Layer.effect(Service48, Effect.gen(function* () {
69
- const resolver = yield* Service73;
70
- return Service48.of({
68
+ var layer = Layer.effect(Service52, Effect.gen(function* () {
69
+ const resolver = yield* Service55;
70
+ return Service52.of({
71
71
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
72
72
  if (!session.model) {
73
73
  const resolved = yield* resolver.resolve();
@@ -85,6 +85,6 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
85
85
  })
86
86
  });
87
87
  }));
88
- var node51 = makeLocationNode({ service: Service48, layer, deps: [node78] });
88
+ var node55 = makeLocationNode({ service: Service52, layer, deps: [node58] });
89
89
 
90
- export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service48, resolved2, node51, exports_model };
90
+ export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service52, resolved2, node55, exports_model };
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID15,
2
+ ID16,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./schema-dt849bc4.js";
5
+ } from "./workspace-84tssp1s.js";
6
6
  import {
7
- ID14
8
- } from "./schema-fban3jjy.js";
7
+ ID15
8
+ } from "./workspace-g5twr0sp.js";
9
9
  import {
10
10
  Service79
11
- } from "./schema-p58x6frn.js";
11
+ } from "./workspace-wn4kdw9q.js";
12
12
  import {
13
13
  OAuth3,
14
- Event19
15
- } from "./schema-7k98zq5j.js";
14
+ Event18
15
+ } from "./workspace-0cmfkvjr.js";
16
16
  import {
17
- ID16,
17
+ ID11,
18
18
  MethodID2
19
- } from "./schema-jmarb9hd.js";
19
+ } from "./workspace-eh4km76q.js";
20
20
  import {
21
- Service75
22
- } from "./schema-hstcsx0c.js";
21
+ Service64
22
+ } from "./workspace-1s5kemrg.js";
23
23
  import {
24
- get2
25
- } from "./schema-3ezse2vx.js";
24
+ get3
25
+ } from "./workspace-gk38wydt.js";
26
26
  import {
27
27
  useragent2
28
- } from "./schema-9sx9q53n.js";
28
+ } from "./workspace-qzyph8ek.js";
29
29
 
30
30
  // src/plugin/provider/github-copilot.ts
31
31
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -57,7 +57,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
57
57
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
58
58
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
59
59
  var oauth = (app) => ({
60
- integrationID: ID16.make("github-copilot"),
60
+ integrationID: ID11.make("github-copilot"),
61
61
  method: {
62
62
  id: methodID,
63
63
  type: "oauth",
@@ -155,7 +155,7 @@ var oauth = (app) => ({
155
155
  var GithubCopilotPlugin2 = define({
156
156
  id: "opencode.provider.github.copilot",
157
157
  effect: Effect.fn(function* (ctx) {
158
- const catalog = yield* Service75;
158
+ const catalog = yield* Service64;
159
159
  const bus = yield* Service79;
160
160
  const loading = Semaphore.makeUnsafe(1);
161
161
  const loaded = {};
@@ -170,10 +170,10 @@ var GithubCopilotPlugin2 = define({
170
170
  return;
171
171
  }
172
172
  loaded.baseURL = copilotBaseURL2(credential.metadata);
173
- const provider = yield* catalog.provider.get(ID15.githubCopilot);
174
- const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID15.githubCopilot);
173
+ const provider = yield* catalog.provider.get(ID16.githubCopilot);
174
+ const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID16.githubCopilot);
175
175
  loaded.models = yield* Effect.tryPromise({
176
- try: () => get2(loaded.baseURL ?? baseURL(), {
176
+ try: () => get3(loaded.baseURL ?? baseURL(), {
177
177
  ...provider?.headers,
178
178
  Authorization: `Bearer ${credential.refresh}`,
179
179
  "User-Agent": useragent2(ctx.app),
@@ -187,12 +187,12 @@ var GithubCopilotPlugin2 = define({
187
187
  editor.method.update(oauth(ctx.app));
188
188
  });
189
189
  yield* ctx.catalog.transform((evt) => {
190
- const item = evt.provider.get(ID15.githubCopilot);
190
+ const item = evt.provider.get(ID16.githubCopilot);
191
191
  if (!item)
192
192
  return;
193
193
  if (loaded.models) {
194
194
  for (const id of item.models.keys()) {
195
- if (!loaded.models.has(ID14.make(id)))
195
+ if (!loaded.models.has(ID15.make(id)))
196
196
  evt.model.remove(item.provider.id, id);
197
197
  }
198
198
  for (const [id, model] of loaded.models) {
@@ -207,17 +207,17 @@ var GithubCopilotPlugin2 = define({
207
207
  });
208
208
  }
209
209
  }
210
- if (item.models.has(ID14.make("gpt-5-chat-latest"))) {
211
- evt.model.update(item.provider.id, ID14.make("gpt-5-chat-latest"), (model) => {
210
+ if (item.models.has(ID15.make("gpt-5-chat-latest"))) {
211
+ evt.model.update(item.provider.id, ID15.make("gpt-5-chat-latest"), (model) => {
212
212
  model.enabled = false;
213
213
  });
214
214
  }
215
215
  });
216
216
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
217
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
217
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID11.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
218
218
  yield* refresh().pipe(Effect.forkScoped);
219
219
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
220
- if (evt.model.providerID !== ID15.githubCopilot)
220
+ if (evt.model.providerID !== ID16.githubCopilot)
221
221
  return;
222
222
  if (evt.package !== "@ai-sdk/github-copilot")
223
223
  return;
@@ -226,7 +226,7 @@ var GithubCopilotPlugin2 = define({
226
226
  evt.sdk = mod.createOpenaiCompatible(evt.options);
227
227
  }));
228
228
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
229
- if (evt.model.providerID !== ID15.githubCopilot)
229
+ if (evt.model.providerID !== ID16.githubCopilot)
230
230
  return;
231
231
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
232
232
  return;
@@ -236,9 +236,9 @@ var GithubCopilotPlugin2 = define({
236
236
  evt.headers["X-Interaction-Id"] = evt.sessionID;
237
237
  if (interaction !== "conversation-agent")
238
238
  evt.headers["x-initiator"] = "agent";
239
- }), { providerID: ID15.githubCopilot });
239
+ }), { providerID: ID16.githubCopilot });
240
240
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
241
- if (evt.model.providerID !== ID15.githubCopilot)
241
+ if (evt.model.providerID !== ID16.githubCopilot)
242
242
  return;
243
243
  const token = evt.request.headers.get("x-api-key");
244
244
  if (!token)
@@ -246,9 +246,9 @@ var GithubCopilotPlugin2 = define({
246
246
  const text = yield* Effect.promise(() => evt.request.clone().text());
247
247
  const body = Option.getOrUndefined(decodeBody(text));
248
248
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
249
- }), { providerID: ID15.githubCopilot });
249
+ }), { providerID: ID16.githubCopilot });
250
250
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
251
- if (evt.model.providerID !== ID15.githubCopilot)
251
+ if (evt.model.providerID !== ID16.githubCopilot)
252
252
  return;
253
253
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
254
254
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./schema-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/session/run-coordinator.ts
6
6
  var exports_run_coordinator = {};
7
7
  __export(exports_run_coordinator, {
8
8
  SessionRunCoordinator: () => exports_run_coordinator,
9
- make: () => make16
9
+ make: () => make17
10
10
  });
11
11
  import { Deferred, Effect, Fiber, FiberSet } from "effect";
12
- var make16 = (options) => Effect.gen(function* () {
12
+ var make17 = (options) => Effect.gen(function* () {
13
13
  const executions = new Map;
14
14
  const fork = yield* FiberSet.makeRuntime();
15
15
  const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
@@ -89,4 +89,4 @@ var make16 = (options) => Effect.gen(function* () {
89
89
  };
90
90
  });
91
91
 
92
- export { make16, exports_run_coordinator };
92
+ export { make17, exports_run_coordinator };