@opencode/core 0.0.0-dev-19445 → 0.0.0-dev-19446

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 (482) hide show
  1. package/dist/agent.js +68 -68
  2. package/dist/aisdk-native.js +2 -2
  3. package/dist/aisdk.js +6 -6
  4. package/dist/app.js +9 -9
  5. package/dist/bus.js +54 -54
  6. package/dist/catalog.js +68 -68
  7. package/dist/chunks/{skill-vypqtakx.js → skill-00mqm9kf.js} +1 -1
  8. package/dist/chunks/{skill-w8bmck9y.js → skill-0222smgd.js} +8 -8
  9. package/dist/chunks/{skill-g2h728z9.js → skill-04q3dmd9.js} +12 -12
  10. package/dist/chunks/{skill-77nagcj1.js → skill-05b1y4dr.js} +3 -3
  11. package/dist/chunks/{skill-54azk5v8.js → skill-06p9s07g.js} +14 -14
  12. package/dist/chunks/{skill-2tct1jzp.js → skill-073yvgp4.js} +9 -9
  13. package/dist/chunks/skill-0mesazry.js +4 -0
  14. package/dist/chunks/{skill-nbsrer14.js → skill-0s2ms6dh.js} +7 -7
  15. package/dist/chunks/{skill-74fxb3hx.js → skill-0sxgj3q6.js} +27 -27
  16. package/dist/chunks/{skill-569emx6x.js → skill-0y5eb3hv.js} +12 -12
  17. package/dist/chunks/{skill-3kh4nxth.js → skill-116g6ysg.js} +4 -4
  18. package/dist/chunks/{skill-efv4s0g0.js → skill-15zevn5w.js} +5 -5
  19. package/dist/chunks/{skill-ke0nj5rp.js → skill-1ge3p48e.js} +13 -13
  20. package/dist/chunks/{skill-qmkj301t.js → skill-1w82hygq.js} +10 -10
  21. package/dist/chunks/{skill-wwgwfcvb.js → skill-1x7w021c.js} +9 -9
  22. package/dist/chunks/{skill-xrpmsssz.js → skill-21zrd450.js} +29 -29
  23. package/dist/chunks/{skill-9sfkrt92.js → skill-273bqgwm.js} +7 -7
  24. package/dist/chunks/{skill-93hpb89x.js → skill-2f04pwep.js} +3 -3
  25. package/dist/chunks/{skill-bajakh74.js → skill-2tfmgkzg.js} +2 -2
  26. package/dist/chunks/{skill-2a0aqbf3.js → skill-2vfz407x.js} +28 -28
  27. package/dist/chunks/{skill-zj92nnn3.js → skill-2y5et45e.js} +21 -21
  28. package/dist/chunks/{skill-sqhm951k.js → skill-37jpxhaq.js} +19 -19
  29. package/dist/chunks/{skill-2rebtaxk.js → skill-37tpcphx.js} +28 -28
  30. package/dist/chunks/{skill-5csgya9h.js → skill-38pmhpq9.js} +9 -9
  31. package/dist/chunks/{skill-z2k03asg.js → skill-3h5xskan.js} +3 -3
  32. package/dist/chunks/{skill-h2gyv3sg.js → skill-4066mr2m.js} +1 -1
  33. package/dist/chunks/{skill-eq3dq4k8.js → skill-427v0r19.js} +24 -24
  34. package/dist/chunks/{skill-mrb2npwq.js → skill-485rp6r9.js} +23 -23
  35. package/dist/chunks/{skill-83jwm3nn.js → skill-4gv65rh6.js} +42 -42
  36. package/dist/chunks/{skill-mck3kx14.js → skill-4hhf61nd.js} +26 -26
  37. package/dist/chunks/{skill-ke194936.js → skill-4ksjm71c.js} +12 -12
  38. package/dist/chunks/{skill-mhp8k6g1.js → skill-4qzgagaa.js} +11 -11
  39. package/dist/chunks/{skill-f222mbym.js → skill-4sjc8vp5.js} +6 -6
  40. package/dist/chunks/{skill-750kw9q8.js → skill-52pmyg9z.js} +21 -21
  41. package/dist/chunks/{skill-3bar99zz.js → skill-536cph44.js} +27 -27
  42. package/dist/chunks/{skill-mfqp6xfm.js → skill-56gdpj1q.js} +4 -4
  43. package/dist/chunks/{skill-qsdhjg7e.js → skill-58ez0xmy.js} +1 -1
  44. package/dist/chunks/{skill-p5y58tyb.js → skill-59y1j56r.js} +23 -23
  45. package/dist/chunks/{skill-a1bz86dw.js → skill-5c4hm403.js} +1 -1
  46. package/dist/chunks/{skill-qbvjzwtx.js → skill-5efzqhr2.js} +10 -10
  47. package/dist/chunks/{skill-5yc69rh5.js → skill-5f0r7wn2.js} +8 -8
  48. package/dist/chunks/{skill-17p6c6pg.js → skill-5g6sb6sw.js} +31 -31
  49. package/dist/chunks/{skill-q22h9474.js → skill-5m7j8hm9.js} +18 -18
  50. package/dist/chunks/{skill-0684qezx.js → skill-62a0qfn1.js} +27 -27
  51. package/dist/chunks/{skill-rj9vahs6.js → skill-6dd0fr5r.js} +8 -8
  52. package/dist/chunks/{skill-2402vzrj.js → skill-6h73sxmp.js} +4 -4
  53. package/dist/chunks/{skill-fznpg4cs.js → skill-6kcsr840.js} +13 -13
  54. package/dist/chunks/{skill-159nkw16.js → skill-6vaz6wbx.js} +22 -22
  55. package/dist/chunks/{skill-gmzc3tvp.js → skill-6y8mdthe.js} +14 -14
  56. package/dist/chunks/{skill-9vchbmew.js → skill-6yqy0e4g.js} +78 -78
  57. package/dist/chunks/{skill-8t1wrec1.js → skill-703jyx7f.js} +7 -7
  58. package/dist/chunks/{skill-gs193ymm.js → skill-748gj6gn.js} +6 -6
  59. package/dist/chunks/{skill-6fdj6kdr.js → skill-76myzc3f.js} +2 -2
  60. package/dist/chunks/{skill-vabb23s0.js → skill-79r1wrqa.js} +1 -1
  61. package/dist/chunks/{skill-7xxqy5w0.js → skill-7cxe0w6q.js} +1 -1
  62. package/dist/chunks/{skill-yezvhbqh.js → skill-827nqb10.js} +9 -9
  63. package/dist/chunks/{skill-2g8zypaf.js → skill-868tn2h5.js} +1 -1
  64. package/dist/chunks/{skill-zsj01fcb.js → skill-89vwjast.js} +2 -2
  65. package/dist/chunks/{skill-tcezcvh9.js → skill-89znhe33.js} +3 -3
  66. package/dist/chunks/{skill-nvtfdscb.js → skill-8pybqfp6.js} +20 -20
  67. package/dist/chunks/{skill-5kngvhex.js → skill-8xhx5x0e.js} +22 -22
  68. package/dist/chunks/{skill-8qvgnq7a.js → skill-8xttkpaf.js} +9 -9
  69. package/dist/chunks/{skill-ac65zdy3.js → skill-8y2nn4c7.js} +17 -17
  70. package/dist/chunks/{skill-6zv3shge.js → skill-90qmd7bg.js} +9 -9
  71. package/dist/chunks/{skill-ttqfmzkf.js → skill-9kt49dv5.js} +4 -4
  72. package/dist/chunks/{skill-0y8x77kj.js → skill-9rszdcmw.js} +10 -10
  73. package/dist/chunks/{skill-09ewn36v.js → skill-9z7kng03.js} +43 -43
  74. package/dist/chunks/{skill-4jv56v3q.js → skill-a6yex81s.js} +12 -12
  75. package/dist/chunks/{skill-xsjdd46p.js → skill-ahgm1r24.js} +13 -13
  76. package/dist/chunks/{skill-4smx262h.js → skill-ahycpabw.js} +20 -20
  77. package/dist/chunks/{skill-q6bhavfj.js → skill-aqrcawhr.js} +10 -10
  78. package/dist/chunks/{skill-fkcp8j8s.js → skill-asqmdnzm.js} +20 -20
  79. package/dist/chunks/{skill-mjncxbbh.js → skill-b0awdqvx.js} +8 -8
  80. package/dist/chunks/{skill-k23gmb4k.js → skill-b7fqsxev.js} +16 -16
  81. package/dist/chunks/{skill-dgdg9tc7.js → skill-ba8tn576.js} +14 -14
  82. package/dist/chunks/{skill-0emqaag0.js → skill-bgn62fr8.js} +7 -7
  83. package/dist/chunks/{skill-d1khqved.js → skill-bgxcxs0p.js} +3 -3
  84. package/dist/chunks/{skill-5trk58xb.js → skill-bpqahvg7.js} +6 -6
  85. package/dist/chunks/{skill-gygfttsz.js → skill-bsq7y6bp.js} +16 -16
  86. package/dist/chunks/{skill-dgwyx5ct.js → skill-bwkch31r.js} +8 -8
  87. package/dist/chunks/{skill-x0pta7p5.js → skill-c0e85pqa.js} +16 -16
  88. package/dist/chunks/{skill-rkg39e93.js → skill-c2fa0gjs.js} +10 -10
  89. package/dist/chunks/{skill-9k2v62xn.js → skill-c3kepfq8.js} +1 -1
  90. package/dist/chunks/{skill-tn0aqsam.js → skill-c78bbtc9.js} +3 -3
  91. package/dist/chunks/{skill-5nn1zwkw.js → skill-c7yqmbpx.js} +10 -10
  92. package/dist/chunks/{skill-c5db1mkp.js → skill-ccf3t0a5.js} +22 -22
  93. package/dist/chunks/{skill-fh1y2sqn.js → skill-cdj9q7e3.js} +13 -13
  94. package/dist/chunks/{skill-ghy7f12q.js → skill-cfx2hezr.js} +22 -22
  95. package/dist/chunks/{skill-yvevv6gs.js → skill-cjgwzec5.js} +6 -6
  96. package/dist/chunks/{skill-zqsq0f3p.js → skill-cq17aevt.js} +20 -20
  97. package/dist/chunks/{skill-qs4y937t.js → skill-cr3aetdn.js} +23 -23
  98. package/dist/chunks/{skill-xekzrwwc.js → skill-crptryd9.js} +7 -7
  99. package/dist/chunks/{skill-b6cxpadd.js → skill-cw06aj2p.js} +26 -26
  100. package/dist/chunks/{skill-qfkewnpy.js → skill-cwxy8s66.js} +156 -156
  101. package/dist/chunks/{skill-q2d40q94.js → skill-cxjx4k2f.js} +9 -9
  102. package/dist/chunks/{skill-v4hmzr0r.js → skill-cxv3b682.js} +7 -7
  103. package/dist/chunks/{skill-x145bkh2.js → skill-d2azexz5.js} +10 -10
  104. package/dist/chunks/{skill-v5efs57h.js → skill-d46kpj6a.js} +35 -35
  105. package/dist/chunks/{skill-esdnemd6.js → skill-dcj77ap2.js} +1 -1
  106. package/dist/chunks/{skill-9q0bw3dr.js → skill-dph9w4m5.js} +24 -24
  107. package/dist/chunks/{skill-k36wq3da.js → skill-dv96pvfp.js} +17 -17
  108. package/dist/chunks/{skill-s8n1268f.js → skill-dz69mbbk.js} +3 -3
  109. package/dist/chunks/{skill-xnyk9pjh.js → skill-e8mq09xw.js} +297 -297
  110. package/dist/chunks/{skill-t550f9t1.js → skill-eaj1djv9.js} +7 -7
  111. package/dist/chunks/{skill-3c1tgrea.js → skill-ecrv93z9.js} +5 -5
  112. package/dist/chunks/{skill-3qeevawm.js → skill-ecxazetx.js} +7 -7
  113. package/dist/chunks/{skill-0xn4ebw4.js → skill-eksyn7fm.js} +5 -5
  114. package/dist/chunks/{skill-2k8khapm.js → skill-esafk7q3.js} +4 -4
  115. package/dist/chunks/{skill-vbj2rye8.js → skill-ewezmb4f.js} +38 -38
  116. package/dist/chunks/{skill-d2waefg7.js → skill-ey3r30py.js} +14 -14
  117. package/dist/chunks/{skill-gdrm4bvr.js → skill-f0tca92g.js} +8 -8
  118. package/dist/chunks/{skill-82152e3w.js → skill-f75rfffy.js} +13 -13
  119. package/dist/chunks/{skill-spcqgy8q.js → skill-fbvn2b0m.js} +19 -19
  120. package/dist/chunks/{skill-t0r3q69e.js → skill-fdamjsg4.js} +1 -1
  121. package/dist/chunks/{skill-yy0nzgb9.js → skill-fdwb90kk.js} +27 -27
  122. package/dist/chunks/{skill-mek92vfe.js → skill-fgp06zs4.js} +42 -42
  123. package/dist/chunks/{skill-y15k8n5h.js → skill-fkhf9ky0.js} +20 -20
  124. package/dist/chunks/{skill-9hrja81v.js → skill-frzkm7eq.js} +15 -15
  125. package/dist/chunks/{skill-5jh55tk4.js → skill-fx4shqry.js} +30 -30
  126. package/dist/chunks/{skill-3f0zzcm1.js → skill-fxjtq7wv.js} +16 -16
  127. package/dist/chunks/{skill-bqszwq89.js → skill-g17w5wg1.js} +5 -5
  128. package/dist/chunks/{skill-gpx0jagy.js → skill-g5x3p52g.js} +9 -9
  129. package/dist/chunks/{skill-sayx4gma.js → skill-g7hsbyvn.js} +7 -7
  130. package/dist/chunks/{skill-q9dvbpha.js → skill-g7rz0sxb.js} +6 -6
  131. package/dist/chunks/{skill-jfqtm2ew.js → skill-g8d3gcyj.js} +6 -6
  132. package/dist/chunks/{skill-5v2brm2p.js → skill-gknhvrra.js} +4 -4
  133. package/dist/chunks/{skill-zb7jm7vb.js → skill-h5vwbggd.js} +9 -9
  134. package/dist/chunks/{skill-qd8wwfxt.js → skill-hb7yy7na.js} +7 -7
  135. package/dist/chunks/{skill-r916gz35.js → skill-hbf770qa.js} +14 -14
  136. package/dist/chunks/{skill-f828m53h.js → skill-hdnk95c8.js} +1 -1
  137. package/dist/chunks/{skill-kjmd8gwp.js → skill-hkj6fxjk.js} +5 -5
  138. package/dist/chunks/{skill-pxwpnzzr.js → skill-ht5s5k2z.js} +16 -16
  139. package/dist/chunks/{skill-hxx3wyh4.js → skill-hzbw9fn5.js} +13 -13
  140. package/dist/chunks/{skill-3xag9776.js → skill-jbyvhchy.js} +77 -77
  141. package/dist/chunks/{skill-7cc3npsf.js → skill-jc5zh87m.js} +15 -15
  142. package/dist/chunks/{skill-q803f8d7.js → skill-jcvp1ydt.js} +17 -17
  143. package/dist/chunks/{skill-wnetnkyw.js → skill-k3m7ejjg.js} +24 -24
  144. package/dist/chunks/{skill-4mqrbajh.js → skill-k5ge3013.js} +14 -14
  145. package/dist/chunks/{skill-yjq3nkkb.js → skill-kb1mepd1.js} +23 -23
  146. package/dist/chunks/{skill-xd2c2vv1.js → skill-km9mpse9.js} +13 -13
  147. package/dist/chunks/{skill-3trbxeqx.js → skill-kmv022h3.js} +1 -1
  148. package/dist/chunks/{skill-xdk9p2qn.js → skill-kvvk39gs.js} +20 -20
  149. package/dist/chunks/{skill-pjg9m0hw.js → skill-kw3wbhtp.js} +16 -16
  150. package/dist/chunks/{skill-cfpkc3c9.js → skill-m0jqrx5p.js} +1 -1
  151. package/dist/chunks/{skill-yjpw2tzc.js → skill-m0mxmb48.js} +23 -23
  152. package/dist/chunks/{skill-95rygp7c.js → skill-m2951qy5.js} +16 -16
  153. package/dist/chunks/{skill-6kr2w62q.js → skill-m9wbqshr.js} +1 -1
  154. package/dist/chunks/{skill-c88rwc6y.js → skill-mbfa63ez.js} +11 -11
  155. package/dist/chunks/{skill-58ax6zm2.js → skill-mpgj7yzy.js} +11 -11
  156. package/dist/chunks/{skill-65hfepw4.js → skill-mvqrx4s2.js} +10 -10
  157. package/dist/chunks/{skill-087ankfj.js → skill-n1rxvz2x.js} +21 -21
  158. package/dist/chunks/{skill-94rpvrjb.js → skill-n95r7dn6.js} +53 -53
  159. package/dist/chunks/{skill-ya625hps.js → skill-nec87jdd.js} +1 -1
  160. package/dist/chunks/skill-nhb97n4t.js +22 -0
  161. package/dist/chunks/{skill-3kmkca4m.js → skill-nrw4td2n.js} +1 -1
  162. package/dist/chunks/{skill-me8f61q0.js → skill-nymmp31y.js} +9 -9
  163. package/dist/chunks/{skill-11h1hnb3.js → skill-p1p8k1ef.js} +1 -1
  164. package/dist/chunks/{skill-g3n6es57.js → skill-p1wf2k30.js} +7 -7
  165. package/dist/chunks/{skill-7fpmdhde.js → skill-p31wqd2s.js} +16 -16
  166. package/dist/chunks/{skill-s7731dqm.js → skill-p72z5xx6.js} +1 -1
  167. package/dist/chunks/{skill-j935v87r.js → skill-paphc93g.js} +2 -2
  168. package/dist/chunks/{skill-nnzmab9f.js → skill-pea6dbqf.js} +49 -49
  169. package/dist/chunks/{skill-1x11rq2a.js → skill-pf31ssb9.js} +4 -4
  170. package/dist/chunks/{skill-xy649dp3.js → skill-pj4qz0sj.js} +14 -14
  171. package/dist/chunks/{skill-ve4pfa0n.js → skill-pmr4s4kc.js} +3 -3
  172. package/dist/chunks/{skill-7smsr029.js → skill-prp2s7ks.js} +2 -2
  173. package/dist/chunks/{skill-ktdc306a.js → skill-q2s1vy6g.js} +4 -4
  174. package/dist/chunks/{skill-h9k0ng18.js → skill-q7y8k7bj.js} +2 -2
  175. package/dist/chunks/{skill-mrw4weg4.js → skill-qcfsefxz.js} +4 -4
  176. package/dist/chunks/{skill-fxz1gqrt.js → skill-qfrge5cf.js} +34 -34
  177. package/dist/chunks/{skill-d5731q4d.js → skill-qjc9h60s.js} +7 -7
  178. package/dist/chunks/{skill-0ge7vg41.js → skill-qx0n0hnh.js} +8 -8
  179. package/dist/chunks/{skill-yp2x3t23.js → skill-r8xr0va3.js} +3 -3
  180. package/dist/chunks/{skill-kjcr15p7.js → skill-rfnzy394.js} +1 -1
  181. package/dist/chunks/{skill-nx4935gj.js → skill-rh63tm4e.js} +11 -11
  182. package/dist/chunks/{skill-xyf8jtay.js → skill-rrjahgq1.js} +17 -17
  183. package/dist/chunks/{skill-7tpxex51.js → skill-rtathh62.js} +7 -7
  184. package/dist/chunks/{skill-rs226bz6.js → skill-rz0qknjf.js} +5 -5
  185. package/dist/chunks/{skill-3cz8rj72.js → skill-s8zy8myc.js} +3 -3
  186. package/dist/chunks/{skill-c2bnm6k2.js → skill-sacvkn4e.js} +4 -4
  187. package/dist/chunks/{skill-fbcen7pp.js → skill-sd6b6aez.js} +3 -3
  188. package/dist/chunks/{skill-ava840jj.js → skill-skegxwkp.js} +6 -6
  189. package/dist/chunks/{skill-765srhpk.js → skill-smn8xsvq.js} +18 -18
  190. package/dist/chunks/{skill-mtcgtbpz.js → skill-snkxabjd.js} +19 -19
  191. package/dist/chunks/{skill-e23wa8rb.js → skill-snm4v5fs.js} +27 -27
  192. package/dist/chunks/{skill-yvq8v403.js → skill-sq391nww.js} +41 -41
  193. package/dist/chunks/{skill-y8fswwr5.js → skill-t4tq2a7p.js} +23 -23
  194. package/dist/chunks/{skill-84tssp1s.js → skill-t69nnh3p.js} +7 -7
  195. package/dist/chunks/{skill-8bajxtr2.js → skill-t97t2t7r.js} +14 -14
  196. package/dist/chunks/skill-taebzevr.js +247 -0
  197. package/dist/chunks/{skill-jefma2gq.js → skill-tdh80rdv.js} +7 -7
  198. package/dist/chunks/{skill-zrb5c291.js → skill-tgw0t7t4.js} +11 -11
  199. package/dist/chunks/{skill-em44vm4y.js → skill-tjsj89dc.js} +7 -7
  200. package/dist/chunks/{skill-6me79q7q.js → skill-tkr4f2t1.js} +36 -36
  201. package/dist/chunks/{skill-zj09a0ew.js → skill-tm7zr4pr.js} +3 -3
  202. package/dist/chunks/{skill-hn57h045.js → skill-ttqh24zm.js} +3 -3
  203. package/dist/chunks/{skill-744qmx57.js → skill-tv2zb7b5.js} +11 -11
  204. package/dist/chunks/{skill-tqxz2e3b.js → skill-v7cfskca.js} +20 -20
  205. package/dist/chunks/{skill-wrpp1wzb.js → skill-vc3kmvr8.js} +13 -13
  206. package/dist/chunks/{skill-mvdgtp8g.js → skill-vccwxyms.js} +8 -8
  207. package/dist/chunks/{skill-pkf1fw33.js → skill-vphs0ems.js} +30 -30
  208. package/dist/chunks/{skill-d248znmc.js → skill-vwdfkczd.js} +12 -12
  209. package/dist/chunks/{skill-dmtzfb09.js → skill-vy7x5tbn.js} +7 -7
  210. package/dist/chunks/{skill-z2jv1b0e.js → skill-w16ds23h.js} +29 -29
  211. package/dist/chunks/{skill-6p3xbzsx.js → skill-w1k39n5e.js} +3 -3
  212. package/dist/chunks/{skill-6ttajnb0.js → skill-wh6nx8gk.js} +1 -1
  213. package/dist/chunks/{skill-sntdf6vk.js → skill-wvx86wgz.js} +13 -13
  214. package/dist/chunks/{skill-02smfngn.js → skill-wzw8h0en.js} +12 -12
  215. package/dist/chunks/{skill-8pywjhtp.js → skill-x1hekaqh.js} +13 -13
  216. package/dist/chunks/{skill-qs001aqx.js → skill-xn9jxgmv.js} +9 -9
  217. package/dist/chunks/{skill-sst8evag.js → skill-xnc6bxth.js} +10 -10
  218. package/dist/chunks/{skill-68r9taqa.js → skill-xpbqh003.js} +11 -11
  219. package/dist/chunks/{skill-hfg1z283.js → skill-xpm1fec2.js} +7 -7
  220. package/dist/chunks/{skill-h671hp36.js → skill-xrsf5jnj.js} +23 -23
  221. package/dist/chunks/{skill-kz3xwqrn.js → skill-y16xxa45.js} +20 -20
  222. package/dist/chunks/{skill-t6kx061s.js → skill-y7zhbg8e.js} +18 -18
  223. package/dist/chunks/{skill-kev8xza3.js → skill-yattrjvx.js} +51 -51
  224. package/dist/chunks/{skill-ykfq2gv5.js → skill-yavve3w1.js} +9 -9
  225. package/dist/chunks/{skill-r1wdcgzk.js → skill-yddgxcp4.js} +3 -3
  226. package/dist/chunks/{skill-s4enseaf.js → skill-yrznvahk.js} +1 -1
  227. package/dist/chunks/{skill-29x78va6.js → skill-z63w68vq.js} +4 -4
  228. package/dist/chunks/{skill-fq1h1v14.js → skill-z7xj2rat.js} +3 -3
  229. package/dist/chunks/{skill-jg5pnb06.js → skill-z9nm54ts.js} +7 -7
  230. package/dist/chunks/{skill-yhkzsdkx.js → skill-zqa4xgzf.js} +4 -4
  231. package/dist/chunks/{skill-jw0mprhj.js → skill-ztpcpx2k.js} +32 -32
  232. package/dist/chunks/{skill-k5rg09kc.js → skill-zvt67h1h.js} +39 -39
  233. package/dist/codemode/instructions.js +8 -8
  234. package/dist/command.js +70 -70
  235. package/dist/config/discovery.js +63 -63
  236. package/dist/config/normalize.js +16 -16
  237. package/dist/config/plugin/agent.js +94 -94
  238. package/dist/config/plugin/command.js +177 -177
  239. package/dist/config/plugin/compaction.js +131 -131
  240. package/dist/config/plugin/formatter.js +95 -95
  241. package/dist/config/plugin/image.js +94 -94
  242. package/dist/config/plugin/instruction.js +68 -68
  243. package/dist/config/plugin/location-watcher.js +94 -94
  244. package/dist/config/plugin/mcp.js +101 -101
  245. package/dist/config/plugin/policy.js +93 -93
  246. package/dist/config/plugin/provider.js +92 -92
  247. package/dist/config/plugin/reference.js +96 -96
  248. package/dist/config/plugin/shell.js +97 -97
  249. package/dist/config/plugin/skill-file.js +78 -78
  250. package/dist/config/plugin/skill.js +115 -115
  251. package/dist/config/plugin/snapshot.js +94 -94
  252. package/dist/config/plugin/source.js +90 -90
  253. package/dist/config/plugin/tool-output.js +96 -96
  254. package/dist/config/plugin/websearch.js +94 -94
  255. package/dist/config/plugin/worktree.js +95 -95
  256. package/dist/config/variable.js +2 -2
  257. package/dist/config.js +99 -99
  258. package/dist/credential.js +68 -68
  259. package/dist/database/database.js +53 -53
  260. package/dist/database/drizzle/effect-sqlite/driver.js +9 -9
  261. package/dist/database/drizzle/effect-sqlite/index.js +4 -4
  262. package/dist/database/drizzle/effect-sqlite/session.js +8 -8
  263. package/dist/database/drizzle/index.js +10 -10
  264. package/dist/database/drizzle/sqlite-core/effect/db.js +6 -6
  265. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  266. package/dist/database/drizzle/sqlite-core/effect/session.js +7 -7
  267. package/dist/database/drizzle.js +10 -10
  268. package/dist/database/migration.gen.js +37 -37
  269. package/dist/database/migration.js +38 -38
  270. package/dist/database/v1-migration.bun.js +11 -11
  271. package/dist/effect/app-node-builder.js +238 -238
  272. package/dist/environment/environment.js +68 -68
  273. package/dist/environment/index.js +70 -70
  274. package/dist/event-logger.js +9 -9
  275. package/dist/file-access.js +81 -81
  276. package/dist/file-mutation.js +69 -69
  277. package/dist/filesystem/location-watcher-policy.js +5 -5
  278. package/dist/filesystem/location-watcher.js +187 -187
  279. package/dist/filesystem/protected.js +3 -3
  280. package/dist/filesystem/search.js +78 -78
  281. package/dist/filesystem/watcher-binding.js +3 -3
  282. package/dist/filesystem/watcher.js +14 -14
  283. package/dist/filesystem.js +79 -79
  284. package/dist/form.js +69 -69
  285. package/dist/formatter.js +68 -68
  286. package/dist/generate.js +70 -70
  287. package/dist/git.js +6 -6
  288. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +3 -3
  289. package/dist/github-copilot/copilot-provider.js +3 -3
  290. package/dist/github-copilot/models.js +3 -3
  291. package/dist/github-copilot/responses/openai-responses-language-model.js +6 -6
  292. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +3 -3
  293. package/dist/image/photon.js +1 -1
  294. package/dist/image.js +5 -5
  295. package/dist/instance/service.js +5 -5
  296. package/dist/instance.js +314 -314
  297. package/dist/instruction-discovery.js +70 -70
  298. package/dist/instructions/builtins.js +62 -62
  299. package/dist/instructions/index.js +5 -5
  300. package/dist/integration.js +69 -69
  301. package/dist/job.js +63 -63
  302. package/dist/kv.js +54 -54
  303. package/dist/location-activity.js +57 -57
  304. package/dist/location-mutation.js +33 -33
  305. package/dist/location-service-map.js +65 -65
  306. package/dist/location-services.js +312 -312
  307. package/dist/location.js +64 -64
  308. package/dist/mcp/client.js +18 -18
  309. package/dist/mcp/index.js +77 -77
  310. package/dist/mcp/instructions.js +96 -96
  311. package/dist/mcp/stdio.js +65 -65
  312. package/dist/modal/models.js +3 -3
  313. package/dist/model-resolver.js +71 -71
  314. package/dist/model.js +8 -8
  315. package/dist/models-dev.js +71 -71
  316. package/dist/permission/saved.js +65 -65
  317. package/dist/permission/sql.js +3 -3
  318. package/dist/permission.js +92 -92
  319. package/dist/persistent-pty/index.js +69 -69
  320. package/dist/persistent-pty.js +57 -57
  321. package/dist/plugin/agent.js +79 -79
  322. package/dist/plugin/command.js +74 -74
  323. package/dist/plugin/hooks.js +3 -3
  324. package/dist/plugin/host.js +184 -184
  325. package/dist/plugin/instance.js +5 -5
  326. package/dist/plugin/internal.js +286 -286
  327. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  328. package/dist/plugin/models-dev.js +60 -60
  329. package/dist/plugin/module.js +5 -5
  330. package/dist/plugin/plan.js +79 -79
  331. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  332. package/dist/plugin/provider/anthropic.js +2 -2
  333. package/dist/plugin/provider/azure.js +97 -97
  334. package/dist/plugin/provider/cerebras.js +2 -2
  335. package/dist/plugin/provider/cloudflare-ai-gateway.js +96 -96
  336. package/dist/plugin/provider/cloudflare-workers-ai.js +96 -96
  337. package/dist/plugin/provider/configured.js +94 -94
  338. package/dist/plugin/provider/digitalocean.js +63 -63
  339. package/dist/plugin/provider/github-copilot.js +65 -65
  340. package/dist/plugin/provider/gitlab.js +3 -3
  341. package/dist/plugin/provider/google-vertex.js +2 -2
  342. package/dist/plugin/provider/kilo.js +2 -2
  343. package/dist/plugin/provider/llmgateway.js +61 -61
  344. package/dist/plugin/provider/lmstudio.js +97 -97
  345. package/dist/plugin/provider/modal.js +64 -64
  346. package/dist/plugin/provider/nvidia.js +2 -2
  347. package/dist/plugin/provider/ollama.js +97 -97
  348. package/dist/plugin/provider/openai.js +62 -62
  349. package/dist/plugin/provider/opencode.js +63 -63
  350. package/dist/plugin/provider/openrouter.js +3 -3
  351. package/dist/plugin/provider/poe.js +60 -60
  352. package/dist/plugin/provider/sap-ai-core.js +2 -2
  353. package/dist/plugin/provider/snowflake-cortex.js +96 -96
  354. package/dist/plugin/provider/vercel.js +2 -2
  355. package/dist/plugin/provider/vllm.js +97 -97
  356. package/dist/plugin/provider/xai.js +62 -62
  357. package/dist/plugin/provider/zenmux.js +2 -2
  358. package/dist/plugin/provider.js +132 -132
  359. package/dist/plugin/sdk.js +59 -59
  360. package/dist/plugin/service.js +3 -3
  361. package/dist/plugin/skill.js +113 -113
  362. package/dist/plugin/supervisor.js +300 -300
  363. package/dist/plugin/update.js +5 -5
  364. package/dist/plugin/variant.js +4 -4
  365. package/dist/plugin/vcs/git.js +65 -65
  366. package/dist/plugin/vcs/hg.js +65 -65
  367. package/dist/plugin/warming.js +92 -92
  368. package/dist/plugin/websearch/exa.js +6 -6
  369. package/dist/plugin/websearch/firecrawl.js +7 -7
  370. package/dist/plugin/websearch/index.js +7 -7
  371. package/dist/plugin/websearch/mcp.js +3 -3
  372. package/dist/plugin/websearch/parallel.js +7 -7
  373. package/dist/plugin/websearch/tavily.js +6 -6
  374. package/dist/plugin.js +195 -195
  375. package/dist/project/sql.js +2 -2
  376. package/dist/project.js +65 -65
  377. package/dist/provider.js +7 -7
  378. package/dist/pty/schema.js +3 -3
  379. package/dist/pty.js +77 -77
  380. package/dist/reference/instructions.js +69 -69
  381. package/dist/reference.js +69 -69
  382. package/dist/repository-cache.js +62 -62
  383. package/dist/repository.js +3 -3
  384. package/dist/ripgrep.js +72 -72
  385. package/dist/rpc.js +65 -65
  386. package/dist/session/command.js +59 -59
  387. package/dist/session/compaction.js +105 -105
  388. package/dist/session/context.js +123 -123
  389. package/dist/session/environment.js +5 -5
  390. package/dist/session/error.js +6 -6
  391. package/dist/session/execution/restart.js +122 -122
  392. package/dist/session/execution.js +104 -104
  393. package/dist/session/generate.js +122 -122
  394. package/dist/session/history.js +11 -11
  395. package/dist/session/inbox.js +69 -69
  396. package/dist/session/info.js +2 -2
  397. package/dist/session/instruction-entry.js +62 -62
  398. package/dist/session/instruction-state.js +5 -5
  399. package/dist/session/instructions.js +74 -74
  400. package/dist/session/message-updater.js +3 -3
  401. package/dist/session/model-request.js +92 -92
  402. package/dist/session/model-transport.js +7 -7
  403. package/dist/session/move.js +107 -107
  404. package/dist/session/projector.js +66 -66
  405. package/dist/session/prompt.js +81 -81
  406. package/dist/session/provider-context.js +3 -3
  407. package/dist/session/revert.js +67 -67
  408. package/dist/session/run-coordinator.js +3 -3
  409. package/dist/session/runner/index.js +3 -3
  410. package/dist/session/runner/llm.js +192 -192
  411. package/dist/session/runner/model.js +71 -71
  412. package/dist/session/runner/retry.js +90 -90
  413. package/dist/session/runner/step.js +97 -97
  414. package/dist/session/runner/to-llm-message.js +2 -2
  415. package/dist/session/schema.js +5 -5
  416. package/dist/session/session.js +145 -145
  417. package/dist/session/shell.js +107 -107
  418. package/dist/session/skill.js +80 -80
  419. package/dist/session/sql.js +3 -3
  420. package/dist/session/stats.js +10 -10
  421. package/dist/session/store.js +68 -68
  422. package/dist/session/subagent-job.js +176 -176
  423. package/dist/session/title.js +122 -122
  424. package/dist/session/to-session-error.js +89 -89
  425. package/dist/session/transfer.js +119 -119
  426. package/dist/session.js +187 -187
  427. package/dist/shell/parse.js +3 -3
  428. package/dist/shell/select.js +5 -5
  429. package/dist/shell.js +110 -110
  430. package/dist/skill/discovery.js +5 -5
  431. package/dist/skill/instructions.js +84 -84
  432. package/dist/skill.js +87 -87
  433. package/dist/snapshot.js +68 -68
  434. package/dist/tool/mcp.js +99 -99
  435. package/dist/tool/plugin/edit.js +90 -90
  436. package/dist/tool/plugin/glob.js +99 -99
  437. package/dist/tool/plugin/grep.js +95 -95
  438. package/dist/tool/plugin/opencode.js +3 -3
  439. package/dist/tool/plugin/patch.js +92 -92
  440. package/dist/tool/plugin/question.js +80 -80
  441. package/dist/tool/plugin/read.js +100 -100
  442. package/dist/tool/plugin/shell.js +184 -184
  443. package/dist/tool/plugin/skill.js +88 -88
  444. package/dist/tool/plugin/subagent.js +183 -183
  445. package/dist/tool/plugin/webfetch.js +87 -87
  446. package/dist/tool/plugin/websearch.js +85 -85
  447. package/dist/tool/plugin/write.js +96 -96
  448. package/dist/tool/read-filesystem.js +75 -75
  449. package/dist/tool-output.js +5 -5
  450. package/dist/tool.js +11 -11
  451. package/dist/v1/config/agent.js +6 -6
  452. package/dist/v1/config/attachment.js +3 -3
  453. package/dist/v1/config/command.js +5 -5
  454. package/dist/v1/config/config.js +13 -13
  455. package/dist/v1/config/error.js +3 -3
  456. package/dist/v1/config/formatter.js +7 -7
  457. package/dist/v1/config/lsp.js +5 -5
  458. package/dist/v1/config/mcp.js +3 -3
  459. package/dist/v1/config/migrate.js +3 -3
  460. package/dist/v1/config/permission.js +7 -7
  461. package/dist/v1/config/plugin.js +3 -3
  462. package/dist/v1/config/provider.js +3 -3
  463. package/dist/v1/config/skills.js +3 -3
  464. package/dist/vcs.js +68 -68
  465. package/dist/websearch.js +65 -65
  466. package/dist/wellknown/plugin.js +59 -59
  467. package/dist/wellknown.js +62 -62
  468. package/dist/workspace/driver.js +5 -5
  469. package/dist/workspace.js +65 -65
  470. package/dist/worktree/git.js +3 -3
  471. package/dist/worktree/refresh.js +303 -303
  472. package/dist/worktree/sql.js +3 -3
  473. package/dist/worktree.js +73 -73
  474. package/package.json +8 -8
  475. package/dist/chunks/skill-cfqbggmt.js +0 -22
  476. package/dist/chunks/skill-hr9dp009.js +0 -4
  477. package/dist/chunks/skill-y3cz5npg.js +0 -247
  478. /package/dist/chunks/{skill-8p4f9s12.js → skill-dj2t23y0.js} +0 -0
  479. /package/dist/chunks/{skill-1mt8ffwy.js → skill-m16b28xc.js} +0 -0
  480. /package/dist/chunks/{skill-m6n84c8c.js → skill-nhnj3r8x.js} +0 -0
  481. /package/dist/chunks/{skill-9xkh5xjy.js → skill-sqvf8rgk.js} +0 -0
  482. /package/dist/chunks/{skill-qa7075pb.js → skill-x6pyv2yz.js} +0 -0
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  Service80
3
- } from "./skill-zsj01fcb.js";
3
+ } from "./skill-89vwjast.js";
4
4
  import {
5
5
  Service79
6
- } from "./skill-6kr2w62q.js";
6
+ } from "./skill-m9wbqshr.js";
7
7
  import {
8
- Service41
9
- } from "./skill-3c1tgrea.js";
8
+ Service56
9
+ } from "./skill-ecrv93z9.js";
10
10
  import {
11
11
  userNotification2
12
12
  } from "./skill-fxbjtjnd.js";
@@ -14,41 +14,41 @@ import {
14
14
  SessionMessage2
15
15
  } from "./skill-gftt206x.js";
16
16
  import {
17
- NotFoundError7,
17
+ NotFoundError8,
18
18
  PromptConflictError2,
19
19
  SyntheticConflictError2,
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./skill-qd8wwfxt.js";
23
+ } from "./skill-hb7yy7na.js";
24
24
  import {
25
25
  SessionEvent2
26
26
  } from "./skill-ec1grn59.js";
27
27
  import {
28
- Service58
29
- } from "./skill-xd2c2vv1.js";
28
+ Service68
29
+ } from "./skill-km9mpse9.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service39
34
- } from "./skill-k23gmb4k.js";
33
+ Service54
34
+ } from "./skill-b7fqsxev.js";
35
35
  import {
36
- Service37
37
- } from "./skill-v5efs57h.js";
36
+ Service52
37
+ } from "./skill-d46kpj6a.js";
38
38
  import {
39
39
  prepare2
40
- } from "./skill-dgdg9tc7.js";
40
+ } from "./skill-ba8tn576.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./skill-x0pta7p5.js";
45
+ } from "./skill-c0e85pqa.js";
46
46
  import {
47
47
  start2
48
- } from "./skill-sayx4gma.js";
48
+ } from "./skill-g7hsbyvn.js";
49
49
  import {
50
50
  get4
51
- } from "./skill-5yc69rh5.js";
51
+ } from "./skill-5f0r7wn2.js";
52
52
  import {
53
53
  __export
54
54
  } from "./skill-9rqn6x4v.js";
@@ -57,24 +57,24 @@ import {
57
57
  var exports_session2 = {};
58
58
  __export(exports_session2, {
59
59
  Session: () => exports_session2,
60
- make: () => make13
60
+ make: () => make12
61
61
  });
62
62
  import { DateTime, Effect, Fiber, Scope } from "effect";
63
63
  import { Event } from "@opencode/schema/event";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
- var make13 = Effect.fn("Session.make")(function* () {
65
+ var make12 = Effect.fn("Session.make")(function* () {
66
66
  const bus = yield* Service79;
67
67
  const database = yield* Service80;
68
- const store = yield* Service58;
69
- const instances = yield* Service41;
70
- const execution = yield* Service37;
71
- const admission = yield* Service39;
68
+ const store = yield* Service68;
69
+ const instances = yield* Service56;
70
+ const execution = yield* Service52;
71
+ const admission = yield* Service54;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
75
75
  const session = yield* store.get(sessionID);
76
76
  if (!session)
77
- return yield* new NotFoundError7({ sessionID });
77
+ return yield* new NotFoundError8({ sessionID });
78
78
  return session;
79
79
  });
80
80
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -127,7 +127,7 @@ var make13 = Effect.fn("Session.make")(function* () {
127
127
  });
128
128
  if (existing)
129
129
  return existing;
130
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service41, instances), Effect.provideService(FSUtil.Service, fs)));
130
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service56, instances), Effect.provideService(FSUtil.Service, fs)));
131
131
  if (session.revert)
132
132
  yield* commit2(bus, session);
133
133
  return yield* admission.admit({
@@ -143,7 +143,7 @@ var make13 = Effect.fn("Session.make")(function* () {
143
143
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
144
144
  const session = yield* get(sessionID);
145
145
  const running = yield* Effect.gen(function* () {
146
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service41, instances), Effect.tapError((error) => synthetic(sessionID, {
146
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service56, instances), Effect.tapError((error) => synthetic(sessionID, {
147
147
  text: `User shell command failed to start:
148
148
  ${input.command}
149
149
 
@@ -172,7 +172,7 @@ ${error.message}`,
172
172
  });
173
173
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
174
174
  const session = yield* get(sessionID);
175
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service41, instances));
175
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service56, instances));
176
176
  yield* bus.publish(SessionEvent2.Skill.Activated, {
177
177
  sessionID,
178
178
  id: skill.id,
@@ -229,13 +229,13 @@ ${error.message}`,
229
229
  const session = yield* get(sessionID);
230
230
  if (yield* execution.isActive(sessionID))
231
231
  return yield* new BusyError2({ sessionID });
232
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service41, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
232
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service56, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
233
233
  });
234
234
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
235
235
  const session = yield* get(sessionID);
236
236
  if (yield* execution.isActive(sessionID))
237
237
  return yield* new BusyError2({ sessionID });
238
- yield* clear2(session).pipe(Effect.provideService(Service41, instances), Effect.provideService(Service79, bus));
238
+ yield* clear2(session).pipe(Effect.provideService(Service56, instances), Effect.provideService(Service79, bus));
239
239
  return yield* execution.wake(sessionID);
240
240
  });
241
241
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -315,4 +315,4 @@ ${error.message}`,
315
315
  return { forSession };
316
316
  });
317
317
 
318
- export { make13, exports_session2 };
318
+ export { make12, exports_session2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
- Service76
3
- } from "./skill-82152e3w.js";
2
+ Service71
3
+ } from "./skill-f75rfffy.js";
4
4
  import {
5
5
  PATCH_CONTEXT_LINES2,
6
6
  MAX_PATCH_BYTES2,
@@ -10,7 +10,7 @@ import {
10
10
  } from "./skill-tazgh4e4.js";
11
11
  import {
12
12
  DiffError2
13
- } from "./skill-ac65zdy3.js";
13
+ } from "./skill-8y2nn4c7.js";
14
14
  import {
15
15
  __export
16
16
  } from "./skill-9rqn6x4v.js";
@@ -18,17 +18,17 @@ import {
18
18
  // src/plugin/vcs/git.ts
19
19
  var exports_git = {};
20
20
  __export(exports_git, {
21
- Plugin: () => Plugin23,
21
+ Plugin: () => Plugin33,
22
22
  VcsGitPlugin: () => exports_git
23
23
  });
24
24
  import { define } from "@opencode/plugin/effect/plugin";
25
25
  import { Effect } from "effect";
26
26
  import { ChildProcess } from "effect/unstable/process";
27
27
  import { AppProcess } from "@opencode/util/process";
28
- var Plugin23 = define({
28
+ var Plugin33 = define({
29
29
  id: "opencode.vcs.git",
30
30
  effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
31
- const location = yield* Service76;
31
+ const location = yield* Service71;
32
32
  if (location.vcs?.type !== "git")
33
33
  return;
34
34
  const processes = yield* AppProcess.Service;
@@ -467,4 +467,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
467
467
  return yield* diffAgainstRef(ctx, ref, options);
468
468
  });
469
469
 
470
- export { Plugin23, exports_git };
470
+ export { Plugin33, exports_git };
@@ -1,7 +1,7 @@
1
1
  // src/session/schema.ts
2
2
  import * as SessionSchema2 from "@opencode/schema/session";
3
3
  import { Session } from "@opencode/schema/session";
4
- var ID13 = Session.ID;
5
- var Info27 = Session.Info;
4
+ var ID16 = Session.ID;
5
+ var Info30 = Session.Info;
6
6
 
7
- export { ID13, Info27, SessionSchema2 };
7
+ export { ID16, Info30, SessionSchema2 };
@@ -5,14 +5,14 @@ import {
5
5
  renderInitial2,
6
6
  renderUpdate2,
7
7
  applyHashDelta2
8
- } from "./skill-t550f9t1.js";
8
+ } from "./skill-eaj1djv9.js";
9
9
  import {
10
10
  SessionEvent2
11
11
  } from "./skill-ec1grn59.js";
12
12
  import {
13
13
  InstructionBlobTable2,
14
14
  InstructionStateTable2
15
- } from "./skill-a1bz86dw.js";
15
+ } from "./skill-5c4hm403.js";
16
16
  import {
17
17
  __export
18
18
  } from "./skill-9rqn6x4v.js";
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./skill-6kr2w62q.js";
4
+ } from "./skill-m9wbqshr.js";
5
5
  import {
6
- Service29,
7
- node33
8
- } from "./skill-yvq8v403.js";
6
+ Service27,
7
+ node31
8
+ } from "./skill-sq391nww.js";
9
9
  import {
10
- Service56,
11
- node59
12
- } from "./skill-94rpvrjb.js";
10
+ Service66,
11
+ node71
12
+ } from "./skill-n95r7dn6.js";
13
13
  import {
14
- Service33,
15
- node37
16
- } from "./skill-sqhm951k.js";
14
+ Service43,
15
+ node47
16
+ } from "./skill-37jpxhaq.js";
17
17
  import {
18
18
  __export
19
19
  } from "./skill-9rqn6x4v.js";
@@ -22,26 +22,26 @@ import {
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service28,
26
- layer: () => layer12,
27
- name: () => name14,
25
+ Service: () => Service20,
26
+ layer: () => layer10,
27
+ name: () => name13,
28
28
  namespace: () => namespace2,
29
- node: () => node32
29
+ node: () => node25
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
33
33
  import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
- var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
36
+ var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service28 extends Context.Service()("@opencode/McpTool") {
38
+ class Service20 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer12 = Layer.effect(Service28, Effect.gen(function* () {
41
- const mcp = yield* Service29;
42
- const tools = yield* Service33;
40
+ var layer10 = Layer.effect(Service20, Effect.gen(function* () {
41
+ const mcp = yield* Service27;
42
+ const tools = yield* Service43;
43
43
  const bus = yield* Service79;
44
- const permission = yield* Service56;
44
+ const permission = yield* Service66;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -62,7 +62,7 @@ var layer12 = Layer.effect(Service28, Effect.gen(function* () {
62
62
  output: tool.outputSchema ?? {},
63
63
  execute: (input, context) => Effect.gen(function* () {
64
64
  yield* permission.assert({
65
- action: name14(tool.server, tool.name),
65
+ action: name13(tool.server, tool.name),
66
66
  resources: ["*"],
67
67
  save: ["*"],
68
68
  metadata: {},
@@ -99,7 +99,7 @@ var layer12 = Layer.effect(Service28, Effect.gen(function* () {
99
99
  output: result.structured ?? (text === "" ? null : text),
100
100
  ...content.length === 0 ? {} : { content }
101
101
  };
102
- }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
102
+ }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
103
103
  });
104
104
  }
105
105
  });
@@ -112,12 +112,12 @@ var layer12 = Layer.effect(Service28, Effect.gen(function* () {
112
112
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
113
113
  const updates = yield* PubSub.subscribe(changes);
114
114
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
115
- return Service28.of({ flush: Effect.asVoid(Fiber.await(initial)) });
115
+ return Service20.of({ flush: Effect.asVoid(Fiber.await(initial)) });
116
116
  }));
117
- var node32 = makeLocationNode({
118
- service: Service28,
119
- layer: layer12,
120
- deps: [node37, node33, node84, node59]
117
+ var node25 = makeLocationNode({
118
+ service: Service20,
119
+ layer: layer10,
120
+ deps: [node47, node31, node84, node71]
121
121
  });
122
122
 
123
- export { namespace2, name14, Service28, layer12, node32, exports_mcp3 };
123
+ export { namespace2, name13, Service20, layer10, node25, exports_mcp3 };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Key3,
2
+ Key4,
3
3
  removed2,
4
4
  empty3,
5
- make19,
5
+ make21,
6
6
  diffByKey2
7
- } from "./skill-t550f9t1.js";
7
+ } from "./skill-eaj1djv9.js";
8
8
  import {
9
- ID7,
9
+ ID12,
10
10
  Name2,
11
11
  available2,
12
- Service55,
13
- node58
14
- } from "./skill-tqxz2e3b.js";
12
+ Service65,
13
+ node70
14
+ } from "./skill-v7cfskca.js";
15
15
  import {
16
16
  __export
17
17
  } from "./skill-9rqn6x4v.js";
18
18
 
19
19
  // src/skill/instructions.ts
20
- var exports_instructions5 = {};
21
- __export(exports_instructions5, {
22
- Service: () => Service23,
23
- SkillInstructions: () => exports_instructions5,
24
- node: () => node28
20
+ var exports_instructions2 = {};
21
+ __export(exports_instructions2, {
22
+ Service: () => Service18,
23
+ SkillInstructions: () => exports_instructions2,
24
+ node: () => node23
25
25
  });
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Context, Effect, Layer, Schema } from "effect";
28
28
  var Summary = Schema.Struct({
29
- id: ID7,
29
+ id: ID12,
30
30
  name: Name2,
31
31
  description: Schema.String
32
32
  });
@@ -60,18 +60,18 @@ var update = (previous, current) => {
60
60
  `);
61
61
  };
62
62
 
63
- class Service23 extends Context.Service()("@opencode/SkillInstructions") {
63
+ class Service18 extends Context.Service()("@opencode/SkillInstructions") {
64
64
  }
65
- var layer = Layer.effect(Service23, Effect.gen(function* () {
66
- const skills = yield* Service55;
67
- return Service23.of({
65
+ var layer = Layer.effect(Service18, Effect.gen(function* () {
66
+ const skills = yield* Service65;
67
+ return Service18.of({
68
68
  load: Effect.fn("SkillInstructions.load")(function* (selection) {
69
69
  const agent = selection.info;
70
70
  if (!agent)
71
71
  return empty3;
72
72
  const available = available2(yield* skills.list(), agent).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
73
- return make19({
74
- key: Key3.make("core/skill-guidance"),
73
+ return make21({
74
+ key: Key4.make("core/skill-guidance"),
75
75
  codec: Schema.toCodecJson(Schema.Array(Summary)),
76
76
  read: Effect.succeed(available.length === 0 ? removed2 : available),
77
77
  render: {
@@ -83,6 +83,6 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
83
83
  })
84
84
  });
85
85
  }));
86
- var node28 = makeLocationNode({ service: Service23, layer, deps: [node58] });
86
+ var node23 = makeLocationNode({ service: Service18, layer, deps: [node70] });
87
87
 
88
- export { Service23, node28, exports_instructions5 };
88
+ export { Service18, node23, exports_instructions2 };
@@ -13,13 +13,13 @@ import {
13
13
  create3
14
14
  } from "./skill-kg06axw8.js";
15
15
  import {
16
- Service35,
17
- node39
18
- } from "./skill-jg5pnb06.js";
16
+ Service44,
17
+ node48
18
+ } from "./skill-z9nm54ts.js";
19
19
  import {
20
- Service71,
20
+ Service70,
21
21
  node75
22
- } from "./skill-5trk58xb.js";
22
+ } from "./skill-bpqahvg7.js";
23
23
  import {
24
24
  match2
25
25
  } from "./skill-y1fvbwt7.js";
@@ -31,16 +31,16 @@ import {
31
31
  var exports_tool = {};
32
32
  __export(exports_tool, {
33
33
  CallID: () => CallID2,
34
- Content: () => Content2,
35
- Error: () => Error3,
34
+ Content: () => Content3,
35
+ Error: () => Error4,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service33,
38
+ Service: () => Service43,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node37
41
+ node: () => node47
42
42
  });
43
- import { CallID as CallID2, Content as Content2, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
43
+ import { CallID as CallID2, Content as Content3, Error as Error4, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
45
45
  import { Tool } from "@opencode/schema/tool";
46
46
  import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service33 extends Context.Service()("@opencode/Tool") {
54
+ class Service43 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service33, Effect.gen(function* () {
57
- const hooks = yield* Service71;
58
- const image = yield* Service35;
56
+ var layer = Layer.effect(Service43, Effect.gen(function* () {
57
+ const hooks = yield* Service70;
58
+ const image = yield* Service44;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
180
180
  error: error.message
181
181
  }), { discard: true })
182
182
  });
183
- return Service33.of({
183
+ return Service43.of({
184
184
  transform: state.transform,
185
185
  reload: state.reload,
186
186
  snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
@@ -262,10 +262,10 @@ function namespaceError(name) {
262
262
  return;
263
263
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
264
264
  }
265
- var node37 = makeLocationNode({
266
- service: Service33,
265
+ var node47 = makeLocationNode({
266
+ service: Service43,
267
267
  layer,
268
- deps: [node75, node39]
268
+ deps: [node75, node48]
269
269
  });
270
270
 
271
- export { RegistrationError2, Service33, node37, exports_tool, CallID2, Content2, Error3, FileContent3, TextContent2 };
271
+ export { RegistrationError2, Service43, node47, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID16,
2
+ ID11,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./skill-84tssp1s.js";
5
+ } from "./skill-t69nnh3p.js";
6
6
  import {
7
- ID15
8
- } from "./skill-nx4935gj.js";
7
+ ID10
8
+ } from "./skill-rh63tm4e.js";
9
9
  import {
10
10
  Service79
11
- } from "./skill-6kr2w62q.js";
11
+ } from "./skill-m9wbqshr.js";
12
12
  import {
13
13
  OAuth3,
14
- Event19
15
- } from "./skill-3bar99zz.js";
14
+ Event16
15
+ } from "./skill-536cph44.js";
16
16
  import {
17
- ID4,
17
+ ID7,
18
18
  MethodID2
19
- } from "./skill-b6cxpadd.js";
19
+ } from "./skill-cw06aj2p.js";
20
20
  import {
21
- Service45
22
- } from "./skill-p5y58tyb.js";
21
+ Service59
22
+ } from "./skill-59y1j56r.js";
23
23
  import {
24
24
  get2
25
- } from "./skill-x145bkh2.js";
25
+ } from "./skill-d2azexz5.js";
26
26
  import {
27
27
  useragent2
28
- } from "./skill-rkg39e93.js";
28
+ } from "./skill-c2fa0gjs.js";
29
29
 
30
30
  // src/plugin/provider/github-copilot.ts
31
31
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -57,7 +57,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
57
57
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
58
58
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
59
59
  var oauth = (app) => ({
60
- integrationID: ID4.make("github-copilot"),
60
+ integrationID: ID7.make("github-copilot"),
61
61
  method: {
62
62
  id: methodID,
63
63
  type: "oauth",
@@ -155,7 +155,7 @@ var oauth = (app) => ({
155
155
  var GithubCopilotPlugin2 = define({
156
156
  id: "opencode.provider.github.copilot",
157
157
  effect: Effect.fn(function* (ctx) {
158
- const catalog = yield* Service45;
158
+ const catalog = yield* Service59;
159
159
  const bus = yield* Service79;
160
160
  const loading = Semaphore.makeUnsafe(1);
161
161
  const loaded = {};
@@ -170,8 +170,8 @@ var GithubCopilotPlugin2 = define({
170
170
  return;
171
171
  }
172
172
  loaded.baseURL = copilotBaseURL2(credential.metadata);
173
- const provider = yield* catalog.provider.get(ID16.githubCopilot);
174
- const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID16.githubCopilot);
173
+ const provider = yield* catalog.provider.get(ID11.githubCopilot);
174
+ const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID11.githubCopilot);
175
175
  loaded.models = yield* Effect.tryPromise({
176
176
  try: () => get2(loaded.baseURL ?? baseURL(), {
177
177
  ...provider?.headers,
@@ -187,12 +187,12 @@ var GithubCopilotPlugin2 = define({
187
187
  editor.method.update(oauth(ctx.app));
188
188
  });
189
189
  yield* ctx.catalog.transform((evt) => {
190
- const item = evt.provider.get(ID16.githubCopilot);
190
+ const item = evt.provider.get(ID11.githubCopilot);
191
191
  if (!item)
192
192
  return;
193
193
  if (loaded.models) {
194
194
  for (const id of item.models.keys()) {
195
- if (!loaded.models.has(ID15.make(id)))
195
+ if (!loaded.models.has(ID10.make(id)))
196
196
  evt.model.remove(item.provider.id, id);
197
197
  }
198
198
  for (const [id, model] of loaded.models) {
@@ -207,17 +207,17 @@ var GithubCopilotPlugin2 = define({
207
207
  });
208
208
  }
209
209
  }
210
- if (item.models.has(ID15.make("gpt-5-chat-latest"))) {
211
- evt.model.update(item.provider.id, ID15.make("gpt-5-chat-latest"), (model) => {
210
+ if (item.models.has(ID10.make("gpt-5-chat-latest"))) {
211
+ evt.model.update(item.provider.id, ID10.make("gpt-5-chat-latest"), (model) => {
212
212
  model.enabled = false;
213
213
  });
214
214
  }
215
215
  });
216
216
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
217
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID4.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
217
+ yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
218
218
  yield* refresh().pipe(Effect.forkScoped);
219
219
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
220
- if (evt.model.providerID !== ID16.githubCopilot)
220
+ if (evt.model.providerID !== ID11.githubCopilot)
221
221
  return;
222
222
  if (evt.package !== "@ai-sdk/github-copilot")
223
223
  return;
@@ -226,7 +226,7 @@ var GithubCopilotPlugin2 = define({
226
226
  evt.sdk = mod.createOpenaiCompatible(evt.options);
227
227
  }));
228
228
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
229
- if (evt.model.providerID !== ID16.githubCopilot)
229
+ if (evt.model.providerID !== ID11.githubCopilot)
230
230
  return;
231
231
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
232
232
  return;
@@ -236,9 +236,9 @@ var GithubCopilotPlugin2 = define({
236
236
  evt.headers["X-Interaction-Id"] = evt.sessionID;
237
237
  if (interaction !== "conversation-agent")
238
238
  evt.headers["x-initiator"] = "agent";
239
- }), { providerID: ID16.githubCopilot });
239
+ }), { providerID: ID11.githubCopilot });
240
240
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
241
- if (evt.model.providerID !== ID16.githubCopilot)
241
+ if (evt.model.providerID !== ID11.githubCopilot)
242
242
  return;
243
243
  const token = evt.request.headers.get("x-api-key");
244
244
  if (!token)
@@ -246,9 +246,9 @@ var GithubCopilotPlugin2 = define({
246
246
  const text = yield* Effect.promise(() => evt.request.clone().text());
247
247
  const body = Option.getOrUndefined(decodeBody(text));
248
248
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
249
- }), { providerID: ID16.githubCopilot });
249
+ }), { providerID: ID11.githubCopilot });
250
250
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
251
- if (evt.model.providerID !== ID16.githubCopilot)
251
+ if (evt.model.providerID !== ID11.githubCopilot)
252
252
  return;
253
253
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
254
254
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);