@opencode/core 0.0.0-dev-233 → 0.0.0-dev-235

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 (834) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +92 -92
  3. package/dist/aisdk-native.js +100 -100
  4. package/dist/aisdk.js +106 -106
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +78 -78
  7. package/dist/chunks/{bus-6yence91.js → model-resolver-02dx1ydf.js} +29 -29
  8. package/dist/chunks/{bus-76k1r7sv.js → model-resolver-063c2dw3.js} +20 -20
  9. package/dist/chunks/{bus-rg52mm6z.js → model-resolver-07ws46e7.js} +25 -25
  10. package/dist/chunks/{bus-mtpeagzc.js → model-resolver-08rawchj.js} +3 -3
  11. package/dist/chunks/{bus-162nfr0g.js → model-resolver-0gbb59p9.js} +9 -9
  12. package/dist/chunks/{bus-j5txmjyq.js → model-resolver-0m6n6j4y.js} +11 -11
  13. package/dist/chunks/{bus-0znsw351.js → model-resolver-0v7r2g4g.js} +17 -17
  14. package/dist/chunks/{bus-2s6jkv91.js → model-resolver-0vfcpktn.js} +8 -8
  15. package/dist/chunks/{bus-dy9zc4pe.js → model-resolver-0xgy9r8e.js} +11 -11
  16. package/dist/chunks/{bus-06t14ddp.js → model-resolver-0ydkeekf.js} +5 -5
  17. package/dist/chunks/{bus-jfvq35wr.js → model-resolver-11dc3axx.js} +21 -21
  18. package/dist/chunks/{bus-07m51zyr.js → model-resolver-11emykvz.js} +12 -12
  19. package/dist/chunks/{bus-hh14ynr9.js → model-resolver-1becz5h9.js} +33 -33
  20. package/dist/chunks/{bus-f8smm1h8.js → model-resolver-1ffmcay5.js} +36 -36
  21. package/dist/chunks/{bus-d80gpe23.js → model-resolver-1fmezaeg.js} +21 -21
  22. package/dist/chunks/{bus-r082yccm.js → model-resolver-1k5rjxjy.js} +21 -21
  23. package/dist/chunks/{bus-xt0z8zst.js → model-resolver-1kn6jdkn.js} +4 -4
  24. package/dist/chunks/{bus-yydbrnd5.js → model-resolver-1trhz39y.js} +43 -43
  25. package/dist/chunks/{bus-ceqqxneb.js → model-resolver-1vhabajd.js} +11 -11
  26. package/dist/chunks/{bus-by25n89t.js → model-resolver-1vk60n2f.js} +45 -45
  27. package/dist/chunks/{bus-1x2knyw4.js → model-resolver-1x2knyw4.js} +1 -1
  28. package/dist/chunks/{bus-p7vhpwh8.js → model-resolver-1yq9hg58.js} +5 -5
  29. package/dist/chunks/{bus-204s3925.js → model-resolver-204s3925.js} +1 -1
  30. package/dist/chunks/{bus-25h84942.js → model-resolver-25h84942.js} +1 -1
  31. package/dist/chunks/{bus-1ep2p91f.js → model-resolver-27w5k9zf.js} +2 -2
  32. package/dist/chunks/{bus-y2ngtz71.js → model-resolver-2eaj99b9.js} +12 -12
  33. package/dist/chunks/{bus-h1ygv866.js → model-resolver-2g0sbjxs.js} +3 -3
  34. package/dist/chunks/{bus-w4650645.js → model-resolver-2ggryvv9.js} +7 -7
  35. package/dist/chunks/{bus-m0cjf5xp.js → model-resolver-2q3gj68p.js} +16 -16
  36. package/dist/chunks/{bus-r9fybn2k.js → model-resolver-2vxh8fhb.js} +43 -43
  37. package/dist/chunks/{bus-vb80j1wh.js → model-resolver-2zp5a6yg.js} +3 -3
  38. package/dist/chunks/{bus-ydm7wqfm.js → model-resolver-313g21r6.js} +19 -19
  39. package/dist/chunks/{bus-c1a686j5.js → model-resolver-31wms35x.js} +8 -8
  40. package/dist/chunks/{bus-va1w8a24.js → model-resolver-32ss13k6.js} +17 -17
  41. package/dist/chunks/{bus-my7b4af9.js → model-resolver-35xw48cm.js} +42 -42
  42. package/dist/chunks/{bus-ayjs7tqn.js → model-resolver-3cbjf1nt.js} +2 -2
  43. package/dist/chunks/{bus-zq5c9s7v.js → model-resolver-3g5sjqyx.js} +24 -24
  44. package/dist/chunks/{bus-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{bus-jxr5ks98.js → model-resolver-3smabe4s.js} +6 -6
  46. package/dist/chunks/{bus-7r82pzna.js → model-resolver-3smfssvs.js} +34 -34
  47. package/dist/chunks/{bus-8pkhhaa7.js → model-resolver-3vb79mvp.js} +43 -43
  48. package/dist/chunks/{bus-a38ksn3m.js → model-resolver-4695y15q.js} +32 -32
  49. package/dist/chunks/{bus-n9rn6xa3.js → model-resolver-4cb8ky4x.js} +8 -8
  50. package/dist/chunks/{bus-9nx9hf51.js → model-resolver-4p7w50sn.js} +6 -6
  51. package/dist/chunks/{bus-4pyp9zr9.js → model-resolver-4pyp9zr9.js} +1 -1
  52. package/dist/chunks/{bus-v75c35rk.js → model-resolver-4s29f17y.js} +13 -13
  53. package/dist/chunks/{bus-4v008n1t.js → model-resolver-4v008n1t.js} +1 -1
  54. package/dist/chunks/{bus-6eetqezh.js → model-resolver-4yq7vp74.js} +16 -16
  55. package/dist/chunks/{bus-rdajxzmj.js → model-resolver-515dar09.js} +11 -11
  56. package/dist/chunks/{bus-w2eysc6j.js → model-resolver-5enarcya.js} +6 -6
  57. package/dist/chunks/{bus-ndsna3c1.js → model-resolver-5m5zgeb0.js} +34 -34
  58. package/dist/chunks/{bus-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
  59. package/dist/chunks/{bus-v7hm3t8n.js → model-resolver-5mvx2mvy.js} +7 -7
  60. package/dist/chunks/{bus-k89jh6dj.js → model-resolver-5n0y2fx9.js} +16 -16
  61. package/dist/chunks/{bus-twj077f6.js → model-resolver-5pmynce3.js} +1 -1
  62. package/dist/chunks/{bus-vzvgxy56.js → model-resolver-5qp8d7cx.js} +32 -32
  63. package/dist/chunks/{bus-hbrjs09v.js → model-resolver-5tmges1f.js} +5 -5
  64. package/dist/chunks/{bus-yyhgbx7d.js → model-resolver-5vtcv6tm.js} +4 -4
  65. package/dist/chunks/{bus-amzzn6zg.js → model-resolver-64qhrwmr.js} +11 -11
  66. package/dist/chunks/{bus-ktr6pf1t.js → model-resolver-657gm9p4.js} +38 -38
  67. package/dist/chunks/{bus-9agry0mm.js → model-resolver-68qqfsms.js} +2 -2
  68. package/dist/chunks/{bus-p9k333b6.js → model-resolver-69zkvrr3.js} +11 -11
  69. package/dist/chunks/{bus-fpgy7th3.js → model-resolver-6c3vfjz9.js} +23 -23
  70. package/dist/chunks/{bus-pfsn56gn.js → model-resolver-6ckjvz5e.js} +17 -17
  71. package/dist/chunks/{bus-6esdw8yj.js → model-resolver-6esdw8yj.js} +1 -1
  72. package/dist/chunks/{bus-4dkdeg3x.js → model-resolver-6et83057.js} +32 -32
  73. package/dist/chunks/{bus-mmp59vtg.js → model-resolver-6kq6serr.js} +52 -52
  74. package/dist/chunks/{bus-j8w82mf5.js → model-resolver-6p643g3y.js} +15 -15
  75. package/dist/chunks/{bus-3rbyhj39.js → model-resolver-75k6z3we.js} +88 -88
  76. package/dist/chunks/{bus-2qe92jhz.js → model-resolver-77zj4qhz.js} +8 -8
  77. package/dist/chunks/{bus-1y1sdcvs.js → model-resolver-78c837sc.js} +17 -17
  78. package/dist/chunks/{bus-5kkktyrc.js → model-resolver-7atzhzg1.js} +8 -8
  79. package/dist/chunks/{bus-961m4qdm.js → model-resolver-7azjgpqp.js} +9 -9
  80. package/dist/chunks/{bus-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  81. package/dist/chunks/{bus-pkdrh1qv.js → model-resolver-7j1pv54n.js} +4 -4
  82. package/dist/chunks/{bus-36qx82yz.js → model-resolver-7sdtxe0n.js} +4 -4
  83. package/dist/chunks/{bus-1jakw16s.js → model-resolver-7stb81gk.js} +2 -1
  84. package/dist/chunks/{bus-818eymrz.js → model-resolver-7vyv40s2.js} +6 -6
  85. package/dist/chunks/{bus-7w2ypzdf.js → model-resolver-7w2ypzdf.js} +1 -1
  86. package/dist/chunks/{bus-jaan4nhy.js → model-resolver-7x1geb87.js} +45 -45
  87. package/dist/chunks/{bus-w5v2k2bw.js → model-resolver-7xgdsbra.js} +12 -12
  88. package/dist/chunks/{bus-yca54qy5.js → model-resolver-7ykpe2ae.js} +32 -32
  89. package/dist/chunks/{bus-zsjwhcwr.js → model-resolver-8anejt09.js} +25 -25
  90. package/dist/chunks/{bus-cpe35zww.js → model-resolver-8dfptpqb.js} +4 -4
  91. package/dist/chunks/{bus-ptc9r7kc.js → model-resolver-8fbg0anr.js} +35 -35
  92. package/dist/chunks/{bus-k7xg2xms.js → model-resolver-8jwdfq57.js} +9 -9
  93. package/dist/chunks/{bus-8jztxfpf.js → model-resolver-8jztxfpf.js} +1 -1
  94. package/dist/chunks/{bus-vzv0sjvt.js → model-resolver-8rsr0xkw.js} +22 -22
  95. package/dist/chunks/{bus-byj473rn.js → model-resolver-8tcsqa0t.js} +8 -8
  96. package/dist/chunks/{bus-zyydwx25.js → model-resolver-8wcv8eb0.js} +18 -18
  97. package/dist/chunks/{bus-8wtp7s3z.js → model-resolver-8wtp7s3z.js} +1 -1
  98. package/dist/chunks/{bus-mb7mbhnz.js → model-resolver-8z6m94af.js} +3 -3
  99. package/dist/chunks/{bus-90zstvax.js → model-resolver-90zstvax.js} +1 -1
  100. package/dist/chunks/{bus-7kprcbad.js → model-resolver-92c52cwg.js} +5 -5
  101. package/dist/chunks/{bus-xk2zn0cv.js → model-resolver-95sp4hdf.js} +4 -4
  102. package/dist/chunks/{bus-pfb4yznh.js → model-resolver-9fttyw1y.js} +11 -11
  103. package/dist/chunks/{bus-mttwgft7.js → model-resolver-9k0vd1xz.js} +20 -20
  104. package/dist/chunks/{bus-dhg7g0zf.js → model-resolver-9kxateg7.js} +27 -27
  105. package/dist/chunks/{bus-ca947eq7.js → model-resolver-9pk8dvwz.js} +3 -3
  106. package/dist/chunks/{bus-v0t96s7a.js → model-resolver-9q8g9sv8.js} +4 -4
  107. package/dist/chunks/{bus-ja63h2sr.js → model-resolver-9s06frge.js} +5 -5
  108. package/dist/chunks/{bus-4pnq7323.js → model-resolver-a7hpf3a9.js} +8 -8
  109. package/dist/chunks/{bus-qn5zf4nr.js → model-resolver-a8ts2hq9.js} +29 -29
  110. package/dist/chunks/{bus-ztz0q9zh.js → model-resolver-a8x35daw.js} +5 -5
  111. package/dist/chunks/{bus-034tev2y.js → model-resolver-aj7mw0zk.js} +2 -2
  112. package/dist/chunks/{bus-eahpwh8e.js → model-resolver-b1b4s2tq.js} +4 -4
  113. package/dist/chunks/{bus-b6vsg801.js → model-resolver-b6vsg801.js} +2 -2
  114. package/dist/chunks/{bus-y02x7m19.js → model-resolver-b7x6vb0f.js} +15 -15
  115. package/dist/chunks/{bus-fnrcf1wj.js → model-resolver-b9npwed2.js} +26 -26
  116. package/dist/chunks/{bus-prhcv6dr.js → model-resolver-bb1pme7h.js} +20 -20
  117. package/dist/chunks/{bus-8vm3c4cx.js → model-resolver-bkccqnab.js} +24 -24
  118. package/dist/chunks/{bus-3ryz99p0.js → model-resolver-br0kkpnn.js} +7 -7
  119. package/dist/chunks/{bus-11gkgbrz.js → model-resolver-brzye0d0.js} +2 -2
  120. package/dist/chunks/{bus-bstexjd6.js → model-resolver-bstexjd6.js} +1 -1
  121. package/dist/chunks/{bus-32z24wxs.js → model-resolver-bx2chj7s.js} +24 -24
  122. package/dist/chunks/{bus-srxxcest.js → model-resolver-bzneqfrw.js} +30 -30
  123. package/dist/chunks/{bus-e63fs6m1.js → model-resolver-c2wdctvm.js} +56 -56
  124. package/dist/chunks/{bus-bqzcd44k.js → model-resolver-c5m2a8vb.js} +8 -8
  125. package/dist/chunks/{bus-s9m7w1wa.js → model-resolver-caqz8vzx.js} +17 -17
  126. package/dist/chunks/{bus-0cqzd7yx.js → model-resolver-cfcqqf1a.js} +4 -4
  127. package/dist/chunks/{bus-k1p2a49w.js → model-resolver-chyqkg4j.js} +11 -11
  128. package/dist/chunks/{bus-m4sdr4hs.js → model-resolver-cqjy0jsh.js} +34 -34
  129. package/dist/chunks/{bus-t0mx6v2s.js → model-resolver-cw59ztwq.js} +18 -18
  130. package/dist/chunks/{bus-cwrgdav8.js → model-resolver-cwrgdav8.js} +2 -2
  131. package/dist/chunks/{bus-hx97nj8x.js → model-resolver-cxstdmn9.js} +30 -30
  132. package/dist/chunks/{bus-rgdq8gvk.js → model-resolver-d6t4gzf8.js} +15 -15
  133. package/dist/chunks/{bus-d96p21aj.js → model-resolver-dgwg4nab.js} +18 -18
  134. package/dist/chunks/{bus-x48bv8h6.js → model-resolver-dgy090gd.js} +5 -5
  135. package/dist/chunks/{bus-sbg8j0vj.js → model-resolver-dq8p8g98.js} +11 -11
  136. package/dist/chunks/{bus-zhaxkft9.js → model-resolver-ds2f0rmb.js} +3 -3
  137. package/dist/chunks/{bus-dt77769w.js → model-resolver-dt77769w.js} +1 -1
  138. package/dist/chunks/{bus-gbhvr811.js → model-resolver-e19czkbx.js} +34 -34
  139. package/dist/chunks/{bus-gckdc5ay.js → model-resolver-e3p762jb.js} +17 -17
  140. package/dist/chunks/{bus-mz1qqpv3.js → model-resolver-e42rb5nh.js} +9 -9
  141. package/dist/chunks/{bus-phaw4w7g.js → model-resolver-e5vm4r2z.js} +5 -5
  142. package/dist/chunks/{bus-e834z07m.js → model-resolver-e834z07m.js} +1 -1
  143. package/dist/chunks/{bus-n5eh1rap.js → model-resolver-ebw1bbd1.js} +90 -90
  144. package/dist/chunks/{bus-bgyx9ygv.js → model-resolver-em9d63hf.js} +27 -27
  145. package/dist/chunks/{bus-v3kn2g9y.js → model-resolver-eyejk55r.js} +5 -5
  146. package/dist/chunks/{bus-fyyp424t.js → model-resolver-fb0ffggm.js} +31 -31
  147. package/dist/chunks/{bus-fffv3p7h.js → model-resolver-fffv3p7h.js} +1 -1
  148. package/dist/chunks/{bus-fg9p65nk.js → model-resolver-fg9p65nk.js} +2 -2
  149. package/dist/chunks/{bus-cwkz8rb4.js → model-resolver-fvz2a291.js} +15 -15
  150. package/dist/chunks/{bus-b1gj8ygw.js → model-resolver-g0287tj7.js} +4 -4
  151. package/dist/chunks/{bus-g4wezt3f.js → model-resolver-g60d9pja.js} +8 -8
  152. package/dist/chunks/{bus-z2twcj9c.js → model-resolver-g7e31nf0.js} +40 -40
  153. package/dist/chunks/{bus-zkkkregz.js → model-resolver-gf94v7ds.js} +12 -12
  154. package/dist/chunks/{bus-8edw0cf2.js → model-resolver-ghsy9na1.js} +28 -28
  155. package/dist/chunks/{bus-n9d26gdb.js → model-resolver-gj0tv93d.js} +10 -10
  156. package/dist/chunks/{bus-d4v9tmah.js → model-resolver-gn8tkhbf.js} +2 -2
  157. package/dist/chunks/{bus-0azq8fy9.js → model-resolver-gxn61zhy.js} +2 -2
  158. package/dist/chunks/{bus-svwybv69.js → model-resolver-h4ydfc35.js} +12 -12
  159. package/dist/chunks/{bus-6rqscc3n.js → model-resolver-haawhqgr.js} +25 -25
  160. package/dist/chunks/{bus-xrtynsxf.js → model-resolver-hckvh4sv.js} +35 -35
  161. package/dist/chunks/{bus-r0yr0wbs.js → model-resolver-hh7kjqtw.js} +2 -1
  162. package/dist/chunks/{bus-67sqxw17.js → model-resolver-hjbr58an.js} +18 -18
  163. package/dist/chunks/{bus-hpg1pkwy.js → model-resolver-hpg1pkwy.js} +1 -1
  164. package/dist/chunks/{bus-7x554r32.js → model-resolver-hskmxh3h.js} +9 -9
  165. package/dist/chunks/{bus-per0mbyz.js → model-resolver-hwtwmcxj.js} +13 -13
  166. package/dist/chunks/{bus-v5hpj9dd.js → model-resolver-hy8c1z76.js} +8 -8
  167. package/dist/chunks/{bus-m0dqqhg5.js → model-resolver-j8bdajc7.js} +8 -8
  168. package/dist/chunks/{bus-0es81n8q.js → model-resolver-j97kzcev.js} +10 -10
  169. package/dist/chunks/{bus-f9nwn4tf.js → model-resolver-jb1qvvx4.js} +3 -3
  170. package/dist/chunks/{bus-9n8z28yy.js → model-resolver-jcf07173.js} +22 -22
  171. package/dist/chunks/{bus-jfaecv01.js → model-resolver-jfaecv01.js} +1 -1
  172. package/dist/chunks/{bus-jtnps1zs.js → model-resolver-jtnps1zs.js} +2 -2
  173. package/dist/chunks/{bus-wwgpyqzb.js → model-resolver-jv2xnyk0.js} +9 -9
  174. package/dist/chunks/{bus-xqxcdqkj.js → model-resolver-jvpt39xs.js} +18 -18
  175. package/dist/chunks/{bus-7p8y1xew.js → model-resolver-k07k3amx.js} +19 -19
  176. package/dist/chunks/{bus-a0qb2paf.js → model-resolver-k17w2jj8.js} +15 -15
  177. package/dist/chunks/{bus-k814nvkf.js → model-resolver-k814nvkf.js} +1 -1
  178. package/dist/chunks/{bus-w307e9wj.js → model-resolver-k9zkdd2y.js} +4 -4
  179. package/dist/chunks/{bus-ebkm765p.js → model-resolver-khm9g9rn.js} +33 -33
  180. package/dist/chunks/{bus-3wk2baz8.js → model-resolver-kk4m6xpk.js} +9 -9
  181. package/dist/chunks/{bus-cwa3fr09.js → model-resolver-kkq9589k.js} +57 -57
  182. package/dist/chunks/{bus-xzr1gvfw.js → model-resolver-kmjd8e1b.js} +12 -12
  183. package/dist/chunks/{bus-kt3bjfbg.js → model-resolver-kt3bjfbg.js} +1 -1
  184. package/dist/chunks/{bus-2jr2kyhh.js → model-resolver-m0qw3cnp.js} +5 -5
  185. package/dist/chunks/{bus-m1714858.js → model-resolver-m1714858.js} +1 -1
  186. package/dist/chunks/{bus-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{bus-3carsgcx.js → model-resolver-mehbn690.js} +3 -3
  188. package/dist/chunks/{bus-sbr89z4j.js → model-resolver-mekmjhn9.js} +32 -32
  189. package/dist/chunks/{bus-s7gmm2q3.js → model-resolver-mg356nz4.js} +3 -3
  190. package/dist/chunks/{bus-69fgec3f.js → model-resolver-mkg7mbq5.js} +29 -29
  191. package/dist/chunks/{bus-ec14ztk4.js → model-resolver-mkw2jwqb.js} +3 -3
  192. package/dist/chunks/{bus-y7ehhw0v.js → model-resolver-mqtbfpst.js} +25 -25
  193. package/dist/chunks/{bus-6mq5ryr8.js → model-resolver-mwz57098.js} +4 -4
  194. package/dist/chunks/{bus-qpgx3sd4.js → model-resolver-mxynyzfm.js} +12 -12
  195. package/dist/chunks/{bus-ykvdctq4.js → model-resolver-n3ms51k8.js} +6 -6
  196. package/dist/chunks/{bus-rf3ew56q.js → model-resolver-n516hxxc.js} +33 -33
  197. package/dist/chunks/{bus-nah043kf.js → model-resolver-nah043kf.js} +1 -1
  198. package/dist/chunks/{bus-2cgds78d.js → model-resolver-ngbjhm7w.js} +25 -25
  199. package/dist/chunks/{bus-92vky5wk.js → model-resolver-nma643tt.js} +11 -11
  200. package/dist/chunks/{bus-fypmhnps.js → model-resolver-np3f7rt0.js} +2 -2
  201. package/dist/chunks/{bus-rr54y859.js → model-resolver-np47h428.js} +4 -4
  202. package/dist/chunks/{bus-erjptbv1.js → model-resolver-nttn14j9.js} +4 -4
  203. package/dist/chunks/{bus-p015t6z3.js → model-resolver-p015t6z3.js} +2 -2
  204. package/dist/chunks/{bus-wrjnae0d.js → model-resolver-p1mde3sk.js} +198 -198
  205. package/dist/chunks/{bus-agvxwjff.js → model-resolver-p2hg2bey.js} +12 -12
  206. package/dist/chunks/{bus-hn4sj8vd.js → model-resolver-p580ev26.js} +6 -6
  207. package/dist/chunks/{bus-2ty01zvd.js → model-resolver-pjtyxbjq.js} +17 -17
  208. package/dist/chunks/{bus-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  209. package/dist/chunks/{bus-7cgnmsnz.js → model-resolver-pp05edzg.js} +11 -11
  210. package/dist/chunks/{bus-y2whjd1m.js → model-resolver-pp0pn87f.js} +11 -11
  211. package/dist/chunks/{bus-v0sdba08.js → model-resolver-pvp6fg14.js} +14 -14
  212. package/dist/chunks/{bus-yara3q77.js → model-resolver-pxtfkpje.js} +2 -2
  213. package/dist/chunks/{bus-rkrna9hn.js → model-resolver-pyw9tktf.js} +17 -17
  214. package/dist/chunks/{bus-12yrf7jb.js → model-resolver-pz4bxmc0.js} +5 -5
  215. package/dist/chunks/{bus-0vx0x5fb.js → model-resolver-qc0dffe1.js} +16 -16
  216. package/dist/chunks/{bus-pzbysshh.js → model-resolver-qf7wdzx4.js} +80 -80
  217. package/dist/chunks/{bus-c6k5p5tb.js → model-resolver-qjd35q55.js} +14 -14
  218. package/dist/chunks/{bus-qp7r0hxv.js → model-resolver-qp7r0hxv.js} +1 -1
  219. package/dist/chunks/{bus-faz7t49j.js → model-resolver-qqg00k1m.js} +10 -10
  220. package/dist/chunks/{bus-qqvy8y24.js → model-resolver-qqvy8y24.js} +1 -1
  221. package/dist/chunks/{bus-hkjbyznq.js → model-resolver-qr5k2are.js} +10 -10
  222. package/dist/chunks/model-resolver-qs8a0pvz.js +535 -0
  223. package/dist/chunks/{bus-de3kd59v.js → model-resolver-r3jnkjvn.js} +46 -46
  224. package/dist/chunks/{bus-158gwrne.js → model-resolver-r3n6xbzs.js} +18 -18
  225. package/dist/chunks/{bus-c3fg13fa.js → model-resolver-r44vdp06.js} +3 -3
  226. package/dist/chunks/{bus-znxhc1zm.js → model-resolver-r4h5gr85.js} +27 -27
  227. package/dist/chunks/{bus-gcjdgkn2.js → model-resolver-r4pwrx75.js} +2 -2
  228. package/dist/chunks/{bus-r542h3bh.js → model-resolver-r542h3bh.js} +1 -1
  229. package/dist/chunks/{bus-sag1960s.js → model-resolver-rae286de.js} +4 -4
  230. package/dist/chunks/model-resolver-rb7the7a.js +257 -0
  231. package/dist/chunks/{bus-rb9dy4dg.js → model-resolver-rb9dy4dg.js} +1 -1
  232. package/dist/chunks/{bus-3es65w47.js → model-resolver-rnndk4m8.js} +48 -48
  233. package/dist/chunks/{bus-rt5dr6hb.js → model-resolver-rt5dr6hb.js} +1 -1
  234. package/dist/chunks/{bus-21m1qx2d.js → model-resolver-rx6q88jc.js} +24 -24
  235. package/dist/chunks/{bus-yfa3dy01.js → model-resolver-rzex016b.js} +6 -6
  236. package/dist/chunks/{bus-cf4c2abg.js → model-resolver-s3gmcb39.js} +9 -9
  237. package/dist/chunks/model-resolver-s9kkzxe3.js +26 -0
  238. package/dist/chunks/{bus-sa3fpqfw.js → model-resolver-sa3fpqfw.js} +2 -2
  239. package/dist/chunks/{bus-5hvj3cgw.js → model-resolver-sew631bv.js} +25 -25
  240. package/dist/chunks/{bus-w2gtp0cp.js → model-resolver-sfh5xs5y.js} +16 -16
  241. package/dist/chunks/{bus-3zjzp6xn.js → model-resolver-spbwh0fp.js} +21 -21
  242. package/dist/chunks/{bus-sqjzf8x2.js → model-resolver-sqjzf8x2.js} +1 -1
  243. package/dist/chunks/{bus-zsh677ft.js → model-resolver-srpyah9m.js} +49 -49
  244. package/dist/chunks/{bus-ssfehs1z.js → model-resolver-ssfehs1z.js} +1 -1
  245. package/dist/chunks/{bus-svcy3p9a.js → model-resolver-svcy3p9a.js} +1 -1
  246. package/dist/chunks/{bus-bj6adykh.js → model-resolver-sy8vd0m2.js} +8 -8
  247. package/dist/chunks/{bus-rb1rz6cd.js → model-resolver-t3tgzswk.js} +28 -28
  248. package/dist/chunks/{bus-74e79trj.js → model-resolver-tc5b1bny.js} +26 -26
  249. package/dist/chunks/{bus-tczq8hjw.js → model-resolver-tczq8hjw.js} +1 -1
  250. package/dist/chunks/{bus-t1dw8cfv.js → model-resolver-terez3x2.js} +11 -11
  251. package/dist/chunks/{bus-wzq1kmgq.js → model-resolver-tjbktcma.js} +26 -26
  252. package/dist/chunks/{bus-sz9w62cr.js → model-resolver-tjvxx29a.js} +22 -22
  253. package/dist/chunks/{bus-rwdwt89q.js → model-resolver-tkbmyhb4.js} +10 -10
  254. package/dist/chunks/{bus-3nnrz6f6.js → model-resolver-tmc7xdjs.js} +4 -4
  255. package/dist/chunks/{bus-jvqz6y9c.js → model-resolver-tv7z3yt9.js} +11 -11
  256. package/dist/chunks/{bus-twssxy5n.js → model-resolver-twssxy5n.js} +2 -2
  257. package/dist/chunks/{bus-y78kkv0p.js → model-resolver-v1tvskx9.js} +17 -17
  258. package/dist/chunks/{bus-v2r1d0zg.js → model-resolver-v2r1d0zg.js} +1 -1
  259. package/dist/chunks/{bus-ds7r37yp.js → model-resolver-v54nvb2h.js} +5 -5
  260. package/dist/chunks/{bus-ye07msm6.js → model-resolver-v7h6andt.js} +21 -21
  261. package/dist/chunks/{bus-c8ph4e1p.js → model-resolver-ve4251vb.js} +20 -20
  262. package/dist/chunks/{bus-6drdq4m3.js → model-resolver-vf9vzdpy.js} +41 -41
  263. package/dist/chunks/{bus-jzv5rqjm.js → model-resolver-vja3zs8n.js} +11 -11
  264. package/dist/chunks/{bus-txa2na18.js → model-resolver-w2y2s0n1.js} +21 -21
  265. package/dist/chunks/{bus-qyny2w4y.js → model-resolver-w3d76d98.js} +18 -18
  266. package/dist/chunks/{bus-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  267. package/dist/chunks/{bus-wr3re1en.js → model-resolver-w687dnns.js} +4 -4
  268. package/dist/chunks/{bus-pyjsgtqa.js → model-resolver-w6v5sxdw.js} +9 -9
  269. package/dist/chunks/{bus-esn455wh.js → model-resolver-w7d7mz6q.js} +13 -13
  270. package/dist/chunks/{bus-76cb1hcw.js → model-resolver-w8qtt4th.js} +4 -4
  271. package/dist/chunks/{bus-yqveydy6.js → model-resolver-w9w8mt4n.js} +4 -4
  272. package/dist/chunks/{bus-wakvkjy4.js → model-resolver-wakvkjy4.js} +1 -1
  273. package/dist/chunks/{bus-5qpycfhf.js → model-resolver-wd1xcya7.js} +15 -15
  274. package/dist/chunks/{bus-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  275. package/dist/chunks/{bus-ha5nk7p4.js → model-resolver-whz0tbn3.js} +21 -21
  276. package/dist/chunks/{bus-dwemer89.js → model-resolver-wnb85yzk.js} +21 -21
  277. package/dist/chunks/{bus-wnhgecwx.js → model-resolver-wnhgecwx.js} +1 -1
  278. package/dist/chunks/{bus-x73g3dsh.js → model-resolver-x09jv9p1.js} +5 -5
  279. package/dist/chunks/{bus-cdtqhjvm.js → model-resolver-x32t5qxa.js} +10 -10
  280. package/dist/chunks/{bus-z7930y0h.js → model-resolver-x5qgebf8.js} +28 -28
  281. package/dist/chunks/{bus-sfkj0ta1.js → model-resolver-x6pyv2yz.js} +5 -5
  282. package/dist/chunks/{bus-k5xdymkf.js → model-resolver-xeg3jkwn.js} +15 -15
  283. package/dist/chunks/{bus-wxpy059d.js → model-resolver-xgew9n4h.js} +8 -8
  284. package/dist/chunks/{bus-kkfw1ty8.js → model-resolver-xn46eh9z.js} +13 -13
  285. package/dist/chunks/{bus-vmfhgzt5.js → model-resolver-xnh55p1t.js} +7 -7
  286. package/dist/chunks/{bus-x9e94t11.js → model-resolver-xzj8w313.js} +23 -23
  287. package/dist/chunks/{bus-h9vwxdya.js → model-resolver-y6scp2pe.js} +46 -46
  288. package/dist/chunks/{bus-yb20nhc3.js → model-resolver-yb20nhc3.js} +1 -1
  289. package/dist/chunks/{bus-dhp97qke.js → model-resolver-yeyfr6zk.js} +11 -11
  290. package/dist/chunks/{bus-0f8tg23y.js → model-resolver-ymz7p2c9.js} +3 -3
  291. package/dist/chunks/{bus-04pp57dr.js → model-resolver-yrgtjhcx.js} +8 -8
  292. package/dist/chunks/{bus-tvhr4amm.js → model-resolver-ywp21z45.js} +4 -4
  293. package/dist/chunks/{bus-hwrm0jef.js → model-resolver-z00f7qmg.js} +28 -28
  294. package/dist/chunks/{bus-z38nccrw.js → model-resolver-z38nccrw.js} +1 -1
  295. package/dist/chunks/{bus-vxdc9hjx.js → model-resolver-z4qcr8nf.js} +23 -23
  296. package/dist/chunks/model-resolver-z7bdqmx5.js +18 -0
  297. package/dist/chunks/{bus-xdfy1vac.js → model-resolver-zbs0ay32.js} +19 -19
  298. package/dist/chunks/{bus-vsqvcqta.js → model-resolver-zg0jbn27.js} +6 -6
  299. package/dist/chunks/{bus-0anyt1n6.js → model-resolver-zh7bbm8x.js} +9 -9
  300. package/dist/chunks/{bus-72a16mc2.js → model-resolver-zpxk6q5d.js} +19 -19
  301. package/dist/codemode/catalog.js +1 -1
  302. package/dist/codemode/instructions.js +9 -9
  303. package/dist/codemode/tool.js +3 -3
  304. package/dist/codemode/web.js +1 -1
  305. package/dist/command.js +94 -94
  306. package/dist/config/discovery.js +95 -95
  307. package/dist/config/integration.js +3 -3
  308. package/dist/config/markdown.js +1 -1
  309. package/dist/config/normalize.js +110 -110
  310. package/dist/config/plugin/agent.js +124 -124
  311. package/dist/config/plugin/command.js +222 -222
  312. package/dist/config/plugin/compaction.js +165 -165
  313. package/dist/config/plugin/compatibility.js +145 -145
  314. package/dist/config/plugin/entry-observer.js +1 -1
  315. package/dist/config/plugin/formatter.js +125 -125
  316. package/dist/config/plugin/image.js +124 -124
  317. package/dist/config/plugin/instruction.js +124 -124
  318. package/dist/config/plugin/location-watcher.js +126 -126
  319. package/dist/config/plugin/mcp.js +131 -131
  320. package/dist/config/plugin/policy.js +126 -126
  321. package/dist/config/plugin/provider.js +125 -125
  322. package/dist/config/plugin/reference.js +126 -126
  323. package/dist/config/plugin/shell.js +124 -124
  324. package/dist/config/plugin/skill-file.js +141 -141
  325. package/dist/config/plugin/skill-scan.js +1 -1
  326. package/dist/config/plugin/skill.js +146 -146
  327. package/dist/config/plugin/snapshot.js +122 -122
  328. package/dist/config/plugin/source.js +127 -127
  329. package/dist/config/plugin/tool-output.js +125 -125
  330. package/dist/config/plugin/websearch.js +123 -123
  331. package/dist/config/plugin/worktree.js +126 -126
  332. package/dist/config/variable.js +1 -1
  333. package/dist/config/watch.js +1 -1
  334. package/dist/config.js +129 -129
  335. package/dist/console-access.js +1 -1
  336. package/dist/credential/sql.js +2 -2
  337. package/dist/credential.js +92 -92
  338. package/dist/database/database.js +75 -75
  339. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  340. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  341. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  342. package/dist/database/drizzle/index.js +13 -13
  343. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  344. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  345. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  346. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  347. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  348. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  349. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  350. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  351. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  352. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  353. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  354. package/dist/database/drizzle.js +14 -14
  355. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  356. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  357. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  358. package/dist/database/migration/20260225215848_workspace.js +1 -1
  359. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  360. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  361. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  362. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  363. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  364. package/dist/database/migration/20260323234822_events.js +1 -1
  365. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  366. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  367. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  368. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  369. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  370. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  371. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  372. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  373. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  374. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  375. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  376. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  377. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  378. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  379. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  380. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  381. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  382. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  383. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  384. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  385. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  386. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  387. package/dist/database/migration/20260611035744_credential.js +1 -1
  388. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  389. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  390. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  391. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  392. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  393. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  394. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  395. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  396. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  397. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  398. package/dist/database/migration/20260812213948_worktree.js +1 -1
  399. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  400. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  401. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  402. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  403. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  404. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  405. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  406. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  407. package/dist/database/migration/20261025123711_blob.js +1 -1
  408. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  409. package/dist/database/migration/20261026223005_schedule.js +1 -1
  410. package/dist/database/migration/20261029002625_session_part.js +1 -1
  411. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  412. package/dist/database/migration.gen.js +58 -58
  413. package/dist/database/migration.js +60 -60
  414. package/dist/database/path.js +2 -2
  415. package/dist/database/schema.gen.js +1 -1
  416. package/dist/database/schema.sql.js +1 -1
  417. package/dist/database/sqlite.bun.js +1 -1
  418. package/dist/database/sqlite.js +1 -1
  419. package/dist/database/sqlite.node.js +1 -1
  420. package/dist/database/sqlite.workerd.js +2 -1
  421. package/dist/database/v1-migration.bun.js +103 -103
  422. package/dist/database/v1-migration.js +1 -1
  423. package/dist/effect/app-node-builder.js +388 -388
  424. package/dist/effect/app-node-platform.js +2 -2
  425. package/dist/effect/keyed-mutex.js +1 -1
  426. package/dist/effect/websocket-constructor.js +1 -1
  427. package/dist/environment/driver.js +1 -1
  428. package/dist/environment/environment.js +104 -104
  429. package/dist/environment/exec-defaults.js +2 -2
  430. package/dist/environment/files.js +1 -1
  431. package/dist/environment/index.js +106 -106
  432. package/dist/environment/local.js +2 -2
  433. package/dist/environment/memory.js +2 -2
  434. package/dist/environment/unavailable.js +3 -3
  435. package/dist/event/sql.js +1 -1
  436. package/dist/event-logger.js +79 -79
  437. package/dist/file-access.js +151 -151
  438. package/dist/file-mutation.js +105 -105
  439. package/dist/file-retention.js +1 -1
  440. package/dist/filesystem/fff.bun.js +2 -2
  441. package/dist/filesystem/fff.js +1 -1
  442. package/dist/filesystem/fff.node.js +2 -2
  443. package/dist/filesystem/fff.workerd.js +2 -2
  444. package/dist/filesystem/file-watch.js +86 -86
  445. package/dist/filesystem/location-watcher-policy.js +6 -6
  446. package/dist/filesystem/location-watcher.js +237 -237
  447. package/dist/filesystem/protected.js +3 -3
  448. package/dist/filesystem/search.js +110 -110
  449. package/dist/filesystem/watcher-binding.js +1 -1
  450. package/dist/filesystem/watcher.js +11 -11
  451. package/dist/filesystem.js +115 -115
  452. package/dist/form.js +91 -91
  453. package/dist/formatter/builtins.js +4 -4
  454. package/dist/formatter.js +98 -98
  455. package/dist/generate.js +110 -110
  456. package/dist/git.js +11 -11
  457. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  458. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  459. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  460. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  461. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  462. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  463. package/dist/github-copilot/copilot-provider.js +17 -17
  464. package/dist/github-copilot/models.js +110 -110
  465. package/dist/github-copilot/openai-compatible-error.js +1 -1
  466. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  467. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  468. package/dist/github-copilot/responses/openai-error.js +1 -1
  469. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  470. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  471. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  472. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  473. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  474. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  475. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  476. package/dist/image/notice.js +1 -1
  477. package/dist/image/photon-normalize.js +1 -1
  478. package/dist/image/photon-worker.js +1 -1
  479. package/dist/image/photon.js +4 -4
  480. package/dist/image.js +6 -6
  481. package/dist/instance/service.js +5 -5
  482. package/dist/instance.js +379 -379
  483. package/dist/instruction-discovery.js +91 -91
  484. package/dist/instructions/builtins.js +98 -98
  485. package/dist/instructions/index.js +3 -3
  486. package/dist/integration/connection.js +3 -3
  487. package/dist/integration.js +98 -98
  488. package/dist/job.js +87 -87
  489. package/dist/kv/sql.js +2 -2
  490. package/dist/kv.js +82 -82
  491. package/dist/location-activity.js +166 -166
  492. package/dist/location-lifecycle.js +145 -145
  493. package/dist/location-service-map.js +97 -97
  494. package/dist/location-services.js +376 -376
  495. package/dist/location.js +100 -100
  496. package/dist/managed-policy.js +3 -3
  497. package/dist/mcp/client.js +102 -102
  498. package/dist/mcp/index.js +120 -120
  499. package/dist/mcp/instructions.js +171 -171
  500. package/dist/mcp/oauth.js +87 -87
  501. package/dist/mcp/socket-client.js +1 -1
  502. package/dist/mcp/stdio.js +101 -101
  503. package/dist/mime.js +1 -1
  504. package/dist/modal/models.js +110 -110
  505. package/dist/model-resolver.js +110 -110
  506. package/dist/model-retry.js +1 -1
  507. package/dist/model.js +111 -111
  508. package/dist/models-dev/v1.js +1 -1
  509. package/dist/models-dev.js +113 -113
  510. package/dist/oauth/page.js +1 -1
  511. package/dist/permission/saved.js +89 -89
  512. package/dist/permission/sql.js +5 -5
  513. package/dist/permission.js +146 -146
  514. package/dist/persistent-pty/binary.bun.js +1 -1
  515. package/dist/persistent-pty/daemon.js +1 -1
  516. package/dist/persistent-pty/index.js +99 -99
  517. package/dist/persistent-pty/pty-binding.js +1 -1
  518. package/dist/persistent-pty.js +84 -84
  519. package/dist/plugin/agent.js +83 -83
  520. package/dist/plugin/command.js +111 -111
  521. package/dist/plugin/goal.js +3 -3
  522. package/dist/plugin/hooks.js +5 -5
  523. package/dist/plugin/host.js +230 -230
  524. package/dist/plugin/identity.js +5 -5
  525. package/dist/plugin/instance.js +5 -5
  526. package/dist/plugin/internal.js +349 -349
  527. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  528. package/dist/plugin/models-dev.js +108 -108
  529. package/dist/plugin/module.js +126 -126
  530. package/dist/plugin/optimize.js +2 -2
  531. package/dist/plugin/plan.js +141 -141
  532. package/dist/plugin/promise.js +1 -1
  533. package/dist/plugin/provider/amazon-bedrock.js +102 -102
  534. package/dist/plugin/provider/azure.js +124 -124
  535. package/dist/plugin/provider/cerebras.js +1 -1
  536. package/dist/plugin/provider/chatgpt.js +124 -124
  537. package/dist/plugin/provider/cloudflare-ai-gateway.js +122 -122
  538. package/dist/plugin/provider/cloudflare-workers-ai.js +122 -122
  539. package/dist/plugin/provider/configured.js +120 -120
  540. package/dist/plugin/provider/credential-settings.js +83 -83
  541. package/dist/plugin/provider/databricks.js +1 -1
  542. package/dist/plugin/provider/digitalocean.js +104 -104
  543. package/dist/plugin/provider/dynamic.js +2 -2
  544. package/dist/plugin/provider/github-copilot.js +106 -106
  545. package/dist/plugin/provider/gitlab.js +105 -105
  546. package/dist/plugin/provider/google-vertex.js +121 -121
  547. package/dist/plugin/provider/kilo.js +1 -1
  548. package/dist/plugin/provider/llmgateway.js +87 -87
  549. package/dist/plugin/provider/lmstudio.js +133 -133
  550. package/dist/plugin/provider/local.js +130 -130
  551. package/dist/plugin/provider/modal.js +103 -103
  552. package/dist/plugin/provider/neon.js +1 -1
  553. package/dist/plugin/provider/nvidia.js +1 -1
  554. package/dist/plugin/provider/ollama.js +133 -133
  555. package/dist/plugin/provider/openai-context-caps.js +101 -101
  556. package/dist/plugin/provider/openai.js +124 -124
  557. package/dist/plugin/provider/opencode.js +127 -127
  558. package/dist/plugin/provider/openrouter.js +102 -102
  559. package/dist/plugin/provider/poe.js +88 -88
  560. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  561. package/dist/plugin/provider/sap-ai-core.js +102 -102
  562. package/dist/plugin/provider/sdk-factory.js +1 -1
  563. package/dist/plugin/provider/snowflake-cortex.js +123 -123
  564. package/dist/plugin/provider/vllm.js +133 -133
  565. package/dist/plugin/provider/xai.js +102 -102
  566. package/dist/plugin/provider/zenmux.js +1 -1
  567. package/dist/plugin/provider.js +175 -175
  568. package/dist/plugin/sdk.js +85 -85
  569. package/dist/plugin/service.js +3 -3
  570. package/dist/plugin/skill.js +144 -144
  571. package/dist/plugin/source-directory.js +1 -1
  572. package/dist/plugin/supervisor.js +367 -367
  573. package/dist/plugin/tool-input-repair.js +4 -4
  574. package/dist/plugin/update.js +6 -6
  575. package/dist/plugin/vcs/git.js +97 -97
  576. package/dist/plugin/vcs/hg.js +97 -97
  577. package/dist/plugin/verbosity.js +104 -104
  578. package/dist/plugin/warming.js +122 -122
  579. package/dist/plugin/websearch/exa.js +7 -7
  580. package/dist/plugin/websearch/firecrawl.js +8 -8
  581. package/dist/plugin/websearch/index.js +9 -9
  582. package/dist/plugin/websearch/mcp.js +4 -4
  583. package/dist/plugin/websearch/parallel.js +8 -8
  584. package/dist/plugin/websearch/tavily.js +6 -6
  585. package/dist/plugin/websearch/tinyfish.js +6 -6
  586. package/dist/plugin.js +241 -241
  587. package/dist/project/icon.js +5 -5
  588. package/dist/project/schema.js +8 -8
  589. package/dist/project/sql.js +4 -4
  590. package/dist/project.js +101 -101
  591. package/dist/provider.js +110 -110
  592. package/dist/pty/protocol.js +1 -1
  593. package/dist/pty/ticket.js +1 -1
  594. package/dist/pty.js +109 -109
  595. package/dist/reference/instructions.js +97 -97
  596. package/dist/reference.js +99 -99
  597. package/dist/repository-cache.js +91 -91
  598. package/dist/repository.js +1 -1
  599. package/dist/ripgrep/binary.js +2 -2
  600. package/dist/ripgrep.js +108 -108
  601. package/dist/rpc.js +97 -97
  602. package/dist/schedule/sql.js +6 -6
  603. package/dist/schedule.js +228 -228
  604. package/dist/schema.js +1 -1
  605. package/dist/session/affinity.js +3 -3
  606. package/dist/session/background.js +1 -1
  607. package/dist/session/blob.js +123 -123
  608. package/dist/session/command.js +83 -83
  609. package/dist/session/compaction.js +165 -165
  610. package/dist/session/context.js +191 -191
  611. package/dist/session/diff.js +99 -99
  612. package/dist/session/environment.js +5 -5
  613. package/dist/session/error.js +5 -5
  614. package/dist/session/event.js +1 -1
  615. package/dist/session/execution/restart.js +232 -232
  616. package/dist/session/execution.js +155 -155
  617. package/dist/session/generate.js +191 -191
  618. package/dist/session/history.js +130 -130
  619. package/dist/session/inbox.js +143 -143
  620. package/dist/session/info.js +3 -3
  621. package/dist/session/instruction-entry.js +88 -88
  622. package/dist/session/instruction-state.js +8 -8
  623. package/dist/session/instructions.js +135 -135
  624. package/dist/session/message-updater.js +2 -2
  625. package/dist/session/message.js +1 -1
  626. package/dist/session/model-request.js +158 -158
  627. package/dist/session/model-transport.js +9 -9
  628. package/dist/session/move.js +159 -159
  629. package/dist/session/projector.js +137 -137
  630. package/dist/session/prompt.js +143 -143
  631. package/dist/session/recent-text.js +1 -1
  632. package/dist/session/revert.js +133 -133
  633. package/dist/session/run-coordinator.js +1 -1
  634. package/dist/session/runner/index.js +3 -3
  635. package/dist/session/runner/llm.js +242 -242
  636. package/dist/session/runner/max-steps.js +1 -1
  637. package/dist/session/runner/model.js +111 -111
  638. package/dist/session/runner/publish-llm-event.js +144 -144
  639. package/dist/session/runner/retry.js +5 -5
  640. package/dist/session/runner/step.js +157 -157
  641. package/dist/session/runner/to-llm-message.js +131 -131
  642. package/dist/session/schema.js +5 -5
  643. package/dist/session/session.js +175 -175
  644. package/dist/session/shell.js +138 -138
  645. package/dist/session/skill.js +144 -144
  646. package/dist/session/sql.js +5 -5
  647. package/dist/session/stats.js +82 -82
  648. package/dist/session/store.js +136 -136
  649. package/dist/session/stored.js +2 -2
  650. package/dist/session/subagent-completion.js +1 -1
  651. package/dist/session/subagent-job.js +222 -222
  652. package/dist/session/system-prompt.js +5 -5
  653. package/dist/session/title.js +195 -195
  654. package/dist/session/to-session-error.js +143 -143
  655. package/dist/session/transfer.js +230 -230
  656. package/dist/session/usage.js +1 -1
  657. package/dist/session.js +226 -226
  658. package/dist/shell/parse.js +6 -6
  659. package/dist/shell/result.js +1 -1
  660. package/dist/shell/scan.js +1 -1
  661. package/dist/shell/select.js +15 -15
  662. package/dist/shell.js +140 -140
  663. package/dist/skill/discovery.js +2 -2
  664. package/dist/skill/instructions.js +144 -144
  665. package/dist/skill.js +149 -149
  666. package/dist/snapshot.js +100 -100
  667. package/dist/state.js +1 -1
  668. package/dist/tool/html-markdown.js +1 -1
  669. package/dist/tool/http-body.js +1 -1
  670. package/dist/tool/mcp.js +168 -168
  671. package/dist/tool/plugin/edit.js +159 -159
  672. package/dist/tool/plugin/file-diff.js +1 -1
  673. package/dist/tool/plugin/glob.js +163 -163
  674. package/dist/tool/plugin/grep.js +163 -163
  675. package/dist/tool/plugin/image-generate.js +232 -232
  676. package/dist/tool/plugin/mcp-resource.js +157 -157
  677. package/dist/tool/plugin/opencode.js +156 -156
  678. package/dist/tool/plugin/patch.js +159 -159
  679. package/dist/tool/plugin/question.js +141 -141
  680. package/dist/tool/plugin/read.js +164 -164
  681. package/dist/tool/plugin/schedule.js +222 -222
  682. package/dist/tool/plugin/shell.js +225 -225
  683. package/dist/tool/plugin/skill.js +152 -152
  684. package/dist/tool/plugin/subagent.js +229 -229
  685. package/dist/tool/plugin/todo.js +148 -148
  686. package/dist/tool/plugin/webfetch.js +152 -152
  687. package/dist/tool/plugin/websearch.js +148 -148
  688. package/dist/tool/plugin/write.js +161 -161
  689. package/dist/tool/read-filesystem.js +113 -113
  690. package/dist/tool/runtime.js +1 -1
  691. package/dist/tool-output.js +7 -7
  692. package/dist/tool.js +16 -16
  693. package/dist/usage-limits.js +96 -96
  694. package/dist/util/error-summary.js +1 -1
  695. package/dist/util/git-executable.js +3 -3
  696. package/dist/util/lazy.js +1 -1
  697. package/dist/util/slug.js +1 -1
  698. package/dist/util/token.js +1 -1
  699. package/dist/util/which.js +1 -1
  700. package/dist/util/wildcard.js +1 -1
  701. package/dist/v1/config/agent.js +7 -7
  702. package/dist/v1/config/command.js +5 -5
  703. package/dist/v1/config/mcp.js +4 -4
  704. package/dist/v1/config/migrate.js +103 -103
  705. package/dist/v1/config/permission.js +3 -3
  706. package/dist/v1/config/plugin.js +3 -3
  707. package/dist/v1/config/provider-options.js +1 -1
  708. package/dist/v1/config/provider.js +4 -4
  709. package/dist/variant.js +102 -102
  710. package/dist/vcs/patch.js +1 -1
  711. package/dist/vcs.js +98 -98
  712. package/dist/voice.js +97 -97
  713. package/dist/websearch.js +93 -93
  714. package/dist/wellknown/plugin.js +85 -85
  715. package/dist/wellknown.js +90 -90
  716. package/dist/workspace/driver.js +7 -7
  717. package/dist/workspace/sql.js +1 -1
  718. package/dist/workspace.js +91 -91
  719. package/dist/worktree/directory.js +2 -2
  720. package/dist/worktree/git.js +11 -11
  721. package/dist/worktree/sql.js +5 -5
  722. package/dist/worktree/strategies.js +100 -100
  723. package/dist/worktree.js +111 -111
  724. package/package.json +11 -11
  725. package/dist/chunks/bus-00ve6mdn.js +0 -18
  726. package/dist/chunks/bus-aykdwqbv.js +0 -257
  727. package/dist/chunks/bus-dasb3jjm.js +0 -26
  728. package/dist/chunks/bus-hpyv6m3b.js +0 -535
  729. /package/dist/chunks/{bus-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  730. /package/dist/chunks/{bus-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  731. /package/dist/chunks/{bus-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  732. /package/dist/chunks/{bus-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  733. /package/dist/chunks/{bus-1kah00gy.js → model-resolver-1kah00gy.js} +0 -0
  734. /package/dist/chunks/{bus-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
  735. /package/dist/chunks/{bus-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  736. /package/dist/chunks/{bus-2bv980vf.js → model-resolver-2bv980vf.js} +0 -0
  737. /package/dist/chunks/{bus-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  738. /package/dist/chunks/{bus-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  739. /package/dist/chunks/{bus-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  740. /package/dist/chunks/{bus-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  741. /package/dist/chunks/{bus-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  742. /package/dist/chunks/{bus-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  743. /package/dist/chunks/{bus-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  744. /package/dist/chunks/{bus-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
  745. /package/dist/chunks/{bus-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  746. /package/dist/chunks/{bus-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  747. /package/dist/chunks/{bus-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  748. /package/dist/chunks/{bus-5w3e23ze.js → model-resolver-5w3e23ze.js} +0 -0
  749. /package/dist/chunks/{bus-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  750. /package/dist/chunks/{bus-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
  751. /package/dist/chunks/{bus-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  752. /package/dist/chunks/{bus-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  753. /package/dist/chunks/{bus-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  754. /package/dist/chunks/{bus-84wd9syh.js → model-resolver-84wd9syh.js} +0 -0
  755. /package/dist/chunks/{bus-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  756. /package/dist/chunks/{bus-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  757. /package/dist/chunks/{bus-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
  758. /package/dist/chunks/{bus-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  759. /package/dist/chunks/{bus-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  760. /package/dist/chunks/{bus-a058387c.js → model-resolver-a058387c.js} +0 -0
  761. /package/dist/chunks/{bus-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
  762. /package/dist/chunks/{bus-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  763. /package/dist/chunks/{bus-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  764. /package/dist/chunks/{bus-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  765. /package/dist/chunks/{bus-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  766. /package/dist/chunks/{bus-beh6qq61.js → model-resolver-beh6qq61.js} +0 -0
  767. /package/dist/chunks/{bus-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  768. /package/dist/chunks/{bus-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  769. /package/dist/chunks/{bus-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  770. /package/dist/chunks/{bus-cqv5kn06.js → model-resolver-cqv5kn06.js} +0 -0
  771. /package/dist/chunks/{bus-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  772. /package/dist/chunks/{bus-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  773. /package/dist/chunks/{bus-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  774. /package/dist/chunks/{bus-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
  775. /package/dist/chunks/{bus-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  776. /package/dist/chunks/{bus-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  777. /package/dist/chunks/{bus-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  778. /package/dist/chunks/{bus-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  779. /package/dist/chunks/{bus-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
  780. /package/dist/chunks/{bus-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
  781. /package/dist/chunks/{bus-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
  782. /package/dist/chunks/{bus-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  783. /package/dist/chunks/{bus-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  784. /package/dist/chunks/{bus-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  785. /package/dist/chunks/{bus-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  786. /package/dist/chunks/{bus-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  787. /package/dist/chunks/{bus-fkpq3x5p.js → model-resolver-fkpq3x5p.js} +0 -0
  788. /package/dist/chunks/{bus-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  789. /package/dist/chunks/{bus-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  790. /package/dist/chunks/{bus-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  791. /package/dist/chunks/{bus-gftt206x.js → model-resolver-gftt206x.js} +0 -0
  792. /package/dist/chunks/{bus-hcxmzztb.js → model-resolver-hcxmzztb.js} +0 -0
  793. /package/dist/chunks/{bus-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  794. /package/dist/chunks/{bus-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  795. /package/dist/chunks/{bus-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  796. /package/dist/chunks/{bus-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
  797. /package/dist/chunks/{bus-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  798. /package/dist/chunks/{bus-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  799. /package/dist/chunks/{bus-jwr30sdr.js → model-resolver-jwr30sdr.js} +0 -0
  800. /package/dist/chunks/{bus-jze0r7bz.js → model-resolver-jze0r7bz.js} +0 -0
  801. /package/dist/chunks/{bus-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  802. /package/dist/chunks/{bus-m18g726c.js → model-resolver-m18g726c.js} +0 -0
  803. /package/dist/chunks/{bus-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  804. /package/dist/chunks/{bus-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  805. /package/dist/chunks/{bus-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  806. /package/dist/chunks/{bus-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  807. /package/dist/chunks/{bus-ncqqe42p.js → model-resolver-ncqqe42p.js} +0 -0
  808. /package/dist/chunks/{bus-nh4v3znn.js → model-resolver-nh4v3znn.js} +0 -0
  809. /package/dist/chunks/{bus-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  810. /package/dist/chunks/{bus-p71gwv9c.js → model-resolver-p71gwv9c.js} +0 -0
  811. /package/dist/chunks/{bus-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  812. /package/dist/chunks/{bus-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  813. /package/dist/chunks/{bus-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
  814. /package/dist/chunks/{bus-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  815. /package/dist/chunks/{bus-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  816. /package/dist/chunks/{bus-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
  817. /package/dist/chunks/{bus-qgfkghh1.js → model-resolver-qgfkghh1.js} +0 -0
  818. /package/dist/chunks/{bus-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  819. /package/dist/chunks/{bus-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  820. /package/dist/chunks/{bus-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  821. /package/dist/chunks/{bus-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  822. /package/dist/chunks/{bus-ty7weeps.js → model-resolver-ty7weeps.js} +0 -0
  823. /package/dist/chunks/{bus-ve7vex1e.js → model-resolver-ve7vex1e.js} +0 -0
  824. /package/dist/chunks/{bus-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  825. /package/dist/chunks/{bus-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
  826. /package/dist/chunks/{bus-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  827. /package/dist/chunks/{bus-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  828. /package/dist/chunks/{bus-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  829. /package/dist/chunks/{bus-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  830. /package/dist/chunks/{bus-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  831. /package/dist/chunks/{bus-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
  832. /package/dist/chunks/{bus-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  833. /package/dist/chunks/{bus-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
  834. /package/dist/chunks/{bus-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID17,
3
- Service83,
4
- node87
5
- } from "./bus-8edw0cf2.js";
2
+ ID15,
3
+ Service80,
4
+ node84
5
+ } from "./model-resolver-ghsy9na1.js";
6
6
  import {
7
- ID11,
7
+ ID14,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
@@ -15,24 +15,24 @@ import {
15
15
  encoding2,
16
16
  mergeOverlay2,
17
17
  mergeHeaders2,
18
- Service72,
19
- node76
20
- } from "./bus-hx97nj8x.js";
18
+ Service79,
19
+ node83
20
+ } from "./model-resolver-cxstdmn9.js";
21
21
  import {
22
- Service70,
23
- node74
24
- } from "./bus-y2ngtz71.js";
22
+ Service75,
23
+ node79
24
+ } from "./model-resolver-2eaj99b9.js";
25
25
  import {
26
- ID10,
26
+ ID13,
27
27
  VariantID2,
28
28
  Ref3,
29
- Service71,
30
- node75,
29
+ Service78,
30
+ node82,
31
31
  supportsText2
32
- } from "./bus-vzvgxy56.js";
32
+ } from "./model-resolver-5qp8d7cx.js";
33
33
  import {
34
34
  __export
35
- } from "./bus-9rqn6x4v.js";
35
+ } from "./model-resolver-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: () => Service69,
44
+ Service: () => Service74,
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: () => layer26,
52
- node: () => node73,
51
+ layer: () => layer25,
52
+ node: () => node78,
53
53
  resolveModel: () => resolveModel3,
54
54
  withVariant: () => withVariant2
55
55
  });
@@ -67,8 +67,8 @@ import { Auth, mergeHttpOptions } from "@opencode/ai/route";
67
67
  import { Context, Effect, Layer, Schema, Struct } from "effect";
68
68
  import { Npm } from "@opencode/util/npm";
69
69
  class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
70
- providerID: ID11,
71
- modelID: ID10,
70
+ providerID: ID14,
71
+ modelID: ID13,
72
72
  variant: VariantID2
73
73
  }) {
74
74
  get message() {
@@ -77,8 +77,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
77
77
  }
78
78
 
79
79
  class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
80
- providerID: ID11,
81
- modelID: ID10,
80
+ providerID: ID14,
81
+ modelID: ID13,
82
82
  package: Schema.String
83
83
  }) {
84
84
  get message() {
@@ -88,8 +88,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
88
88
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
89
89
 
90
90
  class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
91
- providerID: ID11,
92
- modelID: ID10,
91
+ providerID: ID14,
92
+ modelID: ID13,
93
93
  package: Schema.String,
94
94
  detail: Schema.String
95
95
  }) {
@@ -99,8 +99,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
99
99
  }
100
100
 
101
101
  class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
102
- providerID: ID11,
103
- modelID: ID10,
102
+ providerID: ID14,
103
+ modelID: ID13,
104
104
  package: Schema.String,
105
105
  phase: InitializationPhase2,
106
106
  detail: Schema.String
@@ -111,8 +111,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
111
111
  }
112
112
 
113
113
  class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
114
- providerID: ID11,
115
- modelID: ID10,
114
+ providerID: ID14,
115
+ modelID: ID13,
116
116
  variables: Schema.Array(Schema.String)
117
117
  }) {
118
118
  get message() {
@@ -121,8 +121,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
121
121
  }
122
122
 
123
123
  class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
124
- providerID: ID11,
125
- modelID: ID10,
124
+ providerID: ID14,
125
+ modelID: ID13,
126
126
  route: Schema.String
127
127
  }) {
128
128
  get message() {
@@ -130,7 +130,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
130
130
  }
131
131
  }
132
132
 
133
- class Service69 extends Context.Service()("@opencode/ModelResolver") {
133
+ class Service74 extends Context.Service()("@opencode/ModelResolver") {
134
134
  }
135
135
  var withVariant2 = (model, variantID) => {
136
136
  const id = variantID === "default" ? undefined : variantID;
@@ -262,7 +262,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
262
262
  return tokenSettings(specifier, credential.access);
263
263
  if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
264
264
  return { auth: "sigv4" };
265
- if (model.providerID === ID11.azure)
265
+ if (model.providerID === ID14.azure)
266
266
  return tokenSettings(specifier, "azure-cli");
267
267
  return {};
268
268
  };
@@ -297,19 +297,19 @@ var causeMessage = (cause) => {
297
297
  };
298
298
  var resolveModel3 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
299
299
  var hasPackage2 = (model) => Boolean(model.package);
300
- var layer26 = Layer.effect(Service69, Effect.gen(function* () {
301
- const providers = yield* Service72;
302
- const models = yield* Service71;
303
- const integrations = yield* Service83;
300
+ var layer25 = Layer.effect(Service74, Effect.gen(function* () {
301
+ const providers = yield* Service79;
302
+ const models = yield* Service78;
303
+ const integrations = yield* Service80;
304
304
  const npm = yield* Npm.Service;
305
- const aisdk = yield* Service70;
305
+ const aisdk = yield* Service75;
306
306
  const dependencies = {
307
307
  loadPackage: (specifier) => loadPackage2(specifier, npm),
308
308
  loadAISDK: (model) => aisdk.model(model)
309
309
  };
310
310
  const prepare = Effect.fn("ModelResolver.prepare")(function* (selected, variant) {
311
311
  const provider = yield* providers.get(selected.providerID);
312
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID17.make(selected.providerID));
312
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID15.make(selected.providerID));
313
313
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
314
314
  const selectedVariant = yield* withVariant2(selected, variant);
315
315
  const runtimeInfo = {
@@ -345,7 +345,7 @@ var layer26 = Layer.effect(Service69, Effect.gen(function* () {
345
345
  const { credential, runtimeInfo } = yield* prepare(info, ref.variant);
346
346
  return yield* fromCatalogMedia(runtimeInfo, is, credential, dependencies);
347
347
  });
348
- return Service69.of({
348
+ return Service74.of({
349
349
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
350
350
  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)))));
351
351
  if (!selected)
@@ -368,10 +368,10 @@ function usesAPIKeyAuth(packageName) {
368
368
  const name = packageName2(packageName);
369
369
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
370
370
  }
371
- var node73 = makeLocationNode({
372
- service: Service69,
373
- layer: layer26,
374
- deps: [node76, node75, node87, Npm.node, node74]
371
+ var node78 = makeLocationNode({
372
+ service: Service74,
373
+ layer: layer25,
374
+ deps: [node83, node82, node84, Npm.node, node79]
375
375
  });
376
376
 
377
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service69, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer26, node73, exports_model_resolver };
377
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service74, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer25, node78, exports_model_resolver };
@@ -1,36 +1,36 @@
1
1
  import {
2
- Service66
3
- } from "./bus-d96p21aj.js";
2
+ Service58
3
+ } from "./model-resolver-dgwg4nab.js";
4
4
  import {
5
- Service65
6
- } from "./bus-zsh677ft.js";
5
+ Service57
6
+ } from "./model-resolver-srpyah9m.js";
7
7
  import {
8
8
  parse2
9
- } from "./bus-9nx9hf51.js";
9
+ } from "./model-resolver-4p7w50sn.js";
10
10
  import {
11
11
  ignore2,
12
12
  scan2
13
- } from "./bus-nah043kf.js";
13
+ } from "./model-resolver-nah043kf.js";
14
14
  import {
15
15
  __export
16
- } from "./bus-9rqn6x4v.js";
16
+ } from "./model-resolver-9rqn6x4v.js";
17
17
 
18
18
  // src/config/plugin/compatibility.ts
19
19
  var exports_compatibility = {};
20
20
  __export(exports_compatibility, {
21
21
  ConfigCompatibilityPlugin: () => exports_compatibility,
22
- Plugin: () => Plugin15
22
+ Plugin: () => Plugin16
23
23
  });
24
24
  import { define } from "@opencode/plugin/effect/plugin";
25
25
  import { FSUtil } from "@opencode/util/fs-util";
26
26
  import path from "path";
27
27
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
28
- var Plugin15 = define({
28
+ var Plugin16 = define({
29
29
  id: "opencode.config.compatibility",
30
30
  effect: Effect.fn(function* (ctx) {
31
- const config = yield* Service65;
31
+ const config = yield* Service57;
32
32
  const fs = yield* FSUtil.Service;
33
- const watcher = yield* Service66;
33
+ const watcher = yield* Service58;
34
34
  const watches = yield* FiberMap.make();
35
35
  const changes = yield* PubSub.sliding(1);
36
36
  const lock = Semaphore.makeUnsafe(1);
@@ -81,4 +81,4 @@ function isCompatibilitySource(roots, file) {
81
81
  return sourceDirectories.some((name) => path.basename(file) === name) || [...roots.claude, ...roots.agents].some((root) => FSUtil.contains(root, file));
82
82
  }
83
83
 
84
- export { Plugin15, exports_compatibility };
84
+ export { Plugin16, exports_compatibility };
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service62
3
- } from "./bus-8vm3c4cx.js";
2
+ Service66
3
+ } from "./model-resolver-bkccqnab.js";
4
4
  import {
5
- Service52,
5
+ Service14,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./bus-v75c35rk.js";
8
+ } from "./model-resolver-4s29f17y.js";
9
9
  import {
10
- Service79
11
- } from "./bus-k5xdymkf.js";
10
+ Service71
11
+ } from "./model-resolver-xeg3jkwn.js";
12
12
  import {
13
- Service57
14
- } from "./bus-yydbrnd5.js";
13
+ Service54
14
+ } from "./model-resolver-1trhz39y.js";
15
15
  import {
16
- Service56
17
- } from "./bus-5hvj3cgw.js";
16
+ Service13
17
+ } from "./model-resolver-sew631bv.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./bus-6prwharc.js";
20
+ } from "./model-resolver-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./bus-9rqn6x4v.js";
23
+ } from "./model-resolver-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input9,
29
- Output: () => Output6,
30
- Plugin: () => Plugin28,
28
+ Input: () => Input3,
29
+ Output: () => Output3,
30
+ Plugin: () => Plugin38,
31
31
  WriteTool: () => exports_write,
32
- name: () => name9,
33
- toModelContent: () => toModelContent4
32
+ name: () => name3,
33
+ toModelContent: () => toModelContent3
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai/effect";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name9 = "write";
39
- var Input9 = Schema.Struct({
38
+ var name3 = "write";
39
+ var Input3 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output6 = Schema.Struct({
45
+ var Output3 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin28 = {
51
+ var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin38 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service56;
56
- const fileMutation = yield* Service52;
57
- const environment = yield* Service62;
58
- const formatter = yield* Service79;
59
- const permission = yield* Service57;
55
+ const access = yield* Service13;
56
+ const fileMutation = yield* Service14;
57
+ const environment = yield* Service66;
58
+ const formatter = yield* Service71;
59
+ const permission = yield* Service54;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name9,
61
+ name: name3,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input9,
69
- output: Output6,
68
+ input: Input3,
69
+ output: Output3,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name9, Input9, Output6, toModelContent4, Plugin28, exports_write };
101
+ export { name3, Input3, Output3, toModelContent3, Plugin38, exports_write };
@@ -1,52 +1,52 @@
1
1
  import {
2
2
  Service86
3
- } from "./bus-yyhgbx7d.js";
3
+ } from "./model-resolver-5vtcv6tm.js";
4
4
  import {
5
- Service78
6
- } from "./bus-n9d26gdb.js";
5
+ Service61
6
+ } from "./model-resolver-gj0tv93d.js";
7
7
  import {
8
8
  group2,
9
9
  batch2,
10
10
  shutdown2,
11
11
  changes2,
12
12
  inherit2
13
- } from "./bus-204s3925.js";
13
+ } from "./model-resolver-204s3925.js";
14
14
  import {
15
- Service28,
15
+ Service32,
16
16
  awaitActivation2
17
- } from "./bus-00ve6mdn.js";
17
+ } from "./model-resolver-z7bdqmx5.js";
18
18
  import {
19
- make11,
19
+ make12,
20
20
  requirements3,
21
21
  storage2
22
- } from "./bus-wrjnae0d.js";
22
+ } from "./model-resolver-p1mde3sk.js";
23
23
  import {
24
24
  __export
25
- } from "./bus-9rqn6x4v.js";
25
+ } from "./model-resolver-9rqn6x4v.js";
26
26
 
27
27
  // src/plugin.ts
28
- var exports_plugin = {};
29
- __export(exports_plugin, {
30
- Event: () => Event2,
28
+ var exports_plugin2 = {};
29
+ __export(exports_plugin2, {
30
+ Event: () => Event4,
31
31
  GuiBundle: () => GuiBundle2,
32
- ID: () => ID2,
33
- Info: () => Info3,
34
- Plugin: () => exports_plugin,
35
- Service: () => Service28,
32
+ ID: () => ID4,
33
+ Info: () => Info6,
34
+ Plugin: () => exports_plugin2,
35
+ Service: () => Service32,
36
36
  Source: () => Source2,
37
37
  State: () => State2,
38
38
  awaitActivation: () => awaitActivation2,
39
- node: () => node15
39
+ node: () => node23
40
40
  });
41
- import { Event as Event2, GuiBundle as GuiBundle2, ID as ID2, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
41
+ import { Event as Event4, GuiBundle as GuiBundle2, ID as ID4, Info as Info6, Source as Source2, State as State2 } from "@opencode/schema/plugin";
42
42
  import { readFile } from "node:fs/promises";
43
43
  import { fileURLToPath } from "node:url";
44
44
  import { Plugin } from "@opencode/schema/plugin";
45
45
  import { Node } from "@opencode/util/effect/app-node";
46
46
  import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
47
- var layer = Layer.effect(Service28, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service32, Effect.gen(function* () {
48
48
  const bus = yield* Service86;
49
- const kv = yield* Service78;
49
+ const kv = yield* Service61;
50
50
  const scope = yield* Scope.make();
51
51
  const active = new Map;
52
52
  const lock = Semaphore.makeUnsafe(1);
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
79
79
  const code = yield* Effect.promise(() => readFile(fileURLToPath(gui.file), "utf8"));
80
80
  return { code, revision: gui.revision, options: gui.options };
81
81
  });
82
- const host = yield* make11({ list });
82
+ const host = yield* make12({ list });
83
83
  const load = Effect.fnUntraced(function* (plugin) {
84
84
  const activation = { plugin, scope: yield* Scope.fork(scope) };
85
85
  const inherit = yield* inherit2();
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
214
214
  yield* shutdown2(Scope.close(scope, exit));
215
215
  }));
216
216
  yield* Effect.addFinalizer(close);
217
- return Service28.of({
217
+ return Service32.of({
218
218
  activate,
219
219
  close,
220
220
  awaitActivation: ready.await,
@@ -232,10 +232,10 @@ function slotInfo(slot) {
232
232
  features: slot.plugin.features ?? { server: true }
233
233
  };
234
234
  }
235
- var node15 = Node.makeLocationNode({
236
- service: Service28,
235
+ var node23 = Node.makeLocationNode({
236
+ service: Service32,
237
237
  layer,
238
238
  deps: [requirements3]
239
239
  });
240
240
 
241
- export { node15, exports_plugin, Event2, GuiBundle2, ID2, Info3, Source2, State2 };
241
+ export { node23, exports_plugin2, Event4, GuiBundle2, ID4, Info6, Source2, State2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./bus-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/goal.ts
6
6
  var exports_goal = {};
@@ -9,7 +9,7 @@ __export(exports_goal, {
9
9
  MAX_OBJECTIVE: () => MAX_OBJECTIVE2,
10
10
  MAX_ROUNDS: () => MAX_ROUNDS2,
11
11
  MAX_STALLS: () => MAX_STALLS2,
12
- Plugin: () => Plugin47,
12
+ Plugin: () => Plugin34,
13
13
  WAIT_LIMIT: () => WAIT_LIMIT2
14
14
  });
15
15
  import { isContextOverflowFailure, Message } from "@opencode/ai/effect";
@@ -102,7 +102,7 @@ var Verdict = Schema.Struct({
102
102
  });
103
103
  var decodeVerdict = Schema.decodeUnknownOption(Schema.fromJsonString(Verdict));
104
104
  var USAGE = "Usage: /goal <objective> | pause | resume | clear";
105
- var Plugin47 = define({
105
+ var Plugin34 = define({
106
106
  id: "opencode.goal",
107
107
  effect: Effect.fn(function* (ctx) {
108
108
  const read = Effect.fn("GoalPlugin.read")(function* (sessionID) {
@@ -407,4 +407,4 @@ function escape(text) {
407
407
  return text.replaceAll("&", "&amp;").replaceAll("<", "&lt;").replaceAll(">", "&gt;");
408
408
  }
409
409
 
410
- export { MAX_OBJECTIVE2, MAX_ROUNDS2, MAX_STALLS2, WAIT_LIMIT2, Plugin47, exports_goal };
410
+ export { MAX_OBJECTIVE2, MAX_ROUNDS2, MAX_STALLS2, WAIT_LIMIT2, Plugin34, exports_goal };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./bus-svcy3p9a.js";
3
+ } from "./model-resolver-svcy3p9a.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./bus-z5v4ffb3.js";
6
+ } from "./model-resolver-z5v4ffb3.js";
7
7
  import {
8
- Service80
9
- } from "./bus-rkrna9hn.js";
8
+ Service83
9
+ } from "./model-resolver-pyw9tktf.js";
10
10
  import {
11
- Service62
12
- } from "./bus-8vm3c4cx.js";
11
+ Service66
12
+ } from "./model-resolver-bkccqnab.js";
13
13
  import {
14
- Service55
15
- } from "./bus-qyny2w4y.js";
14
+ Service65
15
+ } from "./model-resolver-w3d76d98.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./bus-sbr89z4j.js";
21
+ } from "./model-resolver-mekmjhn9.js";
22
22
  import {
23
- Service57
24
- } from "./bus-yydbrnd5.js";
23
+ Service54
24
+ } from "./model-resolver-1trhz39y.js";
25
25
  import {
26
- Service56
27
- } from "./bus-5hvj3cgw.js";
26
+ Service13
27
+ } from "./model-resolver-sew631bv.js";
28
28
  import {
29
29
  __export
30
- } from "./bus-9rqn6x4v.js";
30
+ } from "./model-resolver-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input10,
37
- Output: () => Output7,
38
- Plugin: () => Plugin29,
39
- name: () => name10,
40
- toModelContent: () => toModelContent5
36
+ Input: () => Input2,
37
+ Output: () => Output2,
38
+ Plugin: () => Plugin37,
39
+ name: () => name2,
40
+ toModelContent: () => toModelContent2
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai/effect";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name10 = "glob";
46
- var Input10 = Schema.Struct({
45
+ var name2 = "glob";
46
+ var Input2 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,35 +55,35 @@ var Input10 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output7 = Schema.Array(Entry2);
59
- var toModelContent5 = (entries, truncated = false) => {
58
+ var Output2 = Schema.Array(Entry2);
59
+ var toModelContent2 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin29 = {
66
+ var Plugin37 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service62;
70
- const ripgrep = yield* Service55;
71
- const location = yield* Service80;
72
- const access = yield* Service56;
73
- const permission = yield* Service57;
69
+ const environment = yield* Service66;
70
+ const ripgrep = yield* Service65;
71
+ const location = yield* Service83;
72
+ const access = yield* Service13;
73
+ const permission = yield* Service54;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name10,
75
+ name: name2,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input10,
79
- output: Output7,
78
+ input: Input2,
79
+ output: Output2,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name10,
86
+ action: name2,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -118,11 +118,11 @@ var Plugin29 = {
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent5(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent2(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name10, Input10, Output7, toModelContent5, Plugin29, exports_glob };
128
+ export { name2, Input2, Output2, toModelContent2, Plugin37, exports_glob };