@opencode/core 0.0.0-dev-21592 → 0.0.0-dev-21599

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 (795) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{model-9nw8ck4g.js → tool-output-02vyapm1.js} +4 -4
  8. package/dist/chunks/{model-pkax9v1w.js → tool-output-02yfng3f.js} +7 -7
  9. package/dist/chunks/{model-aj7mw0zk.js → tool-output-034tev2y.js} +2 -2
  10. package/dist/chunks/{model-5fsc8n82.js → tool-output-03wdg0rt.js} +13 -13
  11. package/dist/chunks/{model-dkq45v8d.js → tool-output-0gka690g.js} +6 -6
  12. package/dist/chunks/{model-x0n658k6.js → tool-output-0gt8ey1a.js} +116 -44
  13. package/dist/chunks/{model-se9dn7rd.js → tool-output-0r009c13.js} +12 -12
  14. package/dist/chunks/{model-8xsxb202.js → tool-output-0yxbjwbd.js} +29 -29
  15. package/dist/chunks/{model-gwprnrgv.js → tool-output-10y9v1vv.js} +14 -14
  16. package/dist/chunks/{model-ttdgtk4q.js → tool-output-14k2p94z.js} +6 -6
  17. package/dist/chunks/{model-wzdjcsat.js → tool-output-14zr9vj7.js} +15 -15
  18. package/dist/chunks/{model-d6gm4j52.js → tool-output-15engxec.js} +46 -46
  19. package/dist/chunks/{model-jj73fkkr.js → tool-output-1bsnzyrd.js} +18 -18
  20. package/dist/chunks/{model-27w5k9zf.js → tool-output-1ep2p91f.js} +2 -2
  21. package/dist/chunks/{model-51481qqa.js → tool-output-1vkp420h.js} +13 -13
  22. package/dist/chunks/{model-1x2knyw4.js → tool-output-1x2knyw4.js} +1 -1
  23. package/dist/chunks/{model-5zrxpy3q.js → tool-output-1yq9hg58.js} +5 -5
  24. package/dist/chunks/{model-z6g09nf1.js → tool-output-20fcarzd.js} +3 -3
  25. package/dist/chunks/{model-f1nzbf19.js → tool-output-20nwq5j7.js} +9 -9
  26. package/dist/chunks/{model-1w4vqh2t.js → tool-output-27bs79w9.js} +2 -2
  27. package/dist/chunks/{model-mkrzd24w.js → tool-output-2e1v5rzb.js} +11 -11
  28. package/dist/chunks/{model-321ec0g4.js → tool-output-2f4xewgk.js} +16 -16
  29. package/dist/chunks/{model-6f9z7j1v.js → tool-output-2gc5wwsr.js} +13 -13
  30. package/dist/chunks/{model-2z1j29yd.js → tool-output-2z1j29yd.js} +1 -1
  31. package/dist/chunks/{model-7ye4ae45.js → tool-output-31wms35x.js} +8 -8
  32. package/dist/chunks/{model-t656wjzj.js → tool-output-33fnmx25.js} +13 -13
  33. package/dist/chunks/{model-szqbbbee.js → tool-output-3ae58x6v.js} +43 -43
  34. package/dist/chunks/{model-0n48jksk.js → tool-output-3aracdxg.js} +26 -26
  35. package/dist/chunks/{model-vrmm9ccr.js → tool-output-3f9f2kqk.js} +14 -14
  36. package/dist/chunks/{model-3hepkmqq.js → tool-output-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{model-99frgwf9.js → tool-output-3nn70jee.js} +19 -19
  38. package/dist/chunks/{model-n4qksct9.js → tool-output-3w0cf4vg.js} +9 -9
  39. package/dist/chunks/{model-0xg995h5.js → tool-output-3wfjj3xn.js} +15 -15
  40. package/dist/chunks/{model-w2eysc6j.js → tool-output-40za9wsf.js} +9 -9
  41. package/dist/chunks/{model-j9qw6n70.js → tool-output-45fm8dkf.js} +49 -49
  42. package/dist/chunks/{model-tee140je.js → tool-output-4cmd85k7.js} +25 -26
  43. package/dist/chunks/{model-nv65jaj5.js → tool-output-4t0ptnzh.js} +1 -1
  44. package/dist/chunks/{model-4v008n1t.js → tool-output-4v008n1t.js} +1 -1
  45. package/dist/chunks/{model-4xvmh7wp.js → tool-output-4xvmh7wp.js} +3 -3
  46. package/dist/chunks/{model-anx7ry72.js → tool-output-4z3w2m2c.js} +4 -4
  47. package/dist/chunks/{model-4v9wqr06.js → tool-output-52fzkx6b.js} +24 -24
  48. package/dist/chunks/{model-cw8gdmwg.js → tool-output-56zd4020.js} +33 -33
  49. package/dist/chunks/{model-6hfnb0rs.js → tool-output-575qvmdv.js} +4 -4
  50. package/dist/chunks/{model-bn4a103g.js → tool-output-5cv37nj8.js} +18 -18
  51. package/dist/chunks/{model-r07gp9b9.js → tool-output-5epaxwsw.js} +4 -4
  52. package/dist/chunks/{model-5m9w47nd.js → tool-output-5m9w47nd.js} +1 -1
  53. package/dist/chunks/{model-q0qwz8mp.js → tool-output-5ndmwyx5.js} +35 -35
  54. package/dist/chunks/{model-8jxvmzrw.js → tool-output-6dhf79kj.js} +28 -28
  55. package/dist/chunks/tool-output-6e65pr7w.js +257 -0
  56. package/dist/chunks/{model-6esdw8yj.js → tool-output-6esdw8yj.js} +1 -1
  57. package/dist/chunks/{model-gy8yxpp1.js → tool-output-6npt4pta.js} +11 -11
  58. package/dist/chunks/{model-6pjqjmy2.js → tool-output-6pjqjmy2.js} +1 -1
  59. package/dist/chunks/{model-xeaspr23.js → tool-output-6v3q5vvj.js} +14 -14
  60. package/dist/chunks/{model-n6v2b7cw.js → tool-output-6y263vp8.js} +5 -5
  61. package/dist/chunks/{model-d1rt1382.js → tool-output-732r365v.js} +5 -5
  62. package/dist/chunks/{model-072q16cb.js → tool-output-75kq81p9.js} +28 -28
  63. package/dist/chunks/{model-w8qtt4th.js → tool-output-76cb1hcw.js} +4 -4
  64. package/dist/chunks/{model-k1whs75x.js → tool-output-7adgnzsg.js} +11 -11
  65. package/dist/chunks/{model-7bmhse3q.js → tool-output-7bmhse3q.js} +1 -1
  66. package/dist/chunks/{model-q39pt7dd.js → tool-output-7ees5jkk.js} +17 -17
  67. package/dist/chunks/{model-741bc9hj.js → tool-output-7mrxhv66.js} +28 -28
  68. package/dist/chunks/{model-sztxty7m.js → tool-output-7n9251cj.js} +17 -17
  69. package/dist/chunks/{model-td85jp64.js → tool-output-7nsfs16y.js} +177 -177
  70. package/dist/chunks/{model-7w2ypzdf.js → tool-output-7w2ypzdf.js} +1 -1
  71. package/dist/chunks/{model-adpvjdsc.js → tool-output-86aqzbp9.js} +24 -24
  72. package/dist/chunks/{model-9nkjg9qd.js → tool-output-89sdcr2v.js} +6 -6
  73. package/dist/chunks/{model-4txkrg0g.js → tool-output-8a38ne9n.js} +11 -11
  74. package/dist/chunks/{model-n8hmsfpk.js → tool-output-8d56qhxn.js} +30 -30
  75. package/dist/chunks/{model-kmfx2698.js → tool-output-8gf3zxsg.js} +17 -17
  76. package/dist/chunks/{model-b5q9zetx.js → tool-output-8gtwayjs.js} +46 -46
  77. package/dist/chunks/{model-egmw08v6.js → tool-output-8k8s1td8.js} +5 -5
  78. package/dist/chunks/{model-8wtp7s3z.js → tool-output-8wtp7s3z.js} +1 -1
  79. package/dist/chunks/{model-jj9caqwr.js → tool-output-8ykqf5wm.js} +11 -11
  80. package/dist/chunks/{model-bzr0y705.js → tool-output-8zqhaj5c.js} +13 -13
  81. package/dist/chunks/{model-91rj84md.js → tool-output-91rj84md.js} +1 -1
  82. package/dist/chunks/{model-qgeehj15.js → tool-output-98pd45a3.js} +10 -10
  83. package/dist/chunks/{model-dvj9ct8m.js → tool-output-998yhzzq.js} +3 -3
  84. package/dist/chunks/{model-tjfc794x.js → tool-output-9a6nh89z.js} +14 -14
  85. package/dist/chunks/{model-953xbrr3.js → tool-output-9b28cy4d.js} +5 -5
  86. package/dist/chunks/{model-72g5xjtf.js → tool-output-9fk2bqmm.js} +4 -4
  87. package/dist/chunks/{model-5g6946ns.js → tool-output-9g93d3f5.js} +20 -20
  88. package/dist/chunks/{model-bq891ma8.js → tool-output-9pqw3rfv.js} +19 -19
  89. package/dist/chunks/{model-c3zdnxfx.js → tool-output-9wgzwg7t.js} +34 -34
  90. package/dist/chunks/{model-6jpgtjve.js → tool-output-abvderva.js} +54 -54
  91. package/dist/chunks/{model-272c0xdt.js → tool-output-ad0mv7as.js} +6 -6
  92. package/dist/chunks/{model-jg5w3cjw.js → tool-output-agech8jz.js} +16 -16
  93. package/dist/chunks/{model-5zfr5p9e.js → tool-output-aja4sf8e.js} +25 -25
  94. package/dist/chunks/{model-01j7rzmr.js → tool-output-at9rzsb2.js} +68 -68
  95. package/dist/chunks/{model-srsshwrf.js → tool-output-awcmzese.js} +4 -4
  96. package/dist/chunks/{model-p4h2267x.js → tool-output-axwvcc3s.js} +16 -16
  97. package/dist/chunks/{model-3cbjf1nt.js → tool-output-ayjs7tqn.js} +2 -2
  98. package/dist/chunks/{model-b0mv4wxm.js → tool-output-b0mv4wxm.js} +2 -2
  99. package/dist/chunks/{model-g4y1xy0d.js → tool-output-b0p0cccz.js} +28 -28
  100. package/dist/chunks/{model-t25nhsq0.js → tool-output-b0v8jwaf.js} +5 -5
  101. package/dist/chunks/{model-66r9f6z1.js → tool-output-b29mbqx6.js} +5 -5
  102. package/dist/chunks/{model-wtnsyy90.js → tool-output-b3hcype2.js} +18 -18
  103. package/dist/chunks/{model-b6vsg801.js → tool-output-b6vsg801.js} +2 -2
  104. package/dist/chunks/{model-92m6938h.js → tool-output-bcq1fbbx.js} +20 -20
  105. package/dist/chunks/{model-rjnacbrz.js → tool-output-bgm817xr.js} +9 -9
  106. package/dist/chunks/{model-qq9tt1td.js → tool-output-bjvhwptd.js} +3 -3
  107. package/dist/chunks/{model-g88zdbhx.js → tool-output-bmrhpq87.js} +14 -14
  108. package/dist/chunks/{model-g1ay4zd8.js → tool-output-bqwdyg2t.js} +9 -9
  109. package/dist/chunks/{model-e88dgn8f.js → tool-output-br3esf13.js} +4 -4
  110. package/dist/chunks/{model-bstexjd6.js → tool-output-bstexjd6.js} +1 -1
  111. package/dist/chunks/{model-mr3cdd38.js → tool-output-bwz2p6z2.js} +34 -34
  112. package/dist/chunks/{model-g154atg6.js → tool-output-c0xk14mm.js} +17 -17
  113. package/dist/chunks/{model-0e0jgjy9.js → tool-output-c46f3117.js} +11 -11
  114. package/dist/chunks/{model-wtgq8nqm.js → tool-output-c6x7d2ts.js} +7 -7
  115. package/dist/chunks/{model-63jssr0d.js → tool-output-cgs2kznv.js} +15 -15
  116. package/dist/chunks/{model-m7jmd0hd.js → tool-output-ckekbsk5.js} +22 -22
  117. package/dist/chunks/{model-kgex5j78.js → tool-output-cky18ayb.js} +11 -11
  118. package/dist/chunks/{model-mbqkgzdb.js → tool-output-cpqed4zs.js} +3 -3
  119. package/dist/chunks/{model-sxj6qfjf.js → tool-output-ctrm230j.js} +27 -27
  120. package/dist/chunks/{model-b67zw2j5.js → tool-output-d3fzpcez.js} +10 -10
  121. package/dist/chunks/{model-d4v9tmah.js → tool-output-d4v9tmah.js} +2 -2
  122. package/dist/chunks/{model-2eqnzn4s.js → tool-output-dgmwqqqe.js} +10 -10
  123. package/dist/chunks/{model-jx89vj1k.js → tool-output-dh62xe4r.js} +3 -3
  124. package/dist/chunks/{model-7bw1g6gn.js → tool-output-dk5xnaxx.js} +4 -4
  125. package/dist/chunks/{model-340hmagq.js → tool-output-dmc9yb6t.js} +20 -20
  126. package/dist/chunks/{model-nxv9x1zm.js → tool-output-dn2q7ewa.js} +7 -7
  127. package/dist/chunks/{model-pa0vwm8c.js → tool-output-dr6kpnea.js} +17 -17
  128. package/dist/chunks/{model-35s4j9cr.js → tool-output-e1wc05en.js} +11 -11
  129. package/dist/chunks/{model-q9g9j9gh.js → tool-output-e3148eb1.js} +19 -19
  130. package/dist/chunks/{model-5qd3pb7m.js → tool-output-e3qxr5gk.js} +2 -2
  131. package/dist/chunks/{model-e834z07m.js → tool-output-e834z07m.js} +1 -1
  132. package/dist/chunks/{model-wb79839p.js → tool-output-e8nh79sb.js} +9 -9
  133. package/dist/chunks/{model-hhwb3rx0.js → tool-output-ebwz916e.js} +18 -18
  134. package/dist/chunks/{model-5newpn23.js → tool-output-eendxhec.js} +28 -28
  135. package/dist/chunks/{model-ef5x83kb.js → tool-output-ef5x83kb.js} +1 -1
  136. package/dist/chunks/{model-w8a1jqtz.js → tool-output-f13580fy.js} +1 -1
  137. package/dist/chunks/{model-fffv3p7h.js → tool-output-fffv3p7h.js} +1 -1
  138. package/dist/chunks/{model-6vm2p5a1.js → tool-output-fjd8d6hc.js} +20 -20
  139. package/dist/chunks/{model-nfaaxv4r.js → tool-output-fvaebv5c.js} +26 -26
  140. package/dist/chunks/{model-0h8y3ex8.js → tool-output-fznmdakp.js} +4 -4
  141. package/dist/chunks/{model-sysqhah2.js → tool-output-g22673a8.js} +14 -14
  142. package/dist/chunks/{model-g5h9c0rr.js → tool-output-g5h9c0rr.js} +2 -2
  143. package/dist/chunks/{model-vvf0vm2n.js → tool-output-gc2w1p23.js} +17 -17
  144. package/dist/chunks/{model-0q0he6s7.js → tool-output-gdvg1v0w.js} +28 -28
  145. package/dist/chunks/{model-nar1vcx8.js → tool-output-ggx4rb7k.js} +11 -11
  146. package/dist/chunks/{model-zrcjrc8a.js → tool-output-gh947223.js} +21 -21
  147. package/dist/chunks/{model-gtndzxs8.js → tool-output-gjpepzdv.js} +6 -6
  148. package/dist/chunks/{model-m1wmrjqx.js → tool-output-gn6n2gww.js} +13 -13
  149. package/dist/chunks/{model-chrqa3e7.js → tool-output-gry66kc0.js} +5 -5
  150. package/dist/chunks/{model-g56hrhg3.js → tool-output-h0ndpbmn.js} +9 -9
  151. package/dist/chunks/{model-fzj23b6d.js → tool-output-h2tz44th.js} +11 -11
  152. package/dist/chunks/{model-zvrj69sk.js → tool-output-h31pp8t3.js} +18 -18
  153. package/dist/chunks/{model-4k6phjpp.js → tool-output-hcs2f452.js} +20 -20
  154. package/dist/chunks/{model-4w20wkzz.js → tool-output-hfpdjywt.js} +14 -14
  155. package/dist/chunks/{model-8zzv4zj8.js → tool-output-hr7bspm8.js} +50 -50
  156. package/dist/chunks/{model-j113cymg.js → tool-output-j113cymg.js} +1 -1
  157. package/dist/chunks/{model-raktd10s.js → tool-output-j7gyfce7.js} +12 -12
  158. package/dist/chunks/{model-jchrqzf6.js → tool-output-jchrqzf6.js} +1 -1
  159. package/dist/chunks/{model-w47q07ee.js → tool-output-jewpd055.js} +5 -5
  160. package/dist/chunks/{model-891v6h49.js → tool-output-jfxkbtd9.js} +4 -4
  161. package/dist/chunks/{model-5z2mzmdm.js → tool-output-jtp4xp8v.js} +7 -7
  162. package/dist/chunks/{model-784fke7s.js → tool-output-jv32aesp.js} +86 -86
  163. package/dist/chunks/{model-bkswmhj3.js → tool-output-k175he82.js} +46 -46
  164. package/dist/chunks/{model-9437wt4d.js → tool-output-k5aja770.js} +8 -8
  165. package/dist/chunks/{model-k814nvkf.js → tool-output-k814nvkf.js} +1 -1
  166. package/dist/chunks/{model-bhzsakrn.js → tool-output-k8kdgf5t.js} +42 -42
  167. package/dist/chunks/{model-78q1pp3f.js → tool-output-k9qv649c.js} +22 -22
  168. package/dist/chunks/{model-6r1yb0s4.js → tool-output-ka4dz7nq.js} +12 -12
  169. package/dist/chunks/{model-ct02k7de.js → tool-output-ke7xq34d.js} +5 -5
  170. package/dist/chunks/{model-15v1gk62.js → tool-output-kebac8xz.js} +34 -34
  171. package/dist/chunks/{model-9kg5w032.js → tool-output-kmzgegqq.js} +8 -8
  172. package/dist/chunks/{model-pz0r8h4k.js → tool-output-kp7p0dvh.js} +35 -35
  173. package/dist/chunks/{model-jfb254mg.js → tool-output-kxkx1fm5.js} +13 -13
  174. package/dist/chunks/{model-yqveydy6.js → tool-output-ky596kc3.js} +4 -4
  175. package/dist/chunks/{model-vfpfqbnz.js → tool-output-m0jsseqx.js} +32 -32
  176. package/dist/chunks/{model-m1714858.js → tool-output-m1714858.js} +1 -1
  177. package/dist/chunks/{model-ts1rzmt6.js → tool-output-m9qp2phv.js} +5 -5
  178. package/dist/chunks/{model-m9w0rfyh.js → tool-output-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{model-maspj1v3.js → tool-output-maspj1v3.js} +1 -1
  180. package/dist/chunks/{model-pn50smkw.js → tool-output-md00hke5.js} +25 -25
  181. package/dist/chunks/{model-0canpjbz.js → tool-output-md8c097b.js} +26 -26
  182. package/dist/chunks/{model-me5bcav6.js → tool-output-me5bcav6.js} +1 -1
  183. package/dist/chunks/{model-jgp3dhd9.js → tool-output-mfd4wsk8.js} +43 -43
  184. package/dist/chunks/{model-dqgvvwe0.js → tool-output-mmkbt6v3.js} +9 -9
  185. package/dist/chunks/{model-ddq31bgq.js → tool-output-mn7fc7ja.js} +15 -15
  186. package/dist/chunks/{model-q1nnka74.js → tool-output-mpe6qr53.js} +8 -8
  187. package/dist/chunks/{model-gprpk8mk.js → tool-output-myfas7b5.js} +4 -4
  188. package/dist/chunks/{model-n0p0277s.js → tool-output-n0p0277s.js} +1 -1
  189. package/dist/chunks/{model-mrmbr746.js → tool-output-n8m4zwz8.js} +4 -4
  190. package/dist/chunks/{model-x78b4590.js → tool-output-n8vtaxca.js} +22 -22
  191. package/dist/chunks/{model-nah043kf.js → tool-output-nah043kf.js} +1 -1
  192. package/dist/chunks/{model-c6sr2qh2.js → tool-output-nemq3kwn.js} +11 -11
  193. package/dist/chunks/{model-s64sqv58.js → tool-output-nh85g63h.js} +10 -10
  194. package/dist/chunks/{model-5jp10723.js → tool-output-nhh83qbn.js} +41 -41
  195. package/dist/chunks/{model-5cm23gk5.js → tool-output-nkkejs0x.js} +13 -13
  196. package/dist/chunks/{model-vdakd0pn.js → tool-output-nmjyhvat.js} +77 -77
  197. package/dist/chunks/{model-4hwp5n1a.js → tool-output-npbfck1k.js} +6 -6
  198. package/dist/chunks/{model-vmwcq5xv.js → tool-output-nybszfb1.js} +13 -13
  199. package/dist/chunks/{model-p015t6z3.js → tool-output-p015t6z3.js} +2 -2
  200. package/dist/chunks/{model-3pj39t0e.js → tool-output-p0wda9xt.js} +3 -3
  201. package/dist/chunks/{model-6nb4ea3p.js → tool-output-p1m96dps.js} +16 -16
  202. package/dist/chunks/{model-hnbfgrzz.js → tool-output-p3hsmbes.js} +8 -8
  203. package/dist/chunks/{model-a1bvjvf9.js → tool-output-pf90p5q7.js} +43 -43
  204. package/dist/chunks/{model-pknna89w.js → tool-output-pknna89w.js} +1 -1
  205. package/dist/chunks/{model-4qc2xvk6.js → tool-output-pqngf5gp.js} +36 -36
  206. package/dist/chunks/{model-gn6ba7xn.js → tool-output-py28whss.js} +10 -10
  207. package/dist/chunks/{model-a49bexj4.js → tool-output-pycah8he.js} +32 -32
  208. package/dist/chunks/{model-mvthmwjs.js → tool-output-q0x7bn0w.js} +5 -5
  209. package/dist/chunks/{model-eqh43b5v.js → tool-output-q46y00v4.js} +9 -9
  210. package/dist/chunks/{model-pngkbba6.js → tool-output-q4b3sjyf.js} +25 -25
  211. package/dist/chunks/{model-vssrn3v8.js → tool-output-q5zq6djh.js} +5 -5
  212. package/dist/chunks/tool-output-q8814pp6.js +26 -0
  213. package/dist/chunks/{model-vd89anp8.js → tool-output-q9mdne05.js} +11 -11
  214. package/dist/chunks/{model-xet4rz3q.js → tool-output-qf8mwm23.js} +6 -6
  215. package/dist/chunks/{model-0b8de6ew.js → tool-output-qfs9mmpn.js} +8 -8
  216. package/dist/chunks/{model-8jztxfpf.js → tool-output-qjgzc4b4.js} +4 -4
  217. package/dist/chunks/{model-r0yr0wbs.js → tool-output-r0yr0wbs.js} +1 -1
  218. package/dist/chunks/{model-na88mdda.js → tool-output-r3b59dab.js} +17 -17
  219. package/dist/chunks/{model-9g5n6tdw.js → tool-output-r4tf9cx3.js} +12 -12
  220. package/dist/chunks/{model-rb9dy4dg.js → tool-output-rb9dy4dg.js} +1 -1
  221. package/dist/chunks/{model-d2r51erv.js → tool-output-rcq2wj92.js} +9 -9
  222. package/dist/chunks/{model-zba5tm1j.js → tool-output-rrad2nt9.js} +4 -4
  223. package/dist/chunks/{model-rt5dr6hb.js → tool-output-rt5dr6hb.js} +1 -1
  224. package/dist/chunks/{model-zf6q9j4p.js → tool-output-rxqg2rh4.js} +6 -6
  225. package/dist/chunks/{model-z0s5rknz.js → tool-output-s4g98fk9.js} +33 -33
  226. package/dist/chunks/{model-wqscedq8.js → tool-output-s7kyse9r.js} +9 -9
  227. package/dist/chunks/{model-df6r7s43.js → tool-output-sc1vpcb8.js} +18 -18
  228. package/dist/chunks/{model-a6strf84.js → tool-output-sf3ha4fy.js} +26 -26
  229. package/dist/chunks/{model-prv1cyb1.js → tool-output-sp47q1yk.js} +18 -18
  230. package/dist/chunks/{model-sqjzf8x2.js → tool-output-sqjzf8x2.js} +1 -1
  231. package/dist/chunks/{model-c9t2ty9q.js → tool-output-ssfehs1z.js} +4 -4
  232. package/dist/chunks/{model-hwbsae6b.js → tool-output-ssqdbp8v.js} +32 -32
  233. package/dist/chunks/{model-21vv1a77.js → tool-output-t9be5fj7.js} +4 -4
  234. package/dist/chunks/{model-8sxdqgb0.js → tool-output-tasvem1v.js} +6 -6
  235. package/dist/chunks/{model-zw8we4s7.js → tool-output-tbspmpch.js} +13 -13
  236. package/dist/chunks/{model-tczq8hjw.js → tool-output-tczq8hjw.js} +1 -1
  237. package/dist/chunks/{model-3nnrz6f6.js → tool-output-tmc7xdjs.js} +4 -4
  238. package/dist/chunks/{model-vf0zxygw.js → tool-output-tmp6rxaj.js} +25 -25
  239. package/dist/chunks/{model-tw8zr1ps.js → tool-output-tw8zr1ps.js} +1 -1
  240. package/dist/chunks/{model-twv2r8f4.js → tool-output-twv2r8f4.js} +2 -2
  241. package/dist/chunks/{model-gxtyjb3d.js → tool-output-v2gtqsm1.js} +15 -15
  242. package/dist/chunks/{model-tvs942hr.js → tool-output-v42401vs.js} +21 -21
  243. package/dist/chunks/{model-nyzphh1c.js → tool-output-v9vr9943.js} +18 -18
  244. package/dist/chunks/{model-vd3b3yk9.js → tool-output-vd3b3yk9.js} +1 -1
  245. package/dist/chunks/{model-veqvce7d.js → tool-output-veqvce7d.js} +1 -1
  246. package/dist/chunks/tool-output-vfeyjw6g.js +523 -0
  247. package/dist/chunks/{model-m37sd98t.js → tool-output-vmfhgzt5.js} +4 -4
  248. package/dist/chunks/{model-cbvv1y68.js → tool-output-vx3jgdek.js} +3 -3
  249. package/dist/chunks/{model-wsjw5zph.js → tool-output-w35wk246.js} +19 -19
  250. package/dist/chunks/{model-w3wsvvr9.js → tool-output-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{model-c1hv1ece.js → tool-output-w5htd40q.js} +16 -16
  252. package/dist/chunks/{model-wakvkjy4.js → tool-output-wakvkjy4.js} +1 -1
  253. package/dist/chunks/{model-wd87259q.js → tool-output-wd87259q.js} +1 -1
  254. package/dist/chunks/{model-20d9rxq1.js → tool-output-wedq2s1n.js} +11 -11
  255. package/dist/chunks/{model-fa339sjc.js → tool-output-wf83r483.js} +28 -28
  256. package/dist/chunks/{model-8633aewc.js → tool-output-wgnf5zhk.js} +2 -2
  257. package/dist/chunks/{model-j2gfe9ae.js → tool-output-wjc56gzf.js} +32 -32
  258. package/dist/chunks/{model-qxerc9ee.js → tool-output-wm4529mk.js} +4 -4
  259. package/dist/chunks/{model-rb6ke7kq.js → tool-output-wp8cf92c.js} +21 -21
  260. package/dist/chunks/{model-g8vb2scg.js → tool-output-ws10xz6w.js} +14 -14
  261. package/dist/chunks/{model-tq4xd5v5.js → tool-output-wxmyhsez.js} +6 -6
  262. package/dist/chunks/{model-5bj5kag9.js → tool-output-wxsjgajd.js} +13 -13
  263. package/dist/chunks/{model-9zpxcqdf.js → tool-output-wyef362n.js} +22 -22
  264. package/dist/chunks/{model-r6h7fdbc.js → tool-output-x147gj8q.js} +23 -23
  265. package/dist/chunks/{model-7bjqyjrs.js → tool-output-x1edc6rz.js} +33 -33
  266. package/dist/chunks/{model-99h9c51m.js → tool-output-xcqg2a4v.js} +10 -10
  267. package/dist/chunks/{model-54bbrvq7.js → tool-output-xjbg8z6j.js} +11 -11
  268. package/dist/chunks/{model-3vq194ty.js → tool-output-xyjyzs8x.js} +18 -18
  269. package/dist/chunks/{model-vkkc8t8a.js → tool-output-xzg8yhtc.js} +9 -9
  270. package/dist/chunks/{model-zgmrepvs.js → tool-output-y00x4xpa.js} +4 -4
  271. package/dist/chunks/{model-fsq1pbsz.js → tool-output-y150bje3.js} +30 -30
  272. package/dist/chunks/{model-g8bt1dca.js → tool-output-y4dk34dd.js} +11 -11
  273. package/dist/chunks/{model-yb20nhc3.js → tool-output-yb20nhc3.js} +1 -1
  274. package/dist/chunks/{model-czhx5hsv.js → tool-output-yd1f0tk7.js} +11 -11
  275. package/dist/chunks/{model-4pr8e29t.js → tool-output-yfsz5fxv.js} +15 -15
  276. package/dist/chunks/{model-mq0mqgjr.js → tool-output-yj87g6ga.js} +11 -11
  277. package/dist/chunks/{model-1r91ydea.js → tool-output-yr9cnj92.js} +4 -4
  278. package/dist/chunks/{model-kw3tz860.js → tool-output-yv12yyqt.js} +12 -12
  279. package/dist/chunks/{model-fhzt8j0q.js → tool-output-ywhmtaft.js} +18 -18
  280. package/dist/chunks/{model-z0bkrqjs.js → tool-output-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{model-jfgmzhvh.js → tool-output-z2vdc9zv.js} +32 -32
  282. package/dist/chunks/tool-output-z355x5yr.js +18 -0
  283. package/dist/chunks/{model-67zb0nc8.js → tool-output-z38egdw8.js} +13 -13
  284. package/dist/chunks/{model-z38nccrw.js → tool-output-z38nccrw.js} +1 -1
  285. package/dist/chunks/{model-s2gphw67.js → tool-output-z65n0b11.js} +21 -21
  286. package/dist/chunks/{model-zkg84ctx.js → tool-output-zkg84ctx.js} +1 -1
  287. package/dist/chunks/{model-gc9zf11p.js → tool-output-zqn9s4re.js} +2 -2
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +87 -87
  293. package/dist/config/discovery.js +86 -86
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +118 -118
  297. package/dist/config/plugin/command.js +214 -214
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +116 -116
  305. package/dist/config/plugin/mcp.js +125 -125
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +118 -118
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +1 -1
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +117 -117
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +85 -85
  323. package/dist/database/database.js +68 -68
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +16 -16
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +78 -78
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +369 -369
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +3 -3
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +95 -95
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +3 -3
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +72 -72
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +225 -225
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +101 -101
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +11 -11
  428. package/dist/filesystem.js +104 -104
  429. package/dist/form.js +82 -82
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +109 -109
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +93 -93
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +360 -360
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +1 -1
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +91 -91
  462. package/dist/job.js +80 -80
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +155 -155
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +357 -357
  469. package/dist/location.js +91 -91
  470. package/dist/managed-policy.js +6 -6
  471. package/dist/mcp/client.js +107 -102
  472. package/dist/mcp/index.js +103 -103
  473. package/dist/mcp/instructions.js +138 -138
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/socket-client.js +71 -0
  476. package/dist/mcp/stdio.js +92 -92
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +93 -93
  479. package/dist/model-resolver.js +101 -101
  480. package/dist/model-retry.js +1 -1
  481. package/dist/model.js +100 -100
  482. package/dist/models-dev.js +109 -109
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +82 -82
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +113 -113
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +86 -86
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +77 -77
  492. package/dist/plugin/agent.js +78 -78
  493. package/dist/plugin/command.js +104 -104
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +218 -218
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +5 -5
  498. package/dist/plugin/internal.js +332 -332
  499. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  500. package/dist/plugin/models-dev.js +98 -98
  501. package/dist/plugin/module.js +117 -117
  502. package/dist/plugin/optimize.js +4 -4
  503. package/dist/plugin/plan.js +104 -104
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  506. package/dist/plugin/provider/azure.js +116 -116
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/chatgpt.js +116 -116
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +112 -112
  513. package/dist/plugin/provider/databricks.js +1 -1
  514. package/dist/plugin/provider/digitalocean.js +95 -95
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/github-copilot.js +97 -97
  518. package/dist/plugin/provider/gitlab.js +95 -95
  519. package/dist/plugin/provider/google-vertex.js +113 -113
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +80 -80
  522. package/dist/plugin/provider/lmstudio.js +125 -125
  523. package/dist/plugin/provider/local.js +122 -122
  524. package/dist/plugin/provider/modal.js +94 -94
  525. package/dist/plugin/provider/neon.js +1 -1
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +125 -125
  528. package/dist/plugin/provider/openai.js +118 -118
  529. package/dist/plugin/provider/opencode.js +103 -103
  530. package/dist/plugin/provider/openrouter.js +93 -93
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +81 -81
  533. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  534. package/dist/plugin/provider/sap-ai-core.js +93 -93
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  537. package/dist/plugin/provider/vercel.js +92 -92
  538. package/dist/plugin/provider/vllm.js +125 -125
  539. package/dist/plugin/provider/xai.js +93 -93
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +170 -170
  542. package/dist/plugin/sdk.js +78 -78
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +134 -134
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +351 -351
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +6 -6
  549. package/dist/plugin/vcs/git.js +88 -88
  550. package/dist/plugin/vcs/hg.js +88 -88
  551. package/dist/plugin/verbosity.js +95 -95
  552. package/dist/plugin/warming.js +114 -114
  553. package/dist/plugin/websearch/exa.js +7 -7
  554. package/dist/plugin/websearch/firecrawl.js +8 -8
  555. package/dist/plugin/websearch/index.js +9 -9
  556. package/dist/plugin/websearch/mcp.js +6 -6
  557. package/dist/plugin/websearch/parallel.js +6 -6
  558. package/dist/plugin/websearch/tavily.js +6 -6
  559. package/dist/plugin/websearch/tinyfish.js +8 -8
  560. package/dist/plugin.js +225 -225
  561. package/dist/project/schema.js +8 -8
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +90 -90
  564. package/dist/provider.js +99 -99
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +93 -93
  568. package/dist/reference/instructions.js +91 -91
  569. package/dist/reference.js +93 -93
  570. package/dist/repository-cache.js +83 -83
  571. package/dist/repository.js +1 -1
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +97 -97
  574. package/dist/rpc.js +88 -88
  575. package/dist/schema.js +1 -1
  576. package/dist/session/affinity.js +3 -3
  577. package/dist/session/command.js +76 -76
  578. package/dist/session/compaction.js +138 -138
  579. package/dist/session/context.js +164 -164
  580. package/dist/session/diff.js +90 -90
  581. package/dist/session/environment.js +5 -5
  582. package/dist/session/error.js +5 -5
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +220 -220
  585. package/dist/session/execution.js +130 -130
  586. package/dist/session/generate.js +166 -166
  587. package/dist/session/history.js +15 -15
  588. package/dist/session/inbox.js +93 -93
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +81 -81
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +99 -99
  593. package/dist/session/message-updater.js +2 -2
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +122 -122
  596. package/dist/session/model-transport.js +9 -9
  597. package/dist/session/move.js +132 -132
  598. package/dist/session/projector.js +91 -91
  599. package/dist/session/prompt.js +107 -107
  600. package/dist/session/recent-text.js +1 -1
  601. package/dist/session/revert.js +96 -96
  602. package/dist/session/run-coordinator.js +3 -3
  603. package/dist/session/runner/index.js +3 -3
  604. package/dist/session/runner/llm.js +231 -231
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +101 -101
  607. package/dist/session/runner/publish-llm-event.js +116 -116
  608. package/dist/session/runner/retry.js +5 -5
  609. package/dist/session/runner/step.js +128 -128
  610. package/dist/session/runner/to-llm-message.js +14 -14
  611. package/dist/session/schema.js +5 -5
  612. package/dist/session/session.js +165 -165
  613. package/dist/session/shell.js +130 -130
  614. package/dist/session/skill.js +107 -107
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +75 -75
  617. package/dist/session/store.js +85 -85
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +212 -212
  620. package/dist/session/system-prompt.js +3 -3
  621. package/dist/session/title.js +168 -168
  622. package/dist/session/to-session-error.js +114 -114
  623. package/dist/session/transfer.js +217 -217
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +216 -216
  626. package/dist/shell/parse.js +6 -6
  627. package/dist/shell/result.js +1 -1
  628. package/dist/shell/scan.js +1 -1
  629. package/dist/shell/select.js +9 -9
  630. package/dist/shell.js +132 -132
  631. package/dist/skill/discovery.js +6 -6
  632. package/dist/skill/instructions.js +105 -105
  633. package/dist/skill.js +112 -112
  634. package/dist/snapshot.js +93 -93
  635. package/dist/state.js +1 -1
  636. package/dist/tool/html-markdown.js +1 -1
  637. package/dist/tool/http-body.js +1 -1
  638. package/dist/tool/mcp.js +139 -139
  639. package/dist/tool/plugin/edit.js +122 -122
  640. package/dist/tool/plugin/file-diff.js +1 -1
  641. package/dist/tool/plugin/glob.js +126 -126
  642. package/dist/tool/plugin/grep.js +124 -124
  643. package/dist/tool/plugin/mcp-resource.js +126 -126
  644. package/dist/tool/plugin/opencode.js +111 -111
  645. package/dist/tool/plugin/patch.js +122 -122
  646. package/dist/tool/plugin/question.js +107 -107
  647. package/dist/tool/plugin/read.js +121 -121
  648. package/dist/tool/plugin/shell.js +217 -217
  649. package/dist/tool/plugin/skill.js +113 -113
  650. package/dist/tool/plugin/subagent.js +213 -213
  651. package/dist/tool/plugin/todo.js +136 -136
  652. package/dist/tool/plugin/webfetch.js +109 -109
  653. package/dist/tool/plugin/websearch.js +116 -116
  654. package/dist/tool/plugin/write.js +124 -124
  655. package/dist/tool/read-filesystem.js +102 -102
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +7 -7
  658. package/dist/tool.js +12 -12
  659. package/dist/types/mcp/client.d.ts +7 -2
  660. package/dist/types/mcp/index.d.ts +8 -1
  661. package/dist/types/mcp/socket-client.d.ts +28 -0
  662. package/dist/util/error-summary.js +1 -1
  663. package/dist/util/git-executable.js +2 -2
  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/command.js +5 -5
  671. package/dist/v1/config/mcp.js +4 -4
  672. package/dist/v1/config/migrate.js +94 -94
  673. package/dist/v1/config/permission.js +7 -7
  674. package/dist/v1/config/plugin.js +3 -3
  675. package/dist/v1/config/provider-options.js +1 -1
  676. package/dist/v1/config/provider.js +4 -4
  677. package/dist/variant.js +93 -93
  678. package/dist/vcs/patch.js +1 -1
  679. package/dist/vcs.js +91 -91
  680. package/dist/voice.js +88 -88
  681. package/dist/websearch.js +86 -86
  682. package/dist/wellknown/plugin.js +78 -78
  683. package/dist/wellknown.js +81 -81
  684. package/dist/workspace/driver.js +5 -5
  685. package/dist/workspace/sql.js +1 -1
  686. package/dist/workspace.js +82 -82
  687. package/dist/worktree/directory.js +2 -2
  688. package/dist/worktree/git.js +8 -8
  689. package/dist/worktree/sql.js +5 -5
  690. package/dist/worktree/strategies.js +91 -91
  691. package/dist/worktree.js +96 -96
  692. package/package.json +8 -8
  693. package/dist/chunks/model-6f6jf5mb.js +0 -26
  694. package/dist/chunks/model-ggyjb5de.js +0 -523
  695. package/dist/chunks/model-grzehpz7.js +0 -18
  696. package/dist/chunks/model-wvqgfgh4.js +0 -257
  697. /package/dist/chunks/{model-0qkdqm5v.js → tool-output-0qkdqm5v.js} +0 -0
  698. /package/dist/chunks/{model-0zkw76rk.js → tool-output-0zkw76rk.js} +0 -0
  699. /package/dist/chunks/{model-17cy0kzp.js → tool-output-17cy0kzp.js} +0 -0
  700. /package/dist/chunks/{model-1cnp2v09.js → tool-output-1cnp2v09.js} +0 -0
  701. /package/dist/chunks/{model-24dcb14g.js → tool-output-24dcb14g.js} +0 -0
  702. /package/dist/chunks/{model-2710q6r3.js → tool-output-2710q6r3.js} +0 -0
  703. /package/dist/chunks/{model-2bv980vf.js → tool-output-2bv980vf.js} +0 -0
  704. /package/dist/chunks/{model-2c3vjs8z.js → tool-output-2c3vjs8z.js} +0 -0
  705. /package/dist/chunks/{model-359p4xyc.js → tool-output-359p4xyc.js} +0 -0
  706. /package/dist/chunks/{model-3asan66x.js → tool-output-3asan66x.js} +0 -0
  707. /package/dist/chunks/{model-3v8g72cx.js → tool-output-3v8g72cx.js} +0 -0
  708. /package/dist/chunks/{model-3wcehsnq.js → tool-output-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{model-43n2bw4t.js → tool-output-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{model-4knz6hnm.js → tool-output-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{model-4vcrnpx2.js → tool-output-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{model-4y7fprxs.js → tool-output-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{model-53557ph1.js → tool-output-53557ph1.js} +0 -0
  714. /package/dist/chunks/{model-550bvhaj.js → tool-output-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{model-5fjb7ams.js → tool-output-5fjb7ams.js} +0 -0
  716. /package/dist/chunks/{model-6prwharc.js → tool-output-6prwharc.js} +0 -0
  717. /package/dist/chunks/{model-6q2bdcd1.js → tool-output-6q2bdcd1.js} +0 -0
  718. /package/dist/chunks/{model-7akdwqpd.js → tool-output-7akdwqpd.js} +0 -0
  719. /package/dist/chunks/{model-7m9af43g.js → tool-output-7m9af43g.js} +0 -0
  720. /package/dist/chunks/{model-822emrt2.js → tool-output-822emrt2.js} +0 -0
  721. /package/dist/chunks/{model-84wd9syh.js → tool-output-84wd9syh.js} +0 -0
  722. /package/dist/chunks/{model-88xbtdfr.js → tool-output-88xbtdfr.js} +0 -0
  723. /package/dist/chunks/{model-8n3pysct.js → tool-output-8n3pysct.js} +0 -0
  724. /package/dist/chunks/{model-8wj87zfr.js → tool-output-8wj87zfr.js} +0 -0
  725. /package/dist/chunks/{model-9a4afbnw.js → tool-output-9a4afbnw.js} +0 -0
  726. /package/dist/chunks/{model-9rqn6x4v.js → tool-output-9rqn6x4v.js} +0 -0
  727. /package/dist/chunks/{model-a058387c.js → tool-output-a058387c.js} +0 -0
  728. /package/dist/chunks/{model-a6k6eb26.js → tool-output-a6k6eb26.js} +0 -0
  729. /package/dist/chunks/{model-af5trqkr.js → tool-output-af5trqkr.js} +0 -0
  730. /package/dist/chunks/{model-afrmfg78.js → tool-output-afrmfg78.js} +0 -0
  731. /package/dist/chunks/{model-aqzs7mqg.js → tool-output-aqzs7mqg.js} +0 -0
  732. /package/dist/chunks/{model-atq7p7m5.js → tool-output-atq7p7m5.js} +0 -0
  733. /package/dist/chunks/{model-bkyjaxrp.js → tool-output-bkyjaxrp.js} +0 -0
  734. /package/dist/chunks/{model-bmr6ed5q.js → tool-output-bmr6ed5q.js} +0 -0
  735. /package/dist/chunks/{model-cf4snx6d.js → tool-output-cf4snx6d.js} +0 -0
  736. /package/dist/chunks/{model-cvy3z8tj.js → tool-output-cvy3z8tj.js} +0 -0
  737. /package/dist/chunks/{model-d9fn303g.js → tool-output-d9fn303g.js} +0 -0
  738. /package/dist/chunks/{model-d9jj8t3e.js → tool-output-d9jj8t3e.js} +0 -0
  739. /package/dist/chunks/{model-dajrwvna.js → tool-output-dajrwvna.js} +0 -0
  740. /package/dist/chunks/{model-dap0rakb.js → tool-output-dap0rakb.js} +0 -0
  741. /package/dist/chunks/{model-df08tz66.js → tool-output-df08tz66.js} +0 -0
  742. /package/dist/chunks/{model-dy18nga0.js → tool-output-dy18nga0.js} +0 -0
  743. /package/dist/chunks/{model-e5kj55wp.js → tool-output-e5kj55wp.js} +0 -0
  744. /package/dist/chunks/{model-e73j6tqm.js → tool-output-e73j6tqm.js} +0 -0
  745. /package/dist/chunks/{model-ec1grn59.js → tool-output-ec1grn59.js} +0 -0
  746. /package/dist/chunks/{model-eh3zwz77.js → tool-output-eh3zwz77.js} +0 -0
  747. /package/dist/chunks/{model-emrn6kk6.js → tool-output-emrn6kk6.js} +0 -0
  748. /package/dist/chunks/{model-f0mxakyp.js → tool-output-f0mxakyp.js} +0 -0
  749. /package/dist/chunks/{model-f6n9ztr4.js → tool-output-f6n9ztr4.js} +0 -0
  750. /package/dist/chunks/{model-faypxj3z.js → tool-output-faypxj3z.js} +0 -0
  751. /package/dist/chunks/{model-fd410y7t.js → tool-output-fd410y7t.js} +0 -0
  752. /package/dist/chunks/{model-g4wezp1m.js → tool-output-g4wezp1m.js} +0 -0
  753. /package/dist/chunks/{model-g86h250q.js → tool-output-g86h250q.js} +0 -0
  754. /package/dist/chunks/{model-gebd4c9n.js → tool-output-gebd4c9n.js} +0 -0
  755. /package/dist/chunks/{model-gftt206x.js → tool-output-gftt206x.js} +0 -0
  756. /package/dist/chunks/{model-hcxmzztb.js → tool-output-hcxmzztb.js} +0 -0
  757. /package/dist/chunks/{model-hk9envan.js → tool-output-hk9envan.js} +0 -0
  758. /package/dist/chunks/{model-j2ntwpah.js → tool-output-j2ntwpah.js} +0 -0
  759. /package/dist/chunks/{model-j5zkgpj8.js → tool-output-j5zkgpj8.js} +0 -0
  760. /package/dist/chunks/{model-jjkms2e6.js → tool-output-jjkms2e6.js} +0 -0
  761. /package/dist/chunks/{model-jr7sbwjy.js → tool-output-jr7sbwjy.js} +0 -0
  762. /package/dist/chunks/{model-jwfs4k6c.js → tool-output-jwfs4k6c.js} +0 -0
  763. /package/dist/chunks/{model-jze0r7bz.js → tool-output-jze0r7bz.js} +0 -0
  764. /package/dist/chunks/{model-jzg6c2d5.js → tool-output-jzg6c2d5.js} +0 -0
  765. /package/dist/chunks/{model-m18g726c.js → tool-output-m18g726c.js} +0 -0
  766. /package/dist/chunks/{model-mp448xyj.js → tool-output-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{model-msx8hqn2.js → tool-output-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{model-n05xt0ee.js → tool-output-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{model-n3j8tn72.js → tool-output-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{model-njntx4h6.js → tool-output-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{model-pkyv6v7h.js → tool-output-pkyv6v7h.js} +0 -0
  772. /package/dist/chunks/{model-q3sfg36h.js → tool-output-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{model-q74kybfr.js → tool-output-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{model-qaymkmh1.js → tool-output-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{model-qb87gjwd.js → tool-output-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{model-qfa1cgps.js → tool-output-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{model-qg3g05ea.js → tool-output-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{model-qrg20bc0.js → tool-output-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{model-rcb2kzg1.js → tool-output-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{model-sdp7kfr6.js → tool-output-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{model-ssg3fenm.js → tool-output-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{model-ve7vex1e.js → tool-output-ve7vex1e.js} +0 -0
  783. /package/dist/chunks/{model-w803qqfp.js → tool-output-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{model-wc3fc9cn.js → tool-output-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{model-wer8tq1h.js → tool-output-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{model-wjj7prxr.js → tool-output-wjj7prxr.js} +0 -0
  787. /package/dist/chunks/{model-wtztk69x.js → tool-output-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{model-x0ckcb58.js → tool-output-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{model-x61499pn.js → tool-output-x61499pn.js} +0 -0
  790. /package/dist/chunks/{model-y44na4kk.js → tool-output-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{model-y8f7s663.js → tool-output-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{model-ygaqb7jw.js → tool-output-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{model-ym463w8f.js → tool-output-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{model-z5v4ffb3.js → tool-output-z5v4ffb3.js} +0 -0
  795. /package/dist/chunks/{model-z9919s4g.js → tool-output-z9919s4g.js} +0 -0
@@ -1,84 +1,84 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./model-qq9tt1td.js";
4
+ } from "./tool-output-bjvhwptd.js";
5
5
  import {
6
6
  Service85,
7
7
  node89
8
- } from "./model-r07gp9b9.js";
8
+ } from "./tool-output-5epaxwsw.js";
9
9
  import {
10
10
  create3
11
- } from "./model-vd3b3yk9.js";
11
+ } from "./tool-output-vd3b3yk9.js";
12
12
  import {
13
- ID15,
14
- Service79,
15
- node82
16
- } from "./model-78q1pp3f.js";
13
+ ID9,
14
+ Service59,
15
+ node62
16
+ } from "./tool-output-k9qv649c.js";
17
17
  import {
18
18
  llmClient2
19
- } from "./model-p015t6z3.js";
19
+ } from "./tool-output-p015t6z3.js";
20
20
  import {
21
21
  Service75,
22
- node78
23
- } from "./model-0n48jksk.js";
22
+ node79
23
+ } from "./tool-output-3aracdxg.js";
24
24
  import {
25
25
  estimate2
26
- } from "./model-8wtp7s3z.js";
26
+ } from "./tool-output-8wtp7s3z.js";
27
27
  import {
28
28
  SessionEvent2
29
- } from "./model-ec1grn59.js";
29
+ } from "./tool-output-ec1grn59.js";
30
30
  import {
31
31
  kept2,
32
32
  messageToText2,
33
33
  truncateToolOutput2,
34
34
  serializeToolContent2
35
- } from "./model-me5bcav6.js";
35
+ } from "./tool-output-me5bcav6.js";
36
36
  import {
37
37
  isNativeCompaction2,
38
- load5
39
- } from "./model-99h9c51m.js";
38
+ load4
39
+ } from "./tool-output-xcqg2a4v.js";
40
40
  import {
41
41
  toLLMMessages2
42
- } from "./model-gc9zf11p.js";
42
+ } from "./tool-output-zqn9s4re.js";
43
43
  import {
44
44
  outputLimit2,
45
45
  baseTranscript2,
46
46
  unsupportedParts2,
47
47
  boundImages2,
48
- Service27,
49
- node31
50
- } from "./model-j2gfe9ae.js";
48
+ Service38,
49
+ node42
50
+ } from "./tool-output-wjc56gzf.js";
51
51
  import {
52
- Service46,
53
- node48
54
- } from "./model-t656wjzj.js";
52
+ Service54,
53
+ node57
54
+ } from "./tool-output-33fnmx25.js";
55
55
  import {
56
56
  isRetryable2,
57
57
  policy2
58
- } from "./model-8sxdqgb0.js";
58
+ } from "./tool-output-tasvem1v.js";
59
59
  import {
60
60
  toSessionError2,
61
61
  contentFilterError2
62
- } from "./model-d1rt1382.js";
62
+ } from "./tool-output-732r365v.js";
63
63
  import {
64
64
  calculateCost2,
65
65
  record2,
66
66
  add2
67
- } from "./model-tw8zr1ps.js";
67
+ } from "./tool-output-tw8zr1ps.js";
68
68
  import {
69
69
  __export
70
- } from "./model-9rqn6x4v.js";
70
+ } from "./tool-output-9rqn6x4v.js";
71
71
 
72
72
  // src/session/compaction.ts
73
73
  var exports_compaction2 = {};
74
74
  __export(exports_compaction2, {
75
- Service: () => Service8,
75
+ Service: () => Service11,
76
76
  SessionCompaction: () => exports_compaction2,
77
77
  buildPrompt: () => buildPrompt2,
78
78
  estimateContext: () => estimateContext2,
79
79
  estimatePrompt: () => estimatePrompt2,
80
- layer: () => layer6,
81
- node: () => node10,
80
+ layer: () => layer8,
81
+ node: () => node13,
82
82
  recentUserMessages: () => recentUserMessages2
83
83
  });
84
84
  import {
@@ -94,7 +94,7 @@ import {
94
94
  } from "@opencode/ai";
95
95
  import { makeLocationNode } from "@opencode/util/effect/app-node";
96
96
  import { Context, Effect, Exit, Fiber, Layer, Result, Scope, Stream } from "effect";
97
- class Service8 extends Context.Service()("@opencode/SessionCompaction") {
97
+ class Service11 extends Context.Service()("@opencode/SessionCompaction") {
98
98
  }
99
99
  var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
100
100
  var SHRINK_STEPS = [0.7, 0.5, 0.35];
@@ -179,14 +179,14 @@ var buildPrompt2 = (update, legacy = false) => {
179
179
  };
180
180
  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.";
181
181
  var LEGACY_HEADING = "## Additional Context";
182
- var layer6 = Layer.effect(Service8, Effect.gen(function* () {
183
- const agents = yield* Service79;
182
+ var layer8 = Layer.effect(Service11, Effect.gen(function* () {
183
+ const agents = yield* Service59;
184
184
  const bus = yield* Service85;
185
185
  const llm = yield* LLMClient.Service;
186
186
  const catalog = yield* Service75;
187
- const models = yield* Service46;
187
+ const models = yield* Service54;
188
188
  const db = (yield* Service86).db;
189
- const requests = yield* Service27;
189
+ const requests = yield* Service38;
190
190
  const scope = yield* Scope.Scope;
191
191
  const precomputed = new Map;
192
192
  const state = create3({
@@ -199,7 +199,7 @@ var layer6 = Layer.effect(Service8, Effect.gen(function* () {
199
199
  })
200
200
  });
201
201
  const selectModel = Effect.fnUntraced(function* (context, buffer, native) {
202
- const agent = native ? undefined : yield* agents.get(ID15.make("compaction"));
202
+ const agent = native ? undefined : yield* agents.get(ID9.make("compaction"));
203
203
  const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
204
204
  return;
205
205
  })))) ?? context.model;
@@ -354,7 +354,7 @@ var layer6 = Layer.effect(Service8, Effect.gen(function* () {
354
354
  const send = (request) => {
355
355
  if (LLMClient.canCompact(request, { mechanism: "trigger" })) {
356
356
  return Effect.gen(function* () {
357
- const history = yield* load5(db, context.session.id, "local").pipe(Effect.orDie);
357
+ const history = yield* load4(db, context.session.id, "local").pipe(Effect.orDie);
358
358
  const retained = recentUserMessages2(history, context.model, keep);
359
359
  const response = yield* llm.compact(request, { ...prepared.options, mechanism: "trigger" });
360
360
  return yield* toResult([...retained, Message.assistant(response.checkpoint)], response.usage);
@@ -556,17 +556,17 @@ ${text}`;
556
556
  }, { metadata: outcome.metadata });
557
557
  return { status: "completed" };
558
558
  });
559
- return Service8.of({
559
+ return Service11.of({
560
560
  transform: state.transform,
561
561
  reload: state.reload,
562
562
  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)))),
563
563
  precompute
564
564
  });
565
565
  }));
566
- var node10 = makeLocationNode({
567
- service: Service8,
568
- layer: layer6,
569
- deps: [node82, node89, node90, llmClient2, node78, node31, node48]
566
+ var node13 = makeLocationNode({
567
+ service: Service11,
568
+ layer: layer8,
569
+ deps: [node62, node89, node90, llmClient2, node79, node42, node57]
570
570
  });
571
571
  var heldIndex = (held, context) => {
572
572
  if (held.firstID !== context.messages[0]?.id || held.initial !== context.initial)
@@ -729,4 +729,4 @@ var estimateMedia = (mime) => {
729
729
  return 0;
730
730
  };
731
731
 
732
- export { Service8, buildPrompt2, layer6, node10, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
732
+ export { Service11, buildPrompt2, layer8, node13, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
@@ -1,40 +1,40 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./model-r07gp9b9.js";
4
+ } from "./tool-output-5epaxwsw.js";
5
5
  import {
6
6
  create3
7
- } from "./model-vd3b3yk9.js";
7
+ } from "./tool-output-vd3b3yk9.js";
8
8
  import {
9
9
  __export
10
- } from "./model-9rqn6x4v.js";
10
+ } from "./tool-output-9rqn6x4v.js";
11
11
 
12
12
  // src/agent.ts
13
- var exports_agent4 = {};
14
- __export(exports_agent4, {
15
- Agent: () => exports_agent4,
13
+ var exports_agent3 = {};
14
+ __export(exports_agent3, {
15
+ Agent: () => exports_agent3,
16
16
  Color: () => Color2,
17
- Event: () => Event18,
18
- ID: () => ID15,
19
- Info: () => Info25,
17
+ Event: () => Event12,
18
+ ID: () => ID9,
19
+ Info: () => Info12,
20
20
  Name: () => Name3,
21
- Service: () => Service79,
21
+ Service: () => Service59,
22
22
  defaultID: () => defaultID2,
23
- node: () => node82
23
+ node: () => node62
24
24
  });
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Array, Context, Effect, Layer } from "effect";
27
27
  import { Agent } from "@opencode/schema/agent";
28
- import { Event as Event18 } from "@opencode/schema/agent";
29
- var ID15 = Agent.ID;
28
+ import { Event as Event12 } from "@opencode/schema/agent";
29
+ var ID9 = Agent.ID;
30
30
  var Name3 = Agent.Name;
31
- var defaultID2 = ID15.make("build");
31
+ var defaultID2 = ID9.make("build");
32
32
  var Color2 = Agent.Color;
33
- var Info25 = Agent.Info;
33
+ var Info12 = Agent.Info;
34
34
 
35
- class Service79 extends Context.Service()("@opencode/Agent") {
35
+ class Service59 extends Context.Service()("@opencode/Agent") {
36
36
  }
37
- var layer = Layer.effect(Service79, Effect.gen(function* () {
37
+ var layer = Layer.effect(Service59, Effect.gen(function* () {
38
38
  const bus = yield* Service85;
39
39
  const state = create3({
40
40
  name: "agent",
@@ -46,7 +46,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
46
46
  editor.default = id;
47
47
  },
48
48
  update: (id, fn) => {
49
- const current = editor.agents.get(id) ?? Info25.default(id);
49
+ const current = editor.agents.get(id) ?? Info12.default(id);
50
50
  if (!editor.agents.has(id))
51
51
  editor.agents.set(id, current);
52
52
  fn(current);
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
73
73
  return fallback;
74
74
  }
75
75
  };
76
- return Service79.of({
76
+ return Service59.of({
77
77
  transform: state.transform,
78
78
  reload: state.reload,
79
79
  get: Effect.fn("Agent.get")(function* (id) {
@@ -81,7 +81,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
81
81
  }),
82
82
  resolve: Effect.fnUntraced(function* (id) {
83
83
  if (id !== undefined)
84
- return state.get().agents.get(ID15.make(id));
84
+ return state.get().agents.get(ID9.make(id));
85
85
  return selectedDefault();
86
86
  }),
87
87
  select: Effect.fn("Agent.select")(function* (id) {
@@ -99,6 +99,6 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
99
99
  })
100
100
  });
101
101
  }));
102
- var node82 = makeLocationNode({ service: Service79, layer, deps: [node89] });
102
+ var node62 = makeLocationNode({ service: Service59, layer, deps: [node89] });
103
103
 
104
- export { ID15, Name3, defaultID2, Color2, Info25, Service79, node82, exports_agent4, Event18 };
104
+ export { ID9, Name3, defaultID2, Color2, Info12, Service59, node62, exports_agent3, Event12 };
@@ -1,36 +1,36 @@
1
1
  import {
2
- Service49
3
- } from "./model-4k6phjpp.js";
2
+ Service72
3
+ } from "./tool-output-hcs2f452.js";
4
4
  import {
5
- Service48
6
- } from "./model-j9qw6n70.js";
5
+ Service71
6
+ } from "./tool-output-45fm8dkf.js";
7
7
  import {
8
8
  parse2
9
- } from "./model-xet4rz3q.js";
9
+ } from "./tool-output-qf8mwm23.js";
10
10
  import {
11
11
  ignore2,
12
12
  scan2
13
- } from "./model-nah043kf.js";
13
+ } from "./tool-output-nah043kf.js";
14
14
  import {
15
15
  __export
16
- } from "./model-9rqn6x4v.js";
16
+ } from "./tool-output-9rqn6x4v.js";
17
17
 
18
18
  // src/config/plugin/compatibility.ts
19
19
  var exports_compatibility = {};
20
20
  __export(exports_compatibility, {
21
21
  ConfigCompatibilityPlugin: () => exports_compatibility,
22
- Plugin: () => Plugin13
22
+ Plugin: () => Plugin37
23
23
  });
24
24
  import { define } from "@opencode/plugin/effect/plugin";
25
25
  import { FSUtil } from "@opencode/util/fs-util";
26
26
  import path from "path";
27
27
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
28
- var Plugin13 = define({
28
+ var Plugin37 = define({
29
29
  id: "opencode.config.compatibility",
30
30
  effect: Effect.fn(function* (ctx) {
31
- const config = yield* Service48;
31
+ const config = yield* Service71;
32
32
  const fs = yield* FSUtil.Service;
33
- const watcher = yield* Service49;
33
+ const watcher = yield* Service72;
34
34
  const watches = yield* FiberMap.make();
35
35
  const changes = yield* PubSub.sliding(1);
36
36
  const lock = Semaphore.makeUnsafe(1);
@@ -76,4 +76,4 @@ var Plugin13 = define({
76
76
  })
77
77
  });
78
78
 
79
- export { Plugin13, exports_compatibility };
79
+ export { Plugin37, exports_compatibility };
@@ -1,7 +1,7 @@
1
1
  import {
2
- ID13,
3
- Service77
4
- } from "./model-0q0he6s7.js";
2
+ ID16,
3
+ Service82
4
+ } from "./tool-output-gdvg1v0w.js";
5
5
 
6
6
  // src/plugin/provider/llmgateway.ts
7
7
  import { Effect } from "effect";
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
9
9
  var LLMGatewayPlugin2 = define({
10
10
  id: "opencode.provider.llmgateway",
11
11
  effect: Effect.fn(function* (ctx) {
12
- const integrations = yield* Service77;
12
+ const integrations = yield* Service82;
13
13
  const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
14
14
  yield* ctx.provider.transform((evt) => {
15
15
  for (const item of evt.list()) {
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
19
19
  continue;
20
20
  if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
21
21
  continue;
22
- if (!configured.has(ID13.make(item.provider.id)))
22
+ if (!configured.has(ID16.make(item.provider.id)))
23
23
  continue;
24
24
  evt.update(item.provider.id, (provider) => {
25
25
  provider.headers = {
@@ -1,59 +1,59 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./model-r07gp9b9.js";
4
+ } from "./tool-output-5epaxwsw.js";
5
5
  import {
6
- Service84,
7
- node88
8
- } from "./model-340hmagq.js";
6
+ Service83,
7
+ node87
8
+ } from "./tool-output-dmc9yb6t.js";
9
9
  import {
10
- Service82,
11
- node86
12
- } from "./model-a1bvjvf9.js";
10
+ Service79,
11
+ node83
12
+ } from "./tool-output-pf90p5q7.js";
13
13
  import {
14
- Ref4,
15
- Service81,
16
- node85
17
- } from "./model-pa0vwm8c.js";
14
+ Ref3,
15
+ Service78,
16
+ node82
17
+ } from "./tool-output-dr6kpnea.js";
18
18
  import {
19
19
  canonical3
20
- } from "./model-k1whs75x.js";
20
+ } from "./tool-output-7adgnzsg.js";
21
21
  import {
22
22
  SessionEvent2
23
- } from "./model-ec1grn59.js";
23
+ } from "./tool-output-ec1grn59.js";
24
24
  import {
25
- Service57,
25
+ Service56,
26
26
  node59
27
- } from "./model-d6gm4j52.js";
27
+ } from "./tool-output-15engxec.js";
28
28
  import {
29
- Service80,
30
- node84
31
- } from "./model-df6r7s43.js";
29
+ Service23,
30
+ node26
31
+ } from "./tool-output-sc1vpcb8.js";
32
32
  import {
33
33
  __export
34
- } from "./model-9rqn6x4v.js";
34
+ } from "./tool-output-9rqn6x4v.js";
35
35
 
36
36
  // src/location-lifecycle.ts
37
37
  var exports_location_lifecycle = {};
38
38
  __export(exports_location_lifecycle, {
39
39
  LocationLifecycle: () => exports_location_lifecycle,
40
- Service: () => Service18,
41
- node: () => node20
40
+ Service: () => Service16,
41
+ node: () => node18
42
42
  });
43
43
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
44
44
  import { makeLocationNode } from "@opencode/util/effect/app-node";
45
45
  import { LocationEvent } from "@opencode/schema/location-event";
46
46
  var isSessionEvent = Schema.is(SessionEvent2.Durable);
47
47
 
48
- class Service18 extends Context.Service()("@opencode/LocationLifecycle") {
48
+ class Service16 extends Context.Service()("@opencode/LocationLifecycle") {
49
49
  }
50
- var layer = Layer.effect(Service18, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service16, Effect.gen(function* () {
51
51
  const bus = yield* Service85;
52
- const location = yield* Service81;
53
- const permission = yield* Service57;
54
- const forms = yield* Service84;
55
- const rpc = yield* Service80;
56
- const project = yield* Service82;
52
+ const location = yield* Service78;
53
+ const permission = yield* Service56;
54
+ const forms = yield* Service83;
55
+ const rpc = yield* Service23;
56
+ const project = yield* Service79;
57
57
  const scope = yield* Effect.scope;
58
58
  yield* project.activate(location.project.id);
59
59
  const unsubscribe = yield* bus.listen((event) => {
@@ -76,19 +76,19 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
76
76
  yield* forms.close;
77
77
  yield* rpc.close;
78
78
  yield* bus.publish(LocationEvent.Shutdown, {}, {
79
- location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
79
+ location: Ref3.make({ directory: location.directory, workspaceID: location.workspaceID })
80
80
  });
81
81
  }).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
82
82
  }).pipe(Effect.uninterruptible);
83
- return Service18.of({
83
+ return Service16.of({
84
84
  isClosed: () => closed,
85
85
  shutdown
86
86
  });
87
87
  }));
88
- var node20 = makeLocationNode({
89
- service: Service18,
88
+ var node18 = makeLocationNode({
89
+ service: Service16,
90
90
  layer,
91
- deps: [node89, node85, node59, node86, node88, node84]
91
+ deps: [node89, node82, node59, node83, node87, node26]
92
92
  });
93
93
 
94
- export { Service18, node20, exports_location_lifecycle };
94
+ export { Service16, node18, exports_location_lifecycle };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./model-9rqn6x4v.js";
3
+ } from "./tool-output-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: () => Service11,
9
+ Service: () => Service2,
10
10
  bound: () => bound2,
11
- node: () => node13
11
+ node: () => node3
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service11 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service2 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node13 = makeLocationNode({
19
- service: Service11,
18
+ var node3 = makeLocationNode({
19
+ service: Service2,
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(Service11, Service11.of({ all: () => stamped }));
29
+ return Layer.succeed(Service2, Service2.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service11, node13, bound2, exports_instance2 };
32
+ export { Service2, node3, bound2, exports_instance2 };