@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,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID11,
|
|
3
|
+
Info19,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./image-arz7hw7x.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./image-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service84,
|
|
11
11
|
node88
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./image-a6ty810w.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
15
|
Service83,
|
|
16
16
|
node87
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./image-0q9kf5tv.js";
|
|
18
18
|
import {
|
|
19
19
|
Service81,
|
|
20
20
|
node85
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./image-t6v32j07.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service46,
|
|
24
|
+
node48
|
|
25
|
+
} from "./image-909p1r3q.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./image-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./image-kb9j3d72.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node47
|
|
34
|
+
} from "./image-2y53w5jf.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./image-21tvpp2c.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./image-c61xtve1.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./image-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
46
|
node35
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./image-dmdxn4pm.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node54
|
|
51
|
+
} from "./image-4npmrd5n.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError9,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
ForkEmptyError2,
|
|
56
56
|
MessageDecodeError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./image-j8s9ab9g.js";
|
|
65
65
|
import {
|
|
66
66
|
ListInput5,
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
67
|
+
Service67,
|
|
68
|
+
node71
|
|
69
|
+
} from "./image-bn712fd7.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service52,
|
|
72
|
+
node55
|
|
73
|
+
} from "./image-9s8yzpye.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service43,
|
|
76
|
+
node46
|
|
77
|
+
} from "./image-tke1j2mf.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./image-5t3nmthw.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service35,
|
|
83
|
+
node38
|
|
84
|
+
} from "./image-4wrkd8nn.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./image-jzsdzy65.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./image-04aqpn0x.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service74,
|
|
93
|
+
node78
|
|
94
|
+
} from "./image-ccvzzz8a.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
99
|
Service31,
|
|
100
100
|
node34
|
|
101
|
-
} from "./
|
|
101
|
+
} from "./image-rbprr21d.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service39,
|
|
104
|
+
node42
|
|
105
|
+
} from "./image-15nepkqg.js";
|
|
106
106
|
import {
|
|
107
|
-
|
|
108
|
-
} from "./
|
|
107
|
+
make13
|
|
108
|
+
} from "./image-v30ksjc9.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./image-0nkbh456.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./image-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -123,22 +123,22 @@ __export(exports_session, {
|
|
|
123
123
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
124
124
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
|
-
ID: () =>
|
|
126
|
+
ID: () => ID11,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info19,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
130
|
ListInput: () => ListInput3,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
|
-
NotFoundError: () =>
|
|
133
|
+
NotFoundError: () => NotFoundError9,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service24,
|
|
136
136
|
Session: () => exports_session,
|
|
137
137
|
SessionSchema: () => SessionSchema2,
|
|
138
138
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
139
139
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
140
140
|
TurnRangeError: () => TurnRangeError2,
|
|
141
|
-
node: () =>
|
|
141
|
+
node: () => node27
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -149,26 +149,26 @@ import path from "path";
|
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
151
|
var ListInput3 = ListInput5;
|
|
152
|
-
class
|
|
152
|
+
class Service24 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
156
|
const database = yield* Service84;
|
|
157
157
|
const db = database.db;
|
|
158
158
|
const bus = yield* Service83;
|
|
159
159
|
const projects = yield* Service81;
|
|
160
|
-
const execution = yield*
|
|
160
|
+
const execution = yield* Service43;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
162
|
+
const transport = yield* Service35;
|
|
163
|
+
const store = yield* Service67;
|
|
164
|
+
const instances = yield* Service46;
|
|
165
165
|
const moves = yield* Service31;
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
169
|
-
const sessions = yield*
|
|
166
|
+
const jobs = yield* Service52;
|
|
167
|
+
const environments = yield* Service39;
|
|
168
|
+
const locations = yield* Service74;
|
|
169
|
+
const sessions = yield* make13();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service24.of({
|
|
172
172
|
create: Effect.fn("Session.create")(function* (input) {
|
|
173
173
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
174
174
|
const recorded = yield* store.get(sessionID);
|
|
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
176
176
|
return recorded;
|
|
177
177
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
178
178
|
if (input.parentID && parent === undefined)
|
|
179
|
-
return yield* new
|
|
179
|
+
return yield* new NotFoundError9({ sessionID: input.parentID });
|
|
180
180
|
const location = parent?.location ?? input.location;
|
|
181
181
|
if (location === undefined)
|
|
182
182
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service46, instances), Effect.provideService(Service84, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service46, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -327,27 +327,27 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
327
327
|
});
|
|
328
328
|
return result;
|
|
329
329
|
}));
|
|
330
|
-
var
|
|
331
|
-
service:
|
|
330
|
+
var node27 = Node.makeGlobalNode({
|
|
331
|
+
service: Service24,
|
|
332
332
|
layer,
|
|
333
333
|
deps: [
|
|
334
|
-
|
|
335
|
-
|
|
334
|
+
node55,
|
|
335
|
+
node42,
|
|
336
336
|
node88,
|
|
337
337
|
node87,
|
|
338
338
|
node85,
|
|
339
|
-
|
|
340
|
-
|
|
339
|
+
node46,
|
|
340
|
+
node38,
|
|
341
341
|
llmClient2,
|
|
342
|
-
|
|
343
|
-
node50,
|
|
342
|
+
node71,
|
|
344
343
|
node48,
|
|
344
|
+
node47,
|
|
345
345
|
node34,
|
|
346
346
|
node35,
|
|
347
|
-
|
|
347
|
+
node78,
|
|
348
348
|
FSUtil.node,
|
|
349
|
-
|
|
349
|
+
node54
|
|
350
350
|
]
|
|
351
351
|
});
|
|
352
352
|
|
|
353
|
-
export { ListAnchor2, ListInput3,
|
|
353
|
+
export { ListAnchor2, ListInput3, Service24, node27, exports_session };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-0q9kf5tv.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./image-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
Service80,
|
|
11
11
|
node84
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./image-5f3byeqc.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID13,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service76,
|
|
20
|
+
node80,
|
|
21
|
+
Event17
|
|
22
|
+
} from "./image-p4rtc4a0.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./image-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,26 +30,26 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event16,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID12,
|
|
36
|
+
Info: () => Info21,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service75,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
43
|
mergeCapabilities: () => mergeCapabilities2,
|
|
44
|
-
node: () =>
|
|
45
|
-
parse: () =>
|
|
44
|
+
node: () => node79,
|
|
45
|
+
parse: () => parse5
|
|
46
46
|
});
|
|
47
47
|
import { Model } from "@opencode/schema/model";
|
|
48
48
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
49
49
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
50
50
|
import { freeze } from "immer";
|
|
51
|
-
import { Event as
|
|
52
|
-
var
|
|
51
|
+
import { Event as Event16 } from "@opencode/schema/model";
|
|
52
|
+
var ID12 = Model.ID;
|
|
53
53
|
var VariantID2 = Model.VariantID;
|
|
54
54
|
var Family2 = Model.Family;
|
|
55
55
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -65,12 +65,12 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
65
65
|
};
|
|
66
66
|
var Cost2 = Model.Cost;
|
|
67
67
|
var Ref2 = Model.Ref;
|
|
68
|
-
var
|
|
68
|
+
var Info21 = Model.Info;
|
|
69
69
|
|
|
70
|
-
class
|
|
70
|
+
class Service75 extends Context.Service()("@opencode/Model") {
|
|
71
71
|
}
|
|
72
|
-
var layer = Layer.effect(
|
|
73
|
-
const providers = yield*
|
|
72
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
73
|
+
const providers = yield* Service76;
|
|
74
74
|
const bus = yield* Service83;
|
|
75
75
|
const location = yield* Service80;
|
|
76
76
|
let input;
|
|
@@ -117,7 +117,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
117
117
|
const models = writable(providerID);
|
|
118
118
|
if (!models)
|
|
119
119
|
return;
|
|
120
|
-
const model = draft(providerID, modelID) ??
|
|
120
|
+
const model = draft(providerID, modelID) ?? Info21.default(providerID, modelID);
|
|
121
121
|
update(model);
|
|
122
122
|
model.id = modelID;
|
|
123
123
|
model.providerID = providerID;
|
|
@@ -206,8 +206,8 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
206
206
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
207
207
|
});
|
|
208
208
|
});
|
|
209
|
-
yield* bus.subscribe(
|
|
210
|
-
return
|
|
209
|
+
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
210
|
+
return Service75.of({
|
|
211
211
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
212
212
|
reload,
|
|
213
213
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -226,7 +226,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
226
226
|
})
|
|
227
227
|
});
|
|
228
228
|
}));
|
|
229
|
-
var
|
|
229
|
+
var node79 = makeLocationNode({ service: Service75, layer, deps: [node80, node87, node84] });
|
|
230
230
|
function compatibility2(input) {
|
|
231
231
|
if (typeof input === "string")
|
|
232
232
|
return { reasoningField: input };
|
|
@@ -234,12 +234,12 @@ function compatibility2(input) {
|
|
|
234
234
|
return;
|
|
235
235
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
236
236
|
}
|
|
237
|
-
function
|
|
237
|
+
function parse5(input) {
|
|
238
238
|
const index = input.indexOf("/");
|
|
239
239
|
return {
|
|
240
|
-
providerID:
|
|
241
|
-
modelID:
|
|
240
|
+
providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
|
|
241
|
+
modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
|
|
242
242
|
};
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
-
export {
|
|
245
|
+
export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info21, Service75, node79, compatibility2, parse5, exports_model2, Event16 };
|
|
@@ -1,38 +1,38 @@
|
|
|
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
|
+
ID15,
|
|
9
9
|
OAuth3,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Event19,
|
|
11
|
+
Service78
|
|
12
|
+
} from "./image-9gtf3fja.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./image-addxnjmp.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID14,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./image-wabv6zcf.js";
|
|
20
20
|
import {
|
|
21
21
|
which2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./image-qaymkmh1.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
ID13,
|
|
25
|
+
Service76
|
|
26
|
+
} from "./image-p4rtc4a0.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
ID12
|
|
29
|
+
} from "./image-zpf8gqaa.js";
|
|
30
30
|
import {
|
|
31
31
|
iife2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./image-1kg9ymc8.js";
|
|
33
33
|
import {
|
|
34
34
|
configuredSettings2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./image-416yb7k1.js";
|
|
36
36
|
|
|
37
37
|
// src/plugin/provider/azure.ts
|
|
38
38
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -67,18 +67,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
67
67
|
}));
|
|
68
68
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
69
69
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
70
|
-
function
|
|
70
|
+
function make5(endpoints = {
|
|
71
71
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
72
72
|
management: "https://management.azure.com"
|
|
73
73
|
}) {
|
|
74
74
|
return define({
|
|
75
75
|
id: "opencode.provider.azure",
|
|
76
76
|
effect: Effect.fn(function* (ctx) {
|
|
77
|
-
const configured = yield* configuredSettings2(
|
|
77
|
+
const configured = yield* configuredSettings2(ID13.azure);
|
|
78
78
|
const processes = yield* AppProcess.Service;
|
|
79
79
|
const bus = yield* Service83;
|
|
80
|
-
const credentials = yield*
|
|
81
|
-
const providers = yield*
|
|
80
|
+
const credentials = yield* Service78;
|
|
81
|
+
const providers = yield* Service76;
|
|
82
82
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
83
83
|
const tokens = new Map;
|
|
84
84
|
const resourceIDs = new Map;
|
|
@@ -116,13 +116,13 @@ function make11(endpoints = {
|
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.integration.transform((editor) => {
|
|
118
118
|
editor.method.update({
|
|
119
|
-
integrationID:
|
|
119
|
+
integrationID: ID13.azure,
|
|
120
120
|
method: { type: "key", label: "API key", form: form() }
|
|
121
121
|
});
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID13.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "oauth",
|
|
@@ -152,8 +152,8 @@ function make11(endpoints = {
|
|
|
152
152
|
});
|
|
153
153
|
});
|
|
154
154
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
155
|
-
const connection = yield* ctx.integration.connection.active(
|
|
156
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
155
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
156
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID15.make(connection.id)) : undefined;
|
|
157
157
|
return { connection, resource: credentialResource(stored?.value) };
|
|
158
158
|
});
|
|
159
159
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -192,7 +192,7 @@ function make11(endpoints = {
|
|
|
192
192
|
}));
|
|
193
193
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
194
194
|
const connection = loaded.connection;
|
|
195
|
-
const settings = (yield* providers.get(
|
|
195
|
+
const settings = (yield* providers.get(ID13.azure))?.settings;
|
|
196
196
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
197
197
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
198
198
|
if (loaded.connection !== connection)
|
|
@@ -214,11 +214,11 @@ function make11(endpoints = {
|
|
|
214
214
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
215
215
|
if (!found)
|
|
216
216
|
return;
|
|
217
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
217
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID13.azure)))
|
|
218
218
|
return;
|
|
219
219
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
220
220
|
return;
|
|
221
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
221
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID13.azure)?.models.keys() ?? [], (id) => [
|
|
222
222
|
id.toLowerCase(),
|
|
223
223
|
id
|
|
224
224
|
]));
|
|
@@ -231,11 +231,11 @@ function make11(endpoints = {
|
|
|
231
231
|
yield* ctx.model.reload();
|
|
232
232
|
});
|
|
233
233
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
234
|
-
const resourceFor = (provider) => provider.id ===
|
|
234
|
+
const resourceFor = (provider) => provider.id === ID13.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
235
235
|
Object.assign(loaded, yield* load());
|
|
236
236
|
yield* ctx.provider.transform((evt) => {
|
|
237
237
|
for (const item of evt.list()) {
|
|
238
|
-
if (item.provider.id !==
|
|
238
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
239
239
|
continue;
|
|
240
240
|
const resourceName = resourceFor(item.provider);
|
|
241
241
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -250,7 +250,7 @@ function make11(endpoints = {
|
|
|
250
250
|
};
|
|
251
251
|
});
|
|
252
252
|
}
|
|
253
|
-
const item = evt.get(
|
|
253
|
+
const item = evt.get(ID13.azure);
|
|
254
254
|
if (!item)
|
|
255
255
|
return;
|
|
256
256
|
evt.add({
|
|
@@ -261,7 +261,7 @@ function make11(endpoints = {
|
|
|
261
261
|
});
|
|
262
262
|
yield* ctx.model.transform((models) => {
|
|
263
263
|
for (const item of models.provider.list()) {
|
|
264
|
-
if (item.provider.id !==
|
|
264
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
265
265
|
continue;
|
|
266
266
|
const resourceName = resourceFor(item.provider);
|
|
267
267
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -273,20 +273,20 @@ function make11(endpoints = {
|
|
|
273
273
|
}
|
|
274
274
|
if (!loaded.deployments)
|
|
275
275
|
return;
|
|
276
|
-
const catalog = models.list(
|
|
276
|
+
const catalog = models.list(ID13.azure);
|
|
277
277
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
278
278
|
for (const model of catalog) {
|
|
279
279
|
if (!deployed.has(model.id))
|
|
280
|
-
models.remove(
|
|
280
|
+
models.remove(ID13.azure, model.id);
|
|
281
281
|
}
|
|
282
282
|
for (const [id, model] of deployed) {
|
|
283
|
-
models.update(
|
|
283
|
+
models.update(ID13.azure, id, (draft) => Object.assign(draft, model));
|
|
284
284
|
}
|
|
285
285
|
});
|
|
286
|
-
yield* bus.subscribe(
|
|
286
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
287
287
|
yield* refresh().pipe(Effect.forkScoped);
|
|
288
288
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
289
|
-
const connection = yield* ctx.integration.connection.active(
|
|
289
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
290
290
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
291
291
|
return;
|
|
292
292
|
})) : undefined;
|
|
@@ -298,7 +298,7 @@ function make11(endpoints = {
|
|
|
298
298
|
return `Bearer ${current.access}`;
|
|
299
299
|
});
|
|
300
300
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
301
|
-
if (evt.model.providerID !==
|
|
301
|
+
if (evt.model.providerID !== ID13.azure)
|
|
302
302
|
return;
|
|
303
303
|
const authorization = yield* bearer(evt.request.url);
|
|
304
304
|
if (!authorization)
|
|
@@ -307,9 +307,9 @@ function make11(endpoints = {
|
|
|
307
307
|
evt.request.headers.delete("x-api-key");
|
|
308
308
|
evt.request.headers.set("authorization", authorization);
|
|
309
309
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
310
|
-
}), { providerID:
|
|
310
|
+
}), { providerID: ID13.azure });
|
|
311
311
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
312
|
-
if (evt.model.providerID !==
|
|
312
|
+
if (evt.model.providerID !== ID13.azure)
|
|
313
313
|
return;
|
|
314
314
|
const authorization = yield* bearer(evt.url);
|
|
315
315
|
if (!authorization)
|
|
@@ -318,11 +318,11 @@ function make11(endpoints = {
|
|
|
318
318
|
delete evt.headers["x-api-key"];
|
|
319
319
|
evt.headers.authorization = authorization;
|
|
320
320
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
321
|
-
}), { providerID:
|
|
321
|
+
}), { providerID: ID13.azure });
|
|
322
322
|
})
|
|
323
323
|
});
|
|
324
324
|
}
|
|
325
|
-
var AzurePlugin2 =
|
|
325
|
+
var AzurePlugin2 = make5();
|
|
326
326
|
function resolveResourceName(settings, fallback) {
|
|
327
327
|
const configured = settings?.resourceName;
|
|
328
328
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -352,11 +352,11 @@ function deployedModels(deployments, catalog) {
|
|
|
352
352
|
const model = catalogModel(models, deployment);
|
|
353
353
|
if (!model)
|
|
354
354
|
return [];
|
|
355
|
-
const id =
|
|
355
|
+
const id = ID12.make(deployment.name.toLowerCase());
|
|
356
356
|
const info = {
|
|
357
357
|
...structuredClone(model),
|
|
358
358
|
id,
|
|
359
|
-
modelID:
|
|
359
|
+
modelID: ID12.make(deployment.name),
|
|
360
360
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
361
361
|
};
|
|
362
362
|
return [[id, info]];
|
|
@@ -378,4 +378,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
378
378
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
379
379
|
}
|
|
380
380
|
|
|
381
|
-
export {
|
|
381
|
+
export { make5, AzurePlugin2 };
|