@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,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./plugin-z5v4ffb3.js";
3
+ } from "./reference-z5v4ffb3.js";
4
4
  import {
5
- Service83,
6
- node87
7
- } from "./plugin-791mgs72.js";
5
+ Service84,
6
+ node88
7
+ } from "./reference-0pv52n9j.js";
8
8
  import {
9
- parse4,
9
+ parse5,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./plugin-bstexjd6.js";
13
+ } from "./reference-xd9cc171.js";
14
14
  import {
15
- Service77,
16
- node80
17
- } from "./plugin-s9vx4pc1.js";
15
+ Service73,
16
+ node76
17
+ } from "./reference-jt507tgk.js";
18
18
  import {
19
19
  __export
20
- } from "./plugin-9rqn6x4v.js";
20
+ } from "./reference-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service48,
33
+ Service: () => Service68,
34
34
  isError: () => isError2,
35
- node: () => node50,
35
+ node: () => node71,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service48 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service68 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service48, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
- const git = yield* Service83;
106
+ const git = yield* Service84;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service77;
110
- return Service48.of({
109
+ const kv = yield* Service73;
110
+ return Service68.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
114
114
  const repository = input.reference.label;
115
115
  const localPath = cachePath2(global.repos, input.reference, input.branch);
116
116
  const key = `repository-cache:${localPath}`;
117
- const cloneTarget = parse4(input.reference.remote) ?? input.reference;
117
+ const cloneTarget = parse5(input.reference.remote) ?? input.reference;
118
118
  return yield* flock.withLock(Effect.gen(function* () {
119
119
  yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
120
120
  const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
121
121
  const origin = existing ? yield* git.remote.get(existing) : undefined;
122
- const originReference = origin ? parse4(origin) : undefined;
122
+ const originReference = origin ? parse5(origin) : undefined;
123
123
  const worktree = existing ? yield* fs.resolve(localPath) : undefined;
124
124
  const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
125
125
  if (!reuse && (yield* fs.existsSafe(localPath))) {
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node50 = makeGlobalNode({
171
- service: Service48,
170
+ var node71 = makeGlobalNode({
171
+ service: Service68,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node87, Global.node, node80]
173
+ deps: [EffectFlock.node, FSUtil.node, node88, Global.node, node76]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service48, isError2, validateBranch2, node50, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service68, isError2, validateBranch2, node71, exports_repository_cache };
@@ -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/skill-scan.ts
6
6
  var exports_skill_scan = {};
@@ -1,41 +1,41 @@
1
1
  import {
2
- Service60
3
- } from "./plugin-366nwj0e.js";
2
+ Service45
3
+ } from "./reference-g35eyyjw.js";
4
4
  import {
5
- ID4,
5
+ ID3,
6
6
  Name2,
7
7
  toModelOutput3,
8
8
  prepare3,
9
- Service36
10
- } from "./plugin-2k8w2xgz.js";
9
+ Service31
10
+ } from "./reference-9n5nfdbf.js";
11
11
  import {
12
12
  __export
13
- } from "./plugin-9rqn6x4v.js";
13
+ } from "./reference-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/skill.ts
16
16
  var exports_skill3 = {};
17
17
  __export(exports_skill3, {
18
- Input: () => Input5,
19
- Output: () => Output5,
20
- Plugin: () => Plugin40,
18
+ Input: () => Input9,
19
+ Output: () => Output8,
20
+ Plugin: () => Plugin43,
21
21
  SkillTool: () => exports_skill3,
22
- description: () => description3,
23
- name: () => name5,
22
+ description: () => description4,
23
+ name: () => name9,
24
24
  toModelOutput: () => toModelOutput2
25
25
  });
26
26
  import { ToolFailure } from "@opencode/ai";
27
27
  import { Effect, Schema } from "effect";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
- var name5 = "skill";
30
- var Input5 = Schema.Struct({
31
- id: ID4.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
29
+ var name9 = "skill";
30
+ var Input9 = Schema.Struct({
31
+ id: ID3.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
32
32
  });
33
- var Output5 = Schema.Struct({
33
+ var Output8 = Schema.Struct({
34
34
  name: Name2,
35
35
  directory: Schema.String,
36
36
  output: Schema.String
37
37
  });
38
- var description3 = [
38
+ var description4 = [
39
39
  "Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
40
40
  "",
41
41
  "The skill ID must match an available skill or a skill explicitly referenced by the user."
@@ -43,25 +43,25 @@ var description3 = [
43
43
  `);
44
44
  var toModelOutput2 = toModelOutput3;
45
45
  var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
46
- var Plugin40 = {
46
+ var Plugin43 = {
47
47
  id: "opencode.tool.skill",
48
48
  effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
49
49
  const fs = yield* FSUtil.Service;
50
- const skills = yield* Service36;
51
- const permission = yield* Service60;
50
+ const skills = yield* Service31;
51
+ const permission = yield* Service45;
52
52
  yield* ctx.tool.transform((editor) => editor.add({
53
- name: name5,
53
+ name: name9,
54
54
  options: { codemode: false },
55
- description: description3,
56
- input: Input5,
57
- output: Output5,
55
+ description: description4,
56
+ input: Input9,
57
+ output: Output8,
58
58
  execute: (input, context) => Effect.gen(function* () {
59
59
  const skill = yield* skills.get(input.id);
60
60
  if (!skill)
61
61
  return yield* unableToLoad(input.id);
62
62
  return yield* Effect.gen(function* () {
63
63
  yield* permission.assert({
64
- action: name5,
64
+ action: name9,
65
65
  resources: [skill.id],
66
66
  save: [skill.id],
67
67
  sessionID: context.sessionID,
@@ -79,4 +79,4 @@ var Plugin40 = {
79
79
  })
80
80
  };
81
81
 
82
- export { name5, Input5, Output5, description3, toModelOutput2, Plugin40, exports_skill3 };
82
+ export { name9, Input9, Output8, description4, toModelOutput2, Plugin43, exports_skill3 };
@@ -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-workers-ai.ts
9
9
  import { Effect } from "effect";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WebSocketConstructor2
3
- } from "./plugin-jze0r7bz.js";
3
+ } from "./reference-jze0r7bz.js";
4
4
  import {
5
5
  __export
6
- } from "./plugin-9rqn6x4v.js";
6
+ } from "./reference-9rqn6x4v.js";
7
7
 
8
8
  // src/effect/app-node-platform.ts
9
9
  var exports_app_node_platform = {};
@@ -1,17 +1,17 @@
1
1
  import {
2
- ID9,
2
+ ID7,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./plugin-5k63q3tv.js";
5
+ } from "./reference-khz9qtbd.js";
6
6
  import {
7
7
  __export
8
- } from "./plugin-9rqn6x4v.js";
8
+ } from "./reference-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/agent.ts
11
- var exports_agent = {};
12
- __export(exports_agent, {
13
- AgentPlugin: () => exports_agent,
14
- Plugin: () => Plugin16
11
+ var exports_agent2 = {};
12
+ __export(exports_agent2, {
13
+ AgentPlugin: () => exports_agent2,
14
+ Plugin: () => Plugin30
15
15
  });
16
16
  import { define } from "@opencode/plugin/effect/plugin";
17
17
  import { Effect } from "effect";
@@ -57,7 +57,7 @@ Rules:
57
57
  - Never ask questions or add new questions
58
58
  - If the conversation ends with an unanswered question to the user, preserve that exact question
59
59
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
60
- var Plugin16 = define({
60
+ var Plugin30 = define({
61
61
  id: "opencode.agent",
62
62
  effect: Effect.fn(function* (ctx) {
63
63
  yield* ctx.agent.transform((editor) => {
@@ -67,32 +67,32 @@ var Plugin16 = define({
67
67
  item.mode = "primary";
68
68
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
69
69
  });
70
- editor.update(ID9.make("general"), (item) => {
70
+ editor.update(ID7.make("general"), (item) => {
71
71
  item.name = Name3.make("General");
72
72
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
73
73
  item.mode = "subagent";
74
74
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
75
75
  });
76
- editor.update(ID9.make("explore"), (item) => {
76
+ editor.update(ID7.make("explore"), (item) => {
77
77
  item.name = Name3.make("Explore");
78
78
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
79
79
  item.system = PROMPT_EXPLORE;
80
80
  item.mode = "subagent";
81
81
  item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
82
82
  });
83
- editor.update(ID9.make("compaction"), (item) => {
83
+ editor.update(ID7.make("compaction"), (item) => {
84
84
  item.name = Name3.make("Compaction");
85
85
  item.mode = "primary";
86
86
  item.hidden = true;
87
87
  });
88
- editor.update(ID9.make("title"), (item) => {
88
+ editor.update(ID7.make("title"), (item) => {
89
89
  item.name = Name3.make("Title");
90
90
  item.mode = "primary";
91
91
  item.hidden = true;
92
92
  item.system = PROMPT_TITLE;
93
93
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
94
94
  });
95
- editor.update(ID9.make("summary"), (item) => {
95
+ editor.update(ID7.make("summary"), (item) => {
96
96
  item.name = Name3.make("Summary");
97
97
  item.mode = "primary";
98
98
  item.hidden = true;
@@ -103,4 +103,4 @@ var Plugin16 = define({
103
103
  })
104
104
  });
105
105
 
106
- export { Plugin16, exports_agent };
106
+ export { Plugin30, exports_agent2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./plugin-9rqn6x4v.js";
3
+ } from "./reference-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/command.ts
6
6
  var exports_command5 = {};
7
7
  __export(exports_command5, {
8
8
  ConfigCommandV1: () => exports_command5,
9
- Info: () => Info15
9
+ Info: () => Info14
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info15 = Schema.Struct({
12
+ var Info14 = Schema.Struct({
13
13
  template: Schema.String,
14
14
  description: Schema.optional(Schema.String),
15
15
  agent: Schema.optional(Schema.String),
@@ -18,4 +18,4 @@ var Info15 = Schema.Struct({
18
18
  subtask: Schema.optional(Schema.Boolean)
19
19
  });
20
20
 
21
- export { Info15, exports_command5 };
21
+ export { Info14, exports_command5 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./plugin-z5v4ffb3.js";
3
+ } from "./reference-z5v4ffb3.js";
4
4
  import {
5
- Service81
6
- } from "./plugin-qczn15be.js";
5
+ Service79
6
+ } from "./reference-n6xp163e.js";
7
7
  import {
8
- Service16
9
- } from "./plugin-8dv6gnq3.js";
8
+ Service13
9
+ } from "./reference-dcqk33sb.js";
10
10
  import {
11
- Service11
12
- } from "./plugin-j0tn0vhk.js";
11
+ Service12
12
+ } from "./reference-3rsg1p7p.js";
13
13
  import {
14
14
  NotFound3
15
- } from "./plugin-zkg84ctx.js";
15
+ } from "./reference-zkg84ctx.js";
16
16
  import {
17
17
  BinaryFileError2,
18
18
  MediaIngestLimitError2,
@@ -22,26 +22,26 @@ import {
22
22
  FileContent2,
23
23
  TextPage2,
24
24
  ListPage2,
25
- Service34
26
- } from "./plugin-xd37m1km.js";
25
+ Service29
26
+ } from "./reference-6pz21ma1.js";
27
27
  import {
28
28
  __export
29
- } from "./plugin-9rqn6x4v.js";
29
+ } from "./reference-9rqn6x4v.js";
30
30
 
31
31
  // src/tool/plugin/read.ts
32
32
  var exports_read = {};
33
33
  __export(exports_read, {
34
- Input: () => Input6,
35
- Plugin: () => Plugin41,
34
+ Input: () => Input10,
35
+ Plugin: () => Plugin44,
36
36
  ReadTool: () => exports_read,
37
- name: () => name6,
38
- toModelContent: () => toModelContent4
37
+ name: () => name10,
38
+ toModelContent: () => toModelContent5
39
39
  });
40
40
  import { basename, dirname, join } from "path";
41
41
  import { ToolFailure } from "@opencode/ai";
42
42
  import { Effect, Schema } from "effect";
43
43
  import { FSUtil } from "@opencode/util/fs-util";
44
- var name6 = "read";
44
+ var name10 = "read";
45
45
  var FILENAME = "AGENTS.md";
46
46
  var LocationInput = Schema.Struct({
47
47
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -52,21 +52,21 @@ var LocationInput = Schema.Struct({
52
52
  description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
53
53
  })
54
54
  });
55
- var Input6 = LocationInput;
55
+ var Input10 = LocationInput;
56
56
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
57
- var Plugin41 = {
57
+ var Plugin44 = {
58
58
  id: "opencode.tool.read",
59
59
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
60
- const reader = yield* Service34;
61
- const access = yield* Service16;
62
- const sessionInstructions = yield* Service11;
60
+ const reader = yield* Service29;
61
+ const access = yield* Service13;
62
+ const sessionInstructions = yield* Service12;
63
63
  const fs = yield* FSUtil.Service;
64
- const location = yield* Service81;
64
+ const location = yield* Service79;
65
65
  yield* ctx.tool.transform((editor) => editor.add({
66
- name: name6,
66
+ name: name10,
67
67
  options: { codemode: false },
68
68
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
69
- input: Input6,
69
+ input: Input10,
70
70
  output: Output,
71
71
  execute: (input, context) => {
72
72
  return Effect.gen(function* () {
@@ -110,7 +110,7 @@ var Plugin41 = {
110
110
  return { output: result.content, path: result.path };
111
111
  }).pipe(Effect.map((result) => ({
112
112
  output: result.output,
113
- content: toModelContent4(result.path, input.offset, result.output),
113
+ content: toModelContent5(result.path, input.offset, result.output),
114
114
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
115
115
  })), Effect.mapError((error) => {
116
116
  if (error instanceof ToolFailure)
@@ -143,7 +143,7 @@ ${suggestions.join(`
143
143
  });
144
144
  })
145
145
  };
146
- var toModelContent4 = (path, offset, output) => {
146
+ var toModelContent5 = (path, offset, output) => {
147
147
  if (output.type === "file" && output.encoding === "base64")
148
148
  return [
149
149
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -179,4 +179,4 @@ var toModelContent4 = (path, offset, output) => {
179
179
  `);
180
180
  };
181
181
 
182
- export { name6, Input6, Plugin41, toModelContent4, exports_read };
182
+ export { name10, Input10, Plugin44, toModelContent5, exports_read };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create3
3
- } from "./plugin-vd3b3yk9.js";
3
+ } from "./reference-vd3b3yk9.js";
4
4
  import {
5
5
  __export
6
- } from "./plugin-9rqn6x4v.js";
6
+ } from "./reference-9rqn6x4v.js";
7
7
 
8
8
  // src/image.ts
9
9
  var exports_image2 = {};
@@ -11,9 +11,9 @@ __export(exports_image2, {
11
11
  DecodeError: () => DecodeError2,
12
12
  Image: () => exports_image2,
13
13
  ResizerUnavailableError: () => ResizerUnavailableError2,
14
- Service: () => Service52,
14
+ Service: () => Service81,
15
15
  SizeError: () => SizeError2,
16
- node: () => node54
16
+ node: () => node85
17
17
  });
18
18
  import { makeLocationNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
42
42
  }
43
43
  }
44
44
 
45
- class Service52 extends Context.Service()("@opencode/Image") {
45
+ class Service81 extends Context.Service()("@opencode/Image") {
46
46
  }
47
- var layer = Layer.effect(Service52, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service81, Effect.gen(function* () {
48
48
  const state = create3({
49
49
  name: "image",
50
50
  initial: () => ({
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
74
74
  const normalize = yield* loadAdapter;
75
75
  return yield* normalize(resource, content, state.get());
76
76
  });
77
- return Service52.of({ transform: state.transform, reload: state.reload, normalize });
77
+ return Service81.of({ transform: state.transform, reload: state.reload, normalize });
78
78
  }));
79
- var node54 = makeLocationNode({ service: Service52, layer, deps: [] });
79
+ var node85 = makeLocationNode({ service: Service81, layer, deps: [] });
80
80
 
81
- export { ResizerUnavailableError2, DecodeError2, SizeError2, Service52, node54, exports_image2 };
81
+ export { ResizerUnavailableError2, DecodeError2, SizeError2, Service81, node85, exports_image2 };
@@ -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/v1/config/plugin.ts
6
6
  var exports_plugin3 = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./plugin-qaymkmh1.js";
3
+ } from "./reference-qaymkmh1.js";
4
4
 
5
5
  // src/formatter/builtins.ts
6
6
  import { Effect } from "effect";
@@ -2,32 +2,32 @@ import {
2
2
  ephemeral2,
3
3
  Service85,
4
4
  node89
5
- } from "./plugin-805retjn.js";
5
+ } from "./reference-69dckygt.js";
6
6
  import {
7
7
  Key3,
8
8
  unavailable3,
9
9
  removed2,
10
10
  make20,
11
11
  diffByKey2
12
- } from "./plugin-e5dqjz6v.js";
12
+ } from "./reference-e5dqjz6v.js";
13
13
  import {
14
14
  create3
15
- } from "./plugin-vd3b3yk9.js";
15
+ } from "./reference-vd3b3yk9.js";
16
16
  import {
17
17
  __export
18
- } from "./plugin-9rqn6x4v.js";
18
+ } from "./reference-9rqn6x4v.js";
19
19
 
20
20
  // src/instruction-discovery.ts
21
21
  var exports_instruction_discovery = {};
22
22
  __export(exports_instruction_discovery, {
23
- Event: () => Event8,
23
+ Event: () => Event9,
24
24
  File: () => File2,
25
25
  InstructionDiscovery: () => exports_instruction_discovery,
26
- Options: () => Options4,
27
- Service: () => Service49,
28
- configured: () => configured5,
29
- layer: () => layer20,
30
- node: () => node51
26
+ Options: () => Options5,
27
+ Service: () => Service50,
28
+ configured: () => configured6,
29
+ layer: () => layer22,
30
+ node: () => node53
31
31
  });
32
32
  import { Context, Effect, Layer, Schema } from "effect";
33
33
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -39,17 +39,17 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
39
39
  }
40
40
  var Files = Schema.Array(File2);
41
41
  var key = Key3.make("core/instructions");
42
- var Event8 = {
42
+ var Event9 = {
43
43
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
44
44
  };
45
- var Options4 = Schema.Struct({
45
+ var Options5 = Schema.Struct({
46
46
  project: Schema.optional(Schema.Boolean),
47
47
  global: Schema.optional(Schema.Boolean)
48
48
  });
49
49
 
50
- class Service49 extends Context.Service()("@opencode/InstructionDiscovery") {
50
+ class Service50 extends Context.Service()("@opencode/InstructionDiscovery") {
51
51
  }
52
- var layer20 = (options) => Layer.effect(Service49, Effect.gen(function* () {
52
+ var layer22 = (options) => Layer.effect(Service50, Effect.gen(function* () {
53
53
  const bus = yield* Service85;
54
54
  const state = create3({
55
55
  name: "instruction-discovery",
@@ -69,7 +69,7 @@ var layer20 = (options) => Layer.effect(Service49, Effect.gen(function* () {
69
69
  editor.available = false;
70
70
  }
71
71
  }),
72
- notify: () => bus.publish(Event8.Updated, {}).pipe(Effect.asVoid)
72
+ notify: () => bus.publish(Event9.Updated, {}).pipe(Effect.asVoid)
73
73
  });
74
74
  const source = (value) => make20({
75
75
  key,
@@ -87,7 +87,7 @@ var layer20 = (options) => Layer.effect(Service49, Effect.gen(function* () {
87
87
  return unavailable3;
88
88
  return Array.from(current.files.values());
89
89
  });
90
- return Service49.of({
90
+ return Service50.of({
91
91
  project: options?.project !== false,
92
92
  global: options?.global !== false,
93
93
  transform: state.transform,
@@ -101,14 +101,14 @@ var layer20 = (options) => Layer.effect(Service49, Effect.gen(function* () {
101
101
  })
102
102
  });
103
103
  }));
104
- function configured5(options) {
104
+ function configured6(options) {
105
105
  return makeLocationNode({
106
- service: Service49,
107
- layer: layer20(options),
106
+ service: Service50,
107
+ layer: layer22(options),
108
108
  deps: [node89]
109
109
  });
110
110
  }
111
- var node51 = configured5();
111
+ var node53 = configured6();
112
112
  function render(files) {
113
113
  return files.map((file) => `Instructions from: ${file.path}
114
114
  ${file.content}`).join(`
@@ -139,4 +139,4 @@ ${render([after])}`;
139
139
  `);
140
140
  }
141
141
 
142
- export { File2, Event8, Options4, Service49, layer20, configured5, node51, exports_instruction_discovery };
142
+ export { File2, Event9, Options5, Service50, layer22, configured6, node53, exports_instruction_discovery };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./plugin-qfa1cgps.js";
3
+ } from "./reference-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -2,7 +2,7 @@ import {
2
2
  SQLiteEffectPreparedQuery2,
3
3
  SQLiteEffectSession2,
4
4
  SQLiteEffectTransaction2
5
- } from "./plugin-9k575ryj.js";
5
+ } from "./reference-sfpgp9sh.js";
6
6
 
7
7
  // src/database/drizzle/effect-sqlite/session.ts
8
8
  import * as Context from "effect/Context";