@opencode/core 0.0.0-dev-20851 → 0.0.0-dev-20854
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.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{form-y56ehv6b.js → snapshot-0996nyz8.js} +9 -9
- package/dist/chunks/{form-v5ab8yn1.js → snapshot-0hnj9qkb.js} +4 -4
- package/dist/chunks/{form-2k8khapm.js → snapshot-0jwsre1p.js} +5 -5
- package/dist/chunks/{form-smk4c7dc.js → snapshot-0jzh9efz.js} +3 -3
- package/dist/chunks/{form-k3xk6ajn.js → snapshot-0nghcqs1.js} +7 -7
- package/dist/chunks/{form-kdxfwdry.js → snapshot-0sacbgq8.js} +9 -9
- package/dist/chunks/{form-0vbcp93d.js → snapshot-0vbcp93d.js} +2 -2
- package/dist/chunks/{form-58072hz9.js → snapshot-143qq2q9.js} +3 -3
- package/dist/chunks/{form-get0s9tp.js → snapshot-1a5mtg6h.js} +24 -24
- package/dist/chunks/{form-1acjjqhc.js → snapshot-1acjjqhc.js} +1 -1
- package/dist/chunks/{form-f2vdq2p6.js → snapshot-1bwe1zv2.js} +6 -6
- package/dist/chunks/{form-06pebr32.js → snapshot-1f5hxzwj.js} +30 -30
- package/dist/chunks/{form-8ca0q5ge.js → snapshot-1hx7m0gn.js} +28 -28
- package/dist/chunks/{form-py3kkmfq.js → snapshot-1p07q0wb.js} +4 -4
- package/dist/chunks/{form-xcxmemts.js → snapshot-1r73c9nv.js} +22 -22
- package/dist/chunks/{form-ybqrzh0b.js → snapshot-1raercmk.js} +8 -8
- package/dist/chunks/{form-m6w2zr8w.js → snapshot-2bpy8z58.js} +13 -13
- package/dist/chunks/{form-38005zny.js → snapshot-2hn7av3m.js} +31 -31
- package/dist/chunks/{form-n0tq777j.js → snapshot-2ktf0ed2.js} +8 -8
- package/dist/chunks/{form-2s64xept.js → snapshot-2nbevc3z.js} +84 -84
- package/dist/chunks/{form-taktjfvt.js → snapshot-2pd7f3c1.js} +18 -18
- package/dist/chunks/{form-2vvh33eb.js → snapshot-2vvh33eb.js} +2 -2
- package/dist/chunks/{form-bmr4bg0q.js → snapshot-313rc44e.js} +16 -16
- package/dist/chunks/{form-jgtkz6r6.js → snapshot-31ymszjf.js} +1 -1
- package/dist/chunks/{form-k3s4mzc3.js → snapshot-323ga0xb.js} +3 -3
- package/dist/chunks/{form-3fc6dm20.js → snapshot-3fc6dm20.js} +1 -1
- package/dist/chunks/{form-tsn6bzsd.js → snapshot-3fppgx15.js} +11 -11
- package/dist/chunks/{form-thc86arw.js → snapshot-3h72pgqc.js} +42 -42
- package/dist/chunks/{form-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-3hwn7j4h.js → snapshot-3hwn7j4h.js} +2 -2
- package/dist/chunks/{form-5xz0dphx.js → snapshot-3nqjeqvp.js} +20 -20
- package/dist/chunks/{form-321x2wtd.js → snapshot-3ppptnan.js} +6 -6
- package/dist/chunks/{form-3smtnn6g.js → snapshot-3smtnn6g.js} +1 -1
- package/dist/chunks/{form-3tvqynh2.js → snapshot-3tvqynh2.js} +1 -1
- package/dist/chunks/{form-w5fskeg8.js → snapshot-3zj1jny9.js} +11 -11
- package/dist/chunks/{form-f31xyhx6.js → snapshot-3zqpheq4.js} +24 -24
- package/dist/chunks/{form-3zsf4n22.js → snapshot-3zsf4n22.js} +1 -1
- package/dist/chunks/{form-yrk8qwt0.js → snapshot-44x47vc1.js} +13 -13
- package/dist/chunks/{form-v1bss4wk.js → snapshot-4985kjca.js} +86 -86
- package/dist/chunks/{form-pdgy07wn.js → snapshot-4a32xa5p.js} +17 -17
- package/dist/chunks/{form-byjy60w7.js → snapshot-4b88qf44.js} +26 -26
- package/dist/chunks/{form-vma9t5wb.js → snapshot-4gezj5dt.js} +4 -4
- package/dist/chunks/{form-k0a83kw0.js → snapshot-4k07v71c.js} +10 -10
- package/dist/chunks/{form-006m7k99.js → snapshot-4t394y7h.js} +36 -36
- package/dist/chunks/{form-4ts7tf6z.js → snapshot-4ts7tf6z.js} +2 -2
- package/dist/chunks/{form-qyc8th6x.js → snapshot-4vetjhn5.js} +16 -16
- package/dist/chunks/{form-91f6g28x.js → snapshot-4xffw7wa.js} +5 -5
- package/dist/chunks/{form-54ma36ye.js → snapshot-54ma36ye.js} +1 -1
- package/dist/chunks/{form-xfkkasph.js → snapshot-57b9ws8p.js} +7 -7
- package/dist/chunks/{form-adn6ewvy.js → snapshot-5a4dpzx5.js} +20 -20
- package/dist/chunks/{form-symeabce.js → snapshot-5jkm5zt2.js} +11 -11
- package/dist/chunks/{form-5m9w47nd.js → snapshot-5m9w47nd.js} +1 -1
- package/dist/chunks/{form-j0pd759q.js → snapshot-5nq8wefj.js} +5 -5
- package/dist/chunks/{form-k5g5emw9.js → snapshot-62gdzg6n.js} +12 -12
- package/dist/chunks/{form-8fydwx36.js → snapshot-685jv0gk.js} +16 -16
- package/dist/chunks/{form-v0es1rhs.js → snapshot-6g7e4dd5.js} +7 -7
- package/dist/chunks/{form-ssaew880.js → snapshot-6sbb3tqx.js} +22 -22
- package/dist/chunks/{form-yemq3d8b.js → snapshot-6wg7wrda.js} +6 -6
- package/dist/chunks/{form-6xb47vfp.js → snapshot-6xb47vfp.js} +1 -1
- package/dist/chunks/{form-kfdd03hd.js → snapshot-711nmkr3.js} +24 -24
- package/dist/chunks/{form-kjwtb2ft.js → snapshot-71r40yks.js} +6 -6
- package/dist/chunks/{form-pb3at1xs.js → snapshot-73v3pe0h.js} +22 -22
- package/dist/chunks/{form-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-qrhtqstp.js → snapshot-7jcc7m0g.js} +11 -11
- package/dist/chunks/{form-v5kdx147.js → snapshot-7kt5ec22.js} +23 -23
- package/dist/chunks/{form-9t8mnttq.js → snapshot-7sn28qaa.js} +17 -17
- package/dist/chunks/{form-xybefm6f.js → snapshot-7zt5x37y.js} +1 -1
- package/dist/chunks/{form-3n03h225.js → snapshot-82x33wmm.js} +8 -8
- package/dist/chunks/{form-84txncab.js → snapshot-84txncab.js} +1 -1
- package/dist/chunks/{form-6t11chne.js → snapshot-86hs0axb.js} +1 -1
- package/dist/chunks/{form-jewzahs7.js → snapshot-86qzxe6p.js} +4 -4
- package/dist/chunks/{form-tcezcvh9.js → snapshot-89znhe33.js} +4 -4
- package/dist/chunks/snapshot-8bavg15d.js +253 -0
- package/dist/chunks/{form-8m6m0r52.js → snapshot-8m6m0r52.js} +1 -1
- package/dist/chunks/{form-wjrwvqye.js → snapshot-8qhbfk2n.js} +18 -18
- package/dist/chunks/{form-zrkdjkwg.js → snapshot-92fscyhx.js} +11 -11
- package/dist/chunks/{form-pc5383ba.js → snapshot-9cmfgt91.js} +16 -16
- package/dist/chunks/{form-1va1wqh8.js → snapshot-9g7pswbf.js} +20 -20
- package/dist/chunks/{form-tqshb1vy.js → snapshot-9kmpexhc.js} +45 -45
- package/dist/chunks/{form-gccjnz6h.js → snapshot-9pa8tak9.js} +2 -2
- package/dist/chunks/{form-rsjne1k7.js → snapshot-9pttm90n.js} +17 -17
- package/dist/chunks/{form-zgrr8q45.js → snapshot-9ttnny7k.js} +5 -5
- package/dist/chunks/{form-s0skt53x.js → snapshot-9vxdwdzz.js} +31 -31
- package/dist/chunks/snapshot-9zdhvgqs.js +18 -0
- package/dist/chunks/{form-9hry9nma.js → snapshot-a0we08s8.js} +27 -27
- package/dist/chunks/{form-cw3k6n42.js → snapshot-a16rd8k8.js} +30 -30
- package/dist/chunks/{form-y5rf7nzv.js → snapshot-a3c7ahw6.js} +4 -4
- package/dist/chunks/{form-bhxjw60r.js → snapshot-a6fw190p.js} +12 -12
- package/dist/chunks/{form-82jy7me2.js → snapshot-adns1g9g.js} +24 -24
- package/dist/chunks/{form-e7he988n.js → snapshot-ajtydnxp.js} +11 -11
- package/dist/chunks/{form-1bnbz8vf.js → snapshot-atj79w0v.js} +32 -32
- package/dist/chunks/{form-vs44tbz6.js → snapshot-be7jta6m.js} +4 -4
- package/dist/chunks/{form-x8gz1y8e.js → snapshot-be7qvw84.js} +8 -8
- package/dist/chunks/{form-4eb95kkt.js → snapshot-bg1wkd0b.js} +11 -11
- package/dist/chunks/{form-ywt8jp22.js → snapshot-bjx1sjef.js} +9 -9
- package/dist/chunks/{form-fhpwjwfp.js → snapshot-bqry624m.js} +11 -11
- package/dist/chunks/{form-7rasn972.js → snapshot-bv9pwty2.js} +11 -11
- package/dist/chunks/{form-5jq5wt6a.js → snapshot-bwx17gqq.js} +30 -30
- package/dist/chunks/{form-c1fqxshp.js → snapshot-c1fqxshp.js} +3 -3
- package/dist/chunks/{form-0y615900.js → snapshot-c38a98sw.js} +325 -325
- package/dist/chunks/{form-p6bre1gz.js → snapshot-c7eggyj2.js} +13 -13
- package/dist/chunks/{form-af6zfhme.js → snapshot-ccjdyf7k.js} +4 -4
- package/dist/chunks/{form-x4mcqtmr.js → snapshot-cf6gmne1.js} +15 -15
- package/dist/chunks/{form-0xjmb4aw.js → snapshot-ck1fd7pj.js} +50 -50
- package/dist/chunks/{form-p4mj4rdp.js → snapshot-cmwkp3r5.js} +8 -8
- package/dist/chunks/{form-qq2m2wf4.js → snapshot-cvm04r39.js} +8 -8
- package/dist/chunks/{form-nd57m68f.js → snapshot-cxz0trys.js} +23 -23
- package/dist/chunks/{form-6hh8tjw2.js → snapshot-d216944b.js} +7 -7
- package/dist/chunks/{form-g7swxvb3.js → snapshot-d48vtfkp.js} +20 -20
- package/dist/chunks/{form-myqp0ysx.js → snapshot-dj5070pm.js} +36 -36
- package/dist/chunks/{form-64mfqs5m.js → snapshot-dx27xtfn.js} +35 -35
- package/dist/chunks/{form-7epd78eg.js → snapshot-e62hrcgf.js} +3 -3
- package/dist/chunks/{form-sxcaecc0.js → snapshot-e80seqcp.js} +3 -3
- package/dist/chunks/{form-dkz4h62m.js → snapshot-e81g86hq.js} +2 -2
- package/dist/chunks/{form-5hsh8mcs.js → snapshot-eahqb6ke.js} +30 -30
- package/dist/chunks/{form-rhjbct0v.js → snapshot-eaj1djv9.js} +8 -8
- package/dist/chunks/{form-xk7wqgj3.js → snapshot-edd5yykw.js} +18 -18
- package/dist/chunks/{form-eej6y6fw.js → snapshot-eej6y6fw.js} +2 -2
- package/dist/chunks/{form-80yv71a5.js → snapshot-eejq6m04.js} +13 -13
- package/dist/chunks/{form-ef5x83kb.js → snapshot-ef5x83kb.js} +1 -1
- package/dist/chunks/{form-mccv6fhs.js → snapshot-egftgkpy.js} +3 -3
- package/dist/chunks/{form-44w2dvnf.js → snapshot-ekje3y56.js} +17 -17
- package/dist/chunks/{form-0c2d7m56.js → snapshot-evv0vwxw.js} +9 -9
- package/dist/chunks/{form-55b95wm6.js → snapshot-f6vbds02.js} +24 -24
- package/dist/chunks/{form-2sejkfem.js → snapshot-ft3hqk2c.js} +9 -9
- package/dist/chunks/{form-yh6ztjf0.js → snapshot-fwetwkyp.js} +8 -8
- package/dist/chunks/{form-1w2wqhfv.js → snapshot-fxaymqdw.js} +4 -4
- package/dist/chunks/{form-kbmnqt40.js → snapshot-fxww3vkk.js} +27 -27
- package/dist/chunks/{form-rr2j5meq.js → snapshot-fzrap74d.js} +4 -4
- package/dist/chunks/{form-zb363yrd.js → snapshot-g0886e5s.js} +10 -10
- package/dist/chunks/{form-kdqphf6x.js → snapshot-g1vbddss.js} +5 -5
- package/dist/chunks/{form-gnmx4hex.js → snapshot-g751szay.js} +13 -13
- package/dist/chunks/{form-gd4qta3r.js → snapshot-gd4qta3r.js} +1 -1
- package/dist/chunks/{form-ba52ty8f.js → snapshot-getmpk2p.js} +25 -25
- package/dist/chunks/{form-tpvm8jgs.js → snapshot-ggdbdp3p.js} +22 -22
- package/dist/chunks/{form-47jkzegy.js → snapshot-gj71zhbs.js} +5 -5
- package/dist/chunks/{form-1vw01wqx.js → snapshot-gjw4dczg.js} +9 -9
- package/dist/chunks/{form-gk8qb678.js → snapshot-gk8qb678.js} +1 -1
- package/dist/chunks/{form-a00fgwp6.js → snapshot-gp6j0m16.js} +177 -177
- package/dist/chunks/{form-av3m5zjn.js → snapshot-gpcfbphx.js} +20 -20
- package/dist/chunks/{form-hw0zxg35.js → snapshot-gpmsrege.js} +19 -19
- package/dist/chunks/{form-x6r13a6v.js → snapshot-gr6rb6jp.js} +28 -28
- package/dist/chunks/{form-zee1rnkq.js → snapshot-gst7axd9.js} +4 -4
- package/dist/chunks/{form-d2czbp48.js → snapshot-gw7cjrad.js} +4 -4
- package/dist/chunks/{form-ht6dr56k.js → snapshot-h30nn26j.js} +5 -5
- package/dist/chunks/{form-h6vf3j39.js → snapshot-h6vf3j39.js} +1 -1
- package/dist/chunks/{form-31xfzrxg.js → snapshot-h7s7r6s9.js} +5 -5
- package/dist/chunks/{form-fb1qtx5j.js → snapshot-h8wzkg43.js} +25 -25
- package/dist/chunks/{form-e288s6x8.js → snapshot-hdaz9kwv.js} +22 -22
- package/dist/chunks/{form-va0k404r.js → snapshot-hgcw6g89.js} +17 -17
- package/dist/chunks/{form-hgz4x7wa.js → snapshot-hgz4x7wa.js} +1 -1
- package/dist/chunks/{form-322x12bj.js → snapshot-hky8srv6.js} +17 -17
- package/dist/chunks/{form-vgb5yh0c.js → snapshot-hwxse503.js} +43 -43
- package/dist/chunks/{form-c1wvkdzc.js → snapshot-j05shhqh.js} +4 -4
- package/dist/chunks/{form-91qna3x0.js → snapshot-j09zfasm.js} +3 -3
- package/dist/chunks/{form-j56e64zr.js → snapshot-j56e64zr.js} +1 -1
- package/dist/chunks/{form-vfsj0jkk.js → snapshot-j6y24mx7.js} +43 -43
- package/dist/chunks/{form-79v2228v.js → snapshot-j7n20m06.js} +14 -14
- package/dist/chunks/{form-2g5cprqg.js → snapshot-jad7v81x.js} +14 -14
- package/dist/chunks/{form-s3jsmpzc.js → snapshot-jaqgj7gd.js} +5 -5
- package/dist/chunks/{form-yb8yygge.js → snapshot-jhh798t7.js} +16 -16
- package/dist/chunks/{form-z2e4rrbn.js → snapshot-jtfvy0x1.js} +5 -5
- package/dist/chunks/{form-addxnjmp.js → snapshot-k22b66k8.js} +4 -4
- package/dist/chunks/{form-1jq22t41.js → snapshot-kasbmhf8.js} +9 -9
- package/dist/chunks/snapshot-kgjy6kx3.js +26 -0
- package/dist/chunks/{form-xt43jwrv.js → snapshot-kxevvgj2.js} +33 -33
- package/dist/chunks/{form-5fyr2d0m.js → snapshot-m0zh6mp4.js} +13 -13
- package/dist/chunks/{form-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-8y31xnqm.js → snapshot-ma15yhyh.js} +5 -5
- package/dist/chunks/{form-5njrdk08.js → snapshot-meynmx88.js} +43 -43
- package/dist/chunks/{form-c33qfg7v.js → snapshot-meztqrmt.js} +41 -41
- package/dist/chunks/{form-1b0mmj8d.js → snapshot-mma6j8c6.js} +33 -33
- package/dist/chunks/{form-g3fthk25.js → snapshot-n1bf2k3s.js} +10 -10
- package/dist/chunks/{form-ya10tbyq.js → snapshot-n6j6gvjr.js} +25 -25
- package/dist/chunks/{form-pxm319h1.js → snapshot-nb6tc7gn.js} +7 -7
- package/dist/chunks/{form-h0vknvkg.js → snapshot-ncf68bzz.js} +8 -8
- package/dist/chunks/{form-m5ja7mh0.js → snapshot-ncff0ghb.js} +7 -7
- package/dist/chunks/{form-d7x0sh0y.js → snapshot-nd4tfyg0.js} +9 -9
- package/dist/chunks/{form-pp84f3ng.js → snapshot-nf9s1prm.js} +14 -14
- package/dist/chunks/{form-bfegkxfd.js → snapshot-npw39rc8.js} +8 -8
- package/dist/chunks/{form-tnd9dnxn.js → snapshot-nxm9bewc.js} +21 -21
- package/dist/chunks/{form-rmbkajqw.js → snapshot-p0302ss0.js} +23 -23
- package/dist/chunks/{form-enm4z0yr.js → snapshot-pck7vvdx.js} +3 -3
- package/dist/chunks/{form-waz12cep.js → snapshot-pdqzrdag.js} +8 -8
- package/dist/chunks/{form-9y2q36e8.js → snapshot-pgm6csgf.js} +7 -7
- package/dist/chunks/{form-pjvnvgmy.js → snapshot-pjvnvgmy.js} +1 -1
- package/dist/chunks/{form-wyafh0w1.js → snapshot-pk3rgn0k.js} +18 -18
- package/dist/chunks/{form-trqre4ge.js → snapshot-pkb3ay4t.js} +7 -7
- package/dist/chunks/{form-pknna89w.js → snapshot-pknna89w.js} +1 -1
- package/dist/chunks/{form-bk4r6et7.js → snapshot-pnevy8t0.js} +14 -14
- package/dist/chunks/{form-av8tazrm.js → snapshot-px49nktx.js} +18 -18
- package/dist/chunks/{form-82n0fy7d.js → snapshot-pxdh6z4x.js} +4 -4
- package/dist/chunks/{form-q0xm7vwc.js → snapshot-q0xm7vwc.js} +2 -2
- package/dist/chunks/{form-k0x9c2f3.js → snapshot-q1wh2s52.js} +9 -9
- package/dist/chunks/{form-qsvm9x85.js → snapshot-q5t8tkm3.js} +13 -13
- package/dist/chunks/{form-0sakkys5.js → snapshot-q6pvwn5s.js} +10 -10
- package/dist/chunks/{form-7hzcx47x.js → snapshot-q9099wq0.js} +11 -11
- package/dist/chunks/{form-6s49h116.js → snapshot-q9s0qt54.js} +25 -25
- package/dist/chunks/{form-9ddc3956.js → snapshot-qhtz5tn1.js} +6 -6
- package/dist/chunks/{form-21r0j0k4.js → snapshot-qm7yafx2.js} +27 -27
- package/dist/chunks/{form-qnc92qwc.js → snapshot-qnc92qwc.js} +1 -1
- package/dist/chunks/{form-1dtmr12w.js → snapshot-qp5xdmt9.js} +12 -12
- package/dist/chunks/{form-qsdy395h.js → snapshot-qsdy395h.js} +1 -1
- package/dist/chunks/{form-3a1kt8mx.js → snapshot-qwz14s94.js} +17 -17
- package/dist/chunks/{form-hvydwdba.js → snapshot-qxs3vhad.js} +8 -8
- package/dist/chunks/{form-k7c61qyd.js → snapshot-qxteq9gp.js} +3 -3
- package/dist/chunks/{form-kvh3hn5p.js → snapshot-r00vxzkf.js} +13 -13
- package/dist/chunks/{form-g4y5gz37.js → snapshot-r1pe02km.js} +6 -6
- package/dist/chunks/{form-rdw6cm16.js → snapshot-rdw6cm16.js} +1 -1
- package/dist/chunks/{form-rert0e01.js → snapshot-rert0e01.js} +2 -2
- package/dist/chunks/{form-rj3eygr5.js → snapshot-rj3eygr5.js} +2 -2
- package/dist/chunks/{form-xhw8kcgn.js → snapshot-rmbqd2ve.js} +14 -14
- package/dist/chunks/{form-cbs81czz.js → snapshot-rrvferkx.js} +10 -10
- package/dist/chunks/{form-w32deh41.js → snapshot-rv7cqpdn.js} +20 -20
- package/dist/chunks/{form-9zhh23v8.js → snapshot-rv8bg9zk.js} +6 -6
- package/dist/chunks/{form-7d1jjv33.js → snapshot-rw725m44.js} +8 -8
- package/dist/chunks/{form-azra3wqg.js → snapshot-ryrkax6k.js} +32 -32
- package/dist/chunks/{form-a9t50ty0.js → snapshot-s21g3yfm.js} +5 -5
- package/dist/chunks/{form-sa8ekw3f.js → snapshot-sa8ekw3f.js} +2 -2
- package/dist/chunks/{form-zyk1yjk8.js → snapshot-scgrse2b.js} +5 -5
- package/dist/chunks/{form-sm0ksd3h.js → snapshot-svcw9x3w.js} +5 -5
- package/dist/chunks/{form-kck1ngxs.js → snapshot-sy5bqw1f.js} +36 -36
- package/dist/chunks/{form-syv4x271.js → snapshot-syv4x271.js} +1 -1
- package/dist/chunks/{form-bmr56wjg.js → snapshot-sz15zhhw.js} +4 -4
- package/dist/chunks/{form-99g2q9zd.js → snapshot-t0jcgyeh.js} +11 -11
- package/dist/chunks/{form-gk5356zs.js → snapshot-t24steab.js} +20 -20
- package/dist/chunks/{form-r540veg5.js → snapshot-t2sp9sft.js} +45 -45
- package/dist/chunks/{form-j2s3779n.js → snapshot-t3g5z3jq.js} +4 -4
- package/dist/chunks/{form-49t7pbwb.js → snapshot-t4xp0xer.js} +20 -20
- package/dist/chunks/{form-tazgh4e4.js → snapshot-tazgh4e4.js} +1 -1
- package/dist/chunks/{form-sp67p2pt.js → snapshot-tczskvm4.js} +9 -9
- package/dist/chunks/{form-tdstcens.js → snapshot-tdstcens.js} +1 -1
- package/dist/chunks/{form-yk3d35tb.js → snapshot-tj9ze35q.js} +11 -11
- package/dist/chunks/{form-tm0kqsz3.js → snapshot-tm0kqsz3.js} +1 -1
- package/dist/chunks/{form-9y14qb5r.js → snapshot-twxex640.js} +29 -29
- package/dist/chunks/{form-tyytaxap.js → snapshot-tyytaxap.js} +1 -1
- package/dist/chunks/{form-jc31vf16.js → snapshot-v61gpap5.js} +20 -20
- package/dist/chunks/{form-v7p4zvkq.js → snapshot-v7p4zvkq.js} +2 -2
- package/dist/chunks/{form-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
- package/dist/chunks/{form-668vd0mr.js → snapshot-vvdk2v7s.js} +31 -31
- package/dist/chunks/{form-dgteecst.js → snapshot-vxrq7gy3.js} +23 -23
- package/dist/chunks/{form-zy2t3ddk.js → snapshot-vyxcgzxm.js} +4 -4
- package/dist/chunks/{form-7pk2fpkr.js → snapshot-vz7j5hz5.js} +15 -15
- package/dist/chunks/{form-vzs5sf6e.js → snapshot-vzs5sf6e.js} +1 -1
- package/dist/chunks/{form-wh6zw745.js → snapshot-w39jehkq.js} +5 -5
- package/dist/chunks/{form-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-hjqck59g.js → snapshot-w9m81hfh.js} +27 -27
- package/dist/chunks/{form-wd87259q.js → snapshot-wd87259q.js} +1 -1
- package/dist/chunks/{form-0x8nqgp6.js → snapshot-wdjckp9n.js} +58 -58
- package/dist/chunks/{form-d3y6n0b6.js → snapshot-wg81ww38.js} +4 -4
- package/dist/chunks/{form-tf3yab8x.js → snapshot-ws8te88a.js} +5 -5
- package/dist/chunks/{form-k9d4b4p7.js → snapshot-ww4mptbv.js} +6 -6
- package/dist/chunks/{form-e5f8kc24.js → snapshot-x0n2r8bm.js} +9 -9
- package/dist/chunks/{form-17xaq5pa.js → snapshot-x2g642t3.js} +50 -50
- package/dist/chunks/{form-yjytrvhv.js → snapshot-x9cg0rxw.js} +21 -21
- package/dist/chunks/{form-qx0zpr7q.js → snapshot-xbn8j5gg.js} +23 -23
- package/dist/chunks/{form-95m8db81.js → snapshot-xdykc06c.js} +15 -15
- package/dist/chunks/{form-t7jdn7q3.js → snapshot-xkcby2w3.js} +25 -25
- package/dist/chunks/{form-x8p4rg84.js → snapshot-xkxtbnne.js} +43 -43
- package/dist/chunks/{form-naz1hppr.js → snapshot-xn2d9mj3.js} +11 -11
- package/dist/chunks/{form-6pg3w5wa.js → snapshot-xwazsn8k.js} +26 -26
- package/dist/chunks/{form-wereqxyc.js → snapshot-xzf894n2.js} +37 -37
- package/dist/chunks/{form-y1fvbwt7.js → snapshot-y1fvbwt7.js} +1 -1
- package/dist/chunks/{form-dpkg50ah.js → snapshot-y71avatq.js} +4 -4
- package/dist/chunks/{form-0cg871e2.js → snapshot-yd4bzqjj.js} +5 -5
- package/dist/chunks/{form-3zftvv2w.js → snapshot-yfv49cfa.js} +50 -50
- package/dist/chunks/{form-3b9qt4hj.js → snapshot-yh7kjdpc.js} +9 -9
- package/dist/chunks/{form-jxz0pj49.js → snapshot-yrd2kh6r.js} +16 -16
- package/dist/chunks/{form-g8g0s57g.js → snapshot-yw0bx123.js} +15 -15
- package/dist/chunks/{form-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
- package/dist/chunks/{form-wmqffk39.js → snapshot-z1j66m5m.js} +9 -9
- package/dist/chunks/{form-68x95car.js → snapshot-z7g7qfqe.js} +15 -15
- package/dist/chunks/{form-gjkgbs04.js → snapshot-z9dst3cg.js} +27 -27
- package/dist/chunks/{form-8dbkkhxs.js → snapshot-zejcb5bb.js} +34 -34
- package/dist/chunks/{form-6cv38wn1.js → snapshot-zhcb31md.js} +11 -11
- package/dist/chunks/{form-zr2ceqn5.js → snapshot-zr2ceqn5.js} +1 -1
- package/dist/chunks/{form-zxq2ej10.js → snapshot-zxq2ej10.js} +1 -1
- package/dist/chunks/{form-j8egbxqg.js → snapshot-zy26rbxg.js} +24 -24
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +96 -96
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +92 -92
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +92 -92
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +95 -95
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/form-623a4y9d.js +0 -26
- package/dist/chunks/form-7fj5dwt0.js +0 -18
- package/dist/chunks/form-xpxzt0pv.js +0 -253
- /package/dist/chunks/{form-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1kg9ymc8.js → snapshot-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2axfhc9x.js → snapshot-2axfhc9x.js} +0 -0
- /package/dist/chunks/{form-2bv980vf.js → snapshot-2bv980vf.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → snapshot-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3t0ybcrp.js → snapshot-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → snapshot-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-5qd3pb7m.js → snapshot-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → snapshot-6prwharc.js} +0 -0
- /package/dist/chunks/{form-6q2bdcd1.js → snapshot-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → snapshot-822emrt2.js} +0 -0
- /package/dist/chunks/{form-84wd9syh.js → snapshot-84wd9syh.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-8wj87zfr.js → snapshot-8wj87zfr.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-bw78ga2c.js → snapshot-bw78ga2c.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → snapshot-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → snapshot-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → snapshot-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → snapshot-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jze0r7bz.js → snapshot-jze0r7bz.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-m18g726c.js → snapshot-m18g726c.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-pkyv6v7h.js → snapshot-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{form-pyv0edze.js → snapshot-pyv0edze.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-ve7vex1e.js → snapshot-ve7vex1e.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → snapshot-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-ym463w8f.js → snapshot-ym463w8f.js} +0 -0
- /package/dist/chunks/{form-z5v4ffb3.js → snapshot-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
6
|
node88
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-ccjdyf7k.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event13,
|
|
10
|
+
Service59,
|
|
11
|
+
node62
|
|
12
|
+
} from "./snapshot-bwx17gqq.js";
|
|
13
13
|
import {
|
|
14
14
|
Service81,
|
|
15
15
|
node85
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./snapshot-jtfvy0x1.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service66,
|
|
19
|
+
node69
|
|
20
|
+
} from "./snapshot-nxm9bewc.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID12,
|
|
23
|
+
Service75,
|
|
24
|
+
node79
|
|
25
|
+
} from "./snapshot-4b88qf44.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./snapshot-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID7,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service58,
|
|
34
|
+
node61
|
|
35
|
+
} from "./snapshot-a16rd8k8.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
@@ -49,12 +49,12 @@ __export(exports_mcp4, {
|
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service33,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
55
|
configured: () => configured3,
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
56
|
+
layer: () => layer13,
|
|
57
|
+
node: () => node36
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -103,7 +103,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
103
103
|
var endpointLoads = makeUnsafe2();
|
|
104
104
|
var cloneConfig = (config) => structuredClone(config);
|
|
105
105
|
|
|
106
|
-
class
|
|
106
|
+
class Service33 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
108
|
var Options3 = Schema.Struct({
|
|
109
109
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -111,13 +111,13 @@ var Options3 = Schema.Struct({
|
|
|
111
111
|
version: Schema.String
|
|
112
112
|
}))
|
|
113
113
|
});
|
|
114
|
-
var
|
|
114
|
+
var layer13 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
115
115
|
const location = yield* Service81;
|
|
116
|
-
const environment = yield*
|
|
116
|
+
const environment = yield* Service66;
|
|
117
117
|
const bus = yield* Service84;
|
|
118
|
-
const forms = yield*
|
|
119
|
-
const integration = yield*
|
|
120
|
-
const credentials = yield*
|
|
118
|
+
const forms = yield* Service75;
|
|
119
|
+
const integration = yield* Service58;
|
|
120
|
+
const credentials = yield* Service59;
|
|
121
121
|
const root = yield* Effect.scope;
|
|
122
122
|
const fork = yield* FiberSet.makeRuntime();
|
|
123
123
|
const entries = new Map;
|
|
@@ -129,7 +129,7 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
129
129
|
return;
|
|
130
130
|
const remote = entry.config;
|
|
131
131
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
132
|
-
const integrationID =
|
|
132
|
+
const integrationID = ID7.make(suffix);
|
|
133
133
|
entry.integrationID = integrationID;
|
|
134
134
|
owned.add(integrationID);
|
|
135
135
|
const methodID = MethodID2.make(suffix);
|
|
@@ -145,7 +145,7 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
145
145
|
method: { id: methodID, type: "oauth", label: name },
|
|
146
146
|
authorize: () => Effect.gen(function* () {
|
|
147
147
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
148
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
148
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service59, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
@@ -161,12 +161,12 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
161
161
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
162
162
|
return;
|
|
163
163
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
164
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
164
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service59, credentials));
|
|
165
165
|
});
|
|
166
166
|
const elicitation = {
|
|
167
167
|
create: (input) => Effect.gen(function* () {
|
|
168
168
|
if (input.params.mode === "url") {
|
|
169
|
-
const formID =
|
|
169
|
+
const formID = ID12.create();
|
|
170
170
|
const elicitationID = input.params.elicitationId;
|
|
171
171
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
172
172
|
if (key)
|
|
@@ -269,7 +269,7 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
269
269
|
entry.scope = scope;
|
|
270
270
|
const authProvider = yield* connectProvider(entry);
|
|
271
271
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
272
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
272
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service66, environment), Scope.provide(scope));
|
|
273
273
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
274
274
|
if (Exit.isSuccess(result)) {
|
|
275
275
|
entry.client = result.value.connection;
|
|
@@ -394,7 +394,7 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
394
394
|
yield* startServer(name, entry);
|
|
395
395
|
}).pipe(locks.withLock(name));
|
|
396
396
|
});
|
|
397
|
-
fork(bus.subscribe(
|
|
397
|
+
fork(bus.subscribe(Event13.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
398
398
|
const state = create3({
|
|
399
399
|
name: "mcp",
|
|
400
400
|
initial: () => ({
|
|
@@ -420,7 +420,7 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
420
420
|
}),
|
|
421
421
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
422
|
});
|
|
423
|
-
return
|
|
423
|
+
return Service33.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -532,12 +532,12 @@ function mergeCatalogs(catalogs) {
|
|
|
532
532
|
}
|
|
533
533
|
function configured3(options) {
|
|
534
534
|
return makeLocationNode({
|
|
535
|
-
service:
|
|
536
|
-
layer:
|
|
537
|
-
deps: [node85,
|
|
535
|
+
service: Service33,
|
|
536
|
+
layer: layer13(options),
|
|
537
|
+
deps: [node85, node69, node88, node79, node61, node62]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var node36 = configured3();
|
|
541
541
|
function toElicitationField(key, property, required) {
|
|
542
542
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
543
543
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service33, Options3, layer13, configured3, node36, exports_mcp4 };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service81
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-jtfvy0x1.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service66
|
|
12
|
+
} from "./snapshot-nxm9bewc.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service65
|
|
15
|
+
} from "./snapshot-pk3rgn0k.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./snapshot-vvdk2v7s.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service76
|
|
24
|
+
} from "./snapshot-x2g642t3.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service14
|
|
27
|
+
} from "./snapshot-vz7j5hz5.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input11,
|
|
37
|
+
Output: () => Output7,
|
|
38
|
+
Plugin: () => Plugin29,
|
|
39
|
+
name: () => name11,
|
|
40
|
+
toModelContent: () => toModelContent6
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name11 = "glob";
|
|
46
|
+
var Input11 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input6 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output7 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent6 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin29 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
69
|
+
const environment = yield* Service66;
|
|
70
|
+
const ripgrep = yield* Service65;
|
|
71
71
|
const location = yield* Service81;
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
72
|
+
const access = yield* Service14;
|
|
73
|
+
const permission = yield* Service76;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name11,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input11,
|
|
79
|
+
output: Output7,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name11,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin6 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent6(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name11, Input11, Output7, toModelContent6, Plugin29, exports_glob };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-0jzh9efz.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service71,
|
|
17
|
+
node: () => node75
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service71 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service85).db;
|
|
26
|
-
return
|
|
26
|
+
return Service71.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node75 = makeGlobalNode({ service: Service71, layer, deps: [node89] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service71, node75, exports_kv };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-jtfvy0x1.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service14
|
|
9
|
+
} from "./snapshot-vz7j5hz5.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service6
|
|
12
|
+
} from "./snapshot-yrd2kh6r.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-hgz4x7wa.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service7
|
|
27
|
+
} from "./snapshot-qwz14s94.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input6,
|
|
36
|
+
Plugin: () => Plugin23,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name6,
|
|
39
|
+
toModelContent: () => toModelContent4
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name6 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input6 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin23 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service7;
|
|
62
|
+
const access = yield* Service14;
|
|
63
|
+
const sessionInstructions = yield* Service6;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
65
|
const location = yield* Service81;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name6,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input6,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -113,7 +113,7 @@ var Plugin11 = {
|
|
|
113
113
|
return { output: result.content, path: result.path };
|
|
114
114
|
}).pipe(Effect.map((result) => ({
|
|
115
115
|
output: result.output,
|
|
116
|
-
content:
|
|
116
|
+
content: toModelContent4(result.path, input.offset, result.output),
|
|
117
117
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
118
118
|
})), Effect.mapError((error) => {
|
|
119
119
|
if (error instanceof ToolFailure)
|
|
@@ -146,7 +146,7 @@ ${suggestions.join(`
|
|
|
146
146
|
});
|
|
147
147
|
})
|
|
148
148
|
};
|
|
149
|
-
var
|
|
149
|
+
var toModelContent4 = (path, offset, output) => {
|
|
150
150
|
if (output.type === "file" && output.encoding === "base64")
|
|
151
151
|
return [
|
|
152
152
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -182,4 +182,4 @@ var toModelContent6 = (path, offset, output) => {
|
|
|
182
182
|
`);
|
|
183
183
|
};
|
|
184
184
|
|
|
185
|
-
export {
|
|
185
|
+
export { name6, Input6, Plugin23, toModelContent4, exports_read };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./snapshot-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-bjx1sjef.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin6,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint5
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint5 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin6 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin36 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint5);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint5, Plugin6, exports_exa };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-ccjdyf7k.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-qm7yafx2.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service51,
|
|
9
|
+
Event9
|
|
10
|
+
} from "./snapshot-xzf894n2.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -32,7 +32,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
32
32
|
var ModelsDevPlugin2 = define({
|
|
33
33
|
id: "opencode.models.dev",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const modelsDev = yield*
|
|
35
|
+
const modelsDev = yield* Service51;
|
|
36
36
|
const bus = yield* Service84;
|
|
37
37
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
38
38
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -66,7 +66,7 @@ var ModelsDevPlugin2 = define({
|
|
|
66
66
|
loaded.data = snapshots(data);
|
|
67
67
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
68
68
|
};
|
|
69
|
-
yield* bus.subscribe(
|
|
69
|
+
yield* bus.subscribe(Event9.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
70
70
|
const latest = yield* modelsDev.get();
|
|
71
71
|
if (snapshots(latest) !== loaded.data)
|
|
72
72
|
yield* apply(latest);
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service11,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node13
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service11 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service11.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node13 = makeGlobalNode({ service: Service11, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service11, node13, exports_discovery };
|