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

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 +7 -7
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{file-mutation-rqe8k6zz.js → workspace-0cmfkvjr.js} +33 -33
  9. package/dist/chunks/{file-mutation-x1cwef45.js → workspace-0em1p5dp.js} +71 -71
  10. package/dist/chunks/{file-mutation-s8d7rejh.js → workspace-0gdmqesm.js} +4 -4
  11. package/dist/chunks/{file-mutation-3c1tgrea.js → workspace-0hf9g8pg.js} +6 -6
  12. package/dist/chunks/{file-mutation-7dqw4kz8.js → workspace-0jwsre1p.js} +5 -5
  13. package/dist/chunks/{file-mutation-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{file-mutation-0q0f95c6.js → workspace-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{file-mutation-1szwbpnb.js → workspace-0s5v0p6k.js} +50 -50
  16. package/dist/chunks/{file-mutation-ycfq134k.js → workspace-0yq4eb34.js} +23 -23
  17. package/dist/chunks/{file-mutation-4987xj8v.js → workspace-10dffqyq.js} +22 -22
  18. package/dist/chunks/{file-mutation-jp8zdrch.js → workspace-12jdhdht.js} +9 -9
  19. package/dist/chunks/{file-mutation-bmkgz7g4.js → workspace-15pjexzy.js} +13 -13
  20. package/dist/chunks/{file-mutation-tzgbtwt8.js → workspace-19g3xj2s.js} +32 -32
  21. package/dist/chunks/{file-mutation-1acjjqhc.js → workspace-1acjjqhc.js} +1 -1
  22. package/dist/chunks/{file-mutation-1dazxqgg.js → workspace-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{file-mutation-1dfhrqqs.js → workspace-1dfhrqqs.js} +2 -2
  24. package/dist/chunks/{file-mutation-bjkwpmm4.js → workspace-1ev0k7s6.js} +8 -8
  25. package/dist/chunks/{file-mutation-jx68r56q.js → workspace-1jyjw0dy.js} +7 -7
  26. package/dist/chunks/{file-mutation-gj51d7zm.js → workspace-1s5kemrg.js} +28 -28
  27. package/dist/chunks/{file-mutation-n2vnpf0s.js → workspace-1s80jvpe.js} +19 -19
  28. package/dist/chunks/{file-mutation-jgr73rv7.js → workspace-1tbv6t5g.js} +46 -46
  29. package/dist/chunks/{file-mutation-chnmz1hg.js → workspace-1vtz46z8.js} +8 -8
  30. package/dist/chunks/{file-mutation-xh32439v.js → workspace-1yafz2c2.js} +24 -24
  31. package/dist/chunks/{file-mutation-21r38tys.js → workspace-21r38tys.js} +1 -1
  32. package/dist/chunks/{file-mutation-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
  33. package/dist/chunks/{file-mutation-5mc8sdd0.js → workspace-2fsj26k1.js} +15 -15
  34. package/dist/chunks/{file-mutation-jy802t3j.js → workspace-2nyvck04.js} +9 -9
  35. package/dist/chunks/{file-mutation-nmrfm0gg.js → workspace-2vg72gbq.js} +9 -9
  36. package/dist/chunks/{file-mutation-sg6k5evp.js → workspace-2yamwwtx.js} +10 -10
  37. package/dist/chunks/{file-mutation-vy0fz0t1.js → workspace-317x7tvz.js} +16 -16
  38. package/dist/chunks/{file-mutation-mv963wd8.js → workspace-323qkwbp.js} +10 -10
  39. package/dist/chunks/{file-mutation-56gdpj1q.js → workspace-33w4ejhs.js} +6 -6
  40. package/dist/chunks/{file-mutation-eyw5y5ns.js → workspace-36jkazxa.js} +5 -5
  41. package/dist/chunks/{file-mutation-2z69z2z6.js → workspace-39mbwg99.js} +10 -10
  42. package/dist/chunks/{file-mutation-3fc6dm20.js → workspace-3fc6dm20.js} +1 -1
  43. package/dist/chunks/{file-mutation-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{file-mutation-b6ef75he.js → workspace-3q6hd4jt.js} +12 -12
  45. package/dist/chunks/{file-mutation-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{file-mutation-gt0cxfk7.js → workspace-3trbxeqx.js} +1 -1
  47. package/dist/chunks/{file-mutation-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{file-mutation-p9jw5g8v.js → workspace-3v77a270.js} +28 -28
  49. package/dist/chunks/{file-mutation-f5afc4hg.js → workspace-40ztfmwz.js} +17 -17
  50. package/dist/chunks/{file-mutation-nz2mz1gd.js → workspace-42h2bxtq.js} +10 -10
  51. package/dist/chunks/{file-mutation-wes06vxe.js → workspace-43bvnm0c.js} +32 -32
  52. package/dist/chunks/{file-mutation-1e6zf924.js → workspace-48hw3qw3.js} +22 -22
  53. package/dist/chunks/{file-mutation-8m1xr3ks.js → workspace-4d61g8er.js} +45 -45
  54. package/dist/chunks/{file-mutation-94s48bjb.js → workspace-4dg124c5.js} +5 -5
  55. package/dist/chunks/{file-mutation-drknmmyh.js → workspace-4jmdj23e.js} +9 -9
  56. package/dist/chunks/{file-mutation-hswn8xy3.js → workspace-4rd6evxz.js} +18 -18
  57. package/dist/chunks/{file-mutation-hmhbz54a.js → workspace-4t57t1en.js} +14 -14
  58. package/dist/chunks/{file-mutation-cfkkrys1.js → workspace-4tq5d7x2.js} +25 -25
  59. package/dist/chunks/{file-mutation-b20qtm1y.js → workspace-4zb7zm34.js} +10 -10
  60. package/dist/chunks/{file-mutation-66q9z4br.js → workspace-4zbs3q2b.js} +32 -32
  61. package/dist/chunks/{file-mutation-fkpr039d.js → workspace-50p99xk2.js} +54 -54
  62. package/dist/chunks/{file-mutation-9afe43sd.js → workspace-51e3a5p7.js} +6 -6
  63. package/dist/chunks/{file-mutation-mfqdpyct.js → workspace-540a1fgr.js} +36 -36
  64. package/dist/chunks/{file-mutation-5kkfv654.js → workspace-5aktmhjp.js} +15 -15
  65. package/dist/chunks/{file-mutation-tds7k197.js → workspace-5cwvq4ff.js} +2 -2
  66. package/dist/chunks/{file-mutation-5daktx2q.js → workspace-5daktx2q.js} +1 -1
  67. package/dist/chunks/{file-mutation-h50gws74.js → workspace-5jfbnsm9.js} +50 -50
  68. package/dist/chunks/{file-mutation-vxe4sz8v.js → workspace-5kmnb5g6.js} +15 -15
  69. package/dist/chunks/{file-mutation-fjmrr6sh.js → workspace-5kptn8c0.js} +9 -9
  70. package/dist/chunks/{file-mutation-pysvbzwn.js → workspace-5nzafj0m.js} +11 -11
  71. package/dist/chunks/{file-mutation-pdn4nwyd.js → workspace-5pq3v0sk.js} +18 -18
  72. package/dist/chunks/{file-mutation-5t3nmthw.js → workspace-5t3nmthw.js} +2 -2
  73. package/dist/chunks/{file-mutation-tgcbeaxg.js → workspace-5yrg3hxm.js} +5 -5
  74. package/dist/chunks/{file-mutation-avqavnvr.js → workspace-60stz191.js} +37 -37
  75. package/dist/chunks/{file-mutation-3zpfh13e.js → workspace-61tdtcny.js} +13 -13
  76. package/dist/chunks/{file-mutation-669tq793.js → workspace-669tq793.js} +1 -1
  77. package/dist/chunks/{file-mutation-j87xf96j.js → workspace-66j98p5d.js} +28 -28
  78. package/dist/chunks/{file-mutation-4zfheq4h.js → workspace-6gfd5xf8.js} +29 -29
  79. package/dist/chunks/{file-mutation-2402vzrj.js → workspace-6h73sxmp.js} +5 -5
  80. package/dist/chunks/{file-mutation-6msgmcgs.js → workspace-6msgmcgs.js} +1 -1
  81. package/dist/chunks/{file-mutation-xq7xzvw5.js → workspace-6st33d4x.js} +26 -26
  82. package/dist/chunks/{file-mutation-71q4at8m.js → workspace-71q4at8m.js} +1 -1
  83. package/dist/chunks/{file-mutation-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
  84. package/dist/chunks/{file-mutation-h06ptj5x.js → workspace-7gb606e6.js} +16 -16
  85. package/dist/chunks/{file-mutation-k3zgx0jf.js → workspace-7gvp9cq5.js} +11 -11
  86. package/dist/chunks/{file-mutation-nmh3r2hf.js → workspace-7k17nv4j.js} +24 -24
  87. package/dist/chunks/{file-mutation-eznmj3sb.js → workspace-7mz653pd.js} +15 -15
  88. package/dist/chunks/{file-mutation-gexpj94d.js → workspace-7vbk9m4e.js} +18 -18
  89. package/dist/chunks/{file-mutation-06dxphr1.js → workspace-81czwxpn.js} +4 -4
  90. package/dist/chunks/{file-mutation-8e68mvyz.js → workspace-83q95eg7.js} +9 -9
  91. package/dist/chunks/{file-mutation-c7ecgrk6.js → workspace-84tssp1s.js} +6 -6
  92. package/dist/chunks/{file-mutation-ya82w510.js → workspace-86jav2f7.js} +26 -26
  93. package/dist/chunks/{file-mutation-bf4xsm60.js → workspace-8761qpcg.js} +36 -36
  94. package/dist/chunks/{file-mutation-8d7r5vzw.js → workspace-8d7r5vzw.js} +1 -1
  95. package/dist/chunks/{file-mutation-db4cj44h.js → workspace-8hpffc5d.js} +15 -15
  96. package/dist/chunks/{file-mutation-dj2t23y0.js → workspace-8p4f9s12.js} +2 -2
  97. package/dist/chunks/{file-mutation-38tk2frk.js → workspace-8p83gb6h.js} +6 -6
  98. package/dist/chunks/{file-mutation-shk0kkcm.js → workspace-90qgvd9n.js} +23 -23
  99. package/dist/chunks/{file-mutation-30av012k.js → workspace-91xp5nbf.js} +7 -7
  100. package/dist/chunks/{file-mutation-erj64bxn.js → workspace-93dyhyad.js} +17 -17
  101. package/dist/chunks/{file-mutation-7w99qc9d.js → workspace-93hpb89x.js} +3 -3
  102. package/dist/chunks/{file-mutation-89smrnyf.js → workspace-95x6xbkr.js} +4 -4
  103. package/dist/chunks/{file-mutation-amyqcmk0.js → workspace-97s80yy3.js} +12 -12
  104. package/dist/chunks/{file-mutation-sh51fs40.js → workspace-9a52esse.js} +26 -26
  105. package/dist/chunks/{file-mutation-h3x9dy5p.js → workspace-9cex7hp6.js} +57 -57
  106. package/dist/chunks/{file-mutation-5nsrms9d.js → workspace-9k2v62xn.js} +1 -1
  107. package/dist/chunks/{file-mutation-4kdtw8t2.js → workspace-9m6qag95.js} +28 -28
  108. package/dist/chunks/{file-mutation-arjzrn5a.js → workspace-9n5bgjha.js} +11 -11
  109. package/dist/chunks/{file-mutation-9vh5426k.js → workspace-9phvn7ns.js} +3 -3
  110. package/dist/chunks/{file-mutation-9zswys26.js → workspace-9zswys26.js} +2 -2
  111. package/dist/chunks/{file-mutation-hsze3szr.js → workspace-a1963bm0.js} +35 -35
  112. package/dist/chunks/{file-mutation-5c4hm403.js → workspace-a1bz86dw.js} +3 -3
  113. package/dist/chunks/{file-mutation-ccc85ntn.js → workspace-a2vj9kk6.js} +19 -19
  114. package/dist/chunks/{file-mutation-rr1pnw44.js → workspace-a68v6zx7.js} +8 -8
  115. package/dist/chunks/{file-mutation-aaet6srn.js → workspace-aaet6srn.js} +2 -2
  116. package/dist/chunks/{file-mutation-jwbqhvyy.js → workspace-af04s6ss.js} +5 -5
  117. package/dist/chunks/{file-mutation-t41sh3fy.js → workspace-ak2adswv.js} +18 -18
  118. package/dist/chunks/{file-mutation-844ef7ks.js → workspace-asmz7wyz.js} +8 -8
  119. package/dist/chunks/{file-mutation-7w3s9kd0.js → workspace-awaee7qt.js} +5 -5
  120. package/dist/chunks/{file-mutation-1bbvzyjf.js → workspace-awhdw3pf.js} +74 -74
  121. package/dist/chunks/{file-mutation-0n9gyfew.js → workspace-awz7xhfp.js} +4 -4
  122. package/dist/chunks/{file-mutation-g4pfa4xx.js → workspace-ayjzdqkx.js} +4 -4
  123. package/dist/chunks/{file-mutation-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
  124. package/dist/chunks/{file-mutation-d8jb5f6w.js → workspace-b8gwhbay.js} +24 -24
  125. package/dist/chunks/{file-mutation-hn57h045.js → workspace-baaqp4zd.js} +4 -4
  126. package/dist/chunks/{file-mutation-v3czrx3e.js → workspace-beamd2gc.js} +7 -7
  127. package/dist/chunks/{file-mutation-5st6evmp.js → workspace-bgqpk6ej.js} +5 -5
  128. package/dist/chunks/{file-mutation-f0754xwj.js → workspace-bh0wyjv7.js} +6 -6
  129. package/dist/chunks/{file-mutation-v0pcpx2w.js → workspace-bkqaqtv1.js} +20 -20
  130. package/dist/chunks/{file-mutation-ddg0keqc.js → workspace-bskx12th.js} +7 -7
  131. package/dist/chunks/{file-mutation-gn45qare.js → workspace-bsxfqzhc.js} +11 -11
  132. package/dist/chunks/{file-mutation-fgdcpdkn.js → workspace-bt8hdx22.js} +20 -20
  133. package/dist/chunks/{file-mutation-tzr8x31v.js → workspace-c0mtdgpv.js} +18 -18
  134. package/dist/chunks/{file-mutation-h4bphj8q.js → workspace-c4t116nm.js} +6 -6
  135. package/dist/chunks/{file-mutation-j3se2fan.js → workspace-c82pnra3.js} +30 -30
  136. package/dist/chunks/workspace-cdm0865e.js +462 -0
  137. package/dist/chunks/{file-mutation-m0jqrx5p.js → workspace-cfpkc3c9.js} +2 -2
  138. package/dist/chunks/{file-mutation-4q68rcfa.js → workspace-cgnjyr8a.js} +50 -50
  139. package/dist/chunks/{file-mutation-nhwrnnz4.js → workspace-cjsvwj1q.js} +13 -13
  140. package/dist/chunks/{file-mutation-pyakq9xe.js → workspace-cwtysmh4.js} +12 -12
  141. package/dist/chunks/{file-mutation-ts3py094.js → workspace-d53dp3ny.js} +11 -11
  142. package/dist/chunks/{file-mutation-qbqjg59n.js → workspace-d5a42mez.js} +20 -20
  143. package/dist/chunks/{file-mutation-xnwaa15y.js → workspace-dffz74yj.js} +29 -29
  144. package/dist/chunks/{file-mutation-et0rkxxj.js → workspace-dgmwn8ez.js} +5 -5
  145. package/dist/chunks/{file-mutation-5sj81wm5.js → workspace-dj9sq318.js} +5 -5
  146. package/dist/chunks/{file-mutation-mn0r11pb.js → workspace-dvzjgrza.js} +39 -39
  147. package/dist/chunks/{file-mutation-z8c31j70.js → workspace-e3b0d0gy.js} +9 -9
  148. package/dist/chunks/{file-mutation-t85qda8j.js → workspace-e4k3fffr.js} +21 -21
  149. package/dist/chunks/{file-mutation-0wqxq3st.js → workspace-ed1arge1.js} +18 -18
  150. package/dist/chunks/{file-mutation-6bbmfhx2.js → workspace-eds7zwp6.js} +30 -30
  151. package/dist/chunks/{file-mutation-g6dyb386.js → workspace-eh4km76q.js} +27 -27
  152. package/dist/chunks/{file-mutation-j4g328tf.js → workspace-ej8xv5ds.js} +3 -3
  153. package/dist/chunks/{file-mutation-mvfsc1pv.js → workspace-eq1pz5kg.js} +3 -3
  154. package/dist/chunks/{file-mutation-1wxb385z.js → workspace-esdnemd6.js} +1 -1
  155. package/dist/chunks/{file-mutation-etq0c3wd.js → workspace-etq0c3wd.js} +1 -1
  156. package/dist/chunks/{file-mutation-jmx3m735.js → workspace-ewztbjbx.js} +169 -169
  157. package/dist/chunks/{file-mutation-n39s91yj.js → workspace-f10twq9w.js} +11 -11
  158. package/dist/chunks/{file-mutation-e8q8ymv9.js → workspace-f4x3f9y9.js} +29 -29
  159. package/dist/chunks/{file-mutation-gahfey0t.js → workspace-f5agypy8.js} +20 -20
  160. package/dist/chunks/{file-mutation-hdnk95c8.js → workspace-f828m53h.js} +2 -2
  161. package/dist/chunks/{file-mutation-1rn2x45b.js → workspace-fmah640z.js} +13 -13
  162. package/dist/chunks/{file-mutation-jhetwysa.js → workspace-fq1h1v14.js} +3 -3
  163. package/dist/chunks/{file-mutation-fg2bnwc2.js → workspace-fvr7jna4.js} +13 -13
  164. package/dist/chunks/{file-mutation-fxbjtjnd.js → workspace-fxbjtjnd.js} +1 -1
  165. package/dist/chunks/{file-mutation-yvmq8qxx.js → workspace-g5twr0sp.js} +12 -12
  166. package/dist/chunks/{file-mutation-a46v4e4v.js → workspace-g8d3gcyj.js} +7 -7
  167. package/dist/chunks/{file-mutation-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
  168. package/dist/chunks/{file-mutation-tb9sktrw.js → workspace-gf3khw20.js} +13 -13
  169. package/dist/chunks/{file-mutation-493f7437.js → workspace-gk38wydt.js} +17 -17
  170. package/dist/chunks/{file-mutation-yyb7tjpc.js → workspace-gv6a8nnw.js} +2 -2
  171. package/dist/chunks/{file-mutation-tv90gqe8.js → workspace-gwwc15b8.js} +15 -15
  172. package/dist/chunks/{file-mutation-h03wrkyp.js → workspace-h03wrkyp.js} +2 -2
  173. package/dist/chunks/{file-mutation-t8mcaem5.js → workspace-h2gyv3sg.js} +1 -1
  174. package/dist/chunks/{file-mutation-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
  175. package/dist/chunks/{file-mutation-q8qja58b.js → workspace-h7ygw6q4.js} +2 -2
  176. package/dist/chunks/{file-mutation-9f29k48v.js → workspace-hrhrxexm.js} +4 -4
  177. package/dist/chunks/{file-mutation-j56e64zr.js → workspace-j56e64zr.js} +1 -1
  178. package/dist/chunks/{file-mutation-9d2a04sx.js → workspace-j69p6wmc.js} +28 -28
  179. package/dist/chunks/{file-mutation-czzymjv3.js → workspace-j6rj9xt6.js} +41 -41
  180. package/dist/chunks/{file-mutation-fszq3ebn.js → workspace-jab8rdhp.js} +6 -6
  181. package/dist/chunks/{file-mutation-k92qbpdh.js → workspace-jh06ctgk.js} +35 -35
  182. package/dist/chunks/{file-mutation-vy4zx9mg.js → workspace-jwqth68t.js} +22 -22
  183. package/dist/chunks/{file-mutation-8xvfbpps.js → workspace-jxn2j4b1.js} +6 -6
  184. package/dist/chunks/{file-mutation-ay0mqvsw.js → workspace-k19spz14.js} +4 -4
  185. package/dist/chunks/{file-mutation-m1mhztjg.js → workspace-k1hbjbhr.js} +46 -46
  186. package/dist/chunks/{file-mutation-jt1jb6n6.js → workspace-kenqsagb.js} +6 -6
  187. package/dist/chunks/{file-mutation-9m1j547z.js → workspace-kfdzm4dd.js} +28 -28
  188. package/dist/chunks/{file-mutation-kg06axw8.js → workspace-kg06axw8.js} +1 -1
  189. package/dist/chunks/{file-mutation-j1f3bjwj.js → workspace-kma43rbx.js} +33 -33
  190. package/dist/chunks/{file-mutation-cpy6gm2a.js → workspace-kxpygcw9.js} +6 -6
  191. package/dist/chunks/{file-mutation-apj1wc8h.js → workspace-m95v7z6z.js} +16 -16
  192. package/dist/chunks/{file-mutation-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
  193. package/dist/chunks/{file-mutation-mkcjrzeh.js → workspace-mkcjrzeh.js} +1 -1
  194. package/dist/chunks/{file-mutation-edbejkys.js → workspace-mpxhxrb2.js} +21 -21
  195. package/dist/chunks/{file-mutation-jva4mgym.js → workspace-mqy0jkn2.js} +4 -4
  196. package/dist/chunks/{file-mutation-ce2hxja8.js → workspace-mrk2ms14.js} +40 -40
  197. package/dist/chunks/{file-mutation-en74w496.js → workspace-mrw4weg4.js} +5 -5
  198. package/dist/chunks/{file-mutation-5dtztt9w.js → workspace-mtd5x7py.js} +20 -20
  199. package/dist/chunks/{file-mutation-4xtbmw5z.js → workspace-mw6ans9c.js} +5 -5
  200. package/dist/chunks/{file-mutation-me8n1f0m.js → workspace-mxj2eewr.js} +23 -23
  201. package/dist/chunks/{file-mutation-fqccbatp.js → workspace-n51qh0r9.js} +8 -8
  202. package/dist/chunks/{file-mutation-hjt4xg1x.js → workspace-nhy5jxhy.js} +4 -4
  203. package/dist/chunks/{file-mutation-qj8eh1ht.js → workspace-nrdmrqsx.js} +4 -4
  204. package/dist/chunks/{file-mutation-txcgvecv.js → workspace-ntgxvp5h.js} +11 -11
  205. package/dist/chunks/{file-mutation-3b4h19dh.js → workspace-p129658b.js} +17 -17
  206. package/dist/chunks/{file-mutation-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
  207. package/dist/chunks/{file-mutation-5jsmfmw5.js → workspace-pkjnw8xf.js} +27 -27
  208. package/dist/chunks/{file-mutation-pknna89w.js → workspace-pknna89w.js} +1 -1
  209. package/dist/chunks/{file-mutation-9dbsfx6n.js → workspace-pn6nrrpr.js} +27 -27
  210. package/dist/chunks/{file-mutation-xycjtdwc.js → workspace-pq4st5kv.js} +2 -2
  211. package/dist/chunks/{file-mutation-zhsd0qzh.js → workspace-q265yh5d.js} +9 -9
  212. package/dist/chunks/{file-mutation-ve4pfa0n.js → workspace-q2b1ymqp.js} +4 -4
  213. package/dist/chunks/{file-mutation-vp5vmy86.js → workspace-q3jq24j1.js} +8 -8
  214. package/dist/chunks/workspace-q509s3k3.js +18 -0
  215. package/dist/chunks/{file-mutation-ek135dac.js → workspace-qkek724z.js} +8 -8
  216. package/dist/chunks/{file-mutation-t3swkhbg.js → workspace-qn4ba14w.js} +5 -5
  217. package/dist/chunks/{file-mutation-ra8drftq.js → workspace-qqbqqn54.js} +40 -40
  218. package/dist/chunks/{file-mutation-qsdy395h.js → workspace-qsdy395h.js} +1 -1
  219. package/dist/chunks/{file-mutation-xb3f970q.js → workspace-qzyph8ek.js} +10 -10
  220. package/dist/chunks/{file-mutation-1qky1dph.js → workspace-r0nnab1q.js} +27 -27
  221. package/dist/chunks/{file-mutation-rjdxcr83.js → workspace-r7x04355.js} +36 -36
  222. package/dist/chunks/{file-mutation-x1r77kwh.js → workspace-rdz2tx67.js} +3 -3
  223. package/dist/chunks/{file-mutation-ew4n0ysj.js → workspace-rjqwr5dw.js} +24 -24
  224. package/dist/chunks/{file-mutation-5y3v8yyp.js → workspace-rme5v0wm.js} +10 -10
  225. package/dist/chunks/{file-mutation-y4kvf6na.js → workspace-rrjgssxh.js} +46 -46
  226. package/dist/chunks/{file-mutation-4mkcvr19.js → workspace-rs226bz6.js} +5 -5
  227. package/dist/chunks/{file-mutation-5bdbc12f.js → workspace-rtv6ahp9.js} +6 -6
  228. package/dist/chunks/{file-mutation-b2yvxq9g.js → workspace-rztdx977.js} +9 -9
  229. package/dist/chunks/{file-mutation-1zd2z3e5.js → workspace-s2bazk07.js} +26 -26
  230. package/dist/chunks/{file-mutation-989x2e3r.js → workspace-s5g9mpsf.js} +4 -4
  231. package/dist/chunks/{file-mutation-11n1c7wa.js → workspace-s6jr34qb.js} +31 -31
  232. package/dist/chunks/{file-mutation-v68haqbh.js → workspace-s7731dqm.js} +2 -2
  233. package/dist/chunks/{file-mutation-kk8h1mek.js → workspace-sp5zyyma.js} +8 -8
  234. package/dist/chunks/{file-mutation-xeqvbkwb.js → workspace-srvat6zp.js} +6 -6
  235. package/dist/chunks/{file-mutation-6h3wybc7.js → workspace-t6msp11s.js} +6 -6
  236. package/dist/chunks/{file-mutation-382x1p91.js → workspace-t6qa8pj9.js} +20 -20
  237. package/dist/chunks/{file-mutation-fpkv3smw.js → workspace-t7b1xacm.js} +8 -8
  238. package/dist/chunks/{file-mutation-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{file-mutation-tcezcvh9.js → workspace-tcezcvh9.js} +1 -1
  240. package/dist/chunks/{file-mutation-tdstcens.js → workspace-tdstcens.js} +1 -1
  241. package/dist/chunks/{file-mutation-tvtrv512.js → workspace-tvtrv512.js} +1 -1
  242. package/dist/chunks/{file-mutation-vd2v5vf9.js → workspace-v1cqtm69.js} +16 -16
  243. package/dist/chunks/{file-mutation-q5rhn9x0.js → workspace-v84z85pp.js} +11 -11
  244. package/dist/chunks/{file-mutation-8tn5cth9.js → workspace-v9ct93z2.js} +8 -8
  245. package/dist/chunks/{file-mutation-zxwpk2nb.js → workspace-vabb23s0.js} +1 -1
  246. package/dist/chunks/{file-mutation-ab0k302h.js → workspace-ve0zfa78.js} +11 -11
  247. package/dist/chunks/{file-mutation-veqvce7d.js → workspace-veqvce7d.js} +1 -1
  248. package/dist/chunks/{file-mutation-83x6p9kd.js → workspace-vypqtakx.js} +1 -1
  249. package/dist/chunks/{file-mutation-vzcthcp8.js → workspace-vzcthcp8.js} +1 -1
  250. package/dist/chunks/{file-mutation-pck3w1ab.js → workspace-vze96k0n.js} +4 -4
  251. package/dist/chunks/{file-mutation-r8bq8m7e.js → workspace-w23a9fg2.js} +3 -3
  252. package/dist/chunks/{file-mutation-kbx5grnm.js → workspace-w2ztz3kz.js} +10 -10
  253. package/dist/chunks/{file-mutation-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{file-mutation-wd87259q.js → workspace-wd87259q.js} +1 -1
  255. package/dist/chunks/{file-mutation-3b8sehd7.js → workspace-wgq3akg3.js} +29 -29
  256. package/dist/chunks/{file-mutation-sgfkh1bp.js → workspace-wkwfxgj3.js} +4 -4
  257. package/dist/chunks/{file-mutation-30evxvz3.js → workspace-wmqmw210.js} +8 -8
  258. package/dist/chunks/{file-mutation-v80gs2ga.js → workspace-wn4kdw9q.js} +16 -16
  259. package/dist/chunks/{file-mutation-x2fjf6jt.js → workspace-wv6yb1rv.js} +1 -1
  260. package/dist/chunks/{file-mutation-vy4m5cs8.js → workspace-wwhdthxc.js} +28 -28
  261. package/dist/chunks/{file-mutation-c51gv9kq.js → workspace-wynthrjp.js} +6 -6
  262. package/dist/chunks/{file-mutation-0achb7g5.js → workspace-wzkwse1s.js} +15 -15
  263. package/dist/chunks/workspace-x1a21s98.js +247 -0
  264. package/dist/chunks/{file-mutation-x1ezjp6w.js → workspace-x1ezjp6w.js} +1 -1
  265. package/dist/chunks/{file-mutation-x43y2vfs.js → workspace-x43y2vfs.js} +2 -2
  266. package/dist/chunks/{file-mutation-4gd699e5.js → workspace-xkzbfh0m.js} +13 -13
  267. package/dist/chunks/{file-mutation-d50f2zf5.js → workspace-xmh8jj88.js} +1 -1
  268. package/dist/chunks/{file-mutation-qkkbqqha.js → workspace-xp88wr07.js} +9 -9
  269. package/dist/chunks/{file-mutation-16ry34za.js → workspace-xwwm14an.js} +9 -9
  270. package/dist/chunks/{file-mutation-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/workspace-y31r8zkp.js +22 -0
  272. package/dist/chunks/{file-mutation-y71avatq.js → workspace-y71avatq.js} +1 -1
  273. package/dist/chunks/{file-mutation-1a3znk6y.js → workspace-ya5s98jd.js} +11 -11
  274. package/dist/chunks/{file-mutation-vj8zb37n.js → workspace-yagmabmz.js} +4 -4
  275. package/dist/chunks/{file-mutation-yrhqyw5v.js → workspace-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{file-mutation-yrznvahk.js → workspace-yrznvahk.js} +2 -2
  277. package/dist/chunks/{file-mutation-zysaywdt.js → workspace-yyhgy33t.js} +13 -13
  278. package/dist/chunks/{file-mutation-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{file-mutation-z63w68vq.js → workspace-z63w68vq.js} +2 -2
  280. package/dist/chunks/{file-mutation-9pxaqpvj.js → workspace-z9xz7t7m.js} +19 -19
  281. package/dist/chunks/{file-mutation-rq775frq.js → workspace-zeh9ct20.js} +2 -2
  282. package/dist/chunks/{file-mutation-bwa99ep7.js → workspace-zka56nxw.js} +25 -25
  283. package/dist/chunks/{file-mutation-c4peqche.js → workspace-zke2pdp6.js} +11 -11
  284. package/dist/chunks/{file-mutation-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{file-mutation-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
  286. package/dist/chunks/{file-mutation-9s0e0bnb.js → workspace-zyzp2298.js} +13 -13
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +7 -7
  289. package/dist/codemode/tool.js +2 -2
  290. package/dist/command.js +83 -83
  291. package/dist/config/discovery.js +77 -77
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +19 -19
  294. package/dist/config/plugin/agent.js +117 -117
  295. package/dist/config/plugin/command.js +209 -209
  296. package/dist/config/plugin/compaction.js +155 -155
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +115 -115
  300. package/dist/config/plugin/instruction.js +85 -85
  301. package/dist/config/plugin/location-watcher.js +115 -115
  302. package/dist/config/plugin/mcp.js +126 -126
  303. package/dist/config/plugin/policy.js +114 -114
  304. package/dist/config/plugin/provider.js +113 -113
  305. package/dist/config/plugin/reference.js +117 -117
  306. package/dist/config/plugin/shell.js +118 -118
  307. package/dist/config/plugin/skill-file.js +97 -97
  308. package/dist/config/plugin/skill.js +136 -136
  309. package/dist/config/plugin/snapshot.js +115 -115
  310. package/dist/config/plugin/source.js +117 -117
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +115 -115
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +119 -119
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +81 -81
  319. package/dist/database/database.js +68 -68
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration.gen.js +47 -47
  383. package/dist/database/migration.js +49 -49
  384. package/dist/database/path.js +2 -2
  385. package/dist/database/schema.gen.js +1 -1
  386. package/dist/database/schema.sql.js +1 -1
  387. package/dist/database/sqlite.bun.js +1 -1
  388. package/dist/database/sqlite.js +1 -1
  389. package/dist/database/sqlite.node.js +1 -1
  390. package/dist/database/sqlite.workerd.js +1 -1
  391. package/dist/database/v1-migration.bun.js +77 -77
  392. package/dist/database/v1-migration.js +1 -1
  393. package/dist/effect/app-node-builder.js +361 -361
  394. package/dist/effect/app-node-platform.js +2 -2
  395. package/dist/effect/keyed-mutex.js +1 -1
  396. package/dist/effect/websocket-constructor.js +1 -1
  397. package/dist/environment/driver.js +1 -1
  398. package/dist/environment/environment.js +88 -88
  399. package/dist/environment/exec-defaults.js +2 -2
  400. package/dist/environment/files.js +1 -1
  401. package/dist/environment/index.js +90 -90
  402. package/dist/environment/local.js +2 -2
  403. package/dist/environment/memory.js +2 -2
  404. package/dist/environment/unavailable.js +1 -1
  405. package/dist/event/sql.js +1 -1
  406. package/dist/event-logger.js +72 -72
  407. package/dist/file-access.js +99 -99
  408. package/dist/file-mutation.js +89 -89
  409. package/dist/file-retention.js +1 -1
  410. package/dist/file.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/ignore.js +1 -1
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +216 -216
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +95 -95
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +92 -92
  423. package/dist/form.js +82 -82
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +82 -82
  426. package/dist/generate.js +91 -91
  427. package/dist/git.js +7 -7
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +7 -7
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/id/id.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +352 -352
  452. package/dist/instruction-discovery.js +83 -83
  453. package/dist/instructions/builtins.js +78 -78
  454. package/dist/instructions/index.js +3 -3
  455. package/dist/integration/connection.js +1 -1
  456. package/dist/integration.js +84 -84
  457. package/dist/job.js +77 -77
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +71 -71
  460. package/dist/location-activity.js +131 -131
  461. package/dist/location-mutation.js +99 -99
  462. package/dist/location-service-map.js +81 -81
  463. package/dist/location-services.js +349 -349
  464. package/dist/location.js +82 -82
  465. package/dist/mcp/client.js +86 -86
  466. package/dist/mcp/index.js +101 -101
  467. package/dist/mcp/instructions.js +122 -122
  468. package/dist/mcp/oauth.js +3 -3
  469. package/dist/mcp/stdio.js +85 -85
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +7 -7
  472. package/dist/model-resolver.js +86 -86
  473. package/dist/model.js +8 -8
  474. package/dist/models-dev.js +86 -86
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +78 -78
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +106 -106
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +84 -84
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +73 -73
  484. package/dist/plugin/agent.js +99 -99
  485. package/dist/plugin/command.js +96 -96
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +213 -213
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +323 -323
  490. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  491. package/dist/plugin/models-dev.js +75 -75
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +4 -4
  494. package/dist/plugin/plan.js +97 -97
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/alibaba.js +2 -2
  497. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  498. package/dist/plugin/provider/anthropic.js +2 -2
  499. package/dist/plugin/provider/azure.js +118 -118
  500. package/dist/plugin/provider/cerebras.js +2 -2
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +114 -114
  505. package/dist/plugin/provider/digitalocean.js +79 -79
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/gateway.js +2 -2
  509. package/dist/plugin/provider/github-copilot.js +80 -80
  510. package/dist/plugin/provider/gitlab.js +3 -3
  511. package/dist/plugin/provider/google-vertex.js +2 -2
  512. package/dist/plugin/provider/kilo.js +2 -2
  513. package/dist/plugin/provider/llmgateway.js +76 -76
  514. package/dist/plugin/provider/lmstudio.js +117 -117
  515. package/dist/plugin/provider/mistral.js +2 -2
  516. package/dist/plugin/provider/modal.js +79 -79
  517. package/dist/plugin/provider/nvidia.js +2 -2
  518. package/dist/plugin/provider/ollama.js +117 -117
  519. package/dist/plugin/provider/openai-compatible.js +1 -1
  520. package/dist/plugin/provider/openai.js +80 -80
  521. package/dist/plugin/provider/opencode.js +76 -76
  522. package/dist/plugin/provider/openrouter.js +3 -3
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/sap-ai-core.js +3 -3
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  527. package/dist/plugin/provider/venice.js +2 -2
  528. package/dist/plugin/provider/vercel.js +2 -2
  529. package/dist/plugin/provider/vllm.js +117 -117
  530. package/dist/plugin/provider/xai.js +77 -77
  531. package/dist/plugin/provider/zenmux.js +2 -2
  532. package/dist/plugin/provider.js +156 -156
  533. package/dist/plugin/sdk.js +74 -74
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +133 -133
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +338 -338
  538. package/dist/plugin/update.js +2 -2
  539. package/dist/plugin/variant.js +4 -4
  540. package/dist/plugin/vcs/git.js +82 -82
  541. package/dist/plugin/vcs/hg.js +82 -82
  542. package/dist/plugin/warming.js +112 -112
  543. package/dist/plugin/websearch/exa.js +5 -5
  544. package/dist/plugin/websearch/firecrawl.js +6 -6
  545. package/dist/plugin/websearch/index.js +8 -8
  546. package/dist/plugin/websearch/mcp.js +4 -4
  547. package/dist/plugin/websearch/parallel.js +6 -6
  548. package/dist/plugin/websearch/tavily.js +4 -4
  549. package/dist/plugin.js +220 -220
  550. package/dist/project/schema.js +8 -8
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +85 -85
  553. package/dist/provider.js +5 -5
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/schema.js +1 -1
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +88 -88
  558. package/dist/reference/instructions.js +80 -80
  559. package/dist/reference.js +86 -86
  560. package/dist/repository-cache.js +76 -76
  561. package/dist/repository.js +3 -3
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +87 -87
  564. package/dist/rpc.js +81 -81
  565. package/dist/schema.js +1 -1
  566. package/dist/session/command.js +72 -72
  567. package/dist/session/compaction.js +129 -129
  568. package/dist/session/context.js +143 -143
  569. package/dist/session/environment.js +5 -5
  570. package/dist/session/error.js +5 -5
  571. package/dist/session/event.js +1 -1
  572. package/dist/session/execution/restart.js +216 -216
  573. package/dist/session/execution.js +122 -122
  574. package/dist/session/generate.js +146 -146
  575. package/dist/session/history.js +13 -13
  576. package/dist/session/inbox.js +86 -86
  577. package/dist/session/info.js +3 -3
  578. package/dist/session/instruction-entry.js +73 -73
  579. package/dist/session/instruction-state.js +8 -8
  580. package/dist/session/instructions.js +92 -92
  581. package/dist/session/message-updater.js +2 -2
  582. package/dist/session/message.js +1 -1
  583. package/dist/session/model-request.js +111 -111
  584. package/dist/session/model-transport.js +7 -7
  585. package/dist/session/move.js +122 -122
  586. package/dist/session/projector.js +82 -82
  587. package/dist/session/prompt.js +100 -100
  588. package/dist/session/provider-context.js +3 -3
  589. package/dist/session/revert.js +85 -85
  590. package/dist/session/run-coordinator.js +1 -1
  591. package/dist/session/runner/index.js +3 -3
  592. package/dist/session/runner/llm.js +223 -223
  593. package/dist/session/runner/max-steps.js +1 -1
  594. package/dist/session/runner/model.js +86 -86
  595. package/dist/session/runner/publish-llm-event.js +3 -3
  596. package/dist/session/runner/retry.js +110 -110
  597. package/dist/session/runner/step.js +119 -119
  598. package/dist/session/runner/to-llm-message.js +2 -2
  599. package/dist/session/schema.js +5 -5
  600. package/dist/session/session.js +169 -169
  601. package/dist/session/shell.js +131 -131
  602. package/dist/session/skill.js +98 -98
  603. package/dist/session/sql.js +5 -5
  604. package/dist/session/stats.js +73 -73
  605. package/dist/session/store.js +83 -83
  606. package/dist/session/subagent-completion.js +1 -1
  607. package/dist/session/subagent-job.js +205 -205
  608. package/dist/session/system-prompt.js +3 -3
  609. package/dist/session/title.js +145 -145
  610. package/dist/session/to-session-error.js +107 -107
  611. package/dist/session/transfer.js +215 -215
  612. package/dist/session/usage.js +1 -1
  613. package/dist/session.js +207 -207
  614. package/dist/shell/parse.js +6 -6
  615. package/dist/shell/result.js +1 -1
  616. package/dist/shell/scan.js +1 -1
  617. package/dist/shell/select.js +13 -13
  618. package/dist/shell.js +133 -133
  619. package/dist/skill/discovery.js +2 -2
  620. package/dist/skill/instructions.js +102 -102
  621. package/dist/skill.js +105 -105
  622. package/dist/snapshot.js +86 -86
  623. package/dist/state.js +1 -1
  624. package/dist/tool/html-markdown.js +1 -1
  625. package/dist/tool/http-body.js +1 -1
  626. package/dist/tool/mcp.js +119 -119
  627. package/dist/tool/plugin/edit.js +113 -113
  628. package/dist/tool/plugin/file-diff.js +1 -1
  629. package/dist/tool/plugin/glob.js +120 -120
  630. package/dist/tool/plugin/grep.js +118 -118
  631. package/dist/tool/plugin/opencode.js +3 -3
  632. package/dist/tool/plugin/patch.js +117 -117
  633. package/dist/tool/plugin/question.js +96 -96
  634. package/dist/tool/plugin/read.js +121 -121
  635. package/dist/tool/plugin/shell.js +212 -212
  636. package/dist/tool/plugin/skill.js +108 -108
  637. package/dist/tool/plugin/subagent.js +212 -212
  638. package/dist/tool/plugin/webfetch.js +101 -101
  639. package/dist/tool/plugin/websearch.js +109 -109
  640. package/dist/tool/plugin/write.js +117 -117
  641. package/dist/tool/read-filesystem.js +96 -96
  642. package/dist/tool/runtime.js +1 -1
  643. package/dist/tool-output.js +8 -8
  644. package/dist/tool.js +13 -13
  645. package/dist/util/error-summary.js +1 -1
  646. package/dist/util/error.js +1 -1
  647. package/dist/util/iife.js +1 -1
  648. package/dist/util/lazy.js +1 -1
  649. package/dist/util/slug.js +1 -1
  650. package/dist/util/token.js +1 -1
  651. package/dist/util/which.js +1 -1
  652. package/dist/util/wildcard.js +1 -1
  653. package/dist/v1/config/agent.js +5 -5
  654. package/dist/v1/config/attachment.js +4 -4
  655. package/dist/v1/config/command.js +5 -5
  656. package/dist/v1/config/config.js +16 -16
  657. package/dist/v1/config/error.js +2 -2
  658. package/dist/v1/config/formatter.js +3 -3
  659. package/dist/v1/config/layout.js +1 -1
  660. package/dist/v1/config/lsp.js +5 -5
  661. package/dist/v1/config/mcp.js +4 -4
  662. package/dist/v1/config/migrate.js +4 -4
  663. package/dist/v1/config/permission.js +3 -3
  664. package/dist/v1/config/plugin.js +3 -3
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +4 -4
  667. package/dist/v1/config/server.js +2 -2
  668. package/dist/v1/config/skills.js +3 -3
  669. package/dist/v1/permission.js +1 -1
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +85 -85
  672. package/dist/websearch.js +80 -80
  673. package/dist/wellknown/plugin.js +72 -72
  674. package/dist/wellknown.js +77 -77
  675. package/dist/workspace/driver.js +5 -5
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +78 -78
  678. package/dist/worktree/directory.js +2 -2
  679. package/dist/worktree/git.js +7 -7
  680. package/dist/worktree/refresh.js +339 -339
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree.js +89 -89
  683. package/package.json +8 -8
  684. package/dist/chunks/file-mutation-1x11rq2a.js +0 -18
  685. package/dist/chunks/file-mutation-46q9gth8.js +0 -22
  686. package/dist/chunks/file-mutation-5wmax8g7.js +0 -462
  687. package/dist/chunks/file-mutation-e1prnxjm.js +0 -247
  688. /package/dist/chunks/{file-mutation-0mesazry.js → workspace-0mesazry.js} +0 -0
  689. /package/dist/chunks/{file-mutation-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{file-mutation-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{file-mutation-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{file-mutation-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{file-mutation-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{file-mutation-2710q6r3.js → workspace-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{file-mutation-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{file-mutation-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{file-mutation-359p4xyc.js → workspace-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{file-mutation-3asan66x.js → workspace-3asan66x.js} +0 -0
  699. /package/dist/chunks/{file-mutation-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{file-mutation-3w5fmr99.js → workspace-3w5fmr99.js} +0 -0
  701. /package/dist/chunks/{file-mutation-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{file-mutation-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{file-mutation-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{file-mutation-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{file-mutation-53557ph1.js → workspace-53557ph1.js} +0 -0
  706. /package/dist/chunks/{file-mutation-550bvhaj.js → workspace-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{file-mutation-6prwharc.js → workspace-6prwharc.js} +0 -0
  708. /package/dist/chunks/{file-mutation-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{file-mutation-7m9af43g.js → workspace-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{file-mutation-822emrt2.js → workspace-822emrt2.js} +0 -0
  711. /package/dist/chunks/{file-mutation-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
  712. /package/dist/chunks/{file-mutation-8n3pysct.js → workspace-8n3pysct.js} +0 -0
  713. /package/dist/chunks/{file-mutation-922hggd3.js → workspace-922hggd3.js} +0 -0
  714. /package/dist/chunks/{file-mutation-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
  715. /package/dist/chunks/{file-mutation-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
  716. /package/dist/chunks/{file-mutation-a1tpkmh4.js → workspace-a1tpkmh4.js} +0 -0
  717. /package/dist/chunks/{file-mutation-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{file-mutation-af5trqkr.js → workspace-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{file-mutation-afrmfg78.js → workspace-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{file-mutation-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{file-mutation-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{file-mutation-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{file-mutation-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{file-mutation-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{file-mutation-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{file-mutation-d9fn303g.js → workspace-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{file-mutation-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{file-mutation-dajrwvna.js → workspace-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{file-mutation-dap0rakb.js → workspace-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{file-mutation-df08tz66.js → workspace-df08tz66.js} +0 -0
  731. /package/dist/chunks/{file-mutation-dy18nga0.js → workspace-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{file-mutation-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{file-mutation-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{file-mutation-ec1grn59.js → workspace-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{file-mutation-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{file-mutation-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{file-mutation-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{file-mutation-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{file-mutation-faypxj3z.js → workspace-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{file-mutation-fd410y7t.js → workspace-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{file-mutation-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{file-mutation-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{file-mutation-g86h250q.js → workspace-g86h250q.js} +0 -0
  744. /package/dist/chunks/{file-mutation-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{file-mutation-gftt206x.js → workspace-gftt206x.js} +0 -0
  746. /package/dist/chunks/{file-mutation-hjbc5kem.js → workspace-hjbc5kem.js} +0 -0
  747. /package/dist/chunks/{file-mutation-hk9envan.js → workspace-hk9envan.js} +0 -0
  748. /package/dist/chunks/{file-mutation-hrnqkpcd.js → workspace-hrnqkpcd.js} +0 -0
  749. /package/dist/chunks/{file-mutation-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{file-mutation-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{file-mutation-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{file-mutation-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{file-mutation-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{file-mutation-mp448xyj.js → workspace-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{file-mutation-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{file-mutation-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{file-mutation-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{file-mutation-njntx4h6.js → workspace-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{file-mutation-paphc93g.js → workspace-paphc93g.js} +0 -0
  760. /package/dist/chunks/{file-mutation-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
  761. /package/dist/chunks/{file-mutation-q74kybfr.js → workspace-q74kybfr.js} +0 -0
  762. /package/dist/chunks/{file-mutation-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
  763. /package/dist/chunks/{file-mutation-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
  764. /package/dist/chunks/{file-mutation-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
  765. /package/dist/chunks/{file-mutation-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{file-mutation-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{file-mutation-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{file-mutation-sk3qaz4a.js → workspace-sk3qaz4a.js} +0 -0
  769. /package/dist/chunks/{file-mutation-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
  770. /package/dist/chunks/{file-mutation-twg0f83k.js → workspace-twg0f83k.js} +0 -0
  771. /package/dist/chunks/{file-mutation-w803qqfp.js → workspace-w803qqfp.js} +0 -0
  772. /package/dist/chunks/{file-mutation-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
  773. /package/dist/chunks/{file-mutation-wtztk69x.js → workspace-wtztk69x.js} +0 -0
  774. /package/dist/chunks/{file-mutation-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
  775. /package/dist/chunks/{file-mutation-x61499pn.js → workspace-x61499pn.js} +0 -0
  776. /package/dist/chunks/{file-mutation-y44na4kk.js → workspace-y44na4kk.js} +0 -0
  777. /package/dist/chunks/{file-mutation-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
  778. /package/dist/chunks/{file-mutation-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
  779. /package/dist/chunks/{file-mutation-ym463w8f.js → workspace-ym463w8f.js} +0 -0
  780. /package/dist/chunks/{file-mutation-z9919s4g.js → workspace-z9919s4g.js} +0 -0
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./file-mutation-922hggd3.js";
5
+ } from "./workspace-922hggd3.js";
6
6
  import {
7
- Service60,
8
- node63
9
- } from "./file-mutation-ycfq134k.js";
7
+ Service40,
8
+ node44
9
+ } from "./workspace-0yq4eb34.js";
10
10
  import {
11
11
  Content2
12
- } from "./file-mutation-k3zgx0jf.js";
12
+ } from "./workspace-7gvp9cq5.js";
13
13
  import {
14
14
  detect2
15
- } from "./file-mutation-3smtnn6g.js";
15
+ } from "./workspace-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./file-mutation-9rqn6x4v.js";
18
+ } from "./workspace-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service10,
36
+ Service: () => Service4,
37
37
  TextPage: () => TextPage2,
38
- node: () => node13,
38
+ node: () => node7,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service10 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service4 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
326
326
  return index + 1;
327
327
  }
328
328
  };
329
- var layer = Layer.effect(Service10, Effect.gen(function* () {
330
- const environment = yield* Service60;
331
- return Service10.of({
329
+ var layer = Layer.effect(Service4, Effect.gen(function* () {
330
+ const environment = yield* Service40;
331
+ return Service4.of({
332
332
  list: environment.files.list,
333
333
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
334
334
  });
335
335
  }));
336
- var node13 = makeLocationNode({ service: Service10, layer, deps: [node63] });
336
+ var node7 = makeLocationNode({ service: Service4, layer, deps: [node44] });
337
337
 
338
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service10, read2, node13, exports_read_filesystem };
338
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service4, read2, node7, exports_read_filesystem };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  resolveNullableObjectPaths2,
3
3
  mapResultRow2
4
- } from "./file-mutation-emrn6kk6.js";
4
+ } from "./workspace-emrn6kk6.js";
5
5
  import {
6
6
  SQLiteEffectDatabase2
7
- } from "./file-mutation-ddg0keqc.js";
7
+ } from "./workspace-bskx12th.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/session.ts
10
10
  import * as Cause from "effect/Cause";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/config/markdown.ts
6
6
  var exports_markdown = {};
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./file-mutation-y71avatq.js";
3
+ } from "./workspace-y71avatq.js";
4
4
  import {
5
- Service78,
6
- node83
7
- } from "./file-mutation-v80gs2ga.js";
5
+ Service79,
6
+ node84
7
+ } from "./workspace-wn4kdw9q.js";
8
8
  import {
9
- Event19,
10
- Service76,
11
- node81
12
- } from "./file-mutation-rqe8k6zz.js";
9
+ Event18,
10
+ Service75,
11
+ node80
12
+ } from "./workspace-0cmfkvjr.js";
13
13
  import {
14
- Service67,
15
- node72
16
- } from "./file-mutation-vd2v5vf9.js";
14
+ Service61,
15
+ node64
16
+ } from "./workspace-v1cqtm69.js";
17
17
  import {
18
- Service60,
19
- node63
20
- } from "./file-mutation-ycfq134k.js";
18
+ Service40,
19
+ node44
20
+ } from "./workspace-0yq4eb34.js";
21
21
  import {
22
- ID14,
23
- Service75,
24
- node80
25
- } from "./file-mutation-1qky1dph.js";
22
+ ID12,
23
+ Service66,
24
+ node69
25
+ } from "./workspace-r0nnab1q.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./file-mutation-kg06axw8.js";
29
+ } from "./workspace-kg06axw8.js";
30
30
  import {
31
- ID13,
31
+ ID11,
32
32
  MethodID2,
33
- Service73,
34
- node78
35
- } from "./file-mutation-g6dyb386.js";
33
+ Service65,
34
+ node68
35
+ } from "./workspace-eh4km76q.js";
36
36
  import {
37
37
  __export
38
- } from "./file-mutation-9rqn6x4v.js";
38
+ } from "./workspace-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
44
  NotFoundError: () => NotFoundError3,
45
- Options: () => Options4,
45
+ Options: () => Options3,
46
46
  Prompt: () => Prompt2,
47
47
  PromptArgument: () => PromptArgument2,
48
48
  PromptMessage: () => PromptMessage2,
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
56
56
  ServerInfo: () => ServerInfo2,
57
57
  ServerInstructions: () => ServerInstructions2,
58
58
  ServerName: () => ServerName2,
59
- Service: () => Service33,
59
+ Service: () => Service31,
60
60
  Status: () => Status2,
61
61
  Tool: () => Tool3,
62
62
  ToolCallError: () => ToolCallError2,
63
63
  ToolResult: () => ToolResult2,
64
64
  ToolResultContent: () => ToolResultContent2,
65
- configured: () => configured4,
66
- layer: () => layer14,
67
- node: () => node37
65
+ configured: () => configured3,
66
+ layer: () => layer13,
67
+ node: () => node35
68
68
  });
69
69
  import { Mcp } from "@opencode/schema/mcp";
70
70
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
81
81
  class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
82
82
  name: ServerName2,
83
83
  status: Status2,
84
- integrationID: ID13.pipe(Schema.optional)
84
+ integrationID: ID11.pipe(Schema.optional)
85
85
  }) {
86
86
  }
87
87
 
@@ -165,21 +165,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
165
165
  var URL_ELICITATION_FIELD_KEY = "elicitation";
166
166
  var cloneConfig = (config) => structuredClone(config);
167
167
 
168
- class Service33 extends Context.Service()("@opencode/MCP") {
168
+ class Service31 extends Context.Service()("@opencode/MCP") {
169
169
  }
170
- var Options4 = Schema.Struct({
170
+ var Options3 = Schema.Struct({
171
171
  clientInfo: Schema.optional(Schema.Struct({
172
172
  name: Schema.String,
173
173
  version: Schema.String
174
174
  }))
175
175
  });
176
- var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
177
- const location = yield* Service67;
178
- const environment = yield* Service60;
179
- const bus = yield* Service78;
180
- const forms = yield* Service75;
181
- const integration = yield* Service73;
182
- const credentials = yield* Service76;
176
+ var layer13 = (options) => Layer.effect(Service31, Effect.gen(function* () {
177
+ const location = yield* Service61;
178
+ const environment = yield* Service40;
179
+ const bus = yield* Service79;
180
+ const forms = yield* Service66;
181
+ const integration = yield* Service65;
182
+ const credentials = yield* Service75;
183
183
  const root = yield* Effect.scope;
184
184
  const fork = yield* FiberSet.makeRuntime();
185
185
  const entries = new Map;
@@ -191,7 +191,7 @@ var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
191
191
  return;
192
192
  const remote = entry.config;
193
193
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
194
- const integrationID = ID13.make(suffix);
194
+ const integrationID = ID11.make(suffix);
195
195
  entry.integrationID = integrationID;
196
196
  owned.add(integrationID);
197
197
  const methodID = MethodID2.make(suffix);
@@ -315,7 +315,7 @@ var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
315
315
  const elicitation = {
316
316
  create: (input) => Effect.gen(function* () {
317
317
  if (input.params.mode === "url") {
318
- const formID = ID14.create();
318
+ const formID = ID12.create();
319
319
  const key = input.server + "\x00" + input.params.elicitationId;
320
320
  urlElicitations.set(key, formID);
321
321
  return yield* forms.ask({
@@ -433,7 +433,7 @@ var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
433
433
  entry.scope = scope;
434
434
  const authProvider = yield* connectProvider(entry);
435
435
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
436
- const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service60, environment), Scope.provide(scope), Effect.exit);
436
+ const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service40, environment), Scope.provide(scope), Effect.exit);
437
437
  if (Exit.isSuccess(result)) {
438
438
  entry.client = result.value.connection;
439
439
  entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
@@ -557,7 +557,7 @@ var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
557
557
  yield* startServer(name, entry);
558
558
  }).pipe(locks.withLock(name));
559
559
  });
560
- fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
560
+ fork(bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
561
561
  const state = create3({
562
562
  name: "mcp",
563
563
  initial: () => ({
@@ -587,7 +587,7 @@ var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
587
587
  concurrency: "unbounded",
588
588
  discard: true
589
589
  }));
590
- return Service33.of({
590
+ return Service31.of({
591
591
  transform: state.transform,
592
592
  reload: state.reload,
593
593
  servers: Effect.fn("MCP.servers")(function* () {
@@ -707,14 +707,14 @@ var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
707
707
  })
708
708
  });
709
709
  }));
710
- function configured4(options) {
710
+ function configured3(options) {
711
711
  return makeLocationNode({
712
- service: Service33,
713
- layer: layer14(options),
714
- deps: [node72, node63, node83, node80, node78, node81]
712
+ service: Service31,
713
+ layer: layer13(options),
714
+ deps: [node64, node44, node84, node69, node68, node80]
715
715
  });
716
716
  }
717
- var node37 = configured4();
717
+ var node35 = configured3();
718
718
  function toElicitationField(key, property, required) {
719
719
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
720
720
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -765,4 +765,4 @@ function toElicitationField(key, property, required) {
765
765
  }
766
766
  }
767
767
 
768
- export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service33, Options4, layer14, configured4, node37, exports_mcp4 };
768
+ export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service31, Options3, layer13, configured3, node35, exports_mcp4 };
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service54
3
- } from "./file-mutation-4987xj8v.js";
2
+ Service42
3
+ } from "./workspace-10dffqyq.js";
4
4
  import {
5
5
  unavailable3
6
- } from "./file-mutation-s8d7rejh.js";
6
+ } from "./workspace-0gdmqesm.js";
7
7
  import {
8
8
  AbsolutePath2
9
- } from "./file-mutation-922hggd3.js";
9
+ } from "./workspace-922hggd3.js";
10
10
  import {
11
11
  File2,
12
- Service46
13
- } from "./file-mutation-4kdtw8t2.js";
12
+ Service63
13
+ } from "./workspace-9m6qag95.js";
14
14
  import {
15
- Service67
16
- } from "./file-mutation-vd2v5vf9.js";
15
+ Service61
16
+ } from "./workspace-v1cqtm69.js";
17
17
  import {
18
18
  __export
19
- } from "./file-mutation-9rqn6x4v.js";
19
+ } from "./workspace-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin10
25
+ Plugin: () => Plugin42
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
29
  import { Global } from "@opencode/util/global";
30
30
  import { dirname, join } from "path";
31
31
  import { Effect, PubSub, Semaphore, Stream } from "effect";
32
- var Plugin10 = define({
32
+ var Plugin42 = define({
33
33
  id: "opencode.config.instruction",
34
34
  effect: Effect.fn(function* () {
35
- const discovery = yield* Service46;
35
+ const discovery = yield* Service63;
36
36
  if (!discovery.project && !discovery.global)
37
37
  return;
38
38
  yield* Effect.gen(function* () {
39
39
  const fs = yield* FSUtil.Service;
40
40
  const global = yield* Global.Service;
41
- const location = yield* Service67;
42
- const watcher = yield* Service54;
41
+ const location = yield* Service61;
42
+ const watcher = yield* Service42;
43
43
  const changes = yield* PubSub.sliding(1);
44
44
  const lock = Semaphore.makeUnsafe(1);
45
45
  const start = yield* fs.resolve(location.directory);
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
114
114
  return [start, ...ancestorDirectories(dirname(start), stop)];
115
115
  }
116
116
 
117
- export { Plugin10, exports_instruction };
117
+ export { Plugin42, exports_instruction };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  create3
3
- } from "./file-mutation-kg06axw8.js";
3
+ } from "./workspace-kg06axw8.js";
4
4
  import {
5
5
  __export
6
- } from "./file-mutation-9rqn6x4v.js";
6
+ } from "./workspace-9rqn6x4v.js";
7
7
 
8
8
  // src/filesystem/location-watcher-policy.ts
9
9
  var exports_location_watcher_policy = {};
10
10
  __export(exports_location_watcher_policy, {
11
11
  LocationWatcherPolicy: () => exports_location_watcher_policy,
12
- Service: () => Service7,
13
- node: () => node10
12
+ Service: () => Service10,
13
+ node: () => node13
14
14
  });
15
15
  import { makeLocationNode } from "@opencode/util/effect/app-node";
16
16
  import { Context, Effect, Layer, Scope } from "effect";
17
- class Service7 extends Context.Service()("@opencode/LocationWatcherPolicy") {
17
+ class Service10 extends Context.Service()("@opencode/LocationWatcherPolicy") {
18
18
  }
19
- var layer = Layer.effect(Service7, Effect.gen(function* () {
19
+ var layer = Layer.effect(Service10, Effect.gen(function* () {
20
20
  const listeners = new Set;
21
21
  const state = create3({
22
22
  name: "location-watcher-policy",
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
41
41
  yield* Scope.addFinalizer(scope, dispose);
42
42
  return { dispose };
43
43
  });
44
- return Service7.of({
44
+ return Service10.of({
45
45
  transform: state.transform,
46
46
  reload: state.reload,
47
47
  current,
48
48
  observe
49
49
  });
50
50
  }));
51
- var node10 = makeLocationNode({ service: Service7, layer, deps: [] });
51
+ var node13 = makeLocationNode({ service: Service10, layer, deps: [] });
52
52
 
53
- export { Service7, node10, exports_location_watcher_policy };
53
+ export { Service10, node13, exports_location_watcher_policy };
@@ -1,21 +1,21 @@
1
1
  import {
2
- ID17,
2
+ ID16,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  mergeOverlay2
6
- } from "./file-mutation-c7ecgrk6.js";
6
+ } from "./workspace-84tssp1s.js";
7
7
  import {
8
8
  __export
9
- } from "./file-mutation-9rqn6x4v.js";
9
+ } from "./workspace-9rqn6x4v.js";
10
10
 
11
11
  // src/aisdk.ts
12
12
  var exports_aisdk = {};
13
13
  __export(exports_aisdk, {
14
14
  AISDK: () => exports_aisdk,
15
15
  InitError: () => InitError2,
16
- Service: () => Service74,
16
+ Service: () => Service69,
17
17
  locationLayer: () => locationLayer2,
18
- node: () => node79
18
+ node: () => node73
19
19
  });
20
20
  import { makeLocationNode } from "@opencode/util/effect/app-node";
21
21
  import { APICallError } from "@ai-sdk/provider";
@@ -128,7 +128,7 @@ function prepareOptions(model, pkg) {
128
128
  }
129
129
 
130
130
  class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
131
- providerID: ID17,
131
+ providerID: ID16,
132
132
  cause: Schema.Defect()
133
133
  }) {
134
134
  }
@@ -136,9 +136,9 @@ function initError(providerID) {
136
136
  return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
137
137
  }
138
138
 
139
- class Service74 extends Context.Service()("@opencode/AISDK") {
139
+ class Service69 extends Context.Service()("@opencode/AISDK") {
140
140
  }
141
- var locationLayer2 = Layer.effect(Service74, Effect.gen(function* () {
141
+ var locationLayer2 = Layer.effect(Service69, Effect.gen(function* () {
142
142
  let sdkHooks = [];
143
143
  let languageHooks = [];
144
144
  const languages = new Map;
@@ -176,7 +176,7 @@ var locationLayer2 = Layer.effect(Service74, Effect.gen(function* () {
176
176
  }
177
177
  return event;
178
178
  });
179
- const service = Service74.of({
179
+ const service = Service69.of({
180
180
  hook: {
181
181
  sdk: register(() => sdkHooks, (next) => sdkHooks = next),
182
182
  language: register(() => languageHooks, (next) => languageHooks = next)
@@ -809,6 +809,6 @@ function providerErrorMessage(error) {
809
809
  const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
810
810
  return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
811
811
  }
812
- var node79 = makeLocationNode({ service: Service74, layer: locationLayer2, deps: [] });
812
+ var node73 = makeLocationNode({ service: Service69, layer: locationLayer2, deps: [] });
813
813
 
814
- export { InitError2, Service74, locationLayer2, node79, exports_aisdk };
814
+ export { InitError2, Service69, locationLayer2, node73, exports_aisdk };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./file-mutation-arjzrn5a.js";
2
+ Service80,
3
+ node85
4
+ } from "./workspace-9n5bgjha.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./file-mutation-hdnk95c8.js";
7
+ } from "./workspace-f828m53h.js";
8
8
  import {
9
9
  __export
10
- } from "./file-mutation-9rqn6x4v.js";
10
+ } from "./workspace-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
- ID: () => ID9,
17
- Info: () => Info23,
16
+ ID: () => ID7,
17
+ Info: () => Info20,
18
18
  ListInput: () => ListInput5,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service65,
21
- node: () => node70
20
+ Service: () => Service58,
21
+ node: () => node61
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Context, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode/schema/project";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID9 = PermissionSaved.ID;
29
- var Info23 = PermissionSaved.Info;
28
+ var ID7 = PermissionSaved.ID;
29
+ var Info20 = PermissionSaved.Info;
30
30
  var ListInput5 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
@@ -36,10 +36,10 @@ var AddInput2 = Schema.Struct({
36
36
  resources: Schema.Array(Schema.String)
37
37
  }).annotate({ identifier: "PermissionSaved.AddInput" });
38
38
 
39
- class Service65 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service58 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service65, Effect.gen(function* () {
42
- const db = (yield* Service79).db;
41
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
42
+ const db = (yield* Service80).db;
43
43
  const list = Effect.fnUntraced(function* (input) {
44
44
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
45
45
  return rows.map((row) => ({
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
53
53
  if (!input.resources.length)
54
54
  return;
55
55
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
56
- id: ID9.create(),
56
+ id: ID7.create(),
57
57
  project_id: input.projectID,
58
58
  action: input.action,
59
59
  resource
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
62
62
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
63
63
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
64
64
  });
65
- return Service65.of({ list, add, remove });
65
+ return Service58.of({ list, add, remove });
66
66
  }));
67
- var node70 = makeGlobalNode({ service: Service65, layer, deps: [node84] });
67
+ var node61 = makeGlobalNode({ service: Service58, layer, deps: [node85] });
68
68
 
69
- export { ID9, Info23, ListInput5, AddInput2, Service65, node70, exports_saved };
69
+ export { ID7, Info20, ListInput5, AddInput2, Service58, node61, exports_saved };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WebSocketConstructor2
3
- } from "./file-mutation-y8cydn3q.js";
3
+ } from "./workspace-y8cydn3q.js";
4
4
  import {
5
5
  __export
6
- } from "./file-mutation-9rqn6x4v.js";
6
+ } from "./workspace-9rqn6x4v.js";
7
7
 
8
8
  // src/effect/app-node-platform.ts
9
9
  var exports_app_node_platform = {};
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-mutation-xb3f970q.js";
3
+ } from "./workspace-qzyph8ek.js";
4
4
  import {
5
5
  __export
6
- } from "./file-mutation-9rqn6x4v.js";
6
+ } from "./workspace-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};
10
10
  __export(exports_tavily, {
11
- Plugin: () => Plugin38,
11
+ Plugin: () => Plugin19,
12
12
  WebSearchTavily: () => exports_tavily,
13
13
  endpoint: () => endpoint5
14
14
  });
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
29
29
  content: Schema.String
30
30
  }))
31
31
  });
32
- var Plugin38 = define({
32
+ var Plugin19 = define({
33
33
  id: "opencode.websearch.tavily",
34
34
  effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
35
35
  const http = yield* HttpClient.HttpClient;
@@ -77,4 +77,4 @@ var Plugin38 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint5, Plugin38, exports_tavily };
80
+ export { endpoint5, Plugin19, exports_tavily };