@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
|
-
} from "./
|
|
3
|
+
} from "./permission-c2ky07yx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service67
|
|
6
|
+
} from "./permission-tasvhq82.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./permission-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
Service32,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./permission-9sh4wc5j.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./permission-bb3z56gq.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./permission-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event4,
|
|
30
30
|
ID: () => ID3,
|
|
31
31
|
Info: () => Info3,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
@@ -34,15 +34,15 @@ __export(exports_plugin2, {
|
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node21
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event4, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
43
|
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service78;
|
|
45
|
-
const kv = yield*
|
|
45
|
+
const kv = yield* Service67;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
225
|
+
var node21 = Node.makeLocationNode({
|
|
226
226
|
service: Service32,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node21, exports_plugin2, Event4, ID3, Info3, Source2, State2 };
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./permission-5hqtspna.js";
|
|
5
5
|
import {
|
|
6
6
|
Service78,
|
|
7
7
|
node83
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./permission-c2ky07yx.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./permission-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./permission-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
provenance2,
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./permission-w1k39n5e.js";
|
|
21
21
|
import {
|
|
22
22
|
load3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./permission-t02gjz1k.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./permission-kg06axw8.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./permission-rfnzy394.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./permission-sdgbfwbf.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./permission-bzq2w820.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./permission-g5dqybf4.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./permission-h6vf3j39.js";
|
|
45
45
|
import {
|
|
46
46
|
calculateCost2,
|
|
47
47
|
record2,
|
|
48
48
|
add2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./permission-tdstcens.js";
|
|
50
50
|
import {
|
|
51
51
|
__export
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./permission-9rqn6x4v.js";
|
|
53
53
|
|
|
54
54
|
// src/session/compaction.ts
|
|
55
55
|
var exports_compaction2 = {};
|
|
56
56
|
__export(exports_compaction2, {
|
|
57
|
-
Service: () =>
|
|
57
|
+
Service: () => Service7,
|
|
58
58
|
SessionCompaction: () => exports_compaction2,
|
|
59
59
|
buildPrompt: () => buildPrompt2,
|
|
60
60
|
estimateTokens: () => estimateTokens2,
|
|
61
61
|
layer: () => layer7,
|
|
62
|
-
node: () =>
|
|
62
|
+
node: () => node10,
|
|
63
63
|
retainUsers: () => retainUsers2,
|
|
64
64
|
serializeToolContent: () => serializeToolContent2,
|
|
65
65
|
truncateToolOutput: () => truncateToolOutput2
|
|
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
|
125
125
|
`).filter((line) => line.startsWith("##"));
|
|
126
126
|
var LEGACY_HEADING = "## Additional Context";
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service7 extends Context.Service()("@opencode/SessionCompaction") {
|
|
129
129
|
}
|
|
130
130
|
var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
|
|
131
131
|
var estimateTokens2 = (input) => {
|
|
@@ -296,7 +296,7 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
296
296
|
};
|
|
297
297
|
var hasSummarySection = (summary) => summary.split(`
|
|
298
298
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
299
|
-
var layer7 = Layer.effect(
|
|
299
|
+
var layer7 = Layer.effect(Service7, Effect.gen(function* () {
|
|
300
300
|
const bus = yield* Service78;
|
|
301
301
|
const llm = yield* LLMClient.Service;
|
|
302
302
|
const db = (yield* Service79).db;
|
|
@@ -350,7 +350,7 @@ var layer7 = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
350
350
|
inputID: input.inputID,
|
|
351
351
|
error: { type: "compaction.interrupted", message: "Compaction was interrupted" }
|
|
352
352
|
}).pipe(Effect.asVoid) : Effect.void;
|
|
353
|
-
const compactionRequest = (input, messages,
|
|
353
|
+
const compactionRequest = (input, messages, webSocket) => {
|
|
354
354
|
const context = input.context;
|
|
355
355
|
const transcript = baseTranscript2({
|
|
356
356
|
agent: context.agent.info,
|
|
@@ -367,8 +367,7 @@ var layer7 = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
367
367
|
system: transcript.system,
|
|
368
368
|
messages: [
|
|
369
369
|
...transcript.messages,
|
|
370
|
-
...input.instructionUpdate ? [Message.system(input.instructionUpdate)] : []
|
|
371
|
-
...prompt
|
|
370
|
+
...input.instructionUpdate ? [Message.system(input.instructionUpdate)] : []
|
|
372
371
|
],
|
|
373
372
|
webSocket
|
|
374
373
|
});
|
|
@@ -383,7 +382,7 @@ var layer7 = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
383
382
|
inputID: input.inputID,
|
|
384
383
|
error: { type: "provider.unsupported-operation", message }
|
|
385
384
|
});
|
|
386
|
-
const prepared = yield* compactionRequest(input, context.messages,
|
|
385
|
+
const prepared = yield* compactionRequest(input, context.messages, "session");
|
|
387
386
|
if (prepared.event.result) {
|
|
388
387
|
yield* started(input, "");
|
|
389
388
|
return yield* supplied(input, prepared.event.result, "");
|
|
@@ -457,21 +456,22 @@ var layer7 = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
457
456
|
}) : Effect.void);
|
|
458
457
|
const previous = history.messages.findLast((message) => message.type === "compaction" && message.status === "completed");
|
|
459
458
|
const legacy = previous?.summary.includes(LEGACY_HEADING) ?? false;
|
|
460
|
-
const prepared = yield* compactionRequest(input, history.messages
|
|
461
|
-
Message.user(buildPrompt2(previous !== undefined, legacy))
|
|
462
|
-
]);
|
|
459
|
+
const prepared = yield* compactionRequest(input, history.messages);
|
|
463
460
|
if (prepared.event.result)
|
|
464
461
|
return yield* supplied(input, prepared.event.result, history.recent);
|
|
462
|
+
const first = LLMRequest.update(prepared.request, {
|
|
463
|
+
messages: [...prepared.request.messages, Message.user(buildPrompt2(previous !== undefined, legacy))]
|
|
464
|
+
});
|
|
465
465
|
const transient = transient2(yield* policy2(context.session.id), {
|
|
466
466
|
agent: context.agent.id,
|
|
467
467
|
model: context.model.ref,
|
|
468
468
|
hook: prepared.retry
|
|
469
469
|
});
|
|
470
470
|
for (const request of [
|
|
471
|
-
|
|
472
|
-
LLMRequest.update(
|
|
471
|
+
first,
|
|
472
|
+
LLMRequest.update(first, {
|
|
473
473
|
messages: [
|
|
474
|
-
...
|
|
474
|
+
...first.messages,
|
|
475
475
|
Message.user("The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.")
|
|
476
476
|
]
|
|
477
477
|
})
|
|
@@ -605,7 +605,7 @@ var layer7 = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
605
605
|
}
|
|
606
606
|
}));
|
|
607
607
|
});
|
|
608
|
-
return
|
|
608
|
+
return Service7.of({
|
|
609
609
|
transform: state.transform,
|
|
610
610
|
reload: state.reload,
|
|
611
611
|
enabled: () => state.get().auto,
|
|
@@ -614,10 +614,10 @@ var layer7 = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
614
614
|
compactManual
|
|
615
615
|
});
|
|
616
616
|
}));
|
|
617
|
-
var
|
|
618
|
-
service:
|
|
617
|
+
var node10 = makeLocationNode({
|
|
618
|
+
service: Service7,
|
|
619
619
|
layer: layer7,
|
|
620
620
|
deps: [node83, node84, llmClient2]
|
|
621
621
|
});
|
|
622
622
|
|
|
623
|
-
export {
|
|
623
|
+
export { Service7, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node10, exports_compaction2 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./permission-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./permission-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
Info24
|
|
5
|
+
} from "./permission-apn687kz.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Info23
|
|
8
|
+
} from "./permission-kbhrqfch.js";
|
|
9
9
|
import {
|
|
10
10
|
Service78,
|
|
11
11
|
node83
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./permission-c2ky07yx.js";
|
|
13
13
|
import {
|
|
14
14
|
create3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./permission-kg06axw8.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
17
|
+
ID6,
|
|
18
|
+
Service63,
|
|
19
|
+
node68
|
|
20
|
+
} from "./permission-0w1z60c4.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./permission-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/catalog.ts
|
|
26
26
|
var exports_catalog2 = {};
|
|
27
27
|
__export(exports_catalog2, {
|
|
28
28
|
Catalog: () => exports_catalog2,
|
|
29
|
-
Event: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
node: () =>
|
|
29
|
+
Event: () => Event12,
|
|
30
|
+
Service: () => Service61,
|
|
31
|
+
node: () => node66
|
|
32
32
|
});
|
|
33
33
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
34
34
|
import { Array, Context, Effect, Layer, Order, pipe } from "effect";
|
|
35
35
|
import { Catalog } from "@opencode/schema/catalog";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event12 } from "@opencode/schema/catalog";
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service61 extends Context.Service()("@opencode/Catalog") {
|
|
39
39
|
}
|
|
40
|
-
var layer = Layer.effect(
|
|
40
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
41
41
|
const bus = yield* Service78;
|
|
42
|
-
const integrations = yield*
|
|
42
|
+
const integrations = yield* Service63;
|
|
43
43
|
const available = (provider, integration) => {
|
|
44
44
|
if (provider.activation === "disabled")
|
|
45
45
|
return false;
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
73
73
|
let current = editor.providers.get(providerID);
|
|
74
74
|
if (!current) {
|
|
75
75
|
current = {
|
|
76
|
-
provider:
|
|
76
|
+
provider: Info24.empty(providerID),
|
|
77
77
|
models: new Map
|
|
78
78
|
};
|
|
79
79
|
editor.providers.set(providerID, current);
|
|
@@ -91,12 +91,12 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
91
91
|
let record = editor.providers.get(providerID);
|
|
92
92
|
if (!record) {
|
|
93
93
|
record = {
|
|
94
|
-
provider:
|
|
94
|
+
provider: Info24.empty(providerID),
|
|
95
95
|
models: new Map
|
|
96
96
|
};
|
|
97
97
|
editor.providers.set(providerID, record);
|
|
98
98
|
}
|
|
99
|
-
const model = record.models.get(modelID) ??
|
|
99
|
+
const model = record.models.get(modelID) ?? Info23.default(providerID, modelID);
|
|
100
100
|
if (!record.models.has(modelID))
|
|
101
101
|
record.models.set(modelID, model);
|
|
102
102
|
fn(model);
|
|
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
130
130
|
}),
|
|
131
131
|
available: Effect.fn("Catalog.provider.available")(function* () {
|
|
132
132
|
const active = new Map((yield* integrations.list()).map((integration) => [integration.id, integration]));
|
|
133
|
-
return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ??
|
|
133
|
+
return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID6.make(provider.id))));
|
|
134
134
|
})
|
|
135
135
|
},
|
|
136
136
|
model: {
|
|
@@ -185,9 +185,9 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
185
185
|
})
|
|
186
186
|
}
|
|
187
187
|
};
|
|
188
|
-
return
|
|
188
|
+
return Service61.of(result);
|
|
189
189
|
}));
|
|
190
190
|
var SMALL_MODEL_FAMILY_PRIORITY = ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"];
|
|
191
|
-
var
|
|
191
|
+
var node66 = makeLocationNode({ service: Service61, layer, deps: [node83, node68] });
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { Service61, node66, exports_catalog2, Event12 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/provider.ts
|
|
6
6
|
var exports_provider3 = {};
|
|
7
7
|
__export(exports_provider3, {
|
|
8
8
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
9
|
-
ID: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ID: () => ID9,
|
|
10
|
+
Info: () => Info24,
|
|
11
11
|
LoadError: () => LoadError3,
|
|
12
12
|
Provider: () => exports_provider3,
|
|
13
13
|
Request: () => Request2,
|
|
@@ -23,7 +23,7 @@ import { Effect, Schema } from "effect";
|
|
|
23
23
|
import { Provider } from "@opencode/schema/provider";
|
|
24
24
|
import { isRecord } from "@opencode/ai/utils/record";
|
|
25
25
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
26
|
-
var
|
|
26
|
+
var ID9 = Provider.ID;
|
|
27
27
|
var AISDK_PREFIX2 = "aisdk:";
|
|
28
28
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
29
29
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -139,7 +139,7 @@ function mergeHeaders2(base, overlay) {
|
|
|
139
139
|
}
|
|
140
140
|
var Request2 = Provider.Request;
|
|
141
141
|
var Settings2 = Provider.Settings;
|
|
142
|
-
var
|
|
142
|
+
var Info24 = Provider.Info;
|
|
143
143
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
144
144
|
const module = yield* Effect.tryPromise({
|
|
145
145
|
try: () => {
|
|
@@ -161,4 +161,4 @@ var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, en
|
|
|
161
161
|
return module;
|
|
162
162
|
});
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { ID9, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, mergeOverlay2, mergeHeaders2, Request2, Settings2, Info24, exports_provider3 };
|
|
@@ -1,33 +1,33 @@
|
|
|
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
|
-
} from "./
|
|
9
|
+
Event14
|
|
10
|
+
} from "./permission-bsd2krkr.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID6,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./permission-0w1z60c4.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID9
|
|
17
|
+
} from "./permission-apn687kz.js";
|
|
18
18
|
import {
|
|
19
19
|
Family2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./permission-kbhrqfch.js";
|
|
21
21
|
import {
|
|
22
22
|
bootstrap2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./permission-pjvnvgmy.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/digitalocean.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
28
28
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
29
|
-
var providerID =
|
|
30
|
-
var integrationID =
|
|
29
|
+
var providerID = ID9.make("digitalocean");
|
|
30
|
+
var integrationID = ID6.make("digitalocean");
|
|
31
31
|
var methodID = MethodID2.make("browser");
|
|
32
32
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
33
33
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -158,7 +158,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
158
158
|
}
|
|
159
159
|
});
|
|
160
160
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
161
|
-
yield* bus.subscribe(
|
|
161
|
+
yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
162
162
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
163
163
|
})
|
|
164
164
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/formatter.ts
|
|
6
6
|
var exports_formatter3 = {};
|
|
7
7
|
__export(exports_formatter3, {
|
|
8
8
|
ConfigFormatterV1: () => exports_formatter3,
|
|
9
9
|
Entry: () => Entry4,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info14
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
13
|
var Entry4 = Schema.Struct({
|
|
@@ -16,6 +16,6 @@ var Entry4 = Schema.Struct({
|
|
|
16
16
|
environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
17
17
|
extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Info14 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]);
|
|
20
20
|
|
|
21
|
-
export { Entry4,
|
|
21
|
+
export { Entry4, Info14, exports_formatter3 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service75
|
|
3
|
+
} from "./permission-dy0c576n.js";
|
|
4
4
|
import {
|
|
5
5
|
PATCH_CONTEXT_LINES2,
|
|
6
6
|
MAX_PATCH_BYTES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./permission-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
12
|
DiffError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./permission-tq578zw6.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./permission-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/vcs/git.ts
|
|
19
19
|
var exports_git = {};
|
|
20
20
|
__export(exports_git, {
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin26,
|
|
22
22
|
VcsGitPlugin: () => exports_git
|
|
23
23
|
});
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
25
|
import { Effect } from "effect";
|
|
26
26
|
import { ChildProcess } from "effect/unstable/process";
|
|
27
27
|
import { AppProcess } from "@opencode/util/process";
|
|
28
|
-
var
|
|
28
|
+
var Plugin26 = define({
|
|
29
29
|
id: "opencode.vcs.git",
|
|
30
30
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
31
|
-
const location = yield*
|
|
31
|
+
const location = yield* Service75;
|
|
32
32
|
if (location.vcs?.type !== "git")
|
|
33
33
|
return;
|
|
34
34
|
const processes = yield* AppProcess.Service;
|
|
@@ -467,4 +467,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
467
467
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
468
468
|
});
|
|
469
469
|
|
|
470
|
-
export {
|
|
470
|
+
export { Plugin26, exports_git };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-5hqtspna.js";
|
|
4
4
|
import {
|
|
5
5
|
Service78
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-c2ky07yx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service43
|
|
9
|
+
} from "./permission-ve6nm2s5.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./permission-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID4,
|
|
15
|
+
Service52
|
|
16
|
+
} from "./permission-2kagef7w.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./permission-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./permission-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./permission-wqkncbjv.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./permission-a1bz86dw.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./permission-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service43;
|
|
46
46
|
const database = yield* Service79;
|
|
47
47
|
const bus = yield* Service78;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service52;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID4.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service43;
|
|
78
78
|
const bus = yield* Service78;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service52;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID4.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID4.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./permission-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./permission-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|