@opencode/core 0.0.0-dev-20654 → 0.0.0-dev-20657

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 (778) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{app-pec8ewpc.js → vcs-02w6ye8w.js} +19 -19
  8. package/dist/chunks/{app-qzgv83g8.js → vcs-03ympqey.js} +50 -50
  9. package/dist/chunks/{app-5jrta31j.js → vcs-040mzcjf.js} +41 -41
  10. package/dist/chunks/{app-m1mdr3t4.js → vcs-0a9mspw3.js} +43 -43
  11. package/dist/chunks/{app-x1w9s84m.js → vcs-0cpggsem.js} +22 -22
  12. package/dist/chunks/{app-0paq2nw3.js → vcs-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{app-h7v41q2b.js → vcs-0t0msxhb.js} +5 -5
  14. package/dist/chunks/{app-0vbcp93d.js → vcs-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{app-3jrsp1yh.js → vcs-1590h75y.js} +47 -47
  16. package/dist/chunks/{app-b5c9dynj.js → vcs-15k0vgsm.js} +13 -13
  17. package/dist/chunks/{app-r8xr0va3.js → vcs-1acjjqhc.js} +4 -4
  18. package/dist/chunks/{app-1dazxqgg.js → vcs-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{app-9pkbw0h1.js → vcs-1tre5bhm.js} +18 -18
  20. package/dist/chunks/{app-xc71fexb.js → vcs-1vkabqvp.js} +14 -14
  21. package/dist/chunks/{app-yb20yvhc.js → vcs-1y2xvmy6.js} +13 -13
  22. package/dist/chunks/{app-j9kaagt3.js → vcs-23w4mbjd.js} +27 -27
  23. package/dist/chunks/{app-2a5m3afh.js → vcs-2a5m3afh.js} +1 -1
  24. package/dist/chunks/{app-2e853yyk.js → vcs-2m6aeqxr.js} +34 -34
  25. package/dist/chunks/{app-jhs71wy2.js → vcs-35snxxt6.js} +20 -20
  26. package/dist/chunks/vcs-391agrz4.js +26 -0
  27. package/dist/chunks/{app-pq2931dk.js → vcs-39y20kt5.js} +20 -20
  28. package/dist/chunks/{app-3cegwx68.js → vcs-3cegwx68.js} +2 -2
  29. package/dist/chunks/{app-nj38n445.js → vcs-3emwnsjx.js} +20 -20
  30. package/dist/chunks/{app-3fc6dm20.js → vcs-3fc6dm20.js} +1 -1
  31. package/dist/chunks/{app-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
  32. package/dist/chunks/{app-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
  33. package/dist/chunks/{app-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
  34. package/dist/chunks/{app-7ht5hy0j.js → vcs-3vnnpbnc.js} +38 -38
  35. package/dist/chunks/{app-b7zw3vx0.js → vcs-3yrfahye.js} +28 -28
  36. package/dist/chunks/{app-3zbwexce.js → vcs-3zbwexce.js} +3 -3
  37. package/dist/chunks/{app-3zsf4n22.js → vcs-3zsf4n22.js} +1 -1
  38. package/dist/chunks/{app-tmkqb4m5.js → vcs-40t0es6d.js} +32 -32
  39. package/dist/chunks/{app-9h8mrsf7.js → vcs-434r7hkm.js} +18 -18
  40. package/dist/chunks/{app-9hwaqfsw.js → vcs-47jkzegy.js} +5 -5
  41. package/dist/chunks/{app-77237k3k.js → vcs-4859kmxm.js} +23 -23
  42. package/dist/chunks/{app-77y1s1rs.js → vcs-4f6qpwp0.js} +11 -11
  43. package/dist/chunks/{app-rm6wvaj8.js → vcs-4ga52gzf.js} +18 -18
  44. package/dist/chunks/{app-vqmv0wny.js → vcs-4h8a4daf.js} +15 -15
  45. package/dist/chunks/{app-sw35smzz.js → vcs-4j4sd5hg.js} +11 -11
  46. package/dist/chunks/{app-4ts7tf6z.js → vcs-4ts7tf6z.js} +2 -2
  47. package/dist/chunks/{app-tx92n959.js → vcs-4wwqnvbr.js} +4 -4
  48. package/dist/chunks/{app-rvxgx5k2.js → vcs-51tpsak4.js} +22 -22
  49. package/dist/chunks/{app-xxa9zwx6.js → vcs-52k3wwwq.js} +21 -21
  50. package/dist/chunks/{app-54ma36ye.js → vcs-54ma36ye.js} +1 -1
  51. package/dist/chunks/{app-33w4ejhs.js → vcs-56gdpj1q.js} +6 -6
  52. package/dist/chunks/{app-q5hzqnd5.js → vcs-59en1s52.js} +328 -328
  53. package/dist/chunks/{app-6r04yh88.js → vcs-5b1pphrg.js} +4 -4
  54. package/dist/chunks/{app-s8r1bxm7.js → vcs-5c7790se.js} +15 -31
  55. package/dist/chunks/{app-5daktx2q.js → vcs-5daktx2q.js} +1 -1
  56. package/dist/chunks/{app-e1as76v8.js → vcs-5g2kcr25.js} +45 -45
  57. package/dist/chunks/{app-r8bv4q06.js → vcs-5h6rhzqe.js} +9 -9
  58. package/dist/chunks/{app-mterk9bb.js → vcs-5j2qe6ha.js} +15 -15
  59. package/dist/chunks/{app-5m9w47nd.js → vcs-5m9w47nd.js} +1 -1
  60. package/dist/chunks/{app-5t3nmthw.js → vcs-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{app-pn4m98w3.js → vcs-5vsxmgdg.js} +25 -25
  62. package/dist/chunks/{app-tpw6cwsb.js → vcs-5xtgfte3.js} +8 -8
  63. package/dist/chunks/{app-ws6r9wxd.js → vcs-5y297yh0.js} +58 -58
  64. package/dist/chunks/{app-ynmespmv.js → vcs-6kd7fbe5.js} +48 -48
  65. package/dist/chunks/{app-0xw58msr.js → vcs-6s3gqasb.js} +9 -9
  66. package/dist/chunks/{app-6xb47vfp.js → vcs-6xb47vfp.js} +1 -1
  67. package/dist/chunks/{app-21fbcwms.js → vcs-6xndz1be.js} +10 -10
  68. package/dist/chunks/{app-qadcnyv9.js → vcs-77tmtz1b.js} +9 -9
  69. package/dist/chunks/{app-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
  70. package/dist/chunks/{app-7dqw4kz8.js → vcs-7dqw4kz8.js} +1 -1
  71. package/dist/chunks/{app-2za1r32n.js → vcs-7emjjf90.js} +20 -20
  72. package/dist/chunks/{app-0mekpjct.js → vcs-7kgm8qst.js} +37 -37
  73. package/dist/chunks/{app-nzxj697k.js → vcs-7phmnex1.js} +8 -8
  74. package/dist/chunks/{app-84h8c373.js → vcs-84h8c373.js} +2 -2
  75. package/dist/chunks/{app-84txncab.js → vcs-84txncab.js} +1 -1
  76. package/dist/chunks/{app-gy3hfqwa.js → vcs-86rc0f8f.js} +11 -11
  77. package/dist/chunks/{app-ye968f26.js → vcs-88gv5fem.js} +31 -31
  78. package/dist/chunks/{app-3fxa2vs0.js → vcs-89yy5tk9.js} +46 -46
  79. package/dist/chunks/{app-4xfpc9x8.js → vcs-8bmkym92.js} +35 -35
  80. package/dist/chunks/{app-vd3r3z5p.js → vcs-8c9jk717.js} +3 -3
  81. package/dist/chunks/{app-8d7r5vzw.js → vcs-8d7r5vzw.js} +1 -1
  82. package/dist/chunks/{app-bsprd9wx.js → vcs-8m5xe4tx.js} +6 -6
  83. package/dist/chunks/{app-38225d31.js → vcs-8mza7131.js} +20 -20
  84. package/dist/chunks/{app-ccv5fkkn.js → vcs-8qyfkx8k.js} +14 -14
  85. package/dist/chunks/{app-qncy8rqx.js → vcs-8s8kj6rz.js} +36 -36
  86. package/dist/chunks/{app-m1ay94aq.js → vcs-8wc7p2s7.js} +14 -14
  87. package/dist/chunks/{app-vx3jgdek.js → vcs-8whp40kv.js} +3 -3
  88. package/dist/chunks/{app-k0j6xj92.js → vcs-91eqd9wz.js} +92 -92
  89. package/dist/chunks/{app-xbvv70jj.js → vcs-952fmzcg.js} +8 -8
  90. package/dist/chunks/{app-gey4pgq5.js → vcs-99rqs349.js} +3 -3
  91. package/dist/chunks/{app-kgdwkpsf.js → vcs-9dyqnwf5.js} +9 -9
  92. package/dist/chunks/{app-xwwz1fcf.js → vcs-9k3az8kg.js} +35 -35
  93. package/dist/chunks/{app-r2ens31f.js → vcs-9rv6dz1e.js} +30 -30
  94. package/dist/chunks/{app-w8v7x0t4.js → vcs-9vxdmk1q.js} +21 -21
  95. package/dist/chunks/{app-z6pt0vvw.js → vcs-9zcvf4bt.js} +3 -3
  96. package/dist/chunks/{app-vfjhn2wd.js → vcs-a2rpfkac.js} +4 -4
  97. package/dist/chunks/{app-hrtswde4.js → vcs-a6r6wkyr.js} +11 -11
  98. package/dist/chunks/{app-nda7119r.js → vcs-a71hppcw.js} +27 -27
  99. package/dist/chunks/{app-y9rxzeem.js → vcs-a8f3mxkw.js} +14 -14
  100. package/dist/chunks/{app-ex71f260.js → vcs-a9667v8g.js} +29 -29
  101. package/dist/chunks/{app-77svsnty.js → vcs-aa3n6jba.js} +12 -12
  102. package/dist/chunks/{app-aaet6srn.js → vcs-aaet6srn.js} +2 -2
  103. package/dist/chunks/{app-c4e8pskq.js → vcs-aas2x9xe.js} +11 -11
  104. package/dist/chunks/{app-rehtxfbe.js → vcs-ad2z09fz.js} +1 -1
  105. package/dist/chunks/{app-7zet489v.js → vcs-any5mnhp.js} +28 -28
  106. package/dist/chunks/{app-nx45m9pa.js → vcs-avmm2jg2.js} +11 -11
  107. package/dist/chunks/{app-4fvakk57.js → vcs-awwkxypx.js} +1 -1
  108. package/dist/chunks/{app-5qjwke21.js → vcs-az1ptj1b.js} +24 -24
  109. package/dist/chunks/{app-8sze2n9a.js → vcs-b4twkq7r.js} +2 -2
  110. package/dist/chunks/{app-37eb9j4g.js → vcs-b51nkdwk.js} +13 -13
  111. package/dist/chunks/{app-frtrentt.js → vcs-b60a26g6.js} +5 -5
  112. package/dist/chunks/{app-b6gygkdw.js → vcs-b6gygkdw.js} +2 -2
  113. package/dist/chunks/{app-xq7hn9w5.js → vcs-bjr6y4mv.js} +5 -5
  114. package/dist/chunks/{app-39rxwxkd.js → vcs-bygh5wce.js} +17 -17
  115. package/dist/chunks/{app-a6rrmb2t.js → vcs-c115zdge.js} +7 -7
  116. package/dist/chunks/{app-977n1gvn.js → vcs-c73458ry.js} +3 -3
  117. package/dist/chunks/{app-tcay1cqt.js → vcs-c8bydgjz.js} +6 -6
  118. package/dist/chunks/{app-cavr175a.js → vcs-cavr175a.js} +1 -1
  119. package/dist/chunks/{app-wcy74va6.js → vcs-chsrfrth.js} +15 -15
  120. package/dist/chunks/{app-x8esnxbb.js → vcs-ckk9cefh.js} +3 -3
  121. package/dist/chunks/{app-6cz210g8.js → vcs-cn4z8cr5.js} +8 -8
  122. package/dist/chunks/{app-r1vnz2ze.js → vcs-cq6phv5h.js} +19 -19
  123. package/dist/chunks/{app-np17306k.js → vcs-cvaycvww.js} +8 -8
  124. package/dist/chunks/{app-qmqgtz8f.js → vcs-cwa6csj7.js} +9 -9
  125. package/dist/chunks/{app-c4ejyagw.js → vcs-d7r1s2tx.js} +26 -26
  126. package/dist/chunks/{app-qk10qjqd.js → vcs-d8j5se8g.js} +6 -6
  127. package/dist/chunks/{app-x661k3y3.js → vcs-db2wf4at.js} +4 -4
  128. package/dist/chunks/{app-8tt02aa5.js → vcs-dh75pk8w.js} +5 -5
  129. package/dist/chunks/{app-dhmh7aw6.js → vcs-dhmh7aw6.js} +1 -1
  130. package/dist/chunks/{app-f26q4c2q.js → vcs-dqbmw7q7.js} +18 -18
  131. package/dist/chunks/{app-jhdanssh.js → vcs-dvcamk0x.js} +43 -43
  132. package/dist/chunks/{app-fgb4ey1w.js → vcs-dxh3sfmm.js} +4 -4
  133. package/dist/chunks/{app-yja0z1nt.js → vcs-e0yqd5jt.js} +27 -27
  134. package/dist/chunks/{app-vjmj34bj.js → vcs-e81r67k8.js} +11 -11
  135. package/dist/chunks/{app-6q6gqmwq.js → vcs-ech2ak4d.js} +4 -4
  136. package/dist/chunks/{app-5fnmkqwj.js → vcs-ed3hy58t.js} +11 -11
  137. package/dist/chunks/{app-ef5x83kb.js → vcs-ef5x83kb.js} +1 -1
  138. package/dist/chunks/{app-01b47qtp.js → vcs-ehcck58d.js} +11 -11
  139. package/dist/chunks/{app-etq0c3wd.js → vcs-etq0c3wd.js} +1 -1
  140. package/dist/chunks/{app-b2ckxg46.js → vcs-f0s8y0b6.js} +16 -16
  141. package/dist/chunks/{app-d2czbp48.js → vcs-f29mbr7f.js} +4 -4
  142. package/dist/chunks/{app-x5paqj6j.js → vcs-f3vqqkbk.js} +20 -20
  143. package/dist/chunks/{app-f75zav2x.js → vcs-f75zav2x.js} +2 -2
  144. package/dist/chunks/{app-jzzy94zk.js → vcs-fd636bra.js} +9 -9
  145. package/dist/chunks/{app-m2dbveed.js → vcs-fgwpeqsz.js} +13 -13
  146. package/dist/chunks/{app-bx2wmar1.js → vcs-fns8a2gp.js} +15 -15
  147. package/dist/chunks/{app-zw4pk1bw.js → vcs-fyjp43ss.js} +5 -5
  148. package/dist/chunks/{app-xfkkasph.js → vcs-g5w8qwbj.js} +4 -4
  149. package/dist/chunks/{app-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{app-6e5ndhjv.js → vcs-gwwh43n1.js} +4 -4
  151. package/dist/chunks/{app-p944wxep.js → vcs-h28nw4a5.js} +46 -46
  152. package/dist/chunks/{app-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
  153. package/dist/chunks/{app-5ms2rpmc.js → vcs-hhvxj0xs.js} +2 -2
  154. package/dist/chunks/{app-f59ep6tb.js → vcs-hy1va3t8.js} +11 -11
  155. package/dist/chunks/{app-354wsgxx.js → vcs-j1xbwn9c.js} +35 -35
  156. package/dist/chunks/{app-j56e64zr.js → vcs-j56e64zr.js} +1 -1
  157. package/dist/chunks/{app-bbqm5gby.js → vcs-j93sw876.js} +24 -24
  158. package/dist/chunks/{app-a19614zv.js → vcs-jbmy2zgb.js} +24 -24
  159. package/dist/chunks/{app-r2751jnn.js → vcs-jr75wfmz.js} +71 -71
  160. package/dist/chunks/{app-fgawfjx8.js → vcs-js4cxn4z.js} +6 -6
  161. package/dist/chunks/{app-0zyqvhq9.js → vcs-jsz329ft.js} +10 -10
  162. package/dist/chunks/{app-pengrcv5.js → vcs-k90nywdg.js} +5 -5
  163. package/dist/chunks/{app-p3c1m468.js → vcs-k9z2jbvp.js} +14 -14
  164. package/dist/chunks/{app-kb9j3d72.js → vcs-kb9j3d72.js} +3 -3
  165. package/dist/chunks/{app-3qaj82j9.js → vcs-kbqjp078.js} +5 -5
  166. package/dist/chunks/{app-gcabepm0.js → vcs-kf9nwexv.js} +9 -9
  167. package/dist/chunks/{app-1pxz8ven.js → vcs-kjdm35cs.js} +5 -5
  168. package/dist/chunks/{app-ye6d7t69.js → vcs-kjtwtt38.js} +33 -33
  169. package/dist/chunks/{app-5ntmp6zc.js → vcs-knf8cp6t.js} +33 -33
  170. package/dist/chunks/{app-r71fb6ch.js → vcs-kt0ehyka.js} +9 -9
  171. package/dist/chunks/{app-4tp5hkr9.js → vcs-ktsearan.js} +25 -25
  172. package/dist/chunks/{app-4qt3dk25.js → vcs-ky1txe1r.js} +12 -12
  173. package/dist/chunks/{app-89znh5jn.js → vcs-m32z4m4g.js} +27 -27
  174. package/dist/chunks/{app-m3fdjcah.js → vcs-m3fdjcah.js} +1 -1
  175. package/dist/chunks/{app-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
  176. package/dist/chunks/{app-2r6s1han.js → vcs-mhpyta8y.js} +5 -5
  177. package/dist/chunks/{app-ywe4gqtj.js → vcs-mjdy15x6.js} +5 -5
  178. package/dist/chunks/{app-5ktf0rcf.js → vcs-mjeah1s5.js} +24 -24
  179. package/dist/chunks/{app-x4dkc3v3.js → vcs-mjmzzvm2.js} +11 -11
  180. package/dist/chunks/{app-ctz7jbry.js → vcs-mp6d0dty.js} +8 -8
  181. package/dist/chunks/vcs-n95b3jav.js +18 -0
  182. package/dist/chunks/{app-80scg3y3.js → vcs-n9arjmkd.js} +4 -4
  183. package/dist/chunks/{app-h7fgzsk1.js → vcs-n9vqdcrq.js} +13 -13
  184. package/dist/chunks/{app-d4q7zemf.js → vcs-na5ey99x.js} +19 -19
  185. package/dist/chunks/{app-6t3bxbt1.js → vcs-ncbf19cf.js} +20 -20
  186. package/dist/chunks/{app-b1hb30m9.js → vcs-ncrxt7jx.js} +9 -9
  187. package/dist/chunks/{app-1yb457c1.js → vcs-nebf000m.js} +28 -28
  188. package/dist/chunks/{app-k6pmx2m2.js → vcs-nf7n9gv6.js} +29 -29
  189. package/dist/chunks/{app-wdy45rw8.js → vcs-nj1j17x6.js} +8 -8
  190. package/dist/chunks/{app-xb3m1p56.js → vcs-njffz7f6.js} +28 -28
  191. package/dist/chunks/{app-qt4hgj4v.js → vcs-nmk0dmpc.js} +36 -36
  192. package/dist/chunks/{app-qn9g45dx.js → vcs-nsxganxa.js} +16 -16
  193. package/dist/chunks/{app-5nvyfvs2.js → vcs-nvxfygz2.js} +11 -11
  194. package/dist/chunks/{app-dpkg50ah.js → vcs-nxm207yx.js} +4 -4
  195. package/dist/chunks/{app-vhg3kvj9.js → vcs-p0n551fw.js} +45 -45
  196. package/dist/chunks/{app-jzz42hqp.js → vcs-p3scmb76.js} +9 -9
  197. package/dist/chunks/{app-92pqdpde.js → vcs-p4h4rdzj.js} +25 -25
  198. package/dist/chunks/{app-09erbt4s.js → vcs-p5erw4k4.js} +18 -18
  199. package/dist/chunks/{app-5pyjqqve.js → vcs-p5p5kne1.js} +2 -2
  200. package/dist/chunks/{app-0s3chswr.js → vcs-pfme51df.js} +33 -33
  201. package/dist/chunks/{app-awqkms3h.js → vcs-ph3ewja6.js} +9 -9
  202. package/dist/chunks/{app-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{app-pknna89w.js → vcs-pknna89w.js} +1 -1
  204. package/dist/chunks/{app-5p8ngbgk.js → vcs-pwgqjq8n.js} +93 -93
  205. package/dist/chunks/{app-q0xm7vwc.js → vcs-q0xm7vwc.js} +2 -2
  206. package/dist/chunks/{app-m6cy21rm.js → vcs-q8pak5b3.js} +16 -16
  207. package/dist/chunks/{app-yn6dgm22.js → vcs-qgv728j2.js} +11 -11
  208. package/dist/chunks/{app-553hyqc1.js → vcs-qm62jy3z.js} +21 -21
  209. package/dist/chunks/{app-kermnw9y.js → vcs-qmtyv9xk.js} +30 -30
  210. package/dist/chunks/{app-qnc92qwc.js → vcs-qnc92qwc.js} +1 -1
  211. package/dist/chunks/{app-qsdy395h.js → vcs-qsdy395h.js} +1 -1
  212. package/dist/chunks/{app-bz46fwta.js → vcs-qt3m7yst.js} +24 -39
  213. package/dist/chunks/{app-yxmqamfs.js → vcs-qvq3arps.js} +17 -17
  214. package/dist/chunks/{app-bkh2zg02.js → vcs-qxampeh8.js} +4 -4
  215. package/dist/chunks/{app-qxjc9qry.js → vcs-qxjc9qry.js} +3 -3
  216. package/dist/chunks/{app-9a3kc0hm.js → vcs-r4m1jrjc.js} +17 -17
  217. package/dist/chunks/{app-a1gpj94z.js → vcs-r5x6zcsm.js} +3 -3
  218. package/dist/chunks/{app-bpdcdgy4.js → vcs-rbw4aktn.js} +30 -30
  219. package/dist/chunks/{app-rdw6cm16.js → vcs-rdw6cm16.js} +1 -1
  220. package/dist/chunks/{app-r44petzp.js → vcs-ree5ev3t.js} +12 -12
  221. package/dist/chunks/{app-qhyw2gmb.js → vcs-rh6eqnc6.js} +13 -13
  222. package/dist/chunks/{app-a4ae1mqs.js → vcs-rk1r2hx8.js} +1 -1
  223. package/dist/chunks/{app-nxh69913.js → vcs-rnngp69k.js} +8 -8
  224. package/dist/chunks/{app-qa3qhgw8.js → vcs-ryr25ayn.js} +4 -4
  225. package/dist/chunks/{app-g35x6qc6.js → vcs-s0bwfe95.js} +19 -19
  226. package/dist/chunks/{app-e1bn0v82.js → vcs-s16b17t4.js} +3 -3
  227. package/dist/chunks/{app-jb7afjsg.js → vcs-s26kjmv5.js} +6 -6
  228. package/dist/chunks/{app-qyp7nx31.js → vcs-s2v7n1e5.js} +28 -28
  229. package/dist/chunks/{app-ev618wrn.js → vcs-s5k3q4pp.js} +5 -5
  230. package/dist/chunks/{app-7mnw5w78.js → vcs-s91dha9r.js} +5 -5
  231. package/dist/chunks/{app-vm93y64s.js → vcs-sdn4xrar.js} +21 -21
  232. package/dist/chunks/{app-m4y7kpay.js → vcs-sppvmfbr.js} +7 -7
  233. package/dist/chunks/{app-ykt494b9.js → vcs-sqvzcy4n.js} +4 -4
  234. package/dist/chunks/{app-derpzkc9.js → vcs-sxqcyyt3.js} +19 -19
  235. package/dist/chunks/{app-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{app-tcezcvh9.js → vcs-tcezcvh9.js} +1 -1
  237. package/dist/chunks/{app-6ydeeanc.js → vcs-tchgbp8v.js} +7 -7
  238. package/dist/chunks/{app-m500pqbj.js → vcs-tcwahqdd.js} +175 -175
  239. package/dist/chunks/{app-tdstcens.js → vcs-tdstcens.js} +1 -1
  240. package/dist/chunks/{app-h3d1wmv7.js → vcs-tpb188e6.js} +30 -30
  241. package/dist/chunks/{app-at1kfnmk.js → vcs-tx9w5tca.js} +8 -8
  242. package/dist/chunks/{app-eg4w172k.js → vcs-tz1g4r66.js} +4 -4
  243. package/dist/chunks/{app-fpecnkgp.js → vcs-v0es1rhs.js} +9 -9
  244. package/dist/chunks/{app-26sz20hb.js → vcs-v31ptvhs.js} +11 -11
  245. package/dist/chunks/{app-85gpctef.js → vcs-v53gfhad.js} +7 -7
  246. package/dist/chunks/{app-pkxfpd18.js → vcs-v76by4bg.js} +6 -6
  247. package/dist/chunks/{app-k0nnq3t9.js → vcs-v7t1f1qx.js} +8 -8
  248. package/dist/chunks/{app-veqvce7d.js → vcs-veqvce7d.js} +1 -1
  249. package/dist/chunks/{app-bf8fwsb9.js → vcs-vnezwvq1.js} +5 -6
  250. package/dist/chunks/{app-8a6ws7jr.js → vcs-vsr6dns1.js} +9 -9
  251. package/dist/chunks/{app-vzs5sf6e.js → vcs-vzs5sf6e.js} +1 -1
  252. package/dist/chunks/{app-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{app-0rw9nv2q.js → vcs-w5ssd7wj.js} +8 -8
  254. package/dist/chunks/{app-yz1dgv86.js → vcs-w72117hz.js} +4 -4
  255. package/dist/chunks/{app-dzw83ac5.js → vcs-w8djw5a7.js} +9 -9
  256. package/dist/chunks/{app-wd87259q.js → vcs-wd87259q.js} +1 -1
  257. package/dist/chunks/{app-scgrse2b.js → vcs-wecqtg5s.js} +5 -5
  258. package/dist/chunks/{app-t9bwbksh.js → vcs-wk41chab.js} +16 -16
  259. package/dist/chunks/{app-awezfaj7.js → vcs-wmznkzn4.js} +44 -44
  260. package/dist/chunks/{app-1kr92pjq.js → vcs-wtm68b6z.js} +35 -35
  261. package/dist/chunks/{app-9t7a50xb.js → vcs-wv396vej.js} +6 -6
  262. package/dist/chunks/{app-95tmncnd.js → vcs-wwfr3fck.js} +156 -156
  263. package/dist/chunks/{app-0xfrdwvr.js → vcs-wzzqegvv.js} +36 -36
  264. package/dist/chunks/{app-cgmwwjnd.js → vcs-x7jvg2gh.js} +11 -11
  265. package/dist/chunks/{app-bha5yh8f.js → vcs-x8g60tk1.js} +18 -18
  266. package/dist/chunks/{app-nj11v1kf.js → vcs-xdqkfgq9.js} +49 -49
  267. package/dist/chunks/{app-dmqcgk4z.js → vcs-xkntkrq7.js} +5 -5
  268. package/dist/chunks/{app-m6r7asx4.js → vcs-xw3hzg3w.js} +19 -19
  269. package/dist/chunks/{app-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{app-tx3h7197.js → vcs-ydsmzj44.js} +4 -4
  271. package/dist/chunks/{app-yrzy80wg.js → vcs-yed04tyc.js} +11 -11
  272. package/dist/chunks/{app-4dnhnsrw.js → vcs-yfdhmhym.js} +17 -17
  273. package/dist/chunks/{app-smzkt4h8.js → vcs-ym0x057v.js} +17 -17
  274. package/dist/chunks/{app-10bgj2qs.js → vcs-ynqzsecj.js} +54 -54
  275. package/dist/chunks/{app-qcj1qarq.js → vcs-yqgsyyq0.js} +35 -35
  276. package/dist/chunks/{app-6fnv26db.js → vcs-ytj3vg7d.js} +15 -15
  277. package/dist/chunks/{app-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{app-myrb3mwv.js → vcs-znz6qwjc.js} +16 -16
  279. package/dist/chunks/{app-j6z9wjgn.js → vcs-zqg5j2wv.js} +20 -20
  280. package/dist/chunks/{app-zr2ceqn5.js → vcs-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{app-zxq2ej10.js → vcs-zxq2ej10.js} +1 -1
  282. package/dist/chunks/{app-z0rw1ncf.js → vcs-zysg80a6.js} +18 -18
  283. package/dist/chunks/{app-vs90824y.js → vcs-zzhkqpgp.js} +22 -22
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +9 -9
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +83 -83
  289. package/dist/config/discovery.js +82 -82
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +99 -99
  292. package/dist/config/plugin/agent.js +118 -118
  293. package/dist/config/plugin/command.js +207 -207
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +134 -134
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +90 -90
  300. package/dist/config/plugin/location-watcher.js +118 -118
  301. package/dist/config/plugin/mcp.js +125 -125
  302. package/dist/config/plugin/policy.js +117 -117
  303. package/dist/config/plugin/provider.js +116 -116
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +118 -118
  306. package/dist/config/plugin/skill-file.js +102 -102
  307. package/dist/config/plugin/skill.js +137 -137
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +119 -119
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +117 -117
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +121 -121
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +85 -85
  318. package/dist/database/database.js +70 -70
  319. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +15 -15
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +16 -16
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration.gen.js +49 -49
  384. package/dist/database/migration.js +51 -51
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +79 -79
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +363 -363
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +93 -93
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +95 -95
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +74 -74
  408. package/dist/file-access.js +104 -104
  409. package/dist/file-mutation.js +94 -94
  410. package/dist/file-retention.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/location-watcher-policy.js +6 -6
  416. package/dist/filesystem/location-watcher.js +220 -220
  417. package/dist/filesystem/protected.js +1 -1
  418. package/dist/filesystem/search.js +103 -103
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +15 -15
  421. package/dist/filesystem.js +100 -100
  422. package/dist/form.js +84 -84
  423. package/dist/formatter/builtins.js +4 -4
  424. package/dist/formatter.js +87 -87
  425. package/dist/generate.js +101 -101
  426. package/dist/git.js +10 -10
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +99 -99
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +5 -5
  449. package/dist/instance.js +354 -354
  450. package/dist/instruction-discovery.js +85 -85
  451. package/dist/instructions/builtins.js +87 -87
  452. package/dist/instructions/index.js +3 -3
  453. package/dist/integration/connection.js +3 -3
  454. package/dist/integration.js +87 -87
  455. package/dist/job.js +76 -76
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +69 -69
  458. package/dist/location-activity.js +131 -131
  459. package/dist/location-lifecycle.js +107 -107
  460. package/dist/location-service-map.js +86 -86
  461. package/dist/location-services.js +351 -351
  462. package/dist/location.js +87 -87
  463. package/dist/managed-policy.js +5 -5
  464. package/dist/mcp/client.js +91 -91
  465. package/dist/mcp/index.js +109 -109
  466. package/dist/mcp/instructions.js +129 -129
  467. package/dist/mcp/oauth.js +78 -78
  468. package/dist/mcp/stdio.js +90 -90
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +99 -99
  471. package/dist/model-resolver.js +98 -98
  472. package/dist/model.js +98 -98
  473. package/dist/models-dev.js +107 -107
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +82 -82
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +113 -113
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +86 -86
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +75 -75
  483. package/dist/plugin/agent.js +76 -104
  484. package/dist/plugin/command.js +102 -102
  485. package/dist/plugin/hooks.js +5 -5
  486. package/dist/plugin/host.js +211 -211
  487. package/dist/plugin/identity.js +3 -3
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +326 -326
  490. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  491. package/dist/plugin/models-dev.js +96 -96
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +2 -2
  494. package/dist/plugin/plan.js +102 -102
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  497. package/dist/plugin/provider/azure.js +117 -117
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/chatgpt.js +93 -93
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +112 -112
  504. package/dist/plugin/provider/digitalocean.js +93 -93
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/github-copilot.js +95 -95
  508. package/dist/plugin/provider/gitlab.js +93 -93
  509. package/dist/plugin/provider/google-vertex.js +90 -90
  510. package/dist/plugin/provider/kilo.js +1 -1
  511. package/dist/plugin/provider/llmgateway.js +78 -78
  512. package/dist/plugin/provider/lmstudio.js +116 -116
  513. package/dist/plugin/provider/local.js +113 -113
  514. package/dist/plugin/provider/modal.js +92 -92
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +116 -116
  517. package/dist/plugin/provider/openai.js +93 -93
  518. package/dist/plugin/provider/opencode.js +96 -96
  519. package/dist/plugin/provider/openrouter.js +91 -91
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +79 -79
  522. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  523. package/dist/plugin/provider/sap-ai-core.js +91 -91
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  526. package/dist/plugin/provider/vercel.js +90 -90
  527. package/dist/plugin/provider/vllm.js +116 -116
  528. package/dist/plugin/provider/xai.js +91 -91
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +155 -155
  531. package/dist/plugin/sdk.js +76 -76
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +134 -134
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +343 -343
  536. package/dist/plugin/tool-input-repair.js +4 -4
  537. package/dist/plugin/update.js +6 -6
  538. package/dist/plugin/vcs/git.js +86 -86
  539. package/dist/plugin/vcs/hg.js +86 -86
  540. package/dist/plugin/verbosity.js +93 -93
  541. package/dist/plugin/warming.js +114 -114
  542. package/dist/plugin/websearch/exa.js +5 -5
  543. package/dist/plugin/websearch/firecrawl.js +8 -8
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +4 -4
  546. package/dist/plugin/websearch/parallel.js +8 -8
  547. package/dist/plugin/websearch/tavily.js +6 -6
  548. package/dist/plugin/websearch/tinyfish.js +8 -8
  549. package/dist/plugin.js +222 -222
  550. package/dist/project/schema.js +8 -8
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +88 -88
  553. package/dist/provider.js +101 -101
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +99 -99
  557. package/dist/reference/instructions.js +89 -89
  558. package/dist/reference.js +89 -89
  559. package/dist/repository-cache.js +81 -81
  560. package/dist/repository.js +1 -1
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +95 -95
  563. package/dist/rpc.js +86 -86
  564. package/dist/schema.js +1 -1
  565. package/dist/session/affinity.js +1 -1
  566. package/dist/session/command.js +74 -74
  567. package/dist/session/compaction.js +133 -133
  568. package/dist/session/context.js +153 -153
  569. package/dist/session/diff.js +88 -88
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +5 -5
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +214 -214
  574. package/dist/session/execution.js +123 -123
  575. package/dist/session/generate.js +152 -152
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +84 -84
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +79 -79
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +97 -97
  582. package/dist/session/message-updater.js +4 -4
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +118 -118
  585. package/dist/session/model-transport.js +7 -7
  586. package/dist/session/move.js +129 -129
  587. package/dist/session/projector.js +86 -86
  588. package/dist/session/prompt.js +105 -105
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +90 -90
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +1 -1
  593. package/dist/session/runner/llm.js +224 -224
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +98 -98
  596. package/dist/session/runner/publish-llm-event.js +113 -113
  597. package/dist/session/runner/retry.js +4 -4
  598. package/dist/session/runner/step.js +123 -123
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +164 -164
  602. package/dist/session/shell.js +130 -130
  603. package/dist/session/skill.js +103 -103
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +75 -75
  606. package/dist/session/store.js +87 -87
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +203 -203
  609. package/dist/session/system-prompt.js +3 -3
  610. package/dist/session/title.js +155 -155
  611. package/dist/session/to-session-error.js +111 -111
  612. package/dist/session/transfer.js +216 -216
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +209 -209
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +13 -13
  619. package/dist/shell.js +132 -132
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +105 -105
  622. package/dist/skill.js +112 -112
  623. package/dist/snapshot.js +93 -93
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +126 -126
  628. package/dist/tool/plugin/edit.js +120 -120
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +124 -124
  631. package/dist/tool/plugin/grep.js +124 -124
  632. package/dist/tool/plugin/mcp-resource.js +117 -117
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +122 -122
  635. package/dist/tool/plugin/question.js +103 -103
  636. package/dist/tool/plugin/read.js +125 -125
  637. package/dist/tool/plugin/shell.js +210 -210
  638. package/dist/tool/plugin/skill.js +107 -107
  639. package/dist/tool/plugin/subagent.js +212 -212
  640. package/dist/tool/plugin/webfetch.js +110 -110
  641. package/dist/tool/plugin/websearch.js +114 -114
  642. package/dist/tool/plugin/write.js +120 -120
  643. package/dist/tool/read-filesystem.js +100 -100
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +7 -7
  646. package/dist/tool.js +14 -14
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/git-executable.js +2 -2
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +3 -3
  657. package/dist/v1/config/command.js +3 -3
  658. package/dist/v1/config/error.js +2 -2
  659. package/dist/v1/config/mcp.js +4 -4
  660. package/dist/v1/config/migrate.js +92 -92
  661. package/dist/v1/config/permission.js +1 -1
  662. package/dist/v1/config/plugin.js +1 -1
  663. package/dist/v1/config/provider-options.js +1 -1
  664. package/dist/v1/config/provider.js +4 -4
  665. package/dist/variant.js +91 -91
  666. package/dist/vcs/patch.js +1 -1
  667. package/dist/vcs.js +89 -89
  668. package/dist/websearch.js +82 -82
  669. package/dist/wellknown/plugin.js +76 -76
  670. package/dist/wellknown.js +81 -81
  671. package/dist/workspace/driver.js +7 -7
  672. package/dist/workspace/sql.js +1 -1
  673. package/dist/workspace.js +80 -80
  674. package/dist/worktree/directory.js +2 -2
  675. package/dist/worktree/git.js +10 -10
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree/strategies.js +89 -89
  678. package/dist/worktree.js +98 -98
  679. package/package.json +8 -8
  680. package/dist/chunks/app-ht5y0zrb.js +0 -18
  681. package/dist/chunks/app-x82s002v.js +0 -26
  682. /package/dist/chunks/{app-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
  683. /package/dist/chunks/{app-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
  684. /package/dist/chunks/{app-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
  685. /package/dist/chunks/{app-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
  686. /package/dist/chunks/{app-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
  687. /package/dist/chunks/{app-24dcb14g.js → vcs-24dcb14g.js} +0 -0
  688. /package/dist/chunks/{app-2710q6r3.js → vcs-2710q6r3.js} +0 -0
  689. /package/dist/chunks/{app-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
  690. /package/dist/chunks/{app-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
  691. /package/dist/chunks/{app-34c7v6d4.js → vcs-34c7v6d4.js} +0 -0
  692. /package/dist/chunks/{app-359p4xyc.js → vcs-359p4xyc.js} +0 -0
  693. /package/dist/chunks/{app-3asan66x.js → vcs-3asan66x.js} +0 -0
  694. /package/dist/chunks/{app-3t0ybcrp.js → vcs-3t0ybcrp.js} +0 -0
  695. /package/dist/chunks/{app-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
  696. /package/dist/chunks/{app-3w5fmr99.js → vcs-3w5fmr99.js} +0 -0
  697. /package/dist/chunks/{app-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
  698. /package/dist/chunks/{app-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
  699. /package/dist/chunks/{app-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
  700. /package/dist/chunks/{app-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
  701. /package/dist/chunks/{app-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
  702. /package/dist/chunks/{app-53557ph1.js → vcs-53557ph1.js} +0 -0
  703. /package/dist/chunks/{app-550bvhaj.js → vcs-550bvhaj.js} +0 -0
  704. /package/dist/chunks/{app-5qd3pb7m.js → vcs-5qd3pb7m.js} +0 -0
  705. /package/dist/chunks/{app-6prwharc.js → vcs-6prwharc.js} +0 -0
  706. /package/dist/chunks/{app-6q2bdcd1.js → vcs-6q2bdcd1.js} +0 -0
  707. /package/dist/chunks/{app-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
  708. /package/dist/chunks/{app-7m9af43g.js → vcs-7m9af43g.js} +0 -0
  709. /package/dist/chunks/{app-822emrt2.js → vcs-822emrt2.js} +0 -0
  710. /package/dist/chunks/{app-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
  711. /package/dist/chunks/{app-8n3pysct.js → vcs-8n3pysct.js} +0 -0
  712. /package/dist/chunks/{app-8wj87zfr.js → vcs-8wj87zfr.js} +0 -0
  713. /package/dist/chunks/{app-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
  714. /package/dist/chunks/{app-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
  715. /package/dist/chunks/{app-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
  716. /package/dist/chunks/{app-af5trqkr.js → vcs-af5trqkr.js} +0 -0
  717. /package/dist/chunks/{app-afrmfg78.js → vcs-afrmfg78.js} +0 -0
  718. /package/dist/chunks/{app-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
  719. /package/dist/chunks/{app-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
  720. /package/dist/chunks/{app-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
  721. /package/dist/chunks/{app-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
  722. /package/dist/chunks/{app-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
  723. /package/dist/chunks/{app-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
  724. /package/dist/chunks/{app-d9fn303g.js → vcs-d9fn303g.js} +0 -0
  725. /package/dist/chunks/{app-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
  726. /package/dist/chunks/{app-dajrwvna.js → vcs-dajrwvna.js} +0 -0
  727. /package/dist/chunks/{app-dap0rakb.js → vcs-dap0rakb.js} +0 -0
  728. /package/dist/chunks/{app-df08tz66.js → vcs-df08tz66.js} +0 -0
  729. /package/dist/chunks/{app-dy18nga0.js → vcs-dy18nga0.js} +0 -0
  730. /package/dist/chunks/{app-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
  731. /package/dist/chunks/{app-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
  732. /package/dist/chunks/{app-ec1grn59.js → vcs-ec1grn59.js} +0 -0
  733. /package/dist/chunks/{app-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
  734. /package/dist/chunks/{app-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
  735. /package/dist/chunks/{app-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
  736. /package/dist/chunks/{app-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
  737. /package/dist/chunks/{app-faypxj3z.js → vcs-faypxj3z.js} +0 -0
  738. /package/dist/chunks/{app-fd410y7t.js → vcs-fd410y7t.js} +0 -0
  739. /package/dist/chunks/{app-fxgpk5d8.js → vcs-fxgpk5d8.js} +0 -0
  740. /package/dist/chunks/{app-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
  741. /package/dist/chunks/{app-g86h250q.js → vcs-g86h250q.js} +0 -0
  742. /package/dist/chunks/{app-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
  743. /package/dist/chunks/{app-gftt206x.js → vcs-gftt206x.js} +0 -0
  744. /package/dist/chunks/{app-hk9envan.js → vcs-hk9envan.js} +0 -0
  745. /package/dist/chunks/{app-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
  746. /package/dist/chunks/{app-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
  747. /package/dist/chunks/{app-jjkms2e6.js → vcs-jjkms2e6.js} +0 -0
  748. /package/dist/chunks/{app-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
  749. /package/dist/chunks/{app-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
  750. /package/dist/chunks/{app-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
  751. /package/dist/chunks/{app-mp448xyj.js → vcs-mp448xyj.js} +0 -0
  752. /package/dist/chunks/{app-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
  753. /package/dist/chunks/{app-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
  754. /package/dist/chunks/{app-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
  755. /package/dist/chunks/{app-njntx4h6.js → vcs-njntx4h6.js} +0 -0
  756. /package/dist/chunks/{app-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
  757. /package/dist/chunks/{app-q74kybfr.js → vcs-q74kybfr.js} +0 -0
  758. /package/dist/chunks/{app-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
  759. /package/dist/chunks/{app-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
  760. /package/dist/chunks/{app-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
  761. /package/dist/chunks/{app-qg3g05ea.js → vcs-qg3g05ea.js} +0 -0
  762. /package/dist/chunks/{app-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
  763. /package/dist/chunks/{app-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
  764. /package/dist/chunks/{app-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
  765. /package/dist/chunks/{app-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
  766. /package/dist/chunks/{app-w803qqfp.js → vcs-w803qqfp.js} +0 -0
  767. /package/dist/chunks/{app-wc3fc9cn.js → vcs-wc3fc9cn.js} +0 -0
  768. /package/dist/chunks/{app-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
  769. /package/dist/chunks/{app-wtztk69x.js → vcs-wtztk69x.js} +0 -0
  770. /package/dist/chunks/{app-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
  771. /package/dist/chunks/{app-x61499pn.js → vcs-x61499pn.js} +0 -0
  772. /package/dist/chunks/{app-y44na4kk.js → vcs-y44na4kk.js} +0 -0
  773. /package/dist/chunks/{app-y8cydn3q.js → vcs-y8cydn3q.js} +0 -0
  774. /package/dist/chunks/{app-y8f7s663.js → vcs-y8f7s663.js} +0 -0
  775. /package/dist/chunks/{app-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
  776. /package/dist/chunks/{app-ym463w8f.js → vcs-ym463w8f.js} +0 -0
  777. /package/dist/chunks/{app-z5v4ffb3.js → vcs-z5v4ffb3.js} +0 -0
  778. /package/dist/chunks/{app-z9919s4g.js → vcs-z9919s4g.js} +0 -0
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service32,
3
- node35
4
- } from "./app-j9kaagt3.js";
2
+ Service43,
3
+ node46
4
+ } from "./vcs-23w4mbjd.js";
5
5
  import {
6
- Key3,
6
+ Key4,
7
7
  removed2,
8
8
  make22,
9
9
  diffByKey2
10
- } from "./app-9t7a50xb.js";
10
+ } from "./vcs-wv396vej.js";
11
11
  import {
12
12
  __export
13
- } from "./app-9rqn6x4v.js";
13
+ } from "./vcs-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
- var exports_instructions2 = {};
17
- __export(exports_instructions2, {
18
- ReferenceInstructions: () => exports_instructions2,
19
- Service: () => Service21,
20
- node: () => node24
16
+ var exports_instructions5 = {};
17
+ __export(exports_instructions5, {
18
+ ReferenceInstructions: () => exports_instructions5,
19
+ Service: () => Service41,
20
+ node: () => node44
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -57,11 +57,11 @@ var update = (previous, current) => {
57
57
  `);
58
58
  };
59
59
 
60
- class Service21 extends Context.Service()("@opencode/ReferenceInstructions") {
60
+ class Service41 extends Context.Service()("@opencode/ReferenceInstructions") {
61
61
  }
62
- var layer = Layer.effect(Service21, Effect.gen(function* () {
63
- const references = yield* Service32;
64
- return Service21.of({
62
+ var layer = Layer.effect(Service41, Effect.gen(function* () {
63
+ const references = yield* Service43;
64
+ return Service41.of({
65
65
  load: Effect.fn("ReferenceInstructions.load")(function* () {
66
66
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
67
67
  name: reference.name,
@@ -69,7 +69,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
69
69
  description: reference.description
70
70
  })).toSorted((a, b) => a.name.localeCompare(b.name));
71
71
  return make22({
72
- key: Key3.make("core/reference-guidance"),
72
+ key: Key4.make("core/reference-guidance"),
73
73
  codec: Schema.toCodecJson(Schema.Array(Summary)),
74
74
  read: Effect.succeed(available.length === 0 ? removed2 : available),
75
75
  render: {
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node24 = makeLocationNode({ service: Service21, layer, deps: [node35] });
84
+ var node44 = makeLocationNode({ service: Service41, layer, deps: [node46] });
85
85
 
86
- export { Service21, node24, exports_instructions2 };
86
+ export { Service41, node44, exports_instructions5 };
@@ -2,17 +2,17 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./app-z5v4ffb3.js";
5
+ } from "./vcs-z5v4ffb3.js";
6
6
  import {
7
- Service61,
8
- node63
9
- } from "./app-bbqm5gby.js";
7
+ Service58,
8
+ node61
9
+ } from "./vcs-j93sw876.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./app-8d7r5vzw.js";
12
+ } from "./vcs-8d7r5vzw.js";
13
13
  import {
14
14
  __export
15
- } from "./app-9rqn6x4v.js";
15
+ } from "./vcs-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
20
20
  Error: () => Error2,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service15,
24
- node: () => node17
23
+ Service: () => Service18,
24
+ node: () => node20
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/unstable/process";
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service15 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service18 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
63
  var failure = (message, cause) => new Error2({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service15, Effect.gen(function* () {
67
- const environment = yield* Service61;
66
+ var layer = Layer.effect(Service18, Effect.gen(function* () {
67
+ const environment = yield* Service58;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
93
  return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service15.of({
95
+ return Service18.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node17 = makeLocationNode({ service: Service15, layer, deps: [node63, RipgrepBinary2.node] });
178
+ var node20 = makeLocationNode({ service: Service18, layer, deps: [node61, RipgrepBinary2.node] });
179
179
 
180
- export { Error2, InvalidPatternError2, Service15, node17, exports_ripgrep };
180
+ export { Error2, InvalidPatternError2, Service18, node20, exports_ripgrep };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service58
3
- } from "./app-p944wxep.js";
2
+ Service61
3
+ } from "./vcs-h28nw4a5.js";
4
4
  import {
5
- Service27
6
- } from "./app-10bgj2qs.js";
5
+ Service40
6
+ } from "./vcs-ynqzsecj.js";
7
7
  import {
8
8
  __export
9
- } from "./app-9rqn6x4v.js";
9
+ } from "./vcs-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
- var exports_mcp2 = {};
13
- __export(exports_mcp2, {
14
- ConfigMcpPlugin: () => exports_mcp2,
15
- Plugin: () => Plugin33,
12
+ var exports_mcp = {};
13
+ __export(exports_mcp, {
14
+ ConfigMcpPlugin: () => exports_mcp,
15
+ Plugin: () => Plugin11,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin33 = define({
20
+ var Plugin11 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe());
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service58;
28
- const mcp = yield* Service27;
27
+ const config = yield* Service61;
28
+ const mcp = yield* Service40;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin33, register2, exports_mcp2 };
49
+ export { Plugin11, register2, exports_mcp };
@@ -1,56 +1,56 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./app-qn9g45dx.js";
2
+ Service82,
3
+ node86
4
+ } from "./vcs-nsxganxa.js";
5
5
  import {
6
6
  parse4,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./app-84txncab.js";
11
+ } from "./vcs-84txncab.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./app-z5v4ffb3.js";
14
+ } from "./vcs-z5v4ffb3.js";
15
15
  import {
16
- Service50,
17
- node52
18
- } from "./app-yxmqamfs.js";
16
+ Service53,
17
+ node56
18
+ } from "./vcs-qvq3arps.js";
19
19
  import {
20
20
  create3
21
- } from "./app-rdw6cm16.js";
21
+ } from "./vcs-rdw6cm16.js";
22
22
  import {
23
23
  __export
24
- } from "./app-9rqn6x4v.js";
24
+ } from "./vcs-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
28
28
  __export(exports_reference2, {
29
- Event: () => Event4,
29
+ Event: () => Event9,
30
30
  GitSource: () => GitSource2,
31
- Info: () => Info4,
31
+ Info: () => Info6,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service32,
34
+ Service: () => Service43,
35
35
  Source: () => Source3,
36
- node: () => node35
36
+ node: () => node46
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Context, Effect, Layer, Scope } from "effect";
40
40
  import { Reference } from "@opencode/schema/reference";
41
41
  import { Global } from "@opencode/util/global";
42
- import { Event as Event4 } from "@opencode/schema/reference";
42
+ import { Event as Event9 } from "@opencode/schema/reference";
43
43
  var LocalSource2 = Reference.LocalSource;
44
44
  var GitSource2 = Reference.GitSource;
45
45
  var Source3 = Reference.Source;
46
- var Info4 = Reference.Info;
46
+ var Info6 = Reference.Info;
47
47
 
48
- class Service32 extends Context.Service()("@opencode/Reference") {
48
+ class Service43 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service32, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service43, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
- const bus = yield* Service83;
53
- const cache = yield* Service50;
52
+ const bus = yield* Service82;
53
+ const cache = yield* Service53;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
60
60
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
61
61
  };
62
62
  if (source.type === "local")
63
- return [Info4.make({ ...info, path: source.path })];
63
+ return [Info6.make({ ...info, path: source.path })];
64
64
  const repository = parse4(source.repository);
65
65
  if (!repository || !isRemote2(repository))
66
66
  return [];
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
72
72
  }
73
73
  }
74
74
  return [
75
- Info4.make({
75
+ Info6.make({
76
76
  ...info,
77
77
  path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
78
78
  })
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service32.of({
107
+ return Service43.of({
108
108
  transform: state.transform,
109
109
  reload: state.reload,
110
110
  list: Effect.fn("Reference.list")(function* () {
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node35 = makeLocationNode({
116
- service: Service32,
115
+ var node46 = makeLocationNode({
116
+ service: Service43,
117
117
  layer,
118
- deps: [Global.node, node87, node52]
118
+ deps: [Global.node, node86, node56]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source3, Info4, Service32, node35, exports_reference2, Event4 };
121
+ export { LocalSource2, GitSource2, Source3, Info6, Service43, node46, exports_reference2, Event9 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./app-9rqn6x4v.js";
3
+ } from "./vcs-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/files.ts
6
6
  var exports_files = {};
@@ -1,51 +1,51 @@
1
- import {
2
- Service84,
3
- node88
4
- } from "./app-c4e8pskq.js";
5
1
  import {
6
2
  Service83,
7
3
  node87
8
- } from "./app-qn9g45dx.js";
4
+ } from "./vcs-aas2x9xe.js";
5
+ import {
6
+ Service82,
7
+ node86
8
+ } from "./vcs-nsxganxa.js";
9
9
  import {
10
- Service54,
11
- node56
12
- } from "./app-hrtswde4.js";
10
+ Service50,
11
+ node52
12
+ } from "./vcs-a6r6wkyr.js";
13
13
  import {
14
- Service48,
15
- node50
16
- } from "./app-tcay1cqt.js";
14
+ Service49,
15
+ node51
16
+ } from "./vcs-c8bydgjz.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./app-ec1grn59.js";
19
+ } from "./vcs-ec1grn59.js";
20
20
  import {
21
- make18
22
- } from "./app-r8xr0va3.js";
21
+ make17
22
+ } from "./vcs-1acjjqhc.js";
23
23
  import {
24
24
  DrainResult2,
25
25
  Service46
26
- } from "./app-dhmh7aw6.js";
26
+ } from "./vcs-dhmh7aw6.js";
27
27
  import {
28
- Service72,
29
- node76
30
- } from "./app-9a3kc0hm.js";
28
+ Service75,
29
+ node79
30
+ } from "./vcs-r4m1jrjc.js";
31
31
  import {
32
32
  toSessionError2
33
- } from "./app-pengrcv5.js";
33
+ } from "./vcs-k90nywdg.js";
34
34
  import {
35
35
  nextPromotable2
36
- } from "./app-77237k3k.js";
36
+ } from "./vcs-4859kmxm.js";
37
37
  import {
38
38
  __export
39
- } from "./app-9rqn6x4v.js";
39
+ } from "./vcs-9rqn6x4v.js";
40
40
 
41
41
  // src/session/execution.ts
42
42
  var exports_execution = {};
43
43
  __export(exports_execution, {
44
44
  Service: () => Service45,
45
45
  SessionExecution: () => exports_execution,
46
- layer: () => layer19,
46
+ layer: () => layer18,
47
47
  node: () => node48,
48
- noopLayer: () => noopLayer3,
48
+ noopLayer: () => noopLayer2,
49
49
  terminal: () => terminal2
50
50
  });
51
51
  import { Cause, Context, Effect, Exit, Layer } from "effect";
@@ -59,12 +59,12 @@ function terminal2(exit, reason) {
59
59
  return { type: "interrupted", reason: reason ?? "shutdown" };
60
60
  return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
61
61
  }
62
- var layer19 = Layer.effect(Service45, Effect.gen(function* () {
63
- const store = yield* Service72;
64
- const instances = yield* Service48;
65
- const bus = yield* Service83;
66
- const jobs = yield* Service54;
67
- const db = (yield* Service84).db;
62
+ var layer18 = Layer.effect(Service45, Effect.gen(function* () {
63
+ const store = yield* Service75;
64
+ const instances = yield* Service49;
65
+ const bus = yield* Service82;
66
+ const jobs = yield* Service50;
67
+ const db = (yield* Service83).db;
68
68
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
69
69
  const claimOnCommit = (sessionID) => ({
70
70
  commit: () => store.claim(sessionID)
@@ -83,7 +83,7 @@ var layer19 = Layer.effect(Service45, Effect.gen(function* () {
83
83
  Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
84
84
  });
85
85
  });
86
- const coordinator = yield* make18({
86
+ const coordinator = yield* make17({
87
87
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
88
88
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
89
89
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -125,10 +125,10 @@ var layer19 = Layer.effect(Service45, Effect.gen(function* () {
125
125
  }));
126
126
  var node48 = makeGlobalNode({
127
127
  service: Service45,
128
- layer: layer19,
129
- deps: [node76, node50, node87, node88, node56]
128
+ layer: layer18,
129
+ deps: [node79, node51, node86, node87, node52]
130
130
  });
131
- var noopLayer3 = Layer.succeed(Service45, Service45.of({
131
+ var noopLayer2 = Layer.succeed(Service45, Service45.of({
132
132
  active: Effect.succeed(new Set),
133
133
  isActive: () => Effect.succeed(false),
134
134
  resume: () => Effect.void,
@@ -137,4 +137,4 @@ var noopLayer3 = Layer.succeed(Service45, Service45.of({
137
137
  awaitIdle: () => Effect.void
138
138
  }));
139
139
 
140
- export { Service45, terminal2, layer19, node48, noopLayer3, exports_execution };
140
+ export { Service45, terminal2, layer18, node48, noopLayer2, exports_execution };
@@ -1,25 +1,25 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./app-qn9g45dx.js";
2
+ Service82,
3
+ node86
4
+ } from "./vcs-nsxganxa.js";
5
5
  import {
6
6
  Service64,
7
7
  node67
8
- } from "./app-m4y7kpay.js";
8
+ } from "./vcs-sppvmfbr.js";
9
9
  import {
10
10
  create3
11
- } from "./app-rdw6cm16.js";
11
+ } from "./vcs-rdw6cm16.js";
12
12
  import {
13
13
  __export
14
- } from "./app-9rqn6x4v.js";
14
+ } from "./vcs-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
- Event: () => Event8,
20
+ Event: () => Event6,
21
21
  ID: () => ID4,
22
- Input: () => Input14,
22
+ Input: () => Input13,
23
23
  Provider: () => Provider2,
24
24
  ProviderKey: () => ProviderKey2,
25
25
  ProviderNotFoundError: () => ProviderNotFoundError2,
@@ -28,19 +28,19 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service38,
31
+ Service: () => Service24,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node41
33
+ node: () => node27
34
34
  });
35
35
  import { WebSearch } from "@opencode/schema/websearch";
36
36
  import { SessionEvent } from "@opencode/schema/session-event";
37
37
  import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
38
38
  import { HttpClientError } from "effect/unstable/http";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- import { Event as Event8 } from "@opencode/schema/websearch";
40
+ import { Event as Event6 } from "@opencode/schema/websearch";
41
41
  var ID4 = WebSearch.ID;
42
42
  var Provider2 = WebSearch.Provider;
43
- var Input14 = WebSearch.Input;
43
+ var Input13 = WebSearch.Input;
44
44
  var Result2 = WebSearch.Result;
45
45
  var Response2 = WebSearch.Response;
46
46
  var ProviderKey2 = "websearch:provider";
@@ -63,10 +63,10 @@ class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
63
63
  }) {
64
64
  }
65
65
 
66
- class Service38 extends Context.Service()("@opencode/WebSearch") {
66
+ class Service24 extends Context.Service()("@opencode/WebSearch") {
67
67
  }
68
- var layer = Layer.effect(Service38, Effect.gen(function* () {
69
- const bus = yield* Service83;
68
+ var layer = Layer.effect(Service24, Effect.gen(function* () {
69
+ const bus = yield* Service82;
70
70
  const kv = yield* Service64;
71
71
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
72
72
  const cooldowns = new Map;
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
124
124
  }
125
125
  return choice ? state.get().providers.get(choice) : undefined;
126
126
  });
127
- return Service38.of({
127
+ return Service24.of({
128
128
  transform: state.transform,
129
129
  reload: state.reload,
130
130
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
184
184
  const date = Date.parse(value);
185
185
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
186
186
  }
187
- var node41 = makeLocationNode({
188
- service: Service38,
187
+ var node27 = makeLocationNode({
188
+ service: Service24,
189
189
  layer,
190
- deps: [node87, node67]
190
+ deps: [node86, node67]
191
191
  });
192
192
 
193
- export { ID4, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service38, node41, exports_websearch3, Event8 };
193
+ export { ID4, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service24, node27, exports_websearch3, Event6 };
@@ -0,0 +1,26 @@
1
+ import {
2
+ Plugin40
3
+ } from "./vcs-dh75pk8w.js";
4
+ import {
5
+ Plugin34
6
+ } from "./vcs-5h6rhzqe.js";
7
+ import {
8
+ Plugin38
9
+ } from "./vcs-ph3ewja6.js";
10
+ import {
11
+ Plugin41
12
+ } from "./vcs-952fmzcg.js";
13
+ import {
14
+ Plugin39
15
+ } from "./vcs-77tmtz1b.js";
16
+
17
+ // src/plugin/websearch/index.ts
18
+ var WebSearchPlugins2 = [
19
+ Plugin40,
20
+ Plugin34,
21
+ Plugin38,
22
+ Plugin41,
23
+ Plugin39
24
+ ];
25
+
26
+ export { WebSearchPlugins2 };
@@ -1,28 +1,28 @@
1
1
  import {
2
- ID12,
2
+ ID8,
3
3
  mergeOverlay2
4
- } from "./app-1kr92pjq.js";
4
+ } from "./vcs-wtm68b6z.js";
5
5
  import {
6
- ID7,
6
+ ID6,
7
7
  VariantID2,
8
8
  Info16,
9
9
  compatibility2
10
- } from "./app-r2ens31f.js";
10
+ } from "./vcs-9rv6dz1e.js";
11
11
  import {
12
12
  __export
13
- } from "./app-9rqn6x4v.js";
13
+ } from "./vcs-9rqn6x4v.js";
14
14
 
15
15
  // src/modal/models.ts
16
- var exports_models2 = {};
17
- __export(exports_models2, {
18
- ModalModels: () => exports_models2,
19
- derive: () => derive3,
20
- get: () => get3,
21
- load: () => load3
16
+ var exports_models = {};
17
+ __export(exports_models, {
18
+ ModalModels: () => exports_models,
19
+ derive: () => derive2,
20
+ get: () => get2,
21
+ load: () => load2
22
22
  });
23
23
  import { Money } from "@opencode/schema/money";
24
24
  import { Option, Schema } from "effect";
25
- var providerID = ID12.make("modal");
25
+ var providerID = ID8.make("modal");
26
26
  var ReasoningOption = Schema.Struct({
27
27
  type: Schema.Literal("effort"),
28
28
  values: Schema.Array(Schema.NullOr(Schema.String))
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
54
54
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
55
55
  var decodeResponse = Schema.decodeUnknownSync(Response);
56
56
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
57
- async function get3(baseURL, apiKey, existing) {
58
- return derive3(baseURL, await load3(baseURL, apiKey), existing);
57
+ async function get2(baseURL, apiKey, existing) {
58
+ return derive2(baseURL, await load2(baseURL, apiKey), existing);
59
59
  }
60
- async function load3(baseURL, apiKey) {
60
+ async function load2(baseURL, apiKey) {
61
61
  const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
62
62
  headers: {
63
63
  Authorization: `Bearer ${apiKey}`
@@ -71,12 +71,12 @@ async function load3(baseURL, apiKey) {
71
71
  return model ? [model] : [];
72
72
  });
73
73
  }
74
- function derive3(baseURL, remote, existing) {
74
+ function derive2(baseURL, remote, existing) {
75
75
  const templates = new Map(existing.map((model) => [model.id, model]));
76
76
  const result = new Map;
77
77
  for (const item of remote) {
78
- const template = templates.get(ID7.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
- const id = ID7.make(item.id);
78
+ const template = templates.get(ID6.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
+ const id = ID6.make(item.id);
80
80
  result.set(id, build(id, item, baseURL, template));
81
81
  }
82
82
  return result;
@@ -97,7 +97,7 @@ function build(id, remote, baseURL, previous) {
97
97
  return Info16.make({
98
98
  ...Info16.default(providerID, id),
99
99
  id,
100
- modelID: ID7.make(remote.id),
100
+ modelID: ID6.make(remote.id),
101
101
  providerID,
102
102
  name: remote.name ?? previous?.name ?? remote.id,
103
103
  family: previous?.family,
@@ -144,4 +144,4 @@ function variants(remote) {
144
144
  return [...seen.values()];
145
145
  }
146
146
 
147
- export { get3, load3, derive3, exports_models2 };
147
+ export { get2, load2, derive2, exports_models };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  absoluteColumn2,
3
3
  absoluteArrayColumn2
4
- } from "./app-qnc92qwc.js";
4
+ } from "./vcs-qnc92qwc.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./app-qfa1cgps.js";
7
+ } from "./vcs-qfa1cgps.js";
8
8
 
9
9
  // src/project/sql.ts
10
10
  import { isNotNull, isNull, ne, or } from "drizzle-orm";