@opencode/core 0.0.0-dev-20794 → 0.0.0-dev-20796
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 +84 -84
- package/dist/aisdk-native.js +90 -90
- package/dist/aisdk.js +95 -95
- package/dist/app.js +9 -9
- package/dist/bus.js +74 -74
- package/dist/chunks/{file-mutation-511hp0pk.js → managed-policy-0095t6xs.js} +3 -3
- package/dist/chunks/{file-mutation-1er3e6yx.js → managed-policy-03t52yv7.js} +38 -38
- package/dist/chunks/{file-mutation-krr416t2.js → managed-policy-0dt2etgv.js} +24 -24
- package/dist/chunks/{file-mutation-001v9px8.js → managed-policy-0ejz2bga.js} +29 -29
- package/dist/chunks/{file-mutation-0emb60td.js → managed-policy-0emb60td.js} +2 -2
- package/dist/chunks/{file-mutation-q0xm7vwc.js → managed-policy-0j77ygfz.js} +6 -6
- package/dist/chunks/{file-mutation-4nj4bn9q.js → managed-policy-0jq9fyba.js} +9 -9
- package/dist/chunks/{file-mutation-6128rfg2.js → managed-policy-0mynhp2e.js} +11 -11
- package/dist/chunks/{file-mutation-0paq2nw3.js → managed-policy-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-mutation-31prma8q.js → managed-policy-0ty2ah2b.js} +10 -10
- package/dist/chunks/{file-mutation-22vr6xcz.js → managed-policy-1cexapz8.js} +12 -12
- package/dist/chunks/managed-policy-1qthtmez.js +513 -0
- package/dist/chunks/{file-mutation-0bqktbhr.js → managed-policy-1xfnrnjm.js} +9 -9
- package/dist/chunks/{file-mutation-ermxvwhp.js → managed-policy-277eer69.js} +4 -4
- package/dist/chunks/{file-mutation-mkpy3z2x.js → managed-policy-29nt2qsf.js} +29 -29
- package/dist/chunks/{file-mutation-4ts7tf6z.js → managed-policy-2ccvkpx1.js} +2 -2
- package/dist/chunks/{file-mutation-tygvv2hj.js → managed-policy-2gx6ak9p.js} +29 -29
- package/dist/chunks/{file-mutation-mr2053vn.js → managed-policy-2j15jcy0.js} +8 -8
- package/dist/chunks/{file-mutation-h2cxmyv6.js → managed-policy-2jv40s7e.js} +181 -181
- package/dist/chunks/{file-mutation-sj77aade.js → managed-policy-2mk9f4rd.js} +10 -10
- package/dist/chunks/{file-mutation-a2zbpae8.js → managed-policy-2p6ac33g.js} +36 -36
- package/dist/chunks/{file-mutation-5hqd4evq.js → managed-policy-2q84hq5x.js} +30 -30
- package/dist/chunks/{file-mutation-2vvh33eb.js → managed-policy-2vvh33eb.js} +2 -2
- package/dist/chunks/{file-mutation-r2rtbtrq.js → managed-policy-2ynvj5gm.js} +11 -11
- package/dist/chunks/{file-mutation-h7s7r6s9.js → managed-policy-31xfzrxg.js} +5 -5
- package/dist/chunks/{file-mutation-pqzs1kgy.js → managed-policy-35qn11j2.js} +39 -39
- package/dist/chunks/{file-mutation-e8vwfchq.js → managed-policy-39yw09hp.js} +9 -9
- package/dist/chunks/{file-mutation-3cegwx68.js → managed-policy-3cegwx68.js} +2 -2
- package/dist/chunks/{file-mutation-1jk66z4d.js → managed-policy-3d2fx156.js} +40 -40
- package/dist/chunks/{file-mutation-3fc6dm20.js → managed-policy-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-mutation-16p3pjs3.js → managed-policy-3h569bqq.js} +22 -22
- package/dist/chunks/{file-mutation-3hepkmqq.js → managed-policy-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-mutation-3hwn7j4h.js → managed-policy-3hwn7j4h.js} +2 -2
- package/dist/chunks/{file-mutation-6k82atfh.js → managed-policy-3qbraf77.js} +11 -11
- package/dist/chunks/{file-mutation-3smtnn6g.js → managed-policy-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-mutation-3tvqynh2.js → managed-policy-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-mutation-8tma8yk9.js → managed-policy-3v5eda7f.js} +16 -16
- package/dist/chunks/{file-mutation-1ptst37f.js → managed-policy-3zb6dbrx.js} +45 -45
- package/dist/chunks/{file-mutation-55c2f9sd.js → managed-policy-3zq8frza.js} +38 -38
- package/dist/chunks/{file-mutation-3zsf4n22.js → managed-policy-3zsf4n22.js} +1 -1
- package/dist/chunks/{file-mutation-q1v2ecrg.js → managed-policy-40aa18dw.js} +27 -27
- package/dist/chunks/{file-mutation-3rg2w6xv.js → managed-policy-42h50f95.js} +13 -13
- package/dist/chunks/{file-mutation-qmav61fh.js → managed-policy-44zcd2dp.js} +27 -27
- package/dist/chunks/{file-mutation-tbe3ncrs.js → managed-policy-4jt13wjz.js} +22 -22
- package/dist/chunks/{file-mutation-n9735yat.js → managed-policy-4m6cf33s.js} +28 -28
- package/dist/chunks/{file-mutation-k6geg3g4.js → managed-policy-4wft2je9.js} +7 -7
- package/dist/chunks/{file-mutation-gw7cjrad.js → managed-policy-4z58m4b4.js} +4 -4
- package/dist/chunks/{file-mutation-r94pvvab.js → managed-policy-54ma36ye.js} +4 -4
- package/dist/chunks/{file-mutation-abyvteg4.js → managed-policy-577m7d3n.js} +5 -5
- package/dist/chunks/{file-mutation-fyme91p9.js → managed-policy-5hn4xqfz.js} +7 -7
- package/dist/chunks/{file-mutation-6159pc4w.js → managed-policy-5kdshx1n.js} +11 -11
- package/dist/chunks/{file-mutation-5m9w47nd.js → managed-policy-5m9w47nd.js} +1 -1
- package/dist/chunks/{file-mutation-413zckkp.js → managed-policy-5n3br0c5.js} +18 -18
- package/dist/chunks/{file-mutation-63db42yp.js → managed-policy-5pyjqqve.js} +2 -2
- package/dist/chunks/{file-mutation-emjccja6.js → managed-policy-5xb8ajmh.js} +4 -4
- package/dist/chunks/{file-mutation-0nchd41w.js → managed-policy-63fb6tqh.js} +26 -25
- package/dist/chunks/{file-mutation-sds13m34.js → managed-policy-659sfxq9.js} +12 -12
- package/dist/chunks/{file-mutation-wd9rzwsc.js → managed-policy-65yns8f5.js} +8 -8
- package/dist/chunks/{file-mutation-ncceg1m1.js → managed-policy-67bsharp.js} +30 -30
- package/dist/chunks/{file-mutation-4b4qgg5c.js → managed-policy-6c9khwmh.js} +35 -35
- package/dist/chunks/{file-mutation-30c1nq7z.js → managed-policy-6d6xcght.js} +6 -6
- package/dist/chunks/{file-mutation-g6cjcx64.js → managed-policy-6k95exvs.js} +11 -11
- package/dist/chunks/{file-mutation-8sze2n9a.js → managed-policy-6pc27hjz.js} +2 -2
- package/dist/chunks/{file-mutation-6xb47vfp.js → managed-policy-6xb47vfp.js} +1 -1
- package/dist/chunks/{file-mutation-1rfarsz2.js → managed-policy-6ye8mhm1.js} +24 -24
- package/dist/chunks/{file-mutation-82v73sw7.js → managed-policy-72sxpf59.js} +3 -3
- package/dist/chunks/{file-mutation-4xfmg39d.js → managed-policy-79v37vv7.js} +15 -15
- package/dist/chunks/{file-mutation-dfd436bf.js → managed-policy-7b0237bg.js} +21 -21
- package/dist/chunks/{file-mutation-7bmhse3q.js → managed-policy-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-mutation-4an6wz3e.js → managed-policy-7c8vw2r4.js} +22 -22
- package/dist/chunks/{file-mutation-n9b0e670.js → managed-policy-7e6pxvzp.js} +8 -8
- package/dist/chunks/{file-mutation-q53wc5d1.js → managed-policy-7rjyg1hy.js} +5 -5
- package/dist/chunks/{file-mutation-52fpbh6z.js → managed-policy-7rwqf82v.js} +8 -8
- package/dist/chunks/{file-mutation-wqpqtk9p.js → managed-policy-7rzqws4w.js} +18 -18
- package/dist/chunks/{file-mutation-1795xh8n.js → managed-policy-7t2bz6hg.js} +10 -10
- package/dist/chunks/{file-mutation-84h8c373.js → managed-policy-84h8c373.js} +2 -2
- package/dist/chunks/{file-mutation-84txncab.js → managed-policy-84txncab.js} +1 -1
- package/dist/chunks/{file-mutation-r29xnvpy.js → managed-policy-88nk7jmm.js} +20 -20
- package/dist/chunks/{file-mutation-f63qcbt6.js → managed-policy-89mb6v00.js} +21 -21
- package/dist/chunks/{file-mutation-8m6m0r52.js → managed-policy-8m6m0r52.js} +1 -1
- package/dist/chunks/{file-mutation-hm8d1c19.js → managed-policy-8tmjwe7f.js} +27 -27
- package/dist/chunks/{file-mutation-5nhcs1gc.js → managed-policy-8yxd76x6.js} +28 -28
- package/dist/chunks/{file-mutation-2pg08m5e.js → managed-policy-90kry7s8.js} +9 -9
- package/dist/chunks/{file-mutation-m8kxqagj.js → managed-policy-9fs5qpt0.js} +18 -18
- package/dist/chunks/{file-mutation-hkvdrpa0.js → managed-policy-9h63xw6f.js} +14 -14
- package/dist/chunks/{file-mutation-9p0ppmpk.js → managed-policy-9jnryt2t.js} +17 -17
- package/dist/chunks/{file-mutation-y9s6fa94.js → managed-policy-9sg2vfwj.js} +11 -11
- package/dist/chunks/{file-mutation-wwk9s6gm.js → managed-policy-9zy5e2hn.js} +4 -4
- package/dist/chunks/{file-mutation-q53z4mp6.js → managed-policy-ab5kzj5n.js} +65 -65
- package/dist/chunks/{file-mutation-e2f8ga9k.js → managed-policy-ac9vnb4d.js} +17 -17
- package/dist/chunks/{file-mutation-7q7krz9g.js → managed-policy-acb7ca12.js} +13 -13
- package/dist/chunks/{file-mutation-gqtdsdt7.js → managed-policy-addxnjmp.js} +4 -4
- package/dist/chunks/{file-mutation-j6g3s69e.js → managed-policy-ay6qsgxy.js} +11 -11
- package/dist/chunks/{file-mutation-emh6xp50.js → managed-policy-b2jm7sx5.js} +20 -20
- package/dist/chunks/{file-mutation-scgrse2b.js → managed-policy-b3f8fkhc.js} +5 -5
- package/dist/chunks/{file-mutation-1wjt2sv4.js → managed-policy-bawtyvfr.js} +2 -2
- package/dist/chunks/{file-mutation-xecxzrdp.js → managed-policy-bfwahzr5.js} +5 -5
- package/dist/chunks/{file-mutation-br43j30r.js → managed-policy-bh9186gz.js} +6 -6
- package/dist/chunks/{file-mutation-ma3c0nra.js → managed-policy-bje9ccwt.js} +4 -4
- package/dist/chunks/{file-mutation-wjr9rjd7.js → managed-policy-bjx1sjef.js} +6 -6
- package/dist/chunks/{file-mutation-5r0361rz.js → managed-policy-brpsysd3.js} +22 -22
- package/dist/chunks/{file-mutation-96fkfqj2.js → managed-policy-c0tqk5g1.js} +32 -32
- package/dist/chunks/{file-mutation-mb650nvc.js → managed-policy-cdfys174.js} +6 -6
- package/dist/chunks/{file-mutation-ns2ffs2h.js → managed-policy-cr8qarfx.js} +14 -14
- package/dist/chunks/{file-mutation-8n3kfz9t.js → managed-policy-ctf0kj8q.js} +7 -7
- package/dist/chunks/{file-mutation-b02gegf9.js → managed-policy-d1mtykxg.js} +6 -6
- package/dist/chunks/{file-mutation-jn8pq3zr.js → managed-policy-dbp972tj.js} +17 -17
- package/dist/chunks/{file-mutation-08pekkkp.js → managed-policy-ddmvbem7.js} +35 -35
- package/dist/chunks/{file-mutation-f73rjn58.js → managed-policy-ddt2bs9e.js} +4 -4
- package/dist/chunks/{file-mutation-nfmcnngg.js → managed-policy-deknbbjc.js} +22 -22
- package/dist/chunks/{file-mutation-1zr2pts9.js → managed-policy-dh7r0p7y.js} +51 -51
- package/dist/chunks/{file-mutation-4m4myvej.js → managed-policy-dhb2hta4.js} +5 -5
- package/dist/chunks/{file-mutation-xfkkasph.js → managed-policy-drwq78ky.js} +4 -4
- package/dist/chunks/{file-mutation-5qd3pb7m.js → managed-policy-e3qxr5gk.js} +2 -2
- package/dist/chunks/{file-mutation-nc2e17ej.js → managed-policy-e87ev190.js} +39 -39
- package/dist/chunks/{file-mutation-eaj1djv9.js → managed-policy-eaj1djv9.js} +1 -1
- package/dist/chunks/{file-mutation-eej6y6fw.js → managed-policy-eej6y6fw.js} +2 -2
- package/dist/chunks/{file-mutation-ef5x83kb.js → managed-policy-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-mutation-e0rj9m82.js → managed-policy-eqv778qj.js} +40 -40
- package/dist/chunks/{file-mutation-8gnbq3mq.js → managed-policy-ew7sqdsx.js} +49 -49
- package/dist/chunks/{file-mutation-8ws6ad5b.js → managed-policy-ezgh6ex0.js} +4 -4
- package/dist/chunks/{file-mutation-tmh2szjd.js → managed-policy-f2h49ytb.js} +22 -22
- package/dist/chunks/{file-mutation-a9ztvwgh.js → managed-policy-f3g99wr6.js} +8 -8
- package/dist/chunks/{file-mutation-f75zav2x.js → managed-policy-f75zav2x.js} +2 -2
- package/dist/chunks/{file-mutation-w8xr7nv8.js → managed-policy-fepbnb8j.js} +5 -5
- package/dist/chunks/{file-mutation-pcj7teyq.js → managed-policy-fgx42ntb.js} +5 -5
- package/dist/chunks/{file-mutation-80c2enrh.js → managed-policy-fhnk8604.js} +13 -13
- package/dist/chunks/{file-mutation-vkaebcec.js → managed-policy-fkxy0ba9.js} +16 -16
- package/dist/chunks/{file-mutation-1v97ydhe.js → managed-policy-frv0n3qp.js} +29 -29
- package/dist/chunks/{file-mutation-t88w3btv.js → managed-policy-fsbj41n6.js} +24 -24
- package/dist/chunks/{file-mutation-r2m716tb.js → managed-policy-ft3hqk2c.js} +9 -9
- package/dist/chunks/{file-mutation-0xwjverx.js → managed-policy-g0tv4y1f.js} +27 -27
- package/dist/chunks/{file-mutation-m4bedved.js → managed-policy-g81bvmh4.js} +5 -5
- package/dist/chunks/{file-mutation-7zt5x37y.js → managed-policy-gd0tnyjc.js} +1 -1
- package/dist/chunks/{file-mutation-gd4qta3r.js → managed-policy-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-mutation-tgnk2hj2.js → managed-policy-gdfh3pex.js} +24 -24
- package/dist/chunks/{file-mutation-gk8qb678.js → managed-policy-gk8qb678.js} +1 -1
- package/dist/chunks/{file-mutation-y8wcetdn.js → managed-policy-gkcjs2dn.js} +11 -11
- package/dist/chunks/{file-mutation-kng38vy9.js → managed-policy-gmctdhmh.js} +63 -63
- package/dist/chunks/{file-mutation-2ktf0ed2.js → managed-policy-gs3s1a1g.js} +8 -8
- package/dist/chunks/{file-mutation-7xkbz91v.js → managed-policy-gwd56r7h.js} +11 -11
- package/dist/chunks/{file-mutation-q7mz9q6q.js → managed-policy-gwpsvqsq.js} +46 -46
- package/dist/chunks/{file-mutation-pnhxssdf.js → managed-policy-h0grdqdb.js} +1 -1
- package/dist/chunks/{file-mutation-tb0p0v3w.js → managed-policy-h2fpkd0z.js} +28 -28
- package/dist/chunks/{file-mutation-h6vf3j39.js → managed-policy-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-mutation-6t4hr8r6.js → managed-policy-h9pnpq88.js} +4 -4
- package/dist/chunks/{file-mutation-q4bmetfh.js → managed-policy-hgkbpxf3.js} +11 -11
- package/dist/chunks/{file-mutation-hgz4x7wa.js → managed-policy-hgz4x7wa.js} +1 -1
- package/dist/chunks/{file-mutation-4jfbp8dd.js → managed-policy-hkkrnsdk.js} +5 -5
- package/dist/chunks/managed-policy-ht5y0zrb.js +18 -0
- package/dist/chunks/{file-mutation-7vmkqt70.js → managed-policy-hw94yp8q.js} +46 -46
- package/dist/chunks/{file-mutation-ks1x06j6.js → managed-policy-hz912tc6.js} +33 -33
- package/dist/chunks/{file-mutation-7x9mkh61.js → managed-policy-hzn86bmv.js} +13 -13
- package/dist/chunks/{file-mutation-zh9hhqtd.js → managed-policy-j0tjf49y.js} +16 -16
- package/dist/chunks/{file-mutation-j56e64zr.js → managed-policy-j56e64zr.js} +1 -1
- package/dist/chunks/{file-mutation-792fxttk.js → managed-policy-j6qzwgn1.js} +20 -20
- package/dist/chunks/{file-mutation-jxy38crn.js → managed-policy-jqhbkm5d.js} +18 -18
- package/dist/chunks/{file-mutation-0mez6xtb.js → managed-policy-k5g401gn.js} +19 -19
- package/dist/chunks/{file-mutation-nk8pyrqt.js → managed-policy-k8z4td6d.js} +11 -11
- package/dist/chunks/{file-mutation-895hwfaf.js → managed-policy-kaz19rhm.js} +21 -21
- package/dist/chunks/{file-mutation-kb9j3d72.js → managed-policy-kb9j3d72.js} +3 -3
- package/dist/chunks/{file-mutation-x555xz49.js → managed-policy-kd9n2e6c.js} +23 -23
- package/dist/chunks/{file-mutation-e4xjgbbt.js → managed-policy-kevqzwew.js} +9 -9
- package/dist/chunks/{file-mutation-ngt4szzp.js → managed-policy-kj4ybkeg.js} +9 -9
- package/dist/chunks/{file-mutation-97aeaand.js → managed-policy-kqv3x6rj.js} +9 -9
- package/dist/chunks/{file-mutation-mbytadxt.js → managed-policy-m2trvhdw.js} +11 -11
- package/dist/chunks/{file-mutation-m3fdjcah.js → managed-policy-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-mutation-97x6zpcg.js → managed-policy-m5040gs4.js} +24 -24
- package/dist/chunks/{file-mutation-8spzkyqz.js → managed-policy-m7vbswan.js} +13 -13
- package/dist/chunks/{file-mutation-m9w0rfyh.js → managed-policy-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-mutation-5zm63kxk.js → managed-policy-ma2xzyma.js} +24 -24
- package/dist/chunks/{file-mutation-d3sj2eet.js → managed-policy-majpnbt9.js} +15 -15
- package/dist/chunks/{file-mutation-fmcyb5kn.js → managed-policy-me7cye14.js} +19 -19
- package/dist/chunks/{file-mutation-x6gzkr09.js → managed-policy-mfyyvwf9.js} +14 -14
- package/dist/chunks/{file-mutation-z3nay82g.js → managed-policy-mphgtbj1.js} +9 -9
- package/dist/chunks/{file-mutation-0xvjdmzv.js → managed-policy-nf8fd7c7.js} +8 -8
- package/dist/chunks/{file-mutation-e80seqcp.js → managed-policy-nma959mg.js} +3 -3
- package/dist/chunks/{file-mutation-jmb3v5n8.js → managed-policy-ny46nx2m.js} +29 -29
- package/dist/chunks/{file-mutation-08w4ybrc.js → managed-policy-nzfbcyzy.js} +4 -4
- package/dist/chunks/{file-mutation-h6cmthvy.js → managed-policy-p000yqtg.js} +16 -16
- package/dist/chunks/{file-mutation-g7m5jc3s.js → managed-policy-p0bcxtqe.js} +13 -13
- package/dist/chunks/{file-mutation-p37cw4rj.js → managed-policy-p37cw4rj.js} +1 -1
- package/dist/chunks/{file-mutation-brkb82jv.js → managed-policy-p554r9vn.js} +6 -6
- package/dist/chunks/{file-mutation-czrk7eqc.js → managed-policy-pc793tw4.js} +15 -15
- package/dist/chunks/{file-mutation-h3kajr6j.js → managed-policy-pdhvxyv4.js} +4 -4
- package/dist/chunks/{file-mutation-4bxnfknc.js → managed-policy-peeesec9.js} +22 -22
- package/dist/chunks/{file-mutation-35s76chf.js → managed-policy-pj2fkx3r.js} +4 -4
- package/dist/chunks/{file-mutation-pjvnvgmy.js → managed-policy-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-mutation-pknna89w.js → managed-policy-pknna89w.js} +1 -1
- package/dist/chunks/{file-mutation-ev47m0c9.js → managed-policy-pvhtckep.js} +18 -18
- package/dist/chunks/{file-mutation-0kj4k1tc.js → managed-policy-pxaa4p27.js} +54 -54
- package/dist/chunks/{file-mutation-2cjv1swf.js → managed-policy-q1pm9hgd.js} +5 -5
- package/dist/chunks/{file-mutation-5y9r66cr.js → managed-policy-q66a1b95.js} +33 -33
- package/dist/chunks/{file-mutation-5ezk1j40.js → managed-policy-qam5mqsj.js} +36 -36
- package/dist/chunks/{file-mutation-t1s1k5yy.js → managed-policy-qb63c3jr.js} +15 -15
- package/dist/chunks/{file-mutation-7dqw4kz8.js → managed-policy-qgn6gcr1.js} +5 -5
- package/dist/chunks/{file-mutation-svfda40e.js → managed-policy-qjwgf7q8.js} +33 -33
- package/dist/chunks/{file-mutation-qnc92qwc.js → managed-policy-qnc92qwc.js} +1 -1
- package/dist/chunks/{file-mutation-cpa5tgd0.js → managed-policy-qqb9he30.js} +4 -4
- package/dist/chunks/{file-mutation-2p9rsret.js → managed-policy-qs80x40y.js} +11 -11
- package/dist/chunks/{file-mutation-qsdy395h.js → managed-policy-qsdy395h.js} +1 -1
- package/dist/chunks/{file-mutation-nm2znq5e.js → managed-policy-qwmzej72.js} +19 -19
- package/dist/chunks/{file-mutation-sv7n11b0.js → managed-policy-r0wfdb6d.js} +37 -37
- package/dist/chunks/{file-mutation-ryr25ayn.js → managed-policy-ratrq7cm.js} +4 -4
- package/dist/chunks/{file-mutation-rdw6cm16.js → managed-policy-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-mutation-hpz1ef6d.js → managed-policy-rj5c6npr.js} +22 -22
- package/dist/chunks/{file-mutation-2a12y9bg.js → managed-policy-rkz6szpf.js} +6 -6
- package/dist/chunks/{file-mutation-arkxpnc7.js → managed-policy-rmczj7pp.js} +16 -16
- package/dist/chunks/{file-mutation-tx6et3w6.js → managed-policy-rpwtfpdx.js} +93 -93
- package/dist/chunks/{file-mutation-nmc82f5r.js → managed-policy-rsynn8gj.js} +5 -5
- package/dist/chunks/{file-mutation-hdwqhw82.js → managed-policy-rx3g14zd.js} +3 -3
- package/dist/chunks/{file-mutation-9j45sp9y.js → managed-policy-rzd4zm6g.js} +3 -3
- package/dist/chunks/{file-mutation-rcm8yqz1.js → managed-policy-s0gprnmp.js} +5 -5
- package/dist/chunks/{file-mutation-5z6x68ky.js → managed-policy-s6mah6de.js} +11 -11
- package/dist/chunks/{file-mutation-x3j07sqv.js → managed-policy-s6ssf5zv.js} +1 -1
- package/dist/chunks/{file-mutation-br5x8hm0.js → managed-policy-sekvb3zk.js} +13 -13
- package/dist/chunks/{file-mutation-987t3db3.js → managed-policy-sf6e5k3g.js} +42 -42
- package/dist/chunks/{file-mutation-347k46de.js → managed-policy-skmcbxjc.js} +20 -20
- package/dist/chunks/{file-mutation-dx0zwnzh.js → managed-policy-sqyq9rzz.js} +15 -15
- package/dist/chunks/{file-mutation-2vwxxgve.js → managed-policy-srfnz2vv.js} +3 -3
- package/dist/chunks/{file-mutation-cb73d6eg.js → managed-policy-svbzbn35.js} +3 -3
- package/dist/chunks/{file-mutation-mfae1c65.js → managed-policy-syjcyykh.js} +16 -16
- package/dist/chunks/{file-mutation-rejzs90v.js → managed-policy-t0sdc4fh.js} +13 -13
- package/dist/chunks/{file-mutation-pttfvfkm.js → managed-policy-t8nnwc1z.js} +35 -35
- package/dist/chunks/{file-mutation-tazgh4e4.js → managed-policy-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-mutation-tcezcvh9.js → managed-policy-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-mutation-tdstcens.js → managed-policy-tdstcens.js} +1 -1
- package/dist/chunks/managed-policy-tjm1zksp.js +26 -0
- package/dist/chunks/{file-mutation-fvhg8gw5.js → managed-policy-tq3qe57n.js} +9 -9
- package/dist/chunks/{file-mutation-raq2v0bx.js → managed-policy-tsgjh42f.js} +5 -5
- package/dist/chunks/{file-mutation-tyytaxap.js → managed-policy-tyytaxap.js} +1 -1
- package/dist/chunks/{file-mutation-v7p4zvkq.js → managed-policy-v7p4zvkq.js} +2 -2
- package/dist/chunks/{file-mutation-pjbxg7y6.js → managed-policy-v82t1vw6.js} +5 -5
- package/dist/chunks/{file-mutation-c3nph5qn.js → managed-policy-v8761v3w.js} +24 -24
- package/dist/chunks/{file-mutation-swfq2ggm.js → managed-policy-vbrars45.js} +5 -5
- package/dist/chunks/{file-mutation-veqvce7d.js → managed-policy-veqvce7d.js} +1 -1
- package/dist/chunks/{file-mutation-pdt2jafh.js → managed-policy-veykjydx.js} +20 -20
- package/dist/chunks/{file-mutation-6gfcack1.js → managed-policy-vhbw1hsk.js} +28 -28
- package/dist/chunks/{file-mutation-3z5acqv0.js → managed-policy-vnkj8wxn.js} +23 -23
- package/dist/chunks/managed-policy-vq5rmp01.js +253 -0
- package/dist/chunks/{file-mutation-bx3a7gm0.js → managed-policy-vv7aw7qd.js} +32 -32
- package/dist/chunks/{file-mutation-ss358qx3.js → managed-policy-vx3jgdek.js} +3 -3
- package/dist/chunks/{file-mutation-vzs5sf6e.js → managed-policy-vzs5sf6e.js} +1 -1
- package/dist/chunks/{file-mutation-w3wsvvr9.js → managed-policy-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-mutation-y2p23j5v.js → managed-policy-w8ae0pay.js} +18 -18
- package/dist/chunks/{file-mutation-7sh3javy.js → managed-policy-w985z6qw.js} +11 -11
- package/dist/chunks/{file-mutation-wd87259q.js → managed-policy-wd87259q.js} +1 -1
- package/dist/chunks/{file-mutation-mmwgr206.js → managed-policy-wd8c5xz8.js} +27 -27
- package/dist/chunks/{file-mutation-6xsva56f.js → managed-policy-whzwx2xe.js} +27 -27
- package/dist/chunks/{file-mutation-cxyknwdq.js → managed-policy-wp7wjn3g.js} +30 -30
- package/dist/chunks/{file-mutation-zz6a9v66.js → managed-policy-wqpywhre.js} +13 -13
- package/dist/chunks/{file-mutation-dvnvp1s2.js → managed-policy-x174dnaa.js} +9 -9
- package/dist/chunks/{file-mutation-y9tr1e68.js → managed-policy-xb32h3e0.js} +59 -59
- package/dist/chunks/{file-mutation-0pfnnq19.js → managed-policy-xbkmh0rm.js} +9 -9
- package/dist/chunks/{file-mutation-gw9kxxex.js → managed-policy-xd8bv8k9.js} +26 -26
- package/dist/chunks/{file-mutation-4ffk7hnv.js → managed-policy-xfh5x0cd.js} +45 -45
- package/dist/chunks/{file-mutation-5t8ewn7s.js → managed-policy-xj126k1c.js} +20 -20
- package/dist/chunks/{file-mutation-66hgkdkn.js → managed-policy-xst6sh37.js} +12 -12
- package/dist/chunks/{file-mutation-y1fvbwt7.js → managed-policy-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-mutation-dpkg50ah.js → managed-policy-y71avatq.js} +4 -4
- package/dist/chunks/{file-mutation-q0dpqjr6.js → managed-policy-y766kw39.js} +5 -5
- package/dist/chunks/{file-mutation-d1rwsgz6.js → managed-policy-yb18513g.js} +35 -35
- package/dist/chunks/{file-mutation-7qxkbnsm.js → managed-policy-ycbav82a.js} +4 -4
- package/dist/chunks/{file-mutation-fx15w7g6.js → managed-policy-yjn5rnwv.js} +95 -95
- package/dist/chunks/{file-mutation-y029vxmf.js → managed-policy-ym8m4c3j.js} +9 -9
- package/dist/chunks/{file-mutation-yp2x3t23.js → managed-policy-yp2x3t23.js} +1 -1
- package/dist/chunks/{file-mutation-zpqaydr5.js → managed-policy-ypdtqe7w.js} +11 -11
- package/dist/chunks/{file-mutation-rxnjmc3f.js → managed-policy-yts98zcs.js} +35 -35
- package/dist/chunks/{file-mutation-8x85sx4p.js → managed-policy-ywm7vzgw.js} +6 -6
- package/dist/chunks/{file-mutation-z0bkrqjs.js → managed-policy-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-mutation-frjx316d.js → managed-policy-z16fya54.js} +32 -32
- package/dist/chunks/{file-mutation-h8ev6gqr.js → managed-policy-z1wx7neg.js} +22 -22
- package/dist/chunks/{file-mutation-2tnztyb4.js → managed-policy-z8dc5wxr.js} +19 -19
- package/dist/chunks/{file-mutation-n75va8h4.js → managed-policy-znv4xpsm.js} +14 -14
- package/dist/chunks/{file-mutation-8vmqdhw3.js → managed-policy-zpnhc326.js} +11 -11
- package/dist/chunks/{file-mutation-zr2ceqn5.js → managed-policy-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-mutation-e9myf44w.js → managed-policy-zva2nbrj.js} +12 -12
- package/dist/chunks/{file-mutation-zxq2ej10.js → managed-policy-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 +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +100 -100
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +91 -91
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +118 -118
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +71 -71
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration.gen.js +50 -50
- package/dist/database/migration.js +52 -52
- 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 +80 -80
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- 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 +94 -94
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +75 -75
- package/dist/file-access.js +105 -105
- package/dist/file-mutation.js +95 -95
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +87 -87
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +100 -100
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +357 -357
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +88 -88
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +88 -88
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +74 -74
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +108 -108
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +354 -354
- package/dist/location.js +86 -86
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +110 -110
- package/dist/mcp/instructions.js +130 -130
- package/dist/mcp/oauth.js +79 -79
- package/dist/mcp/stdio.js +91 -91
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +100 -100
- package/dist/model-resolver.js +99 -99
- package/dist/model.js +101 -101
- package/dist/models-dev.js +108 -108
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +118 -118
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +91 -91
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +76 -76
- package/dist/plugin/agent.js +77 -77
- package/dist/plugin/command.js +103 -103
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +329 -329
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +97 -97
- package/dist/plugin/module.js +116 -116
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +103 -103
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +91 -91
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +95 -95
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +94 -94
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +96 -96
- package/dist/plugin/provider/gitlab.js +94 -94
- package/dist/plugin/provider/google-vertex.js +114 -114
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +79 -79
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/local.js +114 -114
- package/dist/plugin/provider/modal.js +93 -93
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +98 -98
- package/dist/plugin/provider/openrouter.js +92 -92
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +80 -80
- package/dist/plugin/provider/prompt-cache-key.js +91 -91
- package/dist/plugin/provider/sap-ai-core.js +92 -92
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +91 -91
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +92 -92
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +77 -77
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +87 -87
- package/dist/plugin/vcs/hg.js +87 -87
- package/dist/plugin/verbosity.js +94 -94
- package/dist/plugin/warming.js +115 -115
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +102 -102
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +100 -100
- package/dist/reference/instructions.js +90 -90
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +98 -98
- package/dist/rpc.js +87 -87
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +75 -75
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +154 -154
- package/dist/session/diff.js +89 -89
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +91 -91
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +80 -80
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +98 -98
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +121 -121
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +87 -87
- package/dist/session/prompt.js +106 -106
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +91 -91
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +99 -99
- package/dist/session/runner/publish-llm-event.js +114 -114
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +106 -106
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +76 -76
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- 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 +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +108 -108
- package/dist/skill.js +115 -115
- package/dist/snapshot.js +90 -90
- 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 +127 -127
- package/dist/tool/plugin/edit.js +121 -121
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +125 -125
- package/dist/tool/plugin/grep.js +125 -125
- package/dist/tool/plugin/mcp-resource.js +118 -118
- package/dist/tool/plugin/opencode.js +110 -110
- package/dist/tool/plugin/patch.js +123 -123
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +126 -126
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +114 -114
- package/dist/tool/plugin/subagent.js +211 -211
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +115 -115
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +101 -101
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +93 -93
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +90 -90
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +77 -77
- package/dist/wellknown.js +82 -82
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +81 -81
- 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 +90 -90
- package/dist/worktree.js +99 -99
- package/package.json +8 -8
- package/dist/chunks/file-mutation-775h0p7n.js +0 -26
- package/dist/chunks/file-mutation-by5v678g.js +0 -18
- package/dist/chunks/file-mutation-ekpbha00.js +0 -513
- package/dist/chunks/file-mutation-h9wkgsjp.js +0 -253
- /package/dist/chunks/{file-mutation-0qkdqm5v.js → managed-policy-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-mutation-0zkw76rk.js → managed-policy-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-mutation-17cy0kzp.js → managed-policy-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-mutation-1cnp2v09.js → managed-policy-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-mutation-1kg9ymc8.js → managed-policy-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-mutation-24dcb14g.js → managed-policy-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-mutation-2710q6r3.js → managed-policy-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-mutation-2axfhc9x.js → managed-policy-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-mutation-2bv980vf.js → managed-policy-2bv980vf.js} +0 -0
- /package/dist/chunks/{file-mutation-2c3vjs8z.js → managed-policy-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-mutation-34c7v6d4.js → managed-policy-34c7v6d4.js} +0 -0
- /package/dist/chunks/{file-mutation-359p4xyc.js → managed-policy-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-mutation-3asan66x.js → managed-policy-3asan66x.js} +0 -0
- /package/dist/chunks/{file-mutation-3t0ybcrp.js → managed-policy-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{file-mutation-3v8g72cx.js → managed-policy-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-mutation-3wcehsnq.js → managed-policy-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-mutation-43n2bw4t.js → managed-policy-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-mutation-4knz6hnm.js → managed-policy-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-mutation-4vcrnpx2.js → managed-policy-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-mutation-4y7fprxs.js → managed-policy-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-mutation-53557ph1.js → managed-policy-53557ph1.js} +0 -0
- /package/dist/chunks/{file-mutation-550bvhaj.js → managed-policy-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-mutation-6prwharc.js → managed-policy-6prwharc.js} +0 -0
- /package/dist/chunks/{file-mutation-6q2bdcd1.js → managed-policy-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{file-mutation-7akdwqpd.js → managed-policy-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-mutation-7m9af43g.js → managed-policy-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-mutation-822emrt2.js → managed-policy-822emrt2.js} +0 -0
- /package/dist/chunks/{file-mutation-84wd9syh.js → managed-policy-84wd9syh.js} +0 -0
- /package/dist/chunks/{file-mutation-88xbtdfr.js → managed-policy-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-mutation-8n3pysct.js → managed-policy-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-mutation-8wj87zfr.js → managed-policy-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-mutation-9a4afbnw.js → managed-policy-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-mutation-9rqn6x4v.js → managed-policy-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-mutation-a6k6eb26.js → managed-policy-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-mutation-af5trqkr.js → managed-policy-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-mutation-afrmfg78.js → managed-policy-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-mutation-aqzs7mqg.js → managed-policy-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-mutation-atq7p7m5.js → managed-policy-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-mutation-bkyjaxrp.js → managed-policy-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-mutation-bmr6ed5q.js → managed-policy-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-mutation-bw78ga2c.js → managed-policy-bw78ga2c.js} +0 -0
- /package/dist/chunks/{file-mutation-cf4snx6d.js → managed-policy-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-mutation-cvy3z8tj.js → managed-policy-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-mutation-d9fn303g.js → managed-policy-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-mutation-d9jj8t3e.js → managed-policy-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-mutation-dajrwvna.js → managed-policy-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-mutation-dap0rakb.js → managed-policy-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-mutation-df08tz66.js → managed-policy-df08tz66.js} +0 -0
- /package/dist/chunks/{file-mutation-dy18nga0.js → managed-policy-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-mutation-e5kj55wp.js → managed-policy-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-mutation-e73j6tqm.js → managed-policy-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-mutation-ec1grn59.js → managed-policy-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-mutation-eh3zwz77.js → managed-policy-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-mutation-emrn6kk6.js → managed-policy-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-mutation-f0mxakyp.js → managed-policy-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-mutation-f6n9ztr4.js → managed-policy-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-mutation-faypxj3z.js → managed-policy-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-mutation-fd410y7t.js → managed-policy-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-mutation-g4wezp1m.js → managed-policy-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-mutation-g86h250q.js → managed-policy-g86h250q.js} +0 -0
- /package/dist/chunks/{file-mutation-gebd4c9n.js → managed-policy-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-mutation-gftt206x.js → managed-policy-gftt206x.js} +0 -0
- /package/dist/chunks/{file-mutation-hk9envan.js → managed-policy-hk9envan.js} +0 -0
- /package/dist/chunks/{file-mutation-j2ntwpah.js → managed-policy-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-mutation-j5zkgpj8.js → managed-policy-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-mutation-jjkms2e6.js → managed-policy-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-mutation-jr7sbwjy.js → managed-policy-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-mutation-jwfs4k6c.js → managed-policy-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-mutation-jze0r7bz.js → managed-policy-jze0r7bz.js} +0 -0
- /package/dist/chunks/{file-mutation-jzg6c2d5.js → managed-policy-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mutation-mp448xyj.js → managed-policy-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-mutation-msx8hqn2.js → managed-policy-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-mutation-n05xt0ee.js → managed-policy-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-mutation-n3j8tn72.js → managed-policy-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-mutation-njntx4h6.js → managed-policy-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-mutation-pyv0edze.js → managed-policy-pyv0edze.js} +0 -0
- /package/dist/chunks/{file-mutation-q3sfg36h.js → managed-policy-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-mutation-q74kybfr.js → managed-policy-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-mutation-qaymkmh1.js → managed-policy-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-mutation-qb87gjwd.js → managed-policy-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-mutation-qfa1cgps.js → managed-policy-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-mutation-qg3g05ea.js → managed-policy-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-mutation-qrg20bc0.js → managed-policy-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-mutation-rcb2kzg1.js → managed-policy-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-mutation-sdp7kfr6.js → managed-policy-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-mutation-ssg3fenm.js → managed-policy-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-mutation-ve7vex1e.js → managed-policy-ve7vex1e.js} +0 -0
- /package/dist/chunks/{file-mutation-w803qqfp.js → managed-policy-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-mutation-wc3fc9cn.js → managed-policy-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-mutation-wer8tq1h.js → managed-policy-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-mutation-wtztk69x.js → managed-policy-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-mutation-x0ckcb58.js → managed-policy-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-mutation-x61499pn.js → managed-policy-x61499pn.js} +0 -0
- /package/dist/chunks/{file-mutation-y44na4kk.js → managed-policy-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-mutation-y8f7s663.js → managed-policy-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-mutation-ygaqb7jw.js → managed-policy-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-mutation-ym463w8f.js → managed-policy-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-mutation-z5v4ffb3.js → managed-policy-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{file-mutation-z9919s4g.js → managed-policy-z9919s4g.js} +0 -0
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-addxnjmp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service84
|
|
6
|
+
} from "./managed-policy-3v5eda7f.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./managed-policy-qjwgf7q8.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./managed-policy-ny46nx2m.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service76
|
|
20
|
+
} from "./managed-policy-6c9khwmh.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID10
|
|
23
|
+
} from "./managed-policy-q66a1b95.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load2,
|
|
26
|
+
derive2
|
|
27
|
+
} from "./managed-policy-f2h49ytb.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./managed-policy-9sg2vfwj.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID8
|
|
33
|
+
} from "./managed-policy-whzwx2xe.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
get5
|
|
36
|
+
} from "./managed-policy-54ma36ye.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
65
65
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
66
66
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
67
67
|
var oauth = (app) => ({
|
|
68
|
-
integrationID:
|
|
68
|
+
integrationID: ID14.make("github-copilot"),
|
|
69
69
|
method: {
|
|
70
70
|
id: methodID,
|
|
71
71
|
type: "oauth",
|
|
@@ -163,8 +163,8 @@ var oauth = (app) => ({
|
|
|
163
163
|
var GithubCopilotPlugin2 = define({
|
|
164
164
|
id: "opencode.provider.github.copilot",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const providers = yield*
|
|
167
|
-
const bus = yield*
|
|
166
|
+
const providers = yield* Service76;
|
|
167
|
+
const bus = yield* Service84;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
170
170
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -180,9 +180,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
180
180
|
return;
|
|
181
181
|
}
|
|
182
182
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
183
|
-
const provider = yield* providers.get(
|
|
183
|
+
const provider = yield* providers.get(ID13.githubCopilot);
|
|
184
184
|
const remote = yield* Effect.tryPromise({
|
|
185
|
-
try: () =>
|
|
185
|
+
try: () => load2(url, {
|
|
186
186
|
...provider?.headers,
|
|
187
187
|
Authorization: `Bearer ${credential.refresh}`,
|
|
188
188
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -202,13 +202,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
202
202
|
editor.method.update(oauth(ctx.app));
|
|
203
203
|
});
|
|
204
204
|
yield* ctx.provider.transform((evt) => {
|
|
205
|
-
const item = evt.get(
|
|
205
|
+
const item = evt.get(ID13.githubCopilot);
|
|
206
206
|
if (!item)
|
|
207
207
|
return;
|
|
208
208
|
if (loaded.models) {
|
|
209
209
|
evt.add({
|
|
210
210
|
info: item.provider,
|
|
211
|
-
models: Array.from(
|
|
211
|
+
models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
212
212
|
sourceConnection: loaded.connection
|
|
213
213
|
});
|
|
214
214
|
return;
|
|
@@ -222,17 +222,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
222
222
|
}
|
|
223
223
|
});
|
|
224
224
|
yield* ctx.model.transform((models) => {
|
|
225
|
-
if (models.get(
|
|
226
|
-
models.update(
|
|
225
|
+
if (models.get(ID13.githubCopilot, ID10.make("gpt-5-chat-latest"))) {
|
|
226
|
+
models.update(ID13.githubCopilot, ID10.make("gpt-5-chat-latest"), (model) => {
|
|
227
227
|
model.enabled = false;
|
|
228
228
|
});
|
|
229
229
|
}
|
|
230
230
|
});
|
|
231
231
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
232
|
-
yield* bus.subscribe(
|
|
232
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
233
233
|
yield* refresh().pipe(Effect.forkScoped);
|
|
234
234
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
235
|
-
if (evt.model.providerID !==
|
|
235
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
236
236
|
return;
|
|
237
237
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
238
238
|
return;
|
|
@@ -241,23 +241,23 @@ var GithubCopilotPlugin2 = define({
|
|
|
241
241
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
242
242
|
}));
|
|
243
243
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
244
|
-
if (evt.model.providerID !==
|
|
244
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
245
245
|
return;
|
|
246
246
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
247
247
|
return;
|
|
248
248
|
}));
|
|
249
249
|
const interaction = interactionType2(evt.kind, session?.parentID !== undefined);
|
|
250
250
|
evt.headers["X-Interaction-Type"] = interaction;
|
|
251
|
-
evt.headers["X-Interaction-Id"] = session ?
|
|
251
|
+
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
252
252
|
if (interaction !== "conversation-agent")
|
|
253
253
|
evt.headers["x-initiator"] = "agent";
|
|
254
|
-
}), { providerID:
|
|
254
|
+
}), { providerID: ID13.githubCopilot });
|
|
255
255
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
256
|
-
if (evt.model.providerID !==
|
|
256
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
257
257
|
return;
|
|
258
258
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
259
259
|
return;
|
|
260
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
260
|
+
const agent = yield* ctx.agent.get({ agentID: ID8.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
261
261
|
return;
|
|
262
262
|
}));
|
|
263
263
|
if (agent?.data.model)
|
|
@@ -268,9 +268,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
268
268
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
269
269
|
return;
|
|
270
270
|
}));
|
|
271
|
-
}), { providerID:
|
|
271
|
+
}), { providerID: ID13.githubCopilot });
|
|
272
272
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
273
|
-
if (evt.model.providerID !==
|
|
273
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
274
274
|
return;
|
|
275
275
|
const token = evt.request.headers.get("x-api-key");
|
|
276
276
|
if (!token)
|
|
@@ -278,9 +278,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
278
278
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
279
279
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
280
280
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
281
|
-
}), { providerID:
|
|
281
|
+
}), { providerID: ID13.githubCopilot });
|
|
282
282
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
283
|
-
if (evt.model.providerID !==
|
|
283
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
284
284
|
return;
|
|
285
285
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
286
286
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,150 +1,150 @@
|
|
|
1
1
|
import {
|
|
2
2
|
_20260127222353_familiar_lady_ursula_default
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-jzg6c2d5.js";
|
|
4
4
|
import {
|
|
5
5
|
_20260211171708_add_project_commands_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./managed-policy-q3sfg36h.js";
|
|
7
7
|
import {
|
|
8
8
|
_20260213144116_wakeful_the_professor_default
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./managed-policy-1cnp2v09.js";
|
|
10
10
|
import {
|
|
11
11
|
_20260225215848_workspace_default
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./managed-policy-rcb2kzg1.js";
|
|
13
13
|
import {
|
|
14
14
|
_20260227213759_add_session_workspace_id_default
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./managed-policy-msx8hqn2.js";
|
|
16
16
|
import {
|
|
17
17
|
_20260228203230_blue_harpoon_default
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./managed-policy-bkyjaxrp.js";
|
|
19
19
|
import {
|
|
20
20
|
_20260303231226_add_workspace_fields_default
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./managed-policy-g86h250q.js";
|
|
22
22
|
import {
|
|
23
23
|
_20260309230000_move_org_to_state_default
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./managed-policy-jr7sbwjy.js";
|
|
25
25
|
import {
|
|
26
26
|
_20260312043431_session_message_cursor_default
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./managed-policy-7m9af43g.js";
|
|
28
28
|
import {
|
|
29
29
|
_20260323234822_events_default
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./managed-policy-j2ntwpah.js";
|
|
31
31
|
import {
|
|
32
32
|
_20260410174513_workspace_name_default
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./managed-policy-njntx4h6.js";
|
|
34
34
|
import {
|
|
35
35
|
_20260413175956_chief_energizer_default
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./managed-policy-qrg20bc0.js";
|
|
37
37
|
import {
|
|
38
38
|
_20260423070820_add_icon_url_override_default
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./managed-policy-z9919s4g.js";
|
|
40
40
|
import {
|
|
41
41
|
_20260427172553_slow_nightmare_default
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./managed-policy-43n2bw4t.js";
|
|
43
43
|
import {
|
|
44
44
|
_20260428004200_add_session_path_default
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./managed-policy-n3j8tn72.js";
|
|
46
46
|
import {
|
|
47
47
|
_20260501142318_next_venus_default
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./managed-policy-d9jj8t3e.js";
|
|
49
49
|
import {
|
|
50
50
|
_20260504145000_add_sync_owner_default
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./managed-policy-fd410y7t.js";
|
|
52
52
|
import {
|
|
53
53
|
_20260507164347_add_workspace_time_default
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./managed-policy-e5kj55wp.js";
|
|
55
55
|
import {
|
|
56
56
|
_20260510033149_session_usage_default
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./managed-policy-f6n9ztr4.js";
|
|
58
58
|
import {
|
|
59
59
|
_20260511000411_data_migration_state_default
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./managed-policy-q74kybfr.js";
|
|
61
61
|
import {
|
|
62
62
|
_20260511173437_session_metadata_default
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./managed-policy-53557ph1.js";
|
|
64
64
|
import {
|
|
65
65
|
_20260601010001_normalize_storage_paths_default
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./managed-policy-7akdwqpd.js";
|
|
67
67
|
import {
|
|
68
68
|
_20260601202201_amazing_prowler_default
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./managed-policy-wer8tq1h.js";
|
|
70
70
|
import {
|
|
71
71
|
_20260602002951_lowly_union_jack_default
|
|
72
|
-
} from "./
|
|
72
|
+
} from "./managed-policy-wtztk69x.js";
|
|
73
73
|
import {
|
|
74
74
|
_20260602182828_add_project_directories_default
|
|
75
|
-
} from "./
|
|
75
|
+
} from "./managed-policy-ssg3fenm.js";
|
|
76
76
|
import {
|
|
77
77
|
_20260603001617_session_message_projection_indexes_default
|
|
78
|
-
} from "./
|
|
78
|
+
} from "./managed-policy-2c3vjs8z.js";
|
|
79
79
|
import {
|
|
80
80
|
_20260603040000_session_message_projection_order_default
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./managed-policy-17cy0kzp.js";
|
|
82
82
|
import {
|
|
83
83
|
_20260603141458_session_input_inbox_default
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./managed-policy-hk9envan.js";
|
|
85
85
|
import {
|
|
86
86
|
_20260603160727_jittery_ezekiel_stane_default
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./managed-policy-w803qqfp.js";
|
|
88
88
|
import {
|
|
89
89
|
_20260604172448_event_sourced_session_input_default
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./managed-policy-jwfs4k6c.js";
|
|
91
91
|
import {
|
|
92
92
|
_20260605003541_add_session_context_snapshot_default
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./managed-policy-mp448xyj.js";
|
|
94
94
|
import {
|
|
95
95
|
_20260605042240_add_context_epoch_agent_default
|
|
96
|
-
} from "./
|
|
96
|
+
} from "./managed-policy-aqzs7mqg.js";
|
|
97
97
|
import {
|
|
98
98
|
_20260611035744_credential_default
|
|
99
|
-
} from "./
|
|
99
|
+
} from "./managed-policy-ygaqb7jw.js";
|
|
100
100
|
import {
|
|
101
101
|
_20260611192811_lush_chimera_default
|
|
102
|
-
} from "./
|
|
102
|
+
} from "./managed-policy-8n3pysct.js";
|
|
103
103
|
import {
|
|
104
104
|
_20260612174303_project_dir_strategy_default
|
|
105
|
-
} from "./
|
|
105
|
+
} from "./managed-policy-d9fn303g.js";
|
|
106
106
|
import {
|
|
107
107
|
_20260622142730_simplify_session_context_epoch_default
|
|
108
|
-
} from "./
|
|
108
|
+
} from "./managed-policy-cvy3z8tj.js";
|
|
109
109
|
import {
|
|
110
110
|
_20260622170816_reset_v2_session_state_default
|
|
111
|
-
} from "./
|
|
111
|
+
} from "./managed-policy-9a4afbnw.js";
|
|
112
112
|
import {
|
|
113
113
|
_20260622202450_simplify_session_input_default
|
|
114
|
-
} from "./
|
|
114
|
+
} from "./managed-policy-n05xt0ee.js";
|
|
115
115
|
import {
|
|
116
116
|
_20260804233008_loose_psylocke_default
|
|
117
|
-
} from "./
|
|
117
|
+
} from "./managed-policy-sdp7kfr6.js";
|
|
118
118
|
import {
|
|
119
119
|
_20260805200742_import_legacy_credentials_default
|
|
120
|
-
} from "./
|
|
120
|
+
} from "./managed-policy-a6k6eb26.js";
|
|
121
121
|
import {
|
|
122
122
|
_20260808023530_workspace_domain_default
|
|
123
|
-
} from "./
|
|
123
|
+
} from "./managed-policy-4knz6hnm.js";
|
|
124
124
|
import {
|
|
125
125
|
_20260811161259_execution_claim_attempts_default
|
|
126
|
-
} from "./
|
|
126
|
+
} from "./managed-policy-df08tz66.js";
|
|
127
127
|
import {
|
|
128
128
|
_20260812181746_session_inbox_default
|
|
129
|
-
} from "./
|
|
129
|
+
} from "./managed-policy-bmr6ed5q.js";
|
|
130
130
|
import {
|
|
131
131
|
_20260812213948_worktree_default
|
|
132
|
-
} from "./
|
|
132
|
+
} from "./managed-policy-atq7p7m5.js";
|
|
133
133
|
import {
|
|
134
134
|
_20260819222447_session_viewed_state_default
|
|
135
|
-
} from "./
|
|
135
|
+
} from "./managed-policy-qb87gjwd.js";
|
|
136
136
|
import {
|
|
137
137
|
_20260823191254_nullable_workspace_binding_default
|
|
138
|
-
} from "./
|
|
138
|
+
} from "./managed-policy-359p4xyc.js";
|
|
139
139
|
import {
|
|
140
140
|
_20260910120000_clear_v1_session_permission_default
|
|
141
|
-
} from "./
|
|
141
|
+
} from "./managed-policy-y8f7s663.js";
|
|
142
142
|
import {
|
|
143
143
|
_20260923013825_project_time_active_default
|
|
144
|
-
} from "./
|
|
144
|
+
} from "./managed-policy-8wj87zfr.js";
|
|
145
145
|
import {
|
|
146
146
|
_20261007190000_azure_cli_external_credential_default
|
|
147
|
-
} from "./
|
|
147
|
+
} from "./managed-policy-84wd9syh.js";
|
|
148
148
|
|
|
149
149
|
// src/database/migration.gen.ts
|
|
150
150
|
var migrations2 = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-ctf0kj8q.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/ollama.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -34,7 +34,7 @@ var ShowResponse = Schema.Struct({
|
|
|
34
34
|
model_info: Schema.Record(Schema.String, Schema.Unknown).pipe(Schema.optional)
|
|
35
35
|
});
|
|
36
36
|
var shows = new Map;
|
|
37
|
-
var
|
|
37
|
+
var make4 = createLocalProviderPlugin2({
|
|
38
38
|
id: "opencode.provider.ollama",
|
|
39
39
|
providerID: "ollama",
|
|
40
40
|
name: "Ollama",
|
|
@@ -67,6 +67,6 @@ var make7 = createLocalProviderPlugin2({
|
|
|
67
67
|
context: Object.entries(item.show.model_info ?? {}).flatMap(([key, value]) => key.endsWith(".context_length") && typeof value === "number" && value > 0 ? [value] : [])[0]
|
|
68
68
|
})
|
|
69
69
|
});
|
|
70
|
-
var OllamaPlugin2 =
|
|
70
|
+
var OllamaPlugin2 = make4();
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { make4, OllamaPlugin2 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./managed-policy-6c9khwmh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID10,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info19
|
|
11
|
+
} from "./managed-policy-q66a1b95.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
derive: () =>
|
|
21
|
-
get: () =>
|
|
22
|
-
load: () =>
|
|
17
|
+
var exports_models = {};
|
|
18
|
+
__export(exports_models, {
|
|
19
|
+
CopilotModels: () => exports_models,
|
|
20
|
+
derive: () => derive2,
|
|
21
|
+
get: () => get2,
|
|
22
|
+
load: () => load2
|
|
23
23
|
});
|
|
24
24
|
import { Money } from "@opencode/schema/money";
|
|
25
25
|
import { Option, Schema } from "effect";
|
|
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
|
|
|
68
68
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
69
69
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
70
70
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
71
|
-
async function
|
|
72
|
-
return
|
|
71
|
+
async function get2(baseURL, headers, existing) {
|
|
72
|
+
return derive2(baseURL, await load2(baseURL, headers), existing);
|
|
73
73
|
}
|
|
74
|
-
async function
|
|
74
|
+
async function load2(baseURL, headers) {
|
|
75
75
|
const response = await fetch(`${baseURL}/models`, {
|
|
76
76
|
headers,
|
|
77
77
|
signal: AbortSignal.timeout(5000)
|
|
@@ -83,7 +83,7 @@ async function load3(baseURL, headers) {
|
|
|
83
83
|
return model && usable(model) ? [[model.id, model]] : [];
|
|
84
84
|
}));
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function derive2(baseURL, remote, existing) {
|
|
87
87
|
const result = new Map(existing.map((model) => [model.id, model]));
|
|
88
88
|
for (const [id, model] of result) {
|
|
89
89
|
const current = remote.get(model.modelID);
|
|
@@ -94,7 +94,7 @@ function derive3(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID10.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info19.make({
|
|
122
|
+
...Info19.default(ID13.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
125
|
-
providerID:
|
|
124
|
+
modelID: ID10.make(remote.id),
|
|
125
|
+
providerID: ID13.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
128
128
|
package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
|
|
@@ -197,4 +197,4 @@ function variants(remote, messages) {
|
|
|
197
197
|
];
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
export {
|
|
200
|
+
export { get2, load2, derive2, exports_models };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service41
|
|
3
|
+
} from "./managed-policy-deknbbjc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service39
|
|
6
|
+
} from "./managed-policy-d1mtykxg.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./managed-policy-ht5y0zrb.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service39;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service41), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./managed-policy-3cegwx68.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./managed-policy-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./managed-policy-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./managed-policy-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./managed-policy-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info16,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info16 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info12 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info16, exports_provider2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./managed-policy-mfyyvwf9.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
make21,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./managed-policy-eaj1djv9.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service23,
|
|
19
|
+
node: () => node27
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service23 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service80;
|
|
29
|
+
return Service23.of({
|
|
30
30
|
load: () => Effect.succeed(combine2([
|
|
31
31
|
make21({
|
|
32
32
|
key: Key4.make("core/date"),
|
|
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
60
60
|
]))
|
|
61
61
|
});
|
|
62
62
|
}));
|
|
63
|
-
var
|
|
63
|
+
var node27 = makeLocationNode({ service: Service23, layer, deps: [Global.node, node84] });
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { Service23, node27, exports_builtins };
|