@opencode/core 0.0.0-dev-20807 → 0.0.0-dev-20813

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 (792) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -84
  3. package/dist/aisdk-native.js +91 -90
  4. package/dist/aisdk.js +96 -95
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -74
  7. package/dist/chunks/{form-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
  8. package/dist/chunks/{form-qne3fa44.js → tool-0r3c1bmw.js} +5 -5
  9. package/dist/chunks/{form-0vbcp93d.js → tool-0vbcp93d.js} +2 -2
  10. package/dist/chunks/{form-6hjtb7g9.js → tool-0w22njrp.js} +4 -4
  11. package/dist/chunks/{form-gyqy5ynx.js → tool-1azc6dcz.js} +12 -12
  12. package/dist/chunks/{form-2kgbfk35.js → tool-1fj0xetq.js} +5 -5
  13. package/dist/chunks/{form-6ar05cbm.js → tool-1hs63qs5.js} +22 -22
  14. package/dist/chunks/{form-7hhqs9ev.js → tool-1yd7h3h8.js} +11 -11
  15. package/dist/chunks/{form-nceb7tg2.js → tool-2ap2y1fd.js} +22 -22
  16. package/dist/chunks/{form-6a4apkvg.js → tool-2hbmtk01.js} +16 -16
  17. package/dist/chunks/{form-vxywbpnc.js → tool-2m2pwtqz.js} +8 -8
  18. package/dist/chunks/{form-ps9w4rmp.js → tool-2r0rtpea.js} +5 -5
  19. package/dist/chunks/{form-76ns3xxg.js → tool-2v35nvf1.js} +3 -3
  20. package/dist/chunks/{form-2vvh33eb.js → tool-2vvh33eb.js} +2 -2
  21. package/dist/chunks/{form-37yqfbeb.js → tool-2xt8eqef.js} +31 -31
  22. package/dist/chunks/{form-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
  23. package/dist/chunks/{form-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
  24. package/dist/chunks/{form-3hwn7j4h.js → tool-3hwn7j4h.js} +2 -2
  25. package/dist/chunks/{form-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
  26. package/dist/chunks/{form-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
  27. package/dist/chunks/{form-sr73km76.js → tool-3wg2zg1h.js} +21 -21
  28. package/dist/chunks/{form-ykmg72ng.js → tool-3zdrd34z.js} +35 -35
  29. package/dist/chunks/{form-3zsf4n22.js → tool-3zsf4n22.js} +1 -1
  30. package/dist/chunks/{form-gs3xh0nm.js → tool-425tvsky.js} +32 -32
  31. package/dist/chunks/{form-4dh5ta86.js → tool-43g0zkdb.js} +4 -4
  32. package/dist/chunks/{form-2wyf4erf.js → tool-45m1xa6s.js} +20 -20
  33. package/dist/chunks/{form-0v4jh5wh.js → tool-4ecb23ee.js} +29 -29
  34. package/dist/chunks/{form-e4aj21xj.js → tool-4gzj7c1t.js} +338 -338
  35. package/dist/chunks/{form-2ccvkpx1.js → tool-4ts7tf6z.js} +2 -2
  36. package/dist/chunks/{form-18nxemwk.js → tool-50ya55tv.js} +3 -3
  37. package/dist/chunks/{form-3thkjdtf.js → tool-54zp89xv.js} +24 -24
  38. package/dist/chunks/{form-x3gx8603.js → tool-554twcs9.js} +8 -8
  39. package/dist/chunks/{form-sr781ga4.js → tool-57ht3x3y.js} +18 -18
  40. package/dist/chunks/{form-azfhg348.js → tool-58t9ctfh.js} +54 -50
  41. package/dist/chunks/{form-b3cwmgw3.js → tool-5dk99411.js} +9 -9
  42. package/dist/chunks/{form-5m9w47nd.js → tool-5m9w47nd.js} +1 -1
  43. package/dist/chunks/{form-e3qxr5gk.js → tool-5qd3pb7m.js} +2 -2
  44. package/dist/chunks/{form-7td7z3fp.js → tool-62e165w1.js} +18 -18
  45. package/dist/chunks/{form-qjr91pwy.js → tool-6vzsg2xk.js} +20 -20
  46. package/dist/chunks/{form-6xb47vfp.js → tool-6xb47vfp.js} +1 -1
  47. package/dist/chunks/{form-82v73sw7.js → tool-72sxpf59.js} +3 -3
  48. package/dist/chunks/{form-34cd5hh2.js → tool-7ajnhpk1.js} +39 -39
  49. package/dist/chunks/{form-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
  50. package/dist/chunks/{form-7dqw4kz8.js → tool-7dqw4kz8.js} +1 -1
  51. package/dist/chunks/{form-bpk5m3dg.js → tool-7jyc1k1k.js} +33 -33
  52. package/dist/chunks/{form-ap1f89ae.js → tool-7qk8rd46.js} +16 -16
  53. package/dist/chunks/{form-fqk6jatp.js → tool-7ttfahrj.js} +25 -25
  54. package/dist/chunks/{form-vreqx49f.js → tool-7v5jhnkv.js} +30 -30
  55. package/dist/chunks/{form-0zjqdwpn.js → tool-7vnvvjv2.js} +32 -32
  56. package/dist/chunks/{form-g32fphz4.js → tool-81mfchgn.js} +11 -11
  57. package/dist/chunks/{form-84txncab.js → tool-84txncab.js} +1 -1
  58. package/dist/chunks/{form-abywgaa9.js → tool-85y5yndw.js} +84 -54
  59. package/dist/chunks/{form-za1wwd1x.js → tool-89r43ct5.js} +13 -13
  60. package/dist/chunks/{form-tcezcvh9.js → tool-89znhe33.js} +4 -4
  61. package/dist/chunks/{form-enrvf7r1.js → tool-8a44f7xw.js} +23 -23
  62. package/dist/chunks/{form-zqzfpn6k.js → tool-8c84x96a.js} +20 -20
  63. package/dist/chunks/{form-00rv01cy.js → tool-8dpb97pb.js} +3 -3
  64. package/dist/chunks/{form-b6sscvmf.js → tool-8f47ttfq.js} +53 -53
  65. package/dist/chunks/{form-3dr95xgy.js → tool-8g8wt927.js} +63 -63
  66. package/dist/chunks/{form-8m6m0r52.js → tool-8m6m0r52.js} +1 -1
  67. package/dist/chunks/{form-90m8vajs.js → tool-8pcna3e1.js} +191 -191
  68. package/dist/chunks/{form-w36wqzqr.js → tool-8sgggatz.js} +11 -11
  69. package/dist/chunks/{form-0v7n9ydc.js → tool-8we822j0.js} +9 -9
  70. package/dist/chunks/{form-dta6ba7f.js → tool-8xddy4fd.js} +17 -17
  71. package/dist/chunks/{form-bw8hs0dd.js → tool-8xxg8z7m.js} +6 -6
  72. package/dist/chunks/{form-ywwzatvd.js → tool-8zkm93f1.js} +14 -14
  73. package/dist/chunks/{form-pcz7nyx7.js → tool-925vt3jd.js} +27 -27
  74. package/dist/chunks/{form-7rwqf82v.js → tool-9c3np669.js} +8 -8
  75. package/dist/chunks/{form-r939q9f2.js → tool-9ee6s4n8.js} +20 -20
  76. package/dist/chunks/{form-452whvem.js → tool-9f33m5nn.js} +20 -20
  77. package/dist/chunks/{form-5yzzbxa7.js → tool-9hn6k4tm.js} +8 -8
  78. package/dist/chunks/{form-1z18ck0n.js → tool-9kr929zm.js} +9 -9
  79. package/dist/chunks/{form-t0ewadmb.js → tool-9sdheasx.js} +27 -27
  80. package/dist/chunks/{form-sa0etwzp.js → tool-9tfg4qpg.js} +32 -32
  81. package/dist/chunks/{form-1bewkv54.js → tool-a19tekra.js} +20 -20
  82. package/dist/chunks/{form-56x8a31a.js → tool-a5xp7zm4.js} +5 -5
  83. package/dist/chunks/{form-0mfehv6g.js → tool-a5y52ckt.js} +10 -10
  84. package/dist/chunks/{form-qpg4nhh5.js → tool-a6a0xyhp.js} +11 -11
  85. package/dist/chunks/{form-cps6211c.js → tool-abv7bnsr.js} +7 -7
  86. package/dist/chunks/{form-e2293ryn.js → tool-arnz58tr.js} +30 -30
  87. package/dist/chunks/{form-0p0qkxk2.js → tool-at5p6ayt.js} +33 -33
  88. package/dist/chunks/{form-nswh99f5.js → tool-atf3qpjr.js} +5 -5
  89. package/dist/chunks/{form-ed0hxk4d.js → tool-aw87ckgg.js} +24 -24
  90. package/dist/chunks/{form-tk22tqem.js → tool-axyyyrhn.js} +7 -7
  91. package/dist/chunks/{form-mx0szq0w.js → tool-b0j0nxe0.js} +11 -11
  92. package/dist/chunks/{form-6qmwbcde.js → tool-b279fhh5.js} +16 -16
  93. package/dist/chunks/{form-b3f8fkhc.js → tool-b3f8fkhc.js} +2 -2
  94. package/dist/chunks/{form-346kzjtb.js → tool-b6cwqfv7.js} +4 -4
  95. package/dist/chunks/{form-nz5a17rr.js → tool-bd4cefys.js} +43 -43
  96. package/dist/chunks/{form-ynmknp8q.js → tool-bfegkxfd.js} +11 -11
  97. package/dist/chunks/{form-5fec3t3w.js → tool-bmr56wjg.js} +9 -9
  98. package/dist/chunks/tool-bne3pjzh.js +26 -0
  99. package/dist/chunks/{form-dd3626pv.js → tool-bns0etj0.js} +17 -17
  100. package/dist/chunks/{form-rd2n1npt.js → tool-bq7fwdt7.js} +25 -25
  101. package/dist/chunks/{form-qrvrewsy.js → tool-bsxq6r4b.js} +10 -10
  102. package/dist/chunks/{form-skwpzzw0.js → tool-btks0zdn.js} +10 -10
  103. package/dist/chunks/{form-9e5bzkjp.js → tool-c1fqxshp.js} +3 -3
  104. package/dist/chunks/{form-rdm3yed2.js → tool-c7kyxnph.js} +43 -43
  105. package/dist/chunks/{form-xsbkytk1.js → tool-c96a6g06.js} +9 -9
  106. package/dist/chunks/{form-n6tn6hrh.js → tool-c9b8trf9.js} +35 -35
  107. package/dist/chunks/{form-jbyejpvw.js → tool-d2bxdv99.js} +20 -20
  108. package/dist/chunks/{form-ck9627yz.js → tool-d65vh0bp.js} +22 -22
  109. package/dist/chunks/{form-qhzmnskm.js → tool-dhhncb1a.js} +13 -13
  110. package/dist/chunks/{form-6qcetts1.js → tool-dmy9ph2f.js} +23 -23
  111. package/dist/chunks/{form-7g0z4cv8.js → tool-dzcfmz1e.js} +8 -8
  112. package/dist/chunks/{form-vwzv7zsf.js → tool-e2xzawa4.js} +11 -11
  113. package/dist/chunks/{form-hpvvz0t7.js → tool-e46pc0p0.js} +11 -11
  114. package/dist/chunks/{form-8y2wjat6.js → tool-e5xxn5fd.js} +42 -42
  115. package/dist/chunks/{form-eej6y6fw.js → tool-eej6y6fw.js} +2 -2
  116. package/dist/chunks/{form-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
  117. package/dist/chunks/{form-vrzt526f.js → tool-eh6ej367.js} +5 -5
  118. package/dist/chunks/{form-b8q3avcz.js → tool-ek7jr3ns.js} +27 -27
  119. package/dist/chunks/{form-hhyv66vq.js → tool-eka1fpr9.js} +8 -8
  120. package/dist/chunks/{form-vvtt3r92.js → tool-emtf3agc.js} +15 -15
  121. package/dist/chunks/{form-c0swgjqp.js → tool-f146z90h.js} +22 -22
  122. package/dist/chunks/{form-5dkn69vz.js → tool-f29mbr7f.js} +4 -4
  123. package/dist/chunks/{form-b4gj2w69.js → tool-fpgft077.js} +18 -18
  124. package/dist/chunks/{form-qa3qhgw8.js → tool-fqb2p7cx.js} +4 -4
  125. package/dist/chunks/{form-vzjdnfs3.js → tool-fsmtef63.js} +1 -1
  126. package/dist/chunks/{form-d4he2qe1.js → tool-ft3hqk2c.js} +9 -9
  127. package/dist/chunks/{form-kgsn71zb.js → tool-fyd6zf3q.js} +96 -96
  128. package/dist/chunks/{form-sfvmd51z.js → tool-g0wjp6rh.js} +35 -35
  129. package/dist/chunks/{form-jb9trc97.js → tool-g740sh9d.js} +11 -11
  130. package/dist/chunks/{form-t550f9t1.js → tool-gbt6w4kb.js} +6 -6
  131. package/dist/chunks/{form-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
  132. package/dist/chunks/{form-5prq62k1.js → tool-gfkgxe8r.js} +26 -26
  133. package/dist/chunks/{form-byxz4q2b.js → tool-gjb7k4gb.js} +6 -6
  134. package/dist/chunks/{form-gk8qb678.js → tool-gk8qb678.js} +1 -1
  135. package/dist/chunks/{form-hes7g59n.js → tool-gn6q0njp.js} +30 -30
  136. package/dist/chunks/{form-429sx3jw.js → tool-grg8548d.js} +18 -18
  137. package/dist/chunks/{form-p6mefd3v.js → tool-gvp3we1m.js} +24 -24
  138. package/dist/chunks/{form-9bwjtz2n.js → tool-gvtjjnmn.js} +29 -29
  139. package/dist/chunks/{form-hqs8cgch.js → tool-gwb58t0j.js} +5 -5
  140. package/dist/chunks/{form-4jk4fvfv.js → tool-h2tk0fkt.js} +50 -42
  141. package/dist/chunks/{form-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
  142. package/dist/chunks/{form-h7s7r6s9.js → tool-h7s7r6s9.js} +2 -2
  143. package/dist/chunks/{form-v0es1rhs.js → tool-hg3614cy.js} +9 -9
  144. package/dist/chunks/{form-hgz4x7wa.js → tool-hgz4x7wa.js} +1 -1
  145. package/dist/chunks/{form-rc0w2xfj.js → tool-hqsvs4zs.js} +14 -14
  146. package/dist/chunks/tool-ht5y0zrb.js +18 -0
  147. package/dist/chunks/{form-7sfm1t78.js → tool-hw1d7c72.js} +51 -51
  148. package/dist/chunks/{form-vp0gkghg.js → tool-j16v8rv3.js} +11 -11
  149. package/dist/chunks/{form-j56e64zr.js → tool-j56e64zr.js} +1 -1
  150. package/dist/chunks/{form-776eqtx9.js → tool-j5d5zpn1.js} +14 -14
  151. package/dist/chunks/{form-h9pnpq88.js → tool-j8m1p4p1.js} +4 -4
  152. package/dist/chunks/{form-y78tw1r3.js → tool-jb7jfkvq.js} +13 -13
  153. package/dist/chunks/{form-s5nkw20k.js → tool-jxk8k1h3.js} +25 -25
  154. package/dist/chunks/{form-nreerqaq.js → tool-kbjks3k1.js} +18 -18
  155. package/dist/chunks/{form-fxaymqdw.js → tool-khmqacep.js} +4 -4
  156. package/dist/chunks/{form-dda0p7y7.js → tool-kj0cy399.js} +9 -9
  157. package/dist/chunks/tool-kjvjttp2.js +253 -0
  158. package/dist/chunks/{form-3nw81xsb.js → tool-kmreqacc.js} +34 -34
  159. package/dist/chunks/{form-rwvz118r.js → tool-kmvrwyj0.js} +18 -18
  160. package/dist/chunks/{form-8g79a0vq.js → tool-kzd9jey1.js} +8 -8
  161. package/dist/chunks/tool-m18g726c.js +13 -0
  162. package/dist/chunks/{form-m3fdjcah.js → tool-m3fdjcah.js} +1 -1
  163. package/dist/chunks/{form-aabqwq3c.js → tool-m7sy47b1.js} +18 -18
  164. package/dist/chunks/{form-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
  165. package/dist/chunks/{form-hnecbn5a.js → tool-mmrg9aqf.js} +13 -13
  166. package/dist/chunks/{form-62j05kx1.js → tool-mq656cac.js} +23 -23
  167. package/dist/chunks/{form-twhwxvpf.js → tool-n5gnndyc.js} +5 -5
  168. package/dist/chunks/{form-b49r4qmh.js → tool-n67mmnz4.js} +9 -9
  169. package/dist/chunks/{form-bz3n6346.js → tool-n7gvkp58.js} +3 -3
  170. package/dist/chunks/{form-j5w2yx54.js → tool-n8dykrk6.js} +6 -6
  171. package/dist/chunks/{form-gkbbrz3n.js → tool-n9dy47xj.js} +12 -12
  172. package/dist/chunks/{form-wq47jxww.js → tool-ncqwz9m4.js} +4 -4
  173. package/dist/chunks/{form-r9w3djhf.js → tool-njhqdk9p.js} +9 -9
  174. package/dist/chunks/{form-djg17hnq.js → tool-nxxv0fmq.js} +1 -1
  175. package/dist/chunks/{form-76bfnege.js → tool-p2kce4yd.js} +16 -16
  176. package/dist/chunks/{form-q7cwvqv2.js → tool-p8vvgsz3.js} +13 -13
  177. package/dist/chunks/{form-5dyt76wc.js → tool-p91ykgce.js} +14 -14
  178. package/dist/chunks/{form-9dr7s7bj.js → tool-pgg7zhs7.js} +13 -13
  179. package/dist/chunks/{form-9tv2jn71.js → tool-ph8a80xg.js} +47 -47
  180. package/dist/chunks/{form-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
  181. package/dist/chunks/{form-pknna89w.js → tool-pknna89w.js} +1 -1
  182. package/dist/chunks/{form-34c7v6d4.js → tool-pkyv6v7h.js} +1 -0
  183. package/dist/chunks/{form-te7n14t2.js → tool-pv8mdw9p.js} +19 -19
  184. package/dist/chunks/{form-g0nr56tp.js → tool-pxeepxyz.js} +15 -15
  185. package/dist/chunks/{form-7fkffz83.js → tool-py3kkmfq.js} +4 -4
  186. package/dist/chunks/{form-gdwygsj8.js → tool-pyavekn7.js} +5 -5
  187. package/dist/chunks/{form-zpk4cdpr.js → tool-pzc00pfe.js} +21 -21
  188. package/dist/chunks/{form-0j77ygfz.js → tool-q0xm7vwc.js} +6 -6
  189. package/dist/chunks/{form-jhdf29st.js → tool-q5e7cmwt.js} +1 -1
  190. package/dist/chunks/{form-ff52ws4f.js → tool-q73a5vx6.js} +26 -26
  191. package/dist/chunks/{form-e2c4hctk.js → tool-q7g7dxqg.js} +13 -13
  192. package/dist/chunks/{form-jvhddpw9.js → tool-q91aa15s.js} +3 -3
  193. package/dist/chunks/{form-4zz8q1dy.js → tool-qbbpc6wm.js} +74 -74
  194. package/dist/chunks/{form-hsvj78er.js → tool-qjjb6mfv.js} +59 -59
  195. package/dist/chunks/{form-xsqdc333.js → tool-qn0k908c.js} +25 -25
  196. package/dist/chunks/{form-qnc92qwc.js → tool-qnc92qwc.js} +1 -1
  197. package/dist/chunks/{form-yxr65j3v.js → tool-qp5x3va9.js} +16 -16
  198. package/dist/chunks/{form-qsdy395h.js → tool-qsdy395h.js} +1 -1
  199. package/dist/chunks/{form-fa87y3b2.js → tool-qvyrhn6e.js} +15 -15
  200. package/dist/chunks/{form-0e3se835.js → tool-qz5qj01d.js} +9 -9
  201. package/dist/chunks/{form-5asn6ncy.js → tool-r1xx1spa.js} +32 -32
  202. package/dist/chunks/{form-8nx8bvz8.js → tool-r4kpcnjj.js} +22 -22
  203. package/dist/chunks/{form-54ma36ye.js → tool-r94pvvab.js} +4 -4
  204. package/dist/chunks/{form-wf4634q4.js → tool-r975dkdj.js} +11 -11
  205. package/dist/chunks/{form-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
  206. package/dist/chunks/{form-71az546q.js → tool-rert0e01.js} +2 -2
  207. package/dist/chunks/{form-gfxj4jwb.js → tool-rg9ywjz0.js} +11 -11
  208. package/dist/chunks/{form-h2b79v29.js → tool-rj3eygr5.js} +3 -2
  209. package/dist/chunks/{form-2hg7qvzt.js → tool-rmm45jmv.js} +5 -5
  210. package/dist/chunks/{form-kffe7xqh.js → tool-rsjzvmnv.js} +27 -27
  211. package/dist/chunks/{form-v2926xj5.js → tool-s0bm3vva.js} +4 -4
  212. package/dist/chunks/{form-0m4y979k.js → tool-s1bpbtq5.js} +4 -4
  213. package/dist/chunks/{form-qehvaept.js → tool-s6xmpaa6.js} +25 -25
  214. package/dist/chunks/{form-z4v10rbr.js → tool-s9k1drx9.js} +22 -22
  215. package/dist/chunks/{form-azyewnfm.js → tool-s9yqr8vf.js} +2 -2
  216. package/dist/chunks/{form-1dvck2a7.js → tool-sa8ekw3f.js} +2 -2
  217. package/dist/chunks/{form-mcmsq1ma.js → tool-sjd53xnz.js} +15 -15
  218. package/dist/chunks/{form-73kdj4zj.js → tool-sk5hrgtc.js} +8 -8
  219. package/dist/chunks/{form-fgzgh5km.js → tool-spv785rj.js} +38 -38
  220. package/dist/chunks/{form-r2z489rp.js → tool-sxcaecc0.js} +3 -3
  221. package/dist/chunks/{form-tz1x93sf.js → tool-t0bwv2mg.js} +8 -8
  222. package/dist/chunks/{form-yd332jx1.js → tool-t1c79nbf.js} +25 -25
  223. package/dist/chunks/{form-dz82ykz5.js → tool-t2xt9v1m.js} +28 -28
  224. package/dist/chunks/{form-gpc7sdbq.js → tool-t38scxd0.js} +11 -11
  225. package/dist/chunks/{form-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
  226. package/dist/chunks/{form-1d6vvqtz.js → tool-tc6f0aex.js} +22 -22
  227. package/dist/chunks/{form-5me3ew8t.js → tool-tczqeqc0.js} +36 -36
  228. package/dist/chunks/{form-tdstcens.js → tool-tdstcens.js} +1 -1
  229. package/dist/chunks/{form-m21a3qzg.js → tool-tezksqm5.js} +34 -34
  230. package/dist/chunks/{form-eq1ww8dg.js → tool-trtdj8pg.js} +4 -4
  231. package/dist/chunks/{form-6xnkjpvb.js → tool-ts5r4aaq.js} +11 -11
  232. package/dist/chunks/{form-m70sbz6t.js → tool-ttqh24zm.js} +4 -4
  233. package/dist/chunks/{form-j8pqw26r.js → tool-tx4mgqww.js} +6 -6
  234. package/dist/chunks/{form-dgbm9y3x.js → tool-ty22trqb.js} +18 -18
  235. package/dist/chunks/{form-tyytaxap.js → tool-tyytaxap.js} +1 -1
  236. package/dist/chunks/{form-nc8ynfdm.js → tool-tzhsj38v.js} +10 -10
  237. package/dist/chunks/{form-a924ge7t.js → tool-v009g4pj.js} +33 -33
  238. package/dist/chunks/{form-d1sgd2rz.js → tool-v0vwmemp.js} +41 -41
  239. package/dist/chunks/{form-d7x0sh0y.js → tool-v1vh7s4p.js} +5 -5
  240. package/dist/chunks/{form-wrj7k67z.js → tool-v5wh5e70.js} +17 -17
  241. package/dist/chunks/{form-re6xefaf.js → tool-v66a0s1a.js} +19 -19
  242. package/dist/chunks/{form-v7p4zvkq.js → tool-v7p4zvkq.js} +2 -2
  243. package/dist/chunks/{form-9bfc4y5b.js → tool-v8xdx15a.js} +32 -32
  244. package/dist/chunks/{form-veqvce7d.js → tool-veqvce7d.js} +1 -1
  245. package/dist/chunks/{form-hr579x6a.js → tool-vk0rmyh3.js} +89 -89
  246. package/dist/chunks/{form-j7qrg605.js → tool-vqvv5sj1.js} +14 -14
  247. package/dist/chunks/{form-vrdveqzq.js → tool-vtwnmbmj.js} +45 -45
  248. package/dist/chunks/{form-vzs5sf6e.js → tool-vzs5sf6e.js} +1 -1
  249. package/dist/chunks/{form-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{form-qzrp65ar.js → tool-w7jtf2m2.js} +19 -19
  251. package/dist/chunks/{form-tx40bvt8.js → tool-w81spx5m.js} +4 -4
  252. package/dist/chunks/{form-wd87259q.js → tool-wd87259q.js} +1 -1
  253. package/dist/chunks/{form-tk14y25j.js → tool-wh6zw745.js} +5 -5
  254. package/dist/chunks/{form-ph842b28.js → tool-wj76ss2k.js} +4 -4
  255. package/dist/chunks/{form-cm3zn5gm.js → tool-wkz90rt8.js} +36 -36
  256. package/dist/chunks/{form-end0mr5f.js → tool-wsfr8qtv.js} +11 -11
  257. package/dist/chunks/{form-qxk5mzbz.js → tool-wty1egvx.js} +16 -16
  258. package/dist/chunks/{form-repwdqvh.js → tool-wztntb4s.js} +12 -12
  259. package/dist/chunks/{form-naa1sva5.js → tool-x5vpq02z.js} +48 -48
  260. package/dist/chunks/{form-fh4ge1rm.js → tool-x7wafmke.js} +13 -13
  261. package/dist/chunks/{form-gdqc804d.js → tool-xagztgbr.js} +8 -8
  262. package/dist/chunks/{form-qabyx9xz.js → tool-xbc6qp68.js} +6 -6
  263. package/dist/chunks/{form-nqa8btv9.js → tool-xbqyc1h2.js} +14 -14
  264. package/dist/chunks/{form-qqeeq2t9.js → tool-xfkkasph.js} +7 -7
  265. package/dist/chunks/{form-907xmcwg.js → tool-xtfwraxg.js} +35 -35
  266. package/dist/chunks/{form-vbvznpsc.js → tool-xxvssexd.js} +13 -13
  267. package/dist/chunks/{form-2tz229t4.js → tool-xxxth0pp.js} +5 -5
  268. package/dist/chunks/{form-kkpxd18v.js → tool-xyee9vg5.js} +46 -46
  269. package/dist/chunks/{form-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{form-ydgy0jv4.js → tool-y3wpwyaa.js} +6 -6
  271. package/dist/chunks/{form-dnfex989.js → tool-y58x68vn.js} +26 -26
  272. package/dist/chunks/{form-5pyjqqve.js → tool-y5beyqvm.js} +2 -2
  273. package/dist/chunks/{form-dpkg50ah.js → tool-y71avatq.js} +4 -4
  274. package/dist/chunks/{form-by968z8v.js → tool-y78g4pym.js} +9 -9
  275. package/dist/chunks/{form-2m8jawch.js → tool-y97hy3kz.js} +4 -4
  276. package/dist/chunks/{form-f2n192rq.js → tool-yp2x3t23.js} +4 -4
  277. package/dist/chunks/{form-tydzfyyg.js → tool-ysvssewb.js} +26 -26
  278. package/dist/chunks/{form-bjx1sjef.js → tool-ywt8jp22.js} +9 -9
  279. package/dist/chunks/{form-q0vhpe4t.js → tool-yzdmepj7.js} +36 -36
  280. package/dist/chunks/{form-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{form-7y3ej9my.js → tool-z3hze8ne.js} +13 -13
  282. package/dist/chunks/{form-awme6kvv.js → tool-zc9nacpj.js} +37 -37
  283. package/dist/chunks/{form-pe0qafpd.js → tool-zjz1t4e7.js} +9 -9
  284. package/dist/chunks/{form-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{form-x661k3y3.js → tool-zw2hpfmh.js} +4 -4
  286. package/dist/chunks/{form-vx3jgdek.js → tool-zx95ftzb.js} +3 -3
  287. package/dist/chunks/{form-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
  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 +85 -84
  293. package/dist/config/discovery.js +86 -85
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -100
  296. package/dist/config/plugin/agent.js +120 -119
  297. package/dist/config/plugin/command.js +209 -208
  298. package/dist/config/plugin/compaction.js +156 -155
  299. package/dist/config/plugin/compatibility.js +136 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +119 -118
  302. package/dist/config/plugin/image.js +118 -117
  303. package/dist/config/plugin/instruction.js +92 -91
  304. package/dist/config/plugin/location-watcher.js +120 -119
  305. package/dist/config/plugin/mcp.js +127 -126
  306. package/dist/config/plugin/policy.js +119 -118
  307. package/dist/config/plugin/provider.js +118 -117
  308. package/dist/config/plugin/reference.js +120 -119
  309. package/dist/config/plugin/shell.js +118 -117
  310. package/dist/config/plugin/skill-file.js +104 -103
  311. package/dist/config/plugin/skill.js +139 -138
  312. package/dist/config/plugin/snapshot.js +118 -117
  313. package/dist/config/plugin/source.js +121 -120
  314. package/dist/config/plugin/tool-output.js +119 -118
  315. package/dist/config/plugin/websearch.js +117 -116
  316. package/dist/config/plugin/worktree.js +120 -119
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +121 -120
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +87 -86
  322. package/dist/database/database.js +74 -73
  323. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +15 -15
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +16 -16
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  387. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  388. package/dist/database/migration/20261010180456_project_time_archived.js +6 -0
  389. package/dist/database/migration.gen.js +51 -50
  390. package/dist/database/migration.js +53 -52
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +81 -80
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +368 -367
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +3 -3
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +95 -94
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +97 -96
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +3 -3
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +76 -75
  414. package/dist/file-access.js +106 -105
  415. package/dist/file-mutation.js +96 -95
  416. package/dist/file-retention.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +222 -221
  423. package/dist/filesystem/protected.js +3 -3
  424. package/dist/filesystem/search.js +105 -104
  425. package/dist/filesystem/watcher-binding.js +3 -3
  426. package/dist/filesystem/watcher.js +13 -13
  427. package/dist/filesystem.js +108 -107
  428. package/dist/form.js +88 -87
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +89 -88
  431. package/dist/generate.js +105 -104
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +101 -100
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +359 -358
  456. package/dist/instruction-discovery.js +85 -84
  457. package/dist/instructions/builtins.js +89 -88
  458. package/dist/instructions/index.js +3 -3
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +89 -88
  461. package/dist/job.js +80 -79
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +75 -74
  464. package/dist/location-activity.js +136 -135
  465. package/dist/location-lifecycle.js +109 -108
  466. package/dist/location-service-map.js +88 -87
  467. package/dist/location-services.js +356 -355
  468. package/dist/location.js +89 -88
  469. package/dist/managed-policy.js +8 -8
  470. package/dist/mcp/client.js +93 -92
  471. package/dist/mcp/index.js +111 -110
  472. package/dist/mcp/instructions.js +131 -130
  473. package/dist/mcp/oauth.js +80 -79
  474. package/dist/mcp/stdio.js +92 -91
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +101 -100
  477. package/dist/model-resolver.js +100 -99
  478. package/dist/model.js +102 -101
  479. package/dist/models-dev.js +105 -104
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +84 -83
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +119 -118
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +90 -89
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +77 -76
  489. package/dist/plugin/agent.js +78 -77
  490. package/dist/plugin/command.js +104 -103
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +213 -212
  493. package/dist/plugin/identity.js +3 -3
  494. package/dist/plugin/instance.js +5 -5
  495. package/dist/plugin/internal.js +331 -330
  496. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  497. package/dist/plugin/models-dev.js +98 -97
  498. package/dist/plugin/module.js +119 -118
  499. package/dist/plugin/optimize.js +2 -2
  500. package/dist/plugin/plan.js +104 -103
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/amazon-bedrock.js +92 -91
  503. package/dist/plugin/provider/azure.js +119 -118
  504. package/dist/plugin/provider/cerebras.js +1 -1
  505. package/dist/plugin/provider/chatgpt.js +96 -95
  506. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -114
  507. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -115
  508. package/dist/plugin/provider/cohere.js +2 -2
  509. package/dist/plugin/provider/configured.js +114 -113
  510. package/dist/plugin/provider/databricks.js +1 -1
  511. package/dist/plugin/provider/digitalocean.js +95 -94
  512. package/dist/plugin/provider/dynamic.js +2 -2
  513. package/dist/plugin/provider/factory.js +1 -1
  514. package/dist/plugin/provider/github-copilot.js +97 -96
  515. package/dist/plugin/provider/gitlab.js +95 -94
  516. package/dist/plugin/provider/google-vertex.js +115 -114
  517. package/dist/plugin/provider/kilo.js +1 -1
  518. package/dist/plugin/provider/llmgateway.js +80 -79
  519. package/dist/plugin/provider/lmstudio.js +127 -126
  520. package/dist/plugin/provider/local.js +124 -123
  521. package/dist/plugin/provider/modal.js +94 -93
  522. package/dist/plugin/provider/neon.js +1 -1
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +127 -126
  525. package/dist/plugin/provider/openai.js +95 -94
  526. package/dist/plugin/provider/opencode.js +99 -98
  527. package/dist/plugin/provider/openrouter.js +93 -92
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +81 -80
  530. package/dist/plugin/provider/prompt-cache-key.js +92 -91
  531. package/dist/plugin/provider/sap-ai-core.js +93 -92
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +117 -116
  534. package/dist/plugin/provider/vercel.js +92 -91
  535. package/dist/plugin/provider/vllm.js +127 -126
  536. package/dist/plugin/provider/xai.js +93 -92
  537. package/dist/plugin/provider/zenmux.js +1 -1
  538. package/dist/plugin/provider.js +169 -168
  539. package/dist/plugin/sdk.js +78 -77
  540. package/dist/plugin/service.js +3 -3
  541. package/dist/plugin/skill.js +136 -135
  542. package/dist/plugin/source-directory.js +1 -1
  543. package/dist/plugin/supervisor.js +346 -345
  544. package/dist/plugin/tool-input-repair.js +4 -4
  545. package/dist/plugin/update.js +6 -6
  546. package/dist/plugin/vcs/git.js +88 -87
  547. package/dist/plugin/vcs/hg.js +88 -87
  548. package/dist/plugin/verbosity.js +95 -94
  549. package/dist/plugin/warming.js +116 -115
  550. package/dist/plugin/websearch/exa.js +7 -7
  551. package/dist/plugin/websearch/firecrawl.js +8 -8
  552. package/dist/plugin/websearch/index.js +9 -9
  553. package/dist/plugin/websearch/mcp.js +6 -6
  554. package/dist/plugin/websearch/parallel.js +8 -8
  555. package/dist/plugin/websearch/tavily.js +6 -6
  556. package/dist/plugin/websearch/tinyfish.js +8 -8
  557. package/dist/plugin.js +220 -219
  558. package/dist/project/schema.js +8 -8
  559. package/dist/project/sql.js +4 -4
  560. package/dist/project.js +93 -90
  561. package/dist/provider.js +103 -102
  562. package/dist/pty/protocol.js +1 -1
  563. package/dist/pty/ticket.js +1 -1
  564. package/dist/pty.js +101 -100
  565. package/dist/reference/instructions.js +91 -90
  566. package/dist/reference.js +91 -90
  567. package/dist/repository-cache.js +83 -82
  568. package/dist/repository.js +1 -1
  569. package/dist/ripgrep/binary.js +2 -2
  570. package/dist/ripgrep.js +97 -96
  571. package/dist/rpc.js +88 -87
  572. package/dist/schema.js +1 -1
  573. package/dist/session/affinity.js +3 -3
  574. package/dist/session/command.js +76 -75
  575. package/dist/session/compaction.js +135 -134
  576. package/dist/session/context.js +155 -154
  577. package/dist/session/diff.js +90 -89
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +7 -7
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +219 -218
  582. package/dist/session/execution.js +129 -128
  583. package/dist/session/generate.js +156 -155
  584. package/dist/session/history.js +15 -15
  585. package/dist/session/inbox.js +92 -91
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +81 -80
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +99 -98
  590. package/dist/session/message-updater.js +2 -2
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +118 -117
  593. package/dist/session/model-transport.js +5 -5
  594. package/dist/session/move.js +131 -130
  595. package/dist/session/projector.js +88 -87
  596. package/dist/session/prompt.js +107 -106
  597. package/dist/session/provider-context.js +3 -3
  598. package/dist/session/revert.js +92 -91
  599. package/dist/session/run-coordinator.js +3 -3
  600. package/dist/session/runner/index.js +3 -3
  601. package/dist/session/runner/llm.js +226 -225
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +100 -99
  604. package/dist/session/runner/publish-llm-event.js +115 -114
  605. package/dist/session/runner/retry.js +2 -2
  606. package/dist/session/runner/step.js +127 -126
  607. package/dist/session/runner/to-llm-message.js +2 -2
  608. package/dist/session/schema.js +5 -5
  609. package/dist/session/session.js +166 -165
  610. package/dist/session/shell.js +132 -131
  611. package/dist/session/skill.js +107 -106
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +77 -76
  614. package/dist/session/store.js +89 -88
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +203 -202
  617. package/dist/session/system-prompt.js +5 -5
  618. package/dist/session/title.js +159 -158
  619. package/dist/session/to-session-error.js +113 -112
  620. package/dist/session/transfer.js +218 -217
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +215 -214
  623. package/dist/shell/parse.js +6 -6
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +13 -13
  627. package/dist/shell.js +134 -133
  628. package/dist/skill/discovery.js +4 -4
  629. package/dist/skill/instructions.js +109 -108
  630. package/dist/skill.js +116 -115
  631. package/dist/snapshot.js +95 -94
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +130 -129
  636. package/dist/tool/plugin/edit.js +120 -119
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +126 -125
  639. package/dist/tool/plugin/grep.js +126 -125
  640. package/dist/tool/plugin/mcp-resource.js +119 -118
  641. package/dist/tool/plugin/opencode.js +111 -110
  642. package/dist/tool/plugin/patch.js +124 -123
  643. package/dist/tool/plugin/question.js +107 -106
  644. package/dist/tool/plugin/read.js +127 -126
  645. package/dist/tool/plugin/shell.js +210 -209
  646. package/dist/tool/plugin/skill.js +113 -112
  647. package/dist/tool/plugin/subagent.js +214 -213
  648. package/dist/tool/plugin/webfetch.js +114 -113
  649. package/dist/tool/plugin/websearch.js +114 -113
  650. package/dist/tool/plugin/write.js +124 -123
  651. package/dist/tool/read-filesystem.js +102 -101
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +7 -7
  654. package/dist/tool.js +16 -16
  655. package/dist/types/database/migration/20261010180456_project_time_archived.d.ts +3 -0
  656. package/dist/types/project/schema.d.ts +5 -0
  657. package/dist/types/project/sql.d.ts +16 -0
  658. package/dist/types/project.d.ts +9 -1
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +7 -7
  669. package/dist/v1/config/command.js +3 -3
  670. package/dist/v1/config/error.js +4 -4
  671. package/dist/v1/config/mcp.js +4 -4
  672. package/dist/v1/config/migrate.js +94 -93
  673. package/dist/v1/config/permission.js +7 -7
  674. package/dist/v1/config/plugin.js +1 -1
  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 -92
  678. package/dist/vcs/patch.js +1 -1
  679. package/dist/vcs.js +91 -90
  680. package/dist/websearch.js +86 -85
  681. package/dist/wellknown/plugin.js +78 -77
  682. package/dist/wellknown.js +81 -80
  683. package/dist/workspace/driver.js +5 -5
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +84 -83
  686. package/dist/worktree/directory.js +2 -2
  687. package/dist/worktree/git.js +10 -10
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree/strategies.js +91 -90
  690. package/dist/worktree.js +100 -99
  691. package/package.json +8 -8
  692. package/dist/chunks/form-0k5fr05e.js +0 -26
  693. package/dist/chunks/form-hbgvnztq.js +0 -253
  694. package/dist/chunks/form-phz3h32g.js +0 -18
  695. /package/dist/chunks/{form-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{form-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{form-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{form-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{form-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
  700. /package/dist/chunks/{form-24dcb14g.js → tool-24dcb14g.js} +0 -0
  701. /package/dist/chunks/{form-2710q6r3.js → tool-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{form-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
  703. /package/dist/chunks/{form-2bv980vf.js → tool-2bv980vf.js} +0 -0
  704. /package/dist/chunks/{form-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
  705. /package/dist/chunks/{form-359p4xyc.js → tool-359p4xyc.js} +0 -0
  706. /package/dist/chunks/{form-3asan66x.js → tool-3asan66x.js} +0 -0
  707. /package/dist/chunks/{form-3t0ybcrp.js → tool-3t0ybcrp.js} +0 -0
  708. /package/dist/chunks/{form-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
  709. /package/dist/chunks/{form-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
  710. /package/dist/chunks/{form-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
  711. /package/dist/chunks/{form-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
  712. /package/dist/chunks/{form-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
  713. /package/dist/chunks/{form-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
  714. /package/dist/chunks/{form-53557ph1.js → tool-53557ph1.js} +0 -0
  715. /package/dist/chunks/{form-550bvhaj.js → tool-550bvhaj.js} +0 -0
  716. /package/dist/chunks/{form-6prwharc.js → tool-6prwharc.js} +0 -0
  717. /package/dist/chunks/{form-6q2bdcd1.js → tool-6q2bdcd1.js} +0 -0
  718. /package/dist/chunks/{form-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
  719. /package/dist/chunks/{form-7m9af43g.js → tool-7m9af43g.js} +0 -0
  720. /package/dist/chunks/{form-822emrt2.js → tool-822emrt2.js} +0 -0
  721. /package/dist/chunks/{form-84wd9syh.js → tool-84wd9syh.js} +0 -0
  722. /package/dist/chunks/{form-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
  723. /package/dist/chunks/{form-8n3pysct.js → tool-8n3pysct.js} +0 -0
  724. /package/dist/chunks/{form-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
  725. /package/dist/chunks/{form-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
  726. /package/dist/chunks/{form-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
  727. /package/dist/chunks/{form-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{form-af5trqkr.js → tool-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{form-afrmfg78.js → tool-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{form-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{form-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{form-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{form-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{form-bw78ga2c.js → tool-bw78ga2c.js} +0 -0
  735. /package/dist/chunks/{form-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
  736. /package/dist/chunks/{form-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
  737. /package/dist/chunks/{form-d9fn303g.js → tool-d9fn303g.js} +0 -0
  738. /package/dist/chunks/{form-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
  739. /package/dist/chunks/{form-dajrwvna.js → tool-dajrwvna.js} +0 -0
  740. /package/dist/chunks/{form-dap0rakb.js → tool-dap0rakb.js} +0 -0
  741. /package/dist/chunks/{form-df08tz66.js → tool-df08tz66.js} +0 -0
  742. /package/dist/chunks/{form-dy18nga0.js → tool-dy18nga0.js} +0 -0
  743. /package/dist/chunks/{form-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
  744. /package/dist/chunks/{form-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
  745. /package/dist/chunks/{form-ec1grn59.js → tool-ec1grn59.js} +0 -0
  746. /package/dist/chunks/{form-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
  747. /package/dist/chunks/{form-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
  748. /package/dist/chunks/{form-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
  749. /package/dist/chunks/{form-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
  750. /package/dist/chunks/{form-faypxj3z.js → tool-faypxj3z.js} +0 -0
  751. /package/dist/chunks/{form-fd410y7t.js → tool-fd410y7t.js} +0 -0
  752. /package/dist/chunks/{form-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
  753. /package/dist/chunks/{form-g86h250q.js → tool-g86h250q.js} +0 -0
  754. /package/dist/chunks/{form-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
  755. /package/dist/chunks/{form-gftt206x.js → tool-gftt206x.js} +0 -0
  756. /package/dist/chunks/{form-hk9envan.js → tool-hk9envan.js} +0 -0
  757. /package/dist/chunks/{form-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{form-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{form-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
  760. /package/dist/chunks/{form-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{form-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{form-jze0r7bz.js → tool-jze0r7bz.js} +0 -0
  763. /package/dist/chunks/{form-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{form-mp448xyj.js → tool-mp448xyj.js} +0 -0
  765. /package/dist/chunks/{form-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
  766. /package/dist/chunks/{form-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
  767. /package/dist/chunks/{form-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
  768. /package/dist/chunks/{form-njntx4h6.js → tool-njntx4h6.js} +0 -0
  769. /package/dist/chunks/{form-pyv0edze.js → tool-pyv0edze.js} +0 -0
  770. /package/dist/chunks/{form-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
  771. /package/dist/chunks/{form-q74kybfr.js → tool-q74kybfr.js} +0 -0
  772. /package/dist/chunks/{form-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
  773. /package/dist/chunks/{form-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
  774. /package/dist/chunks/{form-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
  775. /package/dist/chunks/{form-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
  776. /package/dist/chunks/{form-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
  777. /package/dist/chunks/{form-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
  778. /package/dist/chunks/{form-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
  779. /package/dist/chunks/{form-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
  780. /package/dist/chunks/{form-ve7vex1e.js → tool-ve7vex1e.js} +0 -0
  781. /package/dist/chunks/{form-w803qqfp.js → tool-w803qqfp.js} +0 -0
  782. /package/dist/chunks/{form-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
  783. /package/dist/chunks/{form-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
  784. /package/dist/chunks/{form-wtztk69x.js → tool-wtztk69x.js} +0 -0
  785. /package/dist/chunks/{form-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
  786. /package/dist/chunks/{form-x61499pn.js → tool-x61499pn.js} +0 -0
  787. /package/dist/chunks/{form-y44na4kk.js → tool-y44na4kk.js} +0 -0
  788. /package/dist/chunks/{form-y8f7s663.js → tool-y8f7s663.js} +0 -0
  789. /package/dist/chunks/{form-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
  790. /package/dist/chunks/{form-ym463w8f.js → tool-ym463w8f.js} +0 -0
  791. /package/dist/chunks/{form-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
  792. /package/dist/chunks/{form-z9919s4g.js → tool-z9919s4g.js} +0 -0
@@ -1,65 +1,65 @@
1
+ import {
2
+ Service85,
3
+ node89
4
+ } from "./tool-jb7jfkvq.js";
1
5
  import {
2
6
  Service84,
3
7
  node88
4
- } from "./form-y78tw1r3.js";
5
- import {
6
- Service83,
7
- node87
8
- } from "./form-6a4apkvg.js";
8
+ } from "./tool-2hbmtk01.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./form-pknna89w.js";
11
+ } from "./tool-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./form-3zsf4n22.js";
14
+ } from "./tool-3zsf4n22.js";
15
15
  import {
16
16
  __export
17
- } from "./form-9rqn6x4v.js";
17
+ } from "./tool-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event19,
23
+ Event: () => Event14,
24
24
  External: () => External2,
25
- ID: () => ID14,
26
- Info: () => Info24,
27
- Key: () => Key4,
25
+ ID: () => ID8,
26
+ Info: () => Info19,
27
+ Key: () => Key3,
28
28
  OAuth: () => OAuth3,
29
- Service: () => Service76,
29
+ Service: () => Service64,
30
30
  Value: () => Value2,
31
- node: () => node79
31
+ node: () => node66
32
32
  });
33
33
  import { asc, desc, eq } from "drizzle-orm";
34
34
  import { Cause, Context, Effect, Layer, Schema } from "effect";
35
35
  import { Credential } from "@opencode/schema/credential";
36
36
  import { Integration } from "@opencode/schema/integration";
37
37
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
38
- var ID14 = Credential.ID;
38
+ var ID8 = Credential.ID;
39
39
  var OAuth3 = Credential.OAuth;
40
- var Key4 = Credential.Key;
40
+ var Key3 = Credential.Key;
41
41
  var External2 = Credential.External;
42
42
  var Value2 = Credential.Value;
43
- var Event19 = Credential.Event;
43
+ var Event14 = Credential.Event;
44
44
 
45
- class Info24 extends Schema.Class("Credential.Info")({
46
- id: ID14,
45
+ class Info19 extends Schema.Class("Credential.Info")({
46
+ id: ID8,
47
47
  integrationID: Integration.ID,
48
48
  label: Schema.String,
49
49
  value: Value2
50
50
  }) {
51
51
  }
52
52
 
53
- class Service76 extends Context.Service()("@opencode/Credential") {
53
+ class Service64 extends Context.Service()("@opencode/Credential") {
54
54
  }
55
- var layer = Layer.effect(Service76, Effect.gen(function* () {
56
- const db = (yield* Service84).db;
57
- const bus = yield* Service83;
55
+ var layer = Layer.effect(Service64, Effect.gen(function* () {
56
+ const db = (yield* Service85).db;
57
+ const bus = yield* Service84;
58
58
  const decode = Schema.decodeUnknownSync(Value2);
59
59
  const stored = (row) => {
60
60
  if (!row.integration_id)
61
61
  return;
62
- return new Info24({
62
+ return new Info19({
63
63
  id: row.id,
64
64
  integrationID: row.integration_id,
65
65
  label: row.label,
@@ -70,7 +70,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
70
70
  const credential = stored(row);
71
71
  return credential ? [credential] : [];
72
72
  });
73
- return Service76.of({
73
+ return Service64.of({
74
74
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
75
75
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
76
76
  get: Effect.fn("Credential.get")(function* (id) {
@@ -78,8 +78,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
78
78
  return row ? stored(row) : undefined;
79
79
  }),
80
80
  create: Effect.fn("Credential.create")(function* (input) {
81
- const credential = new Info24({
82
- id: input.id ?? ID14.create(),
81
+ const credential = new Info19({
82
+ id: input.id ?? ID8.create(),
83
83
  integrationID: input.integrationID,
84
84
  label: input.label ?? "default",
85
85
  value: input.value
@@ -110,9 +110,9 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
110
110
  type: credential.value.type,
111
111
  active: activated
112
112
  });
113
- yield* bus.publish(Event19.Updated, {}, { global: true });
113
+ yield* bus.publish(Event14.Updated, {}, { global: true });
114
114
  if (activated)
115
- yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
115
+ yield* bus.publish(Event14.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
116
116
  return credential;
117
117
  }),
118
118
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -132,7 +132,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
132
132
  })), Effect.orDie);
133
133
  if (integrationID) {
134
134
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
135
- yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
135
+ yield* bus.publish(Event14.Switched, { integrationID, credentialID: id }, { global: true });
136
136
  }
137
137
  }),
138
138
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
164
164
  labelChanged: updates.label !== undefined && updates.label !== credential.label
165
165
  });
166
166
  if (updates.label !== undefined && updates.label !== credential.label)
167
- yield* bus.publish(Event19.Updated, {}, { global: true });
167
+ yield* bus.publish(Event14.Updated, {}, { global: true });
168
168
  }),
169
169
  remove: Effect.fn("Credential.remove")(function* (id) {
170
170
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -197,12 +197,12 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
197
197
  active: removed.switched,
198
198
  ...removed.switched ? { replacementID: removed.credentialID } : {}
199
199
  });
200
- yield* bus.publish(Event19.Updated, {}, { global: true });
200
+ yield* bus.publish(Event14.Updated, {}, { global: true });
201
201
  if (removed.switched)
202
- yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
202
+ yield* bus.publish(Event14.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
203
203
  })
204
204
  });
205
205
  }));
206
- var node79 = makeGlobalNode({ service: Service76, layer, deps: [node88, node87] });
206
+ var node66 = makeGlobalNode({ service: Service64, layer, deps: [node89, node88] });
207
207
 
208
- export { ID14, OAuth3, Key4, External2, Value2, Event19, Info24, Service76, node79, exports_credential };
208
+ export { ID8, OAuth3, Key3, External2, Value2, Event14, Info19, Service64, node66, exports_credential };
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./form-z5v4ffb3.js";
3
+ } from "./tool-z5v4ffb3.js";
4
4
  import {
5
- Service80
6
- } from "./form-6qmwbcde.js";
5
+ Service78
6
+ } from "./tool-b279fhh5.js";
7
7
  import {
8
- Service66
9
- } from "./form-9tv2jn71.js";
8
+ Service49
9
+ } from "./tool-ph8a80xg.js";
10
10
  import {
11
11
  LocalSource2,
12
12
  GitSource2
13
- } from "./form-xsqdc333.js";
13
+ } from "./tool-qn0k908c.js";
14
14
  import {
15
15
  observe2
16
- } from "./form-qsdy395h.js";
16
+ } from "./tool-qsdy395h.js";
17
17
  import {
18
18
  __export
19
- } from "./form-9rqn6x4v.js";
19
+ } from "./tool-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/reference.ts
22
22
  var exports_reference = {};
23
23
  __export(exports_reference, {
24
24
  ConfigReferencePlugin: () => exports_reference,
25
- Plugin: () => Plugin19
25
+ Plugin: () => Plugin9
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import path from "path";
29
29
  import { Effect } from "effect";
30
30
  import { Global } from "@opencode/util/global";
31
- var Plugin19 = define({
31
+ var Plugin9 = define({
32
32
  id: "opencode.config.reference",
33
33
  effect: Effect.fn(function* (ctx) {
34
- const config = yield* Service66;
35
- const location = yield* Service80;
34
+ const config = yield* Service49;
35
+ const location = yield* Service78;
36
36
  const global = yield* Global.Service;
37
37
  const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
38
38
  yield* ctx.reference.transform((editor) => {
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
72
72
  return path.isAbsolute(value) ? value : path.resolve(directory, value);
73
73
  }
74
74
 
75
- export { Plugin19, exports_reference };
75
+ export { Plugin9, exports_reference };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID12
3
- } from "./form-n6tn6hrh.js";
2
+ ID6
3
+ } from "./tool-c9b8trf9.js";
4
4
 
5
5
  // src/plugin/provider/amazon-bedrock.ts
6
6
  import { Effect } from "effect";
@@ -35,15 +35,15 @@ var AmazonBedrockPlugin2 = define({
35
35
  })))).filter(Boolean).toSorted();
36
36
  yield* ctx.integration.transform((editor) => {
37
37
  editor.method.update({
38
- integrationID: ID12.amazonBedrock,
38
+ integrationID: ID6.amazonBedrock,
39
39
  method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
40
40
  });
41
41
  editor.method.update({
42
- integrationID: ID12.amazonBedrock,
42
+ integrationID: ID6.amazonBedrock,
43
43
  method: { type: "key", label: "Bedrock API key" }
44
44
  });
45
45
  editor.method.update({
46
- integrationID: ID12.amazonBedrock,
46
+ integrationID: ID6.amazonBedrock,
47
47
  method: {
48
48
  id: "aws-profile",
49
49
  type: "external",
@@ -1,82 +1,82 @@
1
+ import {
2
+ Service85,
3
+ node89
4
+ } from "./tool-jb7jfkvq.js";
1
5
  import {
2
6
  Service84,
3
7
  node88
4
- } from "./form-y78tw1r3.js";
5
- import {
6
- Service83,
7
- node87
8
- } from "./form-6a4apkvg.js";
8
+ } from "./tool-2hbmtk01.js";
9
9
  import {
10
10
  create3
11
- } from "./form-rdw6cm16.js";
11
+ } from "./tool-rdw6cm16.js";
12
12
  import {
13
- ID8,
14
- Service56,
15
- node59
16
- } from "./form-pcz7nyx7.js";
13
+ ID14,
14
+ Service73,
15
+ node75
16
+ } from "./tool-925vt3jd.js";
17
17
  import {
18
18
  llmClient2
19
- } from "./form-2vvh33eb.js";
19
+ } from "./tool-2vvh33eb.js";
20
20
  import {
21
- Service68,
22
- node71
23
- } from "./form-a924ge7t.js";
21
+ Service61,
22
+ node63
23
+ } from "./tool-v009g4pj.js";
24
24
  import {
25
25
  estimate2
26
- } from "./form-h6vf3j39.js";
26
+ } from "./tool-h6vf3j39.js";
27
27
  import {
28
28
  SessionEvent2
29
- } from "./form-ec1grn59.js";
29
+ } from "./tool-ec1grn59.js";
30
30
  import {
31
31
  provenance2,
32
32
  compatible2,
33
33
  isCheckpoint2,
34
34
  encode2
35
- } from "./form-5dkn69vz.js";
35
+ } from "./tool-f29mbr7f.js";
36
36
  import {
37
- load4
38
- } from "./form-qpg4nhh5.js";
37
+ load5
38
+ } from "./tool-a6a0xyhp.js";
39
39
  import {
40
40
  toLLMMessages2
41
- } from "./form-jhdf29st.js";
41
+ } from "./tool-q5e7cmwt.js";
42
42
  import {
43
43
  baseTranscript2,
44
44
  unsupportedParts2,
45
45
  boundImages2,
46
- Service26,
46
+ Service25,
47
47
  node29
48
- } from "./form-hes7g59n.js";
48
+ } from "./tool-gn6q0njp.js";
49
49
  import {
50
- Service37,
51
- node39
52
- } from "./form-7y3ej9my.js";
50
+ Service55,
51
+ node57
52
+ } from "./tool-z3hze8ne.js";
53
53
  import {
54
54
  isRetryable2,
55
55
  policy2
56
- } from "./form-b3f8fkhc.js";
56
+ } from "./tool-b3f8fkhc.js";
57
57
  import {
58
58
  toSessionError2,
59
59
  contentFilterError2
60
- } from "./form-ps9w4rmp.js";
60
+ } from "./tool-2r0rtpea.js";
61
61
  import {
62
62
  calculateCost2,
63
63
  record2,
64
64
  add2
65
- } from "./form-tdstcens.js";
65
+ } from "./tool-tdstcens.js";
66
66
  import {
67
67
  __export
68
- } from "./form-9rqn6x4v.js";
68
+ } from "./tool-9rqn6x4v.js";
69
69
 
70
70
  // src/session/compaction.ts
71
71
  var exports_compaction2 = {};
72
72
  __export(exports_compaction2, {
73
- Service: () => Service9,
73
+ Service: () => Service10,
74
74
  SessionCompaction: () => exports_compaction2,
75
75
  buildPrompt: () => buildPrompt2,
76
76
  estimateContext: () => estimateContext2,
77
77
  estimatePrompt: () => estimatePrompt2,
78
78
  layer: () => layer7,
79
- node: () => node11,
79
+ node: () => node12,
80
80
  recentUserMessages: () => recentUserMessages2
81
81
  });
82
82
  import {
@@ -92,7 +92,7 @@ import {
92
92
  } from "@opencode/ai";
93
93
  import { makeLocationNode } from "@opencode/util/effect/app-node";
94
94
  import { Context, Effect, Layer, Result, Stream } from "effect";
95
- class Service9 extends Context.Service()("@opencode/SessionCompaction") {
95
+ class Service10 extends Context.Service()("@opencode/SessionCompaction") {
96
96
  }
97
97
  var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
98
98
  var SHRINK_STEPS = [0.7, 0.5, 0.35];
@@ -171,14 +171,14 @@ var buildPrompt2 = (update, legacy = false) => {
171
171
  };
172
172
  var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
173
173
  var LEGACY_HEADING = "## Additional Context";
174
- var layer7 = Layer.effect(Service9, Effect.gen(function* () {
175
- const agents = yield* Service56;
176
- const bus = yield* Service83;
174
+ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
175
+ const agents = yield* Service73;
176
+ const bus = yield* Service84;
177
177
  const llm = yield* LLMClient.Service;
178
- const catalog = yield* Service68;
179
- const models = yield* Service37;
180
- const db = (yield* Service84).db;
181
- const requests = yield* Service26;
178
+ const catalog = yield* Service61;
179
+ const models = yield* Service55;
180
+ const db = (yield* Service85).db;
181
+ const requests = yield* Service25;
182
182
  const state = create3({
183
183
  name: "session-compaction",
184
184
  initial: () => ({ auto: true, keep: 15000 }),
@@ -196,7 +196,7 @@ var layer7 = Layer.effect(Service9, Effect.gen(function* () {
196
196
  if (trigger.reason === "auto" && !due(context, calculateCeiling(context.model.limit, settings.buffer)))
197
197
  return { status: "skipped" };
198
198
  const native = context.model.compaction?.type === "native";
199
- const agent = native ? undefined : yield* agents.get(ID8.make("compaction"));
199
+ const agent = native ? undefined : yield* agents.get(ID14.make("compaction"));
200
200
  const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
201
201
  return;
202
202
  })))) ?? context.model;
@@ -272,7 +272,7 @@ var layer7 = Layer.effect(Service9, Effect.gen(function* () {
272
272
  const send = (request) => {
273
273
  if (LLMClient.canCompact(request, { mechanism: "trigger" })) {
274
274
  return Effect.gen(function* () {
275
- const history = yield* load4(db, context.session.id, "local").pipe(Effect.orDie);
275
+ const history = yield* load5(db, context.session.id, "local").pipe(Effect.orDie);
276
276
  const retained = recentUserMessages2(history, context.model, keep);
277
277
  const response = yield* llm.compact(request, { ...prepared.options, mechanism: "trigger" });
278
278
  return yield* toResult([...retained, Message.assistant(response.checkpoint)], response.usage);
@@ -472,16 +472,16 @@ ${text}`;
472
472
  }, { metadata: outcome.metadata });
473
473
  return { status: "completed" };
474
474
  });
475
- return Service9.of({
475
+ return Service10.of({
476
476
  transform: state.transform,
477
477
  reload: state.reload,
478
478
  compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
479
479
  });
480
480
  }));
481
- var node11 = makeLocationNode({
482
- service: Service9,
481
+ var node12 = makeLocationNode({
482
+ service: Service10,
483
483
  layer: layer7,
484
- deps: [node59, node87, node88, llmClient2, node71, node29, node39]
484
+ deps: [node75, node88, node89, llmClient2, node63, node29, node57]
485
485
  });
486
486
  var previousCompaction = (messages) => {
487
487
  const [first] = messages;
@@ -686,4 +686,4 @@ var estimateMedia = (mime) => {
686
686
  return 0;
687
687
  };
688
688
 
689
- export { Service9, buildPrompt2, layer7, node11, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
689
+ export { Service10, buildPrompt2, layer7, node12, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/workspace/driver.ts
6
6
  var exports_driver = {};
@@ -10,8 +10,8 @@ __export(exports_driver, {
10
10
  ProviderNotFound: () => ProviderNotFound2,
11
11
  RegistryService: () => RegistryService2,
12
12
  WorkspaceDriver: () => exports_driver,
13
- make: () => make21,
14
- node: () => node83,
13
+ make: () => make20,
14
+ node: () => node84,
15
15
  registry: () => registry2,
16
16
  registryNode: () => registryNode2
17
17
  });
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
29
29
  provider: Schema.String
30
30
  }) {
31
31
  }
32
- var make21 = (driver) => driver;
32
+ var make20 = (driver) => driver;
33
33
 
34
34
  class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
35
35
  }
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
44
44
  layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
45
45
  deps: []
46
46
  });
47
- var node83 = registryNode2({});
47
+ var node84 = registryNode2({});
48
48
 
49
- export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node83, exports_driver };
49
+ export { Binding2, Error5, ProviderNotFound2, make20, RegistryService2, registry2, registryNode2, node84, exports_driver };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./form-vwzv7zsf.js";
3
+ } from "./tool-e2xzawa4.js";
4
4
  import {
5
- Service83
6
- } from "./form-6a4apkvg.js";
5
+ Service84
6
+ } from "./tool-2hbmtk01.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./form-907xmcwg.js";
9
+ Event14
10
+ } from "./tool-xtfwraxg.js";
11
11
  import {
12
12
  key2
13
- } from "./form-x661k3y3.js";
13
+ } from "./tool-zw2hpfmh.js";
14
14
  import {
15
- ID13,
15
+ ID7,
16
16
  MethodID2,
17
17
  AuthorizationError2
18
- } from "./form-0p0qkxk2.js";
18
+ } from "./tool-at5p6ayt.js";
19
19
  import {
20
- Service85
21
- } from "./form-nc8ynfdm.js";
20
+ Service44
21
+ } from "./tool-tzhsj38v.js";
22
22
  import {
23
- ID12,
23
+ ID6,
24
24
  mergeOverlay2,
25
25
  mergeHeaders2
26
- } from "./form-n6tn6hrh.js";
26
+ } from "./tool-c9b8trf9.js";
27
27
  import {
28
28
  mergeCapabilities2
29
- } from "./form-a924ge7t.js";
29
+ } from "./tool-v009g4pj.js";
30
30
  import {
31
- ID3,
32
- Input13,
31
+ ID18,
32
+ Input14,
33
33
  Response2
34
- } from "./form-kffe7xqh.js";
34
+ } from "./tool-rsjzvmnv.js";
35
35
 
36
36
  // src/plugin/provider/opencode.ts
37
37
  import { Duration, Effect, Equal, Option, Schema, SchemaGetter, Scope, Semaphore, Stream } from "effect";
@@ -47,7 +47,7 @@ var methodID = MethodID2.make("device");
47
47
  var RemoteResponse = Schema.Struct({
48
48
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
49
49
  websearch: Schema.Struct({
50
- providerID: ID3
50
+ providerID: ID18
51
51
  }).pipe(Schema.optional),
52
52
  mcp: Schema.Struct({
53
53
  servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
@@ -105,7 +105,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
105
105
  }
106
106
  function oauth(http) {
107
107
  return {
108
- integrationID: ID13.make("opencode"),
108
+ integrationID: ID7.make("opencode"),
109
109
  method: {
110
110
  id: methodID,
111
111
  type: "oauth",
@@ -169,10 +169,10 @@ function oauth(http) {
169
169
  var OpencodePlugin2 = define({
170
170
  id: "opencode.provider.opencode",
171
171
  effect: Effect.fn(function* (ctx) {
172
- const bus = yield* Service83;
172
+ const bus = yield* Service84;
173
173
  const client = yield* HttpClient.HttpClient;
174
174
  const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
175
- const managed = yield* Service85;
175
+ const managed = yield* Service44;
176
176
  const scope = yield* Scope.Scope;
177
177
  const loading = Semaphore.makeUnsafe(1);
178
178
  let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
@@ -221,7 +221,7 @@ var OpencodePlugin2 = define({
221
221
  providers.update(providerID, (provider) => {
222
222
  if (source && source.provider !== provider)
223
223
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
224
- provider.integrationID = ID13.make("opencode");
224
+ provider.integrationID = ID7.make("opencode");
225
225
  if (item.canonical !== undefined)
226
226
  provider.canonical = item.canonical;
227
227
  if (item.name !== undefined)
@@ -287,7 +287,7 @@ var OpencodePlugin2 = define({
287
287
  sourceConnection: snapshot.connection
288
288
  });
289
289
  }
290
- const item = providers.get(ID12.opencode);
290
+ const item = providers.get(ID6.opencode);
291
291
  if (!item)
292
292
  return;
293
293
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -299,7 +299,7 @@ var OpencodePlugin2 = define({
299
299
  });
300
300
  });
301
301
  yield* ctx.model.transform((models) => {
302
- const item = models.provider.get(ID12.opencode);
302
+ const item = models.provider.get(ID6.opencode);
303
303
  if (!item)
304
304
  return;
305
305
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -333,7 +333,7 @@ var OpencodePlugin2 = define({
333
333
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
334
334
  const token = credential.type === "oauth" ? credential.access : credential.key;
335
335
  const server = yield* normalizeServer(serverUrl(credential));
336
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
336
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
337
337
  query: input.query,
338
338
  providerID: descriptor.providerID
339
339
  }));
@@ -388,10 +388,10 @@ var OpencodePlugin2 = define({
388
388
  });
389
389
  const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
390
390
  yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
391
- explainers = yield* Effect.forEach(next.connection ? new Set([ID12.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
391
+ explainers = yield* Effect.forEach(next.connection ? new Set([ID6.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
392
392
  });
393
393
  yield* guard(snapshot);
394
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
394
+ yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
395
395
  yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
396
396
  })
397
397
  });
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./form-z5v4ffb3.js";
4
+ } from "./tool-z5v4ffb3.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./form-vx3jgdek.js";
7
+ } from "./tool-zx95ftzb.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};
7
7
  __export(exports_keyed_mutex, {
8
8
  KeyedMutex: () => exports_keyed_mutex,
9
- make: () => make23,
9
+ make: () => make22,
10
10
  makeUnsafe: () => makeUnsafe2
11
11
  });
12
12
  import { Effect, Semaphore } from "effect";
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
26
26
  });
27
27
  return { size: Effect.sync(() => locks.size), withLock };
28
28
  };
29
- var make23 = () => Effect.sync(makeUnsafe2);
29
+ var make22 = () => Effect.sync(makeUnsafe2);
30
30
 
31
- export { makeUnsafe2, make23, exports_keyed_mutex };
31
+ export { makeUnsafe2, make22, exports_keyed_mutex };