@opencode/core 0.0.0-dev-20287 → 0.0.0-dev-20288

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 (797) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{model-resolver-ap4mmp3q.js → schema-0dqxrc4m.js} +4 -4
  8. package/dist/chunks/{model-resolver-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
  9. package/dist/chunks/{model-resolver-6w0z1cey.js → schema-0ssx9rk5.js} +36 -36
  10. package/dist/chunks/{model-resolver-67pxqpv3.js → schema-0v1f7a68.js} +6 -6
  11. package/dist/chunks/{model-resolver-0v53mg2y.js → schema-0v53mg2y.js} +1 -1
  12. package/dist/chunks/{model-resolver-tf4wmns1.js → schema-13019pck.js} +8 -8
  13. package/dist/chunks/{model-resolver-1fx9aqpr.js → schema-138ez4pn.js} +24 -24
  14. package/dist/chunks/{model-resolver-kjaarbta.js → schema-153eqg7a.js} +23 -23
  15. package/dist/chunks/{model-resolver-mgvjhcwg.js → schema-154cngd0.js} +9 -9
  16. package/dist/chunks/{model-resolver-92x5e2q8.js → schema-184xzt1m.js} +19 -19
  17. package/dist/chunks/{model-resolver-9qk46xax.js → schema-1c7fnsvx.js} +8 -8
  18. package/dist/chunks/{model-resolver-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{model-resolver-nc64kt7a.js → schema-1dc4swx6.js} +21 -21
  20. package/dist/chunks/{model-resolver-k5qvkmwp.js → schema-1ddwhj9c.js} +3 -3
  21. package/dist/chunks/{model-resolver-xa1a1wzx.js → schema-1dfj24yg.js} +8 -8
  22. package/dist/chunks/{model-resolver-5dhepvmf.js → schema-1dngr6ye.js} +35 -35
  23. package/dist/chunks/{model-resolver-qa3qhgw8.js → schema-1g7epwpd.js} +7 -7
  24. package/dist/chunks/{model-resolver-e0f9fjmh.js → schema-1jhyh66k.js} +18 -18
  25. package/dist/chunks/{model-resolver-g7nh3h7e.js → schema-1k7rwa7s.js} +19 -19
  26. package/dist/chunks/{model-resolver-dgdn6h98.js → schema-1krwkbj6.js} +15 -15
  27. package/dist/chunks/{model-resolver-1p07q0wb.js → schema-1p07q0wb.js} +2 -2
  28. package/dist/chunks/{model-resolver-yefqq88c.js → schema-1rdgat8x.js} +11 -11
  29. package/dist/chunks/{model-resolver-7y4dpfk6.js → schema-20y62ag7.js} +14 -14
  30. package/dist/chunks/{model-resolver-21r38tys.js → schema-21r38tys.js} +1 -1
  31. package/dist/chunks/{model-resolver-0fb5qscw.js → schema-25ejj73a.js} +5 -5
  32. package/dist/chunks/{model-resolver-ys8bcvtf.js → schema-26f6mtej.js} +30 -30
  33. package/dist/chunks/{model-resolver-8w7za83g.js → schema-2a1fkd0m.js} +9 -9
  34. package/dist/chunks/{model-resolver-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
  35. package/dist/chunks/{model-resolver-qtg64bph.js → schema-2c7hjkzv.js} +9 -9
  36. package/dist/chunks/{model-resolver-12s112hc.js → schema-2dwzncdn.js} +15 -15
  37. package/dist/chunks/{model-resolver-s61t9ejp.js → schema-2dx4sdv9.js} +40 -40
  38. package/dist/chunks/{model-resolver-xn8j33mp.js → schema-2fh33aa7.js} +8 -8
  39. package/dist/chunks/{model-resolver-18nq8aak.js → schema-2pkp6zs4.js} +12 -12
  40. package/dist/chunks/{model-resolver-b9yq29xv.js → schema-2q85j725.js} +1 -1
  41. package/dist/chunks/{model-resolver-dt8c207w.js → schema-2sdfkd6k.js} +25 -25
  42. package/dist/chunks/{model-resolver-es818167.js → schema-2z03pgs9.js} +25 -25
  43. package/dist/chunks/{model-resolver-tv1yapnf.js → schema-31ajhxg6.js} +19 -19
  44. package/dist/chunks/{model-resolver-s6v4rjr2.js → schema-39akfy7j.js} +31 -31
  45. package/dist/chunks/{model-resolver-mk4qzd84.js → schema-3e14t8xn.js} +38 -38
  46. package/dist/chunks/{model-resolver-0qxf76vs.js → schema-3erybzfn.js} +15 -15
  47. package/dist/chunks/{model-resolver-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
  48. package/dist/chunks/{model-resolver-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
  49. package/dist/chunks/{model-resolver-aaz4evtx.js → schema-3hyet2nj.js} +18 -18
  50. package/dist/chunks/{model-resolver-zyj926zy.js → schema-3nttf8hh.js} +183 -183
  51. package/dist/chunks/{model-resolver-bt48ydtb.js → schema-3qc7rb3n.js} +15 -15
  52. package/dist/chunks/{model-resolver-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
  53. package/dist/chunks/{model-resolver-pq4mxcs4.js → schema-3sqwhcjh.js} +33 -33
  54. package/dist/chunks/{model-resolver-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
  55. package/dist/chunks/{model-resolver-3zsf4n22.js → schema-3zsf4n22.js} +1 -1
  56. package/dist/chunks/{model-resolver-gg3hnhsj.js → schema-427t97hr.js} +1 -1
  57. package/dist/chunks/{model-resolver-pfk6y5a9.js → schema-44wx7dpn.js} +3 -3
  58. package/dist/chunks/{model-resolver-yedg7326.js → schema-45m6e98y.js} +31 -31
  59. package/dist/chunks/{model-resolver-qvreyy9g.js → schema-49exe669.js} +5 -5
  60. package/dist/chunks/{model-resolver-tyr8t8jb.js → schema-4v2n3s64.js} +35 -35
  61. package/dist/chunks/{model-resolver-qj8eh1ht.js → schema-50mzsvk4.js} +4 -4
  62. package/dist/chunks/{model-resolver-e8v7tggz.js → schema-529ckhyj.js} +5 -5
  63. package/dist/chunks/{model-resolver-54ma36ye.js → schema-54ma36ye.js} +1 -1
  64. package/dist/chunks/{model-resolver-ckecvw8r.js → schema-54tcyq79.js} +2 -2
  65. package/dist/chunks/{model-resolver-57b9ws8p.js → schema-57b9ws8p.js} +1 -1
  66. package/dist/chunks/{model-resolver-nv6em8ry.js → schema-57cn2fac.js} +28 -28
  67. package/dist/chunks/{model-resolver-4sn99hha.js → schema-57ez7d0k.js} +7 -7
  68. package/dist/chunks/{model-resolver-5daktx2q.js → schema-5daktx2q.js} +1 -1
  69. package/dist/chunks/{model-resolver-xkmg7qp8.js → schema-5et802t6.js} +5 -5
  70. package/dist/chunks/{model-resolver-tafnspmy.js → schema-5g297g80.js} +17 -17
  71. package/dist/chunks/{model-resolver-mdmxc2h2.js → schema-5h8bm6z8.js} +20 -20
  72. package/dist/chunks/{model-resolver-ndqtf2h8.js → schema-5qkxfyep.js} +6 -6
  73. package/dist/chunks/{model-resolver-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
  74. package/dist/chunks/{model-resolver-1mzz2bvg.js → schema-5yspremq.js} +4 -4
  75. package/dist/chunks/{model-resolver-yetcaet6.js → schema-62bk2p8n.js} +10 -10
  76. package/dist/chunks/{model-resolver-669tq793.js → schema-669tq793.js} +1 -1
  77. package/dist/chunks/{model-resolver-ktk6m7yv.js → schema-68y7phbn.js} +12 -12
  78. package/dist/chunks/{model-resolver-4crx14w5.js → schema-690vtge2.js} +25 -25
  79. package/dist/chunks/{model-resolver-68z8ec46.js → schema-6am4naay.js} +40 -40
  80. package/dist/chunks/{model-resolver-02v6ekhe.js → schema-6cbrenz4.js} +3 -3
  81. package/dist/chunks/{model-resolver-pjf50ww2.js → schema-6e4wfwfn.js} +13 -13
  82. package/dist/chunks/{model-resolver-gn1qq9yk.js → schema-6e5qcf77.js} +28 -28
  83. package/dist/chunks/{model-resolver-qsb13eat.js → schema-6k275t53.js} +22 -22
  84. package/dist/chunks/{model-resolver-6msgmcgs.js → schema-6msgmcgs.js} +1 -1
  85. package/dist/chunks/{model-resolver-1bmx2daa.js → schema-6rf66fs8.js} +10 -10
  86. package/dist/chunks/{model-resolver-tbebh6wt.js → schema-6tnpemwz.js} +35 -35
  87. package/dist/chunks/{model-resolver-2t8dba19.js → schema-6va2t7at.js} +8 -8
  88. package/dist/chunks/{model-resolver-mean0qec.js → schema-710btjv2.js} +11 -11
  89. package/dist/chunks/{model-resolver-1z8t22df.js → schema-71pa356p.js} +7 -7
  90. package/dist/chunks/{model-resolver-yzscc1x4.js → schema-72bnveqp.js} +3 -3
  91. package/dist/chunks/{model-resolver-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
  92. package/dist/chunks/{model-resolver-7fj5dwt0.js → schema-7fj5dwt0.js} +1 -1
  93. package/dist/chunks/{model-resolver-52fpbh6z.js → schema-7j2qha59.js} +8 -8
  94. package/dist/chunks/{model-resolver-8zh4h089.js → schema-7pr2hkwv.js} +5 -5
  95. package/dist/chunks/{model-resolver-wsr3wm9b.js → schema-7q99yrtt.js} +12 -12
  96. package/dist/chunks/{model-resolver-m4mq5212.js → schema-830gdwbz.js} +58 -58
  97. package/dist/chunks/{model-resolver-w1eejvng.js → schema-84txncab.js} +5 -5
  98. package/dist/chunks/{model-resolver-3ckfa135.js → schema-8a6ajmms.js} +35 -35
  99. package/dist/chunks/{model-resolver-rrx1e06a.js → schema-8add9gat.js} +9 -9
  100. package/dist/chunks/{model-resolver-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
  101. package/dist/chunks/{model-resolver-baaqp4zd.js → schema-8gxqpgph.js} +4 -4
  102. package/dist/chunks/{model-resolver-m210z9se.js → schema-8magacmx.js} +43 -43
  103. package/dist/chunks/{model-resolver-r1vxhqvv.js → schema-8nq6hfsb.js} +6 -6
  104. package/dist/chunks/{model-resolver-27de2wkz.js → schema-8rbmd5w8.js} +19 -19
  105. package/dist/chunks/{model-resolver-y1k0c4q8.js → schema-8s4a65d9.js} +12 -12
  106. package/dist/chunks/{model-resolver-j63mkyf2.js → schema-8te0ay4y.js} +48 -48
  107. package/dist/chunks/{model-resolver-5vy8s2tt.js → schema-8waq4e86.js} +24 -24
  108. package/dist/chunks/{model-resolver-f9d9xn2t.js → schema-99a7xnff.js} +28 -28
  109. package/dist/chunks/{model-resolver-wgcg4671.js → schema-9f3e1ggy.js} +7 -7
  110. package/dist/chunks/{model-resolver-n0tq777j.js → schema-9jbvj98d.js} +8 -8
  111. package/dist/chunks/schema-9ms5jdqj.js +507 -0
  112. package/dist/chunks/{model-resolver-wwqbqry9.js → schema-aab0xmbg.js} +9 -9
  113. package/dist/chunks/{model-resolver-aaet6srn.js → schema-aaet6srn.js} +2 -2
  114. package/dist/chunks/{model-resolver-7y2ssk5t.js → schema-agpybfmq.js} +30 -30
  115. package/dist/chunks/{model-resolver-0w4g3y4c.js → schema-ap14k8bx.js} +17 -17
  116. package/dist/chunks/{model-resolver-0cjtfqfg.js → schema-ar5g7bvd.js} +30 -30
  117. package/dist/chunks/{model-resolver-hkfaxnqd.js → schema-asn7e76h.js} +20 -20
  118. package/dist/chunks/{model-resolver-qpyj4d94.js → schema-axd5pf8v.js} +11 -11
  119. package/dist/chunks/{model-resolver-wj7vq2ea.js → schema-b5q3f6sv.js} +19 -19
  120. package/dist/chunks/{model-resolver-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
  121. package/dist/chunks/{model-resolver-2ej4jj92.js → schema-bavh6hmm.js} +12 -12
  122. package/dist/chunks/{model-resolver-z07pqspn.js → schema-bjtzbw4r.js} +3 -3
  123. package/dist/chunks/{model-resolver-wgtcm0m7.js → schema-bk7jaeqh.js} +4 -4
  124. package/dist/chunks/{model-resolver-jpqeh2wc.js → schema-btbmdjwj.js} +4 -4
  125. package/dist/chunks/{model-resolver-d2va843e.js → schema-c0f37q3v.js} +10 -10
  126. package/dist/chunks/schema-c3z7xvjd.js +26 -0
  127. package/dist/chunks/{model-resolver-2507s413.js → schema-c4cjbe88.js} +9 -9
  128. package/dist/chunks/{model-resolver-e72j5d8n.js → schema-c4xegnd6.js} +1 -1
  129. package/dist/chunks/{model-resolver-12gw954a.js → schema-cavxacsx.js} +7 -7
  130. package/dist/chunks/{model-resolver-phpw85vv.js → schema-ceetf7sw.js} +6 -6
  131. package/dist/chunks/{model-resolver-5xtgfte3.js → schema-cmwkp3r5.js} +8 -8
  132. package/dist/chunks/{model-resolver-5g9mk9a9.js → schema-ct7vea8c.js} +19 -19
  133. package/dist/chunks/{model-resolver-wb1r8yr9.js → schema-cxfg4d91.js} +6 -6
  134. package/dist/chunks/{model-resolver-tjb0cp7v.js → schema-d2krc34p.js} +33 -33
  135. package/dist/chunks/{model-resolver-5e1pzs32.js → schema-d737nyfv.js} +9 -9
  136. package/dist/chunks/{model-resolver-nrsh6tk0.js → schema-dhnefc5h.js} +46 -46
  137. package/dist/chunks/{model-resolver-09zzmmve.js → schema-dj0njyye.js} +11 -11
  138. package/dist/chunks/{model-resolver-djszqvmq.js → schema-djszqvmq.js} +2 -2
  139. package/dist/chunks/{model-resolver-g4zc67y8.js → schema-dks45fbe.js} +12 -12
  140. package/dist/chunks/{model-resolver-x661k3y3.js → schema-dnxkq42g.js} +4 -4
  141. package/dist/chunks/{model-resolver-y71avatq.js → schema-dpkg50ah.js} +4 -4
  142. package/dist/chunks/{model-resolver-v4a37k2n.js → schema-dy4czjxa.js} +59 -59
  143. package/dist/chunks/{model-resolver-ecfe7b91.js → schema-ecfe7b91.js} +2 -2
  144. package/dist/chunks/{model-resolver-d96fczqh.js → schema-ef206a6w.js} +17 -17
  145. package/dist/chunks/{model-resolver-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
  146. package/dist/chunks/{model-resolver-afrtgck4.js → schema-ermxvwhp.js} +4 -4
  147. package/dist/chunks/{model-resolver-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
  148. package/dist/chunks/{model-resolver-evbgk2k8.js → schema-evbgk2k8.js} +2 -2
  149. package/dist/chunks/{model-resolver-vqmd05dp.js → schema-f2py9ab6.js} +20 -20
  150. package/dist/chunks/{model-resolver-fgwp6wvs.js → schema-f6bw9b7d.js} +29 -29
  151. package/dist/chunks/{model-resolver-qkn0bf4a.js → schema-fc6re8k6.js} +8 -8
  152. package/dist/chunks/{model-resolver-jjs74g98.js → schema-fhs97t90.js} +9 -9
  153. package/dist/chunks/{model-resolver-zzypbymf.js → schema-fj1w1qxk.js} +16 -16
  154. package/dist/chunks/{model-resolver-36cdy2c1.js → schema-fmeq518m.js} +13 -13
  155. package/dist/chunks/{model-resolver-mgeh0yn6.js → schema-fwmc3p2a.js} +5 -5
  156. package/dist/chunks/{model-resolver-82rhge12.js → schema-fwwk8vbp.js} +2 -2
  157. package/dist/chunks/{model-resolver-3xs92vpq.js → schema-fz4jx657.js} +11 -11
  158. package/dist/chunks/{model-resolver-jjgtwx64.js → schema-g7zmhxpe.js} +18 -18
  159. package/dist/chunks/{model-resolver-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
  160. package/dist/chunks/{model-resolver-yc2dt6gh.js → schema-gfa817nt.js} +46 -46
  161. package/dist/chunks/{model-resolver-94ek1h2f.js → schema-gfvb90ym.js} +2 -2
  162. package/dist/chunks/{model-resolver-t7zmjtqp.js → schema-ghd8rszk.js} +7 -7
  163. package/dist/chunks/schema-ghvt0j6w.js +252 -0
  164. package/dist/chunks/{model-resolver-gv6a8nnw.js → schema-gv6a8nnw.js} +2 -2
  165. package/dist/chunks/{model-resolver-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
  166. package/dist/chunks/{model-resolver-0jkw1j53.js → schema-hdab2k61.js} +6 -6
  167. package/dist/chunks/{model-resolver-93934eye.js → schema-he3390vg.js} +6 -6
  168. package/dist/chunks/{model-resolver-t88yr9ve.js → schema-hetb5xxa.js} +15 -15
  169. package/dist/chunks/{model-resolver-dyqx6pj7.js → schema-hjcva307.js} +11 -11
  170. package/dist/chunks/{model-resolver-j56e64zr.js → schema-j56e64zr.js} +1 -1
  171. package/dist/chunks/{model-resolver-hkagk5ex.js → schema-j699j8bt.js} +2 -2
  172. package/dist/chunks/{model-resolver-zgnhzt77.js → schema-j7ym9e45.js} +5 -5
  173. package/dist/chunks/{model-resolver-86b7s5s7.js → schema-j89jbpxd.js} +21 -21
  174. package/dist/chunks/{model-resolver-hts4vzf1.js → schema-j9vwtd15.js} +16 -16
  175. package/dist/chunks/{model-resolver-y6mjvh6p.js → schema-jbvsa6eq.js} +6 -6
  176. package/dist/chunks/{model-resolver-x929eknx.js → schema-jc4vhaqb.js} +9 -9
  177. package/dist/chunks/{model-resolver-02mam7mg.js → schema-jjywpw55.js} +17 -17
  178. package/dist/chunks/{model-resolver-8tb71k3x.js → schema-jkvmawpd.js} +9 -9
  179. package/dist/chunks/{model-resolver-aye9t8w1.js → schema-jv0hjpkt.js} +11 -11
  180. package/dist/chunks/{model-resolver-rbcy0mcv.js → schema-jwygws3r.js} +13 -13
  181. package/dist/chunks/{model-resolver-40py8n81.js → schema-jzdd0kff.js} +4 -4
  182. package/dist/chunks/{model-resolver-enf33bpj.js → schema-k1hbv25z.js} +11 -11
  183. package/dist/chunks/{model-resolver-ncjresk4.js → schema-k1qrnqst.js} +8 -8
  184. package/dist/chunks/{model-resolver-k3c624dm.js → schema-k3c624dm.js} +3 -3
  185. package/dist/chunks/{model-resolver-h0ttmn00.js → schema-k42ydg5t.js} +15 -15
  186. package/dist/chunks/{model-resolver-pc4b88sv.js → schema-kb6gw2zp.js} +4 -4
  187. package/dist/chunks/{model-resolver-gjr5vbhk.js → schema-kbev84wv.js} +10 -10
  188. package/dist/chunks/{model-resolver-gcavn3wx.js → schema-kzdcqyn1.js} +5 -5
  189. package/dist/chunks/{model-resolver-dj2b5gt2.js → schema-m1nj95vb.js} +42 -42
  190. package/dist/chunks/{model-resolver-m3fdjcah.js → schema-m3fdjcah.js} +1 -1
  191. package/dist/chunks/{model-resolver-tn2czw04.js → schema-m4f215s9.js} +15 -15
  192. package/dist/chunks/{model-resolver-6q5nb5ny.js → schema-m6frs5w8.js} +26 -26
  193. package/dist/chunks/{model-resolver-cdynj408.js → schema-m8t9ns79.js} +23 -23
  194. package/dist/chunks/{model-resolver-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
  195. package/dist/chunks/{model-resolver-gktpjf8e.js → schema-mbsv9vj9.js} +10 -10
  196. package/dist/chunks/{model-resolver-mfqp6xfm.js → schema-mfqp6xfm.js} +2 -2
  197. package/dist/chunks/{model-resolver-r5x6zcsm.js → schema-mhkvc446.js} +3 -3
  198. package/dist/chunks/{model-resolver-14gkyck6.js → schema-mqvqsp83.js} +22 -22
  199. package/dist/chunks/{model-resolver-s6vew4x4.js → schema-mtmx6r04.js} +21 -21
  200. package/dist/chunks/{model-resolver-782920ah.js → schema-myez78q6.js} +33 -33
  201. package/dist/chunks/{model-resolver-6660xsne.js → schema-n0aj83jp.js} +28 -28
  202. package/dist/chunks/{model-resolver-6nxs6bmb.js → schema-n0pywpq4.js} +6 -6
  203. package/dist/chunks/{model-resolver-k41vwr9d.js → schema-n1hg9gss.js} +9 -9
  204. package/dist/chunks/{model-resolver-9eq5kwq7.js → schema-n2kah95r.js} +8 -8
  205. package/dist/chunks/{model-resolver-312373c7.js → schema-n72fdvhp.js} +2 -2
  206. package/dist/chunks/{model-resolver-w2w41gxq.js → schema-njpngphx.js} +19 -19
  207. package/dist/chunks/{model-resolver-4g4nqdg4.js → schema-nrqyh1vy.js} +26 -26
  208. package/dist/chunks/{model-resolver-esmfnkq0.js → schema-nzpgeyy9.js} +33 -33
  209. package/dist/chunks/{model-resolver-wmmnpfs6.js → schema-p0vqbhj1.js} +24 -24
  210. package/dist/chunks/{model-resolver-rz6dkkgy.js → schema-p1cpmwyf.js} +19 -19
  211. package/dist/chunks/{model-resolver-beyx1pkk.js → schema-p5kx0wbj.js} +22 -22
  212. package/dist/chunks/{model-resolver-qxcr5sj8.js → schema-p642a9hn.js} +24 -24
  213. package/dist/chunks/{model-resolver-0v5grnq4.js → schema-p6fh795y.js} +39 -39
  214. package/dist/chunks/{model-resolver-tvmwean2.js → schema-p9zde1ds.js} +4 -4
  215. package/dist/chunks/{model-resolver-2y1mzw7q.js → schema-pat95rpb.js} +23 -23
  216. package/dist/chunks/{model-resolver-e5tcccaa.js → schema-pf3z77yb.js} +11 -11
  217. package/dist/chunks/{model-resolver-fwwaqksj.js → schema-pjt7axjg.js} +22 -22
  218. package/dist/chunks/{model-resolver-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
  219. package/dist/chunks/{model-resolver-ndmv45hp.js → schema-pk2244jm.js} +3 -3
  220. package/dist/chunks/{model-resolver-pknna89w.js → schema-pknna89w.js} +1 -1
  221. package/dist/chunks/{model-resolver-ae8tse6q.js → schema-pqce1zvc.js} +10 -10
  222. package/dist/chunks/{model-resolver-wd3x2cqz.js → schema-psazpmmj.js} +2 -2
  223. package/dist/chunks/{model-resolver-hzr2qqx8.js → schema-pzhynvvn.js} +24 -24
  224. package/dist/chunks/{model-resolver-7dqw4kz8.js → schema-qgn6gcr1.js} +5 -5
  225. package/dist/chunks/{model-resolver-510m7gjw.js → schema-qjnxxf51.js} +5 -5
  226. package/dist/chunks/{model-resolver-qsdy395h.js → schema-qsdy395h.js} +1 -1
  227. package/dist/chunks/{model-resolver-qd6sxt3f.js → schema-qw8akyjk.js} +13 -13
  228. package/dist/chunks/{model-resolver-e6hd9jay.js → schema-r33ff4dw.js} +6 -6
  229. package/dist/chunks/{model-resolver-x3ymtx59.js → schema-r628jyme.js} +16 -16
  230. package/dist/chunks/{model-resolver-3nk0dpt4.js → schema-r8pz5scw.js} +11 -11
  231. package/dist/chunks/{model-resolver-p0d9yfeb.js → schema-rayvshcv.js} +91 -91
  232. package/dist/chunks/{model-resolver-0ybcar0z.js → schema-rd34n9kj.js} +30 -30
  233. package/dist/chunks/{model-resolver-xdxwx81a.js → schema-rd5nw8th.js} +22 -22
  234. package/dist/chunks/{model-resolver-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
  235. package/dist/chunks/{model-resolver-c63b3eb6.js → schema-reyfe09k.js} +28 -28
  236. package/dist/chunks/{model-resolver-et80q73h.js → schema-rh3808zc.js} +16 -16
  237. package/dist/chunks/{model-resolver-02nrjc1r.js → schema-rhjbct0v.js} +6 -6
  238. package/dist/chunks/{model-resolver-309z119j.js → schema-rkw03b1m.js} +22 -22
  239. package/dist/chunks/{model-resolver-wcqjfzwh.js → schema-rqm599xb.js} +11 -11
  240. package/dist/chunks/{model-resolver-nc7t749v.js → schema-rxe9kw1p.js} +67 -67
  241. package/dist/chunks/{model-resolver-gvsybxtf.js → schema-ryxzba5a.js} +80 -80
  242. package/dist/chunks/{model-resolver-6z9y85k1.js → schema-rz37p9h3.js} +12 -12
  243. package/dist/chunks/{model-resolver-hkfg6fzm.js → schema-s8zy8myc.js} +5 -5
  244. package/dist/chunks/{model-resolver-kjwygmc9.js → schema-satgepa2.js} +45 -45
  245. package/dist/chunks/{model-resolver-kb6jkvf1.js → schema-scthj3mq.js} +41 -41
  246. package/dist/chunks/{model-resolver-a81kfqvn.js → schema-syf57q56.js} +4 -4
  247. package/dist/chunks/{model-resolver-8f7td570.js → schema-t86dzknw.js} +5 -5
  248. package/dist/chunks/{model-resolver-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
  249. package/dist/chunks/{model-resolver-tcezcvh9.js → schema-tcezcvh9.js} +1 -1
  250. package/dist/chunks/{model-resolver-tdstcens.js → schema-tdstcens.js} +1 -1
  251. package/dist/chunks/{model-resolver-6j0d4bfq.js → schema-tk3wk1e5.js} +13 -13
  252. package/dist/chunks/{model-resolver-cq364ng9.js → schema-tpw8qqng.js} +15 -15
  253. package/dist/chunks/{model-resolver-wg9731he.js → schema-tqae5094.js} +5 -5
  254. package/dist/chunks/{model-resolver-f83da79h.js → schema-trbrt766.js} +5 -5
  255. package/dist/chunks/{model-resolver-sbgs7n57.js → schema-tt5x9kn1.js} +9 -9
  256. package/dist/chunks/{model-resolver-tvtrv512.js → schema-tvtrv512.js} +1 -1
  257. package/dist/chunks/{model-resolver-zexagpgf.js → schema-v1661eqb.js} +34 -34
  258. package/dist/chunks/{model-resolver-a0gyjzw3.js → schema-v26931bg.js} +34 -34
  259. package/dist/chunks/{model-resolver-m3c96kre.js → schema-v7m34wzh.js} +14 -14
  260. package/dist/chunks/{model-resolver-2wtv204s.js → schema-v7pzj4a7.js} +15 -15
  261. package/dist/chunks/{model-resolver-3kk1mn5p.js → schema-vdt39ctd.js} +22 -22
  262. package/dist/chunks/{model-resolver-veqvce7d.js → schema-veqvce7d.js} +1 -1
  263. package/dist/chunks/{model-resolver-m2hdddfe.js → schema-vqfr7fmp.js} +23 -23
  264. package/dist/chunks/{model-resolver-va9r1m6h.js → schema-vqhejtjq.js} +39 -39
  265. package/dist/chunks/{model-resolver-vzcthcp8.js → schema-vzcthcp8.js} +1 -1
  266. package/dist/chunks/{model-resolver-vzs5sf6e.js → schema-vzs5sf6e.js} +1 -1
  267. package/dist/chunks/{model-resolver-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
  268. package/dist/chunks/{model-resolver-d1wa36m8.js → schema-w4d3zdxr.js} +5 -5
  269. package/dist/chunks/{model-resolver-wd87259q.js → schema-wd87259q.js} +1 -1
  270. package/dist/chunks/{model-resolver-e08g86r3.js → schema-wv04wdpg.js} +11 -11
  271. package/dist/chunks/{model-resolver-xa1e8bc0.js → schema-x1443ggv.js} +6 -6
  272. package/dist/chunks/{model-resolver-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
  273. package/dist/chunks/{model-resolver-z28qgkdb.js → schema-xk4x4c8s.js} +16 -16
  274. package/dist/chunks/{model-resolver-xkntkrq7.js → schema-xkntkrq7.js} +2 -2
  275. package/dist/chunks/{model-resolver-e80a14hq.js → schema-xm7brr7w.js} +8 -8
  276. package/dist/chunks/{model-resolver-q5cxqncr.js → schema-y1dkk1pz.js} +3 -3
  277. package/dist/chunks/{model-resolver-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
  278. package/dist/chunks/{model-resolver-akrnn5pm.js → schema-y3q03scc.js} +8 -8
  279. package/dist/chunks/{model-resolver-5aexa4he.js → schema-y66yym3e.js} +33 -33
  280. package/dist/chunks/{model-resolver-1acjjqhc.js → schema-yp2x3t23.js} +4 -4
  281. package/dist/chunks/{model-resolver-yrhqyw5v.js → schema-yrhqyw5v.js} +1 -1
  282. package/dist/chunks/{model-resolver-4txbmjfp.js → schema-yrna4ww2.js} +13 -13
  283. package/dist/chunks/{model-resolver-yrznvahk.js → schema-yrznvahk.js} +2 -2
  284. package/dist/chunks/{model-resolver-fbmcmy2w.js → schema-yzyvjjcs.js} +4 -4
  285. package/dist/chunks/{model-resolver-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
  286. package/dist/chunks/{model-resolver-9a3afvhq.js → schema-z4vpgnje.js} +5 -5
  287. package/dist/chunks/{model-resolver-z63w68vq.js → schema-z63w68vq.js} +2 -2
  288. package/dist/chunks/{model-resolver-zeh9ct20.js → schema-zeh9ct20.js} +2 -2
  289. package/dist/chunks/{model-resolver-e9e65bk8.js → schema-zm01gqxz.js} +29 -29
  290. package/dist/chunks/{model-resolver-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
  291. package/dist/chunks/{model-resolver-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +5 -5
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +85 -85
  297. package/dist/config/discovery.js +82 -82
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +123 -123
  301. package/dist/config/plugin/command.js +213 -213
  302. package/dist/config/plugin/compaction.js +161 -161
  303. package/dist/config/plugin/compatibility.js +141 -141
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +123 -123
  309. package/dist/config/plugin/mcp.js +130 -130
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +123 -123
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +123 -123
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +142 -142
  316. package/dist/config/plugin/snapshot.js +123 -123
  317. package/dist/config/plugin/source.js +120 -120
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +122 -122
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +128 -128
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +85 -85
  326. package/dist/database/database.js +70 -70
  327. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +15 -15
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +16 -16
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +79 -79
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +371 -371
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +3 -3
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +93 -93
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +95 -95
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +74 -74
  416. package/dist/file-access.js +100 -100
  417. package/dist/file-mutation.js +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/ignore.js +1 -1
  424. package/dist/filesystem/location-watcher-policy.js +2 -2
  425. package/dist/filesystem/location-watcher.js +222 -222
  426. package/dist/filesystem/protected.js +1 -1
  427. package/dist/filesystem/search.js +103 -103
  428. package/dist/filesystem/watcher-binding.js +1 -1
  429. package/dist/filesystem/watcher.js +15 -15
  430. package/dist/filesystem.js +102 -102
  431. package/dist/form.js +84 -84
  432. package/dist/formatter/builtins.js +4 -4
  433. package/dist/formatter.js +87 -87
  434. package/dist/generate.js +99 -99
  435. package/dist/git.js +10 -10
  436. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  437. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  438. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  440. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  442. package/dist/github-copilot/copilot-provider.js +17 -17
  443. package/dist/github-copilot/models.js +99 -99
  444. package/dist/github-copilot/openai-compatible-error.js +1 -1
  445. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  446. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  447. package/dist/github-copilot/responses/openai-error.js +1 -1
  448. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  449. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  450. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  451. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  452. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  455. package/dist/id/id.js +1 -1
  456. package/dist/image/photon.js +2 -2
  457. package/dist/image.js +6 -6
  458. package/dist/instance/service.js +5 -5
  459. package/dist/instance.js +362 -362
  460. package/dist/instruction-discovery.js +85 -85
  461. package/dist/instructions/builtins.js +87 -87
  462. package/dist/instructions/index.js +3 -3
  463. package/dist/integration/connection.js +3 -3
  464. package/dist/integration.js +87 -87
  465. package/dist/job.js +77 -77
  466. package/dist/kv/sql.js +2 -2
  467. package/dist/kv.js +73 -73
  468. package/dist/location-activity.js +135 -135
  469. package/dist/location-lifecycle.js +107 -107
  470. package/dist/location-service-map.js +86 -86
  471. package/dist/location-services.js +359 -359
  472. package/dist/location.js +87 -87
  473. package/dist/managed-policy.js +5 -5
  474. package/dist/mcp/client.js +91 -91
  475. package/dist/mcp/index.js +101 -101
  476. package/dist/mcp/instructions.js +125 -125
  477. package/dist/mcp/oauth.js +78 -78
  478. package/dist/mcp/stdio.js +90 -90
  479. package/dist/mime.js +1 -1
  480. package/dist/modal/models.js +99 -99
  481. package/dist/model-resolver.js +96 -96
  482. package/dist/model.js +102 -102
  483. package/dist/models-dev.js +105 -105
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +82 -82
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +113 -113
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +80 -80
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +75 -75
  493. package/dist/plugin/agent.js +102 -102
  494. package/dist/plugin/command.js +100 -100
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +219 -219
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +334 -334
  500. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  501. package/dist/plugin/models-dev.js +96 -96
  502. package/dist/plugin/module.js +7 -7
  503. package/dist/plugin/optimize.js +2 -2
  504. package/dist/plugin/plan.js +102 -102
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  507. package/dist/plugin/provider/azure.js +122 -122
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +119 -119
  513. package/dist/plugin/provider/digitalocean.js +93 -93
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/gateway.js +2 -2
  517. package/dist/plugin/provider/github-copilot.js +95 -95
  518. package/dist/plugin/provider/gitlab.js +93 -93
  519. package/dist/plugin/provider/google-vertex.js +90 -90
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +78 -78
  522. package/dist/plugin/provider/lmstudio.js +120 -120
  523. package/dist/plugin/provider/modal.js +92 -92
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +122 -122
  526. package/dist/plugin/provider/openai.js +93 -93
  527. package/dist/plugin/provider/opencode.js +95 -95
  528. package/dist/plugin/provider/openrouter.js +91 -91
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +79 -79
  531. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  532. package/dist/plugin/provider/sap-ai-core.js +91 -91
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  535. package/dist/plugin/provider/venice.js +2 -2
  536. package/dist/plugin/provider/vercel.js +90 -90
  537. package/dist/plugin/provider/vllm.js +122 -122
  538. package/dist/plugin/provider/xai.js +91 -91
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +162 -162
  541. package/dist/plugin/sdk.js +76 -76
  542. package/dist/plugin/service.js +1 -1
  543. package/dist/plugin/skill.js +139 -139
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +349 -349
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +2 -2
  548. package/dist/plugin/vcs/git.js +86 -86
  549. package/dist/plugin/vcs/hg.js +86 -86
  550. package/dist/plugin/verbosity.js +93 -93
  551. package/dist/plugin/warming.js +121 -121
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +2 -2
  556. package/dist/plugin/websearch/parallel.js +6 -6
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +224 -224
  560. package/dist/project/schema.js +6 -6
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +88 -88
  563. package/dist/provider.js +101 -101
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +95 -95
  567. package/dist/reference/instructions.js +87 -87
  568. package/dist/reference.js +91 -91
  569. package/dist/repository-cache.js +81 -81
  570. package/dist/repository.js +3 -3
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +95 -95
  573. package/dist/rpc.js +86 -86
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +1 -1
  576. package/dist/session/command.js +74 -74
  577. package/dist/session/compaction.js +135 -135
  578. package/dist/session/context.js +153 -153
  579. package/dist/session/diff.js +88 -88
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +224 -224
  584. package/dist/session/execution.js +128 -128
  585. package/dist/session/generate.js +152 -152
  586. package/dist/session/history.js +13 -13
  587. package/dist/session/inbox.js +88 -88
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +77 -77
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +93 -93
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +118 -118
  595. package/dist/session/model-transport.js +7 -7
  596. package/dist/session/move.js +130 -130
  597. package/dist/session/projector.js +86 -86
  598. package/dist/session/prompt.js +105 -105
  599. package/dist/session/provider-context.js +3 -3
  600. package/dist/session/revert.js +90 -90
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +230 -230
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +94 -94
  606. package/dist/session/runner/publish-llm-event.js +3 -3
  607. package/dist/session/runner/retry.js +4 -4
  608. package/dist/session/runner/step.js +124 -124
  609. package/dist/session/runner/to-llm-message.js +2 -2
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +170 -170
  612. package/dist/session/shell.js +138 -138
  613. package/dist/session/skill.js +103 -103
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +75 -75
  616. package/dist/session/store.js +87 -87
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +209 -209
  619. package/dist/session/system-prompt.js +1 -1
  620. package/dist/session/title.js +151 -151
  621. package/dist/session/to-session-error.js +111 -111
  622. package/dist/session/transfer.js +224 -224
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +217 -217
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +13 -13
  629. package/dist/shell.js +138 -138
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +107 -107
  632. package/dist/skill.js +112 -112
  633. package/dist/snapshot.js +93 -93
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +126 -126
  638. package/dist/tool/plugin/edit.js +120 -120
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +124 -124
  641. package/dist/tool/plugin/grep.js +124 -124
  642. package/dist/tool/plugin/mcp-resource.js +117 -117
  643. package/dist/tool/plugin/opencode.js +3 -3
  644. package/dist/tool/plugin/patch.js +122 -122
  645. package/dist/tool/plugin/question.js +103 -103
  646. package/dist/tool/plugin/read.js +125 -125
  647. package/dist/tool/plugin/shell.js +216 -216
  648. package/dist/tool/plugin/skill.js +111 -111
  649. package/dist/tool/plugin/subagent.js +218 -218
  650. package/dist/tool/plugin/webfetch.js +106 -106
  651. package/dist/tool/plugin/websearch.js +112 -112
  652. package/dist/tool/plugin/write.js +114 -114
  653. package/dist/tool/read-filesystem.js +96 -96
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +8 -8
  656. package/dist/tool.js +14 -14
  657. package/dist/util/error-summary.js +1 -1
  658. package/dist/util/error.js +1 -1
  659. package/dist/util/git-executable.js +2 -2
  660. package/dist/util/iife.js +1 -1
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +5 -5
  667. package/dist/v1/config/attachment.js +2 -2
  668. package/dist/v1/config/command.js +5 -5
  669. package/dist/v1/config/config.js +16 -16
  670. package/dist/v1/config/error.js +2 -2
  671. package/dist/v1/config/formatter.js +5 -5
  672. package/dist/v1/config/layout.js +1 -1
  673. package/dist/v1/config/lsp.js +5 -5
  674. package/dist/v1/config/mcp.js +4 -4
  675. package/dist/v1/config/migrate.js +92 -92
  676. package/dist/v1/config/permission.js +3 -3
  677. package/dist/v1/config/plugin.js +3 -3
  678. package/dist/v1/config/provider-options.js +1 -1
  679. package/dist/v1/config/provider.js +4 -4
  680. package/dist/v1/config/server.js +2 -2
  681. package/dist/v1/config/skills.js +1 -1
  682. package/dist/v1/permission.js +1 -1
  683. package/dist/variant.js +91 -91
  684. package/dist/vcs/patch.js +1 -1
  685. package/dist/vcs.js +87 -87
  686. package/dist/websearch.js +80 -80
  687. package/dist/wellknown/plugin.js +76 -76
  688. package/dist/wellknown.js +81 -81
  689. package/dist/workspace/driver.js +5 -5
  690. package/dist/workspace/sql.js +1 -1
  691. package/dist/workspace.js +80 -80
  692. package/dist/worktree/directory.js +2 -2
  693. package/dist/worktree/git.js +8 -8
  694. package/dist/worktree/sql.js +5 -5
  695. package/dist/worktree/strategies.js +89 -89
  696. package/dist/worktree.js +98 -98
  697. package/package.json +8 -8
  698. package/dist/chunks/model-resolver-289z41pq.js +0 -507
  699. package/dist/chunks/model-resolver-wzeytf8f.js +0 -252
  700. package/dist/chunks/model-resolver-xh9cn0qf.js +0 -26
  701. /package/dist/chunks/{model-resolver-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
  702. /package/dist/chunks/{model-resolver-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
  703. /package/dist/chunks/{model-resolver-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
  704. /package/dist/chunks/{model-resolver-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
  705. /package/dist/chunks/{model-resolver-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
  706. /package/dist/chunks/{model-resolver-24dcb14g.js → schema-24dcb14g.js} +0 -0
  707. /package/dist/chunks/{model-resolver-2710q6r3.js → schema-2710q6r3.js} +0 -0
  708. /package/dist/chunks/{model-resolver-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
  709. /package/dist/chunks/{model-resolver-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
  710. /package/dist/chunks/{model-resolver-34c7v6d4.js → schema-34c7v6d4.js} +0 -0
  711. /package/dist/chunks/{model-resolver-359p4xyc.js → schema-359p4xyc.js} +0 -0
  712. /package/dist/chunks/{model-resolver-3asan66x.js → schema-3asan66x.js} +0 -0
  713. /package/dist/chunks/{model-resolver-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
  714. /package/dist/chunks/{model-resolver-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
  715. /package/dist/chunks/{model-resolver-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
  716. /package/dist/chunks/{model-resolver-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
  717. /package/dist/chunks/{model-resolver-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
  718. /package/dist/chunks/{model-resolver-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
  719. /package/dist/chunks/{model-resolver-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
  720. /package/dist/chunks/{model-resolver-53557ph1.js → schema-53557ph1.js} +0 -0
  721. /package/dist/chunks/{model-resolver-550bvhaj.js → schema-550bvhaj.js} +0 -0
  722. /package/dist/chunks/{model-resolver-5qd3pb7m.js → schema-5qd3pb7m.js} +0 -0
  723. /package/dist/chunks/{model-resolver-6prwharc.js → schema-6prwharc.js} +0 -0
  724. /package/dist/chunks/{model-resolver-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
  725. /package/dist/chunks/{model-resolver-7m9af43g.js → schema-7m9af43g.js} +0 -0
  726. /package/dist/chunks/{model-resolver-822emrt2.js → schema-822emrt2.js} +0 -0
  727. /package/dist/chunks/{model-resolver-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
  728. /package/dist/chunks/{model-resolver-8n3pysct.js → schema-8n3pysct.js} +0 -0
  729. /package/dist/chunks/{model-resolver-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
  730. /package/dist/chunks/{model-resolver-922hggd3.js → schema-922hggd3.js} +0 -0
  731. /package/dist/chunks/{model-resolver-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
  732. /package/dist/chunks/{model-resolver-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
  733. /package/dist/chunks/{model-resolver-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
  734. /package/dist/chunks/{model-resolver-af5trqkr.js → schema-af5trqkr.js} +0 -0
  735. /package/dist/chunks/{model-resolver-afrmfg78.js → schema-afrmfg78.js} +0 -0
  736. /package/dist/chunks/{model-resolver-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
  737. /package/dist/chunks/{model-resolver-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
  738. /package/dist/chunks/{model-resolver-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
  739. /package/dist/chunks/{model-resolver-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
  740. /package/dist/chunks/{model-resolver-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
  741. /package/dist/chunks/{model-resolver-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
  742. /package/dist/chunks/{model-resolver-d9fn303g.js → schema-d9fn303g.js} +0 -0
  743. /package/dist/chunks/{model-resolver-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
  744. /package/dist/chunks/{model-resolver-dajrwvna.js → schema-dajrwvna.js} +0 -0
  745. /package/dist/chunks/{model-resolver-dap0rakb.js → schema-dap0rakb.js} +0 -0
  746. /package/dist/chunks/{model-resolver-df08tz66.js → schema-df08tz66.js} +0 -0
  747. /package/dist/chunks/{model-resolver-dy18nga0.js → schema-dy18nga0.js} +0 -0
  748. /package/dist/chunks/{model-resolver-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
  749. /package/dist/chunks/{model-resolver-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
  750. /package/dist/chunks/{model-resolver-ec1grn59.js → schema-ec1grn59.js} +0 -0
  751. /package/dist/chunks/{model-resolver-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
  752. /package/dist/chunks/{model-resolver-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
  753. /package/dist/chunks/{model-resolver-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
  754. /package/dist/chunks/{model-resolver-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
  755. /package/dist/chunks/{model-resolver-faypxj3z.js → schema-faypxj3z.js} +0 -0
  756. /package/dist/chunks/{model-resolver-fd410y7t.js → schema-fd410y7t.js} +0 -0
  757. /package/dist/chunks/{model-resolver-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
  758. /package/dist/chunks/{model-resolver-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
  759. /package/dist/chunks/{model-resolver-g86h250q.js → schema-g86h250q.js} +0 -0
  760. /package/dist/chunks/{model-resolver-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
  761. /package/dist/chunks/{model-resolver-gftt206x.js → schema-gftt206x.js} +0 -0
  762. /package/dist/chunks/{model-resolver-hjbc5kem.js → schema-hjbc5kem.js} +0 -0
  763. /package/dist/chunks/{model-resolver-hk9envan.js → schema-hk9envan.js} +0 -0
  764. /package/dist/chunks/{model-resolver-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
  765. /package/dist/chunks/{model-resolver-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
  766. /package/dist/chunks/{model-resolver-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
  767. /package/dist/chunks/{model-resolver-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
  768. /package/dist/chunks/{model-resolver-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
  769. /package/dist/chunks/{model-resolver-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
  770. /package/dist/chunks/{model-resolver-mp448xyj.js → schema-mp448xyj.js} +0 -0
  771. /package/dist/chunks/{model-resolver-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
  772. /package/dist/chunks/{model-resolver-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
  773. /package/dist/chunks/{model-resolver-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
  774. /package/dist/chunks/{model-resolver-njntx4h6.js → schema-njntx4h6.js} +0 -0
  775. /package/dist/chunks/{model-resolver-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
  776. /package/dist/chunks/{model-resolver-q74kybfr.js → schema-q74kybfr.js} +0 -0
  777. /package/dist/chunks/{model-resolver-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
  778. /package/dist/chunks/{model-resolver-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
  779. /package/dist/chunks/{model-resolver-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
  780. /package/dist/chunks/{model-resolver-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
  781. /package/dist/chunks/{model-resolver-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
  782. /package/dist/chunks/{model-resolver-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
  783. /package/dist/chunks/{model-resolver-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
  784. /package/dist/chunks/{model-resolver-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
  785. /package/dist/chunks/{model-resolver-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
  786. /package/dist/chunks/{model-resolver-w803qqfp.js → schema-w803qqfp.js} +0 -0
  787. /package/dist/chunks/{model-resolver-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
  788. /package/dist/chunks/{model-resolver-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
  789. /package/dist/chunks/{model-resolver-wtztk69x.js → schema-wtztk69x.js} +0 -0
  790. /package/dist/chunks/{model-resolver-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
  791. /package/dist/chunks/{model-resolver-x61499pn.js → schema-x61499pn.js} +0 -0
  792. /package/dist/chunks/{model-resolver-y44na4kk.js → schema-y44na4kk.js} +0 -0
  793. /package/dist/chunks/{model-resolver-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
  794. /package/dist/chunks/{model-resolver-y8f7s663.js → schema-y8f7s663.js} +0 -0
  795. /package/dist/chunks/{model-resolver-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
  796. /package/dist/chunks/{model-resolver-ym463w8f.js → schema-ym463w8f.js} +0 -0
  797. /package/dist/chunks/{model-resolver-z9919s4g.js → schema-z9919s4g.js} +0 -0
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-resolver-922hggd3.js";
3
+ } from "./schema-922hggd3.js";
4
+ import {
5
+ Service84,
6
+ node88
7
+ } from "./schema-jv0hjpkt.js";
4
8
  import {
5
9
  Service83,
6
10
  node87
7
- } from "./model-resolver-aye9t8w1.js";
8
- import {
9
- Service81,
10
- node84
11
- } from "./model-resolver-aaz4evtx.js";
11
+ } from "./schema-3hyet2nj.js";
12
12
  import {
13
- Service80,
14
- node83
15
- } from "./model-resolver-ktk6m7yv.js";
13
+ Service82,
14
+ node86
15
+ } from "./schema-68y7phbn.js";
16
16
  import {
17
- ID17,
17
+ ID18,
18
18
  Current3,
19
- Info33,
19
+ Info34,
20
20
  UpdateInput4,
21
21
  Event21,
22
22
  Vcs3
23
- } from "./model-resolver-4sn99hha.js";
23
+ } from "./schema-57ez7d0k.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./model-resolver-wd3x2cqz.js";
27
+ } from "./schema-psazpmmj.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./model-resolver-94ek1h2f.js";
30
+ } from "./schema-gfvb90ym.js";
31
31
  import {
32
32
  __export
33
- } from "./model-resolver-9rqn6x4v.js";
33
+ } from "./schema-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID16,
40
- Info: () => Info32,
39
+ ID: () => ID17,
40
+ Info: () => Info33,
41
41
  NotFoundError: () => NotFoundError11,
42
42
  Project: () => exports_project,
43
- Service: () => Service79,
43
+ Service: () => Service81,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node82,
46
+ node: () => node85,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
55
55
  import { AppProcess } from "@opencode/util/process";
56
56
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
57
57
  import { Hash } from "@opencode/util/hash";
58
- var ID16 = ID17;
58
+ var ID17 = ID18;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
- var Info32 = Info33;
61
+ var Info33 = Info34;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
64
  class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
65
- projectID: ID16
65
+ projectID: ID17
66
66
  }) {
67
67
  }
68
68
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -72,7 +72,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
72
72
  });
73
73
  var ACTIVATE_INTERVAL = 60000;
74
74
 
75
- class Service79 extends Context.Service()("@opencode/Project") {
75
+ class Service81 extends Context.Service()("@opencode/Project") {
76
76
  }
77
77
  function fromRow(row) {
78
78
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -95,12 +95,12 @@ function fromRow(row) {
95
95
  sandboxes: row.sandboxes
96
96
  };
97
97
  }
98
- var layer = Layer.effect(Service79, Effect.gen(function* () {
98
+ var layer = Layer.effect(Service81, Effect.gen(function* () {
99
99
  const fs = yield* FSUtil.Service;
100
- const git = yield* Service80;
100
+ const git = yield* Service82;
101
101
  const proc = yield* AppProcess.Service;
102
- const bus = yield* Service81;
103
- const db = (yield* Service83).db;
102
+ const bus = yield* Service83;
103
+ const db = (yield* Service84).db;
104
104
  const announcing = new Set;
105
105
  const persist = Effect.fnUntraced(function* (project) {
106
106
  const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
145
145
  yield* bus.publish(Worktree.Event.Resolved, {
146
146
  projectID: item.projectID,
147
147
  directory: item.directory,
148
- previous: project.previous ?? ID16.global,
148
+ previous: project.previous ?? ID17.global,
149
149
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
150
150
  }, {
151
151
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
184
184
  yield* bus.publish(Event21.Updated, fromRow(row));
185
185
  });
186
186
  const cached = Effect.fnUntraced(function* (dir) {
187
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
187
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
188
188
  return;
189
189
  }));
190
190
  });
@@ -195,7 +195,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
195
195
  const normalized = url(origin);
196
196
  if (!normalized)
197
197
  return;
198
- return ID16.make(Hash.fast(`git-remote:${normalized}`));
198
+ return ID17.make(Hash.fast(`git-remote:${normalized}`));
199
199
  });
200
200
  function url(input) {
201
201
  const value = input.trim();
@@ -220,7 +220,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
220
220
  }
221
221
  const rootCommit = Effect.fnUntraced(function* (repo) {
222
222
  const root = (yield* git.history.rootCommits(repo))[0];
223
- return root ? ID16.make(root) : undefined;
223
+ return root ? ID17.make(root) : undefined;
224
224
  });
225
225
  const hgRoot = Effect.fnUntraced(function* (worktree) {
226
226
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
236
236
  return;
237
237
  const node = result.stdout.toString("utf8").split(`
238
238
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
239
- return node ? ID16.make(node) : undefined;
239
+ return node ? ID17.make(node) : undefined;
240
240
  });
241
241
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
242
242
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -245,7 +245,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
245
245
  const id = previous ?? (yield* hgRoot(worktree));
246
246
  return {
247
247
  previous,
248
- id: id ?? ID16.global,
248
+ id: id ?? ID17.global,
249
249
  directory: worktree,
250
250
  vcs: { type: "hg", store }
251
251
  };
@@ -262,7 +262,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
262
262
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
263
263
  return yield* persist({
264
264
  previous,
265
- id: id ?? ID16.global,
265
+ id: id ?? ID17.global,
266
266
  directory: repo.worktree,
267
267
  canonical,
268
268
  vcs: { type: "git", store: repo.commonDirectory }
@@ -276,18 +276,18 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
276
276
  });
277
277
  }
278
278
  return yield* persist({
279
- id: ID16.make(Hash.fast(`directory:${directory}`)),
279
+ id: ID17.make(Hash.fast(`directory:${directory}`)),
280
280
  directory,
281
281
  canonical: directory,
282
282
  vcs: undefined
283
283
  });
284
284
  });
285
- return Service79.of({ list, update, activate, resolve });
285
+ return Service81.of({ list, update, activate, resolve });
286
286
  }));
287
- var node82 = makeGlobalNode({
288
- service: Service79,
287
+ var node85 = makeGlobalNode({
288
+ service: Service81,
289
289
  layer,
290
- deps: [node84, node87, FSUtil.node, node83, AppProcess.node]
290
+ deps: [node87, node88, FSUtil.node, node86, AppProcess.node]
291
291
  });
292
292
 
293
- export { ID16, Vcs2, Current2, Info32, UpdateInput3, NotFoundError11, root2, Service79, node82, exports_project };
293
+ export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service81, node85, exports_project };
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service57
3
- } from "./model-resolver-6660xsne.js";
2
+ Service71
3
+ } from "./schema-n0aj83jp.js";
4
4
  import {
5
- Service53
6
- } from "./model-resolver-0jkw1j53.js";
5
+ Service51
6
+ } from "./schema-hdab2k61.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./model-resolver-7fj5dwt0.js";
9
+ } from "./schema-7fj5dwt0.js";
10
10
  import {
11
11
  __export
12
- } from "./model-resolver-9rqn6x4v.js";
12
+ } from "./schema-9rqn6x4v.js";
13
13
 
14
14
  // src/session/command.ts
15
15
  var exports_command3 = {};
@@ -19,8 +19,8 @@ __export(exports_command3, {
19
19
  });
20
20
  import { Effect } from "effect";
21
21
  var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
22
- const instances = yield* Service53;
23
- const commands = yield* awaitActivation2.pipe(Effect.andThen(Service57), instances.provide(input.session));
22
+ const instances = yield* Service51;
23
+ const commands = yield* awaitActivation2.pipe(Effect.andThen(Service71), instances.provide(input.session));
24
24
  yield* commands.execute({
25
25
  name: input.command,
26
26
  invocation: {
@@ -1,20 +1,20 @@
1
1
  import {
2
- ID15,
2
+ ID9,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./model-resolver-qxcr5sj8.js";
5
+ } from "./schema-p642a9hn.js";
6
6
  import {
7
7
  merge2
8
- } from "./model-resolver-m4mq5212.js";
8
+ } from "./schema-830gdwbz.js";
9
9
  import {
10
10
  __export
11
- } from "./model-resolver-9rqn6x4v.js";
11
+ } from "./schema-9rqn6x4v.js";
12
12
 
13
13
  // src/plugin/agent.ts
14
14
  var exports_agent2 = {};
15
15
  __export(exports_agent2, {
16
16
  AgentPlugin: () => exports_agent2,
17
- Plugin: () => Plugin33
17
+ Plugin: () => Plugin32
18
18
  });
19
19
  import { define } from "@opencode/plugin/effect/plugin";
20
20
  import { Effect } from "effect";
@@ -90,7 +90,7 @@ Rules:
90
90
  - Never ask questions or add new questions
91
91
  - If the conversation ends with an unanswered question to the user, preserve that exact question
92
92
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
93
- var Plugin33 = define({
93
+ var Plugin32 = define({
94
94
  id: "opencode.agent",
95
95
  effect: Effect.fn(function* (ctx) {
96
96
  yield* ctx.agent.transform((editor) => {
@@ -100,13 +100,13 @@ var Plugin33 = define({
100
100
  item.mode = "primary";
101
101
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
102
102
  });
103
- editor.update(ID15.make("general"), (item) => {
103
+ editor.update(ID9.make("general"), (item) => {
104
104
  item.name = Name3.make("General");
105
105
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
106
106
  item.mode = "subagent";
107
107
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
108
108
  });
109
- editor.update(ID15.make("explore"), (item) => {
109
+ editor.update(ID9.make("explore"), (item) => {
110
110
  const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
111
111
  item.name = Name3.make("Explore");
112
112
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
@@ -125,19 +125,19 @@ var Plugin33 = define({
125
125
  { action: "subagent", resource: "*", effect: "deny" }
126
126
  ], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
127
127
  });
128
- editor.update(ID15.make("compaction"), (item) => {
128
+ editor.update(ID9.make("compaction"), (item) => {
129
129
  item.name = Name3.make("Compaction");
130
130
  item.mode = "primary";
131
131
  item.hidden = true;
132
132
  });
133
- editor.update(ID15.make("title"), (item) => {
133
+ editor.update(ID9.make("title"), (item) => {
134
134
  item.name = Name3.make("Title");
135
135
  item.mode = "primary";
136
136
  item.hidden = true;
137
137
  item.system = PROMPT_TITLE;
138
138
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
139
139
  });
140
- editor.update(ID15.make("summary"), (item) => {
140
+ editor.update(ID9.make("summary"), (item) => {
141
141
  item.name = Name3.make("Summary");
142
142
  item.mode = "primary";
143
143
  item.hidden = true;
@@ -148,4 +148,4 @@ var Plugin33 = define({
148
148
  })
149
149
  });
150
150
 
151
- export { Plugin33, exports_agent2 };
151
+ export { Plugin32, exports_agent2 };
@@ -2,7 +2,7 @@ import {
2
2
  SQLiteEffectPreparedQuery2,
3
3
  SQLiteEffectSession2,
4
4
  SQLiteEffectTransaction2
5
- } from "./model-resolver-312373c7.js";
5
+ } from "./schema-n72fdvhp.js";
6
6
 
7
7
  // src/database/drizzle/effect-sqlite/session.ts
8
8
  import * as Context from "effect/Context";
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  useragent2
3
- } from "./model-resolver-e5tcccaa.js";
3
+ } from "./schema-pf3z77yb.js";
4
4
  import {
5
- Service81
6
- } from "./model-resolver-aaz4evtx.js";
5
+ Service83
6
+ } from "./schema-3hyet2nj.js";
7
7
  import {
8
8
  OAuth3,
9
- Event16
10
- } from "./model-resolver-5dhepvmf.js";
9
+ Event19
10
+ } from "./schema-1dngr6ye.js";
11
11
  import {
12
- ID8,
12
+ ID14,
13
13
  MethodID2
14
- } from "./model-resolver-tjb0cp7v.js";
14
+ } from "./schema-d2krc34p.js";
15
15
  import {
16
16
  which2
17
- } from "./model-resolver-qaymkmh1.js";
17
+ } from "./schema-qaymkmh1.js";
18
18
  import {
19
- ID7
20
- } from "./model-resolver-3ckfa135.js";
19
+ ID13
20
+ } from "./schema-8a6ajmms.js";
21
21
  import {
22
22
  iife2
23
- } from "./model-resolver-1kg9ymc8.js";
23
+ } from "./schema-1kg9ymc8.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./model-resolver-93934eye.js";
26
+ } from "./schema-he3390vg.js";
27
27
 
28
28
  // src/plugin/provider/azure.ts
29
29
  import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
@@ -43,9 +43,9 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
43
43
  var AzurePlugin2 = define({
44
44
  id: "opencode.provider.azure",
45
45
  effect: Effect.fn(function* (ctx) {
46
- const configured = yield* configuredSettings2(ID7.azure);
46
+ const configured = yield* configuredSettings2(ID13.azure);
47
47
  const processes = yield* AppProcess.Service;
48
- const bus = yield* Service81;
48
+ const bus = yield* Service83;
49
49
  const tokens = new Map;
50
50
  const loading = Semaphore.makeUnsafe(1);
51
51
  const loaded = {};
@@ -79,13 +79,13 @@ var AzurePlugin2 = define({
79
79
  });
80
80
  yield* ctx.integration.transform((editor) => {
81
81
  editor.method.update({
82
- integrationID: ID7.azure,
82
+ integrationID: ID13.azure,
83
83
  method: { type: "key", label: "API key", form: form() }
84
84
  });
85
85
  if (!available)
86
86
  return;
87
87
  editor.method.update({
88
- integrationID: ID7.azure,
88
+ integrationID: ID13.azure,
89
89
  method: {
90
90
  id: methodID,
91
91
  type: "oauth",
@@ -117,7 +117,7 @@ var AzurePlugin2 = define({
117
117
  });
118
118
  });
119
119
  const load = Effect.fn("AzurePlugin.load")(function* () {
120
- const connection = yield* ctx.integration.connection.active(ID7.azure);
120
+ const connection = yield* ctx.integration.connection.active(ID13.azure);
121
121
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
122
122
  return;
123
123
  })) : undefined;
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
131
131
  yield* load();
132
132
  yield* ctx.provider.transform((evt) => {
133
133
  for (const item of evt.list()) {
134
- if (item.provider.id !== ID7.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
134
+ if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
135
135
  continue;
136
136
  const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
137
137
  const websocket = responsesWebSocketCapable(item.provider);
@@ -149,7 +149,7 @@ var AzurePlugin2 = define({
149
149
  });
150
150
  yield* ctx.model.transform((models) => {
151
151
  for (const item of models.provider.list()) {
152
- if (item.provider.id !== ID7.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
152
+ if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
153
153
  continue;
154
154
  const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
155
155
  for (const model of models.list(item.provider.id)) {
@@ -161,9 +161,9 @@ var AzurePlugin2 = define({
161
161
  }
162
162
  });
163
163
  const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
164
- yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
164
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
165
165
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
166
- const connection = yield* ctx.integration.connection.active(ID7.azure);
166
+ const connection = yield* ctx.integration.connection.active(ID13.azure);
167
167
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
168
168
  return;
169
169
  })) : undefined;
@@ -175,7 +175,7 @@ var AzurePlugin2 = define({
175
175
  return `Bearer ${current.access}`;
176
176
  });
177
177
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
178
- if (evt.model.providerID !== ID7.azure)
178
+ if (evt.model.providerID !== ID13.azure)
179
179
  return;
180
180
  const authorization = yield* bearer(evt.request.url);
181
181
  if (!authorization)
@@ -184,9 +184,9 @@ var AzurePlugin2 = define({
184
184
  evt.request.headers.delete("x-api-key");
185
185
  evt.request.headers.set("authorization", authorization);
186
186
  evt.request.headers.set("user-agent", useragent2(ctx.app));
187
- }), { providerID: ID7.azure });
187
+ }), { providerID: ID13.azure });
188
188
  yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
189
- if (evt.model.providerID !== ID7.azure)
189
+ if (evt.model.providerID !== ID13.azure)
190
190
  return;
191
191
  const authorization = yield* bearer(evt.url);
192
192
  if (!authorization)
@@ -195,7 +195,7 @@ var AzurePlugin2 = define({
195
195
  delete evt.headers["x-api-key"];
196
196
  evt.headers.authorization = authorization;
197
197
  evt.headers["user-agent"] = useragent2(ctx.app);
198
- }), { providerID: ID7.azure });
198
+ }), { providerID: ID13.azure });
199
199
  })
200
200
  });
201
201
  function resolveResourceName(settings, fallback) {
@@ -1,34 +1,34 @@
1
1
  import {
2
- Service83
3
- } from "./model-resolver-aye9t8w1.js";
2
+ Service84
3
+ } from "./schema-jv0hjpkt.js";
4
4
  import {
5
- Service81
6
- } from "./model-resolver-aaz4evtx.js";
5
+ Service83
6
+ } from "./schema-3hyet2nj.js";
7
7
  import {
8
- Service53
9
- } from "./model-resolver-0jkw1j53.js";
8
+ Service51
9
+ } from "./schema-hdab2k61.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./model-resolver-922hggd3.js";
12
+ } from "./schema-922hggd3.js";
13
13
  import {
14
- ID5,
15
- Service42
16
- } from "./model-resolver-pq4mxcs4.js";
14
+ ID11,
15
+ Service72
16
+ } from "./schema-3sqwhcjh.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./model-resolver-ec1grn59.js";
19
+ } from "./schema-ec1grn59.js";
20
20
  import {
21
21
  SessionMessage2
22
- } from "./model-resolver-gftt206x.js";
22
+ } from "./schema-gftt206x.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./model-resolver-y6mjvh6p.js";
25
+ } from "./schema-jbvsa6eq.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./model-resolver-z07pqspn.js";
28
+ } from "./schema-bjtzbw4r.js";
29
29
  import {
30
30
  __export
31
- } from "./model-resolver-9rqn6x4v.js";
31
+ } from "./schema-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -42,12 +42,12 @@ __export(exports_revert, {
42
42
  import { and, asc, eq, gt } from "drizzle-orm";
43
43
  import { Effect, Schema } from "effect";
44
44
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
45
- const instances = yield* Service53;
46
- const database = yield* Service83;
47
- const bus = yield* Service81;
45
+ const instances = yield* Service51;
46
+ const database = yield* Service84;
47
+ const bus = yield* Service83;
48
48
  return yield* Effect.gen(function* () {
49
- const snapshot = yield* Service42;
50
- const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
49
+ const snapshot = yield* Service72;
50
+ const original = input.session.revert?.snapshot ? ID11.make(input.session.revert.snapshot) : yield* snapshot.capture();
51
51
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
52
52
  const restore = new Map;
53
53
  if (original) {
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
74
74
  }).pipe(instances.provide(input.session));
75
75
  });
76
76
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
77
- const instances = yield* Service53;
78
- const bus = yield* Service81;
77
+ const instances = yield* Service51;
78
+ const bus = yield* Service83;
79
79
  yield* Effect.gen(function* () {
80
- const snapshot = yield* Service42;
80
+ const snapshot = yield* Service72;
81
81
  if (!session.revert)
82
82
  return;
83
- const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
83
+ const original = session.revert.snapshot ? ID11.make(session.revert.snapshot) : undefined;
84
84
  if (original)
85
85
  yield* snapshot.restore({
86
86
  files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
111
111
  continue;
112
112
  for (const file of message.snapshot.files ?? [])
113
113
  if (!files.has(file))
114
- files.set(file, ID5.make(message.snapshot.start));
114
+ files.set(file, ID11.make(message.snapshot.start));
115
115
  }
116
116
  return files;
117
117
  });
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./model-resolver-e5tcccaa.js";
3
+ } from "./schema-pf3z77yb.js";
4
4
  import {
5
- Service81
6
- } from "./model-resolver-aaz4evtx.js";
5
+ Service83
6
+ } from "./schema-3hyet2nj.js";
7
7
  import {
8
8
  OAuth3,
9
- Event16,
10
- Service70
11
- } from "./model-resolver-5dhepvmf.js";
9
+ Event19,
10
+ Service78
11
+ } from "./schema-1dngr6ye.js";
12
12
  import {
13
- ID8,
13
+ ID14,
14
14
  MethodID2,
15
- Service69
16
- } from "./model-resolver-tjb0cp7v.js";
15
+ Service77
16
+ } from "./schema-d2krc34p.js";
17
17
  import {
18
18
  success2,
19
19
  error2
20
- } from "./model-resolver-pjvnvgmy.js";
20
+ } from "./schema-pjvnvgmy.js";
21
21
  import {
22
- ID7
23
- } from "./model-resolver-3ckfa135.js";
22
+ ID13
23
+ } from "./schema-8a6ajmms.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./model-resolver-93934eye.js";
26
+ } from "./schema-he3390vg.js";
27
27
 
28
28
  // src/plugin/provider/snowflake-cortex.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
30
30
  import { Form } from "@opencode/schema/form";
31
31
  import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
32
32
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
33
- var providerID = ID7.make("snowflake-cortex");
34
- var integrationID = ID8.make(providerID);
33
+ var providerID = ID13.make("snowflake-cortex");
34
+ var integrationID = ID14.make(providerID);
35
35
  var methodID = MethodID2.make("browser");
36
36
  var clientID = "LOCAL_APPLICATION";
37
37
  var accountForm = Form.Fields.make([
@@ -53,9 +53,9 @@ var SnowflakeCortexPlugin2 = define({
53
53
  id: "opencode.provider.snowflake.cortex",
54
54
  effect: Effect.fn(function* (ctx) {
55
55
  const http = yield* HttpClient.HttpClient;
56
- const credentials = yield* Service70;
57
- const integrations = yield* Service69;
58
- const bus = yield* Service81;
56
+ const credentials = yield* Service78;
57
+ const integrations = yield* Service77;
58
+ const bus = yield* Service83;
59
59
  const configured = yield* configuredSettings2(providerID);
60
60
  const account = { value: "" };
61
61
  const saved = Effect.gen(function* () {
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
184
184
  });
185
185
  }
186
186
  });
187
- yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
187
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
188
188
  yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
189
189
  const token = envToken();
190
190
  if (token)