@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,65 +1,65 @@
|
|
|
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
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
provenance2,
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./vcs-w1k39n5e.js";
|
|
21
21
|
import {
|
|
22
22
|
load5
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./vcs-kybf328v.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./vcs-rdw6cm16.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./vcs-4jc5c4h4.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./vcs-bvtvf2dx.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./vcs-e4w0jxb5.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./vcs-sfxhchz9.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./vcs-h6vf3j39.js";
|
|
45
45
|
import {
|
|
46
46
|
calculateCost2,
|
|
47
47
|
record2,
|
|
48
48
|
add2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./vcs-tdstcens.js";
|
|
50
50
|
import {
|
|
51
51
|
__export
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./vcs-9rqn6x4v.js";
|
|
53
53
|
|
|
54
54
|
// src/session/compaction.ts
|
|
55
55
|
var exports_compaction3 = {};
|
|
56
56
|
__export(exports_compaction3, {
|
|
57
|
-
Service: () =>
|
|
57
|
+
Service: () => Service10,
|
|
58
58
|
SessionCompaction: () => exports_compaction3,
|
|
59
59
|
buildPrompt: () => buildPrompt2,
|
|
60
60
|
estimateTokens: () => estimateTokens2,
|
|
61
61
|
layer: () => layer6,
|
|
62
|
-
node: () =>
|
|
62
|
+
node: () => node12,
|
|
63
63
|
retainUsers: () => retainUsers2,
|
|
64
64
|
serializeToolContent: () => serializeToolContent2,
|
|
65
65
|
truncateToolOutput: () => truncateToolOutput2
|
|
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
|
125
125
|
`).filter((line) => line.startsWith("##"));
|
|
126
126
|
var LEGACY_HEADING = "## Additional Context";
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service10 extends Context.Service()("@opencode/SessionCompaction") {
|
|
129
129
|
}
|
|
130
130
|
var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
|
|
131
131
|
var estimateTokens2 = (input) => {
|
|
@@ -298,10 +298,10 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
298
298
|
};
|
|
299
299
|
var hasSummarySection = (summary) => summary.split(`
|
|
300
300
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
301
|
-
var layer6 = Layer.effect(
|
|
302
|
-
const bus = yield*
|
|
301
|
+
var layer6 = Layer.effect(Service10, Effect.gen(function* () {
|
|
302
|
+
const bus = yield* Service80;
|
|
303
303
|
const llm = yield* LLMClient.Service;
|
|
304
|
-
const db = (yield*
|
|
304
|
+
const db = (yield* Service83).db;
|
|
305
305
|
const state = create3({
|
|
306
306
|
name: "session-compaction",
|
|
307
307
|
initial: () => ({ auto: true, buffer: DEFAULT_BUFFER, tokens: DEFAULT_KEEP_TOKENS, native: [] }),
|
|
@@ -606,7 +606,7 @@ var layer6 = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
606
606
|
}
|
|
607
607
|
}));
|
|
608
608
|
});
|
|
609
|
-
return
|
|
609
|
+
return Service10.of({
|
|
610
610
|
transform: state.transform,
|
|
611
611
|
reload: state.reload,
|
|
612
612
|
enabled: () => state.get().auto,
|
|
@@ -615,10 +615,10 @@ var layer6 = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
615
615
|
compactManual
|
|
616
616
|
});
|
|
617
617
|
}));
|
|
618
|
-
var
|
|
619
|
-
service:
|
|
618
|
+
var node12 = makeLocationNode({
|
|
619
|
+
service: Service10,
|
|
620
620
|
layer: layer6,
|
|
621
|
-
deps: [
|
|
621
|
+
deps: [node84, node87, llmClient2]
|
|
622
622
|
});
|
|
623
623
|
|
|
624
|
-
export {
|
|
624
|
+
export { Service10, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node12, exports_compaction3 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID10,
|
|
3
|
+
Service70,
|
|
4
|
+
node74
|
|
5
|
+
} from "./vcs-wy6y3hhv.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID9,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -12,23 +12,23 @@ import {
|
|
|
12
12
|
modelSettings2,
|
|
13
13
|
mergeOverlay2,
|
|
14
14
|
mergeHeaders2,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service69,
|
|
16
|
+
node73
|
|
17
|
+
} from "./vcs-pcwda15n.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service59,
|
|
20
|
+
node63
|
|
21
|
+
} from "./vcs-cgm6kxvk.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID8,
|
|
24
24
|
VariantID2,
|
|
25
25
|
Ref2,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service68,
|
|
27
|
+
node72
|
|
28
|
+
} from "./vcs-9rnex8sw.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./vcs-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/model-resolver.ts
|
|
34
34
|
var exports_model_resolver = {};
|
|
@@ -37,15 +37,15 @@ __export(exports_model_resolver, {
|
|
|
37
37
|
ModelConfigurationError: () => ModelConfigurationError3,
|
|
38
38
|
ModelInitializationError: () => ModelInitializationError3,
|
|
39
39
|
ModelResolver: () => exports_model_resolver,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service58,
|
|
41
41
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
42
42
|
UnsupportedCompactionError: () => UnsupportedCompactionError3,
|
|
43
43
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
44
44
|
VariantUnavailableError: () => VariantUnavailableError3,
|
|
45
45
|
fromCatalogModel: () => fromCatalogModel2,
|
|
46
46
|
hasPackage: () => hasPackage2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer22,
|
|
48
|
+
node: () => node62,
|
|
49
49
|
resolveModel: () => resolveModel2,
|
|
50
50
|
withVariant: () => withVariant2
|
|
51
51
|
});
|
|
@@ -55,8 +55,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
55
55
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
56
56
|
import { Npm } from "@opencode/util/npm";
|
|
57
57
|
class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
58
|
-
providerID:
|
|
59
|
-
modelID:
|
|
58
|
+
providerID: ID9,
|
|
59
|
+
modelID: ID8,
|
|
60
60
|
variant: VariantID2
|
|
61
61
|
}) {
|
|
62
62
|
get message() {
|
|
@@ -65,8 +65,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
68
|
-
providerID:
|
|
69
|
-
modelID:
|
|
68
|
+
providerID: ID9,
|
|
69
|
+
modelID: ID8,
|
|
70
70
|
package: Schema.String
|
|
71
71
|
}) {
|
|
72
72
|
get message() {
|
|
@@ -76,8 +76,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
76
76
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
77
77
|
|
|
78
78
|
class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
79
|
-
providerID:
|
|
80
|
-
modelID:
|
|
79
|
+
providerID: ID9,
|
|
80
|
+
modelID: ID8,
|
|
81
81
|
package: Schema.String,
|
|
82
82
|
detail: Schema.String
|
|
83
83
|
}) {
|
|
@@ -87,8 +87,8 @@ class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
90
|
-
providerID:
|
|
91
|
-
modelID:
|
|
90
|
+
providerID: ID9,
|
|
91
|
+
modelID: ID8,
|
|
92
92
|
package: Schema.String,
|
|
93
93
|
phase: InitializationPhase2,
|
|
94
94
|
detail: Schema.String
|
|
@@ -99,8 +99,8 @@ class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
102
|
-
providerID:
|
|
103
|
-
modelID:
|
|
102
|
+
providerID: ID9,
|
|
103
|
+
modelID: ID8,
|
|
104
104
|
variables: Schema.Array(Schema.String)
|
|
105
105
|
}) {
|
|
106
106
|
get message() {
|
|
@@ -109,8 +109,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
112
|
-
providerID:
|
|
113
|
-
modelID:
|
|
112
|
+
providerID: ID9,
|
|
113
|
+
modelID: ID8,
|
|
114
114
|
route: Schema.String
|
|
115
115
|
}) {
|
|
116
116
|
get message() {
|
|
@@ -118,7 +118,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
class
|
|
121
|
+
class Service58 extends Context.Service()("@opencode/ModelResolver") {
|
|
122
122
|
}
|
|
123
123
|
var withVariant2 = (model, variantID) => {
|
|
124
124
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -258,15 +258,15 @@ var causeMessage = (cause) => {
|
|
|
258
258
|
};
|
|
259
259
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
260
260
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
261
|
-
var
|
|
262
|
-
const providers = yield*
|
|
263
|
-
const models = yield*
|
|
264
|
-
const integrations = yield*
|
|
261
|
+
var layer22 = Layer.effect(Service58, Effect.gen(function* () {
|
|
262
|
+
const providers = yield* Service69;
|
|
263
|
+
const models = yield* Service68;
|
|
264
|
+
const integrations = yield* Service70;
|
|
265
265
|
const npm = yield* Npm.Service;
|
|
266
|
-
const aisdk = yield*
|
|
266
|
+
const aisdk = yield* Service59;
|
|
267
267
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
268
268
|
const provider = yield* providers.get(selected.providerID);
|
|
269
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
269
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID10.make(selected.providerID));
|
|
270
270
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
271
271
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
272
272
|
const runtimeInfo = {
|
|
@@ -292,7 +292,7 @@ var layer24 = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
292
292
|
transport: provider?.settings?.transport
|
|
293
293
|
};
|
|
294
294
|
});
|
|
295
|
-
return
|
|
295
|
+
return Service58.of({
|
|
296
296
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
297
297
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
|
|
298
298
|
if (!selected)
|
|
@@ -309,10 +309,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
309
309
|
const name = packageName2(packageName);
|
|
310
310
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
311
311
|
}
|
|
312
|
-
var
|
|
313
|
-
service:
|
|
314
|
-
layer:
|
|
315
|
-
deps: [
|
|
312
|
+
var node62 = makeLocationNode({
|
|
313
|
+
service: Service58,
|
|
314
|
+
layer: layer22,
|
|
315
|
+
deps: [node73, node72, node74, Npm.node, node63]
|
|
316
316
|
});
|
|
317
317
|
|
|
318
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3,
|
|
318
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service58, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer22, node62, exports_model_resolver };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./vcs-714b5bzd.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node82
|
|
8
|
+
} from "./vcs-gmec7qkh.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID2
|
|
11
|
+
} from "./vcs-0mesazry.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service38,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node41
|
|
16
|
+
} from "./vcs-k93pg8v4.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./vcs-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
|
-
CreateInput: () =>
|
|
28
|
-
Event: () =>
|
|
27
|
+
CreateInput: () => CreateInput2,
|
|
28
|
+
Event: () => Event2,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
31
|
-
NotFoundError: () =>
|
|
30
|
+
Info: () => Info2,
|
|
31
|
+
NotFoundError: () => NotFoundError2,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service14,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node16
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event2 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
45
|
-
var
|
|
44
|
+
var Info2 = Pty.Info;
|
|
45
|
+
var CreateInput2 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
ptyID:
|
|
48
|
+
class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
+
ptyID: ID2
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID2
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service14 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
61
|
-
const bus = yield*
|
|
62
|
-
const location = yield*
|
|
63
|
-
const shell = yield*
|
|
60
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
61
|
+
const bus = yield* Service80;
|
|
62
|
+
const location = yield* Service78;
|
|
63
|
+
const shell = yield* Service38;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
97
97
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
98
98
|
const session = sessions.get(id);
|
|
99
99
|
if (!session)
|
|
100
|
-
return yield* new
|
|
100
|
+
return yield* new NotFoundError2({ ptyID: id });
|
|
101
101
|
return session;
|
|
102
102
|
});
|
|
103
103
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID2.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service14.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node16 = makeLocationNode({
|
|
274
|
+
service: Service14,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [
|
|
276
|
+
deps: [node84, node82, node41]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service14, node16, exports_pty, Event2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-22jekang.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service71
|
|
7
|
+
} from "./vcs-2eqzk29d.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID10,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-wy6y3hhv.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID9,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-pcwda15n.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
24
24
|
var pollingSafetyMargin = 3000;
|
|
25
25
|
var browserMethodID = MethodID2.make("browser");
|
|
26
26
|
var deviceMethodID = MethodID2.make("device");
|
|
27
|
-
var providerID =
|
|
27
|
+
var providerID = ID9.make("xai");
|
|
28
28
|
var Token = Schema.Struct({
|
|
29
29
|
access_token: Schema.String,
|
|
30
30
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
|
|
|
44
44
|
});
|
|
45
45
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
46
46
|
var device = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID10.make("xai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: deviceMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -69,8 +69,8 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
73
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
72
|
+
const credentials = yield* Service71;
|
|
73
|
+
yield* Effect.forEach(yield* credentials.list(ID10.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
76
76
|
return credentials.update(credential.id, {
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./vcs-714b5bzd.js";
|
|
1
5
|
import {
|
|
2
6
|
Service81,
|
|
3
7
|
node85
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service83,
|
|
7
|
-
node87
|
|
8
|
-
} from "./instruction-discovery-vadan2xk.js";
|
|
8
|
+
} from "./vcs-bm3m92rh.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service78,
|
|
11
|
+
node82
|
|
12
|
+
} from "./vcs-gmec7qkh.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-vnkjks7b.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service66,
|
|
18
|
+
node70
|
|
19
|
+
} from "./vcs-5ffk9kez.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node17
|
|
22
|
+
} from "./vcs-1persx71.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service8,
|
|
25
|
+
node9
|
|
26
|
+
} from "./vcs-cpneeje0.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./vcs-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
32
|
var exports_location_watcher2 = {};
|
|
33
33
|
__export(exports_location_watcher2, {
|
|
34
34
|
LocationWatcher: () => exports_location_watcher2,
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
Service: () => Service7,
|
|
36
|
+
node: () => node8
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service7 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
48
|
-
const bus = yield*
|
|
45
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service78;
|
|
47
|
+
const watcher = yield* Service66;
|
|
48
|
+
const bus = yield* Service80;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service81;
|
|
51
|
+
const policy = yield* Service8;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service7.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node8 = makeLocationNode({
|
|
106
|
+
service: Service7,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node70, FSUtil.node, node82, node85, node84, node17, node9]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service7, node8, exports_location_watcher2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
|
-
Event: () =>
|
|
12
|
+
Event: () => Event21,
|
|
13
13
|
ID: () => ID18,
|
|
14
|
-
Info: () =>
|
|
14
|
+
Info: () => Info34,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
16
16
|
UpdateInput: () => UpdateInput4,
|
|
17
17
|
Vcs: () => Vcs3
|
|
@@ -20,12 +20,12 @@ import { Schema } from "effect";
|
|
|
20
20
|
import { Project } from "@opencode/schema/project";
|
|
21
21
|
var ID18 = Project.ID;
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
|
-
var
|
|
23
|
+
var Info34 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
25
|
-
var
|
|
25
|
+
var Event21 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
27
27
|
type: Project.Vcs,
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export { ID18, Current3,
|
|
31
|
+
export { ID18, Current3, Info34, UpdateInput4, Event21, Vcs3, exports_schema };
|