@opencode/core 0.0.0-dev-20258 → 0.0.0-dev-20261

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 (796) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{file-mutation-k18pbb1y.js → plugin-0c6ngp90.js} +5 -5
  8. package/dist/chunks/{file-mutation-eaj1djv9.js → plugin-0gdmqesm.js} +8 -8
  9. package/dist/chunks/{file-mutation-859g3c1y.js → plugin-0gz7zjqc.js} +15 -15
  10. package/dist/chunks/{file-mutation-353txv1b.js → plugin-0haf790c.js} +48 -48
  11. package/dist/chunks/{file-mutation-w7nc8r38.js → plugin-0jazcgt4.js} +13 -13
  12. package/dist/chunks/{file-mutation-n37c4crj.js → plugin-0jq9fyba.js} +9 -9
  13. package/dist/chunks/{file-mutation-0paq2nw3.js → plugin-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{file-mutation-4mwnfcqv.js → plugin-0wqrk86a.js} +31 -31
  15. package/dist/chunks/{file-mutation-y8fmc1zc.js → plugin-0wtca10x.js} +6 -6
  16. package/dist/chunks/{file-mutation-q752a12t.js → plugin-0ytp3p19.js} +18 -18
  17. package/dist/chunks/{file-mutation-rpmwkvmp.js → plugin-10mg1hjy.js} +24 -24
  18. package/dist/chunks/{file-mutation-16nnx1gk.js → plugin-15j85hqy.js} +7 -7
  19. package/dist/chunks/{file-mutation-k9j777qh.js → plugin-163npw09.js} +4 -4
  20. package/dist/chunks/{file-mutation-26xt9qdc.js → plugin-17pdvcx6.js} +10 -10
  21. package/dist/chunks/{file-mutation-1dazxqgg.js → plugin-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{file-mutation-dd2f6nst.js → plugin-1eqke8yx.js} +160 -160
  23. package/dist/chunks/{file-mutation-4a9qdbmr.js → plugin-1gn13qs0.js} +6 -6
  24. package/dist/chunks/{file-mutation-9pvvf6k3.js → plugin-1j9p7csq.js} +13 -13
  25. package/dist/chunks/{file-mutation-3jhmeyjv.js → plugin-1kh467bh.js} +20 -20
  26. package/dist/chunks/{file-mutation-bj8e23yz.js → plugin-1x36vwaj.js} +18 -18
  27. package/dist/chunks/{file-mutation-mfqp6xfm.js → plugin-1ygqh575.js} +6 -6
  28. package/dist/chunks/{file-mutation-21r38tys.js → plugin-21r38tys.js} +1 -1
  29. package/dist/chunks/{file-mutation-2g4s1v4g.js → plugin-226hzddc.js} +16 -16
  30. package/dist/chunks/{file-mutation-gnxy3td6.js → plugin-25vdtnjj.js} +24 -24
  31. package/dist/chunks/{file-mutation-vbr7z2an.js → plugin-26yhvja0.js} +7 -7
  32. package/dist/chunks/{file-mutation-2a5m3afh.js → plugin-2a5m3afh.js} +1 -1
  33. package/dist/chunks/{file-mutation-qgn6gcr1.js → plugin-2k8khapm.js} +5 -5
  34. package/dist/chunks/{file-mutation-7he179h5.js → plugin-2t86gywv.js} +5 -5
  35. package/dist/chunks/{file-mutation-ny6qhpy6.js → plugin-2vfhzmbv.js} +1 -1
  36. package/dist/chunks/{file-mutation-4dzt4m50.js → plugin-2w2xb9k3.js} +20 -20
  37. package/dist/chunks/{file-mutation-vt5565qe.js → plugin-2w99xks8.js} +6 -6
  38. package/dist/chunks/{file-mutation-xcyj3yfq.js → plugin-2xha5ks4.js} +16 -16
  39. package/dist/chunks/{file-mutation-7tbm9b7t.js → plugin-34wny0tj.js} +3 -3
  40. package/dist/chunks/{file-mutation-qccp8e4s.js → plugin-391pqrnc.js} +43 -43
  41. package/dist/chunks/{file-mutation-51gpjtn8.js → plugin-3dj3kb64.js} +29 -29
  42. package/dist/chunks/{file-mutation-aspe0h1z.js → plugin-3dnchybb.js} +39 -39
  43. package/dist/chunks/{file-mutation-3fc6dm20.js → plugin-3fc6dm20.js} +1 -1
  44. package/dist/chunks/{file-mutation-3hepkmqq.js → plugin-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{file-mutation-f6982a3r.js → plugin-3nk0nj5f.js} +20 -20
  46. package/dist/chunks/{file-mutation-3smtnn6g.js → plugin-3smtnn6g.js} +1 -1
  47. package/dist/chunks/{file-mutation-3tvqynh2.js → plugin-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{file-mutation-3zsf4n22.js → plugin-3zsf4n22.js} +1 -1
  49. package/dist/chunks/{file-mutation-268ye7pn.js → plugin-40k0ddnb.js} +11 -11
  50. package/dist/chunks/{file-mutation-sxra90qj.js → plugin-43snptd5.js} +10 -10
  51. package/dist/chunks/{file-mutation-3n65gszx.js → plugin-4dfpma72.js} +27 -27
  52. package/dist/chunks/{file-mutation-nzyhnfxz.js → plugin-4dgbcxzg.js} +4 -4
  53. package/dist/chunks/{file-mutation-16hbcy11.js → plugin-4f30js84.js} +81 -81
  54. package/dist/chunks/{file-mutation-3kdnsp7j.js → plugin-4fbwas88.js} +30 -30
  55. package/dist/chunks/{file-mutation-6qdk3m7n.js → plugin-4fg0erh5.js} +14 -14
  56. package/dist/chunks/{file-mutation-s5pc7fga.js → plugin-4fnvzdk9.js} +12 -12
  57. package/dist/chunks/{file-mutation-wbyb4rcs.js → plugin-4njh4d5a.js} +15 -15
  58. package/dist/chunks/{file-mutation-2yvgrdfb.js → plugin-4yxj8t26.js} +34 -34
  59. package/dist/chunks/{file-mutation-57ez7d0k.js → plugin-57ez7d0k.js} +2 -2
  60. package/dist/chunks/{file-mutation-vrtvrq7g.js → plugin-5bnbvf32.js} +8 -8
  61. package/dist/chunks/{file-mutation-6tar641x.js → plugin-5c3wa5vy.js} +33 -33
  62. package/dist/chunks/{file-mutation-kpq3n5w9.js → plugin-5chjpv3n.js} +41 -41
  63. package/dist/chunks/{file-mutation-5daktx2q.js → plugin-5daktx2q.js} +1 -1
  64. package/dist/chunks/{file-mutation-166kng33.js → plugin-5eer2xf9.js} +8 -8
  65. package/dist/chunks/{file-mutation-bg9wbsx0.js → plugin-5j4wdcgy.js} +37 -37
  66. package/dist/chunks/{file-mutation-eza7vwvm.js → plugin-5qn7cpsb.js} +26 -26
  67. package/dist/chunks/{file-mutation-5t3nmthw.js → plugin-5t3nmthw.js} +2 -2
  68. package/dist/chunks/{file-mutation-tpw6cwsb.js → plugin-5yzzbxa7.js} +8 -8
  69. package/dist/chunks/{file-mutation-669tq793.js → plugin-669tq793.js} +1 -1
  70. package/dist/chunks/{file-mutation-6msgmcgs.js → plugin-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{file-mutation-yyr7mt6v.js → plugin-6w6eazwn.js} +31 -31
  72. package/dist/chunks/{file-mutation-c4y5a9cq.js → plugin-6wg7wrda.js} +8 -8
  73. package/dist/chunks/{file-mutation-h1nf4jgx.js → plugin-751rfnyf.js} +24 -24
  74. package/dist/chunks/{file-mutation-xk1h7hsv.js → plugin-7b74frze.js} +10 -10
  75. package/dist/chunks/{file-mutation-7bmhse3q.js → plugin-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{file-mutation-e2xc3qzp.js → plugin-7gjwn3mg.js} +16 -16
  77. package/dist/chunks/{file-mutation-39gr99av.js → plugin-7x3jeged.js} +18 -18
  78. package/dist/chunks/{file-mutation-h2r7bbkd.js → plugin-818pfwc9.js} +8 -8
  79. package/dist/chunks/{file-mutation-84txncab.js → plugin-84txncab.js} +1 -1
  80. package/dist/chunks/{file-mutation-b2g6p7zb.js → plugin-85dpt69s.js} +9 -9
  81. package/dist/chunks/{file-mutation-kzc3h1h3.js → plugin-86qzxe6p.js} +4 -4
  82. package/dist/chunks/{file-mutation-yx93m0w7.js → plugin-88p635hd.js} +15 -15
  83. package/dist/chunks/{file-mutation-00dwsy4m.js → plugin-8bxz1hbv.js} +5 -5
  84. package/dist/chunks/{file-mutation-8d7r5vzw.js → plugin-8d7r5vzw.js} +1 -1
  85. package/dist/chunks/{file-mutation-r6f1b890.js → plugin-8f99yhwf.js} +10 -10
  86. package/dist/chunks/{file-mutation-dwbhttdj.js → plugin-8hghrp1y.js} +15 -15
  87. package/dist/chunks/{file-mutation-cvt7z5t2.js → plugin-8st81z4y.js} +43 -43
  88. package/dist/chunks/{file-mutation-rwyhredf.js → plugin-8t93fjeg.js} +30 -30
  89. package/dist/chunks/{file-mutation-jy9e27y0.js → plugin-8yy3td16.js} +9 -9
  90. package/dist/chunks/{file-mutation-yg78e3t5.js → plugin-8yzr9w1t.js} +5 -5
  91. package/dist/chunks/{file-mutation-94ek1h2f.js → plugin-94ek1h2f.js} +2 -2
  92. package/dist/chunks/{file-mutation-x4p2gnwd.js → plugin-9bgc64qj.js} +8 -8
  93. package/dist/chunks/{file-mutation-pwsepaaz.js → plugin-9ebccp69.js} +20 -20
  94. package/dist/chunks/{file-mutation-hm9gfxca.js → plugin-9erx25p7.js} +20 -20
  95. package/dist/chunks/{file-mutation-shjx5epx.js → plugin-9jksb0q9.js} +11 -11
  96. package/dist/chunks/{file-mutation-c9tf7zzd.js → plugin-9pdehny3.js} +20 -20
  97. package/dist/chunks/plugin-9sh4wc5j.js +18 -0
  98. package/dist/chunks/{file-mutation-sznyev98.js → plugin-9w4ppqge.js} +5 -5
  99. package/dist/chunks/{file-mutation-4faj2s9d.js → plugin-a07f9fey.js} +9 -9
  100. package/dist/chunks/{file-mutation-56wazr8f.js → plugin-a13cy9vj.js} +25 -25
  101. package/dist/chunks/{file-mutation-y2zrk0dr.js → plugin-a22hehm6.js} +17 -17
  102. package/dist/chunks/plugin-a5y6cd29.js +26 -0
  103. package/dist/chunks/{file-mutation-b43pks6k.js → plugin-a6ppxa2m.js} +23 -23
  104. package/dist/chunks/{file-mutation-aaet6srn.js → plugin-aaet6srn.js} +2 -2
  105. package/dist/chunks/{file-mutation-p6czja74.js → plugin-ah5phf7r.js} +5 -5
  106. package/dist/chunks/{file-mutation-5qkxfyep.js → plugin-awaee7qt.js} +6 -6
  107. package/dist/chunks/{file-mutation-yffnxffr.js → plugin-axv4f4m2.js} +14 -14
  108. package/dist/chunks/{file-mutation-xddwgmc9.js → plugin-aytrwwgk.js} +23 -23
  109. package/dist/chunks/{file-mutation-b07rpg7m.js → plugin-b09hzw3k.js} +2 -2
  110. package/dist/chunks/{file-mutation-0xhzw85s.js → plugin-b4acncw1.js} +10 -10
  111. package/dist/chunks/{file-mutation-b6gygkdw.js → plugin-b6gygkdw.js} +2 -2
  112. package/dist/chunks/{file-mutation-10ct4jct.js → plugin-b95n020p.js} +3 -3
  113. package/dist/chunks/{file-mutation-kj8qwk00.js → plugin-bbx6perp.js} +11 -11
  114. package/dist/chunks/{file-mutation-b7hkstf3.js → plugin-bg4rh47n.js} +14 -14
  115. package/dist/chunks/{file-mutation-5tbe7xwy.js → plugin-bhe98940.js} +8 -8
  116. package/dist/chunks/{file-mutation-32yyat8p.js → plugin-bqjbyfa2.js} +13 -13
  117. package/dist/chunks/{file-mutation-f6hh4wxd.js → plugin-btgy5t2j.js} +21 -21
  118. package/dist/chunks/{file-mutation-p6wxjpka.js → plugin-c35597j6.js} +4 -4
  119. package/dist/chunks/{file-mutation-jmhdpeq2.js → plugin-c6yyxaqc.js} +42 -42
  120. package/dist/chunks/{file-mutation-arws8trd.js → plugin-c7tt9wkp.js} +4 -4
  121. package/dist/chunks/{file-mutation-cakxjwmg.js → plugin-c8kpj4ex.js} +22 -22
  122. package/dist/chunks/{file-mutation-58cp5g22.js → plugin-cecssvhd.js} +27 -27
  123. package/dist/chunks/{file-mutation-w8ferkse.js → plugin-cg8x86pw.js} +10 -10
  124. package/dist/chunks/{file-mutation-ckecvw8r.js → plugin-ckecvw8r.js} +2 -2
  125. package/dist/chunks/{file-mutation-z6ydsys7.js → plugin-cm2g59gw.js} +8 -8
  126. package/dist/chunks/plugin-cmea03x8.js +507 -0
  127. package/dist/chunks/{file-mutation-ekmqrdxg.js → plugin-cr2pkzs2.js} +13 -13
  128. package/dist/chunks/{file-mutation-cwa6csj7.js → plugin-d4he2qe1.js} +9 -9
  129. package/dist/chunks/{file-mutation-k648p9r6.js → plugin-dmbkty79.js} +4 -4
  130. package/dist/chunks/{file-mutation-xkntkrq7.js → plugin-dmqcgk4z.js} +5 -5
  131. package/dist/chunks/{file-mutation-eq1jxjww.js → plugin-dqpbbqhd.js} +48 -48
  132. package/dist/chunks/{file-mutation-57b9ws8p.js → plugin-drwq78ky.js} +5 -5
  133. package/dist/chunks/{file-mutation-0gsevz91.js → plugin-e4fecnyv.js} +9 -9
  134. package/dist/chunks/{file-mutation-kda7zgrv.js → plugin-e5g8yhbe.js} +11 -11
  135. package/dist/chunks/{file-mutation-ecfe7b91.js → plugin-ecfe7b91.js} +2 -2
  136. package/dist/chunks/{file-mutation-1v8yrmg3.js → plugin-ecm3ffby.js} +10 -10
  137. package/dist/chunks/{file-mutation-brnagsee.js → plugin-ed4yg6b9.js} +18 -18
  138. package/dist/chunks/{file-mutation-ef5x83kb.js → plugin-ef5x83kb.js} +1 -1
  139. package/dist/chunks/{file-mutation-21jq7q3m.js → plugin-efr44db2.js} +17 -17
  140. package/dist/chunks/{file-mutation-qka5et1g.js → plugin-ejt70149.js} +8 -8
  141. package/dist/chunks/{file-mutation-x1gbxjx5.js → plugin-esgzjb22.js} +11 -11
  142. package/dist/chunks/{file-mutation-ern4x662.js → plugin-esj1rqzt.js} +18 -18
  143. package/dist/chunks/{file-mutation-etq0c3wd.js → plugin-etq0c3wd.js} +1 -1
  144. package/dist/chunks/{file-mutation-1acjjqhc.js → plugin-f2n192rq.js} +4 -4
  145. package/dist/chunks/{file-mutation-n064zhq3.js → plugin-f5pyg89p.js} +15 -15
  146. package/dist/chunks/{file-mutation-km0wbgkx.js → plugin-fhvfrf00.js} +25 -25
  147. package/dist/chunks/{file-mutation-49exe669.js → plugin-fhz5gfgy.js} +5 -5
  148. package/dist/chunks/{file-mutation-d48vtfkp.js → plugin-fnw8d6xx.js} +20 -20
  149. package/dist/chunks/{file-mutation-hekxc47r.js → plugin-fp2xarvc.js} +1 -1
  150. package/dist/chunks/{file-mutation-bmb3ej5t.js → plugin-fppxgmav.js} +4 -4
  151. package/dist/chunks/{file-mutation-jj5netzx.js → plugin-fy47842m.js} +9 -9
  152. package/dist/chunks/{file-mutation-jw80jp6b.js → plugin-g190xswt.js} +4 -4
  153. package/dist/chunks/{file-mutation-vhn9g06f.js → plugin-g19dbmvr.js} +11 -11
  154. package/dist/chunks/{file-mutation-y4prpqzx.js → plugin-g8e69vy5.js} +13 -13
  155. package/dist/chunks/{file-mutation-zxp32vzh.js → plugin-gay4s6z2.js} +2 -2
  156. package/dist/chunks/{file-mutation-jy8m2ksj.js → plugin-gbn7qf88.js} +27 -27
  157. package/dist/chunks/{file-mutation-gd4qta3r.js → plugin-gd4qta3r.js} +1 -1
  158. package/dist/chunks/{file-mutation-gv6a8nnw.js → plugin-gv6a8nnw.js} +2 -2
  159. package/dist/chunks/{file-mutation-h6vf3j39.js → plugin-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{file-mutation-v68astsv.js → plugin-hc5yvgym.js} +9 -9
  161. package/dist/chunks/{file-mutation-qjssfwbr.js → plugin-hfkc2fc8.js} +8 -8
  162. package/dist/chunks/{file-mutation-x4r22r3k.js → plugin-hhjsa95d.js} +20 -20
  163. package/dist/chunks/{file-mutation-p44d8wdy.js → plugin-hkfg6fzm.js} +5 -5
  164. package/dist/chunks/{file-mutation-vkqnm9g8.js → plugin-hpdnmf0e.js} +26 -26
  165. package/dist/chunks/{file-mutation-gnra7rc5.js → plugin-j26sntzs.js} +12 -12
  166. package/dist/chunks/{file-mutation-j56e64zr.js → plugin-j56e64zr.js} +1 -1
  167. package/dist/chunks/{file-mutation-qezw1pf5.js → plugin-jargcne3.js} +44 -44
  168. package/dist/chunks/{file-mutation-y5yrmg67.js → plugin-jkbv63gj.js} +16 -16
  169. package/dist/chunks/{file-mutation-m7h4c5p1.js → plugin-jn529p0z.js} +26 -26
  170. package/dist/chunks/{file-mutation-ax9wnt5n.js → plugin-jnmbryq4.js} +5 -5
  171. package/dist/chunks/{file-mutation-tkyqje11.js → plugin-jqzw3e7k.js} +34 -34
  172. package/dist/chunks/{file-mutation-wbkyxrgf.js → plugin-jv01nqvq.js} +5 -5
  173. package/dist/chunks/{file-mutation-wyxfthk3.js → plugin-jzvkh4fx.js} +21 -21
  174. package/dist/chunks/{file-mutation-k1qrnqst.js → plugin-k1qrnqst.js} +1 -1
  175. package/dist/chunks/{file-mutation-k3c624dm.js → plugin-k3c624dm.js} +3 -3
  176. package/dist/chunks/{file-mutation-gxv8bn46.js → plugin-k3rxjpxm.js} +44 -44
  177. package/dist/chunks/{file-mutation-v8ekj78e.js → plugin-ke0746dy.js} +70 -70
  178. package/dist/chunks/{file-mutation-f0ketqja.js → plugin-kf6p41xt.js} +25 -25
  179. package/dist/chunks/{file-mutation-6wf4ng0k.js → plugin-kk4dscew.js} +12 -12
  180. package/dist/chunks/{file-mutation-30bfr999.js → plugin-kpr1a7my.js} +25 -25
  181. package/dist/chunks/{file-mutation-6ersrjne.js → plugin-kxpygcw9.js} +5 -5
  182. package/dist/chunks/{file-mutation-m3fdjcah.js → plugin-m3fdjcah.js} +1 -1
  183. package/dist/chunks/{file-mutation-m9w0rfyh.js → plugin-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{file-mutation-73tb2d7t.js → plugin-mhkvc446.js} +3 -3
  185. package/dist/chunks/{file-mutation-xftpd4tw.js → plugin-mpwed6ez.js} +6 -6
  186. package/dist/chunks/{file-mutation-jarn1zxe.js → plugin-mrrn9raq.js} +6 -6
  187. package/dist/chunks/{file-mutation-kqxvsf2f.js → plugin-mspgr67z.js} +11 -11
  188. package/dist/chunks/{file-mutation-a6h4f4cc.js → plugin-mvmjd6jc.js} +23 -23
  189. package/dist/chunks/{file-mutation-mafgb6f8.js → plugin-n0dk8fgq.js} +11 -11
  190. package/dist/chunks/{file-mutation-mksgfzgs.js → plugin-n9k9pkqv.js} +6 -6
  191. package/dist/chunks/{file-mutation-w2fehx9e.js → plugin-nckbpnj1.js} +15 -15
  192. package/dist/chunks/{file-mutation-xz1243mt.js → plugin-nf27xhme.js} +21 -21
  193. package/dist/chunks/{file-mutation-qcdf9a5m.js → plugin-ng2pq99s.js} +1 -1
  194. package/dist/chunks/{file-mutation-mzs8vpd7.js → plugin-nmc3r7ac.js} +18 -18
  195. package/dist/chunks/{file-mutation-fbx7nax9.js → plugin-nxsqkktv.js} +16 -16
  196. package/dist/chunks/{file-mutation-hcsj8c5f.js → plugin-nz3f6dh6.js} +8 -8
  197. package/dist/chunks/{file-mutation-xdqge5f5.js → plugin-nzeaqd2d.js} +6 -6
  198. package/dist/chunks/{file-mutation-e1evkfpa.js → plugin-nzscph5b.js} +26 -26
  199. package/dist/chunks/{file-mutation-0bgjywmv.js → plugin-p3cg9c6g.js} +35 -35
  200. package/dist/chunks/{file-mutation-smm3c46c.js → plugin-p3g4bctq.js} +11 -11
  201. package/dist/chunks/{file-mutation-2tn83n21.js → plugin-p3ytwpdv.js} +17 -17
  202. package/dist/chunks/{file-mutation-mepdzt2d.js → plugin-p9g6edyn.js} +9 -9
  203. package/dist/chunks/{file-mutation-g1vn8w63.js → plugin-p9q41m4z.js} +7 -7
  204. package/dist/chunks/{file-mutation-ef7g0hvy.js → plugin-pcbmdtkt.js} +11 -11
  205. package/dist/chunks/{file-mutation-pcxghkgz.js → plugin-pcxghkgz.js} +1 -1
  206. package/dist/chunks/{file-mutation-qz3bnhk3.js → plugin-pj48g96g.js} +80 -80
  207. package/dist/chunks/{file-mutation-pjvnvgmy.js → plugin-pjvnvgmy.js} +1 -1
  208. package/dist/chunks/{file-mutation-pknna89w.js → plugin-pknna89w.js} +1 -1
  209. package/dist/chunks/{file-mutation-yksbe7bm.js → plugin-pm2pt1xv.js} +2 -2
  210. package/dist/chunks/{file-mutation-fhs97t90.js → plugin-pnv527nz.js} +9 -9
  211. package/dist/chunks/{file-mutation-trvrc289.js → plugin-qbfyb41y.js} +17 -17
  212. package/dist/chunks/{file-mutation-n3hytwrq.js → plugin-qdqbej7y.js} +11 -11
  213. package/dist/chunks/{file-mutation-bt3qejb9.js → plugin-qhsv69s2.js} +14 -14
  214. package/dist/chunks/{file-mutation-qsdy395h.js → plugin-qsdy395h.js} +1 -1
  215. package/dist/chunks/{file-mutation-px76j0pk.js → plugin-qx21fyv5.js} +9 -9
  216. package/dist/chunks/{file-mutation-cp6we9sf.js → plugin-r34rw9zv.js} +5 -5
  217. package/dist/chunks/{file-mutation-ymszjhhk.js → plugin-r56krgjk.js} +4 -4
  218. package/dist/chunks/{file-mutation-am06q2ww.js → plugin-r5y95tfb.js} +16 -16
  219. package/dist/chunks/{file-mutation-rdw6cm16.js → plugin-rdw6cm16.js} +1 -1
  220. package/dist/chunks/{file-mutation-xs20kdgy.js → plugin-rgc5cpy8.js} +19 -19
  221. package/dist/chunks/{file-mutation-1p07q0wb.js → plugin-rkprpv83.js} +4 -4
  222. package/dist/chunks/{file-mutation-g33ft7mf.js → plugin-rr2nj0f6.js} +20 -20
  223. package/dist/chunks/{file-mutation-7fpg8ynt.js → plugin-rshfbx8f.js} +24 -24
  224. package/dist/chunks/{file-mutation-3dqa613f.js → plugin-rv4n56cr.js} +20 -20
  225. package/dist/chunks/{file-mutation-g8bxbgc5.js → plugin-rxhrcajb.js} +3 -3
  226. package/dist/chunks/{file-mutation-px0fvt7x.js → plugin-s4qwe0ga.js} +3 -3
  227. package/dist/chunks/{file-mutation-hjtdmxqs.js → plugin-s5fjtm7f.js} +14 -14
  228. package/dist/chunks/{file-mutation-sygyr1wa.js → plugin-s6psezdd.js} +13 -13
  229. package/dist/chunks/{file-mutation-2a8qs4ht.js → plugin-sqqy8g26.js} +35 -35
  230. package/dist/chunks/{file-mutation-ryr25ayn.js → plugin-t2fc4mz5.js} +4 -4
  231. package/dist/chunks/{file-mutation-37ccqw5v.js → plugin-t5jcvtmd.js} +6 -6
  232. package/dist/chunks/{file-mutation-f73rjn58.js → plugin-t7n9q6bq.js} +4 -4
  233. package/dist/chunks/{file-mutation-j83byb14.js → plugin-t9zs3egg.js} +4 -4
  234. package/dist/chunks/{file-mutation-tazgh4e4.js → plugin-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{file-mutation-xwm6bryg.js → plugin-tazp3vs0.js} +4 -4
  236. package/dist/chunks/{file-mutation-93ygb5af.js → plugin-tcay1cqt.js} +6 -6
  237. package/dist/chunks/{file-mutation-tcezcvh9.js → plugin-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{file-mutation-tdstcens.js → plugin-tdstcens.js} +1 -1
  239. package/dist/chunks/{file-mutation-b9ykj7ya.js → plugin-tfv2ywv5.js} +10 -10
  240. package/dist/chunks/{file-mutation-wmt3wqce.js → plugin-tfyv2tyc.js} +5 -5
  241. package/dist/chunks/{file-mutation-39h29zav.js → plugin-thez4939.js} +20 -20
  242. package/dist/chunks/{file-mutation-tz2bjj40.js → plugin-tn0aqsam.js} +5 -5
  243. package/dist/chunks/{file-mutation-v8tfdbmx.js → plugin-tng1n90f.js} +11 -11
  244. package/dist/chunks/{file-mutation-tvtrv512.js → plugin-tvtrv512.js} +1 -1
  245. package/dist/chunks/{file-mutation-zwhcvfra.js → plugin-twkg1nd6.js} +16 -16
  246. package/dist/chunks/{file-mutation-rrtn0typ.js → plugin-tz9x35m9.js} +24 -24
  247. package/dist/chunks/{file-mutation-ye28agv5.js → plugin-v4masj8t.js} +29 -29
  248. package/dist/chunks/{file-mutation-vfjhn2wd.js → plugin-v7z2bvyd.js} +4 -4
  249. package/dist/chunks/{file-mutation-veqvce7d.js → plugin-veqvce7d.js} +1 -1
  250. package/dist/chunks/{file-mutation-r68mmbn4.js → plugin-vez28rkn.js} +11 -11
  251. package/dist/chunks/{file-mutation-gv6eg1zh.js → plugin-vq11y6r0.js} +26 -26
  252. package/dist/chunks/{file-mutation-607q5haz.js → plugin-vy4zg7qh.js} +5 -5
  253. package/dist/chunks/{file-mutation-vzcthcp8.js → plugin-vzcthcp8.js} +1 -1
  254. package/dist/chunks/{file-mutation-vzs5sf6e.js → plugin-vzs5sf6e.js} +1 -1
  255. package/dist/chunks/{file-mutation-jsb3pxss.js → plugin-w1ad28wa.js} +8 -8
  256. package/dist/chunks/{file-mutation-w3wsvvr9.js → plugin-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{file-mutation-x9fyvxks.js → plugin-wb743sy6.js} +3 -3
  258. package/dist/chunks/{file-mutation-wd3x2cqz.js → plugin-wd3x2cqz.js} +2 -2
  259. package/dist/chunks/{file-mutation-wd87259q.js → plugin-wd87259q.js} +1 -1
  260. package/dist/chunks/{file-mutation-wzk244zq.js → plugin-wjgt4jj8.js} +40 -40
  261. package/dist/chunks/{file-mutation-x1ezjp6w.js → plugin-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{file-mutation-3tq7spzn.js → plugin-xs4bfnsp.js} +28 -28
  263. package/dist/chunks/{file-mutation-aajkjtdc.js → plugin-xsc3qs14.js} +26 -26
  264. package/dist/chunks/{file-mutation-3mzqjafy.js → plugin-xt42g94b.js} +30 -30
  265. package/dist/chunks/{file-mutation-ba1mv5p0.js → plugin-xtrb50g7.js} +3 -3
  266. package/dist/chunks/{file-mutation-8zh4h089.js → plugin-xvp1j2dc.js} +5 -5
  267. package/dist/chunks/{file-mutation-chbxjcn8.js → plugin-xwwe5h59.js} +6 -6
  268. package/dist/chunks/{file-mutation-ky3ws345.js → plugin-xzsnc4e3.js} +16 -16
  269. package/dist/chunks/{file-mutation-y1fvbwt7.js → plugin-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{file-mutation-3tjs0rqc.js → plugin-y3bhypqx.js} +13 -13
  271. package/dist/chunks/{file-mutation-91m9hd8f.js → plugin-y6f0p4jw.js} +3 -3
  272. package/dist/chunks/{file-mutation-dpkg50ah.js → plugin-y71avatq.js} +4 -4
  273. package/dist/chunks/{file-mutation-qvb3nf84.js → plugin-y72zmemf.js} +8 -8
  274. package/dist/chunks/{file-mutation-5gt7p4qf.js → plugin-y8x2a1vp.js} +17 -17
  275. package/dist/chunks/{file-mutation-a8taf697.js → plugin-yfsq9z63.js} +19 -19
  276. package/dist/chunks/{file-mutation-0faexqjd.js → plugin-ym43xksr.js} +11 -11
  277. package/dist/chunks/{file-mutation-yrhqyw5v.js → plugin-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{file-mutation-yrznvahk.js → plugin-yrznvahk.js} +2 -2
  279. package/dist/chunks/{file-mutation-z07pqspn.js → plugin-z07pqspn.js} +3 -3
  280. package/dist/chunks/{file-mutation-z0bkrqjs.js → plugin-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{file-mutation-x37axz56.js → plugin-z1xagkky.js} +22 -22
  282. package/dist/chunks/{file-mutation-xz2chpcf.js → plugin-z5f7g71h.js} +5 -5
  283. package/dist/chunks/{file-mutation-z63w68vq.js → plugin-z63w68vq.js} +2 -2
  284. package/dist/chunks/{file-mutation-kjbzsbsj.js → plugin-z6w4snqn.js} +18 -18
  285. package/dist/chunks/{file-mutation-zeh9ct20.js → plugin-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{file-mutation-2qj495rm.js → plugin-zer1qjf0.js} +3 -3
  287. package/dist/chunks/{file-mutation-j67jnjt0.js → plugin-zh2qxfkb.js} +5 -5
  288. package/dist/chunks/plugin-zn57geqr.js +252 -0
  289. package/dist/chunks/{file-mutation-zr2ceqn5.js → plugin-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{file-mutation-zxq2ej10.js → plugin-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +11 -11
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +75 -75
  296. package/dist/config/discovery.js +82 -82
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +106 -106
  299. package/dist/config/plugin/agent.js +125 -125
  300. package/dist/config/plugin/command.js +214 -214
  301. package/dist/config/plugin/compaction.js +160 -160
  302. package/dist/config/plugin/compatibility.js +141 -141
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +124 -124
  305. package/dist/config/plugin/image.js +123 -123
  306. package/dist/config/plugin/instruction.js +90 -90
  307. package/dist/config/plugin/location-watcher.js +125 -125
  308. package/dist/config/plugin/mcp.js +132 -132
  309. package/dist/config/plugin/policy.js +124 -124
  310. package/dist/config/plugin/provider.js +123 -123
  311. package/dist/config/plugin/reference.js +125 -125
  312. package/dist/config/plugin/shell.js +123 -123
  313. package/dist/config/plugin/skill-file.js +102 -102
  314. package/dist/config/plugin/skill.js +144 -144
  315. package/dist/config/plugin/snapshot.js +123 -123
  316. package/dist/config/plugin/source.js +126 -126
  317. package/dist/config/plugin/tool-output.js +125 -125
  318. package/dist/config/plugin/websearch.js +122 -122
  319. package/dist/config/plugin/worktree.js +125 -125
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +124 -124
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +85 -85
  325. package/dist/database/database.js +66 -66
  326. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +15 -15
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +16 -16
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  390. package/dist/database/migration.gen.js +49 -49
  391. package/dist/database/migration.js +51 -51
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +76 -76
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +370 -370
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +3 -3
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +93 -93
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +95 -95
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +1 -1
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +70 -70
  415. package/dist/file-access.js +104 -104
  416. package/dist/file-mutation.js +94 -94
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +227 -227
  425. package/dist/filesystem/protected.js +1 -1
  426. package/dist/filesystem/search.js +97 -97
  427. package/dist/filesystem/watcher-binding.js +1 -1
  428. package/dist/filesystem/watcher.js +11 -11
  429. package/dist/filesystem.js +98 -98
  430. package/dist/form.js +80 -80
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +87 -87
  433. package/dist/generate.js +105 -105
  434. package/dist/git.js +6 -6
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +99 -99
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +361 -361
  459. package/dist/instruction-discovery.js +85 -85
  460. package/dist/instructions/builtins.js +87 -87
  461. package/dist/instructions/index.js +5 -5
  462. package/dist/integration/connection.js +3 -3
  463. package/dist/integration.js +86 -86
  464. package/dist/job.js +77 -77
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +73 -73
  467. package/dist/location-activity.js +132 -132
  468. package/dist/location-lifecycle.js +107 -107
  469. package/dist/location-service-map.js +86 -86
  470. package/dist/location-services.js +358 -358
  471. package/dist/location.js +81 -81
  472. package/dist/managed-policy.js +1 -1
  473. package/dist/mcp/client.js +91 -91
  474. package/dist/mcp/index.js +104 -104
  475. package/dist/mcp/instructions.js +124 -124
  476. package/dist/mcp/oauth.js +78 -78
  477. package/dist/mcp/stdio.js +90 -90
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +99 -99
  480. package/dist/model-resolver.js +98 -98
  481. package/dist/model.js +100 -100
  482. package/dist/models-dev.js +107 -107
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +82 -82
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +109 -109
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +84 -84
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +75 -75
  492. package/dist/plugin/agent.js +104 -104
  493. package/dist/plugin/command.js +101 -101
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +218 -218
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +5 -5
  498. package/dist/plugin/internal.js +333 -333
  499. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  500. package/dist/plugin/models-dev.js +96 -96
  501. package/dist/plugin/module.js +7 -7
  502. package/dist/plugin/optimize.js +2 -2
  503. package/dist/plugin/plan.js +102 -102
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  506. package/dist/plugin/provider/azure.js +122 -122
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +119 -119
  512. package/dist/plugin/provider/digitalocean.js +93 -93
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/gateway.js +2 -2
  516. package/dist/plugin/provider/github-copilot.js +94 -94
  517. package/dist/plugin/provider/gitlab.js +93 -93
  518. package/dist/plugin/provider/google-vertex.js +90 -90
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +77 -77
  521. package/dist/plugin/provider/lmstudio.js +122 -122
  522. package/dist/plugin/provider/modal.js +92 -92
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +122 -122
  525. package/dist/plugin/provider/openai.js +92 -92
  526. package/dist/plugin/provider/opencode.js +95 -95
  527. package/dist/plugin/provider/openrouter.js +91 -91
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +78 -78
  530. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  531. package/dist/plugin/provider/sap-ai-core.js +91 -91
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  534. package/dist/plugin/provider/venice.js +2 -2
  535. package/dist/plugin/provider/vercel.js +90 -90
  536. package/dist/plugin/provider/vllm.js +122 -122
  537. package/dist/plugin/provider/xai.js +91 -91
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +161 -161
  540. package/dist/plugin/sdk.js +76 -76
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +141 -141
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +352 -352
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +86 -86
  548. package/dist/plugin/vcs/hg.js +86 -86
  549. package/dist/plugin/verbosity.js +93 -93
  550. package/dist/plugin/warming.js +121 -121
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +4 -4
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +4 -4
  557. package/dist/plugin/websearch/tinyfish.js +6 -6
  558. package/dist/plugin.js +225 -225
  559. package/dist/project/schema.js +2 -2
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +80 -80
  562. package/dist/provider.js +101 -101
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +89 -89
  566. package/dist/reference/instructions.js +89 -89
  567. package/dist/reference.js +87 -87
  568. package/dist/repository-cache.js +81 -81
  569. package/dist/repository.js +1 -1
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +95 -95
  572. package/dist/rpc.js +86 -86
  573. package/dist/schema.js +1 -1
  574. package/dist/session/command.js +74 -74
  575. package/dist/session/compaction.js +132 -132
  576. package/dist/session/context.js +152 -152
  577. package/dist/session/diff.js +88 -88
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +3 -3
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +219 -219
  582. package/dist/session/execution.js +126 -126
  583. package/dist/session/generate.js +153 -153
  584. package/dist/session/history.js +13 -13
  585. package/dist/session/inbox.js +90 -90
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +75 -75
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +97 -97
  590. package/dist/session/message-updater.js +4 -4
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +117 -117
  593. package/dist/session/model-transport.js +7 -7
  594. package/dist/session/move.js +130 -130
  595. package/dist/session/projector.js +86 -86
  596. package/dist/session/prompt.js +105 -105
  597. package/dist/session/provider-context.js +3 -3
  598. package/dist/session/revert.js +90 -90
  599. package/dist/session/run-coordinator.js +3 -3
  600. package/dist/session/runner/index.js +3 -3
  601. package/dist/session/runner/llm.js +231 -231
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +98 -98
  604. package/dist/session/runner/publish-llm-event.js +3 -3
  605. package/dist/session/runner/retry.js +4 -4
  606. package/dist/session/runner/step.js +126 -126
  607. package/dist/session/runner/to-llm-message.js +2 -2
  608. package/dist/session/schema.js +5 -5
  609. package/dist/session/session.js +170 -170
  610. package/dist/session/shell.js +138 -138
  611. package/dist/session/skill.js +103 -103
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +73 -73
  614. package/dist/session/store.js +87 -87
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +210 -210
  617. package/dist/session/system-prompt.js +3 -3
  618. package/dist/session/title.js +156 -156
  619. package/dist/session/to-session-error.js +111 -111
  620. package/dist/session/transfer.js +214 -214
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +214 -214
  623. package/dist/shell/parse.js +6 -6
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +11 -11
  627. package/dist/shell.js +140 -140
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +105 -105
  630. package/dist/skill.js +108 -108
  631. package/dist/snapshot.js +91 -91
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +123 -123
  636. package/dist/tool/plugin/edit.js +120 -120
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +124 -124
  639. package/dist/tool/plugin/grep.js +122 -122
  640. package/dist/tool/plugin/mcp-resource.js +116 -116
  641. package/dist/tool/plugin/opencode.js +1 -1
  642. package/dist/tool/plugin/patch.js +120 -120
  643. package/dist/tool/plugin/question.js +103 -103
  644. package/dist/tool/plugin/read.js +125 -125
  645. package/dist/tool/plugin/shell.js +215 -215
  646. package/dist/tool/plugin/skill.js +111 -111
  647. package/dist/tool/plugin/subagent.js +219 -219
  648. package/dist/tool/plugin/webfetch.js +110 -110
  649. package/dist/tool/plugin/websearch.js +112 -112
  650. package/dist/tool/plugin/write.js +116 -116
  651. package/dist/tool/read-filesystem.js +100 -100
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +8 -8
  654. package/dist/tool.js +12 -12
  655. package/dist/util/error-summary.js +1 -1
  656. package/dist/util/error.js +1 -1
  657. package/dist/util/git-executable.js +2 -2
  658. package/dist/util/iife.js +1 -1
  659. package/dist/util/lazy.js +1 -1
  660. package/dist/util/slug.js +1 -1
  661. package/dist/util/token.js +1 -1
  662. package/dist/util/which.js +1 -1
  663. package/dist/util/wildcard.js +1 -1
  664. package/dist/v1/config/agent.js +5 -5
  665. package/dist/v1/config/attachment.js +4 -4
  666. package/dist/v1/config/command.js +3 -3
  667. package/dist/v1/config/config.js +16 -16
  668. package/dist/v1/config/error.js +2 -2
  669. package/dist/v1/config/formatter.js +5 -5
  670. package/dist/v1/config/layout.js +1 -1
  671. package/dist/v1/config/lsp.js +3 -3
  672. package/dist/v1/config/mcp.js +4 -4
  673. package/dist/v1/config/migrate.js +92 -92
  674. package/dist/v1/config/permission.js +3 -3
  675. package/dist/v1/config/plugin.js +3 -3
  676. package/dist/v1/config/provider-options.js +1 -1
  677. package/dist/v1/config/provider.js +4 -4
  678. package/dist/v1/config/server.js +2 -2
  679. package/dist/v1/config/skills.js +3 -3
  680. package/dist/v1/permission.js +1 -1
  681. package/dist/variant.js +93 -93
  682. package/dist/vcs/patch.js +1 -1
  683. package/dist/vcs.js +89 -89
  684. package/dist/websearch.js +82 -82
  685. package/dist/wellknown/plugin.js +76 -76
  686. package/dist/wellknown.js +77 -77
  687. package/dist/workspace/driver.js +7 -7
  688. package/dist/workspace/sql.js +1 -1
  689. package/dist/workspace.js +80 -80
  690. package/dist/worktree/directory.js +2 -2
  691. package/dist/worktree/git.js +10 -10
  692. package/dist/worktree/sql.js +5 -5
  693. package/dist/worktree/strategies.js +89 -89
  694. package/dist/worktree.js +96 -96
  695. package/package.json +8 -8
  696. package/dist/chunks/file-mutation-786aqz46.js +0 -507
  697. package/dist/chunks/file-mutation-qfq4bwrq.js +0 -252
  698. package/dist/chunks/file-mutation-rap9a73h.js +0 -18
  699. package/dist/chunks/file-mutation-wjf1m7fj.js +0 -26
  700. /package/dist/chunks/{file-mutation-0qkdqm5v.js → plugin-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{file-mutation-0zkw76rk.js → plugin-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{file-mutation-17cy0kzp.js → plugin-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{file-mutation-1cnp2v09.js → plugin-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{file-mutation-1kg9ymc8.js → plugin-1kg9ymc8.js} +0 -0
  705. /package/dist/chunks/{file-mutation-24dcb14g.js → plugin-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{file-mutation-2710q6r3.js → plugin-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{file-mutation-2axfhc9x.js → plugin-2axfhc9x.js} +0 -0
  708. /package/dist/chunks/{file-mutation-2c3vjs8z.js → plugin-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{file-mutation-34c7v6d4.js → plugin-34c7v6d4.js} +0 -0
  710. /package/dist/chunks/{file-mutation-359p4xyc.js → plugin-359p4xyc.js} +0 -0
  711. /package/dist/chunks/{file-mutation-3asan66x.js → plugin-3asan66x.js} +0 -0
  712. /package/dist/chunks/{file-mutation-3v8g72cx.js → plugin-3v8g72cx.js} +0 -0
  713. /package/dist/chunks/{file-mutation-3w5fmr99.js → plugin-3w5fmr99.js} +0 -0
  714. /package/dist/chunks/{file-mutation-3wcehsnq.js → plugin-3wcehsnq.js} +0 -0
  715. /package/dist/chunks/{file-mutation-43n2bw4t.js → plugin-43n2bw4t.js} +0 -0
  716. /package/dist/chunks/{file-mutation-4knz6hnm.js → plugin-4knz6hnm.js} +0 -0
  717. /package/dist/chunks/{file-mutation-4vcrnpx2.js → plugin-4vcrnpx2.js} +0 -0
  718. /package/dist/chunks/{file-mutation-4y7fprxs.js → plugin-4y7fprxs.js} +0 -0
  719. /package/dist/chunks/{file-mutation-53557ph1.js → plugin-53557ph1.js} +0 -0
  720. /package/dist/chunks/{file-mutation-550bvhaj.js → plugin-550bvhaj.js} +0 -0
  721. /package/dist/chunks/{file-mutation-5qd3pb7m.js → plugin-5qd3pb7m.js} +0 -0
  722. /package/dist/chunks/{file-mutation-6prwharc.js → plugin-6prwharc.js} +0 -0
  723. /package/dist/chunks/{file-mutation-7akdwqpd.js → plugin-7akdwqpd.js} +0 -0
  724. /package/dist/chunks/{file-mutation-7m9af43g.js → plugin-7m9af43g.js} +0 -0
  725. /package/dist/chunks/{file-mutation-822emrt2.js → plugin-822emrt2.js} +0 -0
  726. /package/dist/chunks/{file-mutation-88xbtdfr.js → plugin-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{file-mutation-8n3pysct.js → plugin-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{file-mutation-8wj87zfr.js → plugin-8wj87zfr.js} +0 -0
  729. /package/dist/chunks/{file-mutation-922hggd3.js → plugin-922hggd3.js} +0 -0
  730. /package/dist/chunks/{file-mutation-9a4afbnw.js → plugin-9a4afbnw.js} +0 -0
  731. /package/dist/chunks/{file-mutation-9rqn6x4v.js → plugin-9rqn6x4v.js} +0 -0
  732. /package/dist/chunks/{file-mutation-a6k6eb26.js → plugin-a6k6eb26.js} +0 -0
  733. /package/dist/chunks/{file-mutation-af5trqkr.js → plugin-af5trqkr.js} +0 -0
  734. /package/dist/chunks/{file-mutation-afrmfg78.js → plugin-afrmfg78.js} +0 -0
  735. /package/dist/chunks/{file-mutation-aqzs7mqg.js → plugin-aqzs7mqg.js} +0 -0
  736. /package/dist/chunks/{file-mutation-atq7p7m5.js → plugin-atq7p7m5.js} +0 -0
  737. /package/dist/chunks/{file-mutation-bkyjaxrp.js → plugin-bkyjaxrp.js} +0 -0
  738. /package/dist/chunks/{file-mutation-bmr6ed5q.js → plugin-bmr6ed5q.js} +0 -0
  739. /package/dist/chunks/{file-mutation-cf4snx6d.js → plugin-cf4snx6d.js} +0 -0
  740. /package/dist/chunks/{file-mutation-cvy3z8tj.js → plugin-cvy3z8tj.js} +0 -0
  741. /package/dist/chunks/{file-mutation-d9fn303g.js → plugin-d9fn303g.js} +0 -0
  742. /package/dist/chunks/{file-mutation-d9jj8t3e.js → plugin-d9jj8t3e.js} +0 -0
  743. /package/dist/chunks/{file-mutation-dajrwvna.js → plugin-dajrwvna.js} +0 -0
  744. /package/dist/chunks/{file-mutation-dap0rakb.js → plugin-dap0rakb.js} +0 -0
  745. /package/dist/chunks/{file-mutation-df08tz66.js → plugin-df08tz66.js} +0 -0
  746. /package/dist/chunks/{file-mutation-dy18nga0.js → plugin-dy18nga0.js} +0 -0
  747. /package/dist/chunks/{file-mutation-e5kj55wp.js → plugin-e5kj55wp.js} +0 -0
  748. /package/dist/chunks/{file-mutation-e73j6tqm.js → plugin-e73j6tqm.js} +0 -0
  749. /package/dist/chunks/{file-mutation-ec1grn59.js → plugin-ec1grn59.js} +0 -0
  750. /package/dist/chunks/{file-mutation-eh3zwz77.js → plugin-eh3zwz77.js} +0 -0
  751. /package/dist/chunks/{file-mutation-emrn6kk6.js → plugin-emrn6kk6.js} +0 -0
  752. /package/dist/chunks/{file-mutation-f0mxakyp.js → plugin-f0mxakyp.js} +0 -0
  753. /package/dist/chunks/{file-mutation-f6n9ztr4.js → plugin-f6n9ztr4.js} +0 -0
  754. /package/dist/chunks/{file-mutation-faypxj3z.js → plugin-faypxj3z.js} +0 -0
  755. /package/dist/chunks/{file-mutation-fd410y7t.js → plugin-fd410y7t.js} +0 -0
  756. /package/dist/chunks/{file-mutation-fxgpk5d8.js → plugin-fxgpk5d8.js} +0 -0
  757. /package/dist/chunks/{file-mutation-g4wezp1m.js → plugin-g4wezp1m.js} +0 -0
  758. /package/dist/chunks/{file-mutation-g86h250q.js → plugin-g86h250q.js} +0 -0
  759. /package/dist/chunks/{file-mutation-gebd4c9n.js → plugin-gebd4c9n.js} +0 -0
  760. /package/dist/chunks/{file-mutation-gftt206x.js → plugin-gftt206x.js} +0 -0
  761. /package/dist/chunks/{file-mutation-hjbc5kem.js → plugin-hjbc5kem.js} +0 -0
  762. /package/dist/chunks/{file-mutation-hk9envan.js → plugin-hk9envan.js} +0 -0
  763. /package/dist/chunks/{file-mutation-j2ntwpah.js → plugin-j2ntwpah.js} +0 -0
  764. /package/dist/chunks/{file-mutation-j5zkgpj8.js → plugin-j5zkgpj8.js} +0 -0
  765. /package/dist/chunks/{file-mutation-jjkms2e6.js → plugin-jjkms2e6.js} +0 -0
  766. /package/dist/chunks/{file-mutation-jr7sbwjy.js → plugin-jr7sbwjy.js} +0 -0
  767. /package/dist/chunks/{file-mutation-jwfs4k6c.js → plugin-jwfs4k6c.js} +0 -0
  768. /package/dist/chunks/{file-mutation-jzg6c2d5.js → plugin-jzg6c2d5.js} +0 -0
  769. /package/dist/chunks/{file-mutation-mp448xyj.js → plugin-mp448xyj.js} +0 -0
  770. /package/dist/chunks/{file-mutation-msx8hqn2.js → plugin-msx8hqn2.js} +0 -0
  771. /package/dist/chunks/{file-mutation-n05xt0ee.js → plugin-n05xt0ee.js} +0 -0
  772. /package/dist/chunks/{file-mutation-n3j8tn72.js → plugin-n3j8tn72.js} +0 -0
  773. /package/dist/chunks/{file-mutation-njntx4h6.js → plugin-njntx4h6.js} +0 -0
  774. /package/dist/chunks/{file-mutation-q3sfg36h.js → plugin-q3sfg36h.js} +0 -0
  775. /package/dist/chunks/{file-mutation-q74kybfr.js → plugin-q74kybfr.js} +0 -0
  776. /package/dist/chunks/{file-mutation-qaymkmh1.js → plugin-qaymkmh1.js} +0 -0
  777. /package/dist/chunks/{file-mutation-qb87gjwd.js → plugin-qb87gjwd.js} +0 -0
  778. /package/dist/chunks/{file-mutation-qfa1cgps.js → plugin-qfa1cgps.js} +0 -0
  779. /package/dist/chunks/{file-mutation-qg3g05ea.js → plugin-qg3g05ea.js} +0 -0
  780. /package/dist/chunks/{file-mutation-qrg20bc0.js → plugin-qrg20bc0.js} +0 -0
  781. /package/dist/chunks/{file-mutation-rcb2kzg1.js → plugin-rcb2kzg1.js} +0 -0
  782. /package/dist/chunks/{file-mutation-sdp7kfr6.js → plugin-sdp7kfr6.js} +0 -0
  783. /package/dist/chunks/{file-mutation-sk3qaz4a.js → plugin-sk3qaz4a.js} +0 -0
  784. /package/dist/chunks/{file-mutation-ssg3fenm.js → plugin-ssg3fenm.js} +0 -0
  785. /package/dist/chunks/{file-mutation-w803qqfp.js → plugin-w803qqfp.js} +0 -0
  786. /package/dist/chunks/{file-mutation-wc3fc9cn.js → plugin-wc3fc9cn.js} +0 -0
  787. /package/dist/chunks/{file-mutation-wer8tq1h.js → plugin-wer8tq1h.js} +0 -0
  788. /package/dist/chunks/{file-mutation-wtztk69x.js → plugin-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{file-mutation-x0ckcb58.js → plugin-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{file-mutation-x61499pn.js → plugin-x61499pn.js} +0 -0
  791. /package/dist/chunks/{file-mutation-y44na4kk.js → plugin-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{file-mutation-y8cydn3q.js → plugin-y8cydn3q.js} +0 -0
  793. /package/dist/chunks/{file-mutation-y8f7s663.js → plugin-y8f7s663.js} +0 -0
  794. /package/dist/chunks/{file-mutation-ygaqb7jw.js → plugin-ygaqb7jw.js} +0 -0
  795. /package/dist/chunks/{file-mutation-ym463w8f.js → plugin-ym463w8f.js} +0 -0
  796. /package/dist/chunks/{file-mutation-z9919s4g.js → plugin-z9919s4g.js} +0 -0
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./file-mutation-922hggd3.js";
4
+ } from "./plugin-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
8
  Service82,
9
9
  node86
10
- } from "./file-mutation-607q5haz.js";
10
+ } from "./plugin-vy4zg7qh.js";
11
11
  import {
12
12
  Service80,
13
13
  node84
14
- } from "./file-mutation-zxp32vzh.js";
14
+ } from "./plugin-gay4s6z2.js";
15
15
  import {
16
16
  create3
17
- } from "./file-mutation-rdw6cm16.js";
17
+ } from "./plugin-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./file-mutation-9rqn6x4v.js";
20
+ } from "./plugin-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error5,
26
- ID: () => ID16,
27
- Service: () => Service79,
25
+ Error: () => Error4,
26
+ ID: () => ID5,
27
+ Service: () => Service58,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node83,
29
+ node: () => node60,
30
30
  noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,18 +34,18 @@ import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID16 } from "@opencode/schema/snapshot";
37
+ import { ID as ID5 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error5 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error4 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service79 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service58 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service79, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service82;
51
51
  const global = yield* Global.Service;
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error5({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID16.make(yield* git.tree.capture({
85
+ return ID5.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service79.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service58.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node83 = makeLocationNode({
144
- service: Service79,
143
+ var node60 = makeLocationNode({
144
+ service: Service58,
145
145
  layer,
146
146
  deps: [FSUtil.node, node86, Global.node, node84]
147
147
  });
148
- var noopLayer3 = Layer.succeed(Service79, Service79.of({
148
+ var noopLayer3 = Layer.succeed(Service58, Service58.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service79, Service79.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error5 && cause.operation === operation)
157
+ if (cause instanceof Error4 && cause.operation === operation)
158
158
  return cause;
159
- return new Error5({
159
+ return new Error4({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID16, Error5, Service79, node83, noopLayer3, exports_snapshot2 };
166
+ export { ID5, Error4, Service58, node60, noopLayer3, exports_snapshot2 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service83
3
- } from "./file-mutation-k648p9r6.js";
3
+ } from "./plugin-dmbkty79.js";
4
4
  import {
5
5
  Service80
6
- } from "./file-mutation-zxp32vzh.js";
6
+ } from "./plugin-gay4s6z2.js";
7
7
  import {
8
8
  PromptsChanged2,
9
- Service36
10
- } from "./file-mutation-qccp8e4s.js";
9
+ Service37
10
+ } from "./plugin-391pqrnc.js";
11
11
  import {
12
12
  __export
13
- } from "./file-mutation-9rqn6x4v.js";
13
+ } from "./plugin-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/command.ts
16
- var exports_command2 = {};
17
- __export(exports_command2, {
18
- CommandPlugin: () => exports_command2,
19
- Plugin: () => Plugin31
16
+ var exports_command = {};
17
+ __export(exports_command, {
18
+ CommandPlugin: () => exports_command,
19
+ Plugin: () => Plugin7
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect, Stream } from "effect";
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
193
193
  `;
194
194
 
195
195
  // src/plugin/command.ts
196
- var Plugin31 = define({
196
+ var Plugin7 = define({
197
197
  id: "opencode.command",
198
198
  effect: Effect.fn(function* (ctx) {
199
199
  const location = yield* Service80;
200
- const mcp = yield* Service36;
200
+ const mcp = yield* Service37;
201
201
  const bus = yield* Service83;
202
202
  const loaded = { prompts: [] };
203
203
  yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
@@ -280,4 +280,4 @@ function sanitize(value) {
280
280
  var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
281
281
  var quoteTrimRegex = /^["']|["']$/g;
282
282
 
283
- export { Plugin31, exports_command2 };
283
+ export { Plugin7, exports_command };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-mutation-922hggd3.js";
3
+ } from "./plugin-922hggd3.js";
4
4
  import {
5
5
  Service80
6
- } from "./file-mutation-zxp32vzh.js";
6
+ } from "./plugin-gay4s6z2.js";
7
7
  import {
8
- Service14
9
- } from "./file-mutation-859g3c1y.js";
8
+ Service20
9
+ } from "./plugin-0gz7zjqc.js";
10
10
  import {
11
- Service9
12
- } from "./file-mutation-fbx7nax9.js";
11
+ Service11
12
+ } from "./plugin-nxsqkktv.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./file-mutation-2a5m3afh.js";
15
+ } from "./plugin-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service11
27
- } from "./file-mutation-dwbhttdj.js";
26
+ Service12
27
+ } from "./plugin-8hghrp1y.js";
28
28
  import {
29
29
  __export
30
- } from "./file-mutation-9rqn6x4v.js";
30
+ } from "./plugin-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input10,
36
- Plugin: () => Plugin46,
35
+ Input: () => Input4,
36
+ Plugin: () => Plugin39,
37
37
  ReadTool: () => exports_read,
38
- name: () => name10,
39
- toModelContent: () => toModelContent5
38
+ name: () => name4,
39
+ toModelContent: () => toModelContent4
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name10 = "read";
45
+ var name4 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
54
54
  })
55
55
  });
56
- var Input10 = LocationInput;
56
+ var Input4 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin46 = {
58
+ var Plugin39 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service11;
62
- const access = yield* Service14;
63
- const sessionInstructions = yield* Service9;
61
+ const reader = yield* Service12;
62
+ const access = yield* Service20;
63
+ const sessionInstructions = yield* Service11;
64
64
  const fs = yield* FSUtil.Service;
65
65
  const location = yield* Service80;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name10,
67
+ name: name4,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input10,
70
+ input: Input4,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -112,7 +112,7 @@ var Plugin46 = {
112
112
  return { output: result.content, path: result.path };
113
113
  }).pipe(Effect.map((result) => ({
114
114
  output: result.output,
115
- content: toModelContent5(result.path, input.offset, result.output),
115
+ content: toModelContent4(result.path, input.offset, result.output),
116
116
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
117
117
  })), Effect.mapError((error) => {
118
118
  if (error instanceof ToolFailure)
@@ -145,7 +145,7 @@ ${suggestions.join(`
145
145
  });
146
146
  })
147
147
  };
148
- var toModelContent5 = (path, offset, output) => {
148
+ var toModelContent4 = (path, offset, output) => {
149
149
  if (output.type === "file" && output.encoding === "base64")
150
150
  return [
151
151
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -181,4 +181,4 @@ var toModelContent5 = (path, offset, output) => {
181
181
  `);
182
182
  };
183
183
 
184
- export { name10, Input10, Plugin46, toModelContent5, exports_read };
184
+ export { name4, Input4, Plugin39, toModelContent4, exports_read };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./plugin-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/lsp.ts
6
6
  var exports_lsp = {};
7
7
  __export(exports_lsp, {
8
8
  ConfigLSPV1: () => exports_lsp,
9
9
  Disabled: () => Disabled2,
10
- Entry: () => Entry4,
10
+ Entry: () => Entry3,
11
11
  Info: () => Info13,
12
12
  builtinServerIds: () => builtinServerIds2,
13
13
  requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
@@ -16,7 +16,7 @@ import { Schema } from "effect";
16
16
  var Disabled2 = Schema.Struct({
17
17
  disabled: Schema.Literal(true)
18
18
  });
19
- var Entry4 = Schema.Union([
19
+ var Entry3 = Schema.Union([
20
20
  Disabled2,
21
21
  Schema.Struct({
22
22
  command: Schema.mutable(Schema.Array(Schema.String)),
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
79
79
  });
80
80
  return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
81
81
  });
82
- var Info13 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]).check(requiresExtensionsForCustomServers2);
82
+ var Info13 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]).check(requiresExtensionsForCustomServers2);
83
83
 
84
- export { Disabled2, Entry4, builtinServerIds2, requiresExtensionsForCustomServers2, Info13, exports_lsp };
84
+ export { Disabled2, Entry3, builtinServerIds2, requiresExtensionsForCustomServers2, Info13, exports_lsp };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./plugin-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/web.ts
6
6
  var exports_web = {};
@@ -4,7 +4,7 @@ import {
4
4
  orderSelectedFields2,
5
5
  mapUpdateSet2,
6
6
  getTableLikeName2
7
- } from "./file-mutation-emrn6kk6.js";
7
+ } from "./plugin-emrn6kk6.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/update.ts
10
10
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  which2
3
- } from "./file-mutation-qaymkmh1.js";
3
+ } from "./plugin-qaymkmh1.js";
4
4
 
5
5
  // src/formatter/builtins.ts
6
6
  import { Effect } from "effect";
7
7
  import { ChildProcess } from "effect/unstable/process";
8
- function make10(input) {
8
+ function make9(input) {
9
9
  const disabled = false;
10
10
  const findExecutable = (name) => which2(name, undefined, input.bin);
11
11
  const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
@@ -261,4 +261,4 @@ function isRecord(input) {
261
261
  return Boolean(input && typeof input === "object" && !Array.isArray(input));
262
262
  }
263
263
 
264
- export { make10 };
264
+ export { make9 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service83
3
- } from "./file-mutation-k648p9r6.js";
3
+ } from "./plugin-dmbkty79.js";
4
4
  import {
5
- Service20,
6
- Event4
7
- } from "./file-mutation-bg9wbsx0.js";
5
+ Service70,
6
+ Event14
7
+ } from "./plugin-5j4wdcgy.js";
8
8
 
9
9
  // src/plugin/models-dev.ts
10
10
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
29
29
  var ModelsDevPlugin2 = define({
30
30
  id: "opencode.models.dev",
31
31
  effect: Effect.fn(function* (ctx) {
32
- const modelsDev = yield* Service20;
32
+ const modelsDev = yield* Service70;
33
33
  const bus = yield* Service83;
34
34
  const loaded = { data: snapshots(yield* modelsDev.get()) };
35
35
  yield* ctx.integration.transform((integrations) => {
@@ -63,7 +63,7 @@ var ModelsDevPlugin2 = define({
63
63
  loaded.data = snapshots(data);
64
64
  return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
65
65
  };
66
- yield* bus.subscribe(Event4.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
66
+ yield* bus.subscribe(Event14.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
67
67
  const latest = yield* modelsDev.get();
68
68
  if (snapshots(latest) !== loaded.data)
69
69
  yield* apply(latest);
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  convertToOpenAICompatibleChatMessages2
3
- } from "./file-mutation-fxgpk5d8.js";
3
+ } from "./plugin-fxgpk5d8.js";
4
4
  import {
5
5
  getResponseMetadata2
6
- } from "./file-mutation-g4wezp1m.js";
6
+ } from "./plugin-g4wezp1m.js";
7
7
  import {
8
8
  mapOpenAICompatibleFinishReason2
9
- } from "./file-mutation-x61499pn.js";
9
+ } from "./plugin-x61499pn.js";
10
10
  import {
11
11
  openaiCompatibleProviderOptions2
12
- } from "./file-mutation-af5trqkr.js";
12
+ } from "./plugin-af5trqkr.js";
13
13
  import {
14
14
  defaultOpenAICompatibleErrorStructure2
15
- } from "./file-mutation-afrmfg78.js";
15
+ } from "./plugin-afrmfg78.js";
16
16
  import {
17
17
  prepareTools2
18
- } from "./file-mutation-x0ckcb58.js";
18
+ } from "./plugin-x0ckcb58.js";
19
19
 
20
20
  // src/github-copilot/chat/openai-compatible-chat-language-model.ts
21
21
  import {
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-mutation-n3hytwrq.js";
3
+ } from "./plugin-qdqbej7y.js";
4
4
  import {
5
5
  OAuth3,
6
- Service68
7
- } from "./file-mutation-3mzqjafy.js";
6
+ Service74
7
+ } from "./plugin-xt42g94b.js";
8
8
  import {
9
- ID8,
9
+ ID14,
10
10
  MethodID2
11
- } from "./file-mutation-51gpjtn8.js";
11
+ } from "./plugin-3dj3kb64.js";
12
12
  import {
13
- ID7,
13
+ ID13,
14
14
  mergeOverlay2
15
- } from "./file-mutation-ye28agv5.js";
15
+ } from "./plugin-v4masj8t.js";
16
16
 
17
17
  // src/plugin/provider/xai.ts
18
18
  import { define } from "@opencode/plugin/effect/plugin";
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
24
24
  var pollingSafetyMargin = 3000;
25
25
  var browserMethodID = MethodID2.make("browser");
26
26
  var deviceMethodID = MethodID2.make("device");
27
- var providerID = ID7.make("xai");
27
+ var providerID = ID13.make("xai");
28
28
  var Token = Schema.Struct({
29
29
  access_token: Schema.String,
30
30
  refresh_token: Schema.optional(Schema.String),
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
44
44
  });
45
45
  var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
46
46
  var device = (app) => ({
47
- integrationID: ID8.make("xai"),
47
+ integrationID: ID14.make("xai"),
48
48
  method: {
49
49
  id: deviceMethodID,
50
50
  type: "oauth",
@@ -69,8 +69,8 @@ var device = (app) => ({
69
69
  var XAIPlugin2 = define({
70
70
  id: "opencode.provider.xai",
71
71
  effect: Effect.fn(function* (ctx) {
72
- const credentials = yield* Service68;
73
- yield* Effect.forEach(yield* credentials.list(ID8.make("xai")), (credential) => {
72
+ const credentials = yield* Service74;
73
+ yield* Effect.forEach(yield* credentials.list(ID14.make("xai")), (credential) => {
74
74
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
75
75
  return Effect.void;
76
76
  return credentials.update(credential.id, {
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-mutation-n3hytwrq.js";
3
+ } from "./plugin-qdqbej7y.js";
4
4
  import {
5
5
  Service83
6
- } from "./file-mutation-k648p9r6.js";
6
+ } from "./plugin-dmbkty79.js";
7
7
  import {
8
8
  OAuth3,
9
- Event17
10
- } from "./file-mutation-3mzqjafy.js";
9
+ Event18
10
+ } from "./plugin-xt42g94b.js";
11
11
  import {
12
- ID8,
12
+ ID14,
13
13
  MethodID2
14
- } from "./file-mutation-51gpjtn8.js";
14
+ } from "./plugin-3dj3kb64.js";
15
15
  import {
16
16
  which2
17
- } from "./file-mutation-qaymkmh1.js";
17
+ } from "./plugin-qaymkmh1.js";
18
18
  import {
19
- ID7
20
- } from "./file-mutation-ye28agv5.js";
19
+ ID13
20
+ } from "./plugin-v4masj8t.js";
21
21
  import {
22
22
  iife2
23
- } from "./file-mutation-1kg9ymc8.js";
23
+ } from "./plugin-1kg9ymc8.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./file-mutation-y8fmc1zc.js";
26
+ } from "./plugin-0wtca10x.js";
27
27
 
28
28
  // src/plugin/provider/azure.ts
29
29
  import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
@@ -43,7 +43,7 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
43
43
  var AzurePlugin2 = define({
44
44
  id: "opencode.provider.azure",
45
45
  effect: Effect.fn(function* (ctx) {
46
- const configured = yield* configuredSettings2(ID7.azure);
46
+ const configured = yield* configuredSettings2(ID13.azure);
47
47
  const processes = yield* AppProcess.Service;
48
48
  const bus = yield* Service83;
49
49
  const tokens = new Map;
@@ -79,13 +79,13 @@ var AzurePlugin2 = define({
79
79
  });
80
80
  yield* ctx.integration.transform((editor) => {
81
81
  editor.method.update({
82
- integrationID: ID7.azure,
82
+ integrationID: ID13.azure,
83
83
  method: { type: "key", label: "API key", form: form() }
84
84
  });
85
85
  if (!available)
86
86
  return;
87
87
  editor.method.update({
88
- integrationID: ID7.azure,
88
+ integrationID: ID13.azure,
89
89
  method: {
90
90
  id: methodID,
91
91
  type: "oauth",
@@ -117,7 +117,7 @@ var AzurePlugin2 = define({
117
117
  });
118
118
  });
119
119
  const load = Effect.fn("AzurePlugin.load")(function* () {
120
- const connection = yield* ctx.integration.connection.active(ID7.azure);
120
+ const connection = yield* ctx.integration.connection.active(ID13.azure);
121
121
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
122
122
  return;
123
123
  })) : undefined;
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
131
131
  yield* load();
132
132
  yield* ctx.provider.transform((evt) => {
133
133
  for (const item of evt.list()) {
134
- if (item.provider.id !== ID7.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
134
+ if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
135
135
  continue;
136
136
  const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
137
137
  const websocket = responsesWebSocketCapable(item.provider);
@@ -149,7 +149,7 @@ var AzurePlugin2 = define({
149
149
  });
150
150
  yield* ctx.model.transform((models) => {
151
151
  for (const item of models.provider.list()) {
152
- if (item.provider.id !== ID7.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
152
+ if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
153
153
  continue;
154
154
  const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
155
155
  for (const model of models.list(item.provider.id)) {
@@ -161,9 +161,9 @@ var AzurePlugin2 = define({
161
161
  }
162
162
  });
163
163
  const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
164
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
164
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
165
165
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
166
- const connection = yield* ctx.integration.connection.active(ID7.azure);
166
+ const connection = yield* ctx.integration.connection.active(ID13.azure);
167
167
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
168
168
  return;
169
169
  })) : undefined;
@@ -175,7 +175,7 @@ var AzurePlugin2 = define({
175
175
  return `Bearer ${current.access}`;
176
176
  });
177
177
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
178
- if (evt.model.providerID !== ID7.azure)
178
+ if (evt.model.providerID !== ID13.azure)
179
179
  return;
180
180
  const authorization = yield* bearer(evt.request.url);
181
181
  if (!authorization)
@@ -184,9 +184,9 @@ var AzurePlugin2 = define({
184
184
  evt.request.headers.delete("x-api-key");
185
185
  evt.request.headers.set("authorization", authorization);
186
186
  evt.request.headers.set("user-agent", useragent2(ctx.app));
187
- }), { providerID: ID7.azure });
187
+ }), { providerID: ID13.azure });
188
188
  yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
189
- if (evt.model.providerID !== ID7.azure)
189
+ if (evt.model.providerID !== ID13.azure)
190
190
  return;
191
191
  const authorization = yield* bearer(evt.url);
192
192
  if (!authorization)
@@ -195,7 +195,7 @@ var AzurePlugin2 = define({
195
195
  delete evt.headers["x-api-key"];
196
196
  evt.headers.authorization = authorization;
197
197
  evt.headers["user-agent"] = useragent2(ctx.app);
198
- }), { providerID: ID7.azure });
198
+ }), { providerID: ID13.azure });
199
199
  })
200
200
  });
201
201
  function resolveResourceName(settings, fallback) {