@opencode/core 0.0.0-dev-20678 → 0.0.0-dev-20680

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 (780) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{worktree-emqscpbc.js → provider-01qztzme.js} +24 -24
  8. package/dist/chunks/{worktree-y1dpn6q8.js → provider-01tz8p99.js} +5 -5
  9. package/dist/chunks/{worktree-q0xm7vwc.js → provider-0j77ygfz.js} +6 -6
  10. package/dist/chunks/{worktree-0paq2nw3.js → provider-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{worktree-0vbcp93d.js → provider-0vbcp93d.js} +2 -2
  12. package/dist/chunks/{worktree-espax8zg.js → provider-0xqyf95c.js} +4 -4
  13. package/dist/chunks/{worktree-cftk923j.js → provider-100eqymc.js} +6 -6
  14. package/dist/chunks/{worktree-tznhj0ze.js → provider-10bgy4f5.js} +46 -46
  15. package/dist/chunks/{worktree-a6bra8ct.js → provider-12n9xz34.js} +7 -7
  16. package/dist/chunks/provider-141rw18h.js +507 -0
  17. package/dist/chunks/{worktree-0ryd0fps.js → provider-150yg2gd.js} +5 -5
  18. package/dist/chunks/{worktree-1dazxqgg.js → provider-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{worktree-84h8c373.js → provider-1dvck2a7.js} +2 -2
  20. package/dist/chunks/{worktree-mp95dmdx.js → provider-1fh7s5gq.js} +3 -3
  21. package/dist/chunks/{worktree-pgvafq4z.js → provider-1fw2a5v8.js} +13 -13
  22. package/dist/chunks/{worktree-gt84n3fs.js → provider-1rrcny1n.js} +14 -14
  23. package/dist/chunks/{worktree-j2c9memp.js → provider-1xt4h7fg.js} +46 -46
  24. package/dist/chunks/{worktree-cjtxsq47.js → provider-203x8f6s.js} +18 -18
  25. package/dist/chunks/{worktree-hckh89c1.js → provider-27pw3ak9.js} +3 -3
  26. package/dist/chunks/{worktree-2a5m3afh.js → provider-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{worktree-ryvhqdqz.js → provider-2a67dxr4.js} +34 -34
  28. package/dist/chunks/{worktree-4ts7tf6z.js → provider-2ccvkpx1.js} +2 -2
  29. package/dist/chunks/{worktree-pt9pzmkj.js → provider-2dqyrpx6.js} +32 -32
  30. package/dist/chunks/{worktree-srq8z0b0.js → provider-2j5hbwxg.js} +9 -9
  31. package/dist/chunks/{worktree-xqrtg09m.js → provider-2j6a3knx.js} +15 -15
  32. package/dist/chunks/{worktree-7dqw4kz8.js → provider-2k8khapm.js} +5 -5
  33. package/dist/chunks/{worktree-xfaszaq1.js → provider-34qtjr2x.js} +13 -13
  34. package/dist/chunks/{worktree-20qzy3kz.js → provider-34wpv7v4.js} +24 -24
  35. package/dist/chunks/{worktree-da0z8qs1.js → provider-36m3y9wg.js} +5 -5
  36. package/dist/chunks/{worktree-q58mka6k.js → provider-3b9qt4hj.js} +9 -9
  37. package/dist/chunks/{worktree-6gde23dc.js → provider-3bzv0xj2.js} +31 -31
  38. package/dist/chunks/{worktree-3fc6dm20.js → provider-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{worktree-3hepkmqq.js → provider-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{worktree-pdf4nf1w.js → provider-3k933qym.js} +11 -11
  41. package/dist/chunks/{worktree-1tbv6vyw.js → provider-3rd28rcz.js} +11 -11
  42. package/dist/chunks/{worktree-3smtnn6g.js → provider-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{worktree-3tvqynh2.js → provider-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{worktree-9bbn03rq.js → provider-3v63pd15.js} +18 -18
  45. package/dist/chunks/{worktree-hf0f0s02.js → provider-3vx21hd1.js} +30 -30
  46. package/dist/chunks/{worktree-4tfbnah3.js → provider-3ynd8b1x.js} +11 -11
  47. package/dist/chunks/{worktree-ye7asgrj.js → provider-3yrxafvf.js} +33 -33
  48. package/dist/chunks/{worktree-5g5j2e1n.js → provider-3yzafwg0.js} +14 -14
  49. package/dist/chunks/{worktree-ex5gm711.js → provider-3z3hyhzp.js} +21 -21
  50. package/dist/chunks/{worktree-3zsf4n22.js → provider-3zsf4n22.js} +1 -1
  51. package/dist/chunks/{worktree-q1d18pxx.js → provider-4238gvvk.js} +22 -22
  52. package/dist/chunks/{worktree-qcxtzrkv.js → provider-49sk4a95.js} +18 -18
  53. package/dist/chunks/{worktree-9e73zybw.js → provider-4e64r1z1.js} +27 -27
  54. package/dist/chunks/{worktree-87bb084g.js → provider-4n5tf1vb.js} +24 -24
  55. package/dist/chunks/{worktree-f29mbr7f.js → provider-4z58m4b4.js} +4 -4
  56. package/dist/chunks/{worktree-54ma36ye.js → provider-54ma36ye.js} +1 -1
  57. package/dist/chunks/{worktree-kc86bjfa.js → provider-575tamff.js} +3 -3
  58. package/dist/chunks/{worktree-xfkkasph.js → provider-57b9ws8p.js} +7 -7
  59. package/dist/chunks/{worktree-5daktx2q.js → provider-5daktx2q.js} +1 -1
  60. package/dist/chunks/{worktree-0ezpynm7.js → provider-5eseg7e3.js} +15 -15
  61. package/dist/chunks/{worktree-5m9w47nd.js → provider-5m9w47nd.js} +1 -1
  62. package/dist/chunks/{worktree-5nn9b30n.js → provider-5pdj13gp.js} +22 -22
  63. package/dist/chunks/{worktree-5t3nmthw.js → provider-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{worktree-cnr2fbcv.js → provider-60e3je0q.js} +11 -11
  65. package/dist/chunks/{worktree-mad84jxc.js → provider-62c2dtz6.js} +48 -48
  66. package/dist/chunks/{worktree-h4aqnj6c.js → provider-631g3xwd.js} +12 -12
  67. package/dist/chunks/{worktree-x73za9sf.js → provider-6bckvax5.js} +36 -36
  68. package/dist/chunks/{worktree-wn0425kx.js → provider-6bdjrfqv.js} +5 -5
  69. package/dist/chunks/{worktree-j203rygf.js → provider-6hpqnq82.js} +11 -11
  70. package/dist/chunks/{worktree-w95j1aag.js → provider-6m0km96n.js} +5 -5
  71. package/dist/chunks/{worktree-50mzsvk4.js → provider-6m42r3np.js} +21 -21
  72. package/dist/chunks/{worktree-5xepet72.js → provider-6r3mnpr3.js} +74 -74
  73. package/dist/chunks/{worktree-7csx5nx0.js → provider-6v3gtav4.js} +11 -11
  74. package/dist/chunks/{worktree-6xb47vfp.js → provider-6xb47vfp.js} +1 -1
  75. package/dist/chunks/{worktree-qtjwvqnb.js → provider-6xj9v251.js} +4 -4
  76. package/dist/chunks/{worktree-4xpgt2w9.js → provider-6yz0wx8n.js} +5 -5
  77. package/dist/chunks/{worktree-mfa4e2dy.js → provider-6zaadkrj.js} +31 -31
  78. package/dist/chunks/{worktree-f75zav2x.js → provider-71az546q.js} +2 -2
  79. package/dist/chunks/{worktree-7gb06545.js → provider-78124vwp.js} +17 -17
  80. package/dist/chunks/{worktree-7bmhse3q.js → provider-7bmhse3q.js} +1 -1
  81. package/dist/chunks/{worktree-60ag5qjy.js → provider-7ef7sjs1.js} +4 -4
  82. package/dist/chunks/{worktree-y127w3hy.js → provider-7hmthqft.js} +4 -4
  83. package/dist/chunks/{worktree-nps7pa21.js → provider-7nsvsbpq.js} +20 -20
  84. package/dist/chunks/{worktree-w49382pb.js → provider-7rwqf82v.js} +8 -8
  85. package/dist/chunks/{worktree-2eegacq4.js → provider-7s451enq.js} +8 -8
  86. package/dist/chunks/{worktree-55dytp5r.js → provider-838d4dha.js} +20 -20
  87. package/dist/chunks/{worktree-w1eejvng.js → provider-84txncab.js} +5 -5
  88. package/dist/chunks/provider-8557trs0.js +26 -0
  89. package/dist/chunks/{worktree-xcbn40rf.js → provider-89tevzyb.js} +12 -12
  90. package/dist/chunks/{worktree-8d7r5vzw.js → provider-8d7r5vzw.js} +1 -1
  91. package/dist/chunks/{worktree-jpzbbj13.js → provider-8nmh5xtz.js} +5 -5
  92. package/dist/chunks/{worktree-qhbw5a4b.js → provider-8s9x7mq3.js} +9 -9
  93. package/dist/chunks/{worktree-1f35zj2n.js → provider-8xp68n0c.js} +21 -21
  94. package/dist/chunks/{worktree-17m7e5yb.js → provider-90xe4ebd.js} +35 -35
  95. package/dist/chunks/{worktree-xk6gwbtw.js → provider-9116qanx.js} +5 -5
  96. package/dist/chunks/{worktree-rk26t4bh.js → provider-954g4k0y.js} +17 -17
  97. package/dist/chunks/{worktree-zdz72ay5.js → provider-985w54n2.js} +4 -4
  98. package/dist/chunks/{worktree-w9778aye.js → provider-9a7xdtq3.js} +8 -8
  99. package/dist/chunks/{worktree-8vz7v9xx.js → provider-9adq9209.js} +19 -19
  100. package/dist/chunks/{worktree-qkn6xzgz.js → provider-9e4j78a5.js} +17 -17
  101. package/dist/chunks/{worktree-kb9j3d72.js → provider-9e5bzkjp.js} +3 -3
  102. package/dist/chunks/{worktree-8v6pyhej.js → provider-9hn6k4tm.js} +8 -8
  103. package/dist/chunks/{worktree-d34h28nh.js → provider-9jtqxrkx.js} +28 -28
  104. package/dist/chunks/{worktree-08em3ee9.js → provider-9m6wd42k.js} +25 -25
  105. package/dist/chunks/{worktree-7hctjrk6.js → provider-9nndfwsw.js} +23 -23
  106. package/dist/chunks/{worktree-mvfv6g31.js → provider-9s2v53af.js} +35 -35
  107. package/dist/chunks/{worktree-3n65r2sc.js → provider-9t0pcyht.js} +58 -58
  108. package/dist/chunks/{worktree-dqwk5426.js → provider-a067pk1x.js} +38 -38
  109. package/dist/chunks/{worktree-v5dkyp31.js → provider-a2ew8a62.js} +4 -4
  110. package/dist/chunks/{worktree-j9c73dve.js → provider-a6ye7dvb.js} +17 -17
  111. package/dist/chunks/{worktree-aaet6srn.js → provider-aaet6srn.js} +2 -2
  112. package/dist/chunks/{worktree-we3yb86z.js → provider-acshqmx2.js} +4 -4
  113. package/dist/chunks/{worktree-9jn3z3yz.js → provider-ane35rw3.js} +42 -42
  114. package/dist/chunks/{worktree-tnf1wecr.js → provider-asbthx8a.js} +27 -27
  115. package/dist/chunks/{worktree-2kn5e7ew.js → provider-azv5qb8x.js} +11 -11
  116. package/dist/chunks/{worktree-pft5j206.js → provider-b25x8xnb.js} +2 -2
  117. package/dist/chunks/{worktree-zgwqe4kw.js → provider-b2vb8hwy.js} +11 -11
  118. package/dist/chunks/{worktree-zyk1yjk8.js → provider-b3f8fkhc.js} +5 -5
  119. package/dist/chunks/{worktree-k2pcze7v.js → provider-b5mvcvwz.js} +4 -4
  120. package/dist/chunks/{worktree-qvzmz2hd.js → provider-b5pdhpjr.js} +11 -11
  121. package/dist/chunks/{worktree-b6gygkdw.js → provider-b6gygkdw.js} +2 -2
  122. package/dist/chunks/{worktree-2vs2nh1n.js → provider-baaqp4zd.js} +4 -4
  123. package/dist/chunks/{worktree-5hw3kh65.js → provider-bk0akfxd.js} +26 -26
  124. package/dist/chunks/{worktree-n30jecw5.js → provider-bk97wshp.js} +11 -11
  125. package/dist/chunks/{worktree-vf88kmda.js → provider-bqd2cxqp.js} +16 -16
  126. package/dist/chunks/{worktree-khzvsr9n.js → provider-camesg23.js} +12 -12
  127. package/dist/chunks/{worktree-vy6tct52.js → provider-ceggp57d.js} +50 -50
  128. package/dist/chunks/{worktree-5zzwt5g1.js → provider-cetvmtxy.js} +31 -31
  129. package/dist/chunks/provider-ckyzvwjx.js +253 -0
  130. package/dist/chunks/{worktree-c765mh8b.js → provider-cpneeje0.js} +8 -8
  131. package/dist/chunks/{worktree-9da98haa.js → provider-cx9z55d6.js} +11 -11
  132. package/dist/chunks/{worktree-rb0yz7b3.js → provider-cyjnm7zn.js} +47 -47
  133. package/dist/chunks/{worktree-jqfnw3hv.js → provider-cymm7g2a.js} +18 -18
  134. package/dist/chunks/{worktree-d9zcp3x2.js → provider-d1d7m7z7.js} +29 -29
  135. package/dist/chunks/{worktree-vtmyt3zh.js → provider-d3vd9tt0.js} +11 -11
  136. package/dist/chunks/{worktree-vhxw02v1.js → provider-dd32f2vy.js} +10 -10
  137. package/dist/chunks/{worktree-20k90jn5.js → provider-deadrwyj.js} +9 -9
  138. package/dist/chunks/{worktree-fa24ys4h.js → provider-demb5sft.js} +11 -11
  139. package/dist/chunks/{worktree-dpkg50ah.js → provider-dpkg50ah.js} +1 -1
  140. package/dist/chunks/{worktree-63db42yp.js → provider-drnf6xwf.js} +2 -2
  141. package/dist/chunks/{worktree-abze2epy.js → provider-ds0s37ch.js} +19 -19
  142. package/dist/chunks/{worktree-mfg7hkjp.js → provider-dsambs2d.js} +1 -1
  143. package/dist/chunks/{worktree-8g79wser.js → provider-dzg2nmyy.js} +3 -3
  144. package/dist/chunks/{worktree-4mwpykj0.js → provider-dzse07y5.js} +6 -6
  145. package/dist/chunks/{worktree-5qd3pb7m.js → provider-e3qxr5gk.js} +2 -2
  146. package/dist/chunks/{worktree-ef5x83kb.js → provider-ef5x83kb.js} +1 -1
  147. package/dist/chunks/{worktree-7yh4e7ss.js → provider-eq1pz5kg.js} +3 -3
  148. package/dist/chunks/{worktree-etq0c3wd.js → provider-etq0c3wd.js} +1 -1
  149. package/dist/chunks/{worktree-gbzg285s.js → provider-exdczdw5.js} +34 -34
  150. package/dist/chunks/{worktree-yd1hyy78.js → provider-f3nm3bta.js} +9 -9
  151. package/dist/chunks/{worktree-xh3pt0hh.js → provider-f4f2ccwp.js} +13 -13
  152. package/dist/chunks/{worktree-97anc7e4.js → provider-f5bkmxnp.js} +11 -11
  153. package/dist/chunks/{worktree-vrm0t447.js → provider-f7k5gakn.js} +11 -11
  154. package/dist/chunks/{worktree-cyczn8d8.js → provider-fh64nspq.js} +28 -28
  155. package/dist/chunks/{worktree-x90t23kx.js → provider-fwpeyn7w.js} +32 -32
  156. package/dist/chunks/{worktree-8sfbsvhp.js → provider-fxpnwj9a.js} +28 -28
  157. package/dist/chunks/{worktree-fn9txvmy.js → provider-gb4s5hjx.js} +35 -35
  158. package/dist/chunks/{worktree-ah48gt2j.js → provider-gbfdm2f9.js} +39 -39
  159. package/dist/chunks/{worktree-q5e7cmwt.js → provider-gd0tnyjc.js} +1 -1
  160. package/dist/chunks/{worktree-gd4qta3r.js → provider-gd4qta3r.js} +1 -1
  161. package/dist/chunks/{worktree-0gapa1rm.js → provider-gebtr55s.js} +5 -5
  162. package/dist/chunks/{worktree-kpy4tq5x.js → provider-gkvcm870.js} +21 -21
  163. package/dist/chunks/{worktree-c2j3xy4g.js → provider-gnptjt5e.js} +8 -8
  164. package/dist/chunks/{worktree-4p3293aj.js → provider-gt0fdqz0.js} +20 -20
  165. package/dist/chunks/{worktree-ftw06dxe.js → provider-gw6addyq.js} +3 -3
  166. package/dist/chunks/{worktree-yv32pxkv.js → provider-gweqbbvm.js} +15 -15
  167. package/dist/chunks/{worktree-3cegwx68.js → provider-h2b79v29.js} +2 -2
  168. package/dist/chunks/{worktree-ak05m9d7.js → provider-h6aq45ge.js} +21 -21
  169. package/dist/chunks/{worktree-2gec4brg.js → provider-h6dsmzc8.js} +23 -23
  170. package/dist/chunks/{worktree-h6vf3j39.js → provider-h6vf3j39.js} +1 -1
  171. package/dist/chunks/{worktree-jewzahs7.js → provider-h90v2x9d.js} +4 -4
  172. package/dist/chunks/{worktree-9cwy2jha.js → provider-hdwgjdm7.js} +22 -22
  173. package/dist/chunks/provider-hgd4btym.js +18 -0
  174. package/dist/chunks/{worktree-d0fqnv22.js → provider-hkznryjg.js} +17 -17
  175. package/dist/chunks/{worktree-mvmnyn7n.js → provider-hvqy4awq.js} +34 -34
  176. package/dist/chunks/{worktree-k1qrnqst.js → provider-hx2mnr5g.js} +8 -8
  177. package/dist/chunks/{worktree-fhr46ct7.js → provider-hzvph4yq.js} +184 -184
  178. package/dist/chunks/{worktree-944zhfh4.js → provider-j0sgkhxp.js} +14 -14
  179. package/dist/chunks/{worktree-j56e64zr.js → provider-j56e64zr.js} +1 -1
  180. package/dist/chunks/{worktree-g8hmyp2d.js → provider-j798b1wp.js} +13 -13
  181. package/dist/chunks/{worktree-5t0megjy.js → provider-j94rgt9d.js} +23 -23
  182. package/dist/chunks/{worktree-vn3s1ht6.js → provider-jqk80qgm.js} +13 -13
  183. package/dist/chunks/{worktree-ftdt7j28.js → provider-jtg94zdj.js} +16 -16
  184. package/dist/chunks/{worktree-554ppjqe.js → provider-k1zrjmzp.js} +9 -9
  185. package/dist/chunks/{worktree-a2fssteg.js → provider-k5xrbeez.js} +3 -3
  186. package/dist/chunks/{worktree-3t7b0x40.js → provider-k751nkt0.js} +22 -22
  187. package/dist/chunks/{worktree-cfbwxe1g.js → provider-kb2ga0yc.js} +1 -1
  188. package/dist/chunks/{worktree-tx92n959.js → provider-kb6vbnxp.js} +4 -4
  189. package/dist/chunks/{worktree-cprp9kwr.js → provider-kpjwkn2w.js} +35 -35
  190. package/dist/chunks/{worktree-1sdf2zn9.js → provider-m0p5n2gd.js} +26 -26
  191. package/dist/chunks/{worktree-m3fdjcah.js → provider-m3fdjcah.js} +1 -1
  192. package/dist/chunks/{worktree-m9w0rfyh.js → provider-m9w0rfyh.js} +1 -1
  193. package/dist/chunks/{worktree-ype5ssfh.js → provider-m9ya73e1.js} +16 -16
  194. package/dist/chunks/{worktree-73c0qt40.js → provider-mb4va0jh.js} +9 -9
  195. package/dist/chunks/{worktree-43g4wmcb.js → provider-mbdw8qpz.js} +3 -3
  196. package/dist/chunks/{worktree-56gdpj1q.js → provider-mfqp6xfm.js} +6 -6
  197. package/dist/chunks/{worktree-8rg4pjtz.js → provider-mgm0y126.js} +3 -3
  198. package/dist/chunks/{worktree-ss358qx3.js → provider-my4zabxr.js} +3 -3
  199. package/dist/chunks/{worktree-7qq3ahcc.js → provider-n57qrn3a.js} +6 -6
  200. package/dist/chunks/{worktree-zm5574p5.js → provider-nazh1x8e.js} +62 -62
  201. package/dist/chunks/{worktree-ywvdrxjw.js → provider-nbsm2mze.js} +33 -33
  202. package/dist/chunks/{worktree-3v3tg56d.js → provider-nda1mvrc.js} +22 -22
  203. package/dist/chunks/{worktree-vzhe4zg6.js → provider-ne7e5g4r.js} +15 -15
  204. package/dist/chunks/{worktree-fz1ega6x.js → provider-p0ejkak0.js} +11 -11
  205. package/dist/chunks/{worktree-6xjbkn91.js → provider-p37xk6xs.js} +19 -19
  206. package/dist/chunks/{worktree-qr3e8w20.js → provider-phee4dp3.js} +12 -12
  207. package/dist/chunks/{worktree-pjvnvgmy.js → provider-pjvnvgmy.js} +1 -1
  208. package/dist/chunks/{worktree-pknna89w.js → provider-pknna89w.js} +1 -1
  209. package/dist/chunks/{worktree-qm27jccq.js → provider-pwvav0zc.js} +10 -10
  210. package/dist/chunks/{worktree-4jeef9x8.js → provider-q0yrs87k.js} +47 -47
  211. package/dist/chunks/{worktree-s3sb1ad7.js → provider-q1v438vp.js} +27 -27
  212. package/dist/chunks/{worktree-4wc52ngv.js → provider-q4h7jhqx.js} +19 -19
  213. package/dist/chunks/{worktree-ksg1aq7r.js → provider-q9mkd3r6.js} +12 -12
  214. package/dist/chunks/{worktree-6evnp53q.js → provider-qa6d3x9c.js} +94 -94
  215. package/dist/chunks/{worktree-15560esq.js → provider-qa7zgbbm.js} +8 -8
  216. package/dist/chunks/{worktree-f1fpav69.js → provider-qbx2hgn0.js} +4 -4
  217. package/dist/chunks/{worktree-6rd4tpzh.js → provider-qc96wspf.js} +44 -44
  218. package/dist/chunks/{worktree-d96ycdxj.js → provider-qg966khd.js} +30 -30
  219. package/dist/chunks/{worktree-vgp7e6pk.js → provider-qmm8841s.js} +5 -5
  220. package/dist/chunks/{worktree-qnc92qwc.js → provider-qnc92qwc.js} +1 -1
  221. package/dist/chunks/{worktree-gj71zhbs.js → provider-qne3fa44.js} +5 -5
  222. package/dist/chunks/{worktree-59f3e3ff.js → provider-qr6zbtg5.js} +23 -23
  223. package/dist/chunks/{worktree-qsdy395h.js → provider-qsdy395h.js} +1 -1
  224. package/dist/chunks/{worktree-8hq66769.js → provider-qtade0yk.js} +7 -7
  225. package/dist/chunks/{worktree-z736p80b.js → provider-qw7qt5pa.js} +30 -30
  226. package/dist/chunks/{worktree-rtbx6p6s.js → provider-qx41vpeg.js} +15 -15
  227. package/dist/chunks/{worktree-8284y6xq.js → provider-r21srstc.js} +9 -9
  228. package/dist/chunks/{worktree-zyp8ka10.js → provider-r6y3gdne.js} +8 -8
  229. package/dist/chunks/{worktree-rdw6cm16.js → provider-rdw6cm16.js} +1 -1
  230. package/dist/chunks/{worktree-yp2x3t23.js → provider-rhraev7y.js} +4 -4
  231. package/dist/chunks/{worktree-vj5pc5q1.js → provider-rmvqbh99.js} +13 -13
  232. package/dist/chunks/{worktree-qqrjxc2w.js → provider-rrpq0de9.js} +12 -12
  233. package/dist/chunks/{worktree-e8vwfchq.js → provider-ry082wg0.js} +9 -9
  234. package/dist/chunks/{worktree-4hwsr2c7.js → provider-rzcwaxq6.js} +33 -33
  235. package/dist/chunks/{worktree-wv396vej.js → provider-s8d7rejh.js} +8 -8
  236. package/dist/chunks/{worktree-n143kkat.js → provider-s8tgv6a6.js} +42 -42
  237. package/dist/chunks/{worktree-30s1jqhr.js → provider-san3pcvd.js} +5 -5
  238. package/dist/chunks/{worktree-gvwrdnb7.js → provider-sdzadkts.js} +3 -3
  239. package/dist/chunks/{worktree-dejvf9w0.js → provider-t65vya29.js} +18 -18
  240. package/dist/chunks/{worktree-tazgh4e4.js → provider-tazgh4e4.js} +1 -1
  241. package/dist/chunks/{worktree-tcezcvh9.js → provider-tcezcvh9.js} +1 -1
  242. package/dist/chunks/{worktree-tdstcens.js → provider-tdstcens.js} +1 -1
  243. package/dist/chunks/{worktree-7c77ewax.js → provider-tfmm9y66.js} +20 -20
  244. package/dist/chunks/{worktree-z3zxqg9g.js → provider-tk6t2mry.js} +7 -7
  245. package/dist/chunks/{worktree-r2t9nb79.js → provider-txreye6p.js} +12 -12
  246. package/dist/chunks/{worktree-v0es1rhs.js → provider-v0es1rhs.js} +2 -2
  247. package/dist/chunks/{worktree-t3mstrkb.js → provider-v5veevtb.js} +23 -23
  248. package/dist/chunks/{worktree-vyfh7cqh.js → provider-v7hamc0y.js} +32 -32
  249. package/dist/chunks/{worktree-veqvce7d.js → provider-veqvce7d.js} +1 -1
  250. package/dist/chunks/{worktree-gv66gg0x.js → provider-vevatqc6.js} +8 -8
  251. package/dist/chunks/{worktree-v60n4k93.js → provider-vyzvb1w9.js} +25 -25
  252. package/dist/chunks/{worktree-e9ddm36m.js → provider-vz0zt1g9.js} +10 -10
  253. package/dist/chunks/{worktree-vzs5sf6e.js → provider-vzs5sf6e.js} +1 -1
  254. package/dist/chunks/{worktree-17we2qek.js → provider-w0v9d1gg.js} +13 -13
  255. package/dist/chunks/{worktree-w3wsvvr9.js → provider-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{worktree-8sze2n9a.js → provider-w92k2e0p.js} +4 -4
  257. package/dist/chunks/{worktree-wd87259q.js → provider-wd87259q.js} +1 -1
  258. package/dist/chunks/{worktree-124pajz9.js → provider-wfez0vbj.js} +35 -35
  259. package/dist/chunks/{worktree-8w291pm7.js → provider-wjpb9jag.js} +21 -21
  260. package/dist/chunks/{worktree-x995py8c.js → provider-wn63y901.js} +10 -10
  261. package/dist/chunks/{worktree-hnq9bmna.js → provider-wr5f2xar.js} +26 -26
  262. package/dist/chunks/{worktree-980jbebj.js → provider-wv3twx2w.js} +11 -11
  263. package/dist/chunks/{worktree-7ds11y3c.js → provider-x2c1et5k.js} +9 -9
  264. package/dist/chunks/{worktree-db2wf4at.js → provider-x661k3y3.js} +4 -4
  265. package/dist/chunks/{worktree-yertzaey.js → provider-xabyxep3.js} +9 -9
  266. package/dist/chunks/{worktree-f2mw6jyj.js → provider-xh27xnk0.js} +11 -11
  267. package/dist/chunks/{worktree-xkntkrq7.js → provider-xkntkrq7.js} +2 -2
  268. package/dist/chunks/{worktree-qxjc9qry.js → provider-xyafkbt0.js} +3 -3
  269. package/dist/chunks/{worktree-y1fvbwt7.js → provider-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{worktree-sj5387ee.js → provider-y3zkxqzw.js} +27 -27
  271. package/dist/chunks/{worktree-gwb0ctjv.js → provider-ybe0dkr4.js} +47 -47
  272. package/dist/chunks/{worktree-6nwqebjc.js → provider-ybjg4sk1.js} +9 -9
  273. package/dist/chunks/{worktree-zd8n3m20.js → provider-ycw12012.js} +4 -4
  274. package/dist/chunks/{worktree-ns15zm60.js → provider-yhj4pxny.js} +6 -6
  275. package/dist/chunks/{worktree-z0bkrqjs.js → provider-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{worktree-fbv57nyx.js → provider-z2wp2s8j.js} +4 -4
  277. package/dist/chunks/{worktree-g7px2a66.js → provider-z30v2f0y.js} +89 -89
  278. package/dist/chunks/{worktree-fqcgpcra.js → provider-z4ztj7g0.js} +9 -9
  279. package/dist/chunks/{worktree-bb1b8k90.js → provider-z5p4rthk.js} +15 -15
  280. package/dist/chunks/{worktree-sqvzcy4n.js → provider-zfs8ae4p.js} +4 -4
  281. package/dist/chunks/{worktree-zr2ceqn5.js → provider-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{worktree-6gmc3kzw.js → provider-zv9njayc.js} +8 -8
  283. package/dist/chunks/{worktree-zxq2ej10.js → provider-zxq2ej10.js} +1 -1
  284. package/dist/chunks/{worktree-vgwdt6gq.js → provider-zy5vtpm1.js} +26 -26
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +9 -9
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +83 -83
  290. package/dist/config/discovery.js +82 -82
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +99 -99
  293. package/dist/config/plugin/agent.js +116 -116
  294. package/dist/config/plugin/command.js +205 -205
  295. package/dist/config/plugin/compaction.js +154 -154
  296. package/dist/config/plugin/compatibility.js +134 -134
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +90 -90
  301. package/dist/config/plugin/location-watcher.js +118 -118
  302. package/dist/config/plugin/mcp.js +123 -123
  303. package/dist/config/plugin/policy.js +117 -117
  304. package/dist/config/plugin/provider.js +116 -116
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +118 -118
  307. package/dist/config/plugin/skill-file.js +102 -102
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +119 -119
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +117 -117
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +117 -117
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +85 -85
  319. package/dist/database/database.js +66 -66
  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.gen.js +49 -49
  385. package/dist/database/migration.js +51 -51
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +76 -76
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +363 -363
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +93 -93
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +95 -95
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +74 -74
  409. package/dist/file-access.js +104 -104
  410. package/dist/file-mutation.js +94 -94
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +4 -4
  417. package/dist/filesystem/location-watcher.js +220 -220
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +103 -103
  420. package/dist/filesystem/watcher-binding.js +3 -3
  421. package/dist/filesystem/watcher.js +13 -13
  422. package/dist/filesystem.js +104 -104
  423. package/dist/form.js +84 -84
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +87 -87
  426. package/dist/generate.js +103 -103
  427. package/dist/git.js +10 -10
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +91 -91
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +354 -354
  451. package/dist/instruction-discovery.js +85 -85
  452. package/dist/instructions/builtins.js +87 -87
  453. package/dist/instructions/index.js +5 -5
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +87 -87
  456. package/dist/job.js +78 -78
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +73 -73
  459. package/dist/location-activity.js +134 -134
  460. package/dist/location-lifecycle.js +107 -107
  461. package/dist/location-service-map.js +86 -86
  462. package/dist/location-services.js +351 -351
  463. package/dist/location.js +85 -85
  464. package/dist/managed-policy.js +5 -5
  465. package/dist/mcp/client.js +91 -91
  466. package/dist/mcp/index.js +107 -107
  467. package/dist/mcp/instructions.js +127 -127
  468. package/dist/mcp/oauth.js +78 -78
  469. package/dist/mcp/stdio.js +90 -90
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +91 -91
  472. package/dist/model-resolver.js +98 -98
  473. package/dist/model.js +102 -102
  474. package/dist/models-dev.js +107 -107
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +82 -82
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +117 -117
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +84 -84
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +75 -75
  484. package/dist/plugin/agent.js +74 -74
  485. package/dist/plugin/command.js +100 -100
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +211 -211
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +326 -326
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +96 -96
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +102 -102
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  498. package/dist/plugin/provider/azure.js +117 -117
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +93 -93
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +112 -112
  505. package/dist/plugin/provider/digitalocean.js +93 -93
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/github-copilot.js +95 -95
  509. package/dist/plugin/provider/gitlab.js +93 -93
  510. package/dist/plugin/provider/google-vertex.js +90 -90
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +78 -78
  513. package/dist/plugin/provider/lmstudio.js +116 -116
  514. package/dist/plugin/provider/local.js +113 -113
  515. package/dist/plugin/provider/modal.js +92 -92
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +116 -116
  518. package/dist/plugin/provider/openai.js +93 -93
  519. package/dist/plugin/provider/opencode.js +96 -96
  520. package/dist/plugin/provider/openrouter.js +91 -91
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +79 -79
  523. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  524. package/dist/plugin/provider/sap-ai-core.js +91 -91
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  527. package/dist/plugin/provider/vercel.js +90 -90
  528. package/dist/plugin/provider/vllm.js +116 -116
  529. package/dist/plugin/provider/xai.js +91 -91
  530. package/dist/plugin/provider/zenmux.js +1 -1
  531. package/dist/plugin/provider.js +155 -155
  532. package/dist/plugin/sdk.js +76 -76
  533. package/dist/plugin/service.js +3 -3
  534. package/dist/plugin/skill.js +134 -134
  535. package/dist/plugin/source-directory.js +1 -1
  536. package/dist/plugin/supervisor.js +345 -345
  537. package/dist/plugin/tool-input-repair.js +4 -4
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/vcs/git.js +86 -86
  540. package/dist/plugin/vcs/hg.js +86 -86
  541. package/dist/plugin/verbosity.js +93 -93
  542. package/dist/plugin/warming.js +114 -114
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +8 -8
  545. package/dist/plugin/websearch/index.js +9 -9
  546. package/dist/plugin/websearch/mcp.js +4 -4
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin/websearch/tinyfish.js +8 -8
  550. package/dist/plugin.js +220 -220
  551. package/dist/project/schema.js +2 -2
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +84 -84
  554. package/dist/provider.js +101 -101
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +97 -97
  558. package/dist/reference/instructions.js +89 -89
  559. package/dist/reference.js +91 -91
  560. package/dist/repository-cache.js +81 -81
  561. package/dist/repository.js +3 -3
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +97 -97
  564. package/dist/rpc.js +86 -86
  565. package/dist/schema.js +1 -1
  566. package/dist/session/affinity.js +1 -1
  567. package/dist/session/command.js +74 -74
  568. package/dist/session/compaction.js +135 -135
  569. package/dist/session/context.js +153 -153
  570. package/dist/session/diff.js +88 -88
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +7 -7
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +217 -217
  575. package/dist/session/execution.js +125 -125
  576. package/dist/session/generate.js +152 -152
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +88 -88
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +77 -77
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +97 -97
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +118 -118
  586. package/dist/session/model-transport.js +7 -7
  587. package/dist/session/move.js +129 -129
  588. package/dist/session/projector.js +86 -86
  589. package/dist/session/prompt.js +105 -105
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +90 -90
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +224 -224
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +98 -98
  597. package/dist/session/runner/publish-llm-event.js +113 -113
  598. package/dist/session/runner/retry.js +4 -4
  599. package/dist/session/runner/step.js +125 -125
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +162 -162
  603. package/dist/session/shell.js +130 -130
  604. package/dist/session/skill.js +103 -103
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +73 -73
  607. package/dist/session/store.js +87 -87
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +203 -203
  610. package/dist/session/system-prompt.js +5 -5
  611. package/dist/session/title.js +157 -157
  612. package/dist/session/to-session-error.js +111 -111
  613. package/dist/session/transfer.js +213 -213
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +211 -211
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +9 -9
  620. package/dist/shell.js +132 -132
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +107 -107
  623. package/dist/skill.js +108 -108
  624. package/dist/snapshot.js +91 -91
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +126 -126
  629. package/dist/tool/plugin/edit.js +114 -114
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +124 -124
  632. package/dist/tool/plugin/grep.js +124 -124
  633. package/dist/tool/plugin/mcp-resource.js +117 -117
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +120 -120
  636. package/dist/tool/plugin/question.js +103 -103
  637. package/dist/tool/plugin/read.js +125 -125
  638. package/dist/tool/plugin/shell.js +210 -210
  639. package/dist/tool/plugin/skill.js +113 -113
  640. package/dist/tool/plugin/subagent.js +210 -210
  641. package/dist/tool/plugin/webfetch.js +112 -112
  642. package/dist/tool/plugin/websearch.js +108 -108
  643. package/dist/tool/plugin/write.js +122 -122
  644. package/dist/tool/read-filesystem.js +100 -100
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +7 -7
  647. package/dist/tool.js +14 -14
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/git-executable.js +2 -2
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +7 -7
  658. package/dist/v1/config/command.js +3 -3
  659. package/dist/v1/config/error.js +4 -4
  660. package/dist/v1/config/mcp.js +4 -4
  661. package/dist/v1/config/migrate.js +92 -92
  662. package/dist/v1/config/permission.js +7 -7
  663. package/dist/v1/config/plugin.js +3 -3
  664. package/dist/v1/config/provider-options.js +1 -1
  665. package/dist/v1/config/provider.js +4 -4
  666. package/dist/variant.js +91 -91
  667. package/dist/vcs/patch.js +1 -1
  668. package/dist/vcs.js +89 -89
  669. package/dist/websearch.js +84 -84
  670. package/dist/wellknown/plugin.js +76 -76
  671. package/dist/wellknown.js +79 -79
  672. package/dist/workspace/driver.js +5 -5
  673. package/dist/workspace/sql.js +1 -1
  674. package/dist/workspace.js +80 -80
  675. package/dist/worktree/directory.js +2 -2
  676. package/dist/worktree/git.js +10 -10
  677. package/dist/worktree/sql.js +5 -5
  678. package/dist/worktree/strategies.js +89 -89
  679. package/dist/worktree.js +96 -96
  680. package/package.json +8 -8
  681. package/dist/chunks/worktree-by5v678g.js +0 -18
  682. package/dist/chunks/worktree-h0mpfvff.js +0 -507
  683. package/dist/chunks/worktree-s29k18d1.js +0 -26
  684. package/dist/chunks/worktree-y8fy98eq.js +0 -253
  685. /package/dist/chunks/{worktree-0qkdqm5v.js → provider-0qkdqm5v.js} +0 -0
  686. /package/dist/chunks/{worktree-0zkw76rk.js → provider-0zkw76rk.js} +0 -0
  687. /package/dist/chunks/{worktree-17cy0kzp.js → provider-17cy0kzp.js} +0 -0
  688. /package/dist/chunks/{worktree-1cnp2v09.js → provider-1cnp2v09.js} +0 -0
  689. /package/dist/chunks/{worktree-1kg9ymc8.js → provider-1kg9ymc8.js} +0 -0
  690. /package/dist/chunks/{worktree-24dcb14g.js → provider-24dcb14g.js} +0 -0
  691. /package/dist/chunks/{worktree-2710q6r3.js → provider-2710q6r3.js} +0 -0
  692. /package/dist/chunks/{worktree-2axfhc9x.js → provider-2axfhc9x.js} +0 -0
  693. /package/dist/chunks/{worktree-2c3vjs8z.js → provider-2c3vjs8z.js} +0 -0
  694. /package/dist/chunks/{worktree-34c7v6d4.js → provider-34c7v6d4.js} +0 -0
  695. /package/dist/chunks/{worktree-359p4xyc.js → provider-359p4xyc.js} +0 -0
  696. /package/dist/chunks/{worktree-3asan66x.js → provider-3asan66x.js} +0 -0
  697. /package/dist/chunks/{worktree-3t0ybcrp.js → provider-3t0ybcrp.js} +0 -0
  698. /package/dist/chunks/{worktree-3v8g72cx.js → provider-3v8g72cx.js} +0 -0
  699. /package/dist/chunks/{worktree-3w5fmr99.js → provider-3w5fmr99.js} +0 -0
  700. /package/dist/chunks/{worktree-3wcehsnq.js → provider-3wcehsnq.js} +0 -0
  701. /package/dist/chunks/{worktree-43n2bw4t.js → provider-43n2bw4t.js} +0 -0
  702. /package/dist/chunks/{worktree-4knz6hnm.js → provider-4knz6hnm.js} +0 -0
  703. /package/dist/chunks/{worktree-4vcrnpx2.js → provider-4vcrnpx2.js} +0 -0
  704. /package/dist/chunks/{worktree-4y7fprxs.js → provider-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{worktree-53557ph1.js → provider-53557ph1.js} +0 -0
  706. /package/dist/chunks/{worktree-550bvhaj.js → provider-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{worktree-6prwharc.js → provider-6prwharc.js} +0 -0
  708. /package/dist/chunks/{worktree-6q2bdcd1.js → provider-6q2bdcd1.js} +0 -0
  709. /package/dist/chunks/{worktree-7akdwqpd.js → provider-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{worktree-7m9af43g.js → provider-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{worktree-822emrt2.js → provider-822emrt2.js} +0 -0
  712. /package/dist/chunks/{worktree-88xbtdfr.js → provider-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{worktree-8n3pysct.js → provider-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{worktree-8wj87zfr.js → provider-8wj87zfr.js} +0 -0
  715. /package/dist/chunks/{worktree-9a4afbnw.js → provider-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{worktree-9rqn6x4v.js → provider-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{worktree-a6k6eb26.js → provider-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{worktree-af5trqkr.js → provider-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{worktree-afrmfg78.js → provider-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{worktree-aqzs7mqg.js → provider-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{worktree-atq7p7m5.js → provider-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{worktree-bkyjaxrp.js → provider-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{worktree-bmr6ed5q.js → provider-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{worktree-cf4snx6d.js → provider-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{worktree-cvy3z8tj.js → provider-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{worktree-d9fn303g.js → provider-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{worktree-d9jj8t3e.js → provider-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{worktree-dajrwvna.js → provider-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{worktree-dap0rakb.js → provider-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{worktree-df08tz66.js → provider-df08tz66.js} +0 -0
  731. /package/dist/chunks/{worktree-dy18nga0.js → provider-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{worktree-e5kj55wp.js → provider-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{worktree-e73j6tqm.js → provider-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{worktree-ec1grn59.js → provider-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{worktree-eh3zwz77.js → provider-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{worktree-emrn6kk6.js → provider-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{worktree-f0mxakyp.js → provider-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{worktree-f6n9ztr4.js → provider-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{worktree-faypxj3z.js → provider-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{worktree-fd410y7t.js → provider-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{worktree-fxgpk5d8.js → provider-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{worktree-g4wezp1m.js → provider-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{worktree-g86h250q.js → provider-g86h250q.js} +0 -0
  744. /package/dist/chunks/{worktree-gebd4c9n.js → provider-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{worktree-gftt206x.js → provider-gftt206x.js} +0 -0
  746. /package/dist/chunks/{worktree-hk9envan.js → provider-hk9envan.js} +0 -0
  747. /package/dist/chunks/{worktree-j2ntwpah.js → provider-j2ntwpah.js} +0 -0
  748. /package/dist/chunks/{worktree-j5zkgpj8.js → provider-j5zkgpj8.js} +0 -0
  749. /package/dist/chunks/{worktree-jjkms2e6.js → provider-jjkms2e6.js} +0 -0
  750. /package/dist/chunks/{worktree-jr7sbwjy.js → provider-jr7sbwjy.js} +0 -0
  751. /package/dist/chunks/{worktree-jwfs4k6c.js → provider-jwfs4k6c.js} +0 -0
  752. /package/dist/chunks/{worktree-jzg6c2d5.js → provider-jzg6c2d5.js} +0 -0
  753. /package/dist/chunks/{worktree-mp448xyj.js → provider-mp448xyj.js} +0 -0
  754. /package/dist/chunks/{worktree-msx8hqn2.js → provider-msx8hqn2.js} +0 -0
  755. /package/dist/chunks/{worktree-n05xt0ee.js → provider-n05xt0ee.js} +0 -0
  756. /package/dist/chunks/{worktree-n3j8tn72.js → provider-n3j8tn72.js} +0 -0
  757. /package/dist/chunks/{worktree-njntx4h6.js → provider-njntx4h6.js} +0 -0
  758. /package/dist/chunks/{worktree-q3sfg36h.js → provider-q3sfg36h.js} +0 -0
  759. /package/dist/chunks/{worktree-q74kybfr.js → provider-q74kybfr.js} +0 -0
  760. /package/dist/chunks/{worktree-qaymkmh1.js → provider-qaymkmh1.js} +0 -0
  761. /package/dist/chunks/{worktree-qb87gjwd.js → provider-qb87gjwd.js} +0 -0
  762. /package/dist/chunks/{worktree-qfa1cgps.js → provider-qfa1cgps.js} +0 -0
  763. /package/dist/chunks/{worktree-qg3g05ea.js → provider-qg3g05ea.js} +0 -0
  764. /package/dist/chunks/{worktree-qrg20bc0.js → provider-qrg20bc0.js} +0 -0
  765. /package/dist/chunks/{worktree-rcb2kzg1.js → provider-rcb2kzg1.js} +0 -0
  766. /package/dist/chunks/{worktree-sdp7kfr6.js → provider-sdp7kfr6.js} +0 -0
  767. /package/dist/chunks/{worktree-ssg3fenm.js → provider-ssg3fenm.js} +0 -0
  768. /package/dist/chunks/{worktree-w803qqfp.js → provider-w803qqfp.js} +0 -0
  769. /package/dist/chunks/{worktree-wc3fc9cn.js → provider-wc3fc9cn.js} +0 -0
  770. /package/dist/chunks/{worktree-wer8tq1h.js → provider-wer8tq1h.js} +0 -0
  771. /package/dist/chunks/{worktree-wtztk69x.js → provider-wtztk69x.js} +0 -0
  772. /package/dist/chunks/{worktree-x0ckcb58.js → provider-x0ckcb58.js} +0 -0
  773. /package/dist/chunks/{worktree-x61499pn.js → provider-x61499pn.js} +0 -0
  774. /package/dist/chunks/{worktree-y44na4kk.js → provider-y44na4kk.js} +0 -0
  775. /package/dist/chunks/{worktree-y8cydn3q.js → provider-y8cydn3q.js} +0 -0
  776. /package/dist/chunks/{worktree-y8f7s663.js → provider-y8f7s663.js} +0 -0
  777. /package/dist/chunks/{worktree-ygaqb7jw.js → provider-ygaqb7jw.js} +0 -0
  778. /package/dist/chunks/{worktree-ym463w8f.js → provider-ym463w8f.js} +0 -0
  779. /package/dist/chunks/{worktree-z5v4ffb3.js → provider-z5v4ffb3.js} +0 -0
  780. /package/dist/chunks/{worktree-z9919s4g.js → provider-z9919s4g.js} +0 -0
@@ -1,125 +1,125 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./worktree-mp95dmdx.js";
4
+ } from "./provider-1fh7s5gq.js";
5
5
  import {
6
- Service80,
7
- node84
8
- } from "./worktree-khzvsr9n.js";
6
+ Service83,
7
+ node87
8
+ } from "./provider-camesg23.js";
9
9
  import {
10
10
  SessionMessage2
11
- } from "./worktree-gftt206x.js";
11
+ } from "./provider-gftt206x.js";
12
12
  import {
13
13
  StepFailedError2
14
- } from "./worktree-e8vwfchq.js";
14
+ } from "./provider-ry082wg0.js";
15
15
  import {
16
16
  SessionEvent2
17
- } from "./worktree-ec1grn59.js";
17
+ } from "./provider-ec1grn59.js";
18
18
  import {
19
19
  SessionMessageTable2
20
- } from "./worktree-kb9j3d72.js";
20
+ } from "./provider-9e5bzkjp.js";
21
21
  import {
22
22
  prepare4
23
- } from "./worktree-sqvzcy4n.js";
23
+ } from "./provider-zfs8ae4p.js";
24
24
  import {
25
25
  provenance2
26
- } from "./worktree-f29mbr7f.js";
26
+ } from "./provider-4z58m4b4.js";
27
27
  import {
28
28
  decodeMessageRow2,
29
29
  preview2
30
- } from "./worktree-4tfbnah3.js";
30
+ } from "./provider-3ynd8b1x.js";
31
31
  import {
32
- Service74,
33
- node78
34
- } from "./worktree-vf88kmda.js";
32
+ Service58,
33
+ node61
34
+ } from "./provider-bqd2cxqp.js";
35
35
  import {
36
- Service49,
37
- node51
38
- } from "./worktree-x73za9sf.js";
36
+ Service37,
37
+ node40
38
+ } from "./provider-6bckvax5.js";
39
39
  import {
40
40
  llmClient2
41
- } from "./worktree-5t3nmthw.js";
41
+ } from "./provider-5t3nmthw.js";
42
42
  import {
43
- Service31,
44
- node35
45
- } from "./worktree-yertzaey.js";
43
+ Service25,
44
+ node28
45
+ } from "./provider-xabyxep3.js";
46
46
  import {
47
47
  baseTranscript2
48
- } from "./worktree-5zzwt5g1.js";
48
+ } from "./provider-cetvmtxy.js";
49
49
  import {
50
- make5
51
- } from "./worktree-zyk1yjk8.js";
50
+ make10
51
+ } from "./provider-b3f8fkhc.js";
52
52
  import {
53
53
  toSessionError2
54
- } from "./worktree-wn0425kx.js";
54
+ } from "./provider-6bdjrfqv.js";
55
55
  import {
56
- Service8,
57
- node10,
56
+ Service11,
57
+ node13,
58
58
  estimatePrompt2
59
- } from "./worktree-4jeef9x8.js";
59
+ } from "./provider-q0yrs87k.js";
60
60
  import {
61
- Service24,
62
- node28
63
- } from "./worktree-g7px2a66.js";
61
+ Service17,
62
+ node20
63
+ } from "./provider-z30v2f0y.js";
64
64
  import {
65
65
  serialized2,
66
66
  nextPromotable2,
67
67
  promote2
68
- } from "./worktree-2gec4brg.js";
68
+ } from "./provider-h6dsmzc8.js";
69
69
  import {
70
- Service2,
70
+ Service10,
71
71
  isUntitled2,
72
- node3
73
- } from "./worktree-d9zcp3x2.js";
72
+ node12
73
+ } from "./provider-d1d7m7z7.js";
74
74
  import {
75
75
  DrainResult2,
76
- Service40
77
- } from "./worktree-2vs2nh1n.js";
76
+ Service50
77
+ } from "./provider-baaqp4zd.js";
78
78
  import {
79
- node40
80
- } from "./worktree-x90t23kx.js";
79
+ node39
80
+ } from "./provider-fwpeyn7w.js";
81
81
  import {
82
- node60
83
- } from "./worktree-f2mw6jyj.js";
82
+ node72
83
+ } from "./provider-xh27xnk0.js";
84
84
  import {
85
85
  Outcome2,
86
- make3
87
- } from "./worktree-3v3tg56d.js";
86
+ make9
87
+ } from "./provider-nda1mvrc.js";
88
88
  import {
89
- Service34
90
- } from "./worktree-by5v678g.js";
89
+ Service16
90
+ } from "./provider-hgd4btym.js";
91
91
  import {
92
- node22
93
- } from "./worktree-ex5gm711.js";
92
+ node16
93
+ } from "./provider-3z3hyhzp.js";
94
94
  import {
95
95
  MAX_STEPS_PROMPT2
96
- } from "./worktree-y44na4kk.js";
96
+ } from "./provider-y44na4kk.js";
97
97
  import {
98
98
  __export
99
- } from "./worktree-9rqn6x4v.js";
99
+ } from "./provider-9rqn6x4v.js";
100
100
 
101
101
  // src/session/runner/llm.ts
102
102
  var exports_llm = {};
103
103
  __export(exports_llm, {
104
104
  SessionRunnerLLM: () => exports_llm,
105
- node: () => node2
105
+ node: () => node11
106
106
  });
107
107
  import { Message } from "@opencode/ai";
108
108
  import { and, desc, eq, sql } from "drizzle-orm";
109
109
  import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
110
110
  import { makeLocationNode } from "@opencode/util/effect/app-node";
111
111
  var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
112
- var layer = Layer.effect(Service40, Effect.gen(function* () {
113
- const bus = yield* Service80;
114
- const lifecycle = yield* Service49;
115
- const store = yield* Service74;
116
- const context = yield* Service24;
117
- const modelTransport = yield* Service31;
112
+ var layer = Layer.effect(Service50, Effect.gen(function* () {
113
+ const bus = yield* Service83;
114
+ const lifecycle = yield* Service37;
115
+ const store = yield* Service58;
116
+ const context = yield* Service17;
117
+ const modelTransport = yield* Service25;
118
118
  const db = (yield* Service84).db;
119
- const compaction = yield* Service8;
120
- const plugins = yield* Service34;
121
- const title = yield* Service2;
122
- const steps = yield* make3;
119
+ const compaction = yield* Service11;
120
+ const plugins = yield* Service16;
121
+ const title = yield* Service10;
122
+ const steps = yield* make9;
123
123
  const titles = yield* FiberMap.make();
124
124
  const drain = Effect.fn("SessionRunner.drain")(function* (input) {
125
125
  const sessionID = input.sessionID;
@@ -240,7 +240,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
240
240
  const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
241
241
  const sessionID = first.session.id;
242
242
  let assistantMessageID = SessionMessage2.ID.create();
243
- const retry = yield* make5(bus, sessionID);
243
+ const retry = yield* make10(bus, sessionID);
244
244
  let initial = first;
245
245
  let recoverOverflow = true;
246
246
  let recoverContinuation = true;
@@ -356,25 +356,25 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
356
356
  }
357
357
  }
358
358
  });
359
- return Service40.of({ drain });
359
+ return Service50.of({ drain });
360
360
  }));
361
- var node2 = makeLocationNode({
362
- service: Service40,
361
+ var node11 = makeLocationNode({
362
+ service: Service50,
363
363
  layer,
364
364
  deps: [
365
- node84,
366
- node51,
365
+ node87,
366
+ node40,
367
367
  llmClient2,
368
+ node20,
368
369
  node28,
369
- node35,
370
- node78,
371
- node10,
372
- node22,
373
- node3,
374
- node40,
375
- node60,
370
+ node61,
371
+ node13,
372
+ node16,
373
+ node12,
374
+ node39,
375
+ node72,
376
376
  node88
377
377
  ]
378
378
  });
379
379
 
380
- export { node2, exports_llm };
380
+ export { node11, exports_llm };
@@ -1,22 +1,22 @@
1
1
  import {
2
- ID9,
2
+ ID12,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  timeouts2,
6
6
  mergeOverlay2
7
- } from "./worktree-cprp9kwr.js";
7
+ } from "./provider-kpjwkn2w.js";
8
8
  import {
9
9
  __export
10
- } from "./worktree-9rqn6x4v.js";
10
+ } from "./provider-9rqn6x4v.js";
11
11
 
12
12
  // src/aisdk.ts
13
13
  var exports_aisdk = {};
14
14
  __export(exports_aisdk, {
15
15
  AISDK: () => exports_aisdk,
16
16
  InitError: () => InitError2,
17
- Service: () => Service66,
17
+ Service: () => Service61,
18
18
  locationLayer: () => locationLayer2,
19
- node: () => node70
19
+ node: () => node64
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { APICallError } from "@ai-sdk/provider";
@@ -151,7 +151,7 @@ function throughMiddleware(store, send, input, init) {
151
151
  var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
152
152
 
153
153
  class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
154
- providerID: ID9,
154
+ providerID: ID12,
155
155
  cause: Schema.Defect()
156
156
  }) {
157
157
  }
@@ -159,9 +159,9 @@ function initError(providerID) {
159
159
  return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
160
160
  }
161
161
 
162
- class Service66 extends Context.Service()("@opencode/AISDK") {
162
+ class Service61 extends Context.Service()("@opencode/AISDK") {
163
163
  }
164
- var locationLayer2 = Layer.effect(Service66, Effect.gen(function* () {
164
+ var locationLayer2 = Layer.effect(Service61, Effect.gen(function* () {
165
165
  let sdkHooks = [];
166
166
  let languageHooks = [];
167
167
  const languages = new Map;
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service66, Effect.gen(function* () {
199
199
  }
200
200
  return event;
201
201
  });
202
- const service = Service66.of({
202
+ const service = Service61.of({
203
203
  hook: {
204
204
  sdk: register(() => sdkHooks, (next) => sdkHooks = next),
205
205
  language: register(() => languageHooks, (next) => languageHooks = next)
@@ -874,6 +874,6 @@ function providerErrorMessage(error) {
874
874
  const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
875
875
  return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
876
876
  }
877
- var node70 = makeLocationNode({ service: Service66, layer: locationLayer2, deps: [] });
877
+ var node64 = makeLocationNode({ service: Service61, layer: locationLayer2, deps: [] });
878
878
 
879
- export { InitError2, Service66, locationLayer2, node70, exports_aisdk };
879
+ export { InitError2, Service61, locationLayer2, node64, exports_aisdk };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./provider-9rqn6x4v.js";
4
4
 
5
5
  // src/session/subagent-completion.ts
6
6
  var exports_subagent_completion = {};
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  name15,
3
3
  ps2
4
- } from "./worktree-pgvafq4z.js";
4
+ } from "./provider-1fw2a5v8.js";
5
5
  import {
6
6
  lazy2
7
- } from "./worktree-88xbtdfr.js";
7
+ } from "./provider-88xbtdfr.js";
8
8
  import {
9
9
  match2
10
- } from "./worktree-y1fvbwt7.js";
10
+ } from "./provider-y1fvbwt7.js";
11
11
  import {
12
12
  __export
13
- } from "./worktree-9rqn6x4v.js";
13
+ } from "./provider-9rqn6x4v.js";
14
14
 
15
15
  // src/shell/parse.ts
16
16
  var exports_parse = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./worktree-z5v4ffb3.js";
3
+ } from "./provider-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./worktree-9rqn6x4v.js";
6
+ } from "./provider-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/mcp.ts
9
9
  var exports_mcp5 = {};
10
10
  __export(exports_mcp5, {
11
11
  ConfigMCPV1: () => exports_mcp5,
12
- Info: () => Info13,
12
+ Info: () => Info16,
13
13
  Local: () => Local2,
14
14
  OAuth: () => OAuth2,
15
15
  Remote: () => Remote2
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
64
64
  description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
65
65
  })
66
66
  }).annotate({ identifier: "McpRemoteConfig" });
67
- var Info13 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
67
+ var Info16 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
68
68
 
69
- export { Local2, OAuth2, Remote2, Info13, exports_mcp5 };
69
+ export { Local2, OAuth2, Remote2, Info16, exports_mcp5 };
@@ -2,18 +2,18 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./worktree-z5v4ffb3.js";
5
+ } from "./provider-z5v4ffb3.js";
6
6
  import {
7
- Service78,
8
- node82
9
- } from "./worktree-944zhfh4.js";
7
+ Service80,
8
+ node84
9
+ } from "./provider-j0sgkhxp.js";
10
10
  import {
11
- Service16,
12
- node18
13
- } from "./worktree-d96ycdxj.js";
11
+ Service40,
12
+ node43
13
+ } from "./provider-qg966khd.js";
14
14
  import {
15
15
  __export
16
- } from "./worktree-9rqn6x4v.js";
16
+ } from "./provider-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
@@ -24,20 +24,20 @@ __export(exports_filesystem, {
24
24
  DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
25
25
  DirectoryNotFoundError: () => DirectoryNotFoundError2,
26
26
  Entry: () => Entry2,
27
- Event: () => Event2,
27
+ Event: () => Event7,
28
28
  FileSystem: () => exports_filesystem,
29
29
  FindInput: () => FindInput2,
30
30
  GlobInput: () => GlobInput2,
31
31
  GrepInput: () => GrepInput2,
32
- ListInput: () => ListInput2,
32
+ ListInput: () => ListInput3,
33
33
  Match: () => Match2,
34
- NotFoundError: () => NotFoundError2,
34
+ NotFoundError: () => NotFoundError4,
35
35
  ReadInput: () => ReadInput2,
36
- Service: () => Service15,
36
+ Service: () => Service39,
37
37
  Submatch: () => Submatch2,
38
38
  Write: () => Write2,
39
39
  WriteInput: () => WriteInput2,
40
- node: () => node17
40
+ node: () => node42
41
41
  });
42
42
  import { makeLocationNode } from "@opencode/util/effect/app-node";
43
43
  import path from "path";
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
53
53
  data: Schema.Uint8Array
54
54
  });
55
55
 
56
- class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
56
+ class NotFoundError4 extends Schema.TaggedError()("FileSystem.NotFoundError", {
57
57
  path: RelativePath2
58
58
  }) {
59
59
  }
@@ -82,7 +82,7 @@ var Content2 = Schema.Struct({
82
82
  encoding: Schema.Literals(["utf8", "base64"]),
83
83
  mime: Schema.String
84
84
  }).annotate({ identifier: "FileSystem.Content" });
85
- var ListInput2 = Schema.Struct({
85
+ var ListInput3 = Schema.Struct({
86
86
  path: Schema.String.pipe(Schema.optional)
87
87
  });
88
88
  var DEFAULT_SEARCH_LIMIT2 = 100;
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
105
105
  limit: Schema.optionalKey(PositiveInt2)
106
106
  }) {
107
107
  }
108
- var Event2 = FileSystem.Event;
108
+ var Event7 = FileSystem.Event;
109
109
 
110
- class Service15 extends Context.Service()("@opencode/FileSystem") {
110
+ class Service39 extends Context.Service()("@opencode/FileSystem") {
111
111
  }
112
- var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
112
+ var baseLayer = Layer.effect(Service39, Effect.gen(function* () {
113
113
  const fs = yield* FSUtil.Service;
114
- const location = yield* Service78;
115
- const search = yield* Service16;
114
+ const location = yield* Service80;
115
+ const search = yield* Service40;
116
116
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
117
117
  if (cause.reason._tag === "NotFound")
118
118
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
@@ -122,22 +122,22 @@ var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
122
122
  }));
123
123
  const resolve = Effect.fnUntraced(function* (input) {
124
124
  if (input.includes("\x00"))
125
- return yield* Effect.fail(new NotFoundError2({ path: input }));
125
+ return yield* Effect.fail(new NotFoundError4({ path: input }));
126
126
  const absolute = path.resolve(location.directory, input);
127
127
  if (!FSUtil.contains(location.directory, absolute))
128
- return yield* Effect.fail(new NotFoundError2({ path: input }));
129
- const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input })), (_, error) => Effect.die(error)));
128
+ return yield* Effect.fail(new NotFoundError4({ path: input }));
129
+ const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input })), (_, error) => Effect.die(error)));
130
130
  if (!FSUtil.contains(root, real))
131
- return yield* Effect.fail(new NotFoundError2({ path: input }));
131
+ return yield* Effect.fail(new NotFoundError4({ path: input }));
132
132
  return { absolute, real, directory: location.directory };
133
133
  });
134
- return Service15.of({
134
+ return Service39.of({
135
135
  find: search.find,
136
136
  read: Effect.fn("FileSystem.read")(function* (input) {
137
137
  const target = yield* resolve(input.path);
138
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
138
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error)));
139
139
  if (info.type !== "File")
140
- return yield* Effect.fail(new NotFoundError2({ path: input.path }));
140
+ return yield* Effect.fail(new NotFoundError4({ path: input.path }));
141
141
  return {
142
142
  mime: FSUtil.mimeType(target.real),
143
143
  size: Number(info.size),
@@ -170,10 +170,10 @@ var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
170
170
  })
171
171
  });
172
172
  }));
173
- var node17 = makeLocationNode({
174
- service: Service15,
173
+ var node42 = makeLocationNode({
174
+ service: Service39,
175
175
  layer: baseLayer,
176
- deps: [FSUtil.node, node82, node18]
176
+ deps: [FSUtil.node, node84, node43]
177
177
  });
178
178
 
179
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service15, node17, exports_filesystem, Entry2, Match2, Submatch2 };
179
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError4, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event7, Service39, node42, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./worktree-qfa1cgps.js";
3
+ } from "./provider-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./worktree-3cegwx68.js";
6
+ } from "./provider-h2b79v29.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./worktree-mp95dmdx.js";
4
+ } from "./provider-1fh7s5gq.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./worktree-f75zav2x.js";
7
+ } from "./provider-71az546q.js";
8
8
  import {
9
9
  __export
10
- } from "./worktree-9rqn6x4v.js";
10
+ } from "./provider-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: () => ID14,
17
- Info: () => Info24,
18
- ListInput: () => ListInput5,
16
+ ID: () => ID8,
17
+ Info: () => Info10,
18
+ ListInput: () => ListInput4,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service75,
21
- node: () => node79
20
+ Service: () => Service57,
21
+ node: () => node60
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 ID14 = PermissionSaved.ID;
29
- var Info24 = PermissionSaved.Info;
30
- var ListInput5 = Schema.Struct({
28
+ var ID8 = PermissionSaved.ID;
29
+ var Info10 = 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 Service75 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service57 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service75, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service57, Effect.gen(function* () {
42
42
  const db = (yield* Service84).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(Service75, 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: ID14.create(),
60
+ id: ID8.create(),
61
61
  project_id: input.projectID,
62
62
  action: input.action,
63
63
  resource
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service75, 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 Service75.of({ list, add, remove });
69
+ return Service57.of({ list, add, remove });
70
70
  }));
71
- var node79 = makeGlobalNode({ service: Service75, layer, deps: [node88] });
71
+ var node60 = makeGlobalNode({ service: Service57, layer, deps: [node88] });
72
72
 
73
- export { ID14, Info24, ListInput5, AddInput2, Service75, node79, exports_saved };
73
+ export { ID8, Info10, ListInput4, AddInput2, Service57, node60, exports_saved };
@@ -2,7 +2,7 @@ import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2,
4
4
  mapUpdateSet2
5
- } from "./worktree-emrn6kk6.js";
5
+ } from "./provider-emrn6kk6.js";
6
6
 
7
7
  // src/database/drizzle/sqlite-core/effect/insert.ts
8
8
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createLocalProviderPlugin2
3
- } from "./worktree-z3zxqg9g.js";
3
+ } from "./provider-tk6t2mry.js";
4
4
 
5
5
  // src/plugin/provider/ollama.ts
6
6
  import { Effect, Schema } from "effect";
@@ -34,7 +34,7 @@ var ShowResponse = Schema.Struct({
34
34
  model_info: Schema.Record(Schema.String, Schema.Unknown).pipe(Schema.optional)
35
35
  });
36
36
  var shows = new Map;
37
- var make10 = createLocalProviderPlugin2({
37
+ var make7 = createLocalProviderPlugin2({
38
38
  id: "opencode.provider.ollama",
39
39
  providerID: "ollama",
40
40
  name: "Ollama",
@@ -67,6 +67,6 @@ var make10 = createLocalProviderPlugin2({
67
67
  context: Object.entries(item.show.model_info ?? {}).flatMap(([key, value]) => key.endsWith(".context_length") && typeof value === "number" && value > 0 ? [value] : [])[0]
68
68
  })
69
69
  });
70
- var OllamaPlugin2 = make10();
70
+ var OllamaPlugin2 = make7();
71
71
 
72
- export { make10, OllamaPlugin2 };
72
+ export { make7, OllamaPlugin2 };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  provider2,
3
3
  model2
4
- } from "./worktree-0paq2nw3.js";
4
+ } from "./provider-0paq2nw3.js";
5
5
  import {
6
6
  aisdk2
7
- } from "./worktree-cprp9kwr.js";
7
+ } from "./provider-kpjwkn2w.js";
8
8
  import {
9
9
  Capabilities2,
10
10
  compatibility2
11
- } from "./worktree-fn9txvmy.js";
11
+ } from "./provider-gb4s5hjx.js";
12
12
  import {
13
13
  __export
14
- } from "./worktree-9rqn6x4v.js";
14
+ } from "./provider-9rqn6x4v.js";
15
15
 
16
16
  // src/v1/config/migrate.ts
17
17
  var exports_migrate = {};