@opencode/core 0.0.0-dev-583 → 0.0.0-dev-627

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 (926) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +90 -90
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +108 -108
  5. package/dist/app.js +5 -5
  6. package/dist/artifact.js +234 -234
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{worktree-034tev2y.js → tool-034tev2y.js} +2 -2
  9. package/dist/chunks/{worktree-2979j558.js → tool-04r04va6.js} +4 -4
  10. package/dist/chunks/{worktree-04whjz6n.js → tool-04whjz6n.js} +2 -2
  11. package/dist/chunks/{worktree-q2jwrh60.js → tool-0ahs07zn.js} +7 -7
  12. package/dist/chunks/{worktree-e79zfzq8.js → tool-0b12brbm.js} +17 -17
  13. package/dist/chunks/{worktree-2wc8f514.js → tool-0bgjjgx2.js} +4 -4
  14. package/dist/chunks/{worktree-d36ayzjy.js → tool-0hknrezz.js} +19 -19
  15. package/dist/chunks/{worktree-sqjzf8x2.js → tool-0j7gp832.js} +4 -4
  16. package/dist/chunks/{worktree-0ma9gw4f.js → tool-0ma9gw4f.js} +2 -2
  17. package/dist/chunks/{worktree-8n9wgy94.js → tool-0mv06tb8.js} +29 -29
  18. package/dist/chunks/{worktree-6jc3vgm6.js → tool-0zrc1hgf.js} +40 -40
  19. package/dist/chunks/{worktree-4c4em911.js → tool-1555t097.js} +19 -19
  20. package/dist/chunks/tool-19r7p8qd.js +26 -0
  21. package/dist/chunks/{worktree-1aqsckx4.js → tool-1aqsckx4.js} +1 -1
  22. package/dist/chunks/{worktree-jjn5kh7j.js → tool-1brsnn94.js} +2 -2
  23. package/dist/chunks/{worktree-1ep2p91f.js → tool-1ep2p91f.js} +2 -2
  24. package/dist/chunks/{worktree-92j0c8pv.js → tool-1hw98qrx.js} +8 -8
  25. package/dist/chunks/{worktree-hm3106mz.js → tool-1j4h07zs.js} +12 -12
  26. package/dist/chunks/{worktree-a22re53n.js → tool-1nhv4g69.js} +21 -21
  27. package/dist/chunks/{worktree-tf0ezbbb.js → tool-1qtvm13f.js} +33 -33
  28. package/dist/chunks/{worktree-0q4tzmn8.js → tool-1rapdk7p.js} +24 -24
  29. package/dist/chunks/{worktree-4tnarq1t.js → tool-1v2g13eq.js} +6 -6
  30. package/dist/chunks/{worktree-hpm8jzxe.js → tool-1wkggrjf.js} +11 -11
  31. package/dist/chunks/{worktree-1x2knyw4.js → tool-1x2knyw4.js} +1 -1
  32. package/dist/chunks/{worktree-bdhd9h6e.js → tool-1yq9hg58.js} +5 -5
  33. package/dist/chunks/{worktree-xp2necrq.js → tool-1zc261y1.js} +8 -8
  34. package/dist/chunks/{worktree-89a739eh.js → tool-28rx08cw.js} +31 -31
  35. package/dist/chunks/{worktree-kca3ks3m.js → tool-29vsvq2t.js} +8 -8
  36. package/dist/chunks/{worktree-sf9kdjc8.js → tool-2dkpp6r2.js} +8 -8
  37. package/dist/chunks/{worktree-dm0jrs5z.js → tool-2dq8jpdd.js} +11 -11
  38. package/dist/chunks/{worktree-cct1g720.js → tool-2k9qpqfa.js} +29 -29
  39. package/dist/chunks/{worktree-w79nt68w.js → tool-2kg89srt.js} +4 -4
  40. package/dist/chunks/{worktree-11a0j3ac.js → tool-2kkp9s70.js} +376 -376
  41. package/dist/chunks/{worktree-gqb1zb1g.js → tool-2na6qge8.js} +28 -28
  42. package/dist/chunks/{worktree-zj2xda4y.js → tool-2p1fyn1z.js} +59 -59
  43. package/dist/chunks/{worktree-ad21tgm2.js → tool-2p60zmnr.js} +4 -4
  44. package/dist/chunks/{worktree-g3kmxrr7.js → tool-2qgmh7f2.js} +30 -30
  45. package/dist/chunks/{worktree-pz7ryx86.js → tool-2r8wnwkh.js} +3 -3
  46. package/dist/chunks/{worktree-cnm4awrx.js → tool-2s7a5cr8.js} +54 -54
  47. package/dist/chunks/{worktree-bfnkcv8p.js → tool-2y0y3f74.js} +15 -15
  48. package/dist/chunks/{worktree-1r0s506n.js → tool-2y3daeve.js} +15 -15
  49. package/dist/chunks/{worktree-dqz4v4b1.js → tool-34kmj136.js} +17 -17
  50. package/dist/chunks/{worktree-ysqjx66q.js → tool-35fxc5rr.js} +6 -6
  51. package/dist/chunks/{worktree-4qn569k3.js → tool-3669yegd.js} +35 -35
  52. package/dist/chunks/{worktree-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
  53. package/dist/chunks/{worktree-83n3qhh1.js → tool-3kc70r3e.js} +17 -17
  54. package/dist/chunks/{worktree-3nnrz6f6.js → tool-3nnrz6f6.js} +1 -1
  55. package/dist/chunks/{worktree-rqyv1z04.js → tool-3pkw540f.js} +26 -26
  56. package/dist/chunks/{worktree-ywv6jdkf.js → tool-3qevzq3v.js} +11 -11
  57. package/dist/chunks/{worktree-cfm1yjxv.js → tool-3w3bwa55.js} +9 -9
  58. package/dist/chunks/{worktree-af349d2v.js → tool-40dmbkek.js} +25 -25
  59. package/dist/chunks/{worktree-40y6dtc2.js → tool-40y6dtc2.js} +1 -1
  60. package/dist/chunks/{worktree-w2eysc6j.js → tool-40za9wsf.js} +9 -9
  61. package/dist/chunks/{worktree-gb9fc6j3.js → tool-44fq2p83.js} +5 -5
  62. package/dist/chunks/{worktree-twhtcdx9.js → tool-44pmzq9c.js} +4 -4
  63. package/dist/chunks/{worktree-aj26m6z0.js → tool-46eaz8xc.js} +20 -20
  64. package/dist/chunks/{worktree-95gfcqac.js → tool-47p5bcf3.js} +5 -5
  65. package/dist/chunks/{worktree-m46bs37d.js → tool-47xhmy8n.js} +5 -5
  66. package/dist/chunks/{worktree-q6bn7qw5.js → tool-4bwthz3m.js} +6 -6
  67. package/dist/chunks/{worktree-ds78r8ez.js → tool-4dn934sm.js} +20 -20
  68. package/dist/chunks/{worktree-4dx1dgte.js → tool-4dx1dgte.js} +1 -1
  69. package/dist/chunks/{worktree-r542h3bh.js → tool-4f25tdd0.js} +5 -5
  70. package/dist/chunks/{worktree-ea551tjd.js → tool-4kfzmx5g.js} +2 -2
  71. package/dist/chunks/{worktree-4pyp9zr9.js → tool-4pyp9zr9.js} +1 -1
  72. package/dist/chunks/{worktree-4v008n1t.js → tool-4v008n1t.js} +1 -1
  73. package/dist/chunks/{worktree-qgacq5ss.js → tool-4z0mnfsb.js} +180 -180
  74. package/dist/chunks/{worktree-kx6k3fz0.js → tool-55g2q5p5.js} +2 -2
  75. package/dist/chunks/{worktree-rwww5gz5.js → tool-57a3gt61.js} +8 -8
  76. package/dist/chunks/{worktree-d4zhgmkx.js → tool-5eh5vnwa.js} +17 -17
  77. package/dist/chunks/{worktree-ss9p8hht.js → tool-5jgwgsds.js} +27 -27
  78. package/dist/chunks/{worktree-95vnrqnk.js → tool-5kn2gf19.js} +9 -9
  79. package/dist/chunks/{worktree-5m9w47nd.js → tool-5m9w47nd.js} +1 -1
  80. package/dist/chunks/{worktree-at8vr1jg.js → tool-5r3wrmp5.js} +4 -4
  81. package/dist/chunks/{worktree-hws4enq1.js → tool-5vnxagfg.js} +21 -21
  82. package/dist/chunks/{worktree-d5cy4hj8.js → tool-5vzkvv7b.js} +17 -17
  83. package/dist/chunks/{worktree-8cg7mtm3.js → tool-5whx36p1.js} +4 -4
  84. package/dist/chunks/{worktree-wyznt5q3.js → tool-5y3wp1ns.js} +26 -26
  85. package/dist/chunks/{worktree-ygzm2mme.js → tool-6015y25q.js} +19 -19
  86. package/dist/chunks/{worktree-6535bp49.js → tool-60scttwb.js} +6 -6
  87. package/dist/chunks/{worktree-ht9r4qkp.js → tool-65zzbc8y.js} +6 -6
  88. package/dist/chunks/{worktree-z7881fav.js → tool-68cs06h1.js} +5 -5
  89. package/dist/chunks/{worktree-h5gm5jf1.js → tool-6cqkw5v2.js} +7 -7
  90. package/dist/chunks/{worktree-6dqyy18z.js → tool-6dqyy18z.js} +1 -1
  91. package/dist/chunks/{worktree-jmh1j2qr.js → tool-6fj7drec.js} +11 -11
  92. package/dist/chunks/{worktree-33x3jfcy.js → tool-6fwyg1ss.js} +31 -31
  93. package/dist/chunks/{worktree-bpqft4yq.js → tool-6yc1yn4a.js} +19 -19
  94. package/dist/chunks/{worktree-kzf5a7tk.js → tool-6yebzpzq.js} +21 -21
  95. package/dist/chunks/tool-6zjm2phc.js +18 -0
  96. package/dist/chunks/{worktree-m98mfqd1.js → tool-71dvczxp.js} +24 -24
  97. package/dist/chunks/{worktree-jb7jr1xx.js → tool-75c0yt7x.js} +21 -21
  98. package/dist/chunks/{worktree-d0btwhwp.js → tool-772thxeb.js} +16 -16
  99. package/dist/chunks/{worktree-80mg3ag8.js → tool-775hqbnd.js} +3 -3
  100. package/dist/chunks/{worktree-b06t0j8h.js → tool-77h00f9v.js} +45 -45
  101. package/dist/chunks/{worktree-r54rewjw.js → tool-78j7y49x.js} +6 -6
  102. package/dist/chunks/{worktree-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
  103. package/dist/chunks/{worktree-93eyz745.js → tool-7f5g0fx5.js} +18 -18
  104. package/dist/chunks/{worktree-tdbd8yb5.js → tool-7ft1dw8t.js} +12 -12
  105. package/dist/chunks/{worktree-7w2ypzdf.js → tool-7w2ypzdf.js} +1 -1
  106. package/dist/chunks/{worktree-7weczvnd.js → tool-7weczvnd.js} +1 -1
  107. package/dist/chunks/{worktree-hrmcrqzx.js → tool-84483szx.js} +21 -21
  108. package/dist/chunks/{worktree-89287pr7.js → tool-89287pr7.js} +1 -1
  109. package/dist/chunks/{worktree-25h84942.js → tool-8b3vzgkx.js} +4 -4
  110. package/dist/chunks/{worktree-0r6crq0n.js → tool-8ggfwbsw.js} +10 -10
  111. package/dist/chunks/{worktree-kac7mdmg.js → tool-8qmf4c22.js} +15 -15
  112. package/dist/chunks/{worktree-8sxe6kv8.js → tool-8sxe6kv8.js} +2 -2
  113. package/dist/chunks/{worktree-3qgwywyc.js → tool-8t99kr38.js} +4 -4
  114. package/dist/chunks/{worktree-8bgvxr21.js → tool-8vav0wt6.js} +32 -32
  115. package/dist/chunks/{worktree-8wtp7s3z.js → tool-8wtp7s3z.js} +1 -1
  116. package/dist/chunks/{worktree-y6nnjvpa.js → tool-8ww1xt0h.js} +16 -16
  117. package/dist/chunks/tool-8x4h6gj5.js +265 -0
  118. package/dist/chunks/{worktree-naa63k2q.js → tool-8yf6c4ws.js} +5 -5
  119. package/dist/chunks/{worktree-rzg6y5rp.js → tool-90ct6wq4.js} +4 -4
  120. package/dist/chunks/{worktree-90zstvax.js → tool-90zstvax.js} +1 -1
  121. package/dist/chunks/{worktree-nfp7sj2n.js → tool-99b14w1w.js} +18 -18
  122. package/dist/chunks/{worktree-x2k1ychw.js → tool-9hnph9wg.js} +40 -40
  123. package/dist/chunks/{worktree-60zd28f7.js → tool-9m4t11kw.js} +12 -12
  124. package/dist/chunks/{worktree-rprtd7qs.js → tool-9n2jx8hn.js} +38 -38
  125. package/dist/chunks/{worktree-5n02ryyv.js → tool-9v4dp1sv.js} +39 -39
  126. package/dist/chunks/{worktree-8ed3t8h5.js → tool-9xkpsvpb.js} +24 -24
  127. package/dist/chunks/{worktree-jv5ccajn.js → tool-9zwexsxs.js} +5 -5
  128. package/dist/chunks/{worktree-sjap4pz8.js → tool-a93bg3fh.js} +4 -4
  129. package/dist/chunks/{worktree-09g9jcrz.js → tool-aapszx4f.js} +4 -4
  130. package/dist/chunks/{worktree-ayjs7tqn.js → tool-ayjs7tqn.js} +2 -2
  131. package/dist/chunks/{worktree-b6vsg801.js → tool-b6vsg801.js} +2 -2
  132. package/dist/chunks/{worktree-01r2mdpa.js → tool-bm60jz01.js} +12 -12
  133. package/dist/chunks/{worktree-qj27ec1j.js → tool-bqa8ney4.js} +4 -4
  134. package/dist/chunks/{worktree-bstexjd6.js → tool-bstexjd6.js} +1 -1
  135. package/dist/chunks/{worktree-zcg95h97.js → tool-bt50pbny.js} +16 -16
  136. package/dist/chunks/{worktree-d4jg59d1.js → tool-c5xfa1xp.js} +33 -33
  137. package/dist/chunks/{worktree-229tvxdn.js → tool-c5zvymhv.js} +4 -4
  138. package/dist/chunks/{worktree-r7zrbnjn.js → tool-c7r9599d.js} +8 -8
  139. package/dist/chunks/{worktree-n281rjbk.js → tool-c9djvm77.js} +40 -40
  140. package/dist/chunks/{worktree-qsvhze68.js → tool-cc953ej2.js} +9 -9
  141. package/dist/chunks/{worktree-011jp90z.js → tool-ctmpqb7w.js} +9 -9
  142. package/dist/chunks/{worktree-cwrgdav8.js → tool-cwrgdav8.js} +2 -2
  143. package/dist/chunks/{worktree-nyxvvj5y.js → tool-czwy3yzx.js} +7 -7
  144. package/dist/chunks/{worktree-d4v9tmah.js → tool-d4v9tmah.js} +2 -2
  145. package/dist/chunks/{worktree-0et0taa6.js → tool-db4seax3.js} +14 -14
  146. package/dist/chunks/{worktree-4ffhv9d7.js → tool-dd57nsvn.js} +8 -8
  147. package/dist/chunks/{worktree-bsmg59x4.js → tool-debd8pf3.js} +5 -5
  148. package/dist/chunks/{worktree-c32zfq3f.js → tool-djadtdmr.js} +8 -8
  149. package/dist/chunks/{worktree-23gmbq8f.js → tool-dqmkpjk4.js} +16 -16
  150. package/dist/chunks/{worktree-dt77769w.js → tool-dt77769w.js} +1 -1
  151. package/dist/chunks/{worktree-ewpafzrt.js → tool-e0d96e0q.js} +8 -8
  152. package/dist/chunks/{worktree-k0xgdmgp.js → tool-e53hqhbg.js} +29 -29
  153. package/dist/chunks/{worktree-e834z07m.js → tool-e834z07m.js} +1 -1
  154. package/dist/chunks/{worktree-4q4588ge.js → tool-ejt8ytt0.js} +10 -10
  155. package/dist/chunks/{worktree-p9gzhtz4.js → tool-enaqqywp.js} +17 -17
  156. package/dist/chunks/{worktree-exx5afb5.js → tool-eqkq82nh.js} +40 -40
  157. package/dist/chunks/{worktree-fxemjphr.js → tool-eqrv7k0x.js} +20 -16
  158. package/dist/chunks/{worktree-eqw4pqj1.js → tool-eqw4pqj1.js} +2 -2
  159. package/dist/chunks/{worktree-7ezcpw5k.js → tool-ew00rcme.js} +35 -35
  160. package/dist/chunks/{worktree-8qpxm99b.js → tool-f3h7dwma.js} +3 -3
  161. package/dist/chunks/{worktree-y5mh7vp2.js → tool-faaqe93r.js} +39 -39
  162. package/dist/chunks/{worktree-fnk39w76.js → tool-few90dvn.js} +43 -43
  163. package/dist/chunks/{worktree-fffv3p7h.js → tool-fffv3p7h.js} +1 -1
  164. package/dist/chunks/{worktree-d4qb2rc3.js → tool-fmjsjtqm.js} +4 -4
  165. package/dist/chunks/{worktree-0gg55sk6.js → tool-fretqggx.js} +16 -16
  166. package/dist/chunks/{worktree-3pyrw5vr.js → tool-fvypmx9y.js} +20 -20
  167. package/dist/chunks/{worktree-gmxj1p4q.js → tool-fwqqjaak.js} +10 -10
  168. package/dist/chunks/{worktree-sf19b4c0.js → tool-fxgn3893.js} +15 -15
  169. package/dist/chunks/{worktree-c2sxx3q3.js → tool-g4yftf1w.js} +79 -79
  170. package/dist/chunks/{worktree-961snsdf.js → tool-g70vkb7s.js} +19 -19
  171. package/dist/chunks/{worktree-gbjdnr5j.js → tool-gbjdnr5j.js} +2 -2
  172. package/dist/chunks/{worktree-5wq388zr.js → tool-gdqab8my.js} +5 -5
  173. package/dist/chunks/{worktree-ghrv1g9c.js → tool-ghrv1g9c.js} +1 -1
  174. package/dist/chunks/{worktree-694dpcrp.js → tool-gmemj5zs.js} +7 -7
  175. package/dist/chunks/{worktree-tg7s7b5t.js → tool-gxs71cxp.js} +4 -4
  176. package/dist/chunks/{worktree-9vw34fdr.js → tool-h00e2jz3.js} +19 -19
  177. package/dist/chunks/{worktree-ztf6n3de.js → tool-h0rg6s60.js} +4 -4
  178. package/dist/chunks/{worktree-5znhrc7b.js → tool-h1da92q3.js} +31 -31
  179. package/dist/chunks/{worktree-n1cw8e13.js → tool-h6k67dd7.js} +20 -20
  180. package/dist/chunks/{worktree-7q4dqg5y.js → tool-h78x36nt.js} +13 -13
  181. package/dist/chunks/{worktree-98a44ep4.js → tool-haj538yg.js} +9 -9
  182. package/dist/chunks/{worktree-13bvw743.js → tool-he2d4cv0.js} +15 -15
  183. package/dist/chunks/{worktree-ss4ezae1.js → tool-hjnjc3ts.js} +5 -5
  184. package/dist/chunks/{worktree-fs8169v1.js → tool-hkajchxt.js} +15 -15
  185. package/dist/chunks/{worktree-0rgj5x6r.js → tool-hqpnkr71.js} +1 -1
  186. package/dist/chunks/{worktree-amws027c.js → tool-j5f9jgzm.js} +13 -13
  187. package/dist/chunks/{worktree-7fhkpr78.js → tool-j64v0wxx.js} +9 -9
  188. package/dist/chunks/{worktree-ze75qvmd.js → tool-j9nxzz3g.js} +3 -3
  189. package/dist/chunks/{worktree-ez8h1hnq.js → tool-jj3d0q0a.js} +15 -15
  190. package/dist/chunks/{worktree-5n0rnk8e.js → tool-jkdcm5hg.js} +4 -4
  191. package/dist/chunks/{worktree-tpsybwrx.js → tool-jswra5yg.js} +13 -13
  192. package/dist/chunks/{worktree-6ryabd48.js → tool-k3pgnzh0.js} +6 -6
  193. package/dist/chunks/{worktree-3rrsm3qv.js → tool-k6r1bs0t.js} +18 -18
  194. package/dist/chunks/{worktree-rjyw8k91.js → tool-k75at1a4.js} +8 -8
  195. package/dist/chunks/{worktree-1xzbtabx.js → tool-kf978mzt.js} +16 -16
  196. package/dist/chunks/{worktree-kh8gdsej.js → tool-kh8gdsej.js} +1 -1
  197. package/dist/chunks/{worktree-xkbnndjd.js → tool-kmq4a999.js} +9 -9
  198. package/dist/chunks/{worktree-9kg5w032.js → tool-kmzgegqq.js} +8 -8
  199. package/dist/chunks/{worktree-pgz0w21z.js → tool-kq17g8gv.js} +6 -6
  200. package/dist/chunks/{worktree-kzczzf4v.js → tool-kzczzf4v.js} +1 -1
  201. package/dist/chunks/{worktree-ep6pe98a.js → tool-kzdam8c6.js} +7 -7
  202. package/dist/chunks/{worktree-m1714858.js → tool-m1714858.js} +1 -1
  203. package/dist/chunks/{worktree-j9015zjk.js → tool-m76bysk3.js} +14 -14
  204. package/dist/chunks/{worktree-prpax9jh.js → tool-m9f5rdz9.js} +24 -24
  205. package/dist/chunks/{worktree-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
  206. package/dist/chunks/{worktree-mb7mbhnz.js → tool-mb7mbhnz.js} +3 -3
  207. package/dist/chunks/{worktree-846d36hk.js → tool-mgrbscb1.js} +11 -11
  208. package/dist/chunks/{worktree-rdwatp9k.js → tool-mh6aekfc.js} +25 -25
  209. package/dist/chunks/{worktree-mm06edep.js → tool-mm06edep.js} +1 -1
  210. package/dist/chunks/{worktree-f6jsm0hh.js → tool-mnq1jwzt.js} +14 -14
  211. package/dist/chunks/{worktree-ayyfmxcr.js → tool-mt3yb1mx.js} +6 -6
  212. package/dist/chunks/{worktree-r0whk7ma.js → tool-mycg523h.js} +21 -21
  213. package/dist/chunks/{worktree-g5xtrw43.js → tool-mzf8qq5c.js} +11 -11
  214. package/dist/chunks/{worktree-7dve6cz3.js → tool-n00hnt5k.js} +11 -11
  215. package/dist/chunks/{worktree-ycgjzw5v.js → tool-nezv9r4s.js} +84 -84
  216. package/dist/chunks/{worktree-bjzwn0fc.js → tool-nh09tcxv.js} +13 -13
  217. package/dist/chunks/{worktree-0b9xxbk4.js → tool-nhxnj8wq.js} +11 -11
  218. package/dist/chunks/{worktree-m7z4xv15.js → tool-nn6t2hk7.js} +12 -12
  219. package/dist/chunks/{worktree-xqcc0dy1.js → tool-nrp7ym1y.js} +22 -22
  220. package/dist/chunks/{worktree-rj7jtxy8.js → tool-nt907s04.js} +3 -3
  221. package/dist/chunks/{worktree-e1ccxrq8.js → tool-nw5eecxx.js} +1 -1
  222. package/dist/chunks/{worktree-07fse4w0.js → tool-nwzg2a6d.js} +5 -5
  223. package/dist/chunks/{worktree-ay5x4fy8.js → tool-nzgq6x82.js} +4 -4
  224. package/dist/chunks/{worktree-cpgc0rt5.js → tool-p4a0yr3q.js} +12 -12
  225. package/dist/chunks/{worktree-ktpxqw2h.js → tool-p5shtcs3.js} +43 -43
  226. package/dist/chunks/{worktree-pb0kf979.js → tool-p7vg4ymv.js} +8 -8
  227. package/dist/chunks/{worktree-sfstx19v.js → tool-p8pjvayg.js} +3 -3
  228. package/dist/chunks/{worktree-5crjh6az.js → tool-p8t94sdg.js} +7 -7
  229. package/dist/chunks/{worktree-cvzc8cs9.js → tool-pa056g0m.js} +12 -12
  230. package/dist/chunks/{worktree-8xv4yg02.js → tool-pdvy17jd.js} +18 -18
  231. package/dist/chunks/{worktree-pr7ytc8h.js → tool-pebg18yw.js} +5 -5
  232. package/dist/chunks/{worktree-pknna89w.js → tool-pknna89w.js} +1 -1
  233. package/dist/chunks/{worktree-dthn5xfm.js → tool-ppedw7jc.js} +13 -13
  234. package/dist/chunks/{worktree-prq7xxp2.js → tool-prq7xxp2.js} +2 -2
  235. package/dist/chunks/{worktree-tk98v5r9.js → tool-ptxs8w6f.js} +25 -25
  236. package/dist/chunks/{worktree-pyc3gczw.js → tool-pyc3gczw.js} +2 -2
  237. package/dist/chunks/{worktree-cbt48p4z.js → tool-q2kq49nt.js} +11 -11
  238. package/dist/chunks/{worktree-w7ndkmqc.js → tool-q81kq6vk.js} +7 -7
  239. package/dist/chunks/{worktree-b6mx9f7p.js → tool-q8yjkgp4.js} +6 -6
  240. package/dist/chunks/{worktree-vrmm67y9.js → tool-qd895tht.js} +29 -29
  241. package/dist/chunks/{worktree-vmqe41cb.js → tool-qfz6bxfd.js} +4 -4
  242. package/dist/chunks/{worktree-khtr56zv.js → tool-qgcn30ny.js} +7 -7
  243. package/dist/chunks/{worktree-qpxhges9.js → tool-qhgzfx65.js} +86 -86
  244. package/dist/chunks/{worktree-sd5wz7t0.js → tool-qm1pyt2m.js} +3 -3
  245. package/dist/chunks/{worktree-qp7r0hxv.js → tool-qp7r0hxv.js} +1 -1
  246. package/dist/chunks/{worktree-cf51b305.js → tool-qs1v69th.js} +16 -16
  247. package/dist/chunks/{worktree-k3cx6fhe.js → tool-qsdghx1p.js} +4 -4
  248. package/dist/chunks/{worktree-mawyj6r0.js → tool-qv28rmvw.js} +9 -9
  249. package/dist/chunks/{worktree-8gsz1vrk.js → tool-qwfph5fh.js} +10 -10
  250. package/dist/chunks/{worktree-2k6sb4h3.js → tool-qxs6496v.js} +31 -31
  251. package/dist/chunks/{worktree-4tqs0jzk.js → tool-r96ere88.js} +4 -4
  252. package/dist/chunks/{worktree-rb9dy4dg.js → tool-rb9dy4dg.js} +1 -1
  253. package/dist/chunks/{worktree-h8v5vxey.js → tool-ret0xxsr.js} +36 -36
  254. package/dist/chunks/{worktree-xx3wcr8r.js → tool-rfrmsrgv.js} +5 -5
  255. package/dist/chunks/{worktree-rgc9cx3e.js → tool-rgc9cx3e.js} +2 -2
  256. package/dist/chunks/{worktree-jbjxtmqj.js → tool-rgejq9ef.js} +18 -18
  257. package/dist/chunks/{worktree-qnqasnye.js → tool-rmv7fhs4.js} +6 -6
  258. package/dist/chunks/{worktree-f4jww6xy.js → tool-rp5s57se.js} +9 -9
  259. package/dist/chunks/{worktree-tswxjmd9.js → tool-rqjqz1dx.js} +9 -9
  260. package/dist/chunks/{worktree-rt5dr6hb.js → tool-rt5dr6hb.js} +1 -1
  261. package/dist/chunks/{worktree-6dz3c3e9.js → tool-rv2ck8m4.js} +14 -14
  262. package/dist/chunks/{worktree-2hngz3am.js → tool-rxs3kqv2.js} +3 -3
  263. package/dist/chunks/{worktree-anqtxtga.js → tool-s0x6kf2p.js} +4 -4
  264. package/dist/chunks/{worktree-c13wcaar.js → tool-s2d4b5x8.js} +7 -7
  265. package/dist/chunks/{worktree-k2m8pptq.js → tool-s818qefp.js} +5 -5
  266. package/dist/chunks/{worktree-b2qcjbew.js → tool-s9m725b8.js} +30 -27
  267. package/dist/chunks/{worktree-sa3fpqfw.js → tool-sa3fpqfw.js} +2 -2
  268. package/dist/chunks/{worktree-sbya78hr.js → tool-sbya78hr.js} +1 -1
  269. package/dist/chunks/{worktree-vg0erq9k.js → tool-sbz71ybr.js} +3 -3
  270. package/dist/chunks/{worktree-pnmmcska.js → tool-sd2het5a.js} +8 -8
  271. package/dist/chunks/{worktree-7y2ake26.js → tool-senv5r2t.js} +25 -25
  272. package/dist/chunks/{worktree-7h9z2yfj.js → tool-sfnc6e8w.js} +24 -24
  273. package/dist/chunks/{worktree-sycm2b37.js → tool-sgzhenxf.js} +49 -49
  274. package/dist/chunks/{worktree-te2w08x9.js → tool-snkgcq6v.js} +6 -6
  275. package/dist/chunks/{worktree-vr16wtjc.js → tool-spbh5ss8.js} +6 -6
  276. package/dist/chunks/{worktree-83f3tnz4.js → tool-ssx9tcnt.js} +6 -6
  277. package/dist/chunks/{worktree-svcy3p9a.js → tool-svcy3p9a.js} +1 -1
  278. package/dist/chunks/{worktree-n4z1q12f.js → tool-szwm4crx.js} +7 -7
  279. package/dist/chunks/{worktree-ykdx9v5d.js → tool-t04y6rka.js} +27 -27
  280. package/dist/chunks/{worktree-9aft4c63.js → tool-t2kbrzxc.js} +28 -28
  281. package/dist/chunks/{worktree-wvdj0ybt.js → tool-t8nm1vpg.js} +26 -26
  282. package/dist/chunks/{worktree-adbhcxyp.js → tool-tah62rx7.js} +8 -8
  283. package/dist/chunks/{worktree-tczq8hjw.js → tool-tczq8hjw.js} +1 -1
  284. package/dist/chunks/{worktree-7c865q8t.js → tool-tfgq9ps6.js} +34 -34
  285. package/dist/chunks/{worktree-p1gsvzc2.js → tool-th2rzzzd.js} +51 -51
  286. package/dist/chunks/{worktree-qrag8e5m.js → tool-tmsyzkdq.js} +17 -17
  287. package/dist/chunks/{worktree-jht64jd1.js → tool-tr8x705m.js} +4 -4
  288. package/dist/chunks/{worktree-0sx8rwxa.js → tool-tt9rk80g.js} +4 -4
  289. package/dist/chunks/{worktree-twssxy5n.js → tool-twssxy5n.js} +2 -2
  290. package/dist/chunks/{worktree-59ggjee0.js → tool-twz8991w.js} +6 -6
  291. package/dist/chunks/{worktree-ztca8zvm.js → tool-v1t7h3ys.js} +10 -10
  292. package/dist/chunks/{worktree-v2r1d0zg.js → tool-v2r1d0zg.js} +1 -1
  293. package/dist/chunks/{worktree-n380c2qg.js → tool-v7mersgb.js} +18 -18
  294. package/dist/chunks/{worktree-stef8tmv.js → tool-v9zj8gmy.js} +13 -13
  295. package/dist/chunks/{worktree-39sgvy3e.js → tool-vcfdc226.js} +4 -4
  296. package/dist/chunks/{worktree-nhaepnzz.js → tool-vh5kkfdr.js} +12 -12
  297. package/dist/chunks/{worktree-vjf35v1f.js → tool-vjf35v1f.js} +1 -1
  298. package/dist/chunks/{worktree-5sn17fpt.js → tool-vkwey47a.js} +5 -5
  299. package/dist/chunks/{worktree-yamd53dj.js → tool-vmjdpmwf.js} +34 -34
  300. package/dist/chunks/{worktree-ndxv5fgk.js → tool-vre17ymf.js} +9 -9
  301. package/dist/chunks/{worktree-wp1tr40y.js → tool-vv9k68sd.js} +17 -17
  302. package/dist/chunks/{worktree-463jnd59.js → tool-vy064tmw.js} +11 -11
  303. package/dist/chunks/{worktree-w5sebgte.js → tool-w2jbjawn.js} +29 -29
  304. package/dist/chunks/{worktree-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
  305. package/dist/chunks/{worktree-3bg3hr7j.js → tool-w5zs3rpn.js} +3 -3
  306. package/dist/chunks/{worktree-wakvkjy4.js → tool-wakvkjy4.js} +1 -1
  307. package/dist/chunks/{worktree-evcme5n9.js → tool-wbzmgrmw.js} +30 -30
  308. package/dist/chunks/{worktree-0n2768ta.js → tool-wc9tj2ev.js} +21 -21
  309. package/dist/chunks/{worktree-nywnbdne.js → tool-wcgjrgaf.js} +32 -32
  310. package/dist/chunks/{worktree-wd87259q.js → tool-wd87259q.js} +1 -1
  311. package/dist/chunks/{worktree-ztr7xwzb.js → tool-wdx6g3kg.js} +5 -5
  312. package/dist/chunks/{worktree-wegkxhrn.js → tool-wegkxhrn.js} +2 -2
  313. package/dist/chunks/{worktree-d8wpb085.js → tool-weqc7sb9.js} +2 -2
  314. package/dist/chunks/{worktree-er9m98qz.js → tool-wmndttsw.js} +9 -9
  315. package/dist/chunks/{worktree-wnhgecwx.js → tool-wnhgecwx.js} +1 -1
  316. package/dist/chunks/{worktree-wr3re1en.js → tool-wr3re1en.js} +1 -1
  317. package/dist/chunks/{worktree-bea5kyzz.js → tool-ws4tpv13.js} +3 -3
  318. package/dist/chunks/{worktree-e0dfrqtx.js → tool-x5vj74a2.js} +25 -25
  319. package/dist/chunks/{worktree-naw23477.js → tool-xa23xek1.js} +8 -8
  320. package/dist/chunks/{worktree-mfx89st4.js → tool-xdgtjw5x.js} +29 -29
  321. package/dist/chunks/{worktree-av89gnzb.js → tool-xg73td2j.js} +11 -11
  322. package/dist/chunks/{worktree-xxschbft.js → tool-xjr6c8m4.js} +4 -4
  323. package/dist/chunks/{worktree-yts2a8qm.js → tool-xksw6ev0.js} +4 -4
  324. package/dist/chunks/{worktree-2cf6rdw9.js → tool-xr7xm7qf.js} +28 -28
  325. package/dist/chunks/{worktree-jn8s1hgw.js → tool-y094zgrg.js} +13 -13
  326. package/dist/chunks/{worktree-qfcp58yd.js → tool-y2wreccq.js} +5 -5
  327. package/dist/chunks/{worktree-g4sksxkq.js → tool-y3bjyseh.js} +16 -16
  328. package/dist/chunks/{worktree-knagcy2c.js → tool-y4rkeds0.js} +11 -11
  329. package/dist/chunks/{worktree-x5t3tk8c.js → tool-y67570ve.js} +20 -20
  330. package/dist/chunks/{worktree-5yzx53te.js → tool-y84y5pby.js} +12 -12
  331. package/dist/chunks/{worktree-yb20nhc3.js → tool-yb20nhc3.js} +1 -1
  332. package/dist/chunks/{worktree-hwc8smr1.js → tool-yf2cgb8m.js} +21 -21
  333. package/dist/chunks/{worktree-69qh8env.js → tool-ym84t9db.js} +15 -15
  334. package/dist/chunks/{worktree-yr705xyq.js → tool-yr705xyq.js} +1 -1
  335. package/dist/chunks/{worktree-yvtc2x31.js → tool-yvtc2x31.js} +1 -1
  336. package/dist/chunks/{worktree-w4236kmx.js → tool-yzt4cd6e.js} +18 -18
  337. package/dist/chunks/{worktree-07ahnxpv.js → tool-z1tj3v26.js} +7 -7
  338. package/dist/chunks/{worktree-33qwtakz.js → tool-zcnch7vt.js} +11 -11
  339. package/dist/chunks/{worktree-m0xtcepj.js → tool-zeby9t0g.js} +12 -12
  340. package/dist/chunks/{worktree-7agscg8h.js → tool-zezjv31z.js} +54 -54
  341. package/dist/chunks/{worktree-s5x95w9q.js → tool-zggfewvb.js} +21 -21
  342. package/dist/chunks/{worktree-ds00na2f.js → tool-zh6krqj4.js} +7 -7
  343. package/dist/chunks/{worktree-13qmg2j7.js → tool-zhrtystx.js} +36 -36
  344. package/dist/chunks/{worktree-yhkf6q0d.js → tool-zn5cq78w.js} +13 -7
  345. package/dist/chunks/{worktree-by8ty0bx.js → tool-zpdbqgja.js} +4 -4
  346. package/dist/chunks/{worktree-kbesq96w.js → tool-zyjx7tf0.js} +18 -18
  347. package/dist/codemode/catalog.js +1 -1
  348. package/dist/codemode/execution.js +3 -3
  349. package/dist/codemode/fetch.js +145 -145
  350. package/dist/codemode/instructions.js +9 -9
  351. package/dist/codemode/tool.js +151 -151
  352. package/dist/command.js +96 -96
  353. package/dist/config/discovery.js +95 -95
  354. package/dist/config/integration.js +3 -3
  355. package/dist/config/managed.js +1 -1
  356. package/dist/config/markdown.js +1 -1
  357. package/dist/config/normalize.js +112 -112
  358. package/dist/config/plugin/agent.js +133 -133
  359. package/dist/config/plugin/command.js +236 -236
  360. package/dist/config/plugin/compaction.js +171 -171
  361. package/dist/config/plugin/compatibility.js +150 -150
  362. package/dist/config/plugin/entry-observer.js +1 -1
  363. package/dist/config/plugin/formatter.js +131 -131
  364. package/dist/config/plugin/image.js +130 -130
  365. package/dist/config/plugin/instruction.js +130 -130
  366. package/dist/config/plugin/location-watcher.js +132 -132
  367. package/dist/config/plugin/mcp.js +143 -143
  368. package/dist/config/plugin/policy.js +130 -130
  369. package/dist/config/plugin/provider.js +130 -130
  370. package/dist/config/plugin/reference.js +132 -132
  371. package/dist/config/plugin/shell.js +130 -130
  372. package/dist/config/plugin/skill-file.js +146 -146
  373. package/dist/config/plugin/skill-scan.js +1 -1
  374. package/dist/config/plugin/skill.js +153 -153
  375. package/dist/config/plugin/snapshot.js +130 -130
  376. package/dist/config/plugin/source.js +130 -130
  377. package/dist/config/plugin/tool-output.js +131 -131
  378. package/dist/config/plugin/websearch.js +129 -129
  379. package/dist/config/plugin/worktree.js +132 -132
  380. package/dist/config/variable.js +1 -1
  381. package/dist/config/watch.js +1 -1
  382. package/dist/config.js +133 -133
  383. package/dist/console-access.js +7 -7
  384. package/dist/credential/sql.js +2 -2
  385. package/dist/credential.js +94 -94
  386. package/dist/database/database.js +77 -77
  387. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  388. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  389. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  390. package/dist/database/drizzle/index.js +15 -15
  391. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  392. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  393. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  394. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  395. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  396. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  397. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  398. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  399. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  400. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  401. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  402. package/dist/database/drizzle.js +16 -16
  403. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  404. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  405. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  406. package/dist/database/migration/20260225215848_workspace.js +1 -1
  407. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  408. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  409. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  410. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  411. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  412. package/dist/database/migration/20260323234822_events.js +1 -1
  413. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  414. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  415. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  416. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  417. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  418. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  419. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  420. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  421. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  422. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  423. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  424. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  425. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  426. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  427. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  428. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  429. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  430. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  431. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  432. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  433. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  434. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  435. package/dist/database/migration/20260611035744_credential.js +1 -1
  436. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  437. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  438. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  439. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  440. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  441. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  442. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  443. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  444. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  445. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  446. package/dist/database/migration/20260812213948_worktree.js +1 -1
  447. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  448. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  449. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  450. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  451. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  452. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  453. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  454. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  455. package/dist/database/migration/20261025123711_blob.js +1 -1
  456. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  457. package/dist/database/migration/20261026223005_schedule.js +1 -1
  458. package/dist/database/migration/20261029002625_session_part.js +1 -1
  459. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  460. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  461. package/dist/database/migration/20261030054400_job.js +1 -1
  462. package/dist/database/migration.gen.js +60 -60
  463. package/dist/database/migration.js +62 -62
  464. package/dist/database/path.js +2 -2
  465. package/dist/database/schema.gen.js +1 -1
  466. package/dist/database/schema.sql.js +1 -1
  467. package/dist/database/v1-migration.bun.js +100 -100
  468. package/dist/database/v1-migration.js +1 -1
  469. package/dist/effect/app-node-builder.js +437 -437
  470. package/dist/effect/app-node-platform.js +2 -2
  471. package/dist/effect/keyed-mutex.js +3 -3
  472. package/dist/effect/websocket-constructor.js +1 -1
  473. package/dist/environment/driver.js +1 -1
  474. package/dist/environment/environment.js +105 -105
  475. package/dist/environment/exec-defaults.js +2 -2
  476. package/dist/environment/files.js +1 -1
  477. package/dist/environment/index.js +107 -107
  478. package/dist/environment/local.js +2 -2
  479. package/dist/environment/memory.js +2 -2
  480. package/dist/environment/unavailable.js +1 -1
  481. package/dist/event/sql.js +1 -1
  482. package/dist/event-logger.js +81 -81
  483. package/dist/file-access.js +157 -157
  484. package/dist/file-mutation.js +108 -108
  485. package/dist/file-retention.js +1 -1
  486. package/dist/file-write.js +161 -161
  487. package/dist/filesystem/fff.bun.js +2 -2
  488. package/dist/filesystem/fff.js +1 -1
  489. package/dist/filesystem/fff.node.js +2 -2
  490. package/dist/filesystem/fff.workerd.js +2 -2
  491. package/dist/filesystem/file-watch.js +88 -88
  492. package/dist/filesystem/location-watcher-policy.js +6 -6
  493. package/dist/filesystem/location-watcher.js +249 -249
  494. package/dist/filesystem/protected.js +1 -1
  495. package/dist/filesystem/search.js +113 -113
  496. package/dist/filesystem/watcher-binding.js +1 -1
  497. package/dist/filesystem/watcher.js +9 -9
  498. package/dist/filesystem.js +114 -114
  499. package/dist/form.js +91 -91
  500. package/dist/formatter/builtins.js +4 -4
  501. package/dist/formatter.js +100 -100
  502. package/dist/generate.js +118 -118
  503. package/dist/git.js +11 -11
  504. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  505. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  506. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  507. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  508. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  509. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  510. package/dist/github-copilot/copilot-provider.js +17 -17
  511. package/dist/github-copilot/models.js +106 -106
  512. package/dist/github-copilot/openai-compatible-error.js +1 -1
  513. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  514. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  515. package/dist/github-copilot/responses/openai-error.js +1 -1
  516. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  517. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  518. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  519. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  520. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  521. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  522. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  523. package/dist/image/notice.js +3 -3
  524. package/dist/image/photon-normalize.js +1 -1
  525. package/dist/image/photon-worker.js +1 -1
  526. package/dist/image/photon.js +4 -4
  527. package/dist/image.js +6 -6
  528. package/dist/instance/service.js +5 -5
  529. package/dist/instance.js +428 -428
  530. package/dist/instruction-discovery.js +95 -95
  531. package/dist/instructions/builtins.js +100 -100
  532. package/dist/instructions/index.js +5 -5
  533. package/dist/integration/connection.js +1 -1
  534. package/dist/integration.js +96 -96
  535. package/dist/job/list.js +5 -5
  536. package/dist/job/recovery.js +2 -2
  537. package/dist/job/sql.js +2 -2
  538. package/dist/job.js +88 -88
  539. package/dist/kv/sql.js +2 -2
  540. package/dist/kv.js +84 -84
  541. package/dist/location-activity.js +178 -178
  542. package/dist/location-lifecycle.js +150 -150
  543. package/dist/location-service-map.js +99 -99
  544. package/dist/location-services.js +425 -425
  545. package/dist/location.js +100 -100
  546. package/dist/managed-policy.js +3 -3
  547. package/dist/mcp/client.js +155 -155
  548. package/dist/mcp/connection.js +106 -106
  549. package/dist/mcp/index.js +124 -124
  550. package/dist/mcp/instructions.js +181 -181
  551. package/dist/mcp/oauth.js +110 -92
  552. package/dist/mcp/socket-client.js +1 -1
  553. package/dist/mcp/stdio.js +154 -154
  554. package/dist/mime.js +1 -1
  555. package/dist/modal/models.js +104 -104
  556. package/dist/model-resolver.js +112 -112
  557. package/dist/model-retry.js +1 -1
  558. package/dist/model.js +111 -111
  559. package/dist/models-dev/v1.js +1 -1
  560. package/dist/models-dev.js +121 -121
  561. package/dist/oauth/page.js +1 -1
  562. package/dist/permission/saved.js +91 -91
  563. package/dist/permission/sql.js +5 -5
  564. package/dist/permission.js +151 -151
  565. package/dist/persistent-pty/binary.bun.js +1 -1
  566. package/dist/persistent-pty/daemon.js +1 -1
  567. package/dist/persistent-pty/index.js +101 -101
  568. package/dist/persistent-pty/pty-binding.js +1 -1
  569. package/dist/persistent-pty.js +86 -86
  570. package/dist/plugin/agent.js +87 -87
  571. package/dist/plugin/command.js +117 -117
  572. package/dist/plugin/goal.js +3 -3
  573. package/dist/plugin/hooks.js +5 -5
  574. package/dist/plugin/host.js +240 -240
  575. package/dist/plugin/identity.js +5 -5
  576. package/dist/plugin/instance.js +5 -5
  577. package/dist/plugin/internal.js +406 -406
  578. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  579. package/dist/plugin/models-dev.js +110 -110
  580. package/dist/plugin/module.js +129 -129
  581. package/dist/plugin/optimize.js +2 -2
  582. package/dist/plugin/plan.js +146 -146
  583. package/dist/plugin/promise.js +1 -1
  584. package/dist/plugin/provider/amazon-bedrock.js +106 -106
  585. package/dist/plugin/provider/azure.js +131 -131
  586. package/dist/plugin/provider/cerebras.js +1 -1
  587. package/dist/plugin/provider/chatgpt.js +133 -133
  588. package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
  589. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  590. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  591. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  592. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  593. package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
  594. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  595. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  596. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  597. package/dist/plugin/provider/claude-agent/index.js +148 -148
  598. package/dist/plugin/provider/claude-agent/instructions.js +114 -114
  599. package/dist/plugin/provider/claude-agent/integration.js +115 -115
  600. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  601. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  602. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  603. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  604. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  605. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  606. package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
  607. package/dist/plugin/provider/claude-agent/provider.js +110 -110
  608. package/dist/plugin/provider/claude-agent/session.js +112 -112
  609. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  610. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  611. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  612. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  613. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  614. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  615. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  616. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  617. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  618. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  619. package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
  620. package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
  621. package/dist/plugin/provider/configured.js +126 -126
  622. package/dist/plugin/provider/credential-settings.js +88 -88
  623. package/dist/plugin/provider/databricks.js +1 -1
  624. package/dist/plugin/provider/digitalocean.js +109 -109
  625. package/dist/plugin/provider/dynamic.js +2 -2
  626. package/dist/plugin/provider/github-copilot.js +111 -111
  627. package/dist/plugin/provider/gitlab.js +109 -109
  628. package/dist/plugin/provider/google-vertex.js +127 -127
  629. package/dist/plugin/provider/kilo.js +1 -1
  630. package/dist/plugin/provider/llmgateway.js +89 -89
  631. package/dist/plugin/provider/lmstudio.js +140 -140
  632. package/dist/plugin/provider/local.js +137 -137
  633. package/dist/plugin/provider/modal.js +108 -108
  634. package/dist/plugin/provider/neon.js +1 -1
  635. package/dist/plugin/provider/nvidia.js +1 -1
  636. package/dist/plugin/provider/ollama.js +140 -140
  637. package/dist/plugin/provider/openai-context-caps.js +106 -106
  638. package/dist/plugin/provider/openai.js +133 -133
  639. package/dist/plugin/provider/opencode.js +157 -157
  640. package/dist/plugin/provider/openrouter.js +104 -104
  641. package/dist/plugin/provider/poe.js +90 -90
  642. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  643. package/dist/plugin/provider/refresh.js +87 -87
  644. package/dist/plugin/provider/sap-ai-core.js +104 -104
  645. package/dist/plugin/provider/sdk-factory.js +1 -1
  646. package/dist/plugin/provider/snowflake-cortex.js +131 -131
  647. package/dist/plugin/provider/vllm.js +140 -140
  648. package/dist/plugin/provider/xai.js +104 -104
  649. package/dist/plugin/provider/zenmux.js +1 -1
  650. package/dist/plugin/provider.js +235 -235
  651. package/dist/plugin/sdk.js +87 -87
  652. package/dist/plugin/service.js +3 -3
  653. package/dist/plugin/skill.js +149 -149
  654. package/dist/plugin/source-directory.js +1 -1
  655. package/dist/plugin/supervisor.js +416 -416
  656. package/dist/plugin/tool-input-repair.js +4 -4
  657. package/dist/plugin/update.js +6 -6
  658. package/dist/plugin/vcs/git.js +99 -99
  659. package/dist/plugin/vcs/hg.js +99 -99
  660. package/dist/plugin/verbosity.js +106 -106
  661. package/dist/plugin/warming.js +130 -130
  662. package/dist/plugin/websearch/exa.js +8 -8
  663. package/dist/plugin/websearch/firecrawl.js +9 -9
  664. package/dist/plugin/websearch/index.js +10 -10
  665. package/dist/plugin/websearch/mcp.js +6 -6
  666. package/dist/plugin/websearch/parallel.js +9 -9
  667. package/dist/plugin/websearch/provider.js +3 -3
  668. package/dist/plugin/websearch/tavily.js +7 -7
  669. package/dist/plugin/websearch/tinyfish.js +9 -9
  670. package/dist/plugin.js +247 -247
  671. package/dist/project/icon.js +5 -5
  672. package/dist/project/schema.js +4 -4
  673. package/dist/project/sql.js +4 -4
  674. package/dist/project.js +101 -101
  675. package/dist/provider.js +110 -110
  676. package/dist/pty/protocol.js +1 -1
  677. package/dist/pty/ticket.js +1 -1
  678. package/dist/pty.js +109 -109
  679. package/dist/reference/instructions.js +101 -101
  680. package/dist/reference.js +99 -99
  681. package/dist/repository-cache.js +93 -93
  682. package/dist/repository.js +1 -1
  683. package/dist/ripgrep/binary.js +2 -2
  684. package/dist/ripgrep.js +109 -109
  685. package/dist/rpc.js +99 -99
  686. package/dist/schedule/check.js +245 -245
  687. package/dist/schedule/sql.js +6 -6
  688. package/dist/schedule.js +259 -259
  689. package/dist/schema.js +1 -1
  690. package/dist/session/affinity.js +1 -1
  691. package/dist/session/background.js +3 -3
  692. package/dist/session/blob.js +129 -129
  693. package/dist/session/command.js +85 -85
  694. package/dist/session/compaction.js +171 -171
  695. package/dist/session/context.js +200 -200
  696. package/dist/session/diff.js +101 -101
  697. package/dist/session/environment.js +5 -5
  698. package/dist/session/error.js +5 -5
  699. package/dist/session/event.js +1 -1
  700. package/dist/session/execution/restart.js +247 -247
  701. package/dist/session/execution.js +163 -163
  702. package/dist/session/generate.js +200 -200
  703. package/dist/session/history.js +136 -136
  704. package/dist/session/inbox.js +145 -145
  705. package/dist/session/info.js +3 -3
  706. package/dist/session/instruction-entry.js +88 -88
  707. package/dist/session/instruction-state.js +8 -8
  708. package/dist/session/instructions.js +143 -143
  709. package/dist/session/message-updater.js +2 -2
  710. package/dist/session/message.js +1 -1
  711. package/dist/session/model-request.js +168 -168
  712. package/dist/session/model-transport.js +9 -9
  713. package/dist/session/move.js +167 -167
  714. package/dist/session/projector.js +143 -143
  715. package/dist/session/prompt.js +148 -148
  716. package/dist/session/recent-text.js +1 -1
  717. package/dist/session/revert.js +139 -139
  718. package/dist/session/run-coordinator.js +3 -3
  719. package/dist/session/runner/index.js +3 -3
  720. package/dist/session/runner/llm.js +254 -254
  721. package/dist/session/runner/max-steps.js +1 -1
  722. package/dist/session/runner/model.js +113 -113
  723. package/dist/session/runner/publish-llm-event.js +149 -149
  724. package/dist/session/runner/retry.js +5 -5
  725. package/dist/session/runner/step.js +163 -163
  726. package/dist/session/runner/to-llm-message.js +137 -137
  727. package/dist/session/schema.js +3 -3
  728. package/dist/session/session.js +182 -182
  729. package/dist/session/shell.js +145 -145
  730. package/dist/session/skill.js +147 -147
  731. package/dist/session/sql.js +5 -5
  732. package/dist/session/stats.js +84 -84
  733. package/dist/session/store.js +142 -142
  734. package/dist/session/stored.js +2 -2
  735. package/dist/session/subagent-completion.js +3 -3
  736. package/dist/session/subagent-job.js +233 -233
  737. package/dist/session/system-prompt.js +5 -5
  738. package/dist/session/title.js +204 -204
  739. package/dist/session/to-session-error.js +148 -148
  740. package/dist/session/transfer.js +239 -239
  741. package/dist/session/usage.js +3 -3
  742. package/dist/session.js +237 -237
  743. package/dist/shared-cache.js +5 -5
  744. package/dist/shell/parse.js +6 -6
  745. package/dist/shell/result.js +1 -1
  746. package/dist/shell/scan.js +1 -1
  747. package/dist/shell/select.js +5 -5
  748. package/dist/shell.js +145 -145
  749. package/dist/skill/discovery.js +2 -2
  750. package/dist/skill/instructions.js +151 -151
  751. package/dist/skill.js +154 -154
  752. package/dist/snapshot.js +102 -102
  753. package/dist/state.js +1 -1
  754. package/dist/tool/html-markdown.js +1 -1
  755. package/dist/tool/http-body.js +1 -1
  756. package/dist/tool/mcp.js +178 -178
  757. package/dist/tool/plugin/artifact.js +232 -232
  758. package/dist/tool/plugin/edit.js +167 -167
  759. package/dist/tool/plugin/file-diff.js +1 -1
  760. package/dist/tool/plugin/glob.js +165 -165
  761. package/dist/tool/plugin/grep.js +170 -170
  762. package/dist/tool/plugin/image-generate.js +243 -243
  763. package/dist/tool/plugin/mcp-resource.js +164 -164
  764. package/dist/tool/plugin/opencode.js +163 -163
  765. package/dist/tool/plugin/patch.js +166 -166
  766. package/dist/tool/plugin/question.js +146 -146
  767. package/dist/tool/plugin/read.js +172 -172
  768. package/dist/tool/plugin/schedule.js +251 -251
  769. package/dist/tool/plugin/shell.js +237 -237
  770. package/dist/tool/plugin/skill.js +157 -157
  771. package/dist/tool/plugin/subagent.js +240 -240
  772. package/dist/tool/plugin/todo.js +153 -153
  773. package/dist/tool/plugin/webfetch.js +153 -153
  774. package/dist/tool/plugin/websearch.js +153 -153
  775. package/dist/tool/plugin/write.js +168 -168
  776. package/dist/tool/read-filesystem.js +114 -114
  777. package/dist/tool/runtime.js +1 -1
  778. package/dist/tool/search.js +109 -109
  779. package/dist/tool-output.js +7 -7
  780. package/dist/tool.js +159 -159
  781. package/dist/types/integration.d.ts +2 -0
  782. package/dist/types/mcp/oauth.d.ts +1 -0
  783. package/dist/usage-limits.js +98 -98
  784. package/dist/util/error-summary.js +1 -1
  785. package/dist/util/git-executable.js +3 -3
  786. package/dist/util/lazy.js +1 -1
  787. package/dist/util/slug.js +1 -1
  788. package/dist/util/token.js +1 -1
  789. package/dist/util/which.js +1 -1
  790. package/dist/util/wildcard.js +1 -1
  791. package/dist/v1/config/agent.js +3 -3
  792. package/dist/v1/config/command.js +5 -5
  793. package/dist/v1/config/mcp.js +4 -4
  794. package/dist/v1/config/migrate.js +105 -105
  795. package/dist/v1/config/permission.js +3 -3
  796. package/dist/v1/config/plugin.js +3 -3
  797. package/dist/v1/config/provider-options.js +1 -1
  798. package/dist/v1/config/provider.js +2 -2
  799. package/dist/variant.js +104 -104
  800. package/dist/vcs/patch.js +1 -1
  801. package/dist/vcs.js +102 -102
  802. package/dist/voice.js +95 -95
  803. package/dist/websearch.js +91 -91
  804. package/dist/wellknown/plugin.js +87 -87
  805. package/dist/wellknown.js +90 -90
  806. package/dist/workspace/driver.js +5 -5
  807. package/dist/workspace/sql.js +1 -1
  808. package/dist/workspace.js +93 -93
  809. package/dist/worktree/directory.js +2 -2
  810. package/dist/worktree/git.js +11 -11
  811. package/dist/worktree/sql.js +5 -5
  812. package/dist/worktree/strategies.js +102 -102
  813. package/dist/worktree.js +109 -109
  814. package/package.json +8 -8
  815. package/dist/chunks/worktree-653b6b81.js +0 -26
  816. package/dist/chunks/worktree-8cxynj88.js +0 -265
  817. package/dist/chunks/worktree-z355x5yr.js +0 -18
  818. /package/dist/chunks/{worktree-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
  819. /package/dist/chunks/{worktree-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
  820. /package/dist/chunks/{worktree-108x4f4w.js → tool-108x4f4w.js} +0 -0
  821. /package/dist/chunks/{worktree-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
  822. /package/dist/chunks/{worktree-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
  823. /package/dist/chunks/{worktree-1kah00gy.js → tool-1kah00gy.js} +0 -0
  824. /package/dist/chunks/{worktree-24dcb14g.js → tool-24dcb14g.js} +0 -0
  825. /package/dist/chunks/{worktree-2710q6r3.js → tool-2710q6r3.js} +0 -0
  826. /package/dist/chunks/{worktree-2bv980vf.js → tool-2bv980vf.js} +0 -0
  827. /package/dist/chunks/{worktree-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
  828. /package/dist/chunks/{worktree-359p4xyc.js → tool-359p4xyc.js} +0 -0
  829. /package/dist/chunks/{worktree-3af0jn4w.js → tool-3af0jn4w.js} +0 -0
  830. /package/dist/chunks/{worktree-3asan66x.js → tool-3asan66x.js} +0 -0
  831. /package/dist/chunks/{worktree-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
  832. /package/dist/chunks/{worktree-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
  833. /package/dist/chunks/{worktree-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
  834. /package/dist/chunks/{worktree-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
  835. /package/dist/chunks/{worktree-4qk9sjk2.js → tool-4qk9sjk2.js} +0 -0
  836. /package/dist/chunks/{worktree-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
  837. /package/dist/chunks/{worktree-53557ph1.js → tool-53557ph1.js} +0 -0
  838. /package/dist/chunks/{worktree-550bvhaj.js → tool-550bvhaj.js} +0 -0
  839. /package/dist/chunks/{worktree-5w3e23ze.js → tool-5w3e23ze.js} +0 -0
  840. /package/dist/chunks/{worktree-6agm2x70.js → tool-6agm2x70.js} +0 -0
  841. /package/dist/chunks/{worktree-6prwharc.js → tool-6prwharc.js} +0 -0
  842. /package/dist/chunks/{worktree-6q2bdcd1.js → tool-6q2bdcd1.js} +0 -0
  843. /package/dist/chunks/{worktree-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
  844. /package/dist/chunks/{worktree-7m9af43g.js → tool-7m9af43g.js} +0 -0
  845. /package/dist/chunks/{worktree-822emrt2.js → tool-822emrt2.js} +0 -0
  846. /package/dist/chunks/{worktree-84wd9syh.js → tool-84wd9syh.js} +0 -0
  847. /package/dist/chunks/{worktree-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
  848. /package/dist/chunks/{worktree-8n3pysct.js → tool-8n3pysct.js} +0 -0
  849. /package/dist/chunks/{worktree-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
  850. /package/dist/chunks/{worktree-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
  851. /package/dist/chunks/{worktree-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
  852. /package/dist/chunks/{worktree-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
  853. /package/dist/chunks/{worktree-af5trqkr.js → tool-af5trqkr.js} +0 -0
  854. /package/dist/chunks/{worktree-afrmfg78.js → tool-afrmfg78.js} +0 -0
  855. /package/dist/chunks/{worktree-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
  856. /package/dist/chunks/{worktree-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
  857. /package/dist/chunks/{worktree-beh6qq61.js → tool-beh6qq61.js} +0 -0
  858. /package/dist/chunks/{worktree-bhmrqjy3.js → tool-bhmrqjy3.js} +0 -0
  859. /package/dist/chunks/{worktree-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
  860. /package/dist/chunks/{worktree-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
  861. /package/dist/chunks/{worktree-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
  862. /package/dist/chunks/{worktree-cqv5kn06.js → tool-cqv5kn06.js} +0 -0
  863. /package/dist/chunks/{worktree-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
  864. /package/dist/chunks/{worktree-d9fn303g.js → tool-d9fn303g.js} +0 -0
  865. /package/dist/chunks/{worktree-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
  866. /package/dist/chunks/{worktree-dap0rakb.js → tool-dap0rakb.js} +0 -0
  867. /package/dist/chunks/{worktree-df08tz66.js → tool-df08tz66.js} +0 -0
  868. /package/dist/chunks/{worktree-dy18nga0.js → tool-dy18nga0.js} +0 -0
  869. /package/dist/chunks/{worktree-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
  870. /package/dist/chunks/{worktree-ean2d8b5.js → tool-ean2d8b5.js} +0 -0
  871. /package/dist/chunks/{worktree-ec1grn59.js → tool-ec1grn59.js} +0 -0
  872. /package/dist/chunks/{worktree-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
  873. /package/dist/chunks/{worktree-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
  874. /package/dist/chunks/{worktree-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
  875. /package/dist/chunks/{worktree-faypxj3z.js → tool-faypxj3z.js} +0 -0
  876. /package/dist/chunks/{worktree-fd410y7t.js → tool-fd410y7t.js} +0 -0
  877. /package/dist/chunks/{worktree-fkpq3x5p.js → tool-fkpq3x5p.js} +0 -0
  878. /package/dist/chunks/{worktree-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
  879. /package/dist/chunks/{worktree-g86h250q.js → tool-g86h250q.js} +0 -0
  880. /package/dist/chunks/{worktree-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
  881. /package/dist/chunks/{worktree-gftt206x.js → tool-gftt206x.js} +0 -0
  882. /package/dist/chunks/{worktree-hcxmzztb.js → tool-hcxmzztb.js} +0 -0
  883. /package/dist/chunks/{worktree-hk9envan.js → tool-hk9envan.js} +0 -0
  884. /package/dist/chunks/{worktree-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
  885. /package/dist/chunks/{worktree-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
  886. /package/dist/chunks/{worktree-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
  887. /package/dist/chunks/{worktree-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
  888. /package/dist/chunks/{worktree-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
  889. /package/dist/chunks/{worktree-jwr30sdr.js → tool-jwr30sdr.js} +0 -0
  890. /package/dist/chunks/{worktree-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
  891. /package/dist/chunks/{worktree-m18g726c.js → tool-m18g726c.js} +0 -0
  892. /package/dist/chunks/{worktree-mp448xyj.js → tool-mp448xyj.js} +0 -0
  893. /package/dist/chunks/{worktree-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
  894. /package/dist/chunks/{worktree-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
  895. /package/dist/chunks/{worktree-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
  896. /package/dist/chunks/{worktree-nh4v3znn.js → tool-nh4v3znn.js} +0 -0
  897. /package/dist/chunks/{worktree-njntx4h6.js → tool-njntx4h6.js} +0 -0
  898. /package/dist/chunks/{worktree-p71gwv9c.js → tool-p71gwv9c.js} +0 -0
  899. /package/dist/chunks/{worktree-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
  900. /package/dist/chunks/{worktree-q74kybfr.js → tool-q74kybfr.js} +0 -0
  901. /package/dist/chunks/{worktree-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
  902. /package/dist/chunks/{worktree-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
  903. /package/dist/chunks/{worktree-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
  904. /package/dist/chunks/{worktree-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
  905. /package/dist/chunks/{worktree-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
  906. /package/dist/chunks/{worktree-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
  907. /package/dist/chunks/{worktree-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
  908. /package/dist/chunks/{worktree-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
  909. /package/dist/chunks/{worktree-syrav9an.js → tool-syrav9an.js} +0 -0
  910. /package/dist/chunks/{worktree-t03h4f5z.js → tool-t03h4f5z.js} +0 -0
  911. /package/dist/chunks/{worktree-ty7weeps.js → tool-ty7weeps.js} +0 -0
  912. /package/dist/chunks/{worktree-ve7vex1e.js → tool-ve7vex1e.js} +0 -0
  913. /package/dist/chunks/{worktree-vtarvj67.js → tool-vtarvj67.js} +0 -0
  914. /package/dist/chunks/{worktree-w803qqfp.js → tool-w803qqfp.js} +0 -0
  915. /package/dist/chunks/{worktree-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
  916. /package/dist/chunks/{worktree-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
  917. /package/dist/chunks/{worktree-wtztk69x.js → tool-wtztk69x.js} +0 -0
  918. /package/dist/chunks/{worktree-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
  919. /package/dist/chunks/{worktree-x61499pn.js → tool-x61499pn.js} +0 -0
  920. /package/dist/chunks/{worktree-y44na4kk.js → tool-y44na4kk.js} +0 -0
  921. /package/dist/chunks/{worktree-y8f7s663.js → tool-y8f7s663.js} +0 -0
  922. /package/dist/chunks/{worktree-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
  923. /package/dist/chunks/{worktree-z0h12gs8.js → tool-z0h12gs8.js} +0 -0
  924. /package/dist/chunks/{worktree-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
  925. /package/dist/chunks/{worktree-z9919s4g.js → tool-z9919s4g.js} +0 -0
  926. /package/dist/chunks/{worktree-zxpyjp51.js → tool-zxpyjp51.js} +0 -0
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service91,
3
3
  node95
4
- } from "./worktree-pz7ryx86.js";
4
+ } from "./tool-2r8wnwkh.js";
5
5
  import {
6
6
  Service90,
7
7
  node94
8
- } from "./worktree-at8vr1jg.js";
8
+ } from "./tool-5r3wrmp5.js";
9
9
  import {
10
- Service46,
11
- node49
12
- } from "./worktree-q6bn7qw5.js";
10
+ Service42,
11
+ node44
12
+ } from "./tool-4bwthz3m.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./worktree-z5v4ffb3.js";
16
+ } from "./tool-z5v4ffb3.js";
17
17
  import {
18
- Service87,
19
- node91
20
- } from "./worktree-k0xgdmgp.js";
18
+ Service86,
19
+ node90
20
+ } from "./tool-e53hqhbg.js";
21
21
  import {
22
22
  Ref5
23
- } from "./worktree-g4sksxkq.js";
23
+ } from "./tool-y3bjyseh.js";
24
24
  import {
25
- Service72,
26
- node75
27
- } from "./worktree-95vnrqnk.js";
25
+ Service60,
26
+ node63
27
+ } from "./tool-5kn2gf19.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./worktree-gftt206x.js";
30
+ } from "./tool-gftt206x.js";
31
31
  import {
32
- NotFoundError11
33
- } from "./worktree-ht9r4qkp.js";
32
+ NotFoundError12
33
+ } from "./tool-65zzbc8y.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./worktree-ec1grn59.js";
36
+ } from "./tool-ec1grn59.js";
37
37
  import {
38
- Service44
39
- } from "./worktree-ztf6n3de.js";
38
+ Service40
39
+ } from "./tool-h0rg6s60.js";
40
40
  import {
41
- Service63,
42
- node66
43
- } from "./worktree-60zd28f7.js";
41
+ Service68,
42
+ node71
43
+ } from "./tool-9m4t11kw.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
- Service45,
48
- node48,
47
+ Service41,
48
+ node43,
49
49
  moveIDs2
50
- } from "./worktree-961snsdf.js";
50
+ } from "./tool-g70vkb7s.js";
51
51
  import {
52
- Service43,
53
- node47
54
- } from "./worktree-13qmg2j7.js";
52
+ Service39,
53
+ node42
54
+ } from "./tool-zhrtystx.js";
55
55
  import {
56
- node34
57
- } from "./worktree-d36ayzjy.js";
56
+ node29
57
+ } from "./tool-0hknrezz.js";
58
58
  import {
59
59
  __export
60
- } from "./worktree-9rqn6x4v.js";
60
+ } from "./tool-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: () => Service29,
68
+ Service: () => Service25,
69
69
  SessionMove: () => exports_move,
70
- node: () => node33
70
+ node: () => node28
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 Service29 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service25 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service29, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service25, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
- const projects = yield* Service87;
92
- const locations = yield* Service72;
93
- const store = yield* Service63;
94
- const execution = yield* Service43;
95
- const instances = yield* Service46;
96
- const admission = yield* Service45;
91
+ const projects = yield* Service86;
92
+ const locations = yield* Service60;
93
+ const store = yield* Service68;
94
+ const execution = yield* Service39;
95
+ const instances = yield* Service42;
96
+ const admission = yield* Service41;
97
97
  const database = yield* Service91;
98
98
  const bus = yield* Service90;
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 NotFoundError11({ sessionID });
102
+ return yield* new NotFoundError12({ 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(Service29, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service44.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* Service40.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 Service29.of({
136
+ return Service25.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(Service29, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node33 = makeGlobalNode({
167
- service: Service29,
166
+ var node28 = makeGlobalNode({
167
+ service: Service25,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
- node91,
173
- node75,
174
- node66,
175
- node47,
176
- node49,
177
- node48,
172
+ node90,
173
+ node63,
174
+ node71,
175
+ node42,
176
+ node44,
177
+ node43,
178
178
  node95,
179
179
  node94,
180
- node34
180
+ node29
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service29, node33, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service25, node28, exports_move };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  latest2,
3
- Service77
4
- } from "./worktree-sycm2b37.js";
3
+ Service73
4
+ } from "./tool-sgzhenxf.js";
5
5
  import {
6
6
  observe2
7
- } from "./worktree-mm06edep.js";
7
+ } from "./tool-mm06edep.js";
8
8
  import {
9
9
  invocation2,
10
- Service61
11
- } from "./worktree-exx5afb5.js";
10
+ Service66
11
+ } from "./tool-eqkq82nh.js";
12
12
  import {
13
13
  __export
14
- } from "./worktree-9rqn6x4v.js";
14
+ } from "./tool-9rqn6x4v.js";
15
15
 
16
16
  // src/tool/plugin/todo.ts
17
17
  var exports_todo = {};
18
18
  __export(exports_todo, {
19
19
  Info: () => Info2,
20
- Input: () => Input10,
21
- Output: () => Output6,
22
- Plugin: () => Plugin27,
20
+ Input: () => Input4,
21
+ Output: () => Output3,
22
+ Plugin: () => Plugin42,
23
23
  TodoTool: () => exports_todo,
24
- name: () => name10,
24
+ name: () => name4,
25
25
  summarize: () => summarize2
26
26
  });
27
27
  import { ToolFailure } from "@opencode/ai/effect";
@@ -38,17 +38,17 @@ Use it proactively when a task has 3 or more distinct steps, or when the user gi
38
38
  `;
39
39
 
40
40
  // src/tool/plugin/todo.ts
41
- var name10 = "todowrite";
41
+ var name4 = "todowrite";
42
42
  var Info2 = Schema.Struct({
43
43
  content: Schema.String.annotate({ description: "Brief description of the task" }),
44
44
  status: Schema.Literals(["pending", "in_progress", "completed", "cancelled"]).annotate({
45
45
  description: "Current status of the task: pending, in_progress, completed, cancelled"
46
46
  })
47
47
  });
48
- var Input10 = Schema.Struct({
48
+ var Input4 = Schema.Struct({
49
49
  todos: Schema.Array(Info2).annotate({ description: "The updated todo list" })
50
50
  });
51
- var Output6 = Schema.Struct({
51
+ var Output3 = Schema.Struct({
52
52
  todos: Schema.Array(Info2)
53
53
  });
54
54
  var summarize2 = (todos) => {
@@ -62,24 +62,24 @@ var summarize2 = (todos) => {
62
62
  const active = todos.filter((todo) => todo.status === "in_progress").map((todo) => JSON.stringify(todo.content));
63
63
  return `Todos updated: ${counts}${active.length ? `. In progress: ${active.join(", ")}` : ""}`;
64
64
  };
65
- var Plugin27 = {
65
+ var Plugin42 = {
66
66
  id: "opencode.tool.todo",
67
67
  effect: Effect.fn("TodoTool.Plugin")(function* (ctx) {
68
- const config = yield* Service77;
69
- const permission = yield* Service61;
68
+ const config = yield* Service73;
69
+ const permission = yield* Service66;
70
70
  const loaded = yield* observe2(config, ctx.event, ctx.tool.reload());
71
71
  const enabled = () => latest2(loaded.entries, "experimental")?.todo === true;
72
72
  yield* ctx.tool.transform((editor) => {
73
73
  if (!enabled())
74
74
  return;
75
75
  editor.add({
76
- name: name10,
76
+ name: name4,
77
77
  options: { codemode: false },
78
78
  description: todowrite_default,
79
- input: Input10,
80
- output: Output6,
79
+ input: Input4,
80
+ output: Output3,
81
81
  execute: (input, context) => permission.assert({
82
- action: name10,
82
+ action: name4,
83
83
  resources: ["*"],
84
84
  save: ["*"],
85
85
  ...invocation2(context)
@@ -93,4 +93,4 @@ var Plugin27 = {
93
93
  })
94
94
  };
95
95
 
96
- export { name10, Info2, Input10, Output6, summarize2, Plugin27, exports_todo };
96
+ export { name4, Info2, Input4, Output3, summarize2, Plugin42, exports_todo };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  Service90
3
- } from "./worktree-at8vr1jg.js";
3
+ } from "./tool-5r3wrmp5.js";
4
4
  import {
5
- Event19
6
- } from "./worktree-rqyv1z04.js";
5
+ Event18
6
+ } from "./tool-3pkw540f.js";
7
7
  import {
8
8
  key2
9
- } from "./worktree-6dqyy18z.js";
9
+ } from "./tool-6dqyy18z.js";
10
10
  import {
11
11
  interval2
12
- } from "./worktree-c32zfq3f.js";
12
+ } from "./tool-djadtdmr.js";
13
13
  import {
14
14
  __export
15
- } from "./worktree-9rqn6x4v.js";
15
+ } from "./tool-9rqn6x4v.js";
16
16
 
17
17
  // src/plugin/provider/refresh.ts
18
18
  var exports_refresh = {};
@@ -26,7 +26,7 @@ __export(exports_refresh, {
26
26
  import { Duration, Effect, Equal, Fiber, FiberHandle, Semaphore, Stream } from "effect";
27
27
  var onSwitch2 = (integrationID, effect) => Effect.gen(function* () {
28
28
  const bus = yield* Service90;
29
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => effect), Effect.forkScoped({ startImmediately: true }));
29
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => effect), Effect.forkScoped({ startImmediately: true }));
30
30
  });
31
31
  var reloadIfChanged2 = (load, reload) => load.pipe(Effect.flatMap((changed) => changed ? reload : Effect.void));
32
32
  var switched2 = (load, apply) => Effect.gen(function* () {
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service91,
3
3
  node95
4
- } from "./worktree-pz7ryx86.js";
4
+ } from "./tool-2r8wnwkh.js";
5
5
  import {
6
6
  Service90,
7
7
  node94
8
- } from "./worktree-at8vr1jg.js";
8
+ } from "./tool-5r3wrmp5.js";
9
9
  import {
10
- Service47,
11
- node50
12
- } from "./worktree-dthn5xfm.js";
10
+ Service43,
11
+ node45
12
+ } from "./tool-ppedw7jc.js";
13
13
  import {
14
- Service46,
15
- node49
16
- } from "./worktree-q6bn7qw5.js";
14
+ Service42,
15
+ node44
16
+ } from "./tool-4bwthz3m.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./worktree-ec1grn59.js";
19
+ } from "./tool-ec1grn59.js";
20
20
  import {
21
- make26
22
- } from "./worktree-k3cx6fhe.js";
21
+ make27
22
+ } from "./tool-qsdghx1p.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service44
26
- } from "./worktree-ztf6n3de.js";
25
+ Service40
26
+ } from "./tool-h0rg6s60.js";
27
27
  import {
28
- Service63,
29
- node66
30
- } from "./worktree-60zd28f7.js";
28
+ Service68,
29
+ node71
30
+ } from "./tool-9m4t11kw.js";
31
31
  import {
32
32
  toSessionError2
33
- } from "./worktree-pr7ytc8h.js";
33
+ } from "./tool-pebg18yw.js";
34
34
  import {
35
35
  nextPromotable2
36
- } from "./worktree-961snsdf.js";
36
+ } from "./tool-g70vkb7s.js";
37
37
  import {
38
38
  __export
39
- } from "./worktree-9rqn6x4v.js";
39
+ } from "./tool-9rqn6x4v.js";
40
40
 
41
41
  // src/session/execution.ts
42
42
  var exports_execution = {};
43
43
  __export(exports_execution, {
44
- Service: () => Service43,
44
+ Service: () => Service39,
45
45
  SessionExecution: () => exports_execution,
46
- layer: () => layer19,
47
- node: () => node47,
46
+ layer: () => layer17,
47
+ node: () => node42,
48
48
  noopLayer: () => noopLayer2,
49
49
  terminal: () => terminal2
50
50
  });
51
51
  import { Cause, Context, Effect, Exit, Layer } from "effect";
52
52
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
53
- class Service43 extends Context.Service()("@opencode/SessionExecution") {
53
+ class Service39 extends Context.Service()("@opencode/SessionExecution") {
54
54
  }
55
55
  function terminal2(exit, reason) {
56
56
  if (Exit.isSuccess(exit))
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
59
59
  return { type: "interrupted", reason: reason ?? "shutdown" };
60
60
  return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
61
61
  }
62
- var layer19 = Layer.effect(Service43, Effect.gen(function* () {
63
- const store = yield* Service63;
64
- const instances = yield* Service46;
62
+ var layer17 = Layer.effect(Service39, Effect.gen(function* () {
63
+ const store = yield* Service68;
64
+ const instances = yield* Service42;
65
65
  const bus = yield* Service90;
66
- const jobs = yield* Service47;
66
+ const jobs = yield* Service43;
67
67
  const db = (yield* Service91).db;
68
68
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
69
69
  const claimOnCommit = (sessionID) => ({
@@ -76,14 +76,14 @@ var layer19 = Layer.effect(Service43, Effect.gen(function* () {
76
76
  const session = yield* store.get(sessionID);
77
77
  if (!session)
78
78
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
79
- const result = yield* Service44.use((runner) => runner.drain({ sessionID, force, continuation, promotable, stepped })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
79
+ const result = yield* Service40.use((runner) => runner.drain({ sessionID, force, continuation, promotable, stepped })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
80
80
  return yield* DrainResult2.$match(result, {
81
81
  Complete: () => Effect.void,
82
82
  Moved: (result) => drain(sessionID, false, result.continuation, promotable, result.stepped),
83
83
  Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable, result.stepped)
84
84
  });
85
85
  });
86
- const coordinator = yield* make26({
86
+ const coordinator = yield* make27({
87
87
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
88
88
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
89
89
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -104,7 +104,7 @@ var layer19 = Layer.effect(Service43, Effect.gen(function* () {
104
104
  }, releaseOnCommit(sessionID));
105
105
  }))
106
106
  });
107
- return Service43.of({
107
+ return Service39.of({
108
108
  active: coordinator.active,
109
109
  isActive: coordinator.isActive,
110
110
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -123,12 +123,12 @@ var layer19 = Layer.effect(Service43, Effect.gen(function* () {
123
123
  awaitIdle: coordinator.awaitIdle
124
124
  });
125
125
  }));
126
- var node47 = makeGlobalNode({
127
- service: Service43,
128
- layer: layer19,
129
- deps: [node66, node49, node94, node95, node50]
126
+ var node42 = makeGlobalNode({
127
+ service: Service39,
128
+ layer: layer17,
129
+ deps: [node71, node44, node94, node95, node45]
130
130
  });
131
- var noopLayer2 = Layer.succeed(Service43, Service43.of({
131
+ var noopLayer2 = Layer.succeed(Service39, Service39.of({
132
132
  active: Effect.succeed(new Set),
133
133
  isActive: () => Effect.succeed(false),
134
134
  resume: () => Effect.void,
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service43, Service43.of({
137
137
  awaitIdle: () => Effect.void
138
138
  }));
139
139
 
140
- export { Service43, terminal2, layer19, node47, noopLayer2, exports_execution };
140
+ export { Service39, terminal2, layer17, node42, noopLayer2, exports_execution };
@@ -1,12 +1,12 @@
1
1
  import {
2
- Service61
3
- } from "./worktree-exx5afb5.js";
2
+ Service66
3
+ } from "./tool-eqkq82nh.js";
4
4
  import {
5
- Service53
6
- } from "./worktree-0sx8rwxa.js";
5
+ Service63
6
+ } from "./tool-tt9rk80g.js";
7
7
  import {
8
8
  __export
9
- } from "./worktree-9rqn6x4v.js";
9
+ } from "./tool-9rqn6x4v.js";
10
10
 
11
11
  // src/codemode/fetch.ts
12
12
  var exports_fetch = {};
@@ -26,9 +26,12 @@ var fetch = (input, init = {}) => Effect.gen(function* () {
26
26
  return yield* Effect.fail(new TypeError(`fetch received an invalid URL: ${String(input)}`));
27
27
  if (parsed.protocol === "file:")
28
28
  return yield* Effect.fail(new Error("fetch cannot be used for filesystem access."));
29
+ if (parsed.username || parsed.password)
30
+ return yield* Effect.fail(new TypeError("fetch cannot be used with credentials in the URL."));
31
+ parsed.hash = "";
29
32
  const url = parsed.href;
30
- const execution = yield* Service53;
31
- const permission = yield* Service61;
33
+ const execution = yield* Service63;
34
+ const permission = yield* Service66;
32
35
  const source = { type: "tool", messageID: execution.messageID, id: execution.id };
33
36
  yield* permission.assert({
34
37
  action: "webfetch",
@@ -60,6 +63,9 @@ var fetch = (input, init = {}) => Effect.gen(function* () {
60
63
  const next = new URL(location, target);
61
64
  if (next.protocol !== "http:" && next.protocol !== "https:")
62
65
  return Effect.fail(new Error(`fetch cannot follow a redirect to ${next.protocol} URLs.`));
66
+ if (next.username || next.password)
67
+ return Effect.fail(new Error("fetch cannot follow a redirect with credentials in the URL."));
68
+ next.hash = "";
63
69
  return check(next.href).pipe(Effect.andThen(follow(next.href, redirected(request, response.status, target, next), redirects + 1)));
64
70
  }));
65
71
  const result = yield* follow(url, init, 0);
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/session/background.ts
6
6
  var exports_background = {};
7
7
  __export(exports_background, {
8
8
  SessionBackground: () => exports_background,
9
- list: () => list2,
9
+ list: () => list3,
10
10
  outstanding: () => outstanding2
11
11
  });
12
12
  import { Effect } from "effect";
@@ -32,7 +32,7 @@ var outstanding2 = Effect.fnUntraced(function* (jobs, store, sessionID) {
32
32
  };
33
33
  });
34
34
  });
35
- var list2 = Effect.fn("SessionBackground.list")(function* (jobs, store, filter = {}) {
35
+ var list3 = Effect.fn("SessionBackground.list")(function* (jobs, store, filter = {}) {
36
36
  const items = (yield* jobs.backgroundJobs).filter((item) => (filter.kind === undefined || item.kind === filter.kind) && (filter.status === undefined || item.status === filter.status));
37
37
  if (filter.sessionID === undefined)
38
38
  return items;
@@ -61,4 +61,4 @@ var descends = Effect.fnUntraced(function* (store, parents, from, ancestor) {
61
61
  return false;
62
62
  });
63
63
 
64
- export { outstanding2, list2, exports_background };
64
+ export { outstanding2, list3, exports_background };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./worktree-z5v4ffb3.js";
3
+ } from "./tool-z5v4ffb3.js";
4
4
  import {
5
- Service77
6
- } from "./worktree-sycm2b37.js";
5
+ Service73
6
+ } from "./tool-sgzhenxf.js";
7
7
  import {
8
- Info11,
9
- ID10,
8
+ Info12,
9
+ ID9,
10
10
  Name2
11
- } from "./worktree-r0whk7ma.js";
11
+ } from "./tool-mycg523h.js";
12
12
  import {
13
13
  __export
14
- } from "./worktree-9rqn6x4v.js";
14
+ } from "./tool-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
- var exports_skill3 = {};
18
- __export(exports_skill3, {
17
+ var exports_skill = {};
18
+ __export(exports_skill, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin45,
21
+ Plugin: () => Plugin11,
22
22
  ReportContent: () => ReportContent2,
23
- SkillPlugin: () => exports_skill3
23
+ SkillPlugin: () => exports_skill
24
24
  });
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
26
  import { Effect } from "effect";
@@ -430,20 +430,20 @@ var OpencodeContent2 = opencode_default;
430
430
  var ReportContent2 = report_default;
431
431
  var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
432
432
  var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
433
- var Plugin45 = define({
433
+ var Plugin11 = define({
434
434
  id: "opencode.skill",
435
435
  effect: Effect.fn(function* (ctx) {
436
436
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
437
437
  yield* ctx.skill.transform((editor) => {
438
- editor.add(Info11.make({
439
- id: ID10.make("opencode"),
438
+ editor.add(Info12.make({
439
+ id: ID9.make("opencode"),
440
440
  name: Name2.make("OpenCode"),
441
441
  description: OpencodeDescription2,
442
442
  path: AbsolutePath2.make("skill://opencode/SKILL.md"),
443
443
  content: OpencodeContent2
444
444
  }));
445
- editor.add(Info11.make({
446
- id: ID10.make("report"),
445
+ editor.add(Info12.make({
446
+ id: ID9.make("report"),
447
447
  name: Name2.make("Report"),
448
448
  description: REPORT_DESCRIPTION,
449
449
  path: AbsolutePath2.make("skill://report/SKILL.md"),
@@ -472,7 +472,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
472
472
  `);
473
473
  });
474
474
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
475
- const config = yield* Service77;
475
+ const config = yield* Service73;
476
476
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
477
477
  });
478
478
  function terminal() {
@@ -486,4 +486,4 @@ function shell() {
486
486
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
487
487
  }
488
488
 
489
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin45, exports_skill3 };
489
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin11, exports_skill };
@@ -3,7 +3,7 @@ import {
3
3
  summarize3,
4
4
  namespaceLine2,
5
5
  exports_catalog
6
- } from "../chunks/worktree-fffv3p7h.js";
6
+ } from "../chunks/tool-fffv3p7h.js";
7
7
  export {
8
8
  exports_catalog as CodeModeCatalog,
9
9
  Summary2 as Summary,
@@ -1,8 +1,8 @@
1
1
  import {
2
- Service53,
2
+ Service63,
3
3
  exports_execution2
4
- } from "../chunks/worktree-0sx8rwxa.js";
4
+ } from "../chunks/tool-tt9rk80g.js";
5
5
  export {
6
6
  exports_execution2 as CodeModeExecution,
7
- Service53 as Service
7
+ Service63 as Service
8
8
  };