@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,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./state-z5v4ffb3.js";
3
+ } from "./vcs-z5v4ffb3.js";
4
4
  import {
5
- Service82,
6
- node86
7
- } from "./state-h9pcb0g7.js";
5
+ Service80,
6
+ node83
7
+ } from "./vcs-y43wzbb2.js";
8
8
  import {
9
9
  parse4,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./state-84txncab.js";
13
+ } from "./vcs-84txncab.js";
14
14
  import {
15
- Service81,
16
- node85
17
- } from "./state-v4swh9q7.js";
15
+ Service82,
16
+ node86
17
+ } from "./vcs-7jfftv5p.js";
18
18
  import {
19
19
  __export
20
- } from "./state-9rqn6x4v.js";
20
+ } from "./vcs-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service70,
33
+ Service: () => Service63,
34
34
  isError: () => isError2,
35
- node: () => node74,
35
+ node: () => node65,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service70 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service63 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service70, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service63, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
- const git = yield* Service82;
106
+ const git = yield* Service80;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service81;
110
- return Service70.of({
109
+ const kv = yield* Service82;
110
+ return Service63.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node74 = makeGlobalNode({
171
- service: Service70,
170
+ var node65 = makeGlobalNode({
171
+ service: Service63,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node85]
173
+ deps: [EffectFlock.node, FSUtil.node, node83, Global.node, node86]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service70, isError2, validateBranch2, node74, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service63, isError2, validateBranch2, node65, exports_repository_cache };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ID13
3
- } from "./state-adn16pwm.js";
3
+ } from "./vcs-dwzaxvp4.js";
4
4
 
5
5
  // src/plugin/provider/amazon-bedrock.ts
6
6
  import { Effect } from "effect";
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./state-jjqn8krh.js";
4
+ } from "./vcs-za7chhtt.js";
5
5
  import {
6
6
  latestSequence2,
7
7
  Service83,
8
8
  node87
9
- } from "./state-jh8bf3qg.js";
9
+ } from "./vcs-yx57bgcq.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./state-5t3nmthw.js";
12
+ } from "./vcs-5t3nmthw.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./state-ec1grn59.js";
15
+ } from "./vcs-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./state-cxr298sk.js";
18
+ } from "./vcs-mgpyf44b.js";
19
19
  import {
20
- Service63,
21
- node67
22
- } from "./state-van68h44.js";
20
+ Service55,
21
+ node57
22
+ } from "./vcs-xapam9zr.js";
23
23
  import {
24
- Service23,
25
- node26
26
- } from "./state-dd2ph1ae.js";
24
+ Service21,
25
+ node25
26
+ } from "./vcs-dd81mdey.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./state-tdstcens.js";
30
+ } from "./vcs-tdstcens.js";
31
31
  import {
32
32
  __export
33
- } from "./state-9rqn6x4v.js";
33
+ } from "./vcs-9rqn6x4v.js";
34
34
 
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service8,
38
+ Service: () => Service3,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
- layer: () => layer6,
42
- node: () => node10
41
+ layer: () => layer3,
42
+ node: () => node4
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
51
51
  var MAX_FIRST_MESSAGE_LENGTH = 2000;
52
52
  var titleChanged = Symbol("Session title changed");
53
53
 
54
- class Service8 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service3 extends Context.Service()("@opencode/SessionTitle") {
55
55
  }
56
56
  var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
57
57
  var isUntitled2 = (session) => isExactRootFallback({
58
58
  title: session.title,
59
59
  time: { created: DateTime.toEpochMillis(session.time.created) }
60
60
  });
61
- var layer6 = Layer.effect(Service8, Effect.gen(function* () {
61
+ var layer3 = Layer.effect(Service3, Effect.gen(function* () {
62
62
  const bus = yield* Service83;
63
63
  const llm = yield* LLMClient.Service;
64
- const context = yield* Service23;
65
- const store = yield* Service63;
64
+ const context = yield* Service21;
65
+ const store = yield* Service55;
66
66
  const db = (yield* Service84).db;
67
67
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
68
68
  const chunks = [];
@@ -145,12 +145,12 @@ Recent conversation:
145
145
  title: truncate(title)
146
146
  }, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
147
147
  });
148
- return Service8.of({ generate });
148
+ return Service3.of({ generate });
149
149
  }));
150
- var node10 = makeLocationNode({
151
- service: Service8,
152
- layer: layer6,
153
- deps: [node87, llmClient2, node26, node67, node88]
150
+ var node4 = makeLocationNode({
151
+ service: Service3,
152
+ layer: layer3,
153
+ deps: [node87, llmClient2, node25, node57, node88]
154
154
  });
155
155
 
156
- export { Service8, isUntitled2, layer6, node10, exports_title };
156
+ export { Service3, isUntitled2, layer3, node4, exports_title };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./state-z5v4ffb3.js";
3
+ } from "./vcs-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./state-9rqn6x4v.js";
6
+ } from "./vcs-9rqn6x4v.js";
7
7
 
8
8
  // src/worktree/directory.ts
9
9
  var exports_directory = {};
@@ -1,65 +1,65 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./state-jjqn8krh.js";
4
+ } from "./vcs-za7chhtt.js";
5
5
  import {
6
6
  Service83,
7
7
  node87
8
- } from "./state-jh8bf3qg.js";
8
+ } from "./vcs-yx57bgcq.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./state-pknna89w.js";
11
+ } from "./vcs-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./state-3zsf4n22.js";
14
+ } from "./vcs-3zsf4n22.js";
15
15
  import {
16
16
  __export
17
- } from "./state-9rqn6x4v.js";
17
+ } from "./vcs-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event19,
23
+ Event: () => Event18,
24
24
  External: () => External2,
25
- ID: () => ID16,
26
- Info: () => Info26,
25
+ ID: () => ID15,
26
+ Info: () => Info25,
27
27
  Key: () => Key4,
28
28
  OAuth: () => OAuth3,
29
- Service: () => Service77,
29
+ Service: () => Service76,
30
30
  Value: () => Value2,
31
- node: () => node81
31
+ node: () => node79
32
32
  });
33
33
  import { asc, desc, eq } from "drizzle-orm";
34
34
  import { Cause, Context, Effect, Layer, Schema } from "effect";
35
35
  import { Credential } from "@opencode/schema/credential";
36
36
  import { Integration } from "@opencode/schema/integration";
37
37
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
38
- var ID16 = Credential.ID;
38
+ var ID15 = Credential.ID;
39
39
  var OAuth3 = Credential.OAuth;
40
40
  var Key4 = Credential.Key;
41
41
  var External2 = Credential.External;
42
42
  var Value2 = Credential.Value;
43
- var Event19 = Credential.Event;
43
+ var Event18 = Credential.Event;
44
44
 
45
- class Info26 extends Schema.Class("Credential.Info")({
46
- id: ID16,
45
+ class Info25 extends Schema.Class("Credential.Info")({
46
+ id: ID15,
47
47
  integrationID: Integration.ID,
48
48
  label: Schema.String,
49
49
  value: Value2
50
50
  }) {
51
51
  }
52
52
 
53
- class Service77 extends Context.Service()("@opencode/Credential") {
53
+ class Service76 extends Context.Service()("@opencode/Credential") {
54
54
  }
55
- var layer = Layer.effect(Service77, Effect.gen(function* () {
55
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
56
56
  const db = (yield* Service84).db;
57
57
  const bus = yield* Service83;
58
58
  const decode = Schema.decodeUnknownSync(Value2);
59
59
  const stored = (row) => {
60
60
  if (!row.integration_id)
61
61
  return;
62
- return new Info26({
62
+ return new Info25({
63
63
  id: row.id,
64
64
  integrationID: row.integration_id,
65
65
  label: row.label,
@@ -70,7 +70,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
70
70
  const credential = stored(row);
71
71
  return credential ? [credential] : [];
72
72
  });
73
- return Service77.of({
73
+ return Service76.of({
74
74
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
75
75
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
76
76
  get: Effect.fn("Credential.get")(function* (id) {
@@ -78,8 +78,8 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
78
78
  return row ? stored(row) : undefined;
79
79
  }),
80
80
  create: Effect.fn("Credential.create")(function* (input) {
81
- const credential = new Info26({
82
- id: input.id ?? ID16.create(),
81
+ const credential = new Info25({
82
+ id: input.id ?? ID15.create(),
83
83
  integrationID: input.integrationID,
84
84
  label: input.label ?? "default",
85
85
  value: input.value
@@ -110,9 +110,9 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
110
110
  type: credential.value.type,
111
111
  active: activated
112
112
  });
113
- yield* bus.publish(Event19.Updated, {}, { global: true });
113
+ yield* bus.publish(Event18.Updated, {}, { global: true });
114
114
  if (activated)
115
- yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
115
+ yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
116
116
  return credential;
117
117
  }),
118
118
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -132,7 +132,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
132
132
  })), Effect.orDie);
133
133
  if (integrationID) {
134
134
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
135
- yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
135
+ yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
136
136
  }
137
137
  }),
138
138
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
164
164
  labelChanged: updates.label !== undefined && updates.label !== credential.label
165
165
  });
166
166
  if (updates.label !== undefined && updates.label !== credential.label)
167
- yield* bus.publish(Event19.Updated, {}, { global: true });
167
+ yield* bus.publish(Event18.Updated, {}, { global: true });
168
168
  }),
169
169
  remove: Effect.fn("Credential.remove")(function* (id) {
170
170
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -197,12 +197,12 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
197
197
  active: removed.switched,
198
198
  ...removed.switched ? { replacementID: removed.credentialID } : {}
199
199
  });
200
- yield* bus.publish(Event19.Updated, {}, { global: true });
200
+ yield* bus.publish(Event18.Updated, {}, { global: true });
201
201
  if (removed.switched)
202
- yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
202
+ yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
203
203
  })
204
204
  });
205
205
  }));
206
- var node81 = makeGlobalNode({ service: Service77, layer, deps: [node88, node87] });
206
+ var node79 = makeGlobalNode({ service: Service76, layer, deps: [node88, node87] });
207
207
 
208
- export { ID16, OAuth3, Key4, External2, Value2, Event19, Info26, Service77, node81, exports_credential };
208
+ export { ID15, OAuth3, Key4, External2, Value2, Event18, Info25, Service76, node79, exports_credential };
@@ -1,125 +1,125 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./state-jjqn8krh.js";
4
+ } from "./vcs-za7chhtt.js";
5
5
  import {
6
6
  Service83,
7
7
  node87
8
- } from "./state-jh8bf3qg.js";
8
+ } from "./vcs-yx57bgcq.js";
9
9
  import {
10
10
  SessionMessage2
11
- } from "./state-gftt206x.js";
11
+ } from "./vcs-gftt206x.js";
12
12
  import {
13
13
  StepFailedError2
14
- } from "./state-pqqhfkp1.js";
14
+ } from "./vcs-pqqhfkp1.js";
15
15
  import {
16
16
  SessionEvent2
17
- } from "./state-ec1grn59.js";
17
+ } from "./vcs-ec1grn59.js";
18
18
  import {
19
19
  SessionMessageTable2
20
- } from "./state-kb9j3d72.js";
20
+ } from "./vcs-9e5bzkjp.js";
21
21
  import {
22
22
  prepare4
23
- } from "./state-dd40s8jk.js";
23
+ } from "./vcs-s0b7t9fd.js";
24
24
  import {
25
25
  provenance2
26
- } from "./state-5dkn69vz.js";
26
+ } from "./vcs-1rn5pcm9.js";
27
27
  import {
28
28
  decodeMessageRow2,
29
29
  preview2
30
- } from "./state-cxr298sk.js";
30
+ } from "./vcs-mgpyf44b.js";
31
31
  import {
32
- Service63,
33
- node67
34
- } from "./state-van68h44.js";
32
+ Service55,
33
+ node57
34
+ } from "./vcs-xapam9zr.js";
35
35
  import {
36
- Service38,
37
- node41
38
- } from "./state-f36c7hhr.js";
36
+ Service13,
37
+ node15
38
+ } from "./vcs-b5m1msdc.js";
39
39
  import {
40
40
  llmClient2
41
- } from "./state-5t3nmthw.js";
41
+ } from "./vcs-5t3nmthw.js";
42
42
  import {
43
- Service31,
44
- node34
45
- } from "./state-g5kmhmn4.js";
43
+ Service30,
44
+ node33
45
+ } from "./vcs-kgdwkpsf.js";
46
46
  import {
47
47
  baseTranscript2
48
- } from "./state-q67nxkv9.js";
48
+ } from "./vcs-mktbbgtc.js";
49
49
  import {
50
- make11
51
- } from "./state-qygbw77c.js";
50
+ make10
51
+ } from "./vcs-b3f8fkhc.js";
52
52
  import {
53
53
  toSessionError2
54
- } from "./state-2t27atdg.js";
54
+ } from "./vcs-e04y2fwa.js";
55
55
  import {
56
- Service10,
57
- node12,
56
+ Service9,
57
+ node11,
58
58
  estimatePrompt2
59
- } from "./state-eq2t0afb.js";
59
+ } from "./vcs-wpfq0pge.js";
60
60
  import {
61
- Service23,
62
- node26
63
- } from "./state-dd2ph1ae.js";
61
+ Service21,
62
+ node25
63
+ } from "./vcs-dd81mdey.js";
64
64
  import {
65
65
  serialized2,
66
66
  nextPromotable2,
67
67
  promote2
68
- } from "./state-45cwyr7q.js";
68
+ } from "./vcs-b6kfej2e.js";
69
69
  import {
70
- Service8,
70
+ Service3,
71
71
  isUntitled2,
72
- node10
73
- } from "./state-qvkrf2sr.js";
72
+ node4
73
+ } from "./vcs-0s2jvk1v.js";
74
74
  import {
75
75
  DrainResult2,
76
- Service53
77
- } from "./state-ttqh24zm.js";
76
+ Service38
77
+ } from "./vcs-hn57h045.js";
78
78
  import {
79
- node48
80
- } from "./state-hjd5rs48.js";
79
+ node36
80
+ } from "./vcs-1sc12dm9.js";
81
81
  import {
82
- node40
83
- } from "./state-ejvnp2ks.js";
82
+ node62
83
+ } from "./vcs-et7yaydb.js";
84
84
  import {
85
85
  Outcome2,
86
- make9
87
- } from "./state-6yjat7sj.js";
86
+ make3
87
+ } from "./vcs-zktyrv2e.js";
88
88
  import {
89
- Service28
90
- } from "./state-ht5y0zrb.js";
89
+ Service27
90
+ } from "./vcs-1x11rq2a.js";
91
91
  import {
92
92
  node21
93
- } from "./state-mvatweg5.js";
93
+ } from "./vcs-s4kvt3fr.js";
94
94
  import {
95
95
  MAX_STEPS_PROMPT2
96
- } from "./state-y44na4kk.js";
96
+ } from "./vcs-y44na4kk.js";
97
97
  import {
98
98
  __export
99
- } from "./state-9rqn6x4v.js";
99
+ } from "./vcs-9rqn6x4v.js";
100
100
 
101
101
  // src/session/runner/llm.ts
102
102
  var exports_llm = {};
103
103
  __export(exports_llm, {
104
104
  SessionRunnerLLM: () => exports_llm,
105
- node: () => node9
105
+ node: () => node3
106
106
  });
107
107
  import { Message } from "@opencode/ai";
108
108
  import { and, desc, eq, sql } from "drizzle-orm";
109
109
  import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
110
110
  import { makeLocationNode } from "@opencode/util/effect/app-node";
111
111
  var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
112
- var layer = Layer.effect(Service53, Effect.gen(function* () {
112
+ var layer = Layer.effect(Service38, Effect.gen(function* () {
113
113
  const bus = yield* Service83;
114
- const lifecycle = yield* Service38;
115
- const store = yield* Service63;
116
- const context = yield* Service23;
117
- const modelTransport = yield* Service31;
114
+ const lifecycle = yield* Service13;
115
+ const store = yield* Service55;
116
+ const context = yield* Service21;
117
+ const modelTransport = yield* Service30;
118
118
  const db = (yield* Service84).db;
119
- const compaction = yield* Service10;
120
- const plugins = yield* Service28;
121
- const title = yield* Service8;
122
- const steps = yield* make9;
119
+ const compaction = yield* Service9;
120
+ const plugins = yield* Service27;
121
+ const title = yield* Service3;
122
+ const steps = yield* make3;
123
123
  const titles = yield* FiberMap.make();
124
124
  const drain = Effect.fn("SessionRunner.drain")(function* (input) {
125
125
  const sessionID = input.sessionID;
@@ -240,7 +240,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
240
240
  const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
241
241
  const sessionID = first.session.id;
242
242
  let assistantMessageID = SessionMessage2.ID.create();
243
- const retry = yield* make11(bus, sessionID);
243
+ const retry = yield* make10(bus, sessionID);
244
244
  let initial = first;
245
245
  let recoverOverflow = true;
246
246
  let recoverContinuation = true;
@@ -356,25 +356,25 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
356
356
  }
357
357
  }
358
358
  });
359
- return Service53.of({ drain });
359
+ return Service38.of({ drain });
360
360
  }));
361
- var node9 = makeLocationNode({
362
- service: Service53,
361
+ var node3 = makeLocationNode({
362
+ service: Service38,
363
363
  layer,
364
364
  deps: [
365
365
  node87,
366
- node41,
366
+ node15,
367
367
  llmClient2,
368
- node26,
369
- node34,
370
- node67,
371
- node12,
368
+ node25,
369
+ node33,
370
+ node57,
371
+ node11,
372
372
  node21,
373
- node10,
374
- node48,
375
- node40,
373
+ node4,
374
+ node36,
375
+ node62,
376
376
  node88
377
377
  ]
378
378
  });
379
379
 
380
- export { node9, exports_llm };
380
+ export { node3, exports_llm };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./vcs-9rqn6x4v.js";
4
4
 
5
5
  // src/session/run-coordinator.ts
6
6
  var exports_run_coordinator = {};
7
7
  __export(exports_run_coordinator, {
8
8
  SessionRunCoordinator: () => exports_run_coordinator,
9
- make: () => make19
9
+ make: () => make17
10
10
  });
11
11
  import { Deferred, Effect, Fiber, FiberSet } from "effect";
12
- var make19 = (options) => Effect.gen(function* () {
12
+ var make17 = (options) => Effect.gen(function* () {
13
13
  const executions = new Map;
14
14
  const fork = yield* FiberSet.makeRuntime();
15
15
  const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
@@ -89,4 +89,4 @@ var make19 = (options) => Effect.gen(function* () {
89
89
  };
90
90
  });
91
91
 
92
- export { make19, exports_run_coordinator };
92
+ export { make17, exports_run_coordinator };
@@ -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/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service3,
9
+ Service: () => Service8,
10
10
  bound: () => bound2,
11
- node: () => node4
11
+ node: () => node10
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service3 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service8 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node4 = makeLocationNode({
19
- service: Service3,
18
+ var node10 = makeLocationNode({
19
+ service: Service8,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service3, Service3.of({ all: () => stamped }));
29
+ return Layer.succeed(Service8, Service8.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service3, node4, bound2, exports_instance2 };
32
+ export { Service8, node10, bound2, exports_instance2 };