@opencode/core 0.0.0-dev-20928 → 0.0.0-dev-20930

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 (788) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{variant-023jgkce.js → vcs-01h1cd23.js} +15 -15
  8. package/dist/chunks/{variant-xw32jce5.js → vcs-04p8m0tj.js} +9 -9
  9. package/dist/chunks/{variant-03dm5fd9.js → vcs-05en277q.js} +11 -11
  10. package/dist/chunks/{variant-afdssyjb.js → vcs-06x8he3q.js} +4 -4
  11. package/dist/chunks/{variant-4y7r13er.js → vcs-085246bx.js} +75 -75
  12. package/dist/chunks/{variant-0vbcp93d.js → vcs-0emb60td.js} +2 -2
  13. package/dist/chunks/{variant-t550f9t1.js → vcs-0gdmqesm.js} +4 -4
  14. package/dist/chunks/{variant-g7m99syb.js → vcs-0nx0j33j.js} +22 -22
  15. package/dist/chunks/{variant-r2v4c7r0.js → vcs-0r5qpn88.js} +8 -8
  16. package/dist/chunks/{variant-rpmq8wn2.js → vcs-0r7t0cpv.js} +20 -20
  17. package/dist/chunks/{variant-x6ymh9rw.js → vcs-0sqvq5f5.js} +4 -4
  18. package/dist/chunks/{variant-we78fsmk.js → vcs-0tccdhza.js} +15 -15
  19. package/dist/chunks/{variant-1gpb38yh.js → vcs-0ybbsf06.js} +6 -6
  20. package/dist/chunks/{variant-gkt0zr5s.js → vcs-113dr2ww.js} +24 -24
  21. package/dist/chunks/{variant-5f79zmff.js → vcs-13d0fw4d.js} +3 -3
  22. package/dist/chunks/{variant-qxgfdd5m.js → vcs-17svp89c.js} +6 -6
  23. package/dist/chunks/{variant-pwc9y2s2.js → vcs-19xes010.js} +50 -50
  24. package/dist/chunks/{variant-4pmnpw0w.js → vcs-1qjaf7q9.js} +11 -11
  25. package/dist/chunks/{variant-v80fe4f0.js → vcs-1sh9vfpc.js} +19 -19
  26. package/dist/chunks/{variant-jnd9zbm3.js → vcs-1tadxgh6.js} +20 -20
  27. package/dist/chunks/{variant-pvb5d38k.js → vcs-1vv4j6r1.js} +35 -35
  28. package/dist/chunks/{variant-rmdn71re.js → vcs-1x73a69w.js} +9 -9
  29. package/dist/chunks/{variant-eahhehpg.js → vcs-1y283654.js} +4 -4
  30. package/dist/chunks/{variant-jzep8trb.js → vcs-202vsb7e.js} +5 -5
  31. package/dist/chunks/{variant-d5824npd.js → vcs-2egm12cz.js} +5 -5
  32. package/dist/chunks/{variant-z744vbe2.js → vcs-2f2kky6g.js} +23 -23
  33. package/dist/chunks/{variant-fg9qnkmm.js → vcs-2fassr37.js} +21 -21
  34. package/dist/chunks/{variant-k142x1ht.js → vcs-2haft7pr.js} +7 -7
  35. package/dist/chunks/{variant-qgn6gcr1.js → vcs-2k8khapm.js} +5 -5
  36. package/dist/chunks/{variant-rgctwq8h.js → vcs-2p0vx0df.js} +25 -25
  37. package/dist/chunks/{variant-st2ntgfe.js → vcs-2p1hpqj8.js} +15 -15
  38. package/dist/chunks/{variant-eq8qc0qx.js → vcs-2sbm49xc.js} +10 -10
  39. package/dist/chunks/{variant-79qaa2kf.js → vcs-2sejkfem.js} +9 -9
  40. package/dist/chunks/{variant-5kpt5wkb.js → vcs-31z5wm9z.js} +13 -13
  41. package/dist/chunks/{variant-cr1q3c4f.js → vcs-339z2p0x.js} +33 -33
  42. package/dist/chunks/{variant-hq4avwzh.js → vcs-3ag8ase7.js} +9 -9
  43. package/dist/chunks/{variant-3fc6dm20.js → vcs-3fc6dm20.js} +1 -1
  44. package/dist/chunks/{variant-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{variant-3hwn7j4h.js → vcs-3hwn7j4h.js} +2 -2
  46. package/dist/chunks/{variant-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
  47. package/dist/chunks/{variant-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{variant-p2e2ffh1.js → vcs-3y45vew5.js} +6 -6
  49. package/dist/chunks/{variant-3zsf4n22.js → vcs-3zsf4n22.js} +1 -1
  50. package/dist/chunks/{variant-3r29e2k8.js → vcs-42wenp1t.js} +22 -22
  51. package/dist/chunks/{variant-8xenyd1x.js → vcs-43x15q73.js} +7 -7
  52. package/dist/chunks/{variant-c3yj5c7m.js → vcs-4gx4de6d.js} +14 -14
  53. package/dist/chunks/{variant-eprqzbgk.js → vcs-4j5c83jz.js} +27 -27
  54. package/dist/chunks/{variant-yn09pyyk.js → vcs-4jy3z28a.js} +35 -35
  55. package/dist/chunks/{variant-nf2m8c3p.js → vcs-4myngvt6.js} +22 -22
  56. package/dist/chunks/{variant-sezyhww6.js → vcs-4tjr60b8.js} +5 -5
  57. package/dist/chunks/{variant-4ts7tf6z.js → vcs-4ts7tf6z.js} +2 -2
  58. package/dist/chunks/{variant-c1m5a2h2.js → vcs-50x795jv.js} +11 -11
  59. package/dist/chunks/{variant-54ma36ye.js → vcs-54ma36ye.js} +1 -1
  60. package/dist/chunks/{variant-5m9w47nd.js → vcs-5m9w47nd.js} +1 -1
  61. package/dist/chunks/{variant-dmpx8hg1.js → vcs-5paa9ef2.js} +20 -20
  62. package/dist/chunks/{variant-wtch9zxc.js → vcs-61tjv46k.js} +9 -9
  63. package/dist/chunks/{variant-48gtzdwh.js → vcs-63g8n8e9.js} +23 -23
  64. package/dist/chunks/{variant-3jwr2z91.js → vcs-640qxpd1.js} +27 -27
  65. package/dist/chunks/{variant-ptd1ettv.js → vcs-66enaw2c.js} +4 -4
  66. package/dist/chunks/{variant-xt78c4m4.js → vcs-6c6pn2sh.js} +27 -27
  67. package/dist/chunks/{variant-9czvcyvx.js → vcs-6cb0k5fs.js} +8 -8
  68. package/dist/chunks/{variant-y4yg6ba5.js → vcs-6fzpscvt.js} +64 -46
  69. package/dist/chunks/{variant-xsch7tq4.js → vcs-6qtegkg3.js} +11 -11
  70. package/dist/chunks/{variant-hxg8gej6.js → vcs-6r0vq68t.js} +18 -18
  71. package/dist/chunks/{variant-0n5ns49k.js → vcs-6x89tf4f.js} +4 -4
  72. package/dist/chunks/{variant-6xb47vfp.js → vcs-6xb47vfp.js} +1 -1
  73. package/dist/chunks/{variant-3g8j9he4.js → vcs-6xcvt31d.js} +1 -1
  74. package/dist/chunks/{variant-mg9159rp.js → vcs-73hq82r2.js} +3 -3
  75. package/dist/chunks/{variant-775gj3j1.js → vcs-775gj3j1.js} +2 -2
  76. package/dist/chunks/{variant-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{variant-dgm2rhzz.js → vcs-7pfe8y1s.js} +30 -30
  78. package/dist/chunks/{variant-mcx3d4n8.js → vcs-7rzsvbkj.js} +8 -8
  79. package/dist/chunks/{variant-r0ngwdtc.js → vcs-7t1q934f.js} +10 -10
  80. package/dist/chunks/{variant-0p383jt5.js → vcs-7zrk7djy.js} +26 -26
  81. package/dist/chunks/{variant-0jq9fyba.js → vcs-82rhge12.js} +9 -9
  82. package/dist/chunks/{variant-84txncab.js → vcs-84txncab.js} +1 -1
  83. package/dist/chunks/{variant-bwy6v28t.js → vcs-8714avm2.js} +4 -4
  84. package/dist/chunks/{variant-3rtxz4nr.js → vcs-8aaqm6qj.js} +8 -8
  85. package/dist/chunks/{variant-gk17rv2q.js → vcs-8c5w71gj.js} +4 -4
  86. package/dist/chunks/{variant-5aykxj03.js → vcs-8deh7c6q.js} +7 -7
  87. package/dist/chunks/{variant-sx286dfz.js → vcs-8h8yzxqj.js} +4 -4
  88. package/dist/chunks/{variant-8m6m0r52.js → vcs-8m6m0r52.js} +1 -1
  89. package/dist/chunks/{variant-mavxarhh.js → vcs-8qg5srkn.js} +13 -13
  90. package/dist/chunks/{variant-rkprpv83.js → vcs-8sze2n9a.js} +6 -6
  91. package/dist/chunks/{variant-j75n2q4t.js → vcs-8xc0ff7b.js} +43 -43
  92. package/dist/chunks/{variant-qz7nhjxe.js → vcs-8xwc2may.js} +19 -19
  93. package/dist/chunks/{variant-91qna3x0.js → vcs-91qna3x0.js} +3 -3
  94. package/dist/chunks/{variant-svz6hdr3.js → vcs-959n08kb.js} +21 -21
  95. package/dist/chunks/{variant-3fhabzcx.js → vcs-9fm9zjg3.js} +23 -23
  96. package/dist/chunks/{variant-vzpx0zgq.js → vcs-9g0h0kex.js} +46 -46
  97. package/dist/chunks/{variant-81fzbrcp.js → vcs-9kyabpxr.js} +29 -29
  98. package/dist/chunks/{variant-bfkp01f7.js → vcs-9qt0ajd2.js} +4 -4
  99. package/dist/chunks/{variant-t70pgtdc.js → vcs-9t99p3cv.js} +14 -14
  100. package/dist/chunks/{variant-29qym6xz.js → vcs-a2rpfkac.js} +4 -4
  101. package/dist/chunks/{variant-5rwnzs1f.js → vcs-a4sqqhtm.js} +79 -79
  102. package/dist/chunks/{variant-ydyzxvt9.js → vcs-a5wxatek.js} +5 -5
  103. package/dist/chunks/{variant-wwajdw47.js → vcs-a881zpfh.js} +5 -5
  104. package/dist/chunks/{variant-q46hn8y7.js → vcs-ajsx4q8w.js} +22 -22
  105. package/dist/chunks/{variant-j5tgs2bd.js → vcs-avkamz5m.js} +3 -3
  106. package/dist/chunks/{variant-5vk14n4y.js → vcs-axxpgx3s.js} +43 -43
  107. package/dist/chunks/{variant-anftdyhm.js → vcs-b4a4df0m.js} +11 -11
  108. package/dist/chunks/{variant-qbe96k8w.js → vcs-bjfb5pqm.js} +46 -46
  109. package/dist/chunks/{variant-4h4hnd4e.js → vcs-c07ssfks.js} +34 -34
  110. package/dist/chunks/{variant-g458qxns.js → vcs-c3wxzxxt.js} +14 -14
  111. package/dist/chunks/{variant-rj3eygr5.js → vcs-c41wscbt.js} +2 -2
  112. package/dist/chunks/{variant-gnaeqwb5.js → vcs-c86xa7f1.js} +21 -21
  113. package/dist/chunks/{variant-sa8ekw3f.js → vcs-c8ax2afj.js} +2 -2
  114. package/dist/chunks/{variant-dh73we1j.js → vcs-cebgx87p.js} +4 -4
  115. package/dist/chunks/{variant-c83nzkcq.js → vcs-cw35edym.js} +11 -11
  116. package/dist/chunks/{variant-25egksqp.js → vcs-d4ra3eqj.js} +13 -13
  117. package/dist/chunks/{variant-2fym119k.js → vcs-d688a3nx.js} +5 -5
  118. package/dist/chunks/{variant-8wvgy420.js → vcs-d9jtx293.js} +6 -6
  119. package/dist/chunks/{variant-e3af9wez.js → vcs-dc9sh8np.js} +13 -13
  120. package/dist/chunks/{variant-zrj4ggwr.js → vcs-dcw3vkc0.js} +15 -15
  121. package/dist/chunks/{variant-dcf4fjqw.js → vcs-dn8cvzj6.js} +19 -19
  122. package/dist/chunks/{variant-dqxsqydv.js → vcs-dqxsqydv.js} +1 -1
  123. package/dist/chunks/{variant-tn4059qx.js → vcs-drbpyr92.js} +8 -8
  124. package/dist/chunks/{variant-b0kf0xa0.js → vcs-drw8pd7a.js} +15 -15
  125. package/dist/chunks/{variant-4k6jecxr.js → vcs-dtk1yfnn.js} +14 -14
  126. package/dist/chunks/{variant-x5h44zm2.js → vcs-dvzj1xmf.js} +11 -11
  127. package/dist/chunks/{variant-z83m3vzv.js → vcs-e65qf95s.js} +22 -22
  128. package/dist/chunks/{variant-zvx5bk6r.js → vcs-e6xzsx93.js} +9 -9
  129. package/dist/chunks/{variant-d07qx7jm.js → vcs-e7yzyp2p.js} +14 -14
  130. package/dist/chunks/{variant-j7mdmhdf.js → vcs-ec9rznf1.js} +29 -29
  131. package/dist/chunks/{variant-nma959mg.js → vcs-ed1g29hy.js} +3 -3
  132. package/dist/chunks/{variant-t6vsspdg.js → vcs-edrmdtr5.js} +4 -4
  133. package/dist/chunks/{variant-eej6y6fw.js → vcs-eej6y6fw.js} +2 -2
  134. package/dist/chunks/{variant-ef5x83kb.js → vcs-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{variant-t2rq2cag.js → vcs-eghc6w1b.js} +2 -2
  136. package/dist/chunks/{variant-gzach1fq.js → vcs-ekzq6bp1.js} +30 -30
  137. package/dist/chunks/{variant-emdt9526.js → vcs-em3yhwbg.js} +17 -17
  138. package/dist/chunks/{variant-c1fqxshp.js → vcs-es1vcfrp.js} +3 -3
  139. package/dist/chunks/{variant-61wen1ds.js → vcs-ewkyd3xf.js} +1 -1
  140. package/dist/chunks/{variant-bzp9nqs7.js → vcs-f0y3hrmm.js} +11 -11
  141. package/dist/chunks/{variant-fae0sje6.js → vcs-f2rv6855.js} +28 -28
  142. package/dist/chunks/{variant-57zn3dem.js → vcs-f3q0mxg4.js} +15 -15
  143. package/dist/chunks/{variant-vrrq7v3g.js → vcs-fb8ejb83.js} +5 -5
  144. package/dist/chunks/{variant-fgkvfygv.js → vcs-fdjnkqp0.js} +8 -8
  145. package/dist/chunks/{variant-s4sj6whh.js → vcs-fe2tea80.js} +8 -8
  146. package/dist/chunks/{variant-417j8ver.js → vcs-ffjarpe8.js} +4 -4
  147. package/dist/chunks/{variant-mt9y62hx.js → vcs-fphvadrz.js} +11 -11
  148. package/dist/chunks/{variant-a5z0t9z8.js → vcs-fx0f4b0e.js} +23 -23
  149. package/dist/chunks/{variant-5ty8j3q0.js → vcs-fz2076pd.js} +23 -23
  150. package/dist/chunks/{variant-2aw9xj9k.js → vcs-g3et1r9g.js} +11 -11
  151. package/dist/chunks/{variant-s4eqg02t.js → vcs-g7rd7fyk.js} +29 -29
  152. package/dist/chunks/{variant-nwyw8681.js → vcs-g7x33k41.js} +23 -23
  153. package/dist/chunks/{variant-2zhv3vej.js → vcs-g8n2q3ca.js} +3 -3
  154. package/dist/chunks/{variant-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
  155. package/dist/chunks/{variant-tr6kyxq5.js → vcs-ggz4hs15.js} +8 -8
  156. package/dist/chunks/{variant-p714j1h1.js → vcs-gw8g3a8n.js} +30 -30
  157. package/dist/chunks/{variant-2nv99jkq.js → vcs-h3jhj2xa.js} +22 -22
  158. package/dist/chunks/{variant-3kkbx6tf.js → vcs-h4txjgx3.js} +21 -21
  159. package/dist/chunks/{variant-h3wbahvk.js → vcs-h691v7v0.js} +17 -17
  160. package/dist/chunks/{variant-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{variant-h7s7r6s9.js → vcs-h7s7r6s9.js} +2 -2
  162. package/dist/chunks/{variant-b3f8fkhc.js → vcs-hdkng2sj.js} +5 -5
  163. package/dist/chunks/{variant-0srzkfae.js → vcs-hf9zz0cr.js} +45 -45
  164. package/dist/chunks/{variant-hgz4x7wa.js → vcs-hgz4x7wa.js} +1 -1
  165. package/dist/chunks/{variant-zckkafr9.js → vcs-hr1xc807.js} +42 -42
  166. package/dist/chunks/{variant-ca040swv.js → vcs-hsv4me1j.js} +11 -11
  167. package/dist/chunks/{variant-pps6n2xr.js → vcs-hthv5jgd.js} +2 -2
  168. package/dist/chunks/{variant-x3xh85jh.js → vcs-hyr8tqae.js} +24 -24
  169. package/dist/chunks/{variant-my4zabxr.js → vcs-hzrfc1p4.js} +3 -3
  170. package/dist/chunks/{variant-1y595yec.js → vcs-j3k7xgch.js} +18 -18
  171. package/dist/chunks/{variant-mrxxw1se.js → vcs-j9mp9csx.js} +33 -33
  172. package/dist/chunks/{variant-bacj9t34.js → vcs-jjwt9gb5.js} +9 -9
  173. package/dist/chunks/{variant-pnxmjc2w.js → vcs-jk9hw03k.js} +20 -20
  174. package/dist/chunks/{variant-6rjjdzmm.js → vcs-jqrmqyhf.js} +3 -3
  175. package/dist/chunks/{variant-164rrf2t.js → vcs-jspk3b6b.js} +12 -12
  176. package/dist/chunks/{variant-mw080yxy.js → vcs-jwa44fjy.js} +18 -18
  177. package/dist/chunks/{variant-m4ccvv8n.js → vcs-k351gqed.js} +12 -12
  178. package/dist/chunks/{variant-rqk3790x.js → vcs-k5stwhrj.js} +11 -11
  179. package/dist/chunks/{variant-jye61y82.js → vcs-k6pj38bh.js} +15 -15
  180. package/dist/chunks/{variant-4vs8w0pq.js → vcs-kb66r164.js} +9 -9
  181. package/dist/chunks/{variant-etm72n9z.js → vcs-kdezk8ga.js} +1 -1
  182. package/dist/chunks/{variant-hq3c8me3.js → vcs-khmqacep.js} +4 -4
  183. package/dist/chunks/vcs-kvsxepmb.js +26 -0
  184. package/dist/chunks/{variant-y8p3zjbc.js → vcs-kxtwbv1b.js} +6 -6
  185. package/dist/chunks/{variant-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{variant-maspj1v3.js → vcs-maspj1v3.js} +1 -1
  187. package/dist/chunks/{variant-ch7mpmes.js → vcs-mf6tqe69.js} +11 -11
  188. package/dist/chunks/{variant-5w0cy209.js → vcs-mj8fnwpt.js} +34 -34
  189. package/dist/chunks/{variant-r12gpz06.js → vcs-mng7gjgz.js} +23 -23
  190. package/dist/chunks/vcs-mrjwzkn5.js +253 -0
  191. package/dist/chunks/{variant-qkfbcadr.js → vcs-mx61yyya.js} +37 -37
  192. package/dist/chunks/{variant-addxnjmp.js → vcs-mxvxcxwy.js} +4 -4
  193. package/dist/chunks/{variant-0bwnrbmb.js → vcs-mz89zh3j.js} +5 -5
  194. package/dist/chunks/{variant-wb6cm1je.js → vcs-nd2cwz73.js} +25 -25
  195. package/dist/chunks/{variant-evx2dshd.js → vcs-npb06z3t.js} +26 -26
  196. package/dist/chunks/{variant-w67pepdb.js → vcs-nr27fqtv.js} +13 -13
  197. package/dist/chunks/{variant-10mtcnk4.js → vcs-ntkdha38.js} +8 -8
  198. package/dist/chunks/{variant-n1n192bv.js → vcs-nxe4pcap.js} +4 -4
  199. package/dist/chunks/{variant-m3pjsdz3.js → vcs-p6p0ds8a.js} +4 -4
  200. package/dist/chunks/{variant-3cqwnyj9.js → vcs-p8x5jtpv.js} +8 -8
  201. package/dist/chunks/{variant-g0445xdp.js → vcs-pa8pe2x7.js} +8 -8
  202. package/dist/chunks/{variant-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{variant-pknna89w.js → vcs-pknna89w.js} +1 -1
  204. package/dist/chunks/{variant-73kdj4zj.js → vcs-pn3cc07s.js} +8 -8
  205. package/dist/chunks/{variant-s8d2arj4.js → vcs-pp3afwvg.js} +25 -25
  206. package/dist/chunks/{variant-m4ncfv33.js → vcs-prg9xvqw.js} +11 -11
  207. package/dist/chunks/{variant-5d54brzx.js → vcs-ps8k6c3y.js} +18 -18
  208. package/dist/chunks/{variant-bzhbk902.js → vcs-pzfxmw7k.js} +8 -8
  209. package/dist/chunks/{variant-q0xm7vwc.js → vcs-q0xm7vwc.js} +2 -2
  210. package/dist/chunks/{variant-bgs9y14h.js → vcs-q6yya7b3.js} +5 -5
  211. package/dist/chunks/vcs-qc068m1q.js +18 -0
  212. package/dist/chunks/{variant-wt3f0p64.js → vcs-qjh2dgdf.js} +91 -91
  213. package/dist/chunks/{variant-dhb2hta4.js → vcs-qjx1ax0j.js} +5 -5
  214. package/dist/chunks/{variant-qnc92qwc.js → vcs-qnc92qwc.js} +1 -1
  215. package/dist/chunks/{variant-qsdy395h.js → vcs-qsdy395h.js} +1 -1
  216. package/dist/chunks/{variant-gmwt9js6.js → vcs-qvdcjn92.js} +12 -12
  217. package/dist/chunks/{variant-p2ktkp0q.js → vcs-qwhbyzhp.js} +9 -9
  218. package/dist/chunks/{variant-749xanmk.js → vcs-r18p0vf7.js} +12 -12
  219. package/dist/chunks/{variant-rdw6cm16.js → vcs-rdw6cm16.js} +1 -1
  220. package/dist/chunks/{variant-31w88q35.js → vcs-s14a018q.js} +18 -18
  221. package/dist/chunks/{variant-etxp1wm4.js → vcs-sfsey46c.js} +22 -22
  222. package/dist/chunks/{variant-5r4g8ps1.js → vcs-shd9e764.js} +13 -13
  223. package/dist/chunks/{variant-j0tnyyx5.js → vcs-shhyvxrq.js} +13 -13
  224. package/dist/chunks/{variant-nq23yz5h.js → vcs-snpb5q77.js} +13 -13
  225. package/dist/chunks/{variant-dkpr89z5.js → vcs-sragp8dr.js} +5 -5
  226. package/dist/chunks/{variant-06vq0eq9.js → vcs-srv0gx85.js} +14 -14
  227. package/dist/chunks/{variant-321x2wtd.js → vcs-sxzvkvgj.js} +6 -6
  228. package/dist/chunks/{variant-syv4x271.js → vcs-syv4x271.js} +1 -1
  229. package/dist/chunks/{variant-3szsmhsx.js → vcs-t781ex0h.js} +5 -5
  230. package/dist/chunks/{variant-k0fahbmq.js → vcs-tam2w0b0.js} +18 -18
  231. package/dist/chunks/{variant-qphhp7va.js → vcs-tapzysky.js} +22 -22
  232. package/dist/chunks/{variant-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{variant-xmas6527.js → vcs-tc4g7eq4.js} +26 -26
  234. package/dist/chunks/{variant-tcezcvh9.js → vcs-tcezcvh9.js} +1 -1
  235. package/dist/chunks/{variant-tdstcens.js → vcs-tdstcens.js} +1 -1
  236. package/dist/chunks/{variant-dx17221d.js → vcs-tf45wne3.js} +13 -13
  237. package/dist/chunks/{variant-rert0e01.js → vcs-tkb22qbm.js} +2 -2
  238. package/dist/chunks/{variant-tm0kqsz3.js → vcs-tm0kqsz3.js} +1 -1
  239. package/dist/chunks/{variant-tmarsfqx.js → vcs-tmwxzkc5.js} +13 -13
  240. package/dist/chunks/{variant-mkpmjf0g.js → vcs-trtty4av.js} +21 -21
  241. package/dist/chunks/{variant-s2z0d44b.js → vcs-txm3e8qz.js} +4 -4
  242. package/dist/chunks/{variant-tyytaxap.js → vcs-tyytaxap.js} +1 -1
  243. package/dist/chunks/{variant-jc7eq68k.js → vcs-v1c3gq9j.js} +40 -40
  244. package/dist/chunks/{variant-rq27cg8d.js → vcs-v2z9amn0.js} +3 -3
  245. package/dist/chunks/{variant-v7p4zvkq.js → vcs-v7p4zvkq.js} +2 -2
  246. package/dist/chunks/{variant-4x57gp4x.js → vcs-v854f2p9.js} +54 -54
  247. package/dist/chunks/{variant-veqvce7d.js → vcs-veqvce7d.js} +1 -1
  248. package/dist/chunks/{variant-drnf6xwf.js → vcs-vjjaysxc.js} +2 -2
  249. package/dist/chunks/{variant-06wyv3z9.js → vcs-vpycaasy.js} +18 -18
  250. package/dist/chunks/{variant-vzs5sf6e.js → vcs-vzs5sf6e.js} +1 -1
  251. package/dist/chunks/{variant-ywfskbrg.js → vcs-w14c85af.js} +22 -22
  252. package/dist/chunks/{variant-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{variant-2aw1cfbe.js → vcs-w5a76q94.js} +35 -35
  254. package/dist/chunks/{variant-n0p1tcxy.js → vcs-wb2x3bfx.js} +22 -22
  255. package/dist/chunks/{variant-4gh28w69.js → vcs-wb44jxr9.js} +14 -14
  256. package/dist/chunks/{variant-wd87259q.js → vcs-wd87259q.js} +1 -1
  257. package/dist/chunks/{variant-ymcr3d56.js → vcs-wp94metk.js} +48 -48
  258. package/dist/chunks/{variant-w1s09g3c.js → vcs-x04y3h7q.js} +23 -23
  259. package/dist/chunks/{variant-rwdpd5ae.js → vcs-x640gzss.js} +25 -25
  260. package/dist/chunks/{variant-vr36gzhv.js → vcs-xc6sx546.js} +11 -11
  261. package/dist/chunks/{variant-v0es1rhs.js → vcs-xecxzrdp.js} +2 -2
  262. package/dist/chunks/{variant-drwq78ky.js → vcs-xfkkasph.js} +4 -4
  263. package/dist/chunks/{variant-7gra0nqm.js → vcs-xhsv9n96.js} +12 -12
  264. package/dist/chunks/{variant-ke252z1w.js → vcs-xn2dpj90.js} +18 -18
  265. package/dist/chunks/{variant-2mv2gkja.js → vcs-xsqeaj90.js} +173 -173
  266. package/dist/chunks/{variant-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{variant-y71avatq.js → vcs-y71avatq.js} +1 -1
  268. package/dist/chunks/{variant-vrd205ec.js → vcs-ycdqq8zj.js} +26 -26
  269. package/dist/chunks/{variant-c87fn2jz.js → vcs-yd2v78na.js} +14 -14
  270. package/dist/chunks/{variant-5dpxwsmj.js → vcs-ymsb3n01.js} +14 -14
  271. package/dist/chunks/{variant-r8xr0va3.js → vcs-yp2x3t23.js} +4 -4
  272. package/dist/chunks/{variant-ght205zk.js → vcs-yq797vpt.js} +321 -321
  273. package/dist/chunks/{variant-bjx1sjef.js → vcs-ywt8jp22.js} +9 -9
  274. package/dist/chunks/{variant-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{variant-kpqbax79.js → vcs-z2qhp8mt.js} +9 -9
  276. package/dist/chunks/{variant-avfmyfvx.js → vcs-z4zy5fwe.js} +35 -35
  277. package/dist/chunks/{variant-xwes4szy.js → vcs-z67m2mck.js} +9 -9
  278. package/dist/chunks/{variant-dvyvqrwn.js → vcs-z7g9232g.js} +15 -15
  279. package/dist/chunks/{variant-c2w3ggyn.js → vcs-z7k5sp21.js} +17 -17
  280. package/dist/chunks/{variant-e00ms20h.js → vcs-zh36sqcy.js} +32 -32
  281. package/dist/chunks/{variant-zr2ceqn5.js → vcs-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{variant-5scqafr6.js → vcs-zwjz4pbc.js} +3 -3
  283. package/dist/chunks/{variant-zxq2ej10.js → vcs-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +7 -7
  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 +84 -84
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +101 -101
  292. package/dist/config/plugin/agent.js +120 -120
  293. package/dist/config/plugin/command.js +209 -209
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +136 -136
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +119 -119
  298. package/dist/config/plugin/image.js +118 -118
  299. package/dist/config/plugin/instruction.js +92 -92
  300. package/dist/config/plugin/location-watcher.js +118 -118
  301. package/dist/config/plugin/mcp.js +127 -127
  302. package/dist/config/plugin/policy.js +119 -119
  303. package/dist/config/plugin/provider.js +118 -118
  304. package/dist/config/plugin/reference.js +120 -120
  305. package/dist/config/plugin/shell.js +120 -120
  306. package/dist/config/plugin/skill-file.js +104 -104
  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 +121 -121
  310. package/dist/config/plugin/tool-output.js +119 -119
  311. package/dist/config/plugin/websearch.js +119 -119
  312. package/dist/config/plugin/worktree.js +120 -120
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +123 -123
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +83 -83
  318. package/dist/database/database.js +68 -68
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  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 +14 -14
  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/20261007190000_azure_cli_external_credential.js +1 -1
  384. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  385. package/dist/database/migration.gen.js +51 -51
  386. package/dist/database/migration.js +53 -53
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +78 -78
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +368 -368
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +1 -1
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +95 -95
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +97 -97
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +3 -3
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +76 -76
  410. package/dist/file-access.js +106 -106
  411. package/dist/file-mutation.js +96 -96
  412. package/dist/file-retention.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +220 -220
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +101 -101
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +104 -104
  424. package/dist/form.js +82 -82
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +89 -89
  427. package/dist/generate.js +105 -105
  428. package/dist/git.js +10 -10
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +101 -101
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +4 -4
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +359 -359
  452. package/dist/instruction-discovery.js +85 -85
  453. package/dist/instructions/builtins.js +89 -89
  454. package/dist/instructions/index.js +3 -3
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +87 -87
  457. package/dist/job.js +80 -80
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +73 -73
  460. package/dist/location-activity.js +136 -136
  461. package/dist/location-lifecycle.js +109 -109
  462. package/dist/location-service-map.js +88 -88
  463. package/dist/location-services.js +356 -356
  464. package/dist/location.js +83 -83
  465. package/dist/managed-policy.js +8 -8
  466. package/dist/mcp/client.js +93 -93
  467. package/dist/mcp/index.js +105 -105
  468. package/dist/mcp/instructions.js +131 -131
  469. package/dist/mcp/oauth.js +80 -80
  470. package/dist/mcp/stdio.js +92 -92
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +101 -101
  473. package/dist/model-resolver.js +100 -100
  474. package/dist/model.js +100 -100
  475. package/dist/models-dev.js +105 -105
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +84 -84
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +111 -111
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +84 -84
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +77 -77
  485. package/dist/plugin/agent.js +78 -78
  486. package/dist/plugin/command.js +104 -104
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +213 -213
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +331 -331
  492. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  493. package/dist/plugin/models-dev.js +98 -98
  494. package/dist/plugin/module.js +119 -119
  495. package/dist/plugin/optimize.js +4 -4
  496. package/dist/plugin/plan.js +104 -104
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  499. package/dist/plugin/provider/azure.js +118 -118
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/chatgpt.js +118 -118
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +114 -114
  506. package/dist/plugin/provider/databricks.js +1 -1
  507. package/dist/plugin/provider/digitalocean.js +95 -95
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/github-copilot.js +97 -97
  511. package/dist/plugin/provider/gitlab.js +95 -95
  512. package/dist/plugin/provider/google-vertex.js +115 -115
  513. package/dist/plugin/provider/kilo.js +1 -1
  514. package/dist/plugin/provider/llmgateway.js +80 -80
  515. package/dist/plugin/provider/lmstudio.js +127 -127
  516. package/dist/plugin/provider/local.js +124 -124
  517. package/dist/plugin/provider/modal.js +94 -94
  518. package/dist/plugin/provider/neon.js +1 -1
  519. package/dist/plugin/provider/nvidia.js +1 -1
  520. package/dist/plugin/provider/ollama.js +127 -127
  521. package/dist/plugin/provider/openai.js +120 -120
  522. package/dist/plugin/provider/opencode.js +99 -99
  523. package/dist/plugin/provider/openrouter.js +93 -93
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +81 -81
  526. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  527. package/dist/plugin/provider/sap-ai-core.js +93 -93
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  530. package/dist/plugin/provider/vercel.js +92 -92
  531. package/dist/plugin/provider/vllm.js +127 -127
  532. package/dist/plugin/provider/xai.js +93 -93
  533. package/dist/plugin/provider/zenmux.js +1 -1
  534. package/dist/plugin/provider.js +169 -169
  535. package/dist/plugin/sdk.js +78 -78
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +136 -136
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +350 -350
  540. package/dist/plugin/tool-input-repair.js +4 -4
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/vcs/git.js +88 -88
  543. package/dist/plugin/vcs/hg.js +88 -88
  544. package/dist/plugin/verbosity.js +95 -95
  545. package/dist/plugin/warming.js +116 -116
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +6 -6
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin/websearch/tinyfish.js +8 -8
  553. package/dist/plugin.js +218 -218
  554. package/dist/project/schema.js +2 -2
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +82 -82
  557. package/dist/provider.js +99 -99
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +95 -95
  561. package/dist/reference/instructions.js +91 -91
  562. package/dist/reference.js +93 -93
  563. package/dist/repository-cache.js +83 -83
  564. package/dist/repository.js +1 -1
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +99 -99
  567. package/dist/rpc.js +88 -88
  568. package/dist/schema.js +1 -1
  569. package/dist/session/affinity.js +1 -1
  570. package/dist/session/command.js +76 -76
  571. package/dist/session/compaction.js +137 -137
  572. package/dist/session/context.js +155 -155
  573. package/dist/session/diff.js +90 -90
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +5 -5
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +219 -219
  578. package/dist/session/execution.js +129 -129
  579. package/dist/session/generate.js +154 -154
  580. package/dist/session/history.js +13 -13
  581. package/dist/session/inbox.js +90 -90
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +81 -81
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +99 -99
  586. package/dist/session/message-updater.js +2 -2
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +122 -122
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +131 -131
  591. package/dist/session/projector.js +88 -88
  592. package/dist/session/prompt.js +107 -107
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +92 -92
  595. package/dist/session/run-coordinator.js +3 -3
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +226 -226
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +100 -100
  600. package/dist/session/runner/publish-llm-event.js +115 -115
  601. package/dist/session/runner/retry.js +4 -4
  602. package/dist/session/runner/step.js +127 -127
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +5 -5
  605. package/dist/session/session.js +166 -166
  606. package/dist/session/shell.js +132 -132
  607. package/dist/session/skill.js +105 -105
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +75 -75
  610. package/dist/session/store.js +89 -89
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +203 -203
  613. package/dist/session/system-prompt.js +3 -3
  614. package/dist/session/title.js +159 -159
  615. package/dist/session/to-session-error.js +113 -113
  616. package/dist/session/transfer.js +212 -212
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +213 -213
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +13 -13
  623. package/dist/shell.js +132 -132
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +107 -107
  626. package/dist/skill.js +112 -112
  627. package/dist/snapshot.js +95 -95
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +126 -126
  632. package/dist/tool/plugin/edit.js +122 -122
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +120 -120
  635. package/dist/tool/plugin/grep.js +126 -126
  636. package/dist/tool/plugin/mcp-resource.js +119 -119
  637. package/dist/tool/plugin/opencode.js +111 -111
  638. package/dist/tool/plugin/patch.js +124 -124
  639. package/dist/tool/plugin/question.js +105 -105
  640. package/dist/tool/plugin/read.js +127 -127
  641. package/dist/tool/plugin/shell.js +208 -208
  642. package/dist/tool/plugin/skill.js +115 -115
  643. package/dist/tool/plugin/subagent.js +208 -208
  644. package/dist/tool/plugin/webfetch.js +114 -114
  645. package/dist/tool/plugin/websearch.js +116 -116
  646. package/dist/tool/plugin/write.js +124 -124
  647. package/dist/tool/read-filesystem.js +102 -102
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +7 -7
  650. package/dist/tool.js +12 -12
  651. package/dist/util/error-summary.js +1 -1
  652. package/dist/util/error.js +1 -1
  653. package/dist/util/git-executable.js +2 -2
  654. package/dist/util/iife.js +1 -1
  655. package/dist/util/lazy.js +1 -1
  656. package/dist/util/slug.js +1 -1
  657. package/dist/util/token.js +1 -1
  658. package/dist/util/which.js +1 -1
  659. package/dist/util/wildcard.js +1 -1
  660. package/dist/v1/config/agent.js +5 -5
  661. package/dist/v1/config/command.js +3 -3
  662. package/dist/v1/config/error.js +2 -2
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +94 -94
  665. package/dist/v1/config/permission.js +3 -3
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/variant.js +95 -95
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +91 -91
  672. package/dist/websearch.js +84 -84
  673. package/dist/wellknown/plugin.js +78 -78
  674. package/dist/wellknown.js +81 -81
  675. package/dist/workspace/driver.js +5 -5
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +82 -82
  678. package/dist/worktree/directory.js +2 -2
  679. package/dist/worktree/git.js +10 -10
  680. package/dist/worktree/sql.js +5 -5
  681. package/dist/worktree/strategies.js +91 -91
  682. package/dist/worktree.js +98 -98
  683. package/package.json +8 -8
  684. package/dist/chunks/variant-9vbfts9h.js +0 -26
  685. package/dist/chunks/variant-dxj72tfx.js +0 -18
  686. package/dist/chunks/variant-wa7s2n1w.js +0 -253
  687. /package/dist/chunks/{variant-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
  688. /package/dist/chunks/{variant-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
  689. /package/dist/chunks/{variant-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
  690. /package/dist/chunks/{variant-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
  691. /package/dist/chunks/{variant-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
  692. /package/dist/chunks/{variant-24dcb14g.js → vcs-24dcb14g.js} +0 -0
  693. /package/dist/chunks/{variant-2710q6r3.js → vcs-2710q6r3.js} +0 -0
  694. /package/dist/chunks/{variant-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
  695. /package/dist/chunks/{variant-2bv980vf.js → vcs-2bv980vf.js} +0 -0
  696. /package/dist/chunks/{variant-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{variant-359p4xyc.js → vcs-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{variant-3asan66x.js → vcs-3asan66x.js} +0 -0
  699. /package/dist/chunks/{variant-3t0ybcrp.js → vcs-3t0ybcrp.js} +0 -0
  700. /package/dist/chunks/{variant-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{variant-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{variant-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{variant-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{variant-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{variant-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{variant-53557ph1.js → vcs-53557ph1.js} +0 -0
  707. /package/dist/chunks/{variant-550bvhaj.js → vcs-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{variant-5qd3pb7m.js → vcs-5qd3pb7m.js} +0 -0
  709. /package/dist/chunks/{variant-6prwharc.js → vcs-6prwharc.js} +0 -0
  710. /package/dist/chunks/{variant-6q2bdcd1.js → vcs-6q2bdcd1.js} +0 -0
  711. /package/dist/chunks/{variant-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{variant-7m9af43g.js → vcs-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{variant-822emrt2.js → vcs-822emrt2.js} +0 -0
  714. /package/dist/chunks/{variant-84wd9syh.js → vcs-84wd9syh.js} +0 -0
  715. /package/dist/chunks/{variant-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{variant-8n3pysct.js → vcs-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{variant-8wj87zfr.js → vcs-8wj87zfr.js} +0 -0
  718. /package/dist/chunks/{variant-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{variant-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{variant-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{variant-af5trqkr.js → vcs-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{variant-afrmfg78.js → vcs-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{variant-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{variant-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{variant-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{variant-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{variant-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{variant-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{variant-d9fn303g.js → vcs-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{variant-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{variant-dajrwvna.js → vcs-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{variant-dap0rakb.js → vcs-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{variant-df08tz66.js → vcs-df08tz66.js} +0 -0
  734. /package/dist/chunks/{variant-dy18nga0.js → vcs-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{variant-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{variant-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{variant-ec1grn59.js → vcs-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{variant-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{variant-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{variant-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{variant-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{variant-faypxj3z.js → vcs-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{variant-fd410y7t.js → vcs-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{variant-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{variant-g86h250q.js → vcs-g86h250q.js} +0 -0
  746. /package/dist/chunks/{variant-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{variant-gftt206x.js → vcs-gftt206x.js} +0 -0
  748. /package/dist/chunks/{variant-hcxmzztb.js → vcs-hcxmzztb.js} +0 -0
  749. /package/dist/chunks/{variant-hk9envan.js → vcs-hk9envan.js} +0 -0
  750. /package/dist/chunks/{variant-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{variant-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{variant-jjkms2e6.js → vcs-jjkms2e6.js} +0 -0
  753. /package/dist/chunks/{variant-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{variant-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{variant-jze0r7bz.js → vcs-jze0r7bz.js} +0 -0
  756. /package/dist/chunks/{variant-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{variant-m18g726c.js → vcs-m18g726c.js} +0 -0
  758. /package/dist/chunks/{variant-mp448xyj.js → vcs-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{variant-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{variant-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{variant-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{variant-njntx4h6.js → vcs-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{variant-pkyv6v7h.js → vcs-pkyv6v7h.js} +0 -0
  764. /package/dist/chunks/{variant-pyv0edze.js → vcs-pyv0edze.js} +0 -0
  765. /package/dist/chunks/{variant-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
  766. /package/dist/chunks/{variant-q74kybfr.js → vcs-q74kybfr.js} +0 -0
  767. /package/dist/chunks/{variant-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
  768. /package/dist/chunks/{variant-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
  769. /package/dist/chunks/{variant-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
  770. /package/dist/chunks/{variant-qg3g05ea.js → vcs-qg3g05ea.js} +0 -0
  771. /package/dist/chunks/{variant-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{variant-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{variant-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{variant-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
  775. /package/dist/chunks/{variant-ve7vex1e.js → vcs-ve7vex1e.js} +0 -0
  776. /package/dist/chunks/{variant-w803qqfp.js → vcs-w803qqfp.js} +0 -0
  777. /package/dist/chunks/{variant-wc3fc9cn.js → vcs-wc3fc9cn.js} +0 -0
  778. /package/dist/chunks/{variant-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
  779. /package/dist/chunks/{variant-wjj7prxr.js → vcs-wjj7prxr.js} +0 -0
  780. /package/dist/chunks/{variant-wtztk69x.js → vcs-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{variant-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{variant-x61499pn.js → vcs-x61499pn.js} +0 -0
  783. /package/dist/chunks/{variant-y44na4kk.js → vcs-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{variant-y8f7s663.js → vcs-y8f7s663.js} +0 -0
  785. /package/dist/chunks/{variant-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{variant-ym463w8f.js → vcs-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{variant-z5v4ffb3.js → vcs-z5v4ffb3.js} +0 -0
  788. /package/dist/chunks/{variant-z9919s4g.js → vcs-z9919s4g.js} +0 -0
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./variant-749xanmk.js";
2
+ Service83,
3
+ node87
4
+ } from "./vcs-r18p0vf7.js";
5
5
  import {
6
6
  __export
7
- } from "./variant-9rqn6x4v.js";
7
+ } from "./vcs-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -16,17 +16,17 @@ __export(exports_form, {
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID15,
20
- Info: () => Info25,
19
+ ID: () => ID13,
20
+ Info: () => Info23,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
23
  NotFoundError: () => NotFoundError10,
24
24
  Reply: () => Reply3,
25
- Service: () => Service79,
25
+ Service: () => Service71,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
- layer: () => layer27,
29
- node: () => node83,
28
+ layer: () => layer26,
29
+ node: () => node73,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
@@ -35,8 +35,8 @@ import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  import { Event as Event19 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID15 = Form.ID;
39
- var Info25 = Form.Info;
38
+ var ID13 = Form.ID;
39
+ var Info23 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
@@ -45,7 +45,7 @@ var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
47
  class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID15
48
+ id: ID13
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: ID13
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: ID13
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: ID13,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,10 +79,10 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service79 extends Context.Service()("@opencode/Form") {
82
+ class Service71 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer27 = Layer.effect(Service79, Effect.gen(function* () {
85
- const bus = yield* Service84;
84
+ var layer26 = Layer.effect(Service71, Effect.gen(function* () {
85
+ const bus = yield* Service83;
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,
@@ -90,7 +90,7 @@ var layer27 = Layer.effect(Service79, Effect.gen(function* () {
90
90
  });
91
91
  const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ 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 ?? ID13.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 layer27 = Layer.effect(Service79, 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 Service79.of({ create, ask, get, list, state, reply, cancel, close });
165
+ return Service71.of({ create, ask, get, list, state, reply, cancel, close });
166
166
  }));
167
- var node83 = makeLocationNode({ service: Service79, layer: layer27, deps: [node88] });
167
+ var node73 = makeLocationNode({ service: Service71, layer: layer26, deps: [node87] });
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, Info25, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service79, layer27, node83, validateAnswer2, validateFields2, exports_form, Event19 };
319
+ export { ID13, Info23, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service71, layer26, node73, validateAnswer2, validateFields2, exports_form, Event19 };
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./variant-z5v4ffb3.js";
3
+ } from "./vcs-z5v4ffb3.js";
4
4
  import {
5
5
  Service81
6
- } from "./variant-pps6n2xr.js";
6
+ } from "./vcs-hthv5jgd.js";
7
7
  import {
8
- Service37
9
- } from "./variant-y4yg6ba5.js";
8
+ Service51
9
+ } from "./vcs-6fzpscvt.js";
10
10
  import {
11
- Service47
12
- } from "./variant-hxg8gej6.js";
11
+ Service25
12
+ } from "./vcs-6r0vq68t.js";
13
13
  import {
14
14
  observe2
15
- } from "./variant-qsdy395h.js";
15
+ } from "./vcs-qsdy395h.js";
16
16
  import {
17
17
  __export
18
- } from "./variant-9rqn6x4v.js";
18
+ } from "./vcs-9rqn6x4v.js";
19
19
 
20
20
  // src/config/plugin/worktree.ts
21
21
  var exports_worktree = {};
22
22
  __export(exports_worktree, {
23
23
  ConfigWorktreePlugin: () => exports_worktree,
24
- Plugin: () => Plugin35
24
+ Plugin: () => Plugin20
25
25
  });
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { Effect } from "effect";
28
28
  import path from "path";
29
29
  import { Global } from "@opencode/util/global";
30
- var Plugin35 = define({
30
+ var Plugin20 = define({
31
31
  id: "opencode.config.worktree",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service37;
33
+ const config = yield* Service51;
34
34
  const location = yield* Service81;
35
35
  const global = yield* Global.Service;
36
- const worktrees = yield* Service47;
36
+ const worktrees = yield* Service25;
37
37
  const loaded = yield* observe2(config, ctx.event, worktrees.reload());
38
38
  yield* worktrees.transform((editor) => {
39
39
  for (const entry of loaded.entries) {
@@ -48,4 +48,4 @@ var Plugin35 = define({
48
48
  })
49
49
  });
50
50
 
51
- export { Plugin35, exports_worktree };
51
+ export { Plugin20, exports_worktree };
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service62,
3
- node65
4
- } from "./variant-0srzkfae.js";
2
+ Service57,
3
+ node59
4
+ } from "./vcs-hf9zz0cr.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./variant-my4zabxr.js";
7
+ } from "./vcs-hzrfc1p4.js";
8
8
  import {
9
9
  __export
10
- } from "./variant-9rqn6x4v.js";
10
+ } from "./vcs-9rqn6x4v.js";
11
11
 
12
12
  // src/session/runner/model.ts
13
13
  var exports_model = {};
14
14
  __export(exports_model, {
15
15
  ModelNotSelectedError: () => ModelNotSelectedError2,
16
16
  ModelUnavailableError: () => ModelUnavailableError2,
17
- Service: () => Service60,
17
+ Service: () => Service41,
18
18
  SessionRunnerModel: () => exports_model,
19
- node: () => node63,
19
+ node: () => node43,
20
20
  resolved: () => resolved2
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
39
39
  }
40
40
  }
41
41
 
42
- class Service60 extends Context.Service()("@opencode/SessionRunnerModel") {
42
+ class Service41 extends Context.Service()("@opencode/SessionRunnerModel") {
43
43
  }
44
44
  var resolved2 = (model, options) => ({
45
45
  model,
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
54
54
  compaction: options.compaction,
55
55
  transport: options.transport
56
56
  });
57
- var layer = Layer.effect(Service60, Effect.gen(function* () {
58
- const resolver = yield* Service62;
59
- return Service60.of({
57
+ var layer = Layer.effect(Service41, Effect.gen(function* () {
58
+ const resolver = yield* Service57;
59
+ return Service41.of({
60
60
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
61
61
  if (!session.model) {
62
62
  const resolved = yield* resolver.resolve();
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
74
74
  })
75
75
  });
76
76
  }));
77
- var node63 = makeLocationNode({ service: Service60, layer, deps: [node65] });
77
+ var node43 = makeLocationNode({ service: Service41, layer, deps: [node59] });
78
78
 
79
- export { ModelNotSelectedError2, ModelUnavailableError2, Service60, resolved2, node63, exports_model };
79
+ export { ModelNotSelectedError2, ModelUnavailableError2, Service41, resolved2, node43, exports_model };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service37
3
- } from "./variant-y4yg6ba5.js";
2
+ Service51
3
+ } from "./vcs-6fzpscvt.js";
4
4
  import {
5
- Service33
6
- } from "./variant-zckkafr9.js";
5
+ Service43
6
+ } from "./vcs-hr1xc807.js";
7
7
  import {
8
8
  __export
9
- } from "./variant-9rqn6x4v.js";
9
+ } from "./vcs-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
- var exports_mcp2 = {};
13
- __export(exports_mcp2, {
14
- ConfigMcpPlugin: () => exports_mcp2,
15
- Plugin: () => Plugin27,
12
+ var exports_mcp = {};
13
+ __export(exports_mcp, {
14
+ ConfigMcpPlugin: () => exports_mcp,
15
+ Plugin: () => Plugin22,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin27 = define({
20
+ var Plugin22 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe());
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service37;
28
- const mcp = yield* Service33;
27
+ const config = yield* Service51;
28
+ const mcp = yield* Service43;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin27, register2, exports_mcp2 };
49
+ export { Plugin22, register2, exports_mcp };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./variant-ymcr3d56.js";
3
+ } from "./vcs-wp94metk.js";
4
4
  import {
5
5
  __export
6
- } from "./variant-9rqn6x4v.js";
6
+ } from "./vcs-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/plan.ts
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin16
12
+ Plugin: () => Plugin42
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode/ai";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin16 = define({
32
+ var Plugin42 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
105
105
  }, undefined);
106
106
  }
107
107
 
108
- export { Plugin16, exports_plan };
108
+ export { Plugin42, exports_plan };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  fromPromise2
3
- } from "./variant-zr2ceqn5.js";
3
+ } from "./vcs-zr2ceqn5.js";
4
4
  import {
5
- Service38
6
- } from "./variant-3r29e2k8.js";
5
+ Service52
6
+ } from "./vcs-42wenp1t.js";
7
7
  import {
8
- Service37
9
- } from "./variant-y4yg6ba5.js";
8
+ Service51
9
+ } from "./vcs-6fzpscvt.js";
10
10
  import {
11
- Service21,
11
+ Service14,
12
12
  statements2,
13
13
  decision2
14
- } from "./variant-r0ngwdtc.js";
14
+ } from "./vcs-7t1q934f.js";
15
15
  import {
16
16
  __export
17
- } from "./variant-9rqn6x4v.js";
17
+ } from "./vcs-9rqn6x4v.js";
18
18
 
19
19
  // src/plugin/module.ts
20
20
  var exports_module = {};
21
21
  __export(exports_module, {
22
22
  LoadError: () => LoadError2,
23
23
  PluginModule: () => exports_module,
24
- make: () => make3
24
+ make: () => make4
25
25
  });
26
26
  import { Host } from "@opencode/plugin/host";
27
27
  import { createPluginSources } from "@opencode/plugin/source";
@@ -30,10 +30,10 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
30
30
  import path from "path";
31
31
  import { stat } from "node:fs/promises";
32
32
  import { fileURLToPath, pathToFileURL } from "url";
33
- var make3 = Effect.fn("PluginModule.make")(function* () {
34
- const config = yield* Service37;
35
- const managed = yield* Service21;
36
- const watcher = yield* Service38;
33
+ var make4 = Effect.fn("PluginModule.make")(function* () {
34
+ const config = yield* Service51;
35
+ const managed = yield* Service14;
36
+ const watcher = yield* Service52;
37
37
  const scope = yield* Effect.scope;
38
38
  const runPromise = yield* FiberSet.makeRuntimePromise();
39
39
  const changes = yield* PubSub.unbounded();
@@ -118,4 +118,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
118
118
  };
119
119
  });
120
120
 
121
- export { make3, LoadError2, exports_module };
121
+ export { make4, LoadError2, exports_module };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  __export
3
- } from "./variant-9rqn6x4v.js";
3
+ } from "./vcs-9rqn6x4v.js";
4
4
 
5
5
  // src/instance/service.ts
6
6
  var exports_service2 = {};
7
7
  __export(exports_service2, {
8
8
  Instance: () => exports_service2,
9
- Service: () => Service61,
10
- node: () => node64
9
+ Service: () => Service42,
10
+ node: () => node44
11
11
  });
12
12
  import { Context } from "effect";
13
13
  import { Node } from "@opencode/util/effect/app-node";
14
14
  import { LayerNode } from "@opencode/util/effect/layer-node";
15
15
 
16
- class Service61 extends Context.Service()("@opencode/Instance") {
16
+ class Service42 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node64 = LayerNode.unbound(Service61, Node.tags.values.global);
18
+ var node44 = LayerNode.unbound(Service42, Node.tags.values.global);
19
19
 
20
- export { Service61, node64, exports_service2 };
20
+ export { Service42, node44, exports_service2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./variant-9rqn6x4v.js";
3
+ } from "./vcs-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/web.ts
6
6
  var exports_web = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
- ID13
3
- } from "./variant-vrd205ec.js";
2
+ ID11
3
+ } from "./vcs-ycdqq8zj.js";
4
4
  import {
5
5
  loadSDKFactory2
6
- } from "./variant-6q2bdcd1.js";
6
+ } from "./vcs-6q2bdcd1.js";
7
7
 
8
8
  // src/plugin/provider/sap-ai-core.ts
9
9
  import { Effect } from "effect";
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
14
14
  effect: Effect.fn(function* (ctx) {
15
15
  const npm = yield* Npm.Service;
16
16
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
17
- if (evt.model.providerID !== ID13.make("sap-ai-core"))
17
+ if (evt.model.providerID !== ID11.make("sap-ai-core"))
18
18
  return;
19
19
  const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
20
20
  if (serviceKey && !process.env.AICORE_SERVICE_KEY)
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
25
25
  evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
26
26
  }));
27
27
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
28
- if (evt.model.providerID !== ID13.make("sap-ai-core"))
28
+ if (evt.model.providerID !== ID11.make("sap-ai-core"))
29
29
  return;
30
30
  evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
31
31
  }));
@@ -1,17 +1,17 @@
1
1
  import {
2
- Service84
3
- } from "./variant-749xanmk.js";
2
+ Service83
3
+ } from "./vcs-r18p0vf7.js";
4
4
  import {
5
- ID16,
5
+ ID14,
6
6
  Event20,
7
- Service80
8
- } from "./variant-z744vbe2.js";
7
+ Service72
8
+ } from "./vcs-2f2kky6g.js";
9
9
  import {
10
- ID13
11
- } from "./variant-vrd205ec.js";
10
+ ID11
11
+ } from "./vcs-ycdqq8zj.js";
12
12
  import {
13
13
  configuredSettings2
14
- } from "./variant-p2e2ffh1.js";
14
+ } from "./vcs-3y45vew5.js";
15
15
 
16
16
  // src/plugin/provider/google-vertex.ts
17
17
  import { Effect, Option, Schema, Stream } from "effect";
@@ -41,8 +41,8 @@ var GoogleVertexPlugin2 = define({
41
41
  id: "opencode.provider.google.vertex",
42
42
  effect: Effect.fn(function* (ctx) {
43
43
  const fs = yield* FSUtil.Service;
44
- const credentials = yield* Service80;
45
- const bus = yield* Service84;
44
+ const credentials = yield* Service72;
45
+ const bus = yield* Service83;
46
46
  const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
47
47
  return;
48
48
  }));
@@ -51,7 +51,7 @@ var GoogleVertexPlugin2 = define({
51
51
  const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
52
52
  const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
53
53
  const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
54
- const configured = (yield* configuredSettings2(ID13.googleVertex)) ?? {};
54
+ const configured = (yield* configuredSettings2(ID11.googleVertex)) ?? {};
55
55
  const projects = Array.from(new Set([
56
56
  resolveProject(configured),
57
57
  ...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
@@ -65,8 +65,8 @@ var GoogleVertexPlugin2 = define({
65
65
  ...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
66
66
  ]));
67
67
  const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
68
- const connection = yield* ctx.integration.connection.active(ID13.googleVertex);
69
- const stored = connection?.type === "credential" ? yield* credentials.get(ID16.make(connection.id)) : undefined;
68
+ const connection = yield* ctx.integration.connection.active(ID11.googleVertex);
69
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID14.make(connection.id)) : undefined;
70
70
  if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
71
71
  return {};
72
72
  return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
@@ -74,15 +74,15 @@ var GoogleVertexPlugin2 = define({
74
74
  const selected = { settings: yield* load() };
75
75
  const settingsFor = (provider) => ({
76
76
  ...provider.settings,
77
- ...(provider.integrationID ?? provider.id) === ID13.googleVertex ? selected.settings : {}
77
+ ...(provider.integrationID ?? provider.id) === ID11.googleVertex ? selected.settings : {}
78
78
  });
79
79
  yield* ctx.integration.transform((editor) => {
80
80
  editor.method.update({
81
- integrationID: ID13.googleVertex,
81
+ integrationID: ID11.googleVertex,
82
82
  method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
83
83
  });
84
84
  editor.method.update({
85
- integrationID: ID13.googleVertex,
85
+ integrationID: ID11.googleVertex,
86
86
  method: {
87
87
  id: ADC_METHOD,
88
88
  type: "external",
@@ -120,7 +120,7 @@ var GoogleVertexPlugin2 = define({
120
120
  });
121
121
  yield* ctx.provider.transform((evt) => {
122
122
  for (const item of evt.list()) {
123
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
123
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID11.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
124
124
  continue;
125
125
  const settings = settingsFor(item.provider);
126
126
  const project = resolveProject(settings);
@@ -139,7 +139,7 @@ var GoogleVertexPlugin2 = define({
139
139
  });
140
140
  yield* ctx.model.transform((models) => {
141
141
  for (const item of models.provider.list()) {
142
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
142
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID11.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
143
143
  continue;
144
144
  const settings = settingsFor(item.provider);
145
145
  const project = resolveProject(settings);
@@ -1,35 +1,35 @@
1
1
  import {
2
- ID9,
2
+ ID8,
3
3
  Service66
4
- } from "./variant-06wyv3z9.js";
4
+ } from "./vcs-vpycaasy.js";
5
5
  import {
6
6
  Service81
7
- } from "./variant-pps6n2xr.js";
7
+ } from "./vcs-hthv5jgd.js";
8
8
  import {
9
- Service37
10
- } from "./variant-y4yg6ba5.js";
9
+ Service51
10
+ } from "./vcs-6fzpscvt.js";
11
11
  import {
12
- Service52,
12
+ Service55,
13
13
  args2
14
- } from "./variant-dmpx8hg1.js";
14
+ } from "./vcs-5paa9ef2.js";
15
15
  import {
16
- Service22
17
- } from "./variant-wt3f0p64.js";
16
+ Service26
17
+ } from "./vcs-qjh2dgdf.js";
18
18
  import {
19
19
  Service10
20
- } from "./variant-2aw9xj9k.js";
20
+ } from "./vcs-g3et1r9g.js";
21
21
  import {
22
22
  parseOption2
23
- } from "./variant-8m6m0r52.js";
23
+ } from "./vcs-8m6m0r52.js";
24
24
  import {
25
25
  __export
26
- } from "./variant-9rqn6x4v.js";
26
+ } from "./vcs-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/command.ts
29
- var exports_command2 = {};
30
- __export(exports_command2, {
31
- ConfigCommandPlugin: () => exports_command2,
32
- Plugin: () => Plugin31
29
+ var exports_command = {};
30
+ __export(exports_command, {
31
+ ConfigCommandPlugin: () => exports_command,
32
+ Plugin: () => Plugin25
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { ConfigCommand } from "@opencode/schema/config/command";
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
41
41
  import { ChildProcess } from "effect/process";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
43
  var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
44
- var Plugin31 = define({
44
+ var Plugin25 = define({
45
45
  id: "opencode.config.command",
46
46
  effect: Effect.fn(function* (ctx) {
47
- const config = yield* Service37;
47
+ const config = yield* Service51;
48
48
  const fs = yield* FSUtil.Service;
49
49
  const loadEntry = Effect.fnUntraced(function* (entry) {
50
50
  if (entry.type === "document")
@@ -56,8 +56,8 @@ var Plugin31 = define({
56
56
  });
57
57
  const location = yield* Service81;
58
58
  const processes = yield* AppProcess.Service;
59
- const shell = yield* Service52;
60
- const sessions = yield* Service22;
59
+ const shell = yield* Service55;
60
+ const sessions = yield* Service26;
61
61
  const agents = yield* Service66;
62
62
  const subagents = yield* Service10;
63
63
  const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
@@ -80,7 +80,7 @@ var Plugin31 = define({
80
80
  name,
81
81
  description: command.description,
82
82
  execute: (input) => Effect.gen(function* () {
83
- const agent = command.agent === undefined ? undefined : ID9.make(command.agent);
83
+ const agent = command.agent === undefined ? undefined : ID8.make(command.agent);
84
84
  const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
85
85
  const model = command.model === undefined ? commandAgent?.model : {
86
86
  id: Model.ID.make(command.model.model),
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
204
204
  var quoteTrimRegex = /^["']|["']$/g;
205
205
  var shellRegex = /!`([^`]+)`/g;
206
206
 
207
- export { Plugin31, exports_command2 };
207
+ export { Plugin25, exports_command };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./variant-9rqn6x4v.js";
3
+ } from "./vcs-9rqn6x4v.js";
4
4
 
5
5
  // src/vcs/patch.ts
6
6
  var exports_patch2 = {};