@opencode/core 0.0.0-dev-19599 → 0.0.0-dev-19600
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 +82 -82
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{tool-ttyd6mwr.js → schema-02t5w4gh.js} +6 -6
- package/dist/chunks/{tool-2vs2nh1n.js → schema-06x8he3q.js} +4 -4
- package/dist/chunks/{tool-7355chmd.js → schema-09q628k0.js} +3 -3
- package/dist/chunks/{tool-da1ppnzr.js → schema-0b2drx1x.js} +32 -32
- package/dist/chunks/{tool-c8r4c7x7.js → schema-0d1s996h.js} +24 -24
- package/dist/chunks/{tool-fsqnn3fv.js → schema-0f1jrs4t.js} +26 -26
- package/dist/chunks/{tool-m46abj74.js → schema-0f6gex3r.js} +5 -5
- package/dist/chunks/{tool-4vkh6st7.js → schema-0n6yb30j.js} +14 -14
- package/dist/chunks/{tool-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
- package/dist/chunks/{tool-21f2rsjd.js → schema-0pbq8x9a.js} +11 -11
- package/dist/chunks/{tool-0q0f95c6.js → schema-0q0f95c6.js} +1 -1
- package/dist/chunks/{tool-cdx2nmd2.js → schema-0smkg98y.js} +49 -49
- package/dist/chunks/{tool-t06sf88e.js → schema-0w48b795.js} +10 -10
- package/dist/chunks/{tool-vqdbe12f.js → schema-0xwfnwv8.js} +37 -37
- package/dist/chunks/{tool-a6d3kgp8.js → schema-0y9a0wd2.js} +17 -17
- package/dist/chunks/{tool-f38hchcj.js → schema-0ypfbjae.js} +9 -9
- package/dist/chunks/{tool-fgb2mcbr.js → schema-0zx3erd1.js} +22 -22
- package/dist/chunks/{tool-pd0fnjnr.js → schema-1awhc7qw.js} +18 -18
- package/dist/chunks/{tool-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
- package/dist/chunks/{tool-ggz7fzf6.js → schema-1e1gg1pw.js} +6 -6
- package/dist/chunks/{tool-r6fz4byc.js → schema-1hpz7mxd.js} +1 -1
- package/dist/chunks/{tool-mrk4e56b.js → schema-1jj6qp1e.js} +16 -16
- package/dist/chunks/{tool-bmnapqat.js → schema-1pwsej9z.js} +8 -8
- package/dist/chunks/{tool-ce8sn01r.js → schema-1vf2vjhr.js} +43 -43
- package/dist/chunks/{tool-7933w99v.js → schema-1w8mjab2.js} +81 -81
- package/dist/chunks/{tool-6vq97qmv.js → schema-1x75wf9g.js} +5 -5
- package/dist/chunks/{tool-5hsgp0bq.js → schema-1xacm4tx.js} +15 -15
- package/dist/chunks/{tool-21r38tys.js → schema-21r38tys.js} +1 -1
- package/dist/chunks/{tool-2402vzrj.js → schema-2402vzrj.js} +1 -1
- package/dist/chunks/{tool-88sz8qcd.js → schema-26k5bknw.js} +4 -4
- package/dist/chunks/{tool-rkdpvaam.js → schema-2865vqft.js} +15 -15
- package/dist/chunks/{tool-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
- package/dist/chunks/{tool-66qmevrd.js → schema-2ab2hy21.js} +8 -8
- package/dist/chunks/{tool-pngq9dd9.js → schema-2e8sz0s6.js} +20 -20
- package/dist/chunks/{tool-s4k2xazs.js → schema-2f0200dh.js} +16 -16
- package/dist/chunks/{tool-p42hj8p8.js → schema-2hyh68ab.js} +4 -4
- package/dist/chunks/{tool-21dj5k26.js → schema-2qyc1xj5.js} +7 -7
- package/dist/chunks/{tool-cejrj8y8.js → schema-2t84qgzz.js} +31 -31
- package/dist/chunks/{tool-vdyyrf70.js → schema-2wj8n25z.js} +6 -6
- package/dist/chunks/{tool-k56b83dc.js → schema-2xrnssb3.js} +15 -15
- package/dist/chunks/{tool-x7ajdgre.js → schema-34pkzm2p.js} +9 -9
- package/dist/chunks/{tool-mf4jvz0z.js → schema-379qd7x1.js} +8 -8
- package/dist/chunks/{tool-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
- package/dist/chunks/{tool-95vfjh4q.js → schema-3fnc9aea.js} +9 -9
- package/dist/chunks/{tool-fyfytr13.js → schema-3h2g17n5.js} +6 -6
- package/dist/chunks/{tool-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-acxcbb38.js → schema-3r0rrtry.js} +16 -16
- package/dist/chunks/{tool-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
- package/dist/chunks/{tool-s9pnwdwt.js → schema-3te1hz24.js} +1 -1
- package/dist/chunks/{tool-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
- package/dist/chunks/{tool-nbzw66ce.js → schema-3vkh5m7y.js} +26 -26
- package/dist/chunks/{tool-8dp74fdk.js → schema-3xmwv3w1.js} +16 -16
- package/dist/chunks/{tool-zr6g55aw.js → schema-41kev6en.js} +5 -5
- package/dist/chunks/{tool-92s0cqnp.js → schema-43fbk8gs.js} +7 -7
- package/dist/chunks/{tool-nhy5jxhy.js → schema-47gsdddb.js} +5 -5
- package/dist/chunks/{tool-v64wsefy.js → schema-48spbe97.js} +15 -15
- package/dist/chunks/{tool-acpnwff5.js → schema-4dsw036z.js} +3 -3
- package/dist/chunks/{tool-3y6z2ty2.js → schema-4qprwqgn.js} +15 -15
- package/dist/chunks/{tool-vgf270yp.js → schema-4tmnzem5.js} +1 -1
- package/dist/chunks/{tool-6sr3ve8g.js → schema-50mzsvk4.js} +21 -21
- package/dist/chunks/{tool-7m0wx7n2.js → schema-5142gq6g.js} +5 -5
- package/dist/chunks/{tool-57ez7d0k.js → schema-57ez7d0k.js} +2 -2
- package/dist/chunks/{tool-z4t82ehr.js → schema-5a60vkb8.js} +6 -6
- package/dist/chunks/{tool-nvxqht09.js → schema-5cmxdwv8.js} +3 -3
- package/dist/chunks/{tool-5daktx2q.js → schema-5daktx2q.js} +1 -1
- package/dist/chunks/{tool-e3qxr5gk.js → schema-5qd3pb7m.js} +2 -2
- package/dist/chunks/{tool-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
- package/dist/chunks/{tool-r2gzwywa.js → schema-5ve5k6ff.js} +30 -30
- package/dist/chunks/{tool-d55qd04d.js → schema-5yb6dsy5.js} +21 -21
- package/dist/chunks/{tool-smthb8q2.js → schema-62h3nghm.js} +24 -24
- package/dist/chunks/{tool-383meeh8.js → schema-633cm28q.js} +47 -47
- package/dist/chunks/{tool-669tq793.js → schema-669tq793.js} +1 -1
- package/dist/chunks/{tool-nef32yex.js → schema-6azphhhm.js} +2 -2
- package/dist/chunks/{tool-4gp9przv.js → schema-6d2r6qkc.js} +8 -8
- package/dist/chunks/{tool-dy775f0c.js → schema-6jzygt4j.js} +17 -17
- package/dist/chunks/{tool-6msgmcgs.js → schema-6msgmcgs.js} +1 -1
- package/dist/chunks/{tool-akvwqyjh.js → schema-6yb3tdfr.js} +18 -18
- package/dist/chunks/{tool-71q4at8m.js → schema-71q4at8m.js} +1 -1
- package/dist/chunks/{tool-wzvtb6ev.js → schema-78jxphdk.js} +20 -20
- package/dist/chunks/{tool-9d4sgpz8.js → schema-798n350n.js} +9 -9
- package/dist/chunks/{tool-f1ts345w.js → schema-7b3vjk9x.js} +11 -11
- package/dist/chunks/{tool-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-gjh1s6ya.js → schema-7cdanhdd.js} +14 -14
- package/dist/chunks/{tool-b7n5ecmq.js → schema-7k41kz7d.js} +35 -35
- package/dist/chunks/{tool-5y9tx54q.js → schema-7m9x3c92.js} +12 -12
- package/dist/chunks/{tool-e8rb0fk9.js → schema-7mpda9be.js} +11 -11
- package/dist/chunks/{tool-jez6grfh.js → schema-7r0b8j13.js} +10 -10
- package/dist/chunks/{tool-63dea9jd.js → schema-7sbttmca.js} +1 -1
- package/dist/chunks/{tool-hswenssz.js → schema-7wxybjhq.js} +17 -17
- package/dist/chunks/{tool-2x9c36ps.js → schema-814espwq.js} +34 -34
- package/dist/chunks/{tool-ve6nm2s5.js → schema-81rrwt6s.js} +6 -6
- package/dist/chunks/{tool-b5vpxnpr.js → schema-83gwz6tt.js} +21 -21
- package/dist/chunks/{tool-c31h4aj0.js → schema-84rdt8rr.js} +45 -45
- package/dist/chunks/{tool-sy7efrgz.js → schema-85j4zkzf.js} +29 -29
- package/dist/chunks/{tool-chp1ctqz.js → schema-88wz218q.js} +11 -11
- package/dist/chunks/{tool-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
- package/dist/chunks/{tool-6qkc0t3x.js → schema-8mwk31bk.js} +8 -8
- package/dist/chunks/{tool-vmyza7nt.js → schema-8nkhzrtw.js} +56 -56
- package/dist/chunks/{tool-8p4f9s12.js → schema-8p4f9s12.js} +2 -2
- package/dist/chunks/{tool-99yh2pdr.js → schema-8yjj8ppj.js} +10 -10
- package/dist/chunks/{tool-7vnx6y3p.js → schema-9151qrdt.js} +17 -17
- package/dist/chunks/{tool-zdvgxm63.js → schema-94ztp1pn.js} +17 -17
- package/dist/chunks/{tool-gjtgcmhe.js → schema-98pd2de6.js} +6 -6
- package/dist/chunks/{tool-bv9pnvgp.js → schema-98td9sca.js} +4 -4
- package/dist/chunks/{tool-8y01k5fy.js → schema-9adbhrd2.js} +4 -4
- package/dist/chunks/{tool-5w7fqkzx.js → schema-9jnwyv99.js} +10 -10
- package/dist/chunks/schema-9zdhvgqs.js +18 -0
- package/dist/chunks/{tool-a1bz86dw.js → schema-a1bz86dw.js} +3 -3
- package/dist/chunks/{tool-efxhpxf5.js → schema-a3aw0xhm.js} +24 -24
- package/dist/chunks/{tool-aaet6srn.js → schema-aaet6srn.js} +2 -2
- package/dist/chunks/{tool-tg3z6q21.js → schema-aewa2dz5.js} +11 -11
- package/dist/chunks/{tool-jzzy94zk.js → schema-af4kcksd.js} +9 -9
- package/dist/chunks/{tool-4e0pbrm7.js → schema-b03qqrxx.js} +8 -8
- package/dist/chunks/{tool-metb0c44.js → schema-b1e4svfj.js} +11 -11
- package/dist/chunks/{tool-axtvtek4.js → schema-b27vhd2z.js} +7 -7
- package/dist/chunks/{tool-fdftwakz.js → schema-b34gcna0.js} +10 -10
- package/dist/chunks/{tool-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
- package/dist/chunks/{tool-scq4khx8.js → schema-b97cbvw3.js} +1 -1
- package/dist/chunks/schema-b9fvk0jf.js +26 -0
- package/dist/chunks/{tool-v0hcs57f.js → schema-bfrse3g1.js} +4 -4
- package/dist/chunks/{tool-bajakh74.js → schema-bha4atvq.js} +4 -4
- package/dist/chunks/{tool-5k338v2a.js → schema-bsapkm75.js} +20 -20
- package/dist/chunks/{tool-2gkxg42g.js → schema-bsj4xcax.js} +1 -1
- package/dist/chunks/{tool-gan2aag1.js → schema-bw16peeb.js} +2 -2
- package/dist/chunks/{tool-f3yjyja6.js → schema-bw6s79d1.js} +13 -13
- package/dist/chunks/{tool-2mq1h16s.js → schema-c4vcfcbt.js} +9 -9
- package/dist/chunks/{tool-djh8651g.js → schema-cah9zs3a.js} +33 -33
- package/dist/chunks/{tool-cfpkc3c9.js → schema-cfpkc3c9.js} +2 -2
- package/dist/chunks/{tool-h6r3nrb9.js → schema-cpj0znwe.js} +4 -4
- package/dist/chunks/{tool-vas055je.js → schema-csfvctar.js} +6 -6
- package/dist/chunks/{tool-9q34vwzw.js → schema-d1f6kvyp.js} +22 -22
- package/dist/chunks/{tool-ead3g9p8.js → schema-d2aac7k2.js} +5 -5
- package/dist/chunks/{tool-jscm6k4t.js → schema-d5hzk96g.js} +13 -13
- package/dist/chunks/{tool-r1dtnce0.js → schema-dbth1pe4.js} +20 -20
- package/dist/chunks/{tool-dpkg50ah.js → schema-dpkg50ah.js} +1 -1
- package/dist/chunks/{tool-e0b694rp.js → schema-drh46rkg.js} +16 -16
- package/dist/chunks/{tool-ptg6kxy0.js → schema-dtektt3s.js} +16 -16
- package/dist/chunks/{tool-qkttm6v0.js → schema-dxk1mka7.js} +11 -11
- package/dist/chunks/{tool-e5nv3ght.js → schema-e5nv3ght.js} +2 -2
- package/dist/chunks/{tool-t550f9t1.js → schema-eaj1djv9.js} +8 -8
- package/dist/chunks/{tool-y10wk092.js → schema-edme2h3e.js} +4 -4
- package/dist/chunks/{tool-2wvxgkaf.js → schema-ees6gnzr.js} +30 -30
- package/dist/chunks/{tool-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
- package/dist/chunks/{tool-7eyb1ky7.js → schema-enw4dg89.js} +20 -20
- package/dist/chunks/{tool-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
- package/dist/chunks/{tool-tvmnx93k.js → schema-evj9nbqj.js} +61 -61
- package/dist/chunks/{tool-tqsepttq.js → schema-eyewd753.js} +11 -11
- package/dist/chunks/{tool-3g77v28p.js → schema-f47r0gvn.js} +1 -1
- package/dist/chunks/{tool-f828m53h.js → schema-f828m53h.js} +2 -2
- package/dist/chunks/{tool-va79mfn6.js → schema-f9qb0rq9.js} +17 -17
- package/dist/chunks/{tool-4an599d2.js → schema-fg6npkra.js} +8 -8
- package/dist/chunks/{tool-6sg447na.js → schema-fm4tr4vt.js} +12 -12
- package/dist/chunks/{tool-5qdj1v4m.js → schema-fpgbvm08.js} +10 -10
- package/dist/chunks/{tool-sr5hsr7h.js → schema-fqqd2rhr.js} +24 -24
- package/dist/chunks/{tool-7q67xa21.js → schema-fv8y7rfs.js} +16 -16
- package/dist/chunks/{tool-fxbjtjnd.js → schema-fxbjtjnd.js} +1 -1
- package/dist/chunks/{tool-tprb9ykm.js → schema-g8atgw3j.js} +6 -6
- package/dist/chunks/{tool-cseyvs3z.js → schema-gcg6tnxg.js} +25 -25
- package/dist/chunks/{tool-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
- package/dist/chunks/{tool-6d1tapbz.js → schema-gdydzv9c.js} +15 -15
- package/dist/chunks/{tool-hs2aqah5.js → schema-gf9rz7kd.js} +5 -5
- package/dist/chunks/{tool-gv6a8nnw.js → schema-gv6a8nnw.js} +2 -2
- package/dist/chunks/{tool-t97w6b9c.js → schema-gxk1v8cw.js} +10 -10
- package/dist/chunks/{tool-h03wrkyp.js → schema-h03wrkyp.js} +2 -2
- package/dist/chunks/{tool-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
- package/dist/chunks/{tool-n9a9ascx.js → schema-h9hmy6pb.js} +21 -21
- package/dist/chunks/{tool-ebx0djr7.js → schema-harzbh1y.js} +3 -3
- package/dist/chunks/{tool-c0g4q567.js → schema-hfzk1xk6.js} +20 -20
- package/dist/chunks/{tool-jqvwbgns.js → schema-hp4gs99z.js} +11 -11
- package/dist/chunks/{tool-3f6m7h4m.js → schema-hv28523d.js} +9 -9
- package/dist/chunks/{tool-7tw3btct.js → schema-hyz0k45s.js} +4 -4
- package/dist/chunks/{tool-j56e64zr.js → schema-j56e64zr.js} +1 -1
- package/dist/chunks/{tool-16jeg0qk.js → schema-jfh1z2ka.js} +296 -296
- package/dist/chunks/{tool-fspd6qjs.js → schema-jwpe3kef.js} +24 -24
- package/dist/chunks/{tool-8e117wbv.js → schema-k31b4sbf.js} +3 -3
- package/dist/chunks/{tool-964t6598.js → schema-k410p7cy.js} +11 -11
- package/dist/chunks/{tool-y0rh7a7t.js → schema-k6gc8fqq.js} +25 -25
- package/dist/chunks/{tool-ze59vjzs.js → schema-k9grw06x.js} +26 -26
- package/dist/chunks/{tool-6j9t704q.js → schema-kc2pf2wb.js} +15 -15
- package/dist/chunks/{tool-8kacz6a1.js → schema-kd95dayw.js} +22 -22
- package/dist/chunks/{tool-nafczmzp.js → schema-kjd1s91a.js} +22 -22
- package/dist/chunks/{tool-prres578.js → schema-kzvjm54t.js} +13 -13
- package/dist/chunks/{tool-tqq7t134.js → schema-m6968m5h.js} +11 -11
- package/dist/chunks/{tool-rm9n4pe2.js → schema-m78x72r0.js} +26 -26
- package/dist/chunks/{tool-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-253bq4qw.js → schema-mbdq616m.js} +3 -3
- package/dist/chunks/schema-mcf5jnse.js +251 -0
- package/dist/chunks/{tool-56gdpj1q.js → schema-mfqp6xfm.js} +6 -6
- package/dist/chunks/{tool-mvfsc1pv.js → schema-mhkvc446.js} +3 -3
- package/dist/chunks/{tool-rfbvv5xc.js → schema-mwvhjw6h.js} +4 -4
- package/dist/chunks/{tool-2h74skrz.js → schema-n2d5y50v.js} +18 -18
- package/dist/chunks/{tool-17j9h1rv.js → schema-nbzsj80d.js} +11 -11
- package/dist/chunks/{tool-ctn2km86.js → schema-ngdt5g2x.js} +4 -4
- package/dist/chunks/{tool-may1xj9k.js → schema-nmgr8g8c.js} +168 -168
- package/dist/chunks/{tool-rcptzcjb.js → schema-p421fag0.js} +24 -24
- package/dist/chunks/{tool-h0cab0jj.js → schema-p7c14d8d.js} +6 -6
- package/dist/chunks/{tool-ayrzd4q0.js → schema-pd220wzj.js} +17 -17
- package/dist/chunks/{tool-2d57kztd.js → schema-pf2hb43r.js} +4 -4
- package/dist/chunks/{tool-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
- package/dist/chunks/{tool-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{tool-40tbggcp.js → schema-pm4v7ydf.js} +29 -29
- package/dist/chunks/{tool-bbaxns64.js → schema-pvzz4sxc.js} +8 -8
- package/dist/chunks/{tool-d383cjmk.js → schema-q6d53jre.js} +5 -5
- package/dist/chunks/{tool-7v2wf9c4.js → schema-q8nh9zc3.js} +27 -27
- package/dist/chunks/{tool-awzpd58r.js → schema-qcvrnmmq.js} +9 -9
- package/dist/chunks/{tool-w9rsy75j.js → schema-qd1x2qgj.js} +23 -23
- package/dist/chunks/{tool-fcrkznn8.js → schema-qgn6gcr1.js} +5 -5
- package/dist/chunks/{tool-f1xrsf6k.js → schema-qh9emc0v.js} +15 -15
- package/dist/chunks/{tool-wjjsbp8j.js → schema-qhz8q2jf.js} +19 -19
- package/dist/chunks/{tool-kj8x889q.js → schema-qrqn1tr2.js} +2 -2
- package/dist/chunks/{tool-qsdy395h.js → schema-qsdy395h.js} +1 -1
- package/dist/chunks/{tool-xkc29y86.js → schema-r3y59r7w.js} +36 -36
- package/dist/chunks/{tool-xsghnh50.js → schema-r4n9yfm1.js} +9 -9
- package/dist/chunks/{tool-knc2ad2x.js → schema-r5014e5h.js} +79 -79
- package/dist/chunks/{tool-e4yvw0pn.js → schema-r5pbn9nf.js} +33 -33
- package/dist/chunks/{tool-r9mregkx.js → schema-r9mregkx.js} +2 -2
- package/dist/chunks/{tool-4kbjb3sr.js → schema-rdbkvccz.js} +11 -11
- package/dist/chunks/{tool-q4wkz71m.js → schema-rdmtb0vk.js} +17 -17
- package/dist/chunks/{tool-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
- package/dist/chunks/{tool-bwfqemah.js → schema-repgqd6d.js} +11 -11
- package/dist/chunks/{tool-n83tpar3.js → schema-rky73ewa.js} +30 -30
- package/dist/chunks/{tool-q7wajf8z.js → schema-rmdyxgmk.js} +8 -8
- package/dist/chunks/{tool-erw0n60b.js → schema-rw34nk5q.js} +8 -8
- package/dist/chunks/{tool-y3acf7kc.js → schema-rwq5zk2b.js} +22 -22
- package/dist/chunks/{tool-gbex3acd.js → schema-s8gwc44q.js} +31 -31
- package/dist/chunks/{tool-nr5q34ns.js → schema-sa5zx4n8.js} +13 -13
- package/dist/chunks/{tool-cddy6wgw.js → schema-sm7k5sd0.js} +8 -8
- package/dist/chunks/{tool-jj2x8ya3.js → schema-sn2xabbp.js} +26 -26
- package/dist/chunks/{tool-1gfn0ycf.js → schema-sn48k21j.js} +29 -29
- package/dist/chunks/{tool-mksr8qt3.js → schema-t1fh5c1n.js} +6 -6
- package/dist/chunks/{tool-qh3h8fjc.js → schema-t71md4gs.js} +24 -24
- package/dist/chunks/{tool-1a6p2twq.js → schema-t9zs3egg.js} +4 -4
- package/dist/chunks/{tool-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
- package/dist/chunks/{tool-tcezcvh9.js → schema-tcezcvh9.js} +1 -1
- package/dist/chunks/{tool-tdstcens.js → schema-tdstcens.js} +1 -1
- package/dist/chunks/{tool-mwp9jd7s.js → schema-tmadm20y.js} +8 -8
- package/dist/chunks/{tool-3w0fmcng.js → schema-tn0aqsam.js} +5 -5
- package/dist/chunks/{tool-66yyaz7c.js → schema-tnyhqet0.js} +43 -43
- package/dist/chunks/{tool-tvtrv512.js → schema-tvtrv512.js} +1 -1
- package/dist/chunks/{tool-nb4aeq3b.js → schema-tyh31ery.js} +7 -7
- package/dist/chunks/{tool-c5f1xghs.js → schema-v2c8bhec.js} +33 -33
- package/dist/chunks/{tool-mtxfs5k5.js → schema-v78m1hhx.js} +11 -11
- package/dist/chunks/{tool-veqvce7d.js → schema-veqvce7d.js} +1 -1
- package/dist/chunks/{tool-tqkrwgse.js → schema-vmgq4x8b.js} +2 -2
- package/dist/chunks/{tool-tbht75y9.js → schema-vmwh049b.js} +9 -9
- package/dist/chunks/{tool-hddv9rh5.js → schema-vvxf2beg.js} +6 -6
- package/dist/chunks/{tool-4gnyebnw.js → schema-vwbppz9h.js} +7 -7
- package/dist/chunks/{tool-vzcthcp8.js → schema-vzcthcp8.js} +1 -1
- package/dist/chunks/{tool-1d4jdnc8.js → schema-vzeyx8aa.js} +6 -6
- package/dist/chunks/{tool-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-yyqa94g7.js → schema-wam2jwg7.js} +40 -40
- package/dist/chunks/{tool-hnr5yq9h.js → schema-wbkyxrgf.js} +5 -5
- package/dist/chunks/{tool-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{tool-1bkx5pwe.js → schema-wex0gst8.js} +4 -4
- package/dist/chunks/{tool-2vg6efqn.js → schema-wftdh6vh.js} +3 -3
- package/dist/chunks/{tool-nffnkmsf.js → schema-wvz6pyvx.js} +21 -21
- package/dist/chunks/{tool-xerjptys.js → schema-wwa63ntv.js} +5 -5
- package/dist/chunks/{tool-jpsh07gn.js → schema-x0xrs2fc.js} +4 -4
- package/dist/chunks/{tool-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
- package/dist/chunks/{tool-kcxpnbwn.js → schema-x2sv7yx2.js} +20 -20
- package/dist/chunks/{tool-emgx2tje.js → schema-x4j0j53r.js} +5 -5
- package/dist/chunks/{tool-pmwf0w9a.js → schema-x98p0sne.js} +32 -32
- package/dist/chunks/{tool-nw3p9810.js → schema-xd8232zg.js} +4 -4
- package/dist/chunks/{tool-jxrvs0y0.js → schema-xdhjt98p.js} +15 -15
- package/dist/chunks/{tool-9kvb8f9y.js → schema-xdqhawme.js} +12 -12
- package/dist/chunks/{tool-jjs74g98.js → schema-xekzrwwc.js} +9 -9
- package/dist/chunks/{tool-f9a3pmyr.js → schema-xk2q8v0k.js} +13 -13
- package/dist/chunks/{tool-884gyjym.js → schema-xw129k3s.js} +4 -4
- package/dist/chunks/{tool-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
- package/dist/chunks/{tool-98f484r8.js → schema-yd6z8b7r.js} +16 -16
- package/dist/chunks/{tool-jndxpbzp.js → schema-yhz16bh8.js} +33 -33
- package/dist/chunks/{tool-yp2x3t23.js → schema-yp2x3t23.js} +1 -1
- package/dist/chunks/{tool-yrhqyw5v.js → schema-yrhqyw5v.js} +1 -1
- package/dist/chunks/{tool-s4enseaf.js → schema-yrznvahk.js} +2 -2
- package/dist/chunks/{tool-b4655sfp.js → schema-yxpgexz8.js} +45 -45
- package/dist/chunks/{tool-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
- package/dist/chunks/{tool-29x78va6.js → schema-z63w68vq.js} +6 -6
- package/dist/chunks/schema-z926abd4.js +4 -0
- package/dist/chunks/{tool-zeh9ct20.js → schema-zeh9ct20.js} +2 -2
- package/dist/chunks/{tool-ec8389mk.js → schema-zj09a0ew.js} +4 -4
- package/dist/chunks/{tool-6yy9wark.js → schema-zj9nynzz.js} +11 -11
- package/dist/chunks/{tool-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
- package/dist/chunks/{tool-p7cb5w0v.js → schema-zt03gkt5.js} +4 -4
- package/dist/chunks/{tool-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +120 -120
- package/dist/config/plugin/instruction.js +87 -87
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +121 -121
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -365
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +223 -223
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +99 -99
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- 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 +90 -90
- 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 +356 -356
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +132 -132
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +353 -353
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +124 -124
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +99 -99
- package/dist/models-dev.js +105 -105
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +116 -116
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +94 -94
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +89 -89
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +89 -89
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +89 -89
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +89 -89
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +91 -91
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- 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 +5 -5
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +90 -90
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +125 -125
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- 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/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- 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 +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/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 +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +75 -75
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/refresh.js +345 -345
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/tool-0mesazry.js +0 -4
- package/dist/chunks/tool-9sh4wc5j.js +0 -18
- package/dist/chunks/tool-dadjnxcz.js +0 -26
- package/dist/chunks/tool-yqybgd19.js +0 -251
- /package/dist/chunks/{tool-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{tool-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
- /package/dist/chunks/{tool-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
- /package/dist/chunks/{tool-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{tool-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-922hggd3.js → schema-922hggd3.js} +0 -0
- /package/dist/chunks/{tool-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-dajrwvna.js → schema-dajrwvna.js} +0 -0
- /package/dist/chunks/{tool-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
- /package/dist/chunks/{tool-ec1grn59.js → schema-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
- /package/dist/chunks/{tool-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{tool-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-gftt206x.js → schema-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-hjbc5kem.js → schema-hjbc5kem.js} +0 -0
- /package/dist/chunks/{tool-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-hrnqkpcd.js → schema-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{tool-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{tool-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-twg0f83k.js → schema-twg0f83k.js} +0 -0
- /package/dist/chunks/{tool-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
- /package/dist/chunks/{tool-y8f7s663.js → schema-y8f7s663.js} +0 -0
- /package/dist/chunks/{tool-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-ym463w8f.js → schema-ym463w8f.js} +0 -0
- /package/dist/chunks/{tool-z9919s4g.js → schema-z9919s4g.js} +0 -0
|
@@ -1,69 +1,69 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
6
|
node84
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-41kev6en.js";
|
|
8
8
|
import {
|
|
9
9
|
ID18
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-57ez7d0k.js";
|
|
11
11
|
import {
|
|
12
12
|
Slug2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./schema-gebd4c9n.js";
|
|
14
14
|
import {
|
|
15
15
|
Service81,
|
|
16
16
|
node86
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./schema-wftdh6vh.js";
|
|
18
18
|
import {
|
|
19
19
|
Service80,
|
|
20
20
|
node85
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./schema-wex0gst8.js";
|
|
22
22
|
import {
|
|
23
23
|
ProjectTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./schema-8p4f9s12.js";
|
|
25
25
|
import {
|
|
26
26
|
WorktreeTable2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./schema-cfpkc3c9.js";
|
|
28
28
|
import {
|
|
29
29
|
Service77,
|
|
30
30
|
node82
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./schema-qrqn1tr2.js";
|
|
32
32
|
import {
|
|
33
33
|
DirectoryUnavailableError2,
|
|
34
34
|
canonical2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./schema-gv6a8nnw.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
make12
|
|
38
|
+
} from "./schema-t1fh5c1n.js";
|
|
39
39
|
import {
|
|
40
40
|
create3
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./schema-rdw6cm16.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./schema-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
48
48
|
__export(exports_worktree2, {
|
|
49
|
-
CreateInput: () =>
|
|
49
|
+
CreateInput: () => CreateInput2,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event5,
|
|
53
|
+
Info: () => Info3,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RefreshResult: () => RefreshResult2,
|
|
59
59
|
RemoveInput: () => RemoveInput2,
|
|
60
|
-
Service: () =>
|
|
60
|
+
Service: () => Service18,
|
|
61
61
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
62
62
|
StrategyID: () => StrategyID2,
|
|
63
63
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
64
64
|
UnsupportedLocationError: () => UnsupportedLocationError2,
|
|
65
65
|
Worktree: () => exports_worktree2,
|
|
66
|
-
node: () =>
|
|
66
|
+
node: () => node22
|
|
67
67
|
});
|
|
68
68
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
69
69
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -76,13 +76,13 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
76
76
|
import { ChildProcess } from "effect/unstable/process";
|
|
77
77
|
import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
78
78
|
var StrategyID2 = Worktree.StrategyID;
|
|
79
|
-
var
|
|
79
|
+
var CreateInput2 = Worktree.CreateInput;
|
|
80
80
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
81
81
|
var RefreshResult2 = Schema.Struct({
|
|
82
82
|
updated: Schema.Array(AbsolutePath2),
|
|
83
83
|
removed: Schema.Array(AbsolutePath2)
|
|
84
84
|
}).annotate({ identifier: "Worktree.RefreshResult" });
|
|
85
|
-
var
|
|
85
|
+
var Info3 = Worktree.Info;
|
|
86
86
|
var List2 = Worktree.List;
|
|
87
87
|
var ListEntry3 = Worktree.ListEntry;
|
|
88
88
|
|
|
@@ -100,11 +100,11 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
100
100
|
|
|
101
101
|
class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
|
|
102
102
|
}
|
|
103
|
-
var
|
|
103
|
+
var Event5 = Worktree.Event;
|
|
104
104
|
|
|
105
|
-
class
|
|
105
|
+
class Service18 extends Context.Service()("@opencode/v2/Worktree") {
|
|
106
106
|
}
|
|
107
|
-
var layer = Layer.effect(
|
|
107
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
108
108
|
const fs = yield* FSUtil.Service;
|
|
109
109
|
const database = yield* Service81;
|
|
110
110
|
const db = database.db;
|
|
@@ -114,7 +114,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
114
114
|
const global = yield* Global.Service;
|
|
115
115
|
const projectID = location.project.id;
|
|
116
116
|
const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
|
|
117
|
-
const gitStrategy = yield*
|
|
117
|
+
const gitStrategy = yield* make12;
|
|
118
118
|
const state = create3({
|
|
119
119
|
name: "worktree",
|
|
120
120
|
initial: () => ({
|
|
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
const changed = Effect.fnUntraced(function* (update) {
|
|
137
137
|
if (update)
|
|
138
|
-
yield* bus.publish(
|
|
138
|
+
yield* bus.publish(Event5.Updated, { projectID });
|
|
139
139
|
});
|
|
140
140
|
const ops = {
|
|
141
141
|
list: Effect.fnUntraced(function* () {
|
|
@@ -257,7 +257,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
257
257
|
yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
|
|
258
258
|
return changes;
|
|
259
259
|
});
|
|
260
|
-
return
|
|
260
|
+
return Service18.of({
|
|
261
261
|
transform: state.transform,
|
|
262
262
|
reload: state.reload,
|
|
263
263
|
list: Effect.fn("Worktree.list")(function* () {
|
|
@@ -269,8 +269,8 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
269
269
|
refresh
|
|
270
270
|
});
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node22 = makeLocationNode({
|
|
273
|
+
service: Service18,
|
|
274
274
|
layer,
|
|
275
275
|
deps: [FSUtil.node, node84, node85, node86, AppProcess.node, node82, Global.node]
|
|
276
276
|
});
|
|
@@ -282,4 +282,4 @@ function operationError(strategy, operation, error) {
|
|
|
282
282
|
});
|
|
283
283
|
}
|
|
284
284
|
|
|
285
|
-
export { StrategyID2,
|
|
285
|
+
export { StrategyID2, CreateInput2, RemoveInput2, RefreshResult2, Info3, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event5, Service18, node22, exports_worktree2, OperationError2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service36,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node40
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service36 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service36, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service36.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service56, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node40 = makeGlobalNode({ service: Service36, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service36, node40, exports_environment };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-7b3vjk9x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin22,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint2 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin22 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin34 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint2).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin34 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint2, Plugin22, exports_tavily };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
4
|
empty3,
|
|
5
|
-
|
|
5
|
+
make21,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-eaj1djv9.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-8nkhzrtw.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service34,
|
|
13
|
+
node38
|
|
14
|
+
} from "./schema-84rdt8rr.js";
|
|
15
15
|
import {
|
|
16
16
|
namespace2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
name14
|
|
18
|
+
} from "./schema-85j4zkzf.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./schema-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/mcp/instructions.ts
|
|
24
24
|
var exports_instructions4 = {};
|
|
25
25
|
__export(exports_instructions4, {
|
|
26
26
|
McpInstructions: () => exports_instructions4,
|
|
27
|
-
Service: () =>
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
27
|
+
Service: () => Service31,
|
|
28
|
+
layer: () => layer14,
|
|
29
|
+
node: () => node35
|
|
30
30
|
});
|
|
31
31
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -62,17 +62,17 @@ var update = (previous, current) => {
|
|
|
62
62
|
`);
|
|
63
63
|
};
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service31 extends Context.Service()("@opencode/McpInstructions") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
const mcp = yield*
|
|
69
|
-
return
|
|
67
|
+
var layer14 = Layer.effect(Service31, Effect.gen(function* () {
|
|
68
|
+
const mcp = yield* Service34;
|
|
69
|
+
return Service31.of({
|
|
70
70
|
load: Effect.fn("McpInstructions.load")(function* (selection) {
|
|
71
71
|
const agent = selection.info;
|
|
72
72
|
if (!agent)
|
|
73
73
|
return empty3;
|
|
74
|
-
const source = (value) =>
|
|
75
|
-
key:
|
|
74
|
+
const source = (value) => make21({
|
|
75
|
+
key: Key4.make("core/mcp-guidance"),
|
|
76
76
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
77
77
|
read: Effect.succeed(value),
|
|
78
78
|
render: {
|
|
@@ -90,7 +90,7 @@ var layer10 = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
90
90
|
const codemode = owned[0]?.codemode !== false;
|
|
91
91
|
if (codemode && !canExecute)
|
|
92
92
|
return [];
|
|
93
|
-
if (!owned.some((tool) => evaluate2(
|
|
93
|
+
if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", agent.permissions).effect !== "deny"))
|
|
94
94
|
return [];
|
|
95
95
|
return [
|
|
96
96
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -100,6 +100,6 @@ var layer10 = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
100
100
|
})
|
|
101
101
|
});
|
|
102
102
|
}));
|
|
103
|
-
var
|
|
103
|
+
var node35 = makeLocationNode({ service: Service31, layer: layer14, deps: [node38] });
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { Service31, layer14, node35, exports_instructions4 };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./schema-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
Service77
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schema-qrqn1tr2.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service62
|
|
11
|
+
} from "./schema-f9qb0rq9.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service70
|
|
14
|
+
} from "./schema-repgqd6d.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service13,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./schema-xk2q8v0k.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service72
|
|
22
|
+
} from "./schema-8nkhzrtw.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service71,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./schema-1xacm4tx.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./schema-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./schema-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
38
|
+
Input: () => Input9,
|
|
39
39
|
Output: () => Output6,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin43,
|
|
42
|
+
name: () => name9,
|
|
43
|
+
toModelContent: () => toModelContent5
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name9 = "patch";
|
|
89
|
+
var Input9 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -100,25 +100,25 @@ var Output6 = Schema.Struct({
|
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent5 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin43 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
111
|
+
const environment = yield* Service62;
|
|
112
|
+
const access = yield* Service71;
|
|
113
|
+
const fileMutation = yield* Service13;
|
|
114
|
+
const formatter = yield* Service70;
|
|
115
115
|
const location = yield* Service77;
|
|
116
|
-
const permission = yield*
|
|
116
|
+
const permission = yield* Service72;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name9,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
121
|
+
input: Input9,
|
|
122
122
|
output: Output6,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
@@ -266,7 +266,7 @@ var Plugin29 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent5(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name9, Input9, Applied2, Output6, toModelContent5, Plugin43, exports_patch };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service77
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-qrqn1tr2.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service54
|
|
9
|
+
} from "./schema-0xwfnwv8.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service18
|
|
12
|
+
} from "./schema-rky73ewa.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./schema-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin6
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin6 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
33
|
+
const config = yield* Service54;
|
|
34
34
|
const location = yield* Service77;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service18;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin11 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin6, exports_worktree };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./schema-0xwfnwv8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service10
|
|
6
|
+
} from "./schema-c4vcfcbt.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
15
|
var exports_location_watcher2 = {};
|
|
@@ -22,8 +22,8 @@ import { Effect } from "effect";
|
|
|
22
22
|
var Plugin15 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service54;
|
|
26
|
+
const policy = yield* Service10;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -2,35 +2,35 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service80,
|
|
4
4
|
node85
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./schema-wex0gst8.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Key4,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make21,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-eaj1djv9.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./schema-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./schema-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event12,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options9,
|
|
30
|
+
Service: () => Service57,
|
|
31
|
+
configured: () => configured9,
|
|
32
|
+
layer: () => layer24,
|
|
33
|
+
node: () => node61
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,18 +41,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
41
41
|
}) {
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
|
-
var key =
|
|
45
|
-
var
|
|
44
|
+
var key = Key4.make("core/instructions");
|
|
45
|
+
var Event12 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options9 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service57 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var layer24 = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service80;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -72,9 +72,9 @@ var layer15 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event12.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make21({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer15 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service57.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer15 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured9(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
109
|
+
service: Service57,
|
|
110
|
+
layer: layer24(options),
|
|
111
111
|
deps: [node85]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node61 = configured9();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event12, Options9, Service57, layer24, configured9, node61, exports_instruction_discovery };
|