@opencode/core 0.0.0-dev-19900 → 0.0.0-dev-19902
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{instruction-discovery-n564ge7k.js → vcs-06bxqvqd.js} +74 -74
- package/dist/chunks/{instruction-discovery-hs89yfgw.js → vcs-0fpxx9w9.js} +22 -22
- package/dist/chunks/{instruction-discovery-4w936hdb.js → vcs-0m9hvdjb.js} +32 -32
- package/dist/chunks/vcs-0mesazry.js +4 -0
- package/dist/chunks/{instruction-discovery-0paq2nw3.js → vcs-0paq2nw3.js} +1 -1
- package/dist/chunks/{instruction-discovery-0q0f95c6.js → vcs-0q0f95c6.js} +1 -1
- package/dist/chunks/{instruction-discovery-hvar7jas.js → vcs-0rz20qc6.js} +10 -10
- package/dist/chunks/{instruction-discovery-vxb87yez.js → vcs-184qwre1.js} +32 -32
- package/dist/chunks/{instruction-discovery-r5x6zcsm.js → vcs-1bbkgx8g.js} +3 -3
- package/dist/chunks/{instruction-discovery-1dazxqgg.js → vcs-1dazxqgg.js} +2 -2
- package/dist/chunks/{instruction-discovery-mxpy5kqj.js → vcs-1fb9mvs3.js} +9 -9
- package/dist/chunks/{instruction-discovery-t7tbz147.js → vcs-1jp5d5qx.js} +6 -6
- package/dist/chunks/{instruction-discovery-mmf7z9cm.js → vcs-1persx71.js} +22 -22
- package/dist/chunks/{instruction-discovery-6e2tn9ff.js → vcs-1q9gvqp4.js} +33 -33
- package/dist/chunks/{instruction-discovery-0ey4gza8.js → vcs-1vyz3ncy.js} +24 -24
- package/dist/chunks/{instruction-discovery-418e4qyw.js → vcs-1w7zh0sm.js} +25 -25
- package/dist/chunks/{instruction-discovery-56gdpj1q.js → vcs-1ygqh575.js} +9 -9
- package/dist/chunks/{instruction-discovery-21r38tys.js → vcs-21r38tys.js} +1 -1
- package/dist/chunks/{instruction-discovery-1j33dhda.js → vcs-22bvbdp8.js} +25 -25
- package/dist/chunks/{instruction-discovery-d3dfkvzz.js → vcs-22jekang.js} +11 -11
- package/dist/chunks/{instruction-discovery-a6v99qxw.js → vcs-23pqda6t.js} +4 -4
- package/dist/chunks/{instruction-discovery-6h73sxmp.js → vcs-2402vzrj.js} +5 -5
- package/dist/chunks/{instruction-discovery-dbncea3f.js → vcs-28htqttt.js} +26 -26
- package/dist/chunks/{instruction-discovery-2a5m3afh.js → vcs-2a5m3afh.js} +1 -1
- package/dist/chunks/{instruction-discovery-4w5f3qm5.js → vcs-2eegacq4.js} +8 -8
- package/dist/chunks/{instruction-discovery-vjeczn16.js → vcs-2eqzk29d.js} +34 -34
- package/dist/chunks/{instruction-discovery-40w4c332.js → vcs-2ma6m1hd.js} +42 -42
- package/dist/chunks/{instruction-discovery-42nnd79y.js → vcs-2pa0ebz7.js} +25 -25
- package/dist/chunks/{instruction-discovery-n3g2ny2j.js → vcs-3cfy2m9k.js} +18 -18
- package/dist/chunks/{instruction-discovery-3fc6dm20.js → vcs-3fc6dm20.js} +1 -1
- package/dist/chunks/{instruction-discovery-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
- package/dist/chunks/{instruction-discovery-a68v6zx7.js → vcs-3pbjq009.js} +8 -8
- package/dist/chunks/{instruction-discovery-rmdyxgmk.js → vcs-3rtxz4nr.js} +4 -4
- package/dist/chunks/{instruction-discovery-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
- package/dist/chunks/{instruction-discovery-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
- package/dist/chunks/{instruction-discovery-cpj0znwe.js → vcs-44h5tttr.js} +4 -4
- package/dist/chunks/{instruction-discovery-ggbxvbfp.js → vcs-44qs7j7x.js} +2 -2
- package/dist/chunks/{instruction-discovery-drkyv896.js → vcs-49w1zfkv.js} +29 -29
- package/dist/chunks/{instruction-discovery-2jz473v5.js → vcs-4jc5c4h4.js} +1 -1
- package/dist/chunks/{instruction-discovery-b3hz27q2.js → vcs-4qawhqvw.js} +44 -44
- package/dist/chunks/{instruction-discovery-9kyym00p.js → vcs-4trwyrk8.js} +37 -37
- package/dist/chunks/{instruction-discovery-7zrc25mc.js → vcs-53b9wc7c.js} +11 -11
- package/dist/chunks/{instruction-discovery-cwxsjhem.js → vcs-54f4cdnr.js} +32 -32
- package/dist/chunks/{instruction-discovery-81swgkk7.js → vcs-57ez7d0k.js} +7 -7
- package/dist/chunks/{instruction-discovery-ddbatmq7.js → vcs-57tmmswg.js} +14 -14
- package/dist/chunks/{instruction-discovery-0kk0ravz.js → vcs-5bjcf7t7.js} +13 -13
- package/dist/chunks/{instruction-discovery-j7wq2tw5.js → vcs-5cmxdwv8.js} +3 -3
- package/dist/chunks/{instruction-discovery-5daktx2q.js → vcs-5daktx2q.js} +1 -1
- package/dist/chunks/{instruction-discovery-c3h8wfdp.js → vcs-5ffk9kez.js} +22 -22
- package/dist/chunks/{instruction-discovery-zc2z59sj.js → vcs-5kvvkpfr.js} +26 -26
- package/dist/chunks/{instruction-discovery-3jqkyynh.js → vcs-5p5bzsag.js} +39 -39
- package/dist/chunks/{instruction-discovery-5t3nmthw.js → vcs-5t3nmthw.js} +2 -2
- package/dist/chunks/{instruction-discovery-cmwkp3r5.js → vcs-5yzzbxa7.js} +8 -8
- package/dist/chunks/{instruction-discovery-evnqb7wv.js → vcs-62bbsg9f.js} +30 -30
- package/dist/chunks/{instruction-discovery-669tq793.js → vcs-669tq793.js} +1 -1
- package/dist/chunks/{instruction-discovery-w7t3m5yz.js → vcs-6e5cdvf9.js} +5 -5
- package/dist/chunks/{instruction-discovery-n37c4crj.js → vcs-6hjx5zpb.js} +5 -5
- package/dist/chunks/{instruction-discovery-m8m4z3yp.js → vcs-6km5j4vv.js} +32 -32
- package/dist/chunks/{instruction-discovery-6msgmcgs.js → vcs-6msgmcgs.js} +1 -1
- package/dist/chunks/{instruction-discovery-9wzvj5v9.js → vcs-6w37svz8.js} +14 -14
- package/dist/chunks/{instruction-discovery-fbn8vq8y.js → vcs-6xm7vd1q.js} +54 -54
- package/dist/chunks/{instruction-discovery-n2r5jww1.js → vcs-714b5bzd.js} +16 -16
- package/dist/chunks/{instruction-discovery-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
- package/dist/chunks/{instruction-discovery-2v1pe63m.js → vcs-7c6da5rg.js} +6 -6
- package/dist/chunks/{instruction-discovery-5g7h90tq.js → vcs-7kwzg5by.js} +27 -27
- package/dist/chunks/{instruction-discovery-hm2kbhva.js → vcs-7r7wzp6f.js} +11 -11
- package/dist/chunks/{instruction-discovery-8rqycdgd.js → vcs-806j49yq.js} +7 -7
- package/dist/chunks/{instruction-discovery-52an44af.js → vcs-82tpn184.js} +1 -1
- package/dist/chunks/{instruction-discovery-x1xcpfha.js → vcs-851r6173.js} +12 -12
- package/dist/chunks/{instruction-discovery-wj76ss2k.js → vcs-86qzxe6p.js} +4 -4
- package/dist/chunks/{instruction-discovery-5308q9ah.js → vcs-895cavcg.js} +5 -5
- package/dist/chunks/{instruction-discovery-8d7r5vzw.js → vcs-8d7r5vzw.js} +1 -1
- package/dist/chunks/{instruction-discovery-pt4q7hgj.js → vcs-8gfvkmm8.js} +7 -7
- package/dist/chunks/{instruction-discovery-az2wwzwz.js → vcs-8n7wg0nx.js} +8 -8
- package/dist/chunks/{instruction-discovery-dj2t23y0.js → vcs-8p4f9s12.js} +2 -2
- package/dist/chunks/{instruction-discovery-gw91bphe.js → vcs-8pjx8nfz.js} +28 -28
- package/dist/chunks/{instruction-discovery-8q9myf25.js → vcs-8q9myf25.js} +1 -1
- package/dist/chunks/{instruction-discovery-vc7d60mr.js → vcs-8qfhj5ez.js} +40 -40
- package/dist/chunks/{instruction-discovery-1z9x3rn3.js → vcs-8qg9v9kt.js} +21 -21
- package/dist/chunks/{instruction-discovery-bwh2gxn7.js → vcs-8vbfh6w5.js} +18 -18
- package/dist/chunks/{instruction-discovery-ax8kytpb.js → vcs-8x5gmx2f.js} +5 -5
- package/dist/chunks/{instruction-discovery-wqr29zjb.js → vcs-8z3x7c7v.js} +10 -10
- package/dist/chunks/{instruction-discovery-pwrndqkq.js → vcs-91p7smtn.js} +16 -16
- package/dist/chunks/{instruction-discovery-5g1kh4hh.js → vcs-97352yzp.js} +10 -10
- package/dist/chunks/vcs-98xq376d.js +492 -0
- package/dist/chunks/{instruction-discovery-bzbc6d81.js → vcs-9cebvf05.js} +11 -11
- package/dist/chunks/{instruction-discovery-xb4b135n.js → vcs-9dkzr50w.js} +15 -15
- package/dist/chunks/{instruction-discovery-9ger9kq1.js → vcs-9h9x41eb.js} +45 -45
- package/dist/chunks/{instruction-discovery-4vsrrm82.js → vcs-9had1z43.js} +16 -16
- package/dist/chunks/{instruction-discovery-4586v85s.js → vcs-9kx2764h.js} +3 -3
- package/dist/chunks/{instruction-discovery-h7dcmjj9.js → vcs-9mrdfhh7.js} +4 -4
- package/dist/chunks/{instruction-discovery-78ntkc3g.js → vcs-9q338w3w.js} +15 -15
- package/dist/chunks/{instruction-discovery-3sbvtyy1.js → vcs-9rnex8sw.js} +35 -35
- package/dist/chunks/{instruction-discovery-6qbtmb9x.js → vcs-9rnfzppy.js} +90 -90
- package/dist/chunks/{instruction-discovery-5c4hm403.js → vcs-a1bz86dw.js} +3 -3
- package/dist/chunks/{instruction-discovery-gfhhve88.js → vcs-a694798e.js} +5 -5
- package/dist/chunks/{instruction-discovery-aaet6srn.js → vcs-aaet6srn.js} +2 -2
- package/dist/chunks/{instruction-discovery-sw062jys.js → vcs-aef2hfh8.js} +3 -3
- package/dist/chunks/{instruction-discovery-0f9afca0.js → vcs-af04s6ss.js} +5 -5
- package/dist/chunks/{instruction-discovery-1pknbyyk.js → vcs-afr11sqc.js} +11 -11
- package/dist/chunks/{instruction-discovery-r7wvrq5n.js → vcs-afs5v1dd.js} +28 -28
- package/dist/chunks/{instruction-discovery-9k2sbvrc.js → vcs-ajtzfeyv.js} +27 -27
- package/dist/chunks/{instruction-discovery-44m3xyse.js → vcs-apcpnh84.js} +19 -19
- package/dist/chunks/{instruction-discovery-y03jrrsm.js → vcs-ayzh9crp.js} +28 -28
- package/dist/chunks/{instruction-discovery-t8e7hrdd.js → vcs-azeezzne.js} +43 -43
- package/dist/chunks/{instruction-discovery-b6gygkdw.js → vcs-b6gygkdw.js} +2 -2
- package/dist/chunks/{instruction-discovery-vcja6beq.js → vcs-bam9j3yn.js} +4 -4
- package/dist/chunks/{instruction-discovery-pajsw32r.js → vcs-bbf4qmt4.js} +18 -18
- package/dist/chunks/{instruction-discovery-z4fmegtg.js → vcs-beqc5mbd.js} +44 -44
- package/dist/chunks/{instruction-discovery-q2b1ymqp.js → vcs-bf0ztrs3.js} +4 -4
- package/dist/chunks/{instruction-discovery-d38peksj.js → vcs-bft4bjt6.js} +22 -22
- package/dist/chunks/{instruction-discovery-4x92kyrg.js → vcs-bg2n5hwm.js} +24 -24
- package/dist/chunks/{instruction-discovery-61hj3hc6.js → vcs-bgjkbd4h.js} +10 -10
- package/dist/chunks/{instruction-discovery-2tfmgkzg.js → vcs-bha4atvq.js} +4 -4
- package/dist/chunks/{instruction-discovery-vadan2xk.js → vcs-bm3m92rh.js} +12 -12
- package/dist/chunks/{instruction-discovery-87acsesb.js → vcs-bvtvf2dx.js} +29 -29
- package/dist/chunks/{instruction-discovery-jnvtr24d.js → vcs-c1fkwwdb.js} +9 -9
- package/dist/chunks/{instruction-discovery-d7k7sx54.js → vcs-c3pnf5gz.js} +5 -5
- package/dist/chunks/{instruction-discovery-ae47t9tr.js → vcs-c423wngz.js} +22 -22
- package/dist/chunks/{instruction-discovery-j3v3kc3q.js → vcs-cfpegmwh.js} +16 -16
- package/dist/chunks/{instruction-discovery-m0jqrx5p.js → vcs-cfpkc3c9.js} +2 -2
- package/dist/chunks/{instruction-discovery-0th4gdda.js → vcs-cgm6kxvk.js} +11 -11
- package/dist/chunks/{instruction-discovery-cwa6csj7.js → vcs-cpneeje0.js} +9 -9
- package/dist/chunks/{instruction-discovery-hprg1gtw.js → vcs-cqy8643h.js} +13 -13
- package/dist/chunks/{instruction-discovery-0rge4enf.js → vcs-czadhajx.js} +17 -17
- package/dist/chunks/{instruction-discovery-xs6j62r2.js → vcs-d48v28sm.js} +25 -25
- package/dist/chunks/{instruction-discovery-dcc5kmch.js → vcs-d9q3pbsw.js} +24 -24
- package/dist/chunks/{instruction-discovery-ba684aqx.js → vcs-djsfyw38.js} +30 -30
- package/dist/chunks/{instruction-discovery-c6ds0c94.js → vcs-dz8x4rxg.js} +4 -4
- package/dist/chunks/{instruction-discovery-xdqt2g5m.js → vcs-dzqymmzq.js} +18 -18
- package/dist/chunks/{instruction-discovery-ar4sv4wr.js → vcs-e1mj0vj7.js} +17 -17
- package/dist/chunks/{instruction-discovery-5gd7c1r2.js → vcs-e4w0jxb5.js} +4 -4
- package/dist/chunks/{instruction-discovery-eaj1djv9.js → vcs-eaj1djv9.js} +1 -1
- package/dist/chunks/{instruction-discovery-ef5x83kb.js → vcs-ef5x83kb.js} +1 -1
- package/dist/chunks/{instruction-discovery-erjwy5a4.js → vcs-ekrqgzb7.js} +18 -18
- package/dist/chunks/{instruction-discovery-r6a5m96p.js → vcs-epn2sa0c.js} +6 -6
- package/dist/chunks/{instruction-discovery-erw5rpbs.js → vcs-erw5rpbs.js} +2 -2
- package/dist/chunks/{instruction-discovery-etq0c3wd.js → vcs-etq0c3wd.js} +1 -1
- package/dist/chunks/{instruction-discovery-t0fxg8b9.js → vcs-evbgk2k8.js} +5 -5
- package/dist/chunks/{instruction-discovery-7nv22mqq.js → vcs-f3j5hbg7.js} +24 -24
- package/dist/chunks/{instruction-discovery-nrdmrqsx.js → vcs-f3ngv102.js} +4 -4
- package/dist/chunks/{instruction-discovery-e8qyrgb1.js → vcs-f62qkzqr.js} +5 -5
- package/dist/chunks/{instruction-discovery-hdnk95c8.js → vcs-f828m53h.js} +2 -2
- package/dist/chunks/{instruction-discovery-qgn6gcr1.js → vcs-fcrkznn8.js} +5 -5
- package/dist/chunks/{instruction-discovery-q18rqdhp.js → vcs-fsb9he91.js} +23 -23
- package/dist/chunks/{instruction-discovery-dfvnyc1p.js → vcs-fvezrss0.js} +12 -12
- package/dist/chunks/{instruction-discovery-fxbjtjnd.js → vcs-fxbjtjnd.js} +1 -1
- package/dist/chunks/{instruction-discovery-2rdpeq7m.js → vcs-g5ey5584.js} +58 -58
- package/dist/chunks/{instruction-discovery-5ng1186e.js → vcs-gbbd40p0.js} +11 -11
- package/dist/chunks/{instruction-discovery-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
- package/dist/chunks/{instruction-discovery-22bcdqxp.js → vcs-gddtx3qm.js} +6 -6
- package/dist/chunks/{instruction-discovery-r4bbfj0a.js → vcs-gf9cennz.js} +11 -11
- package/dist/chunks/{instruction-discovery-qsxs4axe.js → vcs-gmec7qkh.js} +16 -16
- package/dist/chunks/{instruction-discovery-1mfb1fj9.js → vcs-gqmn58wt.js} +13 -13
- package/dist/chunks/{instruction-discovery-gv6a8nnw.js → vcs-gv6a8nnw.js} +2 -2
- package/dist/chunks/{instruction-discovery-zpzdfdvk.js → vcs-gw4gsfyf.js} +31 -31
- package/dist/chunks/{instruction-discovery-kycnkrz5.js → vcs-gxpss1xa.js} +6 -6
- package/dist/chunks/{instruction-discovery-j6afddsv.js → vcs-h4jvj8sb.js} +15 -15
- package/dist/chunks/{instruction-discovery-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
- package/dist/chunks/{instruction-discovery-vfn1w7ss.js → vcs-hgztkpm2.js} +15 -15
- package/dist/chunks/{instruction-discovery-z6fxfjsh.js → vcs-hj10qh6h.js} +4 -4
- package/dist/chunks/vcs-hsw65fz2.js +26 -0
- package/dist/chunks/{instruction-discovery-83p2mfqs.js → vcs-hxnndwj0.js} +13 -13
- package/dist/chunks/{instruction-discovery-smf1jdzn.js → vcs-j1b4f4fp.js} +3 -3
- package/dist/chunks/{instruction-discovery-qtjzhv84.js → vcs-j21skp5h.js} +5 -5
- package/dist/chunks/{instruction-discovery-j56e64zr.js → vcs-j56e64zr.js} +1 -1
- package/dist/chunks/{instruction-discovery-fkzrgswq.js → vcs-j7y4ca1s.js} +4 -4
- package/dist/chunks/{instruction-discovery-c02f66qn.js → vcs-jcnasrqh.js} +14 -14
- package/dist/chunks/{instruction-discovery-qq4e6q1v.js → vcs-jrj7x53v.js} +184 -184
- package/dist/chunks/{instruction-discovery-k3c624dm.js → vcs-k3c624dm.js} +3 -3
- package/dist/chunks/{instruction-discovery-y15vpdnr.js → vcs-k7myrtme.js} +9 -9
- package/dist/chunks/{instruction-discovery-ra8aazcz.js → vcs-k93pg8v4.js} +22 -22
- package/dist/chunks/{instruction-discovery-fkjmw100.js → vcs-k9kj6xed.js} +2 -2
- package/dist/chunks/{instruction-discovery-99ckvcg4.js → vcs-kc0th94z.js} +18 -18
- package/dist/chunks/{instruction-discovery-je6n49gk.js → vcs-kdwyyjd3.js} +29 -29
- package/dist/chunks/{instruction-discovery-wa06t0jy.js → vcs-kfar339a.js} +7 -7
- package/dist/chunks/{instruction-discovery-sdv0qq99.js → vcs-kkaetc1n.js} +11 -11
- package/dist/chunks/{instruction-discovery-6n67ebsj.js → vcs-ktgztd0g.js} +5 -5
- package/dist/chunks/{instruction-discovery-d9p0aq9s.js → vcs-kybf328v.js} +8 -8
- package/dist/chunks/{instruction-discovery-vcepthm9.js → vcs-kzccg1px.js} +5 -5
- package/dist/chunks/{instruction-discovery-3dw6jwe7.js → vcs-kzqky8qt.js} +4 -4
- package/dist/chunks/{instruction-discovery-f4kpt639.js → vcs-m0gns9qd.js} +11 -11
- package/dist/chunks/{instruction-discovery-fps5zk9a.js → vcs-m1br8f3h.js} +41 -41
- package/dist/chunks/{instruction-discovery-m3fdjcah.js → vcs-m3fdjcah.js} +1 -1
- package/dist/chunks/{instruction-discovery-vsr8n5q5.js → vcs-m3m63vqf.js} +17 -17
- package/dist/chunks/{instruction-discovery-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instruction-discovery-e59d23kr.js → vcs-manr16bd.js} +47 -47
- package/dist/chunks/{instruction-discovery-hpfswxd7.js → vcs-mbh094q3.js} +8 -8
- package/dist/chunks/{instruction-discovery-xybdjdjw.js → vcs-md632y2v.js} +23 -23
- package/dist/chunks/{instruction-discovery-zcakg7q8.js → vcs-mdt7wpts.js} +12 -12
- package/dist/chunks/{instruction-discovery-gzwveqb0.js → vcs-mf1nhdgy.js} +11 -11
- package/dist/chunks/{instruction-discovery-hkjf8z9r.js → vcs-mnbh32fx.js} +6 -6
- package/dist/chunks/{instruction-discovery-fte74qth.js → vcs-n4tkj91s.js} +15 -15
- package/dist/chunks/{instruction-discovery-g6c9v916.js → vcs-nchf4vkq.js} +20 -20
- package/dist/chunks/{instruction-discovery-526bqhsm.js → vcs-ng41ab57.js} +32 -32
- package/dist/chunks/{instruction-discovery-exzk6jzs.js → vcs-njh9wamt.js} +9 -9
- package/dist/chunks/{instruction-discovery-bks7jzz2.js → vcs-p47d79et.js} +13 -13
- package/dist/chunks/{instruction-discovery-dphr9ftm.js → vcs-pcwda15n.js} +33 -33
- package/dist/chunks/{instruction-discovery-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instruction-discovery-d4472sqx.js → vcs-pk22p7g6.js} +54 -54
- package/dist/chunks/{instruction-discovery-pknna89w.js → vcs-pknna89w.js} +1 -1
- package/dist/chunks/{instruction-discovery-efpq0zzc.js → vcs-pr76b9qx.js} +14 -14
- package/dist/chunks/{instruction-discovery-hzm29e1k.js → vcs-ptcfs43y.js} +9 -9
- package/dist/chunks/vcs-pxhh23s1.js +252 -0
- package/dist/chunks/{instruction-discovery-ckf8nxjz.js → vcs-q5asdkn4.js} +4 -4
- package/dist/chunks/{instruction-discovery-x2ssjezq.js → vcs-qev7t9nn.js} +32 -32
- package/dist/chunks/{instruction-discovery-d9wx0zpv.js → vcs-qq8x5mwt.js} +7 -7
- package/dist/chunks/{instruction-discovery-qsdy395h.js → vcs-qsdy395h.js} +1 -1
- package/dist/chunks/{instruction-discovery-fd093cwy.js → vcs-r29m84vx.js} +8 -8
- package/dist/chunks/{instruction-discovery-04a8qnpg.js → vcs-r8qbfd09.js} +13 -13
- package/dist/chunks/{instruction-discovery-rhraev7y.js → vcs-r8xr0va3.js} +4 -4
- package/dist/chunks/{instruction-discovery-x8hq59sm.js → vcs-rbbp8jxz.js} +12 -12
- package/dist/chunks/{instruction-discovery-rdw6cm16.js → vcs-rdw6cm16.js} +1 -1
- package/dist/chunks/{instruction-discovery-m1ssxc8j.js → vcs-rm8tnsqk.js} +1 -1
- package/dist/chunks/{instruction-discovery-6t7adkhd.js → vcs-rqr2ktmx.js} +25 -25
- package/dist/chunks/{instruction-discovery-0g324dnv.js → vcs-ryyjaja0.js} +26 -26
- package/dist/chunks/{instruction-discovery-brmbj7e7.js → vcs-s1nrrhvy.js} +35 -35
- package/dist/chunks/{instruction-discovery-y8dx4hw7.js → vcs-s25fny7j.js} +7 -7
- package/dist/chunks/{instruction-discovery-myt6z8bz.js → vcs-s6gd3yqw.js} +12 -12
- package/dist/chunks/{instruction-discovery-9rsz42x0.js → vcs-sfkndbk9.js} +20 -20
- package/dist/chunks/{instruction-discovery-h6a8fqwt.js → vcs-sfxhchz9.js} +6 -6
- package/dist/chunks/{instruction-discovery-y67gsgy6.js → vcs-shh6fz4q.js} +4 -4
- package/dist/chunks/{instruction-discovery-fwq3s2k2.js → vcs-smntnd8a.js} +24 -24
- package/dist/chunks/{instruction-discovery-spgs59mc.js → vcs-srm9ksap.js} +32 -32
- package/dist/chunks/{instruction-discovery-b31avp8j.js → vcs-svgfqqcp.js} +20 -20
- package/dist/chunks/{instruction-discovery-adqvsp1z.js → vcs-t6cag2br.js} +8 -8
- package/dist/chunks/{instruction-discovery-nva2p24e.js → vcs-t8ztd77a.js} +31 -31
- package/dist/chunks/{instruction-discovery-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
- package/dist/chunks/{instruction-discovery-p28j5sbe.js → vcs-tbz0fdvh.js} +5 -5
- package/dist/chunks/{instruction-discovery-tcezcvh9.js → vcs-tcezcvh9.js} +1 -1
- package/dist/chunks/{instruction-discovery-safxhdh0.js → vcs-tcr6kwe6.js} +10 -10
- package/dist/chunks/{instruction-discovery-tdstcens.js → vcs-tdstcens.js} +1 -1
- package/dist/chunks/{instruction-discovery-0vz77pwa.js → vcs-tmn9wnk5.js} +6 -6
- package/dist/chunks/{instruction-discovery-hz0qet22.js → vcs-ts0rj8wt.js} +23 -23
- package/dist/chunks/{instruction-discovery-tvtrv512.js → vcs-tvtrv512.js} +1 -1
- package/dist/chunks/{instruction-discovery-j92t2mfa.js → vcs-tvwc8hr6.js} +90 -90
- package/dist/chunks/{instruction-discovery-veqvce7d.js → vcs-veqvce7d.js} +1 -1
- package/dist/chunks/{instruction-discovery-xg9t41r3.js → vcs-vmgq4x8b.js} +2 -2
- package/dist/chunks/{instruction-discovery-qwkytnft.js → vcs-vmwh049b.js} +6 -6
- package/dist/chunks/vcs-vnkjks7b.js +18 -0
- package/dist/chunks/{instruction-discovery-heravr3y.js → vcs-vv7f9fa9.js} +9 -9
- package/dist/chunks/{instruction-discovery-j8sp74qn.js → vcs-vxx99sjc.js} +3 -3
- package/dist/chunks/{instruction-discovery-ghdygspd.js → vcs-vyeeb4fx.js} +26 -26
- package/dist/chunks/{instruction-discovery-vzcthcp8.js → vcs-vzcthcp8.js} +1 -1
- package/dist/chunks/{instruction-discovery-bw0vgseb.js → vcs-w1ad28wa.js} +5 -5
- package/dist/chunks/{instruction-discovery-1hc11dc4.js → vcs-w1k39n5e.js} +4 -4
- package/dist/chunks/{instruction-discovery-bxgy70qw.js → vcs-w1wexeyx.js} +30 -30
- package/dist/chunks/{instruction-discovery-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instruction-discovery-6yg4wga3.js → vcs-w42vs2rt.js} +13 -13
- package/dist/chunks/{instruction-discovery-zcyfwxd8.js → vcs-w44apg5x.js} +22 -22
- package/dist/chunks/{instruction-discovery-tw7yweqw.js → vcs-w9g7ydng.js} +15 -15
- package/dist/chunks/{instruction-discovery-qqes52tx.js → vcs-wa37zzmg.js} +26 -26
- package/dist/chunks/{instruction-discovery-0r7yqxbf.js → vcs-wbkyxrgf.js} +5 -5
- package/dist/chunks/{instruction-discovery-wd87259q.js → vcs-wd87259q.js} +1 -1
- package/dist/chunks/{instruction-discovery-ypw6dm2q.js → vcs-weadm8hn.js} +31 -31
- package/dist/chunks/{instruction-discovery-km9g08hw.js → vcs-wnfrhfx2.js} +43 -43
- package/dist/chunks/{instruction-discovery-4e1qnwf8.js → vcs-wy6y3hhv.js} +28 -28
- package/dist/chunks/{instruction-discovery-zqezt8f0.js → vcs-x12byf42.js} +17 -17
- package/dist/chunks/{instruction-discovery-x1ezjp6w.js → vcs-x1ezjp6w.js} +1 -1
- package/dist/chunks/{instruction-discovery-rcaf9vmp.js → vcs-x445sbb5.js} +23 -23
- package/dist/chunks/{instruction-discovery-08cpxpnw.js → vcs-x4xqgfya.js} +18 -18
- package/dist/chunks/{instruction-discovery-drwq78ky.js → vcs-xfkkasph.js} +4 -4
- package/dist/chunks/{instruction-discovery-qg0jgkcp.js → vcs-xk747vep.js} +9 -9
- package/dist/chunks/{instruction-discovery-94rmqvaz.js → vcs-xwybkkb8.js} +11 -11
- package/dist/chunks/{instruction-discovery-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instruction-discovery-fcqfjr0s.js → vcs-y3qk7898.js} +22 -22
- package/dist/chunks/{instruction-discovery-dpkg50ah.js → vcs-y71avatq.js} +4 -4
- package/dist/chunks/{instruction-discovery-ecep5xn0.js → vcs-ygzkyjb3.js} +15 -15
- package/dist/chunks/{instruction-discovery-m6wkxvak.js → vcs-yjjxz7tc.js} +11 -11
- package/dist/chunks/{instruction-discovery-yrhqyw5v.js → vcs-yrhqyw5v.js} +1 -1
- package/dist/chunks/{instruction-discovery-yrznvahk.js → vcs-yrznvahk.js} +2 -2
- package/dist/chunks/{instruction-discovery-ycd3jqfs.js → vcs-yzbxen85.js} +5 -5
- package/dist/chunks/{instruction-discovery-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instruction-discovery-85wjywk1.js → vcs-z5js96t6.js} +8 -8
- package/dist/chunks/{instruction-discovery-z63w68vq.js → vcs-z63w68vq.js} +2 -2
- package/dist/chunks/{instruction-discovery-99p8z2n6.js → vcs-z66kg6fv.js} +16 -16
- package/dist/chunks/{instruction-discovery-zeh9ct20.js → vcs-zeh9ct20.js} +2 -2
- package/dist/chunks/{instruction-discovery-y81sbrd6.js → vcs-zgr64ze9.js} +6 -6
- package/dist/chunks/{instruction-discovery-zr2ceqn5.js → vcs-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instruction-discovery-gp6eacnx.js → vcs-zt8dnmbv.js} +5 -5
- package/dist/chunks/{instruction-discovery-qgt6ar0x.js → vcs-zvgbhwzy.js} +10 -10
- package/dist/chunks/{instruction-discovery-pa4xnpep.js → vcs-zxgjg8c8.js} +5 -5
- package/dist/chunks/{instruction-discovery-zxq2ej10.js → vcs-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +362 -362
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +105 -105
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- 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 +90 -90
- 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/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +1 -1
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +103 -103
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +116 -116
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +15 -15
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +88 -88
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +113 -113
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- 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 +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/instruction-discovery-6r3amyyd.js +0 -4
- package/dist/chunks/instruction-discovery-9zdhvgqs.js +0 -18
- package/dist/chunks/instruction-discovery-ntrtanyh.js +0 -26
- package/dist/chunks/instruction-discovery-vx946gkh.js +0 -252
- package/dist/chunks/instruction-discovery-w0cvk0vm.js +0 -492
- /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-24dcb14g.js → vcs-24dcb14g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2710q6r3.js → vcs-2710q6r3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-359p4xyc.js → vcs-359p4xyc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3asan66x.js → vcs-3asan66x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3w5fmr99.js → vcs-3w5fmr99.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instruction-discovery-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instruction-discovery-53557ph1.js → vcs-53557ph1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-550bvhaj.js → vcs-550bvhaj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-5qd3pb7m.js → vcs-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6prwharc.js → vcs-6prwharc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7m9af43g.js → vcs-7m9af43g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-822emrt2.js → vcs-822emrt2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8n3pysct.js → vcs-8n3pysct.js} +0 -0
- /package/dist/chunks/{instruction-discovery-922hggd3.js → vcs-922hggd3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instruction-discovery-af5trqkr.js → vcs-af5trqkr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-afrmfg78.js → vcs-afrmfg78.js} +0 -0
- /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instruction-discovery-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9fn303g.js → vcs-d9fn303g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dajrwvna.js → vcs-dajrwvna.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dap0rakb.js → vcs-dap0rakb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-df08tz66.js → vcs-df08tz66.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dy18nga0.js → vcs-dy18nga0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ec1grn59.js → vcs-ec1grn59.js} +0 -0
- /package/dist/chunks/{instruction-discovery-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instruction-discovery-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-faypxj3z.js → vcs-faypxj3z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fd410y7t.js → vcs-fd410y7t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fxgpk5d8.js → vcs-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g86h250q.js → vcs-g86h250q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gftt206x.js → vcs-gftt206x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hjbc5kem.js → vcs-hjbc5kem.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hk9envan.js → vcs-hk9envan.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jjkms2e6.js → vcs-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-mp448xyj.js → vcs-mp448xyj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instruction-discovery-njntx4h6.js → vcs-njntx4h6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q74kybfr.js → vcs-q74kybfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qg3g05ea.js → vcs-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sk3qaz4a.js → vcs-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-twg0f83k.js → vcs-twg0f83k.js} +0 -0
- /package/dist/chunks/{instruction-discovery-w803qqfp.js → vcs-w803qqfp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → vcs-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wtztk69x.js → vcs-wtztk69x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x61499pn.js → vcs-x61499pn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y44na4kk.js → vcs-y44na4kk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8cydn3q.js → vcs-y8cydn3q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8f7s663.js → vcs-y8f7s663.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ym463w8f.js → vcs-ym463w8f.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z9919s4g.js → vcs-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-44h5tttr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./vcs-714b5bzd.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./vcs-2eqzk29d.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID10,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-wy6y3hhv.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID9,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service69
|
|
20
|
+
} from "./vcs-pcwda15n.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID8
|
|
23
|
+
} from "./vcs-9rnex8sw.js";
|
|
24
24
|
import {
|
|
25
25
|
load2,
|
|
26
26
|
derive2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./vcs-gbbd40p0.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./vcs-22jekang.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/github-copilot.ts
|
|
33
33
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
59
59
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
60
60
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
61
61
|
var oauth = (app) => ({
|
|
62
|
-
integrationID:
|
|
62
|
+
integrationID: ID10.make("github-copilot"),
|
|
63
63
|
method: {
|
|
64
64
|
id: methodID,
|
|
65
65
|
type: "oauth",
|
|
@@ -157,8 +157,8 @@ var oauth = (app) => ({
|
|
|
157
157
|
var GithubCopilotPlugin2 = define({
|
|
158
158
|
id: "opencode.provider.github.copilot",
|
|
159
159
|
effect: Effect.fn(function* (ctx) {
|
|
160
|
-
const providers = yield*
|
|
161
|
-
const bus = yield*
|
|
160
|
+
const providers = yield* Service69;
|
|
161
|
+
const bus = yield* Service80;
|
|
162
162
|
const loading = Semaphore.makeUnsafe(1);
|
|
163
163
|
const loaded = {};
|
|
164
164
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -173,7 +173,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
173
173
|
return;
|
|
174
174
|
}
|
|
175
175
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
176
|
-
const provider = yield* providers.get(
|
|
176
|
+
const provider = yield* providers.get(ID9.githubCopilot);
|
|
177
177
|
const remote = yield* Effect.tryPromise({
|
|
178
178
|
try: () => load2(url, {
|
|
179
179
|
...provider?.headers,
|
|
@@ -194,7 +194,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
194
194
|
editor.method.update(oauth(ctx.app));
|
|
195
195
|
});
|
|
196
196
|
yield* ctx.provider.transform((evt) => {
|
|
197
|
-
const item = evt.get(
|
|
197
|
+
const item = evt.get(ID9.githubCopilot);
|
|
198
198
|
if (!item)
|
|
199
199
|
return;
|
|
200
200
|
if (loaded.models) {
|
|
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
yield* ctx.model.transform((models) => {
|
|
217
|
-
if (models.get(
|
|
218
|
-
models.update(
|
|
217
|
+
if (models.get(ID9.githubCopilot, ID8.make("gpt-5-chat-latest"))) {
|
|
218
|
+
models.update(ID9.githubCopilot, ID8.make("gpt-5-chat-latest"), (model) => {
|
|
219
219
|
model.enabled = false;
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
224
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
225
225
|
yield* refresh().pipe(Effect.forkScoped);
|
|
226
226
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
227
|
-
if (evt.model.providerID !==
|
|
227
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
228
228
|
return;
|
|
229
229
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
230
230
|
return;
|
|
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
233
233
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
234
234
|
}));
|
|
235
235
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
236
|
-
if (evt.model.providerID !==
|
|
236
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
237
237
|
return;
|
|
238
238
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
239
239
|
return;
|
|
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
243
243
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
244
244
|
if (interaction !== "conversation-agent")
|
|
245
245
|
evt.headers["x-initiator"] = "agent";
|
|
246
|
-
}), { providerID:
|
|
246
|
+
}), { providerID: ID9.githubCopilot });
|
|
247
247
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
248
|
-
if (evt.model.providerID !==
|
|
248
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
249
249
|
return;
|
|
250
250
|
const token = evt.request.headers.get("x-api-key");
|
|
251
251
|
if (!token)
|
|
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
253
253
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
254
254
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
255
255
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
256
|
-
}), { providerID:
|
|
256
|
+
}), { providerID: ID9.githubCopilot });
|
|
257
257
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
258
|
-
if (evt.model.providerID !==
|
|
258
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
259
259
|
return;
|
|
260
260
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
261
261
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./vcs-kkaetc1n.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./vcs-714b5bzd.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service61,
|
|
11
|
+
node65
|
|
12
|
+
} from "./vcs-9dkzr50w.js";
|
|
13
13
|
import {
|
|
14
14
|
Service57,
|
|
15
15
|
node61
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./vcs-8q9myf25.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make18
|
|
22
|
+
} from "./vcs-r8xr0va3.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service54
|
|
26
|
+
} from "./vcs-q5asdkn4.js";
|
|
27
27
|
import {
|
|
28
28
|
UserInterruptedError2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./vcs-vmwh049b.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
31
|
+
Service74,
|
|
32
|
+
node78
|
|
33
|
+
} from "./vcs-w9g7ydng.js";
|
|
34
34
|
import {
|
|
35
35
|
toSessionError2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./vcs-e4w0jxb5.js";
|
|
37
37
|
import {
|
|
38
38
|
nextPromotable2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./vcs-w1wexeyx.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./vcs-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/session/execution.ts
|
|
45
45
|
var exports_execution = {};
|
|
46
46
|
__export(exports_execution, {
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service53,
|
|
48
48
|
SessionExecution: () => exports_execution,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
49
|
+
layer: () => layer20,
|
|
50
|
+
node: () => node58,
|
|
51
51
|
noopLayer: () => noopLayer3,
|
|
52
52
|
terminal: () => terminal2
|
|
53
53
|
});
|
|
54
54
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
55
55
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
56
|
-
class
|
|
56
|
+
class Service53 extends Context.Service()("@opencode/SessionExecution") {
|
|
57
57
|
}
|
|
58
58
|
function terminal2(exit, reason) {
|
|
59
59
|
if (Exit.isSuccess(exit))
|
|
@@ -65,12 +65,12 @@ function terminal2(exit, reason) {
|
|
|
65
65
|
return { type: "interrupted", reason: "user" };
|
|
66
66
|
return { type: "failed", error: toSessionError2(failure) };
|
|
67
67
|
}
|
|
68
|
-
var
|
|
69
|
-
const store = yield*
|
|
68
|
+
var layer20 = Layer.effect(Service53, Effect.gen(function* () {
|
|
69
|
+
const store = yield* Service74;
|
|
70
70
|
const instances = yield* Service57;
|
|
71
|
-
const bus = yield*
|
|
72
|
-
const jobs = yield*
|
|
73
|
-
const db = (yield*
|
|
71
|
+
const bus = yield* Service80;
|
|
72
|
+
const jobs = yield* Service61;
|
|
73
|
+
const db = (yield* Service83).db;
|
|
74
74
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
75
75
|
const claimOnCommit = (sessionID) => ({
|
|
76
76
|
commit: () => store.claim(sessionID)
|
|
@@ -82,14 +82,14 @@ var layer22 = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
82
82
|
const session = yield* store.get(sessionID);
|
|
83
83
|
if (!session)
|
|
84
84
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
85
|
-
const result = yield*
|
|
85
|
+
const result = yield* Service54.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
86
86
|
return yield* DrainResult2.$match(result, {
|
|
87
87
|
Complete: () => Effect.void,
|
|
88
88
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
89
89
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
90
90
|
});
|
|
91
91
|
});
|
|
92
|
-
const coordinator = yield*
|
|
92
|
+
const coordinator = yield* make18({
|
|
93
93
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
94
94
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
95
95
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -110,7 +110,7 @@ var layer22 = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
110
110
|
}, releaseOnCommit(sessionID));
|
|
111
111
|
}))
|
|
112
112
|
});
|
|
113
|
-
return
|
|
113
|
+
return Service53.of({
|
|
114
114
|
active: coordinator.active,
|
|
115
115
|
isActive: coordinator.isActive,
|
|
116
116
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -129,12 +129,12 @@ var layer22 = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
129
129
|
awaitIdle: coordinator.awaitIdle
|
|
130
130
|
});
|
|
131
131
|
}));
|
|
132
|
-
var
|
|
133
|
-
service:
|
|
134
|
-
layer:
|
|
135
|
-
deps: [
|
|
132
|
+
var node58 = makeGlobalNode({
|
|
133
|
+
service: Service53,
|
|
134
|
+
layer: layer20,
|
|
135
|
+
deps: [node78, node61, node84, node87, node65]
|
|
136
136
|
});
|
|
137
|
-
var noopLayer3 = Layer.succeed(
|
|
137
|
+
var noopLayer3 = Layer.succeed(Service53, Service53.of({
|
|
138
138
|
active: Effect.succeed(new Set),
|
|
139
139
|
isActive: () => Effect.succeed(false),
|
|
140
140
|
resume: () => Effect.void,
|
|
@@ -143,4 +143,4 @@ var noopLayer3 = Layer.succeed(Service54, Service54.of({
|
|
|
143
143
|
awaitIdle: () => Effect.void
|
|
144
144
|
}));
|
|
145
145
|
|
|
146
|
-
export {
|
|
146
|
+
export { Service53, terminal2, layer20, node58, noopLayer3, exports_execution };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
node85
|
|
6
|
+
} from "./vcs-bm3m92rh.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service78,
|
|
9
|
+
node82
|
|
10
|
+
} from "./vcs-gmec7qkh.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
make12
|
|
16
|
+
} from "./vcs-mbh094q3.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service18,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node21
|
|
27
27
|
});
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import path from "path";
|
|
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
31
31
|
import { Global } from "@opencode/util/global";
|
|
32
32
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service18 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
37
|
-
const location = yield*
|
|
36
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
37
|
+
const location = yield* Service78;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const git = yield*
|
|
39
|
+
const git = yield* make12;
|
|
40
40
|
const state = create3({
|
|
41
41
|
name: "worktree",
|
|
42
42
|
initial: () => ({
|
|
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service18.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node21 = makeLocationNode({
|
|
61
|
+
service: Service18,
|
|
62
62
|
layer,
|
|
63
|
-
deps: [
|
|
63
|
+
deps: [node82, Global.node, node85, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service18, node21, exports_strategies };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./vcs-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service50,
|
|
8
|
+
node53
|
|
9
|
+
} from "./vcs-smntnd8a.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service49,
|
|
24
|
+
node: () => node52
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service49 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service50;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service49.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node52 = makeLocationNode({ service: Service49, layer, deps: [node53, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error4, InvalidPatternError2, Service49, node52, exports_ripgrep };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./vcs-pcwda15n.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-gddtx3qm.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
14
14
|
import { Form } from "@opencode/schema/form";
|
|
15
|
-
var providerID =
|
|
15
|
+
var providerID = ID9.make("cloudflare-workers-ai");
|
|
16
16
|
var CloudflareWorkersAIPlugin2 = define({
|
|
17
17
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./vcs-9rnex8sw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service65
|
|
6
|
+
} from "./vcs-9h9x41eb.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-gddtx3qm.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make6(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service65;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make8(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
providers.models.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID8.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make6();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make6, VLLMPlugin2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service40,
|
|
3
|
+
node43
|
|
4
|
+
} from "./vcs-t8ztd77a.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
removed2,
|
|
8
8
|
make21,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-eaj1djv9.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions3 = {};
|
|
17
|
+
__export(exports_instructions3, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions3,
|
|
19
|
+
Service: () => Service24,
|
|
20
|
+
node: () => node26
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,11 +57,11 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service24 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service40;
|
|
64
|
+
return Service24.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node26 = makeLocationNode({ service: Service24, layer, deps: [node43] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service24, node26, exports_instructions3 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service31,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer14,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
15
|
node: () => node33
|
|
16
16
|
});
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service31 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service31, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service29, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service31.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer14 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var node33 = makeGlobalNode({ service:
|
|
375
|
+
var node33 = makeGlobalNode({ service: Service31, layer: layer14, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service31, makeLayer2, layer14, node33, exports_model_transport };
|