@opencode/core 0.0.0-dev-20157 → 0.0.0-dev-20158

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 (803) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{repository-1bfc10mg.js → model-resolver-00yaqz7j.js} +18 -18
  8. package/dist/chunks/{repository-54cht2md.js → model-resolver-0706z96g.js} +19 -19
  9. package/dist/chunks/{repository-2531bb5a.js → model-resolver-0f0kaz2k.js} +11 -11
  10. package/dist/chunks/{repository-w4arg62q.js → model-resolver-0ft9cg2j.js} +4 -4
  11. package/dist/chunks/{repository-y14362pj.js → model-resolver-0grg8x1d.js} +15 -15
  12. package/dist/chunks/{repository-82rhge12.js → model-resolver-0jq9fyba.js} +9 -9
  13. package/dist/chunks/{repository-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{repository-w3x6xwqj.js → model-resolver-0s2w903j.js} +1 -1
  15. package/dist/chunks/{repository-akcepp6y.js → model-resolver-0v1pwmed.js} +6 -6
  16. package/dist/chunks/{repository-qk5kxcbj.js → model-resolver-0vmm7rs7.js} +20 -20
  17. package/dist/chunks/{repository-cm0f77dr.js → model-resolver-0wvc14eb.js} +7 -7
  18. package/dist/chunks/{repository-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{repository-y2sxsfvk.js → model-resolver-1kehk7jc.js} +14 -14
  20. package/dist/chunks/{repository-rkprpv83.js → model-resolver-1p07q0wb.js} +4 -4
  21. package/dist/chunks/{repository-htpfkpfv.js → model-resolver-206tr2x9.js} +3 -3
  22. package/dist/chunks/{repository-21r38tys.js → model-resolver-21r38tys.js} +1 -1
  23. package/dist/chunks/{repository-3petje8f.js → model-resolver-22qs65eb.js} +3 -3
  24. package/dist/chunks/{repository-2402vzrj.js → model-resolver-2402vzrj.js} +1 -1
  25. package/dist/chunks/{repository-kma5cn94.js → model-resolver-24sm1qyr.js} +20 -20
  26. package/dist/chunks/{repository-p4w1wdw7.js → model-resolver-26see1q8.js} +26 -26
  27. package/dist/chunks/{repository-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{repository-2a6rn6yr.js → model-resolver-2a6rn6yr.js} +1 -1
  29. package/dist/chunks/{repository-x5h44zm2.js → model-resolver-2bekqz3a.js} +13 -13
  30. package/dist/chunks/{repository-9xvq3m7s.js → model-resolver-2f0bjgcj.js} +5 -5
  31. package/dist/chunks/{repository-76eezes8.js → model-resolver-2htysf3r.js} +3 -3
  32. package/dist/chunks/{repository-2k8khapm.js → model-resolver-2k8khapm.js} +1 -1
  33. package/dist/chunks/{repository-4bqx1nme.js → model-resolver-2y80ys67.js} +14 -14
  34. package/dist/chunks/{repository-sqbb0ctm.js → model-resolver-38ys11y3.js} +5 -5
  35. package/dist/chunks/{repository-f5fspc7b.js → model-resolver-3918zp65.js} +6 -6
  36. package/dist/chunks/{repository-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{repository-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{repository-x4m537wk.js → model-resolver-3n5xgdmc.js} +5 -5
  39. package/dist/chunks/{repository-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{repository-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{repository-3x8fysj4.js → model-resolver-3w074pk4.js} +22 -22
  42. package/dist/chunks/{repository-bm2y31hv.js → model-resolver-3zr4kwp4.js} +13 -13
  43. package/dist/chunks/{repository-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
  44. package/dist/chunks/{repository-ztjbcj90.js → model-resolver-44ykhczy.js} +45 -45
  45. package/dist/chunks/{repository-gqnw29hq.js → model-resolver-48dv6t9d.js} +13 -13
  46. package/dist/chunks/{repository-jvzh73h3.js → model-resolver-4arp3q20.js} +20 -20
  47. package/dist/chunks/{repository-3f66bwfz.js → model-resolver-4c5t4vfv.js} +14 -14
  48. package/dist/chunks/{repository-2nzc6ac3.js → model-resolver-4cpnk8xd.js} +4 -4
  49. package/dist/chunks/{repository-h6r3nrb9.js → model-resolver-4dgbcxzg.js} +4 -4
  50. package/dist/chunks/{repository-4t037ma6.js → model-resolver-4ffdv1a7.js} +13 -13
  51. package/dist/chunks/{repository-4j5v26y0.js → model-resolver-4g1652p2.js} +5 -5
  52. package/dist/chunks/{repository-nkcwakxz.js → model-resolver-4gycnsfp.js} +4 -4
  53. package/dist/chunks/{repository-2fgn2we9.js → model-resolver-4sn99hha.js} +5 -5
  54. package/dist/chunks/{repository-nz1w7233.js → model-resolver-4wsh9859.js} +22 -22
  55. package/dist/chunks/{repository-pnpn4wz1.js → model-resolver-4y596e4p.js} +15 -15
  56. package/dist/chunks/{repository-n4qk2p21.js → model-resolver-50g511xe.js} +5 -5
  57. package/dist/chunks/{repository-nrdmrqsx.js → model-resolver-50mzsvk4.js} +4 -4
  58. package/dist/chunks/{repository-6j3j64eb.js → model-resolver-52b8xadt.js} +80 -80
  59. package/dist/chunks/{repository-jjzf804t.js → model-resolver-56dkfrzf.js} +4 -4
  60. package/dist/chunks/{repository-drwq78ky.js → model-resolver-57b9ws8p.js} +5 -5
  61. package/dist/chunks/{repository-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
  62. package/dist/chunks/{repository-45g6rp4p.js → model-resolver-5pemj9ar.js} +6 -6
  63. package/dist/chunks/{repository-qn9vy89p.js → model-resolver-5qn1w087.js} +27 -27
  64. package/dist/chunks/{repository-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
  65. package/dist/chunks/{repository-669tq793.js → model-resolver-669tq793.js} +1 -1
  66. package/dist/chunks/{repository-bx3fq6aw.js → model-resolver-680vfc89.js} +11 -11
  67. package/dist/chunks/{repository-zxptzjm7.js → model-resolver-68z8xbqp.js} +23 -23
  68. package/dist/chunks/{repository-n34cz6pc.js → model-resolver-6f8s49am.js} +12 -12
  69. package/dist/chunks/model-resolver-6kdq0pjd.js +4 -0
  70. package/dist/chunks/{repository-sae9kgks.js → model-resolver-6ms63ajj.js} +11 -11
  71. package/dist/chunks/{repository-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
  72. package/dist/chunks/{repository-3zz7237p.js → model-resolver-6s4d8484.js} +6 -6
  73. package/dist/chunks/{repository-smxxsx11.js → model-resolver-6xb8k124.js} +10 -10
  74. package/dist/chunks/{repository-1xpzac98.js → model-resolver-7a04pq0x.js} +20 -20
  75. package/dist/chunks/{repository-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{repository-t041a9x4.js → model-resolver-7h056913.js} +22 -22
  77. package/dist/chunks/{repository-atcwnc5a.js → model-resolver-7h4fmbdk.js} +31 -31
  78. package/dist/chunks/{repository-jb8f8bdw.js → model-resolver-7jbkg8gb.js} +28 -28
  79. package/dist/chunks/{repository-asvap28k.js → model-resolver-7jq3dafd.js} +22 -22
  80. package/dist/chunks/{repository-6t9zdyzr.js → model-resolver-7qygjkb5.js} +10 -10
  81. package/dist/chunks/{repository-www228tn.js → model-resolver-7re7g1jd.js} +43 -43
  82. package/dist/chunks/{repository-vsrax324.js → model-resolver-7w8r2k62.js} +24 -24
  83. package/dist/chunks/{repository-b7b4ctej.js → model-resolver-84zcxbc9.js} +5 -5
  84. package/dist/chunks/{repository-xm24773m.js → model-resolver-86gv9yex.js} +38 -38
  85. package/dist/chunks/{repository-mzvn4c0x.js → model-resolver-8c3w0b8b.js} +15 -15
  86. package/dist/chunks/{repository-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
  87. package/dist/chunks/{repository-rpbss5j3.js → model-resolver-8t84k4kw.js} +31 -31
  88. package/dist/chunks/{repository-rdmyapgx.js → model-resolver-90r4fb4b.js} +15 -15
  89. package/dist/chunks/{repository-hyyftsxg.js → model-resolver-91g4gbhj.js} +6 -6
  90. package/dist/chunks/{repository-94ek1h2f.js → model-resolver-94ek1h2f.js} +2 -2
  91. package/dist/chunks/{repository-yq9bhs5j.js → model-resolver-97fmyryk.js} +3 -3
  92. package/dist/chunks/{repository-e7ws6ec8.js → model-resolver-9g2t5fv6.js} +43 -43
  93. package/dist/chunks/{repository-ak8wweg5.js → model-resolver-9kmbd9mt.js} +2 -2
  94. package/dist/chunks/model-resolver-9sh4wc5j.js +18 -0
  95. package/dist/chunks/{repository-a8eh5f32.js → model-resolver-a0vyv8yz.js} +18 -18
  96. package/dist/chunks/{repository-f334w0pg.js → model-resolver-a46d7692.js} +31 -31
  97. package/dist/chunks/{repository-vrwms5ta.js → model-resolver-a46q39xd.js} +4 -4
  98. package/dist/chunks/{repository-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
  99. package/dist/chunks/{repository-m7byf6m1.js → model-resolver-acvggdgr.js} +28 -28
  100. package/dist/chunks/{repository-e59tsew2.js → model-resolver-amy9ev3g.js} +14 -14
  101. package/dist/chunks/{repository-8e412960.js → model-resolver-an4y2yf1.js} +24 -24
  102. package/dist/chunks/{repository-hx10j1ep.js → model-resolver-aqctzznh.js} +11 -11
  103. package/dist/chunks/model-resolver-as3mn4aa.js +252 -0
  104. package/dist/chunks/{repository-y5df08dr.js → model-resolver-azeyjv65.js} +8 -8
  105. package/dist/chunks/{repository-vp03n2p3.js → model-resolver-b1gxdpvp.js} +20 -20
  106. package/dist/chunks/{repository-sm84vfww.js → model-resolver-b2m4v72c.js} +12 -12
  107. package/dist/chunks/{repository-ftjt2372.js → model-resolver-b33searm.js} +6 -6
  108. package/dist/chunks/{repository-fp35vcn1.js → model-resolver-b5e2yk6d.js} +50 -50
  109. package/dist/chunks/{repository-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
  110. package/dist/chunks/{repository-21akxfrh.js → model-resolver-b9p5vg71.js} +70 -70
  111. package/dist/chunks/{repository-j83byb14.js → model-resolver-bct739vz.js} +4 -4
  112. package/dist/chunks/{repository-eahms454.js → model-resolver-bhfy7g21.js} +40 -40
  113. package/dist/chunks/{repository-stv887d7.js → model-resolver-bn78pb0y.js} +7 -7
  114. package/dist/chunks/{repository-580xkvb2.js → model-resolver-bwg4kr2v.js} +23 -23
  115. package/dist/chunks/{repository-prd1yc4e.js → model-resolver-c57ase6y.js} +26 -26
  116. package/dist/chunks/{repository-jsknnxm0.js → model-resolver-c6ea9mwp.js} +21 -21
  117. package/dist/chunks/{repository-ckecvw8r.js → model-resolver-ckecvw8r.js} +2 -2
  118. package/dist/chunks/{repository-djszqvmq.js → model-resolver-cwa6csj7.js} +9 -9
  119. package/dist/chunks/{repository-an66nx3z.js → model-resolver-czb8wht1.js} +40 -40
  120. package/dist/chunks/{repository-4gxz33t2.js → model-resolver-d440cxsn.js} +13 -13
  121. package/dist/chunks/{repository-hr9sx13n.js → model-resolver-d8p93nrm.js} +18 -18
  122. package/dist/chunks/{repository-ndz0f2pv.js → model-resolver-d981nn93.js} +14 -14
  123. package/dist/chunks/{repository-pca6s4fg.js → model-resolver-e0e0xvb3.js} +24 -24
  124. package/dist/chunks/{repository-ecfe7b91.js → model-resolver-ecfe7b91.js} +2 -2
  125. package/dist/chunks/{repository-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
  126. package/dist/chunks/{repository-qbqbaz6q.js → model-resolver-ermxvwhp.js} +4 -4
  127. package/dist/chunks/{repository-dh4q5s77.js → model-resolver-et83fa73.js} +11 -11
  128. package/dist/chunks/{repository-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
  129. package/dist/chunks/{repository-1z5ysepc.js → model-resolver-eznmshf9.js} +11 -11
  130. package/dist/chunks/{repository-svv95awx.js → model-resolver-fhbtmvm6.js} +26 -26
  131. package/dist/chunks/{repository-w6pxqv2r.js → model-resolver-fjzx8x1z.js} +12 -12
  132. package/dist/chunks/{repository-1khmhcax.js → model-resolver-fmyj3kws.js} +9 -9
  133. package/dist/chunks/{repository-2j74qy9w.js → model-resolver-fqp7qv4y.js} +4 -4
  134. package/dist/chunks/{repository-w3zzd7fq.js → model-resolver-ft2qew80.js} +16 -16
  135. package/dist/chunks/{repository-pa8pe2x7.js → model-resolver-g0445xdp.js} +8 -8
  136. package/dist/chunks/{repository-eyn5j564.js → model-resolver-g1wask2c.js} +11 -11
  137. package/dist/chunks/{repository-wtb2nkxw.js → model-resolver-g6szcc3v.js} +4 -4
  138. package/dist/chunks/{repository-fsbk27r1.js → model-resolver-g762atc6.js} +9 -9
  139. package/dist/chunks/{repository-sxz6gkc3.js → model-resolver-g8d3gcyj.js} +4 -4
  140. package/dist/chunks/{repository-v4028cvv.js → model-resolver-gawe0pa8.js} +13 -13
  141. package/dist/chunks/{repository-wjdksev2.js → model-resolver-gcg1yrj4.js} +43 -43
  142. package/dist/chunks/{repository-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
  143. package/dist/chunks/{repository-xqn8f2xc.js → model-resolver-gfpbexs2.js} +21 -21
  144. package/dist/chunks/{repository-0dtc7saj.js → model-resolver-gkz061q6.js} +7 -7
  145. package/dist/chunks/{repository-gv6a8nnw.js → model-resolver-gv6a8nnw.js} +2 -2
  146. package/dist/chunks/{repository-ch64seem.js → model-resolver-gy7dsj4k.js} +27 -27
  147. package/dist/chunks/{repository-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
  148. package/dist/chunks/{repository-21zq8aa1.js → model-resolver-ha607pgt.js} +6 -6
  149. package/dist/chunks/{repository-az4a6sax.js → model-resolver-havtyyxz.js} +84 -84
  150. package/dist/chunks/{repository-gwahz6hz.js → model-resolver-hb2fds8x.js} +13 -13
  151. package/dist/chunks/{repository-geakp29a.js → model-resolver-hbtqa4wz.js} +11 -11
  152. package/dist/chunks/{repository-mp5r29aw.js → model-resolver-hf3pz0b6.js} +8 -8
  153. package/dist/chunks/{repository-wbfjc2h1.js → model-resolver-hk1vpbmp.js} +12 -12
  154. package/dist/chunks/{repository-xkv170v4.js → model-resolver-hps07q8v.js} +19 -19
  155. package/dist/chunks/{repository-73tb2d7t.js → model-resolver-j028xdjb.js} +3 -3
  156. package/dist/chunks/{repository-wzvzbcsg.js → model-resolver-j26sntzs.js} +12 -12
  157. package/dist/chunks/{repository-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
  158. package/dist/chunks/{repository-4eq8w0dz.js → model-resolver-j8afcsyc.js} +4 -4
  159. package/dist/chunks/{repository-5qedxm44.js → model-resolver-jh76kevn.js} +11 -11
  160. package/dist/chunks/{repository-r1zrj47q.js → model-resolver-jhhqz5ys.js} +32 -32
  161. package/dist/chunks/{repository-x3gqap9d.js → model-resolver-k0a3z2qz.js} +4 -4
  162. package/dist/chunks/{repository-kt8nfkp3.js → model-resolver-k10ybmck.js} +31 -31
  163. package/dist/chunks/{repository-86m00gc1.js → model-resolver-k1qrnqst.js} +8 -8
  164. package/dist/chunks/{repository-dhkwabp0.js → model-resolver-k5znp5xn.js} +22 -22
  165. package/dist/chunks/{repository-9t9nwrjp.js → model-resolver-k8e8qrky.js} +7 -7
  166. package/dist/chunks/{repository-13dgep1z.js → model-resolver-kjesjdjk.js} +18 -18
  167. package/dist/chunks/{repository-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
  168. package/dist/chunks/{repository-n2yeqzr5.js → model-resolver-m5m12nva.js} +3 -3
  169. package/dist/chunks/{repository-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  170. package/dist/chunks/{repository-fqka1xvk.js → model-resolver-mf9m2v67.js} +3 -3
  171. package/dist/chunks/{repository-56gdpj1q.js → model-resolver-mfqp6xfm.js} +6 -6
  172. package/dist/chunks/{repository-50zpe24t.js → model-resolver-mk1jn20m.js} +23 -23
  173. package/dist/chunks/{repository-0dea7hqg.js → model-resolver-mkthra7k.js} +7 -7
  174. package/dist/chunks/{repository-a6aff8z8.js → model-resolver-mm5nt2nt.js} +18 -18
  175. package/dist/chunks/{repository-a70bg6dx.js → model-resolver-mmhjy9tz.js} +8 -8
  176. package/dist/chunks/{repository-ncvdxrbg.js → model-resolver-mxterfad.js} +17 -17
  177. package/dist/chunks/{repository-70we0w58.js → model-resolver-mywrbmkg.js} +11 -11
  178. package/dist/chunks/{repository-hqxxrcsw.js → model-resolver-n01f24md.js} +23 -23
  179. package/dist/chunks/{repository-was7srj9.js → model-resolver-n2kah95r.js} +8 -8
  180. package/dist/chunks/{repository-89e14fg5.js → model-resolver-n799s5c3.js} +8 -8
  181. package/dist/chunks/{repository-p26nknmg.js → model-resolver-nbzsj80d.js} +8 -8
  182. package/dist/chunks/{repository-b6szjc2b.js → model-resolver-nd15zvwa.js} +5 -5
  183. package/dist/chunks/model-resolver-nf75hyxw.js +26 -0
  184. package/dist/chunks/{repository-j64jv97n.js → model-resolver-nqp3avv2.js} +8 -8
  185. package/dist/chunks/{repository-62gx00z5.js → model-resolver-nyrbevt9.js} +16 -16
  186. package/dist/chunks/{repository-har18r6r.js → model-resolver-nysns02s.js} +20 -20
  187. package/dist/chunks/{repository-8g5424td.js → model-resolver-nz34eq69.js} +32 -32
  188. package/dist/chunks/{repository-k3c624dm.js → model-resolver-nzks3jc8.js} +3 -3
  189. package/dist/chunks/{repository-zd8hcvy8.js → model-resolver-p1j6bn8g.js} +14 -14
  190. package/dist/chunks/{repository-hr7nhsg3.js → model-resolver-p4776vvd.js} +2 -2
  191. package/dist/chunks/{repository-pccq72bz.js → model-resolver-pccq72bz.js} +4 -4
  192. package/dist/chunks/{repository-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
  193. package/dist/chunks/{repository-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  194. package/dist/chunks/{repository-pnv527nz.js → model-resolver-pnv527nz.js} +2 -2
  195. package/dist/chunks/{repository-w6zk8pbt.js → model-resolver-pnvk1zxf.js} +8 -8
  196. package/dist/chunks/{repository-y9kjq5j3.js → model-resolver-pv19q001.js} +9 -9
  197. package/dist/chunks/{repository-jewqmp23.js → model-resolver-pvkbt02t.js} +7 -7
  198. package/dist/chunks/{repository-h3r85v63.js → model-resolver-q17kn81w.js} +10 -10
  199. package/dist/chunks/{repository-b57g7gde.js → model-resolver-q5n3bppz.js} +3 -3
  200. package/dist/chunks/{repository-jdt82a65.js → model-resolver-q62m1k22.js} +7 -7
  201. package/dist/chunks/{repository-9c7cfx9k.js → model-resolver-q94qa9gk.js} +12 -12
  202. package/dist/chunks/{repository-5rfaxrsd.js → model-resolver-qh65rry2.js} +22 -22
  203. package/dist/chunks/{repository-5ke24xg0.js → model-resolver-qqs8gy82.js} +28 -28
  204. package/dist/chunks/{repository-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
  205. package/dist/chunks/{repository-8xdzh0gy.js → model-resolver-qtq8atx0.js} +27 -27
  206. package/dist/chunks/{repository-zbzxhk8m.js → model-resolver-qy0qk774.js} +22 -22
  207. package/dist/chunks/{repository-4e5ccp43.js → model-resolver-r20xradg.js} +28 -28
  208. package/dist/chunks/{repository-50nkx4g5.js → model-resolver-r322q3y6.js} +34 -34
  209. package/dist/chunks/{repository-pxbjxcby.js → model-resolver-r3tpvskf.js} +30 -30
  210. package/dist/chunks/{repository-z139kjpf.js → model-resolver-rdfh74de.js} +8 -8
  211. package/dist/chunks/{repository-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
  212. package/dist/chunks/{repository-x3g34f3v.js → model-resolver-rehwyskh.js} +1 -1
  213. package/dist/chunks/{repository-j4dredde.js → model-resolver-rwqynx0a.js} +11 -11
  214. package/dist/chunks/{repository-k4xenmvj.js → model-resolver-s0fa4gp7.js} +10 -10
  215. package/dist/chunks/{repository-ehsk5wsv.js → model-resolver-sc29y7gj.js} +31 -31
  216. package/dist/chunks/{repository-r040zy0g.js → model-resolver-sf3bhtkb.js} +25 -25
  217. package/dist/chunks/{repository-pdgybe9w.js → model-resolver-sf66h50n.js} +5 -5
  218. package/dist/chunks/{repository-32h4nn8p.js → model-resolver-sfntmzm9.js} +1 -1
  219. package/dist/chunks/{repository-vhyze3e3.js → model-resolver-sk9r5ttv.js} +15 -15
  220. package/dist/chunks/{repository-5gbgdf63.js → model-resolver-snqzjp2x.js} +26 -26
  221. package/dist/chunks/{repository-wa5jjdw0.js → model-resolver-sr97vwy6.js} +9 -9
  222. package/dist/chunks/{repository-y99ygqqg.js → model-resolver-srpj3tpa.js} +48 -48
  223. package/dist/chunks/{repository-8jyfh64s.js → model-resolver-stn6csqj.js} +23 -23
  224. package/dist/chunks/{repository-tfzy1df7.js → model-resolver-sv5s01x5.js} +32 -32
  225. package/dist/chunks/{repository-r6vv5p3m.js → model-resolver-t1gsh4a5.js} +43 -43
  226. package/dist/chunks/{repository-4tjr6zkn.js → model-resolver-t34y2eq7.js} +43 -43
  227. package/dist/chunks/{repository-tcj9ww28.js → model-resolver-t3tp408p.js} +7 -7
  228. package/dist/chunks/{repository-t550f9t1.js → model-resolver-t550f9t1.js} +1 -1
  229. package/dist/chunks/{repository-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{repository-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
  231. package/dist/chunks/{repository-tdstcens.js → model-resolver-tdstcens.js} +1 -1
  232. package/dist/chunks/{repository-4f06rze2.js → model-resolver-tj92sfh7.js} +10 -10
  233. package/dist/chunks/{repository-epfpd7cv.js → model-resolver-tmw06j42.js} +9 -9
  234. package/dist/chunks/{repository-38nmpqef.js → model-resolver-tstsgrrw.js} +26 -26
  235. package/dist/chunks/{repository-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
  236. package/dist/chunks/{repository-3rbef5jj.js → model-resolver-typghqfk.js} +4 -4
  237. package/dist/chunks/{repository-t8730cdn.js → model-resolver-tyzdkfdt.js} +15 -15
  238. package/dist/chunks/{repository-vsfnjfd7.js → model-resolver-v1ykme1f.js} +11 -11
  239. package/dist/chunks/{repository-92kfgbvy.js → model-resolver-v52chzj3.js} +26 -26
  240. package/dist/chunks/{repository-1tdtc034.js → model-resolver-v74wxkr3.js} +18 -18
  241. package/dist/chunks/{repository-zcj9g204.js → model-resolver-vaqs8gs2.js} +5 -5
  242. package/dist/chunks/{repository-qfdxmfvr.js → model-resolver-vcrm0pnt.js} +6 -6
  243. package/dist/chunks/{repository-8vn4cfgq.js → model-resolver-vegycmpw.js} +14 -14
  244. package/dist/chunks/{repository-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
  245. package/dist/chunks/{repository-4shp4sr3.js → model-resolver-vj8gdh7j.js} +32 -32
  246. package/dist/chunks/{repository-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
  247. package/dist/chunks/{repository-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
  248. package/dist/chunks/{repository-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{repository-sdmk119x.js → model-resolver-w7nphhe6.js} +3 -3
  250. package/dist/chunks/{repository-61b773qj.js → model-resolver-w9tzyeh2.js} +3 -3
  251. package/dist/chunks/{repository-wd3x2cqz.js → model-resolver-wd3x2cqz.js} +2 -2
  252. package/dist/chunks/{repository-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  253. package/dist/chunks/{repository-0mp9629n.js → model-resolver-wg2wgzge.js} +29 -29
  254. package/dist/chunks/{repository-7hrknbh1.js → model-resolver-whmghete.js} +3 -3
  255. package/dist/chunks/{repository-2cjsxekc.js → model-resolver-wkpvktmd.js} +13 -13
  256. package/dist/chunks/{repository-cfmzrcj7.js → model-resolver-wpnzqk7a.js} +10 -10
  257. package/dist/chunks/{repository-4d31bbse.js → model-resolver-wymn1sd1.js} +10 -10
  258. package/dist/chunks/{repository-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
  259. package/dist/chunks/{repository-3nhsj318.js → model-resolver-x206tq9p.js} +28 -28
  260. package/dist/chunks/{repository-bakxampr.js → model-resolver-x6jzm7sq.js} +10 -10
  261. package/dist/chunks/{repository-kjjzdt6z.js → model-resolver-xfw9zcsv.js} +23 -23
  262. package/dist/chunks/{repository-02r4f2yh.js → model-resolver-xhp06ph4.js} +13 -13
  263. package/dist/chunks/{repository-xkntkrq7.js → model-resolver-xkntkrq7.js} +2 -2
  264. package/dist/chunks/{repository-hqxn6csc.js → model-resolver-xsym2eej.js} +168 -168
  265. package/dist/chunks/{repository-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{repository-crsexzag.js → model-resolver-y4838870.js} +30 -30
  267. package/dist/chunks/{repository-cc2shgt9.js → model-resolver-y6ttb9wj.js} +23 -23
  268. package/dist/chunks/{repository-y71avatq.js → model-resolver-y71avatq.js} +1 -1
  269. package/dist/chunks/{repository-qvb3nf84.js → model-resolver-y72zmemf.js} +8 -8
  270. package/dist/chunks/{repository-qernpydw.js → model-resolver-yg5p90v9.js} +5 -5
  271. package/dist/chunks/{repository-0r7yqxbf.js → model-resolver-yjptyezs.js} +5 -5
  272. package/dist/chunks/{repository-f2n192rq.js → model-resolver-yp2x3t23.js} +4 -4
  273. package/dist/chunks/{repository-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{repository-yrznvahk.js → model-resolver-yrznvahk.js} +2 -2
  275. package/dist/chunks/{repository-nxhqveyz.js → model-resolver-yt0fqk68.js} +5 -5
  276. package/dist/chunks/{repository-r7t6v39w.js → model-resolver-ytvzg9pg.js} +19 -19
  277. package/dist/chunks/{repository-z07pqspn.js → model-resolver-z07pqspn.js} +3 -3
  278. package/dist/chunks/{repository-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{repository-mnrg3sxj.js → model-resolver-z4px6pj1.js} +25 -25
  280. package/dist/chunks/{repository-z63w68vq.js → model-resolver-z63w68vq.js} +2 -2
  281. package/dist/chunks/{repository-h70nwwcc.js → model-resolver-z6b4caet.js} +14 -14
  282. package/dist/chunks/{repository-tqr3fgz4.js → model-resolver-z85c6j0e.js} +42 -42
  283. package/dist/chunks/model-resolver-z8ynyk0a.js +511 -0
  284. package/dist/chunks/{repository-68pety7q.js → model-resolver-zds2rnmv.js} +7 -7
  285. package/dist/chunks/{repository-g1sxm558.js → model-resolver-ze75yzft.js} +8 -8
  286. package/dist/chunks/{repository-zeh9ct20.js → model-resolver-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{repository-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{repository-jw7mqvhb.js → model-resolver-zv1jk2zx.js} +24 -24
  289. package/dist/chunks/{repository-y0rg8wwx.js → model-resolver-zv2w3gwr.js} +11 -11
  290. package/dist/chunks/{repository-t7n9q6bq.js → model-resolver-zvt5dnpc.js} +4 -4
  291. package/dist/chunks/{repository-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
  292. package/dist/chunks/{repository-agv6b8k2.js → model-resolver-zzqe82vy.js} +3 -3
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +9 -9
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +81 -81
  298. package/dist/config/discovery.js +82 -82
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +121 -121
  302. package/dist/config/plugin/command.js +212 -212
  303. package/dist/config/plugin/compaction.js +160 -160
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +125 -125
  310. package/dist/config/plugin/mcp.js +130 -130
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +123 -123
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +144 -144
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +126 -126
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +124 -124
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +124 -124
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +81 -81
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +366 -366
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +1 -1
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +93 -93
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +74 -74
  417. package/dist/file-access.js +100 -100
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/file.js +1 -1
  421. package/dist/filesystem/fff.bun.js +2 -2
  422. package/dist/filesystem/fff.js +1 -1
  423. package/dist/filesystem/fff.node.js +2 -2
  424. package/dist/filesystem/fff.workerd.js +2 -2
  425. package/dist/filesystem/ignore.js +1 -1
  426. package/dist/filesystem/location-watcher-policy.js +6 -6
  427. package/dist/filesystem/location-watcher.js +227 -227
  428. package/dist/filesystem/protected.js +1 -1
  429. package/dist/filesystem/search.js +99 -99
  430. package/dist/filesystem/watcher-binding.js +1 -1
  431. package/dist/filesystem/watcher.js +11 -11
  432. package/dist/filesystem.js +100 -100
  433. package/dist/form.js +82 -82
  434. package/dist/formatter/builtins.js +4 -4
  435. package/dist/formatter.js +87 -87
  436. package/dist/generate.js +105 -105
  437. package/dist/git.js +8 -8
  438. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  439. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  440. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  442. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  443. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  444. package/dist/github-copilot/copilot-provider.js +17 -17
  445. package/dist/github-copilot/models.js +99 -99
  446. package/dist/github-copilot/openai-compatible-error.js +1 -1
  447. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  448. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  449. package/dist/github-copilot/responses/openai-error.js +1 -1
  450. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  451. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  452. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  453. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  454. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  457. package/dist/id/id.js +1 -1
  458. package/dist/image/photon.js +2 -2
  459. package/dist/image.js +6 -6
  460. package/dist/instance/service.js +1 -1
  461. package/dist/instance.js +359 -359
  462. package/dist/instruction-discovery.js +81 -81
  463. package/dist/instructions/builtins.js +87 -87
  464. package/dist/instructions/index.js +1 -1
  465. package/dist/integration/connection.js +3 -3
  466. package/dist/integration.js +84 -84
  467. package/dist/job.js +75 -75
  468. package/dist/kv/sql.js +2 -2
  469. package/dist/kv.js +73 -73
  470. package/dist/location-activity.js +135 -135
  471. package/dist/location-lifecycle.js +107 -107
  472. package/dist/location-mutation.js +100 -100
  473. package/dist/location-service-map.js +86 -86
  474. package/dist/location-services.js +360 -360
  475. package/dist/location.js +83 -83
  476. package/dist/managed-policy.js +5 -5
  477. package/dist/mcp/client.js +91 -91
  478. package/dist/mcp/index.js +102 -102
  479. package/dist/mcp/instructions.js +124 -124
  480. package/dist/mcp/oauth.js +78 -78
  481. package/dist/mcp/stdio.js +90 -90
  482. package/dist/mime.js +1 -1
  483. package/dist/modal/models.js +99 -99
  484. package/dist/model-resolver.js +96 -96
  485. package/dist/model.js +98 -98
  486. package/dist/models-dev.js +99 -99
  487. package/dist/oauth/page.js +1 -1
  488. package/dist/permission/saved.js +78 -78
  489. package/dist/permission/sql.js +5 -5
  490. package/dist/permission.js +105 -105
  491. package/dist/persistent-pty/binary.bun.js +1 -1
  492. package/dist/persistent-pty/daemon.js +1 -1
  493. package/dist/persistent-pty/index.js +82 -82
  494. package/dist/persistent-pty/pty-binding.js +1 -1
  495. package/dist/persistent-pty.js +75 -75
  496. package/dist/plugin/agent.js +102 -102
  497. package/dist/plugin/command.js +99 -99
  498. package/dist/plugin/compaction.js +131 -131
  499. package/dist/plugin/hooks.js +5 -5
  500. package/dist/plugin/host.js +218 -218
  501. package/dist/plugin/identity.js +3 -3
  502. package/dist/plugin/instance.js +5 -5
  503. package/dist/plugin/internal.js +334 -334
  504. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  505. package/dist/plugin/models-dev.js +96 -96
  506. package/dist/plugin/module.js +7 -7
  507. package/dist/plugin/optimize.js +2 -2
  508. package/dist/plugin/plan.js +102 -102
  509. package/dist/plugin/promise.js +1 -1
  510. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  511. package/dist/plugin/provider/azure.js +122 -122
  512. package/dist/plugin/provider/cerebras.js +1 -1
  513. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  514. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  515. package/dist/plugin/provider/cohere.js +2 -2
  516. package/dist/plugin/provider/configured.js +119 -119
  517. package/dist/plugin/provider/digitalocean.js +93 -93
  518. package/dist/plugin/provider/dynamic.js +2 -2
  519. package/dist/plugin/provider/factory.js +1 -1
  520. package/dist/plugin/provider/gateway.js +2 -2
  521. package/dist/plugin/provider/github-copilot.js +93 -93
  522. package/dist/plugin/provider/gitlab.js +93 -93
  523. package/dist/plugin/provider/google-vertex.js +90 -90
  524. package/dist/plugin/provider/kilo.js +1 -1
  525. package/dist/plugin/provider/llmgateway.js +77 -77
  526. package/dist/plugin/provider/lmstudio.js +120 -120
  527. package/dist/plugin/provider/modal.js +92 -92
  528. package/dist/plugin/provider/nvidia.js +1 -1
  529. package/dist/plugin/provider/ollama.js +122 -122
  530. package/dist/plugin/provider/openai.js +92 -92
  531. package/dist/plugin/provider/opencode.js +95 -95
  532. package/dist/plugin/provider/openrouter.js +91 -91
  533. package/dist/plugin/provider/perplexity.js +2 -2
  534. package/dist/plugin/provider/poe.js +78 -78
  535. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  536. package/dist/plugin/provider/sap-ai-core.js +91 -91
  537. package/dist/plugin/provider/sdk-factory.js +1 -1
  538. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  539. package/dist/plugin/provider/venice.js +2 -2
  540. package/dist/plugin/provider/vercel.js +90 -90
  541. package/dist/plugin/provider/vllm.js +122 -122
  542. package/dist/plugin/provider/xai.js +91 -91
  543. package/dist/plugin/provider/zenmux.js +1 -1
  544. package/dist/plugin/provider.js +160 -160
  545. package/dist/plugin/sdk.js +76 -76
  546. package/dist/plugin/service.js +3 -3
  547. package/dist/plugin/skill.js +141 -141
  548. package/dist/plugin/source-directory.js +1 -1
  549. package/dist/plugin/supervisor.js +353 -353
  550. package/dist/plugin/tool-input-repair.js +4 -4
  551. package/dist/plugin/update.js +6 -6
  552. package/dist/plugin/vcs/git.js +86 -86
  553. package/dist/plugin/vcs/hg.js +86 -86
  554. package/dist/plugin/verbosity.js +93 -93
  555. package/dist/plugin/warming.js +121 -121
  556. package/dist/plugin/websearch/exa.js +7 -7
  557. package/dist/plugin/websearch/firecrawl.js +6 -6
  558. package/dist/plugin/websearch/index.js +9 -9
  559. package/dist/plugin/websearch/mcp.js +4 -4
  560. package/dist/plugin/websearch/parallel.js +8 -8
  561. package/dist/plugin/websearch/tavily.js +6 -6
  562. package/dist/plugin/websearch/tinyfish.js +8 -8
  563. package/dist/plugin.js +227 -227
  564. package/dist/project/schema.js +4 -4
  565. package/dist/project/sql.js +4 -4
  566. package/dist/project.js +84 -84
  567. package/dist/provider.js +97 -97
  568. package/dist/pty/protocol.js +1 -1
  569. package/dist/pty/schema.js +3 -3
  570. package/dist/pty/ticket.js +1 -1
  571. package/dist/pty.js +96 -96
  572. package/dist/reference/instructions.js +89 -89
  573. package/dist/reference.js +89 -89
  574. package/dist/repository-cache.js +81 -81
  575. package/dist/repository.js +1 -1
  576. package/dist/ripgrep/binary.js +2 -2
  577. package/dist/ripgrep.js +95 -95
  578. package/dist/rpc.js +86 -86
  579. package/dist/schema.js +1 -1
  580. package/dist/session/command.js +74 -74
  581. package/dist/session/compaction.js +134 -134
  582. package/dist/session/context.js +152 -152
  583. package/dist/session/diff.js +88 -88
  584. package/dist/session/environment.js +5 -5
  585. package/dist/session/error.js +3 -3
  586. package/dist/session/event.js +1 -1
  587. package/dist/session/execution/restart.js +221 -221
  588. package/dist/session/execution.js +126 -126
  589. package/dist/session/generate.js +153 -153
  590. package/dist/session/history.js +13 -13
  591. package/dist/session/inbox.js +88 -88
  592. package/dist/session/info.js +3 -3
  593. package/dist/session/instruction-entry.js +79 -79
  594. package/dist/session/instruction-state.js +8 -8
  595. package/dist/session/instructions.js +97 -97
  596. package/dist/session/message-updater.js +2 -2
  597. package/dist/session/message.js +1 -1
  598. package/dist/session/model-request.js +119 -119
  599. package/dist/session/model-transport.js +9 -9
  600. package/dist/session/move.js +130 -130
  601. package/dist/session/projector.js +86 -86
  602. package/dist/session/prompt.js +105 -105
  603. package/dist/session/provider-context.js +3 -3
  604. package/dist/session/revert.js +90 -90
  605. package/dist/session/run-coordinator.js +3 -3
  606. package/dist/session/runner/index.js +3 -3
  607. package/dist/session/runner/llm.js +231 -231
  608. package/dist/session/runner/max-steps.js +1 -1
  609. package/dist/session/runner/model.js +98 -98
  610. package/dist/session/runner/publish-llm-event.js +3 -3
  611. package/dist/session/runner/retry.js +112 -112
  612. package/dist/session/runner/step.js +126 -126
  613. package/dist/session/runner/to-llm-message.js +2 -2
  614. package/dist/session/schema.js +5 -5
  615. package/dist/session/session.js +172 -172
  616. package/dist/session/shell.js +138 -138
  617. package/dist/session/skill.js +103 -103
  618. package/dist/session/sql.js +5 -5
  619. package/dist/session/stats.js +73 -73
  620. package/dist/session/store.js +87 -87
  621. package/dist/session/subagent-completion.js +1 -1
  622. package/dist/session/subagent-job.js +210 -210
  623. package/dist/session/system-prompt.js +3 -3
  624. package/dist/session/title.js +156 -156
  625. package/dist/session/to-session-error.js +111 -111
  626. package/dist/session/transfer.js +218 -218
  627. package/dist/session/usage.js +1 -1
  628. package/dist/session.js +216 -216
  629. package/dist/shell/parse.js +6 -6
  630. package/dist/shell/result.js +1 -1
  631. package/dist/shell/scan.js +1 -1
  632. package/dist/shell/select.js +9 -9
  633. package/dist/shell.js +138 -138
  634. package/dist/skill/discovery.js +2 -2
  635. package/dist/skill/instructions.js +107 -107
  636. package/dist/skill.js +110 -110
  637. package/dist/snapshot.js +89 -89
  638. package/dist/state.js +1 -1
  639. package/dist/tool/html-markdown.js +1 -1
  640. package/dist/tool/http-body.js +1 -1
  641. package/dist/tool/mcp.js +125 -125
  642. package/dist/tool/plugin/edit.js +120 -120
  643. package/dist/tool/plugin/file-diff.js +1 -1
  644. package/dist/tool/plugin/glob.js +124 -124
  645. package/dist/tool/plugin/grep.js +124 -124
  646. package/dist/tool/plugin/mcp-resource.js +116 -116
  647. package/dist/tool/plugin/opencode.js +3 -3
  648. package/dist/tool/plugin/patch.js +122 -122
  649. package/dist/tool/plugin/question.js +101 -101
  650. package/dist/tool/plugin/read.js +123 -123
  651. package/dist/tool/plugin/shell.js +217 -217
  652. package/dist/tool/plugin/skill.js +113 -113
  653. package/dist/tool/plugin/subagent.js +217 -217
  654. package/dist/tool/plugin/webfetch.js +112 -112
  655. package/dist/tool/plugin/websearch.js +112 -112
  656. package/dist/tool/plugin/write.js +122 -122
  657. package/dist/tool/read-filesystem.js +100 -100
  658. package/dist/tool/runtime.js +1 -1
  659. package/dist/tool-output.js +8 -8
  660. package/dist/tool.js +14 -14
  661. package/dist/util/error-summary.js +1 -1
  662. package/dist/util/error.js +1 -1
  663. package/dist/util/git-executable.js +2 -2
  664. package/dist/util/iife.js +1 -1
  665. package/dist/util/lazy.js +1 -1
  666. package/dist/util/slug.js +1 -1
  667. package/dist/util/token.js +1 -1
  668. package/dist/util/which.js +1 -1
  669. package/dist/util/wildcard.js +1 -1
  670. package/dist/v1/config/agent.js +5 -5
  671. package/dist/v1/config/attachment.js +4 -4
  672. package/dist/v1/config/command.js +3 -3
  673. package/dist/v1/config/config.js +16 -16
  674. package/dist/v1/config/error.js +2 -2
  675. package/dist/v1/config/formatter.js +3 -3
  676. package/dist/v1/config/layout.js +1 -1
  677. package/dist/v1/config/lsp.js +3 -3
  678. package/dist/v1/config/mcp.js +4 -4
  679. package/dist/v1/config/migrate.js +92 -92
  680. package/dist/v1/config/permission.js +3 -3
  681. package/dist/v1/config/plugin.js +1 -1
  682. package/dist/v1/config/provider-options.js +1 -1
  683. package/dist/v1/config/provider.js +4 -4
  684. package/dist/v1/config/server.js +2 -2
  685. package/dist/v1/config/skills.js +3 -3
  686. package/dist/v1/permission.js +1 -1
  687. package/dist/variant.js +93 -93
  688. package/dist/vcs/patch.js +1 -1
  689. package/dist/vcs.js +89 -89
  690. package/dist/websearch.js +82 -82
  691. package/dist/wellknown/plugin.js +76 -76
  692. package/dist/wellknown.js +81 -81
  693. package/dist/workspace/driver.js +7 -7
  694. package/dist/workspace/sql.js +1 -1
  695. package/dist/workspace.js +80 -80
  696. package/dist/worktree/directory.js +2 -2
  697. package/dist/worktree/git.js +10 -10
  698. package/dist/worktree/sql.js +5 -5
  699. package/dist/worktree/strategies.js +89 -89
  700. package/dist/worktree.js +98 -98
  701. package/package.json +8 -8
  702. package/dist/chunks/repository-0mesazry.js +0 -4
  703. package/dist/chunks/repository-by5v678g.js +0 -18
  704. package/dist/chunks/repository-d0jzkfbr.js +0 -252
  705. package/dist/chunks/repository-dbc9r3hj.js +0 -26
  706. package/dist/chunks/repository-s6k3yhqj.js +0 -511
  707. /package/dist/chunks/{repository-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  708. /package/dist/chunks/{repository-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  709. /package/dist/chunks/{repository-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  710. /package/dist/chunks/{repository-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  711. /package/dist/chunks/{repository-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
  712. /package/dist/chunks/{repository-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
  713. /package/dist/chunks/{repository-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  714. /package/dist/chunks/{repository-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
  715. /package/dist/chunks/{repository-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  716. /package/dist/chunks/{repository-34c7v6d4.js → model-resolver-34c7v6d4.js} +0 -0
  717. /package/dist/chunks/{repository-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  718. /package/dist/chunks/{repository-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  719. /package/dist/chunks/{repository-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  720. /package/dist/chunks/{repository-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
  721. /package/dist/chunks/{repository-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  722. /package/dist/chunks/{repository-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  723. /package/dist/chunks/{repository-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  724. /package/dist/chunks/{repository-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
  725. /package/dist/chunks/{repository-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  726. /package/dist/chunks/{repository-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  727. /package/dist/chunks/{repository-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  728. /package/dist/chunks/{repository-5qd3pb7m.js → model-resolver-5qd3pb7m.js} +0 -0
  729. /package/dist/chunks/{repository-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  730. /package/dist/chunks/{repository-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  731. /package/dist/chunks/{repository-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  732. /package/dist/chunks/{repository-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  733. /package/dist/chunks/{repository-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  734. /package/dist/chunks/{repository-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  735. /package/dist/chunks/{repository-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
  736. /package/dist/chunks/{repository-922hggd3.js → model-resolver-922hggd3.js} +0 -0
  737. /package/dist/chunks/{repository-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  738. /package/dist/chunks/{repository-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  739. /package/dist/chunks/{repository-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
  740. /package/dist/chunks/{repository-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  741. /package/dist/chunks/{repository-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  742. /package/dist/chunks/{repository-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  743. /package/dist/chunks/{repository-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  744. /package/dist/chunks/{repository-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  745. /package/dist/chunks/{repository-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  746. /package/dist/chunks/{repository-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  747. /package/dist/chunks/{repository-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  748. /package/dist/chunks/{repository-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  749. /package/dist/chunks/{repository-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  750. /package/dist/chunks/{repository-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
  751. /package/dist/chunks/{repository-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  752. /package/dist/chunks/{repository-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  753. /package/dist/chunks/{repository-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  754. /package/dist/chunks/{repository-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  755. /package/dist/chunks/{repository-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
  756. /package/dist/chunks/{repository-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
  757. /package/dist/chunks/{repository-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
  758. /package/dist/chunks/{repository-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  759. /package/dist/chunks/{repository-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  760. /package/dist/chunks/{repository-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  761. /package/dist/chunks/{repository-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  762. /package/dist/chunks/{repository-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  763. /package/dist/chunks/{repository-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
  764. /package/dist/chunks/{repository-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  765. /package/dist/chunks/{repository-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  766. /package/dist/chunks/{repository-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  767. /package/dist/chunks/{repository-gftt206x.js → model-resolver-gftt206x.js} +0 -0
  768. /package/dist/chunks/{repository-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
  769. /package/dist/chunks/{repository-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  770. /package/dist/chunks/{repository-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  771. /package/dist/chunks/{repository-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  772. /package/dist/chunks/{repository-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
  773. /package/dist/chunks/{repository-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  774. /package/dist/chunks/{repository-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  775. /package/dist/chunks/{repository-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  776. /package/dist/chunks/{repository-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  777. /package/dist/chunks/{repository-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  778. /package/dist/chunks/{repository-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  779. /package/dist/chunks/{repository-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  780. /package/dist/chunks/{repository-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  781. /package/dist/chunks/{repository-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  782. /package/dist/chunks/{repository-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  783. /package/dist/chunks/{repository-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
  784. /package/dist/chunks/{repository-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  785. /package/dist/chunks/{repository-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  786. /package/dist/chunks/{repository-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
  787. /package/dist/chunks/{repository-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  788. /package/dist/chunks/{repository-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  789. /package/dist/chunks/{repository-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  790. /package/dist/chunks/{repository-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
  791. /package/dist/chunks/{repository-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  792. /package/dist/chunks/{repository-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  793. /package/dist/chunks/{repository-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
  794. /package/dist/chunks/{repository-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  795. /package/dist/chunks/{repository-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  796. /package/dist/chunks/{repository-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  797. /package/dist/chunks/{repository-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  798. /package/dist/chunks/{repository-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  799. /package/dist/chunks/{repository-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
  800. /package/dist/chunks/{repository-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
  801. /package/dist/chunks/{repository-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  802. /package/dist/chunks/{repository-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
  803. /package/dist/chunks/{repository-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./repository-3f66bwfz.js";
2
+ Service82,
3
+ node85
4
+ } from "./model-resolver-4c5t4vfv.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./repository-rdw6cm16.js";
8
+ } from "./model-resolver-rdw6cm16.js";
9
9
  import {
10
- ID14,
11
- Service77,
12
- node81,
10
+ ID13,
11
+ Service72,
12
+ node75,
13
13
  Event18
14
- } from "./repository-svv95awx.js";
14
+ } from "./model-resolver-fhbtmvm6.js";
15
15
  import {
16
16
  key2
17
- } from "./repository-h6r3nrb9.js";
17
+ } from "./model-resolver-4dgbcxzg.js";
18
18
  import {
19
19
  Service79,
20
- node83
21
- } from "./repository-tcj9ww28.js";
20
+ node82
21
+ } from "./model-resolver-t3tp408p.js";
22
22
  import {
23
23
  __export
24
- } from "./repository-9rqn6x4v.js";
24
+ } from "./model-resolver-9rqn6x4v.js";
25
25
 
26
26
  // src/aisdk-native.ts
27
27
  var exports_aisdk_native = {};
@@ -38,12 +38,12 @@ __export(exports_provider3, {
38
38
  AISDK_PREFIX: () => AISDK_PREFIX2,
39
39
  Compaction: () => Compaction3,
40
40
  Event: () => Event17,
41
- ID: () => ID13,
42
- Info: () => Info27,
41
+ ID: () => ID12,
42
+ Info: () => Info26,
43
43
  LoadError: () => LoadError3,
44
44
  Provider: () => exports_provider3,
45
45
  Request: () => Request3,
46
- Service: () => Service76,
46
+ Service: () => Service71,
47
47
  Settings: () => Settings2,
48
48
  Transport: () => Transport2,
49
49
  aisdk: () => aisdk2,
@@ -53,7 +53,7 @@ __export(exports_provider3, {
53
53
  mergeOverlay: () => mergeOverlay2,
54
54
  modelSettings: () => modelSettings2,
55
55
  nativeSettings: () => nativeSettings2,
56
- node: () => node80,
56
+ node: () => node74,
57
57
  packageName: () => packageName2
58
58
  });
59
59
  import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
@@ -65,7 +65,7 @@ import { importModule, resolveModule } from "@opencode/util/runtime-import";
65
65
  import { Credential } from "@opencode/schema/credential";
66
66
  import { freeze } from "immer";
67
67
  import { Event as Event17 } from "@opencode/schema/provider";
68
- var ID13 = Provider.ID;
68
+ var ID12 = Provider.ID;
69
69
  var AISDK_PREFIX2 = "aisdk:";
70
70
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
71
71
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -210,9 +210,9 @@ var Request3 = Provider.Request;
210
210
  var Compaction3 = Provider.Compaction;
211
211
  var Transport2 = Provider.Transport;
212
212
  var Settings2 = Provider.Settings;
213
- var Info27 = Provider.Info;
213
+ var Info26 = Provider.Info;
214
214
 
215
- class Service76 extends Context.Service()("@opencode/Provider") {
215
+ class Service71 extends Context.Service()("@opencode/Provider") {
216
216
  }
217
217
  var definitions = new WeakMap;
218
218
  function index(providerID, models) {
@@ -225,9 +225,9 @@ function index(providerID, models) {
225
225
  definitions.set(models, indexes);
226
226
  return result;
227
227
  }
228
- var layer = Layer.effect(Service76, Effect.gen(function* () {
229
- const bus = yield* Service83;
230
- const integrations = yield* Service77;
228
+ var layer = Layer.effect(Service71, Effect.gen(function* () {
229
+ const bus = yield* Service82;
230
+ const integrations = yield* Service72;
231
231
  const location = yield* Service79;
232
232
  const state = create3({
233
233
  name: "provider",
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
239
239
  const current = records.get(id);
240
240
  if (current)
241
241
  return current;
242
- const added = { provider: Info27.empty(id), models: new Map };
242
+ const added = { provider: Info26.empty(id), models: new Map };
243
243
  records.set(id, added);
244
244
  maps.add(added.models);
245
245
  return added;
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
320
320
  const available = Array.from(records.values()).filter((record) => {
321
321
  if (record.provider.activation === "disabled")
322
322
  return false;
323
- const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
323
+ const integration = byID.get(record.provider.integrationID ?? ID13.make(record.provider.id));
324
324
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
325
325
  return false;
326
326
  if (record.provider.activation === "enabled")
@@ -347,7 +347,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
347
347
  });
348
348
  });
349
349
  yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
350
- return Service76.of({
350
+ return Service71.of({
351
351
  transform: state.transform,
352
352
  reload: state.reload,
353
353
  get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
356
356
  snapshot
357
357
  });
358
358
  }));
359
- var node80 = makeLocationNode({ service: Service76, layer, deps: [node87, node81, node83] });
359
+ var node74 = makeLocationNode({ service: Service71, layer, deps: [node85, node75, node82] });
360
360
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
361
361
  const module = yield* Effect.tryPromise({
362
362
  try: () => {
@@ -625,4 +625,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
625
625
  }), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
626
626
  var decode = Schema2.decodeUnknownSync(Legacy);
627
627
 
628
- export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info27, Service76, node80, exports_provider3, Event17 };
628
+ export { rewrite2, native2, exports_aisdk_native, ID12, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info26, Service71, node74, exports_provider3, Event17 };
@@ -1,25 +1,25 @@
1
1
  import {
2
- ID13,
2
+ ID12,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./repository-8xdzh0gy.js";
5
+ } from "./model-resolver-qtq8atx0.js";
6
6
  import {
7
- ID12,
7
+ ID11,
8
8
  VariantID2,
9
9
  Family2,
10
- Info26
11
- } from "./repository-qn9vy89p.js";
10
+ Info25
11
+ } from "./model-resolver-5qn1w087.js";
12
12
  import {
13
13
  __export
14
- } from "./repository-9rqn6x4v.js";
14
+ } from "./model-resolver-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
- var exports_models = {};
18
- __export(exports_models, {
19
- CopilotModels: () => exports_models,
20
- derive: () => derive2,
21
- get: () => get2,
22
- load: () => load2
17
+ var exports_models2 = {};
18
+ __export(exports_models2, {
19
+ CopilotModels: () => exports_models2,
20
+ derive: () => derive3,
21
+ get: () => get3,
22
+ load: () => load3
23
23
  });
24
24
  import { Money } from "@opencode/schema/money";
25
25
  import { Option, Schema } from "effect";
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
68
68
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
69
69
  var decodeResponse = Schema.decodeUnknownSync(Response);
70
70
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
71
- async function get2(baseURL, headers, existing) {
72
- return derive2(baseURL, await load2(baseURL, headers), existing);
71
+ async function get3(baseURL, headers, existing) {
72
+ return derive3(baseURL, await load3(baseURL, headers), existing);
73
73
  }
74
- async function load2(baseURL, headers) {
74
+ async function load3(baseURL, headers) {
75
75
  const response = await fetch(`${baseURL}/models`, {
76
76
  headers,
77
77
  signal: AbortSignal.timeout(5000)
@@ -83,7 +83,7 @@ async function load2(baseURL, headers) {
83
83
  return model && usable(model) ? [[model.id, model]] : [];
84
84
  }));
85
85
  }
86
- function derive2(baseURL, remote, existing) {
86
+ function derive3(baseURL, remote, existing) {
87
87
  const result = new Map(existing.map((model) => [model.id, model]));
88
88
  for (const [id, model] of result) {
89
89
  const current = remote.get(model.modelID);
@@ -94,7 +94,7 @@ function derive2(baseURL, remote, existing) {
94
94
  result.set(id, build(id, current, baseURL, model));
95
95
  }
96
96
  for (const [id, model] of remote) {
97
- const key = ID12.make(id);
97
+ const key = ID11.make(id);
98
98
  if (result.has(key))
99
99
  continue;
100
100
  result.set(key, build(key, model, baseURL));
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
118
118
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
119
119
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
120
120
  const released = previous?.time.released || Date.parse(version);
121
- return Info26.make({
122
- ...Info26.default(ID13.githubCopilot, id),
121
+ return Info25.make({
122
+ ...Info25.default(ID12.githubCopilot, id),
123
123
  id,
124
- modelID: ID12.make(remote.id),
125
- providerID: ID13.githubCopilot,
124
+ modelID: ID11.make(remote.id),
125
+ providerID: ID12.githubCopilot,
126
126
  family: previous?.family ?? Family2.make(remote.capabilities.family),
127
127
  name: previous?.name ?? remote.name,
128
128
  package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
@@ -197,4 +197,4 @@ function variants(remote, messages) {
197
197
  ];
198
198
  }
199
199
 
200
- export { get2, load2, derive2, exports_models };
200
+ export { get3, load3, derive3, exports_models2 };
@@ -1,65 +1,65 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./repository-n2yeqzr5.js";
4
+ } from "./model-resolver-m5m12nva.js";
5
5
  import {
6
- Service83,
7
- node87
8
- } from "./repository-3f66bwfz.js";
6
+ Service82,
7
+ node85
8
+ } from "./model-resolver-4c5t4vfv.js";
9
9
  import {
10
10
  llmClient2
11
- } from "./repository-5t3nmthw.js";
11
+ } from "./model-resolver-5t3nmthw.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./repository-ec1grn59.js";
14
+ } from "./model-resolver-ec1grn59.js";
15
15
  import {
16
16
  provenance2,
17
17
  compatible2,
18
18
  isCheckpoint2,
19
19
  encode2
20
- } from "./repository-jjzf804t.js";
20
+ } from "./model-resolver-56dkfrzf.js";
21
21
  import {
22
22
  load5
23
- } from "./repository-mp5r29aw.js";
23
+ } from "./model-resolver-hf3pz0b6.js";
24
24
  import {
25
25
  create3
26
- } from "./repository-rdw6cm16.js";
26
+ } from "./model-resolver-rdw6cm16.js";
27
27
  import {
28
28
  toLLMMessages2
29
- } from "./repository-32h4nn8p.js";
29
+ } from "./model-resolver-sfntmzm9.js";
30
30
  import {
31
31
  baseTranscript2,
32
32
  unsupportedParts2,
33
33
  boundImages2
34
- } from "./repository-pxbjxcby.js";
34
+ } from "./model-resolver-r3tpvskf.js";
35
35
  import {
36
36
  toSessionError2
37
- } from "./repository-2nzc6ac3.js";
37
+ } from "./model-resolver-4cpnk8xd.js";
38
38
  import {
39
39
  policy2,
40
40
  transient2
41
- } from "./repository-61b773qj.js";
41
+ } from "./model-resolver-w9tzyeh2.js";
42
42
  import {
43
43
  estimate2
44
- } from "./repository-h6vf3j39.js";
44
+ } from "./model-resolver-h6vf3j39.js";
45
45
  import {
46
46
  calculateCost2,
47
47
  record2,
48
48
  add2
49
- } from "./repository-tdstcens.js";
49
+ } from "./model-resolver-tdstcens.js";
50
50
  import {
51
51
  __export
52
- } from "./repository-9rqn6x4v.js";
52
+ } from "./model-resolver-9rqn6x4v.js";
53
53
 
54
54
  // src/session/compaction.ts
55
55
  var exports_compaction3 = {};
56
56
  __export(exports_compaction3, {
57
- Service: () => Service12,
57
+ Service: () => Service6,
58
58
  SessionCompaction: () => exports_compaction3,
59
59
  buildPrompt: () => buildPrompt2,
60
60
  estimateTokens: () => estimateTokens2,
61
- layer: () => layer7,
62
- node: () => node14,
61
+ layer: () => layer6,
62
+ node: () => node8,
63
63
  retainUsers: () => retainUsers2,
64
64
  serializeToolContent: () => serializeToolContent2,
65
65
  truncateToolOutput: () => truncateToolOutput2
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
125
125
  `).filter((line) => line.startsWith("##"));
126
126
  var LEGACY_HEADING = "## Additional Context";
127
127
 
128
- class Service12 extends Context.Service()("@opencode/SessionCompaction") {
128
+ class Service6 extends Context.Service()("@opencode/SessionCompaction") {
129
129
  }
130
130
  var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
131
131
  var estimateTokens2 = (input) => {
@@ -298,8 +298,8 @@ var buildPrompt2 = (update, legacy = false) => {
298
298
  };
299
299
  var hasSummarySection = (summary) => summary.split(`
300
300
  `).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
301
- var layer7 = Layer.effect(Service12, Effect.gen(function* () {
302
- const bus = yield* Service83;
301
+ var layer6 = Layer.effect(Service6, Effect.gen(function* () {
302
+ const bus = yield* Service82;
303
303
  const llm = yield* LLMClient.Service;
304
304
  const db = (yield* Service84).db;
305
305
  const state = create3({
@@ -606,7 +606,7 @@ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
606
606
  }
607
607
  }));
608
608
  });
609
- return Service12.of({
609
+ return Service6.of({
610
610
  transform: state.transform,
611
611
  reload: state.reload,
612
612
  enabled: () => state.get().auto,
@@ -615,10 +615,10 @@ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
615
615
  compactManual
616
616
  });
617
617
  }));
618
- var node14 = makeLocationNode({
619
- service: Service12,
620
- layer: layer7,
621
- deps: [node87, node88, llmClient2]
618
+ var node8 = makeLocationNode({
619
+ service: Service6,
620
+ layer: layer6,
621
+ deps: [node85, node88, llmClient2]
622
622
  });
623
623
 
624
- export { Service12, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node14, exports_compaction3 };
624
+ export { Service6, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node8, exports_compaction3 };
@@ -1,59 +1,59 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./repository-n2yeqzr5.js";
4
+ } from "./model-resolver-m5m12nva.js";
5
5
  import {
6
- Service83,
7
- node87
8
- } from "./repository-3f66bwfz.js";
6
+ Service82,
7
+ node85
8
+ } from "./model-resolver-4c5t4vfv.js";
9
9
  import {
10
10
  Service50,
11
11
  node52
12
- } from "./repository-v4028cvv.js";
12
+ } from "./model-resolver-gawe0pa8.js";
13
13
  import {
14
14
  Service47,
15
15
  node49
16
- } from "./repository-2a6rn6yr.js";
16
+ } from "./model-resolver-2a6rn6yr.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./repository-ec1grn59.js";
19
+ } from "./model-resolver-ec1grn59.js";
20
20
  import {
21
- make15
22
- } from "./repository-f2n192rq.js";
21
+ make16
22
+ } from "./model-resolver-yp2x3t23.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service45
26
- } from "./repository-t7n9q6bq.js";
25
+ Service44
26
+ } from "./model-resolver-zvt5dnpc.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./repository-yq9bhs5j.js";
29
+ } from "./model-resolver-97fmyryk.js";
30
30
  import {
31
- Service56,
32
- node59
33
- } from "./repository-4bqx1nme.js";
31
+ Service59,
32
+ node61
33
+ } from "./model-resolver-2y80ys67.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./repository-2nzc6ac3.js";
36
+ } from "./model-resolver-4cpnk8xd.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./repository-580xkvb2.js";
39
+ } from "./model-resolver-bwg4kr2v.js";
40
40
  import {
41
41
  __export
42
- } from "./repository-9rqn6x4v.js";
42
+ } from "./model-resolver-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service44,
47
+ Service: () => Service43,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer19,
50
- node: () => node47,
49
+ layer: () => layer17,
50
+ node: () => node46,
51
51
  noopLayer: () => noopLayer2,
52
52
  terminal: () => terminal2
53
53
  });
54
54
  import { Cause, Context, Effect, Exit, Layer } from "effect";
55
55
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
56
- class Service44 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service43 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,10 +65,10 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer19 = Layer.effect(Service44, Effect.gen(function* () {
69
- const store = yield* Service56;
68
+ var layer17 = Layer.effect(Service43, Effect.gen(function* () {
69
+ const store = yield* Service59;
70
70
  const instances = yield* Service47;
71
- const bus = yield* Service83;
71
+ const bus = yield* Service82;
72
72
  const jobs = yield* Service50;
73
73
  const db = (yield* Service84).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
@@ -82,14 +82,14 @@ var layer19 = Layer.effect(Service44, Effect.gen(function* () {
82
82
  const session = yield* store.get(sessionID);
83
83
  if (!session)
84
84
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
85
- const result = yield* Service45.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
85
+ const result = yield* Service44.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
86
86
  return yield* DrainResult2.$match(result, {
87
87
  Complete: () => Effect.void,
88
88
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
89
89
  Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
90
90
  });
91
91
  });
92
- const coordinator = yield* make15({
92
+ const coordinator = yield* make16({
93
93
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
94
94
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
95
95
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -110,7 +110,7 @@ var layer19 = Layer.effect(Service44, Effect.gen(function* () {
110
110
  }, releaseOnCommit(sessionID));
111
111
  }))
112
112
  });
113
- return Service44.of({
113
+ return Service43.of({
114
114
  active: coordinator.active,
115
115
  isActive: coordinator.isActive,
116
116
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -129,12 +129,12 @@ var layer19 = Layer.effect(Service44, Effect.gen(function* () {
129
129
  awaitIdle: coordinator.awaitIdle
130
130
  });
131
131
  }));
132
- var node47 = makeGlobalNode({
133
- service: Service44,
134
- layer: layer19,
135
- deps: [node59, node49, node87, node88, node52]
132
+ var node46 = makeGlobalNode({
133
+ service: Service43,
134
+ layer: layer17,
135
+ deps: [node61, node49, node85, node88, node52]
136
136
  });
137
- var noopLayer2 = Layer.succeed(Service44, Service44.of({
137
+ var noopLayer2 = Layer.succeed(Service43, Service43.of({
138
138
  active: Effect.succeed(new Set),
139
139
  isActive: () => Effect.succeed(false),
140
140
  resume: () => Effect.void,
@@ -143,4 +143,4 @@ var noopLayer2 = Layer.succeed(Service44, Service44.of({
143
143
  awaitIdle: () => Effect.void
144
144
  }));
145
145
 
146
- export { Service44, terminal2, layer19, node47, noopLayer2, exports_execution };
146
+ export { Service43, terminal2, layer17, node46, noopLayer2, exports_execution };
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node56
5
- } from "./repository-4f06rze2.js";
4
+ node63
5
+ } from "./model-resolver-tj92sfh7.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./repository-jjzf804t.js";
9
+ } from "./model-resolver-56dkfrzf.js";
10
10
  import {
11
- Service67,
12
- node71
13
- } from "./repository-g1sxm558.js";
11
+ Service77,
12
+ node80
13
+ } from "./model-resolver-ze75yzft.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./repository-r6vv5p3m.js";
16
+ } from "./model-resolver-t1gsh4a5.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./repository-jewqmp23.js";
19
+ } from "./model-resolver-pvkbt02t.js";
20
20
  import {
21
- Error5
22
- } from "./repository-jw7mqvhb.js";
21
+ Error4
22
+ } from "./model-resolver-zv1jk2zx.js";
23
23
  import {
24
- Service33,
25
- node37
26
- } from "./repository-5qedxm44.js";
24
+ Service38,
25
+ node41
26
+ } from "./model-resolver-jh76kevn.js";
27
27
  import {
28
28
  make14
29
- } from "./repository-drwq78ky.js";
29
+ } from "./model-resolver-57b9ws8p.js";
30
30
  import {
31
31
  toLLMMessages2
32
- } from "./repository-32h4nn8p.js";
32
+ } from "./model-resolver-sfntmzm9.js";
33
33
  import {
34
34
  __export
35
- } from "./repository-9rqn6x4v.js";
35
+ } from "./model-resolver-9rqn6x4v.js";
36
36
 
37
37
  // src/session/model-request.ts
38
38
  var exports_model_request = {};
39
39
  __export(exports_model_request, {
40
- Service: () => Service32,
40
+ Service: () => Service37,
41
41
  SessionModelRequest: () => exports_model_request,
42
42
  baseTranscript: () => baseTranscript2,
43
43
  boundImages: () => boundImages2,
44
- layer: () => layer11,
45
- node: () => node36,
44
+ layer: () => layer13,
45
+ node: () => node40,
46
46
  unsupportedParts: () => unsupportedParts2
47
47
  });
48
48
  import {
@@ -156,11 +156,11 @@ var boundImages2 = (messages) => {
156
156
  }));
157
157
  };
158
158
 
159
- class Service32 extends Context.Service()("@opencode/SessionModelRequest") {
159
+ class Service37 extends Context.Service()("@opencode/SessionModelRequest") {
160
160
  }
161
- var layer11 = Layer.effect(Service32, Effect.gen(function* () {
162
- const hooks = yield* Service67;
163
- const transport = yield* Service33;
161
+ var layer13 = Layer.effect(Service37, Effect.gen(function* () {
162
+ const hooks = yield* Service77;
163
+ const transport = yield* Service38;
164
164
  const app = yield* Metadata2;
165
165
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
166
166
  const session = input.session;
@@ -168,7 +168,7 @@ var layer11 = Layer.effect(Service32, Effect.gen(function* () {
168
168
  const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
169
169
  const tools = input.tools ?? {
170
170
  definitions: [],
171
- execute: () => new Error5({ message: "Tools are not available for this request" })
171
+ execute: () => new Error4({ message: "Tools are not available for this request" })
172
172
  };
173
173
  const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
174
174
  const shaped = yield* shape({ sessionID: session.id, model: model.ref, system: input.system, messages: input.messages, options: {} }, Object.fromEntries(Array.from(given, ([d, t]) => [t.name, d])));
@@ -258,17 +258,17 @@ var layer11 = Layer.effect(Service32, Effect.gen(function* () {
258
258
  };
259
259
  });
260
260
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
261
- return Service32.of({
261
+ return Service37.of({
262
262
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
263
263
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
264
264
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
265
265
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
266
266
  });
267
267
  }));
268
- var node36 = makeLocationNode({
269
- service: Service32,
270
- layer: layer11,
271
- deps: [node71, node37, node56]
268
+ var node40 = makeLocationNode({
269
+ service: Service37,
270
+ layer: layer13,
271
+ deps: [node80, node41, node63]
272
272
  });
273
273
 
274
- export { baseTranscript2, unsupportedParts2, boundImages2, Service32, layer11, node36, exports_model_request };
274
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service37, layer13, node40, exports_model_request };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  useragent2
3
- } from "./repository-4f06rze2.js";
3
+ } from "./model-resolver-tj92sfh7.js";
4
4
  import {
5
5
  __export
6
- } from "./repository-9rqn6x4v.js";
6
+ } from "./model-resolver-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};
10
10
  __export(exports_tavily, {
11
- Plugin: () => Plugin36,
11
+ Plugin: () => Plugin26,
12
12
  WebSearchTavily: () => exports_tavily,
13
- endpoint: () => endpoint2
13
+ endpoint: () => endpoint5
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
18
- var endpoint2 = "https://api.tavily.com/search";
18
+ var endpoint5 = "https://api.tavily.com/search";
19
19
  var SearchRequest = Schema.Struct({
20
20
  query: Schema.String,
21
21
  search_depth: Schema.Literal("basic"),
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
29
29
  content: Schema.String
30
30
  }))
31
31
  });
32
- var Plugin36 = define({
32
+ var Plugin26 = define({
33
33
  id: "opencode.websearch.tavily",
34
34
  effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
35
35
  const http = yield* HttpClient.HttpClient;
@@ -51,7 +51,7 @@ var Plugin36 = define({
51
51
  execute: (input) => Effect.gen(function* () {
52
52
  const connection = yield* ctx.integration.connection.active("tavily");
53
53
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
54
- const request = yield* HttpClientRequest.post(endpoint2).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
54
+ const request = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
55
55
  "User-Agent": useragent2(ctx.app),
56
56
  "X-Client-Name": "opencode2",
57
57
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
@@ -77,4 +77,4 @@ var Plugin36 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint2, Plugin36, exports_tavily };
80
+ export { endpoint5, Plugin26, exports_tavily };