@opencode/core 0.0.0-dev-20810 → 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 +83 -82
  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 +71 -70
  7. package/dist/chunks/{schema-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
  8. package/dist/chunks/{schema-0r3c1bmw.js → tool-0r3c1bmw.js} +2 -2
  9. package/dist/chunks/{schema-0vbcp93d.js → tool-0vbcp93d.js} +2 -2
  10. package/dist/chunks/{schema-pe5zqv13.js → tool-0w22njrp.js} +4 -4
  11. package/dist/chunks/{schema-bqxzme6r.js → tool-1azc6dcz.js} +12 -12
  12. package/dist/chunks/{schema-b5111p8f.js → tool-1fj0xetq.js} +5 -5
  13. package/dist/chunks/{schema-b0agzzj4.js → tool-1hs63qs5.js} +20 -20
  14. package/dist/chunks/{schema-xcmk6yw7.js → tool-1yd7h3h8.js} +11 -11
  15. package/dist/chunks/{schema-xxg2cwm3.js → tool-2ap2y1fd.js} +20 -20
  16. package/dist/chunks/{schema-25tm57nk.js → tool-2hbmtk01.js} +4 -4
  17. package/dist/chunks/{schema-x8181hqt.js → tool-2m2pwtqz.js} +11 -11
  18. package/dist/chunks/{schema-fnkxn25c.js → tool-2r0rtpea.js} +5 -5
  19. package/dist/chunks/{schema-qmdebz4g.js → tool-2v35nvf1.js} +3 -3
  20. package/dist/chunks/{schema-2vvh33eb.js → tool-2vvh33eb.js} +2 -2
  21. package/dist/chunks/{schema-even8thr.js → tool-2xt8eqef.js} +28 -28
  22. package/dist/chunks/{schema-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
  23. package/dist/chunks/{schema-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
  24. package/dist/chunks/{schema-3hwn7j4h.js → tool-3hwn7j4h.js} +2 -2
  25. package/dist/chunks/{schema-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
  26. package/dist/chunks/{schema-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
  27. package/dist/chunks/{schema-4vf6p7z8.js → tool-3wg2zg1h.js} +21 -21
  28. package/dist/chunks/{schema-j92nemg4.js → tool-3zdrd34z.js} +35 -35
  29. package/dist/chunks/{schema-3zsf4n22.js → tool-3zsf4n22.js} +1 -1
  30. package/dist/chunks/{schema-5t3z26v9.js → tool-425tvsky.js} +32 -32
  31. package/dist/chunks/{schema-x651es2g.js → tool-43g0zkdb.js} +4 -4
  32. package/dist/chunks/{schema-tpje4fnv.js → tool-45m1xa6s.js} +20 -20
  33. package/dist/chunks/{schema-fz27cwe3.js → tool-4ecb23ee.js} +26 -26
  34. package/dist/chunks/{schema-e2vgrz0c.js → tool-4gzj7c1t.js} +328 -328
  35. package/dist/chunks/{schema-4ts7tf6z.js → tool-4ts7tf6z.js} +2 -2
  36. package/dist/chunks/{schema-wx6xjdmh.js → tool-50ya55tv.js} +3 -3
  37. package/dist/chunks/{schema-vhjvf1ns.js → tool-54zp89xv.js} +21 -21
  38. package/dist/chunks/{schema-6ehx317m.js → tool-554twcs9.js} +5 -5
  39. package/dist/chunks/{schema-5mw5s2rh.js → tool-57ht3x3y.js} +16 -16
  40. package/dist/chunks/{schema-q84ymcsc.js → tool-58t9ctfh.js} +54 -50
  41. package/dist/chunks/{schema-29bfqbba.js → tool-5dk99411.js} +9 -9
  42. package/dist/chunks/{schema-5m9w47nd.js → tool-5m9w47nd.js} +1 -1
  43. package/dist/chunks/{schema-fqq9xsk7.js → tool-62e165w1.js} +22 -22
  44. package/dist/chunks/{schema-zczs6yb2.js → tool-6vzsg2xk.js} +20 -20
  45. package/dist/chunks/{schema-6xb47vfp.js → tool-6xb47vfp.js} +1 -1
  46. package/dist/chunks/{schema-82v73sw7.js → tool-72sxpf59.js} +3 -3
  47. package/dist/chunks/{schema-bc1esb7h.js → tool-7ajnhpk1.js} +45 -45
  48. package/dist/chunks/{schema-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
  49. package/dist/chunks/{schema-qgn6gcr1.js → tool-7dqw4kz8.js} +5 -5
  50. package/dist/chunks/{schema-3xessxdn.js → tool-7jyc1k1k.js} +32 -32
  51. package/dist/chunks/{schema-scrwg3hs.js → tool-7qk8rd46.js} +16 -16
  52. package/dist/chunks/{schema-avk0gjvb.js → tool-7ttfahrj.js} +21 -21
  53. package/dist/chunks/{schema-12ve6aey.js → tool-7v5jhnkv.js} +26 -26
  54. package/dist/chunks/{schema-8hk55ja4.js → tool-7vnvvjv2.js} +25 -25
  55. package/dist/chunks/{schema-bbnjbm8a.js → tool-81mfchgn.js} +11 -11
  56. package/dist/chunks/{schema-84txncab.js → tool-84txncab.js} +1 -1
  57. package/dist/chunks/{schema-qjbhc1am.js → tool-85y5yndw.js} +79 -49
  58. package/dist/chunks/{schema-spj5hr4x.js → tool-89r43ct5.js} +13 -13
  59. package/dist/chunks/{schema-tcezcvh9.js → tool-89znhe33.js} +4 -4
  60. package/dist/chunks/{schema-41j8cbkr.js → tool-8a44f7xw.js} +20 -20
  61. package/dist/chunks/{schema-52jn4qxr.js → tool-8c84x96a.js} +20 -20
  62. package/dist/chunks/{schema-etmbekfa.js → tool-8dpb97pb.js} +3 -3
  63. package/dist/chunks/{schema-jab3hz16.js → tool-8f47ttfq.js} +51 -51
  64. package/dist/chunks/{schema-mgn9s9vj.js → tool-8g8wt927.js} +54 -54
  65. package/dist/chunks/{schema-8m6m0r52.js → tool-8m6m0r52.js} +1 -1
  66. package/dist/chunks/{schema-j9jte45y.js → tool-8pcna3e1.js} +187 -187
  67. package/dist/chunks/{schema-m1vt9403.js → tool-8sgggatz.js} +11 -11
  68. package/dist/chunks/{schema-m4crda45.js → tool-8we822j0.js} +9 -9
  69. package/dist/chunks/{schema-1gqdmt0p.js → tool-8xddy4fd.js} +15 -15
  70. package/dist/chunks/{schema-8rt53k6z.js → tool-8xxg8z7m.js} +6 -6
  71. package/dist/chunks/{schema-s9z3c30a.js → tool-8zkm93f1.js} +14 -14
  72. package/dist/chunks/{schema-yy8c48ah.js → tool-925vt3jd.js} +21 -21
  73. package/dist/chunks/{schema-w3x9v1nk.js → tool-9c3np669.js} +8 -8
  74. package/dist/chunks/{schema-c23p4ys2.js → tool-9ee6s4n8.js} +20 -20
  75. package/dist/chunks/{schema-bj3d59b5.js → tool-9f33m5nn.js} +20 -20
  76. package/dist/chunks/{schema-tpw6cwsb.js → tool-9hn6k4tm.js} +8 -8
  77. package/dist/chunks/{schema-7dy85ahw.js → tool-9kr929zm.js} +6 -6
  78. package/dist/chunks/{schema-fmcjp1ve.js → tool-9sdheasx.js} +24 -24
  79. package/dist/chunks/{schema-5s0vrszx.js → tool-9tfg4qpg.js} +34 -34
  80. package/dist/chunks/{schema-yt1db69f.js → tool-a19tekra.js} +18 -18
  81. package/dist/chunks/{schema-84045amf.js → tool-a5xp7zm4.js} +5 -5
  82. package/dist/chunks/{schema-1z7pb0k6.js → tool-a5y52ckt.js} +10 -10
  83. package/dist/chunks/{schema-b07tzjw9.js → tool-a6a0xyhp.js} +8 -8
  84. package/dist/chunks/{schema-751h4z3b.js → tool-abv7bnsr.js} +7 -7
  85. package/dist/chunks/{schema-vr8megq1.js → tool-arnz58tr.js} +24 -24
  86. package/dist/chunks/{schema-sjvzs7k3.js → tool-at5p6ayt.js} +30 -30
  87. package/dist/chunks/{schema-ymg8axns.js → tool-atf3qpjr.js} +5 -5
  88. package/dist/chunks/{schema-24f8gbsn.js → tool-aw87ckgg.js} +24 -24
  89. package/dist/chunks/{schema-8w4cj8nh.js → tool-axyyyrhn.js} +7 -7
  90. package/dist/chunks/{schema-dsaykm6h.js → tool-b0j0nxe0.js} +11 -11
  91. package/dist/chunks/{schema-g4njwx0b.js → tool-b279fhh5.js} +16 -16
  92. package/dist/chunks/{schema-scgrse2b.js → tool-b3f8fkhc.js} +5 -5
  93. package/dist/chunks/{schema-16dqk34s.js → tool-b6cwqfv7.js} +4 -4
  94. package/dist/chunks/{schema-gbgdjg8y.js → tool-bd4cefys.js} +37 -37
  95. package/dist/chunks/{schema-zq01xz8r.js → tool-bfegkxfd.js} +8 -8
  96. package/dist/chunks/{schema-txm3e8qz.js → tool-bmr56wjg.js} +4 -4
  97. package/dist/chunks/tool-bne3pjzh.js +26 -0
  98. package/dist/chunks/{schema-hrvqnyz4.js → tool-bns0etj0.js} +17 -17
  99. package/dist/chunks/{schema-k0r7s5gk.js → tool-bq7fwdt7.js} +27 -27
  100. package/dist/chunks/{schema-616sprd3.js → tool-bsxq6r4b.js} +10 -10
  101. package/dist/chunks/{schema-7d29djek.js → tool-btks0zdn.js} +10 -10
  102. package/dist/chunks/{schema-kb9j3d72.js → tool-c1fqxshp.js} +3 -3
  103. package/dist/chunks/{schema-mz7kcatz.js → tool-c7kyxnph.js} +45 -45
  104. package/dist/chunks/{schema-hweb1ns6.js → tool-c96a6g06.js} +5 -5
  105. package/dist/chunks/{schema-7951xmcm.js → tool-c9b8trf9.js} +32 -32
  106. package/dist/chunks/{schema-enmwmtrr.js → tool-d2bxdv99.js} +17 -17
  107. package/dist/chunks/{schema-2jbq5rvd.js → tool-d65vh0bp.js} +22 -22
  108. package/dist/chunks/{schema-b9fnkeff.js → tool-dhhncb1a.js} +13 -13
  109. package/dist/chunks/{schema-1ajmp50w.js → tool-dmy9ph2f.js} +12 -12
  110. package/dist/chunks/{schema-6wrgwmsx.js → tool-dzcfmz1e.js} +8 -8
  111. package/dist/chunks/{schema-hnbkedn6.js → tool-e2xzawa4.js} +11 -11
  112. package/dist/chunks/{schema-j0gzcsx3.js → tool-e46pc0p0.js} +11 -11
  113. package/dist/chunks/{schema-0hsd46jk.js → tool-e5xxn5fd.js} +36 -36
  114. package/dist/chunks/{schema-eej6y6fw.js → tool-eej6y6fw.js} +2 -2
  115. package/dist/chunks/{schema-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
  116. package/dist/chunks/{schema-kecqjjhm.js → tool-eh6ej367.js} +5 -5
  117. package/dist/chunks/{schema-txfbykqs.js → tool-ek7jr3ns.js} +27 -27
  118. package/dist/chunks/{schema-k5qw4hft.js → tool-eka1fpr9.js} +8 -8
  119. package/dist/chunks/{schema-p7jqzqxf.js → tool-emtf3agc.js} +15 -15
  120. package/dist/chunks/{schema-rfrb0sty.js → tool-f146z90h.js} +19 -19
  121. package/dist/chunks/{schema-n1n192bv.js → tool-f29mbr7f.js} +4 -4
  122. package/dist/chunks/{schema-r4e3mj9w.js → tool-fpgft077.js} +18 -18
  123. package/dist/chunks/{schema-ryr25ayn.js → tool-fqb2p7cx.js} +4 -4
  124. package/dist/chunks/{schema-gh19h2nq.js → tool-fsmtef63.js} +1 -1
  125. package/dist/chunks/{schema-djszqvmq.js → tool-ft3hqk2c.js} +9 -9
  126. package/dist/chunks/{schema-ye6fgm33.js → tool-fyd6zf3q.js} +91 -91
  127. package/dist/chunks/{schema-7wy9ttat.js → tool-g0wjp6rh.js} +32 -32
  128. package/dist/chunks/{schema-9eq4r153.js → tool-g740sh9d.js} +19 -19
  129. package/dist/chunks/{schema-s8d7rejh.js → tool-gbt6w4kb.js} +8 -8
  130. package/dist/chunks/{schema-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
  131. package/dist/chunks/{schema-ghyrxap0.js → tool-gfkgxe8r.js} +26 -26
  132. package/dist/chunks/{schema-b6nnf8m3.js → tool-gjb7k4gb.js} +6 -6
  133. package/dist/chunks/{schema-gk8qb678.js → tool-gk8qb678.js} +1 -1
  134. package/dist/chunks/{schema-2c3mwd6h.js → tool-gn6q0njp.js} +32 -32
  135. package/dist/chunks/{schema-0yttm9vb.js → tool-grg8548d.js} +15 -15
  136. package/dist/chunks/{schema-g3gkqvbz.js → tool-gvp3we1m.js} +22 -22
  137. package/dist/chunks/{schema-mdjyr85s.js → tool-gvtjjnmn.js} +32 -32
  138. package/dist/chunks/{schema-hmb281w1.js → tool-gwb58t0j.js} +5 -5
  139. package/dist/chunks/{schema-vmecfj1a.js → tool-h2tk0fkt.js} +34 -34
  140. package/dist/chunks/{schema-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
  141. package/dist/chunks/{schema-31xfzrxg.js → tool-h7s7r6s9.js} +5 -5
  142. package/dist/chunks/{schema-v0es1rhs.js → tool-hg3614cy.js} +9 -9
  143. package/dist/chunks/{schema-hgz4x7wa.js → tool-hgz4x7wa.js} +1 -1
  144. package/dist/chunks/{schema-dsm6mk11.js → tool-hqsvs4zs.js} +14 -14
  145. package/dist/chunks/tool-ht5y0zrb.js +18 -0
  146. package/dist/chunks/{schema-bcw02e1j.js → tool-hw1d7c72.js} +45 -45
  147. package/dist/chunks/{schema-0cpa7f6c.js → tool-j16v8rv3.js} +14 -14
  148. package/dist/chunks/{schema-j56e64zr.js → tool-j56e64zr.js} +1 -1
  149. package/dist/chunks/{schema-re5apsaa.js → tool-j5d5zpn1.js} +14 -14
  150. package/dist/chunks/{schema-pgp1nwjn.js → tool-j8m1p4p1.js} +4 -4
  151. package/dist/chunks/{schema-b7bdwx76.js → tool-jb7jfkvq.js} +3 -3
  152. package/dist/chunks/{schema-we4ydj7w.js → tool-jxk8k1h3.js} +28 -28
  153. package/dist/chunks/{schema-8paj7kd6.js → tool-kbjks3k1.js} +17 -17
  154. package/dist/chunks/{schema-fxaymqdw.js → tool-khmqacep.js} +4 -4
  155. package/dist/chunks/{schema-y54hr7f3.js → tool-kj0cy399.js} +9 -9
  156. package/dist/chunks/tool-kjvjttp2.js +253 -0
  157. package/dist/chunks/{schema-b8k8fdv1.js → tool-kmreqacc.js} +34 -34
  158. package/dist/chunks/{schema-0r1cr89s.js → tool-kmvrwyj0.js} +18 -18
  159. package/dist/chunks/{schema-5gbr5t7g.js → tool-kzd9jey1.js} +8 -8
  160. package/dist/chunks/tool-m18g726c.js +13 -0
  161. package/dist/chunks/{schema-m3fdjcah.js → tool-m3fdjcah.js} +1 -1
  162. package/dist/chunks/{schema-3n0nfbrk.js → tool-m7sy47b1.js} +17 -17
  163. package/dist/chunks/{schema-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
  164. package/dist/chunks/{schema-zp79rdht.js → tool-mmrg9aqf.js} +9 -9
  165. package/dist/chunks/{schema-y1346aqr.js → tool-mq656cac.js} +23 -23
  166. package/dist/chunks/{schema-qmmh0qgx.js → tool-n5gnndyc.js} +5 -5
  167. package/dist/chunks/{schema-5en7z6zr.js → tool-n67mmnz4.js} +9 -9
  168. package/dist/chunks/{schema-91efdwy5.js → tool-n7gvkp58.js} +3 -3
  169. package/dist/chunks/{schema-ycjb11n5.js → tool-n8dykrk6.js} +6 -6
  170. package/dist/chunks/{schema-yekg5bww.js → tool-n9dy47xj.js} +12 -12
  171. package/dist/chunks/{schema-01tebjt2.js → tool-ncqwz9m4.js} +1 -1
  172. package/dist/chunks/{schema-bydnjh3t.js → tool-njhqdk9p.js} +9 -9
  173. package/dist/chunks/{schema-6nd16mgq.js → tool-nxxv0fmq.js} +1 -1
  174. package/dist/chunks/{schema-hdta74m5.js → tool-p2kce4yd.js} +16 -16
  175. package/dist/chunks/{schema-avae2qkj.js → tool-p8vvgsz3.js} +16 -16
  176. package/dist/chunks/{schema-24kngg5a.js → tool-p91ykgce.js} +14 -14
  177. package/dist/chunks/{schema-f1t98d39.js → tool-pgg7zhs7.js} +13 -13
  178. package/dist/chunks/{schema-dnk41676.js → tool-ph8a80xg.js} +46 -46
  179. package/dist/chunks/{schema-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
  180. package/dist/chunks/{schema-pknna89w.js → tool-pknna89w.js} +1 -1
  181. package/dist/chunks/{schema-34c7v6d4.js → tool-pkyv6v7h.js} +1 -0
  182. package/dist/chunks/{schema-ygbc3xn1.js → tool-pv8mdw9p.js} +13 -13
  183. package/dist/chunks/{schema-mf82c6q7.js → tool-pxeepxyz.js} +15 -15
  184. package/dist/chunks/{schema-8sze2n9a.js → tool-py3kkmfq.js} +6 -6
  185. package/dist/chunks/{schema-0h1mm7qe.js → tool-pyavekn7.js} +5 -5
  186. package/dist/chunks/{schema-g0ktjft2.js → tool-pzc00pfe.js} +19 -19
  187. package/dist/chunks/{schema-q0xm7vwc.js → tool-q0xm7vwc.js} +2 -2
  188. package/dist/chunks/{schema-3g8j9he4.js → tool-q5e7cmwt.js} +1 -1
  189. package/dist/chunks/{schema-9wjarjqh.js → tool-q73a5vx6.js} +26 -26
  190. package/dist/chunks/{schema-3g5be3ey.js → tool-q7g7dxqg.js} +13 -13
  191. package/dist/chunks/{schema-1zf0w0mf.js → tool-q91aa15s.js} +3 -3
  192. package/dist/chunks/{schema-4p5m0t87.js → tool-qbbpc6wm.js} +71 -71
  193. package/dist/chunks/{schema-70p67exa.js → tool-qjjb6mfv.js} +54 -54
  194. package/dist/chunks/{schema-63gxtxwv.js → tool-qn0k908c.js} +26 -26
  195. package/dist/chunks/{schema-qnc92qwc.js → tool-qnc92qwc.js} +1 -1
  196. package/dist/chunks/{schema-f2kjzyx7.js → tool-qp5x3va9.js} +19 -19
  197. package/dist/chunks/{schema-qsdy395h.js → tool-qsdy395h.js} +1 -1
  198. package/dist/chunks/{schema-b5kphdjs.js → tool-qvyrhn6e.js} +15 -15
  199. package/dist/chunks/{schema-ttmwvqbw.js → tool-qz5qj01d.js} +9 -9
  200. package/dist/chunks/{schema-pthxb9ry.js → tool-r1xx1spa.js} +26 -26
  201. package/dist/chunks/{schema-9n19sj5j.js → tool-r4kpcnjj.js} +18 -18
  202. package/dist/chunks/{schema-54ma36ye.js → tool-r94pvvab.js} +4 -4
  203. package/dist/chunks/{schema-hc5b8hrn.js → tool-r975dkdj.js} +11 -11
  204. package/dist/chunks/{schema-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
  205. package/dist/chunks/{schema-f75zav2x.js → tool-rert0e01.js} +2 -2
  206. package/dist/chunks/{schema-p253t8me.js → tool-rg9ywjz0.js} +11 -11
  207. package/dist/chunks/{schema-3cegwx68.js → tool-rj3eygr5.js} +3 -2
  208. package/dist/chunks/{schema-gcavn3wx.js → tool-rmm45jmv.js} +5 -5
  209. package/dist/chunks/{schema-fxrw3q79.js → tool-rsjzvmnv.js} +25 -25
  210. package/dist/chunks/{schema-ykk7pmdn.js → tool-s0bm3vva.js} +4 -4
  211. package/dist/chunks/{schema-h3kn1xt9.js → tool-s1bpbtq5.js} +4 -4
  212. package/dist/chunks/{schema-9z48nynt.js → tool-s6xmpaa6.js} +20 -20
  213. package/dist/chunks/{schema-jy9tvk3y.js → tool-s9k1drx9.js} +11 -11
  214. package/dist/chunks/{schema-0p1vh52y.js → tool-s9yqr8vf.js} +2 -2
  215. package/dist/chunks/{schema-84h8c373.js → tool-sa8ekw3f.js} +2 -2
  216. package/dist/chunks/{schema-y2seww6j.js → tool-sjd53xnz.js} +15 -15
  217. package/dist/chunks/{schema-pnaxc6j9.js → tool-sk5hrgtc.js} +7 -7
  218. package/dist/chunks/{schema-npz2prbw.js → tool-spv785rj.js} +34 -34
  219. package/dist/chunks/{schema-e80seqcp.js → tool-sxcaecc0.js} +3 -3
  220. package/dist/chunks/{schema-1te6z1br.js → tool-t0bwv2mg.js} +8 -8
  221. package/dist/chunks/{schema-c3pxc7te.js → tool-t1c79nbf.js} +24 -24
  222. package/dist/chunks/{schema-cbwad64w.js → tool-t2xt9v1m.js} +24 -24
  223. package/dist/chunks/{schema-r6d930kt.js → tool-t38scxd0.js} +11 -11
  224. package/dist/chunks/{schema-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
  225. package/dist/chunks/{schema-3xw42s60.js → tool-tc6f0aex.js} +24 -24
  226. package/dist/chunks/{schema-mh4sfpe3.js → tool-tczqeqc0.js} +33 -33
  227. package/dist/chunks/{schema-tdstcens.js → tool-tdstcens.js} +1 -1
  228. package/dist/chunks/{schema-5sbkfk9m.js → tool-tezksqm5.js} +33 -33
  229. package/dist/chunks/{schema-kn9hkvj3.js → tool-trtdj8pg.js} +4 -4
  230. package/dist/chunks/{schema-ajdwry64.js → tool-ts5r4aaq.js} +11 -11
  231. package/dist/chunks/{schema-n4r3xatb.js → tool-ttqh24zm.js} +4 -4
  232. package/dist/chunks/{schema-52vty0jw.js → tool-tx4mgqww.js} +6 -6
  233. package/dist/chunks/{schema-fj06szgc.js → tool-ty22trqb.js} +16 -16
  234. package/dist/chunks/{schema-tyytaxap.js → tool-tyytaxap.js} +1 -1
  235. package/dist/chunks/{schema-7fbbp2qf.js → tool-tzhsj38v.js} +10 -10
  236. package/dist/chunks/{schema-zy4v1d78.js → tool-v009g4pj.js} +30 -30
  237. package/dist/chunks/{schema-tjy0w605.js → tool-v0vwmemp.js} +36 -36
  238. package/dist/chunks/{schema-g686f6pq.js → tool-v1vh7s4p.js} +9 -9
  239. package/dist/chunks/{schema-m95zc4xf.js → tool-v5wh5e70.js} +16 -16
  240. package/dist/chunks/{schema-kc6mcnvt.js → tool-v66a0s1a.js} +12 -12
  241. package/dist/chunks/{schema-v7p4zvkq.js → tool-v7p4zvkq.js} +2 -2
  242. package/dist/chunks/{schema-b476brms.js → tool-v8xdx15a.js} +32 -32
  243. package/dist/chunks/{schema-veqvce7d.js → tool-veqvce7d.js} +1 -1
  244. package/dist/chunks/{schema-kjap7t58.js → tool-vk0rmyh3.js} +89 -89
  245. package/dist/chunks/{schema-b5763n3s.js → tool-vqvv5sj1.js} +11 -11
  246. package/dist/chunks/{schema-94kgfjtq.js → tool-vtwnmbmj.js} +45 -45
  247. package/dist/chunks/{schema-vzs5sf6e.js → tool-vzs5sf6e.js} +1 -1
  248. package/dist/chunks/{schema-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{schema-skv1cymz.js → tool-w7jtf2m2.js} +17 -17
  250. package/dist/chunks/{schema-d7tt0p63.js → tool-w81spx5m.js} +4 -4
  251. package/dist/chunks/{schema-wd87259q.js → tool-wd87259q.js} +1 -1
  252. package/dist/chunks/{schema-1pxz8ven.js → tool-wh6zw745.js} +5 -5
  253. package/dist/chunks/{schema-m0r31qfn.js → tool-wj76ss2k.js} +4 -4
  254. package/dist/chunks/{schema-page4y1m.js → tool-wkz90rt8.js} +36 -36
  255. package/dist/chunks/{schema-5x6dv44x.js → tool-wsfr8qtv.js} +11 -11
  256. package/dist/chunks/{schema-31b2zrgz.js → tool-wty1egvx.js} +14 -14
  257. package/dist/chunks/{schema-asbbxgy3.js → tool-wztntb4s.js} +10 -10
  258. package/dist/chunks/{schema-dhr2qr8g.js → tool-x5vpq02z.js} +46 -46
  259. package/dist/chunks/{schema-842tzcmm.js → tool-x7wafmke.js} +10 -10
  260. package/dist/chunks/{schema-xptvtjnp.js → tool-xagztgbr.js} +11 -11
  261. package/dist/chunks/{schema-8hh8rms7.js → tool-xbc6qp68.js} +6 -6
  262. package/dist/chunks/{schema-f0q60j9h.js → tool-xbqyc1h2.js} +18 -18
  263. package/dist/chunks/{schema-xfkkasph.js → tool-xfkkasph.js} +1 -1
  264. package/dist/chunks/{schema-gzpc0ern.js → tool-xtfwraxg.js} +30 -30
  265. package/dist/chunks/{schema-g441sed7.js → tool-xxvssexd.js} +13 -13
  266. package/dist/chunks/{schema-ppm6d4hz.js → tool-xxxth0pp.js} +5 -5
  267. package/dist/chunks/{schema-pkb9436j.js → tool-xyee9vg5.js} +40 -40
  268. package/dist/chunks/{schema-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{schema-htjw9qza.js → tool-y3wpwyaa.js} +6 -6
  270. package/dist/chunks/{schema-qqqyvqxz.js → tool-y58x68vn.js} +24 -24
  271. package/dist/chunks/{schema-drnf6xwf.js → tool-y5beyqvm.js} +2 -2
  272. package/dist/chunks/{schema-dpkg50ah.js → tool-y71avatq.js} +4 -4
  273. package/dist/chunks/{schema-kxx577b5.js → tool-y78g4pym.js} +9 -9
  274. package/dist/chunks/{schema-rx9ava5n.js → tool-y97hy3kz.js} +4 -4
  275. package/dist/chunks/{schema-r8xr0va3.js → tool-yp2x3t23.js} +4 -4
  276. package/dist/chunks/{schema-gw62fr37.js → tool-ysvssewb.js} +28 -28
  277. package/dist/chunks/{schema-1ffvrpkg.js → tool-ywt8jp22.js} +6 -6
  278. package/dist/chunks/{schema-2s1tt141.js → tool-yzdmepj7.js} +33 -33
  279. package/dist/chunks/{schema-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{schema-6y44ky4y.js → tool-z3hze8ne.js} +13 -13
  281. package/dist/chunks/{schema-kzqm322s.js → tool-zc9nacpj.js} +34 -34
  282. package/dist/chunks/{schema-exvgxj6x.js → tool-zjz1t4e7.js} +9 -9
  283. package/dist/chunks/{schema-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{schema-addxnjmp.js → tool-zw2hpfmh.js} +4 -4
  285. package/dist/chunks/{schema-my4zabxr.js → tool-zx95ftzb.js} +3 -3
  286. package/dist/chunks/{schema-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +9 -9
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +85 -84
  292. package/dist/config/discovery.js +86 -85
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +101 -100
  295. package/dist/config/plugin/agent.js +120 -119
  296. package/dist/config/plugin/command.js +209 -208
  297. package/dist/config/plugin/compaction.js +156 -155
  298. package/dist/config/plugin/compatibility.js +136 -135
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +119 -118
  301. package/dist/config/plugin/image.js +118 -117
  302. package/dist/config/plugin/instruction.js +92 -91
  303. package/dist/config/plugin/location-watcher.js +120 -119
  304. package/dist/config/plugin/mcp.js +127 -126
  305. package/dist/config/plugin/policy.js +119 -118
  306. package/dist/config/plugin/provider.js +118 -117
  307. package/dist/config/plugin/reference.js +120 -119
  308. package/dist/config/plugin/shell.js +120 -119
  309. package/dist/config/plugin/skill-file.js +104 -103
  310. package/dist/config/plugin/skill.js +139 -138
  311. package/dist/config/plugin/snapshot.js +118 -117
  312. package/dist/config/plugin/source.js +121 -120
  313. package/dist/config/plugin/tool-output.js +119 -118
  314. package/dist/config/plugin/websearch.js +119 -118
  315. package/dist/config/plugin/worktree.js +120 -119
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +123 -122
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +87 -86
  321. package/dist/database/database.js +68 -67
  322. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +15 -15
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +16 -16
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  385. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  386. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  387. package/dist/database/migration/20261010180456_project_time_archived.js +6 -0
  388. package/dist/database/migration.gen.js +51 -50
  389. package/dist/database/migration.js +53 -52
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +78 -77
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +368 -367
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +3 -3
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +95 -94
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +95 -94
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +3 -3
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +72 -71
  413. package/dist/file-access.js +106 -105
  414. package/dist/file-mutation.js +96 -95
  415. package/dist/file-retention.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/location-watcher-policy.js +6 -6
  421. package/dist/filesystem/location-watcher.js +222 -221
  422. package/dist/filesystem/protected.js +3 -3
  423. package/dist/filesystem/search.js +105 -104
  424. package/dist/filesystem/watcher-binding.js +1 -1
  425. package/dist/filesystem/watcher.js +15 -15
  426. package/dist/filesystem.js +108 -107
  427. package/dist/form.js +88 -87
  428. package/dist/formatter/builtins.js +4 -4
  429. package/dist/formatter.js +89 -88
  430. package/dist/generate.js +105 -104
  431. package/dist/git.js +10 -10
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +93 -92
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +359 -358
  455. package/dist/instruction-discovery.js +87 -86
  456. package/dist/instructions/builtins.js +89 -88
  457. package/dist/instructions/index.js +5 -5
  458. package/dist/integration/connection.js +3 -3
  459. package/dist/integration.js +89 -88
  460. package/dist/job.js +80 -79
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +75 -74
  463. package/dist/location-activity.js +133 -132
  464. package/dist/location-lifecycle.js +109 -108
  465. package/dist/location-service-map.js +88 -87
  466. package/dist/location-services.js +356 -355
  467. package/dist/location.js +89 -88
  468. package/dist/managed-policy.js +8 -8
  469. package/dist/mcp/client.js +93 -92
  470. package/dist/mcp/index.js +111 -110
  471. package/dist/mcp/instructions.js +131 -130
  472. package/dist/mcp/oauth.js +80 -79
  473. package/dist/mcp/stdio.js +92 -91
  474. package/dist/mime.js +1 -1
  475. package/dist/modal/models.js +93 -92
  476. package/dist/model-resolver.js +100 -99
  477. package/dist/model.js +102 -101
  478. package/dist/models-dev.js +107 -106
  479. package/dist/oauth/page.js +1 -1
  480. package/dist/permission/saved.js +84 -83
  481. package/dist/permission/sql.js +5 -5
  482. package/dist/permission.js +115 -114
  483. package/dist/persistent-pty/binary.bun.js +1 -1
  484. package/dist/persistent-pty/daemon.js +1 -1
  485. package/dist/persistent-pty/index.js +90 -89
  486. package/dist/persistent-pty/pty-binding.js +1 -1
  487. package/dist/persistent-pty.js +77 -76
  488. package/dist/plugin/agent.js +78 -77
  489. package/dist/plugin/command.js +104 -103
  490. package/dist/plugin/hooks.js +3 -3
  491. package/dist/plugin/host.js +213 -212
  492. package/dist/plugin/identity.js +3 -3
  493. package/dist/plugin/instance.js +5 -5
  494. package/dist/plugin/internal.js +331 -330
  495. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  496. package/dist/plugin/models-dev.js +98 -97
  497. package/dist/plugin/module.js +119 -118
  498. package/dist/plugin/optimize.js +4 -4
  499. package/dist/plugin/plan.js +104 -103
  500. package/dist/plugin/promise.js +1 -1
  501. package/dist/plugin/provider/amazon-bedrock.js +92 -91
  502. package/dist/plugin/provider/azure.js +119 -118
  503. package/dist/plugin/provider/cerebras.js +1 -1
  504. package/dist/plugin/provider/chatgpt.js +96 -95
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -114
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -115
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +114 -113
  509. package/dist/plugin/provider/databricks.js +1 -1
  510. package/dist/plugin/provider/digitalocean.js +95 -94
  511. package/dist/plugin/provider/dynamic.js +2 -2
  512. package/dist/plugin/provider/factory.js +1 -1
  513. package/dist/plugin/provider/github-copilot.js +97 -96
  514. package/dist/plugin/provider/gitlab.js +95 -94
  515. package/dist/plugin/provider/google-vertex.js +115 -114
  516. package/dist/plugin/provider/kilo.js +1 -1
  517. package/dist/plugin/provider/llmgateway.js +80 -79
  518. package/dist/plugin/provider/lmstudio.js +125 -124
  519. package/dist/plugin/provider/local.js +124 -123
  520. package/dist/plugin/provider/modal.js +94 -93
  521. package/dist/plugin/provider/neon.js +1 -1
  522. package/dist/plugin/provider/nvidia.js +1 -1
  523. package/dist/plugin/provider/ollama.js +127 -126
  524. package/dist/plugin/provider/openai.js +97 -96
  525. package/dist/plugin/provider/opencode.js +99 -98
  526. package/dist/plugin/provider/openrouter.js +93 -92
  527. package/dist/plugin/provider/perplexity.js +2 -2
  528. package/dist/plugin/provider/poe.js +81 -80
  529. package/dist/plugin/provider/prompt-cache-key.js +92 -91
  530. package/dist/plugin/provider/sap-ai-core.js +93 -92
  531. package/dist/plugin/provider/sdk-factory.js +1 -1
  532. package/dist/plugin/provider/snowflake-cortex.js +117 -116
  533. package/dist/plugin/provider/vercel.js +92 -91
  534. package/dist/plugin/provider/vllm.js +127 -126
  535. package/dist/plugin/provider/xai.js +93 -92
  536. package/dist/plugin/provider/zenmux.js +1 -1
  537. package/dist/plugin/provider.js +169 -168
  538. package/dist/plugin/sdk.js +76 -75
  539. package/dist/plugin/service.js +3 -3
  540. package/dist/plugin/skill.js +136 -135
  541. package/dist/plugin/source-directory.js +1 -1
  542. package/dist/plugin/supervisor.js +350 -349
  543. package/dist/plugin/tool-input-repair.js +4 -4
  544. package/dist/plugin/update.js +6 -6
  545. package/dist/plugin/vcs/git.js +88 -87
  546. package/dist/plugin/vcs/hg.js +88 -87
  547. package/dist/plugin/verbosity.js +95 -94
  548. package/dist/plugin/warming.js +116 -115
  549. package/dist/plugin/websearch/exa.js +7 -7
  550. package/dist/plugin/websearch/firecrawl.js +8 -8
  551. package/dist/plugin/websearch/index.js +9 -9
  552. package/dist/plugin/websearch/mcp.js +4 -4
  553. package/dist/plugin/websearch/parallel.js +8 -8
  554. package/dist/plugin/websearch/tavily.js +6 -6
  555. package/dist/plugin/websearch/tinyfish.js +8 -8
  556. package/dist/plugin.js +224 -223
  557. package/dist/project/schema.js +8 -8
  558. package/dist/project/sql.js +4 -4
  559. package/dist/project.js +93 -90
  560. package/dist/provider.js +103 -102
  561. package/dist/pty/protocol.js +1 -1
  562. package/dist/pty/ticket.js +1 -1
  563. package/dist/pty.js +101 -100
  564. package/dist/reference/instructions.js +89 -88
  565. package/dist/reference.js +93 -92
  566. package/dist/repository-cache.js +83 -82
  567. package/dist/repository.js +1 -1
  568. package/dist/ripgrep/binary.js +2 -2
  569. package/dist/ripgrep.js +99 -98
  570. package/dist/rpc.js +88 -87
  571. package/dist/schema.js +1 -1
  572. package/dist/session/affinity.js +3 -3
  573. package/dist/session/command.js +76 -75
  574. package/dist/session/compaction.js +135 -134
  575. package/dist/session/context.js +155 -154
  576. package/dist/session/diff.js +90 -89
  577. package/dist/session/environment.js +5 -5
  578. package/dist/session/error.js +5 -5
  579. package/dist/session/event.js +1 -1
  580. package/dist/session/execution/restart.js +216 -215
  581. package/dist/session/execution.js +127 -126
  582. package/dist/session/generate.js +156 -155
  583. package/dist/session/history.js +13 -13
  584. package/dist/session/inbox.js +92 -91
  585. package/dist/session/info.js +3 -3
  586. package/dist/session/instruction-entry.js +81 -80
  587. package/dist/session/instruction-state.js +8 -8
  588. package/dist/session/instructions.js +99 -98
  589. package/dist/session/message-updater.js +4 -4
  590. package/dist/session/message.js +1 -1
  591. package/dist/session/model-request.js +122 -121
  592. package/dist/session/model-transport.js +9 -9
  593. package/dist/session/move.js +131 -130
  594. package/dist/session/projector.js +88 -87
  595. package/dist/session/prompt.js +107 -106
  596. package/dist/session/provider-context.js +3 -3
  597. package/dist/session/revert.js +92 -91
  598. package/dist/session/run-coordinator.js +3 -3
  599. package/dist/session/runner/index.js +3 -3
  600. package/dist/session/runner/llm.js +226 -225
  601. package/dist/session/runner/max-steps.js +1 -1
  602. package/dist/session/runner/model.js +100 -99
  603. package/dist/session/runner/publish-llm-event.js +115 -114
  604. package/dist/session/runner/retry.js +4 -4
  605. package/dist/session/runner/step.js +127 -126
  606. package/dist/session/runner/to-llm-message.js +2 -2
  607. package/dist/session/schema.js +5 -5
  608. package/dist/session/session.js +166 -165
  609. package/dist/session/shell.js +132 -131
  610. package/dist/session/skill.js +107 -106
  611. package/dist/session/sql.js +5 -5
  612. package/dist/session/stats.js +75 -74
  613. package/dist/session/store.js +87 -86
  614. package/dist/session/subagent-completion.js +1 -1
  615. package/dist/session/subagent-job.js +207 -206
  616. package/dist/session/system-prompt.js +1 -1
  617. package/dist/session/title.js +159 -158
  618. package/dist/session/to-session-error.js +113 -112
  619. package/dist/session/transfer.js +212 -211
  620. package/dist/session/usage.js +1 -1
  621. package/dist/session.js +213 -212
  622. package/dist/shell/parse.js +6 -6
  623. package/dist/shell/result.js +1 -1
  624. package/dist/shell/scan.js +1 -1
  625. package/dist/shell/select.js +15 -15
  626. package/dist/shell.js +134 -133
  627. package/dist/skill/discovery.js +6 -6
  628. package/dist/skill/instructions.js +109 -108
  629. package/dist/skill.js +116 -115
  630. package/dist/snapshot.js +93 -92
  631. package/dist/state.js +1 -1
  632. package/dist/tool/html-markdown.js +1 -1
  633. package/dist/tool/http-body.js +1 -1
  634. package/dist/tool/mcp.js +128 -127
  635. package/dist/tool/plugin/edit.js +122 -121
  636. package/dist/tool/plugin/file-diff.js +1 -1
  637. package/dist/tool/plugin/glob.js +126 -125
  638. package/dist/tool/plugin/grep.js +124 -123
  639. package/dist/tool/plugin/mcp-resource.js +119 -118
  640. package/dist/tool/plugin/opencode.js +111 -110
  641. package/dist/tool/plugin/patch.js +124 -123
  642. package/dist/tool/plugin/question.js +105 -104
  643. package/dist/tool/plugin/read.js +125 -124
  644. package/dist/tool/plugin/shell.js +208 -207
  645. package/dist/tool/plugin/skill.js +115 -114
  646. package/dist/tool/plugin/subagent.js +214 -213
  647. package/dist/tool/plugin/webfetch.js +112 -111
  648. package/dist/tool/plugin/websearch.js +114 -113
  649. package/dist/tool/plugin/write.js +124 -123
  650. package/dist/tool/read-filesystem.js +100 -99
  651. package/dist/tool/runtime.js +1 -1
  652. package/dist/tool-output.js +7 -7
  653. package/dist/tool.js +16 -16
  654. package/dist/types/database/migration/20261010180456_project_time_archived.d.ts +3 -0
  655. package/dist/types/project/schema.d.ts +5 -0
  656. package/dist/types/project/sql.d.ts +16 -0
  657. package/dist/types/project.d.ts +9 -1
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/error.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/iife.js +1 -1
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +5 -5
  668. package/dist/v1/config/command.js +3 -3
  669. package/dist/v1/config/error.js +2 -2
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +94 -93
  672. package/dist/v1/config/permission.js +3 -3
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +2 -2
  676. package/dist/variant.js +93 -92
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +91 -90
  679. package/dist/websearch.js +86 -85
  680. package/dist/wellknown/plugin.js +78 -77
  681. package/dist/wellknown.js +83 -82
  682. package/dist/workspace/driver.js +5 -5
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +84 -83
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +8 -8
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +91 -90
  689. package/dist/worktree.js +100 -99
  690. package/package.json +8 -8
  691. package/dist/chunks/schema-619r8v3y.js +0 -18
  692. package/dist/chunks/schema-anxvsj3j.js +0 -26
  693. package/dist/chunks/schema-s0y99pez.js +0 -253
  694. /package/dist/chunks/{schema-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
  695. /package/dist/chunks/{schema-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
  696. /package/dist/chunks/{schema-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
  697. /package/dist/chunks/{schema-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
  698. /package/dist/chunks/{schema-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
  699. /package/dist/chunks/{schema-24dcb14g.js → tool-24dcb14g.js} +0 -0
  700. /package/dist/chunks/{schema-2710q6r3.js → tool-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{schema-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
  702. /package/dist/chunks/{schema-2bv980vf.js → tool-2bv980vf.js} +0 -0
  703. /package/dist/chunks/{schema-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{schema-359p4xyc.js → tool-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{schema-3asan66x.js → tool-3asan66x.js} +0 -0
  706. /package/dist/chunks/{schema-3t0ybcrp.js → tool-3t0ybcrp.js} +0 -0
  707. /package/dist/chunks/{schema-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
  708. /package/dist/chunks/{schema-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{schema-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{schema-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{schema-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{schema-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{schema-53557ph1.js → tool-53557ph1.js} +0 -0
  714. /package/dist/chunks/{schema-550bvhaj.js → tool-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{schema-5qd3pb7m.js → tool-5qd3pb7m.js} +0 -0
  716. /package/dist/chunks/{schema-6prwharc.js → tool-6prwharc.js} +0 -0
  717. /package/dist/chunks/{schema-6q2bdcd1.js → tool-6q2bdcd1.js} +0 -0
  718. /package/dist/chunks/{schema-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
  719. /package/dist/chunks/{schema-7m9af43g.js → tool-7m9af43g.js} +0 -0
  720. /package/dist/chunks/{schema-822emrt2.js → tool-822emrt2.js} +0 -0
  721. /package/dist/chunks/{schema-84wd9syh.js → tool-84wd9syh.js} +0 -0
  722. /package/dist/chunks/{schema-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
  723. /package/dist/chunks/{schema-8n3pysct.js → tool-8n3pysct.js} +0 -0
  724. /package/dist/chunks/{schema-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
  725. /package/dist/chunks/{schema-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
  726. /package/dist/chunks/{schema-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
  727. /package/dist/chunks/{schema-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{schema-af5trqkr.js → tool-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{schema-afrmfg78.js → tool-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{schema-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{schema-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{schema-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{schema-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{schema-bw78ga2c.js → tool-bw78ga2c.js} +0 -0
  735. /package/dist/chunks/{schema-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
  736. /package/dist/chunks/{schema-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
  737. /package/dist/chunks/{schema-d9fn303g.js → tool-d9fn303g.js} +0 -0
  738. /package/dist/chunks/{schema-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
  739. /package/dist/chunks/{schema-dajrwvna.js → tool-dajrwvna.js} +0 -0
  740. /package/dist/chunks/{schema-dap0rakb.js → tool-dap0rakb.js} +0 -0
  741. /package/dist/chunks/{schema-df08tz66.js → tool-df08tz66.js} +0 -0
  742. /package/dist/chunks/{schema-dy18nga0.js → tool-dy18nga0.js} +0 -0
  743. /package/dist/chunks/{schema-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
  744. /package/dist/chunks/{schema-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
  745. /package/dist/chunks/{schema-ec1grn59.js → tool-ec1grn59.js} +0 -0
  746. /package/dist/chunks/{schema-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
  747. /package/dist/chunks/{schema-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
  748. /package/dist/chunks/{schema-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
  749. /package/dist/chunks/{schema-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
  750. /package/dist/chunks/{schema-faypxj3z.js → tool-faypxj3z.js} +0 -0
  751. /package/dist/chunks/{schema-fd410y7t.js → tool-fd410y7t.js} +0 -0
  752. /package/dist/chunks/{schema-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
  753. /package/dist/chunks/{schema-g86h250q.js → tool-g86h250q.js} +0 -0
  754. /package/dist/chunks/{schema-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
  755. /package/dist/chunks/{schema-gftt206x.js → tool-gftt206x.js} +0 -0
  756. /package/dist/chunks/{schema-hk9envan.js → tool-hk9envan.js} +0 -0
  757. /package/dist/chunks/{schema-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{schema-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{schema-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
  760. /package/dist/chunks/{schema-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{schema-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{schema-jze0r7bz.js → tool-jze0r7bz.js} +0 -0
  763. /package/dist/chunks/{schema-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{schema-mp448xyj.js → tool-mp448xyj.js} +0 -0
  765. /package/dist/chunks/{schema-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
  766. /package/dist/chunks/{schema-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
  767. /package/dist/chunks/{schema-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
  768. /package/dist/chunks/{schema-njntx4h6.js → tool-njntx4h6.js} +0 -0
  769. /package/dist/chunks/{schema-pyv0edze.js → tool-pyv0edze.js} +0 -0
  770. /package/dist/chunks/{schema-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
  771. /package/dist/chunks/{schema-q74kybfr.js → tool-q74kybfr.js} +0 -0
  772. /package/dist/chunks/{schema-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
  773. /package/dist/chunks/{schema-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
  774. /package/dist/chunks/{schema-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
  775. /package/dist/chunks/{schema-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
  776. /package/dist/chunks/{schema-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
  777. /package/dist/chunks/{schema-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
  778. /package/dist/chunks/{schema-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
  779. /package/dist/chunks/{schema-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
  780. /package/dist/chunks/{schema-ve7vex1e.js → tool-ve7vex1e.js} +0 -0
  781. /package/dist/chunks/{schema-w803qqfp.js → tool-w803qqfp.js} +0 -0
  782. /package/dist/chunks/{schema-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
  783. /package/dist/chunks/{schema-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
  784. /package/dist/chunks/{schema-wtztk69x.js → tool-wtztk69x.js} +0 -0
  785. /package/dist/chunks/{schema-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
  786. /package/dist/chunks/{schema-x61499pn.js → tool-x61499pn.js} +0 -0
  787. /package/dist/chunks/{schema-y44na4kk.js → tool-y44na4kk.js} +0 -0
  788. /package/dist/chunks/{schema-y8f7s663.js → tool-y8f7s663.js} +0 -0
  789. /package/dist/chunks/{schema-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
  790. /package/dist/chunks/{schema-ym463w8f.js → tool-ym463w8f.js} +0 -0
  791. /package/dist/chunks/{schema-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
  792. /package/dist/chunks/{schema-z9919s4g.js → tool-z9919s4g.js} +0 -0
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2
4
- } from "./schema-7dy85ahw.js";
4
+ } from "./tool-9kr929zm.js";
5
5
  import {
6
6
  CorrectedError2,
7
7
  BlockedError2
8
- } from "./schema-mgn9s9vj.js";
8
+ } from "./tool-8g8wt927.js";
9
9
  import {
10
10
  AuthorizationError2
11
- } from "./schema-sjvzs7k3.js";
11
+ } from "./tool-at5p6ayt.js";
12
12
  import {
13
13
  VariantUnavailableError2,
14
14
  UnsupportedPackageError2,
@@ -16,11 +16,11 @@ import {
16
16
  ModelInitializationError2,
17
17
  UnresolvedProviderVariablesError2,
18
18
  UnsupportedCompactionError2
19
- } from "./schema-94kgfjtq.js";
19
+ } from "./tool-vtwnmbmj.js";
20
20
  import {
21
21
  ModelNotSelectedError2,
22
22
  ModelUnavailableError2
23
- } from "./schema-6y44ky4y.js";
23
+ } from "./tool-z3hze8ne.js";
24
24
 
25
25
  // src/session/to-session-error.ts
26
26
  import { AIError, ToolFailure } from "@opencode/ai";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  aisdk2
3
- } from "./schema-7951xmcm.js";
3
+ } from "./tool-c9b8trf9.js";
4
4
  import {
5
5
  VariantID2
6
- } from "./schema-zy4v1d78.js";
6
+ } from "./tool-v009g4pj.js";
7
7
  import {
8
8
  __export
9
- } from "./schema-9rqn6x4v.js";
9
+ } from "./tool-9rqn6x4v.js";
10
10
 
11
11
  // src/variant.ts
12
12
  var exports_variant = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WebSocketConstructor2
3
- } from "./schema-jze0r7bz.js";
3
+ } from "./tool-jze0r7bz.js";
4
4
  import {
5
5
  __export
6
- } from "./schema-9rqn6x4v.js";
6
+ } from "./tool-9rqn6x4v.js";
7
7
 
8
8
  // src/effect/app-node-platform.ts
9
9
  var exports_app_node_platform = {};
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  Failed2
3
- } from "./schema-hgz4x7wa.js";
3
+ } from "./tool-hgz4x7wa.js";
4
4
  import {
5
5
  execDefaults2
6
- } from "./schema-eej6y6fw.js";
6
+ } from "./tool-eej6y6fw.js";
7
7
  import {
8
8
  Service85,
9
9
  node89
10
- } from "./schema-b7bdwx76.js";
10
+ } from "./tool-jb7jfkvq.js";
11
11
  import {
12
12
  makeUnsafe2
13
- } from "./schema-dpkg50ah.js";
13
+ } from "./tool-y71avatq.js";
14
14
  import {
15
15
  Binding2,
16
16
  RegistryService2,
17
- node60
18
- } from "./schema-htjw9qza.js";
17
+ node84
18
+ } from "./tool-y3wpwyaa.js";
19
19
  import {
20
20
  WorkspaceTable2
21
- } from "./schema-faypxj3z.js";
21
+ } from "./tool-faypxj3z.js";
22
22
  import {
23
23
  __export
24
- } from "./schema-9rqn6x4v.js";
24
+ } from "./tool-9rqn6x4v.js";
25
25
 
26
26
  // src/workspace.ts
27
27
  var exports_workspace = {};
28
28
  __export(exports_workspace, {
29
29
  CreateConflict: () => CreateConflict2,
30
- ID: () => ID7,
31
- Info: () => Info14,
30
+ ID: () => ID17,
31
+ Info: () => Info29,
32
32
  NotFound: () => NotFound2,
33
- Service: () => Service55,
33
+ Service: () => Service81,
34
34
  Workspace: () => exports_workspace,
35
- configured: () => configured9,
36
- node: () => node59
35
+ configured: () => configured10,
36
+ node: () => node83
37
37
  });
38
38
  import { Workspace } from "@opencode/schema/workspace";
39
39
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
41
41
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
42
42
  import { systemError } from "effect/PlatformError";
43
43
  import { make } from "effect/process/ChildProcessSpawner";
44
- var ID7 = Workspace.ID;
44
+ var ID17 = Workspace.ID;
45
45
 
46
- class Info14 extends Schema.Class("Workspace.Info")({
47
- id: ID7,
46
+ class Info29 extends Schema.Class("Workspace.Info")({
47
+ id: ID17,
48
48
  provider: Schema.String,
49
49
  binding: Binding2,
50
50
  createdAt: Schema.Number,
@@ -52,24 +52,24 @@ class Info14 extends Schema.Class("Workspace.Info")({
52
52
  }) {
53
53
  }
54
54
 
55
- class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID7 }) {
55
+ class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID17 }) {
56
56
  }
57
57
 
58
58
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
59
- workspaceID: ID7,
59
+ workspaceID: ID17,
60
60
  provider: Schema.String,
61
61
  existingProvider: Schema.String
62
62
  }) {
63
63
  }
64
64
 
65
- class Service55 extends Context.Service()("@opencode/Workspace") {
65
+ class Service81 extends Context.Service()("@opencode/Workspace") {
66
66
  }
67
- var configured9 = (options = {}) => makeGlobalNode({
68
- service: Service55,
67
+ var configured10 = (options = {}) => makeGlobalNode({
68
+ service: Service81,
69
69
  layer: layer(options),
70
- deps: [node89, node60]
70
+ deps: [node89, node84]
71
71
  });
72
- var layer = (options) => Layer.effect(Service55, Effect.gen(function* () {
72
+ var layer = (options) => Layer.effect(Service81, Effect.gen(function* () {
73
73
  const db = (yield* Service85).db;
74
74
  const registry = yield* RegistryService2;
75
75
  const lifetime = yield* Scope.Scope;
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service55, Effect.gen(function* () {
86
86
  return row;
87
87
  });
88
88
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
89
- const info = (row, binding) => new Info14({
89
+ const info = (row, binding) => new Info29({
90
90
  id: row.id,
91
91
  provider: row.provider,
92
92
  binding,
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service55, Effect.gen(function* () {
164
164
  yield* Scope.close(connection.scope, Exit.void);
165
165
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
166
166
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
167
- return Service55.of({
167
+ return Service81.of({
168
168
  create: Effect.fn("Workspace.create")(function* (input) {
169
- const workspaceID = input.id ?? ID7.create();
169
+ const workspaceID = input.id ?? ID17.create();
170
170
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
171
171
  if (existing) {
172
172
  if (existing.provider === input.provider)
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service55, Effect.gen(function* () {
242
242
  })
243
243
  });
244
244
  }));
245
- var node59 = configured9();
245
+ var node83 = configured10();
246
246
 
247
- export { ID7, Info14, NotFound2, CreateConflict2, Service55, configured9, node59, exports_workspace };
247
+ export { ID17, Info29, NotFound2, CreateConflict2, Service81, configured10, node83, exports_workspace };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./schema-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/catalog.ts
6
6
  var exports_catalog = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./schema-qfa1cgps.js";
3
+ } from "./tool-qfa1cgps.js";
4
4
 
5
5
  // src/kv/sql.ts
6
6
  import { sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -2,10 +2,10 @@ import {
2
2
  NotFound3,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./schema-hgz4x7wa.js";
5
+ } from "./tool-hgz4x7wa.js";
6
6
  import {
7
7
  __export
8
- } from "./schema-9rqn6x4v.js";
8
+ } from "./tool-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/local.ts
11
11
  var exports_local = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./schema-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./schema-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  useragent2
3
- } from "./schema-hnbkedn6.js";
3
+ } from "./tool-e2xzawa4.js";
4
4
  import {
5
5
  Service84
6
- } from "./schema-25tm57nk.js";
6
+ } from "./tool-2hbmtk01.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./schema-gzpc0ern.js";
9
+ Event14
10
+ } from "./tool-xtfwraxg.js";
11
11
  import {
12
- ID14,
12
+ ID7,
13
13
  MethodID2
14
- } from "./schema-sjvzs7k3.js";
14
+ } from "./tool-at5p6ayt.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./schema-pjvnvgmy.js";
18
+ } from "./tool-pjvnvgmy.js";
19
19
  import {
20
- ID13,
20
+ ID6,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./schema-7951xmcm.js";
23
+ } from "./tool-c9b8trf9.js";
24
24
  import {
25
- get5
26
- } from "./schema-54ma36ye.js";
25
+ get4
26
+ } from "./tool-r94pvvab.js";
27
27
 
28
28
  // src/plugin/provider/openai.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
@@ -47,7 +47,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
47
47
  }));
48
48
  var decodeClaims = Schema.decodeUnknownOption(Claims);
49
49
  var browser = (app) => ({
50
- integrationID: ID14.make("openai"),
50
+ integrationID: ID7.make("openai"),
51
51
  method: {
52
52
  id: browserMethodID,
53
53
  type: "oauth",
@@ -120,7 +120,7 @@ function addressInUse(error) {
120
120
  return "code" in error && error.code === "EADDRINUSE";
121
121
  }
122
122
  var headless = (app) => ({
123
- integrationID: ID14.make("openai"),
123
+ integrationID: ID7.make("openai"),
124
124
  method: {
125
125
  id: headlessMethodID,
126
126
  type: "oauth",
@@ -162,7 +162,7 @@ var headless = (app) => ({
162
162
  }),
163
163
  refresh: (value) => refresh(headlessMethodID, value, app)
164
164
  });
165
- var OpenAIPlugin3 = define({
165
+ var OpenAIPlugin2 = define({
166
166
  id: "opencode.provider.openai",
167
167
  effect: Effect.fn(function* (ctx) {
168
168
  const bus = yield* Service84;
@@ -181,7 +181,7 @@ var OpenAIPlugin3 = define({
181
181
  });
182
182
  yield* load();
183
183
  yield* ctx.provider.transform((providers) => {
184
- const item = providers.get(ID13.openai);
184
+ const item = providers.get(ID6.openai);
185
185
  if (!item)
186
186
  return;
187
187
  const account = chatgpt?.metadata?.accountID;
@@ -200,7 +200,7 @@ var OpenAIPlugin3 = define({
200
200
  });
201
201
  });
202
202
  yield* ctx.model.transform((models) => {
203
- for (const model of models.list(ID13.openai)) {
203
+ for (const model of models.list(ID6.openai)) {
204
204
  models.update(model.providerID, model.id, (draft) => {
205
205
  if (!chatgpt)
206
206
  return;
@@ -230,15 +230,15 @@ var OpenAIPlugin3 = define({
230
230
  return;
231
231
  }));
232
232
  evt.headers.originator = "opencode";
233
- evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
234
- }), { providerID: ID13.openai });
233
+ evt.headers["session-id"] = session ? get4(session) : evt.sessionID;
234
+ }), { providerID: ID6.openai });
235
235
  const omitOutputLimit = (evt) => Effect.sync(() => {
236
236
  delete evt.options.maxTokens;
237
237
  });
238
238
  for (const name of ["context", "compaction"])
239
- yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID13.openai });
239
+ yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID6.openai });
240
240
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
241
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
241
+ yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
242
242
  })
243
243
  });
244
244
  function headers(contentType, app) {
@@ -329,4 +329,4 @@ function claim(token) {
329
329
  return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
330
330
  }
331
331
 
332
- export { OpenAIPlugin3 };
332
+ export { OpenAIPlugin2 };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./schema-hgz4x7wa.js";
3
+ } from "./tool-hgz4x7wa.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./schema-z5v4ffb3.js";
6
+ } from "./tool-z5v4ffb3.js";
7
7
  import {
8
- Service81
9
- } from "./schema-g4njwx0b.js";
8
+ Service78
9
+ } from "./tool-b279fhh5.js";
10
10
  import {
11
- Service54
12
- } from "./schema-24f8gbsn.js";
11
+ Service77
12
+ } from "./tool-aw87ckgg.js";
13
13
  import {
14
- Service28
15
- } from "./schema-f0q60j9h.js";
14
+ Service76
15
+ } from "./tool-xbqyc1h2.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./schema-b8k8fdv1.js";
21
+ } from "./tool-kmreqacc.js";
22
22
  import {
23
- Service65
24
- } from "./schema-mgn9s9vj.js";
23
+ Service69
24
+ } from "./tool-8g8wt927.js";
25
25
  import {
26
- Service15
27
- } from "./schema-0r1cr89s.js";
26
+ Service39
27
+ } from "./tool-kmvrwyj0.js";
28
28
  import {
29
29
  __export
30
- } from "./schema-9rqn6x4v.js";
30
+ } from "./tool-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input4,
37
- Output: () => Output3,
38
- Plugin: () => Plugin4,
39
- name: () => name4,
40
- toModelContent: () => toModelContent2
36
+ Input: () => Input5,
37
+ Output: () => Output4,
38
+ Plugin: () => Plugin23,
39
+ name: () => name5,
40
+ toModelContent: () => toModelContent3
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name4 = "glob";
46
- var Input4 = Schema.Struct({
45
+ var name5 = "glob";
46
+ var Input5 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,35 +55,35 @@ var Input4 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output3 = Schema.Array(Entry2);
59
- var toModelContent2 = (entries, truncated = false) => {
58
+ var Output4 = Schema.Array(Entry2);
59
+ var toModelContent3 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin4 = {
66
+ var Plugin23 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service54;
70
- const ripgrep = yield* Service28;
71
- const location = yield* Service81;
72
- const access = yield* Service15;
73
- const permission = yield* Service65;
69
+ const environment = yield* Service77;
70
+ const ripgrep = yield* Service76;
71
+ const location = yield* Service78;
72
+ const access = yield* Service39;
73
+ const permission = yield* Service69;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name4,
75
+ name: name5,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input4,
79
- output: Output3,
78
+ input: Input5,
79
+ output: Output4,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name4,
86
+ action: name5,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -118,11 +118,11 @@ var Plugin4 = {
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent2(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent3(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name4, Input4, Output3, toModelContent2, Plugin4, exports_glob };
128
+ export { name5, Input5, Output4, toModelContent3, Plugin23, exports_glob };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./schema-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/util/error-summary.ts
6
6
  var exports_error_summary = {};
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service54
3
- } from "./schema-24f8gbsn.js";
2
+ Service77
3
+ } from "./tool-aw87ckgg.js";
4
4
  import {
5
- Service17,
5
+ Service45,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./schema-3g5be3ey.js";
8
+ } from "./tool-q7g7dxqg.js";
9
9
  import {
10
- Service75
11
- } from "./schema-mf82c6q7.js";
10
+ Service38
11
+ } from "./tool-pxeepxyz.js";
12
12
  import {
13
- Service65
14
- } from "./schema-mgn9s9vj.js";
13
+ Service69
14
+ } from "./tool-8g8wt927.js";
15
15
  import {
16
- Service15
17
- } from "./schema-0r1cr89s.js";
16
+ Service39
17
+ } from "./tool-kmvrwyj0.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./schema-6prwharc.js";
20
+ } from "./tool-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./schema-9rqn6x4v.js";
23
+ } from "./tool-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input12,
29
- Output: () => Output8,
30
- Plugin: () => Plugin13,
28
+ Input: () => Input4,
29
+ Output: () => Output3,
30
+ Plugin: () => Plugin22,
31
31
  WriteTool: () => exports_write,
32
- name: () => name12,
33
- toModelContent: () => toModelContent6
32
+ name: () => name4,
33
+ toModelContent: () => toModelContent2
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name12 = "write";
39
- var Input12 = Schema.Struct({
38
+ var name4 = "write";
39
+ var Input4 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output8 = Schema.Struct({
45
+ var Output3 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin13 = {
51
+ var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin22 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service15;
56
- const fileMutation = yield* Service17;
57
- const environment = yield* Service54;
58
- const formatter = yield* Service75;
59
- const permission = yield* Service65;
55
+ const access = yield* Service39;
56
+ const fileMutation = yield* Service45;
57
+ const environment = yield* Service77;
58
+ const formatter = yield* Service38;
59
+ const permission = yield* Service69;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name12,
61
+ name: name4,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input12,
69
- output: Output8,
68
+ input: Input4,
69
+ output: Output3,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent2(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name12, Input12, Output8, toModelContent6, Plugin13, exports_write };
101
+ export { name4, Input4, Output3, toModelContent2, Plugin22, exports_write };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createLocalProviderPlugin2
3
- } from "./schema-s9z3c30a.js";
3
+ } from "./tool-8zkm93f1.js";
4
4
 
5
5
  // src/plugin/provider/ollama.ts
6
6
  import { Effect, Schema } from "effect";
@@ -34,7 +34,7 @@ var ShowResponse = Schema.Struct({
34
34
  model_info: Schema.Record(Schema.String, Schema.Unknown).pipe(Schema.optional)
35
35
  });
36
36
  var shows = new Map;
37
- var make7 = createLocalProviderPlugin2({
37
+ var make6 = createLocalProviderPlugin2({
38
38
  id: "opencode.provider.ollama",
39
39
  providerID: "ollama",
40
40
  name: "Ollama",
@@ -67,6 +67,6 @@ var make7 = createLocalProviderPlugin2({
67
67
  context: Object.entries(item.show.model_info ?? {}).flatMap(([key, value]) => key.endsWith(".context_length") && typeof value === "number" && value > 0 ? [value] : [])[0]
68
68
  })
69
69
  });
70
- var OllamaPlugin2 = make7();
70
+ var OllamaPlugin2 = make6();
71
71
 
72
- export { make7, OllamaPlugin2 };
72
+ export { make6, OllamaPlugin2 };