@opencode/core 0.0.0-dev-20307 → 0.0.0-dev-20311

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 (799) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{config-arjb37bx.js → generate-0085hr19.js} +33 -33
  8. package/dist/chunks/{config-bnvytdy7.js → generate-03ykhv53.js} +25 -25
  9. package/dist/chunks/{config-r3q6pmcz.js → generate-07770t2t.js} +6 -6
  10. package/dist/chunks/{config-efjjk5dx.js → generate-0dr81x6h.js} +11 -11
  11. package/dist/chunks/{config-0jq9fyba.js → generate-0jq9fyba.js} +2 -2
  12. package/dist/chunks/{config-0paq2nw3.js → generate-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{config-9bmgxnfb.js → generate-1aft4d1r.js} +32 -32
  14. package/dist/chunks/{config-ghxng14m.js → generate-1d9tbeyw.js} +8 -8
  15. package/dist/chunks/{config-1dazxqgg.js → generate-1dazxqgg.js} +2 -2
  16. package/dist/chunks/{config-xvgtn10j.js → generate-1fyhttb2.js} +3 -3
  17. package/dist/chunks/{config-269darmg.js → generate-1njzkgw4.js} +38 -38
  18. package/dist/chunks/{config-7xv45gyt.js → generate-1vya40xm.js} +3 -3
  19. package/dist/chunks/{config-21r38tys.js → generate-21r38tys.js} +1 -1
  20. package/dist/chunks/{config-n10xprsy.js → generate-22jt7mmp.js} +23 -23
  21. package/dist/chunks/{config-p67888xt.js → generate-23pgy1bp.js} +18 -18
  22. package/dist/chunks/{config-nq7qbqzc.js → generate-24dd53tp.js} +9 -9
  23. package/dist/chunks/{config-2a5m3afh.js → generate-2a5m3afh.js} +1 -1
  24. package/dist/chunks/{config-gvw0fbgk.js → generate-2c835n2e.js} +5 -5
  25. package/dist/chunks/{config-fvanntqq.js → generate-2d57kztd.js} +6 -6
  26. package/dist/chunks/{config-xfcb1x2f.js → generate-2eryzwn5.js} +26 -26
  27. package/dist/chunks/{config-t0fxg8b9.js → generate-2f0bjgcj.js} +5 -5
  28. package/dist/chunks/{config-eemsvzwm.js → generate-2f1w8fmd.js} +7 -7
  29. package/dist/chunks/{config-57ez7d0k.js → generate-2fgn2we9.js} +9 -9
  30. package/dist/chunks/{config-s8avne91.js → generate-2p5ftwah.js} +17 -17
  31. package/dist/chunks/{config-2hbvw9vv.js → generate-2yb60grw.js} +13 -13
  32. package/dist/chunks/{config-z3zp24an.js → generate-32ymn5e1.js} +6 -6
  33. package/dist/chunks/{config-few7m4w4.js → generate-33qnn5ry.js} +9 -9
  34. package/dist/chunks/{config-z8pd6906.js → generate-3ckkbjr6.js} +29 -29
  35. package/dist/chunks/{config-3fc6dm20.js → generate-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{config-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{config-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{config-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
  39. package/dist/chunks/{config-p27bdzt8.js → generate-3vjxyz9p.js} +40 -40
  40. package/dist/chunks/{config-3zsf4n22.js → generate-3zsf4n22.js} +1 -1
  41. package/dist/chunks/{config-h8rda941.js → generate-43tk2b99.js} +23 -23
  42. package/dist/chunks/{config-t9b158gy.js → generate-440wx6xb.js} +13 -13
  43. package/dist/chunks/{config-yf10kn3d.js → generate-4arb9zza.js} +8 -8
  44. package/dist/chunks/{config-yvvvp4gn.js → generate-4c2df9zx.js} +8 -8
  45. package/dist/chunks/{config-5n0kyfxb.js → generate-4e9qa1yk.js} +13 -13
  46. package/dist/chunks/{config-twx3wtca.js → generate-4g5hndmz.js} +15 -15
  47. package/dist/chunks/{config-dc965nrq.js → generate-4gyadrbh.js} +33 -33
  48. package/dist/chunks/{config-p6wxjpka.js → generate-4j4tgtq5.js} +4 -4
  49. package/dist/chunks/{config-4n7khwcq.js → generate-4r3dk6a2.js} +24 -24
  50. package/dist/chunks/{config-kcsm1vfq.js → generate-4xkx8k44.js} +7 -7
  51. package/dist/chunks/{config-qj8eh1ht.js → generate-50mzsvk4.js} +4 -4
  52. package/dist/chunks/{config-yqsrqvmh.js → generate-52dst9ej.js} +11 -11
  53. package/dist/chunks/{config-54ma36ye.js → generate-54ma36ye.js} +1 -1
  54. package/dist/chunks/{config-1ygqh575.js → generate-56gdpj1q.js} +9 -9
  55. package/dist/chunks/{config-45trpagw.js → generate-584xd2as.js} +19 -19
  56. package/dist/chunks/{config-5daktx2q.js → generate-5daktx2q.js} +1 -1
  57. package/dist/chunks/{config-y0mc46pw.js → generate-5e1pzs32.js} +9 -9
  58. package/dist/chunks/{config-d2kdndyg.js → generate-5hvea60m.js} +20 -20
  59. package/dist/chunks/{config-422899az.js → generate-5qbm8fhe.js} +33 -33
  60. package/dist/chunks/{config-5t3nmthw.js → generate-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{config-p0317zjm.js → generate-6416pc1c.js} +50 -50
  62. package/dist/chunks/{config-669tq793.js → generate-669tq793.js} +1 -1
  63. package/dist/chunks/{config-0tny3c9f.js → generate-6bbg9vsb.js} +30 -30
  64. package/dist/chunks/{config-y9a1hj5c.js → generate-6k3166bs.js} +13 -13
  65. package/dist/chunks/{config-6msgmcgs.js → generate-6msgmcgs.js} +1 -1
  66. package/dist/chunks/{config-6pc27hjz.js → generate-6pc27hjz.js} +2 -2
  67. package/dist/chunks/{config-sk4te5ak.js → generate-6v2dyjqx.js} +25 -25
  68. package/dist/chunks/{config-6km63wvd.js → generate-732ar3t7.js} +21 -21
  69. package/dist/chunks/{config-qnv5e02b.js → generate-7ak6y54g.js} +19 -19
  70. package/dist/chunks/{config-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{config-7dqw4kz8.js → generate-7dqw4kz8.js} +1 -1
  72. package/dist/chunks/{config-ws9abje0.js → generate-7e733kya.js} +5 -5
  73. package/dist/chunks/{config-q7e6fk49.js → generate-7kcn46rt.js} +23 -23
  74. package/dist/chunks/{config-8d0exfkm.js → generate-7p7qn9e9.js} +24 -24
  75. package/dist/chunks/{config-fqtvmpfq.js → generate-7s451enq.js} +8 -8
  76. package/dist/chunks/{config-9mkjfjeb.js → generate-7v8m1a1x.js} +25 -25
  77. package/dist/chunks/{config-2f04pwep.js → generate-7w99qc9d.js} +3 -3
  78. package/dist/chunks/{config-25be0864.js → generate-814v6m4p.js} +15 -15
  79. package/dist/chunks/{config-2d52yt7h.js → generate-821ermd3.js} +17 -17
  80. package/dist/chunks/{config-w1eejvng.js → generate-84txncab.js} +5 -5
  81. package/dist/chunks/{config-q67st9n4.js → generate-85eh4j2g.js} +38 -38
  82. package/dist/chunks/{config-nzsvss4e.js → generate-85ej85ms.js} +5 -5
  83. package/dist/chunks/{config-8d7r5vzw.js → generate-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{config-95y9ape3.js → generate-8em80h20.js} +45 -45
  85. package/dist/chunks/{config-jnj9g4r4.js → generate-8f1bvar8.js} +53 -53
  86. package/dist/chunks/{config-q0mntv84.js → generate-8kd7g5rj.js} +6 -6
  87. package/dist/chunks/{config-8hj0xwzd.js → generate-8zddydas.js} +30 -30
  88. package/dist/chunks/{config-89392nta.js → generate-90ny61fc.js} +11 -11
  89. package/dist/chunks/{config-dmqymbqv.js → generate-91wxwphj.js} +7 -7
  90. package/dist/chunks/{config-ca9g9rqk.js → generate-938hwyrh.js} +5 -5
  91. package/dist/chunks/{config-94ek1h2f.js → generate-94ek1h2f.js} +2 -2
  92. package/dist/chunks/{config-m10m16yg.js → generate-95v4nsjn.js} +8 -8
  93. package/dist/chunks/{config-4wwqnvbr.js → generate-96ctqc5x.js} +4 -4
  94. package/dist/chunks/{config-bhemr9wh.js → generate-979a2w4f.js} +11 -11
  95. package/dist/chunks/{config-yvpx9whs.js → generate-9p1d72pj.js} +28 -28
  96. package/dist/chunks/{config-7t1gf4xk.js → generate-9pd2f5yz.js} +17 -17
  97. package/dist/chunks/{config-5cwfczjf.js → generate-9rgc45s8.js} +30 -30
  98. package/dist/chunks/{config-y8q9ap8c.js → generate-a1wxwke7.js} +19 -19
  99. package/dist/chunks/{config-b27vhd2z.js → generate-a46v4e4v.js} +4 -4
  100. package/dist/chunks/{config-3jgxhq06.js → generate-a5s3jpvp.js} +44 -44
  101. package/dist/chunks/{config-5xvskv7y.js → generate-a5vdvzcn.js} +11 -11
  102. package/dist/chunks/{config-hnw0gg26.js → generate-a8wkh39j.js} +5 -5
  103. package/dist/chunks/{config-aaet6srn.js → generate-aaet6srn.js} +2 -2
  104. package/dist/chunks/{config-2fa7a2cb.js → generate-aam4yepe.js} +22 -22
  105. package/dist/chunks/{config-sve1nj7a.js → generate-abngy076.js} +32 -32
  106. package/dist/chunks/{config-8rrryrvw.js → generate-agqxsrzz.js} +11 -11
  107. package/dist/chunks/{config-32775zb7.js → generate-ahw5tbvq.js} +329 -329
  108. package/dist/chunks/{config-fj4h7adg.js → generate-amejyd4w.js} +28 -28
  109. package/dist/chunks/{config-g8z1d8m7.js → generate-as21h9v2.js} +9 -9
  110. package/dist/chunks/{config-vk0rzmvc.js → generate-awnxdpmt.js} +47 -47
  111. package/dist/chunks/{config-5fn2wwsq.js → generate-awsejm39.js} +18 -18
  112. package/dist/chunks/{config-w7qq5tsb.js → generate-azgbrbkh.js} +20 -20
  113. package/dist/chunks/{config-yp2zyt9e.js → generate-b5v2de1g.js} +23 -23
  114. package/dist/chunks/{config-b6gygkdw.js → generate-b6gygkdw.js} +2 -2
  115. package/dist/chunks/{config-qsr9synt.js → generate-b7b4ctej.js} +5 -5
  116. package/dist/chunks/{config-29t9s0qq.js → generate-bazj3hza.js} +13 -13
  117. package/dist/chunks/{config-z3xax5j7.js → generate-bbqtwfcr.js} +14 -14
  118. package/dist/chunks/{config-4dzbwv5q.js → generate-bevq0g19.js} +32 -32
  119. package/dist/chunks/{config-yhd4mc25.js → generate-bhsjg0n3.js} +22 -22
  120. package/dist/chunks/{config-z04bxrmy.js → generate-bqjh05b8.js} +8 -8
  121. package/dist/chunks/{config-0vd4engx.js → generate-bt1jz474.js} +3 -3
  122. package/dist/chunks/generate-by5v678g.js +18 -0
  123. package/dist/chunks/{config-g31nq6sa.js → generate-c6pt6dva.js} +8 -8
  124. package/dist/chunks/{config-ckecvw8r.js → generate-ckecvw8r.js} +2 -2
  125. package/dist/chunks/{config-4kmetaym.js → generate-cnvngknd.js} +32 -32
  126. package/dist/chunks/{config-1mddym19.js → generate-cq4a9qth.js} +38 -38
  127. package/dist/chunks/{config-mxp0vfn9.js → generate-ctx36fda.js} +37 -37
  128. package/dist/chunks/{config-2sejkfem.js → generate-cwa6csj7.js} +9 -9
  129. package/dist/chunks/{config-byf60vcv.js → generate-d172wthb.js} +32 -32
  130. package/dist/chunks/{config-nbbwaq1x.js → generate-dbtagb3j.js} +10 -10
  131. package/dist/chunks/{config-dzjeaeqz.js → generate-ddvgmnvd.js} +5 -5
  132. package/dist/chunks/{config-kgw42yf8.js → generate-dgb4ba8k.js} +12 -12
  133. package/dist/chunks/{config-addxnjmp.js → generate-dnxkq42g.js} +4 -4
  134. package/dist/chunks/{config-qehv365y.js → generate-drfqr2ek.js} +9 -9
  135. package/dist/chunks/{config-drwq78ky.js → generate-drwq78ky.js} +1 -1
  136. package/dist/chunks/{config-qwb4tgp6.js → generate-e5cyx2g4.js} +20 -20
  137. package/dist/chunks/{config-ecfe7b91.js → generate-ecfe7b91.js} +2 -2
  138. package/dist/chunks/{config-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
  139. package/dist/chunks/{config-zz0c306v.js → generate-es45fn35.js} +20 -20
  140. package/dist/chunks/{config-etq0c3wd.js → generate-etq0c3wd.js} +1 -1
  141. package/dist/chunks/{config-vwpf3yy2.js → generate-f6cejng9.js} +23 -23
  142. package/dist/chunks/{config-46119t3w.js → generate-f77a5w0g.js} +13 -13
  143. package/dist/chunks/{config-sa09mgdh.js → generate-fjqeck8h.js} +16 -16
  144. package/dist/chunks/{config-292wsk96.js → generate-fjxg64x0.js} +5 -5
  145. package/dist/chunks/{config-4kd7e6ys.js → generate-fmhg56c5.js} +9 -9
  146. package/dist/chunks/{config-6tdhfkhk.js → generate-fscpw8f3.js} +5 -5
  147. package/dist/chunks/{config-9z9ew9nd.js → generate-fwzevyy4.js} +1 -1
  148. package/dist/chunks/{config-p37cw4rj.js → generate-g0445xdp.js} +8 -8
  149. package/dist/chunks/{config-3d257yh9.js → generate-g0a45qje.js} +9 -9
  150. package/dist/chunks/{config-jwhtpyzr.js → generate-gaa1tzxa.js} +16 -16
  151. package/dist/chunks/{config-77m06x4p.js → generate-gbs6e6v2.js} +11 -11
  152. package/dist/chunks/{config-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
  153. package/dist/chunks/{config-a0ex1whv.js → generate-gf4w2vvn.js} +14 -14
  154. package/dist/chunks/{config-jha2wz63.js → generate-gh484rvf.js} +74 -74
  155. package/dist/chunks/{config-dr8yj0jr.js → generate-gknmnwsv.js} +9 -9
  156. package/dist/chunks/{config-gv6a8nnw.js → generate-gv6a8nnw.js} +2 -2
  157. package/dist/chunks/{config-0t7zfrp0.js → generate-gxr0tf1h.js} +2 -2
  158. package/dist/chunks/{config-xpkwndmr.js → generate-h0kdtxf8.js} +30 -30
  159. package/dist/chunks/{config-qexff29z.js → generate-h35vggef.js} +8 -8
  160. package/dist/chunks/{config-xks95tas.js → generate-h37r8vbk.js} +29 -29
  161. package/dist/chunks/{config-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
  162. package/dist/chunks/{config-hekxc47r.js → generate-hd8vw2pw.js} +1 -1
  163. package/dist/chunks/{config-z349dkze.js → generate-hf41t8pz.js} +20 -20
  164. package/dist/chunks/{config-510m7gjw.js → generate-hnr5yq9h.js} +5 -5
  165. package/dist/chunks/{config-e1n7rw9f.js → generate-hr33daew.js} +4 -4
  166. package/dist/chunks/generate-hwbqwnb3.js +252 -0
  167. package/dist/chunks/{config-ebp6b9tv.js → generate-hzm7snc9.js} +12 -12
  168. package/dist/chunks/{config-j56e64zr.js → generate-j56e64zr.js} +1 -1
  169. package/dist/chunks/{config-pmr4s4kc.js → generate-j83byb14.js} +4 -4
  170. package/dist/chunks/{config-tk3wdx18.js → generate-jf6ce2dj.js} +180 -180
  171. package/dist/chunks/{config-y0ghwd9k.js → generate-jk5wpxvf.js} +3 -3
  172. package/dist/chunks/{config-1sf86jmj.js → generate-jtknk089.js} +12 -12
  173. package/dist/chunks/{config-2shgxpvs.js → generate-jw2g4gey.js} +6 -6
  174. package/dist/chunks/{config-wgbxdxnn.js → generate-k2057gb1.js} +26 -26
  175. package/dist/chunks/{config-k3c624dm.js → generate-k3c624dm.js} +3 -3
  176. package/dist/chunks/{config-8gxqpgph.js → generate-k76fn4kw.js} +4 -4
  177. package/dist/chunks/{config-7jtbgzxh.js → generate-kambhmaz.js} +11 -11
  178. package/dist/chunks/{config-ff2d7thw.js → generate-m35av5wd.js} +23 -23
  179. package/dist/chunks/{config-m3fdjcah.js → generate-m3fdjcah.js} +1 -1
  180. package/dist/chunks/{config-v8fkb6at.js → generate-m86ds27b.js} +11 -11
  181. package/dist/chunks/{config-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{config-a8qx80kp.js → generate-md55ss1w.js} +16 -16
  183. package/dist/chunks/{config-jf3khhe6.js → generate-mmnbb39x.js} +6 -6
  184. package/dist/chunks/{config-eq1pz5kg.js → generate-mvfsc1pv.js} +3 -3
  185. package/dist/chunks/{config-xwm6bryg.js → generate-mvksx64m.js} +4 -4
  186. package/dist/chunks/{config-nej22d74.js → generate-n01ekzvg.js} +29 -29
  187. package/dist/chunks/{config-k0gdq8ga.js → generate-nbzsj80d.js} +8 -8
  188. package/dist/chunks/{config-mekq1jxg.js → generate-neq7j8hb.js} +31 -31
  189. package/dist/chunks/{config-cswq075c.js → generate-ngcky491.js} +55 -55
  190. package/dist/chunks/{config-syj77zjw.js → generate-nh7jf5qt.js} +18 -18
  191. package/dist/chunks/{config-dah29an0.js → generate-nmfetzj5.js} +4 -4
  192. package/dist/chunks/{config-yr1ytw2x.js → generate-nmmahyvw.js} +15 -15
  193. package/dist/chunks/{config-s8610hey.js → generate-nng2ktcm.js} +2 -2
  194. package/dist/chunks/{config-6jrp8t3j.js → generate-nreym987.js} +11 -11
  195. package/dist/chunks/{config-eqht9cbe.js → generate-nt6ypc5t.js} +23 -23
  196. package/dist/chunks/{config-4xh623zh.js → generate-nvefchs6.js} +26 -26
  197. package/dist/chunks/{config-ead3g9p8.js → generate-nxhqveyz.js} +5 -5
  198. package/dist/chunks/{config-d7wsq8bv.js → generate-nzsh53q3.js} +14 -14
  199. package/dist/chunks/{config-2vpry5jy.js → generate-p1cfyvt1.js} +15 -15
  200. package/dist/chunks/{config-eq9h0d5y.js → generate-pacd6fme.js} +8 -8
  201. package/dist/chunks/{config-n8zm2rh5.js → generate-pfzrvarp.js} +4 -4
  202. package/dist/chunks/{config-87m1q7ht.js → generate-pggm8t3g.js} +10 -10
  203. package/dist/chunks/{config-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{config-pknna89w.js → generate-pknna89w.js} +1 -1
  205. package/dist/chunks/{config-h78069mn.js → generate-pr6rswsq.js} +11 -11
  206. package/dist/chunks/{config-90jdj94b.js → generate-prsj8pfn.js} +22 -22
  207. package/dist/chunks/{config-92azg307.js → generate-q4fmv0xv.js} +5 -5
  208. package/dist/chunks/{config-q8n9d2sh.js → generate-q8n9d2sh.js} +3 -3
  209. package/dist/chunks/{config-ce44v4st.js → generate-qb2tb8w1.js} +25 -25
  210. package/dist/chunks/{config-bdqrk2vk.js → generate-qq8x5mwt.js} +6 -6
  211. package/dist/chunks/{config-qsdy395h.js → generate-qsdy395h.js} +1 -1
  212. package/dist/chunks/{config-aa6e1bxm.js → generate-qtkmjp6n.js} +26 -26
  213. package/dist/chunks/{config-f1vyadhg.js → generate-qz02d4gv.js} +14 -14
  214. package/dist/chunks/{config-jhp1ybt8.js → generate-r0tjgr50.js} +16 -16
  215. package/dist/chunks/{config-d7syg0tc.js → generate-r34cw8yr.js} +12 -12
  216. package/dist/chunks/{config-75jb4kyn.js → generate-r4xhx5yy.js} +12 -12
  217. package/dist/chunks/{config-jhser3r8.js → generate-r65s3bqz.js} +15 -15
  218. package/dist/chunks/{config-ze5v0a14.js → generate-rc1dmyce.js} +8 -8
  219. package/dist/chunks/{config-rdw6cm16.js → generate-rdw6cm16.js} +1 -1
  220. package/dist/chunks/{config-yfcxk4hn.js → generate-rfabxrr6.js} +24 -24
  221. package/dist/chunks/{config-eaj1djv9.js → generate-rhjbct0v.js} +8 -8
  222. package/dist/chunks/{config-wf79szkf.js → generate-rn2ttdtd.js} +22 -22
  223. package/dist/chunks/{config-w3c417zp.js → generate-rvqyhd8y.js} +3 -3
  224. package/dist/chunks/{config-1jz99jwb.js → generate-rw4cg28f.js} +48 -48
  225. package/dist/chunks/{config-b1gf7dz2.js → generate-rxsnry8w.js} +22 -22
  226. package/dist/chunks/{config-jq6r9rxs.js → generate-s708rks0.js} +4 -4
  227. package/dist/chunks/{config-1rzg8cx3.js → generate-sd7dhxs3.js} +32 -32
  228. package/dist/chunks/{config-pd37k1mn.js → generate-sfjqvhg3.js} +10 -10
  229. package/dist/chunks/{config-pq8y9jyn.js → generate-sfzrsyap.js} +9 -9
  230. package/dist/chunks/{config-6jcmgf9k.js → generate-svrzg09g.js} +8 -8
  231. package/dist/chunks/{config-0w59s7c2.js → generate-t54ngshn.js} +14 -14
  232. package/dist/chunks/{config-ba9gehx5.js → generate-tadj9bjf.js} +3 -3
  233. package/dist/chunks/{config-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{config-tcezcvh9.js → generate-tcezcvh9.js} +1 -1
  235. package/dist/chunks/{config-tdstcens.js → generate-tdstcens.js} +1 -1
  236. package/dist/chunks/{config-hzc9ca78.js → generate-tfn34vp9.js} +10 -10
  237. package/dist/chunks/{config-wzwsskye.js → generate-tfsskg12.js} +20 -20
  238. package/dist/chunks/{config-59akn9cc.js → generate-thke6090.js} +8 -8
  239. package/dist/chunks/{config-tvtrv512.js → generate-tvtrv512.js} +1 -1
  240. package/dist/chunks/{config-qgdgv7hk.js → generate-v4qgwr45.js} +3 -3
  241. package/dist/chunks/{config-3xvfcnst.js → generate-v9c8tcpz.js} +7 -7
  242. package/dist/chunks/{config-vd7rzxqf.js → generate-vd7rzxqf.js} +2 -2
  243. package/dist/chunks/{config-veqvce7d.js → generate-veqvce7d.js} +1 -1
  244. package/dist/chunks/{config-mjrszqca.js → generate-vffhp2gv.js} +34 -34
  245. package/dist/chunks/{config-c6t9gnna.js → generate-vy2q9tj0.js} +11 -11
  246. package/dist/chunks/{config-vzcthcp8.js → generate-vzcthcp8.js} +1 -1
  247. package/dist/chunks/{config-vzs5sf6e.js → generate-vzs5sf6e.js} +1 -1
  248. package/dist/chunks/{config-0x3pdc3s.js → generate-w1jbyrm2.js} +69 -69
  249. package/dist/chunks/{config-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{config-wd3x2cqz.js → generate-wd3x2cqz.js} +2 -2
  251. package/dist/chunks/{config-wd87259q.js → generate-wd87259q.js} +1 -1
  252. package/dist/chunks/{config-wkvewthv.js → generate-wgj5v4hd.js} +22 -22
  253. package/dist/chunks/{config-jge473sv.js → generate-wj63x7hs.js} +11 -11
  254. package/dist/chunks/{config-vbfgae2j.js → generate-wj76ss2k.js} +4 -4
  255. package/dist/chunks/{config-b9hntxh7.js → generate-wjep8sxw.js} +12 -12
  256. package/dist/chunks/{config-q3pdm90z.js → generate-wrb2h0pz.js} +21 -21
  257. package/dist/chunks/{config-5t7tt675.js → generate-x0fjgrm3.js} +14 -14
  258. package/dist/chunks/{config-x1ezjp6w.js → generate-x1ezjp6w.js} +1 -1
  259. package/dist/chunks/{config-b164etxs.js → generate-x536ta9q.js} +25 -25
  260. package/dist/chunks/{config-kwwj852z.js → generate-xa3tz7a2.js} +87 -87
  261. package/dist/chunks/{config-5mvwrzry.js → generate-xb6c13qf.js} +25 -25
  262. package/dist/chunks/{config-dmqcgk4z.js → generate-xkntkrq7.js} +5 -5
  263. package/dist/chunks/{config-asnp7hhc.js → generate-xnvjtjgs.js} +4 -4
  264. package/dist/chunks/{config-2sz29cz1.js → generate-xp2x8we8.js} +23 -23
  265. package/dist/chunks/{config-6k72yjme.js → generate-xrtm2pyg.js} +21 -21
  266. package/dist/chunks/{config-yttf4vyv.js → generate-y153a536.js} +3 -3
  267. package/dist/chunks/{config-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{config-y5df08dr.js → generate-y5df08dr.js} +5 -5
  269. package/dist/chunks/{config-ypxgwkzp.js → generate-y5njdhxq.js} +7 -7
  270. package/dist/chunks/{config-44ak30pa.js → generate-y5rf7nzv.js} +4 -4
  271. package/dist/chunks/{config-y71avatq.js → generate-y71avatq.js} +1 -1
  272. package/dist/chunks/{config-h896pcm5.js → generate-yf4jcbx9.js} +6 -6
  273. package/dist/chunks/{config-mt9yrtbx.js → generate-ygkdy722.js} +1 -1
  274. package/dist/chunks/{config-tq32sg09.js → generate-ymftmb4x.js} +24 -24
  275. package/dist/chunks/{config-yp2x3t23.js → generate-yp2x3t23.js} +1 -1
  276. package/dist/chunks/{config-q2gm30vq.js → generate-yp5y7gxn.js} +6 -6
  277. package/dist/chunks/{config-yrhqyw5v.js → generate-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{config-12xz87kv.js → generate-yrqbhy7t.js} +3 -3
  279. package/dist/chunks/{config-yrznvahk.js → generate-yrznvahk.js} +2 -2
  280. package/dist/chunks/generate-ysdhkd7t.js +26 -0
  281. package/dist/chunks/{config-z07pqspn.js → generate-z07pqspn.js} +3 -3
  282. package/dist/chunks/{config-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{config-0q3s84gs.js → generate-z0hkwef7.js} +32 -32
  284. package/dist/chunks/{config-s8fxn872.js → generate-z3mwdy1e.js} +13 -13
  285. package/dist/chunks/{config-z63w68vq.js → generate-z63w68vq.js} +2 -2
  286. package/dist/chunks/{config-yk4jbxhg.js → generate-z9mfjqhv.js} +10 -10
  287. package/dist/chunks/{config-zeh9ct20.js → generate-zeh9ct20.js} +2 -2
  288. package/dist/chunks/{config-s5cnhrvf.js → generate-zhdcmryh.js} +15 -15
  289. package/dist/chunks/{config-zz3bkaqy.js → generate-zm45vcs9.js} +25 -25
  290. package/dist/chunks/{config-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
  291. package/dist/chunks/{config-zxq2ej10.js → generate-zxq2ej10.js} +1 -1
  292. package/dist/chunks/{config-z75a89z7.js → generate-zz5kw0a1.js} +19 -19
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +7 -7
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +83 -83
  298. package/dist/config/discovery.js +82 -82
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +125 -125
  302. package/dist/config/plugin/command.js +215 -215
  303. package/dist/config/plugin/compaction.js +161 -161
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +125 -125
  310. package/dist/config/plugin/mcp.js +132 -132
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +123 -123
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +144 -144
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +126 -126
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +122 -122
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +124 -124
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +85 -85
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +372 -372
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +1 -1
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +74 -74
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +228 -228
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +11 -11
  431. package/dist/filesystem.js +102 -102
  432. package/dist/form.js +86 -86
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +87 -87
  435. package/dist/generate.js +101 -101
  436. package/dist/git.js +6 -6
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +99 -99
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +363 -363
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +5 -5
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +87 -87
  466. package/dist/job.js +77 -77
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +135 -135
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +360 -360
  473. package/dist/location.js +83 -83
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +109 -109
  477. package/dist/mcp/instructions.js +129 -129
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +99 -99
  482. package/dist/model-resolver.js +98 -98
  483. package/dist/model.js +102 -102
  484. package/dist/models-dev.js +107 -107
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +80 -80
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +113 -113
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +86 -86
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +104 -104
  495. package/dist/plugin/command.js +102 -102
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +219 -219
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +335 -335
  501. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  502. package/dist/plugin/models-dev.js +96 -96
  503. package/dist/plugin/module.js +5 -5
  504. package/dist/plugin/optimize.js +2 -2
  505. package/dist/plugin/plan.js +102 -102
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  508. package/dist/plugin/provider/azure.js +122 -122
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/chatgpt.js +93 -93
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +119 -119
  515. package/dist/plugin/provider/digitalocean.js +93 -93
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +95 -95
  520. package/dist/plugin/provider/gitlab.js +93 -93
  521. package/dist/plugin/provider/google-vertex.js +90 -90
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +78 -78
  524. package/dist/plugin/provider/lmstudio.js +122 -122
  525. package/dist/plugin/provider/modal.js +92 -92
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +120 -120
  528. package/dist/plugin/provider/openai.js +93 -93
  529. package/dist/plugin/provider/opencode.js +95 -95
  530. package/dist/plugin/provider/openrouter.js +91 -91
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +79 -79
  533. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  534. package/dist/plugin/provider/sap-ai-core.js +91 -91
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +90 -90
  539. package/dist/plugin/provider/vllm.js +122 -122
  540. package/dist/plugin/provider/xai.js +91 -91
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +163 -163
  543. package/dist/plugin/sdk.js +76 -76
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +141 -141
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +350 -350
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +2 -2
  550. package/dist/plugin/vcs/git.js +86 -86
  551. package/dist/plugin/vcs/hg.js +86 -86
  552. package/dist/plugin/verbosity.js +93 -93
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +6 -6
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +224 -224
  562. package/dist/project/schema.js +8 -8
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +84 -84
  565. package/dist/provider.js +101 -101
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +93 -93
  569. package/dist/reference/instructions.js +87 -87
  570. package/dist/reference.js +89 -89
  571. package/dist/repository-cache.js +81 -81
  572. package/dist/repository.js +3 -3
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +95 -95
  575. package/dist/rpc.js +86 -86
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +129 -129
  580. package/dist/session/context.js +153 -153
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +5 -5
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +225 -225
  586. package/dist/session/execution.js +126 -126
  587. package/dist/session/generate.js +152 -152
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +86 -86
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +73 -73
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +4 -4
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +120 -120
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +1 -1
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +232 -232
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +2 -2
  610. package/dist/session/runner/step.js +126 -126
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +170 -170
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +73 -73
  618. package/dist/session/store.js +85 -85
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +211 -211
  621. package/dist/session/system-prompt.js +1 -1
  622. package/dist/session/title.js +157 -157
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +218 -218
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +219 -219
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +11 -11
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +107 -107
  634. package/dist/skill.js +110 -110
  635. package/dist/snapshot.js +91 -91
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +126 -126
  640. package/dist/tool/plugin/edit.js +120 -120
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +116 -116
  643. package/dist/tool/plugin/grep.js +124 -124
  644. package/dist/tool/plugin/mcp-resource.js +117 -117
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +116 -116
  647. package/dist/tool/plugin/question.js +101 -101
  648. package/dist/tool/plugin/read.js +119 -119
  649. package/dist/tool/plugin/shell.js +212 -212
  650. package/dist/tool/plugin/skill.js +113 -113
  651. package/dist/tool/plugin/subagent.js +220 -220
  652. package/dist/tool/plugin/webfetch.js +112 -112
  653. package/dist/tool/plugin/websearch.js +110 -110
  654. package/dist/tool/plugin/write.js +116 -116
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +14 -14
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +5 -5
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +3 -3
  671. package/dist/v1/config/config.js +14 -14
  672. package/dist/v1/config/error.js +2 -2
  673. package/dist/v1/config/formatter.js +5 -5
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +5 -5
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +92 -92
  678. package/dist/v1/config/permission.js +3 -3
  679. package/dist/v1/config/plugin.js +1 -1
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +3 -3
  684. package/dist/v1/permission.js +1 -1
  685. package/dist/variant.js +91 -91
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +89 -89
  688. package/dist/websearch.js +82 -82
  689. package/dist/wellknown/plugin.js +76 -76
  690. package/dist/wellknown.js +79 -79
  691. package/dist/workspace/driver.js +5 -5
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +80 -80
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +8 -8
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +89 -89
  698. package/dist/worktree.js +92 -92
  699. package/package.json +8 -8
  700. package/dist/chunks/config-9sh4wc5j.js +0 -18
  701. package/dist/chunks/config-k8cz98np.js +0 -252
  702. package/dist/chunks/config-sv1g477j.js +0 -26
  703. /package/dist/chunks/{config-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
  704. /package/dist/chunks/{config-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
  705. /package/dist/chunks/{config-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
  706. /package/dist/chunks/{config-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
  707. /package/dist/chunks/{config-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
  708. /package/dist/chunks/{config-24dcb14g.js → generate-24dcb14g.js} +0 -0
  709. /package/dist/chunks/{config-2710q6r3.js → generate-2710q6r3.js} +0 -0
  710. /package/dist/chunks/{config-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
  711. /package/dist/chunks/{config-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
  712. /package/dist/chunks/{config-34c7v6d4.js → generate-34c7v6d4.js} +0 -0
  713. /package/dist/chunks/{config-359p4xyc.js → generate-359p4xyc.js} +0 -0
  714. /package/dist/chunks/{config-3asan66x.js → generate-3asan66x.js} +0 -0
  715. /package/dist/chunks/{config-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
  716. /package/dist/chunks/{config-3w5fmr99.js → generate-3w5fmr99.js} +0 -0
  717. /package/dist/chunks/{config-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
  718. /package/dist/chunks/{config-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
  719. /package/dist/chunks/{config-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
  720. /package/dist/chunks/{config-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
  721. /package/dist/chunks/{config-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
  722. /package/dist/chunks/{config-53557ph1.js → generate-53557ph1.js} +0 -0
  723. /package/dist/chunks/{config-550bvhaj.js → generate-550bvhaj.js} +0 -0
  724. /package/dist/chunks/{config-5qd3pb7m.js → generate-5qd3pb7m.js} +0 -0
  725. /package/dist/chunks/{config-6prwharc.js → generate-6prwharc.js} +0 -0
  726. /package/dist/chunks/{config-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
  727. /package/dist/chunks/{config-7m9af43g.js → generate-7m9af43g.js} +0 -0
  728. /package/dist/chunks/{config-822emrt2.js → generate-822emrt2.js} +0 -0
  729. /package/dist/chunks/{config-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
  730. /package/dist/chunks/{config-8n3pysct.js → generate-8n3pysct.js} +0 -0
  731. /package/dist/chunks/{config-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
  732. /package/dist/chunks/{config-922hggd3.js → generate-922hggd3.js} +0 -0
  733. /package/dist/chunks/{config-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
  734. /package/dist/chunks/{config-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
  735. /package/dist/chunks/{config-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
  736. /package/dist/chunks/{config-af5trqkr.js → generate-af5trqkr.js} +0 -0
  737. /package/dist/chunks/{config-afrmfg78.js → generate-afrmfg78.js} +0 -0
  738. /package/dist/chunks/{config-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
  739. /package/dist/chunks/{config-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
  740. /package/dist/chunks/{config-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
  741. /package/dist/chunks/{config-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
  742. /package/dist/chunks/{config-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
  743. /package/dist/chunks/{config-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
  744. /package/dist/chunks/{config-d9fn303g.js → generate-d9fn303g.js} +0 -0
  745. /package/dist/chunks/{config-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
  746. /package/dist/chunks/{config-dajrwvna.js → generate-dajrwvna.js} +0 -0
  747. /package/dist/chunks/{config-dap0rakb.js → generate-dap0rakb.js} +0 -0
  748. /package/dist/chunks/{config-df08tz66.js → generate-df08tz66.js} +0 -0
  749. /package/dist/chunks/{config-dy18nga0.js → generate-dy18nga0.js} +0 -0
  750. /package/dist/chunks/{config-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
  751. /package/dist/chunks/{config-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
  752. /package/dist/chunks/{config-ec1grn59.js → generate-ec1grn59.js} +0 -0
  753. /package/dist/chunks/{config-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
  754. /package/dist/chunks/{config-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
  755. /package/dist/chunks/{config-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
  756. /package/dist/chunks/{config-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
  757. /package/dist/chunks/{config-faypxj3z.js → generate-faypxj3z.js} +0 -0
  758. /package/dist/chunks/{config-fd410y7t.js → generate-fd410y7t.js} +0 -0
  759. /package/dist/chunks/{config-fxgpk5d8.js → generate-fxgpk5d8.js} +0 -0
  760. /package/dist/chunks/{config-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
  761. /package/dist/chunks/{config-g86h250q.js → generate-g86h250q.js} +0 -0
  762. /package/dist/chunks/{config-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
  763. /package/dist/chunks/{config-gftt206x.js → generate-gftt206x.js} +0 -0
  764. /package/dist/chunks/{config-hjbc5kem.js → generate-hjbc5kem.js} +0 -0
  765. /package/dist/chunks/{config-hk9envan.js → generate-hk9envan.js} +0 -0
  766. /package/dist/chunks/{config-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
  767. /package/dist/chunks/{config-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
  768. /package/dist/chunks/{config-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
  769. /package/dist/chunks/{config-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
  770. /package/dist/chunks/{config-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
  771. /package/dist/chunks/{config-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
  772. /package/dist/chunks/{config-mp448xyj.js → generate-mp448xyj.js} +0 -0
  773. /package/dist/chunks/{config-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
  774. /package/dist/chunks/{config-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
  775. /package/dist/chunks/{config-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
  776. /package/dist/chunks/{config-njntx4h6.js → generate-njntx4h6.js} +0 -0
  777. /package/dist/chunks/{config-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
  778. /package/dist/chunks/{config-q74kybfr.js → generate-q74kybfr.js} +0 -0
  779. /package/dist/chunks/{config-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
  780. /package/dist/chunks/{config-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
  781. /package/dist/chunks/{config-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
  782. /package/dist/chunks/{config-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
  783. /package/dist/chunks/{config-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
  784. /package/dist/chunks/{config-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
  785. /package/dist/chunks/{config-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
  786. /package/dist/chunks/{config-sk3qaz4a.js → generate-sk3qaz4a.js} +0 -0
  787. /package/dist/chunks/{config-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
  788. /package/dist/chunks/{config-w803qqfp.js → generate-w803qqfp.js} +0 -0
  789. /package/dist/chunks/{config-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
  790. /package/dist/chunks/{config-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
  791. /package/dist/chunks/{config-wtztk69x.js → generate-wtztk69x.js} +0 -0
  792. /package/dist/chunks/{config-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
  793. /package/dist/chunks/{config-x61499pn.js → generate-x61499pn.js} +0 -0
  794. /package/dist/chunks/{config-y44na4kk.js → generate-y44na4kk.js} +0 -0
  795. /package/dist/chunks/{config-y8cydn3q.js → generate-y8cydn3q.js} +0 -0
  796. /package/dist/chunks/{config-y8f7s663.js → generate-y8f7s663.js} +0 -0
  797. /package/dist/chunks/{config-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
  798. /package/dist/chunks/{config-ym463w8f.js → generate-ym463w8f.js} +0 -0
  799. /package/dist/chunks/{config-z9919s4g.js → generate-z9919s4g.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  useragent2
3
- } from "./config-bhemr9wh.js";
3
+ } from "./generate-979a2w4f.js";
4
4
  import {
5
- Service82
6
- } from "./config-d7syg0tc.js";
5
+ Service83
6
+ } from "./generate-r34cw8yr.js";
7
7
  import {
8
8
  OAuth3,
9
- Event16
10
- } from "./config-arjb37bx.js";
9
+ Event21
10
+ } from "./generate-0085hr19.js";
11
11
  import {
12
- ID9,
12
+ ID14,
13
13
  MethodID2
14
- } from "./config-sve1nj7a.js";
14
+ } from "./generate-abngy076.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./config-pjvnvgmy.js";
18
+ } from "./generate-pjvnvgmy.js";
19
19
  import {
20
- ID8,
20
+ ID13,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./config-0q3s84gs.js";
23
+ } from "./generate-z0hkwef7.js";
24
24
  import {
25
25
  get5
26
- } from "./config-54ma36ye.js";
26
+ } from "./generate-54ma36ye.js";
27
27
 
28
28
  // src/plugin/provider/openai.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
@@ -47,7 +47,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
47
47
  }));
48
48
  var decodeClaims = Schema.decodeUnknownOption(Claims);
49
49
  var browser = (app) => ({
50
- integrationID: ID9.make("openai"),
50
+ integrationID: ID14.make("openai"),
51
51
  method: {
52
52
  id: browserMethodID,
53
53
  type: "oauth",
@@ -120,7 +120,7 @@ function addressInUse(error) {
120
120
  return "code" in error && error.code === "EADDRINUSE";
121
121
  }
122
122
  var headless = (app) => ({
123
- integrationID: ID9.make("openai"),
123
+ integrationID: ID14.make("openai"),
124
124
  method: {
125
125
  id: headlessMethodID,
126
126
  type: "oauth",
@@ -165,7 +165,7 @@ var headless = (app) => ({
165
165
  var OpenAIPlugin3 = define({
166
166
  id: "opencode.provider.openai",
167
167
  effect: Effect.fn(function* (ctx) {
168
- const bus = yield* Service82;
168
+ const bus = yield* Service83;
169
169
  const loading = Semaphore.makeUnsafe(1);
170
170
  let chatgpt;
171
171
  const load = Effect.fn("OpenAIPlugin.load")(function* () {
@@ -181,7 +181,7 @@ var OpenAIPlugin3 = define({
181
181
  });
182
182
  yield* load();
183
183
  yield* ctx.provider.transform((providers) => {
184
- const item = providers.get(ID8.openai);
184
+ const item = providers.get(ID13.openai);
185
185
  if (!item)
186
186
  return;
187
187
  const account = chatgpt?.metadata?.accountID;
@@ -200,7 +200,7 @@ var OpenAIPlugin3 = define({
200
200
  });
201
201
  });
202
202
  yield* ctx.model.transform((models) => {
203
- for (const model of models.list(ID8.openai)) {
203
+ for (const model of models.list(ID13.openai)) {
204
204
  models.update(model.providerID, model.id, (draft) => {
205
205
  if (!chatgpt)
206
206
  return;
@@ -231,14 +231,14 @@ var OpenAIPlugin3 = define({
231
231
  }));
232
232
  evt.headers.originator = "opencode";
233
233
  evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
234
- }), { providerID: ID8.openai });
234
+ }), { providerID: ID13.openai });
235
235
  const omitOutputLimit = (evt) => Effect.sync(() => {
236
236
  delete evt.options.maxTokens;
237
237
  });
238
238
  for (const name of ["context", "compaction"])
239
- yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID8.openai });
239
+ yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID13.openai });
240
240
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
241
- yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
241
+ yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
242
242
  })
243
243
  });
244
244
  function headers(contentType, app) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./config-9rqn6x4v.js";
3
+ } from "./generate-9rqn6x4v.js";
4
4
 
5
5
  // src/config/markdown.ts
6
6
  var exports_markdown = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create3
3
- } from "./config-rdw6cm16.js";
3
+ } from "./generate-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./config-9rqn6x4v.js";
6
+ } from "./generate-9rqn6x4v.js";
7
7
 
8
8
  // src/image.ts
9
9
  var exports_image2 = {};
@@ -11,9 +11,9 @@ __export(exports_image2, {
11
11
  DecodeError: () => DecodeError2,
12
12
  Image: () => exports_image2,
13
13
  ResizerUnavailableError: () => ResizerUnavailableError2,
14
- Service: () => Service39,
14
+ Service: () => Service55,
15
15
  SizeError: () => SizeError2,
16
- node: () => node42
16
+ node: () => node57
17
17
  });
18
18
  import { makeLocationNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
42
42
  }
43
43
  }
44
44
 
45
- class Service39 extends Context.Service()("@opencode/Image") {
45
+ class Service55 extends Context.Service()("@opencode/Image") {
46
46
  }
47
- var layer = Layer.effect(Service39, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service55, Effect.gen(function* () {
48
48
  const state = create3({
49
49
  name: "image",
50
50
  initial: () => ({
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
74
74
  const normalize = yield* loadAdapter;
75
75
  return yield* normalize(resource, content, state.get());
76
76
  });
77
- return Service39.of({ transform: state.transform, reload: state.reload, normalize });
77
+ return Service55.of({ transform: state.transform, reload: state.reload, normalize });
78
78
  }));
79
- var node42 = makeLocationNode({ service: Service39, layer, deps: [] });
79
+ var node57 = makeLocationNode({ service: Service55, layer, deps: [] });
80
80
 
81
- export { ResizerUnavailableError2, DecodeError2, SizeError2, Service39, node42, exports_image2 };
81
+ export { ResizerUnavailableError2, DecodeError2, SizeError2, Service55, node57, exports_image2 };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service82,
4
- node86
5
- } from "./config-d7syg0tc.js";
6
- import {
7
3
  Service83,
8
4
  node87
9
- } from "./config-hzc9ca78.js";
5
+ } from "./generate-r34cw8yr.js";
6
+ import {
7
+ Service62,
8
+ node65
9
+ } from "./generate-tfn34vp9.js";
10
10
  import {
11
11
  __export
12
- } from "./config-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: () => Event12,
19
+ Event: () => Event13,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service66,
22
+ Service: () => Service61,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node69,
25
+ node: () => node64,
26
26
  resolve: () => resolve4
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
@@ -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 Service66 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service61 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event12 = {
51
+ var Event13 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
@@ -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(Service66, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service61, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service83;
81
- const bus = yield* Service82;
80
+ const kv = yield* Service62;
81
+ const bus = yield* Service83;
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(Service66, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event12.Updated, {});
112
+ yield* bus.publish(Event13.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service66.of({
115
+ return Service61.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(Service66, 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(Event12.Updated, {});
128
+ yield* bus.publish(Event13.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(Service66, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event12.Updated, {});
141
+ yield* bus.publish(Event13.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 node69 = makeGlobalNode({ service: Service66, layer, deps: [httpClient, node87, node86] });
146
+ var node64 = makeGlobalNode({ service: Service61, layer, deps: [httpClient, node65, node87] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service66, Event12, inspect2, resolve4, node69, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service61, Event13, inspect2, resolve4, node64, exports_wellknown };
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./config-922hggd3.js";
3
+ } from "./generate-922hggd3.js";
4
4
  import {
5
5
  WorktreeError2,
6
6
  node85
7
- } from "./config-y5df08dr.js";
7
+ } from "./generate-y5df08dr.js";
8
8
  import {
9
9
  Slug2
10
- } from "./config-gebd4c9n.js";
10
+ } from "./generate-gebd4c9n.js";
11
11
  import {
12
12
  Service84,
13
13
  node88
14
- } from "./config-12xz87kv.js";
14
+ } from "./generate-yrqbhy7t.js";
15
15
  import {
16
- Service82,
17
- node86
18
- } from "./config-d7syg0tc.js";
16
+ Service83,
17
+ node87
18
+ } from "./generate-r34cw8yr.js";
19
19
  import {
20
20
  ProjectTable2
21
- } from "./config-wd3x2cqz.js";
21
+ } from "./generate-wd3x2cqz.js";
22
22
  import {
23
23
  WorktreeTable2
24
- } from "./config-94ek1h2f.js";
24
+ } from "./generate-94ek1h2f.js";
25
25
  import {
26
- ID17,
26
+ ID16,
27
27
  NotFoundError11
28
- } from "./config-9bmgxnfb.js";
28
+ } from "./generate-1aft4d1r.js";
29
29
  import {
30
30
  Ref4
31
- } from "./config-dzjeaeqz.js";
31
+ } from "./generate-ddvgmnvd.js";
32
32
  import {
33
- Service53,
34
- node55
35
- } from "./config-pq8y9jyn.js";
33
+ Service66,
34
+ node69
35
+ } from "./generate-sfzrsyap.js";
36
36
  import {
37
37
  DirectoryUnavailableError2,
38
38
  canonical2
39
- } from "./config-gv6a8nnw.js";
39
+ } from "./generate-gv6a8nnw.js";
40
40
  import {
41
41
  make15
42
- } from "./config-q8n9d2sh.js";
42
+ } from "./generate-q8n9d2sh.js";
43
43
  import {
44
- Service47
45
- } from "./config-a0ex1whv.js";
44
+ Service42
45
+ } from "./generate-gf4w2vvn.js";
46
46
  import {
47
47
  __export
48
- } from "./config-9rqn6x4v.js";
48
+ } from "./generate-9rqn6x4v.js";
49
49
 
50
50
  // src/worktree.ts
51
51
  var exports_worktree2 = {};
@@ -60,12 +60,12 @@ __export(exports_worktree2, {
60
60
  ListEntry: () => ListEntry3,
61
61
  OperationError: () => OperationError2,
62
62
  RemoveInput: () => RemoveInput2,
63
- Service: () => Service46,
63
+ Service: () => Service41,
64
64
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
65
65
  StrategyID: () => StrategyID2,
66
66
  StrategyUnavailableError: () => StrategyUnavailableError2,
67
67
  Worktree: () => exports_worktree2,
68
- node: () => node49
68
+ node: () => node44
69
69
  });
70
70
  import { Context, Effect, Layer, Schema } from "effect";
71
71
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -83,7 +83,7 @@ var Info7 = Worktree.Info;
83
83
  var List2 = Worktree.List;
84
84
  var ListEntry3 = Worktree.ListEntry;
85
85
 
86
- class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID17, directory: Schema.optional(AbsolutePath2) }) {
86
+ class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID16, directory: Schema.optional(AbsolutePath2) }) {
87
87
  }
88
88
 
89
89
  class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
@@ -96,15 +96,15 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
96
96
  }
97
97
  var Event9 = Worktree.Event;
98
98
 
99
- class Service46 extends Context.Service()("@opencode/Worktree") {
99
+ class Service41 extends Context.Service()("@opencode/Worktree") {
100
100
  }
101
- var layer = Layer.effect(Service46, Effect.gen(function* () {
101
+ var layer = Layer.effect(Service41, Effect.gen(function* () {
102
102
  const fs = yield* FSUtil.Service;
103
103
  const database = yield* Service84;
104
104
  const db = database.db;
105
- const bus = yield* Service82;
105
+ const bus = yield* Service83;
106
106
  const processService = yield* AppProcess.Service;
107
- const locations = yield* Service53;
107
+ const locations = yield* Service66;
108
108
  const gitStrategy = yield* make15;
109
109
  const project = Effect.fnUntraced(function* (projectID) {
110
110
  const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
@@ -120,7 +120,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
120
120
  const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
121
121
  const context = yield* locations.contextEffect(Ref4.make({ directory }));
122
122
  yield* Context.get(context, Plugin.Service).awaitActivation;
123
- return Context.get(context, Service47).get();
123
+ return Context.get(context, Service42).get();
124
124
  });
125
125
  const changed = Effect.fnUntraced(function* (projectID, update) {
126
126
  if (update)
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
251
251
  })).pipe(Effect.orDie);
252
252
  yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
253
253
  }, Effect.scoped);
254
- return Service46.of({
254
+ return Service41.of({
255
255
  list: Effect.fn("Worktree.list")(function* (input) {
256
256
  yield* project(input.projectID);
257
257
  return yield* ops.list(input.projectID);
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
261
261
  refresh
262
262
  });
263
263
  }));
264
- var node49 = Node.makeGlobalNode({
265
- service: Service46,
264
+ var node44 = Node.makeGlobalNode({
265
+ service: Service41,
266
266
  layer,
267
- deps: [FSUtil.node, node85, node86, node88, AppProcess.node, node55]
267
+ deps: [FSUtil.node, node85, node87, node88, AppProcess.node, node69]
268
268
  });
269
269
  function operationError(strategy, operation, error) {
270
270
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
274
274
  });
275
275
  }
276
276
 
277
- export { StrategyID2, CreateInput3, RemoveInput2, Info7, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event9, Service46, node49, exports_worktree2, OperationError2 };
277
+ export { StrategyID2, CreateInput3, RemoveInput2, Info7, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event9, Service41, node44, exports_worktree2, OperationError2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WebSocketConstructor2
3
- } from "./config-y8cydn3q.js";
3
+ } from "./generate-y8cydn3q.js";
4
4
  import {
5
5
  __export
6
- } from "./config-9rqn6x4v.js";
6
+ } from "./generate-9rqn6x4v.js";
7
7
 
8
8
  // src/effect/app-node-platform.ts
9
9
  var exports_app_node_platform = {};
@@ -1,60 +1,60 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./config-y71avatq.js";
3
+ } from "./generate-y71avatq.js";
4
4
  import {
5
+ Service83,
6
+ node87
7
+ } from "./generate-r34cw8yr.js";
8
+ import {
9
+ Event21,
5
10
  Service82,
6
11
  node86
7
- } from "./config-d7syg0tc.js";
8
- import {
9
- Event16,
10
- Service70,
11
- node73
12
- } from "./config-arjb37bx.js";
12
+ } from "./generate-0085hr19.js";
13
13
  import {
14
14
  Service79,
15
15
  node83
16
- } from "./config-dzjeaeqz.js";
16
+ } from "./generate-ddvgmnvd.js";
17
17
  import {
18
- Service58,
19
- node60
20
- } from "./config-6km63wvd.js";
18
+ Service48,
19
+ node51
20
+ } from "./generate-732ar3t7.js";
21
21
  import {
22
- ID11,
23
- Service71,
24
- node74
25
- } from "./config-z8pd6906.js";
22
+ ID15,
23
+ Service78,
24
+ node82
25
+ } from "./generate-3ckkbjr6.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./config-rdw6cm16.js";
29
+ } from "./generate-rdw6cm16.js";
30
30
  import {
31
- ID9,
31
+ ID14,
32
32
  MethodID2,
33
- Service69,
34
- node72
35
- } from "./config-sve1nj7a.js";
33
+ Service77,
34
+ node81
35
+ } from "./generate-abngy076.js";
36
36
  import {
37
37
  __export
38
- } from "./config-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: () => Options4,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
48
48
  ResourceCatalog: () => ResourceCatalog2,
49
49
  ResourceContent: () => ResourceContent2,
50
50
  ResourceTemplate: () => ResourceTemplate2,
51
51
  ServerName: () => ServerName2,
52
- Service: () => Service34,
52
+ Service: () => Service30,
53
53
  Status: () => Status2,
54
54
  ToolCallError: () => ToolCallError2,
55
- configured: () => configured5,
56
- layer: () => layer13,
57
- node: () => node37
55
+ configured: () => configured4,
56
+ layer: () => layer12,
57
+ node: () => node34
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 NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
75
+ class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
76
76
  server: ServerName2
77
77
  }) {
78
78
  get message() {
@@ -91,21 +91,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
91
91
  var endpointLoads = makeUnsafe2();
92
92
  var cloneConfig = (config) => structuredClone(config);
93
93
 
94
- class Service34 extends Context.Service()("@opencode/MCP") {
94
+ class Service30 extends Context.Service()("@opencode/MCP") {
95
95
  }
96
- var Options5 = Schema.Struct({
96
+ var Options4 = Schema.Struct({
97
97
  clientInfo: Schema.optional(Schema.Struct({
98
98
  name: Schema.String,
99
99
  version: Schema.String
100
100
  }))
101
101
  });
102
- var layer13 = (options) => Layer.effect(Service34, Effect.gen(function* () {
102
+ var layer12 = (options) => Layer.effect(Service30, Effect.gen(function* () {
103
103
  const location = yield* Service79;
104
- const environment = yield* Service58;
105
- const bus = yield* Service82;
106
- const forms = yield* Service71;
107
- const integration = yield* Service69;
108
- const credentials = yield* Service70;
104
+ const environment = yield* Service48;
105
+ const bus = yield* Service83;
106
+ const forms = yield* Service78;
107
+ const integration = yield* Service77;
108
+ const credentials = yield* Service82;
109
109
  const root = yield* Effect.scope;
110
110
  const fork = yield* FiberSet.makeRuntime();
111
111
  const entries = new Map;
@@ -117,7 +117,7 @@ var layer13 = (options) => Layer.effect(Service34, Effect.gen(function* () {
117
117
  return;
118
118
  const remote = entry.config;
119
119
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
120
- const integrationID = ID9.make(suffix);
120
+ const integrationID = ID14.make(suffix);
121
121
  entry.integrationID = integrationID;
122
122
  owned.add(integrationID);
123
123
  const methodID = MethodID2.make(suffix);
@@ -133,7 +133,7 @@ var layer13 = (options) => Layer.effect(Service34, Effect.gen(function* () {
133
133
  method: { id: methodID, type: "oauth", label: name },
134
134
  authorize: () => Effect.gen(function* () {
135
135
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
136
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service70, credentials));
136
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service82, credentials));
137
137
  })
138
138
  });
139
139
  }).pipe(Scope.provide(scope));
@@ -142,19 +142,19 @@ var layer13 = (options) => Layer.effect(Service34, Effect.gen(function* () {
142
142
  const name = ServerName2.make(server);
143
143
  const entry = entries.get(name);
144
144
  if (!entry)
145
- return yield* new NotFoundError5({ server: name });
145
+ return yield* new NotFoundError4({ server: name });
146
146
  return { name, entry };
147
147
  });
148
148
  const connectProvider = Effect.fnUntraced(function* (entry) {
149
149
  if (entry.config.type !== "remote" || !entry.integrationID)
150
150
  return;
151
151
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
152
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service70, credentials));
152
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service82, credentials));
153
153
  });
154
154
  const elicitation = {
155
155
  create: (input) => Effect.gen(function* () {
156
156
  if (input.params.mode === "url") {
157
- const formID = ID11.create();
157
+ const formID = ID15.create();
158
158
  const elicitationID = input.params.elicitationId;
159
159
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
160
160
  if (key)
@@ -257,7 +257,7 @@ var layer13 = (options) => Layer.effect(Service34, Effect.gen(function* () {
257
257
  entry.scope = scope;
258
258
  const authProvider = yield* connectProvider(entry);
259
259
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
260
- 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(Service58, environment), Scope.provide(scope));
260
+ 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(Service48, environment), Scope.provide(scope));
261
261
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
262
262
  if (Exit.isSuccess(result)) {
263
263
  entry.client = result.value.connection;
@@ -382,7 +382,7 @@ var layer13 = (options) => Layer.effect(Service34, Effect.gen(function* () {
382
382
  yield* startServer(name, entry);
383
383
  }).pipe(locks.withLock(name));
384
384
  });
385
- fork(bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
385
+ fork(bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
386
386
  const state = create3({
387
387
  name: "mcp",
388
388
  initial: () => ({
@@ -408,7 +408,7 @@ var layer13 = (options) => Layer.effect(Service34, Effect.gen(function* () {
408
408
  }),
409
409
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
410
410
  });
411
- return Service34.of({
411
+ return Service30.of({
412
412
  transform: state.transform,
413
413
  reload: state.reload,
414
414
  servers: Effect.fn("MCP.servers")(function* () {
@@ -514,14 +514,14 @@ function mergeCatalogs(catalogs) {
514
514
  templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
515
515
  });
516
516
  }
517
- function configured5(options) {
517
+ function configured4(options) {
518
518
  return makeLocationNode({
519
- service: Service34,
520
- layer: layer13(options),
521
- deps: [node83, node60, node86, node74, node72, node73]
519
+ service: Service30,
520
+ layer: layer12(options),
521
+ deps: [node83, node51, node87, node82, node81, node86]
522
522
  });
523
523
  }
524
- var node37 = configured5();
524
+ var node34 = configured4();
525
525
  function toElicitationField(key, property, required) {
526
526
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
527
527
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -572,4 +572,4 @@ function toElicitationField(key, property, required) {
572
572
  }
573
573
  }
574
574
 
575
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2, Service34, Options5, layer13, configured5, node37, exports_mcp4 };
575
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service30, Options4, layer12, configured4, node34, exports_mcp4 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./config-ym463w8f.js";
3
+ } from "./generate-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/gateway.ts
6
6
  var GatewayPlugin2 = createProviderPlugin2({