@opencode/core 0.0.0-dev-20659 → 0.0.0-dev-20661
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +73 -73
- package/dist/chunks/{git-9mdv1d98.js → repository-043vq6jw.js} +7 -7
- package/dist/chunks/{git-57vd24f3.js → repository-0618chc0.js} +8 -8
- package/dist/chunks/{git-kpde0a2c.js → repository-07bwtgn1.js} +17 -17
- package/dist/chunks/{git-ggevdayx.js → repository-0kfggb32.js} +4 -4
- package/dist/chunks/{git-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
- package/dist/chunks/{git-2k9fjx65.js → repository-0r3c1bmw.js} +5 -5
- package/dist/chunks/{git-8vy6cwnw.js → repository-0szg9e3a.js} +9 -9
- package/dist/chunks/{git-zn3xdhgm.js → repository-0te6a63x.js} +4 -4
- package/dist/chunks/{git-0vbcp93d.js → repository-0vbcp93d.js} +2 -2
- package/dist/chunks/{git-g1sxm558.js → repository-0xezjjjn.js} +8 -8
- package/dist/chunks/{git-h6310vsd.js → repository-0xqyf95c.js} +4 -4
- package/dist/chunks/{git-vs1y934m.js → repository-106g6zzb.js} +17 -17
- package/dist/chunks/{git-fdm4t8z9.js → repository-10h4ddzz.js} +13 -13
- package/dist/chunks/{git-wb9cfjnb.js → repository-10r6pp2x.js} +15 -15
- package/dist/chunks/{git-040b8ymy.js → repository-16f7tttd.js} +6 -6
- package/dist/chunks/{git-njerjs8t.js → repository-18g4yb7e.js} +26 -26
- package/dist/chunks/{git-yp2x3t23.js → repository-1acjjqhc.js} +4 -4
- package/dist/chunks/{git-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
- package/dist/chunks/{git-1dvck2a7.js → repository-1dvck2a7.js} +2 -2
- package/dist/chunks/{git-s5qxm7c2.js → repository-1ghf8zs3.js} +11 -11
- package/dist/chunks/{git-e6hqwnjd.js → repository-1pt39jfx.js} +9 -9
- package/dist/chunks/{git-3vpcsz7z.js → repository-1sb13fhj.js} +25 -25
- package/dist/chunks/{git-mf2m4y29.js → repository-205k8jhr.js} +35 -35
- package/dist/chunks/{git-v1tq3pwz.js → repository-21jd8v9m.js} +22 -22
- package/dist/chunks/{git-76ewd06k.js → repository-27b211kq.js} +3 -3
- package/dist/chunks/{git-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
- package/dist/chunks/{git-1j8ev5c3.js → repository-2f8h2t77.js} +24 -24
- package/dist/chunks/{git-v8825gx8.js → repository-2jnxrbr3.js} +10 -10
- package/dist/chunks/{git-rrjhvgg4.js → repository-2jpa8mfg.js} +13 -13
- package/dist/chunks/{git-1f2q55ad.js → repository-2na9pj0b.js} +33 -33
- package/dist/chunks/{git-73apqjm5.js → repository-2vn93ng9.js} +13 -13
- package/dist/chunks/{git-tnsjdj53.js → repository-301v9tya.js} +21 -21
- package/dist/chunks/{git-rwsmtxp6.js → repository-32pp5s05.js} +1 -1
- package/dist/chunks/{git-1ygqh575.js → repository-33w4ejhs.js} +6 -6
- package/dist/chunks/{git-nr6gcs3w.js → repository-379b4hhp.js} +8 -8
- package/dist/chunks/{git-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
- package/dist/chunks/{git-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{git-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
- package/dist/chunks/{git-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
- package/dist/chunks/{git-3zsf4n22.js → repository-3zsf4n22.js} +1 -1
- package/dist/chunks/{git-vk7prk4h.js → repository-40gcpxzn.js} +28 -28
- package/dist/chunks/{git-9pa8tak9.js → repository-4a2kvcyx.js} +2 -2
- package/dist/chunks/{git-n915pjdp.js → repository-4b9xfex1.js} +18 -18
- package/dist/chunks/{git-n3qqcskk.js → repository-4mg116vk.js} +29 -29
- package/dist/chunks/{git-qj64m8dx.js → repository-4pm1k6b6.js} +4 -4
- package/dist/chunks/{git-ej71bdfb.js → repository-4sb6t3m1.js} +47 -47
- package/dist/chunks/{git-2ccvkpx1.js → repository-4ts7tf6z.js} +2 -2
- package/dist/chunks/{git-aryft9f9.js → repository-4ya93pvd.js} +37 -37
- package/dist/chunks/{git-cs0f06fr.js → repository-4zfp2qta.js} +19 -19
- package/dist/chunks/{git-qs9cg63q.js → repository-4zws30q5.js} +18 -18
- package/dist/chunks/{git-xbs48zfb.js → repository-537jbssw.js} +53 -53
- package/dist/chunks/{git-54ma36ye.js → repository-54ma36ye.js} +1 -1
- package/dist/chunks/{git-afj4khrd.js → repository-551p5xfx.js} +29 -29
- package/dist/chunks/{git-rj7j44bj.js → repository-573jdjzy.js} +4 -4
- package/dist/chunks/{git-5daktx2q.js → repository-5daktx2q.js} +1 -1
- package/dist/chunks/{git-kw7v3js8.js → repository-5g6sbyxh.js} +24 -24
- package/dist/chunks/{git-73119sgt.js → repository-5j13w0pe.js} +22 -22
- package/dist/chunks/{git-5m9w47nd.js → repository-5m9w47nd.js} +1 -1
- package/dist/chunks/{git-em4qz8cs.js → repository-5meya16s.js} +10 -10
- package/dist/chunks/{git-e3qxr5gk.js → repository-5qd3pb7m.js} +2 -2
- package/dist/chunks/{git-6xkwkya9.js → repository-5rrf9qge.js} +12 -12
- package/dist/chunks/{git-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
- package/dist/chunks/{git-ykq2zx65.js → repository-5za7wpg2.js} +15 -15
- package/dist/chunks/{git-2336b01z.js → repository-64s65d1n.js} +8 -8
- package/dist/chunks/{git-qdhh749w.js → repository-6cpse6c2.js} +13 -13
- package/dist/chunks/{git-nd73648e.js → repository-6h5736te.js} +32 -32
- package/dist/chunks/{git-h9jvq6n0.js → repository-6hvm7cgx.js} +10 -10
- package/dist/chunks/{git-nkh99vgj.js → repository-6sxn0fyv.js} +15 -15
- package/dist/chunks/{git-6g7e4dd5.js → repository-6wjv80df.js} +9 -9
- package/dist/chunks/{git-6xb47vfp.js → repository-6xb47vfp.js} +1 -1
- package/dist/chunks/{git-71az546q.js → repository-71az546q.js} +2 -2
- package/dist/chunks/{git-c8s4yex5.js → repository-748da515.js} +17 -17
- package/dist/chunks/{git-14grjhb4.js → repository-74zds2q2.js} +38 -38
- package/dist/chunks/{git-bzt0dk37.js → repository-7ahbtrex.js} +26 -26
- package/dist/chunks/{git-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{git-2m6x7dk2.js → repository-7c7bareq.js} +23 -23
- package/dist/chunks/{git-2p5y98w0.js → repository-7ge4ak7p.js} +6 -6
- package/dist/chunks/{git-cfx504ks.js → repository-7kwx6gx2.js} +18 -18
- package/dist/chunks/{git-td93javk.js → repository-7n7v53sw.js} +9 -9
- package/dist/chunks/{git-qb9x4qxp.js → repository-7zrsqeap.js} +41 -41
- package/dist/chunks/{git-yj5m20h0.js → repository-8a6ws7jr.js} +9 -9
- package/dist/chunks/{git-41bfxxgf.js → repository-8b9545xm.js} +33 -33
- package/dist/chunks/{git-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
- package/dist/chunks/{git-vgepzxbh.js → repository-8qvzptz7.js} +4 -4
- package/dist/chunks/{git-bsbz52zb.js → repository-8t72k94d.js} +18 -18
- package/dist/chunks/{git-q6jj9914.js → repository-8vwp8w5g.js} +21 -21
- package/dist/chunks/{git-q3gb2bnw.js → repository-94heg7e8.js} +26 -26
- package/dist/chunks/{git-9e5bzkjp.js → repository-9e5bzkjp.js} +3 -3
- package/dist/chunks/{git-zyc72cgf.js → repository-9gaqynqt.js} +3 -3
- package/dist/chunks/{git-avae2qkj.js → repository-9k8khh75.js} +12 -12
- package/dist/chunks/{git-ey7wydsb.js → repository-9r8ns7n8.js} +27 -27
- package/dist/chunks/repository-9sh4wc5j.js +18 -0
- package/dist/chunks/{git-gyn5n75h.js → repository-9vk7ehay.js} +9 -9
- package/dist/chunks/{git-rrt2er56.js → repository-9z6cmhkq.js} +3 -3
- package/dist/chunks/{git-73tb2d7t.js → repository-a1gpj94z.js} +3 -3
- package/dist/chunks/{git-56qj8wan.js → repository-a1pv9e77.js} +5 -5
- package/dist/chunks/{git-aaet6srn.js → repository-aaet6srn.js} +2 -2
- package/dist/chunks/{git-ydqznnpe.js → repository-ach6z8vh.js} +4 -4
- package/dist/chunks/{git-d1f3pbt1.js → repository-afr26chb.js} +8 -8
- package/dist/chunks/{git-9ptry7h8.js → repository-afssb52c.js} +1 -1
- package/dist/chunks/{git-4mvz68vy.js → repository-ahx40rxf.js} +31 -31
- package/dist/chunks/{git-mtgw43mt.js → repository-an4d28vr.js} +17 -17
- package/dist/chunks/{git-kkkysjtm.js → repository-atxy8ykf.js} +17 -17
- package/dist/chunks/{git-9ttbk61r.js → repository-az7tb05h.js} +26 -26
- package/dist/chunks/{git-ckxxahkn.js → repository-b1ajvfw3.js} +19 -19
- package/dist/chunks/{git-py3kkmfq.js → repository-b4twkq7r.js} +6 -6
- package/dist/chunks/{git-rr03d8em.js → repository-b513f556.js} +15 -15
- package/dist/chunks/{git-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
- package/dist/chunks/{git-73nkehxt.js → repository-bce8mqt3.js} +8 -8
- package/dist/chunks/{git-mpyd4te8.js → repository-benv41rp.js} +9 -9
- package/dist/chunks/repository-bj0bcwj5.js +26 -0
- package/dist/chunks/{git-00vxkvj8.js → repository-btcfg8pa.js} +12 -12
- package/dist/chunks/{git-143qq2q9.js → repository-btfhnvjh.js} +3 -3
- package/dist/chunks/{git-qzexb7dd.js → repository-bvjh5av3.js} +10 -10
- package/dist/chunks/{git-e8tr3786.js → repository-ccdkjy5j.js} +31 -31
- package/dist/chunks/{git-p0wjgz8v.js → repository-ceb6shg2.js} +9 -9
- package/dist/chunks/{git-tftvtmn6.js → repository-cm3vhcv0.js} +30 -30
- package/dist/chunks/{git-9ppqf0fm.js → repository-crvx6mgt.js} +23 -23
- package/dist/chunks/{git-qmqgtz8f.js → repository-cwa6csj7.js} +9 -9
- package/dist/chunks/{git-egnnm4z4.js → repository-cyfxky51.js} +36 -36
- package/dist/chunks/{git-p45atnv4.js → repository-d0zee6yx.js} +12 -12
- package/dist/chunks/{git-gtczcmth.js → repository-d1t6tc1e.js} +3 -3
- package/dist/chunks/{git-0zghx38h.js → repository-d29nyfm4.js} +9 -9
- package/dist/chunks/{git-rjw6hp1j.js → repository-d9kqsdy4.js} +23 -23
- package/dist/chunks/{git-d3c6y7f2.js → repository-dax2f43k.js} +88 -88
- package/dist/chunks/{git-x661k3y3.js → repository-dgpsrprm.js} +4 -4
- package/dist/chunks/{git-ph842b28.js → repository-dj68pnee.js} +4 -4
- package/dist/chunks/{git-jcm1ap69.js → repository-dmqk4yfk.js} +8 -8
- package/dist/chunks/{git-9bde0dy1.js → repository-dnz8myac.js} +11 -11
- package/dist/chunks/{git-y71avatq.js → repository-dpkg50ah.js} +4 -4
- package/dist/chunks/{git-vvwn34gm.js → repository-dxr8fvgz.js} +23 -23
- package/dist/chunks/{git-7pd5pffv.js → repository-e5p55b06.js} +9 -9
- package/dist/chunks/{git-1ykawk59.js → repository-e7fm67xs.js} +30 -30
- package/dist/chunks/{git-dyc3kv56.js → repository-ea0ampwz.js} +11 -11
- package/dist/chunks/{git-wz33qg6p.js → repository-eakgj8q2.js} +41 -41
- package/dist/chunks/{git-gjbzw0xs.js → repository-ecmranas.js} +2 -2
- package/dist/chunks/{git-ef5x83kb.js → repository-ef5x83kb.js} +1 -1
- package/dist/chunks/{git-gz56ec1j.js → repository-eqbnvekh.js} +45 -45
- package/dist/chunks/{git-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
- package/dist/chunks/{git-ag7334sc.js → repository-ey6rfqvz.js} +11 -11
- package/dist/chunks/{git-98f0fqab.js → repository-f1ry7jgz.js} +24 -24
- package/dist/chunks/{git-ncp83wn6.js → repository-f4bkz93y.js} +28 -28
- package/dist/chunks/{git-a3zqsen4.js → repository-fbtna4cy.js} +42 -42
- package/dist/chunks/{git-fcrkznn8.js → repository-fcrkznn8.js} +1 -1
- package/dist/chunks/{git-13kfw95c.js → repository-fwj22sb9.js} +11 -11
- package/dist/chunks/{git-hc1902wk.js → repository-fxgyesrr.js} +12 -12
- package/dist/chunks/{git-dqp200sx.js → repository-fxkzw5w5.js} +18 -18
- package/dist/chunks/{git-5yzzbxa7.js → repository-g0445xdp.js} +8 -8
- package/dist/chunks/{git-q2m05hzt.js → repository-g5pr0hqg.js} +5 -5
- package/dist/chunks/{git-xfkkasph.js → repository-g5w8qwbj.js} +4 -4
- package/dist/chunks/{git-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
- package/dist/chunks/{git-taaecmrd.js → repository-ggmrdx7v.js} +8 -8
- package/dist/chunks/{git-tc14gx3q.js → repository-gmmdfr2g.js} +11 -11
- package/dist/chunks/{git-b2jc1z43.js → repository-gpjhh13y.js} +14 -14
- package/dist/chunks/{git-7gd3hzpr.js → repository-grs6z2v9.js} +21 -21
- package/dist/chunks/{git-h2b79v29.js → repository-h2b79v29.js} +2 -2
- package/dist/chunks/{git-7wqm39p3.js → repository-h3g0cwjn.js} +10 -10
- package/dist/chunks/{git-k18ytf7m.js → repository-h6nxw0pd.js} +6 -6
- package/dist/chunks/{git-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
- package/dist/chunks/{git-h2wp1rwf.js → repository-h79eb4wf.js} +27 -27
- package/dist/chunks/{git-g5kmhmn4.js → repository-h7sfwyf5.js} +11 -11
- package/dist/chunks/{git-nbw2xxtv.js → repository-he1ycz2s.js} +7 -7
- package/dist/chunks/{git-xvvg8evz.js → repository-hjm0k3fp.js} +2 -2
- package/dist/chunks/{git-8pyww4v8.js → repository-hmhzhfpw.js} +13 -13
- package/dist/chunks/{git-f5gy8qwh.js → repository-hz0q9sdq.js} +8 -8
- package/dist/chunks/{git-amv1ejgv.js → repository-j07em0ca.js} +55 -55
- package/dist/chunks/{git-q4vzfqxg.js → repository-j4dqt27y.js} +11 -11
- package/dist/chunks/{git-j56e64zr.js → repository-j56e64zr.js} +1 -1
- package/dist/chunks/{git-1hya600g.js → repository-j7071276.js} +5 -5
- package/dist/chunks/{git-8fjdzkkz.js → repository-ja8t3wh1.js} +25 -25
- package/dist/chunks/{git-cqs54gg3.js → repository-jxnv3vs9.js} +1 -1
- package/dist/chunks/{git-edkvx3dd.js → repository-kadwda11.js} +29 -29
- package/dist/chunks/{git-6vabwvmw.js → repository-kg7g3ey4.js} +16 -16
- package/dist/chunks/{git-p1463psw.js → repository-kmy91h7k.js} +5 -5
- package/dist/chunks/{git-nf3bc7kp.js → repository-kqkwtn5n.js} +23 -23
- package/dist/chunks/{git-p7yhpbex.js → repository-krry4gk1.js} +40 -40
- package/dist/chunks/{git-2c3eq8z5.js → repository-kwqsq9eb.js} +1 -1
- package/dist/chunks/{git-mc9vh6yq.js → repository-kyr2t18s.js} +17 -17
- package/dist/chunks/{git-m3fdjcah.js → repository-m3fdjcah.js} +1 -1
- package/dist/chunks/{git-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{git-2pnhn36q.js → repository-magykp64.js} +21 -21
- package/dist/chunks/{git-w19mx1ce.js → repository-mm07xyj9.js} +42 -42
- package/dist/chunks/{git-653jwha5.js → repository-mqjzjjf0.js} +7 -7
- package/dist/chunks/{git-qdbtwst4.js → repository-my8tnftd.js} +11 -11
- package/dist/chunks/{git-1b4m0bzf.js → repository-n1n192bv.js} +4 -4
- package/dist/chunks/{git-791n53zr.js → repository-n4hagvcf.js} +11 -11
- package/dist/chunks/{git-hqb90bek.js → repository-n7avb6m5.js} +5 -5
- package/dist/chunks/{git-2bw54qtz.js → repository-n8se905m.js} +3 -3
- package/dist/chunks/{git-8fmcz4d2.js → repository-ng56fafc.js} +15 -15
- package/dist/chunks/{git-aps1yx91.js → repository-ngkc5a6n.js} +1 -1
- package/dist/chunks/{git-z6kknvmx.js → repository-nhy104pe.js} +57 -57
- package/dist/chunks/{git-1174b0hx.js → repository-nj6293bs.js} +16 -16
- package/dist/chunks/{git-325sge2s.js → repository-ns3eape4.js} +1 -1
- package/dist/chunks/{git-r3vcwrv4.js → repository-nttvqnzt.js} +31 -31
- package/dist/chunks/{git-16apfsbq.js → repository-nzeef16t.js} +15 -15
- package/dist/chunks/{git-zbfyanxm.js → repository-p558d1j2.js} +8 -8
- package/dist/chunks/{git-xa303ymg.js → repository-p9q8g7vd.js} +4 -4
- package/dist/chunks/{git-8vpe69nk.js → repository-pcr95nxz.js} +27 -27
- package/dist/chunks/{git-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
- package/dist/chunks/{git-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/{git-0j77ygfz.js → repository-q0xm7vwc.js} +6 -6
- package/dist/chunks/{git-qnc92qwc.js → repository-qnc92qwc.js} +1 -1
- package/dist/chunks/{git-qsdy395h.js → repository-qsdy395h.js} +1 -1
- package/dist/chunks/{git-x2rw7g36.js → repository-qvreyy9g.js} +5 -5
- package/dist/chunks/{git-2hr5nhwa.js → repository-qxmaq0sm.js} +8 -8
- package/dist/chunks/{git-h79qd4dv.js → repository-r44petzp.js} +12 -12
- package/dist/chunks/{git-xdj3jjdd.js → repository-r4xwqsmk.js} +11 -11
- package/dist/chunks/{git-0jq9fyba.js → repository-r9w3djhf.js} +9 -9
- package/dist/chunks/{git-c6cbvwxq.js → repository-ravgrsv5.js} +9 -9
- package/dist/chunks/{git-rdw6cm16.js → repository-rdw6cm16.js} +1 -1
- package/dist/chunks/{git-56espktj.js → repository-rgbeeb12.js} +23 -23
- package/dist/chunks/{git-c243x79n.js → repository-rvnx9ynj.js} +32 -32
- package/dist/chunks/{git-te2bzzsy.js → repository-ry924fh6.js} +41 -41
- package/dist/chunks/{git-b27vhd2z.js → repository-ryr25ayn.js} +4 -4
- package/dist/chunks/{git-s8d7rejh.js → repository-s8d7rejh.js} +1 -1
- package/dist/chunks/{git-db35ckwp.js → repository-s8xbmvwb.js} +13 -13
- package/dist/chunks/{git-scgrse2b.js → repository-scgrse2b.js} +2 -2
- package/dist/chunks/{git-satpgpy0.js → repository-scp3g09m.js} +13 -13
- package/dist/chunks/{git-yf6bsa4q.js → repository-spgjrcy8.js} +60 -60
- package/dist/chunks/{git-7eb1d2yt.js → repository-sq5ga9n2.js} +26 -26
- package/dist/chunks/{git-phvr3wgs.js → repository-ssby7wmp.js} +316 -316
- package/dist/chunks/{git-90arfvh2.js → repository-stye60hc.js} +33 -33
- package/dist/chunks/{git-d4g413ww.js → repository-t3vv4d42.js} +13 -13
- package/dist/chunks/{git-m70sbz6t.js → repository-t7n9q6bq.js} +4 -4
- package/dist/chunks/{git-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
- package/dist/chunks/{git-j5w2yx54.js → repository-tcay1cqt.js} +6 -6
- package/dist/chunks/{git-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
- package/dist/chunks/{git-wakmr75f.js → repository-tcmvd7z0.js} +34 -34
- package/dist/chunks/{git-mwpvndzh.js → repository-tcnkdppf.js} +23 -23
- package/dist/chunks/{git-ekg5h0zp.js → repository-td335a07.js} +30 -30
- package/dist/chunks/{git-tdstcens.js → repository-tdstcens.js} +1 -1
- package/dist/chunks/repository-tkybgs2z.js +253 -0
- package/dist/chunks/{git-0c7deste.js → repository-tvx3ewvr.js} +24 -24
- package/dist/chunks/{git-hjndax5w.js → repository-vc155zt0.js} +15 -15
- package/dist/chunks/{git-veqvce7d.js → repository-veqvce7d.js} +1 -1
- package/dist/chunks/{git-c3zqzp8y.js → repository-vgznchvw.js} +8 -8
- package/dist/chunks/{git-9smks8ax.js → repository-vh7fby3r.js} +15 -15
- package/dist/chunks/{git-pg3m1bkm.js → repository-vnyrj955.js} +3 -3
- package/dist/chunks/{git-prps3137.js → repository-vwctd27t.js} +4 -4
- package/dist/chunks/{git-wesm6pcv.js → repository-vwjb8r2v.js} +6 -6
- package/dist/chunks/{git-vzs5sf6e.js → repository-vzs5sf6e.js} +1 -1
- package/dist/chunks/{git-84txncab.js → repository-w1eejvng.js} +5 -5
- package/dist/chunks/{git-jq13pd70.js → repository-w2c5pkxk.js} +179 -179
- package/dist/chunks/{git-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/{git-5prh4sa3.js → repository-w7d850mj.js} +19 -19
- package/dist/chunks/{git-2003xh4j.js → repository-w9vf9qqj.js} +9 -9
- package/dist/chunks/{git-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/{git-2vp5hvvb.js → repository-wer47y7e.js} +10 -10
- package/dist/chunks/{git-82qsn231.js → repository-wg56nkx8.js} +26 -26
- package/dist/chunks/{git-w2h15q85.js → repository-wh6zw745.js} +5 -5
- package/dist/chunks/{git-af6rkajf.js → repository-wmn12sgk.js} +3 -3
- package/dist/chunks/{git-90g7qw2a.js → repository-wnmdvmz6.js} +16 -16
- package/dist/chunks/{git-pjwt2kw2.js → repository-x9gjp2wb.js} +18 -18
- package/dist/chunks/{git-1a1rn49g.js → repository-xa3ghtvx.js} +16 -16
- package/dist/chunks/{git-cth98fgx.js → repository-xdkfhf58.js} +48 -48
- package/dist/chunks/{git-sd9hvprw.js → repository-xgwzhbhd.js} +9 -9
- package/dist/chunks/{git-dmqcgk4z.js → repository-xkntkrq7.js} +5 -5
- package/dist/chunks/{git-yaefqgtx.js → repository-xvr70the.js} +89 -89
- package/dist/chunks/{git-0t098hqn.js → repository-xw8eq9f1.js} +5 -5
- package/dist/chunks/{git-qxjc9qry.js → repository-xyafkbt0.js} +3 -3
- package/dist/chunks/{git-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
- package/dist/chunks/{git-he2r9q3j.js → repository-y1j8epp9.js} +20 -20
- package/dist/chunks/{git-n79tw6se.js → repository-y5dw8kr0.js} +4 -4
- package/dist/chunks/{git-mrkjf4y9.js → repository-yevqza3m.js} +9 -9
- package/dist/chunks/{git-m4qj4fpw.js → repository-yk3hsgx2.js} +11 -11
- package/dist/chunks/{git-zm2ry5m5.js → repository-yqvvg513.js} +23 -23
- package/dist/chunks/{git-kcjnae1a.js → repository-ysv4x97r.js} +10 -10
- package/dist/chunks/{git-9gj6hpr6.js → repository-yt3fxxnb.js} +2 -2
- package/dist/chunks/{git-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
- package/dist/chunks/{git-qyzaws7n.js → repository-z37gfj8r.js} +3 -3
- package/dist/chunks/{git-q7v5mrmg.js → repository-z8bvm205.js} +9 -9
- package/dist/chunks/{git-zfs8ae4p.js → repository-zfs8ae4p.js} +4 -4
- package/dist/chunks/{git-2nrarbfq.js → repository-zhf35gm1.js} +32 -32
- package/dist/chunks/{git-gsnyd5qq.js → repository-zmnepbn3.js} +7 -7
- package/dist/chunks/{git-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
- package/dist/chunks/{git-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
- package/dist/chunks/{git-3j8n7zh4.js → repository-zy2zpvm6.js} +18 -18
- package/dist/chunks/{git-tkh413by.js → repository-zze7mas3.js} +11 -11
- 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 +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +115 -115
- 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 +115 -115
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- 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 +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- 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 +3 -3
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +102 -102
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +99 -99
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- 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 +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- 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 +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +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 +74 -74
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- 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/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 +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- 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/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +74 -74
- 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 +343 -343
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +93 -93
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +131 -131
- 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 +217 -217
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- 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 +93 -93
- 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 +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +222 -222
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- 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 +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +7 -7
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- 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 +105 -105
- 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 +210 -210
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/model.d.ts +3 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +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/git-1x11rq2a.js +0 -18
- package/dist/chunks/git-5yj8ke91.js +0 -253
- package/dist/chunks/git-pc7qqn66.js +0 -26
- /package/dist/chunks/{git-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{git-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{git-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{git-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{git-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{git-24dcb14g.js → repository-24dcb14g.js} +0 -0
- /package/dist/chunks/{git-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{git-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
- /package/dist/chunks/{git-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{git-34c7v6d4.js → repository-34c7v6d4.js} +0 -0
- /package/dist/chunks/{git-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{git-3asan66x.js → repository-3asan66x.js} +0 -0
- /package/dist/chunks/{git-3t0ybcrp.js → repository-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{git-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{git-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
- /package/dist/chunks/{git-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
- /package/dist/chunks/{git-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{git-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{git-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{git-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
- /package/dist/chunks/{git-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{git-550bvhaj.js → repository-550bvhaj.js} +0 -0
- /package/dist/chunks/{git-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{git-6q2bdcd1.js → repository-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{git-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{git-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{git-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{git-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{git-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{git-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
- /package/dist/chunks/{git-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{git-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{git-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
- /package/dist/chunks/{git-af5trqkr.js → repository-af5trqkr.js} +0 -0
- /package/dist/chunks/{git-afrmfg78.js → repository-afrmfg78.js} +0 -0
- /package/dist/chunks/{git-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{git-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{git-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{git-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{git-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{git-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{git-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{git-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{git-dajrwvna.js → repository-dajrwvna.js} +0 -0
- /package/dist/chunks/{git-dap0rakb.js → repository-dap0rakb.js} +0 -0
- /package/dist/chunks/{git-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{git-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{git-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{git-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
- /package/dist/chunks/{git-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{git-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
- /package/dist/chunks/{git-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{git-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{git-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{git-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{git-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{git-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{git-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
- /package/dist/chunks/{git-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{git-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{git-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{git-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{git-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{git-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{git-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
- /package/dist/chunks/{git-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{git-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{git-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{git-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{git-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{git-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{git-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{git-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{git-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{git-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{git-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
- /package/dist/chunks/{git-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{git-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{git-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
- /package/dist/chunks/{git-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{git-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{git-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{git-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{git-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{git-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{git-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{git-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{git-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
- /package/dist/chunks/{git-x61499pn.js → repository-x61499pn.js} +0 -0
- /package/dist/chunks/{git-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{git-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
- /package/dist/chunks/{git-y8f7s663.js → repository-y8f7s663.js} +0 -0
- /package/dist/chunks/{git-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{git-ym463w8f.js → repository-ym463w8f.js} +0 -0
- /package/dist/chunks/{git-z5v4ffb3.js → repository-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{git-z9919s4g.js → repository-z9919s4g.js} +0 -0
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service60
|
|
4
|
+
} from "./repository-74zds2q2.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
13
|
var exports_websearch2 = {};
|
|
14
14
|
__export(exports_websearch2, {
|
|
15
15
|
ConfigWebSearchPlugin: () => exports_websearch2,
|
|
16
|
-
Plugin: () =>
|
|
16
|
+
Plugin: () => Plugin47
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin47 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service60;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin45 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin47, exports_websearch2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service75
|
|
3
|
+
} from "./repository-nj6293bs.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service30
|
|
6
|
+
} from "./repository-xvr70the.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-6xb47vfp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
17
17
|
__export(exports_subagent_job, {
|
|
18
18
|
SubagentJob: () => exports_subagent_job,
|
|
19
|
-
make: () =>
|
|
19
|
+
make: () => make10
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
|
-
var
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
22
|
+
var make10 = Effect.gen(function* () {
|
|
23
|
+
const sessions = yield* Service30;
|
|
24
|
+
const jobs = yield* Service75;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -58,4 +58,4 @@ var make11 = Effect.gen(function* () {
|
|
|
58
58
|
};
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { make10, exports_subagent_job };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/effect/keyed-mutex.ts
|
|
6
6
|
var exports_keyed_mutex = {};
|
|
7
7
|
__export(exports_keyed_mutex, {
|
|
8
8
|
KeyedMutex: () => exports_keyed_mutex,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make23,
|
|
10
10
|
makeUnsafe: () => makeUnsafe2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Semaphore } from "effect";
|
|
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
|
|
|
26
26
|
});
|
|
27
27
|
return { size: Effect.sync(() => locks.size), withLock };
|
|
28
28
|
};
|
|
29
|
-
var
|
|
29
|
+
var make23 = () => Effect.sync(makeUnsafe2);
|
|
30
30
|
|
|
31
|
-
export { makeUnsafe2,
|
|
31
|
+
export { makeUnsafe2, make23, exports_keyed_mutex };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-z37gfj8r.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service83,
|
|
10
|
+
node87
|
|
11
|
+
} from "./repository-d0zee6yx.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-btfhnvjh.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-9e5bzkjp.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./repository-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info8,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service46,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
48
|
+
layer: () => layer18,
|
|
49
49
|
list: () => list3,
|
|
50
|
-
make: () =>
|
|
50
|
+
make: () => make18,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node48,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info8,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,12 +151,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service46 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
156
|
+
var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
157
|
const database = yield* Service84;
|
|
158
158
|
const db = database.db;
|
|
159
|
-
const bus = yield*
|
|
159
|
+
const bus = yield* Service83;
|
|
160
160
|
const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
|
|
161
161
|
const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
|
|
162
162
|
if (existing === undefined)
|
|
@@ -173,7 +173,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info8.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer18 = Layer.effect(Service46, make18());
|
|
231
|
+
var node48 = makeGlobalNode({ service: Service46, layer: layer18, deps: [node88, node87] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info8, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service46, make18, layer18, node48, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./repository-d0zee6yx.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-e7fm67xs.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service13,
|
|
9
|
+
Event2
|
|
10
|
+
} from "./repository-205k8jhr.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -32,8 +32,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
32
32
|
var ModelsDevPlugin2 = define({
|
|
33
33
|
id: "opencode.models.dev",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const modelsDev = yield*
|
|
36
|
-
const bus = yield*
|
|
35
|
+
const modelsDev = yield* Service13;
|
|
36
|
+
const bus = yield* Service83;
|
|
37
37
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
38
38
|
yield* ctx.integration.transform((integrations) => {
|
|
39
39
|
for (const provider of loaded.data) {
|
|
@@ -66,7 +66,7 @@ var ModelsDevPlugin2 = define({
|
|
|
66
66
|
loaded.data = snapshots(data);
|
|
67
67
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
68
68
|
};
|
|
69
|
-
yield* bus.subscribe(
|
|
69
|
+
yield* bus.subscribe(Event2.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
70
70
|
const latest = yield* modelsDev.get();
|
|
71
71
|
if (snapshots(latest) !== loaded.data)
|
|
72
72
|
yield* apply(latest);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./repository-d0zee6yx.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service73,
|
|
11
|
+
node77
|
|
12
|
+
} from "./repository-748da515.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
15
|
ID12,
|
|
@@ -18,11 +18,11 @@ import {
|
|
|
18
18
|
mergeHeaders2,
|
|
19
19
|
Service72,
|
|
20
20
|
node76,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Event16
|
|
22
|
+
} from "./repository-f1ry7jgz.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./repository-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,27 +30,27 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event12,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID8,
|
|
36
|
+
Info: () => Info16,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service62,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
43
|
mergeCapabilities: () => mergeCapabilities2,
|
|
44
|
-
node: () =>
|
|
45
|
-
parse: () =>
|
|
44
|
+
node: () => node66,
|
|
45
|
+
parse: () => parse4,
|
|
46
46
|
supportsText: () => supportsText2
|
|
47
47
|
});
|
|
48
48
|
import { Model } from "@opencode/schema/model";
|
|
49
49
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
50
50
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
51
51
|
import { freeze } from "immer";
|
|
52
|
-
import { Event as
|
|
53
|
-
var
|
|
52
|
+
import { Event as Event12 } from "@opencode/schema/model";
|
|
53
|
+
var ID8 = Model.ID;
|
|
54
54
|
var VariantID2 = Model.VariantID;
|
|
55
55
|
var Family2 = Model.Family;
|
|
56
56
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -66,14 +66,14 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
66
66
|
};
|
|
67
67
|
var Cost2 = Model.Cost;
|
|
68
68
|
var Ref2 = Model.Ref;
|
|
69
|
-
var
|
|
69
|
+
var Info16 = Model.Info;
|
|
70
70
|
|
|
71
|
-
class
|
|
71
|
+
class Service62 extends Context.Service()("@opencode/Model") {
|
|
72
72
|
}
|
|
73
|
-
var layer = Layer.effect(
|
|
73
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
74
74
|
const providers = yield* Service72;
|
|
75
|
-
const bus = yield*
|
|
76
|
-
const location = yield*
|
|
75
|
+
const bus = yield* Service83;
|
|
76
|
+
const location = yield* Service73;
|
|
77
77
|
let input;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "model",
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
118
118
|
const models = writable(providerID);
|
|
119
119
|
if (!models)
|
|
120
120
|
return;
|
|
121
|
-
const model = draft(providerID, modelID) ??
|
|
121
|
+
const model = draft(providerID, modelID) ?? Info16.default(providerID, modelID);
|
|
122
122
|
update(model);
|
|
123
123
|
model.id = modelID;
|
|
124
124
|
model.providerID = providerID;
|
|
@@ -207,8 +207,8 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
207
207
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
208
208
|
});
|
|
209
209
|
});
|
|
210
|
-
yield* bus.subscribe(
|
|
211
|
-
return
|
|
210
|
+
yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
211
|
+
return Service62.of({
|
|
212
212
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
213
213
|
reload,
|
|
214
214
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -227,7 +227,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
227
227
|
})
|
|
228
228
|
});
|
|
229
229
|
}));
|
|
230
|
-
var
|
|
230
|
+
var node66 = makeLocationNode({ service: Service62, layer, deps: [node76, node87, node77] });
|
|
231
231
|
function supportsText2(model) {
|
|
232
232
|
return (model.capabilities.input.length === 0 || model.capabilities.input.some((item) => item.startsWith("text"))) && (model.capabilities.output.length === 0 || model.capabilities.output.some((item) => item.startsWith("text")));
|
|
233
233
|
}
|
|
@@ -238,12 +238,12 @@ function compatibility2(input) {
|
|
|
238
238
|
return;
|
|
239
239
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
240
240
|
}
|
|
241
|
-
function
|
|
241
|
+
function parse4(input) {
|
|
242
242
|
const index = input.indexOf("/");
|
|
243
243
|
return {
|
|
244
244
|
providerID: ID12.make(index === -1 ? input : input.slice(0, index)),
|
|
245
|
-
modelID:
|
|
245
|
+
modelID: ID8.make(index === -1 ? "" : input.slice(index + 1))
|
|
246
246
|
};
|
|
247
247
|
}
|
|
248
248
|
|
|
249
|
-
export {
|
|
249
|
+
export { ID8, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info16, Service62, node66, supportsText2, compatibility2, parse4, exports_model2, Event12 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service60
|
|
3
|
+
} from "./repository-74zds2q2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service12
|
|
6
|
+
} from "./repository-cwa6csj7.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
15
|
var exports_location_watcher2 = {};
|
|
16
16
|
__export(exports_location_watcher2, {
|
|
17
17
|
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin45
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin45 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service60;
|
|
26
|
+
const policy = yield* Service12;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin39 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin45, exports_location_watcher2 };
|
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-z37gfj8r.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service83,
|
|
7
|
+
node87
|
|
8
|
+
} from "./repository-d0zee6yx.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
13
|
+
ID11,
|
|
14
|
+
Service70,
|
|
15
|
+
node74
|
|
16
|
+
} from "./repository-9r8ns7n8.js";
|
|
17
17
|
import {
|
|
18
18
|
llmClient2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-5t3nmthw.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service62,
|
|
22
|
+
node66
|
|
23
|
+
} from "./repository-e7fm67xs.js";
|
|
24
24
|
import {
|
|
25
25
|
estimate2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-h6vf3j39.js";
|
|
27
27
|
import {
|
|
28
28
|
SessionEvent2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./repository-ec1grn59.js";
|
|
30
30
|
import {
|
|
31
31
|
provenance2,
|
|
32
32
|
compatible2,
|
|
33
33
|
isCheckpoint2,
|
|
34
34
|
encode2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./repository-n1n192bv.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
load5
|
|
38
|
+
} from "./repository-yk3hsgx2.js";
|
|
39
39
|
import {
|
|
40
40
|
toLLMMessages2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./repository-ns3eape4.js";
|
|
42
42
|
import {
|
|
43
43
|
baseTranscript2,
|
|
44
44
|
unsupportedParts2,
|
|
45
45
|
boundImages2,
|
|
46
|
-
|
|
47
|
-
node33
|
|
48
|
-
} from "./git-90arfvh2.js";
|
|
49
|
-
import {
|
|
50
|
-
Service37,
|
|
46
|
+
Service36,
|
|
51
47
|
node39
|
|
52
|
-
} from "./
|
|
48
|
+
} from "./repository-stye60hc.js";
|
|
49
|
+
import {
|
|
50
|
+
Service47,
|
|
51
|
+
node49
|
|
52
|
+
} from "./repository-t3vv4d42.js";
|
|
53
53
|
import {
|
|
54
54
|
isRetryable2,
|
|
55
55
|
policy2
|
|
56
|
-
} from "./
|
|
56
|
+
} from "./repository-scgrse2b.js";
|
|
57
57
|
import {
|
|
58
58
|
toSessionError2,
|
|
59
59
|
contentFilterError2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./repository-n7avb6m5.js";
|
|
61
61
|
import {
|
|
62
62
|
calculateCost2,
|
|
63
63
|
record2,
|
|
64
64
|
add2
|
|
65
|
-
} from "./
|
|
65
|
+
} from "./repository-tdstcens.js";
|
|
66
66
|
import {
|
|
67
67
|
__export
|
|
68
|
-
} from "./
|
|
68
|
+
} from "./repository-9rqn6x4v.js";
|
|
69
69
|
|
|
70
70
|
// src/session/compaction.ts
|
|
71
71
|
var exports_compaction2 = {};
|
|
@@ -75,7 +75,7 @@ __export(exports_compaction2, {
|
|
|
75
75
|
buildPrompt: () => buildPrompt2,
|
|
76
76
|
estimateContext: () => estimateContext2,
|
|
77
77
|
estimatePrompt: () => estimatePrompt2,
|
|
78
|
-
layer: () =>
|
|
78
|
+
layer: () => layer7,
|
|
79
79
|
node: () => node12,
|
|
80
80
|
recentUserMessages: () => recentUserMessages2
|
|
81
81
|
});
|
|
@@ -171,14 +171,14 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
171
171
|
};
|
|
172
172
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
173
173
|
var LEGACY_HEADING = "## Additional Context";
|
|
174
|
-
var
|
|
175
|
-
const agents = yield*
|
|
176
|
-
const bus = yield*
|
|
174
|
+
var layer7 = Layer.effect(Service10, Effect.gen(function* () {
|
|
175
|
+
const agents = yield* Service70;
|
|
176
|
+
const bus = yield* Service83;
|
|
177
177
|
const llm = yield* LLMClient.Service;
|
|
178
|
-
const catalog = yield*
|
|
179
|
-
const models = yield*
|
|
178
|
+
const catalog = yield* Service62;
|
|
179
|
+
const models = yield* Service47;
|
|
180
180
|
const db = (yield* Service84).db;
|
|
181
|
-
const requests = yield*
|
|
181
|
+
const requests = yield* Service36;
|
|
182
182
|
const state = create3({
|
|
183
183
|
name: "session-compaction",
|
|
184
184
|
initial: () => ({ auto: true, keep: 15000 }),
|
|
@@ -196,7 +196,7 @@ var layer6 = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
196
196
|
if (trigger.reason === "auto" && !due(context, calculateCeiling(context.model.limit, settings.buffer)))
|
|
197
197
|
return { status: "skipped" };
|
|
198
198
|
const native = context.model.compaction?.type === "native";
|
|
199
|
-
const agent = native ? undefined : yield* agents.get(
|
|
199
|
+
const agent = native ? undefined : yield* agents.get(ID11.make("compaction"));
|
|
200
200
|
const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
|
|
201
201
|
return;
|
|
202
202
|
})))) ?? context.model;
|
|
@@ -272,7 +272,7 @@ var layer6 = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
272
272
|
const send = (request) => {
|
|
273
273
|
if (LLMClient.canCompact(request, { mechanism: "trigger" })) {
|
|
274
274
|
return Effect.gen(function* () {
|
|
275
|
-
const history = yield*
|
|
275
|
+
const history = yield* load5(db, context.session.id, "local").pipe(Effect.orDie);
|
|
276
276
|
const retained = recentUserMessages2(history, context.model, keep);
|
|
277
277
|
const response = yield* llm.compact(request, { ...prepared.options, mechanism: "trigger" });
|
|
278
278
|
return yield* toResult([...retained, Message.assistant(response.checkpoint)], response.usage);
|
|
@@ -480,8 +480,8 @@ ${text}`;
|
|
|
480
480
|
}));
|
|
481
481
|
var node12 = makeLocationNode({
|
|
482
482
|
service: Service10,
|
|
483
|
-
layer:
|
|
484
|
-
deps: [
|
|
483
|
+
layer: layer7,
|
|
484
|
+
deps: [node74, node87, node88, llmClient2, node66, node39, node49]
|
|
485
485
|
});
|
|
486
486
|
var previousCompaction = (messages) => {
|
|
487
487
|
const [first] = messages;
|
|
@@ -686,4 +686,4 @@ var estimateMedia = (mime) => {
|
|
|
686
686
|
return 0;
|
|
687
687
|
};
|
|
688
688
|
|
|
689
|
-
export { Service10, buildPrompt2,
|
|
689
|
+
export { Service10, buildPrompt2, layer7, node12, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|