@opencode/core 0.0.0-dev-19911 → 0.0.0-dev-19915

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 (793) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{snapshot-qxnm76dc.js → generate-006zyfbw.js} +11 -11
  8. package/dist/chunks/{snapshot-0z1gmn2q.js → generate-020j3mp2.js} +6 -6
  9. package/dist/chunks/{snapshot-hkedn9gj.js → generate-025avdj6.js} +25 -25
  10. package/dist/chunks/{snapshot-mgp54d0b.js → generate-05xfxpq7.js} +5 -5
  11. package/dist/chunks/{snapshot-y2qs1p31.js → generate-08x19res.js} +29 -29
  12. package/dist/chunks/{snapshot-r9w3djhf.js → generate-0996nyz8.js} +5 -5
  13. package/dist/chunks/{snapshot-48adanj3.js → generate-0bxbewg9.js} +29 -29
  14. package/dist/chunks/{snapshot-mh1qkymb.js → generate-0en0hh3r.js} +4 -4
  15. package/dist/chunks/{snapshot-9etfqcq6.js → generate-0fem12h8.js} +28 -28
  16. package/dist/chunks/{snapshot-s8d7rejh.js → generate-0gdmqesm.js} +4 -4
  17. package/dist/chunks/{snapshot-723jqqe8.js → generate-0h7mncab.js} +41 -41
  18. package/dist/chunks/{snapshot-fcrkznn8.js → generate-0jwsre1p.js} +5 -5
  19. package/dist/chunks/{snapshot-0paq2nw3.js → generate-0paq2nw3.js} +1 -1
  20. package/dist/chunks/{snapshot-0q0f95c6.js → generate-0q0f95c6.js} +1 -1
  21. package/dist/chunks/{snapshot-km6nrb6d.js → generate-0wd91se4.js} +11 -11
  22. package/dist/chunks/{snapshot-gf40en4q.js → generate-16f0abez.js} +32 -32
  23. package/dist/chunks/{snapshot-6d1vy48w.js → generate-17wbgvpj.js} +7 -7
  24. package/dist/chunks/{snapshot-j0d8z1fm.js → generate-1b1ysvrc.js} +35 -35
  25. package/dist/chunks/{snapshot-1dazxqgg.js → generate-1dazxqgg.js} +2 -2
  26. package/dist/chunks/{snapshot-hzq9xz76.js → generate-1ptm6hmd.js} +47 -47
  27. package/dist/chunks/{snapshot-26ppr2dg.js → generate-1swhfer2.js} +32 -32
  28. package/dist/chunks/{snapshot-qwqmmf4f.js → generate-1tsjn6cx.js} +5 -5
  29. package/dist/chunks/{snapshot-qjnggjk3.js → generate-1w2rgvgc.js} +43 -43
  30. package/dist/chunks/{snapshot-1ygqh575.js → generate-1ygqh575.js} +2 -2
  31. package/dist/chunks/{snapshot-21r38tys.js → generate-21r38tys.js} +1 -1
  32. package/dist/chunks/{snapshot-2402vzrj.js → generate-2402vzrj.js} +1 -1
  33. package/dist/chunks/{snapshot-2a5m3afh.js → generate-2a5m3afh.js} +1 -1
  34. package/dist/chunks/{snapshot-vfmbdkmd.js → generate-2gjqtbpb.js} +14 -14
  35. package/dist/chunks/{snapshot-2twd0hcx.js → generate-2km7m4mh.js} +32 -32
  36. package/dist/chunks/{snapshot-63kpjth9.js → generate-2q8c0gm7.js} +9 -9
  37. package/dist/chunks/{snapshot-0cahk45h.js → generate-34k4z2mf.js} +13 -13
  38. package/dist/chunks/{snapshot-90xjgha7.js → generate-39s7s8pm.js} +15 -15
  39. package/dist/chunks/{snapshot-dgfmtra8.js → generate-3f4vjzp5.js} +22 -22
  40. package/dist/chunks/{snapshot-3fc6dm20.js → generate-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{snapshot-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{snapshot-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{snapshot-b5pkf8k9.js → generate-3sstnap9.js} +15 -15
  44. package/dist/chunks/{snapshot-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{snapshot-sfgq3cgq.js → generate-4137199z.js} +29 -29
  46. package/dist/chunks/{snapshot-nbjpwa4f.js → generate-467s6nxb.js} +11 -11
  47. package/dist/chunks/{snapshot-nwcwczvr.js → generate-468wfx9w.js} +28 -28
  48. package/dist/chunks/{snapshot-a37bxjft.js → generate-4bzdzhey.js} +6 -6
  49. package/dist/chunks/{snapshot-xqnjj423.js → generate-4gya7rk6.js} +15 -15
  50. package/dist/chunks/{snapshot-w8wkjymx.js → generate-4nqr3vv7.js} +53 -53
  51. package/dist/chunks/{snapshot-5pqs3yzm.js → generate-4wtgdyea.js} +8 -8
  52. package/dist/chunks/{snapshot-pj0sjbgk.js → generate-4x1pakvw.js} +25 -25
  53. package/dist/chunks/{snapshot-624zyddg.js → generate-50xhyj86.js} +18 -18
  54. package/dist/chunks/{snapshot-45jw24ds.js → generate-52w8ykvs.js} +10 -10
  55. package/dist/chunks/{snapshot-rdzsqw97.js → generate-537bw0gn.js} +3 -3
  56. package/dist/chunks/{snapshot-drjxn4mt.js → generate-56c5b5gd.js} +5 -5
  57. package/dist/chunks/{snapshot-5n8a4f8s.js → generate-5aqxh65v.js} +17 -17
  58. package/dist/chunks/{snapshot-5daktx2q.js → generate-5daktx2q.js} +1 -1
  59. package/dist/chunks/{snapshot-65jd754x.js → generate-5dqhbf4t.js} +5 -5
  60. package/dist/chunks/{snapshot-9epmzyvk.js → generate-5gygmtrp.js} +13 -13
  61. package/dist/chunks/{snapshot-phc8pspp.js → generate-5k92hdxp.js} +6 -6
  62. package/dist/chunks/{snapshot-5t3nmthw.js → generate-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{snapshot-ma3yc5r6.js → generate-63m47ghd.js} +3 -3
  64. package/dist/chunks/{snapshot-669tq793.js → generate-669tq793.js} +1 -1
  65. package/dist/chunks/{snapshot-yjw22c5c.js → generate-66mcxdya.js} +7 -7
  66. package/dist/chunks/{snapshot-naw1tbqv.js → generate-67baksp2.js} +19 -19
  67. package/dist/chunks/{snapshot-q8cgqksh.js → generate-680r6an6.js} +9 -9
  68. package/dist/chunks/{snapshot-6anwy9fs.js → generate-6anwy9fs.js} +1 -1
  69. package/dist/chunks/{snapshot-172c54zz.js → generate-6b60be2p.js} +4 -4
  70. package/dist/chunks/{snapshot-n9hwvdtj.js → generate-6jcx2vqk.js} +5 -5
  71. package/dist/chunks/{snapshot-6msgmcgs.js → generate-6msgmcgs.js} +1 -1
  72. package/dist/chunks/{snapshot-eh6mc15a.js → generate-6vd6cxtp.js} +27 -27
  73. package/dist/chunks/{snapshot-wakn2wsr.js → generate-6x2rtf6n.js} +7 -7
  74. package/dist/chunks/{snapshot-a7ww4pt2.js → generate-6z4h7bb7.js} +11 -11
  75. package/dist/chunks/{snapshot-mhkvc446.js → generate-73tb2d7t.js} +3 -3
  76. package/dist/chunks/{snapshot-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{snapshot-cz3v1cej.js → generate-7etmzzkb.js} +22 -22
  78. package/dist/chunks/{snapshot-tgxkatwb.js → generate-7hwhf7n5.js} +12 -12
  79. package/dist/chunks/{snapshot-8rryby26.js → generate-7n8gnwtg.js} +10 -10
  80. package/dist/chunks/{snapshot-nytcgn7j.js → generate-7raq9vyn.js} +58 -58
  81. package/dist/chunks/{snapshot-aq2wywq2.js → generate-80gttzr5.js} +32 -32
  82. package/dist/chunks/{snapshot-bzzpeszc.js → generate-81wr8hqp.js} +17 -17
  83. package/dist/chunks/{snapshot-6sw1ch82.js → generate-88adn62y.js} +20 -20
  84. package/dist/chunks/{snapshot-tcezcvh9.js → generate-89znhe33.js} +4 -4
  85. package/dist/chunks/{snapshot-00x4qneg.js → generate-8aaqm6qj.js} +4 -4
  86. package/dist/chunks/{snapshot-8d7r5vzw.js → generate-8d7r5vzw.js} +1 -1
  87. package/dist/chunks/{snapshot-k7fpbf2n.js → generate-8g6jyz2b.js} +17 -17
  88. package/dist/chunks/{snapshot-d7j1ga4e.js → generate-8k4wrnk2.js} +6 -6
  89. package/dist/chunks/{snapshot-mqwxc12a.js → generate-8krsydjn.js} +11 -11
  90. package/dist/chunks/{snapshot-m9x2k754.js → generate-8mnt8kwt.js} +17 -17
  91. package/dist/chunks/{snapshot-b8mpq6j4.js → generate-8n32ahfj.js} +27 -27
  92. package/dist/chunks/{snapshot-8p4f9s12.js → generate-8p4f9s12.js} +2 -2
  93. package/dist/chunks/{snapshot-h8mnccc2.js → generate-8s3794y9.js} +25 -25
  94. package/dist/chunks/{snapshot-3nhf0b0f.js → generate-8tqgka7y.js} +24 -24
  95. package/dist/chunks/{snapshot-r3mw3n99.js → generate-92c128b4.js} +2 -2
  96. package/dist/chunks/{snapshot-49s0wfnm.js → generate-9a43fp12.js} +17 -17
  97. package/dist/chunks/{snapshot-8j2p21x9.js → generate-9cck0fs0.js} +3 -3
  98. package/dist/chunks/{snapshot-0nk9z11r.js → generate-9e6qvnjr.js} +3 -3
  99. package/dist/chunks/{snapshot-emx3b1zn.js → generate-9f95htjy.js} +6 -6
  100. package/dist/chunks/{snapshot-mn9sycxr.js → generate-9j0bgnvq.js} +18 -18
  101. package/dist/chunks/{snapshot-a7mdkq3p.js → generate-9mayah99.js} +28 -28
  102. package/dist/chunks/{snapshot-j0eqyxyf.js → generate-9np3zvmg.js} +5 -5
  103. package/dist/chunks/{snapshot-vnpbbx9v.js → generate-9qzpz6ej.js} +11 -11
  104. package/dist/chunks/{snapshot-mzamgxpq.js → generate-9s7dwqjf.js} +31 -31
  105. package/dist/chunks/{snapshot-a1bz86dw.js → generate-a1bz86dw.js} +3 -3
  106. package/dist/chunks/{snapshot-hsnmzj8s.js → generate-a4140sej.js} +43 -43
  107. package/dist/chunks/{snapshot-dgf8fvr8.js → generate-a5gjdttc.js} +28 -28
  108. package/dist/chunks/{snapshot-tfch9n9x.js → generate-a725016h.js} +6 -6
  109. package/dist/chunks/{snapshot-aaet6srn.js → generate-aaet6srn.js} +2 -2
  110. package/dist/chunks/{snapshot-y070d939.js → generate-aefrgm9z.js} +5 -5
  111. package/dist/chunks/{snapshot-ad9apwst.js → generate-ahk33sx3.js} +24 -24
  112. package/dist/chunks/{snapshot-pzd9m7k8.js → generate-b01c3z2q.js} +8 -8
  113. package/dist/chunks/{snapshot-gcqf8jk1.js → generate-b2jrkcgy.js} +12 -12
  114. package/dist/chunks/{snapshot-5twwxv4s.js → generate-b4pq521n.js} +27 -27
  115. package/dist/chunks/{snapshot-b6gygkdw.js → generate-b6gygkdw.js} +2 -2
  116. package/dist/chunks/{snapshot-2gbsvbx5.js → generate-ba4w6g48.js} +12 -12
  117. package/dist/chunks/{snapshot-8fpnzef2.js → generate-bab96271.js} +22 -22
  118. package/dist/chunks/{snapshot-k2en61s1.js → generate-bcpk7r0m.js} +6 -6
  119. package/dist/chunks/{snapshot-7s9mzm64.js → generate-bfemdc8w.js} +13 -13
  120. package/dist/chunks/{snapshot-30g8pqj5.js → generate-bk82wy0q.js} +15 -15
  121. package/dist/chunks/{snapshot-ff0svapt.js → generate-bry9ga0b.js} +2 -2
  122. package/dist/chunks/{snapshot-jw80jp6b.js → generate-cavr175a.js} +4 -4
  123. package/dist/chunks/{snapshot-cfpkc3c9.js → generate-cfpkc3c9.js} +2 -2
  124. package/dist/chunks/{snapshot-jm7rc1qj.js → generate-cg8mw5ap.js} +19 -19
  125. package/dist/chunks/{snapshot-607q5haz.js → generate-cnvnzs5z.js} +12 -12
  126. package/dist/chunks/{snapshot-ebkn7tnf.js → generate-cs075kwz.js} +11 -11
  127. package/dist/chunks/{snapshot-r4xvkvzr.js → generate-ct9qn75j.js} +16 -16
  128. package/dist/chunks/{snapshot-zk7hjewm.js → generate-ctwst137.js} +44 -44
  129. package/dist/chunks/{snapshot-kck1xgk1.js → generate-cwem3g1g.js} +5 -5
  130. package/dist/chunks/{snapshot-hfm903zf.js → generate-cypq54sk.js} +26 -26
  131. package/dist/chunks/{snapshot-6bsje7ws.js → generate-czmjnx84.js} +3 -3
  132. package/dist/chunks/{snapshot-dj9sq318.js → generate-dj9sq318.js} +2 -2
  133. package/dist/chunks/{snapshot-cwa6csj7.js → generate-djszqvmq.js} +9 -9
  134. package/dist/chunks/{snapshot-5yzzbxa7.js → generate-dv1qgsyq.js} +8 -8
  135. package/dist/chunks/{snapshot-pnz7nghh.js → generate-dx7v3b91.js} +15 -15
  136. package/dist/chunks/{snapshot-x9thrr1w.js → generate-dzpn4m2j.js} +6 -6
  137. package/dist/chunks/{snapshot-h6r3nrb9.js → generate-ebe9bak5.js} +4 -4
  138. package/dist/chunks/{snapshot-v4jw97dc.js → generate-ec87kc5z.js} +4 -4
  139. package/dist/chunks/{snapshot-m5j2kpqk.js → generate-ed737rsr.js} +18 -18
  140. package/dist/chunks/{snapshot-5j2nex8k.js → generate-eev6jqyc.js} +12 -12
  141. package/dist/chunks/{snapshot-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
  142. package/dist/chunks/{snapshot-8e1b1gzh.js → generate-eq20ba7x.js} +6 -6
  143. package/dist/chunks/{snapshot-nedq17xz.js → generate-eqnqgvn0.js} +17 -17
  144. package/dist/chunks/{snapshot-n04t6nrv.js → generate-er20hz79.js} +33 -33
  145. package/dist/chunks/{snapshot-erw5rpbs.js → generate-erw5rpbs.js} +2 -2
  146. package/dist/chunks/{snapshot-7azymjpy.js → generate-et344232.js} +11 -11
  147. package/dist/chunks/{snapshot-94n8x2pm.js → generate-et8hxw0a.js} +10 -10
  148. package/dist/chunks/{snapshot-etq0c3wd.js → generate-etq0c3wd.js} +1 -1
  149. package/dist/chunks/{snapshot-tt07q8xz.js → generate-ev47vst9.js} +18 -18
  150. package/dist/chunks/{snapshot-5vvej3cv.js → generate-ewv48zmm.js} +88 -88
  151. package/dist/chunks/{snapshot-rhraev7y.js → generate-f2n192rq.js} +4 -4
  152. package/dist/chunks/{snapshot-f828m53h.js → generate-f828m53h.js} +2 -2
  153. package/dist/chunks/{snapshot-6rybd781.js → generate-fch79rh9.js} +1 -1
  154. package/dist/chunks/{snapshot-xqwp91h3.js → generate-fdmdcz0h.js} +23 -23
  155. package/dist/chunks/{snapshot-mgrm5cv4.js → generate-fetmcry8.js} +11 -11
  156. package/dist/chunks/{snapshot-bg53drgn.js → generate-fgrsbrs2.js} +17 -17
  157. package/dist/chunks/{snapshot-fhs97t90.js → generate-fhs97t90.js} +2 -2
  158. package/dist/chunks/{snapshot-hbyhqfhs.js → generate-fhz5gfgy.js} +5 -5
  159. package/dist/chunks/{snapshot-c39jsbcn.js → generate-fj02ctk5.js} +22 -22
  160. package/dist/chunks/{snapshot-d2157car.js → generate-fjkt0sjh.js} +93 -93
  161. package/dist/chunks/{snapshot-svbn7smg.js → generate-fmvs6bfp.js} +1 -1
  162. package/dist/chunks/{snapshot-r5zgs4xn.js → generate-fnwyw2er.js} +28 -28
  163. package/dist/chunks/{snapshot-w6fvq6r8.js → generate-fs7vq6tk.js} +10 -10
  164. package/dist/chunks/{snapshot-fxbjtjnd.js → generate-fxbjtjnd.js} +1 -1
  165. package/dist/chunks/{snapshot-46zm72w0.js → generate-fygh9jmr.js} +40 -40
  166. package/dist/chunks/{snapshot-mksgfzgs.js → generate-fystd85k.js} +8 -8
  167. package/dist/chunks/{snapshot-m9d03vsf.js → generate-g8jasmdt.js} +8 -8
  168. package/dist/chunks/{snapshot-1g29fh3f.js → generate-gbf09wq5.js} +16 -16
  169. package/dist/chunks/{snapshot-fk7pz3cy.js → generate-gc9j7k3x.js} +24 -24
  170. package/dist/chunks/{snapshot-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
  171. package/dist/chunks/{snapshot-y7bkpsz5.js → generate-gtg525qf.js} +23 -23
  172. package/dist/chunks/{snapshot-vy8smdsx.js → generate-gv35t99p.js} +31 -31
  173. package/dist/chunks/{snapshot-gv6a8nnw.js → generate-gv6a8nnw.js} +2 -2
  174. package/dist/chunks/{snapshot-c8ey3qa9.js → generate-gx16nh21.js} +4 -4
  175. package/dist/chunks/{snapshot-tzs8kqev.js → generate-gxqczrrk.js} +16 -16
  176. package/dist/chunks/{snapshot-z4ryv47y.js → generate-gyecctkc.js} +23 -23
  177. package/dist/chunks/{snapshot-ced6kcvk.js → generate-gzj5kv74.js} +41 -41
  178. package/dist/chunks/{snapshot-gq7he4kw.js → generate-h3pyx580.js} +32 -32
  179. package/dist/chunks/{snapshot-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
  180. package/dist/chunks/{snapshot-v24dc41g.js → generate-h8yerwe6.js} +54 -54
  181. package/dist/chunks/{snapshot-3nz1v3re.js → generate-hjkhkj6y.js} +5 -5
  182. package/dist/chunks/{snapshot-zee1rnkq.js → generate-hn57h045.js} +4 -4
  183. package/dist/chunks/{snapshot-ma8rz1b3.js → generate-hym83zep.js} +9 -9
  184. package/dist/chunks/{snapshot-7ag4nb16.js → generate-j2s4fcjm.js} +37 -37
  185. package/dist/chunks/{snapshot-j56e64zr.js → generate-j56e64zr.js} +1 -1
  186. package/dist/chunks/{snapshot-mebkexss.js → generate-je62fjgn.js} +13 -13
  187. package/dist/chunks/{snapshot-4t78hymw.js → generate-jm843vy5.js} +27 -27
  188. package/dist/chunks/{snapshot-4e8vs6eh.js → generate-jvnghvnw.js} +8 -8
  189. package/dist/chunks/{snapshot-pxz7cyvr.js → generate-jw5e50e7.js} +4 -4
  190. package/dist/chunks/{snapshot-9kfebp52.js → generate-k7zzwya2.js} +26 -26
  191. package/dist/chunks/{snapshot-fzm81a6m.js → generate-kenng7k5.js} +8 -8
  192. package/dist/chunks/{snapshot-3hfbp1j6.js → generate-khhfmx5f.js} +11 -11
  193. package/dist/chunks/{snapshot-7bqvh5f8.js → generate-kjktbwf3.js} +5 -5
  194. package/dist/chunks/{snapshot-kts1zzak.js → generate-kt71pmwz.js} +41 -41
  195. package/dist/chunks/{snapshot-q9cq7v4d.js → generate-kwqhvt42.js} +18 -18
  196. package/dist/chunks/{snapshot-pnxdc0kd.js → generate-m22w3jkd.js} +32 -32
  197. package/dist/chunks/{snapshot-m3fdjcah.js → generate-m3fdjcah.js} +1 -1
  198. package/dist/chunks/{snapshot-bpnypz4k.js → generate-m4p4mhce.js} +18 -18
  199. package/dist/chunks/{snapshot-a1zeg3jw.js → generate-m5r3e6sc.js} +11 -11
  200. package/dist/chunks/{snapshot-vvxj9t5p.js → generate-m9k0wbax.js} +37 -37
  201. package/dist/chunks/{snapshot-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
  202. package/dist/chunks/{snapshot-rsdf2nvv.js → generate-mfhfdr54.js} +4 -4
  203. package/dist/chunks/{snapshot-r31f3mt7.js → generate-mm9gyng9.js} +25 -25
  204. package/dist/chunks/{snapshot-5wxpt6m1.js → generate-mtpgkgh0.js} +9 -9
  205. package/dist/chunks/{snapshot-b3y340z6.js → generate-n4v58wv0.js} +4 -4
  206. package/dist/chunks/{snapshot-cq6kw089.js → generate-n7cnqe0p.js} +31 -31
  207. package/dist/chunks/{snapshot-zeyxjqbn.js → generate-ndzcbbvx.js} +8 -8
  208. package/dist/chunks/{snapshot-57ez7d0k.js → generate-nf3r8qb2.js} +9 -9
  209. package/dist/chunks/{snapshot-q85hyj5a.js → generate-nqyk3grw.js} +41 -41
  210. package/dist/chunks/{snapshot-k3c624dm.js → generate-nzks3jc8.js} +3 -3
  211. package/dist/chunks/{snapshot-vnhmmnjb.js → generate-p261ekdc.js} +21 -21
  212. package/dist/chunks/{snapshot-p28j5sbe.js → generate-p28j5sbe.js} +2 -2
  213. package/dist/chunks/{snapshot-n886nese.js → generate-p38k89q1.js} +309 -309
  214. package/dist/chunks/{snapshot-hmsbh1sb.js → generate-p3nvtprr.js} +33 -33
  215. package/dist/chunks/{snapshot-kyepgnfb.js → generate-pg7dzk1q.js} +21 -21
  216. package/dist/chunks/generate-phz3h32g.js +18 -0
  217. package/dist/chunks/{snapshot-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
  218. package/dist/chunks/{snapshot-pknna89w.js → generate-pknna89w.js} +1 -1
  219. package/dist/chunks/{snapshot-d416vsnr.js → generate-pmzfczzx.js} +3 -3
  220. package/dist/chunks/{snapshot-b2qj0hc5.js → generate-ptjg6r5v.js} +8 -8
  221. package/dist/chunks/{snapshot-r9de1bmn.js → generate-ptzf6svk.js} +1 -1
  222. package/dist/chunks/{snapshot-qa3qhgw8.js → generate-qa3qhgw8.js} +1 -1
  223. package/dist/chunks/{snapshot-q59v9naq.js → generate-qb623j79.js} +20 -20
  224. package/dist/chunks/{snapshot-cfhxasza.js → generate-qb9204h6.js} +7 -7
  225. package/dist/chunks/{snapshot-3776p8sw.js → generate-qgsdwrdp.js} +11 -11
  226. package/dist/chunks/{snapshot-d4h1dsgp.js → generate-qk3skfh1.js} +3 -3
  227. package/dist/chunks/generate-qp2n6zp9.js +26 -0
  228. package/dist/chunks/{snapshot-xfkkasph.js → generate-qqeeq2t9.js} +7 -7
  229. package/dist/chunks/{snapshot-0q3v4fyv.js → generate-qra1vg7x.js} +71 -71
  230. package/dist/chunks/{snapshot-fzxx1z56.js → generate-qrcs80c4.js} +32 -32
  231. package/dist/chunks/{snapshot-qsdy395h.js → generate-qsdy395h.js} +1 -1
  232. package/dist/chunks/{snapshot-e6hmchc5.js → generate-qte5z7bc.js} +5 -5
  233. package/dist/chunks/{snapshot-a2pzwxd2.js → generate-qwasgp8v.js} +16 -16
  234. package/dist/chunks/{snapshot-4sqwj1fj.js → generate-r09kcce2.js} +4 -4
  235. package/dist/chunks/{snapshot-8a9m2q6m.js → generate-r8572ydm.js} +31 -31
  236. package/dist/chunks/{snapshot-dzv3kmrh.js → generate-r90t3skp.js} +13 -13
  237. package/dist/chunks/{snapshot-rdw6cm16.js → generate-rdw6cm16.js} +1 -1
  238. package/dist/chunks/{snapshot-hkms5h5a.js → generate-rj4tp187.js} +9 -9
  239. package/dist/chunks/{snapshot-294av9h5.js → generate-rygtch4c.js} +10 -10
  240. package/dist/chunks/{snapshot-pvh61k00.js → generate-s1sn43f6.js} +22 -22
  241. package/dist/chunks/{snapshot-p8hy2xfv.js → generate-s4qtke3p.js} +49 -49
  242. package/dist/chunks/{snapshot-6bctew4d.js → generate-s6bwzk9r.js} +20 -20
  243. package/dist/chunks/{snapshot-wavy99wc.js → generate-s9na07f2.js} +11 -11
  244. package/dist/chunks/{snapshot-apn8f15b.js → generate-spt9fbav.js} +9 -9
  245. package/dist/chunks/{snapshot-341czked.js → generate-t19r84ws.js} +23 -23
  246. package/dist/chunks/{snapshot-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
  247. package/dist/chunks/{snapshot-d9wzmzc3.js → generate-tdpndm1c.js} +5 -5
  248. package/dist/chunks/{snapshot-tdstcens.js → generate-tdstcens.js} +1 -1
  249. package/dist/chunks/{snapshot-7fkrnyxq.js → generate-tjedn1bk.js} +4 -4
  250. package/dist/chunks/{snapshot-sbcdk7dq.js → generate-ttm1q0kg.js} +9 -9
  251. package/dist/chunks/{snapshot-m9a8nbc6.js → generate-ttm2705a.js} +12 -12
  252. package/dist/chunks/{snapshot-tvtrv512.js → generate-tvtrv512.js} +1 -1
  253. package/dist/chunks/{snapshot-9w0w0c1j.js → generate-txx9st8t.js} +4 -4
  254. package/dist/chunks/{snapshot-9zw6sq4y.js → generate-va4cvfc3.js} +20 -20
  255. package/dist/chunks/{snapshot-r98e92ep.js → generate-ve4pfa0n.js} +4 -4
  256. package/dist/chunks/{snapshot-veqvce7d.js → generate-veqvce7d.js} +1 -1
  257. package/dist/chunks/{snapshot-hfdr1yjj.js → generate-vkxpz7g2.js} +4 -4
  258. package/dist/chunks/{snapshot-v6gb7zv2.js → generate-vqfzq50h.js} +6 -6
  259. package/dist/chunks/{snapshot-33vh1ta1.js → generate-vtq71d35.js} +36 -36
  260. package/dist/chunks/{snapshot-vzcthcp8.js → generate-vzcthcp8.js} +1 -1
  261. package/dist/chunks/{snapshot-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
  262. package/dist/chunks/{snapshot-hpjjptkf.js → generate-w4pr70gm.js} +11 -11
  263. package/dist/chunks/{snapshot-jz6s72fr.js → generate-wac2p1pk.js} +44 -44
  264. package/dist/chunks/{snapshot-xs3zfhx9.js → generate-wc0dzmvn.js} +7 -7
  265. package/dist/chunks/{snapshot-wd87259q.js → generate-wd87259q.js} +1 -1
  266. package/dist/chunks/{snapshot-ty7d494y.js → generate-wktdcmn3.js} +15 -15
  267. package/dist/chunks/{snapshot-x1ezjp6w.js → generate-x1ezjp6w.js} +1 -1
  268. package/dist/chunks/generate-x90gshdg.js +252 -0
  269. package/dist/chunks/{snapshot-ypk7b8cy.js → generate-xhyfjham.js} +7 -7
  270. package/dist/chunks/{snapshot-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{snapshot-nb4jkd55.js → generate-y2a6ds97.js} +19 -19
  272. package/dist/chunks/{snapshot-dpkg50ah.js → generate-y71avatq.js} +4 -4
  273. package/dist/chunks/{snapshot-yb4td6hj.js → generate-y8tj7gpt.js} +34 -34
  274. package/dist/chunks/{snapshot-yrhqyw5v.js → generate-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{snapshot-yrznvahk.js → generate-yrznvahk.js} +2 -2
  276. package/dist/chunks/{snapshot-hkfg6fzm.js → generate-yt0fqk68.js} +5 -5
  277. package/dist/chunks/{snapshot-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{snapshot-emp0rw8a.js → generate-z46y8a13.js} +17 -17
  279. package/dist/chunks/{snapshot-e3geph7p.js → generate-z4snjgfg.js} +22 -22
  280. package/dist/chunks/{snapshot-z63w68vq.js → generate-z63w68vq.js} +2 -2
  281. package/dist/chunks/{snapshot-2mzxbbne.js → generate-z78j2g86.js} +13 -13
  282. package/dist/chunks/{snapshot-zeh9ct20.js → generate-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{snapshot-n1g72t29.js → generate-zhsvargz.js} +25 -25
  284. package/dist/chunks/{snapshot-44ke2mar.js → generate-zqx8wcya.js} +4 -4
  285. package/dist/chunks/{snapshot-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{snapshot-z88tvqv9.js → generate-zs994txj.js} +184 -184
  287. package/dist/chunks/{snapshot-q5rhn9x0.js → generate-zsnh4763.js} +13 -13
  288. package/dist/chunks/{snapshot-zxq2ej10.js → generate-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +7 -7
  291. package/dist/codemode/tool.js +3 -3
  292. package/dist/codemode/web.js +1 -1
  293. package/dist/command.js +82 -82
  294. package/dist/config/discovery.js +83 -83
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +105 -105
  297. package/dist/config/plugin/agent.js +122 -122
  298. package/dist/config/plugin/command.js +211 -211
  299. package/dist/config/plugin/compaction.js +159 -159
  300. package/dist/config/plugin/compatibility.js +140 -140
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +123 -123
  303. package/dist/config/plugin/image.js +122 -122
  304. package/dist/config/plugin/instruction.js +89 -89
  305. package/dist/config/plugin/location-watcher.js +122 -122
  306. package/dist/config/plugin/mcp.js +127 -127
  307. package/dist/config/plugin/policy.js +122 -122
  308. package/dist/config/plugin/provider.js +122 -122
  309. package/dist/config/plugin/reference.js +124 -124
  310. package/dist/config/plugin/shell.js +122 -122
  311. package/dist/config/plugin/skill-file.js +101 -101
  312. package/dist/config/plugin/skill.js +141 -141
  313. package/dist/config/plugin/snapshot.js +122 -122
  314. package/dist/config/plugin/source.js +125 -125
  315. package/dist/config/plugin/tool-output.js +124 -124
  316. package/dist/config/plugin/websearch.js +121 -121
  317. package/dist/config/plugin/worktree.js +124 -124
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +127 -127
  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 +368 -368
  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 +92 -92
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +94 -94
  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 +73 -73
  412. package/dist/file-access.js +103 -103
  413. package/dist/file-mutation.js +93 -93
  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 +224 -224
  423. package/dist/filesystem/protected.js +3 -3
  424. package/dist/filesystem/search.js +102 -102
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +107 -107
  428. package/dist/form.js +81 -81
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +88 -88
  431. package/dist/generate.js +104 -104
  432. package/dist/git.js +10 -10
  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 +98 -98
  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 +359 -359
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +86 -86
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +85 -85
  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 +134 -134
  466. package/dist/location-lifecycle.js +105 -105
  467. package/dist/location-mutation.js +103 -103
  468. package/dist/location-service-map.js +85 -85
  469. package/dist/location-services.js +356 -356
  470. package/dist/location.js +86 -86
  471. package/dist/mcp/client.js +90 -90
  472. package/dist/mcp/index.js +107 -107
  473. package/dist/mcp/instructions.js +125 -125
  474. package/dist/mcp/oauth.js +77 -77
  475. package/dist/mcp/stdio.js +89 -89
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +98 -98
  478. package/dist/model-resolver.js +97 -97
  479. package/dist/model.js +97 -97
  480. package/dist/models-dev.js +106 -106
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +79 -79
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +108 -108
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +87 -87
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +74 -74
  490. package/dist/plugin/agent.js +101 -101
  491. package/dist/plugin/command.js +98 -98
  492. package/dist/plugin/compaction.js +130 -130
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +217 -217
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +330 -330
  498. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  499. package/dist/plugin/models-dev.js +95 -95
  500. package/dist/plugin/module.js +7 -7
  501. package/dist/plugin/optimize.js +2 -2
  502. package/dist/plugin/plan.js +101 -101
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  505. package/dist/plugin/provider/azure.js +121 -121
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +118 -118
  511. package/dist/plugin/provider/digitalocean.js +92 -92
  512. package/dist/plugin/provider/dynamic.js +2 -2
  513. package/dist/plugin/provider/factory.js +1 -1
  514. package/dist/plugin/provider/gateway.js +2 -2
  515. package/dist/plugin/provider/github-copilot.js +92 -92
  516. package/dist/plugin/provider/gitlab.js +90 -90
  517. package/dist/plugin/provider/google-vertex.js +89 -89
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +76 -76
  520. package/dist/plugin/provider/lmstudio.js +121 -121
  521. package/dist/plugin/provider/modal.js +91 -91
  522. package/dist/plugin/provider/nvidia.js +1 -1
  523. package/dist/plugin/provider/ollama.js +121 -121
  524. package/dist/plugin/provider/openai.js +91 -91
  525. package/dist/plugin/provider/opencode.js +92 -92
  526. package/dist/plugin/provider/openrouter.js +90 -90
  527. package/dist/plugin/provider/perplexity.js +2 -2
  528. package/dist/plugin/provider/poe.js +77 -77
  529. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  530. package/dist/plugin/provider/sap-ai-core.js +90 -90
  531. package/dist/plugin/provider/sdk-factory.js +1 -1
  532. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  533. package/dist/plugin/provider/venice.js +2 -2
  534. package/dist/plugin/provider/vercel.js +89 -89
  535. package/dist/plugin/provider/vllm.js +121 -121
  536. package/dist/plugin/provider/xai.js +90 -90
  537. package/dist/plugin/provider/zenmux.js +1 -1
  538. package/dist/plugin/provider.js +158 -158
  539. package/dist/plugin/sdk.js +75 -75
  540. package/dist/plugin/service.js +3 -3
  541. package/dist/plugin/skill.js +138 -138
  542. package/dist/plugin/source-directory.js +1 -1
  543. package/dist/plugin/supervisor.js +349 -349
  544. package/dist/plugin/tool-input-repair.js +4 -4
  545. package/dist/plugin/update.js +4 -4
  546. package/dist/plugin/vcs/git.js +83 -83
  547. package/dist/plugin/vcs/hg.js +83 -83
  548. package/dist/plugin/warming.js +120 -120
  549. package/dist/plugin/websearch/exa.js +5 -5
  550. package/dist/plugin/websearch/firecrawl.js +8 -8
  551. package/dist/plugin/websearch/index.js +9 -9
  552. package/dist/plugin/websearch/mcp.js +2 -2
  553. package/dist/plugin/websearch/parallel.js +6 -6
  554. package/dist/plugin/websearch/tavily.js +4 -4
  555. package/dist/plugin/websearch/tinyfish.js +8 -8
  556. package/dist/plugin.js +224 -224
  557. package/dist/project/schema.js +8 -8
  558. package/dist/project/sql.js +4 -4
  559. package/dist/project.js +89 -89
  560. package/dist/provider.js +98 -98
  561. package/dist/pty/protocol.js +1 -1
  562. package/dist/pty/schema.js +1 -1
  563. package/dist/pty/ticket.js +1 -1
  564. package/dist/pty.js +93 -93
  565. package/dist/reference/instructions.js +86 -86
  566. package/dist/reference.js +88 -88
  567. package/dist/repository-cache.js +80 -80
  568. package/dist/repository.js +1 -1
  569. package/dist/ripgrep/binary.js +2 -2
  570. package/dist/ripgrep.js +96 -96
  571. package/dist/rpc.js +85 -85
  572. package/dist/schema.js +1 -1
  573. package/dist/session/command.js +73 -73
  574. package/dist/session/compaction.js +133 -133
  575. package/dist/session/context.js +151 -151
  576. package/dist/session/diff.js +87 -87
  577. package/dist/session/environment.js +3 -3
  578. package/dist/session/error.js +5 -5
  579. package/dist/session/event.js +1 -1
  580. package/dist/session/execution/restart.js +223 -223
  581. package/dist/session/execution.js +127 -127
  582. package/dist/session/generate.js +152 -152
  583. package/dist/session/history.js +13 -13
  584. package/dist/session/inbox.js +89 -89
  585. package/dist/session/info.js +3 -3
  586. package/dist/session/instruction-entry.js +78 -78
  587. package/dist/session/instruction-state.js +8 -8
  588. package/dist/session/instructions.js +96 -96
  589. package/dist/session/message-updater.js +2 -2
  590. package/dist/session/message.js +1 -1
  591. package/dist/session/model-request.js +118 -118
  592. package/dist/session/model-transport.js +9 -9
  593. package/dist/session/move.js +129 -129
  594. package/dist/session/projector.js +85 -85
  595. package/dist/session/prompt.js +104 -104
  596. package/dist/session/provider-context.js +3 -3
  597. package/dist/session/revert.js +89 -89
  598. package/dist/session/run-coordinator.js +3 -3
  599. package/dist/session/runner/index.js +3 -3
  600. package/dist/session/runner/llm.js +230 -230
  601. package/dist/session/runner/max-steps.js +1 -1
  602. package/dist/session/runner/model.js +97 -97
  603. package/dist/session/runner/publish-llm-event.js +3 -3
  604. package/dist/session/runner/retry.js +111 -111
  605. package/dist/session/runner/step.js +125 -125
  606. package/dist/session/runner/to-llm-message.js +2 -2
  607. package/dist/session/schema.js +5 -5
  608. package/dist/session/session.js +171 -171
  609. package/dist/session/shell.js +137 -137
  610. package/dist/session/skill.js +102 -102
  611. package/dist/session/sql.js +5 -5
  612. package/dist/session/stats.js +72 -72
  613. package/dist/session/store.js +86 -86
  614. package/dist/session/subagent-completion.js +1 -1
  615. package/dist/session/subagent-job.js +209 -209
  616. package/dist/session/system-prompt.js +5 -5
  617. package/dist/session/title.js +155 -155
  618. package/dist/session/to-session-error.js +110 -110
  619. package/dist/session/transfer.js +219 -219
  620. package/dist/session/usage.js +1 -1
  621. package/dist/session.js +219 -219
  622. package/dist/shell/parse.js +6 -6
  623. package/dist/shell/result.js +1 -1
  624. package/dist/shell/scan.js +1 -1
  625. package/dist/shell/select.js +15 -15
  626. package/dist/shell.js +137 -137
  627. package/dist/skill/discovery.js +2 -2
  628. package/dist/skill/instructions.js +106 -106
  629. package/dist/skill.js +109 -109
  630. package/dist/snapshot.js +92 -92
  631. package/dist/state.js +1 -1
  632. package/dist/tool/html-markdown.js +1 -1
  633. package/dist/tool/http-body.js +1 -1
  634. package/dist/tool/mcp.js +124 -124
  635. package/dist/tool/plugin/edit.js +119 -119
  636. package/dist/tool/plugin/file-diff.js +1 -1
  637. package/dist/tool/plugin/glob.js +123 -123
  638. package/dist/tool/plugin/grep.js +123 -123
  639. package/dist/tool/plugin/opencode.js +3 -3
  640. package/dist/tool/plugin/patch.js +121 -121
  641. package/dist/tool/plugin/question.js +102 -102
  642. package/dist/tool/plugin/read.js +124 -124
  643. package/dist/tool/plugin/shell.js +214 -214
  644. package/dist/tool/plugin/skill.js +108 -108
  645. package/dist/tool/plugin/subagent.js +216 -216
  646. package/dist/tool/plugin/webfetch.js +107 -107
  647. package/dist/tool/plugin/websearch.js +107 -107
  648. package/dist/tool/plugin/write.js +121 -121
  649. package/dist/tool/read-filesystem.js +99 -99
  650. package/dist/tool/runtime.js +1 -1
  651. package/dist/tool-output.js +8 -8
  652. package/dist/tool.js +16 -16
  653. package/dist/util/error-summary.js +1 -1
  654. package/dist/util/error.js +1 -1
  655. package/dist/util/git-executable.js +2 -2
  656. package/dist/util/iife.js +1 -1
  657. package/dist/util/lazy.js +1 -1
  658. package/dist/util/slug.js +1 -1
  659. package/dist/util/token.js +1 -1
  660. package/dist/util/which.js +1 -1
  661. package/dist/util/wildcard.js +1 -1
  662. package/dist/v1/config/agent.js +5 -5
  663. package/dist/v1/config/attachment.js +2 -2
  664. package/dist/v1/config/command.js +1 -1
  665. package/dist/v1/config/config.js +14 -14
  666. package/dist/v1/config/error.js +2 -2
  667. package/dist/v1/config/formatter.js +7 -7
  668. package/dist/v1/config/layout.js +1 -1
  669. package/dist/v1/config/lsp.js +1 -1
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +91 -91
  672. package/dist/v1/config/permission.js +3 -3
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/v1/config/server.js +2 -2
  677. package/dist/v1/config/skills.js +3 -3
  678. package/dist/v1/permission.js +1 -1
  679. package/dist/variant.js +92 -92
  680. package/dist/vcs/patch.js +1 -1
  681. package/dist/vcs.js +88 -88
  682. package/dist/websearch.js +83 -83
  683. package/dist/wellknown/plugin.js +75 -75
  684. package/dist/wellknown.js +80 -80
  685. package/dist/workspace/driver.js +5 -5
  686. package/dist/workspace/sql.js +1 -1
  687. package/dist/workspace.js +77 -77
  688. package/dist/worktree/directory.js +2 -2
  689. package/dist/worktree/git.js +10 -10
  690. package/dist/worktree/sql.js +5 -5
  691. package/dist/worktree/strategies.js +88 -88
  692. package/dist/worktree.js +95 -95
  693. package/package.json +8 -8
  694. package/dist/chunks/snapshot-9zdhvgqs.js +0 -18
  695. package/dist/chunks/snapshot-mvww34c5.js +0 -26
  696. package/dist/chunks/snapshot-qbk6x2f6.js +0 -252
  697. /package/dist/chunks/{snapshot-0mesazry.js → generate-0mesazry.js} +0 -0
  698. /package/dist/chunks/{snapshot-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
  699. /package/dist/chunks/{snapshot-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
  700. /package/dist/chunks/{snapshot-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
  701. /package/dist/chunks/{snapshot-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
  702. /package/dist/chunks/{snapshot-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
  703. /package/dist/chunks/{snapshot-24dcb14g.js → generate-24dcb14g.js} +0 -0
  704. /package/dist/chunks/{snapshot-2710q6r3.js → generate-2710q6r3.js} +0 -0
  705. /package/dist/chunks/{snapshot-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
  706. /package/dist/chunks/{snapshot-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
  707. /package/dist/chunks/{snapshot-359p4xyc.js → generate-359p4xyc.js} +0 -0
  708. /package/dist/chunks/{snapshot-3asan66x.js → generate-3asan66x.js} +0 -0
  709. /package/dist/chunks/{snapshot-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
  710. /package/dist/chunks/{snapshot-3w5fmr99.js → generate-3w5fmr99.js} +0 -0
  711. /package/dist/chunks/{snapshot-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
  712. /package/dist/chunks/{snapshot-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
  713. /package/dist/chunks/{snapshot-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
  714. /package/dist/chunks/{snapshot-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
  715. /package/dist/chunks/{snapshot-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
  716. /package/dist/chunks/{snapshot-53557ph1.js → generate-53557ph1.js} +0 -0
  717. /package/dist/chunks/{snapshot-550bvhaj.js → generate-550bvhaj.js} +0 -0
  718. /package/dist/chunks/{snapshot-5qd3pb7m.js → generate-5qd3pb7m.js} +0 -0
  719. /package/dist/chunks/{snapshot-6prwharc.js → generate-6prwharc.js} +0 -0
  720. /package/dist/chunks/{snapshot-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
  721. /package/dist/chunks/{snapshot-7m9af43g.js → generate-7m9af43g.js} +0 -0
  722. /package/dist/chunks/{snapshot-822emrt2.js → generate-822emrt2.js} +0 -0
  723. /package/dist/chunks/{snapshot-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
  724. /package/dist/chunks/{snapshot-8n3pysct.js → generate-8n3pysct.js} +0 -0
  725. /package/dist/chunks/{snapshot-922hggd3.js → generate-922hggd3.js} +0 -0
  726. /package/dist/chunks/{snapshot-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
  727. /package/dist/chunks/{snapshot-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
  728. /package/dist/chunks/{snapshot-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
  729. /package/dist/chunks/{snapshot-af5trqkr.js → generate-af5trqkr.js} +0 -0
  730. /package/dist/chunks/{snapshot-afrmfg78.js → generate-afrmfg78.js} +0 -0
  731. /package/dist/chunks/{snapshot-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
  732. /package/dist/chunks/{snapshot-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
  733. /package/dist/chunks/{snapshot-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
  734. /package/dist/chunks/{snapshot-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
  735. /package/dist/chunks/{snapshot-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
  736. /package/dist/chunks/{snapshot-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
  737. /package/dist/chunks/{snapshot-d9fn303g.js → generate-d9fn303g.js} +0 -0
  738. /package/dist/chunks/{snapshot-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
  739. /package/dist/chunks/{snapshot-dajrwvna.js → generate-dajrwvna.js} +0 -0
  740. /package/dist/chunks/{snapshot-dap0rakb.js → generate-dap0rakb.js} +0 -0
  741. /package/dist/chunks/{snapshot-df08tz66.js → generate-df08tz66.js} +0 -0
  742. /package/dist/chunks/{snapshot-dy18nga0.js → generate-dy18nga0.js} +0 -0
  743. /package/dist/chunks/{snapshot-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
  744. /package/dist/chunks/{snapshot-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
  745. /package/dist/chunks/{snapshot-ec1grn59.js → generate-ec1grn59.js} +0 -0
  746. /package/dist/chunks/{snapshot-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
  747. /package/dist/chunks/{snapshot-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
  748. /package/dist/chunks/{snapshot-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
  749. /package/dist/chunks/{snapshot-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
  750. /package/dist/chunks/{snapshot-faypxj3z.js → generate-faypxj3z.js} +0 -0
  751. /package/dist/chunks/{snapshot-fd410y7t.js → generate-fd410y7t.js} +0 -0
  752. /package/dist/chunks/{snapshot-fxgpk5d8.js → generate-fxgpk5d8.js} +0 -0
  753. /package/dist/chunks/{snapshot-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
  754. /package/dist/chunks/{snapshot-g86h250q.js → generate-g86h250q.js} +0 -0
  755. /package/dist/chunks/{snapshot-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
  756. /package/dist/chunks/{snapshot-gftt206x.js → generate-gftt206x.js} +0 -0
  757. /package/dist/chunks/{snapshot-hjbc5kem.js → generate-hjbc5kem.js} +0 -0
  758. /package/dist/chunks/{snapshot-hk9envan.js → generate-hk9envan.js} +0 -0
  759. /package/dist/chunks/{snapshot-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
  760. /package/dist/chunks/{snapshot-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
  761. /package/dist/chunks/{snapshot-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
  762. /package/dist/chunks/{snapshot-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
  763. /package/dist/chunks/{snapshot-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
  764. /package/dist/chunks/{snapshot-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
  765. /package/dist/chunks/{snapshot-mp448xyj.js → generate-mp448xyj.js} +0 -0
  766. /package/dist/chunks/{snapshot-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
  767. /package/dist/chunks/{snapshot-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
  768. /package/dist/chunks/{snapshot-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
  769. /package/dist/chunks/{snapshot-njntx4h6.js → generate-njntx4h6.js} +0 -0
  770. /package/dist/chunks/{snapshot-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
  771. /package/dist/chunks/{snapshot-q74kybfr.js → generate-q74kybfr.js} +0 -0
  772. /package/dist/chunks/{snapshot-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
  773. /package/dist/chunks/{snapshot-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
  774. /package/dist/chunks/{snapshot-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
  775. /package/dist/chunks/{snapshot-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
  776. /package/dist/chunks/{snapshot-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
  777. /package/dist/chunks/{snapshot-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
  778. /package/dist/chunks/{snapshot-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
  779. /package/dist/chunks/{snapshot-sk3qaz4a.js → generate-sk3qaz4a.js} +0 -0
  780. /package/dist/chunks/{snapshot-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
  781. /package/dist/chunks/{snapshot-twg0f83k.js → generate-twg0f83k.js} +0 -0
  782. /package/dist/chunks/{snapshot-w803qqfp.js → generate-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{snapshot-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{snapshot-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{snapshot-wtztk69x.js → generate-wtztk69x.js} +0 -0
  786. /package/dist/chunks/{snapshot-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
  787. /package/dist/chunks/{snapshot-x61499pn.js → generate-x61499pn.js} +0 -0
  788. /package/dist/chunks/{snapshot-y44na4kk.js → generate-y44na4kk.js} +0 -0
  789. /package/dist/chunks/{snapshot-y8cydn3q.js → generate-y8cydn3q.js} +0 -0
  790. /package/dist/chunks/{snapshot-y8f7s663.js → generate-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{snapshot-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{snapshot-ym463w8f.js → generate-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{snapshot-z9919s4g.js → generate-z9919s4g.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service81,
4
- node85
5
- } from "./snapshot-m9a8nbc6.js";
3
+ Service82,
4
+ node86
5
+ } from "./generate-ttm2705a.js";
6
6
  import {
7
- Service74,
8
- node78
9
- } from "./snapshot-94n8x2pm.js";
7
+ Service80,
8
+ node84
9
+ } from "./generate-et8hxw0a.js";
10
10
  import {
11
11
  __export
12
- } from "./snapshot-9rqn6x4v.js";
12
+ } from "./generate-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event13,
19
+ Event: () => Event12,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service53,
22
+ Service: () => Service60,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node57,
26
- resolve: () => resolve4
25
+ node: () => node62,
26
+ resolve: () => resolve3
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service53 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service60 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event13 = {
51
+ var Event12 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
56
56
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
57
57
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
58
58
  });
59
- var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
59
+ var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
60
60
  const manifest = yield* inspect2(input.origin);
61
61
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
62
62
  });
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service53, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service60, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service74;
81
- const bus = yield* Service81;
80
+ const kv = yield* Service80;
81
+ const bus = yield* Service82;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
84
84
  const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event13.Updated, {});
112
+ yield* bus.publish(Event12.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service53.of({
115
+ return Service60.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
125
125
  const origins = Schema.is(Sources)(sources) ? sources : [];
126
126
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
127
127
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
128
- yield* bus.publish(Event13.Updated, {});
128
+ yield* bus.publish(Event12.Updated, {});
129
129
  return entry;
130
130
  }, (effect, _value) => lock.withPermit(effect)),
131
131
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event13.Updated, {});
141
+ yield* bus.publish(Event12.Updated, {});
142
142
  }, (effect, _value) => lock.withPermit(effect)),
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node57 = makeGlobalNode({ service: Service53, layer, deps: [httpClient, node78, node85] });
146
+ var node62 = makeGlobalNode({ service: Service60, layer, deps: [httpClient, node84, node86] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service53, Event13, inspect2, resolve4, node57, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service60, Event12, inspect2, resolve3, node62, exports_wellknown };
@@ -1,59 +1,59 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./snapshot-rdzsqw97.js";
4
+ } from "./generate-537bw0gn.js";
5
5
  import {
6
- Service81,
7
- node85
8
- } from "./snapshot-m9a8nbc6.js";
6
+ Service82,
7
+ node86
8
+ } from "./generate-ttm2705a.js";
9
9
  import {
10
- Service64,
11
- node68
12
- } from "./snapshot-5n8a4f8s.js";
10
+ Service78,
11
+ node82
12
+ } from "./generate-5aqxh65v.js";
13
13
  import {
14
- Service63,
15
- node67
16
- } from "./snapshot-v6gb7zv2.js";
14
+ Service41,
15
+ node43
16
+ } from "./generate-vqfzq50h.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./snapshot-ec1grn59.js";
19
+ } from "./generate-ec1grn59.js";
20
20
  import {
21
- make19
22
- } from "./snapshot-rhraev7y.js";
21
+ make15
22
+ } from "./generate-f2n192rq.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service60
26
- } from "./snapshot-zee1rnkq.js";
25
+ Service38
26
+ } from "./generate-hn57h045.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./snapshot-phc8pspp.js";
29
+ } from "./generate-5k92hdxp.js";
30
30
  import {
31
- Service71,
32
- node75
33
- } from "./snapshot-vfmbdkmd.js";
31
+ Service56,
32
+ node58
33
+ } from "./generate-2gjqtbpb.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./snapshot-b3y340z6.js";
36
+ } from "./generate-n4v58wv0.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./snapshot-eh6mc15a.js";
39
+ } from "./generate-6vd6cxtp.js";
40
40
  import {
41
41
  __export
42
- } from "./snapshot-9rqn6x4v.js";
42
+ } from "./generate-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service59,
47
+ Service: () => Service37,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer22,
50
- node: () => node64,
51
- noopLayer: () => noopLayer3,
49
+ layer: () => layer16,
50
+ node: () => node40,
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 Service59 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service37 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer22 = Layer.effect(Service59, Effect.gen(function* () {
69
- const store = yield* Service71;
70
- const instances = yield* Service63;
71
- const bus = yield* Service81;
72
- const jobs = yield* Service64;
68
+ var layer16 = Layer.effect(Service37, Effect.gen(function* () {
69
+ const store = yield* Service56;
70
+ const instances = yield* Service41;
71
+ const bus = yield* Service82;
72
+ const jobs = yield* Service78;
73
73
  const db = (yield* Service83).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);
75
75
  const claimOnCommit = (sessionID) => ({
@@ -82,14 +82,14 @@ var layer22 = Layer.effect(Service59, 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* Service60.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* Service38.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* make19({
92
+ const coordinator = yield* make15({
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 layer22 = Layer.effect(Service59, Effect.gen(function* () {
110
110
  }, releaseOnCommit(sessionID));
111
111
  }))
112
112
  });
113
- return Service59.of({
113
+ return Service37.of({
114
114
  active: coordinator.active,
115
115
  isActive: coordinator.isActive,
116
116
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -129,12 +129,12 @@ var layer22 = Layer.effect(Service59, Effect.gen(function* () {
129
129
  awaitIdle: coordinator.awaitIdle
130
130
  });
131
131
  }));
132
- var node64 = makeGlobalNode({
133
- service: Service59,
134
- layer: layer22,
135
- deps: [node75, node67, node85, node87, node68]
132
+ var node40 = makeGlobalNode({
133
+ service: Service37,
134
+ layer: layer16,
135
+ deps: [node58, node43, node86, node87, node82]
136
136
  });
137
- var noopLayer3 = Layer.succeed(Service59, Service59.of({
137
+ var noopLayer2 = Layer.succeed(Service37, Service37.of({
138
138
  active: Effect.succeed(new Set),
139
139
  isActive: () => Effect.succeed(false),
140
140
  resume: () => Effect.void,
@@ -143,4 +143,4 @@ var noopLayer3 = Layer.succeed(Service59, Service59.of({
143
143
  awaitIdle: () => Effect.void
144
144
  }));
145
145
 
146
- export { Service59, terminal2, layer22, node64, noopLayer3, exports_execution };
146
+ export { Service37, terminal2, layer16, node40, noopLayer2, exports_execution };
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node46
5
- } from "./snapshot-mqwxc12a.js";
4
+ node64
5
+ } from "./generate-8krsydjn.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./snapshot-rsdf2nvv.js";
9
+ } from "./generate-mfhfdr54.js";
10
10
  import {
11
- Service73,
12
- node77
13
- } from "./snapshot-4e8vs6eh.js";
11
+ Service59,
12
+ node61
13
+ } from "./generate-jvnghvnw.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./snapshot-w8wkjymx.js";
16
+ } from "./generate-4nqr3vv7.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./snapshot-mgrm5cv4.js";
19
+ } from "./generate-fetmcry8.js";
20
20
  import {
21
- Error3
22
- } from "./snapshot-h8mnccc2.js";
21
+ Error2
22
+ } from "./generate-8s3794y9.js";
23
23
  import {
24
- Service37,
25
- node40
26
- } from "./snapshot-wavy99wc.js";
24
+ Service25,
25
+ node28
26
+ } from "./generate-s9na07f2.js";
27
27
  import {
28
- make15
29
- } from "./snapshot-xfkkasph.js";
28
+ make13
29
+ } from "./generate-qqeeq2t9.js";
30
30
  import {
31
31
  toLLMMessages2
32
- } from "./snapshot-6rybd781.js";
32
+ } from "./generate-fch79rh9.js";
33
33
  import {
34
34
  __export
35
- } from "./snapshot-9rqn6x4v.js";
35
+ } from "./generate-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: () => Service36,
40
+ Service: () => Service24,
41
41
  SessionModelRequest: () => exports_model_request,
42
42
  baseTranscript: () => baseTranscript2,
43
43
  boundImages: () => boundImages2,
44
- layer: () => layer13,
45
- node: () => node39,
44
+ layer: () => layer10,
45
+ node: () => node27,
46
46
  unsupportedParts: () => unsupportedParts2
47
47
  });
48
48
  import {
@@ -66,7 +66,7 @@ var baseTranscript2 = (input) => {
66
66
  return {
67
67
  providerMetadataKey,
68
68
  system: [
69
- input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
69
+ input.agent.system ? input.agent.system : make13(input.tools.definitions.map((tool) => tool.name)),
70
70
  input.initial
71
71
  ].filter((part) => part.length > 0).map(SystemPart.make),
72
72
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -150,11 +150,11 @@ var boundImages2 = (messages) => {
150
150
  }));
151
151
  };
152
152
 
153
- class Service36 extends Context.Service()("@opencode/SessionModelRequest") {
153
+ class Service24 extends Context.Service()("@opencode/SessionModelRequest") {
154
154
  }
155
- var layer13 = Layer.effect(Service36, Effect.gen(function* () {
156
- const hooks = yield* Service73;
157
- const transport = yield* Service37;
155
+ var layer10 = Layer.effect(Service24, Effect.gen(function* () {
156
+ const hooks = yield* Service59;
157
+ const transport = yield* Service25;
158
158
  const app = yield* Metadata2;
159
159
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
160
160
  const session = input.session;
@@ -162,7 +162,7 @@ var layer13 = Layer.effect(Service36, Effect.gen(function* () {
162
162
  const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
163
163
  const tools = input.tools ?? {
164
164
  definitions: [],
165
- execute: () => new Error3({ message: "Tools are not available for this request" })
165
+ execute: () => new Error2({ message: "Tools are not available for this request" })
166
166
  };
167
167
  const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
168
168
  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])));
@@ -252,17 +252,17 @@ var layer13 = Layer.effect(Service36, Effect.gen(function* () {
252
252
  };
253
253
  });
254
254
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
255
- return Service36.of({
255
+ return Service24.of({
256
256
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
257
257
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
258
258
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
259
259
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
260
260
  });
261
261
  }));
262
- var node39 = makeLocationNode({
263
- service: Service36,
264
- layer: layer13,
265
- deps: [node77, node40, node46]
262
+ var node27 = makeLocationNode({
263
+ service: Service24,
264
+ layer: layer10,
265
+ deps: [node61, node28, node64]
266
266
  });
267
267
 
268
- export { baseTranscript2, unsupportedParts2, boundImages2, Service36, layer13, node39, exports_model_request };
268
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service24, layer10, node27, exports_model_request };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./snapshot-9rqn6x4v.js";
3
+ } from "./generate-9rqn6x4v.js";
4
4
 
5
5
  // src/util/token.ts
6
6
  var exports_token = {};
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./snapshot-dpkg50ah.js";
3
+ } from "./generate-y71avatq.js";
4
4
  import {
5
- Service81,
6
- node85
7
- } from "./snapshot-m9a8nbc6.js";
5
+ Service82,
6
+ node86
7
+ } from "./generate-ttm2705a.js";
8
8
  import {
9
- Event19,
10
- Service77,
11
- node81
12
- } from "./snapshot-mzamgxpq.js";
9
+ Event17,
10
+ Service68,
11
+ node71
12
+ } from "./generate-9s7dwqjf.js";
13
13
  import {
14
- Service79,
15
- node83
16
- } from "./snapshot-a2pzwxd2.js";
14
+ Service75,
15
+ node79
16
+ } from "./generate-qwasgp8v.js";
17
17
  import {
18
- Service55,
19
- node59
20
- } from "./snapshot-ad9apwst.js";
18
+ Service72,
19
+ node75
20
+ } from "./generate-ahk33sx3.js";
21
21
  import {
22
- ID16,
23
- Service78,
24
- node82
25
- } from "./snapshot-hfm903zf.js";
22
+ ID18,
23
+ Service81,
24
+ node85
25
+ } from "./generate-cypq54sk.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./snapshot-rdw6cm16.js";
29
+ } from "./generate-rdw6cm16.js";
30
30
  import {
31
- ID14,
31
+ ID11,
32
32
  MethodID2,
33
- Service76,
34
- node80
35
- } from "./snapshot-9etfqcq6.js";
33
+ Service67,
34
+ node70
35
+ } from "./generate-0fem12h8.js";
36
36
  import {
37
37
  __export
38
- } from "./snapshot-9rqn6x4v.js";
38
+ } from "./generate-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError5,
45
- Options: () => Options5,
44
+ NotFoundError: () => NotFoundError4,
45
+ Options: () => Options3,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
48
48
  ResourceCatalog: () => ResourceCatalog2,
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
50
50
  ResourceContentPart: () => ResourceContentPart2,
51
51
  ResourceTemplate: () => ResourceTemplate2,
52
52
  ServerName: () => ServerName2,
53
- Service: () => Service39,
53
+ Service: () => Service28,
54
54
  Status: () => Status2,
55
55
  ToolCallError: () => ToolCallError2,
56
- configured: () => configured5,
57
- layer: () => layer16,
58
- node: () => node42
56
+ configured: () => configured3,
57
+ layer: () => layer13,
58
+ node: () => node31
59
59
  });
60
60
  import { Mcp } from "@opencode/schema/mcp";
61
61
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
74
74
  var ResourceContentPart2 = Mcp.ResourceContentPart;
75
75
  var ResourceContent2 = Mcp.ResourceContent;
76
76
 
77
- class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
77
+ class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
78
78
  server: ServerName2
79
79
  }) {
80
80
  get message() {
@@ -93,21 +93,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
93
93
  var endpointLoads = makeUnsafe2();
94
94
  var cloneConfig = (config) => structuredClone(config);
95
95
 
96
- class Service39 extends Context.Service()("@opencode/MCP") {
96
+ class Service28 extends Context.Service()("@opencode/MCP") {
97
97
  }
98
- var Options5 = Schema.Struct({
98
+ var Options3 = Schema.Struct({
99
99
  clientInfo: Schema.optional(Schema.Struct({
100
100
  name: Schema.String,
101
101
  version: Schema.String
102
102
  }))
103
103
  });
104
- var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
105
- const location = yield* Service79;
106
- const environment = yield* Service55;
107
- const bus = yield* Service81;
108
- const forms = yield* Service78;
109
- const integration = yield* Service76;
110
- const credentials = yield* Service77;
104
+ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
105
+ const location = yield* Service75;
106
+ const environment = yield* Service72;
107
+ const bus = yield* Service82;
108
+ const forms = yield* Service81;
109
+ const integration = yield* Service67;
110
+ const credentials = yield* Service68;
111
111
  const root = yield* Effect.scope;
112
112
  const fork = yield* FiberSet.makeRuntime();
113
113
  const entries = new Map;
@@ -119,7 +119,7 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
119
119
  return;
120
120
  const remote = entry.config;
121
121
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
122
- const integrationID = ID14.make(suffix);
122
+ const integrationID = ID11.make(suffix);
123
123
  entry.integrationID = integrationID;
124
124
  owned.add(integrationID);
125
125
  const methodID = MethodID2.make(suffix);
@@ -135,7 +135,7 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
135
135
  method: { id: methodID, type: "oauth", label: name },
136
136
  authorize: () => Effect.gen(function* () {
137
137
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
138
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service77, credentials));
138
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service68, credentials));
139
139
  })
140
140
  });
141
141
  }).pipe(Scope.provide(scope));
@@ -144,19 +144,19 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
144
144
  const name = ServerName2.make(server);
145
145
  const entry = entries.get(name);
146
146
  if (!entry)
147
- return yield* new NotFoundError5({ server: name });
147
+ return yield* new NotFoundError4({ server: name });
148
148
  return { name, entry };
149
149
  });
150
150
  const connectProvider = Effect.fnUntraced(function* (entry) {
151
151
  if (entry.config.type !== "remote" || !entry.integrationID)
152
152
  return;
153
153
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
154
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service77, credentials));
154
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service68, credentials));
155
155
  });
156
156
  const elicitation = {
157
157
  create: (input) => Effect.gen(function* () {
158
158
  if (input.params.mode === "url") {
159
- const formID = ID16.create();
159
+ const formID = ID18.create();
160
160
  const elicitationID = input.params.elicitationId;
161
161
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
162
162
  if (key)
@@ -240,7 +240,7 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
240
240
  entry.scope = scope;
241
241
  const authProvider = yield* connectProvider(entry);
242
242
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
243
- const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service55, environment), Scope.provide(scope));
243
+ const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service72, environment), Scope.provide(scope));
244
244
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
245
245
  if (Exit.isSuccess(result)) {
246
246
  entry.client = result.value.connection;
@@ -365,7 +365,7 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
365
365
  yield* startServer(name, entry);
366
366
  }).pipe(locks.withLock(name));
367
367
  });
368
- fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
368
+ fork(bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
369
369
  const state = create3({
370
370
  name: "mcp",
371
371
  initial: () => ({
@@ -391,7 +391,7 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
391
391
  }),
392
392
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
393
393
  });
394
- return Service39.of({
394
+ return Service28.of({
395
395
  transform: state.transform,
396
396
  reload: state.reload,
397
397
  servers: Effect.fn("MCP.servers")(function* () {
@@ -510,14 +510,14 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
510
510
  })
511
511
  });
512
512
  }));
513
- function configured5(options) {
513
+ function configured3(options) {
514
514
  return makeLocationNode({
515
- service: Service39,
516
- layer: layer16(options),
517
- deps: [node83, node59, node85, node82, node80, node81]
515
+ service: Service28,
516
+ layer: layer13(options),
517
+ deps: [node79, node75, node86, node85, node70, node71]
518
518
  });
519
519
  }
520
- var node42 = configured5();
520
+ var node31 = configured3();
521
521
  function toElicitationField(key, property, required) {
522
522
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
523
523
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -568,4 +568,4 @@ function toElicitationField(key, property, required) {
568
568
  }
569
569
  }
570
570
 
571
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2, Service39, Options5, layer16, configured5, node42, exports_mcp4 };
571
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service28, Options3, layer13, configured3, node31, exports_mcp4 };
@@ -1,7 +1,7 @@
1
1
  import {
2
- ID14,
3
- Service76
4
- } from "./snapshot-9etfqcq6.js";
2
+ ID11,
3
+ Service67
4
+ } from "./generate-0fem12h8.js";
5
5
 
6
6
  // src/plugin/provider/llmgateway.ts
7
7
  import { Effect } from "effect";
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
9
9
  var LLMGatewayPlugin2 = define({
10
10
  id: "opencode.provider.llmgateway",
11
11
  effect: Effect.fn(function* (ctx) {
12
- const integrations = yield* Service76;
12
+ const integrations = yield* Service67;
13
13
  const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
14
14
  yield* ctx.provider.transform((evt) => {
15
15
  for (const item of evt.list()) {
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
19
19
  continue;
20
20
  if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
21
21
  continue;
22
- if (!configured.has(ID14.make(item.provider.id)))
22
+ if (!configured.has(ID11.make(item.provider.id)))
23
23
  continue;
24
24
  evt.update(item.provider.id, (provider) => {
25
25
  provider.headers = {