@opencode/core 0.0.0-dev-19562 → 0.0.0-dev-19563

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 (788) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +78 -78
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{model-resolver-472r768p.js → rpc-04mfqke3.js} +3 -3
  9. package/dist/chunks/{model-resolver-y8104vkb.js → rpc-04rqewrt.js} +5 -5
  10. package/dist/chunks/{model-resolver-jzz0khf2.js → rpc-09d6vmh1.js} +9 -9
  11. package/dist/chunks/{model-resolver-pvpa96jk.js → rpc-0mvp0mh7.js} +18 -18
  12. package/dist/chunks/{model-resolver-0paq2nw3.js → rpc-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{model-resolver-0q0f95c6.js → rpc-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{model-resolver-e6qnhjcz.js → rpc-0w5xhpes.js} +9 -9
  15. package/dist/chunks/{model-resolver-2d57kztd.js → rpc-15zevn5w.js} +6 -6
  16. package/dist/chunks/{model-resolver-gh1at4hc.js → rpc-16fh04ec.js} +13 -13
  17. package/dist/chunks/{model-resolver-bh23canw.js → rpc-16ryaddz.js} +13 -13
  18. package/dist/chunks/{model-resolver-f2n192rq.js → rpc-1acjjqhc.js} +4 -4
  19. package/dist/chunks/{model-resolver-1dazxqgg.js → rpc-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{model-resolver-r8mwk7t1.js → rpc-1js01x30.js} +32 -32
  21. package/dist/chunks/{model-resolver-56gdpj1q.js → rpc-1ygqh575.js} +9 -9
  22. package/dist/chunks/{model-resolver-24p1656x.js → rpc-1zjf9yvn.js} +35 -35
  23. package/dist/chunks/{model-resolver-21r38tys.js → rpc-21r38tys.js} +1 -1
  24. package/dist/chunks/{model-resolver-h10s6dah.js → rpc-2336b01z.js} +8 -8
  25. package/dist/chunks/{model-resolver-yqtqx2tb.js → rpc-24zysf4r.js} +1 -1
  26. package/dist/chunks/{model-resolver-bw3m288y.js → rpc-286te107.js} +47 -47
  27. package/dist/chunks/{model-resolver-14fxtwre.js → rpc-29ykcmqg.js} +40 -40
  28. package/dist/chunks/{model-resolver-2a5m3afh.js → rpc-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{model-resolver-r345bmqf.js → rpc-2gq7g35w.js} +11 -11
  30. package/dist/chunks/{model-resolver-15abmk5b.js → rpc-2gvej5bs.js} +22 -22
  31. package/dist/chunks/{model-resolver-d9mtv62x.js → rpc-2pfz77pe.js} +23 -23
  32. package/dist/chunks/{model-resolver-pmqmstmj.js → rpc-37m66rke.js} +24 -24
  33. package/dist/chunks/{model-resolver-7gwa0hgg.js → rpc-3ard968h.js} +15 -15
  34. package/dist/chunks/{model-resolver-ztye28yt.js → rpc-3cg5qkzz.js} +13 -13
  35. package/dist/chunks/{model-resolver-qvb3nf84.js → rpc-3cwb9jzf.js} +8 -8
  36. package/dist/chunks/{model-resolver-gdvy8fx6.js → rpc-3fc6dm20.js} +4 -4
  37. package/dist/chunks/{model-resolver-ehav94k5.js → rpc-3h752403.js} +15 -15
  38. package/dist/chunks/{model-resolver-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{model-resolver-3smtnn6g.js → rpc-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{model-resolver-3tvqynh2.js → rpc-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{model-resolver-xxj3pgp3.js → rpc-3ztdxds0.js} +1 -1
  42. package/dist/chunks/{model-resolver-4w79hth0.js → rpc-41f61ev5.js} +8 -8
  43. package/dist/chunks/{model-resolver-s4vvta73.js → rpc-46t3hpnf.js} +9 -9
  44. package/dist/chunks/{model-resolver-ww2jdr25.js → rpc-49mee5h8.js} +17 -17
  45. package/dist/chunks/{model-resolver-sn15zvqk.js → rpc-4aqwh667.js} +20 -20
  46. package/dist/chunks/{model-resolver-jz0gg2wa.js → rpc-4gbc8xkz.js} +10 -10
  47. package/dist/chunks/{model-resolver-mqz2skd6.js → rpc-4hct64pd.js} +18 -18
  48. package/dist/chunks/{model-resolver-4j4p0yst.js → rpc-4jmdj23e.js} +9 -9
  49. package/dist/chunks/{model-resolver-00e8a32v.js → rpc-4jyw83yv.js} +7 -7
  50. package/dist/chunks/{model-resolver-r01t9b5y.js → rpc-4ns3h2re.js} +4 -4
  51. package/dist/chunks/rpc-4s989epk.js +247 -0
  52. package/dist/chunks/{model-resolver-wht86vv7.js → rpc-4ssmbb9f.js} +23 -23
  53. package/dist/chunks/{model-resolver-t0fxg8b9.js → rpc-4xbskmpe.js} +5 -5
  54. package/dist/chunks/{model-resolver-mcrwpmnc.js → rpc-4xr4bg31.js} +8 -8
  55. package/dist/chunks/{model-resolver-gea7vc3h.js → rpc-500m5zw2.js} +2 -2
  56. package/dist/chunks/{model-resolver-yrz8q0k0.js → rpc-524b8jaz.js} +1 -1
  57. package/dist/chunks/{model-resolver-7qpx1xb8.js → rpc-56s2cdtz.js} +41 -41
  58. package/dist/chunks/{model-resolver-a1bz86dw.js → rpc-5c4hm403.js} +3 -3
  59. package/dist/chunks/{model-resolver-5daktx2q.js → rpc-5daktx2q.js} +1 -1
  60. package/dist/chunks/{model-resolver-j699j8bt.js → rpc-5frpvc34.js} +2 -2
  61. package/dist/chunks/{model-resolver-s04evagd.js → rpc-5pbbnjst.js} +14 -14
  62. package/dist/chunks/{model-resolver-5t3nmthw.js → rpc-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{model-resolver-tm80w73m.js → rpc-5tstk5gw.js} +17 -17
  64. package/dist/chunks/{model-resolver-8ra0ktpd.js → rpc-5vsdfptq.js} +1 -1
  65. package/dist/chunks/{model-resolver-8as59qyc.js → rpc-5x59cjg9.js} +10 -10
  66. package/dist/chunks/{model-resolver-baajpyvs.js → rpc-5za0zb7s.js} +24 -24
  67. package/dist/chunks/{model-resolver-0jwsre1p.js → rpc-607tc6va.js} +5 -5
  68. package/dist/chunks/{model-resolver-k43t2cp1.js → rpc-645wt9kv.js} +6 -6
  69. package/dist/chunks/{model-resolver-9qc5egqb.js → rpc-65h43r7m.js} +9 -9
  70. package/dist/chunks/{model-resolver-669tq793.js → rpc-669tq793.js} +1 -1
  71. package/dist/chunks/rpc-68fqf9yb.js +4 -0
  72. package/dist/chunks/{model-resolver-2402vzrj.js → rpc-6h73sxmp.js} +5 -5
  73. package/dist/chunks/{model-resolver-pp4zvqwf.js → rpc-6hdhgy3w.js} +9 -9
  74. package/dist/chunks/{model-resolver-7kzjj59j.js → rpc-6kjxaxcs.js} +9 -9
  75. package/dist/chunks/{model-resolver-6msgmcgs.js → rpc-6msgmcgs.js} +1 -1
  76. package/dist/chunks/{model-resolver-8q68r2wm.js → rpc-6pdgntxq.js} +36 -36
  77. package/dist/chunks/{model-resolver-fke1fcjd.js → rpc-6sf48m2m.js} +14 -14
  78. package/dist/chunks/{model-resolver-w39ek3wx.js → rpc-6wbdxn87.js} +15 -15
  79. package/dist/chunks/{model-resolver-71q4at8m.js → rpc-71q4at8m.js} +1 -1
  80. package/dist/chunks/{model-resolver-dj4cd8g6.js → rpc-720ed7zc.js} +38 -38
  81. package/dist/chunks/{model-resolver-zwqxr9ac.js → rpc-72cpxe3g.js} +9 -9
  82. package/dist/chunks/{model-resolver-1bbkgx8g.js → rpc-73tb2d7t.js} +3 -3
  83. package/dist/chunks/{model-resolver-prmjvc7r.js → rpc-78qgck3m.js} +12 -12
  84. package/dist/chunks/{model-resolver-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
  85. package/dist/chunks/{model-resolver-sse3cj1p.js → rpc-7etsmvw3.js} +9 -9
  86. package/dist/chunks/{model-resolver-sna6xqnk.js → rpc-7jdjd6ea.js} +30 -30
  87. package/dist/chunks/{model-resolver-agnae2h9.js → rpc-7jjvc4sd.js} +11 -11
  88. package/dist/chunks/{model-resolver-kpcpvznn.js → rpc-7k1v1939.js} +22 -22
  89. package/dist/chunks/{model-resolver-ec8389mk.js → rpc-7z7az0f5.js} +4 -4
  90. package/dist/chunks/{model-resolver-mfhfdr54.js → rpc-81czwxpn.js} +4 -4
  91. package/dist/chunks/{model-resolver-89znhe33.js → rpc-89znhe33.js} +1 -1
  92. package/dist/chunks/{model-resolver-0r7yqxbf.js → rpc-8cmvxv2n.js} +5 -5
  93. package/dist/chunks/{model-resolver-8d7r5vzw.js → rpc-8d7r5vzw.js} +1 -1
  94. package/dist/chunks/{model-resolver-nrk5vjbf.js → rpc-8dff8bqa.js} +5 -5
  95. package/dist/chunks/{model-resolver-prw92f66.js → rpc-8fbcvdxz.js} +15 -15
  96. package/dist/chunks/{model-resolver-pk2244jm.js → rpc-8q7cq0y1.js} +2 -2
  97. package/dist/chunks/{model-resolver-8jnsm5sz.js → rpc-8tgg60xp.js} +4 -4
  98. package/dist/chunks/{model-resolver-fbwxg4d7.js → rpc-900rp600.js} +35 -35
  99. package/dist/chunks/{model-resolver-5cneagdz.js → rpc-919kr58w.js} +18 -18
  100. package/dist/chunks/{model-resolver-s6y5cb61.js → rpc-9fvtqfah.js} +26 -26
  101. package/dist/chunks/rpc-9nbg9rgn.js +466 -0
  102. package/dist/chunks/{model-resolver-3ccz5h33.js → rpc-9pa4pdaw.js} +25 -25
  103. package/dist/chunks/{model-resolver-xyrnn15f.js → rpc-9qxv0saq.js} +47 -47
  104. package/dist/chunks/{model-resolver-rj1enhmn.js → rpc-9tp6rg03.js} +55 -55
  105. package/dist/chunks/{model-resolver-eq6j5b08.js → rpc-9vqpc88m.js} +43 -43
  106. package/dist/chunks/{model-resolver-b21wsm0h.js → rpc-9zvw9xqf.js} +11 -11
  107. package/dist/chunks/{model-resolver-aaet6srn.js → rpc-aaet6srn.js} +2 -2
  108. package/dist/chunks/{model-resolver-mbk19yfb.js → rpc-adgw0vx1.js} +18 -18
  109. package/dist/chunks/{model-resolver-tknyxa64.js → rpc-ak9cgfv8.js} +28 -28
  110. package/dist/chunks/{model-resolver-ba67t4eh.js → rpc-an5xxpg3.js} +10 -10
  111. package/dist/chunks/{model-resolver-m3e6h5hy.js → rpc-aq925jnm.js} +15 -15
  112. package/dist/chunks/{model-resolver-84r56gr5.js → rpc-as02qwds.js} +1 -1
  113. package/dist/chunks/{model-resolver-ws3jmg0w.js → rpc-at188k7x.js} +29 -29
  114. package/dist/chunks/{model-resolver-rk0rec3h.js → rpc-awbdwcvp.js} +9 -9
  115. package/dist/chunks/{model-resolver-k5z1e6p1.js → rpc-awy0m2ht.js} +7 -7
  116. package/dist/chunks/{model-resolver-94jd98dy.js → rpc-azwf31fh.js} +3 -3
  117. package/dist/chunks/{model-resolver-zxrxjv84.js → rpc-b0awdqvx.js} +6 -6
  118. package/dist/chunks/{model-resolver-y1xkgxqn.js → rpc-b3wv5y56.js} +6 -6
  119. package/dist/chunks/{model-resolver-r4w7q595.js → rpc-b5xr9r4a.js} +4 -4
  120. package/dist/chunks/{model-resolver-b6gygkdw.js → rpc-b6gygkdw.js} +2 -2
  121. package/dist/chunks/{model-resolver-52vrzpkh.js → rpc-b8b3f19r.js} +9 -9
  122. package/dist/chunks/{model-resolver-e5nv3ght.js → rpc-bndc73cn.js} +5 -5
  123. package/dist/chunks/{model-resolver-gfraf4kn.js → rpc-bqttd0y0.js} +27 -27
  124. package/dist/chunks/{model-resolver-yef4v0b4.js → rpc-c0qvan2f.js} +45 -93
  125. package/dist/chunks/{model-resolver-rzyh5zbg.js → rpc-c14aw737.js} +10 -10
  126. package/dist/chunks/{model-resolver-vqv17xr0.js → rpc-c2z3ng5v.js} +20 -20
  127. package/dist/chunks/{model-resolver-390mr0wc.js → rpc-czfakrh3.js} +5 -5
  128. package/dist/chunks/{model-resolver-8nk5pr3x.js → rpc-d11nd7zh.js} +4 -4
  129. package/dist/chunks/{model-resolver-rrh3wayh.js → rpc-d4wz6bh8.js} +20 -20
  130. package/dist/chunks/{model-resolver-y7pd6vgd.js → rpc-dbekd7wq.js} +17 -17
  131. package/dist/chunks/{model-resolver-8p4f9s12.js → rpc-dj2t23y0.js} +2 -2
  132. package/dist/chunks/{model-resolver-yz1rwmdd.js → rpc-dnz2amen.js} +4 -4
  133. package/dist/chunks/{model-resolver-y71avatq.js → rpc-dpkg50ah.js} +4 -4
  134. package/dist/chunks/{model-resolver-m60j7x9s.js → rpc-dq8t8fv9.js} +8 -8
  135. package/dist/chunks/{model-resolver-76wy3d38.js → rpc-e171vef2.js} +30 -30
  136. package/dist/chunks/{model-resolver-c20v218m.js → rpc-e2vkambt.js} +18 -18
  137. package/dist/chunks/{model-resolver-x60p6768.js → rpc-e4mg6za6.js} +27 -27
  138. package/dist/chunks/{model-resolver-f2b3pcdc.js → rpc-e7dhmq2r.js} +34 -34
  139. package/dist/chunks/{model-resolver-m1j7qv8x.js → rpc-eac5h0qb.js} +27 -27
  140. package/dist/chunks/{model-resolver-r0jzbrht.js → rpc-ecstd3x3.js} +12 -12
  141. package/dist/chunks/{model-resolver-3f15rfkp.js → rpc-egrr39fs.js} +6 -6
  142. package/dist/chunks/{model-resolver-wc561s8t.js → rpc-ekej3swh.js} +13 -13
  143. package/dist/chunks/{model-resolver-ctmr8zqa.js → rpc-embw8kgh.js} +4 -4
  144. package/dist/chunks/{model-resolver-wtzjvpyk.js → rpc-ensxwhj5.js} +14 -14
  145. package/dist/chunks/{model-resolver-7z0etnq8.js → rpc-ep0qqy8y.js} +9 -9
  146. package/dist/chunks/{model-resolver-wvmhx4nb.js → rpc-eraanh1f.js} +4 -4
  147. package/dist/chunks/{model-resolver-ddj422qv.js → rpc-et9a5mt7.js} +21 -21
  148. package/dist/chunks/{model-resolver-c2nzhxaj.js → rpc-etjfar9p.js} +9 -9
  149. package/dist/chunks/{model-resolver-etq0c3wd.js → rpc-etq0c3wd.js} +1 -1
  150. package/dist/chunks/{model-resolver-3adkf2hq.js → rpc-evc8ed70.js} +18 -18
  151. package/dist/chunks/{model-resolver-t67bqcnn.js → rpc-ezv1a6xh.js} +6 -6
  152. package/dist/chunks/{model-resolver-61rt74dg.js → rpc-f04pyqpn.js} +8 -8
  153. package/dist/chunks/{model-resolver-49sc2kz0.js → rpc-f2kyhx0b.js} +9 -9
  154. package/dist/chunks/{model-resolver-6q8410ef.js → rpc-f5paykxm.js} +10 -10
  155. package/dist/chunks/{model-resolver-dsavrnz6.js → rpc-f7bvpx2e.js} +11 -11
  156. package/dist/chunks/{model-resolver-dhtkj142.js → rpc-fb3dn1g4.js} +5 -5
  157. package/dist/chunks/{model-resolver-cdqcdd4q.js → rpc-fbprdydg.js} +4 -4
  158. package/dist/chunks/{model-resolver-2rwb14mb.js → rpc-fe21mgs2.js} +2 -2
  159. package/dist/chunks/{model-resolver-fc7q7xy2.js → rpc-fhq59srp.js} +18 -18
  160. package/dist/chunks/rpc-fka8kn59.js +26 -0
  161. package/dist/chunks/{model-resolver-ps320bc5.js → rpc-fkgz1789.js} +11 -11
  162. package/dist/chunks/{model-resolver-5pqk165g.js → rpc-fve14tsv.js} +10 -10
  163. package/dist/chunks/{model-resolver-fxbjtjnd.js → rpc-fxbjtjnd.js} +1 -1
  164. package/dist/chunks/{model-resolver-mp0nztn2.js → rpc-gbtk5xpy.js} +16 -16
  165. package/dist/chunks/{model-resolver-9xpp069q.js → rpc-gd1sanb3.js} +33 -33
  166. package/dist/chunks/{model-resolver-gd4qta3r.js → rpc-gd4qta3r.js} +1 -1
  167. package/dist/chunks/{model-resolver-tm5c6145.js → rpc-ghtm10aa.js} +6 -6
  168. package/dist/chunks/{model-resolver-hwt2n11x.js → rpc-gmt7v2f0.js} +15 -15
  169. package/dist/chunks/{model-resolver-drq8acbn.js → rpc-gnqpece3.js} +27 -27
  170. package/dist/chunks/{model-resolver-a10qfg7z.js → rpc-gsepd1qv.js} +7 -7
  171. package/dist/chunks/{model-resolver-h03wrkyp.js → rpc-h03wrkyp.js} +2 -2
  172. package/dist/chunks/{model-resolver-gapn44fz.js → rpc-h2hjeshg.js} +26 -26
  173. package/dist/chunks/{model-resolver-ajpf6mah.js → rpc-h2kayq98.js} +4 -4
  174. package/dist/chunks/{model-resolver-h6vf3j39.js → rpc-h6vf3j39.js} +1 -1
  175. package/dist/chunks/{model-resolver-f828m53h.js → rpc-hdnk95c8.js} +2 -2
  176. package/dist/chunks/{model-resolver-b1k5mb32.js → rpc-hgk9zqwm.js} +20 -20
  177. package/dist/chunks/{model-resolver-3a0pq44c.js → rpc-hrb636hh.js} +9 -9
  178. package/dist/chunks/{model-resolver-twy35tz0.js → rpc-hrvd6t1f.js} +9 -9
  179. package/dist/chunks/{model-resolver-j56e64zr.js → rpc-j56e64zr.js} +1 -1
  180. package/dist/chunks/{model-resolver-z0xf8849.js → rpc-j6tr09r7.js} +31 -31
  181. package/dist/chunks/{model-resolver-aawxrc71.js → rpc-jada9zq5.js} +5 -5
  182. package/dist/chunks/{model-resolver-9anxe710.js → rpc-jkttvqfz.js} +4 -4
  183. package/dist/chunks/{model-resolver-nvbchq6z.js → rpc-jyd6wsh8.js} +11 -11
  184. package/dist/chunks/{model-resolver-eq724rxw.js → rpc-jyes105x.js} +24 -24
  185. package/dist/chunks/{model-resolver-kenhkcqf.js → rpc-jz2xfere.js} +33 -33
  186. package/dist/chunks/{model-resolver-qbybakcq.js → rpc-k4ar8njc.js} +35 -35
  187. package/dist/chunks/{model-resolver-p0ydpdje.js → rpc-k6vfasqn.js} +1 -1
  188. package/dist/chunks/{model-resolver-00n9sm3e.js → rpc-k9h47z0e.js} +11 -11
  189. package/dist/chunks/{model-resolver-rxjvbk8n.js → rpc-kd92mjtq.js} +1 -1
  190. package/dist/chunks/{model-resolver-fff2ww6r.js → rpc-keedsq9y.js} +11 -11
  191. package/dist/chunks/{model-resolver-kg06axw8.js → rpc-kg06axw8.js} +1 -1
  192. package/dist/chunks/{model-resolver-4y9xcd5s.js → rpc-kkxr41sk.js} +11 -11
  193. package/dist/chunks/{model-resolver-hxnmyzpz.js → rpc-kvh0q0w5.js} +26 -26
  194. package/dist/chunks/{model-resolver-5w049mzn.js → rpc-m060z7eb.js} +17 -17
  195. package/dist/chunks/{model-resolver-cfpkc3c9.js → rpc-m0jqrx5p.js} +2 -2
  196. package/dist/chunks/{model-resolver-b9dtzdzx.js → rpc-m5j6zs5f.js} +15 -15
  197. package/dist/chunks/{model-resolver-qfw3ezrb.js → rpc-m7y1vdp5.js} +20 -20
  198. package/dist/chunks/{model-resolver-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
  199. package/dist/chunks/{model-resolver-f3ngv102.js → rpc-magykp64.js} +4 -4
  200. package/dist/chunks/{model-resolver-jb1x2pah.js → rpc-mc7c43gw.js} +20 -20
  201. package/dist/chunks/{model-resolver-kdqbr4kj.js → rpc-mkf7r8vc.js} +5 -5
  202. package/dist/chunks/{model-resolver-v7xck931.js → rpc-mpjjaxhm.js} +10 -10
  203. package/dist/chunks/{model-resolver-m1n5w1f6.js → rpc-mqqw7r41.js} +10 -10
  204. package/dist/chunks/{model-resolver-xbwfmkd1.js → rpc-n1abx18w.js} +6 -6
  205. package/dist/chunks/{model-resolver-9gh4k6y6.js → rpc-n8pzc7q0.js} +5 -5
  206. package/dist/chunks/{model-resolver-e82z9tr0.js → rpc-nhy5jxhy.js} +7 -7
  207. package/dist/chunks/{model-resolver-4cfrandj.js → rpc-njqd2r1p.js} +48 -48
  208. package/dist/chunks/{model-resolver-xh8yz4jf.js → rpc-p4zt19y4.js} +11 -11
  209. package/dist/chunks/{model-resolver-e6q3pz3t.js → rpc-pfhnemj1.js} +11 -11
  210. package/dist/chunks/{model-resolver-g1amre2a.js → rpc-pg92xra1.js} +18 -18
  211. package/dist/chunks/{model-resolver-7yhtqe52.js → rpc-phrpww5q.js} +6 -6
  212. package/dist/chunks/{model-resolver-pjvnvgmy.js → rpc-pjvnvgmy.js} +1 -1
  213. package/dist/chunks/{model-resolver-ah1s8aaq.js → rpc-pkcwckcb.js} +73 -73
  214. package/dist/chunks/{model-resolver-pknna89w.js → rpc-pknna89w.js} +1 -1
  215. package/dist/chunks/{model-resolver-v4gzsxzt.js → rpc-q5zm5rbh.js} +155 -155
  216. package/dist/chunks/{model-resolver-xekzrwwc.js → rpc-q8qja58b.js} +9 -9
  217. package/dist/chunks/{model-resolver-nfx74p92.js → rpc-qc9m528a.js} +9 -9
  218. package/dist/chunks/{model-resolver-dcf7e85t.js → rpc-qra50pcy.js} +6 -6
  219. package/dist/chunks/{model-resolver-qsdy395h.js → rpc-qsdy395h.js} +1 -1
  220. package/dist/chunks/{model-resolver-1cn8af6j.js → rpc-qzfy2ng8.js} +12 -12
  221. package/dist/chunks/{model-resolver-r9mregkx.js → rpc-r9mregkx.js} +2 -2
  222. package/dist/chunks/{model-resolver-j8egexsa.js → rpc-ra10epn0.js} +4 -4
  223. package/dist/chunks/{model-resolver-ck5d9zpy.js → rpc-rq0td61g.js} +10 -10
  224. package/dist/chunks/{model-resolver-zeh9ct20.js → rpc-rq775frq.js} +2 -2
  225. package/dist/chunks/{model-resolver-xzqvznr8.js → rpc-s3be4ryk.js} +19 -19
  226. package/dist/chunks/{model-resolver-ba05va59.js → rpc-s51qhtww.js} +32 -32
  227. package/dist/chunks/{model-resolver-ze55z754.js → rpc-s6q7j8c1.js} +10 -10
  228. package/dist/chunks/{model-resolver-cq37gk0t.js → rpc-sdbkfcvv.js} +4 -4
  229. package/dist/chunks/{model-resolver-0v53mg2y.js → rpc-sx1n432n.js} +4 -4
  230. package/dist/chunks/{model-resolver-t2fc4mz5.js → rpc-sxz6gkc3.js} +7 -7
  231. package/dist/chunks/{model-resolver-ptz3r4n8.js → rpc-t04z7qz2.js} +44 -44
  232. package/dist/chunks/{model-resolver-h9h2cf90.js → rpc-t0nby5tn.js} +13 -13
  233. package/dist/chunks/{model-resolver-3aa2qh1v.js → rpc-t4dwhhvw.js} +15 -15
  234. package/dist/chunks/{model-resolver-rhjbct0v.js → rpc-t550f9t1.js} +4 -4
  235. package/dist/chunks/{model-resolver-vywwb7xw.js → rpc-t97x3sry.js} +2 -2
  236. package/dist/chunks/{model-resolver-tazgh4e4.js → rpc-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{model-resolver-tdstcens.js → rpc-tdstcens.js} +1 -1
  238. package/dist/chunks/{model-resolver-nv8khyte.js → rpc-tfpzm518.js} +9 -9
  239. package/dist/chunks/{model-resolver-ae2xf8y7.js → rpc-tkptyfyx.js} +41 -41
  240. package/dist/chunks/{model-resolver-my4mn6ec.js → rpc-ttmwpwhe.js} +19 -19
  241. package/dist/chunks/{model-resolver-tvtrv512.js → rpc-tvtrv512.js} +1 -1
  242. package/dist/chunks/{model-resolver-yecv7nm8.js → rpc-v30ysbtp.js} +24 -24
  243. package/dist/chunks/{model-resolver-hk2b1w8q.js → rpc-v4hh8mmn.js} +76 -76
  244. package/dist/chunks/{model-resolver-vzm76b3t.js → rpc-v8jfbz3g.js} +6 -6
  245. package/dist/chunks/{model-resolver-9ynvy50g.js → rpc-v95aebz8.js} +18 -18
  246. package/dist/chunks/{model-resolver-j4h9n0kh.js → rpc-vaz4vjgg.js} +17 -17
  247. package/dist/chunks/{model-resolver-ph0q5yay.js → rpc-vbpsb3q0.js} +4 -4
  248. package/dist/chunks/{model-resolver-veqvce7d.js → rpc-veqvce7d.js} +1 -1
  249. package/dist/chunks/{model-resolver-qff9k35d.js → rpc-vhkqx8kk.js} +11 -11
  250. package/dist/chunks/{model-resolver-pjsmk15p.js → rpc-vkd6hz7d.js} +18 -18
  251. package/dist/chunks/{model-resolver-c7ssnmaj.js → rpc-vn9kcpf2.js} +4 -4
  252. package/dist/chunks/rpc-vnkjks7b.js +18 -0
  253. package/dist/chunks/{model-resolver-vzcthcp8.js → rpc-vzcthcp8.js} +1 -1
  254. package/dist/chunks/{model-resolver-8cj6vp2e.js → rpc-w0r53wm9.js} +8 -8
  255. package/dist/chunks/{model-resolver-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{model-resolver-d9hjbqwg.js → rpc-w6393bmh.js} +7 -7
  257. package/dist/chunks/{model-resolver-wd87259q.js → rpc-wd87259q.js} +1 -1
  258. package/dist/chunks/{model-resolver-5d9hgq6a.js → rpc-wegwrt47.js} +22 -22
  259. package/dist/chunks/{model-resolver-13ggeyh8.js → rpc-why2nj5b.js} +8 -8
  260. package/dist/chunks/{model-resolver-b4ymjb7p.js → rpc-wm96jmrs.js} +32 -32
  261. package/dist/chunks/{model-resolver-jcabrnmj.js → rpc-wq9p3fvr.js} +16 -16
  262. package/dist/chunks/{model-resolver-2jb6wffc.js → rpc-wtzvqa7t.js} +26 -26
  263. package/dist/chunks/{model-resolver-x1ezjp6w.js → rpc-x1ezjp6w.js} +1 -1
  264. package/dist/chunks/{model-resolver-egap6qp7.js → rpc-x2ec7fj2.js} +20 -20
  265. package/dist/chunks/{model-resolver-dgj0dq1g.js → rpc-x3et2xth.js} +8 -8
  266. package/dist/chunks/{model-resolver-2ps3j6a4.js → rpc-x3ry4399.js} +26 -26
  267. package/dist/chunks/{model-resolver-kbhm0m0a.js → rpc-x4az3p4k.js} +12 -12
  268. package/dist/chunks/{model-resolver-xg954myy.js → rpc-xjk8cg32.js} +4 -4
  269. package/dist/chunks/{model-resolver-xwqaakv5.js → rpc-xwk582wh.js} +33 -33
  270. package/dist/chunks/{model-resolver-y1fvbwt7.js → rpc-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{model-resolver-pbky73a2.js → rpc-y3gka0kp.js} +1 -1
  272. package/dist/chunks/{model-resolver-7srvnxx8.js → rpc-y5gmhs7b.js} +2 -2
  273. package/dist/chunks/{model-resolver-4hdjqv5n.js → rpc-ybj7n8sc.js} +20 -20
  274. package/dist/chunks/{model-resolver-s8zy8myc.js → rpc-yjtcv9b8.js} +5 -5
  275. package/dist/chunks/{model-resolver-0mqwdcna.js → rpc-ymcp9qdd.js} +22 -22
  276. package/dist/chunks/{model-resolver-5907cmhj.js → rpc-yn742pxh.js} +10 -10
  277. package/dist/chunks/{model-resolver-yrhqyw5v.js → rpc-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{model-resolver-50spkatp.js → rpc-yrxgw5z8.js} +1 -1
  279. package/dist/chunks/{model-resolver-yrznvahk.js → rpc-yrznvahk.js} +2 -2
  280. package/dist/chunks/{model-resolver-gv6a8nnw.js → rpc-yyb7tjpc.js} +2 -2
  281. package/dist/chunks/{model-resolver-mx83bqr4.js → rpc-z05rcarj.js} +9 -9
  282. package/dist/chunks/{model-resolver-z0bkrqjs.js → rpc-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{model-resolver-z63w68vq.js → rpc-z63w68vq.js} +2 -2
  284. package/dist/chunks/{model-resolver-97c56c16.js → rpc-zctxc6dq.js} +14 -14
  285. package/dist/chunks/{model-resolver-ssg4d1r7.js → rpc-zdmpy1w1.js} +20 -20
  286. package/dist/chunks/{model-resolver-zr2ceqn5.js → rpc-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{model-resolver-1xzg4q7f.js → rpc-zsdfvbwd.js} +8 -8
  288. package/dist/chunks/{model-resolver-zxq2ej10.js → rpc-zxq2ej10.js} +1 -1
  289. package/dist/chunks/{model-resolver-stz44jcx.js → rpc-zy7p2nkg.js} +24 -24
  290. package/dist/codemode/catalog.js +3 -3
  291. package/dist/codemode/instructions.js +11 -11
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +82 -82
  294. package/dist/config/discovery.js +79 -79
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +19 -19
  297. package/dist/config/plugin/agent.js +119 -119
  298. package/dist/config/plugin/command.js +212 -212
  299. package/dist/config/plugin/compaction.js +157 -157
  300. package/dist/config/plugin/compatibility.js +135 -135
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +119 -119
  303. package/dist/config/plugin/image.js +117 -117
  304. package/dist/config/plugin/instruction.js +87 -87
  305. package/dist/config/plugin/location-watcher.js +117 -117
  306. package/dist/config/plugin/mcp.js +128 -128
  307. package/dist/config/plugin/policy.js +116 -116
  308. package/dist/config/plugin/provider.js +115 -115
  309. package/dist/config/plugin/reference.js +119 -119
  310. package/dist/config/plugin/shell.js +118 -118
  311. package/dist/config/plugin/skill-file.js +99 -99
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +117 -117
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +119 -119
  316. package/dist/config/plugin/websearch.js +115 -115
  317. package/dist/config/plugin/worktree.js +120 -120
  318. package/dist/config/variable.js +3 -3
  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 +82 -82
  323. package/dist/database/database.js +65 -65
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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.gen.js +48 -48
  388. package/dist/database/migration.js +50 -50
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +75 -75
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +364 -364
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +3 -3
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +90 -90
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +92 -92
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +69 -69
  412. package/dist/file-access.js +101 -101
  413. package/dist/file-mutation.js +91 -91
  414. package/dist/file-retention.js +1 -1
  415. package/dist/file.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/ignore.js +1 -1
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +222 -222
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +101 -101
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +100 -100
  428. package/dist/form.js +83 -83
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +84 -84
  431. package/dist/generate.js +90 -90
  432. package/dist/git.js +8 -8
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +3 -3
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/id/id.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 +355 -355
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +82 -82
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +1 -1
  461. package/dist/integration.js +87 -87
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +72 -72
  465. package/dist/location-activity.js +130 -130
  466. package/dist/location-mutation.js +101 -101
  467. package/dist/location-service-map.js +83 -83
  468. package/dist/location-services.js +352 -352
  469. package/dist/location.js +86 -86
  470. package/dist/mcp/client.js +88 -88
  471. package/dist/mcp/index.js +99 -99
  472. package/dist/mcp/instructions.js +122 -122
  473. package/dist/mcp/oauth.js +3 -3
  474. package/dist/mcp/stdio.js +87 -87
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +3 -3
  477. package/dist/model-resolver.js +85 -85
  478. package/dist/model.js +8 -8
  479. package/dist/models-dev.js +83 -83
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +77 -77
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +102 -102
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +85 -85
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +74 -74
  489. package/dist/plugin/agent.js +101 -101
  490. package/dist/plugin/command.js +98 -98
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +215 -215
  493. package/dist/plugin/instance.js +5 -5
  494. package/dist/plugin/internal.js +326 -326
  495. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  496. package/dist/plugin/models-dev.js +76 -76
  497. package/dist/plugin/module.js +5 -5
  498. package/dist/plugin/optimize.js +2 -2
  499. package/dist/plugin/plan.js +99 -99
  500. package/dist/plugin/promise.js +1 -1
  501. package/dist/plugin/provider/alibaba.js +2 -2
  502. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  503. package/dist/plugin/provider/azure.js +120 -120
  504. package/dist/plugin/provider/cerebras.js +2 -2
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +116 -116
  509. package/dist/plugin/provider/digitalocean.js +80 -80
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/gateway.js +2 -2
  513. package/dist/plugin/provider/github-copilot.js +81 -81
  514. package/dist/plugin/provider/gitlab.js +3 -3
  515. package/dist/plugin/provider/google-vertex.js +2 -2
  516. package/dist/plugin/provider/kilo.js +2 -2
  517. package/dist/plugin/provider/llmgateway.js +77 -77
  518. package/dist/plugin/provider/lmstudio.js +119 -119
  519. package/dist/plugin/provider/modal.js +80 -80
  520. package/dist/plugin/provider/nvidia.js +2 -2
  521. package/dist/plugin/provider/ollama.js +119 -119
  522. package/dist/plugin/provider/openai-compatible.js +1 -1
  523. package/dist/plugin/provider/openai.js +79 -79
  524. package/dist/plugin/provider/opencode.js +80 -80
  525. package/dist/plugin/provider/openrouter.js +3 -3
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +77 -77
  528. package/dist/plugin/provider/sap-ai-core.js +3 -3
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +119 -119
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +2 -2
  533. package/dist/plugin/provider/vllm.js +119 -119
  534. package/dist/plugin/provider/xai.js +78 -78
  535. package/dist/plugin/provider/zenmux.js +2 -2
  536. package/dist/plugin/provider.js +158 -158
  537. package/dist/plugin/sdk.js +75 -75
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +135 -135
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +341 -341
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/variant.js +4 -4
  544. package/dist/plugin/vcs/git.js +83 -83
  545. package/dist/plugin/vcs/hg.js +83 -83
  546. package/dist/plugin/warming.js +114 -114
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +6 -6
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin/websearch/tinyfish.js +8 -8
  554. package/dist/plugin.js +222 -222
  555. package/dist/project/schema.js +8 -8
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +87 -87
  558. package/dist/provider.js +3 -3
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/schema.js +3 -3
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +94 -94
  563. package/dist/reference/instructions.js +86 -86
  564. package/dist/reference.js +86 -86
  565. package/dist/repository-cache.js +78 -78
  566. package/dist/repository.js +3 -3
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +93 -93
  569. package/dist/rpc.js +83 -83
  570. package/dist/schema.js +1 -1
  571. package/dist/session/command.js +73 -73
  572. package/dist/session/compaction.js +125 -125
  573. package/dist/session/context.js +147 -147
  574. package/dist/session/diff.js +85 -85
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +5 -5
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +216 -216
  579. package/dist/session/execution.js +126 -126
  580. package/dist/session/generate.js +148 -148
  581. package/dist/session/history.js +13 -13
  582. package/dist/session/inbox.js +85 -85
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +74 -74
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +94 -94
  587. package/dist/session/message-updater.js +4 -4
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +111 -111
  590. package/dist/session/model-transport.js +5 -5
  591. package/dist/session/move.js +124 -124
  592. package/dist/session/projector.js +85 -85
  593. package/dist/session/prompt.js +102 -102
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +87 -87
  596. package/dist/session/run-coordinator.js +3 -3
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +227 -227
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +87 -87
  601. package/dist/session/runner/publish-llm-event.js +3 -3
  602. package/dist/session/runner/retry.js +112 -112
  603. package/dist/session/runner/step.js +121 -121
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +3 -3
  606. package/dist/session/session.js +171 -171
  607. package/dist/session/shell.js +133 -133
  608. package/dist/session/skill.js +100 -100
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +72 -72
  611. package/dist/session/store.js +84 -84
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +208 -208
  614. package/dist/session/system-prompt.js +5 -5
  615. package/dist/session/title.js +151 -151
  616. package/dist/session/to-session-error.js +109 -109
  617. package/dist/session/transfer.js +212 -212
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +208 -208
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +11 -11
  624. package/dist/shell.js +135 -135
  625. package/dist/skill/discovery.js +6 -6
  626. package/dist/skill/instructions.js +104 -104
  627. package/dist/skill.js +105 -105
  628. package/dist/snapshot.js +90 -90
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +119 -119
  633. package/dist/tool/plugin/edit.js +117 -117
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +122 -122
  636. package/dist/tool/plugin/grep.js +122 -122
  637. package/dist/tool/plugin/opencode.js +3 -3
  638. package/dist/tool/plugin/patch.js +117 -117
  639. package/dist/tool/plugin/question.js +98 -98
  640. package/dist/tool/plugin/read.js +123 -123
  641. package/dist/tool/plugin/shell.js +213 -213
  642. package/dist/tool/plugin/skill.js +102 -102
  643. package/dist/tool/plugin/subagent.js +215 -215
  644. package/dist/tool/plugin/webfetch.js +107 -107
  645. package/dist/tool/plugin/websearch.js +107 -107
  646. package/dist/tool/plugin/write.js +117 -117
  647. package/dist/tool/read-filesystem.js +98 -98
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +8 -8
  650. package/dist/tool.js +13 -13
  651. package/dist/types/config.d.ts +1 -5
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/iife.js +1 -1
  655. package/dist/util/lazy.js +1 -1
  656. package/dist/util/slug.js +1 -1
  657. package/dist/util/token.js +1 -1
  658. package/dist/util/which.js +1 -1
  659. package/dist/util/wildcard.js +1 -1
  660. package/dist/v1/config/agent.js +5 -5
  661. package/dist/v1/config/attachment.js +4 -4
  662. package/dist/v1/config/command.js +5 -5
  663. package/dist/v1/config/config.js +16 -16
  664. package/dist/v1/config/error.js +2 -2
  665. package/dist/v1/config/formatter.js +5 -5
  666. package/dist/v1/config/layout.js +1 -1
  667. package/dist/v1/config/lsp.js +5 -5
  668. package/dist/v1/config/mcp.js +4 -4
  669. package/dist/v1/config/migrate.js +4 -4
  670. package/dist/v1/config/permission.js +3 -3
  671. package/dist/v1/config/plugin.js +3 -3
  672. package/dist/v1/config/provider-options.js +1 -1
  673. package/dist/v1/config/provider.js +4 -4
  674. package/dist/v1/config/server.js +2 -2
  675. package/dist/v1/config/skills.js +3 -3
  676. package/dist/v1/permission.js +1 -1
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +86 -86
  679. package/dist/websearch.js +79 -79
  680. package/dist/wellknown/plugin.js +75 -75
  681. package/dist/wellknown.js +78 -78
  682. package/dist/workspace/driver.js +3 -3
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +79 -79
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +8 -8
  687. package/dist/worktree/refresh.js +342 -342
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree.js +91 -91
  690. package/package.json +8 -8
  691. package/dist/chunks/model-resolver-fj1dxc35.js +0 -466
  692. package/dist/chunks/model-resolver-ga8867b0.js +0 -26
  693. package/dist/chunks/model-resolver-ht5y0zrb.js +0 -18
  694. package/dist/chunks/model-resolver-tp0yv4ge.js +0 -247
  695. package/dist/chunks/model-resolver-xrsqh21y.js +0 -4
  696. /package/dist/chunks/{model-resolver-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{model-resolver-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{model-resolver-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{model-resolver-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{model-resolver-1kg9ymc8.js → rpc-1kg9ymc8.js} +0 -0
  701. /package/dist/chunks/{model-resolver-2710q6r3.js → rpc-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{model-resolver-2axfhc9x.js → rpc-2axfhc9x.js} +0 -0
  703. /package/dist/chunks/{model-resolver-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{model-resolver-359p4xyc.js → rpc-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{model-resolver-3asan66x.js → rpc-3asan66x.js} +0 -0
  706. /package/dist/chunks/{model-resolver-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{model-resolver-3w5fmr99.js → rpc-3w5fmr99.js} +0 -0
  708. /package/dist/chunks/{model-resolver-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{model-resolver-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{model-resolver-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{model-resolver-4vcrnpx2.js → rpc-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{model-resolver-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{model-resolver-53557ph1.js → rpc-53557ph1.js} +0 -0
  714. /package/dist/chunks/{model-resolver-550bvhaj.js → rpc-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{model-resolver-6prwharc.js → rpc-6prwharc.js} +0 -0
  716. /package/dist/chunks/{model-resolver-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
  717. /package/dist/chunks/{model-resolver-7m9af43g.js → rpc-7m9af43g.js} +0 -0
  718. /package/dist/chunks/{model-resolver-822emrt2.js → rpc-822emrt2.js} +0 -0
  719. /package/dist/chunks/{model-resolver-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
  720. /package/dist/chunks/{model-resolver-8n3pysct.js → rpc-8n3pysct.js} +0 -0
  721. /package/dist/chunks/{model-resolver-922hggd3.js → rpc-922hggd3.js} +0 -0
  722. /package/dist/chunks/{model-resolver-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
  723. /package/dist/chunks/{model-resolver-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
  724. /package/dist/chunks/{model-resolver-a6k6eb26.js → rpc-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{model-resolver-af5trqkr.js → rpc-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{model-resolver-afrmfg78.js → rpc-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{model-resolver-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{model-resolver-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{model-resolver-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{model-resolver-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{model-resolver-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{model-resolver-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{model-resolver-d9fn303g.js → rpc-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{model-resolver-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{model-resolver-dajrwvna.js → rpc-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{model-resolver-dap0rakb.js → rpc-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{model-resolver-df08tz66.js → rpc-df08tz66.js} +0 -0
  738. /package/dist/chunks/{model-resolver-dy18nga0.js → rpc-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{model-resolver-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{model-resolver-e73j6tqm.js → rpc-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{model-resolver-ec1grn59.js → rpc-ec1grn59.js} +0 -0
  742. /package/dist/chunks/{model-resolver-eh3zwz77.js → rpc-eh3zwz77.js} +0 -0
  743. /package/dist/chunks/{model-resolver-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
  744. /package/dist/chunks/{model-resolver-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
  745. /package/dist/chunks/{model-resolver-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
  746. /package/dist/chunks/{model-resolver-faypxj3z.js → rpc-faypxj3z.js} +0 -0
  747. /package/dist/chunks/{model-resolver-fd410y7t.js → rpc-fd410y7t.js} +0 -0
  748. /package/dist/chunks/{model-resolver-fxgpk5d8.js → rpc-fxgpk5d8.js} +0 -0
  749. /package/dist/chunks/{model-resolver-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
  750. /package/dist/chunks/{model-resolver-g86h250q.js → rpc-g86h250q.js} +0 -0
  751. /package/dist/chunks/{model-resolver-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
  752. /package/dist/chunks/{model-resolver-gftt206x.js → rpc-gftt206x.js} +0 -0
  753. /package/dist/chunks/{model-resolver-hjbc5kem.js → rpc-hjbc5kem.js} +0 -0
  754. /package/dist/chunks/{model-resolver-hk9envan.js → rpc-hk9envan.js} +0 -0
  755. /package/dist/chunks/{model-resolver-hrnqkpcd.js → rpc-hrnqkpcd.js} +0 -0
  756. /package/dist/chunks/{model-resolver-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{model-resolver-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{model-resolver-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
  759. /package/dist/chunks/{model-resolver-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
  760. /package/dist/chunks/{model-resolver-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
  761. /package/dist/chunks/{model-resolver-mp448xyj.js → rpc-mp448xyj.js} +0 -0
  762. /package/dist/chunks/{model-resolver-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
  763. /package/dist/chunks/{model-resolver-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
  764. /package/dist/chunks/{model-resolver-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
  765. /package/dist/chunks/{model-resolver-njntx4h6.js → rpc-njntx4h6.js} +0 -0
  766. /package/dist/chunks/{model-resolver-paphc93g.js → rpc-paphc93g.js} +0 -0
  767. /package/dist/chunks/{model-resolver-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{model-resolver-q74kybfr.js → rpc-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{model-resolver-qaymkmh1.js → rpc-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{model-resolver-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{model-resolver-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{model-resolver-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{model-resolver-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{model-resolver-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{model-resolver-sk3qaz4a.js → rpc-sk3qaz4a.js} +0 -0
  776. /package/dist/chunks/{model-resolver-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{model-resolver-twg0f83k.js → rpc-twg0f83k.js} +0 -0
  778. /package/dist/chunks/{model-resolver-w803qqfp.js → rpc-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{model-resolver-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{model-resolver-wtztk69x.js → rpc-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{model-resolver-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{model-resolver-x61499pn.js → rpc-x61499pn.js} +0 -0
  783. /package/dist/chunks/{model-resolver-y44na4kk.js → rpc-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{model-resolver-y8cydn3q.js → rpc-y8cydn3q.js} +0 -0
  785. /package/dist/chunks/{model-resolver-y8f7s663.js → rpc-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{model-resolver-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{model-resolver-ym463w8f.js → rpc-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{model-resolver-z9919s4g.js → rpc-z9919s4g.js} +0 -0
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./model-resolver-88xbtdfr.js";
3
+ } from "./rpc-88xbtdfr.js";
4
4
  import {
5
5
  load2
6
- } from "./model-resolver-paphc93g.js";
6
+ } from "./rpc-paphc93g.js";
7
7
  import {
8
8
  __export
9
- } from "./model-resolver-9rqn6x4v.js";
9
+ } from "./rpc-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event9,
14
+ Event: () => Event7,
15
15
  Native: () => Native3,
16
- Options: () => Options7,
17
- Service: () => Service47,
16
+ Options: () => Options6,
17
+ Service: () => Service37,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured7,
20
+ configured: () => configured5,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer21,
22
+ layer: () => layer16,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node51,
25
+ node: () => node41,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper";
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event9 = { Updated: FileSystem.Event.Changed };
36
+ var Event7 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
39
  return createWrapper(load2());
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options7 = Schema.Struct({
56
+ var Options6 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service47 extends Context.Service()("@opencode/Watcher") {
60
+ class Service37 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer21 = (options) => Layer.effect(Service47, Effect.gen(function* () {
65
+ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service47.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service37.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer21 = (options) => Layer.effect(Service47, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service47.of({ subscribe });
108
+ return Service37.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer21().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer16().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service47).subscribe,
134
+ subscribe: Context.get(context, Service37).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service47, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service37, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured7(options) {
168
- return makeGlobalNode({ service: Service47, layer: layer21(options), deps: [nativeNode2] });
167
+ function configured5(options) {
168
+ return makeGlobalNode({ service: Service37, layer: layer16(options), deps: [nativeNode2] });
169
169
  }
170
- var node51 = configured7();
170
+ var node41 = configured5();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event9, hasNativeBinding2, Native3, Options7, Service47, Test3, layer21, testLayer3, nativeLayer2, nativeNode2, configured7, node51, exports_watcher };
190
+ export { Event7, hasNativeBinding2, Native3, Options6, Service37, Test3, layer16, testLayer3, nativeLayer2, nativeNode2, configured5, node41, exports_watcher };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./model-resolver-yz1rwmdd.js";
4
+ } from "./rpc-dnz2amen.js";
5
5
  import {
6
- Service27,
7
- node32
8
- } from "./model-resolver-ptz3r4n8.js";
6
+ Service29,
7
+ node33
8
+ } from "./rpc-t04z7qz2.js";
9
9
  import {
10
- Service54,
11
- node58
12
- } from "./model-resolver-14fxtwre.js";
10
+ Service53,
11
+ node56
12
+ } from "./rpc-29ykcmqg.js";
13
13
  import {
14
- Service50,
15
- node54
16
- } from "./model-resolver-stz44jcx.js";
14
+ Service30,
15
+ node34
16
+ } from "./rpc-zy7p2nkg.js";
17
17
  import {
18
18
  __export
19
- } from "./model-resolver-9rqn6x4v.js";
19
+ } from "./rpc-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service25,
25
+ Service: () => Service28,
26
26
  layer: () => layer13,
27
27
  name: () => name14,
28
28
  namespace: () => namespace2,
29
- node: () => node30
29
+ node: () => node32
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
36
  var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service25 extends Context.Service()("@opencode/McpTool") {
38
+ class Service28 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer13 = Layer.effect(Service25, Effect.gen(function* () {
41
- const mcp = yield* Service27;
42
- const tools = yield* Service50;
40
+ var layer13 = Layer.effect(Service28, Effect.gen(function* () {
41
+ const mcp = yield* Service29;
42
+ const tools = yield* Service30;
43
43
  const bus = yield* Service79;
44
- const permission = yield* Service54;
44
+ const permission = yield* Service53;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -124,12 +124,12 @@ var layer13 = Layer.effect(Service25, Effect.gen(function* () {
124
124
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
125
125
  const updates = yield* PubSub.subscribe(changes);
126
126
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
127
- return Service25.of({ flush: Effect.asVoid(Fiber.await(initial)) });
127
+ return Service28.of({ flush: Effect.asVoid(Fiber.await(initial)) });
128
128
  }));
129
- var node30 = makeLocationNode({
130
- service: Service25,
129
+ var node32 = makeLocationNode({
130
+ service: Service28,
131
131
  layer: layer13,
132
- deps: [node54, node32, node84, node58]
132
+ deps: [node34, node33, node84, node56]
133
133
  });
134
134
 
135
- export { namespace2, name14, Service25, layer13, node30, exports_mcp3 };
135
+ export { namespace2, name14, Service28, layer13, node32, exports_mcp3 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./model-resolver-922hggd3.js";
3
+ } from "./rpc-922hggd3.js";
4
4
  import {
5
5
  Action2
6
- } from "./model-resolver-f3ngv102.js";
6
+ } from "./rpc-magykp64.js";
7
7
  import {
8
- Info13
9
- } from "./model-resolver-13ggeyh8.js";
8
+ Info11
9
+ } from "./rpc-why2nj5b.js";
10
10
  import {
11
- Info12
12
- } from "./model-resolver-t0fxg8b9.js";
11
+ Info14
12
+ } from "./rpc-4xbskmpe.js";
13
13
  import {
14
- Info10
15
- } from "./model-resolver-t2fc4mz5.js";
14
+ Info13
15
+ } from "./rpc-sxz6gkc3.js";
16
16
  import {
17
- Info11
18
- } from "./model-resolver-s8zy8myc.js";
17
+ Info9
18
+ } from "./rpc-yjtcv9b8.js";
19
19
  import {
20
20
  Spec2
21
- } from "./model-resolver-0jwsre1p.js";
21
+ } from "./rpc-607tc6va.js";
22
22
  import {
23
- Info14
24
- } from "./model-resolver-0r7yqxbf.js";
23
+ Info8
24
+ } from "./rpc-8cmvxv2n.js";
25
25
  import {
26
- Info9
27
- } from "./model-resolver-eq6j5b08.js";
26
+ Info6
27
+ } from "./rpc-9vqpc88m.js";
28
28
  import {
29
29
  migrate2,
30
30
  normalizeAction2,
@@ -33,10 +33,10 @@ import {
33
33
  migrateMcp2,
34
34
  migrateProvider2,
35
35
  providerID2
36
- } from "./model-resolver-cdqcdd4q.js";
36
+ } from "./rpc-fbprdydg.js";
37
37
  import {
38
38
  __export
39
- } from "./model-resolver-9rqn6x4v.js";
39
+ } from "./rpc-9rqn6x4v.js";
40
40
 
41
41
  // src/config/normalize.ts
42
42
  var exports_normalize = {};
@@ -84,10 +84,10 @@ function normalize2(input) {
84
84
  const encoded = {};
85
85
  unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
86
86
  const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
87
- const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info9.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
87
+ const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info6.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
88
88
  const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
89
89
  const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
90
- const legacyMedia = own(input, "attachment") ? decodeValue(Info12, input.attachment, ["attachment"], diagnostics) : undefined;
90
+ const legacyMedia = own(input, "attachment") ? decodeValue(Info14, input.attachment, ["attachment"], diagnostics) : undefined;
91
91
  if (legacyMedia !== undefined) {
92
92
  const migrated = migrate2({ attachment: legacyMedia }).media;
93
93
  if (migrated !== undefined)
@@ -104,7 +104,7 @@ function normalize2(input) {
104
104
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
105
105
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
106
106
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
107
- const legacyCommands = decodeMap(input.command, Info10, ["command"], diagnostics, decodeValue);
107
+ const legacyCommands = decodeMap(input.command, Info13, ["command"], diagnostics, decodeValue);
108
108
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
109
109
  const migratedCommands = mapValues(legacyCommands, (value) => {
110
110
  const migrated = commands2({ value })?.value;
@@ -112,7 +112,7 @@ function normalize2(input) {
112
112
  });
113
113
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
114
114
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
115
- const legacyAgents = mapValues(decodeMap(input.agent, Info13, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
115
+ const legacyAgents = mapValues(decodeMap(input.agent, Info11, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
116
116
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
117
117
  const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
118
118
  if (legacySmallModel && !migratedSmallModel)
@@ -126,7 +126,7 @@ function normalize2(input) {
126
126
  model: migratedSmallModel,
127
127
  ...legacyAgents.title
128
128
  };
129
- const modeAgents = mapValues(decodeMap(input.mode, Info13, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
129
+ const modeAgents = mapValues(decodeMap(input.mode, Info11, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
130
130
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
131
131
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
132
132
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
225
225
  normalizeMcpTimeout(value, timeout, path, diagnostics);
226
226
  return;
227
227
  }
228
- const server = decodeValue(Info11, value, path, diagnostics);
228
+ const server = decodeValue(Info9, value, path, diagnostics);
229
229
  if (server !== undefined)
230
230
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
231
231
  });
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
421
421
  diagnoseProviderUnsupported(raw, path, diagnostics);
422
422
  if (invalidProviderOverlays(raw, path, diagnostics))
423
423
  return [];
424
- const provider = decodeValue(Info14, raw, path, diagnostics);
424
+ const provider = decodeValue(Info8, raw, path, diagnostics);
425
425
  if (provider === undefined)
426
426
  return [];
427
427
  const destination = providerID2(name);
@@ -1,20 +1,20 @@
1
1
  import {
2
- ID9,
2
+ ID8,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./model-resolver-my4mn6ec.js";
5
+ } from "./rpc-ttmwpwhe.js";
6
6
  import {
7
7
  merge2
8
- } from "./model-resolver-14fxtwre.js";
8
+ } from "./rpc-29ykcmqg.js";
9
9
  import {
10
10
  __export
11
- } from "./model-resolver-9rqn6x4v.js";
11
+ } from "./rpc-9rqn6x4v.js";
12
12
 
13
13
  // src/plugin/agent.ts
14
- var exports_agent2 = {};
15
- __export(exports_agent2, {
16
- AgentPlugin: () => exports_agent2,
17
- Plugin: () => Plugin42
14
+ var exports_agent = {};
15
+ __export(exports_agent, {
16
+ AgentPlugin: () => exports_agent,
17
+ Plugin: () => Plugin10
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 Plugin42 = define({
93
+ var Plugin10 = 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 Plugin42 = define({
100
100
  item.mode = "primary";
101
101
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
102
102
  });
103
- editor.update(ID9.make("general"), (item) => {
103
+ editor.update(ID8.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(ID9.make("explore"), (item) => {
109
+ editor.update(ID8.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 Plugin42 = define({
125
125
  { action: "subagent", resource: "*", effect: "deny" }
126
126
  ], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
127
127
  });
128
- editor.update(ID9.make("compaction"), (item) => {
128
+ editor.update(ID8.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(ID9.make("title"), (item) => {
133
+ editor.update(ID8.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(ID9.make("summary"), (item) => {
140
+ editor.update(ID8.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 Plugin42 = define({
148
148
  })
149
149
  });
150
150
 
151
- export { Plugin42, exports_agent2 };
151
+ export { Plugin10, exports_agent };
@@ -5,15 +5,15 @@ import {
5
5
  ModelInitializationError3,
6
6
  UnresolvedProviderVariablesError3,
7
7
  UnsupportedCompactionError3,
8
- Service61,
9
- node65
10
- } from "./model-resolver-f2b3pcdc.js";
8
+ Service52,
9
+ node55
10
+ } from "./rpc-e7dhmq2r.js";
11
11
  import {
12
12
  SessionSchema2
13
- } from "./model-resolver-pk2244jm.js";
13
+ } from "./rpc-8q7cq0y1.js";
14
14
  import {
15
15
  __export
16
- } from "./model-resolver-9rqn6x4v.js";
16
+ } from "./rpc-9rqn6x4v.js";
17
17
 
18
18
  // src/session/runner/model.ts
19
19
  var exports_model = {};
@@ -22,13 +22,13 @@ __export(exports_model, {
22
22
  ModelInitializationError: () => ModelInitializationError2,
23
23
  ModelNotSelectedError: () => ModelNotSelectedError2,
24
24
  ModelUnavailableError: () => ModelUnavailableError2,
25
- Service: () => Service33,
25
+ Service: () => Service50,
26
26
  SessionRunnerModel: () => exports_model,
27
27
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
28
28
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
29
29
  UnsupportedPackageError: () => UnsupportedPackageError2,
30
30
  VariantUnavailableError: () => VariantUnavailableError2,
31
- node: () => node36,
31
+ node: () => node53,
32
32
  resolved: () => resolved2
33
33
  });
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -57,7 +57,7 @@ var ModelInitializationError2 = ModelInitializationError3;
57
57
  var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
58
58
  var UnsupportedCompactionError2 = UnsupportedCompactionError3;
59
59
 
60
- class Service33 extends Context.Service()("@opencode/SessionRunnerModel") {
60
+ class Service50 extends Context.Service()("@opencode/SessionRunnerModel") {
61
61
  }
62
62
  var resolved2 = (model, options) => ({
63
63
  model,
@@ -72,9 +72,9 @@ var resolved2 = (model, options) => ({
72
72
  compaction: options.compaction,
73
73
  websocket: options.websocket ?? false
74
74
  });
75
- var layer = Layer.effect(Service33, Effect.gen(function* () {
76
- const resolver = yield* Service61;
77
- return Service33.of({
75
+ var layer = Layer.effect(Service50, Effect.gen(function* () {
76
+ const resolver = yield* Service52;
77
+ return Service50.of({
78
78
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
79
79
  if (!session.model) {
80
80
  const resolved = yield* resolver.resolve();
@@ -92,6 +92,6 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
92
92
  })
93
93
  });
94
94
  }));
95
- var node36 = makeLocationNode({ service: Service33, layer, deps: [node65] });
95
+ var node53 = makeLocationNode({ service: Service50, layer, deps: [node55] });
96
96
 
97
- export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service33, resolved2, node36, exports_model };
97
+ export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service50, resolved2, node53, exports_model };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./rpc-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service41,
8
+ Service: () => Service35,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node44
10
+ node: () => node39
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service41 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service35 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service41, () => {
17
+ var layer = Layer.sync(Service35, () => {
18
18
  const environments = new Map;
19
- return Service41.of({
19
+ return Service35.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service41, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node44 = makeGlobalNode({ service: Service41, layer, deps: [] });
29
+ var node39 = makeGlobalNode({ service: Service35, layer, deps: [] });
30
30
 
31
- export { Service41, node44, exports_environment };
31
+ export { Service35, node39, exports_environment };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./rpc-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/catalog.ts
6
6
  var exports_catalog = {};
7
7
  __export(exports_catalog, {
8
8
  CodeModeCatalog: () => exports_catalog,
9
9
  Summary: () => Summary2,
10
- Tool: () => Tool3,
10
+ Tool: () => Tool2,
11
11
  namespaceLine: () => namespaceLine2,
12
12
  summarize: () => summarize2
13
13
  });
14
14
  import { Schema } from "effect";
15
- var Tool3 = Schema.Struct({
15
+ var Tool2 = Schema.Struct({
16
16
  type: Schema.Literal("tool"),
17
17
  name: Schema.String,
18
18
  description: Schema.String,
@@ -148,4 +148,4 @@ function cost(text) {
148
148
  return Math.round(text.length / CHARACTERS_PER_TOKEN);
149
149
  }
150
150
 
151
- export { Tool3, Summary2, summarize2, namespaceLine2, exports_catalog };
151
+ export { Tool2, Summary2, summarize2, namespaceLine2, exports_catalog };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  useragent2
3
- } from "./model-resolver-r345bmqf.js";
3
+ } from "./rpc-2gq7g35w.js";
4
4
  import {
5
5
  Service79
6
- } from "./model-resolver-yz1rwmdd.js";
6
+ } from "./rpc-dnz2amen.js";
7
7
  import {
8
8
  OAuth3,
9
- Event20,
10
- Service78
11
- } from "./model-resolver-tknyxa64.js";
9
+ Event17,
10
+ Service61
11
+ } from "./rpc-ak9cgfv8.js";
12
12
  import {
13
- ID16,
13
+ ID10,
14
14
  MethodID2,
15
- Service76
16
- } from "./model-resolver-s6y5cb61.js";
15
+ Service59
16
+ } from "./rpc-9fvtqfah.js";
17
17
  import {
18
18
  success2,
19
19
  error2
20
- } from "./model-resolver-pjvnvgmy.js";
20
+ } from "./rpc-pjvnvgmy.js";
21
21
  import {
22
22
  ID15
23
- } from "./model-resolver-xg954myy.js";
23
+ } from "./rpc-xjk8cg32.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./model-resolver-k5z1e6p1.js";
26
+ } from "./rpc-awy0m2ht.js";
27
27
 
28
28
  // src/plugin/provider/snowflake-cortex.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
@@ -31,7 +31,7 @@ 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
33
  var providerID = ID15.make("snowflake-cortex");
34
- var integrationID = ID16.make(providerID);
34
+ var integrationID = ID10.make(providerID);
35
35
  var methodID = MethodID2.make("browser");
36
36
  var clientID = "LOCAL_APPLICATION";
37
37
  var accountForm = Form.Fields.make([
@@ -53,8 +53,8 @@ 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* Service78;
57
- const integrations = yield* Service76;
56
+ const credentials = yield* Service61;
57
+ const integrations = yield* Service59;
58
58
  const bus = yield* Service79;
59
59
  const configured = yield* configuredSettings2(providerID);
60
60
  const account = { value: "" };
@@ -178,7 +178,7 @@ var SnowflakeCortexPlugin2 = define({
178
178
  model.settings.baseURL = endpoint(model.settings.baseURL, account.value);
179
179
  }
180
180
  });
181
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
181
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
182
182
  yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
183
183
  const token = envToken();
184
184
  if (token)
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./model-resolver-qfa1cgps.js";
3
+ } from "./rpc-qfa1cgps.js";
4
4
 
5
5
  // src/kv/sql.ts
6
6
  import { sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./rpc-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./rpc-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./model-resolver-xg954myy.js";
4
+ } from "./rpc-xjk8cg32.js";
5
5
 
6
6
  // src/plugin/provider/vercel.ts
7
7
  import { Effect } from "effect";