@opencode/core 0.0.0-dev-20131 → 0.0.0-dev-20134

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 (801) 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 +75 -75
  7. package/dist/chunks/{model-resolver-cfv23f3f.js → session-0528tbrg.js} +6 -6
  8. package/dist/chunks/{model-resolver-phpw85vv.js → session-07770t2t.js} +4 -4
  9. package/dist/chunks/{model-resolver-zbr1vv3b.js → session-0bt82gmx.js} +25 -25
  10. package/dist/chunks/{model-resolver-2c0njjec.js → session-0ftdk3xv.js} +5 -5
  11. package/dist/chunks/{model-resolver-z4qjxmbw.js → session-0fzxf6wc.js} +44 -44
  12. package/dist/chunks/{model-resolver-7gn1sa53.js → session-0gpqv0d7.js} +13 -13
  13. package/dist/chunks/session-0mesazry.js +4 -0
  14. package/dist/chunks/{model-resolver-jc64rqpz.js → session-0mez8tnt.js} +31 -31
  15. package/dist/chunks/{model-resolver-0paq2nw3.js → session-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{model-resolver-r98e92ep.js → session-0v53mg2y.js} +4 -4
  17. package/dist/chunks/{model-resolver-et80q73h.js → session-0y0jf8bz.js} +10 -10
  18. package/dist/chunks/{model-resolver-bmjpewtg.js → session-0ytmhta4.js} +7 -7
  19. package/dist/chunks/{model-resolver-r8xr0va3.js → session-1acjjqhc.js} +4 -4
  20. package/dist/chunks/{model-resolver-06pr8t08.js → session-1appytgr.js} +40 -40
  21. package/dist/chunks/{model-resolver-1dazxqgg.js → session-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{model-resolver-vpg6s37p.js → session-1h321hfh.js} +14 -14
  23. package/dist/chunks/{model-resolver-wrmrmykr.js → session-1jfryw5c.js} +9 -9
  24. package/dist/chunks/{model-resolver-yr3xshr9.js → session-1n8ztckr.js} +17 -17
  25. package/dist/chunks/{model-resolver-g220c3ay.js → session-1pjm8rrq.js} +17 -17
  26. package/dist/chunks/{model-resolver-h9yqjvwa.js → session-1r8qbjr2.js} +19 -19
  27. package/dist/chunks/{model-resolver-y6mhz57t.js → session-1y283654.js} +4 -4
  28. package/dist/chunks/{model-resolver-21r38tys.js → session-21r38tys.js} +1 -1
  29. package/dist/chunks/{model-resolver-6h73sxmp.js → session-2402vzrj.js} +5 -5
  30. package/dist/chunks/{model-resolver-z63w68vq.js → session-29x78va6.js} +6 -6
  31. package/dist/chunks/{model-resolver-2a5m3afh.js → session-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{model-resolver-0hf9g8pg.js → session-2a6rn6yr.js} +6 -6
  33. package/dist/chunks/{model-resolver-5zmnbfpv.js → session-2cj6zq2v.js} +22 -22
  34. package/dist/chunks/{model-resolver-zgnhzt77.js → session-2p8k3371.js} +5 -5
  35. package/dist/chunks/{model-resolver-e2z5s1q4.js → session-2q16hf7k.js} +35 -35
  36. package/dist/chunks/{model-resolver-tep61x30.js → session-2r8e2ygh.js} +9 -9
  37. package/dist/chunks/{model-resolver-tdpndm1c.js → session-2xwkyk0m.js} +5 -5
  38. package/dist/chunks/{model-resolver-qrpa6y5p.js → session-2yfxt0v2.js} +20 -20
  39. package/dist/chunks/{model-resolver-jg7327rx.js → session-30m2zrq6.js} +33 -33
  40. package/dist/chunks/{model-resolver-qw9dfm9w.js → session-31gafaz8.js} +42 -42
  41. package/dist/chunks/{model-resolver-43xnf7n2.js → session-32zq83rw.js} +10 -10
  42. package/dist/chunks/{model-resolver-qtg64bph.js → session-37sfe3bm.js} +12 -12
  43. package/dist/chunks/{model-resolver-tn0aqsam.js → session-3cfzdc8e.js} +5 -5
  44. package/dist/chunks/{model-resolver-ys5e46m7.js → session-3cybq1qc.js} +22 -22
  45. package/dist/chunks/{model-resolver-8pdtxvwz.js → session-3dys93xp.js} +24 -24
  46. package/dist/chunks/{model-resolver-3fc6dm20.js → session-3fc6dm20.js} +1 -1
  47. package/dist/chunks/{model-resolver-3hepkmqq.js → session-3hepkmqq.js} +1 -1
  48. package/dist/chunks/{model-resolver-3smtnn6g.js → session-3smtnn6g.js} +1 -1
  49. package/dist/chunks/{model-resolver-3tvqynh2.js → session-3tvqynh2.js} +1 -1
  50. package/dist/chunks/{model-resolver-3zsf4n22.js → session-3zsf4n22.js} +1 -1
  51. package/dist/chunks/{model-resolver-k315xvzq.js → session-4c6z1rqe.js} +25 -25
  52. package/dist/chunks/{model-resolver-818pfwc9.js → session-4sh8yqy7.js} +11 -11
  53. package/dist/chunks/{model-resolver-0dd3shfy.js → session-52fg0y7n.js} +36 -36
  54. package/dist/chunks/{model-resolver-ckecvw8r.js → session-54tcyq79.js} +2 -2
  55. package/dist/chunks/{model-resolver-mfqp6xfm.js → session-56gdpj1q.js} +6 -6
  56. package/dist/chunks/{model-resolver-4sn99hha.js → session-57ez7d0k.js} +7 -7
  57. package/dist/chunks/{model-resolver-5daktx2q.js → session-5daktx2q.js} +1 -1
  58. package/dist/chunks/{model-resolver-jdn4y69x.js → session-5jwtz7hv.js} +25 -25
  59. package/dist/chunks/{model-resolver-bnn3ejb3.js → session-5rp2rwnm.js} +18 -18
  60. package/dist/chunks/{model-resolver-5t3nmthw.js → session-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{model-resolver-tfe0tp1v.js → session-5y73arsz.js} +25 -25
  62. package/dist/chunks/session-619r8v3y.js +18 -0
  63. package/dist/chunks/{model-resolver-gn5vz676.js → session-6642w2cj.js} +8 -8
  64. package/dist/chunks/{model-resolver-669tq793.js → session-669tq793.js} +1 -1
  65. package/dist/chunks/{model-resolver-36z62d1v.js → session-69n9b74f.js} +35 -35
  66. package/dist/chunks/{model-resolver-k9tmrhf2.js → session-6bfgap5x.js} +34 -34
  67. package/dist/chunks/{model-resolver-1a1kv4b6.js → session-6h7z503f.js} +23 -23
  68. package/dist/chunks/{model-resolver-dt787f91.js → session-6hcqq1md.js} +11 -11
  69. package/dist/chunks/{model-resolver-6msgmcgs.js → session-6msgmcgs.js} +1 -1
  70. package/dist/chunks/{model-resolver-3gpdp23k.js → session-6p5y4ap8.js} +17 -17
  71. package/dist/chunks/{model-resolver-fv5cfh7k.js → session-6pbvtem2.js} +11 -11
  72. package/dist/chunks/{model-resolver-r3s0jvgk.js → session-6r0aqgw3.js} +19 -20
  73. package/dist/chunks/{model-resolver-yvvvp4gn.js → session-757464b7.js} +8 -8
  74. package/dist/chunks/{model-resolver-7bmhse3q.js → session-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{model-resolver-7dqw4kz8.js → session-7dqw4kz8.js} +1 -1
  76. package/dist/chunks/{model-resolver-mptx0e16.js → session-7fppjafy.js} +11 -11
  77. package/dist/chunks/{model-resolver-4qaqz5hy.js → session-7k6cskgv.js} +26 -26
  78. package/dist/chunks/{model-resolver-syb9bdnb.js → session-7w017e43.js} +32 -32
  79. package/dist/chunks/{model-resolver-mtxspnbv.js → session-846b6z84.js} +6 -6
  80. package/dist/chunks/{model-resolver-mt4m7rgv.js → session-87v2rkm0.js} +36 -36
  81. package/dist/chunks/{model-resolver-xwmpr423.js → session-8agd9fkq.js} +11 -11
  82. package/dist/chunks/{model-resolver-8d7r5vzw.js → session-8d7r5vzw.js} +1 -1
  83. package/dist/chunks/session-8f20taex.js +26 -0
  84. package/dist/chunks/{model-resolver-dz80t97f.js → session-8fzhy9k1.js} +11 -11
  85. package/dist/chunks/{model-resolver-2pg8f252.js → session-8mh5gech.js} +4 -4
  86. package/dist/chunks/{model-resolver-skewz91w.js → session-8mm8tgpp.js} +8 -8
  87. package/dist/chunks/{model-resolver-7gtkwbed.js → session-8w9tkbk6.js} +24 -24
  88. package/dist/chunks/{model-resolver-14vnkz19.js → session-8wynew8m.js} +28 -28
  89. package/dist/chunks/{model-resolver-s5e1nvhr.js → session-95w19n7z.js} +4 -4
  90. package/dist/chunks/{model-resolver-mw06f09h.js → session-97t28psz.js} +4 -4
  91. package/dist/chunks/{model-resolver-36cdy2c1.js → session-9hhr22e8.js} +13 -13
  92. package/dist/chunks/{model-resolver-x3smdky3.js → session-9n0v50v7.js} +24 -24
  93. package/dist/chunks/{model-resolver-9d2rvs94.js → session-9ndmafen.js} +26 -26
  94. package/dist/chunks/{model-resolver-j63mkyf2.js → session-9qda6h90.js} +48 -48
  95. package/dist/chunks/{model-resolver-e97x7vbd.js → session-9tvbt0s9.js} +19 -19
  96. package/dist/chunks/{model-resolver-2z2h1d1a.js → session-9xk7dr53.js} +28 -28
  97. package/dist/chunks/{model-resolver-n0tq777j.js → session-9y0w708y.js} +8 -8
  98. package/dist/chunks/{model-resolver-6fatt4mk.js → session-a3ftg8j6.js} +9 -9
  99. package/dist/chunks/{model-resolver-z3nay82g.js → session-a881zpfh.js} +9 -9
  100. package/dist/chunks/{model-resolver-bkmpw4ys.js → session-a9v9eagy.js} +43 -43
  101. package/dist/chunks/{model-resolver-aaet6srn.js → session-aaet6srn.js} +2 -2
  102. package/dist/chunks/{model-resolver-vxd8j8jx.js → session-af6afdkh.js} +11 -11
  103. package/dist/chunks/{model-resolver-n12nh7v3.js → session-ahy4c62g.js} +16 -16
  104. package/dist/chunks/{model-resolver-8rrp652e.js → session-axg2n8ne.js} +45 -45
  105. package/dist/chunks/{model-resolver-g190xswt.js → session-axmvebxj.js} +21 -21
  106. package/dist/chunks/{model-resolver-hkagk5ex.js → session-b09hzw3k.js} +2 -2
  107. package/dist/chunks/{model-resolver-31aac5dg.js → session-b2s36faa.js} +15 -15
  108. package/dist/chunks/{model-resolver-b6gygkdw.js → session-b6gygkdw.js} +2 -2
  109. package/dist/chunks/{model-resolver-hkk23z5q.js → session-b9628qxg.js} +27 -27
  110. package/dist/chunks/{model-resolver-2kze60mb.js → session-bdfpx8x9.js} +89 -89
  111. package/dist/chunks/{model-resolver-prwkcbsp.js → session-bf5cr955.js} +6 -6
  112. package/dist/chunks/{model-resolver-7xpjqkkh.js → session-bfa7c5ax.js} +66 -66
  113. package/dist/chunks/{model-resolver-k0a3z2qz.js → session-bgc5ggmx.js} +4 -4
  114. package/dist/chunks/{model-resolver-34ffsfmk.js → session-bhvj0hck.js} +22 -22
  115. package/dist/chunks/{model-resolver-z07pqspn.js → session-bjtzbw4r.js} +3 -3
  116. package/dist/chunks/{model-resolver-nswx804b.js → session-bsek55kf.js} +5 -5
  117. package/dist/chunks/{model-resolver-tj563fq2.js → session-bynbkkrq.js} +12 -12
  118. package/dist/chunks/{model-resolver-xr3c7pyz.js → session-c216p07d.js} +22 -22
  119. package/dist/chunks/{model-resolver-h78w9zet.js → session-c3kbhwag.js} +14 -14
  120. package/dist/chunks/{model-resolver-26ytv93r.js → session-c5fcvd0r.js} +172 -172
  121. package/dist/chunks/{model-resolver-bsqx64w4.js → session-c651xxjb.js} +4 -4
  122. package/dist/chunks/{model-resolver-vtpkq4qf.js → session-cgf4qtyb.js} +1 -1
  123. package/dist/chunks/{model-resolver-jprx4acp.js → session-ck0y83mj.js} +32 -32
  124. package/dist/chunks/{model-resolver-5xtgfte3.js → session-cmwkp3r5.js} +8 -8
  125. package/dist/chunks/{model-resolver-vnzk026p.js → session-cr1xjst3.js} +18 -18
  126. package/dist/chunks/{model-resolver-ng7mjv9a.js → session-d169bmdp.js} +7 -7
  127. package/dist/chunks/{model-resolver-g5dq6450.js → session-d2vtx4rg.js} +15 -15
  128. package/dist/chunks/{model-resolver-wgtcm0m7.js → session-d8cw0a7r.js} +4 -4
  129. package/dist/chunks/{model-resolver-wg9731he.js → session-dg3w1nd5.js} +3 -3
  130. package/dist/chunks/{model-resolver-sekja6vn.js → session-dxxbt7kt.js} +27 -27
  131. package/dist/chunks/{model-resolver-fq1mb532.js → session-dzx7cgz6.js} +23 -23
  132. package/dist/chunks/{model-resolver-5qd3pb7m.js → session-e3qxr5gk.js} +2 -2
  133. package/dist/chunks/{model-resolver-d39wnbs3.js → session-e91n1vqx.js} +19 -19
  134. package/dist/chunks/{model-resolver-p44d8wdy.js → session-ead3g9p8.js} +5 -5
  135. package/dist/chunks/{model-resolver-ecfe7b91.js → session-ecfe7b91.js} +2 -2
  136. package/dist/chunks/{model-resolver-ef5x83kb.js → session-ef5x83kb.js} +1 -1
  137. package/dist/chunks/{model-resolver-zx1yj1rb.js → session-egf2vfdp.js} +5 -5
  138. package/dist/chunks/{model-resolver-wgj8gk84.js → session-egkessa9.js} +13 -13
  139. package/dist/chunks/{model-resolver-ktaf8h5s.js → session-en82kyyd.js} +30 -30
  140. package/dist/chunks/{model-resolver-7bw9czss.js → session-eq7y7ctg.js} +16 -16
  141. package/dist/chunks/{model-resolver-6zbaf6y6.js → session-eqgmqgzq.js} +46 -37
  142. package/dist/chunks/{model-resolver-2f06ph81.js → session-esm0w1b0.js} +16 -16
  143. package/dist/chunks/{model-resolver-etq0c3wd.js → session-etq0c3wd.js} +1 -1
  144. package/dist/chunks/{model-resolver-mxvadrgb.js → session-ex14zv7q.js} +22 -22
  145. package/dist/chunks/{model-resolver-pad12jgs.js → session-f0dr2g2r.js} +6 -6
  146. package/dist/chunks/{model-resolver-xts25mas.js → session-f521skwk.js} +17 -17
  147. package/dist/chunks/{model-resolver-79daw15k.js → session-fgem8802.js} +19 -19
  148. package/dist/chunks/{model-resolver-r9gyrj3a.js → session-fgfhh57a.js} +34 -34
  149. package/dist/chunks/{model-resolver-11a63abd.js → session-fhg3967s.js} +14 -14
  150. package/dist/chunks/{model-resolver-84zt2byv.js → session-fhs97t90.js} +9 -9
  151. package/dist/chunks/{model-resolver-a2ew8a62.js → session-fm2qvscf.js} +4 -4
  152. package/dist/chunks/{model-resolver-pvyheege.js → session-g0cq5w32.js} +11 -11
  153. package/dist/chunks/{model-resolver-gd4qta3r.js → session-gd4qta3r.js} +1 -1
  154. package/dist/chunks/{model-resolver-94ek1h2f.js → session-gfvb90ym.js} +2 -2
  155. package/dist/chunks/{model-resolver-g5j9y4s8.js → session-gk0ydg26.js} +5 -5
  156. package/dist/chunks/{model-resolver-ddvm9hbe.js → session-gmnv6hk3.js} +11 -11
  157. package/dist/chunks/{model-resolver-312373c7.js → session-gv0zjanc.js} +2 -2
  158. package/dist/chunks/{model-resolver-gv6a8nnw.js → session-gv6a8nnw.js} +2 -2
  159. package/dist/chunks/{model-resolver-b9yq29xv.js → session-h3g6m2mf.js} +1 -1
  160. package/dist/chunks/{model-resolver-cpj0znwe.js → session-h6r3nrb9.js} +4 -4
  161. package/dist/chunks/{model-resolver-h6vf3j39.js → session-h6vf3j39.js} +1 -1
  162. package/dist/chunks/{model-resolver-m8de87mw.js → session-h7hj17zd.js} +18 -18
  163. package/dist/chunks/{model-resolver-n1vacj9h.js → session-hcs4mqse.js} +17 -17
  164. package/dist/chunks/{model-resolver-zp1dewdg.js → session-heacpetk.js} +12 -12
  165. package/dist/chunks/{model-resolver-v5w6wnvh.js → session-hphs28j4.js} +5 -5
  166. package/dist/chunks/{model-resolver-cqv513mk.js → session-hs240eev.js} +10 -10
  167. package/dist/chunks/{model-resolver-48mqjw6a.js → session-j071fj1s.js} +4 -4
  168. package/dist/chunks/{model-resolver-j56e64zr.js → session-j56e64zr.js} +1 -1
  169. package/dist/chunks/{model-resolver-rz6dkkgy.js → session-jhp1ybt8.js} +11 -11
  170. package/dist/chunks/{model-resolver-0nz87m70.js → session-jkdp9jhx.js} +5 -5
  171. package/dist/chunks/{model-resolver-6c4rfp41.js → session-jmnp53ge.js} +29 -29
  172. package/dist/chunks/session-jqzvwjpb.js +507 -0
  173. package/dist/chunks/{model-resolver-tr5g7dwj.js → session-jr0ecf9h.js} +35 -35
  174. package/dist/chunks/{model-resolver-qn4ba14w.js → session-jv01nqvq.js} +5 -5
  175. package/dist/chunks/{model-resolver-2ksgs95r.js → session-jw82g7av.js} +8 -8
  176. package/dist/chunks/{model-resolver-ncjresk4.js → session-k1qrnqst.js} +8 -8
  177. package/dist/chunks/{model-resolver-k3c624dm.js → session-k3c624dm.js} +3 -3
  178. package/dist/chunks/{model-resolver-7q7n39pe.js → session-kb59fdpw.js} +4 -4
  179. package/dist/chunks/{model-resolver-wgcg4671.js → session-kcdjsgm9.js} +7 -7
  180. package/dist/chunks/{model-resolver-148hwcm1.js → session-kpx4374r.js} +39 -39
  181. package/dist/chunks/{model-resolver-b10wfwbh.js → session-kz2d9cr5.js} +20 -20
  182. package/dist/chunks/{model-resolver-m3fdjcah.js → session-m3fdjcah.js} +1 -1
  183. package/dist/chunks/{model-resolver-4k1ett8m.js → session-m3wa6616.js} +3 -3
  184. package/dist/chunks/{model-resolver-m9w0rfyh.js → session-m9w0rfyh.js} +1 -1
  185. package/dist/chunks/{model-resolver-nvga8as2.js → session-m9z7dnhm.js} +25 -25
  186. package/dist/chunks/{model-resolver-trkehavn.js → session-mjar7v5n.js} +42 -42
  187. package/dist/chunks/{model-resolver-f0f4082g.js → session-mm4nhw9r.js} +9 -9
  188. package/dist/chunks/{model-resolver-4xhhjths.js → session-mm5kxf07.js} +5 -5
  189. package/dist/chunks/{model-resolver-nsyvzat3.js → session-mmqmbv6r.js} +65 -65
  190. package/dist/chunks/{model-resolver-5qw9a524.js → session-mvcnf324.js} +11 -11
  191. package/dist/chunks/{model-resolver-p995c4qr.js → session-mxjgq0yr.js} +44 -44
  192. package/dist/chunks/{model-resolver-c4k5568r.js → session-n33gk849.js} +11 -11
  193. package/dist/chunks/{model-resolver-tbggjeq3.js → session-n37bveed.js} +11 -11
  194. package/dist/chunks/{model-resolver-mvpnggzp.js → session-nar7sgjh.js} +16 -16
  195. package/dist/chunks/{model-resolver-p5n4cgkg.js → session-nbnpf60z.js} +5 -5
  196. package/dist/chunks/{model-resolver-pws4t4z4.js → session-nd53eew0.js} +12 -12
  197. package/dist/chunks/{model-resolver-aye9t8w1.js → session-ne7kgqpw.js} +11 -11
  198. package/dist/chunks/{model-resolver-d70vg6w7.js → session-nqrs8mbf.js} +5 -5
  199. package/dist/chunks/{model-resolver-geazy0ga.js → session-p3c4k0ck.js} +22 -22
  200. package/dist/chunks/{model-resolver-02ycnm9p.js → session-p7047zcd.js} +6 -6
  201. package/dist/chunks/{model-resolver-m1g4ddbr.js → session-p7bz2hjw.js} +13 -13
  202. package/dist/chunks/{model-resolver-r1vxhqvv.js → session-p7r1y5kx.js} +3 -3
  203. package/dist/chunks/{model-resolver-pjvnvgmy.js → session-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{model-resolver-pknna89w.js → session-pknna89w.js} +1 -1
  205. package/dist/chunks/{model-resolver-30h5yzkb.js → session-pr8jm0zb.js} +15 -15
  206. package/dist/chunks/{model-resolver-wd3x2cqz.js → session-psazpmmj.js} +2 -2
  207. package/dist/chunks/{model-resolver-vs0p53ya.js → session-pxesn7xt.js} +32 -32
  208. package/dist/chunks/{model-resolver-1p07q0wb.js → session-py3kkmfq.js} +4 -4
  209. package/dist/chunks/{model-resolver-avgcnp2n.js → session-q0wmx86t.js} +27 -27
  210. package/dist/chunks/{model-resolver-eg6dkfdg.js → session-q2mqgyy2.js} +31 -31
  211. package/dist/chunks/{model-resolver-9qk46xax.js → session-q4zrs7xy.js} +8 -8
  212. package/dist/chunks/{model-resolver-bbqvnk4j.js → session-q963sbf3.js} +21 -21
  213. package/dist/chunks/{model-resolver-f9fdmeaf.js → session-q99gfn14.js} +23 -23
  214. package/dist/chunks/{model-resolver-hkfaxnqd.js → session-qasz7rhc.js} +18 -18
  215. package/dist/chunks/{model-resolver-xwk6kexd.js → session-qbjfyf75.js} +30 -30
  216. package/dist/chunks/{model-resolver-djszqvmq.js → session-qmqgtz8f.js} +9 -9
  217. package/dist/chunks/{model-resolver-da6awahp.js → session-qpeyhwm2.js} +11 -11
  218. package/dist/chunks/{model-resolver-qsdy395h.js → session-qsdy395h.js} +1 -1
  219. package/dist/chunks/session-r3de6286.js +252 -0
  220. package/dist/chunks/{model-resolver-rpdh6k9e.js → session-r538rb9z.js} +10 -10
  221. package/dist/chunks/{model-resolver-mvfsc1pv.js → session-r5x6zcsm.js} +3 -3
  222. package/dist/chunks/{model-resolver-rdw6cm16.js → session-rdw6cm16.js} +1 -1
  223. package/dist/chunks/{model-resolver-02nrjc1r.js → session-rhjbct0v.js} +6 -6
  224. package/dist/chunks/{model-resolver-6ersrjne.js → session-rp8jz6x1.js} +6 -6
  225. package/dist/chunks/{model-resolver-e9e65bk8.js → session-rrc5e3ev.js} +29 -29
  226. package/dist/chunks/{model-resolver-yrznvahk.js → session-s4enseaf.js} +2 -2
  227. package/dist/chunks/{model-resolver-y7mjge6b.js → session-s53ftpkx.js} +7 -7
  228. package/dist/chunks/{model-resolver-4xkes3e0.js → session-s8dmgcs0.js} +20 -20
  229. package/dist/chunks/{model-resolver-8qxd8ywd.js → session-sckvzk98.js} +18 -18
  230. package/dist/chunks/{model-resolver-r94sc7mg.js → session-sh3phbfe.js} +22 -22
  231. package/dist/chunks/{model-resolver-fchfgkaj.js → session-sskd9ndy.js} +3 -3
  232. package/dist/chunks/{model-resolver-wskc8q6d.js → session-sz5vz1wf.js} +11 -11
  233. package/dist/chunks/{model-resolver-qrcgjn0g.js → session-t4ksqcr2.js} +13 -13
  234. package/dist/chunks/{model-resolver-n06j78b9.js → session-t59yd1q2.js} +35 -35
  235. package/dist/chunks/{model-resolver-baaqp4zd.js → session-t7n9q6bq.js} +4 -4
  236. package/dist/chunks/{model-resolver-tazgh4e4.js → session-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{model-resolver-865wjsr0.js → session-tbjk1c8h.js} +6 -6
  238. package/dist/chunks/{model-resolver-z9ceva1d.js → session-tbx5hf51.js} +13 -13
  239. package/dist/chunks/{model-resolver-tcezcvh9.js → session-tcezcvh9.js} +1 -1
  240. package/dist/chunks/{model-resolver-tdstcens.js → session-tdstcens.js} +1 -1
  241. package/dist/chunks/{model-resolver-8daq0xa6.js → session-tf0e10et.js} +8 -8
  242. package/dist/chunks/{model-resolver-019v9s6p.js → session-tfepzakq.js} +17 -17
  243. package/dist/chunks/{model-resolver-8nvr8aa5.js → session-tfvxnwx3.js} +78 -78
  244. package/dist/chunks/{model-resolver-fb8vwq5a.js → session-thcmj08g.js} +43 -43
  245. package/dist/chunks/{model-resolver-g2yswn4q.js → session-tmga29hh.js} +25 -25
  246. package/dist/chunks/{model-resolver-59tns5gj.js → session-tn1tvvf8.js} +3 -3
  247. package/dist/chunks/{model-resolver-j85kw5b6.js → session-tneds97h.js} +1 -1
  248. package/dist/chunks/{model-resolver-tvtrv512.js → session-tvtrv512.js} +1 -1
  249. package/dist/chunks/{model-resolver-5fk90ppn.js → session-txb4y5xa.js} +21 -21
  250. package/dist/chunks/{model-resolver-40py8n81.js → session-v176d600.js} +4 -4
  251. package/dist/chunks/{model-resolver-wz37ky42.js → session-va3x5b40.js} +12 -12
  252. package/dist/chunks/{model-resolver-veqvce7d.js → session-veqvce7d.js} +1 -1
  253. package/dist/chunks/{model-resolver-1443xh57.js → session-vnvh2nvt.js} +17 -17
  254. package/dist/chunks/{model-resolver-c8t27pbe.js → session-vq9shp4g.js} +22 -22
  255. package/dist/chunks/{model-resolver-fwwaqksj.js → session-vqv9rnx6.js} +20 -20
  256. package/dist/chunks/{model-resolver-ab36d4rp.js → session-vweq6sc1.js} +32 -32
  257. package/dist/chunks/{model-resolver-ktk6m7yv.js → session-vy4zg7qh.js} +12 -12
  258. package/dist/chunks/{model-resolver-380686fe.js → session-vz7jp237.js} +14 -14
  259. package/dist/chunks/{model-resolver-vzcthcp8.js → session-vzcthcp8.js} +1 -1
  260. package/dist/chunks/{model-resolver-vzs5sf6e.js → session-vzs5sf6e.js} +1 -1
  261. package/dist/chunks/{model-resolver-1xdh55zq.js → session-w10brcxe.js} +18 -18
  262. package/dist/chunks/{model-resolver-3jbh6hat.js → session-w3qgazy5.js} +24 -24
  263. package/dist/chunks/{model-resolver-w3wsvvr9.js → session-w3wsvvr9.js} +1 -1
  264. package/dist/chunks/{model-resolver-wd87259q.js → session-wd87259q.js} +1 -1
  265. package/dist/chunks/{model-resolver-bscb95cy.js → session-wnmqtqbz.js} +9 -9
  266. package/dist/chunks/{model-resolver-rgp9xjnz.js → session-wrjmr25m.js} +9 -9
  267. package/dist/chunks/{model-resolver-vjkdmr6a.js → session-wxzrhv2x.js} +60 -60
  268. package/dist/chunks/{model-resolver-5c96rnmg.js → session-x049st24.js} +9 -9
  269. package/dist/chunks/{model-resolver-xd8zv5eh.js → session-x07y8hs2.js} +10 -10
  270. package/dist/chunks/{model-resolver-x1ezjp6w.js → session-x1ezjp6w.js} +1 -1
  271. package/dist/chunks/{model-resolver-kwrf6mrp.js → session-x9n1am6t.js} +4 -4
  272. package/dist/chunks/{model-resolver-57b9ws8p.js → session-xfkkasph.js} +7 -7
  273. package/dist/chunks/{model-resolver-xkntkrq7.js → session-xkntkrq7.js} +2 -2
  274. package/dist/chunks/{model-resolver-h52b82t8.js → session-xwwwchq2.js} +9 -9
  275. package/dist/chunks/{model-resolver-y1fvbwt7.js → session-y1fvbwt7.js} +1 -1
  276. package/dist/chunks/{model-resolver-ndmv45hp.js → session-y6f0p4jw.js} +3 -3
  277. package/dist/chunks/{model-resolver-y71avatq.js → session-y71avatq.js} +1 -1
  278. package/dist/chunks/{model-resolver-pzf166vf.js → session-yd2wz4pz.js} +15 -15
  279. package/dist/chunks/{model-resolver-tabketkd.js → session-yjwwdrr3.js} +9 -9
  280. package/dist/chunks/{model-resolver-pfk6y5a9.js → session-yp43kvqs.js} +3 -3
  281. package/dist/chunks/{model-resolver-yrhqyw5v.js → session-yrhqyw5v.js} +1 -1
  282. package/dist/chunks/{model-resolver-j2gs22te.js → session-yyq2f7ar.js} +23 -23
  283. package/dist/chunks/{model-resolver-z0bkrqjs.js → session-z0bkrqjs.js} +1 -1
  284. package/dist/chunks/{model-resolver-7fgmj9zm.js → session-z2gmecgp.js} +50 -50
  285. package/dist/chunks/{model-resolver-154cngd0.js → session-z2sk8n0r.js} +5 -5
  286. package/dist/chunks/{model-resolver-cre1ds5y.js → session-z583c3vg.js} +9 -9
  287. package/dist/chunks/{model-resolver-reg6q42h.js → session-zd30eb5w.js} +5 -5
  288. package/dist/chunks/{model-resolver-w1ab7jb8.js → session-zdeyg35w.js} +26 -26
  289. package/dist/chunks/{model-resolver-zeh9ct20.js → session-zeh9ct20.js} +2 -2
  290. package/dist/chunks/{model-resolver-jpvyrqpf.js → session-zqjvm1pw.js} +8 -8
  291. package/dist/chunks/{model-resolver-zr2ceqn5.js → session-zr2ceqn5.js} +1 -1
  292. package/dist/chunks/{model-resolver-zxq2ej10.js → session-zxq2ej10.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +7 -7
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +79 -79
  298. package/dist/config/discovery.js +82 -82
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +123 -123
  302. package/dist/config/plugin/command.js +212 -212
  303. package/dist/config/plugin/compaction.js +160 -160
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +125 -125
  310. package/dist/config/plugin/mcp.js +130 -130
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +125 -125
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +144 -144
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +124 -124
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +124 -124
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +124 -124
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +85 -85
  327. package/dist/database/database.js +70 -70
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +79 -79
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +371 -371
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +1 -1
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +74 -74
  417. package/dist/file-access.js +100 -100
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/file.js +1 -1
  421. package/dist/filesystem/fff.bun.js +2 -2
  422. package/dist/filesystem/fff.js +1 -1
  423. package/dist/filesystem/fff.node.js +2 -2
  424. package/dist/filesystem/fff.workerd.js +2 -2
  425. package/dist/filesystem/ignore.js +1 -1
  426. package/dist/filesystem/location-watcher-policy.js +6 -6
  427. package/dist/filesystem/location-watcher.js +227 -227
  428. package/dist/filesystem/protected.js +1 -1
  429. package/dist/filesystem/search.js +97 -97
  430. package/dist/filesystem/watcher-binding.js +3 -3
  431. package/dist/filesystem/watcher.js +11 -11
  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 +99 -99
  437. package/dist/git.js +10 -10
  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 +99 -99
  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 +362 -362
  462. package/dist/instruction-discovery.js +83 -83
  463. package/dist/instructions/builtins.js +87 -87
  464. package/dist/instructions/index.js +3 -3
  465. package/dist/integration/connection.js +3 -3
  466. package/dist/integration.js +86 -86
  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 +135 -135
  471. package/dist/location-lifecycle.js +107 -107
  472. package/dist/location-mutation.js +100 -100
  473. package/dist/location-service-map.js +86 -86
  474. package/dist/location-services.js +359 -359
  475. package/dist/location.js +87 -87
  476. package/dist/managed-policy.js +5 -5
  477. package/dist/mcp/client.js +91 -91
  478. package/dist/mcp/index.js +96 -96
  479. package/dist/mcp/instructions.js +120 -120
  480. package/dist/mcp/oauth.js +78 -78
  481. package/dist/mcp/stdio.js +90 -90
  482. package/dist/mime.js +1 -1
  483. package/dist/modal/models.js +99 -99
  484. package/dist/model-resolver.js +98 -98
  485. package/dist/model.js +102 -102
  486. package/dist/models-dev.js +101 -101
  487. package/dist/oauth/page.js +1 -1
  488. package/dist/permission/saved.js +80 -80
  489. package/dist/permission/sql.js +5 -5
  490. package/dist/permission.js +119 -119
  491. package/dist/persistent-pty/binary.bun.js +1 -1
  492. package/dist/persistent-pty/daemon.js +1 -1
  493. package/dist/persistent-pty/index.js +80 -80
  494. package/dist/persistent-pty/pty-binding.js +1 -1
  495. package/dist/persistent-pty.js +75 -75
  496. package/dist/plugin/agent.js +102 -102
  497. package/dist/plugin/command.js +99 -99
  498. package/dist/plugin/compaction.js +131 -131
  499. package/dist/plugin/hooks.js +5 -5
  500. package/dist/plugin/host.js +218 -218
  501. package/dist/plugin/identity.js +3 -3
  502. package/dist/plugin/instance.js +5 -5
  503. package/dist/plugin/internal.js +333 -333
  504. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  505. package/dist/plugin/models-dev.js +96 -96
  506. package/dist/plugin/module.js +7 -7
  507. package/dist/plugin/optimize.js +2 -2
  508. package/dist/plugin/plan.js +102 -102
  509. package/dist/plugin/promise.js +1 -1
  510. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  511. package/dist/plugin/provider/azure.js +122 -122
  512. package/dist/plugin/provider/cerebras.js +1 -1
  513. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  514. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  515. package/dist/plugin/provider/cohere.js +2 -2
  516. package/dist/plugin/provider/configured.js +119 -119
  517. package/dist/plugin/provider/digitalocean.js +93 -93
  518. package/dist/plugin/provider/dynamic.js +2 -2
  519. package/dist/plugin/provider/factory.js +1 -1
  520. package/dist/plugin/provider/gateway.js +2 -2
  521. package/dist/plugin/provider/github-copilot.js +93 -93
  522. package/dist/plugin/provider/gitlab.js +93 -93
  523. package/dist/plugin/provider/google-vertex.js +90 -90
  524. package/dist/plugin/provider/kilo.js +1 -1
  525. package/dist/plugin/provider/llmgateway.js +77 -77
  526. package/dist/plugin/provider/lmstudio.js +122 -122
  527. package/dist/plugin/provider/modal.js +92 -92
  528. package/dist/plugin/provider/nvidia.js +1 -1
  529. package/dist/plugin/provider/ollama.js +120 -120
  530. package/dist/plugin/provider/openai.js +92 -92
  531. package/dist/plugin/provider/opencode.js +95 -95
  532. package/dist/plugin/provider/openrouter.js +91 -91
  533. package/dist/plugin/provider/perplexity.js +2 -2
  534. package/dist/plugin/provider/poe.js +78 -78
  535. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  536. package/dist/plugin/provider/sap-ai-core.js +91 -91
  537. package/dist/plugin/provider/sdk-factory.js +1 -1
  538. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  539. package/dist/plugin/provider/venice.js +2 -2
  540. package/dist/plugin/provider/vercel.js +90 -90
  541. package/dist/plugin/provider/vllm.js +122 -122
  542. package/dist/plugin/provider/xai.js +91 -91
  543. package/dist/plugin/provider/zenmux.js +1 -1
  544. package/dist/plugin/provider.js +160 -160
  545. package/dist/plugin/sdk.js +76 -76
  546. package/dist/plugin/service.js +3 -3
  547. package/dist/plugin/skill.js +141 -141
  548. package/dist/plugin/source-directory.js +1 -1
  549. package/dist/plugin/supervisor.js +350 -350
  550. package/dist/plugin/tool-input-repair.js +4 -4
  551. package/dist/plugin/update.js +6 -6
  552. package/dist/plugin/vcs/git.js +86 -86
  553. package/dist/plugin/vcs/hg.js +86 -86
  554. package/dist/plugin/warming.js +121 -121
  555. package/dist/plugin/websearch/exa.js +5 -5
  556. package/dist/plugin/websearch/firecrawl.js +6 -6
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +4 -4
  559. package/dist/plugin/websearch/parallel.js +8 -8
  560. package/dist/plugin/websearch/tavily.js +6 -6
  561. package/dist/plugin/websearch/tinyfish.js +6 -6
  562. package/dist/plugin.js +229 -229
  563. package/dist/project/schema.js +6 -6
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +88 -88
  566. package/dist/provider.js +101 -101
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/schema.js +3 -3
  569. package/dist/pty/ticket.js +1 -1
  570. package/dist/pty.js +96 -96
  571. package/dist/reference/instructions.js +89 -89
  572. package/dist/reference.js +91 -91
  573. package/dist/repository-cache.js +81 -81
  574. package/dist/repository.js +3 -3
  575. package/dist/ripgrep/binary.js +2 -2
  576. package/dist/ripgrep.js +95 -95
  577. package/dist/rpc.js +86 -86
  578. package/dist/schema.js +1 -1
  579. package/dist/session/command.js +74 -74
  580. package/dist/session/compaction.js +134 -134
  581. package/dist/session/context.js +152 -152
  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 +224 -224
  587. package/dist/session/execution.js +126 -126
  588. package/dist/session/generate.js +151 -151
  589. package/dist/session/history.js +15 -15
  590. package/dist/session/inbox.js +86 -86
  591. package/dist/session/info.js +3 -3
  592. package/dist/session/instruction-entry.js +73 -73
  593. package/dist/session/instruction-state.js +8 -8
  594. package/dist/session/instructions.js +97 -97
  595. package/dist/session/message-updater.js +2 -2
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +115 -115
  598. package/dist/session/model-transport.js +5 -5
  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 +229 -229
  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 +114 -114
  611. package/dist/session/runner/step.js +124 -124
  612. package/dist/session/runner/to-llm-message.js +2 -2
  613. package/dist/session/schema.js +5 -5
  614. package/dist/session/session.js +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 +75 -75
  619. package/dist/session/store.js +85 -85
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +210 -210
  622. package/dist/session/system-prompt.js +5 -5
  623. package/dist/session/title.js +150 -150
  624. package/dist/session/to-session-error.js +111 -111
  625. package/dist/session/transfer.js +223 -223
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +218 -218
  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 +7 -7
  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 +89 -89
  637. package/dist/state.js +1 -1
  638. package/dist/tool/html-markdown.js +1 -1
  639. package/dist/tool/http-body.js +1 -1
  640. package/dist/tool/mcp.js +121 -121
  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 +122 -122
  644. package/dist/tool/plugin/grep.js +124 -124
  645. package/dist/tool/plugin/mcp-resource.js +116 -116
  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 +103 -103
  649. package/dist/tool/plugin/read.js +125 -125
  650. package/dist/tool/plugin/shell.js +217 -217
  651. package/dist/tool/plugin/skill.js +111 -111
  652. package/dist/tool/plugin/subagent.js +219 -219
  653. package/dist/tool/plugin/webfetch.js +112 -112
  654. package/dist/tool/plugin/websearch.js +114 -114
  655. package/dist/tool/plugin/write.js +122 -122
  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 +12 -12
  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 +5 -5
  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 +1 -1
  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 +82 -82
  690. package/dist/wellknown/plugin.js +74 -74
  691. package/dist/wellknown.js +79 -79
  692. package/dist/workspace/driver.js +3 -3
  693. package/dist/workspace/sql.js +1 -1
  694. package/dist/workspace.js +80 -80
  695. package/dist/worktree/directory.js +2 -2
  696. package/dist/worktree/git.js +8 -8
  697. package/dist/worktree/sql.js +5 -5
  698. package/dist/worktree/strategies.js +89 -89
  699. package/dist/worktree.js +94 -94
  700. package/package.json +8 -8
  701. package/dist/chunks/model-resolver-5m5mx5gm.js +0 -252
  702. package/dist/chunks/model-resolver-6kdq0pjd.js +0 -4
  703. package/dist/chunks/model-resolver-7fj5dwt0.js +0 -18
  704. package/dist/chunks/model-resolver-hha64avn.js +0 -26
  705. package/dist/chunks/model-resolver-sps9zgfa.js +0 -507
  706. /package/dist/chunks/{model-resolver-0qkdqm5v.js → session-0qkdqm5v.js} +0 -0
  707. /package/dist/chunks/{model-resolver-0zkw76rk.js → session-0zkw76rk.js} +0 -0
  708. /package/dist/chunks/{model-resolver-17cy0kzp.js → session-17cy0kzp.js} +0 -0
  709. /package/dist/chunks/{model-resolver-1cnp2v09.js → session-1cnp2v09.js} +0 -0
  710. /package/dist/chunks/{model-resolver-1kg9ymc8.js → session-1kg9ymc8.js} +0 -0
  711. /package/dist/chunks/{model-resolver-24dcb14g.js → session-24dcb14g.js} +0 -0
  712. /package/dist/chunks/{model-resolver-2710q6r3.js → session-2710q6r3.js} +0 -0
  713. /package/dist/chunks/{model-resolver-2axfhc9x.js → session-2axfhc9x.js} +0 -0
  714. /package/dist/chunks/{model-resolver-2c3vjs8z.js → session-2c3vjs8z.js} +0 -0
  715. /package/dist/chunks/{model-resolver-34c7v6d4.js → session-34c7v6d4.js} +0 -0
  716. /package/dist/chunks/{model-resolver-359p4xyc.js → session-359p4xyc.js} +0 -0
  717. /package/dist/chunks/{model-resolver-3asan66x.js → session-3asan66x.js} +0 -0
  718. /package/dist/chunks/{model-resolver-3v8g72cx.js → session-3v8g72cx.js} +0 -0
  719. /package/dist/chunks/{model-resolver-3w5fmr99.js → session-3w5fmr99.js} +0 -0
  720. /package/dist/chunks/{model-resolver-3wcehsnq.js → session-3wcehsnq.js} +0 -0
  721. /package/dist/chunks/{model-resolver-43n2bw4t.js → session-43n2bw4t.js} +0 -0
  722. /package/dist/chunks/{model-resolver-4knz6hnm.js → session-4knz6hnm.js} +0 -0
  723. /package/dist/chunks/{model-resolver-4vcrnpx2.js → session-4vcrnpx2.js} +0 -0
  724. /package/dist/chunks/{model-resolver-4y7fprxs.js → session-4y7fprxs.js} +0 -0
  725. /package/dist/chunks/{model-resolver-53557ph1.js → session-53557ph1.js} +0 -0
  726. /package/dist/chunks/{model-resolver-550bvhaj.js → session-550bvhaj.js} +0 -0
  727. /package/dist/chunks/{model-resolver-6prwharc.js → session-6prwharc.js} +0 -0
  728. /package/dist/chunks/{model-resolver-7akdwqpd.js → session-7akdwqpd.js} +0 -0
  729. /package/dist/chunks/{model-resolver-7m9af43g.js → session-7m9af43g.js} +0 -0
  730. /package/dist/chunks/{model-resolver-822emrt2.js → session-822emrt2.js} +0 -0
  731. /package/dist/chunks/{model-resolver-88xbtdfr.js → session-88xbtdfr.js} +0 -0
  732. /package/dist/chunks/{model-resolver-8n3pysct.js → session-8n3pysct.js} +0 -0
  733. /package/dist/chunks/{model-resolver-8wj87zfr.js → session-8wj87zfr.js} +0 -0
  734. /package/dist/chunks/{model-resolver-922hggd3.js → session-922hggd3.js} +0 -0
  735. /package/dist/chunks/{model-resolver-9a4afbnw.js → session-9a4afbnw.js} +0 -0
  736. /package/dist/chunks/{model-resolver-9rqn6x4v.js → session-9rqn6x4v.js} +0 -0
  737. /package/dist/chunks/{model-resolver-a6k6eb26.js → session-a6k6eb26.js} +0 -0
  738. /package/dist/chunks/{model-resolver-af5trqkr.js → session-af5trqkr.js} +0 -0
  739. /package/dist/chunks/{model-resolver-afrmfg78.js → session-afrmfg78.js} +0 -0
  740. /package/dist/chunks/{model-resolver-aqzs7mqg.js → session-aqzs7mqg.js} +0 -0
  741. /package/dist/chunks/{model-resolver-atq7p7m5.js → session-atq7p7m5.js} +0 -0
  742. /package/dist/chunks/{model-resolver-bkyjaxrp.js → session-bkyjaxrp.js} +0 -0
  743. /package/dist/chunks/{model-resolver-bmr6ed5q.js → session-bmr6ed5q.js} +0 -0
  744. /package/dist/chunks/{model-resolver-cf4snx6d.js → session-cf4snx6d.js} +0 -0
  745. /package/dist/chunks/{model-resolver-cvy3z8tj.js → session-cvy3z8tj.js} +0 -0
  746. /package/dist/chunks/{model-resolver-d9fn303g.js → session-d9fn303g.js} +0 -0
  747. /package/dist/chunks/{model-resolver-d9jj8t3e.js → session-d9jj8t3e.js} +0 -0
  748. /package/dist/chunks/{model-resolver-dajrwvna.js → session-dajrwvna.js} +0 -0
  749. /package/dist/chunks/{model-resolver-dap0rakb.js → session-dap0rakb.js} +0 -0
  750. /package/dist/chunks/{model-resolver-df08tz66.js → session-df08tz66.js} +0 -0
  751. /package/dist/chunks/{model-resolver-dy18nga0.js → session-dy18nga0.js} +0 -0
  752. /package/dist/chunks/{model-resolver-e5kj55wp.js → session-e5kj55wp.js} +0 -0
  753. /package/dist/chunks/{model-resolver-e73j6tqm.js → session-e73j6tqm.js} +0 -0
  754. /package/dist/chunks/{model-resolver-ec1grn59.js → session-ec1grn59.js} +0 -0
  755. /package/dist/chunks/{model-resolver-eh3zwz77.js → session-eh3zwz77.js} +0 -0
  756. /package/dist/chunks/{model-resolver-emrn6kk6.js → session-emrn6kk6.js} +0 -0
  757. /package/dist/chunks/{model-resolver-f0mxakyp.js → session-f0mxakyp.js} +0 -0
  758. /package/dist/chunks/{model-resolver-f6n9ztr4.js → session-f6n9ztr4.js} +0 -0
  759. /package/dist/chunks/{model-resolver-faypxj3z.js → session-faypxj3z.js} +0 -0
  760. /package/dist/chunks/{model-resolver-fd410y7t.js → session-fd410y7t.js} +0 -0
  761. /package/dist/chunks/{model-resolver-fxgpk5d8.js → session-fxgpk5d8.js} +0 -0
  762. /package/dist/chunks/{model-resolver-g4wezp1m.js → session-g4wezp1m.js} +0 -0
  763. /package/dist/chunks/{model-resolver-g86h250q.js → session-g86h250q.js} +0 -0
  764. /package/dist/chunks/{model-resolver-gebd4c9n.js → session-gebd4c9n.js} +0 -0
  765. /package/dist/chunks/{model-resolver-gftt206x.js → session-gftt206x.js} +0 -0
  766. /package/dist/chunks/{model-resolver-hjbc5kem.js → session-hjbc5kem.js} +0 -0
  767. /package/dist/chunks/{model-resolver-hk9envan.js → session-hk9envan.js} +0 -0
  768. /package/dist/chunks/{model-resolver-j2ntwpah.js → session-j2ntwpah.js} +0 -0
  769. /package/dist/chunks/{model-resolver-j5zkgpj8.js → session-j5zkgpj8.js} +0 -0
  770. /package/dist/chunks/{model-resolver-jjkms2e6.js → session-jjkms2e6.js} +0 -0
  771. /package/dist/chunks/{model-resolver-jr7sbwjy.js → session-jr7sbwjy.js} +0 -0
  772. /package/dist/chunks/{model-resolver-jwfs4k6c.js → session-jwfs4k6c.js} +0 -0
  773. /package/dist/chunks/{model-resolver-jzg6c2d5.js → session-jzg6c2d5.js} +0 -0
  774. /package/dist/chunks/{model-resolver-mp448xyj.js → session-mp448xyj.js} +0 -0
  775. /package/dist/chunks/{model-resolver-msx8hqn2.js → session-msx8hqn2.js} +0 -0
  776. /package/dist/chunks/{model-resolver-n05xt0ee.js → session-n05xt0ee.js} +0 -0
  777. /package/dist/chunks/{model-resolver-n3j8tn72.js → session-n3j8tn72.js} +0 -0
  778. /package/dist/chunks/{model-resolver-njntx4h6.js → session-njntx4h6.js} +0 -0
  779. /package/dist/chunks/{model-resolver-q3sfg36h.js → session-q3sfg36h.js} +0 -0
  780. /package/dist/chunks/{model-resolver-q74kybfr.js → session-q74kybfr.js} +0 -0
  781. /package/dist/chunks/{model-resolver-qaymkmh1.js → session-qaymkmh1.js} +0 -0
  782. /package/dist/chunks/{model-resolver-qb87gjwd.js → session-qb87gjwd.js} +0 -0
  783. /package/dist/chunks/{model-resolver-qfa1cgps.js → session-qfa1cgps.js} +0 -0
  784. /package/dist/chunks/{model-resolver-qg3g05ea.js → session-qg3g05ea.js} +0 -0
  785. /package/dist/chunks/{model-resolver-qrg20bc0.js → session-qrg20bc0.js} +0 -0
  786. /package/dist/chunks/{model-resolver-rcb2kzg1.js → session-rcb2kzg1.js} +0 -0
  787. /package/dist/chunks/{model-resolver-sdp7kfr6.js → session-sdp7kfr6.js} +0 -0
  788. /package/dist/chunks/{model-resolver-sk3qaz4a.js → session-sk3qaz4a.js} +0 -0
  789. /package/dist/chunks/{model-resolver-ssg3fenm.js → session-ssg3fenm.js} +0 -0
  790. /package/dist/chunks/{model-resolver-w803qqfp.js → session-w803qqfp.js} +0 -0
  791. /package/dist/chunks/{model-resolver-wc3fc9cn.js → session-wc3fc9cn.js} +0 -0
  792. /package/dist/chunks/{model-resolver-wer8tq1h.js → session-wer8tq1h.js} +0 -0
  793. /package/dist/chunks/{model-resolver-wtztk69x.js → session-wtztk69x.js} +0 -0
  794. /package/dist/chunks/{model-resolver-x0ckcb58.js → session-x0ckcb58.js} +0 -0
  795. /package/dist/chunks/{model-resolver-x61499pn.js → session-x61499pn.js} +0 -0
  796. /package/dist/chunks/{model-resolver-y44na4kk.js → session-y44na4kk.js} +0 -0
  797. /package/dist/chunks/{model-resolver-y8cydn3q.js → session-y8cydn3q.js} +0 -0
  798. /package/dist/chunks/{model-resolver-y8f7s663.js → session-y8f7s663.js} +0 -0
  799. /package/dist/chunks/{model-resolver-ygaqb7jw.js → session-ygaqb7jw.js} +0 -0
  800. /package/dist/chunks/{model-resolver-ym463w8f.js → session-ym463w8f.js} +0 -0
  801. /package/dist/chunks/{model-resolver-z9919s4g.js → session-z9919s4g.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service81,
3
- node84
4
- } from "./model-resolver-m8de87mw.js";
2
+ Service83,
3
+ node87
4
+ } from "./session-h7hj17zd.js";
5
5
  import {
6
6
  environment2
7
- } from "./model-resolver-rz6dkkgy.js";
7
+ } from "./session-jhp1ybt8.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./model-resolver-sk3qaz4a.js";
10
+ } from "./session-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./model-resolver-9rqn6x4v.js";
13
+ } from "./session-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError3,
19
+ NotFoundError: () => NotFoundError4,
20
20
  Options: () => Options4,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service22,
22
+ Service: () => Service21,
23
23
  UnavailableError: () => UnavailableError2,
24
24
  configured: () => configured4,
25
25
  layer: () => layer10,
26
- node: () => node25
26
+ node: () => node24
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -42,15 +42,15 @@ class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableE
42
42
  }) {
43
43
  }
44
44
 
45
- class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
45
+ class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
46
46
  ptyID: Pty.ID
47
47
  }) {
48
48
  }
49
49
 
50
- class Service22 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service21 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* () {
53
- const bus = yield* Service81;
52
+ var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* () {
53
+ const bus = yield* Service83;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
56
56
  const runFork = Effect.runForkWith(context);
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
72
72
  const get = Effect.fn("PersistentPty.get")(function* (id) {
73
73
  const found = (yield* list()).find((terminal) => terminal.id === id);
74
74
  if (!found)
75
- return yield* new NotFoundError3({ ptyID: id });
75
+ return yield* new NotFoundError4({ ptyID: id });
76
76
  return found;
77
77
  });
78
78
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service22.of({
242
+ return Service21.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -257,11 +257,11 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
257
257
  }));
258
258
  var layer10 = makeLayer();
259
259
  var configured4 = (options) => makeGlobalNode({
260
- service: Service22,
260
+ service: Service21,
261
261
  layer: options === undefined ? layer10 : makeLayer(options),
262
- deps: [node84, Global.node]
262
+ deps: [node87, Global.node]
263
263
  });
264
- var node25 = configured4();
264
+ var node24 = configured4();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
267
  var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options4, UnavailableError2, NotFoundError3, Service22, layer10, configured4, node25, exports_persistent_pty, Handoff2 };
304
+ export { Options4, UnavailableError2, NotFoundError4, Service21, layer10, configured4, node24, exports_persistent_pty, Handoff2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./model-resolver-922hggd3.js";
3
+ } from "./session-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./session-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/mcp.ts
9
9
  var exports_mcp5 = {};
10
10
  __export(exports_mcp5, {
11
11
  ConfigMCPV1: () => exports_mcp5,
12
- Info: () => Info14,
12
+ Info: () => Info20,
13
13
  Local: () => Local2,
14
14
  OAuth: () => OAuth2,
15
15
  Remote: () => Remote2
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
64
64
  description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
65
65
  })
66
66
  }).annotate({ identifier: "McpRemoteConfig" });
67
- var Info14 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
67
+ var Info20 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
68
68
 
69
- export { Local2, OAuth2, Remote2, Info14, exports_mcp5 };
69
+ export { Local2, OAuth2, Remote2, Info20, exports_mcp5 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./model-resolver-ec1grn59.js";
3
+ } from "./session-ec1grn59.js";
4
4
  import {
5
5
  tokens2
6
- } from "./model-resolver-tdstcens.js";
6
+ } from "./session-tdstcens.js";
7
7
 
8
8
  // src/session/runner/publish-llm-event.ts
9
9
  import { Effect, Fiber, Iterable } from "effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./model-resolver-qaymkmh1.js";
3
+ } from "./session-qaymkmh1.js";
4
4
 
5
5
  // src/util/git-executable.ts
6
6
  import path from "path";
@@ -1,18 +1,18 @@
1
1
  import {
2
- ID7
3
- } from "./model-resolver-6zbaf6y6.js";
2
+ ID13
3
+ } from "./session-eqgmqgzq.js";
4
4
  import {
5
5
  iife2
6
- } from "./model-resolver-1kg9ymc8.js";
6
+ } from "./session-1kg9ymc8.js";
7
7
  import {
8
8
  configuredSettings2
9
- } from "./model-resolver-pad12jgs.js";
9
+ } from "./session-f0dr2g2r.js";
10
10
 
11
11
  // src/plugin/provider/cloudflare-ai-gateway.ts
12
12
  import { Effect } from "effect";
13
13
  import { define } from "@opencode/plugin/effect/plugin";
14
14
  import { Form } from "@opencode/schema/form";
15
- var providerID = ID7.make("cloudflare-ai-gateway");
15
+ var providerID = ID13.make("cloudflare-ai-gateway");
16
16
  var CloudflareAIGatewayPlugin2 = define({
17
17
  id: "opencode.provider.cloudflare.ai.gateway",
18
18
  effect: Effect.fn(function* (ctx) {
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service63,
3
- node66,
2
+ Service69,
3
+ node72,
4
4
  canonical3
5
- } from "./model-resolver-h52b82t8.js";
5
+ } from "./session-xwwwchq2.js";
6
6
  import {
7
- Service53,
8
- node56
9
- } from "./model-resolver-0hf9g8pg.js";
7
+ Service47,
8
+ node49
9
+ } from "./session-2a6rn6yr.js";
10
10
  import {
11
- Service13
12
- } from "./model-resolver-mt4m7rgv.js";
11
+ Service14
12
+ } from "./session-87v2rkm0.js";
13
13
  import {
14
14
  layer2
15
- } from "./model-resolver-5m5mx5gm.js";
15
+ } from "./session-r3de6286.js";
16
16
 
17
17
  // src/location-services.ts
18
18
  import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
19
19
  function buildLocationServiceMap2(replacements = []) {
20
- return Layer.effect(Service63, Effect.gen(function* () {
20
+ return Layer.effect(Service69, Effect.gen(function* () {
21
21
  const owner = yield* Effect.scope;
22
22
  const builds = MutableHashMap.empty();
23
23
  const inner = yield* LayerMap.make((ref) => {
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
27
27
  const finish = Effect.suspend(() => {
28
28
  if (Exit.isSuccess(exit)) {
29
29
  return Effect.gen(function* () {
30
- const lifecycle = Context.get(exit.value, Service13);
30
+ const lifecycle = Context.get(exit.value, Service14);
31
31
  if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
32
32
  return yield* lifecycle.shutdown;
33
33
  build.close = lifecycle.shutdown;
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
54
54
  }).pipe(Effect.uninterruptible)
55
55
  };
56
56
  const bindings = [
57
- node56.replace(Layer.succeed(Service53, {
57
+ node49.replace(Layer.succeed(Service47, {
58
58
  provide: (session) => Effect.provide(map.get(session.location))
59
59
  })),
60
60
  ...replacements,
61
- node66.replace(Layer.succeed(Service63, map))
61
+ node72.replace(Layer.succeed(Service69, map))
62
62
  ];
63
63
  return map;
64
64
  }));
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./model-resolver-2a5m3afh.js";
3
+ } from "./session-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./model-resolver-922hggd3.js";
6
+ } from "./session-922hggd3.js";
7
7
  import {
8
- Service78
9
- } from "./model-resolver-7bw9czss.js";
8
+ Service80
9
+ } from "./session-eq7y7ctg.js";
10
10
  import {
11
- Service64
12
- } from "./model-resolver-x3smdky3.js";
11
+ Service71
12
+ } from "./session-9n0v50v7.js";
13
13
  import {
14
- Service19
15
- } from "./model-resolver-380686fe.js";
14
+ Service20
15
+ } from "./session-vz7jp237.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./model-resolver-w1ab7jb8.js";
21
+ } from "./session-zdeyg35w.js";
22
22
  import {
23
- Service73
24
- } from "./model-resolver-nsyvzat3.js";
23
+ Service55
24
+ } from "./session-mmqmbv6r.js";
25
25
  import {
26
26
  Service15
27
- } from "./model-resolver-zp1dewdg.js";
27
+ } from "./session-heacpetk.js";
28
28
  import {
29
29
  __export
30
- } from "./model-resolver-9rqn6x4v.js";
30
+ } from "./session-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input10,
36
+ Input: () => Input8,
37
37
  Output: () => Output7,
38
- Plugin: () => Plugin47,
39
- name: () => name10,
40
- toModelContent: () => toModelContent5
38
+ Plugin: () => Plugin10,
39
+ name: () => name8,
40
+ toModelContent: () => toModelContent6
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name10 = "glob";
46
- var Input10 = Schema.Struct({
45
+ var name8 = "glob";
46
+ var Input8 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -56,26 +56,26 @@ var Input10 = Schema.Struct({
56
56
  })
57
57
  });
58
58
  var Output7 = Schema.Array(Entry2);
59
- var toModelContent5 = (entries, truncated = false) => {
59
+ var toModelContent6 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin47 = {
66
+ var Plugin10 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service64;
70
- const ripgrep = yield* Service19;
71
- const location = yield* Service78;
69
+ const environment = yield* Service71;
70
+ const ripgrep = yield* Service20;
71
+ const location = yield* Service80;
72
72
  const access = yield* Service15;
73
- const permission = yield* Service73;
73
+ const permission = yield* Service55;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name10,
75
+ name: name8,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input10,
78
+ input: Input8,
79
79
  output: Output7,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
@@ -83,7 +83,7 @@ var Plugin47 = {
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name10,
86
+ action: name8,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -118,11 +118,11 @@ var Plugin47 = {
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent5(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent6(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name10, Input10, Output7, toModelContent5, Plugin47, exports_glob };
128
+ export { name8, Input8, Output7, toModelContent6, Plugin10, exports_glob };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service79,
3
- node82
4
- } from "./model-resolver-06pr8t08.js";
2
+ Service81,
3
+ node85
4
+ } from "./session-1appytgr.js";
5
5
  import {
6
6
  __export
7
- } from "./model-resolver-9rqn6x4v.js";
7
+ } from "./session-9rqn6x4v.js";
8
8
 
9
9
  // src/location.ts
10
10
  var exports_location = {};
11
11
  __export(exports_location, {
12
- Info: () => Info31,
12
+ Info: () => Info32,
13
13
  Location: () => exports_location,
14
14
  Ref: () => Ref4,
15
- Service: () => Service78,
15
+ Service: () => Service80,
16
16
  boundNode: () => boundNode2,
17
- node: () => node81,
17
+ node: () => node84,
18
18
  response: () => response2
19
19
  });
20
20
  import { Context, Effect, Layer } from "effect";
21
- import { Info as Info31, Ref as Ref4, response as response2 } from "@opencode/schema/location";
21
+ import { Info as Info32, Ref as Ref4, response as response2 } from "@opencode/schema/location";
22
22
  import { LayerNode } from "@opencode/util/effect/layer-node";
23
23
  import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
24
- class Service78 extends Context.Service()("@opencode/Location") {
24
+ class Service80 extends Context.Service()("@opencode/Location") {
25
25
  }
26
- var node81 = LayerNode.unbound(Service78, tags.values.location);
27
- var layer = (ref, options) => Layer.effect(Service78, Effect.gen(function* () {
28
- const project = yield* Service79;
26
+ var node84 = LayerNode.unbound(Service80, tags.values.location);
27
+ var layer = (ref, options) => Layer.effect(Service80, Effect.gen(function* () {
28
+ const project = yield* Service81;
29
29
  const resolved = yield* project.resolve(ref.directory, options);
30
- return Service78.of({
30
+ return Service80.of({
31
31
  directory: ref.directory,
32
32
  workspaceID: ref.workspaceID,
33
33
  project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service78, Effect.gen(function* () {
35
35
  });
36
36
  }));
37
37
  var boundNode2 = (ref, options) => makeLocationNode({
38
- service: Service78,
38
+ service: Service80,
39
39
  layer: layer(ref, options),
40
- deps: [node82]
40
+ deps: [node85]
41
41
  });
42
42
 
43
- export { Info31, Ref4, response2, Service78, node81, boundNode2, exports_location };
43
+ export { Info32, Ref4, response2, Service80, node84, boundNode2, exports_location };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service81,
3
- node84
4
- } from "./model-resolver-m8de87mw.js";
2
+ Service83,
3
+ node87
4
+ } from "./session-h7hj17zd.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./model-resolver-rdw6cm16.js";
8
+ } from "./session-rdw6cm16.js";
9
9
  import {
10
- ID8,
11
- Service69,
12
- node72,
13
- Event15
14
- } from "./model-resolver-vs0p53ya.js";
10
+ ID14,
11
+ Service76,
12
+ node80,
13
+ Event18
14
+ } from "./session-pxesn7xt.js";
15
15
  import {
16
16
  key2
17
- } from "./model-resolver-cpj0znwe.js";
17
+ } from "./session-h6r3nrb9.js";
18
18
  import {
19
- Service78,
20
- node81
21
- } from "./model-resolver-7bw9czss.js";
19
+ Service80,
20
+ node84
21
+ } from "./session-eq7y7ctg.js";
22
22
  import {
23
23
  __export
24
- } from "./model-resolver-9rqn6x4v.js";
24
+ } from "./session-9rqn6x4v.js";
25
25
 
26
26
  // src/aisdk-native.ts
27
27
  var exports_aisdk_native = {};
@@ -37,13 +37,13 @@ var exports_provider3 = {};
37
37
  __export(exports_provider3, {
38
38
  AISDK_PREFIX: () => AISDK_PREFIX2,
39
39
  Compaction: () => Compaction3,
40
- Event: () => Event14,
41
- ID: () => ID7,
42
- Info: () => Info21,
40
+ Event: () => Event17,
41
+ ID: () => ID13,
42
+ Info: () => Info27,
43
43
  LoadError: () => LoadError3,
44
44
  Provider: () => exports_provider3,
45
- Request: () => Request2,
46
- Service: () => Service68,
45
+ Request: () => Request3,
46
+ Service: () => Service75,
47
47
  Settings: () => Settings2,
48
48
  Transport: () => Transport2,
49
49
  aisdk: () => aisdk2,
@@ -53,7 +53,7 @@ __export(exports_provider3, {
53
53
  mergeOverlay: () => mergeOverlay2,
54
54
  modelSettings: () => modelSettings2,
55
55
  nativeSettings: () => nativeSettings2,
56
- node: () => node71,
56
+ node: () => node79,
57
57
  packageName: () => packageName2
58
58
  });
59
59
  import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
@@ -64,8 +64,8 @@ import { isRecord } from "@opencode/ai/utils/record";
64
64
  import { importModule, resolveModule } from "@opencode/util/runtime-import";
65
65
  import { Credential } from "@opencode/schema/credential";
66
66
  import { freeze } from "immer";
67
- import { Event as Event14 } from "@opencode/schema/provider";
68
- var ID7 = Provider.ID;
67
+ import { Event as Event17 } from "@opencode/schema/provider";
68
+ var ID13 = Provider.ID;
69
69
  var AISDK_PREFIX2 = "aisdk:";
70
70
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
71
71
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -206,13 +206,13 @@ function mergeHeaders2(base, overlay) {
206
206
  return result;
207
207
  }, new Map).values());
208
208
  }
209
- var Request2 = Provider.Request;
209
+ var Request3 = Provider.Request;
210
210
  var Compaction3 = Provider.Compaction;
211
211
  var Transport2 = Provider.Transport;
212
212
  var Settings2 = Provider.Settings;
213
- var Info21 = Provider.Info;
213
+ var Info27 = Provider.Info;
214
214
 
215
- class Service68 extends Context.Service()("@opencode/Provider") {
215
+ class Service75 extends Context.Service()("@opencode/Provider") {
216
216
  }
217
217
  var definitions = new WeakMap;
218
218
  function index(providerID, models) {
@@ -225,10 +225,10 @@ function index(providerID, models) {
225
225
  definitions.set(models, indexes);
226
226
  return result;
227
227
  }
228
- var layer = Layer.effect(Service68, Effect.gen(function* () {
229
- const bus = yield* Service81;
230
- const integrations = yield* Service69;
231
- const location = yield* Service78;
228
+ var layer = Layer.effect(Service75, Effect.gen(function* () {
229
+ const bus = yield* Service83;
230
+ const integrations = yield* Service76;
231
+ const location = yield* Service80;
232
232
  const state = create3({
233
233
  name: "provider",
234
234
  initial: () => new Map,
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
239
239
  const current = records.get(id);
240
240
  if (current)
241
241
  return current;
242
- const added = { provider: Info21.empty(id), models: new Map };
242
+ const added = { provider: Info27.empty(id), models: new Map };
243
243
  records.set(id, added);
244
244
  maps.add(added.models);
245
245
  return added;
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
320
320
  const available = Array.from(records.values()).filter((record) => {
321
321
  if (record.provider.activation === "disabled")
322
322
  return false;
323
- const integration = byID.get(record.provider.integrationID ?? ID8.make(record.provider.id));
323
+ const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
324
324
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
325
325
  return false;
326
326
  if (record.provider.activation === "enabled")
@@ -346,8 +346,8 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
346
346
  location: { directory: location.directory, workspaceID: location.workspaceID }
347
347
  });
348
348
  });
349
- yield* bus.subscribe([Event15.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
350
- return Service68.of({
349
+ yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
350
+ return Service75.of({
351
351
  transform: state.transform,
352
352
  reload: state.reload,
353
353
  get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
356
356
  snapshot
357
357
  });
358
358
  }));
359
- var node71 = makeLocationNode({ service: Service68, layer, deps: [node84, node72, node81] });
359
+ var node79 = makeLocationNode({ service: Service75, layer, deps: [node87, node80, node84] });
360
360
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
361
361
  const module = yield* Effect.tryPromise({
362
362
  try: () => {
@@ -499,8 +499,12 @@ function resolve(specifier, context) {
499
499
  function options(replacement, modelID, settings) {
500
500
  const converse = replacement === "@opencode/ai/providers/amazon-bedrock" && modelID !== undefined;
501
501
  const kept = Struct2.omit(settings, ["headers", "extraBody", "useCompletionUrls", ...OPENROUTER_KEYS]);
502
+ const thinking = converse ? bedrockThinking(modelID, settings) : undefined;
502
503
  return {
503
- settings: replacement.startsWith("@opencode/ai/providers/amazon-bedrock") ? bedrockSettings(kept, converse) : kept,
504
+ settings: {
505
+ ...replacement.startsWith("@opencode/ai/providers/amazon-bedrock") ? bedrockSettings(kept, converse) : kept,
506
+ ...thinking === undefined ? {} : { thinking }
507
+ },
504
508
  ...settings.headers === undefined ? {} : { headers: settings.headers },
505
509
  ...settings.extraBody === undefined ? {} : { body: settings.extraBody },
506
510
  ...converse ? bedrockRequest(modelID, settings) : {},
@@ -535,6 +539,12 @@ function bedrockSettings(settings, converse) {
535
539
  }
536
540
  };
537
541
  }
542
+ function bedrockThinking(modelID, settings) {
543
+ const reasoning = settings.reasoningConfig;
544
+ if (!modelID?.includes("anthropic") || reasoning?.type !== "enabled" || reasoning.budgetTokens === undefined)
545
+ return;
546
+ return { type: "enabled", budgetTokens: reasoning.budgetTokens };
547
+ }
538
548
  function bedrockRequest(modelID, settings) {
539
549
  const additional = settings.additionalModelRequestFields ?? {};
540
550
  const reasoning = settings.reasoningConfig;
@@ -548,7 +558,6 @@ function bedrockRequest(modelID, settings) {
548
558
  const betas = settings.anthropicBeta ?? [];
549
559
  const fields = mergeOverlay2(additional, {
550
560
  ...betas.length > 0 ? { anthropic_beta: [...additional.anthropic_beta ?? [], ...betas] } : {},
551
- ...anthropic && type === "enabled" && budget !== undefined ? { thinking: { type: "enabled", budget_tokens: budget } } : {},
552
561
  ...anthropic && type === "adaptive" ? { thinking: { type: "adaptive", ...display === undefined ? {} : { display } } } : {},
553
562
  ...anthropic && effort !== undefined ? { output_config: { ...additional.output_config, effort } } : {},
554
563
  ...!anthropic && openai && harmony && effort !== undefined ? { reasoning_effort: effort } : {},
@@ -616,4 +625,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
616
625
  }), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
617
626
  var decode = Schema2.decodeUnknownSync(Legacy);
618
627
 
619
- export { rewrite2, native2, exports_aisdk_native, ID7, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info21, Service68, node71, exports_provider3, Event14 };
628
+ export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info27, Service75, node79, exports_provider3, Event17 };