@opencode/core 0.0.0-dev-256 → 0.0.0-dev-261

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 (847) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +93 -93
  3. package/dist/aisdk-native.js +101 -101
  4. package/dist/aisdk.js +107 -107
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +83 -83
  7. package/dist/chunks/{ripgrep-aj7mw0zk.js → mime-034tev2y.js} +2 -2
  8. package/dist/chunks/{ripgrep-daqk1zzh.js → mime-05ga3jym.js} +32 -32
  9. package/dist/chunks/{ripgrep-k1sfxhaz.js → mime-09npetjp.js} +40 -40
  10. package/dist/chunks/{ripgrep-j5dh2pqj.js → mime-0cjt6hj4.js} +15 -15
  11. package/dist/chunks/{ripgrep-hs9b4b47.js → mime-0eq01nmm.js} +9 -9
  12. package/dist/chunks/{ripgrep-e7gncem7.js → mime-0h3385jp.js} +2 -2
  13. package/dist/chunks/{ripgrep-w687dnns.js → mime-0h8y3ex8.js} +4 -4
  14. package/dist/chunks/{ripgrep-t5kja7d6.js → mime-0j9k711p.js} +27 -27
  15. package/dist/chunks/{ripgrep-7442v31d.js → mime-0rhd3fk1.js} +9 -9
  16. package/dist/chunks/{ripgrep-yeejah88.js → mime-107zh63q.js} +3 -3
  17. package/dist/chunks/{ripgrep-11hfp36g.js → mime-11hfp36g.js} +1 -1
  18. package/dist/chunks/{ripgrep-q91dqmyj.js → mime-17x7vgjp.js} +26 -26
  19. package/dist/chunks/{ripgrep-z38nccrw.js → mime-1aqsckx4.js} +4 -4
  20. package/dist/chunks/{ripgrep-phrz113q.js → mime-1dtbfpzr.js} +30 -28
  21. package/dist/chunks/{ripgrep-f2dkd9c9.js → mime-1dy1zrej.js} +92 -92
  22. package/dist/chunks/{ripgrep-ybcwzyjp.js → mime-1ene02nc.js} +31 -31
  23. package/dist/chunks/{ripgrep-27w5k9zf.js → mime-1ep2p91f.js} +2 -2
  24. package/dist/chunks/mime-1hm0b4am.js +257 -0
  25. package/dist/chunks/{ripgrep-vm4ntgdp.js → mime-1hma5w09.js} +95 -95
  26. package/dist/chunks/{ripgrep-sbpkqjks.js → mime-1kmbt0nq.js} +16 -16
  27. package/dist/chunks/{ripgrep-qqpbcr2p.js → mime-1kn6jdkn.js} +4 -4
  28. package/dist/chunks/{ripgrep-68gxk72y.js → mime-1nwvfgjk.js} +25 -25
  29. package/dist/chunks/{ripgrep-3sxgvrsr.js → mime-1w8p0a18.js} +15 -15
  30. package/dist/chunks/{ripgrep-7521vzgd.js → mime-1wpsahk2.js} +13 -13
  31. package/dist/chunks/{ripgrep-1x2knyw4.js → mime-1x2knyw4.js} +1 -1
  32. package/dist/chunks/{ripgrep-204s3925.js → mime-204s3925.js} +1 -1
  33. package/dist/chunks/{ripgrep-ddcyzbs8.js → mime-2135gcnk.js} +13 -13
  34. package/dist/chunks/{ripgrep-25h84942.js → mime-25h84942.js} +1 -1
  35. package/dist/chunks/{ripgrep-y6qsxzbk.js → mime-29db0j4x.js} +4 -4
  36. package/dist/chunks/{ripgrep-dp20ymjh.js → mime-2b25mbj3.js} +5 -5
  37. package/dist/chunks/mime-2dkjcnxp.js +18 -0
  38. package/dist/chunks/{ripgrep-r8ack8x7.js → mime-2e3yfjq6.js} +8 -8
  39. package/dist/chunks/{ripgrep-vmaxc52x.js → mime-2hrk5wbs.js} +18 -18
  40. package/dist/chunks/{ripgrep-mmx1mfjr.js → mime-2kg89srt.js} +4 -4
  41. package/dist/chunks/{ripgrep-f2hbk3te.js → mime-2qwjmz35.js} +11 -11
  42. package/dist/chunks/{ripgrep-2zp5a6yg.js → mime-2zp5a6yg.js} +1 -1
  43. package/dist/chunks/{ripgrep-17cjzed1.js → mime-36qx82yz.js} +4 -4
  44. package/dist/chunks/{ripgrep-gt0enb5r.js → mime-3f6130kj.js} +30 -30
  45. package/dist/chunks/{ripgrep-jzpa86ty.js → mime-3h56g0x5.js} +38 -38
  46. package/dist/chunks/{ripgrep-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{ripgrep-a33m5c2w.js → mime-3k3cm4zk.js} +11 -11
  48. package/dist/chunks/{ripgrep-3nnrz6f6.js → mime-3nnrz6f6.js} +1 -1
  49. package/dist/chunks/{ripgrep-h7zsgwja.js → mime-3xm4v4zv.js} +28 -28
  50. package/dist/chunks/{ripgrep-agz4bq91.js → mime-45xte6ee.js} +33 -33
  51. package/dist/chunks/{ripgrep-b0hcd791.js → mime-48es43h7.js} +10 -10
  52. package/dist/chunks/{ripgrep-bzmxpqn3.js → mime-4a1s8y4n.js} +15 -15
  53. package/dist/chunks/mime-4dx1dgte.js +16 -0
  54. package/dist/chunks/{ripgrep-b0mgw4ep.js → mime-4hebgate.js} +12 -12
  55. package/dist/chunks/{ripgrep-4pyp9zr9.js → mime-4pyp9zr9.js} +1 -1
  56. package/dist/chunks/{ripgrep-qh99nfkk.js → mime-4qxqnvmw.js} +27 -27
  57. package/dist/chunks/{ripgrep-h7tawekg.js → mime-4tdcetb8.js} +27 -27
  58. package/dist/chunks/{ripgrep-yqqn7f99.js → mime-4thnqhg3.js} +1 -1
  59. package/dist/chunks/{ripgrep-4v008n1t.js → mime-4v008n1t.js} +1 -1
  60. package/dist/chunks/{ripgrep-enpxw9ft.js → mime-4yscp7k1.js} +34 -34
  61. package/dist/chunks/{ripgrep-yxp9849n.js → mime-50x74c5d.js} +31 -31
  62. package/dist/chunks/mime-52zxaxjc.js +26 -0
  63. package/dist/chunks/{ripgrep-40za9wsf.js → mime-5enarcya.js} +6 -6
  64. package/dist/chunks/{ripgrep-3szttj5s.js → mime-5f3qf23k.js} +20 -20
  65. package/dist/chunks/{ripgrep-9wqtqs01.js → mime-5g59k7nb.js} +34 -34
  66. package/dist/chunks/{ripgrep-5m9w47nd.js → mime-5m9w47nd.js} +1 -1
  67. package/dist/chunks/{ripgrep-tjx9btwx.js → mime-6447hfkj.js} +199 -199
  68. package/dist/chunks/{ripgrep-mg06kx6s.js → mime-69nya0q4.js} +16 -16
  69. package/dist/chunks/{ripgrep-6esdw8yj.js → mime-6esdw8yj.js} +1 -1
  70. package/dist/chunks/{ripgrep-sy9atnn8.js → mime-6evmzryz.js} +9 -9
  71. package/dist/chunks/{ripgrep-my54cbqv.js → mime-6fpf7z8r.js} +5 -5
  72. package/dist/chunks/{ripgrep-hzv53yz7.js → mime-6vkwvj03.js} +21 -21
  73. package/dist/chunks/mime-6vmee23j.js +52 -0
  74. package/dist/chunks/{ripgrep-qfkq8xrf.js → mime-6zh541c7.js} +58 -58
  75. package/dist/chunks/{ripgrep-76cb1hcw.js → mime-76cb1hcw.js} +1 -1
  76. package/dist/chunks/{ripgrep-hr4y9snp.js → mime-78p2h4ex.js} +7 -7
  77. package/dist/chunks/{ripgrep-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{ripgrep-s85z3cra.js → mime-7h09t6vy.js} +4 -4
  79. package/dist/chunks/{ripgrep-sk9th60b.js → mime-7q2ytnwk.js} +32 -32
  80. package/dist/chunks/{ripgrep-7rr96ps8.js → mime-7q3qfmpr.js} +35 -35
  81. package/dist/chunks/{ripgrep-pa3yh9f4.js → mime-7qrckcvm.js} +33 -33
  82. package/dist/chunks/{ripgrep-xyn9xt4d.js → mime-7s9zy64f.js} +11 -11
  83. package/dist/chunks/{ripgrep-gs1ef0jt.js → mime-7ssbg7yb.js} +23 -23
  84. package/dist/chunks/{ripgrep-7w2ypzdf.js → mime-7w2ypzdf.js} +1 -1
  85. package/dist/chunks/{ripgrep-2k2kcze4.js → mime-85aybcep.js} +85 -85
  86. package/dist/chunks/{ripgrep-0cc6nv5k.js → mime-87vy0wwt.js} +11 -11
  87. package/dist/chunks/{ripgrep-vpm1h889.js → mime-8dnnkdqt.js} +15 -15
  88. package/dist/chunks/{ripgrep-wsrqy1ze.js → mime-8f7wz2tq.js} +21 -21
  89. package/dist/chunks/{ripgrep-0h910ma9.js → mime-8p46qq0s.js} +17 -17
  90. package/dist/chunks/{ripgrep-5rgg5y2m.js → mime-8pyn3tva.js} +6 -6
  91. package/dist/chunks/{ripgrep-8wtp7s3z.js → mime-8wtp7s3z.js} +1 -1
  92. package/dist/chunks/{ripgrep-gffq2h0h.js → mime-904xv1p5.js} +27 -27
  93. package/dist/chunks/{ripgrep-wjc27my0.js → mime-90g6tx1j.js} +11 -11
  94. package/dist/chunks/{ripgrep-90zstvax.js → mime-90zstvax.js} +1 -1
  95. package/dist/chunks/{ripgrep-zh4a5xq0.js → mime-91a9ea02.js} +11 -11
  96. package/dist/chunks/{ripgrep-b3tsdpgs.js → mime-91xttez3.js} +11 -11
  97. package/dist/chunks/{ripgrep-29bbm67v.js → mime-98sj2w4a.js} +25 -25
  98. package/dist/chunks/{ripgrep-n0xqaxze.js → mime-9e3hvwnw.js} +32 -32
  99. package/dist/chunks/{ripgrep-2n5jzsvh.js → mime-9esxa6rs.js} +13 -13
  100. package/dist/chunks/{ripgrep-pj6fb39f.js → mime-9kq27ct5.js} +34 -34
  101. package/dist/chunks/{ripgrep-zmz19rft.js → mime-9pf0pmfk.js} +11 -11
  102. package/dist/chunks/{ripgrep-j83zfqb4.js → mime-9wkv0v86.js} +20 -20
  103. package/dist/chunks/{ripgrep-ams2yx18.js → mime-9zk9amhx.js} +21 -21
  104. package/dist/chunks/{ripgrep-rmk8jq11.js → mime-abne355d.js} +47 -47
  105. package/dist/chunks/{ripgrep-3rj35y7k.js → mime-aes06p6b.js} +5 -5
  106. package/dist/chunks/{ripgrep-zr96t73h.js → mime-ajntjgfc.js} +16 -16
  107. package/dist/chunks/{ripgrep-xf83b33t.js → mime-ape62p7n.js} +32 -32
  108. package/dist/chunks/{ripgrep-n6v2b7cw.js → mime-avgzkss2.js} +5 -5
  109. package/dist/chunks/{ripgrep-3cbjf1nt.js → mime-ayjs7tqn.js} +2 -2
  110. package/dist/chunks/{ripgrep-hq7e4nr1.js → mime-b4hen3e4.js} +7 -7
  111. package/dist/chunks/{ripgrep-b6vsg801.js → mime-b6vsg801.js} +2 -2
  112. package/dist/chunks/{ripgrep-7h63ckp6.js → mime-bcyfntnp.js} +19 -19
  113. package/dist/chunks/{ripgrep-1f952vs7.js → mime-bgwcavjj.js} +9 -9
  114. package/dist/chunks/{ripgrep-4fcq8f9m.js → mime-bpyckyws.js} +15 -15
  115. package/dist/chunks/{ripgrep-1t7faze9.js → mime-br6xvyb6.js} +16 -16
  116. package/dist/chunks/{ripgrep-2w1g18fp.js → mime-bvk25jmh.js} +4 -4
  117. package/dist/chunks/{ripgrep-c5rgx9f0.js → mime-bx6g05dx.js} +17 -17
  118. package/dist/chunks/{ripgrep-4ggjgtjs.js → mime-c3gnxtmm.js} +14 -14
  119. package/dist/chunks/{ripgrep-dwwyec8z.js → mime-c4phwmq5.js} +6 -6
  120. package/dist/chunks/{ripgrep-3416qbwy.js → mime-c4vfmmrn.js} +8 -8
  121. package/dist/chunks/{ripgrep-ke335cjj.js → mime-c5q03pmb.js} +5 -5
  122. package/dist/chunks/{ripgrep-3ryz99p0.js → mime-c6x7d2ts.js} +4 -4
  123. package/dist/chunks/{ripgrep-x3d3mep8.js → mime-cpbq744t.js} +6 -6
  124. package/dist/chunks/{ripgrep-tak8qdkr.js → mime-crttzga9.js} +8 -8
  125. package/dist/chunks/{ripgrep-jqfrpy0b.js → mime-cw43sd18.js} +4 -4
  126. package/dist/chunks/{ripgrep-cwrgdav8.js → mime-cwrgdav8.js} +2 -2
  127. package/dist/chunks/{ripgrep-xcebgh3h.js → mime-czey47wt.js} +4 -4
  128. package/dist/chunks/{ripgrep-z33c4g07.js → mime-d1zc5akg.js} +13 -13
  129. package/dist/chunks/{ripgrep-v8xpr2tt.js → mime-d390zwf3.js} +11 -11
  130. package/dist/chunks/{ripgrep-d4v9tmah.js → mime-d4v9tmah.js} +2 -2
  131. package/dist/chunks/{ripgrep-r2aaaqsx.js → mime-d64mgb0d.js} +34 -34
  132. package/dist/chunks/{ripgrep-ddwaa558.js → mime-d8p3t516.js} +4 -4
  133. package/dist/chunks/{ripgrep-8wxjt6jj.js → mime-dbqn72gh.js} +41 -41
  134. package/dist/chunks/{ripgrep-ackzm7p5.js → mime-ddb1fpa4.js} +18 -18
  135. package/dist/chunks/{ripgrep-a17h2gz7.js → mime-de5ev1ss.js} +5 -5
  136. package/dist/chunks/{ripgrep-jk10zsa9.js → mime-dgy529yc.js} +25 -25
  137. package/dist/chunks/{ripgrep-shmzzj1p.js → mime-dgzhj2a3.js} +17 -17
  138. package/dist/chunks/{ripgrep-qavpxcye.js → mime-dja1b12h.js} +2 -2
  139. package/dist/chunks/{ripgrep-d8k33s6g.js → mime-dmbvkkjp.js} +8 -8
  140. package/dist/chunks/{ripgrep-6dstrpje.js → mime-dn75kjkt.js} +12 -12
  141. package/dist/chunks/{ripgrep-dt77769w.js → mime-dt77769w.js} +1 -1
  142. package/dist/chunks/{ripgrep-nxftzjsa.js → mime-dt8yqcce.js} +19 -19
  143. package/dist/chunks/{ripgrep-6vab03tz.js → mime-dtpswqs3.js} +32 -32
  144. package/dist/chunks/{ripgrep-mb3v38wv.js → mime-e11a9bx3.js} +3 -3
  145. package/dist/chunks/{ripgrep-e834z07m.js → mime-e834z07m.js} +1 -1
  146. package/dist/chunks/{ripgrep-9x1v9m9g.js → mime-ecgyc3nf.js} +4 -4
  147. package/dist/chunks/{ripgrep-p47gpjqr.js → mime-eek85r7s.js} +22 -18
  148. package/dist/chunks/{ripgrep-49835bfw.js → mime-ej397f02.js} +4 -4
  149. package/dist/chunks/{ripgrep-erc81w38.js → mime-ekd6nmzx.js} +11 -11
  150. package/dist/chunks/{ripgrep-8d2bz6m6.js → mime-enkpkfwx.js} +8 -8
  151. package/dist/chunks/{ripgrep-5jefyemb.js → mime-ew1cbhhw.js} +5 -5
  152. package/dist/chunks/{ripgrep-y8d574bw.js → mime-f004ykrw.js} +26 -26
  153. package/dist/chunks/{ripgrep-7kef5ntp.js → mime-f0ay53g6.js} +3 -3
  154. package/dist/chunks/{ripgrep-1fwefjcd.js → mime-f1md2d8q.js} +22 -22
  155. package/dist/chunks/{ripgrep-gzqtw9gm.js → mime-fddcjhj2.js} +25 -25
  156. package/dist/chunks/{ripgrep-fffv3p7h.js → mime-fffv3p7h.js} +1 -1
  157. package/dist/chunks/{ripgrep-ydbjebpg.js → mime-fg9n74ny.js} +25 -25
  158. package/dist/chunks/{ripgrep-fg9p65nk.js → mime-fg9p65nk.js} +2 -2
  159. package/dist/chunks/{ripgrep-r5gpr2p5.js → mime-fym7nwga.js} +25 -25
  160. package/dist/chunks/{ripgrep-aytd9eaj.js → mime-gd8sx287.js} +4 -4
  161. package/dist/chunks/{ripgrep-3b0cyw5p.js → mime-ghzabfw7.js} +15 -15
  162. package/dist/chunks/{ripgrep-q6vnkpbt.js → mime-gqwtxsn1.js} +33 -33
  163. package/dist/chunks/{ripgrep-aje86v63.js → mime-gw7tqdxz.js} +5 -5
  164. package/dist/chunks/{ripgrep-qnghve6e.js → mime-gy1k9bkm.js} +8 -8
  165. package/dist/chunks/{ripgrep-5zt75wsq.js → mime-h2atfgt1.js} +8 -8
  166. package/dist/chunks/{ripgrep-a4f3mdv6.js → mime-h3pj7a7m.js} +18 -18
  167. package/dist/chunks/{ripgrep-s4vdbda8.js → mime-h5060pr3.js} +14 -14
  168. package/dist/chunks/{ripgrep-mw7r6xhf.js → mime-h6sym59v.js} +6 -6
  169. package/dist/chunks/{ripgrep-m049c8tp.js → mime-hbe771na.js} +20 -20
  170. package/dist/chunks/{ripgrep-ak1f0tsr.js → mime-hbqfs0kq.js} +15 -15
  171. package/dist/chunks/{ripgrep-jxs8nk7d.js → mime-hcaakz9a.js} +11 -11
  172. package/dist/chunks/{ripgrep-hh7kjqtw.js → mime-hh7kjqtw.js} +1 -1
  173. package/dist/chunks/{ripgrep-vcxd5eqd.js → mime-hj8ktf3x.js} +8 -8
  174. package/dist/chunks/{ripgrep-z9qgeafv.js → mime-hk82q6eb.js} +20 -20
  175. package/dist/chunks/{ripgrep-pvvt21d7.js → mime-hkv8mm0v.js} +14 -14
  176. package/dist/chunks/{ripgrep-hpg1pkwy.js → mime-hpg1pkwy.js} +1 -1
  177. package/dist/chunks/{ripgrep-rxc5w0st.js → mime-hw311zkt.js} +43 -43
  178. package/dist/chunks/{ripgrep-xv70sp23.js → mime-hz5a1k95.js} +26 -26
  179. package/dist/chunks/{ripgrep-909bcygr.js → mime-j8c8vpy0.js} +51 -51
  180. package/dist/chunks/{ripgrep-jfaecv01.js → mime-jfaecv01.js} +1 -1
  181. package/dist/chunks/{ripgrep-dsmd9z3t.js → mime-jgmjv1sa.js} +37 -37
  182. package/dist/chunks/{ripgrep-rkafft8x.js → mime-jjmhfyts.js} +16 -16
  183. package/dist/chunks/{ripgrep-x62jm14v.js → mime-jjv1q8d4.js} +12 -12
  184. package/dist/chunks/{ripgrep-jtnps1zs.js → mime-jtnps1zs.js} +2 -2
  185. package/dist/chunks/{ripgrep-fqsvv22e.js → mime-jw5zbn3z.js} +45 -45
  186. package/dist/chunks/{ripgrep-psanbaqe.js → mime-k4s79gcj.js} +9 -9
  187. package/dist/chunks/{ripgrep-k814nvkf.js → mime-k814nvkf.js} +1 -1
  188. package/dist/chunks/{ripgrep-03sqz7a9.js → mime-k989ntyt.js} +9 -9
  189. package/dist/chunks/{ripgrep-qys60372.js → mime-k9xb07cm.js} +10 -10
  190. package/dist/chunks/{ripgrep-1gx6yymd.js → mime-kdd90951.js} +81 -52
  191. package/dist/chunks/{ripgrep-3jqgx5kj.js → mime-kehv92bx.js} +51 -51
  192. package/dist/chunks/{ripgrep-2e5pdp54.js → mime-kewx5hse.js} +7 -7
  193. package/dist/chunks/{ripgrep-e5697zjm.js → mime-kk2a6haj.js} +12 -12
  194. package/dist/chunks/{ripgrep-d5xvmxkt.js → mime-kpj4bnmp.js} +9 -9
  195. package/dist/chunks/{ripgrep-k4hxmz12.js → mime-kprjpmw6.js} +33 -33
  196. package/dist/chunks/{ripgrep-k4461cq5.js → mime-ksxm71aw.js} +6 -6
  197. package/dist/chunks/{ripgrep-kt3bjfbg.js → mime-kt3bjfbg.js} +1 -1
  198. package/dist/chunks/{ripgrep-pmnwwjgv.js → mime-kt9zkheb.js} +62 -62
  199. package/dist/chunks/{ripgrep-s5z0gt4g.js → mime-kzcsdwss.js} +3 -3
  200. package/dist/chunks/{ripgrep-m1714858.js → mime-m1714858.js} +1 -1
  201. package/dist/chunks/{ripgrep-3tpyq6vw.js → mime-m6jwak7z.js} +13 -13
  202. package/dist/chunks/{ripgrep-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
  203. package/dist/chunks/{ripgrep-8z6m94af.js → mime-mb7mbhnz.js} +3 -3
  204. package/dist/chunks/{ripgrep-fkx1epcn.js → mime-mf0cbe1f.js} +24 -24
  205. package/dist/chunks/{ripgrep-mg356nz4.js → mime-mg356nz4.js} +3 -3
  206. package/dist/chunks/{ripgrep-bccmdxdz.js → mime-mgvjndd7.js} +12 -12
  207. package/dist/chunks/{ripgrep-tsszwamj.js → mime-mpc1wbnc.js} +28 -28
  208. package/dist/chunks/{ripgrep-5aysfjzq.js → mime-mpqhh0ff.js} +11 -11
  209. package/dist/chunks/{ripgrep-bxe7n28z.js → mime-msj7tqt3.js} +8 -8
  210. package/dist/chunks/{ripgrep-xsga5jf7.js → mime-mz88wxq7.js} +20 -20
  211. package/dist/chunks/{ripgrep-nah043kf.js → mime-nah043kf.js} +1 -1
  212. package/dist/chunks/{ripgrep-5c6v7bf7.js → mime-nf5vm8zn.js} +31 -31
  213. package/dist/chunks/{ripgrep-ndtpazxm.js → mime-nj6nnwwx.js} +30 -30
  214. package/dist/chunks/{ripgrep-jew46n24.js → mime-njqr3cdm.js} +9 -9
  215. package/dist/chunks/{ripgrep-jqnfqjgv.js → mime-nym9wyb3.js} +6 -6
  216. package/dist/chunks/{ripgrep-p015t6z3.js → mime-p015t6z3.js} +2 -2
  217. package/dist/chunks/{ripgrep-882n9ge3.js → mime-p36gpr4j.js} +5 -5
  218. package/dist/chunks/{ripgrep-1yq9hg58.js → mime-p7vhpwh8.js} +5 -5
  219. package/dist/chunks/{ripgrep-pnxd3f75.js → mime-p87480bx.js} +11 -11
  220. package/dist/chunks/{ripgrep-2hnaskt6.js → mime-pcc4d2n5.js} +9 -9
  221. package/dist/chunks/{ripgrep-pknna89w.js → mime-pknna89w.js} +1 -1
  222. package/dist/chunks/{ripgrep-jdra26ww.js → mime-q5654s0t.js} +25 -25
  223. package/dist/chunks/{ripgrep-m7egy7mx.js → mime-q5fg6nv3.js} +50 -50
  224. package/dist/chunks/{ripgrep-9nd6g1h4.js → mime-q8jvga0v.js} +53 -53
  225. package/dist/chunks/{ripgrep-b5jmjrr6.js → mime-qatgy48x.js} +33 -33
  226. package/dist/chunks/{ripgrep-zd07p9e4.js → mime-qevqwm2d.js} +29 -29
  227. package/dist/chunks/{ripgrep-3t0qvtxf.js → mime-qkevpenz.js} +12 -12
  228. package/dist/chunks/{ripgrep-82b9pnxq.js → mime-qnt4yn7k.js} +5 -5
  229. package/dist/chunks/{ripgrep-qp7r0hxv.js → mime-qp7r0hxv.js} +1 -1
  230. package/dist/chunks/{ripgrep-qqvy8y24.js → mime-qqvy8y24.js} +1 -1
  231. package/dist/chunks/{ripgrep-h0xgca3k.js → mime-qsawh7eg.js} +27 -27
  232. package/dist/chunks/{ripgrep-vydydcga.js → mime-qx2f3s6n.js} +23 -23
  233. package/dist/chunks/{ripgrep-x8yhn9vn.js → mime-r1b7wght.js} +24 -24
  234. package/dist/chunks/{ripgrep-r542h3bh.js → mime-r542h3bh.js} +1 -1
  235. package/dist/chunks/{ripgrep-rb9dy4dg.js → mime-rb9dy4dg.js} +1 -1
  236. package/dist/chunks/{ripgrep-rt5dr6hb.js → mime-rt5dr6hb.js} +1 -1
  237. package/dist/chunks/{ripgrep-hy1b2qcd.js → mime-s4fkafj4.js} +2 -2
  238. package/dist/chunks/{ripgrep-sa3fpqfw.js → mime-sa3fpqfw.js} +2 -2
  239. package/dist/chunks/{ripgrep-dqyfjygp.js → mime-sdvfaqjv.js} +30 -30
  240. package/dist/chunks/mime-sefdxvs5.js +113 -0
  241. package/dist/chunks/{ripgrep-rvdapjqy.js → mime-sg2p3jg1.js} +11 -11
  242. package/dist/chunks/{ripgrep-fxhhzhmy.js → mime-sj7qk1wq.js} +23 -23
  243. package/dist/chunks/{ripgrep-wz5tj16h.js → mime-sqbb0ctm.js} +5 -5
  244. package/dist/chunks/{ripgrep-sqjzf8x2.js → mime-sqjzf8x2.js} +1 -1
  245. package/dist/chunks/{ripgrep-mtkfycnh.js → mime-ssfehs1z.js} +4 -4
  246. package/dist/chunks/{ripgrep-svcy3p9a.js → mime-svcy3p9a.js} +1 -1
  247. package/dist/chunks/{ripgrep-am8n4zj8.js → mime-t6t8h010.js} +42 -42
  248. package/dist/chunks/{ripgrep-tczq8hjw.js → mime-tczq8hjw.js} +1 -1
  249. package/dist/chunks/{ripgrep-sfvb2ra8.js → mime-tdjh7w66.js} +48 -48
  250. package/dist/chunks/{ripgrep-8k3jsm6y.js → mime-tr6n2pd7.js} +22 -22
  251. package/dist/chunks/{ripgrep-7pf9jw4b.js → mime-tspwpfmw.js} +3 -3
  252. package/dist/chunks/{ripgrep-7fjdcjgg.js → mime-tt26s4vq.js} +11 -11
  253. package/dist/chunks/{ripgrep-twssxy5n.js → mime-twssxy5n.js} +2 -2
  254. package/dist/chunks/{ripgrep-v2r1d0zg.js → mime-v2r1d0zg.js} +1 -1
  255. package/dist/chunks/{ripgrep-db73xe5x.js → mime-v4g74xq2.js} +21 -21
  256. package/dist/chunks/{ripgrep-zh7bbm8x.js → mime-v7a0snhq.js} +9 -9
  257. package/dist/chunks/{ripgrep-n53x6sf3.js → mime-vf16q2b1.js} +6 -6
  258. package/dist/chunks/{ripgrep-qf4spmep.js → mime-vh5h3cx2.js} +35 -35
  259. package/dist/chunks/{ripgrep-eqmd2tfz.js → mime-vmfhgzt5.js} +7 -7
  260. package/dist/chunks/{ripgrep-18g90bpv.js → mime-vrcsa8qx.js} +9 -9
  261. package/dist/chunks/{ripgrep-vaq1yek0.js → mime-vzppetdn.js} +6 -6
  262. package/dist/chunks/{ripgrep-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
  263. package/dist/chunks/{ripgrep-d0t1jrhe.js → mime-w4ykgd89.js} +5 -5
  264. package/dist/chunks/{ripgrep-fdfr6sds.js → mime-w81tm3vv.js} +17 -17
  265. package/dist/chunks/{ripgrep-wakvkjy4.js → mime-wakvkjy4.js} +1 -1
  266. package/dist/chunks/{ripgrep-wd87259q.js → mime-wd87259q.js} +1 -1
  267. package/dist/chunks/{ripgrep-nx4vzyjd.js → mime-wegkxhrn.js} +2 -2
  268. package/dist/chunks/{ripgrep-wnhgecwx.js → mime-wnhgecwx.js} +1 -1
  269. package/dist/chunks/{ripgrep-kcg78dnn.js → mime-wwgpyqzb.js} +9 -9
  270. package/dist/chunks/{ripgrep-kjdrtwey.js → mime-x2kc3zfh.js} +8 -8
  271. package/dist/chunks/{ripgrep-6fpch3kw.js → mime-x3a4n8aj.js} +15 -15
  272. package/dist/chunks/{ripgrep-r87akjs2.js → mime-x6tax50b.js} +6 -6
  273. package/dist/chunks/{ripgrep-jhvnj4yv.js → mime-x7qkck9a.js} +15 -15
  274. package/dist/chunks/{ripgrep-g24xgb35.js → mime-xcmevbrr.js} +11 -11
  275. package/dist/chunks/{ripgrep-xd9cc171.js → mime-xd9cc171.js} +1 -1
  276. package/dist/chunks/{ripgrep-cac0wmbb.js → mime-xk2zn0cv.js} +4 -4
  277. package/dist/chunks/{ripgrep-x524hec9.js → mime-xmcerbsc.js} +20 -20
  278. package/dist/chunks/{ripgrep-pcc6rjnf.js → mime-xp4cjnvy.js} +20 -10
  279. package/dist/chunks/{ripgrep-5bp97s21.js → mime-xqpnzpk3.js} +18 -18
  280. package/dist/chunks/{ripgrep-z48jxn29.js → mime-xr2mnjhn.js} +16 -16
  281. package/dist/chunks/{ripgrep-qzwfbxrg.js → mime-y24rddh5.js} +11 -11
  282. package/dist/chunks/{ripgrep-c48vnd7r.js → mime-y2bdgeyh.js} +3 -3
  283. package/dist/chunks/{ripgrep-xp46ybm5.js → mime-y3a4nh1w.js} +19 -19
  284. package/dist/chunks/{ripgrep-ffcqnzz5.js → mime-ya13x5xa.js} +14 -14
  285. package/dist/chunks/{ripgrep-qkw2jr9b.js → mime-yara3q77.js} +2 -2
  286. package/dist/chunks/{ripgrep-yb20nhc3.js → mime-yb20nhc3.js} +1 -1
  287. package/dist/chunks/{ripgrep-jp89zqat.js → mime-ych9pyce.js} +12 -12
  288. package/dist/chunks/{ripgrep-b363w4yw.js → mime-ykcxy4jb.js} +18 -18
  289. package/dist/chunks/{ripgrep-h5prggwk.js → mime-ys5ht53z.js} +47 -47
  290. package/dist/chunks/{ripgrep-mvntxdz5.js → mime-yvg33581.js} +17 -17
  291. package/dist/chunks/{ripgrep-gkng5bng.js → mime-z2dgfpsc.js} +6 -6
  292. package/dist/chunks/{ripgrep-z7zabdrt.js → mime-z6b5kr5f.js} +21 -21
  293. package/dist/chunks/{ripgrep-5w9dwxvh.js → mime-z8xs1n5t.js} +24 -24
  294. package/dist/chunks/{ripgrep-zbjfvsrb.js → mime-zba90nwx.js} +13 -13
  295. package/dist/chunks/{ripgrep-x959zq99.js → mime-zcf14pnt.js} +4 -4
  296. package/dist/chunks/{ripgrep-2kk97py3.js → mime-zeba2tf9.js} +11 -11
  297. package/dist/chunks/{ripgrep-6t0y96w1.js → mime-zeg6dwe8.js} +37 -37
  298. package/dist/chunks/{ripgrep-x3fmc1hr.js → mime-zfvpppwm.js} +21 -21
  299. package/dist/chunks/{ripgrep-5qbnyx67.js → mime-zjqm9jqg.js} +43 -43
  300. package/dist/chunks/{ripgrep-nta1mp64.js → mime-ztytxe50.js} +11 -11
  301. package/dist/chunks/mime-zw960apb.js +535 -0
  302. package/dist/codemode/catalog.js +1 -1
  303. package/dist/codemode/instructions.js +9 -9
  304. package/dist/codemode/tool.js +3 -3
  305. package/dist/codemode/web.js +1 -1
  306. package/dist/command.js +89 -89
  307. package/dist/config/discovery.js +94 -94
  308. package/dist/config/integration.js +11 -7
  309. package/dist/config/managed.js +8 -0
  310. package/dist/config/markdown.js +1 -1
  311. package/dist/config/normalize.js +111 -111
  312. package/dist/config/plugin/agent.js +131 -127
  313. package/dist/config/plugin/command.js +228 -225
  314. package/dist/config/plugin/compaction.js +169 -166
  315. package/dist/config/plugin/compatibility.js +149 -146
  316. package/dist/config/plugin/entry-observer.js +1 -1
  317. package/dist/config/plugin/formatter.js +130 -126
  318. package/dist/config/plugin/image.js +129 -125
  319. package/dist/config/plugin/instruction.js +129 -125
  320. package/dist/config/plugin/location-watcher.js +129 -125
  321. package/dist/config/plugin/mcp.js +138 -134
  322. package/dist/config/plugin/policy.js +129 -127
  323. package/dist/config/plugin/provider.js +129 -126
  324. package/dist/config/plugin/reference.js +131 -127
  325. package/dist/config/plugin/shell.js +129 -125
  326. package/dist/config/plugin/skill-file.js +145 -142
  327. package/dist/config/plugin/skill-scan.js +1 -1
  328. package/dist/config/plugin/skill.js +152 -149
  329. package/dist/config/plugin/snapshot.js +129 -125
  330. package/dist/config/plugin/source.js +132 -128
  331. package/dist/config/plugin/tool-output.js +130 -126
  332. package/dist/config/plugin/websearch.js +128 -124
  333. package/dist/config/plugin/worktree.js +131 -127
  334. package/dist/config/variable.js +1 -1
  335. package/dist/config/watch.js +1 -1
  336. package/dist/config.js +130 -126
  337. package/dist/console-access.js +1 -1
  338. package/dist/credential/sql.js +2 -2
  339. package/dist/credential.js +93 -93
  340. package/dist/database/database.js +80 -80
  341. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  342. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  343. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  344. package/dist/database/drizzle/index.js +13 -13
  345. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  346. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  347. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  348. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  349. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  350. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  351. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  352. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  353. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  354. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  355. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  356. package/dist/database/drizzle.js +14 -14
  357. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  358. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  359. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  360. package/dist/database/migration/20260225215848_workspace.js +1 -1
  361. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  362. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  363. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  364. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  365. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  366. package/dist/database/migration/20260323234822_events.js +1 -1
  367. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  368. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  369. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  370. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  371. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  372. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  373. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  374. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  375. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  376. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  377. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  378. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  379. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  380. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  381. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  382. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  383. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  384. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  385. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  386. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  387. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  388. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  389. package/dist/database/migration/20260611035744_credential.js +1 -1
  390. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  391. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  392. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  393. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  394. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  395. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  396. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  397. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  398. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  399. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  400. package/dist/database/migration/20260812213948_worktree.js +1 -1
  401. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  402. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  403. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  404. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  405. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  406. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  407. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  408. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  409. package/dist/database/migration/20261025123711_blob.js +1 -1
  410. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  411. package/dist/database/migration/20261026223005_schedule.js +1 -1
  412. package/dist/database/migration/20261029002625_session_part.js +1 -1
  413. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  414. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  415. package/dist/database/migration.gen.js +59 -59
  416. package/dist/database/migration.js +61 -61
  417. package/dist/database/path.js +2 -2
  418. package/dist/database/schema.gen.js +1 -1
  419. package/dist/database/schema.sql.js +1 -1
  420. package/dist/database/sqlite.bun.js +1 -1
  421. package/dist/database/sqlite.js +1 -1
  422. package/dist/database/sqlite.node.js +1 -1
  423. package/dist/database/sqlite.workerd.js +1 -1
  424. package/dist/database/v1-migration.bun.js +107 -107
  425. package/dist/database/v1-migration.js +1 -1
  426. package/dist/effect/app-node-builder.js +391 -390
  427. package/dist/effect/app-node-platform.js +2 -2
  428. package/dist/effect/keyed-mutex.js +1 -1
  429. package/dist/effect/websocket-constructor.js +1 -1
  430. package/dist/environment/driver.js +1 -1
  431. package/dist/environment/environment.js +105 -105
  432. package/dist/environment/exec-defaults.js +2 -2
  433. package/dist/environment/files.js +1 -1
  434. package/dist/environment/index.js +105 -105
  435. package/dist/environment/local.js +2 -2
  436. package/dist/environment/memory.js +2 -2
  437. package/dist/environment/unavailable.js +3 -3
  438. package/dist/event/sql.js +1 -1
  439. package/dist/event-logger.js +84 -84
  440. package/dist/file-access.js +155 -152
  441. package/dist/file-mutation.js +106 -106
  442. package/dist/file-retention.js +1 -1
  443. package/dist/filesystem/fff.bun.js +2 -2
  444. package/dist/filesystem/fff.js +1 -1
  445. package/dist/filesystem/fff.node.js +2 -2
  446. package/dist/filesystem/fff.workerd.js +2 -2
  447. package/dist/filesystem/file-watch.js +90 -90
  448. package/dist/filesystem/location-watcher-policy.js +6 -6
  449. package/dist/filesystem/location-watcher.js +239 -236
  450. package/dist/filesystem/protected.js +1 -1
  451. package/dist/filesystem/search.js +111 -111
  452. package/dist/filesystem/watcher-binding.js +1 -1
  453. package/dist/filesystem/watcher.js +7 -7
  454. package/dist/filesystem.js +116 -116
  455. package/dist/form.js +92 -92
  456. package/dist/formatter/builtins.js +2 -2
  457. package/dist/formatter.js +99 -99
  458. package/dist/generate.js +119 -119
  459. package/dist/git.js +11 -11
  460. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  461. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  462. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  463. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  464. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  465. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  466. package/dist/github-copilot/copilot-provider.js +17 -17
  467. package/dist/github-copilot/models.js +103 -103
  468. package/dist/github-copilot/openai-compatible-error.js +1 -1
  469. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  470. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  471. package/dist/github-copilot/responses/openai-error.js +1 -1
  472. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  473. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  474. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  475. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  476. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  477. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  478. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  479. package/dist/image/notice.js +1 -1
  480. package/dist/image/photon-normalize.js +1 -1
  481. package/dist/image/photon-worker.js +1 -1
  482. package/dist/image/photon.js +4 -4
  483. package/dist/image.js +6 -6
  484. package/dist/instance/service.js +5 -5
  485. package/dist/instance.js +382 -381
  486. package/dist/instruction-discovery.js +94 -94
  487. package/dist/instructions/builtins.js +99 -99
  488. package/dist/instructions/index.js +3 -3
  489. package/dist/integration/connection.js +3 -3
  490. package/dist/integration.js +99 -99
  491. package/dist/job.js +88 -88
  492. package/dist/kv/sql.js +2 -2
  493. package/dist/kv.js +83 -83
  494. package/dist/location-activity.js +173 -170
  495. package/dist/location-lifecycle.js +149 -146
  496. package/dist/location-service-map.js +98 -98
  497. package/dist/location-services.js +379 -378
  498. package/dist/location.js +101 -101
  499. package/dist/managed-policy.js +11 -3
  500. package/dist/mcp/client.js +103 -103
  501. package/dist/mcp/index.js +117 -117
  502. package/dist/mcp/instructions.js +175 -172
  503. package/dist/mcp/oauth.js +88 -88
  504. package/dist/mcp/socket-client.js +1 -1
  505. package/dist/mcp/stdio.js +102 -102
  506. package/dist/mime.js +1 -1
  507. package/dist/modal/models.js +103 -103
  508. package/dist/model-resolver.js +111 -111
  509. package/dist/model-retry.js +1 -1
  510. package/dist/model.js +112 -112
  511. package/dist/models-dev/v1.js +1 -1
  512. package/dist/models-dev.js +120 -120
  513. package/dist/oauth/page.js +1 -1
  514. package/dist/permission/saved.js +92 -92
  515. package/dist/permission/sql.js +5 -5
  516. package/dist/permission.js +152 -149
  517. package/dist/persistent-pty/binary.bun.js +1 -1
  518. package/dist/persistent-pty/daemon.js +1 -1
  519. package/dist/persistent-pty/index.js +100 -100
  520. package/dist/persistent-pty/pty-binding.js +1 -1
  521. package/dist/persistent-pty.js +85 -85
  522. package/dist/plugin/agent.js +86 -86
  523. package/dist/plugin/command.js +114 -114
  524. package/dist/plugin/goal.js +3 -3
  525. package/dist/plugin/hooks.js +5 -5
  526. package/dist/plugin/host.js +232 -229
  527. package/dist/plugin/identity.js +5 -5
  528. package/dist/plugin/instance.js +5 -5
  529. package/dist/plugin/internal.js +358 -357
  530. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  531. package/dist/plugin/models-dev.js +109 -109
  532. package/dist/plugin/module.js +128 -127
  533. package/dist/plugin/optimize.js +2 -2
  534. package/dist/plugin/plan.js +145 -142
  535. package/dist/plugin/promise.js +1 -1
  536. package/dist/plugin/provider/amazon-bedrock.js +103 -103
  537. package/dist/plugin/provider/azure.js +129 -125
  538. package/dist/plugin/provider/cerebras.js +1 -1
  539. package/dist/plugin/provider/chatgpt.js +129 -125
  540. package/dist/plugin/provider/cloudflare-ai-gateway.js +127 -123
  541. package/dist/plugin/provider/cloudflare-workers-ai.js +127 -123
  542. package/dist/plugin/provider/configured.js +125 -121
  543. package/dist/plugin/provider/credential-settings.js +84 -84
  544. package/dist/plugin/provider/databricks.js +1 -1
  545. package/dist/plugin/provider/digitalocean.js +105 -105
  546. package/dist/plugin/provider/dynamic.js +2 -2
  547. package/dist/plugin/provider/github-copilot.js +107 -107
  548. package/dist/plugin/provider/gitlab.js +106 -106
  549. package/dist/plugin/provider/google-vertex.js +126 -122
  550. package/dist/plugin/provider/kilo.js +1 -1
  551. package/dist/plugin/provider/llmgateway.js +88 -88
  552. package/dist/plugin/provider/lmstudio.js +138 -134
  553. package/dist/plugin/provider/local.js +135 -131
  554. package/dist/plugin/provider/modal.js +104 -104
  555. package/dist/plugin/provider/neon.js +1 -1
  556. package/dist/plugin/provider/nvidia.js +1 -1
  557. package/dist/plugin/provider/ollama.js +138 -134
  558. package/dist/plugin/provider/openai-context-caps.js +102 -102
  559. package/dist/plugin/provider/openai.js +129 -125
  560. package/dist/plugin/provider/opencode.js +131 -128
  561. package/dist/plugin/provider/openrouter.js +103 -103
  562. package/dist/plugin/provider/poe.js +89 -89
  563. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  564. package/dist/plugin/provider/sap-ai-core.js +103 -103
  565. package/dist/plugin/provider/sdk-factory.js +1 -1
  566. package/dist/plugin/provider/snowflake-cortex.js +128 -124
  567. package/dist/plugin/provider/vllm.js +138 -134
  568. package/dist/plugin/provider/xai.js +103 -103
  569. package/dist/plugin/provider/zenmux.js +1 -1
  570. package/dist/plugin/provider.js +179 -176
  571. package/dist/plugin/sdk.js +86 -86
  572. package/dist/plugin/service.js +3 -3
  573. package/dist/plugin/skill.js +148 -145
  574. package/dist/plugin/source-directory.js +1 -1
  575. package/dist/plugin/supervisor.js +368 -367
  576. package/dist/plugin/tool-input-repair.js +4 -4
  577. package/dist/plugin/update.js +6 -6
  578. package/dist/plugin/vcs/git.js +98 -98
  579. package/dist/plugin/vcs/hg.js +98 -98
  580. package/dist/plugin/verbosity.js +105 -105
  581. package/dist/plugin/warming.js +127 -123
  582. package/dist/plugin/websearch/exa.js +7 -7
  583. package/dist/plugin/websearch/firecrawl.js +8 -8
  584. package/dist/plugin/websearch/index.js +9 -9
  585. package/dist/plugin/websearch/mcp.js +4 -4
  586. package/dist/plugin/websearch/parallel.js +8 -8
  587. package/dist/plugin/websearch/tavily.js +6 -6
  588. package/dist/plugin/websearch/tinyfish.js +8 -8
  589. package/dist/plugin.js +239 -236
  590. package/dist/project/icon.js +5 -5
  591. package/dist/project/schema.js +8 -8
  592. package/dist/project/sql.js +4 -4
  593. package/dist/project.js +102 -102
  594. package/dist/provider.js +111 -111
  595. package/dist/pty/protocol.js +1 -1
  596. package/dist/pty/ticket.js +1 -1
  597. package/dist/pty.js +102 -102
  598. package/dist/reference/instructions.js +100 -100
  599. package/dist/reference.js +102 -102
  600. package/dist/repository-cache.js +92 -92
  601. package/dist/repository.js +1 -1
  602. package/dist/ripgrep/binary.js +2 -2
  603. package/dist/ripgrep.js +109 -109
  604. package/dist/rpc.js +98 -98
  605. package/dist/schedule/check.js +236 -233
  606. package/dist/schedule/sql.js +6 -6
  607. package/dist/schedule.js +242 -239
  608. package/dist/schema.js +1 -1
  609. package/dist/session/affinity.js +1 -1
  610. package/dist/session/background.js +1 -1
  611. package/dist/session/blob.js +128 -124
  612. package/dist/session/command.js +84 -84
  613. package/dist/session/compaction.js +171 -168
  614. package/dist/session/context.js +195 -192
  615. package/dist/session/diff.js +100 -100
  616. package/dist/session/environment.js +5 -5
  617. package/dist/session/error.js +5 -5
  618. package/dist/session/event.js +1 -1
  619. package/dist/session/execution/restart.js +239 -236
  620. package/dist/session/execution.js +161 -158
  621. package/dist/session/generate.js +197 -194
  622. package/dist/session/history.js +135 -131
  623. package/dist/session/inbox.js +146 -142
  624. package/dist/session/info.js +3 -3
  625. package/dist/session/instruction-entry.js +87 -87
  626. package/dist/session/instruction-state.js +8 -8
  627. package/dist/session/instructions.js +136 -132
  628. package/dist/session/message-updater.js +2 -2
  629. package/dist/session/message.js +1 -1
  630. package/dist/session/model-request.js +162 -159
  631. package/dist/session/model-transport.js +9 -9
  632. package/dist/session/move.js +163 -160
  633. package/dist/session/projector.js +142 -138
  634. package/dist/session/prompt.js +147 -144
  635. package/dist/session/recent-text.js +1 -1
  636. package/dist/session/revert.js +138 -134
  637. package/dist/session/run-coordinator.js +3 -3
  638. package/dist/session/runner/index.js +3 -3
  639. package/dist/session/runner/llm.js +246 -243
  640. package/dist/session/runner/max-steps.js +1 -1
  641. package/dist/session/runner/model.js +112 -112
  642. package/dist/session/runner/publish-llm-event.js +148 -145
  643. package/dist/session/runner/retry.js +5 -5
  644. package/dist/session/runner/step.js +159 -156
  645. package/dist/session/runner/to-llm-message.js +136 -132
  646. package/dist/session/schema.js +5 -5
  647. package/dist/session/session.js +177 -174
  648. package/dist/session/shell.js +143 -139
  649. package/dist/session/skill.js +146 -143
  650. package/dist/session/sql.js +5 -5
  651. package/dist/session/stats.js +85 -85
  652. package/dist/session/store.js +141 -137
  653. package/dist/session/stored.js +2 -2
  654. package/dist/session/subagent-completion.js +1 -1
  655. package/dist/session/subagent-job.js +222 -219
  656. package/dist/session/system-prompt.js +5 -5
  657. package/dist/session/title.js +197 -194
  658. package/dist/session/to-session-error.js +147 -144
  659. package/dist/session/transfer.js +240 -237
  660. package/dist/session/usage.js +1 -1
  661. package/dist/session.js +230 -227
  662. package/dist/shell/parse.js +6 -6
  663. package/dist/shell/result.js +1 -1
  664. package/dist/shell/scan.js +1 -1
  665. package/dist/shell/select.js +13 -13
  666. package/dist/shell.js +145 -141
  667. package/dist/skill/discovery.js +6 -6
  668. package/dist/skill/instructions.js +150 -147
  669. package/dist/skill.js +155 -152
  670. package/dist/snapshot.js +105 -105
  671. package/dist/state.js +1 -1
  672. package/dist/tool/html-markdown.js +1 -1
  673. package/dist/tool/http-body.js +1 -1
  674. package/dist/tool/mcp.js +172 -169
  675. package/dist/tool/plugin/edit.js +163 -160
  676. package/dist/tool/plugin/file-diff.js +1 -1
  677. package/dist/tool/plugin/glob.js +165 -162
  678. package/dist/tool/plugin/grep.js +167 -164
  679. package/dist/tool/plugin/image-generate.js +236 -233
  680. package/dist/tool/plugin/mcp-resource.js +161 -158
  681. package/dist/tool/plugin/opencode.js +160 -157
  682. package/dist/tool/plugin/patch.js +161 -158
  683. package/dist/tool/plugin/question.js +145 -142
  684. package/dist/tool/plugin/read.js +164 -161
  685. package/dist/tool/plugin/schedule.js +242 -239
  686. package/dist/tool/plugin/shell.js +229 -226
  687. package/dist/tool/plugin/skill.js +154 -151
  688. package/dist/tool/plugin/subagent.js +231 -228
  689. package/dist/tool/plugin/todo.js +148 -145
  690. package/dist/tool/plugin/webfetch.js +154 -151
  691. package/dist/tool/plugin/websearch.js +152 -149
  692. package/dist/tool/plugin/write.js +165 -162
  693. package/dist/tool/read-filesystem.js +112 -112
  694. package/dist/tool/runtime.js +1 -1
  695. package/dist/tool-output.js +7 -7
  696. package/dist/tool.js +16 -16
  697. package/dist/types/config/integration.d.ts +29 -7
  698. package/dist/types/config/managed.d.ts +10 -0
  699. package/dist/types/config/plugin/policy.d.ts +4 -1
  700. package/dist/types/managed-policy.d.ts +16 -2
  701. package/dist/types/websearch.d.ts +2 -0
  702. package/dist/usage-limits.js +97 -97
  703. package/dist/util/error-summary.js +1 -1
  704. package/dist/util/git-executable.js +3 -3
  705. package/dist/util/lazy.js +1 -1
  706. package/dist/util/slug.js +1 -1
  707. package/dist/util/token.js +1 -1
  708. package/dist/util/which.js +1 -1
  709. package/dist/util/wildcard.js +3 -3
  710. package/dist/v1/config/agent.js +7 -7
  711. package/dist/v1/config/command.js +3 -3
  712. package/dist/v1/config/mcp.js +6 -6
  713. package/dist/v1/config/migrate.js +104 -104
  714. package/dist/v1/config/permission.js +3 -3
  715. package/dist/v1/config/plugin.js +3 -3
  716. package/dist/v1/config/provider-options.js +1 -1
  717. package/dist/v1/config/provider.js +4 -4
  718. package/dist/variant.js +105 -105
  719. package/dist/vcs/patch.js +1 -1
  720. package/dist/vcs.js +99 -99
  721. package/dist/voice.js +100 -100
  722. package/dist/websearch.js +94 -94
  723. package/dist/wellknown/plugin.js +86 -86
  724. package/dist/wellknown.js +91 -91
  725. package/dist/workspace/driver.js +5 -5
  726. package/dist/workspace/sql.js +1 -1
  727. package/dist/workspace.js +92 -92
  728. package/dist/worktree/directory.js +2 -2
  729. package/dist/worktree/git.js +11 -11
  730. package/dist/worktree/sql.js +5 -5
  731. package/dist/worktree/strategies.js +101 -101
  732. package/dist/worktree.js +108 -108
  733. package/package.json +8 -8
  734. package/dist/chunks/ripgrep-apk2hew3.js +0 -76
  735. package/dist/chunks/ripgrep-cgp1s624.js +0 -26
  736. package/dist/chunks/ripgrep-f38wrs86.js +0 -535
  737. package/dist/chunks/ripgrep-n3r3rt18.js +0 -18
  738. package/dist/chunks/ripgrep-qraj6mtx.js +0 -257
  739. package/dist/chunks/ripgrep-x7c80rtj.js +0 -31
  740. /package/dist/chunks/{ripgrep-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
  741. /package/dist/chunks/{ripgrep-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
  742. /package/dist/chunks/{ripgrep-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
  743. /package/dist/chunks/{ripgrep-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
  744. /package/dist/chunks/{ripgrep-1kah00gy.js → mime-1kah00gy.js} +0 -0
  745. /package/dist/chunks/{ripgrep-24dcb14g.js → mime-24dcb14g.js} +0 -0
  746. /package/dist/chunks/{ripgrep-2710q6r3.js → mime-2710q6r3.js} +0 -0
  747. /package/dist/chunks/{ripgrep-2bv980vf.js → mime-2bv980vf.js} +0 -0
  748. /package/dist/chunks/{ripgrep-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
  749. /package/dist/chunks/{ripgrep-359p4xyc.js → mime-359p4xyc.js} +0 -0
  750. /package/dist/chunks/{ripgrep-3asan66x.js → mime-3asan66x.js} +0 -0
  751. /package/dist/chunks/{ripgrep-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
  752. /package/dist/chunks/{ripgrep-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
  753. /package/dist/chunks/{ripgrep-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
  754. /package/dist/chunks/{ripgrep-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
  755. /package/dist/chunks/{ripgrep-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
  756. /package/dist/chunks/{ripgrep-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
  757. /package/dist/chunks/{ripgrep-53557ph1.js → mime-53557ph1.js} +0 -0
  758. /package/dist/chunks/{ripgrep-550bvhaj.js → mime-550bvhaj.js} +0 -0
  759. /package/dist/chunks/{ripgrep-5w3e23ze.js → mime-5w3e23ze.js} +0 -0
  760. /package/dist/chunks/{ripgrep-6prwharc.js → mime-6prwharc.js} +0 -0
  761. /package/dist/chunks/{ripgrep-6q2bdcd1.js → mime-6q2bdcd1.js} +0 -0
  762. /package/dist/chunks/{ripgrep-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
  763. /package/dist/chunks/{ripgrep-7m9af43g.js → mime-7m9af43g.js} +0 -0
  764. /package/dist/chunks/{ripgrep-7stb81gk.js → mime-7stb81gk.js} +0 -0
  765. /package/dist/chunks/{ripgrep-822emrt2.js → mime-822emrt2.js} +0 -0
  766. /package/dist/chunks/{ripgrep-84wd9syh.js → mime-84wd9syh.js} +0 -0
  767. /package/dist/chunks/{ripgrep-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
  768. /package/dist/chunks/{ripgrep-8n3pysct.js → mime-8n3pysct.js} +0 -0
  769. /package/dist/chunks/{ripgrep-8wj87zfr.js → mime-8wj87zfr.js} +0 -0
  770. /package/dist/chunks/{ripgrep-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
  771. /package/dist/chunks/{ripgrep-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
  772. /package/dist/chunks/{ripgrep-a058387c.js → mime-a058387c.js} +0 -0
  773. /package/dist/chunks/{ripgrep-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
  774. /package/dist/chunks/{ripgrep-af5trqkr.js → mime-af5trqkr.js} +0 -0
  775. /package/dist/chunks/{ripgrep-afrmfg78.js → mime-afrmfg78.js} +0 -0
  776. /package/dist/chunks/{ripgrep-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
  777. /package/dist/chunks/{ripgrep-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
  778. /package/dist/chunks/{ripgrep-beh6qq61.js → mime-beh6qq61.js} +0 -0
  779. /package/dist/chunks/{ripgrep-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
  780. /package/dist/chunks/{ripgrep-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
  781. /package/dist/chunks/{ripgrep-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
  782. /package/dist/chunks/{ripgrep-cqv5kn06.js → mime-cqv5kn06.js} +0 -0
  783. /package/dist/chunks/{ripgrep-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
  784. /package/dist/chunks/{ripgrep-d9fn303g.js → mime-d9fn303g.js} +0 -0
  785. /package/dist/chunks/{ripgrep-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
  786. /package/dist/chunks/{ripgrep-dap0rakb.js → mime-dap0rakb.js} +0 -0
  787. /package/dist/chunks/{ripgrep-df08tz66.js → mime-df08tz66.js} +0 -0
  788. /package/dist/chunks/{ripgrep-dy18nga0.js → mime-dy18nga0.js} +0 -0
  789. /package/dist/chunks/{ripgrep-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
  790. /package/dist/chunks/{ripgrep-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
  791. /package/dist/chunks/{ripgrep-ean2d8b5.js → mime-ean2d8b5.js} +0 -0
  792. /package/dist/chunks/{ripgrep-ec1grn59.js → mime-ec1grn59.js} +0 -0
  793. /package/dist/chunks/{ripgrep-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
  794. /package/dist/chunks/{ripgrep-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
  795. /package/dist/chunks/{ripgrep-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
  796. /package/dist/chunks/{ripgrep-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
  797. /package/dist/chunks/{ripgrep-faypxj3z.js → mime-faypxj3z.js} +0 -0
  798. /package/dist/chunks/{ripgrep-fd410y7t.js → mime-fd410y7t.js} +0 -0
  799. /package/dist/chunks/{ripgrep-fkpq3x5p.js → mime-fkpq3x5p.js} +0 -0
  800. /package/dist/chunks/{ripgrep-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
  801. /package/dist/chunks/{ripgrep-g86h250q.js → mime-g86h250q.js} +0 -0
  802. /package/dist/chunks/{ripgrep-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
  803. /package/dist/chunks/{ripgrep-gftt206x.js → mime-gftt206x.js} +0 -0
  804. /package/dist/chunks/{ripgrep-hcxmzztb.js → mime-hcxmzztb.js} +0 -0
  805. /package/dist/chunks/{ripgrep-hk9envan.js → mime-hk9envan.js} +0 -0
  806. /package/dist/chunks/{ripgrep-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
  807. /package/dist/chunks/{ripgrep-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
  808. /package/dist/chunks/{ripgrep-jjkms2e6.js → mime-jjkms2e6.js} +0 -0
  809. /package/dist/chunks/{ripgrep-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
  810. /package/dist/chunks/{ripgrep-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
  811. /package/dist/chunks/{ripgrep-jwr30sdr.js → mime-jwr30sdr.js} +0 -0
  812. /package/dist/chunks/{ripgrep-jze0r7bz.js → mime-jze0r7bz.js} +0 -0
  813. /package/dist/chunks/{ripgrep-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
  814. /package/dist/chunks/{ripgrep-m18g726c.js → mime-m18g726c.js} +0 -0
  815. /package/dist/chunks/{ripgrep-mp448xyj.js → mime-mp448xyj.js} +0 -0
  816. /package/dist/chunks/{ripgrep-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
  817. /package/dist/chunks/{ripgrep-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
  818. /package/dist/chunks/{ripgrep-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
  819. /package/dist/chunks/{ripgrep-ncqqe42p.js → mime-ncqqe42p.js} +0 -0
  820. /package/dist/chunks/{ripgrep-nh4v3znn.js → mime-nh4v3znn.js} +0 -0
  821. /package/dist/chunks/{ripgrep-njntx4h6.js → mime-njntx4h6.js} +0 -0
  822. /package/dist/chunks/{ripgrep-p71gwv9c.js → mime-p71gwv9c.js} +0 -0
  823. /package/dist/chunks/{ripgrep-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
  824. /package/dist/chunks/{ripgrep-q74kybfr.js → mime-q74kybfr.js} +0 -0
  825. /package/dist/chunks/{ripgrep-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
  826. /package/dist/chunks/{ripgrep-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
  827. /package/dist/chunks/{ripgrep-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
  828. /package/dist/chunks/{ripgrep-qg3g05ea.js → mime-qg3g05ea.js} +0 -0
  829. /package/dist/chunks/{ripgrep-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
  830. /package/dist/chunks/{ripgrep-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
  831. /package/dist/chunks/{ripgrep-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
  832. /package/dist/chunks/{ripgrep-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
  833. /package/dist/chunks/{ripgrep-stkk57rt.js → mime-stkk57rt.js} +0 -0
  834. /package/dist/chunks/{ripgrep-t03h4f5z.js → mime-t03h4f5z.js} +0 -0
  835. /package/dist/chunks/{ripgrep-ty7weeps.js → mime-ty7weeps.js} +0 -0
  836. /package/dist/chunks/{ripgrep-ve7vex1e.js → mime-ve7vex1e.js} +0 -0
  837. /package/dist/chunks/{ripgrep-w803qqfp.js → mime-w803qqfp.js} +0 -0
  838. /package/dist/chunks/{ripgrep-wc3fc9cn.js → mime-wc3fc9cn.js} +0 -0
  839. /package/dist/chunks/{ripgrep-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
  840. /package/dist/chunks/{ripgrep-wtztk69x.js → mime-wtztk69x.js} +0 -0
  841. /package/dist/chunks/{ripgrep-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
  842. /package/dist/chunks/{ripgrep-x61499pn.js → mime-x61499pn.js} +0 -0
  843. /package/dist/chunks/{ripgrep-y44na4kk.js → mime-y44na4kk.js} +0 -0
  844. /package/dist/chunks/{ripgrep-y8f7s663.js → mime-y8f7s663.js} +0 -0
  845. /package/dist/chunks/{ripgrep-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
  846. /package/dist/chunks/{ripgrep-z5v4ffb3.js → mime-z5v4ffb3.js} +0 -0
  847. /package/dist/chunks/{ripgrep-z9919s4g.js → mime-z9919s4g.js} +0 -0
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service59
4
- } from "./ripgrep-1gx6yymd.js";
3
+ Service72
4
+ } from "./mime-kdd90951.js";
5
5
  import {
6
- Service43
7
- } from "./ripgrep-xp46ybm5.js";
6
+ Service77
7
+ } from "./mime-y3a4nh1w.js";
8
8
  import {
9
9
  observe2
10
- } from "./ripgrep-hpg1pkwy.js";
10
+ } from "./mime-hpg1pkwy.js";
11
11
  import {
12
12
  __export
13
- } from "./ripgrep-9rqn6x4v.js";
13
+ } from "./mime-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/shell.ts
16
16
  var exports_shell = {};
17
17
  __export(exports_shell, {
18
18
  ConfigShellPlugin: () => exports_shell,
19
- Plugin: () => Plugin22
19
+ Plugin: () => Plugin17
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin22 = define({
23
+ var Plugin17 = define({
24
24
  id: "opencode.config.shell",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service59;
27
- const shell = yield* Service43;
26
+ const config = yield* Service72;
27
+ const shell = yield* Service77;
28
28
  const loaded = yield* observe2(config, ctx.event, shell.reload());
29
29
  yield* shell.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "shell");
@@ -34,4 +34,4 @@ var Plugin22 = define({
34
34
  })
35
35
  });
36
36
 
37
- export { Plugin22, exports_shell };
37
+ export { Plugin17, exports_shell };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./ripgrep-ec1grn59.js";
3
+ } from "./mime-ec1grn59.js";
4
4
  import {
5
5
  stringify2
6
- } from "./ripgrep-7stb81gk.js";
6
+ } from "./mime-7stb81gk.js";
7
7
  import {
8
8
  contentFilterError2
9
- } from "./ripgrep-d0t1jrhe.js";
9
+ } from "./mime-w4ykgd89.js";
10
10
 
11
11
  // src/session/runner/publish-llm-event.ts
12
12
  import { isRecord } from "@opencode/util/record";
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  create3
3
- } from "./ripgrep-204s3925.js";
3
+ } from "./mime-204s3925.js";
4
4
  import {
5
5
  which2
6
- } from "./ripgrep-qaymkmh1.js";
6
+ } from "./mime-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./ripgrep-9rqn6x4v.js";
9
+ } from "./mime-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
- Options: () => Options5,
15
- Service: () => Service43,
14
+ Options: () => Options8,
15
+ Service: () => Service77,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured5,
18
+ configured: () => configured11,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
21
  list: () => list4,
22
22
  login: () => login2,
23
23
  name: () => name17,
24
- node: () => node45,
24
+ node: () => node81,
25
25
  ps: () => ps2,
26
- resolve: () => resolve2
26
+ resolve: () => resolve4
27
27
  });
28
28
  import path from "path";
29
29
  import { readFile } from "fs/promises";
@@ -43,11 +43,11 @@ var META = {
43
43
  sh: { login: true },
44
44
  zsh: { login: true }
45
45
  };
46
- var Options5 = Schema.Struct({
46
+ var Options8 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service43 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service77 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
164
164
  }
165
165
  var defaultConfigured;
166
166
  var defaultCompatible;
167
- function resolve2(input, configShell, options, bin) {
167
+ function resolve4(input, configShell, options, bin) {
168
168
  const filter = input.priority === "compat" ? { compatible: true } : undefined;
169
169
  if (configShell)
170
170
  return select(configShell, options, filter, bin);
@@ -180,7 +180,7 @@ function resolve2(input, configShell, options, bin) {
180
180
  defaultConfigured = { bin, value };
181
181
  return value;
182
182
  }
183
- resolve2.reset = () => {
183
+ resolve4.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
@@ -188,7 +188,7 @@ async function list4(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service43, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service77, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service43, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service43.of({
202
+ return Service77.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
- resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin)),
205
+ resolve: (input) => Effect.sync(() => resolve4(input, state.get().shell, options, global.bin)),
206
206
  list: () => Effect.promise(() => list4(options, global.bin))
207
207
  });
208
208
  }));
209
- function configured5(options) {
210
- return makeLocationNode({ service: Service43, layer: layer(options), deps: [Global.node] });
209
+ function configured11(options) {
210
+ return makeLocationNode({ service: Service77, layer: layer(options), deps: [Global.node] });
211
211
  }
212
- var node45 = configured5();
212
+ var node81 = configured11();
213
213
 
214
- export { Options5, Service43, gitbash2, name17, login2, ps2, args2, environment2, resolve2, list4, configured5, node45, exports_select };
214
+ export { Options8, Service77, gitbash2, name17, login2, ps2, args2, environment2, resolve4, list4, configured11, node81, exports_select };
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  lazy2
3
- } from "./ripgrep-88xbtdfr.js";
3
+ } from "./mime-88xbtdfr.js";
4
4
  import {
5
5
  load6
6
- } from "./ripgrep-ncqqe42p.js";
6
+ } from "./mime-ncqqe42p.js";
7
7
  import {
8
8
  __export
9
- } from "./ripgrep-9rqn6x4v.js";
9
+ } from "./mime-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
14
  Native: () => Native3,
15
- Service: () => Service60,
15
+ Service: () => Service73,
16
16
  Test: () => Test3,
17
17
  Watcher: () => exports_watcher,
18
18
  configured: () => configured10,
19
19
  hasNativeBinding: () => hasNativeBinding2,
20
20
  layer: () => layer26,
21
21
  nativeLayer: () => nativeLayer2,
22
- node: () => node63,
22
+ node: () => node77,
23
23
  testLayer: () => testLayer3
24
24
  });
25
25
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -49,14 +49,14 @@ var hasNativeBinding2 = () => !!watcher();
49
49
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
50
50
  }
51
51
 
52
- class Service60 extends Context.Service()("@opencode/Watcher") {
52
+ class Service73 extends Context.Service()("@opencode/Watcher") {
53
53
  }
54
54
 
55
55
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
56
56
  }
57
- var layer26 = (options) => Layer.effect(Service60, Effect.gen(function* () {
57
+ var layer26 = (options) => Layer.effect(Service73, Effect.gen(function* () {
58
58
  if (options?.enabled === false) {
59
- return Service60.of({ subscribe: () => Effect.succeed(Stream.empty) });
59
+ return Service73.of({ subscribe: () => Effect.succeed(Stream.empty) });
60
60
  }
61
61
  const native = yield* Native3;
62
62
  const watchers = yield* RcMap.make({
@@ -97,7 +97,7 @@ var layer26 = (options) => Layer.effect(Service60, Effect.gen(function* () {
97
97
  return Stream.fromSubscription(subscription);
98
98
  }));
99
99
  });
100
- return Service60.of({ subscribe });
100
+ return Service73.of({ subscribe });
101
101
  }));
102
102
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
103
103
  const subscriptions = [];
@@ -123,7 +123,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
123
123
  });
124
124
  const context = yield* Layer.build(layer26().pipe(Layer.provide(Layer.succeed(Native3, native))));
125
125
  const test = Test3.of({
126
- subscribe: Context.get(context, Service60).subscribe,
126
+ subscribe: Context.get(context, Service73).subscribe,
127
127
  emit: (update) => Effect.sync(() => {
128
128
  const target = path.resolve(update.path);
129
129
  active.forEach((matches, publish) => {
@@ -133,7 +133,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
133
133
  }),
134
134
  subscriptions: () => Effect.sync(() => [...subscriptions])
135
135
  });
136
- return Context.empty().pipe(Context.add(Service60, test), Context.add(Test3, test));
136
+ return Context.empty().pipe(Context.add(Service73, test), Context.add(Test3, test));
137
137
  }));
138
138
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
139
139
  subscribe: (input) => {
@@ -156,9 +156,9 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
156
156
  }));
157
157
  var nativeNode = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
158
158
  function configured10(options) {
159
- return makeGlobalNode({ service: Service60, layer: layer26(options), deps: [nativeNode] });
159
+ return makeGlobalNode({ service: Service73, layer: layer26(options), deps: [nativeNode] });
160
160
  }
161
- var node63 = configured10();
161
+ var node77 = configured10();
162
162
  function subscribeDirectory(native, backend, directory, ignore, publish) {
163
163
  if (!native || !backend) {
164
164
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -178,4 +178,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
178
178
  }).pipe(Effect.as(undefined))));
179
179
  }
180
180
 
181
- export { hasNativeBinding2, Native3, Service60, Test3, layer26, testLayer3, nativeLayer2, configured10, node63, exports_watcher };
181
+ export { hasNativeBinding2, Native3, Service73, Test3, layer26, testLayer3, nativeLayer2, configured10, node77, exports_watcher };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ProjectTable2
3
- } from "./ripgrep-aj7mw0zk.js";
3
+ } from "./mime-034tev2y.js";
4
4
  import {
5
5
  __export
6
- } from "./ripgrep-9rqn6x4v.js";
6
+ } from "./mime-9rqn6x4v.js";
7
7
 
8
8
  // src/project/icon.ts
9
9
  var exports_icon = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./ripgrep-9rqn6x4v.js";
3
+ } from "./mime-9rqn6x4v.js";
4
4
 
5
5
  // src/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,16 +1,16 @@
1
1
  import {
2
- ID9,
2
+ ID14,
3
3
  mergeOverlay2
4
- } from "./ripgrep-agz4bq91.js";
4
+ } from "./mime-45xte6ee.js";
5
5
  import {
6
- ID8,
6
+ ID13,
7
7
  VariantID2,
8
- Info18,
8
+ Info23,
9
9
  compatibility2
10
- } from "./ripgrep-7rr96ps8.js";
10
+ } from "./mime-7q3qfmpr.js";
11
11
  import {
12
12
  __export
13
- } from "./ripgrep-9rqn6x4v.js";
13
+ } from "./mime-9rqn6x4v.js";
14
14
 
15
15
  // src/modal/models.ts
16
16
  var exports_models = {};
@@ -22,7 +22,7 @@ __export(exports_models, {
22
22
  });
23
23
  import { Money } from "@opencode/schema/money";
24
24
  import { Option, Schema } from "effect";
25
- var providerID = ID9.make("modal");
25
+ var providerID = ID14.make("modal");
26
26
  var ReasoningOption = Schema.Struct({
27
27
  type: Schema.Literal("effort"),
28
28
  values: Schema.Array(Schema.NullOr(Schema.String))
@@ -75,8 +75,8 @@ function derive2(baseURL, remote, existing) {
75
75
  const templates = new Map(existing.map((model) => [model.id, model]));
76
76
  const result = new Map;
77
77
  for (const item of remote) {
78
- const template = templates.get(ID8.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
- const id = ID8.make(item.id);
78
+ const template = templates.get(ID13.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
+ const id = ID13.make(item.id);
80
80
  result.set(id, build(id, item, baseURL, template));
81
81
  }
82
82
  return result;
@@ -94,10 +94,10 @@ function limit(value, fallback) {
94
94
  function build(id, remote, baseURL, previous) {
95
95
  const cost = previous?.cost[0];
96
96
  const input = previous?.limit.input;
97
- return Info18.make({
98
- ...Info18.default(providerID, id),
97
+ return Info23.make({
98
+ ...Info23.default(providerID, id),
99
99
  id,
100
- modelID: ID8.make(remote.id),
100
+ modelID: ID13.make(remote.id),
101
101
  providerID,
102
102
  name: remote.name ?? previous?.name ?? remote.id,
103
103
  family: previous?.family,
@@ -2,26 +2,26 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./ripgrep-z5v4ffb3.js";
5
+ } from "./mime-z5v4ffb3.js";
6
6
  import {
7
- Service81,
8
- node84
9
- } from "./ripgrep-x8yhn9vn.js";
7
+ Service53,
8
+ node57
9
+ } from "./mime-r1b7wght.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./ripgrep-90zstvax.js";
12
+ } from "./mime-90zstvax.js";
13
13
  import {
14
14
  __export
15
- } from "./ripgrep-9rqn6x4v.js";
15
+ } from "./mime-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
19
19
  __export(exports_ripgrep, {
20
- Error: () => Error4,
20
+ Error: () => Error3,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service71,
24
- node: () => node74
23
+ Service: () => Service46,
24
+ node: () => node50
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/process";
@@ -47,7 +47,7 @@ var RawMatch = Schema.Struct({
47
47
  });
48
48
  var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
49
49
 
50
- class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
50
+ class Error3 extends Schema.TaggedError()("Ripgrep.Error", {
51
51
  message: Schema.String,
52
52
  cause: Schema.optional(Schema.Defect())
53
53
  }) {
@@ -59,13 +59,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
59
59
  }) {
60
60
  }
61
61
 
62
- class Service71 extends Context.Service()("@opencode/Ripgrep") {
62
+ class Service46 extends Context.Service()("@opencode/Ripgrep") {
63
63
  }
64
- var failure = (message, cause) => new Error4({ message, cause });
64
+ var failure = (message, cause) => new Error3({ message, cause });
65
65
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
66
66
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
67
- var layer = Layer.effect(Service71, Effect.gen(function* () {
68
- const environment = yield* Service81;
67
+ var layer = Layer.effect(Service46, Effect.gen(function* () {
68
+ const environment = yield* Service53;
69
69
  const binary = yield* RipgrepBinary2.Service;
70
70
  const run = (input) => {
71
71
  const program = Effect.scoped(Effect.gen(function* () {
@@ -91,9 +91,9 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
91
91
  return code === 1 ? [] : rows;
92
92
  }));
93
93
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
94
- return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
+ return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
95
95
  };
96
- return Service71.of({
96
+ return Service46.of({
97
97
  glob: (input) => run({
98
98
  cwd: input.cwd,
99
99
  limit: input.limit,
@@ -179,6 +179,6 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
179
179
  }))))
180
180
  });
181
181
  }));
182
- var node74 = makeLocationNode({ service: Service71, layer, deps: [node84, RipgrepBinary2.node] });
182
+ var node50 = makeLocationNode({ service: Service46, layer, deps: [node57, RipgrepBinary2.node] });
183
183
 
184
- export { Error4, InvalidPatternError2, Service71, node74, exports_ripgrep };
184
+ export { Error3, InvalidPatternError2, Service46, node50, exports_ripgrep };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  useragent2
3
- } from "./ripgrep-b3tsdpgs.js";
3
+ } from "./mime-91xttez3.js";
4
4
  import {
5
- Service85
6
- } from "./ripgrep-sbpkqjks.js";
5
+ Service86
6
+ } from "./mime-1kmbt0nq.js";
7
7
  import {
8
- ID11,
9
- Event14,
10
- Service65
11
- } from "./ripgrep-q6vnkpbt.js";
8
+ ID18,
9
+ Event19,
10
+ Service84
11
+ } from "./mime-gqwtxsn1.js";
12
12
  import {
13
13
  key2
14
- } from "./ripgrep-cac0wmbb.js";
14
+ } from "./mime-xk2zn0cv.js";
15
15
  import {
16
- ID10,
16
+ ID17,
17
17
  MethodID2
18
- } from "./ripgrep-5c6v7bf7.js";
18
+ } from "./mime-nf5vm8zn.js";
19
19
  import {
20
20
  which2
21
- } from "./ripgrep-qaymkmh1.js";
21
+ } from "./mime-qaymkmh1.js";
22
22
  import {
23
- ID9,
24
- Service63
25
- } from "./ripgrep-agz4bq91.js";
23
+ ID14,
24
+ Service76
25
+ } from "./mime-45xte6ee.js";
26
26
  import {
27
- ID8
28
- } from "./ripgrep-7rr96ps8.js";
27
+ ID13
28
+ } from "./mime-7q3qfmpr.js";
29
29
  import {
30
30
  configuredSettings2
31
- } from "./ripgrep-r87akjs2.js";
31
+ } from "./mime-x6tax50b.js";
32
32
 
33
33
  // src/plugin/provider/azure.ts
34
34
  import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
@@ -63,18 +63,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
63
63
  }));
64
64
  var ResourceQuery = Schema.Struct({ query: Schema.String });
65
65
  var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
66
- function make7(endpoints = {
66
+ function make5(endpoints = {
67
67
  resource: (name) => `https://${name}.openai.azure.com/openai`,
68
68
  management: "https://management.azure.com"
69
69
  }) {
70
70
  return define({
71
71
  id: "opencode.provider.azure",
72
72
  effect: Effect.fn(function* (ctx) {
73
- const configured = yield* configuredSettings2(ID9.azure);
73
+ const configured = yield* configuredSettings2(ID14.azure);
74
74
  const processes = yield* AppProcess.Service;
75
- const bus = yield* Service85;
76
- const credentials = yield* Service65;
77
- const providers = yield* Service63;
75
+ const bus = yield* Service86;
76
+ const credentials = yield* Service84;
77
+ const providers = yield* Service76;
78
78
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
79
79
  const tokens = new Map;
80
80
  const resourceIDs = new Map;
@@ -100,11 +100,11 @@ function make7(endpoints = {
100
100
  const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
101
101
  yield* ctx.integration.transform((editor) => {
102
102
  editor.method.update({
103
- integrationID: ID9.azure,
103
+ integrationID: ID14.azure,
104
104
  method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
105
105
  });
106
106
  editor.method.update({
107
- integrationID: ID9.azure,
107
+ integrationID: ID14.azure,
108
108
  method: {
109
109
  type: "key",
110
110
  label: "API key",
@@ -122,7 +122,7 @@ function make7(endpoints = {
122
122
  if (!available)
123
123
  return;
124
124
  editor.method.update({
125
- integrationID: ID9.azure,
125
+ integrationID: ID14.azure,
126
126
  method: {
127
127
  id: methodID,
128
128
  type: "external",
@@ -142,8 +142,8 @@ function make7(endpoints = {
142
142
  });
143
143
  });
144
144
  const load = Effect.fn("AzurePlugin.load")(function* () {
145
- const connection = yield* ctx.integration.connection.active(ID9.azure);
146
- const stored = connection?.type === "credential" ? yield* credentials.get(ID11.make(connection.id)) : undefined;
145
+ const connection = yield* ctx.integration.connection.active(ID14.azure);
146
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID18.make(connection.id)) : undefined;
147
147
  return { connection, resource: credentialResource(stored?.value) };
148
148
  });
149
149
  const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
@@ -182,7 +182,7 @@ function make7(endpoints = {
182
182
  }));
183
183
  const discover = Effect.fn("AzurePlugin.discover")(function* () {
184
184
  const connection = loaded.connection;
185
- const settings = (yield* providers.get(ID9.azure))?.settings;
185
+ const settings = (yield* providers.get(ID14.azure))?.settings;
186
186
  const name = loaded.resource ?? resolveResourceName(settings);
187
187
  const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
188
188
  if (loaded.connection !== connection)
@@ -204,11 +204,11 @@ function make7(endpoints = {
204
204
  const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
205
205
  if (!found)
206
206
  return;
207
- if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID9.azure)))
207
+ if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID14.azure)))
208
208
  return;
209
209
  if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
210
210
  return;
211
- const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID9.azure)?.models.keys() ?? [], (id) => [
211
+ const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID14.azure)?.models.keys() ?? [], (id) => [
212
212
  id.toLowerCase(),
213
213
  id
214
214
  ]));
@@ -221,11 +221,11 @@ function make7(endpoints = {
221
221
  yield* ctx.model.reload();
222
222
  });
223
223
  const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
224
- const resourceFor = (provider) => provider.id === ID9.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
224
+ const resourceFor = (provider) => provider.id === ID14.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
225
225
  Object.assign(loaded, yield* load());
226
226
  yield* ctx.provider.transform((evt) => {
227
227
  for (const item of evt.list()) {
228
- if (item.provider.id !== ID9.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
228
+ if (item.provider.id !== ID14.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
229
229
  continue;
230
230
  const resourceName = resourceFor(item.provider);
231
231
  const websocket = responsesWebSocketCapable(item.provider);
@@ -240,7 +240,7 @@ function make7(endpoints = {
240
240
  };
241
241
  });
242
242
  }
243
- const item = evt.get(ID9.azure);
243
+ const item = evt.get(ID14.azure);
244
244
  if (!item)
245
245
  return;
246
246
  evt.add({
@@ -251,7 +251,7 @@ function make7(endpoints = {
251
251
  });
252
252
  yield* ctx.model.transform((models) => {
253
253
  for (const item of models.provider.list()) {
254
- if (item.provider.id !== ID9.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
254
+ if (item.provider.id !== ID14.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
255
255
  continue;
256
256
  const resourceName = resourceFor(item.provider);
257
257
  if (!resourceName)
@@ -270,20 +270,20 @@ function make7(endpoints = {
270
270
  }
271
271
  if (!loaded.deployments)
272
272
  return;
273
- const catalog = models.list(ID9.azure);
273
+ const catalog = models.list(ID14.azure);
274
274
  const deployed = deployedModels(loaded.deployments, catalog);
275
275
  for (const model of catalog) {
276
276
  if (!deployed.has(model.id))
277
- models.remove(ID9.azure, model.id);
277
+ models.remove(ID14.azure, model.id);
278
278
  }
279
279
  for (const [id, model] of deployed) {
280
- models.update(ID9.azure, id, (draft) => Object.assign(draft, model));
280
+ models.update(ID14.azure, id, (draft) => Object.assign(draft, model));
281
281
  }
282
282
  });
283
- yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
283
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID17.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
284
284
  yield* refresh().pipe(Effect.forkScoped);
285
285
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
286
- const connection = yield* ctx.integration.connection.active(ID9.azure);
286
+ const connection = yield* ctx.integration.connection.active(ID14.azure);
287
287
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
288
288
  return;
289
289
  })) : undefined;
@@ -295,7 +295,7 @@ function make7(endpoints = {
295
295
  return `Bearer ${current.access}`;
296
296
  });
297
297
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
298
- if (evt.model.providerID !== ID9.azure)
298
+ if (evt.model.providerID !== ID14.azure)
299
299
  return;
300
300
  const authorization = yield* bearer(evt.request.url);
301
301
  if (!authorization)
@@ -304,9 +304,9 @@ function make7(endpoints = {
304
304
  evt.request.headers.delete("x-api-key");
305
305
  evt.request.headers.set("authorization", authorization);
306
306
  evt.request.headers.set("user-agent", useragent2(ctx.app));
307
- }), { providerID: ID9.azure });
307
+ }), { providerID: ID14.azure });
308
308
  yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
309
- if (evt.model.providerID !== ID9.azure)
309
+ if (evt.model.providerID !== ID14.azure)
310
310
  return;
311
311
  const authorization = yield* bearer(evt.url);
312
312
  if (!authorization)
@@ -315,11 +315,11 @@ function make7(endpoints = {
315
315
  delete evt.headers["x-api-key"];
316
316
  evt.headers.authorization = authorization;
317
317
  evt.headers["user-agent"] = useragent2(ctx.app);
318
- }), { providerID: ID9.azure });
318
+ }), { providerID: ID14.azure });
319
319
  })
320
320
  });
321
321
  }
322
- var AzurePlugin2 = make7();
322
+ var AzurePlugin2 = make5();
323
323
  function resolveResourceName(settings, fallback) {
324
324
  const configured = settings?.resourceName;
325
325
  if (typeof configured === "string" && configured.trim() !== "")
@@ -349,11 +349,11 @@ function deployedModels(deployments, catalog) {
349
349
  const model = catalogModel(models, deployment);
350
350
  if (!model)
351
351
  return [];
352
- const id = ID8.make(deployment.name.toLowerCase());
352
+ const id = ID13.make(deployment.name.toLowerCase());
353
353
  const info = {
354
354
  ...structuredClone(model),
355
355
  id,
356
- modelID: ID8.make(deployment.name),
356
+ modelID: ID13.make(deployment.name),
357
357
  name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
358
358
  };
359
359
  return [[id, info]];
@@ -375,4 +375,4 @@ function responsesWebSocketCapable(provider) {
375
375
  return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
376
376
  }
377
377
 
378
- export { make7, AzurePlugin2 };
378
+ export { make5, AzurePlugin2 };