@opencode/core 0.0.0-dev-21339 → 0.0.0-dev-21340
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{mime-vt5qa7dz.js → form-02sakfs1.js} +9 -9
- package/dist/chunks/{mime-26470n97.js → form-0bkg5nam.js} +34 -34
- package/dist/chunks/{mime-ym8x4whc.js → form-0bmnjpfs.js} +6 -6
- package/dist/chunks/{mime-rhjbct0v.js → form-0gdmqesm.js} +4 -4
- package/dist/chunks/{mime-v210v162.js → form-0javqkgf.js} +9 -9
- package/dist/chunks/{mime-hx6xg82e.js → form-0jqywv5j.js} +8 -8
- package/dist/chunks/{mime-n0j9akmr.js → form-0p4mvthy.js} +15 -15
- package/dist/chunks/{mime-cmwcrfjs.js → form-0qaxnjep.js} +11 -11
- package/dist/chunks/{mime-6sv1j7p1.js → form-0r36wfjw.js} +19 -19
- package/dist/chunks/{mime-frq3w790.js → form-0s7awbhn.js} +3 -3
- package/dist/chunks/{mime-0vbcp93d.js → form-0vbcp93d.js} +2 -2
- package/dist/chunks/{mime-kk8h1mek.js → form-15nepkqg.js} +8 -8
- package/dist/chunks/{mime-f81gjvr6.js → form-16ptnzp4.js} +28 -28
- package/dist/chunks/{mime-1ep4rre3.js → form-1ep4rre3.js} +1 -1
- package/dist/chunks/{mime-w02hg0x9.js → form-1hqqab4s.js} +11 -11
- package/dist/chunks/{mime-d960kgxh.js → form-1krmxpby.js} +4 -4
- package/dist/chunks/{mime-3h8ybeqf.js → form-1n047p2a.js} +18 -18
- package/dist/chunks/{mime-ayydppvk.js → form-1tcnrg0s.js} +17 -17
- package/dist/chunks/{mime-jv5as095.js → form-1v8j23j1.js} +44 -44
- package/dist/chunks/{mime-88w3pbz4.js → form-27jfxer4.js} +3 -3
- package/dist/chunks/{mime-kw5x1ws0.js → form-2aqgybcp.js} +21 -21
- package/dist/chunks/{mime-qafp7hve.js → form-2jybnyep.js} +16 -16
- package/dist/chunks/{mime-9q64cs7z.js → form-2nragry7.js} +17 -17
- package/dist/chunks/{mime-gjwgx2c5.js → form-2sejkfem.js} +9 -9
- package/dist/chunks/{mime-a4kefsmz.js → form-2tzz6wa4.js} +52 -52
- package/dist/chunks/{mime-a5rstpyx.js → form-2wzyh2nh.js} +18 -18
- package/dist/chunks/{mime-jyegf6tw.js → form-2ypbq784.js} +11 -11
- package/dist/chunks/form-360h9knm.js +26 -0
- package/dist/chunks/{mime-9thqdc0e.js → form-361k30qc.js} +30 -30
- package/dist/chunks/{mime-3hepkmqq.js → form-3hepkmqq.js} +1 -1
- package/dist/chunks/{mime-3hwn7j4h.js → form-3hwn7j4h.js} +2 -2
- package/dist/chunks/{mime-2j2zyrdy.js → form-3n1993ym.js} +11 -11
- package/dist/chunks/{mime-3smtnn6g.js → form-3smtnn6g.js} +1 -1
- package/dist/chunks/{mime-3tvqynh2.js → form-3tvqynh2.js} +1 -1
- package/dist/chunks/{mime-t7sgq6th.js → form-3xzhnrg0.js} +23 -23
- package/dist/chunks/{mime-3zsf4n22.js → form-3zsf4n22.js} +1 -1
- package/dist/chunks/{mime-96r8ntpe.js → form-43833zpv.js} +4 -4
- package/dist/chunks/{mime-75zn4nez.js → form-482mympf.js} +30 -30
- package/dist/chunks/{mime-0v987vhe.js → form-4eh83hae.js} +25 -25
- package/dist/chunks/{mime-apg1ay16.js → form-4fw7esra.js} +4 -4
- package/dist/chunks/{mime-q5hse70z.js → form-4hfeq7yc.js} +6 -6
- package/dist/chunks/{mime-aejj3j3x.js → form-4krksnp0.js} +24 -24
- package/dist/chunks/{mime-3ppptnan.js → form-4mwpykj0.js} +6 -6
- package/dist/chunks/{mime-4edh1ybr.js → form-4n9d0tgx.js} +37 -37
- package/dist/chunks/{mime-ggxg7af5.js → form-50aa1a66.js} +30 -30
- package/dist/chunks/{mime-7tf8dtmq.js → form-54bvb9cj.js} +27 -27
- package/dist/chunks/{mime-54ma36ye.js → form-54ma36ye.js} +1 -1
- package/dist/chunks/{mime-mskae7ye.js → form-54q14agg.js} +15 -15
- package/dist/chunks/{mime-3nx13vd1.js → form-55m81wnp.js} +12 -12
- package/dist/chunks/{mime-cbh1pab3.js → form-55xzanda.js} +21 -21
- package/dist/chunks/{mime-tat11k01.js → form-5e1pzs32.js} +9 -9
- package/dist/chunks/{mime-py33dmtd.js → form-5g85rz3q.js} +24 -24
- package/dist/chunks/{mime-5m9w47nd.js → form-5m9w47nd.js} +1 -1
- package/dist/chunks/{mime-nedwb6sh.js → form-5wr9n5bc.js} +18 -18
- package/dist/chunks/{mime-35tct5cx.js → form-5xhehs7n.js} +10 -10
- package/dist/chunks/{mime-cdfyyb39.js → form-61s75xk5.js} +11 -11
- package/dist/chunks/{mime-fdfn6aez.js → form-65qcyyma.js} +7 -7
- package/dist/chunks/{mime-xb5ds1z6.js → form-67k81bmf.js} +3 -3
- package/dist/chunks/{mime-6827pfxn.js → form-6827pfxn.js} +1 -1
- package/dist/chunks/{mime-eeesey6v.js → form-6n9djq0h.js} +11 -11
- package/dist/chunks/{mime-6pc27hjz.js → form-6pc27hjz.js} +2 -2
- package/dist/chunks/{mime-mvfdckk2.js → form-6wg7wrda.js} +6 -6
- package/dist/chunks/{mime-6xb47vfp.js → form-6xb47vfp.js} +1 -1
- package/dist/chunks/{mime-9kh6qrvv.js → form-6xwkk55c.js} +9 -9
- package/dist/chunks/{mime-2pyykhxq.js → form-6yb97afg.js} +8 -8
- package/dist/chunks/{mime-4xpgt2w9.js → form-6yz0wx8n.js} +5 -5
- package/dist/chunks/{mime-775gj3j1.js → form-775gj3j1.js} +2 -2
- package/dist/chunks/{mime-d0t8fgr2.js → form-78y8a3rg.js} +9 -9
- package/dist/chunks/{mime-7bmhse3q.js → form-7bmhse3q.js} +1 -1
- package/dist/chunks/{mime-2kt5zs07.js → form-7dx0mp5a.js} +4 -4
- package/dist/chunks/{mime-jks80q0e.js → form-7f8j414w.js} +18 -18
- package/dist/chunks/{mime-e5dpp224.js → form-7refdtwv.js} +2 -2
- package/dist/chunks/{mime-gfv74hsb.js → form-7zzdk6j1.js} +321 -321
- package/dist/chunks/{mime-6hw2byvg.js → form-80zvrhj7.js} +22 -22
- package/dist/chunks/{mime-w1eejvng.js → form-84txncab.js} +5 -5
- package/dist/chunks/{mime-bj5rwn3p.js → form-8hpy5qx6.js} +32 -32
- package/dist/chunks/{mime-8m6m0r52.js → form-8m6m0r52.js} +1 -1
- package/dist/chunks/{mime-8mywswrd.js → form-8mywswrd.js} +1 -1
- package/dist/chunks/{mime-h1hqyy2d.js → form-8xh436hj.js} +4 -4
- package/dist/chunks/{mime-6bkjad7x.js → form-91js1pam.js} +24 -24
- package/dist/chunks/{mime-3a83a0n4.js → form-92swnv4m.js} +7 -7
- package/dist/chunks/{mime-8qes4zes.js → form-962zhnx1.js} +30 -30
- package/dist/chunks/{mime-atb0xsyr.js → form-99x6s37t.js} +24 -24
- package/dist/chunks/form-9sh4wc5j.js +18 -0
- package/dist/chunks/{mime-jjax4c95.js → form-9sjyw1m6.js} +5 -5
- package/dist/chunks/{mime-7v6vae4w.js → form-a20pjse5.js} +3 -3
- package/dist/chunks/{mime-a3c7ahw6.js → form-a3c7ahw6.js} +1 -1
- package/dist/chunks/{mime-cn7axejn.js → form-a4f079eb.js} +21 -21
- package/dist/chunks/{mime-27j7atwd.js → form-a8nkje97.js} +11 -11
- package/dist/chunks/{mime-gsy7xxhc.js → form-aat25gmm.js} +19 -19
- package/dist/chunks/{mime-z60xwe59.js → form-abnya1q3.js} +12 -12
- package/dist/chunks/{mime-addxnjmp.js → form-addxnjmp.js} +1 -1
- package/dist/chunks/{mime-anbvkb41.js → form-adnpvf0n.js} +79 -79
- package/dist/chunks/{mime-gd5kscdp.js → form-am8khs7c.js} +44 -44
- package/dist/chunks/{mime-2q3hah95.js → form-ardm1wrc.js} +45 -45
- package/dist/chunks/{mime-363xf73s.js → form-aza9mb39.js} +14 -14
- package/dist/chunks/{mime-p6tgyr8a.js → form-b0frvc6a.js} +24 -24
- package/dist/chunks/{mime-1a3qc000.js → form-b2zs7akg.js} +43 -43
- package/dist/chunks/{mime-1ze9gtzp.js → form-b89refpb.js} +4 -4
- package/dist/chunks/{mime-5mcb4r82.js → form-bbk4sw4d.js} +20 -20
- package/dist/chunks/{mime-yrh91m59.js → form-bgg5jk8p.js} +6 -6
- package/dist/chunks/{mime-bjx1sjef.js → form-bjx1sjef.js} +2 -2
- package/dist/chunks/{mime-k2an5y80.js → form-bqsaj0qs.js} +16 -16
- package/dist/chunks/{mime-ekeymhmr.js → form-bvdpv0z0.js} +28 -28
- package/dist/chunks/{mime-rp9zszvz.js → form-bvse6ds2.js} +31 -31
- package/dist/chunks/{mime-c1fqxshp.js → form-c1fqxshp.js} +3 -3
- package/dist/chunks/{mime-q8qtzweg.js → form-cd4peczh.js} +33 -33
- package/dist/chunks/{mime-btnda7dc.js → form-cf8mxv8s.js} +20 -20
- package/dist/chunks/{mime-ktct6gj7.js → form-ckh33p24.js} +24 -24
- package/dist/chunks/{mime-p37cw4rj.js → form-cmwkp3r5.js} +8 -8
- package/dist/chunks/{mime-jna5j85n.js → form-cqfbx4h9.js} +3 -3
- package/dist/chunks/{mime-591vmycm.js → form-cr0bat6b.js} +16 -16
- package/dist/chunks/{mime-rw06gb30.js → form-ct5beqmq.js} +10 -10
- package/dist/chunks/{mime-tvtrzq2c.js → form-d2edjj1v.js} +11 -11
- package/dist/chunks/{mime-dbh0v57c.js → form-dbt3qtfn.js} +24 -24
- package/dist/chunks/{mime-kecqjjhm.js → form-dhb2hta4.js} +5 -5
- package/dist/chunks/{mime-xhxra16p.js → form-dk6zbvkj.js} +2 -2
- package/dist/chunks/{mime-drwq78ky.js → form-drwq78ky.js} +1 -1
- package/dist/chunks/{mime-awzs35ex.js → form-dtkj6t2x.js} +34 -34
- package/dist/chunks/{mime-5qd3pb7m.js → form-e3qxr5gk.js} +2 -2
- package/dist/chunks/{mime-fww2ha2b.js → form-e7a0tnjd.js} +10 -10
- package/dist/chunks/{mime-nma959mg.js → form-e80seqcp.js} +3 -3
- package/dist/chunks/{mime-5k1a8c9n.js → form-ebkydghs.js} +3 -3
- package/dist/chunks/{mime-ys25sak2.js → form-eeeprd1m.js} +13 -13
- package/dist/chunks/{mime-eej6y6fw.js → form-eej6y6fw.js} +2 -2
- package/dist/chunks/{mime-ef5x83kb.js → form-ef5x83kb.js} +1 -1
- package/dist/chunks/{mime-d1dj0fst.js → form-egwezsn2.js} +30 -30
- package/dist/chunks/{mime-r4wr7qga.js → form-ez4eysx7.js} +20 -20
- package/dist/chunks/{mime-gkj5aw2x.js → form-f3rpkqey.js} +22 -22
- package/dist/chunks/{mime-yab6aww8.js → form-fbvxegff.js} +3 -3
- package/dist/chunks/{mime-qgn6gcr1.js → form-fcrkznn8.js} +5 -5
- package/dist/chunks/{mime-fcy631f0.js → form-fcy631f0.js} +1 -1
- package/dist/chunks/{mime-65bdep3p.js → form-fh8k3p5m.js} +13 -13
- package/dist/chunks/{mime-tt8gc4fv.js → form-fn9t717r.js} +6 -6
- package/dist/chunks/{mime-m7fzbc2h.js → form-frnhj82z.js} +11 -11
- package/dist/chunks/{mime-hq3c8me3.js → form-fxaymqdw.js} +4 -4
- package/dist/chunks/{mime-znjawe4y.js → form-g2brvksk.js} +27 -27
- package/dist/chunks/{mime-2fmt2z51.js → form-g454qmhn.js} +36 -36
- package/dist/chunks/{mime-dcbq9ht0.js → form-g6f94y0n.js} +17 -17
- package/dist/chunks/{mime-tr3z8g9z.js → form-g8j30dqw.js} +19 -19
- package/dist/chunks/{mime-gd4qta3r.js → form-gd4qta3r.js} +1 -1
- package/dist/chunks/{mime-05jxx6vq.js → form-h0et906m.js} +41 -41
- package/dist/chunks/{mime-4msn1dn7.js → form-h48rpa6y.js} +11 -11
- package/dist/chunks/{mime-h6vf3j39.js → form-h6vf3j39.js} +1 -1
- package/dist/chunks/{mime-fdms3n6w.js → form-h71w788e.js} +9 -9
- package/dist/chunks/{mime-dkbgdzkv.js → form-h9eccewq.js} +8 -8
- package/dist/chunks/{mime-pb68r9g5.js → form-he8gezxy.js} +23 -23
- package/dist/chunks/{mime-by1qby35.js → form-hfnb13cj.js} +1 -1
- package/dist/chunks/{mime-hgz4x7wa.js → form-hgz4x7wa.js} +1 -1
- package/dist/chunks/{mime-a3t8a4ek.js → form-hhm4rk5s.js} +2 -2
- package/dist/chunks/{mime-hn7zz1xj.js → form-hxpm8s3f.js} +6 -6
- package/dist/chunks/{mime-f3e0sx8s.js → form-j2ahjm38.js} +9 -9
- package/dist/chunks/{mime-6xp6e7ew.js → form-j73xx5v2.js} +12 -12
- package/dist/chunks/{mime-veq7cj7z.js → form-j9dnpnxm.js} +68 -68
- package/dist/chunks/{mime-n9mqnacb.js → form-jbr6yd38.js} +20 -20
- package/dist/chunks/{mime-j0bd37fk.js → form-jcj17ehp.js} +17 -17
- package/dist/chunks/{mime-45fhfyb6.js → form-jdthh91w.js} +16 -16
- package/dist/chunks/{mime-cym0ttr6.js → form-je3wc35j.js} +17 -17
- package/dist/chunks/{mime-w0rcsb4b.js → form-jevsscxn.js} +9 -9
- package/dist/chunks/{mime-d216944b.js → form-jfqtm2ew.js} +7 -7
- package/dist/chunks/{mime-7g7vpgt6.js → form-jhyjs82x.js} +21 -21
- package/dist/chunks/{mime-n7bf85v8.js → form-jm9pv4jw.js} +5 -5
- package/dist/chunks/{mime-7ycn1xyn.js → form-jqd7rvfh.js} +3 -3
- package/dist/chunks/{mime-2grhns7t.js → form-kbs0fn1w.js} +23 -23
- package/dist/chunks/{mime-k1s91q86.js → form-kbymfr7p.js} +11 -11
- package/dist/chunks/{mime-9cgem3mg.js → form-kcvspnct.js} +8 -8
- package/dist/chunks/{mime-fwhrxgsc.js → form-kgash78d.js} +4 -4
- package/dist/chunks/{mime-eas6sj4m.js → form-kmgdj4b7.js} +5 -5
- package/dist/chunks/{mime-kwb1v3vj.js → form-kwb1v3vj.js} +1 -1
- package/dist/chunks/{mime-2n69efwp.js → form-kwqx9ezn.js} +23 -23
- package/dist/chunks/{mime-sc8fqqjt.js → form-kzbxs04q.js} +20 -20
- package/dist/chunks/{mime-m9w0rfyh.js → form-m9w0rfyh.js} +1 -1
- package/dist/chunks/{mime-zkydccpb.js → form-man6r55w.js} +11 -11
- package/dist/chunks/{mime-maspj1v3.js → form-maspj1v3.js} +1 -1
- package/dist/chunks/{mime-esy1dcn0.js → form-mc39ckc0.js} +22 -22
- package/dist/chunks/{mime-je70106q.js → form-mddns072.js} +14 -14
- package/dist/chunks/{mime-w6nkw9ar.js → form-me4kkzkr.js} +4 -4
- package/dist/chunks/{mime-nbdhrwgz.js → form-mmjb59xw.js} +12 -12
- package/dist/chunks/{mime-x0nch90w.js → form-n2fddagm.js} +10 -10
- package/dist/chunks/{mime-yaphm17j.js → form-n68wnkf7.js} +18 -18
- package/dist/chunks/{mime-f8694tqq.js → form-n8p3yyy1.js} +13 -13
- package/dist/chunks/{mime-tjkk7p4d.js → form-n9z01exy.js} +16 -16
- package/dist/chunks/{mime-m9dca9fz.js → form-nb3eeafx.js} +45 -45
- package/dist/chunks/{mime-wae9vwb0.js → form-ngv1hrws.js} +8 -8
- package/dist/chunks/{mime-j77evmy8.js → form-nvbqagkz.js} +30 -30
- package/dist/chunks/{mime-w05fahkw.js → form-nzndyyrp.js} +45 -45
- package/dist/chunks/{mime-94hhz6sx.js → form-p4g7pjpc.js} +5 -5
- package/dist/chunks/{mime-a4v46qeq.js → form-pbtbray8.js} +19 -19
- package/dist/chunks/{mime-rmk2c50f.js → form-pfq1ksym.js} +5 -5
- package/dist/chunks/{mime-pjvnvgmy.js → form-pjvnvgmy.js} +1 -1
- package/dist/chunks/{mime-zq01xz8r.js → form-pk9fe0rg.js} +11 -11
- package/dist/chunks/{mime-txm3e8qz.js → form-pkj8hqbd.js} +9 -9
- package/dist/chunks/{mime-pknna89w.js → form-pknna89w.js} +1 -1
- package/dist/chunks/{mime-qg0nhskn.js → form-pww2q2ts.js} +1 -1
- package/dist/chunks/{mime-f9gevem8.js → form-px1ej7j2.js} +18 -18
- package/dist/chunks/{mime-qs1ba8h1.js → form-q0n5p59x.js} +9 -9
- package/dist/chunks/{mime-h6ctxkn0.js → form-qc22nsxb.js} +15 -15
- package/dist/chunks/{mime-bq2yw3wa.js → form-qcws3hz9.js} +10 -10
- package/dist/chunks/{mime-qnc92qwc.js → form-qnc92qwc.js} +1 -1
- package/dist/chunks/{mime-gj71zhbs.js → form-qne3fa44.js} +5 -5
- package/dist/chunks/{mime-qsdy395h.js → form-qsdy395h.js} +1 -1
- package/dist/chunks/{mime-0hhagn33.js → form-qwert80r.js} +11 -11
- package/dist/chunks/{mime-ef9ze1vx.js → form-r2zk8jj2.js} +12 -12
- package/dist/chunks/{mime-210j301x.js → form-r4gn9rws.js} +33 -33
- package/dist/chunks/{mime-8wq9ahrn.js → form-rc9vttjd.js} +17 -17
- package/dist/chunks/{mime-rdw6cm16.js → form-rdw6cm16.js} +1 -1
- package/dist/chunks/{mime-qxcc90er.js → form-rense280.js} +17 -17
- package/dist/chunks/{mime-rert0e01.js → form-rert0e01.js} +2 -2
- package/dist/chunks/{mime-rj3eygr5.js → form-rj3eygr5.js} +2 -2
- package/dist/chunks/{mime-3sgrx7eh.js → form-rp9znzbk.js} +1 -1
- package/dist/chunks/{mime-vqws8g2z.js → form-rpqs4zrr.js} +15 -15
- package/dist/chunks/{mime-hraxftwv.js → form-rq76fwbg.js} +15 -15
- package/dist/chunks/{mime-r30ajxz6.js → form-rsrjg9aq.js} +149 -149
- package/dist/chunks/{mime-jv2eb38b.js → form-rt5r8wym.js} +31 -31
- package/dist/chunks/{mime-wfrjxtd3.js → form-rvqf1hhw.js} +17 -17
- package/dist/chunks/{mime-av58fmp0.js → form-s7vrpya1.js} +5 -5
- package/dist/chunks/{mime-kt2kmnda.js → form-s90dqpw7.js} +13 -13
- package/dist/chunks/{mime-sa8ekw3f.js → form-sa8ekw3f.js} +2 -2
- package/dist/chunks/{mime-zjgm4vvw.js → form-sagdypxn.js} +14 -14
- package/dist/chunks/{mime-mqshze7h.js → form-svvda557.js} +10 -10
- package/dist/chunks/{mime-syv4x271.js → form-syv4x271.js} +1 -1
- package/dist/chunks/{mime-0rhhft0h.js → form-t0pyhqcw.js} +11 -11
- package/dist/chunks/{mime-hfsvs7n4.js → form-t4t28t75.js} +16 -16
- package/dist/chunks/{mime-tazgh4e4.js → form-tazgh4e4.js} +1 -1
- package/dist/chunks/{mime-tcezcvh9.js → form-tcezcvh9.js} +1 -1
- package/dist/chunks/{mime-tdstcens.js → form-tdstcens.js} +1 -1
- package/dist/chunks/{mime-xqe640kt.js → form-tekdv28b.js} +16 -16
- package/dist/chunks/{mime-gc287a5z.js → form-tg63fvkh.js} +12 -12
- package/dist/chunks/{mime-tm0kqsz3.js → form-tm0kqsz3.js} +1 -1
- package/dist/chunks/{mime-bt6pkkaj.js → form-tp68cw24.js} +18 -18
- package/dist/chunks/{mime-y76zyqj0.js → form-tpr2dqt6.js} +33 -33
- package/dist/chunks/{mime-5nq1ms6a.js → form-tprmfzaq.js} +13 -13
- package/dist/chunks/{mime-rny6abvn.js → form-tq73j5ey.js} +5 -5
- package/dist/chunks/{mime-re585wd9.js → form-trya7axm.js} +8 -8
- package/dist/chunks/{mime-1b1qa5s5.js → form-tv2qmm1m.js} +19 -19
- package/dist/chunks/{mime-wc3jh00j.js → form-tvq4fmk2.js} +12 -12
- package/dist/chunks/{mime-tyytaxap.js → form-tyytaxap.js} +1 -1
- package/dist/chunks/{mime-nz56sr1f.js → form-v13b12ef.js} +5 -5
- package/dist/chunks/{mime-c4dg695b.js → form-v70j0478.js} +15 -15
- package/dist/chunks/{mime-v7p4zvkq.js → form-v7p4zvkq.js} +2 -2
- package/dist/chunks/{mime-gg0kdfz9.js → form-vawf6b6n.js} +4 -4
- package/dist/chunks/{mime-vep9yay1.js → form-vep9yay1.js} +1 -1
- package/dist/chunks/{mime-veqvce7d.js → form-veqvce7d.js} +1 -1
- package/dist/chunks/{mime-6c74smgc.js → form-vjawge7b.js} +23 -23
- package/dist/chunks/{mime-vzs5sf6e.js → form-vzs5sf6e.js} +1 -1
- package/dist/chunks/{mime-xb0e80n2.js → form-vzs67vbf.js} +86 -86
- package/dist/chunks/{mime-7zz66x27.js → form-w1xdw7re.js} +8 -8
- package/dist/chunks/{mime-w3wsvvr9.js → form-w3wsvvr9.js} +1 -1
- package/dist/chunks/{mime-wd87259q.js → form-wd87259q.js} +1 -1
- package/dist/chunks/{mime-snxtdzhb.js → form-wdfe9bpp.js} +3 -3
- package/dist/chunks/{mime-7yhmtxjy.js → form-wegah70x.js} +44 -44
- package/dist/chunks/{mime-rwxgt69a.js → form-wgefzgwt.js} +14 -14
- package/dist/chunks/{mime-e6q92anz.js → form-whms72wd.js} +43 -43
- package/dist/chunks/{mime-cb8phqng.js → form-wkx7yw3s.js} +20 -20
- package/dist/chunks/{mime-z88gg5pw.js → form-wptgs5cr.js} +50 -50
- package/dist/chunks/{mime-we0kt4xw.js → form-wz9398tt.js} +46 -46
- package/dist/chunks/{mime-cma758yw.js → form-xed4prex.js} +15 -15
- package/dist/chunks/{mime-36j2w7vd.js → form-xkhfjrgz.js} +2 -2
- package/dist/chunks/{mime-h9jhph60.js → form-xx4eqekj.js} +34 -34
- package/dist/chunks/{mime-86qzxe6p.js → form-xxxym934.js} +4 -4
- package/dist/chunks/{mime-y1fvbwt7.js → form-y1fvbwt7.js} +1 -1
- package/dist/chunks/{mime-wq6fm8d1.js → form-y6qsrq0m.js} +5 -5
- package/dist/chunks/{mime-y71avatq.js → form-y71avatq.js} +1 -1
- package/dist/chunks/{mime-bxqk5pf5.js → form-y7nndgyc.js} +9 -9
- package/dist/chunks/{mime-h2v6zsz5.js → form-ykbgc1mn.js} +8 -8
- package/dist/chunks/{mime-1snez3q2.js → form-ym4b2kva.js} +13 -13
- package/dist/chunks/form-ymafgmrd.js +257 -0
- package/dist/chunks/{mime-7b8dthfm.js → form-ymx7xvyq.js} +20 -20
- package/dist/chunks/{mime-z2006gkr.js → form-yq6kw6eg.js} +27 -27
- package/dist/chunks/{mime-cxz2ffwb.js → form-yy1b5byj.js} +8 -8
- package/dist/chunks/{mime-z0bkrqjs.js → form-z0bkrqjs.js} +1 -1
- package/dist/chunks/{mime-z18fegx4.js → form-z18fegx4.js} +1 -1
- package/dist/chunks/{mime-gst7axd9.js → form-zcrspsvn.js} +4 -4
- package/dist/chunks/{mime-z34vmdaq.js → form-zerhytxa.js} +13 -13
- package/dist/chunks/{mime-dr59kwwc.js → form-zkdxs0f7.js} +5 -5
- package/dist/chunks/{mime-n6rfymvw.js → form-zpq5tdxv.js} +18 -18
- package/dist/chunks/{mime-9cjy2y0f.js → form-zqjsn67b.js} +7 -7
- package/dist/chunks/{mime-zr2ceqn5.js → form-zr2ceqn5.js} +1 -1
- package/dist/chunks/{mime-rs8b8est.js → form-zswrtyyf.js} +12 -12
- package/dist/chunks/{mime-2wvwvgpp.js → form-ztter523.js} +3 -3
- package/dist/chunks/{mime-zxq2ej10.js → form-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- 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 +116 -116
- 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 +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +115 -115
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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 +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +106 -106
- 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 +93 -93
- 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 +361 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +104 -104
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- 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 +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +1 -1
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- 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/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +123 -123
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- 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 +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +103 -103
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +213 -213
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +157 -157
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +91 -91
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- 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 +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +91 -91
- 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 +126 -126
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +209 -209
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- 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/mime-8jd76e5x.js +0 -257
- package/dist/chunks/mime-b8nzk91a.js +0 -26
- package/dist/chunks/mime-by5v678g.js +0 -18
- /package/dist/chunks/{mime-0qkdqm5v.js → form-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{mime-0zkw76rk.js → form-0zkw76rk.js} +0 -0
- /package/dist/chunks/{mime-17cy0kzp.js → form-17cy0kzp.js} +0 -0
- /package/dist/chunks/{mime-1cnp2v09.js → form-1cnp2v09.js} +0 -0
- /package/dist/chunks/{mime-1kg9ymc8.js → form-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{mime-24dcb14g.js → form-24dcb14g.js} +0 -0
- /package/dist/chunks/{mime-2710q6r3.js → form-2710q6r3.js} +0 -0
- /package/dist/chunks/{mime-2axfhc9x.js → form-2axfhc9x.js} +0 -0
- /package/dist/chunks/{mime-2bv980vf.js → form-2bv980vf.js} +0 -0
- /package/dist/chunks/{mime-2c3vjs8z.js → form-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{mime-359p4xyc.js → form-359p4xyc.js} +0 -0
- /package/dist/chunks/{mime-3asan66x.js → form-3asan66x.js} +0 -0
- /package/dist/chunks/{mime-3t0ybcrp.js → form-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{mime-3v8g72cx.js → form-3v8g72cx.js} +0 -0
- /package/dist/chunks/{mime-3wcehsnq.js → form-3wcehsnq.js} +0 -0
- /package/dist/chunks/{mime-43n2bw4t.js → form-43n2bw4t.js} +0 -0
- /package/dist/chunks/{mime-4knz6hnm.js → form-4knz6hnm.js} +0 -0
- /package/dist/chunks/{mime-4vcrnpx2.js → form-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{mime-4y7fprxs.js → form-4y7fprxs.js} +0 -0
- /package/dist/chunks/{mime-53557ph1.js → form-53557ph1.js} +0 -0
- /package/dist/chunks/{mime-550bvhaj.js → form-550bvhaj.js} +0 -0
- /package/dist/chunks/{mime-6prwharc.js → form-6prwharc.js} +0 -0
- /package/dist/chunks/{mime-6q2bdcd1.js → form-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{mime-7akdwqpd.js → form-7akdwqpd.js} +0 -0
- /package/dist/chunks/{mime-7m9af43g.js → form-7m9af43g.js} +0 -0
- /package/dist/chunks/{mime-822emrt2.js → form-822emrt2.js} +0 -0
- /package/dist/chunks/{mime-84wd9syh.js → form-84wd9syh.js} +0 -0
- /package/dist/chunks/{mime-88xbtdfr.js → form-88xbtdfr.js} +0 -0
- /package/dist/chunks/{mime-8n3pysct.js → form-8n3pysct.js} +0 -0
- /package/dist/chunks/{mime-8wj87zfr.js → form-8wj87zfr.js} +0 -0
- /package/dist/chunks/{mime-9a4afbnw.js → form-9a4afbnw.js} +0 -0
- /package/dist/chunks/{mime-9rqn6x4v.js → form-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{mime-a6k6eb26.js → form-a6k6eb26.js} +0 -0
- /package/dist/chunks/{mime-af5trqkr.js → form-af5trqkr.js} +0 -0
- /package/dist/chunks/{mime-afrmfg78.js → form-afrmfg78.js} +0 -0
- /package/dist/chunks/{mime-aqzs7mqg.js → form-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{mime-atq7p7m5.js → form-atq7p7m5.js} +0 -0
- /package/dist/chunks/{mime-bkyjaxrp.js → form-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{mime-bmr6ed5q.js → form-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{mime-cf4snx6d.js → form-cf4snx6d.js} +0 -0
- /package/dist/chunks/{mime-cvy3z8tj.js → form-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{mime-d9fn303g.js → form-d9fn303g.js} +0 -0
- /package/dist/chunks/{mime-d9jj8t3e.js → form-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{mime-dajrwvna.js → form-dajrwvna.js} +0 -0
- /package/dist/chunks/{mime-dap0rakb.js → form-dap0rakb.js} +0 -0
- /package/dist/chunks/{mime-df08tz66.js → form-df08tz66.js} +0 -0
- /package/dist/chunks/{mime-dy18nga0.js → form-dy18nga0.js} +0 -0
- /package/dist/chunks/{mime-e5kj55wp.js → form-e5kj55wp.js} +0 -0
- /package/dist/chunks/{mime-e73j6tqm.js → form-e73j6tqm.js} +0 -0
- /package/dist/chunks/{mime-ec1grn59.js → form-ec1grn59.js} +0 -0
- /package/dist/chunks/{mime-eh3zwz77.js → form-eh3zwz77.js} +0 -0
- /package/dist/chunks/{mime-emrn6kk6.js → form-emrn6kk6.js} +0 -0
- /package/dist/chunks/{mime-f0mxakyp.js → form-f0mxakyp.js} +0 -0
- /package/dist/chunks/{mime-f6n9ztr4.js → form-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{mime-faypxj3z.js → form-faypxj3z.js} +0 -0
- /package/dist/chunks/{mime-fd410y7t.js → form-fd410y7t.js} +0 -0
- /package/dist/chunks/{mime-g4wezp1m.js → form-g4wezp1m.js} +0 -0
- /package/dist/chunks/{mime-g86h250q.js → form-g86h250q.js} +0 -0
- /package/dist/chunks/{mime-gebd4c9n.js → form-gebd4c9n.js} +0 -0
- /package/dist/chunks/{mime-gftt206x.js → form-gftt206x.js} +0 -0
- /package/dist/chunks/{mime-hcxmzztb.js → form-hcxmzztb.js} +0 -0
- /package/dist/chunks/{mime-hk9envan.js → form-hk9envan.js} +0 -0
- /package/dist/chunks/{mime-j2ntwpah.js → form-j2ntwpah.js} +0 -0
- /package/dist/chunks/{mime-j5zkgpj8.js → form-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{mime-jjkms2e6.js → form-jjkms2e6.js} +0 -0
- /package/dist/chunks/{mime-jr7sbwjy.js → form-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{mime-jwfs4k6c.js → form-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{mime-jze0r7bz.js → form-jze0r7bz.js} +0 -0
- /package/dist/chunks/{mime-jzg6c2d5.js → form-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{mime-m18g726c.js → form-m18g726c.js} +0 -0
- /package/dist/chunks/{mime-mp448xyj.js → form-mp448xyj.js} +0 -0
- /package/dist/chunks/{mime-msx8hqn2.js → form-msx8hqn2.js} +0 -0
- /package/dist/chunks/{mime-n05xt0ee.js → form-n05xt0ee.js} +0 -0
- /package/dist/chunks/{mime-n3j8tn72.js → form-n3j8tn72.js} +0 -0
- /package/dist/chunks/{mime-njntx4h6.js → form-njntx4h6.js} +0 -0
- /package/dist/chunks/{mime-pkyv6v7h.js → form-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{mime-pyv0edze.js → form-pyv0edze.js} +0 -0
- /package/dist/chunks/{mime-q3sfg36h.js → form-q3sfg36h.js} +0 -0
- /package/dist/chunks/{mime-q74kybfr.js → form-q74kybfr.js} +0 -0
- /package/dist/chunks/{mime-qaymkmh1.js → form-qaymkmh1.js} +0 -0
- /package/dist/chunks/{mime-qb87gjwd.js → form-qb87gjwd.js} +0 -0
- /package/dist/chunks/{mime-qfa1cgps.js → form-qfa1cgps.js} +0 -0
- /package/dist/chunks/{mime-qg3g05ea.js → form-qg3g05ea.js} +0 -0
- /package/dist/chunks/{mime-qrg20bc0.js → form-qrg20bc0.js} +0 -0
- /package/dist/chunks/{mime-rcb2kzg1.js → form-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{mime-sdp7kfr6.js → form-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{mime-ssg3fenm.js → form-ssg3fenm.js} +0 -0
- /package/dist/chunks/{mime-ve7vex1e.js → form-ve7vex1e.js} +0 -0
- /package/dist/chunks/{mime-w803qqfp.js → form-w803qqfp.js} +0 -0
- /package/dist/chunks/{mime-wc3fc9cn.js → form-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{mime-wer8tq1h.js → form-wer8tq1h.js} +0 -0
- /package/dist/chunks/{mime-wjj7prxr.js → form-wjj7prxr.js} +0 -0
- /package/dist/chunks/{mime-wtztk69x.js → form-wtztk69x.js} +0 -0
- /package/dist/chunks/{mime-x0ckcb58.js → form-x0ckcb58.js} +0 -0
- /package/dist/chunks/{mime-x61499pn.js → form-x61499pn.js} +0 -0
- /package/dist/chunks/{mime-y44na4kk.js → form-y44na4kk.js} +0 -0
- /package/dist/chunks/{mime-y8f7s663.js → form-y8f7s663.js} +0 -0
- /package/dist/chunks/{mime-ygaqb7jw.js → form-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{mime-ym463w8f.js → form-ym463w8f.js} +0 -0
- /package/dist/chunks/{mime-z5v4ffb3.js → form-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{mime-z9919s4g.js → form-z9919s4g.js} +0 -0
|
@@ -1,70 +1,70 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-7dx0mp5a.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service81,
|
|
7
|
+
node85
|
|
8
|
+
} from "./form-2jybnyep.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID9,
|
|
11
|
+
Service59,
|
|
12
|
+
node61
|
|
13
|
+
} from "./form-91js1pam.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError9
|
|
16
|
+
} from "./form-4hfeq7yc.js";
|
|
17
17
|
import {
|
|
18
18
|
Service58,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node60
|
|
20
|
+
} from "./form-tg63fvkh.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./form-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
25
|
Service57,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
node59
|
|
27
|
+
} from "./form-mc39ckc0.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
29
|
+
Service60,
|
|
30
30
|
node62
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./form-92swnv4m.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./form-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
|
-
var
|
|
38
|
-
__export(
|
|
37
|
+
var exports_permission = {};
|
|
38
|
+
__export(exports_permission, {
|
|
39
39
|
AskResult: () => AskResult2,
|
|
40
40
|
AssertInput: () => AssertInput2,
|
|
41
41
|
BlockedError: () => BlockedError2,
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
48
|
-
Permission: () =>
|
|
45
|
+
Event: () => Event9,
|
|
46
|
+
ID: () => ID7,
|
|
47
|
+
NotFoundError: () => NotFoundError7,
|
|
48
|
+
Permission: () => exports_permission,
|
|
49
49
|
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
51
|
Request: () => Request2,
|
|
52
|
-
Rule: () =>
|
|
52
|
+
Rule: () => Rule2,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
54
|
Service: () => Service56,
|
|
55
55
|
Source: () => Source4,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node58
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
|
-
import { Rule as
|
|
64
|
-
import { Event as
|
|
63
|
+
import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
+
import { Event as Event9 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID7 = Permission.ID;
|
|
68
68
|
var Source4 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -77,17 +77,17 @@ var RequestFields = {
|
|
|
77
77
|
var Request2 = Permission.Request;
|
|
78
78
|
var Reply2 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID7.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID9.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
85
|
+
requestID: ID7,
|
|
86
86
|
reply: Reply2,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID7,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID7
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -129,11 +129,11 @@ class Service56 extends Context.Service()("@opencode/Permission") {
|
|
|
129
129
|
}
|
|
130
130
|
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service85;
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
132
|
+
const location = yield* Service81;
|
|
133
|
+
const agents = yield* Service59;
|
|
134
134
|
const sessions = yield* Service58;
|
|
135
135
|
const saved = yield* Service57;
|
|
136
|
-
const hooks = yield*
|
|
136
|
+
const hooks = yield* Service60;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
156
156
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
157
157
|
const session = yield* sessions.get(sessionID);
|
|
158
158
|
if (!session)
|
|
159
|
-
return yield* new
|
|
159
|
+
return yield* new NotFoundError9({ sessionID });
|
|
160
160
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
161
161
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
162
162
|
});
|
|
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID7.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
211
211
|
}));
|
|
212
212
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
213
213
|
if (closed)
|
|
214
|
-
return { id: input.id ??
|
|
214
|
+
return { id: input.id ?? ID7.create(), effect: "deny" };
|
|
215
215
|
const result = yield* evaluateInput(input);
|
|
216
216
|
const value = request(input, result.message);
|
|
217
217
|
if (result.effect === "ask")
|
|
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
242
242
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
243
243
|
const existing = pending.get(input.requestID);
|
|
244
244
|
if (!existing)
|
|
245
|
-
return yield* new
|
|
245
|
+
return yield* new NotFoundError7({ requestID: input.requestID });
|
|
246
246
|
yield* bus.publish(Permission.Event.Replied, {
|
|
247
247
|
sessionID: existing.request.sessionID,
|
|
248
248
|
requestID: existing.request.id,
|
|
@@ -299,10 +299,10 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
299
299
|
});
|
|
300
300
|
return Service56.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
302
|
+
var node58 = makeLocationNode({
|
|
303
303
|
service: Service56,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [node89,
|
|
305
|
+
deps: [node89, node85, node61, node60, node59, node62]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect,
|
|
308
|
+
export { PermissionEffect, ID7, Source4, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service56, node58, exports_permission, Rule2, Ruleset2, Event9 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./form-kwqx9ezn.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./form-bgg5jk8p.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
14
14
|
import { Form } from "@opencode/schema/form";
|
|
15
|
-
var providerID =
|
|
15
|
+
var providerID = ID13.make("cloudflare-workers-ai");
|
|
16
16
|
var CloudflareWorkersAIPlugin2 = define({
|
|
17
17
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-7dx0mp5a.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./form-n2fddagm.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./form-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service32,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./form-9sh4wc5j.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./form-rsrjg9aq.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./form-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
29
|
Event: () => Event4,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID3,
|
|
31
|
+
Info: () => Info4,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service32,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node24
|
|
38
38
|
});
|
|
39
|
-
import { Event as Event4, ID as
|
|
39
|
+
import { Event as Event4, ID as ID3, Info as Info4, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service85;
|
|
45
|
-
const kv = yield*
|
|
45
|
+
const kv = yield* Service80;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service32.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node24 = Node.makeLocationNode({
|
|
226
|
+
service: Service32,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node24, exports_plugin2, Event4, ID3, Info4, Source2, State2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./form-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./form-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./form-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Entries2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info20
|
|
7
|
+
} from "./form-pkj8hqbd.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./form-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/v1/config/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigAgentV1: () =>
|
|
16
|
-
Info: () =>
|
|
13
|
+
var exports_agent4 = {};
|
|
14
|
+
__export(exports_agent4, {
|
|
15
|
+
ConfigAgentV1: () => exports_agent4,
|
|
16
|
+
Info: () => Info18
|
|
17
17
|
});
|
|
18
18
|
import { Schema, SchemaGetter } from "effect";
|
|
19
19
|
var Color = Schema.Union([
|
|
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
45
45
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
46
46
|
}),
|
|
47
47
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
48
|
-
permission: Schema.optional(
|
|
48
|
+
permission: Schema.optional(Info20)
|
|
49
49
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
50
50
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
51
51
|
var normalize = (agent) => {
|
|
@@ -64,9 +64,9 @@ var normalize = (agent) => {
|
|
|
64
64
|
const steps = agent.steps ?? agent.maxSteps;
|
|
65
65
|
return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
|
|
66
66
|
};
|
|
67
|
-
var
|
|
67
|
+
var Info18 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
|
|
68
68
|
decode: SchemaGetter.transform(normalize),
|
|
69
69
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
70
70
|
})).annotate({ identifier: "AgentConfig" });
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { Info18, exports_agent4 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
6
|
+
var exports_permission2 = {};
|
|
7
|
+
__export(exports_permission2, {
|
|
8
8
|
Action: () => Action2,
|
|
9
|
-
ConfigPermissionV1: () =>
|
|
9
|
+
ConfigPermissionV1: () => exports_permission2,
|
|
10
10
|
Entries: () => Entries2,
|
|
11
|
-
Info: () =>
|
|
11
|
+
Info: () => Info20,
|
|
12
12
|
Object: () => Object2,
|
|
13
|
-
Rule: () =>
|
|
13
|
+
Rule: () => Rule3
|
|
14
14
|
});
|
|
15
15
|
import { Schema, SchemaGetter } from "effect";
|
|
16
16
|
var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
|
|
@@ -19,13 +19,13 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
|
|
|
19
19
|
encode: SchemaGetter.transform((entries) => globalThis.Object.fromEntries(entries))
|
|
20
20
|
}));
|
|
21
21
|
var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
22
|
-
var
|
|
22
|
+
var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
23
23
|
var actionOnly = new Set(["question", "websearch", "doom_loop"]);
|
|
24
|
-
var
|
|
24
|
+
var Info20 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule3), {
|
|
25
25
|
decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
|
|
26
26
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
27
27
|
})).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
|
|
28
28
|
expected: "question, websearch, and doom_loop to be ask, allow, or deny"
|
|
29
29
|
})).annotate({ identifier: "PermissionConfig" });
|
|
30
30
|
|
|
31
|
-
export { Action2, Entries2, Object2,
|
|
31
|
+
export { Action2, Entries2, Object2, Rule3, Info20, exports_permission2 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-kbymfr7p.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-7dx0mp5a.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event21,
|
|
10
|
+
Service84
|
|
11
|
+
} from "./form-bvdpv0z0.js";
|
|
12
12
|
import {
|
|
13
13
|
ID14,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./form-bbk4sw4d.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID13,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./form-kwqx9ezn.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID12,
|
|
22
22
|
VariantID2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info21
|
|
24
|
+
} from "./form-bvse6ds2.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./form-pjvnvgmy.js";
|
|
29
29
|
import {
|
|
30
30
|
get5
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./form-54ma36ye.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./form-bgg5jk8p.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/chatgpt.ts
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -43,7 +43,7 @@ var issuer = "https://auth.openai.com";
|
|
|
43
43
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
44
44
|
var resource = "https://api.openai.com/v1";
|
|
45
45
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
46
|
-
var providerID =
|
|
46
|
+
var providerID = ID13.openai;
|
|
47
47
|
var integrationID = ID14.make("openai");
|
|
48
48
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
49
49
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
@@ -180,7 +180,7 @@ var ChatGPTPlugin2 = define({
|
|
|
180
180
|
id: "opencode.provider.chatgpt",
|
|
181
181
|
effect: Effect.fn(function* (ctx) {
|
|
182
182
|
const bus = yield* Service85;
|
|
183
|
-
const credentials = yield*
|
|
183
|
+
const credentials = yield* Service84;
|
|
184
184
|
const loading = Semaphore.makeUnsafe(1);
|
|
185
185
|
let chatgpt;
|
|
186
186
|
let source;
|
|
@@ -268,7 +268,7 @@ var ChatGPTPlugin2 = define({
|
|
|
268
268
|
}
|
|
269
269
|
});
|
|
270
270
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
271
|
-
yield* bus.subscribe(
|
|
271
|
+
yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
272
272
|
})
|
|
273
273
|
});
|
|
274
274
|
function headers(app) {
|
|
@@ -325,7 +325,7 @@ function deriveModels2(remote, existing) {
|
|
|
325
325
|
const found = byID.get(model.modelID);
|
|
326
326
|
return found ? [deriveModel(found, model)] : [];
|
|
327
327
|
}),
|
|
328
|
-
...remote.filter((model) => !known.has(
|
|
328
|
+
...remote.filter((model) => !known.has(ID12.make(model.slug))).map((model) => deriveModel(model, Info21.default(ID13.openai, ID12.make(model.slug))))
|
|
329
329
|
];
|
|
330
330
|
}
|
|
331
331
|
function deriveModel(remote, previous) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-2jybnyep.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service72,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node75,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service72 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service72, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node75 = LayerNode.unbound(Service72, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service72;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -45,4 +45,4 @@ function canonical3(ref) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service72, node75, reload2, canonical3, exports_location_service_map };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-kbymfr7p.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-7dx0mp5a.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event21,
|
|
10
|
+
Service84
|
|
11
|
+
} from "./form-bvdpv0z0.js";
|
|
12
12
|
import {
|
|
13
13
|
ID14,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service77
|
|
16
|
+
} from "./form-bbk4sw4d.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./form-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID13
|
|
23
|
+
} from "./form-kwqx9ezn.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./form-bgg5jk8p.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
33
|
-
var providerID =
|
|
33
|
+
var providerID = ID13.make("snowflake-cortex");
|
|
34
34
|
var integrationID = ID14.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
56
|
+
const credentials = yield* Service84;
|
|
57
|
+
const integrations = yield* Service77;
|
|
58
58
|
const bus = yield* Service85;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
@@ -186,7 +186,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
186
186
|
});
|
|
187
187
|
}
|
|
188
188
|
});
|
|
189
|
-
yield* bus.subscribe(
|
|
189
|
+
yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
190
190
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
191
191
|
const token = envToken();
|
|
192
192
|
if (token)
|