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

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 (788) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +77 -77
  7. package/dist/chunks/{tool-gbt6w4kb.js → wellknown-02nrjc1r.js} +4 -4
  8. package/dist/chunks/{tool-v009g4pj.js → wellknown-033ejm38.js} +30 -30
  9. package/dist/chunks/{tool-8sgggatz.js → wellknown-07wb5q77.js} +11 -11
  10. package/dist/chunks/{tool-bns0etj0.js → wellknown-0kaeeq0n.js} +15 -15
  11. package/dist/chunks/{tool-0paq2nw3.js → wellknown-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{tool-0vbcp93d.js → wellknown-0vbcp93d.js} +2 -2
  13. package/dist/chunks/{tool-yp2x3t23.js → wellknown-1acjjqhc.js} +4 -4
  14. package/dist/chunks/{tool-925vt3jd.js → wellknown-1bh5qdrr.js} +18 -18
  15. package/dist/chunks/{tool-abv7bnsr.js → wellknown-1w6spx5t.js} +7 -7
  16. package/dist/chunks/{tool-dhhncb1a.js → wellknown-2651n5qm.js} +13 -13
  17. package/dist/chunks/{tool-gfkgxe8r.js → wellknown-2gjkaaq8.js} +28 -28
  18. package/dist/chunks/{tool-w81spx5m.js → wellknown-2jbkakjc.js} +4 -4
  19. package/dist/chunks/{tool-54zp89xv.js → wellknown-2tcrkhyx.js} +22 -22
  20. package/dist/chunks/{tool-2vvh33eb.js → wellknown-2vvh33eb.js} +2 -2
  21. package/dist/chunks/{tool-9sdheasx.js → wellknown-2x0031av.js} +22 -22
  22. package/dist/chunks/{tool-wsfr8qtv.js → wellknown-2z8jxnq9.js} +11 -11
  23. package/dist/chunks/{tool-9f33m5nn.js → wellknown-31hyatr7.js} +18 -18
  24. package/dist/chunks/{tool-spv785rj.js → wellknown-39zvv5e0.js} +33 -33
  25. package/dist/chunks/{tool-xxvssexd.js → wellknown-3b8mf0t5.js} +11 -11
  26. package/dist/chunks/{tool-8dpb97pb.js → wellknown-3ec4gz2d.js} +3 -3
  27. package/dist/chunks/{tool-3fc6dm20.js → wellknown-3fc6dm20.js} +1 -1
  28. package/dist/chunks/{tool-3hepkmqq.js → wellknown-3hepkmqq.js} +1 -1
  29. package/dist/chunks/{tool-3hwn7j4h.js → wellknown-3hwn7j4h.js} +2 -2
  30. package/dist/chunks/{tool-7v5jhnkv.js → wellknown-3jrph8t9.js} +24 -24
  31. package/dist/chunks/{tool-3smtnn6g.js → wellknown-3smtnn6g.js} +1 -1
  32. package/dist/chunks/{tool-gvp3we1m.js → wellknown-3t6mzywy.js} +23 -23
  33. package/dist/chunks/{tool-3tvqynh2.js → wellknown-3tvqynh2.js} +1 -1
  34. package/dist/chunks/{tool-3zsf4n22.js → wellknown-3zsf4n22.js} +1 -1
  35. package/dist/chunks/{tool-eh6ej367.js → wellknown-461nxmbv.js} +5 -5
  36. package/dist/chunks/{tool-zx95ftzb.js → wellknown-48kw51zw.js} +3 -3
  37. package/dist/chunks/{tool-d2bxdv99.js → wellknown-49twh206.js} +17 -17
  38. package/dist/chunks/{tool-vqvv5sj1.js → wellknown-4fcfrxzd.js} +14 -14
  39. package/dist/chunks/{tool-f29mbr7f.js → wellknown-4j4tgtq5.js} +4 -4
  40. package/dist/chunks/{tool-4ts7tf6z.js → wellknown-4ts7tf6z.js} +2 -2
  41. package/dist/chunks/{tool-e46pc0p0.js → wellknown-4x9y9hm8.js} +11 -11
  42. package/dist/chunks/{tool-8g8wt927.js → wellknown-4yt2xgtx.js} +49 -49
  43. package/dist/chunks/{tool-fpgft077.js → wellknown-54d04jeh.js} +15 -15
  44. package/dist/chunks/{tool-r94pvvab.js → wellknown-54ma36ye.js} +4 -4
  45. package/dist/chunks/{tool-kbjks3k1.js → wellknown-5cg9bzem.js} +18 -18
  46. package/dist/chunks/{tool-4gzj7c1t.js → wellknown-5gxnaa09.js} +330 -330
  47. package/dist/chunks/{tool-5m9w47nd.js → wellknown-5m9w47nd.js} +1 -1
  48. package/dist/chunks/{tool-2xt8eqef.js → wellknown-5n3qansz.js} +20 -20
  49. package/dist/chunks/{tool-dzcfmz1e.js → wellknown-5p6277ma.js} +8 -8
  50. package/dist/chunks/{tool-a5y52ckt.js → wellknown-5q0vxz4x.js} +8 -8
  51. package/dist/chunks/{tool-wty1egvx.js → wellknown-5rb9c7eh.js} +14 -14
  52. package/dist/chunks/{tool-g740sh9d.js → wellknown-5rtw7paw.js} +19 -19
  53. package/dist/chunks/{tool-n7gvkp58.js → wellknown-5w5g9s8y.js} +3 -3
  54. package/dist/chunks/{tool-qbbpc6wm.js → wellknown-6117hfr5.js} +72 -72
  55. package/dist/chunks/{tool-j5d5zpn1.js → wellknown-650sss64.js} +14 -14
  56. package/dist/chunks/{tool-e5xxn5fd.js → wellknown-699sdptp.js} +39 -39
  57. package/dist/chunks/{tool-hg3614cy.js → wellknown-6g7e4dd5.js} +7 -7
  58. package/dist/chunks/{tool-8a44f7xw.js → wellknown-6v31mxde.js} +23 -23
  59. package/dist/chunks/{tool-6xb47vfp.js → wellknown-6xb47vfp.js} +1 -1
  60. package/dist/chunks/{tool-7bmhse3q.js → wellknown-7bmhse3q.js} +1 -1
  61. package/dist/chunks/{tool-2m2pwtqz.js → wellknown-7feea0h6.js} +11 -11
  62. package/dist/chunks/{tool-pxeepxyz.js → wellknown-7hmww9pq.js} +13 -13
  63. package/dist/chunks/{tool-kzd9jey1.js → wellknown-7t92r6sm.js} +8 -8
  64. package/dist/chunks/{tool-58t9ctfh.js → wellknown-7vfyda9f.js} +50 -50
  65. package/dist/chunks/{tool-72sxpf59.js → wellknown-82v73sw7.js} +3 -3
  66. package/dist/chunks/{tool-2ap2y1fd.js → wellknown-8777xd2t.js} +21 -21
  67. package/dist/chunks/{tool-0w22njrp.js → wellknown-8bqq47bs.js} +4 -4
  68. package/dist/chunks/{tool-xxxth0pp.js → wellknown-8gzx46z2.js} +5 -5
  69. package/dist/chunks/{tool-8m6m0r52.js → wellknown-8m6m0r52.js} +1 -1
  70. package/dist/chunks/{tool-py3kkmfq.js → wellknown-8sze2n9a.js} +6 -6
  71. package/dist/chunks/{tool-x7wafmke.js → wellknown-8vc8vna7.js} +3 -3
  72. package/dist/chunks/{tool-btks0zdn.js → wellknown-9rmh4mmg.js} +8 -8
  73. package/dist/chunks/{tool-ty22trqb.js → wellknown-9s7snf6s.js} +18 -18
  74. package/dist/chunks/{tool-ts5r4aaq.js → wellknown-9xvx6y0g.js} +11 -11
  75. package/dist/chunks/{tool-j8m1p4p1.js → wellknown-a3c7ahw6.js} +4 -4
  76. package/dist/chunks/{tool-tczqeqc0.js → wellknown-a8168aqs.js} +32 -32
  77. package/dist/chunks/{tool-b0j0nxe0.js → wellknown-af8ff1ta.js} +11 -11
  78. package/dist/chunks/{tool-b3f8fkhc.js → wellknown-b3f8fkhc.js} +2 -2
  79. package/dist/chunks/{tool-p8vvgsz3.js → wellknown-b87x4eyv.js} +9 -9
  80. package/dist/chunks/{tool-at5p6ayt.js → wellknown-bgqb1w0a.js} +26 -26
  81. package/dist/chunks/{tool-ywt8jp22.js → wellknown-bjx1sjef.js} +9 -9
  82. package/dist/chunks/{tool-9ee6s4n8.js → wellknown-bqbhqn5q.js} +20 -20
  83. package/dist/chunks/{tool-j16v8rv3.js → wellknown-bv7xce55.js} +14 -14
  84. package/dist/chunks/{tool-8zkm93f1.js → wellknown-bwk95141.js} +12 -12
  85. package/dist/chunks/{tool-v0vwmemp.js → wellknown-bws1wkeb.js} +39 -39
  86. package/dist/chunks/wellknown-by5v678g.js +18 -0
  87. package/dist/chunks/{tool-ysvssewb.js → wellknown-bzmhfkwa.js} +24 -24
  88. package/dist/chunks/{tool-c1fqxshp.js → wellknown-c1fqxshp.js} +3 -3
  89. package/dist/chunks/{tool-emtf3agc.js → wellknown-c3g4ehaa.js} +15 -15
  90. package/dist/chunks/{tool-vk0rmyh3.js → wellknown-c8z7re0j.js} +83 -83
  91. package/dist/chunks/{tool-y97hy3kz.js → wellknown-c9wbyant.js} +4 -4
  92. package/dist/chunks/{tool-wztntb4s.js → wellknown-cda9vesx.js} +12 -12
  93. package/dist/chunks/wellknown-cenr143b.js +26 -0
  94. package/dist/chunks/{tool-ft3hqk2c.js → wellknown-cwa6csj7.js} +9 -9
  95. package/dist/chunks/{tool-mq656cac.js → wellknown-d5xsqdzh.js} +23 -23
  96. package/dist/chunks/{tool-wj76ss2k.js → wellknown-d858xzj7.js} +4 -4
  97. package/dist/chunks/{tool-57ht3x3y.js → wellknown-d8thadm4.js} +16 -16
  98. package/dist/chunks/{tool-bq7fwdt7.js → wellknown-ddttwbez.js} +20 -20
  99. package/dist/chunks/{tool-4ecb23ee.js → wellknown-des6zn2w.js} +25 -25
  100. package/dist/chunks/{tool-7ttfahrj.js → wellknown-dngrbxse.js} +25 -25
  101. package/dist/chunks/{tool-y71avatq.js → wellknown-dpkg50ah.js} +4 -4
  102. package/dist/chunks/{tool-pyavekn7.js → wellknown-dv1s2jsq.js} +5 -5
  103. package/dist/chunks/{tool-bfegkxfd.js → wellknown-dys7k0s0.js} +8 -8
  104. package/dist/chunks/{tool-grg8548d.js → wellknown-dzcs8qsg.js} +15 -15
  105. package/dist/chunks/{tool-gvtjjnmn.js → wellknown-e213czqs.js} +30 -30
  106. package/dist/chunks/{tool-a19tekra.js → wellknown-e6qa6x8z.js} +20 -20
  107. package/dist/chunks/{tool-v66a0s1a.js → wellknown-e7y8yey8.js} +12 -12
  108. package/dist/chunks/{tool-d65vh0bp.js → wellknown-e825dkyw.js} +22 -22
  109. package/dist/chunks/{tool-eej6y6fw.js → wellknown-eej6y6fw.js} +2 -2
  110. package/dist/chunks/{tool-ef5x83kb.js → wellknown-ef5x83kb.js} +1 -1
  111. package/dist/chunks/{tool-ttqh24zm.js → wellknown-embw8kgh.js} +4 -4
  112. package/dist/chunks/{tool-y58x68vn.js → wellknown-emqnk1nq.js} +26 -26
  113. package/dist/chunks/{tool-v8xdx15a.js → wellknown-ervpwnrb.js} +28 -28
  114. package/dist/chunks/{tool-tezksqm5.js → wellknown-f7xzt4zk.js} +35 -35
  115. package/dist/chunks/{tool-7dqw4kz8.js → wellknown-fcrkznn8.js} +5 -5
  116. package/dist/chunks/{tool-pgg7zhs7.js → wellknown-fcx8emg5.js} +13 -13
  117. package/dist/chunks/{tool-425tvsky.js → wellknown-fg5waqyz.js} +32 -32
  118. package/dist/chunks/{tool-t0bwv2mg.js → wellknown-fqehm6pw.js} +5 -5
  119. package/dist/chunks/{tool-q73a5vx6.js → wellknown-fv9sp7w9.js} +29 -29
  120. package/dist/chunks/{tool-9tfg4qpg.js → wellknown-fvqz3thv.js} +34 -34
  121. package/dist/chunks/{tool-khmqacep.js → wellknown-fxaymqdw.js} +4 -4
  122. package/dist/chunks/{tool-bsxq6r4b.js → wellknown-g06b32k9.js} +10 -10
  123. package/dist/chunks/{tool-gn6q0njp.js → wellknown-g36xdyny.js} +33 -33
  124. package/dist/chunks/{tool-v1vh7s4p.js → wellknown-g686f6pq.js} +9 -9
  125. package/dist/chunks/{tool-wh6zw745.js → wellknown-g6yfr6ja.js} +5 -5
  126. package/dist/chunks/{tool-qn0k908c.js → wellknown-g8ke25hn.js} +29 -29
  127. package/dist/chunks/{tool-gd4qta3r.js → wellknown-gd4qta3r.js} +1 -1
  128. package/dist/chunks/{tool-7qk8rd46.js → wellknown-ggb5v3eb.js} +16 -16
  129. package/dist/chunks/{tool-0r3c1bmw.js → wellknown-gj71zhbs.js} +5 -5
  130. package/dist/chunks/{tool-gk8qb678.js → wellknown-gk8qb678.js} +1 -1
  131. package/dist/chunks/{tool-8pcna3e1.js → wellknown-gt0hx33a.js} +170 -170
  132. package/dist/chunks/{tool-7ajnhpk1.js → wellknown-gyxgzcr0.js} +47 -47
  133. package/dist/chunks/{tool-mmrg9aqf.js → wellknown-h5g2zqv6.js} +12 -12
  134. package/dist/chunks/{tool-h6vf3j39.js → wellknown-h6vf3j39.js} +1 -1
  135. package/dist/chunks/{tool-50ya55tv.js → wellknown-h72cndf1.js} +3 -3
  136. package/dist/chunks/{tool-h7s7r6s9.js → wellknown-h7s7r6s9.js} +2 -2
  137. package/dist/chunks/{tool-n8dykrk6.js → wellknown-h896pcm5.js} +6 -6
  138. package/dist/chunks/{tool-xyee9vg5.js → wellknown-hagkn1v7.js} +43 -43
  139. package/dist/chunks/{tool-hgz4x7wa.js → wellknown-hgz4x7wa.js} +1 -1
  140. package/dist/chunks/{tool-v5wh5e70.js → wellknown-hmpz6cpb.js} +17 -17
  141. package/dist/chunks/{tool-1yd7h3h8.js → wellknown-hy1va3t8.js} +11 -11
  142. package/dist/chunks/{tool-rsjzvmnv.js → wellknown-j010gwk9.js} +25 -25
  143. package/dist/chunks/{tool-j56e64zr.js → wellknown-j56e64zr.js} +1 -1
  144. package/dist/chunks/{tool-a5xp7zm4.js → wellknown-j5k95y2k.js} +5 -5
  145. package/dist/chunks/{tool-z3hze8ne.js → wellknown-j63xtz0z.js} +13 -13
  146. package/dist/chunks/{tool-yzdmepj7.js → wellknown-jeg10dch.js} +33 -33
  147. package/dist/chunks/{tool-e2xzawa4.js → wellknown-jet6rn8q.js} +11 -11
  148. package/dist/chunks/{tool-p91ykgce.js → wellknown-jjx5emw5.js} +8 -8
  149. package/dist/chunks/{tool-n5gnndyc.js → wellknown-jm1sn942.js} +5 -5
  150. package/dist/chunks/{tool-81mfchgn.js → wellknown-kbeh51ej.js} +11 -11
  151. package/dist/chunks/{tool-m7sy47b1.js → wellknown-kcv830pc.js} +15 -15
  152. package/dist/chunks/{tool-2v35nvf1.js → wellknown-kvqsqfzs.js} +3 -3
  153. package/dist/chunks/{tool-b6cwqfv7.js → wellknown-m1nxwksc.js} +4 -4
  154. package/dist/chunks/{tool-89r43ct5.js → wellknown-m20webqj.js} +13 -13
  155. package/dist/chunks/{tool-m3fdjcah.js → wellknown-m3fdjcah.js} +1 -1
  156. package/dist/chunks/{tool-m9w0rfyh.js → wellknown-m9w0rfyh.js} +1 -1
  157. package/dist/chunks/{tool-s9yqr8vf.js → wellknown-mdshk6p7.js} +2 -2
  158. package/dist/chunks/{tool-t2xt9v1m.js → wellknown-mh6jxx1t.js} +24 -24
  159. package/dist/chunks/{tool-x5vpq02z.js → wellknown-mjcera77.js} +48 -48
  160. package/dist/chunks/{tool-qvyrhn6e.js → wellknown-mkfp2fax.js} +13 -13
  161. package/dist/chunks/{tool-9c3np669.js → wellknown-mp6d0dty.js} +8 -8
  162. package/dist/chunks/{tool-njhqdk9p.js → wellknown-n37c4crj.js} +8 -8
  163. package/dist/chunks/{tool-jb7jfkvq.js → wellknown-n43vcqp0.js} +3 -3
  164. package/dist/chunks/{tool-c7kyxnph.js → wellknown-n5anvv2t.js} +38 -38
  165. package/dist/chunks/{tool-hw1d7c72.js → wellknown-n63bcv8m.js} +49 -49
  166. package/dist/chunks/{tool-jxk8k1h3.js → wellknown-n8e3aqkt.js} +25 -25
  167. package/dist/chunks/{tool-sjd53xnz.js → wellknown-n8jq096e.js} +13 -13
  168. package/dist/chunks/{tool-g0wjp6rh.js → wellknown-nawz2sjj.js} +33 -33
  169. package/dist/chunks/{tool-8c84x96a.js → wellknown-nc8hxgt4.js} +25 -25
  170. package/dist/chunks/{tool-w7jtf2m2.js → wellknown-nd104sgw.js} +19 -19
  171. package/dist/chunks/{tool-8we822j0.js → wellknown-nwp476d8.js} +9 -9
  172. package/dist/chunks/{tool-zc9nacpj.js → wellknown-p0rks7xq.js} +35 -35
  173. package/dist/chunks/{tool-gwb58t0j.js → wellknown-p6qeq9yv.js} +5 -5
  174. package/dist/chunks/{tool-tx4mgqww.js → wellknown-p9s0wwbg.js} +6 -6
  175. package/dist/chunks/{tool-9hn6k4tm.js → wellknown-pa8pe2x7.js} +8 -8
  176. package/dist/chunks/{tool-5dk99411.js → wellknown-pg6d2h9f.js} +7 -7
  177. package/dist/chunks/{tool-pjvnvgmy.js → wellknown-pjvnvgmy.js} +1 -1
  178. package/dist/chunks/{tool-pknna89w.js → wellknown-pknna89w.js} +1 -1
  179. package/dist/chunks/{tool-c9b8trf9.js → wellknown-prh39f15.js} +28 -28
  180. package/dist/chunks/{tool-bd4cefys.js → wellknown-pzhxcmzb.js} +46 -46
  181. package/dist/chunks/{tool-q0xm7vwc.js → wellknown-q0xm7vwc.js} +2 -2
  182. package/dist/chunks/{tool-atf3qpjr.js → wellknown-q13p92wb.js} +5 -5
  183. package/dist/chunks/{tool-8f47ttfq.js → wellknown-q5mamftn.js} +52 -52
  184. package/dist/chunks/{tool-qjjb6mfv.js → wellknown-q865ebtv.js} +55 -55
  185. package/dist/chunks/{tool-3zdrd34z.js → wellknown-q8vbveqf.js} +30 -30
  186. package/dist/chunks/{tool-qnc92qwc.js → wellknown-qnc92qwc.js} +1 -1
  187. package/dist/chunks/{tool-qsdy395h.js → wellknown-qsdy395h.js} +1 -1
  188. package/dist/chunks/{tool-fsmtef63.js → wellknown-qwkjaerk.js} +1 -1
  189. package/dist/chunks/{tool-7jyc1k1k.js → wellknown-qynbg7fa.js} +30 -30
  190. package/dist/chunks/{tool-s1bpbtq5.js → wellknown-r269mye5.js} +1 -1
  191. package/dist/chunks/{tool-sxcaecc0.js → wellknown-r2z489rp.js} +3 -3
  192. package/dist/chunks/{tool-rdw6cm16.js → wellknown-rdw6cm16.js} +1 -1
  193. package/dist/chunks/{tool-q7g7dxqg.js → wellknown-re4n8afa.js} +13 -13
  194. package/dist/chunks/{tool-rert0e01.js → wellknown-rert0e01.js} +2 -2
  195. package/dist/chunks/{tool-8xxg8z7m.js → wellknown-rf6hexmr.js} +6 -6
  196. package/dist/chunks/{tool-554twcs9.js → wellknown-rf8f0yt3.js} +5 -5
  197. package/dist/chunks/{tool-arnz58tr.js → wellknown-rhw9mqe3.js} +27 -27
  198. package/dist/chunks/{tool-rj3eygr5.js → wellknown-rj3eygr5.js} +2 -2
  199. package/dist/chunks/{tool-1hs63qs5.js → wellknown-rkv1q4w6.js} +22 -22
  200. package/dist/chunks/{tool-3wg2zg1h.js → wellknown-rmadhj2k.js} +23 -23
  201. package/dist/chunks/{tool-y5beyqvm.js → wellknown-rqa1jxse.js} +2 -2
  202. package/dist/chunks/{tool-aw87ckgg.js → wellknown-rtpc87ef.js} +20 -20
  203. package/dist/chunks/{tool-c96a6g06.js → wellknown-rw22skhx.js} +9 -9
  204. package/dist/chunks/{tool-gjb7k4gb.js → wellknown-rwcqpfzb.js} +6 -6
  205. package/dist/chunks/{tool-62e165w1.js → wellknown-rz6dkkgy.js} +18 -18
  206. package/dist/chunks/{tool-axyyyrhn.js → wellknown-s6tav21f.js} +7 -7
  207. package/dist/chunks/{tool-vtwnmbmj.js → wellknown-s6tfy31a.js} +45 -45
  208. package/dist/chunks/{tool-r4kpcnjj.js → wellknown-s790q102.js} +19 -19
  209. package/dist/chunks/{tool-sa8ekw3f.js → wellknown-sa8ekw3f.js} +2 -2
  210. package/dist/chunks/{tool-rg9ywjz0.js → wellknown-sg3zez9q.js} +11 -11
  211. package/dist/chunks/{tool-xagztgbr.js → wellknown-ssd9x6fw.js} +11 -11
  212. package/dist/chunks/{tool-qz5qj01d.js → wellknown-sxdhggs7.js} +9 -9
  213. package/dist/chunks/{tool-qp5x3va9.js → wellknown-sy1z26mt.js} +14 -14
  214. package/dist/chunks/{tool-t38scxd0.js → wellknown-sz492jsj.js} +11 -11
  215. package/dist/chunks/{tool-dmy9ph2f.js → wellknown-t4fbsvde.js} +20 -20
  216. package/dist/chunks/{tool-6vzsg2xk.js → wellknown-t95ytspt.js} +20 -20
  217. package/dist/chunks/{tool-tc6f0aex.js → wellknown-t9bkwnkz.js} +20 -20
  218. package/dist/chunks/{tool-tazgh4e4.js → wellknown-tazgh4e4.js} +1 -1
  219. package/dist/chunks/{tool-89znhe33.js → wellknown-tcezcvh9.js} +4 -4
  220. package/dist/chunks/{tool-43g0zkdb.js → wellknown-tcqbkk77.js} +4 -4
  221. package/dist/chunks/{tool-n67mmnz4.js → wellknown-tdaccg2z.js} +9 -9
  222. package/dist/chunks/{tool-eka1fpr9.js → wellknown-tdbmj82j.js} +8 -8
  223. package/dist/chunks/{tool-tdstcens.js → wellknown-tdstcens.js} +1 -1
  224. package/dist/chunks/{tool-2r0rtpea.js → wellknown-tgj70b2r.js} +5 -5
  225. package/dist/chunks/{tool-xbc6qp68.js → wellknown-tpd1z469.js} +6 -6
  226. package/dist/chunks/{tool-r1xx1spa.js → wellknown-tsx9151n.js} +29 -29
  227. package/dist/chunks/{tool-9kr929zm.js → wellknown-twwzjqdf.js} +6 -6
  228. package/dist/chunks/{tool-tyytaxap.js → wellknown-tyytaxap.js} +1 -1
  229. package/dist/chunks/{tool-kmvrwyj0.js → wellknown-v3shqdas.js} +16 -16
  230. package/dist/chunks/{tool-fqb2p7cx.js → wellknown-v5dkyp31.js} +4 -4
  231. package/dist/chunks/{tool-v7p4zvkq.js → wellknown-v7p4zvkq.js} +2 -2
  232. package/dist/chunks/{tool-nxxv0fmq.js → wellknown-v895vwvw.js} +1 -1
  233. package/dist/chunks/{tool-t1c79nbf.js → wellknown-vb74559e.js} +25 -25
  234. package/dist/chunks/{tool-a6a0xyhp.js → wellknown-vcjvn6yt.js} +8 -8
  235. package/dist/chunks/{tool-veqvce7d.js → wellknown-veqvce7d.js} +1 -1
  236. package/dist/chunks/{tool-q91aa15s.js → wellknown-vh4msy83.js} +3 -3
  237. package/dist/chunks/{tool-8xddy4fd.js → wellknown-vqmmygk9.js} +17 -17
  238. package/dist/chunks/{tool-wkz90rt8.js → wellknown-vyjsqzsp.js} +34 -34
  239. package/dist/chunks/{tool-vzs5sf6e.js → wellknown-vzs5sf6e.js} +1 -1
  240. package/dist/chunks/{tool-ph8a80xg.js → wellknown-w0r29c61.js} +47 -47
  241. package/dist/chunks/{tool-84txncab.js → wellknown-w1eejvng.js} +5 -5
  242. package/dist/chunks/{tool-xbqyc1h2.js → wellknown-w30xpdgm.js} +18 -18
  243. package/dist/chunks/{tool-kj0cy399.js → wellknown-w3nq1sqw.js} +9 -9
  244. package/dist/chunks/{tool-w3wsvvr9.js → wellknown-w3wsvvr9.js} +1 -1
  245. package/dist/chunks/{tool-bmr56wjg.js → wellknown-waskdk5r.js} +4 -4
  246. package/dist/chunks/{tool-wd87259q.js → wellknown-wd87259q.js} +1 -1
  247. package/dist/chunks/{tool-tzhsj38v.js → wellknown-wh6pa4pr.js} +10 -10
  248. package/dist/chunks/{tool-rmm45jmv.js → wellknown-wr7ps67x.js} +5 -5
  249. package/dist/chunks/{tool-1azc6dcz.js → wellknown-wt1nksa6.js} +12 -12
  250. package/dist/chunks/{tool-y78g4pym.js → wellknown-wt4vhc6y.js} +9 -9
  251. package/dist/chunks/{tool-xtfwraxg.js → wellknown-wv1h3qq2.js} +27 -27
  252. package/dist/chunks/{tool-b279fhh5.js → wellknown-wwzdatwd.js} +7 -7
  253. package/dist/chunks/wellknown-wzxzhr7t.js +253 -0
  254. package/dist/chunks/{tool-ek7jr3ns.js → wellknown-x5gff5v6.js} +25 -25
  255. package/dist/chunks/{tool-1fj0xetq.js → wellknown-x7vezkgw.js} +5 -5
  256. package/dist/chunks/{tool-7vnvvjv2.js → wellknown-xa1s2aen.js} +32 -32
  257. package/dist/chunks/{tool-xfkkasph.js → wellknown-xfkkasph.js} +1 -1
  258. package/dist/chunks/{tool-fyd6zf3q.js → wellknown-xh6qfzz1.js} +91 -91
  259. package/dist/chunks/{tool-2hbmtk01.js → wellknown-xk1n9kaj.js} +14 -14
  260. package/dist/chunks/{tool-s9k1drx9.js → wellknown-xnh7pp4h.js} +20 -20
  261. package/dist/chunks/{tool-zjz1t4e7.js → wellknown-xnnpmnef.js} +9 -9
  262. package/dist/chunks/{tool-p2kce4yd.js → wellknown-xrnpkz2z.js} +11 -11
  263. package/dist/chunks/{tool-s0bm3vva.js → wellknown-xt49yzba.js} +4 -4
  264. package/dist/chunks/{tool-q5e7cmwt.js → wellknown-xt4njr3s.js} +1 -1
  265. package/dist/chunks/{tool-85y5yndw.js → wellknown-y14ra9sp.js} +36 -36
  266. package/dist/chunks/{tool-y1fvbwt7.js → wellknown-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{tool-45m1xa6s.js → wellknown-y1n9ww1g.js} +17 -17
  268. package/dist/chunks/{tool-h2tk0fkt.js → wellknown-y1xqe3xy.js} +38 -38
  269. package/dist/chunks/{tool-r975dkdj.js → wellknown-yajxfkjf.js} +11 -11
  270. package/dist/chunks/{tool-pzc00pfe.js → wellknown-yeg8efr2.js} +17 -17
  271. package/dist/chunks/{tool-n9dy47xj.js → wellknown-ysa2vprg.js} +12 -12
  272. package/dist/chunks/{tool-kmreqacc.js → wellknown-ysyc45db.js} +32 -32
  273. package/dist/chunks/{tool-y3wpwyaa.js → wellknown-yx0rmv9r.js} +6 -6
  274. package/dist/chunks/{tool-s6xmpaa6.js → wellknown-yywvx7pt.js} +23 -23
  275. package/dist/chunks/{tool-z0bkrqjs.js → wellknown-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{tool-trtdj8pg.js → wellknown-z2wpmfzv.js} +4 -4
  277. package/dist/chunks/{tool-pv8mdw9p.js → wellknown-z4vnkb91.js} +19 -19
  278. package/dist/chunks/{tool-ncqwz9m4.js → wellknown-z4yse633.js} +4 -4
  279. package/dist/chunks/{tool-hqsvs4zs.js → wellknown-zc0d9hvr.js} +14 -14
  280. package/dist/chunks/{tool-sk5hrgtc.js → wellknown-ze75yzft.js} +8 -8
  281. package/dist/chunks/{tool-zr2ceqn5.js → wellknown-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{tool-f146z90h.js → wellknown-zr9bnb5b.js} +20 -20
  283. package/dist/chunks/{tool-zw2hpfmh.js → wellknown-zw2hpfmh.js} +1 -1
  284. package/dist/chunks/{tool-zxq2ej10.js → wellknown-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +5 -5
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +85 -85
  290. package/dist/config/discovery.js +86 -86
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +101 -101
  293. package/dist/config/plugin/agent.js +120 -120
  294. package/dist/config/plugin/command.js +209 -209
  295. package/dist/config/plugin/compaction.js +156 -156
  296. package/dist/config/plugin/compatibility.js +136 -136
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +119 -119
  299. package/dist/config/plugin/image.js +118 -118
  300. package/dist/config/plugin/instruction.js +92 -92
  301. package/dist/config/plugin/location-watcher.js +120 -120
  302. package/dist/config/plugin/mcp.js +127 -127
  303. package/dist/config/plugin/policy.js +119 -119
  304. package/dist/config/plugin/provider.js +118 -118
  305. package/dist/config/plugin/reference.js +120 -120
  306. package/dist/config/plugin/shell.js +120 -120
  307. package/dist/config/plugin/skill-file.js +104 -104
  308. package/dist/config/plugin/skill.js +139 -139
  309. package/dist/config/plugin/snapshot.js +118 -118
  310. package/dist/config/plugin/source.js +121 -121
  311. package/dist/config/plugin/tool-output.js +119 -119
  312. package/dist/config/plugin/websearch.js +119 -119
  313. package/dist/config/plugin/worktree.js +120 -120
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +123 -123
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +83 -83
  319. package/dist/database/database.js +68 -68
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  385. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  386. package/dist/database/migration.gen.js +51 -51
  387. package/dist/database/migration.js +53 -53
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +78 -78
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +368 -368
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +3 -3
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +95 -95
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +97 -97
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +3 -3
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +76 -76
  411. package/dist/file-access.js +106 -106
  412. package/dist/file-mutation.js +96 -96
  413. package/dist/file-retention.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +222 -222
  420. package/dist/filesystem/protected.js +3 -3
  421. package/dist/filesystem/search.js +105 -105
  422. package/dist/filesystem/watcher-binding.js +1 -1
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +108 -108
  425. package/dist/form.js +84 -84
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +89 -89
  428. package/dist/generate.js +107 -107
  429. package/dist/git.js +10 -10
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +101 -101
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +359 -359
  453. package/dist/instruction-discovery.js +87 -87
  454. package/dist/instructions/builtins.js +89 -89
  455. package/dist/instructions/index.js +3 -3
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +87 -87
  458. package/dist/job.js +78 -78
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +71 -71
  461. package/dist/location-activity.js +136 -136
  462. package/dist/location-lifecycle.js +109 -109
  463. package/dist/location-service-map.js +88 -88
  464. package/dist/location-services.js +356 -356
  465. package/dist/location.js +85 -85
  466. package/dist/managed-policy.js +8 -8
  467. package/dist/mcp/client.js +93 -93
  468. package/dist/mcp/index.js +111 -111
  469. package/dist/mcp/instructions.js +131 -131
  470. package/dist/mcp/oauth.js +80 -80
  471. package/dist/mcp/stdio.js +92 -92
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +101 -101
  474. package/dist/model-resolver.js +100 -100
  475. package/dist/model.js +102 -102
  476. package/dist/models-dev.js +109 -109
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +84 -84
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +111 -111
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +84 -84
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +77 -77
  486. package/dist/plugin/agent.js +78 -78
  487. package/dist/plugin/command.js +104 -104
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/identity.js +3 -3
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +331 -331
  493. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  494. package/dist/plugin/models-dev.js +98 -98
  495. package/dist/plugin/module.js +119 -119
  496. package/dist/plugin/optimize.js +4 -4
  497. package/dist/plugin/plan.js +104 -104
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  500. package/dist/plugin/provider/azure.js +119 -119
  501. package/dist/plugin/provider/cerebras.js +1 -1
  502. package/dist/plugin/provider/chatgpt.js +96 -96
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/databricks.js +1 -1
  508. package/dist/plugin/provider/digitalocean.js +95 -95
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/github-copilot.js +97 -97
  512. package/dist/plugin/provider/gitlab.js +95 -95
  513. package/dist/plugin/provider/google-vertex.js +115 -115
  514. package/dist/plugin/provider/kilo.js +1 -1
  515. package/dist/plugin/provider/llmgateway.js +80 -80
  516. package/dist/plugin/provider/lmstudio.js +127 -127
  517. package/dist/plugin/provider/local.js +124 -124
  518. package/dist/plugin/provider/modal.js +94 -94
  519. package/dist/plugin/provider/neon.js +1 -1
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +127 -127
  522. package/dist/plugin/provider/openai.js +97 -97
  523. package/dist/plugin/provider/opencode.js +99 -99
  524. package/dist/plugin/provider/openrouter.js +93 -93
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +81 -81
  527. package/dist/plugin/provider/prompt-cache-key.js +92 -92
  528. package/dist/plugin/provider/sap-ai-core.js +93 -93
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  531. package/dist/plugin/provider/vercel.js +92 -92
  532. package/dist/plugin/provider/vllm.js +125 -125
  533. package/dist/plugin/provider/xai.js +93 -93
  534. package/dist/plugin/provider/zenmux.js +1 -1
  535. package/dist/plugin/provider.js +169 -169
  536. package/dist/plugin/sdk.js +76 -76
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +136 -136
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +350 -350
  541. package/dist/plugin/tool-input-repair.js +4 -4
  542. package/dist/plugin/update.js +4 -4
  543. package/dist/plugin/vcs/git.js +88 -88
  544. package/dist/plugin/vcs/hg.js +88 -88
  545. package/dist/plugin/verbosity.js +95 -95
  546. package/dist/plugin/warming.js +116 -116
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +6 -6
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +4 -4
  553. package/dist/plugin/websearch/tinyfish.js +8 -8
  554. package/dist/plugin.js +224 -224
  555. package/dist/project/schema.js +6 -6
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +86 -86
  558. package/dist/provider.js +99 -99
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +101 -101
  562. package/dist/reference/instructions.js +91 -91
  563. package/dist/reference.js +91 -91
  564. package/dist/repository-cache.js +83 -83
  565. package/dist/repository.js +3 -3
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +99 -99
  568. package/dist/rpc.js +88 -88
  569. package/dist/schema.js +1 -1
  570. package/dist/session/affinity.js +3 -3
  571. package/dist/session/command.js +76 -76
  572. package/dist/session/compaction.js +137 -137
  573. package/dist/session/context.js +155 -155
  574. package/dist/session/diff.js +90 -90
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +5 -5
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +219 -219
  579. package/dist/session/execution.js +127 -127
  580. package/dist/session/generate.js +156 -156
  581. package/dist/session/history.js +13 -13
  582. package/dist/session/inbox.js +92 -92
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +81 -81
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +99 -99
  587. package/dist/session/message-updater.js +2 -2
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +122 -122
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +131 -131
  592. package/dist/session/projector.js +88 -88
  593. package/dist/session/prompt.js +107 -107
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +92 -92
  596. package/dist/session/run-coordinator.js +3 -3
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +226 -226
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +100 -100
  601. package/dist/session/runner/publish-llm-event.js +115 -115
  602. package/dist/session/runner/retry.js +2 -2
  603. package/dist/session/runner/step.js +127 -127
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +164 -164
  607. package/dist/session/shell.js +132 -132
  608. package/dist/session/skill.js +107 -107
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +75 -75
  611. package/dist/session/store.js +87 -87
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +207 -207
  614. package/dist/session/system-prompt.js +1 -1
  615. package/dist/session/title.js +159 -159
  616. package/dist/session/to-session-error.js +113 -113
  617. package/dist/session/transfer.js +213 -213
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +213 -213
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +13 -13
  624. package/dist/shell.js +134 -134
  625. package/dist/skill/discovery.js +6 -6
  626. package/dist/skill/instructions.js +109 -109
  627. package/dist/skill.js +110 -110
  628. package/dist/snapshot.js +93 -93
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +130 -130
  633. package/dist/tool/plugin/edit.js +122 -122
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +124 -124
  636. package/dist/tool/plugin/grep.js +126 -126
  637. package/dist/tool/plugin/mcp-resource.js +119 -119
  638. package/dist/tool/plugin/opencode.js +111 -111
  639. package/dist/tool/plugin/patch.js +124 -124
  640. package/dist/tool/plugin/question.js +107 -107
  641. package/dist/tool/plugin/read.js +125 -125
  642. package/dist/tool/plugin/shell.js +212 -212
  643. package/dist/tool/plugin/skill.js +113 -113
  644. package/dist/tool/plugin/subagent.js +210 -210
  645. package/dist/tool/plugin/webfetch.js +114 -114
  646. package/dist/tool/plugin/websearch.js +116 -116
  647. package/dist/tool/plugin/write.js +124 -124
  648. package/dist/tool/read-filesystem.js +102 -102
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +7 -7
  651. package/dist/tool.js +16 -16
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/git-executable.js +2 -2
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +5 -5
  662. package/dist/v1/config/command.js +3 -3
  663. package/dist/v1/config/error.js +2 -2
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +94 -94
  666. package/dist/v1/config/permission.js +3 -3
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/variant.js +93 -93
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +91 -91
  673. package/dist/websearch.js +86 -86
  674. package/dist/wellknown/plugin.js +78 -78
  675. package/dist/wellknown.js +81 -81
  676. package/dist/workspace/driver.js +5 -5
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +80 -80
  679. package/dist/worktree/directory.js +2 -2
  680. package/dist/worktree/git.js +8 -8
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree/strategies.js +91 -91
  683. package/dist/worktree.js +100 -100
  684. package/package.json +8 -8
  685. package/dist/chunks/tool-bne3pjzh.js +0 -26
  686. package/dist/chunks/tool-ht5y0zrb.js +0 -18
  687. package/dist/chunks/tool-kjvjttp2.js +0 -253
  688. /package/dist/chunks/{tool-0qkdqm5v.js → wellknown-0qkdqm5v.js} +0 -0
  689. /package/dist/chunks/{tool-0zkw76rk.js → wellknown-0zkw76rk.js} +0 -0
  690. /package/dist/chunks/{tool-17cy0kzp.js → wellknown-17cy0kzp.js} +0 -0
  691. /package/dist/chunks/{tool-1cnp2v09.js → wellknown-1cnp2v09.js} +0 -0
  692. /package/dist/chunks/{tool-1kg9ymc8.js → wellknown-1kg9ymc8.js} +0 -0
  693. /package/dist/chunks/{tool-24dcb14g.js → wellknown-24dcb14g.js} +0 -0
  694. /package/dist/chunks/{tool-2710q6r3.js → wellknown-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{tool-2axfhc9x.js → wellknown-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{tool-2bv980vf.js → wellknown-2bv980vf.js} +0 -0
  697. /package/dist/chunks/{tool-2c3vjs8z.js → wellknown-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{tool-359p4xyc.js → wellknown-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{tool-3asan66x.js → wellknown-3asan66x.js} +0 -0
  700. /package/dist/chunks/{tool-3t0ybcrp.js → wellknown-3t0ybcrp.js} +0 -0
  701. /package/dist/chunks/{tool-3v8g72cx.js → wellknown-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{tool-3wcehsnq.js → wellknown-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{tool-43n2bw4t.js → wellknown-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{tool-4knz6hnm.js → wellknown-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{tool-4vcrnpx2.js → wellknown-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{tool-4y7fprxs.js → wellknown-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{tool-53557ph1.js → wellknown-53557ph1.js} +0 -0
  708. /package/dist/chunks/{tool-550bvhaj.js → wellknown-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{tool-5qd3pb7m.js → wellknown-5qd3pb7m.js} +0 -0
  710. /package/dist/chunks/{tool-6prwharc.js → wellknown-6prwharc.js} +0 -0
  711. /package/dist/chunks/{tool-6q2bdcd1.js → wellknown-6q2bdcd1.js} +0 -0
  712. /package/dist/chunks/{tool-7akdwqpd.js → wellknown-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{tool-7m9af43g.js → wellknown-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{tool-822emrt2.js → wellknown-822emrt2.js} +0 -0
  715. /package/dist/chunks/{tool-84wd9syh.js → wellknown-84wd9syh.js} +0 -0
  716. /package/dist/chunks/{tool-88xbtdfr.js → wellknown-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{tool-8n3pysct.js → wellknown-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{tool-8wj87zfr.js → wellknown-8wj87zfr.js} +0 -0
  719. /package/dist/chunks/{tool-9a4afbnw.js → wellknown-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{tool-9rqn6x4v.js → wellknown-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{tool-a6k6eb26.js → wellknown-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{tool-af5trqkr.js → wellknown-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{tool-afrmfg78.js → wellknown-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{tool-aqzs7mqg.js → wellknown-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{tool-atq7p7m5.js → wellknown-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{tool-bkyjaxrp.js → wellknown-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{tool-bmr6ed5q.js → wellknown-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{tool-bw78ga2c.js → wellknown-bw78ga2c.js} +0 -0
  729. /package/dist/chunks/{tool-cf4snx6d.js → wellknown-cf4snx6d.js} +0 -0
  730. /package/dist/chunks/{tool-cvy3z8tj.js → wellknown-cvy3z8tj.js} +0 -0
  731. /package/dist/chunks/{tool-d9fn303g.js → wellknown-d9fn303g.js} +0 -0
  732. /package/dist/chunks/{tool-d9jj8t3e.js → wellknown-d9jj8t3e.js} +0 -0
  733. /package/dist/chunks/{tool-dajrwvna.js → wellknown-dajrwvna.js} +0 -0
  734. /package/dist/chunks/{tool-dap0rakb.js → wellknown-dap0rakb.js} +0 -0
  735. /package/dist/chunks/{tool-df08tz66.js → wellknown-df08tz66.js} +0 -0
  736. /package/dist/chunks/{tool-dy18nga0.js → wellknown-dy18nga0.js} +0 -0
  737. /package/dist/chunks/{tool-e5kj55wp.js → wellknown-e5kj55wp.js} +0 -0
  738. /package/dist/chunks/{tool-e73j6tqm.js → wellknown-e73j6tqm.js} +0 -0
  739. /package/dist/chunks/{tool-ec1grn59.js → wellknown-ec1grn59.js} +0 -0
  740. /package/dist/chunks/{tool-eh3zwz77.js → wellknown-eh3zwz77.js} +0 -0
  741. /package/dist/chunks/{tool-emrn6kk6.js → wellknown-emrn6kk6.js} +0 -0
  742. /package/dist/chunks/{tool-f0mxakyp.js → wellknown-f0mxakyp.js} +0 -0
  743. /package/dist/chunks/{tool-f6n9ztr4.js → wellknown-f6n9ztr4.js} +0 -0
  744. /package/dist/chunks/{tool-faypxj3z.js → wellknown-faypxj3z.js} +0 -0
  745. /package/dist/chunks/{tool-fd410y7t.js → wellknown-fd410y7t.js} +0 -0
  746. /package/dist/chunks/{tool-g4wezp1m.js → wellknown-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{tool-g86h250q.js → wellknown-g86h250q.js} +0 -0
  748. /package/dist/chunks/{tool-gebd4c9n.js → wellknown-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{tool-gftt206x.js → wellknown-gftt206x.js} +0 -0
  750. /package/dist/chunks/{tool-hk9envan.js → wellknown-hk9envan.js} +0 -0
  751. /package/dist/chunks/{tool-j2ntwpah.js → wellknown-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{tool-j5zkgpj8.js → wellknown-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{tool-jjkms2e6.js → wellknown-jjkms2e6.js} +0 -0
  754. /package/dist/chunks/{tool-jr7sbwjy.js → wellknown-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{tool-jwfs4k6c.js → wellknown-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{tool-jze0r7bz.js → wellknown-jze0r7bz.js} +0 -0
  757. /package/dist/chunks/{tool-jzg6c2d5.js → wellknown-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{tool-m18g726c.js → wellknown-m18g726c.js} +0 -0
  759. /package/dist/chunks/{tool-mp448xyj.js → wellknown-mp448xyj.js} +0 -0
  760. /package/dist/chunks/{tool-msx8hqn2.js → wellknown-msx8hqn2.js} +0 -0
  761. /package/dist/chunks/{tool-n05xt0ee.js → wellknown-n05xt0ee.js} +0 -0
  762. /package/dist/chunks/{tool-n3j8tn72.js → wellknown-n3j8tn72.js} +0 -0
  763. /package/dist/chunks/{tool-njntx4h6.js → wellknown-njntx4h6.js} +0 -0
  764. /package/dist/chunks/{tool-pkyv6v7h.js → wellknown-pkyv6v7h.js} +0 -0
  765. /package/dist/chunks/{tool-pyv0edze.js → wellknown-pyv0edze.js} +0 -0
  766. /package/dist/chunks/{tool-q3sfg36h.js → wellknown-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{tool-q74kybfr.js → wellknown-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{tool-qaymkmh1.js → wellknown-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{tool-qb87gjwd.js → wellknown-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{tool-qfa1cgps.js → wellknown-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{tool-qg3g05ea.js → wellknown-qg3g05ea.js} +0 -0
  772. /package/dist/chunks/{tool-qrg20bc0.js → wellknown-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{tool-rcb2kzg1.js → wellknown-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{tool-sdp7kfr6.js → wellknown-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{tool-ssg3fenm.js → wellknown-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{tool-ve7vex1e.js → wellknown-ve7vex1e.js} +0 -0
  777. /package/dist/chunks/{tool-w803qqfp.js → wellknown-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{tool-wc3fc9cn.js → wellknown-wc3fc9cn.js} +0 -0
  779. /package/dist/chunks/{tool-wer8tq1h.js → wellknown-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{tool-wtztk69x.js → wellknown-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{tool-x0ckcb58.js → wellknown-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{tool-x61499pn.js → wellknown-x61499pn.js} +0 -0
  783. /package/dist/chunks/{tool-y44na4kk.js → wellknown-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{tool-y8f7s663.js → wellknown-y8f7s663.js} +0 -0
  785. /package/dist/chunks/{tool-ygaqb7jw.js → wellknown-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{tool-ym463w8f.js → wellknown-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{tool-z5v4ffb3.js → wellknown-z5v4ffb3.js} +0 -0
  788. /package/dist/chunks/{tool-z9919s4g.js → wellknown-z9919s4g.js} +0 -0
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./tool-z5v4ffb3.js";
3
+ } from "./wellknown-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
- Service49
7
- } from "./tool-ph8a80xg.js";
6
+ Service60
7
+ } from "./wellknown-w0r29c61.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./tool-hgz4x7wa.js";
10
+ } from "./wellknown-hgz4x7wa.js";
11
11
  import {
12
- Service77
13
- } from "./tool-aw87ckgg.js";
12
+ Service63
13
+ } from "./wellknown-rtpc87ef.js";
14
14
  import {
15
- Service57
16
- } from "./tool-p2kce4yd.js";
15
+ Service51
16
+ } from "./wellknown-xrnpkz2z.js";
17
17
  import {
18
- Service69
19
- } from "./tool-8g8wt927.js";
18
+ Service73
19
+ } from "./wellknown-4yt2xgtx.js";
20
20
  import {
21
- Service39,
21
+ Service15,
22
22
  resolvePath2
23
- } from "./tool-kmvrwyj0.js";
23
+ } from "./wellknown-v3shqdas.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./tool-vzs5sf6e.js";
29
+ } from "./wellknown-vzs5sf6e.js";
30
30
  import {
31
- Service47,
31
+ Service58,
32
32
  name15
33
- } from "./tool-62e165w1.js";
33
+ } from "./wellknown-rz6dkkgy.js";
34
34
  import {
35
- NotFoundError5,
36
- Service41
37
- } from "./tool-hw1d7c72.js";
35
+ NotFoundError7,
36
+ Service56
37
+ } from "./wellknown-n63bcv8m.js";
38
38
  import {
39
- Service16
40
- } from "./tool-fyd6zf3q.js";
39
+ Service30
40
+ } from "./wellknown-xh6qfzz1.js";
41
41
  import {
42
42
  scan2
43
- } from "./tool-w81spx5m.js";
43
+ } from "./wellknown-2jbkakjc.js";
44
44
  import {
45
45
  __export
46
- } from "./tool-9rqn6x4v.js";
46
+ } from "./wellknown-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell2 = {};
50
- __export(exports_shell2, {
49
+ var exports_shell = {};
50
+ __export(exports_shell, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input2,
53
- Plugin: () => Plugin20,
54
- ShellTool: () => exports_shell2,
55
- name: () => name2
52
+ Input: () => Input5,
53
+ Plugin: () => Plugin21,
54
+ ShellTool: () => exports_shell,
55
+ name: () => name5
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
59
  import { shellParserWasm } from "#shell-parser-wasm";
60
- var name2 = "shell";
60
+ var name5 = "shell";
61
61
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
62
62
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
63
63
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -71,7 +71,7 @@ var description = (shell) => [
71
71
  "Commands accept an optional timeout, background commands have no timeout by default.",
72
72
  "Background commands return immediately, and you will be notified when they complete."
73
73
  ].join(" ");
74
- var Input2 = Schema.Struct({
74
+ var Input5 = Schema.Struct({
75
75
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
76
76
  workdir: Schema.optionalKey(Schema.String).annotate({
77
77
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
117
117
  truncated: false,
118
118
  status: "running"
119
119
  });
120
- var Plugin20 = {
120
+ var Plugin21 = {
121
121
  id: "opencode.tool.shell",
122
122
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
123
- const sessions = yield* Service16;
124
- const jobs = yield* Service57;
123
+ const sessions = yield* Service30;
124
+ const jobs = yield* Service51;
125
125
  const scope = yield* Scope.Scope;
126
- const environment = yield* Service77;
127
- const access = yield* Service39;
128
- const shell = yield* Service41;
129
- const shellSelect = yield* Service47;
126
+ const environment = yield* Service63;
127
+ const access = yield* Service15;
128
+ const shell = yield* Service56;
129
+ const shellSelect = yield* Service58;
130
130
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
131
- const permission = yield* Service69;
132
- const config = yield* Service49;
131
+ const permission = yield* Service73;
132
+ const config = yield* Service60;
133
133
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
134
134
  const source = {
135
135
  type: "tool",
@@ -148,7 +148,7 @@ var Plugin20 = {
148
148
  yield* access.authorizeExternal([target, ...directories], context);
149
149
  if (parsed.commands.length > 0)
150
150
  yield* permission.assert({
151
- action: name2,
151
+ action: name5,
152
152
  resources: parsed.commands.map((command) => command.resource),
153
153
  save: parsed.commands.map((command) => command.save),
154
154
  sessionID: context.sessionID,
@@ -185,10 +185,10 @@ var Plugin20 = {
185
185
  yield* jobs.completeBackground(info.notificationID);
186
186
  }, Effect.forkIn(scope, { startImmediately: true }));
187
187
  yield* ctx.tool.transform((editor) => editor.add({
188
- name: name2,
188
+ name: name5,
189
189
  options: { codemode: false },
190
190
  description: description(),
191
- input: Input2,
191
+ input: Input5,
192
192
  output: Output,
193
193
  execute: (input, context) => Effect.gen(function* () {
194
194
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -211,7 +211,7 @@ var Plugin20 = {
211
211
  const run = Effect.gen(function* () {
212
212
  const result = yield* shell.result(info);
213
213
  if (!result.capture)
214
- return yield* new NotFoundError5({ id: info.id });
214
+ return yield* new NotFoundError7({ id: info.id });
215
215
  const output = output2(result);
216
216
  return {
217
217
  ...output,
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
225
225
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
226
226
  const job = yield* jobs.start({
227
227
  id: info.id,
228
- type: name2,
228
+ type: name5,
229
229
  title: info.command,
230
230
  metadata: { sessionID: context.sessionID, shellID: info.id },
231
231
  recovery: {
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
255
255
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
256
256
  })).pipe(Effect.orDie);
257
257
  const hook = (event) => Effect.gen(function* () {
258
- const tool = event.tools[name2];
258
+ const tool = event.tools[name5];
259
259
  if (!tool)
260
260
  return;
261
261
  tool.description = description(name15(yield* compatibleShell));
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
266
266
  })
267
267
  };
268
268
 
269
- export { name2, DEFAULT_TIMEOUT_MS2, Input2, Plugin20, exports_shell2 };
269
+ export { name5, DEFAULT_TIMEOUT_MS2, Input5, Plugin21, exports_shell };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  NamedError2
3
- } from "./tool-2axfhc9x.js";
3
+ } from "./wellknown-2axfhc9x.js";
4
4
  import {
5
5
  __export
6
- } from "./tool-9rqn6x4v.js";
6
+ } from "./wellknown-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/error.ts
9
9
  var exports_error = {};
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./tool-fsmtef63.js";
5
+ } from "./wellknown-qwkjaerk.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
- make23,
9
+ make22,
10
10
  makeWithDefaults2
11
- } from "./tool-8xxg8z7m.js";
11
+ } from "./wellknown-rf6hexmr.js";
12
12
  import {
13
13
  __export
14
- } from "./tool-9rqn6x4v.js";
14
+ } from "./wellknown-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
22
22
  EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
23
23
  EffectSQLiteSession: () => EffectSQLiteSession2,
24
24
  EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
25
- make: () => make23,
25
+ make: () => make22,
26
26
  makeWithDefaults: () => makeWithDefaults2,
27
27
  managesTransactionsNatively: () => managesTransactionsNatively2
28
28
  });
@@ -1,60 +1,60 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./tool-y71avatq.js";
3
+ } from "./wellknown-dpkg50ah.js";
4
4
  import {
5
- Service84,
6
- node88
7
- } from "./tool-2hbmtk01.js";
5
+ Service80,
6
+ node83
7
+ } from "./wellknown-xk1n9kaj.js";
8
8
  import {
9
- Event14,
10
- Service64,
11
- node66
12
- } from "./tool-xtfwraxg.js";
9
+ Event16,
10
+ Service70,
11
+ node73
12
+ } from "./wellknown-wv1h3qq2.js";
13
13
  import {
14
14
  Service78,
15
- node80
16
- } from "./tool-b279fhh5.js";
15
+ node81
16
+ } from "./wellknown-wwzdatwd.js";
17
17
  import {
18
- Service77,
19
- node79
20
- } from "./tool-aw87ckgg.js";
18
+ Service63,
19
+ node66
20
+ } from "./wellknown-rtpc87ef.js";
21
21
  import {
22
- ID9,
23
- Service65,
24
- node67
25
- } from "./tool-4ecb23ee.js";
22
+ ID10,
23
+ Service71,
24
+ node74
25
+ } from "./wellknown-des6zn2w.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./tool-rdw6cm16.js";
29
+ } from "./wellknown-rdw6cm16.js";
30
30
  import {
31
- ID7,
31
+ ID8,
32
32
  MethodID2,
33
- Service63,
34
- node65
35
- } from "./tool-at5p6ayt.js";
33
+ Service69,
34
+ node72
35
+ } from "./wellknown-bgqb1w0a.js";
36
36
  import {
37
37
  __export
38
- } from "./tool-9rqn6x4v.js";
38
+ } from "./wellknown-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError2,
45
- Options: () => Options2,
44
+ NotFoundError: () => NotFoundError5,
45
+ Options: () => Options5,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
48
48
  ResourceCatalog: () => ResourceCatalog2,
49
49
  ResourceContent: () => ResourceContent2,
50
50
  ResourceTemplate: () => ResourceTemplate2,
51
51
  ServerName: () => ServerName2,
52
- Service: () => Service22,
52
+ Service: () => Service39,
53
53
  Status: () => Status2,
54
54
  ToolCallError: () => ToolCallError2,
55
- configured: () => configured2,
56
- layer: () => layer11,
57
- node: () => node26
55
+ configured: () => configured5,
56
+ layer: () => layer18,
57
+ node: () => node42
58
58
  });
59
59
  import { Mcp } from "@opencode/schema/mcp";
60
60
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
72
72
  var ResourceCatalog2 = Mcp.ResourceCatalog;
73
73
  var ResourceContent2 = Mcp.ResourceContent;
74
74
 
75
- class NotFoundError2 extends Schema.TaggedError()("MCP.NotFoundError", {
75
+ class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
76
76
  server: ServerName2
77
77
  }) {
78
78
  get message() {
@@ -103,21 +103,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
103
103
  var endpointLoads = makeUnsafe2();
104
104
  var cloneConfig = (config) => structuredClone(config);
105
105
 
106
- class Service22 extends Context.Service()("@opencode/MCP") {
106
+ class Service39 extends Context.Service()("@opencode/MCP") {
107
107
  }
108
- var Options2 = Schema.Struct({
108
+ var Options5 = Schema.Struct({
109
109
  clientInfo: Schema.optional(Schema.Struct({
110
110
  name: Schema.String,
111
111
  version: Schema.String
112
112
  }))
113
113
  });
114
- var layer11 = (options) => Layer.effect(Service22, Effect.gen(function* () {
114
+ var layer18 = (options) => Layer.effect(Service39, Effect.gen(function* () {
115
115
  const location = yield* Service78;
116
- const environment = yield* Service77;
117
- const bus = yield* Service84;
118
- const forms = yield* Service65;
119
- const integration = yield* Service63;
120
- const credentials = yield* Service64;
116
+ const environment = yield* Service63;
117
+ const bus = yield* Service80;
118
+ const forms = yield* Service71;
119
+ const integration = yield* Service69;
120
+ const credentials = yield* Service70;
121
121
  const root = yield* Effect.scope;
122
122
  const fork = yield* FiberSet.makeRuntime();
123
123
  const entries = new Map;
@@ -129,7 +129,7 @@ var layer11 = (options) => Layer.effect(Service22, Effect.gen(function* () {
129
129
  return;
130
130
  const remote = entry.config;
131
131
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
132
- const integrationID = ID7.make(suffix);
132
+ const integrationID = ID8.make(suffix);
133
133
  entry.integrationID = integrationID;
134
134
  owned.add(integrationID);
135
135
  const methodID = MethodID2.make(suffix);
@@ -145,7 +145,7 @@ var layer11 = (options) => Layer.effect(Service22, Effect.gen(function* () {
145
145
  method: { id: methodID, type: "oauth", label: name },
146
146
  authorize: () => Effect.gen(function* () {
147
147
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
148
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service64, credentials));
148
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service70, credentials));
149
149
  })
150
150
  });
151
151
  }).pipe(Scope.provide(scope));
@@ -154,19 +154,19 @@ var layer11 = (options) => Layer.effect(Service22, Effect.gen(function* () {
154
154
  const name = ServerName2.make(server);
155
155
  const entry = entries.get(name);
156
156
  if (!entry)
157
- return yield* new NotFoundError2({ server: name });
157
+ return yield* new NotFoundError5({ server: name });
158
158
  return { name, entry };
159
159
  });
160
160
  const connectProvider = Effect.fnUntraced(function* (entry) {
161
161
  if (entry.config.type !== "remote" || !entry.integrationID)
162
162
  return;
163
163
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
164
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service64, credentials));
164
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service70, credentials));
165
165
  });
166
166
  const elicitation = {
167
167
  create: (input) => Effect.gen(function* () {
168
168
  if (input.params.mode === "url") {
169
- const formID = ID9.create();
169
+ const formID = ID10.create();
170
170
  const elicitationID = input.params.elicitationId;
171
171
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
172
172
  if (key)
@@ -269,7 +269,7 @@ var layer11 = (options) => Layer.effect(Service22, Effect.gen(function* () {
269
269
  entry.scope = scope;
270
270
  const authProvider = yield* connectProvider(entry);
271
271
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
272
- const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service77, environment), Scope.provide(scope));
272
+ const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service63, environment), Scope.provide(scope));
273
273
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
274
274
  if (Exit.isSuccess(result)) {
275
275
  entry.client = result.value.connection;
@@ -394,7 +394,7 @@ var layer11 = (options) => Layer.effect(Service22, Effect.gen(function* () {
394
394
  yield* startServer(name, entry);
395
395
  }).pipe(locks.withLock(name));
396
396
  });
397
- fork(bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
397
+ fork(bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
398
398
  const state = create3({
399
399
  name: "mcp",
400
400
  initial: () => ({
@@ -420,7 +420,7 @@ var layer11 = (options) => Layer.effect(Service22, Effect.gen(function* () {
420
420
  }),
421
421
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
422
422
  });
423
- return Service22.of({
423
+ return Service39.of({
424
424
  transform: state.transform,
425
425
  reload: state.reload,
426
426
  servers: Effect.fn("MCP.servers")(function* () {
@@ -530,14 +530,14 @@ function mergeCatalogs(catalogs) {
530
530
  templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
531
531
  });
532
532
  }
533
- function configured2(options) {
533
+ function configured5(options) {
534
534
  return makeLocationNode({
535
- service: Service22,
536
- layer: layer11(options),
537
- deps: [node80, node79, node88, node67, node65, node66]
535
+ service: Service39,
536
+ layer: layer18(options),
537
+ deps: [node81, node66, node83, node74, node72, node73]
538
538
  });
539
539
  }
540
- var node26 = configured2();
540
+ var node42 = configured5();
541
541
  function toElicitationField(key, property, required) {
542
542
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
543
543
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
588
588
  }
589
589
  }
590
590
 
591
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError2, ToolCallError2, Service22, Options2, layer11, configured2, node26, exports_mcp4 };
591
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2, Service39, Options5, layer18, configured5, node42, exports_mcp4 };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./tool-jb7jfkvq.js";
4
+ } from "./wellknown-n43vcqp0.js";
5
5
  import {
6
- Service84,
7
- node88
8
- } from "./tool-2hbmtk01.js";
6
+ Service80,
7
+ node83
8
+ } from "./wellknown-xk1n9kaj.js";
9
9
  import {
10
- Service56,
11
- node58
12
- } from "./tool-n8dykrk6.js";
10
+ Service50,
11
+ node52
12
+ } from "./wellknown-h896pcm5.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./tool-z5v4ffb3.js";
16
+ } from "./wellknown-z5v4ffb3.js";
17
17
  import {
18
18
  Service79,
19
- node81
20
- } from "./tool-85y5yndw.js";
19
+ node82
20
+ } from "./wellknown-y14ra9sp.js";
21
21
  import {
22
22
  Ref4
23
- } from "./tool-b279fhh5.js";
23
+ } from "./wellknown-wwzdatwd.js";
24
24
  import {
25
- Service59,
26
- node61
27
- } from "./tool-qz5qj01d.js";
25
+ Service53,
26
+ node55
27
+ } from "./wellknown-sxdhggs7.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./tool-gftt206x.js";
30
+ } from "./wellknown-gftt206x.js";
31
31
  import {
32
- NotFoundError9
33
- } from "./tool-9kr929zm.js";
32
+ NotFoundError10
33
+ } from "./wellknown-twwzjqdf.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./tool-ec1grn59.js";
36
+ } from "./wellknown-ec1grn59.js";
37
37
  import {
38
- Service53
39
- } from "./tool-ttqh24zm.js";
38
+ Service47
39
+ } from "./wellknown-embw8kgh.js";
40
40
  import {
41
- Service71,
42
- node73
43
- } from "./tool-v66a0s1a.js";
41
+ Service74,
42
+ node77
43
+ } from "./wellknown-e7y8yey8.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
- Service54,
48
- node56,
47
+ Service48,
48
+ node50,
49
49
  moveIDs2
50
- } from "./tool-arnz58tr.js";
50
+ } from "./wellknown-rhw9mqe3.js";
51
51
  import {
52
- Service52,
53
- node55
54
- } from "./tool-e5xxn5fd.js";
52
+ Service46,
53
+ node49
54
+ } from "./wellknown-699sdptp.js";
55
55
  import {
56
- node21
57
- } from "./tool-r4kpcnjj.js";
56
+ node35
57
+ } from "./wellknown-s790q102.js";
58
58
  import {
59
59
  __export
60
- } from "./tool-9rqn6x4v.js";
60
+ } from "./wellknown-9rqn6x4v.js";
61
61
 
62
62
  // src/session/move.ts
63
63
  var exports_move = {};
@@ -65,9 +65,9 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service17,
68
+ Service: () => Service31,
69
69
  SessionMove: () => exports_move,
70
- node: () => node20
70
+ node: () => node34
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode/util/fs-util";
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service17 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service31 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service17, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service31, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
91
  const projects = yield* Service79;
92
- const locations = yield* Service59;
93
- const store = yield* Service71;
94
- const execution = yield* Service52;
95
- const instances = yield* Service56;
96
- const admission = yield* Service54;
92
+ const locations = yield* Service53;
93
+ const store = yield* Service74;
94
+ const execution = yield* Service46;
95
+ const instances = yield* Service50;
96
+ const admission = yield* Service48;
97
97
  const database = yield* Service85;
98
- const bus = yield* Service84;
98
+ const bus = yield* Service80;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
100
100
  const session = yield* store.get(sessionID);
101
101
  if (!session)
102
- return yield* new NotFoundError9({ sessionID });
102
+ return yield* new NotFoundError10({ sessionID });
103
103
  return session;
104
104
  });
105
105
  const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service53.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
134
+ return yield* Service47.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
135
135
  });
136
- return Service17.of({
136
+ return Service31.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node20 = makeGlobalNode({
167
- service: Service17,
166
+ var node34 = makeGlobalNode({
167
+ service: Service31,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
- node81,
173
- node61,
174
- node73,
172
+ node82,
175
173
  node55,
176
- node58,
177
- node56,
174
+ node77,
175
+ node49,
176
+ node52,
177
+ node50,
178
178
  node89,
179
- node88,
180
- node21
179
+ node83,
180
+ node35
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service17, node20, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service31, node34, exports_move };