@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
@@ -4,43 +4,43 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./plugin-5fjb7ams.js";
7
+ } from "./reference-5fjb7ams.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./plugin-4xvmh7wp.js";
11
+ } from "./reference-4xvmh7wp.js";
12
12
  import {
13
13
  create3
14
- } from "./plugin-vd3b3yk9.js";
14
+ } from "./reference-vd3b3yk9.js";
15
15
  import {
16
- Service52,
17
- node54
18
- } from "./plugin-ge8ykx7v.js";
16
+ Service81,
17
+ node85
18
+ } from "./reference-p48hbk47.js";
19
19
  import {
20
- Service78,
21
- node81
22
- } from "./plugin-7akzmw6y.js";
20
+ Service82,
21
+ node86
22
+ } from "./reference-s12jh10e.js";
23
23
  import {
24
24
  match2
25
- } from "./plugin-z38nccrw.js";
25
+ } from "./reference-z38nccrw.js";
26
26
  import {
27
27
  __export
28
- } from "./plugin-9rqn6x4v.js";
28
+ } from "./reference-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
32
32
  __export(exports_tool, {
33
33
  CallID: () => CallID2,
34
34
  Content: () => Content3,
35
- Error: () => Error3,
35
+ Error: () => Error5,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service51,
38
+ Service: () => Service80,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node53
41
+ node: () => node84
42
42
  });
43
- import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
43
+ import { CallID as CallID2, Content as Content3, Error as Error5, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
45
45
  import { Tool } from "@opencode/schema/tool";
46
46
  import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service51 extends Context.Service()("@opencode/Tool") {
54
+ class Service80 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service51, Effect.gen(function* () {
57
- const hooks = yield* Service78;
58
- const image = yield* Service52;
56
+ var layer = Layer.effect(Service80, Effect.gen(function* () {
57
+ const hooks = yield* Service82;
58
+ const image = yield* Service81;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
184
184
  }), { discard: true });
185
185
  }
186
186
  });
187
- return Service51.of({
187
+ return Service80.of({
188
188
  transform: state.transform,
189
189
  reload: state.reload,
190
190
  list: () => Effect.sync(() => Array.from(state.get().tools.values())),
@@ -273,10 +273,10 @@ function namespaceError(name) {
273
273
  return;
274
274
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
275
275
  }
276
- var node53 = makeLocationNode({
277
- service: Service51,
276
+ var node84 = makeLocationNode({
277
+ service: Service80,
278
278
  layer,
279
- deps: [node81, node54]
279
+ deps: [node86, node85]
280
280
  });
281
281
 
282
- export { RegistrationError2, Service51, node53, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
282
+ export { RegistrationError2, Service80, node84, exports_tool, CallID2, Content3, Error5, FileContent3, TextContent2 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./plugin-z5v4ffb3.js";
3
+ } from "./reference-z5v4ffb3.js";
4
4
  import {
5
- Service81,
6
- node85
7
- } from "./plugin-qczn15be.js";
5
+ Service79,
6
+ node83
7
+ } from "./reference-n6xp163e.js";
8
8
  import {
9
- Service65,
10
- node68
11
- } from "./plugin-vpfqjjm8.js";
9
+ Service71,
10
+ node74
11
+ } from "./reference-2k6pc5wc.js";
12
12
  import {
13
13
  isHome2,
14
- names3
15
- } from "./plugin-76cb1hcw.js";
14
+ names4
15
+ } from "./reference-w8qtt4th.js";
16
16
  import {
17
17
  __export
18
- } from "./plugin-9rqn6x4v.js";
18
+ } from "./reference-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Service: () => Service44,
25
- configured: () => configured4,
24
+ Service: () => Service70,
25
+ configured: () => configured9,
26
26
  fffLayer: () => fffLayer2,
27
- node: () => node46
27
+ node: () => node73
28
28
  });
29
29
  import { makeLocationNode } from "@opencode/util/effect/app-node";
30
30
  import path from "path";
@@ -32,7 +32,7 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Scope } from "effect
32
32
  import { Fff } from "#fff";
33
33
  import fuzzysort from "fuzzysort";
34
34
  import { FileSystem } from "@opencode/schema/filesystem";
35
- class Service44 extends Context.Service()("@opencode/FileSystem/Search") {
35
+ class Service70 extends Context.Service()("@opencode/FileSystem/Search") {
36
36
  }
37
37
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
38
38
  function emptyIndex() {
@@ -51,9 +51,9 @@ function search(index, input) {
51
51
  });
52
52
  });
53
53
  }
54
- var ripgrepLayer = Layer.effect(Service44, Effect.gen(function* () {
55
- const location = yield* Service81;
56
- const ripgrep = yield* Service65;
54
+ var ripgrepLayer = Layer.effect(Service70, Effect.gen(function* () {
55
+ const location = yield* Service79;
56
+ const ripgrep = yield* Service71;
57
57
  const scope = yield* Scope.Scope;
58
58
  const clock = yield* Clock.Clock;
59
59
  const home = isHome2(location.directory);
@@ -70,7 +70,7 @@ var ripgrepLayer = Layer.effect(Service44, Effect.gen(function* () {
70
70
  cwd: location.directory,
71
71
  pattern: "*",
72
72
  limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
73
- exclude: home ? [...names3()].map((name) => `${name}/**`) : undefined,
73
+ exclude: home ? [...names4()].map((name) => `${name}/**`) : undefined,
74
74
  onEntry: (entry) => Effect.sync(() => {
75
75
  next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
76
76
  const parts = entry.path.split("/");
@@ -98,15 +98,15 @@ var ripgrepLayer = Layer.effect(Service44, Effect.gen(function* () {
98
98
  Deferred.doneUnsafe(attempt, exit);
99
99
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
100
100
  });
101
- return Service44.of({
101
+ return Service70.of({
102
102
  find: (input) => Effect.gen(function* () {
103
103
  yield* refresh;
104
104
  return search(index, input);
105
105
  })
106
106
  });
107
107
  }));
108
- var fffLayer2 = Layer.effect(Service44, Effect.gen(function* () {
109
- const location = yield* Service81;
108
+ var fffLayer2 = Layer.effect(Service70, Effect.gen(function* () {
109
+ const location = yield* Service79;
110
110
  const result = yield* Effect.try({
111
111
  try: () => Fff.create({
112
112
  basePath: location.directory,
@@ -119,12 +119,12 @@ var fffLayer2 = Layer.effect(Service44, Effect.gen(function* () {
119
119
  if (!result?.ok) {
120
120
  if (result)
121
121
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
122
- return Service44.of({
122
+ return Service70.of({
123
123
  find: () => Effect.succeed([])
124
124
  });
125
125
  }
126
126
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
127
- return Service44.of({
127
+ return Service70.of({
128
128
  find: (input) => Effect.sync(() => {
129
129
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
130
130
  const items = (() => {
@@ -168,16 +168,16 @@ var fffLayer2 = Layer.effect(Service44, Effect.gen(function* () {
168
168
  });
169
169
  }));
170
170
  var layer = (options) => Layer.unwrap(Effect.gen(function* () {
171
- const location = yield* Service81;
171
+ const location = yield* Service79;
172
172
  if (location.workspaceID)
173
173
  return ripgrepLayer;
174
174
  if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
175
175
  return ripgrepLayer;
176
176
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer;
177
177
  }));
178
- function configured4(options) {
179
- return makeLocationNode({ service: Service44, layer: layer(options), deps: [node85, node68] });
178
+ function configured9(options) {
179
+ return makeLocationNode({ service: Service70, layer: layer(options), deps: [node83, node74] });
180
180
  }
181
- var node46 = configured4();
181
+ var node73 = configured9();
182
182
 
183
- export { Service44, fffLayer2, configured4, node46, exports_search };
183
+ export { Service70, fffLayer2, configured9, node73, exports_search };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  makeWithDefaults2
3
- } from "./plugin-749ghc7h.js";
3
+ } from "./reference-z47ak11q.js";
4
4
  import {
5
5
  apply3
6
- } from "./plugin-7r4kye0n.js";
6
+ } from "./reference-qp86s7ck.js";
7
7
  import {
8
8
  __export
9
- } from "./plugin-9rqn6x4v.js";
9
+ } from "./reference-9rqn6x4v.js";
10
10
 
11
11
  // src/database/database.ts
12
12
  var exports_database = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./plugin-z5v4ffb3.js";
3
+ } from "./reference-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./plugin-9rqn6x4v.js";
6
+ } from "./reference-9rqn6x4v.js";
7
7
 
8
8
  // src/project/schema.ts
9
9
  var exports_schema = {};
10
10
  __export(exports_schema, {
11
11
  Current: () => Current3,
12
- Event: () => Event19,
13
- ID: () => ID17,
14
- Info: () => Info28,
12
+ Event: () => Event20,
13
+ ID: () => ID18,
14
+ Info: () => Info29,
15
15
  ProjectSchema: () => exports_schema,
16
16
  UpdateInput: () => UpdateInput4,
17
17
  Vcs: () => Vcs3
18
18
  });
19
19
  import { Schema } from "effect";
20
20
  import { Project } from "@opencode/schema/project";
21
- var ID17 = Project.ID;
21
+ var ID18 = Project.ID;
22
22
  var Current3 = Project.Current;
23
- var Info28 = Project.Info;
23
+ var Info29 = Project.Info;
24
24
  var UpdateInput4 = Project.UpdateInput;
25
- var Event19 = Project.Event;
25
+ var Event20 = Project.Event;
26
26
  var Vcs3 = Schema.Struct({
27
27
  type: Project.Vcs,
28
28
  store: AbsolutePath2
29
29
  });
30
30
 
31
- export { ID17, Current3, Info28, UpdateInput4, Event19, Vcs3, exports_schema };
31
+ export { ID18, Current3, Info29, UpdateInput4, Event20, Vcs3, exports_schema };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./plugin-805retjn.js";
4
+ } from "./reference-69dckygt.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./plugin-rb9dy4dg.js";
9
+ } from "./reference-rb9dy4dg.js";
10
10
  import {
11
11
  root2
12
- } from "./plugin-dmj8dyf0.js";
12
+ } from "./reference-f2jmt318.js";
13
13
  import {
14
- Service81,
15
- node85
16
- } from "./plugin-qczn15be.js";
14
+ Service79,
15
+ node83
16
+ } from "./reference-n6xp163e.js";
17
17
  import {
18
18
  reconcile2,
19
19
  create3
20
- } from "./plugin-vd3b3yk9.js";
20
+ } from "./reference-vd3b3yk9.js";
21
21
  import {
22
22
  __export
23
- } from "./plugin-9rqn6x4v.js";
23
+ } from "./reference-9rqn6x4v.js";
24
24
 
25
25
  // src/vcs.ts
26
26
  var exports_vcs = {};
@@ -29,18 +29,18 @@ __export(exports_vcs, {
29
29
  BranchList: () => BranchList2,
30
30
  DiffError: () => DiffError2,
31
31
  FileStatus: () => FileStatus2,
32
- Info: () => Info11,
32
+ Info: () => Info5,
33
33
  InitializeError: () => InitializeError2,
34
34
  Mode: () => Mode2,
35
- Service: () => Service57,
35
+ Service: () => Service16,
36
36
  Vcs: () => exports_vcs,
37
- node: () => node59
37
+ node: () => node19
38
38
  });
39
39
  import path from "path";
40
40
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
41
41
  import { FileDiff } from "@opencode/schema/file-diff";
42
42
  import { FileSystem } from "@opencode/schema/filesystem";
43
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info11, Mode as Mode2 } from "@opencode/schema/vcs";
43
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info5, Mode as Mode2 } from "@opencode/schema/vcs";
44
44
  import { VcsEvent } from "@opencode/schema/vcs-event";
45
45
  import { makeLocationNode } from "@opencode/util/effect/app-node";
46
46
  import { FSUtil } from "@opencode/util/fs-util";
@@ -54,11 +54,11 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
54
54
  }) {
55
55
  }
56
56
 
57
- class Service57 extends Context.Service()("@opencode/Vcs") {
57
+ class Service16 extends Context.Service()("@opencode/Vcs") {
58
58
  }
59
- var layer = Layer.effect(Service57, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service16, Effect.gen(function* () {
60
60
  const fs = yield* FSUtil.Service;
61
- const location = yield* Service81;
61
+ const location = yield* Service79;
62
62
  const bus = yield* Service85;
63
63
  const root = yield* Effect.scope;
64
64
  const fork = yield* FiberSet.makeRuntime();
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
71
71
  canonical: location.project.canonical,
72
72
  ...vcs ? { store: vcs.store } : {}
73
73
  };
74
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info11));
74
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info5));
75
75
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
76
76
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
77
77
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
129
129
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
130
130
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
131
131
  }
132
- return Service57.of({
132
+ return Service16.of({
133
133
  transform: state.transform,
134
134
  reload: state.reload,
135
135
  initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
187
187
  })
188
188
  });
189
189
  }));
190
- var node59 = makeLocationNode({
191
- service: Service57,
190
+ var node19 = makeLocationNode({
191
+ service: Service16,
192
192
  layer,
193
- deps: [FSUtil.node, node85, node89]
193
+ deps: [FSUtil.node, node83, node89]
194
194
  });
195
195
 
196
- export { Base2, BranchList2, FileStatus2, Info11, Mode2, DiffError2, InitializeError2, Service57, node59, exports_vcs };
196
+ export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, InitializeError2, Service16, node19, exports_vcs };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  ID11,
3
3
  mergeOverlay2
4
- } from "./plugin-sen2yr23.js";
4
+ } from "./reference-xydhs8a8.js";
5
5
  import {
6
6
  ID10,
7
7
  VariantID2,
8
- Info19,
8
+ Info18,
9
9
  compatibility2
10
- } from "./plugin-ehna047s.js";
10
+ } from "./reference-c62eb685.js";
11
11
  import {
12
12
  __export
13
- } from "./plugin-9rqn6x4v.js";
13
+ } from "./reference-9rqn6x4v.js";
14
14
 
15
15
  // src/modal/models.ts
16
16
  var exports_models2 = {};
@@ -94,8 +94,8 @@ function limit(value, fallback) {
94
94
  function build(id, remote, baseURL, previous) {
95
95
  const cost = previous?.cost[0];
96
96
  const input = previous?.limit.input;
97
- return Info19.make({
98
- ...Info19.default(providerID, id),
97
+ return Info18.make({
98
+ ...Info18.default(providerID, id),
99
99
  id,
100
100
  modelID: ID10.make(remote.id),
101
101
  providerID,
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  create3
3
- } from "./plugin-vd3b3yk9.js";
3
+ } from "./reference-vd3b3yk9.js";
4
4
  import {
5
5
  which2
6
- } from "./plugin-qaymkmh1.js";
6
+ } from "./reference-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./plugin-9rqn6x4v.js";
9
+ } from "./reference-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
14
  Options: () => Options8,
15
- Service: () => Service76,
15
+ Service: () => Service78,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured10,
18
+ configured: () => configured11,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
21
  list: () => list4,
22
22
  login: () => login2,
23
23
  name: () => name16,
24
- node: () => node79,
24
+ node: () => node82,
25
25
  ps: () => ps2,
26
26
  resolve: () => resolve4
27
27
  });
@@ -47,7 +47,7 @@ var Options8 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service76 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service78 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -188,7 +188,7 @@ async function list4(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service76, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service78, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service76, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service76.of({
202
+ return Service78.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
205
  resolve: (input) => Effect.sync(() => resolve4(input, state.get().shell, options, global.bin)),
206
206
  list: () => Effect.promise(() => list4(options, global.bin))
207
207
  });
208
208
  }));
209
- function configured10(options) {
210
- return makeLocationNode({ service: Service76, layer: layer(options), deps: [Global.node] });
209
+ function configured11(options) {
210
+ return makeLocationNode({ service: Service78, layer: layer(options), deps: [Global.node] });
211
211
  }
212
- var node79 = configured10();
212
+ var node82 = configured11();
213
213
 
214
- export { Options8, Service76, gitbash2, name16, login2, ps2, args2, environment2, resolve4, list4, configured10, node79, exports_select };
214
+ export { Options8, Service78, gitbash2, name16, login2, ps2, args2, environment2, resolve4, list4, configured11, node82, exports_select };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./plugin-805retjn.js";
4
+ } from "./reference-69dckygt.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./plugin-vd3b3yk9.js";
8
+ } from "./reference-vd3b3yk9.js";
9
9
  import {
10
- Service81,
11
- node85
12
- } from "./plugin-qczn15be.js";
10
+ Service79,
11
+ node83
12
+ } from "./reference-n6xp163e.js";
13
13
  import {
14
14
  rewrite2,
15
15
  ID11,
16
16
  modelSettings2,
17
17
  mergeOverlay2,
18
18
  mergeHeaders2,
19
- Service73,
20
- node76,
21
- Event16
22
- } from "./plugin-sen2yr23.js";
19
+ Service63,
20
+ node66,
21
+ Event12
22
+ } from "./reference-xydhs8a8.js";
23
23
  import {
24
24
  __export
25
- } from "./plugin-9rqn6x4v.js";
25
+ } from "./reference-9rqn6x4v.js";
26
26
 
27
27
  // src/model.ts
28
28
  var exports_model2 = {};
@@ -30,26 +30,26 @@ __export(exports_model2, {
30
30
  Capabilities: () => Capabilities2,
31
31
  Compatibility: () => Compatibility2,
32
32
  Cost: () => Cost2,
33
- Event: () => Event15,
33
+ Event: () => Event11,
34
34
  Family: () => Family2,
35
35
  ID: () => ID10,
36
- Info: () => Info19,
36
+ Info: () => Info18,
37
37
  Model: () => exports_model2,
38
38
  ReasoningField: () => ReasoningField2,
39
39
  Ref: () => Ref2,
40
- Service: () => Service72,
40
+ Service: () => Service62,
41
41
  VariantID: () => VariantID2,
42
42
  compatibility: () => compatibility2,
43
43
  mergeCapabilities: () => mergeCapabilities2,
44
- node: () => node75,
45
- parse: () => parse5,
44
+ node: () => node65,
45
+ parse: () => parse4,
46
46
  supportsText: () => supportsText2
47
47
  });
48
48
  import { Model } from "@opencode/schema/model";
49
49
  import { Context, Effect, Layer, Stream } from "effect";
50
50
  import { makeLocationNode } from "@opencode/util/effect/app-node";
51
51
  import { freeze } from "immer";
52
- import { Event as Event15 } from "@opencode/schema/model";
52
+ import { Event as Event11 } from "@opencode/schema/model";
53
53
  var ID10 = Model.ID;
54
54
  var VariantID2 = Model.VariantID;
55
55
  var Family2 = Model.Family;
@@ -67,14 +67,14 @@ var mergeCapabilities2 = (config, base) => {
67
67
  };
68
68
  var Cost2 = Model.Cost;
69
69
  var Ref2 = Model.Ref;
70
- var Info19 = Model.Info;
70
+ var Info18 = Model.Info;
71
71
 
72
- class Service72 extends Context.Service()("@opencode/Model") {
72
+ class Service62 extends Context.Service()("@opencode/Model") {
73
73
  }
74
- var layer = Layer.effect(Service72, Effect.gen(function* () {
75
- const providers = yield* Service73;
74
+ var layer = Layer.effect(Service62, Effect.gen(function* () {
75
+ const providers = yield* Service63;
76
76
  const bus = yield* Service85;
77
- const location = yield* Service81;
77
+ const location = yield* Service79;
78
78
  const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
79
79
  let input;
80
80
  const state = create3({
@@ -120,7 +120,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
120
120
  const models = writable(providerID);
121
121
  if (!models)
122
122
  return;
123
- const model = draft(providerID, modelID) ?? Info19.default(providerID, modelID);
123
+ const model = draft(providerID, modelID) ?? Info18.default(providerID, modelID);
124
124
  update(model);
125
125
  model.id = modelID;
126
126
  model.providerID = providerID;
@@ -216,8 +216,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
216
216
  location: { directory: location.directory, workspaceID: location.workspaceID }
217
217
  });
218
218
  });
219
- yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
220
- return Service72.of({
219
+ yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
220
+ return Service62.of({
221
221
  transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
222
222
  reload,
223
223
  get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
236
236
  })
237
237
  });
238
238
  }));
239
- var node75 = makeLocationNode({ service: Service72, layer, deps: [node76, node89, node85] });
239
+ var node65 = makeLocationNode({ service: Service62, layer, deps: [node66, node89, node83] });
240
240
  var PREFERRED_FREE = [
241
241
  "big-pickle",
242
242
  "deepseek-v4.1-flash-free",
@@ -260,7 +260,7 @@ function compatibility2(input) {
260
260
  return;
261
261
  return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
262
262
  }
263
- function parse5(input) {
263
+ function parse4(input) {
264
264
  const index = input.indexOf("/");
265
265
  return {
266
266
  providerID: ID11.make(index === -1 ? input : input.slice(0, index)),
@@ -268,4 +268,4 @@ function parse5(input) {
268
268
  };
269
269
  }
270
270
 
271
- export { ID10, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info19, Service72, node75, supportsText2, compatibility2, parse5, exports_model2, Event15 };
271
+ export { ID10, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info18, Service62, node65, supportsText2, compatibility2, parse4, exports_model2, Event11 };