@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,33 +1,33 @@
1
1
  import {
2
2
  key2
3
- } from "./model-resolver-cpj0znwe.js";
3
+ } from "./session-h6r3nrb9.js";
4
4
  import {
5
- Service81
6
- } from "./model-resolver-m8de87mw.js";
5
+ Service83
6
+ } from "./session-h7hj17zd.js";
7
7
  import {
8
8
  OAuth3,
9
- Event16
10
- } from "./model-resolver-n06j78b9.js";
9
+ Event19
10
+ } from "./session-t59yd1q2.js";
11
11
  import {
12
- ID8,
12
+ ID14,
13
13
  MethodID2
14
- } from "./model-resolver-vs0p53ya.js";
14
+ } from "./session-pxesn7xt.js";
15
15
  import {
16
- ID7,
16
+ ID13,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
- Service68
20
- } from "./model-resolver-6zbaf6y6.js";
19
+ Service75
20
+ } from "./session-eqgmqgzq.js";
21
21
  import {
22
- ID6
23
- } from "./model-resolver-tr5g7dwj.js";
22
+ ID12
23
+ } from "./session-jr0ecf9h.js";
24
24
  import {
25
- load3,
26
- derive3
27
- } from "./model-resolver-geazy0ga.js";
25
+ load2,
26
+ derive2
27
+ } from "./session-p3c4k0ck.js";
28
28
  import {
29
29
  useragent2
30
- } from "./model-resolver-fv5cfh7k.js";
30
+ } from "./session-6pbvtem2.js";
31
31
 
32
32
  // src/plugin/provider/github-copilot.ts
33
33
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
59
59
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
60
60
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
61
61
  var oauth = (app) => ({
62
- integrationID: ID8.make("github-copilot"),
62
+ integrationID: ID14.make("github-copilot"),
63
63
  method: {
64
64
  id: methodID,
65
65
  type: "oauth",
@@ -157,8 +157,8 @@ var oauth = (app) => ({
157
157
  var GithubCopilotPlugin2 = define({
158
158
  id: "opencode.provider.github.copilot",
159
159
  effect: Effect.fn(function* (ctx) {
160
- const providers = yield* Service68;
161
- const bus = yield* Service81;
160
+ const providers = yield* Service75;
161
+ const bus = yield* Service83;
162
162
  const loading = Semaphore.makeUnsafe(1);
163
163
  const loaded = {};
164
164
  const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
@@ -173,9 +173,9 @@ var GithubCopilotPlugin2 = define({
173
173
  return;
174
174
  }
175
175
  const url = copilotBaseURL2(credential.metadata) ?? baseURL();
176
- const provider = yield* providers.get(ID7.githubCopilot);
176
+ const provider = yield* providers.get(ID13.githubCopilot);
177
177
  const remote = yield* Effect.tryPromise({
178
- try: () => load3(url, {
178
+ try: () => load2(url, {
179
179
  ...provider?.headers,
180
180
  Authorization: `Bearer ${credential.refresh}`,
181
181
  "User-Agent": useragent2(ctx.app),
@@ -194,13 +194,13 @@ var GithubCopilotPlugin2 = define({
194
194
  editor.method.update(oauth(ctx.app));
195
195
  });
196
196
  yield* ctx.provider.transform((evt) => {
197
- const item = evt.get(ID7.githubCopilot);
197
+ const item = evt.get(ID13.githubCopilot);
198
198
  if (!item)
199
199
  return;
200
200
  if (loaded.models) {
201
201
  evt.add({
202
202
  info: item.provider,
203
- models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
203
+ models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
204
204
  sourceConnection: loaded.connection
205
205
  });
206
206
  return;
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
214
214
  }
215
215
  });
216
216
  yield* ctx.model.transform((models) => {
217
- if (models.get(ID7.githubCopilot, ID6.make("gpt-5-chat-latest"))) {
218
- models.update(ID7.githubCopilot, ID6.make("gpt-5-chat-latest"), (model) => {
217
+ if (models.get(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
218
+ models.update(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"), (model) => {
219
219
  model.enabled = false;
220
220
  });
221
221
  }
222
222
  });
223
223
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
224
- yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
224
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
225
225
  yield* refresh().pipe(Effect.forkScoped);
226
226
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
227
- if (evt.model.providerID !== ID7.githubCopilot)
227
+ if (evt.model.providerID !== ID13.githubCopilot)
228
228
  return;
229
229
  if (evt.package !== "@ai-sdk/github-copilot")
230
230
  return;
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
233
233
  evt.sdk = mod.createOpenaiCompatible(evt.options);
234
234
  }));
235
235
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
236
- if (evt.model.providerID !== ID7.githubCopilot)
236
+ if (evt.model.providerID !== ID13.githubCopilot)
237
237
  return;
238
238
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
239
239
  return;
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
243
243
  evt.headers["X-Interaction-Id"] = evt.sessionID;
244
244
  if (interaction !== "conversation-agent")
245
245
  evt.headers["x-initiator"] = "agent";
246
- }), { providerID: ID7.githubCopilot });
246
+ }), { providerID: ID13.githubCopilot });
247
247
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
248
- if (evt.model.providerID !== ID7.githubCopilot)
248
+ if (evt.model.providerID !== ID13.githubCopilot)
249
249
  return;
250
250
  const token = evt.request.headers.get("x-api-key");
251
251
  if (!token)
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
253
253
  const text = yield* Effect.promise(() => evt.request.clone().text());
254
254
  const body = Option.getOrUndefined(decodeBody(text));
255
255
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
256
- }), { providerID: ID7.githubCopilot });
256
+ }), { providerID: ID13.githubCopilot });
257
257
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
258
- if (evt.model.providerID !== ID7.githubCopilot)
258
+ if (evt.model.providerID !== ID13.githubCopilot)
259
259
  return;
260
260
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
261
261
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./session-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service4,
9
+ Service: () => Service5,
10
10
  bound: () => bound2,
11
- node: () => node6
11
+ node: () => node7
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service4 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service5 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node6 = makeLocationNode({
19
- service: Service4,
18
+ var node7 = makeLocationNode({
19
+ service: Service5,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service4, Service4.of({ all: () => stamped }));
29
+ return Layer.succeed(Service5, Service5.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service4, node6, bound2, exports_instance2 };
32
+ export { Service5, node7, bound2, exports_instance2 };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service78,
3
- node81
4
- } from "./model-resolver-7bw9czss.js";
2
+ Service80,
3
+ node84
4
+ } from "./session-eq7y7ctg.js";
5
5
  import {
6
6
  create3
7
- } from "./model-resolver-rdw6cm16.js";
7
+ } from "./session-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./model-resolver-9rqn6x4v.js";
10
+ } from "./session-9rqn6x4v.js";
11
11
 
12
12
  // src/formatter.ts
13
- var exports_formatter2 = {};
14
- __export(exports_formatter2, {
15
- Formatter: () => exports_formatter2,
16
- Service: () => Service16,
17
- node: () => node18
13
+ var exports_formatter3 = {};
14
+ __export(exports_formatter3, {
15
+ Formatter: () => exports_formatter3,
16
+ Service: () => Service79,
17
+ node: () => node83
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/unstable/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode/util/process";
24
- class Service16 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service79 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service16, Effect.gen(function* () {
27
- const location = yield* Service78;
26
+ var layer = Layer.effect(Service79, Effect.gen(function* () {
27
+ const location = yield* Service80;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
30
30
  const state = create3({
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service16.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service79.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node18 = makeLocationNode({
91
- service: Service16,
90
+ var node83 = makeLocationNode({
91
+ service: Service79,
92
92
  layer,
93
- deps: [node81, AppProcess.node]
93
+ deps: [node84, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service16, node18, exports_formatter2 };
96
+ export { Service79, node83, exports_formatter3 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  latest2,
3
- Service59
4
- } from "./model-resolver-trkehavn.js";
3
+ Service62
4
+ } from "./session-mjar7v5n.js";
5
5
  import {
6
6
  __export
7
- } from "./model-resolver-9rqn6x4v.js";
7
+ } from "./session-9rqn6x4v.js";
8
8
 
9
9
  // src/plugin/warming.ts
10
10
  var exports_warming = {};
11
11
  __export(exports_warming, {
12
- Plugin: () => Plugin34,
12
+ Plugin: () => Plugin47,
13
13
  WarmingPlugin: () => exports_warming
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -19,10 +19,10 @@ var defaults = {
19
19
  interval: Duration.minutes(4),
20
20
  duration: Duration.minutes(30)
21
21
  };
22
- var Plugin34 = define({
22
+ var Plugin47 = define({
23
23
  id: "opencode.warming",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service59;
25
+ const config = yield* Service62;
26
26
  const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
27
27
  const warming = latest2(yield* config.entries(), "warming");
28
28
  if (!warming)
@@ -96,4 +96,4 @@ var Plugin34 = define({
96
96
  })
97
97
  });
98
98
 
99
- export { Plugin34, exports_warming };
99
+ export { Plugin47, exports_warming };
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./model-resolver-922hggd3.js";
5
+ } from "./session-922hggd3.js";
6
6
  import {
7
- Service64,
8
- node67
9
- } from "./model-resolver-x3smdky3.js";
7
+ Service71,
8
+ node74
9
+ } from "./session-9n0v50v7.js";
10
10
  import {
11
11
  Content2
12
- } from "./model-resolver-w1ab7jb8.js";
12
+ } from "./session-zdeyg35w.js";
13
13
  import {
14
14
  detect2
15
- } from "./model-resolver-3smtnn6g.js";
15
+ } from "./session-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./model-resolver-9rqn6x4v.js";
18
+ } from "./session-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service12,
36
+ Service: () => Service6,
37
37
  TextPage: () => TextPage2,
38
- node: () => node14,
38
+ node: () => node8,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service12 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service6 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
330
330
  return index + 1;
331
331
  }
332
332
  };
333
- var layer = Layer.effect(Service12, Effect.gen(function* () {
334
- const environment = yield* Service64;
335
- return Service12.of({
333
+ var layer = Layer.effect(Service6, Effect.gen(function* () {
334
+ const environment = yield* Service71;
335
+ return Service6.of({
336
336
  list: environment.files.list,
337
337
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
338
338
  });
339
339
  }));
340
- var node14 = makeLocationNode({ service: Service12, layer, deps: [node67] });
340
+ var node8 = makeLocationNode({ service: Service6, layer, deps: [node74] });
341
341
 
342
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service12, read2, node14, exports_read_filesystem };
342
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service6, read2, node8, exports_read_filesystem };
@@ -5,17 +5,17 @@ import {
5
5
  renderInitial2,
6
6
  renderUpdate2,
7
7
  applyHashDelta2
8
- } from "./model-resolver-02nrjc1r.js";
8
+ } from "./session-rhjbct0v.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./model-resolver-ec1grn59.js";
11
+ } from "./session-ec1grn59.js";
12
12
  import {
13
13
  InstructionBlobTable2,
14
14
  InstructionStateTable2
15
- } from "./model-resolver-z07pqspn.js";
15
+ } from "./session-bjtzbw4r.js";
16
16
  import {
17
17
  __export
18
- } from "./model-resolver-9rqn6x4v.js";
18
+ } from "./session-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instruction-state.ts
21
21
  var exports_instruction_state = {};
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./model-resolver-b9yq29xv.js";
5
+ } from "./session-h3g6m2mf.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
9
  make23,
10
10
  makeWithDefaults2
11
- } from "./model-resolver-r1vxhqvv.js";
11
+ } from "./session-p7r1y5kx.js";
12
12
  import {
13
13
  __export
14
- } from "./model-resolver-9rqn6x4v.js";
14
+ } from "./session-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service78
3
- } from "./model-resolver-7bw9czss.js";
2
+ Service80
3
+ } from "./session-eq7y7ctg.js";
4
4
  import {
5
- Service64
6
- } from "./model-resolver-x3smdky3.js";
5
+ Service71
6
+ } from "./session-9n0v50v7.js";
7
7
  import {
8
- Service28,
8
+ Service70,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./model-resolver-z9ceva1d.js";
11
+ } from "./session-tbx5hf51.js";
12
12
  import {
13
- Service16
14
- } from "./model-resolver-vnzk026p.js";
13
+ Service79
14
+ } from "./session-cr1xjst3.js";
15
15
  import {
16
- Service73
17
- } from "./model-resolver-nsyvzat3.js";
16
+ Service55
17
+ } from "./session-mmqmbv6r.js";
18
18
  import {
19
19
  Service15,
20
20
  resolvePath2
21
- } from "./model-resolver-zp1dewdg.js";
21
+ } from "./session-heacpetk.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./model-resolver-6prwharc.js";
24
+ } from "./session-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./model-resolver-9rqn6x4v.js";
27
+ } from "./session-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input4,
33
+ Input: () => Input2,
34
34
  Output: () => Output2,
35
- Plugin: () => Plugin39,
36
- name: () => name4
35
+ Plugin: () => Plugin3,
36
+ name: () => name2
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name4 = "edit";
43
- var Input4 = Schema.Struct({
42
+ var name2 = "edit";
43
+ var Input2 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -103,20 +103,20 @@ var findLineOccurrences = (content, search) => {
103
103
  return result;
104
104
  }, []);
105
105
  };
106
- var Plugin39 = {
106
+ var Plugin3 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
109
  const access = yield* Service15;
110
- const fileMutation = yield* Service28;
111
- const environment = yield* Service64;
112
- const formatter = yield* Service16;
113
- const location = yield* Service78;
114
- const permission = yield* Service73;
110
+ const fileMutation = yield* Service70;
111
+ const environment = yield* Service71;
112
+ const formatter = yield* Service79;
113
+ const location = yield* Service80;
114
+ const permission = yield* Service55;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name4,
116
+ name: name2,
117
117
  options: { codemode: false, permission: "edit" },
118
118
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
119
- input: Input4,
119
+ input: Input2,
120
120
  output: Output2,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
@@ -194,4 +194,4 @@ var Plugin39 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name4, Input4, Output2, Plugin39, exports_edit };
197
+ export { name2, Input2, Output2, Plugin3, exports_edit };
@@ -1,28 +1,28 @@
1
1
  import {
2
- ID7,
2
+ ID13,
3
3
  mergeOverlay2
4
- } from "./model-resolver-6zbaf6y6.js";
4
+ } from "./session-eqgmqgzq.js";
5
5
  import {
6
- ID6,
6
+ ID12,
7
7
  VariantID2,
8
- Info20,
8
+ Info26,
9
9
  compatibility2
10
- } from "./model-resolver-tr5g7dwj.js";
10
+ } from "./session-jr0ecf9h.js";
11
11
  import {
12
12
  __export
13
- } from "./model-resolver-9rqn6x4v.js";
13
+ } from "./session-9rqn6x4v.js";
14
14
 
15
15
  // src/modal/models.ts
16
- var exports_models = {};
17
- __export(exports_models, {
18
- ModalModels: () => exports_models,
19
- derive: () => derive2,
20
- get: () => get2,
21
- load: () => load2
16
+ var exports_models2 = {};
17
+ __export(exports_models2, {
18
+ ModalModels: () => exports_models2,
19
+ derive: () => derive3,
20
+ get: () => get3,
21
+ load: () => load3
22
22
  });
23
23
  import { Money } from "@opencode/schema/money";
24
24
  import { Option, Schema } from "effect";
25
- var providerID = ID7.make("modal");
25
+ var providerID = ID13.make("modal");
26
26
  var ReasoningOption = Schema.Struct({
27
27
  type: Schema.Literal("effort"),
28
28
  values: Schema.Array(Schema.NullOr(Schema.String))
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
54
54
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
55
55
  var decodeResponse = Schema.decodeUnknownSync(Response);
56
56
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
57
- async function get2(baseURL, apiKey, existing) {
58
- return derive2(baseURL, await load2(baseURL, apiKey), existing);
57
+ async function get3(baseURL, apiKey, existing) {
58
+ return derive3(baseURL, await load3(baseURL, apiKey), existing);
59
59
  }
60
- async function load2(baseURL, apiKey) {
60
+ async function load3(baseURL, apiKey) {
61
61
  const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
62
62
  headers: {
63
63
  Authorization: `Bearer ${apiKey}`
@@ -71,12 +71,12 @@ async function load2(baseURL, apiKey) {
71
71
  return model ? [model] : [];
72
72
  });
73
73
  }
74
- function derive2(baseURL, remote, existing) {
74
+ function derive3(baseURL, remote, existing) {
75
75
  const templates = new Map(existing.map((model) => [model.id, model]));
76
76
  const result = new Map;
77
77
  for (const item of remote) {
78
- const template = templates.get(ID6.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
- const id = ID6.make(item.id);
78
+ const template = templates.get(ID12.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
+ const id = ID12.make(item.id);
80
80
  result.set(id, build(id, item, baseURL, template));
81
81
  }
82
82
  return result;
@@ -94,10 +94,10 @@ function limit(value, fallback) {
94
94
  function build(id, remote, baseURL, previous) {
95
95
  const cost = previous?.cost[0];
96
96
  const input = previous?.limit.input;
97
- return Info20.make({
98
- ...Info20.default(providerID, id),
97
+ return Info26.make({
98
+ ...Info26.default(providerID, id),
99
99
  id,
100
- modelID: ID6.make(remote.id),
100
+ modelID: ID12.make(remote.id),
101
101
  providerID,
102
102
  name: remote.name ?? previous?.name ?? remote.id,
103
103
  family: previous?.family,
@@ -144,4 +144,4 @@ function variants(remote) {
144
144
  return [...seen.values()];
145
145
  }
146
146
 
147
- export { get2, load2, derive2, exports_models };
147
+ export { get3, load3, derive3, exports_models2 };
@@ -1,9 +1,9 @@
1
1
  // src/filesystem/watcher-binding.ts
2
2
  import { createRequire } from "node:module";
3
- function load4() {
3
+ function load5() {
4
4
  const require2 = createRequire(import.meta.url);
5
5
  const libc = typeof OPENCODE_LIBC === "undefined" ? undefined : OPENCODE_LIBC;
6
6
  return require2(process.env.OPENCODE_PARCEL_WATCHER_PATH ?? `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linux" ? `-${libc || "glibc"}` : ""}`);
7
7
  }
8
8
 
9
- export { load4 };
9
+ export { load5 };