@opencode/core 0.0.0-dev-904 → 0.0.0-dev-913

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 (930) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +88 -88
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +108 -108
  5. package/dist/app.js +9 -9
  6. package/dist/artifact.js +248 -248
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{tool-qna7kvz1.js → command-00trpnhe.js} +5 -5
  9. package/dist/chunks/{tool-ppy7a7my.js → command-013mzpwz.js} +6 -6
  10. package/dist/chunks/{tool-aj7mw0zk.js → command-034tev2y.js} +2 -2
  11. package/dist/chunks/{tool-p5dv4rwg.js → command-06zmwrsh.js} +34 -34
  12. package/dist/chunks/{tool-2qr0rzrp.js → command-0cvmjxzj.js} +8 -8
  13. package/dist/chunks/{tool-sqjzf8x2.js → command-0j7gp832.js} +4 -4
  14. package/dist/chunks/{tool-0ma9gw4f.js → command-0ma9gw4f.js} +2 -2
  15. package/dist/chunks/{tool-5gwtjps0.js → command-0wgy0kyp.js} +14 -14
  16. package/dist/chunks/{tool-5myx731x.js → command-0z31hhpg.js} +3 -3
  17. package/dist/chunks/{tool-3ay6yzp4.js → command-10pn4eb5.js} +7 -7
  18. package/dist/chunks/{tool-g8vemvpr.js → command-17b8a7h3.js} +11 -11
  19. package/dist/chunks/{tool-1aqsckx4.js → command-1aqsckx4.js} +1 -1
  20. package/dist/chunks/{tool-pfzasy7k.js → command-1b79wqh4.js} +6 -6
  21. package/dist/chunks/{tool-1pbe9gq9.js → command-1e3tbdfn.js} +3 -3
  22. package/dist/chunks/{tool-27w5k9zf.js → command-1ep2p91f.js} +2 -2
  23. package/dist/chunks/{tool-tn7x3vke.js → command-1fq0qm8t.js} +9 -9
  24. package/dist/chunks/{tool-yrv28rr1.js → command-1g5fh2vm.js} +17 -17
  25. package/dist/chunks/{tool-gzbn54hn.js → command-1kcdp6tz.js} +1 -1
  26. package/dist/chunks/{tool-d4p3rnnj.js → command-1m95t1p1.js} +17 -17
  27. package/dist/chunks/{tool-rs87zcqc.js → command-1qf5wgfk.js} +59 -59
  28. package/dist/chunks/{tool-ttb0zajd.js → command-1tr3qjrs.js} +28 -28
  29. package/dist/chunks/{tool-msd2a3qm.js → command-1v2g13eq.js} +4 -4
  30. package/dist/chunks/{tool-3pa842pg.js → command-1w95etyq.js} +29 -29
  31. package/dist/chunks/{tool-1x2knyw4.js → command-1x2knyw4.js} +1 -1
  32. package/dist/chunks/{tool-t19d8bxp.js → command-1xht72s7.js} +3 -3
  33. package/dist/chunks/{tool-1yq9hg58.js → command-1yq9hg58.js} +1 -1
  34. package/dist/chunks/{tool-0w17snvd.js → command-228my02x.js} +10 -10
  35. package/dist/chunks/{tool-qp8qp7xq.js → command-26c2jvyw.js} +9 -9
  36. package/dist/chunks/{tool-jy9jrrph.js → command-2d7ax4bd.js} +28 -28
  37. package/dist/chunks/{tool-2fc7eemy.js → command-2fc7eemy.js} +1 -1
  38. package/dist/chunks/{tool-2p60zmnr.js → command-2p60zmnr.js} +2 -2
  39. package/dist/chunks/{tool-74h3v0cj.js → command-2pa18m2n.js} +24 -24
  40. package/dist/chunks/{tool-qd0hwsad.js → command-2tag6eys.js} +9 -9
  41. package/dist/chunks/{tool-v5wd13jm.js → command-33en4btn.js} +7 -7
  42. package/dist/chunks/{tool-k732j073.js → command-3c7qpzd7.js} +8 -8
  43. package/dist/chunks/{tool-padba6h1.js → command-3fxt8nya.js} +3 -3
  44. package/dist/chunks/{tool-3hepkmqq.js → command-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{tool-d88ap0rw.js → command-3mzz78dd.js} +18 -18
  46. package/dist/chunks/{tool-3nnrz6f6.js → command-3nnrz6f6.js} +1 -1
  47. package/dist/chunks/{tool-v9gj58d7.js → command-3qywsp38.js} +5 -5
  48. package/dist/chunks/{tool-xfdma5f7.js → command-3tzr3tgk.js} +16 -16
  49. package/dist/chunks/{tool-cc7ea13d.js → command-3z33vgvx.js} +16 -16
  50. package/dist/chunks/{tool-cgg9h89b.js → command-40wp8tm1.js} +33 -33
  51. package/dist/chunks/{tool-40y6dtc2.js → command-40y6dtc2.js} +1 -1
  52. package/dist/chunks/{tool-w2eysc6j.js → command-40za9wsf.js} +9 -9
  53. package/dist/chunks/{tool-44pmzq9c.js → command-44pmzq9c.js} +2 -2
  54. package/dist/chunks/{tool-x150ncgg.js → command-4awjamkd.js} +2 -2
  55. package/dist/chunks/{tool-4dx1dgte.js → command-4dx1dgte.js} +1 -1
  56. package/dist/chunks/{tool-x09zhxa3.js → command-4epkq5p9.js} +22 -22
  57. package/dist/chunks/{tool-r542h3bh.js → command-4f25tdd0.js} +5 -5
  58. package/dist/chunks/{tool-wzpeeaw7.js → command-4hqqc0tb.js} +32 -32
  59. package/dist/chunks/{tool-v6j3d7ww.js → command-4j5gbh4z.js} +4 -4
  60. package/dist/chunks/{tool-tew3ekv0.js → command-4mjfmwy3.js} +14 -14
  61. package/dist/chunks/{tool-4pyp9zr9.js → command-4pyp9zr9.js} +1 -1
  62. package/dist/chunks/{tool-4v008n1t.js → command-4v008n1t.js} +1 -1
  63. package/dist/chunks/{tool-0mgprbja.js → command-4vw59fw4.js} +4 -4
  64. package/dist/chunks/{tool-fxgynan5.js → command-4wq72d97.js} +11 -11
  65. package/dist/chunks/{tool-5zpqhmp2.js → command-4xcsbp6b.js} +6 -6
  66. package/dist/chunks/{tool-w778kp5v.js → command-50d47a1p.js} +12 -12
  67. package/dist/chunks/{tool-p2tvx8t7.js → command-50emzza2.js} +5 -5
  68. package/dist/chunks/{tool-q1y2c6x5.js → command-580q6ksr.js} +31 -31
  69. package/dist/chunks/{tool-7j1hj9ek.js → command-5b45kwht.js} +7 -7
  70. package/dist/chunks/{tool-b1zs6axd.js → command-5dp5p6d0.js} +7 -7
  71. package/dist/chunks/{tool-5m9w47nd.js → command-5m9w47nd.js} +1 -1
  72. package/dist/chunks/{tool-9vnsmb12.js → command-5p9f52kb.js} +32 -32
  73. package/dist/chunks/{tool-sk7x78xs.js → command-5qk4cnnh.js} +6 -6
  74. package/dist/chunks/{tool-2t9rfbr1.js → command-5w2qr5pg.js} +29 -29
  75. package/dist/chunks/{tool-yts2a8qm.js → command-67wwskyb.js} +4 -4
  76. package/dist/chunks/{tool-9mnt82q7.js → command-69nhr23y.js} +7 -7
  77. package/dist/chunks/{tool-ax9rm43e.js → command-69tpahy1.js} +38 -38
  78. package/dist/chunks/{tool-54vy2vdt.js → command-6faw1d9j.js} +21 -21
  79. package/dist/chunks/{tool-1r35gkft.js → command-6fjarha2.js} +12 -12
  80. package/dist/chunks/{tool-7jh0e0w6.js → command-6gj63hbd.js} +6 -6
  81. package/dist/chunks/{tool-4qgen1r6.js → command-6j81be6m.js} +30 -30
  82. package/dist/chunks/{tool-19b2ztj7.js → command-6t40r86m.js} +11 -11
  83. package/dist/chunks/{tool-bsq94p9g.js → command-6tysf92q.js} +39 -39
  84. package/dist/chunks/{tool-zgpeczg8.js → command-6wzcrn91.js} +11 -11
  85. package/dist/chunks/{tool-cyvaxqay.js → command-6x6becs7.js} +4 -4
  86. package/dist/chunks/{tool-g0sw756x.js → command-6y1rc5ns.js} +3 -3
  87. package/dist/chunks/{tool-144d3hy7.js → command-7229sesc.js} +10 -10
  88. package/dist/chunks/{tool-r1zdtk3v.js → command-75kb1dqt.js} +14 -14
  89. package/dist/chunks/{tool-7bmhse3q.js → command-7bmhse3q.js} +1 -1
  90. package/dist/chunks/{tool-71jvkvdc.js → command-7n6b9kmv.js} +10 -10
  91. package/dist/chunks/{tool-hhegnqrw.js → command-7q96cqrd.js} +4 -4
  92. package/dist/chunks/{tool-7w2ypzdf.js → command-7w2ypzdf.js} +1 -1
  93. package/dist/chunks/{tool-7weczvnd.js → command-7weczvnd.js} +1 -1
  94. package/dist/chunks/{tool-4pk3sz26.js → command-7x7zqjfv.js} +9 -9
  95. package/dist/chunks/{tool-7fsc8m4k.js → command-7xft7tx6.js} +20 -20
  96. package/dist/chunks/{tool-fw86ygjm.js → command-8025sr0h.js} +3 -3
  97. package/dist/chunks/{tool-80mg3ag8.js → command-80mg3ag8.js} +3 -3
  98. package/dist/chunks/{tool-qtf35215.js → command-81hxxa3v.js} +3 -3
  99. package/dist/chunks/{tool-3adw4bt5.js → command-859w1rtj.js} +9 -9
  100. package/dist/chunks/{tool-pez7as0x.js → command-86ptcvb4.js} +38 -38
  101. package/dist/chunks/{tool-89287pr7.js → command-89287pr7.js} +1 -1
  102. package/dist/chunks/{tool-25h84942.js → command-8b3vzgkx.js} +4 -4
  103. package/dist/chunks/{tool-8cg7mtm3.js → command-8cg7mtm3.js} +1 -1
  104. package/dist/chunks/{tool-083k8jjw.js → command-8nw4tyrr.js} +40 -40
  105. package/dist/chunks/{tool-bb3mmwvh.js → command-8sxe6kv8.js} +2 -2
  106. package/dist/chunks/{tool-3qgwywyc.js → command-8t99kr38.js} +4 -4
  107. package/dist/chunks/{tool-8wtp7s3z.js → command-8wtp7s3z.js} +1 -1
  108. package/dist/chunks/{tool-8x060fmy.js → command-8x060fmy.js} +1 -1
  109. package/dist/chunks/{tool-pak53k0g.js → command-8zrv9xj3.js} +79 -79
  110. package/dist/chunks/{tool-8zv0xmg5.js → command-8zv0xmg5.js} +1 -1
  111. package/dist/chunks/{tool-nbrkvs9p.js → command-90ac77gn.js} +11 -11
  112. package/dist/chunks/{tool-z080rjh6.js → command-90ct6wq4.js} +4 -4
  113. package/dist/chunks/{tool-1z3v6jst.js → command-93xmyh8q.js} +7 -7
  114. package/dist/chunks/{tool-963hk181.js → command-963hk181.js} +2 -2
  115. package/dist/chunks/{tool-g3v175ht.js → command-9k0dwq4f.js} +3 -3
  116. package/dist/chunks/{tool-5nqnk5zt.js → command-9n6fb455.js} +15 -15
  117. package/dist/chunks/{tool-d581z8cy.js → command-9r5vpkx0.js} +17 -17
  118. package/dist/chunks/{tool-y67jcnvv.js → command-9rqhy0gk.js} +7 -7
  119. package/dist/chunks/{tool-nhshg12m.js → command-9s8e5srx.js} +5 -5
  120. package/dist/chunks/{tool-84h32f71.js → command-9vzfckz4.js} +21 -21
  121. package/dist/chunks/{tool-96vqe6h0.js → command-9y1beaj8.js} +22 -22
  122. package/dist/chunks/{tool-6p47f7n7.js → command-a00r7tq5.js} +2 -2
  123. package/dist/chunks/{tool-ft7ja7xf.js → command-a2d524wa.js} +7 -7
  124. package/dist/chunks/{tool-x4mcewfn.js → command-a5fx33f2.js} +8 -8
  125. package/dist/chunks/{tool-5c9ayr0a.js → command-a85fg51h.js} +23 -23
  126. package/dist/chunks/{tool-cjehnj7d.js → command-aj1vmsda.js} +11 -11
  127. package/dist/chunks/{tool-g093g6qd.js → command-aj2q0md3.js} +18 -18
  128. package/dist/chunks/{tool-3qhreq2y.js → command-aqczazaa.js} +4 -4
  129. package/dist/chunks/{tool-fgv8yzeg.js → command-as52851a.js} +9 -9
  130. package/dist/chunks/{tool-bm3kvz7r.js → command-avjy05q9.js} +11 -11
  131. package/dist/chunks/{tool-xjf7t5qy.js → command-ay06fsmt.js} +9 -9
  132. package/dist/chunks/{tool-3cbjf1nt.js → command-ayjs7tqn.js} +2 -2
  133. package/dist/chunks/{tool-fbkmqcfv.js → command-b06xh644.js} +4 -4
  134. package/dist/chunks/{tool-b26ddj6h.js → command-b26ddj6h.js} +4 -4
  135. package/dist/chunks/{tool-vtsctq43.js → command-bbmwqqf1.js} +10 -10
  136. package/dist/chunks/{tool-jkfj84cm.js → command-bbw6s51r.js} +12 -12
  137. package/dist/chunks/{tool-q36dsedj.js → command-bh1m2mqb.js} +32 -32
  138. package/dist/chunks/{tool-njx9gg5k.js → command-bhfd478d.js} +4 -4
  139. package/dist/chunks/{tool-2224nmbs.js → command-bpbqk9d0.js} +26 -26
  140. package/dist/chunks/{tool-bstexjd6.js → command-bstexjd6.js} +1 -1
  141. package/dist/chunks/{tool-efeabf90.js → command-c36heay8.js} +16 -16
  142. package/dist/chunks/{tool-v2xkqqn9.js → command-c46rsbf1.js} +19 -19
  143. package/dist/chunks/{tool-wyfwz6yz.js → command-c5c4j0d1.js} +4 -4
  144. package/dist/chunks/{tool-msa5m8am.js → command-c5hf02hq.js} +16 -16
  145. package/dist/chunks/{tool-m5rpg4mw.js → command-c9zk3e32.js} +6 -6
  146. package/dist/chunks/{tool-m4d441dw.js → command-cac6m2se.js} +10 -10
  147. package/dist/chunks/{tool-3nsns975.js → command-ccrjcj8y.js} +8 -8
  148. package/dist/chunks/{tool-edt06h0g.js → command-cfybz2aq.js} +16 -16
  149. package/dist/chunks/{tool-cg3fcpn4.js → command-cg3fcpn4.js} +1 -1
  150. package/dist/chunks/{tool-f1qx1v58.js → command-cjqsf6bw.js} +9 -9
  151. package/dist/chunks/{tool-ktck1cjp.js → command-ckn0kvtp.js} +6 -6
  152. package/dist/chunks/{tool-0ahs07zn.js → command-cpvd08na.js} +4 -4
  153. package/dist/chunks/{tool-6ge1y5qj.js → command-cvhx2cky.js} +14 -14
  154. package/dist/chunks/{tool-cwrgdav8.js → command-cwrgdav8.js} +2 -2
  155. package/dist/chunks/{tool-tjakpvzb.js → command-d0ct107g.js} +11 -11
  156. package/dist/chunks/{tool-b0d5d3xj.js → command-d26b71we.js} +13 -13
  157. package/dist/chunks/{tool-kjef077q.js → command-d3ps5zqb.js} +16 -16
  158. package/dist/chunks/{tool-4v0wh7cn.js → command-d3xe1ges.js} +15 -15
  159. package/dist/chunks/{tool-6q4fvzhp.js → command-d4qhqabv.js} +5 -5
  160. package/dist/chunks/{tool-d4v9tmah.js → command-d4v9tmah.js} +2 -2
  161. package/dist/chunks/{tool-b7nkz392.js → command-d6k65kk8.js} +1 -1
  162. package/dist/chunks/{tool-yk4ram99.js → command-d92cn63z.js} +3 -3
  163. package/dist/chunks/{tool-65j8xpqd.js → command-d92hqa40.js} +23 -23
  164. package/dist/chunks/{tool-t3qgac3j.js → command-dbwvxspc.js} +5 -5
  165. package/dist/chunks/{tool-3dcz9emx.js → command-dnk6derc.js} +7 -7
  166. package/dist/chunks/{tool-wvk4qw2j.js → command-dqdyz552.js} +14 -14
  167. package/dist/chunks/{tool-dt77769w.js → command-dt77769w.js} +1 -1
  168. package/dist/chunks/{tool-f0sqvxyf.js → command-dthwqf99.js} +16 -16
  169. package/dist/chunks/{tool-jaftvzjf.js → command-e1afhnrj.js} +1 -1
  170. package/dist/chunks/{tool-4dfd3vjk.js → command-e1jt5dma.js} +46 -46
  171. package/dist/chunks/{tool-1cnspxhw.js → command-e75vykw5.js} +22 -22
  172. package/dist/chunks/{tool-e834z07m.js → command-e834z07m.js} +1 -1
  173. package/dist/chunks/{tool-zr0eec27.js → command-ebr0238v.js} +13 -13
  174. package/dist/chunks/{tool-egjbmy1y.js → command-egpeh0k8.js} +26 -26
  175. package/dist/chunks/{tool-eqw4pqj1.js → command-eqw4pqj1.js} +2 -2
  176. package/dist/chunks/{tool-1w0d05zm.js → command-er1cyqye.js} +78 -78
  177. package/dist/chunks/{tool-6f6jm3cp.js → command-etrnj9s7.js} +6 -6
  178. package/dist/chunks/{tool-0yktd958.js → command-f1g16kct.js} +9 -9
  179. package/dist/chunks/{tool-edv5vwyt.js → command-f2e43cgm.js} +23 -23
  180. package/dist/chunks/{tool-9g08pa91.js → command-f2g7mmfk.js} +13 -13
  181. package/dist/chunks/{tool-85vpeagd.js → command-f41k03vz.js} +8 -8
  182. package/dist/chunks/{tool-qrj805cr.js → command-f831zzye.js} +42 -42
  183. package/dist/chunks/{tool-vag1bze5.js → command-f96w9a59.js} +17 -17
  184. package/dist/chunks/{tool-sby54dqk.js → command-f9anazer.js} +2 -2
  185. package/dist/chunks/{tool-svr136ng.js → command-fb4mvtz0.js} +4 -4
  186. package/dist/chunks/{tool-fffv3p7h.js → command-fffv3p7h.js} +1 -1
  187. package/dist/chunks/{tool-prq7xxp2.js → command-fg9p65nk.js} +6 -6
  188. package/dist/chunks/{tool-tvjkm9e1.js → command-fqpe3gxd.js} +40 -40
  189. package/dist/chunks/{tool-nrqvtcd8.js → command-g22qdsb0.js} +28 -28
  190. package/dist/chunks/{tool-1460q3hj.js → command-g80zygtn.js} +23 -23
  191. package/dist/chunks/{tool-gbjdnr5j.js → command-gbjdnr5j.js} +2 -2
  192. package/dist/chunks/{tool-fyzk5b1r.js → command-gf11xrvh.js} +29 -29
  193. package/dist/chunks/{tool-ghrv1g9c.js → command-ghrv1g9c.js} +1 -1
  194. package/dist/chunks/{tool-pfnrdc1y.js → command-gj4hjmj0.js} +6 -6
  195. package/dist/chunks/{tool-4mx18a8z.js → command-gkgh0mmh.js} +18 -18
  196. package/dist/chunks/{tool-2pwd5hea.js → command-gqkxq4pr.js} +6 -6
  197. package/dist/chunks/{tool-tg7s7b5t.js → command-gxs71cxp.js} +4 -4
  198. package/dist/chunks/{tool-45s7g4aj.js → command-h6hykmtc.js} +46 -46
  199. package/dist/chunks/{tool-xd94f5nm.js → command-h94eg523.js} +9 -9
  200. package/dist/chunks/{tool-v9p4ps2q.js → command-hgs9egst.js} +5 -5
  201. package/dist/chunks/{tool-hgzwgvze.js → command-hgzwgvze.js} +2 -2
  202. package/dist/chunks/{tool-ysnehdgc.js → command-hpx4r85s.js} +23 -23
  203. package/dist/chunks/{tool-3ktek22a.js → command-hs663xhb.js} +10 -10
  204. package/dist/chunks/{tool-ddvn7d3w.js → command-hy8c1z76.js} +8 -8
  205. package/dist/chunks/{tool-ypmz62e0.js → command-hzw15rf8.js} +11 -11
  206. package/dist/chunks/{tool-5h9rmw1n.js → command-j1qhn6xc.js} +5 -5
  207. package/dist/chunks/{tool-cpqh714d.js → command-j4bh57a7.js} +13 -13
  208. package/dist/chunks/{tool-k4y08jtq.js → command-j6sqcpf2.js} +19 -19
  209. package/dist/chunks/{tool-wsv88edq.js → command-j89db767.js} +76 -76
  210. package/dist/chunks/{tool-y9h7p0q4.js → command-jgtjj2sx.js} +10 -10
  211. package/dist/chunks/{tool-kxhajdy2.js → command-jkgs08xq.js} +5 -5
  212. package/dist/chunks/{tool-jm70asfg.js → command-jm70asfg.js} +1 -1
  213. package/dist/chunks/{tool-f9vhsqwm.js → command-jq6tdsen.js} +20 -20
  214. package/dist/chunks/{tool-gnz2hs5p.js → command-k1y6wcsj.js} +8 -8
  215. package/dist/chunks/{tool-pr7b356r.js → command-kchst7at.js} +8 -8
  216. package/dist/chunks/{tool-k7cnkcnj.js → command-khf165tz.js} +12 -12
  217. package/dist/chunks/{tool-20pht57w.js → command-kj9n5bvh.js} +4 -4
  218. package/dist/chunks/{tool-f3z4j9vv.js → command-kkgfqycb.js} +16 -16
  219. package/dist/chunks/{tool-22z3ngk3.js → command-knzeqe75.js} +20 -20
  220. package/dist/chunks/{tool-zq96bstz.js → command-kr0x3sn9.js} +4 -4
  221. package/dist/chunks/{tool-86x0psh9.js → command-krvz20b8.js} +14 -14
  222. package/dist/chunks/{tool-y4864fy3.js → command-kt035rhs.js} +11 -11
  223. package/dist/chunks/{tool-kt3bjfbg.js → command-kt3bjfbg.js} +1 -1
  224. package/dist/chunks/{tool-kzczzf4v.js → command-kzczzf4v.js} +1 -1
  225. package/dist/chunks/{tool-dsxayadk.js → command-m0r9mrhn.js} +6 -6
  226. package/dist/chunks/{tool-m1714858.js → command-m1714858.js} +1 -1
  227. package/dist/chunks/{tool-hdrb5058.js → command-m2nw327t.js} +29 -29
  228. package/dist/chunks/{tool-gn56hyyd.js → command-m990xwvr.js} +6 -6
  229. package/dist/chunks/{tool-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
  230. package/dist/chunks/{tool-8z6m94af.js → command-mb7mbhnz.js} +3 -3
  231. package/dist/chunks/{tool-2946nwq7.js → command-mc3jbc04.js} +29 -29
  232. package/dist/chunks/{tool-8m8kx3ws.js → command-n1007a44.js} +10 -10
  233. package/dist/chunks/{tool-be7sh31c.js → command-n1ajx7pb.js} +13 -13
  234. package/dist/chunks/{tool-d4r41s9p.js → command-n1n7gd8m.js} +7 -7
  235. package/dist/chunks/{tool-6ay1c1t0.js → command-nafjxc76.js} +31 -31
  236. package/dist/chunks/{tool-szfm0m93.js → command-ndvbzvsx.js} +24 -24
  237. package/dist/chunks/{tool-k72r4xn5.js → command-nk8hrxbx.js} +6 -6
  238. package/dist/chunks/{tool-dm0jrs5z.js → command-nma2f0f2.js} +11 -11
  239. package/dist/chunks/{tool-rj7jtxy8.js → command-nt907s04.js} +3 -3
  240. package/dist/chunks/{tool-vek77fn1.js → command-nyc4jwvb.js} +4 -4
  241. package/dist/chunks/{tool-51q9w6yf.js → command-p337yctd.js} +17 -17
  242. package/dist/chunks/{tool-q9sa360e.js → command-p5dn9afy.js} +15 -15
  243. package/dist/chunks/{tool-avqh07yg.js → command-p9sdyysw.js} +3 -3
  244. package/dist/chunks/{tool-rfjyfe4k.js → command-pbhvpg46.js} +3 -3
  245. package/dist/chunks/{tool-wftqf8ja.js → command-pg1pzp6z.js} +14 -14
  246. package/dist/chunks/{tool-vwdemqyb.js → command-phtj74ja.js} +2 -2
  247. package/dist/chunks/{tool-pknna89w.js → command-pknna89w.js} +1 -1
  248. package/dist/chunks/{tool-4260v68q.js → command-pn2d0cya.js} +9 -9
  249. package/dist/chunks/{tool-5yy869d1.js → command-psk411ep.js} +5 -5
  250. package/dist/chunks/{tool-5ckkk9bj.js → command-px7qpgcn.js} +4 -4
  251. package/dist/chunks/{tool-3bbjthkp.js → command-pyaz3258.js} +13 -13
  252. package/dist/chunks/{tool-yy48g898.js → command-qbs0tgkw.js} +17 -17
  253. package/dist/chunks/{tool-qp7r0hxv.js → command-qp7r0hxv.js} +1 -1
  254. package/dist/chunks/{tool-qsdghx1p.js → command-qsdghx1p.js} +1 -1
  255. package/dist/chunks/{tool-m0ge85pr.js → command-qyp7wbts.js} +41 -41
  256. package/dist/chunks/{tool-pgqxr0th.js → command-r96ere88.js} +4 -4
  257. package/dist/chunks/{tool-6p2yvgd8.js → command-raa1pp1y.js} +30 -30
  258. package/dist/chunks/{tool-rb9dy4dg.js → command-rb9dy4dg.js} +1 -1
  259. package/dist/chunks/{tool-w76xjer3.js → command-rcbjwvze.js} +4 -4
  260. package/dist/chunks/{tool-rgc9cx3e.js → command-rgc9cx3e.js} +2 -2
  261. package/dist/chunks/{tool-pbbrhaxk.js → command-rmfwkswd.js} +34 -34
  262. package/dist/chunks/{tool-7w7ts1mc.js → command-rrx98x4h.js} +25 -25
  263. package/dist/chunks/{tool-rt5dr6hb.js → command-rt5dr6hb.js} +1 -1
  264. package/dist/chunks/{tool-z5c1r2f6.js → command-rvy88985.js} +23 -23
  265. package/dist/chunks/{tool-q9djgp4e.js → command-rwzm73t1.js} +15 -15
  266. package/dist/chunks/{tool-vfpdh65y.js → command-rygtn875.js} +12 -12
  267. package/dist/chunks/{tool-s1td2z6q.js → command-rzt2zc2n.js} +47 -47
  268. package/dist/chunks/{tool-qe8srvhz.js → command-s67xaphr.js} +8 -8
  269. package/dist/chunks/{tool-nr7prwvg.js → command-s6q3rn22.js} +11 -11
  270. package/dist/chunks/{tool-e1gdjb2y.js → command-s83qkgyk.js} +11 -11
  271. package/dist/chunks/{tool-y98jxswp.js → command-s9rq4s3b.js} +10 -10
  272. package/dist/chunks/{tool-sbya78hr.js → command-sbya78hr.js} +1 -1
  273. package/dist/chunks/{tool-vj50rhab.js → command-sbzezcpx.js} +8 -8
  274. package/dist/chunks/{tool-1bbvyrj8.js → command-scxj1mnc.js} +26 -26
  275. package/dist/chunks/{tool-x30nvd7p.js → command-spnhen4n.js} +6 -6
  276. package/dist/chunks/{tool-svcy3p9a.js → command-svcy3p9a.js} +1 -1
  277. package/dist/chunks/{tool-706wky23.js → command-sxk6dszk.js} +36 -36
  278. package/dist/chunks/{tool-00gmy8xm.js → command-sy9wp2tg.js} +160 -160
  279. package/dist/chunks/{tool-73ff1310.js → command-t48jrnqq.js} +3 -3
  280. package/dist/chunks/{tool-hkh4ktw2.js → command-t4evkq04.js} +7 -7
  281. package/dist/chunks/{tool-t62dywgn.js → command-t62dywgn.js} +1 -1
  282. package/dist/chunks/{tool-y05fgwsx.js → command-t7100y82.js} +8 -8
  283. package/dist/chunks/{tool-gdqab8my.js → command-t7e366dh.js} +5 -5
  284. package/dist/chunks/{tool-vztdkk27.js → command-t8295zw7.js} +31 -31
  285. package/dist/chunks/{tool-61qraad9.js → command-t8erkws8.js} +5 -5
  286. package/dist/chunks/{tool-j63r4wxs.js → command-tah495xq.js} +339 -339
  287. package/dist/chunks/{tool-b5atjet8.js → command-tappgj3r.js} +39 -39
  288. package/dist/chunks/{tool-694dpcrp.js → command-tb2mrvc9.js} +7 -7
  289. package/dist/chunks/{tool-tbpn7jtk.js → command-tbpn7jtk.js} +1 -1
  290. package/dist/chunks/{tool-tczq8hjw.js → command-tczq8hjw.js} +1 -1
  291. package/dist/chunks/{tool-xdxfw927.js → command-tq5bj24n.js} +14 -14
  292. package/dist/chunks/{tool-tr8x705m.js → command-tr8x705m.js} +1 -1
  293. package/dist/chunks/{tool-tvtps2q9.js → command-tvtps2q9.js} +1 -1
  294. package/dist/chunks/{tool-twssxy5n.js → command-twssxy5n.js} +2 -2
  295. package/dist/chunks/{tool-nnapdt59.js → command-tywzvxnn.js} +17 -17
  296. package/dist/chunks/{tool-fmdffz6v.js → command-v0g9v9ya.js} +20 -20
  297. package/dist/chunks/{tool-v2r1d0zg.js → command-v2r1d0zg.js} +1 -1
  298. package/dist/chunks/{tool-155c7zz5.js → command-vfgdymm7.js} +36 -36
  299. package/dist/chunks/command-vhaactr6.js +26 -0
  300. package/dist/chunks/{tool-vjf35v1f.js → command-vjf35v1f.js} +1 -1
  301. package/dist/chunks/{tool-kjgrvgjg.js → command-vv7sjkkg.js} +8 -8
  302. package/dist/chunks/{tool-r6r1w0bn.js → command-vysqytr9.js} +148 -148
  303. package/dist/chunks/{tool-sgx9k6cw.js → command-vzrcnz7e.js} +12 -12
  304. package/dist/chunks/{tool-pheg3pak.js → command-w3m1wmg0.js} +9 -9
  305. package/dist/chunks/{tool-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
  306. package/dist/chunks/{tool-w79nt68w.js → command-w79nt68w.js} +1 -1
  307. package/dist/chunks/{tool-wakvkjy4.js → command-wakvkjy4.js} +1 -1
  308. package/dist/chunks/{tool-71bdgds2.js → command-wcancq3b.js} +23 -23
  309. package/dist/chunks/{tool-q48415cr.js → command-wcm2h7g3.js} +16 -16
  310. package/dist/chunks/{tool-0af2ej1h.js → command-wd57kq5n.js} +12 -12
  311. package/dist/chunks/{tool-wd87259q.js → command-wd87259q.js} +1 -1
  312. package/dist/chunks/{tool-nx4vzyjd.js → command-wegkxhrn.js} +2 -2
  313. package/dist/chunks/{tool-mfnrxmk2.js → command-wk79zm5y.js} +4 -4
  314. package/dist/chunks/{tool-an1v5wex.js → command-wm9z83mr.js} +6 -6
  315. package/dist/chunks/{tool-wr3re1en.js → command-wr3re1en.js} +1 -1
  316. package/dist/chunks/{tool-c7cw818c.js → command-wt99tj4q.js} +5 -5
  317. package/dist/chunks/{tool-79k544d0.js → command-wvr8xscb.js} +7 -7
  318. package/dist/chunks/{tool-sn4t5eh4.js → command-wxt7yapv.js} +19 -19
  319. package/dist/chunks/{tool-0gfhqxdg.js → command-x2yyftaa.js} +9 -9
  320. package/dist/chunks/{tool-9sr5avzc.js → command-x5qdmv3a.js} +3 -3
  321. package/dist/chunks/{tool-f6r9v5q7.js → command-x60a774f.js} +12 -12
  322. package/dist/chunks/{tool-vq0qa3sh.js → command-x7de2wha.js} +9 -9
  323. package/dist/chunks/{tool-405anx19.js → command-xa1ec4eg.js} +3 -3
  324. package/dist/chunks/{tool-2bd99pfg.js → command-xahjgwpr.js} +7 -7
  325. package/dist/chunks/{tool-4b8smedx.js → command-xbcvjbr6.js} +16 -16
  326. package/dist/chunks/{tool-xxschbft.js → command-xjr6c8m4.js} +4 -4
  327. package/dist/chunks/{tool-hna9x47e.js → command-xscct7ax.js} +9 -9
  328. package/dist/chunks/{tool-ehts27c3.js → command-xttd6wrv.js} +25 -25
  329. package/dist/chunks/{tool-0z237fz4.js → command-xtwr0ba3.js} +26 -26
  330. package/dist/chunks/{tool-n320gsn2.js → command-xvn8mnch.js} +4 -4
  331. package/dist/chunks/{tool-p1p5zv4x.js → command-y3w3myjr.js} +5 -5
  332. package/dist/chunks/{tool-yb20nhc3.js → command-yb20nhc3.js} +1 -1
  333. package/dist/chunks/{tool-ha1v2dhf.js → command-yb5mamag.js} +12 -12
  334. package/dist/chunks/{tool-yr705xyq.js → command-yr705xyq.js} +1 -1
  335. package/dist/chunks/{tool-q11dte8f.js → command-yrrscxj1.js} +13 -13
  336. package/dist/chunks/{tool-zw5t7e3y.js → command-yttvs4ek.js} +9 -9
  337. package/dist/chunks/{tool-yvtc2x31.js → command-yvtc2x31.js} +1 -1
  338. package/dist/chunks/{tool-w2y7d4w3.js → command-yw9j1nk8.js} +2 -2
  339. package/dist/chunks/{tool-atgf0zmr.js → command-ywg8d4kw.js} +14 -14
  340. package/dist/chunks/{tool-6b8qs503.js → command-yywg802q.js} +15 -15
  341. package/dist/chunks/{tool-0fzn8tne.js → command-z0y3kk74.js} +18 -18
  342. package/dist/chunks/{tool-nnvmas47.js → command-z12eb085.js} +15 -15
  343. package/dist/chunks/{tool-74nkrfhp.js → command-z3a7xtye.js} +7 -7
  344. package/dist/chunks/{tool-et9cjmd7.js → command-z6kqfz5m.js} +5 -5
  345. package/dist/chunks/{tool-pc077hap.js → command-zbxg7ead.js} +9 -9
  346. package/dist/chunks/{tool-ze75qvmd.js → command-ze75qvmd.js} +3 -3
  347. package/dist/chunks/{tool-mzjgx79y.js → command-zfspbp5e.js} +4 -4
  348. package/dist/chunks/{tool-by8ty0bx.js → command-zpdbqgja.js} +4 -4
  349. package/dist/chunks/{tool-j1ms48vw.js → command-zs3paaqc.js} +22 -22
  350. package/dist/codemode/catalog.js +1 -1
  351. package/dist/codemode/execution.js +3 -3
  352. package/dist/codemode/fetch.js +148 -148
  353. package/dist/codemode/instructions.js +11 -11
  354. package/dist/codemode/tool.js +155 -155
  355. package/dist/command.js +94 -94
  356. package/dist/config/discovery.js +95 -95
  357. package/dist/config/integration.js +3 -3
  358. package/dist/config/managed.js +1 -1
  359. package/dist/config/markdown.js +1 -1
  360. package/dist/config/normalize.js +112 -112
  361. package/dist/config/plugin/agent.js +133 -133
  362. package/dist/config/plugin/command.js +240 -240
  363. package/dist/config/plugin/compaction.js +173 -173
  364. package/dist/config/plugin/compatibility.js +153 -153
  365. package/dist/config/plugin/entry-observer.js +1 -1
  366. package/dist/config/plugin/formatter.js +131 -131
  367. package/dist/config/plugin/image.js +130 -130
  368. package/dist/config/plugin/instruction.js +130 -130
  369. package/dist/config/plugin/location-watcher.js +130 -130
  370. package/dist/config/plugin/mcp.js +145 -145
  371. package/dist/config/plugin/policy.js +130 -130
  372. package/dist/config/plugin/provider.js +130 -130
  373. package/dist/config/plugin/reference.js +132 -132
  374. package/dist/config/plugin/shell.js +130 -130
  375. package/dist/config/plugin/skill-file.js +149 -149
  376. package/dist/config/plugin/skill-scan.js +1 -1
  377. package/dist/config/plugin/skill.js +156 -156
  378. package/dist/config/plugin/snapshot.js +130 -130
  379. package/dist/config/plugin/source.js +132 -132
  380. package/dist/config/plugin/tool-output.js +131 -131
  381. package/dist/config/plugin/websearch.js +129 -129
  382. package/dist/config/plugin/worktree.js +132 -132
  383. package/dist/config/variable.js +1 -1
  384. package/dist/config/watch.js +1 -1
  385. package/dist/config.js +131 -131
  386. package/dist/console-access.js +1 -1
  387. package/dist/credential/sql.js +2 -2
  388. package/dist/credential.js +88 -88
  389. package/dist/database/batch.js +1 -1
  390. package/dist/database/database.js +77 -77
  391. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  392. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  393. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  394. package/dist/database/drizzle/index.js +13 -13
  395. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  396. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  397. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  398. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  399. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  400. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  401. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  402. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  403. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  404. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  405. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  406. package/dist/database/drizzle.js +14 -14
  407. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  408. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  409. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  410. package/dist/database/migration/20260225215848_workspace.js +1 -1
  411. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  412. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  413. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  414. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  415. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  416. package/dist/database/migration/20260323234822_events.js +1 -1
  417. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  418. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  419. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  420. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  421. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  422. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  423. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  424. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  425. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  426. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  427. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  428. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  429. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  430. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  431. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  432. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  433. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  434. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  435. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  436. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  437. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  438. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  439. package/dist/database/migration/20260611035744_credential.js +1 -1
  440. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  441. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  442. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  443. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  444. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  445. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  446. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  447. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  448. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  449. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  450. package/dist/database/migration/20260812213948_worktree.js +1 -1
  451. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  452. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  453. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  454. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  455. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  456. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  457. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  458. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  459. package/dist/database/migration/20261025123711_blob.js +1 -1
  460. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  461. package/dist/database/migration/20261026223005_schedule.js +1 -1
  462. package/dist/database/migration/20261029002625_session_part.js +1 -1
  463. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  464. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  465. package/dist/database/migration/20261030054400_job.js +1 -1
  466. package/dist/database/migration.gen.js +60 -60
  467. package/dist/database/migration.js +76 -76
  468. package/dist/database/path.js +2 -2
  469. package/dist/database/schema.gen.js +1 -1
  470. package/dist/database/schema.sql.js +1 -1
  471. package/dist/database/v1-migration.bun.js +98 -98
  472. package/dist/database/v1-migration.js +1 -1
  473. package/dist/effect/app-node-builder.js +434 -434
  474. package/dist/effect/app-node-platform.js +2 -2
  475. package/dist/effect/keyed-mutex.js +1 -1
  476. package/dist/effect/websocket-constructor.js +1 -1
  477. package/dist/environment/driver.js +1 -1
  478. package/dist/environment/environment.js +105 -105
  479. package/dist/environment/exec-defaults.js +2 -2
  480. package/dist/environment/files.js +1 -1
  481. package/dist/environment/index.js +109 -109
  482. package/dist/environment/local.js +2 -2
  483. package/dist/environment/memory.js +2 -2
  484. package/dist/environment/unavailable.js +1 -1
  485. package/dist/event/sql.js +1 -1
  486. package/dist/event-logger.js +81 -81
  487. package/dist/file-access.js +160 -160
  488. package/dist/file-mutation.js +108 -108
  489. package/dist/file-retention.js +1 -1
  490. package/dist/file-write.js +164 -164
  491. package/dist/filesystem/fff.bun.js +2 -2
  492. package/dist/filesystem/fff.js +1 -1
  493. package/dist/filesystem/fff.node.js +2 -2
  494. package/dist/filesystem/fff.workerd.js +2 -2
  495. package/dist/filesystem/file-watch.js +86 -86
  496. package/dist/filesystem/location-watcher-policy.js +6 -6
  497. package/dist/filesystem/location-watcher.js +251 -251
  498. package/dist/filesystem/protected.js +1 -1
  499. package/dist/filesystem/search.js +107 -107
  500. package/dist/filesystem/watcher-binding.js +1 -1
  501. package/dist/filesystem/watcher.js +9 -9
  502. package/dist/filesystem.js +110 -110
  503. package/dist/flag.js +127 -127
  504. package/dist/form.js +85 -85
  505. package/dist/formatter/builtins.js +4 -4
  506. package/dist/formatter.js +100 -100
  507. package/dist/generate.js +118 -118
  508. package/dist/git.js +7 -7
  509. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  510. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  511. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  512. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  513. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  514. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  515. package/dist/github-copilot/copilot-provider.js +17 -17
  516. package/dist/github-copilot/models.js +112 -112
  517. package/dist/github-copilot/openai-compatible-error.js +1 -1
  518. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  519. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  520. package/dist/github-copilot/responses/openai-error.js +1 -1
  521. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  522. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  523. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  524. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  525. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  526. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  527. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  528. package/dist/image/notice.js +3 -3
  529. package/dist/image/photon-normalize.js +1 -1
  530. package/dist/image/photon-worker.js +1 -1
  531. package/dist/image/photon.js +4 -4
  532. package/dist/image.js +6 -6
  533. package/dist/instance/service.js +1 -1
  534. package/dist/instance.js +427 -427
  535. package/dist/instruction-discovery.js +95 -95
  536. package/dist/instructions/builtins.js +100 -100
  537. package/dist/instructions/index.js +1 -1
  538. package/dist/integration/connection.js +3 -3
  539. package/dist/integration.js +92 -92
  540. package/dist/job/list.js +5 -5
  541. package/dist/job/recovery.js +2 -2
  542. package/dist/job/sql.js +2 -2
  543. package/dist/job.js +88 -88
  544. package/dist/kv/sql.js +2 -2
  545. package/dist/kv.js +80 -80
  546. package/dist/location-activity.js +180 -180
  547. package/dist/location-lifecycle.js +153 -153
  548. package/dist/location-service-map.js +99 -99
  549. package/dist/location-services.js +428 -428
  550. package/dist/location.js +94 -94
  551. package/dist/managed-policy.js +3 -3
  552. package/dist/mcp/client.js +158 -158
  553. package/dist/mcp/connection.js +104 -104
  554. package/dist/mcp/index.js +118 -118
  555. package/dist/mcp/instructions.js +185 -185
  556. package/dist/mcp/oauth.js +86 -86
  557. package/dist/mcp/pool.js +110 -110
  558. package/dist/mcp/socket-client.js +1 -1
  559. package/dist/mcp/stdio.js +157 -157
  560. package/dist/mime.js +1 -1
  561. package/dist/modal/models.js +112 -112
  562. package/dist/model-resolver.js +112 -112
  563. package/dist/model-retry.js +1 -1
  564. package/dist/model.js +107 -107
  565. package/dist/models-dev/v1.js +1 -1
  566. package/dist/models-dev.js +117 -117
  567. package/dist/oauth/page.js +1 -1
  568. package/dist/permission/saved.js +89 -89
  569. package/dist/permission/sql.js +5 -5
  570. package/dist/permission.js +152 -152
  571. package/dist/persistent-pty/binary.bun.js +1 -1
  572. package/dist/persistent-pty/daemon.js +1 -1
  573. package/dist/persistent-pty/index.js +95 -95
  574. package/dist/persistent-pty/pty-binding.js +1 -1
  575. package/dist/persistent-pty.js +86 -86
  576. package/dist/plugin/agent.js +87 -87
  577. package/dist/plugin/command.js +119 -119
  578. package/dist/plugin/goal.js +3 -3
  579. package/dist/plugin/hooks.js +5 -5
  580. package/dist/plugin/host.js +244 -244
  581. package/dist/plugin/identity.js +5 -5
  582. package/dist/plugin/instance.js +5 -5
  583. package/dist/plugin/internal.js +409 -409
  584. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  585. package/dist/plugin/models-dev.js +110 -110
  586. package/dist/plugin/module.js +129 -129
  587. package/dist/plugin/optimize.js +4 -4
  588. package/dist/plugin/plan.js +149 -149
  589. package/dist/plugin/promise.js +1 -1
  590. package/dist/plugin/provider/amazon-bedrock.js +106 -106
  591. package/dist/plugin/provider/azure.js +133 -133
  592. package/dist/plugin/provider/cerebras.js +1 -1
  593. package/dist/plugin/provider/chatgpt.js +133 -133
  594. package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
  595. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  596. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  597. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  598. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  599. package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
  600. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  601. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  602. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  603. package/dist/plugin/provider/claude-agent/index.js +148 -148
  604. package/dist/plugin/provider/claude-agent/instructions.js +112 -112
  605. package/dist/plugin/provider/claude-agent/integration.js +115 -115
  606. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  607. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  608. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  609. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  610. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  611. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  612. package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
  613. package/dist/plugin/provider/claude-agent/provider.js +110 -110
  614. package/dist/plugin/provider/claude-agent/session.js +112 -112
  615. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  616. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  617. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  618. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  619. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  620. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  621. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  622. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  623. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  624. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  625. package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
  626. package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
  627. package/dist/plugin/provider/configured.js +126 -126
  628. package/dist/plugin/provider/credential-settings.js +88 -88
  629. package/dist/plugin/provider/databricks.js +1 -1
  630. package/dist/plugin/provider/digitalocean.js +109 -109
  631. package/dist/plugin/provider/dynamic.js +2 -2
  632. package/dist/plugin/provider/github-copilot.js +111 -111
  633. package/dist/plugin/provider/gitlab.js +109 -109
  634. package/dist/plugin/provider/google-vertex.js +127 -127
  635. package/dist/plugin/provider/kilo.js +1 -1
  636. package/dist/plugin/provider/llmgateway.js +89 -89
  637. package/dist/plugin/provider/lmstudio.js +140 -140
  638. package/dist/plugin/provider/local.js +137 -137
  639. package/dist/plugin/provider/modal.js +108 -108
  640. package/dist/plugin/provider/neon.js +1 -1
  641. package/dist/plugin/provider/nvidia.js +1 -1
  642. package/dist/plugin/provider/ollama.js +138 -138
  643. package/dist/plugin/provider/openai-context-caps.js +106 -106
  644. package/dist/plugin/provider/openai.js +135 -135
  645. package/dist/plugin/provider/opencode.js +159 -159
  646. package/dist/plugin/provider/openrouter.js +104 -104
  647. package/dist/plugin/provider/poe.js +90 -90
  648. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  649. package/dist/plugin/provider/refresh.js +87 -87
  650. package/dist/plugin/provider/sap-ai-core.js +104 -104
  651. package/dist/plugin/provider/sdk-factory.js +1 -1
  652. package/dist/plugin/provider/snowflake-cortex.js +131 -131
  653. package/dist/plugin/provider/vllm.js +140 -140
  654. package/dist/plugin/provider/xai.js +104 -104
  655. package/dist/plugin/provider/zenmux.js +1 -1
  656. package/dist/plugin/provider.js +237 -237
  657. package/dist/plugin/sdk.js +87 -87
  658. package/dist/plugin/service.js +1 -1
  659. package/dist/plugin/skill.js +152 -152
  660. package/dist/plugin/source-directory.js +1 -1
  661. package/dist/plugin/supervisor.js +419 -419
  662. package/dist/plugin/tool-input-repair.js +4 -4
  663. package/dist/plugin/update.js +4 -4
  664. package/dist/plugin/vcs/git.js +99 -99
  665. package/dist/plugin/vcs/hg.js +99 -99
  666. package/dist/plugin/verbosity.js +106 -106
  667. package/dist/plugin/warming.js +130 -130
  668. package/dist/plugin/websearch/exa.js +8 -8
  669. package/dist/plugin/websearch/firecrawl.js +9 -9
  670. package/dist/plugin/websearch/index.js +10 -10
  671. package/dist/plugin/websearch/mcp.js +6 -6
  672. package/dist/plugin/websearch/parallel.js +9 -9
  673. package/dist/plugin/websearch/provider.js +3 -3
  674. package/dist/plugin/websearch/tavily.js +7 -7
  675. package/dist/plugin/websearch/tinyfish.js +9 -9
  676. package/dist/plugin.js +253 -253
  677. package/dist/project/icon.js +5 -5
  678. package/dist/project/schema.js +2 -2
  679. package/dist/project/sql.js +4 -4
  680. package/dist/project.js +93 -93
  681. package/dist/provider.js +106 -106
  682. package/dist/pty/protocol.js +1 -1
  683. package/dist/pty/ticket.js +1 -1
  684. package/dist/pty.js +111 -111
  685. package/dist/reference/instructions.js +101 -101
  686. package/dist/reference.js +103 -103
  687. package/dist/repository-cache.js +93 -93
  688. package/dist/repository.js +1 -1
  689. package/dist/ripgrep/binary.js +2 -2
  690. package/dist/ripgrep.js +109 -109
  691. package/dist/rpc.js +99 -99
  692. package/dist/schedule/check.js +249 -249
  693. package/dist/schedule/sql.js +6 -6
  694. package/dist/schedule.js +263 -263
  695. package/dist/schema.js +1 -1
  696. package/dist/session/affinity.js +1 -1
  697. package/dist/session/background.js +3 -3
  698. package/dist/session/blob.js +132 -132
  699. package/dist/session/command.js +85 -85
  700. package/dist/session/compaction.js +175 -175
  701. package/dist/session/context.js +205 -205
  702. package/dist/session/diff.js +101 -101
  703. package/dist/session/environment.js +5 -5
  704. package/dist/session/error.js +5 -5
  705. package/dist/session/event.js +1 -1
  706. package/dist/session/execution/restart.js +251 -251
  707. package/dist/session/execution.js +165 -165
  708. package/dist/session/generate.js +204 -204
  709. package/dist/session/history.js +139 -139
  710. package/dist/session/inbox.js +144 -144
  711. package/dist/session/info.js +3 -3
  712. package/dist/session/instruction-entry.js +90 -90
  713. package/dist/session/instruction-state.js +8 -8
  714. package/dist/session/instructions.js +146 -146
  715. package/dist/session/message-updater.js +4 -4
  716. package/dist/session/message.js +1 -1
  717. package/dist/session/model-request.js +169 -169
  718. package/dist/session/model-transport.js +7 -7
  719. package/dist/session/move.js +171 -171
  720. package/dist/session/projector.js +146 -146
  721. package/dist/session/prompt.js +151 -151
  722. package/dist/session/recent-text.js +1 -1
  723. package/dist/session/revert.js +142 -142
  724. package/dist/session/run-coordinator.js +1 -1
  725. package/dist/session/runner/index.js +3 -3
  726. package/dist/session/runner/llm.js +258 -258
  727. package/dist/session/runner/max-steps.js +1 -1
  728. package/dist/session/runner/model.js +113 -113
  729. package/dist/session/runner/publish-llm-event.js +153 -153
  730. package/dist/session/runner/retry.js +5 -5
  731. package/dist/session/runner/step.js +166 -166
  732. package/dist/session/runner/to-llm-message.js +140 -140
  733. package/dist/session/schema.js +5 -5
  734. package/dist/session/session.js +186 -186
  735. package/dist/session/shell.js +145 -145
  736. package/dist/session/skill.js +150 -150
  737. package/dist/session/sql.js +5 -5
  738. package/dist/session/stats.js +85 -85
  739. package/dist/session/store.js +145 -145
  740. package/dist/session/stored.js +4 -4
  741. package/dist/session/subagent-completion.js +3 -3
  742. package/dist/session/subagent-job.js +237 -237
  743. package/dist/session/system-prompt.js +5 -5
  744. package/dist/session/title.js +209 -209
  745. package/dist/session/to-session-error.js +152 -152
  746. package/dist/session/transfer.js +239 -239
  747. package/dist/session/usage.js +3 -3
  748. package/dist/session.js +243 -243
  749. package/dist/shared-cache.js +5 -5
  750. package/dist/shell/parse.js +6 -6
  751. package/dist/shell/result.js +1 -1
  752. package/dist/shell/scan.js +1 -1
  753. package/dist/shell/select.js +7 -7
  754. package/dist/shell.js +147 -147
  755. package/dist/skill/discovery.js +6 -6
  756. package/dist/skill/instructions.js +152 -152
  757. package/dist/skill.js +159 -159
  758. package/dist/snapshot.js +102 -102
  759. package/dist/state.js +1 -1
  760. package/dist/tool/html-markdown.js +1 -1
  761. package/dist/tool/http-body.js +1 -1
  762. package/dist/tool/mcp.js +184 -184
  763. package/dist/tool/plugin/artifact.js +236 -236
  764. package/dist/tool/plugin/edit.js +170 -170
  765. package/dist/tool/plugin/file-diff.js +1 -1
  766. package/dist/tool/plugin/glob.js +174 -174
  767. package/dist/tool/plugin/grep.js +173 -173
  768. package/dist/tool/plugin/image-generate.js +247 -247
  769. package/dist/tool/plugin/mcp-resource.js +169 -169
  770. package/dist/tool/plugin/opencode.js +166 -166
  771. package/dist/tool/plugin/patch.js +167 -167
  772. package/dist/tool/plugin/question.js +149 -149
  773. package/dist/tool/plugin/read.js +175 -175
  774. package/dist/tool/plugin/schedule.js +255 -255
  775. package/dist/tool/plugin/shell.js +241 -241
  776. package/dist/tool/plugin/skill.js +160 -160
  777. package/dist/tool/plugin/subagent.js +244 -244
  778. package/dist/tool/plugin/todo.js +156 -156
  779. package/dist/tool/plugin/webfetch.js +160 -160
  780. package/dist/tool/plugin/websearch.js +156 -156
  781. package/dist/tool/plugin/write.js +171 -171
  782. package/dist/tool/read-filesystem.js +114 -114
  783. package/dist/tool/runtime.js +1 -1
  784. package/dist/tool/search.js +109 -109
  785. package/dist/tool-output.js +7 -7
  786. package/dist/tool.js +161 -161
  787. package/dist/types/v1/config/migrate.d.ts +2 -2
  788. package/dist/types/v1/config/provider.d.ts +4 -4
  789. package/dist/usage-limits.js +92 -92
  790. package/dist/util/error-summary.js +1 -1
  791. package/dist/util/git-executable.js +3 -3
  792. package/dist/util/lazy.js +1 -1
  793. package/dist/util/slug.js +1 -1
  794. package/dist/util/token.js +1 -1
  795. package/dist/util/which.js +1 -1
  796. package/dist/util/wildcard.js +1 -1
  797. package/dist/v1/config/agent.js +5 -5
  798. package/dist/v1/config/command.js +3 -3
  799. package/dist/v1/config/mcp.js +4 -4
  800. package/dist/v1/config/migrate.js +105 -105
  801. package/dist/v1/config/permission.js +1 -1
  802. package/dist/v1/config/plugin.js +1 -1
  803. package/dist/v1/config/provider-options.js +1 -1
  804. package/dist/v1/config/provider.js +4 -4
  805. package/dist/variant.js +104 -104
  806. package/dist/vcs/patch.js +1 -1
  807. package/dist/vcs.js +102 -102
  808. package/dist/voice.js +93 -93
  809. package/dist/websearch.js +101 -101
  810. package/dist/wellknown/plugin.js +87 -87
  811. package/dist/wellknown.js +86 -86
  812. package/dist/workspace/driver.js +3 -3
  813. package/dist/workspace/sql.js +1 -1
  814. package/dist/workspace.js +89 -89
  815. package/dist/worktree/directory.js +2 -2
  816. package/dist/worktree/git.js +9 -9
  817. package/dist/worktree/sql.js +5 -5
  818. package/dist/worktree/strategies.js +102 -102
  819. package/dist/worktree.js +109 -109
  820. package/package.json +8 -8
  821. package/dist/chunks/tool-bma3xgyt.js +0 -26
  822. /package/dist/chunks/{tool-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
  823. /package/dist/chunks/{tool-0zkw76rk.js → command-0zkw76rk.js} +0 -0
  824. /package/dist/chunks/{tool-108x4f4w.js → command-108x4f4w.js} +0 -0
  825. /package/dist/chunks/{tool-17cy0kzp.js → command-17cy0kzp.js} +0 -0
  826. /package/dist/chunks/{tool-1cnp2v09.js → command-1cnp2v09.js} +0 -0
  827. /package/dist/chunks/{tool-1kah00gy.js → command-1kah00gy.js} +0 -0
  828. /package/dist/chunks/{tool-24dcb14g.js → command-24dcb14g.js} +0 -0
  829. /package/dist/chunks/{tool-2710q6r3.js → command-2710q6r3.js} +0 -0
  830. /package/dist/chunks/{tool-2bv980vf.js → command-2bv980vf.js} +0 -0
  831. /package/dist/chunks/{tool-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
  832. /package/dist/chunks/{tool-359p4xyc.js → command-359p4xyc.js} +0 -0
  833. /package/dist/chunks/{tool-3af0jn4w.js → command-3af0jn4w.js} +0 -0
  834. /package/dist/chunks/{tool-3asan66x.js → command-3asan66x.js} +0 -0
  835. /package/dist/chunks/{tool-3v8g72cx.js → command-3v8g72cx.js} +0 -0
  836. /package/dist/chunks/{tool-3wcehsnq.js → command-3wcehsnq.js} +0 -0
  837. /package/dist/chunks/{tool-43n2bw4t.js → command-43n2bw4t.js} +0 -0
  838. /package/dist/chunks/{tool-4knz6hnm.js → command-4knz6hnm.js} +0 -0
  839. /package/dist/chunks/{tool-4qk9sjk2.js → command-4qk9sjk2.js} +0 -0
  840. /package/dist/chunks/{tool-4y7fprxs.js → command-4y7fprxs.js} +0 -0
  841. /package/dist/chunks/{tool-53557ph1.js → command-53557ph1.js} +0 -0
  842. /package/dist/chunks/{tool-550bvhaj.js → command-550bvhaj.js} +0 -0
  843. /package/dist/chunks/{tool-5w3e23ze.js → command-5w3e23ze.js} +0 -0
  844. /package/dist/chunks/{tool-6agm2x70.js → command-6agm2x70.js} +0 -0
  845. /package/dist/chunks/{tool-6prwharc.js → command-6prwharc.js} +0 -0
  846. /package/dist/chunks/{tool-6q2bdcd1.js → command-6q2bdcd1.js} +0 -0
  847. /package/dist/chunks/{tool-7akdwqpd.js → command-7akdwqpd.js} +0 -0
  848. /package/dist/chunks/{tool-7m9af43g.js → command-7m9af43g.js} +0 -0
  849. /package/dist/chunks/{tool-822emrt2.js → command-822emrt2.js} +0 -0
  850. /package/dist/chunks/{tool-84wd9syh.js → command-84wd9syh.js} +0 -0
  851. /package/dist/chunks/{tool-88xbtdfr.js → command-88xbtdfr.js} +0 -0
  852. /package/dist/chunks/{tool-8n3pysct.js → command-8n3pysct.js} +0 -0
  853. /package/dist/chunks/{tool-8wj87zfr.js → command-8wj87zfr.js} +0 -0
  854. /package/dist/chunks/{tool-9a4afbnw.js → command-9a4afbnw.js} +0 -0
  855. /package/dist/chunks/{tool-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
  856. /package/dist/chunks/{tool-a6k6eb26.js → command-a6k6eb26.js} +0 -0
  857. /package/dist/chunks/{tool-af5trqkr.js → command-af5trqkr.js} +0 -0
  858. /package/dist/chunks/{tool-afrmfg78.js → command-afrmfg78.js} +0 -0
  859. /package/dist/chunks/{tool-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
  860. /package/dist/chunks/{tool-atq7p7m5.js → command-atq7p7m5.js} +0 -0
  861. /package/dist/chunks/{tool-beh6qq61.js → command-beh6qq61.js} +0 -0
  862. /package/dist/chunks/{tool-bhmrqjy3.js → command-bhmrqjy3.js} +0 -0
  863. /package/dist/chunks/{tool-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
  864. /package/dist/chunks/{tool-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
  865. /package/dist/chunks/{tool-cf4snx6d.js → command-cf4snx6d.js} +0 -0
  866. /package/dist/chunks/{tool-cqv5kn06.js → command-cqv5kn06.js} +0 -0
  867. /package/dist/chunks/{tool-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
  868. /package/dist/chunks/{tool-d9fn303g.js → command-d9fn303g.js} +0 -0
  869. /package/dist/chunks/{tool-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
  870. /package/dist/chunks/{tool-dap0rakb.js → command-dap0rakb.js} +0 -0
  871. /package/dist/chunks/{tool-df08tz66.js → command-df08tz66.js} +0 -0
  872. /package/dist/chunks/{tool-dy18nga0.js → command-dy18nga0.js} +0 -0
  873. /package/dist/chunks/{tool-e5kj55wp.js → command-e5kj55wp.js} +0 -0
  874. /package/dist/chunks/{tool-ean2d8b5.js → command-ean2d8b5.js} +0 -0
  875. /package/dist/chunks/{tool-ec1grn59.js → command-ec1grn59.js} +0 -0
  876. /package/dist/chunks/{tool-emrn6kk6.js → command-emrn6kk6.js} +0 -0
  877. /package/dist/chunks/{tool-f0mxakyp.js → command-f0mxakyp.js} +0 -0
  878. /package/dist/chunks/{tool-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
  879. /package/dist/chunks/{tool-faypxj3z.js → command-faypxj3z.js} +0 -0
  880. /package/dist/chunks/{tool-fd410y7t.js → command-fd410y7t.js} +0 -0
  881. /package/dist/chunks/{tool-fkpq3x5p.js → command-fkpq3x5p.js} +0 -0
  882. /package/dist/chunks/{tool-g4wezp1m.js → command-g4wezp1m.js} +0 -0
  883. /package/dist/chunks/{tool-g86h250q.js → command-g86h250q.js} +0 -0
  884. /package/dist/chunks/{tool-gebd4c9n.js → command-gebd4c9n.js} +0 -0
  885. /package/dist/chunks/{tool-gftt206x.js → command-gftt206x.js} +0 -0
  886. /package/dist/chunks/{tool-hcxmzztb.js → command-hcxmzztb.js} +0 -0
  887. /package/dist/chunks/{tool-hk9envan.js → command-hk9envan.js} +0 -0
  888. /package/dist/chunks/{tool-j2ntwpah.js → command-j2ntwpah.js} +0 -0
  889. /package/dist/chunks/{tool-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
  890. /package/dist/chunks/{tool-jjkms2e6.js → command-jjkms2e6.js} +0 -0
  891. /package/dist/chunks/{tool-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
  892. /package/dist/chunks/{tool-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
  893. /package/dist/chunks/{tool-jwr30sdr.js → command-jwr30sdr.js} +0 -0
  894. /package/dist/chunks/{tool-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
  895. /package/dist/chunks/{tool-m18g726c.js → command-m18g726c.js} +0 -0
  896. /package/dist/chunks/{tool-mp448xyj.js → command-mp448xyj.js} +0 -0
  897. /package/dist/chunks/{tool-msx8hqn2.js → command-msx8hqn2.js} +0 -0
  898. /package/dist/chunks/{tool-n05xt0ee.js → command-n05xt0ee.js} +0 -0
  899. /package/dist/chunks/{tool-n3j8tn72.js → command-n3j8tn72.js} +0 -0
  900. /package/dist/chunks/{tool-nh4v3znn.js → command-nh4v3znn.js} +0 -0
  901. /package/dist/chunks/{tool-njntx4h6.js → command-njntx4h6.js} +0 -0
  902. /package/dist/chunks/{tool-p71gwv9c.js → command-p71gwv9c.js} +0 -0
  903. /package/dist/chunks/{tool-q3sfg36h.js → command-q3sfg36h.js} +0 -0
  904. /package/dist/chunks/{tool-q74kybfr.js → command-q74kybfr.js} +0 -0
  905. /package/dist/chunks/{tool-qb87gjwd.js → command-qb87gjwd.js} +0 -0
  906. /package/dist/chunks/{tool-qfa1cgps.js → command-qfa1cgps.js} +0 -0
  907. /package/dist/chunks/{tool-qg3g05ea.js → command-qg3g05ea.js} +0 -0
  908. /package/dist/chunks/{tool-qrg20bc0.js → command-qrg20bc0.js} +0 -0
  909. /package/dist/chunks/{tool-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
  910. /package/dist/chunks/{tool-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
  911. /package/dist/chunks/{tool-ssg3fenm.js → command-ssg3fenm.js} +0 -0
  912. /package/dist/chunks/{tool-syrav9an.js → command-syrav9an.js} +0 -0
  913. /package/dist/chunks/{tool-t03h4f5z.js → command-t03h4f5z.js} +0 -0
  914. /package/dist/chunks/{tool-ty7weeps.js → command-ty7weeps.js} +0 -0
  915. /package/dist/chunks/{tool-ve7vex1e.js → command-ve7vex1e.js} +0 -0
  916. /package/dist/chunks/{tool-vtarvj67.js → command-vtarvj67.js} +0 -0
  917. /package/dist/chunks/{tool-w803qqfp.js → command-w803qqfp.js} +0 -0
  918. /package/dist/chunks/{tool-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
  919. /package/dist/chunks/{tool-wer8tq1h.js → command-wer8tq1h.js} +0 -0
  920. /package/dist/chunks/{tool-wtztk69x.js → command-wtztk69x.js} +0 -0
  921. /package/dist/chunks/{tool-x0ckcb58.js → command-x0ckcb58.js} +0 -0
  922. /package/dist/chunks/{tool-x4th4bpe.js → command-x4th4bpe.js} +0 -0
  923. /package/dist/chunks/{tool-x61499pn.js → command-x61499pn.js} +0 -0
  924. /package/dist/chunks/{tool-y44na4kk.js → command-y44na4kk.js} +0 -0
  925. /package/dist/chunks/{tool-y8f7s663.js → command-y8f7s663.js} +0 -0
  926. /package/dist/chunks/{tool-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
  927. /package/dist/chunks/{tool-z0h12gs8.js → command-z0h12gs8.js} +0 -0
  928. /package/dist/chunks/{tool-z5v4ffb3.js → command-z5v4ffb3.js} +0 -0
  929. /package/dist/chunks/{tool-z9919s4g.js → command-z9919s4g.js} +0 -0
  930. /package/dist/chunks/{tool-zxpyjp51.js → command-zxpyjp51.js} +0 -0
@@ -1,72 +1,72 @@
1
1
  import {
2
- node77
3
- } from "./tool-tjakpvzb.js";
2
+ node84
3
+ } from "./command-d0ct107g.js";
4
4
  import {
5
5
  Service92,
6
6
  node95
7
- } from "./tool-mzjgx79y.js";
7
+ } from "./command-zfspbp5e.js";
8
8
  import {
9
9
  KVTable2
10
- } from "./tool-3hepkmqq.js";
10
+ } from "./command-3hepkmqq.js";
11
11
  import {
12
12
  latest2,
13
13
  Service79
14
- } from "./tool-ttb0zajd.js";
14
+ } from "./command-1tr3qjrs.js";
15
15
  import {
16
16
  DirectoryNotFoundError2
17
- } from "./tool-wftqf8ja.js";
17
+ } from "./command-pg1pzp6z.js";
18
18
  import {
19
19
  resolver2
20
- } from "./tool-5myx731x.js";
20
+ } from "./command-0z31hhpg.js";
21
21
  import {
22
22
  Service49,
23
23
  node51
24
- } from "./tool-cg3fcpn4.js";
24
+ } from "./command-cg3fcpn4.js";
25
25
  import {
26
26
  SessionMessage2
27
- } from "./tool-gftt206x.js";
27
+ } from "./command-gftt206x.js";
28
28
  import {
29
29
  SessionInboxTable2
30
- } from "./tool-8z6m94af.js";
30
+ } from "./command-mb7mbhnz.js";
31
31
  import {
32
- Service46,
33
- node49
34
- } from "./tool-2946nwq7.js";
32
+ Service47,
33
+ node50
34
+ } from "./command-mc3jbc04.js";
35
35
  import {
36
- Service30,
37
- node33
38
- } from "./tool-1w0d05zm.js";
36
+ Service27,
37
+ node30
38
+ } from "./command-er1cyqye.js";
39
39
  import {
40
40
  validate2,
41
41
  describe2,
42
42
  authorize2,
43
43
  evaluate2
44
- } from "./tool-6p2yvgd8.js";
44
+ } from "./command-raa1pp1y.js";
45
45
  import {
46
46
  ScheduleTable2
47
- } from "./tool-nx4vzyjd.js";
47
+ } from "./command-wegkxhrn.js";
48
48
  import {
49
49
  __export
50
- } from "./tool-9rqn6x4v.js";
50
+ } from "./command-9rqn6x4v.js";
51
51
 
52
52
  // src/schedule.ts
53
53
  var exports_schedule2 = {};
54
54
  __export(exports_schedule2, {
55
55
  Condition: () => Condition2,
56
56
  ConditionInput: () => ConditionInput2,
57
- CreateInput: () => CreateInput2,
57
+ CreateInput: () => CreateInput3,
58
58
  DisabledError: () => DisabledError2,
59
- ID: () => ID4,
60
- Info: () => Info3,
59
+ ID: () => ID5,
60
+ Info: () => Info5,
61
61
  InvalidError: () => InvalidError2,
62
- NotFoundError: () => NotFoundError2,
62
+ NotFoundError: () => NotFoundError3,
63
63
  Outcome: () => Outcome3,
64
64
  Request: () => Request2,
65
65
  Schedule: () => exports_schedule2,
66
- Service: () => Service13,
66
+ Service: () => Service20,
67
67
  Status: () => Status2,
68
68
  When: () => When2,
69
- node: () => node15,
69
+ node: () => node22,
70
70
  toCreateInput: () => toCreateInput2
71
71
  });
72
72
  import { randomUUID } from "node:crypto";
@@ -76,18 +76,18 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
76
76
  import {
77
77
  Condition as Condition2,
78
78
  ConditionInput as ConditionInput2,
79
- CreateInput as CreateInput2,
79
+ CreateInput as CreateInput3,
80
80
  durationMillis,
81
- ID as ID4,
82
- Info as Info3,
81
+ ID as ID5,
82
+ Info as Info5,
83
83
  Outcome as Outcome3,
84
84
  Request as Request2,
85
85
  Status as Status2,
86
86
  toCreateInput as toCreateInput2,
87
87
  When as When2
88
88
  } from "@opencode/schema/schedule";
89
- class NotFoundError2 extends Schema.TaggedError()("Schedule.NotFoundError", {
90
- scheduleID: ID4
89
+ class NotFoundError3 extends Schema.TaggedError()("Schedule.NotFoundError", {
90
+ scheduleID: ID5
91
91
  }) {
92
92
  get message() {
93
93
  return `Schedule not found: ${this.scheduleID}`;
@@ -108,7 +108,7 @@ class DisabledError2 extends Schema.TaggedError()("Schedule.DisabledError", {})
108
108
  }
109
109
  }
110
110
 
111
- class Service13 extends Context.Service()("@opencode/Schedule") {
111
+ class Service20 extends Context.Service()("@opencode/Schedule") {
112
112
  }
113
113
  var MINUTE = 60000;
114
114
  var HOUR = 60 * MINUTE;
@@ -194,12 +194,12 @@ var toInfo = (row, lastOutput) => ({
194
194
  ...lastOutput === undefined ? {} : { lastOutput },
195
195
  time: { created: DateTime.makeUnsafe(row.time_created), updated: DateTime.makeUnsafe(row.time_updated) }
196
196
  });
197
- var layer = Layer.effect(Service13, Effect.gen(function* () {
197
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
198
198
  const database = yield* Service92;
199
199
  const db = database.db;
200
- const sessions = yield* Service30;
200
+ const sessions = yield* Service27;
201
201
  const instances = yield* Service49;
202
- const execution = yield* Service46;
202
+ const execution = yield* Service47;
203
203
  const doorbell = yield* Latch.make();
204
204
  const flags = yield* resolver2;
205
205
  const settings = (session) => Effect.gen(function* () {
@@ -212,7 +212,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
212
212
  timezone: latest2(entries, "timezone")
213
213
  };
214
214
  }).pipe(instances.provide(session));
215
- const find = (id) => db.select().from(ScheduleTable2).where(eq(ScheduleTable2.id, id)).get().pipe(Effect.orDie, Effect.flatMap((row) => row ? Effect.succeed(row) : Effect.fail(new NotFoundError2({ scheduleID: id }))));
215
+ const find = (id) => db.select().from(ScheduleTable2).where(eq(ScheduleTable2.id, id)).get().pipe(Effect.orDie, Effect.flatMap((row) => row ? Effect.succeed(row) : Effect.fail(new NotFoundError3({ scheduleID: id }))));
216
216
  const update = (row, values) => db.update(ScheduleTable2).set(values).where(and(eq(ScheduleTable2.id, row.id), eq(ScheduleTable2.status, "active"))).run().pipe(Effect.orDie);
217
217
  const pending = (id) => db.select({ id: SessionInboxTable2.id }).from(SessionInboxTable2).where(eq(SessionInboxTable2.id, id)).get().pipe(Effect.orDie, Effect.map((row) => row !== undefined));
218
218
  const admitWake = Effect.fnUntraced(function* (row, sessionID, run, due, late, text, checkMeta) {
@@ -486,7 +486,7 @@ ${note}`, { error: outcome.error, failures: strikes });
486
486
  return yield* new InvalidError2({ reason: `Invalid time: ${ends.at}` });
487
487
  return Math.min(at.value, after ?? at.value);
488
488
  });
489
- return Service13.of({
489
+ return Service20.of({
490
490
  create: Effect.fn("Schedule.create")(function* (input) {
491
491
  const session = yield* sessions.get(input.sessionID);
492
492
  const missingDirectory = () => Effect.fail(new InvalidError2({ reason: `Session directory does not exist: ${session.location.directory}` }));
@@ -505,7 +505,7 @@ ${note}`, { error: outcome.error, failures: strikes });
505
505
  const ends = yield* endsAt(input.ends, check?.mode === "until", zone, now);
506
506
  if (ends !== null && due > ends)
507
507
  return yield* new InvalidError2({ reason: "The schedule ends before it first fires" });
508
- const scheduleID = ID4.create();
508
+ const scheduleID = ID5.create();
509
509
  const seeded = check === undefined ? UNSEEDED : yield* Effect.gen(function* () {
510
510
  yield* authorize2(session, input.name, when, check).pipe(instances.provide(session), Effect.mapError((error) => typeof error === "string" ? new InvalidError2({ reason: error }) : error), Effect.catchTag("FileSystem.DirectoryNotFoundError", missingDirectory));
511
511
  const shouldSeed = check.mode === "until" || check.condition.type === "code" || check.condition.type === "shell" && check.condition.changes === true;
@@ -598,10 +598,10 @@ ${note}`, { error: outcome.error, failures: strikes });
598
598
  run
599
599
  });
600
600
  }));
601
- var node15 = makeGlobalNode({
602
- service: Service13,
601
+ var node22 = makeGlobalNode({
602
+ service: Service20,
603
603
  layer,
604
- deps: [node77, node95, node33, node49, node51]
604
+ deps: [node84, node95, node30, node50, node51]
605
605
  });
606
606
 
607
- export { Condition2, ConditionInput2, CreateInput2, ID4, Info3, Outcome3, Request2, Status2, toCreateInput2, When2, NotFoundError2, InvalidError2, DisabledError2, Service13, node15, exports_schedule2 };
607
+ export { Condition2, ConditionInput2, CreateInput3, ID5, Info5, Outcome3, Request2, Status2, toCreateInput2, When2, NotFoundError3, InvalidError2, DisabledError2, Service20, node22, exports_schedule2 };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/mcp-codemode-defaults.ts
6
6
  var exports_mcp_codemode_defaults = {};
7
7
  __export(exports_mcp_codemode_defaults, {
8
8
  McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
9
- Plugin: () => Plugin54
9
+ Plugin: () => Plugin15
10
10
  });
11
11
  import { define } from "@opencode/plugin/effect/plugin";
12
12
  import { Effect } from "effect";
13
13
  var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
14
14
  var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
15
15
  var mode = "x-posthog-mcp-mode";
16
- var Plugin54 = define({
16
+ var Plugin15 = define({
17
17
  id: "opencode.mcp.codemode.defaults",
18
18
  effect: Effect.fn(function* (ctx) {
19
19
  yield* ctx.mcp.transform((editor) => {
@@ -38,4 +38,4 @@ var Plugin54 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin54, exports_mcp_codemode_defaults };
41
+ export { Plugin15, exports_mcp_codemode_defaults };
@@ -1,43 +1,43 @@
1
1
  import {
2
- Service73
3
- } from "./tool-jkfj84cm.js";
2
+ Service77
3
+ } from "./command-bbw6s51r.js";
4
4
  import {
5
5
  Service88
6
- } from "./tool-6p47f7n7.js";
6
+ } from "./command-a00r7tq5.js";
7
7
  import {
8
8
  Unattended2,
9
9
  merge2,
10
- Service70
11
- } from "./tool-pbbrhaxk.js";
10
+ Service74
11
+ } from "./command-rmfwkswd.js";
12
12
  import {
13
13
  qualifiedName2
14
- } from "./tool-ypmz62e0.js";
14
+ } from "./command-hzw15rf8.js";
15
15
  import {
16
- Service62
17
- } from "./tool-d581z8cy.js";
16
+ Service66
17
+ } from "./command-9r5vpkx0.js";
18
18
  import {
19
- Service24,
19
+ Service58,
20
20
  resolvePath2
21
- } from "./tool-1cnspxhw.js";
21
+ } from "./command-e75vykw5.js";
22
22
  import {
23
23
  awaitActivation2
24
- } from "./tool-8x060fmy.js";
24
+ } from "./command-8x060fmy.js";
25
25
  import {
26
- Service65
27
- } from "./tool-ehts27c3.js";
26
+ Service68
27
+ } from "./command-xttd6wrv.js";
28
28
  import {
29
- Service41
30
- } from "./tool-4qgen1r6.js";
29
+ Service36
30
+ } from "./command-6j81be6m.js";
31
31
  import {
32
- Service59,
32
+ Service56,
33
33
  args2
34
- } from "./tool-cjehnj7d.js";
34
+ } from "./command-aj1vmsda.js";
35
35
  import {
36
36
  scan3
37
- } from "./tool-wyfwz6yz.js";
37
+ } from "./command-c5c4j0d1.js";
38
38
  import {
39
39
  __export
40
- } from "./tool-9rqn6x4v.js";
40
+ } from "./command-9rqn6x4v.js";
41
41
 
42
42
  // src/schedule/check.ts
43
43
  var exports_check = {};
@@ -152,8 +152,8 @@ var wakeOutcome = (wake, state, message) => ({
152
152
  ...wake && message !== undefined ? { message } : {}
153
153
  });
154
154
  var codeActions = Effect.fnUntraced(function* (paths) {
155
- const mcp = yield* Service41;
156
- const tools = yield* Service65;
155
+ const mcp = yield* Service36;
156
+ const tools = yield* Service68;
157
157
  if (paths.length > 0)
158
158
  yield* mcp.flush;
159
159
  const registered = yield* tools.list();
@@ -173,8 +173,8 @@ var codeActions = Effect.fnUntraced(function* (paths) {
173
173
  return { tools, actions: Array.dedupe(resolved.map((tool) => tool.options?.permission ?? tool.id)) };
174
174
  });
175
175
  var authorizeCode = Effect.fnUntraced(function* (session, name, when, mode, condition) {
176
- const permission = yield* Service70;
177
- const agents = yield* Service73;
176
+ const permission = yield* Service74;
177
+ const agents = yield* Service77;
178
178
  const agent = yield* agents.select(session.agent);
179
179
  const scanned = CodeMode.scanTools(condition.code);
180
180
  if (Result.isFailure(scanned))
@@ -212,8 +212,8 @@ var authorizeCode = Effect.fnUntraced(function* (session, name, when, mode, cond
212
212
  }), { discard: true });
213
213
  });
214
214
  var runCode = Effect.fnUntraced(function* (session, condition, prevState, context) {
215
- const permission = yield* Service70;
216
- const agents = yield* Service73;
215
+ const permission = yield* Service74;
216
+ const agents = yield* Service77;
217
217
  const agent = yield* agents.select(session.agent);
218
218
  if (!agent.info)
219
219
  return { ok: false, error: `Agent not found: ${agent.id}` };
@@ -279,8 +279,8 @@ var runCode = Effect.fnUntraced(function* (session, condition, prevState, contex
279
279
  });
280
280
  var scanShell = Effect.fnUntraced(function* (command) {
281
281
  const location = yield* Service88;
282
- const access = yield* Service24;
283
- const shellSelect = yield* Service59;
282
+ const access = yield* Service58;
283
+ const shellSelect = yield* Service56;
284
284
  const target = yield* access.resolve({ path: location.directory, kind: "directory" }).pipe(Effect.mapError((error) => error.message));
285
285
  const shell = yield* shellSelect.resolve({ priority: "compat" });
286
286
  const parsed = yield* scan3(command, shell, target.absolute).pipe(Effect.mapError((error) => error.message));
@@ -290,8 +290,8 @@ var scanShell = Effect.fnUntraced(function* (command) {
290
290
  return { shell, cwd: target.absolute, workspaceID: location.workspaceID, external, commands };
291
291
  });
292
292
  var assertShellPermissions = Effect.fnUntraced(function* (session, scanned, metadata) {
293
- const permission = yield* Service70;
294
- const agents = yield* Service73;
293
+ const permission = yield* Service74;
294
+ const agents = yield* Service77;
295
295
  const agent = yield* agents.select(session.agent);
296
296
  if (scanned.external.length > 0) {
297
297
  yield* permission.assert({
@@ -323,7 +323,7 @@ var authorizeShell = Effect.fnUntraced(function* (session, name, when, mode, con
323
323
  });
324
324
  });
325
325
  var runShell = Effect.fnUntraced(function* (session, condition, prevState) {
326
- const environment = yield* Service62;
326
+ const environment = yield* Service66;
327
327
  const scannedExit = yield* Effect.result(scanShell(condition.run));
328
328
  if (Result.isFailure(scannedExit))
329
329
  return { ok: false, error: scannedExit.failure };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/vcs/patch.ts
6
6
  var exports_patch2 = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/session/runner/index.ts
6
6
  var exports_runner = {};
7
7
  __export(exports_runner, {
8
8
  DrainResult: () => DrainResult2,
9
- Service: () => Service47,
9
+ Service: () => Service48,
10
10
  SessionRunner: () => exports_runner
11
11
  });
12
12
  import { Context, Data } from "effect";
13
13
  var DrainResult2 = Data.taggedEnum();
14
14
 
15
- class Service47 extends Context.Service()("@opencode/SessionRunner") {
15
+ class Service48 extends Context.Service()("@opencode/SessionRunner") {
16
16
  }
17
17
 
18
- export { DrainResult2, Service47, exports_runner };
18
+ export { DrainResult2, Service48, exports_runner };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound3,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./tool-svcy3p9a.js";
5
+ } from "./command-svcy3p9a.js";
6
6
  import {
7
7
  __export
8
- } from "./tool-9rqn6x4v.js";
8
+ } from "./command-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/exec-defaults.ts
11
11
  var exports_exec_defaults = {};
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  Service91,
3
3
  node94
4
- } from "./tool-cyvaxqay.js";
4
+ } from "./command-6x6becs7.js";
5
5
  import {
6
6
  Service88,
7
7
  node91
8
- } from "./tool-6p47f7n7.js";
8
+ } from "./command-a00r7tq5.js";
9
9
  import {
10
- Service73,
11
- node75
12
- } from "./tool-jkfj84cm.js";
10
+ Service77,
11
+ node79
12
+ } from "./command-bbw6s51r.js";
13
13
  import {
14
- NotFoundError11
15
- } from "./tool-5zpqhmp2.js";
14
+ NotFoundError12
15
+ } from "./command-4xcsbp6b.js";
16
16
  import {
17
17
  match3
18
- } from "./tool-1aqsckx4.js";
18
+ } from "./command-1aqsckx4.js";
19
19
  import {
20
- Service71,
21
- node73
22
- } from "./tool-sgx9k6cw.js";
20
+ Service76,
21
+ node78
22
+ } from "./command-vzrcnz7e.js";
23
23
  import {
24
- Service72,
25
- node74
26
- } from "./tool-atgf0zmr.js";
24
+ Service75,
25
+ node77
26
+ } from "./command-ywg8d4kw.js";
27
27
  import {
28
- Service74,
29
- node76
30
- } from "./tool-vj50rhab.js";
28
+ Service78,
29
+ node80
30
+ } from "./command-sbzezcpx.js";
31
31
  import {
32
32
  __export
33
- } from "./tool-9rqn6x4v.js";
33
+ } from "./command-9rqn6x4v.js";
34
34
 
35
35
  // src/permission.ts
36
36
  var exports_permission = {};
@@ -39,7 +39,7 @@ __export(exports_permission, {
39
39
  CorrectedError: () => CorrectedError2,
40
40
  DeclinedError: () => DeclinedError2,
41
41
  Effect: () => PermissionEffect,
42
- Event: () => Event12,
42
+ Event: () => Event13,
43
43
  ID: () => ID12,
44
44
  NotFoundError: () => NotFoundError10,
45
45
  Permission: () => exports_permission,
@@ -47,19 +47,19 @@ __export(exports_permission, {
47
47
  Request: () => Request3,
48
48
  Rule: () => Rule2,
49
49
  Ruleset: () => Ruleset2,
50
- Service: () => Service70,
50
+ Service: () => Service74,
51
51
  Source: () => Source5,
52
52
  Unattended: () => Unattended2,
53
53
  evaluate: () => evaluate3,
54
54
  invocation: () => invocation2,
55
55
  merge: () => merge2,
56
- node: () => node72
56
+ node: () => node76
57
57
  });
58
58
  import { makeLocationNode } from "@opencode/util/effect/app-node";
59
59
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
60
60
  import { Permission } from "@opencode/schema/permission";
61
61
  import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
62
- import { Event as Event12 } from "@opencode/schema/permission";
62
+ import { Event as Event13 } from "@opencode/schema/permission";
63
63
  var PermissionEffect = Permission.Effect;
64
64
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
65
65
  var ID12 = Permission.ID;
@@ -114,15 +114,15 @@ function merge2(...rulesets) {
114
114
  return rulesets.flat();
115
115
  }
116
116
 
117
- class Service70 extends Context.Service()("@opencode/Permission") {
117
+ class Service74 extends Context.Service()("@opencode/Permission") {
118
118
  }
119
- var layer = Layer.effect(Service70, Effect.gen(function* () {
119
+ var layer = Layer.effect(Service74, Effect.gen(function* () {
120
120
  const bus = yield* Service91;
121
121
  const location = yield* Service88;
122
- const agents = yield* Service73;
123
- const sessions = yield* Service71;
124
- const saved = yield* Service72;
125
- const hooks = yield* Service74;
122
+ const agents = yield* Service77;
123
+ const sessions = yield* Service76;
124
+ const saved = yield* Service75;
125
+ const hooks = yield* Service78;
126
126
  const pending = new Map;
127
127
  let closed = false;
128
128
  const close = Effect.gen(function* () {
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
145
145
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
146
146
  const session = yield* sessions.get(sessionID);
147
147
  if (!session)
148
- return yield* new NotFoundError11({ sessionID });
148
+ return yield* new NotFoundError12({ sessionID });
149
149
  const agent = yield* agents.resolve(agentID ?? session.agent);
150
150
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
151
151
  });
@@ -313,12 +313,12 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
313
313
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
314
314
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
315
315
  });
316
- return Service70.of({ ask, assert, assertNotDenied, allows, reply, get, forSession, list, close });
316
+ return Service74.of({ ask, assert, assertNotDenied, allows, reply, get, forSession, list, close });
317
317
  }));
318
- var node72 = makeLocationNode({
319
- service: Service70,
318
+ var node76 = makeLocationNode({
319
+ service: Service74,
320
320
  layer,
321
- deps: [node94, node91, node75, node73, node74, node76]
321
+ deps: [node94, node91, node79, node78, node77, node80]
322
322
  });
323
323
 
324
- export { PermissionEffect, ID12, Source5, Request3, Reply2, invocation2, Unattended2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError10, evaluate3, merge2, Service70, node72, exports_permission, Rule2, Ruleset2, Event12 };
324
+ export { PermissionEffect, ID12, Source5, Request3, Reply2, invocation2, Unattended2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError10, evaluate3, merge2, Service74, node76, exports_permission, Rule2, Ruleset2, Event13 };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  isTextual2
3
- } from "./tool-4pyp9zr9.js";
3
+ } from "./command-4pyp9zr9.js";
4
4
  import {
5
5
  invocation2,
6
- Service70
7
- } from "./tool-pbbrhaxk.js";
6
+ Service74
7
+ } from "./command-rmfwkswd.js";
8
8
  import {
9
9
  MAX_MARKDOWN_BYTES2,
10
10
  convertHTMLToMarkdown2
11
- } from "./tool-zxpyjp51.js";
11
+ } from "./command-zxpyjp51.js";
12
12
  import {
13
13
  collectBoundedResponseBody2
14
- } from "./tool-3v8g72cx.js";
14
+ } from "./command-3v8g72cx.js";
15
15
  import {
16
16
  __export
17
- } from "./tool-9rqn6x4v.js";
17
+ } from "./command-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/webfetch.ts
20
20
  var exports_webfetch = {};
21
21
  __export(exports_webfetch, {
22
22
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
23
- Input: () => Input2,
23
+ Input: () => Input4,
24
24
  MAX_REDIRECTS: () => MAX_REDIRECTS2,
25
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
25
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
26
26
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
27
- Plugin: () => Plugin2,
27
+ Plugin: () => Plugin22,
28
28
  WebFetchTool: () => exports_webfetch,
29
29
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
30
- description: () => description2,
30
+ description: () => description4,
31
31
  extractTextFromHTML: () => extractTextFromHTML2,
32
- name: () => name2
32
+ name: () => name4
33
33
  });
34
34
  import { ToolFailure } from "@opencode/ai/effect";
35
35
  import { Duration, Effect, Schema } from "effect";
36
36
  import { FetchHttpClient, HttpClient, HttpClientError, HttpClientRequest, HttpClientResponse } from "effect/http";
37
37
  import { Parser } from "htmlparser2";
38
- var name2 = "webfetch";
39
- var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
38
+ var name4 = "webfetch";
39
+ var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
40
40
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
41
41
  var MAX_TIMEOUT_SECONDS2 = 120;
42
- var description2 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
42
+ var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
43
43
 
44
44
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
45
45
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
46
- var Input2 = Schema.Struct({
46
+ var Input4 = Schema.Struct({
47
47
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
48
48
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
49
49
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -53,7 +53,7 @@ var Input2 = Schema.Struct({
53
53
  var Output = Schema.Struct({
54
54
  url: Schema.String,
55
55
  contentType: Schema.String,
56
- format: Input2.fields.format,
56
+ format: Input4.fields.format,
57
57
  output: Schema.String
58
58
  });
59
59
  var acceptHeader = (format) => {
@@ -107,7 +107,7 @@ var execute = (http, check, url, format, userAgent = openCodeUserAgent, redirect
107
107
  return yield* execute(http, check, next, format, userAgent, redirects + 1);
108
108
  });
109
109
  }));
110
- var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
110
+ var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
111
111
  var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
112
112
  var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
113
113
  var convert = (content, contentType, format) => {
@@ -119,16 +119,16 @@ var convert = (content, contentType, format) => {
119
119
  return extractTextFromHTML2(content);
120
120
  return content;
121
121
  };
122
- var Plugin2 = {
122
+ var Plugin22 = {
123
123
  id: "opencode.tool.webfetch",
124
124
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
125
125
  const http = yield* HttpClient.HttpClient;
126
- const permission = yield* Service70;
126
+ const permission = yield* Service74;
127
127
  yield* ctx.tool.transform((editor) => editor.add({
128
- name: name2,
128
+ name: name4,
129
129
  options: { codemode: false },
130
- description: description2,
131
- input: Input2,
130
+ description: description4,
131
+ input: Input4,
132
132
  output: Output,
133
133
  execute: (input, context) => Effect.gen(function* () {
134
134
  const url = input.url.split("#")[0];
@@ -137,7 +137,7 @@ var Plugin2 = {
137
137
  catch: (error) => error
138
138
  });
139
139
  yield* permission.assert({
140
- action: name2,
140
+ action: name4,
141
141
  resources: [url],
142
142
  save: ["*"],
143
143
  metadata: input,
@@ -145,7 +145,7 @@ var Plugin2 = {
145
145
  });
146
146
  const { body, contentType } = yield* Effect.gen(function* () {
147
147
  const check = (next) => permission.assertNotDenied({
148
- action: name2,
148
+ action: name4,
149
149
  resources: [next],
150
150
  metadata: { ...input, url: next },
151
151
  ...invocation2(context)
@@ -199,4 +199,4 @@ function extractTextFromHTML2(html) {
199
199
  parser.end();
200
200
  return text.trim();
201
201
  }
202
- export { name2, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input2, MAX_REDIRECTS2, Plugin2, extractTextFromHTML2, exports_webfetch };
202
+ export { name4, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input4, MAX_REDIRECTS2, Plugin22, extractTextFromHTML2, exports_webfetch };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};