@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
  Metadata2,
3
3
  useragent2,
4
- node49
5
- } from "./model-resolver-fv5cfh7k.js";
4
+ node55
5
+ } from "./session-6pbvtem2.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./model-resolver-kwrf6mrp.js";
9
+ } from "./session-x9n1am6t.js";
10
10
  import {
11
- Service76,
12
- node79
13
- } from "./model-resolver-n0tq777j.js";
11
+ Service65,
12
+ node68
13
+ } from "./session-9y0w708y.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./model-resolver-nsyvzat3.js";
16
+ } from "./session-mmqmbv6r.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./model-resolver-da6awahp.js";
19
+ } from "./session-qpeyhwm2.js";
20
20
  import {
21
21
  Error4
22
- } from "./model-resolver-c8t27pbe.js";
22
+ } from "./session-vq9shp4g.js";
23
23
  import {
24
24
  Service37,
25
- node41
26
- } from "./model-resolver-154cngd0.js";
25
+ node40
26
+ } from "./session-z2sk8n0r.js";
27
27
  import {
28
- make14
29
- } from "./model-resolver-57b9ws8p.js";
28
+ make15
29
+ } from "./session-xfkkasph.js";
30
30
  import {
31
31
  toLLMMessages2
32
- } from "./model-resolver-vtpkq4qf.js";
32
+ } from "./session-cgf4qtyb.js";
33
33
  import {
34
34
  __export
35
- } from "./model-resolver-9rqn6x4v.js";
35
+ } from "./session-9rqn6x4v.js";
36
36
 
37
37
  // src/session/model-request.ts
38
38
  var exports_model_request = {};
@@ -42,7 +42,7 @@ __export(exports_model_request, {
42
42
  baseTranscript: () => baseTranscript2,
43
43
  boundImages: () => boundImages2,
44
44
  layer: () => layer12,
45
- node: () => node40,
45
+ node: () => node39,
46
46
  unsupportedParts: () => unsupportedParts2
47
47
  });
48
48
  import {
@@ -66,7 +66,7 @@ var baseTranscript2 = (input) => {
66
66
  return {
67
67
  providerMetadataKey,
68
68
  system: [
69
- input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
69
+ input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
70
70
  input.initial
71
71
  ].filter((part) => part.length > 0).map(SystemPart.make),
72
72
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -159,7 +159,7 @@ var boundImages2 = (messages) => {
159
159
  class Service36 extends Context.Service()("@opencode/SessionModelRequest") {
160
160
  }
161
161
  var layer12 = Layer.effect(Service36, Effect.gen(function* () {
162
- const hooks = yield* Service76;
162
+ const hooks = yield* Service65;
163
163
  const transport = yield* Service37;
164
164
  const app = yield* Metadata2;
165
165
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
@@ -265,10 +265,10 @@ var layer12 = Layer.effect(Service36, Effect.gen(function* () {
265
265
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
266
266
  });
267
267
  }));
268
- var node40 = makeLocationNode({
268
+ var node39 = makeLocationNode({
269
269
  service: Service36,
270
270
  layer: layer12,
271
- deps: [node79, node41, node49]
271
+ deps: [node68, node40, node55]
272
272
  });
273
273
 
274
- export { baseTranscript2, unsupportedParts2, boundImages2, Service36, layer12, node40, exports_model_request };
274
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service36, layer12, node39, exports_model_request };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  ps2
3
- } from "./model-resolver-rz6dkkgy.js";
3
+ } from "./session-jhp1ybt8.js";
4
4
  import {
5
5
  lazy2
6
- } from "./model-resolver-88xbtdfr.js";
6
+ } from "./session-88xbtdfr.js";
7
7
  import {
8
8
  match2
9
- } from "./model-resolver-y1fvbwt7.js";
9
+ } from "./session-y1fvbwt7.js";
10
10
  import {
11
11
  __export
12
- } from "./model-resolver-9rqn6x4v.js";
12
+ } from "./session-9rqn6x4v.js";
13
13
 
14
14
  // src/shell/parse.ts
15
15
  var exports_parse = {};
@@ -1,20 +1,20 @@
1
1
  import {
2
- ID15,
2
+ ID9,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./model-resolver-avgcnp2n.js";
5
+ } from "./session-q0wmx86t.js";
6
6
  import {
7
7
  merge2
8
- } from "./model-resolver-nsyvzat3.js";
8
+ } from "./session-mmqmbv6r.js";
9
9
  import {
10
10
  __export
11
- } from "./model-resolver-9rqn6x4v.js";
11
+ } from "./session-9rqn6x4v.js";
12
12
 
13
13
  // src/plugin/agent.ts
14
14
  var exports_agent2 = {};
15
15
  __export(exports_agent2, {
16
16
  AgentPlugin: () => exports_agent2,
17
- Plugin: () => Plugin35
17
+ Plugin: () => Plugin48
18
18
  });
19
19
  import { define } from "@opencode/plugin/effect/plugin";
20
20
  import { Effect } from "effect";
@@ -90,7 +90,7 @@ Rules:
90
90
  - Never ask questions or add new questions
91
91
  - If the conversation ends with an unanswered question to the user, preserve that exact question
92
92
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
93
- var Plugin35 = define({
93
+ var Plugin48 = define({
94
94
  id: "opencode.agent",
95
95
  effect: Effect.fn(function* (ctx) {
96
96
  yield* ctx.agent.transform((editor) => {
@@ -100,13 +100,13 @@ var Plugin35 = define({
100
100
  item.mode = "primary";
101
101
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
102
102
  });
103
- editor.update(ID15.make("general"), (item) => {
103
+ editor.update(ID9.make("general"), (item) => {
104
104
  item.name = Name3.make("General");
105
105
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
106
106
  item.mode = "subagent";
107
107
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
108
108
  });
109
- editor.update(ID15.make("explore"), (item) => {
109
+ editor.update(ID9.make("explore"), (item) => {
110
110
  const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
111
111
  item.name = Name3.make("Explore");
112
112
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
@@ -125,19 +125,19 @@ var Plugin35 = define({
125
125
  { action: "subagent", resource: "*", effect: "deny" }
126
126
  ], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
127
127
  });
128
- editor.update(ID15.make("compaction"), (item) => {
128
+ editor.update(ID9.make("compaction"), (item) => {
129
129
  item.name = Name3.make("Compaction");
130
130
  item.mode = "primary";
131
131
  item.hidden = true;
132
132
  });
133
- editor.update(ID15.make("title"), (item) => {
133
+ editor.update(ID9.make("title"), (item) => {
134
134
  item.name = Name3.make("Title");
135
135
  item.mode = "primary";
136
136
  item.hidden = true;
137
137
  item.system = PROMPT_TITLE;
138
138
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
139
139
  });
140
- editor.update(ID15.make("summary"), (item) => {
140
+ editor.update(ID9.make("summary"), (item) => {
141
141
  item.name = Name3.make("Summary");
142
142
  item.mode = "primary";
143
143
  item.hidden = true;
@@ -148,4 +148,4 @@ var Plugin35 = define({
148
148
  })
149
149
  });
150
150
 
151
- export { Plugin35, exports_agent2 };
151
+ export { Plugin48, exports_agent2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./model-resolver-ym463w8f.js";
3
+ } from "./session-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/perplexity.ts
6
6
  var PerplexityPlugin2 = createProviderPlugin2({
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./model-resolver-aye9t8w1.js";
2
+ Service84,
3
+ node88
4
+ } from "./session-ne7kgqpw.js";
5
5
  import {
6
6
  SessionTable2,
7
7
  SessionMessageTable2
8
- } from "./model-resolver-z07pqspn.js";
8
+ } from "./session-bjtzbw4r.js";
9
9
  import {
10
10
  decodeMessageRow2,
11
- load5
12
- } from "./model-resolver-dt787f91.js";
11
+ load4
12
+ } from "./session-6hcqq1md.js";
13
13
  import {
14
14
  fromRow2
15
- } from "./model-resolver-hkagk5ex.js";
15
+ } from "./session-b09hzw3k.js";
16
16
  import {
17
17
  __export
18
- } from "./model-resolver-9rqn6x4v.js";
18
+ } from "./session-9rqn6x4v.js";
19
19
 
20
20
  // src/session/store.ts
21
21
  var exports_store = {};
22
22
  __export(exports_store, {
23
23
  ListInput: () => ListInput4,
24
- Service: () => Service74,
24
+ Service: () => Service56,
25
25
  SessionStore: () => exports_store,
26
- node: () => node77
26
+ node: () => node59
27
27
  });
28
28
  import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
29
29
  import { Context, Effect, Layer, Schema } from "effect";
@@ -52,11 +52,11 @@ var ListProjectInput = Schema.Struct({
52
52
  var ListAllInput = Schema.Struct(ListInputBase);
53
53
  var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
54
54
 
55
- class Service74 extends Context.Service()("@opencode/SessionStore") {
55
+ class Service56 extends Context.Service()("@opencode/SessionStore") {
56
56
  }
57
- var layer = Layer.effect(Service74, Effect.gen(function* () {
58
- const { db } = yield* Service83;
59
- return Service74.of({
57
+ var layer = Layer.effect(Service56, Effect.gen(function* () {
58
+ const { db } = yield* Service84;
59
+ return Service56.of({
60
60
  get: Effect.fnUntraced(function* (sessionID) {
61
61
  const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
62
62
  return row ? fromRow2(row) : undefined;
@@ -98,7 +98,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
98
98
  const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
99
99
  return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
100
100
  }),
101
- context: Effect.fn("SessionStore.context")((sessionID) => load5(db, sessionID, "latest")),
101
+ context: Effect.fn("SessionStore.context")((sessionID) => load4(db, sessionID, "latest")),
102
102
  message: Effect.fn("SessionStore.message")(function* (messageID) {
103
103
  const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
104
104
  return row ? {
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
125
125
  })
126
126
  });
127
127
  }));
128
- var node77 = makeGlobalNode({ service: Service74, layer, deps: [node87] });
128
+ var node59 = makeGlobalNode({ service: Service56, layer, deps: [node88] });
129
129
 
130
- export { ListInput4, Service74, node77, exports_store };
130
+ export { ListInput4, Service56, node59, exports_store };
@@ -4,28 +4,28 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./model-resolver-3w5fmr99.js";
7
+ } from "./session-3w5fmr99.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./model-resolver-k3c624dm.js";
11
+ } from "./session-k3c624dm.js";
12
12
  import {
13
13
  create3
14
- } from "./model-resolver-rdw6cm16.js";
14
+ } from "./session-rdw6cm16.js";
15
15
  import {
16
- Service55,
17
- node58
18
- } from "./model-resolver-z3nay82g.js";
16
+ Service50,
17
+ node52
18
+ } from "./session-a881zpfh.js";
19
19
  import {
20
- Service76,
21
- node79
22
- } from "./model-resolver-n0tq777j.js";
20
+ Service65,
21
+ node68
22
+ } from "./session-9y0w708y.js";
23
23
  import {
24
24
  match2
25
- } from "./model-resolver-y1fvbwt7.js";
25
+ } from "./session-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./model-resolver-9rqn6x4v.js";
28
+ } from "./session-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
@@ -35,10 +35,10 @@ __export(exports_tool, {
35
35
  Error: () => Error4,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service54,
38
+ Service: () => Service49,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node57
41
+ node: () => node51
42
42
  });
43
43
  import { CallID as CallID2, Content as Content3, Error as Error4, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service54 extends Context.Service()("@opencode/Tool") {
54
+ class Service49 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service54, Effect.gen(function* () {
57
- const hooks = yield* Service76;
58
- const image = yield* Service55;
56
+ var layer = Layer.effect(Service49, Effect.gen(function* () {
57
+ const hooks = yield* Service65;
58
+ const image = yield* Service50;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
184
184
  }), { discard: true });
185
185
  }
186
186
  });
187
- return Service54.of({
187
+ return Service49.of({
188
188
  transform: state.transform,
189
189
  reload: state.reload,
190
190
  list: () => Effect.sync(() => Array.from(state.get().tools.values())),
@@ -273,10 +273,10 @@ function namespaceError(name) {
273
273
  return;
274
274
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
275
275
  }
276
- var node57 = makeLocationNode({
277
- service: Service54,
276
+ var node51 = makeLocationNode({
277
+ service: Service49,
278
278
  layer,
279
- deps: [node79, node58]
279
+ deps: [node68, node52]
280
280
  });
281
281
 
282
- export { RegistrationError2, Service54, node57, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
282
+ export { RegistrationError2, Service49, node51, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./model-resolver-88xbtdfr.js";
3
+ } from "./session-88xbtdfr.js";
4
4
  import {
5
- load4
6
- } from "./model-resolver-5qd3pb7m.js";
5
+ load5
6
+ } from "./session-e3qxr5gk.js";
7
7
  import {
8
8
  __export
9
- } from "./model-resolver-9rqn6x4v.js";
9
+ } from "./session-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event11,
14
+ Event: () => Event13,
15
15
  Native: () => Native3,
16
16
  Options: () => Options10,
17
- Service: () => Service60,
17
+ Service: () => Service63,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
20
  configured: () => configured10,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer23,
22
+ layer: () => layer24,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node63,
25
+ node: () => node66,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event11 = { Updated: FileSystem.Event.Changed };
36
+ var Event13 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
- return createWrapper(load4());
39
+ return createWrapper(load5());
40
40
  } catch {
41
41
  return;
42
42
  }
@@ -57,14 +57,14 @@ var Options10 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service60 extends Context.Service()("@opencode/Watcher") {
60
+ class Service63 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer23 = (options) => Layer.effect(Service60, Effect.gen(function* () {
65
+ var layer24 = (options) => Layer.effect(Service63, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service60.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service63.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer23 = (options) => Layer.effect(Service60, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service60.of({ subscribe });
108
+ return Service63.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer23().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer24().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service60).subscribe,
134
+ subscribe: Context.get(context, Service63).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service60, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service63, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -165,9 +165,9 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
167
  function configured10(options) {
168
- return makeGlobalNode({ service: Service60, layer: layer23(options), deps: [nativeNode2] });
168
+ return makeGlobalNode({ service: Service63, layer: layer24(options), deps: [nativeNode2] });
169
169
  }
170
- var node63 = configured10();
170
+ var node66 = configured10();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event11, hasNativeBinding2, Native3, Options10, Service60, Test3, layer23, testLayer3, nativeLayer2, nativeNode2, configured10, node63, exports_watcher };
190
+ export { Event13, hasNativeBinding2, Native3, Options10, Service63, Test3, layer24, testLayer3, nativeLayer2, nativeNode2, configured10, node66, exports_watcher };
@@ -1,65 +1,65 @@
1
+ import {
2
+ Service84,
3
+ node88
4
+ } from "./session-ne7kgqpw.js";
1
5
  import {
2
6
  Service83,
3
7
  node87
4
- } from "./model-resolver-aye9t8w1.js";
5
- import {
6
- Service81,
7
- node84
8
- } from "./model-resolver-m8de87mw.js";
8
+ } from "./session-h7hj17zd.js";
9
9
  import {
10
10
  llmClient2
11
- } from "./model-resolver-5t3nmthw.js";
11
+ } from "./session-5t3nmthw.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./model-resolver-ec1grn59.js";
14
+ } from "./session-ec1grn59.js";
15
15
  import {
16
16
  provenance2,
17
17
  compatible2,
18
18
  isCheckpoint2,
19
19
  encode2
20
- } from "./model-resolver-kwrf6mrp.js";
20
+ } from "./session-x9n1am6t.js";
21
21
  import {
22
- load5
23
- } from "./model-resolver-dt787f91.js";
22
+ load4
23
+ } from "./session-6hcqq1md.js";
24
24
  import {
25
25
  create3
26
- } from "./model-resolver-rdw6cm16.js";
26
+ } from "./session-rdw6cm16.js";
27
27
  import {
28
28
  toLLMMessages2
29
- } from "./model-resolver-vtpkq4qf.js";
29
+ } from "./session-cgf4qtyb.js";
30
30
  import {
31
31
  baseTranscript2,
32
32
  unsupportedParts2,
33
33
  boundImages2
34
- } from "./model-resolver-5fk90ppn.js";
34
+ } from "./session-txb4y5xa.js";
35
35
  import {
36
36
  toSessionError2
37
- } from "./model-resolver-mw06f09h.js";
37
+ } from "./session-97t28psz.js";
38
38
  import {
39
39
  policy2,
40
40
  transient2
41
- } from "./model-resolver-mtxspnbv.js";
41
+ } from "./session-846b6z84.js";
42
42
  import {
43
43
  estimate2
44
- } from "./model-resolver-h6vf3j39.js";
44
+ } from "./session-h6vf3j39.js";
45
45
  import {
46
46
  calculateCost2,
47
47
  record2,
48
48
  add2
49
- } from "./model-resolver-tdstcens.js";
49
+ } from "./session-tdstcens.js";
50
50
  import {
51
51
  __export
52
- } from "./model-resolver-9rqn6x4v.js";
52
+ } from "./session-9rqn6x4v.js";
53
53
 
54
54
  // src/session/compaction.ts
55
55
  var exports_compaction3 = {};
56
56
  __export(exports_compaction3, {
57
- Service: () => Service7,
57
+ Service: () => Service11,
58
58
  SessionCompaction: () => exports_compaction3,
59
59
  buildPrompt: () => buildPrompt2,
60
60
  estimateTokens: () => estimateTokens2,
61
- layer: () => layer7,
62
- node: () => node9,
61
+ layer: () => layer6,
62
+ node: () => node13,
63
63
  retainUsers: () => retainUsers2,
64
64
  serializeToolContent: () => serializeToolContent2,
65
65
  truncateToolOutput: () => truncateToolOutput2
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
125
125
  `).filter((line) => line.startsWith("##"));
126
126
  var LEGACY_HEADING = "## Additional Context";
127
127
 
128
- class Service7 extends Context.Service()("@opencode/SessionCompaction") {
128
+ class Service11 extends Context.Service()("@opencode/SessionCompaction") {
129
129
  }
130
130
  var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
131
131
  var estimateTokens2 = (input) => {
@@ -298,10 +298,10 @@ var buildPrompt2 = (update, legacy = false) => {
298
298
  };
299
299
  var hasSummarySection = (summary) => summary.split(`
300
300
  `).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
301
- var layer7 = Layer.effect(Service7, Effect.gen(function* () {
302
- const bus = yield* Service81;
301
+ var layer6 = Layer.effect(Service11, Effect.gen(function* () {
302
+ const bus = yield* Service83;
303
303
  const llm = yield* LLMClient.Service;
304
- const db = (yield* Service83).db;
304
+ const db = (yield* Service84).db;
305
305
  const state = create3({
306
306
  name: "session-compaction",
307
307
  initial: () => ({ auto: true, buffer: DEFAULT_BUFFER, tokens: DEFAULT_KEEP_TOKENS, native: [] }),
@@ -377,7 +377,7 @@ var layer7 = Layer.effect(Service7, Effect.gen(function* () {
377
377
  webSocket
378
378
  });
379
379
  };
380
- const original = (sessionID) => load5(db, sessionID, "local").pipe(Effect.orDie);
380
+ const original = (sessionID) => load4(db, sessionID, "local").pipe(Effect.orDie);
381
381
  const recoverLocally = (input) => original(input.context.session.id).pipe(Effect.flatMap((messages) => execute({ ...input, context: { ...input.context, messages } })));
382
382
  const executeProvider = Effect.fn("SessionCompaction.executeProvider")(function* (input) {
383
383
  const context = input.context;
@@ -606,7 +606,7 @@ var layer7 = Layer.effect(Service7, Effect.gen(function* () {
606
606
  }
607
607
  }));
608
608
  });
609
- return Service7.of({
609
+ return Service11.of({
610
610
  transform: state.transform,
611
611
  reload: state.reload,
612
612
  enabled: () => state.get().auto,
@@ -615,10 +615,10 @@ var layer7 = Layer.effect(Service7, Effect.gen(function* () {
615
615
  compactManual
616
616
  });
617
617
  }));
618
- var node9 = makeLocationNode({
619
- service: Service7,
620
- layer: layer7,
621
- deps: [node84, node87, llmClient2]
618
+ var node13 = makeLocationNode({
619
+ service: Service11,
620
+ layer: layer6,
621
+ deps: [node87, node88, llmClient2]
622
622
  });
623
623
 
624
- export { Service7, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node9, exports_compaction3 };
624
+ export { Service11, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node13, exports_compaction3 };