@opencode/core 0.0.0-dev-20822 → 0.0.0-dev-20824
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{generate-kqx1b4hy.js → snapshot-0b5g1ynf.js} +4 -4
- package/dist/chunks/{generate-q0xm7vwc.js → snapshot-0j77ygfz.js} +6 -6
- package/dist/chunks/{generate-0paq2nw3.js → snapshot-0paq2nw3.js} +1 -1
- package/dist/chunks/{generate-71ngg8t7.js → snapshot-0qb3255k.js} +21 -21
- package/dist/chunks/{generate-pz6ttcym.js → snapshot-0s6x0vhx.js} +16 -16
- package/dist/chunks/snapshot-0v2trax5.js +26 -0
- package/dist/chunks/{generate-0vbcp93d.js → snapshot-0vbcp93d.js} +2 -2
- package/dist/chunks/{generate-k16919zw.js → snapshot-111rf178.js} +131 -131
- package/dist/chunks/{generate-h2vs0bhh.js → snapshot-129ewq9p.js} +11 -11
- package/dist/chunks/{generate-1t7jvytf.js → snapshot-1kv6jnwh.js} +3 -3
- package/dist/chunks/{generate-5w5jq283.js → snapshot-1p2qp805.js} +39 -39
- package/dist/chunks/{generate-hzrfc1p4.js → snapshot-1w9a9pv3.js} +3 -3
- package/dist/chunks/{generate-jgttmm4a.js → snapshot-207ajt2h.js} +5 -5
- package/dist/chunks/{generate-99p0sw4h.js → snapshot-20frjwk8.js} +2 -2
- package/dist/chunks/{generate-s753ees3.js → snapshot-28wma5yh.js} +9 -9
- package/dist/chunks/{generate-4ts7tf6z.js → snapshot-2ccvkpx1.js} +2 -2
- package/dist/chunks/{generate-y8h65rfj.js → snapshot-2d5ym5sj.js} +9 -9
- package/dist/chunks/{generate-w40ef370.js → snapshot-2e6r65fb.js} +35 -35
- package/dist/chunks/{generate-cpneeje0.js → snapshot-2mq1h16s.js} +9 -9
- package/dist/chunks/{generate-2vvh33eb.js → snapshot-2vvh33eb.js} +2 -2
- package/dist/chunks/{generate-c9gd1t00.js → snapshot-32hp3d4a.js} +14 -14
- package/dist/chunks/{generate-3bq8wp9n.js → snapshot-36vcrazm.js} +33 -33
- package/dist/chunks/{generate-2p2kjyer.js → snapshot-37ecaprz.js} +12 -12
- package/dist/chunks/{generate-jmh888fr.js → snapshot-39z47dss.js} +16 -16
- package/dist/chunks/{generate-94s2fjr0.js → snapshot-3dwzfaah.js} +24 -24
- package/dist/chunks/{generate-3fc6dm20.js → snapshot-3fc6dm20.js} +1 -1
- package/dist/chunks/{generate-6se1cknn.js → snapshot-3h3j01xz.js} +27 -27
- package/dist/chunks/{generate-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
- package/dist/chunks/{generate-3hwn7j4h.js → snapshot-3hwn7j4h.js} +2 -2
- package/dist/chunks/{generate-h2qe489w.js → snapshot-3jhv51p4.js} +6 -6
- package/dist/chunks/{generate-reqxrgzt.js → snapshot-3mj6y1s4.js} +81 -81
- package/dist/chunks/{generate-bh0zzf2s.js → snapshot-3rtxz4nr.js} +8 -8
- package/dist/chunks/{generate-3smtnn6g.js → snapshot-3smtnn6g.js} +1 -1
- package/dist/chunks/{generate-3tvqynh2.js → snapshot-3tvqynh2.js} +1 -1
- package/dist/chunks/{generate-160rcs8y.js → snapshot-3z984t13.js} +53 -53
- package/dist/chunks/{generate-3zsf4n22.js → snapshot-3zsf4n22.js} +1 -1
- package/dist/chunks/{generate-p8jn648k.js → snapshot-45s0xkqg.js} +9 -9
- package/dist/chunks/{generate-0r3c1bmw.js → snapshot-47jkzegy.js} +5 -5
- package/dist/chunks/{generate-qzdbzfxf.js → snapshot-47x322b4.js} +9 -9
- package/dist/chunks/{generate-5ymeyv1w.js → snapshot-4dgq8ykd.js} +20 -20
- package/dist/chunks/{generate-wnmcdmt7.js → snapshot-4xbwzyc1.js} +17 -17
- package/dist/chunks/{generate-54ma36ye.js → snapshot-54ma36ye.js} +1 -1
- package/dist/chunks/{generate-b9zxqtkb.js → snapshot-566zwc6g.js} +11 -11
- package/dist/chunks/{generate-tzgez07c.js → snapshot-5ary8kky.js} +89 -89
- package/dist/chunks/{generate-n1n192bv.js → snapshot-5dkn69vz.js} +4 -4
- package/dist/chunks/{generate-mkr540vq.js → snapshot-5dsdkjma.js} +3 -3
- package/dist/chunks/{generate-e0qr11w8.js → snapshot-5egnrbez.js} +3 -3
- package/dist/chunks/{generate-5m9w47nd.js → snapshot-5m9w47nd.js} +1 -1
- package/dist/chunks/{generate-09zenxvv.js → snapshot-5nekprf5.js} +22 -22
- package/dist/chunks/{generate-bpcxez5f.js → snapshot-5sjpqk1d.js} +34 -34
- package/dist/chunks/{generate-qawb3j5e.js → snapshot-6jw7hjkg.js} +22 -22
- package/dist/chunks/{generate-6xb47vfp.js → snapshot-6xb47vfp.js} +1 -1
- package/dist/chunks/{generate-sycqys4s.js → snapshot-70nermmm.js} +8 -8
- package/dist/chunks/{generate-1y9xp183.js → snapshot-72rw85ce.js} +11 -11
- package/dist/chunks/{generate-9jh6z5zf.js → snapshot-749np7n7.js} +14 -14
- package/dist/chunks/{generate-neaak72d.js → snapshot-77pxmfw4.js} +1 -1
- package/dist/chunks/{generate-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
- package/dist/chunks/{generate-8sze2n9a.js → snapshot-7fkffz83.js} +8 -8
- package/dist/chunks/{generate-yanphvs7.js → snapshot-7fxqwhb5.js} +40 -40
- package/dist/chunks/{generate-kkxs5m9r.js → snapshot-7jmepwah.js} +24 -24
- package/dist/chunks/{generate-5y870mzr.js → snapshot-7njjaav3.js} +35 -35
- package/dist/chunks/{generate-6jcs850k.js → snapshot-7p3ap5qj.js} +32 -32
- package/dist/chunks/{generate-5x9qztn0.js → snapshot-7s9dxxnz.js} +2 -2
- package/dist/chunks/{generate-7zp440a8.js → snapshot-7shdw42h.js} +56 -56
- package/dist/chunks/{generate-veskmrv3.js → snapshot-7xaj531f.js} +14 -14
- package/dist/chunks/{generate-84txncab.js → snapshot-84txncab.js} +1 -1
- package/dist/chunks/{generate-f8csk04c.js → snapshot-8878tmfa.js} +37 -37
- package/dist/chunks/{generate-d6ajg2rf.js → snapshot-8jz9smqe.js} +11 -11
- package/dist/chunks/{generate-8m6m0r52.js → snapshot-8m6m0r52.js} +1 -1
- package/dist/chunks/{generate-73kdj4zj.js → snapshot-8mbscqky.js} +8 -8
- package/dist/chunks/{generate-7ey4124n.js → snapshot-8q8t1tnc.js} +13 -13
- package/dist/chunks/{generate-8a4nd1r6.js → snapshot-8r48d4az.js} +13 -13
- package/dist/chunks/{generate-bj8v9jw6.js → snapshot-8s9q11c2.js} +9 -9
- package/dist/chunks/snapshot-8ztaq101.js +253 -0
- package/dist/chunks/{generate-xjc6kz28.js → snapshot-94mp14g8.js} +4 -4
- package/dist/chunks/{generate-hcv80w8f.js → snapshot-967benbv.js} +11 -11
- package/dist/chunks/{generate-krndrss9.js → snapshot-97ssdx1g.js} +4 -4
- package/dist/chunks/{generate-2qfnhhnx.js → snapshot-9hkcxdmn.js} +14 -14
- package/dist/chunks/{generate-7pkkq0g6.js → snapshot-9ry79bhp.js} +9 -9
- package/dist/chunks/{generate-pzr67869.js → snapshot-9styxqgn.js} +25 -25
- package/dist/chunks/{generate-qhhybq9g.js → snapshot-9zegdr80.js} +16 -16
- package/dist/chunks/{generate-kwr9kqyk.js → snapshot-a5hmx7s0.js} +13 -13
- package/dist/chunks/{generate-rj5es3mk.js → snapshot-aadyv573.js} +6 -6
- package/dist/chunks/{generate-addxnjmp.js → snapshot-addxnjmp.js} +1 -1
- package/dist/chunks/{generate-em04vqmr.js → snapshot-apwm8s3j.js} +5 -5
- package/dist/chunks/{generate-tgk11rr4.js → snapshot-atc2a3q3.js} +16 -16
- package/dist/chunks/{generate-mnrbdwmb.js → snapshot-atej3qbc.js} +10 -10
- package/dist/chunks/{generate-xw12mrbm.js → snapshot-ayrv2wcb.js} +11 -11
- package/dist/chunks/{generate-t2fc4mz5.js → snapshot-b27vhd2z.js} +4 -4
- package/dist/chunks/{generate-gdrandd6.js → snapshot-b59z99xa.js} +50 -50
- package/dist/chunks/{generate-qjgcwqyh.js → snapshot-b6y0nnhw.js} +3 -3
- package/dist/chunks/{generate-jmpkjbdp.js → snapshot-b96azaea.js} +33 -33
- package/dist/chunks/{generate-kq9xgsr8.js → snapshot-bahnv37p.js} +17 -17
- package/dist/chunks/{generate-26ygdbvf.js → snapshot-bhdm2eva.js} +19 -19
- package/dist/chunks/{generate-fdcefk57.js → snapshot-bjgzcebz.js} +24 -24
- package/dist/chunks/{generate-5ndn92dg.js → snapshot-bkgjq45n.js} +14 -14
- package/dist/chunks/{generate-r9xkyv2s.js → snapshot-br53zv5y.js} +13 -13
- package/dist/chunks/{generate-1wa46tec.js → snapshot-br8v5cn9.js} +27 -27
- package/dist/chunks/{generate-r7y0pbzb.js → snapshot-bsgqwer8.js} +20 -20
- package/dist/chunks/{generate-m168jgsb.js → snapshot-bt51d3gq.js} +3 -3
- package/dist/chunks/{generate-td2b297g.js → snapshot-bwh35qyb.js} +9 -9
- package/dist/chunks/{generate-dpsbv5y8.js → snapshot-bytdxgsj.js} +27 -27
- package/dist/chunks/{generate-56x7qzcz.js → snapshot-bzjc6ksy.js} +15 -15
- package/dist/chunks/{generate-c1fqxshp.js → snapshot-c1fqxshp.js} +3 -3
- package/dist/chunks/{generate-gm31ynds.js → snapshot-c41dsvxf.js} +5 -5
- package/dist/chunks/{generate-ns06ffs6.js → snapshot-c6yzar81.js} +6 -6
- package/dist/chunks/{generate-0w0a6ggm.js → snapshot-c7rs0fp2.js} +24 -24
- package/dist/chunks/{generate-knydcxqy.js → snapshot-c81x0r32.js} +27 -27
- package/dist/chunks/{generate-6enyyjcc.js → snapshot-c92gkfvp.js} +22 -22
- package/dist/chunks/{generate-ryaf6466.js → snapshot-cbprq3p6.js} +14 -14
- package/dist/chunks/{generate-ghj4jhwa.js → snapshot-ccqjkbg9.js} +4 -4
- package/dist/chunks/{generate-x59vjzsy.js → snapshot-cgcp9a40.js} +30 -30
- package/dist/chunks/{generate-cqjzeja5.js → snapshot-cp9h3w39.js} +44 -44
- package/dist/chunks/{generate-dvy4g42d.js → snapshot-cpgwv9gf.js} +11 -11
- package/dist/chunks/{generate-17ykyzhr.js → snapshot-cpkqk2mc.js} +1 -1
- package/dist/chunks/{generate-414x8gee.js → snapshot-d0ec82xh.js} +26 -26
- package/dist/chunks/{generate-zs97etz9.js → snapshot-d9x798yd.js} +6 -6
- package/dist/chunks/{generate-5yppedq1.js → snapshot-dh92kamf.js} +20 -20
- package/dist/chunks/{generate-ab9ytqvy.js → snapshot-dktjxkrs.js} +12 -12
- package/dist/chunks/{generate-e39bpxxn.js → snapshot-dmsf2sgk.js} +23 -23
- package/dist/chunks/{generate-z1f5xzt9.js → snapshot-dnx7hh4d.js} +9 -9
- package/dist/chunks/{generate-jy4fskgg.js → snapshot-dwaxvgp4.js} +18 -18
- package/dist/chunks/snapshot-dxj72tfx.js +18 -0
- package/dist/chunks/{generate-2xx6zsf3.js → snapshot-dzw83ac5.js} +9 -9
- package/dist/chunks/{generate-5qd3pb7m.js → snapshot-e3qxr5gk.js} +2 -2
- package/dist/chunks/{generate-fjw3nvvd.js → snapshot-e4fzp9xz.js} +31 -31
- package/dist/chunks/{generate-ghr137jg.js → snapshot-e6zcw651.js} +1 -1
- package/dist/chunks/{generate-amyfrnhk.js → snapshot-e7qx7hf9.js} +33 -33
- package/dist/chunks/{generate-eej6y6fw.js → snapshot-eej6y6fw.js} +2 -2
- package/dist/chunks/{generate-ef5x83kb.js → snapshot-ef5x83kb.js} +1 -1
- package/dist/chunks/{generate-dw0pgfhe.js → snapshot-egxceyfp.js} +21 -21
- package/dist/chunks/{generate-r8xr0va3.js → snapshot-f2n192rq.js} +4 -4
- package/dist/chunks/{generate-p66htvvv.js → snapshot-fafr0g56.js} +18 -18
- package/dist/chunks/{generate-7dqw4kz8.js → snapshot-fcrkznn8.js} +5 -5
- package/dist/chunks/{generate-kdjbjbt9.js → snapshot-fnb9eyvv.js} +11 -11
- package/dist/chunks/{generate-ca2gnmfk.js → snapshot-g2v9qz7h.js} +10 -10
- package/dist/chunks/{generate-bhj1c4q4.js → snapshot-g3yfx9st.js} +27 -27
- package/dist/chunks/{generate-gd4qta3r.js → snapshot-gd4qta3r.js} +1 -1
- package/dist/chunks/{generate-5zgyb8b4.js → snapshot-gdr1rz3s.js} +12 -12
- package/dist/chunks/{generate-06vzgydv.js → snapshot-gg7e7qdp.js} +34 -34
- package/dist/chunks/{generate-gk8qb678.js → snapshot-gk8qb678.js} +1 -1
- package/dist/chunks/{generate-twkdmtn8.js → snapshot-gwegacp2.js} +18 -18
- package/dist/chunks/{generate-h6vf3j39.js → snapshot-h6vf3j39.js} +1 -1
- package/dist/chunks/{generate-31xfzrxg.js → snapshot-h7s7r6s9.js} +5 -5
- package/dist/chunks/{generate-hgz4x7wa.js → snapshot-hgz4x7wa.js} +1 -1
- package/dist/chunks/{generate-w3z8hpcs.js → snapshot-hk0x9whx.js} +8 -8
- package/dist/chunks/{generate-zyt2xg97.js → snapshot-hmtp6bqa.js} +10 -10
- package/dist/chunks/{generate-zee1rnkq.js → snapshot-hn57h045.js} +4 -4
- package/dist/chunks/{generate-dts7v26c.js → snapshot-hq2w7pb7.js} +20 -20
- package/dist/chunks/{generate-49w7vtg3.js → snapshot-hweedvx2.js} +28 -28
- package/dist/chunks/{generate-j09zfasm.js → snapshot-j09zfasm.js} +3 -3
- package/dist/chunks/{generate-9mekg669.js → snapshot-j4x92r12.js} +19 -19
- package/dist/chunks/{generate-j56e64zr.js → snapshot-j56e64zr.js} +1 -1
- package/dist/chunks/{generate-a89e0tac.js → snapshot-jewzahs7.js} +4 -4
- package/dist/chunks/{generate-3g8j9he4.js → snapshot-jhdf29st.js} +1 -1
- package/dist/chunks/{generate-4btsmmfc.js → snapshot-jqfa4ge4.js} +7 -7
- package/dist/chunks/{generate-had0cjaf.js → snapshot-jsk3kr4t.js} +46 -46
- package/dist/chunks/{generate-bxrzg0nt.js → snapshot-jtd2a7nt.js} +4 -4
- package/dist/chunks/{generate-9bxdtn1w.js → snapshot-k9q3e0yt.js} +43 -43
- package/dist/chunks/{generate-gpx3ftbp.js → snapshot-kepx3afk.js} +18 -18
- package/dist/chunks/{generate-hq3c8me3.js → snapshot-khmqacep.js} +4 -4
- package/dist/chunks/{generate-g686f6pq.js → snapshot-kjd40bgk.js} +9 -9
- package/dist/chunks/{generate-57myy5jh.js → snapshot-kjdm35cs.js} +5 -5
- package/dist/chunks/{generate-dh1vd407.js → snapshot-kkk3vn91.js} +13 -13
- package/dist/chunks/{generate-1a6rqj7y.js → snapshot-kms48zfg.js} +46 -46
- package/dist/chunks/{generate-rpf1qvc3.js → snapshot-knevfgda.js} +4 -4
- package/dist/chunks/{generate-txm3e8qz.js → snapshot-kqv3x6rj.js} +9 -9
- package/dist/chunks/{generate-cf46dtcg.js → snapshot-kxxg8k4r.js} +11 -11
- package/dist/chunks/{generate-m3tq90br.js → snapshot-kyytvvrv.js} +27 -27
- package/dist/chunks/{generate-0qjyyrcy.js → snapshot-m0ry780p.js} +11 -11
- package/dist/chunks/{generate-tzs3fzf0.js → snapshot-m8949260.js} +10 -10
- package/dist/chunks/{generate-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
- package/dist/chunks/{generate-1pv1yjxt.js → snapshot-mfxwm5jp.js} +13 -13
- package/dist/chunks/{generate-2p1053mb.js → snapshot-mygpds4v.js} +13 -13
- package/dist/chunks/{generate-rcgjm4ey.js → snapshot-mzvzdten.js} +18 -18
- package/dist/chunks/{generate-5y4yv9md.js → snapshot-n9n4qq7s.js} +30 -30
- package/dist/chunks/{generate-p247cx2g.js → snapshot-ngnqj9gj.js} +27 -27
- package/dist/chunks/{generate-zht27asq.js → snapshot-nkv5dzrs.js} +9 -9
- package/dist/chunks/{generate-6nb7w1fw.js → snapshot-npk602qs.js} +10 -10
- package/dist/chunks/{generate-gnjv7wb4.js → snapshot-nv0k8b7e.js} +20 -20
- package/dist/chunks/{generate-1ajhb62d.js → snapshot-nzh06rgd.js} +11 -11
- package/dist/chunks/{generate-y8v0f4w6.js → snapshot-p63fk0yx.js} +5 -5
- package/dist/chunks/{generate-ssc1sjfq.js → snapshot-pdxex50p.js} +9 -9
- package/dist/chunks/{generate-g0445xdp.js → snapshot-phstrbs2.js} +8 -8
- package/dist/chunks/{generate-pjvnvgmy.js → snapshot-pjvnvgmy.js} +1 -1
- package/dist/chunks/{generate-pknna89w.js → snapshot-pknna89w.js} +1 -1
- package/dist/chunks/{generate-j2jef1q4.js → snapshot-pm06a12h.js} +4 -4
- package/dist/chunks/{generate-5swdxk6g.js → snapshot-pme8bagx.js} +24 -24
- package/dist/chunks/{generate-50zqcjzm.js → snapshot-px7p8hke.js} +15 -15
- package/dist/chunks/{generate-mgrzhrw3.js → snapshot-q23ecs5g.js} +12 -12
- package/dist/chunks/{generate-ef9wzcjn.js → snapshot-q29xxbd6.js} +33 -33
- package/dist/chunks/{generate-5dcyhnv6.js → snapshot-q448ner5.js} +15 -15
- package/dist/chunks/{generate-7nvdqcj1.js → snapshot-q6td39y3.js} +16 -16
- package/dist/chunks/{generate-1etkwrgs.js → snapshot-q6x9nxap.js} +6 -6
- package/dist/chunks/{generate-bzkva2b5.js → snapshot-qb9v8xwx.js} +30 -30
- package/dist/chunks/{generate-yj62bxk4.js → snapshot-qd1zdc3v.js} +5 -5
- package/dist/chunks/{generate-bkfwd95h.js → snapshot-qfz69p5q.js} +14 -14
- package/dist/chunks/{generate-qnc92qwc.js → snapshot-qnc92qwc.js} +1 -1
- package/dist/chunks/{generate-6f79zr0p.js → snapshot-qntjweey.js} +18 -18
- package/dist/chunks/{generate-xfkkasph.js → snapshot-qqeeq2t9.js} +7 -7
- package/dist/chunks/{generate-qsdy395h.js → snapshot-qsdy395h.js} +1 -1
- package/dist/chunks/{generate-vwp368aj.js → snapshot-r97sxpnx.js} +8 -8
- package/dist/chunks/{generate-rdw6cm16.js → snapshot-rdw6cm16.js} +1 -1
- package/dist/chunks/{generate-rert0e01.js → snapshot-rert0e01.js} +2 -2
- package/dist/chunks/{generate-vjjaysxc.js → snapshot-rhzk7vne.js} +2 -2
- package/dist/chunks/{generate-rj3eygr5.js → snapshot-rj3eygr5.js} +2 -2
- package/dist/chunks/{generate-4ef53dch.js → snapshot-rme27c0d.js} +24 -24
- package/dist/chunks/{generate-v4t6rftf.js → snapshot-rqpny9hx.js} +33 -33
- package/dist/chunks/{generate-sxfhf5rq.js → snapshot-rw0bqx59.js} +9 -9
- package/dist/chunks/{generate-x2aynqqh.js → snapshot-s1kvmffy.js} +9 -9
- package/dist/chunks/{generate-sa8ekw3f.js → snapshot-sa8ekw3f.js} +2 -2
- package/dist/chunks/{generate-5rfpaqnm.js → snapshot-sfbvqhnr.js} +4 -4
- package/dist/chunks/{generate-y1hkzf3z.js → snapshot-ss7yxfsg.js} +17 -17
- package/dist/chunks/{generate-nma959mg.js → snapshot-sxcaecc0.js} +3 -3
- package/dist/chunks/{generate-jdedt8rb.js → snapshot-sy47kp3r.js} +22 -22
- package/dist/chunks/{generate-w97zvttz.js → snapshot-syjqprx9.js} +16 -16
- package/dist/chunks/{generate-syv4x271.js → snapshot-syv4x271.js} +1 -1
- package/dist/chunks/{generate-as8fptsq.js → snapshot-t06tg28v.js} +15 -15
- package/dist/chunks/{generate-rhjbct0v.js → snapshot-t550f9t1.js} +4 -4
- package/dist/chunks/{generate-tazgh4e4.js → snapshot-tazgh4e4.js} +1 -1
- package/dist/chunks/{generate-tcezcvh9.js → snapshot-tcezcvh9.js} +1 -1
- package/dist/chunks/{generate-8kt5z095.js → snapshot-tdndkxgk.js} +51 -51
- package/dist/chunks/{generate-tdstcens.js → snapshot-tdstcens.js} +1 -1
- package/dist/chunks/{generate-11t5tcys.js → snapshot-tfqxycy5.js} +7 -7
- package/dist/chunks/{generate-qfdnw4sm.js → snapshot-thtf3412.js} +2 -2
- package/dist/chunks/{generate-avjnwv6y.js → snapshot-tnzmjtgm.js} +9 -9
- package/dist/chunks/{generate-22bged4x.js → snapshot-tp624p08.js} +15 -15
- package/dist/chunks/{generate-9bbmxcdc.js → snapshot-tp7rvt8n.js} +316 -316
- package/dist/chunks/{generate-tyytaxap.js → snapshot-tyytaxap.js} +1 -1
- package/dist/chunks/{generate-v0es1rhs.js → snapshot-v0es1rhs.js} +2 -2
- package/dist/chunks/{generate-mmvfs7np.js → snapshot-v3rgt89s.js} +3 -3
- package/dist/chunks/{generate-v7p4zvkq.js → snapshot-v7p4zvkq.js} +2 -2
- package/dist/chunks/{generate-89m67667.js → snapshot-v8z8hm6p.js} +28 -28
- package/dist/chunks/{generate-rbpvdgf0.js → snapshot-ve88pny4.js} +5 -5
- package/dist/chunks/{generate-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
- package/dist/chunks/{generate-mkw2e1j5.js → snapshot-vgkcxybm.js} +4 -4
- package/dist/chunks/{generate-062s4805.js → snapshot-vk12dq78.js} +9 -9
- package/dist/chunks/{generate-s6bjkv0c.js → snapshot-vnckgvwp.js} +1 -1
- package/dist/chunks/{generate-nzq7ck9f.js → snapshot-vqfzq50h.js} +6 -6
- package/dist/chunks/{generate-yv88v3w0.js → snapshot-vy3tkgf3.js} +10 -10
- package/dist/chunks/{generate-vzs5sf6e.js → snapshot-vzs5sf6e.js} +1 -1
- package/dist/chunks/{generate-xnb3xs02.js → snapshot-w3k3nmy2.js} +15 -15
- package/dist/chunks/{generate-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
- package/dist/chunks/{generate-tdpcz01t.js → snapshot-w635k9zt.js} +4 -4
- package/dist/chunks/{generate-bqszwq89.js → snapshot-w6zk8pbt.js} +8 -8
- package/dist/chunks/{generate-wd87259q.js → snapshot-wd87259q.js} +1 -1
- package/dist/chunks/{generate-qq60wpws.js → snapshot-wqqb8knj.js} +21 -21
- package/dist/chunks/{generate-wjqbea41.js → snapshot-ws5f7trb.js} +1 -1
- package/dist/chunks/{generate-a5vpg89g.js → snapshot-wswa5agg.js} +20 -20
- package/dist/chunks/{generate-kabgg1kx.js → snapshot-wvm2tpy1.js} +15 -15
- package/dist/chunks/{generate-6r5cntrs.js → snapshot-x28hss16.js} +21 -21
- package/dist/chunks/{generate-etnnvm17.js → snapshot-xaasf9gs.js} +4 -4
- package/dist/chunks/{generate-84n10917.js → snapshot-xbxd24gm.js} +11 -11
- package/dist/chunks/{generate-c3ckhrz0.js → snapshot-xcapf3gz.js} +3 -3
- package/dist/chunks/{generate-zpygae8c.js → snapshot-xdq69jyw.js} +13 -13
- package/dist/chunks/{generate-df8cv41v.js → snapshot-xsahrgm8.js} +12 -12
- package/dist/chunks/{generate-3paqt3vg.js → snapshot-xsnzbdwh.js} +13 -13
- package/dist/chunks/{generate-y1fvbwt7.js → snapshot-y1fvbwt7.js} +1 -1
- package/dist/chunks/{generate-00xy856b.js → snapshot-y2rk2g8d.js} +30 -30
- package/dist/chunks/{generate-xb2we2km.js → snapshot-y6canb71.js} +1 -1
- package/dist/chunks/{generate-y71avatq.js → snapshot-y71avatq.js} +1 -1
- package/dist/chunks/{generate-wpybfb3e.js → snapshot-yewzvha6.js} +7 -7
- package/dist/chunks/{generate-rbypsz8f.js → snapshot-yj4grhrg.js} +22 -22
- package/dist/chunks/{generate-yw8jj2jc.js → snapshot-yw96ad7w.js} +29 -29
- package/dist/chunks/{generate-nt3nt5tk.js → snapshot-ywnqnaz4.js} +15 -15
- package/dist/chunks/{generate-1ffvrpkg.js → snapshot-ywt8jp22.js} +6 -6
- package/dist/chunks/{generate-2v043g86.js → snapshot-yz6jyr9b.js} +75 -75
- package/dist/chunks/{generate-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
- package/dist/chunks/{generate-pnndnpeh.js → snapshot-z8zrb4dy.js} +12 -12
- package/dist/chunks/{generate-xy6qx0pe.js → snapshot-z9s90m2e.js} +7 -7
- package/dist/chunks/{generate-4cnnb2a1.js → snapshot-za3mayqc.js} +11 -11
- package/dist/chunks/{generate-q43yzn0p.js → snapshot-zas5n1ee.js} +28 -28
- package/dist/chunks/{generate-hz1z6h17.js → snapshot-zc0yab0y.js} +10 -10
- package/dist/chunks/{generate-05ygkdhz.js → snapshot-zgbtaxd3.js} +6 -6
- package/dist/chunks/{generate-9zbw5rmr.js → snapshot-znvxnre3.js} +23 -23
- package/dist/chunks/{generate-rx2z3qfv.js → snapshot-zr0avt77.js} +11 -11
- package/dist/chunks/{generate-zr2ceqn5.js → snapshot-zr2ceqn5.js} +1 -1
- package/dist/chunks/{generate-zxq2ej10.js → snapshot-zxq2ej10.js} +1 -1
- package/dist/chunks/{generate-b3f8fkhc.js → snapshot-zyk1yjk8.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- 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 +101 -101
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +75 -75
- package/dist/database/database.js +68 -68
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +92 -92
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +216 -216
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +104 -104
- package/dist/form.js +72 -72
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +79 -79
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +92 -92
- package/dist/models-dev.js +109 -109
- 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 +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +96 -96
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +97 -97
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +92 -92
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +5 -5
- 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 +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +91 -91
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +137 -137
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +92 -92
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +13 -13
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +95 -95
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/generate-69mbkchx.js +0 -253
- package/dist/chunks/generate-enfqrz6s.js +0 -26
- package/dist/chunks/generate-f81tjggh.js +0 -18
- /package/dist/chunks/{generate-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{generate-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
- /package/dist/chunks/{generate-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
- /package/dist/chunks/{generate-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
- /package/dist/chunks/{generate-1kg9ymc8.js → snapshot-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{generate-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
- /package/dist/chunks/{generate-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
- /package/dist/chunks/{generate-2axfhc9x.js → snapshot-2axfhc9x.js} +0 -0
- /package/dist/chunks/{generate-2bv980vf.js → snapshot-2bv980vf.js} +0 -0
- /package/dist/chunks/{generate-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{generate-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
- /package/dist/chunks/{generate-3asan66x.js → snapshot-3asan66x.js} +0 -0
- /package/dist/chunks/{generate-3t0ybcrp.js → snapshot-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{generate-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
- /package/dist/chunks/{generate-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
- /package/dist/chunks/{generate-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
- /package/dist/chunks/{generate-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
- /package/dist/chunks/{generate-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{generate-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
- /package/dist/chunks/{generate-53557ph1.js → snapshot-53557ph1.js} +0 -0
- /package/dist/chunks/{generate-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
- /package/dist/chunks/{generate-6prwharc.js → snapshot-6prwharc.js} +0 -0
- /package/dist/chunks/{generate-6q2bdcd1.js → snapshot-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{generate-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
- /package/dist/chunks/{generate-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
- /package/dist/chunks/{generate-822emrt2.js → snapshot-822emrt2.js} +0 -0
- /package/dist/chunks/{generate-84wd9syh.js → snapshot-84wd9syh.js} +0 -0
- /package/dist/chunks/{generate-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
- /package/dist/chunks/{generate-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
- /package/dist/chunks/{generate-8wj87zfr.js → snapshot-8wj87zfr.js} +0 -0
- /package/dist/chunks/{generate-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
- /package/dist/chunks/{generate-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{generate-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
- /package/dist/chunks/{generate-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
- /package/dist/chunks/{generate-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
- /package/dist/chunks/{generate-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{generate-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
- /package/dist/chunks/{generate-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{generate-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{generate-bw78ga2c.js → snapshot-bw78ga2c.js} +0 -0
- /package/dist/chunks/{generate-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
- /package/dist/chunks/{generate-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{generate-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
- /package/dist/chunks/{generate-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{generate-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
- /package/dist/chunks/{generate-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
- /package/dist/chunks/{generate-df08tz66.js → snapshot-df08tz66.js} +0 -0
- /package/dist/chunks/{generate-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
- /package/dist/chunks/{generate-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
- /package/dist/chunks/{generate-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
- /package/dist/chunks/{generate-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
- /package/dist/chunks/{generate-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
- /package/dist/chunks/{generate-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
- /package/dist/chunks/{generate-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
- /package/dist/chunks/{generate-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{generate-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
- /package/dist/chunks/{generate-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
- /package/dist/chunks/{generate-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
- /package/dist/chunks/{generate-g86h250q.js → snapshot-g86h250q.js} +0 -0
- /package/dist/chunks/{generate-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
- /package/dist/chunks/{generate-gftt206x.js → snapshot-gftt206x.js} +0 -0
- /package/dist/chunks/{generate-hk9envan.js → snapshot-hk9envan.js} +0 -0
- /package/dist/chunks/{generate-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
- /package/dist/chunks/{generate-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{generate-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
- /package/dist/chunks/{generate-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{generate-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{generate-jze0r7bz.js → snapshot-jze0r7bz.js} +0 -0
- /package/dist/chunks/{generate-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{generate-m18g726c.js → snapshot-m18g726c.js} +0 -0
- /package/dist/chunks/{generate-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
- /package/dist/chunks/{generate-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
- /package/dist/chunks/{generate-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
- /package/dist/chunks/{generate-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
- /package/dist/chunks/{generate-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
- /package/dist/chunks/{generate-pkyv6v7h.js → snapshot-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{generate-pyv0edze.js → snapshot-pyv0edze.js} +0 -0
- /package/dist/chunks/{generate-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
- /package/dist/chunks/{generate-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
- /package/dist/chunks/{generate-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
- /package/dist/chunks/{generate-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
- /package/dist/chunks/{generate-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
- /package/dist/chunks/{generate-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
- /package/dist/chunks/{generate-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
- /package/dist/chunks/{generate-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{generate-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{generate-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
- /package/dist/chunks/{generate-ve7vex1e.js → snapshot-ve7vex1e.js} +0 -0
- /package/dist/chunks/{generate-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
- /package/dist/chunks/{generate-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{generate-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
- /package/dist/chunks/{generate-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
- /package/dist/chunks/{generate-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
- /package/dist/chunks/{generate-x61499pn.js → snapshot-x61499pn.js} +0 -0
- /package/dist/chunks/{generate-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
- /package/dist/chunks/{generate-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
- /package/dist/chunks/{generate-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{generate-ym463w8f.js → snapshot-ym463w8f.js} +0 -0
- /package/dist/chunks/{generate-z5v4ffb3.js → snapshot-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{generate-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service80,
|
|
3
|
+
node84,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./snapshot-47x322b4.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service41,
|
|
8
|
+
node43
|
|
9
|
+
} from "./snapshot-vqfzq50h.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service17
|
|
12
|
+
} from "./snapshot-rqpny9hx.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-8ztaq101.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(Service80, 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, Service17);
|
|
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
|
+
node43.replace(Layer.succeed(Service41, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node84.replace(Layer.succeed(Service80, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service65
|
|
3
|
+
} from "./snapshot-1p2qp805.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service34
|
|
6
|
+
} from "./snapshot-8878tmfa.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigMcpPlugin: () =>
|
|
15
|
-
Plugin: () =>
|
|
12
|
+
var exports_mcp = {};
|
|
13
|
+
__export(exports_mcp, {
|
|
14
|
+
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
+
Plugin: () => Plugin13,
|
|
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 Plugin13 = 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* Service65;
|
|
28
|
+
const mcp = yield* Service34;
|
|
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 { Plugin13, register2, exports_mcp };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-addxnjmp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service84
|
|
6
|
+
} from "./snapshot-q23ecs5g.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event19
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-45s0xkqg.js";
|
|
11
11
|
import {
|
|
12
12
|
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./snapshot-m8949260.js";
|
|
15
15
|
import {
|
|
16
16
|
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
19
|
Service76
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./snapshot-xsnzbdwh.js";
|
|
21
21
|
import {
|
|
22
22
|
ID12
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./snapshot-z8zrb4dy.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load3,
|
|
26
|
+
derive3
|
|
27
|
+
} from "./snapshot-749np7n7.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./snapshot-m0ry780p.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID8
|
|
33
|
+
} from "./snapshot-3h3j01xz.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./snapshot-54ma36ye.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -164,7 +164,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
164
164
|
id: "opencode.provider.github.copilot",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
166
|
const providers = yield* Service76;
|
|
167
|
-
const bus = yield*
|
|
167
|
+
const bus = yield* Service84;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
170
170
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -182,7 +182,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
182
182
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
183
183
|
const provider = yield* providers.get(ID13.githubCopilot);
|
|
184
184
|
const remote = yield* Effect.tryPromise({
|
|
185
|
-
try: () =>
|
|
185
|
+
try: () => load3(url, {
|
|
186
186
|
...provider?.headers,
|
|
187
187
|
Authorization: `Bearer ${credential.refresh}`,
|
|
188
188
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -208,7 +208,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
208
208
|
if (loaded.models) {
|
|
209
209
|
evt.add({
|
|
210
210
|
info: item.provider,
|
|
211
|
-
models: Array.from(
|
|
211
|
+
models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
212
212
|
sourceConnection: loaded.connection
|
|
213
213
|
});
|
|
214
214
|
return;
|
|
@@ -265,7 +265,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
265
265
|
return;
|
|
266
266
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
267
267
|
return;
|
|
268
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
268
|
+
const agent = yield* ctx.agent.get({ agentID: ID8.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
269
269
|
return;
|
|
270
270
|
}));
|
|
271
271
|
if (agent?.data.model)
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service81,
|
|
8
|
+
node85
|
|
9
|
+
} from "./snapshot-bkgjq45n.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service16,
|
|
12
|
+
node18
|
|
13
|
+
} from "./snapshot-qb9v8xwx.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -24,20 +24,20 @@ __export(exports_filesystem, {
|
|
|
24
24
|
DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
|
|
25
25
|
DirectoryNotFoundError: () => DirectoryNotFoundError2,
|
|
26
26
|
Entry: () => Entry2,
|
|
27
|
-
Event: () =>
|
|
27
|
+
Event: () => Event2,
|
|
28
28
|
FileSystem: () => exports_filesystem,
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
32
|
ListInput: () => ListInput2,
|
|
33
33
|
Match: () => Match2,
|
|
34
|
-
NotFoundError: () =>
|
|
34
|
+
NotFoundError: () => NotFoundError2,
|
|
35
35
|
ReadInput: () => ReadInput2,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service15,
|
|
37
37
|
Submatch: () => Submatch2,
|
|
38
38
|
Write: () => Write2,
|
|
39
39
|
WriteInput: () => WriteInput2,
|
|
40
|
-
node: () =>
|
|
40
|
+
node: () => node17
|
|
41
41
|
});
|
|
42
42
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
43
43
|
import path from "path";
|
|
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
|
|
|
53
53
|
data: Schema.Uint8Array
|
|
54
54
|
});
|
|
55
55
|
|
|
56
|
-
class
|
|
56
|
+
class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
57
57
|
path: RelativePath2
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
105
105
|
limit: Schema.optionalKey(PositiveInt2)
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Event2 = FileSystem.Event;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service15 extends Context.Service()("@opencode/FileSystem") {
|
|
111
111
|
}
|
|
112
|
-
var baseLayer = Layer.effect(
|
|
112
|
+
var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
|
|
113
113
|
const fs = yield* FSUtil.Service;
|
|
114
|
-
const location = yield*
|
|
115
|
-
const search = yield*
|
|
114
|
+
const location = yield* Service81;
|
|
115
|
+
const search = yield* Service16;
|
|
116
116
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
|
|
117
117
|
if (cause.reason._tag === "NotFound")
|
|
118
118
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -122,22 +122,22 @@ var baseLayer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
122
122
|
}));
|
|
123
123
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
124
124
|
if (input.includes("\x00"))
|
|
125
|
-
return yield* Effect.fail(new
|
|
125
|
+
return yield* Effect.fail(new NotFoundError2({ path: input }));
|
|
126
126
|
const absolute = path.resolve(location.directory, input);
|
|
127
127
|
if (!FSUtil.contains(location.directory, absolute))
|
|
128
|
-
return yield* Effect.fail(new
|
|
129
|
-
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
128
|
+
return yield* Effect.fail(new NotFoundError2({ path: input }));
|
|
129
|
+
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input })), (_, error) => Effect.die(error)));
|
|
130
130
|
if (!FSUtil.contains(root, real))
|
|
131
|
-
return yield* Effect.fail(new
|
|
131
|
+
return yield* Effect.fail(new NotFoundError2({ path: input }));
|
|
132
132
|
return { absolute, real, directory: location.directory };
|
|
133
133
|
});
|
|
134
|
-
return
|
|
134
|
+
return Service15.of({
|
|
135
135
|
find: search.find,
|
|
136
136
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
137
137
|
const target = yield* resolve(input.path);
|
|
138
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
138
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
139
139
|
if (info.type !== "File")
|
|
140
|
-
return yield* Effect.fail(new
|
|
140
|
+
return yield* Effect.fail(new NotFoundError2({ path: input.path }));
|
|
141
141
|
return {
|
|
142
142
|
mime: FSUtil.mimeType(target.real),
|
|
143
143
|
size: Number(info.size),
|
|
@@ -147,7 +147,7 @@ var baseLayer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
147
147
|
}),
|
|
148
148
|
list: Effect.fn("FileSystem.list")(function* (input = {}) {
|
|
149
149
|
const directory = path.resolve(location.directory, input.path ?? ".");
|
|
150
|
-
const missing = new
|
|
150
|
+
const missing = new NotFoundError2({ path: RelativePath2.make(input.path ?? ".") });
|
|
151
151
|
const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
|
|
152
152
|
if (info.type !== "Directory")
|
|
153
153
|
return yield* missing;
|
|
@@ -171,10 +171,10 @@ var baseLayer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
171
171
|
})
|
|
172
172
|
});
|
|
173
173
|
}));
|
|
174
|
-
var
|
|
175
|
-
service:
|
|
174
|
+
var node17 = makeLocationNode({
|
|
175
|
+
service: Service15,
|
|
176
176
|
layer: baseLayer,
|
|
177
|
-
deps: [FSUtil.node,
|
|
177
|
+
deps: [FSUtil.node, node85, node18]
|
|
178
178
|
});
|
|
179
179
|
|
|
180
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
180
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service15, node17, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-c6yzar81.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service56
|
|
6
|
+
} from "./snapshot-3z984t13.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID10,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service69
|
|
14
|
+
} from "./snapshot-kyytvvrv.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch2 = {};
|
|
21
|
+
__export(exports_websearch2, {
|
|
22
|
+
Input: () => Input11,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
24
|
+
Plugin: () => Plugin31,
|
|
25
|
+
WebSearchTool: () => exports_websearch2,
|
|
26
|
+
description: () => description4,
|
|
27
|
+
name: () => name11
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var name11 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input11 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID10,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin31 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
52
|
+
const permission = yield* Service56;
|
|
53
53
|
const forms = yield* Service79;
|
|
54
|
-
const websearch = yield*
|
|
54
|
+
const websearch = yield* Service69;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name11,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description4,
|
|
59
|
+
input: Input11,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name11,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name11];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name11, NO_RESULTS2, description4, Input11, Plugin31, exports_websearch2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-m0ry780p.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-ywt8jp22.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin37,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint4
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint4 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin37 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin20 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint4, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin20 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint4, Plugin37, exports_firecrawl };
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service34
|
|
6
|
+
} from "./snapshot-8878tmfa.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service56
|
|
9
|
+
} from "./snapshot-3z984t13.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool/plugin/mcp-resource.ts
|
|
15
15
|
var exports_mcp_resource = {};
|
|
16
16
|
__export(exports_mcp_resource, {
|
|
17
17
|
McpResourceTools: () => exports_mcp_resource,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin28
|
|
19
19
|
});
|
|
20
20
|
import { ToolFailure } from "@opencode/ai";
|
|
21
21
|
import { Effect, Schema } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin28 = {
|
|
23
23
|
id: "opencode.tools.mcp-resources",
|
|
24
24
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
25
|
-
const mcp = yield*
|
|
26
|
-
const permission = yield*
|
|
25
|
+
const mcp = yield* Service34;
|
|
26
|
+
const permission = yield* Service56;
|
|
27
27
|
yield* ctx.tool.transform((editor) => {
|
|
28
28
|
editor.add({
|
|
29
29
|
name: "list_mcp_resources",
|
|
@@ -93,4 +93,4 @@ var Plugin8 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin28, exports_mcp_resource };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service83
|
|
3
|
-
} from "./generate-mgrzhrw3.js";
|
|
4
1
|
import {
|
|
5
2
|
Service84
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./snapshot-q23ecs5g.js";
|
|
4
|
+
import {
|
|
5
|
+
Service72
|
|
6
|
+
} from "./snapshot-vy3tkgf3.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service31,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./snapshot-dxj72tfx.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./snapshot-111rf178.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event5,
|
|
30
30
|
ID: () => ID3,
|
|
31
31
|
Info: () => Info3,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service31,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node24
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event5, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
44
|
-
const bus = yield*
|
|
45
|
-
const kv = yield*
|
|
43
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
44
|
+
const bus = yield* Service84;
|
|
45
|
+
const kv = yield* Service72;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service31.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node24 = Node.makeLocationNode({
|
|
226
|
+
service: Service31,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node24, exports_plugin2, Event5, ID3, Info3, Source2, State2 };
|