@opencode/core 0.0.0-dev-21586 → 0.0.0-dev-21590

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 (790) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{plugin-w918znfg.js → reference-02szp9gm.js} +9 -9
  8. package/dist/chunks/{plugin-034tev2y.js → reference-034tev2y.js} +2 -2
  9. package/dist/chunks/{plugin-jp479h69.js → reference-0ceasb8s.js} +20 -20
  10. package/dist/chunks/{plugin-wr3re1en.js → reference-0h8y3ex8.js} +4 -4
  11. package/dist/chunks/{plugin-fjd9pa27.js → reference-0mfc0d68.js} +35 -35
  12. package/dist/chunks/{plugin-791mgs72.js → reference-0pv52n9j.js} +12 -12
  13. package/dist/chunks/{plugin-rrj48g6y.js → reference-1178vxht.js} +18 -18
  14. package/dist/chunks/{plugin-ch9wmxsn.js → reference-14v17fgg.js} +24 -24
  15. package/dist/chunks/{plugin-80h8b35m.js → reference-158tfn12.js} +6 -6
  16. package/dist/chunks/{plugin-yaq81nk5.js → reference-17gtvps5.js} +21 -21
  17. package/dist/chunks/{plugin-daqfgk3c.js → reference-18sg5j62.js} +12 -12
  18. package/dist/chunks/{plugin-1ep2p91f.js → reference-1ep2p91f.js} +2 -2
  19. package/dist/chunks/{plugin-er4aqx01.js → reference-1hahx13g.js} +149 -149
  20. package/dist/chunks/{plugin-24yf1smp.js → reference-1m5v0ayp.js} +18 -18
  21. package/dist/chunks/{plugin-1x2knyw4.js → reference-1x2knyw4.js} +1 -1
  22. package/dist/chunks/{plugin-f9y4vw62.js → reference-1zrn58qb.js} +9 -9
  23. package/dist/chunks/{plugin-na2rxvkn.js → reference-22hmzxt9.js} +33 -33
  24. package/dist/chunks/{plugin-c3rdb4mt.js → reference-2e3p09q4.js} +24 -24
  25. package/dist/chunks/{plugin-4jbyfzea.js → reference-2ga909q5.js} +19 -19
  26. package/dist/chunks/{plugin-vpfqjjm8.js → reference-2k6pc5wc.js} +18 -18
  27. package/dist/chunks/{plugin-da2n11mt.js → reference-2vaegvqr.js} +17 -17
  28. package/dist/chunks/{plugin-49cj2a44.js → reference-2wjzf534.js} +10 -10
  29. package/dist/chunks/{plugin-2z1j29yd.js → reference-2z1j29yd.js} +1 -1
  30. package/dist/chunks/{plugin-nkr5r85d.js → reference-331p6xjh.js} +2 -2
  31. package/dist/chunks/{plugin-ft9drwcd.js → reference-35fm799j.js} +34 -34
  32. package/dist/chunks/{plugin-e67nmve2.js → reference-392nsjvq.js} +46 -46
  33. package/dist/chunks/{plugin-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
  34. package/dist/chunks/{plugin-qvw98tg0.js → reference-3k4jc8v0.js} +5 -5
  35. package/dist/chunks/{plugin-3nnrz6f6.js → reference-3nnrz6f6.js} +1 -1
  36. package/dist/chunks/{plugin-j0tn0vhk.js → reference-3rsg1p7p.js} +19 -19
  37. package/dist/chunks/{plugin-nrk5vjbf.js → reference-3tt1qkhr.js} +5 -5
  38. package/dist/chunks/{plugin-1y048hf4.js → reference-3wj3659j.js} +4 -4
  39. package/dist/chunks/{plugin-x7esjbfy.js → reference-3zvjb0hd.js} +21 -21
  40. package/dist/chunks/{plugin-s626qfae.js → reference-42jd4697.js} +4 -4
  41. package/dist/chunks/{plugin-s5sagwvf.js → reference-45sa55ra.js} +30 -30
  42. package/dist/chunks/{plugin-9erwh778.js → reference-49n54dn2.js} +9 -9
  43. package/dist/chunks/{plugin-faxyqc0y.js → reference-4jzj6ttp.js} +19 -19
  44. package/dist/chunks/{plugin-4v008n1t.js → reference-4v008n1t.js} +1 -1
  45. package/dist/chunks/{plugin-zgy84aax.js → reference-4x43ze8b.js} +16 -16
  46. package/dist/chunks/{plugin-4xvmh7wp.js → reference-4xvmh7wp.js} +3 -3
  47. package/dist/chunks/{plugin-xybbt1mb.js → reference-57kxvcz1.js} +23 -23
  48. package/dist/chunks/{plugin-4wgfdmqz.js → reference-585ybms8.js} +14 -14
  49. package/dist/chunks/{plugin-40za9wsf.js → reference-5enarcya.js} +6 -6
  50. package/dist/chunks/{plugin-6vyssmgt.js → reference-5hr8xq0q.js} +4 -4
  51. package/dist/chunks/{plugin-gfhv8a7w.js → reference-5jz32ng9.js} +8 -8
  52. package/dist/chunks/{plugin-5m9w47nd.js → reference-5m9w47nd.js} +1 -1
  53. package/dist/chunks/{plugin-ht2svjmz.js → reference-5qapgh17.js} +3 -3
  54. package/dist/chunks/{plugin-2r4n81ay.js → reference-617zxnkf.js} +4 -4
  55. package/dist/chunks/{plugin-805retjn.js → reference-69dckygt.js} +4 -4
  56. package/dist/chunks/{plugin-w2yrf1y0.js → reference-69vhhgbf.js} +12 -12
  57. package/dist/chunks/{plugin-0p88zpcm.js → reference-6czmj677.js} +4 -4
  58. package/dist/chunks/{plugin-6esdw8yj.js → reference-6esdw8yj.js} +1 -1
  59. package/dist/chunks/{plugin-ywh0g57p.js → reference-6f6dq05w.js} +9 -9
  60. package/dist/chunks/{plugin-h1fax6kt.js → reference-6m8d80j4.js} +10 -10
  61. package/dist/chunks/{plugin-wd2jkcgv.js → reference-6mhdkm3r.js} +13 -13
  62. package/dist/chunks/{plugin-6pjqjmy2.js → reference-6pjqjmy2.js} +1 -1
  63. package/dist/chunks/{plugin-xd37m1km.js → reference-6pz21ma1.js} +19 -19
  64. package/dist/chunks/{plugin-zf7tttqd.js → reference-6z67c7sw.js} +32 -32
  65. package/dist/chunks/reference-6zjm2phc.js +18 -0
  66. package/dist/chunks/{plugin-56p1jhd3.js → reference-73hhvkv7.js} +2 -2
  67. package/dist/chunks/{plugin-r3tr33rt.js → reference-75n0062n.js} +11 -11
  68. package/dist/chunks/{plugin-pkj8p13f.js → reference-76jxzvwp.js} +13 -13
  69. package/dist/chunks/{plugin-zkzkvvbz.js → reference-7784vw5s.js} +35 -35
  70. package/dist/chunks/{plugin-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{plugin-b38bfd29.js → reference-7cd2rmsc.js} +28 -28
  72. package/dist/chunks/{plugin-tz25qr3g.js → reference-7e442h9n.js} +49 -49
  73. package/dist/chunks/{plugin-8v7xte0w.js → reference-7jp0etre.js} +8 -8
  74. package/dist/chunks/{plugin-fw04p9ky.js → reference-7k3386r2.js} +14 -14
  75. package/dist/chunks/{plugin-jgeh1xfg.js → reference-7mkh44ga.js} +21 -21
  76. package/dist/chunks/{plugin-7w2ypzdf.js → reference-7w2ypzdf.js} +1 -1
  77. package/dist/chunks/{plugin-ye4vqm0y.js → reference-82k6k4r9.js} +13 -13
  78. package/dist/chunks/{plugin-q5yezhhf.js → reference-8cn6bdr7.js} +4 -4
  79. package/dist/chunks/{plugin-pjr10xyc.js → reference-8w3ybxxd.js} +14 -14
  80. package/dist/chunks/{plugin-8wtp7s3z.js → reference-8wtp7s3z.js} +1 -1
  81. package/dist/chunks/{plugin-91rj84md.js → reference-91rj84md.js} +1 -1
  82. package/dist/chunks/{plugin-q76kfaah.js → reference-91tbfg8t.js} +15 -15
  83. package/dist/chunks/{plugin-33md7rg7.js → reference-92at24ve.js} +33 -33
  84. package/dist/chunks/{plugin-8f5h2b15.js → reference-97q6z4z1.js} +20 -20
  85. package/dist/chunks/{plugin-r6wgv8c9.js → reference-997dsrmm.js} +8 -8
  86. package/dist/chunks/{plugin-998yhzzq.js → reference-998yhzzq.js} +3 -3
  87. package/dist/chunks/{plugin-n9p72mjb.js → reference-9b28cy4d.js} +5 -5
  88. package/dist/chunks/{plugin-2k8w2xgz.js → reference-9n5nfdbf.js} +21 -21
  89. package/dist/chunks/{plugin-6zjmc36r.js → reference-9rq4kxzz.js} +21 -21
  90. package/dist/chunks/{plugin-ddgdpn03.js → reference-9t2khtsw.js} +8 -8
  91. package/dist/chunks/{plugin-bm4gstpq.js → reference-9t6kz4yn.js} +8 -8
  92. package/dist/chunks/{plugin-fympbc4e.js → reference-9xt3rwsk.js} +12 -12
  93. package/dist/chunks/{plugin-72pceqnf.js → reference-aapktb4s.js} +13 -13
  94. package/dist/chunks/{plugin-wfxxszdh.js → reference-ap22wcp6.js} +7 -7
  95. package/dist/chunks/{plugin-0421tmwc.js → reference-apd5jra7.js} +9 -9
  96. package/dist/chunks/{plugin-hvca08ne.js → reference-aqfgbfd8.js} +18 -18
  97. package/dist/chunks/{plugin-p9hbvaar.js → reference-atxct68j.js} +44 -44
  98. package/dist/chunks/{plugin-yxwtmgfv.js → reference-ax04rzcv.js} +10 -10
  99. package/dist/chunks/{plugin-729419vw.js → reference-axa1k9j1.js} +13 -13
  100. package/dist/chunks/{plugin-ayjs7tqn.js → reference-ayjs7tqn.js} +2 -2
  101. package/dist/chunks/{plugin-b0mv4wxm.js → reference-b0mv4wxm.js} +2 -2
  102. package/dist/chunks/{plugin-mdc67x4g.js → reference-b321b1xq.js} +16 -16
  103. package/dist/chunks/{plugin-b6vsg801.js → reference-b6vsg801.js} +2 -2
  104. package/dist/chunks/{plugin-6gf5ywq5.js → reference-b792txny.js} +11 -11
  105. package/dist/chunks/{plugin-3j47848t.js → reference-b7tdm2jb.js} +27 -27
  106. package/dist/chunks/{plugin-mtpeagzc.js → reference-ba07h9gm.js} +3 -3
  107. package/dist/chunks/{plugin-ky4dyj93.js → reference-bcb37r7z.js} +16 -16
  108. package/dist/chunks/{plugin-y1d3npgy.js → reference-bhknf9fc.js} +15 -15
  109. package/dist/chunks/{plugin-s0wtbthz.js → reference-bjf39wav.js} +34 -34
  110. package/dist/chunks/{plugin-s6ak25wa.js → reference-bpe9b5xd.js} +36 -36
  111. package/dist/chunks/{plugin-zvwzcwk0.js → reference-br28babr.js} +6 -6
  112. package/dist/chunks/{plugin-9hwz6ehy.js → reference-bt6rz2kw.js} +24 -24
  113. package/dist/chunks/{plugin-5knrhjv3.js → reference-btxxq5tt.js} +28 -28
  114. package/dist/chunks/{plugin-e7p8ph8y.js → reference-bxmy050v.js} +3 -3
  115. package/dist/chunks/{plugin-dqgvvwe0.js → reference-c3cfh5w6.js} +9 -9
  116. package/dist/chunks/{plugin-kszpdg0e.js → reference-c4mt52fx.js} +21 -21
  117. package/dist/chunks/{plugin-j1wfa86h.js → reference-c4y96v02.js} +6 -6
  118. package/dist/chunks/{plugin-px1hc5my.js → reference-c55tr7hb.js} +13 -13
  119. package/dist/chunks/{plugin-ehna047s.js → reference-c62eb685.js} +27 -27
  120. package/dist/chunks/{plugin-g83p8h2e.js → reference-cf1w38y2.js} +28 -28
  121. package/dist/chunks/{plugin-e6b2spd3.js → reference-cgx3zxj6.js} +9 -9
  122. package/dist/chunks/{plugin-mhkpqspy.js → reference-cnjhsh0b.js} +4 -4
  123. package/dist/chunks/{plugin-defv51r7.js → reference-ctewqk08.js} +12 -12
  124. package/dist/chunks/{plugin-kn2ysf14.js → reference-ctya507c.js} +3 -3
  125. package/dist/chunks/{plugin-4z501z63.js → reference-d0jwqxv7.js} +36 -36
  126. package/dist/chunks/{plugin-mtkfycnh.js → reference-d2887f8n.js} +4 -4
  127. package/dist/chunks/{plugin-d4v9tmah.js → reference-d4v9tmah.js} +2 -2
  128. package/dist/chunks/{plugin-m9dfhmzw.js → reference-da7jqf2t.js} +13 -13
  129. package/dist/chunks/{plugin-4neywqsp.js → reference-dbs9f4d2.js} +32 -32
  130. package/dist/chunks/{plugin-8dv6gnq3.js → reference-dcqk33sb.js} +18 -18
  131. package/dist/chunks/{plugin-pnmjq29r.js → reference-dfv0e3xz.js} +17 -17
  132. package/dist/chunks/reference-dfy9at9k.js +26 -0
  133. package/dist/chunks/{plugin-5bq6wz19.js → reference-dgaww69h.js} +26 -26
  134. package/dist/chunks/{plugin-dwad2f7j.js → reference-dghpgdwh.js} +9 -9
  135. package/dist/chunks/{plugin-cqt766kx.js → reference-dj0vzv63.js} +28 -28
  136. package/dist/chunks/{plugin-rdbyms1g.js → reference-dmcydt5k.js} +16 -16
  137. package/dist/chunks/{plugin-fjn8c95x.js → reference-dpydvgsc.js} +8 -8
  138. package/dist/chunks/{plugin-bxh642fs.js → reference-dv41yykm.js} +33 -33
  139. package/dist/chunks/{plugin-sbegqkxp.js → reference-dwwyec8z.js} +6 -6
  140. package/dist/chunks/{plugin-m32k1ycp.js → reference-dy5an0j5.js} +2 -2
  141. package/dist/chunks/{plugin-h1rfd25p.js → reference-dyqd29rb.js} +13 -13
  142. package/dist/chunks/{plugin-cz1d3gs1.js → reference-e3tyzyg9.js} +11 -11
  143. package/dist/chunks/{plugin-8f4bgxgj.js → reference-e42petng.js} +13 -13
  144. package/dist/chunks/{plugin-e5dqjz6v.js → reference-e5dqjz6v.js} +1 -1
  145. package/dist/chunks/{plugin-e834z07m.js → reference-e834z07m.js} +1 -1
  146. package/dist/chunks/{plugin-0mn1e965.js → reference-e93cazkx.js} +13 -13
  147. package/dist/chunks/{plugin-ef5x83kb.js → reference-ef5x83kb.js} +1 -1
  148. package/dist/chunks/{plugin-7tpyp9vw.js → reference-enkpkfwx.js} +8 -8
  149. package/dist/chunks/{plugin-48hcx8xq.js → reference-ev4x93rx.js} +9 -9
  150. package/dist/chunks/{plugin-dmj8dyf0.js → reference-f2jmt318.js} +46 -46
  151. package/dist/chunks/{plugin-9xkjf5qh.js → reference-f2tcvpah.js} +21 -21
  152. package/dist/chunks/{plugin-fffv3p7h.js → reference-fffv3p7h.js} +1 -1
  153. package/dist/chunks/{plugin-vhjzha3a.js → reference-fkdejkqx.js} +10 -10
  154. package/dist/chunks/{plugin-41r5wqck.js → reference-fm90g8ey.js} +10 -10
  155. package/dist/chunks/{plugin-pp0fatjv.js → reference-fyxzhex2.js} +10 -10
  156. package/dist/chunks/{plugin-5j441hsm.js → reference-g02452fg.js} +7 -7
  157. package/dist/chunks/{plugin-vgye2rsv.js → reference-g32wv891.js} +41 -41
  158. package/dist/chunks/{plugin-366nwj0e.js → reference-g35eyyjw.js} +47 -47
  159. package/dist/chunks/{plugin-g5h9c0rr.js → reference-g5h9c0rr.js} +2 -2
  160. package/dist/chunks/{plugin-m4a2gv8g.js → reference-g5wz76jx.js} +43 -43
  161. package/dist/chunks/{plugin-vmfhgzt5.js → reference-g7esga4v.js} +5 -5
  162. package/dist/chunks/{plugin-y76evpd0.js → reference-ga0jheq7.js} +15 -15
  163. package/dist/chunks/{plugin-7tz53k10.js → reference-gb7emm0a.js} +4 -4
  164. package/dist/chunks/{plugin-1a140ev3.js → reference-gbc8mqyx.js} +6 -6
  165. package/dist/chunks/{plugin-5qzb0jnx.js → reference-gk1rk4s8.js} +7 -7
  166. package/dist/chunks/{plugin-fjj0tk6a.js → reference-gphsqkvp.js} +16 -16
  167. package/dist/chunks/{plugin-vhz2gm5v.js → reference-gqv6dref.js} +5 -5
  168. package/dist/chunks/{plugin-namw6z13.js → reference-gt0jrv1m.js} +4 -4
  169. package/dist/chunks/{plugin-w5hvyx02.js → reference-gth7ey8h.js} +28 -28
  170. package/dist/chunks/reference-gy55dmjh.js +257 -0
  171. package/dist/chunks/{plugin-gy8qkchn.js → reference-h0wvm00t.js} +1 -1
  172. package/dist/chunks/{plugin-7g38p78c.js → reference-h26pfjbv.js} +11 -11
  173. package/dist/chunks/{plugin-7ff5r0gq.js → reference-h5x76x6y.js} +8 -8
  174. package/dist/chunks/{plugin-kaz27p2z.js → reference-h85hk0jt.js} +5 -5
  175. package/dist/chunks/{plugin-7g67k8da.js → reference-hh0p0dz0.js} +24 -24
  176. package/dist/chunks/{plugin-tdgr4kjk.js → reference-hp05sb1w.js} +27 -27
  177. package/dist/chunks/{plugin-wv27004a.js → reference-hwhakdtp.js} +15 -15
  178. package/dist/chunks/{plugin-301ejq9m.js → reference-hwnyt2r8.js} +334 -334
  179. package/dist/chunks/{plugin-j113cymg.js → reference-j113cymg.js} +1 -1
  180. package/dist/chunks/{plugin-h9rpd4f8.js → reference-jk7ax7q1.js} +45 -45
  181. package/dist/chunks/{plugin-qaxt5sce.js → reference-jk7xnh1r.js} +4 -4
  182. package/dist/chunks/{plugin-gj9haxac.js → reference-jpfg3tzk.js} +13 -13
  183. package/dist/chunks/{plugin-s9vx4pc1.js → reference-jt507tgk.js} +10 -10
  184. package/dist/chunks/{plugin-zg933662.js → reference-jxxeqwt8.js} +6 -6
  185. package/dist/chunks/{plugin-k814nvkf.js → reference-k814nvkf.js} +1 -1
  186. package/dist/chunks/{plugin-t9hsnqxm.js → reference-k879r3tb.js} +2 -2
  187. package/dist/chunks/{plugin-5k63q3tv.js → reference-khz9qtbd.js} +19 -19
  188. package/dist/chunks/{plugin-m1714858.js → reference-m1714858.js} +1 -1
  189. package/dist/chunks/{plugin-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{plugin-maspj1v3.js → reference-maspj1v3.js} +1 -1
  191. package/dist/chunks/{plugin-me5bcav6.js → reference-me5bcav6.js} +1 -1
  192. package/dist/chunks/{plugin-ta8zdwzh.js → reference-mfyv679b.js} +9 -9
  193. package/dist/chunks/{plugin-6fesftb4.js → reference-mgc5ajq3.js} +15 -15
  194. package/dist/chunks/{plugin-nshz4qjm.js → reference-mgrmgacb.js} +24 -24
  195. package/dist/chunks/{plugin-ssxxjq26.js → reference-mqnjedcc.js} +16 -16
  196. package/dist/chunks/{plugin-ebhys1ps.js → reference-mrn7jrf1.js} +28 -28
  197. package/dist/chunks/{plugin-0syrr5yv.js → reference-mt84etn8.js} +1 -1
  198. package/dist/chunks/{plugin-xq2ca4h8.js → reference-mvx17366.js} +11 -11
  199. package/dist/chunks/{plugin-xsvfss3y.js → reference-mxej95nn.js} +21 -21
  200. package/dist/chunks/{plugin-n0p0277s.js → reference-n0p0277s.js} +1 -1
  201. package/dist/chunks/{plugin-2dzh91n1.js → reference-n17ttpw5.js} +6 -6
  202. package/dist/chunks/{plugin-3zz5way2.js → reference-n6j3m873.js} +14 -14
  203. package/dist/chunks/{plugin-qczn15be.js → reference-n6xp163e.js} +16 -16
  204. package/dist/chunks/{plugin-n5tfqgs3.js → reference-n72v8kyg.js} +23 -23
  205. package/dist/chunks/{plugin-nah043kf.js → reference-nah043kf.js} +1 -1
  206. package/dist/chunks/{plugin-4arybamx.js → reference-nggn9d43.js} +25 -25
  207. package/dist/chunks/{plugin-yyhgxykd.js → reference-nkxa5wq0.js} +2 -2
  208. package/dist/chunks/{plugin-p015t6z3.js → reference-p015t6z3.js} +2 -2
  209. package/dist/chunks/{plugin-8xrx88p0.js → reference-p0bn44dh.js} +14 -14
  210. package/dist/chunks/{plugin-2azy8kv6.js → reference-p0tsr9h6.js} +4 -4
  211. package/dist/chunks/{plugin-hjqry76z.js → reference-p1c1t367.js} +27 -27
  212. package/dist/chunks/{plugin-ge8ykx7v.js → reference-p48hbk47.js} +9 -9
  213. package/dist/chunks/{plugin-p7vhpwh8.js → reference-p7vhpwh8.js} +1 -1
  214. package/dist/chunks/{plugin-pc1v25hk.js → reference-pc1v25hk.js} +1 -1
  215. package/dist/chunks/{plugin-wc1y9j0c.js → reference-pka0ykct.js} +21 -21
  216. package/dist/chunks/{plugin-pknna89w.js → reference-pknna89w.js} +1 -1
  217. package/dist/chunks/{plugin-tzwkjnke.js → reference-pnz1sqhe.js} +1 -1
  218. package/dist/chunks/{plugin-397w7c8f.js → reference-pvk64qra.js} +24 -24
  219. package/dist/chunks/{plugin-kxdyf56d.js → reference-pzjxx5kj.js} +1 -1
  220. package/dist/chunks/{plugin-6g9dc8hg.js → reference-q21p601r.js} +6 -6
  221. package/dist/chunks/{plugin-38tv2zyj.js → reference-qh6sbcd8.js} +4 -4
  222. package/dist/chunks/{plugin-qjgzc4b4.js → reference-qjgzc4b4.js} +1 -1
  223. package/dist/chunks/{plugin-7r4kye0n.js → reference-qp86s7ck.js} +3 -3
  224. package/dist/chunks/{plugin-wv160yw5.js → reference-r0h3bw7v.js} +31 -31
  225. package/dist/chunks/{plugin-r0yr0wbs.js → reference-r0yr0wbs.js} +1 -1
  226. package/dist/chunks/{plugin-rb9dy4dg.js → reference-rb9dy4dg.js} +1 -1
  227. package/dist/chunks/{plugin-jq9dhj6x.js → reference-rjr2dewt.js} +21 -21
  228. package/dist/chunks/{plugin-smfcvx02.js → reference-rt0txz63.js} +9 -9
  229. package/dist/chunks/{plugin-rt5dr6hb.js → reference-rt5dr6hb.js} +1 -1
  230. package/dist/chunks/{plugin-qaysd7a4.js → reference-s0m4xskg.js} +86 -86
  231. package/dist/chunks/{plugin-7akzmw6y.js → reference-s12jh10e.js} +8 -8
  232. package/dist/chunks/{plugin-c5kjsz6q.js → reference-s85z3cra.js} +4 -4
  233. package/dist/chunks/{plugin-w22yp63b.js → reference-sah69mkr.js} +9 -9
  234. package/dist/chunks/{plugin-zw6nt08m.js → reference-sd9qfce6.js} +15 -15
  235. package/dist/chunks/{plugin-9k575ryj.js → reference-sfpgp9sh.js} +2 -2
  236. package/dist/chunks/{plugin-8jf5eje7.js → reference-sp2pyba2.js} +7 -7
  237. package/dist/chunks/{plugin-tn6eqn63.js → reference-sparrdxh.js} +20 -20
  238. package/dist/chunks/{plugin-4ay3aqda.js → reference-spqp8scq.js} +8 -8
  239. package/dist/chunks/{plugin-sqjzf8x2.js → reference-sqjzf8x2.js} +1 -1
  240. package/dist/chunks/{plugin-6xqtcmxs.js → reference-szcgc7h4.js} +5 -5
  241. package/dist/chunks/{plugin-8j46xfav.js → reference-t5jgkqc0.js} +64 -64
  242. package/dist/chunks/{plugin-tczq8hjw.js → reference-tczq8hjw.js} +1 -1
  243. package/dist/chunks/{plugin-8ybp78tx.js → reference-tmd1r8tg.js} +4 -4
  244. package/dist/chunks/{plugin-tw8zr1ps.js → reference-tw8zr1ps.js} +1 -1
  245. package/dist/chunks/{plugin-twv2r8f4.js → reference-twv2r8f4.js} +2 -2
  246. package/dist/chunks/{plugin-r90wrezg.js → reference-v7s2kyj8.js} +3 -3
  247. package/dist/chunks/{plugin-vd3b3yk9.js → reference-vd3b3yk9.js} +1 -1
  248. package/dist/chunks/{plugin-veqvce7d.js → reference-veqvce7d.js} +1 -1
  249. package/dist/chunks/{plugin-zvzfb7fs.js → reference-vfqfz9ng.js} +14 -14
  250. package/dist/chunks/{plugin-9smwhcrf.js → reference-vk70kcm0.js} +11 -11
  251. package/dist/chunks/{plugin-mmx1mfjr.js → reference-w35wzz9x.js} +4 -4
  252. package/dist/chunks/{plugin-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{plugin-peyn19kn.js → reference-w70n3epg.js} +8 -8
  254. package/dist/chunks/{plugin-76cb1hcw.js → reference-w8qtt4th.js} +4 -4
  255. package/dist/chunks/{plugin-wakvkjy4.js → reference-wakvkjy4.js} +1 -1
  256. package/dist/chunks/{plugin-wd87259q.js → reference-wd87259q.js} +1 -1
  257. package/dist/chunks/{plugin-eeys6v1h.js → reference-wxd8q9mp.js} +6 -6
  258. package/dist/chunks/{plugin-0gqtjgmn.js → reference-wy4ffk9y.js} +7 -7
  259. package/dist/chunks/{plugin-td8eqxqy.js → reference-wyt6s0d6.js} +30 -30
  260. package/dist/chunks/{plugin-srveqww6.js → reference-x774aw49.js} +11 -11
  261. package/dist/chunks/{plugin-bstexjd6.js → reference-xd9cc171.js} +5 -5
  262. package/dist/chunks/{plugin-c8666r4c.js → reference-xkympmbz.js} +6 -6
  263. package/dist/chunks/{plugin-448xyrnd.js → reference-xptgtj2n.js} +3 -3
  264. package/dist/chunks/{plugin-3p1jwqy9.js → reference-xt1e9zqw.js} +19 -19
  265. package/dist/chunks/{plugin-sen2yr23.js → reference-xydhs8a8.js} +26 -26
  266. package/dist/chunks/{plugin-8ezscwmn.js → reference-y06e3eb4.js} +11 -11
  267. package/dist/chunks/{plugin-3gmz16jc.js → reference-y70av53j.js} +23 -23
  268. package/dist/chunks/{plugin-mmwqbvsn.js → reference-y8dt0ywh.js} +11 -11
  269. package/dist/chunks/{plugin-yb20nhc3.js → reference-yb20nhc3.js} +1 -1
  270. package/dist/chunks/{plugin-pmyfzvdp.js → reference-yd3g8txe.js} +9 -9
  271. package/dist/chunks/{plugin-h70v2djc.js → reference-ygavzdh1.js} +40 -40
  272. package/dist/chunks/{plugin-7mjdf1g0.js → reference-yhbnhfm6.js} +11 -11
  273. package/dist/chunks/{plugin-6pss4g6t.js → reference-yjptjaqs.js} +34 -34
  274. package/dist/chunks/{plugin-417yymah.js → reference-yqtd0t4r.js} +17 -17
  275. package/dist/chunks/{plugin-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{plugin-2w5xpj9a.js → reference-z1797mdk.js} +10 -10
  277. package/dist/chunks/{plugin-z38nccrw.js → reference-z38nccrw.js} +1 -1
  278. package/dist/chunks/{plugin-749ghc7h.js → reference-z47ak11q.js} +3 -3
  279. package/dist/chunks/{plugin-zezfrnf5.js → reference-z8bkf37c.js} +12 -12
  280. package/dist/chunks/{plugin-bx7d5a18.js → reference-zb9z236r.js} +5 -5
  281. package/dist/chunks/{plugin-zkg84ctx.js → reference-zkg84ctx.js} +1 -1
  282. package/dist/chunks/{plugin-cw0ar5ez.js → reference-zw1psc7x.js} +15 -15
  283. package/dist/chunks/{plugin-10zrcpp8.js → reference-zwexphgd.js} +83 -83
  284. package/dist/chunks/{plugin-97g22kyc.js → reference-zwtk19q4.js} +22 -22
  285. package/dist/chunks/{plugin-jn5ay4zm.js → reference-zysxana2.js} +50 -50
  286. package/dist/chunks/{plugin-6a5mpwr5.js → reference-zz476xrp.js} +15 -15
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +9 -9
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +85 -85
  292. package/dist/config/discovery.js +86 -86
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +101 -101
  295. package/dist/config/plugin/agent.js +118 -118
  296. package/dist/config/plugin/command.js +214 -214
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/compatibility.js +135 -135
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +116 -116
  302. package/dist/config/plugin/instruction.js +116 -116
  303. package/dist/config/plugin/location-watcher.js +118 -118
  304. package/dist/config/plugin/mcp.js +125 -125
  305. package/dist/config/plugin/policy.js +117 -117
  306. package/dist/config/plugin/provider.js +116 -116
  307. package/dist/config/plugin/reference.js +116 -116
  308. package/dist/config/plugin/shell.js +116 -116
  309. package/dist/config/plugin/skill-file.js +104 -104
  310. package/dist/config/plugin/skill-scan.js +1 -1
  311. package/dist/config/plugin/skill.js +138 -138
  312. package/dist/config/plugin/snapshot.js +116 -116
  313. package/dist/config/plugin/source.js +119 -119
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +115 -115
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +1 -1
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +117 -117
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +83 -83
  322. package/dist/database/database.js +68 -68
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +14 -14
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  387. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  388. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  389. package/dist/database/migration.gen.js +51 -51
  390. package/dist/database/migration.js +53 -53
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +78 -78
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +369 -369
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +1 -1
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +95 -95
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +95 -95
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +3 -3
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +72 -72
  414. package/dist/file-access.js +106 -106
  415. package/dist/file-mutation.js +96 -96
  416. package/dist/file-retention.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +227 -227
  423. package/dist/filesystem/protected.js +3 -3
  424. package/dist/filesystem/search.js +101 -101
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +9 -9
  427. package/dist/filesystem.js +104 -104
  428. package/dist/form.js +84 -84
  429. package/dist/formatter/builtins.js +2 -2
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +107 -107
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +93 -93
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +360 -360
  456. package/dist/instruction-discovery.js +86 -86
  457. package/dist/instructions/builtins.js +89 -89
  458. package/dist/instructions/index.js +1 -1
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +87 -87
  461. package/dist/job.js +80 -80
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +75 -75
  464. package/dist/location-activity.js +156 -156
  465. package/dist/location-lifecycle.js +109 -109
  466. package/dist/location-service-map.js +88 -88
  467. package/dist/location-services.js +357 -357
  468. package/dist/location.js +89 -89
  469. package/dist/managed-policy.js +6 -6
  470. package/dist/mcp/client.js +93 -93
  471. package/dist/mcp/index.js +111 -111
  472. package/dist/mcp/instructions.js +140 -140
  473. package/dist/mcp/oauth.js +80 -80
  474. package/dist/mcp/stdio.js +92 -92
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +93 -93
  477. package/dist/model-resolver.js +101 -101
  478. package/dist/model-retry.js +1 -1
  479. package/dist/model.js +102 -102
  480. package/dist/models-dev.js +109 -109
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +84 -84
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +113 -113
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +90 -90
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +77 -77
  490. package/dist/plugin/agent.js +78 -78
  491. package/dist/plugin/command.js +104 -104
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +218 -218
  494. package/dist/plugin/identity.js +3 -3
  495. package/dist/plugin/instance.js +5 -5
  496. package/dist/plugin/internal.js +332 -332
  497. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  498. package/dist/plugin/models-dev.js +98 -98
  499. package/dist/plugin/module.js +117 -117
  500. package/dist/plugin/optimize.js +4 -4
  501. package/dist/plugin/plan.js +104 -104
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  504. package/dist/plugin/provider/azure.js +116 -116
  505. package/dist/plugin/provider/cerebras.js +1 -1
  506. package/dist/plugin/provider/chatgpt.js +116 -116
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +112 -112
  511. package/dist/plugin/provider/databricks.js +1 -1
  512. package/dist/plugin/provider/digitalocean.js +95 -95
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/github-copilot.js +97 -97
  516. package/dist/plugin/provider/gitlab.js +95 -95
  517. package/dist/plugin/provider/google-vertex.js +113 -113
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +80 -80
  520. package/dist/plugin/provider/lmstudio.js +125 -125
  521. package/dist/plugin/provider/local.js +122 -122
  522. package/dist/plugin/provider/modal.js +94 -94
  523. package/dist/plugin/provider/neon.js +1 -1
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +125 -125
  526. package/dist/plugin/provider/openai.js +118 -118
  527. package/dist/plugin/provider/opencode.js +103 -103
  528. package/dist/plugin/provider/openrouter.js +93 -93
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +81 -81
  531. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  532. package/dist/plugin/provider/sap-ai-core.js +93 -93
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  535. package/dist/plugin/provider/vercel.js +92 -92
  536. package/dist/plugin/provider/vllm.js +125 -125
  537. package/dist/plugin/provider/xai.js +93 -93
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +170 -170
  540. package/dist/plugin/sdk.js +78 -78
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +134 -134
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +349 -349
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +88 -88
  548. package/dist/plugin/vcs/hg.js +88 -88
  549. package/dist/plugin/verbosity.js +95 -95
  550. package/dist/plugin/warming.js +114 -114
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +4 -4
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +4 -4
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +229 -229
  559. package/dist/project/schema.js +8 -8
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +92 -92
  562. package/dist/provider.js +99 -99
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +101 -101
  566. package/dist/reference/instructions.js +89 -89
  567. package/dist/reference.js +93 -93
  568. package/dist/repository-cache.js +83 -83
  569. package/dist/repository.js +3 -3
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +99 -99
  572. package/dist/rpc.js +88 -88
  573. package/dist/schema.js +1 -1
  574. package/dist/session/affinity.js +1 -1
  575. package/dist/session/command.js +76 -76
  576. package/dist/session/compaction.js +132 -132
  577. package/dist/session/context.js +164 -164
  578. package/dist/session/diff.js +90 -90
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +5 -5
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +221 -221
  583. package/dist/session/execution.js +128 -128
  584. package/dist/session/generate.js +166 -166
  585. package/dist/session/history.js +13 -13
  586. package/dist/session/inbox.js +93 -93
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +81 -81
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +99 -99
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +122 -122
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +128 -128
  596. package/dist/session/projector.js +89 -89
  597. package/dist/session/prompt.js +107 -107
  598. package/dist/session/recent-text.js +1 -1
  599. package/dist/session/revert.js +96 -96
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +231 -231
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +101 -101
  605. package/dist/session/runner/publish-llm-event.js +116 -116
  606. package/dist/session/runner/retry.js +5 -5
  607. package/dist/session/runner/step.js +126 -126
  608. package/dist/session/runner/to-llm-message.js +14 -14
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +165 -165
  611. package/dist/session/shell.js +130 -130
  612. package/dist/session/skill.js +105 -105
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +75 -75
  615. package/dist/session/store.js +87 -87
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +212 -212
  618. package/dist/session/system-prompt.js +3 -3
  619. package/dist/session/title.js +166 -166
  620. package/dist/session/to-session-error.js +114 -114
  621. package/dist/session/transfer.js +217 -217
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +218 -218
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +9 -9
  628. package/dist/shell.js +132 -132
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +107 -107
  631. package/dist/skill.js +112 -112
  632. package/dist/snapshot.js +91 -91
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +137 -137
  637. package/dist/tool/plugin/edit.js +122 -122
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +126 -126
  640. package/dist/tool/plugin/grep.js +126 -126
  641. package/dist/tool/plugin/mcp-resource.js +126 -126
  642. package/dist/tool/plugin/opencode.js +111 -111
  643. package/dist/tool/plugin/patch.js +124 -124
  644. package/dist/tool/plugin/question.js +103 -103
  645. package/dist/tool/plugin/read.js +127 -127
  646. package/dist/tool/plugin/shell.js +211 -211
  647. package/dist/tool/plugin/skill.js +113 -113
  648. package/dist/tool/plugin/subagent.js +219 -219
  649. package/dist/tool/plugin/todo.js +138 -138
  650. package/dist/tool/plugin/webfetch.js +113 -113
  651. package/dist/tool/plugin/websearch.js +114 -114
  652. package/dist/tool/plugin/write.js +116 -116
  653. package/dist/tool/read-filesystem.js +104 -104
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +7 -7
  656. package/dist/tool.js +14 -14
  657. package/dist/util/error-summary.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/lazy.js +1 -1
  660. package/dist/util/slug.js +1 -1
  661. package/dist/util/token.js +1 -1
  662. package/dist/util/which.js +1 -1
  663. package/dist/util/wildcard.js +1 -1
  664. package/dist/v1/config/agent.js +5 -5
  665. package/dist/v1/config/command.js +3 -3
  666. package/dist/v1/config/mcp.js +4 -4
  667. package/dist/v1/config/migrate.js +94 -94
  668. package/dist/v1/config/permission.js +3 -3
  669. package/dist/v1/config/plugin.js +1 -1
  670. package/dist/v1/config/provider-options.js +1 -1
  671. package/dist/v1/config/provider.js +4 -4
  672. package/dist/variant.js +93 -93
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +91 -91
  675. package/dist/voice.js +90 -90
  676. package/dist/websearch.js +82 -82
  677. package/dist/wellknown/plugin.js +78 -78
  678. package/dist/wellknown.js +81 -81
  679. package/dist/workspace/driver.js +5 -5
  680. package/dist/workspace/sql.js +1 -1
  681. package/dist/workspace.js +80 -80
  682. package/dist/worktree/directory.js +2 -2
  683. package/dist/worktree/git.js +10 -10
  684. package/dist/worktree/sql.js +5 -5
  685. package/dist/worktree/strategies.js +91 -91
  686. package/dist/worktree.js +102 -102
  687. package/package.json +8 -8
  688. package/dist/chunks/plugin-d77dj7jw.js +0 -18
  689. package/dist/chunks/plugin-j4appf3d.js +0 -257
  690. package/dist/chunks/plugin-nbm4k9b0.js +0 -26
  691. /package/dist/chunks/{plugin-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
  692. /package/dist/chunks/{plugin-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
  693. /package/dist/chunks/{plugin-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
  694. /package/dist/chunks/{plugin-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
  695. /package/dist/chunks/{plugin-24dcb14g.js → reference-24dcb14g.js} +0 -0
  696. /package/dist/chunks/{plugin-2710q6r3.js → reference-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{plugin-2bv980vf.js → reference-2bv980vf.js} +0 -0
  698. /package/dist/chunks/{plugin-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{plugin-359p4xyc.js → reference-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{plugin-3asan66x.js → reference-3asan66x.js} +0 -0
  701. /package/dist/chunks/{plugin-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{plugin-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{plugin-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{plugin-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{plugin-4vcrnpx2.js → reference-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{plugin-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{plugin-53557ph1.js → reference-53557ph1.js} +0 -0
  708. /package/dist/chunks/{plugin-550bvhaj.js → reference-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{plugin-5fjb7ams.js → reference-5fjb7ams.js} +0 -0
  710. /package/dist/chunks/{plugin-6prwharc.js → reference-6prwharc.js} +0 -0
  711. /package/dist/chunks/{plugin-6q2bdcd1.js → reference-6q2bdcd1.js} +0 -0
  712. /package/dist/chunks/{plugin-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{plugin-7m9af43g.js → reference-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{plugin-822emrt2.js → reference-822emrt2.js} +0 -0
  715. /package/dist/chunks/{plugin-84wd9syh.js → reference-84wd9syh.js} +0 -0
  716. /package/dist/chunks/{plugin-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{plugin-8n3pysct.js → reference-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{plugin-8wj87zfr.js → reference-8wj87zfr.js} +0 -0
  719. /package/dist/chunks/{plugin-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{plugin-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{plugin-a058387c.js → reference-a058387c.js} +0 -0
  722. /package/dist/chunks/{plugin-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
  723. /package/dist/chunks/{plugin-af5trqkr.js → reference-af5trqkr.js} +0 -0
  724. /package/dist/chunks/{plugin-afrmfg78.js → reference-afrmfg78.js} +0 -0
  725. /package/dist/chunks/{plugin-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
  726. /package/dist/chunks/{plugin-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
  727. /package/dist/chunks/{plugin-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
  728. /package/dist/chunks/{plugin-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
  729. /package/dist/chunks/{plugin-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
  730. /package/dist/chunks/{plugin-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
  731. /package/dist/chunks/{plugin-d9fn303g.js → reference-d9fn303g.js} +0 -0
  732. /package/dist/chunks/{plugin-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
  733. /package/dist/chunks/{plugin-dajrwvna.js → reference-dajrwvna.js} +0 -0
  734. /package/dist/chunks/{plugin-dap0rakb.js → reference-dap0rakb.js} +0 -0
  735. /package/dist/chunks/{plugin-df08tz66.js → reference-df08tz66.js} +0 -0
  736. /package/dist/chunks/{plugin-dy18nga0.js → reference-dy18nga0.js} +0 -0
  737. /package/dist/chunks/{plugin-e3qxr5gk.js → reference-e3qxr5gk.js} +0 -0
  738. /package/dist/chunks/{plugin-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{plugin-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{plugin-ec1grn59.js → reference-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{plugin-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{plugin-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{plugin-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{plugin-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{plugin-faypxj3z.js → reference-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{plugin-fd410y7t.js → reference-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{plugin-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
  748. /package/dist/chunks/{plugin-g86h250q.js → reference-g86h250q.js} +0 -0
  749. /package/dist/chunks/{plugin-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
  750. /package/dist/chunks/{plugin-gftt206x.js → reference-gftt206x.js} +0 -0
  751. /package/dist/chunks/{plugin-hcxmzztb.js → reference-hcxmzztb.js} +0 -0
  752. /package/dist/chunks/{plugin-hk9envan.js → reference-hk9envan.js} +0 -0
  753. /package/dist/chunks/{plugin-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
  754. /package/dist/chunks/{plugin-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
  755. /package/dist/chunks/{plugin-jjkms2e6.js → reference-jjkms2e6.js} +0 -0
  756. /package/dist/chunks/{plugin-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
  757. /package/dist/chunks/{plugin-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
  758. /package/dist/chunks/{plugin-jze0r7bz.js → reference-jze0r7bz.js} +0 -0
  759. /package/dist/chunks/{plugin-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
  760. /package/dist/chunks/{plugin-m18g726c.js → reference-m18g726c.js} +0 -0
  761. /package/dist/chunks/{plugin-mp448xyj.js → reference-mp448xyj.js} +0 -0
  762. /package/dist/chunks/{plugin-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
  763. /package/dist/chunks/{plugin-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
  764. /package/dist/chunks/{plugin-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
  765. /package/dist/chunks/{plugin-njntx4h6.js → reference-njntx4h6.js} +0 -0
  766. /package/dist/chunks/{plugin-pkyv6v7h.js → reference-pkyv6v7h.js} +0 -0
  767. /package/dist/chunks/{plugin-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{plugin-q74kybfr.js → reference-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{plugin-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{plugin-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{plugin-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{plugin-qg3g05ea.js → reference-qg3g05ea.js} +0 -0
  773. /package/dist/chunks/{plugin-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{plugin-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{plugin-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{plugin-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{plugin-ve7vex1e.js → reference-ve7vex1e.js} +0 -0
  778. /package/dist/chunks/{plugin-w803qqfp.js → reference-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{plugin-wc3fc9cn.js → reference-wc3fc9cn.js} +0 -0
  780. /package/dist/chunks/{plugin-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{plugin-wjj7prxr.js → reference-wjj7prxr.js} +0 -0
  782. /package/dist/chunks/{plugin-wtztk69x.js → reference-wtztk69x.js} +0 -0
  783. /package/dist/chunks/{plugin-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
  784. /package/dist/chunks/{plugin-x61499pn.js → reference-x61499pn.js} +0 -0
  785. /package/dist/chunks/{plugin-y44na4kk.js → reference-y44na4kk.js} +0 -0
  786. /package/dist/chunks/{plugin-y8f7s663.js → reference-y8f7s663.js} +0 -0
  787. /package/dist/chunks/{plugin-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
  788. /package/dist/chunks/{plugin-ym463w8f.js → reference-ym463w8f.js} +0 -0
  789. /package/dist/chunks/{plugin-z5v4ffb3.js → reference-z5v4ffb3.js} +0 -0
  790. /package/dist/chunks/{plugin-z9919s4g.js → reference-z9919s4g.js} +0 -0
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service68
3
- } from "./plugin-h9rpd4f8.js";
2
+ Service60
3
+ } from "./reference-jk7ax7q1.js";
4
4
  import {
5
5
  Service7
6
- } from "./plugin-4neywqsp.js";
6
+ } from "./reference-dbs9f4d2.js";
7
7
  import {
8
8
  observe2
9
- } from "./plugin-6pjqjmy2.js";
9
+ } from "./reference-6pjqjmy2.js";
10
10
  import {
11
11
  __export
12
- } from "./plugin-9rqn6x4v.js";
12
+ } from "./reference-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/compaction.ts
15
15
  var exports_compaction = {};
16
16
  __export(exports_compaction, {
17
17
  ConfigCompactionPlugin: () => exports_compaction,
18
- Plugin: () => Plugin26
18
+ Plugin: () => Plugin17
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin26 = define({
22
+ var Plugin17 = define({
23
23
  id: "opencode.config.compaction",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service68;
25
+ const config = yield* Service60;
26
26
  const compaction = yield* Service7;
27
27
  const loaded = yield* observe2(config, ctx.event, compaction.reload());
28
28
  yield* compaction.transform((editor) => {
@@ -39,4 +39,4 @@ var Plugin26 = define({
39
39
  })
40
40
  });
41
41
 
42
- export { Plugin26, exports_compaction };
42
+ export { Plugin17, exports_compaction };
@@ -5,24 +5,24 @@ import {
5
5
  emptyPatch2,
6
6
  splitGitPatch2,
7
7
  chunksByFile2
8
- } from "./plugin-rb9dy4dg.js";
8
+ } from "./reference-rb9dy4dg.js";
9
9
  import {
10
10
  gitExecutable2
11
- } from "./plugin-ef5x83kb.js";
11
+ } from "./reference-ef5x83kb.js";
12
12
  import {
13
- Service81
14
- } from "./plugin-qczn15be.js";
13
+ Service79
14
+ } from "./reference-n6xp163e.js";
15
15
  import {
16
16
  DiffError2
17
- } from "./plugin-kszpdg0e.js";
17
+ } from "./reference-c4mt52fx.js";
18
18
  import {
19
19
  __export
20
- } from "./plugin-9rqn6x4v.js";
20
+ } from "./reference-9rqn6x4v.js";
21
21
 
22
22
  // src/plugin/vcs/git.ts
23
23
  var exports_git = {};
24
24
  __export(exports_git, {
25
- Plugin: () => Plugin8,
25
+ Plugin: () => Plugin24,
26
26
  VcsGitPlugin: () => exports_git
27
27
  });
28
28
  import { randomUUID } from "crypto";
@@ -33,10 +33,10 @@ import { define } from "@opencode/plugin/effect/plugin";
33
33
  import { Effect } from "effect";
34
34
  import { ChildProcess } from "effect/process";
35
35
  import { AppProcess } from "@opencode/util/process";
36
- var Plugin8 = define({
36
+ var Plugin24 = define({
37
37
  id: "opencode.vcs.git",
38
38
  effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
39
- const location = yield* Service81;
39
+ const location = yield* Service79;
40
40
  if (location.vcs && location.vcs.type !== "git")
41
41
  return;
42
42
  const processes = yield* AppProcess.Service;
@@ -553,4 +553,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
553
553
  return yield* diffAgainstRef(ctx, ref, options);
554
554
  });
555
555
 
556
- export { Plugin8, exports_git };
556
+ export { Plugin24, exports_git };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  useragent2
3
- } from "./plugin-srveqww6.js";
3
+ } from "./reference-x774aw49.js";
4
4
  import {
5
5
  Service85
6
- } from "./plugin-805retjn.js";
6
+ } from "./reference-69dckygt.js";
7
7
  import {
8
8
  OAuth3,
9
- Event18,
10
- Service75
11
- } from "./plugin-ch9wmxsn.js";
9
+ Event14,
10
+ Service65
11
+ } from "./reference-14v17fgg.js";
12
12
  import {
13
13
  ID12,
14
14
  MethodID2,
15
- Service74
16
- } from "./plugin-3gmz16jc.js";
15
+ Service64
16
+ } from "./reference-y70av53j.js";
17
17
  import {
18
18
  success2,
19
19
  error2
20
- } from "./plugin-yb20nhc3.js";
20
+ } from "./reference-yb20nhc3.js";
21
21
  import {
22
22
  ID11
23
- } from "./plugin-sen2yr23.js";
23
+ } from "./reference-xydhs8a8.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./plugin-2dzh91n1.js";
26
+ } from "./reference-n17ttpw5.js";
27
27
 
28
28
  // src/plugin/provider/snowflake-cortex.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
53
53
  id: "opencode.provider.snowflake.cortex",
54
54
  effect: Effect.fn(function* (ctx) {
55
55
  const http = yield* HttpClient.HttpClient;
56
- const credentials = yield* Service75;
57
- const integrations = yield* Service74;
56
+ const credentials = yield* Service65;
57
+ const integrations = yield* Service64;
58
58
  const bus = yield* Service85;
59
59
  const configured = yield* configuredSettings2(providerID);
60
60
  const account = { value: "" };
@@ -186,7 +186,7 @@ var SnowflakeCortexPlugin2 = define({
186
186
  });
187
187
  }
188
188
  });
189
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
189
+ yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
190
190
  yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
191
191
  const token = envToken();
192
192
  if (token)
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./plugin-9rqn6x4v.js";
3
+ } from "./reference-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/entry-observer.ts
6
6
  var exports_entry_observer = {};
@@ -2,27 +2,27 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./plugin-z5v4ffb3.js";
5
+ } from "./reference-z5v4ffb3.js";
6
6
  import {
7
- Service79,
8
- node82
9
- } from "./plugin-7g67k8da.js";
7
+ Service75,
8
+ node78
9
+ } from "./reference-hh0p0dz0.js";
10
10
  import {
11
11
  Content2
12
- } from "./plugin-td8eqxqy.js";
12
+ } from "./reference-wyt6s0d6.js";
13
13
  import {
14
14
  detect2
15
- } from "./plugin-2z1j29yd.js";
15
+ } from "./reference-2z1j29yd.js";
16
16
  import {
17
17
  __export
18
- } from "./plugin-9rqn6x4v.js";
18
+ } from "./reference-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
22
22
  __export(exports_read_filesystem, {
23
23
  BinaryFileError: () => BinaryFileError2,
24
24
  FileContent: () => FileContent2,
25
- ListEntry: () => ListEntry2,
25
+ ListEntry: () => ListEntry3,
26
26
  ListPage: () => ListPage2,
27
27
  MAX_MEDIA_INGEST_BYTES: () => MAX_MEDIA_INGEST_BYTES2,
28
28
  MAX_READ_BYTES: () => MAX_READ_BYTES2,
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service34,
36
+ Service: () => Service29,
37
37
  TextPage: () => TextPage2,
38
- node: () => node37,
38
+ node: () => node32,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -101,20 +101,20 @@ class TextPage2 extends Schema.Class("ReadTool.TextPage")({
101
101
  next: Schema.optionalKey(PositiveInt2)
102
102
  }) {
103
103
  }
104
- var ListEntry2 = Schema.Struct({
104
+ var ListEntry3 = Schema.Struct({
105
105
  path: RelativePath2,
106
106
  type: Schema.Literals(["file", "directory", "symlink"])
107
107
  }).annotate({ identifier: "ReadTool.ListEntry" });
108
108
 
109
109
  class ListPage2 extends Schema.Class("ReadTool.ListPage")({
110
110
  type: Schema.Literal("list-page"),
111
- entries: Schema.Array(ListEntry2),
111
+ entries: Schema.Array(ListEntry3),
112
112
  truncated: Schema.Boolean,
113
113
  next: Schema.optionalKey(PositiveInt2)
114
114
  }) {
115
115
  }
116
116
 
117
- class Service34 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service29 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 = {}) {
@@ -227,7 +227,7 @@ var list = (items, page) => {
227
227
  const offset = page.offset || 1;
228
228
  const limit = Math.min(page.limit || MAX_READ_LINES2, MAX_READ_LINES2);
229
229
  const visible = items.flatMap((item) => item.type === "other" ? [] : [
230
- ListEntry2.make({
230
+ ListEntry3.make({
231
231
  path: RelativePath2.make(item.name + (item.type === "directory" ? path.sep : "")),
232
232
  type: item.type
233
233
  })
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
330
330
  return index + 1;
331
331
  }
332
332
  };
333
- var layer = Layer.effect(Service34, Effect.gen(function* () {
334
- const environment = yield* Service79;
335
- return Service34.of({
333
+ var layer = Layer.effect(Service29, Effect.gen(function* () {
334
+ const environment = yield* Service75;
335
+ return Service29.of({
336
336
  list: environment.files.list,
337
337
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
338
338
  });
339
339
  }));
340
- var node37 = makeLocationNode({ service: Service34, layer, deps: [node82] });
340
+ var node32 = makeLocationNode({ service: Service29, layer, deps: [node78] });
341
341
 
342
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service34, read2, node37, exports_read_filesystem };
342
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry3, ListPage2, Service29, read2, node32, exports_read_filesystem };
@@ -1,46 +1,46 @@
1
- import {
2
- Service81
3
- } from "./plugin-qczn15be.js";
4
1
  import {
5
2
  Service79
6
- } from "./plugin-7g67k8da.js";
3
+ } from "./reference-n6xp163e.js";
4
+ import {
5
+ Service75
6
+ } from "./reference-hh0p0dz0.js";
7
7
  import {
8
- Service17,
8
+ Service74,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./plugin-8f4bgxgj.js";
11
+ } from "./reference-e42petng.js";
12
12
  import {
13
- Service19
14
- } from "./plugin-wv27004a.js";
13
+ Service52
14
+ } from "./reference-hwhakdtp.js";
15
15
  import {
16
- Service60
17
- } from "./plugin-366nwj0e.js";
16
+ Service45
17
+ } from "./reference-g35eyyjw.js";
18
18
  import {
19
- Service16,
19
+ Service13,
20
20
  resolvePath2
21
- } from "./plugin-8dv6gnq3.js";
21
+ } from "./reference-dcqk33sb.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./plugin-6prwharc.js";
24
+ } from "./reference-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./plugin-9rqn6x4v.js";
27
+ } from "./reference-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input10,
34
- Output: () => Output8,
35
- Plugin: () => Plugin46,
36
- name: () => name10
33
+ Input: () => Input4,
34
+ Output: () => Output4,
35
+ Plugin: () => Plugin38,
36
+ name: () => name4
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name10 = "edit";
43
- var Input10 = Schema.Struct({
42
+ var name4 = "edit";
43
+ var Input4 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input10 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output8 = Schema.Struct({
53
+ var Output4 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -190,21 +190,21 @@ var countBefore = (positions, offset) => {
190
190
  }
191
191
  return low;
192
192
  };
193
- var Plugin46 = {
193
+ var Plugin38 = {
194
194
  id: "opencode.tool.edit",
195
195
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
196
- const access = yield* Service16;
197
- const fileMutation = yield* Service17;
198
- const environment = yield* Service79;
199
- const formatter = yield* Service19;
200
- const location = yield* Service81;
201
- const permission = yield* Service60;
196
+ const access = yield* Service13;
197
+ const fileMutation = yield* Service74;
198
+ const environment = yield* Service75;
199
+ const formatter = yield* Service52;
200
+ const location = yield* Service79;
201
+ const permission = yield* Service45;
202
202
  yield* ctx.tool.transform((editor) => editor.add({
203
- name: name10,
203
+ name: name4,
204
204
  options: { codemode: false, permission: "edit" },
205
205
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
206
- input: Input10,
207
- output: Output8,
206
+ input: Input4,
207
+ output: Output4,
208
208
  execute: (input, context) => {
209
209
  return Effect.gen(function* () {
210
210
  const permissionSource = {
@@ -276,4 +276,4 @@ var Plugin46 = {
276
276
  })
277
277
  };
278
278
 
279
- export { name10, Input10, Output8, Plugin46, exports_edit };
279
+ export { name4, Input4, Output4, Plugin38, exports_edit };
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./reference-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service26,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service26 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service26.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service26, awaitActivation2, exports_service };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ID11
3
- } from "./plugin-sen2yr23.js";
3
+ } from "./reference-xydhs8a8.js";
4
4
  import {
5
5
  configuredSettings2
6
- } from "./plugin-2dzh91n1.js";
6
+ } from "./reference-n17ttpw5.js";
7
7
 
8
8
  // src/plugin/provider/cloudflare-ai-gateway.ts
9
9
  import { Effect } from "effect";
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service68
4
- } from "./plugin-h9rpd4f8.js";
3
+ Service60
4
+ } from "./reference-jk7ax7q1.js";
5
5
  import {
6
- Service71
7
- } from "./plugin-xq2ca4h8.js";
6
+ Service59
7
+ } from "./reference-mvx17366.js";
8
8
  import {
9
9
  observe2
10
- } from "./plugin-6pjqjmy2.js";
10
+ } from "./reference-6pjqjmy2.js";
11
11
  import {
12
12
  __export
13
- } from "./plugin-9rqn6x4v.js";
13
+ } from "./reference-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/tool-output.ts
16
16
  var exports_tool_output = {};
17
17
  __export(exports_tool_output, {
18
18
  ConfigToolOutputPlugin: () => exports_tool_output,
19
- Plugin: () => Plugin34
19
+ Plugin: () => Plugin2
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin34 = define({
23
+ var Plugin2 = define({
24
24
  id: "opencode.config.tool-output",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service68;
27
- const output = yield* Service71;
26
+ const config = yield* Service60;
27
+ const output = yield* Service59;
28
28
  const loaded = yield* observe2(config, ctx.event, output.reload());
29
29
  yield* output.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "tool_output");
@@ -38,4 +38,4 @@ var Plugin34 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin34, exports_tool_output };
41
+ export { Plugin2, exports_tool_output };
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service45,
3
- node47
4
- } from "./plugin-g83p8h2e.js";
2
+ Service54,
3
+ node57
4
+ } from "./reference-cf1w38y2.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./plugin-mtpeagzc.js";
7
+ } from "./reference-ba07h9gm.js";
8
8
  import {
9
9
  __export
10
- } from "./plugin-9rqn6x4v.js";
10
+ } from "./reference-9rqn6x4v.js";
11
11
 
12
12
  // src/session/runner/model.ts
13
13
  var exports_model = {};
14
14
  __export(exports_model, {
15
15
  ModelNotSelectedError: () => ModelNotSelectedError2,
16
16
  ModelUnavailableError: () => ModelUnavailableError2,
17
- Service: () => Service40,
17
+ Service: () => Service37,
18
18
  SessionRunnerModel: () => exports_model,
19
- node: () => node42,
19
+ node: () => node39,
20
20
  resolved: () => resolved2
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
39
39
  }
40
40
  }
41
41
 
42
- class Service40 extends Context.Service()("@opencode/SessionRunnerModel") {
42
+ class Service37 extends Context.Service()("@opencode/SessionRunnerModel") {
43
43
  }
44
44
  var resolved2 = (model, options) => ({
45
45
  model,
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
54
54
  compaction: options.compaction,
55
55
  transport: options.transport
56
56
  });
57
- var layer = Layer.effect(Service40, Effect.gen(function* () {
58
- const resolver = yield* Service45;
59
- return Service40.of({
57
+ var layer = Layer.effect(Service37, Effect.gen(function* () {
58
+ const resolver = yield* Service54;
59
+ return Service37.of({
60
60
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
61
61
  if (!session.model) {
62
62
  const resolved = yield* resolver.resolve();
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
74
74
  })
75
75
  });
76
76
  }));
77
- var node42 = makeLocationNode({ service: Service40, layer, deps: [node47] });
77
+ var node39 = makeLocationNode({ service: Service37, layer, deps: [node57] });
78
78
 
79
- export { ModelNotSelectedError2, ModelUnavailableError2, Service40, resolved2, node42, exports_model };
79
+ export { ModelNotSelectedError2, ModelUnavailableError2, Service37, resolved2, node39, exports_model };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./plugin-zkg84ctx.js";
3
+ } from "./reference-zkg84ctx.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./plugin-z5v4ffb3.js";
7
- import {
8
- Service81
9
- } from "./plugin-qczn15be.js";
6
+ } from "./reference-z5v4ffb3.js";
10
7
  import {
11
8
  Service79
12
- } from "./plugin-7g67k8da.js";
9
+ } from "./reference-n6xp163e.js";
10
+ import {
11
+ Service75
12
+ } from "./reference-hh0p0dz0.js";
13
13
  import {
14
- Service65
15
- } from "./plugin-vpfqjjm8.js";
14
+ Service71
15
+ } from "./reference-2k6pc5wc.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./plugin-td8eqxqy.js";
21
+ } from "./reference-wyt6s0d6.js";
22
22
  import {
23
- Service60
24
- } from "./plugin-366nwj0e.js";
23
+ Service45
24
+ } from "./reference-g35eyyjw.js";
25
25
  import {
26
- Service16
27
- } from "./plugin-8dv6gnq3.js";
26
+ Service13
27
+ } from "./reference-dcqk33sb.js";
28
28
  import {
29
29
  __export
30
- } from "./plugin-9rqn6x4v.js";
30
+ } from "./reference-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input13,
37
- Output: () => Output9,
38
- Plugin: () => Plugin50,
39
- name: () => name13,
40
- toModelContent: () => toModelContent6
36
+ Input: () => Input7,
37
+ Output: () => Output6,
38
+ Plugin: () => Plugin41,
39
+ name: () => name7,
40
+ toModelContent: () => toModelContent4
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name13 = "glob";
46
- var Input13 = Schema.Struct({
45
+ var name7 = "glob";
46
+ var Input7 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,35 +55,35 @@ var Input13 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output9 = Schema.Array(Entry2);
59
- var toModelContent6 = (entries, truncated = false) => {
58
+ var Output6 = Schema.Array(Entry2);
59
+ var toModelContent4 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin50 = {
66
+ var Plugin41 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service79;
70
- const ripgrep = yield* Service65;
71
- const location = yield* Service81;
72
- const access = yield* Service16;
73
- const permission = yield* Service60;
69
+ const environment = yield* Service75;
70
+ const ripgrep = yield* Service71;
71
+ const location = yield* Service79;
72
+ const access = yield* Service13;
73
+ const permission = yield* Service45;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name13,
75
+ name: name7,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input13,
79
- output: Output9,
78
+ input: Input7,
79
+ output: Output6,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name13,
86
+ action: name7,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -118,11 +118,11 @@ var Plugin50 = {
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent6(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent4(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name13, Input13, Output9, toModelContent6, Plugin50, exports_glob };
128
+ export { name7, Input7, Output6, toModelContent4, Plugin41, exports_glob };
@@ -2,7 +2,7 @@ import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2,
4
4
  mapUpdateSet2
5
- } from "./plugin-emrn6kk6.js";
5
+ } from "./reference-emrn6kk6.js";
6
6
 
7
7
  // src/database/drizzle/sqlite-core/effect/insert.ts
8
8
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";