@opencode/core 0.0.0-dev-20699 → 0.0.0-dev-20700
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{aisdk-native-370437fy.js → command-0479rtb7.js} +14 -14
- package/dist/chunks/{aisdk-native-cy9xa7g0.js → command-05n848gw.js} +5 -5
- package/dist/chunks/{aisdk-native-6xmskbt3.js → command-0a7wxtrm.js} +23 -23
- package/dist/chunks/{aisdk-native-xdnyfx8g.js → command-0g45hzx5.js} +21 -21
- package/dist/chunks/{aisdk-native-gn31e51v.js → command-0kjmpvw2.js} +11 -11
- package/dist/chunks/{aisdk-native-0paq2nw3.js → command-0paq2nw3.js} +1 -1
- package/dist/chunks/{aisdk-native-facf8rnd.js → command-0r4y7tp2.js} +10 -10
- package/dist/chunks/{aisdk-native-0vbcp93d.js → command-0vbcp93d.js} +2 -2
- package/dist/chunks/{aisdk-native-s5met55r.js → command-0xezjjjn.js} +8 -8
- package/dist/chunks/{aisdk-native-11dqjexa.js → command-11dqjexa.js} +2 -2
- package/dist/chunks/{aisdk-native-e8g9mgdx.js → command-125dpnt1.js} +28 -28
- package/dist/chunks/{aisdk-native-k9cay8kk.js → command-19aya85j.js} +7 -7
- package/dist/chunks/{aisdk-native-yp2x3t23.js → command-1acjjqhc.js} +4 -4
- package/dist/chunks/{aisdk-native-dtn6vyr4.js → command-1b0sbxxb.js} +32 -32
- package/dist/chunks/{aisdk-native-1dazxqgg.js → command-1dazxqgg.js} +2 -2
- package/dist/chunks/{aisdk-native-cy9d01js.js → command-1j56braf.js} +8 -8
- package/dist/chunks/{aisdk-native-38y6trx6.js → command-1mp2j08m.js} +13 -13
- package/dist/chunks/{aisdk-native-5fykfdj7.js → command-1pxz8ven.js} +5 -5
- package/dist/chunks/{aisdk-native-m3ktjrx8.js → command-1y6v7ctx.js} +10 -10
- package/dist/chunks/{aisdk-native-1ygqh575.js → command-1ygqh575.js} +2 -2
- package/dist/chunks/{aisdk-native-wjmafqd5.js → command-24bjkhbr.js} +13 -13
- package/dist/chunks/{aisdk-native-b62efeyb.js → command-26bjp5xt.js} +19 -19
- package/dist/chunks/{aisdk-native-b628a289.js → command-27gqhvna.js} +31 -31
- package/dist/chunks/{aisdk-native-2a5m3afh.js → command-2a5m3afh.js} +1 -1
- package/dist/chunks/{aisdk-native-3ppptnan.js → command-2a6rn6yr.js} +6 -6
- package/dist/chunks/{aisdk-native-007agb8z.js → command-2d0p9y9z.js} +2 -2
- package/dist/chunks/{aisdk-native-qgn6gcr1.js → command-2k8khapm.js} +5 -5
- package/dist/chunks/{aisdk-native-66715xqs.js → command-2kvm6dz7.js} +9 -9
- package/dist/chunks/{aisdk-native-s1hj9k30.js → command-2vyvwgdx.js} +12 -12
- package/dist/chunks/{aisdk-native-75hw688q.js → command-2wk1bt19.js} +26 -26
- package/dist/chunks/{aisdk-native-h2b79v29.js → command-3cegwx68.js} +2 -2
- package/dist/chunks/{aisdk-native-fp7wgddj.js → command-3ck8tw4y.js} +36 -36
- package/dist/chunks/{aisdk-native-3fc6dm20.js → command-3fc6dm20.js} +1 -1
- package/dist/chunks/{aisdk-native-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{aisdk-native-bfyngbwg.js → command-3kngb2b1.js} +9 -9
- package/dist/chunks/command-3njcnfy0.js +26 -0
- package/dist/chunks/{aisdk-native-epms814b.js → command-3p9y6zy9.js} +8 -8
- package/dist/chunks/{aisdk-native-pkxfpd18.js → command-3r916n3t.js} +6 -6
- package/dist/chunks/{aisdk-native-3smtnn6g.js → command-3smtnn6g.js} +1 -1
- package/dist/chunks/{aisdk-native-3tvqynh2.js → command-3tvqynh2.js} +1 -1
- package/dist/chunks/{aisdk-native-j0qqh2fr.js → command-3twjrg50.js} +5 -5
- package/dist/chunks/{aisdk-native-89rvcjqs.js → command-3zbwexce.js} +8 -8
- package/dist/chunks/{aisdk-native-3zsf4n22.js → command-3zsf4n22.js} +1 -1
- package/dist/chunks/{aisdk-native-gctpkjda.js → command-42sph0rn.js} +7 -7
- package/dist/chunks/{aisdk-native-vv80c9ym.js → command-44rbbzrk.js} +4 -4
- package/dist/chunks/{aisdk-native-tfb60e5g.js → command-4862yc1m.js} +15 -15
- package/dist/chunks/{aisdk-native-zey9nnz1.js → command-4ma70ete.js} +35 -35
- package/dist/chunks/{aisdk-native-x861zb6t.js → command-4mq91456.js} +2 -2
- package/dist/chunks/{aisdk-native-4ts7tf6z.js → command-4ts7tf6z.js} +2 -2
- package/dist/chunks/{aisdk-native-4v7ngy20.js → command-4v7ngy20.js} +1 -1
- package/dist/chunks/{aisdk-native-4nzwy074.js → command-4wwqnvbr.js} +4 -4
- package/dist/chunks/{aisdk-native-bp1twqkv.js → command-51xkf8k5.js} +15 -15
- package/dist/chunks/{aisdk-native-8ta39m8d.js → command-54eg28t6.js} +8 -8
- package/dist/chunks/{aisdk-native-54ma36ye.js → command-54ma36ye.js} +1 -1
- package/dist/chunks/{aisdk-native-bz5av1rf.js → command-5724mr0t.js} +13 -13
- package/dist/chunks/{aisdk-native-tf2z4qss.js → command-5bnkhe1a.js} +10 -10
- package/dist/chunks/{aisdk-native-54ekahc4.js → command-5e351gmq.js} +25 -25
- package/dist/chunks/{aisdk-native-kp00fsy8.js → command-5jbsybzt.js} +11 -11
- package/dist/chunks/{aisdk-native-dxj4v0g7.js → command-5k95x8ex.js} +3 -3
- package/dist/chunks/{aisdk-native-5m9w47nd.js → command-5m9w47nd.js} +1 -1
- package/dist/chunks/{aisdk-native-xg9b4fj5.js → command-5pmqztyy.js} +39 -39
- package/dist/chunks/{aisdk-native-5t3nmthw.js → command-5t3nmthw.js} +2 -2
- package/dist/chunks/{aisdk-native-yp9n3qq0.js → command-6257bbja.js} +8 -8
- package/dist/chunks/{aisdk-native-x2y2beh6.js → command-64bzcbyv.js} +19 -19
- package/dist/chunks/{aisdk-native-f1881gfp.js → command-6aaz6ypt.js} +33 -33
- package/dist/chunks/{aisdk-native-wxg63wf5.js → command-6fs6w009.js} +8 -8
- package/dist/chunks/{aisdk-native-f66yvs9w.js → command-6h7f880a.js} +31 -31
- package/dist/chunks/{aisdk-native-9b39j816.js → command-6h8vz67h.js} +30 -30
- package/dist/chunks/{aisdk-native-e9f28y7b.js → command-6hd6avn5.js} +24 -24
- package/dist/chunks/{aisdk-native-9kmw7fq7.js → command-6wchr5cx.js} +33 -33
- package/dist/chunks/{aisdk-native-6xb47vfp.js → command-6xb47vfp.js} +1 -1
- package/dist/chunks/{aisdk-native-5p6z4y9s.js → command-6zy09sng.js} +27 -27
- package/dist/chunks/{aisdk-native-my3kb762.js → command-70xwm63j.js} +3 -3
- package/dist/chunks/{aisdk-native-y4fngaas.js → command-783ks7fh.js} +6 -6
- package/dist/chunks/{aisdk-native-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/command-7fj5dwt0.js +18 -0
- package/dist/chunks/{aisdk-native-2ha58fv5.js → command-7nxdf7yt.js} +5 -5
- package/dist/chunks/{aisdk-native-bnhzkkkr.js → command-7q7xr36e.js} +20 -20
- package/dist/chunks/{aisdk-native-1dvck2a7.js → command-84h8c373.js} +2 -2
- package/dist/chunks/{aisdk-native-84txncab.js → command-84txncab.js} +1 -1
- package/dist/chunks/{aisdk-native-1vp0x8zb.js → command-855mfpgn.js} +15 -15
- package/dist/chunks/{aisdk-native-8d7r5vzw.js → command-8d7r5vzw.js} +1 -1
- package/dist/chunks/{aisdk-native-05xfxpq7.js → command-8ha6ga5e.js} +8 -8
- package/dist/chunks/{aisdk-native-gdfaxp8g.js → command-8jm276xc.js} +5 -5
- package/dist/chunks/{aisdk-native-8m6m0r52.js → command-8m6m0r52.js} +1 -1
- package/dist/chunks/{aisdk-native-me1thta9.js → command-8nc24gqh.js} +9 -9
- package/dist/chunks/{aisdk-native-bkvpb7y5.js → command-8p86ba99.js} +1 -1
- package/dist/chunks/{aisdk-native-shk4ffnk.js → command-8pvj3kwn.js} +13 -13
- package/dist/chunks/{aisdk-native-shw3b6bh.js → command-8tmnagnx.js} +22 -22
- package/dist/chunks/{aisdk-native-j2ncb1sa.js → command-90z33sm1.js} +32 -32
- package/dist/chunks/{aisdk-native-7mhg6xnc.js → command-95xdxxe2.js} +11 -11
- package/dist/chunks/{aisdk-native-7fpa500x.js → command-9gdfrnr3.js} +24 -24
- package/dist/chunks/{aisdk-native-gj71zhbs.js → command-9hwaqfsw.js} +5 -5
- package/dist/chunks/{aisdk-native-bwpwvx91.js → command-9p7127m7.js} +21 -21
- package/dist/chunks/{aisdk-native-s8d7rejh.js → command-9t7a50xb.js} +4 -4
- package/dist/chunks/{aisdk-native-7vdwv0fr.js → command-9trmfcmk.js} +7 -7
- package/dist/chunks/{aisdk-native-a1gpj94z.js → command-a1gpj94z.js} +1 -1
- package/dist/chunks/{aisdk-native-0ezbyg76.js → command-a40a71e0.js} +20 -20
- package/dist/chunks/{aisdk-native-a25mqfd0.js → command-a7ckhrv9.js} +13 -13
- package/dist/chunks/{aisdk-native-aaet6srn.js → command-aaet6srn.js} +2 -2
- package/dist/chunks/{aisdk-native-mxvxcxwy.js → command-addxnjmp.js} +4 -4
- package/dist/chunks/{aisdk-native-mvv9kg7n.js → command-ah2tsebv.js} +5 -5
- package/dist/chunks/{aisdk-native-4rprvedw.js → command-akm3sr3q.js} +4 -4
- package/dist/chunks/{aisdk-native-8n2tw46q.js → command-aqaf6eqh.js} +4 -4
- package/dist/chunks/{aisdk-native-p7a2r2f0.js → command-at66rx22.js} +26 -26
- package/dist/chunks/{aisdk-native-q1th6fp8.js → command-b4f0r9mf.js} +19 -19
- package/dist/chunks/{aisdk-native-b6gygkdw.js → command-b6gygkdw.js} +2 -2
- package/dist/chunks/{aisdk-native-3c6jzr0p.js → command-bczzjy9e.js} +29 -29
- package/dist/chunks/{aisdk-native-zwgbb5k0.js → command-bdw1f655.js} +31 -31
- package/dist/chunks/{aisdk-native-j0kvqywh.js → command-bfk0apgm.js} +47 -47
- package/dist/chunks/{aisdk-native-kdz3a46v.js → command-bjxafcsc.js} +3 -3
- package/dist/chunks/{aisdk-native-9j0s0v2q.js → command-bmcyhq37.js} +20 -20
- package/dist/chunks/{aisdk-native-mhka2p0v.js → command-bn6yread.js} +42 -42
- package/dist/chunks/{aisdk-native-1vhq2tta.js → command-bp8hqz04.js} +8 -8
- package/dist/chunks/{aisdk-native-yqgv6gkz.js → command-c16jtkb8.js} +26 -26
- package/dist/chunks/{aisdk-native-tb7dkz7m.js → command-c2pzj2ez.js} +5 -5
- package/dist/chunks/{aisdk-native-4tjpkstn.js → command-c8v3em4p.js} +8 -8
- package/dist/chunks/{aisdk-native-kvvk39gs.js → command-cavr175a.js} +4 -4
- package/dist/chunks/{aisdk-native-6pc4cw79.js → command-ck649xfd.js} +5 -5
- package/dist/chunks/{aisdk-native-fyeq03r8.js → command-cw6z59x1.js} +11 -11
- package/dist/chunks/{aisdk-native-w8wme0n9.js → command-cyedb0zj.js} +40 -40
- package/dist/chunks/{aisdk-native-st4vqgcn.js → command-cyhvcspf.js} +86 -86
- package/dist/chunks/{aisdk-native-w05zr4jj.js → command-d7caqkm4.js} +12 -12
- package/dist/chunks/{aisdk-native-9swdtjav.js → command-d8h4y8x2.js} +11 -11
- package/dist/chunks/{aisdk-native-9w72a531.js → command-djsxeeqx.js} +5 -5
- package/dist/chunks/{aisdk-native-cpneeje0.js → command-djszqvmq.js} +9 -9
- package/dist/chunks/{aisdk-native-9krn66e7.js → command-dp4s75h1.js} +35 -35
- package/dist/chunks/{aisdk-native-mcjjfw9s.js → command-dp4sqxzb.js} +23 -23
- package/dist/chunks/{aisdk-native-dpkg50ah.js → command-dpkg50ah.js} +1 -1
- package/dist/chunks/{aisdk-native-chy0zwhc.js → command-dq1h9awm.js} +15 -15
- package/dist/chunks/{aisdk-native-2j1aj7pf.js → command-dsztky57.js} +15 -15
- package/dist/chunks/{aisdk-native-j1mj860n.js → command-dzw83ac5.js} +9 -9
- package/dist/chunks/{aisdk-native-cawkts3f.js → command-e01hz1ca.js} +3 -3
- package/dist/chunks/{aisdk-native-xrdbg2s8.js → command-e6y6syfz.js} +6 -6
- package/dist/chunks/{aisdk-native-2ca4jsmq.js → command-e7vvk1sv.js} +14 -14
- package/dist/chunks/{aisdk-native-y46h39kv.js → command-edvm82df.js} +15 -15
- package/dist/chunks/{aisdk-native-y4fcfbj0.js → command-eepwjgt3.js} +27 -27
- package/dist/chunks/{aisdk-native-ef5x83kb.js → command-ef5x83kb.js} +1 -1
- package/dist/chunks/{aisdk-native-skxptfe8.js → command-ekcam7gb.js} +7 -7
- package/dist/chunks/{aisdk-native-qdbakdjh.js → command-emwywv8g.js} +5 -5
- package/dist/chunks/{aisdk-native-4txfm3d9.js → command-esdp39g9.js} +37 -37
- package/dist/chunks/{aisdk-native-etq0c3wd.js → command-etq0c3wd.js} +1 -1
- package/dist/chunks/{aisdk-native-w5rwm3pc.js → command-f0jn3c8j.js} +12 -12
- package/dist/chunks/{aisdk-native-j3agjwjk.js → command-f4j2p9tb.js} +6 -6
- package/dist/chunks/{aisdk-native-ppyhspf8.js → command-f51y4enn.js} +81 -81
- package/dist/chunks/{aisdk-native-7erzr5x4.js → command-f6nqz2a5.js} +20 -20
- package/dist/chunks/{aisdk-native-71az546q.js → command-f75zav2x.js} +2 -2
- package/dist/chunks/{aisdk-native-1vsqvsf0.js → command-far1eyy8.js} +16 -16
- package/dist/chunks/{aisdk-native-zwzkbcdw.js → command-ffhh4tnd.js} +11 -11
- package/dist/chunks/{aisdk-native-rhz4vksc.js → command-g01c6ngt.js} +15 -15
- package/dist/chunks/{aisdk-native-p37cw4rj.js → command-g0445xdp.js} +8 -8
- package/dist/chunks/{aisdk-native-mthe07d4.js → command-g8zx62a9.js} +2 -2
- package/dist/chunks/{aisdk-native-gd4qta3r.js → command-gd4qta3r.js} +1 -1
- package/dist/chunks/{aisdk-native-2r2f06q5.js → command-gn75qd72.js} +15 -15
- package/dist/chunks/{aisdk-native-jgnyc2fs.js → command-gvpmpm3x.js} +4 -4
- package/dist/chunks/{aisdk-native-qc4h0gvw.js → command-gw4vacmf.js} +24 -24
- package/dist/chunks/{aisdk-native-h6vf3j39.js → command-h6vf3j39.js} +1 -1
- package/dist/chunks/{aisdk-native-0sacbfpy.js → command-hbgw946t.js} +18 -18
- package/dist/chunks/{aisdk-native-95630v8f.js → command-hcqqnn43.js} +16 -16
- package/dist/chunks/{aisdk-native-pnzf6mjf.js → command-he27pt63.js} +1 -1
- package/dist/chunks/{aisdk-native-n8mb64fn.js → command-hpy8ntye.js} +14 -14
- package/dist/chunks/{aisdk-native-xen2mb01.js → command-hxa97ptj.js} +45 -45
- package/dist/chunks/{aisdk-native-j56e64zr.js → command-j56e64zr.js} +1 -1
- package/dist/chunks/{aisdk-native-es4w4h4j.js → command-jahmw9wt.js} +11 -11
- package/dist/chunks/{aisdk-native-yatzzw06.js → command-jmcj007g.js} +6 -6
- package/dist/chunks/{aisdk-native-2kbzr3vr.js → command-jqx4baev.js} +66 -66
- package/dist/chunks/{aisdk-native-hcnvgjpm.js → command-jsepzq9b.js} +46 -46
- package/dist/chunks/{aisdk-native-0ztyrxz2.js → command-jznwpshf.js} +20 -20
- package/dist/chunks/{aisdk-native-8q61w4ba.js → command-k3kxt7h3.js} +4 -4
- package/dist/chunks/{aisdk-native-08jnbt62.js → command-k5j2x39y.js} +34 -34
- package/dist/chunks/{aisdk-native-2j5hbwxg.js → command-k70p9jzb.js} +9 -9
- package/dist/chunks/{aisdk-native-pd1gqwv6.js → command-k9jeyk0g.js} +11 -11
- package/dist/chunks/{aisdk-native-9e5bzkjp.js → command-kb9j3d72.js} +3 -3
- package/dist/chunks/{aisdk-native-kye38093.js → command-kn70k9a0.js} +8 -8
- package/dist/chunks/{aisdk-native-dtst3g8f.js → command-kskgwt5j.js} +20 -20
- package/dist/chunks/{aisdk-native-n0m7e9v2.js → command-kvxhccb2.js} +26 -26
- package/dist/chunks/{aisdk-native-m3fdjcah.js → command-m3fdjcah.js} +1 -1
- package/dist/chunks/{aisdk-native-gnraxr64.js → command-m4wj29m7.js} +32 -32
- package/dist/chunks/{aisdk-native-4749ja0v.js → command-m7g5n11e.js} +26 -26
- package/dist/chunks/{aisdk-native-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{aisdk-native-m6f3t844.js → command-mxr1v1s0.js} +8 -8
- package/dist/chunks/{aisdk-native-400mat65.js → command-n0ayvyx4.js} +42 -42
- package/dist/chunks/{aisdk-native-gn5182s9.js → command-nf29hbg4.js} +4 -4
- package/dist/chunks/{aisdk-native-43exvyp7.js → command-ng8nf19c.js} +18 -18
- package/dist/chunks/{aisdk-native-gvhkxsws.js → command-nhrgfg7r.js} +314 -314
- package/dist/chunks/{aisdk-native-45w4d0zd.js → command-nrxxrv5t.js} +39 -39
- package/dist/chunks/{aisdk-native-hr76s594.js → command-nz5e32c4.js} +19 -19
- package/dist/chunks/{aisdk-native-3ma5q76q.js → command-p52pe20v.js} +32 -32
- package/dist/chunks/{aisdk-native-gnc4m5av.js → command-p6agja35.js} +29 -29
- package/dist/chunks/{aisdk-native-f1cby1h8.js → command-pet9ca1t.js} +20 -20
- package/dist/chunks/{aisdk-native-ygh1mgm9.js → command-pgg99xex.js} +13 -13
- package/dist/chunks/{aisdk-native-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
- package/dist/chunks/{aisdk-native-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{aisdk-native-zd3tnf6p.js → command-pmy7jnrt.js} +7 -7
- package/dist/chunks/command-pqsmxgh1.js +253 -0
- package/dist/chunks/{aisdk-native-57prnz8a.js → command-pwsx8j38.js} +21 -21
- package/dist/chunks/{aisdk-native-zb4ffgsy.js → command-pxv4gm1f.js} +14 -14
- package/dist/chunks/{aisdk-native-q0xm7vwc.js → command-q0xm7vwc.js} +2 -2
- package/dist/chunks/{aisdk-native-jgymmy77.js → command-q1mctc18.js} +21 -21
- package/dist/chunks/{aisdk-native-xr4t3wvj.js → command-q26k1g2q.js} +15 -15
- package/dist/chunks/{aisdk-native-c0x32j5x.js → command-q5x3tfs5.js} +3 -3
- package/dist/chunks/{aisdk-native-nsypx438.js → command-qbvdc98m.js} +5 -5
- package/dist/chunks/{aisdk-native-qnc92qwc.js → command-qnc92qwc.js} +1 -1
- package/dist/chunks/{aisdk-native-qsdy395h.js → command-qsdy395h.js} +1 -1
- package/dist/chunks/{aisdk-native-d2jy7mm1.js → command-r8pva37e.js} +9 -9
- package/dist/chunks/{aisdk-native-h96w7myx.js → command-ratem9wp.js} +45 -45
- package/dist/chunks/{aisdk-native-4akpc52p.js → command-rawbswbr.js} +180 -180
- package/dist/chunks/{aisdk-native-6hync52j.js → command-rcr9b1gj.js} +17 -17
- package/dist/chunks/{aisdk-native-rdw6cm16.js → command-rdw6cm16.js} +1 -1
- package/dist/chunks/{aisdk-native-c8tfdkvr.js → command-regs6j75.js} +17 -17
- package/dist/chunks/{aisdk-native-99tdg231.js → command-rk0tkcks.js} +11 -11
- package/dist/chunks/{aisdk-native-cstv7mkv.js → command-rrpq0de9.js} +12 -12
- package/dist/chunks/{aisdk-native-1qmx9sjh.js → command-ryv0qzzm.js} +5 -5
- package/dist/chunks/{aisdk-native-fbh9pqtx.js → command-rzr29mjv.js} +1 -1
- package/dist/chunks/{aisdk-native-n6jbr756.js → command-sav4gv7k.js} +32 -32
- package/dist/chunks/{aisdk-native-scgrse2b.js → command-scgrse2b.js} +2 -2
- package/dist/chunks/{aisdk-native-r00xt3c5.js → command-srtzbtkb.js} +16 -16
- package/dist/chunks/{aisdk-native-77yxmx52.js → command-ssbmthd8.js} +15 -15
- package/dist/chunks/{aisdk-native-2ez4cmkb.js → command-szap4043.js} +24 -24
- package/dist/chunks/{aisdk-native-by5g92tw.js → command-t5jb7gsh.js} +48 -48
- package/dist/chunks/{aisdk-native-726r25a1.js → command-t5v2m5qp.js} +51 -51
- package/dist/chunks/{aisdk-native-pbfwh0cy.js → command-t6vsspdg.js} +4 -4
- package/dist/chunks/{aisdk-native-9202y59r.js → command-t76zf3wd.js} +11 -11
- package/dist/chunks/{aisdk-native-06x8he3q.js → command-t7n9q6bq.js} +4 -4
- package/dist/chunks/{aisdk-native-tazgh4e4.js → command-tazgh4e4.js} +1 -1
- package/dist/chunks/{aisdk-native-tcezcvh9.js → command-tcezcvh9.js} +1 -1
- package/dist/chunks/{aisdk-native-tdstcens.js → command-tdstcens.js} +1 -1
- package/dist/chunks/{aisdk-native-vjtzpg72.js → command-tfcgd8gv.js} +11 -11
- package/dist/chunks/{aisdk-native-ktjxw1bv.js → command-tffjza62.js} +3 -3
- package/dist/chunks/{aisdk-native-zh2zjdzr.js → command-tgcm2w8t.js} +3 -3
- package/dist/chunks/{aisdk-native-4zcy3jkw.js → command-tgfzkdey.js} +11 -11
- package/dist/chunks/{aisdk-native-zbqc3x9d.js → command-thq7psdp.js} +4 -4
- package/dist/chunks/{aisdk-native-w92k2e0p.js → command-ts23464c.js} +6 -6
- package/dist/chunks/{aisdk-native-mnz93xcd.js → command-tt01v53t.js} +12 -12
- package/dist/chunks/{aisdk-native-fpecnkgp.js → command-v0es1rhs.js} +9 -9
- package/dist/chunks/{aisdk-native-y9r3t0nz.js → command-varc7q5t.js} +4 -4
- package/dist/chunks/{aisdk-native-ng9m30gk.js → command-vbr0nk5p.js} +4 -4
- package/dist/chunks/{aisdk-native-veqvce7d.js → command-veqvce7d.js} +1 -1
- package/dist/chunks/{aisdk-native-eahhehpg.js → command-vkfdnwpx.js} +4 -4
- package/dist/chunks/{aisdk-native-c6xptqrv.js → command-vkfvj8p5.js} +16 -16
- package/dist/chunks/{aisdk-native-ra4hc0m4.js → command-vkhrv3va.js} +16 -16
- package/dist/chunks/{aisdk-native-0ckz0kcg.js → command-vnrazcbq.js} +20 -20
- package/dist/chunks/{aisdk-native-sjgsw2hk.js → command-vpm8vpz0.js} +2 -2
- package/dist/chunks/{aisdk-native-9e4j78a5.js → command-vrfdq27c.js} +8 -8
- package/dist/chunks/command-vttj0m2g.js +507 -0
- package/dist/chunks/{aisdk-native-97w5rk9e.js → command-vwpcpzep.js} +8 -8
- package/dist/chunks/{aisdk-native-vzs5sf6e.js → command-vzs5sf6e.js} +1 -1
- package/dist/chunks/{aisdk-native-57b9ws8p.js → command-w19d8598.js} +4 -4
- package/dist/chunks/{aisdk-native-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{aisdk-native-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{aisdk-native-rprrwjpj.js → command-wf8fk5s2.js} +36 -36
- package/dist/chunks/{aisdk-native-qepyfg6g.js → command-whxa6a21.js} +27 -27
- package/dist/chunks/{aisdk-native-fdmpc3vm.js → command-ws8t4p7q.js} +11 -11
- package/dist/chunks/{aisdk-native-gt4yqs4w.js → command-x26tb1td.js} +45 -45
- package/dist/chunks/{aisdk-native-xkntkrq7.js → command-xkntkrq7.js} +2 -2
- package/dist/chunks/{aisdk-native-9papzb1x.js → command-xqje5s02.js} +18 -18
- package/dist/chunks/{aisdk-native-xyafkbt0.js → command-xyafkbt0.js} +3 -3
- package/dist/chunks/{aisdk-native-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
- package/dist/chunks/{aisdk-native-1x75wf9g.js → command-y906m0ew.js} +5 -5
- package/dist/chunks/{aisdk-native-jhzr7srw.js → command-yayrp2fz.js} +3 -3
- package/dist/chunks/{aisdk-native-mncjczse.js → command-ydpy2trk.js} +20 -20
- package/dist/chunks/{aisdk-native-x92jmdhy.js → command-yhggpj30.js} +7 -7
- package/dist/chunks/{aisdk-native-crjczd6m.js → command-yjtk4xnq.js} +6 -6
- package/dist/chunks/{aisdk-native-rz911c4y.js → command-ykt494b9.js} +4 -4
- package/dist/chunks/{aisdk-native-mx0srs18.js → command-ynp0dznr.js} +21 -21
- package/dist/chunks/{aisdk-native-nx0rhcr0.js → command-yp7yjh6a.js} +25 -25
- package/dist/chunks/{aisdk-native-57r30dv2.js → command-yq21262d.js} +4 -4
- package/dist/chunks/{aisdk-native-rrgbm1gv.js → command-yy608ky9.js} +15 -15
- package/dist/chunks/{aisdk-native-g3n6nq7m.js → command-yzh9x2r9.js} +4 -4
- package/dist/chunks/{aisdk-native-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
- package/dist/chunks/{aisdk-native-8w9cdjf3.js → command-zjvgyew4.js} +15 -15
- package/dist/chunks/{aisdk-native-ymxtxbtw.js → command-zqdnbah7.js} +7 -7
- package/dist/chunks/{aisdk-native-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
- package/dist/chunks/{aisdk-native-yrcj3v3g.js → command-zsr4wwhv.js} +4 -4
- package/dist/chunks/{aisdk-native-kc8ncmcx.js → command-zw0xjrjg.js} +15 -15
- package/dist/chunks/{aisdk-native-zxq2ej10.js → command-zxq2ej10.js} +1 -1
- package/dist/chunks/{aisdk-native-qth6xygn.js → command-zy25gpef.js} +27 -27
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +152 -152
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- 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 +115 -115
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +100 -100
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +87 -87
- package/dist/generate.js +99 -99
- package/dist/git.js +10 -10
- 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 +91 -91
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +74 -74
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +1 -1
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +94 -94
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +70 -70
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +84 -84
- package/dist/plugin/vcs/hg.js +84 -84
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +214 -214
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +152 -152
- 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 +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- 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 +113 -113
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +201 -201
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +208 -208
- package/dist/session/usage.js +1 -1
- package/dist/session.js +205 -205
- 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 +7 -7
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +89 -89
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- 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 +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/aisdk-native-a7z9sera.js +0 -253
- package/dist/chunks/aisdk-native-an8w4w7e.js +0 -26
- package/dist/chunks/aisdk-native-bpkd89dr.js +0 -507
- package/dist/chunks/aisdk-native-q509s3k3.js +0 -18
- /package/dist/chunks/{aisdk-native-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{aisdk-native-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{aisdk-native-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{aisdk-native-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{aisdk-native-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{aisdk-native-24dcb14g.js → command-24dcb14g.js} +0 -0
- /package/dist/chunks/{aisdk-native-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{aisdk-native-2axfhc9x.js → command-2axfhc9x.js} +0 -0
- /package/dist/chunks/{aisdk-native-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{aisdk-native-34c7v6d4.js → command-34c7v6d4.js} +0 -0
- /package/dist/chunks/{aisdk-native-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{aisdk-native-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{aisdk-native-3t0ybcrp.js → command-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{aisdk-native-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{aisdk-native-3w5fmr99.js → command-3w5fmr99.js} +0 -0
- /package/dist/chunks/{aisdk-native-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{aisdk-native-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{aisdk-native-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{aisdk-native-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{aisdk-native-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{aisdk-native-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{aisdk-native-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{aisdk-native-5qd3pb7m.js → command-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{aisdk-native-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{aisdk-native-6q2bdcd1.js → command-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{aisdk-native-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{aisdk-native-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{aisdk-native-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{aisdk-native-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{aisdk-native-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{aisdk-native-8wj87zfr.js → command-8wj87zfr.js} +0 -0
- /package/dist/chunks/{aisdk-native-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{aisdk-native-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{aisdk-native-a6k6eb26.js → command-a6k6eb26.js} +0 -0
- /package/dist/chunks/{aisdk-native-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{aisdk-native-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{aisdk-native-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{aisdk-native-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{aisdk-native-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{aisdk-native-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{aisdk-native-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{aisdk-native-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{aisdk-native-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{aisdk-native-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{aisdk-native-dajrwvna.js → command-dajrwvna.js} +0 -0
- /package/dist/chunks/{aisdk-native-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{aisdk-native-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{aisdk-native-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{aisdk-native-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{aisdk-native-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{aisdk-native-ec1grn59.js → command-ec1grn59.js} +0 -0
- /package/dist/chunks/{aisdk-native-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{aisdk-native-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{aisdk-native-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{aisdk-native-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{aisdk-native-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{aisdk-native-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{aisdk-native-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{aisdk-native-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{aisdk-native-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{aisdk-native-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{aisdk-native-gftt206x.js → command-gftt206x.js} +0 -0
- /package/dist/chunks/{aisdk-native-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{aisdk-native-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{aisdk-native-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{aisdk-native-jjkms2e6.js → command-jjkms2e6.js} +0 -0
- /package/dist/chunks/{aisdk-native-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{aisdk-native-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{aisdk-native-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{aisdk-native-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{aisdk-native-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{aisdk-native-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{aisdk-native-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{aisdk-native-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{aisdk-native-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{aisdk-native-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{aisdk-native-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{aisdk-native-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{aisdk-native-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{aisdk-native-qg3g05ea.js → command-qg3g05ea.js} +0 -0
- /package/dist/chunks/{aisdk-native-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{aisdk-native-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{aisdk-native-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{aisdk-native-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{aisdk-native-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{aisdk-native-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{aisdk-native-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{aisdk-native-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{aisdk-native-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{aisdk-native-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{aisdk-native-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{aisdk-native-y8cydn3q.js → command-y8cydn3q.js} +0 -0
- /package/dist/chunks/{aisdk-native-y8f7s663.js → command-y8f7s663.js} +0 -0
- /package/dist/chunks/{aisdk-native-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{aisdk-native-ym463w8f.js → command-ym463w8f.js} +0 -0
- /package/dist/chunks/{aisdk-native-z5v4ffb3.js → command-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{aisdk-native-z9919s4g.js → command-z9919s4g.js} +0 -0
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service80
|
|
9
|
+
} from "./command-hcqqnn43.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service56
|
|
12
|
+
} from "./command-gw4vacmf.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service20
|
|
16
|
+
} from "./command-0479rtb7.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./command-q1mctc18.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service66
|
|
26
|
+
} from "./command-ratem9wp.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service23
|
|
29
|
+
} from "./command-xqje5s02.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./command-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input2,
|
|
39
|
+
Output: () => Output2,
|
|
40
|
+
Plugin: () => Plugin19,
|
|
41
|
+
name: () => name2,
|
|
42
|
+
toModelContent: () => toModelContent2
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name2 = "grep";
|
|
48
|
+
var Input2 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input6 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output2 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent2 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent3 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin19 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service56;
|
|
90
|
+
const ripgrep = yield* Service20;
|
|
91
|
+
const location = yield* Service80;
|
|
92
|
+
const access = yield* Service23;
|
|
93
|
+
const permission = yield* Service66;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name2,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input2,
|
|
99
|
+
output: Output2,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name2,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin42 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent2(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin42 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name2, Input2, Output2, toModelContent2, Plugin19, exports_grep };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
+
Service82,
|
|
9
|
+
node86
|
|
10
|
+
} from "./command-rrpq0de9.js";
|
|
11
|
+
import {
|
|
8
12
|
Service80,
|
|
9
13
|
node84
|
|
10
|
-
} from "./
|
|
11
|
-
import {
|
|
12
|
-
Service78,
|
|
13
|
-
node82
|
|
14
|
-
} from "./aisdk-native-95630v8f.js";
|
|
14
|
+
} from "./command-hcqqnn43.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./command-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
25
|
Error: () => Error5,
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
26
|
+
ID: () => ID11,
|
|
27
|
+
Service: () => Service71,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node75,
|
|
30
30
|
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,7 +34,7 @@ import path from "path";
|
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID11 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
39
|
class Error5 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
@@ -43,13 +43,13 @@ class Error5 extends Schema.TaggedError()("Snapshot.Error", {
|
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service71 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service82;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service80;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID11.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -138,14 +138,14 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service71.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node75 = makeLocationNode({
|
|
144
|
+
service: Service71,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node86, Global.node, node84]
|
|
147
147
|
});
|
|
148
|
-
var noopLayer3 = Layer.succeed(
|
|
148
|
+
var noopLayer3 = Layer.succeed(Service71, Service71.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -163,4 +163,4 @@ function failure(operation, cause) {
|
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID11, Error5, Service71, node75, noopLayer3, exports_snapshot2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info16,
|
|
6
|
+
ID6,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-kvxhccb2.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service53
|
|
11
|
+
} from "./command-esdp39g9.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
17
|
var exports_skill = {};
|
|
18
18
|
__export(exports_skill, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin17,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
23
|
SkillPlugin: () => exports_skill
|
|
24
24
|
});
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin17 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
434
|
-
id:
|
|
433
|
+
editor.add(Info16.make({
|
|
434
|
+
id: ID6.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
441
|
-
id:
|
|
440
|
+
editor.add(Info16.make({
|
|
441
|
+
id: ID6.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service53;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin17, exports_skill };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-5k95x8ex.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-f75zav2x.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
16
|
+
ID: () => ID8,
|
|
17
|
+
Info: () => Info17,
|
|
18
18
|
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service67,
|
|
21
|
+
node: () => node71
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID8 = PermissionSaved.ID;
|
|
29
|
+
var Info17 = PermissionSaved.Info;
|
|
30
30
|
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service67 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service84).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID8.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service67.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node71 = makeGlobalNode({ service: Service67, layer, deps: [node88] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID8, Info17, ListInput4, AddInput2, Service67, node71, exports_saved };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service52,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node54
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service52 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service52.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node54 = makeLocationNode({ service: Service52, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service52, node54, exports_image2 };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./command-rzr29mjv.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
9
|
make24,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-bjxafcsc.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service76
|
|
4
|
+
} from "./command-nhrgfg7r.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service53
|
|
7
|
+
} from "./command-esdp39g9.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service76;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service53);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./command-vnrazcbq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service66
|
|
6
|
+
} from "./command-ratem9wp.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input14,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin50,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name14,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name14 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input14 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin50 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service78;
|
|
57
|
+
const permission = yield* Service66;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input14,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -117,4 +117,4 @@ function toField(question, index) {
|
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
export {
|
|
120
|
+
export { name14, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./command-hcqqnn43.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service53
|
|
6
|
+
} from "./command-esdp39g9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service27
|
|
9
|
+
} from "./command-yy608ky9.js";
|
|
10
10
|
import {
|
|
11
11
|
make11
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-a1gpj94z.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./command-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/formatter.ts
|
|
21
21
|
var exports_formatter = {};
|
|
22
22
|
__export(exports_formatter, {
|
|
23
23
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin38
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -29,14 +29,14 @@ import { Global } from "@opencode/util/global";
|
|
|
29
29
|
import { Npm } from "@opencode/util/npm";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
31
|
import { Effect } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin38 = define({
|
|
33
33
|
id: "opencode.config.formatter",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const config = yield*
|
|
36
|
-
const formatter = yield*
|
|
35
|
+
const config = yield* Service53;
|
|
36
|
+
const formatter = yield* Service27;
|
|
37
37
|
const fs = yield* FSUtil.Service;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service80;
|
|
40
40
|
const npm = yield* Npm.Service;
|
|
41
41
|
const processes = yield* AppProcess.Service;
|
|
42
42
|
const loaded = yield* observe2(config, ctx.event, formatter.reload());
|
|
@@ -85,4 +85,4 @@ function resolve(entries) {
|
|
|
85
85
|
}, undefined);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Plugin38, exports_formatter };
|