@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,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service78,
|
|
3
3
|
node83
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./permission-c2ky07yx.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./permission-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service75,
|
|
12
|
+
node80
|
|
13
|
+
} from "./permission-dy0c576n.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./permission-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service18,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node22
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service18 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service78;
|
|
44
|
-
const location = yield*
|
|
44
|
+
const location = yield* Service75;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service75, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service18.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node22 = makeLocationNode({ service: Service18, layer, deps: [node83, node80] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service18, node22, exports_rpc, define2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service76,
|
|
3
|
+
node81
|
|
4
|
+
} from "./permission-mg0znfg2.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./permission-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info31,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref4,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service75,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node80,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info31, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service75 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref, options) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node80 = LayerNode.unbound(Service75, tags.values.location);
|
|
27
|
+
var layer = (ref, options) => Layer.effect(Service75, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service76;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory, options);
|
|
30
|
-
return
|
|
30
|
+
return Service75.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service73, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref, options) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service75,
|
|
39
39
|
layer: layer(ref, options),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node81]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info31, Ref4, response2, Service75, node80, boundNode2, exports_location };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./permission-apn687kz.js";
|
|
6
6
|
|
|
7
7
|
// src/plugin/provider/google-vertex.ts
|
|
8
8
|
import { Effect } from "effect";
|
|
@@ -39,7 +39,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
39
39
|
for (const item of evt.provider.list()) {
|
|
40
40
|
if (!isAISDK2(item.provider.package))
|
|
41
41
|
continue;
|
|
42
|
-
if (packageName2(item.provider.package) !== "@ai-sdk/google-vertex" && !(item.provider.id ===
|
|
42
|
+
if (packageName2(item.provider.package) !== "@ai-sdk/google-vertex" && !(item.provider.id === ID9.googleVertex && packageName2(item.provider.package)?.includes("@ai-sdk/openai-compatible")))
|
|
43
43
|
continue;
|
|
44
44
|
const project = resolveProject(item.provider.settings ?? {});
|
|
45
45
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -56,7 +56,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
56
56
|
}
|
|
57
57
|
});
|
|
58
58
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
59
|
-
if (evt.model.providerID ===
|
|
59
|
+
if (evt.model.providerID === ID9.googleVertex && evt.package.includes("@ai-sdk/openai-compatible")) {
|
|
60
60
|
evt.options.fetch = authFetch(evt.options.fetch);
|
|
61
61
|
return;
|
|
62
62
|
}
|
|
@@ -87,7 +87,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
87
87
|
});
|
|
88
88
|
}));
|
|
89
89
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
90
|
-
if (evt.model.providerID !==
|
|
90
|
+
if (evt.model.providerID !== ID9.googleVertex)
|
|
91
91
|
return;
|
|
92
92
|
evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
|
|
93
93
|
}));
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make13,
|
|
10
10
|
render: () => render2
|
|
11
11
|
});
|
|
12
12
|
|
|
@@ -29,7 +29,7 @@ var system_default = `You are an AI agent powered by OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
32
|
+
function make13(tools) {
|
|
33
33
|
return render2(system_default, tools);
|
|
34
34
|
}
|
|
35
35
|
function render2(prompt, tools) {
|
|
@@ -47,4 +47,4 @@ function render2(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make13, render2, exports_system_prompt };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service47
|
|
4
|
+
} from "./permission-46h5h1ad.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./permission-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./permission-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
13
|
var exports_websearch = {};
|
|
14
14
|
__export(exports_websearch, {
|
|
15
15
|
ConfigWebSearchPlugin: () => exports_websearch,
|
|
16
|
-
Plugin: () =>
|
|
16
|
+
Plugin: () => Plugin11
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin11 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service47;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin5 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin11, exports_websearch };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service75,
|
|
3
|
+
node80
|
|
4
|
+
} from "./permission-dy0c576n.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/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service13,
|
|
17
|
+
node: () => node16
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/unstable/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service13 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service75;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service13.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node16 = makeLocationNode({
|
|
91
|
+
service: Service13,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node80, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service13, node16, exports_formatter2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service43
|
|
3
|
+
} from "./permission-ve6nm2s5.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-9sh4wc5j.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service44
|
|
9
|
+
} from "./permission-ym6s8ka9.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./permission-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./permission-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service43;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service44), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
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/v1/config/attachment.ts
|
|
9
9
|
var exports_attachment = {};
|
|
10
10
|
__export(exports_attachment, {
|
|
11
11
|
ConfigAttachmentV1: () => exports_attachment,
|
|
12
12
|
Image: () => Image2,
|
|
13
|
-
Info: () =>
|
|
13
|
+
Info: () => Info13
|
|
14
14
|
});
|
|
15
15
|
import { Schema } from "effect";
|
|
16
16
|
var Image2 = Schema.Struct({
|
|
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
|
|
|
27
27
|
description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
|
|
28
28
|
})
|
|
29
29
|
}).annotate({ identifier: "ImageAttachmentConfig" });
|
|
30
|
-
var
|
|
30
|
+
var Info13 = Schema.Struct({
|
|
31
31
|
image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
|
|
32
32
|
}).annotate({ identifier: "AttachmentConfig" });
|
|
33
33
|
|
|
34
|
-
export { Image2,
|
|
34
|
+
export { Image2, Info13, exports_attachment };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service78,
|
|
6
6
|
node83
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./permission-c2ky07yx.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event14,
|
|
10
|
+
Service64,
|
|
11
|
+
node69
|
|
12
|
+
} from "./permission-bsd2krkr.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service75,
|
|
15
|
+
node80
|
|
16
|
+
} from "./permission-dy0c576n.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service55,
|
|
19
|
+
node58
|
|
20
|
+
} from "./permission-dnhfw08a.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID10,
|
|
23
|
+
Service65,
|
|
24
|
+
node70
|
|
25
|
+
} from "./permission-0vver8sv.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./permission-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID6,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service63,
|
|
34
|
+
node68
|
|
35
|
+
} from "./permission-0w1z60c4.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./permission-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError4,
|
|
45
|
+
Options: () => Options5,
|
|
46
46
|
Prompt: () => Prompt2,
|
|
47
47
|
PromptArgument: () => PromptArgument2,
|
|
48
48
|
PromptMessage: () => PromptMessage2,
|
|
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
|
|
|
56
56
|
ServerInfo: () => ServerInfo2,
|
|
57
57
|
ServerInstructions: () => ServerInstructions2,
|
|
58
58
|
ServerName: () => ServerName2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service34,
|
|
60
60
|
Status: () => Status2,
|
|
61
|
-
Tool: () =>
|
|
61
|
+
Tool: () => Tool3,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
63
|
ToolResult: () => ToolResult2,
|
|
64
64
|
ToolResultContent: () => ToolResultContent2,
|
|
65
|
-
configured: () =>
|
|
65
|
+
configured: () => configured5,
|
|
66
66
|
layer: () => layer15,
|
|
67
|
-
node: () =>
|
|
67
|
+
node: () => node38
|
|
68
68
|
});
|
|
69
69
|
import { Mcp } from "@opencode/schema/mcp";
|
|
70
70
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
|
|
|
81
81
|
class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
|
|
82
82
|
name: ServerName2,
|
|
83
83
|
status: Status2,
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID6.pipe(Schema.optional)
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -91,7 +91,7 @@ class ServerInstructions2 extends Schema.Class("MCP.ServerInstructions")({
|
|
|
91
91
|
}) {
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
class
|
|
94
|
+
class Tool3 extends Schema.Class("MCP.Tool")({
|
|
95
95
|
server: ServerName2,
|
|
96
96
|
name: Schema.String,
|
|
97
97
|
codemode: Schema.Boolean.pipe(Schema.optional),
|
|
@@ -147,7 +147,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
147
147
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
148
148
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
149
149
|
|
|
150
|
-
class
|
|
150
|
+
class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
151
151
|
server: ServerName2
|
|
152
152
|
}) {
|
|
153
153
|
get message() {
|
|
@@ -165,21 +165,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
165
165
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
166
166
|
var cloneConfig = (config) => structuredClone(config);
|
|
167
167
|
|
|
168
|
-
class
|
|
168
|
+
class Service34 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var Options5 = Schema.Struct({
|
|
171
171
|
clientInfo: Schema.optional(Schema.Struct({
|
|
172
172
|
name: Schema.String,
|
|
173
173
|
version: Schema.String
|
|
174
174
|
}))
|
|
175
175
|
});
|
|
176
|
-
var layer15 = (options) => Layer.effect(
|
|
177
|
-
const location = yield*
|
|
178
|
-
const environment = yield*
|
|
176
|
+
var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
177
|
+
const location = yield* Service75;
|
|
178
|
+
const environment = yield* Service55;
|
|
179
179
|
const bus = yield* Service78;
|
|
180
|
-
const forms = yield*
|
|
181
|
-
const integration = yield*
|
|
182
|
-
const credentials = yield*
|
|
180
|
+
const forms = yield* Service65;
|
|
181
|
+
const integration = yield* Service63;
|
|
182
|
+
const credentials = yield* Service64;
|
|
183
183
|
const root = yield* Effect.scope;
|
|
184
184
|
const fork = yield* FiberSet.makeRuntime();
|
|
185
185
|
const entries = new Map;
|
|
@@ -191,7 +191,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
191
191
|
return;
|
|
192
192
|
const remote = entry.config;
|
|
193
193
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
194
|
-
const integrationID =
|
|
194
|
+
const integrationID = ID6.make(suffix);
|
|
195
195
|
entry.integrationID = integrationID;
|
|
196
196
|
owned.add(integrationID);
|
|
197
197
|
const methodID = MethodID2.make(suffix);
|
|
@@ -216,7 +216,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
216
216
|
const name = ServerName2.make(server);
|
|
217
217
|
const entry = entries.get(name);
|
|
218
218
|
if (!entry)
|
|
219
|
-
return yield* new
|
|
219
|
+
return yield* new NotFoundError4({ server: name });
|
|
220
220
|
return { name, entry };
|
|
221
221
|
});
|
|
222
222
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
@@ -315,7 +315,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
315
315
|
const elicitation = {
|
|
316
316
|
create: (input) => Effect.gen(function* () {
|
|
317
317
|
if (input.params.mode === "url") {
|
|
318
|
-
const formID =
|
|
318
|
+
const formID = ID10.create();
|
|
319
319
|
const key = input.server + "\x00" + input.params.elicitationId;
|
|
320
320
|
urlElicitations.set(key, formID);
|
|
321
321
|
return yield* forms.ask({
|
|
@@ -358,7 +358,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
358
358
|
yield* forms.reply({ id: formID, answer: { [URL_ELICITATION_FIELD_KEY]: true } }).pipe(Effect.ignore);
|
|
359
359
|
})
|
|
360
360
|
};
|
|
361
|
-
const toTool = (server, entry, def) => new
|
|
361
|
+
const toTool = (server, entry, def) => new Tool3({
|
|
362
362
|
server,
|
|
363
363
|
name: def.name,
|
|
364
364
|
codemode: entry.config.codemode,
|
|
@@ -433,7 +433,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
433
433
|
entry.scope = scope;
|
|
434
434
|
const authProvider = yield* connectProvider(entry);
|
|
435
435
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
436
|
-
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
436
|
+
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service55, environment), Scope.provide(scope), Effect.exit);
|
|
437
437
|
if (Exit.isSuccess(result)) {
|
|
438
438
|
entry.client = result.value.connection;
|
|
439
439
|
entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
|
|
@@ -557,7 +557,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
557
557
|
yield* startServer(name, entry);
|
|
558
558
|
}).pipe(locks.withLock(name));
|
|
559
559
|
});
|
|
560
|
-
fork(bus.subscribe(
|
|
560
|
+
fork(bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
561
561
|
const state = create3({
|
|
562
562
|
name: "mcp",
|
|
563
563
|
initial: () => ({
|
|
@@ -587,7 +587,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
587
587
|
concurrency: "unbounded",
|
|
588
588
|
discard: true
|
|
589
589
|
}));
|
|
590
|
-
return
|
|
590
|
+
return Service34.of({
|
|
591
591
|
transform: state.transform,
|
|
592
592
|
reload: state.reload,
|
|
593
593
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -707,14 +707,14 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
707
707
|
})
|
|
708
708
|
});
|
|
709
709
|
}));
|
|
710
|
-
function
|
|
710
|
+
function configured5(options) {
|
|
711
711
|
return makeLocationNode({
|
|
712
|
-
service:
|
|
712
|
+
service: Service34,
|
|
713
713
|
layer: layer15(options),
|
|
714
|
-
deps: [
|
|
714
|
+
deps: [node80, node58, node83, node70, node68, node69]
|
|
715
715
|
});
|
|
716
716
|
}
|
|
717
|
-
var
|
|
717
|
+
var node38 = configured5();
|
|
718
718
|
function toElicitationField(key, property, required) {
|
|
719
719
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
720
720
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -765,4 +765,4 @@ function toElicitationField(key, property, required) {
|
|
|
765
765
|
}
|
|
766
766
|
}
|
|
767
767
|
|
|
768
|
-
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2,
|
|
768
|
+
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service34, Options5, layer15, configured5, node38, exports_mcp4 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make15
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make15 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make16 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make15, exports_run_coordinator };
|