@opencode/core 0.0.0-dev-20720 → 0.0.0-dev-20723

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 (781) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +90 -90
  4. package/dist/aisdk.js +95 -95
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +70 -70
  7. package/dist/chunks/{state-d3zsqy84.js → vcs-04yyf4qt.js} +18 -18
  8. package/dist/chunks/{state-0fypn0a3.js → vcs-07wgvsh6.js} +25 -25
  9. package/dist/chunks/{state-xecxzrdp.js → vcs-0bg0bx69.js} +5 -5
  10. package/dist/chunks/{state-zxszgjhy.js → vcs-0c9wqyy8.js} +14 -14
  11. package/dist/chunks/{state-tc3k9mfd.js → vcs-0d8zqp83.js} +3 -3
  12. package/dist/chunks/{state-0j77ygfz.js → vcs-0j77ygfz.js} +2 -2
  13. package/dist/chunks/{state-rf1bdrxr.js → vcs-0me6j0h2.js} +11 -11
  14. package/dist/chunks/{state-crdrr85v.js → vcs-0nnqgx98.js} +5 -5
  15. package/dist/chunks/{state-qbma24dw.js → vcs-0nzb3xm7.js} +17 -17
  16. package/dist/chunks/{state-0paq2nw3.js → vcs-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{state-yfmzq89s.js → vcs-0pd58yjc.js} +20 -20
  18. package/dist/chunks/{state-73vgk540.js → vcs-0pjmp4n2.js} +1 -1
  19. package/dist/chunks/{state-qvkrf2sr.js → vcs-0s2jvk1v.js} +26 -26
  20. package/dist/chunks/{state-0emb60td.js → vcs-0vbcp93d.js} +2 -2
  21. package/dist/chunks/{state-6wzskhnk.js → vcs-13gmnxv8.js} +28 -28
  22. package/dist/chunks/{state-2cfdhw3s.js → vcs-19yw5azz.js} +69 -69
  23. package/dist/chunks/{state-rhraev7y.js → vcs-1acjjqhc.js} +4 -4
  24. package/dist/chunks/{state-9hn6k4tm.js → vcs-1ajx6rf5.js} +8 -8
  25. package/dist/chunks/{state-dntcxfx6.js → vcs-1cgp65pm.js} +12 -12
  26. package/dist/chunks/{state-1dazxqgg.js → vcs-1dazxqgg.js} +2 -2
  27. package/dist/chunks/{state-84h8c373.js → vcs-1dvck2a7.js} +2 -2
  28. package/dist/chunks/{state-n4dca9y5.js → vcs-1h9s09mr.js} +19 -19
  29. package/dist/chunks/{state-ppk3b36w.js → vcs-1q5c5pmz.js} +24 -24
  30. package/dist/chunks/{state-5dkn69vz.js → vcs-1rn5pcm9.js} +4 -4
  31. package/dist/chunks/{state-hjd5rs48.js → vcs-1sc12dm9.js} +32 -32
  32. package/dist/chunks/vcs-1x11rq2a.js +18 -0
  33. package/dist/chunks/{state-zbjxv3dz.js → vcs-1xzpbkn4.js} +5 -5
  34. package/dist/chunks/{state-1deese7r.js → vcs-1z1w0x60.js} +3 -3
  35. package/dist/chunks/{state-6121h2h6.js → vcs-22q3b961.js} +2 -2
  36. package/dist/chunks/{state-6e54mn8t.js → vcs-25b99zps.js} +41 -41
  37. package/dist/chunks/{state-zzwrqwz9.js → vcs-27gmch2w.js} +4 -4
  38. package/dist/chunks/{state-2a5m3afh.js → vcs-2a5m3afh.js} +1 -1
  39. package/dist/chunks/{state-2ccvkpx1.js → vcs-2ccvkpx1.js} +2 -2
  40. package/dist/chunks/{state-3rtxz4nr.js → vcs-2hr5nhwa.js} +8 -8
  41. package/dist/chunks/{state-86fzd6mx.js → vcs-2q6k3pst.js} +9 -9
  42. package/dist/chunks/{state-xdrba4jw.js → vcs-2q8c0gm7.js} +9 -9
  43. package/dist/chunks/{state-cwa6csj7.js → vcs-2sejkfem.js} +9 -9
  44. package/dist/chunks/{state-1ygqh575.js → vcs-33w4ejhs.js} +6 -6
  45. package/dist/chunks/{state-s5met55r.js → vcs-37ea9c2d.js} +8 -8
  46. package/dist/chunks/{state-jrjafyr0.js → vcs-37sfe3bm.js} +14 -14
  47. package/dist/chunks/{state-f62qkzqr.js → vcs-3bc8czyk.js} +5 -5
  48. package/dist/chunks/{state-3fc6dm20.js → vcs-3fc6dm20.js} +1 -1
  49. package/dist/chunks/{state-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
  50. package/dist/chunks/{state-edbfpfck.js → vcs-3ppptnan.js} +6 -6
  51. package/dist/chunks/{state-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
  52. package/dist/chunks/{state-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
  53. package/dist/chunks/{state-mgpjz0db.js → vcs-3w6ka4dd.js} +32 -32
  54. package/dist/chunks/{state-1p2095bv.js → vcs-3y6k4917.js} +35 -35
  55. package/dist/chunks/{state-3zsf4n22.js → vcs-3zsf4n22.js} +1 -1
  56. package/dist/chunks/{state-eekvak8k.js → vcs-49q8yaxv.js} +11 -11
  57. package/dist/chunks/{state-vgepzxbh.js → vcs-4eq8w0dz.js} +4 -4
  58. package/dist/chunks/{state-tbpc65w4.js → vcs-4q42yqz9.js} +12 -12
  59. package/dist/chunks/{state-11dqjexa.js → vcs-4rt0ga34.js} +9 -9
  60. package/dist/chunks/{state-ms8ccy3x.js → vcs-4rz2eah6.js} +25 -25
  61. package/dist/chunks/{state-pn003z7t.js → vcs-4ttfntha.js} +19 -19
  62. package/dist/chunks/{state-zbj3drqt.js → vcs-4xgn8f08.js} +20 -20
  63. package/dist/chunks/{state-54ma36ye.js → vcs-54ma36ye.js} +1 -1
  64. package/dist/chunks/{state-3ck2xf04.js → vcs-5750az6h.js} +5 -5
  65. package/dist/chunks/{state-8316qx5p.js → vcs-57myy5jh.js} +5 -5
  66. package/dist/chunks/{state-88gkpqae.js → vcs-59q5jc6n.js} +16 -16
  67. package/dist/chunks/{state-nd37bzcf.js → vcs-5jdc83g9.js} +24 -24
  68. package/dist/chunks/{state-5m9w47nd.js → vcs-5m9w47nd.js} +1 -1
  69. package/dist/chunks/{state-5t3nmthw.js → vcs-5t3nmthw.js} +2 -2
  70. package/dist/chunks/{state-qgvx2ecd.js → vcs-5we17rd7.js} +8 -8
  71. package/dist/chunks/{state-6sr3ve8g.js → vcs-5wtwrezn.js} +4 -4
  72. package/dist/chunks/{state-9zmkt7t8.js → vcs-63tw2y7q.js} +313 -313
  73. package/dist/chunks/{state-s2f320av.js → vcs-64kp7p04.js} +26 -26
  74. package/dist/chunks/{state-jhdf29st.js → vcs-68wqtz75.js} +1 -1
  75. package/dist/chunks/{state-qpef03sa.js → vcs-6fqhqgbm.js} +1 -1
  76. package/dist/chunks/{state-y3ghf2b6.js → vcs-6kenx3xs.js} +7 -7
  77. package/dist/chunks/{state-gx34rq0y.js → vcs-6n96qzv5.js} +8 -8
  78. package/dist/chunks/{state-pe0zt13j.js → vcs-6t0whsax.js} +1 -1
  79. package/dist/chunks/{state-6xb47vfp.js → vcs-6xb47vfp.js} +1 -1
  80. package/dist/chunks/{state-9t8z8sz2.js → vcs-6z3x1np0.js} +4 -4
  81. package/dist/chunks/{state-f75zav2x.js → vcs-71az546q.js} +2 -2
  82. package/dist/chunks/{state-e7fzh1tv.js → vcs-75a1c4v1.js} +9 -9
  83. package/dist/chunks/{state-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
  84. package/dist/chunks/{state-rdd3t6fr.js → vcs-7bw0yazn.js} +11 -11
  85. package/dist/chunks/{state-krs87b37.js → vcs-7dw0t1ze.js} +9 -9
  86. package/dist/chunks/{state-v4swh9q7.js → vcs-7jfftv5p.js} +10 -10
  87. package/dist/chunks/{state-54n0a6zw.js → vcs-7kne82cw.js} +11 -11
  88. package/dist/chunks/{state-9sxnv72c.js → vcs-80hejsm3.js} +18 -18
  89. package/dist/chunks/{state-84txncab.js → vcs-84txncab.js} +1 -1
  90. package/dist/chunks/{state-8d7r5vzw.js → vcs-8d7r5vzw.js} +1 -1
  91. package/dist/chunks/vcs-8gnn3ynq.js +26 -0
  92. package/dist/chunks/{state-8m6m0r52.js → vcs-8m6m0r52.js} +1 -1
  93. package/dist/chunks/{state-wv509nq3.js → vcs-8s9b4wpd.js} +11 -11
  94. package/dist/chunks/{state-wzx4r275.js → vcs-8x0r4hhp.js} +4 -4
  95. package/dist/chunks/{state-m7afyyyj.js → vcs-8ybr1j9f.js} +15 -15
  96. package/dist/chunks/{state-trj1gmcm.js → vcs-956c9a2b.js} +1 -1
  97. package/dist/chunks/{state-m9jgt8r5.js → vcs-99zns8hp.js} +5 -5
  98. package/dist/chunks/{state-8h82tmdf.js → vcs-9c50v8xn.js} +22 -22
  99. package/dist/chunks/{state-kb9j3d72.js → vcs-9e5bzkjp.js} +3 -3
  100. package/dist/chunks/{state-f9a4pn72.js → vcs-9fxzk225.js} +7 -7
  101. package/dist/chunks/{state-fwr1nvee.js → vcs-9kbad57x.js} +13 -13
  102. package/dist/chunks/{state-h24f7b7f.js → vcs-9vj6bm7e.js} +32 -32
  103. package/dist/chunks/{state-fn7rspy2.js → vcs-a0f0vbmj.js} +41 -41
  104. package/dist/chunks/{state-eq1pz5kg.js → vcs-a1gpj94z.js} +3 -3
  105. package/dist/chunks/{state-88wa59w3.js → vcs-a251rf9t.js} +133 -133
  106. package/dist/chunks/{state-fm2qvscf.js → vcs-a2ew8a62.js} +4 -4
  107. package/dist/chunks/{state-44ak30pa.js → vcs-a3c7ahw6.js} +4 -4
  108. package/dist/chunks/{state-g5xbze43.js → vcs-a3hwmvp4.js} +4 -4
  109. package/dist/chunks/{state-bkwnwkna.js → vcs-a3p2k8hz.js} +6 -6
  110. package/dist/chunks/{state-cq15wxzp.js → vcs-a86j6ah1.js} +4 -4
  111. package/dist/chunks/{state-pmwpe40e.js → vcs-a89e0tac.js} +4 -4
  112. package/dist/chunks/{state-aaet6srn.js → vcs-aaet6srn.js} +2 -2
  113. package/dist/chunks/{state-addxnjmp.js → vcs-addxnjmp.js} +1 -1
  114. package/dist/chunks/{state-c4jzek7p.js → vcs-ae1t3fda.js} +10 -10
  115. package/dist/chunks/{state-ket9r42f.js → vcs-atkvf9td.js} +20 -20
  116. package/dist/chunks/{state-34rerane.js → vcs-aw110tac.js} +9 -9
  117. package/dist/chunks/{state-9pkkzrmj.js → vcs-b29mbqx6.js} +5 -5
  118. package/dist/chunks/{state-evszv5pj.js → vcs-b2vqzx2z.js} +51 -51
  119. package/dist/chunks/{state-qygbw77c.js → vcs-b3f8fkhc.js} +5 -5
  120. package/dist/chunks/{state-f36c7hhr.js → vcs-b5m1msdc.js} +32 -32
  121. package/dist/chunks/{state-b6gygkdw.js → vcs-b6gygkdw.js} +2 -2
  122. package/dist/chunks/{state-45cwyr7q.js → vcs-b6kfej2e.js} +24 -24
  123. package/dist/chunks/{state-jvtf094g.js → vcs-bet956c8.js} +11 -11
  124. package/dist/chunks/{state-adwe1qqm.js → vcs-bnnqep0w.js} +20 -20
  125. package/dist/chunks/{state-17dj5fv5.js → vcs-bsabe2th.js} +14 -14
  126. package/dist/chunks/{state-ggjzp0zf.js → vcs-c0pnaphe.js} +7 -7
  127. package/dist/chunks/{state-msbh9db6.js → vcs-c4s9wf9w.js} +49 -49
  128. package/dist/chunks/{state-v6raqp8b.js → vcs-cn4yje2m.js} +28 -28
  129. package/dist/chunks/{state-ctj64nje.js → vcs-csn9490h.js} +43 -43
  130. package/dist/chunks/{state-mec702eg.js → vcs-cvrb0wmz.js} +24 -24
  131. package/dist/chunks/{state-kz7kk7hk.js → vcs-czasab6n.js} +14 -14
  132. package/dist/chunks/{state-hts2a9q2.js → vcs-czrbczn7.js} +18 -18
  133. package/dist/chunks/{state-y8v18ms9.js → vcs-dcd21nhz.js} +11 -11
  134. package/dist/chunks/{state-dd2ph1ae.js → vcs-dd81mdey.js} +84 -84
  135. package/dist/chunks/{state-x34x4jyj.js → vcs-dnx92wgp.js} +29 -29
  136. package/dist/chunks/{state-zc3nhar9.js → vcs-dwjkk65h.js} +8 -8
  137. package/dist/chunks/{state-adn16pwm.js → vcs-dwzaxvp4.js} +13 -13
  138. package/dist/chunks/{state-2fdt73cz.js → vcs-dxph6fvz.js} +13 -13
  139. package/dist/chunks/{state-2t27atdg.js → vcs-e04y2fwa.js} +5 -5
  140. package/dist/chunks/{state-ef5x83kb.js → vcs-ef5x83kb.js} +1 -1
  141. package/dist/chunks/{state-2wtagmr7.js → vcs-et31tfjf.js} +6 -6
  142. package/dist/chunks/{state-ejvnp2ks.js → vcs-et7yaydb.js} +11 -11
  143. package/dist/chunks/{state-etq0c3wd.js → vcs-etq0c3wd.js} +1 -1
  144. package/dist/chunks/{state-kk956e2k.js → vcs-f0ybs7ce.js} +1 -1
  145. package/dist/chunks/{state-b00pzheq.js → vcs-f7c64vsa.js} +30 -30
  146. package/dist/chunks/{state-vtg4gjwx.js → vcs-fb58p62m.js} +10 -10
  147. package/dist/chunks/{state-7dqw4kz8.js → vcs-fcrkznn8.js} +5 -5
  148. package/dist/chunks/{state-jkz3v61y.js → vcs-fcy0w2k8.js} +11 -11
  149. package/dist/chunks/{state-bpfw675d.js → vcs-fg48vtc7.js} +20 -20
  150. package/dist/chunks/{state-berfgc7x.js → vcs-fgbyx8j7.js} +18 -18
  151. package/dist/chunks/{state-35b7yesr.js → vcs-fhe9bgpx.js} +32 -32
  152. package/dist/chunks/{state-3arepkys.js → vcs-fnkxbfgv.js} +43 -43
  153. package/dist/chunks/{state-mypwhdkk.js → vcs-fq9618wy.js} +6 -6
  154. package/dist/chunks/{state-tb16czpv.js → vcs-fqhd525k.js} +19 -19
  155. package/dist/chunks/{state-7zy8zh4w.js → vcs-g5bbch9r.js} +22 -22
  156. package/dist/chunks/{state-6sf1d713.js → vcs-g6gmb5yh.js} +7 -7
  157. package/dist/chunks/{state-4t030mrg.js → vcs-gakkbf5f.js} +14 -14
  158. package/dist/chunks/{state-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
  159. package/dist/chunks/{state-7x89b08m.js → vcs-gt8vmn75.js} +10 -10
  160. package/dist/chunks/{state-62wb3p7v.js → vcs-h0qj2v5j.js} +1 -1
  161. package/dist/chunks/{state-3cegwx68.js → vcs-h2b79v29.js} +2 -2
  162. package/dist/chunks/{state-4x28rjsq.js → vcs-h4jdqfnm.js} +2 -2
  163. package/dist/chunks/{state-768a8gp9.js → vcs-h4n0vpmw.js} +4 -4
  164. package/dist/chunks/{state-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
  165. package/dist/chunks/{state-x7sbve6c.js → vcs-hcw1qacz.js} +16 -16
  166. package/dist/chunks/{state-w692g40q.js → vcs-hj3s3aqk.js} +30 -30
  167. package/dist/chunks/{state-ttqh24zm.js → vcs-hn57h045.js} +4 -4
  168. package/dist/chunks/{state-ah3xqtr9.js → vcs-hspafk43.js} +15 -15
  169. package/dist/chunks/{state-j56e64zr.js → vcs-j56e64zr.js} +1 -1
  170. package/dist/chunks/{state-yw2yvzmw.js → vcs-j7n56pbn.js} +82 -82
  171. package/dist/chunks/{state-09cpb2ex.js → vcs-j86sv62k.js} +16 -16
  172. package/dist/chunks/{state-b37sb5xh.js → vcs-jcfbsand.js} +26 -26
  173. package/dist/chunks/{state-55h7b49p.js → vcs-jddbe3s4.js} +9 -9
  174. package/dist/chunks/{state-nr69g3jv.js → vcs-je2hg063.js} +3 -3
  175. package/dist/chunks/{state-thc1rszf.js → vcs-jghv7esd.js} +4 -4
  176. package/dist/chunks/{state-4dbsr0k0.js → vcs-jyxdbt71.js} +27 -27
  177. package/dist/chunks/{state-mcjkpbn0.js → vcs-k0r5xdxg.js} +19 -19
  178. package/dist/chunks/{state-yc3p3qwe.js → vcs-k51kyevv.js} +13 -13
  179. package/dist/chunks/{state-46rbnc5c.js → vcs-k6ce5wme.js} +24 -24
  180. package/dist/chunks/{state-fkqcn188.js → vcs-k70p9jzb.js} +9 -9
  181. package/dist/chunks/{state-g5kmhmn4.js → vcs-kgdwkpsf.js} +11 -11
  182. package/dist/chunks/{state-pvr0mps5.js → vcs-kq6723p0.js} +26 -26
  183. package/dist/chunks/{state-mqatsg7m.js → vcs-kt9fe3w1.js} +31 -31
  184. package/dist/chunks/{state-kxfx0zw7.js → vcs-kxfx0zw7.js} +2 -2
  185. package/dist/chunks/{state-m3fdjcah.js → vcs-m3fdjcah.js} +1 -1
  186. package/dist/chunks/{state-6dtkngtv.js → vcs-m7wr2zvh.js} +6 -6
  187. package/dist/chunks/{state-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{state-xb9jmman.js → vcs-mg3qwnkj.js} +11 -11
  189. package/dist/chunks/{state-cxr298sk.js → vcs-mgpyf44b.js} +8 -8
  190. package/dist/chunks/{state-q67nxkv9.js → vcs-mktbbgtc.js} +33 -33
  191. package/dist/chunks/{state-vrtmy21p.js → vcs-mytw81tk.js} +2 -2
  192. package/dist/chunks/{state-xhw3x5cz.js → vcs-n2dx4brw.js} +17 -17
  193. package/dist/chunks/{state-28jd512m.js → vcs-n5f4tddc.js} +3 -3
  194. package/dist/chunks/{state-20de9dw7.js → vcs-n89qam4x.js} +3 -3
  195. package/dist/chunks/{state-dpkg50ah.js → vcs-nxm207yx.js} +4 -4
  196. package/dist/chunks/{state-4916wvbv.js → vcs-nz4xs60n.js} +5 -5
  197. package/dist/chunks/{state-7dyczsbr.js → vcs-nzqy64wh.js} +13 -13
  198. package/dist/chunks/{state-vpn79mg0.js → vcs-pce6pjhv.js} +10 -10
  199. package/dist/chunks/{state-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
  200. package/dist/chunks/{state-pknna89w.js → vcs-pknna89w.js} +1 -1
  201. package/dist/chunks/{state-a8947ck8.js → vcs-pnw2nq81.js} +19 -19
  202. package/dist/chunks/{state-pqqhfkp1.js → vcs-pqqhfkp1.js} +3 -3
  203. package/dist/chunks/{state-6t7bc6bg.js → vcs-pv0xkb1p.js} +8 -8
  204. package/dist/chunks/{state-cfsekr6v.js → vcs-py3kkmfq.js} +2 -2
  205. package/dist/chunks/{state-fed6refb.js → vcs-pz9hw1vj.js} +47 -47
  206. package/dist/chunks/{state-2xg2fwz2.js → vcs-q1rz759s.js} +9 -9
  207. package/dist/chunks/{state-kzfrgs0d.js → vcs-q9xpq9q1.js} +18 -18
  208. package/dist/chunks/{state-qnc92qwc.js → vcs-qnc92qwc.js} +1 -1
  209. package/dist/chunks/{state-9y76xs4t.js → vcs-qs2h65bq.js} +15 -15
  210. package/dist/chunks/{state-qsdy395h.js → vcs-qsdy395h.js} +1 -1
  211. package/dist/chunks/{state-agh9v499.js → vcs-qzeprjkv.js} +23 -23
  212. package/dist/chunks/{state-2bw2w2fe.js → vcs-r01t9b5y.js} +8 -8
  213. package/dist/chunks/{state-fesacqrs.js → vcs-r9gm9aqm.js} +13 -13
  214. package/dist/chunks/{state-7zpky84d.js → vcs-r9yzpxjv.js} +11 -11
  215. package/dist/chunks/{state-0rq11za7.js → vcs-rckkhj3g.js} +21 -21
  216. package/dist/chunks/{state-04a2hr2k.js → vcs-rctphcnz.js} +35 -35
  217. package/dist/chunks/{state-rdw6cm16.js → vcs-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{state-ccchx4q8.js → vcs-rg2hvmrn.js} +16 -16
  219. package/dist/chunks/{state-9t7a50xb.js → vcs-rhjbct0v.js} +4 -4
  220. package/dist/chunks/{state-dd40s8jk.js → vcs-s0b7t9fd.js} +4 -4
  221. package/dist/chunks/{state-mvatweg5.js → vcs-s4kvt3fr.js} +16 -16
  222. package/dist/chunks/vcs-sm4ryf7a.js +253 -0
  223. package/dist/chunks/{state-r2vb5ahw.js → vcs-szm2718d.js} +6 -6
  224. package/dist/chunks/{state-m6yf48sn.js → vcs-t03rxstc.js} +25 -25
  225. package/dist/chunks/{state-gzpbea96.js → vcs-t0gjdka1.js} +45 -45
  226. package/dist/chunks/{state-z9ghcmzp.js → vcs-t79xfqfr.js} +30 -30
  227. package/dist/chunks/{state-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
  228. package/dist/chunks/{state-tcezcvh9.js → vcs-tcezcvh9.js} +1 -1
  229. package/dist/chunks/{state-wy9mvxme.js → vcs-td95gcyn.js} +6 -6
  230. package/dist/chunks/{state-tdstcens.js → vcs-tdstcens.js} +1 -1
  231. package/dist/chunks/{state-yn2fms0x.js → vcs-tn9ec2vd.js} +15 -15
  232. package/dist/chunks/{state-ssax58sw.js → vcs-trftep7b.js} +36 -36
  233. package/dist/chunks/{state-2e8mbfdm.js → vcs-tsvrf6ne.js} +10 -10
  234. package/dist/chunks/{state-ef18fqje.js → vcs-txq8pc04.js} +21 -21
  235. package/dist/chunks/{state-kr34918r.js → vcs-v1h528vh.js} +20 -20
  236. package/dist/chunks/{state-qcy60mzg.js → vcs-v5gfdgtn.js} +8 -8
  237. package/dist/chunks/{state-veqvce7d.js → vcs-veqvce7d.js} +1 -1
  238. package/dist/chunks/{state-6q8n1y66.js → vcs-vmyd8gm7.js} +15 -15
  239. package/dist/chunks/{state-3rfzw5ap.js → vcs-vp58kcp5.js} +11 -11
  240. package/dist/chunks/{state-h7nvfha0.js → vcs-vxzvcjag.js} +24 -24
  241. package/dist/chunks/{state-y597v6j1.js → vcs-vybjyyra.js} +3 -3
  242. package/dist/chunks/{state-w1ad28wa.js → vcs-vz7d5c1g.js} +8 -8
  243. package/dist/chunks/{state-bcdwjwga.js → vcs-vzgd1kv9.js} +15 -15
  244. package/dist/chunks/{state-vzs5sf6e.js → vcs-vzs5sf6e.js} +1 -1
  245. package/dist/chunks/{state-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
  246. package/dist/chunks/{state-5krvj9g7.js → vcs-w52nmrah.js} +15 -15
  247. package/dist/chunks/{state-1smjtbw1.js → vcs-wa0pn2s4.js} +15 -15
  248. package/dist/chunks/{state-scyp0cvb.js → vcs-wc42rgsf.js} +4 -4
  249. package/dist/chunks/{state-wd87259q.js → vcs-wd87259q.js} +1 -1
  250. package/dist/chunks/{state-hjwcbm2z.js → vcs-we0nggcz.js} +24 -24
  251. package/dist/chunks/{state-m55qy151.js → vcs-wh6pa4pr.js} +10 -10
  252. package/dist/chunks/{state-bxrcwjqe.js → vcs-wjw0s51h.js} +5 -5
  253. package/dist/chunks/{state-eq2t0afb.js → vcs-wpfq0pge.js} +42 -42
  254. package/dist/chunks/{state-c1wzgm1s.js → vcs-wwycyvg2.js} +9 -9
  255. package/dist/chunks/{state-yg8cpn2k.js → vcs-x68akpvm.js} +18 -18
  256. package/dist/chunks/{state-7wnhzmy2.js → vcs-x8d8x7vf.js} +13 -13
  257. package/dist/chunks/{state-van68h44.js → vcs-xapam9zr.js} +12 -12
  258. package/dist/chunks/{state-2x68r0t2.js → vcs-xcvh5wbc.js} +18 -18
  259. package/dist/chunks/{state-mzzkv1b5.js → vcs-xf5kteyf.js} +1 -1
  260. package/dist/chunks/{state-g5w8qwbj.js → vcs-xfkkasph.js} +4 -4
  261. package/dist/chunks/{state-2qzcchk7.js → vcs-xfpnc088.js} +43 -43
  262. package/dist/chunks/{state-dmqcgk4z.js → vcs-xkntkrq7.js} +5 -5
  263. package/dist/chunks/{state-xyafkbt0.js → vcs-xyafkbt0.js} +3 -3
  264. package/dist/chunks/{state-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{state-h9pcb0g7.js → vcs-y43wzbb2.js} +12 -12
  266. package/dist/chunks/{state-emk51cvb.js → vcs-y7as67ar.js} +13 -13
  267. package/dist/chunks/{state-4bevpzhv.js → vcs-y83bvz77.js} +6 -6
  268. package/dist/chunks/{state-za57v6vq.js → vcs-y9e6dd6b.js} +16 -16
  269. package/dist/chunks/{state-wm3gbqz0.js → vcs-ychfnym3.js} +11 -11
  270. package/dist/chunks/{state-e2ncvvex.js → vcs-yd29pr10.js} +20 -20
  271. package/dist/chunks/{state-prdj665r.js → vcs-ypjhjecy.js} +15 -15
  272. package/dist/chunks/{state-cse9r4v9.js → vcs-ys7nn5kb.js} +11 -11
  273. package/dist/chunks/{state-jh8bf3qg.js → vcs-yx57bgcq.js} +4 -4
  274. package/dist/chunks/{state-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{state-497z3mry.js → vcs-z3nkt1j3.js} +7 -7
  276. package/dist/chunks/{state-y6f80w1r.js → vcs-z6c3x22d.js} +5 -5
  277. package/dist/chunks/{state-jjqn8krh.js → vcs-za7chhtt.js} +3 -3
  278. package/dist/chunks/{state-0x57zm2e.js → vcs-zfbhwvgy.js} +9 -9
  279. package/dist/chunks/{state-6yjat7sj.js → vcs-zktyrv2e.js} +20 -20
  280. package/dist/chunks/{state-zr2ceqn5.js → vcs-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{state-g41jgzrn.js → vcs-zrzkxtqn.js} +10 -10
  282. package/dist/chunks/{state-zxq2ej10.js → vcs-zxq2ej10.js} +1 -1
  283. package/dist/codemode/catalog.js +1 -1
  284. package/dist/codemode/instructions.js +9 -9
  285. package/dist/codemode/tool.js +3 -3
  286. package/dist/codemode/web.js +1 -1
  287. package/dist/command.js +82 -82
  288. package/dist/config/discovery.js +83 -83
  289. package/dist/config/markdown.js +1 -1
  290. package/dist/config/normalize.js +100 -100
  291. package/dist/config/plugin/agent.js +117 -117
  292. package/dist/config/plugin/command.js +206 -206
  293. package/dist/config/plugin/compaction.js +155 -155
  294. package/dist/config/plugin/compatibility.js +135 -135
  295. package/dist/config/plugin/entry-observer.js +1 -1
  296. package/dist/config/plugin/formatter.js +118 -118
  297. package/dist/config/plugin/image.js +117 -117
  298. package/dist/config/plugin/instruction.js +91 -91
  299. package/dist/config/plugin/location-watcher.js +119 -119
  300. package/dist/config/plugin/mcp.js +124 -124
  301. package/dist/config/plugin/policy.js +118 -118
  302. package/dist/config/plugin/provider.js +117 -117
  303. package/dist/config/plugin/reference.js +117 -117
  304. package/dist/config/plugin/shell.js +117 -117
  305. package/dist/config/plugin/skill-file.js +103 -103
  306. package/dist/config/plugin/skill.js +136 -136
  307. package/dist/config/plugin/snapshot.js +117 -117
  308. package/dist/config/plugin/source.js +120 -120
  309. package/dist/config/plugin/tool-output.js +118 -118
  310. package/dist/config/plugin/websearch.js +116 -116
  311. package/dist/config/plugin/worktree.js +119 -119
  312. package/dist/config/variable.js +3 -3
  313. package/dist/config/watch.js +1 -1
  314. package/dist/config.js +120 -120
  315. package/dist/credential/sql.js +2 -2
  316. package/dist/credential.js +84 -84
  317. package/dist/database/database.js +67 -67
  318. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  319. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  321. package/dist/database/drizzle/index.js +15 -15
  322. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  325. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  326. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  327. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  333. package/dist/database/drizzle.js +16 -16
  334. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  335. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  336. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  337. package/dist/database/migration/20260225215848_workspace.js +1 -1
  338. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  339. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  340. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  341. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  342. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  343. package/dist/database/migration/20260323234822_events.js +1 -1
  344. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  345. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  346. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  347. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  348. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  349. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  350. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  351. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  352. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  353. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  354. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  355. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  356. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  357. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  358. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  359. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  360. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  361. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  362. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  363. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  364. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  365. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  366. package/dist/database/migration/20260611035744_credential.js +1 -1
  367. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  368. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  369. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  370. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  371. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  372. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  373. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  374. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  375. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  376. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  377. package/dist/database/migration/20260812213948_worktree.js +1 -1
  378. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  379. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  380. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  381. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  382. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  383. package/dist/database/migration.gen.js +50 -50
  384. package/dist/database/migration.js +52 -52
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +77 -77
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +364 -364
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +94 -94
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +96 -96
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +71 -71
  408. package/dist/file-access.js +105 -105
  409. package/dist/file-mutation.js +95 -95
  410. package/dist/file-retention.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/location-watcher-policy.js +6 -6
  416. package/dist/filesystem/location-watcher.js +221 -221
  417. package/dist/filesystem/protected.js +1 -1
  418. package/dist/filesystem/search.js +100 -100
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +13 -13
  421. package/dist/filesystem.js +99 -99
  422. package/dist/form.js +81 -81
  423. package/dist/formatter/builtins.js +4 -4
  424. package/dist/formatter.js +88 -88
  425. package/dist/generate.js +102 -102
  426. package/dist/git.js +10 -10
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +92 -92
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +5 -5
  449. package/dist/instance.js +355 -355
  450. package/dist/instruction-discovery.js +86 -86
  451. package/dist/instructions/builtins.js +88 -88
  452. package/dist/instructions/index.js +3 -3
  453. package/dist/integration/connection.js +1 -1
  454. package/dist/integration.js +80 -80
  455. package/dist/job.js +79 -79
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +74 -74
  458. package/dist/location-activity.js +132 -132
  459. package/dist/location-lifecycle.js +108 -108
  460. package/dist/location-service-map.js +87 -87
  461. package/dist/location-services.js +352 -352
  462. package/dist/location.js +86 -86
  463. package/dist/managed-policy.js +8 -8
  464. package/dist/mcp/client.js +92 -92
  465. package/dist/mcp/index.js +108 -108
  466. package/dist/mcp/instructions.js +130 -130
  467. package/dist/mcp/oauth.js +79 -79
  468. package/dist/mcp/stdio.js +91 -91
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +92 -92
  471. package/dist/model-resolver.js +99 -99
  472. package/dist/model.js +95 -95
  473. package/dist/models-dev.js +108 -108
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +81 -81
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +106 -106
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +81 -81
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +76 -76
  483. package/dist/plugin/agent.js +75 -75
  484. package/dist/plugin/command.js +101 -101
  485. package/dist/plugin/hooks.js +5 -5
  486. package/dist/plugin/host.js +212 -212
  487. package/dist/plugin/identity.js +3 -3
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +327 -327
  490. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  491. package/dist/plugin/models-dev.js +97 -97
  492. package/dist/plugin/module.js +118 -118
  493. package/dist/plugin/optimize.js +2 -2
  494. package/dist/plugin/plan.js +103 -103
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +91 -91
  497. package/dist/plugin/provider/azure.js +118 -118
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/chatgpt.js +95 -95
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +113 -113
  504. package/dist/plugin/provider/digitalocean.js +94 -94
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/github-copilot.js +96 -96
  508. package/dist/plugin/provider/gitlab.js +94 -94
  509. package/dist/plugin/provider/google-vertex.js +91 -91
  510. package/dist/plugin/provider/kilo.js +1 -1
  511. package/dist/plugin/provider/llmgateway.js +79 -79
  512. package/dist/plugin/provider/lmstudio.js +117 -117
  513. package/dist/plugin/provider/local.js +114 -114
  514. package/dist/plugin/provider/modal.js +93 -93
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +117 -117
  517. package/dist/plugin/provider/openai.js +94 -94
  518. package/dist/plugin/provider/opencode.js +98 -98
  519. package/dist/plugin/provider/openrouter.js +92 -92
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +80 -80
  522. package/dist/plugin/provider/prompt-cache-key.js +91 -91
  523. package/dist/plugin/provider/sap-ai-core.js +92 -92
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +116 -116
  526. package/dist/plugin/provider/vercel.js +91 -91
  527. package/dist/plugin/provider/vllm.js +117 -117
  528. package/dist/plugin/provider/xai.js +92 -92
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +157 -157
  531. package/dist/plugin/sdk.js +77 -77
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +135 -135
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +346 -346
  536. package/dist/plugin/tool-input-repair.js +4 -4
  537. package/dist/plugin/update.js +6 -6
  538. package/dist/plugin/vcs/git.js +87 -87
  539. package/dist/plugin/vcs/hg.js +87 -87
  540. package/dist/plugin/verbosity.js +94 -94
  541. package/dist/plugin/warming.js +115 -115
  542. package/dist/plugin/websearch/exa.js +7 -7
  543. package/dist/plugin/websearch/firecrawl.js +8 -8
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +4 -4
  546. package/dist/plugin/websearch/parallel.js +6 -6
  547. package/dist/plugin/websearch/tavily.js +4 -4
  548. package/dist/plugin/websearch/tinyfish.js +6 -6
  549. package/dist/plugin.js +217 -217
  550. package/dist/project/schema.js +4 -4
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +85 -85
  553. package/dist/provider.js +92 -92
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +94 -94
  557. package/dist/reference/instructions.js +90 -90
  558. package/dist/reference.js +88 -88
  559. package/dist/repository-cache.js +82 -82
  560. package/dist/repository.js +1 -1
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +98 -98
  563. package/dist/rpc.js +87 -87
  564. package/dist/schema.js +1 -1
  565. package/dist/session/affinity.js +1 -1
  566. package/dist/session/command.js +75 -75
  567. package/dist/session/compaction.js +136 -136
  568. package/dist/session/context.js +154 -154
  569. package/dist/session/diff.js +89 -89
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +3 -3
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +215 -215
  574. package/dist/session/execution.js +126 -126
  575. package/dist/session/generate.js +153 -153
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +91 -91
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +80 -80
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +98 -98
  582. package/dist/session/message-updater.js +4 -4
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +121 -121
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +130 -130
  587. package/dist/session/projector.js +87 -87
  588. package/dist/session/prompt.js +106 -106
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +91 -91
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +225 -225
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +99 -99
  596. package/dist/session/runner/publish-llm-event.js +114 -114
  597. package/dist/session/runner/retry.js +4 -4
  598. package/dist/session/runner/step.js +126 -126
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +1 -1
  601. package/dist/session/session.js +165 -165
  602. package/dist/session/shell.js +131 -131
  603. package/dist/session/skill.js +104 -104
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +74 -74
  606. package/dist/session/store.js +86 -86
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +204 -204
  609. package/dist/session/system-prompt.js +3 -3
  610. package/dist/session/title.js +158 -158
  611. package/dist/session/to-session-error.js +112 -112
  612. package/dist/session/transfer.js +209 -209
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +206 -206
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +13 -13
  619. package/dist/shell.js +133 -133
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +108 -108
  622. package/dist/skill.js +111 -111
  623. package/dist/snapshot.js +92 -92
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +127 -127
  628. package/dist/tool/plugin/edit.js +121 -121
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +125 -125
  631. package/dist/tool/plugin/grep.js +125 -125
  632. package/dist/tool/plugin/mcp-resource.js +118 -118
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +119 -119
  635. package/dist/tool/plugin/question.js +102 -102
  636. package/dist/tool/plugin/read.js +126 -126
  637. package/dist/tool/plugin/shell.js +209 -209
  638. package/dist/tool/plugin/skill.js +114 -114
  639. package/dist/tool/plugin/subagent.js +213 -213
  640. package/dist/tool/plugin/webfetch.js +111 -111
  641. package/dist/tool/plugin/websearch.js +113 -113
  642. package/dist/tool/plugin/write.js +123 -123
  643. package/dist/tool/read-filesystem.js +99 -99
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +7 -7
  646. package/dist/tool.js +14 -14
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/git-executable.js +2 -2
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +3 -3
  657. package/dist/v1/config/command.js +3 -3
  658. package/dist/v1/config/error.js +2 -2
  659. package/dist/v1/config/mcp.js +4 -4
  660. package/dist/v1/config/migrate.js +93 -93
  661. package/dist/v1/config/permission.js +3 -3
  662. package/dist/v1/config/plugin.js +3 -3
  663. package/dist/v1/config/provider-options.js +1 -1
  664. package/dist/v1/config/provider.js +4 -4
  665. package/dist/variant.js +94 -94
  666. package/dist/vcs/patch.js +1 -1
  667. package/dist/vcs.js +88 -88
  668. package/dist/websearch.js +83 -83
  669. package/dist/wellknown/plugin.js +75 -75
  670. package/dist/wellknown.js +80 -80
  671. package/dist/workspace/driver.js +7 -7
  672. package/dist/workspace/sql.js +1 -1
  673. package/dist/workspace.js +81 -81
  674. package/dist/worktree/directory.js +2 -2
  675. package/dist/worktree/git.js +10 -10
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree/strategies.js +90 -90
  678. package/dist/worktree.js +95 -95
  679. package/package.json +8 -8
  680. package/dist/chunks/state-ht5y0zrb.js +0 -18
  681. package/dist/chunks/state-kc4mjjv2.js +0 -253
  682. package/dist/chunks/state-w1199tq0.js +0 -26
  683. /package/dist/chunks/{state-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
  684. /package/dist/chunks/{state-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
  685. /package/dist/chunks/{state-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
  686. /package/dist/chunks/{state-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
  687. /package/dist/chunks/{state-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
  688. /package/dist/chunks/{state-24dcb14g.js → vcs-24dcb14g.js} +0 -0
  689. /package/dist/chunks/{state-2710q6r3.js → vcs-2710q6r3.js} +0 -0
  690. /package/dist/chunks/{state-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
  691. /package/dist/chunks/{state-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
  692. /package/dist/chunks/{state-34c7v6d4.js → vcs-34c7v6d4.js} +0 -0
  693. /package/dist/chunks/{state-359p4xyc.js → vcs-359p4xyc.js} +0 -0
  694. /package/dist/chunks/{state-3asan66x.js → vcs-3asan66x.js} +0 -0
  695. /package/dist/chunks/{state-3t0ybcrp.js → vcs-3t0ybcrp.js} +0 -0
  696. /package/dist/chunks/{state-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
  697. /package/dist/chunks/{state-3w5fmr99.js → vcs-3w5fmr99.js} +0 -0
  698. /package/dist/chunks/{state-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
  699. /package/dist/chunks/{state-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
  700. /package/dist/chunks/{state-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
  701. /package/dist/chunks/{state-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
  702. /package/dist/chunks/{state-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
  703. /package/dist/chunks/{state-53557ph1.js → vcs-53557ph1.js} +0 -0
  704. /package/dist/chunks/{state-550bvhaj.js → vcs-550bvhaj.js} +0 -0
  705. /package/dist/chunks/{state-6prwharc.js → vcs-6prwharc.js} +0 -0
  706. /package/dist/chunks/{state-6q2bdcd1.js → vcs-6q2bdcd1.js} +0 -0
  707. /package/dist/chunks/{state-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
  708. /package/dist/chunks/{state-7m9af43g.js → vcs-7m9af43g.js} +0 -0
  709. /package/dist/chunks/{state-822emrt2.js → vcs-822emrt2.js} +0 -0
  710. /package/dist/chunks/{state-84wd9syh.js → vcs-84wd9syh.js} +0 -0
  711. /package/dist/chunks/{state-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
  712. /package/dist/chunks/{state-8n3pysct.js → vcs-8n3pysct.js} +0 -0
  713. /package/dist/chunks/{state-8wj87zfr.js → vcs-8wj87zfr.js} +0 -0
  714. /package/dist/chunks/{state-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
  715. /package/dist/chunks/{state-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
  716. /package/dist/chunks/{state-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
  717. /package/dist/chunks/{state-af5trqkr.js → vcs-af5trqkr.js} +0 -0
  718. /package/dist/chunks/{state-afrmfg78.js → vcs-afrmfg78.js} +0 -0
  719. /package/dist/chunks/{state-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
  720. /package/dist/chunks/{state-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
  721. /package/dist/chunks/{state-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
  722. /package/dist/chunks/{state-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
  723. /package/dist/chunks/{state-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
  724. /package/dist/chunks/{state-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
  725. /package/dist/chunks/{state-d9fn303g.js → vcs-d9fn303g.js} +0 -0
  726. /package/dist/chunks/{state-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
  727. /package/dist/chunks/{state-dajrwvna.js → vcs-dajrwvna.js} +0 -0
  728. /package/dist/chunks/{state-dap0rakb.js → vcs-dap0rakb.js} +0 -0
  729. /package/dist/chunks/{state-df08tz66.js → vcs-df08tz66.js} +0 -0
  730. /package/dist/chunks/{state-dy18nga0.js → vcs-dy18nga0.js} +0 -0
  731. /package/dist/chunks/{state-e3qxr5gk.js → vcs-e3qxr5gk.js} +0 -0
  732. /package/dist/chunks/{state-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{state-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{state-ec1grn59.js → vcs-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{state-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{state-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{state-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{state-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{state-faypxj3z.js → vcs-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{state-fd410y7t.js → vcs-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{state-fjs5xx1d.js → vcs-fjs5xx1d.js} +0 -0
  742. /package/dist/chunks/{state-fxgpk5d8.js → vcs-fxgpk5d8.js} +0 -0
  743. /package/dist/chunks/{state-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{state-g86h250q.js → vcs-g86h250q.js} +0 -0
  745. /package/dist/chunks/{state-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{state-gftt206x.js → vcs-gftt206x.js} +0 -0
  747. /package/dist/chunks/{state-hk9envan.js → vcs-hk9envan.js} +0 -0
  748. /package/dist/chunks/{state-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
  749. /package/dist/chunks/{state-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
  750. /package/dist/chunks/{state-jjkms2e6.js → vcs-jjkms2e6.js} +0 -0
  751. /package/dist/chunks/{state-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{state-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{state-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{state-mp448xyj.js → vcs-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{state-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{state-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{state-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{state-njntx4h6.js → vcs-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{state-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
  760. /package/dist/chunks/{state-q74kybfr.js → vcs-q74kybfr.js} +0 -0
  761. /package/dist/chunks/{state-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
  762. /package/dist/chunks/{state-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
  763. /package/dist/chunks/{state-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
  764. /package/dist/chunks/{state-qg3g05ea.js → vcs-qg3g05ea.js} +0 -0
  765. /package/dist/chunks/{state-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{state-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{state-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{state-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
  769. /package/dist/chunks/{state-w803qqfp.js → vcs-w803qqfp.js} +0 -0
  770. /package/dist/chunks/{state-wc3fc9cn.js → vcs-wc3fc9cn.js} +0 -0
  771. /package/dist/chunks/{state-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
  772. /package/dist/chunks/{state-wtztk69x.js → vcs-wtztk69x.js} +0 -0
  773. /package/dist/chunks/{state-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
  774. /package/dist/chunks/{state-x61499pn.js → vcs-x61499pn.js} +0 -0
  775. /package/dist/chunks/{state-y44na4kk.js → vcs-y44na4kk.js} +0 -0
  776. /package/dist/chunks/{state-y8cydn3q.js → vcs-y8cydn3q.js} +0 -0
  777. /package/dist/chunks/{state-y8f7s663.js → vcs-y8f7s663.js} +0 -0
  778. /package/dist/chunks/{state-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
  779. /package/dist/chunks/{state-ym463w8f.js → vcs-ym463w8f.js} +0 -0
  780. /package/dist/chunks/{state-z5v4ffb3.js → vcs-z5v4ffb3.js} +0 -0
  781. /package/dist/chunks/{state-z9919s4g.js → vcs-z9919s4g.js} +0 -0
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./state-jh8bf3qg.js";
4
+ } from "./vcs-yx57bgcq.js";
5
5
  import {
6
- node76
7
- } from "./state-e2ncvvex.js";
6
+ node68
7
+ } from "./vcs-yd29pr10.js";
8
8
  import {
9
- Service6,
10
- node7
11
- } from "./state-4dbsr0k0.js";
9
+ Service10,
10
+ node12
11
+ } from "./vcs-jyxdbt71.js";
12
12
  import {
13
- Service13
14
- } from "./state-m55qy151.js";
13
+ Service16
14
+ } from "./vcs-wh6pa4pr.js";
15
15
  import {
16
- Service28
17
- } from "./state-ht5y0zrb.js";
16
+ Service27
17
+ } from "./vcs-1x11rq2a.js";
18
18
  import {
19
19
  node21,
20
20
  ID2
21
- } from "./state-mvatweg5.js";
21
+ } from "./vcs-s4kvt3fr.js";
22
22
  import {
23
- Service3,
24
- node4
25
- } from "./state-9hn6k4tm.js";
23
+ Service8,
24
+ node10
25
+ } from "./vcs-1ajx6rf5.js";
26
26
  import {
27
27
  requirements2,
28
28
  guarded2,
29
29
  list2
30
- } from "./state-9zmkt7t8.js";
30
+ } from "./vcs-63tw2y7q.js";
31
31
  import {
32
- make3,
32
+ make4,
33
33
  LoadError2
34
- } from "./state-zxszgjhy.js";
34
+ } from "./vcs-0c9wqyy8.js";
35
35
  import {
36
36
  Updated2,
37
- Service4,
38
- node5
39
- } from "./state-vpn79mg0.js";
37
+ Service7,
38
+ node9
39
+ } from "./vcs-pce6pjhv.js";
40
40
  import {
41
- Service2,
42
- node3
43
- } from "./state-11dqjexa.js";
41
+ Service4,
42
+ node6
43
+ } from "./vcs-4rt0ga34.js";
44
44
  import {
45
45
  __export
46
- } from "./state-9rqn6x4v.js";
46
+ } from "./vcs-9rqn6x4v.js";
47
47
 
48
48
  // src/plugin/supervisor.ts
49
49
  var exports_supervisor = {};
50
50
  __export(exports_supervisor, {
51
51
  PluginSupervisor: () => exports_supervisor,
52
- layer: () => layer3,
53
- node: () => node2
52
+ layer: () => layer4,
53
+ node: () => node5
54
54
  });
55
55
  import { Event } from "@opencode/schema/config";
56
56
  import { Cause, Effect, Layer, Queue, Stream } from "effect";
@@ -136,15 +136,15 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
136
136
  pending: [...pending]
137
137
  };
138
138
  });
139
- var layer3 = Layer.effectDiscard(Effect.gen(function* () {
140
- const managed = yield* Service13;
141
- const registry = yield* Service28;
142
- const sdk = yield* Service4;
143
- const instance = yield* Service3;
144
- const sources = yield* Service6;
145
- const modules = yield* make3();
139
+ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
140
+ const managed = yield* Service16;
141
+ const registry = yield* Service27;
142
+ const sdk = yield* Service7;
143
+ const instance = yield* Service8;
144
+ const sources = yield* Service10;
145
+ const modules = yield* make4();
146
146
  const bus = yield* Service83;
147
- const updates = yield* Service2;
147
+ const updates = yield* Service4;
148
148
  const internal = yield* list2();
149
149
  let release = yield* registry.hold();
150
150
  yield* Effect.addFinalizer(() => release ?? Effect.void);
@@ -221,13 +221,13 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
221
221
  }));
222
222
  var nodeDeps = [
223
223
  node21,
224
- node5,
225
- node4,
226
- node7,
227
- node3,
224
+ node9,
225
+ node10,
226
+ node12,
227
+ node6,
228
228
  node87,
229
229
  Npm.node,
230
- node76,
230
+ node68,
231
231
  requirements2
232
232
  ];
233
233
  function pluginSource(target) {
@@ -235,6 +235,6 @@ function pluginSource(target) {
235
235
  return { type: "local", path: target };
236
236
  return { type: "package", target };
237
237
  }
238
- var node2 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
238
+ var node5 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
239
239
 
240
- export { layer3, node2, exports_supervisor };
240
+ export { layer4, node5, exports_supervisor };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createLocalProviderPlugin2
3
- } from "./state-bxrcwjqe.js";
3
+ } from "./vcs-wjw0s51h.js";
4
4
 
5
5
  // src/plugin/provider/ollama.ts
6
6
  import { Effect, Schema } from "effect";
@@ -34,7 +34,7 @@ var ShowResponse = Schema.Struct({
34
34
  model_info: Schema.Record(Schema.String, Schema.Unknown).pipe(Schema.optional)
35
35
  });
36
36
  var shows = new Map;
37
- var make5 = createLocalProviderPlugin2({
37
+ var make7 = createLocalProviderPlugin2({
38
38
  id: "opencode.provider.ollama",
39
39
  providerID: "ollama",
40
40
  name: "Ollama",
@@ -67,6 +67,6 @@ var make5 = createLocalProviderPlugin2({
67
67
  context: Object.entries(item.show.model_info ?? {}).flatMap(([key, value]) => key.endsWith(".context_length") && typeof value === "number" && value > 0 ? [value] : [])[0]
68
68
  })
69
69
  });
70
- var OllamaPlugin2 = make5();
70
+ var OllamaPlugin2 = make7();
71
71
 
72
- export { make5, OllamaPlugin2 };
72
+ export { make7, OllamaPlugin2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./vcs-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/files.ts
6
6
  var exports_files = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  InvalidError2
3
- } from "./state-0j77ygfz.js";
3
+ } from "./vcs-0j77ygfz.js";
4
4
  import {
5
5
  __export
6
- } from "./state-9rqn6x4v.js";
6
+ } from "./vcs-9rqn6x4v.js";
7
7
 
8
8
  // src/config/variable.ts
9
9
  var exports_variable = {};
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./vcs-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service36,
8
+ Service: () => Service49,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node39
10
+ node: () => node51
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service36 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service49 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service36, () => {
17
+ var layer = Layer.sync(Service49, () => {
18
18
  const environments = new Map;
19
- return Service36.of({
19
+ return Service49.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service36, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node39 = makeGlobalNode({ service: Service36, layer, deps: [] });
29
+ var node51 = makeGlobalNode({ service: Service49, layer, deps: [] });
30
30
 
31
- export { Service36, node39, exports_environment };
31
+ export { Service49, node51, exports_environment };
@@ -4,19 +4,19 @@ import {
4
4
  packageName2,
5
5
  timeouts2,
6
6
  mergeOverlay2
7
- } from "./state-adn16pwm.js";
7
+ } from "./vcs-dwzaxvp4.js";
8
8
  import {
9
9
  __export
10
- } from "./state-9rqn6x4v.js";
10
+ } from "./vcs-9rqn6x4v.js";
11
11
 
12
12
  // src/aisdk.ts
13
13
  var exports_aisdk = {};
14
14
  __export(exports_aisdk, {
15
15
  AISDK: () => exports_aisdk,
16
16
  InitError: () => InitError2,
17
- Service: () => Service60,
17
+ Service: () => Service73,
18
18
  locationLayer: () => locationLayer2,
19
- node: () => node64
19
+ node: () => node76
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { APICallError } from "@ai-sdk/provider";
@@ -159,9 +159,9 @@ function initError(providerID) {
159
159
  return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
160
160
  }
161
161
 
162
- class Service60 extends Context.Service()("@opencode/AISDK") {
162
+ class Service73 extends Context.Service()("@opencode/AISDK") {
163
163
  }
164
- var locationLayer2 = Layer.effect(Service60, Effect.gen(function* () {
164
+ var locationLayer2 = Layer.effect(Service73, Effect.gen(function* () {
165
165
  let sdkHooks = [];
166
166
  let languageHooks = [];
167
167
  const languages = new Map;
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service60, Effect.gen(function* () {
199
199
  }
200
200
  return event;
201
201
  });
202
- const service = Service60.of({
202
+ const service = Service73.of({
203
203
  hook: {
204
204
  sdk: register(() => sdkHooks, (next) => sdkHooks = next),
205
205
  language: register(() => languageHooks, (next) => languageHooks = next)
@@ -874,6 +874,6 @@ function providerErrorMessage(error) {
874
874
  const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
875
875
  return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
876
876
  }
877
- var node64 = makeLocationNode({ service: Service60, layer: locationLayer2, deps: [] });
877
+ var node76 = makeLocationNode({ service: Service73, layer: locationLayer2, deps: [] });
878
878
 
879
- export { InitError2, Service60, locationLayer2, node64, exports_aisdk };
879
+ export { InitError2, Service73, locationLayer2, node76, exports_aisdk };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create3
3
- } from "./state-rdw6cm16.js";
3
+ } from "./vcs-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./state-9rqn6x4v.js";
6
+ } from "./vcs-9rqn6x4v.js";
7
7
 
8
8
  // src/image.ts
9
9
  var exports_image2 = {};
@@ -11,9 +11,9 @@ __export(exports_image2, {
11
11
  DecodeError: () => DecodeError2,
12
12
  Image: () => exports_image2,
13
13
  ResizerUnavailableError: () => ResizerUnavailableError2,
14
- Service: () => Service49,
14
+ Service: () => Service36,
15
15
  SizeError: () => SizeError2,
16
- node: () => node53
16
+ node: () => node39
17
17
  });
18
18
  import { makeLocationNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
42
42
  }
43
43
  }
44
44
 
45
- class Service49 extends Context.Service()("@opencode/Image") {
45
+ class Service36 extends Context.Service()("@opencode/Image") {
46
46
  }
47
- var layer = Layer.effect(Service49, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service36, Effect.gen(function* () {
48
48
  const state = create3({
49
49
  name: "image",
50
50
  initial: () => ({
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
74
74
  const normalize = yield* loadAdapter;
75
75
  return yield* normalize(resource, content, state.get());
76
76
  });
77
- return Service49.of({ transform: state.transform, reload: state.reload, normalize });
77
+ return Service36.of({ transform: state.transform, reload: state.reload, normalize });
78
78
  }));
79
- var node53 = makeLocationNode({ service: Service49, layer, deps: [] });
79
+ var node39 = makeLocationNode({ service: Service36, layer, deps: [] });
80
80
 
81
- export { ResizerUnavailableError2, DecodeError2, SizeError2, Service49, node53, exports_image2 };
81
+ export { ResizerUnavailableError2, DecodeError2, SizeError2, Service36, node39, exports_image2 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  create3
3
- } from "./state-rdw6cm16.js";
3
+ } from "./vcs-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./state-9rqn6x4v.js";
6
+ } from "./vcs-9rqn6x4v.js";
7
7
 
8
8
  // src/filesystem/location-watcher-policy.ts
9
9
  var exports_location_watcher_policy = {};
10
10
  __export(exports_location_watcher_policy, {
11
11
  LocationWatcherPolicy: () => exports_location_watcher_policy,
12
- Service: () => Service12,
13
- node: () => node14
12
+ Service: () => Service11,
13
+ node: () => node13
14
14
  });
15
15
  import { makeLocationNode } from "@opencode/util/effect/app-node";
16
16
  import { Context, Effect, Layer, Scope } from "effect";
17
- class Service12 extends Context.Service()("@opencode/LocationWatcherPolicy") {
17
+ class Service11 extends Context.Service()("@opencode/LocationWatcherPolicy") {
18
18
  }
19
- var layer = Layer.effect(Service12, Effect.gen(function* () {
19
+ var layer = Layer.effect(Service11, Effect.gen(function* () {
20
20
  const listeners = new Set;
21
21
  const state = create3({
22
22
  name: "location-watcher-policy",
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
41
41
  yield* Scope.addFinalizer(scope, dispose);
42
42
  return { dispose };
43
43
  });
44
- return Service12.of({
44
+ return Service11.of({
45
45
  transform: state.transform,
46
46
  reload: state.reload,
47
47
  current,
48
48
  observe
49
49
  });
50
50
  }));
51
- var node14 = makeLocationNode({ service: Service12, layer, deps: [] });
51
+ var node13 = makeLocationNode({ service: Service11, layer, deps: [] });
52
52
 
53
- export { Service12, node14, exports_location_watcher_policy };
53
+ export { Service11, node13, exports_location_watcher_policy };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  collectBoundedResponseBody2
3
- } from "./state-3v8g72cx.js";
3
+ } from "./vcs-3v8g72cx.js";
4
4
  import {
5
5
  __export
6
- } from "./state-9rqn6x4v.js";
6
+ } from "./vcs-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/mcp.ts
9
9
  var exports_mcp = {};
10
10
  __export(exports_mcp, {
11
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
11
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
12
12
  WebSearchMcp: () => exports_mcp,
13
13
  call: () => call2,
14
14
  parseResponse: () => parseResponse2
15
15
  });
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest } from "effect/unstable/http";
18
- var MAX_RESPONSE_BYTES2 = 256 * 1024;
18
+ var MAX_RESPONSE_BYTES3 = 256 * 1024;
19
19
  var parseResponse2 = (body, result) => {
20
20
  const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
21
21
  const parse = (payload) => {
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
53
53
  }));
54
54
  return yield* Effect.gen(function* () {
55
55
  const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
56
- const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
56
+ const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
57
57
  return yield* parseResponse2(body.toString("utf8"), schema.output);
58
58
  }).pipe(Effect.scoped, Effect.timeoutOrElse({
59
59
  duration: Duration.seconds(25),
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
61
61
  }));
62
62
  });
63
63
 
64
- export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp };
64
+ export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./vcs-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  PluginHooks: () => exports_hooks,
9
- Service: () => Service66,
10
- node: () => node70
9
+ Service: () => Service58,
10
+ node: () => node60
11
11
  });
12
12
  import { Context, Effect, Layer, Scope } from "effect";
13
13
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
20
20
  return typeof model.providerID === "string" ? model.providerID : undefined;
21
21
  };
22
22
 
23
- class Service66 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service58 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service66, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
26
26
  const callbacks = new Map;
27
27
  const key = (domain, name) => `${domain}.${String(name)}`;
28
28
  const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
54
54
  return event;
55
55
  });
56
56
  const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
57
- return Service66.of({ has, register, trigger });
57
+ return Service58.of({ has, register, trigger });
58
58
  }));
59
- var node70 = makeLocationNode({ service: Service66, layer, deps: [] });
59
+ var node60 = makeLocationNode({ service: Service58, layer, deps: [] });
60
60
 
61
- export { Service66, node70, exports_hooks };
61
+ export { Service58, node60, exports_hooks };
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  Key3,
3
3
  removed2,
4
- make22,
4
+ make20,
5
5
  diffByKey2
6
- } from "./state-9t7a50xb.js";
6
+ } from "./vcs-rhjbct0v.js";
7
7
  import {
8
8
  Summary2,
9
9
  summarize2,
10
10
  namespaceLine2
11
- } from "./state-3fc6dm20.js";
11
+ } from "./vcs-3fc6dm20.js";
12
12
  import {
13
13
  __export
14
- } from "./state-9rqn6x4v.js";
14
+ } from "./vcs-9rqn6x4v.js";
15
15
 
16
16
  // src/codemode/instructions.ts
17
- var exports_instructions3 = {};
18
- __export(exports_instructions3, {
19
- CodeModeInstructions: () => exports_instructions3,
20
- make: () => make15,
17
+ var exports_instructions4 = {};
18
+ __export(exports_instructions4, {
19
+ CodeModeInstructions: () => exports_instructions4,
20
+ make: () => make14,
21
21
  render: () => render2,
22
- update: () => update2
22
+ update: () => update3
23
23
  });
24
24
  import { searchSignature, toolExpression } from "@opencode/codemode";
25
25
  import { Effect, Schema } from "effect";
@@ -43,7 +43,7 @@ function render2(catalog) {
43
43
  ${tools.join(`
44
44
  `)}`;
45
45
  }
46
- function update2(previous, current) {
46
+ function update3(previous, current) {
47
47
  const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
48
48
 
49
49
  ${render2(current)}`;
@@ -111,18 +111,18 @@ ${render2(current)}`;
111
111
  }
112
112
  var key = Key3.make("core/codemode");
113
113
  var codec = Schema.toCodecJson(Summary2);
114
- var make15 = (inventory) => {
114
+ var make14 = (inventory) => {
115
115
  const catalog = inventory === undefined ? removed2 : summarize2(inventory);
116
- return make22({
116
+ return make20({
117
117
  key,
118
118
  codec,
119
119
  read: Effect.succeed(catalog),
120
120
  render: {
121
121
  initial: render2,
122
- changed: update2,
122
+ changed: update3,
123
123
  removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
124
124
  }
125
125
  });
126
126
  };
127
127
 
128
- export { render2, update2, make15, exports_instructions3 };
128
+ export { render2, update3, make14, exports_instructions4 };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  definition2
3
- } from "./state-3w5fmr99.js";
3
+ } from "./vcs-3w5fmr99.js";
4
4
  import {
5
5
  __export
6
- } from "./state-9rqn6x4v.js";
6
+ } from "./vcs-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/tool-input-repair.ts
9
9
  var exports_tool_input_repair = {};
10
10
  __export(exports_tool_input_repair, {
11
- Plugin: () => Plugin16,
11
+ Plugin: () => Plugin25,
12
12
  ToolInputRepairPlugin: () => exports_tool_input_repair
13
13
  });
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Effect, Option, Predicate, Schema } from "effect";
16
16
  var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
17
17
  var maxDepth = 6;
18
- var Plugin16 = define({
18
+ var Plugin25 = define({
19
19
  id: "opencode.tool.input.repair",
20
20
  effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
21
21
  if (event.tool === "execute")
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
120
120
  return compatible ? [repaired] : value;
121
121
  }
122
122
 
123
- export { Plugin16, exports_tool_input_repair };
123
+ export { Plugin25, exports_tool_input_repair };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./vcs-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/catalog.ts
6
6
  var exports_catalog = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./state-qfa1cgps.js";
3
+ } from "./vcs-qfa1cgps.js";
4
4
 
5
5
  // src/kv/sql.ts
6
6
  import { sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  __export
3
- } from "./state-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: () => Service55,
10
- node: () => node59
9
+ Service: () => Service40,
10
+ node: () => node42
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 Service55 extends Context.Service()("@opencode/Instance") {
16
+ class Service40 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node59 = LayerNode.unbound(Service55, Node.tags.values.global);
18
+ var node42 = LayerNode.unbound(Service40, Node.tags.values.global);
19
19
 
20
- export { Service55, node59, exports_service2 };
20
+ export { Service40, node42, exports_service2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./vcs-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./vcs-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};