@opencode/core 0.0.0-dev-20627 → 0.0.0-dev-20630

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 (781) 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 +69 -69
  7. package/dist/chunks/{model-resolver-8a2qp1g6.js → location-services-005ee9q8.js} +1 -1
  8. package/dist/chunks/{model-resolver-aza1t4dm.js → location-services-038ja56e.js} +11 -11
  9. package/dist/chunks/{model-resolver-0e548fcr.js → location-services-05cem0rr.js} +14 -14
  10. package/dist/chunks/{model-resolver-0paq2nw3.js → location-services-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{model-resolver-0vbcp93d.js → location-services-0vbcp93d.js} +2 -2
  12. package/dist/chunks/{model-resolver-h8jjkhz6.js → location-services-0w7qtn2g.js} +9 -9
  13. package/dist/chunks/{model-resolver-7e5k1pv9.js → location-services-0wtqkc8g.js} +13 -13
  14. package/dist/chunks/{model-resolver-bcnp41r8.js → location-services-0xdh9cbn.js} +33 -33
  15. package/dist/chunks/{model-resolver-5rrq939p.js → location-services-0xqj4dty.js} +13 -13
  16. package/dist/chunks/{model-resolver-2q40b9s7.js → location-services-15akr5x4.js} +4 -4
  17. package/dist/chunks/{model-resolver-gnwrz8d7.js → location-services-1bksgmt8.js} +17 -17
  18. package/dist/chunks/{model-resolver-1dazxqgg.js → location-services-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{model-resolver-84h8c373.js → location-services-1dvck2a7.js} +2 -2
  20. package/dist/chunks/{model-resolver-agng1s7m.js → location-services-1e7pvmz6.js} +21 -21
  21. package/dist/chunks/{model-resolver-1z18ck0n.js → location-services-1gpb38yh.js} +9 -9
  22. package/dist/chunks/{model-resolver-phqqhagd.js → location-services-1jmpqbc2.js} +82 -82
  23. package/dist/chunks/{model-resolver-m1k46kn2.js → location-services-1qq40k4k.js} +11 -11
  24. package/dist/chunks/{model-resolver-kt9b9xbd.js → location-services-1rt6b2ft.js} +24 -24
  25. package/dist/chunks/{model-resolver-vtctyt73.js → location-services-23tcjctt.js} +11 -11
  26. package/dist/chunks/{model-resolver-n3k0nq1g.js → location-services-28esxs91.js} +29 -29
  27. package/dist/chunks/{model-resolver-2a5m3afh.js → location-services-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{model-resolver-bdadzv4m.js → location-services-2njm4q35.js} +27 -27
  29. package/dist/chunks/{model-resolver-3zfbdzwf.js → location-services-2t9d70tj.js} +3 -3
  30. package/dist/chunks/{model-resolver-akd9m88t.js → location-services-2vn9xece.js} +5 -5
  31. package/dist/chunks/{model-resolver-hqjmh7f4.js → location-services-2zg5m144.js} +10 -10
  32. package/dist/chunks/{model-resolver-2rxac3h6.js → location-services-386maghb.js} +32 -32
  33. package/dist/chunks/{model-resolver-3fc6dm20.js → location-services-3fc6dm20.js} +1 -1
  34. package/dist/chunks/{model-resolver-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{model-resolver-qs20wfnt.js → location-services-3hf7hgee.js} +1 -1
  36. package/dist/chunks/{model-resolver-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
  37. package/dist/chunks/{model-resolver-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
  38. package/dist/chunks/{model-resolver-mwyjgb1k.js → location-services-3wb7f3rk.js} +7 -7
  39. package/dist/chunks/{model-resolver-qtnjcq6r.js → location-services-3ye4f2yy.js} +1 -1
  40. package/dist/chunks/{model-resolver-3zsf4n22.js → location-services-3zsf4n22.js} +1 -1
  41. package/dist/chunks/{model-resolver-9h49evx0.js → location-services-4gt5053z.js} +11 -11
  42. package/dist/chunks/{model-resolver-gxx3asgj.js → location-services-4h4wqcm2.js} +13 -13
  43. package/dist/chunks/{model-resolver-19g7txy3.js → location-services-4kypyv15.js} +1 -1
  44. package/dist/chunks/{model-resolver-4rt0ga34.js → location-services-4nj4bn9q.js} +8 -8
  45. package/dist/chunks/{model-resolver-2ccvkpx1.js → location-services-4ts7tf6z.js} +2 -2
  46. package/dist/chunks/{model-resolver-gw7teh6q.js → location-services-53baf2sn.js} +9 -9
  47. package/dist/chunks/{model-resolver-0qfxg4jf.js → location-services-5402gscc.js} +8 -8
  48. package/dist/chunks/{model-resolver-54ma36ye.js → location-services-54ma36ye.js} +1 -1
  49. package/dist/chunks/{model-resolver-0achvhs2.js → location-services-57trkbe5.js} +17 -17
  50. package/dist/chunks/{model-resolver-5daktx2q.js → location-services-5daktx2q.js} +1 -1
  51. package/dist/chunks/{model-resolver-rymvvhbz.js → location-services-5m0j2dgq.js} +19 -19
  52. package/dist/chunks/{model-resolver-5m9w47nd.js → location-services-5m9w47nd.js} +1 -1
  53. package/dist/chunks/{model-resolver-ntg9ycez.js → location-services-5qbpkkvq.js} +11 -11
  54. package/dist/chunks/{model-resolver-e3qxr5gk.js → location-services-5qd3pb7m.js} +2 -2
  55. package/dist/chunks/{model-resolver-5t3nmthw.js → location-services-5t3nmthw.js} +2 -2
  56. package/dist/chunks/{model-resolver-srq8z0b0.js → location-services-5tcm9639.js} +9 -9
  57. package/dist/chunks/{model-resolver-ajf1swqb.js → location-services-5xpjggmg.js} +3 -3
  58. package/dist/chunks/{model-resolver-3t341cpn.js → location-services-633ngz6x.js} +6 -6
  59. package/dist/chunks/{model-resolver-jvvc3tfq.js → location-services-63kpjth9.js} +9 -9
  60. package/dist/chunks/{model-resolver-7rwqf82v.js → location-services-69j91c1q.js} +8 -8
  61. package/dist/chunks/{model-resolver-4zkna7ps.js → location-services-6hz9gy1d.js} +10 -10
  62. package/dist/chunks/{model-resolver-wgdeym6z.js → location-services-6qvzvbch.js} +11 -11
  63. package/dist/chunks/{model-resolver-6xb47vfp.js → location-services-6xb47vfp.js} +1 -1
  64. package/dist/chunks/{model-resolver-10dw056s.js → location-services-6y3bxvxj.js} +9 -9
  65. package/dist/chunks/{model-resolver-g7nd96nr.js → location-services-702grjpm.js} +8 -8
  66. package/dist/chunks/{model-resolver-f75zav2x.js → location-services-71az546q.js} +2 -2
  67. package/dist/chunks/{model-resolver-y0nv8875.js → location-services-72926355.js} +4 -4
  68. package/dist/chunks/{model-resolver-33vwh78z.js → location-services-730e0d1f.js} +4 -4
  69. package/dist/chunks/{model-resolver-3k84j3p7.js → location-services-739rnbfk.js} +71 -71
  70. package/dist/chunks/{model-resolver-2d6yk1br.js → location-services-78mj5myg.js} +11 -11
  71. package/dist/chunks/{model-resolver-djszqvmq.js → location-services-79qaa2kf.js} +9 -9
  72. package/dist/chunks/{model-resolver-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{model-resolver-3v39vgvt.js → location-services-7h3jskqq.js} +12 -12
  74. package/dist/chunks/{model-resolver-nve815hd.js → location-services-7j203v3e.js} +44 -44
  75. package/dist/chunks/{model-resolver-gszfa6pv.js → location-services-7kjj2hf7.js} +6 -6
  76. package/dist/chunks/{model-resolver-vvpj8dts.js → location-services-7v3yr1bh.js} +3 -3
  77. package/dist/chunks/{model-resolver-bzh1f83h.js → location-services-7v5tk8rc.js} +27 -27
  78. package/dist/chunks/{model-resolver-x442ch9z.js → location-services-8078vm6x.js} +1 -1
  79. package/dist/chunks/{model-resolver-84txncab.js → location-services-84txncab.js} +1 -1
  80. package/dist/chunks/{model-resolver-h2kvjvwj.js → location-services-88zs0xv9.js} +5 -5
  81. package/dist/chunks/{model-resolver-tcezcvh9.js → location-services-89znhe33.js} +4 -4
  82. package/dist/chunks/{model-resolver-vv1mfds1.js → location-services-8chc4m14.js} +18 -18
  83. package/dist/chunks/{model-resolver-8d7r5vzw.js → location-services-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{model-resolver-bjgk06jq.js → location-services-8fg7kjkz.js} +28 -28
  85. package/dist/chunks/{model-resolver-tm9w2n2x.js → location-services-8s8y9gwq.js} +16 -16
  86. package/dist/chunks/{model-resolver-ts23464c.js → location-services-8sze2n9a.js} +8 -8
  87. package/dist/chunks/{model-resolver-wy2za45w.js → location-services-8v3c42p4.js} +7 -7
  88. package/dist/chunks/{model-resolver-6avxmd9t.js → location-services-924j3etv.js} +26 -26
  89. package/dist/chunks/{model-resolver-f6h44vt5.js → location-services-92k45pvj.js} +6 -6
  90. package/dist/chunks/{model-resolver-cmcef70t.js → location-services-94af2ma0.js} +20 -20
  91. package/dist/chunks/{model-resolver-he91xpgg.js → location-services-9cbydn38.js} +24 -24
  92. package/dist/chunks/{model-resolver-kb9j3d72.js → location-services-9e5bzkjp.js} +3 -3
  93. package/dist/chunks/{model-resolver-ch4t865s.js → location-services-9eq5kwq7.js} +8 -8
  94. package/dist/chunks/{model-resolver-mtqs55ae.js → location-services-9hd3r0x1.js} +30 -30
  95. package/dist/chunks/{model-resolver-s8d7rejh.js → location-services-9t7a50xb.js} +4 -4
  96. package/dist/chunks/{model-resolver-mnwggq08.js → location-services-9tadwx83.js} +18 -18
  97. package/dist/chunks/{model-resolver-8k1jb5xq.js → location-services-a686yqn2.js} +5 -5
  98. package/dist/chunks/{model-resolver-rbbkm0xv.js → location-services-a8et2yjv.js} +48 -48
  99. package/dist/chunks/{model-resolver-aaet6srn.js → location-services-aaet6srn.js} +2 -2
  100. package/dist/chunks/{model-resolver-addxnjmp.js → location-services-addxnjmp.js} +1 -1
  101. package/dist/chunks/{model-resolver-9z9g3t20.js → location-services-amznhvbk.js} +11 -11
  102. package/dist/chunks/{model-resolver-2r1mkbh7.js → location-services-av6x2y0p.js} +16 -16
  103. package/dist/chunks/{model-resolver-h42756k7.js → location-services-avdv9knz.js} +88 -88
  104. package/dist/chunks/{model-resolver-1macjqn3.js → location-services-aytgv1nz.js} +27 -27
  105. package/dist/chunks/{model-resolver-zyk1yjk8.js → location-services-b3f8fkhc.js} +5 -5
  106. package/dist/chunks/{model-resolver-n8vdnqrc.js → location-services-b674v2dg.js} +5 -5
  107. package/dist/chunks/{model-resolver-b6gygkdw.js → location-services-b6gygkdw.js} +2 -2
  108. package/dist/chunks/{model-resolver-7622hyrr.js → location-services-be57hyb1.js} +26 -26
  109. package/dist/chunks/{model-resolver-x2pzw901.js → location-services-bh4jt5aw.js} +11 -11
  110. package/dist/chunks/{model-resolver-5g7r9pjq.js → location-services-bh4tn4kr.js} +27 -27
  111. package/dist/chunks/{model-resolver-f20mjja6.js → location-services-bk6jsxdy.js} +27 -27
  112. package/dist/chunks/{model-resolver-fbensa43.js → location-services-bnx96qhh.js} +11 -11
  113. package/dist/chunks/{model-resolver-21j0a31s.js → location-services-bs1dfvba.js} +24 -24
  114. package/dist/chunks/{model-resolver-51f5btjf.js → location-services-bw9zjykr.js} +6 -6
  115. package/dist/chunks/{model-resolver-ddhg64z2.js → location-services-bzncxkya.js} +11 -11
  116. package/dist/chunks/{model-resolver-yn0v1xc3.js → location-services-c05hzb7f.js} +43 -43
  117. package/dist/chunks/{model-resolver-z9ad0njv.js → location-services-cbq4209p.js} +4 -4
  118. package/dist/chunks/{model-resolver-tsg6z73m.js → location-services-cg21mtef.js} +11 -11
  119. package/dist/chunks/{model-resolver-c74x8r32.js → location-services-d2za3d2a.js} +8 -8
  120. package/dist/chunks/{model-resolver-vemxbn5z.js → location-services-d46e2cta.js} +18 -18
  121. package/dist/chunks/{model-resolver-7fqhmbkd.js → location-services-dcfdtrv8.js} +14 -14
  122. package/dist/chunks/{model-resolver-hxh7ac88.js → location-services-dh6k37e9.js} +43 -43
  123. package/dist/chunks/{model-resolver-33zp7k1z.js → location-services-dhdnksaa.js} +24 -24
  124. package/dist/chunks/{model-resolver-xkntkrq7.js → location-services-dmqcgk4z.js} +5 -5
  125. package/dist/chunks/{model-resolver-nxm207yx.js → location-services-dpkg50ah.js} +4 -4
  126. package/dist/chunks/{model-resolver-5pyjqqve.js → location-services-drnf6xwf.js} +2 -2
  127. package/dist/chunks/{model-resolver-kw9jfdn1.js → location-services-ds7a504r.js} +24 -24
  128. package/dist/chunks/{model-resolver-ey1p32kd.js → location-services-dxr5t5mp.js} +16 -16
  129. package/dist/chunks/{model-resolver-ef5x83kb.js → location-services-ef5x83kb.js} +1 -1
  130. package/dist/chunks/{model-resolver-73f7s9bv.js → location-services-eqytyt2f.js} +119 -119
  131. package/dist/chunks/{model-resolver-etq0c3wd.js → location-services-etq0c3wd.js} +1 -1
  132. package/dist/chunks/{model-resolver-25x2259c.js → location-services-evdt0y4h.js} +9 -9
  133. package/dist/chunks/location-services-f50w6s0d.js +253 -0
  134. package/dist/chunks/{model-resolver-xm3p4qah.js → location-services-f84qkavr.js} +34 -34
  135. package/dist/chunks/{model-resolver-9917pxwy.js → location-services-f9yzkqzf.js} +9 -9
  136. package/dist/chunks/{model-resolver-rasec19h.js → location-services-ff7xhjp2.js} +9 -9
  137. package/dist/chunks/{model-resolver-a8kdrp5r.js → location-services-fssayyez.js} +2 -2
  138. package/dist/chunks/location-services-fwsqw8dw.js +507 -0
  139. package/dist/chunks/{model-resolver-w2h15q85.js → location-services-g6yfr6ja.js} +5 -5
  140. package/dist/chunks/{model-resolver-y47v6e3z.js → location-services-gac9ztx6.js} +3 -3
  141. package/dist/chunks/{model-resolver-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
  142. package/dist/chunks/{model-resolver-50fxpqbw.js → location-services-gfwkqpn3.js} +20 -20
  143. package/dist/chunks/{model-resolver-qw4rebp2.js → location-services-gknby1cz.js} +16 -16
  144. package/dist/chunks/{model-resolver-6mjz4eke.js → location-services-gm6bhgn2.js} +11 -11
  145. package/dist/chunks/{model-resolver-4nza2pr1.js → location-services-gq4d2z0j.js} +22 -22
  146. package/dist/chunks/location-services-gvcrjn4k.js +26 -0
  147. package/dist/chunks/{model-resolver-3dn2etmh.js → location-services-gyb4qk55.js} +16 -16
  148. package/dist/chunks/{model-resolver-3cegwx68.js → location-services-h2b79v29.js} +2 -2
  149. package/dist/chunks/{model-resolver-ekxvnan8.js → location-services-h6f8n6tj.js} +12 -12
  150. package/dist/chunks/{model-resolver-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
  151. package/dist/chunks/{model-resolver-tnmecr3d.js → location-services-h8cwnp0z.js} +8 -8
  152. package/dist/chunks/{model-resolver-hv0tq5xf.js → location-services-hkf7sqjk.js} +10 -10
  153. package/dist/chunks/{model-resolver-5krfhzfs.js → location-services-hm2a4yzt.js} +17 -17
  154. package/dist/chunks/{model-resolver-fy0vatp7.js → location-services-hpmarter.js} +10 -10
  155. package/dist/chunks/{model-resolver-gxzkmbg1.js → location-services-hve86swx.js} +8 -8
  156. package/dist/chunks/{model-resolver-vqfzmc84.js → location-services-j1jytm4y.js} +21 -6
  157. package/dist/chunks/{model-resolver-2wst3kmw.js → location-services-j3e6np1x.js} +12 -12
  158. package/dist/chunks/{model-resolver-j56e64zr.js → location-services-j56e64zr.js} +1 -1
  159. package/dist/chunks/{model-resolver-vxzh5eqq.js → location-services-j8afcsyc.js} +4 -4
  160. package/dist/chunks/{model-resolver-xv5xhpkb.js → location-services-j9hy8vp2.js} +4 -4
  161. package/dist/chunks/{model-resolver-kemx01z9.js → location-services-jahbehqx.js} +20 -20
  162. package/dist/chunks/{model-resolver-rcppyyty.js → location-services-jb2vrk6d.js} +15 -15
  163. package/dist/chunks/{model-resolver-nmbcsk2x.js → location-services-jda68ddm.js} +3 -3
  164. package/dist/chunks/{model-resolver-q4zf8z8q.js → location-services-jhyt1ch8.js} +6 -6
  165. package/dist/chunks/{model-resolver-r5mbew3j.js → location-services-jj72jhew.js} +6 -6
  166. package/dist/chunks/{model-resolver-ewgnpxzc.js → location-services-jjx8np3a.js} +43 -43
  167. package/dist/chunks/{model-resolver-pdyt6ga5.js → location-services-jrw3dmfp.js} +7 -7
  168. package/dist/chunks/{model-resolver-j1gz9man.js → location-services-jy04fj7c.js} +2 -2
  169. package/dist/chunks/{model-resolver-2ke6m4px.js → location-services-k73vhven.js} +18 -18
  170. package/dist/chunks/{model-resolver-4v9q68f5.js → location-services-kgwqt2v2.js} +18 -18
  171. package/dist/chunks/{model-resolver-r6xsx0m5.js → location-services-kk7eqmr5.js} +5 -5
  172. package/dist/chunks/{model-resolver-2zczfx75.js → location-services-kp82j6dq.js} +10 -10
  173. package/dist/chunks/{model-resolver-0vv5hmpp.js → location-services-kq5ydq1p.js} +5 -5
  174. package/dist/chunks/{model-resolver-3kcgjwbq.js → location-services-kwbjrwdw.js} +37 -37
  175. package/dist/chunks/{model-resolver-q0hq5tmn.js → location-services-m04va80j.js} +9 -9
  176. package/dist/chunks/{model-resolver-m3fdjcah.js → location-services-m3fdjcah.js} +1 -1
  177. package/dist/chunks/{model-resolver-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
  178. package/dist/chunks/{model-resolver-efgr2h9s.js → location-services-mbhdtkze.js} +11 -11
  179. package/dist/chunks/{model-resolver-h4psw8ba.js → location-services-mctxfbc8.js} +18 -18
  180. package/dist/chunks/{model-resolver-mfqp6xfm.js → location-services-mfqp6xfm.js} +2 -2
  181. package/dist/chunks/{model-resolver-nhnh187w.js → location-services-mh4e5wj0.js} +18 -18
  182. package/dist/chunks/{model-resolver-afttsgwn.js → location-services-mjqndqed.js} +5 -5
  183. package/dist/chunks/{model-resolver-a1gpj94z.js → location-services-mvfsc1pv.js} +3 -3
  184. package/dist/chunks/{model-resolver-azjxx5b8.js → location-services-mxrxbngv.js} +15 -15
  185. package/dist/chunks/{model-resolver-vx3jgdek.js → location-services-my4zabxr.js} +3 -3
  186. package/dist/chunks/{model-resolver-deeca9hw.js → location-services-n22hjq3j.js} +18 -18
  187. package/dist/chunks/{model-resolver-tfzngn12.js → location-services-nb9p6b26.js} +4 -4
  188. package/dist/chunks/{model-resolver-h5w29vws.js → location-services-ncnm8wen.js} +1 -1
  189. package/dist/chunks/{model-resolver-6jayb3ka.js → location-services-ndadfcaq.js} +1 -1
  190. package/dist/chunks/{model-resolver-d9bwshhj.js → location-services-nkzh8q5t.js} +3 -3
  191. package/dist/chunks/{model-resolver-y9dv21ph.js → location-services-nmw6gh4z.js} +52 -52
  192. package/dist/chunks/{model-resolver-6m42r3np.js → location-services-nrdmrqsx.js} +21 -21
  193. package/dist/chunks/{model-resolver-crw5xmpr.js → location-services-nw3j3z06.js} +10 -10
  194. package/dist/chunks/{model-resolver-pa8pe2x7.js → location-services-p37cw4rj.js} +8 -8
  195. package/dist/chunks/{model-resolver-z5rd9rww.js → location-services-p3rd9cb6.js} +8 -8
  196. package/dist/chunks/{model-resolver-rk0tqkaw.js → location-services-p7jevsnv.js} +8 -8
  197. package/dist/chunks/{model-resolver-78j8p2e7.js → location-services-p89rmmfc.js} +13 -13
  198. package/dist/chunks/{model-resolver-pg8nqq7p.js → location-services-p9gk8ytq.js} +19 -19
  199. package/dist/chunks/location-services-phz3h32g.js +18 -0
  200. package/dist/chunks/{model-resolver-7m50mqw6.js → location-services-pjmbafvv.js} +15 -15
  201. package/dist/chunks/{model-resolver-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
  202. package/dist/chunks/{model-resolver-pknna89w.js → location-services-pknna89w.js} +1 -1
  203. package/dist/chunks/{model-resolver-wtsvmxn1.js → location-services-pvfx3hsd.js} +41 -41
  204. package/dist/chunks/{model-resolver-0j77ygfz.js → location-services-q0xm7vwc.js} +6 -6
  205. package/dist/chunks/{model-resolver-z23z10f3.js → location-services-q25gd7gx.js} +9 -9
  206. package/dist/chunks/{model-resolver-gkcjs2dn.js → location-services-q8ejgrh7.js} +11 -11
  207. package/dist/chunks/{model-resolver-5fkw2g45.js → location-services-qa6kg5ce.js} +23 -23
  208. package/dist/chunks/{model-resolver-j0dhs27h.js → location-services-qb7w2a5v.js} +17 -17
  209. package/dist/chunks/{model-resolver-qpvdx65r.js → location-services-qcrsmb16.js} +24 -24
  210. package/dist/chunks/{model-resolver-40jdsgbk.js → location-services-qg8kd4bn.js} +15 -15
  211. package/dist/chunks/{model-resolver-fcrkznn8.js → location-services-qgn6gcr1.js} +5 -5
  212. package/dist/chunks/{model-resolver-6s9jgcw2.js → location-services-qgny21m5.js} +2 -2
  213. package/dist/chunks/{model-resolver-gjkc16r8.js → location-services-qhj49g1w.js} +34 -34
  214. package/dist/chunks/{model-resolver-dhks9x6r.js → location-services-qhptqkd3.js} +6 -6
  215. package/dist/chunks/{model-resolver-qnc92qwc.js → location-services-qnc92qwc.js} +1 -1
  216. package/dist/chunks/{model-resolver-zby7g0g2.js → location-services-qs0k33dy.js} +13 -13
  217. package/dist/chunks/{model-resolver-qsdy395h.js → location-services-qsdy395h.js} +1 -1
  218. package/dist/chunks/{model-resolver-at1kfnmk.js → location-services-qwjmgwmn.js} +8 -8
  219. package/dist/chunks/{model-resolver-qxjc9qry.js → location-services-qxjc9qry.js} +3 -3
  220. package/dist/chunks/{model-resolver-7d6sbd9q.js → location-services-r24mavdp.js} +6 -6
  221. package/dist/chunks/{model-resolver-41zh4vt3.js → location-services-rcw0hhe5.js} +11 -11
  222. package/dist/chunks/{model-resolver-gkezm8y4.js → location-services-rdjnfax5.js} +21 -21
  223. package/dist/chunks/{model-resolver-rdw6cm16.js → location-services-rdw6cm16.js} +1 -1
  224. package/dist/chunks/{model-resolver-nyqx1cb3.js → location-services-reg6q42h.js} +5 -5
  225. package/dist/chunks/{model-resolver-m64xvjj1.js → location-services-rf80fxgj.js} +5 -5
  226. package/dist/chunks/{model-resolver-fgprmwhj.js → location-services-rfjkawsf.js} +13 -13
  227. package/dist/chunks/{model-resolver-1acjjqhc.js → location-services-rhraev7y.js} +4 -4
  228. package/dist/chunks/{model-resolver-gg1f5j1z.js → location-services-rvqqqxyw.js} +43 -43
  229. package/dist/chunks/{model-resolver-zcrspsvn.js → location-services-rwm5vee1.js} +4 -4
  230. package/dist/chunks/{model-resolver-3rd28rcz.js → location-services-ryd2rdzb.js} +11 -11
  231. package/dist/chunks/{model-resolver-m119g2w7.js → location-services-s1pvsrc7.js} +18 -18
  232. package/dist/chunks/{model-resolver-5sc2jtah.js → location-services-s2kgz93z.js} +18 -18
  233. package/dist/chunks/{model-resolver-7zc8scxq.js → location-services-scja77nx.js} +1 -1
  234. package/dist/chunks/{model-resolver-tw918z4j.js → location-services-sf1gp2bm.js} +4 -4
  235. package/dist/chunks/{model-resolver-55hkn5jk.js → location-services-t2cngams.js} +6 -6
  236. package/dist/chunks/{model-resolver-qwbxvttr.js → location-services-t36z8tfp.js} +33 -33
  237. package/dist/chunks/{model-resolver-a2ew8a62.js → location-services-t6vsspdg.js} +7 -7
  238. package/dist/chunks/{model-resolver-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{model-resolver-tdstcens.js → location-services-tdstcens.js} +1 -1
  240. package/dist/chunks/{model-resolver-6w7dcbvg.js → location-services-tfcxrh0e.js} +11 -11
  241. package/dist/chunks/{model-resolver-kr7egayj.js → location-services-twbbseq7.js} +31 -31
  242. package/dist/chunks/{model-resolver-srtfr38y.js → location-services-tx65gs5j.js} +8 -8
  243. package/dist/chunks/{model-resolver-mb4aw6zt.js → location-services-tx8az79h.js} +12 -12
  244. package/dist/chunks/{model-resolver-6y0r2svr.js → location-services-tyg7s7sx.js} +4 -4
  245. package/dist/chunks/{model-resolver-v0es1rhs.js → location-services-v0es1rhs.js} +2 -2
  246. package/dist/chunks/{model-resolver-kxdn0yjd.js → location-services-v2hrpsne.js} +8 -8
  247. package/dist/chunks/{model-resolver-1n5ak9y9.js → location-services-v2wwk919.js} +23 -23
  248. package/dist/chunks/{model-resolver-ynt8fh2a.js → location-services-v7e370vs.js} +7 -7
  249. package/dist/chunks/{model-resolver-jgvx6mxw.js → location-services-v83r3tms.js} +3 -3
  250. package/dist/chunks/{model-resolver-veqvce7d.js → location-services-veqvce7d.js} +1 -1
  251. package/dist/chunks/{model-resolver-wkveh0mg.js → location-services-vgj1g915.js} +9 -9
  252. package/dist/chunks/{model-resolver-hhr7ssgm.js → location-services-vgr2d9jf.js} +4 -4
  253. package/dist/chunks/{model-resolver-rx9ava5n.js → location-services-vn72gsba.js} +4 -4
  254. package/dist/chunks/{model-resolver-1jx1zfd7.js → location-services-vqt5kvc0.js} +9 -9
  255. package/dist/chunks/{model-resolver-vzs5sf6e.js → location-services-vzs5sf6e.js} +1 -1
  256. package/dist/chunks/{model-resolver-wbn4j0pn.js → location-services-w2g20c7m.js} +17 -17
  257. package/dist/chunks/{model-resolver-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{model-resolver-c30g4xpt.js → location-services-w7487c8x.js} +11 -11
  259. package/dist/chunks/{model-resolver-xpqek6s2.js → location-services-w74wtxgt.js} +11 -11
  260. package/dist/chunks/{model-resolver-drj28cm1.js → location-services-w844490d.js} +12 -12
  261. package/dist/chunks/{model-resolver-vfjhn2wd.js → location-services-wa9g86nq.js} +4 -4
  262. package/dist/chunks/{model-resolver-wd87259q.js → location-services-wd87259q.js} +1 -1
  263. package/dist/chunks/{model-resolver-6swqs4pd.js → location-services-wgxg4mhz.js} +32 -32
  264. package/dist/chunks/{model-resolver-5gep5epd.js → location-services-x328e1v9.js} +16 -16
  265. package/dist/chunks/{model-resolver-0yjz6y37.js → location-services-x3eea197.js} +35 -35
  266. package/dist/chunks/{model-resolver-dvh6e8nq.js → location-services-xa8mwyge.js} +2 -2
  267. package/dist/chunks/{model-resolver-90hpmr2t.js → location-services-xabyxep3.js} +11 -11
  268. package/dist/chunks/{model-resolver-dpqp9b63.js → location-services-xcheye7x.js} +30 -30
  269. package/dist/chunks/{model-resolver-w19d8598.js → location-services-xfkkasph.js} +5 -5
  270. package/dist/chunks/{model-resolver-ap8vh77s.js → location-services-xmfmtq35.js} +24 -24
  271. package/dist/chunks/{model-resolver-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{model-resolver-51ssmyqe.js → location-services-yat6tp29.js} +15 -15
  273. package/dist/chunks/{model-resolver-2m190rpy.js → location-services-ybt4avc4.js} +13 -13
  274. package/dist/chunks/{model-resolver-q3r2nqqw.js → location-services-ykm82t8q.js} +20 -20
  275. package/dist/chunks/{model-resolver-pj1jpnd1.js → location-services-yptt0kpa.js} +50 -50
  276. package/dist/chunks/{model-resolver-pypjajay.js → location-services-yt6jmjwe.js} +4 -4
  277. package/dist/chunks/{model-resolver-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{model-resolver-ysm5qf9e.js → location-services-z165pzrq.js} +25 -25
  279. package/dist/chunks/{model-resolver-y5fgx7d2.js → location-services-z5ybckhn.js} +19 -19
  280. package/dist/chunks/{model-resolver-1cap5v9d.js → location-services-z7z1vh8h.js} +24 -24
  281. package/dist/chunks/{model-resolver-d9dg5wfk.js → location-services-zjdx658e.js} +9 -9
  282. package/dist/chunks/{model-resolver-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{model-resolver-5dkn69vz.js → location-services-zsr4wwhv.js} +4 -4
  284. package/dist/chunks/{model-resolver-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +11 -11
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +81 -81
  290. package/dist/config/discovery.js +84 -84
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +99 -99
  293. package/dist/config/plugin/agent.js +116 -116
  294. package/dist/config/plugin/command.js +205 -205
  295. package/dist/config/plugin/compaction.js +154 -154
  296. package/dist/config/plugin/compatibility.js +134 -134
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +90 -90
  301. package/dist/config/plugin/location-watcher.js +118 -118
  302. package/dist/config/plugin/mcp.js +123 -123
  303. package/dist/config/plugin/policy.js +117 -117
  304. package/dist/config/plugin/provider.js +116 -116
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +116 -116
  307. package/dist/config/plugin/skill-file.js +102 -102
  308. package/dist/config/plugin/skill.js +135 -135
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +117 -117
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +115 -115
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +121 -121
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +83 -83
  319. package/dist/database/database.js +66 -66
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration.gen.js +49 -49
  385. package/dist/database/migration.js +51 -51
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +76 -76
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +363 -363
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +93 -93
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +93 -93
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +70 -70
  409. package/dist/file-access.js +104 -104
  410. package/dist/file-mutation.js +94 -94
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +220 -220
  418. package/dist/filesystem/protected.js +3 -3
  419. package/dist/filesystem/search.js +103 -103
  420. package/dist/filesystem/watcher-binding.js +3 -3
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +106 -106
  423. package/dist/form.js +80 -80
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +87 -87
  426. package/dist/generate.js +103 -103
  427. package/dist/git.js +6 -6
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +91 -91
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +354 -354
  451. package/dist/instruction-discovery.js +85 -85
  452. package/dist/instructions/builtins.js +87 -87
  453. package/dist/instructions/index.js +3 -3
  454. package/dist/integration/connection.js +1 -1
  455. package/dist/integration.js +77 -77
  456. package/dist/job.js +78 -78
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +73 -73
  459. package/dist/location-activity.js +131 -131
  460. package/dist/location-lifecycle.js +107 -107
  461. package/dist/location-service-map.js +86 -86
  462. package/dist/location-services.js +351 -351
  463. package/dist/location.js +81 -81
  464. package/dist/managed-policy.js +5 -5
  465. package/dist/mcp/client.js +91 -91
  466. package/dist/mcp/index.js +109 -109
  467. package/dist/mcp/instructions.js +129 -129
  468. package/dist/mcp/oauth.js +78 -78
  469. package/dist/mcp/stdio.js +90 -90
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +91 -91
  472. package/dist/model-resolver.js +98 -98
  473. package/dist/model.js +90 -90
  474. package/dist/models-dev.js +107 -107
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +82 -82
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +113 -113
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +80 -80
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +75 -75
  484. package/dist/plugin/agent.js +102 -102
  485. package/dist/plugin/command.js +100 -100
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +211 -211
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +326 -326
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +96 -96
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +102 -102
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  498. package/dist/plugin/provider/azure.js +117 -117
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +93 -93
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +112 -112
  505. package/dist/plugin/provider/digitalocean.js +93 -93
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/github-copilot.js +95 -95
  509. package/dist/plugin/provider/gitlab.js +93 -93
  510. package/dist/plugin/provider/google-vertex.js +90 -90
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +78 -78
  513. package/dist/plugin/provider/lmstudio.js +116 -116
  514. package/dist/plugin/provider/local.js +113 -113
  515. package/dist/plugin/provider/modal.js +92 -92
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +116 -116
  518. package/dist/plugin/provider/openai.js +95 -95
  519. package/dist/plugin/provider/opencode.js +96 -96
  520. package/dist/plugin/provider/openrouter.js +91 -91
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +79 -79
  523. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  524. package/dist/plugin/provider/sap-ai-core.js +91 -91
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  527. package/dist/plugin/provider/vercel.js +90 -90
  528. package/dist/plugin/provider/vllm.js +116 -116
  529. package/dist/plugin/provider/xai.js +91 -91
  530. package/dist/plugin/provider/zenmux.js +1 -1
  531. package/dist/plugin/provider.js +155 -155
  532. package/dist/plugin/sdk.js +74 -74
  533. package/dist/plugin/service.js +3 -3
  534. package/dist/plugin/skill.js +132 -132
  535. package/dist/plugin/source-directory.js +1 -1
  536. package/dist/plugin/supervisor.js +345 -345
  537. package/dist/plugin/tool-input-repair.js +4 -4
  538. package/dist/plugin/update.js +4 -4
  539. package/dist/plugin/vcs/git.js +86 -86
  540. package/dist/plugin/vcs/hg.js +86 -86
  541. package/dist/plugin/verbosity.js +93 -93
  542. package/dist/plugin/warming.js +114 -114
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +8 -8
  545. package/dist/plugin/websearch/index.js +9 -9
  546. package/dist/plugin/websearch/mcp.js +2 -2
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin/websearch/tinyfish.js +8 -8
  550. package/dist/plugin.js +222 -222
  551. package/dist/project/schema.js +2 -2
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +80 -80
  554. package/dist/provider.js +89 -89
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +99 -99
  558. package/dist/reference/instructions.js +87 -87
  559. package/dist/reference.js +89 -89
  560. package/dist/repository-cache.js +81 -81
  561. package/dist/repository.js +1 -1
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +97 -97
  564. package/dist/rpc.js +86 -86
  565. package/dist/schema.js +1 -1
  566. package/dist/session/affinity.js +1 -1
  567. package/dist/session/command.js +74 -74
  568. package/dist/session/compaction.js +135 -135
  569. package/dist/session/context.js +153 -153
  570. package/dist/session/diff.js +88 -88
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +7 -7
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +214 -214
  575. package/dist/session/execution.js +127 -127
  576. package/dist/session/generate.js +152 -152
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +90 -90
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +79 -79
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +93 -93
  583. package/dist/session/message-updater.js +4 -4
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +120 -120
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +129 -129
  588. package/dist/session/projector.js +86 -86
  589. package/dist/session/prompt.js +105 -105
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +90 -90
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +224 -224
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +98 -98
  597. package/dist/session/runner/publish-llm-event.js +113 -113
  598. package/dist/session/runner/retry.js +4 -4
  599. package/dist/session/runner/step.js +125 -125
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +164 -164
  603. package/dist/session/shell.js +130 -130
  604. package/dist/session/skill.js +103 -103
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +73 -73
  607. package/dist/session/store.js +87 -87
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +203 -203
  610. package/dist/session/system-prompt.js +3 -3
  611. package/dist/session/title.js +157 -157
  612. package/dist/session/to-session-error.js +111 -111
  613. package/dist/session/transfer.js +207 -207
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +211 -211
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +13 -13
  620. package/dist/shell.js +132 -132
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +107 -107
  623. package/dist/skill.js +108 -108
  624. package/dist/snapshot.js +93 -93
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +126 -126
  629. package/dist/tool/plugin/edit.js +120 -120
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +120 -120
  632. package/dist/tool/plugin/grep.js +124 -124
  633. package/dist/tool/plugin/mcp-resource.js +117 -117
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +122 -122
  636. package/dist/tool/plugin/question.js +103 -103
  637. package/dist/tool/plugin/read.js +123 -123
  638. package/dist/tool/plugin/shell.js +208 -208
  639. package/dist/tool/plugin/skill.js +111 -111
  640. package/dist/tool/plugin/subagent.js +212 -212
  641. package/dist/tool/plugin/webfetch.js +106 -106
  642. package/dist/tool/plugin/websearch.js +112 -112
  643. package/dist/tool/plugin/write.js +122 -122
  644. package/dist/tool/read-filesystem.js +96 -96
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +7 -7
  647. package/dist/tool.js +14 -14
  648. package/dist/types/model.d.ts +3 -0
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/git-executable.js +2 -2
  652. package/dist/util/iife.js +1 -1
  653. package/dist/util/lazy.js +1 -1
  654. package/dist/util/slug.js +1 -1
  655. package/dist/util/token.js +1 -1
  656. package/dist/util/which.js +1 -1
  657. package/dist/util/wildcard.js +1 -1
  658. package/dist/v1/config/agent.js +7 -7
  659. package/dist/v1/config/command.js +5 -5
  660. package/dist/v1/config/error.js +4 -4
  661. package/dist/v1/config/mcp.js +4 -4
  662. package/dist/v1/config/migrate.js +92 -92
  663. package/dist/v1/config/permission.js +7 -7
  664. package/dist/v1/config/plugin.js +3 -3
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +4 -4
  667. package/dist/variant.js +93 -93
  668. package/dist/vcs/patch.js +1 -1
  669. package/dist/vcs.js +89 -89
  670. package/dist/websearch.js +80 -80
  671. package/dist/wellknown/plugin.js +76 -76
  672. package/dist/wellknown.js +81 -81
  673. package/dist/workspace/driver.js +5 -5
  674. package/dist/workspace/sql.js +1 -1
  675. package/dist/workspace.js +78 -78
  676. package/dist/worktree/directory.js +2 -2
  677. package/dist/worktree/git.js +10 -10
  678. package/dist/worktree/sql.js +5 -5
  679. package/dist/worktree/strategies.js +89 -89
  680. package/dist/worktree.js +98 -98
  681. package/package.json +8 -8
  682. package/dist/chunks/model-resolver-7b7qypaz.js +0 -26
  683. package/dist/chunks/model-resolver-8b9njvyr.js +0 -253
  684. package/dist/chunks/model-resolver-9sh4wc5j.js +0 -18
  685. package/dist/chunks/model-resolver-mcn7m7vx.js +0 -507
  686. /package/dist/chunks/{model-resolver-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
  687. /package/dist/chunks/{model-resolver-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
  688. /package/dist/chunks/{model-resolver-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
  689. /package/dist/chunks/{model-resolver-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
  690. /package/dist/chunks/{model-resolver-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
  691. /package/dist/chunks/{model-resolver-24dcb14g.js → location-services-24dcb14g.js} +0 -0
  692. /package/dist/chunks/{model-resolver-2710q6r3.js → location-services-2710q6r3.js} +0 -0
  693. /package/dist/chunks/{model-resolver-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
  694. /package/dist/chunks/{model-resolver-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
  695. /package/dist/chunks/{model-resolver-34c7v6d4.js → location-services-34c7v6d4.js} +0 -0
  696. /package/dist/chunks/{model-resolver-359p4xyc.js → location-services-359p4xyc.js} +0 -0
  697. /package/dist/chunks/{model-resolver-3asan66x.js → location-services-3asan66x.js} +0 -0
  698. /package/dist/chunks/{model-resolver-3t0ybcrp.js → location-services-3t0ybcrp.js} +0 -0
  699. /package/dist/chunks/{model-resolver-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{model-resolver-3w5fmr99.js → location-services-3w5fmr99.js} +0 -0
  701. /package/dist/chunks/{model-resolver-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{model-resolver-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{model-resolver-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{model-resolver-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{model-resolver-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{model-resolver-53557ph1.js → location-services-53557ph1.js} +0 -0
  707. /package/dist/chunks/{model-resolver-550bvhaj.js → location-services-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{model-resolver-6prwharc.js → location-services-6prwharc.js} +0 -0
  709. /package/dist/chunks/{model-resolver-6q2bdcd1.js → location-services-6q2bdcd1.js} +0 -0
  710. /package/dist/chunks/{model-resolver-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{model-resolver-7m9af43g.js → location-services-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{model-resolver-822emrt2.js → location-services-822emrt2.js} +0 -0
  713. /package/dist/chunks/{model-resolver-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{model-resolver-8n3pysct.js → location-services-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{model-resolver-8wj87zfr.js → location-services-8wj87zfr.js} +0 -0
  716. /package/dist/chunks/{model-resolver-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{model-resolver-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{model-resolver-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
  719. /package/dist/chunks/{model-resolver-af5trqkr.js → location-services-af5trqkr.js} +0 -0
  720. /package/dist/chunks/{model-resolver-afrmfg78.js → location-services-afrmfg78.js} +0 -0
  721. /package/dist/chunks/{model-resolver-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
  722. /package/dist/chunks/{model-resolver-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
  723. /package/dist/chunks/{model-resolver-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{model-resolver-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{model-resolver-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
  726. /package/dist/chunks/{model-resolver-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
  727. /package/dist/chunks/{model-resolver-d9fn303g.js → location-services-d9fn303g.js} +0 -0
  728. /package/dist/chunks/{model-resolver-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
  729. /package/dist/chunks/{model-resolver-dajrwvna.js → location-services-dajrwvna.js} +0 -0
  730. /package/dist/chunks/{model-resolver-dap0rakb.js → location-services-dap0rakb.js} +0 -0
  731. /package/dist/chunks/{model-resolver-df08tz66.js → location-services-df08tz66.js} +0 -0
  732. /package/dist/chunks/{model-resolver-dy18nga0.js → location-services-dy18nga0.js} +0 -0
  733. /package/dist/chunks/{model-resolver-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
  734. /package/dist/chunks/{model-resolver-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
  735. /package/dist/chunks/{model-resolver-ec1grn59.js → location-services-ec1grn59.js} +0 -0
  736. /package/dist/chunks/{model-resolver-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
  737. /package/dist/chunks/{model-resolver-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
  738. /package/dist/chunks/{model-resolver-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
  739. /package/dist/chunks/{model-resolver-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
  740. /package/dist/chunks/{model-resolver-faypxj3z.js → location-services-faypxj3z.js} +0 -0
  741. /package/dist/chunks/{model-resolver-fd410y7t.js → location-services-fd410y7t.js} +0 -0
  742. /package/dist/chunks/{model-resolver-fxgpk5d8.js → location-services-fxgpk5d8.js} +0 -0
  743. /package/dist/chunks/{model-resolver-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{model-resolver-g86h250q.js → location-services-g86h250q.js} +0 -0
  745. /package/dist/chunks/{model-resolver-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{model-resolver-gftt206x.js → location-services-gftt206x.js} +0 -0
  747. /package/dist/chunks/{model-resolver-hk9envan.js → location-services-hk9envan.js} +0 -0
  748. /package/dist/chunks/{model-resolver-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
  749. /package/dist/chunks/{model-resolver-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
  750. /package/dist/chunks/{model-resolver-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
  751. /package/dist/chunks/{model-resolver-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{model-resolver-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{model-resolver-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{model-resolver-mp448xyj.js → location-services-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{model-resolver-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{model-resolver-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{model-resolver-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{model-resolver-njntx4h6.js → location-services-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{model-resolver-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
  760. /package/dist/chunks/{model-resolver-q74kybfr.js → location-services-q74kybfr.js} +0 -0
  761. /package/dist/chunks/{model-resolver-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
  762. /package/dist/chunks/{model-resolver-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
  763. /package/dist/chunks/{model-resolver-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
  764. /package/dist/chunks/{model-resolver-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
  765. /package/dist/chunks/{model-resolver-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{model-resolver-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{model-resolver-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{model-resolver-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
  769. /package/dist/chunks/{model-resolver-w803qqfp.js → location-services-w803qqfp.js} +0 -0
  770. /package/dist/chunks/{model-resolver-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
  771. /package/dist/chunks/{model-resolver-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
  772. /package/dist/chunks/{model-resolver-wtztk69x.js → location-services-wtztk69x.js} +0 -0
  773. /package/dist/chunks/{model-resolver-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
  774. /package/dist/chunks/{model-resolver-x61499pn.js → location-services-x61499pn.js} +0 -0
  775. /package/dist/chunks/{model-resolver-y44na4kk.js → location-services-y44na4kk.js} +0 -0
  776. /package/dist/chunks/{model-resolver-y8cydn3q.js → location-services-y8cydn3q.js} +0 -0
  777. /package/dist/chunks/{model-resolver-y8f7s663.js → location-services-y8f7s663.js} +0 -0
  778. /package/dist/chunks/{model-resolver-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
  779. /package/dist/chunks/{model-resolver-ym463w8f.js → location-services-ym463w8f.js} +0 -0
  780. /package/dist/chunks/{model-resolver-z5v4ffb3.js → location-services-z5v4ffb3.js} +0 -0
  781. /package/dist/chunks/{model-resolver-z9919s4g.js → location-services-z9919s4g.js} +0 -0
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  useragent2
3
- } from "./model-resolver-efgr2h9s.js";
3
+ } from "./location-services-mbhdtkze.js";
4
4
  import {
5
5
  Service83
6
- } from "./model-resolver-hhr7ssgm.js";
6
+ } from "./location-services-vgr2d9jf.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./model-resolver-bjgk06jq.js";
9
+ Event20
10
+ } from "./location-services-8fg7kjkz.js";
11
11
  import {
12
12
  key2
13
- } from "./model-resolver-addxnjmp.js";
13
+ } from "./location-services-addxnjmp.js";
14
14
  import {
15
15
  ID14,
16
16
  MethodID2
17
- } from "./model-resolver-4zkna7ps.js";
17
+ } from "./location-services-6hz9gy1d.js";
18
18
  import {
19
19
  ID13,
20
20
  aisdk2,
21
21
  Service76
22
- } from "./model-resolver-55hkn5jk.js";
22
+ } from "./location-services-t2cngams.js";
23
23
  import {
24
24
  ID12,
25
25
  Info21
26
- } from "./model-resolver-8k1jb5xq.js";
26
+ } from "./location-services-a686yqn2.js";
27
27
  import {
28
28
  success2,
29
29
  error2
30
- } from "./model-resolver-pjvnvgmy.js";
30
+ } from "./location-services-pjvnvgmy.js";
31
31
 
32
32
  // src/plugin/provider/gitlab.ts
33
33
  import os from "os";
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
196
196
  });
197
197
  });
198
198
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
199
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
199
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
200
200
  yield* refresh().pipe(Effect.forkScoped);
201
201
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
202
202
  if (evt.package !== "gitlab-ai-provider")
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./location-services-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service6,
9
+ Service: () => Service4,
10
10
  bound: () => bound2,
11
- node: () => node8
11
+ node: () => node5
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service6 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service4 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node8 = makeLocationNode({
19
- service: Service6,
18
+ var node5 = makeLocationNode({
19
+ service: Service4,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service6, Service6.of({ all: () => stamped }));
29
+ return Layer.succeed(Service4, Service4.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service6, node8, bound2, exports_instance2 };
32
+ export { Service4, node5, bound2, exports_instance2 };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./location-services-9rqn6x4v.js";
4
4
 
5
5
  // src/managed-policy.ts
6
6
  var exports_managed_policy = {};
7
7
  __export(exports_managed_policy, {
8
8
  ManagedPolicy: () => exports_managed_policy,
9
- Service: () => Service24,
10
- node: () => node27
9
+ Service: () => Service54,
10
+ node: () => node58
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service24 extends Context.Service()("@opencode/ManagedPolicy") {
15
+ class Service54 extends Context.Service()("@opencode/ManagedPolicy") {
16
16
  }
17
- var layer = Layer.sync(Service24, () => {
17
+ var layer = Layer.sync(Service54, () => {
18
18
  const state = { current: { statements: [] } };
19
- return Service24.of({
19
+ return Service54.of({
20
20
  current: () => state.current,
21
21
  set: (next) => Effect.sync(() => {
22
22
  state.current = next;
23
23
  })
24
24
  });
25
25
  });
26
- var node27 = makeGlobalNode({ service: Service24, layer, deps: [] });
26
+ var node58 = makeGlobalNode({ service: Service54, layer, deps: [] });
27
27
 
28
- export { Service24, node27, exports_managed_policy };
28
+ export { Service54, node58, exports_managed_policy };
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-resolver-z5v4ffb3.js";
3
+ } from "./location-services-z5v4ffb3.js";
4
4
  import {
5
5
  Service80
6
- } from "./model-resolver-j1gz9man.js";
6
+ } from "./location-services-jy04fj7c.js";
7
7
  import {
8
8
  __export
9
- } from "./model-resolver-9rqn6x4v.js";
9
+ } from "./location-services-9rqn6x4v.js";
10
10
 
11
11
  // src/config/discovery.ts
12
12
  var exports_discovery2 = {};
13
13
  __export(exports_discovery2, {
14
14
  ConfigDiscovery: () => exports_discovery2,
15
15
  discover: () => discover3,
16
- names: () => names4
16
+ names: () => names3
17
17
  });
18
18
  import path from "path";
19
19
  import { Effect } from "effect";
20
20
  import { FSUtil } from "@opencode/util/fs-util";
21
21
  import { Global } from "@opencode/util/global";
22
- var names4 = ["opencode.json", "opencode.jsonc"];
22
+ var names3 = ["opencode.json", "opencode.jsonc"];
23
23
  var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
24
24
  const fs = yield* FSUtil.Service;
25
25
  const global = yield* Global.Service;
@@ -31,10 +31,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
31
31
  const directories = (yield* fs.resolve(location.directory)) === globalRoots[0] || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
32
32
  const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
33
33
  const parent = yield* fs.resolve(directory);
34
- return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names4.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
34
+ return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names3.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
35
35
  })).pipe(Effect.map((items) => items.flat()), Effect.orDie);
36
36
  const globalEnabled = options?.global !== false;
37
- const globalFiles = yield* Effect.forEach(names4, (name) => fs.resolve(path.join(globalDirectory, name)));
37
+ const globalFiles = yield* Effect.forEach(names3, (name) => fs.resolve(path.join(globalDirectory, name)));
38
38
  const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
39
39
  return {
40
40
  global: globalEnabled ? globalDirectory : undefined,
@@ -56,4 +56,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
56
56
  };
57
57
  });
58
58
 
59
- export { names4, discover3, exports_discovery2 };
59
+ export { names3, discover3, exports_discovery2 };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service60,
3
- node63,
2
+ Service66,
3
+ node70,
4
4
  canonical3
5
- } from "./model-resolver-d9dg5wfk.js";
5
+ } from "./location-services-zjdx658e.js";
6
6
  import {
7
- Service44,
8
- node46
9
- } from "./model-resolver-51f5btjf.js";
7
+ Service62,
8
+ node66
9
+ } from "./location-services-bw9zjykr.js";
10
10
  import {
11
- Service51
12
- } from "./model-resolver-bdadzv4m.js";
11
+ Service31
12
+ } from "./location-services-2njm4q35.js";
13
13
  import {
14
14
  layer2
15
- } from "./model-resolver-8b9njvyr.js";
15
+ } from "./location-services-f50w6s0d.js";
16
16
 
17
17
  // src/location-services.ts
18
18
  import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
19
19
  function buildLocationServiceMap2(replacements = []) {
20
- return Layer.effect(Service60, Effect.gen(function* () {
20
+ return Layer.effect(Service66, Effect.gen(function* () {
21
21
  const owner = yield* Effect.scope;
22
22
  const builds = MutableHashMap.empty();
23
23
  const inner = yield* LayerMap.make((ref) => {
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
27
27
  const finish = Effect.suspend(() => {
28
28
  if (Exit.isSuccess(exit)) {
29
29
  return Effect.gen(function* () {
30
- const lifecycle = Context.get(exit.value, Service51);
30
+ const lifecycle = Context.get(exit.value, Service31);
31
31
  if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
32
32
  return yield* lifecycle.shutdown;
33
33
  build.close = lifecycle.shutdown;
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
54
54
  }).pipe(Effect.uninterruptible)
55
55
  };
56
56
  const bindings = [
57
- node46.replace(Layer.succeed(Service44, {
57
+ node66.replace(Layer.succeed(Service62, {
58
58
  provide: (session) => Effect.provide(map.get(session.location))
59
59
  })),
60
60
  ...replacements,
61
- node63.replace(Layer.succeed(Service60, map))
61
+ node70.replace(Layer.succeed(Service66, map))
62
62
  ];
63
63
  return map;
64
64
  }));
@@ -2,7 +2,7 @@ import {
2
2
  ID14,
3
3
  Service77,
4
4
  node81
5
- } from "./model-resolver-4zkna7ps.js";
5
+ } from "./location-services-6hz9gy1d.js";
6
6
  import {
7
7
  ID13,
8
8
  isAISDK2,
@@ -16,11 +16,11 @@ import {
16
16
  mergeHeaders2,
17
17
  Service76,
18
18
  node80
19
- } from "./model-resolver-55hkn5jk.js";
19
+ } from "./location-services-t2cngams.js";
20
20
  import {
21
- Service58,
22
- node61
23
- } from "./model-resolver-rasec19h.js";
21
+ Service73,
22
+ node77
23
+ } from "./location-services-ff7xhjp2.js";
24
24
  import {
25
25
  ID12,
26
26
  VariantID2,
@@ -28,10 +28,10 @@ import {
28
28
  Service75,
29
29
  node79,
30
30
  supportsText2
31
- } from "./model-resolver-8k1jb5xq.js";
31
+ } from "./location-services-a686yqn2.js";
32
32
  import {
33
33
  __export
34
- } from "./model-resolver-9rqn6x4v.js";
34
+ } from "./location-services-9rqn6x4v.js";
35
35
 
36
36
  // src/model-resolver.ts
37
37
  var exports_model_resolver = {};
@@ -40,15 +40,15 @@ __export(exports_model_resolver, {
40
40
  ModelConfigurationError: () => ModelConfigurationError2,
41
41
  ModelInitializationError: () => ModelInitializationError2,
42
42
  ModelResolver: () => exports_model_resolver,
43
- Service: () => Service57,
43
+ Service: () => Service72,
44
44
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
45
45
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
46
46
  UnsupportedPackageError: () => UnsupportedPackageError2,
47
47
  VariantUnavailableError: () => VariantUnavailableError2,
48
48
  fromCatalogModel: () => fromCatalogModel2,
49
49
  hasPackage: () => hasPackage2,
50
- layer: () => layer21,
51
- node: () => node60,
50
+ layer: () => layer24,
51
+ node: () => node76,
52
52
  resolveModel: () => resolveModel2,
53
53
  withVariant: () => withVariant2
54
54
  });
@@ -121,7 +121,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
121
121
  }
122
122
  }
123
123
 
124
- class Service57 extends Context.Service()("@opencode/ModelResolver") {
124
+ class Service72 extends Context.Service()("@opencode/ModelResolver") {
125
125
  }
126
126
  var withVariant2 = (model, variantID) => {
127
127
  const id = variantID === "default" ? undefined : variantID;
@@ -265,12 +265,12 @@ var causeMessage = (cause) => {
265
265
  };
266
266
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
267
267
  var hasPackage2 = (model) => Boolean(model.package);
268
- var layer21 = Layer.effect(Service57, Effect.gen(function* () {
268
+ var layer24 = Layer.effect(Service72, Effect.gen(function* () {
269
269
  const providers = yield* Service76;
270
270
  const models = yield* Service75;
271
271
  const integrations = yield* Service77;
272
272
  const npm = yield* Npm.Service;
273
- const aisdk = yield* Service58;
273
+ const aisdk = yield* Service73;
274
274
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
275
275
  const provider = yield* providers.get(selected.providerID);
276
276
  const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
@@ -300,7 +300,7 @@ var layer21 = Layer.effect(Service57, Effect.gen(function* () {
300
300
  chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
301
301
  };
302
302
  });
303
- return Service57.of({
303
+ return Service72.of({
304
304
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
305
305
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
306
306
  if (!selected)
@@ -317,10 +317,10 @@ function usesAPIKeyAuth(packageName) {
317
317
  const name = packageName2(packageName);
318
318
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
319
319
  }
320
- var node60 = makeLocationNode({
321
- service: Service57,
322
- layer: layer21,
323
- deps: [node80, node79, node81, Npm.node, node61]
320
+ var node76 = makeLocationNode({
321
+ service: Service72,
322
+ layer: layer24,
323
+ deps: [node80, node79, node81, Npm.node, node77]
324
324
  });
325
325
 
326
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service57, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer21, node60, exports_model_resolver };
326
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service72, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node76, exports_model_resolver };
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./location-services-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service23,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service23 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service23.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service23, awaitActivation2, exports_service };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./model-resolver-nmbcsk2x.js";
4
+ } from "./location-services-jda68ddm.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
- make21,
8
+ make22,
9
9
  combine2
10
- } from "./model-resolver-s8d7rejh.js";
10
+ } from "./location-services-9t7a50xb.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./model-resolver-kb9j3d72.js";
13
+ } from "./location-services-9e5bzkjp.js";
14
14
  import {
15
15
  __export
16
- } from "./model-resolver-9rqn6x4v.js";
16
+ } from "./location-services-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
20
20
  __export(exports_instruction_entry, {
21
- Info: () => Info5,
21
+ Info: () => Info3,
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service29,
25
+ Service: () => Service26,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node33,
29
+ node: () => node29,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
34
34
  import { InstructionEntry } from "@opencode/schema/instruction-entry";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  var Key2 = InstructionEntry.Key;
37
- var Info5 = InstructionEntry.Info;
37
+ var Info3 = InstructionEntry.Info;
38
38
  var Snapshot2 = InstructionEntry.Snapshot;
39
39
  var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
40
40
  var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service29 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service26 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
63
63
  `);
64
- var source = (entry) => make21({
64
+ var source = (entry) => make22({
65
65
  key: Key3.make(`api/${entry.key}`),
66
66
  codec: Schema.toCodecJson(Schema.Json),
67
67
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
@@ -75,7 +75,7 @@ var source = (entry) => make21({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service29, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service26, Effect.gen(function* () {
79
79
  const { db } = yield* Service84;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service29.of({ list, put, remove, load });
111
+ return Service26.of({ list, put, remove, load });
112
112
  }));
113
- var node33 = makeLocationNode({ service: Service29, layer, deps: [node88] });
113
+ var node29 = makeLocationNode({ service: Service26, layer, deps: [node88] });
114
114
 
115
- export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service29, node33, exports_instruction_entry };
115
+ export { Key2, Info3, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service26, node29, exports_instruction_entry };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./location-services-9rqn6x4v.js";
4
4
 
5
5
  // src/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./model-resolver-qfa1cgps.js";
3
+ } from "./location-services-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,82 +1,82 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./model-resolver-nmbcsk2x.js";
4
+ } from "./location-services-jda68ddm.js";
5
5
  import {
6
6
  Service83,
7
7
  node87
8
- } from "./model-resolver-hhr7ssgm.js";
8
+ } from "./location-services-vgr2d9jf.js";
9
9
  import {
10
10
  create3
11
- } from "./model-resolver-rdw6cm16.js";
11
+ } from "./location-services-rdw6cm16.js";
12
12
  import {
13
- ID9,
14
- Service56,
15
- node59
16
- } from "./model-resolver-1cap5v9d.js";
13
+ ID11,
14
+ Service70,
15
+ node74
16
+ } from "./location-services-z7z1vh8h.js";
17
17
  import {
18
18
  llmClient2
19
- } from "./model-resolver-5t3nmthw.js";
19
+ } from "./location-services-5t3nmthw.js";
20
20
  import {
21
21
  Service75,
22
22
  node79
23
- } from "./model-resolver-8k1jb5xq.js";
23
+ } from "./location-services-a686yqn2.js";
24
24
  import {
25
25
  estimate2
26
- } from "./model-resolver-h6vf3j39.js";
26
+ } from "./location-services-h6vf3j39.js";
27
27
  import {
28
28
  SessionEvent2
29
- } from "./model-resolver-ec1grn59.js";
29
+ } from "./location-services-ec1grn59.js";
30
30
  import {
31
31
  provenance2,
32
32
  compatible2,
33
33
  isCheckpoint2,
34
34
  encode2
35
- } from "./model-resolver-5dkn69vz.js";
35
+ } from "./location-services-zsr4wwhv.js";
36
36
  import {
37
- load4
38
- } from "./model-resolver-c30g4xpt.js";
37
+ load5
38
+ } from "./location-services-w7487c8x.js";
39
39
  import {
40
40
  toLLMMessages2
41
- } from "./model-resolver-h5w29vws.js";
41
+ } from "./location-services-ncnm8wen.js";
42
42
  import {
43
43
  baseTranscript2,
44
44
  unsupportedParts2,
45
45
  boundImages2,
46
- Service30,
47
- node34
48
- } from "./model-resolver-n3k0nq1g.js";
46
+ Service24,
47
+ node27
48
+ } from "./location-services-28esxs91.js";
49
49
  import {
50
- Service43,
51
- node45
52
- } from "./model-resolver-zby7g0g2.js";
50
+ Service63,
51
+ node67
52
+ } from "./location-services-qs0k33dy.js";
53
53
  import {
54
54
  isRetryable2,
55
55
  policy2
56
- } from "./model-resolver-zyk1yjk8.js";
56
+ } from "./location-services-b3f8fkhc.js";
57
57
  import {
58
58
  toSessionError2,
59
59
  contentFilterError2
60
- } from "./model-resolver-r6xsx0m5.js";
60
+ } from "./location-services-kk7eqmr5.js";
61
61
  import {
62
62
  calculateCost2,
63
63
  record2,
64
64
  add2
65
- } from "./model-resolver-tdstcens.js";
65
+ } from "./location-services-tdstcens.js";
66
66
  import {
67
67
  __export
68
- } from "./model-resolver-9rqn6x4v.js";
68
+ } from "./location-services-9rqn6x4v.js";
69
69
 
70
70
  // src/session/compaction.ts
71
71
  var exports_compaction2 = {};
72
72
  __export(exports_compaction2, {
73
- Service: () => Service5,
73
+ Service: () => Service10,
74
74
  SessionCompaction: () => exports_compaction2,
75
75
  buildPrompt: () => buildPrompt2,
76
76
  estimateContext: () => estimateContext2,
77
77
  estimatePrompt: () => estimatePrompt2,
78
- layer: () => layer6,
79
- node: () => node7,
78
+ layer: () => layer7,
79
+ node: () => node12,
80
80
  recentUserMessages: () => recentUserMessages2
81
81
  });
82
82
  import {
@@ -92,7 +92,7 @@ import {
92
92
  } from "@opencode/ai";
93
93
  import { makeLocationNode } from "@opencode/util/effect/app-node";
94
94
  import { Context, Effect, Layer, Result, Stream } from "effect";
95
- class Service5 extends Context.Service()("@opencode/SessionCompaction") {
95
+ class Service10 extends Context.Service()("@opencode/SessionCompaction") {
96
96
  }
97
97
  var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
98
98
  var SHRINK_STEPS = [0.7, 0.5, 0.35];
@@ -171,14 +171,14 @@ var buildPrompt2 = (update, legacy = false) => {
171
171
  };
172
172
  var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
173
173
  var LEGACY_HEADING = "## Additional Context";
174
- var layer6 = Layer.effect(Service5, Effect.gen(function* () {
175
- const agents = yield* Service56;
174
+ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
175
+ const agents = yield* Service70;
176
176
  const bus = yield* Service83;
177
177
  const llm = yield* LLMClient.Service;
178
178
  const catalog = yield* Service75;
179
- const models = yield* Service43;
179
+ const models = yield* Service63;
180
180
  const db = (yield* Service84).db;
181
- const requests = yield* Service30;
181
+ const requests = yield* Service24;
182
182
  const state = create3({
183
183
  name: "session-compaction",
184
184
  initial: () => ({ auto: true, keep: 15000 }),
@@ -196,7 +196,7 @@ var layer6 = Layer.effect(Service5, Effect.gen(function* () {
196
196
  if (trigger.reason === "auto" && !due(context, calculateCeiling(context.model.limit, settings.buffer)))
197
197
  return { status: "skipped" };
198
198
  const native = context.model.compaction?.type === "native";
199
- const agent = native ? undefined : yield* agents.get(ID9.make("compaction"));
199
+ const agent = native ? undefined : yield* agents.get(ID11.make("compaction"));
200
200
  const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
201
201
  return;
202
202
  })))) ?? context.model;
@@ -272,7 +272,7 @@ var layer6 = Layer.effect(Service5, Effect.gen(function* () {
272
272
  const send = (request) => {
273
273
  if (LLMClient.canCompact(request, { mechanism: "trigger" })) {
274
274
  return Effect.gen(function* () {
275
- const history = yield* load4(db, context.session.id, "local").pipe(Effect.orDie);
275
+ const history = yield* load5(db, context.session.id, "local").pipe(Effect.orDie);
276
276
  const retained = recentUserMessages2(history, context.model, keep);
277
277
  const response = yield* llm.compact(request, { ...prepared.options, mechanism: "trigger" });
278
278
  return yield* toResult([...retained, Message.assistant(response.checkpoint)], response.usage);
@@ -472,16 +472,16 @@ ${text}`;
472
472
  }, { metadata: outcome.metadata });
473
473
  return { status: "completed" };
474
474
  });
475
- return Service5.of({
475
+ return Service10.of({
476
476
  transform: state.transform,
477
477
  reload: state.reload,
478
478
  compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
479
479
  });
480
480
  }));
481
- var node7 = makeLocationNode({
482
- service: Service5,
483
- layer: layer6,
484
- deps: [node59, node87, node88, llmClient2, node79, node34, node45]
481
+ var node12 = makeLocationNode({
482
+ service: Service10,
483
+ layer: layer7,
484
+ deps: [node74, node87, node88, llmClient2, node79, node27, node67]
485
485
  });
486
486
  var previousCompaction = (messages) => {
487
487
  const [first] = messages;
@@ -686,4 +686,4 @@ var estimateMedia = (mime) => {
686
686
  return 0;
687
687
  };
688
688
 
689
- export { Service5, buildPrompt2, layer6, node7, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
689
+ export { Service10, buildPrompt2, layer7, node12, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };