@opencode/core 0.0.0-dev-20531 → 0.0.0-dev-20532
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/{filesystem-nn8fb7t6.js → bus-03aghczj.js} +11 -11
- package/dist/chunks/{filesystem-b68vaz6m.js → bus-0e67spv3.js} +13 -13
- package/dist/chunks/{filesystem-qr2vfm7c.js → bus-0hf2dabw.js} +20 -20
- package/dist/chunks/{filesystem-zt3hkk6n.js → bus-0hndetk6.js} +15 -15
- package/dist/chunks/{filesystem-yb9gdvbw.js → bus-0hw4ngcc.js} +31 -31
- package/dist/chunks/{filesystem-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
- package/dist/chunks/{filesystem-0vbcp93d.js → bus-0vbcp93d.js} +2 -2
- package/dist/chunks/{filesystem-4jpz076h.js → bus-0vnef71r.js} +17 -17
- package/dist/chunks/{filesystem-vr5k2d26.js → bus-0zwf7z4g.js} +1 -1
- package/dist/chunks/{filesystem-nkbqs3g6.js → bus-13ja4b2n.js} +3 -3
- package/dist/chunks/{filesystem-82sy2mg5.js → bus-15qybdcz.js} +4 -4
- package/dist/chunks/{filesystem-0h4w2jpr.js → bus-16563rrk.js} +20 -20
- package/dist/chunks/{filesystem-1acjjqhc.js → bus-1acjjqhc.js} +1 -1
- package/dist/chunks/{filesystem-9d45qq6m.js → bus-1c0fr8pw.js} +21 -21
- package/dist/chunks/{filesystem-c1rs4prt.js → bus-1chrhr7z.js} +5 -5
- package/dist/chunks/{filesystem-1dazxqgg.js → bus-1dazxqgg.js} +2 -2
- package/dist/chunks/{filesystem-1dvck2a7.js → bus-1dvck2a7.js} +2 -2
- package/dist/chunks/{filesystem-9z5f2m0a.js → bus-1eh43htr.js} +5 -5
- package/dist/chunks/{filesystem-8fvnpy6c.js → bus-1m86xkfk.js} +6 -6
- package/dist/chunks/{filesystem-t2haz5gh.js → bus-1qdzc6f8.js} +32 -32
- package/dist/chunks/{filesystem-ts3jh11f.js → bus-202hh8b6.js} +11 -11
- package/dist/chunks/{filesystem-b3pp9b5c.js → bus-21kksasn.js} +48 -48
- package/dist/chunks/{filesystem-12sp09rz.js → bus-24xvpabx.js} +156 -156
- package/dist/chunks/{filesystem-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
- package/dist/chunks/{filesystem-jgqxxj2j.js → bus-2cz08s9n.js} +14 -14
- package/dist/chunks/{filesystem-da2yvjyp.js → bus-2ddq13q9.js} +14 -14
- package/dist/chunks/{filesystem-qpb5c1z6.js → bus-2hyk2cp1.js} +18 -18
- package/dist/chunks/{filesystem-g4kgyb8v.js → bus-2j28q1nd.js} +11 -11
- package/dist/chunks/{filesystem-f9skksj2.js → bus-2ms5z22y.js} +32 -32
- package/dist/chunks/{filesystem-pbt1jtcc.js → bus-2pxrdsrc.js} +3 -3
- package/dist/chunks/{filesystem-5eefmsp7.js → bus-2tfv36h4.js} +14 -14
- package/dist/chunks/{filesystem-h9g3g433.js → bus-2vffgt23.js} +27 -27
- package/dist/chunks/{filesystem-b7fwmpe3.js → bus-34x4fzdd.js} +13 -13
- package/dist/chunks/{filesystem-c4yrfsg4.js → bus-3dvr22m4.js} +9 -9
- package/dist/chunks/{filesystem-3fc6dm20.js → bus-3fc6dm20.js} +1 -1
- package/dist/chunks/{filesystem-wbg99yep.js → bus-3h50ke9p.js} +34 -34
- package/dist/chunks/{filesystem-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-2apkwqsb.js → bus-3ntj8y38.js} +10 -10
- package/dist/chunks/{filesystem-9q4c8q0k.js → bus-3psn7w7h.js} +34 -34
- package/dist/chunks/{filesystem-d4sssd0r.js → bus-3qnxet6s.js} +3 -3
- package/dist/chunks/{filesystem-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
- package/dist/chunks/{filesystem-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
- package/dist/chunks/{filesystem-6tqa78yj.js → bus-3vq87t0z.js} +3 -3
- package/dist/chunks/{filesystem-2q1phy68.js → bus-3w0qzhbt.js} +42 -42
- package/dist/chunks/{filesystem-pm8b6h9m.js → bus-3wj6fqkv.js} +22 -22
- package/dist/chunks/{filesystem-03xyy9gs.js → bus-3zbwexce.js} +8 -8
- package/dist/chunks/{filesystem-3zsf4n22.js → bus-3zsf4n22.js} +1 -1
- package/dist/chunks/{filesystem-887wtq38.js → bus-4012ahpv.js} +27 -27
- package/dist/chunks/{filesystem-9dsgt9ga.js → bus-4t985zy3.js} +20 -20
- package/dist/chunks/{filesystem-4ts7tf6z.js → bus-4ts7tf6z.js} +2 -2
- package/dist/chunks/{filesystem-fsvjw6z4.js → bus-4ydbyy3z.js} +11 -11
- package/dist/chunks/{filesystem-4r8zejwp.js → bus-51wtszcy.js} +15 -15
- package/dist/chunks/{filesystem-64mvex4m.js → bus-528rwthr.js} +8 -8
- package/dist/chunks/{filesystem-54ma36ye.js → bus-54ma36ye.js} +1 -1
- package/dist/chunks/{filesystem-56gdpj1q.js → bus-56gdpj1q.js} +2 -2
- package/dist/chunks/{filesystem-wh6zw745.js → bus-57myy5jh.js} +5 -5
- package/dist/chunks/{filesystem-cj3ra4xv.js → bus-59d4rtjn.js} +22 -22
- package/dist/chunks/{filesystem-5daktx2q.js → bus-5daktx2q.js} +1 -1
- package/dist/chunks/{filesystem-k5d6ggnk.js → bus-5ebdnkka.js} +15 -15
- package/dist/chunks/{filesystem-5t3nmthw.js → bus-5t3nmthw.js} +2 -2
- package/dist/chunks/{filesystem-jp81aqv7.js → bus-5xr0x5g4.js} +21 -21
- package/dist/chunks/{filesystem-nqxj0yn4.js → bus-63db42yp.js} +2 -2
- package/dist/chunks/{filesystem-669tq793.js → bus-669tq793.js} +1 -1
- package/dist/chunks/{filesystem-bjwetsb5.js → bus-6988ze4e.js} +12 -12
- package/dist/chunks/{filesystem-ps5mjhzb.js → bus-719t7qwy.js} +15 -15
- package/dist/chunks/{filesystem-71az546q.js → bus-71az546q.js} +2 -2
- package/dist/chunks/{filesystem-2ycn1y7x.js → bus-764brepw.js} +16 -16
- package/dist/chunks/{filesystem-ar1hqry0.js → bus-771821tr.js} +8 -8
- package/dist/chunks/{filesystem-py70tdg1.js → bus-7849783s.js} +3 -3
- package/dist/chunks/{filesystem-53dbz2qs.js → bus-79mtfj5c.js} +25 -25
- package/dist/chunks/{filesystem-zfd6e9bj.js → bus-7amahv2c.js} +12 -12
- package/dist/chunks/{filesystem-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-7dqw4kz8.js → bus-7dqw4kz8.js} +1 -1
- package/dist/chunks/{filesystem-8f26ydmn.js → bus-7fy529hx.js} +41 -41
- package/dist/chunks/{filesystem-drqqp3v9.js → bus-7qaytd5a.js} +27 -27
- package/dist/chunks/{filesystem-w69xzprf.js → bus-7v63qsk7.js} +17 -17
- package/dist/chunks/{filesystem-8d7r5vzw.js → bus-8d7r5vzw.js} +1 -1
- package/dist/chunks/{filesystem-dkbsewq8.js → bus-8g25bh64.js} +29 -29
- package/dist/chunks/{filesystem-7tmatsbb.js → bus-8phe8gs5.js} +7 -7
- package/dist/chunks/{filesystem-vgx6weyf.js → bus-8s1fj8xg.js} +8 -8
- package/dist/chunks/{filesystem-v9wwnm74.js → bus-8zfs4s2h.js} +10 -10
- package/dist/chunks/{filesystem-2gqdvf5a.js → bus-90rzbcvz.js} +5 -5
- package/dist/chunks/{filesystem-qhrb4a35.js → bus-939s0wb1.js} +18 -18
- package/dist/chunks/{filesystem-p8ssyvcj.js → bus-99y98v8q.js} +30 -30
- package/dist/chunks/{filesystem-9e5bzkjp.js → bus-9e5bzkjp.js} +3 -3
- package/dist/chunks/{filesystem-dxn0tv1e.js → bus-9pe7jy64.js} +18 -18
- package/dist/chunks/{filesystem-ssxp0zwz.js → bus-9pmshs7t.js} +4 -4
- package/dist/chunks/{filesystem-hz0mfcnp.js → bus-9pzwtkzk.js} +5 -5
- package/dist/chunks/{filesystem-2kn5e7ew.js → bus-9syxb0r3.js} +7 -7
- package/dist/chunks/{filesystem-4a0nv7mx.js → bus-a2qe2ev9.js} +8 -8
- package/dist/chunks/{filesystem-ts1v98fg.js → bus-a3m27bpe.js} +28 -28
- package/dist/chunks/{filesystem-aaet6srn.js → bus-aaet6srn.js} +2 -2
- package/dist/chunks/{filesystem-bqnke3pc.js → bus-adp03cxn.js} +11 -11
- package/dist/chunks/{filesystem-hrs77wz1.js → bus-aq5xdgj7.js} +18 -18
- package/dist/chunks/{filesystem-yvxbrs33.js → bus-atm27pd5.js} +6 -6
- package/dist/chunks/{filesystem-b57xqxwy.js → bus-b1263dz2.js} +12 -12
- package/dist/chunks/{filesystem-73tar9qe.js → bus-b34btn2x.js} +4 -4
- package/dist/chunks/{filesystem-8mjme096.js → bus-b5txeqhw.js} +25 -25
- package/dist/chunks/{filesystem-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
- package/dist/chunks/{filesystem-31181pcg.js → bus-b6we54v8.js} +63 -63
- package/dist/chunks/{filesystem-5nv1sxm7.js → bus-bsyda0wx.js} +8 -8
- package/dist/chunks/{filesystem-qmqgtz8f.js → bus-c765mh8b.js} +9 -9
- package/dist/chunks/{filesystem-z9gshpcf.js → bus-c7k02rcr.js} +30 -30
- package/dist/chunks/{filesystem-mjymc32g.js → bus-cavr175a.js} +4 -4
- package/dist/chunks/{filesystem-p1qa6xf0.js → bus-ce9wzpbj.js} +5 -5
- package/dist/chunks/{filesystem-6ey4jt7g.js → bus-cf5ayd46.js} +11 -11
- package/dist/chunks/{filesystem-778v1p37.js → bus-cjtr81bg.js} +4 -4
- package/dist/chunks/{filesystem-nrrs8pkn.js → bus-cmg2xcs5.js} +11 -11
- package/dist/chunks/{filesystem-1rpgv84q.js → bus-cmgwyfv0.js} +20 -20
- package/dist/chunks/{filesystem-80zwctzz.js → bus-cmzv90b7.js} +17 -17
- package/dist/chunks/{filesystem-85p9n8tz.js → bus-csy1xffp.js} +21 -21
- package/dist/chunks/{filesystem-ctefx7dc.js → bus-ctefx7dc.js} +1 -1
- package/dist/chunks/{filesystem-h125g6et.js → bus-cvpp86w1.js} +5 -5
- package/dist/chunks/{filesystem-91vxggq8.js → bus-cvz7ssjq.js} +24 -24
- package/dist/chunks/{filesystem-wmn0mqt9.js → bus-d410y363.js} +5 -5
- package/dist/chunks/{filesystem-a08sk1xf.js → bus-d8gr1114.js} +24 -24
- package/dist/chunks/{filesystem-addxnjmp.js → bus-db2wf4at.js} +4 -4
- package/dist/chunks/{filesystem-e2ecsfnz.js → bus-dbe7j1rs.js} +11 -11
- package/dist/chunks/{filesystem-scqv88yq.js → bus-ddcjqb7b.js} +29 -29
- package/dist/chunks/{filesystem-fyhjcypg.js → bus-dhcdh4fe.js} +11 -11
- package/dist/chunks/{filesystem-dpkg50ah.js → bus-dpkg50ah.js} +1 -1
- package/dist/chunks/{filesystem-msp0qmja.js → bus-dtn93m2r.js} +11 -11
- package/dist/chunks/{filesystem-wk58j6tm.js → bus-dxj613cd.js} +12 -12
- package/dist/chunks/{filesystem-fxbx2n37.js → bus-dyfbzmt6.js} +36 -36
- package/dist/chunks/{filesystem-xen5jtsa.js → bus-e47b9zhk.js} +1 -1
- package/dist/chunks/{filesystem-snf1tfdw.js → bus-e8vwfchq.js} +6 -6
- package/dist/chunks/{filesystem-ef5x83kb.js → bus-ef5x83kb.js} +1 -1
- package/dist/chunks/{filesystem-6nqryyh5.js → bus-emzxkhp6.js} +52 -52
- package/dist/chunks/{filesystem-pkrc5xvy.js → bus-et242a98.js} +30 -30
- package/dist/chunks/{filesystem-etq0c3wd.js → bus-etq0c3wd.js} +1 -1
- package/dist/chunks/{filesystem-q0w5zgnd.js → bus-f6sqqyc6.js} +13 -13
- package/dist/chunks/{filesystem-tqhhq86f.js → bus-fkt3mz8v.js} +11 -11
- package/dist/chunks/{filesystem-2n81hgv1.js → bus-fx4tvk9b.js} +4 -4
- package/dist/chunks/{filesystem-k70p9jzb.js → bus-g31erja1.js} +9 -9
- package/dist/chunks/{filesystem-2w3n3m8j.js → bus-g6887ffs.js} +5 -5
- package/dist/chunks/{filesystem-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
- package/dist/chunks/{filesystem-eh93c3s7.js → bus-ge9ne9cr.js} +7 -7
- package/dist/chunks/{filesystem-cdmtew64.js → bus-gfqb8dcq.js} +8 -8
- package/dist/chunks/{filesystem-acdp6s4z.js → bus-ghdpaqfd.js} +17 -17
- package/dist/chunks/{filesystem-kwqjewqr.js → bus-gp777cqg.js} +71 -71
- package/dist/chunks/{filesystem-m7a2mh30.js → bus-gp8gzmxj.js} +24 -24
- package/dist/chunks/{filesystem-sew9t773.js → bus-gq8z9g07.js} +22 -22
- package/dist/chunks/{filesystem-n1n192bv.js → bus-gw7cjrad.js} +4 -4
- package/dist/chunks/{filesystem-h2b79v29.js → bus-h2b79v29.js} +2 -2
- package/dist/chunks/{filesystem-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
- package/dist/chunks/{filesystem-6td2m5pa.js → bus-h9h2sp5f.js} +14 -14
- package/dist/chunks/{filesystem-r2jew814.js → bus-h9rm1rrn.js} +5 -5
- package/dist/chunks/{filesystem-xn8gay62.js → bus-hawkgyqk.js} +12 -12
- package/dist/chunks/{filesystem-9k8khh75.js → bus-hbepmwya.js} +17 -17
- package/dist/chunks/{filesystem-kjfdeayr.js → bus-hv7mkmtw.js} +5 -5
- package/dist/chunks/{filesystem-7wx2pc4d.js → bus-hws9xae0.js} +5 -5
- package/dist/chunks/{filesystem-45jk3jnj.js → bus-hx4cwj70.js} +13 -13
- package/dist/chunks/{filesystem-z850ddpp.js → bus-hxeztvh1.js} +30 -30
- package/dist/chunks/{filesystem-gf17gtxz.js → bus-j4zenrww.js} +7 -7
- package/dist/chunks/{filesystem-j56e64zr.js → bus-j56e64zr.js} +1 -1
- package/dist/chunks/{filesystem-38a9mec5.js → bus-j5mjpdyd.js} +19 -19
- package/dist/chunks/{filesystem-b4vpaca7.js → bus-j8dqwpvr.js} +44 -44
- package/dist/chunks/{filesystem-anshh03w.js → bus-j9w8r9tz.js} +3 -3
- package/dist/chunks/{filesystem-pn1pz4vq.js → bus-jya8gd5a.js} +15 -15
- package/dist/chunks/{filesystem-ennymmbt.js → bus-k2376248.js} +15 -15
- package/dist/chunks/{filesystem-5kvqrqtt.js → bus-k3sn4jay.js} +4 -4
- package/dist/chunks/{filesystem-h1g26gxa.js → bus-ka4ktcdt.js} +8 -8
- package/dist/chunks/{filesystem-5c3xf46m.js → bus-kd3kkb04.js} +5 -5
- package/dist/chunks/{filesystem-82qs4kd9.js → bus-kdc4anf3.js} +2 -2
- package/dist/chunks/{filesystem-n3ryxqmw.js → bus-kjvzpkxx.js} +11 -11
- package/dist/chunks/{filesystem-qbqbaz6q.js → bus-kkp8zx71.js} +4 -4
- package/dist/chunks/{filesystem-espax8zg.js → bus-knevfgda.js} +4 -4
- package/dist/chunks/{filesystem-fxrszsqc.js → bus-kvb2njdg.js} +11 -11
- package/dist/chunks/{filesystem-m3fdjcah.js → bus-m3fdjcah.js} +1 -1
- package/dist/chunks/{filesystem-ym8tb199.js → bus-m735122a.js} +12 -12
- package/dist/chunks/{filesystem-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-3pv6zzd2.js → bus-mnjrpp8b.js} +24 -24
- package/dist/chunks/{filesystem-a1gpj94z.js → bus-mvfsc1pv.js} +3 -3
- package/dist/chunks/{filesystem-eafe18m5.js → bus-n5w125mz.js} +10 -10
- package/dist/chunks/{filesystem-kwjc5r28.js → bus-n724cj1w.js} +4 -4
- package/dist/chunks/{filesystem-906zpy71.js → bus-ndkh5v9a.js} +305 -305
- package/dist/chunks/{filesystem-gz5xbxw7.js → bus-nm5mg1ey.js} +10 -10
- package/dist/chunks/{filesystem-6n7seegv.js → bus-nrz4fk0v.js} +20 -20
- package/dist/chunks/{filesystem-axs6pdy0.js → bus-nz569jqt.js} +5 -5
- package/dist/chunks/{filesystem-hbayhptd.js → bus-nza4zmv1.js} +45 -45
- package/dist/chunks/{filesystem-y0cyrr97.js → bus-p2mhzkt3.js} +9 -9
- package/dist/chunks/{filesystem-6xzq5fa6.js → bus-pazb1ewk.js} +3 -3
- package/dist/chunks/{filesystem-cmwkp3r5.js → bus-phstrbs2.js} +8 -8
- package/dist/chunks/{filesystem-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
- package/dist/chunks/{filesystem-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-zfs8ae4p.js → bus-pkqb68ka.js} +4 -4
- package/dist/chunks/{filesystem-2e1yz4t0.js → bus-pr326b8c.js} +11 -11
- package/dist/chunks/{filesystem-q0xm7vwc.js → bus-q0xm7vwc.js} +2 -2
- package/dist/chunks/{filesystem-5jy0kct7.js → bus-q4brc5g0.js} +11 -11
- package/dist/chunks/{filesystem-3xy3xwp7.js → bus-q4tvs8r8.js} +8 -8
- package/dist/chunks/{filesystem-bex1x4zy.js → bus-qekcdh3p.js} +3 -3
- package/dist/chunks/{filesystem-j4gdhs7y.js → bus-qgfw8dyt.js} +9 -9
- package/dist/chunks/{filesystem-qnc92qwc.js → bus-qnc92qwc.js} +1 -1
- package/dist/chunks/{filesystem-xt1atnrg.js → bus-qqbgmfg2.js} +3 -3
- package/dist/chunks/{filesystem-j8k5ysy1.js → bus-qrzwks82.js} +25 -25
- package/dist/chunks/{filesystem-qsdy395h.js → bus-qsdy395h.js} +1 -1
- package/dist/chunks/{filesystem-68dcddmz.js → bus-r01t9b5y.js} +6 -6
- package/dist/chunks/{filesystem-bpbp8hpr.js → bus-r2jwvky4.js} +27 -27
- package/dist/chunks/{filesystem-fzrnca5p.js → bus-r9vefb5s.js} +15 -15
- package/dist/chunks/{filesystem-jvnkzp89.js → bus-rc5jmt6g.js} +11 -11
- package/dist/chunks/{filesystem-mv8b8kps.js → bus-rddwsqyn.js} +6 -6
- package/dist/chunks/{filesystem-rdw6cm16.js → bus-rdw6cm16.js} +1 -1
- package/dist/chunks/{filesystem-5r28c85n.js → bus-rkgkngmn.js} +10 -10
- package/dist/chunks/{filesystem-t6vsspdg.js → bus-ryr25ayn.js} +7 -7
- package/dist/chunks/{filesystem-q9tf20sz.js → bus-sbh8a9vz.js} +4 -4
- package/dist/chunks/{filesystem-cwbdp38r.js → bus-skts9bh6.js} +4 -4
- package/dist/chunks/{filesystem-s7j8m5w2.js → bus-snefhk9q.js} +15 -15
- package/dist/chunks/{filesystem-eaa81kvs.js → bus-sq76bqdv.js} +25 -25
- package/dist/chunks/{filesystem-dyyz5283.js → bus-sqevgg1x.js} +6 -6
- package/dist/chunks/{filesystem-arz7hw7x.js → bus-ss358qx3.js} +3 -3
- package/dist/chunks/{filesystem-kzarbxz4.js → bus-swq4dna8.js} +33 -33
- package/dist/chunks/{filesystem-9z7zeshw.js → bus-sxc61acf.js} +22 -22
- package/dist/chunks/{filesystem-dhmh7aw6.js → bus-t7n9q6bq.js} +4 -4
- package/dist/chunks/{filesystem-0jnt77nz.js → bus-ta4w37jc.js} +8 -8
- package/dist/chunks/{filesystem-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
- package/dist/chunks/{filesystem-c8bydgjz.js → bus-tcay1cqt.js} +6 -6
- package/dist/chunks/{filesystem-tcezcvh9.js → bus-tcezcvh9.js} +1 -1
- package/dist/chunks/{filesystem-fn3q1e6y.js → bus-tdqx4ye7.js} +3 -3
- package/dist/chunks/{filesystem-tdstcens.js → bus-tdstcens.js} +1 -1
- package/dist/chunks/{filesystem-58tv462p.js → bus-tgnb2k4a.js} +11 -11
- package/dist/chunks/{filesystem-b4twkq7r.js → bus-ts23464c.js} +8 -8
- package/dist/chunks/{filesystem-zrh84zxt.js → bus-tswwq3g5.js} +11 -11
- package/dist/chunks/{filesystem-v0es1rhs.js → bus-v0es1rhs.js} +2 -2
- package/dist/chunks/{filesystem-bkn7p5q5.js → bus-v55f9rey.js} +13 -13
- package/dist/chunks/{filesystem-78darpkf.js → bus-vbz2qf1p.js} +2 -2
- package/dist/chunks/{filesystem-a9rbwxzk.js → bus-vcf4f7mm.js} +16 -16
- package/dist/chunks/{filesystem-hrd6cbb0.js → bus-vedgqtbf.js} +32 -32
- package/dist/chunks/{filesystem-veqvce7d.js → bus-veqvce7d.js} +1 -1
- package/dist/chunks/{filesystem-3y96te51.js → bus-vhr03ngy.js} +26 -26
- package/dist/chunks/{filesystem-qrn3jd90.js → bus-vnzjp2xb.js} +41 -41
- package/dist/chunks/{filesystem-8wn17bgt.js → bus-vtvabry8.js} +11 -11
- package/dist/chunks/{filesystem-vzcthcp8.js → bus-vzcthcp8.js} +1 -1
- package/dist/chunks/{filesystem-vzs5sf6e.js → bus-vzs5sf6e.js} +1 -1
- package/dist/chunks/{filesystem-g5w8qwbj.js → bus-w19d8598.js} +7 -7
- package/dist/chunks/{filesystem-w1eejvng.js → bus-w1eejvng.js} +1 -1
- package/dist/chunks/{filesystem-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-m4fxjmpc.js → bus-w60s1nmp.js} +9 -9
- package/dist/chunks/{filesystem-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-e53c762s.js → bus-wmq16de2.js} +4 -4
- package/dist/chunks/{filesystem-dyehecrw.js → bus-wt7wxqbg.js} +17 -17
- package/dist/chunks/{filesystem-s8d7rejh.js → bus-wv396vej.js} +8 -8
- package/dist/chunks/bus-wvd0q0e3.js +253 -0
- package/dist/chunks/{filesystem-ptnpxtm5.js → bus-wx3zay9s.js} +24 -24
- package/dist/chunks/{filesystem-ns3eape4.js → bus-wxyynt4w.js} +1 -1
- package/dist/chunks/{filesystem-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
- package/dist/chunks/{filesystem-5jtj29cv.js → bus-x1rhyk66.js} +34 -34
- package/dist/chunks/{filesystem-v15jgdj5.js → bus-x9zh6xzs.js} +76 -76
- package/dist/chunks/{filesystem-2zadq5g7.js → bus-xa7wt3am.js} +7 -7
- package/dist/chunks/{filesystem-pv8gv9eh.js → bus-xbhk2476.js} +28 -28
- package/dist/chunks/{filesystem-dhcb13vn.js → bus-xc5p1kc4.js} +11 -11
- package/dist/chunks/{filesystem-c8fjvqma.js → bus-xegabxqp.js} +7 -7
- package/dist/chunks/{filesystem-xkntkrq7.js → bus-xkntkrq7.js} +2 -2
- package/dist/chunks/{filesystem-eagghdma.js → bus-xqe8086j.js} +13 -13
- package/dist/chunks/{filesystem-qxjc9qry.js → bus-xyafkbt0.js} +3 -3
- package/dist/chunks/{filesystem-thsy2857.js → bus-xz0ghwzw.js} +3 -3
- package/dist/chunks/{filesystem-vzjemywg.js → bus-y03t8dw0.js} +17 -17
- package/dist/chunks/{filesystem-tk8x1hm1.js → bus-y0kd2ap1.js} +19 -19
- package/dist/chunks/{filesystem-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
- package/dist/chunks/{filesystem-fwwk8vbp.js → bus-y56ehv6b.js} +9 -9
- package/dist/chunks/{filesystem-143r6mr8.js → bus-ydxad0et.js} +44 -44
- package/dist/chunks/{filesystem-hz0q9sdq.js → bus-yf10kn3d.js} +8 -8
- package/dist/chunks/{filesystem-78spbjhq.js → bus-yf8jw645.js} +16 -16
- package/dist/chunks/{filesystem-gv6xq7ga.js → bus-yh84mqgm.js} +18 -18
- package/dist/chunks/{filesystem-yrhqyw5v.js → bus-yrhqyw5v.js} +1 -1
- package/dist/chunks/{filesystem-zc5g640q.js → bus-ytt4s9tm.js} +5 -5
- package/dist/chunks/{filesystem-cykga7bk.js → bus-yw029tn0.js} +13 -13
- package/dist/chunks/{filesystem-awtjdqmz.js → bus-ywvphykk.js} +26 -26
- package/dist/chunks/{filesystem-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
- package/dist/chunks/{filesystem-5mb7ck5g.js → bus-z3vf4qqs.js} +10 -10
- package/dist/chunks/{filesystem-7ktbgdd3.js → bus-z55wc6c1.js} +6 -6
- package/dist/chunks/{filesystem-0r3c1bmw.js → bus-z6c3x22d.js} +5 -5
- package/dist/chunks/{filesystem-6pe82dve.js → bus-zgktkfeb.js} +31 -31
- package/dist/chunks/{filesystem-w8djw5a7.js → bus-zn5v3n4q.js} +9 -9
- package/dist/chunks/{filesystem-zr2ceqn5.js → bus-zr2ceqn5.js} +1 -1
- package/dist/chunks/{filesystem-dwetzd9n.js → bus-zrc63wqg.js} +16 -16
- package/dist/chunks/{filesystem-gx4wbphy.js → bus-zs0mdj6c.js} +8 -8
- package/dist/chunks/{filesystem-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
- package/dist/chunks/{filesystem-zyk1yjk8.js → bus-zyk1yjk8.js} +2 -2
- 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 +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +113 -113
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- 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 +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/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 +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +94 -94
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +99 -99
- 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 +91 -91
- 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 +355 -355
- package/dist/instruction-discovery.js +81 -81
- 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 +87 -87
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +352 -352
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +97 -97
- package/dist/mcp/instructions.js +123 -123
- 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 +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +99 -99
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +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 +78 -78
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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 +95 -95
- 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 +78 -78
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +113 -113
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- 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 +115 -115
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +84 -84
- package/dist/plugin/vcs/hg.js +84 -84
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +214 -214
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +89 -89
- 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 +91 -91
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +151 -151
- 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 +211 -211
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- 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 +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +125 -125
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- 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 +113 -113
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- 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 +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +201 -201
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +204 -204
- package/dist/session/usage.js +1 -1
- package/dist/session.js +205 -205
- 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 +7 -7
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- 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 +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/filesystem-rswcn97f.js +0 -253
- /package/dist/chunks/{filesystem-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{filesystem-24dcb14g.js → bus-24dcb14g.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-34c7v6d4.js → bus-34c7v6d4.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{filesystem-3t0ybcrp.js → bus-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-3w5fmr99.js → bus-3w5fmr99.js} +0 -0
- /package/dist/chunks/{filesystem-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{filesystem-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{filesystem-5qd3pb7m.js → bus-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-8wj87zfr.js → bus-8wj87zfr.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
- /package/dist/chunks/{filesystem-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{filesystem-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-dajrwvna.js → bus-dajrwvna.js} +0 -0
- /package/dist/chunks/{filesystem-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → bus-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{filesystem-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → bus-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hjbc5kem.js → bus-hjbc5kem.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{filesystem-jjkms2e6.js → bus-jjkms2e6.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qg3g05ea.js → bus-qg3g05ea.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wc3fc9cn.js → bus-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
- /package/dist/chunks/{filesystem-y8f7s663.js → bus-y8f7s663.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-ym463w8f.js → bus-ym463w8f.js} +0 -0
- /package/dist/chunks/{filesystem-z5v4ffb3.js → bus-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → bus-z9919s4g.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
9
|
-
Info: () =>
|
|
6
|
+
var exports_command5 = {};
|
|
7
|
+
__export(exports_command5, {
|
|
8
|
+
ConfigCommandV1: () => exports_command5,
|
|
9
|
+
Info: () => Info11
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info11 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info9 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info11, exports_command5 };
|
|
@@ -7,16 +7,16 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
12
|
Service80
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-vbz2qf1p.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./bus-7v63qsk7.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./bus-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./bus-8g25bh64.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-rddwsqyn.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
10
10
|
import { isArrayNonEmpty } from "effect/Array";
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Form } from "@opencode/schema/form";
|
|
13
|
-
var providerID =
|
|
13
|
+
var providerID = ID9.make("cloudflare-ai-gateway");
|
|
14
14
|
var accountIdField = Form.StringField.make({
|
|
15
15
|
type: "string",
|
|
16
16
|
key: "accountId",
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-7849783s.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make22,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-wv396vej.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-9e5bzkjp.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./bus-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
@@ -22,11 +22,11 @@ __export(exports_instruction_entry, {
|
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service37,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node41,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service37 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
65
|
-
key:
|
|
64
|
+
var source = (entry) => make22({
|
|
65
|
+
key: Key4.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
68
68
|
render: {
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make21({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service84;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service37.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node41 = makeLocationNode({ service: Service37, layer, deps: [node88] });
|
|
114
114
|
|
|
115
|
-
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2,
|
|
115
|
+
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service37, node41, exports_instruction_entry };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service82,
|
|
9
9
|
node86
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-ytt4s9tm.js";
|
|
11
11
|
import {
|
|
12
12
|
Service80,
|
|
13
13
|
node84
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./bus-vbz2qf1p.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./bus-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./bus-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error4,
|
|
26
|
+
ID: () => ID6,
|
|
27
|
+
Service: () => Service54,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node57,
|
|
30
30
|
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,18 +34,18 @@ import path from "path";
|
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID6 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error4 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service54 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service82;
|
|
51
51
|
const global = yield* Global.Service;
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID6.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service54.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node57 = makeLocationNode({
|
|
144
|
+
service: Service54,
|
|
145
145
|
layer,
|
|
146
146
|
deps: [FSUtil.node, node86, Global.node, node84]
|
|
147
147
|
});
|
|
148
|
-
var noopLayer3 = Layer.succeed(
|
|
148
|
+
var noopLayer3 = Layer.succeed(Service54, Service54.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service50, Service50.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error4 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error4({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID6, Error4, Service54, node57, noopLayer3, exports_snapshot2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-fxgpk5d8.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID16 = Session.ID;
|
|
5
|
+
var Info26 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID16, Info26, SessionSchema2 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node56
|
|
5
|
+
} from "./bus-9syxb0r3.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-gw7cjrad.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service79,
|
|
12
|
+
node83
|
|
13
|
+
} from "./bus-a2qe2ev9.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./bus-emzxkhp6.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./bus-tswwq3g5.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error3
|
|
22
|
+
} from "./bus-wx3zay9s.js";
|
|
23
23
|
import {
|
|
24
24
|
get5
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./bus-54ma36ye.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service39,
|
|
28
|
+
node43
|
|
29
|
+
} from "./bus-2j28q1nd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
31
|
+
make15
|
|
32
|
+
} from "./bus-w19d8598.js";
|
|
33
33
|
import {
|
|
34
34
|
toLLMMessages2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./bus-wxyynt4w.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./bus-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/session/model-request.ts
|
|
41
41
|
var exports_model_request = {};
|
|
42
42
|
__export(exports_model_request, {
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service38,
|
|
44
44
|
SessionModelRequest: () => exports_model_request,
|
|
45
45
|
baseTranscript: () => baseTranscript2,
|
|
46
46
|
boundImages: () => boundImages2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer14,
|
|
48
|
+
node: () => node42,
|
|
49
49
|
unsupportedParts: () => unsupportedParts2
|
|
50
50
|
});
|
|
51
51
|
import {
|
|
@@ -82,7 +82,7 @@ var baseTranscript2 = (input) => {
|
|
|
82
82
|
return {
|
|
83
83
|
providerMetadataKey,
|
|
84
84
|
system: [
|
|
85
|
-
input.agent.system ? input.agent.system :
|
|
85
|
+
input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
|
|
86
86
|
input.initial
|
|
87
87
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
88
88
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -151,11 +151,11 @@ var boundImages2 = (messages) => {
|
|
|
151
151
|
});
|
|
152
152
|
};
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service38 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
157
|
-
const hooks = yield*
|
|
158
|
-
const transport = yield*
|
|
156
|
+
var layer14 = Layer.effect(Service38, Effect.gen(function* () {
|
|
157
|
+
const hooks = yield* Service79;
|
|
158
|
+
const transport = yield* Service39;
|
|
159
159
|
const app = yield* Metadata2;
|
|
160
160
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
161
161
|
const session = input.session;
|
|
@@ -163,7 +163,7 @@ var layer13 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
163
163
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
164
164
|
const tools = input.tools ?? {
|
|
165
165
|
definitions: [],
|
|
166
|
-
execute: () => new
|
|
166
|
+
execute: () => new Error3({ message: "Tools are not available for this request" })
|
|
167
167
|
};
|
|
168
168
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
169
169
|
const shaped = yield* shape({
|
|
@@ -260,17 +260,17 @@ var layer13 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
260
260
|
};
|
|
261
261
|
});
|
|
262
262
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
263
|
-
return
|
|
263
|
+
return Service38.of({
|
|
264
264
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
265
265
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
266
266
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
267
267
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
268
268
|
});
|
|
269
269
|
}));
|
|
270
|
-
var
|
|
271
|
-
service:
|
|
272
|
-
layer:
|
|
273
|
-
deps: [
|
|
270
|
+
var node42 = makeLocationNode({
|
|
271
|
+
service: Service38,
|
|
272
|
+
layer: layer14,
|
|
273
|
+
deps: [node83, node43, node56]
|
|
274
274
|
});
|
|
275
275
|
|
|
276
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
276
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service38, layer14, node42, exports_model_request };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make22,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-wv396vej.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID5,
|
|
9
9
|
Name2,
|
|
10
10
|
available3,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service53,
|
|
12
|
+
node55
|
|
13
|
+
} from "./bus-cvz7ssjq.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./bus-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
21
|
-
Service: () =>
|
|
22
|
-
SkillInstructions: () =>
|
|
23
|
-
node: () =>
|
|
19
|
+
var exports_instructions4 = {};
|
|
20
|
+
__export(exports_instructions4, {
|
|
21
|
+
Service: () => Service36,
|
|
22
|
+
SkillInstructions: () => exports_instructions4,
|
|
23
|
+
node: () => node40
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
var Summary = Schema.Struct({
|
|
28
|
-
id:
|
|
28
|
+
id: ID5,
|
|
29
29
|
name: Name2,
|
|
30
30
|
description: Schema.String
|
|
31
31
|
});
|
|
@@ -60,15 +60,15 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service36 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service53;
|
|
67
|
+
return Service36.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
69
69
|
const available = available3(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
70
|
-
return
|
|
71
|
-
key:
|
|
70
|
+
return make22({
|
|
71
|
+
key: Key4.make("core/skill-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
74
74
|
render: {
|
|
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
80
80
|
})
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
83
|
+
var node40 = makeLocationNode({ service: Service36, layer, deps: [node55] });
|
|
84
84
|
|
|
85
|
-
export {
|
|
85
|
+
export { Service36, node40, exports_instructions4 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service45,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service45 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service45, exports_runner };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service64
|
|
3
|
+
} from "./bus-dyfbzmt6.js";
|
|
4
4
|
import {
|
|
5
5
|
Service42
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-zgktkfeb.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp = {};
|
|
13
13
|
__export(exports_mcp, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin16,
|
|
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 Plugin16 = 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*
|
|
27
|
+
const config = yield* Service64;
|
|
28
28
|
const mcp = yield* Service42;
|
|
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 }));
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin16, register2, exports_mcp };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service48,
|
|
10
|
+
node: () => node50
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service48 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node50 = LayerNode.unbound(Service48, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service48, node50, exports_service2 };
|