@opencode/core 0.0.0-dev-21199 → 0.0.0-dev-21201

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 (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{skill-wx4tanf7.js → generate-03gknxvn.js} +32 -32
  8. package/dist/chunks/{skill-1wy3a1da.js → generate-0805dz2c.js} +8 -8
  9. package/dist/chunks/{skill-d7q7g158.js → generate-080tfazd.js} +7 -7
  10. package/dist/chunks/{skill-trsmh1y6.js → generate-0ca0gn91.js} +14 -14
  11. package/dist/chunks/{skill-157xg8cq.js → generate-0ns3955d.js} +178 -178
  12. package/dist/chunks/{skill-0vbcp93d.js → generate-0vbcp93d.js} +2 -2
  13. package/dist/chunks/{skill-1j2x33v7.js → generate-0w8yd4gf.js} +18 -18
  14. package/dist/chunks/{skill-swdxt3e8.js → generate-0xw4533y.js} +8 -8
  15. package/dist/chunks/{skill-95gd5fnz.js → generate-149ww98r.js} +6 -6
  16. package/dist/chunks/{skill-ta7kf51t.js → generate-14tjad02.js} +33 -33
  17. package/dist/chunks/{skill-rhraev7y.js → generate-1acjjqhc.js} +4 -4
  18. package/dist/chunks/{skill-wf494znr.js → generate-24nextkm.js} +11 -11
  19. package/dist/chunks/{skill-ps2yhsm3.js → generate-24rc0c34.js} +25 -25
  20. package/dist/chunks/{skill-hh8xd2g7.js → generate-2hv7g8ph.js} +2 -2
  21. package/dist/chunks/{skill-gb51gx5j.js → generate-37hhh2vs.js} +1 -1
  22. package/dist/chunks/{skill-m8tc3etm.js → generate-3btk6sd6.js} +45 -45
  23. package/dist/chunks/{skill-3fc6dm20.js → generate-3fc6dm20.js} +1 -1
  24. package/dist/chunks/{skill-9hg616bm.js → generate-3g642jy4.js} +10 -10
  25. package/dist/chunks/{skill-xt4njr3s.js → generate-3g8j9he4.js} +1 -1
  26. package/dist/chunks/{skill-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
  27. package/dist/chunks/{skill-3hwn7j4h.js → generate-3hwn7j4h.js} +2 -2
  28. package/dist/chunks/{skill-p2w0np6h.js → generate-3kass1x4.js} +11 -11
  29. package/dist/chunks/{skill-yyvvzyvm.js → generate-3mkrtgmz.js} +17 -17
  30. package/dist/chunks/{skill-xjww6pxa.js → generate-3qvj434t.js} +84 -84
  31. package/dist/chunks/{skill-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
  32. package/dist/chunks/{skill-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
  33. package/dist/chunks/{skill-3zsf4n22.js → generate-3zsf4n22.js} +1 -1
  34. package/dist/chunks/{skill-pcf1k9th.js → generate-40jpxat6.js} +6 -6
  35. package/dist/chunks/{skill-r3ydk6z5.js → generate-42n7x6v3.js} +3 -3
  36. package/dist/chunks/{skill-vbhp0dye.js → generate-44e6fh5f.js} +45 -45
  37. package/dist/chunks/{skill-zyyv54cq.js → generate-46wps90y.js} +20 -20
  38. package/dist/chunks/{skill-711r5px4.js → generate-475gm7w9.js} +24 -24
  39. package/dist/chunks/{skill-4za8yt9x.js → generate-4f5f1e58.js} +16 -16
  40. package/dist/chunks/{skill-jcq65hc2.js → generate-4pggza71.js} +37 -37
  41. package/dist/chunks/{skill-ytw5y04d.js → generate-4y39m51q.js} +11 -11
  42. package/dist/chunks/{skill-54ma36ye.js → generate-54ma36ye.js} +1 -1
  43. package/dist/chunks/{skill-06xsmntz.js → generate-5bnha4a9.js} +2 -2
  44. package/dist/chunks/{skill-qv0n1xf7.js → generate-5e6kt3vp.js} +4 -4
  45. package/dist/chunks/{skill-5m9w47nd.js → generate-5m9w47nd.js} +1 -1
  46. package/dist/chunks/generate-5rafqc7n.js +26 -0
  47. package/dist/chunks/{skill-xmjm0ap3.js → generate-5x16q44j.js} +33 -33
  48. package/dist/chunks/{skill-q6ec7ghb.js → generate-66wr1y9a.js} +4 -4
  49. package/dist/chunks/{skill-6827pfxn.js → generate-6827pfxn.js} +1 -1
  50. package/dist/chunks/{skill-wknnvmh5.js → generate-6a82qsz1.js} +11 -11
  51. package/dist/chunks/{skill-4ysfff1b.js → generate-6ctkc7g2.js} +24 -24
  52. package/dist/chunks/{skill-c1s4czd4.js → generate-6sagrjcx.js} +20 -20
  53. package/dist/chunks/{skill-0tb1pehm.js → generate-6sgzzrav.js} +26 -26
  54. package/dist/chunks/{skill-v2bjyqkg.js → generate-6tc37tey.js} +6 -6
  55. package/dist/chunks/{skill-vs247hwy.js → generate-6tcy41jb.js} +15 -15
  56. package/dist/chunks/{skill-6xb47vfp.js → generate-6xb47vfp.js} +1 -1
  57. package/dist/chunks/{skill-dgmheq7x.js → generate-6z0h4rce.js} +22 -22
  58. package/dist/chunks/{skill-ckkc33e7.js → generate-76m4msn9.js} +51 -51
  59. package/dist/chunks/{skill-775gj3j1.js → generate-775gj3j1.js} +2 -2
  60. package/dist/chunks/{skill-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
  61. package/dist/chunks/{skill-0jwsre1p.js → generate-7dqw4kz8.js} +5 -5
  62. package/dist/chunks/{skill-ptxp58at.js → generate-7k98dxqk.js} +10 -10
  63. package/dist/chunks/{skill-zn9jy13z.js → generate-7v9zxh8s.js} +6 -6
  64. package/dist/chunks/{skill-k8zn6dzp.js → generate-7vdx0bbg.js} +15 -15
  65. package/dist/chunks/{skill-2k71kv7p.js → generate-80scg3y3.js} +4 -4
  66. package/dist/chunks/{skill-84txncab.js → generate-84txncab.js} +1 -1
  67. package/dist/chunks/{skill-3cwb9jzf.js → generate-89bb6baa.js} +8 -8
  68. package/dist/chunks/{skill-8m6m0r52.js → generate-8m6m0r52.js} +1 -1
  69. package/dist/chunks/{skill-0w5ft33m.js → generate-8rg28a98.js} +13 -13
  70. package/dist/chunks/{skill-5hckghy7.js → generate-8s2szf4d.js} +24 -24
  71. package/dist/chunks/{skill-60pkp98z.js → generate-8yde7yhj.js} +9 -9
  72. package/dist/chunks/{skill-f3rjyvb9.js → generate-90kmffnn.js} +29 -29
  73. package/dist/chunks/{skill-j09zfasm.js → generate-91qna3x0.js} +3 -3
  74. package/dist/chunks/{skill-0gvzbg7p.js → generate-97h9dstt.js} +16 -16
  75. package/dist/chunks/{skill-dzewxd6e.js → generate-9dgp8fag.js} +50 -50
  76. package/dist/chunks/{skill-nk3nq1me.js → generate-9dk9f4te.js} +19 -19
  77. package/dist/chunks/{skill-xa8dcf8m.js → generate-9sv3ea6j.js} +11 -11
  78. package/dist/chunks/{skill-0mshdkct.js → generate-a01105mq.js} +30 -30
  79. package/dist/chunks/{skill-5n5c97r3.js → generate-a09b619x.js} +7 -7
  80. package/dist/chunks/{skill-hp8bf08d.js → generate-a0eqybx1.js} +11 -11
  81. package/dist/chunks/{skill-73wdtct1.js → generate-a0y26jw4.js} +4 -4
  82. package/dist/chunks/{skill-2fkbhf5s.js → generate-a4nh07be.js} +25 -25
  83. package/dist/chunks/{skill-gqtdsdt7.js → generate-addxnjmp.js} +4 -4
  84. package/dist/chunks/{skill-dhb2hta4.js → generate-aj3rbcf1.js} +5 -5
  85. package/dist/chunks/{skill-5a1a4xxz.js → generate-apv97swk.js} +28 -28
  86. package/dist/chunks/{skill-7gjg0sg8.js → generate-apyxdd5c.js} +19 -19
  87. package/dist/chunks/{skill-mtpeagzc.js → generate-arz7hw7x.js} +3 -3
  88. package/dist/chunks/{skill-ht9z38af.js → generate-b0z2891m.js} +7 -7
  89. package/dist/chunks/{skill-j6ktnsbj.js → generate-b12fh71z.js} +5 -5
  90. package/dist/chunks/{skill-hv0kjr3z.js → generate-b2jzzyp8.js} +18 -18
  91. package/dist/chunks/{skill-51fhzrhh.js → generate-b5n8znr2.js} +21 -21
  92. package/dist/chunks/{skill-akvzwxcq.js → generate-ba8y31bh.js} +23 -23
  93. package/dist/chunks/{skill-rmpja4kz.js → generate-bh7zjcn6.js} +20 -20
  94. package/dist/chunks/{skill-aj2p83by.js → generate-bnkdg7qv.js} +13 -13
  95. package/dist/chunks/{skill-tkzsrz1e.js → generate-bs9bmazf.js} +14 -14
  96. package/dist/chunks/{skill-5cazt80r.js → generate-bwgeqdk4.js} +33 -33
  97. package/dist/chunks/{skill-csxcg56m.js → generate-bxfd39by.js} +26 -26
  98. package/dist/chunks/generate-by5v678g.js +18 -0
  99. package/dist/chunks/{skill-1ep4rre3.js → generate-bzeyqsqd.js} +4 -4
  100. package/dist/chunks/{skill-8k9dqkvr.js → generate-c13ag1bn.js} +15 -15
  101. package/dist/chunks/{skill-c1fqxshp.js → generate-c1fqxshp.js} +3 -3
  102. package/dist/chunks/{skill-smjam21t.js → generate-c591c83b.js} +17 -17
  103. package/dist/chunks/{skill-ts92q5ds.js → generate-c70r8365.js} +26 -26
  104. package/dist/chunks/{skill-0w1q6v6s.js → generate-cb2h0j1t.js} +15 -15
  105. package/dist/chunks/{skill-44ak30pa.js → generate-cp937pt4.js} +4 -4
  106. package/dist/chunks/{skill-1dcff6nc.js → generate-cqmzp0mx.js} +5 -5
  107. package/dist/chunks/{skill-d1a28jh7.js → generate-d1a28jh7.js} +2 -2
  108. package/dist/chunks/{skill-2dvjh35y.js → generate-d362veps.js} +24 -24
  109. package/dist/chunks/{skill-hpagwa2c.js → generate-d3ebfx6x.js} +12 -12
  110. package/dist/chunks/{skill-0jgt67sk.js → generate-dar3hyn7.js} +28 -28
  111. package/dist/chunks/{skill-y71avatq.js → generate-dpkg50ah.js} +4 -4
  112. package/dist/chunks/{skill-m28477hs.js → generate-dsb0ttzc.js} +20 -20
  113. package/dist/chunks/{skill-k1ep3vpw.js → generate-dtjxe34e.js} +8 -8
  114. package/dist/chunks/{skill-n61013np.js → generate-dys7k0s0.js} +8 -8
  115. package/dist/chunks/{skill-j5xh64qr.js → generate-dzw83ac5.js} +9 -9
  116. package/dist/chunks/{skill-e80seqcp.js → generate-e80seqcp.js} +1 -1
  117. package/dist/chunks/{skill-eej6y6fw.js → generate-eej6y6fw.js} +2 -2
  118. package/dist/chunks/{skill-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
  119. package/dist/chunks/{skill-5n8ca005.js → generate-efzvzatf.js} +21 -21
  120. package/dist/chunks/{skill-00qrbj62.js → generate-ehygg6sf.js} +4 -4
  121. package/dist/chunks/{skill-wdjfy1sg.js → generate-ejfcq634.js} +4 -4
  122. package/dist/chunks/{skill-afdssyjb.js → generate-embw8kgh.js} +4 -4
  123. package/dist/chunks/{skill-6fk8v7jg.js → generate-eqe06c60.js} +42 -42
  124. package/dist/chunks/{skill-nm2sbdyw.js → generate-exwt628r.js} +6 -6
  125. package/dist/chunks/generate-eynva37m.js +257 -0
  126. package/dist/chunks/{skill-hn49etrp.js → generate-f10p82d7.js} +9 -9
  127. package/dist/chunks/{skill-sd35z9tw.js → generate-f2hqdn62.js} +9 -9
  128. package/dist/chunks/{skill-1vyebrft.js → generate-f4fzpthd.js} +43 -43
  129. package/dist/chunks/{skill-ebwpp9d0.js → generate-f893ew9g.js} +11 -11
  130. package/dist/chunks/{skill-rakt6rqx.js → generate-f98v112d.js} +5 -5
  131. package/dist/chunks/{skill-fcy631f0.js → generate-fcy631f0.js} +1 -1
  132. package/dist/chunks/{skill-xr9szsrw.js → generate-fdbnp50v.js} +66 -66
  133. package/dist/chunks/{skill-p6zwjtwx.js → generate-ffjraqq7.js} +3 -3
  134. package/dist/chunks/{skill-q559tdbh.js → generate-fg7nvtjy.js} +48 -48
  135. package/dist/chunks/{skill-jhqb9qv1.js → generate-fjrfzm7z.js} +39 -39
  136. package/dist/chunks/{skill-fn9t717r.js → generate-fn9t717r.js} +3 -3
  137. package/dist/chunks/{skill-dbwk15v0.js → generate-ftpjb7c3.js} +28 -28
  138. package/dist/chunks/{skill-hhvypby2.js → generate-fvay2ke4.js} +88 -88
  139. package/dist/chunks/{skill-hcms3ej7.js → generate-fx2js9bg.js} +21 -21
  140. package/dist/chunks/{skill-w57ms8mt.js → generate-g2x9m4s9.js} +15 -15
  141. package/dist/chunks/{skill-ek42zh69.js → generate-g4tehmc6.js} +26 -26
  142. package/dist/chunks/{skill-dssbfrwz.js → generate-g6yfr6ja.js} +5 -5
  143. package/dist/chunks/{skill-d2kvkr0c.js → generate-g8vstf03.js} +13 -13
  144. package/dist/chunks/{skill-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
  145. package/dist/chunks/{skill-ddzfx2sp.js → generate-ggnwgtvx.js} +4 -4
  146. package/dist/chunks/{skill-9hwaqfsw.js → generate-gj71zhbs.js} +5 -5
  147. package/dist/chunks/{skill-znpdtr75.js → generate-gnnw4atk.js} +23 -23
  148. package/dist/chunks/{skill-eyvd4r56.js → generate-gnpa5mn8.js} +17 -17
  149. package/dist/chunks/{skill-g36mbs4t.js → generate-grwryfk3.js} +13 -13
  150. package/dist/chunks/{skill-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
  151. package/dist/chunks/{skill-tegs1ycp.js → generate-h896pcm5.js} +6 -6
  152. package/dist/chunks/{skill-e4qjwypm.js → generate-h9ybj0dp.js} +12 -12
  153. package/dist/chunks/{skill-hgz4x7wa.js → generate-hgz4x7wa.js} +1 -1
  154. package/dist/chunks/{skill-bk9rcndt.js → generate-hh9fc0w8.js} +32 -32
  155. package/dist/chunks/{skill-wg81ww38.js → generate-hkffa77z.js} +4 -4
  156. package/dist/chunks/{skill-p6hp9dgk.js → generate-hmqggt0z.js} +16 -16
  157. package/dist/chunks/{skill-vnwacm6t.js → generate-hwbt70tw.js} +1 -1
  158. package/dist/chunks/{skill-47akhf3w.js → generate-j77jx3jb.js} +22 -22
  159. package/dist/chunks/{skill-m0492934.js → generate-j78e14ba.js} +50 -50
  160. package/dist/chunks/{skill-kyvqw619.js → generate-j8qhqvx8.js} +26 -26
  161. package/dist/chunks/{skill-dh2x2bk8.js → generate-jc4wv75z.js} +45 -45
  162. package/dist/chunks/{skill-9cw92fkg.js → generate-jgqmcces.js} +45 -45
  163. package/dist/chunks/{skill-n8g9f5aw.js → generate-jh682bf3.js} +8 -8
  164. package/dist/chunks/{skill-ybq6hy8a.js → generate-jsj7rmb6.js} +18 -18
  165. package/dist/chunks/{skill-axbdcqfv.js → generate-jvncv862.js} +11 -11
  166. package/dist/chunks/{skill-ryvyvv32.js → generate-k45cm24m.js} +29 -29
  167. package/dist/chunks/{skill-bykqqmg1.js → generate-karx3kgp.js} +21 -21
  168. package/dist/chunks/{skill-g0zzgjed.js → generate-kggd2yhz.js} +13 -13
  169. package/dist/chunks/{skill-fxaymqdw.js → generate-khmqacep.js} +4 -4
  170. package/dist/chunks/{skill-2xc59a1w.js → generate-kq63he01.js} +5 -5
  171. package/dist/chunks/{skill-f85pwmyw.js → generate-kr6b5ws7.js} +3 -3
  172. package/dist/chunks/{skill-kwb1v3vj.js → generate-kwb1v3vj.js} +1 -1
  173. package/dist/chunks/generate-m067xvhw.js +513 -0
  174. package/dist/chunks/{skill-jkh8wmvq.js → generate-m0ptpkd8.js} +14 -14
  175. package/dist/chunks/{skill-tbrt0skw.js → generate-m4ay8zc3.js} +33 -33
  176. package/dist/chunks/{skill-721538d5.js → generate-m8gczy5t.js} +11 -11
  177. package/dist/chunks/{skill-6fq7r47e.js → generate-m8xhzamz.js} +5 -5
  178. package/dist/chunks/{skill-vbek984v.js → generate-m91gvp7t.js} +8 -8
  179. package/dist/chunks/{skill-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/{skill-j17rh5na.js → generate-manwb5tf.js} +11 -11
  181. package/dist/chunks/{skill-maspj1v3.js → generate-maspj1v3.js} +1 -1
  182. package/dist/chunks/{skill-6x6512f8.js → generate-mm2041e2.js} +14 -14
  183. package/dist/chunks/{skill-x181wg97.js → generate-mrefkyyq.js} +5 -5
  184. package/dist/chunks/{skill-qmgmkp4z.js → generate-mrvexgqt.js} +17 -17
  185. package/dist/chunks/{skill-q6hmgxfy.js → generate-mx4p7qc7.js} +27 -27
  186. package/dist/chunks/{skill-a5574sc3.js → generate-mxxvm3hc.js} +16 -16
  187. package/dist/chunks/{skill-4j4tgtq5.js → generate-n1n192bv.js} +4 -4
  188. package/dist/chunks/{skill-vb3m6eyp.js → generate-n80tey8m.js} +20 -20
  189. package/dist/chunks/{skill-mtvcx4kk.js → generate-n821n20x.js} +22 -22
  190. package/dist/chunks/{skill-p9901hdx.js → generate-ncyx88y1.js} +29 -29
  191. package/dist/chunks/{skill-1vnwec3s.js → generate-ncyym10m.js} +17 -17
  192. package/dist/chunks/{skill-0a54jmae.js → generate-nd1pd7yg.js} +9 -9
  193. package/dist/chunks/{skill-twwne8jc.js → generate-ngmxgv0g.js} +13 -13
  194. package/dist/chunks/{skill-pc6svy01.js → generate-nr1ht2p9.js} +8 -8
  195. package/dist/chunks/{skill-8hpz99e3.js → generate-nwvmg0fn.js} +17 -17
  196. package/dist/chunks/{skill-hjkky8wz.js → generate-nxmm6209.js} +4 -4
  197. package/dist/chunks/{skill-p37cw4rj.js → generate-p37cw4rj.js} +1 -1
  198. package/dist/chunks/{skill-azhh6n6p.js → generate-p5grttz1.js} +36 -36
  199. package/dist/chunks/{skill-8ryk0bb9.js → generate-pfq1ksym.js} +5 -5
  200. package/dist/chunks/{skill-zaggqza2.js → generate-pjbmnn5d.js} +10 -10
  201. package/dist/chunks/{skill-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
  202. package/dist/chunks/{skill-pknna89w.js → generate-pknna89w.js} +1 -1
  203. package/dist/chunks/{skill-tx9w5tca.js → generate-pnaxc6j9.js} +8 -8
  204. package/dist/chunks/{skill-7fkffz83.js → generate-py3kkmfq.js} +4 -4
  205. package/dist/chunks/{skill-ztkm05qe.js → generate-pzm75kh2.js} +20 -20
  206. package/dist/chunks/{skill-z42dm00v.js → generate-q4axk96g.js} +13 -13
  207. package/dist/chunks/{skill-jybvdwhe.js → generate-q5pynxgh.js} +12 -12
  208. package/dist/chunks/{skill-21kate9q.js → generate-qb4f6xmp.js} +17 -17
  209. package/dist/chunks/{skill-j0m4jrxm.js → generate-qfj50933.js} +25 -25
  210. package/dist/chunks/{skill-sd6jgyf6.js → generate-qgahkyyr.js} +30 -30
  211. package/dist/chunks/{skill-qnc92qwc.js → generate-qnc92qwc.js} +1 -1
  212. package/dist/chunks/{skill-qsdy395h.js → generate-qsdy395h.js} +1 -1
  213. package/dist/chunks/{skill-n3wcrd3g.js → generate-qxm16qy9.js} +7 -7
  214. package/dist/chunks/{skill-ft3hqk2c.js → generate-r2m716tb.js} +9 -9
  215. package/dist/chunks/{skill-xg47fphv.js → generate-r2wdjp82.js} +8 -8
  216. package/dist/chunks/{skill-24ythb25.js → generate-r4q0brfc.js} +6 -6
  217. package/dist/chunks/{skill-tk14ecdn.js → generate-r7z06xw0.js} +35 -35
  218. package/dist/chunks/{skill-rdw6cm16.js → generate-rdw6cm16.js} +1 -1
  219. package/dist/chunks/{skill-rert0e01.js → generate-rert0e01.js} +2 -2
  220. package/dist/chunks/{skill-9sspp2kc.js → generate-rh3hvas6.js} +16 -16
  221. package/dist/chunks/{skill-rj3eygr5.js → generate-rj3eygr5.js} +2 -2
  222. package/dist/chunks/{skill-bn0s77k4.js → generate-rjq8wmvv.js} +13 -13
  223. package/dist/chunks/{skill-x96ngv9r.js → generate-rjyhgtyc.js} +10 -10
  224. package/dist/chunks/{skill-qx787nm7.js → generate-rk7eg0n7.js} +8 -8
  225. package/dist/chunks/{skill-tdepd04k.js → generate-rkm2zns9.js} +14 -14
  226. package/dist/chunks/{skill-1e0fage9.js → generate-rmn06tv3.js} +1 -1
  227. package/dist/chunks/{skill-jgyagtm3.js → generate-rt1d4x09.js} +29 -29
  228. package/dist/chunks/{skill-7y6g135c.js → generate-rvesa5k7.js} +21 -21
  229. package/dist/chunks/{skill-jr0bwz5h.js → generate-rw61g3we.js} +18 -18
  230. package/dist/chunks/{skill-t3mrtpce.js → generate-rwxf188v.js} +13 -13
  231. package/dist/chunks/{skill-kbzdcc1z.js → generate-ryarz677.js} +30 -30
  232. package/dist/chunks/{skill-mz4wv8nb.js → generate-s13f39cf.js} +13 -13
  233. package/dist/chunks/{skill-eaj1djv9.js → generate-s8d7rejh.js} +6 -6
  234. package/dist/chunks/{skill-sa8ekw3f.js → generate-sa8ekw3f.js} +2 -2
  235. package/dist/chunks/{skill-bs5qht20.js → generate-shy8zm2a.js} +3 -3
  236. package/dist/chunks/{skill-syv4x271.js → generate-syv4x271.js} +1 -1
  237. package/dist/chunks/{skill-2hn0k533.js → generate-sz5rmx8q.js} +5 -5
  238. package/dist/chunks/{skill-24s8e1ye.js → generate-szhvfkp6.js} +19 -19
  239. package/dist/chunks/{skill-x4gm9hts.js → generate-t9ymh72b.js} +14 -14
  240. package/dist/chunks/{skill-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
  241. package/dist/chunks/{skill-89znhe33.js → generate-tcezcvh9.js} +4 -4
  242. package/dist/chunks/{skill-tdstcens.js → generate-tdstcens.js} +1 -1
  243. package/dist/chunks/{skill-tm0kqsz3.js → generate-tm0kqsz3.js} +1 -1
  244. package/dist/chunks/{skill-tyytaxap.js → generate-tyytaxap.js} +1 -1
  245. package/dist/chunks/{skill-afm93r8m.js → generate-v08njbym.js} +5 -5
  246. package/dist/chunks/{skill-v210v162.js → generate-v210v162.js} +2 -2
  247. package/dist/chunks/{skill-cbghv35z.js → generate-v29xn8f1.js} +14 -14
  248. package/dist/chunks/{skill-k76krqzs.js → generate-v5dkyp31.js} +4 -4
  249. package/dist/chunks/{skill-v7p4zvkq.js → generate-v7p4zvkq.js} +2 -2
  250. package/dist/chunks/{skill-r92v02kx.js → generate-vbg8rtpq.js} +33 -33
  251. package/dist/chunks/{skill-9xnh36ct.js → generate-vdq2jh6f.js} +26 -26
  252. package/dist/chunks/{skill-veqvce7d.js → generate-veqvce7d.js} +1 -1
  253. package/dist/chunks/{skill-jq9wm7kj.js → generate-vthepxc9.js} +2 -2
  254. package/dist/chunks/{skill-vwwhsbvp.js → generate-vwq3bzaf.js} +10 -10
  255. package/dist/chunks/{skill-373db230.js → generate-vy8jrsdb.js} +16 -16
  256. package/dist/chunks/{skill-vzs5sf6e.js → generate-vzs5sf6e.js} +1 -1
  257. package/dist/chunks/{skill-608dtcmq.js → generate-w271hm3d.js} +15 -15
  258. package/dist/chunks/{skill-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
  259. package/dist/chunks/{skill-k41pdhxj.js → generate-w67mkghx.js} +19 -19
  260. package/dist/chunks/{skill-j7qxhh0w.js → generate-w6hqqfrn.js} +11 -11
  261. package/dist/chunks/{skill-97aeaand.js → generate-waskdk5r.js} +4 -4
  262. package/dist/chunks/{skill-wd87259q.js → generate-wd87259q.js} +1 -1
  263. package/dist/chunks/{skill-a61mcpgr.js → generate-wgxkjpdd.js} +25 -25
  264. package/dist/chunks/{skill-bjx1sjef.js → generate-wjr9rjd7.js} +6 -6
  265. package/dist/chunks/{skill-bjr98wm2.js → generate-x519dv4j.js} +11 -11
  266. package/dist/chunks/{skill-n4d3d4w3.js → generate-x9j3ktrk.js} +11 -11
  267. package/dist/chunks/{skill-hszepbzs.js → generate-xcd63yev.js} +11 -11
  268. package/dist/chunks/{skill-qqeeq2t9.js → generate-xfkkasph.js} +7 -7
  269. package/dist/chunks/{skill-9tn557k3.js → generate-xherg1x9.js} +3 -3
  270. package/dist/chunks/{skill-ktq7es54.js → generate-xm6xth1b.js} +27 -27
  271. package/dist/chunks/{skill-hxbam2w6.js → generate-xwb84dzk.js} +11 -11
  272. package/dist/chunks/{skill-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{skill-nd4tfyg0.js → generate-y7nndgyc.js} +9 -9
  274. package/dist/chunks/{skill-vscs4key.js → generate-y8xq7ga8.js} +7 -7
  275. package/dist/chunks/{skill-4rqs6yce.js → generate-y945vb8n.js} +8 -8
  276. package/dist/chunks/{skill-acy09t17.js → generate-yad4tbft.js} +4 -4
  277. package/dist/chunks/{skill-9g88hcsg.js → generate-yjhj4zwb.js} +48 -48
  278. package/dist/chunks/{skill-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{skill-fdms3n6w.js → generate-z4ztj7g0.js} +9 -9
  280. package/dist/chunks/{skill-d4y9kadm.js → generate-zby0cawh.js} +29 -29
  281. package/dist/chunks/{skill-n9y44nm0.js → generate-zdse71m2.js} +23 -23
  282. package/dist/chunks/{skill-wwq19wsf.js → generate-zpr8mzes.js} +5 -5
  283. package/dist/chunks/{skill-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{skill-zxq2ej10.js → generate-zxq2ej10.js} +1 -1
  285. package/dist/chunks/{skill-n7pfcsmy.js → generate-zyz4g0ys.js} +27 -27
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +7 -7
  288. package/dist/codemode/tool.js +3 -3
  289. package/dist/codemode/web.js +1 -1
  290. package/dist/command.js +85 -85
  291. package/dist/config/discovery.js +86 -86
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +101 -101
  294. package/dist/config/plugin/agent.js +118 -118
  295. package/dist/config/plugin/command.js +208 -208
  296. package/dist/config/plugin/compaction.js +155 -155
  297. package/dist/config/plugin/compatibility.js +135 -135
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +117 -117
  300. package/dist/config/plugin/image.js +116 -116
  301. package/dist/config/plugin/instruction.js +116 -116
  302. package/dist/config/plugin/location-watcher.js +118 -118
  303. package/dist/config/plugin/mcp.js +125 -125
  304. package/dist/config/plugin/policy.js +117 -117
  305. package/dist/config/plugin/provider.js +116 -116
  306. package/dist/config/plugin/reference.js +118 -118
  307. package/dist/config/plugin/shell.js +118 -118
  308. package/dist/config/plugin/skill-file.js +104 -104
  309. package/dist/config/plugin/skill-scan.js +3 -3
  310. package/dist/config/plugin/skill.js +138 -138
  311. package/dist/config/plugin/snapshot.js +116 -116
  312. package/dist/config/plugin/source.js +119 -119
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +117 -117
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +1 -1
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +121 -121
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +87 -87
  321. package/dist/database/database.js +68 -68
  322. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +15 -15
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +16 -16
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  385. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  386. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  387. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  388. package/dist/database/migration.gen.js +51 -51
  389. package/dist/database/migration.js +53 -53
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +78 -78
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +369 -369
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +3 -3
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +95 -95
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +95 -95
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +3 -3
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +72 -72
  413. package/dist/file-access.js +106 -106
  414. package/dist/file-mutation.js +96 -96
  415. package/dist/file-retention.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/location-watcher-policy.js +6 -6
  421. package/dist/filesystem/location-watcher.js +221 -221
  422. package/dist/filesystem/protected.js +3 -3
  423. package/dist/filesystem/search.js +105 -105
  424. package/dist/filesystem/watcher-binding.js +1 -1
  425. package/dist/filesystem/watcher.js +15 -15
  426. package/dist/filesystem.js +106 -106
  427. package/dist/form.js +86 -86
  428. package/dist/formatter/builtins.js +2 -2
  429. package/dist/formatter.js +89 -89
  430. package/dist/generate.js +106 -106
  431. package/dist/git.js +6 -6
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +101 -101
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +360 -360
  455. package/dist/instruction-discovery.js +86 -86
  456. package/dist/instructions/builtins.js +89 -89
  457. package/dist/instructions/index.js +3 -3
  458. package/dist/integration/connection.js +3 -3
  459. package/dist/integration.js +89 -89
  460. package/dist/job.js +80 -80
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +75 -75
  463. package/dist/location-activity.js +133 -133
  464. package/dist/location-lifecycle.js +109 -109
  465. package/dist/location-service-map.js +88 -88
  466. package/dist/location-services.js +357 -357
  467. package/dist/location.js +83 -83
  468. package/dist/managed-policy.js +8 -8
  469. package/dist/mcp/client.js +93 -93
  470. package/dist/mcp/index.js +111 -111
  471. package/dist/mcp/instructions.js +131 -131
  472. package/dist/mcp/oauth.js +80 -80
  473. package/dist/mcp/stdio.js +92 -92
  474. package/dist/mime.js +1 -1
  475. package/dist/modal/models.js +101 -101
  476. package/dist/model-resolver.js +100 -100
  477. package/dist/model-retry.js +1 -1
  478. package/dist/model.js +102 -102
  479. package/dist/models-dev.js +109 -109
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +88 -88
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +115 -115
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +88 -88
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +77 -77
  489. package/dist/plugin/agent.js +78 -78
  490. package/dist/plugin/command.js +104 -104
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +212 -212
  493. package/dist/plugin/identity.js +3 -3
  494. package/dist/plugin/instance.js +1 -1
  495. package/dist/plugin/internal.js +331 -331
  496. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  497. package/dist/plugin/models-dev.js +98 -98
  498. package/dist/plugin/module.js +117 -117
  499. package/dist/plugin/optimize.js +2 -2
  500. package/dist/plugin/plan.js +104 -104
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  503. package/dist/plugin/provider/azure.js +116 -116
  504. package/dist/plugin/provider/cerebras.js +1 -1
  505. package/dist/plugin/provider/chatgpt.js +116 -116
  506. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  507. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  508. package/dist/plugin/provider/cohere.js +2 -2
  509. package/dist/plugin/provider/configured.js +112 -112
  510. package/dist/plugin/provider/databricks.js +1 -1
  511. package/dist/plugin/provider/digitalocean.js +95 -95
  512. package/dist/plugin/provider/dynamic.js +2 -2
  513. package/dist/plugin/provider/factory.js +1 -1
  514. package/dist/plugin/provider/github-copilot.js +97 -97
  515. package/dist/plugin/provider/gitlab.js +95 -95
  516. package/dist/plugin/provider/google-vertex.js +113 -113
  517. package/dist/plugin/provider/kilo.js +1 -1
  518. package/dist/plugin/provider/llmgateway.js +80 -80
  519. package/dist/plugin/provider/lmstudio.js +125 -125
  520. package/dist/plugin/provider/local.js +122 -122
  521. package/dist/plugin/provider/modal.js +94 -94
  522. package/dist/plugin/provider/neon.js +1 -1
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +123 -123
  525. package/dist/plugin/provider/openai.js +116 -116
  526. package/dist/plugin/provider/opencode.js +100 -100
  527. package/dist/plugin/provider/openrouter.js +93 -93
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +81 -81
  530. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  531. package/dist/plugin/provider/sap-ai-core.js +93 -93
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  534. package/dist/plugin/provider/vercel.js +92 -92
  535. package/dist/plugin/provider/vllm.js +125 -125
  536. package/dist/plugin/provider/xai.js +93 -93
  537. package/dist/plugin/provider/zenmux.js +1 -1
  538. package/dist/plugin/provider.js +168 -168
  539. package/dist/plugin/sdk.js +78 -78
  540. package/dist/plugin/service.js +3 -3
  541. package/dist/plugin/skill.js +134 -134
  542. package/dist/plugin/source-directory.js +1 -1
  543. package/dist/plugin/supervisor.js +348 -348
  544. package/dist/plugin/tool-input-repair.js +4 -4
  545. package/dist/plugin/update.js +6 -6
  546. package/dist/plugin/vcs/git.js +88 -88
  547. package/dist/plugin/vcs/hg.js +88 -88
  548. package/dist/plugin/verbosity.js +95 -95
  549. package/dist/plugin/warming.js +114 -114
  550. package/dist/plugin/websearch/exa.js +7 -7
  551. package/dist/plugin/websearch/firecrawl.js +6 -6
  552. package/dist/plugin/websearch/index.js +9 -9
  553. package/dist/plugin/websearch/mcp.js +4 -4
  554. package/dist/plugin/websearch/parallel.js +8 -8
  555. package/dist/plugin/websearch/tavily.js +6 -6
  556. package/dist/plugin/websearch/tinyfish.js +8 -8
  557. package/dist/plugin.js +221 -221
  558. package/dist/project/schema.js +2 -2
  559. package/dist/project/sql.js +4 -4
  560. package/dist/project.js +82 -82
  561. package/dist/provider.js +103 -103
  562. package/dist/pty/protocol.js +1 -1
  563. package/dist/pty/ticket.js +1 -1
  564. package/dist/pty.js +103 -103
  565. package/dist/reference/instructions.js +91 -91
  566. package/dist/reference.js +93 -93
  567. package/dist/repository-cache.js +83 -83
  568. package/dist/repository.js +1 -1
  569. package/dist/ripgrep/binary.js +2 -2
  570. package/dist/ripgrep.js +99 -99
  571. package/dist/rpc.js +88 -88
  572. package/dist/schema.js +1 -1
  573. package/dist/session/affinity.js +1 -1
  574. package/dist/session/command.js +76 -76
  575. package/dist/session/compaction.js +138 -138
  576. package/dist/session/context.js +155 -155
  577. package/dist/session/diff.js +90 -90
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +5 -5
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +215 -215
  582. package/dist/session/execution.js +129 -129
  583. package/dist/session/generate.js +157 -157
  584. package/dist/session/history.js +13 -13
  585. package/dist/session/inbox.js +90 -90
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +81 -81
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +99 -99
  590. package/dist/session/message-updater.js +2 -2
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +122 -122
  593. package/dist/session/model-transport.js +9 -9
  594. package/dist/session/move.js +131 -131
  595. package/dist/session/projector.js +88 -88
  596. package/dist/session/prompt.js +107 -107
  597. package/dist/session/provider-context.js +3 -3
  598. package/dist/session/revert.js +92 -92
  599. package/dist/session/run-coordinator.js +3 -3
  600. package/dist/session/runner/index.js +3 -3
  601. package/dist/session/runner/llm.js +225 -225
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +100 -100
  604. package/dist/session/runner/publish-llm-event.js +115 -115
  605. package/dist/session/runner/retry.js +3 -3
  606. package/dist/session/runner/step.js +126 -126
  607. package/dist/session/runner/to-llm-message.js +2 -2
  608. package/dist/session/schema.js +5 -5
  609. package/dist/session/session.js +164 -164
  610. package/dist/session/shell.js +130 -130
  611. package/dist/session/skill.js +105 -105
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +75 -75
  614. package/dist/session/store.js +89 -89
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +206 -206
  617. package/dist/session/system-prompt.js +5 -5
  618. package/dist/session/title.js +159 -159
  619. package/dist/session/to-session-error.js +113 -113
  620. package/dist/session/transfer.js +208 -208
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +212 -212
  623. package/dist/shell/parse.js +8 -8
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +13 -13
  627. package/dist/shell.js +132 -132
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +109 -109
  630. package/dist/skill.js +110 -110
  631. package/dist/snapshot.js +95 -95
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +130 -130
  636. package/dist/tool/plugin/edit.js +122 -122
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +126 -126
  639. package/dist/tool/plugin/grep.js +126 -126
  640. package/dist/tool/plugin/mcp-resource.js +119 -119
  641. package/dist/tool/plugin/opencode.js +111 -111
  642. package/dist/tool/plugin/patch.js +116 -116
  643. package/dist/tool/plugin/question.js +107 -107
  644. package/dist/tool/plugin/read.js +127 -127
  645. package/dist/tool/plugin/shell.js +211 -211
  646. package/dist/tool/plugin/skill.js +115 -115
  647. package/dist/tool/plugin/subagent.js +213 -213
  648. package/dist/tool/plugin/webfetch.js +112 -112
  649. package/dist/tool/plugin/websearch.js +116 -116
  650. package/dist/tool/plugin/write.js +124 -124
  651. package/dist/tool/read-filesystem.js +102 -102
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +7 -7
  654. package/dist/tool.js +14 -14
  655. package/dist/util/error-summary.js +1 -1
  656. package/dist/util/error.js +1 -1
  657. package/dist/util/git-executable.js +2 -2
  658. package/dist/util/iife.js +1 -1
  659. package/dist/util/lazy.js +1 -1
  660. package/dist/util/slug.js +1 -1
  661. package/dist/util/token.js +1 -1
  662. package/dist/util/which.js +1 -1
  663. package/dist/util/wildcard.js +1 -1
  664. package/dist/v1/config/agent.js +5 -5
  665. package/dist/v1/config/command.js +3 -3
  666. package/dist/v1/config/error.js +2 -2
  667. package/dist/v1/config/mcp.js +4 -4
  668. package/dist/v1/config/migrate.js +94 -94
  669. package/dist/v1/config/permission.js +3 -3
  670. package/dist/v1/config/plugin.js +3 -3
  671. package/dist/v1/config/provider-options.js +1 -1
  672. package/dist/v1/config/provider.js +4 -4
  673. package/dist/variant.js +93 -93
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +91 -91
  676. package/dist/voice.js +90 -90
  677. package/dist/websearch.js +86 -86
  678. package/dist/wellknown/plugin.js +78 -78
  679. package/dist/wellknown.js +83 -83
  680. package/dist/workspace/driver.js +7 -7
  681. package/dist/workspace/sql.js +1 -1
  682. package/dist/workspace.js +84 -84
  683. package/dist/worktree/directory.js +2 -2
  684. package/dist/worktree/git.js +10 -10
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree/strategies.js +91 -91
  687. package/dist/worktree.js +96 -96
  688. package/package.json +8 -8
  689. package/dist/chunks/skill-961073wv.js +0 -26
  690. package/dist/chunks/skill-g7az63xj.js +0 -257
  691. package/dist/chunks/skill-sjv7n9ab.js +0 -513
  692. package/dist/chunks/skill-vnkjks7b.js +0 -18
  693. /package/dist/chunks/{skill-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{skill-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{skill-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{skill-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{skill-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
  698. /package/dist/chunks/{skill-24dcb14g.js → generate-24dcb14g.js} +0 -0
  699. /package/dist/chunks/{skill-2710q6r3.js → generate-2710q6r3.js} +0 -0
  700. /package/dist/chunks/{skill-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
  701. /package/dist/chunks/{skill-2bv980vf.js → generate-2bv980vf.js} +0 -0
  702. /package/dist/chunks/{skill-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{skill-359p4xyc.js → generate-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{skill-3asan66x.js → generate-3asan66x.js} +0 -0
  705. /package/dist/chunks/{skill-3t0ybcrp.js → generate-3t0ybcrp.js} +0 -0
  706. /package/dist/chunks/{skill-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{skill-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
  708. /package/dist/chunks/{skill-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
  709. /package/dist/chunks/{skill-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
  710. /package/dist/chunks/{skill-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
  711. /package/dist/chunks/{skill-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
  712. /package/dist/chunks/{skill-53557ph1.js → generate-53557ph1.js} +0 -0
  713. /package/dist/chunks/{skill-550bvhaj.js → generate-550bvhaj.js} +0 -0
  714. /package/dist/chunks/{skill-5qd3pb7m.js → generate-5qd3pb7m.js} +0 -0
  715. /package/dist/chunks/{skill-6prwharc.js → generate-6prwharc.js} +0 -0
  716. /package/dist/chunks/{skill-6q2bdcd1.js → generate-6q2bdcd1.js} +0 -0
  717. /package/dist/chunks/{skill-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{skill-7m9af43g.js → generate-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{skill-822emrt2.js → generate-822emrt2.js} +0 -0
  720. /package/dist/chunks/{skill-84wd9syh.js → generate-84wd9syh.js} +0 -0
  721. /package/dist/chunks/{skill-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
  722. /package/dist/chunks/{skill-8n3pysct.js → generate-8n3pysct.js} +0 -0
  723. /package/dist/chunks/{skill-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
  724. /package/dist/chunks/{skill-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
  725. /package/dist/chunks/{skill-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
  726. /package/dist/chunks/{skill-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
  727. /package/dist/chunks/{skill-af5trqkr.js → generate-af5trqkr.js} +0 -0
  728. /package/dist/chunks/{skill-afrmfg78.js → generate-afrmfg78.js} +0 -0
  729. /package/dist/chunks/{skill-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
  730. /package/dist/chunks/{skill-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
  731. /package/dist/chunks/{skill-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
  732. /package/dist/chunks/{skill-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
  733. /package/dist/chunks/{skill-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
  734. /package/dist/chunks/{skill-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
  735. /package/dist/chunks/{skill-d9fn303g.js → generate-d9fn303g.js} +0 -0
  736. /package/dist/chunks/{skill-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
  737. /package/dist/chunks/{skill-dajrwvna.js → generate-dajrwvna.js} +0 -0
  738. /package/dist/chunks/{skill-dap0rakb.js → generate-dap0rakb.js} +0 -0
  739. /package/dist/chunks/{skill-df08tz66.js → generate-df08tz66.js} +0 -0
  740. /package/dist/chunks/{skill-dy18nga0.js → generate-dy18nga0.js} +0 -0
  741. /package/dist/chunks/{skill-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
  742. /package/dist/chunks/{skill-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
  743. /package/dist/chunks/{skill-ec1grn59.js → generate-ec1grn59.js} +0 -0
  744. /package/dist/chunks/{skill-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
  745. /package/dist/chunks/{skill-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
  746. /package/dist/chunks/{skill-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
  747. /package/dist/chunks/{skill-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
  748. /package/dist/chunks/{skill-faypxj3z.js → generate-faypxj3z.js} +0 -0
  749. /package/dist/chunks/{skill-fd410y7t.js → generate-fd410y7t.js} +0 -0
  750. /package/dist/chunks/{skill-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
  751. /package/dist/chunks/{skill-g86h250q.js → generate-g86h250q.js} +0 -0
  752. /package/dist/chunks/{skill-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
  753. /package/dist/chunks/{skill-gftt206x.js → generate-gftt206x.js} +0 -0
  754. /package/dist/chunks/{skill-hcxmzztb.js → generate-hcxmzztb.js} +0 -0
  755. /package/dist/chunks/{skill-hk9envan.js → generate-hk9envan.js} +0 -0
  756. /package/dist/chunks/{skill-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{skill-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{skill-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
  759. /package/dist/chunks/{skill-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{skill-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{skill-jze0r7bz.js → generate-jze0r7bz.js} +0 -0
  762. /package/dist/chunks/{skill-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
  763. /package/dist/chunks/{skill-m18g726c.js → generate-m18g726c.js} +0 -0
  764. /package/dist/chunks/{skill-mp448xyj.js → generate-mp448xyj.js} +0 -0
  765. /package/dist/chunks/{skill-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
  766. /package/dist/chunks/{skill-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
  767. /package/dist/chunks/{skill-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
  768. /package/dist/chunks/{skill-njntx4h6.js → generate-njntx4h6.js} +0 -0
  769. /package/dist/chunks/{skill-pkyv6v7h.js → generate-pkyv6v7h.js} +0 -0
  770. /package/dist/chunks/{skill-pyv0edze.js → generate-pyv0edze.js} +0 -0
  771. /package/dist/chunks/{skill-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{skill-q74kybfr.js → generate-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{skill-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{skill-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{skill-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{skill-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{skill-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{skill-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{skill-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{skill-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
  781. /package/dist/chunks/{skill-ve7vex1e.js → generate-ve7vex1e.js} +0 -0
  782. /package/dist/chunks/{skill-w803qqfp.js → generate-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{skill-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{skill-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{skill-wjj7prxr.js → generate-wjj7prxr.js} +0 -0
  786. /package/dist/chunks/{skill-wtztk69x.js → generate-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{skill-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{skill-x61499pn.js → generate-x61499pn.js} +0 -0
  789. /package/dist/chunks/{skill-y44na4kk.js → generate-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{skill-y8f7s663.js → generate-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{skill-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{skill-ym463w8f.js → generate-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{skill-z5v4ffb3.js → generate-z5v4ffb3.js} +0 -0
  794. /package/dist/chunks/{skill-z9919s4g.js → generate-z9919s4g.js} +0 -0
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./skill-q6ec7ghb.js";
4
+ } from "./generate-66wr1y9a.js";
5
5
  import {
6
- Event15,
7
- Service68,
8
- node72
9
- } from "./skill-kbzdcc1z.js";
6
+ Event19,
7
+ Service79,
8
+ node83
9
+ } from "./generate-ryarz677.js";
10
10
  import {
11
- Service37,
12
- node41
13
- } from "./skill-dgmheq7x.js";
11
+ Service60,
12
+ node62
13
+ } from "./generate-6z0h4rce.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./skill-z5v4ffb3.js";
16
+ } from "./generate-z5v4ffb3.js";
17
17
  import {
18
18
  Service82,
19
19
  node86
20
- } from "./skill-hh8xd2g7.js";
20
+ } from "./generate-2hv7g8ph.js";
21
21
  import {
22
22
  substitute2
23
- } from "./skill-kwb1v3vj.js";
23
+ } from "./generate-kwb1v3vj.js";
24
24
  import {
25
25
  normalize2
26
- } from "./skill-jr0bwz5h.js";
26
+ } from "./generate-rw61g3we.js";
27
27
  import {
28
- names3,
28
+ names4,
29
29
  stripPreferenceMetadata2,
30
30
  discover3
31
- } from "./skill-pc6svy01.js";
31
+ } from "./generate-nr1ht2p9.js";
32
32
  import {
33
33
  plan2
34
- } from "./skill-6827pfxn.js";
34
+ } from "./generate-6827pfxn.js";
35
35
  import {
36
- Service49,
37
- Event9,
38
- node54
39
- } from "./skill-ztkm05qe.js";
36
+ Service61,
37
+ Event11,
38
+ node63
39
+ } from "./generate-pzm75kh2.js";
40
40
  import {
41
41
  __export
42
- } from "./skill-9rqn6x4v.js";
42
+ } from "./generate-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: () => Options5,
49
- Service: () => Service36,
48
+ Options: () => Options7,
49
+ Service: () => Service59,
50
50
  Test: () => Test2,
51
- configured: () => configured6,
51
+ configured: () => configured7,
52
52
  latest: () => latest2,
53
- layer: () => layer18,
54
- node: () => node40,
53
+ layer: () => layer23,
54
+ node: () => node61,
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 Options5 = 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 Options5 = Schema.Struct({
76
76
  content: Schema.optional(Schema.String)
77
77
  });
78
78
 
79
- class Service36 extends Context.Service()("@opencode/Config") {
79
+ class Service59 extends Context.Service()("@opencode/Config") {
80
80
  }
81
81
 
82
82
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -94,16 +94,16 @@ var testLayer2 = (initial = [], compatibility = {
94
94
  setEntries: (next) => Ref.set(entries, next),
95
95
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
96
96
  });
97
- return Context.empty().pipe(Context.add(Service36, service), Context.add(Test2, service));
97
+ return Context.empty().pipe(Context.add(Service59, service), Context.add(Test2, service));
98
98
  }));
99
- var layer18 = (options) => Layer.effect(Service36, Effect.gen(function* () {
99
+ var layer23 = (options) => Layer.effect(Service59, Effect.gen(function* () {
100
100
  const fs = yield* FSUtil.Service;
101
101
  const location = yield* Service82;
102
- const watcher = yield* Service37;
102
+ const watcher = yield* Service60;
103
103
  const bus = yield* Service85;
104
- const credentials = yield* Service68;
104
+ const credentials = yield* Service79;
105
105
  const globalService = yield* Global.Service;
106
- const wellknown = yield* Service49;
106
+ const wellknown = yield* Service61;
107
107
  const processes = yield* AppProcess.Service;
108
108
  const reloadLock = Semaphore.makeUnsafe(1);
109
109
  const updateLock = Semaphore.makeUnsafe(1);
@@ -186,7 +186,7 @@ var layer18 = (options) => Layer.effect(Service36, Effect.gen(function* () {
186
186
  });
187
187
  const loadDirectory = Effect.fnUntraced(function* (directory) {
188
188
  return [
189
- ...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
189
+ ...yield* Effect.forEach(names4, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
190
190
  new Directory({ type: "directory", path: directory })
191
191
  ];
192
192
  });
@@ -254,8 +254,8 @@ var layer18 = (options) => Layer.effect(Service36, Effect.gen(function* () {
254
254
  }, (effect) => reloadLock.withPermit(effect));
255
255
  const pendingReloads = yield* PubSub.subscribe(reloads);
256
256
  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 }));
257
- yield* bus.subscribe(Event15.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 }));
258
- yield* bus.subscribe(Event9.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
257
+ 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 }));
258
+ yield* bus.subscribe(Event11.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
259
259
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
260
260
  if (!wellknown.snapshot().length)
261
261
  return Effect.void;
@@ -268,7 +268,7 @@ var layer18 = (options) => Layer.effect(Service36, Effect.gen(function* () {
268
268
  yield* reloadLock.withPermit(reconcile(initial));
269
269
  const update = Effect.fn("Config.update")(function* (patch) {
270
270
  const directory = initial.global ?? AbsolutePath2.make(globalService.config);
271
- const candidates = names3.map((name) => path.join(directory, name));
271
+ const candidates = names4.map((name) => path.join(directory, name));
272
272
  const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
273
273
  const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
274
274
  `;
@@ -283,7 +283,7 @@ var layer18 = (options) => Layer.effect(Service36, Effect.gen(function* () {
283
283
  `);
284
284
  yield* requestReload;
285
285
  }, (effect) => updateLock.withPermit(effect));
286
- return Service36.of({
286
+ return Service59.of({
287
287
  entries: Effect.fnUntraced(function* () {
288
288
  return configs;
289
289
  }),
@@ -295,22 +295,22 @@ var layer18 = (options) => Layer.effect(Service36, Effect.gen(function* () {
295
295
  update
296
296
  });
297
297
  }));
298
- function configured6(options) {
298
+ function configured7(options) {
299
299
  return makeLocationNode({
300
- service: Service36,
301
- layer: layer18(options),
300
+ service: Service59,
301
+ layer: layer23(options),
302
302
  deps: [
303
- node41,
303
+ node62,
304
304
  node89,
305
305
  FSUtil.node,
306
306
  Global.node,
307
307
  node86,
308
- node72,
309
- node54,
308
+ node83,
309
+ node63,
310
310
  AppProcess.node
311
311
  ]
312
312
  });
313
313
  }
314
- var node40 = configured6();
314
+ var node61 = configured7();
315
315
 
316
- export { latest2, Options5, Service36, Test2, testLayer2, layer18, configured6, node40, exports_config };
316
+ export { latest2, Options7, Service59, Test2, testLayer2, layer23, configured7, node61, exports_config };
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service33
3
- } from "./skill-hcms3ej7.js";
2
+ Service45
3
+ } from "./generate-fx2js9bg.js";
4
4
  import {
5
- Service60
6
- } from "./skill-tegs1ycp.js";
5
+ Service50
6
+ } from "./generate-h896pcm5.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./skill-vnkjks7b.js";
9
+ } from "./generate-by5v678g.js";
10
10
  import {
11
11
  __export
12
- } from "./skill-9rqn6x4v.js";
12
+ } from "./generate-9rqn6x4v.js";
13
13
 
14
14
  // src/session/command.ts
15
15
  var exports_command3 = {};
@@ -19,8 +19,8 @@ __export(exports_command3, {
19
19
  });
20
20
  import { Effect } from "effect";
21
21
  var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
22
- const instances = yield* Service60;
23
- const commands = yield* awaitActivation2.pipe(Effect.andThen(Service33), instances.provide(input.session));
22
+ const instances = yield* Service50;
23
+ const commands = yield* awaitActivation2.pipe(Effect.andThen(Service45), instances.provide(input.session));
24
24
  yield* commands.execute({
25
25
  name: input.command,
26
26
  invocation: {
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Service85
3
- } from "./skill-q6ec7ghb.js";
3
+ } from "./generate-66wr1y9a.js";
4
4
  import {
5
- ID10,
6
- Event15,
7
- Service68
8
- } from "./skill-kbzdcc1z.js";
5
+ ID15,
6
+ Event19,
7
+ Service79
8
+ } from "./generate-ryarz677.js";
9
9
  import {
10
- ID8
11
- } from "./skill-f3rjyvb9.js";
10
+ ID13
11
+ } from "./generate-90kmffnn.js";
12
12
  import {
13
13
  configuredSettings2
14
- } from "./skill-nm2sbdyw.js";
14
+ } from "./generate-exwt628r.js";
15
15
 
16
16
  // src/plugin/provider/google-vertex.ts
17
17
  import { Effect, Option, Schema, Stream } from "effect";
@@ -41,7 +41,7 @@ var GoogleVertexPlugin2 = define({
41
41
  id: "opencode.provider.google.vertex",
42
42
  effect: Effect.fn(function* (ctx) {
43
43
  const fs = yield* FSUtil.Service;
44
- const credentials = yield* Service68;
44
+ const credentials = yield* Service79;
45
45
  const bus = yield* Service85;
46
46
  const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
47
47
  return;
@@ -51,7 +51,7 @@ var GoogleVertexPlugin2 = define({
51
51
  const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
52
52
  const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
53
53
  const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
54
- const configured = (yield* configuredSettings2(ID8.googleVertex)) ?? {};
54
+ const configured = (yield* configuredSettings2(ID13.googleVertex)) ?? {};
55
55
  const projects = Array.from(new Set([
56
56
  resolveProject(configured),
57
57
  ...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
@@ -65,8 +65,8 @@ var GoogleVertexPlugin2 = define({
65
65
  ...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
66
66
  ]));
67
67
  const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
68
- const connection = yield* ctx.integration.connection.active(ID8.googleVertex);
69
- const stored = connection?.type === "credential" ? yield* credentials.get(ID10.make(connection.id)) : undefined;
68
+ const connection = yield* ctx.integration.connection.active(ID13.googleVertex);
69
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID15.make(connection.id)) : undefined;
70
70
  if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
71
71
  return {};
72
72
  return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
@@ -74,15 +74,15 @@ var GoogleVertexPlugin2 = define({
74
74
  const selected = { settings: yield* load() };
75
75
  const settingsFor = (provider) => ({
76
76
  ...provider.settings,
77
- ...(provider.integrationID ?? provider.id) === ID8.googleVertex ? selected.settings : {}
77
+ ...(provider.integrationID ?? provider.id) === ID13.googleVertex ? selected.settings : {}
78
78
  });
79
79
  yield* ctx.integration.transform((editor) => {
80
80
  editor.method.update({
81
- integrationID: ID8.googleVertex,
81
+ integrationID: ID13.googleVertex,
82
82
  method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
83
83
  });
84
84
  editor.method.update({
85
- integrationID: ID8.googleVertex,
85
+ integrationID: ID13.googleVertex,
86
86
  method: {
87
87
  id: ADC_METHOD,
88
88
  type: "external",
@@ -120,7 +120,7 @@ var GoogleVertexPlugin2 = define({
120
120
  });
121
121
  yield* ctx.provider.transform((evt) => {
122
122
  for (const item of evt.list()) {
123
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID8.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
123
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
124
124
  continue;
125
125
  const settings = settingsFor(item.provider);
126
126
  const project = resolveProject(settings);
@@ -139,7 +139,7 @@ var GoogleVertexPlugin2 = define({
139
139
  });
140
140
  yield* ctx.model.transform((models) => {
141
141
  for (const item of models.provider.list()) {
142
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID8.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
142
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
143
143
  continue;
144
144
  const settings = settingsFor(item.provider);
145
145
  const project = resolveProject(settings);
@@ -156,7 +156,7 @@ var GoogleVertexPlugin2 = define({
156
156
  }
157
157
  }
158
158
  });
159
- yield* bus.subscribe([Event15.Updated, Event15.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
159
+ yield* bus.subscribe([Event19.Updated, Event19.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
160
160
  const next = yield* load();
161
161
  if (JSON.stringify(next) === JSON.stringify(selected.settings))
162
162
  return;
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useragent2
3
- } from "./skill-hxbam2w6.js";
3
+ } from "./generate-xwb84dzk.js";
4
4
  import {
5
5
  OAuth3,
6
- Service68
7
- } from "./skill-kbzdcc1z.js";
6
+ Service79
7
+ } from "./generate-ryarz677.js";
8
8
  import {
9
- ID9,
9
+ ID14,
10
10
  MethodID2
11
- } from "./skill-0mshdkct.js";
11
+ } from "./generate-a01105mq.js";
12
12
  import {
13
- ID8,
13
+ ID13,
14
14
  mergeOverlay2
15
- } from "./skill-f3rjyvb9.js";
15
+ } from "./generate-90kmffnn.js";
16
16
 
17
17
  // src/plugin/provider/xai.ts
18
18
  import { define } from "@opencode/plugin/effect/plugin";
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
24
24
  var pollingSafetyMargin = 3000;
25
25
  var browserMethodID = MethodID2.make("browser");
26
26
  var deviceMethodID = MethodID2.make("device");
27
- var providerID = ID8.make("xai");
27
+ var providerID = ID13.make("xai");
28
28
  var Token = Schema.Struct({
29
29
  access_token: Schema.String,
30
30
  refresh_token: Schema.optional(Schema.String),
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
44
44
  });
45
45
  var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
46
46
  var device = (app) => ({
47
- integrationID: ID9.make("xai"),
47
+ integrationID: ID14.make("xai"),
48
48
  method: {
49
49
  id: deviceMethodID,
50
50
  type: "oauth",
@@ -69,8 +69,8 @@ var device = (app) => ({
69
69
  var XAIPlugin2 = define({
70
70
  id: "opencode.provider.xai",
71
71
  effect: Effect.fn(function* (ctx) {
72
- const credentials = yield* Service68;
73
- yield* Effect.forEach(yield* credentials.list(ID9.make("xai")), (credential) => {
72
+ const credentials = yield* Service79;
73
+ yield* Effect.forEach(yield* credentials.list(ID14.make("xai")), (credential) => {
74
74
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
75
75
  return Effect.void;
76
76
  return credentials.update(credential.id, {
@@ -2,18 +2,18 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./skill-z5v4ffb3.js";
5
+ } from "./generate-z5v4ffb3.js";
6
6
  import {
7
7
  Service82,
8
8
  node86
9
- } from "./skill-hh8xd2g7.js";
9
+ } from "./generate-2hv7g8ph.js";
10
10
  import {
11
- Service44,
12
- node48
13
- } from "./skill-q6hmgxfy.js";
11
+ Service30,
12
+ node33
13
+ } from "./generate-mx4p7qc7.js";
14
14
  import {
15
15
  __export
16
- } from "./skill-9rqn6x4v.js";
16
+ } from "./generate-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
@@ -24,20 +24,20 @@ __export(exports_filesystem, {
24
24
  DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
25
25
  DirectoryNotFoundError: () => DirectoryNotFoundError2,
26
26
  Entry: () => Entry2,
27
- Event: () => Event8,
27
+ Event: () => Event7,
28
28
  FileSystem: () => exports_filesystem,
29
29
  FindInput: () => FindInput2,
30
30
  GlobInput: () => GlobInput2,
31
31
  GrepInput: () => GrepInput2,
32
- ListInput: () => ListInput3,
32
+ ListInput: () => ListInput2,
33
33
  Match: () => Match2,
34
- NotFoundError: () => NotFoundError6,
34
+ NotFoundError: () => NotFoundError4,
35
35
  ReadInput: () => ReadInput2,
36
- Service: () => Service43,
36
+ Service: () => Service29,
37
37
  Submatch: () => Submatch2,
38
38
  Write: () => Write2,
39
39
  WriteInput: () => WriteInput2,
40
- node: () => node47
40
+ node: () => node32
41
41
  });
42
42
  import { makeLocationNode } from "@opencode/util/effect/app-node";
43
43
  import path from "path";
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
53
53
  data: Schema.Uint8Array
54
54
  });
55
55
 
56
- class NotFoundError6 extends Schema.TaggedError()("FileSystem.NotFoundError", {
56
+ class NotFoundError4 extends Schema.TaggedError()("FileSystem.NotFoundError", {
57
57
  path: RelativePath2
58
58
  }) {
59
59
  }
@@ -82,7 +82,7 @@ var Content2 = Schema.Struct({
82
82
  encoding: Schema.Literals(["utf8", "base64"]),
83
83
  mime: Schema.String
84
84
  }).annotate({ identifier: "FileSystem.Content" });
85
- var ListInput3 = Schema.Struct({
85
+ var ListInput2 = Schema.Struct({
86
86
  path: Schema.String.pipe(Schema.optional)
87
87
  });
88
88
  var DEFAULT_SEARCH_LIMIT2 = 100;
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
105
105
  limit: Schema.optionalKey(PositiveInt2)
106
106
  }) {
107
107
  }
108
- var Event8 = FileSystem.Event;
108
+ var Event7 = FileSystem.Event;
109
109
 
110
- class Service43 extends Context.Service()("@opencode/FileSystem") {
110
+ class Service29 extends Context.Service()("@opencode/FileSystem") {
111
111
  }
112
- var baseLayer = Layer.effect(Service43, Effect.gen(function* () {
112
+ var baseLayer = Layer.effect(Service29, Effect.gen(function* () {
113
113
  const fs = yield* FSUtil.Service;
114
114
  const location = yield* Service82;
115
- const search = yield* Service44;
115
+ const search = yield* Service30;
116
116
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
117
117
  if (cause.reason._tag === "NotFound")
118
118
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
@@ -122,22 +122,22 @@ var baseLayer = Layer.effect(Service43, Effect.gen(function* () {
122
122
  }));
123
123
  const resolve = Effect.fnUntraced(function* (input) {
124
124
  if (input.includes("\x00"))
125
- return yield* Effect.fail(new NotFoundError6({ path: input }));
125
+ return yield* Effect.fail(new NotFoundError4({ path: input }));
126
126
  const absolute = path.resolve(location.directory, input);
127
127
  if (!FSUtil.contains(location.directory, absolute))
128
- return yield* Effect.fail(new NotFoundError6({ path: input }));
129
- const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input })), (_, error) => Effect.die(error)));
128
+ return yield* Effect.fail(new NotFoundError4({ path: input }));
129
+ const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input })), (_, error) => Effect.die(error)));
130
130
  if (!FSUtil.contains(root, real))
131
- return yield* Effect.fail(new NotFoundError6({ path: input }));
131
+ return yield* Effect.fail(new NotFoundError4({ path: input }));
132
132
  return { absolute, real, directory: location.directory };
133
133
  });
134
- return Service43.of({
134
+ return Service29.of({
135
135
  find: search.find,
136
136
  read: Effect.fn("FileSystem.read")(function* (input) {
137
137
  const target = yield* resolve(input.path);
138
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input.path })), (_, error) => Effect.die(error)));
138
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error)));
139
139
  if (info.type !== "File")
140
- return yield* Effect.fail(new NotFoundError6({ path: input.path }));
140
+ return yield* Effect.fail(new NotFoundError4({ path: input.path }));
141
141
  return {
142
142
  mime: FSUtil.mimeType(target.real),
143
143
  size: Number(info.size),
@@ -147,7 +147,7 @@ var baseLayer = Layer.effect(Service43, Effect.gen(function* () {
147
147
  }),
148
148
  list: Effect.fn("FileSystem.list")(function* (input = {}) {
149
149
  const directory = path.resolve(location.directory, input.path ?? ".");
150
- const missing = new NotFoundError6({ path: RelativePath2.make(input.path ?? ".") });
150
+ const missing = new NotFoundError4({ path: RelativePath2.make(input.path ?? ".") });
151
151
  const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
152
152
  if (info.type !== "Directory")
153
153
  return yield* missing;
@@ -171,10 +171,10 @@ var baseLayer = Layer.effect(Service43, Effect.gen(function* () {
171
171
  })
172
172
  });
173
173
  }));
174
- var node47 = makeLocationNode({
175
- service: Service43,
174
+ var node32 = makeLocationNode({
175
+ service: Service29,
176
176
  layer: baseLayer,
177
- deps: [FSUtil.node, node86, node48]
177
+ deps: [FSUtil.node, node86, node33]
178
178
  });
179
179
 
180
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError6, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event8, Service43, node47, exports_filesystem, Entry2, Match2, Submatch2 };
180
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError4, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event7, Service29, node32, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -3,34 +3,34 @@ import {
3
3
  WrongKind2,
4
4
  Failed2,
5
5
  typeFollowing2
6
- } from "./skill-hgz4x7wa.js";
6
+ } from "./generate-hgz4x7wa.js";
7
7
  import {
8
8
  execDefaults2
9
- } from "./skill-eej6y6fw.js";
9
+ } from "./generate-eej6y6fw.js";
10
10
  import {
11
11
  makeLocalDriver2
12
- } from "./skill-3hwn7j4h.js";
12
+ } from "./generate-3hwn7j4h.js";
13
13
  import {
14
14
  makeMemoryDriver2
15
- } from "./skill-v7p4zvkq.js";
15
+ } from "./generate-v7p4zvkq.js";
16
16
  import {
17
17
  Service82,
18
18
  node86
19
- } from "./skill-hh8xd2g7.js";
19
+ } from "./generate-2hv7g8ph.js";
20
20
  import {
21
- Service47,
22
- node51
23
- } from "./skill-5a1a4xxz.js";
21
+ Service65,
22
+ node68
23
+ } from "./generate-apv97swk.js";
24
24
  import {
25
25
  __export
26
- } from "./skill-9rqn6x4v.js";
26
+ } from "./generate-9rqn6x4v.js";
27
27
 
28
28
  // src/environment/environment.ts
29
29
  var exports_environment2 = {};
30
30
  __export(exports_environment2, {
31
31
  EnvironmentService: () => exports_environment2,
32
- Service: () => Service46,
33
- node: () => node50
32
+ Service: () => Service64,
33
+ node: () => node67
34
34
  });
35
35
  import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,13 +43,13 @@ __export(exports_environment3, {
43
43
  Environment: () => exports_environment3,
44
44
  Failed: () => Failed2,
45
45
  NotFound: () => NotFound3,
46
- Service: () => Service46,
46
+ Service: () => Service64,
47
47
  WrongKind: () => WrongKind2,
48
48
  execDefaults: () => execDefaults2,
49
49
  makeFiles: () => makeFiles2,
50
50
  makeLocalDriver: () => makeLocalDriver2,
51
51
  makeMemoryDriver: () => makeMemoryDriver2,
52
- node: () => node50,
52
+ node: () => node67,
53
53
  typeFollowing: () => typeFollowing2
54
54
  });
55
55
  var makeFiles2 = (driver) => ({
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
58
58
  });
59
59
 
60
60
  // src/environment/environment.ts
61
- class Service46 extends Context.Service()("@opencode/Environment") {
61
+ class Service64 extends Context.Service()("@opencode/Environment") {
62
62
  }
63
- var layer = Layer.effect(Service46, Effect.gen(function* () {
63
+ var layer = Layer.effect(Service64, Effect.gen(function* () {
64
64
  const spawner = yield* ChildProcessSpawner;
65
65
  const location = yield* Service82;
66
- const workspace = yield* Service47;
66
+ const workspace = yield* Service65;
67
67
  const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
68
- return Service46.of({ files: makeFiles2(driver), spawner: driver.spawner });
68
+ return Service64.of({ files: makeFiles2(driver), spawner: driver.spawner });
69
69
  }));
70
- var node50 = makeLocationNode({
71
- service: Service46,
70
+ var node67 = makeLocationNode({
71
+ service: Service64,
72
72
  layer,
73
- deps: [CrossSpawnSpawner.node, node86, node51]
73
+ deps: [CrossSpawnSpawner.node, node86, node68]
74
74
  });
75
75
 
76
- export { Service46, node50, exports_environment2, makeFiles2, exports_environment3 };
76
+ export { Service64, node67, exports_environment2, makeFiles2, exports_environment3 };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service36
3
- } from "./skill-9cw92fkg.js";
2
+ Service59
3
+ } from "./generate-jgqmcces.js";
4
4
  import {
5
- Service27
6
- } from "./skill-9g88hcsg.js";
5
+ Service44
6
+ } from "./generate-yjhj4zwb.js";
7
7
  import {
8
8
  __export
9
- } from "./skill-9rqn6x4v.js";
9
+ } from "./generate-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
- var exports_mcp2 = {};
13
- __export(exports_mcp2, {
14
- ConfigMcpPlugin: () => exports_mcp2,
15
- Plugin: () => Plugin46,
12
+ var exports_mcp = {};
13
+ __export(exports_mcp, {
14
+ ConfigMcpPlugin: () => exports_mcp,
15
+ Plugin: () => Plugin2,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin46 = define({
20
+ var Plugin2 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe());
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service36;
28
- const mcp = yield* Service27;
27
+ const config = yield* Service59;
28
+ const mcp = yield* Service44;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin46, register2, exports_mcp2 };
49
+ export { Plugin2, register2, exports_mcp };