@opencode/core 0.0.0-dev-21040 → 0.0.0-dev-21044

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 (789) 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 +71 -71
  7. package/dist/chunks/{mime-8m6gnkp5.js → worktree-0296bd6c.js} +11 -11
  8. package/dist/chunks/{mime-m5jcjszt.js → worktree-08rawchj.js} +2 -2
  9. package/dist/chunks/{mime-p6ax3407.js → worktree-09kdszyw.js} +11 -11
  10. package/dist/chunks/{mime-1bn046zq.js → worktree-0fr5sr31.js} +17 -17
  11. package/dist/chunks/{mime-74sj64d5.js → worktree-0hpfwc9a.js} +13 -13
  12. package/dist/chunks/{mime-q0xm7vwc.js → worktree-0j77ygfz.js} +6 -6
  13. package/dist/chunks/{mime-050xtdf8.js → worktree-0jp2gd70.js} +4 -4
  14. package/dist/chunks/{mime-qhexs5yx.js → worktree-0mm9aq32.js} +18 -18
  15. package/dist/chunks/{mime-07965hzr.js → worktree-0nxfewx3.js} +18 -18
  16. package/dist/chunks/{mime-w56fr51s.js → worktree-0sjgtn60.js} +4 -4
  17. package/dist/chunks/{mime-0vbcp93d.js → worktree-0vbcp93d.js} +2 -2
  18. package/dist/chunks/{mime-sg7jdfe4.js → worktree-0vrkd98v.js} +4 -4
  19. package/dist/chunks/{mime-ejcpmtps.js → worktree-0xezf9n7.js} +27 -27
  20. package/dist/chunks/{mime-78s9dq41.js → worktree-14z0575r.js} +15 -15
  21. package/dist/chunks/{mime-q7ttfbsd.js → worktree-1bfvb0c5.js} +5 -5
  22. package/dist/chunks/{mime-dfzjqex4.js → worktree-1cfb3ja4.js} +5 -5
  23. package/dist/chunks/{mime-kay1zs2t.js → worktree-1cnr1ze3.js} +45 -45
  24. package/dist/chunks/{mime-bjx1sjef.js → worktree-1ffvrpkg.js} +6 -6
  25. package/dist/chunks/{mime-txm3e8qz.js → worktree-1j6m29mr.js} +9 -9
  26. package/dist/chunks/{mime-0vjek7f6.js → worktree-1qpfn3tg.js} +17 -17
  27. package/dist/chunks/{mime-ta0smedg.js → worktree-20kcyg4f.js} +45 -45
  28. package/dist/chunks/{mime-d4kct8rx.js → worktree-274sxbd4.js} +14 -14
  29. package/dist/chunks/{mime-0x1pdtng.js → worktree-2enf78eb.js} +23 -23
  30. package/dist/chunks/{mime-a1gprgvs.js → worktree-2fzw7nf3.js} +15 -15
  31. package/dist/chunks/worktree-2jnbd3f3.js +253 -0
  32. package/dist/chunks/{mime-7dqw4kz8.js → worktree-2k8khapm.js} +5 -5
  33. package/dist/chunks/{mime-ba2ek88a.js → worktree-2t5j91cv.js} +9 -9
  34. package/dist/chunks/{mime-984f2ybn.js → worktree-2t8wq7t2.js} +17 -17
  35. package/dist/chunks/{mime-qe9cja5v.js → worktree-35c3zvez.js} +24 -24
  36. package/dist/chunks/{mime-25bf223w.js → worktree-39ed28yb.js} +25 -25
  37. package/dist/chunks/{mime-15rpx8aj.js → worktree-3b80bnbc.js} +10 -10
  38. package/dist/chunks/{mime-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{mime-109ybz4f.js → worktree-3gdnc4sn.js} +13 -13
  40. package/dist/chunks/{mime-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{mime-3hwn7j4h.js → worktree-3hwn7j4h.js} +2 -2
  42. package/dist/chunks/{mime-xbr5rkwb.js → worktree-3nnccxaq.js} +9 -9
  43. package/dist/chunks/{mime-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{mime-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{mime-pz5b1pah.js → worktree-3v09aqcm.js} +5 -5
  46. package/dist/chunks/{mime-nhqmpqry.js → worktree-3y3fsy4j.js} +3 -3
  47. package/dist/chunks/{mime-0p8e2j75.js → worktree-3z45eq7z.js} +16 -16
  48. package/dist/chunks/{mime-3zsf4n22.js → worktree-3zsf4n22.js} +1 -1
  49. package/dist/chunks/{mime-y2vzq5h6.js → worktree-431wf54f.js} +16 -16
  50. package/dist/chunks/{mime-vesg7vyr.js → worktree-4mg6ayqp.js} +20 -20
  51. package/dist/chunks/{mime-a465zkn0.js → worktree-4sh0xj3w.js} +30 -30
  52. package/dist/chunks/{mime-mqb0p7pg.js → worktree-52zw37wk.js} +5 -5
  53. package/dist/chunks/{mime-54ma36ye.js → worktree-54ma36ye.js} +1 -1
  54. package/dist/chunks/{mime-nncd61c2.js → worktree-56sxvxk2.js} +32 -32
  55. package/dist/chunks/{mime-jh86bj30.js → worktree-59phwr7n.js} +29 -29
  56. package/dist/chunks/{mime-5m9w47nd.js → worktree-5m9w47nd.js} +1 -1
  57. package/dist/chunks/{mime-fxsx3k7c.js → worktree-5pm97va6.js} +16 -16
  58. package/dist/chunks/{mime-z5w93em6.js → worktree-5qdw7c1w.js} +14 -14
  59. package/dist/chunks/{mime-a3a1kd57.js → worktree-5qzk5w75.js} +7 -7
  60. package/dist/chunks/{mime-v0fktwpp.js → worktree-5t75nmpp.js} +4 -4
  61. package/dist/chunks/{mime-wy8qa55f.js → worktree-667j1n9q.js} +33 -33
  62. package/dist/chunks/{mime-gaffhmcy.js → worktree-69yp9mph.js} +3 -3
  63. package/dist/chunks/{mime-jk540des.js → worktree-6g107h22.js} +2 -2
  64. package/dist/chunks/{mime-6k3mcxsj.js → worktree-6gp0zckj.js} +11 -11
  65. package/dist/chunks/{mime-826e8q9w.js → worktree-6mvtkawg.js} +13 -13
  66. package/dist/chunks/{mime-7ny7wjsd.js → worktree-6n0c97dh.js} +4 -4
  67. package/dist/chunks/{mime-rpesnf7a.js → worktree-6ts6ce7s.js} +18 -18
  68. package/dist/chunks/{mime-6xb47vfp.js → worktree-6xb47vfp.js} +1 -1
  69. package/dist/chunks/{mime-wswphd9c.js → worktree-716nhc93.js} +9 -9
  70. package/dist/chunks/{mime-775gj3j1.js → worktree-775gj3j1.js} +2 -2
  71. package/dist/chunks/{mime-bh8ytvkx.js → worktree-7ab1jc12.js} +23 -23
  72. package/dist/chunks/{mime-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{mime-8sze2n9a.js → worktree-7fkffz83.js} +8 -8
  74. package/dist/chunks/{mime-fqwbcgn7.js → worktree-7gra0nqm.js} +12 -12
  75. package/dist/chunks/{mime-6a6nq1pp.js → worktree-7jfpk3vs.js} +17 -17
  76. package/dist/chunks/{mime-7sc8a7ge.js → worktree-7ttgb0nd.js} +50 -50
  77. package/dist/chunks/{mime-5684rj21.js → worktree-7yr5d591.js} +19 -19
  78. package/dist/chunks/{mime-39kjv65j.js → worktree-849efwnp.js} +23 -23
  79. package/dist/chunks/{mime-w1eejvng.js → worktree-84txncab.js} +5 -5
  80. package/dist/chunks/{mime-7war8x1d.js → worktree-867vdmc0.js} +10 -10
  81. package/dist/chunks/{mime-tcezcvh9.js → worktree-89znhe33.js} +4 -4
  82. package/dist/chunks/{mime-2xntw82p.js → worktree-8f1339w9.js} +5 -5
  83. package/dist/chunks/{mime-jbnd8fp8.js → worktree-8jmcdnh7.js} +19 -19
  84. package/dist/chunks/{mime-8m6m0r52.js → worktree-8m6m0r52.js} +1 -1
  85. package/dist/chunks/{mime-4d7s1pf1.js → worktree-8qc83v7e.js} +4 -4
  86. package/dist/chunks/{mime-h7c27e8q.js → worktree-8v8p5ge9.js} +14 -14
  87. package/dist/chunks/{mime-3m85peyz.js → worktree-8zg9y4xf.js} +51 -51
  88. package/dist/chunks/{mime-hxevttss.js → worktree-95sqqx4e.js} +21 -21
  89. package/dist/chunks/{mime-n2ky5gkf.js → worktree-95xk19wm.js} +24 -24
  90. package/dist/chunks/{mime-5yzzbxa7.js → worktree-9hn6k4tm.js} +8 -8
  91. package/dist/chunks/{mime-wwp51aqn.js → worktree-9jkjpzrk.js} +22 -22
  92. package/dist/chunks/{mime-emv6g1k7.js → worktree-9py6qxwx.js} +10 -10
  93. package/dist/chunks/{mime-9thd8pbs.js → worktree-9q7v2qnn.js} +13 -13
  94. package/dist/chunks/{mime-0y2vcsp3.js → worktree-9sgsjpgv.js} +11 -11
  95. package/dist/chunks/{mime-6yprj1qa.js → worktree-a42z6xrr.js} +11 -11
  96. package/dist/chunks/{mime-q8pcrqed.js → worktree-a8kyzpnb.js} +11 -11
  97. package/dist/chunks/{mime-dd2pvs9r.js → worktree-aeef67my.js} +22 -22
  98. package/dist/chunks/{mime-w30cgv0b.js → worktree-b3c2e4qp.js} +5 -5
  99. package/dist/chunks/{mime-b3f8fkhc.js → worktree-b3f8fkhc.js} +2 -2
  100. package/dist/chunks/{mime-ce0rpsvc.js → worktree-b6k8njs9.js} +11 -11
  101. package/dist/chunks/{mime-d4mkpxw9.js → worktree-b9gd63k6.js} +13 -13
  102. package/dist/chunks/{mime-kghccary.js → worktree-beed7hnt.js} +87 -87
  103. package/dist/chunks/{mime-y2rpf3m1.js → worktree-bevb4k0a.js} +8 -8
  104. package/dist/chunks/{mime-ka7th2ed.js → worktree-bgtxx6qd.js} +33 -33
  105. package/dist/chunks/{mime-7zkbhs7g.js → worktree-bh2h312c.js} +11 -11
  106. package/dist/chunks/{mime-vxa6qxmv.js → worktree-bk8ezkk0.js} +28 -28
  107. package/dist/chunks/{mime-e7d0aeaq.js → worktree-bsszwgw7.js} +21 -21
  108. package/dist/chunks/{mime-ga8mg7ng.js → worktree-c0gtsr28.js} +51 -51
  109. package/dist/chunks/{mime-c1fqxshp.js → worktree-c1fqxshp.js} +3 -3
  110. package/dist/chunks/{mime-b6bc02an.js → worktree-c7a7nq54.js} +28 -28
  111. package/dist/chunks/{mime-mdqph4s0.js → worktree-c8dwdg4v.js} +25 -25
  112. package/dist/chunks/{mime-qc91r9hq.js → worktree-d21xt1cm.js} +19 -19
  113. package/dist/chunks/{mime-63jkwkyz.js → worktree-deq11mm3.js} +17 -17
  114. package/dist/chunks/{mime-8gxqpgph.js → worktree-dhmh7aw6.js} +4 -4
  115. package/dist/chunks/{mime-wbt7h3w0.js → worktree-dn07pamb.js} +10 -10
  116. package/dist/chunks/{mime-dqxsqydv.js → worktree-dqxsqydv.js} +1 -1
  117. package/dist/chunks/{mime-gpab4zxm.js → worktree-dsxmv375.js} +9 -9
  118. package/dist/chunks/{mime-5qd3pb7m.js → worktree-e3qxr5gk.js} +2 -2
  119. package/dist/chunks/{mime-yfmm3r9p.js → worktree-e9s73vyg.js} +20 -20
  120. package/dist/chunks/{mime-wsyn0rjs.js → worktree-ecb605w9.js} +11 -11
  121. package/dist/chunks/{mime-87f36h6m.js → worktree-ee7eyq7w.js} +8 -8
  122. package/dist/chunks/{mime-w3x9v1nk.js → worktree-eeaf82dq.js} +8 -8
  123. package/dist/chunks/{mime-eej6y6fw.js → worktree-eej6y6fw.js} +2 -2
  124. package/dist/chunks/{mime-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
  125. package/dist/chunks/worktree-etsgmb9a.js +513 -0
  126. package/dist/chunks/{mime-rr32njry.js → worktree-fby0yz3e.js} +36 -36
  127. package/dist/chunks/{mime-ym12zjx9.js → worktree-ffy7j4h9.js} +25 -25
  128. package/dist/chunks/{mime-epnnc93h.js → worktree-fj921hw4.js} +22 -22
  129. package/dist/chunks/{mime-jbax71gz.js → worktree-fkwcg6pt.js} +11 -11
  130. package/dist/chunks/{mime-djszqvmq.js → worktree-ft3hqk2c.js} +9 -9
  131. package/dist/chunks/{mime-jn7vh711.js → worktree-fzgjsfgc.js} +30 -30
  132. package/dist/chunks/{mime-n0yzpgaz.js → worktree-g2f11mr5.js} +21 -21
  133. package/dist/chunks/{mime-svc4qe25.js → worktree-g3gfrvz4.js} +32 -32
  134. package/dist/chunks/{mime-dpxxne8d.js → worktree-g6kap4fx.js} +6 -6
  135. package/dist/chunks/{mime-p24hwdax.js → worktree-g71v19aa.js} +25 -25
  136. package/dist/chunks/{mime-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
  137. package/dist/chunks/{mime-43rv0vt2.js → worktree-grz2r9kj.js} +34 -34
  138. package/dist/chunks/{mime-1y2xvrc2.js → worktree-gs51cq9s.js} +9 -9
  139. package/dist/chunks/{mime-345etsgx.js → worktree-gt06s37z.js} +15 -15
  140. package/dist/chunks/{mime-hwt4zdf0.js → worktree-gv9ar1vg.js} +11 -11
  141. package/dist/chunks/{mime-205wgd7n.js → worktree-gyf50hgr.js} +18 -18
  142. package/dist/chunks/{mime-4n1kryv0.js → worktree-h1vatst2.js} +11 -11
  143. package/dist/chunks/{mime-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
  144. package/dist/chunks/{mime-31xfzrxg.js → worktree-h7s7r6s9.js} +5 -5
  145. package/dist/chunks/{mime-g6yfr6ja.js → worktree-h83xjv7f.js} +5 -5
  146. package/dist/chunks/{mime-yrcj3v3g.js → worktree-h9wp8z5w.js} +4 -4
  147. package/dist/chunks/{mime-tq4zrfhc.js → worktree-h9yqbyhm.js} +3 -3
  148. package/dist/chunks/{mime-rxcdjwh1.js → worktree-had4kgfk.js} +6 -6
  149. package/dist/chunks/{mime-p3vvxz2w.js → worktree-hde47968.js} +6 -6
  150. package/dist/chunks/{mime-wb86ees7.js → worktree-hf9tmbh5.js} +20 -20
  151. package/dist/chunks/{mime-7henczxa.js → worktree-hgwtmp3d.js} +14 -14
  152. package/dist/chunks/{mime-hgz4x7wa.js → worktree-hgz4x7wa.js} +1 -1
  153. package/dist/chunks/{mime-91qna3x0.js → worktree-j09zfasm.js} +3 -3
  154. package/dist/chunks/{mime-3wad62ms.js → worktree-j3eh7efd.js} +11 -11
  155. package/dist/chunks/{mime-w9n24aqy.js → worktree-j8kg77fh.js} +30 -30
  156. package/dist/chunks/{mime-32tazwv6.js → worktree-jfxk8smp.js} +16 -16
  157. package/dist/chunks/{mime-hdab2k61.js → worktree-jkp0d30b.js} +6 -6
  158. package/dist/chunks/{mime-15q8m5cs.js → worktree-jt30ntq0.js} +24 -24
  159. package/dist/chunks/{mime-z2jd07rd.js → worktree-k185drda.js} +7 -7
  160. package/dist/chunks/{mime-ng3918dk.js → worktree-k5qw4hft.js} +8 -8
  161. package/dist/chunks/{mime-62e165w1.js → worktree-k61z228s.js} +16 -16
  162. package/dist/chunks/{mime-xbhefgk3.js → worktree-k6nq8rg4.js} +27 -27
  163. package/dist/chunks/{mime-3trpv21a.js → worktree-ke97j4hd.js} +8 -8
  164. package/dist/chunks/{mime-ws5ka3n2.js → worktree-kh8z24c7.js} +30 -30
  165. package/dist/chunks/{mime-fxaymqdw.js → worktree-khmqacep.js} +4 -4
  166. package/dist/chunks/{mime-sg61y373.js → worktree-kqx1b4hy.js} +4 -4
  167. package/dist/chunks/{mime-7rkx4gms.js → worktree-ksgsanrq.js} +8 -8
  168. package/dist/chunks/{mime-edm94f7d.js → worktree-kt3sjp1b.js} +5 -5
  169. package/dist/chunks/{mime-277eer69.js → worktree-kzc3h1h3.js} +4 -4
  170. package/dist/chunks/{mime-mzvkzawb.js → worktree-m365tgky.js} +33 -33
  171. package/dist/chunks/{mime-rpp8qasa.js → worktree-m5f219rb.js} +21 -21
  172. package/dist/chunks/{mime-3bzm20zk.js → worktree-m6pmp8dy.js} +1 -1
  173. package/dist/chunks/{mime-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
  174. package/dist/chunks/{mime-maspj1v3.js → worktree-maspj1v3.js} +1 -1
  175. package/dist/chunks/{mime-78bqkphs.js → worktree-mf27tnfq.js} +22 -22
  176. package/dist/chunks/{mime-9rwfab3m.js → worktree-mpngx6ag.js} +31 -31
  177. package/dist/chunks/{mime-8mptw0yh.js → worktree-neqgramr.js} +18 -18
  178. package/dist/chunks/{mime-8ank75fn.js → worktree-ngts6ef0.js} +8 -8
  179. package/dist/chunks/{mime-prq7hedt.js → worktree-njhqdk9p.js} +9 -9
  180. package/dist/chunks/{mime-vatybvvw.js → worktree-nkzytket.js} +21 -21
  181. package/dist/chunks/{mime-f593gmc1.js → worktree-nrv3sj1v.js} +25 -25
  182. package/dist/chunks/{mime-7fkngs2v.js → worktree-p51f681n.js} +2 -2
  183. package/dist/chunks/{mime-ygmyzbnp.js → worktree-p5vn9pc0.js} +42 -42
  184. package/dist/chunks/{mime-dt81vr0m.js → worktree-pcb6a8b5.js} +18 -18
  185. package/dist/chunks/{mime-kjejtsqg.js → worktree-pd9fs73p.js} +16 -16
  186. package/dist/chunks/{mime-a1p7dyg9.js → worktree-pg7j9xfd.js} +5 -5
  187. package/dist/chunks/{mime-8wbxkt1z.js → worktree-pgp1nwjn.js} +4 -4
  188. package/dist/chunks/{mime-2003xh4j.js → worktree-ph20cxtq.js} +9 -9
  189. package/dist/chunks/{mime-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
  190. package/dist/chunks/{mime-pknna89w.js → worktree-pknna89w.js} +1 -1
  191. package/dist/chunks/{mime-n24hx9b9.js → worktree-pq1r7b9t.js} +10 -10
  192. package/dist/chunks/{mime-nkmznbth.js → worktree-ptx3q924.js} +10 -10
  193. package/dist/chunks/worktree-qjepztct.js +26 -0
  194. package/dist/chunks/{mime-qnc92qwc.js → worktree-qnc92qwc.js} +1 -1
  195. package/dist/chunks/{mime-xfkkasph.js → worktree-qqeeq2t9.js} +7 -7
  196. package/dist/chunks/{mime-2rnpn95x.js → worktree-qryth85y.js} +5 -5
  197. package/dist/chunks/{mime-hdq1afwm.js → worktree-qsadzg18.js} +45 -45
  198. package/dist/chunks/{mime-qsdy395h.js → worktree-qsdy395h.js} +1 -1
  199. package/dist/chunks/{mime-kmajrsye.js → worktree-qx9v9416.js} +2 -2
  200. package/dist/chunks/{mime-mfgyg3rw.js → worktree-qxnzw82z.js} +50 -50
  201. package/dist/chunks/{mime-41qawrfa.js → worktree-qyqa3c06.js} +7 -7
  202. package/dist/chunks/{mime-r2z489rp.js → worktree-r2z489rp.js} +1 -1
  203. package/dist/chunks/{mime-1jdt266a.js → worktree-r70na3yp.js} +9 -9
  204. package/dist/chunks/{mime-qm0v3jhh.js → worktree-ratrq7cm.js} +7 -7
  205. package/dist/chunks/{mime-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
  206. package/dist/chunks/{mime-rert0e01.js → worktree-rert0e01.js} +2 -2
  207. package/dist/chunks/{mime-9hshahkt.js → worktree-rgpeez64.js} +18 -18
  208. package/dist/chunks/{mime-eaj1djv9.js → worktree-rhjbct0v.js} +8 -8
  209. package/dist/chunks/{mime-rj3eygr5.js → worktree-rj3eygr5.js} +2 -2
  210. package/dist/chunks/{mime-t1qqdzsn.js → worktree-rm813vtq.js} +8 -8
  211. package/dist/chunks/{mime-qwd8z7en.js → worktree-rsdk20j4.js} +47 -47
  212. package/dist/chunks/{mime-rwmkx81w.js → worktree-rw3by220.js} +11 -11
  213. package/dist/chunks/{mime-ypj40ynd.js → worktree-s2enf5ej.js} +17 -17
  214. package/dist/chunks/{mime-sa8ekw3f.js → worktree-sa8ekw3f.js} +2 -2
  215. package/dist/chunks/{mime-z4x74e20.js → worktree-sdqwrm6h.js} +16 -16
  216. package/dist/chunks/{mime-htfaj60w.js → worktree-sh5ssvt8.js} +7 -7
  217. package/dist/chunks/{mime-my1befea.js → worktree-smyxharx.js} +26 -26
  218. package/dist/chunks/{mime-cwc6qd5v.js → worktree-sq3q4x2m.js} +4 -4
  219. package/dist/chunks/{mime-hhvx8q4y.js → worktree-sqj96g7w.js} +13 -13
  220. package/dist/chunks/{mime-syv4x271.js → worktree-syv4x271.js} +1 -1
  221. package/dist/chunks/{mime-ev50a1gv.js → worktree-t01nhfnz.js} +24 -24
  222. package/dist/chunks/{mime-s6s64s2j.js → worktree-t215hqkg.js} +6 -6
  223. package/dist/chunks/{mime-70jpvrmq.js → worktree-t6hfbk19.js} +18 -18
  224. package/dist/chunks/{mime-k2wgnsn0.js → worktree-tafr0n6k.js} +21 -21
  225. package/dist/chunks/{mime-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
  226. package/dist/chunks/{mime-tdstcens.js → worktree-tdstcens.js} +1 -1
  227. package/dist/chunks/{mime-tm0kqsz3.js → worktree-tm0kqsz3.js} +1 -1
  228. package/dist/chunks/{mime-f4x800jg.js → worktree-tpnh9f3m.js} +7 -7
  229. package/dist/chunks/{mime-j52fadta.js → worktree-ttng27y8.js} +1 -1
  230. package/dist/chunks/{mime-tyytaxap.js → worktree-tyytaxap.js} +1 -1
  231. package/dist/chunks/{mime-p42maxsr.js → worktree-v08nt5ja.js} +22 -22
  232. package/dist/chunks/{mime-6c4cp2wz.js → worktree-v0es1rhs.js} +9 -9
  233. package/dist/chunks/worktree-v1faaxn9.js +18 -0
  234. package/dist/chunks/{mime-v7p4zvkq.js → worktree-v7p4zvkq.js} +2 -2
  235. package/dist/chunks/{mime-veqvce7d.js → worktree-veqvce7d.js} +1 -1
  236. package/dist/chunks/{mime-h62rqyvr.js → worktree-vfmvmnac.js} +34 -34
  237. package/dist/chunks/{mime-sszm17mh.js → worktree-vm0yw9fx.js} +18 -18
  238. package/dist/chunks/{mime-tfgrxbbg.js → worktree-vnshx00a.js} +5 -5
  239. package/dist/chunks/{mime-m01n3hyd.js → worktree-vp59edv1.js} +15 -15
  240. package/dist/chunks/{mime-qw8rpmjb.js → worktree-vwsjj8ea.js} +36 -36
  241. package/dist/chunks/{mime-vp964jq4.js → worktree-vyxp6c24.js} +45 -45
  242. package/dist/chunks/{mime-rrz55b2p.js → worktree-vz11k4k8.js} +87 -87
  243. package/dist/chunks/{mime-vzs5sf6e.js → worktree-vzs5sf6e.js} +1 -1
  244. package/dist/chunks/{mime-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
  245. package/dist/chunks/{mime-7qrghndb.js → worktree-w8zenwda.js} +25 -25
  246. package/dist/chunks/{mime-wd87259q.js → worktree-wd87259q.js} +1 -1
  247. package/dist/chunks/{mime-nym9wyb3.js → worktree-wkcmpner.js} +6 -6
  248. package/dist/chunks/{mime-0nsxtbsr.js → worktree-wmdkv8mg.js} +3 -3
  249. package/dist/chunks/{mime-rykdsr0g.js → worktree-ws86dct2.js} +59 -59
  250. package/dist/chunks/{mime-7ej9kcre.js → worktree-wypjq10p.js} +22 -22
  251. package/dist/chunks/{mime-2frssyxc.js → worktree-x2cz5peg.js} +23 -23
  252. package/dist/chunks/{mime-sgspe6rh.js → worktree-x2dmkytt.js} +24 -24
  253. package/dist/chunks/{mime-2r1j4600.js → worktree-x5wrmng7.js} +11 -11
  254. package/dist/chunks/{mime-azwe5p1w.js → worktree-x661k3y3.js} +4 -4
  255. package/dist/chunks/{mime-11bjrp3g.js → worktree-xh7gbsvn.js} +3 -3
  256. package/dist/chunks/{mime-v7kctqng.js → worktree-xjje6j52.js} +33 -33
  257. package/dist/chunks/{mime-rm7werhc.js → worktree-xjsyyfzz.js} +24 -24
  258. package/dist/chunks/{mime-w81spx5m.js → worktree-xr554603.js} +4 -4
  259. package/dist/chunks/{mime-skk0c0bv.js → worktree-xrz5dacv.js} +10 -10
  260. package/dist/chunks/{mime-sps5w11b.js → worktree-y0qqvbvy.js} +34 -34
  261. package/dist/chunks/{mime-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
  262. package/dist/chunks/{mime-fmycb6r9.js → worktree-y1z7wqjc.js} +18 -18
  263. package/dist/chunks/{mime-46c3m50y.js → worktree-y4jcqa2s.js} +17 -17
  264. package/dist/chunks/{mime-gd540jsm.js → worktree-y692y4sj.js} +11 -11
  265. package/dist/chunks/{mime-dpkg50ah.js → worktree-y71avatq.js} +4 -4
  266. package/dist/chunks/{mime-esxexcce.js → worktree-y7v3dsdp.js} +34 -34
  267. package/dist/chunks/{mime-3zgffv18.js → worktree-y7vpfhcb.js} +188 -188
  268. package/dist/chunks/{mime-hrtv8xrh.js → worktree-ybv9y61q.js} +43 -43
  269. package/dist/chunks/{mime-9cexasrx.js → worktree-yc95rny5.js} +46 -46
  270. package/dist/chunks/{mime-yp2x3t23.js → worktree-yp2x3t23.js} +1 -1
  271. package/dist/chunks/{mime-pnzf6mjf.js → worktree-yqc6bamn.js} +1 -1
  272. package/dist/chunks/{mime-f169yh43.js → worktree-yr3ekt3k.js} +17 -17
  273. package/dist/chunks/{mime-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
  274. package/dist/chunks/{mime-3t0rsrrn.js → worktree-z341r0zt.js} +17 -17
  275. package/dist/chunks/{mime-21tzjh1m.js → worktree-z3v3p3gc.js} +24 -24
  276. package/dist/chunks/{mime-jkbjgekk.js → worktree-zb83g9fx.js} +11 -11
  277. package/dist/chunks/{mime-vynfj1qm.js → worktree-zev2zscf.js} +8 -8
  278. package/dist/chunks/{mime-v0xmac3n.js → worktree-zfme70y8.js} +2 -2
  279. package/dist/chunks/{mime-58hng72m.js → worktree-zjtrsxny.js} +5 -5
  280. package/dist/chunks/{mime-ygdna4kr.js → worktree-zmr78fwr.js} +5 -5
  281. package/dist/chunks/{mime-gd07dkrx.js → worktree-znkwv8d1.js} +9 -9
  282. package/dist/chunks/{mime-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{mime-p7v2masw.js → worktree-zr47jkhm.js} +4 -4
  284. package/dist/chunks/{mime-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
  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 +87 -87
  290. package/dist/config/discovery.js +86 -86
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +101 -101
  293. package/dist/config/plugin/agent.js +118 -118
  294. package/dist/config/plugin/command.js +207 -207
  295. package/dist/config/plugin/compaction.js +156 -156
  296. package/dist/config/plugin/compatibility.js +136 -136
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +119 -119
  299. package/dist/config/plugin/image.js +118 -118
  300. package/dist/config/plugin/instruction.js +118 -118
  301. package/dist/config/plugin/location-watcher.js +120 -120
  302. package/dist/config/plugin/mcp.js +125 -125
  303. package/dist/config/plugin/policy.js +119 -119
  304. package/dist/config/plugin/provider.js +118 -118
  305. package/dist/config/plugin/reference.js +120 -120
  306. package/dist/config/plugin/shell.js +118 -118
  307. package/dist/config/plugin/skill-file.js +104 -104
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +118 -118
  310. package/dist/config/plugin/source.js +121 -121
  311. package/dist/config/plugin/tool-output.js +119 -119
  312. package/dist/config/plugin/websearch.js +117 -117
  313. package/dist/config/plugin/worktree.js +120 -120
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +119 -119
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +87 -87
  319. package/dist/database/database.js +68 -68
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  385. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  386. package/dist/database/migration.gen.js +51 -51
  387. package/dist/database/migration.js +53 -53
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +78 -78
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +368 -368
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +3 -3
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +95 -95
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +97 -97
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +3 -3
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +72 -72
  411. package/dist/file-access.js +106 -106
  412. package/dist/file-mutation.js +96 -96
  413. package/dist/file-retention.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +222 -222
  420. package/dist/filesystem/protected.js +3 -3
  421. package/dist/filesystem/search.js +105 -105
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +13 -13
  424. package/dist/filesystem.js +108 -108
  425. package/dist/form.js +84 -84
  426. package/dist/formatter/builtins.js +2 -2
  427. package/dist/formatter.js +85 -85
  428. package/dist/generate.js +105 -105
  429. package/dist/git.js +10 -10
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +101 -101
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +359 -359
  453. package/dist/instruction-discovery.js +86 -86
  454. package/dist/instructions/builtins.js +89 -89
  455. package/dist/instructions/index.js +5 -5
  456. package/dist/integration/connection.js +3 -3
  457. package/dist/integration.js +89 -89
  458. package/dist/job.js +80 -80
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +75 -75
  461. package/dist/location-activity.js +133 -133
  462. package/dist/location-lifecycle.js +105 -105
  463. package/dist/location-service-map.js +88 -88
  464. package/dist/location-services.js +356 -356
  465. package/dist/location.js +89 -89
  466. package/dist/managed-policy.js +8 -8
  467. package/dist/mcp/client.js +93 -93
  468. package/dist/mcp/index.js +111 -111
  469. package/dist/mcp/instructions.js +131 -131
  470. package/dist/mcp/oauth.js +80 -80
  471. package/dist/mcp/stdio.js +92 -92
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +101 -101
  474. package/dist/model-resolver.js +100 -100
  475. package/dist/model.js +104 -104
  476. package/dist/models-dev.js +99 -99
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +84 -84
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +115 -115
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +90 -90
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +77 -77
  486. package/dist/plugin/agent.js +76 -76
  487. package/dist/plugin/command.js +102 -102
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/identity.js +3 -3
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +331 -331
  493. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  494. package/dist/plugin/models-dev.js +98 -98
  495. package/dist/plugin/module.js +119 -119
  496. package/dist/plugin/optimize.js +4 -4
  497. package/dist/plugin/plan.js +104 -104
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +1 -1
  502. package/dist/plugin/provider/chatgpt.js +118 -118
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/databricks.js +1 -1
  508. package/dist/plugin/provider/digitalocean.js +95 -95
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/github-copilot.js +97 -97
  512. package/dist/plugin/provider/gitlab.js +95 -95
  513. package/dist/plugin/provider/google-vertex.js +115 -115
  514. package/dist/plugin/provider/kilo.js +1 -1
  515. package/dist/plugin/provider/llmgateway.js +80 -80
  516. package/dist/plugin/provider/lmstudio.js +127 -127
  517. package/dist/plugin/provider/local.js +124 -124
  518. package/dist/plugin/provider/modal.js +94 -94
  519. package/dist/plugin/provider/neon.js +1 -1
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +127 -127
  522. package/dist/plugin/provider/openai.js +120 -120
  523. package/dist/plugin/provider/opencode.js +99 -99
  524. package/dist/plugin/provider/openrouter.js +93 -93
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +81 -81
  527. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  528. package/dist/plugin/provider/sap-ai-core.js +93 -93
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  531. package/dist/plugin/provider/vercel.js +92 -92
  532. package/dist/plugin/provider/vllm.js +127 -127
  533. package/dist/plugin/provider/xai.js +93 -93
  534. package/dist/plugin/provider/zenmux.js +1 -1
  535. package/dist/plugin/provider.js +169 -169
  536. package/dist/plugin/sdk.js +72 -72
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +136 -136
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +346 -346
  541. package/dist/plugin/tool-input-repair.js +4 -4
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/vcs/git.js +88 -88
  544. package/dist/plugin/vcs/hg.js +88 -88
  545. package/dist/plugin/verbosity.js +95 -95
  546. package/dist/plugin/warming.js +116 -116
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +4 -4
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin/websearch/tinyfish.js +8 -8
  554. package/dist/plugin.js +220 -220
  555. package/dist/project/schema.js +8 -8
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +92 -92
  558. package/dist/provider.js +101 -101
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +93 -93
  562. package/dist/reference/instructions.js +89 -89
  563. package/dist/reference.js +93 -93
  564. package/dist/repository-cache.js +83 -83
  565. package/dist/repository.js +3 -3
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +99 -99
  568. package/dist/rpc.js +88 -88
  569. package/dist/schema.js +1 -1
  570. package/dist/session/affinity.js +1 -1
  571. package/dist/session/command.js +76 -76
  572. package/dist/session/compaction.js +135 -135
  573. package/dist/session/context.js +155 -155
  574. package/dist/session/diff.js +90 -90
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +5 -5
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +216 -216
  579. package/dist/session/execution.js +127 -127
  580. package/dist/session/generate.js +156 -156
  581. package/dist/session/history.js +15 -15
  582. package/dist/session/inbox.js +90 -90
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +81 -81
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +99 -99
  587. package/dist/session/message-updater.js +4 -4
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +122 -122
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +131 -131
  592. package/dist/session/projector.js +88 -88
  593. package/dist/session/prompt.js +107 -107
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +92 -92
  596. package/dist/session/run-coordinator.js +1 -1
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +224 -224
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +100 -100
  601. package/dist/session/runner/publish-llm-event.js +115 -115
  602. package/dist/session/runner/retry.js +2 -2
  603. package/dist/session/runner/step.js +125 -125
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +3 -3
  606. package/dist/session/session.js +166 -166
  607. package/dist/session/shell.js +132 -132
  608. package/dist/session/skill.js +105 -105
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +75 -75
  611. package/dist/session/store.js +89 -89
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +207 -207
  614. package/dist/session/system-prompt.js +5 -5
  615. package/dist/session/title.js +157 -157
  616. package/dist/session/to-session-error.js +113 -113
  617. package/dist/session/transfer.js +210 -210
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +211 -211
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +11 -11
  624. package/dist/shell.js +134 -134
  625. package/dist/skill/discovery.js +6 -6
  626. package/dist/skill/instructions.js +109 -109
  627. package/dist/skill.js +116 -116
  628. package/dist/snapshot.js +89 -89
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +128 -128
  633. package/dist/tool/plugin/edit.js +116 -116
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +122 -122
  636. package/dist/tool/plugin/grep.js +124 -124
  637. package/dist/tool/plugin/mcp-resource.js +119 -119
  638. package/dist/tool/plugin/opencode.js +111 -111
  639. package/dist/tool/plugin/patch.js +124 -124
  640. package/dist/tool/plugin/question.js +103 -103
  641. package/dist/tool/plugin/read.js +127 -127
  642. package/dist/tool/plugin/shell.js +210 -210
  643. package/dist/tool/plugin/skill.js +113 -113
  644. package/dist/tool/plugin/subagent.js +214 -214
  645. package/dist/tool/plugin/webfetch.js +114 -114
  646. package/dist/tool/plugin/websearch.js +108 -108
  647. package/dist/tool/plugin/write.js +124 -124
  648. package/dist/tool/read-filesystem.js +102 -102
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +7 -7
  651. package/dist/tool.js +16 -16
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/git-executable.js +2 -2
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +7 -7
  662. package/dist/v1/config/command.js +5 -5
  663. package/dist/v1/config/error.js +4 -4
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +94 -94
  666. package/dist/v1/config/permission.js +7 -7
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/variant.js +93 -93
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +91 -91
  673. package/dist/websearch.js +82 -82
  674. package/dist/wellknown/plugin.js +78 -78
  675. package/dist/wellknown.js +81 -81
  676. package/dist/workspace/driver.js +5 -5
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +84 -84
  679. package/dist/worktree/directory.js +2 -2
  680. package/dist/worktree/git.js +10 -10
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree/strategies.js +91 -91
  683. package/dist/worktree.js +98 -98
  684. package/package.json +8 -8
  685. package/dist/chunks/mime-12710b3q.js +0 -26
  686. package/dist/chunks/mime-67npv2yq.js +0 -253
  687. package/dist/chunks/mime-jqh9b0xq.js +0 -18
  688. package/dist/chunks/mime-pw8wyqgn.js +0 -513
  689. /package/dist/chunks/{mime-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{mime-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{mime-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{mime-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{mime-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{mime-24dcb14g.js → worktree-24dcb14g.js} +0 -0
  695. /package/dist/chunks/{mime-2710q6r3.js → worktree-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{mime-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{mime-2bv980vf.js → worktree-2bv980vf.js} +0 -0
  698. /package/dist/chunks/{mime-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{mime-359p4xyc.js → worktree-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{mime-3asan66x.js → worktree-3asan66x.js} +0 -0
  701. /package/dist/chunks/{mime-3t0ybcrp.js → worktree-3t0ybcrp.js} +0 -0
  702. /package/dist/chunks/{mime-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{mime-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{mime-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{mime-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{mime-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{mime-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{mime-53557ph1.js → worktree-53557ph1.js} +0 -0
  709. /package/dist/chunks/{mime-550bvhaj.js → worktree-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{mime-6prwharc.js → worktree-6prwharc.js} +0 -0
  711. /package/dist/chunks/{mime-6q2bdcd1.js → worktree-6q2bdcd1.js} +0 -0
  712. /package/dist/chunks/{mime-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{mime-7m9af43g.js → worktree-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{mime-822emrt2.js → worktree-822emrt2.js} +0 -0
  715. /package/dist/chunks/{mime-84wd9syh.js → worktree-84wd9syh.js} +0 -0
  716. /package/dist/chunks/{mime-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{mime-8n3pysct.js → worktree-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{mime-8wj87zfr.js → worktree-8wj87zfr.js} +0 -0
  719. /package/dist/chunks/{mime-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{mime-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{mime-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{mime-af5trqkr.js → worktree-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{mime-afrmfg78.js → worktree-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{mime-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{mime-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{mime-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{mime-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{mime-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{mime-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{mime-d9fn303g.js → worktree-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{mime-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{mime-dajrwvna.js → worktree-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{mime-dap0rakb.js → worktree-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{mime-df08tz66.js → worktree-df08tz66.js} +0 -0
  735. /package/dist/chunks/{mime-dy18nga0.js → worktree-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{mime-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{mime-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{mime-ec1grn59.js → worktree-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{mime-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{mime-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{mime-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{mime-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{mime-faypxj3z.js → worktree-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{mime-fd410y7t.js → worktree-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{mime-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{mime-g86h250q.js → worktree-g86h250q.js} +0 -0
  747. /package/dist/chunks/{mime-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{mime-gftt206x.js → worktree-gftt206x.js} +0 -0
  749. /package/dist/chunks/{mime-hcxmzztb.js → worktree-hcxmzztb.js} +0 -0
  750. /package/dist/chunks/{mime-hk9envan.js → worktree-hk9envan.js} +0 -0
  751. /package/dist/chunks/{mime-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{mime-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{mime-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
  754. /package/dist/chunks/{mime-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{mime-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{mime-jze0r7bz.js → worktree-jze0r7bz.js} +0 -0
  757. /package/dist/chunks/{mime-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{mime-m18g726c.js → worktree-m18g726c.js} +0 -0
  759. /package/dist/chunks/{mime-mp448xyj.js → worktree-mp448xyj.js} +0 -0
  760. /package/dist/chunks/{mime-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
  761. /package/dist/chunks/{mime-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
  762. /package/dist/chunks/{mime-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
  763. /package/dist/chunks/{mime-njntx4h6.js → worktree-njntx4h6.js} +0 -0
  764. /package/dist/chunks/{mime-pkyv6v7h.js → worktree-pkyv6v7h.js} +0 -0
  765. /package/dist/chunks/{mime-pyv0edze.js → worktree-pyv0edze.js} +0 -0
  766. /package/dist/chunks/{mime-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{mime-q74kybfr.js → worktree-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{mime-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{mime-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{mime-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{mime-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
  772. /package/dist/chunks/{mime-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{mime-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{mime-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{mime-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{mime-ve7vex1e.js → worktree-ve7vex1e.js} +0 -0
  777. /package/dist/chunks/{mime-w803qqfp.js → worktree-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{mime-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
  779. /package/dist/chunks/{mime-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{mime-wjj7prxr.js → worktree-wjj7prxr.js} +0 -0
  781. /package/dist/chunks/{mime-wtztk69x.js → worktree-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{mime-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{mime-x61499pn.js → worktree-x61499pn.js} +0 -0
  784. /package/dist/chunks/{mime-y44na4kk.js → worktree-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{mime-y8f7s663.js → worktree-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{mime-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{mime-ym463w8f.js → worktree-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{mime-z5v4ffb3.js → worktree-z5v4ffb3.js} +0 -0
  789. /package/dist/chunks/{mime-z9919s4g.js → worktree-z9919s4g.js} +0 -0
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID12,
3
- Service70,
4
- node73
5
- } from "./mime-w9n24aqy.js";
2
+ ID13,
3
+ Service73,
4
+ node76
5
+ } from "./worktree-j8kg77fh.js";
6
6
  import {
7
- ID11,
7
+ ID12,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
@@ -15,24 +15,24 @@ import {
15
15
  encoding2,
16
16
  mergeOverlay2,
17
17
  mergeHeaders2,
18
- Service69,
19
- node72
20
- } from "./mime-jn7vh711.js";
18
+ Service72,
19
+ node75
20
+ } from "./worktree-fzgjsfgc.js";
21
21
  import {
22
- Service64,
23
- node67
24
- } from "./mime-gd540jsm.js";
22
+ Service70,
23
+ node73
24
+ } from "./worktree-y692y4sj.js";
25
25
  import {
26
- ID5,
26
+ ID11,
27
27
  VariantID2,
28
28
  Ref2,
29
- Service59,
30
- node62,
29
+ Service71,
30
+ node74,
31
31
  supportsText2
32
- } from "./mime-mzvkzawb.js";
32
+ } from "./worktree-m365tgky.js";
33
33
  import {
34
34
  __export
35
- } from "./mime-9rqn6x4v.js";
35
+ } from "./worktree-9rqn6x4v.js";
36
36
 
37
37
  // src/model-resolver.ts
38
38
  var exports_model_resolver = {};
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
41
41
  ModelConfigurationError: () => ModelConfigurationError2,
42
42
  ModelInitializationError: () => ModelInitializationError2,
43
43
  ModelResolver: () => exports_model_resolver,
44
- Service: () => Service54,
44
+ Service: () => Service69,
45
45
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
46
46
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
47
47
  UnsupportedPackageError: () => UnsupportedPackageError2,
48
48
  VariantUnavailableError: () => VariantUnavailableError2,
49
49
  fromCatalogModel: () => fromCatalogModel2,
50
50
  hasPackage: () => hasPackage2,
51
- layer: () => layer22,
52
- node: () => node57,
51
+ layer: () => layer25,
52
+ node: () => node72,
53
53
  resolveModel: () => resolveModel2,
54
54
  withVariant: () => withVariant2
55
55
  });
@@ -59,8 +59,8 @@ import { Auth } from "@opencode/ai/route";
59
59
  import { Context, Effect, Layer, Schema, Struct } from "effect";
60
60
  import { Npm } from "@opencode/util/npm";
61
61
  class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
62
- providerID: ID11,
63
- modelID: ID5,
62
+ providerID: ID12,
63
+ modelID: ID11,
64
64
  variant: VariantID2
65
65
  }) {
66
66
  get message() {
@@ -69,8 +69,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
69
69
  }
70
70
 
71
71
  class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
72
- providerID: ID11,
73
- modelID: ID5,
72
+ providerID: ID12,
73
+ modelID: ID11,
74
74
  package: Schema.String
75
75
  }) {
76
76
  get message() {
@@ -80,8 +80,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
80
80
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
81
81
 
82
82
  class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
83
- providerID: ID11,
84
- modelID: ID5,
83
+ providerID: ID12,
84
+ modelID: ID11,
85
85
  package: Schema.String,
86
86
  detail: Schema.String
87
87
  }) {
@@ -91,8 +91,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
91
91
  }
92
92
 
93
93
  class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
94
- providerID: ID11,
95
- modelID: ID5,
94
+ providerID: ID12,
95
+ modelID: ID11,
96
96
  package: Schema.String,
97
97
  phase: InitializationPhase2,
98
98
  detail: Schema.String
@@ -103,8 +103,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
103
103
  }
104
104
 
105
105
  class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
106
- providerID: ID11,
107
- modelID: ID5,
106
+ providerID: ID12,
107
+ modelID: ID11,
108
108
  variables: Schema.Array(Schema.String)
109
109
  }) {
110
110
  get message() {
@@ -113,8 +113,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
113
113
  }
114
114
 
115
115
  class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
116
- providerID: ID11,
117
- modelID: ID5,
116
+ providerID: ID12,
117
+ modelID: ID11,
118
118
  route: Schema.String
119
119
  }) {
120
120
  get message() {
@@ -122,7 +122,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
122
122
  }
123
123
  }
124
124
 
125
- class Service54 extends Context.Service()("@opencode/ModelResolver") {
125
+ class Service69 extends Context.Service()("@opencode/ModelResolver") {
126
126
  }
127
127
  var withVariant2 = (model, variantID) => {
128
128
  const id = variantID === "default" ? undefined : variantID;
@@ -236,7 +236,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
236
236
  return tokenSettings(specifier, credential.access);
237
237
  if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
238
238
  return { auth: "sigv4" };
239
- if (model.providerID === ID11.azure)
239
+ if (model.providerID === ID12.azure)
240
240
  return tokenSettings(specifier, "azure-cli");
241
241
  return {};
242
242
  };
@@ -271,15 +271,15 @@ var causeMessage = (cause) => {
271
271
  };
272
272
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
273
273
  var hasPackage2 = (model) => Boolean(model.package);
274
- var layer22 = Layer.effect(Service54, Effect.gen(function* () {
275
- const providers = yield* Service69;
276
- const models = yield* Service59;
277
- const integrations = yield* Service70;
274
+ var layer25 = Layer.effect(Service69, Effect.gen(function* () {
275
+ const providers = yield* Service72;
276
+ const models = yield* Service71;
277
+ const integrations = yield* Service73;
278
278
  const npm = yield* Npm.Service;
279
- const aisdk = yield* Service64;
279
+ const aisdk = yield* Service70;
280
280
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
281
281
  const provider = yield* providers.get(selected.providerID);
282
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID12.make(selected.providerID));
282
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID13.make(selected.providerID));
283
283
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
284
284
  const selectedVariant = yield* withVariant2(selected, variant);
285
285
  const runtimeInfo = {
@@ -306,7 +306,7 @@ var layer22 = Layer.effect(Service54, Effect.gen(function* () {
306
306
  chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
307
307
  };
308
308
  });
309
- return Service54.of({
309
+ return Service69.of({
310
310
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
311
311
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
312
312
  if (!selected)
@@ -323,10 +323,10 @@ function usesAPIKeyAuth(packageName) {
323
323
  const name = packageName2(packageName);
324
324
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
325
325
  }
326
- var node57 = makeLocationNode({
327
- service: Service54,
328
- layer: layer22,
329
- deps: [node72, node62, node73, Npm.node, node67]
326
+ var node72 = makeLocationNode({
327
+ service: Service69,
328
+ layer: layer25,
329
+ deps: [node75, node74, node76, Npm.node, node73]
330
330
  });
331
331
 
332
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service54, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer22, node57, exports_model_resolver };
332
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service69, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer25, node72, exports_model_resolver };
@@ -1,54 +1,54 @@
1
1
  import {
2
2
  ID9,
3
- Info17,
3
+ Info14,
4
4
  SessionSchema2
5
- } from "./mime-m5jcjszt.js";
5
+ } from "./worktree-08rawchj.js";
6
6
  import {
7
7
  RelativePath2
8
- } from "./mime-z5v4ffb3.js";
8
+ } from "./worktree-z5v4ffb3.js";
9
9
  import {
10
10
  Service85,
11
11
  node89
12
- } from "./mime-0nsxtbsr.js";
12
+ } from "./worktree-wmdkv8mg.js";
13
13
  import {
14
14
  isSynced2,
15
15
  Service84,
16
16
  node88
17
- } from "./mime-sg7jdfe4.js";
17
+ } from "./worktree-0vrkd98v.js";
18
18
  import {
19
- Service78,
20
- node82
21
- } from "./mime-9cexasrx.js";
19
+ Service82,
20
+ node86
21
+ } from "./worktree-yc95rny5.js";
22
22
  import {
23
- Service51,
24
- node53
25
- } from "./mime-hdab2k61.js";
23
+ Service48,
24
+ node51
25
+ } from "./worktree-jkp0d30b.js";
26
26
  import {
27
27
  SessionEvent2
28
- } from "./mime-ec1grn59.js";
28
+ } from "./worktree-ec1grn59.js";
29
29
  import {
30
30
  SessionMessageTable2
31
- } from "./mime-c1fqxshp.js";
31
+ } from "./worktree-c1fqxshp.js";
32
32
  import {
33
- node52
34
- } from "./mime-dd2pvs9r.js";
33
+ node50
34
+ } from "./worktree-aeef67my.js";
35
35
  import {
36
36
  current2
37
- } from "./mime-sg61y373.js";
37
+ } from "./worktree-kqx1b4hy.js";
38
38
  import {
39
39
  snapshot2
40
- } from "./mime-f169yh43.js";
40
+ } from "./worktree-yr3ekt3k.js";
41
41
  import {
42
42
  Slug2
43
- } from "./mime-gebd4c9n.js";
43
+ } from "./worktree-gebd4c9n.js";
44
44
  import {
45
45
  SessionAlreadyProjected2,
46
- node36
47
- } from "./mime-dt81vr0m.js";
46
+ node27
47
+ } from "./worktree-pcb6a8b5.js";
48
48
  import {
49
49
  Metadata2,
50
- node56
51
- } from "./mime-8m6gnkp5.js";
50
+ node46
51
+ } from "./worktree-0296bd6c.js";
52
52
  import {
53
53
  NotFoundError8,
54
54
  MessageNotFoundError2,
@@ -61,58 +61,58 @@ import {
61
61
  BusyError2,
62
62
  InboxConflictError2,
63
63
  SkillNotFoundError2
64
- } from "./mime-z2jd07rd.js";
64
+ } from "./worktree-k185drda.js";
65
65
  import {
66
- ListInput5,
67
- Service63,
68
- node66
69
- } from "./mime-y2vzq5h6.js";
66
+ ListInput4,
67
+ Service60,
68
+ node63
69
+ } from "./worktree-431wf54f.js";
70
70
  import {
71
- Service55,
72
- node58
73
- } from "./mime-fxsx3k7c.js";
71
+ Service53,
72
+ node56
73
+ } from "./worktree-5pm97va6.js";
74
74
  import {
75
- Service48,
76
- node51
77
- } from "./mime-sps5w11b.js";
75
+ Service45,
76
+ node49
77
+ } from "./worktree-y0qqvbvy.js";
78
78
  import {
79
79
  llmClient2
80
- } from "./mime-775gj3j1.js";
80
+ } from "./worktree-775gj3j1.js";
81
81
  import {
82
- Service42,
83
- node45
84
- } from "./mime-0y2vcsp3.js";
82
+ Service34,
83
+ node37
84
+ } from "./worktree-9sgsjpgv.js";
85
85
  import {
86
86
  generate2
87
- } from "./mime-0p8e2j75.js";
87
+ } from "./worktree-3z45eq7z.js";
88
88
  import {
89
89
  execute2
90
- } from "./mime-vynfj1qm.js";
90
+ } from "./worktree-zev2zscf.js";
91
91
  import {
92
- Service53,
93
- node55
94
- } from "./mime-wswphd9c.js";
92
+ Service56,
93
+ node59
94
+ } from "./worktree-716nhc93.js";
95
95
  import {
96
96
  DestinationNotFoundError2,
97
97
  DestinationNotDirectoryError2,
98
98
  DestinationUnavailableError2,
99
- Service32,
100
- node35
101
- } from "./mime-3m85peyz.js";
99
+ Service23,
100
+ node26
101
+ } from "./worktree-8zg9y4xf.js";
102
102
  import {
103
- Service44,
104
- node47
105
- } from "./mime-w3x9v1nk.js";
103
+ Service40,
104
+ node43
105
+ } from "./worktree-eeaf82dq.js";
106
106
  import {
107
- make13
108
- } from "./mime-9rwfab3m.js";
107
+ make12
108
+ } from "./worktree-mpngx6ag.js";
109
109
  import {
110
110
  TurnRangeError2,
111
111
  turn2
112
- } from "./mime-7rkx4gms.js";
112
+ } from "./worktree-ksgsanrq.js";
113
113
  import {
114
114
  __export
115
- } from "./mime-9rqn6x4v.js";
115
+ } from "./worktree-9rqn6x4v.js";
116
116
 
117
117
  // src/session.ts
118
118
  var exports_session = {};
@@ -125,20 +125,20 @@ __export(exports_session, {
125
125
  DestinationUnavailableError: () => DestinationUnavailableError2,
126
126
  ID: () => ID9,
127
127
  InboxConflictError: () => InboxConflictError2,
128
- Info: () => Info17,
128
+ Info: () => Info14,
129
129
  ListAnchor: () => ListAnchor2,
130
- ListInput: () => ListInput3,
130
+ ListInput: () => ListInput2,
131
131
  MessageDecodeError: () => MessageDecodeError2,
132
132
  MessageNotFoundError: () => MessageNotFoundError2,
133
133
  NotFoundError: () => NotFoundError8,
134
134
  PromptConflictError: () => PromptConflictError2,
135
- Service: () => Service31,
135
+ Service: () => Service22,
136
136
  Session: () => exports_session,
137
137
  SessionSchema: () => SessionSchema2,
138
138
  SkillNotFoundError: () => SkillNotFoundError2,
139
139
  SyntheticConflictError: () => SyntheticConflictError2,
140
140
  TurnRangeError: () => TurnRangeError2,
141
- node: () => node34
141
+ node: () => node25
142
142
  });
143
143
  import { Effect, Layer, Schema, Context, Stream } from "effect";
144
144
  import { LLMClient } from "@opencode/ai";
@@ -148,27 +148,27 @@ import { Model } from "@opencode/schema/model";
148
148
  import path from "path";
149
149
  import { Node } from "@opencode/util/effect/app-node";
150
150
  import { FSUtil } from "@opencode/util/fs-util";
151
- var ListInput3 = ListInput5;
152
- class Service31 extends Context.Service()("@opencode/Session") {
151
+ var ListInput2 = ListInput4;
152
+ class Service22 extends Context.Service()("@opencode/Session") {
153
153
  }
154
- var layer = Layer.effect(Service31, Effect.gen(function* () {
154
+ var layer = Layer.effect(Service22, Effect.gen(function* () {
155
155
  const app = yield* Metadata2;
156
156
  const database = yield* Service85;
157
157
  const db = database.db;
158
158
  const bus = yield* Service84;
159
- const projects = yield* Service78;
160
- const execution = yield* Service48;
159
+ const projects = yield* Service82;
160
+ const execution = yield* Service45;
161
161
  const llm = yield* LLMClient.Service;
162
- const transport = yield* Service42;
163
- const store = yield* Service63;
164
- const instances = yield* Service51;
165
- const moves = yield* Service32;
166
- const jobs = yield* Service55;
167
- const environments = yield* Service44;
168
- const locations = yield* Service53;
169
- const sessions = yield* make13();
162
+ const transport = yield* Service34;
163
+ const store = yield* Service60;
164
+ const instances = yield* Service48;
165
+ const moves = yield* Service23;
166
+ const jobs = yield* Service53;
167
+ const environments = yield* Service40;
168
+ const locations = yield* Service56;
169
+ const sessions = yield* make12();
170
170
  const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
171
- const result = Service31.of({
171
+ const result = Service22.of({
172
172
  create: Effect.fn("Session.create")(function* (input) {
173
173
  const sessionID = input.id ?? SessionSchema2.ID.create();
174
174
  const recorded = yield* store.get(sessionID);
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
281
281
  prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
282
282
  generate: Effect.fn("Session.generate")(function* (input) {
283
283
  const session = yield* result.get(input.sessionID);
284
- return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service51, instances), Effect.provideService(Service85, database), Effect.provideService(LLMClient.Service, llm));
284
+ return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service48, instances), Effect.provideService(Service85, database), Effect.provideService(LLMClient.Service, llm));
285
285
  }),
286
286
  command: Effect.fn("Session.command")(function* (input) {
287
287
  const session = yield* result.get(input.sessionID);
288
- return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service51, instances));
288
+ return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service48, instances));
289
289
  }),
290
290
  shell: (input) => sessions.forSession(input.sessionID).shell(input),
291
291
  skill: (input) => sessions.forSession(input.sessionID).skill(input),
@@ -327,27 +327,27 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
327
327
  });
328
328
  return result;
329
329
  }));
330
- var node34 = Node.makeGlobalNode({
331
- service: Service31,
330
+ var node25 = Node.makeGlobalNode({
331
+ service: Service22,
332
332
  layer,
333
333
  deps: [
334
- node58,
335
- node47,
334
+ node56,
335
+ node43,
336
336
  node89,
337
337
  node88,
338
- node82,
339
- node51,
340
- node45,
338
+ node86,
339
+ node49,
340
+ node37,
341
341
  llmClient2,
342
- node66,
343
- node53,
344
- node52,
345
- node35,
346
- node36,
347
- node55,
342
+ node63,
343
+ node51,
344
+ node50,
345
+ node26,
346
+ node27,
347
+ node59,
348
348
  FSUtil.node,
349
- node56
349
+ node46
350
350
  ]
351
351
  });
352
352
 
353
- export { ListAnchor2, ListInput3, Service31, node34, exports_session };
353
+ export { ListAnchor2, ListInput2, Service22, node25, exports_session };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./mime-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/shell/result.ts
6
6
  var exports_result = {};
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./mime-emrn6kk6.js";
4
+ } from "./worktree-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,36 +1,36 @@
1
1
  import {
2
- Service61
3
- } from "./mime-ga8mg7ng.js";
2
+ Service58
3
+ } from "./worktree-c0gtsr28.js";
4
4
  import {
5
- ID6,
5
+ ID5,
6
6
  Name2,
7
7
  toModelOutput3,
8
8
  prepare3,
9
- Service60
10
- } from "./mime-my1befea.js";
9
+ Service36
10
+ } from "./worktree-smyxharx.js";
11
11
  import {
12
12
  __export
13
- } from "./mime-9rqn6x4v.js";
13
+ } from "./worktree-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/skill.ts
16
- var exports_skill2 = {};
17
- __export(exports_skill2, {
18
- Input: () => Input11,
19
- Output: () => Output7,
20
- Plugin: () => Plugin29,
21
- SkillTool: () => exports_skill2,
16
+ var exports_skill = {};
17
+ __export(exports_skill, {
18
+ Input: () => Input6,
19
+ Output: () => Output5,
20
+ Plugin: () => Plugin8,
21
+ SkillTool: () => exports_skill,
22
22
  description: () => description4,
23
- name: () => name11,
23
+ name: () => name6,
24
24
  toModelOutput: () => toModelOutput2
25
25
  });
26
26
  import { ToolFailure } from "@opencode/ai";
27
27
  import { Effect, Schema } from "effect";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
- var name11 = "skill";
30
- var Input11 = Schema.Struct({
31
- id: ID6.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
29
+ var name6 = "skill";
30
+ var Input6 = Schema.Struct({
31
+ id: ID5.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
32
32
  });
33
- var Output7 = Schema.Struct({
33
+ var Output5 = Schema.Struct({
34
34
  name: Name2,
35
35
  directory: Schema.String,
36
36
  output: Schema.String
@@ -43,25 +43,25 @@ var description4 = [
43
43
  `);
44
44
  var toModelOutput2 = toModelOutput3;
45
45
  var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
46
- var Plugin29 = {
46
+ var Plugin8 = {
47
47
  id: "opencode.tool.skill",
48
48
  effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
49
49
  const fs = yield* FSUtil.Service;
50
- const skills = yield* Service60;
51
- const permission = yield* Service61;
50
+ const skills = yield* Service36;
51
+ const permission = yield* Service58;
52
52
  yield* ctx.tool.transform((editor) => editor.add({
53
- name: name11,
53
+ name: name6,
54
54
  options: { codemode: false },
55
55
  description: description4,
56
- input: Input11,
57
- output: Output7,
56
+ input: Input6,
57
+ output: Output5,
58
58
  execute: (input, context) => Effect.gen(function* () {
59
59
  const skill = yield* skills.get(input.id);
60
60
  if (!skill)
61
61
  return yield* unableToLoad(input.id);
62
62
  return yield* Effect.gen(function* () {
63
63
  yield* permission.assert({
64
- action: name11,
64
+ action: name6,
65
65
  resources: [skill.id],
66
66
  save: [skill.id],
67
67
  sessionID: context.sessionID,
@@ -79,4 +79,4 @@ var Plugin29 = {
79
79
  })
80
80
  };
81
81
 
82
- export { name11, Input11, Output7, description4, toModelOutput2, Plugin29, exports_skill2 };
82
+ export { name6, Input6, Output5, description4, toModelOutput2, Plugin8, exports_skill };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getViewSelectedFieldsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./mime-emrn6kk6.js";
4
+ } from "./worktree-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";
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  convertToOpenAICompatibleChatMessages2
3
- } from "./mime-2bv980vf.js";
3
+ } from "./worktree-2bv980vf.js";
4
4
  import {
5
5
  getResponseMetadata2
6
- } from "./mime-g4wezp1m.js";
6
+ } from "./worktree-g4wezp1m.js";
7
7
  import {
8
8
  mapOpenAICompatibleFinishReason2
9
- } from "./mime-x61499pn.js";
9
+ } from "./worktree-x61499pn.js";
10
10
  import {
11
11
  openaiCompatibleProviderOptions2
12
- } from "./mime-af5trqkr.js";
12
+ } from "./worktree-af5trqkr.js";
13
13
  import {
14
14
  defaultOpenAICompatibleErrorStructure2
15
- } from "./mime-afrmfg78.js";
15
+ } from "./worktree-afrmfg78.js";
16
16
  import {
17
17
  prepareTools2
18
- } from "./mime-x0ckcb58.js";
18
+ } from "./worktree-x0ckcb58.js";
19
19
 
20
20
  // src/github-copilot/chat/openai-compatible-chat-language-model.ts
21
21
  import {
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  makeWithDefaults2
3
- } from "./mime-dpxxne8d.js";
3
+ } from "./worktree-g6kap4fx.js";
4
4
  import {
5
5
  apply3
6
- } from "./mime-gaffhmcy.js";
6
+ } from "./worktree-69yp9mph.js";
7
7
  import {
8
8
  __export
9
- } from "./mime-9rqn6x4v.js";
9
+ } from "./worktree-9rqn6x4v.js";
10
10
 
11
11
  // src/database/database.ts
12
12
  var exports_database = {};