@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,38 +1,38 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service81,
4
- node84
5
- } from "./model-resolver-m8de87mw.js";
3
+ Service83,
4
+ node87
5
+ } from "./session-h7hj17zd.js";
6
6
  import {
7
7
  __export
8
- } from "./model-resolver-9rqn6x4v.js";
8
+ } from "./session-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/sdk.ts
11
11
  var exports_sdk = {};
12
12
  __export(exports_sdk, {
13
13
  SdkPlugins: () => exports_sdk,
14
- Service: () => Service6,
14
+ Service: () => Service12,
15
15
  Updated: () => Updated2,
16
- layer: () => layer6,
17
- node: () => node8
16
+ layer: () => layer7,
17
+ node: () => node14
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
  var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
22
22
 
23
- class Service6 extends Context.Service()("@opencode/SdkPlugins") {
23
+ class Service12 extends Context.Service()("@opencode/SdkPlugins") {
24
24
  }
25
- var layer6 = Layer.effect(Service6, Effect.gen(function* () {
26
- const bus = yield* Service81;
25
+ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
26
+ const bus = yield* Service83;
27
27
  const plugins = new Map;
28
28
  let revision = 0;
29
- return Service6.of({
29
+ return Service12.of({
30
30
  register: (plugin) => Effect.sync(() => {
31
31
  plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
32
32
  }).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
33
33
  all: () => [...plugins.values()]
34
34
  });
35
35
  }));
36
- var node8 = makeGlobalNode({ service: Service6, layer: layer6, deps: [node84] });
36
+ var node14 = makeGlobalNode({ service: Service12, layer: layer7, deps: [node87] });
37
37
 
38
- export { Updated2, Service6, layer6, node8, exports_sdk };
38
+ export { Updated2, Service12, layer7, node14, exports_sdk };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  jitCompatCheck2
3
- } from "./model-resolver-emrn6kk6.js";
3
+ } from "./session-emrn6kk6.js";
4
4
  import {
5
5
  SQLiteEffectDatabase2
6
- } from "./model-resolver-wgcg4671.js";
6
+ } from "./session-kcdjsgm9.js";
7
7
  import {
8
8
  EffectSQLiteSession2
9
- } from "./model-resolver-b9yq29xv.js";
9
+ } from "./session-h3g6m2mf.js";
10
10
 
11
11
  // src/database/drizzle/effect-sqlite/driver.ts
12
12
  import * as Effect from "effect/Effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./session-9rqn6x4v.js";
4
4
 
5
5
  // src/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./model-resolver-qfa1cgps.js";
3
+ } from "./session-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./model-resolver-5t3nmthw.js";
3
+ } from "./session-5t3nmthw.js";
4
4
  import {
5
- Service65,
6
- node68
7
- } from "./model-resolver-p995c4qr.js";
5
+ Service53,
6
+ node56
7
+ } from "./session-mxjgq0yr.js";
8
8
  import {
9
9
  __export
10
- } from "./model-resolver-9rqn6x4v.js";
10
+ } from "./session-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
13
  var exports_generate = {};
14
14
  __export(exports_generate, {
15
15
  Generate: () => exports_generate,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service25,
17
+ Service: () => Service22,
18
18
  UnavailableError: () => UnavailableError3,
19
19
  layer: () => layer11,
20
- node: () => node28
20
+ node: () => node25
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode/ai";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -33,11 +33,11 @@ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError"
33
33
  }) {
34
34
  }
35
35
 
36
- class Service25 extends Context.Service()("@opencode/Generate") {
36
+ class Service22 extends Context.Service()("@opencode/Generate") {
37
37
  }
38
- var layer11 = Layer.effect(Service25, Effect.gen(function* () {
38
+ var layer11 = Layer.effect(Service22, Effect.gen(function* () {
39
39
  const llm = yield* LLMClient.Service;
40
- const resolver = yield* Service65;
40
+ const resolver = yield* Service53;
41
41
  const runText = Effect.fn("Generate.text")(function* (input) {
42
42
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
43
43
  "SessionRunnerModel.VariantUnavailableError",
@@ -63,12 +63,12 @@ var layer11 = Layer.effect(Service25, Effect.gen(function* () {
63
63
  const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
64
64
  message: "Generation credentials are unavailable"
65
65
  })));
66
- return Service25.of({ text });
66
+ return Service22.of({ text });
67
67
  }));
68
- var node28 = makeLocationNode({
69
- service: Service25,
68
+ var node25 = makeLocationNode({
69
+ service: Service22,
70
70
  layer: layer11,
71
- deps: [node68, llmClient2]
71
+ deps: [node56, llmClient2]
72
72
  });
73
73
 
74
- export { ModelSelectionError2, UnavailableError3, Service25, layer11, node28, exports_generate };
74
+ export { ModelSelectionError2, UnavailableError3, Service22, layer11, node25, exports_generate };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  absoluteColumn2,
3
3
  absoluteArrayColumn2
4
- } from "./model-resolver-6msgmcgs.js";
4
+ } from "./session-6msgmcgs.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./model-resolver-qfa1cgps.js";
7
+ } from "./session-qfa1cgps.js";
8
8
 
9
9
  // src/project/sql.ts
10
10
  import { isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -1,22 +1,22 @@
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
- Key3,
7
- Service70,
8
- node73
9
- } from "./model-resolver-n06j78b9.js";
6
+ Key4,
7
+ Service77,
8
+ node81
9
+ } from "./session-t59yd1q2.js";
10
10
  import {
11
11
  create3
12
- } from "./model-resolver-rdw6cm16.js";
12
+ } from "./session-rdw6cm16.js";
13
13
  import {
14
14
  validateAnswer2,
15
15
  validateFields2
16
- } from "./model-resolver-14vnkz19.js";
16
+ } from "./session-8wynew8m.js";
17
17
  import {
18
18
  __export
19
- } from "./model-resolver-9rqn6x4v.js";
19
+ } from "./session-9rqn6x4v.js";
20
20
 
21
21
  // src/integration.ts
22
22
  var exports_integration = {};
@@ -31,17 +31,17 @@ __export(exports_integration, {
31
31
  CommandAttemptStatus: () => CommandAttemptStatus2,
32
32
  CommandMethod: () => CommandMethod2,
33
33
  EnvMethod: () => EnvMethod2,
34
- Event: () => Event15,
35
- ID: () => ID8,
36
- Info: () => Info23,
34
+ Event: () => Event18,
35
+ ID: () => ID14,
36
+ Info: () => Info29,
37
37
  Integration: () => exports_integration,
38
38
  KeyMethod: () => KeyMethod2,
39
39
  Method: () => Method2,
40
40
  MethodID: () => MethodID2,
41
41
  OAuthMethod: () => OAuthMethod2,
42
42
  Ref: () => Ref3,
43
- Service: () => Service69,
44
- node: () => node72
43
+ Service: () => Service76,
44
+ node: () => node80
45
45
  });
46
46
  import { makeLocationNode } from "@opencode/util/effect/app-node";
47
47
  import {
@@ -62,8 +62,8 @@ import {
62
62
  import { Integration } from "@opencode/schema/integration";
63
63
  import { AppProcess } from "@opencode/util/process";
64
64
  import { ChildProcess } from "effect/unstable/process";
65
- import { Event as Event15 } from "@opencode/schema/integration";
66
- var ID8 = Integration.ID;
65
+ import { Event as Event18 } from "@opencode/schema/integration";
66
+ var ID14 = Integration.ID;
67
67
  var MethodID2 = Integration.MethodID;
68
68
  var AttemptID2 = Integration.AttemptID;
69
69
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -71,7 +71,7 @@ var CommandMethod2 = Integration.CommandMethod;
71
71
  var KeyMethod2 = Integration.KeyMethod;
72
72
  var EnvMethod2 = Integration.EnvMethod;
73
73
  var Method2 = Integration.Method;
74
- var Info23 = Integration.Info;
74
+ var Info29 = Integration.Info;
75
75
  var Attempt2 = Integration.Attempt;
76
76
  var AttemptStatus2 = Integration.AttemptStatus;
77
77
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -94,20 +94,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
94
94
  }
95
95
 
96
96
  class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
97
- integrationID: ID8,
97
+ integrationID: ID14,
98
98
  attemptID: AttemptID2
99
99
  }) {
100
100
  }
101
101
  var Ref3 = Integration.Ref;
102
102
 
103
- class Service69 extends Context.Service()("@opencode/Integration") {
103
+ class Service76 extends Context.Service()("@opencode/Integration") {
104
104
  }
105
105
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
106
106
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
107
107
  var scrubInterval = Duration.seconds(30);
108
- var layer = Layer.effect(Service69, Effect.gen(function* () {
109
- const credentials = yield* Service70;
110
- const bus = yield* Service81;
108
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
109
+ const credentials = yield* Service77;
110
+ const bus = yield* Service83;
111
111
  const processes = yield* AppProcess.Service;
112
112
  const scope = yield* Scope.Scope;
113
113
  const attempts = SynchronizedRef.makeUnsafe(new Map);
@@ -201,7 +201,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
201
201
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
202
202
  return [...credentials, ...env];
203
203
  };
204
- const project = (entry, connections) => Info23.make({
204
+ const project = (entry, connections) => Info29.make({
205
205
  id: entry.ref.id,
206
206
  name: entry.ref.name,
207
207
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -285,7 +285,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
285
285
  const persistence = yield* createCredential({
286
286
  integrationID: attempt.integrationID,
287
287
  label: attempt.label,
288
- value: Key3.make({ type: "key", key: exit.value })
288
+ value: Key4.make({ type: "key", key: exit.value })
289
289
  }).pipe(Effect.asVoid, Effect.exit);
290
290
  const settledAt = yield* Clock.currentTimeMillis;
291
291
  const terminal = Exit.isSuccess(persistence) ? {
@@ -431,7 +431,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
431
431
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
432
432
  return CommandAttempt2.make({ attemptID, time });
433
433
  });
434
- return Service69.of({
434
+ return Service76.of({
435
435
  transform: state.transform,
436
436
  reload: state.reload,
437
437
  revision: state.revision,
@@ -453,7 +453,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
453
453
  resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
454
454
  if (connection.type === "env") {
455
455
  const key = process.env[connection.name];
456
- return key ? Key3.make({ type: "key", key }) : undefined;
456
+ return key ? Key4.make({ type: "key", key }) : undefined;
457
457
  }
458
458
  const credential = yield* credentials.get(connection.id);
459
459
  if (!credential)
@@ -486,7 +486,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
486
486
  yield* createCredential({
487
487
  integrationID: input.integrationID,
488
488
  label: input.label,
489
- value: Key3.make({
489
+ value: Key4.make({
490
490
  type: "key",
491
491
  key: input.key,
492
492
  ...Object.keys(answer).length > 0 ? { configuration: answer } : {}
@@ -580,10 +580,10 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
580
580
  }
581
581
  });
582
582
  }));
583
- var node72 = makeLocationNode({
584
- service: Service69,
583
+ var node80 = makeLocationNode({
584
+ service: Service76,
585
585
  layer,
586
- deps: [node73, node84, AppProcess.node]
586
+ deps: [node81, node87, AppProcess.node]
587
587
  });
588
588
 
589
- export { ID8, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info23, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service69, node72, exports_integration, Event15 };
589
+ export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info29, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service76, node80, exports_integration, Event18 };
@@ -1,9 +1,9 @@
1
1
  import {
2
- render2
3
- } from "./model-resolver-57b9ws8p.js";
2
+ render3
3
+ } from "./session-xfkkasph.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./session-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -424,7 +424,7 @@ function make(id, optimize, mode = "override") {
424
424
  const system = event.system[0];
425
425
  if (!system)
426
426
  return;
427
- const rendered = render2(template, Object.keys(event.tools));
427
+ const rendered = render3(template, Object.keys(event.tools));
428
428
  const text = mode === "append" ? `${system.text}
429
429
 
430
430
  ${rendered}` : rendered;
@@ -1,45 +1,45 @@
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
  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/agent.ts
13
- var exports_agent4 = {};
14
- __export(exports_agent4, {
15
- Agent: () => exports_agent4,
13
+ var exports_agent3 = {};
14
+ __export(exports_agent3, {
15
+ Agent: () => exports_agent3,
16
16
  Color: () => Color2,
17
- Event: () => Event20,
18
- ID: () => ID15,
19
- Info: () => Info30,
17
+ Event: () => Event12,
18
+ ID: () => ID9,
19
+ Info: () => Info12,
20
20
  Name: () => Name3,
21
- Service: () => Service77,
21
+ Service: () => Service58,
22
22
  defaultID: () => defaultID2,
23
- node: () => node80
23
+ node: () => node61
24
24
  });
25
25
  import path from "path";
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Array, Context, Effect, Layer } from "effect";
28
28
  import { Agent } from "@opencode/schema/agent";
29
29
  import { Global } from "@opencode/util/global";
30
- import { Event as Event20 } from "@opencode/schema/agent";
30
+ import { Event as Event12 } from "@opencode/schema/agent";
31
31
  var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
32
32
  var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
33
- var ID15 = Agent.ID;
33
+ var ID9 = Agent.ID;
34
34
  var Name3 = Agent.Name;
35
- var defaultID2 = ID15.make("build");
35
+ var defaultID2 = ID9.make("build");
36
36
  var Color2 = Agent.Color;
37
- var Info30 = Agent.Info;
37
+ var Info12 = Agent.Info;
38
38
 
39
- class Service77 extends Context.Service()("@opencode/Agent") {
39
+ class Service58 extends Context.Service()("@opencode/Agent") {
40
40
  }
41
- var layer = Layer.effect(Service77, Effect.gen(function* () {
42
- const bus = yield* Service81;
41
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
42
+ const bus = yield* Service83;
43
43
  const global = yield* Global.Service;
44
44
  const permissions = [
45
45
  { action: "external_directory", resource: SHELL_OUTPUT_GLOB(global.data), effect: "allow" },
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
57
57
  editor.default = id;
58
58
  },
59
59
  update: (id, fn) => {
60
- const defaults = Info30.default(id);
60
+ const defaults = Info12.default(id);
61
61
  const current = editor.agents.get(id) ?? {
62
62
  ...defaults,
63
63
  permissions: [...defaults.permissions, ...permissions]
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
79
79
  const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
80
80
  if (configured)
81
81
  return configured;
82
- const build = selectable(data.agents.get(ID15.make("build")));
82
+ const build = selectable(data.agents.get(ID9.make("build")));
83
83
  if (build)
84
84
  return build;
85
85
  for (const agent of data.agents.values()) {
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
88
88
  return fallback;
89
89
  }
90
90
  };
91
- return Service77.of({
91
+ return Service58.of({
92
92
  transform: state.transform,
93
93
  reload: state.reload,
94
94
  get: Effect.fn("Agent.get")(function* (id) {
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
96
96
  }),
97
97
  resolve: Effect.fnUntraced(function* (id) {
98
98
  if (id !== undefined)
99
- return state.get().agents.get(ID15.make(id));
99
+ return state.get().agents.get(ID9.make(id));
100
100
  return selectedDefault();
101
101
  }),
102
102
  select: Effect.fn("Agent.select")(function* (id) {
103
103
  if (id !== undefined) {
104
- const selected = ID15.make(id);
104
+ const selected = ID9.make(id);
105
105
  return { id: selected, info: state.get().agents.get(selected) };
106
106
  }
107
107
  const info = selectedDefault();
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node80 = makeLocationNode({ service: Service77, layer, deps: [node84, Global.node] });
119
+ var node61 = makeLocationNode({ service: Service58, layer, deps: [node87, Global.node] });
120
120
 
121
- export { ID15, Name3, defaultID2, Color2, Info30, Service77, node80, exports_agent4, Event20 };
121
+ export { ID9, Name3, defaultID2, Color2, Info12, Service58, node61, exports_agent3, Event12 };
@@ -1,96 +1,96 @@
1
1
  import {
2
2
  AmazonBedrockPlugin2
3
- } from "./model-resolver-59tns5gj.js";
3
+ } from "./session-tn1tvvf8.js";
4
4
  import {
5
5
  AzurePlugin2
6
- } from "./model-resolver-g2yswn4q.js";
6
+ } from "./session-tmga29hh.js";
7
7
  import {
8
8
  CerebrasPlugin2
9
- } from "./model-resolver-wc3fc9cn.js";
9
+ } from "./session-wc3fc9cn.js";
10
10
  import {
11
11
  CloudflareAIGatewayPlugin2
12
- } from "./model-resolver-zx1yj1rb.js";
12
+ } from "./session-egf2vfdp.js";
13
13
  import {
14
14
  CloudflareWorkersAIPlugin2
15
- } from "./model-resolver-p5n4cgkg.js";
15
+ } from "./session-nbnpf60z.js";
16
16
  import {
17
17
  CoherePlugin2
18
- } from "./model-resolver-z0bkrqjs.js";
18
+ } from "./session-z0bkrqjs.js";
19
19
  import {
20
20
  DigitalOceanPlugin2
21
- } from "./model-resolver-g220c3ay.js";
21
+ } from "./session-1pjm8rrq.js";
22
22
  import {
23
23
  DynamicProviderPlugin2
24
- } from "./model-resolver-vzcthcp8.js";
24
+ } from "./session-vzcthcp8.js";
25
25
  import {
26
26
  GatewayPlugin2
27
- } from "./model-resolver-669tq793.js";
27
+ } from "./session-669tq793.js";
28
28
  import {
29
29
  GithubCopilotPlugin2
30
- } from "./model-resolver-jprx4acp.js";
30
+ } from "./session-ck0y83mj.js";
31
31
  import {
32
32
  GitLabPlugin2
33
- } from "./model-resolver-xr3c7pyz.js";
33
+ } from "./session-c216p07d.js";
34
34
  import {
35
35
  GoogleVertexPlugin2
36
- } from "./model-resolver-g5j9y4s8.js";
36
+ } from "./session-gk0ydg26.js";
37
37
  import {
38
38
  KiloPlugin2
39
- } from "./model-resolver-qg3g05ea.js";
39
+ } from "./session-qg3g05ea.js";
40
40
  import {
41
41
  LLMGatewayPlugin2
42
- } from "./model-resolver-0nz87m70.js";
42
+ } from "./session-jkdp9jhx.js";
43
43
  import {
44
44
  LMStudioPlugin2
45
- } from "./model-resolver-cqv513mk.js";
45
+ } from "./session-hs240eev.js";
46
46
  import {
47
47
  ModalPlugin2
48
- } from "./model-resolver-h9yqjvwa.js";
48
+ } from "./session-1r8qbjr2.js";
49
49
  import {
50
50
  NvidiaPlugin2
51
- } from "./model-resolver-24dcb14g.js";
51
+ } from "./session-24dcb14g.js";
52
52
  import {
53
53
  OllamaPlugin2
54
- } from "./model-resolver-bmjpewtg.js";
54
+ } from "./session-0ytmhta4.js";
55
55
  import {
56
56
  OpenAIPlugin2
57
- } from "./model-resolver-yr3xshr9.js";
57
+ } from "./session-1n8ztckr.js";
58
58
  import {
59
59
  SnowflakeCortexPlugin2
60
- } from "./model-resolver-79daw15k.js";
60
+ } from "./session-fgem8802.js";
61
61
  import {
62
62
  OpencodePlugin2
63
- } from "./model-resolver-mxvadrgb.js";
63
+ } from "./session-ex14zv7q.js";
64
64
  import {
65
65
  OpenRouterPlugin2
66
- } from "./model-resolver-fchfgkaj.js";
66
+ } from "./session-sskd9ndy.js";
67
67
  import {
68
68
  PerplexityPlugin2
69
- } from "./model-resolver-veqvce7d.js";
69
+ } from "./session-veqvce7d.js";
70
70
  import {
71
71
  PoePlugin2
72
- } from "./model-resolver-v5w6wnvh.js";
72
+ } from "./session-hphs28j4.js";
73
73
  import {
74
74
  PromptCacheKeyPlugin2
75
- } from "./model-resolver-4k1ett8m.js";
75
+ } from "./session-m3wa6616.js";
76
76
  import {
77
77
  SapAICorePlugin2
78
- } from "./model-resolver-d70vg6w7.js";
78
+ } from "./session-nqrs8mbf.js";
79
79
  import {
80
80
  VercelPlugin2
81
- } from "./model-resolver-j85kw5b6.js";
81
+ } from "./session-tneds97h.js";
82
82
  import {
83
83
  VenicePlugin2
84
- } from "./model-resolver-yrhqyw5v.js";
84
+ } from "./session-yrhqyw5v.js";
85
85
  import {
86
86
  VLLMPlugin2
87
- } from "./model-resolver-43xnf7n2.js";
87
+ } from "./session-32zq83rw.js";
88
88
  import {
89
89
  XAIPlugin2
90
- } from "./model-resolver-xwmpr423.js";
90
+ } from "./session-8agd9fkq.js";
91
91
  import {
92
92
  ZenmuxPlugin2
93
- } from "./model-resolver-jjkms2e6.js";
93
+ } from "./session-jjkms2e6.js";
94
94
 
95
95
  // src/plugin/provider.ts
96
96
  var ProviderPlugins2 = [
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  fromPromise2
3
- } from "./model-resolver-zr2ceqn5.js";
3
+ } from "./session-zr2ceqn5.js";
4
4
  import {
5
- Service60
6
- } from "./model-resolver-fwwaqksj.js";
5
+ Service63
6
+ } from "./session-vqv9rnx6.js";
7
7
  import {
8
8
  __export
9
- } from "./model-resolver-9rqn6x4v.js";
9
+ } from "./session-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/module.ts
12
12
  var exports_module = {};
13
13
  __export(exports_module, {
14
14
  LoadError: () => LoadError2,
15
15
  PluginModule: () => exports_module,
16
- make: () => make9
16
+ make: () => make4
17
17
  });
18
18
  import { Host } from "@opencode/plugin/host";
19
19
  import { createPluginSources } from "@opencode/plugin/source";
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
22
22
  import path from "path";
23
23
  import { stat } from "node:fs/promises";
24
24
  import { fileURLToPath, pathToFileURL } from "url";
25
- var make9 = Effect.fn("PluginModule.make")(function* () {
26
- const watcher = yield* Service60;
25
+ var make4 = Effect.fn("PluginModule.make")(function* () {
26
+ const watcher = yield* Service63;
27
27
  const scope = yield* Effect.scope;
28
28
  const runPromise = yield* FiberSet.makeRuntimePromise();
29
29
  const changes = yield* PubSub.unbounded();
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
102
102
  };
103
103
  });
104
104
 
105
- export { make9, LoadError2, exports_module };
105
+ export { make4, LoadError2, exports_module };