@opencode/core 0.0.0-dev-21143 → 0.0.0-dev-21145
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 +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{model-r9jx05x6.js → aisdk-native-0axj1ttd.js} +9 -9
- package/dist/chunks/{model-2e6zpqas.js → aisdk-native-0dm4gckn.js} +17 -17
- package/dist/chunks/{model-pqjw7jp7.js → aisdk-native-0pn4ycsb.js} +9 -9
- package/dist/chunks/{model-2xdh0w28.js → aisdk-native-0r3c1bmw.js} +5 -5
- package/dist/chunks/{model-0vbcp93d.js → aisdk-native-0vbcp93d.js} +2 -2
- package/dist/chunks/{model-4p6nr7v2.js → aisdk-native-1a43r0f6.js} +54 -54
- package/dist/chunks/{model-bvnyck97.js → aisdk-native-1g7xwxh9.js} +33 -33
- package/dist/chunks/{model-npf2me51.js → aisdk-native-1gpq681a.js} +5 -5
- package/dist/chunks/{model-dssbfrwz.js → aisdk-native-1pxz8ven.js} +5 -5
- package/dist/chunks/{model-bmnyjmah.js → aisdk-native-1qaf0p1s.js} +3 -3
- package/dist/chunks/{model-kgyb2az8.js → aisdk-native-1qpthk5p.js} +7 -7
- package/dist/chunks/{model-8q8yj50y.js → aisdk-native-1vd6f41p.js} +21 -21
- package/dist/chunks/{model-cjr1yvem.js → aisdk-native-1w8nfbkk.js} +17 -17
- package/dist/chunks/{model-cs7jztnn.js → aisdk-native-1ydec1sw.js} +15 -15
- package/dist/chunks/{model-wjcs86hs.js → aisdk-native-1ynm58j1.js} +16 -16
- package/dist/chunks/{model-8w8ydh14.js → aisdk-native-25f053z1.js} +35 -35
- package/dist/chunks/{model-v37eec1m.js → aisdk-native-27tz6dez.js} +11 -11
- package/dist/chunks/aisdk-native-2ad129d1.js +257 -0
- package/dist/chunks/{model-xp70dzpx.js → aisdk-native-2aqy85zg.js} +5 -5
- package/dist/chunks/{model-5n2cq17m.js → aisdk-native-2cbya7fd.js} +3 -3
- package/dist/chunks/{model-ngts6ef0.js → aisdk-native-2ktf0ed2.js} +8 -8
- package/dist/chunks/{model-x32pgb56.js → aisdk-native-2nq45vev.js} +3 -3
- package/dist/chunks/{model-5mgf4sgt.js → aisdk-native-2q90fytb.js} +26 -26
- package/dist/chunks/{model-g2c9rtgb.js → aisdk-native-2r0atrs5.js} +16 -16
- package/dist/chunks/{model-c2qhap2q.js → aisdk-native-2tm4vanq.js} +48 -48
- package/dist/chunks/{model-6a8atva2.js → aisdk-native-2yv8p17n.js} +23 -23
- package/dist/chunks/{model-zmgnvkkw.js → aisdk-native-3c04a1t9.js} +3 -3
- package/dist/chunks/{model-3fc6dm20.js → aisdk-native-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-3hepkmqq.js → aisdk-native-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-mvtf3rh0.js → aisdk-native-3hvfb3zt.js} +15 -15
- package/dist/chunks/{model-3hwn7j4h.js → aisdk-native-3hwn7j4h.js} +2 -2
- package/dist/chunks/{model-ss6w8dzv.js → aisdk-native-3nwh9csa.js} +20 -20
- package/dist/chunks/{model-3smtnn6g.js → aisdk-native-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-3tvqynh2.js → aisdk-native-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-3zsf4n22.js → aisdk-native-3zsf4n22.js} +1 -1
- package/dist/chunks/{model-xcf9g4kc.js → aisdk-native-45c5d93t.js} +26 -26
- package/dist/chunks/{model-fqab621c.js → aisdk-native-45v5yvr1.js} +18 -18
- package/dist/chunks/{model-k2qw8yh0.js → aisdk-native-469aedh6.js} +12 -12
- package/dist/chunks/{model-5gy05hhs.js → aisdk-native-4fky28pn.js} +33 -33
- package/dist/chunks/{model-gm6kgtxz.js → aisdk-native-4h93f4ay.js} +10 -10
- package/dist/chunks/aisdk-native-4v7qdvcn.js +18 -0
- package/dist/chunks/{model-4egvh0ae.js → aisdk-native-4xamz3he.js} +32 -32
- package/dist/chunks/{model-54ma36ye.js → aisdk-native-54ma36ye.js} +1 -1
- package/dist/chunks/{model-1rxgbc2t.js → aisdk-native-5b4ve5a9.js} +35 -35
- package/dist/chunks/{model-a0xsjpa6.js → aisdk-native-5fwf3n12.js} +20 -20
- package/dist/chunks/{model-v6ffca6r.js → aisdk-native-5g30qskk.js} +4 -4
- package/dist/chunks/{model-5m9w47nd.js → aisdk-native-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-c975tyge.js → aisdk-native-5n217yn0.js} +10 -10
- package/dist/chunks/{model-30qnvgsd.js → aisdk-native-5nmptev9.js} +33 -33
- package/dist/chunks/{model-mevcanmy.js → aisdk-native-5vmfecsy.js} +11 -11
- package/dist/chunks/{model-70pmzrba.js → aisdk-native-635tr45c.js} +90 -90
- package/dist/chunks/{model-v0xmac3n.js → aisdk-native-63db42yp.js} +2 -2
- package/dist/chunks/{model-gatvqhtb.js → aisdk-native-67spsgav.js} +316 -316
- package/dist/chunks/{model-6827pfxn.js → aisdk-native-6827pfxn.js} +1 -1
- package/dist/chunks/{model-0pkr3k7y.js → aisdk-native-6c70gw8c.js} +19 -19
- package/dist/chunks/{model-rkprpv83.js → aisdk-native-6pc27hjz.js} +6 -6
- package/dist/chunks/{model-sxgptqgt.js → aisdk-native-6pk534hv.js} +10 -10
- package/dist/chunks/{model-b6eebr36.js → aisdk-native-6s6kd0w2.js} +13 -13
- package/dist/chunks/{model-tebnytv8.js → aisdk-native-6t1q17tn.js} +21 -21
- package/dist/chunks/{model-dm7v99da.js → aisdk-native-6tpezyfh.js} +45 -45
- package/dist/chunks/{model-kd2wz8ak.js → aisdk-native-6v2scx69.js} +18 -18
- package/dist/chunks/{model-6xb47vfp.js → aisdk-native-6xb47vfp.js} +1 -1
- package/dist/chunks/{model-86qjnnqk.js → aisdk-native-72rw85ce.js} +11 -11
- package/dist/chunks/{model-775gj3j1.js → aisdk-native-775gj3j1.js} +2 -2
- package/dist/chunks/{model-5qd8vb6z.js → aisdk-native-7a2anxyk.js} +9 -9
- package/dist/chunks/{model-7bmhse3q.js → aisdk-native-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-5qj6jx0q.js → aisdk-native-7by7ttc5.js} +21 -21
- package/dist/chunks/{model-2s6bjp6v.js → aisdk-native-7mf6rmwh.js} +11 -11
- package/dist/chunks/{model-w0vvr4mg.js → aisdk-native-7xs52fvg.js} +45 -45
- package/dist/chunks/{model-50db7yry.js → aisdk-native-81y31105.js} +11 -11
- package/dist/chunks/{model-dtncpdvy.js → aisdk-native-81ya0cyn.js} +50 -50
- package/dist/chunks/{model-ma6nsz3a.js → aisdk-native-857av7e6.js} +11 -11
- package/dist/chunks/{model-fygryk8m.js → aisdk-native-8633e32v.js} +57 -57
- package/dist/chunks/{model-n44feps9.js → aisdk-native-87wz8y4f.js} +21 -21
- package/dist/chunks/{model-grz7zy3r.js → aisdk-native-8f5vn4y6.js} +32 -32
- package/dist/chunks/{model-72y14xv9.js → aisdk-native-8htx5bsh.js} +6 -6
- package/dist/chunks/{model-wdcfxsan.js → aisdk-native-8kvep3qh.js} +19 -19
- package/dist/chunks/{model-8m6m0r52.js → aisdk-native-8m6m0r52.js} +1 -1
- package/dist/chunks/{model-wcgc3hss.js → aisdk-native-8zkpvnna.js} +1 -1
- package/dist/chunks/{model-91qna3x0.js → aisdk-native-91qna3x0.js} +3 -3
- package/dist/chunks/{model-pdkwkcft.js → aisdk-native-9f3kfj0w.js} +33 -33
- package/dist/chunks/{model-636h7cea.js → aisdk-native-9gqqc41r.js} +16 -16
- package/dist/chunks/{model-8bfncd3g.js → aisdk-native-9q3k1j0v.js} +9 -9
- package/dist/chunks/{model-vbyty4xy.js → aisdk-native-a4py5cpc.js} +1 -1
- package/dist/chunks/{model-kftbgjt8.js → aisdk-native-a7nx9cet.js} +13 -13
- package/dist/chunks/{model-cykvf63n.js → aisdk-native-aar5gdr5.js} +28 -28
- package/dist/chunks/{model-vrxmxsaq.js → aisdk-native-ahzja0hh.js} +73 -73
- package/dist/chunks/{model-h9mky73t.js → aisdk-native-akqk8sab.js} +7 -7
- package/dist/chunks/{model-kj32e9g7.js → aisdk-native-am3rts34.js} +37 -37
- package/dist/chunks/{model-rnv29cyz.js → aisdk-native-at4q08bv.js} +4 -4
- package/dist/chunks/{model-g70vnkxp.js → aisdk-native-b0gfd9ze.js} +3 -3
- package/dist/chunks/{model-ceq2fdbr.js → aisdk-native-b6p84twm.js} +34 -34
- package/dist/chunks/{model-6rgqsnph.js → aisdk-native-b91nwg8g.js} +18 -18
- package/dist/chunks/{model-s93qc9vz.js → aisdk-native-bbwb3tg1.js} +11 -11
- package/dist/chunks/{model-fqhbsnr5.js → aisdk-native-be7qvw84.js} +8 -8
- package/dist/chunks/{model-g4cgpsn5.js → aisdk-native-bhfqgx9b.js} +43 -43
- package/dist/chunks/{model-49fqqd4r.js → aisdk-native-bm2k7dvm.js} +24 -24
- package/dist/chunks/{model-yh1hagv9.js → aisdk-native-bnmx4s30.js} +11 -11
- package/dist/chunks/{model-v1thw1q0.js → aisdk-native-btjnvmca.js} +18 -18
- package/dist/chunks/{model-8ye8phve.js → aisdk-native-by01zdyf.js} +8 -8
- package/dist/chunks/{model-bzeyqsqd.js → aisdk-native-bzeyqsqd.js} +1 -1
- package/dist/chunks/{model-9mga5c27.js → aisdk-native-bzmyrtgm.js} +49 -49
- package/dist/chunks/{model-c1fqxshp.js → aisdk-native-c1fqxshp.js} +3 -3
- package/dist/chunks/{model-q4k2r7g2.js → aisdk-native-c54mkjth.js} +11 -11
- package/dist/chunks/{model-r2m716tb.js → aisdk-native-c765mh8b.js} +5 -5
- package/dist/chunks/{model-mx47rfmj.js → aisdk-native-d2fcktxz.js} +23 -23
- package/dist/chunks/{model-h2ebcmnw.js → aisdk-native-d5k9gwgv.js} +5 -5
- package/dist/chunks/{model-0p2v4pma.js → aisdk-native-djzkgkjh.js} +24 -24
- package/dist/chunks/{model-xsa8njxy.js → aisdk-native-dq1s7xs1.js} +27 -27
- package/dist/chunks/{model-bpkktk07.js → aisdk-native-drw16v3n.js} +15 -15
- package/dist/chunks/{model-drwq78ky.js → aisdk-native-drwq78ky.js} +1 -1
- package/dist/chunks/{model-t550f9t1.js → aisdk-native-eaj1djv9.js} +8 -8
- package/dist/chunks/{model-5mmxse3m.js → aisdk-native-ebkkt26y.js} +35 -35
- package/dist/chunks/{model-e80seqcp.js → aisdk-native-ed1g29hy.js} +3 -3
- package/dist/chunks/{model-eej6y6fw.js → aisdk-native-eej6y6fw.js} +2 -2
- package/dist/chunks/{model-ef5x83kb.js → aisdk-native-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-d1mb5amx.js → aisdk-native-ejsnqms9.js} +6 -6
- package/dist/chunks/{model-xe9tpf1b.js → aisdk-native-esweh509.js} +4 -4
- package/dist/chunks/{model-ab191amw.js → aisdk-native-ez7zb83q.js} +15 -15
- package/dist/chunks/{model-3sj8yt8v.js → aisdk-native-f29mbr7f.js} +4 -4
- package/dist/chunks/{model-f2n192rq.js → aisdk-native-f2n192rq.js} +1 -1
- package/dist/chunks/{model-rmjpaj98.js → aisdk-native-f9dg0krm.js} +4 -4
- package/dist/chunks/{model-dqcawr84.js → aisdk-native-f9mp1tr3.js} +34 -34
- package/dist/chunks/{model-b2b6kptg.js → aisdk-native-f9zw9cwv.js} +20 -20
- package/dist/chunks/{model-v9hfyz1s.js → aisdk-native-fb21a40g.js} +32 -32
- package/dist/chunks/{model-e09dskc3.js → aisdk-native-fbckf6rr.js} +8 -8
- package/dist/chunks/{model-cxjn1h7n.js → aisdk-native-fcpf9qhg.js} +13 -13
- package/dist/chunks/{model-asaf6qxa.js → aisdk-native-fcxyaqjr.js} +75 -75
- package/dist/chunks/{model-fcy631f0.js → aisdk-native-fcy631f0.js} +1 -1
- package/dist/chunks/{model-vn3rjt1z.js → aisdk-native-fmc7mv7c.js} +10 -10
- package/dist/chunks/{model-xnj83fhm.js → aisdk-native-fv64t74d.js} +25 -25
- package/dist/chunks/{model-6nqxxja9.js → aisdk-native-g2ce8ysr.js} +14 -14
- package/dist/chunks/{model-74p5kxdx.js → aisdk-native-g2eqbmgj.js} +4 -4
- package/dist/chunks/{model-11aq9g4k.js → aisdk-native-g6yd57fw.js} +29 -29
- package/dist/chunks/{model-z8y91tz7.js → aisdk-native-g72yd4k4.js} +12 -12
- package/dist/chunks/{model-gd4qta3r.js → aisdk-native-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-azwe5p1w.js → aisdk-native-gqtdsdt7.js} +4 -4
- package/dist/chunks/{model-chb9np0b.js → aisdk-native-gr3q6f7t.js} +9 -9
- package/dist/chunks/{model-xxqg5re6.js → aisdk-native-gvn6r4fp.js} +17 -17
- package/dist/chunks/{model-bpxfg8jv.js → aisdk-native-gypt3wrt.js} +18 -18
- package/dist/chunks/{model-h6vf3j39.js → aisdk-native-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-h7s7r6s9.js → aisdk-native-h7s7r6s9.js} +2 -2
- package/dist/chunks/{model-tp9z584j.js → aisdk-native-hby3v0sk.js} +13 -13
- package/dist/chunks/{model-n61013np.js → aisdk-native-hcv80w8f.js} +8 -8
- package/dist/chunks/{model-xp2z857k.js → aisdk-native-hd764qx2.js} +17 -17
- package/dist/chunks/{model-fqze90fq.js → aisdk-native-hfm8k81q.js} +33 -33
- package/dist/chunks/{model-hgz4x7wa.js → aisdk-native-hgz4x7wa.js} +1 -1
- package/dist/chunks/{model-p97a26wd.js → aisdk-native-hr1cbj3n.js} +11 -11
- package/dist/chunks/{model-2zzk95jc.js → aisdk-native-htca15kx.js} +24 -24
- package/dist/chunks/{model-5pjt3m7t.js → aisdk-native-hv766s67.js} +12 -12
- package/dist/chunks/{model-mnzjzk6s.js → aisdk-native-hvv1hv08.js} +11 -11
- package/dist/chunks/{model-x3mzkak9.js → aisdk-native-hysprbpw.js} +28 -28
- package/dist/chunks/{model-s0hxh50y.js → aisdk-native-j62r7er6.js} +11 -11
- package/dist/chunks/{model-j5w2yx54.js → aisdk-native-jhf3jymm.js} +6 -6
- package/dist/chunks/{model-s09wpg7e.js → aisdk-native-jmt4g3es.js} +6 -6
- package/dist/chunks/{model-v7z2bvyd.js → aisdk-native-jpqeh2wc.js} +4 -4
- package/dist/chunks/{model-t83nhy2t.js → aisdk-native-jrspw62g.js} +11 -11
- package/dist/chunks/{model-bnk7cdjh.js → aisdk-native-jvg2n2aw.js} +12 -12
- package/dist/chunks/{model-2rj07jxf.js → aisdk-native-k31jkf7a.js} +36 -36
- package/dist/chunks/aisdk-native-k4txyfcn.js +26 -0
- package/dist/chunks/{model-rfvt5x14.js → aisdk-native-k5swd9j3.js} +25 -25
- package/dist/chunks/{model-ny8edt06.js → aisdk-native-khmqacep.js} +4 -4
- package/dist/chunks/{model-kabzph0t.js → aisdk-native-kw1z6fck.js} +32 -32
- package/dist/chunks/{model-kwb1v3vj.js → aisdk-native-kwb1v3vj.js} +1 -1
- package/dist/chunks/{model-32qa6vbj.js → aisdk-native-m2m2mnn4.js} +3 -3
- package/dist/chunks/{model-m9w0rfyh.js → aisdk-native-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-maspj1v3.js → aisdk-native-maspj1v3.js} +1 -1
- package/dist/chunks/{model-y9kpd8s3.js → aisdk-native-mjd0h37a.js} +13 -13
- package/dist/chunks/{model-ecktab1z.js → aisdk-native-mkwgwxx5.js} +17 -17
- package/dist/chunks/{model-ay5x56j0.js → aisdk-native-mn4vnm7j.js} +25 -25
- package/dist/chunks/{model-6hexesxg.js → aisdk-native-mnj9ndyb.js} +34 -34
- package/dist/chunks/{model-34gry8w8.js → aisdk-native-mq80trd4.js} +4 -4
- package/dist/chunks/{model-3z0hjn58.js → aisdk-native-mqw5201m.js} +9 -9
- package/dist/chunks/{model-krxbrekj.js → aisdk-native-mr4x22gk.js} +5 -5
- package/dist/chunks/{model-3m1hm5sp.js → aisdk-native-mrbyhrys.js} +25 -25
- package/dist/chunks/{model-2taq7fdd.js → aisdk-native-mvpfmfnj.js} +19 -19
- package/dist/chunks/{model-am4qcv70.js → aisdk-native-n5336ace.js} +24 -24
- package/dist/chunks/{model-7tj55yx8.js → aisdk-native-n5rjtpa8.js} +4 -4
- package/dist/chunks/{model-vhjrr7mk.js → aisdk-native-n7sdrszj.js} +34 -34
- package/dist/chunks/{model-34596wkg.js → aisdk-native-n9wg9t6b.js} +4 -4
- package/dist/chunks/{model-eahhehpg.js → aisdk-native-nb9p6b26.js} +4 -4
- package/dist/chunks/{model-6ytk35w5.js → aisdk-native-ndwvy6sh.js} +8 -8
- package/dist/chunks/{model-3rccn82p.js → aisdk-native-nex6g99t.js} +32 -32
- package/dist/chunks/{model-d924vz02.js → aisdk-native-nw75nqgb.js} +8 -8
- package/dist/chunks/{model-wr7n6jz0.js → aisdk-native-p0n9dd50.js} +24 -24
- package/dist/chunks/{model-7d2a7xbs.js → aisdk-native-p3p972wa.js} +5 -5
- package/dist/chunks/{model-vqwxx78m.js → aisdk-native-p7khan72.js} +12 -12
- package/dist/chunks/{model-zssgvwvv.js → aisdk-native-p8z35g66.js} +22 -22
- package/dist/chunks/{model-9hn6k4tm.js → aisdk-native-pa8pe2x7.js} +8 -8
- package/dist/chunks/{model-ra67jj04.js → aisdk-native-phz50fbd.js} +9 -9
- package/dist/chunks/{model-pjvnvgmy.js → aisdk-native-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-pknna89w.js → aisdk-native-pknna89w.js} +1 -1
- package/dist/chunks/{model-ehh902hv.js → aisdk-native-pt0p6zdd.js} +4 -4
- package/dist/chunks/{model-5w9yjztw.js → aisdk-native-q5e7cmwt.js} +1 -1
- package/dist/chunks/{model-8rqycdgd.js → aisdk-native-qa3qhgw8.js} +7 -7
- package/dist/chunks/{model-hbb7npd7.js → aisdk-native-qb8tpnra.js} +6 -6
- package/dist/chunks/{model-rgkx77sa.js → aisdk-native-qfh1sp6w.js} +23 -23
- package/dist/chunks/{model-qgn6gcr1.js → aisdk-native-qgn6gcr1.js} +1 -1
- package/dist/chunks/{model-qnc92qwc.js → aisdk-native-qnc92qwc.js} +1 -1
- package/dist/chunks/{model-5x0sq0pb.js → aisdk-native-qpa6v9dy.js} +3 -3
- package/dist/chunks/{model-qsdy395h.js → aisdk-native-qsdy395h.js} +1 -1
- package/dist/chunks/{model-de12mgtc.js → aisdk-native-qv0sc65t.js} +6 -6
- package/dist/chunks/{model-bx8wf0xt.js → aisdk-native-qwcr4tkf.js} +8 -8
- package/dist/chunks/{model-47sz30n1.js → aisdk-native-r1wyba81.js} +332 -332
- package/dist/chunks/{model-cr0kavpg.js → aisdk-native-r49sjae4.js} +47 -47
- package/dist/chunks/{model-s5f94422.js → aisdk-native-r7dqcwfq.js} +23 -23
- package/dist/chunks/{model-x3vxrdp4.js → aisdk-native-rby0cg9s.js} +5 -5
- package/dist/chunks/{model-66prbn3s.js → aisdk-native-rc1dtgp9.js} +32 -32
- package/dist/chunks/{model-rdw6cm16.js → aisdk-native-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-rert0e01.js → aisdk-native-rert0e01.js} +2 -2
- package/dist/chunks/{model-fts609s6.js → aisdk-native-rh46567d.js} +16 -16
- package/dist/chunks/{model-rj3eygr5.js → aisdk-native-rj3eygr5.js} +2 -2
- package/dist/chunks/{model-5xtfwz69.js → aisdk-native-rmrvqga3.js} +47 -47
- package/dist/chunks/{model-r7nsrefv.js → aisdk-native-rrkxh1xc.js} +8 -8
- package/dist/chunks/{model-nfjdydxw.js → aisdk-native-s0mkmyt7.js} +21 -21
- package/dist/chunks/{model-j3j05rer.js → aisdk-native-s166ng9r.js} +187 -187
- package/dist/chunks/{model-sa8ekw3f.js → aisdk-native-sa8ekw3f.js} +2 -2
- package/dist/chunks/{model-z5exdbxr.js → aisdk-native-sem9bkte.js} +34 -34
- package/dist/chunks/{model-nbyfmbp2.js → aisdk-native-sj8vh3z4.js} +12 -12
- package/dist/chunks/{model-yjb5b1g6.js → aisdk-native-sqqjsjmy.js} +57 -57
- package/dist/chunks/{model-m5jcjszt.js → aisdk-native-ss358qx3.js} +3 -3
- package/dist/chunks/{model-6qgfysr7.js → aisdk-native-sx2nsv8w.js} +22 -22
- package/dist/chunks/{model-syv4x271.js → aisdk-native-syv4x271.js} +1 -1
- package/dist/chunks/{model-6caww4kb.js → aisdk-native-t12t2w17.js} +22 -22
- package/dist/chunks/{model-2kd2p7qs.js → aisdk-native-t49fxq84.js} +11 -11
- package/dist/chunks/{model-mkj1vhfj.js → aisdk-native-t6khmxd7.js} +12 -12
- package/dist/chunks/{model-tazgh4e4.js → aisdk-native-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-89znhe33.js → aisdk-native-tcezcvh9.js} +4 -4
- package/dist/chunks/{model-tdstcens.js → aisdk-native-tdstcens.js} +1 -1
- package/dist/chunks/{model-0tz7w237.js → aisdk-native-tfwsmwt4.js} +5 -5
- package/dist/chunks/{model-gj0f7hmv.js → aisdk-native-tg1sa0zd.js} +5 -5
- package/dist/chunks/{model-tm0kqsz3.js → aisdk-native-tm0kqsz3.js} +1 -1
- package/dist/chunks/{model-mscbxc3d.js → aisdk-native-tncr6wjy.js} +27 -27
- package/dist/chunks/{model-shqwqces.js → aisdk-native-twc1vsqm.js} +24 -24
- package/dist/chunks/{model-97aeaand.js → aisdk-native-txm3e8qz.js} +4 -4
- package/dist/chunks/{model-tyytaxap.js → aisdk-native-tyytaxap.js} +1 -1
- package/dist/chunks/{model-ca7w653e.js → aisdk-native-tz4n1mmd.js} +4 -4
- package/dist/chunks/{model-ctr5jdva.js → aisdk-native-tzyg30fa.js} +19 -19
- package/dist/chunks/{model-v0es1rhs.js → aisdk-native-v0es1rhs.js} +2 -2
- package/dist/chunks/{model-s21aqrjm.js → aisdk-native-v40qwybm.js} +13 -13
- package/dist/chunks/{model-v7p4zvkq.js → aisdk-native-v7p4zvkq.js} +2 -2
- package/dist/chunks/{model-veqvce7d.js → aisdk-native-veqvce7d.js} +1 -1
- package/dist/chunks/{model-ppmprt3f.js → aisdk-native-vk88wd7x.js} +15 -15
- package/dist/chunks/{model-hc9nn3cp.js → aisdk-native-vmdmk0et.js} +14 -14
- package/dist/chunks/{model-tbtt1cd4.js → aisdk-native-vq6psn5t.js} +5 -5
- package/dist/chunks/{model-am1tmpj5.js → aisdk-native-vsqy0cyg.js} +10 -10
- package/dist/chunks/{model-mvnjff55.js → aisdk-native-vv35qwbh.js} +32 -32
- package/dist/chunks/{model-wa72q8a5.js → aisdk-native-vxaa5nkj.js} +9 -9
- package/dist/chunks/{model-vzs5sf6e.js → aisdk-native-vzs5sf6e.js} +1 -1
- package/dist/chunks/{model-w1eejvng.js → aisdk-native-w1eejvng.js} +1 -1
- package/dist/chunks/{model-w3wsvvr9.js → aisdk-native-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-1p7ncxxa.js → aisdk-native-w5vwky2y.js} +18 -18
- package/dist/chunks/{model-jykakyyr.js → aisdk-native-w6deq2kd.js} +14 -14
- package/dist/chunks/{model-egcq7ve1.js → aisdk-native-w78sse8b.js} +20 -20
- package/dist/chunks/{model-wd87259q.js → aisdk-native-wd87259q.js} +1 -1
- package/dist/chunks/{model-0b5g1ynf.js → aisdk-native-wg81ww38.js} +4 -4
- package/dist/chunks/{model-bjx1sjef.js → aisdk-native-wjr9rjd7.js} +6 -6
- package/dist/chunks/{model-fdms3n6w.js → aisdk-native-wk5z6jzv.js} +9 -9
- package/dist/chunks/{model-j8d907hd.js → aisdk-native-xak1hmgm.js} +29 -29
- package/dist/chunks/{model-6x34hzzw.js → aisdk-native-xb95awg8.js} +23 -23
- package/dist/chunks/{model-nkeqdcfk.js → aisdk-native-xmy0pd0c.js} +8 -8
- package/dist/chunks/{model-56xs2vdn.js → aisdk-native-xpxjqbdf.js} +7 -7
- package/dist/chunks/{model-px34zb81.js → aisdk-native-xsj4jg1h.js} +2 -2
- package/dist/chunks/{model-3ftn6mbn.js → aisdk-native-xw6t3zyn.js} +13 -13
- package/dist/chunks/{model-y1fvbwt7.js → aisdk-native-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-y71avatq.js → aisdk-native-y71avatq.js} +1 -1
- package/dist/chunks/{model-dtg8b4t8.js → aisdk-native-ydh2fxne.js} +13 -13
- package/dist/chunks/{model-ntfc07z9.js → aisdk-native-yehhdxsm.js} +16 -16
- package/dist/chunks/{model-tyrv786q.js → aisdk-native-yj2fbnj9.js} +31 -31
- package/dist/chunks/{model-032ktewz.js → aisdk-native-yvsf14qf.js} +12 -12
- package/dist/chunks/{model-z0bkrqjs.js → aisdk-native-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-cc6y7f3e.js → aisdk-native-z30ge3xy.js} +25 -25
- package/dist/chunks/{model-f5q4m7s3.js → aisdk-native-z4ve87a6.js} +14 -14
- package/dist/chunks/{model-r2v4c7r0.js → aisdk-native-z6yetpqf.js} +8 -8
- package/dist/chunks/{model-9ajnrktk.js → aisdk-native-z7j87bq3.js} +23 -23
- package/dist/chunks/{model-c2dc41sf.js → aisdk-native-zhpejmxn.js} +13 -13
- package/dist/chunks/{model-b4nzaj04.js → aisdk-native-zmhzecev.js} +5 -5
- package/dist/chunks/{model-zr2ceqn5.js → aisdk-native-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-zxq2ej10.js → aisdk-native-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- 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 +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- 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 +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- 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 +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- 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 +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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 +4 -4
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +108 -108
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +104 -104
- 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 +93 -93
- 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 +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +103 -103
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- 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/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- 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 +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +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 +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +155 -155
- 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 +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- 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 +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- 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 +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- 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 +209 -209
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +207 -207
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- 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 +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/model-0qdvnyhc.js +0 -26
- package/dist/chunks/model-1x11rq2a.js +0 -18
- package/dist/chunks/model-5qat1gp6.js +0 -257
- /package/dist/chunks/{model-0qkdqm5v.js → aisdk-native-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-0zkw76rk.js → aisdk-native-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-17cy0kzp.js → aisdk-native-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-1cnp2v09.js → aisdk-native-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-1kg9ymc8.js → aisdk-native-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-24dcb14g.js → aisdk-native-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-2710q6r3.js → aisdk-native-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-2axfhc9x.js → aisdk-native-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-2bv980vf.js → aisdk-native-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-2c3vjs8z.js → aisdk-native-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-359p4xyc.js → aisdk-native-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-3asan66x.js → aisdk-native-3asan66x.js} +0 -0
- /package/dist/chunks/{model-3t0ybcrp.js → aisdk-native-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{model-3v8g72cx.js → aisdk-native-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-3wcehsnq.js → aisdk-native-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-43n2bw4t.js → aisdk-native-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-4knz6hnm.js → aisdk-native-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-4vcrnpx2.js → aisdk-native-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-4y7fprxs.js → aisdk-native-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-53557ph1.js → aisdk-native-53557ph1.js} +0 -0
- /package/dist/chunks/{model-550bvhaj.js → aisdk-native-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-5qd3pb7m.js → aisdk-native-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{model-6prwharc.js → aisdk-native-6prwharc.js} +0 -0
- /package/dist/chunks/{model-6q2bdcd1.js → aisdk-native-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-7akdwqpd.js → aisdk-native-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-7m9af43g.js → aisdk-native-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-822emrt2.js → aisdk-native-822emrt2.js} +0 -0
- /package/dist/chunks/{model-84wd9syh.js → aisdk-native-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-88xbtdfr.js → aisdk-native-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-8n3pysct.js → aisdk-native-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-8wj87zfr.js → aisdk-native-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-9a4afbnw.js → aisdk-native-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-9rqn6x4v.js → aisdk-native-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-a6k6eb26.js → aisdk-native-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-af5trqkr.js → aisdk-native-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-afrmfg78.js → aisdk-native-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-aqzs7mqg.js → aisdk-native-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-atq7p7m5.js → aisdk-native-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-bkyjaxrp.js → aisdk-native-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-bmr6ed5q.js → aisdk-native-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-cf4snx6d.js → aisdk-native-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-cvy3z8tj.js → aisdk-native-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-d9fn303g.js → aisdk-native-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-d9jj8t3e.js → aisdk-native-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-dajrwvna.js → aisdk-native-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-dap0rakb.js → aisdk-native-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-df08tz66.js → aisdk-native-df08tz66.js} +0 -0
- /package/dist/chunks/{model-dy18nga0.js → aisdk-native-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-e5kj55wp.js → aisdk-native-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-e73j6tqm.js → aisdk-native-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-ec1grn59.js → aisdk-native-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-eh3zwz77.js → aisdk-native-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-emrn6kk6.js → aisdk-native-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-f0mxakyp.js → aisdk-native-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-f6n9ztr4.js → aisdk-native-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-faypxj3z.js → aisdk-native-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-fd410y7t.js → aisdk-native-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-g4wezp1m.js → aisdk-native-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-g86h250q.js → aisdk-native-g86h250q.js} +0 -0
- /package/dist/chunks/{model-gebd4c9n.js → aisdk-native-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-gftt206x.js → aisdk-native-gftt206x.js} +0 -0
- /package/dist/chunks/{model-hcxmzztb.js → aisdk-native-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-hk9envan.js → aisdk-native-hk9envan.js} +0 -0
- /package/dist/chunks/{model-j2ntwpah.js → aisdk-native-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-j5zkgpj8.js → aisdk-native-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-jjkms2e6.js → aisdk-native-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-jr7sbwjy.js → aisdk-native-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-jwfs4k6c.js → aisdk-native-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-jze0r7bz.js → aisdk-native-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-jzg6c2d5.js → aisdk-native-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-m18g726c.js → aisdk-native-m18g726c.js} +0 -0
- /package/dist/chunks/{model-mp448xyj.js → aisdk-native-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-msx8hqn2.js → aisdk-native-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-n05xt0ee.js → aisdk-native-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-n3j8tn72.js → aisdk-native-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-njntx4h6.js → aisdk-native-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-pkyv6v7h.js → aisdk-native-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-pyv0edze.js → aisdk-native-pyv0edze.js} +0 -0
- /package/dist/chunks/{model-q3sfg36h.js → aisdk-native-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-q74kybfr.js → aisdk-native-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-qaymkmh1.js → aisdk-native-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-qb87gjwd.js → aisdk-native-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-qfa1cgps.js → aisdk-native-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-qg3g05ea.js → aisdk-native-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-qrg20bc0.js → aisdk-native-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-rcb2kzg1.js → aisdk-native-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-sdp7kfr6.js → aisdk-native-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-ssg3fenm.js → aisdk-native-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-ve7vex1e.js → aisdk-native-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-w803qqfp.js → aisdk-native-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-wc3fc9cn.js → aisdk-native-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-wer8tq1h.js → aisdk-native-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-wjj7prxr.js → aisdk-native-wjj7prxr.js} +0 -0
- /package/dist/chunks/{model-wtztk69x.js → aisdk-native-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-x0ckcb58.js → aisdk-native-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-x61499pn.js → aisdk-native-x61499pn.js} +0 -0
- /package/dist/chunks/{model-y44na4kk.js → aisdk-native-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-y8f7s663.js → aisdk-native-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-ygaqb7jw.js → aisdk-native-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-ym463w8f.js → aisdk-native-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-z5v4ffb3.js → aisdk-native-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-z9919s4g.js → aisdk-native-z9919s4g.js} +0 -0
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-gqtdsdt7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service85
|
|
6
|
+
} from "./aisdk-native-469aedh6.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./aisdk-native-5nmptev9.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID9,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./aisdk-native-9f3kfj0w.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID8,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service66
|
|
20
|
+
} from "./aisdk-native-67spsgav.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID7
|
|
23
|
+
} from "./aisdk-native-5b4ve5a9.js";
|
|
24
24
|
import {
|
|
25
25
|
load2,
|
|
26
26
|
derive2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./aisdk-native-jrspw62g.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./aisdk-native-27tz6dez.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID15
|
|
33
|
+
} from "./aisdk-native-twc1vsqm.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./aisdk-native-54ma36ye.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
65
65
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
66
66
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
67
67
|
var oauth = (app) => ({
|
|
68
|
-
integrationID:
|
|
68
|
+
integrationID: ID9.make("github-copilot"),
|
|
69
69
|
method: {
|
|
70
70
|
id: methodID,
|
|
71
71
|
type: "oauth",
|
|
@@ -163,8 +163,8 @@ var oauth = (app) => ({
|
|
|
163
163
|
var GithubCopilotPlugin2 = define({
|
|
164
164
|
id: "opencode.provider.github.copilot",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const providers = yield*
|
|
167
|
-
const bus = yield*
|
|
166
|
+
const providers = yield* Service66;
|
|
167
|
+
const bus = yield* Service85;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
170
170
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -180,7 +180,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
180
180
|
return;
|
|
181
181
|
}
|
|
182
182
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
183
|
-
const provider = yield* providers.get(
|
|
183
|
+
const provider = yield* providers.get(ID8.githubCopilot);
|
|
184
184
|
const remote = yield* Effect.tryPromise({
|
|
185
185
|
try: () => load2(url, {
|
|
186
186
|
...provider?.headers,
|
|
@@ -202,7 +202,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
202
202
|
editor.method.update(oauth(ctx.app));
|
|
203
203
|
});
|
|
204
204
|
yield* ctx.provider.transform((evt) => {
|
|
205
|
-
const item = evt.get(
|
|
205
|
+
const item = evt.get(ID8.githubCopilot);
|
|
206
206
|
if (!item)
|
|
207
207
|
return;
|
|
208
208
|
if (loaded.models) {
|
|
@@ -230,17 +230,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
230
230
|
}
|
|
231
231
|
});
|
|
232
232
|
yield* ctx.model.transform((models) => {
|
|
233
|
-
if (models.get(
|
|
234
|
-
models.update(
|
|
233
|
+
if (models.get(ID8.githubCopilot, ID7.make("gpt-5-chat-latest"))) {
|
|
234
|
+
models.update(ID8.githubCopilot, ID7.make("gpt-5-chat-latest"), (model) => {
|
|
235
235
|
model.enabled = false;
|
|
236
236
|
});
|
|
237
237
|
}
|
|
238
238
|
});
|
|
239
239
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
240
|
-
yield* bus.subscribe(
|
|
240
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
241
241
|
yield* refresh().pipe(Effect.forkScoped);
|
|
242
242
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
243
|
-
if (evt.model.providerID !==
|
|
243
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
244
244
|
return;
|
|
245
245
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
246
246
|
return;
|
|
@@ -249,7 +249,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
249
249
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
250
250
|
}));
|
|
251
251
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
252
|
-
if (evt.model.providerID !==
|
|
252
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
253
253
|
return;
|
|
254
254
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
255
255
|
return;
|
|
@@ -259,13 +259,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
259
259
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
260
260
|
if (interaction !== "conversation-agent")
|
|
261
261
|
evt.headers["x-initiator"] = "agent";
|
|
262
|
-
}), { providerID:
|
|
262
|
+
}), { providerID: ID8.githubCopilot });
|
|
263
263
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
264
|
-
if (evt.model.providerID !==
|
|
264
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
265
265
|
return;
|
|
266
266
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
267
267
|
return;
|
|
268
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
268
|
+
const agent = yield* ctx.agent.get({ agentID: ID15.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
269
269
|
return;
|
|
270
270
|
}));
|
|
271
271
|
if (agent?.data.model)
|
|
@@ -276,9 +276,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
276
276
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
277
277
|
return;
|
|
278
278
|
}));
|
|
279
|
-
}), { providerID:
|
|
279
|
+
}), { providerID: ID8.githubCopilot });
|
|
280
280
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
281
|
-
if (evt.model.providerID !==
|
|
281
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
282
282
|
return;
|
|
283
283
|
const token = evt.request.headers.get("x-api-key");
|
|
284
284
|
if (!token)
|
|
@@ -286,9 +286,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
286
286
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
287
287
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
288
288
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
289
|
-
}), { providerID:
|
|
289
|
+
}), { providerID: ID8.githubCopilot });
|
|
290
290
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
291
|
-
if (evt.model.providerID !==
|
|
291
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
292
292
|
return;
|
|
293
293
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
294
294
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./aisdk-native-469aedh6.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./aisdk-native-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service82,
|
|
12
|
+
node86
|
|
13
|
+
} from "./aisdk-native-z4ve87a6.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service65,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node68
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service65 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const location = yield*
|
|
42
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
43
|
+
const bus = yield* Service85;
|
|
44
|
+
const location = yield* Service82;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service82, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service65.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node68 = makeLocationNode({ service: Service65, layer, deps: [node89, node86] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service65, node68, exports_rpc, define2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service68
|
|
3
|
+
} from "./aisdk-native-r7dqcwfq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service77
|
|
6
|
+
} from "./aisdk-native-8633e32v.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -17,13 +17,13 @@ __export(exports_question, {
|
|
|
17
17
|
Plugin: () => Plugin50,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name14,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name14 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -53,10 +53,10 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin50 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service68;
|
|
57
|
+
const permission = yield* Service77;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
62
|
input: Input13,
|
|
@@ -117,4 +117,4 @@ function toField(question, index) {
|
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
export {
|
|
120
|
+
export { name14, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service46,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node48
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service46 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service46, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service46.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service42, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node48 = makeGlobalNode({ service: Service46, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service46, node48, exports_environment };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service47
|
|
7
|
+
} from "./aisdk-native-2tm4vanq.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-native-hgz4x7wa.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service50
|
|
13
|
+
} from "./aisdk-native-htca15kx.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service71
|
|
16
|
+
} from "./aisdk-native-9gqqc41r.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service77
|
|
19
|
+
} from "./aisdk-native-8633e32v.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service76,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./aisdk-native-45v5yvr1.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./aisdk-native-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service64,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./aisdk-native-ydh2fxne.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError6,
|
|
36
|
+
Service45
|
|
37
|
+
} from "./aisdk-native-bzmyrtgm.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service21
|
|
40
|
+
} from "./aisdk-native-635tr45c.js";
|
|
41
41
|
import {
|
|
42
42
|
scan3
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./aisdk-native-esweh509.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input3,
|
|
53
|
+
Plugin: () => Plugin39,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name3
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name3 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input3 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin39 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service21;
|
|
124
|
+
const jobs = yield* Service71;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service50;
|
|
127
|
+
const access = yield* Service76;
|
|
128
|
+
const shell = yield* Service45;
|
|
129
|
+
const shellSelect = yield* Service64;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service77;
|
|
132
|
+
const config = yield* Service47;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -148,7 +148,7 @@ var Plugin49 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name3,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin49 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name3,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input3,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -211,7 +211,7 @@ var Plugin49 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError6({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name3,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name3];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin39, exports_shell2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./aisdk-native-469aedh6.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-native-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
11
|
root2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-native-p0n9dd50.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service82,
|
|
15
|
+
node86
|
|
16
|
+
} from "./aisdk-native-z4ve87a6.js";
|
|
17
17
|
import {
|
|
18
18
|
reconcile2,
|
|
19
19
|
create3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./aisdk-native-rdw6cm16.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/vcs.ts
|
|
26
26
|
var exports_vcs = {};
|
|
@@ -29,18 +29,18 @@ __export(exports_vcs, {
|
|
|
29
29
|
BranchList: () => BranchList2,
|
|
30
30
|
DiffError: () => DiffError2,
|
|
31
31
|
FileStatus: () => FileStatus2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info6,
|
|
33
33
|
InitializeError: () => InitializeError2,
|
|
34
34
|
Mode: () => Mode2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service40,
|
|
36
36
|
Vcs: () => exports_vcs,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node42
|
|
38
38
|
});
|
|
39
39
|
import path from "path";
|
|
40
40
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
41
41
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
42
42
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
43
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
43
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info6, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
44
44
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -54,12 +54,12 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
|
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service40 extends Context.Service()("@opencode/Vcs") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
60
60
|
const fs = yield* FSUtil.Service;
|
|
61
|
-
const location = yield*
|
|
62
|
-
const bus = yield*
|
|
61
|
+
const location = yield* Service82;
|
|
62
|
+
const bus = yield* Service85;
|
|
63
63
|
const root = yield* Effect.scope;
|
|
64
64
|
const fork = yield* FiberSet.makeRuntime();
|
|
65
65
|
const vcs = location.vcs;
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
71
71
|
canonical: location.project.canonical,
|
|
72
72
|
...vcs ? { store: vcs.store } : {}
|
|
73
73
|
};
|
|
74
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
74
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info6));
|
|
75
75
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
76
76
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
77
77
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
129
129
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
130
130
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
131
131
|
}
|
|
132
|
-
return
|
|
132
|
+
return Service40.of({
|
|
133
133
|
transform: state.transform,
|
|
134
134
|
reload: state.reload,
|
|
135
135
|
initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
|
|
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
187
187
|
})
|
|
188
188
|
});
|
|
189
189
|
}));
|
|
190
|
-
var
|
|
191
|
-
service:
|
|
190
|
+
var node42 = makeLocationNode({
|
|
191
|
+
service: Service40,
|
|
192
192
|
layer,
|
|
193
|
-
deps: [FSUtil.node,
|
|
193
|
+
deps: [FSUtil.node, node86, node89]
|
|
194
194
|
});
|
|
195
195
|
|
|
196
|
-
export { Base2, BranchList2, FileStatus2,
|
|
196
|
+
export { Base2, BranchList2, FileStatus2, Info6, Mode2, DiffError2, InitializeError2, Service40, node42, exports_vcs };
|