@opencode/core 0.0.0-dev-224 → 0.0.0-dev-228

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 (836) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +88 -87
  3. package/dist/aisdk-native.js +100 -99
  4. package/dist/aisdk.js +106 -105
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +78 -77
  7. package/dist/chunks/{filesystem-s7wv3tb2.js → form-00qhjgh5.js} +14 -14
  8. package/dist/chunks/{filesystem-fdje41h6.js → form-05c1xqfa.js} +32 -32
  9. package/dist/chunks/{filesystem-9pt42hrs.js → form-0a6594q4.js} +18 -18
  10. package/dist/chunks/{filesystem-vx54jen0.js → form-0ce6qdts.js} +45 -45
  11. package/dist/chunks/{filesystem-d3ckdkwn.js → form-0rvjqh0v.js} +22 -22
  12. package/dist/chunks/{filesystem-kcbmbrq1.js → form-0tqaar2n.js} +15 -15
  13. package/dist/chunks/{filesystem-9js77jy1.js → form-0tt1jdqx.js} +3 -3
  14. package/dist/chunks/{filesystem-5hsr0zt7.js → form-0we704hm.js} +25 -25
  15. package/dist/chunks/{filesystem-vsmzqk2y.js → form-0y84vv13.js} +61 -57
  16. package/dist/chunks/{filesystem-2gdytpx5.js → form-11p2wct5.js} +35 -35
  17. package/dist/chunks/{filesystem-jphwvgs8.js → form-12a87htm.js} +8 -8
  18. package/dist/chunks/{filesystem-mstrsafp.js → form-1apr90yy.js} +1 -1
  19. package/dist/chunks/{filesystem-tg6k312r.js → form-1de26m2d.js} +13 -13
  20. package/dist/chunks/form-1kah00gy.js +13 -0
  21. package/dist/chunks/{filesystem-ce6qzbvg.js → form-1psxqbrq.js} +17 -17
  22. package/dist/chunks/{filesystem-pakndkhn.js → form-1r7af8ee.js} +3 -3
  23. package/dist/chunks/{filesystem-fs6ar2fx.js → form-1vgxrmdj.js} +34 -34
  24. package/dist/chunks/{filesystem-1x2knyw4.js → form-1x2knyw4.js} +1 -1
  25. package/dist/chunks/{filesystem-7xx3q0hc.js → form-1xfzm2bk.js} +9 -9
  26. package/dist/chunks/{filesystem-p7vhpwh8.js → form-1yq9hg58.js} +5 -5
  27. package/dist/chunks/{filesystem-204s3925.js → form-204s3925.js} +1 -1
  28. package/dist/chunks/{filesystem-8b3vzgkx.js → form-25h84942.js} +4 -4
  29. package/dist/chunks/{filesystem-27w5k9zf.js → form-27w5k9zf.js} +2 -2
  30. package/dist/chunks/{filesystem-684rr1fc.js → form-2m0d1k40.js} +5 -5
  31. package/dist/chunks/{filesystem-yjjyz0e3.js → form-2zp5a6yg.js} +3 -3
  32. package/dist/chunks/{filesystem-e9fqtmvn.js → form-362tp65q.js} +6 -6
  33. package/dist/chunks/{filesystem-zyc5d1d0.js → form-37zkny6h.js} +24 -24
  34. package/dist/chunks/{filesystem-zytxfbbq.js → form-3c96x8ty.js} +15 -15
  35. package/dist/chunks/{filesystem-3cbjf1nt.js → form-3cbjf1nt.js} +2 -2
  36. package/dist/chunks/{filesystem-9yk2b1f9.js → form-3ecf3tng.js} +7 -7
  37. package/dist/chunks/{filesystem-3hepkmqq.js → form-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{filesystem-3nnrz6f6.js → form-3nnrz6f6.js} +1 -1
  39. package/dist/chunks/{filesystem-gfv476g8.js → form-3vn6803g.js} +12 -12
  40. package/dist/chunks/{filesystem-vd8rwa0c.js → form-42s34a0z.js} +18 -18
  41. package/dist/chunks/{filesystem-e4zn5652.js → form-432wqttw.js} +3 -3
  42. package/dist/chunks/{filesystem-jydyt1jv.js → form-477xfj3c.js} +19 -19
  43. package/dist/chunks/{filesystem-y73qp9rw.js → form-4asfahx2.js} +23 -23
  44. package/dist/chunks/{filesystem-yh0hfha7.js → form-4cejxtdq.js} +21 -21
  45. package/dist/chunks/{filesystem-c951tkze.js → form-4ggvzfz0.js} +7 -7
  46. package/dist/chunks/{filesystem-b4a5nyx5.js → form-4hmxtsmg.js} +183 -183
  47. package/dist/chunks/{filesystem-amvexxv0.js → form-4j43s0xr.js} +48 -48
  48. package/dist/chunks/{filesystem-e8mz2xb5.js → form-4n77906h.js} +40 -40
  49. package/dist/chunks/{filesystem-4pyp9zr9.js → form-4pyp9zr9.js} +1 -1
  50. package/dist/chunks/{filesystem-k93vvdep.js → form-4th82h6j.js} +11 -11
  51. package/dist/chunks/{filesystem-4v008n1t.js → form-4v008n1t.js} +1 -1
  52. package/dist/chunks/{filesystem-9a0z0sm4.js → form-53rsp81d.js} +19 -19
  53. package/dist/chunks/{filesystem-qcgrm8q2.js → form-54qbttzm.js} +36 -36
  54. package/dist/chunks/{filesystem-2am13szv.js → form-56hw1ah1.js} +8 -8
  55. package/dist/chunks/{filesystem-5enarcya.js → form-5enarcya.js} +2 -2
  56. package/dist/chunks/{filesystem-s336ghke.js → form-5ew4vg0t.js} +8 -8
  57. package/dist/chunks/{filesystem-5m9w47nd.js → form-5m9w47nd.js} +1 -1
  58. package/dist/chunks/{filesystem-g2d7pwec.js → form-5xm8fbgh.js} +6 -6
  59. package/dist/chunks/{filesystem-ew8c46dw.js → form-6848bbxa.js} +11 -11
  60. package/dist/chunks/{filesystem-mkryjhx5.js → form-6d7rzhz6.js} +28 -28
  61. package/dist/chunks/{filesystem-fzbtpn6v.js → form-6dwjznsx.js} +4 -4
  62. package/dist/chunks/{filesystem-6esdw8yj.js → form-6esdw8yj.js} +1 -1
  63. package/dist/chunks/{filesystem-cx9pac8b.js → form-6kwb0ym8.js} +4 -4
  64. package/dist/chunks/{filesystem-zwftgptp.js → form-6m6e0fq6.js} +3 -3
  65. package/dist/chunks/{filesystem-qwzahezh.js → form-6wv6k331.js} +3 -3
  66. package/dist/chunks/{filesystem-v7t6jh72.js → form-749j9bem.js} +19 -19
  67. package/dist/chunks/{filesystem-53f1f277.js → form-780gjtmn.js} +8 -8
  68. package/dist/chunks/{filesystem-r66kyd6j.js → form-796fpssb.js} +24 -24
  69. package/dist/chunks/{filesystem-z2wtb6wa.js → form-7a96kwdb.js} +41 -41
  70. package/dist/chunks/{filesystem-7bmhse3q.js → form-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{filesystem-qh51c2hm.js → form-7c2qna5p.js} +14 -14
  72. package/dist/chunks/{filesystem-gq549b3b.js → form-7jncsexd.js} +4 -4
  73. package/dist/chunks/{filesystem-nshrevkn.js → form-7ktxa382.js} +9 -9
  74. package/dist/chunks/{filesystem-7w2ypzdf.js → form-7w2ypzdf.js} +1 -1
  75. package/dist/chunks/{filesystem-rrjvevf9.js → form-7wstq74c.js} +14 -14
  76. package/dist/chunks/{filesystem-9jzp3j8d.js → form-8cz13j6a.js} +27 -27
  77. package/dist/chunks/{filesystem-zryjy72y.js → form-8e5p19qn.js} +27 -27
  78. package/dist/chunks/{filesystem-4r140ydd.js → form-8hcvae60.js} +10 -10
  79. package/dist/chunks/{filesystem-8jztxfpf.js → form-8jztxfpf.js} +1 -1
  80. package/dist/chunks/{filesystem-ywhza86r.js → form-8m5e40h7.js} +15 -15
  81. package/dist/chunks/{filesystem-bd6gbyhv.js → form-8r9ywtx6.js} +8 -8
  82. package/dist/chunks/{filesystem-8wtp7s3z.js → form-8wtp7s3z.js} +1 -1
  83. package/dist/chunks/{filesystem-waj9pdqz.js → form-8x57f01e.js} +23 -23
  84. package/dist/chunks/{filesystem-8x6dz44a.js → form-8x6dz44a.js} +2 -2
  85. package/dist/chunks/{filesystem-rawze43q.js → form-8y0bcag5.js} +39 -39
  86. package/dist/chunks/{filesystem-rxg1n2es.js → form-8z6m94af.js} +4 -3
  87. package/dist/chunks/{filesystem-90zstvax.js → form-90zstvax.js} +1 -1
  88. package/dist/chunks/{filesystem-ht92kc8y.js → form-9c4f3png.js} +18 -18
  89. package/dist/chunks/{filesystem-9t393xpw.js → form-9q4bej68.js} +40 -40
  90. package/dist/chunks/{filesystem-yc4xwjk4.js → form-9r0x1bva.js} +9 -9
  91. package/dist/chunks/{filesystem-pjg812bt.js → form-9se3w9ew.js} +21 -21
  92. package/dist/chunks/{filesystem-40j8v2af.js → form-9spex28b.js} +329 -329
  93. package/dist/chunks/{filesystem-z2m3me10.js → form-9w8yvhv2.js} +17 -17
  94. package/dist/chunks/{filesystem-bt2f0stj.js → form-9x19j16c.js} +37 -37
  95. package/dist/chunks/{filesystem-bv0cpx15.js → form-9yj11fn9.js} +14 -14
  96. package/dist/chunks/{filesystem-tz83c6yk.js → form-a5y5z42n.js} +35 -35
  97. package/dist/chunks/{filesystem-n561m3b7.js → form-a73hjx22.js} +19 -19
  98. package/dist/chunks/{filesystem-pkayehgb.js → form-a7y0hmbq.js} +15 -15
  99. package/dist/chunks/{filesystem-vc2a1z4h.js → form-aakxnvea.js} +9 -9
  100. package/dist/chunks/{filesystem-cn3hegtz.js → form-acn20bfg.js} +9 -9
  101. package/dist/chunks/{filesystem-04kfhdy6.js → form-adepxgxt.js} +1 -1
  102. package/dist/chunks/form-aeq1g8b0.js +257 -0
  103. package/dist/chunks/{filesystem-j3gxxqsz.js → form-afhpfagb.js} +23 -23
  104. package/dist/chunks/{filesystem-aj7mw0zk.js → form-aj7mw0zk.js} +2 -2
  105. package/dist/chunks/{filesystem-5d1r9gpy.js → form-asvv9q89.js} +13 -13
  106. package/dist/chunks/{filesystem-630xfjjk.js → form-av5v11km.js} +3 -3
  107. package/dist/chunks/{filesystem-xfqm8zp4.js → form-b2mp8qdf.js} +23 -23
  108. package/dist/chunks/{filesystem-b6vsg801.js → form-b6vsg801.js} +2 -2
  109. package/dist/chunks/{filesystem-tge6e9e7.js → form-bb58r61a.js} +12 -12
  110. package/dist/chunks/{filesystem-2rhrbycz.js → form-bd3ag47v.js} +5 -5
  111. package/dist/chunks/{filesystem-h68jz125.js → form-bdked8mr.js} +43 -43
  112. package/dist/chunks/{filesystem-ffg810n4.js → form-bs9ntfbp.js} +21 -21
  113. package/dist/chunks/{filesystem-bstexjd6.js → form-bstexjd6.js} +1 -1
  114. package/dist/chunks/{filesystem-gr5tmgzz.js → form-bwcgh3pa.js} +7 -7
  115. package/dist/chunks/{filesystem-31s64znz.js → form-c0q18wbz.js} +15 -15
  116. package/dist/chunks/{filesystem-cpvd08na.js → form-c6x7d2ts.js} +4 -4
  117. package/dist/chunks/{filesystem-ghs82689.js → form-c7a65p05.js} +14 -14
  118. package/dist/chunks/{filesystem-62brbbaq.js → form-c7h4rvjw.js} +13 -13
  119. package/dist/chunks/{filesystem-43h1mxk5.js → form-c8t4rycs.js} +86 -86
  120. package/dist/chunks/{filesystem-x6rjmcaj.js → form-caez4nff.js} +17 -17
  121. package/dist/chunks/{filesystem-kg14195c.js → form-cdwpjm32.js} +8 -8
  122. package/dist/chunks/{filesystem-am4a9j2m.js → form-ch3dpehw.js} +3 -3
  123. package/dist/chunks/{filesystem-zqvff56k.js → form-cmr431hx.js} +15 -15
  124. package/dist/chunks/{filesystem-nrefv84q.js → form-cvgy9b2f.js} +48 -48
  125. package/dist/chunks/{filesystem-cwrgdav8.js → form-cwrgdav8.js} +2 -2
  126. package/dist/chunks/{filesystem-c9t2ty9q.js → form-d2887f8n.js} +4 -4
  127. package/dist/chunks/form-d77dj7jw.js +18 -0
  128. package/dist/chunks/{filesystem-8fgfvr5b.js → form-dnf86brd.js} +10 -10
  129. package/dist/chunks/{filesystem-dt77769w.js → form-dt77769w.js} +1 -1
  130. package/dist/chunks/{filesystem-mbca2wch.js → form-dx8q40th.js} +10 -10
  131. package/dist/chunks/{filesystem-2k2r9cp7.js → form-dyd2a8eg.js} +17 -17
  132. package/dist/chunks/{filesystem-snb901t2.js → form-e07q2w5p.js} +4 -4
  133. package/dist/chunks/{filesystem-36qx82yz.js → form-e2ne77ac.js} +4 -4
  134. package/dist/chunks/{filesystem-gyqryh5y.js → form-e2zffr00.js} +8 -8
  135. package/dist/chunks/{filesystem-h0ppebc3.js → form-e471twwt.js} +8 -8
  136. package/dist/chunks/{filesystem-pnr9n7z9.js → form-e5m5ahke.js} +16 -16
  137. package/dist/chunks/{filesystem-kkkxjsrn.js → form-e6k079pp.js} +12 -12
  138. package/dist/chunks/{filesystem-e834z07m.js → form-e834z07m.js} +1 -1
  139. package/dist/chunks/{filesystem-fghs85vj.js → form-em6z47bx.js} +16 -16
  140. package/dist/chunks/{filesystem-1e6my1g7.js → form-ey5xajk0.js} +13 -13
  141. package/dist/chunks/{filesystem-0p5w6zwq.js → form-f1s2vndp.js} +22 -22
  142. package/dist/chunks/{filesystem-f76bnh21.js → form-f8p7x3za.js} +34 -34
  143. package/dist/chunks/{filesystem-z8rc56ez.js → form-fddmw01z.js} +26 -26
  144. package/dist/chunks/{filesystem-8txy58cb.js → form-fdgtx545.js} +15 -15
  145. package/dist/chunks/{filesystem-fffv3p7h.js → form-fffv3p7h.js} +1 -1
  146. package/dist/chunks/{filesystem-fg9p65nk.js → form-fg9p65nk.js} +2 -2
  147. package/dist/chunks/{filesystem-3gytc1y7.js → form-fha4hq43.js} +45 -45
  148. package/dist/chunks/{filesystem-fznmdakp.js → form-fznmdakp.js} +1 -1
  149. package/dist/chunks/{filesystem-mv5c0h3x.js → form-g4y5gz37.js} +6 -6
  150. package/dist/chunks/{filesystem-vmfhgzt5.js → form-g7esga4v.js} +5 -5
  151. package/dist/chunks/{filesystem-c28jsxxt.js → form-ggwxx8z6.js} +26 -26
  152. package/dist/chunks/{filesystem-gn8tkhbf.js → form-gn8tkhbf.js} +2 -2
  153. package/dist/chunks/{filesystem-t5ntgcha.js → form-gp6fvya6.js} +28 -28
  154. package/dist/chunks/{filesystem-6s4bs33q.js → form-h4p3pyf8.js} +6 -6
  155. package/dist/chunks/{filesystem-enmtzxqx.js → form-h4rvxyzb.js} +13 -13
  156. package/dist/chunks/{filesystem-f7b4jqep.js → form-h50dg4rv.js} +22 -22
  157. package/dist/chunks/{filesystem-snc187et.js → form-h725q1tb.js} +18 -18
  158. package/dist/chunks/{filesystem-5khgwaht.js → form-h921yzda.js} +32 -32
  159. package/dist/chunks/{filesystem-8dfptpqb.js → form-hced1q2j.js} +4 -4
  160. package/dist/chunks/{filesystem-jv7sy112.js → form-hdh1880y.js} +20 -19
  161. package/dist/chunks/{filesystem-tfzwejs7.js → form-hep9bk35.js} +11 -11
  162. package/dist/chunks/{filesystem-ehrt3y5n.js → form-hjb7zt8b.js} +12 -12
  163. package/dist/chunks/{filesystem-hpg1pkwy.js → form-hpg1pkwy.js} +1 -1
  164. package/dist/chunks/{filesystem-4papv57p.js → form-hx5er68a.js} +30 -30
  165. package/dist/chunks/{filesystem-kbh9re52.js → form-j0cfz84q.js} +39 -39
  166. package/dist/chunks/{filesystem-c6zarp28.js → form-j2wws855.js} +5 -5
  167. package/dist/chunks/{filesystem-4m1azjz9.js → form-j7trztcj.js} +21 -21
  168. package/dist/chunks/{filesystem-ydjecrt5.js → form-jf0vywae.js} +6 -6
  169. package/dist/chunks/{filesystem-jfaecv01.js → form-jfaecv01.js} +1 -1
  170. package/dist/chunks/{filesystem-5erf8ecf.js → form-jqchfgzz.js} +20 -20
  171. package/dist/chunks/{filesystem-xm3a73ht.js → form-jr332ax1.js} +9 -9
  172. package/dist/chunks/{filesystem-jtnps1zs.js → form-jtnps1zs.js} +2 -2
  173. package/dist/chunks/{filesystem-rx9fgwcp.js → form-jv2xnyk0.js} +9 -9
  174. package/dist/chunks/{filesystem-3j4skgfc.js → form-jxhxxqgb.js} +9 -9
  175. package/dist/chunks/{filesystem-5w1mdqt7.js → form-jy2czfqv.js} +4 -4
  176. package/dist/chunks/{filesystem-vh2h6g1h.js → form-k0fqk4b8.js} +18 -18
  177. package/dist/chunks/{filesystem-tgpcajrp.js → form-k2btearr.js} +27 -27
  178. package/dist/chunks/{filesystem-k814nvkf.js → form-k814nvkf.js} +1 -1
  179. package/dist/chunks/{filesystem-vykrxgmq.js → form-kkbdeg4e.js} +4 -4
  180. package/dist/chunks/{filesystem-wav8c0w2.js → form-kmfe92z1.js} +25 -25
  181. package/dist/chunks/{filesystem-q09rr5xd.js → form-knkdmrq8.js} +25 -25
  182. package/dist/chunks/{filesystem-kt3bjfbg.js → form-kt3bjfbg.js} +1 -1
  183. package/dist/chunks/{filesystem-79dcp6vm.js → form-kv3vzdmy.js} +11 -11
  184. package/dist/chunks/{filesystem-wr75p8wj.js → form-kvvghrks.js} +20 -20
  185. package/dist/chunks/{filesystem-qvmjkfdq.js → form-kw7y9j0p.js} +11 -11
  186. package/dist/chunks/{filesystem-pdbtcapx.js → form-kwdd41eq.js} +23 -23
  187. package/dist/chunks/{filesystem-m1714858.js → form-m1714858.js} +1 -1
  188. package/dist/chunks/{filesystem-m9w0rfyh.js → form-m9w0rfyh.js} +1 -1
  189. package/dist/chunks/{filesystem-qm7hy0s1.js → form-mk9n97wy.js} +30 -30
  190. package/dist/chunks/{filesystem-smjmfamq.js → form-mktg3r47.js} +86 -86
  191. package/dist/chunks/{filesystem-v0t96s7a.js → form-mmx1mfjr.js} +4 -4
  192. package/dist/chunks/{filesystem-8x0pab5n.js → form-mspzpz50.js} +10 -10
  193. package/dist/chunks/{filesystem-57ye470h.js → form-n2fn6n16.js} +5 -5
  194. package/dist/chunks/{filesystem-dkqbcpdf.js → form-n72e3dxd.js} +5 -5
  195. package/dist/chunks/{filesystem-kavymhq0.js → form-n8wrw86q.js} +2 -2
  196. package/dist/chunks/{filesystem-nah043kf.js → form-nah043kf.js} +1 -1
  197. package/dist/chunks/{filesystem-vys2hz9a.js → form-nb176vr9.js} +2 -2
  198. package/dist/chunks/{filesystem-m337p9dc.js → form-nbm1wd8w.js} +9 -9
  199. package/dist/chunks/{filesystem-vsr0eqbt.js → form-np3f7rt0.js} +2 -2
  200. package/dist/chunks/{filesystem-js15026g.js → form-nzqym5fn.js} +13 -13
  201. package/dist/chunks/{filesystem-p015t6z3.js → form-p015t6z3.js} +2 -2
  202. package/dist/chunks/{filesystem-yr0nyka5.js → form-p0m7jsqr.js} +7 -7
  203. package/dist/chunks/{filesystem-9bnd18qk.js → form-p570ajbq.js} +17 -17
  204. package/dist/chunks/{filesystem-79vckntf.js → form-p5e49205.js} +38 -38
  205. package/dist/chunks/{filesystem-yvpg4w4a.js → form-p965jgwx.js} +29 -29
  206. package/dist/chunks/{filesystem-daeazrnz.js → form-pbcq83b8.js} +12 -12
  207. package/dist/chunks/{filesystem-0j7sp27n.js → form-pe0xbfng.js} +5 -5
  208. package/dist/chunks/{filesystem-pknna89w.js → form-pknna89w.js} +1 -1
  209. package/dist/chunks/{filesystem-tvp0dzzs.js → form-pxdh3f58.js} +2 -2
  210. package/dist/chunks/{filesystem-pxtfkpje.js → form-pxtfkpje.js} +2 -2
  211. package/dist/chunks/{filesystem-crx66x63.js → form-py7k5n7n.js} +26 -26
  212. package/dist/chunks/{filesystem-g8ffzbm5.js → form-pz1n0gq8.js} +3 -3
  213. package/dist/chunks/{filesystem-p5j5bg0f.js → form-qgfkghh1.js} +1 -0
  214. package/dist/chunks/{filesystem-nsve5tx4.js → form-qh4ws9d6.js} +8 -8
  215. package/dist/chunks/{filesystem-k4a4wn9h.js → form-qnz6w04z.js} +9 -9
  216. package/dist/chunks/{filesystem-qp7r0hxv.js → form-qp7r0hxv.js} +1 -1
  217. package/dist/chunks/{filesystem-qqvy8y24.js → form-qqvy8y24.js} +1 -1
  218. package/dist/chunks/{filesystem-q9n7yxac.js → form-r0b5cv65.js} +16 -16
  219. package/dist/chunks/{filesystem-r0yr0wbs.js → form-r0yr0wbs.js} +1 -1
  220. package/dist/chunks/{filesystem-x85yhxtw.js → form-r1n5a4qe.js} +22 -22
  221. package/dist/chunks/{filesystem-7g2g3969.js → form-r21czkj7.js} +21 -21
  222. package/dist/chunks/{filesystem-r542h3bh.js → form-r542h3bh.js} +1 -1
  223. package/dist/chunks/{filesystem-8k393grp.js → form-rafkt0z2.js} +9 -9
  224. package/dist/chunks/{filesystem-rb9dy4dg.js → form-rb9dy4dg.js} +1 -1
  225. package/dist/chunks/{filesystem-195h2ce0.js → form-rkbnve9v.js} +36 -36
  226. package/dist/chunks/{filesystem-90kfhhe6.js → form-rr09v45e.js} +32 -32
  227. package/dist/chunks/{filesystem-mw6cyxws.js → form-rsdjsbxj.js} +33 -33
  228. package/dist/chunks/{filesystem-rt5dr6hb.js → form-rt5dr6hb.js} +1 -1
  229. package/dist/chunks/{filesystem-1gyrxqmm.js → form-rx6qpc9d.js} +5 -5
  230. package/dist/chunks/{filesystem-zcrmr4y4.js → form-ryfpe5sz.js} +47 -47
  231. package/dist/chunks/{filesystem-8sv07mwj.js → form-rzrq5kss.js} +11 -11
  232. package/dist/chunks/{filesystem-vpe8h0t6.js → form-s1efnn68.js} +56 -56
  233. package/dist/chunks/{filesystem-9exsw83t.js → form-s3gj3rj3.js} +8 -8
  234. package/dist/chunks/{filesystem-s7gmm2q3.js → form-s7gmm2q3.js} +3 -3
  235. package/dist/chunks/{filesystem-sa3fpqfw.js → form-sa3fpqfw.js} +2 -2
  236. package/dist/chunks/{filesystem-195qsevx.js → form-spfg18b2.js} +78 -78
  237. package/dist/chunks/{filesystem-bsrm4kv0.js → form-sq4s6wq1.js} +6 -6
  238. package/dist/chunks/{filesystem-0j7gp832.js → form-sqjzf8x2.js} +4 -4
  239. package/dist/chunks/{filesystem-svcy3p9a.js → form-svcy3p9a.js} +1 -1
  240. package/dist/chunks/{filesystem-bafv7pw0.js → form-t16hmx8j.js} +4 -4
  241. package/dist/chunks/{filesystem-hk9d81vf.js → form-t6cg7awe.js} +21 -21
  242. package/dist/chunks/{filesystem-1fyseb9g.js → form-tcrj48nm.js} +30 -30
  243. package/dist/chunks/{filesystem-tczq8hjw.js → form-tczq8hjw.js} +1 -1
  244. package/dist/chunks/{filesystem-ykvsfm8k.js → form-tg1vr1qt.js} +8 -8
  245. package/dist/chunks/{filesystem-gerrpf33.js → form-tptvq6v6.js} +4 -4
  246. package/dist/chunks/{filesystem-7m14jn42.js → form-tr0vf8pp.js} +12 -12
  247. package/dist/chunks/{filesystem-hb2vdfk5.js → form-ts85mjsk.js} +10 -10
  248. package/dist/chunks/{filesystem-k004b52r.js → form-tt1vkc1g.js} +20 -20
  249. package/dist/chunks/{filesystem-bpqrf6t1.js → form-tv1hegq9.js} +12 -12
  250. package/dist/chunks/{filesystem-twssxy5n.js → form-twssxy5n.js} +2 -2
  251. package/dist/chunks/{filesystem-bt9jv65t.js → form-ty3g7dye.js} +26 -26
  252. package/dist/chunks/{filesystem-mjyzbzxc.js → form-tzhe5vps.js} +5 -5
  253. package/dist/chunks/{filesystem-v2r1d0zg.js → form-v2r1d0zg.js} +1 -1
  254. package/dist/chunks/{filesystem-h5137fsx.js → form-v8gahvqg.js} +5 -5
  255. package/dist/chunks/{filesystem-5f4zfvgc.js → form-va23bk0p.js} +4 -4
  256. package/dist/chunks/{filesystem-26x8chrq.js → form-vaq1yek0.js} +6 -6
  257. package/dist/chunks/{filesystem-98tqkwke.js → form-vbggds6s.js} +11 -11
  258. package/dist/chunks/{filesystem-m8pt14ww.js → form-vr11s0jh.js} +6 -6
  259. package/dist/chunks/{filesystem-nazdnmrt.js → form-vr5v59hp.js} +15 -15
  260. package/dist/chunks/{filesystem-zb5gs1ba.js → form-vx3jgdek.js} +2 -2
  261. package/dist/chunks/{filesystem-0w2jttgf.js → form-w0sctsdt.js} +3 -2
  262. package/dist/chunks/{filesystem-w3wsvvr9.js → form-w3wsvvr9.js} +1 -1
  263. package/dist/chunks/{filesystem-xkkam4tz.js → form-w7bcyz89.js} +11 -11
  264. package/dist/chunks/{filesystem-76cb1hcw.js → form-w8qtt4th.js} +4 -4
  265. package/dist/chunks/{filesystem-wz5tj16h.js → form-w8xr7nv8.js} +5 -5
  266. package/dist/chunks/{filesystem-wakvkjy4.js → form-wakvkjy4.js} +1 -1
  267. package/dist/chunks/{filesystem-wd87259q.js → form-wd87259q.js} +1 -1
  268. package/dist/chunks/{filesystem-3n9wrer5.js → form-wjs5qw55.js} +19 -19
  269. package/dist/chunks/{filesystem-wnhgecwx.js → form-wnhgecwx.js} +1 -1
  270. package/dist/chunks/{filesystem-167dk08f.js → form-wpnjmb41.js} +35 -35
  271. package/dist/chunks/{filesystem-bm0v3ha5.js → form-wvr8z8p1.js} +28 -28
  272. package/dist/chunks/{filesystem-g14zw2sb.js → form-wzhs16ph.js} +44 -44
  273. package/dist/chunks/{filesystem-9azm90ns.js → form-x07e5g67.js} +20 -20
  274. package/dist/chunks/{filesystem-204nxwvy.js → form-x46kzptm.js} +47 -47
  275. package/dist/chunks/{filesystem-1q8aebw4.js → form-xeygv81t.js} +5 -5
  276. package/dist/chunks/{filesystem-11khfpwy.js → form-xg4acpkm.js} +10 -10
  277. package/dist/chunks/{filesystem-gcbtwra8.js → form-xhfzgzgf.js} +8 -8
  278. package/dist/chunks/{filesystem-3xfh9pkc.js → form-xp63w1t0.js} +16 -16
  279. package/dist/chunks/{filesystem-xt0z8zst.js → form-xt0z8zst.js} +1 -1
  280. package/dist/chunks/{filesystem-3gse1gra.js → form-xyj2z7t9.js} +13 -13
  281. package/dist/chunks/{filesystem-xk2zn0cv.js → form-xymnhqkr.js} +4 -4
  282. package/dist/chunks/{filesystem-4xgq8f2s.js → form-y28d2ctz.js} +11 -11
  283. package/dist/chunks/{filesystem-jzcwvdq8.js → form-y2gpst6y.js} +13 -13
  284. package/dist/chunks/{filesystem-qy5vca9h.js → form-y2wa3a8s.js} +5 -5
  285. package/dist/chunks/{filesystem-jz8jyxed.js → form-y7t1ke69.js} +34 -34
  286. package/dist/chunks/{filesystem-yyx7mbnb.js → form-y7w06ryq.js} +17 -17
  287. package/dist/chunks/{filesystem-yb20nhc3.js → form-yb20nhc3.js} +1 -1
  288. package/dist/chunks/{filesystem-0ef2mh1p.js → form-yb37bm60.js} +11 -11
  289. package/dist/chunks/{filesystem-ym1e38ts.js → form-ybdj6tkq.js} +4 -4
  290. package/dist/chunks/{filesystem-twh1nspr.js → form-yfcr1se9.js} +9 -9
  291. package/dist/chunks/{filesystem-aktfspq0.js → form-yfj8kv93.js} +11 -11
  292. package/dist/chunks/{filesystem-7gf675tv.js → form-yjkwyrer.js} +32 -32
  293. package/dist/chunks/{filesystem-srb5905y.js → form-yk574f7x.js} +17 -17
  294. package/dist/chunks/{filesystem-gfwwbhdd.js → form-z1yb6k18.js} +22 -22
  295. package/dist/chunks/{filesystem-z38nccrw.js → form-z38nccrw.js} +1 -1
  296. package/dist/chunks/{filesystem-ny1sy5a3.js → form-ze5pwfxf.js} +1 -1
  297. package/dist/chunks/{filesystem-r4j0x99n.js → form-zgd8t41s.js} +9 -9
  298. package/dist/chunks/{filesystem-5k0ygmt7.js → form-zht7fzxj.js} +30 -30
  299. package/dist/chunks/{filesystem-zk53j53a.js → form-zk53j53a.js} +2 -2
  300. package/dist/chunks/{filesystem-19gd0q7m.js → form-zm2ek9rr.js} +14 -14
  301. package/dist/chunks/{filesystem-hd3k4wz8.js → form-ztf6n3de.js} +4 -4
  302. package/dist/codemode/catalog.js +1 -1
  303. package/dist/codemode/instructions.js +7 -7
  304. package/dist/codemode/tool.js +3 -3
  305. package/dist/codemode/web.js +1 -1
  306. package/dist/command.js +92 -91
  307. package/dist/config/discovery.js +95 -94
  308. package/dist/config/integration.js +3 -3
  309. package/dist/config/markdown.js +1 -1
  310. package/dist/config/normalize.js +110 -109
  311. package/dist/config/plugin/agent.js +124 -123
  312. package/dist/config/plugin/command.js +222 -221
  313. package/dist/config/plugin/compaction.js +165 -164
  314. package/dist/config/plugin/compatibility.js +145 -144
  315. package/dist/config/plugin/entry-observer.js +1 -1
  316. package/dist/config/plugin/formatter.js +125 -124
  317. package/dist/config/plugin/image.js +124 -123
  318. package/dist/config/plugin/instruction.js +124 -123
  319. package/dist/config/plugin/location-watcher.js +126 -125
  320. package/dist/config/plugin/mcp.js +131 -130
  321. package/dist/config/plugin/policy.js +126 -125
  322. package/dist/config/plugin/provider.js +125 -124
  323. package/dist/config/plugin/reference.js +126 -125
  324. package/dist/config/plugin/shell.js +124 -123
  325. package/dist/config/plugin/skill-file.js +141 -140
  326. package/dist/config/plugin/skill-scan.js +1 -1
  327. package/dist/config/plugin/skill.js +146 -145
  328. package/dist/config/plugin/snapshot.js +124 -123
  329. package/dist/config/plugin/source.js +125 -124
  330. package/dist/config/plugin/tool-output.js +125 -124
  331. package/dist/config/plugin/websearch.js +123 -122
  332. package/dist/config/plugin/worktree.js +126 -125
  333. package/dist/config/variable.js +1 -1
  334. package/dist/config/watch.js +1 -1
  335. package/dist/config.js +125 -124
  336. package/dist/console-access.js +1 -1
  337. package/dist/credential/sql.js +2 -2
  338. package/dist/credential.js +92 -91
  339. package/dist/database/database.js +75 -74
  340. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  341. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  342. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  343. package/dist/database/drizzle/index.js +13 -13
  344. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  345. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  346. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  347. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  348. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  349. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  350. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  351. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  352. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  353. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  354. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  355. package/dist/database/drizzle.js +14 -14
  356. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  357. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  358. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  359. package/dist/database/migration/20260225215848_workspace.js +1 -1
  360. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  361. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  362. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  363. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  364. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  365. package/dist/database/migration/20260323234822_events.js +1 -1
  366. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  367. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  368. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  369. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  370. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  371. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  372. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  373. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  374. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  375. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  376. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  377. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  378. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  379. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  380. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  381. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  382. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  383. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  384. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  385. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  386. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  387. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  388. package/dist/database/migration/20260611035744_credential.js +1 -1
  389. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  390. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  391. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  392. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  393. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  394. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  395. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  396. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  397. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  398. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  399. package/dist/database/migration/20260812213948_worktree.js +1 -1
  400. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  401. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  402. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  403. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  404. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  405. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  406. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  407. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  408. package/dist/database/migration/20261025123711_blob.js +1 -1
  409. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  410. package/dist/database/migration/20261026223005_schedule.js +1 -1
  411. package/dist/database/migration/20261029002625_session_part.js +1 -1
  412. package/dist/database/migration/20261029073502_session_time_busy.js +6 -0
  413. package/dist/database/migration.gen.js +58 -57
  414. package/dist/database/migration.js +60 -59
  415. package/dist/database/path.js +2 -2
  416. package/dist/database/schema.gen.js +1 -1
  417. package/dist/database/schema.sql.js +1 -1
  418. package/dist/database/sqlite.bun.js +1 -1
  419. package/dist/database/sqlite.js +1 -1
  420. package/dist/database/sqlite.node.js +1 -1
  421. package/dist/database/sqlite.workerd.js +1 -1
  422. package/dist/database/v1-migration.bun.js +103 -102
  423. package/dist/database/v1-migration.js +1 -1
  424. package/dist/effect/app-node-builder.js +388 -387
  425. package/dist/effect/app-node-platform.js +2 -2
  426. package/dist/effect/keyed-mutex.js +1 -1
  427. package/dist/effect/websocket-constructor.js +1 -1
  428. package/dist/environment/driver.js +1 -1
  429. package/dist/environment/environment.js +104 -103
  430. package/dist/environment/exec-defaults.js +2 -2
  431. package/dist/environment/files.js +1 -1
  432. package/dist/environment/index.js +106 -105
  433. package/dist/environment/local.js +2 -2
  434. package/dist/environment/memory.js +2 -2
  435. package/dist/environment/unavailable.js +1 -1
  436. package/dist/event/sql.js +1 -1
  437. package/dist/event-logger.js +79 -78
  438. package/dist/file-access.js +151 -150
  439. package/dist/file-mutation.js +105 -104
  440. package/dist/file-retention.js +1 -1
  441. package/dist/filesystem/fff.bun.js +2 -2
  442. package/dist/filesystem/fff.js +1 -1
  443. package/dist/filesystem/fff.node.js +2 -2
  444. package/dist/filesystem/fff.workerd.js +2 -2
  445. package/dist/filesystem/file-watch.js +86 -85
  446. package/dist/filesystem/location-watcher-policy.js +6 -6
  447. package/dist/filesystem/location-watcher.js +237 -236
  448. package/dist/filesystem/protected.js +3 -3
  449. package/dist/filesystem/search.js +110 -109
  450. package/dist/filesystem/watcher-binding.js +1 -1
  451. package/dist/filesystem/watcher.js +7 -7
  452. package/dist/filesystem.js +113 -112
  453. package/dist/form.js +91 -90
  454. package/dist/formatter/builtins.js +4 -4
  455. package/dist/formatter.js +96 -95
  456. package/dist/generate.js +120 -119
  457. package/dist/git.js +11 -11
  458. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  459. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  460. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  461. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  462. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  463. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  464. package/dist/github-copilot/copilot-provider.js +17 -17
  465. package/dist/github-copilot/models.js +110 -109
  466. package/dist/github-copilot/openai-compatible-error.js +1 -1
  467. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  468. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  469. package/dist/github-copilot/responses/openai-error.js +1 -1
  470. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  471. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  472. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  473. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  474. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  475. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  476. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  477. package/dist/image/notice.js +3 -3
  478. package/dist/image/photon-normalize.js +1 -1
  479. package/dist/image/photon-worker.js +1 -1
  480. package/dist/image/photon.js +4 -4
  481. package/dist/image.js +6 -6
  482. package/dist/instance/service.js +5 -5
  483. package/dist/instance.js +379 -378
  484. package/dist/instruction-discovery.js +91 -90
  485. package/dist/instructions/builtins.js +98 -97
  486. package/dist/instructions/index.js +1 -1
  487. package/dist/integration/connection.js +3 -3
  488. package/dist/integration.js +98 -97
  489. package/dist/job.js +85 -84
  490. package/dist/kv/sql.js +2 -2
  491. package/dist/kv.js +82 -81
  492. package/dist/location-activity.js +164 -163
  493. package/dist/location-lifecycle.js +145 -144
  494. package/dist/location-service-map.js +97 -96
  495. package/dist/location-services.js +376 -375
  496. package/dist/location.js +100 -99
  497. package/dist/managed-policy.js +3 -3
  498. package/dist/mcp/client.js +102 -101
  499. package/dist/mcp/index.js +116 -115
  500. package/dist/mcp/instructions.js +169 -168
  501. package/dist/mcp/oauth.js +87 -86
  502. package/dist/mcp/socket-client.js +1 -1
  503. package/dist/mcp/stdio.js +101 -100
  504. package/dist/mime.js +1 -1
  505. package/dist/modal/models.js +110 -109
  506. package/dist/model-resolver.js +110 -109
  507. package/dist/model-retry.js +1 -1
  508. package/dist/model.js +111 -110
  509. package/dist/models-dev/v1.js +1 -1
  510. package/dist/models-dev.js +119 -118
  511. package/dist/oauth/page.js +1 -1
  512. package/dist/permission/saved.js +89 -88
  513. package/dist/permission/sql.js +5 -5
  514. package/dist/permission.js +146 -145
  515. package/dist/persistent-pty/binary.bun.js +1 -1
  516. package/dist/persistent-pty/daemon.js +1 -1
  517. package/dist/persistent-pty/index.js +99 -98
  518. package/dist/persistent-pty/pty-binding.js +1 -1
  519. package/dist/persistent-pty.js +84 -83
  520. package/dist/plugin/agent.js +83 -82
  521. package/dist/plugin/command.js +109 -108
  522. package/dist/plugin/goal.js +3 -3
  523. package/dist/plugin/hooks.js +5 -5
  524. package/dist/plugin/host.js +228 -227
  525. package/dist/plugin/identity.js +5 -5
  526. package/dist/plugin/instance.js +5 -5
  527. package/dist/plugin/internal.js +349 -348
  528. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  529. package/dist/plugin/models-dev.js +108 -107
  530. package/dist/plugin/module.js +126 -125
  531. package/dist/plugin/optimize.js +2 -2
  532. package/dist/plugin/plan.js +141 -140
  533. package/dist/plugin/promise.js +1 -1
  534. package/dist/plugin/provider/amazon-bedrock.js +102 -101
  535. package/dist/plugin/provider/azure.js +124 -123
  536. package/dist/plugin/provider/cerebras.js +1 -1
  537. package/dist/plugin/provider/chatgpt.js +124 -123
  538. package/dist/plugin/provider/cloudflare-ai-gateway.js +122 -121
  539. package/dist/plugin/provider/cloudflare-workers-ai.js +122 -121
  540. package/dist/plugin/provider/configured.js +120 -119
  541. package/dist/plugin/provider/credential-settings.js +83 -82
  542. package/dist/plugin/provider/databricks.js +1 -1
  543. package/dist/plugin/provider/digitalocean.js +104 -103
  544. package/dist/plugin/provider/dynamic.js +2 -2
  545. package/dist/plugin/provider/github-copilot.js +106 -105
  546. package/dist/plugin/provider/gitlab.js +105 -104
  547. package/dist/plugin/provider/google-vertex.js +121 -120
  548. package/dist/plugin/provider/kilo.js +1 -1
  549. package/dist/plugin/provider/llmgateway.js +87 -86
  550. package/dist/plugin/provider/lmstudio.js +131 -130
  551. package/dist/plugin/provider/local.js +130 -129
  552. package/dist/plugin/provider/modal.js +103 -102
  553. package/dist/plugin/provider/neon.js +1 -1
  554. package/dist/plugin/provider/nvidia.js +1 -1
  555. package/dist/plugin/provider/ollama.js +133 -132
  556. package/dist/plugin/provider/openai-context-caps.js +101 -100
  557. package/dist/plugin/provider/openai.js +124 -123
  558. package/dist/plugin/provider/opencode.js +127 -126
  559. package/dist/plugin/provider/openrouter.js +102 -101
  560. package/dist/plugin/provider/poe.js +88 -87
  561. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  562. package/dist/plugin/provider/sap-ai-core.js +102 -101
  563. package/dist/plugin/provider/sdk-factory.js +1 -1
  564. package/dist/plugin/provider/snowflake-cortex.js +123 -122
  565. package/dist/plugin/provider/vllm.js +131 -130
  566. package/dist/plugin/provider/xai.js +102 -101
  567. package/dist/plugin/provider/zenmux.js +1 -1
  568. package/dist/plugin/provider.js +175 -174
  569. package/dist/plugin/sdk.js +83 -82
  570. package/dist/plugin/service.js +3 -3
  571. package/dist/plugin/skill.js +142 -141
  572. package/dist/plugin/source-directory.js +1 -1
  573. package/dist/plugin/supervisor.js +365 -364
  574. package/dist/plugin/tool-input-repair.js +4 -4
  575. package/dist/plugin/update.js +6 -6
  576. package/dist/plugin/vcs/git.js +95 -94
  577. package/dist/plugin/vcs/hg.js +97 -96
  578. package/dist/plugin/verbosity.js +104 -103
  579. package/dist/plugin/warming.js +122 -121
  580. package/dist/plugin/websearch/exa.js +3 -3
  581. package/dist/plugin/websearch/firecrawl.js +8 -8
  582. package/dist/plugin/websearch/index.js +9 -9
  583. package/dist/plugin/websearch/mcp.js +2 -2
  584. package/dist/plugin/websearch/parallel.js +4 -4
  585. package/dist/plugin/websearch/tavily.js +2 -2
  586. package/dist/plugin/websearch/tinyfish.js +8 -8
  587. package/dist/plugin.js +239 -238
  588. package/dist/project/icon.js +5 -5
  589. package/dist/project/schema.js +8 -8
  590. package/dist/project/sql.js +4 -4
  591. package/dist/project.js +101 -100
  592. package/dist/provider.js +110 -109
  593. package/dist/pty/protocol.js +1 -1
  594. package/dist/pty/ticket.js +1 -1
  595. package/dist/pty.js +109 -108
  596. package/dist/reference/instructions.js +97 -96
  597. package/dist/reference.js +99 -98
  598. package/dist/repository-cache.js +91 -90
  599. package/dist/repository.js +1 -1
  600. package/dist/ripgrep/binary.js +2 -2
  601. package/dist/ripgrep.js +106 -105
  602. package/dist/rpc.js +97 -96
  603. package/dist/schedule/sql.js +6 -6
  604. package/dist/schedule.js +232 -231
  605. package/dist/schema.js +1 -1
  606. package/dist/session/affinity.js +1 -1
  607. package/dist/session/background.js +1 -1
  608. package/dist/session/blob.js +123 -122
  609. package/dist/session/command.js +83 -82
  610. package/dist/session/compaction.js +167 -166
  611. package/dist/session/context.js +191 -190
  612. package/dist/session/diff.js +99 -98
  613. package/dist/session/environment.js +5 -5
  614. package/dist/session/error.js +5 -5
  615. package/dist/session/event.js +1 -1
  616. package/dist/session/execution/restart.js +234 -233
  617. package/dist/session/execution.js +157 -156
  618. package/dist/session/generate.js +193 -192
  619. package/dist/session/history.js +130 -129
  620. package/dist/session/inbox.js +141 -140
  621. package/dist/session/info.js +3 -3
  622. package/dist/session/instruction-entry.js +88 -87
  623. package/dist/session/instruction-state.js +8 -8
  624. package/dist/session/instructions.js +135 -134
  625. package/dist/session/message-updater.js +2 -2
  626. package/dist/session/message.js +1 -1
  627. package/dist/session/model-request.js +156 -155
  628. package/dist/session/model-transport.js +7 -7
  629. package/dist/session/move.js +159 -158
  630. package/dist/session/projector.js +137 -136
  631. package/dist/session/prompt.js +143 -142
  632. package/dist/session/recent-text.js +1 -1
  633. package/dist/session/revert.js +133 -132
  634. package/dist/session/run-coordinator.js +3 -3
  635. package/dist/session/runner/index.js +3 -3
  636. package/dist/session/runner/llm.js +242 -241
  637. package/dist/session/runner/max-steps.js +1 -1
  638. package/dist/session/runner/model.js +111 -110
  639. package/dist/session/runner/publish-llm-event.js +144 -143
  640. package/dist/session/runner/retry.js +5 -5
  641. package/dist/session/runner/step.js +157 -156
  642. package/dist/session/runner/to-llm-message.js +131 -130
  643. package/dist/session/schema.js +3 -3
  644. package/dist/session/session.js +175 -174
  645. package/dist/session/shell.js +138 -137
  646. package/dist/session/skill.js +142 -141
  647. package/dist/session/sql.js +5 -5
  648. package/dist/session/stats.js +82 -81
  649. package/dist/session/store.js +136 -135
  650. package/dist/session/stored.js +2 -2
  651. package/dist/session/subagent-completion.js +3 -3
  652. package/dist/session/subagent-job.js +222 -221
  653. package/dist/session/system-prompt.js +3 -3
  654. package/dist/session/title.js +195 -194
  655. package/dist/session/to-session-error.js +143 -142
  656. package/dist/session/transfer.js +229 -227
  657. package/dist/session/usage.js +1 -1
  658. package/dist/session.js +224 -223
  659. package/dist/shell/parse.js +6 -6
  660. package/dist/shell/result.js +1 -1
  661. package/dist/shell/scan.js +1 -1
  662. package/dist/shell/select.js +13 -13
  663. package/dist/shell.js +140 -139
  664. package/dist/skill/discovery.js +6 -6
  665. package/dist/skill/instructions.js +144 -143
  666. package/dist/skill.js +149 -148
  667. package/dist/snapshot.js +100 -99
  668. package/dist/state.js +1 -1
  669. package/dist/tool/html-markdown.js +1 -1
  670. package/dist/tool/http-body.js +1 -1
  671. package/dist/tool/mcp.js +170 -169
  672. package/dist/tool/plugin/edit.js +155 -154
  673. package/dist/tool/plugin/file-diff.js +1 -1
  674. package/dist/tool/plugin/glob.js +161 -160
  675. package/dist/tool/plugin/grep.js +163 -162
  676. package/dist/tool/plugin/image-generate.js +232 -231
  677. package/dist/tool/plugin/mcp-resource.js +157 -156
  678. package/dist/tool/plugin/opencode.js +156 -155
  679. package/dist/tool/plugin/patch.js +161 -160
  680. package/dist/tool/plugin/question.js +143 -142
  681. package/dist/tool/plugin/read.js +164 -163
  682. package/dist/tool/plugin/schedule.js +222 -221
  683. package/dist/tool/plugin/shell.js +225 -224
  684. package/dist/tool/plugin/skill.js +150 -149
  685. package/dist/tool/plugin/subagent.js +227 -226
  686. package/dist/tool/plugin/todo.js +148 -147
  687. package/dist/tool/plugin/webfetch.js +150 -149
  688. package/dist/tool/plugin/websearch.js +148 -147
  689. package/dist/tool/plugin/write.js +161 -160
  690. package/dist/tool/read-filesystem.js +111 -110
  691. package/dist/tool/runtime.js +1 -1
  692. package/dist/tool-output.js +7 -7
  693. package/dist/tool.js +12 -12
  694. package/dist/types/database/migration/20261029073502_session_time_busy.d.ts +3 -0
  695. package/dist/types/session/schema.d.ts +1 -0
  696. package/dist/types/session/sql.d.ts +16 -0
  697. package/dist/types/session/transfer.d.ts +1 -0
  698. package/dist/usage-limits.js +96 -95
  699. package/dist/util/error-summary.js +1 -1
  700. package/dist/util/git-executable.js +3 -3
  701. package/dist/util/lazy.js +1 -1
  702. package/dist/util/slug.js +1 -1
  703. package/dist/util/token.js +1 -1
  704. package/dist/util/which.js +1 -1
  705. package/dist/util/wildcard.js +1 -1
  706. package/dist/v1/config/agent.js +5 -5
  707. package/dist/v1/config/command.js +3 -3
  708. package/dist/v1/config/mcp.js +4 -4
  709. package/dist/v1/config/migrate.js +103 -102
  710. package/dist/v1/config/permission.js +3 -3
  711. package/dist/v1/config/plugin.js +3 -3
  712. package/dist/v1/config/provider-options.js +1 -1
  713. package/dist/v1/config/provider.js +2 -2
  714. package/dist/variant.js +104 -103
  715. package/dist/vcs/patch.js +1 -1
  716. package/dist/vcs.js +100 -99
  717. package/dist/voice.js +99 -98
  718. package/dist/websearch.js +93 -92
  719. package/dist/wellknown/plugin.js +85 -84
  720. package/dist/wellknown.js +90 -89
  721. package/dist/workspace/driver.js +5 -5
  722. package/dist/workspace/sql.js +1 -1
  723. package/dist/workspace.js +91 -90
  724. package/dist/worktree/directory.js +2 -2
  725. package/dist/worktree/git.js +11 -11
  726. package/dist/worktree/sql.js +5 -5
  727. package/dist/worktree/strategies.js +100 -99
  728. package/dist/worktree.js +107 -106
  729. package/package.json +8 -8
  730. package/dist/chunks/filesystem-2dkjcnxp.js +0 -18
  731. package/dist/chunks/filesystem-dwbakpgx.js +0 -257
  732. /package/dist/chunks/{filesystem-0qkdqm5v.js → form-0qkdqm5v.js} +0 -0
  733. /package/dist/chunks/{filesystem-0zkw76rk.js → form-0zkw76rk.js} +0 -0
  734. /package/dist/chunks/{filesystem-17cy0kzp.js → form-17cy0kzp.js} +0 -0
  735. /package/dist/chunks/{filesystem-1cnp2v09.js → form-1cnp2v09.js} +0 -0
  736. /package/dist/chunks/{filesystem-1jakw16s.js → form-1jakw16s.js} +0 -0
  737. /package/dist/chunks/{filesystem-24dcb14g.js → form-24dcb14g.js} +0 -0
  738. /package/dist/chunks/{filesystem-2710q6r3.js → form-2710q6r3.js} +0 -0
  739. /package/dist/chunks/{filesystem-2bv980vf.js → form-2bv980vf.js} +0 -0
  740. /package/dist/chunks/{filesystem-2c3vjs8z.js → form-2c3vjs8z.js} +0 -0
  741. /package/dist/chunks/{filesystem-359p4xyc.js → form-359p4xyc.js} +0 -0
  742. /package/dist/chunks/{filesystem-3asan66x.js → form-3asan66x.js} +0 -0
  743. /package/dist/chunks/{filesystem-3v8g72cx.js → form-3v8g72cx.js} +0 -0
  744. /package/dist/chunks/{filesystem-3wcehsnq.js → form-3wcehsnq.js} +0 -0
  745. /package/dist/chunks/{filesystem-43n2bw4t.js → form-43n2bw4t.js} +0 -0
  746. /package/dist/chunks/{filesystem-4knz6hnm.js → form-4knz6hnm.js} +0 -0
  747. /package/dist/chunks/{filesystem-4vcrnpx2.js → form-4vcrnpx2.js} +0 -0
  748. /package/dist/chunks/{filesystem-4y7fprxs.js → form-4y7fprxs.js} +0 -0
  749. /package/dist/chunks/{filesystem-53557ph1.js → form-53557ph1.js} +0 -0
  750. /package/dist/chunks/{filesystem-550bvhaj.js → form-550bvhaj.js} +0 -0
  751. /package/dist/chunks/{filesystem-5w3e23ze.js → form-5w3e23ze.js} +0 -0
  752. /package/dist/chunks/{filesystem-6prwharc.js → form-6prwharc.js} +0 -0
  753. /package/dist/chunks/{filesystem-6q2bdcd1.js → form-6q2bdcd1.js} +0 -0
  754. /package/dist/chunks/{filesystem-7akdwqpd.js → form-7akdwqpd.js} +0 -0
  755. /package/dist/chunks/{filesystem-7m9af43g.js → form-7m9af43g.js} +0 -0
  756. /package/dist/chunks/{filesystem-822emrt2.js → form-822emrt2.js} +0 -0
  757. /package/dist/chunks/{filesystem-84wd9syh.js → form-84wd9syh.js} +0 -0
  758. /package/dist/chunks/{filesystem-88xbtdfr.js → form-88xbtdfr.js} +0 -0
  759. /package/dist/chunks/{filesystem-8n3pysct.js → form-8n3pysct.js} +0 -0
  760. /package/dist/chunks/{filesystem-8wj87zfr.js → form-8wj87zfr.js} +0 -0
  761. /package/dist/chunks/{filesystem-9a4afbnw.js → form-9a4afbnw.js} +0 -0
  762. /package/dist/chunks/{filesystem-9rqn6x4v.js → form-9rqn6x4v.js} +0 -0
  763. /package/dist/chunks/{filesystem-a058387c.js → form-a058387c.js} +0 -0
  764. /package/dist/chunks/{filesystem-a6k6eb26.js → form-a6k6eb26.js} +0 -0
  765. /package/dist/chunks/{filesystem-af5trqkr.js → form-af5trqkr.js} +0 -0
  766. /package/dist/chunks/{filesystem-afrmfg78.js → form-afrmfg78.js} +0 -0
  767. /package/dist/chunks/{filesystem-aqzs7mqg.js → form-aqzs7mqg.js} +0 -0
  768. /package/dist/chunks/{filesystem-atq7p7m5.js → form-atq7p7m5.js} +0 -0
  769. /package/dist/chunks/{filesystem-beh6qq61.js → form-beh6qq61.js} +0 -0
  770. /package/dist/chunks/{filesystem-bkyjaxrp.js → form-bkyjaxrp.js} +0 -0
  771. /package/dist/chunks/{filesystem-bmr6ed5q.js → form-bmr6ed5q.js} +0 -0
  772. /package/dist/chunks/{filesystem-cf4snx6d.js → form-cf4snx6d.js} +0 -0
  773. /package/dist/chunks/{filesystem-cqv5kn06.js → form-cqv5kn06.js} +0 -0
  774. /package/dist/chunks/{filesystem-cvy3z8tj.js → form-cvy3z8tj.js} +0 -0
  775. /package/dist/chunks/{filesystem-d9fn303g.js → form-d9fn303g.js} +0 -0
  776. /package/dist/chunks/{filesystem-d9jj8t3e.js → form-d9jj8t3e.js} +0 -0
  777. /package/dist/chunks/{filesystem-dajrwvna.js → form-dajrwvna.js} +0 -0
  778. /package/dist/chunks/{filesystem-dap0rakb.js → form-dap0rakb.js} +0 -0
  779. /package/dist/chunks/{filesystem-df08tz66.js → form-df08tz66.js} +0 -0
  780. /package/dist/chunks/{filesystem-dy18nga0.js → form-dy18nga0.js} +0 -0
  781. /package/dist/chunks/{filesystem-e5kj55wp.js → form-e5kj55wp.js} +0 -0
  782. /package/dist/chunks/{filesystem-e73j6tqm.js → form-e73j6tqm.js} +0 -0
  783. /package/dist/chunks/{filesystem-ec1grn59.js → form-ec1grn59.js} +0 -0
  784. /package/dist/chunks/{filesystem-eh3zwz77.js → form-eh3zwz77.js} +0 -0
  785. /package/dist/chunks/{filesystem-emrn6kk6.js → form-emrn6kk6.js} +0 -0
  786. /package/dist/chunks/{filesystem-f0mxakyp.js → form-f0mxakyp.js} +0 -0
  787. /package/dist/chunks/{filesystem-f6n9ztr4.js → form-f6n9ztr4.js} +0 -0
  788. /package/dist/chunks/{filesystem-faypxj3z.js → form-faypxj3z.js} +0 -0
  789. /package/dist/chunks/{filesystem-fd410y7t.js → form-fd410y7t.js} +0 -0
  790. /package/dist/chunks/{filesystem-fkpq3x5p.js → form-fkpq3x5p.js} +0 -0
  791. /package/dist/chunks/{filesystem-g4wezp1m.js → form-g4wezp1m.js} +0 -0
  792. /package/dist/chunks/{filesystem-g86h250q.js → form-g86h250q.js} +0 -0
  793. /package/dist/chunks/{filesystem-gebd4c9n.js → form-gebd4c9n.js} +0 -0
  794. /package/dist/chunks/{filesystem-gftt206x.js → form-gftt206x.js} +0 -0
  795. /package/dist/chunks/{filesystem-hcxmzztb.js → form-hcxmzztb.js} +0 -0
  796. /package/dist/chunks/{filesystem-hk9envan.js → form-hk9envan.js} +0 -0
  797. /package/dist/chunks/{filesystem-j2ntwpah.js → form-j2ntwpah.js} +0 -0
  798. /package/dist/chunks/{filesystem-j5zkgpj8.js → form-j5zkgpj8.js} +0 -0
  799. /package/dist/chunks/{filesystem-jjkms2e6.js → form-jjkms2e6.js} +0 -0
  800. /package/dist/chunks/{filesystem-jr7sbwjy.js → form-jr7sbwjy.js} +0 -0
  801. /package/dist/chunks/{filesystem-jwfs4k6c.js → form-jwfs4k6c.js} +0 -0
  802. /package/dist/chunks/{filesystem-jwr30sdr.js → form-jwr30sdr.js} +0 -0
  803. /package/dist/chunks/{filesystem-jze0r7bz.js → form-jze0r7bz.js} +0 -0
  804. /package/dist/chunks/{filesystem-jzg6c2d5.js → form-jzg6c2d5.js} +0 -0
  805. /package/dist/chunks/{filesystem-m18g726c.js → form-m18g726c.js} +0 -0
  806. /package/dist/chunks/{filesystem-mp448xyj.js → form-mp448xyj.js} +0 -0
  807. /package/dist/chunks/{filesystem-msx8hqn2.js → form-msx8hqn2.js} +0 -0
  808. /package/dist/chunks/{filesystem-n05xt0ee.js → form-n05xt0ee.js} +0 -0
  809. /package/dist/chunks/{filesystem-n3j8tn72.js → form-n3j8tn72.js} +0 -0
  810. /package/dist/chunks/{filesystem-ncqqe42p.js → form-ncqqe42p.js} +0 -0
  811. /package/dist/chunks/{filesystem-nh4v3znn.js → form-nh4v3znn.js} +0 -0
  812. /package/dist/chunks/{filesystem-njntx4h6.js → form-njntx4h6.js} +0 -0
  813. /package/dist/chunks/{filesystem-p71gwv9c.js → form-p71gwv9c.js} +0 -0
  814. /package/dist/chunks/{filesystem-q3sfg36h.js → form-q3sfg36h.js} +0 -0
  815. /package/dist/chunks/{filesystem-q74kybfr.js → form-q74kybfr.js} +0 -0
  816. /package/dist/chunks/{filesystem-qaymkmh1.js → form-qaymkmh1.js} +0 -0
  817. /package/dist/chunks/{filesystem-qb87gjwd.js → form-qb87gjwd.js} +0 -0
  818. /package/dist/chunks/{filesystem-qfa1cgps.js → form-qfa1cgps.js} +0 -0
  819. /package/dist/chunks/{filesystem-qg3g05ea.js → form-qg3g05ea.js} +0 -0
  820. /package/dist/chunks/{filesystem-qrg20bc0.js → form-qrg20bc0.js} +0 -0
  821. /package/dist/chunks/{filesystem-rcb2kzg1.js → form-rcb2kzg1.js} +0 -0
  822. /package/dist/chunks/{filesystem-sdp7kfr6.js → form-sdp7kfr6.js} +0 -0
  823. /package/dist/chunks/{filesystem-ssg3fenm.js → form-ssg3fenm.js} +0 -0
  824. /package/dist/chunks/{filesystem-ty7weeps.js → form-ty7weeps.js} +0 -0
  825. /package/dist/chunks/{filesystem-ve7vex1e.js → form-ve7vex1e.js} +0 -0
  826. /package/dist/chunks/{filesystem-w803qqfp.js → form-w803qqfp.js} +0 -0
  827. /package/dist/chunks/{filesystem-wc3fc9cn.js → form-wc3fc9cn.js} +0 -0
  828. /package/dist/chunks/{filesystem-wer8tq1h.js → form-wer8tq1h.js} +0 -0
  829. /package/dist/chunks/{filesystem-wtztk69x.js → form-wtztk69x.js} +0 -0
  830. /package/dist/chunks/{filesystem-x0ckcb58.js → form-x0ckcb58.js} +0 -0
  831. /package/dist/chunks/{filesystem-x61499pn.js → form-x61499pn.js} +0 -0
  832. /package/dist/chunks/{filesystem-y44na4kk.js → form-y44na4kk.js} +0 -0
  833. /package/dist/chunks/{filesystem-y8f7s663.js → form-y8f7s663.js} +0 -0
  834. /package/dist/chunks/{filesystem-ygaqb7jw.js → form-ygaqb7jw.js} +0 -0
  835. /package/dist/chunks/{filesystem-z5v4ffb3.js → form-z5v4ffb3.js} +0 -0
  836. /package/dist/chunks/{filesystem-z9919s4g.js → form-z9919s4g.js} +0 -0
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./filesystem-5f4zfvgc.js";
4
+ } from "./form-va23bk0p.js";
5
5
  import {
6
- Event19,
7
- Service83,
8
- node87
9
- } from "./filesystem-t5ntgcha.js";
6
+ Event16,
7
+ Service71,
8
+ node74
9
+ } from "./form-gp6fvya6.js";
10
10
  import {
11
- Service72,
12
- node75
13
- } from "./filesystem-s7wv3tb2.js";
11
+ Service66,
12
+ node69
13
+ } from "./form-00qhjgh5.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./filesystem-z5v4ffb3.js";
16
+ } from "./form-z5v4ffb3.js";
17
17
  import {
18
- Service79,
19
- node83
20
- } from "./filesystem-2k2r9cp7.js";
18
+ Service83,
19
+ node87
20
+ } from "./form-dyd2a8eg.js";
21
21
  import {
22
22
  substitute2
23
- } from "./filesystem-7w2ypzdf.js";
23
+ } from "./form-7w2ypzdf.js";
24
24
  import {
25
25
  normalize3
26
- } from "./filesystem-ywhza86r.js";
26
+ } from "./form-8m5e40h7.js";
27
27
  import {
28
- names4,
28
+ names3,
29
29
  stripPreferenceMetadata2,
30
30
  discover3
31
- } from "./filesystem-11khfpwy.js";
31
+ } from "./form-xg4acpkm.js";
32
32
  import {
33
33
  plan2
34
- } from "./filesystem-1x2knyw4.js";
34
+ } from "./form-1x2knyw4.js";
35
35
  import {
36
- Service73,
37
- Event14,
38
- node76
39
- } from "./filesystem-9azm90ns.js";
36
+ Service67,
37
+ Event12,
38
+ node70
39
+ } from "./form-x07e5g67.js";
40
40
  import {
41
41
  __export
42
- } from "./filesystem-9rqn6x4v.js";
42
+ } from "./form-9rqn6x4v.js";
43
43
 
44
44
  // src/config.ts
45
45
  var exports_config = {};
46
46
  __export(exports_config, {
47
47
  Config: () => exports_config,
48
- Options: () => Options6,
49
- Service: () => Service71,
48
+ Options: () => Options7,
49
+ Service: () => Service65,
50
50
  Test: () => Test2,
51
51
  configured: () => configured8,
52
52
  latest: () => latest2,
53
53
  layer: () => layer25,
54
- node: () => node74,
54
+ node: () => node68,
55
55
  testLayer: () => testLayer2
56
56
  });
57
57
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -67,7 +67,7 @@ import { ChildProcess } from "effect/process";
67
67
  function latest2(entries, key) {
68
68
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
69
69
  }
70
- var Options6 = Schema.Struct({
70
+ var Options7 = Schema.Struct({
71
71
  project: Schema.optional(Schema.Boolean),
72
72
  global: Schema.optional(Schema.Boolean),
73
73
  system: Schema.optional(Schema.Union([Schema.Boolean, Schema.String])),
@@ -76,7 +76,7 @@ var Options6 = Schema.Struct({
76
76
  content: Schema.optional(Schema.String)
77
77
  });
78
78
 
79
- class Service71 extends Context.Service()("@opencode/Config") {
79
+ class Service65 extends Context.Service()("@opencode/Config") {
80
80
  }
81
81
 
82
82
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -100,16 +100,16 @@ var testLayer2 = (initial = [], compatibility = {
100
100
  return document ? next.set(integrationID, document) : next;
101
101
  })
102
102
  });
103
- return Context.empty().pipe(Context.add(Service71, service), Context.add(Test2, service));
103
+ return Context.empty().pipe(Context.add(Service65, service), Context.add(Test2, service));
104
104
  }));
105
- var layer25 = (options) => Layer.effect(Service71, Effect.gen(function* () {
105
+ var layer25 = (options) => Layer.effect(Service65, Effect.gen(function* () {
106
106
  const fs = yield* FSUtil.Service;
107
- const location = yield* Service79;
108
- const watcher = yield* Service72;
107
+ const location = yield* Service83;
108
+ const watcher = yield* Service66;
109
109
  const bus = yield* Service86;
110
- const credentials = yield* Service83;
110
+ const credentials = yield* Service71;
111
111
  const globalService = yield* Global.Service;
112
- const wellknown = yield* Service73;
112
+ const wellknown = yield* Service67;
113
113
  const processes = yield* AppProcess.Service;
114
114
  const integrations = new Map;
115
115
  const context = yield* Effect.context();
@@ -194,7 +194,7 @@ var layer25 = (options) => Layer.effect(Service71, Effect.gen(function* () {
194
194
  });
195
195
  const loadDirectory = Effect.fnUntraced(function* (directory) {
196
196
  return [
197
- ...yield* Effect.forEach(names4, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
197
+ ...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
198
198
  new Directory({ type: "directory", path: directory })
199
199
  ];
200
200
  });
@@ -263,8 +263,8 @@ var layer25 = (options) => Layer.effect(Service71, Effect.gen(function* () {
263
263
  }, (effect) => reloadLock.withPermit(effect));
264
264
  const pendingReloads = yield* PubSub.subscribe(reloads);
265
265
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
266
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
267
- yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
266
+ yield* bus.subscribe(Event16.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
267
+ yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
268
268
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
269
269
  if (!wellknown.snapshot().length)
270
270
  return Effect.void;
@@ -277,7 +277,7 @@ var layer25 = (options) => Layer.effect(Service71, Effect.gen(function* () {
277
277
  yield* reloadLock.withPermit(reconcile(initial));
278
278
  const update = Effect.fn("Config.update")(function* (patch) {
279
279
  const directory = initial.global ?? AbsolutePath2.make(globalService.config);
280
- const candidates = names4.map((name) => path.join(directory, name));
280
+ const candidates = names3.map((name) => path.join(directory, name));
281
281
  const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
282
282
  const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
283
283
  `;
@@ -292,7 +292,7 @@ var layer25 = (options) => Layer.effect(Service71, Effect.gen(function* () {
292
292
  `);
293
293
  yield* requestReload;
294
294
  }, (effect) => updateLock.withPermit(effect));
295
- return Service71.of({
295
+ return Service65.of({
296
296
  entries: Effect.fnUntraced(function* () {
297
297
  return configs;
298
298
  }),
@@ -314,20 +314,20 @@ var layer25 = (options) => Layer.effect(Service71, Effect.gen(function* () {
314
314
  }));
315
315
  function configured8(options) {
316
316
  return makeLocationNode({
317
- service: Service71,
317
+ service: Service65,
318
318
  layer: layer25(options),
319
319
  deps: [
320
- node75,
320
+ node69,
321
321
  node90,
322
322
  FSUtil.node,
323
323
  Global.node,
324
- node83,
325
324
  node87,
326
- node76,
325
+ node74,
326
+ node70,
327
327
  AppProcess.node
328
328
  ]
329
329
  });
330
330
  }
331
- var node74 = configured8();
331
+ var node68 = configured8();
332
332
 
333
- export { latest2, Options6, Service71, Test2, testLayer2, layer25, configured8, node74, exports_config };
333
+ export { latest2, Options7, Service65, Test2, testLayer2, layer25, configured8, node68, exports_config };
@@ -2,28 +2,28 @@ import {
2
2
  ephemeral2,
3
3
  Service86,
4
4
  node90
5
- } from "./filesystem-5f4zfvgc.js";
5
+ } from "./form-va23bk0p.js";
6
6
  import {
7
- Service74,
8
- node77
9
- } from "./filesystem-4r140ydd.js";
7
+ Service73,
8
+ node76
9
+ } from "./form-8hcvae60.js";
10
10
  import {
11
11
  __export
12
- } from "./filesystem-9rqn6x4v.js";
12
+ } from "./form-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: () => Event14,
19
+ Event: () => Event12,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service73,
22
+ Service: () => Service67,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node76,
26
- resolve: () => resolve3
25
+ node: () => node70,
26
+ resolve: () => resolve4
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 Service73 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service67 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event14 = {
51
+ var Event12 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var requestTimeout = "15 seconds";
@@ -57,7 +57,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
57
57
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
58
58
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.timeout(requestTimeout), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
59
59
  });
60
- var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
60
+ var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
61
61
  const manifest = yield* inspect2(input.origin);
62
62
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
63
63
  });
@@ -79,9 +79,9 @@ var Sources = Schema.Array(Schema.String);
79
79
  var manifestKey = (origin) => `wellknown:manifest:${origin}`;
80
80
  var configKey = (origin) => `wellknown:config:${origin}`;
81
81
  var Configs = Schema.Array(Config2);
82
- var layer = Layer.effect(Service73, Effect.gen(function* () {
82
+ var layer = Layer.effect(Service67, Effect.gen(function* () {
83
83
  const http = yield* HttpClient.HttpClient;
84
- const kv = yield* Service74;
84
+ const kv = yield* Service73;
85
85
  const bus = yield* Service86;
86
86
  const cache = yield* Ref.make(new Map);
87
87
  const lock = Semaphore.makeUnsafe(1);
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
113
113
  if (!changed)
114
114
  return false;
115
115
  yield* Ref.set(cache, next);
116
- yield* bus.publish(Event14.Updated, {}, { global: true });
116
+ yield* bus.publish(Event12.Updated, {}, { global: true });
117
117
  return true;
118
118
  }, (effect) => lock.withPermit(effect));
119
- return Service73.of({
119
+ return Service67.of({
120
120
  entries: load,
121
121
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
122
122
  refresh,
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
129
129
  const origins = Schema.is(Sources)(sources) ? sources : [];
130
130
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
131
131
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
132
- yield* bus.publish(Event14.Updated, {}, { global: true });
132
+ yield* bus.publish(Event12.Updated, {}, { global: true });
133
133
  return entry;
134
134
  }, (effect, _value) => lock.withPermit(effect)),
135
135
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
144
144
  next.delete(origin);
145
145
  return next;
146
146
  });
147
- yield* bus.publish(Event14.Updated, {}, { global: true });
147
+ yield* bus.publish(Event12.Updated, {}, { global: true });
148
148
  }, (effect, _value) => lock.withPermit(effect)),
149
149
  resolve: Effect.fn("WellKnown.resolveEntry")(function* (entry, variables) {
150
150
  const configs = yield* resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http));
@@ -157,6 +157,6 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
157
157
  })
158
158
  });
159
159
  }));
160
- var node76 = makeGlobalNode({ service: Service73, layer, deps: [httpClient, node77, node90] });
160
+ var node70 = makeGlobalNode({ service: Service67, layer, deps: [httpClient, node76, node90] });
161
161
 
162
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service73, Event14, inspect2, resolve3, node76, exports_wellknown };
162
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service67, Event12, inspect2, resolve4, node70, exports_wellknown };
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./filesystem-8jztxfpf.js";
3
+ } from "./form-8jztxfpf.js";
4
4
  import {
5
5
  Service86,
6
6
  node90
7
- } from "./filesystem-5f4zfvgc.js";
7
+ } from "./form-va23bk0p.js";
8
+ import {
9
+ Event16,
10
+ Service71,
11
+ node74
12
+ } from "./form-gp6fvya6.js";
8
13
  import {
9
- Event19,
10
14
  Service83,
11
15
  node87
12
- } from "./filesystem-t5ntgcha.js";
13
- import {
14
- Service79,
15
- node83
16
- } from "./filesystem-2k2r9cp7.js";
16
+ } from "./form-dyd2a8eg.js";
17
17
  import {
18
- Service75,
19
- node78
20
- } from "./filesystem-r66kyd6j.js";
18
+ Service78,
19
+ node81
20
+ } from "./form-796fpssb.js";
21
21
  import {
22
- ID19,
23
- Service84,
24
- node88
25
- } from "./filesystem-xfqm8zp4.js";
22
+ ID16,
23
+ Service72,
24
+ node75
25
+ } from "./form-b2mp8qdf.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./filesystem-204s3925.js";
29
+ } from "./form-204s3925.js";
30
30
  import {
31
- ID17,
31
+ ID14,
32
32
  MethodID2,
33
- Service82,
34
- node86
35
- } from "./filesystem-mkryjhx5.js";
33
+ Service70,
34
+ node73
35
+ } from "./form-6d7rzhz6.js";
36
36
  import {
37
37
  __export
38
- } from "./filesystem-9rqn6x4v.js";
38
+ } from "./form-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: () => NotFoundError3,
44
+ NotFoundError: () => NotFoundError5,
45
45
  Options: () => Options3,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
@@ -49,12 +49,12 @@ __export(exports_mcp4, {
49
49
  ResourceContent: () => ResourceContent2,
50
50
  ResourceTemplate: () => ResourceTemplate2,
51
51
  ServerName: () => ServerName2,
52
- Service: () => Service26,
52
+ Service: () => Service37,
53
53
  Status: () => Status3,
54
54
  ToolCallError: () => ToolCallError2,
55
55
  configured: () => configured3,
56
- layer: () => layer13,
57
- node: () => node30
56
+ layer: () => layer17,
57
+ node: () => node40
58
58
  });
59
59
  import { Mcp } from "@opencode/schema/mcp";
60
60
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
72
72
  var ResourceCatalog2 = Mcp.ResourceCatalog;
73
73
  var ResourceContent2 = Mcp.ResourceContent;
74
74
 
75
- class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
75
+ class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
76
76
  server: ServerName2
77
77
  }) {
78
78
  get message() {
@@ -104,7 +104,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
104
104
  var endpointLoads = makeUnsafe2();
105
105
  var cloneConfig = (config) => structuredClone(config);
106
106
 
107
- class Service26 extends Context.Service()("@opencode/MCP") {
107
+ class Service37 extends Context.Service()("@opencode/MCP") {
108
108
  }
109
109
  var Options3 = Schema.Struct({
110
110
  clientInfo: Schema.optional(Schema.Struct({
@@ -112,13 +112,13 @@ var Options3 = Schema.Struct({
112
112
  version: Schema.String
113
113
  }))
114
114
  });
115
- var layer13 = (options) => Layer.effect(Service26, Effect.gen(function* () {
116
- const location = yield* Service79;
117
- const environment = yield* Service75;
115
+ var layer17 = (options) => Layer.effect(Service37, Effect.gen(function* () {
116
+ const location = yield* Service83;
117
+ const environment = yield* Service78;
118
118
  const bus = yield* Service86;
119
- const forms = yield* Service84;
120
- const integration = yield* Service82;
121
- const credentials = yield* Service83;
119
+ const forms = yield* Service72;
120
+ const integration = yield* Service70;
121
+ const credentials = yield* Service71;
122
122
  const root = yield* Effect.scope;
123
123
  const fork = yield* FiberSet.makeRuntime();
124
124
  const servers = yield* Scope.fork(root, "parallel");
@@ -133,7 +133,7 @@ var layer13 = (options) => Layer.effect(Service26, Effect.gen(function* () {
133
133
  return;
134
134
  const remote = entry.config;
135
135
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
136
- const integrationID = ID17.make(suffix);
136
+ const integrationID = ID14.make(suffix);
137
137
  entry.integrationID = integrationID;
138
138
  owned.add(integrationID);
139
139
  const methodID = MethodID2.make(suffix);
@@ -149,7 +149,7 @@ var layer13 = (options) => Layer.effect(Service26, Effect.gen(function* () {
149
149
  method: { id: methodID, type: "oauth", label: name },
150
150
  authorize: () => Effect.gen(function* () {
151
151
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
152
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service83, credentials));
152
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service71, credentials));
153
153
  })
154
154
  });
155
155
  }).pipe(Scope.provide(scope));
@@ -157,19 +157,19 @@ var layer13 = (options) => Layer.effect(Service26, Effect.gen(function* () {
157
157
  const requireServer = Effect.fnUntraced(function* (name) {
158
158
  const entry = entries.get(name);
159
159
  if (!entry)
160
- return yield* new NotFoundError3({ server: name });
160
+ return yield* new NotFoundError5({ server: name });
161
161
  return { name, entry };
162
162
  });
163
163
  const connectProvider = Effect.fnUntraced(function* (entry) {
164
164
  if (entry.config.type !== "remote" || !entry.integrationID)
165
165
  return;
166
166
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
167
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service83, credentials));
167
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service71, credentials));
168
168
  });
169
169
  const elicitation = {
170
170
  create: (input) => Effect.gen(function* () {
171
171
  if (input.params.mode === "url") {
172
- const formID = ID19.create();
172
+ const formID = ID16.create();
173
173
  const elicitationID = input.params.elicitationId;
174
174
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
175
175
  if (key)
@@ -272,7 +272,7 @@ var layer13 = (options) => Layer.effect(Service26, Effect.gen(function* () {
272
272
  entry.scope = scope;
273
273
  const authProvider = yield* connectProvider(entry);
274
274
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
275
- 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(Service75, environment), Scope.provide(scope));
275
+ 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(Service78, environment), Scope.provide(scope));
276
276
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
277
277
  if (Exit.isSuccess(result)) {
278
278
  entry.client = result.value.connection;
@@ -373,7 +373,7 @@ var layer13 = (options) => Layer.effect(Service26, Effect.gen(function* () {
373
373
  let closed = false;
374
374
  const result = yield* McpClient.connect(name, { type: "attached", transport }, location.directory, undefined, elicitation, options?.clientInfo).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
375
375
  closed = true;
376
- }))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service75, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
376
+ }))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service78, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
377
377
  const register = Effect.gen(function* () {
378
378
  if (closed) {
379
379
  yield* Scope.close(scope, Exit.void);
@@ -452,7 +452,7 @@ var layer13 = (options) => Layer.effect(Service26, Effect.gen(function* () {
452
452
  yield* startServer(name, entry);
453
453
  }).pipe(locks.withLock(name));
454
454
  });
455
- fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
455
+ fork(bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
456
456
  const state = create3({
457
457
  name: "mcp",
458
458
  initial: () => ({
@@ -478,7 +478,7 @@ var layer13 = (options) => Layer.effect(Service26, Effect.gen(function* () {
478
478
  }),
479
479
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
480
480
  });
481
- return Service26.of({
481
+ return Service37.of({
482
482
  transform: state.transform,
483
483
  reload: state.reload,
484
484
  servers: Effect.fn("MCP.servers")(function* () {
@@ -613,12 +613,12 @@ function mergeCatalogs(catalogs) {
613
613
  }
614
614
  function configured3(options) {
615
615
  return makeLocationNode({
616
- service: Service26,
617
- layer: layer13(options),
618
- deps: [node83, node78, node90, node88, node86, node87]
616
+ service: Service37,
617
+ layer: layer17(options),
618
+ deps: [node87, node81, node90, node75, node73, node74]
619
619
  });
620
620
  }
621
- var node30 = configured3();
621
+ var node40 = configured3();
622
622
  function toElicitationField(key, property, required) {
623
623
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
624
624
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -669,4 +669,4 @@ function toElicitationField(key, property, required) {
669
669
  }
670
670
  }
671
671
 
672
- export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError3, ToolCallError2, Service26, Options3, layer13, configured3, node30, exports_mcp4 };
672
+ export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2, Service37, Options3, layer17, configured3, node40, exports_mcp4 };
@@ -1,19 +1,19 @@
1
1
  import {
2
- ID14
3
- } from "./filesystem-5k0ygmt7.js";
2
+ ID13
3
+ } from "./form-zht7fzxj.js";
4
4
  import {
5
5
  configuredSettings2
6
- } from "./filesystem-m8pt14ww.js";
6
+ } from "./form-vr11s0jh.js";
7
7
  import {
8
8
  credentialSettings2,
9
9
  metadataSettings2
10
- } from "./filesystem-53f1f277.js";
10
+ } from "./form-780gjtmn.js";
11
11
 
12
12
  // src/plugin/provider/cloudflare-workers-ai.ts
13
13
  import { Effect } from "effect";
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Form } from "@opencode/schema/form";
16
- var providerID = ID14.make("cloudflare-workers-ai");
16
+ var providerID = ID13.make("cloudflare-workers-ai");
17
17
  var CloudflareWorkersAIPlugin2 = define({
18
18
  id: "opencode.provider.cloudflare.workers.ai",
19
19
  effect: Effect.fn(function* (ctx) {
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./filesystem-z5v4ffb3.js";
3
+ } from "./form-z5v4ffb3.js";
4
4
  import {
5
- Service79
6
- } from "./filesystem-2k2r9cp7.js";
5
+ Service83
6
+ } from "./form-dyd2a8eg.js";
7
7
  import {
8
8
  __export
9
- } from "./filesystem-9rqn6x4v.js";
9
+ } from "./form-9rqn6x4v.js";
10
10
 
11
11
  // src/config/discovery.ts
12
12
  var exports_discovery2 = {};
13
13
  __export(exports_discovery2, {
14
14
  ConfigDiscovery: () => exports_discovery2,
15
15
  discover: () => discover3,
16
- names: () => names4,
16
+ names: () => names3,
17
17
  preferencePaths: () => preferencePaths2,
18
18
  stripPreferenceMetadata: () => stripPreferenceMetadata2,
19
19
  systemDirectory: () => systemDirectory2
@@ -23,7 +23,7 @@ import path from "path";
23
23
  import { Effect } from "effect";
24
24
  import { FSUtil } from "@opencode/util/fs-util";
25
25
  import { Global } from "@opencode/util/global";
26
- var names4 = ["opencode.json", "opencode.jsonc"];
26
+ var names3 = ["opencode.json", "opencode.jsonc"];
27
27
  function systemDirectory2(platform = process.platform, env = process.env) {
28
28
  if (platform === "darwin")
29
29
  return AbsolutePath2.make("/Library/Application Support/opencode");
@@ -54,7 +54,7 @@ function stripPreferenceMetadata2(json) {
54
54
  var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
55
55
  const fs = yield* FSUtil.Service;
56
56
  const global = yield* Global.Service;
57
- const location = yield* Service79;
57
+ const location = yield* Service83;
58
58
  const system = (() => {
59
59
  if (options?.system === false)
60
60
  return;
@@ -71,10 +71,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
71
71
  const directories = globalRoots.slice(0, configDirectories.length).includes(current) || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
72
72
  const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
73
73
  const parent = yield* fs.resolve(directory);
74
- return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names4.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
74
+ return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names3.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
75
75
  })).pipe(Effect.map((items) => items.flat()), Effect.orDie);
76
76
  const globalEnabled = options?.global !== false;
77
- const globalFiles = yield* Effect.forEach(configDirectories.flatMap((directory) => names4.map((name) => path.join(directory, name))), (file) => fs.resolve(file));
77
+ const globalFiles = yield* Effect.forEach(configDirectories.flatMap((directory) => names3.map((name) => path.join(directory, name))), (file) => fs.resolve(file));
78
78
  const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
79
79
  const preferences = globalEnabled && (options?.system ?? true) === true && process.platform === "darwin" ? (yield* Effect.filter(preferencePaths2(yield* Effect.try(() => os.userInfo().username).pipe(Effect.orElseSucceed(() => "user"))), fs.isFile)).at(0) : undefined;
80
80
  return {
@@ -99,4 +99,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
99
99
  };
100
100
  });
101
101
 
102
- export { names4, systemDirectory2, preferencePaths2, stripPreferenceMetadata2, discover3, exports_discovery2 };
102
+ export { names3, systemDirectory2, preferencePaths2, stripPreferenceMetadata2, discover3, exports_discovery2 };
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID14
3
- } from "./filesystem-5k0ygmt7.js";
2
+ ID13
3
+ } from "./form-zht7fzxj.js";
4
4
  import {
5
5
  credentialSettings2,
6
6
  metadataSettings2
7
- } from "./filesystem-53f1f277.js";
7
+ } from "./form-780gjtmn.js";
8
8
 
9
9
  // src/plugin/provider/amazon-bedrock.ts
10
10
  import { Effect } from "effect";
@@ -39,15 +39,15 @@ var AmazonBedrockPlugin2 = define({
39
39
  })))).filter(Boolean).toSorted();
40
40
  yield* ctx.integration.transform((editor) => {
41
41
  editor.method.update({
42
- integrationID: ID14.amazonBedrock,
42
+ integrationID: ID13.amazonBedrock,
43
43
  method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
44
44
  });
45
45
  editor.method.update({
46
- integrationID: ID14.amazonBedrock,
46
+ integrationID: ID13.amazonBedrock,
47
47
  method: { type: "key", label: "Bedrock API key" }
48
48
  });
49
49
  editor.method.update({
50
- integrationID: ID14.amazonBedrock,
50
+ integrationID: ID13.amazonBedrock,
51
51
  method: {
52
52
  id: "aws-profile",
53
53
  type: "external",
@@ -69,7 +69,7 @@ var AmazonBedrockPlugin2 = define({
69
69
  }
70
70
  });
71
71
  });
72
- const login = yield* credentialSettings2(ctx, ID14.amazonBedrock, (value) => value.type === "external" && value.methodID === "aws-profile" ? metadataSettings2(value.metadata, ["profile"]) : {});
72
+ const login = yield* credentialSettings2(ctx, ID13.amazonBedrock, (value) => value.type === "external" && value.methodID === "aws-profile" ? metadataSettings2(value.metadata, ["profile"]) : {});
73
73
  yield* ctx.provider.transform((evt) => {
74
74
  for (const item of evt.list()) {
75
75
  if (!isBedrock(item.provider))
@@ -77,7 +77,7 @@ var AmazonBedrockPlugin2 = define({
77
77
  evt.update(item.provider.id, (provider) => {
78
78
  const settings = {
79
79
  ...provider.settings,
80
- ...(provider.integrationID ?? provider.id) === ID14.amazonBedrock ? login.settings : {}
80
+ ...(provider.integrationID ?? provider.id) === ID13.amazonBedrock ? login.settings : {}
81
81
  };
82
82
  const chain = typeof settings.profile === "string" || CHAIN_ENV.some((name) => process.env[name]);
83
83
  if (chain && provider.activation === "auto")