@opencode/core 0.0.0-dev-20532 → 0.0.0-dev-20533
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 +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{bus-528rwthr.js → image-04aqpn0x.js} +8 -8
- package/dist/chunks/{bus-z6c3x22d.js → image-0bwnrbmb.js} +5 -5
- package/dist/chunks/{bus-d410y363.js → image-0bzve7m2.js} +5 -5
- package/dist/chunks/{bus-zgktkfeb.js → image-0na1b1gm.js} +48 -48
- package/dist/chunks/{bus-kvb2njdg.js → image-0nkbh456.js} +8 -8
- package/dist/chunks/{bus-0paq2nw3.js → image-0paq2nw3.js} +1 -1
- package/dist/chunks/{bus-b34btn2x.js → image-0q9kf5tv.js} +4 -4
- package/dist/chunks/{bus-a3m27bpe.js → image-0sx8qwq0.js} +26 -26
- package/dist/chunks/{bus-0vbcp93d.js → image-0vbcp93d.js} +2 -2
- package/dist/chunks/{bus-csy1xffp.js → image-0w122yxh.js} +21 -21
- package/dist/chunks/{bus-5ebdnkka.js → image-0y1042ra.js} +15 -15
- package/dist/chunks/{bus-kd3kkb04.js → image-0ze6xpc4.js} +5 -5
- package/dist/chunks/{bus-y56ehv6b.js → image-11dqjexa.js} +9 -9
- package/dist/chunks/{bus-8s1fj8xg.js → image-15nepkqg.js} +8 -8
- package/dist/chunks/{bus-x9zh6xzs.js → image-165224c5.js} +82 -82
- package/dist/chunks/{bus-1acjjqhc.js → image-1acjjqhc.js} +1 -1
- package/dist/chunks/{bus-34x4fzdd.js → image-1dawjks7.js} +13 -13
- package/dist/chunks/{bus-1dazxqgg.js → image-1dazxqgg.js} +2 -2
- package/dist/chunks/{bus-ka4ktcdt.js → image-1w4dgp74.js} +14 -14
- package/dist/chunks/{bus-56gdpj1q.js → image-1ygqh575.js} +9 -9
- package/dist/chunks/{bus-emzxkhp6.js → image-1ypajzm3.js} +52 -52
- package/dist/chunks/{bus-pkqb68ka.js → image-21tvpp2c.js} +4 -4
- package/dist/chunks/{bus-7qaytd5a.js → image-28n5w14t.js} +27 -27
- package/dist/chunks/{bus-2a5m3afh.js → image-2a5m3afh.js} +1 -1
- package/dist/chunks/{bus-15qybdcz.js → image-2vb0m4sa.js} +4 -4
- package/dist/chunks/{bus-w60s1nmp.js → image-2wv53gaq.js} +9 -9
- package/dist/chunks/{bus-9pe7jy64.js → image-2y53w5jf.js} +20 -20
- package/dist/chunks/{bus-gq8z9g07.js → image-2z5cr914.js} +22 -22
- package/dist/chunks/{bus-21kksasn.js → image-2z8cmg4f.js} +48 -48
- package/dist/chunks/{bus-cvpp86w1.js → image-30af84ad.js} +5 -5
- package/dist/chunks/{bus-h2b79v29.js → image-3cegwx68.js} +2 -2
- package/dist/chunks/{bus-0e67spv3.js → image-3eqhsn6r.js} +13 -13
- package/dist/chunks/{bus-3fc6dm20.js → image-3fc6dm20.js} +1 -1
- package/dist/chunks/{bus-3hepkmqq.js → image-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-0hndetk6.js → image-3pt18ddt.js} +20 -20
- package/dist/chunks/{bus-p2mhzkt3.js → image-3qbdf9ts.js} +9 -9
- package/dist/chunks/{bus-3smtnn6g.js → image-3smtnn6g.js} +1 -1
- package/dist/chunks/{bus-7amahv2c.js → image-3t8d2924.js} +10 -10
- package/dist/chunks/{bus-3tvqynh2.js → image-3tvqynh2.js} +1 -1
- package/dist/chunks/{bus-13ja4b2n.js → image-3ykdjwsk.js} +6 -6
- package/dist/chunks/{bus-hx4cwj70.js → image-3yqb6p60.js} +13 -13
- package/dist/chunks/{bus-3zsf4n22.js → image-3zsf4n22.js} +1 -1
- package/dist/chunks/{bus-rddwsqyn.js → image-416yb7k1.js} +6 -6
- package/dist/chunks/{bus-atm27pd5.js → image-42497aj7.js} +9 -9
- package/dist/chunks/{bus-knevfgda.js → image-44ak30pa.js} +4 -4
- package/dist/chunks/{bus-9syxb0r3.js → image-4npmrd5n.js} +11 -11
- package/dist/chunks/{bus-4ts7tf6z.js → image-4ts7tf6z.js} +2 -2
- package/dist/chunks/{bus-3w0qzhbt.js → image-4wg1qszp.js} +43 -43
- package/dist/chunks/{bus-2j28q1nd.js → image-4wrkd8nn.js} +11 -11
- package/dist/chunks/{bus-jya8gd5a.js → image-4xxx3g7n.js} +15 -15
- package/dist/chunks/{bus-54ma36ye.js → image-54ma36ye.js} +1 -1
- package/dist/chunks/{bus-e47b9zhk.js → image-5a1rh38j.js} +1 -1
- package/dist/chunks/{bus-5daktx2q.js → image-5daktx2q.js} +1 -1
- package/dist/chunks/{bus-b5txeqhw.js → image-5em88vt3.js} +25 -25
- package/dist/chunks/{bus-vbz2qf1p.js → image-5f3byeqc.js} +2 -2
- package/dist/chunks/{bus-qekcdh3p.js → image-5nwak147.js} +3 -3
- package/dist/chunks/{bus-5t3nmthw.js → image-5t3nmthw.js} +2 -2
- package/dist/chunks/{bus-rc5jmt6g.js → image-5vw7j8zj.js} +11 -11
- package/dist/chunks/{bus-j5mjpdyd.js → image-65h3y7s4.js} +26 -26
- package/dist/chunks/{bus-669tq793.js → image-669tq793.js} +1 -1
- package/dist/chunks/{bus-dbe7j1rs.js → image-6ajmbb10.js} +8 -8
- package/dist/chunks/{bus-ce9wzpbj.js → image-6bcqaf1k.js} +5 -5
- package/dist/chunks/{bus-dxj613cd.js → image-6dher0rp.js} +24 -24
- package/dist/chunks/{bus-sbh8a9vz.js → image-6dz2y33h.js} +7 -7
- package/dist/chunks/{bus-m735122a.js → image-6kxx5nj2.js} +15 -15
- package/dist/chunks/{bus-719t7qwy.js → image-6mq306kf.js} +15 -15
- package/dist/chunks/{bus-mnjrpp8b.js → image-6n84hwn8.js} +24 -24
- package/dist/chunks/{bus-7bmhse3q.js → image-7bmhse3q.js} +1 -1
- package/dist/chunks/{bus-ta4w37jc.js → image-7c6s17vd.js} +13 -13
- package/dist/chunks/{bus-v55f9rey.js → image-7w85bd0v.js} +13 -13
- package/dist/chunks/{bus-2hyk2cp1.js → image-7xefxa1b.js} +18 -18
- package/dist/chunks/{bus-3wj6fqkv.js → image-801vz39t.js} +26 -26
- package/dist/chunks/{bus-1dvck2a7.js → image-84h8c373.js} +2 -2
- package/dist/chunks/{bus-w1eejvng.js → image-84txncab.js} +5 -5
- package/dist/chunks/{bus-n5w125mz.js → image-88586yk8.js} +10 -10
- package/dist/chunks/{bus-8d7r5vzw.js → image-8d7r5vzw.js} +1 -1
- package/dist/chunks/{bus-hv7mkmtw.js → image-8mfdap3f.js} +8 -8
- package/dist/chunks/{bus-7fy529hx.js → image-8qeptwcf.js} +45 -45
- package/dist/chunks/{bus-ryr25ayn.js → image-8rqycdgd.js} +7 -7
- package/dist/chunks/{bus-ts23464c.js → image-8sze2n9a.js} +8 -8
- package/dist/chunks/{bus-tcay1cqt.js → image-909p1r3q.js} +6 -6
- package/dist/chunks/{bus-b6we54v8.js → image-97q8t400.js} +71 -71
- package/dist/chunks/{bus-et242a98.js → image-9gtf3fja.js} +30 -30
- package/dist/chunks/{bus-2tfv36h4.js → image-9gtn0d49.js} +11 -11
- package/dist/chunks/{bus-2cz08s9n.js → image-9s8yzpye.js} +16 -16
- package/dist/chunks/image-9sh4wc5j.js +18 -0
- package/dist/chunks/{bus-1m86xkfk.js → image-9tcd6kf4.js} +11 -11
- package/dist/chunks/{bus-8phe8gs5.js → image-9w6z1msx.js} +10 -10
- package/dist/chunks/{bus-r9vefb5s.js → image-9y4fyvj9.js} +15 -15
- package/dist/chunks/{bus-mvfsc1pv.js → image-a1gpj94z.js} +3 -3
- package/dist/chunks/{bus-7849783s.js → image-a6ty810w.js} +3 -3
- package/dist/chunks/{bus-wmq16de2.js → image-aa1twyr9.js} +4 -4
- package/dist/chunks/{bus-aaet6srn.js → image-aaet6srn.js} +2 -2
- package/dist/chunks/{bus-db2wf4at.js → image-addxnjmp.js} +4 -4
- package/dist/chunks/{bus-939s0wb1.js → image-aeknpwjp.js} +22 -22
- package/dist/chunks/{bus-k2376248.js → image-aesyxyae.js} +15 -15
- package/dist/chunks/{bus-51wtszcy.js → image-ahzha35r.js} +15 -15
- package/dist/chunks/{bus-0hw4ngcc.js → image-ans8dmj5.js} +33 -33
- package/dist/chunks/{bus-ss358qx3.js → image-arz7hw7x.js} +3 -3
- package/dist/chunks/{bus-ywvphykk.js → image-ax8wm56r.js} +25 -25
- package/dist/chunks/{bus-4ydbyy3z.js → image-azqq1d0c.js} +11 -11
- package/dist/chunks/{bus-dhcdh4fe.js → image-b0fxdq5g.js} +18 -18
- package/dist/chunks/{bus-b6gygkdw.js → image-b6gygkdw.js} +2 -2
- package/dist/chunks/{bus-4t985zy3.js → image-besg32kx.js} +16 -16
- package/dist/chunks/{bus-hawkgyqk.js → image-bn712fd7.js} +12 -12
- package/dist/chunks/{bus-tswwq3g5.js → image-btxt8gzs.js} +7 -7
- package/dist/chunks/{bus-snefhk9q.js → image-c61xtve1.js} +17 -17
- package/dist/chunks/{bus-n724cj1w.js → image-ca74j1r2.js} +4 -4
- package/dist/chunks/{bus-qgfw8dyt.js → image-ccvzzz8a.js} +9 -9
- package/dist/chunks/{bus-24xvpabx.js → image-cemmg988.js} +166 -166
- package/dist/chunks/{bus-qrzwks82.js → image-ck81h70z.js} +25 -25
- package/dist/chunks/{bus-xz0ghwzw.js → image-czzmkzgf.js} +3 -3
- package/dist/chunks/{bus-ndkh5v9a.js → image-d7cq9ezy.js} +316 -316
- package/dist/chunks/{bus-0zwf7z4g.js → image-dasd50vc.js} +1 -1
- package/dist/chunks/{bus-k3sn4jay.js → image-dbv05mm3.js} +4 -4
- package/dist/chunks/{bus-q4brc5g0.js → image-dfzt7k9z.js} +13 -13
- package/dist/chunks/{bus-j4zenrww.js → image-dhs430jm.js} +7 -7
- package/dist/chunks/{bus-03aghczj.js → image-dhwpmhdd.js} +11 -11
- package/dist/chunks/{bus-c765mh8b.js → image-djszqvmq.js} +9 -9
- package/dist/chunks/{bus-zrc63wqg.js → image-dmdxn4pm.js} +15 -15
- package/dist/chunks/{bus-xkntkrq7.js → image-dmqcgk4z.js} +5 -5
- package/dist/chunks/{bus-dpkg50ah.js → image-dpkg50ah.js} +1 -1
- package/dist/chunks/{bus-57myy5jh.js → image-dssbfrwz.js} +5 -5
- package/dist/chunks/{bus-y0kd2ap1.js → image-e2s36tnm.js} +19 -19
- package/dist/chunks/{bus-sxc61acf.js → image-e425rb6v.js} +17 -17
- package/dist/chunks/{bus-ef5x83kb.js → image-ef5x83kb.js} +1 -1
- package/dist/chunks/{bus-2pxrdsrc.js → image-ejsrhqvc.js} +3 -3
- package/dist/chunks/{bus-9pzwtkzk.js → image-ep0fakv4.js} +5 -5
- package/dist/chunks/{bus-etq0c3wd.js → image-etq0c3wd.js} +1 -1
- package/dist/chunks/{bus-bsyda0wx.js → image-f0c8m7at.js} +8 -8
- package/dist/chunks/{bus-ghdpaqfd.js → image-f4kf9m1y.js} +20 -20
- package/dist/chunks/{bus-nz569jqt.js → image-f62qkzqr.js} +5 -5
- package/dist/chunks/{bus-71az546q.js → image-f75zav2x.js} +2 -2
- package/dist/chunks/{bus-90rzbcvz.js → image-f9t2jyhr.js} +8 -8
- package/dist/chunks/{bus-1eh43htr.js → image-fqkjn7y7.js} +5 -5
- package/dist/chunks/{bus-gd4qta3r.js → image-gd4qta3r.js} +1 -1
- package/dist/chunks/{bus-wt7wxqbg.js → image-h0dk06es.js} +22 -22
- package/dist/chunks/{bus-nm5mg1ey.js → image-h53jngsn.js} +10 -10
- package/dist/chunks/{bus-3h50ke9p.js → image-h6h0qx3d.js} +34 -34
- package/dist/chunks/{bus-h6vf3j39.js → image-h6vf3j39.js} +1 -1
- package/dist/chunks/{bus-qqbgmfg2.js → image-hhgjswkb.js} +3 -3
- package/dist/chunks/{bus-swq4dna8.js → image-hm9hwmm7.js} +29 -29
- package/dist/chunks/{bus-skts9bh6.js → image-j3r0htje.js} +4 -4
- package/dist/chunks/{bus-j56e64zr.js → image-j56e64zr.js} +1 -1
- package/dist/chunks/{bus-99y98v8q.js → image-j8me8hvw.js} +21 -21
- package/dist/chunks/{bus-e8vwfchq.js → image-j8s9ab9g.js} +6 -6
- package/dist/chunks/{bus-1qdzc6f8.js → image-j9xcz2tx.js} +32 -32
- package/dist/chunks/{bus-1c0fr8pw.js → image-jdzgxeqc.js} +21 -21
- package/dist/chunks/{bus-yf8jw645.js → image-jeewpkja.js} +16 -16
- package/dist/chunks/{bus-r2jwvky4.js → image-jmfmmy6v.js} +22 -22
- package/dist/chunks/{bus-2ms5z22y.js → image-jnbzx70p.js} +32 -32
- package/dist/chunks/{bus-nrz4fk0v.js → image-jtcz6fmx.js} +18 -18
- package/dist/chunks/{bus-xqe8086j.js → image-jza4j236.js} +13 -13
- package/dist/chunks/{bus-8zfs4s2h.js → image-jzsdzy65.js} +16 -16
- package/dist/chunks/{bus-59d4rtjn.js → image-jzt42scw.js} +26 -26
- package/dist/chunks/{bus-h9h2sp5f.js → image-k17pjak8.js} +16 -16
- package/dist/chunks/{bus-a2qe2ev9.js → image-k1gkpfdk.js} +8 -8
- package/dist/chunks/{bus-z55wc6c1.js → image-k5kkq75a.js} +4 -4
- package/dist/chunks/{bus-g31erja1.js → image-k70p9jzb.js} +9 -9
- package/dist/chunks/image-k9hpsh7n.js +26 -0
- package/dist/chunks/{bus-9e5bzkjp.js → image-kb9j3d72.js} +3 -3
- package/dist/chunks/{bus-adp03cxn.js → image-kt0esg8p.js} +11 -11
- package/dist/chunks/{bus-5xr0x5g4.js → image-kv97enbb.js} +30 -30
- package/dist/chunks/{bus-cavr175a.js → image-kvvk39gs.js} +4 -4
- package/dist/chunks/{bus-2ddq13q9.js → image-kww3qs6q.js} +23 -23
- package/dist/chunks/{bus-hbepmwya.js → image-ky6yw5g0.js} +17 -17
- package/dist/chunks/{bus-m3fdjcah.js → image-m3fdjcah.js} +1 -1
- package/dist/chunks/{bus-6988ze4e.js → image-m72vf2gd.js} +12 -12
- package/dist/chunks/{bus-3ntj8y38.js → image-m96306pw.js} +10 -10
- package/dist/chunks/{bus-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-vedgqtbf.js → image-mc1xwb8r.js} +32 -32
- package/dist/chunks/{bus-yw029tn0.js → image-mff15jza.js} +7 -7
- package/dist/chunks/{bus-dtn93m2r.js → image-mjh3e1an.js} +11 -11
- package/dist/chunks/{bus-sqevgg1x.js → image-mqxcq9ag.js} +6 -6
- package/dist/chunks/{bus-r01t9b5y.js → image-mqzwkyay.js} +6 -6
- package/dist/chunks/{bus-gw7cjrad.js → image-n1n192bv.js} +4 -4
- package/dist/chunks/{bus-hws9xae0.js → image-nbmzwga5.js} +25 -25
- package/dist/chunks/{bus-cmgwyfv0.js → image-nhvya3p1.js} +23 -23
- package/dist/chunks/{bus-63db42yp.js → image-nqxj0yn4.js} +2 -2
- package/dist/chunks/{bus-wxyynt4w.js → image-ns3eape4.js} +1 -1
- package/dist/chunks/{bus-pazb1ewk.js → image-nxdkcg0t.js} +3 -3
- package/dist/chunks/{bus-phstrbs2.js → image-p37cw4rj.js} +8 -8
- package/dist/chunks/{bus-8g25bh64.js → image-p4rtc4a0.js} +29 -29
- package/dist/chunks/{bus-7v63qsk7.js → image-p6mn5kpz.js} +17 -17
- package/dist/chunks/{bus-fkt3mz8v.js → image-pcf5kfm0.js} +11 -11
- package/dist/chunks/{bus-pjvnvgmy.js → image-pjvnvgmy.js} +1 -1
- package/dist/chunks/{bus-pknna89w.js → image-pknna89w.js} +1 -1
- package/dist/chunks/{bus-wx3zay9s.js → image-pm8wv035.js} +22 -22
- package/dist/chunks/{bus-x1rhyk66.js → image-pttj84yp.js} +34 -34
- package/dist/chunks/{bus-d8gr1114.js → image-pwy55j0r.js} +26 -26
- package/dist/chunks/{bus-764brepw.js → image-px9wmdnb.js} +16 -16
- package/dist/chunks/{bus-q0xm7vwc.js → image-q0xm7vwc.js} +2 -2
- package/dist/chunks/{bus-ge9ne9cr.js → image-q2yq2gjj.js} +9 -9
- package/dist/chunks/{bus-gfqb8dcq.js → image-q52fpcke.js} +10 -10
- package/dist/chunks/{bus-xbhk2476.js → image-q5ngfwmn.js} +26 -26
- package/dist/chunks/{bus-202hh8b6.js → image-q9wfmdme.js} +11 -11
- package/dist/chunks/{bus-zs0mdj6c.js → image-qdhtzqa2.js} +8 -8
- package/dist/chunks/{bus-7dqw4kz8.js → image-qgn6gcr1.js} +5 -5
- package/dist/chunks/{bus-qnc92qwc.js → image-qnc92qwc.js} +1 -1
- package/dist/chunks/{bus-g6887ffs.js → image-qq8ybhxb.js} +8 -8
- package/dist/chunks/{bus-qsdy395h.js → image-qsdy395h.js} +1 -1
- package/dist/chunks/{bus-kjvzpkxx.js → image-qv7mm2ys.js} +11 -11
- package/dist/chunks/{bus-771821tr.js → image-qwzhw6b4.js} +8 -8
- package/dist/chunks/{bus-cjtr81bg.js → image-r8evdm5r.js} +23 -23
- package/dist/chunks/{bus-vnzjp2xb.js → image-rbprr21d.js} +39 -39
- package/dist/chunks/{bus-j8dqwpvr.js → image-rcs4n31g.js} +43 -43
- package/dist/chunks/{bus-rdw6cm16.js → image-rdw6cm16.js} +1 -1
- package/dist/chunks/{bus-0hf2dabw.js → image-rfkpwr2j.js} +20 -20
- package/dist/chunks/{bus-dyfbzmt6.js → image-rm42a5p7.js} +40 -40
- package/dist/chunks/{bus-pr326b8c.js → image-rnr5nq63.js} +15 -15
- package/dist/chunks/{bus-ytt4s9tm.js → image-rrpq0de9.js} +5 -5
- package/dist/chunks/{bus-vcf4f7mm.js → image-rydwr5yq.js} +16 -16
- package/dist/chunks/{bus-z3vf4qqs.js → image-rz9jawm0.js} +10 -10
- package/dist/chunks/{bus-wv396vej.js → image-s8d7rejh.js} +8 -8
- package/dist/chunks/{bus-cvz7ssjq.js → image-s9qk69v9.js} +14 -14
- package/dist/chunks/{bus-zyk1yjk8.js → image-scgrse2b.js} +5 -5
- package/dist/chunks/{bus-ddcjqb7b.js → image-sqd8sfd6.js} +39 -39
- package/dist/chunks/{bus-xegabxqp.js → image-srfcfy2e.js} +7 -7
- package/dist/chunks/{bus-xa7wt3am.js → image-ssw4eee2.js} +12 -12
- package/dist/chunks/{bus-vhr03ngy.js → image-sw6reqhd.js} +24 -24
- package/dist/chunks/{bus-2vffgt23.js → image-swz9yf49.js} +35 -35
- package/dist/chunks/{bus-3dvr22m4.js → image-t01ha5fv.js} +9 -9
- package/dist/chunks/{bus-cf5ayd46.js → image-t5y568kv.js} +11 -11
- package/dist/chunks/{bus-q4tvs8r8.js → image-t6v32j07.js} +8 -8
- package/dist/chunks/{bus-h9rm1rrn.js → image-t71v2ka4.js} +5 -5
- package/dist/chunks/{bus-tazgh4e4.js → image-tazgh4e4.js} +1 -1
- package/dist/chunks/{bus-79mtfj5c.js → image-tbnnfq83.js} +20 -20
- package/dist/chunks/{bus-tcezcvh9.js → image-tcezcvh9.js} +1 -1
- package/dist/chunks/{bus-tdstcens.js → image-tdstcens.js} +1 -1
- package/dist/chunks/{bus-kkp8zx71.js → image-tjedn1bk.js} +4 -4
- package/dist/chunks/{bus-3psn7w7h.js → image-tke1j2mf.js} +34 -34
- package/dist/chunks/{bus-cmg2xcs5.js → image-ttswb5c4.js} +11 -11
- package/dist/chunks/{bus-sq76bqdv.js → image-ttxcsnx6.js} +14 -14
- package/dist/chunks/{bus-9pmshs7t.js → image-tv99pcdp.js} +4 -4
- package/dist/chunks/{bus-16563rrk.js → image-tz7vcdn8.js} +20 -20
- package/dist/chunks/{bus-v0es1rhs.js → image-v0es1rhs.js} +2 -2
- package/dist/chunks/{bus-c7k02rcr.js → image-v30ksjc9.js} +33 -33
- package/dist/chunks/{bus-1chrhr7z.js → image-v310650k.js} +5 -5
- package/dist/chunks/{bus-y03t8dw0.js → image-v9s4hws0.js} +18 -18
- package/dist/chunks/image-vc89bnvz.js +253 -0
- package/dist/chunks/{bus-veqvce7d.js → image-veqvce7d.js} +1 -1
- package/dist/chunks/{bus-3vq87t0z.js → image-vf6bps2h.js} +3 -3
- package/dist/chunks/{bus-tdqx4ye7.js → image-vh0kh8n7.js} +3 -3
- package/dist/chunks/{bus-tgnb2k4a.js → image-vkkt5te1.js} +11 -11
- package/dist/chunks/{bus-xc5p1kc4.js → image-vzbxwz1d.js} +11 -11
- package/dist/chunks/{bus-vzcthcp8.js → image-vzcthcp8.js} +1 -1
- package/dist/chunks/{bus-vzs5sf6e.js → image-vzs5sf6e.js} +1 -1
- package/dist/chunks/{bus-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-gp8gzmxj.js → image-w4p6zx7p.js} +24 -24
- package/dist/chunks/{bus-b1263dz2.js → image-w9b9h2fr.js} +22 -22
- package/dist/chunks/{bus-zn5v3n4q.js → image-w9vf9qqj.js} +9 -9
- package/dist/chunks/{bus-hxeztvh1.js → image-wabv6zcf.js} +30 -30
- package/dist/chunks/{bus-wd87259q.js → image-wd87259q.js} +1 -1
- package/dist/chunks/{bus-x1ezjp6w.js → image-x1ezjp6w.js} +1 -1
- package/dist/chunks/{bus-rkgkngmn.js → image-x56pwdce.js} +10 -10
- package/dist/chunks/{bus-ydxad0et.js → image-xbkfksat.js} +44 -44
- package/dist/chunks/{bus-w19d8598.js → image-xfkkasph.js} +5 -5
- package/dist/chunks/{bus-xyafkbt0.js → image-xyafkbt0.js} +3 -3
- package/dist/chunks/{bus-vtvabry8.js → image-xzemz1mp.js} +11 -11
- package/dist/chunks/{bus-y1fvbwt7.js → image-y1fvbwt7.js} +1 -1
- package/dist/chunks/{bus-yh84mqgm.js → image-yd14hhn6.js} +20 -20
- package/dist/chunks/{bus-yf10kn3d.js → image-yf10kn3d.js} +1 -1
- package/dist/chunks/{bus-fx4tvk9b.js → image-yh4t3zdw.js} +4 -4
- package/dist/chunks/{bus-yrhqyw5v.js → image-yrhqyw5v.js} +1 -1
- package/dist/chunks/{bus-z0bkrqjs.js → image-z0bkrqjs.js} +1 -1
- package/dist/chunks/{bus-0vnef71r.js → image-z8v9jae5.js} +17 -17
- package/dist/chunks/{bus-cmzv90b7.js → image-z8ye16b1.js} +20 -20
- package/dist/chunks/{bus-3qnxet6s.js → image-zb1e6psc.js} +3 -3
- package/dist/chunks/{bus-aq5xdgj7.js → image-zmnekn2y.js} +8 -8
- package/dist/chunks/{bus-gp777cqg.js → image-zntmvw6r.js} +78 -78
- package/dist/chunks/{bus-4012ahpv.js → image-zpf8gqaa.js} +29 -29
- package/dist/chunks/{bus-nza4zmv1.js → image-zq8gz19f.js} +45 -45
- package/dist/chunks/{bus-zr2ceqn5.js → image-zr2ceqn5.js} +1 -1
- package/dist/chunks/{bus-3zbwexce.js → image-zsrjdhgv.js} +8 -8
- package/dist/chunks/{bus-kdc4anf3.js → image-zt6rd191.js} +2 -2
- package/dist/chunks/{bus-j9w8r9tz.js → image-zvma4j48.js} +6 -6
- package/dist/chunks/{bus-t7n9q6bq.js → image-zvt5dnpc.js} +4 -4
- package/dist/chunks/{bus-zxq2ej10.js → image-zxq2ej10.js} +1 -1
- 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 +118 -118
- package/dist/config/plugin/command.js +207 -207
- 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 +125 -125
- 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 +116 -116
- 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 +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- 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 +121 -121
- 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 +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- 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 +1 -1
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- 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 +102 -102
- package/dist/models-dev.js +105 -105
- 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 +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- 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 +115 -115
- 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 +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +218 -218
- 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 +93 -93
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- 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 +214 -214
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +125 -125
- package/dist/session/projector.js +84 -84
- 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 +94 -94
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +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 +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +207 -207
- 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 +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +87 -87
- 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 +126 -126
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- 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 +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- 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 +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +74 -74
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/bus-ctefx7dc.js +0 -18
- package/dist/chunks/bus-f6sqqyc6.js +0 -26
- package/dist/chunks/bus-wvd0q0e3.js +0 -253
- /package/dist/chunks/{bus-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → image-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → image-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → image-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-1kg9ymc8.js → image-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{bus-24dcb14g.js → image-24dcb14g.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → image-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2axfhc9x.js → image-2axfhc9x.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-34c7v6d4.js → image-34c7v6d4.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → image-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3asan66x.js → image-3asan66x.js} +0 -0
- /package/dist/chunks/{bus-3t0ybcrp.js → image-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → image-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-3w5fmr99.js → image-3w5fmr99.js} +0 -0
- /package/dist/chunks/{bus-3wcehsnq.js → image-3wcehsnq.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → image-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → image-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4vcrnpx2.js → image-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{bus-4y7fprxs.js → image-4y7fprxs.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → image-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-550bvhaj.js → image-550bvhaj.js} +0 -0
- /package/dist/chunks/{bus-5qd3pb7m.js → image-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → image-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → image-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → image-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → image-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → image-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → image-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-8wj87zfr.js → image-8wj87zfr.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → image-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-a6k6eb26.js → image-a6k6eb26.js} +0 -0
- /package/dist/chunks/{bus-af5trqkr.js → image-af5trqkr.js} +0 -0
- /package/dist/chunks/{bus-afrmfg78.js → image-afrmfg78.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → image-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → image-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → image-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-dajrwvna.js → image-dajrwvna.js} +0 -0
- /package/dist/chunks/{bus-dap0rakb.js → image-dap0rakb.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → image-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → image-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → image-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-e73j6tqm.js → image-e73j6tqm.js} +0 -0
- /package/dist/chunks/{bus-ec1grn59.js → image-ec1grn59.js} +0 -0
- /package/dist/chunks/{bus-eh3zwz77.js → image-eh3zwz77.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → image-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → image-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → image-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → image-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-fxgpk5d8.js → image-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{bus-g4wezp1m.js → image-g4wezp1m.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → image-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → image-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-gftt206x.js → image-gftt206x.js} +0 -0
- /package/dist/chunks/{bus-hjbc5kem.js → image-hjbc5kem.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → image-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → image-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{bus-jjkms2e6.js → image-jjkms2e6.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → image-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → image-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → image-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → image-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → image-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → image-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → image-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qaymkmh1.js → image-qaymkmh1.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → image-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → image-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qg3g05ea.js → image-qg3g05ea.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → image-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → image-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → image-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wc3fc9cn.js → image-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → image-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → image-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x0ckcb58.js → image-x0ckcb58.js} +0 -0
- /package/dist/chunks/{bus-x61499pn.js → image-x61499pn.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → image-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8cydn3q.js → image-y8cydn3q.js} +0 -0
- /package/dist/chunks/{bus-y8f7s663.js → image-y8f7s663.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-ym463w8f.js → image-ym463w8f.js} +0 -0
- /package/dist/chunks/{bus-z5v4ffb3.js → image-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → image-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service41
|
|
3
|
+
} from "./image-aeknpwjp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service40
|
|
6
|
+
} from "./image-rm42a5p7.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./image-k5kkq75a.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./image-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compatibility.ts
|
|
15
15
|
var exports_compatibility = {};
|
|
16
16
|
__export(exports_compatibility, {
|
|
17
17
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin47
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
24
|
-
var
|
|
24
|
+
var Plugin47 = define({
|
|
25
25
|
id: "opencode.config.compatibility",
|
|
26
26
|
effect: Effect.fn(function* (ctx) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service40;
|
|
28
28
|
const fs = yield* FSUtil.Service;
|
|
29
|
-
const watcher = yield*
|
|
29
|
+
const watcher = yield* Service41;
|
|
30
30
|
const watches = yield* FiberMap.make();
|
|
31
31
|
const changes = yield* PubSub.sliding(1);
|
|
32
32
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -73,4 +73,4 @@ var Plugin21 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin47, exports_compatibility };
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./image-0q9kf5tv.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service63,
|
|
8
|
+
node67
|
|
9
|
+
} from "./image-m96306pw.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./image-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event10,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service51,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node53,
|
|
26
|
+
resolve: () => resolve2
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service51 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event10 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
56
56
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
57
57
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var resolve2 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
60
60
|
const manifest = yield* inspect2(input.origin);
|
|
61
61
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
62
62
|
});
|
|
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
80
|
+
const kv = yield* Service63;
|
|
81
81
|
const bus = yield* Service83;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event10.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service51.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event10.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event10.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node53 = makeGlobalNode({ service: Service51, layer, deps: [httpClient, node67, node87] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service51, Event10, inspect2, resolve2, node53, exports_wellknown };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-0q9kf5tv.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service19,
|
|
6
6
|
Event3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./image-swz9yf49.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
29
29
|
var ModelsDevPlugin2 = define({
|
|
30
30
|
id: "opencode.models.dev",
|
|
31
31
|
effect: Effect.fn(function* (ctx) {
|
|
32
|
-
const modelsDev = yield*
|
|
32
|
+
const modelsDev = yield* Service19;
|
|
33
33
|
const bus = yield* Service83;
|
|
34
34
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
35
35
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-4npmrd5n.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-0q9kf5tv.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service78
|
|
11
|
+
} from "./image-9gtf3fja.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID14,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service77
|
|
16
|
+
} from "./image-wabv6zcf.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./image-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID13
|
|
23
|
+
} from "./image-p4rtc4a0.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./image-416yb7k1.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID13.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID14.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
56
|
+
const credentials = yield* Service78;
|
|
57
|
+
const integrations = yield* Service77;
|
|
58
58
|
const bus = yield* Service83;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
184
184
|
});
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
yield* bus.subscribe(
|
|
187
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
188
188
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
189
189
|
const token = envToken();
|
|
190
190
|
if (token)
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82,
|
|
6
6
|
node86
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./image-rrpq0de9.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./image-84txncab.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service63,
|
|
16
|
+
node67
|
|
17
|
+
} from "./image-m96306pw.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./image-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service62,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node66,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service62 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
106
|
const git = yield* Service82;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service63;
|
|
110
|
+
return Service62.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse4(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse4(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node66 = makeGlobalNode({
|
|
171
|
+
service: Service62,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node, node86, Global.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node67]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service62, isError2, validateBranch2, node66, exports_repository_cache };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./image-p4rtc4a0.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/prompt-cache-key.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.model.transform((models) => {
|
|
26
26
|
for (const id of providerIDs) {
|
|
27
|
-
const providerID =
|
|
27
|
+
const providerID = ID13.make(id);
|
|
28
28
|
for (const model of models.list(providerID)) {
|
|
29
29
|
models.update(model.providerID, model.id, (draft) => {
|
|
30
30
|
draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-0q9kf5tv.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service63,
|
|
7
|
+
node67
|
|
8
|
+
} from "./image-m96306pw.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./image-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./image-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
@@ -67,7 +67,7 @@ class Service23 extends Context.Service()("@opencode/WebSearch") {
|
|
|
67
67
|
}
|
|
68
68
|
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
69
69
|
const bus = yield* Service83;
|
|
70
|
-
const kv = yield*
|
|
70
|
+
const kv = yield* Service63;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -187,7 +187,7 @@ function cooldownMillis(value, now) {
|
|
|
187
187
|
var node26 = makeLocationNode({
|
|
188
188
|
service: Service23,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [node87,
|
|
190
|
+
deps: [node87, node67]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
193
|
export { ID4, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service23, node26, exports_websearch3, Event6 };
|