@opencode/core 0.0.0-dev-21818 → 0.0.0-dev-21820

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 (812) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +94 -94
  4. package/dist/aisdk.js +98 -98
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{command-034tev2y.js → usage-limits-034tev2y.js} +2 -2
  8. package/dist/chunks/{command-qk5jxgq1.js → usage-limits-052mqgew.js} +9 -9
  9. package/dist/chunks/{command-pn39a5na.js → usage-limits-06r9fgh1.js} +5 -5
  10. package/dist/chunks/{command-6ad2fdvv.js → usage-limits-07jy34sd.js} +13 -13
  11. package/dist/chunks/{command-577yexmd.js → usage-limits-09nb6j7n.js} +18 -18
  12. package/dist/chunks/{command-v6e0t90w.js → usage-limits-0hkdpjs7.js} +14 -14
  13. package/dist/chunks/{command-h41k652m.js → usage-limits-0pa66m09.js} +4 -4
  14. package/dist/chunks/{command-qdm153cs.js → usage-limits-0sbjk12p.js} +20 -20
  15. package/dist/chunks/{command-xpsakxdv.js → usage-limits-0yhksvcd.js} +27 -27
  16. package/dist/chunks/{command-9mrkfh1z.js → usage-limits-0z6c2se0.js} +46 -46
  17. package/dist/chunks/{command-tg1vr1qt.js → usage-limits-160yv0cs.js} +8 -8
  18. package/dist/chunks/{command-1ep2p91f.js → usage-limits-1ep2p91f.js} +2 -2
  19. package/dist/chunks/{command-xhq4j13x.js → usage-limits-1nr9fzax.js} +9 -9
  20. package/dist/chunks/{command-9b79tx17.js → usage-limits-1pfjjcy6.js} +37 -37
  21. package/dist/chunks/{command-kkx1be94.js → usage-limits-1qtqz3f2.js} +88 -88
  22. package/dist/chunks/{command-bqkh1202.js → usage-limits-1teq0rja.js} +3 -3
  23. package/dist/chunks/{command-1x2knyw4.js → usage-limits-1x2knyw4.js} +1 -1
  24. package/dist/chunks/{command-1yq9hg58.js → usage-limits-1yq9hg58.js} +1 -1
  25. package/dist/chunks/{command-rxrz6b15.js → usage-limits-27bs79w9.js} +2 -2
  26. package/dist/chunks/{command-a6f4tgap.js → usage-limits-27s7w8ge.js} +37 -37
  27. package/dist/chunks/{command-d2r51erv.js → usage-limits-2fghwe76.js} +11 -11
  28. package/dist/chunks/{command-jn0nm8ve.js → usage-limits-2p2332jf.js} +3 -3
  29. package/dist/chunks/{command-3bv62f95.js → usage-limits-2rwv1cer.js} +54 -54
  30. package/dist/chunks/{command-2z1j29yd.js → usage-limits-2z1j29yd.js} +1 -1
  31. package/dist/chunks/{command-ra86m6px.js → usage-limits-2z573b49.js} +12 -12
  32. package/dist/chunks/{command-n61941kj.js → usage-limits-2zqc5m45.js} +35 -35
  33. package/dist/chunks/{command-23h7j0rk.js → usage-limits-37qjwjg3.js} +31 -31
  34. package/dist/chunks/usage-limits-37x35jkp.js +261 -0
  35. package/dist/chunks/{command-5s5ptkmy.js → usage-limits-3agpfbf6.js} +17 -17
  36. package/dist/chunks/{command-x8rpw2zs.js → usage-limits-3fgjz1qb.js} +16 -16
  37. package/dist/chunks/{command-3hepkmqq.js → usage-limits-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{command-1ftf7dq4.js → usage-limits-3mw19qy8.js} +31 -31
  39. package/dist/chunks/{command-3nnrz6f6.js → usage-limits-3nnrz6f6.js} +1 -1
  40. package/dist/chunks/{command-e5xbdws1.js → usage-limits-3ntsf9a0.js} +26 -26
  41. package/dist/chunks/{command-ejj7q3zx.js → usage-limits-3rszrfa9.js} +6 -6
  42. package/dist/chunks/{command-kw6cmkwk.js → usage-limits-3sph5gmk.js} +24 -24
  43. package/dist/chunks/{command-d22d9jvp.js → usage-limits-43tvqsb6.js} +33 -33
  44. package/dist/chunks/{command-dnspaa82.js → usage-limits-44asjrm9.js} +6 -6
  45. package/dist/chunks/{command-rgrvdfrb.js → usage-limits-45j1dh4w.js} +14 -14
  46. package/dist/chunks/{command-bw8hbntf.js → usage-limits-4ayw2j9m.js} +16 -16
  47. package/dist/chunks/{command-ekcysewp.js → usage-limits-4h4hk51q.js} +4 -4
  48. package/dist/chunks/{command-6rzaq17p.js → usage-limits-4jvqj91g.js} +12 -12
  49. package/dist/chunks/{command-dk5xnaxx.js → usage-limits-4q1b57yv.js} +4 -4
  50. package/dist/chunks/{command-vbjryyts.js → usage-limits-4snmzknn.js} +24 -24
  51. package/dist/chunks/{command-y4n6pw34.js → usage-limits-4tqs0jzk.js} +4 -4
  52. package/dist/chunks/{command-4v008n1t.js → usage-limits-4v008n1t.js} +1 -1
  53. package/dist/chunks/{command-4xvmh7wp.js → usage-limits-4xvmh7wp.js} +3 -3
  54. package/dist/chunks/{command-2b2ezf52.js → usage-limits-5hahrjda.js} +15 -15
  55. package/dist/chunks/{command-5m9w47nd.js → usage-limits-5m9w47nd.js} +1 -1
  56. package/dist/chunks/{command-kntz01hn.js → usage-limits-5rvbns9h.js} +33 -33
  57. package/dist/chunks/{command-xdpngg3w.js → usage-limits-5xan3hjt.js} +24 -24
  58. package/dist/chunks/{command-8h6a48m8.js → usage-limits-648wsnpr.js} +13 -13
  59. package/dist/chunks/{command-96frc3qv.js → usage-limits-6bv7yxz5.js} +27 -27
  60. package/dist/chunks/{command-6esdw8yj.js → usage-limits-6esdw8yj.js} +1 -1
  61. package/dist/chunks/{command-jfemb6dg.js → usage-limits-6gf3hhvq.js} +30 -30
  62. package/dist/chunks/{command-as1c0yqt.js → usage-limits-6ha7pnwq.js} +22 -22
  63. package/dist/chunks/{command-8bt0vqrr.js → usage-limits-6jrjvs1q.js} +6 -6
  64. package/dist/chunks/{command-6pjqjmy2.js → usage-limits-6pjqjmy2.js} +1 -1
  65. package/dist/chunks/{command-at1k79a5.js → usage-limits-6q2t9e19.js} +11 -11
  66. package/dist/chunks/{command-sbcmjw49.js → usage-limits-6qx2exdt.js} +11 -11
  67. package/dist/chunks/{command-eb8ey7jf.js → usage-limits-726yah4h.js} +9 -9
  68. package/dist/chunks/{command-w8qtt4th.js → usage-limits-76cb1hcw.js} +4 -4
  69. package/dist/chunks/{command-d0cfhy82.js → usage-limits-78p57jmb.js} +52 -52
  70. package/dist/chunks/{command-7bmhse3q.js → usage-limits-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{command-cvnpy6ac.js → usage-limits-7h2jh6d6.js} +27 -27
  72. package/dist/chunks/{command-7sf0nz0c.js → usage-limits-7pg880mj.js} +29 -29
  73. package/dist/chunks/{command-2xjnyn7t.js → usage-limits-7qj4kw2w.js} +27 -27
  74. package/dist/chunks/{command-7w2ypzdf.js → usage-limits-7w2ypzdf.js} +1 -1
  75. package/dist/chunks/{command-tct5dn0h.js → usage-limits-7wfd13xk.js} +16 -16
  76. package/dist/chunks/{command-bcvpnfz0.js → usage-limits-7z0r3bs7.js} +21 -21
  77. package/dist/chunks/{command-eengcg00.js → usage-limits-85tnhsr5.js} +1 -1
  78. package/dist/chunks/{command-pc1v25hk.js → usage-limits-8bc2ahr8.js} +3 -3
  79. package/dist/chunks/{command-nxxea952.js → usage-limits-8h5h53em.js} +27 -27
  80. package/dist/chunks/{command-yhp1gsdf.js → usage-limits-8m3evvpt.js} +15 -15
  81. package/dist/chunks/{command-8wtp7s3z.js → usage-limits-8wtp7s3z.js} +1 -1
  82. package/dist/chunks/{command-m37sd98t.js → usage-limits-8y4jps98.js} +4 -4
  83. package/dist/chunks/{command-91rj84md.js → usage-limits-91rj84md.js} +1 -1
  84. package/dist/chunks/{command-j65hkcsb.js → usage-limits-94a8q2nd.js} +12 -12
  85. package/dist/chunks/{command-b0j6y7s5.js → usage-limits-989aym0q.js} +11 -11
  86. package/dist/chunks/{command-998yhzzq.js → usage-limits-998yhzzq.js} +3 -3
  87. package/dist/chunks/{command-9gwdkggz.js → usage-limits-9c88vk2a.js} +20 -20
  88. package/dist/chunks/{command-qah7t4da.js → usage-limits-9cbnrx2n.js} +6 -6
  89. package/dist/chunks/{command-9cx9sm2q.js → usage-limits-9cx9sm2q.js} +1 -1
  90. package/dist/chunks/{command-tdhzh0hh.js → usage-limits-9pf9j90h.js} +14 -14
  91. package/dist/chunks/usage-limits-9t1hjeb8.js +517 -0
  92. package/dist/chunks/{command-drp4sy68.js → usage-limits-a210w1rj.js} +11 -11
  93. package/dist/chunks/{command-nn4rsceg.js → usage-limits-a3qfv0hd.js} +52 -52
  94. package/dist/chunks/{command-fvf40wtt.js → usage-limits-a4xckjr4.js} +24 -24
  95. package/dist/chunks/{command-9w6z0tb8.js → usage-limits-aaca795k.js} +21 -21
  96. package/dist/chunks/{command-c379g7ag.js → usage-limits-ac4t24sd.js} +28 -28
  97. package/dist/chunks/{command-x81g74mp.js → usage-limits-aebkqpzg.js} +10 -10
  98. package/dist/chunks/{command-ky6psh45.js → usage-limits-aj1nzrgt.js} +11 -11
  99. package/dist/chunks/{command-ryw9gt93.js → usage-limits-akvc2j30.js} +1 -1
  100. package/dist/chunks/{command-1v0dspd3.js → usage-limits-aqvd6vz0.js} +30 -30
  101. package/dist/chunks/{command-ebgyc8dk.js → usage-limits-arwkaxws.js} +21 -21
  102. package/dist/chunks/{command-n19651je.js → usage-limits-atx9ncrc.js} +14 -14
  103. package/dist/chunks/{command-k4vjszwk.js → usage-limits-ax80y17w.js} +4 -4
  104. package/dist/chunks/{command-ayjs7tqn.js → usage-limits-ayjs7tqn.js} +2 -2
  105. package/dist/chunks/{command-b0mv4wxm.js → usage-limits-b0mv4wxm.js} +2 -2
  106. package/dist/chunks/{command-athptrr6.js → usage-limits-b3mwsdc9.js} +11 -11
  107. package/dist/chunks/{command-b6vsg801.js → usage-limits-b6vsg801.js} +2 -2
  108. package/dist/chunks/{command-xt2n4gan.js → usage-limits-b8qrkhky.js} +28 -28
  109. package/dist/chunks/{command-kx2s0cab.js → usage-limits-bbaqhw4f.js} +36 -36
  110. package/dist/chunks/{command-y7mjvyet.js → usage-limits-bbrx00jz.js} +14 -14
  111. package/dist/chunks/usage-limits-bc6t731e.js +250 -0
  112. package/dist/chunks/{command-zba5tm1j.js → usage-limits-bjhzkqyk.js} +4 -4
  113. package/dist/chunks/{command-919wx1z3.js → usage-limits-bnndz809.js} +8 -8
  114. package/dist/chunks/{command-536c1kkr.js → usage-limits-bxpaffak.js} +4 -4
  115. package/dist/chunks/{command-8jw7rn7z.js → usage-limits-c4hczych.js} +64 -47
  116. package/dist/chunks/{command-absbpnym.js → usage-limits-cbc4taa6.js} +11 -11
  117. package/dist/chunks/{command-601dsf04.js → usage-limits-cfjtprja.js} +16 -16
  118. package/dist/chunks/{command-9s9yrq09.js → usage-limits-cspetaqy.js} +7 -7
  119. package/dist/chunks/{command-ycf7t0x4.js → usage-limits-ctt8qbk9.js} +6 -6
  120. package/dist/chunks/{command-2hxshrhc.js → usage-limits-cvxbw3ks.js} +28 -28
  121. package/dist/chunks/{command-p5n2p3b1.js → usage-limits-d0h5jp63.js} +36 -36
  122. package/dist/chunks/{command-krv10r25.js → usage-limits-d2k9ndpk.js} +13 -13
  123. package/dist/chunks/{command-d4v9tmah.js → usage-limits-d4v9tmah.js} +2 -2
  124. package/dist/chunks/{command-eshe19cj.js → usage-limits-d7s2envm.js} +6 -6
  125. package/dist/chunks/{command-xt4j5ppg.js → usage-limits-dj80dh0k.js} +5 -5
  126. package/dist/chunks/{command-jatb60mj.js → usage-limits-dv889aa0.js} +19 -19
  127. package/dist/chunks/{command-7gk9js8e.js → usage-limits-dy2frryf.js} +86 -86
  128. package/dist/chunks/usage-limits-e07q2w5p.js +83 -0
  129. package/dist/chunks/{command-hdfrs5mg.js → usage-limits-e2x7gzav.js} +7 -7
  130. package/dist/chunks/{command-sn3c9y12.js → usage-limits-e3hyq533.js} +14 -14
  131. package/dist/chunks/{command-e834z07m.js → usage-limits-e834z07m.js} +1 -1
  132. package/dist/chunks/{command-9j2em94t.js → usage-limits-e9gy876p.js} +28 -28
  133. package/dist/chunks/{command-hb0m8f38.js → usage-limits-ebn47abq.js} +11 -11
  134. package/dist/chunks/{command-mtm9tq44.js → usage-limits-efwjs4bb.js} +13 -13
  135. package/dist/chunks/{command-qvw98tg0.js → usage-limits-egmw08v6.js} +5 -5
  136. package/dist/chunks/{command-xsact9zs.js → usage-limits-emq6awqh.js} +4 -4
  137. package/dist/chunks/{command-rpnphm24.js → usage-limits-emsb7nrx.js} +19 -19
  138. package/dist/chunks/{command-vyyww4cp.js → usage-limits-eterkqt0.js} +32 -32
  139. package/dist/chunks/{command-rkvbxbtx.js → usage-limits-ewc6z4rh.js} +34 -34
  140. package/dist/chunks/{command-zppqv0za.js → usage-limits-ex7z9m54.js} +2 -2
  141. package/dist/chunks/{command-je2dmma1.js → usage-limits-exp5mnmq.js} +1 -1
  142. package/dist/chunks/{command-vg3pf4h8.js → usage-limits-ey1djyv9.js} +10 -10
  143. package/dist/chunks/{command-jhd2q5aa.js → usage-limits-f0tpkmet.js} +32 -32
  144. package/dist/chunks/{command-6rxdw5v4.js → usage-limits-f3jntyhm.js} +32 -32
  145. package/dist/chunks/{command-3531vqe2.js → usage-limits-f7bvh908.js} +19 -19
  146. package/dist/chunks/{command-5j20qf3f.js → usage-limits-f7r22wb4.js} +45 -45
  147. package/dist/chunks/{command-bdgfgxkz.js → usage-limits-f9nfcqdq.js} +7 -7
  148. package/dist/chunks/{command-n2mgc41n.js → usage-limits-fdhstezy.js} +8 -8
  149. package/dist/chunks/{command-fffv3p7h.js → usage-limits-fffv3p7h.js} +1 -1
  150. package/dist/chunks/{command-ba7dfhfp.js → usage-limits-fjz66g9m.js} +8 -8
  151. package/dist/chunks/{command-t2cmnhk6.js → usage-limits-fr1v3ke2.js} +3 -3
  152. package/dist/chunks/usage-limits-frx5y0yf.js +26 -0
  153. package/dist/chunks/{command-sa1j54ah.js → usage-limits-g3h8dgtz.js} +4 -4
  154. package/dist/chunks/{command-g5h9c0rr.js → usage-limits-g5h9c0rr.js} +2 -2
  155. package/dist/chunks/{command-913j3mh8.js → usage-limits-g9arxaec.js} +11 -11
  156. package/dist/chunks/{command-vrcsa8qx.js → usage-limits-gcjdgkn2.js} +9 -9
  157. package/dist/chunks/{command-wrd1e224.js → usage-limits-ggf2j3cc.js} +23 -23
  158. package/dist/chunks/{command-zcttm0a7.js → usage-limits-ghztajqa.js} +20 -20
  159. package/dist/chunks/{command-a24mpnx1.js → usage-limits-gk7spenk.js} +24 -24
  160. package/dist/chunks/{command-jvnwfx78.js → usage-limits-gqa6c0dc.js} +17 -17
  161. package/dist/chunks/{command-w9654aqw.js → usage-limits-gx0r2313.js} +6 -6
  162. package/dist/chunks/{command-xpgf5ggf.js → usage-limits-gy0tz9ap.js} +15 -15
  163. package/dist/chunks/{command-rc5p4tbx.js → usage-limits-gycv8rtq.js} +23 -23
  164. package/dist/chunks/{command-h5qan5zz.js → usage-limits-h5qan5zz.js} +3 -3
  165. package/dist/chunks/{command-v8vd993n.js → usage-limits-hdvssxsh.js} +8 -8
  166. package/dist/chunks/{command-7fxmge10.js → usage-limits-hf1c1nxg.js} +5 -5
  167. package/dist/chunks/{command-fhkyxz58.js → usage-limits-hgnysbnx.js} +70 -70
  168. package/dist/chunks/{command-ekteap66.js → usage-limits-hngxbr5f.js} +6 -6
  169. package/dist/chunks/{command-e8var0bn.js → usage-limits-hp0kf9qk.js} +35 -35
  170. package/dist/chunks/{command-9g25krhk.js → usage-limits-hpdffqc1.js} +20 -20
  171. package/dist/chunks/{command-bvnym4q4.js → usage-limits-hycwzgsh.js} +21 -21
  172. package/dist/chunks/{command-j113cymg.js → usage-limits-j113cymg.js} +1 -1
  173. package/dist/chunks/{command-sgf93zt1.js → usage-limits-j3xzkfr8.js} +21 -21
  174. package/dist/chunks/{command-y6tn7bpp.js → usage-limits-j8tswv6e.js} +16 -16
  175. package/dist/chunks/{command-jchrqzf6.js → usage-limits-jefw9j3y.js} +4 -4
  176. package/dist/chunks/{command-9wejqmxs.js → usage-limits-k02002gh.js} +10 -10
  177. package/dist/chunks/{command-6s0p322d.js → usage-limits-k680cdq8.js} +11 -11
  178. package/dist/chunks/{command-k814nvkf.js → usage-limits-k814nvkf.js} +1 -1
  179. package/dist/chunks/{command-k3s0qkj7.js → usage-limits-k9vn056m.js} +20 -20
  180. package/dist/chunks/{command-wrd39zd3.js → usage-limits-kb2r74xq.js} +9 -9
  181. package/dist/chunks/{command-knm9h1gt.js → usage-limits-kbdzx3mw.js} +5 -5
  182. package/dist/chunks/{command-0kr898da.js → usage-limits-ke16v9kv.js} +8 -8
  183. package/dist/chunks/{command-5jyzhfg0.js → usage-limits-kkayz510.js} +4 -4
  184. package/dist/chunks/{command-fptf4jb2.js → usage-limits-km6kdywk.js} +28 -28
  185. package/dist/chunks/{command-kt3bjfbg.js → usage-limits-kt3bjfbg.js} +1 -1
  186. package/dist/chunks/{command-m1714858.js → usage-limits-m1714858.js} +1 -1
  187. package/dist/chunks/{command-88bjnhq0.js → usage-limits-m304ba9t.js} +5 -5
  188. package/dist/chunks/{command-kz35drw9.js → usage-limits-m8nbymbg.js} +19 -19
  189. package/dist/chunks/{command-m9w0rfyh.js → usage-limits-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{command-za6yq9hg.js → usage-limits-ma15yhyh.js} +5 -5
  191. package/dist/chunks/{command-maspj1v3.js → usage-limits-maspj1v3.js} +1 -1
  192. package/dist/chunks/{command-y3tncrtt.js → usage-limits-mrsa6jkf.js} +15 -15
  193. package/dist/chunks/{command-82k6bzc0.js → usage-limits-mrss2ga5.js} +45 -45
  194. package/dist/chunks/{command-bgg6fpfq.js → usage-limits-n7wnam13.js} +7 -7
  195. package/dist/chunks/{command-nah043kf.js → usage-limits-nah043kf.js} +1 -1
  196. package/dist/chunks/{command-d8kktwmb.js → usage-limits-ngakgrqq.js} +9 -9
  197. package/dist/chunks/{command-xc2k0qa9.js → usage-limits-njkmhayd.js} +10 -10
  198. package/dist/chunks/{command-vkjtdrj5.js → usage-limits-nm3cbc6x.js} +16 -16
  199. package/dist/chunks/{command-zv77kcwz.js → usage-limits-nmhe9dy6.js} +11 -11
  200. package/dist/chunks/{command-99hv2r52.js → usage-limits-ntm28ryz.js} +18 -18
  201. package/dist/chunks/{command-p015t6z3.js → usage-limits-p015t6z3.js} +2 -2
  202. package/dist/chunks/{command-pwp33k1j.js → usage-limits-p2hj6cy1.js} +18 -18
  203. package/dist/chunks/{command-jt3cc694.js → usage-limits-pjwfm23k.js} +22 -16
  204. package/dist/chunks/{command-pknna89w.js → usage-limits-pknna89w.js} +1 -1
  205. package/dist/chunks/{command-dkg6zq9k.js → usage-limits-pq70gwcm.js} +15 -15
  206. package/dist/chunks/{command-ry3msmns.js → usage-limits-pz2vpapy.js} +6 -6
  207. package/dist/chunks/{command-6r3jgch7.js → usage-limits-q0hvv05t.js} +13 -13
  208. package/dist/chunks/{command-yzj4f4rb.js → usage-limits-qdpm05xk.js} +4 -4
  209. package/dist/chunks/{command-anxj7259.js → usage-limits-qepdakcz.js} +9 -9
  210. package/dist/chunks/{command-7zt3ezbt.js → usage-limits-qn0rjxfc.js} +11 -11
  211. package/dist/chunks/{command-yphf4wkb.js → usage-limits-qqa1433q.js} +38 -38
  212. package/dist/chunks/{command-qv7y9773.js → usage-limits-qv7y9773.js} +1 -1
  213. package/dist/chunks/{command-p17y9zxj.js → usage-limits-qz97qh5p.js} +3 -3
  214. package/dist/chunks/{command-r0yr0wbs.js → usage-limits-r0yr0wbs.js} +1 -1
  215. package/dist/chunks/{command-jns1hsnf.js → usage-limits-r4czht1g.js} +20 -20
  216. package/dist/chunks/{command-r542h3bh.js → usage-limits-r542h3bh.js} +1 -1
  217. package/dist/chunks/{command-v4y8fefg.js → usage-limits-r7a84vp7.js} +24 -24
  218. package/dist/chunks/{command-rb9dy4dg.js → usage-limits-rb9dy4dg.js} +1 -1
  219. package/dist/chunks/{command-0e8wpp30.js → usage-limits-rby583qs.js} +8 -8
  220. package/dist/chunks/{command-mgyrh3fg.js → usage-limits-rrme742e.js} +13 -13
  221. package/dist/chunks/{command-rt5dr6hb.js → usage-limits-rt5dr6hb.js} +1 -1
  222. package/dist/chunks/{command-mdqxs31b.js → usage-limits-rx4h7akj.js} +16 -16
  223. package/dist/chunks/usage-limits-s5c3tv3b.js +169 -0
  224. package/dist/chunks/{command-as5dbhq9.js → usage-limits-s78dgp47.js} +6 -6
  225. package/dist/chunks/{command-sa3fpqfw.js → usage-limits-sa3fpqfw.js} +2 -2
  226. package/dist/chunks/{command-h1a1swr0.js → usage-limits-skwsegzf.js} +21 -21
  227. package/dist/chunks/{command-sqjzf8x2.js → usage-limits-sqjzf8x2.js} +1 -1
  228. package/dist/chunks/{command-pnd0tgce.js → usage-limits-sqz0nt1s.js} +45 -45
  229. package/dist/chunks/{command-d2887f8n.js → usage-limits-ssfehs1z.js} +4 -4
  230. package/dist/chunks/{command-5j2x0vh6.js → usage-limits-st9cgr6w.js} +15 -15
  231. package/dist/chunks/{command-7xg2jm5b.js → usage-limits-szcgc7h4.js} +5 -5
  232. package/dist/chunks/{command-bbwwgj76.js → usage-limits-t0g5gwyx.js} +18 -18
  233. package/dist/chunks/{command-t8nkzmzj.js → usage-limits-t211gxpv.js} +5 -5
  234. package/dist/chunks/{command-1vdntpm3.js → usage-limits-taacwnvm.js} +7 -7
  235. package/dist/chunks/{command-tczq8hjw.js → usage-limits-tczq8hjw.js} +1 -1
  236. package/dist/chunks/{command-jarxapq1.js → usage-limits-tj65tddj.js} +28 -28
  237. package/dist/chunks/{command-ve1a31qq.js → usage-limits-tnkagvdq.js} +5 -5
  238. package/dist/chunks/{command-3mgb105e.js → usage-limits-tpm1qpxt.js} +9 -9
  239. package/dist/chunks/{command-6ek2k839.js → usage-limits-tvxkwhzj.js} +7 -7
  240. package/dist/chunks/{command-twv2r8f4.js → usage-limits-twv2r8f4.js} +2 -2
  241. package/dist/chunks/{command-wphkpwyy.js → usage-limits-txkqgr37.js} +21 -21
  242. package/dist/chunks/{command-12j5xb52.js → usage-limits-tyhzfa9z.js} +17 -17
  243. package/dist/chunks/{command-44ggx2jg.js → usage-limits-tzhfmb8s.js} +5 -5
  244. package/dist/chunks/{command-v2r1d0zg.js → usage-limits-v2r1d0zg.js} +1 -1
  245. package/dist/chunks/{command-jnfhfvtc.js → usage-limits-v63rcc1z.js} +15 -15
  246. package/dist/chunks/{command-vd3b3yk9.js → usage-limits-vd3b3yk9.js} +1 -1
  247. package/dist/chunks/{command-veqvce7d.js → usage-limits-veqvce7d.js} +1 -1
  248. package/dist/chunks/{command-ry63fkbp.js → usage-limits-vg05jr2c.js} +6 -6
  249. package/dist/chunks/{command-p7kxzmqg.js → usage-limits-vk32b34p.js} +5 -5
  250. package/dist/chunks/{command-41rwrk3a.js → usage-limits-vn79cqmx.js} +32 -32
  251. package/dist/chunks/{command-hzrfc1p4.js → usage-limits-vx3jgdek.js} +3 -3
  252. package/dist/chunks/{command-40za9wsf.js → usage-limits-w2eysc6j.js} +9 -9
  253. package/dist/chunks/{command-w3wsvvr9.js → usage-limits-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{command-wakvkjy4.js → usage-limits-wakvkjy4.js} +1 -1
  255. package/dist/chunks/{command-wd87259q.js → usage-limits-wd87259q.js} +1 -1
  256. package/dist/chunks/{command-41krkmrm.js → usage-limits-wekwn6qz.js} +6 -6
  257. package/dist/chunks/{command-38gd8qqf.js → usage-limits-whf27mzz.js} +17 -17
  258. package/dist/chunks/{command-3qb2tvq8.js → usage-limits-whwnz90f.js} +16 -16
  259. package/dist/chunks/{command-9q3dx9gn.js → usage-limits-wn7kwqy9.js} +15 -15
  260. package/dist/chunks/{command-w687dnns.js → usage-limits-wr3re1en.js} +4 -4
  261. package/dist/chunks/{command-afj7tpg0.js → usage-limits-wzb86tnv.js} +21 -21
  262. package/dist/chunks/{command-bqsy6k7b.js → usage-limits-wzrwmevq.js} +10 -10
  263. package/dist/chunks/{command-fv74a081.js → usage-limits-x02d0s8b.js} +7 -7
  264. package/dist/chunks/{command-8jztxfpf.js → usage-limits-x8nvjgx0.js} +4 -4
  265. package/dist/chunks/{command-g8sddq98.js → usage-limits-xctymaxe.js} +46 -46
  266. package/dist/chunks/{command-bstexjd6.js → usage-limits-xd9cc171.js} +5 -5
  267. package/dist/chunks/{command-dqwe69sr.js → usage-limits-xf86h4sa.js} +5 -5
  268. package/dist/chunks/{command-vwyfhr0a.js → usage-limits-xz2v9wfs.js} +31 -31
  269. package/dist/chunks/{command-k008twyg.js → usage-limits-y4yx52dp.js} +20 -20
  270. package/dist/chunks/{command-yb20nhc3.js → usage-limits-yb20nhc3.js} +1 -1
  271. package/dist/chunks/{command-cg7dpz2x.js → usage-limits-ycbqeg09.js} +116 -197
  272. package/dist/chunks/{command-adw70tjx.js → usage-limits-ydj2t2r9.js} +181 -181
  273. package/dist/chunks/{command-t2bs72an.js → usage-limits-yg4mp0v5.js} +2 -2
  274. package/dist/chunks/{command-cy2v52d0.js → usage-limits-ymy0chk8.js} +4 -4
  275. package/dist/chunks/{command-5r6qh7e4.js → usage-limits-ypcrvbc5.js} +10 -10
  276. package/dist/chunks/{command-rhcben61.js → usage-limits-ysd28b92.js} +41 -41
  277. package/dist/chunks/{command-gy4qwgqr.js → usage-limits-yskc27rg.js} +26 -26
  278. package/dist/chunks/{command-4kfhgg5n.js → usage-limits-yxemhy2w.js} +25 -25
  279. package/dist/chunks/{command-z0bkrqjs.js → usage-limits-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{command-z38nccrw.js → usage-limits-z38nccrw.js} +1 -1
  281. package/dist/chunks/{command-v9f0gyh1.js → usage-limits-z59pzgfn.js} +15 -15
  282. package/dist/chunks/usage-limits-z7bdqmx5.js +18 -0
  283. package/dist/chunks/{command-xfys7e1v.js → usage-limits-zf9hj4sn.js} +21 -21
  284. package/dist/chunks/{command-agqd6nxz.js → usage-limits-zgt5j0h2.js} +6 -6
  285. package/dist/chunks/{command-zkg84ctx.js → usage-limits-zkg84ctx.js} +1 -1
  286. package/dist/chunks/{command-k8yb96yz.js → usage-limits-zqhzzkgw.js} +6 -6
  287. package/dist/chunks/{command-b0f7zp2n.js → usage-limits-zszhs1ry.js} +5 -5
  288. package/dist/chunks/{command-103he1eh.js → usage-limits-ztjft4ja.js} +30 -30
  289. package/dist/chunks/{command-t33zj5sv.js → usage-limits-zv0vsyec.js} +15 -15
  290. package/dist/chunks/{command-pss5e485.js → usage-limits-zyxp1bdt.js} +4 -4
  291. package/dist/chunks/{command-5jhj8f90.js → usage-limits-zzjqjb6m.js} +23 -23
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +7 -7
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +89 -89
  297. package/dist/config/discovery.js +89 -89
  298. package/dist/config/integration.js +14 -0
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +104 -104
  301. package/dist/config/plugin/agent.js +120 -120
  302. package/dist/config/plugin/command.js +216 -216
  303. package/dist/config/plugin/compaction.js +157 -157
  304. package/dist/config/plugin/compatibility.js +137 -137
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +119 -119
  307. package/dist/config/plugin/image.js +118 -118
  308. package/dist/config/plugin/instruction.js +118 -118
  309. package/dist/config/plugin/location-watcher.js +116 -116
  310. package/dist/config/plugin/mcp.js +127 -127
  311. package/dist/config/plugin/policy.js +120 -119
  312. package/dist/config/plugin/provider.js +121 -118
  313. package/dist/config/plugin/reference.js +120 -120
  314. package/dist/config/plugin/shell.js +120 -120
  315. package/dist/config/plugin/skill-file.js +107 -107
  316. package/dist/config/plugin/skill-scan.js +1 -1
  317. package/dist/config/plugin/skill.js +138 -138
  318. package/dist/config/plugin/snapshot.js +118 -118
  319. package/dist/config/plugin/source.js +121 -121
  320. package/dist/config/plugin/tool-output.js +119 -119
  321. package/dist/config/plugin/websearch.js +119 -119
  322. package/dist/config/plugin/worktree.js +120 -120
  323. package/dist/config/variable.js +1 -1
  324. package/dist/config/watch.js +1 -1
  325. package/dist/config.js +119 -119
  326. package/dist/console-access.js +1 -1
  327. package/dist/credential/sql.js +2 -2
  328. package/dist/credential.js +87 -87
  329. package/dist/database/database.js +70 -70
  330. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  331. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  332. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  333. package/dist/database/drizzle/index.js +15 -15
  334. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  337. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  342. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  343. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  344. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  345. package/dist/database/drizzle.js +16 -16
  346. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  347. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  348. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  349. package/dist/database/migration/20260225215848_workspace.js +1 -1
  350. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  351. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  352. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  353. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  354. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  355. package/dist/database/migration/20260323234822_events.js +1 -1
  356. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  357. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  358. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  359. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  360. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  361. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  362. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  363. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  364. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  365. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  366. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  367. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  368. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  369. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  370. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  371. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  372. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  373. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  374. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  375. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  376. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  377. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  378. package/dist/database/migration/20260611035744_credential.js +1 -1
  379. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  380. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  381. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  382. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  383. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  384. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  385. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  386. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  387. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  388. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  389. package/dist/database/migration/20260812213948_worktree.js +1 -1
  390. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  391. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  392. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  393. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  394. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  395. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  396. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  397. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  398. package/dist/database/migration.gen.js +53 -53
  399. package/dist/database/migration.js +55 -55
  400. package/dist/database/path.js +2 -2
  401. package/dist/database/schema.gen.js +1 -1
  402. package/dist/database/schema.sql.js +1 -1
  403. package/dist/database/sqlite.bun.js +1 -1
  404. package/dist/database/sqlite.js +1 -1
  405. package/dist/database/sqlite.node.js +1 -1
  406. package/dist/database/sqlite.workerd.js +1 -1
  407. package/dist/database/v1-migration.bun.js +92 -92
  408. package/dist/database/v1-migration.js +1 -1
  409. package/dist/effect/app-node-builder.js +376 -374
  410. package/dist/effect/app-node-platform.js +2 -2
  411. package/dist/effect/keyed-mutex.js +3 -3
  412. package/dist/effect/websocket-constructor.js +1 -1
  413. package/dist/environment/driver.js +1 -1
  414. package/dist/environment/environment.js +98 -98
  415. package/dist/environment/exec-defaults.js +2 -2
  416. package/dist/environment/files.js +1 -1
  417. package/dist/environment/index.js +100 -100
  418. package/dist/environment/local.js +2 -2
  419. package/dist/environment/memory.js +2 -2
  420. package/dist/environment/unavailable.js +3 -3
  421. package/dist/event/sql.js +1 -1
  422. package/dist/event-logger.js +74 -74
  423. package/dist/file-access.js +109 -109
  424. package/dist/file-mutation.js +99 -99
  425. package/dist/file-retention.js +1 -1
  426. package/dist/filesystem/fff.bun.js +2 -2
  427. package/dist/filesystem/fff.js +1 -1
  428. package/dist/filesystem/fff.node.js +2 -2
  429. package/dist/filesystem/fff.workerd.js +2 -2
  430. package/dist/filesystem/location-watcher-policy.js +6 -6
  431. package/dist/filesystem/location-watcher.js +227 -227
  432. package/dist/filesystem/protected.js +3 -3
  433. package/dist/filesystem/search.js +104 -104
  434. package/dist/filesystem/watcher-binding.js +1 -1
  435. package/dist/filesystem/watcher.js +9 -9
  436. package/dist/filesystem.js +107 -107
  437. package/dist/form.js +88 -88
  438. package/dist/formatter/builtins.js +4 -4
  439. package/dist/formatter.js +92 -92
  440. package/dist/generate.js +110 -110
  441. package/dist/git.js +7 -7
  442. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  443. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  444. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  445. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  446. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  447. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  448. package/dist/github-copilot/copilot-provider.js +17 -17
  449. package/dist/github-copilot/models.js +96 -96
  450. package/dist/github-copilot/openai-compatible-error.js +1 -1
  451. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  452. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  453. package/dist/github-copilot/responses/openai-error.js +1 -1
  454. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  455. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  456. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  457. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  458. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  459. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  460. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  461. package/dist/image/photon.js +2 -2
  462. package/dist/image.js +6 -6
  463. package/dist/instance/service.js +5 -5
  464. package/dist/instance.js +367 -365
  465. package/dist/instruction-discovery.js +86 -86
  466. package/dist/instructions/builtins.js +92 -92
  467. package/dist/instructions/index.js +3 -3
  468. package/dist/integration/connection.js +3 -3
  469. package/dist/integration.js +93 -93
  470. package/dist/job.js +82 -82
  471. package/dist/kv/sql.js +2 -2
  472. package/dist/kv.js +77 -77
  473. package/dist/location-activity.js +158 -158
  474. package/dist/location-lifecycle.js +112 -112
  475. package/dist/location-service-map.js +91 -91
  476. package/dist/location-services.js +364 -362
  477. package/dist/location.js +92 -92
  478. package/dist/managed-policy.js +11 -10
  479. package/dist/mcp/client.js +96 -96
  480. package/dist/mcp/index.js +114 -114
  481. package/dist/mcp/instructions.js +143 -143
  482. package/dist/mcp/oauth.js +82 -82
  483. package/dist/mcp/socket-client.js +1 -1
  484. package/dist/mcp/stdio.js +95 -95
  485. package/dist/mime.js +1 -1
  486. package/dist/modal/models.js +96 -96
  487. package/dist/model-resolver.js +102 -102
  488. package/dist/model-retry.js +1 -1
  489. package/dist/model.js +105 -105
  490. package/dist/models-dev.js +112 -112
  491. package/dist/oauth/page.js +1 -1
  492. package/dist/permission/saved.js +86 -86
  493. package/dist/permission/sql.js +5 -5
  494. package/dist/permission.js +116 -116
  495. package/dist/persistent-pty/binary.bun.js +1 -1
  496. package/dist/persistent-pty/daemon.js +1 -1
  497. package/dist/persistent-pty/index.js +90 -90
  498. package/dist/persistent-pty/pty-binding.js +1 -1
  499. package/dist/persistent-pty.js +79 -79
  500. package/dist/plugin/agent.js +80 -80
  501. package/dist/plugin/command.js +107 -107
  502. package/dist/plugin/hooks.js +3 -3
  503. package/dist/plugin/host.js +222 -222
  504. package/dist/plugin/identity.js +5 -5
  505. package/dist/plugin/instance.js +5 -5
  506. package/dist/plugin/internal.js +337 -335
  507. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  508. package/dist/plugin/models-dev.js +101 -101
  509. package/dist/plugin/module.js +120 -119
  510. package/dist/plugin/optimize.js +4 -4
  511. package/dist/plugin/plan.js +107 -107
  512. package/dist/plugin/promise.js +1 -1
  513. package/dist/plugin/provider/amazon-bedrock.js +95 -95
  514. package/dist/plugin/provider/azure.js +118 -118
  515. package/dist/plugin/provider/cerebras.js +1 -1
  516. package/dist/plugin/provider/chatgpt.js +118 -118
  517. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  518. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  519. package/dist/plugin/provider/cohere.js +2 -2
  520. package/dist/plugin/provider/configured.js +114 -114
  521. package/dist/plugin/provider/databricks.js +1 -1
  522. package/dist/plugin/provider/digitalocean.js +98 -98
  523. package/dist/plugin/provider/dynamic.js +2 -2
  524. package/dist/plugin/provider/factory.js +1 -1
  525. package/dist/plugin/provider/github-copilot.js +100 -100
  526. package/dist/plugin/provider/gitlab.js +98 -98
  527. package/dist/plugin/provider/google-vertex.js +115 -115
  528. package/dist/plugin/provider/kilo.js +1 -1
  529. package/dist/plugin/provider/llmgateway.js +82 -82
  530. package/dist/plugin/provider/lmstudio.js +127 -127
  531. package/dist/plugin/provider/local.js +124 -124
  532. package/dist/plugin/provider/modal.js +97 -97
  533. package/dist/plugin/provider/neon.js +1 -1
  534. package/dist/plugin/provider/nvidia.js +1 -1
  535. package/dist/plugin/provider/ollama.js +125 -125
  536. package/dist/plugin/provider/openai-context-caps.js +95 -95
  537. package/dist/plugin/provider/openai.js +120 -120
  538. package/dist/plugin/provider/opencode-legacy.js +116 -0
  539. package/dist/plugin/provider/opencode.js +124 -104
  540. package/dist/plugin/provider/openrouter.js +96 -96
  541. package/dist/plugin/provider/perplexity.js +2 -2
  542. package/dist/plugin/provider/poe.js +83 -83
  543. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  544. package/dist/plugin/provider/sap-ai-core.js +96 -96
  545. package/dist/plugin/provider/sdk-factory.js +1 -1
  546. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  547. package/dist/plugin/provider/vercel.js +95 -95
  548. package/dist/plugin/provider/vllm.js +127 -127
  549. package/dist/plugin/provider/xai.js +96 -96
  550. package/dist/plugin/provider/zenmux.js +1 -1
  551. package/dist/plugin/provider.js +175 -171
  552. package/dist/plugin/sdk.js +80 -80
  553. package/dist/plugin/service.js +3 -3
  554. package/dist/plugin/skill.js +136 -136
  555. package/dist/plugin/source-directory.js +1 -1
  556. package/dist/plugin/supervisor.js +356 -354
  557. package/dist/plugin/tool-input-repair.js +4 -4
  558. package/dist/plugin/update.js +6 -6
  559. package/dist/plugin/vcs/git.js +91 -91
  560. package/dist/plugin/vcs/hg.js +91 -91
  561. package/dist/plugin/verbosity.js +98 -98
  562. package/dist/plugin/warming.js +116 -116
  563. package/dist/plugin/websearch/exa.js +7 -7
  564. package/dist/plugin/websearch/firecrawl.js +6 -6
  565. package/dist/plugin/websearch/index.js +9 -9
  566. package/dist/plugin/websearch/mcp.js +6 -6
  567. package/dist/plugin/websearch/parallel.js +6 -6
  568. package/dist/plugin/websearch/tavily.js +4 -4
  569. package/dist/plugin/websearch/tinyfish.js +8 -8
  570. package/dist/plugin.js +229 -229
  571. package/dist/project/schema.js +6 -6
  572. package/dist/project/sql.js +4 -4
  573. package/dist/project.js +91 -91
  574. package/dist/provider.js +104 -104
  575. package/dist/pty/protocol.js +1 -1
  576. package/dist/pty/ticket.js +1 -1
  577. package/dist/pty.js +103 -103
  578. package/dist/reference/instructions.js +92 -92
  579. package/dist/reference.js +96 -96
  580. package/dist/repository-cache.js +86 -86
  581. package/dist/repository.js +3 -3
  582. package/dist/ripgrep/binary.js +2 -2
  583. package/dist/ripgrep.js +100 -100
  584. package/dist/rpc.js +91 -91
  585. package/dist/schema.js +1 -1
  586. package/dist/session/affinity.js +1 -1
  587. package/dist/session/command.js +78 -78
  588. package/dist/session/compaction.js +139 -139
  589. package/dist/session/context.js +167 -167
  590. package/dist/session/diff.js +93 -93
  591. package/dist/session/environment.js +5 -5
  592. package/dist/session/error.js +5 -5
  593. package/dist/session/event.js +1 -1
  594. package/dist/session/execution/restart.js +223 -223
  595. package/dist/session/execution.js +131 -131
  596. package/dist/session/generate.js +169 -169
  597. package/dist/session/history.js +13 -13
  598. package/dist/session/inbox.js +99 -99
  599. package/dist/session/info.js +3 -3
  600. package/dist/session/instruction-entry.js +83 -83
  601. package/dist/session/instruction-state.js +8 -8
  602. package/dist/session/instructions.js +102 -102
  603. package/dist/session/message-updater.js +2 -2
  604. package/dist/session/message.js +1 -1
  605. package/dist/session/model-request.js +125 -125
  606. package/dist/session/model-transport.js +9 -9
  607. package/dist/session/move.js +135 -135
  608. package/dist/session/projector.js +93 -93
  609. package/dist/session/prompt.js +110 -110
  610. package/dist/session/recent-text.js +1 -1
  611. package/dist/session/revert.js +99 -99
  612. package/dist/session/run-coordinator.js +3 -3
  613. package/dist/session/runner/index.js +3 -3
  614. package/dist/session/runner/llm.js +233 -233
  615. package/dist/session/runner/max-steps.js +1 -1
  616. package/dist/session/runner/model.js +105 -105
  617. package/dist/session/runner/publish-llm-event.js +118 -118
  618. package/dist/session/runner/retry.js +5 -5
  619. package/dist/session/runner/step.js +131 -131
  620. package/dist/session/runner/to-llm-message.js +14 -14
  621. package/dist/session/schema.js +5 -5
  622. package/dist/session/session.js +167 -167
  623. package/dist/session/shell.js +132 -132
  624. package/dist/session/skill.js +108 -108
  625. package/dist/session/sql.js +5 -5
  626. package/dist/session/stats.js +77 -77
  627. package/dist/session/store.js +89 -89
  628. package/dist/session/subagent-completion.js +1 -1
  629. package/dist/session/subagent-job.js +214 -214
  630. package/dist/session/system-prompt.js +3 -3
  631. package/dist/session/title.js +171 -171
  632. package/dist/session/to-session-error.js +117 -117
  633. package/dist/session/transfer.js +219 -219
  634. package/dist/session/usage.js +1 -1
  635. package/dist/session.js +220 -220
  636. package/dist/shell/parse.js +6 -6
  637. package/dist/shell/result.js +1 -1
  638. package/dist/shell/scan.js +1 -1
  639. package/dist/shell/select.js +13 -13
  640. package/dist/shell.js +134 -134
  641. package/dist/skill/discovery.js +6 -6
  642. package/dist/skill/instructions.js +112 -112
  643. package/dist/skill.js +117 -117
  644. package/dist/snapshot.js +94 -94
  645. package/dist/state.js +1 -1
  646. package/dist/tool/html-markdown.js +1 -1
  647. package/dist/tool/http-body.js +1 -1
  648. package/dist/tool/mcp.js +140 -140
  649. package/dist/tool/plugin/edit.js +125 -125
  650. package/dist/tool/plugin/file-diff.js +1 -1
  651. package/dist/tool/plugin/glob.js +127 -127
  652. package/dist/tool/plugin/grep.js +129 -129
  653. package/dist/tool/plugin/mcp-resource.js +129 -129
  654. package/dist/tool/plugin/opencode.js +114 -114
  655. package/dist/tool/plugin/patch.js +127 -127
  656. package/dist/tool/plugin/question.js +108 -108
  657. package/dist/tool/plugin/read.js +130 -130
  658. package/dist/tool/plugin/shell.js +219 -219
  659. package/dist/tool/plugin/skill.js +118 -118
  660. package/dist/tool/plugin/subagent.js +221 -221
  661. package/dist/tool/plugin/todo.js +140 -140
  662. package/dist/tool/plugin/webfetch.js +118 -118
  663. package/dist/tool/plugin/websearch.js +119 -119
  664. package/dist/tool/plugin/write.js +127 -127
  665. package/dist/tool/read-filesystem.js +105 -105
  666. package/dist/tool/runtime.js +1 -1
  667. package/dist/tool-output.js +7 -7
  668. package/dist/tool.js +14 -14
  669. package/dist/types/config/integration.d.ts +81 -0
  670. package/dist/types/config/plugin/provider.d.ts +8 -0
  671. package/dist/types/config.d.ts +7 -0
  672. package/dist/types/plugin/provider/opencode-legacy.d.ts +69 -0
  673. package/dist/types/plugin/provider/opencode.d.ts +2 -1
  674. package/dist/usage-limits.js +93 -93
  675. package/dist/util/error-summary.js +1 -1
  676. package/dist/util/git-executable.js +3 -3
  677. package/dist/util/lazy.js +1 -1
  678. package/dist/util/slug.js +1 -1
  679. package/dist/util/token.js +1 -1
  680. package/dist/util/which.js +1 -1
  681. package/dist/util/wildcard.js +1 -1
  682. package/dist/v1/config/agent.js +3 -3
  683. package/dist/v1/config/command.js +3 -3
  684. package/dist/v1/config/mcp.js +6 -6
  685. package/dist/v1/config/migrate.js +97 -97
  686. package/dist/v1/config/permission.js +1 -1
  687. package/dist/v1/config/plugin.js +1 -1
  688. package/dist/v1/config/provider-options.js +1 -1
  689. package/dist/v1/config/provider.js +4 -4
  690. package/dist/variant.js +98 -98
  691. package/dist/vcs/patch.js +1 -1
  692. package/dist/vcs.js +94 -94
  693. package/dist/voice.js +92 -92
  694. package/dist/websearch.js +88 -88
  695. package/dist/wellknown/plugin.js +80 -80
  696. package/dist/wellknown.js +85 -85
  697. package/dist/workspace/driver.js +5 -5
  698. package/dist/workspace/sql.js +1 -1
  699. package/dist/workspace.js +86 -86
  700. package/dist/worktree/directory.js +2 -2
  701. package/dist/worktree/git.js +11 -11
  702. package/dist/worktree/sql.js +5 -5
  703. package/dist/worktree/strategies.js +94 -94
  704. package/dist/worktree.js +101 -101
  705. package/package.json +8 -8
  706. package/dist/chunks/command-0s5yyc28.js +0 -219
  707. package/dist/chunks/command-5dwav50q.js +0 -26
  708. package/dist/chunks/command-eefqnhm8.js +0 -517
  709. package/dist/chunks/command-me0dhgxs.js +0 -18
  710. package/dist/chunks/command-xd0mmx4p.js +0 -261
  711. /package/dist/chunks/{command-0qkdqm5v.js → usage-limits-0qkdqm5v.js} +0 -0
  712. /package/dist/chunks/{command-0zkw76rk.js → usage-limits-0zkw76rk.js} +0 -0
  713. /package/dist/chunks/{command-17cy0kzp.js → usage-limits-17cy0kzp.js} +0 -0
  714. /package/dist/chunks/{command-1cnp2v09.js → usage-limits-1cnp2v09.js} +0 -0
  715. /package/dist/chunks/{command-24dcb14g.js → usage-limits-24dcb14g.js} +0 -0
  716. /package/dist/chunks/{command-2710q6r3.js → usage-limits-2710q6r3.js} +0 -0
  717. /package/dist/chunks/{command-2bv980vf.js → usage-limits-2bv980vf.js} +0 -0
  718. /package/dist/chunks/{command-2c3vjs8z.js → usage-limits-2c3vjs8z.js} +0 -0
  719. /package/dist/chunks/{command-359p4xyc.js → usage-limits-359p4xyc.js} +0 -0
  720. /package/dist/chunks/{command-3asan66x.js → usage-limits-3asan66x.js} +0 -0
  721. /package/dist/chunks/{command-3v8g72cx.js → usage-limits-3v8g72cx.js} +0 -0
  722. /package/dist/chunks/{command-3wcehsnq.js → usage-limits-3wcehsnq.js} +0 -0
  723. /package/dist/chunks/{command-43n2bw4t.js → usage-limits-43n2bw4t.js} +0 -0
  724. /package/dist/chunks/{command-4knz6hnm.js → usage-limits-4knz6hnm.js} +0 -0
  725. /package/dist/chunks/{command-4vcrnpx2.js → usage-limits-4vcrnpx2.js} +0 -0
  726. /package/dist/chunks/{command-4y7fprxs.js → usage-limits-4y7fprxs.js} +0 -0
  727. /package/dist/chunks/{command-53557ph1.js → usage-limits-53557ph1.js} +0 -0
  728. /package/dist/chunks/{command-550bvhaj.js → usage-limits-550bvhaj.js} +0 -0
  729. /package/dist/chunks/{command-5fjb7ams.js → usage-limits-5fjb7ams.js} +0 -0
  730. /package/dist/chunks/{command-5qd3pb7m.js → usage-limits-5qd3pb7m.js} +0 -0
  731. /package/dist/chunks/{command-6prwharc.js → usage-limits-6prwharc.js} +0 -0
  732. /package/dist/chunks/{command-6q2bdcd1.js → usage-limits-6q2bdcd1.js} +0 -0
  733. /package/dist/chunks/{command-7akdwqpd.js → usage-limits-7akdwqpd.js} +0 -0
  734. /package/dist/chunks/{command-7m9af43g.js → usage-limits-7m9af43g.js} +0 -0
  735. /package/dist/chunks/{command-822emrt2.js → usage-limits-822emrt2.js} +0 -0
  736. /package/dist/chunks/{command-84wd9syh.js → usage-limits-84wd9syh.js} +0 -0
  737. /package/dist/chunks/{command-88xbtdfr.js → usage-limits-88xbtdfr.js} +0 -0
  738. /package/dist/chunks/{command-8n3pysct.js → usage-limits-8n3pysct.js} +0 -0
  739. /package/dist/chunks/{command-8wj87zfr.js → usage-limits-8wj87zfr.js} +0 -0
  740. /package/dist/chunks/{command-9a4afbnw.js → usage-limits-9a4afbnw.js} +0 -0
  741. /package/dist/chunks/{command-9rqn6x4v.js → usage-limits-9rqn6x4v.js} +0 -0
  742. /package/dist/chunks/{command-a058387c.js → usage-limits-a058387c.js} +0 -0
  743. /package/dist/chunks/{command-a6k6eb26.js → usage-limits-a6k6eb26.js} +0 -0
  744. /package/dist/chunks/{command-af5trqkr.js → usage-limits-af5trqkr.js} +0 -0
  745. /package/dist/chunks/{command-afrmfg78.js → usage-limits-afrmfg78.js} +0 -0
  746. /package/dist/chunks/{command-aqzs7mqg.js → usage-limits-aqzs7mqg.js} +0 -0
  747. /package/dist/chunks/{command-atq7p7m5.js → usage-limits-atq7p7m5.js} +0 -0
  748. /package/dist/chunks/{command-bkyjaxrp.js → usage-limits-bkyjaxrp.js} +0 -0
  749. /package/dist/chunks/{command-bmr6ed5q.js → usage-limits-bmr6ed5q.js} +0 -0
  750. /package/dist/chunks/{command-cf4snx6d.js → usage-limits-cf4snx6d.js} +0 -0
  751. /package/dist/chunks/{command-cqv5kn06.js → usage-limits-cqv5kn06.js} +0 -0
  752. /package/dist/chunks/{command-cvy3z8tj.js → usage-limits-cvy3z8tj.js} +0 -0
  753. /package/dist/chunks/{command-d9fn303g.js → usage-limits-d9fn303g.js} +0 -0
  754. /package/dist/chunks/{command-d9jj8t3e.js → usage-limits-d9jj8t3e.js} +0 -0
  755. /package/dist/chunks/{command-dajrwvna.js → usage-limits-dajrwvna.js} +0 -0
  756. /package/dist/chunks/{command-dap0rakb.js → usage-limits-dap0rakb.js} +0 -0
  757. /package/dist/chunks/{command-df08tz66.js → usage-limits-df08tz66.js} +0 -0
  758. /package/dist/chunks/{command-dy18nga0.js → usage-limits-dy18nga0.js} +0 -0
  759. /package/dist/chunks/{command-e5kj55wp.js → usage-limits-e5kj55wp.js} +0 -0
  760. /package/dist/chunks/{command-e73j6tqm.js → usage-limits-e73j6tqm.js} +0 -0
  761. /package/dist/chunks/{command-ec1grn59.js → usage-limits-ec1grn59.js} +0 -0
  762. /package/dist/chunks/{command-eh3zwz77.js → usage-limits-eh3zwz77.js} +0 -0
  763. /package/dist/chunks/{command-emrn6kk6.js → usage-limits-emrn6kk6.js} +0 -0
  764. /package/dist/chunks/{command-f0mxakyp.js → usage-limits-f0mxakyp.js} +0 -0
  765. /package/dist/chunks/{command-f6n9ztr4.js → usage-limits-f6n9ztr4.js} +0 -0
  766. /package/dist/chunks/{command-faypxj3z.js → usage-limits-faypxj3z.js} +0 -0
  767. /package/dist/chunks/{command-fd410y7t.js → usage-limits-fd410y7t.js} +0 -0
  768. /package/dist/chunks/{command-g4wezp1m.js → usage-limits-g4wezp1m.js} +0 -0
  769. /package/dist/chunks/{command-g86h250q.js → usage-limits-g86h250q.js} +0 -0
  770. /package/dist/chunks/{command-gebd4c9n.js → usage-limits-gebd4c9n.js} +0 -0
  771. /package/dist/chunks/{command-gftt206x.js → usage-limits-gftt206x.js} +0 -0
  772. /package/dist/chunks/{command-hcxmzztb.js → usage-limits-hcxmzztb.js} +0 -0
  773. /package/dist/chunks/{command-hk9envan.js → usage-limits-hk9envan.js} +0 -0
  774. /package/dist/chunks/{command-j2ntwpah.js → usage-limits-j2ntwpah.js} +0 -0
  775. /package/dist/chunks/{command-j5zkgpj8.js → usage-limits-j5zkgpj8.js} +0 -0
  776. /package/dist/chunks/{command-jjkms2e6.js → usage-limits-jjkms2e6.js} +0 -0
  777. /package/dist/chunks/{command-jr7sbwjy.js → usage-limits-jr7sbwjy.js} +0 -0
  778. /package/dist/chunks/{command-jwfs4k6c.js → usage-limits-jwfs4k6c.js} +0 -0
  779. /package/dist/chunks/{command-jwr30sdr.js → usage-limits-jwr30sdr.js} +0 -0
  780. /package/dist/chunks/{command-jze0r7bz.js → usage-limits-jze0r7bz.js} +0 -0
  781. /package/dist/chunks/{command-jzg6c2d5.js → usage-limits-jzg6c2d5.js} +0 -0
  782. /package/dist/chunks/{command-m18g726c.js → usage-limits-m18g726c.js} +0 -0
  783. /package/dist/chunks/{command-mp448xyj.js → usage-limits-mp448xyj.js} +0 -0
  784. /package/dist/chunks/{command-msx8hqn2.js → usage-limits-msx8hqn2.js} +0 -0
  785. /package/dist/chunks/{command-n05xt0ee.js → usage-limits-n05xt0ee.js} +0 -0
  786. /package/dist/chunks/{command-n3j8tn72.js → usage-limits-n3j8tn72.js} +0 -0
  787. /package/dist/chunks/{command-njntx4h6.js → usage-limits-njntx4h6.js} +0 -0
  788. /package/dist/chunks/{command-pkyv6v7h.js → usage-limits-pkyv6v7h.js} +0 -0
  789. /package/dist/chunks/{command-q3sfg36h.js → usage-limits-q3sfg36h.js} +0 -0
  790. /package/dist/chunks/{command-q74kybfr.js → usage-limits-q74kybfr.js} +0 -0
  791. /package/dist/chunks/{command-qaymkmh1.js → usage-limits-qaymkmh1.js} +0 -0
  792. /package/dist/chunks/{command-qb87gjwd.js → usage-limits-qb87gjwd.js} +0 -0
  793. /package/dist/chunks/{command-qfa1cgps.js → usage-limits-qfa1cgps.js} +0 -0
  794. /package/dist/chunks/{command-qg3g05ea.js → usage-limits-qg3g05ea.js} +0 -0
  795. /package/dist/chunks/{command-qrg20bc0.js → usage-limits-qrg20bc0.js} +0 -0
  796. /package/dist/chunks/{command-rcb2kzg1.js → usage-limits-rcb2kzg1.js} +0 -0
  797. /package/dist/chunks/{command-sdp7kfr6.js → usage-limits-sdp7kfr6.js} +0 -0
  798. /package/dist/chunks/{command-ssg3fenm.js → usage-limits-ssg3fenm.js} +0 -0
  799. /package/dist/chunks/{command-ve7vex1e.js → usage-limits-ve7vex1e.js} +0 -0
  800. /package/dist/chunks/{command-w803qqfp.js → usage-limits-w803qqfp.js} +0 -0
  801. /package/dist/chunks/{command-wc3fc9cn.js → usage-limits-wc3fc9cn.js} +0 -0
  802. /package/dist/chunks/{command-wer8tq1h.js → usage-limits-wer8tq1h.js} +0 -0
  803. /package/dist/chunks/{command-wjj7prxr.js → usage-limits-wjj7prxr.js} +0 -0
  804. /package/dist/chunks/{command-wtztk69x.js → usage-limits-wtztk69x.js} +0 -0
  805. /package/dist/chunks/{command-x0ckcb58.js → usage-limits-x0ckcb58.js} +0 -0
  806. /package/dist/chunks/{command-x61499pn.js → usage-limits-x61499pn.js} +0 -0
  807. /package/dist/chunks/{command-y44na4kk.js → usage-limits-y44na4kk.js} +0 -0
  808. /package/dist/chunks/{command-y8f7s663.js → usage-limits-y8f7s663.js} +0 -0
  809. /package/dist/chunks/{command-ygaqb7jw.js → usage-limits-ygaqb7jw.js} +0 -0
  810. /package/dist/chunks/{command-ym463w8f.js → usage-limits-ym463w8f.js} +0 -0
  811. /package/dist/chunks/{command-z5v4ffb3.js → usage-limits-z5v4ffb3.js} +0 -0
  812. /package/dist/chunks/{command-z9919s4g.js → usage-limits-z9919s4g.js} +0 -0
@@ -1,83 +1,83 @@
1
1
  import {
2
2
  Service87,
3
3
  node91
4
- } from "./command-p17y9zxj.js";
4
+ } from "./usage-limits-qz97qh5p.js";
5
5
  import {
6
6
  Service86,
7
7
  node90
8
- } from "./command-536c1kkr.js";
8
+ } from "./usage-limits-bxpaffak.js";
9
9
  import {
10
10
  create3
11
- } from "./command-vd3b3yk9.js";
11
+ } from "./usage-limits-vd3b3yk9.js";
12
12
  import {
13
- ID10,
14
- Service66,
15
- node68
16
- } from "./command-rpnphm24.js";
13
+ ID12,
14
+ Service75,
15
+ node79
16
+ } from "./usage-limits-emsb7nrx.js";
17
17
  import {
18
18
  llmClient2
19
- } from "./command-p015t6z3.js";
19
+ } from "./usage-limits-p015t6z3.js";
20
20
  import {
21
21
  Service69,
22
- node72
23
- } from "./command-jfemb6dg.js";
22
+ node73
23
+ } from "./usage-limits-6gf3hhvq.js";
24
24
  import {
25
25
  estimate2
26
- } from "./command-8wtp7s3z.js";
26
+ } from "./usage-limits-8wtp7s3z.js";
27
27
  import {
28
28
  SessionEvent2
29
- } from "./command-ec1grn59.js";
29
+ } from "./usage-limits-ec1grn59.js";
30
30
  import {
31
31
  kept2,
32
32
  messageToText2,
33
33
  serializeToolContent2
34
- } from "./command-v2r1d0zg.js";
34
+ } from "./usage-limits-v2r1d0zg.js";
35
35
  import {
36
36
  isNativeCompaction2,
37
37
  load5
38
- } from "./command-bdgfgxkz.js";
38
+ } from "./usage-limits-f9nfcqdq.js";
39
39
  import {
40
40
  toLLMMessages2
41
- } from "./command-zppqv0za.js";
41
+ } from "./usage-limits-ex7z9m54.js";
42
42
  import {
43
43
  outputLimit2,
44
44
  baseTranscript2,
45
45
  unsupportedParts2,
46
46
  boundImages2,
47
- Service35,
48
- node38
49
- } from "./command-vwyfhr0a.js";
47
+ Service27,
48
+ node31
49
+ } from "./usage-limits-xz2v9wfs.js";
50
50
  import {
51
- Service54,
52
- node56
53
- } from "./command-v9f0gyh1.js";
51
+ Service40,
52
+ node42
53
+ } from "./usage-limits-z59pzgfn.js";
54
54
  import {
55
55
  isRetryable2,
56
56
  policy2
57
- } from "./command-8bt0vqrr.js";
57
+ } from "./usage-limits-6jrjvs1q.js";
58
58
  import {
59
59
  toSessionError2,
60
60
  contentFilterError2
61
- } from "./command-44ggx2jg.js";
61
+ } from "./usage-limits-tzhfmb8s.js";
62
62
  import {
63
63
  calculateCost2,
64
64
  record2,
65
65
  add2
66
- } from "./command-r542h3bh.js";
66
+ } from "./usage-limits-r542h3bh.js";
67
67
  import {
68
68
  __export
69
- } from "./command-9rqn6x4v.js";
69
+ } from "./usage-limits-9rqn6x4v.js";
70
70
 
71
71
  // src/session/compaction.ts
72
72
  var exports_compaction2 = {};
73
73
  __export(exports_compaction2, {
74
- Service: () => Service8,
74
+ Service: () => Service10,
75
75
  SessionCompaction: () => exports_compaction2,
76
76
  buildPrompt: () => buildPrompt2,
77
77
  estimateContext: () => estimateContext2,
78
78
  estimatePrompt: () => estimatePrompt2,
79
79
  layer: () => layer7,
80
- node: () => node10,
80
+ node: () => node12,
81
81
  recentUserMessages: () => recentUserMessages2
82
82
  });
83
83
  import {
@@ -93,7 +93,7 @@ import {
93
93
  } from "@opencode/ai/effect";
94
94
  import { makeLocationNode } from "@opencode/util/effect/app-node";
95
95
  import { Context, Effect, Exit, Fiber, Layer, Result, Scope, Stream } from "effect";
96
- class Service8 extends Context.Service()("@opencode/SessionCompaction") {
96
+ class Service10 extends Context.Service()("@opencode/SessionCompaction") {
97
97
  }
98
98
  var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
99
99
  var SHRINK_STEPS = [0.85, 0.7, 0.5, 0.35];
@@ -184,14 +184,14 @@ var buildPrompt2 = (update, legacy = false) => {
184
184
  };
185
185
  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.";
186
186
  var LEGACY_HEADING = "## Additional Context";
187
- var layer7 = Layer.effect(Service8, Effect.gen(function* () {
188
- const agents = yield* Service66;
187
+ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
188
+ const agents = yield* Service75;
189
189
  const bus = yield* Service86;
190
190
  const llm = yield* LLMClient.Service;
191
191
  const catalog = yield* Service69;
192
- const models = yield* Service54;
192
+ const models = yield* Service40;
193
193
  const db = (yield* Service87).db;
194
- const requests = yield* Service35;
194
+ const requests = yield* Service27;
195
195
  const scope = yield* Scope.Scope;
196
196
  const precomputed = new Map;
197
197
  const state = create3({
@@ -204,7 +204,7 @@ var layer7 = Layer.effect(Service8, Effect.gen(function* () {
204
204
  })
205
205
  });
206
206
  const selectModel = Effect.fnUntraced(function* (context, buffer, native) {
207
- const agent = native ? undefined : yield* agents.get(ID10.make("compaction"));
207
+ const agent = native ? undefined : yield* agents.get(ID12.make("compaction"));
208
208
  const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
209
209
  return;
210
210
  })))) ?? context.model;
@@ -574,17 +574,17 @@ var layer7 = Layer.effect(Service8, Effect.gen(function* () {
574
574
  }, { metadata: outcome.metadata });
575
575
  return { status: "completed" };
576
576
  });
577
- return Service8.of({
577
+ return Service10.of({
578
578
  transform: state.transform,
579
579
  reload: state.reload,
580
580
  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)))),
581
581
  precompute
582
582
  });
583
583
  }));
584
- var node10 = makeLocationNode({
585
- service: Service8,
584
+ var node12 = makeLocationNode({
585
+ service: Service10,
586
586
  layer: layer7,
587
- deps: [node68, node90, node91, llmClient2, node72, node38, node56]
587
+ deps: [node79, node90, node91, llmClient2, node73, node31, node42]
588
588
  });
589
589
  var heldIndex = (held, context) => {
590
590
  if (held.firstID !== context.messages[0]?.id || held.initial !== context.initial)
@@ -771,4 +771,4 @@ var estimateMedia = (mime) => {
771
771
  return 0;
772
772
  };
773
773
 
774
- export { Service8, buildPrompt2, layer7, node10, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
774
+ export { Service10, buildPrompt2, layer7, node12, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./usage-limits-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
6
  var exports_permission = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  makeWithDefaults2
3
- } from "./command-k8yb96yz.js";
3
+ } from "./usage-limits-zqhzzkgw.js";
4
4
  import {
5
5
  apply3
6
- } from "./command-jn0nm8ve.js";
6
+ } from "./usage-limits-2p2332jf.js";
7
7
  import {
8
8
  __export
9
- } from "./command-9rqn6x4v.js";
9
+ } from "./usage-limits-9rqn6x4v.js";
10
10
 
11
11
  // src/database/database.ts
12
12
  var exports_database = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./usage-limits-9rqn6x4v.js";
4
4
 
5
5
  // src/database/sqlite.ts
6
6
  var exports_sqlite = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  Key3,
3
3
  removed2,
4
- make19,
4
+ make23,
5
5
  diffByKey2
6
- } from "./command-jchrqzf6.js";
6
+ } from "./usage-limits-jefw9j3y.js";
7
7
  import {
8
- ID6,
8
+ ID8,
9
9
  Name2,
10
10
  available3,
11
- Service62,
12
- node64
13
- } from "./command-rc5p4tbx.js";
11
+ Service70,
12
+ node74
13
+ } from "./usage-limits-gycv8rtq.js";
14
14
  import {
15
15
  __export
16
- } from "./command-9rqn6x4v.js";
16
+ } from "./usage-limits-9rqn6x4v.js";
17
17
 
18
18
  // src/skill/instructions.ts
19
- var exports_instructions5 = {};
20
- __export(exports_instructions5, {
21
- Service: () => Service39,
22
- SkillInstructions: () => exports_instructions5,
23
- node: () => node42
19
+ var exports_instructions2 = {};
20
+ __export(exports_instructions2, {
21
+ Service: () => Service23,
22
+ SkillInstructions: () => exports_instructions2,
23
+ node: () => node27
24
24
  });
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
27
  var Summary = Schema.Struct({
28
- id: ID6,
28
+ id: ID8,
29
29
  name: Name2,
30
30
  description: Schema.String
31
31
  });
@@ -64,14 +64,14 @@ var update = (previous, current) => {
64
64
  `);
65
65
  };
66
66
 
67
- class Service39 extends Context.Service()("@opencode/SkillInstructions") {
67
+ class Service23 extends Context.Service()("@opencode/SkillInstructions") {
68
68
  }
69
- var layer = Layer.effect(Service39, Effect.gen(function* () {
70
- const skills = yield* Service62;
71
- return Service39.of({
69
+ var layer = Layer.effect(Service23, Effect.gen(function* () {
70
+ const skills = yield* Service70;
71
+ return Service23.of({
72
72
  load: Effect.fn("SkillInstructions.load")(function* (permissions) {
73
73
  const available = available3(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
74
- return make19({
74
+ return make23({
75
75
  key: Key3.make("core/skill-guidance"),
76
76
  codec: Schema.toCodecJson(Schema.Array(Summary)),
77
77
  read: Effect.succeed(available.length === 0 ? removed2 : available),
@@ -84,6 +84,6 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
84
84
  })
85
85
  });
86
86
  }));
87
- var node42 = makeLocationNode({ service: Service39, layer, deps: [node64] });
87
+ var node27 = makeLocationNode({ service: Service23, layer, deps: [node74] });
88
88
 
89
- export { Service39, node42, exports_instructions5 };
89
+ export { Service23, node27, exports_instructions2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./usage-limits-9rqn6x4v.js";
4
4
 
5
5
  // src/session/usage.ts
6
6
  var exports_usage = {};
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./command-536c1kkr.js";
4
+ } from "./usage-limits-bxpaffak.js";
5
5
  import {
6
6
  create3
7
- } from "./command-vd3b3yk9.js";
7
+ } from "./usage-limits-vd3b3yk9.js";
8
8
  import {
9
9
  __export
10
- } from "./command-9rqn6x4v.js";
10
+ } from "./usage-limits-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
- var exports_command5 = {};
14
- __export(exports_command5, {
15
- Command: () => exports_command5,
16
- Event: () => Event18,
13
+ var exports_command4 = {};
14
+ __export(exports_command4, {
15
+ Command: () => exports_command4,
16
+ Event: () => Event5,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info26,
19
- NotFoundError: () => NotFoundError11,
20
- Service: () => Service78,
21
- layer: () => layer28,
22
- node: () => node81
18
+ Info: () => Info6,
19
+ NotFoundError: () => NotFoundError3,
20
+ Service: () => Service35,
21
+ layer: () => layer17,
22
+ node: () => node38
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event18 } from "@opencode/schema/command";
28
- var Info26 = Command.Info;
27
+ import { Event as Event5 } from "@opencode/schema/command";
28
+ var Info6 = Command.Info;
29
29
 
30
- class NotFoundError11 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError3 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service78 extends Context.Service()("@opencode/Command") {
42
+ class Service35 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer28 = Layer.effect(Service78, Effect.gen(function* () {
44
+ var layer17 = Layer.effect(Service35, Effect.gen(function* () {
45
45
  const bus = yield* Service86;
46
46
  const state = create3({
47
47
  name: "command",
@@ -51,11 +51,11 @@ var layer28 = Layer.effect(Service78, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info26.make({
54
+ const info = (definition) => Info6.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service78.of({
58
+ return Service35.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,14 +66,14 @@ var layer28 = Layer.effect(Service78, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError11({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError3({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node81 = makeLocationNode({
75
- service: Service78,
76
- layer: layer28,
74
+ var node38 = makeLocationNode({
75
+ service: Service35,
76
+ layer: layer17,
77
77
  deps: [node90]
78
78
  });
79
79
  function errorMessage(error) {
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info26, NotFoundError11, ExecutionError2, Service78, layer28, node81, exports_command5, Event18 };
89
+ export { Info6, NotFoundError3, ExecutionError2, Service35, layer17, node38, exports_command4, Event5 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./usage-limits-9rqn6x4v.js";
4
4
 
5
5
  // src/vcs/patch.ts
6
6
  var exports_patch2 = {};
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./usage-limits-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured10,
11
- layer: () => layer26,
10
+ configured: () => configured4,
11
+ layer: () => layer20,
12
12
  make: () => make20,
13
- node: () => node71,
13
+ node: () => node43,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
@@ -28,8 +28,8 @@ function make20(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer26 = (input) => Layer.succeed(Metadata2, make20(input));
32
- var configured10 = (input) => makeGlobalNode({ service: Metadata2, layer: layer26(input), deps: [] });
33
- var node71 = configured10();
31
+ var layer20 = (input) => Layer.succeed(Metadata2, make20(input));
32
+ var configured4 = (input) => makeGlobalNode({ service: Metadata2, layer: layer20(input), deps: [] });
33
+ var node43 = configured4();
34
34
 
35
- export { Metadata2, make20, useragent2, layer26, configured10, node71, exports_app };
35
+ export { Metadata2, make20, useragent2, layer20, configured4, node43, exports_app };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./command-8jztxfpf.js";
3
+ } from "./usage-limits-x8nvjgx0.js";
4
4
  import {
5
- Service77,
6
- node80
7
- } from "./command-kw6cmkwk.js";
5
+ Service54,
6
+ node57
7
+ } from "./usage-limits-3sph5gmk.js";
8
8
  import {
9
9
  __export
10
- } from "./command-9rqn6x4v.js";
10
+ } from "./usage-limits-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service28,
17
- node: () => node31,
16
+ Service: () => Service17,
17
+ node: () => node19,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service28 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service17 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service28, Effect.gen(function* () {
38
- const environment = yield* Service77;
37
+ var layer = Layer.effect(Service17, Effect.gen(function* () {
38
+ const environment = yield* Service54;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service28.of({ withLock, write, writeTextPreservingBom });
59
+ return Service17.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node31 = makeLocationNode({ service: Service28, layer, deps: [node80] });
61
+ var node19 = makeLocationNode({ service: Service17, layer, deps: [node57] });
62
62
 
63
- export { Service28, readText2, syncTextBom2, node31, exports_file_mutation };
63
+ export { Service17, readText2, syncTextBom2, node19, exports_file_mutation };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./usage-limits-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -1,43 +1,43 @@
1
1
  import {
2
2
  Service87
3
- } from "./command-p17y9zxj.js";
3
+ } from "./usage-limits-qz97qh5p.js";
4
4
  import {
5
- Service53
6
- } from "./command-qah7t4da.js";
5
+ Service39
6
+ } from "./usage-limits-9cbnrx2n.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./command-me0dhgxs.js";
9
+ } from "./usage-limits-z7bdqmx5.js";
10
10
  import {
11
11
  preview2
12
- } from "./command-bdgfgxkz.js";
12
+ } from "./usage-limits-f9nfcqdq.js";
13
13
  import {
14
14
  baseTranscript2
15
- } from "./command-vwyfhr0a.js";
15
+ } from "./usage-limits-xz2v9wfs.js";
16
16
  import {
17
- Service32
18
- } from "./command-7gk9js8e.js";
17
+ Service22
18
+ } from "./usage-limits-dy2frryf.js";
19
19
  import {
20
20
  retry2
21
- } from "./command-9cx9sm2q.js";
21
+ } from "./usage-limits-9cx9sm2q.js";
22
22
  import {
23
23
  __export
24
- } from "./command-9rqn6x4v.js";
24
+ } from "./usage-limits-9rqn6x4v.js";
25
25
 
26
26
  // src/session/generate.ts
27
- var exports_generate2 = {};
28
- __export(exports_generate2, {
29
- SessionGenerate: () => exports_generate2,
27
+ var exports_generate = {};
28
+ __export(exports_generate, {
29
+ SessionGenerate: () => exports_generate,
30
30
  generate: () => generate2
31
31
  });
32
32
  import { LLMClient, Message } from "@opencode/ai/effect";
33
33
  import { Effect } from "effect";
34
34
  var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
35
- const instances = yield* Service53;
35
+ const instances = yield* Service39;
36
36
  const database = yield* Service87;
37
37
  const llm = yield* LLMClient.Service;
38
38
  return yield* Effect.gen(function* () {
39
39
  yield* awaitActivation2;
40
- const context = yield* Service32;
40
+ const context = yield* Service22;
41
41
  const selection = yield* context.select(input.session.id);
42
42
  const model = yield* context.resolveModel(selection.session);
43
43
  const history = yield* preview2(database.db, selection.session.id, selection.instructions, model.ref);
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
71
71
  }).pipe(instances.provide(input.session));
72
72
  });
73
73
 
74
- export { generate2, exports_generate2 };
74
+ export { generate2, exports_generate };