@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,79 +1,79 @@
1
1
  import {
2
2
  Service86
3
- } from "./plugin-e7p8ph8y.js";
3
+ } from "./reference-bxmy050v.js";
4
4
  import {
5
5
  Service85
6
- } from "./plugin-805retjn.js";
6
+ } from "./reference-69dckygt.js";
7
7
  import {
8
- Service41
9
- } from "./plugin-sbegqkxp.js";
8
+ Service36
9
+ } from "./reference-dwwyec8z.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./plugin-k814nvkf.js";
12
+ } from "./reference-k814nvkf.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./plugin-gftt206x.js";
15
+ } from "./reference-gftt206x.js";
16
16
  import {
17
- NotFoundError8,
17
+ NotFoundError7,
18
18
  PromptConflictError2,
19
19
  SyntheticConflictError2,
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./plugin-zg933662.js";
23
+ } from "./reference-jxxeqwt8.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./plugin-ec1grn59.js";
26
+ } from "./reference-ec1grn59.js";
27
27
  import {
28
- Service61
29
- } from "./plugin-daqfgk3c.js";
28
+ Service47
29
+ } from "./reference-18sg5j62.js";
30
30
  import {
31
31
  SyntheticPayload2,
32
- Service39
33
- } from "./plugin-hvca08ne.js";
32
+ Service35
33
+ } from "./reference-aqfgbfd8.js";
34
34
  import {
35
- Service37
36
- } from "./plugin-4z501z63.js";
35
+ Service33
36
+ } from "./reference-d0jwqxv7.js";
37
37
  import {
38
38
  prepare2
39
- } from "./plugin-fjj0tk6a.js";
39
+ } from "./reference-gphsqkvp.js";
40
40
  import {
41
41
  stage2,
42
42
  clear2,
43
43
  commit2
44
- } from "./plugin-ky4dyj93.js";
44
+ } from "./reference-bcb37r7z.js";
45
45
  import {
46
46
  start2
47
- } from "./plugin-dwad2f7j.js";
47
+ } from "./reference-dghpgdwh.js";
48
48
  import {
49
49
  get4
50
- } from "./plugin-e6b2spd3.js";
50
+ } from "./reference-cgx3zxj6.js";
51
51
  import {
52
52
  __export
53
- } from "./plugin-9rqn6x4v.js";
53
+ } from "./reference-9rqn6x4v.js";
54
54
 
55
55
  // src/session/session.ts
56
56
  var exports_session2 = {};
57
57
  __export(exports_session2, {
58
58
  Session: () => exports_session2,
59
- make: () => make12
59
+ make: () => make13
60
60
  });
61
61
  import { DateTime, Effect, Fiber, Scope } from "effect";
62
62
  import { Event } from "@opencode/schema/event";
63
63
  import { FSUtil } from "@opencode/util/fs-util";
64
- var make12 = Effect.fn("Session.make")(function* () {
64
+ var make13 = Effect.fn("Session.make")(function* () {
65
65
  const bus = yield* Service85;
66
66
  const database = yield* Service86;
67
- const store = yield* Service61;
68
- const instances = yield* Service41;
69
- const execution = yield* Service37;
70
- const admission = yield* Service39;
67
+ const store = yield* Service47;
68
+ const instances = yield* Service36;
69
+ const execution = yield* Service33;
70
+ const admission = yield* Service35;
71
71
  const fs = yield* FSUtil.Service;
72
72
  const scope = yield* Scope.Scope;
73
73
  const get = Effect.fn("Session.get")(function* (sessionID) {
74
74
  const session = yield* store.get(sessionID);
75
75
  if (!session)
76
- return yield* new NotFoundError8({ sessionID });
76
+ return yield* new NotFoundError7({ sessionID });
77
77
  return session;
78
78
  });
79
79
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -146,7 +146,7 @@ var make12 = Effect.fn("Session.make")(function* () {
146
146
  });
147
147
  if (existing)
148
148
  return existing;
149
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service41, instances), Effect.provideService(FSUtil.Service, fs)));
149
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service36, instances), Effect.provideService(FSUtil.Service, fs)));
150
150
  if (session.revert)
151
151
  yield* commit2(bus, session);
152
152
  return yield* admission.admit({
@@ -162,7 +162,7 @@ var make12 = Effect.fn("Session.make")(function* () {
162
162
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
163
163
  const session = yield* get(sessionID);
164
164
  const running = yield* Effect.gen(function* () {
165
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service41, instances), Effect.tapError((error) => synthetic(sessionID, {
165
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service36, instances), Effect.tapError((error) => synthetic(sessionID, {
166
166
  text: `User shell command failed to start:
167
167
  ${input.command}
168
168
 
@@ -191,7 +191,7 @@ ${error.message}`,
191
191
  });
192
192
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
193
193
  const session = yield* get(sessionID);
194
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service41, instances));
194
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service36, instances));
195
195
  yield* bus.publish(SessionEvent2.Skill.Activated, {
196
196
  sessionID,
197
197
  id: skill.id,
@@ -248,13 +248,13 @@ ${error.message}`,
248
248
  const session = yield* get(sessionID);
249
249
  if (yield* execution.isActive(sessionID))
250
250
  return yield* new BusyError2({ sessionID });
251
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service41, instances), Effect.provideService(Service86, database), Effect.provideService(Service85, bus));
251
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service36, instances), Effect.provideService(Service86, database), Effect.provideService(Service85, bus));
252
252
  });
253
253
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
254
254
  const session = yield* get(sessionID);
255
255
  if (yield* execution.isActive(sessionID))
256
256
  return yield* new BusyError2({ sessionID });
257
- yield* clear2(session).pipe(Effect.provideService(Service41, instances), Effect.provideService(Service85, bus));
257
+ yield* clear2(session).pipe(Effect.provideService(Service36, instances), Effect.provideService(Service85, bus));
258
258
  return yield* execution.wake(sessionID);
259
259
  });
260
260
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -346,4 +346,4 @@ ${error.message}`,
346
346
  return { forSession };
347
347
  });
348
348
 
349
- export { make12, exports_session2 };
349
+ export { make13, exports_session2 };
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID9
3
- } from "./plugin-5k63q3tv.js";
2
+ ID7
3
+ } from "./reference-khz9qtbd.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./plugin-z5v4ffb3.js";
6
+ } from "./reference-z5v4ffb3.js";
7
7
  import {
8
- Info14
9
- } from "./plugin-ddgdpn03.js";
8
+ Info16
9
+ } from "./reference-9t2khtsw.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./plugin-2r4n81ay.js";
12
+ } from "./reference-617zxnkf.js";
13
13
  import {
14
14
  latest2,
15
- Service68
16
- } from "./plugin-h9rpd4f8.js";
15
+ Service60
16
+ } from "./reference-jk7ax7q1.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./plugin-e834z07m.js";
19
+ } from "./reference-e834z07m.js";
20
20
  import {
21
21
  __export
22
- } from "./plugin-9rqn6x4v.js";
22
+ } from "./reference-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
- var exports_agent2 = {};
26
- __export(exports_agent2, {
27
- ConfigAgentPlugin: () => exports_agent2,
28
- Plugin: () => Plugin22
25
+ var exports_agent = {};
26
+ __export(exports_agent, {
27
+ ConfigAgentPlugin: () => exports_agent,
28
+ Plugin: () => Plugin10
29
29
  });
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode/schema/config";
@@ -40,13 +40,13 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info14);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info16);
44
44
  var pathActions = ["external_directory", "read", "edit"];
45
45
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
46
- var Plugin22 = define({
46
+ var Plugin10 = define({
47
47
  id: "opencode.config.agent",
48
48
  effect: Effect.fn(function* (ctx) {
49
- const config = yield* Service68;
49
+ const config = yield* Service60;
50
50
  const fs = yield* FSUtil.Service;
51
51
  const global = yield* Global.Service;
52
52
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -75,13 +75,13 @@ var Plugin22 = define({
75
75
  const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
76
76
  const configuredDefault = latest2(loaded.documents, "default_agent");
77
77
  if (configuredDefault !== undefined)
78
- editor.default(ID9.make(configuredDefault));
78
+ editor.default(ID7.make(configuredDefault));
79
79
  for (const current of editor.list()) {
80
80
  editor.update(current.id, (agent) => agent.permissions.push(...permissions));
81
81
  }
82
82
  for (const document of loaded.documents) {
83
83
  for (const [id, item] of Object.entries(document.info.agents ?? {})) {
84
- const agentID = ID9.make(id);
84
+ const agentID = ID7.make(id);
85
85
  if (item.disabled) {
86
86
  editor.remove(agentID);
87
87
  continue;
@@ -158,4 +158,4 @@ function decode(file, content) {
158
158
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
159
159
  }
160
160
 
161
- export { Plugin22, exports_agent2 };
161
+ export { Plugin10, exports_agent };
@@ -1,9 +1,9 @@
1
1
  import {
2
- render3
3
- } from "./plugin-vmfhgzt5.js";
2
+ render2
3
+ } from "./reference-g7esga4v.js";
4
4
  import {
5
5
  __export
6
- } from "./plugin-9rqn6x4v.js";
6
+ } from "./reference-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -13,7 +13,7 @@ __export(exports_optimize, {
13
13
  ArceePlugin: () => ArceePlugin2,
14
14
  KimiPlugin: () => KimiPlugin2,
15
15
  MetaPlugin: () => MetaPlugin2,
16
- OpenAIPlugin: () => OpenAIPlugin2,
16
+ OpenAIPlugin: () => OpenAIPlugin3,
17
17
  OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
18
18
  OptimizePlugin: () => exports_optimize,
19
19
  Plugins: () => Plugins2
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
374
374
  `;
375
375
 
376
376
  // src/plugin/optimize.ts
377
- var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
377
+ var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
378
378
  const id = model.id.toLowerCase();
379
379
  if (!id.includes("gpt"))
380
380
  return;
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
409
409
  return;
410
410
  return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
411
411
  });
412
- var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
412
+ var Plugins2 = [OpenAIPlugin3, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
413
413
  function make(id, optimize, mode = "override") {
414
414
  return define({
415
415
  id,
@@ -424,7 +424,7 @@ function make(id, optimize, mode = "override") {
424
424
  const system = event.system[0];
425
425
  if (!system)
426
426
  return;
427
- const rendered = render3(template, Object.keys(event.tools));
427
+ const rendered = render2(template, Object.keys(event.tools));
428
428
  const text = mode === "append" ? `${system.text}
429
429
 
430
430
  ${rendered}` : rendered;
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
437
437
  });
438
438
  }
439
439
 
440
- export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
440
+ export { OpenAIPlugin3, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  directoryColumn2,
3
3
  pathColumn2
4
- } from "./plugin-wakvkjy4.js";
4
+ } from "./reference-wakvkjy4.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./plugin-qfa1cgps.js";
7
+ } from "./reference-qfa1cgps.js";
8
8
  import {
9
9
  ProjectTable2
10
- } from "./plugin-034tev2y.js";
10
+ } from "./reference-034tev2y.js";
11
11
 
12
12
  // src/session/sql.ts
13
13
  import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
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/v1/config/mcp.ts
9
9
  var exports_mcp5 = {};
10
10
  __export(exports_mcp5, {
11
11
  ConfigMCPV1: () => exports_mcp5,
12
- Info: () => Info17,
12
+ Info: () => Info15,
13
13
  Local: () => Local2,
14
14
  OAuth: () => OAuth2,
15
15
  Remote: () => Remote2
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
64
64
  description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
65
65
  })
66
66
  }).annotate({ identifier: "McpRemoteConfig" });
67
- var Info17 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
67
+ var Info15 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
68
68
 
69
- export { Local2, OAuth2, Remote2, Info17, exports_mcp5 };
69
+ export { Local2, OAuth2, Remote2, Info15, exports_mcp5 };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./plugin-805retjn.js";
4
+ } from "./reference-69dckygt.js";
5
5
  import {
6
6
  create3
7
- } from "./plugin-vd3b3yk9.js";
7
+ } from "./reference-vd3b3yk9.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./plugin-366nwj0e.js";
10
+ } from "./reference-g35eyyjw.js";
11
11
  import {
12
12
  __export
13
- } from "./plugin-9rqn6x4v.js";
13
+ } from "./reference-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event6,
21
- ID: () => ID4,
20
+ Event: () => Event4,
21
+ ID: () => ID3,
22
22
  Info: () => Info7,
23
23
  Name: () => Name2,
24
- Service: () => Service36,
24
+ Service: () => Service31,
25
25
  Skill: () => exports_skill5,
26
- Source: () => Source4,
26
+ Source: () => Source3,
27
27
  UrlSource: () => UrlSource2,
28
28
  available: () => available2,
29
- node: () => node39,
29
+ node: () => node34,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -35,13 +35,13 @@ import { FSUtil } from "@opencode/util/fs-util";
35
35
  import path from "path";
36
36
  import { Context, Effect, Layer } from "effect";
37
37
  import { Skill } from "@opencode/schema/skill";
38
- import { Event as Event6 } from "@opencode/schema/skill";
38
+ import { Event as Event4 } from "@opencode/schema/skill";
39
39
  var DirectorySource2 = Skill.DirectorySource;
40
40
  var UrlSource2 = Skill.UrlSource;
41
41
  var EmbeddedSource2 = Skill.EmbeddedSource;
42
- var Source4 = Skill.Source;
42
+ var Source3 = Skill.Source;
43
43
  var Info7 = Skill.Info;
44
- var ID4 = Skill.ID;
44
+ var ID3 = Skill.ID;
45
45
  var Name2 = Skill.Name;
46
46
  var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
47
47
  var toModelOutput3 = (skill, files) => {
@@ -78,21 +78,21 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
78
78
  };
79
79
  });
80
80
 
81
- class Service36 extends Context.Service()("@opencode/Skill") {
81
+ class Service31 extends Context.Service()("@opencode/Skill") {
82
82
  }
83
- var layer = Layer.effect(Service36, Effect.gen(function* () {
83
+ var layer = Layer.effect(Service31, Effect.gen(function* () {
84
84
  const bus = yield* Service85;
85
85
  const state = create3({
86
86
  name: "skill",
87
87
  initial: () => ({ skills: new Map }),
88
88
  editor: (editor) => ({
89
89
  list: () => Array.from(editor.skills.values()),
90
- get: (id) => editor.skills.get(ID4.make(id)),
90
+ get: (id) => editor.skills.get(ID3.make(id)),
91
91
  add: (skill) => {
92
92
  editor.skills.set(skill.id, { ...skill });
93
93
  },
94
94
  update: (id, update) => {
95
- const key = ID4.make(id);
95
+ const key = ID3.make(id);
96
96
  const current = editor.skills.get(key);
97
97
  if (!current)
98
98
  return;
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
100
100
  current.id = key;
101
101
  },
102
102
  remove: (id) => {
103
- editor.skills.delete(ID4.make(id));
103
+ editor.skills.delete(ID3.make(id));
104
104
  }
105
105
  }),
106
106
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
107
107
  });
108
- return Service36.of({
108
+ return Service31.of({
109
109
  transform: state.transform,
110
110
  reload: state.reload,
111
111
  get: Effect.fn("Skill.get")(function* (id) {
@@ -116,10 +116,10 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node39 = makeLocationNode({
120
- service: Service36,
119
+ var node34 = makeLocationNode({
120
+ service: Service31,
121
121
  layer,
122
122
  deps: [node89]
123
123
  });
124
124
 
125
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info7, ID4, Name2, available2, toModelOutput3, prepare3, Service36, node39, exports_skill5, Event6 };
125
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info7, ID3, Name2, available2, toModelOutput3, prepare3, Service31, node34, exports_skill5, Event4 };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./plugin-p015t6z3.js";
3
+ } from "./reference-p015t6z3.js";
4
4
  import {
5
- Service45,
6
- node47
7
- } from "./plugin-g83p8h2e.js";
5
+ Service54,
6
+ node57
7
+ } from "./reference-cf1w38y2.js";
8
8
  import {
9
9
  retry2
10
- } from "./plugin-n0p0277s.js";
10
+ } from "./reference-n0p0277s.js";
11
11
  import {
12
12
  __export
13
- } from "./plugin-9rqn6x4v.js";
13
+ } from "./reference-9rqn6x4v.js";
14
14
 
15
15
  // src/generate.ts
16
- var exports_generate = {};
17
- __export(exports_generate, {
18
- Generate: () => exports_generate,
16
+ var exports_generate2 = {};
17
+ __export(exports_generate2, {
18
+ Generate: () => exports_generate2,
19
19
  ModelSelectionError: () => ModelSelectionError2,
20
- Service: () => Service20,
20
+ Service: () => Service41,
21
21
  UnavailableError: () => UnavailableError3,
22
- layer: () => layer11,
23
- node: () => node23
22
+ layer: () => layer18,
23
+ node: () => node43
24
24
  });
25
25
  import { LLM, LLMClient } from "@opencode/ai";
26
26
  import { SessionID } from "@opencode/schema/session-id";
@@ -37,11 +37,11 @@ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError"
37
37
  }) {
38
38
  }
39
39
 
40
- class Service20 extends Context.Service()("@opencode/Generate") {
40
+ class Service41 extends Context.Service()("@opencode/Generate") {
41
41
  }
42
- var layer11 = Layer.effect(Service20, Effect.gen(function* () {
42
+ var layer18 = Layer.effect(Service41, Effect.gen(function* () {
43
43
  const llm = yield* LLMClient.Service;
44
- const resolver = yield* Service45;
44
+ const resolver = yield* Service54;
45
45
  const runText = Effect.fn("Generate.text")(function* (input) {
46
46
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
47
47
  "SessionRunnerModel.VariantUnavailableError",
@@ -71,12 +71,12 @@ var layer11 = Layer.effect(Service20, Effect.gen(function* () {
71
71
  const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
72
72
  message: "Generation credentials are unavailable"
73
73
  })));
74
- return Service20.of({ text });
74
+ return Service41.of({ text });
75
75
  }));
76
- var node23 = makeLocationNode({
77
- service: Service20,
78
- layer: layer11,
79
- deps: [node47, llmClient2]
76
+ var node43 = makeLocationNode({
77
+ service: Service41,
78
+ layer: layer18,
79
+ deps: [node57, llmClient2]
80
80
  });
81
81
 
82
- export { ModelSelectionError2, UnavailableError3, Service20, layer11, node23, exports_generate };
82
+ export { ModelSelectionError2, UnavailableError3, Service41, layer18, node43, exports_generate2 };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./plugin-z5v4ffb3.js";
3
+ } from "./reference-z5v4ffb3.js";
4
4
  import {
5
5
  Entries2,
6
- Info16
7
- } from "./plugin-mmx1mfjr.js";
6
+ Info17
7
+ } from "./reference-w35wzz9x.js";
8
8
  import {
9
9
  __export
10
- } from "./plugin-9rqn6x4v.js";
10
+ } from "./reference-9rqn6x4v.js";
11
11
 
12
12
  // src/v1/config/agent.ts
13
13
  var exports_agent4 = {};
14
14
  __export(exports_agent4, {
15
15
  ConfigAgentV1: () => exports_agent4,
16
- Info: () => Info14
16
+ Info: () => Info16
17
17
  });
18
18
  import { Schema, SchemaGetter } from "effect";
19
19
  var Color = Schema.Union([
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
45
45
  description: "Maximum number of agentic iterations before forcing text-only response"
46
46
  }),
47
47
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
48
- permission: Schema.optional(Info16)
48
+ permission: Schema.optional(Info17)
49
49
  }), [Schema.Record(Schema.String, Schema.Any)]);
50
50
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
51
51
  var normalize = (agent) => {
@@ -64,9 +64,9 @@ var normalize = (agent) => {
64
64
  const steps = agent.steps ?? agent.maxSteps;
65
65
  return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
66
66
  };
67
- var Info14 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
67
+ var Info16 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
68
68
  decode: SchemaGetter.transform(normalize),
69
69
  encode: SchemaGetter.passthrough({ strict: false })
70
70
  })).annotate({ identifier: "AgentConfig" });
71
71
 
72
- export { Info14, exports_agent4 };
72
+ export { Info16, exports_agent4 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./plugin-9rqn6x4v.js";
3
+ } from "./reference-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service67,
8
+ Service: () => Service58,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node70
10
+ node: () => node61
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service67 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service58 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service67, () => {
17
+ var layer = Layer.sync(Service58, () => {
18
18
  const environments = new Map;
19
- return Service67.of({
19
+ return Service58.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service67, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node70 = makeGlobalNode({ service: Service67, layer, deps: [] });
29
+ var node61 = makeGlobalNode({ service: Service58, layer, deps: [] });
30
30
 
31
- export { Service67, node70, exports_environment };
31
+ export { Service58, node61, exports_environment };
@@ -1,36 +1,36 @@
1
1
  import {
2
- Service69
3
- } from "./plugin-zgy84aax.js";
2
+ Service61
3
+ } from "./reference-4x43ze8b.js";
4
4
  import {
5
- Service68
6
- } from "./plugin-h9rpd4f8.js";
5
+ Service60
6
+ } from "./reference-jk7ax7q1.js";
7
7
  import {
8
8
  parse2
9
- } from "./plugin-6g9dc8hg.js";
9
+ } from "./reference-q21p601r.js";
10
10
  import {
11
11
  ignore2,
12
12
  scan2
13
- } from "./plugin-nah043kf.js";
13
+ } from "./reference-nah043kf.js";
14
14
  import {
15
15
  __export
16
- } from "./plugin-9rqn6x4v.js";
16
+ } from "./reference-9rqn6x4v.js";
17
17
 
18
18
  // src/config/plugin/compatibility.ts
19
19
  var exports_compatibility = {};
20
20
  __export(exports_compatibility, {
21
21
  ConfigCompatibilityPlugin: () => exports_compatibility,
22
- Plugin: () => Plugin20
22
+ Plugin: () => Plugin19
23
23
  });
24
24
  import { define } from "@opencode/plugin/effect/plugin";
25
25
  import { FSUtil } from "@opencode/util/fs-util";
26
26
  import path from "path";
27
27
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
28
- var Plugin20 = define({
28
+ var Plugin19 = define({
29
29
  id: "opencode.config.compatibility",
30
30
  effect: Effect.fn(function* (ctx) {
31
- const config = yield* Service68;
31
+ const config = yield* Service60;
32
32
  const fs = yield* FSUtil.Service;
33
- const watcher = yield* Service69;
33
+ const watcher = yield* Service61;
34
34
  const watches = yield* FiberMap.make();
35
35
  const changes = yield* PubSub.sliding(1);
36
36
  const lock = Semaphore.makeUnsafe(1);
@@ -76,4 +76,4 @@ var Plugin20 = define({
76
76
  })
77
77
  });
78
78
 
79
- export { Plugin20, exports_compatibility };
79
+ export { Plugin19, exports_compatibility };