@opencode/core 0.0.0-dev-20088 → 0.0.0-dev-20091
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +5 -5
- package/dist/bus.js +69 -69
- package/dist/chunks/{wellknown-xtv80xxm.js → rpc-0ak84vrq.js} +5 -5
- package/dist/chunks/{wellknown-nf2bhtke.js → rpc-0f99d1kc.js} +2 -2
- package/dist/chunks/{wellknown-kysfx830.js → rpc-0jd7kznf.js} +20 -20
- package/dist/chunks/{wellknown-0paq2nw3.js → rpc-0paq2nw3.js} +1 -1
- package/dist/chunks/{wellknown-cdx1pajz.js → rpc-0qpy9kbv.js} +38 -38
- package/dist/chunks/{wellknown-5a6s7q48.js → rpc-0yh7gvmr.js} +4 -4
- package/dist/chunks/{wellknown-391dmqr2.js → rpc-1187sa4n.js} +18 -18
- package/dist/chunks/{wellknown-tzbpqgcm.js → rpc-140nrjv3.js} +11 -11
- package/dist/chunks/{wellknown-f2n192rq.js → rpc-1acjjqhc.js} +4 -4
- package/dist/chunks/{wellknown-1dazxqgg.js → rpc-1dazxqgg.js} +2 -2
- package/dist/chunks/{wellknown-9s848a1g.js → rpc-1g1f653b.js} +6 -6
- package/dist/chunks/{wellknown-56gdpj1q.js → rpc-1ygqh575.js} +9 -9
- package/dist/chunks/{wellknown-21r38tys.js → rpc-21r38tys.js} +1 -1
- package/dist/chunks/{wellknown-ngkes2xe.js → rpc-22605frz.js} +17 -17
- package/dist/chunks/{wellknown-8tsdq50x.js → rpc-277eer69.js} +4 -4
- package/dist/chunks/{wellknown-2a5m3afh.js → rpc-2a5m3afh.js} +1 -1
- package/dist/chunks/{wellknown-kpscmddh.js → rpc-2d9myqrc.js} +47 -47
- package/dist/chunks/{wellknown-v2vtvyk0.js → rpc-2zb9s7ys.js} +9 -9
- package/dist/chunks/{wellknown-qjxevsft.js → rpc-32h4nn8p.js} +1 -1
- package/dist/chunks/{wellknown-7d7d17vd.js → rpc-365yjnh1.js} +4 -4
- package/dist/chunks/{wellknown-ycxznwxp.js → rpc-3a0ryv44.js} +15 -15
- package/dist/chunks/{wellknown-3fc6dm20.js → rpc-3fc6dm20.js} +1 -1
- package/dist/chunks/{wellknown-shnd1k2w.js → rpc-3fj101ct.js} +5 -5
- package/dist/chunks/{wellknown-dtscaaz7.js → rpc-3h7rs62d.js} +3 -3
- package/dist/chunks/{wellknown-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
- package/dist/chunks/{wellknown-02ay6hqg.js → rpc-3n43km23.js} +5 -5
- package/dist/chunks/{wellknown-kwzmgxvf.js → rpc-3p14h8vg.js} +6 -6
- package/dist/chunks/{wellknown-d7xn25tt.js → rpc-3rcen5fp.js} +17 -17
- package/dist/chunks/{wellknown-2hr5nhwa.js → rpc-3rtxz4nr.js} +8 -8
- package/dist/chunks/{wellknown-3smtnn6g.js → rpc-3smtnn6g.js} +1 -1
- package/dist/chunks/{wellknown-3tvqynh2.js → rpc-3tvqynh2.js} +1 -1
- package/dist/chunks/{wellknown-vp2dr8ef.js → rpc-3tyeh7t8.js} +11 -11
- package/dist/chunks/{wellknown-3zsf4n22.js → rpc-3zsf4n22.js} +1 -1
- package/dist/chunks/{wellknown-a2rpfkac.js → rpc-44ak30pa.js} +4 -4
- package/dist/chunks/{wellknown-jxdqd6y8.js → rpc-45pqjn0p.js} +11 -11
- package/dist/chunks/{wellknown-csvdae6h.js → rpc-48vq6k8e.js} +22 -22
- package/dist/chunks/{wellknown-754kaqqn.js → rpc-49waw88t.js} +18 -18
- package/dist/chunks/{wellknown-8ya03gbb.js → rpc-4fkfxdcb.js} +30 -30
- package/dist/chunks/{wellknown-0sw8n72f.js → rpc-4yb3jyry.js} +19 -19
- package/dist/chunks/{wellknown-g8jasmdt.js → rpc-51cfftr3.js} +8 -8
- package/dist/chunks/{wellknown-ckecvw8r.js → rpc-54tcyq79.js} +2 -2
- package/dist/chunks/{wellknown-f20kv4h9.js → rpc-54vja5z3.js} +12 -12
- package/dist/chunks/{wellknown-h8f4eya8.js → rpc-5cbbqwkm.js} +21 -21
- package/dist/chunks/{wellknown-qj9gqmga.js → rpc-5d0ac39p.js} +19 -19
- package/dist/chunks/{wellknown-5daktx2q.js → rpc-5daktx2q.js} +1 -1
- package/dist/chunks/{wellknown-5ekn9679.js → rpc-5ekn9679.js} +1 -1
- package/dist/chunks/{wellknown-hkagk5ex.js → rpc-5frpvc34.js} +2 -2
- package/dist/chunks/{wellknown-1w01qkgz.js → rpc-5h0sskvy.js} +10 -10
- package/dist/chunks/{wellknown-em3h5ktn.js → rpc-5kvqrqtt.js} +4 -4
- package/dist/chunks/{wellknown-cpj0znwe.js → rpc-5mtzsd3b.js} +4 -4
- package/dist/chunks/{wellknown-afed7ext.js → rpc-5npp0aqe.js} +5 -5
- package/dist/chunks/{wellknown-6txqsvff.js → rpc-5pyghbdh.js} +29 -29
- package/dist/chunks/{wellknown-ve4pfa0n.js → rpc-5q02cxx3.js} +4 -4
- package/dist/chunks/{wellknown-5t3nmthw.js → rpc-5t3nmthw.js} +2 -2
- package/dist/chunks/{wellknown-fgdmd333.js → rpc-5tdvja1p.js} +15 -15
- package/dist/chunks/{wellknown-p42hj8p8.js → rpc-5yzzbxa7.js} +8 -8
- package/dist/chunks/{wellknown-qgn6gcr1.js → rpc-607tc6va.js} +5 -5
- package/dist/chunks/{wellknown-669tq793.js → rpc-669tq793.js} +1 -1
- package/dist/chunks/{wellknown-n5g8qfkh.js → rpc-66fn4sgh.js} +32 -32
- package/dist/chunks/{wellknown-kk5y5e31.js → rpc-670v93wv.js} +10 -10
- package/dist/chunks/{wellknown-d5nw2z1z.js → rpc-6gcmqch7.js} +13 -13
- package/dist/chunks/{wellknown-6h73sxmp.js → rpc-6h73sxmp.js} +1 -1
- package/dist/chunks/{wellknown-6msgmcgs.js → rpc-6msgmcgs.js} +1 -1
- package/dist/chunks/{wellknown-znwq617a.js → rpc-6r5j6srn.js} +6 -6
- package/dist/chunks/{wellknown-sp9dn3zb.js → rpc-6vddn0mw.js} +11 -11
- package/dist/chunks/{wellknown-6ysrkrkr.js → rpc-6ysrkrkr.js} +1 -1
- package/dist/chunks/{wellknown-mvfsc1pv.js → rpc-73tb2d7t.js} +3 -3
- package/dist/chunks/{wellknown-gp1cjb3w.js → rpc-7a0h28kt.js} +17 -17
- package/dist/chunks/{wellknown-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
- package/dist/chunks/{wellknown-jwhvtnff.js → rpc-7dps8r9t.js} +1 -1
- package/dist/chunks/{wellknown-je7wb95j.js → rpc-7tbbnpg4.js} +4 -4
- package/dist/chunks/{wellknown-8hjzc8er.js → rpc-7wmac47h.js} +24 -24
- package/dist/chunks/{wellknown-rnkz2ts9.js → rpc-855brr7v.js} +25 -25
- package/dist/chunks/{wellknown-tcezcvh9.js → rpc-89znhe33.js} +4 -4
- package/dist/chunks/{wellknown-8d7r5vzw.js → rpc-8d7r5vzw.js} +1 -1
- package/dist/chunks/{wellknown-sykc9y4a.js → rpc-8dff8bqa.js} +5 -5
- package/dist/chunks/{wellknown-aapew5zc.js → rpc-8fyhndsy.js} +18 -18
- package/dist/chunks/rpc-8h0es0v7.js +26 -0
- package/dist/chunks/{wellknown-hm7fj9g2.js → rpc-8hmg3j7t.js} +30 -30
- package/dist/chunks/{wellknown-ndmv45hp.js → rpc-8q7cq0y1.js} +3 -3
- package/dist/chunks/{wellknown-t9q6q9b2.js → rpc-8rtprbzr.js} +42 -42
- package/dist/chunks/{wellknown-t73e6et9.js → rpc-8rxxwv2n.js} +11 -11
- package/dist/chunks/{wellknown-c935hdwy.js → rpc-8ss5wpaf.js} +24 -24
- package/dist/chunks/{wellknown-zdmbvcj1.js → rpc-8wad1t3a.js} +14 -14
- package/dist/chunks/{wellknown-t9sbjs2e.js → rpc-92safqaw.js} +30 -30
- package/dist/chunks/{wellknown-4w5f3qm5.js → rpc-92swnv4m.js} +8 -8
- package/dist/chunks/{wellknown-zej982vg.js → rpc-97qf1wn9.js} +9 -9
- package/dist/chunks/{wellknown-16qm5t5a.js → rpc-9a3peswj.js} +7 -7
- package/dist/chunks/{wellknown-awrhstbg.js → rpc-9eadg5yg.js} +4 -4
- package/dist/chunks/{wellknown-m2d0j7c0.js → rpc-9wpgsbre.js} +9 -9
- package/dist/chunks/{wellknown-86enc17z.js → rpc-a39fgh0c.js} +18 -18
- package/dist/chunks/{wellknown-h3tjb8kw.js → rpc-a3eqt4pv.js} +8 -8
- package/dist/chunks/{wellknown-vrzwcp5a.js → rpc-a9rrkws0.js} +3 -3
- package/dist/chunks/{wellknown-aaet6srn.js → rpc-aaet6srn.js} +2 -2
- package/dist/chunks/{wellknown-6fkvgzc7.js → rpc-abmt9xsc.js} +32 -32
- package/dist/chunks/{wellknown-0cmnazqm.js → rpc-ac7bw970.js} +4 -4
- package/dist/chunks/{wellknown-ajwjy3vs.js → rpc-afseksn3.js} +18 -18
- package/dist/chunks/{wellknown-kp7kck1f.js → rpc-ampcc59a.js} +32 -32
- package/dist/chunks/{wellknown-zb6er0nt.js → rpc-anpt4zzg.js} +54 -54
- package/dist/chunks/{wellknown-4j14e5ea.js → rpc-ap15he75.js} +10 -10
- package/dist/chunks/{wellknown-81c3ttat.js → rpc-ar5526at.js} +43 -43
- package/dist/chunks/{wellknown-wq4mmp7m.js → rpc-b2a4mx33.js} +4 -4
- package/dist/chunks/{wellknown-b6gygkdw.js → rpc-b6gygkdw.js} +2 -2
- package/dist/chunks/{wellknown-y285t7cb.js → rpc-b8k7m099.js} +37 -37
- package/dist/chunks/{wellknown-tz4n1mmd.js → rpc-baaqp4zd.js} +4 -4
- package/dist/chunks/{wellknown-z07pqspn.js → rpc-bjtzbw4r.js} +3 -3
- package/dist/chunks/{wellknown-bphmbv2n.js → rpc-bzn0n02h.js} +5 -5
- package/dist/chunks/{wellknown-dqg5586z.js → rpc-c0gceaw5.js} +20 -20
- package/dist/chunks/{wellknown-hsm12kgw.js → rpc-c1np9tvh.js} +12 -12
- package/dist/chunks/{wellknown-rkqmn6vx.js → rpc-c27pyt7g.js} +20 -20
- package/dist/chunks/{wellknown-ekbzd23w.js → rpc-cbegqk0n.js} +15 -15
- package/dist/chunks/{wellknown-rph3zd4r.js → rpc-cqg8v4c7.js} +6 -6
- package/dist/chunks/{wellknown-627mbqxc.js → rpc-ctfk3r7m.js} +14 -14
- package/dist/chunks/{wellknown-8jbk1876.js → rpc-cv1dxnrk.js} +16 -16
- package/dist/chunks/{wellknown-cwa6csj7.js → rpc-cwa6csj7.js} +2 -2
- package/dist/chunks/{wellknown-81swgkk7.js → rpc-d9s573fh.js} +7 -7
- package/dist/chunks/{wellknown-9psb6rs6.js → rpc-daehv13z.js} +15 -15
- package/dist/chunks/{wellknown-q5s1j7v7.js → rpc-daf1799e.js} +8 -8
- package/dist/chunks/{wellknown-mykefr3t.js → rpc-db69fgnc.js} +13 -13
- package/dist/chunks/{wellknown-hrepkr0b.js → rpc-dfe4ny7b.js} +10 -10
- package/dist/chunks/{wellknown-kpcbfkys.js → rpc-dhd4sqjj.js} +8 -8
- package/dist/chunks/{wellknown-0kbvaqxg.js → rpc-dhy82dgw.js} +10 -10
- package/dist/chunks/{wellknown-g57wvbe7.js → rpc-djfjcras.js} +11 -11
- package/dist/chunks/{wellknown-vtxr0yy2.js → rpc-dmqcgk4z.js} +6 -6
- package/dist/chunks/{wellknown-y71avatq.js → rpc-dpkg50ah.js} +4 -4
- package/dist/chunks/{wellknown-qfynbmn6.js → rpc-dq1j01v1.js} +9 -9
- package/dist/chunks/{wellknown-qqeeq2t9.js → rpc-drwq78ky.js} +7 -7
- package/dist/chunks/{wellknown-85h5126a.js → rpc-dxrcwhf4.js} +3 -3
- package/dist/chunks/{wellknown-jpazqe9z.js → rpc-dz3ef1v7.js} +24 -24
- package/dist/chunks/{wellknown-pwnwhfpz.js → rpc-e1mcxat9.js} +17 -17
- package/dist/chunks/{wellknown-sh0rhkk8.js → rpc-e77v5w2a.js} +3 -3
- package/dist/chunks/{wellknown-ef5x83kb.js → rpc-ef5x83kb.js} +1 -1
- package/dist/chunks/{wellknown-jemfgm91.js → rpc-egrr39fs.js} +6 -6
- package/dist/chunks/{wellknown-wwksdzh2.js → rpc-em7mzjn4.js} +6 -6
- package/dist/chunks/{wellknown-hkxzh5mk.js → rpc-epag9pnc.js} +36 -36
- package/dist/chunks/{wellknown-erw5rpbs.js → rpc-erw5rpbs.js} +2 -2
- package/dist/chunks/{wellknown-adwdgm2s.js → rpc-esgwbj3g.js} +11 -11
- package/dist/chunks/{wellknown-etq0c3wd.js → rpc-etq0c3wd.js} +1 -1
- package/dist/chunks/{wellknown-c78bbtc9.js → rpc-ez47arx5.js} +5 -5
- package/dist/chunks/{wellknown-mwjcgr28.js → rpc-f5440hnn.js} +22 -22
- package/dist/chunks/{wellknown-axs6pdy0.js → rpc-f62qkzqr.js} +5 -5
- package/dist/chunks/{wellknown-wxe1qfek.js → rpc-fcehmy4h.js} +6 -6
- package/dist/chunks/{wellknown-8djatqda.js → rpc-fd991arp.js} +23 -23
- package/dist/chunks/{wellknown-kjg57q5q.js → rpc-fdz38t3m.js} +32 -32
- package/dist/chunks/{wellknown-wtp3j6ww.js → rpc-fg14c903.js} +6 -6
- package/dist/chunks/{wellknown-gmyzj2jd.js → rpc-fk21bvkt.js} +83 -83
- package/dist/chunks/{wellknown-tm13csnt.js → rpc-fscv18x6.js} +48 -48
- package/dist/chunks/{wellknown-dy5jbeh5.js → rpc-fwx7zfd0.js} +7 -7
- package/dist/chunks/{wellknown-hmzmjmkz.js → rpc-fz9n0x27.js} +37 -37
- package/dist/chunks/{wellknown-gd4qta3r.js → rpc-gd4qta3r.js} +1 -1
- package/dist/chunks/{wellknown-94ek1h2f.js → rpc-gfvb90ym.js} +2 -2
- package/dist/chunks/{wellknown-wezhver3.js → rpc-gxc4dss7.js} +28 -28
- package/dist/chunks/{wellknown-dqde9yfd.js → rpc-h21e9eav.js} +9 -9
- package/dist/chunks/{wellknown-1yxn9t92.js → rpc-h5cr8bz1.js} +8 -8
- package/dist/chunks/{wellknown-h6vf3j39.js → rpc-h6vf3j39.js} +1 -1
- package/dist/chunks/{wellknown-c9d081nh.js → rpc-h7hht36j.js} +10 -10
- package/dist/chunks/{wellknown-y82z2pvx.js → rpc-hb491ctm.js} +46 -46
- package/dist/chunks/{wellknown-tk8n40ec.js → rpc-hcj02zej.js} +57 -57
- package/dist/chunks/{wellknown-bn0s77k4.js → rpc-hf4kecbx.js} +20 -20
- package/dist/chunks/rpc-hr9dp009.js +4 -0
- package/dist/chunks/{wellknown-5pk6mrn1.js → rpc-ht092jq8.js} +27 -27
- package/dist/chunks/{wellknown-k6nqjfhj.js → rpc-j0dtfmad.js} +11 -11
- package/dist/chunks/{wellknown-j56e64zr.js → rpc-j56e64zr.js} +1 -1
- package/dist/chunks/{wellknown-5774vrx5.js → rpc-jh1ctwrr.js} +19 -19
- package/dist/chunks/{wellknown-ag580yac.js → rpc-jjzf804t.js} +4 -4
- package/dist/chunks/{wellknown-678e88h8.js → rpc-jqtg2a1d.js} +4 -4
- package/dist/chunks/{wellknown-k21vf7jx.js → rpc-jvg2fp71.js} +24 -24
- package/dist/chunks/{wellknown-xx9hpt89.js → rpc-k2q04tbx.js} +32 -32
- package/dist/chunks/{wellknown-nzks3jc8.js → rpc-k3c624dm.js} +3 -3
- package/dist/chunks/{wellknown-35gpf1q0.js → rpc-k4bdqcm1.js} +15 -15
- package/dist/chunks/{wellknown-h9h0mx4r.js → rpc-khtspwyv.js} +14 -14
- package/dist/chunks/{wellknown-0n3stnym.js → rpc-km2mv6w2.js} +7 -7
- package/dist/chunks/{wellknown-zk4ds5mz.js → rpc-kt3xrw1h.js} +6 -6
- package/dist/chunks/{wellknown-xw879xmy.js → rpc-kvak95fc.js} +20 -20
- package/dist/chunks/{wellknown-7x92602t.js → rpc-m0yf1xgy.js} +26 -26
- package/dist/chunks/{wellknown-tcae2ee6.js → rpc-m2zwv4x1.js} +23 -23
- package/dist/chunks/{wellknown-m3fdjcah.js → rpc-m3fdjcah.js} +1 -1
- package/dist/chunks/{wellknown-b2emagap.js → rpc-m4zcmsxf.js} +9 -9
- package/dist/chunks/{wellknown-bh9zpxkf.js → rpc-m6e83zq9.js} +312 -312
- package/dist/chunks/{wellknown-6d6wpktw.js → rpc-m71bz8xd.js} +10 -10
- package/dist/chunks/{wellknown-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
- package/dist/chunks/{wellknown-2kkyas57.js → rpc-mj63816a.js} +18 -18
- package/dist/chunks/{wellknown-cavr175a.js → rpc-mjymc32g.js} +4 -4
- package/dist/chunks/{wellknown-1nzh38e4.js → rpc-mphgtbj1.js} +9 -9
- package/dist/chunks/{wellknown-ec6my3m6.js → rpc-mtfg2rzp.js} +22 -22
- package/dist/chunks/{wellknown-0ztq6350.js → rpc-n7rry9e7.js} +6 -6
- package/dist/chunks/{wellknown-stqdgpbp.js → rpc-n8syj9f0.js} +20 -20
- package/dist/chunks/{wellknown-f931w4ch.js → rpc-nn0j7dhb.js} +15 -15
- package/dist/chunks/{wellknown-qn6refn7.js → rpc-nnb3zbyy.js} +20 -20
- package/dist/chunks/{wellknown-fjt4ex07.js → rpc-nwvqacg0.js} +17 -17
- package/dist/chunks/{wellknown-k13t3p08.js → rpc-p0jg9bfb.js} +8 -8
- package/dist/chunks/{wellknown-nygkak42.js → rpc-p5b6a9hg.js} +13 -13
- package/dist/chunks/{wellknown-zpzh683m.js → rpc-p5fj36b1.js} +13 -13
- package/dist/chunks/{wellknown-f4xvve52.js → rpc-p9303mn1.js} +24 -24
- package/dist/chunks/{wellknown-pjvnvgmy.js → rpc-pjvnvgmy.js} +1 -1
- package/dist/chunks/{wellknown-pknna89w.js → rpc-pknna89w.js} +1 -1
- package/dist/chunks/{wellknown-ky3r4m1q.js → rpc-prejmsyd.js} +34 -34
- package/dist/chunks/{wellknown-wd3x2cqz.js → rpc-psazpmmj.js} +2 -2
- package/dist/chunks/{wellknown-xqn9gnks.js → rpc-pvnvy7e3.js} +1 -1
- package/dist/chunks/{wellknown-rjyppv6f.js → rpc-q063x1m1.js} +3 -3
- package/dist/chunks/{wellknown-fxd4qk6y.js → rpc-q14yt9m2.js} +5 -5
- package/dist/chunks/{wellknown-yazmrbe0.js → rpc-q80jy5e4.js} +12 -12
- package/dist/chunks/{wellknown-dsxxwtp7.js → rpc-q9b6yydg.js} +22 -22
- package/dist/chunks/{wellknown-q272xss5.js → rpc-qhpxg0gg.js} +173 -173
- package/dist/chunks/{wellknown-qsdy395h.js → rpc-qsdy395h.js} +1 -1
- package/dist/chunks/{wellknown-a1gyj93n.js → rpc-qt0s1ys5.js} +6 -6
- package/dist/chunks/{wellknown-6q0e5evp.js → rpc-r33vza2m.js} +5 -5
- package/dist/chunks/{wellknown-417f0ndq.js → rpc-r6kyhk88.js} +17 -17
- package/dist/chunks/{wellknown-3bx4j3sb.js → rpc-r77c5ftj.js} +26 -26
- package/dist/chunks/{wellknown-b0dgvpy7.js → rpc-r9w3djhf.js} +9 -9
- package/dist/chunks/{wellknown-a13sefkk.js → rpc-raz4feyj.js} +30 -30
- package/dist/chunks/{wellknown-rdw6cm16.js → rpc-rdw6cm16.js} +1 -1
- package/dist/chunks/{wellknown-tf8gy6s3.js → rpc-rdx3ran4.js} +15 -15
- package/dist/chunks/{wellknown-y4m0v0jh.js → rpc-rhnbcme6.js} +18 -18
- package/dist/chunks/{wellknown-6er8x6d0.js → rpc-rk5cbm42.js} +5 -5
- package/dist/chunks/{wellknown-7fkffz83.js → rpc-rkprpv83.js} +4 -4
- package/dist/chunks/{wellknown-zeh9ct20.js → rpc-rq775frq.js} +2 -2
- package/dist/chunks/{wellknown-dek7wc1c.js → rpc-rvnvjbyr.js} +10 -10
- package/dist/chunks/{wellknown-q6acr7kh.js → rpc-s680c22m.js} +13 -13
- package/dist/chunks/{wellknown-7q1ypnqr.js → rpc-shhtp6sb.js} +17 -17
- package/dist/chunks/{wellknown-99yqgcre.js → rpc-shjbm5s5.js} +11 -11
- package/dist/chunks/{wellknown-hkvqk6yv.js → rpc-shqkqfxq.js} +20 -20
- package/dist/chunks/{wellknown-xz3z2ytp.js → rpc-skeqeh4r.js} +33 -33
- package/dist/chunks/{wellknown-kpd5tq3d.js → rpc-srmqrt03.js} +23 -23
- package/dist/chunks/{wellknown-m1met2j0.js → rpc-t0qwt8g4.js} +5 -5
- package/dist/chunks/{wellknown-hzmnsnsk.js → rpc-t2120bsy.js} +18 -18
- package/dist/chunks/{wellknown-hktrdnnd.js → rpc-t2z6k8ec.js} +92 -92
- package/dist/chunks/{wellknown-yjptyezs.js → rpc-t3swkhbg.js} +5 -5
- package/dist/chunks/{wellknown-eaj1djv9.js → rpc-t550f9t1.js} +8 -8
- package/dist/chunks/{wellknown-34rkz0x9.js → rpc-t6vsspdg.js} +4 -4
- package/dist/chunks/{wellknown-tazgh4e4.js → rpc-tazgh4e4.js} +1 -1
- package/dist/chunks/{wellknown-pecb0brz.js → rpc-tb89zjsd.js} +5 -5
- package/dist/chunks/{wellknown-tdstcens.js → rpc-tdstcens.js} +1 -1
- package/dist/chunks/rpc-tras7yme.js +252 -0
- package/dist/chunks/{wellknown-tvtrv512.js → rpc-tvtrv512.js} +1 -1
- package/dist/chunks/{wellknown-jmfhbzhy.js → rpc-v34za21y.js} +40 -40
- package/dist/chunks/{wellknown-m4arwand.js → rpc-v6wj3j48.js} +21 -21
- package/dist/chunks/{wellknown-ezzbe5rx.js → rpc-v7417wvt.js} +30 -30
- package/dist/chunks/{wellknown-s67bm65s.js → rpc-v9n78xjr.js} +43 -43
- package/dist/chunks/{wellknown-yfe0myzd.js → rpc-vbd8trgq.js} +11 -11
- package/dist/chunks/{wellknown-veqvce7d.js → rpc-veqvce7d.js} +1 -1
- package/dist/chunks/{wellknown-71abkhq3.js → rpc-vg2e8j6d.js} +14 -14
- package/dist/chunks/rpc-vnkjks7b.js +18 -0
- package/dist/chunks/{wellknown-sng0mpqx.js → rpc-vv3pxcp1.js} +24 -24
- package/dist/chunks/{wellknown-dppzafmr.js → rpc-vvchgjpn.js} +37 -37
- package/dist/chunks/{wellknown-c0k7dzdy.js → rpc-vvwdyrxn.js} +66 -66
- package/dist/chunks/{wellknown-zbzar1k2.js → rpc-vybe5h7b.js} +13 -13
- package/dist/chunks/{wellknown-vzcthcp8.js → rpc-vzcthcp8.js} +1 -1
- package/dist/chunks/{wellknown-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
- package/dist/chunks/{wellknown-bqtyhf1w.js → rpc-w94fp5je.js} +26 -26
- package/dist/chunks/{wellknown-v2ceagrf.js → rpc-wamymaxn.js} +13 -13
- package/dist/chunks/{wellknown-xvhqwa82.js → rpc-wcdy3eek.js} +31 -31
- package/dist/chunks/{wellknown-wd87259q.js → rpc-wd87259q.js} +1 -1
- package/dist/chunks/{wellknown-e1gwt1x8.js → rpc-wnyecskh.js} +13 -13
- package/dist/chunks/{wellknown-wdwph0vc.js → rpc-wpm2rk0p.js} +8 -8
- package/dist/chunks/{wellknown-hk66nqvm.js → rpc-wvyrsy9x.js} +8 -8
- package/dist/chunks/{wellknown-em5kycxp.js → rpc-wwsc9jn3.js} +26 -26
- package/dist/chunks/{wellknown-ndqtf2h8.js → rpc-wzz0kxab.js} +9 -9
- package/dist/chunks/{wellknown-x1ezjp6w.js → rpc-x1ezjp6w.js} +1 -1
- package/dist/chunks/{wellknown-nvkqntqe.js → rpc-xc69qdhb.js} +6 -6
- package/dist/chunks/{wellknown-jhf3jymm.js → rpc-xcd0eash.js} +6 -6
- package/dist/chunks/{wellknown-ex8f569q.js → rpc-xee4y2w1.js} +26 -26
- package/dist/chunks/{wellknown-s333fh32.js → rpc-xpy2chad.js} +26 -26
- package/dist/chunks/{wellknown-xmrqcsy3.js → rpc-xs2r0fkq.js} +23 -23
- package/dist/chunks/{wellknown-ks5rdx6p.js → rpc-xvrfjdkf.js} +27 -27
- package/dist/chunks/{wellknown-f3ydt0tv.js → rpc-xzzcxeez.js} +30 -30
- package/dist/chunks/{wellknown-y1fvbwt7.js → rpc-y1fvbwt7.js} +1 -1
- package/dist/chunks/{wellknown-jwkjpyjz.js → rpc-ydztx126.js} +26 -26
- package/dist/chunks/{wellknown-yrhqyw5v.js → rpc-yrhqyw5v.js} +1 -1
- package/dist/chunks/{wellknown-yrznvahk.js → rpc-yrznvahk.js} +2 -2
- package/dist/chunks/{wellknown-gv6a8nnw.js → rpc-yyb7tjpc.js} +2 -2
- package/dist/chunks/{wellknown-z0bkrqjs.js → rpc-z0bkrqjs.js} +1 -1
- package/dist/chunks/{wellknown-jyr2yk35.js → rpc-z2he3694.js} +25 -25
- package/dist/chunks/{wellknown-v4agpjxc.js → rpc-z4am7v83.js} +33 -33
- package/dist/chunks/{wellknown-wvncmcwq.js → rpc-z513xpqp.js} +47 -47
- package/dist/chunks/{wellknown-z63w68vq.js → rpc-z63w68vq.js} +2 -2
- package/dist/chunks/{wellknown-2r7n83y8.js → rpc-z6ds88kc.js} +15 -15
- package/dist/chunks/{wellknown-dwq6ryhm.js → rpc-ze5v0a14.js} +5 -5
- package/dist/chunks/{wellknown-y0ff3w8f.js → rpc-zefabhx4.js} +6 -6
- package/dist/chunks/{wellknown-07qks21j.js → rpc-zeg2a3nt.js} +16 -16
- package/dist/chunks/{wellknown-zr2ceqn5.js → rpc-zr2ceqn5.js} +1 -1
- package/dist/chunks/{wellknown-am860khz.js → rpc-zvxnxwje.js} +10 -10
- package/dist/chunks/{wellknown-eg1dr1mk.js → rpc-zwvyhhtf.js} +25 -25
- package/dist/chunks/{wellknown-zxq2ej10.js → rpc-zxq2ej10.js} +1 -1
- package/dist/chunks/{wellknown-pd22eygj.js → rpc-zznvadtc.js} +10 -10
- 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 +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- 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 +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- 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 +123 -123
- 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 +122 -122
- 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 +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- 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.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 +3 -3
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +225 -225
- 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 +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- 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 +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- 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-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +1 -1
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +78 -78
- 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 +98 -98
- package/dist/model.js +98 -98
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- 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 +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- 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 +2 -2
- 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 +93 -93
- 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 +92 -92
- 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 +160 -160
- 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/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- 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 +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +229 -229
- 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/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +130 -130
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -222
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- 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 +97 -97
- 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 +3 -3
- 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 +114 -114
- 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 +5 -5
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +9 -9
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +104 -104
- package/dist/snapshot.js +93 -93
- 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 +124 -124
- 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 +105 -105
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- 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 +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- 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 +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +87 -87
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/wellknown-0mesazry.js +0 -4
- package/dist/chunks/wellknown-agqhfaby.js +0 -252
- package/dist/chunks/wellknown-ht5y0zrb.js +0 -18
- package/dist/chunks/wellknown-zvrfp1rb.js +0 -26
- /package/dist/chunks/{wellknown-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{wellknown-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
- /package/dist/chunks/{wellknown-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
- /package/dist/chunks/{wellknown-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
- /package/dist/chunks/{wellknown-1kg9ymc8.js → rpc-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{wellknown-24dcb14g.js → rpc-24dcb14g.js} +0 -0
- /package/dist/chunks/{wellknown-2710q6r3.js → rpc-2710q6r3.js} +0 -0
- /package/dist/chunks/{wellknown-2axfhc9x.js → rpc-2axfhc9x.js} +0 -0
- /package/dist/chunks/{wellknown-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{wellknown-34c7v6d4.js → rpc-34c7v6d4.js} +0 -0
- /package/dist/chunks/{wellknown-359p4xyc.js → rpc-359p4xyc.js} +0 -0
- /package/dist/chunks/{wellknown-3asan66x.js → rpc-3asan66x.js} +0 -0
- /package/dist/chunks/{wellknown-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
- /package/dist/chunks/{wellknown-3w5fmr99.js → rpc-3w5fmr99.js} +0 -0
- /package/dist/chunks/{wellknown-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
- /package/dist/chunks/{wellknown-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
- /package/dist/chunks/{wellknown-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
- /package/dist/chunks/{wellknown-4vcrnpx2.js → rpc-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{wellknown-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
- /package/dist/chunks/{wellknown-53557ph1.js → rpc-53557ph1.js} +0 -0
- /package/dist/chunks/{wellknown-550bvhaj.js → rpc-550bvhaj.js} +0 -0
- /package/dist/chunks/{wellknown-5qd3pb7m.js → rpc-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{wellknown-6prwharc.js → rpc-6prwharc.js} +0 -0
- /package/dist/chunks/{wellknown-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
- /package/dist/chunks/{wellknown-7m9af43g.js → rpc-7m9af43g.js} +0 -0
- /package/dist/chunks/{wellknown-822emrt2.js → rpc-822emrt2.js} +0 -0
- /package/dist/chunks/{wellknown-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
- /package/dist/chunks/{wellknown-8n3pysct.js → rpc-8n3pysct.js} +0 -0
- /package/dist/chunks/{wellknown-8wj87zfr.js → rpc-8wj87zfr.js} +0 -0
- /package/dist/chunks/{wellknown-922hggd3.js → rpc-922hggd3.js} +0 -0
- /package/dist/chunks/{wellknown-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
- /package/dist/chunks/{wellknown-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{wellknown-a6k6eb26.js → rpc-a6k6eb26.js} +0 -0
- /package/dist/chunks/{wellknown-af5trqkr.js → rpc-af5trqkr.js} +0 -0
- /package/dist/chunks/{wellknown-afrmfg78.js → rpc-afrmfg78.js} +0 -0
- /package/dist/chunks/{wellknown-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{wellknown-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
- /package/dist/chunks/{wellknown-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{wellknown-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{wellknown-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
- /package/dist/chunks/{wellknown-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{wellknown-d9fn303g.js → rpc-d9fn303g.js} +0 -0
- /package/dist/chunks/{wellknown-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{wellknown-dajrwvna.js → rpc-dajrwvna.js} +0 -0
- /package/dist/chunks/{wellknown-dap0rakb.js → rpc-dap0rakb.js} +0 -0
- /package/dist/chunks/{wellknown-df08tz66.js → rpc-df08tz66.js} +0 -0
- /package/dist/chunks/{wellknown-dy18nga0.js → rpc-dy18nga0.js} +0 -0
- /package/dist/chunks/{wellknown-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
- /package/dist/chunks/{wellknown-e73j6tqm.js → rpc-e73j6tqm.js} +0 -0
- /package/dist/chunks/{wellknown-ec1grn59.js → rpc-ec1grn59.js} +0 -0
- /package/dist/chunks/{wellknown-eh3zwz77.js → rpc-eh3zwz77.js} +0 -0
- /package/dist/chunks/{wellknown-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
- /package/dist/chunks/{wellknown-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
- /package/dist/chunks/{wellknown-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{wellknown-faypxj3z.js → rpc-faypxj3z.js} +0 -0
- /package/dist/chunks/{wellknown-fd410y7t.js → rpc-fd410y7t.js} +0 -0
- /package/dist/chunks/{wellknown-fxgpk5d8.js → rpc-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{wellknown-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
- /package/dist/chunks/{wellknown-g86h250q.js → rpc-g86h250q.js} +0 -0
- /package/dist/chunks/{wellknown-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
- /package/dist/chunks/{wellknown-gftt206x.js → rpc-gftt206x.js} +0 -0
- /package/dist/chunks/{wellknown-hjbc5kem.js → rpc-hjbc5kem.js} +0 -0
- /package/dist/chunks/{wellknown-hk9envan.js → rpc-hk9envan.js} +0 -0
- /package/dist/chunks/{wellknown-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
- /package/dist/chunks/{wellknown-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{wellknown-jjkms2e6.js → rpc-jjkms2e6.js} +0 -0
- /package/dist/chunks/{wellknown-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{wellknown-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{wellknown-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{wellknown-mp448xyj.js → rpc-mp448xyj.js} +0 -0
- /package/dist/chunks/{wellknown-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
- /package/dist/chunks/{wellknown-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
- /package/dist/chunks/{wellknown-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
- /package/dist/chunks/{wellknown-njntx4h6.js → rpc-njntx4h6.js} +0 -0
- /package/dist/chunks/{wellknown-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
- /package/dist/chunks/{wellknown-q74kybfr.js → rpc-q74kybfr.js} +0 -0
- /package/dist/chunks/{wellknown-qaymkmh1.js → rpc-qaymkmh1.js} +0 -0
- /package/dist/chunks/{wellknown-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
- /package/dist/chunks/{wellknown-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
- /package/dist/chunks/{wellknown-qg3g05ea.js → rpc-qg3g05ea.js} +0 -0
- /package/dist/chunks/{wellknown-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
- /package/dist/chunks/{wellknown-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{wellknown-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{wellknown-sk3qaz4a.js → rpc-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{wellknown-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
- /package/dist/chunks/{wellknown-w803qqfp.js → rpc-w803qqfp.js} +0 -0
- /package/dist/chunks/{wellknown-wc3fc9cn.js → rpc-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{wellknown-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
- /package/dist/chunks/{wellknown-wtztk69x.js → rpc-wtztk69x.js} +0 -0
- /package/dist/chunks/{wellknown-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
- /package/dist/chunks/{wellknown-x61499pn.js → rpc-x61499pn.js} +0 -0
- /package/dist/chunks/{wellknown-y44na4kk.js → rpc-y44na4kk.js} +0 -0
- /package/dist/chunks/{wellknown-y8cydn3q.js → rpc-y8cydn3q.js} +0 -0
- /package/dist/chunks/{wellknown-y8f7s663.js → rpc-y8f7s663.js} +0 -0
- /package/dist/chunks/{wellknown-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{wellknown-ym463w8f.js → rpc-ym463w8f.js} +0 -0
- /package/dist/chunks/{wellknown-z9919s4g.js → rpc-z9919s4g.js} +0 -0
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service80
|
|
9
|
+
} from "./rpc-cv1dxnrk.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service75
|
|
12
|
+
} from "./rpc-8ss5wpaf.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service74
|
|
16
|
+
} from "./rpc-a39fgh0c.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
|
-
|
|
21
|
+
Entry4,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./rpc-abmt9xsc.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service56
|
|
26
|
+
} from "./rpc-hcj02zej.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service44
|
|
29
|
+
} from "./rpc-8fyhndsy.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./rpc-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input8,
|
|
39
|
+
Output: () => Output5,
|
|
40
|
+
Plugin: () => Plugin26,
|
|
41
|
+
name: () => name8,
|
|
42
|
+
toModelContent: () => toModelContent4
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name8 = "grep";
|
|
48
|
+
var Input8 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input5 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output5 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent4 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent3 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin26 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service75;
|
|
90
|
+
const ripgrep = yield* Service74;
|
|
91
|
+
const location = yield* Service80;
|
|
92
|
+
const access = yield* Service44;
|
|
93
|
+
const permission = yield* Service56;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name8,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input8,
|
|
99
|
+
output: Output5,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name8,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -136,7 +136,7 @@ var Plugin5 = {
|
|
|
136
136
|
}))
|
|
137
137
|
}), Effect.map((result) => result.map((match) => Match2.make({
|
|
138
138
|
...match,
|
|
139
|
-
entry:
|
|
139
|
+
entry: Entry4.make({
|
|
140
140
|
...match.entry,
|
|
141
141
|
path: RelativePath2.make(path.relative(location.directory, path.resolve(cwd, match.entry.path)))
|
|
142
142
|
})
|
|
@@ -144,7 +144,7 @@ var Plugin5 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent4(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin5 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name8, Input8, Output5, toModelContent4, Plugin26, exports_grep };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-6msgmcgs.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-psazpmmj.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID8,
|
|
3
|
+
Service59
|
|
4
|
+
} from "./rpc-v6wj3j48.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service80
|
|
7
|
+
} from "./rpc-cv1dxnrk.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service37
|
|
10
|
+
} from "./rpc-hb491ctm.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service63,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./rpc-5tdvja1p.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service18
|
|
17
|
+
} from "./rpc-t2z6k8ec.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make8
|
|
20
|
+
} from "./rpc-45pqjn0p.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./rpc-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./rpc-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command2 = {};
|
|
30
|
+
__export(exports_command2, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command2,
|
|
32
|
+
Plugin: () => Plugin36
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin36 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service37;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,12 +54,12 @@ var Plugin28 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service80;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service63;
|
|
60
|
+
const sessions = yield* Service18;
|
|
61
|
+
const agents = yield* Service59;
|
|
62
|
+
const subagents = yield* make8;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin28 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID8.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin36, exports_command2 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service37
|
|
3
|
+
} from "./rpc-hb491ctm.js";
|
|
4
4
|
import {
|
|
5
5
|
Service12
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-cwa6csj7.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
15
|
var exports_location_watcher = {};
|
|
16
16
|
__export(exports_location_watcher, {
|
|
17
17
|
ConfigLocationWatcherPlugin: () => exports_location_watcher,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin44
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin44 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service37;
|
|
26
26
|
const policy = yield* Service12;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
@@ -35,4 +35,4 @@ var Plugin17 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin44, exports_location_watcher };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service38
|
|
6
|
+
} from "./rpc-48vq6k8e.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/module.ts
|
|
12
12
|
var exports_module = {};
|
|
13
13
|
__export(exports_module, {
|
|
14
14
|
LoadError: () => LoadError2,
|
|
15
15
|
PluginModule: () => exports_module,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make6
|
|
17
17
|
});
|
|
18
18
|
import { Host } from "@opencode/plugin/host";
|
|
19
19
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
|
-
var
|
|
26
|
-
const watcher = yield*
|
|
25
|
+
var make6 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
+
const watcher = yield* Service38;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
102
102
|
};
|
|
103
103
|
});
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { make6, LoadError2, exports_module };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service37
|
|
3
|
+
} from "./rpc-hb491ctm.js";
|
|
4
4
|
import {
|
|
5
5
|
Service15
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-6ysrkrkr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
observe2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-qsdy395h.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./rpc-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/config/plugin/policy.ts
|
|
18
18
|
var exports_policy = {};
|
|
19
19
|
__export(exports_policy, {
|
|
20
20
|
ConfigPolicyPlugin: () => exports_policy,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin37
|
|
22
22
|
});
|
|
23
23
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
24
24
|
import { Effect } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin37 = define({
|
|
26
26
|
id: "opencode.config.policy",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
|
-
const config = yield*
|
|
28
|
+
const config = yield* Service37;
|
|
29
29
|
const managed = yield* Service15;
|
|
30
30
|
const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
|
|
31
31
|
const policies = () => {
|
|
@@ -57,4 +57,4 @@ var Plugin25 = define({
|
|
|
57
57
|
})
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
export {
|
|
60
|
+
export { Plugin37, exports_policy };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-ac7bw970.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event18,
|
|
7
|
+
Service70,
|
|
8
|
+
node73
|
|
9
|
+
} from "./rpc-92safqaw.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service38,
|
|
12
|
+
node41
|
|
13
|
+
} from "./rpc-48vq6k8e.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./rpc-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service80,
|
|
19
|
+
node84
|
|
20
|
+
} from "./rpc-cv1dxnrk.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./rpc-yrznvahk.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./rpc-7wmac47h.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
names3,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./rpc-zvxnxwje.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./rpc-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service39,
|
|
36
|
+
Event8,
|
|
37
|
+
node42
|
|
38
|
+
} from "./rpc-c27pyt7g.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./rpc-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options4,
|
|
48
|
+
Service: () => Service37,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured4,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer15,
|
|
53
|
+
node: () => node40,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options4 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service37 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service37, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer15 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
|
-
const location = yield*
|
|
97
|
-
const watcher = yield*
|
|
96
|
+
const location = yield* Service80;
|
|
97
|
+
const watcher = yield* Service38;
|
|
98
98
|
const bus = yield* Service83;
|
|
99
|
-
const credentials = yield*
|
|
99
|
+
const credentials = yield* Service70;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service39;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -167,7 +167,7 @@ var layer18 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
167
167
|
});
|
|
168
168
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
169
169
|
return [
|
|
170
|
-
...yield* Effect.forEach(
|
|
170
|
+
...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
171
171
|
new Directory({ type: "directory", path: directory })
|
|
172
172
|
];
|
|
173
173
|
});
|
|
@@ -221,8 +221,8 @@ var layer18 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
221
221
|
}, (effect) => reloadLock.withPermit(effect));
|
|
222
222
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
223
223
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
224
|
-
yield* bus.subscribe(
|
|
225
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
225
|
+
yield* bus.subscribe(Event8.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
227
227
|
if (!wellknown.snapshot().length)
|
|
228
228
|
return Effect.void;
|
|
@@ -235,7 +235,7 @@ var layer18 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
235
235
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
236
236
|
const update = Effect.fn("Config.update")(function* (patch) {
|
|
237
237
|
const directory = initial.global ?? AbsolutePath2.make(globalService.config);
|
|
238
|
-
const candidates =
|
|
238
|
+
const candidates = names3.map((name) => path.join(directory, name));
|
|
239
239
|
const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
|
|
240
240
|
const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
|
|
241
241
|
`;
|
|
@@ -250,7 +250,7 @@ var layer18 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service37.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -262,13 +262,13 @@ var layer18 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
262
262
|
update
|
|
263
263
|
});
|
|
264
264
|
}));
|
|
265
|
-
function
|
|
265
|
+
function configured4(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
267
|
+
service: Service37,
|
|
268
|
+
layer: layer15(options),
|
|
269
|
+
deps: [node41, node87, FSUtil.node, Global.node, node84, node73, node42]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node40 = configured4();
|
|
273
273
|
|
|
274
|
-
export { latest2,
|
|
274
|
+
export { latest2, Options4, Service37, Test2, testLayer2, layer15, configured4, node40, exports_config };
|