@opencode/core 0.0.0-dev-21745 → 0.0.0-dev-21748

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 (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{snapshot-6n1s1dfa.js → file-retention-004rgtvd.js} +7 -7
  8. package/dist/chunks/{snapshot-034tev2y.js → file-retention-034tev2y.js} +2 -2
  9. package/dist/chunks/{snapshot-7633k18y.js → file-retention-06443jab.js} +3 -3
  10. package/dist/chunks/{snapshot-r6wgv8c9.js → file-retention-0gka690g.js} +6 -6
  11. package/dist/chunks/{snapshot-791mgs72.js → file-retention-0pv52n9j.js} +12 -12
  12. package/dist/chunks/{snapshot-p1qgn14a.js → file-retention-0syxcydp.js} +9 -9
  13. package/dist/chunks/{snapshot-h740tfnc.js → file-retention-0t1mekc8.js} +5 -5
  14. package/dist/chunks/{snapshot-n95zghxh.js → file-retention-0txt22rj.js} +5 -5
  15. package/dist/chunks/file-retention-0y56atyb.js +257 -0
  16. package/dist/chunks/{snapshot-k4a9rn7k.js → file-retention-10jjfj8e.js} +32 -32
  17. package/dist/chunks/{snapshot-gs87y69e.js → file-retention-10s4rp80.js} +25 -25
  18. package/dist/chunks/{snapshot-qhacjaam.js → file-retention-12vgd738.js} +4 -4
  19. package/dist/chunks/{snapshot-skwwrjz6.js → file-retention-1b000e53.js} +47 -47
  20. package/dist/chunks/{snapshot-1ep2p91f.js → file-retention-1ep2p91f.js} +2 -2
  21. package/dist/chunks/{snapshot-9pjcyyyz.js → file-retention-1mn7gzbb.js} +52 -52
  22. package/dist/chunks/{snapshot-vkc62rge.js → file-retention-1thmyanr.js} +29 -29
  23. package/dist/chunks/{snapshot-1x2knyw4.js → file-retention-1x2knyw4.js} +1 -1
  24. package/dist/chunks/{snapshot-kc3jq4k5.js → file-retention-27g2d1zk.js} +9 -9
  25. package/dist/chunks/{snapshot-veg4raah.js → file-retention-2fbg880x.js} +50 -50
  26. package/dist/chunks/{snapshot-jxffhsbt.js → file-retention-2mrk5sk4.js} +19 -19
  27. package/dist/chunks/{snapshot-06efqm8m.js → file-retention-2y5s3d4p.js} +17 -17
  28. package/dist/chunks/{snapshot-6hzzfs8d.js → file-retention-2yeqtm01.js} +23 -23
  29. package/dist/chunks/{snapshot-2z1j29yd.js → file-retention-2z1j29yd.js} +1 -1
  30. package/dist/chunks/{snapshot-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
  31. package/dist/chunks/{snapshot-an558sqv.js → file-retention-3js5sq8v.js} +4 -4
  32. package/dist/chunks/{snapshot-dz8hhvgv.js → file-retention-3mgb105e.js} +9 -9
  33. package/dist/chunks/{snapshot-3nnrz6f6.js → file-retention-3nnrz6f6.js} +1 -1
  34. package/dist/chunks/{snapshot-67pdg5mz.js → file-retention-3xbbjsgy.js} +14 -14
  35. package/dist/chunks/{snapshot-fp2kss3x.js → file-retention-3xv5yes5.js} +6 -6
  36. package/dist/chunks/{snapshot-rtza7ceg.js → file-retention-40x2gp1a.js} +19 -19
  37. package/dist/chunks/{snapshot-w2eysc6j.js → file-retention-40za9wsf.js} +9 -9
  38. package/dist/chunks/{snapshot-b5g8zywb.js → file-retention-41ae5eq3.js} +5 -5
  39. package/dist/chunks/{snapshot-brpe5pm9.js → file-retention-4944f0f3.js} +3 -3
  40. package/dist/chunks/{snapshot-jcvhz0ne.js → file-retention-4rnx58kd.js} +5 -5
  41. package/dist/chunks/{snapshot-4v008n1t.js → file-retention-4v008n1t.js} +1 -1
  42. package/dist/chunks/{snapshot-k5q8ak4g.js → file-retention-4xj5yeb9.js} +18 -18
  43. package/dist/chunks/{snapshot-4xvmh7wp.js → file-retention-4xvmh7wp.js} +3 -3
  44. package/dist/chunks/{snapshot-xfzdx1cq.js → file-retention-4yyqx4s3.js} +1 -1
  45. package/dist/chunks/{snapshot-pg6c20a0.js → file-retention-51g9mfss.js} +16 -16
  46. package/dist/chunks/{snapshot-erw1a2px.js → file-retention-52m7r17y.js} +11 -11
  47. package/dist/chunks/{snapshot-r3t0nk92.js → file-retention-58j32a3p.js} +11 -11
  48. package/dist/chunks/{snapshot-k8repwgk.js → file-retention-5e27t7kq.js} +33 -33
  49. package/dist/chunks/{snapshot-5m9w47nd.js → file-retention-5m9w47nd.js} +1 -1
  50. package/dist/chunks/{snapshot-5nnwax6m.js → file-retention-5nnwax6m.js} +2 -2
  51. package/dist/chunks/{snapshot-d4txh1kp.js → file-retention-5tdnk8gt.js} +30 -30
  52. package/dist/chunks/{snapshot-pyr79hg3.js → file-retention-6bqt0z5z.js} +14 -14
  53. package/dist/chunks/{snapshot-9xvj91tm.js → file-retention-6ejhvxx1.js} +30 -30
  54. package/dist/chunks/{snapshot-6esdw8yj.js → file-retention-6esdw8yj.js} +1 -1
  55. package/dist/chunks/{snapshot-0pchwhq8.js → file-retention-6phpkkwx.js} +10 -10
  56. package/dist/chunks/{snapshot-6pjqjmy2.js → file-retention-6pjqjmy2.js} +1 -1
  57. package/dist/chunks/file-retention-6zjm2phc.js +18 -0
  58. package/dist/chunks/{snapshot-41peksc2.js → file-retention-6zzg071e.js} +14 -14
  59. package/dist/chunks/{snapshot-8xmxx3r8.js → file-retention-706d41vq.js} +24 -24
  60. package/dist/chunks/{snapshot-76cb1hcw.js → file-retention-76cb1hcw.js} +1 -1
  61. package/dist/chunks/{snapshot-zy2m570x.js → file-retention-78etnvtx.js} +11 -11
  62. package/dist/chunks/{snapshot-tej0rhj5.js → file-retention-7ax5pvs2.js} +22 -22
  63. package/dist/chunks/{snapshot-c76bvptd.js → file-retention-7b6m6kjp.js} +23 -23
  64. package/dist/chunks/{snapshot-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
  65. package/dist/chunks/{snapshot-7m8hecea.js → file-retention-7p5j3bg8.js} +18 -18
  66. package/dist/chunks/{snapshot-7w2ypzdf.js → file-retention-7w2ypzdf.js} +1 -1
  67. package/dist/chunks/{snapshot-ftzbw7kw.js → file-retention-81xmdkgf.js} +9 -9
  68. package/dist/chunks/{snapshot-d2121cgz.js → file-retention-8775xmr7.js} +15 -15
  69. package/dist/chunks/{snapshot-q6swskfy.js → file-retention-895yj7sv.js} +44 -44
  70. package/dist/chunks/{snapshot-hw621kav.js → file-retention-8d2bz6m6.js} +8 -8
  71. package/dist/chunks/{snapshot-jaqz1j5c.js → file-retention-8h66aeq1.js} +15 -15
  72. package/dist/chunks/{snapshot-dhn570bz.js → file-retention-8jv5e0ry.js} +2 -2
  73. package/dist/chunks/{snapshot-6e1r9k58.js → file-retention-8q24scts.js} +19 -19
  74. package/dist/chunks/{snapshot-62w55z8x.js → file-retention-8q4csfv6.js} +8 -8
  75. package/dist/chunks/file-retention-8rzgfn7k.js +26 -0
  76. package/dist/chunks/{snapshot-ed24c9s1.js → file-retention-8v2hjwdb.js} +28 -28
  77. package/dist/chunks/{snapshot-8wtp7s3z.js → file-retention-8wtp7s3z.js} +1 -1
  78. package/dist/chunks/{snapshot-hyg60882.js → file-retention-8y08emeq.js} +27 -27
  79. package/dist/chunks/{snapshot-c0jtyzjh.js → file-retention-90h4gxms.js} +18 -18
  80. package/dist/chunks/{snapshot-91rj84md.js → file-retention-91rj84md.js} +1 -1
  81. package/dist/chunks/{snapshot-p1nmqc4v.js → file-retention-96zt377w.js} +38 -38
  82. package/dist/chunks/{snapshot-998yhzzq.js → file-retention-998yhzzq.js} +3 -3
  83. package/dist/chunks/{snapshot-hp1h3ap0.js → file-retention-9aytyba7.js} +8 -8
  84. package/dist/chunks/{snapshot-yc89j42n.js → file-retention-9e6thw54.js} +23 -23
  85. package/dist/chunks/{snapshot-0p88zpcm.js → file-retention-9gkymt4j.js} +4 -4
  86. package/dist/chunks/{snapshot-nb2pkzvt.js → file-retention-9wrzmk82.js} +9 -9
  87. package/dist/chunks/{snapshot-5bn25yvx.js → file-retention-a1kcf5d2.js} +9 -9
  88. package/dist/chunks/{snapshot-znnhxh9a.js → file-retention-a6zs52qt.js} +12 -12
  89. package/dist/chunks/{snapshot-p0z6e7n7.js → file-retention-a8qqmhn7.js} +13 -13
  90. package/dist/chunks/{snapshot-f5pnm9ht.js → file-retention-a9kms1wj.js} +5 -5
  91. package/dist/chunks/{snapshot-pgbwge99.js → file-retention-an0ed0qm.js} +27 -27
  92. package/dist/chunks/{snapshot-jy35taan.js → file-retention-ap543zt0.js} +26 -26
  93. package/dist/chunks/{snapshot-bjhzkqyk.js → file-retention-ar2j3j0f.js} +4 -4
  94. package/dist/chunks/{snapshot-v2k3kh21.js → file-retention-aydsvzbb.js} +14 -14
  95. package/dist/chunks/{snapshot-ayjs7tqn.js → file-retention-ayjs7tqn.js} +2 -2
  96. package/dist/chunks/{snapshot-b0mv4wxm.js → file-retention-b0mv4wxm.js} +2 -2
  97. package/dist/chunks/{snapshot-rvyv8nvn.js → file-retention-b4ay2ffd.js} +45 -45
  98. package/dist/chunks/{snapshot-n6v2b7cw.js → file-retention-b50rsrab.js} +5 -5
  99. package/dist/chunks/{snapshot-0kjrd2qd.js → file-retention-b69pzmrp.js} +35 -35
  100. package/dist/chunks/{snapshot-6g24mm1y.js → file-retention-bar9hexn.js} +3 -3
  101. package/dist/chunks/{snapshot-81sa6vvk.js → file-retention-bbfkmt36.js} +20 -20
  102. package/dist/chunks/{snapshot-0vn2ss9c.js → file-retention-be4vgese.js} +5 -5
  103. package/dist/chunks/{snapshot-1nqgcrc1.js → file-retention-bg38yaka.js} +45 -45
  104. package/dist/chunks/{snapshot-tjbpd8jx.js → file-retention-bjec6aaf.js} +17 -17
  105. package/dist/chunks/{snapshot-k8hjh5qf.js → file-retention-bn42ez4f.js} +15 -15
  106. package/dist/chunks/{snapshot-bstexjd6.js → file-retention-bstexjd6.js} +1 -1
  107. package/dist/chunks/{snapshot-p2y5jf41.js → file-retention-bx2edf7r.js} +19 -19
  108. package/dist/chunks/{snapshot-146q7e0b.js → file-retention-byrp127m.js} +12 -12
  109. package/dist/chunks/{snapshot-9bqzx224.js → file-retention-c03k9zs8.js} +28 -28
  110. package/dist/chunks/{snapshot-c3cfh5w6.js → file-retention-c3cfh5w6.js} +2 -2
  111. package/dist/chunks/{snapshot-tasvem1v.js → file-retention-c8666r4c.js} +6 -6
  112. package/dist/chunks/{snapshot-d2887f8n.js → file-retention-c9t2ty9q.js} +4 -4
  113. package/dist/chunks/{snapshot-zng1ess9.js → file-retention-cebdmmc8.js} +12 -12
  114. package/dist/chunks/{snapshot-bjk9yhz6.js → file-retention-d1fhw6xp.js} +19 -19
  115. package/dist/chunks/{snapshot-4t0h3ecc.js → file-retention-d2ckxhpm.js} +11 -11
  116. package/dist/chunks/{snapshot-d4v9tmah.js → file-retention-d4v9tmah.js} +2 -2
  117. package/dist/chunks/{snapshot-tqxvqvy9.js → file-retention-dbvdvcnm.js} +13 -13
  118. package/dist/chunks/{snapshot-zv5q208p.js → file-retention-dhka8w8f.js} +3 -3
  119. package/dist/chunks/{snapshot-59t3c98x.js → file-retention-dvgja063.js} +6 -6
  120. package/dist/chunks/{snapshot-fkdm3x4n.js → file-retention-dx9hwm58.js} +15 -15
  121. package/dist/chunks/{snapshot-ky596kc3.js → file-retention-e45fk36t.js} +4 -4
  122. package/dist/chunks/{snapshot-dak4ewys.js → file-retention-e5qrk7kc.js} +29 -29
  123. package/dist/chunks/{snapshot-zpn8gsta.js → file-retention-e7h3kv1s.js} +36 -36
  124. package/dist/chunks/{snapshot-e834z07m.js → file-retention-e834z07m.js} +1 -1
  125. package/dist/chunks/{snapshot-ef5x83kb.js → file-retention-ef5x83kb.js} +1 -1
  126. package/dist/chunks/{snapshot-kfbj1vfn.js → file-retention-etc4v71r.js} +13 -13
  127. package/dist/chunks/{snapshot-xqya8bhb.js → file-retention-etzytfjk.js} +24 -24
  128. package/dist/chunks/{snapshot-9g4cv0f3.js → file-retention-ex2ghmgq.js} +5 -5
  129. package/dist/chunks/{snapshot-8vvxxr3d.js → file-retention-f5bp1zt3.js} +21 -21
  130. package/dist/chunks/{snapshot-fffv3p7h.js → file-retention-fffv3p7h.js} +1 -1
  131. package/dist/chunks/{snapshot-w2frxgzv.js → file-retention-fjbza28h.js} +90 -90
  132. package/dist/chunks/{snapshot-qt0rakd9.js → file-retention-fvgj1da1.js} +7 -7
  133. package/dist/chunks/{snapshot-6vh6abp7.js → file-retention-fx2h2ek3.js} +4 -4
  134. package/dist/chunks/{snapshot-z0h4wvmy.js → file-retention-fy85b4j6.js} +16 -16
  135. package/dist/chunks/{snapshot-pyka91yh.js → file-retention-fyg8cwdt.js} +18 -18
  136. package/dist/chunks/{snapshot-g5h9c0rr.js → file-retention-g5h9c0rr.js} +2 -2
  137. package/dist/chunks/{snapshot-d69d80k0.js → file-retention-g6hpx9wf.js} +11 -11
  138. package/dist/chunks/{snapshot-bkh5f3ma.js → file-retention-gnswcmy6.js} +4 -4
  139. package/dist/chunks/{snapshot-5x10bg3a.js → file-retention-gsgdtt07.js} +20 -20
  140. package/dist/chunks/{snapshot-frncqm0b.js → file-retention-h1eg3vk4.js} +22 -22
  141. package/dist/chunks/{snapshot-6zxm3gf7.js → file-retention-h1y7dhnp.js} +9 -9
  142. package/dist/chunks/{snapshot-2njjtkdw.js → file-retention-h401316e.js} +44 -44
  143. package/dist/chunks/{snapshot-zedte0ep.js → file-retention-hamx4eyd.js} +13 -13
  144. package/dist/chunks/{snapshot-8ny5g7zq.js → file-retention-haz7d3nj.js} +21 -21
  145. package/dist/chunks/{snapshot-0v17xkyr.js → file-retention-hmhshprh.js} +8 -8
  146. package/dist/chunks/{snapshot-cbdaszja.js → file-retention-hvtqj62d.js} +28 -28
  147. package/dist/chunks/{snapshot-j113cymg.js → file-retention-j113cymg.js} +1 -1
  148. package/dist/chunks/{snapshot-ew333j68.js → file-retention-j1jygztj.js} +33 -33
  149. package/dist/chunks/{snapshot-ky5h0dy4.js → file-retention-j21s6pys.js} +12 -12
  150. package/dist/chunks/{snapshot-49waears.js → file-retention-j22gxa80.js} +32 -32
  151. package/dist/chunks/{snapshot-hvbtf1fc.js → file-retention-j4qs9z9f.js} +12 -12
  152. package/dist/chunks/{snapshot-0k1j1wdr.js → file-retention-j4rz9p31.js} +11 -11
  153. package/dist/chunks/{snapshot-qz087kyw.js → file-retention-jbkw413w.js} +8 -8
  154. package/dist/chunks/{snapshot-9ekt8wk3.js → file-retention-jff6x0jb.js} +4 -4
  155. package/dist/chunks/{snapshot-q110d9ad.js → file-retention-jfp7edqe.js} +18 -18
  156. package/dist/chunks/{snapshot-jj9caqwr.js → file-retention-jj9caqwr.js} +3 -3
  157. package/dist/chunks/{snapshot-5tnc4nbn.js → file-retention-jjyvd6es.js} +33 -33
  158. package/dist/chunks/{snapshot-rwppv50t.js → file-retention-jtgyhacv.js} +27 -27
  159. package/dist/chunks/{snapshot-f4p1w2yj.js → file-retention-jv443j8m.js} +14 -14
  160. package/dist/chunks/{snapshot-pcc0bmtm.js → file-retention-jy10t676.js} +25 -25
  161. package/dist/chunks/{snapshot-mbvkkv9q.js → file-retention-jz4cjtb2.js} +4 -4
  162. package/dist/chunks/{snapshot-pbdpbsbw.js → file-retention-k5qr9t5z.js} +5 -5
  163. package/dist/chunks/{snapshot-k814nvkf.js → file-retention-k814nvkf.js} +1 -1
  164. package/dist/chunks/{snapshot-3y5jkgnv.js → file-retention-kd261f9v.js} +11 -11
  165. package/dist/chunks/{snapshot-fk87wxfh.js → file-retention-kfd0jx8z.js} +20 -20
  166. package/dist/chunks/{snapshot-y3g4yaer.js → file-retention-kkgp9ksj.js} +35 -35
  167. package/dist/chunks/{snapshot-m1714858.js → file-retention-m1714858.js} +1 -1
  168. package/dist/chunks/{snapshot-9ydy8fkm.js → file-retention-m463fjkb.js} +10 -10
  169. package/dist/chunks/{snapshot-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
  170. package/dist/chunks/{snapshot-maspj1v3.js → file-retention-maspj1v3.js} +1 -1
  171. package/dist/chunks/{snapshot-1nhpz7zk.js → file-retention-mh30raav.js} +4 -4
  172. package/dist/chunks/{snapshot-vpm8vpz0.js → file-retention-mtpeagzc.js} +3 -3
  173. package/dist/chunks/{snapshot-n0p0277s.js → file-retention-n0p0277s.js} +1 -1
  174. package/dist/chunks/{snapshot-4kk5y41y.js → file-retention-n0wndcqz.js} +40 -40
  175. package/dist/chunks/{snapshot-sxs6dstq.js → file-retention-n2zgan0r.js} +11 -11
  176. package/dist/chunks/{snapshot-xajebrz9.js → file-retention-na0a39nw.js} +49 -49
  177. package/dist/chunks/{snapshot-nah043kf.js → file-retention-nah043kf.js} +1 -1
  178. package/dist/chunks/{snapshot-4v48c47j.js → file-retention-nbkd2rx6.js} +12 -12
  179. package/dist/chunks/{snapshot-rfwvsy21.js → file-retention-ncfxqt3s.js} +10 -10
  180. package/dist/chunks/{snapshot-07c3528d.js → file-retention-nf4f45p9.js} +37 -37
  181. package/dist/chunks/{snapshot-30ee3db1.js → file-retention-nk9akxx5.js} +2 -2
  182. package/dist/chunks/{snapshot-stzta4q0.js → file-retention-nk9n5r8p.js} +15 -15
  183. package/dist/chunks/{snapshot-7yect7x1.js → file-retention-nkr5r85d.js} +2 -2
  184. package/dist/chunks/{snapshot-n3q07mde.js → file-retention-nm20qxyr.js} +20 -20
  185. package/dist/chunks/{snapshot-bcey06z6.js → file-retention-nrb1vmgh.js} +33 -33
  186. package/dist/chunks/{snapshot-m8nqxsmt.js → file-retention-ny5fjnrw.js} +20 -20
  187. package/dist/chunks/{snapshot-p015t6z3.js → file-retention-p015t6z3.js} +2 -2
  188. package/dist/chunks/{snapshot-nca90r8m.js → file-retention-p4j299q5.js} +17 -17
  189. package/dist/chunks/{snapshot-5zrxpy3q.js → file-retention-p7vhpwh8.js} +5 -5
  190. package/dist/chunks/{snapshot-5crety7g.js → file-retention-pc1v25hk.js} +3 -3
  191. package/dist/chunks/{snapshot-1g4xnxab.js → file-retention-pd5s7czc.js} +11 -11
  192. package/dist/chunks/{snapshot-c63yzxyg.js → file-retention-pjw5exqh.js} +11 -11
  193. package/dist/chunks/{snapshot-pknna89w.js → file-retention-pknna89w.js} +1 -1
  194. package/dist/chunks/{snapshot-tvw5eq5w.js → file-retention-pm973k6d.js} +4 -4
  195. package/dist/chunks/{snapshot-5js31cy8.js → file-retention-pp47ehpg.js} +4 -4
  196. package/dist/chunks/{snapshot-a5qg0yvf.js → file-retention-pv64vp27.js} +11 -11
  197. package/dist/chunks/{snapshot-c547q8a8.js → file-retention-qada39n4.js} +3 -3
  198. package/dist/chunks/{snapshot-fagjz3hv.js → file-retention-qcv3trs9.js} +9 -9
  199. package/dist/chunks/{snapshot-ks2yvdq8.js → file-retention-qer95tax.js} +19 -19
  200. package/dist/chunks/{snapshot-teer94dd.js → file-retention-qgqvdsez.js} +11 -11
  201. package/dist/chunks/{snapshot-qjgzc4b4.js → file-retention-qjgzc4b4.js} +1 -1
  202. package/dist/chunks/{snapshot-v67055n8.js → file-retention-qv2ex6zx.js} +14 -14
  203. package/dist/chunks/{snapshot-j0mfwgby.js → file-retention-qx10fapg.js} +24 -24
  204. package/dist/chunks/{snapshot-r0yr0wbs.js → file-retention-r0yr0wbs.js} +1 -1
  205. package/dist/chunks/{snapshot-96te9d4b.js → file-retention-r2jew814.js} +5 -5
  206. package/dist/chunks/{snapshot-rb9dy4dg.js → file-retention-rb9dy4dg.js} +1 -1
  207. package/dist/chunks/{snapshot-qrnt2mf5.js → file-retention-rbhan2a8.js} +43 -43
  208. package/dist/chunks/{snapshot-wrj7qkae.js → file-retention-remxw044.js} +1 -1
  209. package/dist/chunks/{snapshot-zndjfy4q.js → file-retention-rmd2jjvw.js} +4 -4
  210. package/dist/chunks/{snapshot-gxket47c.js → file-retention-rqbwb7q3.js} +18 -18
  211. package/dist/chunks/{snapshot-rt5dr6hb.js → file-retention-rt5dr6hb.js} +1 -1
  212. package/dist/chunks/{snapshot-3qwxnent.js → file-retention-rw5cqjms.js} +33 -33
  213. package/dist/chunks/{snapshot-jevs3q22.js → file-retention-ry63fkbp.js} +8 -8
  214. package/dist/chunks/{snapshot-gkwb1x3r.js → file-retention-s774txbb.js} +37 -37
  215. package/dist/chunks/{snapshot-9jfbssnq.js → file-retention-s8tktxtj.js} +13 -13
  216. package/dist/chunks/{snapshot-p9pds4nr.js → file-retention-s9zqy389.js} +8 -8
  217. package/dist/chunks/{snapshot-r1nmjmkp.js → file-retention-sbexhbnh.js} +11 -11
  218. package/dist/chunks/{snapshot-x453mv9b.js → file-retention-sdgwjry1.js} +45 -45
  219. package/dist/chunks/{snapshot-58rbgd2h.js → file-retention-sgj3v8j3.js} +22 -22
  220. package/dist/chunks/{snapshot-8f85gbek.js → file-retention-sjx4qwkt.js} +13 -13
  221. package/dist/chunks/{snapshot-c1ny7psb.js → file-retention-spxhva7x.js} +13 -13
  222. package/dist/chunks/{snapshot-sqjzf8x2.js → file-retention-sqjzf8x2.js} +1 -1
  223. package/dist/chunks/{snapshot-p180b23n.js → file-retention-t5qy80th.js} +15 -15
  224. package/dist/chunks/{snapshot-4xz63ymp.js → file-retention-t6qzkm7d.js} +34 -34
  225. package/dist/chunks/{snapshot-gxj7r0cm.js → file-retention-t9mb6c21.js} +4 -4
  226. package/dist/chunks/{snapshot-tczq8hjw.js → file-retention-tczq8hjw.js} +1 -1
  227. package/dist/chunks/{snapshot-xh9mmxn9.js → file-retention-tpdxm5tk.js} +6 -6
  228. package/dist/chunks/{snapshot-8xa1336w.js → file-retention-tth2ngyv.js} +72 -72
  229. package/dist/chunks/{snapshot-z642n2d8.js → file-retention-tthyd1ww.js} +12 -12
  230. package/dist/chunks/{snapshot-tw8zr1ps.js → file-retention-tw8zr1ps.js} +1 -1
  231. package/dist/chunks/{snapshot-twv2r8f4.js → file-retention-twv2r8f4.js} +2 -2
  232. package/dist/chunks/{snapshot-r83r493t.js → file-retention-v2bxwf46.js} +34 -34
  233. package/dist/chunks/{snapshot-v2r1d0zg.js → file-retention-v2r1d0zg.js} +1 -1
  234. package/dist/chunks/{snapshot-gxrd13cp.js → file-retention-v3t7qrd6.js} +178 -178
  235. package/dist/chunks/{snapshot-kk6qbz20.js → file-retention-v3vpydwx.js} +22 -22
  236. package/dist/chunks/{snapshot-f3zns29m.js → file-retention-v70qecbj.js} +15 -15
  237. package/dist/chunks/{snapshot-qgt613xz.js → file-retention-vb1h3fk1.js} +3 -3
  238. package/dist/chunks/{snapshot-vd3b3yk9.js → file-retention-vd3b3yk9.js} +1 -1
  239. package/dist/chunks/{snapshot-wfa3pkfz.js → file-retention-vdrf2z40.js} +27 -27
  240. package/dist/chunks/{snapshot-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
  241. package/dist/chunks/{snapshot-vmfhgzt5.js → file-retention-vmfhgzt5.js} +1 -1
  242. package/dist/chunks/{snapshot-hx3mz2q2.js → file-retention-vq1ppevj.js} +8 -8
  243. package/dist/chunks/{snapshot-x9s9q40r.js → file-retention-vq7nwj9a.js} +17 -17
  244. package/dist/chunks/{snapshot-n7bnkb3p.js → file-retention-vrcsa8qx.js} +9 -9
  245. package/dist/chunks/{snapshot-y3rgpzve.js → file-retention-vw5yqba1.js} +21 -21
  246. package/dist/chunks/{snapshot-rh14b8v9.js → file-retention-w1j6kydb.js} +11 -11
  247. package/dist/chunks/{snapshot-vzmjdaw1.js → file-retention-w22yp63b.js} +9 -9
  248. package/dist/chunks/{snapshot-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{snapshot-wakvkjy4.js → file-retention-wakvkjy4.js} +1 -1
  250. package/dist/chunks/{snapshot-t4jqr6z5.js → file-retention-wbs5jnf2.js} +7 -7
  251. package/dist/chunks/{snapshot-wd87259q.js → file-retention-wd87259q.js} +1 -1
  252. package/dist/chunks/{snapshot-s4gp6xhn.js → file-retention-wetwfxab.js} +23 -23
  253. package/dist/chunks/{snapshot-nnbr5qt6.js → file-retention-wj0whgje.js} +14 -14
  254. package/dist/chunks/{snapshot-w71sye8r.js → file-retention-wkcmpner.js} +6 -6
  255. package/dist/chunks/{snapshot-wqscedq8.js → file-retention-wqscedq8.js} +1 -1
  256. package/dist/chunks/{snapshot-fznmdakp.js → file-retention-wr3re1en.js} +4 -4
  257. package/dist/chunks/{snapshot-22whgeeb.js → file-retention-wvskh021.js} +18 -18
  258. package/dist/chunks/{snapshot-j368hqxn.js → file-retention-wyzcntk3.js} +41 -41
  259. package/dist/chunks/{snapshot-rsgnsn16.js → file-retention-wz1jcdgb.js} +22 -22
  260. package/dist/chunks/{snapshot-r8f6rk3c.js → file-retention-wzwsv8q3.js} +8 -8
  261. package/dist/chunks/{snapshot-1vdntpm3.js → file-retention-x3t9xer4.js} +5 -5
  262. package/dist/chunks/{snapshot-6tjk5bs4.js → file-retention-x3xjyz42.js} +7 -7
  263. package/dist/chunks/{snapshot-z6p19xhz.js → file-retention-x43as62j.js} +18 -18
  264. package/dist/chunks/{snapshot-t0n1m2fz.js → file-retention-x6v8tecr.js} +84 -84
  265. package/dist/chunks/file-retention-x90fzfq6.js +517 -0
  266. package/dist/chunks/{snapshot-damdxvc5.js → file-retention-xcbr4qhr.js} +28 -28
  267. package/dist/chunks/{snapshot-80pwfyqn.js → file-retention-xs35f6gm.js} +16 -16
  268. package/dist/chunks/{snapshot-henamrq6.js → file-retention-xv753k3w.js} +27 -27
  269. package/dist/chunks/{snapshot-s7v4tzf9.js → file-retention-xvs21e7s.js} +11 -11
  270. package/dist/chunks/{snapshot-e5dqjz6v.js → file-retention-y2tacs4v.js} +6 -6
  271. package/dist/chunks/{snapshot-5kbev7nh.js → file-retention-y31s63n5.js} +3 -3
  272. package/dist/chunks/{snapshot-75dns9y2.js → file-retention-y81yjmmg.js} +16 -16
  273. package/dist/chunks/{snapshot-yb20nhc3.js → file-retention-yb20nhc3.js} +1 -1
  274. package/dist/chunks/{snapshot-pbnk69jw.js → file-retention-yg7ytxzr.js} +11 -11
  275. package/dist/chunks/{snapshot-z1v7eazc.js → file-retention-yh5vc5ym.js} +29 -29
  276. package/dist/chunks/{snapshot-01ve1yxr.js → file-retention-yszz6e3t.js} +27 -27
  277. package/dist/chunks/{snapshot-dds9zz6p.js → file-retention-yydqqga9.js} +4 -4
  278. package/dist/chunks/{snapshot-xyjma05j.js → file-retention-yyqm007w.js} +9 -9
  279. package/dist/chunks/{snapshot-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{snapshot-z38nccrw.js → file-retention-z38nccrw.js} +1 -1
  281. package/dist/chunks/{snapshot-epqefa0z.js → file-retention-z781txa6.js} +5 -5
  282. package/dist/chunks/{snapshot-99e1pwyw.js → file-retention-zfcxpxqg.js} +56 -56
  283. package/dist/chunks/{snapshot-fjdpkb6n.js → file-retention-zjrmgn7z.js} +17 -17
  284. package/dist/chunks/{snapshot-kv3e8w2a.js → file-retention-zjzg4f6c.js} +4 -4
  285. package/dist/chunks/{snapshot-zkg84ctx.js → file-retention-zkg84ctx.js} +1 -1
  286. package/dist/chunks/{snapshot-a8azxzn2.js → file-retention-zpr39raf.js} +26 -26
  287. package/dist/chunks/{snapshot-bzhcfbtm.js → file-retention-zvp9t4zy.js} +35 -35
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +83 -83
  293. package/dist/config/discovery.js +84 -84
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +118 -118
  297. package/dist/config/plugin/command.js +214 -214
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +116 -116
  305. package/dist/config/plugin/mcp.js +125 -125
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +116 -116
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +1 -1
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +115 -115
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +87 -87
  323. package/dist/database/database.js +68 -68
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  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 +89 -89
  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 +1 -1
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +97 -97
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +3 -3
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +76 -76
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +96 -96
  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/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +225 -225
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +101 -101
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +11 -11
  428. package/dist/filesystem.js +100 -100
  429. package/dist/form.js +88 -88
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +85 -85
  432. package/dist/generate.js +107 -107
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +93 -93
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +361 -361
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +89 -89
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +159 -159
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +358 -358
  469. package/dist/location.js +87 -87
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +109 -109
  473. package/dist/mcp/instructions.js +132 -132
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/socket-client.js +1 -1
  476. package/dist/mcp/stdio.js +92 -92
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +93 -93
  479. package/dist/model-resolver.js +101 -101
  480. package/dist/model-retry.js +1 -1
  481. package/dist/model.js +102 -102
  482. package/dist/models-dev.js +109 -109
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +84 -84
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +115 -115
  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 +82 -82
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +77 -77
  492. package/dist/plugin/agent.js +78 -78
  493. package/dist/plugin/command.js +104 -104
  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 +332 -332
  499. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  500. package/dist/plugin/models-dev.js +98 -98
  501. package/dist/plugin/module.js +117 -117
  502. package/dist/plugin/optimize.js +4 -4
  503. package/dist/plugin/plan.js +104 -104
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  506. package/dist/plugin/provider/azure.js +114 -114
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/chatgpt.js +116 -116
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +112 -112
  513. package/dist/plugin/provider/databricks.js +1 -1
  514. package/dist/plugin/provider/digitalocean.js +95 -95
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/github-copilot.js +97 -97
  518. package/dist/plugin/provider/gitlab.js +95 -95
  519. package/dist/plugin/provider/google-vertex.js +113 -113
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +80 -80
  522. package/dist/plugin/provider/lmstudio.js +125 -125
  523. package/dist/plugin/provider/local.js +122 -122
  524. package/dist/plugin/provider/modal.js +94 -94
  525. package/dist/plugin/provider/neon.js +1 -1
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +125 -125
  528. package/dist/plugin/provider/openai-context-caps.js +92 -92
  529. package/dist/plugin/provider/openai.js +118 -118
  530. package/dist/plugin/provider/opencode.js +100 -100
  531. package/dist/plugin/provider/openrouter.js +93 -93
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +81 -81
  534. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  535. package/dist/plugin/provider/sap-ai-core.js +93 -93
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  538. package/dist/plugin/provider/vercel.js +92 -92
  539. package/dist/plugin/provider/vllm.js +125 -125
  540. package/dist/plugin/provider/xai.js +93 -93
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +168 -168
  543. package/dist/plugin/sdk.js +78 -78
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +134 -134
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +351 -351
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +88 -88
  551. package/dist/plugin/vcs/hg.js +88 -88
  552. package/dist/plugin/verbosity.js +95 -95
  553. package/dist/plugin/warming.js +114 -114
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +6 -6
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +223 -223
  562. package/dist/project/schema.js +2 -2
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +86 -86
  565. package/dist/provider.js +103 -103
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +99 -99
  569. package/dist/reference/instructions.js +91 -91
  570. package/dist/reference.js +91 -91
  571. package/dist/repository-cache.js +83 -83
  572. package/dist/repository.js +1 -1
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +99 -99
  575. package/dist/rpc.js +88 -88
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +1 -1
  578. package/dist/session/command.js +76 -76
  579. package/dist/session/compaction.js +138 -138
  580. package/dist/session/context.js +164 -164
  581. package/dist/session/diff.js +90 -90
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +3 -3
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +224 -224
  586. package/dist/session/execution.js +130 -130
  587. package/dist/session/generate.js +166 -166
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +95 -95
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +81 -81
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +99 -99
  594. package/dist/session/message-updater.js +2 -2
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +122 -122
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +132 -132
  599. package/dist/session/projector.js +91 -91
  600. package/dist/session/prompt.js +107 -107
  601. package/dist/session/recent-text.js +1 -1
  602. package/dist/session/revert.js +96 -96
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +231 -231
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +102 -102
  608. package/dist/session/runner/publish-llm-event.js +116 -116
  609. package/dist/session/runner/retry.js +5 -5
  610. package/dist/session/runner/step.js +128 -128
  611. package/dist/session/runner/to-llm-message.js +14 -14
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +165 -165
  614. package/dist/session/shell.js +130 -130
  615. package/dist/session/skill.js +105 -105
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +75 -75
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +212 -212
  621. package/dist/session/system-prompt.js +1 -1
  622. package/dist/session/title.js +168 -168
  623. package/dist/session/to-session-error.js +114 -114
  624. package/dist/session/transfer.js +220 -220
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +214 -214
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +13 -13
  631. package/dist/shell.js +130 -130
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +109 -109
  634. package/dist/skill.js +112 -112
  635. package/dist/snapshot.js +95 -95
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +139 -139
  640. package/dist/tool/plugin/edit.js +122 -122
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +122 -122
  643. package/dist/tool/plugin/grep.js +124 -124
  644. package/dist/tool/plugin/mcp-resource.js +126 -126
  645. package/dist/tool/plugin/opencode.js +111 -111
  646. package/dist/tool/plugin/patch.js +124 -124
  647. package/dist/tool/plugin/question.js +107 -107
  648. package/dist/tool/plugin/read.js +127 -127
  649. package/dist/tool/plugin/shell.js +215 -215
  650. package/dist/tool/plugin/skill.js +115 -115
  651. package/dist/tool/plugin/subagent.js +219 -219
  652. package/dist/tool/plugin/todo.js +132 -132
  653. package/dist/tool/plugin/webfetch.js +115 -115
  654. package/dist/tool/plugin/websearch.js +114 -114
  655. package/dist/tool/plugin/write.js +124 -124
  656. package/dist/tool/read-filesystem.js +102 -102
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +7 -7
  659. package/dist/tool.js +12 -12
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +3 -3
  668. package/dist/v1/config/command.js +3 -3
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +94 -94
  671. package/dist/v1/config/permission.js +1 -1
  672. package/dist/v1/config/plugin.js +3 -3
  673. package/dist/v1/config/provider-options.js +1 -1
  674. package/dist/v1/config/provider.js +4 -4
  675. package/dist/variant.js +93 -93
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +91 -91
  678. package/dist/voice.js +86 -86
  679. package/dist/websearch.js +86 -86
  680. package/dist/wellknown/plugin.js +78 -78
  681. package/dist/wellknown.js +83 -83
  682. package/dist/workspace/driver.js +7 -7
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +84 -84
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +8 -8
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +91 -91
  689. package/dist/worktree.js +100 -100
  690. package/package.json +8 -8
  691. package/dist/chunks/snapshot-4a4jqpwz.js +0 -257
  692. package/dist/chunks/snapshot-a610t88q.js +0 -18
  693. package/dist/chunks/snapshot-cyy23x7w.js +0 -517
  694. package/dist/chunks/snapshot-ps2yext1.js +0 -26
  695. /package/dist/chunks/{snapshot-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{snapshot-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{snapshot-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{snapshot-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{snapshot-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
  700. /package/dist/chunks/{snapshot-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{snapshot-2bv980vf.js → file-retention-2bv980vf.js} +0 -0
  702. /package/dist/chunks/{snapshot-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{snapshot-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{snapshot-3asan66x.js → file-retention-3asan66x.js} +0 -0
  705. /package/dist/chunks/{snapshot-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
  706. /package/dist/chunks/{snapshot-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
  707. /package/dist/chunks/{snapshot-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
  708. /package/dist/chunks/{snapshot-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
  709. /package/dist/chunks/{snapshot-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
  710. /package/dist/chunks/{snapshot-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
  711. /package/dist/chunks/{snapshot-53557ph1.js → file-retention-53557ph1.js} +0 -0
  712. /package/dist/chunks/{snapshot-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
  713. /package/dist/chunks/{snapshot-5fjb7ams.js → file-retention-5fjb7ams.js} +0 -0
  714. /package/dist/chunks/{snapshot-5qd3pb7m.js → file-retention-5qd3pb7m.js} +0 -0
  715. /package/dist/chunks/{snapshot-6prwharc.js → file-retention-6prwharc.js} +0 -0
  716. /package/dist/chunks/{snapshot-6q2bdcd1.js → file-retention-6q2bdcd1.js} +0 -0
  717. /package/dist/chunks/{snapshot-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{snapshot-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{snapshot-822emrt2.js → file-retention-822emrt2.js} +0 -0
  720. /package/dist/chunks/{snapshot-84wd9syh.js → file-retention-84wd9syh.js} +0 -0
  721. /package/dist/chunks/{snapshot-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
  722. /package/dist/chunks/{snapshot-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
  723. /package/dist/chunks/{snapshot-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
  724. /package/dist/chunks/{snapshot-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
  725. /package/dist/chunks/{snapshot-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
  726. /package/dist/chunks/{snapshot-a058387c.js → file-retention-a058387c.js} +0 -0
  727. /package/dist/chunks/{snapshot-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{snapshot-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{snapshot-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{snapshot-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{snapshot-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{snapshot-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{snapshot-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{snapshot-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
  735. /package/dist/chunks/{snapshot-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
  736. /package/dist/chunks/{snapshot-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
  737. /package/dist/chunks/{snapshot-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
  738. /package/dist/chunks/{snapshot-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
  739. /package/dist/chunks/{snapshot-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
  740. /package/dist/chunks/{snapshot-df08tz66.js → file-retention-df08tz66.js} +0 -0
  741. /package/dist/chunks/{snapshot-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
  742. /package/dist/chunks/{snapshot-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
  743. /package/dist/chunks/{snapshot-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
  744. /package/dist/chunks/{snapshot-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
  745. /package/dist/chunks/{snapshot-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
  746. /package/dist/chunks/{snapshot-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
  747. /package/dist/chunks/{snapshot-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
  748. /package/dist/chunks/{snapshot-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
  749. /package/dist/chunks/{snapshot-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
  750. /package/dist/chunks/{snapshot-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
  751. /package/dist/chunks/{snapshot-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
  752. /package/dist/chunks/{snapshot-g86h250q.js → file-retention-g86h250q.js} +0 -0
  753. /package/dist/chunks/{snapshot-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
  754. /package/dist/chunks/{snapshot-gftt206x.js → file-retention-gftt206x.js} +0 -0
  755. /package/dist/chunks/{snapshot-hcxmzztb.js → file-retention-hcxmzztb.js} +0 -0
  756. /package/dist/chunks/{snapshot-hk9envan.js → file-retention-hk9envan.js} +0 -0
  757. /package/dist/chunks/{snapshot-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{snapshot-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{snapshot-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
  760. /package/dist/chunks/{snapshot-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{snapshot-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{snapshot-jze0r7bz.js → file-retention-jze0r7bz.js} +0 -0
  763. /package/dist/chunks/{snapshot-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{snapshot-m18g726c.js → file-retention-m18g726c.js} +0 -0
  765. /package/dist/chunks/{snapshot-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
  766. /package/dist/chunks/{snapshot-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
  767. /package/dist/chunks/{snapshot-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
  768. /package/dist/chunks/{snapshot-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
  769. /package/dist/chunks/{snapshot-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
  770. /package/dist/chunks/{snapshot-pkyv6v7h.js → file-retention-pkyv6v7h.js} +0 -0
  771. /package/dist/chunks/{snapshot-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{snapshot-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{snapshot-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{snapshot-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{snapshot-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{snapshot-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{snapshot-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{snapshot-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{snapshot-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{snapshot-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
  781. /package/dist/chunks/{snapshot-ve7vex1e.js → file-retention-ve7vex1e.js} +0 -0
  782. /package/dist/chunks/{snapshot-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{snapshot-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{snapshot-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{snapshot-wjj7prxr.js → file-retention-wjj7prxr.js} +0 -0
  786. /package/dist/chunks/{snapshot-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{snapshot-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{snapshot-x61499pn.js → file-retention-x61499pn.js} +0 -0
  789. /package/dist/chunks/{snapshot-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{snapshot-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{snapshot-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{snapshot-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{snapshot-z5v4ffb3.js → file-retention-z5v4ffb3.js} +0 -0
  794. /package/dist/chunks/{snapshot-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./snapshot-146q7e0b.js";
2
+ Service85,
3
+ node89
4
+ } from "./file-retention-byrp127m.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./snapshot-vd3b3yk9.js";
8
+ } from "./file-retention-vd3b3yk9.js";
9
9
  import {
10
- Service80,
11
- node83
12
- } from "./snapshot-67pdg5mz.js";
10
+ Service82,
11
+ node86
12
+ } from "./file-retention-3xbbjsgy.js";
13
13
  import {
14
14
  rewrite2,
15
- ID13,
15
+ ID8,
16
16
  modelSettings2,
17
17
  mergeOverlay2,
18
18
  mergeHeaders2,
19
- Service76,
20
- node79,
21
- Event16
22
- } from "./snapshot-0kjrd2qd.js";
19
+ Service71,
20
+ node74,
21
+ Event14
22
+ } from "./file-retention-b69pzmrp.js";
23
23
  import {
24
24
  __export
25
- } from "./snapshot-9rqn6x4v.js";
25
+ } from "./file-retention-9rqn6x4v.js";
26
26
 
27
27
  // src/model.ts
28
28
  var exports_model2 = {};
@@ -30,18 +30,18 @@ __export(exports_model2, {
30
30
  Capabilities: () => Capabilities2,
31
31
  Compatibility: () => Compatibility2,
32
32
  Cost: () => Cost2,
33
- Event: () => Event15,
33
+ Event: () => Event13,
34
34
  Family: () => Family2,
35
- ID: () => ID12,
36
- Info: () => Info21,
35
+ ID: () => ID7,
36
+ Info: () => Info17,
37
37
  Model: () => exports_model2,
38
38
  ReasoningField: () => ReasoningField2,
39
39
  Ref: () => Ref2,
40
- Service: () => Service75,
40
+ Service: () => Service69,
41
41
  VariantID: () => VariantID2,
42
42
  compatibility: () => compatibility2,
43
43
  mergeCapabilities: () => mergeCapabilities2,
44
- node: () => node78,
44
+ node: () => node72,
45
45
  parse: () => parse5,
46
46
  supportsText: () => supportsText2
47
47
  });
@@ -49,8 +49,8 @@ import { Model } from "@opencode/schema/model";
49
49
  import { Context, Effect, Layer, Stream } from "effect";
50
50
  import { makeLocationNode } from "@opencode/util/effect/app-node";
51
51
  import { freeze } from "immer";
52
- import { Event as Event15 } from "@opencode/schema/model";
53
- var ID12 = Model.ID;
52
+ import { Event as Event13 } from "@opencode/schema/model";
53
+ var ID7 = Model.ID;
54
54
  var VariantID2 = Model.VariantID;
55
55
  var Family2 = Model.Family;
56
56
  var ReasoningField2 = Model.ReasoningField;
@@ -67,14 +67,14 @@ var mergeCapabilities2 = (config, base) => {
67
67
  };
68
68
  var Cost2 = Model.Cost;
69
69
  var Ref2 = Model.Ref;
70
- var Info21 = Model.Info;
70
+ var Info17 = Model.Info;
71
71
 
72
- class Service75 extends Context.Service()("@opencode/Model") {
72
+ class Service69 extends Context.Service()("@opencode/Model") {
73
73
  }
74
- var layer = Layer.effect(Service75, Effect.gen(function* () {
75
- const providers = yield* Service76;
76
- const bus = yield* Service82;
77
- const location = yield* Service80;
74
+ var layer = Layer.effect(Service69, Effect.gen(function* () {
75
+ const providers = yield* Service71;
76
+ const bus = yield* Service85;
77
+ const location = yield* Service82;
78
78
  const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
79
79
  let input;
80
80
  const state = create3({
@@ -120,7 +120,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
120
120
  const models = writable(providerID);
121
121
  if (!models)
122
122
  return;
123
- const model = draft(providerID, modelID) ?? Info21.default(providerID, modelID);
123
+ const model = draft(providerID, modelID) ?? Info17.default(providerID, modelID);
124
124
  update(model);
125
125
  model.id = modelID;
126
126
  model.providerID = providerID;
@@ -189,7 +189,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
189
189
  ];
190
190
  }));
191
191
  if (disableFree)
192
- for (const providerID of [ID13.opencode, ID13.make("opencode-go")])
192
+ for (const providerID of [ID8.opencode, ID8.make("opencode-go")])
193
193
  byProvider.get(providerID)?.forEach((model, id, models) => {
194
194
  if (!model.cost.some((cost) => cost.input > 0))
195
195
  models.delete(id);
@@ -216,8 +216,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
216
216
  location: { directory: location.directory, workspaceID: location.workspaceID }
217
217
  });
218
218
  });
219
- yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
220
- return Service75.of({
219
+ yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
220
+ return Service69.of({
221
221
  transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
222
222
  reload,
223
223
  get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
236
236
  })
237
237
  });
238
238
  }));
239
- var node78 = makeLocationNode({ service: Service75, layer, deps: [node79, node86, node83] });
239
+ var node72 = makeLocationNode({ service: Service69, layer, deps: [node74, node89, node86] });
240
240
  var PREFERRED_FREE = [
241
241
  "big-pickle",
242
242
  "deepseek-v4.1-flash-free",
@@ -244,7 +244,7 @@ var PREFERRED_FREE = [
244
244
  "muse-spark-1.3-contributor-free"
245
245
  ];
246
246
  function preferFree(models) {
247
- const freeOnly = models.every((model) => model.providerID === ID13.opencode && !model.cost.some((cost) => cost.input > 0));
247
+ const freeOnly = models.every((model) => model.providerID === ID8.opencode && !model.cost.some((cost) => cost.input > 0));
248
248
  if (!freeOnly)
249
249
  return models;
250
250
  const picks = PREFERRED_FREE.flatMap((id) => models.find((model) => model.id === id) ?? []);
@@ -263,9 +263,9 @@ function compatibility2(input) {
263
263
  function parse5(input) {
264
264
  const index = input.indexOf("/");
265
265
  return {
266
- providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
267
- modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
266
+ providerID: ID8.make(index === -1 ? input : input.slice(0, index)),
267
+ modelID: ID7.make(index === -1 ? "" : input.slice(index + 1))
268
268
  };
269
269
  }
270
270
 
271
- export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info21, Service75, node78, supportsText2, compatibility2, parse5, exports_model2, Event15 };
271
+ export { ID7, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info17, Service69, node72, supportsText2, compatibility2, parse5, exports_model2, Event13 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./snapshot-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/util/error-summary.ts
6
6
  var exports_error_summary = {};
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  match2
3
- } from "./snapshot-z38nccrw.js";
3
+ } from "./file-retention-z38nccrw.js";
4
4
  import {
5
5
  __export
6
- } from "./snapshot-9rqn6x4v.js";
6
+ } from "./file-retention-9rqn6x4v.js";
7
7
 
8
8
  // src/managed-policy.ts
9
9
  var exports_managed_policy = {};
10
10
  __export(exports_managed_policy, {
11
11
  ManagedPolicy: () => exports_managed_policy,
12
- Service: () => Service84,
12
+ Service: () => Service61,
13
13
  decision: () => decision2,
14
- layer: () => layer27,
15
- node: () => node88,
14
+ layer: () => layer25,
15
+ node: () => node64,
16
16
  statements: () => statements2
17
17
  });
18
18
  import { isDeepStrictEqual } from "node:util";
19
19
  import { Context, Effect, Layer, PubSub, Stream } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
 
22
- class Service84 extends Context.Service()("@opencode/ManagedPolicy") {
22
+ class Service61 extends Context.Service()("@opencode/ManagedPolicy") {
23
23
  }
24
- var layer27 = Layer.effect(Service84, Effect.gen(function* () {
24
+ var layer25 = Layer.effect(Service61, Effect.gen(function* () {
25
25
  const changes = yield* PubSub.unbounded();
26
26
  const state = { current: { statements: [] } };
27
- return Service84.of({
27
+ return Service61.of({
28
28
  changes: () => Stream.fromPubSub(changes),
29
29
  current: () => state.current,
30
30
  set: (next) => Effect.gen(function* () {
@@ -36,7 +36,7 @@ var layer27 = Layer.effect(Service84, Effect.gen(function* () {
36
36
  })
37
37
  });
38
38
  }));
39
- var node88 = makeGlobalNode({ service: Service84, layer: layer27, deps: [] });
39
+ var node64 = makeGlobalNode({ service: Service61, layer: layer25, deps: [] });
40
40
  function statements2(entries, organization) {
41
41
  return [
42
42
  ...entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.policies ?? []).map((policy) => ({ ...policy, message: "Blocked by configuration policy" })),
@@ -50,4 +50,4 @@ function decision2(policies, action, resource) {
50
50
  return policies.findLast((policy) => policy.action === action && match2(resource, policy.resource))?.effect ?? "allow";
51
51
  }
52
52
 
53
- export { Service84, layer27, node88, statements2, decision2, exports_managed_policy };
53
+ export { Service61, layer25, node64, statements2, decision2, exports_managed_policy };
@@ -4,7 +4,7 @@ import {
4
4
  orderSelectedFields2,
5
5
  mapUpdateSet2,
6
6
  getTableLikeName2
7
- } from "./snapshot-emrn6kk6.js";
7
+ } from "./file-retention-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,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./snapshot-qaymkmh1.js";
3
+ } from "./file-retention-qaymkmh1.js";
4
4
 
5
5
  // src/ripgrep/binary.ts
6
6
  import path from "path";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./snapshot-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/identity.ts
6
6
  var exports_identity = {};
7
7
  __export(exports_identity, {
8
8
  IdentityPlugin: () => exports_identity,
9
- Plugin: () => Plugin44,
9
+ Plugin: () => Plugin11,
10
10
  identity: () => identity2
11
11
  });
12
12
  import { SystemPart } from "@opencode/ai";
@@ -22,7 +22,7 @@ function identity2(model) {
22
22
  ].join(`
23
23
  `);
24
24
  }
25
- var Plugin44 = define({
25
+ var Plugin11 = define({
26
26
  id: "opencode.prompt.identity",
27
27
  effect: Effect.fn("IdentityPlugin")(function* (ctx) {
28
28
  const hook = (event) => Effect.gen(function* () {
@@ -35,4 +35,4 @@ var Plugin44 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { identity2, Plugin44, exports_identity };
38
+ export { identity2, Plugin11, exports_identity };
@@ -1,7 +1,7 @@
1
1
  // src/session/schema.ts
2
2
  import * as SessionSchema2 from "@opencode/schema/session";
3
3
  import { Session } from "@opencode/schema/session";
4
- var ID10 = Session.ID;
5
- var Info20 = Session.Info;
4
+ var ID14 = Session.ID;
5
+ var Info24 = Session.Info;
6
6
 
7
- export { ID10, Info20, SessionSchema2 };
7
+ export { ID14, Info24, SessionSchema2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./snapshot-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/model-retry.ts
6
6
  var exports_model_retry = {};
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./snapshot-7633k18y.js";
4
+ } from "./file-retention-06443jab.js";
5
5
  import {
6
- Service82,
7
- node86
8
- } from "./snapshot-146q7e0b.js";
6
+ Service85,
7
+ node89
8
+ } from "./file-retention-byrp127m.js";
9
9
  import {
10
- Service56,
11
- node59
12
- } from "./snapshot-nnbr5qt6.js";
10
+ Service50,
11
+ node53
12
+ } from "./file-retention-wj0whgje.js";
13
13
  import {
14
- Service54,
15
- node57
16
- } from "./snapshot-fp2kss3x.js";
14
+ Service48,
15
+ node51
16
+ } from "./file-retention-3xv5yes5.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./snapshot-ec1grn59.js";
19
+ } from "./file-retention-ec1grn59.js";
20
20
  import {
21
- make17
22
- } from "./snapshot-d2887f8n.js";
21
+ make16
22
+ } from "./file-retention-c9t2ty9q.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service52
26
- } from "./snapshot-ky596kc3.js";
25
+ Service46
26
+ } from "./file-retention-e45fk36t.js";
27
27
  import {
28
- Service69,
29
- node72
30
- } from "./snapshot-4v48c47j.js";
28
+ Service77,
29
+ node80
30
+ } from "./file-retention-nbkd2rx6.js";
31
31
  import {
32
32
  toSessionError2
33
- } from "./snapshot-jcvhz0ne.js";
33
+ } from "./file-retention-4rnx58kd.js";
34
34
  import {
35
35
  nextPromotable2
36
- } from "./snapshot-s4gp6xhn.js";
36
+ } from "./file-retention-wetwfxab.js";
37
37
  import {
38
38
  __export
39
- } from "./snapshot-9rqn6x4v.js";
39
+ } from "./file-retention-9rqn6x4v.js";
40
40
 
41
41
  // src/session/execution.ts
42
42
  var exports_execution = {};
43
43
  __export(exports_execution, {
44
- Service: () => Service51,
44
+ Service: () => Service45,
45
45
  SessionExecution: () => exports_execution,
46
- layer: () => layer19,
47
- node: () => node55,
48
- noopLayer: () => noopLayer2,
46
+ layer: () => layer21,
47
+ node: () => node49,
48
+ noopLayer: () => noopLayer3,
49
49
  terminal: () => terminal2
50
50
  });
51
51
  import { Cause, Context, Effect, Exit, Layer } from "effect";
52
52
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
53
- class Service51 extends Context.Service()("@opencode/SessionExecution") {
53
+ class Service45 extends Context.Service()("@opencode/SessionExecution") {
54
54
  }
55
55
  function terminal2(exit, reason) {
56
56
  if (Exit.isSuccess(exit))
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
59
59
  return { type: "interrupted", reason: reason ?? "shutdown" };
60
60
  return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
61
61
  }
62
- var layer19 = Layer.effect(Service51, Effect.gen(function* () {
63
- const store = yield* Service69;
64
- const instances = yield* Service54;
65
- const bus = yield* Service82;
66
- const jobs = yield* Service56;
62
+ var layer21 = Layer.effect(Service45, Effect.gen(function* () {
63
+ const store = yield* Service77;
64
+ const instances = yield* Service48;
65
+ const bus = yield* Service85;
66
+ const jobs = yield* Service50;
67
67
  const db = (yield* Service86).db;
68
68
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
69
69
  const claimOnCommit = (sessionID) => ({
@@ -76,14 +76,14 @@ var layer19 = Layer.effect(Service51, Effect.gen(function* () {
76
76
  const session = yield* store.get(sessionID);
77
77
  if (!session)
78
78
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
79
- const result = yield* Service52.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
79
+ const result = yield* Service46.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
80
80
  return yield* DrainResult2.$match(result, {
81
81
  Complete: () => Effect.void,
82
82
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
83
83
  Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
84
84
  });
85
85
  });
86
- const coordinator = yield* make17({
86
+ const coordinator = yield* make16({
87
87
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
88
88
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
89
89
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -104,7 +104,7 @@ var layer19 = Layer.effect(Service51, Effect.gen(function* () {
104
104
  }, releaseOnCommit(sessionID));
105
105
  }))
106
106
  });
107
- return Service51.of({
107
+ return Service45.of({
108
108
  active: coordinator.active,
109
109
  isActive: coordinator.isActive,
110
110
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -123,12 +123,12 @@ var layer19 = Layer.effect(Service51, Effect.gen(function* () {
123
123
  awaitIdle: coordinator.awaitIdle
124
124
  });
125
125
  }));
126
- var node55 = makeGlobalNode({
127
- service: Service51,
128
- layer: layer19,
129
- deps: [node72, node57, node86, node90, node59]
126
+ var node49 = makeGlobalNode({
127
+ service: Service45,
128
+ layer: layer21,
129
+ deps: [node80, node51, node89, node90, node53]
130
130
  });
131
- var noopLayer2 = Layer.succeed(Service51, Service51.of({
131
+ var noopLayer3 = Layer.succeed(Service45, Service45.of({
132
132
  active: Effect.succeed(new Set),
133
133
  isActive: () => Effect.succeed(false),
134
134
  resume: () => Effect.void,
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service51, Service51.of({
137
137
  awaitIdle: () => Effect.void
138
138
  }));
139
139
 
140
- export { Service51, terminal2, layer19, node55, noopLayer2, exports_execution };
140
+ export { Service45, terminal2, layer21, node49, noopLayer3, exports_execution };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./snapshot-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured11,
11
- layer: () => layer26,
12
- make: () => make21,
13
- node: () => node85,
10
+ configured: () => configured7,
11
+ layer: () => layer20,
12
+ make: () => make15,
13
+ node: () => node47,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var Metadata2 = Context.Reference("@opencode/App", {
19
- defaultValue: () => make21()
19
+ defaultValue: () => make15()
20
20
  });
21
- function make21(input = {}) {
21
+ function make15(input = {}) {
22
22
  return {
23
23
  name: input.name ?? "opencode",
24
24
  version: input.version ?? "unknown",
@@ -28,8 +28,8 @@ function make21(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer26 = (input) => Layer.succeed(Metadata2, make21(input));
32
- var configured11 = (input) => makeGlobalNode({ service: Metadata2, layer: layer26(input), deps: [] });
33
- var node85 = configured11();
31
+ var layer20 = (input) => Layer.succeed(Metadata2, make15(input));
32
+ var configured7 = (input) => makeGlobalNode({ service: Metadata2, layer: layer20(input), deps: [] });
33
+ var node47 = configured7();
34
34
 
35
- export { Metadata2, make21, useragent2, layer26, configured11, node85, exports_app };
35
+ export { Metadata2, make15, useragent2, layer20, configured7, node47, exports_app };
@@ -1,57 +1,57 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./snapshot-146q7e0b.js";
2
+ Service85,
3
+ node89
4
+ } from "./file-retention-byrp127m.js";
5
5
  import {
6
- Event18,
7
- Service78,
8
- node81
9
- } from "./snapshot-3qwxnent.js";
6
+ Event16,
7
+ Service73,
8
+ node76
9
+ } from "./file-retention-rw5cqjms.js";
10
10
  import {
11
- Service60,
12
- node63
13
- } from "./snapshot-c0jtyzjh.js";
11
+ Service52,
12
+ node55
13
+ } from "./file-retention-90h4gxms.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./snapshot-z5v4ffb3.js";
16
+ } from "./file-retention-z5v4ffb3.js";
17
17
  import {
18
- Service80,
19
- node83
20
- } from "./snapshot-67pdg5mz.js";
18
+ Service82,
19
+ node86
20
+ } from "./file-retention-3xbbjsgy.js";
21
21
  import {
22
22
  substitute2
23
- } from "./snapshot-7w2ypzdf.js";
23
+ } from "./file-retention-7w2ypzdf.js";
24
24
  import {
25
25
  normalize2
26
- } from "./snapshot-p180b23n.js";
26
+ } from "./file-retention-t5qy80th.js";
27
27
  import {
28
28
  names4,
29
29
  stripPreferenceMetadata2,
30
30
  discover3
31
- } from "./snapshot-epqefa0z.js";
31
+ } from "./file-retention-z781txa6.js";
32
32
  import {
33
33
  plan2
34
- } from "./snapshot-1x2knyw4.js";
34
+ } from "./file-retention-1x2knyw4.js";
35
35
  import {
36
- Service73,
37
- Event13,
38
- node76
39
- } from "./snapshot-tej0rhj5.js";
36
+ Service53,
37
+ Event7,
38
+ node56
39
+ } from "./file-retention-7ax5pvs2.js";
40
40
  import {
41
41
  __export
42
- } from "./snapshot-9rqn6x4v.js";
42
+ } from "./file-retention-9rqn6x4v.js";
43
43
 
44
44
  // src/config.ts
45
45
  var exports_config = {};
46
46
  __export(exports_config, {
47
47
  Config: () => exports_config,
48
- Options: () => Options5,
49
- Service: () => Service59,
48
+ Options: () => Options6,
49
+ Service: () => Service51,
50
50
  Test: () => Test2,
51
- configured: () => configured7,
51
+ configured: () => configured8,
52
52
  latest: () => latest2,
53
- layer: () => layer22,
54
- node: () => node62,
53
+ layer: () => layer23,
54
+ node: () => node54,
55
55
  testLayer: () => testLayer2
56
56
  });
57
57
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -67,7 +67,7 @@ import { ChildProcess } from "effect/process";
67
67
  function latest2(entries, key) {
68
68
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
69
69
  }
70
- var Options5 = Schema.Struct({
70
+ var Options6 = Schema.Struct({
71
71
  project: Schema.optional(Schema.Boolean),
72
72
  global: Schema.optional(Schema.Boolean),
73
73
  system: Schema.optional(Schema.Union([Schema.Boolean, Schema.String])),
@@ -76,7 +76,7 @@ var Options5 = Schema.Struct({
76
76
  content: Schema.optional(Schema.String)
77
77
  });
78
78
 
79
- class Service59 extends Context.Service()("@opencode/Config") {
79
+ class Service51 extends Context.Service()("@opencode/Config") {
80
80
  }
81
81
 
82
82
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -94,16 +94,16 @@ var testLayer2 = (initial = [], compatibility = {
94
94
  setEntries: (next) => Ref.set(entries, next),
95
95
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
96
96
  });
97
- return Context.empty().pipe(Context.add(Service59, service), Context.add(Test2, service));
97
+ return Context.empty().pipe(Context.add(Service51, service), Context.add(Test2, service));
98
98
  }));
99
- var layer22 = (options) => Layer.effect(Service59, Effect.gen(function* () {
99
+ var layer23 = (options) => Layer.effect(Service51, Effect.gen(function* () {
100
100
  const fs = yield* FSUtil.Service;
101
- const location = yield* Service80;
102
- const watcher = yield* Service60;
103
- const bus = yield* Service82;
104
- const credentials = yield* Service78;
101
+ const location = yield* Service82;
102
+ const watcher = yield* Service52;
103
+ const bus = yield* Service85;
104
+ const credentials = yield* Service73;
105
105
  const globalService = yield* Global.Service;
106
- const wellknown = yield* Service73;
106
+ const wellknown = yield* Service53;
107
107
  const processes = yield* AppProcess.Service;
108
108
  const reloadLock = Semaphore.makeUnsafe(1);
109
109
  const updateLock = Semaphore.makeUnsafe(1);
@@ -254,8 +254,8 @@ var layer22 = (options) => Layer.effect(Service59, Effect.gen(function* () {
254
254
  }, (effect) => reloadLock.withPermit(effect));
255
255
  const pendingReloads = yield* PubSub.subscribe(reloads);
256
256
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
257
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
258
- yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
257
+ yield* bus.subscribe(Event16.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
258
+ yield* bus.subscribe(Event7.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
259
259
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
260
260
  if (!wellknown.snapshot().length)
261
261
  return Effect.void;
@@ -283,7 +283,7 @@ var layer22 = (options) => Layer.effect(Service59, Effect.gen(function* () {
283
283
  `);
284
284
  yield* requestReload;
285
285
  }, (effect) => updateLock.withPermit(effect));
286
- return Service59.of({
286
+ return Service51.of({
287
287
  entries: Effect.fnUntraced(function* () {
288
288
  return configs;
289
289
  }),
@@ -295,22 +295,22 @@ var layer22 = (options) => Layer.effect(Service59, Effect.gen(function* () {
295
295
  update
296
296
  });
297
297
  }));
298
- function configured7(options) {
298
+ function configured8(options) {
299
299
  return makeLocationNode({
300
- service: Service59,
301
- layer: layer22(options),
300
+ service: Service51,
301
+ layer: layer23(options),
302
302
  deps: [
303
- node63,
304
- node86,
303
+ node55,
304
+ node89,
305
305
  FSUtil.node,
306
306
  Global.node,
307
- node83,
308
- node81,
307
+ node86,
309
308
  node76,
309
+ node56,
310
310
  AppProcess.node
311
311
  ]
312
312
  });
313
313
  }
314
- var node62 = configured7();
314
+ var node54 = configured8();
315
315
 
316
- export { latest2, Options5, Service59, Test2, testLayer2, layer22, configured7, node62, exports_config };
316
+ export { latest2, Options6, Service51, Test2, testLayer2, layer23, configured8, node54, exports_config };