@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,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./session-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  PluginHooks: () => exports_hooks,
9
- Service: () => Service76,
10
- node: () => node79
9
+ Service: () => Service65,
10
+ node: () => node68
11
11
  });
12
12
  import { Context, Effect, Layer, Scope } from "effect";
13
13
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
20
20
  return typeof model.providerID === "string" ? model.providerID : undefined;
21
21
  };
22
22
 
23
- class Service76 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service65 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service76, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service65, Effect.gen(function* () {
26
26
  const callbacks = new Map;
27
27
  const key = (domain, name) => `${domain}.${String(name)}`;
28
28
  const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
54
54
  return event;
55
55
  });
56
56
  const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
57
- return Service76.of({ has, register, trigger });
57
+ return Service65.of({ has, register, trigger });
58
58
  }));
59
- var node79 = makeLocationNode({ service: Service76, layer, deps: [] });
59
+ var node68 = makeLocationNode({ service: Service65, layer, deps: [] });
60
60
 
61
- export { Service76, node79, exports_hooks };
61
+ export { Service65, node68, exports_hooks };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./model-resolver-y71avatq.js";
3
+ } from "./session-y71avatq.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./session-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/update.ts
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
- Service: () => Service8,
13
- node: () => node10
12
+ Service: () => Service10,
13
+ node: () => node12
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode/util/npm";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var interval = 24 * 60 * 60 * 1000;
19
19
 
20
- class Service8 extends Context.Service()("@opencode/PluginUpdate") {
20
+ class Service10 extends Context.Service()("@opencode/PluginUpdate") {
21
21
  }
22
- var layer = Layer.effect(Service8, Effect.gen(function* () {
22
+ var layer = Layer.effect(Service10, Effect.gen(function* () {
23
23
  const npm = yield* Npm.Service;
24
24
  const locks = makeUnsafe2();
25
25
  const status = new Map;
26
26
  const changes = yield* PubSub.unbounded();
27
- return Service8.of({
27
+ return Service10.of({
28
28
  check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
29
29
  const checkedAt = yield* Clock.currentTimeMillis;
30
30
  const current = status.get(target);
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node10 = makeGlobalNode({ service: Service8, layer, deps: [Npm.node] });
52
+ var node12 = makeGlobalNode({ service: Service10, layer, deps: [Npm.node] });
53
53
 
54
- export { Service8, node10, exports_update };
54
+ export { Service10, node12, exports_update };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create3
3
- } from "./model-resolver-rdw6cm16.js";
3
+ } from "./session-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./session-9rqn6x4v.js";
7
7
 
8
8
  // src/image.ts
9
9
  var exports_image2 = {};
@@ -11,9 +11,9 @@ __export(exports_image2, {
11
11
  DecodeError: () => DecodeError2,
12
12
  Image: () => exports_image2,
13
13
  ResizerUnavailableError: () => ResizerUnavailableError2,
14
- Service: () => Service55,
14
+ Service: () => Service50,
15
15
  SizeError: () => SizeError2,
16
- node: () => node58
16
+ node: () => node52
17
17
  });
18
18
  import { makeLocationNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
42
42
  }
43
43
  }
44
44
 
45
- class Service55 extends Context.Service()("@opencode/Image") {
45
+ class Service50 extends Context.Service()("@opencode/Image") {
46
46
  }
47
- var layer = Layer.effect(Service55, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service50, Effect.gen(function* () {
48
48
  const state = create3({
49
49
  name: "image",
50
50
  initial: () => ({
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
74
74
  const normalize = yield* loadAdapter;
75
75
  return yield* normalize(resource, content, state.get());
76
76
  });
77
- return Service55.of({ transform: state.transform, reload: state.reload, normalize });
77
+ return Service50.of({ transform: state.transform, reload: state.reload, normalize });
78
78
  }));
79
- var node58 = makeLocationNode({ service: Service55, layer, deps: [] });
79
+ var node52 = makeLocationNode({ service: Service50, layer, deps: [] });
80
80
 
81
- export { ResizerUnavailableError2, DecodeError2, SizeError2, Service55, node58, exports_image2 };
81
+ export { ResizerUnavailableError2, DecodeError2, SizeError2, Service50, node52, exports_image2 };
@@ -1,53 +1,53 @@
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
- node63
7
- } from "./model-resolver-fwwaqksj.js";
6
+ node66
7
+ } from "./session-vqv9rnx6.js";
8
8
  import {
9
- Service3,
10
- node5
11
- } from "./model-resolver-jdn4y69x.js";
9
+ Service4,
10
+ node6
11
+ } from "./session-5jwtz7hv.js";
12
12
  import {
13
- Service38
14
- } from "./model-resolver-7fj5dwt0.js";
13
+ Service35
14
+ } from "./session-619r8v3y.js";
15
15
  import {
16
- node22,
17
- ID2
18
- } from "./model-resolver-ys5e46m7.js";
16
+ node23,
17
+ ID3
18
+ } from "./session-3cybq1qc.js";
19
19
  import {
20
- Service4,
21
- node6
22
- } from "./model-resolver-5xtgfte3.js";
20
+ Service5,
21
+ node7
22
+ } from "./session-cmwkp3r5.js";
23
23
  import {
24
24
  requirements2,
25
25
  guarded2,
26
26
  list2
27
- } from "./model-resolver-sps9zgfa.js";
27
+ } from "./session-jqzvwjpb.js";
28
28
  import {
29
- make9,
29
+ make4,
30
30
  LoadError2
31
- } from "./model-resolver-9qk46xax.js";
31
+ } from "./session-q4zrs7xy.js";
32
32
  import {
33
33
  Updated2,
34
- Service6,
35
- node8
36
- } from "./model-resolver-m1g4ddbr.js";
34
+ Service12,
35
+ node14
36
+ } from "./session-p7bz2hjw.js";
37
37
  import {
38
- Service8,
39
- node10
40
- } from "./model-resolver-6fatt4mk.js";
38
+ Service10,
39
+ node12
40
+ } from "./session-a3ftg8j6.js";
41
41
  import {
42
42
  __export
43
- } from "./model-resolver-9rqn6x4v.js";
43
+ } from "./session-9rqn6x4v.js";
44
44
 
45
45
  // src/plugin/supervisor.ts
46
46
  var exports_supervisor = {};
47
47
  __export(exports_supervisor, {
48
48
  PluginSupervisor: () => exports_supervisor,
49
49
  layer: () => layer4,
50
- node: () => node4
50
+ node: () => node5
51
51
  });
52
52
  import { Event } from "@opencode/schema/config";
53
53
  import { Cause, Effect, Layer, Queue, Stream } from "effect";
@@ -116,7 +116,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
116
116
  failures: [
117
117
  ...failures.values(),
118
118
  ...ordered.filter(duplicate).map((plugin) => ({
119
- id: ID2.make(plugin.id),
119
+ id: ID3.make(plugin.id),
120
120
  source: plugin.source ?? { type: "builtin" },
121
121
  state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
122
122
  features: { server: true, ...plugin.features }
@@ -126,13 +126,13 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
126
126
  };
127
127
  });
128
128
  var layer4 = Layer.effectDiscard(Effect.gen(function* () {
129
- const registry = yield* Service38;
130
- const sdk = yield* Service6;
131
- const instance = yield* Service4;
132
- const sources = yield* Service3;
133
- const modules = yield* make9();
134
- const bus = yield* Service81;
135
- const updates = yield* Service8;
129
+ const registry = yield* Service35;
130
+ const sdk = yield* Service12;
131
+ const instance = yield* Service5;
132
+ const sources = yield* Service4;
133
+ const modules = yield* make4();
134
+ const bus = yield* Service83;
135
+ const updates = yield* Service10;
136
136
  const internal = yield* list2();
137
137
  let release = yield* registry.hold();
138
138
  yield* Effect.addFinalizer(() => release ?? Effect.void);
@@ -207,14 +207,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
207
207
  })), Effect.forkScoped({ startImmediately: true }));
208
208
  }));
209
209
  var nodeDeps = [
210
- node22,
211
- node8,
210
+ node23,
211
+ node14,
212
+ node7,
212
213
  node6,
213
- node5,
214
- node10,
215
- node84,
214
+ node12,
215
+ node87,
216
216
  Npm.node,
217
- node63,
217
+ node66,
218
218
  requirements2
219
219
  ];
220
220
  function pluginSource(target) {
@@ -222,6 +222,6 @@ function pluginSource(target) {
222
222
  return { type: "local", path: target };
223
223
  return { type: "package", target };
224
224
  }
225
- var node4 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
225
+ var node5 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
226
226
 
227
- export { layer4, node4, exports_supervisor };
227
+ export { layer4, node5, exports_supervisor };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./model-resolver-2a5m3afh.js";
5
+ } from "./session-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./model-resolver-9rqn6x4v.js";
8
+ } from "./session-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/memory.ts
11
11
  var exports_memory = {};
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service60
3
- } from "./model-resolver-fwwaqksj.js";
2
+ Service63
3
+ } from "./session-vqv9rnx6.js";
4
4
  import {
5
- Service59
6
- } from "./model-resolver-trkehavn.js";
5
+ Service62
6
+ } from "./session-mjar7v5n.js";
7
7
  import {
8
8
  parse2
9
- } from "./model-resolver-865wjsr0.js";
9
+ } from "./session-tbjk1c8h.js";
10
10
  import {
11
11
  __export
12
- } from "./model-resolver-9rqn6x4v.js";
12
+ } from "./session-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/compatibility.ts
15
15
  var exports_compatibility = {};
16
16
  __export(exports_compatibility, {
17
17
  ConfigCompatibilityPlugin: () => exports_compatibility,
18
- Plugin: () => Plugin9
18
+ Plugin: () => Plugin21
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { FSUtil } from "@opencode/util/fs-util";
22
22
  import path from "path";
23
23
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
24
- var Plugin9 = define({
24
+ var Plugin21 = define({
25
25
  id: "opencode.config.compatibility",
26
26
  effect: Effect.fn(function* (ctx) {
27
- const config = yield* Service59;
27
+ const config = yield* Service62;
28
28
  const fs = yield* FSUtil.Service;
29
- const watcher = yield* Service60;
29
+ const watcher = yield* Service63;
30
30
  const watches = yield* FiberMap.make();
31
31
  const changes = yield* PubSub.sliding(1);
32
32
  const lock = Semaphore.makeUnsafe(1);
@@ -73,4 +73,4 @@ var Plugin9 = define({
73
73
  })
74
74
  });
75
75
 
76
- export { Plugin9, exports_compatibility };
76
+ export { Plugin21, exports_compatibility };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service55
3
- } from "./model-resolver-z3nay82g.js";
2
+ Service50
3
+ } from "./session-a881zpfh.js";
4
4
  import {
5
- Service53
6
- } from "./model-resolver-0hf9g8pg.js";
5
+ Service47
6
+ } from "./session-2a6rn6yr.js";
7
7
  import {
8
8
  detect2
9
- } from "./model-resolver-3smtnn6g.js";
9
+ } from "./session-3smtnn6g.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./model-resolver-7fj5dwt0.js";
12
+ } from "./session-619r8v3y.js";
13
13
  import {
14
- Service76
15
- } from "./model-resolver-n0tq777j.js";
14
+ Service65
15
+ } from "./session-9y0w708y.js";
16
16
  import {
17
17
  AttachmentError2,
18
18
  SkillNotFoundError2
19
- } from "./model-resolver-wrmrmykr.js";
19
+ } from "./session-1jfryw5c.js";
20
20
  import {
21
21
  prepare3,
22
- Service72
23
- } from "./model-resolver-2z2h1d1a.js";
22
+ Service38
23
+ } from "./session-9xk7dr53.js";
24
24
  import {
25
25
  __export
26
- } from "./model-resolver-9rqn6x4v.js";
26
+ } from "./session-9rqn6x4v.js";
27
27
 
28
28
  // src/session/prompt.ts
29
29
  var exports_prompt = {};
@@ -39,10 +39,10 @@ import path from "path";
39
39
  import { fileURLToPath } from "url";
40
40
  var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
41
41
  const fs = yield* FSUtil.Service;
42
- const instances = yield* Service53;
42
+ const instances = yield* Service47;
43
43
  return yield* Effect.gen(function* () {
44
44
  yield* awaitActivation2;
45
- const hooks = yield* Service76;
45
+ const hooks = yield* Service65;
46
46
  const event = yield* hooks.trigger("session", "prompt", {
47
47
  sessionID: request.session.id,
48
48
  messageID: request.messageID,
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
61
61
  const selected = yield* Effect.gen(function* () {
62
62
  if (!requested?.length)
63
63
  return;
64
- const skillService = yield* Service72;
64
+ const skillService = yield* Service38;
65
65
  const prepared = new Map;
66
66
  return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
67
67
  const name = prepared.get(attachment.id);
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
126
126
  var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
127
127
  if (!mime.startsWith("image/"))
128
128
  return { data: Base64.make(data), mime };
129
- const image = yield* Service55;
129
+ const image = yield* Service50;
130
130
  const label = attachmentLabel(input);
131
131
  const content = { uri: label, content: data, encoding: "base64", mime };
132
132
  const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
@@ -1,51 +1,51 @@
1
1
  import {
2
- ID15,
3
- Service77
4
- } from "./model-resolver-avgcnp2n.js";
2
+ ID9,
3
+ Service58
4
+ } from "./session-q0wmx86t.js";
5
5
  import {
6
6
  Ref2,
7
- Service67
8
- } from "./model-resolver-tr5g7dwj.js";
7
+ Service74
8
+ } from "./session-jr0ecf9h.js";
9
9
  import {
10
10
  latest2,
11
- Service59
12
- } from "./model-resolver-trkehavn.js";
11
+ Service62
12
+ } from "./session-mjar7v5n.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./model-resolver-ndmv45hp.js";
15
+ } from "./session-y6f0p4jw.js";
16
16
  import {
17
- Service56
18
- } from "./model-resolver-n1vacj9h.js";
17
+ Service52
18
+ } from "./session-hcs4mqse.js";
19
19
  import {
20
20
  evaluate2,
21
- Service73
22
- } from "./model-resolver-nsyvzat3.js";
21
+ Service55
22
+ } from "./session-mmqmbv6r.js";
23
23
  import {
24
- Service29
25
- } from "./model-resolver-2kze60mb.js";
24
+ Service28
25
+ } from "./session-bdfpx8x9.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./model-resolver-x1ezjp6w.js";
28
+ } from "./session-x1ezjp6w.js";
29
29
  import {
30
- make10
31
- } from "./model-resolver-ddvm9hbe.js";
30
+ make6
31
+ } from "./session-gmnv6hk3.js";
32
32
  import {
33
33
  __export
34
- } from "./model-resolver-9rqn6x4v.js";
34
+ } from "./session-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
- Input: () => Input7,
40
- Output: () => Output4,
41
- Plugin: () => Plugin44,
39
+ Input: () => Input11,
40
+ Output: () => Output8,
41
+ Plugin: () => Plugin13,
42
42
  SubagentTool: () => exports_subagent,
43
- description: () => description3,
44
- name: () => name7
43
+ description: () => description4,
44
+ name: () => name11
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Predicate, Schema } from "effect";
48
- var name7 = "subagent";
48
+ var name11 = "subagent";
49
49
  var backgroundResult = (sessionID) => ({
50
50
  sessionID,
51
51
  status: "running",
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
56
56
  ].join(`
57
57
  `)
58
58
  });
59
- var Input7 = Schema.Struct({
59
+ var Input11 = Schema.Struct({
60
60
  agent: Schema.String.annotate({
61
61
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
62
62
  }),
@@ -72,12 +72,12 @@ var Input7 = Schema.Struct({
72
72
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
73
73
  })
74
74
  });
75
- var Output4 = Schema.Struct({
75
+ var Output8 = Schema.Struct({
76
76
  sessionID: SessionSchema2.ID,
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
79
79
  });
80
- var description3 = [
80
+ var description4 = [
81
81
  "Spawns an agent in a child session to work on the specified task.",
82
82
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
83
83
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -86,16 +86,16 @@ var description3 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin44 = {
89
+ var Plugin13 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service29;
93
- const jobs = yield* Service56;
94
- const agents = yield* Service77;
95
- const config = yield* Service59;
96
- const permission = yield* Service73;
97
- const models = yield* Service67;
98
- const subagents = yield* make10;
92
+ const sessions = yield* Service28;
93
+ const jobs = yield* Service52;
94
+ const agents = yield* Service58;
95
+ const config = yield* Service62;
96
+ const permission = yield* Service55;
97
+ const models = yield* Service74;
98
+ const subagents = yield* make6;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
101
101
  try: () => Ref2.parse(input),
@@ -115,11 +115,11 @@ var Plugin44 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name7,
118
+ name: name11,
119
119
  options: { codemode: false },
120
- description: description3,
121
- input: Input7,
122
- output: Output4,
120
+ description: description4,
121
+ input: Input11,
122
+ output: Output8,
123
123
  execute: (input, context) => Effect.gen(function* () {
124
124
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
125
125
  let current = parent;
@@ -139,7 +139,7 @@ var Plugin44 = {
139
139
  if (agent.mode === "primary")
140
140
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
141
141
  yield* permission.assert({
142
- action: name7,
142
+ action: name11,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -168,7 +168,7 @@ var Plugin44 = {
168
168
  const child = existing ?? (yield* sessions.create({
169
169
  parentID: context.sessionID,
170
170
  title: input.description,
171
- agent: ID15.make(input.agent),
171
+ agent: ID9.make(input.agent),
172
172
  model
173
173
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
174
174
  const background = input.background === true;
@@ -218,7 +218,7 @@ ${output.output}
218
218
  })))
219
219
  })).pipe(Effect.orDie);
220
220
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
221
- if (event.tool !== name7 || !Predicate.isObject(event.input))
221
+ if (event.tool !== name11 || !Predicate.isObject(event.input))
222
222
  return;
223
223
  if (event.input.model !== "" && event.input.sessionID !== "")
224
224
  return;
@@ -230,13 +230,13 @@ ${output.output}
230
230
  event.input = input;
231
231
  }));
232
232
  const hook = (event) => Effect.gen(function* () {
233
- const tool = event.tools[name7];
233
+ const tool = event.tools[name11];
234
234
  if (!tool)
235
235
  return;
236
236
  const selected = yield* agents.resolve(event.agent);
237
237
  if (!selected)
238
238
  return;
239
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name7, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
239
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name11, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
240
240
  if (available.length === 0)
241
241
  return;
242
242
  tool.description = [
@@ -253,4 +253,4 @@ ${output.output}
253
253
  })
254
254
  };
255
255
 
256
- export { name7, Input7, Output4, description3, Plugin44, exports_subagent };
256
+ export { name11, Input11, Output8, description4, Plugin13, exports_subagent };
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./session-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
- var exports_permission = {};
7
- __export(exports_permission, {
6
+ var exports_permission2 = {};
7
+ __export(exports_permission2, {
8
8
  Action: () => Action2,
9
- ConfigPermissionV1: () => exports_permission,
10
- Info: () => Info16,
9
+ ConfigPermissionV1: () => exports_permission2,
10
+ Info: () => Info22,
11
11
  Object: () => Object2,
12
- Rule: () => Rule2
12
+ Rule: () => Rule3
13
13
  });
14
14
  import { Schema, SchemaGetter } from "effect";
15
15
  var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
16
16
  var Object2 = Schema.Record(Schema.String, Action2).annotate({ identifier: "PermissionObjectConfig" });
17
- var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
17
+ var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
18
18
  var InputObject = Schema.StructWithRest(Schema.Struct({
19
- read: Schema.optional(Rule2),
20
- edit: Schema.optional(Rule2),
21
- glob: Schema.optional(Rule2),
22
- grep: Schema.optional(Rule2),
23
- list: Schema.optional(Rule2),
24
- bash: Schema.optional(Rule2),
25
- task: Schema.optional(Rule2),
26
- external_directory: Schema.optional(Rule2),
19
+ read: Schema.optional(Rule3),
20
+ edit: Schema.optional(Rule3),
21
+ glob: Schema.optional(Rule3),
22
+ grep: Schema.optional(Rule3),
23
+ list: Schema.optional(Rule3),
24
+ bash: Schema.optional(Rule3),
25
+ task: Schema.optional(Rule3),
26
+ external_directory: Schema.optional(Rule3),
27
27
  question: Schema.optional(Action2),
28
- webfetch: Schema.optional(Rule2),
28
+ webfetch: Schema.optional(Rule3),
29
29
  websearch: Schema.optional(Action2),
30
- lsp: Schema.optional(Rule2),
30
+ lsp: Schema.optional(Rule3),
31
31
  doom_loop: Schema.optional(Action2),
32
- skill: Schema.optional(Rule2)
33
- }), [Schema.Record(Schema.String, Rule2)]);
32
+ skill: Schema.optional(Rule3)
33
+ }), [Schema.Record(Schema.String, Rule3)]);
34
34
  var InputSchema = Schema.Union([Action2, InputObject]);
35
35
  var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
36
- var Info16 = InputSchema.pipe(Schema.decodeTo(InputObject, {
36
+ var Info22 = InputSchema.pipe(Schema.decodeTo(InputObject, {
37
37
  decode: SchemaGetter.transform(normalizeInput),
38
38
  encode: SchemaGetter.passthrough({ strict: false })
39
39
  })).annotate({ identifier: "PermissionConfig" });
40
40
 
41
- export { Action2, Object2, Rule2, Info16, exports_permission };
41
+ export { Action2, Object2, Rule3, Info22, exports_permission2 };