@opencode/core 0.0.0-dev-20359 → 0.0.0-dev-20361

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 (800) 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 +69 -69
  7. package/dist/chunks/{workspace-dbdfkxme.js → generate-0ag8d68y.js} +17 -17
  8. package/dist/chunks/{workspace-0zwreqvq.js → generate-0g0872c8.js} +3 -3
  9. package/dist/chunks/{workspace-6w7cfkdj.js → generate-0m1hjkr9.js} +7 -7
  10. package/dist/chunks/{workspace-0paq2nw3.js → generate-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{workspace-2jvjmskk.js → generate-0wrn0h38.js} +29 -29
  12. package/dist/chunks/{workspace-a4amtzg2.js → generate-137qhyq7.js} +43 -43
  13. package/dist/chunks/{workspace-1dazxqgg.js → generate-1dazxqgg.js} +2 -2
  14. package/dist/chunks/{workspace-d5t0ryg1.js → generate-1h0ntq3z.js} +1 -1
  15. package/dist/chunks/{workspace-qkf6gvgz.js → generate-1q6agpkc.js} +11 -11
  16. package/dist/chunks/{workspace-2e222wf4.js → generate-1sq11vt2.js} +18 -18
  17. package/dist/chunks/{workspace-fhbpyr5f.js → generate-1t36cnam.js} +5 -5
  18. package/dist/chunks/{workspace-ywwxwnda.js → generate-1wwdvsgc.js} +13 -13
  19. package/dist/chunks/{workspace-mfqp6xfm.js → generate-1ygqh575.js} +6 -6
  20. package/dist/chunks/{workspace-21r38tys.js → generate-21r38tys.js} +1 -1
  21. package/dist/chunks/{workspace-rk2t49m6.js → generate-269d0mcm.js} +32 -32
  22. package/dist/chunks/{workspace-vasrcznk.js → generate-28586spg.js} +16 -16
  23. package/dist/chunks/{workspace-nak702g0.js → generate-288h1877.js} +20 -20
  24. package/dist/chunks/{workspace-z63w68vq.js → generate-29x78va6.js} +6 -6
  25. package/dist/chunks/{workspace-2a5m3afh.js → generate-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{workspace-3grdzngc.js → generate-2c14t6ee.js} +17 -17
  27. package/dist/chunks/{workspace-1sznmg0n.js → generate-2e9mgspx.js} +5 -5
  28. package/dist/chunks/{workspace-an4batsq.js → generate-2h131gfv.js} +34 -34
  29. package/dist/chunks/{workspace-pp4y3v5z.js → generate-2mgjv0a7.js} +5 -5
  30. package/dist/chunks/{workspace-0smrbp39.js → generate-2q66m20k.js} +48 -48
  31. package/dist/chunks/{workspace-cxc1f4sh.js → generate-2re9wx64.js} +5 -5
  32. package/dist/chunks/{workspace-dp1rnrcc.js → generate-2x1dfb4g.js} +20 -20
  33. package/dist/chunks/{workspace-d762xrq4.js → generate-2xexx0cn.js} +321 -321
  34. package/dist/chunks/{workspace-szh3vrax.js → generate-3ad885dn.js} +9 -9
  35. package/dist/chunks/{workspace-3fc6dm20.js → generate-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{workspace-7732sr32.js → generate-3gapehae.js} +30 -30
  37. package/dist/chunks/{workspace-megef7mv.js → generate-3gsbm4gg.js} +7 -7
  38. package/dist/chunks/{workspace-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{workspace-pmr4s4kc.js → generate-3j8sdtpz.js} +4 -4
  40. package/dist/chunks/{workspace-hf1pa3fg.js → generate-3pncb000.js} +11 -11
  41. package/dist/chunks/{workspace-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{workspace-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{workspace-sctspsp8.js → generate-3ymnsx2y.js} +21 -21
  44. package/dist/chunks/{workspace-tt5smvf2.js → generate-3zpz61n9.js} +9 -9
  45. package/dist/chunks/{workspace-3zsf4n22.js → generate-3zsf4n22.js} +1 -1
  46. package/dist/chunks/{workspace-haztpmzc.js → generate-401kh7j2.js} +6 -6
  47. package/dist/chunks/{workspace-t5m8v8y6.js → generate-46sb35mq.js} +10 -10
  48. package/dist/chunks/{workspace-rsczgrzb.js → generate-4g39nh95.js} +2 -2
  49. package/dist/chunks/{workspace-emfscqt4.js → generate-4x9ewffz.js} +30 -30
  50. package/dist/chunks/{workspace-58qjwad6.js → generate-4xky6n3z.js} +21 -21
  51. package/dist/chunks/{workspace-4tbjs8wm.js → generate-4yq8704b.js} +30 -30
  52. package/dist/chunks/{workspace-0vwkra70.js → generate-52vqgt0f.js} +11 -11
  53. package/dist/chunks/{workspace-54ma36ye.js → generate-54ma36ye.js} +1 -1
  54. package/dist/chunks/{workspace-re831bdp.js → generate-55ed9ppa.js} +33 -33
  55. package/dist/chunks/{workspace-jxma9bgh.js → generate-5633drez.js} +29 -29
  56. package/dist/chunks/{workspace-57ez7d0k.js → generate-57ez7d0k.js} +2 -2
  57. package/dist/chunks/{workspace-5daktx2q.js → generate-5daktx2q.js} +1 -1
  58. package/dist/chunks/{workspace-n01j6b4q.js → generate-5manytmk.js} +24 -24
  59. package/dist/chunks/{workspace-795kcfpc.js → generate-5n14brjt.js} +33 -33
  60. package/dist/chunks/{workspace-t7h3wj9w.js → generate-5rx44j2k.js} +44 -44
  61. package/dist/chunks/{workspace-5t3nmthw.js → generate-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{workspace-8v6pyhej.js → generate-5xtgfte3.js} +8 -8
  63. package/dist/chunks/{workspace-7dntqyrh.js → generate-620zpmpb.js} +8 -8
  64. package/dist/chunks/{workspace-khc6q2z0.js → generate-63m9xggh.js} +15 -15
  65. package/dist/chunks/{workspace-669tq793.js → generate-669tq793.js} +1 -1
  66. package/dist/chunks/{workspace-35agz59w.js → generate-6anwy9fs.js} +4 -4
  67. package/dist/chunks/{workspace-6cqpxvp7.js → generate-6hcagxvr.js} +15 -15
  68. package/dist/chunks/{workspace-qs3fdmq5.js → generate-6hdxzw8t.js} +4 -4
  69. package/dist/chunks/{workspace-0k8f4c0k.js → generate-6kgmmmcp.js} +11 -11
  70. package/dist/chunks/{workspace-6msgmcgs.js → generate-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{workspace-5d0c5ad8.js → generate-6seya0vx.js} +16 -16
  72. package/dist/chunks/{workspace-a8bn8zg0.js → generate-6sr3ve8g.js} +21 -21
  73. package/dist/chunks/{workspace-jj3wfm74.js → generate-6tnzqxfz.js} +18 -7
  74. package/dist/chunks/{workspace-xmsrnx3p.js → generate-71cfveas.js} +29 -29
  75. package/dist/chunks/{workspace-brg2881f.js → generate-782xyd0k.js} +8 -8
  76. package/dist/chunks/{workspace-042m1axd.js → generate-7bftgs18.js} +4 -4
  77. package/dist/chunks/{workspace-0njgvdwy.js → generate-7bja5kqe.js} +16 -16
  78. package/dist/chunks/{workspace-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{workspace-yzrz4qk4.js → generate-7cwwemrn.js} +9 -9
  80. package/dist/chunks/{workspace-607tc6va.js → generate-7dqw4kz8.js} +5 -5
  81. package/dist/chunks/{workspace-8ta0krmw.js → generate-7dwngxrb.js} +26 -26
  82. package/dist/chunks/{workspace-g6km6r9m.js → generate-7qtea46p.js} +19 -19
  83. package/dist/chunks/{workspace-2hr5nhwa.js → generate-7s2tn799.js} +8 -8
  84. package/dist/chunks/{workspace-x3b45c7h.js → generate-7zbrh5tq.js} +24 -24
  85. package/dist/chunks/{workspace-w1eejvng.js → generate-84txncab.js} +5 -5
  86. package/dist/chunks/{workspace-hpgrj06s.js → generate-86k1dhwd.js} +27 -27
  87. package/dist/chunks/{workspace-sqsaqrgg.js → generate-8bsdq35e.js} +32 -32
  88. package/dist/chunks/{workspace-80f8ra5w.js → generate-8csxj5r3.js} +11 -11
  89. package/dist/chunks/{workspace-8d7r5vzw.js → generate-8d7r5vzw.js} +1 -1
  90. package/dist/chunks/{workspace-vyaa4tze.js → generate-8hy9en8e.js} +6 -6
  91. package/dist/chunks/{workspace-qdn0q154.js → generate-8rc9khtm.js} +28 -28
  92. package/dist/chunks/{workspace-0n0r6k3x.js → generate-8t60vhkw.js} +13 -13
  93. package/dist/chunks/{workspace-94ek1h2f.js → generate-94ek1h2f.js} +2 -2
  94. package/dist/chunks/{workspace-p9pevwxx.js → generate-9bvjat3n.js} +25 -25
  95. package/dist/chunks/{workspace-kecz6zd2.js → generate-9g5c7gye.js} +15 -15
  96. package/dist/chunks/{workspace-t7m81bzt.js → generate-9nantg5p.js} +24 -24
  97. package/dist/chunks/{workspace-hh91cbnw.js → generate-9pj3ea5v.js} +4 -4
  98. package/dist/chunks/{workspace-j2gahf3s.js → generate-9pvxkkw3.js} +24 -24
  99. package/dist/chunks/{workspace-e7gqmxbr.js → generate-9rdrv7ss.js} +13 -13
  100. package/dist/chunks/{workspace-d8q4jj3q.js → generate-9vh74ph3.js} +20 -20
  101. package/dist/chunks/{workspace-sw8qz8bf.js → generate-a0q0x2br.js} +29 -29
  102. package/dist/chunks/{workspace-g84cjvn9.js → generate-a3r4dcrj.js} +2 -2
  103. package/dist/chunks/{workspace-qa3qhgw8.js → generate-a46v4e4v.js} +4 -4
  104. package/dist/chunks/{workspace-qhac4xeb.js → generate-a4e6jaw7.js} +18 -18
  105. package/dist/chunks/{workspace-aaet6srn.js → generate-aaet6srn.js} +2 -2
  106. package/dist/chunks/{workspace-dj9sq318.js → generate-ag9w8cw1.js} +5 -5
  107. package/dist/chunks/{workspace-365m56hx.js → generate-ap3j0wzh.js} +7 -7
  108. package/dist/chunks/{workspace-spt9fbav.js → generate-apn8f15b.js} +9 -9
  109. package/dist/chunks/{workspace-mgmaefw5.js → generate-arndb05z.js} +6 -6
  110. package/dist/chunks/{workspace-vfbvqc9n.js → generate-asmv1htq.js} +18 -18
  111. package/dist/chunks/{workspace-5je6ahr9.js → generate-azvwj0fe.js} +23 -23
  112. package/dist/chunks/{workspace-987cgqwa.js → generate-b6dxgyqp.js} +10 -10
  113. package/dist/chunks/{workspace-b6gygkdw.js → generate-b6gygkdw.js} +2 -2
  114. package/dist/chunks/{workspace-0jtjgnd7.js → generate-bknrv093.js} +13 -13
  115. package/dist/chunks/{workspace-166t1a3y.js → generate-bpa17nke.js} +24 -24
  116. package/dist/chunks/{workspace-9tkh92yn.js → generate-btppnszc.js} +27 -27
  117. package/dist/chunks/{workspace-a0afhmy4.js → generate-bz31k0m7.js} +43 -43
  118. package/dist/chunks/{workspace-3mgjdyz7.js → generate-c1k7n5xw.js} +27 -27
  119. package/dist/chunks/{workspace-j9qb7fb2.js → generate-c54qn10r.js} +12 -12
  120. package/dist/chunks/{workspace-2mq1h16s.js → generate-c765mh8b.js} +9 -9
  121. package/dist/chunks/{workspace-4mwpykj0.js → generate-cdm0dq9n.js} +6 -6
  122. package/dist/chunks/{workspace-1xg3275b.js → generate-cfafq1xv.js} +13 -13
  123. package/dist/chunks/{workspace-xd4155nf.js → generate-cfba12s0.js} +16 -16
  124. package/dist/chunks/{workspace-wpm2rk0p.js → generate-cjwramev.js} +4 -4
  125. package/dist/chunks/{workspace-ckecvw8r.js → generate-ckecvw8r.js} +2 -2
  126. package/dist/chunks/{workspace-ktnepc1b.js → generate-cym1wyth.js} +69 -69
  127. package/dist/chunks/{workspace-pghjyxz3.js → generate-d7zsbx7j.js} +11 -11
  128. package/dist/chunks/{workspace-6hdpv820.js → generate-daepexh6.js} +3 -3
  129. package/dist/chunks/{workspace-jcr6t940.js → generate-ddjyqeqz.js} +11 -11
  130. package/dist/chunks/{workspace-x661k3y3.js → generate-dnxkq42g.js} +4 -4
  131. package/dist/chunks/{workspace-8n2t31b8.js → generate-dpt32np6.js} +4 -4
  132. package/dist/chunks/{workspace-5r63gr7v.js → generate-dqvb69t0.js} +87 -87
  133. package/dist/chunks/{workspace-f6eyqz7h.js → generate-dsbv4z0s.js} +25 -25
  134. package/dist/chunks/{workspace-5qd3pb7m.js → generate-e3qxr5gk.js} +2 -2
  135. package/dist/chunks/{workspace-66kez2h7.js → generate-e8bnxdhk.js} +7 -7
  136. package/dist/chunks/{workspace-kzc3h1h3.js → generate-eahhehpg.js} +4 -4
  137. package/dist/chunks/{workspace-ecfe7b91.js → generate-ecfe7b91.js} +2 -2
  138. package/dist/chunks/{workspace-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
  139. package/dist/chunks/{workspace-kjtsr4k8.js → generate-emesakwd.js} +15 -15
  140. package/dist/chunks/{workspace-23pvap42.js → generate-et8frtwb.js} +10 -10
  141. package/dist/chunks/{workspace-etq0c3wd.js → generate-etq0c3wd.js} +1 -1
  142. package/dist/chunks/{workspace-jfb6jrkz.js → generate-ez6a7f19.js} +24 -24
  143. package/dist/chunks/{workspace-x4z0ydwa.js → generate-f1tyew74.js} +15 -15
  144. package/dist/chunks/{workspace-dtjvj8dv.js → generate-f4yc8xxh.js} +35 -35
  145. package/dist/chunks/generate-fnkhvjm5.js +26 -0
  146. package/dist/chunks/{workspace-gd0ajznh.js → generate-fpn16xgt.js} +43 -43
  147. package/dist/chunks/{workspace-273zbexb.js → generate-g0htbh8p.js} +10 -10
  148. package/dist/chunks/{workspace-cm793v40.js → generate-g8m0a0fc.js} +16 -16
  149. package/dist/chunks/{workspace-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{workspace-x2k3yq52.js → generate-gnq7tvv0.js} +16 -16
  151. package/dist/chunks/{workspace-pcfn9t39.js → generate-gqvhrk1p.js} +11 -11
  152. package/dist/chunks/{workspace-gv6a8nnw.js → generate-gv6a8nnw.js} +2 -2
  153. package/dist/chunks/{workspace-59h4mhd4.js → generate-gw9vfp6d.js} +25 -25
  154. package/dist/chunks/generate-gz4nb8qn.js +252 -0
  155. package/dist/chunks/{workspace-rcce6csd.js → generate-h06zvkf4.js} +24 -24
  156. package/dist/chunks/{workspace-m6q4hanw.js → generate-h316b9n0.js} +9 -9
  157. package/dist/chunks/{workspace-p234cjcc.js → generate-h55chb60.js} +9 -9
  158. package/dist/chunks/{workspace-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
  159. package/dist/chunks/{workspace-6fatt4mk.js → generate-h71w788e.js} +9 -9
  160. package/dist/chunks/{workspace-6t4hr8r6.js → generate-h9pnpq88.js} +4 -4
  161. package/dist/chunks/{workspace-rywzfdxh.js → generate-h9wp8z5w.js} +4 -4
  162. package/dist/chunks/{workspace-p391mv5r.js → generate-hhdwea2n.js} +7 -7
  163. package/dist/chunks/{workspace-gg7e4432.js → generate-hnb8nmvn.js} +5 -5
  164. package/dist/chunks/{workspace-ph33e0th.js → generate-j3b8pxcj.js} +25 -25
  165. package/dist/chunks/{workspace-rd66r63n.js → generate-j46cqjxg.js} +3 -3
  166. package/dist/chunks/{workspace-j56e64zr.js → generate-j56e64zr.js} +1 -1
  167. package/dist/chunks/{workspace-3k76vmqf.js → generate-j79x0brg.js} +16 -16
  168. package/dist/chunks/{workspace-kb6gw2zp.js → generate-j8afcsyc.js} +4 -4
  169. package/dist/chunks/{workspace-gj9znxmq.js → generate-jb9mn43j.js} +13 -13
  170. package/dist/chunks/{workspace-4yxb5t6h.js → generate-jbkn1qdd.js} +35 -35
  171. package/dist/chunks/{workspace-dm1py9b3.js → generate-jexxy024.js} +3 -3
  172. package/dist/chunks/{workspace-b0z85by2.js → generate-jfcw678q.js} +13 -13
  173. package/dist/chunks/{workspace-w92k2e0p.js → generate-jws6fkes.js} +2 -2
  174. package/dist/chunks/{workspace-bkymrhgh.js → generate-jwz4x6p9.js} +24 -24
  175. package/dist/chunks/{workspace-g373kk4k.js → generate-jz6c2g7k.js} +5 -5
  176. package/dist/chunks/{workspace-22xq6rx4.js → generate-k0hzrm3v.js} +4 -4
  177. package/dist/chunks/{workspace-n9k80d2m.js → generate-k1qrnqst.js} +8 -8
  178. package/dist/chunks/{workspace-pz73s8hm.js → generate-k2px01h0.js} +12 -12
  179. package/dist/chunks/{workspace-k3c624dm.js → generate-k3c624dm.js} +3 -3
  180. package/dist/chunks/{workspace-xnj1nhcy.js → generate-k45ah5vd.js} +22 -22
  181. package/dist/chunks/{workspace-aw1jas3v.js → generate-k4abns9x.js} +19 -19
  182. package/dist/chunks/{workspace-ha1a9vn7.js → generate-k9v3gyrk.js} +43 -43
  183. package/dist/chunks/{workspace-vp6c7j34.js → generate-kjsvp2pq.js} +43 -43
  184. package/dist/chunks/{workspace-kqs8v9eh.js → generate-kkndcpqr.js} +4 -4
  185. package/dist/chunks/{workspace-2w78a64w.js → generate-kmg0ctnh.js} +29 -29
  186. package/dist/chunks/{workspace-y7x142mt.js → generate-kmyx2sbj.js} +11 -11
  187. package/dist/chunks/{workspace-2sjp2rx5.js → generate-kvge6qe2.js} +17 -17
  188. package/dist/chunks/{workspace-m3fdjcah.js → generate-m3fdjcah.js} +1 -1
  189. package/dist/chunks/{workspace-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{workspace-s1kmd63q.js → generate-magsh8sv.js} +11 -11
  191. package/dist/chunks/{workspace-mvfsc1pv.js → generate-mhkvc446.js} +3 -3
  192. package/dist/chunks/{workspace-yjgm4wcb.js → generate-mk5c8h6r.js} +170 -170
  193. package/dist/chunks/{workspace-w19bbebh.js → generate-mptgk8ew.js} +3 -3
  194. package/dist/chunks/{workspace-4m6nhjq1.js → generate-mtqbjg7z.js} +13 -13
  195. package/dist/chunks/{workspace-wgtcm0m7.js → generate-mvksx64m.js} +4 -4
  196. package/dist/chunks/{workspace-gnh8e0g9.js → generate-mvvgbvx5.js} +8 -8
  197. package/dist/chunks/{workspace-7bzp0d3c.js → generate-n6cha630.js} +5 -5
  198. package/dist/chunks/{workspace-mmdjb5nv.js → generate-n79ymqnj.js} +8 -8
  199. package/dist/chunks/{workspace-9rj7ywpq.js → generate-n8w64hgs.js} +11 -11
  200. package/dist/chunks/{workspace-38fpg76h.js → generate-nav4wwqp.js} +1 -1
  201. package/dist/chunks/{workspace-k51mr0ff.js → generate-nhshtkhx.js} +35 -35
  202. package/dist/chunks/{workspace-5krfbr7p.js → generate-p1gamy9h.js} +20 -20
  203. package/dist/chunks/{workspace-b7gemn6d.js → generate-pgperwgr.js} +8 -8
  204. package/dist/chunks/generate-phz3h32g.js +18 -0
  205. package/dist/chunks/{workspace-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{workspace-pknna89w.js → generate-pknna89w.js} +1 -1
  207. package/dist/chunks/{workspace-a8gf35f3.js → generate-pxhak851.js} +6 -6
  208. package/dist/chunks/{workspace-2zmfhp2c.js → generate-q0raz0xt.js} +9 -9
  209. package/dist/chunks/{workspace-q5c722pm.js → generate-q67tqqz3.js} +24 -24
  210. package/dist/chunks/{workspace-90hnf2pp.js → generate-qac5j8jk.js} +32 -32
  211. package/dist/chunks/{workspace-jjs74g98.js → generate-qg0jgkcp.js} +9 -9
  212. package/dist/chunks/{workspace-6ksk10bg.js → generate-qhx40mea.js} +24 -24
  213. package/dist/chunks/{workspace-w0cm7t4f.js → generate-qkt0mxxe.js} +86 -86
  214. package/dist/chunks/{workspace-5enjc9kj.js → generate-qktdvtk9.js} +9 -9
  215. package/dist/chunks/{workspace-57b9ws8p.js → generate-qqeeq2t9.js} +4 -4
  216. package/dist/chunks/{workspace-qsdy395h.js → generate-qsdy395h.js} +1 -1
  217. package/dist/chunks/{workspace-gs3s1a1g.js → generate-qwjmgwmn.js} +8 -8
  218. package/dist/chunks/{workspace-fmfg6twz.js → generate-r3cfpwkz.js} +8 -8
  219. package/dist/chunks/{workspace-mh8yxg4b.js → generate-r8rnv0jj.js} +12 -12
  220. package/dist/chunks/{workspace-39zkfw6n.js → generate-ra6s1qz5.js} +12 -12
  221. package/dist/chunks/{workspace-c5pd54gy.js → generate-rav9e4bf.js} +5 -5
  222. package/dist/chunks/{workspace-rdw6cm16.js → generate-rdw6cm16.js} +1 -1
  223. package/dist/chunks/{workspace-02nrjc1r.js → generate-rhjbct0v.js} +6 -6
  224. package/dist/chunks/{workspace-7tggkdet.js → generate-rpfbxaa7.js} +17 -17
  225. package/dist/chunks/{workspace-bags37mz.js → generate-rtweafxj.js} +15 -15
  226. package/dist/chunks/{workspace-yrznvahk.js → generate-s4enseaf.js} +2 -2
  227. package/dist/chunks/{workspace-d6e8xd99.js → generate-s4qvy6da.js} +11 -11
  228. package/dist/chunks/{workspace-qsnec2sf.js → generate-s62cygkh.js} +9 -9
  229. package/dist/chunks/{workspace-pe7kch95.js → generate-sccx0yvr.js} +28 -28
  230. package/dist/chunks/{workspace-7t3sew6m.js → generate-sgzjm3r6.js} +5 -5
  231. package/dist/chunks/{workspace-maq8crnd.js → generate-smyv73yd.js} +11 -11
  232. package/dist/chunks/{workspace-af04s6ss.js → generate-sra9araw.js} +5 -5
  233. package/dist/chunks/{workspace-j14xg3fh.js → generate-ssy44phe.js} +7 -7
  234. package/dist/chunks/{workspace-ex0pka66.js → generate-t0sqncza.js} +5 -5
  235. package/dist/chunks/{workspace-2vs2nh1n.js → generate-t2az9yje.js} +4 -4
  236. package/dist/chunks/{workspace-zf1fk0v2.js → generate-t3w4twfb.js} +11 -11
  237. package/dist/chunks/{workspace-7fg0zqgq.js → generate-t6xfj4xa.js} +50 -50
  238. package/dist/chunks/{workspace-ngtcg17t.js → generate-tazfts3e.js} +8 -8
  239. package/dist/chunks/{workspace-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
  240. package/dist/chunks/{workspace-89znhe33.js → generate-tcezcvh9.js} +4 -4
  241. package/dist/chunks/{workspace-tdstcens.js → generate-tdstcens.js} +1 -1
  242. package/dist/chunks/{workspace-dfgaaeg0.js → generate-te4qgv7b.js} +10 -10
  243. package/dist/chunks/{workspace-tvtrv512.js → generate-tvtrv512.js} +1 -1
  244. package/dist/chunks/{workspace-veqvce7d.js → generate-veqvce7d.js} +1 -1
  245. package/dist/chunks/{workspace-xgjcsjr6.js → generate-vhb3z7p9.js} +32 -32
  246. package/dist/chunks/{workspace-609adeff.js → generate-vkzgvsaw.js} +54 -54
  247. package/dist/chunks/{workspace-afed7ext.js → generate-vy4zg7qh.js} +5 -5
  248. package/dist/chunks/{workspace-vzcthcp8.js → generate-vzcthcp8.js} +1 -1
  249. package/dist/chunks/{workspace-vzs5sf6e.js → generate-vzs5sf6e.js} +1 -1
  250. package/dist/chunks/{workspace-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{workspace-vekn316g.js → generate-w7907s39.js} +21 -21
  252. package/dist/chunks/{workspace-510m7gjw.js → generate-wbkyxrgf.js} +5 -5
  253. package/dist/chunks/{workspace-wd3x2cqz.js → generate-wd3x2cqz.js} +2 -2
  254. package/dist/chunks/{workspace-wd87259q.js → generate-wd87259q.js} +1 -1
  255. package/dist/chunks/{workspace-m4c0hmgr.js → generate-wgnhx3xw.js} +24 -24
  256. package/dist/chunks/{workspace-ch351t34.js → generate-wnjg8cq9.js} +3 -3
  257. package/dist/chunks/{workspace-3wc6ggek.js → generate-wp1nbt91.js} +19 -19
  258. package/dist/chunks/{workspace-kxar1n7f.js → generate-wtgt14fk.js} +14 -14
  259. package/dist/chunks/{workspace-9v18rkg6.js → generate-wzvwwwtc.js} +23 -23
  260. package/dist/chunks/{workspace-x1ezjp6w.js → generate-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{workspace-2p623br6.js → generate-x2rw7g36.js} +5 -5
  262. package/dist/chunks/{workspace-hvcd2htz.js → generate-x76h38gv.js} +34 -34
  263. package/dist/chunks/{workspace-wysdjmt2.js → generate-xcmrs36j.js} +15 -15
  264. package/dist/chunks/{workspace-as89bwzh.js → generate-xd93e145.js} +6 -6
  265. package/dist/chunks/{workspace-xkntkrq7.js → generate-xkntkrq7.js} +2 -2
  266. package/dist/chunks/{workspace-52zrzax5.js → generate-xky8qqen.js} +11 -11
  267. package/dist/chunks/{workspace-cg3j3sj2.js → generate-xper0bhy.js} +11 -11
  268. package/dist/chunks/{workspace-rc2sfy9r.js → generate-xtt422ve.js} +13 -13
  269. package/dist/chunks/{workspace-7pr2hkwv.js → generate-xvp1j2dc.js} +5 -5
  270. package/dist/chunks/{workspace-d5jmfkqv.js → generate-xz17nvmj.js} +11 -11
  271. package/dist/chunks/{workspace-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{workspace-y71avatq.js → generate-y71avatq.js} +1 -1
  273. package/dist/chunks/{workspace-dgr42h9h.js → generate-yd3jw23x.js} +3 -3
  274. package/dist/chunks/{workspace-yp2x3t23.js → generate-yp2x3t23.js} +1 -1
  275. package/dist/chunks/{workspace-av3tbz7h.js → generate-yqwday8d.js} +13 -13
  276. package/dist/chunks/{workspace-yrhqyw5v.js → generate-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{workspace-x4jv5vb5.js → generate-yxnc9je5.js} +17 -17
  278. package/dist/chunks/{workspace-g38ra9vv.js → generate-yyr25rwn.js} +3 -3
  279. package/dist/chunks/{workspace-wbbhybet.js → generate-yzeejkfr.js} +20 -20
  280. package/dist/chunks/{workspace-z07pqspn.js → generate-z07pqspn.js} +3 -3
  281. package/dist/chunks/{workspace-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{workspace-r8p8ps6c.js → generate-z1t43wf9.js} +8 -8
  283. package/dist/chunks/{workspace-4t72cs1k.js → generate-z5a9h27f.js} +3 -3
  284. package/dist/chunks/{workspace-y86ytwkf.js → generate-zbt9zsvy.js} +11 -11
  285. package/dist/chunks/{workspace-zeh9ct20.js → generate-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{workspace-2tsm52y3.js → generate-znsx74x0.js} +1 -1
  287. package/dist/chunks/{workspace-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{workspace-8sc9trf7.js → generate-zr95g3fb.js} +10 -10
  289. package/dist/chunks/{workspace-gx70k8vt.js → generate-zst2aaa9.js} +66 -50
  290. package/dist/chunks/{workspace-wj2j7jcc.js → generate-ztzjtmz1.js} +11 -11
  291. package/dist/chunks/{workspace-mmjzft12.js → generate-zv45bf8x.js} +2 -2
  292. package/dist/chunks/{workspace-zxq2ej10.js → generate-zxq2ej10.js} +1 -1
  293. package/dist/chunks/{workspace-ahp2gs6p.js → generate-zyy8xd5z.js} +15 -15
  294. package/dist/codemode/catalog.js +1 -1
  295. package/dist/codemode/instructions.js +7 -7
  296. package/dist/codemode/tool.js +3 -3
  297. package/dist/codemode/web.js +1 -1
  298. package/dist/command.js +81 -81
  299. package/dist/config/discovery.js +84 -84
  300. package/dist/config/markdown.js +1 -1
  301. package/dist/config/normalize.js +106 -106
  302. package/dist/config/plugin/agent.js +125 -125
  303. package/dist/config/plugin/command.js +215 -215
  304. package/dist/config/plugin/compaction.js +161 -161
  305. package/dist/config/plugin/compatibility.js +141 -141
  306. package/dist/config/plugin/entry-observer.js +1 -1
  307. package/dist/config/plugin/formatter.js +124 -124
  308. package/dist/config/plugin/image.js +123 -123
  309. package/dist/config/plugin/instruction.js +90 -90
  310. package/dist/config/plugin/location-watcher.js +123 -123
  311. package/dist/config/plugin/mcp.js +132 -132
  312. package/dist/config/plugin/policy.js +124 -124
  313. package/dist/config/plugin/provider.js +123 -123
  314. package/dist/config/plugin/reference.js +125 -125
  315. package/dist/config/plugin/shell.js +123 -123
  316. package/dist/config/plugin/skill-file.js +102 -102
  317. package/dist/config/plugin/skill.js +144 -144
  318. package/dist/config/plugin/snapshot.js +123 -123
  319. package/dist/config/plugin/source.js +126 -126
  320. package/dist/config/plugin/tool-output.js +125 -125
  321. package/dist/config/plugin/websearch.js +122 -122
  322. package/dist/config/plugin/worktree.js +125 -125
  323. package/dist/config/variable.js +3 -3
  324. package/dist/config/watch.js +1 -1
  325. package/dist/config.js +128 -128
  326. package/dist/credential/sql.js +2 -2
  327. package/dist/credential.js +85 -85
  328. package/dist/database/database.js +66 -66
  329. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  331. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  332. package/dist/database/drizzle/index.js +13 -13
  333. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  336. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  342. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  343. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  344. package/dist/database/drizzle.js +14 -14
  345. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  346. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  347. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  348. package/dist/database/migration/20260225215848_workspace.js +1 -1
  349. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  350. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  351. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  352. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  353. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  354. package/dist/database/migration/20260323234822_events.js +1 -1
  355. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  356. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  357. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  358. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  359. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  360. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  361. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  362. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  363. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  364. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  365. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  366. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  367. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  368. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  369. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  370. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  371. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  372. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  373. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  374. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  375. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  376. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  377. package/dist/database/migration/20260611035744_credential.js +1 -1
  378. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  379. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  380. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  381. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  382. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  383. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  384. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  385. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  386. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  387. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  388. package/dist/database/migration/20260812213948_worktree.js +1 -1
  389. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  390. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  391. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  392. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  393. package/dist/database/migration.gen.js +49 -49
  394. package/dist/database/migration.js +51 -51
  395. package/dist/database/path.js +2 -2
  396. package/dist/database/schema.gen.js +1 -1
  397. package/dist/database/schema.sql.js +1 -1
  398. package/dist/database/sqlite.bun.js +1 -1
  399. package/dist/database/sqlite.js +1 -1
  400. package/dist/database/sqlite.node.js +1 -1
  401. package/dist/database/sqlite.workerd.js +1 -1
  402. package/dist/database/v1-migration.bun.js +76 -76
  403. package/dist/database/v1-migration.js +1 -1
  404. package/dist/effect/app-node-builder.js +372 -372
  405. package/dist/effect/app-node-platform.js +2 -2
  406. package/dist/effect/keyed-mutex.js +1 -1
  407. package/dist/effect/websocket-constructor.js +1 -1
  408. package/dist/environment/driver.js +1 -1
  409. package/dist/environment/environment.js +93 -93
  410. package/dist/environment/exec-defaults.js +2 -2
  411. package/dist/environment/files.js +1 -1
  412. package/dist/environment/index.js +95 -95
  413. package/dist/environment/local.js +2 -2
  414. package/dist/environment/memory.js +2 -2
  415. package/dist/environment/unavailable.js +1 -1
  416. package/dist/event/sql.js +1 -1
  417. package/dist/event-logger.js +70 -70
  418. package/dist/file-access.js +104 -104
  419. package/dist/file-mutation.js +94 -94
  420. package/dist/file-retention.js +1 -1
  421. package/dist/filesystem/fff.bun.js +2 -2
  422. package/dist/filesystem/fff.js +1 -1
  423. package/dist/filesystem/fff.node.js +2 -2
  424. package/dist/filesystem/fff.workerd.js +2 -2
  425. package/dist/filesystem/ignore.js +1 -1
  426. package/dist/filesystem/location-watcher-policy.js +6 -6
  427. package/dist/filesystem/location-watcher.js +226 -226
  428. package/dist/filesystem/protected.js +3 -3
  429. package/dist/filesystem/search.js +103 -103
  430. package/dist/filesystem/watcher-binding.js +3 -3
  431. package/dist/filesystem/watcher.js +15 -15
  432. package/dist/filesystem.js +108 -108
  433. package/dist/form.js +84 -84
  434. package/dist/formatter/builtins.js +4 -4
  435. package/dist/formatter.js +89 -89
  436. package/dist/generate.js +105 -105
  437. package/dist/git.js +6 -6
  438. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  439. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  440. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  442. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  443. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  444. package/dist/github-copilot/copilot-provider.js +17 -17
  445. package/dist/github-copilot/models.js +91 -91
  446. package/dist/github-copilot/openai-compatible-error.js +1 -1
  447. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  448. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  449. package/dist/github-copilot/responses/openai-error.js +1 -1
  450. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  451. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  452. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  453. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  454. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  457. package/dist/id/id.js +1 -1
  458. package/dist/image/photon.js +2 -2
  459. package/dist/image.js +6 -6
  460. package/dist/instance/service.js +5 -5
  461. package/dist/instance.js +363 -363
  462. package/dist/instruction-discovery.js +85 -85
  463. package/dist/instructions/builtins.js +87 -87
  464. package/dist/instructions/index.js +3 -3
  465. package/dist/integration/connection.js +3 -3
  466. package/dist/integration.js +87 -87
  467. package/dist/job.js +77 -77
  468. package/dist/kv/sql.js +2 -2
  469. package/dist/kv.js +73 -73
  470. package/dist/location-activity.js +132 -132
  471. package/dist/location-lifecycle.js +107 -107
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +360 -360
  474. package/dist/location.js +81 -81
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +113 -95
  477. package/dist/mcp/index.js +107 -107
  478. package/dist/mcp/instructions.js +129 -129
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +91 -91
  483. package/dist/model-resolver.js +98 -98
  484. package/dist/model.js +102 -102
  485. package/dist/models-dev.js +101 -101
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +80 -80
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +115 -115
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +88 -88
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +104 -104
  496. package/dist/plugin/command.js +102 -102
  497. package/dist/plugin/hooks.js +5 -5
  498. package/dist/plugin/host.js +219 -219
  499. package/dist/plugin/identity.js +3 -3
  500. package/dist/plugin/instance.js +5 -5
  501. package/dist/plugin/internal.js +335 -335
  502. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  503. package/dist/plugin/models-dev.js +96 -96
  504. package/dist/plugin/module.js +7 -7
  505. package/dist/plugin/optimize.js +2 -2
  506. package/dist/plugin/plan.js +102 -102
  507. package/dist/plugin/promise.js +1 -1
  508. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  509. package/dist/plugin/provider/azure.js +122 -122
  510. package/dist/plugin/provider/cerebras.js +1 -1
  511. package/dist/plugin/provider/chatgpt.js +93 -93
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +95 -95
  521. package/dist/plugin/provider/gitlab.js +93 -93
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +78 -78
  525. package/dist/plugin/provider/lmstudio.js +120 -120
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +122 -122
  529. package/dist/plugin/provider/openai.js +93 -93
  530. package/dist/plugin/provider/opencode.js +95 -95
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +79 -79
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +122 -122
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +163 -163
  544. package/dist/plugin/sdk.js +76 -76
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +141 -141
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +350 -350
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/verbosity.js +93 -93
  554. package/dist/plugin/warming.js +121 -121
  555. package/dist/plugin/websearch/exa.js +5 -5
  556. package/dist/plugin/websearch/firecrawl.js +8 -8
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +4 -4
  559. package/dist/plugin/websearch/parallel.js +8 -8
  560. package/dist/plugin/websearch/tavily.js +4 -4
  561. package/dist/plugin/websearch/tinyfish.js +6 -6
  562. package/dist/plugin.js +224 -224
  563. package/dist/project/schema.js +2 -2
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +80 -80
  566. package/dist/provider.js +101 -101
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +97 -97
  570. package/dist/reference/instructions.js +87 -87
  571. package/dist/reference.js +91 -91
  572. package/dist/repository-cache.js +81 -81
  573. package/dist/repository.js +3 -3
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +97 -97
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/affinity.js +1 -1
  579. package/dist/session/command.js +74 -74
  580. package/dist/session/compaction.js +133 -133
  581. package/dist/session/context.js +153 -153
  582. package/dist/session/diff.js +88 -88
  583. package/dist/session/environment.js +5 -5
  584. package/dist/session/error.js +7 -7
  585. package/dist/session/event.js +1 -1
  586. package/dist/session/execution/restart.js +222 -222
  587. package/dist/session/execution.js +124 -124
  588. package/dist/session/generate.js +154 -154
  589. package/dist/session/history.js +15 -15
  590. package/dist/session/inbox.js +86 -86
  591. package/dist/session/info.js +3 -3
  592. package/dist/session/instruction-entry.js +79 -79
  593. package/dist/session/instruction-state.js +8 -8
  594. package/dist/session/instructions.js +93 -93
  595. package/dist/session/message-updater.js +2 -2
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +120 -120
  598. package/dist/session/model-transport.js +9 -9
  599. package/dist/session/move.js +130 -130
  600. package/dist/session/projector.js +86 -86
  601. package/dist/session/prompt.js +105 -105
  602. package/dist/session/provider-context.js +3 -3
  603. package/dist/session/revert.js +90 -90
  604. package/dist/session/run-coordinator.js +1 -1
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +232 -232
  607. package/dist/session/runner/max-steps.js +1 -1
  608. package/dist/session/runner/model.js +98 -98
  609. package/dist/session/runner/publish-llm-event.js +3 -3
  610. package/dist/session/runner/retry.js +4 -4
  611. package/dist/session/runner/step.js +124 -124
  612. package/dist/session/runner/to-llm-message.js +2 -2
  613. package/dist/session/schema.js +5 -5
  614. package/dist/session/session.js +172 -172
  615. package/dist/session/shell.js +138 -138
  616. package/dist/session/skill.js +103 -103
  617. package/dist/session/sql.js +5 -5
  618. package/dist/session/stats.js +73 -73
  619. package/dist/session/store.js +87 -87
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +209 -209
  622. package/dist/session/system-prompt.js +3 -3
  623. package/dist/session/title.js +155 -155
  624. package/dist/session/to-session-error.js +111 -111
  625. package/dist/session/transfer.js +215 -215
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +217 -217
  628. package/dist/shell/parse.js +6 -6
  629. package/dist/shell/result.js +1 -1
  630. package/dist/shell/scan.js +1 -1
  631. package/dist/shell/select.js +9 -9
  632. package/dist/shell.js +140 -140
  633. package/dist/skill/discovery.js +6 -6
  634. package/dist/skill/instructions.js +105 -105
  635. package/dist/skill.js +112 -112
  636. package/dist/snapshot.js +89 -89
  637. package/dist/state.js +1 -1
  638. package/dist/tool/html-markdown.js +1 -1
  639. package/dist/tool/http-body.js +1 -1
  640. package/dist/tool/mcp.js +124 -124
  641. package/dist/tool/plugin/edit.js +120 -120
  642. package/dist/tool/plugin/file-diff.js +1 -1
  643. package/dist/tool/plugin/glob.js +124 -124
  644. package/dist/tool/plugin/grep.js +124 -124
  645. package/dist/tool/plugin/mcp-resource.js +117 -117
  646. package/dist/tool/plugin/opencode.js +3 -3
  647. package/dist/tool/plugin/patch.js +122 -122
  648. package/dist/tool/plugin/question.js +101 -101
  649. package/dist/tool/plugin/read.js +125 -125
  650. package/dist/tool/plugin/shell.js +216 -216
  651. package/dist/tool/plugin/skill.js +111 -111
  652. package/dist/tool/plugin/subagent.js +220 -220
  653. package/dist/tool/plugin/webfetch.js +110 -110
  654. package/dist/tool/plugin/websearch.js +112 -112
  655. package/dist/tool/plugin/write.js +122 -122
  656. package/dist/tool/read-filesystem.js +96 -96
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +8 -8
  659. package/dist/tool.js +16 -16
  660. package/dist/types/mcp/client.d.ts +2 -2
  661. package/dist/util/error-summary.js +1 -1
  662. package/dist/util/error.js +1 -1
  663. package/dist/util/git-executable.js +2 -2
  664. package/dist/util/iife.js +1 -1
  665. package/dist/util/lazy.js +1 -1
  666. package/dist/util/slug.js +1 -1
  667. package/dist/util/token.js +1 -1
  668. package/dist/util/which.js +1 -1
  669. package/dist/util/wildcard.js +1 -1
  670. package/dist/v1/config/agent.js +7 -7
  671. package/dist/v1/config/attachment.js +4 -4
  672. package/dist/v1/config/command.js +3 -3
  673. package/dist/v1/config/config.js +16 -16
  674. package/dist/v1/config/error.js +4 -4
  675. package/dist/v1/config/formatter.js +7 -7
  676. package/dist/v1/config/layout.js +1 -1
  677. package/dist/v1/config/lsp.js +3 -3
  678. package/dist/v1/config/mcp.js +4 -4
  679. package/dist/v1/config/migrate.js +92 -92
  680. package/dist/v1/config/permission.js +7 -7
  681. package/dist/v1/config/plugin.js +3 -3
  682. package/dist/v1/config/provider-options.js +1 -1
  683. package/dist/v1/config/provider.js +4 -4
  684. package/dist/v1/config/server.js +2 -2
  685. package/dist/v1/config/skills.js +3 -3
  686. package/dist/v1/permission.js +1 -1
  687. package/dist/variant.js +91 -91
  688. package/dist/vcs/patch.js +1 -1
  689. package/dist/vcs.js +87 -87
  690. package/dist/websearch.js +78 -78
  691. package/dist/wellknown/plugin.js +74 -74
  692. package/dist/wellknown.js +79 -79
  693. package/dist/workspace/driver.js +3 -3
  694. package/dist/workspace/sql.js +1 -1
  695. package/dist/workspace.js +80 -80
  696. package/dist/worktree/directory.js +2 -2
  697. package/dist/worktree/git.js +10 -10
  698. package/dist/worktree/sql.js +5 -5
  699. package/dist/worktree/strategies.js +89 -89
  700. package/dist/worktree.js +96 -96
  701. package/package.json +8 -8
  702. package/dist/chunks/workspace-b18pqbx3.js +0 -26
  703. package/dist/chunks/workspace-f79kc9pj.js +0 -252
  704. package/dist/chunks/workspace-rap9a73h.js +0 -18
  705. /package/dist/chunks/{workspace-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
  706. /package/dist/chunks/{workspace-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
  707. /package/dist/chunks/{workspace-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
  708. /package/dist/chunks/{workspace-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
  709. /package/dist/chunks/{workspace-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
  710. /package/dist/chunks/{workspace-24dcb14g.js → generate-24dcb14g.js} +0 -0
  711. /package/dist/chunks/{workspace-2710q6r3.js → generate-2710q6r3.js} +0 -0
  712. /package/dist/chunks/{workspace-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
  713. /package/dist/chunks/{workspace-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
  714. /package/dist/chunks/{workspace-34c7v6d4.js → generate-34c7v6d4.js} +0 -0
  715. /package/dist/chunks/{workspace-359p4xyc.js → generate-359p4xyc.js} +0 -0
  716. /package/dist/chunks/{workspace-3asan66x.js → generate-3asan66x.js} +0 -0
  717. /package/dist/chunks/{workspace-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
  718. /package/dist/chunks/{workspace-3w5fmr99.js → generate-3w5fmr99.js} +0 -0
  719. /package/dist/chunks/{workspace-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
  720. /package/dist/chunks/{workspace-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
  721. /package/dist/chunks/{workspace-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
  722. /package/dist/chunks/{workspace-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
  723. /package/dist/chunks/{workspace-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
  724. /package/dist/chunks/{workspace-53557ph1.js → generate-53557ph1.js} +0 -0
  725. /package/dist/chunks/{workspace-550bvhaj.js → generate-550bvhaj.js} +0 -0
  726. /package/dist/chunks/{workspace-6prwharc.js → generate-6prwharc.js} +0 -0
  727. /package/dist/chunks/{workspace-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{workspace-7m9af43g.js → generate-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{workspace-822emrt2.js → generate-822emrt2.js} +0 -0
  730. /package/dist/chunks/{workspace-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
  731. /package/dist/chunks/{workspace-8n3pysct.js → generate-8n3pysct.js} +0 -0
  732. /package/dist/chunks/{workspace-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
  733. /package/dist/chunks/{workspace-922hggd3.js → generate-922hggd3.js} +0 -0
  734. /package/dist/chunks/{workspace-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{workspace-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{workspace-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{workspace-af5trqkr.js → generate-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{workspace-afrmfg78.js → generate-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{workspace-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{workspace-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{workspace-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{workspace-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{workspace-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{workspace-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{workspace-d9fn303g.js → generate-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{workspace-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{workspace-dajrwvna.js → generate-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{workspace-dap0rakb.js → generate-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{workspace-df08tz66.js → generate-df08tz66.js} +0 -0
  750. /package/dist/chunks/{workspace-dy18nga0.js → generate-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{workspace-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
  752. /package/dist/chunks/{workspace-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
  753. /package/dist/chunks/{workspace-ec1grn59.js → generate-ec1grn59.js} +0 -0
  754. /package/dist/chunks/{workspace-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
  755. /package/dist/chunks/{workspace-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
  756. /package/dist/chunks/{workspace-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
  757. /package/dist/chunks/{workspace-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
  758. /package/dist/chunks/{workspace-faypxj3z.js → generate-faypxj3z.js} +0 -0
  759. /package/dist/chunks/{workspace-fd410y7t.js → generate-fd410y7t.js} +0 -0
  760. /package/dist/chunks/{workspace-fxgpk5d8.js → generate-fxgpk5d8.js} +0 -0
  761. /package/dist/chunks/{workspace-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
  762. /package/dist/chunks/{workspace-g86h250q.js → generate-g86h250q.js} +0 -0
  763. /package/dist/chunks/{workspace-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
  764. /package/dist/chunks/{workspace-gftt206x.js → generate-gftt206x.js} +0 -0
  765. /package/dist/chunks/{workspace-hjbc5kem.js → generate-hjbc5kem.js} +0 -0
  766. /package/dist/chunks/{workspace-hk9envan.js → generate-hk9envan.js} +0 -0
  767. /package/dist/chunks/{workspace-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
  768. /package/dist/chunks/{workspace-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
  769. /package/dist/chunks/{workspace-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
  770. /package/dist/chunks/{workspace-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
  771. /package/dist/chunks/{workspace-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
  772. /package/dist/chunks/{workspace-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
  773. /package/dist/chunks/{workspace-mp448xyj.js → generate-mp448xyj.js} +0 -0
  774. /package/dist/chunks/{workspace-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
  775. /package/dist/chunks/{workspace-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
  776. /package/dist/chunks/{workspace-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
  777. /package/dist/chunks/{workspace-njntx4h6.js → generate-njntx4h6.js} +0 -0
  778. /package/dist/chunks/{workspace-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{workspace-q74kybfr.js → generate-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{workspace-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{workspace-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{workspace-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{workspace-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{workspace-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{workspace-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{workspace-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{workspace-sk3qaz4a.js → generate-sk3qaz4a.js} +0 -0
  788. /package/dist/chunks/{workspace-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{workspace-w803qqfp.js → generate-w803qqfp.js} +0 -0
  790. /package/dist/chunks/{workspace-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
  791. /package/dist/chunks/{workspace-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
  792. /package/dist/chunks/{workspace-wtztk69x.js → generate-wtztk69x.js} +0 -0
  793. /package/dist/chunks/{workspace-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
  794. /package/dist/chunks/{workspace-x61499pn.js → generate-x61499pn.js} +0 -0
  795. /package/dist/chunks/{workspace-y44na4kk.js → generate-y44na4kk.js} +0 -0
  796. /package/dist/chunks/{workspace-y8cydn3q.js → generate-y8cydn3q.js} +0 -0
  797. /package/dist/chunks/{workspace-y8f7s663.js → generate-y8f7s663.js} +0 -0
  798. /package/dist/chunks/{workspace-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
  799. /package/dist/chunks/{workspace-ym463w8f.js → generate-ym463w8f.js} +0 -0
  800. /package/dist/chunks/{workspace-z9919s4g.js → generate-z9919s4g.js} +0 -0
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./workspace-hh91cbnw.js";
4
+ } from "./generate-9pj3ea5v.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./workspace-tazgh4e4.js";
9
+ } from "./generate-tazgh4e4.js";
10
10
  import {
11
11
  Service80,
12
12
  node84
13
- } from "./workspace-mmjzft12.js";
13
+ } from "./generate-zv45bf8x.js";
14
14
  import {
15
15
  reconcile2,
16
16
  create3
17
- } from "./workspace-rdw6cm16.js";
17
+ } from "./generate-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./workspace-9rqn6x4v.js";
20
+ } from "./generate-9rqn6x4v.js";
21
21
 
22
22
  // src/vcs.ts
23
23
  var exports_vcs = {};
@@ -28,9 +28,9 @@ __export(exports_vcs, {
28
28
  FileStatus: () => FileStatus2,
29
29
  Info: () => Info3,
30
30
  Mode: () => Mode2,
31
- Service: () => Service16,
31
+ Service: () => Service14,
32
32
  Vcs: () => exports_vcs,
33
- node: () => node19
33
+ node: () => node17
34
34
  });
35
35
  import path from "path";
36
36
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
@@ -45,9 +45,9 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
45
45
  }) {
46
46
  }
47
47
 
48
- class Service16 extends Context.Service()("@opencode/Vcs") {
48
+ class Service14 extends Context.Service()("@opencode/Vcs") {
49
49
  }
50
- var layer = Layer.effect(Service16, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service14, Effect.gen(function* () {
51
51
  const fs = yield* FSUtil.Service;
52
52
  const location = yield* Service80;
53
53
  const bus = yield* Service83;
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
118
118
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
119
119
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
120
120
  }
121
- return Service16.of({
121
+ return Service14.of({
122
122
  transform: state.transform,
123
123
  reload: state.reload,
124
124
  info: Effect.fn("Vcs.info")(function* () {
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
164
164
  })
165
165
  });
166
166
  }));
167
- var node19 = makeLocationNode({
168
- service: Service16,
167
+ var node17 = makeLocationNode({
168
+ service: Service14,
169
169
  layer,
170
170
  deps: [FSUtil.node, node84, node87]
171
171
  });
172
172
 
173
- export { Base2, BranchList2, FileStatus2, Info3, Mode2, DiffError2, Service16, node19, exports_vcs };
173
+ export { Base2, BranchList2, FileStatus2, Info3, Mode2, DiffError2, Service14, node17, exports_vcs };
@@ -5,17 +5,17 @@ import {
5
5
  renderInitial2,
6
6
  renderUpdate2,
7
7
  applyHashDelta2
8
- } from "./workspace-02nrjc1r.js";
8
+ } from "./generate-rhjbct0v.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./workspace-ec1grn59.js";
11
+ } from "./generate-ec1grn59.js";
12
12
  import {
13
13
  InstructionBlobTable2,
14
14
  InstructionStateTable2
15
- } from "./workspace-z07pqspn.js";
15
+ } from "./generate-z07pqspn.js";
16
16
  import {
17
17
  __export
18
- } from "./workspace-9rqn6x4v.js";
18
+ } from "./generate-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instruction-state.ts
21
21
  var exports_instruction_state = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service46
3
- } from "./workspace-3wc6ggek.js";
2
+ Service37
3
+ } from "./generate-wp1nbt91.js";
4
4
  import {
5
- Service43
6
- } from "./workspace-4mwpykj0.js";
5
+ Service35
6
+ } from "./generate-cdm0dq9n.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./workspace-rap9a73h.js";
9
+ } from "./generate-phz3h32g.js";
10
10
  import {
11
11
  __export
12
- } from "./workspace-9rqn6x4v.js";
12
+ } from "./generate-9rqn6x4v.js";
13
13
 
14
14
  // src/session/command.ts
15
15
  var exports_command3 = {};
@@ -19,8 +19,8 @@ __export(exports_command3, {
19
19
  });
20
20
  import { Effect } from "effect";
21
21
  var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
22
- const instances = yield* Service43;
23
- const commands = yield* awaitActivation2.pipe(Effect.andThen(Service46), instances.provide(input.session));
22
+ const instances = yield* Service35;
23
+ const commands = yield* awaitActivation2.pipe(Effect.andThen(Service37), instances.provide(input.session));
24
24
  yield* commands.execute({
25
25
  name: input.command,
26
26
  invocation: {
@@ -1,9 +1,9 @@
1
1
  import {
2
- ID7
3
- } from "./workspace-2w78a64w.js";
2
+ ID13
3
+ } from "./generate-kmg0ctnh.js";
4
4
  import {
5
5
  loadSDKFactory2
6
- } from "./workspace-hjbc5kem.js";
6
+ } from "./generate-hjbc5kem.js";
7
7
 
8
8
  // src/plugin/provider/sap-ai-core.ts
9
9
  import { Effect } from "effect";
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
14
14
  effect: Effect.fn(function* (ctx) {
15
15
  const npm = yield* Npm.Service;
16
16
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
17
- if (evt.model.providerID !== ID7.make("sap-ai-core"))
17
+ if (evt.model.providerID !== ID13.make("sap-ai-core"))
18
18
  return;
19
19
  const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
20
20
  if (serviceKey && !process.env.AICORE_SERVICE_KEY)
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
25
25
  evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
26
26
  }));
27
27
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
28
- if (evt.model.providerID !== ID7.make("sap-ai-core"))
28
+ if (evt.model.providerID !== ID13.make("sap-ai-core"))
29
29
  return;
30
30
  evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
31
31
  }));
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./workspace-922hggd3.js";
3
+ } from "./generate-922hggd3.js";
4
4
  import {
5
5
  Service84,
6
6
  node88
7
- } from "./workspace-6hdpv820.js";
7
+ } from "./generate-daepexh6.js";
8
8
  import {
9
9
  Service83,
10
10
  node87
11
- } from "./workspace-hh91cbnw.js";
11
+ } from "./generate-9pj3ea5v.js";
12
12
  import {
13
13
  Service82,
14
14
  node86
15
- } from "./workspace-afed7ext.js";
15
+ } from "./generate-vy4zg7qh.js";
16
16
  import {
17
17
  ID18,
18
18
  Current3,
@@ -20,17 +20,17 @@ import {
20
20
  UpdateInput4,
21
21
  Event21,
22
22
  Vcs3
23
- } from "./workspace-57ez7d0k.js";
23
+ } from "./generate-57ez7d0k.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./workspace-wd3x2cqz.js";
27
+ } from "./generate-wd3x2cqz.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./workspace-94ek1h2f.js";
30
+ } from "./generate-94ek1h2f.js";
31
31
  import {
32
32
  __export
33
- } from "./workspace-9rqn6x4v.js";
33
+ } from "./generate-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service50
3
- } from "./workspace-ha1a9vn7.js";
2
+ Service63
3
+ } from "./generate-k9v3gyrk.js";
4
4
  import {
5
- Service5
6
- } from "./workspace-2mq1h16s.js";
5
+ Service7
6
+ } from "./generate-c765mh8b.js";
7
7
  import {
8
8
  observe2
9
- } from "./workspace-qsdy395h.js";
9
+ } from "./generate-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./workspace-9rqn6x4v.js";
12
+ } from "./generate-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/location-watcher.ts
15
15
  var exports_location_watcher2 = {};
16
16
  __export(exports_location_watcher2, {
17
17
  ConfigLocationWatcherPlugin: () => exports_location_watcher2,
18
- Plugin: () => Plugin7
18
+ Plugin: () => Plugin20
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin7 = define({
22
+ var Plugin20 = define({
23
23
  id: "opencode.config.location-watcher",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service50;
26
- const policy = yield* Service5;
25
+ const config = yield* Service63;
26
+ const policy = yield* Service7;
27
27
  const loaded = yield* observe2(config, ctx.event, policy.reload());
28
28
  yield* policy.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -35,4 +35,4 @@ var Plugin7 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin7, exports_location_watcher2 };
38
+ export { Plugin20, exports_location_watcher2 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./workspace-2w78a64w.js";
4
+ } from "./generate-kmg0ctnh.js";
5
5
 
6
6
  // src/plugin/provider/vercel.ts
7
7
  import { Effect } from "effect";
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./workspace-922hggd3.js";
3
+ } from "./generate-922hggd3.js";
4
4
  import {
5
5
  WorktreeError2,
6
6
  node86
7
- } from "./workspace-afed7ext.js";
7
+ } from "./generate-vy4zg7qh.js";
8
8
  import {
9
9
  Slug2
10
- } from "./workspace-gebd4c9n.js";
10
+ } from "./generate-gebd4c9n.js";
11
11
  import {
12
12
  Service84,
13
13
  node88
14
- } from "./workspace-6hdpv820.js";
14
+ } from "./generate-daepexh6.js";
15
15
  import {
16
16
  Service83,
17
17
  node87
18
- } from "./workspace-hh91cbnw.js";
18
+ } from "./generate-9pj3ea5v.js";
19
19
  import {
20
20
  ProjectTable2
21
- } from "./workspace-wd3x2cqz.js";
21
+ } from "./generate-wd3x2cqz.js";
22
22
  import {
23
23
  WorktreeTable2
24
- } from "./workspace-94ek1h2f.js";
24
+ } from "./generate-94ek1h2f.js";
25
25
  import {
26
26
  ID17,
27
27
  NotFoundError11
28
- } from "./workspace-mmdjb5nv.js";
28
+ } from "./generate-n79ymqnj.js";
29
29
  import {
30
30
  Ref4
31
- } from "./workspace-mmjzft12.js";
31
+ } from "./generate-zv45bf8x.js";
32
32
  import {
33
- Service68,
34
- node71
35
- } from "./workspace-p234cjcc.js";
33
+ Service50,
34
+ node53
35
+ } from "./generate-h55chb60.js";
36
36
  import {
37
37
  DirectoryUnavailableError2,
38
38
  canonical2
39
- } from "./workspace-gv6a8nnw.js";
39
+ } from "./generate-gv6a8nnw.js";
40
40
  import {
41
- make12
42
- } from "./workspace-mgmaefw5.js";
41
+ make19
42
+ } from "./generate-arndb05z.js";
43
43
  import {
44
- Service21
45
- } from "./workspace-xd4155nf.js";
44
+ Service49
45
+ } from "./generate-cfba12s0.js";
46
46
  import {
47
47
  __export
48
- } from "./workspace-9rqn6x4v.js";
48
+ } from "./generate-9rqn6x4v.js";
49
49
 
50
50
  // src/worktree.ts
51
51
  var exports_worktree2 = {};
@@ -53,19 +53,19 @@ __export(exports_worktree2, {
53
53
  CreateInput: () => CreateInput2,
54
54
  DestinationExistsError: () => DestinationExistsError2,
55
55
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
56
- Event: () => Event5,
57
- Info: () => Info4,
56
+ Event: () => Event9,
57
+ Info: () => Info8,
58
58
  InvalidDirectoryError: () => InvalidDirectoryError2,
59
59
  List: () => List2,
60
60
  ListEntry: () => ListEntry3,
61
61
  OperationError: () => OperationError2,
62
62
  RemoveInput: () => RemoveInput2,
63
- Service: () => Service20,
63
+ Service: () => Service48,
64
64
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
65
65
  StrategyID: () => StrategyID2,
66
66
  StrategyUnavailableError: () => StrategyUnavailableError2,
67
67
  Worktree: () => exports_worktree2,
68
- node: () => node23
68
+ node: () => node51
69
69
  });
70
70
  import { Context, Effect, Layer, Schema } from "effect";
71
71
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -79,7 +79,7 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
79
79
  var StrategyID2 = Worktree.StrategyID;
80
80
  var CreateInput2 = Worktree.CreateInput;
81
81
  var RemoveInput2 = Worktree.RemoveInput;
82
- var Info4 = Worktree.Info;
82
+ var Info8 = Worktree.Info;
83
83
  var List2 = Worktree.List;
84
84
  var ListEntry3 = Worktree.ListEntry;
85
85
 
@@ -94,18 +94,18 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
94
94
 
95
95
  class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
96
96
  }
97
- var Event5 = Worktree.Event;
97
+ var Event9 = Worktree.Event;
98
98
 
99
- class Service20 extends Context.Service()("@opencode/Worktree") {
99
+ class Service48 extends Context.Service()("@opencode/Worktree") {
100
100
  }
101
- var layer = Layer.effect(Service20, Effect.gen(function* () {
101
+ var layer = Layer.effect(Service48, Effect.gen(function* () {
102
102
  const fs = yield* FSUtil.Service;
103
103
  const database = yield* Service84;
104
104
  const db = database.db;
105
105
  const bus = yield* Service83;
106
106
  const processService = yield* AppProcess.Service;
107
- const locations = yield* Service68;
108
- const gitStrategy = yield* make12;
107
+ const locations = yield* Service50;
108
+ const gitStrategy = yield* make19;
109
109
  const project = Effect.fnUntraced(function* (projectID) {
110
110
  const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
111
111
  if (!row)
@@ -120,11 +120,11 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
120
120
  const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
121
121
  const context = yield* locations.contextEffect(Ref4.make({ directory }));
122
122
  yield* Context.get(context, Plugin.Service).awaitActivation;
123
- return Context.get(context, Service21).get();
123
+ return Context.get(context, Service49).get();
124
124
  });
125
125
  const changed = Effect.fnUntraced(function* (projectID, update) {
126
126
  if (update)
127
- yield* bus.publish(Event5.Updated, { projectID });
127
+ yield* bus.publish(Event9.Updated, { projectID });
128
128
  });
129
129
  const ops = {
130
130
  list: Effect.fnUntraced(function* (projectID) {
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
251
251
  })).pipe(Effect.orDie);
252
252
  yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
253
253
  }, Effect.scoped);
254
- return Service20.of({
254
+ return Service48.of({
255
255
  list: Effect.fn("Worktree.list")(function* (input) {
256
256
  yield* project(input.projectID);
257
257
  return yield* ops.list(input.projectID);
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
261
261
  refresh
262
262
  });
263
263
  }));
264
- var node23 = Node.makeGlobalNode({
265
- service: Service20,
264
+ var node51 = Node.makeGlobalNode({
265
+ service: Service48,
266
266
  layer,
267
- deps: [FSUtil.node, node86, node87, node88, AppProcess.node, node71]
267
+ deps: [FSUtil.node, node86, node87, node88, AppProcess.node, node53]
268
268
  });
269
269
  function operationError(strategy, operation, error) {
270
270
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
274
274
  });
275
275
  }
276
276
 
277
- export { StrategyID2, CreateInput2, RemoveInput2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event5, Service20, node23, exports_worktree2, OperationError2 };
277
+ export { StrategyID2, CreateInput2, RemoveInput2, Info8, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event9, Service48, node51, exports_worktree2, OperationError2 };
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID12
3
- } from "./workspace-jfb6jrkz.js";
2
+ ID9
3
+ } from "./generate-ez6a7f19.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./workspace-922hggd3.js";
6
+ } from "./generate-922hggd3.js";
7
7
  import {
8
- Info10
9
- } from "./workspace-y7x142mt.js";
8
+ Info17
9
+ } from "./generate-kmyx2sbj.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./workspace-22xq6rx4.js";
12
+ } from "./generate-k0hzrm3v.js";
13
13
  import {
14
14
  latest2,
15
- Service50
16
- } from "./workspace-ha1a9vn7.js";
15
+ Service63
16
+ } from "./generate-k9v3gyrk.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./workspace-5daktx2q.js";
19
+ } from "./generate-5daktx2q.js";
20
20
  import {
21
21
  __export
22
- } from "./workspace-9rqn6x4v.js";
22
+ } from "./generate-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
- var exports_agent = {};
26
- __export(exports_agent, {
27
- ConfigAgentPlugin: () => exports_agent,
28
- Plugin: () => Plugin2
25
+ var exports_agent2 = {};
26
+ __export(exports_agent2, {
27
+ ConfigAgentPlugin: () => exports_agent2,
28
+ Plugin: () => Plugin19
29
29
  });
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode/schema/config";
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info10);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info17);
44
44
  var decodeConfig = Schema.decodeUnknownOption(Info);
45
45
  var pathActions = ["external_directory", "read", "edit"];
46
46
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
47
- var Plugin2 = define({
47
+ var Plugin19 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service50;
50
+ const config = yield* Service63;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -76,13 +76,13 @@ var Plugin2 = define({
76
76
  const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
77
77
  const configuredDefault = latest2(loaded.documents, "default_agent");
78
78
  if (configuredDefault !== undefined)
79
- editor.default(ID12.make(configuredDefault));
79
+ editor.default(ID9.make(configuredDefault));
80
80
  for (const current of editor.list()) {
81
81
  editor.update(current.id, (agent) => agent.permissions.push(...permissions));
82
82
  }
83
83
  for (const document of loaded.documents) {
84
84
  for (const [id, item] of Object.entries(document.info.agents ?? {})) {
85
- const agentID = ID12.make(id);
85
+ const agentID = ID9.make(id);
86
86
  if (item.disabled) {
87
87
  editor.remove(agentID);
88
88
  continue;
@@ -161,4 +161,4 @@ function decode(file, content) {
161
161
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
162
162
  }
163
163
 
164
- export { Plugin2, exports_agent };
164
+ export { Plugin19, exports_agent2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
- Service56
3
- } from "./workspace-kecz6zd2.js";
2
+ Service46
3
+ } from "./generate-9g5c7gye.js";
4
4
  import {
5
- Service25
6
- } from "./workspace-5r63gr7v.js";
5
+ Service18
6
+ } from "./generate-dqvb69t0.js";
7
7
  import {
8
8
  text2,
9
9
  deliver2
10
- } from "./workspace-x1ezjp6w.js";
10
+ } from "./generate-x1ezjp6w.js";
11
11
  import {
12
12
  __export
13
- } from "./workspace-9rqn6x4v.js";
13
+ } from "./generate-9rqn6x4v.js";
14
14
 
15
15
  // src/session/subagent-job.ts
16
16
  var exports_subagent_job = {};
@@ -20,8 +20,8 @@ __export(exports_subagent_job, {
20
20
  });
21
21
  import { Effect, Scope } from "effect";
22
22
  var make10 = Effect.gen(function* () {
23
- const sessions = yield* Service25;
24
- const jobs = yield* Service56;
23
+ const sessions = yield* Service18;
24
+ const jobs = yield* Service46;
25
25
  const scope = yield* Scope.Scope;
26
26
  const notifications = new Set;
27
27
  const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./generate-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service23,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service23 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service23.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service23, awaitActivation2, exports_service };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./workspace-9rqn6x4v.js";
3
+ } from "./generate-9rqn6x4v.js";
4
4
 
5
5
  // src/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./workspace-qfa1cgps.js";
3
+ } from "./generate-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  convertToOpenAICompatibleChatMessages2
3
- } from "./workspace-fxgpk5d8.js";
3
+ } from "./generate-fxgpk5d8.js";
4
4
  import {
5
5
  getResponseMetadata2
6
- } from "./workspace-g4wezp1m.js";
6
+ } from "./generate-g4wezp1m.js";
7
7
  import {
8
8
  mapOpenAICompatibleFinishReason2
9
- } from "./workspace-x61499pn.js";
9
+ } from "./generate-x61499pn.js";
10
10
  import {
11
11
  openaiCompatibleProviderOptions2
12
- } from "./workspace-af5trqkr.js";
12
+ } from "./generate-af5trqkr.js";
13
13
  import {
14
14
  defaultOpenAICompatibleErrorStructure2
15
- } from "./workspace-afrmfg78.js";
15
+ } from "./generate-afrmfg78.js";
16
16
  import {
17
17
  prepareTools2
18
- } from "./workspace-x0ckcb58.js";
18
+ } from "./generate-x0ckcb58.js";
19
19
 
20
20
  // src/github-copilot/chat/openai-compatible-chat-language-model.ts
21
21
  import {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create3
3
- } from "./workspace-rdw6cm16.js";
3
+ } from "./generate-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./workspace-9rqn6x4v.js";
6
+ } from "./generate-9rqn6x4v.js";
7
7
 
8
8
  // src/image.ts
9
9
  var exports_image2 = {};
@@ -11,9 +11,9 @@ __export(exports_image2, {
11
11
  DecodeError: () => DecodeError2,
12
12
  Image: () => exports_image2,
13
13
  ResizerUnavailableError: () => ResizerUnavailableError2,
14
- Service: () => Service60,
14
+ Service: () => Service54,
15
15
  SizeError: () => SizeError2,
16
- node: () => node62
16
+ node: () => node57
17
17
  });
18
18
  import { makeLocationNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
42
42
  }
43
43
  }
44
44
 
45
- class Service60 extends Context.Service()("@opencode/Image") {
45
+ class Service54 extends Context.Service()("@opencode/Image") {
46
46
  }
47
- var layer = Layer.effect(Service60, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service54, Effect.gen(function* () {
48
48
  const state = create3({
49
49
  name: "image",
50
50
  initial: () => ({
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
74
74
  const normalize = yield* loadAdapter;
75
75
  return yield* normalize(resource, content, state.get());
76
76
  });
77
- return Service60.of({ transform: state.transform, reload: state.reload, normalize });
77
+ return Service54.of({ transform: state.transform, reload: state.reload, normalize });
78
78
  }));
79
- var node62 = makeLocationNode({ service: Service60, layer, deps: [] });
79
+ var node57 = makeLocationNode({ service: Service54, layer, deps: [] });
80
80
 
81
- export { ResizerUnavailableError2, DecodeError2, SizeError2, Service60, node62, exports_image2 };
81
+ export { ResizerUnavailableError2, DecodeError2, SizeError2, Service54, node57, exports_image2 };