@opencode/core 0.0.0-dev-605 → 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 +94 -94
  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 +236 -236
  7. package/dist/bus.js +84 -84
  8. package/dist/chunks/{repository-cache-aj7mw0zk.js → tool-034tev2y.js} +2 -2
  9. package/dist/chunks/{repository-cache-fy5egg00.js → tool-04r04va6.js} +4 -4
  10. package/dist/chunks/{repository-cache-xjbsd7zy.js → tool-04whjz6n.js} +9 -9
  11. package/dist/chunks/{repository-cache-cpvd08na.js → tool-0ahs07zn.js} +4 -4
  12. package/dist/chunks/{repository-cache-kqfwe6fh.js → tool-0b12brbm.js} +23 -23
  13. package/dist/chunks/{repository-cache-p2tq4kr4.js → tool-0bgjjgx2.js} +4 -4
  14. package/dist/chunks/{repository-cache-31hb070v.js → tool-0hknrezz.js} +25 -25
  15. package/dist/chunks/{repository-cache-sqjzf8x2.js → tool-0j7gp832.js} +4 -4
  16. package/dist/chunks/{repository-cache-0ma9gw4f.js → tool-0ma9gw4f.js} +2 -2
  17. package/dist/chunks/{repository-cache-n8p1a6g7.js → tool-0mv06tb8.js} +24 -24
  18. package/dist/chunks/{repository-cache-96w3k37w.js → tool-0zrc1hgf.js} +40 -40
  19. package/dist/chunks/{repository-cache-sqtk4kde.js → tool-1555t097.js} +17 -17
  20. package/dist/chunks/tool-19r7p8qd.js +26 -0
  21. package/dist/chunks/{repository-cache-1aqsckx4.js → tool-1aqsckx4.js} +1 -1
  22. package/dist/chunks/{repository-cache-q5kt2txt.js → tool-1brsnn94.js} +2 -2
  23. package/dist/chunks/{repository-cache-27w5k9zf.js → tool-1ep2p91f.js} +2 -2
  24. package/dist/chunks/{repository-cache-sm0v90f9.js → tool-1hw98qrx.js} +8 -8
  25. package/dist/chunks/{repository-cache-9mrfv1j4.js → tool-1j4h07zs.js} +12 -12
  26. package/dist/chunks/{repository-cache-m5m4mawt.js → tool-1nhv4g69.js} +23 -23
  27. package/dist/chunks/{repository-cache-pkmmfs3s.js → tool-1qtvm13f.js} +32 -32
  28. package/dist/chunks/{repository-cache-ysbrq79k.js → tool-1rapdk7p.js} +31 -31
  29. package/dist/chunks/{repository-cache-ybws1qgk.js → tool-1v2g13eq.js} +4 -4
  30. package/dist/chunks/{repository-cache-9a7pwgbe.js → tool-1wkggrjf.js} +6 -6
  31. package/dist/chunks/{repository-cache-1x2knyw4.js → tool-1x2knyw4.js} +1 -1
  32. package/dist/chunks/{repository-cache-bdhd9h6e.js → tool-1yq9hg58.js} +5 -5
  33. package/dist/chunks/{repository-cache-7f2htwtk.js → tool-1zc261y1.js} +8 -8
  34. package/dist/chunks/{repository-cache-94t12mdt.js → tool-28rx08cw.js} +31 -31
  35. package/dist/chunks/{repository-cache-c82xecz8.js → tool-29vsvq2t.js} +8 -8
  36. package/dist/chunks/{repository-cache-ecgv8t09.js → tool-2dkpp6r2.js} +11 -11
  37. package/dist/chunks/{repository-cache-hnb0d39k.js → tool-2dq8jpdd.js} +6 -6
  38. package/dist/chunks/{repository-cache-1ks5bmjz.js → tool-2k9qpqfa.js} +28 -28
  39. package/dist/chunks/{repository-cache-2kg89srt.js → tool-2kg89srt.js} +1 -1
  40. package/dist/chunks/tool-2kkp9s70.js +571 -0
  41. package/dist/chunks/{repository-cache-bsjf3n8a.js → tool-2na6qge8.js} +25 -25
  42. package/dist/chunks/{repository-cache-ewan1qgf.js → tool-2p1fyn1z.js} +59 -59
  43. package/dist/chunks/{repository-cache-s1ba0vj0.js → tool-2p60zmnr.js} +2 -2
  44. package/dist/chunks/{repository-cache-bq8k2rb4.js → tool-2qgmh7f2.js} +32 -32
  45. package/dist/chunks/{repository-cache-xk70r0xg.js → tool-2r8wnwkh.js} +11 -11
  46. package/dist/chunks/{repository-cache-kt9nnfjs.js → tool-2s7a5cr8.js} +54 -54
  47. package/dist/chunks/{repository-cache-k55yvrq8.js → tool-2y0y3f74.js} +18 -18
  48. package/dist/chunks/{repository-cache-gyh9cr2k.js → tool-2y3daeve.js} +18 -18
  49. package/dist/chunks/{repository-cache-8nxj1m7z.js → tool-34kmj136.js} +15 -15
  50. package/dist/chunks/{repository-cache-v2x3jtqh.js → tool-35fxc5rr.js} +3 -3
  51. package/dist/chunks/{repository-cache-d9qsesfx.js → tool-3669yegd.js} +40 -40
  52. package/dist/chunks/{repository-cache-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
  53. package/dist/chunks/{repository-cache-r8ne8z0s.js → tool-3kc70r3e.js} +17 -17
  54. package/dist/chunks/{repository-cache-tmc7xdjs.js → tool-3nnrz6f6.js} +4 -4
  55. package/dist/chunks/{repository-cache-by7xstp6.js → tool-3pkw540f.js} +35 -35
  56. package/dist/chunks/{repository-cache-p5tk1xdz.js → tool-3qevzq3v.js} +8 -8
  57. package/dist/chunks/{repository-cache-pc5xv1xx.js → tool-3w3bwa55.js} +12 -12
  58. package/dist/chunks/{repository-cache-z0cbg25n.js → tool-40dmbkek.js} +26 -26
  59. package/dist/chunks/{repository-cache-40y6dtc2.js → tool-40y6dtc2.js} +1 -1
  60. package/dist/chunks/{repository-cache-40za9wsf.js → tool-40za9wsf.js} +2 -2
  61. package/dist/chunks/{repository-cache-g84d5t96.js → tool-44fq2p83.js} +5 -5
  62. package/dist/chunks/{repository-cache-jxd6f16v.js → tool-44pmzq9c.js} +2 -2
  63. package/dist/chunks/{repository-cache-3417we6b.js → tool-46eaz8xc.js} +20 -20
  64. package/dist/chunks/{repository-cache-zybks6b0.js → tool-47p5bcf3.js} +5 -5
  65. package/dist/chunks/{repository-cache-rhrvxtbv.js → tool-47xhmy8n.js} +5 -5
  66. package/dist/chunks/{repository-cache-wa8k00xj.js → tool-4bwthz3m.js} +6 -6
  67. package/dist/chunks/{repository-cache-qew61d36.js → tool-4dn934sm.js} +18 -18
  68. package/dist/chunks/{repository-cache-4dx1dgte.js → tool-4dx1dgte.js} +1 -1
  69. package/dist/chunks/{repository-cache-4f25tdd0.js → tool-4f25tdd0.js} +1 -1
  70. package/dist/chunks/{repository-cache-6rqkmd8e.js → tool-4kfzmx5g.js} +2 -2
  71. package/dist/chunks/{repository-cache-4pyp9zr9.js → tool-4pyp9zr9.js} +1 -1
  72. package/dist/chunks/{repository-cache-4v008n1t.js → tool-4v008n1t.js} +1 -1
  73. package/dist/chunks/{repository-cache-0ejkdvg9.js → tool-4z0mnfsb.js} +193 -193
  74. package/dist/chunks/{repository-cache-a3fn0gmm.js → tool-55g2q5p5.js} +2 -2
  75. package/dist/chunks/{repository-cache-3vnxarw0.js → tool-57a3gt61.js} +8 -8
  76. package/dist/chunks/{repository-cache-1bhkzdch.js → tool-5eh5vnwa.js} +17 -17
  77. package/dist/chunks/{repository-cache-twgcqmbs.js → tool-5jgwgsds.js} +33 -33
  78. package/dist/chunks/{repository-cache-bjtg0brr.js → tool-5kn2gf19.js} +9 -9
  79. package/dist/chunks/{repository-cache-5m9w47nd.js → tool-5m9w47nd.js} +1 -1
  80. package/dist/chunks/{repository-cache-2bzd8xhn.js → tool-5r3wrmp5.js} +16 -16
  81. package/dist/chunks/{repository-cache-k4w24gzt.js → tool-5vnxagfg.js} +20 -20
  82. package/dist/chunks/{repository-cache-s1dbe4ph.js → tool-5vzkvv7b.js} +17 -17
  83. package/dist/chunks/{repository-cache-5whx36p1.js → tool-5whx36p1.js} +1 -1
  84. package/dist/chunks/{repository-cache-6y9mx2ek.js → tool-5y3wp1ns.js} +20 -20
  85. package/dist/chunks/{repository-cache-25x0fh9y.js → tool-6015y25q.js} +19 -19
  86. package/dist/chunks/{repository-cache-0xmsj0de.js → tool-60scttwb.js} +6 -6
  87. package/dist/chunks/{repository-cache-530xg6vw.js → tool-65zzbc8y.js} +6 -6
  88. package/dist/chunks/{repository-cache-963hk181.js → tool-68cs06h1.js} +5 -5
  89. package/dist/chunks/{repository-cache-bb3pv0r8.js → tool-6cqkw5v2.js} +7 -7
  90. package/dist/chunks/{repository-cache-jhwp234h.js → tool-6dqyy18z.js} +4 -4
  91. package/dist/chunks/{repository-cache-vajcf8z8.js → tool-6fj7drec.js} +8 -8
  92. package/dist/chunks/{repository-cache-mw6xpct4.js → tool-6fwyg1ss.js} +31 -31
  93. package/dist/chunks/{repository-cache-z597atea.js → tool-6yc1yn4a.js} +12 -12
  94. package/dist/chunks/{repository-cache-24n4d6cx.js → tool-6yebzpzq.js} +24 -24
  95. package/dist/chunks/tool-6zjm2phc.js +18 -0
  96. package/dist/chunks/{repository-cache-8n065enx.js → tool-71dvczxp.js} +25 -25
  97. package/dist/chunks/{repository-cache-zm7k6k12.js → tool-75c0yt7x.js} +24 -24
  98. package/dist/chunks/{repository-cache-qmncx9et.js → tool-772thxeb.js} +10 -10
  99. package/dist/chunks/{repository-cache-775hqbnd.js → tool-775hqbnd.js} +3 -3
  100. package/dist/chunks/{repository-cache-axm2n1bv.js → tool-77h00f9v.js} +45 -45
  101. package/dist/chunks/{repository-cache-kqz76vss.js → tool-78j7y49x.js} +6 -6
  102. package/dist/chunks/{repository-cache-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
  103. package/dist/chunks/{repository-cache-64c9es3a.js → tool-7f5g0fx5.js} +22 -22
  104. package/dist/chunks/{repository-cache-ezxsjh08.js → tool-7ft1dw8t.js} +10 -10
  105. package/dist/chunks/{repository-cache-7w2ypzdf.js → tool-7w2ypzdf.js} +1 -1
  106. package/dist/chunks/{repository-cache-7weczvnd.js → tool-7weczvnd.js} +1 -1
  107. package/dist/chunks/{repository-cache-fg6qht7z.js → tool-84483szx.js} +23 -23
  108. package/dist/chunks/{repository-cache-89287pr7.js → tool-89287pr7.js} +1 -1
  109. package/dist/chunks/{repository-cache-25h84942.js → tool-8b3vzgkx.js} +4 -4
  110. package/dist/chunks/{repository-cache-x3nq4fqn.js → tool-8ggfwbsw.js} +10 -10
  111. package/dist/chunks/{repository-cache-1j777bfw.js → tool-8qmf4c22.js} +15 -15
  112. package/dist/chunks/{repository-cache-bb3mmwvh.js → tool-8sxe6kv8.js} +2 -2
  113. package/dist/chunks/{repository-cache-3qgwywyc.js → tool-8t99kr38.js} +4 -4
  114. package/dist/chunks/{repository-cache-26x8xhvd.js → tool-8vav0wt6.js} +33 -33
  115. package/dist/chunks/{repository-cache-8wtp7s3z.js → tool-8wtp7s3z.js} +1 -1
  116. package/dist/chunks/{repository-cache-1veh5y7b.js → tool-8ww1xt0h.js} +18 -18
  117. package/dist/chunks/tool-8x4h6gj5.js +265 -0
  118. package/dist/chunks/{repository-cache-j8sdmxac.js → tool-8yf6c4ws.js} +5 -5
  119. package/dist/chunks/{repository-cache-anvcme1c.js → tool-90ct6wq4.js} +4 -4
  120. package/dist/chunks/{repository-cache-90zstvax.js → tool-90zstvax.js} +1 -1
  121. package/dist/chunks/{repository-cache-ayf0r5fr.js → tool-99b14w1w.js} +16 -16
  122. package/dist/chunks/{repository-cache-j29phncd.js → tool-9hnph9wg.js} +33 -33
  123. package/dist/chunks/{repository-cache-smhgbwgb.js → tool-9m4t11kw.js} +15 -15
  124. package/dist/chunks/{repository-cache-9dwca51d.js → tool-9n2jx8hn.js} +38 -38
  125. package/dist/chunks/{repository-cache-t68b6a1a.js → tool-9v4dp1sv.js} +46 -46
  126. package/dist/chunks/{repository-cache-vbegfqj5.js → tool-9xkpsvpb.js} +22 -22
  127. package/dist/chunks/{repository-cache-9zwexsxs.js → tool-9zwexsxs.js} +2 -2
  128. package/dist/chunks/{repository-cache-0hyhtq4c.js → tool-a93bg3fh.js} +4 -4
  129. package/dist/chunks/{repository-cache-0hq8hh55.js → tool-aapszx4f.js} +4 -4
  130. package/dist/chunks/{repository-cache-3cbjf1nt.js → tool-ayjs7tqn.js} +2 -2
  131. package/dist/chunks/{repository-cache-b6vsg801.js → tool-b6vsg801.js} +2 -2
  132. package/dist/chunks/{repository-cache-n1wvmqaw.js → tool-bm60jz01.js} +12 -12
  133. package/dist/chunks/{repository-cache-qj27ec1j.js → tool-bqa8ney4.js} +4 -4
  134. package/dist/chunks/{repository-cache-bstexjd6.js → tool-bstexjd6.js} +1 -1
  135. package/dist/chunks/{repository-cache-cwy0vxkf.js → tool-bt50pbny.js} +24 -24
  136. package/dist/chunks/{repository-cache-24abvbg3.js → tool-c5xfa1xp.js} +36 -36
  137. package/dist/chunks/{repository-cache-c5zvymhv.js → tool-c5zvymhv.js} +1 -1
  138. package/dist/chunks/{repository-cache-t62dywgn.js → tool-c7r9599d.js} +6 -6
  139. package/dist/chunks/{repository-cache-h861acdj.js → tool-c9djvm77.js} +41 -41
  140. package/dist/chunks/{repository-cache-9jtk5nne.js → tool-cc953ej2.js} +9 -9
  141. package/dist/chunks/{repository-cache-9f3jsh1d.js → tool-ctmpqb7w.js} +9 -9
  142. package/dist/chunks/{repository-cache-cwrgdav8.js → tool-cwrgdav8.js} +2 -2
  143. package/dist/chunks/{repository-cache-nyxvvj5y.js → tool-czwy3yzx.js} +7 -7
  144. package/dist/chunks/{repository-cache-d4v9tmah.js → tool-d4v9tmah.js} +2 -2
  145. package/dist/chunks/{repository-cache-pz0sfbj3.js → tool-db4seax3.js} +11 -11
  146. package/dist/chunks/{repository-cache-r0m92t3y.js → tool-dd57nsvn.js} +8 -8
  147. package/dist/chunks/{repository-cache-0xx27840.js → tool-debd8pf3.js} +5 -5
  148. package/dist/chunks/{repository-cache-djadtdmr.js → tool-djadtdmr.js} +1 -1
  149. package/dist/chunks/{repository-cache-zh3qqm7s.js → tool-dqmkpjk4.js} +18 -18
  150. package/dist/chunks/{repository-cache-dt77769w.js → tool-dt77769w.js} +1 -1
  151. package/dist/chunks/{repository-cache-g3s7hktw.js → tool-e0d96e0q.js} +8 -8
  152. package/dist/chunks/{repository-cache-3xvjtn27.js → tool-e53hqhbg.js} +34 -34
  153. package/dist/chunks/{repository-cache-e834z07m.js → tool-e834z07m.js} +1 -1
  154. package/dist/chunks/{repository-cache-g4qx8njx.js → tool-ejt8ytt0.js} +10 -10
  155. package/dist/chunks/{repository-cache-k53hj7rs.js → tool-enaqqywp.js} +17 -17
  156. package/dist/chunks/{repository-cache-m4kbpbwy.js → tool-eqkq82nh.js} +45 -45
  157. package/dist/chunks/{repository-cache-phybxfj4.js → tool-eqrv7k0x.js} +22 -22
  158. package/dist/chunks/{repository-cache-eqw4pqj1.js → tool-eqw4pqj1.js} +2 -2
  159. package/dist/chunks/{repository-cache-8mst53cj.js → tool-ew00rcme.js} +35 -35
  160. package/dist/chunks/{repository-cache-j1w6jv9f.js → tool-f3h7dwma.js} +3 -3
  161. package/dist/chunks/{repository-cache-h5km7rmp.js → tool-faaqe93r.js} +48 -48
  162. package/dist/chunks/{repository-cache-gkyhj69x.js → tool-few90dvn.js} +43 -43
  163. package/dist/chunks/{repository-cache-fffv3p7h.js → tool-fffv3p7h.js} +1 -1
  164. package/dist/chunks/{repository-cache-dvnqv6yn.js → tool-fmjsjtqm.js} +4 -4
  165. package/dist/chunks/{repository-cache-qp1j9gx1.js → tool-fretqggx.js} +18 -18
  166. package/dist/chunks/{repository-cache-w6312yaw.js → tool-fvypmx9y.js} +22 -22
  167. package/dist/chunks/{repository-cache-rvc92y6q.js → tool-fwqqjaak.js} +15 -15
  168. package/dist/chunks/{repository-cache-d557ra3j.js → tool-fxgn3893.js} +15 -15
  169. package/dist/chunks/{repository-cache-k9d0tmsy.js → tool-g4yftf1w.js} +88 -88
  170. package/dist/chunks/{repository-cache-hxewmaf0.js → tool-g70vkb7s.js} +30 -30
  171. package/dist/chunks/{repository-cache-gbjdnr5j.js → tool-gbjdnr5j.js} +2 -2
  172. package/dist/chunks/{repository-cache-jbv7by8f.js → tool-gdqab8my.js} +5 -5
  173. package/dist/chunks/{repository-cache-ghrv1g9c.js → tool-ghrv1g9c.js} +1 -1
  174. package/dist/chunks/{repository-cache-26wfx3k0.js → tool-gmemj5zs.js} +4 -4
  175. package/dist/chunks/{repository-cache-gxs71cxp.js → tool-gxs71cxp.js} +1 -1
  176. package/dist/chunks/{repository-cache-y58zdc56.js → tool-h00e2jz3.js} +22 -22
  177. package/dist/chunks/{repository-cache-rcbjwvze.js → tool-h0rg6s60.js} +4 -4
  178. package/dist/chunks/{repository-cache-tfbh0ys0.js → tool-h1da92q3.js} +31 -31
  179. package/dist/chunks/{repository-cache-b0v1b7fn.js → tool-h6k67dd7.js} +20 -20
  180. package/dist/chunks/{repository-cache-s4dd1dkr.js → tool-h78x36nt.js} +13 -13
  181. package/dist/chunks/{repository-cache-8phvsahy.js → tool-haj538yg.js} +12 -12
  182. package/dist/chunks/{repository-cache-2zg8vxn7.js → tool-he2d4cv0.js} +15 -15
  183. package/dist/chunks/{repository-cache-7z4ak66b.js → tool-hjnjc3ts.js} +9 -9
  184. package/dist/chunks/{repository-cache-93ctvjtr.js → tool-hkajchxt.js} +15 -15
  185. package/dist/chunks/{repository-cache-v19wj8hw.js → tool-hqpnkr71.js} +1 -1
  186. package/dist/chunks/{repository-cache-nw32hq9a.js → tool-j5f9jgzm.js} +13 -13
  187. package/dist/chunks/{repository-cache-p4y4gte6.js → tool-j64v0wxx.js} +9 -9
  188. package/dist/chunks/{repository-cache-j9nxzz3g.js → tool-j9nxzz3g.js} +3 -3
  189. package/dist/chunks/{repository-cache-sspakpas.js → tool-jj3d0q0a.js} +11 -11
  190. package/dist/chunks/{repository-cache-bhfd478d.js → tool-jkdcm5hg.js} +4 -4
  191. package/dist/chunks/{repository-cache-xpxrcxw7.js → tool-jswra5yg.js} +11 -11
  192. package/dist/chunks/{repository-cache-vw7tgt0x.js → tool-k3pgnzh0.js} +20 -20
  193. package/dist/chunks/{repository-cache-wx3jdmfq.js → tool-k6r1bs0t.js} +20 -20
  194. package/dist/chunks/{repository-cache-tqhrmc4d.js → tool-k75at1a4.js} +8 -8
  195. package/dist/chunks/{repository-cache-s8w07hhj.js → tool-kf978mzt.js} +21 -21
  196. package/dist/chunks/{repository-cache-kh8gdsej.js → tool-kh8gdsej.js} +1 -1
  197. package/dist/chunks/{repository-cache-rfpd92cq.js → tool-kmq4a999.js} +11 -11
  198. package/dist/chunks/{repository-cache-hy8c1z76.js → tool-kmzgegqq.js} +8 -8
  199. package/dist/chunks/{repository-cache-2ra1cvjf.js → tool-kq17g8gv.js} +6 -6
  200. package/dist/chunks/{repository-cache-kzczzf4v.js → tool-kzczzf4v.js} +1 -1
  201. package/dist/chunks/{repository-cache-nn2nd58t.js → tool-kzdam8c6.js} +5 -5
  202. package/dist/chunks/{repository-cache-m1714858.js → tool-m1714858.js} +1 -1
  203. package/dist/chunks/{repository-cache-4ke1hpwn.js → tool-m76bysk3.js} +13 -13
  204. package/dist/chunks/{repository-cache-m8b0hmkn.js → tool-m9f5rdz9.js} +16 -16
  205. package/dist/chunks/{repository-cache-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
  206. package/dist/chunks/{repository-cache-8z6m94af.js → tool-mb7mbhnz.js} +3 -3
  207. package/dist/chunks/{repository-cache-yp198zx3.js → tool-mgrbscb1.js} +11 -11
  208. package/dist/chunks/{repository-cache-p07n1nra.js → tool-mh6aekfc.js} +25 -25
  209. package/dist/chunks/{repository-cache-mm06edep.js → tool-mm06edep.js} +1 -1
  210. package/dist/chunks/{repository-cache-a87ec6x6.js → tool-mnq1jwzt.js} +14 -14
  211. package/dist/chunks/{repository-cache-w2sb21bb.js → tool-mt3yb1mx.js} +11 -11
  212. package/dist/chunks/{repository-cache-fkteqegr.js → tool-mycg523h.js} +27 -27
  213. package/dist/chunks/{repository-cache-ssbjkerf.js → tool-mzf8qq5c.js} +11 -11
  214. package/dist/chunks/{repository-cache-9qsmkj40.js → tool-n00hnt5k.js} +11 -11
  215. package/dist/chunks/{repository-cache-mrgb2a4m.js → tool-nezv9r4s.js} +88 -88
  216. package/dist/chunks/{repository-cache-q94k5xag.js → tool-nh09tcxv.js} +13 -13
  217. package/dist/chunks/{repository-cache-fcepfbwx.js → tool-nhxnj8wq.js} +7 -7
  218. package/dist/chunks/{repository-cache-8zsy9fqe.js → tool-nn6t2hk7.js} +10 -10
  219. package/dist/chunks/{repository-cache-bz0790vs.js → tool-nrp7ym1y.js} +21 -21
  220. package/dist/chunks/{repository-cache-rj7jtxy8.js → tool-nt907s04.js} +3 -3
  221. package/dist/chunks/{repository-cache-me215f18.js → tool-nw5eecxx.js} +1 -1
  222. package/dist/chunks/{repository-cache-cb6hg470.js → tool-nwzg2a6d.js} +3 -3
  223. package/dist/chunks/{repository-cache-jx8bmjsr.js → tool-nzgq6x82.js} +4 -4
  224. package/dist/chunks/{repository-cache-ekkxmf4g.js → tool-p4a0yr3q.js} +10 -10
  225. package/dist/chunks/{repository-cache-6cv5ggqa.js → tool-p5shtcs3.js} +46 -46
  226. package/dist/chunks/{repository-cache-hng2z574.js → tool-p7vg4ymv.js} +8 -8
  227. package/dist/chunks/{repository-cache-4krr2nde.js → tool-p8pjvayg.js} +3 -3
  228. package/dist/chunks/{repository-cache-6pxkgvpn.js → tool-p8t94sdg.js} +7 -7
  229. package/dist/chunks/{repository-cache-y47xsr57.js → tool-pa056g0m.js} +18 -18
  230. package/dist/chunks/{repository-cache-ygwvpf8d.js → tool-pdvy17jd.js} +18 -18
  231. package/dist/chunks/{repository-cache-dt4jdg3a.js → tool-pebg18yw.js} +5 -5
  232. package/dist/chunks/{repository-cache-pknna89w.js → tool-pknna89w.js} +1 -1
  233. package/dist/chunks/{repository-cache-5fn96twt.js → tool-ppedw7jc.js} +16 -16
  234. package/dist/chunks/{repository-cache-fg9p65nk.js → tool-prq7xxp2.js} +6 -6
  235. package/dist/chunks/{repository-cache-begae6zc.js → tool-ptxs8w6f.js} +25 -25
  236. package/dist/chunks/{repository-cache-82phgae0.js → tool-pyc3gczw.js} +5 -5
  237. package/dist/chunks/{repository-cache-27hvkd05.js → tool-q2kq49nt.js} +11 -11
  238. package/dist/chunks/{repository-cache-4ac5e6w9.js → tool-q81kq6vk.js} +7 -7
  239. package/dist/chunks/{repository-cache-3n8f9t2c.js → tool-q8yjkgp4.js} +6 -6
  240. package/dist/chunks/{repository-cache-4d5w7vpt.js → tool-qd895tht.js} +35 -35
  241. package/dist/chunks/{repository-cache-qfz6bxfd.js → tool-qfz6bxfd.js} +1 -1
  242. package/dist/chunks/{repository-cache-pa6k4317.js → tool-qgcn30ny.js} +9 -9
  243. package/dist/chunks/{repository-cache-ncxak54a.js → tool-qhgzfx65.js} +94 -94
  244. package/dist/chunks/{repository-cache-rwk2fnkc.js → tool-qm1pyt2m.js} +3 -3
  245. package/dist/chunks/{repository-cache-qp7r0hxv.js → tool-qp7r0hxv.js} +1 -1
  246. package/dist/chunks/{repository-cache-maahcrgj.js → tool-qs1v69th.js} +16 -16
  247. package/dist/chunks/{repository-cache-qsdghx1p.js → tool-qsdghx1p.js} +1 -1
  248. package/dist/chunks/{repository-cache-27zyrpv6.js → tool-qv28rmvw.js} +9 -9
  249. package/dist/chunks/{repository-cache-6g3dkt3t.js → tool-qwfph5fh.js} +12 -12
  250. package/dist/chunks/{repository-cache-q5rkgeb7.js → tool-qxs6496v.js} +35 -35
  251. package/dist/chunks/{repository-cache-ddwaa558.js → tool-r96ere88.js} +4 -4
  252. package/dist/chunks/{repository-cache-rb9dy4dg.js → tool-rb9dy4dg.js} +1 -1
  253. package/dist/chunks/{repository-cache-cq64w893.js → tool-ret0xxsr.js} +36 -36
  254. package/dist/chunks/{repository-cache-xhc0sbzt.js → tool-rfrmsrgv.js} +5 -5
  255. package/dist/chunks/{repository-cache-rgc9cx3e.js → tool-rgc9cx3e.js} +2 -2
  256. package/dist/chunks/{repository-cache-q2yv65ar.js → tool-rgejq9ef.js} +20 -20
  257. package/dist/chunks/{repository-cache-qw2t3dzn.js → tool-rmv7fhs4.js} +6 -6
  258. package/dist/chunks/{repository-cache-xpsvaypt.js → tool-rp5s57se.js} +9 -9
  259. package/dist/chunks/{repository-cache-4dc9r7jw.js → tool-rqjqz1dx.js} +6 -6
  260. package/dist/chunks/{repository-cache-rt5dr6hb.js → tool-rt5dr6hb.js} +1 -1
  261. package/dist/chunks/{repository-cache-xw5mamnk.js → tool-rv2ck8m4.js} +18 -18
  262. package/dist/chunks/{repository-cache-t2w0276p.js → tool-rxs3kqv2.js} +6 -6
  263. package/dist/chunks/{repository-cache-35y1ta0e.js → tool-s0x6kf2p.js} +1 -1
  264. package/dist/chunks/{repository-cache-nhgkss9c.js → tool-s2d4b5x8.js} +7 -7
  265. package/dist/chunks/{repository-cache-cnh7rm97.js → tool-s818qefp.js} +5 -5
  266. package/dist/chunks/{repository-cache-7fc7hhs4.js → tool-s9m725b8.js} +33 -33
  267. package/dist/chunks/{repository-cache-sa3fpqfw.js → tool-sa3fpqfw.js} +2 -2
  268. package/dist/chunks/{repository-cache-sbya78hr.js → tool-sbya78hr.js} +1 -1
  269. package/dist/chunks/{repository-cache-2cdjxzfg.js → tool-sbz71ybr.js} +3 -3
  270. package/dist/chunks/{repository-cache-49hd1xwg.js → tool-sd2het5a.js} +8 -8
  271. package/dist/chunks/{repository-cache-zr3g104n.js → tool-senv5r2t.js} +31 -31
  272. package/dist/chunks/{repository-cache-rk0hf552.js → tool-sfnc6e8w.js} +24 -24
  273. package/dist/chunks/{repository-cache-d1bpbjnm.js → tool-sgzhenxf.js} +54 -54
  274. package/dist/chunks/{repository-cache-6h8zfbw9.js → tool-snkgcq6v.js} +3 -3
  275. package/dist/chunks/{repository-cache-v6nb87wz.js → tool-spbh5ss8.js} +6 -6
  276. package/dist/chunks/{repository-cache-2nkkrr4x.js → tool-ssx9tcnt.js} +6 -6
  277. package/dist/chunks/{repository-cache-svcy3p9a.js → tool-svcy3p9a.js} +1 -1
  278. package/dist/chunks/{repository-cache-96djdqw5.js → tool-szwm4crx.js} +4 -4
  279. package/dist/chunks/{repository-cache-0w3jajew.js → tool-t04y6rka.js} +30 -30
  280. package/dist/chunks/{repository-cache-a4qk5w5d.js → tool-t2kbrzxc.js} +31 -31
  281. package/dist/chunks/{repository-cache-874wyhaa.js → tool-t8nm1vpg.js} +32 -32
  282. package/dist/chunks/{repository-cache-qkc4txyr.js → tool-tah62rx7.js} +4 -4
  283. package/dist/chunks/{repository-cache-tczq8hjw.js → tool-tczq8hjw.js} +1 -1
  284. package/dist/chunks/{repository-cache-fksnpssn.js → tool-tfgq9ps6.js} +37 -37
  285. package/dist/chunks/{repository-cache-str9wgcc.js → tool-th2rzzzd.js} +51 -51
  286. package/dist/chunks/{repository-cache-p911a251.js → tool-tmsyzkdq.js} +13 -13
  287. package/dist/chunks/{repository-cache-j376ae4e.js → tool-tr8x705m.js} +5 -5
  288. package/dist/chunks/tool-tt9rk80g.js +16 -0
  289. package/dist/chunks/{repository-cache-twssxy5n.js → tool-twssxy5n.js} +2 -2
  290. package/dist/chunks/{repository-cache-32hjadc8.js → tool-twz8991w.js} +6 -6
  291. package/dist/chunks/{repository-cache-ra4eg6v2.js → tool-v1t7h3ys.js} +13 -13
  292. package/dist/chunks/{repository-cache-v2r1d0zg.js → tool-v2r1d0zg.js} +1 -1
  293. package/dist/chunks/{repository-cache-9v8670en.js → tool-v7mersgb.js} +20 -20
  294. package/dist/chunks/{repository-cache-j3gab23w.js → tool-v9zj8gmy.js} +16 -16
  295. package/dist/chunks/{repository-cache-0mgprbja.js → tool-vcfdc226.js} +4 -4
  296. package/dist/chunks/{repository-cache-w1zmw0j0.js → tool-vh5kkfdr.js} +12 -12
  297. package/dist/chunks/{repository-cache-vjf35v1f.js → tool-vjf35v1f.js} +1 -1
  298. package/dist/chunks/{repository-cache-4tn3tan0.js → tool-vkwey47a.js} +5 -5
  299. package/dist/chunks/{repository-cache-barjrk5t.js → tool-vmjdpmwf.js} +37 -37
  300. package/dist/chunks/{repository-cache-tz8eqr11.js → tool-vre17ymf.js} +9 -9
  301. package/dist/chunks/{repository-cache-6rw411p0.js → tool-vv9k68sd.js} +17 -17
  302. package/dist/chunks/{repository-cache-pjg7v7g5.js → tool-vy064tmw.js} +11 -11
  303. package/dist/chunks/{repository-cache-f7nfmysm.js → tool-w2jbjawn.js} +35 -35
  304. package/dist/chunks/{repository-cache-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
  305. package/dist/chunks/{repository-cache-11v5wvkn.js → tool-w5zs3rpn.js} +3 -3
  306. package/dist/chunks/{repository-cache-wakvkjy4.js → tool-wakvkjy4.js} +1 -1
  307. package/dist/chunks/{repository-cache-jsj2kb7z.js → tool-wbzmgrmw.js} +30 -30
  308. package/dist/chunks/{repository-cache-zjyc304t.js → tool-wc9tj2ev.js} +21 -21
  309. package/dist/chunks/{repository-cache-z1tseqzz.js → tool-wcgjrgaf.js} +40 -40
  310. package/dist/chunks/{repository-cache-wd87259q.js → tool-wd87259q.js} +1 -1
  311. package/dist/chunks/{repository-cache-ydbbrfg1.js → tool-wdx6g3kg.js} +2 -2
  312. package/dist/chunks/{repository-cache-nx4vzyjd.js → tool-wegkxhrn.js} +2 -2
  313. package/dist/chunks/{repository-cache-2n444ktb.js → tool-weqc7sb9.js} +3 -3
  314. package/dist/chunks/{repository-cache-t9pw00nj.js → tool-wmndttsw.js} +9 -9
  315. package/dist/chunks/{repository-cache-wnhgecwx.js → tool-wnhgecwx.js} +1 -1
  316. package/dist/chunks/{repository-cache-w687dnns.js → tool-wr3re1en.js} +4 -4
  317. package/dist/chunks/{repository-cache-fcbvcd8w.js → tool-ws4tpv13.js} +3 -3
  318. package/dist/chunks/{repository-cache-xza8sa1q.js → tool-x5vj74a2.js} +17 -17
  319. package/dist/chunks/{repository-cache-h8pahg21.js → tool-xa23xek1.js} +8 -8
  320. package/dist/chunks/{repository-cache-hqk2k8xj.js → tool-xdgtjw5x.js} +33 -33
  321. package/dist/chunks/{repository-cache-qvbkypgt.js → tool-xg73td2j.js} +11 -11
  322. package/dist/chunks/{repository-cache-xjr6c8m4.js → tool-xjr6c8m4.js} +1 -1
  323. package/dist/chunks/{repository-cache-xksw6ev0.js → tool-xksw6ev0.js} +1 -1
  324. package/dist/chunks/{repository-cache-93cqz5g6.js → tool-xr7xm7qf.js} +29 -29
  325. package/dist/chunks/{repository-cache-zqab1dhd.js → tool-y094zgrg.js} +14 -14
  326. package/dist/chunks/{repository-cache-p5fywhk1.js → tool-y2wreccq.js} +5 -5
  327. package/dist/chunks/{repository-cache-8eynzsy4.js → tool-y3bjyseh.js} +14 -14
  328. package/dist/chunks/{repository-cache-wxgjsayh.js → tool-y4rkeds0.js} +11 -11
  329. package/dist/chunks/{repository-cache-3hg9251g.js → tool-y67570ve.js} +27 -27
  330. package/dist/chunks/{repository-cache-12p8jfwf.js → tool-y84y5pby.js} +15 -15
  331. package/dist/chunks/{repository-cache-yb20nhc3.js → tool-yb20nhc3.js} +1 -1
  332. package/dist/chunks/{repository-cache-tb0r11sh.js → tool-yf2cgb8m.js} +21 -21
  333. package/dist/chunks/{repository-cache-8ef1n296.js → tool-ym84t9db.js} +25 -25
  334. package/dist/chunks/{repository-cache-yr705xyq.js → tool-yr705xyq.js} +1 -1
  335. package/dist/chunks/{repository-cache-yvtc2x31.js → tool-yvtc2x31.js} +1 -1
  336. package/dist/chunks/{repository-cache-shqt4tg1.js → tool-yzt4cd6e.js} +19 -19
  337. package/dist/chunks/{repository-cache-d0gzc6r9.js → tool-z1tj3v26.js} +4 -4
  338. package/dist/chunks/{repository-cache-9r6t02y1.js → tool-zcnch7vt.js} +11 -11
  339. package/dist/chunks/{repository-cache-ng4tgbdz.js → tool-zeby9t0g.js} +12 -12
  340. package/dist/chunks/{repository-cache-0gk8k154.js → tool-zezjv31z.js} +60 -60
  341. package/dist/chunks/{repository-cache-f7jx66g0.js → tool-zggfewvb.js} +18 -18
  342. package/dist/chunks/{repository-cache-vmeb0awz.js → tool-zh6krqj4.js} +9 -9
  343. package/dist/chunks/{repository-cache-5rrtfrnm.js → tool-zhrtystx.js} +42 -42
  344. package/dist/chunks/{repository-cache-14k4sggx.js → tool-zn5cq78w.js} +7 -7
  345. package/dist/chunks/{repository-cache-zpdbqgja.js → tool-zpdbqgja.js} +1 -1
  346. package/dist/chunks/{repository-cache-wf1m3h04.js → tool-zyjx7tf0.js} +15 -15
  347. package/dist/codemode/catalog.js +1 -1
  348. package/dist/codemode/execution.js +5 -5
  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 +94 -94
  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 +131 -131
  359. package/dist/config/plugin/command.js +234 -234
  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 +128 -128
  365. package/dist/config/plugin/instruction.js +130 -130
  366. package/dist/config/plugin/location-watcher.js +130 -130
  367. package/dist/config/plugin/mcp.js +139 -139
  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 +151 -151
  375. package/dist/config/plugin/snapshot.js +130 -130
  376. package/dist/config/plugin/source.js +128 -128
  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 +135 -135
  383. package/dist/console-access.js +7 -7
  384. package/dist/credential/sql.js +2 -2
  385. package/dist/credential.js +96 -96
  386. package/dist/database/database.js +81 -81
  387. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  388. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  389. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  390. package/dist/database/drizzle/index.js +13 -13
  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 +14 -14
  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 +103 -103
  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 +1 -1
  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 +3 -3
  481. package/dist/event/sql.js +1 -1
  482. package/dist/event-logger.js +85 -85
  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 +91 -91
  492. package/dist/filesystem/location-watcher-policy.js +6 -6
  493. package/dist/filesystem/location-watcher.js +247 -247
  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 +11 -11
  498. package/dist/filesystem.js +116 -116
  499. package/dist/form.js +93 -93
  500. package/dist/formatter/builtins.js +4 -4
  501. package/dist/formatter.js +100 -100
  502. package/dist/generate.js +120 -120
  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 +104 -104
  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 +97 -97
  531. package/dist/instructions/builtins.js +98 -98
  532. package/dist/instructions/index.js +3 -3
  533. package/dist/integration/connection.js +3 -3
  534. package/dist/integration.js +98 -98
  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 +181 -181
  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 +98 -98
  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 +122 -122
  550. package/dist/mcp/instructions.js +183 -183
  551. package/dist/mcp/oauth.js +89 -89
  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 +113 -113
  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 +93 -93
  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 +85 -85
  571. package/dist/plugin/command.js +115 -115
  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 +3 -3
  576. package/dist/plugin/instance.js +5 -5
  577. package/dist/plugin/internal.js +404 -404
  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 +133 -133
  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 +115 -115
  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 +112 -112
  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 +4 -4
  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 +1 -1
  606. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  607. package/dist/plugin/provider/claude-agent/provider.js +108 -108
  608. package/dist/plugin/provider/claude-agent/session.js +110 -110
  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 +1 -1
  614. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  615. package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
  616. package/dist/plugin/provider/claude-agent/tools/pending.js +1 -1
  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 +138 -138
  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 +147 -147
  654. package/dist/plugin/source-directory.js +1 -1
  655. package/dist/plugin/supervisor.js +412 -412
  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 +6 -6
  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 +2 -2
  666. package/dist/plugin/websearch/parallel.js +9 -9
  667. package/dist/plugin/websearch/provider.js +1 -1
  668. package/dist/plugin/websearch/tavily.js +5 -5
  669. package/dist/plugin/websearch/tinyfish.js +9 -9
  670. package/dist/plugin.js +245 -245
  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 +97 -97
  675. package/dist/provider.js +112 -112
  676. package/dist/pty/protocol.js +1 -1
  677. package/dist/pty/ticket.js +1 -1
  678. package/dist/pty.js +105 -105
  679. package/dist/reference/instructions.js +101 -101
  680. package/dist/reference.js +101 -101
  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 +111 -111
  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 +3 -3
  691. package/dist/session/background.js +1 -1
  692. package/dist/session/blob.js +129 -129
  693. package/dist/session/command.js +85 -85
  694. package/dist/session/compaction.js +173 -173
  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 +250 -250
  701. package/dist/session/execution.js +165 -165
  702. package/dist/session/generate.js +202 -202
  703. package/dist/session/history.js +136 -136
  704. package/dist/session/inbox.js +147 -147
  705. package/dist/session/info.js +3 -3
  706. package/dist/session/instruction-entry.js +90 -90
  707. package/dist/session/instruction-state.js +8 -8
  708. package/dist/session/instructions.js +141 -141
  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 +1 -1
  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 +5 -5
  728. package/dist/session/session.js +182 -182
  729. package/dist/session/shell.js +145 -145
  730. package/dist/session/skill.js +149 -149
  731. package/dist/session/sql.js +5 -5
  732. package/dist/session/stats.js +86 -86
  733. package/dist/session/store.js +142 -142
  734. package/dist/session/stored.js +4 -4
  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 +247 -247
  741. package/dist/session/usage.js +1 -1
  742. package/dist/session.js +237 -237
  743. package/dist/shared-cache.js +1 -1
  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 +13 -13
  748. package/dist/shell.js +145 -145
  749. package/dist/skill/discovery.js +6 -6
  750. package/dist/skill/instructions.js +151 -151
  751. package/dist/skill.js +156 -156
  752. package/dist/snapshot.js +104 -104
  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 +161 -161
  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 +168 -168
  766. package/dist/tool/plugin/question.js +144 -144
  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 +235 -235
  770. package/dist/tool/plugin/skill.js +155 -155
  771. package/dist/tool/plugin/subagent.js +240 -240
  772. package/dist/tool/plugin/todo.js +151 -151
  773. package/dist/tool/plugin/webfetch.js +155 -155
  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 +161 -161
  781. package/dist/usage-limits.js +94 -94
  782. package/dist/util/error-summary.js +1 -1
  783. package/dist/util/git-executable.js +3 -3
  784. package/dist/util/lazy.js +1 -1
  785. package/dist/util/slug.js +1 -1
  786. package/dist/util/token.js +1 -1
  787. package/dist/util/which.js +1 -1
  788. package/dist/util/wildcard.js +1 -1
  789. package/dist/v1/config/agent.js +7 -7
  790. package/dist/v1/config/command.js +3 -3
  791. package/dist/v1/config/mcp.js +2 -2
  792. package/dist/v1/config/migrate.js +105 -105
  793. package/dist/v1/config/permission.js +1 -1
  794. package/dist/v1/config/plugin.js +3 -3
  795. package/dist/v1/config/provider-options.js +1 -1
  796. package/dist/v1/config/provider.js +4 -4
  797. package/dist/variant.js +106 -106
  798. package/dist/vcs/patch.js +1 -1
  799. package/dist/vcs.js +102 -102
  800. package/dist/voice.js +95 -95
  801. package/dist/websearch.js +89 -89
  802. package/dist/wellknown/plugin.js +87 -87
  803. package/dist/wellknown.js +90 -90
  804. package/dist/workspace/driver.js +5 -5
  805. package/dist/workspace/sql.js +1 -1
  806. package/dist/workspace.js +93 -93
  807. package/dist/worktree/directory.js +2 -2
  808. package/dist/worktree/git.js +11 -11
  809. package/dist/worktree/sql.js +5 -5
  810. package/dist/worktree/strategies.js +102 -102
  811. package/dist/worktree.js +109 -109
  812. package/package.json +8 -8
  813. package/dist/chunks/repository-cache-2jjfs7g5.js +0 -16
  814. package/dist/chunks/repository-cache-f8ma18fn.js +0 -18
  815. package/dist/chunks/repository-cache-gf5rrebp.js +0 -571
  816. package/dist/chunks/repository-cache-x0g2yw4m.js +0 -26
  817. package/dist/chunks/repository-cache-x7kkwesj.js +0 -265
  818. /package/dist/chunks/{repository-cache-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
  819. /package/dist/chunks/{repository-cache-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
  820. /package/dist/chunks/{repository-cache-108x4f4w.js → tool-108x4f4w.js} +0 -0
  821. /package/dist/chunks/{repository-cache-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
  822. /package/dist/chunks/{repository-cache-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
  823. /package/dist/chunks/{repository-cache-1kah00gy.js → tool-1kah00gy.js} +0 -0
  824. /package/dist/chunks/{repository-cache-24dcb14g.js → tool-24dcb14g.js} +0 -0
  825. /package/dist/chunks/{repository-cache-2710q6r3.js → tool-2710q6r3.js} +0 -0
  826. /package/dist/chunks/{repository-cache-2bv980vf.js → tool-2bv980vf.js} +0 -0
  827. /package/dist/chunks/{repository-cache-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
  828. /package/dist/chunks/{repository-cache-359p4xyc.js → tool-359p4xyc.js} +0 -0
  829. /package/dist/chunks/{repository-cache-3af0jn4w.js → tool-3af0jn4w.js} +0 -0
  830. /package/dist/chunks/{repository-cache-3asan66x.js → tool-3asan66x.js} +0 -0
  831. /package/dist/chunks/{repository-cache-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
  832. /package/dist/chunks/{repository-cache-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
  833. /package/dist/chunks/{repository-cache-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
  834. /package/dist/chunks/{repository-cache-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
  835. /package/dist/chunks/{repository-cache-4qk9sjk2.js → tool-4qk9sjk2.js} +0 -0
  836. /package/dist/chunks/{repository-cache-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
  837. /package/dist/chunks/{repository-cache-53557ph1.js → tool-53557ph1.js} +0 -0
  838. /package/dist/chunks/{repository-cache-550bvhaj.js → tool-550bvhaj.js} +0 -0
  839. /package/dist/chunks/{repository-cache-5w3e23ze.js → tool-5w3e23ze.js} +0 -0
  840. /package/dist/chunks/{repository-cache-6agm2x70.js → tool-6agm2x70.js} +0 -0
  841. /package/dist/chunks/{repository-cache-6prwharc.js → tool-6prwharc.js} +0 -0
  842. /package/dist/chunks/{repository-cache-6q2bdcd1.js → tool-6q2bdcd1.js} +0 -0
  843. /package/dist/chunks/{repository-cache-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
  844. /package/dist/chunks/{repository-cache-7m9af43g.js → tool-7m9af43g.js} +0 -0
  845. /package/dist/chunks/{repository-cache-822emrt2.js → tool-822emrt2.js} +0 -0
  846. /package/dist/chunks/{repository-cache-84wd9syh.js → tool-84wd9syh.js} +0 -0
  847. /package/dist/chunks/{repository-cache-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
  848. /package/dist/chunks/{repository-cache-8n3pysct.js → tool-8n3pysct.js} +0 -0
  849. /package/dist/chunks/{repository-cache-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
  850. /package/dist/chunks/{repository-cache-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
  851. /package/dist/chunks/{repository-cache-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
  852. /package/dist/chunks/{repository-cache-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
  853. /package/dist/chunks/{repository-cache-af5trqkr.js → tool-af5trqkr.js} +0 -0
  854. /package/dist/chunks/{repository-cache-afrmfg78.js → tool-afrmfg78.js} +0 -0
  855. /package/dist/chunks/{repository-cache-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
  856. /package/dist/chunks/{repository-cache-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
  857. /package/dist/chunks/{repository-cache-beh6qq61.js → tool-beh6qq61.js} +0 -0
  858. /package/dist/chunks/{repository-cache-bhmrqjy3.js → tool-bhmrqjy3.js} +0 -0
  859. /package/dist/chunks/{repository-cache-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
  860. /package/dist/chunks/{repository-cache-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
  861. /package/dist/chunks/{repository-cache-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
  862. /package/dist/chunks/{repository-cache-cqv5kn06.js → tool-cqv5kn06.js} +0 -0
  863. /package/dist/chunks/{repository-cache-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
  864. /package/dist/chunks/{repository-cache-d9fn303g.js → tool-d9fn303g.js} +0 -0
  865. /package/dist/chunks/{repository-cache-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
  866. /package/dist/chunks/{repository-cache-dap0rakb.js → tool-dap0rakb.js} +0 -0
  867. /package/dist/chunks/{repository-cache-df08tz66.js → tool-df08tz66.js} +0 -0
  868. /package/dist/chunks/{repository-cache-dy18nga0.js → tool-dy18nga0.js} +0 -0
  869. /package/dist/chunks/{repository-cache-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
  870. /package/dist/chunks/{repository-cache-ean2d8b5.js → tool-ean2d8b5.js} +0 -0
  871. /package/dist/chunks/{repository-cache-ec1grn59.js → tool-ec1grn59.js} +0 -0
  872. /package/dist/chunks/{repository-cache-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
  873. /package/dist/chunks/{repository-cache-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
  874. /package/dist/chunks/{repository-cache-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
  875. /package/dist/chunks/{repository-cache-faypxj3z.js → tool-faypxj3z.js} +0 -0
  876. /package/dist/chunks/{repository-cache-fd410y7t.js → tool-fd410y7t.js} +0 -0
  877. /package/dist/chunks/{repository-cache-fkpq3x5p.js → tool-fkpq3x5p.js} +0 -0
  878. /package/dist/chunks/{repository-cache-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
  879. /package/dist/chunks/{repository-cache-g86h250q.js → tool-g86h250q.js} +0 -0
  880. /package/dist/chunks/{repository-cache-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
  881. /package/dist/chunks/{repository-cache-gftt206x.js → tool-gftt206x.js} +0 -0
  882. /package/dist/chunks/{repository-cache-hcxmzztb.js → tool-hcxmzztb.js} +0 -0
  883. /package/dist/chunks/{repository-cache-hk9envan.js → tool-hk9envan.js} +0 -0
  884. /package/dist/chunks/{repository-cache-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
  885. /package/dist/chunks/{repository-cache-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
  886. /package/dist/chunks/{repository-cache-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
  887. /package/dist/chunks/{repository-cache-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
  888. /package/dist/chunks/{repository-cache-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
  889. /package/dist/chunks/{repository-cache-jwr30sdr.js → tool-jwr30sdr.js} +0 -0
  890. /package/dist/chunks/{repository-cache-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
  891. /package/dist/chunks/{repository-cache-m18g726c.js → tool-m18g726c.js} +0 -0
  892. /package/dist/chunks/{repository-cache-mp448xyj.js → tool-mp448xyj.js} +0 -0
  893. /package/dist/chunks/{repository-cache-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
  894. /package/dist/chunks/{repository-cache-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
  895. /package/dist/chunks/{repository-cache-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
  896. /package/dist/chunks/{repository-cache-nh4v3znn.js → tool-nh4v3znn.js} +0 -0
  897. /package/dist/chunks/{repository-cache-njntx4h6.js → tool-njntx4h6.js} +0 -0
  898. /package/dist/chunks/{repository-cache-p71gwv9c.js → tool-p71gwv9c.js} +0 -0
  899. /package/dist/chunks/{repository-cache-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
  900. /package/dist/chunks/{repository-cache-q74kybfr.js → tool-q74kybfr.js} +0 -0
  901. /package/dist/chunks/{repository-cache-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
  902. /package/dist/chunks/{repository-cache-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
  903. /package/dist/chunks/{repository-cache-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
  904. /package/dist/chunks/{repository-cache-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
  905. /package/dist/chunks/{repository-cache-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
  906. /package/dist/chunks/{repository-cache-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
  907. /package/dist/chunks/{repository-cache-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
  908. /package/dist/chunks/{repository-cache-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
  909. /package/dist/chunks/{repository-cache-syrav9an.js → tool-syrav9an.js} +0 -0
  910. /package/dist/chunks/{repository-cache-t03h4f5z.js → tool-t03h4f5z.js} +0 -0
  911. /package/dist/chunks/{repository-cache-ty7weeps.js → tool-ty7weeps.js} +0 -0
  912. /package/dist/chunks/{repository-cache-ve7vex1e.js → tool-ve7vex1e.js} +0 -0
  913. /package/dist/chunks/{repository-cache-vtarvj67.js → tool-vtarvj67.js} +0 -0
  914. /package/dist/chunks/{repository-cache-w803qqfp.js → tool-w803qqfp.js} +0 -0
  915. /package/dist/chunks/{repository-cache-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
  916. /package/dist/chunks/{repository-cache-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
  917. /package/dist/chunks/{repository-cache-wtztk69x.js → tool-wtztk69x.js} +0 -0
  918. /package/dist/chunks/{repository-cache-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
  919. /package/dist/chunks/{repository-cache-x61499pn.js → tool-x61499pn.js} +0 -0
  920. /package/dist/chunks/{repository-cache-y44na4kk.js → tool-y44na4kk.js} +0 -0
  921. /package/dist/chunks/{repository-cache-y8f7s663.js → tool-y8f7s663.js} +0 -0
  922. /package/dist/chunks/{repository-cache-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
  923. /package/dist/chunks/{repository-cache-z0h12gs8.js → tool-z0h12gs8.js} +0 -0
  924. /package/dist/chunks/{repository-cache-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
  925. /package/dist/chunks/{repository-cache-z9919s4g.js → tool-z9919s4g.js} +0 -0
  926. /package/dist/chunks/{repository-cache-zxpyjp51.js → tool-zxpyjp51.js} +0 -0
@@ -1,34 +1,34 @@
1
1
  import {
2
- Service89,
3
- node93
4
- } from "./repository-cache-2bzd8xhn.js";
2
+ Service90,
3
+ node94
4
+ } from "./tool-5r3wrmp5.js";
5
5
  import {
6
6
  changes2,
7
7
  create4
8
- } from "./repository-cache-40y6dtc2.js";
8
+ } from "./tool-40y6dtc2.js";
9
9
  import {
10
10
  __export
11
- } from "./repository-cache-9rqn6x4v.js";
11
+ } from "./tool-9rqn6x4v.js";
12
12
 
13
13
  // src/command.ts
14
14
  var exports_command4 = {};
15
15
  __export(exports_command4, {
16
16
  Command: () => exports_command4,
17
- Event: () => Event11,
17
+ Event: () => Event7,
18
18
  ExecutionError: () => ExecutionError2,
19
- Info: () => Info13,
20
- NotFoundError: () => NotFoundError9,
21
- Service: () => Service63,
22
- layer: () => layer24,
23
- node: () => node66
19
+ Info: () => Info11,
20
+ NotFoundError: () => NotFoundError6,
21
+ Service: () => Service44,
22
+ layer: () => layer19,
23
+ node: () => node46
24
24
  });
25
25
  import { Command } from "@opencode/schema/command";
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Context, Effect, Layer, Schema } from "effect";
28
- import { Event as Event11 } from "@opencode/schema/command";
29
- var Info13 = Command.Info;
28
+ import { Event as Event7 } from "@opencode/schema/command";
29
+ var Info11 = Command.Info;
30
30
 
31
- class NotFoundError9 extends Schema.TaggedError()("Command.NotFoundError", {
31
+ class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
32
32
  command: Schema.String,
33
33
  message: Schema.String
34
34
  }) {
@@ -40,11 +40,11 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
40
40
  }) {
41
41
  }
42
42
 
43
- class Service63 extends Context.Service()("@opencode/Command") {
43
+ class Service44 extends Context.Service()("@opencode/Command") {
44
44
  }
45
- var layer24 = Layer.effect(Service63, Effect.gen(function* () {
46
- const bus = yield* Service89;
47
- const info = (definition) => Info13.make({
45
+ var layer19 = Layer.effect(Service44, Effect.gen(function* () {
46
+ const bus = yield* Service90;
47
+ const info = (definition) => Info11.make({
48
48
  name: definition.name,
49
49
  description: definition.description
50
50
  });
@@ -56,7 +56,7 @@ var layer24 = Layer.effect(Service63, Effect.gen(function* () {
56
56
  }),
57
57
  notify: changes2((commands) => Array.from(commands.values(), info), () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid))
58
58
  });
59
- return Service63.of({
59
+ return Service44.of({
60
60
  reload: state.reload,
61
61
  transform: state.transform,
62
62
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -67,15 +67,15 @@ var layer24 = Layer.effect(Service63, Effect.gen(function* () {
67
67
  execute: Effect.fn("Command.execute")(function* (input) {
68
68
  const definition = state.get().get(input.name);
69
69
  if (!definition)
70
- return yield* new NotFoundError9({ command: input.name, message: `Command not found: ${input.name}` });
70
+ return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
71
71
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
72
72
  })
73
73
  });
74
74
  }));
75
- var node66 = makeLocationNode({
76
- service: Service63,
77
- layer: layer24,
78
- deps: [node93]
75
+ var node46 = makeLocationNode({
76
+ service: Service44,
77
+ layer: layer19,
78
+ deps: [node94]
79
79
  });
80
80
  function errorMessage(error) {
81
81
  if (error instanceof Error)
@@ -87,4 +87,4 @@ function errorMessage(error) {
87
87
  return "Command execution failed";
88
88
  }
89
89
 
90
- export { Info13, NotFoundError9, ExecutionError2, Service63, layer24, node66, exports_command4, Event11 };
90
+ export { Info11, NotFoundError6, ExecutionError2, Service44, layer19, node46, exports_command4, Event7 };
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service89,
3
- node93
4
- } from "./repository-cache-2bzd8xhn.js";
2
+ Service90,
3
+ node94
4
+ } from "./tool-5r3wrmp5.js";
5
5
  import {
6
6
  __export
7
- } from "./repository-cache-9rqn6x4v.js";
7
+ } from "./tool-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,31 +12,31 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event19,
15
+ Event: () => Event17,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID19,
20
- Info: () => Info28,
19
+ ID: () => ID18,
20
+ Info: () => Info27,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
23
  NotFoundError: () => NotFoundError13,
24
24
  Reply: () => Reply3,
25
- Service: () => Service84,
25
+ Service: () => Service78,
26
26
  State: () => State3,
27
27
  When: () => When3,
28
- layer: () => layer27,
29
- node: () => node88,
28
+ layer: () => layer26,
29
+ node: () => node81,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event19 } from "@opencode/schema/form";
36
+ import { Event as Event17 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID19 = Form.ID;
39
- var Info28 = Form.Info;
38
+ var ID18 = Form.ID;
39
+ var Info27 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When3 = Form.When;
@@ -45,7 +45,7 @@ var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
47
  class NotFoundError13 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID19
48
+ id: ID18
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError13 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID19
56
+ id: ID18
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID19
64
+ id: ID18
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID19,
72
+ id: ID18,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,10 +79,10 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service84 extends Context.Service()("@opencode/Form") {
82
+ class Service78 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer27 = Layer.effect(Service84, Effect.gen(function* () {
85
- const bus = yield* Service89;
84
+ var layer26 = Layer.effect(Service78, Effect.gen(function* () {
85
+ const bus = yield* Service90;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
88
88
  capacity: Number.MAX_SAFE_INTEGER,
@@ -90,7 +90,7 @@ var layer27 = Layer.effect(Service84, Effect.gen(function* () {
90
90
  });
91
91
  const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError13({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID19.create();
93
+ const id = input.id ?? ID18.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -162,9 +162,9 @@ var layer27 = Layer.effect(Service84, Effect.gen(function* () {
162
162
  closed = true;
163
163
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
164
164
  yield* Effect.addFinalizer(() => close);
165
- return Service84.of({ create, ask, get, list, state, reply, cancel, close });
165
+ return Service78.of({ create, ask, get, list, state, reply, cancel, close });
166
166
  }));
167
- var node88 = makeLocationNode({ service: Service84, layer: layer27, deps: [node93] });
167
+ var node81 = makeLocationNode({ service: Service78, layer: layer26, deps: [node94] });
168
168
  function validateAnswer2(form, answer) {
169
169
  const fields = new Map(form.map((field) => [field.key, field]));
170
170
  for (const key of Object.keys(answer)) {
@@ -316,4 +316,4 @@ function isDateTime(value) {
316
316
  return !Number.isNaN(new Date(value).getTime());
317
317
  }
318
318
 
319
- export { ID19, Info28, Field2, Fields2, When3, State3, Answer2, Reply3, NotFoundError13, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service84, layer27, node88, validateAnswer2, validateFields2, exports_form, Event19 };
319
+ export { ID18, Info27, Field2, Fields2, When3, State3, Answer2, Reply3, NotFoundError13, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service78, layer26, node81, validateAnswer2, validateFields2, exports_form, Event17 };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service77
3
- } from "./repository-cache-d1bpbjnm.js";
2
+ Service73
3
+ } from "./tool-sgzhenxf.js";
4
4
  import {
5
- Service34
6
- } from "./repository-cache-kt9nnfjs.js";
5
+ Service36
6
+ } from "./tool-2s7a5cr8.js";
7
7
  import {
8
8
  __export
9
- } from "./repository-cache-9rqn6x4v.js";
9
+ } from "./tool-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
12
  var exports_mcp2 = {};
13
13
  __export(exports_mcp2, {
14
14
  ConfigMcpPlugin: () => exports_mcp2,
15
- Plugin: () => Plugin25,
15
+ Plugin: () => Plugin37,
16
16
  register: () => register8
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin25 = define({
20
+ var Plugin37 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register8(ctx.event.subscribe({ types: ["config.updated"] }));
24
24
  })
25
25
  });
26
26
  var register8 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service77;
28
- const mcp = yield* Service34;
27
+ const config = yield* Service73;
28
+ const mcp = yield* Service36;
29
29
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => mcp.reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
30
30
  yield* mcp.transform((editor) => {
31
31
  const documents = config.snapshot().filter((entry) => entry.type === "document");
@@ -44,4 +44,4 @@ var register8 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
44
44
  });
45
45
  });
46
46
 
47
- export { Plugin25, register8, exports_mcp2 };
47
+ export { Plugin37, register8, exports_mcp2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  content3
3
- } from "./repository-cache-sbya78hr.js";
3
+ } from "./tool-sbya78hr.js";
4
4
  import {
5
5
  groups2
6
- } from "./repository-cache-vjf35v1f.js";
6
+ } from "./tool-vjf35v1f.js";
7
7
  import {
8
8
  __export
9
- } from "./repository-cache-9rqn6x4v.js";
9
+ } from "./tool-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/provider/claude-agent/sync/catch-up.ts
12
12
  var exports_catch_up = {};
@@ -1,10 +1,10 @@
1
- import {
2
- ID18,
3
- Service83,
4
- node87
5
- } from "./repository-cache-7fc7hhs4.js";
6
1
  import {
7
2
  ID17,
3
+ Service77,
4
+ node80
5
+ } from "./tool-s9m725b8.js";
6
+ import {
7
+ ID16,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
@@ -15,24 +15,24 @@ import {
15
15
  encoding2,
16
16
  mergeOverlay2,
17
17
  mergeHeaders2,
18
- Service82,
19
- node86
20
- } from "./repository-cache-twgcqmbs.js";
18
+ Service76,
19
+ node79
20
+ } from "./tool-5jgwgsds.js";
21
21
  import {
22
- Service53,
23
- node55
24
- } from "./repository-cache-n1wvmqaw.js";
22
+ Service72,
23
+ node75
24
+ } from "./tool-bm60jz01.js";
25
25
  import {
26
- ID16,
26
+ ID15,
27
27
  VariantID2,
28
28
  Ref3,
29
- Service81,
30
- node85,
29
+ Service75,
30
+ node78,
31
31
  supportsText2
32
- } from "./repository-cache-4d5w7vpt.js";
32
+ } from "./tool-qd895tht.js";
33
33
  import {
34
34
  __export
35
- } from "./repository-cache-9rqn6x4v.js";
35
+ } from "./tool-9rqn6x4v.js";
36
36
 
37
37
  // src/model-resolver.ts
38
38
  var exports_model_resolver = {};
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
41
41
  ModelConfigurationError: () => ModelConfigurationError2,
42
42
  ModelInitializationError: () => ModelInitializationError2,
43
43
  ModelResolver: () => exports_model_resolver,
44
- Service: () => Service52,
44
+ Service: () => Service71,
45
45
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
46
46
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
47
47
  UnsupportedPackageError: () => UnsupportedPackageError2,
48
48
  VariantUnavailableError: () => VariantUnavailableError2,
49
49
  fromCatalogModel: () => fromCatalogModel2,
50
50
  hasPackage: () => hasPackage2,
51
- layer: () => layer21,
52
- node: () => node54,
51
+ layer: () => layer23,
52
+ node: () => node74,
53
53
  resolveModel: () => resolveModel3,
54
54
  withVariant: () => withVariant2
55
55
  });
@@ -66,8 +66,8 @@ import { Auth, mergeTransport } from "@opencode/ai/route";
66
66
  import { Context, Effect, Layer, Schema, Struct } from "effect";
67
67
  import { Npm } from "@opencode/util/npm";
68
68
  class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
69
- providerID: ID17,
70
- modelID: ID16,
69
+ providerID: ID16,
70
+ modelID: ID15,
71
71
  variant: VariantID2
72
72
  }) {
73
73
  get message() {
@@ -76,8 +76,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
76
76
  }
77
77
 
78
78
  class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
79
- providerID: ID17,
80
- modelID: ID16,
79
+ providerID: ID16,
80
+ modelID: ID15,
81
81
  package: Schema.String
82
82
  }) {
83
83
  get message() {
@@ -87,8 +87,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
87
87
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
88
88
 
89
89
  class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
90
- providerID: ID17,
91
- modelID: ID16,
90
+ providerID: ID16,
91
+ modelID: ID15,
92
92
  package: Schema.String,
93
93
  detail: Schema.String
94
94
  }) {
@@ -98,8 +98,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
98
98
  }
99
99
 
100
100
  class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
101
- providerID: ID17,
102
- modelID: ID16,
101
+ providerID: ID16,
102
+ modelID: ID15,
103
103
  package: Schema.String,
104
104
  phase: InitializationPhase2,
105
105
  detail: Schema.String
@@ -110,8 +110,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
110
110
  }
111
111
 
112
112
  class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
113
- providerID: ID17,
114
- modelID: ID16,
113
+ providerID: ID16,
114
+ modelID: ID15,
115
115
  variables: Schema.Array(Schema.String)
116
116
  }) {
117
117
  get message() {
@@ -120,8 +120,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
120
120
  }
121
121
 
122
122
  class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
123
- providerID: ID17,
124
- modelID: ID16,
123
+ providerID: ID16,
124
+ modelID: ID15,
125
125
  route: Schema.String
126
126
  }) {
127
127
  get message() {
@@ -129,7 +129,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
129
129
  }
130
130
  }
131
131
 
132
- class Service52 extends Context.Service()("@opencode/ModelResolver") {
132
+ class Service71 extends Context.Service()("@opencode/ModelResolver") {
133
133
  }
134
134
  var withVariant2 = (model, variantID) => {
135
135
  const id = variantID === "default" ? undefined : variantID;
@@ -265,7 +265,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
265
265
  return tokenSettings(specifier, credential.access);
266
266
  if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
267
267
  return { auth: "sigv4" };
268
- if (model.providerID === ID17.azure)
268
+ if (model.providerID === ID16.azure)
269
269
  return tokenSettings(specifier, "azure-cli");
270
270
  return {};
271
271
  };
@@ -300,19 +300,19 @@ var causeMessage = (cause) => {
300
300
  };
301
301
  var resolveModel3 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
302
302
  var hasPackage2 = (model) => Boolean(model.package);
303
- var layer21 = Layer.effect(Service52, Effect.gen(function* () {
304
- const providers = yield* Service82;
305
- const models = yield* Service81;
306
- const integrations = yield* Service83;
303
+ var layer23 = Layer.effect(Service71, Effect.gen(function* () {
304
+ const providers = yield* Service76;
305
+ const models = yield* Service75;
306
+ const integrations = yield* Service77;
307
307
  const npm = yield* Npm.Service;
308
- const aisdk = yield* Service53;
308
+ const aisdk = yield* Service72;
309
309
  const dependencies = {
310
310
  loadPackage: (specifier) => loadPackage2(specifier, npm),
311
311
  loadAISDK: (model) => aisdk.model(model)
312
312
  };
313
313
  const prepare = Effect.fn("ModelResolver.prepare")(function* (selected, variant) {
314
314
  const provider = yield* providers.get(selected.providerID);
315
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID18.make(selected.providerID));
315
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID17.make(selected.providerID));
316
316
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
317
317
  const selectedVariant = yield* withVariant2(selected, variant);
318
318
  const runtimeInfo = {
@@ -348,7 +348,7 @@ var layer21 = Layer.effect(Service52, Effect.gen(function* () {
348
348
  const { credential, runtimeInfo } = yield* prepare(info, ref.variant);
349
349
  return yield* fromCatalogMedia(runtimeInfo, is, credential, dependencies);
350
350
  });
351
- return Service52.of({
351
+ return Service71.of({
352
352
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
353
353
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
354
354
  if (!selected)
@@ -407,10 +407,10 @@ function usesAPIKeyAuth(packageName) {
407
407
  return false;
408
408
  return API_KEY_AUTH_PACKAGES.has(name) || name.startsWith("@opencode/ai/providers/openai/") || name.startsWith("@opencode/ai/providers/azure/");
409
409
  }
410
- var node54 = makeLocationNode({
411
- service: Service52,
412
- layer: layer21,
413
- deps: [node86, node85, node87, Npm.node, node55]
410
+ var node74 = makeLocationNode({
411
+ service: Service71,
412
+ layer: layer23,
413
+ deps: [node79, node78, node80, Npm.node, node75]
414
414
  });
415
415
 
416
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service52, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer21, node54, exports_model_resolver };
416
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service71, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer23, node74, exports_model_resolver };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  convertToOpenAICompatibleChatMessages2
3
- } from "./repository-cache-2bv980vf.js";
3
+ } from "./tool-2bv980vf.js";
4
4
  import {
5
5
  getResponseMetadata2
6
- } from "./repository-cache-g4wezp1m.js";
6
+ } from "./tool-g4wezp1m.js";
7
7
  import {
8
8
  mapOpenAICompatibleFinishReason2
9
- } from "./repository-cache-x61499pn.js";
9
+ } from "./tool-x61499pn.js";
10
10
  import {
11
11
  openaiCompatibleProviderOptions2
12
- } from "./repository-cache-af5trqkr.js";
12
+ } from "./tool-af5trqkr.js";
13
13
  import {
14
14
  defaultOpenAICompatibleErrorStructure2
15
- } from "./repository-cache-afrmfg78.js";
15
+ } from "./tool-afrmfg78.js";
16
16
  import {
17
17
  prepareTools2
18
- } from "./repository-cache-x0ckcb58.js";
18
+ } from "./tool-x0ckcb58.js";
19
19
 
20
20
  // src/github-copilot/chat/openai-compatible-chat-language-model.ts
21
21
  import {
@@ -2,7 +2,7 @@ import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2,
4
4
  mapUpdateSet2
5
- } from "./repository-cache-emrn6kk6.js";
5
+ } from "./tool-emrn6kk6.js";
6
6
 
7
7
  // src/database/drizzle/sqlite-core/effect/insert.ts
8
8
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,43 +1,43 @@
1
1
  import {
2
- Service89
3
- } from "./repository-cache-2bzd8xhn.js";
2
+ Service90
3
+ } from "./tool-5r3wrmp5.js";
4
4
  import {
5
- Service64
6
- } from "./repository-cache-ysbrq79k.js";
5
+ Service52
6
+ } from "./tool-1rapdk7p.js";
7
7
  import {
8
8
  StepFailedError2
9
- } from "./repository-cache-530xg6vw.js";
9
+ } from "./tool-65zzbc8y.js";
10
10
  import {
11
11
  SessionEvent2
12
- } from "./repository-cache-ec1grn59.js";
12
+ } from "./tool-ec1grn59.js";
13
13
  import {
14
14
  toSessionError2
15
- } from "./repository-cache-dt4jdg3a.js";
15
+ } from "./tool-pebg18yw.js";
16
16
  import {
17
- Error2
18
- } from "./repository-cache-93cqz5g6.js";
17
+ Error3
18
+ } from "./tool-xr7xm7qf.js";
19
19
  import {
20
- Service43
21
- } from "./repository-cache-wxgjsayh.js";
20
+ Service48
21
+ } from "./tool-y4rkeds0.js";
22
22
  import {
23
23
  record2
24
- } from "./repository-cache-4f25tdd0.js";
24
+ } from "./tool-4f25tdd0.js";
25
25
  import {
26
26
  createLLMEventPublisher2
27
- } from "./repository-cache-fcbvcd8w.js";
27
+ } from "./tool-ws4tpv13.js";
28
28
  import {
29
29
  isRetryable2
30
- } from "./repository-cache-qw2t3dzn.js";
30
+ } from "./tool-rmv7fhs4.js";
31
31
  import {
32
32
  __export
33
- } from "./repository-cache-9rqn6x4v.js";
33
+ } from "./tool-9rqn6x4v.js";
34
34
 
35
35
  // src/session/runner/step.ts
36
36
  var exports_step = {};
37
37
  __export(exports_step, {
38
38
  Outcome: () => Outcome2,
39
39
  SessionStep: () => exports_step,
40
- make: () => make19
40
+ make: () => make18
41
41
  });
42
42
  import {
43
43
  AIError,
@@ -50,11 +50,11 @@ var Outcome2 = Data.taggedEnum();
50
50
  var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
51
51
  var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
52
52
  var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
53
- var make19 = Effect.gen(function* () {
54
- const bus = yield* Service89;
53
+ var make18 = Effect.gen(function* () {
54
+ const bus = yield* Service90;
55
55
  const llm = yield* LLMClient.Service;
56
- const snapshots = yield* Service64;
57
- const toolOutput = yield* Service43;
56
+ const snapshots = yield* Service52;
57
+ const toolOutput = yield* Service48;
58
58
  const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
59
59
  const pendingStartSnapshot = yield* snapshots.capture().pipe(Effect.forkScoped);
60
60
  const started = yield* Clock.currentTimeMillis;
@@ -76,7 +76,7 @@ var make19 = Effect.gen(function* () {
76
76
  const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
77
77
  const executeTool = (call) => {
78
78
  if (input.prepared.request.toolChoice?.type === "none")
79
- return new Error2({ message: "Tools are disabled after the maximum agent steps" });
79
+ return new Error3({ message: "Tools are disabled after the maximum agent steps" });
80
80
  return input.prepared.executeTool({
81
81
  sessionID: input.sessionID,
82
82
  agent: input.agent,
@@ -231,4 +231,4 @@ var classifyToolExits = (settled, runs) => {
231
231
  return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
232
232
  };
233
233
 
234
- export { Outcome2, make19, exports_step };
234
+ export { Outcome2, make18, exports_step };