@opencode/core 0.0.0-dev-19306 → 0.0.0-dev-19311

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 (780) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +69 -69
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{file-retention-m7hd4rhs.js → model-resolver-0aq3bv6p.js} +19 -19
  9. package/dist/chunks/{file-retention-1dfhrqqs.js → model-resolver-0hpxrkyb.js} +5 -5
  10. package/dist/chunks/{file-retention-nfkc2kma.js → model-resolver-0hxph87b.js} +6 -6
  11. package/dist/chunks/{file-retention-w9tpqwqq.js → model-resolver-0jmjzee4.js} +20 -20
  12. package/dist/chunks/model-resolver-0mesazry.js +4 -0
  13. package/dist/chunks/{file-retention-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{file-retention-0q0f95c6.js → model-resolver-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{file-retention-atnf5533.js → model-resolver-0sawsjns.js} +13 -13
  16. package/dist/chunks/{file-retention-gtb749hc.js → model-resolver-0v867qyd.js} +13 -13
  17. package/dist/chunks/{file-retention-mb5m7hjx.js → model-resolver-13bj4jyc.js} +6 -6
  18. package/dist/chunks/{file-retention-5ejrhezz.js → model-resolver-19aya85j.js} +7 -7
  19. package/dist/chunks/{file-retention-g8nf464k.js → model-resolver-1bs4t1p1.js} +37 -37
  20. package/dist/chunks/{file-retention-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{file-retention-8rxc0pzs.js → model-resolver-1mtcg6ar.js} +25 -25
  22. package/dist/chunks/{file-retention-8gjywk27.js → model-resolver-1r3p2k7g.js} +19 -19
  23. package/dist/chunks/{file-retention-8t01676a.js → model-resolver-21gmtf5s.js} +11 -11
  24. package/dist/chunks/{file-retention-21r38tys.js → model-resolver-21r38tys.js} +1 -1
  25. package/dist/chunks/{file-retention-wxqxce1x.js → model-resolver-23n5nc7p.js} +9 -9
  26. package/dist/chunks/{file-retention-2402vzrj.js → model-resolver-2402vzrj.js} +1 -1
  27. package/dist/chunks/model-resolver-27ajfczk.js +247 -0
  28. package/dist/chunks/{file-retention-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{file-retention-3pbjq009.js → model-resolver-2ekhvkds.js} +6 -6
  30. package/dist/chunks/{file-retention-9vs0xtad.js → model-resolver-2f04pwep.js} +3 -3
  31. package/dist/chunks/{file-retention-yn2w03ty.js → model-resolver-2gp30egj.js} +4 -4
  32. package/dist/chunks/{file-retention-frhqnhmj.js → model-resolver-2gvahrj6.js} +6 -6
  33. package/dist/chunks/{file-retention-11fxjgwx.js → model-resolver-2rw3mzdd.js} +20 -20
  34. package/dist/chunks/{file-retention-rkbztq4a.js → model-resolver-2taagk0w.js} +3 -3
  35. package/dist/chunks/{file-retention-afdssyjb.js → model-resolver-2vs2nh1n.js} +4 -4
  36. package/dist/chunks/{file-retention-2xcd4pkq.js → model-resolver-35m6n0h8.js} +9 -9
  37. package/dist/chunks/{file-retention-9kze6ep1.js → model-resolver-3d05yrhf.js} +15 -15
  38. package/dist/chunks/{file-retention-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{file-retention-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{file-retention-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{file-retention-fhp7qqsj.js → model-resolver-3tkg1v6e.js} +18 -18
  42. package/dist/chunks/{file-retention-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{file-retention-96yt6zt0.js → model-resolver-3y2vzd8j.js} +1 -1
  44. package/dist/chunks/{file-retention-0b96kjwf.js → model-resolver-423zw90g.js} +8 -8
  45. package/dist/chunks/{file-retention-f8q7mv7a.js → model-resolver-4am1wjpn.js} +1 -1
  46. package/dist/chunks/{file-retention-fhjm97q2.js → model-resolver-4f4xg237.js} +7 -7
  47. package/dist/chunks/{file-retention-5n3vgq58.js → model-resolver-4mq91456.js} +2 -2
  48. package/dist/chunks/{file-retention-v51hrxtf.js → model-resolver-4sgjj86v.js} +12 -12
  49. package/dist/chunks/{file-retention-nk32hk52.js → model-resolver-4sp1fpdf.js} +12 -12
  50. package/dist/chunks/{file-retention-mhd0t4xv.js → model-resolver-4tehx1tz.js} +18 -18
  51. package/dist/chunks/{file-retention-beqz24q2.js → model-resolver-51k0a2ck.js} +38 -38
  52. package/dist/chunks/{file-retention-w899n6rm.js → model-resolver-53kakmxw.js} +76 -76
  53. package/dist/chunks/{file-retention-zxrs8q2n.js → model-resolver-5a3e4t2e.js} +44 -44
  54. package/dist/chunks/{file-retention-jn37jswd.js → model-resolver-5b8g7156.js} +16 -16
  55. package/dist/chunks/{file-retention-a1bz86dw.js → model-resolver-5c4hm403.js} +3 -3
  56. package/dist/chunks/{file-retention-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
  57. package/dist/chunks/{file-retention-m73qne7a.js → model-resolver-5gvs0vy6.js} +3 -3
  58. package/dist/chunks/{file-retention-ymxag59m.js → model-resolver-5reahhcp.js} +35 -35
  59. package/dist/chunks/{file-retention-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
  60. package/dist/chunks/{file-retention-844ef7ks.js → model-resolver-5xtgfte3.js} +8 -8
  61. package/dist/chunks/{file-retention-669tq793.js → model-resolver-669tq793.js} +1 -1
  62. package/dist/chunks/{file-retention-m7ty3jyf.js → model-resolver-6fb6cyfd.js} +5 -5
  63. package/dist/chunks/{file-retention-b27vhd2z.js → model-resolver-6hh8tjw2.js} +4 -4
  64. package/dist/chunks/{file-retention-9fjt8dzc.js → model-resolver-6jt15jam.js} +9 -9
  65. package/dist/chunks/{file-retention-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
  66. package/dist/chunks/model-resolver-6nbzjb56.js +462 -0
  67. package/dist/chunks/{file-retention-m3800wpb.js → model-resolver-6tdy5psv.js} +21 -21
  68. package/dist/chunks/{file-retention-v0ak0tys.js → model-resolver-70rhfn1p.js} +15 -15
  69. package/dist/chunks/{file-retention-71q4at8m.js → model-resolver-71q4at8m.js} +1 -1
  70. package/dist/chunks/{file-retention-afqe321m.js → model-resolver-76yzkxkp.js} +24 -24
  71. package/dist/chunks/{file-retention-b4s1xj5x.js → model-resolver-7aa1cj5w.js} +7 -7
  72. package/dist/chunks/{file-retention-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{file-retention-7hat9k3a.js → model-resolver-7g1znek2.js} +4 -4
  74. package/dist/chunks/{file-retention-p3he229h.js → model-resolver-7hd0m9s1.js} +9 -9
  75. package/dist/chunks/{file-retention-zwph3s3x.js → model-resolver-7htwxs73.js} +12 -12
  76. package/dist/chunks/{file-retention-8w2h3xst.js → model-resolver-7ptgkj9x.js} +25 -25
  77. package/dist/chunks/{file-retention-t4w73mrs.js → model-resolver-7pvzsz6j.js} +46 -46
  78. package/dist/chunks/{file-retention-cspft70r.js → model-resolver-7z7893y4.js} +9 -9
  79. package/dist/chunks/{file-retention-ebah8r6x.js → model-resolver-81rrwt6s.js} +6 -6
  80. package/dist/chunks/{file-retention-v6jrwn5c.js → model-resolver-8485p8c8.js} +22 -22
  81. package/dist/chunks/{file-retention-tqaee6jy.js → model-resolver-868qdqs3.js} +3 -3
  82. package/dist/chunks/{file-retention-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
  83. package/dist/chunks/{file-retention-pkxxvzx1.js → model-resolver-8ns0hvns.js} +24 -24
  84. package/dist/chunks/{file-retention-pgpxt5ny.js → model-resolver-94mafesx.js} +32 -32
  85. package/dist/chunks/{file-retention-6xyaxxp3.js → model-resolver-96jy3nrs.js} +21 -21
  86. package/dist/chunks/{file-retention-mwsztzac.js → model-resolver-983ft7s8.js} +14 -14
  87. package/dist/chunks/{file-retention-p1gkab00.js → model-resolver-9cbpths4.js} +21 -21
  88. package/dist/chunks/{file-retention-qp4pmkb7.js → model-resolver-9t2yae5y.js} +4 -4
  89. package/dist/chunks/{file-retention-q7s3pq4a.js → model-resolver-9wc31ee9.js} +7 -7
  90. package/dist/chunks/{file-retention-5w90zcr2.js → model-resolver-9yd8p6fr.js} +36 -36
  91. package/dist/chunks/{file-retention-wct24b0s.js → model-resolver-a3nnj4kk.js} +38 -38
  92. package/dist/chunks/{file-retention-43eky7fv.js → model-resolver-a6y89zjg.js} +76 -76
  93. package/dist/chunks/{file-retention-nwht2get.js → model-resolver-a71pjsc9.js} +12 -12
  94. package/dist/chunks/{file-retention-jwws7wxw.js → model-resolver-a9b9x376.js} +7 -7
  95. package/dist/chunks/{file-retention-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
  96. package/dist/chunks/{file-retention-fg50ch7r.js → model-resolver-aaxaqk19.js} +4 -4
  97. package/dist/chunks/{file-retention-pp615gng.js → model-resolver-acsehg7c.js} +14 -14
  98. package/dist/chunks/{file-retention-rc9898mc.js → model-resolver-ajztzy0x.js} +11 -11
  99. package/dist/chunks/{file-retention-rsym84ch.js → model-resolver-awbdwcvp.js} +7 -7
  100. package/dist/chunks/{file-retention-p5jcd3cr.js → model-resolver-ax70fxdt.js} +11 -11
  101. package/dist/chunks/{file-retention-4jxr6rzv.js → model-resolver-b1ajx0g1.js} +7 -7
  102. package/dist/chunks/{file-retention-hces5vk3.js → model-resolver-b3xbanpc.js} +8 -8
  103. package/dist/chunks/{file-retention-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
  104. package/dist/chunks/{file-retention-z69s9t6b.js → model-resolver-bd9nqr2t.js} +5 -5
  105. package/dist/chunks/{file-retention-pecb0brz.js → model-resolver-bhj4y43k.js} +5 -5
  106. package/dist/chunks/{file-retention-gj9xpvv3.js → model-resolver-bv56xrks.js} +6 -6
  107. package/dist/chunks/{file-retention-164jdkrd.js → model-resolver-bzvjbgc5.js} +13 -13
  108. package/dist/chunks/{file-retention-4a8afqtg.js → model-resolver-bzzsz1b8.js} +11 -11
  109. package/dist/chunks/{file-retention-2f9mkkej.js → model-resolver-c0qy3m8p.js} +11 -11
  110. package/dist/chunks/{file-retention-m27pyyd3.js → model-resolver-c1g6mvbq.js} +8 -8
  111. package/dist/chunks/{file-retention-1x4qabqm.js → model-resolver-c5m6q3p0.js} +21 -21
  112. package/dist/chunks/{file-retention-9edcvf27.js → model-resolver-c68b4qab.js} +3 -3
  113. package/dist/chunks/{file-retention-sf0yp864.js → model-resolver-cdqe3acw.js} +8 -8
  114. package/dist/chunks/{file-retention-qth1fxpg.js → model-resolver-cm6p1s29.js} +16 -16
  115. package/dist/chunks/{file-retention-pqrzdjtx.js → model-resolver-cmj3wvnf.js} +20 -20
  116. package/dist/chunks/{file-retention-84ajknms.js → model-resolver-cqnjb978.js} +26 -26
  117. package/dist/chunks/{file-retention-ffprybq0.js → model-resolver-crvrtykq.js} +14 -14
  118. package/dist/chunks/{file-retention-k16ay38w.js → model-resolver-cz2fjc0t.js} +1 -1
  119. package/dist/chunks/{file-retention-fvt1yp66.js → model-resolver-d4bs6nh8.js} +28 -28
  120. package/dist/chunks/{file-retention-f2fvptgs.js → model-resolver-d6axdhgm.js} +36 -36
  121. package/dist/chunks/{file-retention-63h173xj.js → model-resolver-daem90sq.js} +32 -32
  122. package/dist/chunks/{file-retention-j83byb14.js → model-resolver-dfe8djrf.js} +4 -4
  123. package/dist/chunks/{file-retention-y3xzpef0.js → model-resolver-dj14fq5x.js} +10 -10
  124. package/dist/chunks/{file-retention-8p4f9s12.js → model-resolver-dj2t23y0.js} +2 -2
  125. package/dist/chunks/{file-retention-638rxdhc.js → model-resolver-dp2desqw.js} +24 -24
  126. package/dist/chunks/{file-retention-fp1hhbvz.js → model-resolver-dy83786h.js} +24 -24
  127. package/dist/chunks/{file-retention-ykjy0bm0.js → model-resolver-dz4bsems.js} +6 -6
  128. package/dist/chunks/{file-retention-eaj1djv9.js → model-resolver-eaj1djv9.js} +1 -1
  129. package/dist/chunks/{file-retention-mb6jxekh.js → model-resolver-eez3sah5.js} +29 -29
  130. package/dist/chunks/{file-retention-401vwfxe.js → model-resolver-ek34y162.js} +8 -8
  131. package/dist/chunks/{file-retention-v7k7pv50.js → model-resolver-eqhsskwv.js} +4 -4
  132. package/dist/chunks/{file-retention-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
  133. package/dist/chunks/{file-retention-evbgk2k8.js → model-resolver-ez47arx5.js} +5 -5
  134. package/dist/chunks/{file-retention-f3ngv102.js → model-resolver-f3ngv102.js} +1 -1
  135. package/dist/chunks/{file-retention-27cjzptm.js → model-resolver-fkjex2d7.js} +38 -38
  136. package/dist/chunks/{file-retention-zhxw6mnd.js → model-resolver-fkvyrnmv.js} +2 -2
  137. package/dist/chunks/{file-retention-p0r3vkqq.js → model-resolver-fnb1tm2q.js} +5 -5
  138. package/dist/chunks/{file-retention-0e552dan.js → model-resolver-fs30ryqv.js} +25 -25
  139. package/dist/chunks/{file-retention-fxbjtjnd.js → model-resolver-fxbjtjnd.js} +1 -1
  140. package/dist/chunks/{file-retention-fyymr9xg.js → model-resolver-fyymr9xg.js} +1 -1
  141. package/dist/chunks/{file-retention-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
  142. package/dist/chunks/{file-retention-tmw9t85a.js → model-resolver-gkjrds9h.js} +10 -10
  143. package/dist/chunks/{file-retention-t9yc267w.js → model-resolver-gmnw41t9.js} +20 -20
  144. package/dist/chunks/{file-retention-3ad4b8jh.js → model-resolver-gmykmxzz.js} +18 -18
  145. package/dist/chunks/{file-retention-mbq90t60.js → model-resolver-gsv4ca8f.js} +41 -41
  146. package/dist/chunks/{file-retention-mqgfyy2s.js → model-resolver-gwgds8rz.js} +17 -17
  147. package/dist/chunks/{file-retention-h03wrkyp.js → model-resolver-h03wrkyp.js} +2 -2
  148. package/dist/chunks/{file-retention-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
  149. package/dist/chunks/{file-retention-wndheb9r.js → model-resolver-h7gdqzd6.js} +6 -6
  150. package/dist/chunks/{file-retention-fygdb7h7.js → model-resolver-h94x1q5y.js} +3 -3
  151. package/dist/chunks/{file-retention-f828m53h.js → model-resolver-hdnk95c8.js} +2 -2
  152. package/dist/chunks/{file-retention-zznwmpd0.js → model-resolver-hg29js9c.js} +5 -5
  153. package/dist/chunks/{file-retention-nhy5jxhy.js → model-resolver-hjt4xg1x.js} +4 -4
  154. package/dist/chunks/{file-retention-5h2ak588.js → model-resolver-hm085mrq.js} +21 -21
  155. package/dist/chunks/{file-retention-5qkbsren.js → model-resolver-hmyxjnbw.js} +11 -11
  156. package/dist/chunks/{file-retention-mhkvc446.js → model-resolver-j028xdjb.js} +3 -3
  157. package/dist/chunks/{file-retention-e6hd9jay.js → model-resolver-j15mfg1p.js} +6 -6
  158. package/dist/chunks/{file-retention-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
  159. package/dist/chunks/{file-retention-b963bmgr.js → model-resolver-j7wqg36k.js} +8 -8
  160. package/dist/chunks/{file-retention-jj63jgrn.js → model-resolver-jdh6s7jq.js} +8 -8
  161. package/dist/chunks/{file-retention-n4pj3cng.js → model-resolver-jfcm55kc.js} +10 -10
  162. package/dist/chunks/{file-retention-c5hwayjq.js → model-resolver-jh3mr9fx.js} +4 -4
  163. package/dist/chunks/{file-retention-me5vgs2m.js → model-resolver-jrec0msh.js} +34 -34
  164. package/dist/chunks/{file-retention-t2y34ej4.js → model-resolver-jzhcgjv7.js} +11 -11
  165. package/dist/chunks/{file-retention-4e4kessa.js → model-resolver-k3drw8gy.js} +11 -11
  166. package/dist/chunks/{file-retention-dhgj89qr.js → model-resolver-k7d0894y.js} +3 -3
  167. package/dist/chunks/{file-retention-eenpnbqj.js → model-resolver-k8aynvez.js} +7 -7
  168. package/dist/chunks/{file-retention-p06n4w0k.js → model-resolver-k8m05cxs.js} +13 -13
  169. package/dist/chunks/{file-retention-jfmshy3a.js → model-resolver-kbm5ywhv.js} +33 -33
  170. package/dist/chunks/{file-retention-kg06axw8.js → model-resolver-kg06axw8.js} +1 -1
  171. package/dist/chunks/{file-retention-cfpkc3c9.js → model-resolver-m0jqrx5p.js} +2 -2
  172. package/dist/chunks/{file-retention-e5rkeknp.js → model-resolver-m13kr8wx.js} +13 -13
  173. package/dist/chunks/{file-retention-g1xb33sa.js → model-resolver-m18gzt7g.js} +26 -26
  174. package/dist/chunks/{file-retention-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  175. package/dist/chunks/{file-retention-70y17xeh.js → model-resolver-ma48de29.js} +5 -5
  176. package/dist/chunks/{file-retention-mfqp6xfm.js → model-resolver-mfqp6xfm.js} +2 -2
  177. package/dist/chunks/{file-retention-mkcjrzeh.js → model-resolver-mkcjrzeh.js} +1 -1
  178. package/dist/chunks/{file-retention-hgtjkr46.js → model-resolver-mym5xwza.js} +11 -11
  179. package/dist/chunks/{file-retention-8xgh37q2.js → model-resolver-n6aetzp4.js} +37 -37
  180. package/dist/chunks/{file-retention-tmmaw7dm.js → model-resolver-n7qdmp8m.js} +18 -18
  181. package/dist/chunks/{file-retention-79v6krhr.js → model-resolver-n93cvmfp.js} +33 -33
  182. package/dist/chunks/{file-retention-xdvgyr5e.js → model-resolver-n95h4grp.js} +17 -17
  183. package/dist/chunks/{file-retention-r0yk3wys.js → model-resolver-nmrsa8tb.js} +18 -18
  184. package/dist/chunks/{file-retention-4rcz7n1w.js → model-resolver-np146xf0.js} +10 -10
  185. package/dist/chunks/{file-retention-a6ycgxr6.js → model-resolver-nzcr7xy5.js} +22 -22
  186. package/dist/chunks/{file-retention-rc2324vf.js → model-resolver-nzwzy72p.js} +9 -9
  187. package/dist/chunks/{file-retention-5yf98bmk.js → model-resolver-p07p7dxg.js} +13 -13
  188. package/dist/chunks/{file-retention-tx1bbn1t.js → model-resolver-p72z5xx6.js} +2 -2
  189. package/dist/chunks/{file-retention-ksz0h0wp.js → model-resolver-p905rm1f.js} +1 -1
  190. package/dist/chunks/{file-retention-1hc11dc4.js → model-resolver-paegk39x.js} +4 -4
  191. package/dist/chunks/{file-retention-9c22vnh3.js → model-resolver-pdc8edc9.js} +23 -23
  192. package/dist/chunks/{file-retention-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
  193. package/dist/chunks/{file-retention-d2f1arkd.js → model-resolver-pk6gzyws.js} +18 -18
  194. package/dist/chunks/{file-retention-089z8d2q.js → model-resolver-pkmavskt.js} +4 -4
  195. package/dist/chunks/{file-retention-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  196. package/dist/chunks/{file-retention-mdgez6a3.js → model-resolver-ptbz0kzz.js} +17 -17
  197. package/dist/chunks/{file-retention-h7ygw6q4.js → model-resolver-px1hepbq.js} +9 -9
  198. package/dist/chunks/{file-retention-bcvm2kkr.js → model-resolver-q15ghr61.js} +15 -15
  199. package/dist/chunks/{file-retention-d7y1ze3m.js → model-resolver-q5bwphvd.js} +15 -15
  200. package/dist/chunks/{file-retention-4c8bw516.js → model-resolver-qe26s0zb.js} +8 -8
  201. package/dist/chunks/{file-retention-qgn6gcr1.js → model-resolver-qgn6gcr1.js} +1 -1
  202. package/dist/chunks/{file-retention-3fk22zg7.js → model-resolver-qja371g1.js} +15 -15
  203. package/dist/chunks/{file-retention-e042tyrs.js → model-resolver-qnmw77rf.js} +3 -3
  204. package/dist/chunks/{file-retention-7hhdtzm1.js → model-resolver-qpp5wgcs.js} +8 -8
  205. package/dist/chunks/{file-retention-1xwk6ww1.js → model-resolver-qpt5r044.js} +6 -6
  206. package/dist/chunks/{file-retention-j4jqbx4j.js → model-resolver-qqazqvjv.js} +11 -11
  207. package/dist/chunks/{file-retention-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
  208. package/dist/chunks/{file-retention-t4y4c1va.js → model-resolver-qvrt22yc.js} +133 -133
  209. package/dist/chunks/{file-retention-jf6dr2d9.js → model-resolver-qzt97rh9.js} +33 -33
  210. package/dist/chunks/{file-retention-r4cndbqv.js → model-resolver-r1gq2p73.js} +22 -22
  211. package/dist/chunks/{file-retention-th1rzrqw.js → model-resolver-r8er4w6q.js} +10 -10
  212. package/dist/chunks/model-resolver-rap9a73h.js +18 -0
  213. package/dist/chunks/{file-retention-yzn9e0gg.js → model-resolver-rgst1ddg.js} +11 -11
  214. package/dist/chunks/{file-retention-4xr7dxah.js → model-resolver-rma5z0ck.js} +24 -24
  215. package/dist/chunks/{file-retention-zeh9ct20.js → model-resolver-rq775frq.js} +2 -2
  216. package/dist/chunks/{file-retention-085p4wzr.js → model-resolver-rswbxkdz.js} +18 -18
  217. package/dist/chunks/{file-retention-26nm669z.js → model-resolver-rz8cg23q.js} +31 -31
  218. package/dist/chunks/{file-retention-jnsa8b46.js → model-resolver-rzr29mjv.js} +1 -1
  219. package/dist/chunks/{file-retention-cjsb4aez.js → model-resolver-s9yxznb6.js} +4 -4
  220. package/dist/chunks/{file-retention-wgvs8t5x.js → model-resolver-sath0g0v.js} +25 -25
  221. package/dist/chunks/{file-retention-m821g7ez.js → model-resolver-sfzmaz10.js} +15 -15
  222. package/dist/chunks/{file-retention-s841er54.js → model-resolver-smayg48v.js} +35 -35
  223. package/dist/chunks/{file-retention-n76fdqym.js → model-resolver-snxhrb6z.js} +5 -5
  224. package/dist/chunks/{file-retention-0thxwbsq.js → model-resolver-sz79wj9p.js} +11 -11
  225. package/dist/chunks/{file-retention-p1wf2k30.js → model-resolver-t0x5rdq8.js} +9 -9
  226. package/dist/chunks/{file-retention-ha1ky52e.js → model-resolver-t294w80x.js} +24 -24
  227. package/dist/chunks/{file-retention-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
  228. package/dist/chunks/{file-retention-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
  229. package/dist/chunks/{file-retention-tdstcens.js → model-resolver-tdstcens.js} +1 -1
  230. package/dist/chunks/{file-retention-yygg97b6.js → model-resolver-tpqcq9ma.js} +27 -27
  231. package/dist/chunks/{file-retention-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
  232. package/dist/chunks/{file-retention-gvrrxk8n.js → model-resolver-txf4gfjj.js} +48 -48
  233. package/dist/chunks/{file-retention-r4s8w3sh.js → model-resolver-v03cbedv.js} +31 -31
  234. package/dist/chunks/{file-retention-a8npxwp2.js → model-resolver-v22jagvy.js} +8 -8
  235. package/dist/chunks/{file-retention-8rcbgw1c.js → model-resolver-v28yx9rk.js} +6 -6
  236. package/dist/chunks/{file-retention-mypwhdkk.js → model-resolver-v2p4rfxw.js} +6 -6
  237. package/dist/chunks/{file-retention-0r7yqxbf.js → model-resolver-v5hpcsb0.js} +2 -2
  238. package/dist/chunks/{file-retention-4t92r5y5.js → model-resolver-v5p5jd5d.js} +16 -16
  239. package/dist/chunks/{file-retention-0rn2bysh.js → model-resolver-vazvxs3c.js} +10 -10
  240. package/dist/chunks/{file-retention-228st694.js → model-resolver-vd56qj1s.js} +8 -8
  241. package/dist/chunks/{file-retention-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
  242. package/dist/chunks/{file-retention-rccdk6ga.js → model-resolver-vj4a8mq6.js} +5 -5
  243. package/dist/chunks/{file-retention-nn8g4bnz.js → model-resolver-vn05ks9g.js} +14 -14
  244. package/dist/chunks/{file-retention-cmx0cyjn.js → model-resolver-vs5zg3ka.js} +9 -9
  245. package/dist/chunks/{file-retention-q8k5va6t.js → model-resolver-vxcpq89m.js} +7 -7
  246. package/dist/chunks/{file-retention-j8zzr2am.js → model-resolver-vyqn3nqs.js} +6 -6
  247. package/dist/chunks/{file-retention-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
  248. package/dist/chunks/{file-retention-v4cx5xjq.js → model-resolver-w0cebxam.js} +4 -4
  249. package/dist/chunks/{file-retention-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{file-retention-3q1jyqhd.js → model-resolver-w79zsp0s.js} +1 -1
  251. package/dist/chunks/{file-retention-r9babyk8.js → model-resolver-wbqy31zn.js} +1 -1
  252. package/dist/chunks/{file-retention-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  253. package/dist/chunks/{file-retention-d09006c3.js → model-resolver-wk5z6jzv.js} +9 -9
  254. package/dist/chunks/{file-retention-5kmyd2yp.js → model-resolver-wtz344pq.js} +19 -19
  255. package/dist/chunks/{file-retention-1h5gp861.js → model-resolver-wzb930f5.js} +16 -16
  256. package/dist/chunks/{file-retention-mkw2wvv0.js → model-resolver-x0e6qwje.js} +7 -7
  257. package/dist/chunks/{file-retention-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{file-retention-x43y2vfs.js → model-resolver-x43y2vfs.js} +2 -2
  259. package/dist/chunks/{file-retention-xa4djcz0.js → model-resolver-xjvpf4s6.js} +6 -6
  260. package/dist/chunks/{file-retention-aks9j4w4.js → model-resolver-xmryvm6r.js} +15 -15
  261. package/dist/chunks/{file-retention-r1c48803.js → model-resolver-xpbmavdy.js} +65 -65
  262. package/dist/chunks/{file-retention-vf4s9505.js → model-resolver-xse2fbac.js} +10 -10
  263. package/dist/chunks/{file-retention-vr7f0f2w.js → model-resolver-xv77w4m4.js} +26 -26
  264. package/dist/chunks/{file-retention-vrgc17vv.js → model-resolver-xzjqnjyt.js} +4 -4
  265. package/dist/chunks/{file-retention-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{file-retention-ta89s5je.js → model-resolver-y1rdatpn.js} +27 -27
  267. package/dist/chunks/{file-retention-bha4atvq.js → model-resolver-y31b318c.js} +4 -4
  268. package/dist/chunks/{file-retention-7tpxex51.js → model-resolver-y397pytd.js} +5 -5
  269. package/dist/chunks/{file-retention-bvzpqjkv.js → model-resolver-y6wtm4ga.js} +13 -13
  270. package/dist/chunks/{file-retention-dpkg50ah.js → model-resolver-y71avatq.js} +4 -4
  271. package/dist/chunks/{file-retention-x35m90n0.js → model-resolver-y9ndmn06.js} +24 -24
  272. package/dist/chunks/{file-retention-r8xr0va3.js → model-resolver-yp2x3t23.js} +4 -4
  273. package/dist/chunks/{file-retention-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{file-retention-yrznvahk.js → model-resolver-yrznvahk.js} +2 -2
  275. package/dist/chunks/{file-retention-cd428q19.js → model-resolver-ys435pyz.js} +9 -9
  276. package/dist/chunks/{file-retention-gv6a8nnw.js → model-resolver-yyb7tjpc.js} +2 -2
  277. package/dist/chunks/{file-retention-c85sskq6.js → model-resolver-yyw6y8kf.js} +11 -11
  278. package/dist/chunks/{file-retention-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{file-retention-dr20mx92.js → model-resolver-z3bd92a5.js} +18 -18
  280. package/dist/chunks/{file-retention-z63w68vq.js → model-resolver-z63w68vq.js} +2 -2
  281. package/dist/chunks/{file-retention-znx0z9vv.js → model-resolver-z6ccwhj9.js} +32 -32
  282. package/dist/chunks/{file-retention-jch0v1y2.js → model-resolver-z6nw9z3j.js} +9 -9
  283. package/dist/chunks/{file-retention-eppr9y53.js → model-resolver-z6qgwyj5.js} +6 -6
  284. package/dist/chunks/{file-retention-b62r6jkh.js → model-resolver-z7h0bx9a.js} +11 -11
  285. package/dist/chunks/{file-retention-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{file-retention-fgh0kbhd.js → model-resolver-zsjw64s0.js} +1 -1
  287. package/dist/chunks/{file-retention-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +5 -5
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +81 -81
  292. package/dist/config/discovery.js +77 -77
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +115 -115
  296. package/dist/config/plugin/command.js +207 -207
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +117 -117
  300. package/dist/config/plugin/image.js +115 -115
  301. package/dist/config/plugin/instruction.js +83 -83
  302. package/dist/config/plugin/location-watcher.js +117 -117
  303. package/dist/config/plugin/mcp.js +124 -124
  304. package/dist/config/plugin/policy.js +114 -114
  305. package/dist/config/plugin/provider.js +113 -113
  306. package/dist/config/plugin/reference.js +117 -117
  307. package/dist/config/plugin/shell.js +116 -116
  308. package/dist/config/plugin/skill-file.js +97 -97
  309. package/dist/config/plugin/skill.js +132 -132
  310. package/dist/config/plugin/snapshot.js +115 -115
  311. package/dist/config/plugin/source.js +117 -117
  312. package/dist/config/plugin/tool-output.js +117 -117
  313. package/dist/config/plugin/websearch.js +113 -113
  314. package/dist/config/plugin/worktree.js +118 -118
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +115 -115
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +81 -81
  320. package/dist/database/database.js +64 -64
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +16 -16
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration.gen.js +47 -47
  384. package/dist/database/migration.js +49 -49
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +74 -74
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +361 -361
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +88 -88
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +90 -90
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +68 -68
  408. package/dist/file-access.js +99 -99
  409. package/dist/file-mutation.js +89 -89
  410. package/dist/file-retention.js +1 -1
  411. package/dist/file.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/ignore.js +1 -1
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +222 -222
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +99 -99
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +11 -11
  423. package/dist/filesystem.js +96 -96
  424. package/dist/form.js +76 -76
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +82 -82
  427. package/dist/generate.js +93 -93
  428. package/dist/git.js +3 -3
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +3 -3
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/id/id.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +352 -352
  453. package/dist/instruction-discovery.js +83 -83
  454. package/dist/instructions/builtins.js +82 -82
  455. package/dist/instructions/index.js +1 -1
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +82 -82
  458. package/dist/job.js +77 -77
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +71 -71
  461. package/dist/location-activity.js +128 -128
  462. package/dist/location-mutation.js +99 -99
  463. package/dist/location-service-map.js +81 -81
  464. package/dist/location-services.js +349 -349
  465. package/dist/location.js +78 -78
  466. package/dist/mcp/client.js +86 -86
  467. package/dist/mcp/index.js +103 -103
  468. package/dist/mcp/instructions.js +122 -122
  469. package/dist/mcp/oauth.js +3 -3
  470. package/dist/mcp/stdio.js +85 -85
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +3 -3
  473. package/dist/model-resolver.js +84 -84
  474. package/dist/model.js +8 -8
  475. package/dist/models-dev.js +86 -86
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +78 -78
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +102 -102
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +84 -84
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +73 -73
  485. package/dist/plugin/agent.js +97 -97
  486. package/dist/plugin/command.js +94 -94
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +213 -213
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +323 -323
  491. package/dist/plugin/mcp-codemode-exclusion.js +1 -1
  492. package/dist/plugin/models-dev.js +75 -75
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +97 -97
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/alibaba.js +2 -2
  498. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  499. package/dist/plugin/provider/anthropic.js +2 -2
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +2 -2
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +114 -114
  506. package/dist/plugin/provider/digitalocean.js +79 -79
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +80 -80
  511. package/dist/plugin/provider/gitlab.js +3 -3
  512. package/dist/plugin/provider/google-vertex.js +2 -2
  513. package/dist/plugin/provider/kilo.js +2 -2
  514. package/dist/plugin/provider/llmgateway.js +76 -76
  515. package/dist/plugin/provider/lmstudio.js +115 -115
  516. package/dist/plugin/provider/mistral.js +2 -2
  517. package/dist/plugin/provider/modal.js +79 -79
  518. package/dist/plugin/provider/nvidia.js +2 -2
  519. package/dist/plugin/provider/ollama.js +115 -115
  520. package/dist/plugin/provider/openai-compatible.js +1 -1
  521. package/dist/plugin/provider/openai.js +80 -80
  522. package/dist/plugin/provider/opencode.js +76 -76
  523. package/dist/plugin/provider/openrouter.js +3 -3
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/sap-ai-core.js +3 -3
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  528. package/dist/plugin/provider/venice.js +2 -2
  529. package/dist/plugin/provider/vercel.js +2 -2
  530. package/dist/plugin/provider/vllm.js +117 -117
  531. package/dist/plugin/provider/xai.js +77 -77
  532. package/dist/plugin/provider/zenmux.js +2 -2
  533. package/dist/plugin/provider.js +156 -156
  534. package/dist/plugin/sdk.js +72 -72
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +131 -131
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +342 -342
  539. package/dist/plugin/update.js +6 -6
  540. package/dist/plugin/variant.js +4 -4
  541. package/dist/plugin/vcs/git.js +82 -82
  542. package/dist/plugin/vcs/hg.js +82 -82
  543. package/dist/plugin/warming.js +112 -112
  544. package/dist/plugin/websearch/exa.js +5 -5
  545. package/dist/plugin/websearch/firecrawl.js +8 -8
  546. package/dist/plugin/websearch/index.js +8 -8
  547. package/dist/plugin/websearch/mcp.js +2 -2
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +4 -4
  550. package/dist/plugin.js +222 -222
  551. package/dist/project/schema.js +6 -6
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +79 -79
  554. package/dist/provider.js +7 -7
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/schema.js +3 -3
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +94 -94
  559. package/dist/reference/instructions.js +82 -82
  560. package/dist/reference.js +84 -84
  561. package/dist/repository-cache.js +76 -76
  562. package/dist/repository.js +1 -1
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +93 -93
  565. package/dist/rpc.js +81 -81
  566. package/dist/schema.js +1 -1
  567. package/dist/session/command.js +72 -72
  568. package/dist/session/compaction.js +127 -127
  569. package/dist/session/context.js +147 -147
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +3 -3
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +216 -216
  574. package/dist/session/execution.js +124 -124
  575. package/dist/session/generate.js +148 -148
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +88 -88
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +77 -77
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +92 -92
  582. package/dist/session/message-updater.js +4 -4
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +113 -113
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +126 -126
  587. package/dist/session/projector.js +84 -84
  588. package/dist/session/prompt.js +100 -100
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +85 -85
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +225 -225
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +86 -86
  596. package/dist/session/runner/publish-llm-event.js +3 -3
  597. package/dist/session/runner/retry.js +110 -110
  598. package/dist/session/runner/step.js +121 -121
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +169 -169
  602. package/dist/session/shell.js +131 -131
  603. package/dist/session/skill.js +98 -98
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +71 -71
  606. package/dist/session/store.js +83 -83
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +205 -205
  609. package/dist/session/system-prompt.js +3 -3
  610. package/dist/session/title.js +151 -151
  611. package/dist/session/to-session-error.js +107 -107
  612. package/dist/session/transfer.js +209 -209
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +209 -209
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +9 -9
  619. package/dist/shell.js +131 -131
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +102 -102
  622. package/dist/skill.js +105 -105
  623. package/dist/snapshot.js +86 -86
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +121 -121
  628. package/dist/tool/plugin/edit.js +113 -113
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +120 -120
  631. package/dist/tool/plugin/grep.js +120 -120
  632. package/dist/tool/plugin/opencode.js +3 -3
  633. package/dist/tool/plugin/patch.js +117 -117
  634. package/dist/tool/plugin/question.js +100 -100
  635. package/dist/tool/plugin/read.js +117 -117
  636. package/dist/tool/plugin/shell.js +210 -210
  637. package/dist/tool/plugin/skill.js +106 -106
  638. package/dist/tool/plugin/subagent.js +214 -214
  639. package/dist/tool/plugin/webfetch.js +105 -105
  640. package/dist/tool/plugin/websearch.js +107 -107
  641. package/dist/tool/plugin/write.js +117 -117
  642. package/dist/tool/read-filesystem.js +96 -96
  643. package/dist/tool/runtime.js +1 -1
  644. package/dist/tool-output.js +8 -8
  645. package/dist/tool.js +13 -13
  646. package/dist/util/error-summary.js +1 -1
  647. package/dist/util/error.js +1 -1
  648. package/dist/util/iife.js +1 -1
  649. package/dist/util/lazy.js +1 -1
  650. package/dist/util/slug.js +1 -1
  651. package/dist/util/token.js +1 -1
  652. package/dist/util/which.js +1 -1
  653. package/dist/util/wildcard.js +1 -1
  654. package/dist/v1/config/agent.js +5 -5
  655. package/dist/v1/config/attachment.js +4 -4
  656. package/dist/v1/config/command.js +3 -3
  657. package/dist/v1/config/config.js +14 -14
  658. package/dist/v1/config/error.js +2 -2
  659. package/dist/v1/config/formatter.js +5 -5
  660. package/dist/v1/config/layout.js +1 -1
  661. package/dist/v1/config/lsp.js +5 -5
  662. package/dist/v1/config/mcp.js +4 -4
  663. package/dist/v1/config/migrate.js +4 -4
  664. package/dist/v1/config/permission.js +1 -1
  665. package/dist/v1/config/plugin.js +1 -1
  666. package/dist/v1/config/provider-options.js +1 -1
  667. package/dist/v1/config/provider.js +2 -2
  668. package/dist/v1/config/server.js +2 -2
  669. package/dist/v1/config/skills.js +3 -3
  670. package/dist/v1/permission.js +1 -1
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +85 -85
  673. package/dist/websearch.js +82 -82
  674. package/dist/wellknown/plugin.js +74 -74
  675. package/dist/wellknown.js +77 -77
  676. package/dist/workspace/driver.js +7 -7
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +76 -76
  679. package/dist/worktree/directory.js +2 -2
  680. package/dist/worktree/git.js +7 -7
  681. package/dist/worktree/refresh.js +341 -341
  682. package/dist/worktree/sql.js +5 -5
  683. package/dist/worktree.js +91 -91
  684. package/package.json +8 -8
  685. package/dist/chunks/file-retention-a5hbfrzd.js +0 -247
  686. package/dist/chunks/file-retention-f37dn1ey.js +0 -462
  687. package/dist/chunks/file-retention-hxa7m5za.js +0 -4
  688. package/dist/chunks/file-retention-q509s3k3.js +0 -18
  689. /package/dist/chunks/{file-retention-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{file-retention-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{file-retention-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{file-retention-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{file-retention-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{file-retention-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{file-retention-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{file-retention-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{file-retention-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{file-retention-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  699. /package/dist/chunks/{file-retention-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{file-retention-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
  701. /package/dist/chunks/{file-retention-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{file-retention-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{file-retention-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{file-retention-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{file-retention-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  706. /package/dist/chunks/{file-retention-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{file-retention-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  708. /package/dist/chunks/{file-retention-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{file-retention-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{file-retention-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  711. /package/dist/chunks/{file-retention-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  712. /package/dist/chunks/{file-retention-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  713. /package/dist/chunks/{file-retention-922hggd3.js → model-resolver-922hggd3.js} +0 -0
  714. /package/dist/chunks/{file-retention-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  715. /package/dist/chunks/{file-retention-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  716. /package/dist/chunks/{file-retention-a1tpkmh4.js → model-resolver-a1tpkmh4.js} +0 -0
  717. /package/dist/chunks/{file-retention-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{file-retention-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{file-retention-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{file-retention-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{file-retention-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{file-retention-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{file-retention-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{file-retention-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{file-retention-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{file-retention-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{file-retention-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{file-retention-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{file-retention-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{file-retention-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  731. /package/dist/chunks/{file-retention-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{file-retention-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{file-retention-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{file-retention-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{file-retention-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{file-retention-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{file-retention-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{file-retention-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{file-retention-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{file-retention-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{file-retention-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{file-retention-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{file-retention-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  744. /package/dist/chunks/{file-retention-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{file-retention-gftt206x.js → model-resolver-gftt206x.js} +0 -0
  746. /package/dist/chunks/{file-retention-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
  747. /package/dist/chunks/{file-retention-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  748. /package/dist/chunks/{file-retention-hrnqkpcd.js → model-resolver-hrnqkpcd.js} +0 -0
  749. /package/dist/chunks/{file-retention-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{file-retention-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{file-retention-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{file-retention-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{file-retention-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{file-retention-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{file-retention-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{file-retention-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{file-retention-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{file-retention-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{file-retention-paphc93g.js → model-resolver-paphc93g.js} +0 -0
  760. /package/dist/chunks/{file-retention-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  761. /package/dist/chunks/{file-retention-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  762. /package/dist/chunks/{file-retention-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
  763. /package/dist/chunks/{file-retention-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  764. /package/dist/chunks/{file-retention-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  765. /package/dist/chunks/{file-retention-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{file-retention-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{file-retention-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{file-retention-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
  769. /package/dist/chunks/{file-retention-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  770. /package/dist/chunks/{file-retention-twg0f83k.js → model-resolver-twg0f83k.js} +0 -0
  771. /package/dist/chunks/{file-retention-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  772. /package/dist/chunks/{file-retention-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  773. /package/dist/chunks/{file-retention-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  774. /package/dist/chunks/{file-retention-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  775. /package/dist/chunks/{file-retention-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  776. /package/dist/chunks/{file-retention-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  777. /package/dist/chunks/{file-retention-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
  778. /package/dist/chunks/{file-retention-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  779. /package/dist/chunks/{file-retention-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
  780. /package/dist/chunks/{file-retention-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./file-retention-m27pyyd3.js";
4
+ } from "./model-resolver-c1g6mvbq.js";
5
5
 
6
6
  // src/plugin/provider/anthropic.ts
7
7
  import { Effect } from "effect";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/session/provider-context.ts
6
6
  var exports_provider_context = {};
7
7
  __export(exports_provider_context, {
8
- Info: () => Info26,
8
+ Info: () => Info27,
9
9
  SessionProviderContext: () => exports_provider_context,
10
10
  compatible: () => compatible2,
11
11
  decode: () => decode2,
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
19
19
  import { Schema } from "effect";
20
20
  import { isDeepStrictEqual } from "node:util";
21
21
  import { Hash } from "@opencode/util/hash";
22
- var Info26 = SessionProviderContext.Info;
22
+ var Info27 = SessionProviderContext.Info;
23
23
  var messages = Schema.toCodecJson(Schema.Array(Message));
24
24
  function provenance2(resolved) {
25
25
  const model = resolved.model;
@@ -52,4 +52,4 @@ var encode2 = (provenance, replacement) => ({
52
52
  var decode2 = (context) => Schema.decodeUnknownSync(messages)(context.messages);
53
53
  var validate2 = (context) => Schema.decodeUnknownEffect(messages)(context.messages);
54
54
 
55
- export { Info26, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
55
+ export { Info27, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2,
4
- Info33
5
- } from "./file-retention-m27pyyd3.js";
4
+ Info21
5
+ } from "./model-resolver-c1g6mvbq.js";
6
6
  import {
7
- Info24
8
- } from "./file-retention-nk32hk52.js";
7
+ Info20
8
+ } from "./model-resolver-4sp1fpdf.js";
9
9
  import {
10
10
  Service78,
11
11
  node83
12
- } from "./file-retention-qp4pmkb7.js";
12
+ } from "./model-resolver-9t2yae5y.js";
13
13
  import {
14
14
  create3
15
- } from "./file-retention-kg06axw8.js";
15
+ } from "./model-resolver-kg06axw8.js";
16
16
  import {
17
17
  ID8,
18
- Service67,
19
- node72
20
- } from "./file-retention-6xyaxxp3.js";
18
+ Service62,
19
+ node66
20
+ } from "./model-resolver-96jy3nrs.js";
21
21
  import {
22
22
  __export
23
- } from "./file-retention-9rqn6x4v.js";
23
+ } from "./model-resolver-9rqn6x4v.js";
24
24
 
25
25
  // src/catalog.ts
26
26
  var exports_catalog2 = {};
27
27
  __export(exports_catalog2, {
28
28
  Catalog: () => exports_catalog2,
29
- Event: () => Event14,
30
- Service: () => Service66,
31
- node: () => node71
29
+ Event: () => Event13,
30
+ Service: () => Service61,
31
+ node: () => node65
32
32
  });
33
33
  import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import { Array, Context, Effect, Layer, Order, pipe } from "effect";
35
35
  import { Catalog } from "@opencode/schema/catalog";
36
- import { Event as Event14 } from "@opencode/schema/catalog";
36
+ import { Event as Event13 } from "@opencode/schema/catalog";
37
37
 
38
- class Service66 extends Context.Service()("@opencode/Catalog") {
38
+ class Service61 extends Context.Service()("@opencode/Catalog") {
39
39
  }
40
- var layer = Layer.effect(Service66, Effect.gen(function* () {
40
+ var layer = Layer.effect(Service61, Effect.gen(function* () {
41
41
  const bus = yield* Service78;
42
- const integrations = yield* Service67;
42
+ const integrations = yield* Service62;
43
43
  const available = (provider, integration) => {
44
44
  if (provider.activation === "disabled")
45
45
  return false;
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
72
72
  let current = editor.providers.get(providerID);
73
73
  if (!current) {
74
74
  current = {
75
- provider: Info33.empty(providerID),
75
+ provider: Info21.empty(providerID),
76
76
  models: new Map
77
77
  };
78
78
  editor.providers.set(providerID, current);
@@ -90,12 +90,12 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
90
90
  let record = editor.providers.get(providerID);
91
91
  if (!record) {
92
92
  record = {
93
- provider: Info33.empty(providerID),
93
+ provider: Info21.empty(providerID),
94
94
  models: new Map
95
95
  };
96
96
  editor.providers.set(providerID, record);
97
97
  }
98
- const model = record.models.get(modelID) ?? Info24.default(providerID, modelID);
98
+ const model = record.models.get(modelID) ?? Info20.default(providerID, modelID);
99
99
  if (!record.models.has(modelID))
100
100
  record.models.set(modelID, model);
101
101
  fn(model);
@@ -184,9 +184,9 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
184
184
  })
185
185
  }
186
186
  };
187
- return Service66.of(result);
187
+ return Service61.of(result);
188
188
  }));
189
189
  var SMALL_MODEL_FAMILY_PRIORITY = ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"];
190
- var node71 = makeLocationNode({ service: Service66, layer, deps: [node83, node72] });
190
+ var node65 = makeLocationNode({ service: Service61, layer, deps: [node83, node66] });
191
191
 
192
- export { Service66, node71, exports_catalog2, Event14 };
192
+ export { Service61, node65, exports_catalog2, Event13 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./file-retention-88xbtdfr.js";
3
+ } from "./model-resolver-88xbtdfr.js";
4
4
  import {
5
5
  load2
6
- } from "./file-retention-paphc93g.js";
6
+ } from "./model-resolver-paphc93g.js";
7
7
  import {
8
8
  __export
9
- } from "./file-retention-9rqn6x4v.js";
9
+ } from "./model-resolver-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event11,
14
+ Event: () => Event9,
15
15
  Native: () => Native3,
16
16
  Options: () => Options8,
17
- Service: () => Service45,
17
+ Service: () => Service50,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
20
  configured: () => configured7,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer18,
22
+ layer: () => layer21,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node49,
25
+ node: () => node53,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper";
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event11 = { Updated: FileSystem.Event.Changed };
36
+ var Event9 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
39
  return createWrapper(load2());
@@ -57,14 +57,14 @@ var Options8 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service45 extends Context.Service()("@opencode/Watcher") {
60
+ class Service50 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer18 = (options) => Layer.effect(Service45, Effect.gen(function* () {
65
+ var layer21 = (options) => Layer.effect(Service50, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service45.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service50.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer18 = (options) => Layer.effect(Service45, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service45.of({ subscribe });
108
+ return Service50.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer18().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer21().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service45).subscribe,
134
+ subscribe: Context.get(context, Service50).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service45, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service50, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -165,9 +165,9 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
167
  function configured7(options) {
168
- return makeGlobalNode({ service: Service45, layer: layer18(options), deps: [nativeNode2] });
168
+ return makeGlobalNode({ service: Service50, layer: layer21(options), deps: [nativeNode2] });
169
169
  }
170
- var node49 = configured7();
170
+ var node53 = configured7();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event11, hasNativeBinding2, Native3, Options8, Service45, Test3, layer18, testLayer3, nativeLayer2, nativeNode2, configured7, node49, exports_watcher };
190
+ export { Event9, hasNativeBinding2, Native3, Options8, Service50, Test3, layer21, testLayer3, nativeLayer2, nativeNode2, configured7, node53, exports_watcher };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  ps2
3
- } from "./file-retention-164jdkrd.js";
3
+ } from "./model-resolver-bzvjbgc5.js";
4
4
  import {
5
5
  lazy2
6
- } from "./file-retention-88xbtdfr.js";
6
+ } from "./model-resolver-88xbtdfr.js";
7
7
  import {
8
8
  match2
9
- } from "./file-retention-y1fvbwt7.js";
9
+ } from "./model-resolver-y1fvbwt7.js";
10
10
  import {
11
11
  __export
12
- } from "./file-retention-9rqn6x4v.js";
12
+ } from "./model-resolver-9rqn6x4v.js";
13
13
 
14
14
  // src/shell/parse.ts
15
15
  var exports_parse = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./file-retention-qfa1cgps.js";
3
+ } from "./model-resolver-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,44 +1,44 @@
1
1
  import {
2
2
  Service75,
3
3
  node80
4
- } from "./file-retention-m7ty3jyf.js";
4
+ } from "./model-resolver-6fb6cyfd.js";
5
5
  import {
6
- Service25
7
- } from "./file-retention-q509s3k3.js";
8
- import {
9
- Service40,
10
- node44
11
- } from "./file-retention-63h173xj.js";
6
+ Service33
7
+ } from "./model-resolver-rap9a73h.js";
12
8
  import {
9
+ Service15,
13
10
  node19
14
- } from "./file-retention-5kmyd2yp.js";
11
+ } from "./model-resolver-daem90sq.js";
12
+ import {
13
+ node17
14
+ } from "./model-resolver-wtz344pq.js";
15
15
  import {
16
- node6
17
- } from "./file-retention-27cjzptm.js";
16
+ node3
17
+ } from "./model-resolver-fkjex2d7.js";
18
18
  import {
19
19
  __export
20
- } from "./file-retention-9rqn6x4v.js";
20
+ } from "./model-resolver-9rqn6x4v.js";
21
21
 
22
22
  // src/worktree/refresh.ts
23
23
  var exports_refresh = {};
24
24
  __export(exports_refresh, {
25
25
  WorktreeRefresh: () => exports_refresh,
26
- node: () => node4
26
+ node: () => node2
27
27
  });
28
28
  import { Effect, Layer } from "effect";
29
29
  import { makeLocationNode } from "@opencode/util/effect/app-node";
30
30
  var layer = Layer.effectDiscard(Effect.gen(function* () {
31
31
  const location = yield* Service75;
32
- const plugins = yield* Service25;
33
- const worktrees = yield* Service40;
32
+ const plugins = yield* Service33;
33
+ const worktrees = yield* Service15;
34
34
  if (location.workspaceID)
35
35
  return;
36
36
  yield* plugins.awaitActivation.pipe(Effect.andThen(worktrees.refresh()), Effect.catchCause((cause) => Effect.logWarning("worktree refresh failed", { cause })), Effect.forkScoped);
37
37
  }));
38
- var node4 = makeLocationNode({
38
+ var node2 = makeLocationNode({
39
39
  name: "worktree-refresh",
40
40
  layer,
41
- deps: [node44, node80, node19, node6]
41
+ deps: [node19, node80, node17, node3]
42
42
  });
43
43
 
44
- export { node4, exports_refresh };
44
+ export { node2, exports_refresh };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-retention-922hggd3.js";
3
+ } from "./model-resolver-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./file-retention-9rqn6x4v.js";
6
+ } from "./model-resolver-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service12,
11
+ Service: () => Service3,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node15
13
+ node: () => node5
14
14
  });
15
15
  import path from "path";
16
16
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service12 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service3 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service12, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service3, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service12.of({
66
+ return Service3.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node15 = makeGlobalNode({ service: Service12, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node5 = makeGlobalNode({ service: Service3, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service12, node15, exports_discovery };
155
+ export { Service3, node5, exports_discovery };
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./file-retention-922hggd3.js";
5
+ } from "./model-resolver-922hggd3.js";
6
6
  import {
7
- Service55,
8
- node60
9
- } from "./file-retention-m3800wpb.js";
7
+ Service64,
8
+ node68
9
+ } from "./model-resolver-6tdy5psv.js";
10
10
  import {
11
11
  Content2
12
- } from "./file-retention-r0yk3wys.js";
12
+ } from "./model-resolver-nmrsa8tb.js";
13
13
  import {
14
14
  detect2
15
- } from "./file-retention-3smtnn6g.js";
15
+ } from "./model-resolver-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./file-retention-9rqn6x4v.js";
18
+ } from "./model-resolver-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service11,
36
+ Service: () => Service7,
37
37
  TextPage: () => TextPage2,
38
- node: () => node14,
38
+ node: () => node9,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service11 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service7 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
326
326
  return index + 1;
327
327
  }
328
328
  };
329
- var layer = Layer.effect(Service11, Effect.gen(function* () {
330
- const environment = yield* Service55;
331
- return Service11.of({
329
+ var layer = Layer.effect(Service7, Effect.gen(function* () {
330
+ const environment = yield* Service64;
331
+ return Service7.of({
332
332
  list: environment.files.list,
333
333
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
334
334
  });
335
335
  }));
336
- var node14 = makeLocationNode({ service: Service11, layer, deps: [node60] });
336
+ var node9 = makeLocationNode({ service: Service7, layer, deps: [node68] });
337
337
 
338
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service11, read2, node14, exports_read_filesystem };
338
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service7, read2, node9, exports_read_filesystem };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-retention-922hggd3.js";
3
+ } from "./model-resolver-922hggd3.js";
4
4
  import {
5
5
  root2
6
- } from "./file-retention-afqe321m.js";
6
+ } from "./model-resolver-76yzkxkp.js";
7
7
  import {
8
8
  Service75,
9
9
  node80
10
- } from "./file-retention-m7ty3jyf.js";
10
+ } from "./model-resolver-6fb6cyfd.js";
11
11
  import {
12
- Service70,
13
- node75
14
- } from "./file-retention-ymxag59m.js";
12
+ Service71,
13
+ node76
14
+ } from "./model-resolver-5reahhcp.js";
15
15
  import {
16
16
  __export
17
- } from "./file-retention-9rqn6x4v.js";
17
+ } from "./model-resolver-9rqn6x4v.js";
18
18
 
19
19
  // src/file-access.ts
20
20
  var exports_file_access = {};
@@ -22,9 +22,9 @@ __export(exports_file_access, {
22
22
  FileAccess: () => exports_file_access,
23
23
  Kind: () => Kind2,
24
24
  ResolveInput: () => ResolveInput2,
25
- Service: () => Service53,
25
+ Service: () => Service69,
26
26
  externalDirectoryPermission: () => externalDirectoryPermission2,
27
- node: () => node58,
27
+ node: () => node74,
28
28
  resolvePath: () => resolvePath2
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
43
43
  save: [input.save]
44
44
  });
45
45
 
46
- class Service53 extends Context.Service()("@opencode/FileAccess") {
46
+ class Service69 extends Context.Service()("@opencode/FileAccess") {
47
47
  }
48
48
  var resolvePath2 = (directory, input, home = Global.Path.home) => {
49
49
  const normalized = FSUtil.windowsPath(input);
@@ -55,10 +55,10 @@ var invocation = (context) => ({
55
55
  agent: context.agent,
56
56
  source: { type: "tool", messageID: context.messageID, id: context.id }
57
57
  });
58
- var layer = Layer.effect(Service53, Effect.gen(function* () {
58
+ var layer = Layer.effect(Service69, Effect.gen(function* () {
59
59
  const fs = yield* FSUtil.Service;
60
60
  const location = yield* Service75;
61
- const permission = yield* Service70;
61
+ const permission = yield* Service71;
62
62
  const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
63
63
  const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
64
64
  const worktree = path.resolve(location.project.directory);
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
107
107
  });
108
108
  return target;
109
109
  });
110
- return Service53.of({ resolve, authorizeExternal, authorizeRead });
110
+ return Service69.of({ resolve, authorizeExternal, authorizeRead });
111
111
  }));
112
- var node58 = makeLocationNode({ service: Service53, layer, deps: [FSUtil.node, node80, node75] });
112
+ var node74 = makeLocationNode({ service: Service69, layer, deps: [FSUtil.node, node80, node76] });
113
113
 
114
- export { Kind2, ResolveInput2, externalDirectoryPermission2, Service53, resolvePath2, node58, exports_file_access };
114
+ export { Kind2, ResolveInput2, externalDirectoryPermission2, Service69, resolvePath2, node74, exports_file_access };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service43,
8
+ Service: () => Service48,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node47
10
+ node: () => node51
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service43 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service48 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service43, () => {
17
+ var layer = Layer.sync(Service48, () => {
18
18
  const environments = new Map;
19
- return Service43.of({
19
+ return Service48.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service43, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node47 = makeGlobalNode({ service: Service43, layer, deps: [] });
29
+ var node51 = makeGlobalNode({ service: Service48, layer, deps: [] });
30
30
 
31
- export { Service43, node47, exports_environment };
31
+ export { Service48, node51, exports_environment };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/plugin.ts
6
6
  var exports_plugin3 = {};
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service78
3
- } from "./file-retention-qp4pmkb7.js";
3
+ } from "./model-resolver-9t2yae5y.js";
4
4
  import {
5
- ID18
6
- } from "./file-retention-m27pyyd3.js";
5
+ ID7
6
+ } from "./model-resolver-c1g6mvbq.js";
7
7
  import {
8
- ID10
9
- } from "./file-retention-nk32hk52.js";
8
+ ID6
9
+ } from "./model-resolver-4sp1fpdf.js";
10
10
  import {
11
- Event17
12
- } from "./file-retention-fvt1yp66.js";
11
+ Event15
12
+ } from "./model-resolver-d4bs6nh8.js";
13
13
  import {
14
14
  ID8
15
- } from "./file-retention-6xyaxxp3.js";
15
+ } from "./model-resolver-96jy3nrs.js";
16
16
  import {
17
- Service66
18
- } from "./file-retention-9c22vnh3.js";
17
+ Service61
18
+ } from "./model-resolver-pdc8edc9.js";
19
19
  import {
20
20
  get3
21
- } from "./file-retention-nwht2get.js";
21
+ } from "./model-resolver-a71pjsc9.js";
22
22
 
23
23
  // src/plugin/provider/modal.ts
24
24
  import { Effect, Semaphore, Stream } from "effect";
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
- var providerID = ID18.make("modal");
26
+ var providerID = ID7.make("modal");
27
27
  var ModalPlugin2 = define({
28
28
  id: "opencode.provider.modal",
29
29
  effect: Effect.fn(function* (ctx) {
30
- const catalog = yield* Service66;
30
+ const catalog = yield* Service61;
31
31
  const bus = yield* Service78;
32
32
  const loading = Semaphore.makeUnsafe(1);
33
33
  const loaded = {};
@@ -58,7 +58,7 @@ var ModalPlugin2 = define({
58
58
  if (!loaded.models)
59
59
  return;
60
60
  for (const id of item.models.keys()) {
61
- if (!loaded.models.has(ID10.make(id)))
61
+ if (!loaded.models.has(ID6.make(id)))
62
62
  evt.model.remove(item.provider.id, id);
63
63
  }
64
64
  for (const [id, model] of loaded.models) {
@@ -66,7 +66,7 @@ var ModalPlugin2 = define({
66
66
  }
67
67
  });
68
68
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
69
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
69
+ yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
70
70
  yield* refresh().pipe(Effect.forkScoped);
71
71
  })
72
72
  });