@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,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-c8v3em4p.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-yzh9x2r9.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event20
|
|
10
|
+
} from "./command-125dpnt1.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-at66rx22.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID13
|
|
17
|
+
} from "./command-nhrgfg7r.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID12,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./command-bdw1f655.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./command-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID13.make("digitalocean");
|
|
31
|
+
var integrationID = ID14.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID12.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-42sph0rn.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/lmstudio.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
|
|
|
19
19
|
}).pipe(Schema.optional)
|
|
20
20
|
});
|
|
21
21
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
22
|
-
var
|
|
22
|
+
var make5 = createLocalProviderPlugin2({
|
|
23
23
|
id: "opencode.provider.lmstudio",
|
|
24
24
|
providerID: "lmstudio",
|
|
25
25
|
name: "LM Studio",
|
|
@@ -38,6 +38,6 @@ var make4 = createLocalProviderPlugin2({
|
|
|
38
38
|
context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
|
-
var LMStudioPlugin2 =
|
|
41
|
+
var LMStudioPlugin2 = make5();
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { make5, LMStudioPlugin2 };
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-1dazxqgg.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service80,
|
|
18
|
+
node84
|
|
19
|
+
} from "./command-hcqqnn43.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service57,
|
|
22
|
+
node60
|
|
23
|
+
} from "./command-2wk1bt19.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./command-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service56,
|
|
33
|
+
node: () => node59
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service56,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node59,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service56 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service80;
|
|
66
|
+
const workspace = yield* Service57;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service56.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node59 = makeLocationNode({
|
|
71
|
+
service: Service56,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node84, node60]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service56, node59, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event9,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options7,
|
|
17
|
+
Service: () => Service54,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
20
|
configured: () => configured7,
|
|
@@ -22,7 +22,7 @@ __export(exports_watcher, {
|
|
|
22
22
|
layer: () => layer20,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node56,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event9 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load4());
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options7 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service54 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var layer20 = (options) => Layer.effect(
|
|
65
|
+
var layer20 = (options) => Layer.effect(Service54, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service54.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer20 = (options) => Layer.effect(Service47, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service54.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -131,7 +131,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
131
131
|
});
|
|
132
132
|
const context = yield* Layer.build(layer20().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service54).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service54, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -165,9 +165,9 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
167
|
function configured7(options) {
|
|
168
|
-
return makeGlobalNode({ service:
|
|
168
|
+
return makeGlobalNode({ service: Service54, layer: layer20(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node56 = configured7();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event9, hasNativeBinding2, Native3, Options7, Service54, Test3, layer20, testLayer3, nativeLayer2, nativeNode2, configured7, node56, exports_watcher };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./command-5pmqztyy.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info27,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref4,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service80,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node84,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info27, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service80 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node84 = LayerNode.unbound(Service80, tags.values.location);
|
|
27
|
+
var layer = (ref) => Layer.effect(Service80, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service81;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory);
|
|
30
|
-
return
|
|
30
|
+
return Service80.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service78, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service80,
|
|
39
39
|
layer: layer(ref),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node85]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info27, Ref4, response2, Service80, node84, boundNode2, exports_location };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./command-esdp39g9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service10
|
|
6
|
+
} from "./command-djszqvmq.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
|
-
var
|
|
16
|
-
__export(
|
|
17
|
-
ConfigLocationWatcherPlugin: () =>
|
|
18
|
-
Plugin: () =>
|
|
15
|
+
var exports_location_watcher2 = {};
|
|
16
|
+
__export(exports_location_watcher2, {
|
|
17
|
+
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
+
Plugin: () => Plugin41
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin41 = 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* Service53;
|
|
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) {
|
|
@@ -35,4 +35,4 @@ var Plugin28 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin41, exports_location_watcher2 };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-yzh9x2r9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./command-hcqqnn43.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service56,
|
|
11
|
+
node59
|
|
12
|
+
} from "./command-gw4vacmf.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service55,
|
|
18
18
|
args2,
|
|
19
19
|
node58
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./command-tgfzkdey.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service69,
|
|
23
|
+
node73
|
|
24
|
+
} from "./command-0xezjjjn.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service51,
|
|
27
|
+
node53
|
|
28
|
+
} from "./command-vwpcpzep.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./command-vpm8vpz0.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service53,
|
|
35
|
+
node55
|
|
36
|
+
} from "./command-esdp39g9.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./command-0kjmpvw2.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./command-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError6,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service50,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node52
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
|
63
63
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
65
|
import { Global } from "@opencode/util/global";
|
|
66
|
-
class
|
|
66
|
+
class NotFoundError6 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
67
67
|
id: Shell.ID
|
|
68
68
|
}) {
|
|
69
69
|
}
|
|
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
|
|
|
71
71
|
var RETENTION2 = Duration.days(7);
|
|
72
72
|
var DIRECTORY2 = "shell";
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service50 extends Context.Service()("@opencode/Shell") {
|
|
75
75
|
}
|
|
76
76
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
77
77
|
const fs = yield* FSUtil.Service;
|
|
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
87
87
|
layer: cleanupLayer,
|
|
88
88
|
deps: [FSUtil.node, Global.node]
|
|
89
89
|
});
|
|
90
|
-
var layer = () => Layer.effect(
|
|
90
|
+
var layer = () => Layer.effect(Service50, Effect.gen(function* () {
|
|
91
91
|
const bus = yield* Service83;
|
|
92
|
-
const location = yield*
|
|
92
|
+
const location = yield* Service80;
|
|
93
93
|
const global = yield* Global.Service;
|
|
94
|
-
const shell = yield*
|
|
95
|
-
const environment = yield*
|
|
96
|
-
const hooks = yield*
|
|
97
|
-
const environments = yield*
|
|
98
|
-
const config = yield*
|
|
94
|
+
const shell = yield* Service55;
|
|
95
|
+
const environment = yield* Service56;
|
|
96
|
+
const hooks = yield* Service69;
|
|
97
|
+
const environments = yield* Service51;
|
|
98
|
+
const config = yield* Service53;
|
|
99
99
|
const context = yield* Effect.context();
|
|
100
100
|
const runFork = Effect.runForkWith(context);
|
|
101
101
|
const commands = new Map;
|
|
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service44, Effect.gen(function* () {
|
|
|
116
116
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
117
117
|
const command = commands.get(id);
|
|
118
118
|
if (!command)
|
|
119
|
-
return yield* new
|
|
119
|
+
return yield* new NotFoundError6({ id });
|
|
120
120
|
return command;
|
|
121
121
|
});
|
|
122
122
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service44, Effect.gen(function* () {
|
|
|
129
129
|
commands.delete(id);
|
|
130
130
|
if (command.timeoutFiber)
|
|
131
131
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
132
|
-
yield* Deferred.fail(command.done, new
|
|
132
|
+
yield* Deferred.fail(command.done, new NotFoundError6({ id }));
|
|
133
133
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
134
134
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
135
135
|
});
|
|
@@ -323,22 +323,22 @@ var layer = () => Layer.effect(Service44, Effect.gen(function* () {
|
|
|
323
323
|
const command = yield* Deferred.await(ready);
|
|
324
324
|
return command.info;
|
|
325
325
|
});
|
|
326
|
-
return
|
|
326
|
+
return Service50.of({ create, list, get, wait, result, timeout, output, remove });
|
|
327
327
|
}));
|
|
328
|
-
var
|
|
329
|
-
service:
|
|
328
|
+
var node52 = makeLocationNode({
|
|
329
|
+
service: Service50,
|
|
330
330
|
layer: layer(),
|
|
331
331
|
deps: [
|
|
332
332
|
node87,
|
|
333
|
-
|
|
333
|
+
node84,
|
|
334
334
|
Global.node,
|
|
335
335
|
node58,
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
336
|
+
node59,
|
|
337
|
+
node73,
|
|
338
|
+
node53,
|
|
339
|
+
node55,
|
|
340
340
|
cleanupNode
|
|
341
341
|
]
|
|
342
342
|
});
|
|
343
343
|
|
|
344
|
-
export {
|
|
344
|
+
export { NotFoundError6, RETENTION2, DIRECTORY2, Service50, cleanup2, node52, exports_shell4 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-c8v3em4p.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service79
|
|
7
|
+
} from "./command-125dpnt1.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID14,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-at66rx22.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID13,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-nhrgfg7r.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
24
24
|
var pollingSafetyMargin = 3000;
|
|
25
25
|
var browserMethodID = MethodID2.make("browser");
|
|
26
26
|
var deviceMethodID = MethodID2.make("device");
|
|
27
|
-
var providerID =
|
|
27
|
+
var providerID = ID13.make("xai");
|
|
28
28
|
var Token = Schema.Struct({
|
|
29
29
|
access_token: Schema.String,
|
|
30
30
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
|
|
|
44
44
|
});
|
|
45
45
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
46
46
|
var device = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID14.make("xai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: deviceMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -69,8 +69,8 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
73
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
72
|
+
const credentials = yield* Service79;
|
|
73
|
+
yield* Effect.forEach(yield* credentials.list(ID14.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
76
76
|
return credentials.update(credential.id, {
|