@opencode/core 2.0.24 → 2.0.25

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 +82 -81
  3. package/dist/aisdk-native.js +90 -89
  4. package/dist/aisdk.js +95 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +70 -69
  7. package/dist/chunks/{repository-w7a2abxy.js → variant-02yyzjed.js} +12 -12
  8. package/dist/chunks/{repository-qy0n8417.js → variant-05a2ta09.js} +26 -26
  9. package/dist/chunks/{repository-2wredcz9.js → variant-06ednycw.js} +17 -17
  10. package/dist/chunks/{repository-eqh5fpv6.js → variant-06r90ppk.js} +11 -11
  11. package/dist/chunks/{repository-qne3fa44.js → variant-0bwnrbmb.js} +5 -5
  12. package/dist/chunks/{repository-9mxexfbd.js → variant-0jt3mewy.js} +14 -14
  13. package/dist/chunks/{repository-0paq2nw3.js → variant-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{repository-0vbcp93d.js → variant-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{repository-tgah08rb.js → variant-13ffgj4a.js} +27 -27
  16. package/dist/chunks/{repository-fj3b7143.js → variant-16m3yhsa.js} +8 -8
  17. package/dist/chunks/{repository-erq8vxjr.js → variant-18zb0skh.js} +1 -1
  18. package/dist/chunks/{repository-p5ev1zz5.js → variant-199h81f9.js} +9 -9
  19. package/dist/chunks/variant-1a37t69z.js +53 -0
  20. package/dist/chunks/{repository-1dazxqgg.js → variant-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{repository-dbp4m4ge.js → variant-1dj608qj.js} +25 -25
  22. package/dist/chunks/{repository-1dvck2a7.js → variant-1dvck2a7.js} +2 -2
  23. package/dist/chunks/{repository-9yaf30yb.js → variant-1eg5vsqb.js} +37 -37
  24. package/dist/chunks/{repository-56gyfky0.js → variant-1fhrtjm6.js} +5 -5
  25. package/dist/chunks/{repository-89za3yyg.js → variant-1gpb38yh.js} +9 -9
  26. package/dist/chunks/{repository-32xj3ztx.js → variant-1h07amyp.js} +42 -38
  27. package/dist/chunks/{repository-k37ga4vh.js → variant-1j2s48r7.js} +8 -8
  28. package/dist/chunks/{repository-yfe405ny.js → variant-1kg0adek.js} +10 -10
  29. package/dist/chunks/{repository-5r637m3f.js → variant-1m9c4w4n.js} +45 -45
  30. package/dist/chunks/{repository-042aawn8.js → variant-1x2vtrrc.js} +20 -20
  31. package/dist/chunks/{repository-56gdpj1q.js → variant-1ygqh575.js} +9 -9
  32. package/dist/chunks/{repository-ntaqe8vs.js → variant-27cddewx.js} +24 -24
  33. package/dist/chunks/{repository-espax8zg.js → variant-29qym6xz.js} +4 -4
  34. package/dist/chunks/{repository-2a5m3afh.js → variant-2a5m3afh.js} +1 -1
  35. package/dist/chunks/{repository-h2yw0gk4.js → variant-2hpcj340.js} +25 -25
  36. package/dist/chunks/{repository-gc135ar8.js → variant-2nbt55tc.js} +8 -8
  37. package/dist/chunks/{repository-q0cdrezg.js → variant-2r25bgdf.js} +16 -16
  38. package/dist/chunks/{repository-gkcjs2dn.js → variant-2rehhz5t.js} +11 -11
  39. package/dist/chunks/{repository-96ctqc5x.js → variant-30krspkn.js} +4 -4
  40. package/dist/chunks/{repository-7wnc14t4.js → variant-397njdte.js} +21 -21
  41. package/dist/chunks/{repository-56a9smke.js → variant-3bz51e45.js} +15 -15
  42. package/dist/chunks/{repository-h6c2yg5r.js → variant-3cmsdac1.js} +8 -8
  43. package/dist/chunks/{repository-3fc6dm20.js → variant-3fc6dm20.js} +1 -1
  44. package/dist/chunks/{repository-3556dn8t.js → variant-3g8j9he4.js} +4 -3
  45. package/dist/chunks/{repository-3hepkmqq.js → variant-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{repository-ef2cw19s.js → variant-3hfcgw97.js} +10 -10
  47. package/dist/chunks/{repository-3smtnn6g.js → variant-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{repository-3tvqynh2.js → variant-3tvqynh2.js} +1 -1
  49. package/dist/chunks/{repository-3zsf4n22.js → variant-3zsf4n22.js} +1 -1
  50. package/dist/chunks/{repository-77apbbcp.js → variant-452vf9ez.js} +105 -68
  51. package/dist/chunks/{repository-3vy5pcbx.js → variant-45tbjbdt.js} +52 -39
  52. package/dist/chunks/{repository-4y69v0zr.js → variant-49bhe2dh.js} +13 -13
  53. package/dist/chunks/{repository-4z7pkycv.js → variant-4acq55hh.js} +19 -19
  54. package/dist/chunks/{repository-4ege8dpt.js → variant-4es70h3r.js} +16 -16
  55. package/dist/chunks/{repository-cs63tcvs.js → variant-4m7gr2sz.js} +9 -9
  56. package/dist/chunks/{repository-6r4hjhnf.js → variant-4p4e40p5.js} +16 -16
  57. package/dist/chunks/{repository-z6b5w8cf.js → variant-4s3kxd3m.js} +2 -2
  58. package/dist/chunks/{repository-2ccvkpx1.js → variant-4ts7tf6z.js} +2 -2
  59. package/dist/chunks/{repository-54ma36ye.js → variant-54ma36ye.js} +1 -1
  60. package/dist/chunks/{repository-xvvw76kz.js → variant-568a5em1.js} +7 -7
  61. package/dist/chunks/{repository-kxam66j6.js → variant-5f219ejc.js} +13 -13
  62. package/dist/chunks/{repository-vt8dt6j6.js → variant-5hxx4pyd.js} +32 -32
  63. package/dist/chunks/{repository-5m9w47nd.js → variant-5m9w47nd.js} +1 -1
  64. package/dist/chunks/{repository-q76xcmv9.js → variant-5nzezdf7.js} +16 -16
  65. package/dist/chunks/{repository-e3qxr5gk.js → variant-5qd3pb7m.js} +2 -2
  66. package/dist/chunks/{repository-5t3nmthw.js → variant-5t3nmthw.js} +2 -2
  67. package/dist/chunks/{repository-7c08hygz.js → variant-5ygzbsd1.js} +11 -11
  68. package/dist/chunks/{repository-jnevnthy.js → variant-61btxmby.js} +27 -27
  69. package/dist/chunks/{repository-xhv84ab7.js → variant-68pftax3.js} +26 -26
  70. package/dist/chunks/{repository-vngdzw63.js → variant-6adhvgr3.js} +33 -29
  71. package/dist/chunks/{repository-xpwv3d90.js → variant-6hcewhx6.js} +9 -9
  72. package/dist/chunks/{repository-gpng080p.js → variant-6jjgb46x.js} +17 -17
  73. package/dist/chunks/{repository-h6qw898r.js → variant-6knrp48h.js} +11 -11
  74. package/dist/chunks/{repository-dfcrteyq.js → variant-6s97e1y4.js} +13 -13
  75. package/dist/chunks/{repository-6xb47vfp.js → variant-6xb47vfp.js} +1 -1
  76. package/dist/chunks/{repository-y1w7bwtd.js → variant-71238w16.js} +20 -20
  77. package/dist/chunks/{repository-71az546q.js → variant-71az546q.js} +2 -2
  78. package/dist/chunks/{repository-hp7m3mgg.js → variant-74d5t6nd.js} +26 -26
  79. package/dist/chunks/{repository-05t95569.js → variant-77q2g51s.js} +20 -20
  80. package/dist/chunks/{repository-5pptr25h.js → variant-78xwejay.js} +4 -4
  81. package/dist/chunks/{repository-d4he2qe1.js → variant-79qaa2kf.js} +9 -9
  82. package/dist/chunks/{repository-7bmhse3q.js → variant-7bmhse3q.js} +1 -1
  83. package/dist/chunks/{repository-47phkfqm.js → variant-7efsjjwe.js} +47 -47
  84. package/dist/chunks/{repository-g34b934z.js → variant-7hqrfg83.js} +25 -19
  85. package/dist/chunks/{repository-tk5m56y0.js → variant-7mxeeg2g.js} +13 -13
  86. package/dist/chunks/{repository-zhwzkc0c.js → variant-7nbd6e42.js} +18 -18
  87. package/dist/chunks/{repository-y6mhs71q.js → variant-7sbksatv.js} +4 -4
  88. package/dist/chunks/{repository-rjfypheq.js → variant-7x1g6g7e.js} +25 -25
  89. package/dist/chunks/{repository-84txncab.js → variant-84txncab.js} +1 -1
  90. package/dist/chunks/variant-84wd9syh.js +19 -0
  91. package/dist/chunks/{repository-k70p9jzb.js → variant-8a6ws7jr.js} +9 -9
  92. package/dist/chunks/{repository-g50bcqhp.js → variant-8a6z9e34.js} +4 -4
  93. package/dist/chunks/{repository-8hjmwb77.js → variant-8aa1p7b5.js} +29 -21
  94. package/dist/chunks/{repository-8d7r5vzw.js → variant-8d7r5vzw.js} +1 -1
  95. package/dist/chunks/{repository-mfct962c.js → variant-8hg3mrb3.js} +49 -19
  96. package/dist/chunks/{repository-5daktx2q.js → variant-8m6m0r52.js} +3 -3
  97. package/dist/chunks/{repository-cb3fgacg.js → variant-8pmm23xh.js} +23 -23
  98. package/dist/chunks/{repository-c8bydgjz.js → variant-93ygb5af.js} +6 -6
  99. package/dist/chunks/{repository-t7y8x8j8.js → variant-964qn63g.js} +16 -16
  100. package/dist/chunks/{repository-f6sbv01c.js → variant-9bdjprtk.js} +54 -49
  101. package/dist/chunks/{repository-9e5bzkjp.js → variant-9e5bzkjp.js} +3 -3
  102. package/dist/chunks/{repository-hw3ewgqj.js → variant-9rrz4dkr.js} +11 -11
  103. package/dist/chunks/{repository-tbs2jyb2.js → variant-9sk57pab.js} +7 -7
  104. package/dist/chunks/{repository-9yxvhatz.js → variant-9ya6mhzs.js} +4 -4
  105. package/dist/chunks/{repository-0f0pgr2e.js → variant-9z2y94hd.js} +3 -3
  106. package/dist/chunks/{repository-tzy9a5tv.js → variant-9z8hbw8m.js} +29 -29
  107. package/dist/chunks/variant-9zdhvgqs.js +18 -0
  108. package/dist/chunks/{repository-q6vgfyay.js → variant-a34t0mpe.js} +6 -6
  109. package/dist/chunks/{repository-aaet6srn.js → variant-aaet6srn.js} +2 -2
  110. package/dist/chunks/{repository-addxnjmp.js → variant-addxnjmp.js} +1 -1
  111. package/dist/chunks/{repository-zvjhkatg.js → variant-ahd542yp.js} +8 -8
  112. package/dist/chunks/{repository-2455wr4j.js → variant-amhyrjtc.js} +15 -15
  113. package/dist/chunks/{repository-68ga000j.js → variant-ants6d3e.js} +43 -43
  114. package/dist/chunks/{repository-zyk1yjk8.js → variant-b3f8fkhc.js} +5 -5
  115. package/dist/chunks/{repository-b6gygkdw.js → variant-b6gygkdw.js} +2 -2
  116. package/dist/chunks/{repository-b3cm3psy.js → variant-bg4pcaf0.js} +7 -7
  117. package/dist/chunks/{repository-tdpndm1c.js → variant-bgs9y14h.js} +5 -5
  118. package/dist/chunks/{repository-hkgfm0m5.js → variant-bhkpa1rg.js} +24 -24
  119. package/dist/chunks/{repository-zk46kswf.js → variant-br07cpn8.js} +14 -14
  120. package/dist/chunks/variant-c4g8b3d2.js +91 -0
  121. package/dist/chunks/{repository-pk7hbv6p.js → variant-c4y3ge1t.js} +21 -6
  122. package/dist/chunks/{repository-ydszhw6d.js → variant-c53d495w.js} +24 -24
  123. package/dist/chunks/{repository-4azg6a58.js → variant-c964e3b9.js} +10 -10
  124. package/dist/chunks/{repository-2texf5vf.js → variant-cf0t0sq2.js} +22 -22
  125. package/dist/chunks/{repository-g69c5a8v.js → variant-d5qg661p.js} +16 -16
  126. package/dist/chunks/{repository-f8xdbq78.js → variant-dfdje5vc.js} +9 -9
  127. package/dist/chunks/variant-dhyj2516.js +253 -0
  128. package/dist/chunks/{repository-dpkg50ah.js → variant-dpkg50ah.js} +1 -1
  129. package/dist/chunks/{repository-16558gs3.js → variant-dr8qfpz2.js} +50 -50
  130. package/dist/chunks/{repository-drnf6xwf.js → variant-drnf6xwf.js} +2 -2
  131. package/dist/chunks/{repository-s9nwmxxs.js → variant-e29b4955.js} +30 -30
  132. package/dist/chunks/{repository-chyvjp63.js → variant-e8pjc55s.js} +16 -16
  133. package/dist/chunks/{repository-8tsdq50x.js → variant-eahhehpg.js} +4 -4
  134. package/dist/chunks/{repository-ef5x83kb.js → variant-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{repository-1bbkgx8g.js → variant-eq1pz5kg.js} +3 -3
  136. package/dist/chunks/{repository-s8qvywtq.js → variant-er7m31zp.js} +14 -14
  137. package/dist/chunks/{repository-etq0c3wd.js → variant-etq0c3wd.js} +1 -1
  138. package/dist/chunks/{repository-fy3w4x98.js → variant-ey895da0.js} +18 -18
  139. package/dist/chunks/{repository-23294nz8.js → variant-f4emsg9g.js} +26 -26
  140. package/dist/chunks/{repository-embw8kgh.js → variant-f73rjn58.js} +4 -4
  141. package/dist/chunks/{repository-5k54pn5m.js → variant-fgsd6912.js} +10 -10
  142. package/dist/chunks/{repository-zd30eb5w.js → variant-fhz5gfgy.js} +5 -5
  143. package/dist/chunks/{repository-rjsk0n41.js → variant-fmxe4r4y.js} +9 -9
  144. package/dist/chunks/{repository-9mhtj97w.js → variant-fn04q5tb.js} +26 -26
  145. package/dist/chunks/{repository-012g15cx.js → variant-fzjbfm8r.js} +13 -13
  146. package/dist/chunks/{repository-p42hj8p8.js → variant-g0445xdp.js} +8 -8
  147. package/dist/chunks/{repository-f8tnf7f1.js → variant-g1w795vw.js} +9 -25
  148. package/dist/chunks/{repository-gry8sgkd.js → variant-g2w01a3j.js} +11 -11
  149. package/dist/chunks/{repository-q7ngdz78.js → variant-g9v6bhk7.js} +27 -27
  150. package/dist/chunks/{repository-gd4qta3r.js → variant-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{repository-bzadqhw2.js → variant-gjasn01h.js} +4 -4
  152. package/dist/chunks/{repository-dt6m3qwv.js → variant-gm3ga81k.js} +15 -15
  153. package/dist/chunks/{repository-aqryd466.js → variant-gm5v31zk.js} +24 -24
  154. package/dist/chunks/{repository-1gfgk62c.js → variant-gs3s1a1g.js} +8 -8
  155. package/dist/chunks/{repository-cjwramev.js → variant-gxzxndj0.js} +6 -6
  156. package/dist/chunks/{repository-dp8mmgq4.js → variant-gy6j4848.js} +15 -15
  157. package/dist/chunks/{repository-s4075y1x.js → variant-h1qkrmwx.js} +3 -3
  158. package/dist/chunks/{repository-h2b79v29.js → variant-h2b79v29.js} +2 -2
  159. package/dist/chunks/{repository-h6vf3j39.js → variant-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{repository-yn96zvvk.js → variant-h97ec9bp.js} +11 -11
  161. package/dist/chunks/{repository-mjqndqed.js → variant-hs1x7rht.js} +5 -5
  162. package/dist/chunks/{repository-j56e64zr.js → variant-j56e64zr.js} +1 -1
  163. package/dist/chunks/{repository-0g25qkkf.js → variant-k57jac8p.js} +11 -11
  164. package/dist/chunks/{repository-a6rczh0a.js → variant-k98qre1b.js} +42 -42
  165. package/dist/chunks/{repository-k02x6tcx.js → variant-kwzc06gj.js} +33 -33
  166. package/dist/chunks/{repository-m3fdjcah.js → variant-m3fdjcah.js} +1 -1
  167. package/dist/chunks/{repository-h4p4pa57.js → variant-m8ke4caa.js} +11 -11
  168. package/dist/chunks/{repository-h4jx6m0r.js → variant-m9r1t6g4.js} +15 -15
  169. package/dist/chunks/{repository-m9w0rfyh.js → variant-m9w0rfyh.js} +1 -1
  170. package/dist/chunks/{repository-w5ystqj3.js → variant-mgbygx5e.js} +6 -6
  171. package/dist/chunks/{repository-q7jxq9y7.js → variant-mhng4ka2.js} +35 -22
  172. package/dist/chunks/{repository-j2htzqze.js → variant-mrga4y2h.js} +2 -2
  173. package/dist/chunks/{repository-4z58m4b4.js → variant-n1n192bv.js} +4 -4
  174. package/dist/chunks/{repository-t7wcnk30.js → variant-n2b4x48v.js} +9 -9
  175. package/dist/chunks/{repository-rm4s95e7.js → variant-n49rxvzx.js} +87 -87
  176. package/dist/chunks/{repository-00e0wh3q.js → variant-n5mbdfqn.js} +18 -33
  177. package/dist/chunks/{repository-m44fkk4m.js → variant-nd1pxr6x.js} +4 -4
  178. package/dist/chunks/{repository-kfj4fg87.js → variant-neg622f9.js} +3 -3
  179. package/dist/chunks/{repository-mpd66srn.js → variant-nm57fktp.js} +1 -1
  180. package/dist/chunks/{repository-yf33k1p3.js → variant-nr7nt1j1.js} +18 -18
  181. package/dist/chunks/{repository-mn0942hp.js → variant-nv777kha.js} +30 -30
  182. package/dist/chunks/{repository-ecwx0042.js → variant-nvwwg556.js} +15 -15
  183. package/dist/chunks/{repository-pe71rtbx.js → variant-nyh253sr.js} +11 -11
  184. package/dist/chunks/{repository-3t7hfzt0.js → variant-p1knbw1p.js} +17 -17
  185. package/dist/chunks/{repository-r3c58j5g.js → variant-p83wwthj.js} +3 -3
  186. package/dist/chunks/{repository-7z6z4pna.js → variant-pjgg3r7a.js} +21 -21
  187. package/dist/chunks/{repository-pjvnvgmy.js → variant-pjvnvgmy.js} +1 -1
  188. package/dist/chunks/{repository-pknna89w.js → variant-pknna89w.js} +1 -1
  189. package/dist/chunks/{repository-46tr0mr7.js → variant-pppey5qj.js} +30 -30
  190. package/dist/chunks/{repository-j58c5xyq.js → variant-prq7hedt.js} +9 -9
  191. package/dist/chunks/{repository-cfsekr6v.js → variant-py3kkmfq.js} +2 -2
  192. package/dist/chunks/{repository-y6brtjeh.js → variant-pz8vp5s8.js} +35 -35
  193. package/dist/chunks/{repository-0j77ygfz.js → variant-q0xm7vwc.js} +6 -6
  194. package/dist/chunks/{repository-ajh7mqgq.js → variant-qay45eb9.js} +22 -22
  195. package/dist/chunks/{repository-s8v3amej.js → variant-qdfmac3b.js} +1 -1
  196. package/dist/chunks/{repository-0qpq6ar5.js → variant-qdr7jx6m.js} +13 -13
  197. package/dist/chunks/variant-qez5g771.js +72 -0
  198. package/dist/chunks/{repository-2k8khapm.js → variant-qgn6gcr1.js} +5 -5
  199. package/dist/chunks/{repository-4344f0hm.js → variant-qhpxdxn6.js} +33 -33
  200. package/dist/chunks/{repository-x4k83k5f.js → variant-qjeq5gt4.js} +9 -9
  201. package/dist/chunks/{repository-rn938jk3.js → variant-qmqydgm0.js} +47 -47
  202. package/dist/chunks/{repository-qnc92qwc.js → variant-qnc92qwc.js} +1 -1
  203. package/dist/chunks/{repository-0qqvk1tp.js → variant-qq77mc7s.js} +13 -13
  204. package/dist/chunks/{repository-qsdy395h.js → variant-qsdy395h.js} +1 -1
  205. package/dist/chunks/{repository-qxjc9qry.js → variant-qxjc9qry.js} +3 -3
  206. package/dist/chunks/{repository-b5f9cqb8.js → variant-qy4vpyeb.js} +24 -24
  207. package/dist/chunks/{repository-fy698pgn.js → variant-qz0t4qm7.js} +18 -18
  208. package/dist/chunks/{repository-m993mvxq.js → variant-qzsdnpce.js} +157 -145
  209. package/dist/chunks/variant-r4e50z9n.js +507 -0
  210. package/dist/chunks/{repository-h6yzxz9r.js → variant-r9jvjj2n.js} +25 -20
  211. package/dist/chunks/{repository-xmy45d6e.js → variant-ra5kesbp.js} +23 -23
  212. package/dist/chunks/{repository-1vvm3xv7.js → variant-rc8pxfxs.js} +11 -11
  213. package/dist/chunks/{repository-rdw6cm16.js → variant-rdw6cm16.js} +1 -1
  214. package/dist/chunks/{repository-ve1j3q85.js → variant-rhb3b3rg.js} +15 -15
  215. package/dist/chunks/{repository-t550f9t1.js → variant-rhjbct0v.js} +4 -4
  216. package/dist/chunks/{repository-1acjjqhc.js → variant-rhraev7y.js} +4 -4
  217. package/dist/chunks/{repository-2m8jawch.js → variant-s0b7t9fd.js} +4 -4
  218. package/dist/chunks/{repository-nszdq9jy.js → variant-s57remap.js} +83 -83
  219. package/dist/chunks/variant-s6bevt7v.js +26 -0
  220. package/dist/chunks/{repository-c20khjev.js → variant-sez5jh81.js} +21 -21
  221. package/dist/chunks/{repository-2t9hnq90.js → variant-sjsrxvhe.js} +10 -10
  222. package/dist/chunks/{repository-etdaqrbr.js → variant-st28f52c.js} +32 -32
  223. package/dist/chunks/{repository-gy4662d6.js → variant-sxzvmjd7.js} +11 -11
  224. package/dist/chunks/{repository-1cw3fj19.js → variant-sza3fptc.js} +3 -3
  225. package/dist/chunks/{repository-2tyga0yy.js → variant-t4q1mmep.js} +27 -14
  226. package/dist/chunks/{repository-a2ew8a62.js → variant-t6vsspdg.js} +7 -7
  227. package/dist/chunks/{repository-tarna68p.js → variant-t968jqya.js} +9 -9
  228. package/dist/chunks/{repository-rpp7c75e.js → variant-tafngdt4.js} +53 -49
  229. package/dist/chunks/{repository-tazgh4e4.js → variant-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{repository-wnh11861.js → variant-tcbv57ja.js} +15 -15
  231. package/dist/chunks/{repository-tcezcvh9.js → variant-tcezcvh9.js} +1 -1
  232. package/dist/chunks/{repository-h16n41p4.js → variant-tczag1pk.js} +21 -21
  233. package/dist/chunks/{repository-tdstcens.js → variant-tdstcens.js} +1 -1
  234. package/dist/chunks/{repository-wb70vhte.js → variant-tyt8argr.js} +8 -8
  235. package/dist/chunks/{repository-v0es1rhs.js → variant-v0es1rhs.js} +2 -2
  236. package/dist/chunks/{repository-4c5k237e.js → variant-v3etbtgk.js} +32 -32
  237. package/dist/chunks/{repository-5ng375bv.js → variant-v5c0sq72.js} +30 -28
  238. package/dist/chunks/{repository-7d05dvcz.js → variant-v8gdyxxj.js} +6 -6
  239. package/dist/chunks/{repository-5ej07zgb.js → variant-vdva6mjj.js} +7 -7
  240. package/dist/chunks/{repository-veqvce7d.js → variant-veqvce7d.js} +1 -1
  241. package/dist/chunks/{repository-ce3pkz8w.js → variant-vhqj0s9d.js} +5 -5
  242. package/dist/chunks/{repository-57myy5jh.js → variant-vrrq7v3g.js} +5 -5
  243. package/dist/chunks/{repository-yqt58wae.js → variant-vtt0yr3x.js} +8 -8
  244. package/dist/chunks/{repository-pgze7171.js → variant-vw65f48a.js} +2 -2
  245. package/dist/chunks/{repository-vzs5sf6e.js → variant-vzs5sf6e.js} +1 -1
  246. package/dist/chunks/{repository-srhj5f56.js → variant-w3fw562n.js} +11 -11
  247. package/dist/chunks/{repository-w3wsvvr9.js → variant-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{repository-b751st24.js → variant-w8fd2v8c.js} +7 -7
  249. package/dist/chunks/{repository-8kys6q5k.js → variant-wbdz0djz.js} +9 -9
  250. package/dist/chunks/{repository-wd87259q.js → variant-wd87259q.js} +1 -1
  251. package/dist/chunks/{repository-9815d8pv.js → variant-wfvae1sy.js} +28 -19
  252. package/dist/chunks/{repository-qv02qg64.js → variant-wj82z3q3.js} +5 -5
  253. package/dist/chunks/{repository-a199weyn.js → variant-wja9eyn5.js} +6 -6
  254. package/dist/chunks/{repository-067895h7.js → variant-wmhvad8c.js} +17 -17
  255. package/dist/chunks/{repository-hdjgtqrb.js → variant-wncc9x2v.js} +27 -27
  256. package/dist/chunks/{repository-5w6ne2rj.js → variant-wr410q8q.js} +11 -11
  257. package/dist/chunks/{repository-1wb0x8n3.js → variant-wwbgt871.js} +25 -9
  258. package/dist/chunks/{repository-6b1pjwt3.js → variant-x12m2wf0.js} +3 -3
  259. package/dist/chunks/{repository-mfmqp3ds.js → variant-x22hsb2q.js} +43 -43
  260. package/dist/chunks/{repository-prjw6x41.js → variant-x6g6krdm.js} +4 -4
  261. package/dist/chunks/{repository-4cw36es0.js → variant-xa33mv3d.js} +9 -9
  262. package/dist/chunks/{repository-rb8xm6cm.js → variant-xa75nvv1.js} +14 -14
  263. package/dist/chunks/{repository-ntbz9wjc.js → variant-xa9kyh0s.js} +11 -11
  264. package/dist/chunks/{repository-y16p1w2y.js → variant-xdrba4jw.js} +9 -9
  265. package/dist/chunks/{repository-g5w8qwbj.js → variant-xfkkasph.js} +4 -4
  266. package/dist/chunks/{repository-6x4qebe7.js → variant-xjhy8ajq.js} +35 -35
  267. package/dist/chunks/{repository-xkntkrq7.js → variant-xkntkrq7.js} +2 -2
  268. package/dist/chunks/{repository-y1fvbwt7.js → variant-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{repository-a7cd87s2.js → variant-y7fv8ve9.js} +71 -71
  270. package/dist/chunks/{repository-vqkmcgyv.js → variant-ydebc2ey.js} +3 -3
  271. package/dist/chunks/{repository-yprc5htm.js → variant-yj12ce45.js} +22 -22
  272. package/dist/chunks/{repository-9s1pr29s.js → variant-yrdak7p3.js} +45 -49
  273. package/dist/chunks/{repository-5t80mpw4.js → variant-yt7zt18h.js} +18 -18
  274. package/dist/chunks/{repository-0h1qn0y5.js → variant-yt8edf6v.js} +10 -10
  275. package/dist/chunks/{repository-pg4zag0e.js → variant-ytxvdrv4.js} +26 -26
  276. package/dist/chunks/{repository-w6gqnbcy.js → variant-yyet1bp6.js} +3 -3
  277. package/dist/chunks/{repository-z0bkrqjs.js → variant-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{repository-tg6e69q8.js → variant-z1fxcg55.js} +2 -2
  279. package/dist/chunks/{repository-t5483b9c.js → variant-z5qfcjmc.js} +4 -4
  280. package/dist/chunks/{repository-wnfszx78.js → variant-ze98vkjw.js} +10 -10
  281. package/dist/chunks/{repository-t8n7ymvq.js → variant-zm31y1th.js} +6 -6
  282. package/dist/chunks/{repository-zr2ceqn5.js → variant-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{repository-zxq2ej10.js → variant-zxq2ej10.js} +1 -1
  284. package/dist/chunks/{repository-rk3ekeb4.js → variant-zy36ej5j.js} +5 -6
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +5 -5
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +86 -85
  290. package/dist/config/discovery.js +83 -82
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +100 -99
  293. package/dist/config/plugin/agent.js +119 -118
  294. package/dist/config/plugin/command.js +208 -207
  295. package/dist/config/plugin/compaction.js +155 -154
  296. package/dist/config/plugin/compatibility.js +135 -134
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +118 -117
  299. package/dist/config/plugin/image.js +117 -116
  300. package/dist/config/plugin/instruction.js +91 -90
  301. package/dist/config/plugin/location-watcher.js +117 -116
  302. package/dist/config/plugin/mcp.js +126 -125
  303. package/dist/config/plugin/policy.js +118 -117
  304. package/dist/config/plugin/provider.js +117 -116
  305. package/dist/config/plugin/reference.js +119 -118
  306. package/dist/config/plugin/shell.js +119 -118
  307. package/dist/config/plugin/skill-file.js +103 -102
  308. package/dist/config/plugin/skill.js +136 -135
  309. package/dist/config/plugin/snapshot.js +117 -116
  310. package/dist/config/plugin/source.js +118 -117
  311. package/dist/config/plugin/tool-output.js +118 -117
  312. package/dist/config/plugin/websearch.js +118 -117
  313. package/dist/config/plugin/worktree.js +119 -118
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +122 -121
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +86 -83
  319. package/dist/database/database.js +69 -68
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +6 -0
  385. package/dist/database/migration.gen.js +50 -49
  386. package/dist/database/migration.js +52 -51
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +77 -76
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +364 -363
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +1 -1
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +94 -93
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +94 -93
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +71 -70
  410. package/dist/file-access.js +105 -104
  411. package/dist/file-mutation.js +95 -94
  412. package/dist/file-retention.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +219 -218
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +104 -103
  421. package/dist/filesystem/watcher-binding.js +3 -3
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +101 -100
  424. package/dist/form.js +83 -82
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +88 -87
  427. package/dist/generate.js +106 -105
  428. package/dist/git.js +6 -6
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +92 -91
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +355 -354
  452. package/dist/instruction-discovery.js +84 -83
  453. package/dist/instructions/builtins.js +88 -87
  454. package/dist/instructions/index.js +3 -3
  455. package/dist/integration/connection.js +1 -1
  456. package/dist/integration.js +84 -81
  457. package/dist/job.js +79 -78
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +74 -73
  460. package/dist/location-activity.js +132 -131
  461. package/dist/location-lifecycle.js +108 -107
  462. package/dist/location-service-map.js +87 -86
  463. package/dist/location-services.js +352 -351
  464. package/dist/location.js +88 -87
  465. package/dist/managed-policy.js +12 -5
  466. package/dist/mcp/client.js +92 -91
  467. package/dist/mcp/index.js +104 -103
  468. package/dist/mcp/instructions.js +130 -129
  469. package/dist/mcp/oauth.js +79 -78
  470. package/dist/mcp/stdio.js +91 -90
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +92 -91
  473. package/dist/model-resolver.js +99 -98
  474. package/dist/model.js +99 -98
  475. package/dist/models-dev.js +108 -107
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +81 -80
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +112 -111
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +91 -90
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +76 -75
  485. package/dist/plugin/agent.js +77 -104
  486. package/dist/plugin/command.js +103 -102
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +212 -211
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +327 -326
  492. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  493. package/dist/plugin/models-dev.js +97 -96
  494. package/dist/plugin/module.js +118 -7
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +103 -102
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +91 -90
  499. package/dist/plugin/provider/azure.js +118 -117
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/chatgpt.js +95 -93
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -113
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -114
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +113 -112
  506. package/dist/plugin/provider/digitalocean.js +94 -93
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/github-copilot.js +96 -95
  510. package/dist/plugin/provider/gitlab.js +94 -93
  511. package/dist/plugin/provider/google-vertex.js +91 -90
  512. package/dist/plugin/provider/kilo.js +1 -1
  513. package/dist/plugin/provider/llmgateway.js +79 -78
  514. package/dist/plugin/provider/lmstudio.js +117 -116
  515. package/dist/plugin/provider/local.js +114 -113
  516. package/dist/plugin/provider/modal.js +93 -92
  517. package/dist/plugin/provider/nvidia.js +1 -1
  518. package/dist/plugin/provider/ollama.js +117 -116
  519. package/dist/plugin/provider/openai.js +94 -93
  520. package/dist/plugin/provider/opencode.js +98 -96
  521. package/dist/plugin/provider/openrouter.js +92 -91
  522. package/dist/plugin/provider/perplexity.js +2 -2
  523. package/dist/plugin/provider/poe.js +80 -79
  524. package/dist/plugin/provider/prompt-cache-key.js +91 -90
  525. package/dist/plugin/provider/sap-ai-core.js +92 -91
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +116 -115
  528. package/dist/plugin/provider/vercel.js +91 -90
  529. package/dist/plugin/provider/vllm.js +117 -116
  530. package/dist/plugin/provider/xai.js +92 -91
  531. package/dist/plugin/provider/zenmux.js +1 -1
  532. package/dist/plugin/provider.js +157 -155
  533. package/dist/plugin/sdk.js +77 -76
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +135 -134
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +346 -345
  538. package/dist/plugin/tool-input-repair.js +4 -4
  539. package/dist/plugin/update.js +6 -6
  540. package/dist/plugin/vcs/git.js +87 -86
  541. package/dist/plugin/vcs/hg.js +87 -86
  542. package/dist/plugin/verbosity.js +94 -93
  543. package/dist/plugin/warming.js +115 -114
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +8 -8
  546. package/dist/plugin/websearch/index.js +9 -9
  547. package/dist/plugin/websearch/mcp.js +6 -6
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +4 -4
  550. package/dist/plugin/websearch/tinyfish.js +8 -8
  551. package/dist/plugin.js +219 -218
  552. package/dist/project/schema.js +2 -2
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +81 -80
  555. package/dist/provider.js +94 -93
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +92 -91
  559. package/dist/reference/instructions.js +88 -87
  560. package/dist/reference.js +92 -91
  561. package/dist/repository-cache.js +82 -81
  562. package/dist/repository.js +1 -1
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +96 -95
  565. package/dist/rpc.js +87 -86
  566. package/dist/schema.js +1 -1
  567. package/dist/session/affinity.js +1 -1
  568. package/dist/session/command.js +75 -74
  569. package/dist/session/compaction.js +136 -135
  570. package/dist/session/context.js +154 -153
  571. package/dist/session/diff.js +89 -88
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +7 -7
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +215 -214
  576. package/dist/session/execution.js +128 -127
  577. package/dist/session/generate.js +155 -154
  578. package/dist/session/history.js +15 -15
  579. package/dist/session/inbox.js +89 -88
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +80 -79
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +98 -97
  584. package/dist/session/message-updater.js +2 -2
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +121 -120
  587. package/dist/session/model-transport.js +9 -9
  588. package/dist/session/move.js +130 -129
  589. package/dist/session/projector.js +87 -86
  590. package/dist/session/prompt.js +106 -105
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +91 -90
  593. package/dist/session/run-coordinator.js +3 -3
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +225 -224
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +99 -98
  598. package/dist/session/runner/publish-llm-event.js +114 -113
  599. package/dist/session/runner/retry.js +4 -4
  600. package/dist/session/runner/step.js +126 -125
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +1 -1
  603. package/dist/session/session.js +165 -164
  604. package/dist/session/shell.js +131 -130
  605. package/dist/session/skill.js +104 -103
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +74 -73
  608. package/dist/session/store.js +88 -87
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +204 -203
  611. package/dist/session/system-prompt.js +3 -3
  612. package/dist/session/title.js +158 -157
  613. package/dist/session/to-session-error.js +112 -111
  614. package/dist/session/transfer.js +206 -205
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +208 -207
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +13 -13
  621. package/dist/shell.js +133 -132
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +108 -107
  624. package/dist/skill.js +111 -110
  625. package/dist/snapshot.js +92 -91
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +125 -124
  630. package/dist/tool/plugin/edit.js +121 -120
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +119 -118
  633. package/dist/tool/plugin/grep.js +125 -124
  634. package/dist/tool/plugin/mcp-resource.js +118 -117
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +121 -120
  637. package/dist/tool/plugin/question.js +104 -103
  638. package/dist/tool/plugin/read.js +126 -125
  639. package/dist/tool/plugin/shell.js +211 -210
  640. package/dist/tool/plugin/skill.js +114 -113
  641. package/dist/tool/plugin/subagent.js +213 -212
  642. package/dist/tool/plugin/webfetch.js +113 -112
  643. package/dist/tool/plugin/websearch.js +115 -114
  644. package/dist/tool/plugin/write.js +123 -122
  645. package/dist/tool/read-filesystem.js +101 -100
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +7 -7
  648. package/dist/tool.js +14 -14
  649. package/dist/types/credential/sql.d.ts +6 -0
  650. package/dist/types/credential.d.ts +14 -0
  651. package/dist/types/database/migration/20261007190000_azure_cli_external_credential.d.ts +3 -0
  652. package/dist/types/filesystem.d.ts +11 -5
  653. package/dist/types/integration/connection.d.ts +2 -2
  654. package/dist/types/integration.d.ts +748 -8
  655. package/dist/types/managed-policy.d.ts +11 -1
  656. package/dist/types/model.d.ts +6 -0
  657. package/dist/types/plugin/internal.d.ts +1 -1
  658. package/dist/types/plugin/module.d.ts +5 -1
  659. package/dist/types/plugin/provider/amazon-bedrock.d.ts +2 -1
  660. package/dist/types/plugin/provider/azure.d.ts +3 -2
  661. package/dist/types/session/model-request.d.ts +1 -1
  662. package/dist/types/session/runner/publish-llm-event.d.ts +1 -1
  663. package/dist/types/wellknown.d.ts +3 -0
  664. package/dist/util/error-summary.js +1 -1
  665. package/dist/util/error.js +1 -1
  666. package/dist/util/git-executable.js +2 -2
  667. package/dist/util/iife.js +1 -1
  668. package/dist/util/lazy.js +1 -1
  669. package/dist/util/slug.js +1 -1
  670. package/dist/util/token.js +1 -1
  671. package/dist/util/which.js +1 -1
  672. package/dist/util/wildcard.js +1 -1
  673. package/dist/v1/config/agent.js +7 -7
  674. package/dist/v1/config/command.js +5 -5
  675. package/dist/v1/config/error.js +4 -4
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +93 -92
  678. package/dist/v1/config/permission.js +7 -7
  679. package/dist/v1/config/plugin.js +3 -3
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/variant.js +94 -93
  683. package/dist/vcs/patch.js +1 -1
  684. package/dist/vcs.js +90 -89
  685. package/dist/websearch.js +83 -82
  686. package/dist/wellknown/plugin.js +77 -76
  687. package/dist/wellknown.js +82 -81
  688. package/dist/workspace/driver.js +5 -5
  689. package/dist/workspace/sql.js +1 -1
  690. package/dist/workspace.js +81 -80
  691. package/dist/worktree/directory.js +2 -2
  692. package/dist/worktree/git.js +10 -10
  693. package/dist/worktree/sql.js +5 -5
  694. package/dist/worktree/strategies.js +90 -89
  695. package/dist/worktree.js +97 -96
  696. package/package.json +8 -10
  697. package/dist/chunks/repository-3b3navdj.js +0 -253
  698. package/dist/chunks/repository-45085rbj.js +0 -26
  699. package/dist/chunks/repository-b20bdvd4.js +0 -60
  700. package/dist/chunks/repository-g4nj3be3.js +0 -507
  701. package/dist/chunks/repository-j3pg2mx4.js +0 -47
  702. package/dist/chunks/repository-jqh9b0xq.js +0 -18
  703. package/dist/chunks/repository-mxr1v1s0.js +0 -28
  704. /package/dist/chunks/{repository-0qkdqm5v.js → variant-0qkdqm5v.js} +0 -0
  705. /package/dist/chunks/{repository-0zkw76rk.js → variant-0zkw76rk.js} +0 -0
  706. /package/dist/chunks/{repository-17cy0kzp.js → variant-17cy0kzp.js} +0 -0
  707. /package/dist/chunks/{repository-1cnp2v09.js → variant-1cnp2v09.js} +0 -0
  708. /package/dist/chunks/{repository-1kg9ymc8.js → variant-1kg9ymc8.js} +0 -0
  709. /package/dist/chunks/{repository-24dcb14g.js → variant-24dcb14g.js} +0 -0
  710. /package/dist/chunks/{repository-2710q6r3.js → variant-2710q6r3.js} +0 -0
  711. /package/dist/chunks/{repository-2axfhc9x.js → variant-2axfhc9x.js} +0 -0
  712. /package/dist/chunks/{repository-2c3vjs8z.js → variant-2c3vjs8z.js} +0 -0
  713. /package/dist/chunks/{repository-34c7v6d4.js → variant-34c7v6d4.js} +0 -0
  714. /package/dist/chunks/{repository-359p4xyc.js → variant-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{repository-3asan66x.js → variant-3asan66x.js} +0 -0
  716. /package/dist/chunks/{repository-3t0ybcrp.js → variant-3t0ybcrp.js} +0 -0
  717. /package/dist/chunks/{repository-3v8g72cx.js → variant-3v8g72cx.js} +0 -0
  718. /package/dist/chunks/{repository-3w5fmr99.js → variant-3w5fmr99.js} +0 -0
  719. /package/dist/chunks/{repository-3wcehsnq.js → variant-3wcehsnq.js} +0 -0
  720. /package/dist/chunks/{repository-43n2bw4t.js → variant-43n2bw4t.js} +0 -0
  721. /package/dist/chunks/{repository-4knz6hnm.js → variant-4knz6hnm.js} +0 -0
  722. /package/dist/chunks/{repository-4vcrnpx2.js → variant-4vcrnpx2.js} +0 -0
  723. /package/dist/chunks/{repository-4y7fprxs.js → variant-4y7fprxs.js} +0 -0
  724. /package/dist/chunks/{repository-53557ph1.js → variant-53557ph1.js} +0 -0
  725. /package/dist/chunks/{repository-550bvhaj.js → variant-550bvhaj.js} +0 -0
  726. /package/dist/chunks/{repository-6prwharc.js → variant-6prwharc.js} +0 -0
  727. /package/dist/chunks/{repository-6q2bdcd1.js → variant-6q2bdcd1.js} +0 -0
  728. /package/dist/chunks/{repository-7akdwqpd.js → variant-7akdwqpd.js} +0 -0
  729. /package/dist/chunks/{repository-7m9af43g.js → variant-7m9af43g.js} +0 -0
  730. /package/dist/chunks/{repository-822emrt2.js → variant-822emrt2.js} +0 -0
  731. /package/dist/chunks/{repository-88xbtdfr.js → variant-88xbtdfr.js} +0 -0
  732. /package/dist/chunks/{repository-8n3pysct.js → variant-8n3pysct.js} +0 -0
  733. /package/dist/chunks/{repository-8wj87zfr.js → variant-8wj87zfr.js} +0 -0
  734. /package/dist/chunks/{repository-9a4afbnw.js → variant-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{repository-9rqn6x4v.js → variant-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{repository-a6k6eb26.js → variant-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{repository-af5trqkr.js → variant-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{repository-afrmfg78.js → variant-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{repository-aqzs7mqg.js → variant-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{repository-atq7p7m5.js → variant-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{repository-bkyjaxrp.js → variant-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{repository-bmr6ed5q.js → variant-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{repository-cf4snx6d.js → variant-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{repository-cvy3z8tj.js → variant-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{repository-d9fn303g.js → variant-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{repository-d9jj8t3e.js → variant-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{repository-dajrwvna.js → variant-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{repository-dap0rakb.js → variant-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{repository-df08tz66.js → variant-df08tz66.js} +0 -0
  750. /package/dist/chunks/{repository-dy18nga0.js → variant-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{repository-e5kj55wp.js → variant-e5kj55wp.js} +0 -0
  752. /package/dist/chunks/{repository-e73j6tqm.js → variant-e73j6tqm.js} +0 -0
  753. /package/dist/chunks/{repository-ec1grn59.js → variant-ec1grn59.js} +0 -0
  754. /package/dist/chunks/{repository-eh3zwz77.js → variant-eh3zwz77.js} +0 -0
  755. /package/dist/chunks/{repository-emrn6kk6.js → variant-emrn6kk6.js} +0 -0
  756. /package/dist/chunks/{repository-f0mxakyp.js → variant-f0mxakyp.js} +0 -0
  757. /package/dist/chunks/{repository-f6n9ztr4.js → variant-f6n9ztr4.js} +0 -0
  758. /package/dist/chunks/{repository-faypxj3z.js → variant-faypxj3z.js} +0 -0
  759. /package/dist/chunks/{repository-fd410y7t.js → variant-fd410y7t.js} +0 -0
  760. /package/dist/chunks/{repository-fxgpk5d8.js → variant-fxgpk5d8.js} +0 -0
  761. /package/dist/chunks/{repository-g4wezp1m.js → variant-g4wezp1m.js} +0 -0
  762. /package/dist/chunks/{repository-g86h250q.js → variant-g86h250q.js} +0 -0
  763. /package/dist/chunks/{repository-gebd4c9n.js → variant-gebd4c9n.js} +0 -0
  764. /package/dist/chunks/{repository-gftt206x.js → variant-gftt206x.js} +0 -0
  765. /package/dist/chunks/{repository-hk9envan.js → variant-hk9envan.js} +0 -0
  766. /package/dist/chunks/{repository-j2ntwpah.js → variant-j2ntwpah.js} +0 -0
  767. /package/dist/chunks/{repository-j5zkgpj8.js → variant-j5zkgpj8.js} +0 -0
  768. /package/dist/chunks/{repository-jjkms2e6.js → variant-jjkms2e6.js} +0 -0
  769. /package/dist/chunks/{repository-jr7sbwjy.js → variant-jr7sbwjy.js} +0 -0
  770. /package/dist/chunks/{repository-jwfs4k6c.js → variant-jwfs4k6c.js} +0 -0
  771. /package/dist/chunks/{repository-jzg6c2d5.js → variant-jzg6c2d5.js} +0 -0
  772. /package/dist/chunks/{repository-mp448xyj.js → variant-mp448xyj.js} +0 -0
  773. /package/dist/chunks/{repository-msx8hqn2.js → variant-msx8hqn2.js} +0 -0
  774. /package/dist/chunks/{repository-my4zabxr.js → variant-my4zabxr.js} +0 -0
  775. /package/dist/chunks/{repository-n05xt0ee.js → variant-n05xt0ee.js} +0 -0
  776. /package/dist/chunks/{repository-n3j8tn72.js → variant-n3j8tn72.js} +0 -0
  777. /package/dist/chunks/{repository-njntx4h6.js → variant-njntx4h6.js} +0 -0
  778. /package/dist/chunks/{repository-q3sfg36h.js → variant-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{repository-q74kybfr.js → variant-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{repository-qaymkmh1.js → variant-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{repository-qb87gjwd.js → variant-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{repository-qfa1cgps.js → variant-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{repository-qg3g05ea.js → variant-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{repository-qrg20bc0.js → variant-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{repository-rcb2kzg1.js → variant-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{repository-sdp7kfr6.js → variant-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{repository-ssg3fenm.js → variant-ssg3fenm.js} +0 -0
  788. /package/dist/chunks/{repository-w803qqfp.js → variant-w803qqfp.js} +0 -0
  789. /package/dist/chunks/{repository-wc3fc9cn.js → variant-wc3fc9cn.js} +0 -0
  790. /package/dist/chunks/{repository-wer8tq1h.js → variant-wer8tq1h.js} +0 -0
  791. /package/dist/chunks/{repository-wtztk69x.js → variant-wtztk69x.js} +0 -0
  792. /package/dist/chunks/{repository-x0ckcb58.js → variant-x0ckcb58.js} +0 -0
  793. /package/dist/chunks/{repository-x61499pn.js → variant-x61499pn.js} +0 -0
  794. /package/dist/chunks/{repository-y44na4kk.js → variant-y44na4kk.js} +0 -0
  795. /package/dist/chunks/{repository-y8cydn3q.js → variant-y8cydn3q.js} +0 -0
  796. /package/dist/chunks/{repository-y8f7s663.js → variant-y8f7s663.js} +0 -0
  797. /package/dist/chunks/{repository-ygaqb7jw.js → variant-ygaqb7jw.js} +0 -0
  798. /package/dist/chunks/{repository-ym463w8f.js → variant-ym463w8f.js} +0 -0
  799. /package/dist/chunks/{repository-z5v4ffb3.js → variant-z5v4ffb3.js} +0 -0
  800. /package/dist/chunks/{repository-z9919s4g.js → variant-z9919s4g.js} +0 -0
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node77
5
- } from "./repository-5w6ne2rj.js";
4
+ node43
5
+ } from "./variant-wr410q8q.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./repository-4z58m4b4.js";
9
+ } from "./variant-n1n192bv.js";
10
10
  import {
11
- Service67,
12
- node69
13
- } from "./repository-1gfgk62c.js";
11
+ Service69,
12
+ node72
13
+ } from "./variant-gs3s1a1g.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./repository-5r637m3f.js";
16
+ } from "./variant-1m9c4w4n.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./repository-hw3ewgqj.js";
19
+ } from "./variant-9rrz4dkr.js";
20
20
  import {
21
- Error3
22
- } from "./repository-pg4zag0e.js";
21
+ Error4
22
+ } from "./variant-ytxvdrv4.js";
23
23
  import {
24
24
  get5
25
- } from "./repository-54ma36ye.js";
25
+ } from "./variant-54ma36ye.js";
26
26
  import {
27
- Service35,
28
- node39
29
- } from "./repository-eqh5fpv6.js";
27
+ Service28,
28
+ node32
29
+ } from "./variant-06r90ppk.js";
30
30
  import {
31
- make16
32
- } from "./repository-g5w8qwbj.js";
31
+ make15
32
+ } from "./variant-xfkkasph.js";
33
33
  import {
34
34
  toLLMMessages2
35
- } from "./repository-3556dn8t.js";
35
+ } from "./variant-3g8j9he4.js";
36
36
  import {
37
37
  __export
38
- } from "./repository-9rqn6x4v.js";
38
+ } from "./variant-9rqn6x4v.js";
39
39
 
40
40
  // src/session/model-request.ts
41
41
  var exports_model_request = {};
42
42
  __export(exports_model_request, {
43
- Service: () => Service34,
43
+ Service: () => Service27,
44
44
  SessionModelRequest: () => exports_model_request,
45
45
  baseTranscript: () => baseTranscript2,
46
46
  boundImages: () => boundImages2,
47
- layer: () => layer11,
48
- node: () => node38,
47
+ layer: () => layer12,
48
+ node: () => node31,
49
49
  unsupportedParts: () => unsupportedParts2
50
50
  });
51
51
  import {
@@ -82,7 +82,7 @@ var baseTranscript2 = (input) => {
82
82
  return {
83
83
  providerMetadataKey,
84
84
  system: [
85
- input.agent.system ? input.agent.system : make16(input.tools.definitions.map((tool) => tool.name)),
85
+ input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
86
86
  input.initial
87
87
  ].filter((part) => part.length > 0).map(SystemPart.make),
88
88
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -98,11 +98,15 @@ var mimeToModality = (mime) => {
98
98
  if (mime === "application/pdf")
99
99
  return "pdf";
100
100
  };
101
- var unsupportedMedia = (mime, name, capabilities) => {
101
+ var XAI_IMAGE_MIMES = new Set(["image/png", "image/jpeg", "image/webp"]);
102
+ var unsupportedMedia = (mime, name, capabilities, provider) => {
102
103
  const modality = mimeToModality(mime);
103
- if (!modality || capabilities.input.some((item) => item.startsWith(modality)))
104
+ if (!modality)
104
105
  return;
105
- return `ERROR: Cannot read ${name ? `"${name}"` : modality} (this model does not support ${modality} input). Inform the user.`;
106
+ const unsupported = !capabilities.input.some((item) => item.startsWith(modality)) ? modality : provider === "xai" && modality === "image" && !XAI_IMAGE_MIMES.has(mime.toLowerCase()) ? mime : undefined;
107
+ if (!unsupported)
108
+ return;
109
+ return `ERROR: Cannot read ${name ? `"${name}"` : modality} (this model does not support ${unsupported} input). Inform the user.`;
106
110
  };
107
111
  var mediaBytes = (media) => {
108
112
  if (media.source.type === "base64")
@@ -130,7 +134,7 @@ var replaceMedia = (messages, replace) => messages.map((message) => {
130
134
  });
131
135
  return content.every((part, index) => part === message.content[index]) ? message : new Message({ ...message, content });
132
136
  });
133
- var unsupportedParts2 = (messages, capabilities) => replaceMedia(messages, (media) => unsupportedMedia(media.mime, media.name, capabilities));
137
+ var unsupportedParts2 = (messages, capabilities, provider) => replaceMedia(messages, (media) => unsupportedMedia(media.mime, media.name, capabilities, provider));
134
138
  var boundImages2 = (messages) => {
135
139
  const isImage = (mime) => mime.toLowerCase().startsWith("image/");
136
140
  const imageBytes = messages.reduce((total, message) => total + message.content.reduce((sum, part) => {
@@ -151,11 +155,11 @@ var boundImages2 = (messages) => {
151
155
  });
152
156
  };
153
157
 
154
- class Service34 extends Context.Service()("@opencode/SessionModelRequest") {
158
+ class Service27 extends Context.Service()("@opencode/SessionModelRequest") {
155
159
  }
156
- var layer11 = Layer.effect(Service34, Effect.gen(function* () {
157
- const hooks = yield* Service67;
158
- const transport = yield* Service35;
160
+ var layer12 = Layer.effect(Service27, Effect.gen(function* () {
161
+ const hooks = yield* Service69;
162
+ const transport = yield* Service28;
159
163
  const app = yield* Metadata2;
160
164
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
161
165
  const session = input.session;
@@ -163,7 +167,7 @@ var layer11 = Layer.effect(Service34, Effect.gen(function* () {
163
167
  const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
164
168
  const tools = input.tools ?? {
165
169
  definitions: [],
166
- execute: () => new Error3({ message: "Tools are not available for this request" })
170
+ execute: () => new Error4({ message: "Tools are not available for this request" })
167
171
  };
168
172
  const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
169
173
  const shaped = yield* shape({
@@ -199,7 +203,7 @@ var layer11 = Layer.effect(Service34, Effect.gen(function* () {
199
203
  },
200
204
  promptCacheKey: /^ses_[0-9a-f]{64}$/.test(affinity) ? affinity.slice(4) : affinity,
201
205
  system: shaped.system,
202
- messages: boundImages2(unsupportedParts2(shaped.messages, model.capabilities)),
206
+ messages: boundImages2(unsupportedParts2(shaped.messages, model.capabilities, model.model.provider)),
203
207
  tools: Array.from(hooked, ([name, t]) => ({ ...t, name })),
204
208
  toolChoice: input.toolChoice,
205
209
  generation: Object.keys(generation).length === 0 ? undefined : generation,
@@ -260,17 +264,17 @@ var layer11 = Layer.effect(Service34, Effect.gen(function* () {
260
264
  };
261
265
  });
262
266
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
263
- return Service34.of({
267
+ return Service27.of({
264
268
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
265
269
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
266
270
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
267
271
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
268
272
  });
269
273
  }));
270
- var node38 = makeLocationNode({
271
- service: Service34,
272
- layer: layer11,
273
- deps: [node69, node39, node77]
274
+ var node31 = makeLocationNode({
275
+ service: Service27,
276
+ layer: layer12,
277
+ deps: [node72, node32, node43]
274
278
  });
275
279
 
276
- export { baseTranscript2, unsupportedParts2, boundImages2, Service34, layer11, node38, exports_model_request };
280
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service27, layer12, node31, exports_model_request };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  aisdk2
3
- } from "./repository-9815d8pv.js";
3
+ } from "./variant-wfvae1sy.js";
4
4
  import {
5
- Service74
6
- } from "./repository-b5f9cqb8.js";
5
+ Service70
6
+ } from "./variant-qy4vpyeb.js";
7
7
  import {
8
8
  __export
9
- } from "./repository-9rqn6x4v.js";
9
+ } from "./variant-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/verbosity.ts
12
12
  var exports_verbosity = {};
13
13
  __export(exports_verbosity, {
14
- Plugin: () => Plugin47,
14
+ Plugin: () => Plugin10,
15
15
  VerbosityPlugin: () => exports_verbosity
16
16
  });
17
17
  import { define } from "@opencode/plugin/effect/plugin";
@@ -27,10 +27,10 @@ var gateways = new Set([
27
27
  "@opencode/ai/providers/vercel-ai-gateway",
28
28
  aisdk2("@ai-sdk/gateway")
29
29
  ]);
30
- var Plugin47 = define({
30
+ var Plugin10 = define({
31
31
  id: "opencode.prompt.verbosity",
32
32
  effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
33
- const models = yield* Service74;
33
+ const models = yield* Service70;
34
34
  const hook = (event) => Effect.gen(function* () {
35
35
  if (event.options.textVerbosity !== undefined)
36
36
  return;
@@ -70,4 +70,4 @@ function openAIModelID(model) {
70
70
  return id.slice("openai/".length);
71
71
  }
72
72
 
73
- export { Plugin47, exports_verbosity };
73
+ export { Plugin10, exports_verbosity };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  Service83
3
- } from "./repository-9yxvhatz.js";
3
+ } from "./variant-9ya6mhzs.js";
4
4
  import {
5
5
  key2
6
- } from "./repository-addxnjmp.js";
6
+ } from "./variant-addxnjmp.js";
7
7
  import {
8
- Event19
9
- } from "./repository-5ng375bv.js";
8
+ Event20
9
+ } from "./variant-v5c0sq72.js";
10
10
  import {
11
11
  ID14
12
- } from "./repository-mfct962c.js";
12
+ } from "./variant-8hg3mrb3.js";
13
13
  import {
14
14
  ID13,
15
- Service75
16
- } from "./repository-9815d8pv.js";
15
+ Service76
16
+ } from "./variant-wfvae1sy.js";
17
17
  import {
18
18
  load3,
19
19
  derive3
20
- } from "./repository-ef2cw19s.js";
20
+ } from "./variant-3hfcgw97.js";
21
21
 
22
22
  // src/plugin/provider/modal.ts
23
23
  import { Effect, Semaphore, Stream } from "effect";
@@ -26,7 +26,7 @@ var providerID = ID13.make("modal");
26
26
  var ModalPlugin2 = define({
27
27
  id: "opencode.provider.modal",
28
28
  effect: Effect.fn(function* (ctx) {
29
- const providers = yield* Service75;
29
+ const providers = yield* Service76;
30
30
  const bus = yield* Service83;
31
31
  const loading = Semaphore.makeUnsafe(1);
32
32
  const loaded = {};
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
67
67
  });
68
68
  });
69
69
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
70
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
70
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
71
71
  yield* refresh().pipe(Effect.forkScoped);
72
72
  })
73
73
  });
@@ -1,67 +1,67 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./repository-9yxvhatz.js";
4
+ } from "./variant-9ya6mhzs.js";
5
5
  import {
6
- Service78,
7
- node82
8
- } from "./repository-w7a2abxy.js";
6
+ Service80,
7
+ node84
8
+ } from "./variant-02yyzjed.js";
9
9
  import {
10
10
  ID9,
11
- Service59,
12
- node61
13
- } from "./repository-00e0wh3q.js";
11
+ Service65,
12
+ node68
13
+ } from "./variant-n5mbdfqn.js";
14
14
  import {
15
- NotFoundError8
16
- } from "./repository-89za3yyg.js";
15
+ NotFoundError9
16
+ } from "./variant-1gpb38yh.js";
17
17
  import {
18
- Service57,
19
- node59
20
- } from "./repository-q0cdrezg.js";
18
+ Service64,
19
+ node67
20
+ } from "./variant-2r25bgdf.js";
21
21
  import {
22
22
  match2
23
- } from "./repository-y1fvbwt7.js";
23
+ } from "./variant-y1fvbwt7.js";
24
24
  import {
25
- Service58,
26
- node60
27
- } from "./repository-zk46kswf.js";
25
+ Service63,
26
+ node66
27
+ } from "./variant-br07cpn8.js";
28
28
  import {
29
- Service67,
30
- node69
31
- } from "./repository-1gfgk62c.js";
29
+ Service69,
30
+ node72
31
+ } from "./variant-gs3s1a1g.js";
32
32
  import {
33
33
  __export
34
- } from "./repository-9rqn6x4v.js";
34
+ } from "./variant-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
- var exports_permission = {};
38
- __export(exports_permission, {
37
+ var exports_permission2 = {};
38
+ __export(exports_permission2, {
39
39
  AskResult: () => AskResult2,
40
40
  AssertInput: () => AssertInput2,
41
41
  BlockedError: () => BlockedError2,
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event10,
45
+ Event: () => Event14,
46
46
  ID: () => ID7,
47
- NotFoundError: () => NotFoundError7,
48
- Permission: () => exports_permission,
47
+ NotFoundError: () => NotFoundError8,
48
+ Permission: () => exports_permission2,
49
49
  Reply: () => Reply2,
50
50
  ReplyInput: () => ReplyInput2,
51
51
  Request: () => Request2,
52
- Rule: () => Rule2,
52
+ Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service56,
54
+ Service: () => Service62,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node58
58
+ node: () => node65
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
- import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event10 } from "@opencode/schema/permission";
63
+ import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
+ import { Event as Event14 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
67
  var ID7 = Permission.ID;
@@ -110,7 +110,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
113
+ class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
114
114
  requestID: ID7
115
115
  }) {
116
116
  }
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service56 extends Context.Service()("@opencode/Permission") {
128
+ class Service62 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service56, Effect.gen(function* () {
130
+ var layer = Layer.effect(Service62, Effect.gen(function* () {
131
131
  const bus = yield* Service83;
132
- const location = yield* Service78;
133
- const agents = yield* Service59;
134
- const sessions = yield* Service57;
135
- const saved = yield* Service58;
136
- const hooks = yield* Service67;
132
+ const location = yield* Service80;
133
+ const agents = yield* Service65;
134
+ const sessions = yield* Service64;
135
+ const saved = yield* Service63;
136
+ const hooks = yield* Service69;
137
137
  const pending = new Map;
138
138
  let closed = false;
139
139
  const close = Effect.gen(function* () {
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
156
156
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
157
157
  const session = yield* sessions.get(sessionID);
158
158
  if (!session)
159
- return yield* new NotFoundError8({ sessionID });
159
+ return yield* new NotFoundError9({ sessionID });
160
160
  const agent = yield* agents.resolve(agentID ?? session.agent);
161
161
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
162
162
  });
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
242
242
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
243
243
  const existing = pending.get(input.requestID);
244
244
  if (!existing)
245
- return yield* new NotFoundError7({ requestID: input.requestID });
245
+ return yield* new NotFoundError8({ requestID: input.requestID });
246
246
  yield* bus.publish(Permission.Event.Replied, {
247
247
  sessionID: existing.request.sessionID,
248
248
  requestID: existing.request.id,
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
297
297
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
298
298
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
299
299
  });
300
- return Service56.of({ ask, assert, reply, get, forSession, list, close });
300
+ return Service62.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node58 = makeLocationNode({
303
- service: Service56,
302
+ var node65 = makeLocationNode({
303
+ service: Service62,
304
304
  layer,
305
- deps: [node87, node82, node61, node59, node60, node69]
305
+ deps: [node87, node84, node68, node67, node66, node72]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service56, node58, exports_permission, Rule2, Ruleset2, Event10 };
308
+ export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service62, node65, exports_permission2, Rule3, Ruleset2, Event14 };
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./repository-9yxvhatz.js";
4
+ } from "./variant-9ya6mhzs.js";
5
5
  import {
6
- Service80,
7
- node84
8
- } from "./repository-0h1qn0y5.js";
6
+ Service71,
7
+ node74
8
+ } from "./variant-yt8edf6v.js";
9
9
  import {
10
10
  create3
11
- } from "./repository-rdw6cm16.js";
11
+ } from "./variant-rdw6cm16.js";
12
12
  import {
13
13
  __export
14
- } from "./repository-9rqn6x4v.js";
14
+ } from "./variant-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
- Event: () => Event6,
20
+ Event: () => Event7,
21
21
  ID: () => ID4,
22
- Input: () => Input13,
22
+ Input: () => Input14,
23
23
  Provider: () => Provider2,
24
24
  ProviderKey: () => ProviderKey2,
25
25
  ProviderNotFoundError: () => ProviderNotFoundError2,
@@ -28,19 +28,19 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service25,
31
+ Service: () => Service39,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node28
33
+ node: () => node42
34
34
  });
35
35
  import { WebSearch } from "@opencode/schema/websearch";
36
36
  import { SessionEvent } from "@opencode/schema/session-event";
37
37
  import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
38
38
  import { HttpClientError } from "effect/unstable/http";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- import { Event as Event6 } from "@opencode/schema/websearch";
40
+ import { Event as Event7 } from "@opencode/schema/websearch";
41
41
  var ID4 = WebSearch.ID;
42
42
  var Provider2 = WebSearch.Provider;
43
- var Input13 = WebSearch.Input;
43
+ var Input14 = WebSearch.Input;
44
44
  var Result2 = WebSearch.Result;
45
45
  var Response2 = WebSearch.Response;
46
46
  var ProviderKey2 = "websearch:provider";
@@ -63,11 +63,11 @@ class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
63
63
  }) {
64
64
  }
65
65
 
66
- class Service25 extends Context.Service()("@opencode/WebSearch") {
66
+ class Service39 extends Context.Service()("@opencode/WebSearch") {
67
67
  }
68
- var layer = Layer.effect(Service25, Effect.gen(function* () {
68
+ var layer = Layer.effect(Service39, Effect.gen(function* () {
69
69
  const bus = yield* Service83;
70
- const kv = yield* Service80;
70
+ const kv = yield* Service71;
71
71
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
72
72
  const cooldowns = new Map;
73
73
  const preferred = new Map;
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
124
124
  }
125
125
  return choice ? state.get().providers.get(choice) : undefined;
126
126
  });
127
- return Service25.of({
127
+ return Service39.of({
128
128
  transform: state.transform,
129
129
  reload: state.reload,
130
130
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
184
184
  const date = Date.parse(value);
185
185
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
186
186
  }
187
- var node28 = makeLocationNode({
188
- service: Service25,
187
+ var node42 = makeLocationNode({
188
+ service: Service39,
189
189
  layer,
190
- deps: [node87, node84]
190
+ deps: [node87, node74]
191
191
  });
192
192
 
193
- export { ID4, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service25, node28, exports_websearch3, Event6 };
193
+ export { ID4, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service39, node42, exports_websearch3, Event7 };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  collectBoundedResponseBody2
3
- } from "./repository-3v8g72cx.js";
3
+ } from "./variant-3v8g72cx.js";
4
4
  import {
5
5
  __export
6
- } from "./repository-9rqn6x4v.js";
6
+ } from "./variant-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/mcp.ts
9
- var exports_mcp2 = {};
10
- __export(exports_mcp2, {
11
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
12
- WebSearchMcp: () => exports_mcp2,
9
+ var exports_mcp = {};
10
+ __export(exports_mcp, {
11
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
12
+ WebSearchMcp: () => exports_mcp,
13
13
  call: () => call2,
14
14
  parseResponse: () => parseResponse2
15
15
  });
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest } from "effect/unstable/http";
18
- var MAX_RESPONSE_BYTES3 = 256 * 1024;
18
+ var MAX_RESPONSE_BYTES2 = 256 * 1024;
19
19
  var parseResponse2 = (body, result) => {
20
20
  const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
21
21
  const parse = (payload) => {
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
53
53
  }));
54
54
  return yield* Effect.gen(function* () {
55
55
  const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
56
- const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
56
+ const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
57
57
  return yield* parseResponse2(body.toString("utf8"), schema.output);
58
58
  }).pipe(Effect.scoped, Effect.timeoutOrElse({
59
59
  duration: Duration.seconds(25),
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
61
61
  }));
62
62
  });
63
63
 
64
- export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp2 };
64
+ export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./repository-9yxvhatz.js";
4
+ } from "./variant-9ya6mhzs.js";
5
5
  import {
6
6
  create3
7
- } from "./repository-rdw6cm16.js";
7
+ } from "./variant-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./repository-9rqn6x4v.js";
10
+ } from "./variant-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
- var exports_command4 = {};
14
- __export(exports_command4, {
15
- Command: () => exports_command4,
16
- Event: () => Event9,
13
+ var exports_command5 = {};
14
+ __export(exports_command5, {
15
+ Command: () => exports_command5,
16
+ Event: () => Event13,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info10,
19
- NotFoundError: () => NotFoundError6,
20
- Service: () => Service53,
21
- layer: () => layer18,
22
- node: () => node55
18
+ Info: () => Info14,
19
+ NotFoundError: () => NotFoundError7,
20
+ Service: () => Service55,
21
+ layer: () => layer22,
22
+ node: () => node59
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event9 } from "@opencode/schema/command";
28
- var Info10 = Command.Info;
27
+ import { Event as Event13 } from "@opencode/schema/command";
28
+ var Info14 = Command.Info;
29
29
 
30
- class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError7 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service53 extends Context.Service()("@opencode/Command") {
42
+ class Service55 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer18 = Layer.effect(Service53, Effect.gen(function* () {
44
+ var layer22 = Layer.effect(Service55, Effect.gen(function* () {
45
45
  const bus = yield* Service83;
46
46
  const state = create3({
47
47
  name: "command",
@@ -51,11 +51,11 @@ var layer18 = Layer.effect(Service53, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info10.make({
54
+ const info = (definition) => Info14.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service53.of({
58
+ return Service55.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,14 +66,14 @@ var layer18 = Layer.effect(Service53, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError7({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node55 = makeLocationNode({
75
- service: Service53,
76
- layer: layer18,
74
+ var node59 = makeLocationNode({
75
+ service: Service55,
76
+ layer: layer22,
77
77
  deps: [node87]
78
78
  });
79
79
  function errorMessage(error) {
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info10, NotFoundError6, ExecutionError2, Service53, layer18, node55, exports_command4, Event9 };
89
+ export { Info14, NotFoundError7, ExecutionError2, Service55, layer22, node59, exports_command5, Event13 };