@opencode/core 0.0.0-dev-20851 → 0.0.0-dev-20852

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (788) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/vcs-086esqp9.js +26 -0
  8. package/dist/chunks/{form-7hzcx47x.js → vcs-0csrw0rg.js} +3 -3
  9. package/dist/chunks/{form-w5fskeg8.js → vcs-0htv3dc9.js} +11 -11
  10. package/dist/chunks/{form-qsvm9x85.js → vcs-0mgfbfk9.js} +15 -15
  11. package/dist/chunks/{form-tf3yab8x.js → vcs-0pfazcqt.js} +5 -5
  12. package/dist/chunks/{form-cw3k6n42.js → vcs-0pr9mksw.js} +18 -18
  13. package/dist/chunks/{form-waz12cep.js → vcs-0sfv069z.js} +8 -8
  14. package/dist/chunks/{form-82n0fy7d.js → vcs-0tknss5k.js} +4 -4
  15. package/dist/chunks/{form-0vbcp93d.js → vcs-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{form-8fydwx36.js → vcs-0vga355r.js} +26 -26
  17. package/dist/chunks/{form-tnd9dnxn.js → vcs-15s9tzxd.js} +24 -24
  18. package/dist/chunks/{form-vma9t5wb.js → vcs-19mmt9jm.js} +4 -4
  19. package/dist/chunks/{form-f2vdq2p6.js → vcs-1b7t08e4.js} +3 -3
  20. package/dist/chunks/{form-z2e4rrbn.js → vcs-1g5yqc8z.js} +16 -16
  21. package/dist/chunks/{form-5fyr2d0m.js → vcs-1j76fkgm.js} +13 -13
  22. package/dist/chunks/{form-k3s4mzc3.js → vcs-1ma3nf4z.js} +3 -3
  23. package/dist/chunks/{form-wh6zw745.js → vcs-1pxz8ven.js} +5 -5
  24. package/dist/chunks/{form-rmbkajqw.js → vcs-1r3s6wg0.js} +21 -21
  25. package/dist/chunks/{form-zee1rnkq.js → vcs-1vezggaq.js} +4 -4
  26. package/dist/chunks/{form-k0x9c2f3.js → vcs-20fcqj0r.js} +8 -8
  27. package/dist/chunks/{form-qq2m2wf4.js → vcs-235km5t5.js} +8 -8
  28. package/dist/chunks/{form-hjqck59g.js → vcs-26f3rcp3.js} +30 -30
  29. package/dist/chunks/{form-av3m5zjn.js → vcs-2fgx34m2.js} +20 -20
  30. package/dist/chunks/{form-2k8khapm.js → vcs-2k8khapm.js} +1 -1
  31. package/dist/chunks/{form-g3fthk25.js → vcs-2kad87fd.js} +10 -10
  32. package/dist/chunks/{form-2vvh33eb.js → vcs-2vvh33eb.js} +2 -2
  33. package/dist/chunks/{form-31xfzrxg.js → vcs-31xfzrxg.js} +2 -2
  34. package/dist/chunks/{form-3fc6dm20.js → vcs-3fc6dm20.js} +1 -1
  35. package/dist/chunks/{form-8dbkkhxs.js → vcs-3fz6v6g7.js} +36 -36
  36. package/dist/chunks/{form-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{form-3hwn7j4h.js → vcs-3hwn7j4h.js} +2 -2
  38. package/dist/chunks/{form-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
  39. package/dist/chunks/{form-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{form-0x8nqgp6.js → vcs-3zbnw38w.js} +69 -69
  41. package/dist/chunks/{form-3zsf4n22.js → vcs-3zsf4n22.js} +1 -1
  42. package/dist/chunks/{form-47jkzegy.js → vcs-47jkzegy.js} +2 -2
  43. package/dist/chunks/{form-x8gz1y8e.js → vcs-481njsdn.js} +8 -8
  44. package/dist/chunks/{form-g4y5gz37.js → vcs-4987t165.js} +6 -6
  45. package/dist/chunks/{form-5njrdk08.js → vcs-4dgw1k7b.js} +37 -37
  46. package/dist/chunks/{form-ybqrzh0b.js → vcs-4dnfqdak.js} +8 -8
  47. package/dist/chunks/{form-thc86arw.js → vcs-4e8w5bh1.js} +45 -45
  48. package/dist/chunks/{form-wereqxyc.js → vcs-4hefet2q.js} +35 -35
  49. package/dist/chunks/{form-qyc8th6x.js → vcs-4mzh11ac.js} +16 -16
  50. package/dist/chunks/{form-k9d4b4p7.js → vcs-4swtwscf.js} +6 -6
  51. package/dist/chunks/{form-1vw01wqx.js → vcs-4t573r9z.js} +9 -9
  52. package/dist/chunks/{form-4ts7tf6z.js → vcs-4ts7tf6z.js} +2 -2
  53. package/dist/chunks/{form-d7x0sh0y.js → vcs-4xdpab2z.js} +9 -9
  54. package/dist/chunks/{form-54ma36ye.js → vcs-54ma36ye.js} +1 -1
  55. package/dist/chunks/{form-7epd78eg.js → vcs-55q4pg3x.js} +3 -3
  56. package/dist/chunks/{form-yb8yygge.js → vcs-59t8e9hp.js} +16 -16
  57. package/dist/chunks/{form-5jq5wt6a.js → vcs-5a6bdb3h.js} +12 -12
  58. package/dist/chunks/{form-m6w2zr8w.js → vcs-5dwrf02m.js} +13 -13
  59. package/dist/chunks/{form-5m9w47nd.js → vcs-5m9w47nd.js} +1 -1
  60. package/dist/chunks/{form-8y31xnqm.js → vcs-5nrew705.js} +5 -5
  61. package/dist/chunks/{form-gccjnz6h.js → vcs-5pyjqqve.js} +2 -2
  62. package/dist/chunks/{form-kdqphf6x.js → vcs-5q25jc76.js} +3 -3
  63. package/dist/chunks/{form-3zftvv2w.js → vcs-5t6ehpr6.js} +50 -50
  64. package/dist/chunks/{form-j8egbxqg.js → vcs-64x317sc.js} +27 -27
  65. package/dist/chunks/{form-mccv6fhs.js → vcs-6m2e7bc8.js} +3 -3
  66. package/dist/chunks/{form-91f6g28x.js → vcs-6mpsqnn8.js} +5 -5
  67. package/dist/chunks/{form-m5ja7mh0.js → vcs-6t6pa95g.js} +7 -7
  68. package/dist/chunks/{form-55b95wm6.js → vcs-6vw52h41.js} +18 -18
  69. package/dist/chunks/{form-x6r13a6v.js → vcs-6x8j28ta.js} +19 -19
  70. package/dist/chunks/{form-6xb47vfp.js → vcs-6xb47vfp.js} +1 -1
  71. package/dist/chunks/{form-qrhtqstp.js → vcs-719fesem.js} +9 -9
  72. package/dist/chunks/{form-tsn6bzsd.js → vcs-74kk7wxm.js} +11 -11
  73. package/dist/chunks/{form-bmr4bg0q.js → vcs-75v81xpy.js} +13 -13
  74. package/dist/chunks/{form-2sejkfem.js → vcs-79qaa2kf.js} +9 -9
  75. package/dist/chunks/{form-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{form-4eb95kkt.js → vcs-7enwnqx2.js} +15 -15
  77. package/dist/chunks/{form-68x95car.js → vcs-7gx1y4bm.js} +15 -15
  78. package/dist/chunks/{form-6pg3w5wa.js → vcs-7k8ewqsg.js} +32 -32
  79. package/dist/chunks/{form-wyafh0w1.js → vcs-7zp1n7a7.js} +18 -18
  80. package/dist/chunks/{form-qx0zpr7q.js → vcs-84p0rsy4.js} +20 -20
  81. package/dist/chunks/{form-84txncab.js → vcs-84txncab.js} +1 -1
  82. package/dist/chunks/{form-yrk8qwt0.js → vcs-87s4pnn4.js} +8 -8
  83. package/dist/chunks/{form-jxz0pj49.js → vcs-8dp3qddt.js} +19 -19
  84. package/dist/chunks/{form-j2s3779n.js → vcs-8h02xmj1.js} +4 -4
  85. package/dist/chunks/{form-p6bre1gz.js → vcs-8hzxhjgv.js} +10 -10
  86. package/dist/chunks/{form-8m6m0r52.js → vcs-8m6m0r52.js} +1 -1
  87. package/dist/chunks/{form-ssaew880.js → vcs-8mdjf4ye.js} +19 -19
  88. package/dist/chunks/{form-f31xyhx6.js → vcs-8mjwj69h.js} +24 -24
  89. package/dist/chunks/{form-9t8mnttq.js → vcs-913zs37e.js} +17 -17
  90. package/dist/chunks/{form-kbmnqt40.js → vcs-91nc53vq.js} +33 -33
  91. package/dist/chunks/{form-91qna3x0.js → vcs-91qna3x0.js} +3 -3
  92. package/dist/chunks/{form-gjkgbs04.js → vcs-92c95a58.js} +30 -30
  93. package/dist/chunks/{form-zrkdjkwg.js → vcs-9arrdvcr.js} +8 -8
  94. package/dist/chunks/{form-k0a83kw0.js → vcs-9f8e2eft.js} +10 -10
  95. package/dist/chunks/{form-0c2d7m56.js → vcs-a1z3z3g0.js} +9 -9
  96. package/dist/chunks/{form-sm0ksd3h.js → vcs-a3zwd18q.js} +12 -12
  97. package/dist/chunks/{form-va0k404r.js → vcs-a52aq9pv.js} +16 -16
  98. package/dist/chunks/{form-vgb5yh0c.js → vcs-acv6agwm.js} +35 -35
  99. package/dist/chunks/{form-addxnjmp.js → vcs-addxnjmp.js} +1 -1
  100. package/dist/chunks/{form-0sakkys5.js → vcs-arj5enh2.js} +10 -10
  101. package/dist/chunks/{form-n0tq777j.js → vcs-at1kfnmk.js} +8 -8
  102. package/dist/chunks/{form-nd57m68f.js → vcs-b0tzr3db.js} +25 -25
  103. package/dist/chunks/{form-7pk2fpkr.js → vcs-b1tttxvj.js} +18 -18
  104. package/dist/chunks/{form-zyk1yjk8.js → vcs-b3f8fkhc.js} +5 -5
  105. package/dist/chunks/{form-21r0j0k4.js → vcs-bc7rc02h.js} +30 -30
  106. package/dist/chunks/{form-g7swxvb3.js → vcs-bddt2pqj.js} +9 -9
  107. package/dist/chunks/{form-1bnbz8vf.js → vcs-bnxe6qt4.js} +32 -32
  108. package/dist/chunks/{form-kdxfwdry.js → vcs-bqk49rdk.js} +11 -11
  109. package/dist/chunks/{form-9zhh23v8.js → vcs-bsprd9wx.js} +3 -3
  110. package/dist/chunks/{form-rj3eygr5.js → vcs-c41wscbt.js} +2 -2
  111. package/dist/chunks/{form-dkz4h62m.js → vcs-c4bpxzyg.js} +2 -2
  112. package/dist/chunks/{form-sa8ekw3f.js → vcs-c8ax2afj.js} +2 -2
  113. package/dist/chunks/{form-naz1hppr.js → vcs-ccwyehyt.js} +11 -11
  114. package/dist/chunks/{form-y5rf7nzv.js → vcs-cp937pt4.js} +4 -4
  115. package/dist/chunks/{form-e5f8kc24.js → vcs-cscq17wm.js} +9 -9
  116. package/dist/chunks/{form-myqp0ysx.js → vcs-d1hzem4k.js} +36 -36
  117. package/dist/chunks/{form-jgtkz6r6.js → vcs-d4k6vvjm.js} +1 -1
  118. package/dist/chunks/{form-x8p4rg84.js → vcs-dek0q3p9.js} +45 -45
  119. package/dist/chunks/{form-44w2dvnf.js → vcs-dks7depp.js} +12 -12
  120. package/dist/chunks/{form-dpkg50ah.js → vcs-dpkg50ah.js} +1 -1
  121. package/dist/chunks/{form-xfkkasph.js → vcs-drwq78ky.js} +4 -4
  122. package/dist/chunks/{form-322x12bj.js → vcs-dv7vdq8f.js} +10 -10
  123. package/dist/chunks/{form-ya10tbyq.js → vcs-e0ck1vyz.js} +27 -27
  124. package/dist/chunks/{form-c33qfg7v.js → vcs-e0s5vzwf.js} +47 -47
  125. package/dist/chunks/{form-kjwtb2ft.js → vcs-e322j8vf.js} +6 -6
  126. package/dist/chunks/{form-17xaq5pa.js → vcs-e7max901.js} +47 -47
  127. package/dist/chunks/{form-eej6y6fw.js → vcs-eej6y6fw.js} +2 -2
  128. package/dist/chunks/{form-ef5x83kb.js → vcs-ef5x83kb.js} +1 -1
  129. package/dist/chunks/{form-pxm319h1.js → vcs-eg7g03rw.js} +7 -7
  130. package/dist/chunks/{form-668vd0mr.js → vcs-egxa6wef.js} +34 -34
  131. package/dist/chunks/{form-taktjfvt.js → vcs-ekvengxv.js} +16 -16
  132. package/dist/chunks/{form-tpvm8jgs.js → vcs-epvhvayn.js} +11 -11
  133. package/dist/chunks/{form-c1fqxshp.js → vcs-es1vcfrp.js} +3 -3
  134. package/dist/chunks/{form-p4mj4rdp.js → vcs-eys57y9b.js} +8 -8
  135. package/dist/chunks/{form-dgteecst.js → vcs-f104y2wp.js} +16 -16
  136. package/dist/chunks/{form-82jy7me2.js → vcs-f6ehv80r.js} +21 -21
  137. package/dist/chunks/{form-99g2q9zd.js → vcs-f7v1be6r.js} +11 -11
  138. package/dist/chunks/{form-af6zfhme.js → vcs-f8enj7d3.js} +4 -4
  139. package/dist/chunks/{form-38005zny.js → vcs-f8xes8ea.js} +31 -31
  140. package/dist/chunks/{form-s0skt53x.js → vcs-fc20vwn7.js} +32 -32
  141. package/dist/chunks/{form-tqshb1vy.js → vcs-fjtjx80y.js} +40 -40
  142. package/dist/chunks/{form-v0es1rhs.js → vcs-fpecnkgp.js} +9 -9
  143. package/dist/chunks/{form-1w2wqhfv.js → vcs-fxaymqdw.js} +4 -4
  144. package/dist/chunks/{form-a00fgwp6.js → vcs-fym2egaf.js} +159 -159
  145. package/dist/chunks/{form-gk5356zs.js → vcs-g1kbbzwv.js} +15 -15
  146. package/dist/chunks/{form-7rasn972.js → vcs-g1stf5ec.js} +11 -11
  147. package/dist/chunks/{form-5xz0dphx.js → vcs-g7sqgjk5.js} +17 -17
  148. package/dist/chunks/{form-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{form-gk8qb678.js → vcs-gk8qb678.js} +1 -1
  150. package/dist/chunks/{form-0xjmb4aw.js → vcs-gkpc65z4.js} +52 -52
  151. package/dist/chunks/{form-byjy60w7.js → vcs-gmcw3ffg.js} +24 -24
  152. package/dist/chunks/{form-k7c61qyd.js → vcs-gnf6a704.js} +3 -3
  153. package/dist/chunks/{form-yjytrvhv.js → vcs-h2sbe1zw.js} +21 -21
  154. package/dist/chunks/{form-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
  155. package/dist/chunks/{form-7d1jjv33.js → vcs-h73xewvj.js} +8 -8
  156. package/dist/chunks/{form-1jq22t41.js → vcs-hdtf1423.js} +9 -9
  157. package/dist/chunks/{form-xybefm6f.js → vcs-he27pt63.js} +1 -1
  158. package/dist/chunks/{form-hgz4x7wa.js → vcs-hgz4x7wa.js} +1 -1
  159. package/dist/chunks/{form-95m8db81.js → vcs-hhasc4wk.js} +11 -11
  160. package/dist/chunks/{form-bk4r6et7.js → vcs-hne8beqj.js} +14 -14
  161. package/dist/chunks/{form-vfsj0jkk.js → vcs-hqsnmgn9.js} +41 -41
  162. package/dist/chunks/{form-1dtmr12w.js → vcs-hs4jhd8t.js} +14 -14
  163. package/dist/chunks/{form-h0vknvkg.js → vcs-hwbqs4aj.js} +5 -5
  164. package/dist/chunks/{form-j56e64zr.js → vcs-j56e64zr.js} +1 -1
  165. package/dist/chunks/{form-enm4z0yr.js → vcs-j8hse5kh.js} +8 -8
  166. package/dist/chunks/{form-a9t50ty0.js → vcs-jdpcmxaq.js} +5 -5
  167. package/dist/chunks/{form-hvydwdba.js → vcs-jpts0yk4.js} +10 -10
  168. package/dist/chunks/{form-v5ab8yn1.js → vcs-jrrjh5qh.js} +4 -4
  169. package/dist/chunks/{form-0y615900.js → vcs-js4prka5.js} +331 -331
  170. package/dist/chunks/{form-9hry9nma.js → vcs-kmqyv7tr.js} +28 -28
  171. package/dist/chunks/{form-ba52ty8f.js → vcs-ksa5enky.js} +46 -46
  172. package/dist/chunks/{form-zb363yrd.js → vcs-kzr4d4yx.js} +8 -8
  173. package/dist/chunks/{form-jc31vf16.js → vcs-m82p2ea3.js} +16 -16
  174. package/dist/chunks/{form-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
  175. package/dist/chunks/{form-5hsh8mcs.js → vcs-mbtj9ds6.js} +23 -23
  176. package/dist/chunks/{form-smk4c7dc.js → vcs-n5cyx6pm.js} +3 -3
  177. package/dist/chunks/{form-azra3wqg.js → vcs-nc5zv3b6.js} +26 -26
  178. package/dist/chunks/{form-006m7k99.js → vcs-ncrc9mqf.js} +40 -40
  179. package/dist/chunks/{form-2g5cprqg.js → vcs-ndgjjs73.js} +21 -21
  180. package/dist/chunks/{form-e7he988n.js → vcs-nezpkvx6.js} +14 -14
  181. package/dist/chunks/{form-sxcaecc0.js → vcs-nma959mg.js} +3 -3
  182. package/dist/chunks/{form-bfegkxfd.js → vcs-npw39rc8.js} +8 -8
  183. package/dist/chunks/{form-cbs81czz.js → vcs-nsh8sgfc.js} +10 -10
  184. package/dist/chunks/{form-fb1qtx5j.js → vcs-nwehx7ay.js} +20 -20
  185. package/dist/chunks/{form-xcxmemts.js → vcs-nztkk7wb.js} +13 -13
  186. package/dist/chunks/{form-c1wvkdzc.js → vcs-p4y3j28t.js} +4 -4
  187. package/dist/chunks/{form-d3y6n0b6.js → vcs-p9d0rdr1.js} +4 -4
  188. package/dist/chunks/{form-wjrwvqye.js → vcs-pagt2a0d.js} +15 -15
  189. package/dist/chunks/{form-zgrr8q45.js → vcs-pe0mrp9z.js} +5 -5
  190. package/dist/chunks/vcs-pf31ssb9.js +18 -0
  191. package/dist/chunks/{form-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
  192. package/dist/chunks/{form-pknna89w.js → vcs-pknna89w.js} +1 -1
  193. package/dist/chunks/{form-321x2wtd.js → vcs-prmgem5b.js} +6 -6
  194. package/dist/chunks/{form-06pebr32.js → vcs-psw5e8qw.js} +31 -31
  195. package/dist/chunks/{form-q0xm7vwc.js → vcs-q0xm7vwc.js} +2 -2
  196. package/dist/chunks/{form-ht6dr56k.js → vcs-q1v8m7mv.js} +3 -3
  197. package/dist/chunks/{form-pc5383ba.js → vcs-q8grz0g8.js} +16 -16
  198. package/dist/chunks/{form-g8g0s57g.js → vcs-qg4yzkf6.js} +17 -17
  199. package/dist/chunks/{form-9y14qb5r.js → vcs-qjva7zsb.js} +17 -17
  200. package/dist/chunks/{form-0cg871e2.js → vcs-qjx1ax0j.js} +5 -5
  201. package/dist/chunks/{form-6cv38wn1.js → vcs-qkh4a7bk.js} +13 -13
  202. package/dist/chunks/{form-k5g5emw9.js → vcs-qkxbda19.js} +11 -11
  203. package/dist/chunks/{form-qnc92qwc.js → vcs-qnc92qwc.js} +1 -1
  204. package/dist/chunks/{form-qsdy395h.js → vcs-qsdy395h.js} +1 -1
  205. package/dist/chunks/{form-kvh3hn5p.js → vcs-r0a53c5q.js} +9 -9
  206. package/dist/chunks/{form-kfdd03hd.js → vcs-r1apfhp5.js} +15 -15
  207. package/dist/chunks/{form-3n03h225.js → vcs-r3vzrrgx.js} +5 -5
  208. package/dist/chunks/{form-6s49h116.js → vcs-r3z16319.js} +24 -24
  209. package/dist/chunks/{form-2s64xept.js → vcs-r9vn4tjy.js} +86 -86
  210. package/dist/chunks/{form-rdw6cm16.js → vcs-rdw6cm16.js} +1 -1
  211. package/dist/chunks/{form-rhjbct0v.js → vcs-rhjbct0v.js} +1 -1
  212. package/dist/chunks/{form-1acjjqhc.js → vcs-rhraev7y.js} +4 -4
  213. package/dist/chunks/{form-py3kkmfq.js → vcs-rkprpv83.js} +2 -2
  214. package/dist/chunks/{form-79v2228v.js → vcs-rwrxn7zv.js} +11 -11
  215. package/dist/chunks/{form-xhw8kcgn.js → vcs-rxws6bhm.js} +11 -11
  216. package/dist/chunks/{form-6hh8tjw2.js → vcs-ryr25ayn.js} +4 -4
  217. package/dist/chunks/{form-av8tazrm.js → vcs-s6p21de5.js} +16 -16
  218. package/dist/chunks/{form-w32deh41.js → vcs-s99vwkcp.js} +26 -26
  219. package/dist/chunks/{form-1va1wqh8.js → vcs-scx6fy7g.js} +13 -13
  220. package/dist/chunks/{form-j0pd759q.js → vcs-snenmxcf.js} +5 -5
  221. package/dist/chunks/{form-e288s6x8.js → vcs-ssejya2c.js} +22 -22
  222. package/dist/chunks/{form-8ca0q5ge.js → vcs-swn7sb9g.js} +28 -28
  223. package/dist/chunks/{form-syv4x271.js → vcs-syv4x271.js} +1 -1
  224. package/dist/chunks/{form-bmr56wjg.js → vcs-sz15zhhw.js} +4 -4
  225. package/dist/chunks/{form-adn6ewvy.js → vcs-t0mdjq8w.js} +27 -27
  226. package/dist/chunks/{form-rsjne1k7.js → vcs-t0nn02sh.js} +21 -21
  227. package/dist/chunks/{form-symeabce.js → vcs-t2n2tt0m.js} +15 -15
  228. package/dist/chunks/{form-sp67p2pt.js → vcs-tav3j76w.js} +7 -7
  229. package/dist/chunks/{form-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{form-tcezcvh9.js → vcs-tcezcvh9.js} +1 -1
  231. package/dist/chunks/{form-tdstcens.js → vcs-tdstcens.js} +1 -1
  232. package/dist/chunks/{form-9y2q36e8.js → vcs-tjc13hta.js} +11 -11
  233. package/dist/chunks/{form-v1bss4wk.js → vcs-tjv4f2cx.js} +89 -89
  234. package/dist/chunks/{form-yk3d35tb.js → vcs-tjvrccee.js} +19 -19
  235. package/dist/chunks/{form-rert0e01.js → vcs-tkb22qbm.js} +2 -2
  236. package/dist/chunks/{form-tm0kqsz3.js → vcs-tm0kqsz3.js} +1 -1
  237. package/dist/chunks/{form-s3jsmpzc.js → vcs-twez2640.js} +3 -3
  238. package/dist/chunks/{form-xt43jwrv.js → vcs-ty18q8bq.js} +29 -29
  239. package/dist/chunks/{form-tyytaxap.js → vcs-tyytaxap.js} +1 -1
  240. package/dist/chunks/{form-pb3at1xs.js → vcs-tztvcf3n.js} +18 -18
  241. package/dist/chunks/{form-v7p4zvkq.js → vcs-v7p4zvkq.js} +2 -2
  242. package/dist/chunks/{form-rr2j5meq.js → vcs-v7qp4w0s.js} +4 -4
  243. package/dist/chunks/{form-1b0mmj8d.js → vcs-va69yy5s.js} +32 -32
  244. package/dist/chunks/{form-veqvce7d.js → vcs-veqvce7d.js} +1 -1
  245. package/dist/chunks/{form-v5kdx147.js → vcs-vgvem2mc.js} +12 -12
  246. package/dist/chunks/{form-9ddc3956.js → vcs-vwvqks9y.js} +3 -3
  247. package/dist/chunks/{form-58072hz9.js → vcs-vx3jgdek.js} +3 -3
  248. package/dist/chunks/{form-r540veg5.js → vcs-vysf6yst.js} +43 -43
  249. package/dist/chunks/{form-vzs5sf6e.js → vcs-vzs5sf6e.js} +1 -1
  250. package/dist/chunks/{form-pdgy07wn.js → vcs-w19yfnah.js} +13 -13
  251. package/dist/chunks/{form-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/vcs-w8rb82bd.js +253 -0
  253. package/dist/chunks/{form-3a1kt8mx.js → vcs-wavsan29.js} +17 -17
  254. package/dist/chunks/{form-64mfqs5m.js → vcs-wc0vytja.js} +36 -36
  255. package/dist/chunks/{form-wd87259q.js → vcs-wd87259q.js} +1 -1
  256. package/dist/chunks/{form-jewzahs7.js → vcs-wj76ss2k.js} +4 -4
  257. package/dist/chunks/{form-x4mcqtmr.js → vcs-wyjf03zf.js} +13 -13
  258. package/dist/chunks/{form-k3xk6ajn.js → vcs-x01a3e41.js} +9 -9
  259. package/dist/chunks/{form-yh6ztjf0.js → vcs-x1w8kz1j.js} +11 -11
  260. package/dist/chunks/{form-yemq3d8b.js → vcs-x8cycxf4.js} +6 -6
  261. package/dist/chunks/{form-hw0zxg35.js → vcs-xbbfye0x.js} +16 -16
  262. package/dist/chunks/{form-pp84f3ng.js → vcs-xbe1xf1p.js} +14 -14
  263. package/dist/chunks/{form-y56ehv6b.js → vcs-xrpg47n6.js} +9 -9
  264. package/dist/chunks/{form-80yv71a5.js → vcs-xsg53x9j.js} +13 -13
  265. package/dist/chunks/{form-3b9qt4hj.js → vcs-xsgk3b13.js} +9 -9
  266. package/dist/chunks/{form-xk7wqgj3.js → vcs-xtcapa33.js} +14 -14
  267. package/dist/chunks/{form-vs44tbz6.js → vcs-xwey7zsm.js} +4 -4
  268. package/dist/chunks/{form-trqre4ge.js → vcs-y0bqer6n.js} +7 -7
  269. package/dist/chunks/{form-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{form-get0s9tp.js → vcs-y76kf4sb.js} +25 -25
  271. package/dist/chunks/{form-kck1ngxs.js → vcs-y9zen75t.js} +28 -28
  272. package/dist/chunks/{form-fhpwjwfp.js → vcs-yczg0ak8.js} +11 -11
  273. package/dist/chunks/{form-ywt8jp22.js → vcs-ywt8jp22.js} +2 -2
  274. package/dist/chunks/{form-bhxjw60r.js → vcs-yxp99xgz.js} +20 -20
  275. package/dist/chunks/{form-wmqffk39.js → vcs-yzq5b05t.js} +9 -9
  276. package/dist/chunks/{form-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{form-gnmx4hex.js → vcs-z2hqca5m.js} +15 -15
  278. package/dist/chunks/{form-t7jdn7q3.js → vcs-z4656w27.js} +25 -25
  279. package/dist/chunks/{form-zy2t3ddk.js → vcs-z539r0a3.js} +4 -4
  280. package/dist/chunks/{form-6t11chne.js → vcs-zjdd0gds.js} +1 -1
  281. package/dist/chunks/{form-zr2ceqn5.js → vcs-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{form-d2czbp48.js → vcs-zsr4wwhv.js} +4 -4
  283. package/dist/chunks/{form-49t7pbwb.js → vcs-zvewsjf9.js} +20 -20
  284. package/dist/chunks/{form-zxq2ej10.js → vcs-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +7 -7
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +85 -85
  290. package/dist/config/discovery.js +84 -84
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +101 -101
  293. package/dist/config/plugin/agent.js +118 -118
  294. package/dist/config/plugin/command.js +207 -207
  295. package/dist/config/plugin/compaction.js +154 -154
  296. package/dist/config/plugin/compatibility.js +136 -136
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +119 -119
  299. package/dist/config/plugin/image.js +118 -118
  300. package/dist/config/plugin/instruction.js +92 -92
  301. package/dist/config/plugin/location-watcher.js +118 -118
  302. package/dist/config/plugin/mcp.js +125 -125
  303. package/dist/config/plugin/policy.js +119 -119
  304. package/dist/config/plugin/provider.js +116 -116
  305. package/dist/config/plugin/reference.js +120 -120
  306. package/dist/config/plugin/shell.js +120 -120
  307. package/dist/config/plugin/skill-file.js +104 -104
  308. package/dist/config/plugin/skill.js +139 -139
  309. package/dist/config/plugin/snapshot.js +118 -118
  310. package/dist/config/plugin/source.js +121 -121
  311. package/dist/config/plugin/tool-output.js +119 -119
  312. package/dist/config/plugin/websearch.js +119 -119
  313. package/dist/config/plugin/worktree.js +120 -120
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +121 -121
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +79 -79
  319. package/dist/database/database.js +68 -68
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  385. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  386. package/dist/database/migration.gen.js +51 -51
  387. package/dist/database/migration.js +53 -53
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +78 -78
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +368 -368
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +1 -1
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +95 -95
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +95 -95
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +3 -3
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +72 -72
  411. package/dist/file-access.js +106 -106
  412. package/dist/file-mutation.js +96 -96
  413. package/dist/file-retention.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +220 -220
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +105 -105
  422. package/dist/filesystem/watcher-binding.js +1 -1
  423. package/dist/filesystem/watcher.js +11 -11
  424. package/dist/filesystem.js +108 -108
  425. package/dist/form.js +86 -86
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +89 -89
  428. package/dist/generate.js +105 -105
  429. package/dist/git.js +10 -10
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +93 -93
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +359 -359
  453. package/dist/instruction-discovery.js +87 -87
  454. package/dist/instructions/builtins.js +89 -89
  455. package/dist/instructions/index.js +1 -1
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +83 -83
  458. package/dist/job.js +80 -80
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +75 -75
  461. package/dist/location-activity.js +133 -133
  462. package/dist/location-lifecycle.js +109 -109
  463. package/dist/location-service-map.js +88 -88
  464. package/dist/location-services.js +356 -356
  465. package/dist/location.js +89 -89
  466. package/dist/managed-policy.js +8 -8
  467. package/dist/mcp/client.js +93 -93
  468. package/dist/mcp/index.js +111 -111
  469. package/dist/mcp/instructions.js +129 -129
  470. package/dist/mcp/oauth.js +80 -80
  471. package/dist/mcp/stdio.js +92 -92
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +93 -93
  474. package/dist/model-resolver.js +100 -100
  475. package/dist/model.js +102 -102
  476. package/dist/models-dev.js +109 -109
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +84 -84
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +111 -111
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +84 -84
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +77 -77
  486. package/dist/plugin/agent.js +76 -76
  487. package/dist/plugin/command.js +102 -102
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/identity.js +3 -3
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +331 -331
  493. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  494. package/dist/plugin/models-dev.js +98 -98
  495. package/dist/plugin/module.js +119 -119
  496. package/dist/plugin/optimize.js +2 -2
  497. package/dist/plugin/plan.js +104 -104
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +1 -1
  502. package/dist/plugin/provider/chatgpt.js +96 -96
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/databricks.js +1 -1
  508. package/dist/plugin/provider/digitalocean.js +95 -95
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/github-copilot.js +97 -97
  512. package/dist/plugin/provider/gitlab.js +95 -95
  513. package/dist/plugin/provider/google-vertex.js +115 -115
  514. package/dist/plugin/provider/kilo.js +1 -1
  515. package/dist/plugin/provider/llmgateway.js +80 -80
  516. package/dist/plugin/provider/lmstudio.js +127 -127
  517. package/dist/plugin/provider/local.js +124 -124
  518. package/dist/plugin/provider/modal.js +94 -94
  519. package/dist/plugin/provider/neon.js +1 -1
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +127 -127
  522. package/dist/plugin/provider/openai.js +95 -95
  523. package/dist/plugin/provider/opencode.js +99 -99
  524. package/dist/plugin/provider/openrouter.js +93 -93
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +81 -81
  527. package/dist/plugin/provider/prompt-cache-key.js +92 -92
  528. package/dist/plugin/provider/sap-ai-core.js +93 -93
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  531. package/dist/plugin/provider/vercel.js +92 -92
  532. package/dist/plugin/provider/vllm.js +127 -127
  533. package/dist/plugin/provider/xai.js +93 -93
  534. package/dist/plugin/provider/zenmux.js +1 -1
  535. package/dist/plugin/provider.js +169 -169
  536. package/dist/plugin/sdk.js +78 -78
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +134 -134
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +350 -350
  541. package/dist/plugin/tool-input-repair.js +4 -4
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/vcs/git.js +88 -88
  544. package/dist/plugin/vcs/hg.js +88 -88
  545. package/dist/plugin/verbosity.js +95 -95
  546. package/dist/plugin/warming.js +116 -116
  547. package/dist/plugin/websearch/exa.js +5 -5
  548. package/dist/plugin/websearch/firecrawl.js +6 -6
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +2 -2
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin/websearch/tinyfish.js +8 -8
  554. package/dist/plugin.js +224 -224
  555. package/dist/project/schema.js +8 -8
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +92 -92
  558. package/dist/provider.js +103 -103
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +99 -99
  562. package/dist/reference/instructions.js +91 -91
  563. package/dist/reference.js +93 -93
  564. package/dist/repository-cache.js +83 -83
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +99 -99
  568. package/dist/rpc.js +88 -88
  569. package/dist/schema.js +1 -1
  570. package/dist/session/affinity.js +1 -1
  571. package/dist/session/command.js +76 -76
  572. package/dist/session/compaction.js +137 -137
  573. package/dist/session/context.js +155 -155
  574. package/dist/session/diff.js +90 -90
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +3 -3
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +216 -216
  579. package/dist/session/execution.js +127 -127
  580. package/dist/session/generate.js +156 -156
  581. package/dist/session/history.js +13 -13
  582. package/dist/session/inbox.js +86 -86
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +81 -81
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +99 -99
  587. package/dist/session/message-updater.js +2 -2
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +122 -122
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +131 -131
  592. package/dist/session/projector.js +88 -88
  593. package/dist/session/prompt.js +107 -107
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +92 -92
  596. package/dist/session/run-coordinator.js +3 -3
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +226 -226
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +98 -98
  601. package/dist/session/runner/publish-llm-event.js +115 -115
  602. package/dist/session/runner/retry.js +4 -4
  603. package/dist/session/runner/step.js +127 -127
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +166 -166
  607. package/dist/session/shell.js +132 -132
  608. package/dist/session/skill.js +105 -105
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +75 -75
  611. package/dist/session/store.js +89 -89
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +207 -207
  614. package/dist/session/system-prompt.js +3 -3
  615. package/dist/session/title.js +159 -159
  616. package/dist/session/to-session-error.js +113 -113
  617. package/dist/session/transfer.js +212 -212
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +211 -211
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +9 -9
  624. package/dist/shell.js +132 -132
  625. package/dist/skill/discovery.js +6 -6
  626. package/dist/skill/instructions.js +109 -109
  627. package/dist/skill.js +114 -114
  628. package/dist/snapshot.js +93 -93
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +128 -128
  633. package/dist/tool/plugin/edit.js +116 -116
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +124 -124
  636. package/dist/tool/plugin/grep.js +122 -122
  637. package/dist/tool/plugin/mcp-resource.js +119 -119
  638. package/dist/tool/plugin/opencode.js +111 -111
  639. package/dist/tool/plugin/patch.js +124 -124
  640. package/dist/tool/plugin/question.js +105 -105
  641. package/dist/tool/plugin/read.js +127 -127
  642. package/dist/tool/plugin/shell.js +208 -208
  643. package/dist/tool/plugin/skill.js +115 -115
  644. package/dist/tool/plugin/subagent.js +214 -214
  645. package/dist/tool/plugin/webfetch.js +112 -112
  646. package/dist/tool/plugin/websearch.js +112 -112
  647. package/dist/tool/plugin/write.js +120 -120
  648. package/dist/tool/read-filesystem.js +102 -102
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +3 -3
  651. package/dist/tool.js +14 -14
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/git-executable.js +2 -2
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +5 -5
  662. package/dist/v1/config/command.js +3 -3
  663. package/dist/v1/config/error.js +2 -2
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +94 -94
  666. package/dist/v1/config/permission.js +3 -3
  667. package/dist/v1/config/plugin.js +1 -1
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +2 -2
  670. package/dist/variant.js +93 -93
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +91 -91
  673. package/dist/websearch.js +86 -86
  674. package/dist/wellknown/plugin.js +78 -78
  675. package/dist/wellknown.js +79 -79
  676. package/dist/workspace/driver.js +5 -5
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +80 -80
  679. package/dist/worktree/directory.js +2 -2
  680. package/dist/worktree/git.js +10 -10
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree/strategies.js +91 -91
  683. package/dist/worktree.js +98 -98
  684. package/package.json +8 -8
  685. package/dist/chunks/form-623a4y9d.js +0 -26
  686. package/dist/chunks/form-7fj5dwt0.js +0 -18
  687. package/dist/chunks/form-xpxzt0pv.js +0 -253
  688. /package/dist/chunks/{form-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
  689. /package/dist/chunks/{form-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
  690. /package/dist/chunks/{form-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
  691. /package/dist/chunks/{form-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
  692. /package/dist/chunks/{form-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
  693. /package/dist/chunks/{form-24dcb14g.js → vcs-24dcb14g.js} +0 -0
  694. /package/dist/chunks/{form-2710q6r3.js → vcs-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{form-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{form-2bv980vf.js → vcs-2bv980vf.js} +0 -0
  697. /package/dist/chunks/{form-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{form-359p4xyc.js → vcs-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{form-3asan66x.js → vcs-3asan66x.js} +0 -0
  700. /package/dist/chunks/{form-3t0ybcrp.js → vcs-3t0ybcrp.js} +0 -0
  701. /package/dist/chunks/{form-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{form-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{form-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{form-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{form-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{form-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{form-53557ph1.js → vcs-53557ph1.js} +0 -0
  708. /package/dist/chunks/{form-550bvhaj.js → vcs-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{form-5qd3pb7m.js → vcs-5qd3pb7m.js} +0 -0
  710. /package/dist/chunks/{form-6prwharc.js → vcs-6prwharc.js} +0 -0
  711. /package/dist/chunks/{form-6q2bdcd1.js → vcs-6q2bdcd1.js} +0 -0
  712. /package/dist/chunks/{form-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{form-7m9af43g.js → vcs-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{form-822emrt2.js → vcs-822emrt2.js} +0 -0
  715. /package/dist/chunks/{form-84wd9syh.js → vcs-84wd9syh.js} +0 -0
  716. /package/dist/chunks/{form-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{form-8n3pysct.js → vcs-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{form-8wj87zfr.js → vcs-8wj87zfr.js} +0 -0
  719. /package/dist/chunks/{form-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{form-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{form-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{form-af5trqkr.js → vcs-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{form-afrmfg78.js → vcs-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{form-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{form-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{form-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{form-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{form-bw78ga2c.js → vcs-bw78ga2c.js} +0 -0
  729. /package/dist/chunks/{form-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
  730. /package/dist/chunks/{form-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
  731. /package/dist/chunks/{form-d9fn303g.js → vcs-d9fn303g.js} +0 -0
  732. /package/dist/chunks/{form-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
  733. /package/dist/chunks/{form-dajrwvna.js → vcs-dajrwvna.js} +0 -0
  734. /package/dist/chunks/{form-dap0rakb.js → vcs-dap0rakb.js} +0 -0
  735. /package/dist/chunks/{form-df08tz66.js → vcs-df08tz66.js} +0 -0
  736. /package/dist/chunks/{form-dy18nga0.js → vcs-dy18nga0.js} +0 -0
  737. /package/dist/chunks/{form-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
  738. /package/dist/chunks/{form-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
  739. /package/dist/chunks/{form-ec1grn59.js → vcs-ec1grn59.js} +0 -0
  740. /package/dist/chunks/{form-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
  741. /package/dist/chunks/{form-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
  742. /package/dist/chunks/{form-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
  743. /package/dist/chunks/{form-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
  744. /package/dist/chunks/{form-faypxj3z.js → vcs-faypxj3z.js} +0 -0
  745. /package/dist/chunks/{form-fd410y7t.js → vcs-fd410y7t.js} +0 -0
  746. /package/dist/chunks/{form-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{form-g86h250q.js → vcs-g86h250q.js} +0 -0
  748. /package/dist/chunks/{form-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{form-gftt206x.js → vcs-gftt206x.js} +0 -0
  750. /package/dist/chunks/{form-hk9envan.js → vcs-hk9envan.js} +0 -0
  751. /package/dist/chunks/{form-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{form-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{form-jjkms2e6.js → vcs-jjkms2e6.js} +0 -0
  754. /package/dist/chunks/{form-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{form-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{form-jze0r7bz.js → vcs-jze0r7bz.js} +0 -0
  757. /package/dist/chunks/{form-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{form-m18g726c.js → vcs-m18g726c.js} +0 -0
  759. /package/dist/chunks/{form-mp448xyj.js → vcs-mp448xyj.js} +0 -0
  760. /package/dist/chunks/{form-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
  761. /package/dist/chunks/{form-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
  762. /package/dist/chunks/{form-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
  763. /package/dist/chunks/{form-njntx4h6.js → vcs-njntx4h6.js} +0 -0
  764. /package/dist/chunks/{form-pkyv6v7h.js → vcs-pkyv6v7h.js} +0 -0
  765. /package/dist/chunks/{form-pyv0edze.js → vcs-pyv0edze.js} +0 -0
  766. /package/dist/chunks/{form-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{form-q74kybfr.js → vcs-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{form-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{form-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{form-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{form-qg3g05ea.js → vcs-qg3g05ea.js} +0 -0
  772. /package/dist/chunks/{form-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{form-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{form-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{form-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{form-ve7vex1e.js → vcs-ve7vex1e.js} +0 -0
  777. /package/dist/chunks/{form-w803qqfp.js → vcs-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{form-wc3fc9cn.js → vcs-wc3fc9cn.js} +0 -0
  779. /package/dist/chunks/{form-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{form-wtztk69x.js → vcs-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{form-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{form-x61499pn.js → vcs-x61499pn.js} +0 -0
  783. /package/dist/chunks/{form-y44na4kk.js → vcs-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{form-y8f7s663.js → vcs-y8f7s663.js} +0 -0
  785. /package/dist/chunks/{form-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{form-ym463w8f.js → vcs-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{form-z5v4ffb3.js → vcs-z5v4ffb3.js} +0 -0
  788. /package/dist/chunks/{form-z9919s4g.js → vcs-z9919s4g.js} +0 -0
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./form-af6zfhme.js";
4
+ } from "./vcs-f8enj7d3.js";
5
5
  import {
6
- Service81,
7
- node85
8
- } from "./form-z2e4rrbn.js";
6
+ Service80,
7
+ node84
8
+ } from "./vcs-1g5yqc8z.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./form-ec1grn59.js";
11
+ } from "./vcs-ec1grn59.js";
12
12
  import {
13
- Service73,
14
- node76
15
- } from "./form-bk4r6et7.js";
13
+ Service68,
14
+ node72
15
+ } from "./vcs-hne8beqj.js";
16
16
  import {
17
17
  __export
18
- } from "./form-9rqn6x4v.js";
18
+ } from "./vcs-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instructions.ts
21
21
  var exports_instructions = {};
22
22
  __export(exports_instructions, {
23
- Service: () => Service8,
23
+ Service: () => Service10,
24
24
  SessionInstructions: () => exports_instructions,
25
- node: () => node10
25
+ node: () => node12
26
26
  });
27
27
  import { relative } from "path";
28
28
  import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
32
32
  instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
33
33
  });
34
34
 
35
- class Service8 extends Context.Service()("@opencode/SessionInstructions") {
35
+ class Service10 extends Context.Service()("@opencode/SessionInstructions") {
36
36
  }
37
- var layer = Layer.effect(Service8, Effect.gen(function* () {
37
+ var layer = Layer.effect(Service10, Effect.gen(function* () {
38
38
  const bus = yield* Service84;
39
39
  const fs = yield* FSUtil.Service;
40
- const store = yield* Service73;
41
- const location = yield* Service81;
40
+ const store = yield* Service68;
41
+ const location = yield* Service80;
42
42
  const root = yield* fs.resolve(location.project.directory);
43
43
  const inFlight = yield* Ref.make(new Map);
44
44
  const load = Effect.fn("SessionInstructions.load")(function* (input) {
@@ -84,7 +84,7 @@ ${file.content}`).join(`
84
84
  return next;
85
85
  })));
86
86
  });
87
- return Service8.of({ load });
87
+ return Service10.of({ load });
88
88
  }));
89
89
  function previouslyInjected(store, sessionID) {
90
90
  return Effect.gen(function* () {
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
95
95
  function describePath(root, path) {
96
96
  return FSUtil.contains(root, path) ? relative(root, path) : path;
97
97
  }
98
- var node10 = makeLocationNode({
98
+ var node12 = makeLocationNode({
99
99
  name: "session-instructions",
100
100
  layer,
101
- deps: [node88, FSUtil.node, node85, node76]
101
+ deps: [node88, FSUtil.node, node84, node72]
102
102
  });
103
103
 
104
- export { Service8, node10, exports_instructions };
104
+ export { Service10, node12, exports_instructions };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  name15,
3
3
  ps2
4
- } from "./form-xcxmemts.js";
4
+ } from "./vcs-nztkk7wb.js";
5
5
  import {
6
6
  lazy2
7
- } from "./form-88xbtdfr.js";
7
+ } from "./vcs-88xbtdfr.js";
8
8
  import {
9
9
  match2
10
- } from "./form-y1fvbwt7.js";
10
+ } from "./vcs-y1fvbwt7.js";
11
11
  import {
12
12
  __export
13
- } from "./form-9rqn6x4v.js";
13
+ } from "./vcs-9rqn6x4v.js";
14
14
 
15
15
  // src/shell/parse.ts
16
16
  var exports_parse = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service52
3
- } from "./form-5njrdk08.js";
2
+ Service54
3
+ } from "./vcs-4dgw1k7b.js";
4
4
  import {
5
- Service37
6
- } from "./form-c33qfg7v.js";
5
+ Service22
6
+ } from "./vcs-e0s5vzwf.js";
7
7
  import {
8
8
  __export
9
- } from "./form-9rqn6x4v.js";
9
+ } from "./vcs-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
12
  var exports_mcp = {};
13
13
  __export(exports_mcp, {
14
14
  ConfigMcpPlugin: () => exports_mcp,
15
- Plugin: () => Plugin30,
15
+ Plugin: () => Plugin12,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin30 = define({
20
+ var Plugin12 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe());
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service52;
28
- const mcp = yield* Service37;
27
+ const config = yield* Service54;
28
+ const mcp = yield* Service22;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin30, register2, exports_mcp };
49
+ export { Plugin12, register2, exports_mcp };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./vcs-9rqn6x4v.js";
4
4
 
5
5
  // src/config/markdown.ts
6
6
  var exports_markdown = {};
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./form-tsn6bzsd.js";
3
+ } from "./vcs-74kk7wxm.js";
4
4
  import {
5
5
  Service84
6
- } from "./form-af6zfhme.js";
6
+ } from "./vcs-f8enj7d3.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event19
10
- } from "./form-5jq5wt6a.js";
10
+ } from "./vcs-5a6bdb3h.js";
11
11
  import {
12
12
  key2
13
- } from "./form-addxnjmp.js";
13
+ } from "./vcs-addxnjmp.js";
14
14
  import {
15
15
  ID14,
16
16
  MethodID2,
17
17
  AuthorizationError2
18
- } from "./form-cw3k6n42.js";
18
+ } from "./vcs-0pr9mksw.js";
19
19
  import {
20
- Service15
21
- } from "./form-0sakkys5.js";
20
+ Service41
21
+ } from "./vcs-arj5enh2.js";
22
22
  import {
23
- ID9,
23
+ ID13,
24
24
  mergeOverlay2,
25
25
  mergeHeaders2
26
- } from "./form-9hry9nma.js";
26
+ } from "./vcs-kmqyv7tr.js";
27
27
  import {
28
28
  mergeCapabilities2
29
- } from "./form-21r0j0k4.js";
29
+ } from "./vcs-bc7rc02h.js";
30
30
  import {
31
- ID4,
32
- Input13,
31
+ ID5,
32
+ Input14,
33
33
  Response2
34
- } from "./form-nd57m68f.js";
34
+ } from "./vcs-b0tzr3db.js";
35
35
 
36
36
  // src/plugin/provider/opencode.ts
37
37
  import { Duration, Effect, Equal, Option, Schema, SchemaGetter, Scope, Semaphore, Stream } from "effect";
@@ -47,7 +47,7 @@ var methodID = MethodID2.make("device");
47
47
  var RemoteResponse = Schema.Struct({
48
48
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
49
49
  websearch: Schema.Struct({
50
- providerID: ID4
50
+ providerID: ID5
51
51
  }).pipe(Schema.optional),
52
52
  mcp: Schema.Struct({
53
53
  servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
@@ -172,7 +172,7 @@ var OpencodePlugin2 = define({
172
172
  const bus = yield* Service84;
173
173
  const client = yield* HttpClient.HttpClient;
174
174
  const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
175
- const managed = yield* Service15;
175
+ const managed = yield* Service41;
176
176
  const scope = yield* Scope.Scope;
177
177
  const loading = Semaphore.makeUnsafe(1);
178
178
  let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
@@ -287,7 +287,7 @@ var OpencodePlugin2 = define({
287
287
  sourceConnection: snapshot.connection
288
288
  });
289
289
  }
290
- const item = providers.get(ID9.opencode);
290
+ const item = providers.get(ID13.opencode);
291
291
  if (!item)
292
292
  return;
293
293
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -299,7 +299,7 @@ var OpencodePlugin2 = define({
299
299
  });
300
300
  });
301
301
  yield* ctx.model.transform((models) => {
302
- const item = models.provider.get(ID9.opencode);
302
+ const item = models.provider.get(ID13.opencode);
303
303
  if (!item)
304
304
  return;
305
305
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -333,7 +333,7 @@ var OpencodePlugin2 = define({
333
333
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
334
334
  const token = credential.type === "oauth" ? credential.access : credential.key;
335
335
  const server = yield* normalizeServer(serverUrl(credential));
336
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
336
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
337
337
  query: input.query,
338
338
  providerID: descriptor.providerID
339
339
  }));
@@ -388,7 +388,7 @@ var OpencodePlugin2 = define({
388
388
  });
389
389
  const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
390
390
  yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
391
- explainers = yield* Effect.forEach(next.connection ? new Set([ID9.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
391
+ explainers = yield* Effect.forEach(next.connection ? new Set([ID13.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
392
392
  });
393
393
  yield* guard(snapshot);
394
394
  yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./form-af6zfhme.js";
4
+ } from "./vcs-f8enj7d3.js";
5
5
  import {
6
6
  create3
7
- } from "./form-rdw6cm16.js";
7
+ } from "./vcs-rdw6cm16.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./form-17xaq5pa.js";
10
+ } from "./vcs-e7max901.js";
11
11
  import {
12
12
  __export
13
- } from "./form-9rqn6x4v.js";
13
+ } from "./vcs-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event9,
21
- ID: () => ID6,
22
- Info: () => Info8,
20
+ Event: () => Event4,
21
+ ID: () => ID3,
22
+ Info: () => Info4,
23
23
  Name: () => Name2,
24
- Service: () => Service46,
24
+ Service: () => Service31,
25
25
  Skill: () => exports_skill5,
26
- Source: () => Source4,
26
+ Source: () => Source3,
27
27
  UrlSource: () => UrlSource2,
28
28
  available: () => available2,
29
- node: () => node49,
29
+ node: () => node34,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import path from "path";
35
35
  import { Context, Effect, Layer } from "effect";
36
36
  import { Skill } from "@opencode/schema/skill";
37
- import { Event as Event9 } from "@opencode/schema/skill";
37
+ import { Event as Event4 } from "@opencode/schema/skill";
38
38
  var DirectorySource2 = Skill.DirectorySource;
39
39
  var UrlSource2 = Skill.UrlSource;
40
40
  var EmbeddedSource2 = Skill.EmbeddedSource;
41
- var Source4 = Skill.Source;
42
- var Info8 = Skill.Info;
43
- var ID6 = Skill.ID;
41
+ var Source3 = Skill.Source;
42
+ var Info4 = Skill.Info;
43
+ var ID3 = Skill.ID;
44
44
  var Name2 = Skill.Name;
45
45
  var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
46
46
  var toModelOutput3 = (skill, files) => {
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
71
71
  };
72
72
  });
73
73
 
74
- class Service46 extends Context.Service()("@opencode/Skill") {
74
+ class Service31 extends Context.Service()("@opencode/Skill") {
75
75
  }
76
- var layer = Layer.effect(Service46, Effect.gen(function* () {
76
+ var layer = Layer.effect(Service31, Effect.gen(function* () {
77
77
  const bus = yield* Service84;
78
78
  const state = create3({
79
79
  name: "skill",
80
80
  initial: () => ({ skills: new Map }),
81
81
  editor: (editor) => ({
82
82
  list: () => Array.from(editor.skills.values()),
83
- get: (id) => editor.skills.get(ID6.make(id)),
83
+ get: (id) => editor.skills.get(ID3.make(id)),
84
84
  add: (skill) => {
85
85
  editor.skills.set(skill.id, { ...skill });
86
86
  },
87
87
  update: (id, update) => {
88
- const current = editor.skills.get(ID6.make(id));
88
+ const current = editor.skills.get(ID3.make(id));
89
89
  if (!current)
90
90
  return;
91
91
  update(current);
92
- current.id = ID6.make(id);
92
+ current.id = ID3.make(id);
93
93
  },
94
94
  remove: (id) => {
95
- editor.skills.delete(ID6.make(id));
95
+ editor.skills.delete(ID3.make(id));
96
96
  }
97
97
  }),
98
98
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
99
99
  });
100
- return Service46.of({
100
+ return Service31.of({
101
101
  transform: state.transform,
102
102
  reload: state.reload,
103
103
  get: Effect.fn("Skill.get")(function* (id) {
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
108
108
  })
109
109
  });
110
110
  }));
111
- var node49 = makeLocationNode({
112
- service: Service46,
111
+ var node34 = makeLocationNode({
112
+ service: Service31,
113
113
  layer,
114
114
  deps: [node88]
115
115
  });
116
116
 
117
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info8, ID6, Name2, available2, toModelOutput3, prepare3, Service46, node49, exports_skill5, Event9 };
117
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info4, ID3, Name2, available2, toModelOutput3, prepare3, Service31, node34, exports_skill5, Event4 };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./form-smk4c7dc.js";
4
+ } from "./vcs-n5cyx6pm.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./form-rert0e01.js";
7
+ } from "./vcs-tkb22qbm.js";
8
8
  import {
9
9
  __export
10
- } from "./form-9rqn6x4v.js";
10
+ } from "./vcs-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
- ID: () => ID11,
17
- Info: () => Info20,
18
- ListInput: () => ListInput5,
16
+ ID: () => ID9,
17
+ Info: () => Info17,
18
+ ListInput: () => ListInput4,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service74,
21
- node: () => node77
20
+ Service: () => Service67,
21
+ node: () => node71
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode/schema/project";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID11 = PermissionSaved.ID;
29
- var Info20 = PermissionSaved.Info;
30
- var ListInput5 = Schema.Struct({
28
+ var ID9 = PermissionSaved.ID;
29
+ var Info17 = PermissionSaved.Info;
30
+ var ListInput4 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
33
33
  var AddInput2 = Schema.Struct({
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
36
36
  resources: Schema.Array(Schema.String)
37
37
  }).annotate({ identifier: "PermissionSaved.AddInput" });
38
38
 
39
- class Service74 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service67 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service74, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service67, Effect.gen(function* () {
42
42
  const db = (yield* Service85).db;
43
43
  const list = Effect.fnUntraced(function* (input) {
44
44
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
57
57
  if (!input.resources.length)
58
58
  return;
59
59
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
60
- id: ID11.create(),
60
+ id: ID9.create(),
61
61
  project_id: input.projectID,
62
62
  action: input.action,
63
63
  resource
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
66
66
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
67
67
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
68
68
  });
69
- return Service74.of({ list, add, remove });
69
+ return Service67.of({ list, add, remove });
70
70
  }));
71
- var node77 = makeGlobalNode({ service: Service74, layer, deps: [node89] });
71
+ var node71 = makeGlobalNode({ service: Service67, layer, deps: [node89] });
72
72
 
73
- export { ID11, Info20, ListInput5, AddInput2, Service74, node77, exports_saved };
73
+ export { ID9, Info17, ListInput4, AddInput2, Service67, node71, exports_saved };
@@ -1,59 +1,59 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./form-af6zfhme.js";
4
+ } from "./vcs-f8enj7d3.js";
5
5
  import {
6
- Service79,
7
- node82
8
- } from "./form-byjy60w7.js";
6
+ Service83,
7
+ node87
8
+ } from "./vcs-gmcw3ffg.js";
9
9
  import {
10
- Service82,
11
- node86
12
- } from "./form-ba52ty8f.js";
13
- import {
14
- Ref4,
15
10
  Service81,
16
11
  node85
17
- } from "./form-z2e4rrbn.js";
12
+ } from "./vcs-ksa5enky.js";
13
+ import {
14
+ Ref4,
15
+ Service80,
16
+ node84
17
+ } from "./vcs-1g5yqc8z.js";
18
18
  import {
19
19
  canonical3
20
- } from "./form-wmqffk39.js";
20
+ } from "./vcs-yzq5b05t.js";
21
21
  import {
22
22
  SessionEvent2
23
- } from "./form-ec1grn59.js";
23
+ } from "./vcs-ec1grn59.js";
24
24
  import {
25
- Service72,
26
- node75
27
- } from "./form-17xaq5pa.js";
25
+ Service66,
26
+ node70
27
+ } from "./vcs-e7max901.js";
28
28
  import {
29
- Service80,
30
- node84
31
- } from "./form-symeabce.js";
29
+ Service34,
30
+ node37
31
+ } from "./vcs-t2n2tt0m.js";
32
32
  import {
33
33
  __export
34
- } from "./form-9rqn6x4v.js";
34
+ } from "./vcs-9rqn6x4v.js";
35
35
 
36
36
  // src/location-lifecycle.ts
37
37
  var exports_location_lifecycle = {};
38
38
  __export(exports_location_lifecycle, {
39
39
  LocationLifecycle: () => exports_location_lifecycle,
40
- Service: () => Service70,
41
- node: () => node73
40
+ Service: () => Service14,
41
+ node: () => node16
42
42
  });
43
43
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
44
44
  import { makeLocationNode } from "@opencode/util/effect/app-node";
45
45
  import { LocationEvent } from "@opencode/schema/location-event";
46
46
  var isSessionEvent = Schema.is(SessionEvent2.Durable);
47
47
 
48
- class Service70 extends Context.Service()("@opencode/LocationLifecycle") {
48
+ class Service14 extends Context.Service()("@opencode/LocationLifecycle") {
49
49
  }
50
- var layer = Layer.effect(Service70, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service14, Effect.gen(function* () {
51
51
  const bus = yield* Service84;
52
- const location = yield* Service81;
53
- const permission = yield* Service72;
54
- const forms = yield* Service79;
55
- const rpc = yield* Service80;
56
- const project = yield* Service82;
52
+ const location = yield* Service80;
53
+ const permission = yield* Service66;
54
+ const forms = yield* Service83;
55
+ const rpc = yield* Service34;
56
+ const project = yield* Service81;
57
57
  const scope = yield* Effect.scope;
58
58
  yield* project.activate(location.project.id);
59
59
  const unsubscribe = yield* bus.listen((event) => {
@@ -80,15 +80,15 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
80
80
  });
81
81
  }).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
82
82
  }).pipe(Effect.uninterruptible);
83
- return Service70.of({
83
+ return Service14.of({
84
84
  isClosed: () => closed,
85
85
  shutdown
86
86
  });
87
87
  }));
88
- var node73 = makeLocationNode({
89
- service: Service70,
88
+ var node16 = makeLocationNode({
89
+ service: Service14,
90
90
  layer,
91
- deps: [node88, node85, node75, node86, node82, node84]
91
+ deps: [node88, node84, node70, node85, node87, node37]
92
92
  });
93
93
 
94
- export { Service70, node73, exports_location_lifecycle };
94
+ export { Service14, node16, exports_location_lifecycle };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizedName2
4
- } from "./form-pyv0edze.js";
4
+ } from "./vcs-pyv0edze.js";
5
5
  import {
6
6
  extension2,
7
7
  display2
8
- } from "./form-syv4x271.js";
8
+ } from "./vcs-syv4x271.js";
9
9
  import {
10
10
  __export
11
- } from "./form-9rqn6x4v.js";
11
+ } from "./vcs-9rqn6x4v.js";
12
12
 
13
13
  // src/codemode/tool.ts
14
14
  var exports_tool2 = {};