@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,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID14,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service77,
|
|
4
|
+
node81
|
|
5
|
+
} from "./form-bbk4sw4d.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID13,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -15,24 +15,24 @@ import {
|
|
|
15
15
|
encoding2,
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service76,
|
|
19
|
+
node80
|
|
20
|
+
} from "./form-kwqx9ezn.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service70,
|
|
23
|
+
node73
|
|
24
|
+
} from "./form-6n9djq0h.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
26
|
+
ID12,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref2,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
Service75,
|
|
30
|
+
node79,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./form-bvse6ds2.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./form-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/model-resolver.ts
|
|
38
38
|
var exports_model_resolver = {};
|
|
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
|
|
|
41
41
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
42
42
|
ModelInitializationError: () => ModelInitializationError2,
|
|
43
43
|
ModelResolver: () => exports_model_resolver,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service69,
|
|
45
45
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
46
46
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
47
47
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
48
48
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
49
49
|
fromCatalogModel: () => fromCatalogModel2,
|
|
50
50
|
hasPackage: () => hasPackage2,
|
|
51
|
-
layer: () =>
|
|
52
|
-
node: () =>
|
|
51
|
+
layer: () => layer24,
|
|
52
|
+
node: () => node72,
|
|
53
53
|
resolveModel: () => resolveModel2,
|
|
54
54
|
withVariant: () => withVariant2
|
|
55
55
|
});
|
|
@@ -59,8 +59,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
59
59
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
60
60
|
import { Npm } from "@opencode/util/npm";
|
|
61
61
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
62
|
-
providerID:
|
|
63
|
-
modelID:
|
|
62
|
+
providerID: ID13,
|
|
63
|
+
modelID: ID12,
|
|
64
64
|
variant: VariantID2
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
@@ -69,8 +69,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
72
|
-
providerID:
|
|
73
|
-
modelID:
|
|
72
|
+
providerID: ID13,
|
|
73
|
+
modelID: ID12,
|
|
74
74
|
package: Schema.String
|
|
75
75
|
}) {
|
|
76
76
|
get message() {
|
|
@@ -80,8 +80,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
80
80
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
81
81
|
|
|
82
82
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
83
|
-
providerID:
|
|
84
|
-
modelID:
|
|
83
|
+
providerID: ID13,
|
|
84
|
+
modelID: ID12,
|
|
85
85
|
package: Schema.String,
|
|
86
86
|
detail: Schema.String
|
|
87
87
|
}) {
|
|
@@ -91,8 +91,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
94
|
-
providerID:
|
|
95
|
-
modelID:
|
|
94
|
+
providerID: ID13,
|
|
95
|
+
modelID: ID12,
|
|
96
96
|
package: Schema.String,
|
|
97
97
|
phase: InitializationPhase2,
|
|
98
98
|
detail: Schema.String
|
|
@@ -103,8 +103,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
106
|
-
providerID:
|
|
107
|
-
modelID:
|
|
106
|
+
providerID: ID13,
|
|
107
|
+
modelID: ID12,
|
|
108
108
|
variables: Schema.Array(Schema.String)
|
|
109
109
|
}) {
|
|
110
110
|
get message() {
|
|
@@ -113,8 +113,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
116
|
-
providerID:
|
|
117
|
-
modelID:
|
|
116
|
+
providerID: ID13,
|
|
117
|
+
modelID: ID12,
|
|
118
118
|
route: Schema.String
|
|
119
119
|
}) {
|
|
120
120
|
get message() {
|
|
@@ -122,7 +122,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
class
|
|
125
|
+
class Service69 extends Context.Service()("@opencode/ModelResolver") {
|
|
126
126
|
}
|
|
127
127
|
var withVariant2 = (model, variantID) => {
|
|
128
128
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -234,7 +234,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
|
|
|
234
234
|
return tokenSettings(specifier, credential.access);
|
|
235
235
|
if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
|
|
236
236
|
return { auth: "sigv4" };
|
|
237
|
-
if (model.providerID ===
|
|
237
|
+
if (model.providerID === ID13.azure)
|
|
238
238
|
return tokenSettings(specifier, "azure-cli");
|
|
239
239
|
return {};
|
|
240
240
|
};
|
|
@@ -269,12 +269,12 @@ var causeMessage = (cause) => {
|
|
|
269
269
|
};
|
|
270
270
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
271
271
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
272
|
-
var
|
|
273
|
-
const providers = yield*
|
|
274
|
-
const models = yield*
|
|
275
|
-
const integrations = yield*
|
|
272
|
+
var layer24 = Layer.effect(Service69, Effect.gen(function* () {
|
|
273
|
+
const providers = yield* Service76;
|
|
274
|
+
const models = yield* Service75;
|
|
275
|
+
const integrations = yield* Service77;
|
|
276
276
|
const npm = yield* Npm.Service;
|
|
277
|
-
const aisdk = yield*
|
|
277
|
+
const aisdk = yield* Service70;
|
|
278
278
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
279
279
|
const provider = yield* providers.get(selected.providerID);
|
|
280
280
|
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
|
|
@@ -304,7 +304,7 @@ var layer21 = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
304
304
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
305
305
|
};
|
|
306
306
|
});
|
|
307
|
-
return
|
|
307
|
+
return Service69.of({
|
|
308
308
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
309
309
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
310
310
|
if (!selected)
|
|
@@ -321,10 +321,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
321
321
|
const name = packageName2(packageName);
|
|
322
322
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
323
323
|
}
|
|
324
|
-
var
|
|
325
|
-
service:
|
|
326
|
-
layer:
|
|
327
|
-
deps: [
|
|
324
|
+
var node72 = makeLocationNode({
|
|
325
|
+
service: Service69,
|
|
326
|
+
layer: layer24,
|
|
327
|
+
deps: [node80, node79, node81, Npm.node, node73]
|
|
328
328
|
});
|
|
329
329
|
|
|
330
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
330
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service69, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node72, exports_model_resolver };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./form-0gdmqesm.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./form-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./form-c1fqxshp.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./form-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-7dx0mp5a.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service84,
|
|
9
|
+
node88
|
|
10
|
+
} from "./form-bvdpv0z0.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./form-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
15
|
key2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./form-addxnjmp.js";
|
|
17
17
|
import {
|
|
18
18
|
validateAnswer2,
|
|
19
19
|
validateFields2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./form-jbr6yd38.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./form-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/integration.ts
|
|
26
26
|
var exports_integration = {};
|
|
@@ -35,7 +35,7 @@ __export(exports_integration, {
|
|
|
35
35
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
36
36
|
CommandMethod: () => CommandMethod2,
|
|
37
37
|
EnvMethod: () => EnvMethod2,
|
|
38
|
-
Event: () =>
|
|
38
|
+
Event: () => Event17,
|
|
39
39
|
ExternalMethod: () => ExternalMethod2,
|
|
40
40
|
ID: () => ID14,
|
|
41
41
|
Info: () => Info23,
|
|
@@ -45,8 +45,8 @@ __export(exports_integration, {
|
|
|
45
45
|
MethodID: () => MethodID2,
|
|
46
46
|
OAuthMethod: () => OAuthMethod2,
|
|
47
47
|
Ref: () => Ref3,
|
|
48
|
-
Service: () =>
|
|
49
|
-
node: () =>
|
|
48
|
+
Service: () => Service77,
|
|
49
|
+
node: () => node81
|
|
50
50
|
});
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import {
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
import { Integration } from "@opencode/schema/integration";
|
|
69
69
|
import { AppProcess } from "@opencode/util/process";
|
|
70
70
|
import { ChildProcess } from "effect/process";
|
|
71
|
-
import { Event as
|
|
71
|
+
import { Event as Event17 } from "@opencode/schema/integration";
|
|
72
72
|
var ID14 = Integration.ID;
|
|
73
73
|
var MethodID2 = Integration.MethodID;
|
|
74
74
|
var AttemptID2 = Integration.AttemptID;
|
|
@@ -107,13 +107,13 @@ class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNot
|
|
|
107
107
|
}
|
|
108
108
|
var Ref3 = Integration.Ref;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service77 extends Context.Service()("@opencode/Integration") {
|
|
111
111
|
}
|
|
112
112
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
113
113
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
114
114
|
var scrubInterval = Duration.seconds(30);
|
|
115
|
-
var layer = Layer.effect(
|
|
116
|
-
const credentials = yield*
|
|
115
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
116
|
+
const credentials = yield* Service84;
|
|
117
117
|
const bus = yield* Service85;
|
|
118
118
|
const processes = yield* AppProcess.Service;
|
|
119
119
|
const scope = yield* Scope.Scope;
|
|
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
447
447
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
448
448
|
return CommandAttempt2.make({ attemptID, time });
|
|
449
449
|
});
|
|
450
|
-
return
|
|
450
|
+
return Service77.of({
|
|
451
451
|
transform: state.transform,
|
|
452
452
|
reload: state.reload,
|
|
453
453
|
revision: state.revision,
|
|
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
629
629
|
}
|
|
630
630
|
});
|
|
631
631
|
}));
|
|
632
|
-
var
|
|
633
|
-
service:
|
|
632
|
+
var node81 = makeLocationNode({
|
|
633
|
+
service: Service77,
|
|
634
634
|
layer,
|
|
635
|
-
deps: [
|
|
635
|
+
deps: [node88, node89, AppProcess.node]
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info23, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3,
|
|
638
|
+
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info23, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service77, node81, exports_integration, Event17 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service76
|
|
4
|
+
} from "./form-kwqx9ezn.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service73
|
|
7
|
+
} from "./form-nb3eeafx.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service76;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service73);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./form-2jybnyep.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
|
-
|
|
7
|
+
make18,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./form-0gdmqesm.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./form-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service28,
|
|
19
|
+
node: () => node32
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service28 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service81;
|
|
29
|
+
return Service28.of({
|
|
30
30
|
load: () => Effect.succeed(combine2([
|
|
31
|
-
|
|
31
|
+
make18({
|
|
32
32
|
key: Key3.make("core/date"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
@@ -37,7 +37,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
37
37
|
changed: (_previous, date) => `Today's date is now: ${date}`
|
|
38
38
|
}
|
|
39
39
|
}),
|
|
40
|
-
|
|
40
|
+
make18({
|
|
41
41
|
key: Key3.make("core/environment"),
|
|
42
42
|
codec: Schema.toCodecJson(Schema.String),
|
|
43
43
|
read: Effect.sync(() => [
|
|
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
60
60
|
]))
|
|
61
61
|
});
|
|
62
62
|
}));
|
|
63
|
-
var
|
|
63
|
+
var node32 = makeLocationNode({ service: Service28, layer, deps: [Global.node, node85] });
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { Service28, node32, exports_builtins };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-27jfxer4.js";
|
|
5
5
|
import {
|
|
6
6
|
Service85,
|
|
7
7
|
node89
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./form-7dx0mp5a.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./form-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./form-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./form-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event21,
|
|
24
24
|
External: () => External2,
|
|
25
|
-
ID: () =>
|
|
26
|
-
Info: () =>
|
|
25
|
+
ID: () => ID18,
|
|
26
|
+
Info: () => Info29,
|
|
27
27
|
Key: () => Key4,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
|
-
Service: () =>
|
|
29
|
+
Service: () => Service84,
|
|
30
30
|
Value: () => Value2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node88
|
|
32
32
|
});
|
|
33
33
|
import { asc, desc, eq } from "drizzle-orm";
|
|
34
34
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
@@ -36,31 +36,31 @@ import { Credential } from "@opencode/schema/credential";
|
|
|
36
36
|
import { CredentialLegacy } from "@opencode/schema/credential-legacy";
|
|
37
37
|
import { Integration } from "@opencode/schema/integration";
|
|
38
38
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
39
|
-
var
|
|
39
|
+
var ID18 = Credential.ID;
|
|
40
40
|
var OAuth3 = Credential.OAuth;
|
|
41
41
|
var Key4 = Credential.Key;
|
|
42
42
|
var External2 = Credential.External;
|
|
43
43
|
var Value2 = Credential.Value;
|
|
44
|
-
var
|
|
44
|
+
var Event21 = Credential.Event;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info29 extends Schema.Class("Credential.Info")({
|
|
47
|
+
id: ID18,
|
|
48
48
|
integrationID: Integration.ID,
|
|
49
49
|
label: Schema.String,
|
|
50
50
|
value: Value2
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service84 extends Context.Service()("@opencode/Credential") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
56
|
+
var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
57
57
|
const db = (yield* Service86).db;
|
|
58
58
|
const bus = yield* Service85;
|
|
59
59
|
const decode = Schema.decodeUnknownSync(CredentialLegacy.Value);
|
|
60
60
|
const stored = (row) => {
|
|
61
61
|
if (!row.integration_id)
|
|
62
62
|
return;
|
|
63
|
-
return new
|
|
63
|
+
return new Info29({
|
|
64
64
|
id: row.id,
|
|
65
65
|
integrationID: row.integration_id,
|
|
66
66
|
label: row.label,
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
71
71
|
const credential = stored(row);
|
|
72
72
|
return credential ? [credential] : [];
|
|
73
73
|
});
|
|
74
|
-
return
|
|
74
|
+
return Service84.of({
|
|
75
75
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
76
76
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
77
77
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -79,8 +79,8 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
79
79
|
return row ? stored(row) : undefined;
|
|
80
80
|
}),
|
|
81
81
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
82
|
-
const credential = new
|
|
83
|
-
id: input.id ??
|
|
82
|
+
const credential = new Info29({
|
|
83
|
+
id: input.id ?? ID18.create(),
|
|
84
84
|
integrationID: input.integrationID,
|
|
85
85
|
label: input.label ?? "default",
|
|
86
86
|
value: input.value
|
|
@@ -111,9 +111,9 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
111
111
|
type: credential.value.type,
|
|
112
112
|
active: activated
|
|
113
113
|
});
|
|
114
|
-
yield* bus.publish(
|
|
114
|
+
yield* bus.publish(Event21.Updated, {}, { global: true });
|
|
115
115
|
if (activated)
|
|
116
|
-
yield* bus.publish(
|
|
116
|
+
yield* bus.publish(Event21.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
117
117
|
return credential;
|
|
118
118
|
}),
|
|
119
119
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -133,7 +133,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
133
133
|
})), Effect.orDie);
|
|
134
134
|
if (integrationID) {
|
|
135
135
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
136
|
-
yield* bus.publish(
|
|
136
|
+
yield* bus.publish(Event21.Switched, { integrationID, credentialID: id }, { global: true });
|
|
137
137
|
}
|
|
138
138
|
}),
|
|
139
139
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -165,7 +165,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
165
165
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
166
166
|
});
|
|
167
167
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
168
|
-
yield* bus.publish(
|
|
168
|
+
yield* bus.publish(Event21.Updated, {}, { global: true });
|
|
169
169
|
}),
|
|
170
170
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
171
171
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -198,12 +198,12 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
198
198
|
active: removed.switched,
|
|
199
199
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
200
200
|
});
|
|
201
|
-
yield* bus.publish(
|
|
201
|
+
yield* bus.publish(Event21.Updated, {}, { global: true });
|
|
202
202
|
if (removed.switched)
|
|
203
|
-
yield* bus.publish(
|
|
203
|
+
yield* bus.publish(Event21.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
204
204
|
})
|
|
205
205
|
});
|
|
206
206
|
}));
|
|
207
|
-
var
|
|
207
|
+
var node88 = makeGlobalNode({ service: Service84, layer, deps: [node90, node89] });
|
|
208
208
|
|
|
209
|
-
export {
|
|
209
|
+
export { ID18, OAuth3, Key4, External2, Value2, Event21, Info29, Service84, node88, exports_credential };
|