@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,14 +1,14 @@
1
1
  import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2
4
- } from "./app-bsprd9wx.js";
4
+ } from "./vcs-8m5xe4tx.js";
5
5
  import {
6
6
  CorrectedError2,
7
7
  BlockedError2
8
- } from "./app-ws6r9wxd.js";
8
+ } from "./vcs-5y297yh0.js";
9
9
  import {
10
10
  AuthorizationError2
11
- } from "./app-5ntmp6zc.js";
11
+ } from "./vcs-knf8cp6t.js";
12
12
  import {
13
13
  VariantUnavailableError2,
14
14
  UnsupportedPackageError2,
@@ -16,11 +16,11 @@ import {
16
16
  ModelInitializationError2,
17
17
  UnresolvedProviderVariablesError2,
18
18
  UnsupportedCompactionError2
19
- } from "./app-jhdanssh.js";
19
+ } from "./vcs-dvcamk0x.js";
20
20
  import {
21
21
  ModelNotSelectedError2,
22
22
  ModelUnavailableError2
23
- } from "./app-h7fgzsk1.js";
23
+ } from "./vcs-n9vqdcrq.js";
24
24
 
25
25
  // src/session/to-session-error.ts
26
26
  import { AIError, ToolFailure } from "@opencode/ai";
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service58
4
- } from "./app-p944wxep.js";
3
+ Service61
4
+ } from "./vcs-h28nw4a5.js";
5
5
  import {
6
- Service66
7
- } from "./app-g35x6qc6.js";
6
+ Service60
7
+ } from "./vcs-s0bwfe95.js";
8
8
  import {
9
9
  observe2
10
- } from "./app-qsdy395h.js";
10
+ } from "./vcs-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./app-9rqn6x4v.js";
13
+ } from "./vcs-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/shell.ts
16
- var exports_shell2 = {};
17
- __export(exports_shell2, {
18
- ConfigShellPlugin: () => exports_shell2,
19
- Plugin: () => Plugin48
16
+ var exports_shell = {};
17
+ __export(exports_shell, {
18
+ ConfigShellPlugin: () => exports_shell,
19
+ Plugin: () => Plugin19
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin48 = define({
23
+ var Plugin19 = define({
24
24
  id: "opencode.config.shell",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service58;
27
- const shell = yield* Service66;
26
+ const config = yield* Service61;
27
+ const shell = yield* Service60;
28
28
  const loaded = yield* observe2(config, ctx.event, shell.reload());
29
29
  yield* shell.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "shell");
@@ -34,4 +34,4 @@ var Plugin48 = define({
34
34
  })
35
35
  });
36
36
 
37
- export { Plugin48, exports_shell2 };
37
+ export { Plugin19, exports_shell };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  directoryColumn2,
3
3
  pathColumn2
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
  import {
9
9
  ProjectTable2
10
- } from "./app-3cegwx68.js";
10
+ } from "./vcs-3cegwx68.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,21 +1,21 @@
1
1
  import {
2
2
  definition2
3
- } from "./app-3w5fmr99.js";
3
+ } from "./vcs-3w5fmr99.js";
4
4
  import {
5
5
  __export
6
- } from "./app-9rqn6x4v.js";
6
+ } from "./vcs-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/tool-input-repair.ts
9
9
  var exports_tool_input_repair = {};
10
10
  __export(exports_tool_input_repair, {
11
- Plugin: () => Plugin28,
11
+ Plugin: () => Plugin49,
12
12
  ToolInputRepairPlugin: () => exports_tool_input_repair
13
13
  });
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Effect, Option, Predicate, Schema } from "effect";
16
16
  var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
17
17
  var maxDepth = 6;
18
- var Plugin28 = define({
18
+ var Plugin49 = define({
19
19
  id: "opencode.tool.input.repair",
20
20
  effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
21
21
  if (event.tool === "execute")
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
120
120
  return compatible ? [repaired] : value;
121
121
  }
122
122
 
123
- export { Plugin28, exports_tool_input_repair };
123
+ export { Plugin49, exports_tool_input_repair };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service48
3
- } from "./app-tcay1cqt.js";
2
+ Service49
3
+ } from "./vcs-c8bydgjz.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./app-ht5y0zrb.js";
6
+ } from "./vcs-n95b3jav.js";
7
7
  import {
8
- Service55
9
- } from "./app-nj11v1kf.js";
8
+ Service56
9
+ } from "./vcs-xdqkfgq9.js";
10
10
  import {
11
11
  unavailable2
12
- } from "./app-vzs5sf6e.js";
12
+ } from "./vcs-vzs5sf6e.js";
13
13
  import {
14
14
  __export
15
- } from "./app-9rqn6x4v.js";
15
+ } from "./vcs-9rqn6x4v.js";
16
16
 
17
17
  // src/session/shell.ts
18
18
  var exports_shell3 = {};
@@ -22,8 +22,8 @@ __export(exports_shell3, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var start2 = Effect.fn("SessionShell.start")(function* (input) {
25
- const instances = yield* Service48;
26
- const shell = yield* awaitActivation2.pipe(Effect.andThen(Service55), instances.provide(input.session));
25
+ const instances = yield* Service49;
26
+ const shell = yield* awaitActivation2.pipe(Effect.andThen(Service56), instances.provide(input.session));
27
27
  const info = yield* shell.create({
28
28
  command: input.command,
29
29
  cwd: input.session.location.directory,
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./app-z5v4ffb3.js";
3
+ } from "./vcs-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./app-9rqn6x4v.js";
6
+ } from "./vcs-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: () => Info10,
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 Info10 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
67
+ var Info15 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
68
68
 
69
- export { Local2, OAuth2, Remote2, Info10, exports_mcp5 };
69
+ export { Local2, OAuth2, Remote2, Info15, exports_mcp5 };
@@ -1,55 +1,55 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./app-z5v4ffb3.js";
4
+ } from "./vcs-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service81,
9
- node85
10
- } from "./app-r44petzp.js";
8
+ Service84,
9
+ node88
10
+ } from "./vcs-ree5ev3t.js";
11
11
  import {
12
- Service79,
13
- node83
14
- } from "./app-t9bwbksh.js";
12
+ Service80,
13
+ node84
14
+ } from "./vcs-wk41chab.js";
15
15
  import {
16
16
  create3
17
- } from "./app-rdw6cm16.js";
17
+ } from "./vcs-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./app-9rqn6x4v.js";
20
+ } from "./vcs-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error4,
26
- ID: () => ID5,
27
- Service: () => Service43,
25
+ Error: () => Error5,
26
+ ID: () => ID16,
27
+ Service: () => Service79,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node46,
30
- noopLayer: () => noopLayer2
29
+ node: () => node83,
30
+ noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID5 } from "@opencode/schema/snapshot";
37
+ import { ID as ID16 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error4 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error5 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service43 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service79 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service43, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service79, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service81;
50
+ const git = yield* Service84;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service79;
52
+ const location = yield* Service80;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error5({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID5.make(yield* git.tree.capture({
85
+ return ID16.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service43.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service79.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node46 = makeLocationNode({
144
- service: Service43,
143
+ var node83 = makeLocationNode({
144
+ service: Service79,
145
145
  layer,
146
- deps: [FSUtil.node, node85, Global.node, node83]
146
+ deps: [FSUtil.node, node88, Global.node, node84]
147
147
  });
148
- var noopLayer2 = Layer.succeed(Service43, Service43.of({
148
+ var noopLayer3 = Layer.succeed(Service79, Service79.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service43, Service43.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error4 && cause.operation === operation)
157
+ if (cause instanceof Error5 && cause.operation === operation)
158
158
  return cause;
159
- return new Error4({
159
+ return new Error5({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID5, Error4, Service43, node46, noopLayer2, exports_snapshot2 };
166
+ export { ID16, Error5, Service79, node83, noopLayer3, exports_snapshot2 };
@@ -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
- Key4,
7
- Service77,
8
- node81
9
- } from "./app-xwwz1fcf.js";
6
+ Key3,
7
+ Service69,
8
+ node73
9
+ } from "./vcs-9k3az8kg.js";
10
10
  import {
11
11
  create3
12
- } from "./app-rdw6cm16.js";
12
+ } from "./vcs-rdw6cm16.js";
13
13
  import {
14
14
  key2
15
- } from "./app-x661k3y3.js";
15
+ } from "./vcs-db2wf4at.js";
16
16
  import {
17
17
  validateAnswer2,
18
18
  validateFields2
19
- } from "./app-xb3m1p56.js";
19
+ } from "./vcs-njffz7f6.js";
20
20
  import {
21
21
  __export
22
- } from "./app-9rqn6x4v.js";
22
+ } from "./vcs-9rqn6x4v.js";
23
23
 
24
24
  // src/integration.ts
25
25
  var exports_integration = {};
@@ -34,17 +34,17 @@ __export(exports_integration, {
34
34
  CommandAttemptStatus: () => CommandAttemptStatus2,
35
35
  CommandMethod: () => CommandMethod2,
36
36
  EnvMethod: () => EnvMethod2,
37
- Event: () => Event17,
38
- ID: () => ID13,
39
- Info: () => Info22,
37
+ Event: () => Event16,
38
+ ID: () => ID9,
39
+ Info: () => Info19,
40
40
  Integration: () => exports_integration,
41
41
  KeyMethod: () => KeyMethod2,
42
42
  Method: () => Method2,
43
43
  MethodID: () => MethodID2,
44
44
  OAuthMethod: () => OAuthMethod2,
45
45
  Ref: () => Ref3,
46
- Service: () => Service76,
47
- node: () => node80
46
+ Service: () => Service68,
47
+ node: () => node72
48
48
  });
49
49
  import { makeLocationNode } from "@opencode/util/effect/app-node";
50
50
  import {
@@ -66,8 +66,8 @@ import {
66
66
  import { Integration } from "@opencode/schema/integration";
67
67
  import { AppProcess } from "@opencode/util/process";
68
68
  import { ChildProcess } from "effect/unstable/process";
69
- import { Event as Event17 } from "@opencode/schema/integration";
70
- var ID13 = Integration.ID;
69
+ import { Event as Event16 } from "@opencode/schema/integration";
70
+ var ID9 = Integration.ID;
71
71
  var MethodID2 = Integration.MethodID;
72
72
  var AttemptID2 = Integration.AttemptID;
73
73
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -75,7 +75,7 @@ var CommandMethod2 = Integration.CommandMethod;
75
75
  var KeyMethod2 = Integration.KeyMethod;
76
76
  var EnvMethod2 = Integration.EnvMethod;
77
77
  var Method2 = Integration.Method;
78
- var Info22 = Integration.Info;
78
+ var Info19 = Integration.Info;
79
79
  var Attempt2 = Integration.Attempt;
80
80
  var AttemptStatus2 = Integration.AttemptStatus;
81
81
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -98,20 +98,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
98
98
  }
99
99
 
100
100
  class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
101
- integrationID: ID13,
101
+ integrationID: ID9,
102
102
  attemptID: AttemptID2
103
103
  }) {
104
104
  }
105
105
  var Ref3 = Integration.Ref;
106
106
 
107
- class Service76 extends Context.Service()("@opencode/Integration") {
107
+ class Service68 extends Context.Service()("@opencode/Integration") {
108
108
  }
109
109
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
110
110
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
111
111
  var scrubInterval = Duration.seconds(30);
112
- var layer = Layer.effect(Service76, Effect.gen(function* () {
113
- const credentials = yield* Service77;
114
- const bus = yield* Service83;
112
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
113
+ const credentials = yield* Service69;
114
+ const bus = yield* Service82;
115
115
  const processes = yield* AppProcess.Service;
116
116
  const scope = yield* Scope.Scope;
117
117
  const attempts = SynchronizedRef.makeUnsafe(new Map);
@@ -207,7 +207,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
207
207
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
208
208
  return [...credentials, ...env];
209
209
  };
210
- const project = (entry, connections) => Info22.make({
210
+ const project = (entry, connections) => Info19.make({
211
211
  id: entry.ref.id,
212
212
  name: entry.ref.name,
213
213
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -294,7 +294,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
294
294
  const persistence = yield* createCredential({
295
295
  integrationID: attempt.integrationID,
296
296
  label: attempt.label,
297
- value: Key4.make({ type: "key", key: exit.value })
297
+ value: Key3.make({ type: "key", key: exit.value })
298
298
  }).pipe(Effect.asVoid, Effect.exit);
299
299
  const settledAt = yield* Clock.currentTimeMillis;
300
300
  const terminal = Exit.isSuccess(persistence) ? {
@@ -440,7 +440,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
440
440
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
441
441
  return CommandAttempt2.make({ attemptID, time });
442
442
  });
443
- return Service76.of({
443
+ return Service68.of({
444
444
  transform: state.transform,
445
445
  reload: state.reload,
446
446
  revision: state.revision,
@@ -462,7 +462,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
462
462
  resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
463
463
  if (connection.type === "env") {
464
464
  const key = process.env[connection.name];
465
- return key ? Key4.make({ type: "key", key }) : undefined;
465
+ return key ? Key3.make({ type: "key", key }) : undefined;
466
466
  }
467
467
  const credential = yield* credentials.get(connection.id);
468
468
  if (!credential)
@@ -495,7 +495,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
495
495
  yield* createCredential({
496
496
  integrationID: input.integrationID,
497
497
  label: input.label,
498
- value: Key4.make({
498
+ value: Key3.make({
499
499
  type: "key",
500
500
  key: input.key,
501
501
  ...Object.keys(answer).length > 0 ? { configuration: answer } : {}
@@ -599,10 +599,10 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
599
599
  }
600
600
  });
601
601
  }));
602
- var node80 = makeLocationNode({
603
- service: Service76,
602
+ var node72 = makeLocationNode({
603
+ service: Service68,
604
604
  layer,
605
- deps: [node81, node87, AppProcess.node]
605
+ deps: [node73, node86, AppProcess.node]
606
606
  });
607
607
 
608
- export { ID13, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info22, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service76, node80, exports_integration, Event17 };
608
+ export { ID9, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info19, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service68, node72, exports_integration, Event16 };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Ref4
3
- } from "./app-t9bwbksh.js";
3
+ } from "./vcs-wk41chab.js";
4
4
  import {
5
5
  __export
6
- } from "./app-9rqn6x4v.js";
6
+ } from "./vcs-9rqn6x4v.js";
7
7
 
8
8
  // src/location-service-map.ts
9
9
  var exports_location_service_map = {};
10
10
  __export(exports_location_service_map, {
11
11
  LocationServiceMap: () => exports_location_service_map,
12
- Service: () => Service69,
12
+ Service: () => Service71,
13
13
  canonical: () => canonical3,
14
- node: () => node73,
14
+ node: () => node75,
15
15
  reload: () => reload2
16
16
  });
17
17
  import { Context, Effect, Exit, Layer, RcMap } from "effect";
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
19
19
  import { Node } from "@opencode/util/effect/app-node";
20
20
  import { AbsolutePath } from "@opencode/schema/schema";
21
21
  import path from "path";
22
- class Service69 extends Context.Service()("@opencode/example/LocationServiceMap") {
22
+ class Service71 extends Context.Service()("@opencode/example/LocationServiceMap") {
23
23
  static get(ref) {
24
- return Layer.unwrap(Effect.map(Service69, (locations) => locations.get(ref)));
24
+ return Layer.unwrap(Effect.map(Service71, (locations) => locations.get(ref)));
25
25
  }
26
26
  }
27
- var node73 = LayerNode.unbound(Service69, Node.tags.values.global);
27
+ var node75 = LayerNode.unbound(Service71, Node.tags.values.global);
28
28
  var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
29
- const locations = yield* Service69;
29
+ const locations = yield* Service71;
30
30
  const refs = Array.from(yield* RcMap.keys(locations.rcMap));
31
31
  yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
32
32
  discard: true,
@@ -45,4 +45,4 @@ function canonical3(ref) {
45
45
  });
46
46
  }
47
47
 
48
- export { Service69, node73, reload2, canonical3, exports_location_service_map };
48
+ export { Service71, node75, reload2, canonical3, exports_location_service_map };
@@ -1,33 +1,33 @@
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
  create3
7
- } from "./app-rdw6cm16.js";
7
+ } from "./vcs-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./app-9rqn6x4v.js";
10
+ } from "./vcs-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
13
  var exports_command4 = {};
14
14
  __export(exports_command4, {
15
15
  Command: () => exports_command4,
16
- Event: () => Event7,
16
+ Event: () => Event11,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info7,
19
- NotFoundError: () => NotFoundError5,
20
- Service: () => Service37,
21
- layer: () => layer17,
22
- node: () => node40
18
+ Info: () => Info9,
19
+ NotFoundError: () => NotFoundError6,
20
+ Service: () => Service54,
21
+ layer: () => layer22,
22
+ node: () => node57
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event7 } from "@opencode/schema/command";
28
- var Info7 = Command.Info;
27
+ import { Event as Event11 } from "@opencode/schema/command";
28
+ var Info9 = Command.Info;
29
29
 
30
- class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service37 extends Context.Service()("@opencode/Command") {
42
+ class Service54 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer17 = Layer.effect(Service37, Effect.gen(function* () {
45
- const bus = yield* Service83;
44
+ var layer22 = Layer.effect(Service54, Effect.gen(function* () {
45
+ const bus = yield* Service82;
46
46
  const state = create3({
47
47
  name: "command",
48
48
  initial: () => new Map,
@@ -51,11 +51,11 @@ var layer17 = Layer.effect(Service37, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info7.make({
54
+ const info = (definition) => Info9.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service37.of({
58
+ return Service54.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,15 +66,15 @@ var layer17 = Layer.effect(Service37, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError5({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node40 = makeLocationNode({
75
- service: Service37,
76
- layer: layer17,
77
- deps: [node87]
74
+ var node57 = makeLocationNode({
75
+ service: Service54,
76
+ layer: layer22,
77
+ deps: [node86]
78
78
  });
79
79
  function errorMessage(error) {
80
80
  if (error instanceof Error)
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info7, NotFoundError5, ExecutionError2, Service37, layer17, node40, exports_command4, Event7 };
89
+ export { Info9, NotFoundError6, ExecutionError2, Service54, layer22, node57, exports_command4, Event11 };