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

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 (799) 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/{generate-et8frtwb.js → model-resolver-00bdd51n.js} +10 -10
  8. package/dist/chunks/{generate-r8rnv0jj.js → model-resolver-04shvbr1.js} +12 -12
  9. package/dist/chunks/{generate-9pj3ea5v.js → model-resolver-0703wr40.js} +4 -4
  10. package/dist/chunks/{generate-ra6s1qz5.js → model-resolver-08yw13zg.js} +12 -12
  11. package/dist/chunks/{generate-znsx74x0.js → model-resolver-0bfcnrg1.js} +1 -1
  12. package/dist/chunks/{generate-j79x0brg.js → model-resolver-0c6c0zmn.js} +18 -18
  13. package/dist/chunks/{generate-hhdwea2n.js → model-resolver-0ehkc6b3.js} +7 -7
  14. package/dist/chunks/{generate-137qhyq7.js → model-resolver-0np6v5dx.js} +43 -43
  15. package/dist/chunks/{generate-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{generate-te4qgv7b.js → model-resolver-0t1a536w.js} +7 -7
  17. package/dist/chunks/{generate-vhb3z7p9.js → model-resolver-159a3x2j.js} +32 -32
  18. package/dist/chunks/{generate-j3b8pxcj.js → model-resolver-166cxnzt.js} +25 -25
  19. package/dist/chunks/{generate-mhkvc446.js → model-resolver-1bbkgx8g.js} +3 -3
  20. package/dist/chunks/{generate-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{generate-5n14brjt.js → model-resolver-1ep2by6j.js} +31 -31
  22. package/dist/chunks/{generate-gqvhrk1p.js → model-resolver-1gtysh3b.js} +11 -11
  23. package/dist/chunks/{generate-gw9vfp6d.js → model-resolver-1jtc7t2n.js} +22 -22
  24. package/dist/chunks/{generate-arndb05z.js → model-resolver-1mjwcf4w.js} +6 -6
  25. package/dist/chunks/{generate-f1tyew74.js → model-resolver-1tw0n30a.js} +15 -15
  26. package/dist/chunks/{generate-1ygqh575.js → model-resolver-1ygqh575.js} +2 -2
  27. package/dist/chunks/{generate-21r38tys.js → model-resolver-21r38tys.js} +1 -1
  28. package/dist/chunks/{generate-zbt9zsvy.js → model-resolver-23ypespv.js} +17 -17
  29. package/dist/chunks/{generate-dsbv4z0s.js → model-resolver-24bjdznb.js} +17 -17
  30. package/dist/chunks/{generate-3gapehae.js → model-resolver-28fee37h.js} +27 -27
  31. package/dist/chunks/{generate-1wwdvsgc.js → model-resolver-28rwb4xv.js} +13 -13
  32. package/dist/chunks/{generate-h9pnpq88.js → model-resolver-29qym6xz.js} +4 -4
  33. package/dist/chunks/{generate-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
  34. package/dist/chunks/{generate-7s2tn799.js → model-resolver-2aet7wja.js} +8 -8
  35. package/dist/chunks/{generate-7bja5kqe.js → model-resolver-2e7f4xd3.js} +25 -25
  36. package/dist/chunks/{generate-t0sqncza.js → model-resolver-2hg7qvzt.js} +5 -5
  37. package/dist/chunks/{generate-q0raz0xt.js → model-resolver-2kewd2va.js} +9 -9
  38. package/dist/chunks/{generate-2h131gfv.js → model-resolver-2veb1275.js} +35 -35
  39. package/dist/chunks/{generate-apn8f15b.js → model-resolver-2y34zzjz.js} +9 -9
  40. package/dist/chunks/{generate-j46cqjxg.js → model-resolver-2zf1ybhy.js} +3 -3
  41. package/dist/chunks/{generate-j8afcsyc.js → model-resolver-30krspkn.js} +4 -4
  42. package/dist/chunks/{generate-n6cha630.js → model-resolver-31v28kev.js} +5 -5
  43. package/dist/chunks/{generate-kjsvp2pq.js → model-resolver-35me4pqp.js} +43 -43
  44. package/dist/chunks/{generate-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
  45. package/dist/chunks/{generate-zst2aaa9.js → model-resolver-3g9hx9d8.js} +45 -45
  46. package/dist/chunks/{generate-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{generate-cdm0dq9n.js → model-resolver-3ppptnan.js} +6 -6
  48. package/dist/chunks/{generate-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
  49. package/dist/chunks/{generate-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
  50. package/dist/chunks/{generate-ag9w8cw1.js → model-resolver-3w2b2yj4.js} +5 -5
  51. package/dist/chunks/{generate-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
  52. package/dist/chunks/{generate-52vqgt0f.js → model-resolver-468xcx49.js} +11 -11
  53. package/dist/chunks/{generate-z1t43wf9.js → model-resolver-4dcsf2r8.js} +5 -5
  54. package/dist/chunks/{generate-4x9ewffz.js → model-resolver-4ff0zxak.js} +30 -30
  55. package/dist/chunks/{generate-ssy44phe.js → model-resolver-4g0mdtwh.js} +14 -14
  56. package/dist/chunks/{generate-wgnhx3xw.js → model-resolver-4m9kpkhr.js} +21 -21
  57. package/dist/chunks/{generate-k4abns9x.js → model-resolver-4mwtbdcy.js} +23 -23
  58. package/dist/chunks/{generate-x2rw7g36.js → model-resolver-4n607a2z.js} +5 -5
  59. package/dist/chunks/{generate-xper0bhy.js → model-resolver-50p21jsy.js} +11 -11
  60. package/dist/chunks/{generate-dqvb69t0.js → model-resolver-54gavh75.js} +83 -83
  61. package/dist/chunks/{generate-54ma36ye.js → model-resolver-54ma36ye.js} +1 -1
  62. package/dist/chunks/{generate-57ez7d0k.js → model-resolver-57ez7d0k.js} +2 -2
  63. package/dist/chunks/{generate-63m9xggh.js → model-resolver-57p4zcxx.js} +17 -17
  64. package/dist/chunks/{generate-c54qn10r.js → model-resolver-59ps16wq.js} +6 -6
  65. package/dist/chunks/{generate-jexxy024.js → model-resolver-5cmxdwv8.js} +3 -3
  66. package/dist/chunks/{generate-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
  67. package/dist/chunks/{generate-btppnszc.js → model-resolver-5dzgzdgv.js} +22 -22
  68. package/dist/chunks/{generate-ddjyqeqz.js → model-resolver-5gb54438.js} +11 -11
  69. package/dist/chunks/{generate-rtweafxj.js → model-resolver-5ghb1wcz.js} +17 -17
  70. package/dist/chunks/{generate-e3qxr5gk.js → model-resolver-5qd3pb7m.js} +2 -2
  71. package/dist/chunks/{generate-5633drez.js → model-resolver-5qkfabj9.js} +20 -20
  72. package/dist/chunks/{generate-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
  73. package/dist/chunks/{generate-ez6a7f19.js → model-resolver-655b29a3.js} +24 -24
  74. package/dist/chunks/{generate-669tq793.js → model-resolver-669tq793.js} +1 -1
  75. package/dist/chunks/{generate-7bftgs18.js → model-resolver-66gm3q6y.js} +4 -4
  76. package/dist/chunks/{generate-h71w788e.js → model-resolver-6hjx5zpb.js} +9 -9
  77. package/dist/chunks/{generate-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
  78. package/dist/chunks/{generate-jws6fkes.js → model-resolver-6pc27hjz.js} +4 -4
  79. package/dist/chunks/{generate-asmv1htq.js → model-resolver-6pjg54et.js} +15 -15
  80. package/dist/chunks/{generate-xcmrs36j.js → model-resolver-6pzm3pmc.js} +15 -15
  81. package/dist/chunks/{generate-x76h38gv.js → model-resolver-6rq2rdm3.js} +34 -34
  82. package/dist/chunks/{generate-k45ah5vd.js → model-resolver-6rq91kkb.js} +22 -22
  83. package/dist/chunks/{generate-zv45bf8x.js → model-resolver-774mep86.js} +2 -2
  84. package/dist/chunks/{generate-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  85. package/dist/chunks/{generate-a0q0x2br.js → model-resolver-7f1fjr73.js} +35 -35
  86. package/dist/chunks/{generate-jfcw678q.js → model-resolver-7fpqa9rm.js} +13 -13
  87. package/dist/chunks/{generate-9bvjat3n.js → model-resolver-7k895je9.js} +25 -25
  88. package/dist/chunks/{generate-yzeejkfr.js → model-resolver-7nnscm86.js} +20 -20
  89. package/dist/chunks/{generate-h55chb60.js → model-resolver-7vckzw94.js} +9 -9
  90. package/dist/chunks/{generate-jz6c2g7k.js → model-resolver-7z7t5xg0.js} +2 -2
  91. package/dist/chunks/{generate-pxhak851.js → model-resolver-7zdrdht4.js} +6 -6
  92. package/dist/chunks/{generate-qktdvtk9.js → model-resolver-7zrz2ht7.js} +9 -9
  93. package/dist/chunks/{generate-84txncab.js → model-resolver-84txncab.js} +1 -1
  94. package/dist/chunks/{generate-kvge6qe2.js → model-resolver-85ja8bjp.js} +20 -20
  95. package/dist/chunks/{generate-eahhehpg.js → model-resolver-86qzxe6p.js} +4 -4
  96. package/dist/chunks/{generate-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
  97. package/dist/chunks/{generate-n8w64hgs.js → model-resolver-8dhmwpck.js} +9 -9
  98. package/dist/chunks/{generate-3pncb000.js → model-resolver-8k0g7am2.js} +11 -11
  99. package/dist/chunks/{generate-2c14t6ee.js → model-resolver-8s79h2zs.js} +25 -25
  100. package/dist/chunks/{generate-782xyd0k.js → model-resolver-8w6zmm29.js} +8 -8
  101. package/dist/chunks/{generate-94ek1h2f.js → model-resolver-94ek1h2f.js} +2 -2
  102. package/dist/chunks/{generate-5xtgfte3.js → model-resolver-9hn6k4tm.js} +8 -8
  103. package/dist/chunks/{generate-mtqbjg7z.js → model-resolver-9n3n2vac.js} +9 -9
  104. package/dist/chunks/{generate-tazfts3e.js → model-resolver-9pwyx6vy.js} +8 -8
  105. package/dist/chunks/{generate-yyr25rwn.js → model-resolver-9q2chv03.js} +3 -3
  106. package/dist/chunks/{generate-a46v4e4v.js → model-resolver-a2ew8a62.js} +4 -4
  107. package/dist/chunks/{generate-1h0ntq3z.js → model-resolver-aads351p.js} +1 -1
  108. package/dist/chunks/{generate-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
  109. package/dist/chunks/{generate-2re9wx64.js → model-resolver-ahwzhwa3.js} +5 -5
  110. package/dist/chunks/model-resolver-ap5sg23v.js +252 -0
  111. package/dist/chunks/{generate-yxnc9je5.js → model-resolver-awc5gjgd.js} +17 -17
  112. package/dist/chunks/{generate-k1qrnqst.js → model-resolver-b00xvs8t.js} +8 -8
  113. package/dist/chunks/{generate-0m1hjkr9.js → model-resolver-b23z4qnb.js} +7 -7
  114. package/dist/chunks/{generate-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
  115. package/dist/chunks/{generate-gnq7tvv0.js → model-resolver-b9e5m5kw.js} +16 -16
  116. package/dist/chunks/{generate-xtt422ve.js → model-resolver-beb0xpyw.js} +10 -10
  117. package/dist/chunks/{generate-qhx40mea.js → model-resolver-bf6sfhxg.js} +24 -24
  118. package/dist/chunks/{generate-qac5j8jk.js → model-resolver-bw2q4erb.js} +36 -36
  119. package/dist/chunks/{generate-0ag8d68y.js → model-resolver-bzpc8ntm.js} +17 -17
  120. package/dist/chunks/{generate-7qtea46p.js → model-resolver-bzx9a2az.js} +20 -20
  121. package/dist/chunks/{generate-71cfveas.js → model-resolver-c0xnxeca.js} +27 -27
  122. package/dist/chunks/{generate-smyv73yd.js → model-resolver-c1jg21sb.js} +11 -11
  123. package/dist/chunks/{generate-c1k7n5xw.js → model-resolver-c48kjqxw.js} +27 -27
  124. package/dist/chunks/{generate-q67tqqz3.js → model-resolver-c75ppnt9.js} +25 -25
  125. package/dist/chunks/{generate-w7907s39.js → model-resolver-cepnprts.js} +21 -21
  126. package/dist/chunks/{generate-ckecvw8r.js → model-resolver-ckecvw8r.js} +2 -2
  127. package/dist/chunks/{generate-3zpz61n9.js → model-resolver-cm63mksd.js} +9 -9
  128. package/dist/chunks/{generate-k9v3gyrk.js → model-resolver-cp17smcp.js} +40 -40
  129. package/dist/chunks/{generate-3ymnsx2y.js → model-resolver-cp5p8nw7.js} +23 -23
  130. package/dist/chunks/{generate-6anwy9fs.js → model-resolver-cpy6gm2a.js} +5 -5
  131. package/dist/chunks/{generate-jbkn1qdd.js → model-resolver-cqy5fkq0.js} +33 -33
  132. package/dist/chunks/{generate-28586spg.js → model-resolver-ctwrx9qj.js} +14 -14
  133. package/dist/chunks/{generate-6hdxzw8t.js → model-resolver-d3qasn01.js} +6 -6
  134. package/dist/chunks/{generate-9vh74ph3.js → model-resolver-d4wmmjrt.js} +20 -20
  135. package/dist/chunks/{generate-azvwj0fe.js → model-resolver-dcgx96r3.js} +23 -23
  136. package/dist/chunks/{generate-k2px01h0.js → model-resolver-df54n7py.js} +12 -12
  137. package/dist/chunks/{generate-3j8sdtpz.js → model-resolver-dfe8djrf.js} +4 -4
  138. package/dist/chunks/{generate-yd3jw23x.js → model-resolver-dj1dwqym.js} +3 -3
  139. package/dist/chunks/{generate-xkntkrq7.js → model-resolver-dmqcgk4z.js} +5 -5
  140. package/dist/chunks/{generate-qqeeq2t9.js → model-resolver-drwq78ky.js} +7 -7
  141. package/dist/chunks/{generate-wzvwwwtc.js → model-resolver-dxmvrbpm.js} +29 -29
  142. package/dist/chunks/{generate-z5a9h27f.js → model-resolver-e08max4g.js} +3 -3
  143. package/dist/chunks/{generate-dpt32np6.js → model-resolver-e23sc63z.js} +4 -4
  144. package/dist/chunks/{generate-rhjbct0v.js → model-resolver-eaj1djv9.js} +8 -8
  145. package/dist/chunks/{generate-ecfe7b91.js → model-resolver-ecfe7b91.js} +2 -2
  146. package/dist/chunks/{generate-269d0mcm.js → model-resolver-ef43s285.js} +32 -32
  147. package/dist/chunks/{generate-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
  148. package/dist/chunks/{generate-kmyx2sbj.js → model-resolver-ep6z9mt6.js} +11 -11
  149. package/dist/chunks/{generate-cfafq1xv.js → model-resolver-eq302p8g.js} +13 -13
  150. package/dist/chunks/{generate-rpfbxaa7.js → model-resolver-eqhdj52w.js} +22 -22
  151. package/dist/chunks/{generate-vkzgvsaw.js → model-resolver-et0bpsn8.js} +57 -57
  152. package/dist/chunks/{generate-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
  153. package/dist/chunks/{generate-magsh8sv.js → model-resolver-f1vyadhg.js} +20 -20
  154. package/dist/chunks/{generate-yp2x3t23.js → model-resolver-f2n192rq.js} +4 -4
  155. package/dist/chunks/{generate-qkt0mxxe.js → model-resolver-f4bg3nw3.js} +84 -84
  156. package/dist/chunks/{generate-mvvgbvx5.js → model-resolver-f5snpwwp.js} +8 -8
  157. package/dist/chunks/{generate-bknrv093.js → model-resolver-fc1e038s.js} +13 -13
  158. package/dist/chunks/{generate-7dqw4kz8.js → model-resolver-fcrkznn8.js} +5 -5
  159. package/dist/chunks/{generate-xz17nvmj.js → model-resolver-fdvr1ndy.js} +11 -11
  160. package/dist/chunks/{generate-9rdrv7ss.js → model-resolver-fg989vxx.js} +13 -13
  161. package/dist/chunks/{generate-cjwramev.js → model-resolver-ftdzjz2b.js} +6 -6
  162. package/dist/chunks/{generate-t3w4twfb.js → model-resolver-fvhcjjbk.js} +9 -9
  163. package/dist/chunks/{generate-kkndcpqr.js → model-resolver-fwfvrmc2.js} +4 -4
  164. package/dist/chunks/{generate-8bsdq35e.js → model-resolver-g0s9wgrg.js} +20 -20
  165. package/dist/chunks/{generate-wnjg8cq9.js → model-resolver-g4x4az7d.js} +3 -3
  166. package/dist/chunks/{generate-xvp1j2dc.js → model-resolver-g5agzp2h.js} +5 -5
  167. package/dist/chunks/{generate-4xky6n3z.js → model-resolver-g87rxxst.js} +22 -22
  168. package/dist/chunks/{generate-emesakwd.js → model-resolver-g8stq3ct.js} +15 -15
  169. package/dist/chunks/{generate-cym1wyth.js → model-resolver-ga76bh3d.js} +67 -67
  170. package/dist/chunks/{generate-401kh7j2.js → model-resolver-gbs6jbhw.js} +6 -6
  171. package/dist/chunks/{generate-pgperwgr.js → model-resolver-gbzb20p6.js} +8 -8
  172. package/dist/chunks/{generate-mk5c8h6r.js → model-resolver-gd38j8rb.js} +172 -172
  173. package/dist/chunks/{generate-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
  174. package/dist/chunks/{generate-wp1nbt91.js → model-resolver-gdj9fwxj.js} +19 -19
  175. package/dist/chunks/{generate-4yq8704b.js → model-resolver-ghdxkhwt.js} +30 -30
  176. package/dist/chunks/{generate-vy4zg7qh.js → model-resolver-gmjq4p6e.js} +5 -5
  177. package/dist/chunks/{generate-55ed9ppa.js → model-resolver-gnnmkja3.js} +30 -30
  178. package/dist/chunks/{generate-620zpmpb.js → model-resolver-gp4df2gz.js} +3 -3
  179. package/dist/chunks/{generate-mptgk8ew.js → model-resolver-gse0ck6f.js} +3 -3
  180. package/dist/chunks/{generate-t2az9yje.js → model-resolver-gst7axd9.js} +4 -4
  181. package/dist/chunks/{generate-gv6a8nnw.js → model-resolver-gv6a8nnw.js} +2 -2
  182. package/dist/chunks/{generate-7cwwemrn.js → model-resolver-gv9h81mr.js} +9 -9
  183. package/dist/chunks/{generate-xd93e145.js → model-resolver-h46w06ap.js} +6 -6
  184. package/dist/chunks/{generate-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
  185. package/dist/chunks/{generate-0g0872c8.js → model-resolver-hkw89x8s.js} +3 -3
  186. package/dist/chunks/{generate-g8m0a0fc.js → model-resolver-hqmtd9gn.js} +13 -13
  187. package/dist/chunks/{generate-wtgt14fk.js → model-resolver-hy7m1jes.js} +14 -14
  188. package/dist/chunks/{generate-6seya0vx.js → model-resolver-j2g46p4m.js} +12 -12
  189. package/dist/chunks/{generate-qg0jgkcp.js → model-resolver-j3s2z371.js} +9 -9
  190. package/dist/chunks/{generate-2mgjv0a7.js → model-resolver-j47s30d1.js} +5 -5
  191. package/dist/chunks/{generate-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
  192. package/dist/chunks/{generate-fpn16xgt.js → model-resolver-j5qm3aa4.js} +43 -43
  193. package/dist/chunks/{generate-a4e6jaw7.js → model-resolver-jtdedrsn.js} +14 -14
  194. package/dist/chunks/{generate-k3c624dm.js → model-resolver-k3c624dm.js} +3 -3
  195. package/dist/chunks/{generate-8rc9khtm.js → model-resolver-k7tpzzsk.js} +28 -28
  196. package/dist/chunks/{generate-9pvxkkw3.js → model-resolver-kan6af9e.js} +24 -24
  197. package/dist/chunks/{generate-1sq11vt2.js → model-resolver-kd9s81d6.js} +20 -20
  198. package/dist/chunks/{generate-g0htbh8p.js → model-resolver-kdhg8fn5.js} +10 -10
  199. package/dist/chunks/{generate-1q6agpkc.js → model-resolver-kf4rtjcm.js} +11 -11
  200. package/dist/chunks/{generate-p1gamy9h.js → model-resolver-kg0ttabr.js} +17 -17
  201. package/dist/chunks/{generate-3ad885dn.js → model-resolver-m101sbdj.js} +9 -9
  202. package/dist/chunks/{generate-nav4wwqp.js → model-resolver-m1t05dsh.js} +1 -1
  203. package/dist/chunks/{generate-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
  204. package/dist/chunks/{generate-2q66m20k.js → model-resolver-m3ma28tp.js} +48 -48
  205. package/dist/chunks/{generate-1t36cnam.js → model-resolver-m5389yyj.js} +5 -5
  206. package/dist/chunks/{generate-bz31k0m7.js → model-resolver-m6cmkatr.js} +41 -41
  207. package/dist/chunks/{generate-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  208. package/dist/chunks/{generate-6sr3ve8g.js → model-resolver-magykp64.js} +21 -21
  209. package/dist/chunks/{generate-s4qvy6da.js → model-resolver-mrrz849e.js} +11 -11
  210. package/dist/chunks/{generate-h06zvkf4.js → model-resolver-my6ay15n.js} +13 -13
  211. package/dist/chunks/{generate-h316b9n0.js → model-resolver-n3vygs5b.js} +9 -9
  212. package/dist/chunks/{generate-bpa17nke.js → model-resolver-nz2kpe5e.js} +26 -26
  213. package/dist/chunks/{generate-yqwday8d.js → model-resolver-p0h2zwcj.js} +16 -16
  214. package/dist/chunks/{generate-sra9araw.js → model-resolver-p44d8wdy.js} +5 -5
  215. package/dist/chunks/{generate-jwz4x6p9.js → model-resolver-pgfqyy1c.js} +26 -26
  216. package/dist/chunks/{generate-phz3h32g.js → model-resolver-phz3h32g.js} +1 -1
  217. package/dist/chunks/{generate-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
  218. package/dist/chunks/{generate-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  219. package/dist/chunks/{generate-cfba12s0.js → model-resolver-prn2zde5.js} +16 -16
  220. package/dist/chunks/{generate-6kgmmmcp.js → model-resolver-q0gq5wzg.js} +11 -11
  221. package/dist/chunks/{generate-nhshtkhx.js → model-resolver-qb6wrr0k.js} +37 -37
  222. package/dist/chunks/{generate-daepexh6.js → model-resolver-qe3aawgt.js} +3 -3
  223. package/dist/chunks/{generate-8csxj5r3.js → model-resolver-qfnwxhdd.js} +11 -11
  224. package/dist/chunks/{generate-5rx44j2k.js → model-resolver-qp883ga4.js} +42 -42
  225. package/dist/chunks/model-resolver-qpym6rz7.js +507 -0
  226. package/dist/chunks/{generate-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
  227. package/dist/chunks/{generate-46sb35mq.js → model-resolver-qsf3p1yr.js} +10 -10
  228. package/dist/chunks/{generate-zr95g3fb.js → model-resolver-qskvc41q.js} +10 -10
  229. package/dist/chunks/{generate-5manytmk.js → model-resolver-qy439gdh.js} +24 -24
  230. package/dist/chunks/{generate-d7zsbx7j.js → model-resolver-r1tct7zd.js} +11 -11
  231. package/dist/chunks/{generate-c765mh8b.js → model-resolver-r2m716tb.js} +5 -5
  232. package/dist/chunks/{generate-2x1dfb4g.js → model-resolver-r475mjjc.js} +20 -20
  233. package/dist/chunks/{generate-8hy9en8e.js → model-resolver-r88fpew6.js} +9 -9
  234. package/dist/chunks/{generate-kmg0ctnh.js → model-resolver-r938b5ge.js} +29 -29
  235. package/dist/chunks/{generate-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
  236. package/dist/chunks/{generate-8t60vhkw.js → model-resolver-rwectdn3.js} +13 -13
  237. package/dist/chunks/{generate-h9wp8z5w.js → model-resolver-s30fyz93.js} +4 -4
  238. package/dist/chunks/model-resolver-sfae06wy.js +26 -0
  239. package/dist/chunks/{generate-7dwngxrb.js → model-resolver-sg94zqbj.js} +24 -24
  240. package/dist/chunks/{generate-f4yc8xxh.js → model-resolver-sx2mqjyc.js} +33 -33
  241. package/dist/chunks/{generate-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
  242. package/dist/chunks/{generate-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
  243. package/dist/chunks/{generate-tdstcens.js → model-resolver-tdstcens.js} +1 -1
  244. package/dist/chunks/{generate-288h1877.js → model-resolver-tm4vaxsf.js} +17 -17
  245. package/dist/chunks/{generate-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
  246. package/dist/chunks/{generate-qwjmgwmn.js → model-resolver-tx9w5tca.js} +8 -8
  247. package/dist/chunks/{generate-4g39nh95.js → model-resolver-v5g0yskm.js} +2 -2
  248. package/dist/chunks/{generate-xky8qqen.js → model-resolver-v850jb5g.js} +11 -11
  249. package/dist/chunks/{generate-b6dxgyqp.js → model-resolver-v9k22ypw.js} +7 -7
  250. package/dist/chunks/{generate-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
  251. package/dist/chunks/{generate-rav9e4bf.js → model-resolver-vkt5fbj2.js} +8 -8
  252. package/dist/chunks/{generate-sccx0yvr.js → model-resolver-vm8x5jsh.js} +26 -26
  253. package/dist/chunks/{generate-a3r4dcrj.js → model-resolver-vmgq4x8b.js} +2 -2
  254. package/dist/chunks/{generate-e8bnxdhk.js → model-resolver-vqyyvx1k.js} +10 -10
  255. package/dist/chunks/{generate-t6xfj4xa.js → model-resolver-vxv26dz1.js} +50 -50
  256. package/dist/chunks/{generate-9g5c7gye.js → model-resolver-vynr67b8.js} +17 -17
  257. package/dist/chunks/{generate-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
  258. package/dist/chunks/{generate-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
  259. package/dist/chunks/{generate-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  260. package/dist/chunks/{generate-zyy8xd5z.js → model-resolver-w8s93tvm.js} +15 -15
  261. package/dist/chunks/{generate-3gsbm4gg.js → model-resolver-wcjgahxv.js} +10 -10
  262. package/dist/chunks/{generate-wd3x2cqz.js → model-resolver-wd3x2cqz.js} +2 -2
  263. package/dist/chunks/{generate-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  264. package/dist/chunks/{generate-86k1dhwd.js → model-resolver-wdyvcfat.js} +25 -25
  265. package/dist/chunks/{generate-k0hzrm3v.js → model-resolver-wgvqggrf.js} +4 -4
  266. package/dist/chunks/{generate-mvksx64m.js → model-resolver-wq4mmp7m.js} +4 -4
  267. package/dist/chunks/{generate-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
  268. package/dist/chunks/{generate-6hcagxvr.js → model-resolver-x2y5scjf.js} +12 -12
  269. package/dist/chunks/{generate-0wrn0h38.js → model-resolver-x7pmfb8f.js} +31 -31
  270. package/dist/chunks/{generate-9nantg5p.js → model-resolver-x9vnjyzm.js} +24 -24
  271. package/dist/chunks/{generate-7zbrh5tq.js → model-resolver-x9zyqvt6.js} +26 -26
  272. package/dist/chunks/{generate-6tnzqxfz.js → model-resolver-xt9rxswa.js} +4 -4
  273. package/dist/chunks/{generate-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
  274. package/dist/chunks/{generate-hnb8nmvn.js → model-resolver-y5c83qxw.js} +5 -5
  275. package/dist/chunks/{generate-n79ymqnj.js → model-resolver-y64m485r.js} +8 -8
  276. package/dist/chunks/{generate-dnxkq42g.js → model-resolver-y6bex35g.js} +4 -4
  277. package/dist/chunks/{generate-y71avatq.js → model-resolver-y71avatq.js} +1 -1
  278. package/dist/chunks/{generate-wbkyxrgf.js → model-resolver-yjptyezs.js} +5 -5
  279. package/dist/chunks/{generate-s62cygkh.js → model-resolver-ynz18txh.js} +9 -9
  280. package/dist/chunks/{generate-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
  281. package/dist/chunks/{generate-s4enseaf.js → model-resolver-yrznvahk.js} +2 -2
  282. package/dist/chunks/{generate-2e9mgspx.js → model-resolver-yv77sh0a.js} +5 -5
  283. package/dist/chunks/{generate-z07pqspn.js → model-resolver-z07pqspn.js} +3 -3
  284. package/dist/chunks/{generate-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{generate-ap3j0wzh.js → model-resolver-z4fx9cvt.js} +7 -7
  286. package/dist/chunks/{generate-29x78va6.js → model-resolver-z63w68vq.js} +6 -6
  287. package/dist/chunks/{generate-zeh9ct20.js → model-resolver-zeh9ct20.js} +2 -2
  288. package/dist/chunks/{generate-r3cfpwkz.js → model-resolver-zfhy6jfb.js} +5 -5
  289. package/dist/chunks/{generate-sgzjm3r6.js → model-resolver-zmqb8676.js} +5 -5
  290. package/dist/chunks/{generate-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
  291. package/dist/chunks/{generate-jb9mn43j.js → model-resolver-zw9m0b6f.js} +19 -19
  292. package/dist/chunks/{generate-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
  293. package/dist/chunks/{generate-ztzjtmz1.js → model-resolver-zzd4ahet.js} +11 -11
  294. package/dist/codemode/catalog.js +1 -1
  295. package/dist/codemode/instructions.js +11 -11
  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 +82 -82
  300. package/dist/config/markdown.js +1 -1
  301. package/dist/config/normalize.js +106 -106
  302. package/dist/config/plugin/agent.js +123 -123
  303. package/dist/config/plugin/command.js +213 -213
  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 +130 -130
  312. package/dist/config/plugin/policy.js +124 -124
  313. package/dist/config/plugin/provider.js +121 -121
  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 +142 -142
  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 +120 -120
  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 +4 -4
  427. package/dist/filesystem/location-watcher.js +222 -222
  428. package/dist/filesystem/protected.js +1 -1
  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 +102 -102
  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 +101 -101
  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 +5 -5
  465. package/dist/integration/connection.js +3 -3
  466. package/dist/integration.js +87 -87
  467. package/dist/job.js +79 -79
  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 +91 -91
  477. package/dist/mcp/index.js +107 -107
  478. package/dist/mcp/instructions.js +127 -127
  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 +96 -96
  484. package/dist/model.js +100 -100
  485. package/dist/models-dev.js +107 -107
  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 +117 -117
  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 +86 -86
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +102 -102
  496. package/dist/plugin/command.js +98 -98
  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 +122 -122
  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 +74 -74
  545. package/dist/plugin/service.js +1 -1
  546. package/dist/plugin/skill.js +139 -139
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +354 -354
  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 +91 -91
  554. package/dist/plugin/warming.js +121 -121
  555. package/dist/plugin/websearch/exa.js +7 -7
  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 +2 -2
  559. package/dist/plugin/websearch/parallel.js +8 -8
  560. package/dist/plugin/websearch/tavily.js +2 -2
  561. package/dist/plugin/websearch/tinyfish.js +8 -8
  562. package/dist/plugin.js +226 -226
  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 +99 -99
  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 +1 -1
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +95 -95
  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 +126 -126
  588. package/dist/session/generate.js +152 -152
  589. package/dist/session/history.js +15 -15
  590. package/dist/session/inbox.js +88 -88
  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 +4 -4
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +118 -118
  598. package/dist/session/model-transport.js +7 -7
  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 +3 -3
  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 +126 -126
  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 +170 -170
  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 +85 -85
  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 +5 -5
  623. package/dist/session/title.js +157 -157
  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 +219 -219
  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 +13 -13
  632. package/dist/shell.js +140 -140
  633. package/dist/skill/discovery.js +6 -6
  634. package/dist/skill/instructions.js +107 -107
  635. package/dist/skill.js +112 -112
  636. package/dist/snapshot.js +91 -91
  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 +128 -128
  641. package/dist/tool/plugin/edit.js +118 -118
  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 +105 -105
  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 +114 -114
  656. package/dist/tool/read-filesystem.js +100 -100
  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/util/error-summary.js +1 -1
  661. package/dist/util/error.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/iife.js +1 -1
  664. package/dist/util/lazy.js +1 -1
  665. package/dist/util/slug.js +1 -1
  666. package/dist/util/token.js +1 -1
  667. package/dist/util/which.js +1 -1
  668. package/dist/util/wildcard.js +1 -1
  669. package/dist/v1/config/agent.js +7 -7
  670. package/dist/v1/config/attachment.js +4 -4
  671. package/dist/v1/config/command.js +3 -3
  672. package/dist/v1/config/config.js +16 -16
  673. package/dist/v1/config/error.js +4 -4
  674. package/dist/v1/config/formatter.js +7 -7
  675. package/dist/v1/config/layout.js +1 -1
  676. package/dist/v1/config/lsp.js +3 -3
  677. package/dist/v1/config/mcp.js +4 -4
  678. package/dist/v1/config/migrate.js +92 -92
  679. package/dist/v1/config/permission.js +7 -7
  680. package/dist/v1/config/plugin.js +3 -3
  681. package/dist/v1/config/provider-options.js +1 -1
  682. package/dist/v1/config/provider.js +4 -4
  683. package/dist/v1/config/server.js +2 -2
  684. package/dist/v1/config/skills.js +3 -3
  685. package/dist/v1/permission.js +1 -1
  686. package/dist/variant.js +91 -91
  687. package/dist/vcs/patch.js +1 -1
  688. package/dist/vcs.js +85 -85
  689. package/dist/websearch.js +84 -84
  690. package/dist/wellknown/plugin.js +76 -76
  691. package/dist/wellknown.js +81 -81
  692. package/dist/workspace/driver.js +5 -5
  693. package/dist/workspace/sql.js +1 -1
  694. package/dist/workspace.js +78 -78
  695. package/dist/worktree/directory.js +2 -2
  696. package/dist/worktree/git.js +10 -10
  697. package/dist/worktree/sql.js +5 -5
  698. package/dist/worktree/strategies.js +89 -89
  699. package/dist/worktree.js +98 -98
  700. package/package.json +8 -8
  701. package/dist/chunks/generate-2xexx0cn.js +0 -507
  702. package/dist/chunks/generate-fnkhvjm5.js +0 -26
  703. package/dist/chunks/generate-gz4nb8qn.js +0 -252
  704. /package/dist/chunks/{generate-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  705. /package/dist/chunks/{generate-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  706. /package/dist/chunks/{generate-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  707. /package/dist/chunks/{generate-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  708. /package/dist/chunks/{generate-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
  709. /package/dist/chunks/{generate-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
  710. /package/dist/chunks/{generate-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  711. /package/dist/chunks/{generate-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
  712. /package/dist/chunks/{generate-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  713. /package/dist/chunks/{generate-34c7v6d4.js → model-resolver-34c7v6d4.js} +0 -0
  714. /package/dist/chunks/{generate-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{generate-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  716. /package/dist/chunks/{generate-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{generate-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
  718. /package/dist/chunks/{generate-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{generate-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{generate-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{generate-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
  722. /package/dist/chunks/{generate-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  723. /package/dist/chunks/{generate-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  724. /package/dist/chunks/{generate-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  725. /package/dist/chunks/{generate-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  726. /package/dist/chunks/{generate-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  727. /package/dist/chunks/{generate-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  728. /package/dist/chunks/{generate-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  729. /package/dist/chunks/{generate-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  730. /package/dist/chunks/{generate-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  731. /package/dist/chunks/{generate-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
  732. /package/dist/chunks/{generate-922hggd3.js → model-resolver-922hggd3.js} +0 -0
  733. /package/dist/chunks/{generate-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  734. /package/dist/chunks/{generate-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  735. /package/dist/chunks/{generate-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
  736. /package/dist/chunks/{generate-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  737. /package/dist/chunks/{generate-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  738. /package/dist/chunks/{generate-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  739. /package/dist/chunks/{generate-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  740. /package/dist/chunks/{generate-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  741. /package/dist/chunks/{generate-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  742. /package/dist/chunks/{generate-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  743. /package/dist/chunks/{generate-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  744. /package/dist/chunks/{generate-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  745. /package/dist/chunks/{generate-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  746. /package/dist/chunks/{generate-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
  747. /package/dist/chunks/{generate-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  748. /package/dist/chunks/{generate-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  749. /package/dist/chunks/{generate-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  750. /package/dist/chunks/{generate-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  751. /package/dist/chunks/{generate-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
  752. /package/dist/chunks/{generate-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
  753. /package/dist/chunks/{generate-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
  754. /package/dist/chunks/{generate-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  755. /package/dist/chunks/{generate-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  756. /package/dist/chunks/{generate-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  757. /package/dist/chunks/{generate-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  758. /package/dist/chunks/{generate-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  759. /package/dist/chunks/{generate-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
  760. /package/dist/chunks/{generate-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  761. /package/dist/chunks/{generate-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  762. /package/dist/chunks/{generate-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  763. /package/dist/chunks/{generate-gftt206x.js → model-resolver-gftt206x.js} +0 -0
  764. /package/dist/chunks/{generate-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
  765. /package/dist/chunks/{generate-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  766. /package/dist/chunks/{generate-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  767. /package/dist/chunks/{generate-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  768. /package/dist/chunks/{generate-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
  769. /package/dist/chunks/{generate-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  770. /package/dist/chunks/{generate-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  771. /package/dist/chunks/{generate-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  772. /package/dist/chunks/{generate-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  773. /package/dist/chunks/{generate-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  774. /package/dist/chunks/{generate-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  775. /package/dist/chunks/{generate-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  776. /package/dist/chunks/{generate-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  777. /package/dist/chunks/{generate-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  778. /package/dist/chunks/{generate-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  779. /package/dist/chunks/{generate-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
  780. /package/dist/chunks/{generate-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  781. /package/dist/chunks/{generate-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  782. /package/dist/chunks/{generate-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
  783. /package/dist/chunks/{generate-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  784. /package/dist/chunks/{generate-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  785. /package/dist/chunks/{generate-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  786. /package/dist/chunks/{generate-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
  787. /package/dist/chunks/{generate-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  788. /package/dist/chunks/{generate-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  789. /package/dist/chunks/{generate-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
  790. /package/dist/chunks/{generate-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  791. /package/dist/chunks/{generate-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  792. /package/dist/chunks/{generate-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  793. /package/dist/chunks/{generate-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  794. /package/dist/chunks/{generate-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  795. /package/dist/chunks/{generate-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
  796. /package/dist/chunks/{generate-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
  797. /package/dist/chunks/{generate-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  798. /package/dist/chunks/{generate-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
  799. /package/dist/chunks/{generate-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  __export
3
- } from "./generate-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/instance/service.ts
6
6
  var exports_service2 = {};
7
7
  __export(exports_service2, {
8
8
  Instance: () => exports_service2,
9
- Service: () => Service35,
10
- node: () => node37
9
+ Service: () => Service40,
10
+ node: () => node42
11
11
  });
12
12
  import { Context } from "effect";
13
13
  import { Node } from "@opencode/util/effect/app-node";
14
14
  import { LayerNode } from "@opencode/util/effect/layer-node";
15
15
 
16
- class Service35 extends Context.Service()("@opencode/Instance") {
16
+ class Service40 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node37 = LayerNode.unbound(Service35, Node.tags.values.global);
18
+ var node42 = LayerNode.unbound(Service40, Node.tags.values.global);
19
19
 
20
- export { Service35, node37, exports_service2 };
20
+ export { Service40, node42, exports_service2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./generate-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./generate-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./generate-922hggd3.js";
3
+ } from "./model-resolver-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./generate-9rqn6x4v.js";
6
+ } from "./model-resolver-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/attachment.ts
9
9
  var exports_attachment = {};
10
10
  __export(exports_attachment, {
11
11
  ConfigAttachmentV1: () => exports_attachment,
12
12
  Image: () => Image2,
13
- Info: () => Info22
13
+ Info: () => Info19
14
14
  });
15
15
  import { Schema } from "effect";
16
16
  var Image2 = Schema.Struct({
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
27
27
  description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
28
28
  })
29
29
  }).annotate({ identifier: "ImageAttachmentConfig" });
30
- var Info22 = Schema.Struct({
30
+ var Info19 = Schema.Struct({
31
31
  image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
32
32
  }).annotate({ identifier: "AttachmentConfig" });
33
33
 
34
- export { Image2, Info22, exports_attachment };
34
+ export { Image2, Info19, exports_attachment };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./generate-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/util/error-summary.ts
6
6
  var exports_error_summary = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./generate-gftt206x.js";
3
+ } from "./model-resolver-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./generate-jexxy024.js";
6
+ } from "./model-resolver-5cmxdwv8.js";
7
7
  import {
8
8
  MessageDecodeError2
9
- } from "./generate-h316b9n0.js";
9
+ } from "./model-resolver-n3vygs5b.js";
10
10
  import {
11
11
  InitializationBlocked2,
12
12
  read3
13
- } from "./generate-rhjbct0v.js";
13
+ } from "./model-resolver-eaj1djv9.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./generate-z07pqspn.js";
16
+ } from "./model-resolver-z07pqspn.js";
17
17
  import {
18
18
  initial2,
19
19
  preview3
20
- } from "./generate-mvksx64m.js";
20
+ } from "./model-resolver-wq4mmp7m.js";
21
21
  import {
22
22
  compatible2,
23
23
  isCheckpoint2,
24
24
  validate2
25
- } from "./generate-h9wp8z5w.js";
25
+ } from "./model-resolver-s30fyz93.js";
26
26
  import {
27
27
  __export
28
- } from "./generate-9rqn6x4v.js";
28
+ } from "./model-resolver-9rqn6x4v.js";
29
29
 
30
30
  // src/session/history.ts
31
31
  var exports_history = {};
@@ -35,7 +35,7 @@ __export(exports_history, {
35
35
  entriesForRunner: () => entriesForRunner2,
36
36
  firstUserMessage: () => firstUserMessage2,
37
37
  latestCompaction: () => latestCompaction2,
38
- load: () => load4,
38
+ load: () => load5,
39
39
  preview: () => preview2
40
40
  });
41
41
  import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
56
56
  const native = entries.findLast((entry) => isCheckpoint2(entry.message));
57
57
  return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
58
58
  });
59
- var load4 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
59
+ var load5 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
60
60
  return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
61
61
  });
62
62
  var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
92
92
  return message?.type === "user" ? message : undefined;
93
93
  });
94
94
 
95
- export { latestCompaction2, decodeMessageRow2, load4, entriesForRunner2, preview2, firstUserMessage2, exports_history };
95
+ export { latestCompaction2, decodeMessageRow2, load5, entriesForRunner2, preview2, firstUserMessage2, exports_history };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  latest2,
3
- Service63
4
- } from "./generate-k9v3gyrk.js";
3
+ Service58
4
+ } from "./model-resolver-cp17smcp.js";
5
5
  import {
6
6
  observe2
7
- } from "./generate-qsdy395h.js";
7
+ } from "./model-resolver-qsdy395h.js";
8
8
  import {
9
9
  __export
10
- } from "./generate-9rqn6x4v.js";
10
+ } from "./model-resolver-9rqn6x4v.js";
11
11
 
12
12
  // src/config/plugin/websearch.ts
13
13
  var exports_websearch = {};
@@ -20,7 +20,7 @@ import { Effect } from "effect";
20
20
  var Plugin22 = define({
21
21
  id: "opencode.config.websearch",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const config = yield* Service63;
23
+ const config = yield* Service58;
24
24
  const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
25
25
  yield* ctx.websearch.transform((websearch) => {
26
26
  const selection = latest2(loaded.entries, "websearch");
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./generate-9pj3ea5v.js";
4
+ } from "./model-resolver-0703wr40.js";
5
5
  import {
6
- Key4,
7
- Service78,
8
- node82
9
- } from "./generate-4yq8704b.js";
6
+ Key3,
7
+ Service72,
8
+ node76
9
+ } from "./model-resolver-ghdxkhwt.js";
10
10
  import {
11
11
  create3
12
- } from "./generate-rdw6cm16.js";
12
+ } from "./model-resolver-rdw6cm16.js";
13
13
  import {
14
14
  key2
15
- } from "./generate-dnxkq42g.js";
15
+ } from "./model-resolver-y6bex35g.js";
16
16
  import {
17
17
  validateAnswer2,
18
18
  validateFields2
19
- } from "./generate-q67tqqz3.js";
19
+ } from "./model-resolver-c75ppnt9.js";
20
20
  import {
21
21
  __export
22
- } from "./generate-9rqn6x4v.js";
22
+ } from "./model-resolver-9rqn6x4v.js";
23
23
 
24
24
  // src/integration.ts
25
25
  var exports_integration = {};
@@ -34,17 +34,17 @@ __export(exports_integration, {
34
34
  CommandAttemptStatus: () => CommandAttemptStatus2,
35
35
  CommandMethod: () => CommandMethod2,
36
36
  EnvMethod: () => EnvMethod2,
37
- Event: () => Event18,
38
- ID: () => ID14,
39
- Info: () => Info28,
37
+ Event: () => Event16,
38
+ ID: () => ID10,
39
+ Info: () => Info24,
40
40
  Integration: () => exports_integration,
41
41
  KeyMethod: () => KeyMethod2,
42
42
  Method: () => Method2,
43
43
  MethodID: () => MethodID2,
44
44
  OAuthMethod: () => OAuthMethod2,
45
45
  Ref: () => Ref3,
46
- Service: () => Service77,
47
- node: () => node81
46
+ Service: () => Service71,
47
+ node: () => node75
48
48
  });
49
49
  import { makeLocationNode } from "@opencode/util/effect/app-node";
50
50
  import {
@@ -66,8 +66,8 @@ import {
66
66
  import { Integration } from "@opencode/schema/integration";
67
67
  import { AppProcess } from "@opencode/util/process";
68
68
  import { ChildProcess } from "effect/unstable/process";
69
- import { Event as Event18 } from "@opencode/schema/integration";
70
- var ID14 = Integration.ID;
69
+ import { Event as Event16 } from "@opencode/schema/integration";
70
+ var ID10 = Integration.ID;
71
71
  var MethodID2 = Integration.MethodID;
72
72
  var AttemptID2 = Integration.AttemptID;
73
73
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -75,7 +75,7 @@ var CommandMethod2 = Integration.CommandMethod;
75
75
  var KeyMethod2 = Integration.KeyMethod;
76
76
  var EnvMethod2 = Integration.EnvMethod;
77
77
  var Method2 = Integration.Method;
78
- var Info28 = Integration.Info;
78
+ var Info24 = Integration.Info;
79
79
  var Attempt2 = Integration.Attempt;
80
80
  var AttemptStatus2 = Integration.AttemptStatus;
81
81
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -98,19 +98,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
98
98
  }
99
99
 
100
100
  class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
101
- integrationID: ID14,
101
+ integrationID: ID10,
102
102
  attemptID: AttemptID2
103
103
  }) {
104
104
  }
105
105
  var Ref3 = Integration.Ref;
106
106
 
107
- class Service77 extends Context.Service()("@opencode/Integration") {
107
+ class Service71 extends Context.Service()("@opencode/Integration") {
108
108
  }
109
109
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
110
110
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
111
111
  var scrubInterval = Duration.seconds(30);
112
- var layer = Layer.effect(Service77, Effect.gen(function* () {
113
- const credentials = yield* Service78;
112
+ var layer = Layer.effect(Service71, Effect.gen(function* () {
113
+ const credentials = yield* Service72;
114
114
  const bus = yield* Service83;
115
115
  const processes = yield* AppProcess.Service;
116
116
  const scope = yield* Scope.Scope;
@@ -207,7 +207,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
207
207
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
208
208
  return [...credentials, ...env];
209
209
  };
210
- const project = (entry, connections) => Info28.make({
210
+ const project = (entry, connections) => Info24.make({
211
211
  id: entry.ref.id,
212
212
  name: entry.ref.name,
213
213
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -294,7 +294,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
294
294
  const persistence = yield* createCredential({
295
295
  integrationID: attempt.integrationID,
296
296
  label: attempt.label,
297
- value: Key4.make({ type: "key", key: exit.value })
297
+ value: Key3.make({ type: "key", key: exit.value })
298
298
  }).pipe(Effect.asVoid, Effect.exit);
299
299
  const settledAt = yield* Clock.currentTimeMillis;
300
300
  const terminal = Exit.isSuccess(persistence) ? {
@@ -440,7 +440,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
440
440
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
441
441
  return CommandAttempt2.make({ attemptID, time });
442
442
  });
443
- return Service77.of({
443
+ return Service71.of({
444
444
  transform: state.transform,
445
445
  reload: state.reload,
446
446
  revision: state.revision,
@@ -462,7 +462,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
462
462
  resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
463
463
  if (connection.type === "env") {
464
464
  const key = process.env[connection.name];
465
- return key ? Key4.make({ type: "key", key }) : undefined;
465
+ return key ? Key3.make({ type: "key", key }) : undefined;
466
466
  }
467
467
  const credential = yield* credentials.get(connection.id);
468
468
  if (!credential)
@@ -495,7 +495,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
495
495
  yield* createCredential({
496
496
  integrationID: input.integrationID,
497
497
  label: input.label,
498
- value: Key4.make({
498
+ value: Key3.make({
499
499
  type: "key",
500
500
  key: input.key,
501
501
  ...Object.keys(answer).length > 0 ? { configuration: answer } : {}
@@ -599,10 +599,10 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
599
599
  }
600
600
  });
601
601
  }));
602
- var node81 = makeLocationNode({
603
- service: Service77,
602
+ var node75 = makeLocationNode({
603
+ service: Service71,
604
604
  layer,
605
- deps: [node82, node87, AppProcess.node]
605
+ deps: [node76, node87, AppProcess.node]
606
606
  });
607
607
 
608
- export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info28, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service77, node81, exports_integration, Event18 };
608
+ export { ID10, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info24, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service71, node75, exports_integration, Event16 };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service79
3
- } from "./generate-q67tqqz3.js";
2
+ Service73
3
+ } from "./model-resolver-c75ppnt9.js";
4
4
  import {
5
- Service57
6
- } from "./generate-vkzgvsaw.js";
5
+ Service75
6
+ } from "./model-resolver-et0bpsn8.js";
7
7
  import {
8
8
  __export
9
- } from "./generate-9rqn6x4v.js";
9
+ } from "./model-resolver-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/plugin/question.ts
12
12
  var exports_question = {};
13
13
  __export(exports_question, {
14
14
  CancelledError: () => CancelledError2,
15
- Input: () => Input14,
15
+ Input: () => Input13,
16
16
  Output: () => Output9,
17
17
  Plugin: () => Plugin50,
18
18
  QuestionTool: () => exports_question,
19
19
  description: () => description6,
20
- name: () => name13,
20
+ name: () => name14,
21
21
  toModelContent: () => toModelContent7
22
22
  });
23
23
  import { ToolFailure } from "@opencode/ai";
24
24
  import { Effect, Schema } from "effect";
25
25
  import { Question } from "@opencode/schema/question";
26
- var name13 = "question";
26
+ var name14 = "question";
27
27
  var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
28
28
  1. Gather user preferences or requirements
29
29
  2. Clarify ambiguous instructions
@@ -34,7 +34,7 @@ Usage notes:
34
34
  - A "Type your own answer" option is added automatically; don't include a separate option for free form answers
35
35
  - Set \`multiple: true\` to allow selecting more than one option
36
36
  - If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
37
- var Input14 = Schema.Struct({
37
+ var Input13 = Schema.Struct({
38
38
  questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
39
39
  });
40
40
  var Output9 = Schema.Struct({
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
53
53
  var Plugin50 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
- const forms = yield* Service79;
57
- const permission = yield* Service57;
56
+ const forms = yield* Service73;
57
+ const permission = yield* Service75;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
- name: name13,
59
+ name: name14,
60
60
  options: { codemode: false },
61
61
  description: description6,
62
- input: Input14,
62
+ input: Input13,
63
63
  output: Output9,
64
64
  execute: (input, context) => permission.assert({
65
65
  action: "question",
@@ -117,4 +117,4 @@ function toField(question, index) {
117
117
  };
118
118
  }
119
119
 
120
- export { name13, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
120
+ export { name14, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
@@ -1,35 +1,35 @@
1
1
  import {
2
- ID9,
3
- Service60
4
- } from "./generate-ez6a7f19.js";
2
+ ID15,
3
+ Service79
4
+ } from "./model-resolver-655b29a3.js";
5
5
  import {
6
6
  Service80
7
- } from "./generate-zv45bf8x.js";
7
+ } from "./model-resolver-774mep86.js";
8
8
  import {
9
- Service63
10
- } from "./generate-k9v3gyrk.js";
9
+ Service58
10
+ } from "./model-resolver-cp17smcp.js";
11
11
  import {
12
- Service68,
12
+ Service57,
13
13
  args2
14
- } from "./generate-jb9mn43j.js";
14
+ } from "./model-resolver-zw9m0b6f.js";
15
15
  import {
16
- Service18
17
- } from "./generate-dqvb69t0.js";
16
+ Service15
17
+ } from "./model-resolver-54gavh75.js";
18
18
  import {
19
19
  make10
20
- } from "./generate-pgperwgr.js";
20
+ } from "./model-resolver-gbzb20p6.js";
21
21
  import {
22
22
  parseOption2
23
- } from "./generate-5daktx2q.js";
23
+ } from "./model-resolver-5daktx2q.js";
24
24
  import {
25
25
  __export
26
- } from "./generate-9rqn6x4v.js";
26
+ } from "./model-resolver-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/command.ts
29
29
  var exports_command2 = {};
30
30
  __export(exports_command2, {
31
31
  ConfigCommandPlugin: () => exports_command2,
32
- Plugin: () => Plugin21
32
+ Plugin: () => Plugin27
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { ConfigCommand } from "@opencode/schema/config/command";
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
41
41
  import { ChildProcess } from "effect/unstable/process";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
43
  var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
44
- var Plugin21 = define({
44
+ var Plugin27 = define({
45
45
  id: "opencode.config.command",
46
46
  effect: Effect.fn(function* (ctx) {
47
- const config = yield* Service63;
47
+ const config = yield* Service58;
48
48
  const fs = yield* FSUtil.Service;
49
49
  const loadEntry = Effect.fnUntraced(function* (entry) {
50
50
  if (entry.type === "document")
@@ -56,9 +56,9 @@ var Plugin21 = define({
56
56
  });
57
57
  const location = yield* Service80;
58
58
  const processes = yield* AppProcess.Service;
59
- const shell = yield* Service68;
60
- const sessions = yield* Service18;
61
- const agents = yield* Service60;
59
+ const shell = yield* Service57;
60
+ const sessions = yield* Service15;
61
+ const agents = yield* Service79;
62
62
  const subagents = yield* make10;
63
63
  const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
64
64
  return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
@@ -80,7 +80,7 @@ var Plugin21 = define({
80
80
  name,
81
81
  description: command.description,
82
82
  execute: (input) => Effect.gen(function* () {
83
- const agent = command.agent === undefined ? undefined : ID9.make(command.agent);
83
+ const agent = command.agent === undefined ? undefined : ID15.make(command.agent);
84
84
  const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
85
85
  const model = command.model === undefined ? commandAgent?.model : {
86
86
  id: Model.ID.make(command.model.model),
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
204
204
  var quoteTrimRegex = /^["']|["']$/g;
205
205
  var shellRegex = /!`([^`]+)`/g;
206
206
 
207
- export { Plugin21, exports_command2 };
207
+ export { Plugin27, exports_command2 };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  useragent2
3
- } from "./generate-3pncb000.js";
3
+ } from "./model-resolver-8k0g7am2.js";
4
4
  import {
5
5
  Service83
6
- } from "./generate-9pj3ea5v.js";
6
+ } from "./model-resolver-0703wr40.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./generate-4yq8704b.js";
9
+ Event17
10
+ } from "./model-resolver-ghdxkhwt.js";
11
11
  import {
12
12
  key2
13
- } from "./generate-dnxkq42g.js";
13
+ } from "./model-resolver-y6bex35g.js";
14
14
  import {
15
- ID14,
15
+ ID10,
16
16
  MethodID2,
17
17
  AuthorizationError2
18
- } from "./generate-4x9ewffz.js";
18
+ } from "./model-resolver-4ff0zxak.js";
19
19
  import {
20
- Service13
21
- } from "./generate-k1qrnqst.js";
20
+ Service41
21
+ } from "./model-resolver-b00xvs8t.js";
22
22
  import {
23
- ID13,
23
+ ID9,
24
24
  mergeOverlay2,
25
25
  mergeHeaders2
26
- } from "./generate-kmg0ctnh.js";
26
+ } from "./model-resolver-r938b5ge.js";
27
27
  import {
28
- ID3,
29
- Input13,
28
+ ID5,
29
+ Input14,
30
30
  Response2
31
- } from "./generate-7bja5kqe.js";
31
+ } from "./model-resolver-2e7f4xd3.js";
32
32
 
33
33
  // src/plugin/provider/opencode.ts
34
34
  import { Duration, Effect, Equal, Option, Schema, Scope, Semaphore, Stream } from "effect";
@@ -44,7 +44,7 @@ var methodID = MethodID2.make("device");
44
44
  var RemoteResponse = Schema.Struct({
45
45
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
46
46
  websearch: Schema.Struct({
47
- providerID: ID3
47
+ providerID: ID5
48
48
  }).pipe(Schema.optional),
49
49
  mcp: Schema.Struct({
50
50
  servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
@@ -96,7 +96,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
96
96
  }
97
97
  function oauth(http) {
98
98
  return {
99
- integrationID: ID14.make("opencode"),
99
+ integrationID: ID10.make("opencode"),
100
100
  method: {
101
101
  id: methodID,
102
102
  type: "oauth",
@@ -163,7 +163,7 @@ var OpencodePlugin2 = define({
163
163
  const bus = yield* Service83;
164
164
  const client = yield* HttpClient.HttpClient;
165
165
  const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
166
- const managed = yield* Service13;
166
+ const managed = yield* Service41;
167
167
  const scope = yield* Scope.Scope;
168
168
  const loading = Semaphore.makeUnsafe(1);
169
169
  let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
@@ -212,7 +212,7 @@ var OpencodePlugin2 = define({
212
212
  providers.update(providerID, (provider) => {
213
213
  if (source && source.provider !== provider)
214
214
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
215
- provider.integrationID = ID14.make("opencode");
215
+ provider.integrationID = ID10.make("opencode");
216
216
  if (item.canonical !== undefined)
217
217
  provider.canonical = item.canonical;
218
218
  if (item.name !== undefined)
@@ -282,7 +282,7 @@ var OpencodePlugin2 = define({
282
282
  sourceConnection: snapshot.connection
283
283
  });
284
284
  }
285
- const item = providers.get(ID13.opencode);
285
+ const item = providers.get(ID9.opencode);
286
286
  if (!item)
287
287
  return;
288
288
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -294,7 +294,7 @@ var OpencodePlugin2 = define({
294
294
  });
295
295
  });
296
296
  yield* ctx.model.transform((models) => {
297
- const item = models.provider.get(ID13.opencode);
297
+ const item = models.provider.get(ID9.opencode);
298
298
  if (!item)
299
299
  return;
300
300
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -328,7 +328,7 @@ var OpencodePlugin2 = define({
328
328
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
329
329
  const token = credential.type === "oauth" ? credential.access : credential.key;
330
330
  const server = yield* normalizeServer(serverUrl(credential));
331
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
331
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
332
332
  query: input.query,
333
333
  providerID: descriptor.providerID
334
334
  }));
@@ -383,10 +383,10 @@ var OpencodePlugin2 = define({
383
383
  });
384
384
  const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
385
385
  yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
386
- explainers = yield* Effect.forEach(next.connection ? new Set([ID13.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
386
+ explainers = yield* Effect.forEach(next.connection ? new Set([ID9.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
387
387
  });
388
388
  yield* guard(snapshot);
389
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
389
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
390
390
  yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
391
391
  })
392
392
  });
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  definition2
3
- } from "./generate-3w5fmr99.js";
3
+ } from "./model-resolver-3w5fmr99.js";
4
4
  import {
5
5
  __export
6
- } from "./generate-9rqn6x4v.js";
6
+ } from "./model-resolver-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/tool-input-repair.ts
9
9
  var exports_tool_input_repair = {};
10
10
  __export(exports_tool_input_repair, {
11
- Plugin: () => Plugin15,
11
+ Plugin: () => Plugin12,
12
12
  ToolInputRepairPlugin: () => exports_tool_input_repair
13
13
  });
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Effect, Option, Predicate, Schema } from "effect";
16
16
  var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
17
17
  var maxDepth = 6;
18
- var Plugin15 = define({
18
+ var Plugin12 = define({
19
19
  id: "opencode.tool.input.repair",
20
20
  effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
21
21
  if (event.tool === "execute")
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
120
120
  return compatible ? [repaired] : value;
121
121
  }
122
122
 
123
- export { Plugin15, exports_tool_input_repair };
123
+ export { Plugin12, exports_tool_input_repair };