@opencode/core 0.0.0-dev-19432 → 0.0.0-dev-19433
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 +77 -77
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{repository-4v34yf9v.js → permission-020tazj7.js} +51 -51
- package/dist/chunks/{repository-hgkm3ngx.js → permission-04bnhnz9.js} +18 -18
- package/dist/chunks/{repository-xk45614k.js → permission-05d5kf85.js} +36 -36
- package/dist/chunks/{repository-v2kn4vdq.js → permission-05z6nbb6.js} +24 -24
- package/dist/chunks/{repository-6anwy9fs.js → permission-0ft9cg2j.js} +4 -4
- package/dist/chunks/{repository-0paq2nw3.js → permission-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-0q0f95c6.js → permission-0q0f95c6.js} +1 -1
- package/dist/chunks/{repository-ra94hv2r.js → permission-0vver8sv.js} +22 -22
- package/dist/chunks/{repository-pthssfs7.js → permission-0w1z60c4.js} +23 -23
- package/dist/chunks/{repository-zk4wv12b.js → permission-0zhcx8km.js} +39 -39
- package/dist/chunks/{repository-0efqcfd5.js → permission-1aqtxx1v.js} +5 -5
- package/dist/chunks/{repository-7n9wzmmg.js → permission-1ccpd7mf.js} +23 -23
- package/dist/chunks/{repository-1dazxqgg.js → permission-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-kkqrkmh0.js → permission-1hbebamh.js} +46 -46
- package/dist/chunks/{repository-ykbv3wb7.js → permission-1nznx4cc.js} +32 -32
- package/dist/chunks/{repository-htvcf07r.js → permission-1vhd68sd.js} +11 -11
- package/dist/chunks/{repository-21r38tys.js → permission-21r38tys.js} +1 -1
- package/dist/chunks/{repository-6h73sxmp.js → permission-2402vzrj.js} +5 -5
- package/dist/chunks/{repository-2a5m3afh.js → permission-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-9jzdmgrd.js → permission-2epmtwtd.js} +8 -8
- package/dist/chunks/{repository-377tdzm5.js → permission-2f04pwep.js} +3 -3
- package/dist/chunks/{repository-2k8khapm.js → permission-2k8khapm.js} +1 -1
- package/dist/chunks/{repository-mhspve7x.js → permission-2kagef7w.js} +33 -33
- package/dist/chunks/{repository-embw8kgh.js → permission-2vs2nh1n.js} +4 -4
- package/dist/chunks/{repository-737983wq.js → permission-2wyjv582.js} +4 -4
- package/dist/chunks/{repository-1t1584fh.js → permission-30p61b7v.js} +23 -23
- package/dist/chunks/{repository-pyynkbc6.js → permission-31e5ersp.js} +28 -28
- package/dist/chunks/{repository-t2fc4mz5.js → permission-34rkz0x9.js} +7 -7
- package/dist/chunks/{repository-gdvy8fx6.js → permission-3fc6dm20.js} +4 -4
- package/dist/chunks/{repository-rm75j2sh.js → permission-3g80ynvx.js} +13 -13
- package/dist/chunks/{repository-b0skvq87.js → permission-3gam31rs.js} +39 -39
- package/dist/chunks/{repository-3hepkmqq.js → permission-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-3smtnn6g.js → permission-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-3tvqynh2.js → permission-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-nxgx3vy8.js → permission-40cbsfw4.js} +28 -28
- package/dist/chunks/{repository-2pwpt1fq.js → permission-43rr00tt.js} +5 -5
- package/dist/chunks/{repository-cb2gy3vs.js → permission-44bt3e44.js} +24 -24
- package/dist/chunks/{repository-6prpzt6f.js → permission-46h5h1ad.js} +43 -43
- package/dist/chunks/{repository-1d1rhcsj.js → permission-4fqjavnt.js} +12 -12
- package/dist/chunks/{repository-8nd4ez8d.js → permission-4kvwdcv5.js} +16 -16
- package/dist/chunks/{repository-g7w32fc6.js → permission-4ws74jfa.js} +30 -30
- package/dist/chunks/{repository-hkefa025.js → permission-54bvyzn9.js} +17 -17
- package/dist/chunks/{repository-5daktx2q.js → permission-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-ja409geq.js → permission-5dcw9y6m.js} +15 -15
- package/dist/chunks/{repository-nj1r2vcq.js → permission-5h0sc7d2.js} +6 -6
- package/dist/chunks/{repository-c66sb1ac.js → permission-5hqtspna.js} +3 -3
- package/dist/chunks/{repository-dqy22jqg.js → permission-5q24z5p0.js} +35 -35
- package/dist/chunks/{repository-5t3nmthw.js → permission-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-wdrr10w5.js → permission-61vwcr6k.js} +7 -7
- package/dist/chunks/{repository-7qed14jw.js → permission-62fptws6.js} +292 -292
- package/dist/chunks/{repository-hm2ejha3.js → permission-6444e1x5.js} +13 -13
- package/dist/chunks/{repository-669tq793.js → permission-669tq793.js} +1 -1
- package/dist/chunks/{repository-ab5w8dn8.js → permission-67amkq1e.js} +10 -10
- package/dist/chunks/{repository-8mhep79j.js → permission-686tcbjj.js} +27 -27
- package/dist/chunks/{repository-vdtpdrgk.js → permission-6a32rn4v.js} +32 -32
- package/dist/chunks/{repository-frs1x3s0.js → permission-6c0389mc.js} +1 -1
- package/dist/chunks/{repository-tejqnav5.js → permission-6ewjxdmc.js} +5 -5
- package/dist/chunks/{repository-6msgmcgs.js → permission-6msgmcgs.js} +1 -1
- package/dist/chunks/{repository-18frcpjt.js → permission-6r41hzjf.js} +18 -18
- package/dist/chunks/{repository-za6yq9hg.js → permission-6vq97qmv.js} +5 -5
- package/dist/chunks/{repository-71q4at8m.js → permission-71q4at8m.js} +1 -1
- package/dist/chunks/{repository-c29pq2bv.js → permission-79arfv4e.js} +24 -24
- package/dist/chunks/{repository-7bmhse3q.js → permission-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-mxrk5x1e.js → permission-7e6sjpzv.js} +11 -11
- package/dist/chunks/{repository-4c8bw516.js → permission-7j2qha59.js} +8 -8
- package/dist/chunks/{repository-6xrkkq0p.js → permission-7rnn8skb.js} +18 -18
- package/dist/chunks/{repository-2vtn24zd.js → permission-7vc3mrhj.js} +12 -12
- package/dist/chunks/{repository-pzkk0785.js → permission-81swgkk7.js} +7 -7
- package/dist/chunks/{repository-xmmda1hq.js → permission-84esvpjp.js} +11 -11
- package/dist/chunks/{repository-6fmy559f.js → permission-87mf3pbm.js} +7 -7
- package/dist/chunks/{repository-780vkm8r.js → permission-8b0mdtzk.js} +4 -4
- package/dist/chunks/{repository-8d7r5vzw.js → permission-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-k0e0jm40.js → permission-8g9sv97x.js} +24 -24
- package/dist/chunks/{repository-dj2t23y0.js → permission-8p4f9s12.js} +2 -2
- package/dist/chunks/{repository-2c5gpntr.js → permission-8rzvvpen.js} +1 -1
- package/dist/chunks/{repository-h7daxtb8.js → permission-8wfdbk8j.js} +11 -11
- package/dist/chunks/{repository-m3ettc37.js → permission-92c73cms.js} +20 -20
- package/dist/chunks/{repository-bacypahn.js → permission-9bmt064q.js} +1 -1
- package/dist/chunks/{repository-hpdgvsh4.js → permission-9hk4nqcc.js} +1 -1
- package/dist/chunks/{repository-rccqqzv1.js → permission-9mbt5q6r.js} +12 -12
- package/dist/chunks/{repository-9ra18k9p.js → permission-9q891yrf.js} +10 -10
- package/dist/chunks/{repository-9sh4wc5j.js → permission-9sh4wc5j.js} +1 -1
- package/dist/chunks/{repository-w8rxvjsy.js → permission-9z3fc33k.js} +6 -6
- package/dist/chunks/{repository-5c4hm403.js → permission-a1bz86dw.js} +3 -3
- package/dist/chunks/{repository-z741p9sc.js → permission-a1sq34g7.js} +13 -13
- package/dist/chunks/{repository-1byap634.js → permission-a1wdz8hm.js} +32 -32
- package/dist/chunks/{repository-aaet6srn.js → permission-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-c9bbz02c.js → permission-amsh879j.js} +25 -25
- package/dist/chunks/{repository-30rg0n1z.js → permission-apn687kz.js} +6 -6
- package/dist/chunks/{repository-6fa0yxfs.js → permission-aq6p0j7t.js} +13 -13
- package/dist/chunks/{repository-23sxaqwc.js → permission-awaee7qt.js} +4 -4
- package/dist/chunks/{repository-daccqbjh.js → permission-axswzfy0.js} +9 -9
- package/dist/chunks/{repository-jkmmxdv7.js → permission-b09gp3e1.js} +20 -20
- package/dist/chunks/{repository-ybvbv09q.js → permission-b1hwkhhg.js} +2 -2
- package/dist/chunks/{repository-b6gygkdw.js → permission-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-ht9620cz.js → permission-b7fz65hd.js} +6 -6
- package/dist/chunks/{repository-52nmff2v.js → permission-bb3z56gq.js} +163 -163
- package/dist/chunks/{repository-mnnqs8ch.js → permission-bb9gdsay.js} +7 -7
- package/dist/chunks/{repository-00z3vp5f.js → permission-bct739vz.js} +4 -4
- package/dist/chunks/{repository-2mfw3wdh.js → permission-bf1f8spf.js} +9 -9
- package/dist/chunks/{repository-2tfmgkzg.js → permission-bha4atvq.js} +4 -4
- package/dist/chunks/{repository-ef1q2dpz.js → permission-bnmyf0ce.js} +13 -13
- package/dist/chunks/{repository-6cnk2f7j.js → permission-bpp1ve0d.js} +7 -7
- package/dist/chunks/{repository-qzm0daqd.js → permission-bpxakdpc.js} +3 -3
- package/dist/chunks/{repository-62hcz6cs.js → permission-bqnr9rrg.js} +27 -27
- package/dist/chunks/{repository-32vktv6f.js → permission-bsd2krkr.js} +28 -28
- package/dist/chunks/{repository-6d8fecpc.js → permission-bzq2w820.js} +4 -4
- package/dist/chunks/{repository-63xeamm2.js → permission-c2ky07yx.js} +4 -4
- package/dist/chunks/{repository-fmme79ky.js → permission-c5krz9jh.js} +11 -11
- package/dist/chunks/{repository-m0jqrx5p.js → permission-cfpkc3c9.js} +2 -2
- package/dist/chunks/{repository-zm6r64bs.js → permission-cqqqgcb7.js} +19 -19
- package/dist/chunks/{repository-x52k0wvy.js → permission-cww8ckd5.js} +18 -18
- package/dist/chunks/{repository-1wvd3n1a.js → permission-d9h2d1ka.js} +27 -27
- package/dist/chunks/{repository-6jagpjd6.js → permission-dbjeecdk.js} +18 -18
- package/dist/chunks/{repository-raw2a3zh.js → permission-dcyd24wq.js} +21 -21
- package/dist/chunks/{repository-pxf31q7x.js → permission-dhw3sfae.js} +13 -13
- package/dist/chunks/{repository-5tqrw2yw.js → permission-dnhfw08a.js} +24 -24
- package/dist/chunks/{repository-g7zcz8xz.js → permission-dq0mr2jp.js} +11 -11
- package/dist/chunks/{repository-844ef7ks.js → permission-dv1qgsyq.js} +8 -8
- package/dist/chunks/{repository-cfsztwnt.js → permission-dv7mkkh9.js} +15 -15
- package/dist/chunks/{repository-n10qepkx.js → permission-dy0c576n.js} +16 -16
- package/dist/chunks/{repository-c8pw21fc.js → permission-e3c36pw0.js} +5 -5
- package/dist/chunks/{repository-47gsdddb.js → permission-e82z9tr0.js} +4 -4
- package/dist/chunks/{repository-eaj1djv9.js → permission-eaj1djv9.js} +1 -1
- package/dist/chunks/{repository-bfbpt4xj.js → permission-edxfe7s1.js} +8 -8
- package/dist/chunks/{repository-fhy3xvpm.js → permission-epa7ab47.js} +15 -15
- package/dist/chunks/{repository-0s80x56w.js → permission-es6yzghe.js} +9 -9
- package/dist/chunks/{repository-etq0c3wd.js → permission-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-dj9sq318.js → permission-evbgk2k8.js} +5 -5
- package/dist/chunks/{repository-4g53kgkp.js → permission-eyhztbdt.js} +51 -51
- package/dist/chunks/{repository-yp2x3t23.js → permission-f2n192rq.js} +4 -4
- package/dist/chunks/{repository-3qgk4v93.js → permission-f2qv4rkk.js} +25 -25
- package/dist/chunks/{repository-4vt2dwev.js → permission-f4b92nvy.js} +20 -20
- package/dist/chunks/{repository-hdnk95c8.js → permission-f828m53h.js} +2 -2
- package/dist/chunks/{repository-a7bm1a35.js → permission-f9ggb10g.js} +13 -13
- package/dist/chunks/{repository-m3ef3jt3.js → permission-fhwh6ymw.js} +9 -9
- package/dist/chunks/{repository-x74118mf.js → permission-fn2hydb4.js} +1 -1
- package/dist/chunks/{repository-vp40978k.js → permission-fp7afw2y.js} +9 -9
- package/dist/chunks/{repository-dwkfzrk3.js → permission-frb38jfy.js} +10 -10
- package/dist/chunks/{repository-fxbjtjnd.js → permission-fxbjtjnd.js} +1 -1
- package/dist/chunks/{repository-6ryvksdm.js → permission-g035anep.js} +30 -30
- package/dist/chunks/{repository-rdydr188.js → permission-g08z5fem.js} +8 -8
- package/dist/chunks/{repository-ys3t6ahp.js → permission-g0dapk05.js} +36 -36
- package/dist/chunks/{repository-eak6awrz.js → permission-g5dqybf4.js} +6 -6
- package/dist/chunks/{repository-7yqt39ht.js → permission-gc7nq2w8.js} +19 -19
- package/dist/chunks/{repository-gd4qta3r.js → permission-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-a5xe75vd.js → permission-gdhz6ft6.js} +24 -24
- package/dist/chunks/{repository-vjay5gkv.js → permission-gz2jw7z9.js} +25 -25
- package/dist/chunks/{repository-h03wrkyp.js → permission-h03wrkyp.js} +2 -2
- package/dist/chunks/{repository-jsk2qqh7.js → permission-h0wmkw4z.js} +61 -61
- package/dist/chunks/{repository-y1336hgx.js → permission-h3ap5ds5.js} +17 -17
- package/dist/chunks/{repository-xdfw05yp.js → permission-h4z9dwcs.js} +11 -11
- package/dist/chunks/{repository-h6vf3j39.js → permission-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-m86bnw2c.js → permission-h7ygw6q4.js} +9 -9
- package/dist/chunks/{repository-j14ddj9r.js → permission-hhsqcnjm.js} +27 -27
- package/dist/chunks/{repository-hkfg6fzm.js → permission-hkfg6fzm.js} +2 -2
- package/dist/chunks/{repository-h83w2tz3.js → permission-hqs268ax.js} +78 -78
- package/dist/chunks/{repository-t0x5rdq8.js → permission-hrvd6t1f.js} +9 -9
- package/dist/chunks/{repository-dtqbwwhp.js → permission-hrwd0249.js} +5 -5
- package/dist/chunks/{repository-2mxvh1sf.js → permission-htv999p2.js} +4 -4
- package/dist/chunks/{repository-qm7jrdpz.js → permission-hvbks3tt.js} +5 -5
- package/dist/chunks/{repository-t8n3h3je.js → permission-hznecdg9.js} +22 -22
- package/dist/chunks/{repository-d9zmx2gn.js → permission-j1yse1kd.js} +9 -9
- package/dist/chunks/{repository-j56e64zr.js → permission-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-y9bshx3x.js → permission-j5nhpq27.js} +1 -1
- package/dist/chunks/{repository-d4z2re2g.js → permission-jbk88k2h.js} +20 -20
- package/dist/chunks/{repository-q280h65c.js → permission-jdh6s7jq.js} +8 -8
- package/dist/chunks/{repository-cdvjrb6a.js → permission-jjx7b5jh.js} +18 -18
- package/dist/chunks/{repository-qfphbjrc.js → permission-jq2w5eqw.js} +10 -10
- package/dist/chunks/{repository-9a4k9g5r.js → permission-jqfwb0pt.js} +75 -75
- package/dist/chunks/{repository-52ymf0cj.js → permission-jxpkt7tv.js} +26 -26
- package/dist/chunks/{repository-1snngmj1.js → permission-k6y57zrd.js} +4 -4
- package/dist/chunks/{repository-1erp3qqz.js → permission-kbhrqfch.js} +14 -14
- package/dist/chunks/{repository-x14ypy9e.js → permission-kc0nqpr4.js} +11 -11
- package/dist/chunks/{repository-nbvm9kjy.js → permission-kcdjdwht.js} +15 -15
- package/dist/chunks/{repository-kg06axw8.js → permission-kg06axw8.js} +1 -1
- package/dist/chunks/{repository-pb1eahw5.js → permission-km9fdhsq.js} +6 -6
- package/dist/chunks/{repository-av7emrka.js → permission-krcmgbzg.js} +16 -16
- package/dist/chunks/{repository-vnasg3sb.js → permission-m38pnftj.js} +18 -18
- package/dist/chunks/{repository-y1rq3pqk.js → permission-m9mprvkw.js} +6 -6
- package/dist/chunks/{repository-m9w0rfyh.js → permission-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-magykp64.js → permission-magykp64.js} +1 -1
- package/dist/chunks/{repository-22cv5ye4.js → permission-mbpabt96.js} +14 -14
- package/dist/chunks/{repository-56gdpj1q.js → permission-mfqp6xfm.js} +6 -6
- package/dist/chunks/{repository-z6fgg22d.js → permission-mg0znfg2.js} +26 -26
- package/dist/chunks/{repository-73tb2d7t.js → permission-mhkvc446.js} +3 -3
- package/dist/chunks/permission-mk0rj6bs.js +22 -0
- package/dist/chunks/{repository-mkcjrzeh.js → permission-mkcjrzeh.js} +1 -1
- package/dist/chunks/{repository-r1yy7shp.js → permission-n3mvxh6b.js} +15 -15
- package/dist/chunks/{repository-tfwap27p.js → permission-nbddwgy7.js} +10 -10
- package/dist/chunks/{repository-c3ay0pv3.js → permission-nx4mcp4p.js} +32 -32
- package/dist/chunks/{repository-rqk58rkp.js → permission-p3djshn2.js} +16 -16
- package/dist/chunks/{repository-c6y7v1er.js → permission-p72z5xx6.js} +2 -2
- package/dist/chunks/{repository-fjeh9m37.js → permission-p9wjsttt.js} +8 -8
- package/dist/chunks/{repository-8jn05b6d.js → permission-peyqvyfe.js} +3 -3
- package/dist/chunks/{repository-pjvnvgmy.js → permission-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-pknna89w.js → permission-pknna89w.js} +1 -1
- package/dist/chunks/{repository-0rpxkeqh.js → permission-pwrejdr7.js} +25 -25
- package/dist/chunks/{repository-1vy40y6q.js → permission-pxz8cxa5.js} +13 -13
- package/dist/chunks/{repository-sz2wcpmw.js → permission-q299s37z.js} +11 -11
- package/dist/chunks/{repository-f9dnc6qb.js → permission-q2t36530.js} +9 -9
- package/dist/chunks/{repository-ge8bh06a.js → permission-q3nxez7d.js} +9 -9
- package/dist/chunks/{repository-p7p3472k.js → permission-q43b811b.js} +22 -22
- package/dist/chunks/{repository-zj4vqg3k.js → permission-q494k5ge.js} +17 -17
- package/dist/chunks/{repository-65fgxyf5.js → permission-q4r5v072.js} +8 -8
- package/dist/chunks/{repository-qrc483b8.js → permission-q5w1jtjn.js} +11 -11
- package/dist/chunks/{repository-k9ynbxgd.js → permission-q7kxw1qj.js} +33 -33
- package/dist/chunks/{repository-3fqa324q.js → permission-q8ym26hm.js} +9 -9
- package/dist/chunks/{repository-qsdy395h.js → permission-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-wbsb94y0.js → permission-qte4374f.js} +10 -10
- package/dist/chunks/{repository-ypfk9d9x.js → permission-qyqx8eqj.js} +18 -18
- package/dist/chunks/{repository-rd62shed.js → permission-qz0j6jwv.js} +37 -37
- package/dist/chunks/{repository-8xa4vqg2.js → permission-r33c6a77.js} +6 -6
- package/dist/chunks/{repository-xmvnw2y2.js → permission-rbygrj0c.js} +6 -6
- package/dist/chunks/{repository-3q1jyqhd.js → permission-rfnzy394.js} +1 -1
- package/dist/chunks/{repository-7v41m4wd.js → permission-rkmq0ftz.js} +11 -11
- package/dist/chunks/{repository-k3mt7wkv.js → permission-rpvameez.js} +10 -10
- package/dist/chunks/{repository-bgc00773.js → permission-rsdcqs1d.js} +1 -1
- package/dist/chunks/{repository-n0pr5v83.js → permission-rvgrny2v.js} +18 -18
- package/dist/chunks/permission-rw5rv931.js +247 -0
- package/dist/chunks/{repository-vryjq8rr.js → permission-rw8f0y5b.js} +14 -14
- package/dist/chunks/{repository-nw2nz702.js → permission-s0hza5ac.js} +4 -4
- package/dist/chunks/{repository-3bkjb058.js → permission-s320sr8b.js} +22 -22
- package/dist/chunks/{repository-bzcqfm0m.js → permission-s5wvc7af.js} +2 -2
- package/dist/chunks/{repository-6bd4yqd4.js → permission-s92vhaeg.js} +39 -39
- package/dist/chunks/{repository-zamc6f4z.js → permission-sc88h56w.js} +26 -26
- package/dist/chunks/{repository-e430f9b9.js → permission-sdgbfwbf.js} +32 -32
- package/dist/chunks/{repository-kq7qvksk.js → permission-sgrgw8g2.js} +14 -14
- package/dist/chunks/{repository-5637d424.js → permission-ssbetzbz.js} +13 -13
- package/dist/chunks/{repository-qn8pfh7t.js → permission-t02gjz1k.js} +8 -8
- package/dist/chunks/{repository-jw70rx0h.js → permission-tapgcwap.js} +38 -38
- package/dist/chunks/{repository-56gxsabx.js → permission-tasvhq82.js} +10 -10
- package/dist/chunks/{repository-z13bnxy7.js → permission-tawsc025.js} +6 -6
- package/dist/chunks/{repository-tazgh4e4.js → permission-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-tcezcvh9.js → permission-tcezcvh9.js} +1 -1
- package/dist/chunks/{repository-tdstcens.js → permission-tdstcens.js} +1 -1
- package/dist/chunks/{repository-gv6a8nnw.js → permission-th5km1p3.js} +5 -5
- package/dist/chunks/{repository-9fqm4bgz.js → permission-tq578zw6.js} +9 -9
- package/dist/chunks/{repository-cwtr640q.js → permission-tv6r6mb4.js} +5 -5
- package/dist/chunks/{repository-tvtrv512.js → permission-tvtrv512.js} +1 -1
- package/dist/chunks/{repository-wx8khj6c.js → permission-vd2882sq.js} +17 -17
- package/dist/chunks/{repository-hq8zt1th.js → permission-ve6nm2s5.js} +6 -6
- package/dist/chunks/{repository-veqvce7d.js → permission-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-b3e9n1nh.js → permission-vwj7x1yx.js} +4 -4
- package/dist/chunks/{repository-vzcthcp8.js → permission-vzcthcp8.js} +1 -1
- package/dist/chunks/{repository-1hc11dc4.js → permission-w1k39n5e.js} +4 -4
- package/dist/chunks/{repository-b7f1tq2h.js → permission-w1k6zdcm.js} +6 -6
- package/dist/chunks/{repository-w3wsvvr9.js → permission-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-gfcx43hw.js → permission-w7a9hpzm.js} +9 -9
- package/dist/chunks/{repository-9xtkkd11.js → permission-w9wjp6nc.js} +4 -4
- package/dist/chunks/{repository-wd87259q.js → permission-wd87259q.js} +1 -1
- package/dist/chunks/{repository-d09006c3.js → permission-wk5z6jzv.js} +9 -9
- package/dist/chunks/{repository-jv6862zv.js → permission-wqkncbjv.js} +3 -3
- package/dist/chunks/{repository-1fmrbde1.js → permission-wtz46evs.js} +8 -8
- package/dist/chunks/{repository-x1ezjp6w.js → permission-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-x43y2vfs.js → permission-x43y2vfs.js} +2 -2
- package/dist/chunks/{repository-vmxj0651.js → permission-xe133f6x.js} +7 -7
- package/dist/chunks/{repository-3293cyr9.js → permission-xfps67qg.js} +2 -2
- package/dist/chunks/{repository-drt53naa.js → permission-xp9xnn8d.js} +35 -35
- package/dist/chunks/{repository-rq1vkg8w.js → permission-xzbwntxk.js} +14 -14
- package/dist/chunks/{repository-y1fvbwt7.js → permission-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-dpkg50ah.js → permission-y71avatq.js} +4 -4
- package/dist/chunks/{repository-yddgxcp4.js → permission-yddgxcp4.js} +2 -2
- package/dist/chunks/{repository-e6hmchc5.js → permission-yjptyezs.js} +5 -5
- package/dist/chunks/{repository-kgrrjcn2.js → permission-ym6s8ka9.js} +42 -42
- package/dist/chunks/{repository-t2fwea8b.js → permission-yq1w5pqx.js} +34 -34
- package/dist/chunks/{repository-4aws1fvg.js → permission-yqt3rh4n.js} +31 -31
- package/dist/chunks/{repository-yrhqyw5v.js → permission-yrhqyw5v.js} +1 -1
- package/dist/chunks/{repository-yrznvahk.js → permission-yrznvahk.js} +2 -2
- package/dist/chunks/{repository-b0fng4zx.js → permission-ywh6c7jz.js} +41 -41
- package/dist/chunks/{repository-wxkvpjdn.js → permission-yz8759qy.js} +23 -23
- package/dist/chunks/{repository-z0bkrqjs.js → permission-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-dkz6hmks.js → permission-z2gqb3qg.js} +14 -14
- package/dist/chunks/{repository-z63w68vq.js → permission-z63w68vq.js} +2 -2
- package/dist/chunks/{repository-wmbnw6kf.js → permission-zegc85zc.js} +5 -5
- package/dist/chunks/{repository-zeh9ct20.js → permission-zeh9ct20.js} +2 -2
- package/dist/chunks/{repository-zr2ceqn5.js → permission-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-cw1jmpw1.js → permission-zsg3w01c.js} +4 -4
- package/dist/chunks/{repository-zxq2ej10.js → permission-zxq2ej10.js} +1 -1
- package/dist/chunks/{repository-bzkpjw1k.js → permission-zxwym8ez.js} +22 -22
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +93 -93
- package/dist/git.js +7 -7
- 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 +7 -7
- 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 +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +73 -73
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +350 -350
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +10 -10
- package/dist/models-dev.js +80 -80
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +102 -102
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- 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.js +218 -218
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +81 -81
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +88 -88
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +145 -145
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +213 -213
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +73 -73
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +131 -131
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +107 -107
- 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 +117 -117
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +79 -79
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/repository-f7z596tj.js +0 -22
- package/dist/chunks/repository-xt8m55sk.js +0 -247
- /package/dist/chunks/{repository-0mesazry.js → permission-0mesazry.js} +0 -0
- /package/dist/chunks/{repository-0qkdqm5v.js → permission-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → permission-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → permission-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → permission-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1kg9ymc8.js → permission-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → permission-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2axfhc9x.js → permission-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → permission-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → permission-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3asan66x.js → permission-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → permission-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-3w5fmr99.js → permission-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-3wcehsnq.js → permission-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → permission-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → permission-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4vcrnpx2.js → permission-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-4y7fprxs.js → permission-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → permission-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-550bvhaj.js → permission-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → permission-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → permission-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → permission-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → permission-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → permission-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → permission-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-922hggd3.js → permission-922hggd3.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → permission-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → permission-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-a6k6eb26.js → permission-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-af5trqkr.js → permission-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-afrmfg78.js → permission-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → permission-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → permission-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → permission-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → permission-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → permission-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → permission-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → permission-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → permission-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-dajrwvna.js → permission-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-dap0rakb.js → permission-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → permission-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → permission-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → permission-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-e73j6tqm.js → permission-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-ec1grn59.js → permission-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-eh3zwz77.js → permission-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → permission-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → permission-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → permission-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → permission-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → permission-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fxgpk5d8.js → permission-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-g4wezp1m.js → permission-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → permission-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → permission-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-gftt206x.js → permission-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-hjbc5kem.js → permission-hjbc5kem.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → permission-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-hrnqkpcd.js → permission-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → permission-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-j5zkgpj8.js → permission-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → permission-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → permission-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → permission-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → permission-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → permission-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → permission-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → permission-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → permission-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-paphc93g.js → permission-paphc93g.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → permission-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → permission-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qaymkmh1.js → permission-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → permission-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → permission-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → permission-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → permission-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → permission-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-sk3qaz4a.js → permission-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → permission-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-twg0f83k.js → permission-twg0f83k.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → permission-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → permission-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → permission-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x0ckcb58.js → permission-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-x61499pn.js → permission-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → permission-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8cydn3q.js → permission-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → permission-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-ym463w8f.js → permission-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → permission-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service78,
|
|
3
3
|
node83
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./permission-c2ky07yx.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./permission-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./permission-0zhcx8km.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./permission-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event17,
|
|
21
|
+
ID: () => ID12,
|
|
22
|
+
Info: () => Info26,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service70,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node75,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event17 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
41
|
+
var Source4 = Skill.Source;
|
|
42
|
+
var Info26 = Skill.Info;
|
|
43
|
+
var ID12 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service70 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service78;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID12.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID12.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID12.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID12.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service70.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node75 = makeLocationNode({
|
|
112
|
+
service: Service70,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node83]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info26, ID12, Name2, available2, toModelOutput3, prepare3, Service70, node75, exports_skill5, Event17 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service78,
|
|
3
3
|
node83
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./permission-c2ky07yx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event14,
|
|
7
|
+
Service64,
|
|
8
|
+
node69
|
|
9
|
+
} from "./permission-bsd2krkr.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service48,
|
|
12
|
+
node51
|
|
13
|
+
} from "./permission-q43b811b.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./permission-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service75,
|
|
19
|
+
node80
|
|
20
|
+
} from "./permission-dy0c576n.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./permission-yrznvahk.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./permission-92c73cms.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./permission-hrwd0249.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./permission-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service49,
|
|
36
|
+
Event9,
|
|
37
|
+
node52
|
|
38
|
+
} from "./permission-dbjeecdk.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./permission-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options7,
|
|
48
|
+
Service: () => Service47,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured7,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer19,
|
|
53
|
+
node: () => node50,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -71,14 +71,14 @@ import { Global } from "@opencode/util/global";
|
|
|
71
71
|
function latest2(entries, key) {
|
|
72
72
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
73
73
|
}
|
|
74
|
-
var
|
|
74
|
+
var Options7 = Schema.Struct({
|
|
75
75
|
project: Schema.optional(Schema.Boolean),
|
|
76
76
|
global: Schema.optional(Schema.Boolean),
|
|
77
77
|
file: Schema.optional(Schema.String),
|
|
78
78
|
content: Schema.optional(Schema.String)
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service47 extends Context.Service()("@opencode/Config") {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -92,15 +92,15 @@ var testLayer2 = (initial = []) => Layer.effectContext(Effect.gen(function* () {
|
|
|
92
92
|
setEntries: (next) => Ref.set(entries, next),
|
|
93
93
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
94
94
|
});
|
|
95
|
-
return Context.empty().pipe(Context.add(
|
|
95
|
+
return Context.empty().pipe(Context.add(Service47, service), Context.add(Test2, service));
|
|
96
96
|
}));
|
|
97
|
-
var
|
|
97
|
+
var layer19 = (options) => Layer.effect(Service47, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const location = yield*
|
|
100
|
-
const watcher = yield*
|
|
99
|
+
const location = yield* Service75;
|
|
100
|
+
const watcher = yield* Service48;
|
|
101
101
|
const bus = yield* Service78;
|
|
102
|
-
const credentials = yield*
|
|
103
|
-
const wellknown = yield*
|
|
102
|
+
const credentials = yield* Service64;
|
|
103
|
+
const wellknown = yield* Service49;
|
|
104
104
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
105
105
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
106
106
|
const decodeInfo = Schema.decodeUnknownOption(Info, decodeOptions);
|
|
@@ -223,8 +223,8 @@ var layer18 = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
|
223
223
|
}, (effect) => reloadLock.withPermit(effect));
|
|
224
224
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
225
225
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
|
-
yield* bus.subscribe(
|
|
227
|
-
yield* bus.subscribe(
|
|
226
|
+
yield* bus.subscribe(Event14.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
227
|
+
yield* bus.subscribe(Event9.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
228
228
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
229
229
|
if (!wellknown.snapshot().length)
|
|
230
230
|
return Effect.void;
|
|
@@ -235,20 +235,20 @@ var layer18 = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
|
235
235
|
}).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to refresh wellknown config", { cause })));
|
|
236
236
|
})), Effect.forever, Effect.forkScoped({ startImmediately: true }));
|
|
237
237
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
238
|
-
return
|
|
238
|
+
return Service47.of({
|
|
239
239
|
entries: Effect.fnUntraced(function* () {
|
|
240
240
|
return configs;
|
|
241
241
|
}),
|
|
242
242
|
changes: () => Stream.fromPubSub(updates)
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
function
|
|
245
|
+
function configured7(options) {
|
|
246
246
|
return makeLocationNode({
|
|
247
|
-
service:
|
|
248
|
-
layer:
|
|
249
|
-
deps: [
|
|
247
|
+
service: Service47,
|
|
248
|
+
layer: layer19(options),
|
|
249
|
+
deps: [node51, node83, FSUtil.node, Global.node, node80, node69, node52]
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
|
-
var
|
|
252
|
+
var node50 = configured7();
|
|
253
253
|
|
|
254
|
-
export { latest2,
|
|
254
|
+
export { latest2, Options7, Service47, Test2, testLayer2, layer19, configured7, node50, exports_config };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./permission-5hqtspna.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./permission-f828m53h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./permission-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_saved, {
|
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
16
|
ID: () => ID14,
|
|
17
17
|
Info: () => Info27,
|
|
18
|
-
ListInput: () =>
|
|
18
|
+
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service72,
|
|
21
|
+
node: () => node77
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -27,7 +27,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
28
|
var ID14 = PermissionSaved.ID;
|
|
29
29
|
var Info27 = PermissionSaved.Info;
|
|
30
|
-
var
|
|
30
|
+
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service72 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service79).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
62
62
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
63
63
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
64
64
|
});
|
|
65
|
-
return
|
|
65
|
+
return Service72.of({ list, add, remove });
|
|
66
66
|
}));
|
|
67
|
-
var
|
|
67
|
+
var node77 = makeGlobalNode({ service: Service72, layer, deps: [node84] });
|
|
68
68
|
|
|
69
|
-
export { ID14, Info27,
|
|
69
|
+
export { ID14, Info27, ListInput4, AddInput2, Service72, node77, exports_saved };
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./permission-5hqtspna.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
7
|
Service78,
|
|
8
8
|
node83
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./permission-c2ky07yx.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./permission-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./permission-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
update2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./permission-yddgxcp4.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./permission-922hggd3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./permission-8p4f9s12.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./permission-a1bz86dw.js";
|
|
31
31
|
import {
|
|
32
32
|
projectAdmitted2,
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./permission-jbk88k2h.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./permission-bha4atvq.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./permission-bpp1ve0d.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./permission-gebd4c9n.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./permission-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/projector.ts
|
|
54
54
|
var exports_projector = {};
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node30
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -455,6 +455,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
455
455
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
456
456
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
457
457
|
}));
|
|
458
|
-
var
|
|
458
|
+
var node30 = makeGlobalNode({ name: "session-projector", layer, deps: [node83, node84] });
|
|
459
459
|
|
|
460
|
-
export { SessionAlreadyProjected2,
|
|
460
|
+
export { SessionAlreadyProjected2, node30, exports_projector };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./permission-apn687kz.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
ID8
|
|
8
|
+
} from "./permission-kbhrqfch.js";
|
|
9
9
|
import {
|
|
10
10
|
Service78
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./permission-c2ky07yx.js";
|
|
12
12
|
import {
|
|
13
13
|
OAuth3,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Event14
|
|
15
|
+
} from "./permission-bsd2krkr.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID6,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./permission-0w1z60c4.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service61
|
|
22
|
+
} from "./permission-amsh879j.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
get3
|
|
25
|
+
} from "./permission-h3ap5ds5.js";
|
|
26
26
|
import {
|
|
27
27
|
useragent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./permission-2epmtwtd.js";
|
|
29
29
|
|
|
30
30
|
// src/plugin/provider/github-copilot.ts
|
|
31
31
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
57
57
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
58
58
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
59
59
|
var oauth = (app) => ({
|
|
60
|
-
integrationID:
|
|
60
|
+
integrationID: ID6.make("github-copilot"),
|
|
61
61
|
method: {
|
|
62
62
|
id: methodID,
|
|
63
63
|
type: "oauth",
|
|
@@ -155,7 +155,7 @@ var oauth = (app) => ({
|
|
|
155
155
|
var GithubCopilotPlugin2 = define({
|
|
156
156
|
id: "opencode.provider.github.copilot",
|
|
157
157
|
effect: Effect.fn(function* (ctx) {
|
|
158
|
-
const catalog = yield*
|
|
158
|
+
const catalog = yield* Service61;
|
|
159
159
|
const bus = yield* Service78;
|
|
160
160
|
const loading = Semaphore.makeUnsafe(1);
|
|
161
161
|
const loaded = {};
|
|
@@ -170,10 +170,10 @@ var GithubCopilotPlugin2 = define({
|
|
|
170
170
|
return;
|
|
171
171
|
}
|
|
172
172
|
loaded.baseURL = copilotBaseURL2(credential.metadata);
|
|
173
|
-
const provider = yield* catalog.provider.get(
|
|
174
|
-
const existing = (yield* catalog.model.all()).filter((model) => model.providerID ===
|
|
173
|
+
const provider = yield* catalog.provider.get(ID9.githubCopilot);
|
|
174
|
+
const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID9.githubCopilot);
|
|
175
175
|
loaded.models = yield* Effect.tryPromise({
|
|
176
|
-
try: () =>
|
|
176
|
+
try: () => get3(loaded.baseURL ?? baseURL(), {
|
|
177
177
|
...provider?.headers,
|
|
178
178
|
Authorization: `Bearer ${credential.refresh}`,
|
|
179
179
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -187,12 +187,12 @@ var GithubCopilotPlugin2 = define({
|
|
|
187
187
|
editor.method.update(oauth(ctx.app));
|
|
188
188
|
});
|
|
189
189
|
yield* ctx.catalog.transform((evt) => {
|
|
190
|
-
const item = evt.provider.get(
|
|
190
|
+
const item = evt.provider.get(ID9.githubCopilot);
|
|
191
191
|
if (!item)
|
|
192
192
|
return;
|
|
193
193
|
if (loaded.models) {
|
|
194
194
|
for (const id of item.models.keys()) {
|
|
195
|
-
if (!loaded.models.has(
|
|
195
|
+
if (!loaded.models.has(ID8.make(id)))
|
|
196
196
|
evt.model.remove(item.provider.id, id);
|
|
197
197
|
}
|
|
198
198
|
for (const [id, model] of loaded.models) {
|
|
@@ -207,17 +207,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
207
207
|
});
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
if (item.models.has(
|
|
211
|
-
evt.model.update(item.provider.id,
|
|
210
|
+
if (item.models.has(ID8.make("gpt-5-chat-latest"))) {
|
|
211
|
+
evt.model.update(item.provider.id, ID8.make("gpt-5-chat-latest"), (model) => {
|
|
212
212
|
model.enabled = false;
|
|
213
213
|
});
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
217
|
-
yield* bus.subscribe(
|
|
217
|
+
yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID6.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
218
218
|
yield* refresh().pipe(Effect.forkScoped);
|
|
219
219
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
220
|
-
if (evt.model.providerID !==
|
|
220
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
221
221
|
return;
|
|
222
222
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
223
223
|
return;
|
|
@@ -226,7 +226,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
226
226
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
227
227
|
}));
|
|
228
228
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
229
|
-
if (evt.model.providerID !==
|
|
229
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
230
230
|
return;
|
|
231
231
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
232
232
|
return;
|
|
@@ -236,9 +236,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
236
236
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
237
237
|
if (interaction !== "conversation-agent")
|
|
238
238
|
evt.headers["x-initiator"] = "agent";
|
|
239
|
-
}), { providerID:
|
|
239
|
+
}), { providerID: ID9.githubCopilot });
|
|
240
240
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
241
|
-
if (evt.model.providerID !==
|
|
241
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
242
242
|
return;
|
|
243
243
|
const token = evt.request.headers.get("x-api-key");
|
|
244
244
|
if (!token)
|
|
@@ -246,9 +246,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
246
246
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
247
247
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
248
248
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
249
|
-
}), { providerID:
|
|
249
|
+
}), { providerID: ID9.githubCopilot });
|
|
250
250
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
251
|
-
if (evt.model.providerID !==
|
|
251
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
252
252
|
return;
|
|
253
253
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
254
254
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-2epmtwtd.js";
|
|
4
4
|
import {
|
|
5
5
|
Service78
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-c2ky07yx.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event14,
|
|
10
|
+
Service64
|
|
11
|
+
} from "./permission-bsd2krkr.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID6,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service63
|
|
16
|
+
} from "./permission-0w1z60c4.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./permission-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID9
|
|
23
|
+
} from "./permission-apn687kz.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./permission-bb9gdsay.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID9.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID6.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
56
|
+
const credentials = yield* Service64;
|
|
57
|
+
const integrations = yield* Service63;
|
|
58
58
|
const bus = yield* Service78;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
@@ -178,7 +178,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
178
178
|
model.settings.baseURL = endpoint(model.settings.baseURL, account.value);
|
|
179
179
|
}
|
|
180
180
|
});
|
|
181
|
-
yield* bus.subscribe(
|
|
181
|
+
yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
182
182
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
183
183
|
const token = envToken();
|
|
184
184
|
if (token)
|