@opencode/core 0.0.0-dev-20655 → 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 +83 -83
  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-4k4xw99j.js → vcs-02w6ye8w.js} +19 -19
  8. package/dist/chunks/{app-trfe10aq.js → vcs-03ympqey.js} +56 -56
  9. package/dist/chunks/{app-kt8356a3.js → vcs-040mzcjf.js} +34 -34
  10. package/dist/chunks/{app-eff940as.js → vcs-0a9mspw3.js} +32 -32
  11. package/dist/chunks/{app-1h0m70r1.js → vcs-0cpggsem.js} +20 -20
  12. package/dist/chunks/{app-0paq2nw3.js → vcs-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{app-9whkbvte.js → vcs-0t0msxhb.js} +5 -5
  14. package/dist/chunks/{app-0vbcp93d.js → vcs-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{app-2dcxqaf0.js → vcs-1590h75y.js} +47 -47
  16. package/dist/chunks/{app-rszvgpa6.js → vcs-15k0vgsm.js} +13 -13
  17. package/dist/chunks/{app-1acjjqhc.js → vcs-1acjjqhc.js} +1 -1
  18. package/dist/chunks/{app-1dazxqgg.js → vcs-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{app-cx5qjy2q.js → vcs-1tre5bhm.js} +20 -20
  20. package/dist/chunks/{app-6xrnn9ah.js → vcs-1vkabqvp.js} +18 -18
  21. package/dist/chunks/{app-b8rcbyp3.js → vcs-1y2xvmy6.js} +10 -10
  22. package/dist/chunks/{app-bj79fbq7.js → vcs-23w4mbjd.js} +27 -27
  23. package/dist/chunks/{app-2a5m3afh.js → vcs-2a5m3afh.js} +1 -1
  24. package/dist/chunks/{app-rftk81m0.js → vcs-2m6aeqxr.js} +39 -39
  25. package/dist/chunks/{app-gmyrpb2t.js → vcs-35snxxt6.js} +21 -21
  26. package/dist/chunks/vcs-391agrz4.js +26 -0
  27. package/dist/chunks/{app-gfypdtgg.js → vcs-39y20kt5.js} +23 -23
  28. package/dist/chunks/{app-3cegwx68.js → vcs-3cegwx68.js} +2 -2
  29. package/dist/chunks/{app-q5bs9ych.js → vcs-3emwnsjx.js} +22 -22
  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-04jg6nm3.js → vcs-3vnnpbnc.js} +38 -38
  35. package/dist/chunks/{app-m8n8f8f1.js → vcs-3yrfahye.js} +24 -24
  36. package/dist/chunks/{app-6h1ernme.js → vcs-3zbwexce.js} +11 -11
  37. package/dist/chunks/{app-3zsf4n22.js → vcs-3zsf4n22.js} +1 -1
  38. package/dist/chunks/{app-g945yz75.js → vcs-40t0es6d.js} +28 -28
  39. package/dist/chunks/{app-s9rfegk5.js → vcs-434r7hkm.js} +17 -17
  40. package/dist/chunks/{app-wbgabvvj.js → vcs-47jkzegy.js} +5 -5
  41. package/dist/chunks/{app-x1e01gbv.js → vcs-4859kmxm.js} +26 -26
  42. package/dist/chunks/{app-z9w0t9mp.js → vcs-4f6qpwp0.js} +11 -11
  43. package/dist/chunks/{app-16bxftmt.js → vcs-4ga52gzf.js} +9 -9
  44. package/dist/chunks/{app-0xymhvjv.js → vcs-4h8a4daf.js} +18 -18
  45. package/dist/chunks/{app-0p3t72g7.js → vcs-4j4sd5hg.js} +13 -13
  46. package/dist/chunks/{app-2ccvkpx1.js → vcs-4ts7tf6z.js} +2 -2
  47. package/dist/chunks/{app-xs53z2pm.js → vcs-4wwqnvbr.js} +4 -4
  48. package/dist/chunks/{app-d5513v78.js → vcs-51tpsak4.js} +19 -19
  49. package/dist/chunks/{app-b63vc8wa.js → vcs-52k3wwwq.js} +22 -22
  50. package/dist/chunks/{app-54ma36ye.js → vcs-54ma36ye.js} +1 -1
  51. package/dist/chunks/{app-56gdpj1q.js → vcs-56gdpj1q.js} +2 -2
  52. package/dist/chunks/{app-dk3gfcvg.js → vcs-59en1s52.js} +321 -321
  53. package/dist/chunks/{app-2h8kq5g8.js → vcs-5b1pphrg.js} +4 -4
  54. package/dist/chunks/{app-aya0m2nn.js → vcs-5c7790se.js} +12 -28
  55. package/dist/chunks/{app-5daktx2q.js → vcs-5daktx2q.js} +1 -1
  56. package/dist/chunks/{app-1gh24mt2.js → vcs-5g2kcr25.js} +39 -39
  57. package/dist/chunks/{app-pwzyebmy.js → vcs-5h6rhzqe.js} +9 -9
  58. package/dist/chunks/{app-w22hqb2b.js → vcs-5j2qe6ha.js} +11 -11
  59. package/dist/chunks/{app-5m9w47nd.js → vcs-5m9w47nd.js} +1 -1
  60. package/dist/chunks/{app-e3qxr5gk.js → vcs-5qd3pb7m.js} +2 -2
  61. package/dist/chunks/{app-5t3nmthw.js → vcs-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{app-fbfqd6t5.js → vcs-5vsxmgdg.js} +28 -28
  63. package/dist/chunks/{app-tpw6cwsb.js → vcs-5xtgfte3.js} +8 -8
  64. package/dist/chunks/{app-mzkxtmwj.js → vcs-5y297yh0.js} +60 -60
  65. package/dist/chunks/{app-jtgyfgpv.js → vcs-6kd7fbe5.js} +48 -48
  66. package/dist/chunks/{app-zqapp3sx.js → vcs-6s3gqasb.js} +9 -9
  67. package/dist/chunks/{app-6xb47vfp.js → vcs-6xb47vfp.js} +1 -1
  68. package/dist/chunks/{app-hhjq2279.js → vcs-6xndz1be.js} +10 -10
  69. package/dist/chunks/{app-s9bkmqx5.js → vcs-77tmtz1b.js} +6 -6
  70. package/dist/chunks/{app-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{app-7dqw4kz8.js → vcs-7dqw4kz8.js} +1 -1
  72. package/dist/chunks/{app-mgh0wzph.js → vcs-7emjjf90.js} +20 -20
  73. package/dist/chunks/{app-v8djm3tk.js → vcs-7kgm8qst.js} +25 -25
  74. package/dist/chunks/{app-rq424w6d.js → vcs-7phmnex1.js} +8 -8
  75. package/dist/chunks/{app-84h8c373.js → vcs-84h8c373.js} +2 -2
  76. package/dist/chunks/{app-w1eejvng.js → vcs-84txncab.js} +5 -5
  77. package/dist/chunks/{app-a89j2j3v.js → vcs-86rc0f8f.js} +9 -9
  78. package/dist/chunks/{app-tv9y8cre.js → vcs-88gv5fem.js} +33 -33
  79. package/dist/chunks/{app-45p1457d.js → vcs-89yy5tk9.js} +42 -42
  80. package/dist/chunks/{app-wrdre0d4.js → vcs-8bmkym92.js} +40 -40
  81. package/dist/chunks/{app-3p3qdx74.js → vcs-8c9jk717.js} +3 -3
  82. package/dist/chunks/{app-8d7r5vzw.js → vcs-8d7r5vzw.js} +1 -1
  83. package/dist/chunks/{app-4x7mprc7.js → vcs-8m5xe4tx.js} +9 -9
  84. package/dist/chunks/{app-amtff23s.js → vcs-8mza7131.js} +21 -21
  85. package/dist/chunks/{app-rjq8wmvv.js → vcs-8qyfkx8k.js} +13 -13
  86. package/dist/chunks/{app-jnvev7pc.js → vcs-8s8kj6rz.js} +30 -30
  87. package/dist/chunks/{app-dbkg7j5s.js → vcs-8wc7p2s7.js} +18 -18
  88. package/dist/chunks/{app-qsee9sfb.js → vcs-8whp40kv.js} +3 -3
  89. package/dist/chunks/{app-k7y9nwy7.js → vcs-91eqd9wz.js} +94 -94
  90. package/dist/chunks/{app-wbrpy97e.js → vcs-952fmzcg.js} +8 -8
  91. package/dist/chunks/{app-gvra8byy.js → vcs-99rqs349.js} +6 -6
  92. package/dist/chunks/{app-20k6bs8s.js → vcs-9dyqnwf5.js} +11 -11
  93. package/dist/chunks/{app-rrfvxgdj.js → vcs-9k3az8kg.js} +35 -35
  94. package/dist/chunks/{app-29fgs7mf.js → vcs-9rv6dz1e.js} +32 -32
  95. package/dist/chunks/{app-k5s0pr56.js → vcs-9vxdmk1q.js} +21 -21
  96. package/dist/chunks/{app-fe1pry9k.js → vcs-9zcvf4bt.js} +3 -3
  97. package/dist/chunks/{app-knevfgda.js → vcs-a2rpfkac.js} +4 -4
  98. package/dist/chunks/{app-vcx4y3fv.js → vcs-a6r6wkyr.js} +16 -16
  99. package/dist/chunks/{app-7w42a7vr.js → vcs-a71hppcw.js} +12 -12
  100. package/dist/chunks/{app-76tyfscq.js → vcs-a8f3mxkw.js} +11 -11
  101. package/dist/chunks/{app-xp199s9v.js → vcs-a9667v8g.js} +29 -29
  102. package/dist/chunks/{app-fyyxce3k.js → vcs-aa3n6jba.js} +12 -12
  103. package/dist/chunks/{app-aaet6srn.js → vcs-aaet6srn.js} +2 -2
  104. package/dist/chunks/{app-ep2tbpq0.js → vcs-aas2x9xe.js} +11 -11
  105. package/dist/chunks/{app-xa67z4h8.js → vcs-ad2z09fz.js} +1 -1
  106. package/dist/chunks/{app-z52sz3cr.js → vcs-any5mnhp.js} +32 -32
  107. package/dist/chunks/{app-2awzhxm4.js → vcs-avmm2jg2.js} +11 -11
  108. package/dist/chunks/{app-ahket4sj.js → vcs-awwkxypx.js} +1 -1
  109. package/dist/chunks/{app-6myapkvy.js → vcs-az1ptj1b.js} +21 -21
  110. package/dist/chunks/{app-8sze2n9a.js → vcs-b4twkq7r.js} +2 -2
  111. package/dist/chunks/{app-j9vjkm8n.js → vcs-b51nkdwk.js} +13 -13
  112. package/dist/chunks/{app-xj54bchx.js → vcs-b60a26g6.js} +5 -5
  113. package/dist/chunks/{app-b6gygkdw.js → vcs-b6gygkdw.js} +2 -2
  114. package/dist/chunks/{app-vpw5h8ff.js → vcs-bjr6y4mv.js} +3 -3
  115. package/dist/chunks/{app-t157y7h9.js → vcs-bygh5wce.js} +15 -15
  116. package/dist/chunks/{app-q66krdtm.js → vcs-c115zdge.js} +7 -7
  117. package/dist/chunks/{app-tjd55h1j.js → vcs-c73458ry.js} +3 -3
  118. package/dist/chunks/{app-p7a39gy5.js → vcs-c8bydgjz.js} +6 -6
  119. package/dist/chunks/{app-2pnhn36q.js → vcs-cavr175a.js} +21 -21
  120. package/dist/chunks/{app-gz06afsr.js → vcs-chsrfrth.js} +13 -13
  121. package/dist/chunks/{app-67p37xz4.js → vcs-ckk9cefh.js} +3 -3
  122. package/dist/chunks/{app-3pshrbxs.js → vcs-cn4z8cr5.js} +5 -5
  123. package/dist/chunks/{app-x9e148je.js → vcs-cq6phv5h.js} +19 -19
  124. package/dist/chunks/{app-s0y0yn56.js → vcs-cvaycvww.js} +8 -8
  125. package/dist/chunks/{app-2sejkfem.js → vcs-cwa6csj7.js} +9 -9
  126. package/dist/chunks/{app-5p8wf6j7.js → vcs-d7r1s2tx.js} +24 -24
  127. package/dist/chunks/{app-1mkt64e2.js → vcs-d8j5se8g.js} +6 -6
  128. package/dist/chunks/{app-addxnjmp.js → vcs-db2wf4at.js} +4 -4
  129. package/dist/chunks/{app-57e9z27j.js → vcs-dh75pk8w.js} +8 -8
  130. package/dist/chunks/{app-tz4n1mmd.js → vcs-dhmh7aw6.js} +4 -4
  131. package/dist/chunks/{app-srj2pvnr.js → vcs-dqbmw7q7.js} +18 -18
  132. package/dist/chunks/{app-1fe3twba.js → vcs-dvcamk0x.js} +44 -44
  133. package/dist/chunks/{app-af8m3dqx.js → vcs-dxh3sfmm.js} +4 -4
  134. package/dist/chunks/{app-7cxp1twe.js → vcs-e0yqd5jt.js} +27 -27
  135. package/dist/chunks/{app-rdh9syxk.js → vcs-e81r67k8.js} +11 -11
  136. package/dist/chunks/{app-d7gsy00f.js → vcs-ech2ak4d.js} +4 -4
  137. package/dist/chunks/{app-242d3xz3.js → vcs-ed3hy58t.js} +11 -11
  138. package/dist/chunks/{app-ef5x83kb.js → vcs-ef5x83kb.js} +1 -1
  139. package/dist/chunks/{app-4b3qsvz5.js → vcs-ehcck58d.js} +11 -11
  140. package/dist/chunks/{app-etq0c3wd.js → vcs-etq0c3wd.js} +1 -1
  141. package/dist/chunks/{app-4dhf6qr5.js → vcs-f0s8y0b6.js} +16 -16
  142. package/dist/chunks/{app-1b4m0bzf.js → vcs-f29mbr7f.js} +4 -4
  143. package/dist/chunks/{app-ngv8w6cp.js → vcs-f3vqqkbk.js} +21 -21
  144. package/dist/chunks/{app-f75zav2x.js → vcs-f75zav2x.js} +2 -2
  145. package/dist/chunks/{app-xf8yqmad.js → vcs-fd636bra.js} +9 -9
  146. package/dist/chunks/{app-qpg4an21.js → vcs-fgwpeqsz.js} +11 -11
  147. package/dist/chunks/{app-bkcfv8em.js → vcs-fns8a2gp.js} +11 -11
  148. package/dist/chunks/{app-b7v4cx43.js → vcs-fyjp43ss.js} +5 -5
  149. package/dist/chunks/{app-xfkkasph.js → vcs-g5w8qwbj.js} +4 -4
  150. package/dist/chunks/{app-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{app-sgy8ytrb.js → vcs-gwwh43n1.js} +4 -4
  152. package/dist/chunks/{app-68yqgpv3.js → vcs-h28nw4a5.js} +38 -38
  153. package/dist/chunks/{app-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
  154. package/dist/chunks/{app-zy98sty6.js → vcs-hhvxj0xs.js} +2 -2
  155. package/dist/chunks/{app-6qtegkg3.js → vcs-hy1va3t8.js} +11 -11
  156. package/dist/chunks/{app-bae9fd7v.js → vcs-j1xbwn9c.js} +31 -31
  157. package/dist/chunks/{app-j56e64zr.js → vcs-j56e64zr.js} +1 -1
  158. package/dist/chunks/{app-5w6eg69j.js → vcs-j93sw876.js} +21 -21
  159. package/dist/chunks/{app-4ghyx0ra.js → vcs-jbmy2zgb.js} +24 -24
  160. package/dist/chunks/{app-5bebnv6a.js → vcs-jr75wfmz.js} +64 -64
  161. package/dist/chunks/{app-pybq8189.js → vcs-js4cxn4z.js} +6 -6
  162. package/dist/chunks/{app-20y2srhq.js → vcs-jsz329ft.js} +8 -8
  163. package/dist/chunks/{app-yj324k3c.js → vcs-k90nywdg.js} +5 -5
  164. package/dist/chunks/{app-f2ymgd1y.js → vcs-k9z2jbvp.js} +14 -14
  165. package/dist/chunks/{app-kb9j3d72.js → vcs-kb9j3d72.js} +3 -3
  166. package/dist/chunks/{app-yt3hy1g9.js → vcs-kbqjp078.js} +5 -5
  167. package/dist/chunks/{app-t6jtyfth.js → vcs-kf9nwexv.js} +9 -9
  168. package/dist/chunks/{app-h83xjv7f.js → vcs-kjdm35cs.js} +5 -5
  169. package/dist/chunks/{app-d08g2ggt.js → vcs-kjtwtt38.js} +18 -18
  170. package/dist/chunks/{app-3322t3cd.js → vcs-knf8cp6t.js} +33 -33
  171. package/dist/chunks/{app-jcx1xx7s.js → vcs-kt0ehyka.js} +9 -9
  172. package/dist/chunks/{app-04e56h6g.js → vcs-ktsearan.js} +22 -22
  173. package/dist/chunks/{app-wp4df68x.js → vcs-ky1txe1r.js} +9 -9
  174. package/dist/chunks/{app-jc3azejp.js → vcs-m32z4m4g.js} +23 -23
  175. package/dist/chunks/{app-m3fdjcah.js → vcs-m3fdjcah.js} +1 -1
  176. package/dist/chunks/{app-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
  177. package/dist/chunks/{app-tdkczycq.js → vcs-mhpyta8y.js} +5 -5
  178. package/dist/chunks/{app-7gganw90.js → vcs-mjdy15x6.js} +5 -5
  179. package/dist/chunks/{app-hxnmxwjb.js → vcs-mjeah1s5.js} +22 -22
  180. package/dist/chunks/{app-ar6cqpvd.js → vcs-mjmzzvm2.js} +11 -11
  181. package/dist/chunks/{app-jhpaar4x.js → vcs-mp6d0dty.js} +8 -8
  182. package/dist/chunks/vcs-n95b3jav.js +18 -0
  183. package/dist/chunks/{app-tbmac1c7.js → vcs-n9arjmkd.js} +4 -4
  184. package/dist/chunks/{app-9014prnx.js → vcs-n9vqdcrq.js} +13 -13
  185. package/dist/chunks/{app-c74t9qz0.js → vcs-na5ey99x.js} +22 -22
  186. package/dist/chunks/{app-dr9djctk.js → vcs-ncbf19cf.js} +20 -20
  187. package/dist/chunks/{app-xccs5pvc.js → vcs-ncrxt7jx.js} +7 -7
  188. package/dist/chunks/{app-9w4vxw73.js → vcs-nebf000m.js} +23 -23
  189. package/dist/chunks/{app-td2q8pwv.js → vcs-nf7n9gv6.js} +30 -30
  190. package/dist/chunks/{app-7cjh5p1y.js → vcs-nj1j17x6.js} +8 -8
  191. package/dist/chunks/{app-yw1qgh4m.js → vcs-njffz7f6.js} +28 -28
  192. package/dist/chunks/{app-wxzwjz1v.js → vcs-nmk0dmpc.js} +29 -29
  193. package/dist/chunks/{app-5vgy46me.js → vcs-nsxganxa.js} +16 -16
  194. package/dist/chunks/{app-1m23n1zc.js → vcs-nvxfygz2.js} +11 -11
  195. package/dist/chunks/{app-dpkg50ah.js → vcs-nxm207yx.js} +4 -4
  196. package/dist/chunks/{app-sdzb5d81.js → vcs-p0n551fw.js} +35 -35
  197. package/dist/chunks/{app-5cwdzrbq.js → vcs-p3scmb76.js} +9 -9
  198. package/dist/chunks/{app-b0cc5wa1.js → vcs-p4h4rdzj.js} +21 -21
  199. package/dist/chunks/{app-r7jxkywv.js → vcs-p5erw4k4.js} +15 -15
  200. package/dist/chunks/{app-v3691hzd.js → vcs-p5p5kne1.js} +2 -2
  201. package/dist/chunks/{app-sssj1js0.js → vcs-pfme51df.js} +37 -37
  202. package/dist/chunks/{app-f597wsw6.js → vcs-ph3ewja6.js} +7 -7
  203. package/dist/chunks/{app-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{app-pknna89w.js → vcs-pknna89w.js} +1 -1
  205. package/dist/chunks/{app-0c8a6nan.js → vcs-pwgqjq8n.js} +86 -86
  206. package/dist/chunks/{app-0j77ygfz.js → vcs-q0xm7vwc.js} +6 -6
  207. package/dist/chunks/{app-9706e9af.js → vcs-q8pak5b3.js} +16 -16
  208. package/dist/chunks/{app-va1aqcgj.js → vcs-qgv728j2.js} +11 -11
  209. package/dist/chunks/{app-q41gjxsv.js → vcs-qm62jy3z.js} +18 -18
  210. package/dist/chunks/{app-an481r60.js → vcs-qmtyv9xk.js} +25 -25
  211. package/dist/chunks/{app-qnc92qwc.js → vcs-qnc92qwc.js} +1 -1
  212. package/dist/chunks/{app-qsdy395h.js → vcs-qsdy395h.js} +1 -1
  213. package/dist/chunks/{app-m1mccnkp.js → vcs-qt3m7yst.js} +27 -42
  214. package/dist/chunks/{app-301dthfh.js → vcs-qvq3arps.js} +23 -23
  215. package/dist/chunks/{app-nwhb2xra.js → vcs-qxampeh8.js} +4 -4
  216. package/dist/chunks/{app-qxjc9qry.js → vcs-qxjc9qry.js} +3 -3
  217. package/dist/chunks/{app-nd6t1tpn.js → vcs-r4m1jrjc.js} +19 -19
  218. package/dist/chunks/{app-mvfsc1pv.js → vcs-r5x6zcsm.js} +3 -3
  219. package/dist/chunks/{app-dhgz4p5g.js → vcs-rbw4aktn.js} +22 -22
  220. package/dist/chunks/{app-rdw6cm16.js → vcs-rdw6cm16.js} +1 -1
  221. package/dist/chunks/{app-rrpq0de9.js → vcs-ree5ev3t.js} +12 -12
  222. package/dist/chunks/{app-mwkrjy8y.js → vcs-rh6eqnc6.js} +12 -12
  223. package/dist/chunks/{app-325sge2s.js → vcs-rk1r2hx8.js} +1 -1
  224. package/dist/chunks/{app-7jqg3t26.js → vcs-rnngp69k.js} +8 -8
  225. package/dist/chunks/{app-b27vhd2z.js → vcs-ryr25ayn.js} +4 -4
  226. package/dist/chunks/{app-py8bz5dh.js → vcs-s0bwfe95.js} +19 -19
  227. package/dist/chunks/{app-w56bmt8q.js → vcs-s16b17t4.js} +3 -3
  228. package/dist/chunks/{app-ws2cps2z.js → vcs-s26kjmv5.js} +6 -6
  229. package/dist/chunks/{app-ne07e3sg.js → vcs-s2v7n1e5.js} +23 -23
  230. package/dist/chunks/{app-wkt2r7t8.js → vcs-s5k3q4pp.js} +5 -5
  231. package/dist/chunks/{app-s6fz7zhe.js → vcs-s91dha9r.js} +5 -5
  232. package/dist/chunks/{app-9h0hm6c7.js → vcs-sdn4xrar.js} +24 -24
  233. package/dist/chunks/{app-nxdkhax1.js → vcs-sppvmfbr.js} +13 -13
  234. package/dist/chunks/{app-rx9ava5n.js → vcs-sqvzcy4n.js} +4 -4
  235. package/dist/chunks/{app-7z20pvgb.js → vcs-sxqcyyt3.js} +19 -19
  236. package/dist/chunks/{app-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{app-tcezcvh9.js → vcs-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{app-jkv8g5mz.js → vcs-tchgbp8v.js} +7 -7
  239. package/dist/chunks/{app-4ayp82yx.js → vcs-tcwahqdd.js} +172 -172
  240. package/dist/chunks/{app-tdstcens.js → vcs-tdstcens.js} +1 -1
  241. package/dist/chunks/{app-1jksvqp2.js → vcs-tpb188e6.js} +30 -30
  242. package/dist/chunks/{app-qby9dwvd.js → vcs-tx9w5tca.js} +8 -8
  243. package/dist/chunks/{app-z0k8ktqm.js → vcs-tz1g4r66.js} +4 -4
  244. package/dist/chunks/{app-v0es1rhs.js → vcs-v0es1rhs.js} +2 -2
  245. package/dist/chunks/{app-7b0bmdfp.js → vcs-v31ptvhs.js} +11 -11
  246. package/dist/chunks/{app-d9yqcqn2.js → vcs-v53gfhad.js} +7 -7
  247. package/dist/chunks/{app-mypwhdkk.js → vcs-v76by4bg.js} +6 -6
  248. package/dist/chunks/{app-k3kxt7h3.js → vcs-v7t1f1qx.js} +8 -8
  249. package/dist/chunks/{app-veqvce7d.js → vcs-veqvce7d.js} +1 -1
  250. package/dist/chunks/{app-ebpd15x1.js → vcs-vnezwvq1.js} +2 -3
  251. package/dist/chunks/{app-k70p9jzb.js → vcs-vsr6dns1.js} +9 -9
  252. package/dist/chunks/{app-vzs5sf6e.js → vcs-vzs5sf6e.js} +1 -1
  253. package/dist/chunks/{app-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{app-8phv1wh2.js → vcs-w5ssd7wj.js} +11 -11
  255. package/dist/chunks/{app-9g2bkc9w.js → vcs-w72117hz.js} +4 -4
  256. package/dist/chunks/{app-1rh4yqvv.js → vcs-w8djw5a7.js} +9 -9
  257. package/dist/chunks/{app-wd87259q.js → vcs-wd87259q.js} +1 -1
  258. package/dist/chunks/{app-hdkng2sj.js → vcs-wecqtg5s.js} +5 -5
  259. package/dist/chunks/{app-fh6mwhcg.js → vcs-wk41chab.js} +2 -2
  260. package/dist/chunks/{app-apkykmcv.js → vcs-wmznkzn4.js} +15 -15
  261. package/dist/chunks/{app-y77syfze.js → vcs-wtm68b6z.js} +32 -32
  262. package/dist/chunks/{app-s8d7rejh.js → vcs-wv396vej.js} +8 -8
  263. package/dist/chunks/{app-9kdznkft.js → vcs-wwfr3fck.js} +149 -149
  264. package/dist/chunks/{app-bgb55b52.js → vcs-wzzqegvv.js} +32 -32
  265. package/dist/chunks/{app-7v13wked.js → vcs-x7jvg2gh.js} +8 -8
  266. package/dist/chunks/{app-0ejp3s31.js → vcs-x8g60tk1.js} +14 -14
  267. package/dist/chunks/{app-bzg3gwdp.js → vcs-xdqkfgq9.js} +43 -43
  268. package/dist/chunks/{app-xkntkrq7.js → vcs-xkntkrq7.js} +2 -2
  269. package/dist/chunks/{app-wygm2re9.js → vcs-xw3hzg3w.js} +19 -19
  270. package/dist/chunks/{app-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{app-5xnx6s0g.js → vcs-ydsmzj44.js} +4 -4
  272. package/dist/chunks/{app-hwwy1ym4.js → vcs-yed04tyc.js} +14 -14
  273. package/dist/chunks/{app-kdhmv3km.js → vcs-yfdhmhym.js} +17 -17
  274. package/dist/chunks/{app-j4tsbt5k.js → vcs-ym0x057v.js} +25 -25
  275. package/dist/chunks/{app-6s2ddzje.js → vcs-ynqzsecj.js} +48 -48
  276. package/dist/chunks/{app-reymgymz.js → vcs-yqgsyyq0.js} +18 -18
  277. package/dist/chunks/{app-nd6gy5bw.js → vcs-ytj3vg7d.js} +15 -15
  278. package/dist/chunks/{app-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{app-jat658e1.js → vcs-znz6qwjc.js} +11 -11
  280. package/dist/chunks/{app-35bmy1pq.js → vcs-zqg5j2wv.js} +20 -20
  281. package/dist/chunks/{app-zr2ceqn5.js → vcs-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{app-zxq2ej10.js → vcs-zxq2ej10.js} +1 -1
  283. package/dist/chunks/{app-9z3aytcr.js → vcs-zysg80a6.js} +28 -28
  284. package/dist/chunks/{app-791sstd7.js → vcs-zzhkqpgp.js} +20 -20
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +7 -7
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +81 -81
  290. package/dist/config/discovery.js +82 -82
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +99 -99
  293. package/dist/config/plugin/agent.js +116 -116
  294. package/dist/config/plugin/command.js +205 -205
  295. package/dist/config/plugin/compaction.js +154 -154
  296. package/dist/config/plugin/compatibility.js +134 -134
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +90 -90
  301. package/dist/config/plugin/location-watcher.js +116 -116
  302. package/dist/config/plugin/mcp.js +123 -123
  303. package/dist/config/plugin/policy.js +115 -115
  304. package/dist/config/plugin/provider.js +116 -116
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +118 -118
  307. package/dist/config/plugin/skill-file.js +102 -102
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +113 -113
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +117 -117
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +117 -117
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +85 -85
  319. package/dist/database/database.js +70 -70
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration.gen.js +49 -49
  385. package/dist/database/migration.js +51 -51
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +79 -79
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +363 -363
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +93 -93
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +95 -95
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +74 -74
  409. package/dist/file-access.js +100 -100
  410. package/dist/file-mutation.js +94 -94
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +218 -218
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +103 -103
  420. package/dist/filesystem/watcher-binding.js +3 -3
  421. package/dist/filesystem/watcher.js +11 -11
  422. package/dist/filesystem.js +100 -100
  423. package/dist/form.js +84 -84
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +87 -87
  426. package/dist/generate.js +105 -105
  427. package/dist/git.js +10 -10
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +99 -99
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +354 -354
  451. package/dist/instruction-discovery.js +81 -81
  452. package/dist/instructions/builtins.js +87 -87
  453. package/dist/instructions/index.js +5 -5
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +87 -87
  456. package/dist/job.js +78 -78
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +73 -73
  459. package/dist/location-activity.js +134 -134
  460. package/dist/location-lifecycle.js +107 -107
  461. package/dist/location-service-map.js +86 -86
  462. package/dist/location-services.js +351 -351
  463. package/dist/location.js +81 -81
  464. package/dist/managed-policy.js +5 -5
  465. package/dist/mcp/client.js +91 -91
  466. package/dist/mcp/index.js +107 -107
  467. package/dist/mcp/instructions.js +127 -127
  468. package/dist/mcp/oauth.js +78 -78
  469. package/dist/mcp/stdio.js +90 -90
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +99 -99
  472. package/dist/model-resolver.js +98 -98
  473. package/dist/model.js +102 -102
  474. package/dist/models-dev.js +107 -107
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +82 -82
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +117 -117
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +86 -86
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +75 -75
  484. package/dist/plugin/agent.js +74 -102
  485. package/dist/plugin/command.js +100 -100
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +211 -211
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +326 -326
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +96 -96
  493. package/dist/plugin/module.js +5 -5
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +100 -100
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  498. package/dist/plugin/provider/azure.js +117 -117
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +93 -93
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +112 -112
  505. package/dist/plugin/provider/digitalocean.js +93 -93
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/github-copilot.js +95 -95
  509. package/dist/plugin/provider/gitlab.js +93 -93
  510. package/dist/plugin/provider/google-vertex.js +90 -90
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +78 -78
  513. package/dist/plugin/provider/lmstudio.js +116 -116
  514. package/dist/plugin/provider/local.js +113 -113
  515. package/dist/plugin/provider/modal.js +92 -92
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +116 -116
  518. package/dist/plugin/provider/openai.js +93 -93
  519. package/dist/plugin/provider/opencode.js +96 -96
  520. package/dist/plugin/provider/openrouter.js +91 -91
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +79 -79
  523. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  524. package/dist/plugin/provider/sap-ai-core.js +91 -91
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  527. package/dist/plugin/provider/vercel.js +90 -90
  528. package/dist/plugin/provider/vllm.js +116 -116
  529. package/dist/plugin/provider/xai.js +91 -91
  530. package/dist/plugin/provider/zenmux.js +1 -1
  531. package/dist/plugin/provider.js +155 -155
  532. package/dist/plugin/sdk.js +74 -74
  533. package/dist/plugin/service.js +3 -3
  534. package/dist/plugin/skill.js +132 -132
  535. package/dist/plugin/source-directory.js +1 -1
  536. package/dist/plugin/supervisor.js +341 -341
  537. package/dist/plugin/tool-input-repair.js +4 -4
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/vcs/git.js +86 -86
  540. package/dist/plugin/vcs/hg.js +86 -86
  541. package/dist/plugin/verbosity.js +93 -93
  542. package/dist/plugin/warming.js +114 -114
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +8 -8
  545. package/dist/plugin/websearch/index.js +9 -9
  546. package/dist/plugin/websearch/mcp.js +2 -2
  547. package/dist/plugin/websearch/parallel.js +6 -6
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin/websearch/tinyfish.js +6 -6
  550. package/dist/plugin.js +218 -218
  551. package/dist/project/schema.js +2 -2
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +80 -80
  554. package/dist/provider.js +101 -101
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +93 -93
  558. package/dist/reference/instructions.js +89 -89
  559. package/dist/reference.js +87 -87
  560. package/dist/repository-cache.js +81 -81
  561. package/dist/repository.js +3 -3
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +97 -97
  564. package/dist/rpc.js +86 -86
  565. package/dist/schema.js +1 -1
  566. package/dist/session/affinity.js +1 -1
  567. package/dist/session/command.js +74 -74
  568. package/dist/session/compaction.js +129 -129
  569. package/dist/session/context.js +153 -153
  570. package/dist/session/diff.js +88 -88
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +7 -7
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +217 -217
  575. package/dist/session/execution.js +125 -125
  576. package/dist/session/generate.js +154 -154
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +88 -88
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +77 -77
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +97 -97
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +120 -120
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +129 -129
  588. package/dist/session/projector.js +86 -86
  589. package/dist/session/prompt.js +105 -105
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +90 -90
  592. package/dist/session/run-coordinator.js +1 -1
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +222 -222
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +98 -98
  597. package/dist/session/runner/publish-llm-event.js +113 -113
  598. package/dist/session/runner/retry.js +4 -4
  599. package/dist/session/runner/step.js +123 -123
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +164 -164
  603. package/dist/session/shell.js +130 -130
  604. package/dist/session/skill.js +103 -103
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +75 -75
  607. package/dist/session/store.js +87 -87
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +203 -203
  610. package/dist/session/system-prompt.js +3 -3
  611. package/dist/session/title.js +151 -151
  612. package/dist/session/to-session-error.js +111 -111
  613. package/dist/session/transfer.js +213 -213
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +211 -211
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +13 -13
  620. package/dist/shell.js +130 -130
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +107 -107
  623. package/dist/skill.js +108 -108
  624. package/dist/snapshot.js +87 -87
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +128 -128
  629. package/dist/tool/plugin/edit.js +120 -120
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +116 -116
  632. package/dist/tool/plugin/grep.js +124 -124
  633. package/dist/tool/plugin/mcp-resource.js +117 -117
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +122 -122
  636. package/dist/tool/plugin/question.js +105 -105
  637. package/dist/tool/plugin/read.js +125 -125
  638. package/dist/tool/plugin/shell.js +210 -210
  639. package/dist/tool/plugin/skill.js +113 -113
  640. package/dist/tool/plugin/subagent.js +208 -208
  641. package/dist/tool/plugin/webfetch.js +110 -110
  642. package/dist/tool/plugin/websearch.js +114 -114
  643. package/dist/tool/plugin/write.js +122 -122
  644. package/dist/tool/read-filesystem.js +100 -100
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +7 -7
  647. package/dist/tool.js +14 -14
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/git-executable.js +2 -2
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +7 -7
  658. package/dist/v1/config/command.js +3 -3
  659. package/dist/v1/config/error.js +4 -4
  660. package/dist/v1/config/mcp.js +4 -4
  661. package/dist/v1/config/migrate.js +92 -92
  662. package/dist/v1/config/permission.js +7 -7
  663. package/dist/v1/config/plugin.js +1 -1
  664. package/dist/v1/config/provider-options.js +1 -1
  665. package/dist/v1/config/provider.js +4 -4
  666. package/dist/variant.js +93 -93
  667. package/dist/vcs/patch.js +1 -1
  668. package/dist/vcs.js +89 -89
  669. package/dist/websearch.js +80 -80
  670. package/dist/wellknown/plugin.js +76 -76
  671. package/dist/wellknown.js +79 -79
  672. package/dist/workspace/driver.js +7 -7
  673. package/dist/workspace/sql.js +1 -1
  674. package/dist/workspace.js +80 -80
  675. package/dist/worktree/directory.js +2 -2
  676. package/dist/worktree/git.js +10 -10
  677. package/dist/worktree/sql.js +5 -5
  678. package/dist/worktree/strategies.js +89 -89
  679. package/dist/worktree.js +94 -94
  680. package/package.json +8 -8
  681. package/dist/chunks/app-4v7qdvcn.js +0 -18
  682. package/dist/chunks/app-h44meb81.js +0 -26
  683. /package/dist/chunks/{app-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
  684. /package/dist/chunks/{app-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
  685. /package/dist/chunks/{app-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
  686. /package/dist/chunks/{app-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
  687. /package/dist/chunks/{app-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
  688. /package/dist/chunks/{app-24dcb14g.js → vcs-24dcb14g.js} +0 -0
  689. /package/dist/chunks/{app-2710q6r3.js → vcs-2710q6r3.js} +0 -0
  690. /package/dist/chunks/{app-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
  691. /package/dist/chunks/{app-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
  692. /package/dist/chunks/{app-34c7v6d4.js → vcs-34c7v6d4.js} +0 -0
  693. /package/dist/chunks/{app-359p4xyc.js → vcs-359p4xyc.js} +0 -0
  694. /package/dist/chunks/{app-3asan66x.js → vcs-3asan66x.js} +0 -0
  695. /package/dist/chunks/{app-3t0ybcrp.js → vcs-3t0ybcrp.js} +0 -0
  696. /package/dist/chunks/{app-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
  697. /package/dist/chunks/{app-3w5fmr99.js → vcs-3w5fmr99.js} +0 -0
  698. /package/dist/chunks/{app-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
  699. /package/dist/chunks/{app-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
  700. /package/dist/chunks/{app-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
  701. /package/dist/chunks/{app-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
  702. /package/dist/chunks/{app-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
  703. /package/dist/chunks/{app-53557ph1.js → vcs-53557ph1.js} +0 -0
  704. /package/dist/chunks/{app-550bvhaj.js → vcs-550bvhaj.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
@@ -7,21 +7,21 @@ import {
7
7
  deletePatch2,
8
8
  countPatch2,
9
9
  chunksByFile2
10
- } from "./app-tazgh4e4.js";
10
+ } from "./vcs-tazgh4e4.js";
11
11
  import {
12
12
  Service80
13
- } from "./app-fh6mwhcg.js";
13
+ } from "./vcs-wk41chab.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./app-6myapkvy.js";
16
+ } from "./vcs-az1ptj1b.js";
17
17
  import {
18
18
  __export
19
- } from "./app-9rqn6x4v.js";
19
+ } from "./vcs-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
23
23
  __export(exports_hg, {
24
- Plugin: () => Plugin34,
24
+ Plugin: () => Plugin36,
25
25
  VcsHgPlugin: () => exports_hg
26
26
  });
27
27
  import path from "path";
@@ -30,7 +30,7 @@ import { ChildProcess } from "effect/unstable/process";
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { FSUtil } from "@opencode/util/fs-util";
32
32
  import { AppProcess } from "@opencode/util/process";
33
- var Plugin34 = define({
33
+ var Plugin36 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
36
  const location = yield* Service80;
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
198
198
  return { status, diff, branch, ancestor, cat };
199
199
  }
200
200
 
201
- export { Plugin34, exports_hg };
201
+ export { Plugin36, exports_hg };
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service83,
4
- node87
5
- } from "./app-5vgy46me.js";
3
+ Service82,
4
+ node86
5
+ } from "./vcs-nsxganxa.js";
6
6
  import {
7
- Key3,
7
+ Key4,
8
8
  unavailable3,
9
9
  removed2,
10
- make21,
10
+ make22,
11
11
  diffByKey2
12
- } from "./app-s8d7rejh.js";
12
+ } from "./vcs-wv396vej.js";
13
13
  import {
14
14
  AbsolutePath2
15
- } from "./app-z5v4ffb3.js";
15
+ } from "./vcs-z5v4ffb3.js";
16
16
  import {
17
17
  create3
18
- } from "./app-rdw6cm16.js";
18
+ } from "./vcs-rdw6cm16.js";
19
19
  import {
20
20
  __export
21
- } from "./app-9rqn6x4v.js";
21
+ } from "./vcs-9rqn6x4v.js";
22
22
 
23
23
  // src/instruction-discovery.ts
24
24
  var exports_instruction_discovery = {};
25
25
  __export(exports_instruction_discovery, {
26
- Event: () => Event5,
26
+ Event: () => Event8,
27
27
  File: () => File2,
28
28
  InstructionDiscovery: () => exports_instruction_discovery,
29
- Options: () => Options5,
29
+ Options: () => Options6,
30
30
  Service: () => Service42,
31
- configured: () => configured5,
31
+ configured: () => configured6,
32
32
  layer: () => layer17,
33
- node: () => node44
33
+ node: () => node45
34
34
  });
35
35
  import { Context, Effect, Layer, Schema } from "effect";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -41,11 +41,11 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
41
41
  }) {
42
42
  }
43
43
  var Files = Schema.Array(File2);
44
- var key = Key3.make("core/instructions");
45
- var Event5 = {
44
+ var key = Key4.make("core/instructions");
45
+ var Event8 = {
46
46
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
47
47
  };
48
- var Options5 = Schema.Struct({
48
+ var Options6 = Schema.Struct({
49
49
  project: Schema.optional(Schema.Boolean),
50
50
  global: Schema.optional(Schema.Boolean)
51
51
  });
@@ -53,7 +53,7 @@ var Options5 = Schema.Struct({
53
53
  class Service42 extends Context.Service()("@opencode/InstructionDiscovery") {
54
54
  }
55
55
  var layer17 = (options) => Layer.effect(Service42, Effect.gen(function* () {
56
- const bus = yield* Service83;
56
+ const bus = yield* Service82;
57
57
  const state = create3({
58
58
  name: "instruction-discovery",
59
59
  initial: () => ({ files: new Map, available: true }),
@@ -72,9 +72,9 @@ var layer17 = (options) => Layer.effect(Service42, Effect.gen(function* () {
72
72
  editor.available = false;
73
73
  }
74
74
  }),
75
- notify: () => bus.publish(Event5.Updated, {}).pipe(Effect.asVoid)
75
+ notify: () => bus.publish(Event8.Updated, {}).pipe(Effect.asVoid)
76
76
  });
77
- const source = (value) => make21({
77
+ const source = (value) => make22({
78
78
  key,
79
79
  codec: Schema.toCodecJson(Files),
80
80
  read: Effect.succeed(value),
@@ -104,14 +104,14 @@ var layer17 = (options) => Layer.effect(Service42, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  }));
107
- function configured5(options) {
107
+ function configured6(options) {
108
108
  return makeLocationNode({
109
109
  service: Service42,
110
110
  layer: layer17(options),
111
- deps: [node87]
111
+ deps: [node86]
112
112
  });
113
113
  }
114
- var node44 = configured5();
114
+ var node45 = configured6();
115
115
  function render(files) {
116
116
  return files.map((file) => `Instructions from: ${file.path}
117
117
  ${file.content}`).join(`
@@ -142,4 +142,4 @@ ${render([after])}`;
142
142
  `);
143
143
  }
144
144
 
145
- export { File2, Event5, Options5, Service42, layer17, configured5, node44, exports_instruction_discovery };
145
+ export { File2, Event8, Options6, Service42, layer17, configured6, node45, exports_instruction_discovery };
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service57
3
- } from "./app-5w6eg69j.js";
2
+ Service58
3
+ } from "./vcs-j93sw876.js";
4
4
  import {
5
- Service17,
5
+ Service13,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./app-j9vjkm8n.js";
8
+ } from "./vcs-b51nkdwk.js";
9
9
  import {
10
- Service18
11
- } from "./app-w22hqb2b.js";
10
+ Service22
11
+ } from "./vcs-5j2qe6ha.js";
12
12
  import {
13
- Service62
14
- } from "./app-mzkxtmwj.js";
13
+ Service74
14
+ } from "./vcs-5y297yh0.js";
15
15
  import {
16
16
  Service14
17
- } from "./app-16bxftmt.js";
17
+ } from "./vcs-4ga52gzf.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./app-6prwharc.js";
20
+ } from "./vcs-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./app-9rqn6x4v.js";
23
+ } from "./vcs-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input12,
29
- Output: () => Output8,
30
- Plugin: () => Plugin13,
28
+ Input: () => Input7,
29
+ Output: () => Output4,
30
+ Plugin: () => Plugin27,
31
31
  WriteTool: () => exports_write,
32
- name: () => name12,
33
- toModelContent: () => toModelContent6
32
+ name: () => name7,
33
+ toModelContent: () => toModelContent3
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name12 = "write";
39
- var Input12 = Schema.Struct({
38
+ var name7 = "write";
39
+ var Input7 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output8 = Schema.Struct({
45
+ var Output4 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin13 = {
51
+ var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin27 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
55
  const access = yield* Service14;
56
- const fileMutation = yield* Service17;
57
- const environment = yield* Service57;
58
- const formatter = yield* Service18;
59
- const permission = yield* Service62;
56
+ const fileMutation = yield* Service13;
57
+ const environment = yield* Service58;
58
+ const formatter = yield* Service22;
59
+ const permission = yield* Service74;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name12,
61
+ name: name7,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input12,
69
- output: Output8,
68
+ input: Input7,
69
+ output: Output4,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name12, Input12, Output8, toModelContent6, Plugin13, exports_write };
101
+ export { name7, Input7, Output4, toModelContent3, Plugin27, exports_write };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  __export
3
- } from "./app-9rqn6x4v.js";
3
+ } from "./vcs-9rqn6x4v.js";
4
4
 
5
5
  // src/managed-policy.ts
6
6
  var exports_managed_policy = {};
7
7
  __export(exports_managed_policy, {
8
8
  ManagedPolicy: () => exports_managed_policy,
9
- Service: () => Service52,
10
- node: () => node54
9
+ Service: () => Service20,
10
+ node: () => node22
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service52 extends Context.Service()("@opencode/ManagedPolicy") {
15
+ class Service20 extends Context.Service()("@opencode/ManagedPolicy") {
16
16
  }
17
- var layer = Layer.sync(Service52, () => {
17
+ var layer = Layer.sync(Service20, () => {
18
18
  const state = { current: { statements: [] } };
19
- return Service52.of({
19
+ return Service20.of({
20
20
  current: () => state.current,
21
21
  set: (next) => Effect.sync(() => {
22
22
  state.current = next;
23
23
  })
24
24
  });
25
25
  });
26
- var node54 = makeGlobalNode({ service: Service52, layer, deps: [] });
26
+ var node22 = makeGlobalNode({ service: Service20, layer, deps: [] });
27
27
 
28
- export { Service52, node54, exports_managed_policy };
28
+ export { Service20, node22, exports_managed_policy };
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./app-5vgy46me.js";
2
+ Service82,
3
+ node86
4
+ } from "./vcs-nsxganxa.js";
5
5
  import {
6
6
  __export
7
- } from "./app-9rqn6x4v.js";
7
+ } from "./vcs-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,40 +12,40 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event20,
15
+ Event: () => Event18,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID15,
20
- Info: () => Info26,
19
+ ID: () => ID11,
20
+ Info: () => Info22,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError10,
24
- Reply: () => Reply3,
25
- Service: () => Service76,
23
+ NotFoundError: () => NotFoundError8,
24
+ Reply: () => Reply2,
25
+ Service: () => Service70,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
28
  layer: () => layer25,
29
- node: () => node80,
29
+ node: () => node74,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event20 } from "@opencode/schema/form";
36
+ import { Event as Event18 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID15 = Form.ID;
39
- var Info26 = Form.Info;
38
+ var ID11 = Form.ID;
39
+ var Info22 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
43
43
  var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
- var Reply3 = Form.Reply;
45
+ var Reply2 = Form.Reply;
46
46
 
47
- class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID15
47
+ class NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID11
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID15
56
+ id: ID11
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID15
64
+ id: ID11
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID15,
72
+ id: ID11,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service76 extends Context.Service()("@opencode/Form") {
82
+ class Service70 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer25 = Layer.effect(Service76, Effect.gen(function* () {
85
- const bus = yield* Service83;
84
+ var layer25 = Layer.effect(Service70, Effect.gen(function* () {
85
+ const bus = yield* Service82;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
88
88
  capacity: Number.MAX_SAFE_INTEGER,
89
89
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
90
90
  });
91
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
91
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError8({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID15.create();
93
+ const id = input.id ?? ID11.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -162,9 +162,9 @@ var layer25 = Layer.effect(Service76, Effect.gen(function* () {
162
162
  closed = true;
163
163
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
164
164
  yield* Effect.addFinalizer(() => close);
165
- return Service76.of({ create, ask, get, list, state, reply, cancel, close });
165
+ return Service70.of({ create, ask, get, list, state, reply, cancel, close });
166
166
  }));
167
- var node80 = makeLocationNode({ service: Service76, layer: layer25, deps: [node87] });
167
+ var node74 = makeLocationNode({ service: Service70, layer: layer25, deps: [node86] });
168
168
  function validateAnswer2(form, answer) {
169
169
  const fields = new Map(form.map((field) => [field.key, field]));
170
170
  for (const key of Object.keys(answer)) {
@@ -316,4 +316,4 @@ function isDateTime(value) {
316
316
  return !Number.isNaN(new Date(value).getTime());
317
317
  }
318
318
 
319
- export { ID15, Info26, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service76, layer25, node80, validateAnswer2, validateFields2, exports_form, Event20 };
319
+ export { ID11, Info22, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError8, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service70, layer25, node74, validateAnswer2, validateFields2, exports_form, Event18 };
@@ -1,54 +1,54 @@
1
- import {
2
- Service83,
3
- node87
4
- } from "./app-5vgy46me.js";
5
1
  import {
6
2
  Service82,
7
3
  node86
8
- } from "./app-rrpq0de9.js";
4
+ } from "./vcs-nsxganxa.js";
5
+ import {
6
+ Service84,
7
+ node88
8
+ } from "./vcs-ree5ev3t.js";
9
9
  import {
10
10
  Service80,
11
11
  node84
12
- } from "./app-fh6mwhcg.js";
12
+ } from "./vcs-wk41chab.js";
13
13
  import {
14
14
  awaitActivation2
15
- } from "./app-4v7qdvcn.js";
15
+ } from "./vcs-n95b3jav.js";
16
16
  import {
17
- Service69,
18
- node73
19
- } from "./app-1h0m70r1.js";
17
+ Service62,
18
+ node65
19
+ } from "./vcs-0cpggsem.js";
20
20
  import {
21
- node22
22
- } from "./app-35bmy1pq.js";
21
+ node25
22
+ } from "./vcs-zqg5j2wv.js";
23
23
  import {
24
- Service11,
25
- node13
26
- } from "./app-2sejkfem.js";
24
+ Service12,
25
+ node14
26
+ } from "./vcs-cwa6csj7.js";
27
27
  import {
28
28
  __export
29
- } from "./app-9rqn6x4v.js";
29
+ } from "./vcs-9rqn6x4v.js";
30
30
 
31
31
  // src/filesystem/location-watcher.ts
32
32
  var exports_location_watcher2 = {};
33
33
  __export(exports_location_watcher2, {
34
34
  LocationWatcher: () => exports_location_watcher2,
35
- Service: () => Service10,
36
- node: () => node12
35
+ Service: () => Service11,
36
+ node: () => node13
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
40
40
  import { FileSystem } from "@opencode/schema/filesystem";
41
41
  import path from "path";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
- class Service10 extends Context.Service()("@opencode/LocationWatcher") {
43
+ class Service11 extends Context.Service()("@opencode/LocationWatcher") {
44
44
  }
45
- var layer = Layer.effect(Service10, Effect.gen(function* () {
45
+ var layer = Layer.effect(Service11, Effect.gen(function* () {
46
46
  const location = yield* Service80;
47
- const watcher = yield* Service69;
48
- const bus = yield* Service83;
47
+ const watcher = yield* Service62;
48
+ const bus = yield* Service82;
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service82;
51
- const policy = yield* Service11;
50
+ const git = yield* Service84;
51
+ const policy = yield* Service12;
52
52
  const publish = (update) => bus.publish(FileSystem.Event.Changed, {
53
53
  file: update.path,
54
54
  event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
100
100
  yield* awaitActivation2;
101
101
  yield* reconcile();
102
102
  }).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
103
- return Service10.of({});
103
+ return Service11.of({});
104
104
  }));
105
- var node12 = makeLocationNode({
106
- service: Service10,
105
+ var node13 = makeLocationNode({
106
+ service: Service11,
107
107
  layer,
108
- deps: [node73, FSUtil.node, node84, node86, node87, node22, node13]
108
+ deps: [node65, FSUtil.node, node84, node88, node86, node25, node14]
109
109
  });
110
110
 
111
- export { Service10, node12, exports_location_watcher2 };
111
+ export { Service11, node13, exports_location_watcher2 };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./app-ep2tbpq0.js";
2
+ Service83,
3
+ node87
4
+ } from "./vcs-aas2x9xe.js";
5
5
  import {
6
6
  EventSequenceTable2,
7
7
  EventTable2
8
- } from "./app-2710q6r3.js";
8
+ } from "./vcs-2710q6r3.js";
9
9
  import {
10
10
  makeUnsafe2
11
- } from "./app-dpkg50ah.js";
11
+ } from "./vcs-nxm207yx.js";
12
12
  import {
13
13
  __export
14
- } from "./app-9rqn6x4v.js";
14
+ } from "./vcs-9rqn6x4v.js";
15
15
 
16
16
  // src/bus.ts
17
17
  var exports_bus = {};
18
18
  __export(exports_bus, {
19
19
  Bus: () => exports_bus,
20
20
  InvalidDurableEventError: () => InvalidDurableEventError2,
21
- Service: () => Service83,
21
+ Service: () => Service82,
22
22
  configured: () => configured12,
23
23
  durable: () => durable2,
24
24
  ephemeral: () => ephemeral2,
25
25
  isSynced: () => isSynced2,
26
26
  latestSequence: () => latestSequence2,
27
- node: () => node87,
27
+ node: () => node86,
28
28
  reserveSequence: () => reserveSequence2,
29
29
  versionedType: () => versionedType2
30
30
  });
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
76
76
  var isSynced2 = (item) => item.type === "log.synced";
77
77
  var isDefinition = (input) => !Array.isArray(input);
78
78
 
79
- class Service83 extends Context.Service()("@opencode/Bus") {
79
+ class Service82 extends Context.Service()("@opencode/Bus") {
80
80
  }
81
81
  function configured12(options) {
82
82
  return makeGlobalNode({
83
- service: Service83,
84
- deps: [node88],
85
- layer: Layer.effect(Service83, Effect.gen(function* () {
83
+ service: Service82,
84
+ deps: [node87],
85
+ layer: Layer.effect(Service82, Effect.gen(function* () {
86
86
  const { Location } = yield* Effect.promise(() => import("../location.js"));
87
87
  const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
88
88
  const pubsub = {
@@ -93,7 +93,7 @@ function configured12(options) {
93
93
  const projectors = new Map;
94
94
  const listeners = new Array;
95
95
  const durableLocks = makeUnsafe2();
96
- const { db } = yield* Service84;
96
+ const { db } = yield* Service83;
97
97
  const logReadPageSize = options?.logReadPageSize ?? 512;
98
98
  const persist = options?.persist ?? false;
99
99
  const sessions = new Map;
@@ -525,7 +525,7 @@ function configured12(options) {
525
525
  list.push((event) => projector(event));
526
526
  projectors.set(key, list);
527
527
  });
528
- return Service83.of({
528
+ return Service82.of({
529
529
  publish,
530
530
  publishAll,
531
531
  subscribe,
@@ -539,6 +539,6 @@ function configured12(options) {
539
539
  }))
540
540
  });
541
541
  }
542
- var node87 = configured12();
542
+ var node86 = configured12();
543
543
 
544
- export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service83, configured12, node87, exports_bus };
544
+ export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service82, configured12, node86, exports_bus };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service69
3
- } from "./app-1h0m70r1.js";
2
+ Service62
3
+ } from "./vcs-0cpggsem.js";
4
4
  import {
5
- Service68
6
- } from "./app-68yqgpv3.js";
5
+ Service61
6
+ } from "./vcs-h28nw4a5.js";
7
7
  import {
8
8
  parse2
9
- } from "./app-1mkt64e2.js";
9
+ } from "./vcs-d8j5se8g.js";
10
10
  import {
11
11
  __export
12
- } from "./app-9rqn6x4v.js";
12
+ } from "./vcs-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/compatibility.ts
15
15
  var exports_compatibility = {};
16
16
  __export(exports_compatibility, {
17
17
  ConfigCompatibilityPlugin: () => exports_compatibility,
18
- Plugin: () => Plugin25
18
+ Plugin: () => Plugin3
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { FSUtil } from "@opencode/util/fs-util";
22
22
  import path from "path";
23
23
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
24
- var Plugin25 = define({
24
+ var Plugin3 = define({
25
25
  id: "opencode.config.compatibility",
26
26
  effect: Effect.fn(function* (ctx) {
27
- const config = yield* Service68;
27
+ const config = yield* Service61;
28
28
  const fs = yield* FSUtil.Service;
29
- const watcher = yield* Service69;
29
+ const watcher = yield* Service62;
30
30
  const watches = yield* FiberMap.make();
31
31
  const changes = yield* PubSub.sliding(1);
32
32
  const lock = Semaphore.makeUnsafe(1);
@@ -73,4 +73,4 @@ var Plugin25 = define({
73
73
  })
74
74
  });
75
75
 
76
- export { Plugin25, exports_compatibility };
76
+ export { Plugin3, exports_compatibility };