@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,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service75
|
|
3
|
+
} from "./permission-dy0c576n.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service55
|
|
6
|
+
} from "./permission-dnhfw08a.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service16,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./permission-3g80ynvx.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service13
|
|
14
|
+
} from "./permission-epa7ab47.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service71
|
|
17
|
+
} from "./permission-0zhcx8km.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service15,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./permission-rvgrny2v.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./permission-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./permission-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input9,
|
|
34
|
+
Output: () => Output7,
|
|
35
|
+
Plugin: () => Plugin40,
|
|
36
|
+
name: () => name9
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name9 = "edit";
|
|
43
|
+
var Input9 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input12 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output7 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin40 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
113
|
-
const location = yield*
|
|
114
|
-
const permission = yield*
|
|
109
|
+
const access = yield* Service15;
|
|
110
|
+
const fileMutation = yield* Service16;
|
|
111
|
+
const environment = yield* Service55;
|
|
112
|
+
const formatter = yield* Service13;
|
|
113
|
+
const location = yield* Service75;
|
|
114
|
+
const permission = yield* Service71;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
116
|
+
name: name9,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
|
-
input:
|
|
120
|
-
output:
|
|
119
|
+
input: Input9,
|
|
120
|
+
output: Output7,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
123
123
|
const permissionSource = {
|
|
@@ -194,4 +194,4 @@ var Plugin31 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { name9, Input9, Output7, Plugin40, exports_edit };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-bsd2krkr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID6,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./permission-0w1z60c4.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./permission-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID6.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service53,
|
|
3
|
-
node57,
|
|
4
|
-
canonical3
|
|
5
|
-
} from "./repository-9ra18k9p.js";
|
|
6
1
|
import {
|
|
7
2
|
Service50,
|
|
8
|
-
node53
|
|
9
|
-
|
|
3
|
+
node53,
|
|
4
|
+
canonical2
|
|
5
|
+
} from "./permission-9q891yrf.js";
|
|
6
|
+
import {
|
|
7
|
+
Service43,
|
|
8
|
+
node46
|
|
9
|
+
} from "./permission-ve6nm2s5.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service18
|
|
12
|
+
} from "./permission-dv7mkkh9.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./permission-rw5rv931.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service50, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -28,7 +28,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
28
28
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
29
29
|
return Effect.void;
|
|
30
30
|
if (Exit.isSuccess(exit)) {
|
|
31
|
-
build.close = Context.get(exit.value,
|
|
31
|
+
build.close = Context.get(exit.value, Service18).close;
|
|
32
32
|
return Effect.void;
|
|
33
33
|
}
|
|
34
34
|
MutableHashMap.remove(builds, ref);
|
|
@@ -39,22 +39,22 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
39
39
|
}, { idleTimeToLive: Duration.infinity });
|
|
40
40
|
const map = {
|
|
41
41
|
...inner,
|
|
42
|
-
get: (ref) => inner.get(
|
|
43
|
-
contextEffect: (ref) => inner.contextEffect(
|
|
44
|
-
contextEffectOption: (ref) => inner.contextEffectOption(
|
|
42
|
+
get: (ref) => inner.get(canonical2(ref)),
|
|
43
|
+
contextEffect: (ref) => inner.contextEffect(canonical2(ref)),
|
|
44
|
+
contextEffectOption: (ref) => inner.contextEffectOption(canonical2(ref)),
|
|
45
45
|
invalidate: (ref) => Effect.suspend(() => {
|
|
46
|
-
const key =
|
|
46
|
+
const key = canonical2(ref);
|
|
47
47
|
const build = Option.getOrUndefined(MutableHashMap.get(builds, key));
|
|
48
48
|
MutableHashMap.remove(builds, key);
|
|
49
49
|
return inner.invalidate(key).pipe(Effect.andThen(build?.close ?? Effect.void));
|
|
50
50
|
})
|
|
51
51
|
};
|
|
52
52
|
const bindings = [
|
|
53
|
-
|
|
53
|
+
node46.replace(Layer.succeed(Service43, {
|
|
54
54
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
55
55
|
})),
|
|
56
56
|
...replacements,
|
|
57
|
-
|
|
57
|
+
node53.replace(Layer.succeed(Service50, map))
|
|
58
58
|
];
|
|
59
59
|
return map;
|
|
60
60
|
}));
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./permission-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./permission-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./permission-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,33 +1,33 @@
|
|
|
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
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./permission-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Command: () =>
|
|
16
|
-
Event: () =>
|
|
13
|
+
var exports_command5 = {};
|
|
14
|
+
__export(exports_command5, {
|
|
15
|
+
Command: () => exports_command5,
|
|
16
|
+
Event: () => Event10,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info19,
|
|
19
|
+
NotFoundError: () => NotFoundError6,
|
|
20
|
+
Service: () => Service57,
|
|
21
|
+
layer: () => layer22,
|
|
22
|
+
node: () => node62
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event10 } from "@opencode/schema/command";
|
|
28
|
+
var Info19 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service57 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer22 = Layer.effect(Service57, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service78;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer16 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info19.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service57.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,14 +66,14 @@ var layer16 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
74
|
+
var node62 = makeLocationNode({
|
|
75
|
+
service: Service57,
|
|
76
|
+
layer: layer22,
|
|
77
77
|
deps: [node83]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info19, NotFoundError6, ExecutionError2, Service57, layer22, node62, exports_command5, Event10 };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./permission-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service47
|
|
4
|
+
} from "./permission-46h5h1ad.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service52
|
|
7
|
+
} from "./permission-2kagef7w.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./permission-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./permission-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin15
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin15 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service47;
|
|
27
|
+
const snapshot = yield* Service52;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin10 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin15, exports_snapshot };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service45,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node48
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service45 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service45, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service45.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service43, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node48 = makeGlobalNode({ service: Service45, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service45, node48, exports_environment };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./permission-apn687kz.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID8,
|
|
8
8
|
VariantID2,
|
|
9
|
-
|
|
9
|
+
Info23,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./permission-kbhrqfch.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./permission-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/modal/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
ModalModels: () =>
|
|
20
|
-
get: () =>
|
|
17
|
+
var exports_models = {};
|
|
18
|
+
__export(exports_models, {
|
|
19
|
+
ModalModels: () => exports_models,
|
|
20
|
+
get: () => get2
|
|
21
21
|
});
|
|
22
22
|
import { Money } from "@opencode/schema/money";
|
|
23
23
|
import { Option, Schema } from "effect";
|
|
24
|
-
var providerID =
|
|
24
|
+
var providerID = ID9.make("modal");
|
|
25
25
|
var ReasoningOption = Schema.Struct({
|
|
26
26
|
type: Schema.Literal("effort"),
|
|
27
27
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -53,7 +53,7 @@ var RemoteModel = Schema.Struct({
|
|
|
53
53
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
54
54
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
55
55
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
56
|
-
async function
|
|
56
|
+
async function get2(baseURL, apiKey, existing) {
|
|
57
57
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
58
58
|
headers: {
|
|
59
59
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -69,8 +69,8 @@ async function get3(baseURL, apiKey, existing) {
|
|
|
69
69
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
70
70
|
const result = new Map;
|
|
71
71
|
for (const item of remote) {
|
|
72
|
-
const template = templates.get(
|
|
73
|
-
const id =
|
|
72
|
+
const template = templates.get(ID8.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
73
|
+
const id = ID8.make(item.id);
|
|
74
74
|
result.set(id, build(id, item, baseURL, template));
|
|
75
75
|
}
|
|
76
76
|
return result;
|
|
@@ -88,10 +88,10 @@ function limit(value, fallback) {
|
|
|
88
88
|
function build(id, remote, baseURL, previous) {
|
|
89
89
|
const cost = previous?.cost[0];
|
|
90
90
|
const input = previous?.limit.input;
|
|
91
|
-
return
|
|
92
|
-
...
|
|
91
|
+
return Info23.make({
|
|
92
|
+
...Info23.default(providerID, id),
|
|
93
93
|
id,
|
|
94
|
-
modelID:
|
|
94
|
+
modelID: ID8.make(remote.id),
|
|
95
95
|
providerID,
|
|
96
96
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
97
97
|
family: previous?.family,
|
|
@@ -138,4 +138,4 @@ function variants(remote) {
|
|
|
138
138
|
return [...seen.values()];
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
export {
|
|
141
|
+
export { get2, exports_models };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./permission-kg06axw8.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./permission-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service46,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node49
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service46 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service46.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node49 = makeLocationNode({
|
|
143
|
+
service: Service46,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service46, node49, exports_tool_output2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
|
-
Event: () =>
|
|
12
|
+
Event: () => Event20,
|
|
13
13
|
ID: () => ID18,
|
|
14
|
-
Info: () =>
|
|
14
|
+
Info: () => Info33,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
16
16
|
UpdateInput: () => UpdateInput4,
|
|
17
17
|
Vcs: () => Vcs3
|
|
@@ -20,12 +20,12 @@ import { Schema } from "effect";
|
|
|
20
20
|
import { Project } from "@opencode/schema/project";
|
|
21
21
|
var ID18 = Project.ID;
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
|
-
var
|
|
23
|
+
var Info33 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
25
|
-
var
|
|
25
|
+
var Event20 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
27
27
|
type: Project.Vcs,
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export { ID18, Current3,
|
|
31
|
+
export { ID18, Current3, Info33, UpdateInput4, Event20, Vcs3, exports_schema };
|