@opencode/core 0.0.0-dev-20214 → 0.0.0-dev-20217
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 +79 -79
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{ripgrep-c8xqcx36.js → generate-01x1ys4d.js} +6 -6
- package/dist/chunks/{ripgrep-npxj08d4.js → generate-05g83p89.js} +2 -2
- package/dist/chunks/{ripgrep-1fmrbde1.js → generate-07770t2t.js} +6 -6
- package/dist/chunks/{ripgrep-pmytgcn0.js → generate-07xv2kp7.js} +31 -31
- package/dist/chunks/{ripgrep-zjzvptz9.js → generate-0ddzsve8.js} +6 -6
- package/dist/chunks/generate-0mesazry.js +4 -0
- package/dist/chunks/{ripgrep-0paq2nw3.js → generate-0paq2nw3.js} +1 -1
- package/dist/chunks/{ripgrep-xj8f3x9y.js → generate-0srm5d79.js} +25 -25
- package/dist/chunks/{ripgrep-n5et7dpj.js → generate-12d20hvf.js} +10 -10
- package/dist/chunks/{ripgrep-p9zsz0x5.js → generate-13dh974y.js} +2 -2
- package/dist/chunks/{ripgrep-pss0kfhr.js → generate-18r2kxzz.js} +20 -20
- package/dist/chunks/{ripgrep-1acjjqhc.js → generate-1acjjqhc.js} +1 -1
- package/dist/chunks/{ripgrep-1dazxqgg.js → generate-1dazxqgg.js} +2 -2
- package/dist/chunks/{ripgrep-twcsa2yf.js → generate-1e2chcff.js} +17 -17
- package/dist/chunks/{ripgrep-7sbkp4xb.js → generate-1g7epwpd.js} +7 -7
- package/dist/chunks/{ripgrep-21r38tys.js → generate-21r38tys.js} +1 -1
- package/dist/chunks/{ripgrep-2402vzrj.js → generate-2402vzrj.js} +1 -1
- package/dist/chunks/{ripgrep-2a5m3afh.js → generate-2a5m3afh.js} +1 -1
- package/dist/chunks/{ripgrep-z9yrm4kz.js → generate-2ba3d3jd.js} +12 -12
- package/dist/chunks/{ripgrep-t2k3fcmw.js → generate-2fdjjf2d.js} +28 -28
- package/dist/chunks/{ripgrep-c9wpfjta.js → generate-2twqppr1.js} +24 -24
- package/dist/chunks/{ripgrep-q14nnn67.js → generate-2ya16xyf.js} +12 -12
- package/dist/chunks/{ripgrep-q9bqj99v.js → generate-311tnbd3.js} +8 -8
- package/dist/chunks/{ripgrep-vjjxy6yb.js → generate-32ymn5e1.js} +3 -3
- package/dist/chunks/{ripgrep-k1s5fk6j.js → generate-33tnhc2v.js} +24 -24
- package/dist/chunks/{ripgrep-12vdsn8b.js → generate-3ezsjsrq.js} +14 -14
- package/dist/chunks/{ripgrep-3fc6dm20.js → generate-3fc6dm20.js} +1 -1
- package/dist/chunks/{ripgrep-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-hmcps9m2.js → generate-3k1dm8q8.js} +11 -11
- package/dist/chunks/{ripgrep-0kppctkg.js → generate-3rcsyed8.js} +11 -11
- package/dist/chunks/{ripgrep-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
- package/dist/chunks/{ripgrep-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
- package/dist/chunks/{ripgrep-cb0dmbvc.js → generate-3znwyx7d.js} +11 -11
- package/dist/chunks/{ripgrep-3zsf4n22.js → generate-3zsf4n22.js} +1 -1
- package/dist/chunks/{ripgrep-rk1r2hx8.js → generate-427t97hr.js} +1 -1
- package/dist/chunks/{ripgrep-2qbs3cg9.js → generate-43m90sy1.js} +8 -8
- package/dist/chunks/{ripgrep-kv6rgdgk.js → generate-43vx0ncx.js} +21 -21
- package/dist/chunks/{ripgrep-cwmzg64k.js → generate-450mh6qg.js} +11 -11
- package/dist/chunks/{ripgrep-2y34zzjz.js → generate-4541pte3.js} +6 -6
- package/dist/chunks/{ripgrep-hm1jkskx.js → generate-4b4retmw.js} +11 -11
- package/dist/chunks/{ripgrep-74dp8hat.js → generate-4k8ah3ry.js} +12 -12
- package/dist/chunks/{ripgrep-b61etazn.js → generate-4mfjhpc7.js} +8 -8
- package/dist/chunks/{ripgrep-hpzaeq5b.js → generate-4p1vpwjc.js} +13 -13
- package/dist/chunks/{ripgrep-s5bs032n.js → generate-4pkwzc2k.js} +4 -4
- package/dist/chunks/{ripgrep-5ss8824k.js → generate-4pm1yn44.js} +6 -6
- package/dist/chunks/generate-4z3x0xya.js +252 -0
- package/dist/chunks/{ripgrep-hc7887ne.js → generate-50ydhzxp.js} +31 -31
- package/dist/chunks/{ripgrep-v60cs7q6.js → generate-51s6j6q9.js} +21 -21
- package/dist/chunks/{ripgrep-42ja97fm.js → generate-5492h712.js} +10 -10
- package/dist/chunks/{ripgrep-mfgtk275.js → generate-56teqqsg.js} +16 -16
- package/dist/chunks/{ripgrep-57ez7d0k.js → generate-57ez7d0k.js} +2 -2
- package/dist/chunks/{ripgrep-t44twkfx.js → generate-5cvwhdy7.js} +17 -17
- package/dist/chunks/{ripgrep-5daktx2q.js → generate-5daktx2q.js} +1 -1
- package/dist/chunks/{ripgrep-zmk0gg7x.js → generate-5gtszx91.js} +3 -3
- package/dist/chunks/{ripgrep-5t3nmthw.js → generate-5t3nmthw.js} +2 -2
- package/dist/chunks/{ripgrep-1a95bty0.js → generate-5zjd4ppb.js} +8 -8
- package/dist/chunks/{ripgrep-669tq793.js → generate-669tq793.js} +1 -1
- package/dist/chunks/{ripgrep-n7w0d8kx.js → generate-6bse4mnq.js} +14 -14
- package/dist/chunks/{ripgrep-h71w788e.js → generate-6hjx5zpb.js} +9 -9
- package/dist/chunks/{ripgrep-6msgmcgs.js → generate-6msgmcgs.js} +1 -1
- package/dist/chunks/{ripgrep-mh69476p.js → generate-6rxe94kc.js} +14 -14
- package/dist/chunks/{ripgrep-y906m0ew.js → generate-6xw3seg4.js} +5 -5
- package/dist/chunks/{ripgrep-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-8phpemx6.js → generate-7fkffz83.js} +8 -8
- package/dist/chunks/{ripgrep-xe892rvg.js → generate-7mnmsw4a.js} +34 -34
- package/dist/chunks/{ripgrep-aqpkav4c.js → generate-7pfvvhkc.js} +4 -4
- package/dist/chunks/{ripgrep-zvpyqeek.js → generate-7qr8wanm.js} +25 -25
- package/dist/chunks/{ripgrep-jexxy024.js → generate-7w99qc9d.js} +3 -3
- package/dist/chunks/{ripgrep-bp2sensp.js → generate-81pvwmvt.js} +4 -4
- package/dist/chunks/{ripgrep-pje8b49m.js → generate-842jftfa.js} +34 -34
- package/dist/chunks/{ripgrep-aqpebcrt.js → generate-84f8pt8n.js} +4 -4
- package/dist/chunks/{ripgrep-tcezcvh9.js → generate-89znhe33.js} +4 -4
- package/dist/chunks/{ripgrep-khja88a7.js → generate-8ahxe1yx.js} +13 -13
- package/dist/chunks/{ripgrep-ad0mdt0a.js → generate-8bpqntr2.js} +3 -3
- package/dist/chunks/{ripgrep-8d7r5vzw.js → generate-8d7r5vzw.js} +1 -1
- package/dist/chunks/{ripgrep-qr1jhx0t.js → generate-8esc5efs.js} +37 -37
- package/dist/chunks/{ripgrep-5vrtv4g9.js → generate-8fp4c2z7.js} +9 -9
- package/dist/chunks/{ripgrep-kp3ccd2p.js → generate-8hw9841t.js} +6 -6
- package/dist/chunks/{ripgrep-555hjjse.js → generate-8q07pp0g.js} +22 -22
- package/dist/chunks/{ripgrep-09rgwd1w.js → generate-8vkxkxfw.js} +12 -12
- package/dist/chunks/{ripgrep-wwass4bc.js → generate-8xm938at.js} +1 -1
- package/dist/chunks/{ripgrep-cms5sp3y.js → generate-9051msma.js} +30 -30
- package/dist/chunks/{ripgrep-dsd3h4da.js → generate-91hm5t32.js} +3 -3
- package/dist/chunks/{ripgrep-x1eshmbh.js → generate-92c2ry4b.js} +82 -82
- package/dist/chunks/{ripgrep-gfvb90ym.js → generate-94ek1h2f.js} +2 -2
- package/dist/chunks/{ripgrep-m1ghs974.js → generate-9cfetbmm.js} +48 -48
- package/dist/chunks/{ripgrep-15kp7mbb.js → generate-9eqcqd4c.js} +7 -7
- package/dist/chunks/{ripgrep-ae3gwck6.js → generate-9py21ez6.js} +26 -26
- package/dist/chunks/{ripgrep-gengpk4q.js → generate-9ype0whe.js} +7 -7
- package/dist/chunks/{ripgrep-yaeh8x3m.js → generate-a63atnq5.js} +18 -18
- package/dist/chunks/{ripgrep-0g79en4w.js → generate-a8x64na4.js} +9 -9
- package/dist/chunks/{ripgrep-q9bv1n31.js → generate-a913ty5s.js} +2 -2
- package/dist/chunks/{ripgrep-aaet6srn.js → generate-aaet6srn.js} +2 -2
- package/dist/chunks/{ripgrep-58td3c7b.js → generate-ac05d0px.js} +3 -3
- package/dist/chunks/{ripgrep-7wtv0cyd.js → generate-acpncztj.js} +27 -27
- package/dist/chunks/{ripgrep-v3cs42z7.js → generate-acy463b0.js} +13 -13
- package/dist/chunks/{ripgrep-77vfrych.js → generate-ahs2gfn5.js} +14 -14
- package/dist/chunks/{ripgrep-rtathh62.js → generate-ap4hnkh0.js} +8 -8
- package/dist/chunks/{ripgrep-bn2pe2hy.js → generate-apvj6j8r.js} +28 -28
- package/dist/chunks/{ripgrep-fn2vm53h.js → generate-as9020bb.js} +19 -19
- package/dist/chunks/{ripgrep-tgkxrmwx.js → generate-asb11nsr.js} +7 -7
- package/dist/chunks/{ripgrep-v8ys44m2.js → generate-ascb784g.js} +22 -22
- package/dist/chunks/{ripgrep-b6gygkdw.js → generate-b6gygkdw.js} +2 -2
- package/dist/chunks/{ripgrep-9g55x113.js → generate-b7vfyjp8.js} +8 -8
- package/dist/chunks/{ripgrep-d6ygdec0.js → generate-bd8gmehc.js} +15 -15
- package/dist/chunks/{ripgrep-xmm46p6t.js → generate-bqjmqm67.js} +10 -10
- package/dist/chunks/{ripgrep-rqpceq6q.js → generate-bvbhr0nb.js} +17 -17
- package/dist/chunks/{ripgrep-4999syfh.js → generate-by1j3ey7.js} +8 -8
- package/dist/chunks/{ripgrep-xhxqht2n.js → generate-c7xb4h4h.js} +8 -8
- package/dist/chunks/{ripgrep-a8bn8zg0.js → generate-cavr175a.js} +4 -4
- package/dist/chunks/{ripgrep-sspsyg24.js → generate-cb53fham.js} +4 -4
- package/dist/chunks/{ripgrep-mdxpkgt1.js → generate-ck1n40bc.js} +30 -30
- package/dist/chunks/{ripgrep-54tcyq79.js → generate-ckecvw8r.js} +2 -2
- package/dist/chunks/{ripgrep-5cem5vvw.js → generate-cqh59s6n.js} +21 -21
- package/dist/chunks/{ripgrep-bm4g2d1m.js → generate-ctdb5eh8.js} +6 -6
- package/dist/chunks/{ripgrep-2gsdyw26.js → generate-cya50jfb.js} +23 -23
- package/dist/chunks/{ripgrep-8yfv9yc5.js → generate-d9ncfxft.js} +32 -32
- package/dist/chunks/{ripgrep-8qvzptz7.js → generate-d9sgy5v4.js} +4 -4
- package/dist/chunks/{ripgrep-q5asdkn4.js → generate-dhmh7aw6.js} +4 -4
- package/dist/chunks/{ripgrep-qmqgtz8f.js → generate-djszqvmq.js} +9 -9
- package/dist/chunks/{ripgrep-470th4w4.js → generate-dkhp2rv1.js} +1 -1
- package/dist/chunks/{ripgrep-3ksk9rr2.js → generate-dz42haa5.js} +1 -1
- package/dist/chunks/{ripgrep-hmcfw5q9.js → generate-e34fvbdd.js} +48 -48
- package/dist/chunks/{ripgrep-4eaf1e5g.js → generate-e7v8jp1m.js} +1 -1
- package/dist/chunks/{ripgrep-26z3ws4s.js → generate-e9kfhk2a.js} +9 -9
- package/dist/chunks/{ripgrep-ecfe7b91.js → generate-ecfe7b91.js} +2 -2
- package/dist/chunks/{ripgrep-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
- package/dist/chunks/{ripgrep-wzce99wp.js → generate-ejradr83.js} +11 -11
- package/dist/chunks/{ripgrep-qaskr6ck.js → generate-er2bz0cg.js} +9 -9
- package/dist/chunks/{ripgrep-c92s42wz.js → generate-ert96eax.js} +13 -13
- package/dist/chunks/{ripgrep-etq0c3wd.js → generate-etq0c3wd.js} +1 -1
- package/dist/chunks/{ripgrep-n2qr5wvz.js → generate-exm6h1mn.js} +83 -83
- package/dist/chunks/{ripgrep-070x7jqv.js → generate-f2yegfjx.js} +14 -14
- package/dist/chunks/{ripgrep-bn9y56zf.js → generate-fcn9dpeq.js} +15 -15
- package/dist/chunks/{ripgrep-maxhh8et.js → generate-fhqwpy9z.js} +17 -17
- package/dist/chunks/{ripgrep-wmtcr06c.js → generate-fjmvr8bc.js} +33 -33
- package/dist/chunks/{ripgrep-cmwkp3r5.js → generate-g0445xdp.js} +4 -4
- package/dist/chunks/{ripgrep-yf5s7ntk.js → generate-g07qyce6.js} +24 -24
- package/dist/chunks/{ripgrep-kj1xsshb.js → generate-g4amcqm5.js} +27 -27
- package/dist/chunks/{ripgrep-a8zr1srk.js → generate-g8jasmdt.js} +8 -8
- package/dist/chunks/{ripgrep-kpbxnat6.js → generate-ga8r5h9c.js} +3 -3
- package/dist/chunks/{ripgrep-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
- package/dist/chunks/{ripgrep-a0pm8hjd.js → generate-gfg0xv4g.js} +18 -18
- package/dist/chunks/{ripgrep-6cehfpa0.js → generate-gkdtqfkd.js} +22 -22
- package/dist/chunks/{ripgrep-4w5f3qm5.js → generate-gs3s1a1g.js} +8 -8
- package/dist/chunks/{ripgrep-gt3bz8e3.js → generate-gs9kevq0.js} +5 -5
- package/dist/chunks/{ripgrep-gv6a8nnw.js → generate-gv6a8nnw.js} +2 -2
- package/dist/chunks/{ripgrep-7cas1wtv.js → generate-gyanhw85.js} +20 -20
- package/dist/chunks/generate-gyce5qg1.js +18 -0
- package/dist/chunks/{ripgrep-k228d5wx.js → generate-h26v9h8p.js} +8 -8
- package/dist/chunks/{ripgrep-h6r3nrb9.js → generate-h6r3nrb9.js} +1 -1
- package/dist/chunks/{ripgrep-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
- package/dist/chunks/{ripgrep-2505q7fe.js → generate-hkap8016.js} +25 -25
- package/dist/chunks/{ripgrep-kjgtxxd0.js → generate-hvf24zfz.js} +11 -11
- package/dist/chunks/{ripgrep-nq7qbqzc.js → generate-j3s2z371.js} +9 -9
- package/dist/chunks/{ripgrep-j56e64zr.js → generate-j56e64zr.js} +1 -1
- package/dist/chunks/{ripgrep-acd4vkpt.js → generate-jkp0d30b.js} +6 -6
- package/dist/chunks/{ripgrep-19e25byy.js → generate-jp253xqa.js} +26 -26
- package/dist/chunks/{ripgrep-ttrnwjg6.js → generate-k2jz26yg.js} +26 -26
- package/dist/chunks/{ripgrep-k3c624dm.js → generate-k3c624dm.js} +3 -3
- package/dist/chunks/{ripgrep-y7adswzc.js → generate-k3w3vasa.js} +16 -16
- package/dist/chunks/{ripgrep-ghshyr7t.js → generate-k49da67q.js} +21 -21
- package/dist/chunks/{ripgrep-4w0s546m.js → generate-k4sxmhnt.js} +8 -8
- package/dist/chunks/{ripgrep-gbgcn9t9.js → generate-k685mvzk.js} +20 -20
- package/dist/chunks/{ripgrep-x8877teh.js → generate-kcxpvb8p.js} +11 -11
- package/dist/chunks/{ripgrep-czkm8csv.js → generate-kgh91f7z.js} +15 -15
- package/dist/chunks/{ripgrep-vzsp23ty.js → generate-knzkxb6b.js} +10 -10
- package/dist/chunks/{ripgrep-ytgm5639.js → generate-m06qwvac.js} +8 -8
- package/dist/chunks/{ripgrep-m3fdjcah.js → generate-m3fdjcah.js} +1 -1
- package/dist/chunks/{ripgrep-3ms0g86c.js → generate-m6f3t844.js} +8 -8
- package/dist/chunks/{ripgrep-rzwfn0ne.js → generate-m9g2aspd.js} +128 -128
- package/dist/chunks/{ripgrep-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-16bf5rpj.js → generate-magsh8sv.js} +18 -18
- package/dist/chunks/{ripgrep-56gdpj1q.js → generate-mfqp6xfm.js} +6 -6
- package/dist/chunks/{ripgrep-edc6jshq.js → generate-mhkvc446.js} +3 -3
- package/dist/chunks/{ripgrep-gxnkkmdt.js → generate-mjs36gnf.js} +9 -9
- package/dist/chunks/{ripgrep-mzywpf3p.js → generate-mvksx64m.js} +4 -4
- package/dist/chunks/{ripgrep-28qa2p8j.js → generate-mwaxn094.js} +12 -12
- package/dist/chunks/{ripgrep-xvm3nk9v.js → generate-nacwttbk.js} +14 -14
- package/dist/chunks/{ripgrep-a3r4dcrj.js → generate-nng2ktcm.js} +2 -2
- package/dist/chunks/{ripgrep-7cx3b7xt.js → generate-ntpdddm1.js} +1 -1
- package/dist/chunks/{ripgrep-qjmya8rr.js → generate-nv0fppfx.js} +18 -18
- package/dist/chunks/{ripgrep-qf5m3qp7.js → generate-nzxz9wjq.js} +24 -24
- package/dist/chunks/{ripgrep-zsm846db.js → generate-p0waxsk2.js} +13 -13
- package/dist/chunks/{ripgrep-f9dn3m9b.js → generate-p5wrwqkj.js} +10 -10
- package/dist/chunks/{ripgrep-kw68gt8s.js → generate-p7mnw8s9.js} +13 -13
- package/dist/chunks/{ripgrep-p44d8wdy.js → generate-pecb0brz.js} +5 -5
- package/dist/chunks/{ripgrep-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
- package/dist/chunks/{ripgrep-pknna89w.js → generate-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-6y4f4487.js → generate-pnd8syx4.js} +9 -9
- package/dist/chunks/{ripgrep-kx6qw7rw.js → generate-ptzcsgsd.js} +10 -10
- package/dist/chunks/{ripgrep-cjewx8rg.js → generate-q427x2gx.js} +6 -6
- package/dist/chunks/{ripgrep-bdnj05zt.js → generate-q715b6mx.js} +37 -37
- package/dist/chunks/generate-q809hsec.js +26 -0
- package/dist/chunks/{ripgrep-q3e16cjs.js → generate-qfraas54.js} +16 -16
- package/dist/chunks/{ripgrep-0jwsre1p.js → generate-qgn6gcr1.js} +5 -5
- package/dist/chunks/{ripgrep-hnr5yq9h.js → generate-qjnxxf51.js} +5 -5
- package/dist/chunks/{ripgrep-zd6bhfye.js → generate-qqeeq2t9.js} +5 -5
- package/dist/chunks/{ripgrep-qsdy395h.js → generate-qsdy395h.js} +1 -1
- package/dist/chunks/{ripgrep-jdyje03d.js → generate-qvejx1kn.js} +2 -2
- package/dist/chunks/{ripgrep-2e5kebn3.js → generate-qy806v9e.js} +8 -8
- package/dist/chunks/{ripgrep-ap3d8azh.js → generate-qytgzfxz.js} +8 -8
- package/dist/chunks/{ripgrep-sr2r7h9e.js → generate-r24g8med.js} +30 -30
- package/dist/chunks/{ripgrep-wnc32zva.js → generate-r75q3gpe.js} +1 -1
- package/dist/chunks/{ripgrep-x7c7n8ct.js → generate-r88x53ge.js} +9 -9
- package/dist/chunks/{ripgrep-rdw6cm16.js → generate-rdw6cm16.js} +1 -1
- package/dist/chunks/{ripgrep-h4z1mxff.js → generate-reg6q42h.js} +5 -5
- package/dist/chunks/{ripgrep-q842h3bn.js → generate-rentz0qj.js} +41 -41
- package/dist/chunks/{ripgrep-s8d7rejh.js → generate-rhjbct0v.js} +4 -4
- package/dist/chunks/{ripgrep-xee3s8h4.js → generate-rnn46403.js} +8 -8
- package/dist/chunks/{ripgrep-vkpcntwz.js → generate-rp7q1zw1.js} +4 -4
- package/dist/chunks/{ripgrep-j15mfg1p.js → generate-rph3zd4r.js} +5 -5
- package/dist/chunks/{ripgrep-x3gcvk5s.js → generate-rx7m66c2.js} +23 -23
- package/dist/chunks/{ripgrep-82teqrmt.js → generate-rzm02ymc.js} +9 -9
- package/dist/chunks/{ripgrep-evwvzn8m.js → generate-s5aemwk0.js} +40 -40
- package/dist/chunks/{ripgrep-cweqvw0v.js → generate-s78g7wkk.js} +45 -45
- package/dist/chunks/{ripgrep-gc1be7ym.js → generate-s9nqcr01.js} +8 -8
- package/dist/chunks/{ripgrep-3rtxz4nr.js → generate-sp5zyyma.js} +8 -8
- package/dist/chunks/{ripgrep-5we73979.js → generate-sv2872v9.js} +7 -7
- package/dist/chunks/{ripgrep-gejt965h.js → generate-sxsh3am5.js} +28 -28
- package/dist/chunks/{ripgrep-f29mbr7f.js → generate-syf57q56.js} +4 -4
- package/dist/chunks/{ripgrep-cc4mce2f.js → generate-t1pd95j1.js} +11 -11
- package/dist/chunks/{ripgrep-5jzhktjr.js → generate-t6csv5s6.js} +12 -12
- package/dist/chunks/{ripgrep-sx1n432n.js → generate-t9zs3egg.js} +4 -4
- package/dist/chunks/{ripgrep-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
- package/dist/chunks/{ripgrep-1xnf7mgs.js → generate-td32dgmv.js} +26 -26
- package/dist/chunks/{ripgrep-jampngmm.js → generate-tdjs8jyr.js} +31 -31
- package/dist/chunks/{ripgrep-34b8rt98.js → generate-tdrse6tx.js} +7 -7
- package/dist/chunks/{ripgrep-tdstcens.js → generate-tdstcens.js} +1 -1
- package/dist/chunks/{ripgrep-8tsdq50x.js → generate-tfzngn12.js} +4 -4
- package/dist/chunks/{ripgrep-tz2bjj40.js → generate-tn0aqsam.js} +5 -5
- package/dist/chunks/{ripgrep-3jfzwhx3.js → generate-tn8xebgv.js} +27 -27
- package/dist/chunks/{ripgrep-as5rxwbe.js → generate-ttxxjw3g.js} +15 -15
- package/dist/chunks/{ripgrep-tvtrv512.js → generate-tvtrv512.js} +1 -1
- package/dist/chunks/{ripgrep-7fax3qrw.js → generate-tw2a575y.js} +311 -311
- package/dist/chunks/{ripgrep-r6tgknzn.js → generate-twzr1p2j.js} +11 -11
- package/dist/chunks/{ripgrep-veqvce7d.js → generate-veqvce7d.js} +1 -1
- package/dist/chunks/{ripgrep-x1wt5kst.js → generate-vq6291rg.js} +14 -14
- package/dist/chunks/{ripgrep-xp2hm3rn.js → generate-vr21nvq1.js} +3 -3
- package/dist/chunks/{ripgrep-dq0v80fr.js → generate-vy4zg7qh.js} +5 -5
- package/dist/chunks/{ripgrep-vzcthcp8.js → generate-vzcthcp8.js} +1 -1
- package/dist/chunks/{ripgrep-vzs5sf6e.js → generate-vzs5sf6e.js} +1 -1
- package/dist/chunks/{ripgrep-ss6jxd5h.js → generate-w398z9p4.js} +24 -24
- package/dist/chunks/{ripgrep-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-3rnyj502.js → generate-w6dttbvj.js} +6 -6
- package/dist/chunks/{ripgrep-hjya9502.js → generate-w7rfck3m.js} +18 -18
- package/dist/chunks/{ripgrep-s1rxbgtw.js → generate-wa6z1zpc.js} +3 -3
- package/dist/chunks/{ripgrep-bgc5ggmx.js → generate-wa9g86nq.js} +4 -4
- package/dist/chunks/{ripgrep-84ggppa8.js → generate-wcgwreqh.js} +35 -35
- package/dist/chunks/{ripgrep-psazpmmj.js → generate-wd3x2cqz.js} +2 -2
- package/dist/chunks/{ripgrep-wd87259q.js → generate-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-bgk9j2hb.js → generate-wq9jd0w3.js} +4 -4
- package/dist/chunks/{ripgrep-symcztc9.js → generate-wre1nsef.js} +20 -20
- package/dist/chunks/{ripgrep-x1ezjp6w.js → generate-x1ezjp6w.js} +1 -1
- package/dist/chunks/{ripgrep-0txwbxc4.js → generate-x3v8xk0a.js} +5 -5
- package/dist/chunks/{ripgrep-ded48gaz.js → generate-x4w2k346.js} +15 -15
- package/dist/chunks/{ripgrep-k49htjjy.js → generate-x8y3gv38.js} +11 -11
- package/dist/chunks/{ripgrep-gntj43c3.js → generate-xa838nr5.js} +46 -46
- package/dist/chunks/{ripgrep-c2fkg77t.js → generate-xd34mfmm.js} +11 -11
- package/dist/chunks/{ripgrep-q06jrgxq.js → generate-xfvyxkvp.js} +17 -17
- package/dist/chunks/{ripgrep-b50dwesx.js → generate-xge24dse.js} +16 -16
- package/dist/chunks/{ripgrep-dmqcgk4z.js → generate-xkntkrq7.js} +5 -5
- package/dist/chunks/{ripgrep-j6n240pe.js → generate-xpxvvxwe.js} +12 -12
- package/dist/chunks/{ripgrep-b3ssbg72.js → generate-xvp1j2dc.js} +6 -35
- package/dist/chunks/{ripgrep-rxshm0sb.js → generate-xztnf58b.js} +21 -21
- package/dist/chunks/{ripgrep-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
- package/dist/chunks/{ripgrep-6majk428.js → generate-y3cbw9ke.js} +9 -9
- package/dist/chunks/{ripgrep-y71avatq.js → generate-y71avatq.js} +1 -1
- package/dist/chunks/{ripgrep-bn1fqadf.js → generate-ya37k36g.js} +1 -1
- package/dist/chunks/{ripgrep-9rh4wyvr.js → generate-ybra3gbx.js} +71 -71
- package/dist/chunks/{ripgrep-yrhqyw5v.js → generate-yrhqyw5v.js} +1 -1
- package/dist/chunks/{ripgrep-yrznvahk.js → generate-yrznvahk.js} +2 -2
- package/dist/chunks/{ripgrep-bjtzbw4r.js → generate-z07pqspn.js} +3 -3
- package/dist/chunks/{ripgrep-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
- package/dist/chunks/{ripgrep-dda0p7y7.js → generate-z3nay82g.js} +9 -9
- package/dist/chunks/{ripgrep-1ee8exfz.js → generate-z3pwkdgp.js} +22 -22
- package/dist/chunks/{ripgrep-z63w68vq.js → generate-z63w68vq.js} +2 -2
- package/dist/chunks/{ripgrep-mejwe17d.js → generate-zbv76mee.js} +4 -4
- package/dist/chunks/{ripgrep-jjn8g76t.js → generate-zcrnxhy5.js} +41 -41
- package/dist/chunks/{ripgrep-zeh9ct20.js → generate-zeh9ct20.js} +2 -2
- package/dist/chunks/{ripgrep-mm9a79w2.js → generate-zprz1ztb.js} +5 -5
- package/dist/chunks/{ripgrep-d31757xt.js → generate-zqs4559c.js} +8 -8
- package/dist/chunks/{ripgrep-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
- package/dist/chunks/{ripgrep-rt3ycepw.js → generate-zrh9pnak.js} +8 -8
- package/dist/chunks/{ripgrep-zxq2ej10.js → generate-zxq2ej10.js} +1 -1
- 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 +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +124 -124
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +73 -73
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- 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 +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +106 -106
- package/dist/form.js +70 -70
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- 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 +99 -99
- 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/id/id.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 +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +76 -76
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +75 -75
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +92 -92
- package/dist/model.js +94 -94
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +105 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +220 -220
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +94 -94
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +161 -161
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +89 -89
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +89 -89
- 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 +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- 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 +93 -93
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- 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 +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/types/session/runner/retry.d.ts +2 -2
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/ripgrep-19ee3xcc.js +0 -252
- package/dist/chunks/ripgrep-hxa7m5za.js +0 -4
- package/dist/chunks/ripgrep-m7hzdmrm.js +0 -26
- package/dist/chunks/ripgrep-phz3h32g.js +0 -18
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{ripgrep-24dcb14g.js → generate-24dcb14g.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → generate-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-34c7v6d4.js → generate-34c7v6d4.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → generate-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → generate-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3w5fmr99.js → generate-3w5fmr99.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → generate-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → generate-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-5qd3pb7m.js → generate-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → generate-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → generate-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → generate-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → generate-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
- /package/dist/chunks/{ripgrep-922hggd3.js → generate-922hggd3.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → generate-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → generate-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → generate-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → generate-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → generate-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → generate-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → generate-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → generate-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → generate-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → generate-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-fxgpk5d8.js → generate-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → generate-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → generate-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hjbc5kem.js → generate-hjbc5kem.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → generate-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → generate-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → generate-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → generate-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-sk3qaz4a.js → generate-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → generate-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → generate-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → generate-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → generate-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8cydn3q.js → generate-y8cydn3q.js} +0 -0
- /package/dist/chunks/{ripgrep-y8f7s663.js → generate-y8f7s663.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-ym463w8f.js → generate-ym463w8f.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → generate-z9919s4g.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service62,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node65
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service62 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service62.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node65 = makeLocationNode({
|
|
137
|
+
service: Service62,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service62, node65, exports_tool_output2 };
|
|
@@ -2,24 +2,24 @@ import {
|
|
|
2
2
|
ID13,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./generate-8hw9841t.js";
|
|
6
6
|
import {
|
|
7
7
|
ID12,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
10
|
Info26
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./generate-t6csv5s6.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
derive: () =>
|
|
21
|
-
get: () =>
|
|
22
|
-
load: () =>
|
|
17
|
+
var exports_models2 = {};
|
|
18
|
+
__export(exports_models2, {
|
|
19
|
+
CopilotModels: () => exports_models2,
|
|
20
|
+
derive: () => derive3,
|
|
21
|
+
get: () => get3,
|
|
22
|
+
load: () => load3
|
|
23
23
|
});
|
|
24
24
|
import { Money } from "@opencode/schema/money";
|
|
25
25
|
import { Option, Schema } from "effect";
|
|
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
|
|
|
68
68
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
69
69
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
70
70
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
71
|
-
async function
|
|
72
|
-
return
|
|
71
|
+
async function get3(baseURL, headers, existing) {
|
|
72
|
+
return derive3(baseURL, await load3(baseURL, headers), existing);
|
|
73
73
|
}
|
|
74
|
-
async function
|
|
74
|
+
async function load3(baseURL, headers) {
|
|
75
75
|
const response = await fetch(`${baseURL}/models`, {
|
|
76
76
|
headers,
|
|
77
77
|
signal: AbortSignal.timeout(5000)
|
|
@@ -83,7 +83,7 @@ async function load2(baseURL, headers) {
|
|
|
83
83
|
return model && usable(model) ? [[model.id, model]] : [];
|
|
84
84
|
}));
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function derive3(baseURL, remote, existing) {
|
|
87
87
|
const result = new Map(existing.map((model) => [model.id, model]));
|
|
88
88
|
for (const [id, model] of result) {
|
|
89
89
|
const current = remote.get(model.modelID);
|
|
@@ -197,4 +197,4 @@ function variants(remote, messages) {
|
|
|
197
197
|
];
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
export {
|
|
200
|
+
export { get3, load3, derive3, exports_models2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-7w99qc9d.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info20,
|
|
6
|
+
ID6,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-z3pwkdgp.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service40
|
|
11
|
+
} from "./generate-d9ncfxft.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill2 = {};
|
|
18
|
+
__export(exports_skill2, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin34,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill2
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin34 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
434
|
-
id:
|
|
433
|
+
editor.add(Info20.make({
|
|
434
|
+
id: ID6.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
441
|
-
id:
|
|
440
|
+
editor.add(Info20.make({
|
|
441
|
+
id: ID6.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service40;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin34, exports_skill2 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-84f8pt8n.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./generate-2402vzrj.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-922hggd3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service60,
|
|
17
|
+
node63
|
|
18
|
+
} from "./generate-xfvyxkvp.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./generate-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./generate-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event5,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info5,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service32,
|
|
35
35
|
Source: () => Source3,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node35
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event5 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source3 = Reference.Source;
|
|
46
|
-
var
|
|
46
|
+
var Info5 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service32 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service83;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service60;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info5.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info5.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service32.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node35 = makeLocationNode({
|
|
116
|
+
service: Service32,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node, node87,
|
|
118
|
+
deps: [Global.node, node87, node63]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source3,
|
|
121
|
+
export { LocalSource2, GitSource2, Source3, Info5, Service32, node35, exports_reference2, Event5 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service70,
|
|
3
|
+
node73,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./generate-r88x53ge.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service48,
|
|
8
|
+
node51
|
|
9
|
+
} from "./generate-jkp0d30b.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service64
|
|
12
|
+
} from "./generate-2twqppr1.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-4z3x0xya.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service70, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service64);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node51.replace(Layer.succeed(Service48, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node73.replace(Layer.succeed(Service70, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -2,37 +2,37 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./generate-84f8pt8n.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service3,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer5,
|
|
17
|
+
node: () => node4
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service3 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var layer5 = Layer.effect(Service3, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service83;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service3.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node4 = makeGlobalNode({ service: Service3, layer: layer5, deps: [node87] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service3, layer5, node4, exports_sdk };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service59,
|
|
6
|
+
node62
|
|
7
|
+
} from "./generate-k49da67q.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service17,
|
|
17
|
+
node: () => node19,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service17 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service59;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service17.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node19 = makeLocationNode({ service: Service17, layer, deps: [node62] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service17, readText2, syncTextBom2, node19, exports_file_mutation };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info10,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info10 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info10, exports_mcp5 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-84f8pt8n.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-a913ty5s.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./generate-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service66,
|
|
14
|
+
node69
|
|
15
|
+
} from "./generate-ahs2gfn5.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./generate-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
@@ -37,7 +37,7 @@ class Service11 extends Context.Service()("@opencode/SessionInstructions") {
|
|
|
37
37
|
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service83;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
40
|
+
const store = yield* Service66;
|
|
41
41
|
const location = yield* Service80;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
@@ -98,7 +98,7 @@ function describePath(root, path) {
|
|
|
98
98
|
var node13 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [node87, FSUtil.node, node84,
|
|
101
|
+
deps: [node87, FSUtil.node, node84, node69]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
104
|
export { Service11, node13, exports_instructions };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service40
|
|
3
|
+
} from "./generate-d9ncfxft.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service30
|
|
6
|
+
} from "./generate-50ydhzxp.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp = {};
|
|
13
13
|
__export(exports_mcp, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin9,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin9 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service40;
|
|
28
|
+
const mcp = yield* Service30;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin9, register2, exports_mcp };
|