@opencode/core 0.0.0-dev-21366 → 0.0.0-dev-21368

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 (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{form-dg24z682.js → schema-0dzgkxam.js} +34 -34
  8. package/dist/chunks/{form-0vbcp93d.js → schema-0vbcp93d.js} +2 -2
  9. package/dist/chunks/{form-br9ffvj3.js → schema-0vfyfqrd.js} +6 -6
  10. package/dist/chunks/{form-jcmaxbq8.js → schema-1323fv79.js} +1 -1
  11. package/dist/chunks/{form-17116gfm.js → schema-1bs8104e.js} +8 -8
  12. package/dist/chunks/{form-herw6cax.js → schema-1f1kaem6.js} +11 -11
  13. package/dist/chunks/{form-e4svjp07.js → schema-1ffg5m5z.js} +41 -41
  14. package/dist/chunks/{form-mjx4d27a.js → schema-1knv165j.js} +21 -21
  15. package/dist/chunks/{form-n2vqhefj.js → schema-1rmqtx3n.js} +6 -6
  16. package/dist/chunks/{form-btxgmbmp.js → schema-1skh4z6z.js} +34 -34
  17. package/dist/chunks/{form-vg8a1yvs.js → schema-1xy3bbfj.js} +332 -332
  18. package/dist/chunks/{form-ynmknp8q.js → schema-2ae0q92z.js} +7 -7
  19. package/dist/chunks/{form-21b5jaqs.js → schema-2bep3sk1.js} +4 -4
  20. package/dist/chunks/{form-ft3hqk2c.js → schema-2sejkfem.js} +9 -9
  21. package/dist/chunks/{form-pbq40pk4.js → schema-2yjh3x6q.js} +18 -18
  22. package/dist/chunks/{form-cgceftma.js → schema-2znnk454.js} +14 -14
  23. package/dist/chunks/{form-n0tq777j.js → schema-30846h32.js} +8 -8
  24. package/dist/chunks/{form-mnqkv3ke.js → schema-33srfa0b.js} +10 -10
  25. package/dist/chunks/{form-ctkmsz73.js → schema-36gdk6sm.js} +17 -17
  26. package/dist/chunks/{form-2gpvr3g3.js → schema-3cn8netw.js} +21 -21
  27. package/dist/chunks/{form-49091bzx.js → schema-3f75xvkg.js} +21 -21
  28. package/dist/chunks/{form-6ayhefjg.js → schema-3gasgs0k.js} +5 -5
  29. package/dist/chunks/{form-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
  30. package/dist/chunks/{form-3hwn7j4h.js → schema-3hwn7j4h.js} +2 -2
  31. package/dist/chunks/{form-56gyssj8.js → schema-3q4zrqsz.js} +44 -44
  32. package/dist/chunks/{form-52fpbh6z.js → schema-3rtxz4nr.js} +8 -8
  33. package/dist/chunks/{form-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
  34. package/dist/chunks/{form-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
  35. package/dist/chunks/{form-3zsf4n22.js → schema-3zsf4n22.js} +1 -1
  36. package/dist/chunks/{form-04zqcv5b.js → schema-4176b2yk.js} +30 -30
  37. package/dist/chunks/{form-0mpb2594.js → schema-42kfqa6a.js} +32 -32
  38. package/dist/chunks/{form-d7fb65k9.js → schema-4459cj4r.js} +24 -24
  39. package/dist/chunks/{form-v7z2bvyd.js → schema-44ak30pa.js} +4 -4
  40. package/dist/chunks/{form-qne3fa44.js → schema-47jkzegy.js} +5 -5
  41. package/dist/chunks/{form-c2sed5cq.js → schema-48kw51zw.js} +3 -3
  42. package/dist/chunks/{form-9j7zhwfa.js → schema-4a32pvx7.js} +1 -1
  43. package/dist/chunks/{form-qve897jx.js → schema-4bgsdwgm.js} +28 -28
  44. package/dist/chunks/{form-2sfa3baz.js → schema-4c7g6ymp.js} +40 -40
  45. package/dist/chunks/{form-e2efsa8y.js → schema-4d3127hb.js} +11 -11
  46. package/dist/chunks/{form-x6h5gppg.js → schema-4j4wwavy.js} +4 -4
  47. package/dist/chunks/{form-4nscrjds.js → schema-4j8ys442.js} +95 -95
  48. package/dist/chunks/{form-2b3trp23.js → schema-4teq5az6.js} +54 -54
  49. package/dist/chunks/{form-57myy5jh.js → schema-4xpgt2w9.js} +5 -5
  50. package/dist/chunks/{form-54ma36ye.js → schema-54ma36ye.js} +1 -1
  51. package/dist/chunks/{form-e7gxy7fd.js → schema-5g57z1ma.js} +4 -4
  52. package/dist/chunks/{form-5xda5hqs.js → schema-5gydnkt7.js} +16 -16
  53. package/dist/chunks/{form-4z0jytq9.js → schema-5j21s5mr.js} +25 -25
  54. package/dist/chunks/{form-5m9w47nd.js → schema-5m9w47nd.js} +1 -1
  55. package/dist/chunks/{form-4jx3bwb8.js → schema-5mbpffke.js} +7 -7
  56. package/dist/chunks/{form-e3qxr5gk.js → schema-5qd3pb7m.js} +2 -2
  57. package/dist/chunks/{form-r8jgt09m.js → schema-5t1axb3v.js} +13 -13
  58. package/dist/chunks/{form-5w8megq2.js → schema-5zscwwge.js} +3 -3
  59. package/dist/chunks/{form-hbfzz612.js → schema-66fgvbn3.js} +19 -19
  60. package/dist/chunks/{form-6827pfxn.js → schema-6827pfxn.js} +1 -1
  61. package/dist/chunks/{form-g36kca0s.js → schema-6fkw3p3r.js} +4 -4
  62. package/dist/chunks/{form-fhn4ym0h.js → schema-6fyhx42r.js} +9 -9
  63. package/dist/chunks/{form-8ejckeyx.js → schema-6kp05j0h.js} +24 -24
  64. package/dist/chunks/{form-6pc27hjz.js → schema-6pc27hjz.js} +2 -2
  65. package/dist/chunks/{form-sq0tjeh0.js → schema-6pxm0met.js} +44 -44
  66. package/dist/chunks/{form-jypyv8j2.js → schema-6w7d1qme.js} +14 -14
  67. package/dist/chunks/{form-6xb47vfp.js → schema-6xb47vfp.js} +1 -1
  68. package/dist/chunks/{form-tn1wh4ar.js → schema-6xkcg1y6.js} +21 -21
  69. package/dist/chunks/{form-h39nf5em.js → schema-74mhpw3w.js} +20 -20
  70. package/dist/chunks/{form-zpr2q4qf.js → schema-75ytgrqn.js} +14 -14
  71. package/dist/chunks/{form-775gj3j1.js → schema-775gj3j1.js} +2 -2
  72. package/dist/chunks/{form-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{form-fcrkznn8.js → schema-7dqw4kz8.js} +5 -5
  74. package/dist/chunks/{form-a8nkje97.js → schema-7erbtyx3.js} +11 -11
  75. package/dist/chunks/{form-c6wjmv7c.js → schema-7pest08f.js} +9 -9
  76. package/dist/chunks/{form-hgp8ga1w.js → schema-7vx8fxzm.js} +86 -86
  77. package/dist/chunks/{form-7q7tdt9r.js → schema-80jay3zv.js} +35 -35
  78. package/dist/chunks/{form-5fec3t3w.js → schema-81f7vt2z.js} +8 -8
  79. package/dist/chunks/{form-kedsnqtc.js → schema-825jjjdc.js} +23 -23
  80. package/dist/chunks/{form-zj70vn69.js → schema-84kr3hab.js} +8 -8
  81. package/dist/chunks/{form-84txncab.js → schema-84txncab.js} +1 -1
  82. package/dist/chunks/{form-xyjecrh1.js → schema-87n3rrnw.js} +32 -32
  83. package/dist/chunks/{form-tcezcvh9.js → schema-89znhe33.js} +4 -4
  84. package/dist/chunks/{form-9qbkfy8j.js → schema-8m22mfav.js} +32 -32
  85. package/dist/chunks/{form-8m6m0r52.js → schema-8m6m0r52.js} +1 -1
  86. package/dist/chunks/{form-8mywswrd.js → schema-8mywswrd.js} +1 -1
  87. package/dist/chunks/{form-0sdf0qey.js → schema-8ngzfdb0.js} +15 -15
  88. package/dist/chunks/{form-5mb9cf55.js → schema-8td2p5q2.js} +34 -34
  89. package/dist/chunks/{form-hhfx60p8.js → schema-92zywa0s.js} +16 -16
  90. package/dist/chunks/{form-2e698tw2.js → schema-9hhtrjbb.js} +16 -16
  91. package/dist/chunks/{form-djp577me.js → schema-9n0pq0p1.js} +11 -11
  92. package/dist/chunks/{form-thg1vn1a.js → schema-9nexcd99.js} +3 -3
  93. package/dist/chunks/{form-t1ydd63c.js → schema-9zj7wbnh.js} +47 -47
  94. package/dist/chunks/{form-w32a45cq.js → schema-a110k9h9.js} +25 -25
  95. package/dist/chunks/{form-a20pjse5.js → schema-a20pjse5.js} +3 -3
  96. package/dist/chunks/{form-pb4fd284.js → schema-a7scjn5s.js} +14 -14
  97. package/dist/chunks/{form-12d1ewzw.js → schema-ahdc3t4z.js} +12 -12
  98. package/dist/chunks/{form-rnaqt492.js → schema-arypdymn.js} +28 -28
  99. package/dist/chunks/{form-ghwdn9we.js → schema-at94sxth.js} +9 -9
  100. package/dist/chunks/{form-nd4tfyg0.js → schema-bacj9t34.js} +9 -9
  101. package/dist/chunks/{form-t9x7ks3k.js → schema-bbcbabsp.js} +28 -28
  102. package/dist/chunks/{form-bjx1sjef.js → schema-bjx1sjef.js} +2 -2
  103. package/dist/chunks/{form-86fpx1fw.js → schema-bnn3p74r.js} +4 -4
  104. package/dist/chunks/{form-1f52gq3m.js → schema-brgccpge.js} +25 -25
  105. package/dist/chunks/{form-km89rq23.js → schema-bygmh04z.js} +14 -14
  106. package/dist/chunks/{form-bzeyqsqd.js → schema-bzeyqsqd.js} +1 -1
  107. package/dist/chunks/{form-nysx7nj2.js → schema-bzwj8dcr.js} +35 -35
  108. package/dist/chunks/{form-c1fqxshp.js → schema-c1fqxshp.js} +3 -3
  109. package/dist/chunks/{form-eqkxs06z.js → schema-c8bydgjz.js} +6 -6
  110. package/dist/chunks/{form-x2xyd8bp.js → schema-cc9fn44q.js} +11 -11
  111. package/dist/chunks/{form-gwszmx42.js → schema-ccz6qt78.js} +13 -13
  112. package/dist/chunks/{form-cefkz2r6.js → schema-cefkz2r6.js} +4 -4
  113. package/dist/chunks/{form-ymrej2er.js → schema-chsnhwb3.js} +13 -13
  114. package/dist/chunks/{form-yebkwvs3.js → schema-csndn1v6.js} +20 -20
  115. package/dist/chunks/{form-0dmhk06n.js → schema-d0vc93hk.js} +32 -32
  116. package/dist/chunks/{form-g2pewrzk.js → schema-d5t26v95.js} +31 -31
  117. package/dist/chunks/{form-5c3vxfh0.js → schema-d75x1326.js} +29 -29
  118. package/dist/chunks/{form-277eer69.js → schema-d858xzj7.js} +4 -4
  119. package/dist/chunks/{form-3cy6ygha.js → schema-d8j0mxkc.js} +7 -7
  120. package/dist/chunks/{form-38pf4p3g.js → schema-dhsdmd8f.js} +40 -40
  121. package/dist/chunks/{form-ebdsrbwd.js → schema-dk1ym1bf.js} +30 -30
  122. package/dist/chunks/{form-drwq78ky.js → schema-drwq78ky.js} +1 -1
  123. package/dist/chunks/{form-ewexpb9k.js → schema-dzyrc88t.js} +6 -6
  124. package/dist/chunks/{form-5nw2wzf9.js → schema-e4771dax.js} +20 -20
  125. package/dist/chunks/{form-wy70kt51.js → schema-e5cghe60.js} +1 -1
  126. package/dist/chunks/{form-wbppzfdy.js → schema-e9vvnvyx.js} +9 -9
  127. package/dist/chunks/schema-ebe1aw40.js +257 -0
  128. package/dist/chunks/{form-zhpzfnnm.js → schema-ec5r24jz.js} +6 -6
  129. package/dist/chunks/{form-eej6y6fw.js → schema-eej6y6fw.js} +2 -2
  130. package/dist/chunks/{form-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
  131. package/dist/chunks/{form-pz51kqst.js → schema-ejvnp2ks.js} +11 -11
  132. package/dist/chunks/{form-e8c8zgaf.js → schema-ek59gnbm.js} +71 -71
  133. package/dist/chunks/{form-q5asdkn4.js → schema-embw8kgh.js} +4 -4
  134. package/dist/chunks/{form-19k05nxq.js → schema-exevrqmg.js} +19 -19
  135. package/dist/chunks/{form-zghqh9m4.js → schema-ezc52dw2.js} +5 -5
  136. package/dist/chunks/{form-pmykfp9p.js → schema-f4g83bm7.js} +11 -11
  137. package/dist/chunks/{form-fcy631f0.js → schema-fcy631f0.js} +1 -1
  138. package/dist/chunks/{form-0jq9fyba.js → schema-fdms3n6w.js} +9 -9
  139. package/dist/chunks/{form-d1p465nq.js → schema-fvgp290g.js} +8 -8
  140. package/dist/chunks/{form-8pxgwx02.js → schema-fw9jjgyr.js} +19 -19
  141. package/dist/chunks/{form-7bwgwstm.js → schema-fyzv33qs.js} +37 -37
  142. package/dist/chunks/{form-g4fh54as.js → schema-fzz4ftgm.js} +13 -13
  143. package/dist/chunks/{form-76wqcf0a.js → schema-g4wty43c.js} +5 -5
  144. package/dist/chunks/{form-e3m5h7z7.js → schema-g754c8fk.js} +6 -6
  145. package/dist/chunks/{form-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
  146. package/dist/chunks/{form-nyretmae.js → schema-ghrfrbg4.js} +4 -4
  147. package/dist/chunks/{form-vmfvcz6g.js → schema-gjgye92n.js} +17 -17
  148. package/dist/chunks/{form-snx4nqk9.js → schema-gjkbr6zc.js} +13 -13
  149. package/dist/chunks/{form-ty2f8d57.js → schema-gp3kkx05.js} +27 -27
  150. package/dist/chunks/{form-3gkmwhhy.js → schema-gwaz9r47.js} +1 -1
  151. package/dist/chunks/{form-q2r8gbdf.js → schema-gwj3kssr.js} +58 -58
  152. package/dist/chunks/{form-3wh0fnkb.js → schema-h6cpwytq.js} +55 -55
  153. package/dist/chunks/{form-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
  154. package/dist/chunks/{form-6jjecsmt.js → schema-h9r6r1hy.js} +29 -29
  155. package/dist/chunks/{form-b6d3184h.js → schema-hcgx9r92.js} +14 -14
  156. package/dist/chunks/{form-hgz4x7wa.js → schema-hgz4x7wa.js} +1 -1
  157. package/dist/chunks/{form-k22705tg.js → schema-hh0a7fvf.js} +183 -183
  158. package/dist/chunks/{form-r2v4c7r0.js → schema-hhyv66vq.js} +8 -8
  159. package/dist/chunks/{form-d6a0dzba.js → schema-hktg20kd.js} +11 -11
  160. package/dist/chunks/{form-gh89cy2x.js → schema-hp36aydz.js} +24 -24
  161. package/dist/chunks/{form-v8fz4mt5.js → schema-hq279geq.js} +26 -26
  162. package/dist/chunks/{form-khmqacep.js → schema-hq3c8me3.js} +4 -4
  163. package/dist/chunks/{form-9d5n2cav.js → schema-htvezcsh.js} +3 -3
  164. package/dist/chunks/{form-mg46656p.js → schema-hwq6p19n.js} +4 -4
  165. package/dist/chunks/{form-3zbx3h7w.js → schema-hz7aezfr.js} +36 -36
  166. package/dist/chunks/{form-x830gk0v.js → schema-j05q090x.js} +23 -23
  167. package/dist/chunks/{form-eqgdfs9h.js → schema-j6ktnsbj.js} +12 -12
  168. package/dist/chunks/{form-9eh2b9tz.js → schema-j73na0aw.js} +26 -26
  169. package/dist/chunks/{form-x0b6dsea.js → schema-j9w080ad.js} +14 -14
  170. package/dist/chunks/{form-r3ndx3a2.js → schema-jm1wa9nf.js} +15 -15
  171. package/dist/chunks/{form-2qwajngy.js → schema-js1t3555.js} +9 -9
  172. package/dist/chunks/{form-b8spkqz0.js → schema-jxda656q.js} +10 -10
  173. package/dist/chunks/{form-sngg5jzg.js → schema-kcfh4jp8.js} +14 -14
  174. package/dist/chunks/{form-9nxktn4c.js → schema-ke8th4a0.js} +13 -13
  175. package/dist/chunks/{form-dhb2hta4.js → schema-kecqjjhm.js} +5 -5
  176. package/dist/chunks/{form-0q6bzv9j.js → schema-kp7tszm4.js} +22 -22
  177. package/dist/chunks/{form-kwb1v3vj.js → schema-kwb1v3vj.js} +1 -1
  178. package/dist/chunks/{form-9man8zct.js → schema-kwr2em0p.js} +22 -22
  179. package/dist/chunks/{form-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/{form-rkdvqggb.js → schema-ma48de29.js} +5 -5
  181. package/dist/chunks/{form-8vzk4gb7.js → schema-man2x1hw.js} +24 -24
  182. package/dist/chunks/{form-maspj1v3.js → schema-maspj1v3.js} +1 -1
  183. package/dist/chunks/{form-dv4gps5g.js → schema-mccws065.js} +2 -2
  184. package/dist/chunks/{form-mmq9wxfe.js → schema-mcxxahwh.js} +46 -46
  185. package/dist/chunks/{form-q55rfppt.js → schema-mvg2napp.js} +11 -11
  186. package/dist/chunks/{form-mxvxcxwy.js → schema-mxvxcxwy.js} +1 -1
  187. package/dist/chunks/{form-xvdstdyg.js → schema-n46s7c5f.js} +5 -5
  188. package/dist/chunks/{form-jqebagr2.js → schema-n4s909p2.js} +53 -53
  189. package/dist/chunks/{form-bq2jgg1t.js → schema-nf3p155y.js} +5 -5
  190. package/dist/chunks/{form-833me25k.js → schema-nqcscwec.js} +13 -13
  191. package/dist/chunks/{form-3f7eexd0.js → schema-nwwgs0kh.js} +10 -10
  192. package/dist/chunks/{form-e7vcsn0z.js → schema-nysxgq6d.js} +11 -11
  193. package/dist/chunks/{form-fwedgtee.js → schema-p1p7f544.js} +24 -24
  194. package/dist/chunks/{form-5yzzbxa7.js → schema-p37cw4rj.js} +8 -8
  195. package/dist/chunks/{form-19d68r03.js → schema-p4p2ts1j.js} +14 -14
  196. package/dist/chunks/{form-gqqjwrr4.js → schema-pcb8yjd0.js} +7 -7
  197. package/dist/chunks/{form-t4rshbjx.js → schema-phq9g6aj.js} +22 -22
  198. package/dist/chunks/{form-5gt9nc9t.js → schema-phse5vhf.js} +29 -29
  199. package/dist/chunks/{form-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
  200. package/dist/chunks/{form-pknna89w.js → schema-pknna89w.js} +1 -1
  201. package/dist/chunks/{form-8y2xcxay.js → schema-pv4s4nxr.js} +18 -18
  202. package/dist/chunks/{form-n64j14rh.js → schema-pwjp0qa3.js} +35 -35
  203. package/dist/chunks/{form-08e8839p.js → schema-q6chj63a.js} +32 -32
  204. package/dist/chunks/{form-edgrr010.js → schema-q9cqhrsb.js} +2 -2
  205. package/dist/chunks/{form-3enf7134.js → schema-qa1bwf9y.js} +17 -17
  206. package/dist/chunks/{form-gatqkby9.js → schema-qhfwh6dg.js} +37 -37
  207. package/dist/chunks/{form-qnc92qwc.js → schema-qnc92qwc.js} +1 -1
  208. package/dist/chunks/{form-qsdy395h.js → schema-qsdy395h.js} +1 -1
  209. package/dist/chunks/{form-dsxc0gdn.js → schema-qt44r66w.js} +3 -3
  210. package/dist/chunks/{form-bpzz8sk3.js → schema-qx53j35n.js} +27 -27
  211. package/dist/chunks/{form-e80seqcp.js → schema-r2z489rp.js} +3 -3
  212. package/dist/chunks/{form-bgg9avxn.js → schema-r4mzk1xx.js} +3 -3
  213. package/dist/chunks/{form-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
  214. package/dist/chunks/{form-92swtbh8.js → schema-remtvbha.js} +3 -3
  215. package/dist/chunks/{form-rert0e01.js → schema-rert0e01.js} +2 -2
  216. package/dist/chunks/{form-e0z0jdq6.js → schema-rhrxssrh.js} +6 -6
  217. package/dist/chunks/{form-rj3eygr5.js → schema-rj3eygr5.js} +2 -2
  218. package/dist/chunks/{form-74d9v2fc.js → schema-rk5y8ke4.js} +17 -17
  219. package/dist/chunks/{form-kcgvbftg.js → schema-rkpm4y6y.js} +11 -11
  220. package/dist/chunks/{form-r17zqvjw.js → schema-rp73s9pz.js} +16 -16
  221. package/dist/chunks/{form-04gde0z7.js → schema-rqkmn7me.js} +21 -21
  222. package/dist/chunks/{form-y1paeth2.js → schema-rt2zj1s0.js} +22 -22
  223. package/dist/chunks/{form-ssk7czj1.js → schema-rtka9wvf.js} +19 -19
  224. package/dist/chunks/{form-vqkwn4tj.js → schema-rvbf7bre.js} +12 -12
  225. package/dist/chunks/{form-16bthr3t.js → schema-rw5jw54j.js} +8 -8
  226. package/dist/chunks/{form-b7277dxx.js → schema-rz6yywgf.js} +35 -35
  227. package/dist/chunks/{form-4tbmbj09.js → schema-s15d9z4p.js} +29 -29
  228. package/dist/chunks/{form-8a2q96p4.js → schema-s1y79ssk.js} +15 -15
  229. package/dist/chunks/{form-sa8ekw3f.js → schema-sa8ekw3f.js} +2 -2
  230. package/dist/chunks/{form-k42evvpj.js → schema-scvzwabm.js} +11 -11
  231. package/dist/chunks/{form-sgpss9b5.js → schema-sqmzwr9m.js} +9 -9
  232. package/dist/chunks/{form-hp22rb7y.js → schema-st4zt39s.js} +23 -23
  233. package/dist/chunks/{form-syv4x271.js → schema-syv4x271.js} +1 -1
  234. package/dist/chunks/{form-t550f9t1.js → schema-t550f9t1.js} +1 -1
  235. package/dist/chunks/{form-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{form-tdstcens.js → schema-tdstcens.js} +1 -1
  237. package/dist/chunks/{form-xes13cec.js → schema-tej7bjmy.js} +15 -15
  238. package/dist/chunks/{form-tm0kqsz3.js → schema-tm0kqsz3.js} +1 -1
  239. package/dist/chunks/{form-xryw55cn.js → schema-tsftnbvm.js} +11 -11
  240. package/dist/chunks/{form-hbb7npd7.js → schema-tt8gc4fv.js} +6 -6
  241. package/dist/chunks/{form-v29px2ne.js → schema-ttacmzh5.js} +12 -12
  242. package/dist/chunks/{form-q0p071b0.js → schema-txyw6bh0.js} +2 -2
  243. package/dist/chunks/{form-tyytaxap.js → schema-tyytaxap.js} +1 -1
  244. package/dist/chunks/{form-v13b12ef.js → schema-v13b12ef.js} +2 -2
  245. package/dist/chunks/{form-mmne1w82.js → schema-v20v5pjv.js} +37 -37
  246. package/dist/chunks/{form-v210v162.js → schema-v210v162.js} +2 -2
  247. package/dist/chunks/{form-z5gmjsqz.js → schema-v4b1xa27.js} +11 -11
  248. package/dist/chunks/{form-sxz6gkc3.js → schema-v5dkyp31.js} +7 -7
  249. package/dist/chunks/{form-v7p4zvkq.js → schema-v7p4zvkq.js} +2 -2
  250. package/dist/chunks/{form-bkt2f8yx.js → schema-vag86jwj.js} +10 -10
  251. package/dist/chunks/{form-veqvce7d.js → schema-veqvce7d.js} +1 -1
  252. package/dist/chunks/{form-x5bj7jd8.js → schema-vh1fw6yt.js} +27 -27
  253. package/dist/chunks/schema-vnkjks7b.js +18 -0
  254. package/dist/chunks/{form-xn9d5d7a.js → schema-vwssb2rn.js} +12 -12
  255. package/dist/chunks/{form-az5hjsz4.js → schema-vz2w9rtp.js} +27 -27
  256. package/dist/chunks/{form-vzs5sf6e.js → schema-vzs5sf6e.js} +1 -1
  257. package/dist/chunks/{form-xkdqbgma.js → schema-w1ej9fkt.js} +9 -9
  258. package/dist/chunks/{form-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
  259. package/dist/chunks/{form-d5sedwsn.js → schema-w4q7m0eq.js} +20 -20
  260. package/dist/chunks/{form-3he49gvd.js → schema-wcp8qb9k.js} +18 -18
  261. package/dist/chunks/{form-wd87259q.js → schema-wd87259q.js} +1 -1
  262. package/dist/chunks/{form-1271r34y.js → schema-wg91gmf4.js} +36 -36
  263. package/dist/chunks/{form-0thw0tvr.js → schema-wp1sg2es.js} +6 -6
  264. package/dist/chunks/{form-ffm3byn0.js → schema-xekvc3d8.js} +15 -15
  265. package/dist/chunks/{form-877ypse5.js → schema-xgmhetns.js} +12 -12
  266. package/dist/chunks/{form-kamqz7n1.js → schema-xqj10vmz.js} +9 -9
  267. package/dist/chunks/{form-wxp1snbt.js → schema-xtpd89cm.js} +11 -11
  268. package/dist/chunks/{form-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{form-y71avatq.js → schema-y71avatq.js} +1 -1
  270. package/dist/chunks/{form-t3nryzzt.js → schema-y89gydzy.js} +15 -15
  271. package/dist/chunks/{form-p30t7e37.js → schema-ycc3121e.js} +4 -4
  272. package/dist/chunks/{form-q9177bt4.js → schema-ydbf29gx.js} +51 -51
  273. package/dist/chunks/{form-k4a4z99s.js → schema-yhc4wv29.js} +50 -50
  274. package/dist/chunks/{form-wbg02h9n.js → schema-yr2aghkb.js} +5 -5
  275. package/dist/chunks/{form-3t117dar.js → schema-yr7e010d.js} +12 -12
  276. package/dist/chunks/{form-23qegrxz.js → schema-yw7v3j12.js} +25 -25
  277. package/dist/chunks/{form-8ja30ehw.js → schema-yx0rmv9r.js} +8 -8
  278. package/dist/chunks/{form-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{form-z18fegx4.js → schema-z18fegx4.js} +1 -1
  280. package/dist/chunks/{form-2em56rg1.js → schema-z41ahr7v.js} +11 -11
  281. package/dist/chunks/{form-ck1zs89s.js → schema-z9c610pw.js} +13 -13
  282. package/dist/chunks/{form-hded69yb.js → schema-zdtbn3v6.js} +22 -22
  283. package/dist/chunks/{form-dy50jp3n.js → schema-zqr7hr21.js} +15 -15
  284. package/dist/chunks/{form-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{form-6ss6brbq.js → schema-zsep494j.js} +5 -5
  286. package/dist/chunks/{form-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
  287. package/dist/chunks/{form-n5csmyza.js → schema-zzmpqpc3.js} +10 -10
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +5 -5
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +87 -87
  293. package/dist/config/discovery.js +86 -86
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +116 -116
  297. package/dist/config/plugin/command.js +206 -206
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +118 -118
  305. package/dist/config/plugin/mcp.js +123 -123
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +118 -118
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +1 -1
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +117 -117
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +117 -117
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +83 -83
  323. package/dist/database/database.js +68 -68
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +78 -78
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +370 -370
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +1 -1
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +95 -95
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +3 -3
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +76 -76
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +221 -221
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +105 -105
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +13 -13
  428. package/dist/filesystem.js +108 -108
  429. package/dist/form.js +82 -82
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +108 -108
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +93 -93
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +361 -361
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +1 -1
  460. package/dist/integration/connection.js +1 -1
  461. package/dist/integration.js +87 -87
  462. package/dist/job.js +80 -80
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +158 -158
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +358 -358
  469. package/dist/location.js +87 -87
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +111 -111
  473. package/dist/mcp/instructions.js +131 -131
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/stdio.js +92 -92
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +93 -93
  478. package/dist/model-resolver.js +100 -100
  479. package/dist/model-retry.js +1 -1
  480. package/dist/model.js +102 -102
  481. package/dist/models-dev.js +109 -109
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +86 -86
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +113 -113
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +90 -90
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +77 -77
  491. package/dist/plugin/agent.js +76 -76
  492. package/dist/plugin/command.js +102 -102
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +212 -212
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +332 -332
  498. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  499. package/dist/plugin/models-dev.js +98 -98
  500. package/dist/plugin/module.js +117 -117
  501. package/dist/plugin/optimize.js +2 -2
  502. package/dist/plugin/plan.js +104 -104
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  505. package/dist/plugin/provider/azure.js +114 -114
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/chatgpt.js +116 -116
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +112 -112
  512. package/dist/plugin/provider/databricks.js +1 -1
  513. package/dist/plugin/provider/digitalocean.js +95 -95
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/github-copilot.js +97 -97
  517. package/dist/plugin/provider/gitlab.js +95 -95
  518. package/dist/plugin/provider/google-vertex.js +113 -113
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +80 -80
  521. package/dist/plugin/provider/lmstudio.js +125 -125
  522. package/dist/plugin/provider/local.js +122 -122
  523. package/dist/plugin/provider/modal.js +94 -94
  524. package/dist/plugin/provider/neon.js +1 -1
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +123 -123
  527. package/dist/plugin/provider/openai.js +116 -116
  528. package/dist/plugin/provider/opencode.js +100 -100
  529. package/dist/plugin/provider/openrouter.js +93 -93
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +81 -81
  532. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  533. package/dist/plugin/provider/sap-ai-core.js +93 -93
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  536. package/dist/plugin/provider/vercel.js +92 -92
  537. package/dist/plugin/provider/vllm.js +123 -123
  538. package/dist/plugin/provider/xai.js +93 -93
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +168 -168
  541. package/dist/plugin/sdk.js +76 -76
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +132 -132
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +347 -347
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +86 -86
  549. package/dist/plugin/vcs/hg.js +86 -86
  550. package/dist/plugin/verbosity.js +95 -95
  551. package/dist/plugin/warming.js +114 -114
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +2 -2
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +4 -4
  559. package/dist/plugin.js +223 -223
  560. package/dist/project/schema.js +2 -2
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +86 -86
  563. package/dist/provider.js +99 -99
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +101 -101
  567. package/dist/reference/instructions.js +91 -91
  568. package/dist/reference.js +93 -93
  569. package/dist/repository-cache.js +83 -83
  570. package/dist/repository.js +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +99 -99
  573. package/dist/rpc.js +88 -88
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +1 -1
  576. package/dist/session/command.js +76 -76
  577. package/dist/session/compaction.js +138 -138
  578. package/dist/session/context.js +155 -155
  579. package/dist/session/diff.js +90 -90
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +218 -218
  584. package/dist/session/execution.js +129 -129
  585. package/dist/session/generate.js +157 -157
  586. package/dist/session/history.js +15 -15
  587. package/dist/session/inbox.js +93 -93
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +81 -81
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +99 -99
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +122 -122
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +131 -131
  597. package/dist/session/projector.js +91 -91
  598. package/dist/session/prompt.js +107 -107
  599. package/dist/session/recent-text.js +1 -1
  600. package/dist/session/revert.js +96 -96
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +225 -225
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +100 -100
  606. package/dist/session/runner/publish-llm-event.js +115 -115
  607. package/dist/session/runner/retry.js +5 -5
  608. package/dist/session/runner/step.js +126 -126
  609. package/dist/session/runner/to-llm-message.js +14 -14
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +164 -164
  612. package/dist/session/shell.js +130 -130
  613. package/dist/session/skill.js +105 -105
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +75 -75
  616. package/dist/session/store.js +87 -87
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +202 -202
  619. package/dist/session/system-prompt.js +1 -1
  620. package/dist/session/title.js +159 -159
  621. package/dist/session/to-session-error.js +113 -113
  622. package/dist/session/transfer.js +214 -214
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +214 -214
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +13 -13
  629. package/dist/shell.js +132 -132
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +107 -107
  632. package/dist/skill.js +110 -110
  633. package/dist/snapshot.js +93 -93
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +130 -130
  638. package/dist/tool/plugin/edit.js +122 -122
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +126 -126
  641. package/dist/tool/plugin/grep.js +126 -126
  642. package/dist/tool/plugin/mcp-resource.js +119 -119
  643. package/dist/tool/plugin/opencode.js +111 -111
  644. package/dist/tool/plugin/patch.js +124 -124
  645. package/dist/tool/plugin/question.js +107 -107
  646. package/dist/tool/plugin/read.js +127 -127
  647. package/dist/tool/plugin/shell.js +211 -211
  648. package/dist/tool/plugin/skill.js +111 -111
  649. package/dist/tool/plugin/subagent.js +209 -209
  650. package/dist/tool/plugin/todo.js +134 -134
  651. package/dist/tool/plugin/webfetch.js +106 -106
  652. package/dist/tool/plugin/websearch.js +116 -116
  653. package/dist/tool/plugin/write.js +124 -124
  654. package/dist/tool/read-filesystem.js +102 -102
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +7 -7
  657. package/dist/tool.js +16 -16
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/error.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/iife.js +1 -1
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +5 -5
  668. package/dist/v1/config/command.js +5 -5
  669. package/dist/v1/config/error.js +2 -2
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +94 -94
  672. package/dist/v1/config/permission.js +5 -5
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/variant.js +95 -95
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +91 -91
  679. package/dist/voice.js +88 -88
  680. package/dist/websearch.js +86 -86
  681. package/dist/wellknown/plugin.js +78 -78
  682. package/dist/wellknown.js +81 -81
  683. package/dist/workspace/driver.js +7 -7
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +84 -84
  686. package/dist/worktree/directory.js +2 -2
  687. package/dist/worktree/git.js +10 -10
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree/strategies.js +91 -91
  690. package/dist/worktree.js +100 -100
  691. package/package.json +8 -8
  692. package/dist/chunks/form-8d77zc71.js +0 -257
  693. package/dist/chunks/form-rap9a73h.js +0 -18
  694. /package/dist/chunks/{form-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
  695. /package/dist/chunks/{form-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
  696. /package/dist/chunks/{form-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
  697. /package/dist/chunks/{form-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
  698. /package/dist/chunks/{form-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
  699. /package/dist/chunks/{form-24dcb14g.js → schema-24dcb14g.js} +0 -0
  700. /package/dist/chunks/{form-2710q6r3.js → schema-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{form-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
  702. /package/dist/chunks/{form-2bv980vf.js → schema-2bv980vf.js} +0 -0
  703. /package/dist/chunks/{form-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{form-359p4xyc.js → schema-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{form-3asan66x.js → schema-3asan66x.js} +0 -0
  706. /package/dist/chunks/{form-3t0ybcrp.js → schema-3t0ybcrp.js} +0 -0
  707. /package/dist/chunks/{form-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
  708. /package/dist/chunks/{form-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{form-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{form-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{form-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{form-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{form-53557ph1.js → schema-53557ph1.js} +0 -0
  714. /package/dist/chunks/{form-550bvhaj.js → schema-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{form-6prwharc.js → schema-6prwharc.js} +0 -0
  716. /package/dist/chunks/{form-6q2bdcd1.js → schema-6q2bdcd1.js} +0 -0
  717. /package/dist/chunks/{form-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{form-7m9af43g.js → schema-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{form-822emrt2.js → schema-822emrt2.js} +0 -0
  720. /package/dist/chunks/{form-84wd9syh.js → schema-84wd9syh.js} +0 -0
  721. /package/dist/chunks/{form-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
  722. /package/dist/chunks/{form-8n3pysct.js → schema-8n3pysct.js} +0 -0
  723. /package/dist/chunks/{form-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
  724. /package/dist/chunks/{form-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
  725. /package/dist/chunks/{form-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
  726. /package/dist/chunks/{form-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
  727. /package/dist/chunks/{form-af5trqkr.js → schema-af5trqkr.js} +0 -0
  728. /package/dist/chunks/{form-afrmfg78.js → schema-afrmfg78.js} +0 -0
  729. /package/dist/chunks/{form-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
  730. /package/dist/chunks/{form-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
  731. /package/dist/chunks/{form-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
  732. /package/dist/chunks/{form-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
  733. /package/dist/chunks/{form-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
  734. /package/dist/chunks/{form-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
  735. /package/dist/chunks/{form-d9fn303g.js → schema-d9fn303g.js} +0 -0
  736. /package/dist/chunks/{form-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
  737. /package/dist/chunks/{form-dajrwvna.js → schema-dajrwvna.js} +0 -0
  738. /package/dist/chunks/{form-dap0rakb.js → schema-dap0rakb.js} +0 -0
  739. /package/dist/chunks/{form-df08tz66.js → schema-df08tz66.js} +0 -0
  740. /package/dist/chunks/{form-dy18nga0.js → schema-dy18nga0.js} +0 -0
  741. /package/dist/chunks/{form-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
  742. /package/dist/chunks/{form-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
  743. /package/dist/chunks/{form-ec1grn59.js → schema-ec1grn59.js} +0 -0
  744. /package/dist/chunks/{form-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
  745. /package/dist/chunks/{form-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
  746. /package/dist/chunks/{form-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
  747. /package/dist/chunks/{form-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
  748. /package/dist/chunks/{form-faypxj3z.js → schema-faypxj3z.js} +0 -0
  749. /package/dist/chunks/{form-fd410y7t.js → schema-fd410y7t.js} +0 -0
  750. /package/dist/chunks/{form-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
  751. /package/dist/chunks/{form-g86h250q.js → schema-g86h250q.js} +0 -0
  752. /package/dist/chunks/{form-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
  753. /package/dist/chunks/{form-gftt206x.js → schema-gftt206x.js} +0 -0
  754. /package/dist/chunks/{form-hcxmzztb.js → schema-hcxmzztb.js} +0 -0
  755. /package/dist/chunks/{form-hk9envan.js → schema-hk9envan.js} +0 -0
  756. /package/dist/chunks/{form-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{form-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{form-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
  759. /package/dist/chunks/{form-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{form-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{form-jze0r7bz.js → schema-jze0r7bz.js} +0 -0
  762. /package/dist/chunks/{form-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
  763. /package/dist/chunks/{form-m18g726c.js → schema-m18g726c.js} +0 -0
  764. /package/dist/chunks/{form-mp448xyj.js → schema-mp448xyj.js} +0 -0
  765. /package/dist/chunks/{form-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
  766. /package/dist/chunks/{form-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
  767. /package/dist/chunks/{form-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
  768. /package/dist/chunks/{form-njntx4h6.js → schema-njntx4h6.js} +0 -0
  769. /package/dist/chunks/{form-pkyv6v7h.js → schema-pkyv6v7h.js} +0 -0
  770. /package/dist/chunks/{form-pyv0edze.js → schema-pyv0edze.js} +0 -0
  771. /package/dist/chunks/{form-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{form-q74kybfr.js → schema-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{form-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{form-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{form-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{form-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{form-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{form-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{form-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{form-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
  781. /package/dist/chunks/{form-ve7vex1e.js → schema-ve7vex1e.js} +0 -0
  782. /package/dist/chunks/{form-w803qqfp.js → schema-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{form-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{form-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{form-wjj7prxr.js → schema-wjj7prxr.js} +0 -0
  786. /package/dist/chunks/{form-wtztk69x.js → schema-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{form-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{form-x61499pn.js → schema-x61499pn.js} +0 -0
  789. /package/dist/chunks/{form-y44na4kk.js → schema-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{form-y8f7s663.js → schema-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{form-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{form-ym463w8f.js → schema-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{form-z5v4ffb3.js → schema-z5v4ffb3.js} +0 -0
  794. /package/dist/chunks/{form-z9919s4g.js → schema-z9919s4g.js} +0 -0
@@ -1,25 +1,25 @@
1
- import {
2
- Service84,
3
- node88
4
- } from "./form-xn9d5d7a.js";
5
1
  import {
6
2
  Service85,
7
3
  node89
8
- } from "./form-bkt2f8yx.js";
4
+ } from "./schema-vwssb2rn.js";
5
+ import {
6
+ Service76,
7
+ node79
8
+ } from "./schema-vag86jwj.js";
9
9
  import {
10
10
  create3
11
- } from "./form-rdw6cm16.js";
11
+ } from "./schema-rdw6cm16.js";
12
12
  import {
13
13
  __export
14
- } from "./form-9rqn6x4v.js";
14
+ } from "./schema-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
- Event: () => Event12,
21
- ID: () => ID11,
22
- Input: () => Input15,
20
+ Event: () => Event3,
21
+ ID: () => ID3,
22
+ Input: () => Input14,
23
23
  Provider: () => Provider2,
24
24
  ProviderKey: () => ProviderKey2,
25
25
  ProviderNotFoundError: () => ProviderNotFoundError2,
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service67,
31
+ Service: () => Service18,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node70
33
+ node: () => node21
34
34
  });
35
35
  import { WebSearch } from "@opencode/schema/websearch";
36
36
  import { SessionEvent } from "@opencode/schema/session-event";
37
37
  import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
38
38
  import { HttpClientError } from "effect/http";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- import { Event as Event12 } from "@opencode/schema/websearch";
41
- var ID11 = WebSearch.ID;
40
+ import { Event as Event3 } from "@opencode/schema/websearch";
41
+ var ID3 = WebSearch.ID;
42
42
  var Provider2 = WebSearch.Provider;
43
- var Input15 = WebSearch.Input;
43
+ var Input14 = WebSearch.Input;
44
44
  var Result2 = WebSearch.Result;
45
45
  var Response2 = WebSearch.Response;
46
46
  var ProviderKey2 = "websearch:provider";
47
- var Selection2 = Schema.Union([ID11, Schema.Literal("random"), Schema.Literal(false)]);
47
+ var Selection2 = Schema.Union([ID3, Schema.Literal("random"), Schema.Literal(false)]);
48
48
 
49
49
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
50
50
  }
51
51
 
52
52
  class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
53
- providerID: ID11
53
+ providerID: ID3
54
54
  }) {
55
55
  }
56
56
 
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
58
58
  }
59
59
 
60
60
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
61
- providerID: ID11,
61
+ providerID: ID3,
62
62
  cause: Schema.Defect()
63
63
  }) {
64
64
  }
65
65
 
66
- class Service67 extends Context.Service()("@opencode/WebSearch") {
66
+ class Service18 extends Context.Service()("@opencode/WebSearch") {
67
67
  }
68
- var layer = Layer.effect(Service67, Effect.gen(function* () {
69
- const bus = yield* Service84;
70
- const kv = yield* Service85;
68
+ var layer = Layer.effect(Service18, Effect.gen(function* () {
69
+ const bus = yield* Service85;
70
+ const kv = yield* Service76;
71
71
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
72
72
  const cooldowns = new Map;
73
73
  const preferred = new Map;
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
124
124
  }
125
125
  return choice ? state.get().providers.get(choice) : undefined;
126
126
  });
127
- return Service67.of({
127
+ return Service18.of({
128
128
  transform: state.transform,
129
129
  reload: state.reload,
130
130
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
184
184
  const date = Date.parse(value);
185
185
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
186
186
  }
187
- var node70 = makeLocationNode({
188
- service: Service67,
187
+ var node21 = makeLocationNode({
188
+ service: Service18,
189
189
  layer,
190
- deps: [node88, node89]
190
+ deps: [node89, node79]
191
191
  });
192
192
 
193
- export { ID11, Provider2, Input15, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service67, node70, exports_websearch3, Event12 };
193
+ export { ID3, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service18, node21, exports_websearch3, Event3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/shell/result.ts
6
6
  var exports_result = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
- Service84
3
- } from "./form-xn9d5d7a.js";
2
+ Service85
3
+ } from "./schema-vwssb2rn.js";
4
4
  import {
5
5
  supportsText2
6
- } from "./form-btxgmbmp.js";
6
+ } from "./schema-1skh4z6z.js";
7
7
  import {
8
- Service14,
9
- Event2
10
- } from "./form-2sfa3baz.js";
8
+ Service44,
9
+ Event8
10
+ } from "./schema-4c7g6ymp.js";
11
11
 
12
12
  // src/plugin/models-dev.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -38,8 +38,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
38
38
  var ModelsDevPlugin2 = define({
39
39
  id: "opencode.models.dev",
40
40
  effect: Effect.fn(function* (ctx) {
41
- const modelsDev = yield* Service14;
42
- const bus = yield* Service84;
41
+ const modelsDev = yield* Service44;
42
+ const bus = yield* Service85;
43
43
  const loaded = { data: snapshots(yield* modelsDev.get()) };
44
44
  yield* ctx.integration.transform((integrations) => {
45
45
  for (const provider of loaded.data) {
@@ -72,7 +72,7 @@ var ModelsDevPlugin2 = define({
72
72
  loaded.data = snapshots(data);
73
73
  return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
74
74
  };
75
- yield* bus.subscribe(Event2.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
75
+ yield* bus.subscribe(Event8.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
76
76
  const latest = yield* modelsDev.get();
77
77
  if (snapshots(latest) !== loaded.data)
78
78
  yield* apply(latest);
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./form-emrn6kk6.js";
4
+ } from "./schema-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/delete.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,17 +1,17 @@
1
1
  import {
2
- Service84
3
- } from "./form-xn9d5d7a.js";
2
+ Service85
3
+ } from "./schema-vwssb2rn.js";
4
4
  import {
5
- ID15,
6
- Event17,
7
- Service72
8
- } from "./form-ty2f8d57.js";
5
+ ID13,
6
+ Event18,
7
+ Service73
8
+ } from "./schema-gp3kkx05.js";
9
9
  import {
10
- ID13
11
- } from "./form-ebdsrbwd.js";
10
+ ID11
11
+ } from "./schema-dk1ym1bf.js";
12
12
  import {
13
13
  configuredSettings2
14
- } from "./form-e3m5h7z7.js";
14
+ } from "./schema-g754c8fk.js";
15
15
 
16
16
  // src/plugin/provider/google-vertex.ts
17
17
  import { Effect, Option, Schema, Stream } from "effect";
@@ -41,8 +41,8 @@ var GoogleVertexPlugin2 = define({
41
41
  id: "opencode.provider.google.vertex",
42
42
  effect: Effect.fn(function* (ctx) {
43
43
  const fs = yield* FSUtil.Service;
44
- const credentials = yield* Service72;
45
- const bus = yield* Service84;
44
+ const credentials = yield* Service73;
45
+ const bus = yield* Service85;
46
46
  const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
47
47
  return;
48
48
  }));
@@ -51,7 +51,7 @@ var GoogleVertexPlugin2 = define({
51
51
  const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
52
52
  const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
53
53
  const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
54
- const configured = (yield* configuredSettings2(ID13.googleVertex)) ?? {};
54
+ const configured = (yield* configuredSettings2(ID11.googleVertex)) ?? {};
55
55
  const projects = Array.from(new Set([
56
56
  resolveProject(configured),
57
57
  ...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
@@ -65,8 +65,8 @@ var GoogleVertexPlugin2 = define({
65
65
  ...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
66
66
  ]));
67
67
  const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
68
- const connection = yield* ctx.integration.connection.active(ID13.googleVertex);
69
- const stored = connection?.type === "credential" ? yield* credentials.get(ID15.make(connection.id)) : undefined;
68
+ const connection = yield* ctx.integration.connection.active(ID11.googleVertex);
69
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID13.make(connection.id)) : undefined;
70
70
  if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
71
71
  return {};
72
72
  return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
@@ -74,15 +74,15 @@ var GoogleVertexPlugin2 = define({
74
74
  const selected = { settings: yield* load() };
75
75
  const settingsFor = (provider) => ({
76
76
  ...provider.settings,
77
- ...(provider.integrationID ?? provider.id) === ID13.googleVertex ? selected.settings : {}
77
+ ...(provider.integrationID ?? provider.id) === ID11.googleVertex ? selected.settings : {}
78
78
  });
79
79
  yield* ctx.integration.transform((editor) => {
80
80
  editor.method.update({
81
- integrationID: ID13.googleVertex,
81
+ integrationID: ID11.googleVertex,
82
82
  method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
83
83
  });
84
84
  editor.method.update({
85
- integrationID: ID13.googleVertex,
85
+ integrationID: ID11.googleVertex,
86
86
  method: {
87
87
  id: ADC_METHOD,
88
88
  type: "external",
@@ -120,7 +120,7 @@ var GoogleVertexPlugin2 = define({
120
120
  });
121
121
  yield* ctx.provider.transform((evt) => {
122
122
  for (const item of evt.list()) {
123
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
123
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID11.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
124
124
  continue;
125
125
  const settings = settingsFor(item.provider);
126
126
  const project = resolveProject(settings);
@@ -139,7 +139,7 @@ var GoogleVertexPlugin2 = define({
139
139
  });
140
140
  yield* ctx.model.transform((models) => {
141
141
  for (const item of models.provider.list()) {
142
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
142
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID11.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
143
143
  continue;
144
144
  const settings = settingsFor(item.provider);
145
145
  const project = resolveProject(settings);
@@ -156,7 +156,7 @@ var GoogleVertexPlugin2 = define({
156
156
  }
157
157
  }
158
158
  });
159
- yield* bus.subscribe([Event17.Updated, Event17.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
159
+ yield* bus.subscribe([Event18.Updated, Event18.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
160
160
  const next = yield* load();
161
161
  if (JSON.stringify(next) === JSON.stringify(selected.settings))
162
162
  return;
@@ -2,26 +2,26 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./form-z5v4ffb3.js";
5
+ } from "./schema-z5v4ffb3.js";
6
6
  import {
7
- Service50,
8
- node53
9
- } from "./form-gh89cy2x.js";
7
+ Service80,
8
+ node83
9
+ } from "./schema-hp36aydz.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./form-maspj1v3.js";
12
+ } from "./schema-maspj1v3.js";
13
13
  import {
14
14
  __export
15
- } from "./form-9rqn6x4v.js";
15
+ } from "./schema-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
19
19
  __export(exports_ripgrep, {
20
- Error: () => Error2,
20
+ Error: () => Error4,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service21,
24
- node: () => node23
23
+ Service: () => Service79,
24
+ node: () => node82
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/process";
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
46
46
  });
47
47
  var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
48
48
 
49
- class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
49
+ class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
50
50
  message: Schema.String,
51
51
  cause: Schema.optional(Schema.Defect())
52
52
  }) {
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service21 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service79 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
- var failure = (message, cause) => new Error2({ message, cause });
63
+ var failure = (message, cause) => new Error4({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service21, Effect.gen(function* () {
67
- const environment = yield* Service50;
66
+ var layer = Layer.effect(Service79, Effect.gen(function* () {
67
+ const environment = yield* Service80;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
90
90
  return code === 1 ? [] : rows;
91
91
  }));
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
- return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
93
+ return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service21.of({
95
+ return Service79.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node23 = makeLocationNode({ service: Service21, layer, deps: [node53, RipgrepBinary2.node] });
178
+ var node82 = makeLocationNode({ service: Service79, layer, deps: [node83, RipgrepBinary2.node] });
179
179
 
180
- export { Error2, InvalidPatternError2, Service21, node23, exports_ripgrep };
180
+ export { Error4, InvalidPatternError2, Service79, node82, exports_ripgrep };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getViewSelectedFieldsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./form-emrn6kk6.js";
4
+ } from "./schema-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/select.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -2,45 +2,45 @@ import {
2
2
  NotFound3,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./form-hgz4x7wa.js";
5
+ } from "./schema-hgz4x7wa.js";
6
6
  import {
7
- Service81
8
- } from "./form-x0b6dsea.js";
7
+ Service82
8
+ } from "./schema-j9w080ad.js";
9
9
  import {
10
- Service50
11
- } from "./form-gh89cy2x.js";
10
+ Service80
11
+ } from "./schema-hp36aydz.js";
12
12
  import {
13
- Service23
14
- } from "./form-dy50jp3n.js";
13
+ Service15
14
+ } from "./schema-zqr7hr21.js";
15
15
  import {
16
- Service15,
16
+ Service16,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./form-ck1zs89s.js";
19
+ } from "./schema-z9c610pw.js";
20
20
  import {
21
- Service61
22
- } from "./form-3wh0fnkb.js";
21
+ Service64
22
+ } from "./schema-h6cpwytq.js";
23
23
  import {
24
- Service16,
24
+ Service17,
25
25
  resolvePath2
26
- } from "./form-8y2xcxay.js";
26
+ } from "./schema-pv4s4nxr.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./form-6prwharc.js";
29
+ } from "./schema-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./form-9rqn6x4v.js";
32
+ } from "./schema-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/patch.ts
35
35
  var exports_patch = {};
36
36
  __export(exports_patch, {
37
37
  Applied: () => Applied2,
38
- Input: () => Input13,
39
- Output: () => Output9,
38
+ Input: () => Input6,
39
+ Output: () => Output5,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin49,
42
- name: () => name13,
43
- toModelContent: () => toModelContent6
41
+ Plugin: () => Plugin23,
42
+ name: () => name6,
43
+ toModelContent: () => toModelContent3
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai";
46
46
  import { FileDiff } from "@opencode/schema/file-diff";
@@ -85,8 +85,8 @@ It is important to remember:
85
85
  `;
86
86
 
87
87
  // src/tool/plugin/patch.ts
88
- var name13 = "patch";
89
- var Input13 = Schema.Struct({
88
+ var name6 = "patch";
89
+ var Input6 = Schema.Struct({
90
90
  patchText: Schema.String.annotate({
91
91
  description: "The full patch text describing add, update, and delete operations"
92
92
  })
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
96
96
  resource: Schema.String,
97
97
  target: Schema.String
98
98
  });
99
- var Output9 = Schema.Struct({
99
+ var Output5 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
103
- var toModelContent6 = (output) => [
103
+ var toModelContent3 = (output) => [
104
104
  "Success. Updated the following files:",
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin49 = {
108
+ var Plugin23 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service50;
112
- const access = yield* Service16;
113
- const fileMutation = yield* Service15;
114
- const formatter = yield* Service23;
115
- const location = yield* Service81;
116
- const permission = yield* Service61;
111
+ const environment = yield* Service80;
112
+ const access = yield* Service17;
113
+ const fileMutation = yield* Service16;
114
+ const formatter = yield* Service15;
115
+ const location = yield* Service82;
116
+ const permission = yield* Service64;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name13,
118
+ name: name6,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
- input: Input13,
122
- output: Output9,
121
+ input: Input6,
122
+ output: Output5,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
125
125
  const parsed = Patch.parse(input.patchText);
@@ -266,7 +266,7 @@ var Plugin49 = {
266
266
  return { applied, files };
267
267
  }).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
268
268
  output,
269
- content: toModelContent6(output),
269
+ content: toModelContent3(output),
270
270
  metadata: { files: output.files }
271
271
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
272
272
  }
@@ -326,4 +326,4 @@ function trimDiff(diff) {
326
326
  `);
327
327
  }
328
328
 
329
- export { name13, Input13, Applied2, Output9, toModelContent6, Plugin49, exports_patch };
329
+ export { name6, Input6, Applied2, Output5, toModelContent3, Plugin23, exports_patch };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./form-8m6m0r52.js";
3
+ } from "./schema-8m6m0r52.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./form-z5v4ffb3.js";
6
+ } from "./schema-z5v4ffb3.js";
7
7
  import {
8
- ID4,
8
+ ID5,
9
9
  Name2
10
- } from "./form-8ejckeyx.js";
10
+ } from "./schema-6kp05j0h.js";
11
11
  import {
12
12
  __export
13
- } from "./form-9rqn6x4v.js";
13
+ } from "./schema-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};
@@ -62,7 +62,7 @@ function parse2(directory, filepath, content) {
62
62
  return {
63
63
  _tag: "Parsed",
64
64
  skill: {
65
- id: ID4.make(id),
65
+ id: ID5.make(id),
66
66
  name: Name2.make(frontmatter.name ?? id),
67
67
  ...frontmatter.description === undefined ? {} : { description: frontmatter.description },
68
68
  ...autoinvoke === undefined ? {} : { autoinvoke },
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  WorktreeError2
3
- } from "./form-eqgdfs9h.js";
3
+ } from "./schema-j6ktnsbj.js";
4
4
  import {
5
- Service61
6
- } from "./form-3wh0fnkb.js";
5
+ Service64
6
+ } from "./schema-h6cpwytq.js";
7
7
  import {
8
- Service16
9
- } from "./form-8y2xcxay.js";
8
+ Service17
9
+ } from "./schema-pv4s4nxr.js";
10
10
  import {
11
11
  DirectoryUnavailableError2
12
- } from "./form-0vbcp93d.js";
12
+ } from "./schema-0vbcp93d.js";
13
13
  import {
14
- Info26,
14
+ Info6,
15
15
  List2,
16
16
  InvalidDirectoryError2,
17
17
  StrategyUnavailableError2,
18
18
  OperationError2
19
- } from "./form-mmne1w82.js";
19
+ } from "./schema-v20v5pjv.js";
20
20
  import {
21
21
  __export
22
- } from "./form-9rqn6x4v.js";
22
+ } from "./schema-9rqn6x4v.js";
23
23
 
24
24
  // src/tool/plugin/opencode.ts
25
25
  var exports_opencode = {};
@@ -27,7 +27,7 @@ __export(exports_opencode, {
27
27
  ModelsInput: () => ModelsInput2,
28
28
  MoveInput: () => MoveInput2,
29
29
  OpenCodeTools: () => exports_opencode,
30
- Plugin: () => Plugin46,
30
+ Plugin: () => Plugin27,
31
31
  RenameInput: () => RenameInput2,
32
32
  WorktreeCreateInput: () => WorktreeCreateInput2,
33
33
  WorktreeRemoveInput: () => WorktreeRemoveInput2
@@ -97,11 +97,11 @@ var ModelsOutput = Schema.Struct({
97
97
  total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
98
98
  next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
99
99
  });
100
- var Plugin46 = {
100
+ var Plugin27 = {
101
101
  id: "opencode.tools",
102
102
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
103
- const access = yield* Service16;
104
- const permission = yield* Service61;
103
+ const access = yield* Service17;
104
+ const permission = yield* Service64;
105
105
  const hook = (event) => Effect.sync(() => {
106
106
  event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
107
107
  });
@@ -153,7 +153,7 @@ var Plugin46 = {
153
153
  name: "worktree_create",
154
154
  description: "Create a named worktree. Returns its directory.",
155
155
  input: WorktreeCreateInput2,
156
- output: Info26,
156
+ output: Info6,
157
157
  options: { namespace: "opencode", codemode: true, pinned: true },
158
158
  execute: (input) => ctx.worktree.create({ projectID: ctx.location.project.id, name: input.name }).pipe(Effect.map((output) => ({ output, content: `Created worktree in ${output.directory}.` })), Effect.mapError((error) => new ToolFailure({ message: `Unable to create worktree ${input.name}`, error })))
159
159
  });
@@ -250,4 +250,4 @@ function removeFailure(directory, error) {
250
250
  return `Unable to remove worktree ${directory}.`;
251
251
  }
252
252
 
253
- export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin46, exports_opencode };
253
+ export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin27, exports_opencode };
@@ -1,36 +1,36 @@
1
1
  import {
2
- Service66
3
- } from "./form-9man8zct.js";
2
+ Service58
3
+ } from "./schema-kwr2em0p.js";
4
4
  import {
5
- Service65
6
- } from "./form-jqebagr2.js";
5
+ Service57
6
+ } from "./schema-n4s909p2.js";
7
7
  import {
8
8
  parse2
9
- } from "./form-0thw0tvr.js";
9
+ } from "./schema-wp1sg2es.js";
10
10
  import {
11
11
  ignore2,
12
12
  scan2
13
- } from "./form-bzeyqsqd.js";
13
+ } from "./schema-bzeyqsqd.js";
14
14
  import {
15
15
  __export
16
- } from "./form-9rqn6x4v.js";
16
+ } from "./schema-9rqn6x4v.js";
17
17
 
18
18
  // src/config/plugin/compatibility.ts
19
19
  var exports_compatibility = {};
20
20
  __export(exports_compatibility, {
21
21
  ConfigCompatibilityPlugin: () => exports_compatibility,
22
- Plugin: () => Plugin28
22
+ Plugin: () => Plugin49
23
23
  });
24
24
  import { define } from "@opencode/plugin/effect/plugin";
25
25
  import { FSUtil } from "@opencode/util/fs-util";
26
26
  import path from "path";
27
27
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
28
- var Plugin28 = define({
28
+ var Plugin49 = define({
29
29
  id: "opencode.config.compatibility",
30
30
  effect: Effect.fn(function* (ctx) {
31
- const config = yield* Service65;
31
+ const config = yield* Service57;
32
32
  const fs = yield* FSUtil.Service;
33
- const watcher = yield* Service66;
33
+ const watcher = yield* Service58;
34
34
  const watches = yield* FiberMap.make();
35
35
  const changes = yield* PubSub.sliding(1);
36
36
  const lock = Semaphore.makeUnsafe(1);
@@ -76,4 +76,4 @@ var Plugin28 = define({
76
76
  })
77
77
  });
78
78
 
79
- export { Plugin28, exports_compatibility };
79
+ export { Plugin49, exports_compatibility };