@opencode/core 0.0.0-dev-21329 → 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 +92 -92
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{provider-ep1q5408.js → form-02sakfs1.js} +7 -7
- package/dist/chunks/{provider-b2sdxywb.js → form-0bkg5nam.js} +31 -31
- package/dist/chunks/{provider-6mxzj5r1.js → form-0bmnjpfs.js} +6 -6
- package/dist/chunks/{provider-t550f9t1.js → form-0gdmqesm.js} +4 -4
- package/dist/chunks/{provider-0javqkgf.js → form-0javqkgf.js} +2 -2
- package/dist/chunks/{provider-fcza8p90.js → form-0jqywv5j.js} +9 -9
- package/dist/chunks/{provider-scdy5x78.js → form-0p4mvthy.js} +15 -15
- package/dist/chunks/{provider-jaz24y3m.js → form-0qaxnjep.js} +11 -11
- package/dist/chunks/{provider-3yex0wtb.js → form-0r36wfjw.js} +21 -21
- package/dist/chunks/{provider-bmx9sysk.js → form-0s7awbhn.js} +3 -3
- package/dist/chunks/{provider-0vbcp93d.js → form-0vbcp93d.js} +2 -2
- package/dist/chunks/{provider-vwpcpzep.js → form-15nepkqg.js} +8 -8
- package/dist/chunks/{provider-e4rfwk3b.js → form-16ptnzp4.js} +21 -21
- package/dist/chunks/{provider-1ep4rre3.js → form-1ep4rre3.js} +1 -1
- package/dist/chunks/{provider-1t4fqtab.js → form-1hqqab4s.js} +9 -9
- package/dist/chunks/{provider-j41axa3n.js → form-1krmxpby.js} +4 -4
- package/dist/chunks/{provider-4q168qhf.js → form-1n047p2a.js} +18 -18
- package/dist/chunks/{provider-xw8d9tf9.js → form-1tcnrg0s.js} +9 -9
- package/dist/chunks/{provider-ddxaekd8.js → form-1v8j23j1.js} +37 -37
- package/dist/chunks/{provider-0ab51kag.js → form-27jfxer4.js} +3 -3
- package/dist/chunks/{provider-btgr67bq.js → form-2aqgybcp.js} +29 -29
- package/dist/chunks/{provider-k12ram42.js → form-2jybnyep.js} +2 -2
- package/dist/chunks/{provider-xr4cy418.js → form-2nragry7.js} +15 -15
- package/dist/chunks/{provider-2sejkfem.js → form-2sejkfem.js} +2 -2
- package/dist/chunks/{provider-885y9aej.js → form-2tzz6wa4.js} +44 -44
- package/dist/chunks/{provider-f4wt9rjv.js → form-2wzyh2nh.js} +17 -17
- package/dist/chunks/{provider-v52b5t79.js → form-2ypbq784.js} +11 -11
- package/dist/chunks/{provider-15gjkqd1.js → form-360h9knm.js} +11 -11
- package/dist/chunks/{provider-pet46bzp.js → form-361k30qc.js} +25 -25
- package/dist/chunks/{provider-3hepkmqq.js → form-3hepkmqq.js} +1 -1
- package/dist/chunks/{provider-3hwn7j4h.js → form-3hwn7j4h.js} +2 -2
- package/dist/chunks/{provider-nsy3vht9.js → form-3n1993ym.js} +11 -11
- package/dist/chunks/{provider-3smtnn6g.js → form-3smtnn6g.js} +1 -1
- package/dist/chunks/{provider-3tvqynh2.js → form-3tvqynh2.js} +1 -1
- package/dist/chunks/{provider-p2z6bw8f.js → form-3xzhnrg0.js} +21 -21
- package/dist/chunks/{provider-3zsf4n22.js → form-3zsf4n22.js} +1 -1
- package/dist/chunks/{provider-8h8zx08e.js → form-43833zpv.js} +4 -4
- package/dist/chunks/{provider-thpby3ff.js → form-482mympf.js} +21 -21
- package/dist/chunks/{provider-anxvjzkq.js → form-4eh83hae.js} +23 -23
- package/dist/chunks/{provider-xzz788m6.js → form-4fw7esra.js} +4 -4
- package/dist/chunks/{provider-krdey6nc.js → form-4hfeq7yc.js} +3 -3
- package/dist/chunks/{provider-ywz575tz.js → form-4krksnp0.js} +21 -21
- package/dist/chunks/{provider-4mwpykj0.js → form-4mwpykj0.js} +1 -1
- package/dist/chunks/{provider-jfttst7b.js → form-4n9d0tgx.js} +45 -45
- package/dist/chunks/{provider-bx49fcep.js → form-50aa1a66.js} +29 -29
- package/dist/chunks/{provider-vns3jqz1.js → form-54bvb9cj.js} +12 -12
- package/dist/chunks/{provider-54ma36ye.js → form-54ma36ye.js} +1 -1
- package/dist/chunks/{provider-mzhjnc0t.js → form-54q14agg.js} +11 -11
- package/dist/chunks/{provider-t95zrypp.js → form-55m81wnp.js} +5 -5
- package/dist/chunks/{provider-0gppxhq7.js → form-55xzanda.js} +17 -17
- package/dist/chunks/{provider-1nzh38e4.js → form-5e1pzs32.js} +9 -9
- package/dist/chunks/{provider-7tgpfat1.js → form-5g85rz3q.js} +14 -14
- package/dist/chunks/{provider-5m9w47nd.js → form-5m9w47nd.js} +1 -1
- package/dist/chunks/{provider-3y7x8gcw.js → form-5wr9n5bc.js} +12 -12
- package/dist/chunks/{provider-ksj8gne7.js → form-5xhehs7n.js} +8 -8
- package/dist/chunks/{provider-96bg00p7.js → form-61s75xk5.js} +11 -11
- package/dist/chunks/{provider-58fxbgyk.js → form-65qcyyma.js} +7 -7
- package/dist/chunks/{provider-e93tw7gx.js → form-67k81bmf.js} +3 -3
- package/dist/chunks/{provider-6827pfxn.js → form-6827pfxn.js} +1 -1
- package/dist/chunks/{provider-1qhfkrq1.js → form-6n9djq0h.js} +4 -4
- package/dist/chunks/{provider-jws6fkes.js → form-6pc27hjz.js} +4 -4
- package/dist/chunks/{provider-5zt7gmc9.js → form-6wg7wrda.js} +8 -8
- package/dist/chunks/{provider-6xb47vfp.js → form-6xb47vfp.js} +1 -1
- package/dist/chunks/{provider-29mpht4c.js → form-6xwkk55c.js} +7 -7
- package/dist/chunks/{provider-kvgysxc4.js → form-6yb97afg.js} +8 -8
- package/dist/chunks/{provider-wh6zw745.js → form-6yz0wx8n.js} +5 -5
- package/dist/chunks/{provider-775gj3j1.js → form-775gj3j1.js} +2 -2
- package/dist/chunks/{provider-75230mfn.js → form-78y8a3rg.js} +7 -7
- package/dist/chunks/{provider-7bmhse3q.js → form-7bmhse3q.js} +1 -1
- package/dist/chunks/{provider-67pr4xd1.js → form-7dx0mp5a.js} +4 -4
- package/dist/chunks/{provider-8yrncfx7.js → form-7f8j414w.js} +18 -18
- package/dist/chunks/{provider-536721yp.js → form-7refdtwv.js} +2 -2
- package/dist/chunks/{provider-de0f4qpm.js → form-7zzdk6j1.js} +304 -304
- package/dist/chunks/{provider-x3nay0bp.js → form-80zvrhj7.js} +28 -28
- package/dist/chunks/{provider-84txncab.js → form-84txncab.js} +1 -1
- package/dist/chunks/{provider-ebe089ff.js → form-8hpy5qx6.js} +32 -32
- package/dist/chunks/{provider-8m6m0r52.js → form-8m6m0r52.js} +1 -1
- package/dist/chunks/{provider-8mywswrd.js → form-8mywswrd.js} +1 -1
- package/dist/chunks/{provider-ay0g6tkj.js → form-8xh436hj.js} +4 -4
- package/dist/chunks/{provider-00ppmc61.js → form-91js1pam.js} +24 -24
- package/dist/chunks/{provider-5eer2xf9.js → form-92swnv4m.js} +8 -8
- package/dist/chunks/{provider-175xtgmg.js → form-962zhnx1.js} +32 -32
- package/dist/chunks/{provider-g670se7s.js → form-99x6s37t.js} +25 -25
- package/dist/chunks/form-9sh4wc5j.js +18 -0
- package/dist/chunks/{provider-d1tg7a5g.js → form-9sjyw1m6.js} +7 -7
- package/dist/chunks/{provider-7v6vae4w.js → form-a20pjse5.js} +3 -3
- package/dist/chunks/{provider-h6310vsd.js → form-a3c7ahw6.js} +4 -4
- package/dist/chunks/{provider-ceas8q3x.js → form-a4f079eb.js} +22 -22
- package/dist/chunks/{provider-9sgsjpgv.js → form-a8nkje97.js} +11 -11
- package/dist/chunks/{provider-t0s8rbs5.js → form-aat25gmm.js} +16 -16
- package/dist/chunks/{provider-rky6e642.js → form-abnya1q3.js} +12 -12
- package/dist/chunks/{provider-x661k3y3.js → form-addxnjmp.js} +4 -4
- package/dist/chunks/{provider-pvb5c58t.js → form-adnpvf0n.js} +84 -84
- package/dist/chunks/{provider-zqn88c2g.js → form-am8khs7c.js} +44 -44
- package/dist/chunks/{provider-6wg5zv2g.js → form-ardm1wrc.js} +43 -43
- package/dist/chunks/{provider-eb8wfk2z.js → form-aza9mb39.js} +11 -11
- package/dist/chunks/{provider-1ctkwwte.js → form-b0frvc6a.js} +16 -16
- package/dist/chunks/{provider-zdr4q96z.js → form-b2zs7akg.js} +36 -36
- package/dist/chunks/{provider-cefkz2r6.js → form-b89refpb.js} +4 -4
- package/dist/chunks/{provider-k1tcgxwm.js → form-bbk4sw4d.js} +20 -20
- package/dist/chunks/{provider-vphpz1k6.js → form-bgg5jk8p.js} +6 -6
- package/dist/chunks/{provider-bjx1sjef.js → form-bjx1sjef.js} +2 -2
- package/dist/chunks/{provider-568xrara.js → form-bqsaj0qs.js} +13 -13
- package/dist/chunks/{provider-0e84c7n6.js → form-bvdpv0z0.js} +5 -5
- package/dist/chunks/{provider-vg0nnb5s.js → form-bvse6ds2.js} +24 -24
- package/dist/chunks/{provider-c1fqxshp.js → form-c1fqxshp.js} +3 -3
- package/dist/chunks/{provider-680tw01d.js → form-cd4peczh.js} +13 -13
- package/dist/chunks/{provider-j4sjmvet.js → form-cf8mxv8s.js} +25 -25
- package/dist/chunks/{provider-ycn9c87f.js → form-ckh33p24.js} +26 -26
- package/dist/chunks/{provider-5xtgfte3.js → form-cmwkp3r5.js} +8 -8
- package/dist/chunks/{provider-vx01yvfm.js → form-cqfbx4h9.js} +5 -5
- package/dist/chunks/{provider-g2k6x5re.js → form-cr0bat6b.js} +14 -14
- package/dist/chunks/{provider-az9az350.js → form-ct5beqmq.js} +9 -9
- package/dist/chunks/{provider-r0nakx9w.js → form-d2edjj1v.js} +11 -11
- package/dist/chunks/{provider-geq9kd3q.js → form-dbt3qtfn.js} +22 -22
- package/dist/chunks/{provider-w1ba7bfx.js → form-dhb2hta4.js} +5 -5
- package/dist/chunks/{provider-h0n6thsx.js → form-dk6zbvkj.js} +2 -2
- package/dist/chunks/{provider-qqeeq2t9.js → form-drwq78ky.js} +7 -7
- package/dist/chunks/{provider-s928nhvr.js → form-dtkj6t2x.js} +32 -32
- package/dist/chunks/{provider-5qd3pb7m.js → form-e3qxr5gk.js} +2 -2
- package/dist/chunks/{provider-n5csmyza.js → form-e7a0tnjd.js} +9 -9
- package/dist/chunks/{provider-r2z489rp.js → form-e80seqcp.js} +3 -3
- package/dist/chunks/{provider-2yj1f1y3.js → form-ebkydghs.js} +3 -3
- package/dist/chunks/{provider-rbky9hr4.js → form-eeeprd1m.js} +10 -10
- package/dist/chunks/{provider-eej6y6fw.js → form-eej6y6fw.js} +2 -2
- package/dist/chunks/{provider-ef5x83kb.js → form-ef5x83kb.js} +1 -1
- package/dist/chunks/{provider-wr2fcqrv.js → form-egwezsn2.js} +33 -33
- package/dist/chunks/{provider-pzeyc7aw.js → form-ez4eysx7.js} +47 -27
- package/dist/chunks/{provider-1x42vr1k.js → form-f3rpkqey.js} +21 -21
- package/dist/chunks/{provider-0f5022hy.js → form-fbvxegff.js} +5 -5
- package/dist/chunks/{provider-fcrkznn8.js → form-fcrkznn8.js} +1 -1
- package/dist/chunks/{provider-fcy631f0.js → form-fcy631f0.js} +1 -1
- package/dist/chunks/{provider-96qffvj2.js → form-fh8k3p5m.js} +13 -13
- package/dist/chunks/{provider-25yddszk.js → form-fn9t717r.js} +6 -6
- package/dist/chunks/{provider-fendrtas.js → form-frnhj82z.js} +11 -11
- package/dist/chunks/{provider-fxaymqdw.js → form-fxaymqdw.js} +1 -1
- package/dist/chunks/{provider-ywm9yds8.js → form-g2brvksk.js} +24 -24
- package/dist/chunks/{provider-d3hcwwme.js → form-g454qmhn.js} +22 -22
- package/dist/chunks/{provider-q2aapacf.js → form-g6f94y0n.js} +11 -11
- package/dist/chunks/{provider-d3vm3y3t.js → form-g8j30dqw.js} +19 -19
- package/dist/chunks/{provider-gd4qta3r.js → form-gd4qta3r.js} +1 -1
- package/dist/chunks/{provider-b8wfffkn.js → form-h0et906m.js} +43 -43
- package/dist/chunks/{provider-sxq7v2v4.js → form-h48rpa6y.js} +11 -11
- package/dist/chunks/{provider-h6vf3j39.js → form-h6vf3j39.js} +1 -1
- package/dist/chunks/{provider-bydnjh3t.js → form-h71w788e.js} +2 -2
- package/dist/chunks/{provider-c0q6ebnk.js → form-h9eccewq.js} +6 -6
- package/dist/chunks/{provider-mchpen4k.js → form-he8gezxy.js} +17 -17
- package/dist/chunks/{provider-bcvtcraz.js → form-hfnb13cj.js} +1 -1
- package/dist/chunks/{provider-hgz4x7wa.js → form-hgz4x7wa.js} +1 -1
- package/dist/chunks/{provider-vp0bfksy.js → form-hhm4rk5s.js} +2 -2
- package/dist/chunks/{provider-y520pesp.js → form-hxpm8s3f.js} +6 -6
- package/dist/chunks/{provider-4mzf1xg2.js → form-j2ahjm38.js} +7 -7
- package/dist/chunks/{provider-5khprdrr.js → form-j73xx5v2.js} +12 -12
- package/dist/chunks/{provider-e5bf4nks.js → form-j9dnpnxm.js} +61 -61
- package/dist/chunks/{provider-nygx43rt.js → form-jbr6yd38.js} +18 -18
- package/dist/chunks/{provider-vmzpvwg1.js → form-jcj17ehp.js} +17 -17
- package/dist/chunks/{provider-y25kvmwt.js → form-jdthh91w.js} +18 -18
- package/dist/chunks/{provider-5aacaeqp.js → form-je3wc35j.js} +18 -18
- package/dist/chunks/{provider-v4sd0n2j.js → form-jevsscxn.js} +9 -9
- package/dist/chunks/{provider-ryr25ayn.js → form-jfqtm2ew.js} +4 -4
- package/dist/chunks/{provider-99rsdps6.js → form-jhyjs82x.js} +26 -26
- package/dist/chunks/{provider-xpbdr7s0.js → form-jm9pv4jw.js} +14 -14
- package/dist/chunks/{provider-9vmvrvp3.js → form-jqd7rvfh.js} +3 -3
- package/dist/chunks/{provider-5ef4vbtz.js → form-kbs0fn1w.js} +25 -25
- package/dist/chunks/{provider-1z2vw5jb.js → form-kbymfr7p.js} +11 -11
- package/dist/chunks/{provider-nvjpyn5w.js → form-kcvspnct.js} +10 -10
- package/dist/chunks/{provider-tjj1y1w1.js → form-kgash78d.js} +4 -4
- package/dist/chunks/{provider-jp5wxgtm.js → form-kmgdj4b7.js} +5 -5
- package/dist/chunks/{provider-kwb1v3vj.js → form-kwb1v3vj.js} +1 -1
- package/dist/chunks/{provider-09044n1v.js → form-kwqx9ezn.js} +23 -23
- package/dist/chunks/{provider-cymk1ch0.js → form-kzbxs04q.js} +17 -17
- package/dist/chunks/{provider-m9w0rfyh.js → form-m9w0rfyh.js} +1 -1
- package/dist/chunks/{provider-qt5db69v.js → form-man6r55w.js} +11 -11
- package/dist/chunks/{provider-maspj1v3.js → form-maspj1v3.js} +1 -1
- package/dist/chunks/{provider-qz6qd3nr.js → form-mc39ckc0.js} +24 -24
- package/dist/chunks/{provider-h6cxe1p1.js → form-mddns072.js} +12 -12
- package/dist/chunks/{provider-pemyrp0y.js → form-me4kkzkr.js} +4 -4
- package/dist/chunks/{provider-ysjrfadg.js → form-mmjb59xw.js} +12 -12
- package/dist/chunks/{provider-jehj871w.js → form-n2fddagm.js} +10 -10
- package/dist/chunks/{provider-2xcwvy90.js → form-n68wnkf7.js} +13 -13
- package/dist/chunks/{provider-kzca85qn.js → form-n8p3yyy1.js} +11 -11
- package/dist/chunks/{provider-cc1a3m3w.js → form-n9z01exy.js} +14 -14
- package/dist/chunks/{provider-49e8k0qr.js → form-nb3eeafx.js} +32 -32
- package/dist/chunks/{provider-m0n0fphw.js → form-ngv1hrws.js} +11 -11
- package/dist/chunks/{provider-csy7nqcf.js → form-nvbqagkz.js} +31 -31
- package/dist/chunks/{provider-bx3vfcp8.js → form-nzndyyrp.js} +52 -52
- package/dist/chunks/{provider-jpadary8.js → form-p4g7pjpc.js} +5 -5
- package/dist/chunks/{provider-7d8d42at.js → form-pbtbray8.js} +18 -18
- package/dist/chunks/{provider-5nrew705.js → form-pfq1ksym.js} +5 -5
- package/dist/chunks/{provider-pjvnvgmy.js → form-pjvnvgmy.js} +1 -1
- package/dist/chunks/{provider-dys7k0s0.js → form-pk9fe0rg.js} +11 -11
- package/dist/chunks/{provider-waskdk5r.js → form-pkj8hqbd.js} +9 -9
- package/dist/chunks/{provider-pknna89w.js → form-pknna89w.js} +1 -1
- package/dist/chunks/{provider-2m5ysgvp.js → form-pww2q2ts.js} +1 -1
- package/dist/chunks/{provider-bbdgy53j.js → form-px1ej7j2.js} +17 -17
- package/dist/chunks/{provider-n96tvss2.js → form-q0n5p59x.js} +9 -9
- package/dist/chunks/{provider-pdbayhem.js → form-qc22nsxb.js} +13 -13
- package/dist/chunks/{provider-szfs1a1x.js → form-qcws3hz9.js} +5 -5
- package/dist/chunks/{provider-qnc92qwc.js → form-qnc92qwc.js} +1 -1
- package/dist/chunks/{provider-z6c3x22d.js → form-qne3fa44.js} +5 -5
- package/dist/chunks/{provider-qsdy395h.js → form-qsdy395h.js} +1 -1
- package/dist/chunks/{provider-pb73ata6.js → form-qwert80r.js} +11 -11
- package/dist/chunks/{provider-4mw9c95a.js → form-r2zk8jj2.js} +12 -12
- package/dist/chunks/{provider-6he8xgzh.js → form-r4gn9rws.js} +29 -29
- package/dist/chunks/{provider-rrt1jctc.js → form-rc9vttjd.js} +15 -15
- package/dist/chunks/{provider-rdw6cm16.js → form-rdw6cm16.js} +1 -1
- package/dist/chunks/{provider-fxva79x5.js → form-rense280.js} +19 -19
- package/dist/chunks/{provider-rert0e01.js → form-rert0e01.js} +2 -2
- package/dist/chunks/{provider-rj3eygr5.js → form-rj3eygr5.js} +2 -2
- package/dist/chunks/{provider-zf4tm514.js → form-rp9znzbk.js} +1 -1
- package/dist/chunks/{provider-58s3s9ss.js → form-rpqs4zrr.js} +11 -11
- package/dist/chunks/{provider-60t1ftp1.js → form-rq76fwbg.js} +15 -15
- package/dist/chunks/{provider-vsbn5d13.js → form-rsrjg9aq.js} +172 -172
- package/dist/chunks/{provider-pcf154px.js → form-rt5r8wym.js} +27 -27
- package/dist/chunks/{provider-d7peams7.js → form-rvqf1hhw.js} +17 -17
- package/dist/chunks/{provider-dmz4v12s.js → form-s7vrpya1.js} +5 -5
- package/dist/chunks/{provider-1ftcw4z7.js → form-s90dqpw7.js} +13 -13
- package/dist/chunks/{provider-sa8ekw3f.js → form-sa8ekw3f.js} +2 -2
- package/dist/chunks/{provider-w0r49kaa.js → form-sagdypxn.js} +9 -9
- package/dist/chunks/{provider-sd9kh883.js → form-svvda557.js} +10 -10
- package/dist/chunks/{provider-syv4x271.js → form-syv4x271.js} +1 -1
- package/dist/chunks/{provider-ghz6dcrw.js → form-t0pyhqcw.js} +11 -11
- package/dist/chunks/{provider-rkjbr4f7.js → form-t4t28t75.js} +15 -15
- package/dist/chunks/{provider-tazgh4e4.js → form-tazgh4e4.js} +1 -1
- package/dist/chunks/{provider-tcezcvh9.js → form-tcezcvh9.js} +1 -1
- package/dist/chunks/{provider-tdstcens.js → form-tdstcens.js} +1 -1
- package/dist/chunks/{provider-qz4bwykm.js → form-tekdv28b.js} +16 -16
- package/dist/chunks/{provider-b9fn48zx.js → form-tg63fvkh.js} +14 -14
- package/dist/chunks/{provider-tm0kqsz3.js → form-tm0kqsz3.js} +1 -1
- package/dist/chunks/{provider-prsa6e7w.js → form-tp68cw24.js} +18 -18
- package/dist/chunks/{provider-n8nz8bt1.js → form-tpr2dqt6.js} +33 -33
- package/dist/chunks/{provider-qc3kkhe5.js → form-tprmfzaq.js} +15 -15
- package/dist/chunks/{provider-gnpgqyhn.js → form-tq73j5ey.js} +5 -5
- package/dist/chunks/{provider-wnk72qpq.js → form-trya7axm.js} +8 -8
- package/dist/chunks/{provider-sn3sjqf3.js → form-tv2qmm1m.js} +19 -19
- package/dist/chunks/{provider-rscvxc63.js → form-tvq4fmk2.js} +18 -18
- package/dist/chunks/{provider-tyytaxap.js → form-tyytaxap.js} +1 -1
- package/dist/chunks/{provider-nz56sr1f.js → form-v13b12ef.js} +5 -5
- package/dist/chunks/{provider-pkmrmd0q.js → form-v70j0478.js} +13 -13
- package/dist/chunks/{provider-v7p4zvkq.js → form-v7p4zvkq.js} +2 -2
- package/dist/chunks/{provider-0530b4kq.js → form-vawf6b6n.js} +4 -4
- package/dist/chunks/{provider-vep9yay1.js → form-vep9yay1.js} +1 -1
- package/dist/chunks/{provider-veqvce7d.js → form-veqvce7d.js} +1 -1
- package/dist/chunks/{provider-5snz8jkt.js → form-vjawge7b.js} +23 -23
- package/dist/chunks/{provider-vzs5sf6e.js → form-vzs5sf6e.js} +1 -1
- package/dist/chunks/{provider-k05eevpf.js → form-vzs67vbf.js} +76 -76
- package/dist/chunks/{provider-hc5sysjc.js → form-w1xdw7re.js} +6 -6
- package/dist/chunks/{provider-w3wsvvr9.js → form-w3wsvvr9.js} +1 -1
- package/dist/chunks/{provider-wd87259q.js → form-wd87259q.js} +1 -1
- package/dist/chunks/{provider-1rtmktmb.js → form-wdfe9bpp.js} +5 -5
- package/dist/chunks/{provider-yqb8saa6.js → form-wegah70x.js} +31 -31
- package/dist/chunks/{provider-2ee96hg5.js → form-wgefzgwt.js} +18 -18
- package/dist/chunks/{provider-kaj3hp9x.js → form-whms72wd.js} +8 -8
- package/dist/chunks/{provider-d94zeadz.js → form-wkx7yw3s.js} +18 -18
- package/dist/chunks/{provider-5wrye2gn.js → form-wptgs5cr.js} +50 -50
- package/dist/chunks/{provider-xmxs181h.js → form-wz9398tt.js} +39 -39
- package/dist/chunks/{provider-ktcywqbp.js → form-xed4prex.js} +20 -20
- package/dist/chunks/{provider-hzrfc1p4.js → form-xkhfjrgz.js} +3 -3
- package/dist/chunks/{provider-8nr0wta2.js → form-xx4eqekj.js} +34 -34
- package/dist/chunks/{provider-d858xzj7.js → form-xxxym934.js} +4 -4
- package/dist/chunks/{provider-y1fvbwt7.js → form-y1fvbwt7.js} +1 -1
- package/dist/chunks/{provider-nvxfpxcq.js → form-y6qsrq0m.js} +5 -5
- package/dist/chunks/{provider-dpkg50ah.js → form-y71avatq.js} +4 -4
- package/dist/chunks/{provider-g686f6pq.js → form-y7nndgyc.js} +9 -9
- package/dist/chunks/{provider-xcmj7eak.js → form-ykbgc1mn.js} +6 -6
- package/dist/chunks/{provider-741ezkvh.js → form-ym4b2kva.js} +10 -10
- package/dist/chunks/{provider-rxy7shc0.js → form-ymafgmrd.js} +142 -142
- package/dist/chunks/{provider-7p41bg5a.js → form-ymx7xvyq.js} +23 -23
- package/dist/chunks/{provider-r7m6m988.js → form-yq6kw6eg.js} +32 -32
- package/dist/chunks/{provider-y63ccfnv.js → form-yy1b5byj.js} +8 -8
- package/dist/chunks/{provider-z0bkrqjs.js → form-z0bkrqjs.js} +1 -1
- package/dist/chunks/{provider-z18fegx4.js → form-z18fegx4.js} +1 -1
- package/dist/chunks/{provider-2vs2nh1n.js → form-zcrspsvn.js} +4 -4
- package/dist/chunks/{provider-zyjyfhst.js → form-zerhytxa.js} +13 -13
- package/dist/chunks/{provider-1y7y12cx.js → form-zkdxs0f7.js} +3 -3
- package/dist/chunks/{provider-wt93hw18.js → form-zpq5tdxv.js} +20 -20
- package/dist/chunks/{provider-0fgtgb3k.js → form-zqjsn67b.js} +7 -7
- package/dist/chunks/{provider-zr2ceqn5.js → form-zr2ceqn5.js} +1 -1
- package/dist/chunks/{provider-sh8v4byq.js → form-zswrtyyf.js} +9 -9
- package/dist/chunks/{provider-4whf3fe5.js → form-ztter523.js} +6 -6
- package/dist/chunks/{provider-zxq2ej10.js → form-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +79 -79
- 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 +116 -116
- 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 +117 -117
- 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 +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +75 -75
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 +364 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- 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 +1 -1
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +215 -215
- 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 +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +108 -108
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +1 -1
- package/dist/instance.js +357 -357
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- 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 +83 -83
- package/dist/managed-policy.js +6 -6
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +77 -77
- 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 +96 -96
- package/dist/model-retry.js +1 -1
- package/dist/model.js +100 -100
- package/dist/models-dev.js +103 -103
- 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 +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- 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 +5 -5
- 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 +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +115 -115
- 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 +114 -114
- 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 +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +130 -130
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- 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 +6 -6
- 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 +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- 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 +95 -95
- 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 +223 -223
- 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 +126 -126
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- 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 +5 -5
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +208 -208
- 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 +110 -110
- package/dist/snapshot.js +93 -93
- 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 +130 -130
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- 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 +107 -107
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- 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 +3 -3
- 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 +1 -1
- 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 +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/provider-9zdhvgqs.js +0 -18
- /package/dist/chunks/{provider-0qkdqm5v.js → form-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{provider-0zkw76rk.js → form-0zkw76rk.js} +0 -0
- /package/dist/chunks/{provider-17cy0kzp.js → form-17cy0kzp.js} +0 -0
- /package/dist/chunks/{provider-1cnp2v09.js → form-1cnp2v09.js} +0 -0
- /package/dist/chunks/{provider-1kg9ymc8.js → form-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{provider-24dcb14g.js → form-24dcb14g.js} +0 -0
- /package/dist/chunks/{provider-2710q6r3.js → form-2710q6r3.js} +0 -0
- /package/dist/chunks/{provider-2axfhc9x.js → form-2axfhc9x.js} +0 -0
- /package/dist/chunks/{provider-2bv980vf.js → form-2bv980vf.js} +0 -0
- /package/dist/chunks/{provider-2c3vjs8z.js → form-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{provider-359p4xyc.js → form-359p4xyc.js} +0 -0
- /package/dist/chunks/{provider-3asan66x.js → form-3asan66x.js} +0 -0
- /package/dist/chunks/{provider-3t0ybcrp.js → form-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{provider-3v8g72cx.js → form-3v8g72cx.js} +0 -0
- /package/dist/chunks/{provider-3wcehsnq.js → form-3wcehsnq.js} +0 -0
- /package/dist/chunks/{provider-43n2bw4t.js → form-43n2bw4t.js} +0 -0
- /package/dist/chunks/{provider-4knz6hnm.js → form-4knz6hnm.js} +0 -0
- /package/dist/chunks/{provider-4vcrnpx2.js → form-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{provider-4y7fprxs.js → form-4y7fprxs.js} +0 -0
- /package/dist/chunks/{provider-53557ph1.js → form-53557ph1.js} +0 -0
- /package/dist/chunks/{provider-550bvhaj.js → form-550bvhaj.js} +0 -0
- /package/dist/chunks/{provider-6prwharc.js → form-6prwharc.js} +0 -0
- /package/dist/chunks/{provider-6q2bdcd1.js → form-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{provider-7akdwqpd.js → form-7akdwqpd.js} +0 -0
- /package/dist/chunks/{provider-7m9af43g.js → form-7m9af43g.js} +0 -0
- /package/dist/chunks/{provider-822emrt2.js → form-822emrt2.js} +0 -0
- /package/dist/chunks/{provider-84wd9syh.js → form-84wd9syh.js} +0 -0
- /package/dist/chunks/{provider-88xbtdfr.js → form-88xbtdfr.js} +0 -0
- /package/dist/chunks/{provider-8n3pysct.js → form-8n3pysct.js} +0 -0
- /package/dist/chunks/{provider-8wj87zfr.js → form-8wj87zfr.js} +0 -0
- /package/dist/chunks/{provider-9a4afbnw.js → form-9a4afbnw.js} +0 -0
- /package/dist/chunks/{provider-9rqn6x4v.js → form-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{provider-a6k6eb26.js → form-a6k6eb26.js} +0 -0
- /package/dist/chunks/{provider-af5trqkr.js → form-af5trqkr.js} +0 -0
- /package/dist/chunks/{provider-afrmfg78.js → form-afrmfg78.js} +0 -0
- /package/dist/chunks/{provider-aqzs7mqg.js → form-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{provider-atq7p7m5.js → form-atq7p7m5.js} +0 -0
- /package/dist/chunks/{provider-bkyjaxrp.js → form-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{provider-bmr6ed5q.js → form-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{provider-cf4snx6d.js → form-cf4snx6d.js} +0 -0
- /package/dist/chunks/{provider-cvy3z8tj.js → form-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{provider-d9fn303g.js → form-d9fn303g.js} +0 -0
- /package/dist/chunks/{provider-d9jj8t3e.js → form-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{provider-dajrwvna.js → form-dajrwvna.js} +0 -0
- /package/dist/chunks/{provider-dap0rakb.js → form-dap0rakb.js} +0 -0
- /package/dist/chunks/{provider-df08tz66.js → form-df08tz66.js} +0 -0
- /package/dist/chunks/{provider-dy18nga0.js → form-dy18nga0.js} +0 -0
- /package/dist/chunks/{provider-e5kj55wp.js → form-e5kj55wp.js} +0 -0
- /package/dist/chunks/{provider-e73j6tqm.js → form-e73j6tqm.js} +0 -0
- /package/dist/chunks/{provider-ec1grn59.js → form-ec1grn59.js} +0 -0
- /package/dist/chunks/{provider-eh3zwz77.js → form-eh3zwz77.js} +0 -0
- /package/dist/chunks/{provider-emrn6kk6.js → form-emrn6kk6.js} +0 -0
- /package/dist/chunks/{provider-f0mxakyp.js → form-f0mxakyp.js} +0 -0
- /package/dist/chunks/{provider-f6n9ztr4.js → form-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{provider-faypxj3z.js → form-faypxj3z.js} +0 -0
- /package/dist/chunks/{provider-fd410y7t.js → form-fd410y7t.js} +0 -0
- /package/dist/chunks/{provider-g4wezp1m.js → form-g4wezp1m.js} +0 -0
- /package/dist/chunks/{provider-g86h250q.js → form-g86h250q.js} +0 -0
- /package/dist/chunks/{provider-gebd4c9n.js → form-gebd4c9n.js} +0 -0
- /package/dist/chunks/{provider-gftt206x.js → form-gftt206x.js} +0 -0
- /package/dist/chunks/{provider-hcxmzztb.js → form-hcxmzztb.js} +0 -0
- /package/dist/chunks/{provider-hk9envan.js → form-hk9envan.js} +0 -0
- /package/dist/chunks/{provider-j2ntwpah.js → form-j2ntwpah.js} +0 -0
- /package/dist/chunks/{provider-j5zkgpj8.js → form-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{provider-jjkms2e6.js → form-jjkms2e6.js} +0 -0
- /package/dist/chunks/{provider-jr7sbwjy.js → form-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{provider-jwfs4k6c.js → form-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{provider-jze0r7bz.js → form-jze0r7bz.js} +0 -0
- /package/dist/chunks/{provider-jzg6c2d5.js → form-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{provider-m18g726c.js → form-m18g726c.js} +0 -0
- /package/dist/chunks/{provider-mp448xyj.js → form-mp448xyj.js} +0 -0
- /package/dist/chunks/{provider-msx8hqn2.js → form-msx8hqn2.js} +0 -0
- /package/dist/chunks/{provider-n05xt0ee.js → form-n05xt0ee.js} +0 -0
- /package/dist/chunks/{provider-n3j8tn72.js → form-n3j8tn72.js} +0 -0
- /package/dist/chunks/{provider-njntx4h6.js → form-njntx4h6.js} +0 -0
- /package/dist/chunks/{provider-pkyv6v7h.js → form-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{provider-pyv0edze.js → form-pyv0edze.js} +0 -0
- /package/dist/chunks/{provider-q3sfg36h.js → form-q3sfg36h.js} +0 -0
- /package/dist/chunks/{provider-q74kybfr.js → form-q74kybfr.js} +0 -0
- /package/dist/chunks/{provider-qaymkmh1.js → form-qaymkmh1.js} +0 -0
- /package/dist/chunks/{provider-qb87gjwd.js → form-qb87gjwd.js} +0 -0
- /package/dist/chunks/{provider-qfa1cgps.js → form-qfa1cgps.js} +0 -0
- /package/dist/chunks/{provider-qg3g05ea.js → form-qg3g05ea.js} +0 -0
- /package/dist/chunks/{provider-qrg20bc0.js → form-qrg20bc0.js} +0 -0
- /package/dist/chunks/{provider-rcb2kzg1.js → form-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{provider-sdp7kfr6.js → form-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{provider-ssg3fenm.js → form-ssg3fenm.js} +0 -0
- /package/dist/chunks/{provider-ve7vex1e.js → form-ve7vex1e.js} +0 -0
- /package/dist/chunks/{provider-w803qqfp.js → form-w803qqfp.js} +0 -0
- /package/dist/chunks/{provider-wc3fc9cn.js → form-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{provider-wer8tq1h.js → form-wer8tq1h.js} +0 -0
- /package/dist/chunks/{provider-wjj7prxr.js → form-wjj7prxr.js} +0 -0
- /package/dist/chunks/{provider-wtztk69x.js → form-wtztk69x.js} +0 -0
- /package/dist/chunks/{provider-x0ckcb58.js → form-x0ckcb58.js} +0 -0
- /package/dist/chunks/{provider-x61499pn.js → form-x61499pn.js} +0 -0
- /package/dist/chunks/{provider-y44na4kk.js → form-y44na4kk.js} +0 -0
- /package/dist/chunks/{provider-y8f7s663.js → form-y8f7s663.js} +0 -0
- /package/dist/chunks/{provider-ygaqb7jw.js → form-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{provider-ym463w8f.js → form-ym463w8f.js} +0 -0
- /package/dist/chunks/{provider-z5v4ffb3.js → form-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{provider-z9919s4g.js → form-z9919s4g.js} +0 -0
|
@@ -1,44 +1,56 @@
|
|
|
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
9
|
Event21
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./form-bvdpv0z0.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./form-addxnjmp.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID14,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./form-bbk4sw4d.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service18
|
|
21
|
+
} from "./form-e7a0tnjd.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID13,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./form-kwqx9ezn.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./form-bvse6ds2.js";
|
|
30
30
|
import {
|
|
31
31
|
supports2,
|
|
32
32
|
resolve2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./form-ebkydghs.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
ID6,
|
|
36
|
+
Input15,
|
|
37
37
|
Response2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./form-vjawge7b.js";
|
|
39
39
|
|
|
40
40
|
// src/plugin/provider/opencode.ts
|
|
41
|
-
import {
|
|
41
|
+
import {
|
|
42
|
+
Clock,
|
|
43
|
+
Duration,
|
|
44
|
+
Effect,
|
|
45
|
+
Equal,
|
|
46
|
+
FiberHandle,
|
|
47
|
+
Option,
|
|
48
|
+
Schema,
|
|
49
|
+
SchemaGetter,
|
|
50
|
+
Scope,
|
|
51
|
+
Semaphore,
|
|
52
|
+
Stream
|
|
53
|
+
} from "effect";
|
|
42
54
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
43
55
|
import { FetchHttpClient, HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
44
56
|
import { ConfigPolicy } from "@opencode/schema/config/policy";
|
|
@@ -61,7 +73,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
|
|
|
61
73
|
var RemoteResponse = Schema.Struct({
|
|
62
74
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
63
75
|
websearch: Schema.Struct({
|
|
64
|
-
providerID:
|
|
76
|
+
providerID: ID6
|
|
65
77
|
}).pipe(Schema.optional),
|
|
66
78
|
mcp: Schema.Struct({
|
|
67
79
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -112,7 +124,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
112
124
|
}
|
|
113
125
|
function oauth(http) {
|
|
114
126
|
return {
|
|
115
|
-
integrationID:
|
|
127
|
+
integrationID: ID14.make("opencode"),
|
|
116
128
|
method: {
|
|
117
129
|
id: methodID,
|
|
118
130
|
type: "oauth",
|
|
@@ -179,13 +191,15 @@ var OpencodePlugin2 = define({
|
|
|
179
191
|
const bus = yield* Service85;
|
|
180
192
|
const client = yield* HttpClient.HttpClient;
|
|
181
193
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
182
|
-
const managed = yield*
|
|
194
|
+
const managed = yield* Service18;
|
|
183
195
|
const scope = yield* Scope.Scope;
|
|
184
196
|
const loading = Semaphore.makeUnsafe(1);
|
|
185
197
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
186
198
|
let reported;
|
|
187
199
|
let explainers = [];
|
|
200
|
+
let checked = Number.NEGATIVE_INFINITY;
|
|
188
201
|
const load = Effect.fn("OpencodePlugin.load")(function* () {
|
|
202
|
+
checked = yield* Clock.currentTimeMillis;
|
|
189
203
|
const connection = yield* ctx.integration.connection.active("opencode");
|
|
190
204
|
if (!connection) {
|
|
191
205
|
reported = undefined;
|
|
@@ -231,7 +245,7 @@ var OpencodePlugin2 = define({
|
|
|
231
245
|
providers.update(providerID, (provider) => {
|
|
232
246
|
if (source && source.provider !== provider)
|
|
233
247
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
234
|
-
provider.integrationID =
|
|
248
|
+
provider.integrationID = ID14.make("opencode");
|
|
235
249
|
if (item.canonical !== undefined)
|
|
236
250
|
provider.canonical = item.canonical;
|
|
237
251
|
if (item.name !== undefined)
|
|
@@ -305,7 +319,7 @@ var OpencodePlugin2 = define({
|
|
|
305
319
|
sourceConnection: snapshot.connection
|
|
306
320
|
});
|
|
307
321
|
}
|
|
308
|
-
const item = providers.get(
|
|
322
|
+
const item = providers.get(ID13.opencode);
|
|
309
323
|
if (!item)
|
|
310
324
|
return;
|
|
311
325
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -317,7 +331,7 @@ var OpencodePlugin2 = define({
|
|
|
317
331
|
});
|
|
318
332
|
});
|
|
319
333
|
yield* ctx.model.transform((models) => {
|
|
320
|
-
const item = models.provider.get(
|
|
334
|
+
const item = models.provider.get(ID13.opencode);
|
|
321
335
|
if (!item)
|
|
322
336
|
return;
|
|
323
337
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -351,7 +365,7 @@ var OpencodePlugin2 = define({
|
|
|
351
365
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
352
366
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
353
367
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
354
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
368
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input15)({
|
|
355
369
|
query: input.query,
|
|
356
370
|
providerID: descriptor.providerID
|
|
357
371
|
}));
|
|
@@ -388,11 +402,17 @@ var OpencodePlugin2 = define({
|
|
|
388
402
|
});
|
|
389
403
|
});
|
|
390
404
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
391
|
-
const check = () => loading.withPermit(
|
|
405
|
+
const check = (maxAge = Duration.zero) => loading.withPermit(Effect.gen(function* () {
|
|
406
|
+
if ((yield* Clock.currentTimeMillis) - checked < Duration.toMillis(maxAge))
|
|
407
|
+
return;
|
|
408
|
+
const next = yield* load();
|
|
409
|
+
if (!Equal.equals(snapshot, next))
|
|
410
|
+
yield* apply(next);
|
|
411
|
+
}));
|
|
392
412
|
const explain = (event) => Effect.gen(function* () {
|
|
393
413
|
if (event.response.status !== 401 && event.response.status !== 403)
|
|
394
414
|
return;
|
|
395
|
-
yield* check();
|
|
415
|
+
yield* check(Duration.seconds(30));
|
|
396
416
|
const status = reported;
|
|
397
417
|
if (!status)
|
|
398
418
|
return;
|
|
@@ -406,7 +426,7 @@ var OpencodePlugin2 = define({
|
|
|
406
426
|
});
|
|
407
427
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
408
428
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
409
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
429
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID13.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
410
430
|
});
|
|
411
431
|
yield* guard(snapshot);
|
|
412
432
|
const polling = yield* FiberHandle.make();
|
|
@@ -417,7 +437,7 @@ var OpencodePlugin2 = define({
|
|
|
417
437
|
onlyIfMissing: true
|
|
418
438
|
});
|
|
419
439
|
});
|
|
420
|
-
yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
440
|
+
yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
|
|
421
441
|
yield* poll();
|
|
422
442
|
})
|
|
423
443
|
});
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-7dx0mp5a.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./form-rq76fwbg.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./form-3t0ybcrp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./form-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
19
|
NotFoundError: () => NotFoundError6,
|
|
20
|
-
Options: () =>
|
|
20
|
+
Options: () => Options4,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
22
|
+
Service: () => Service53,
|
|
23
|
+
UnavailableError: () => UnavailableError4,
|
|
24
24
|
available: () => available3,
|
|
25
|
-
configured: () =>
|
|
25
|
+
configured: () => configured4,
|
|
26
26
|
layer: () => layer21,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node55
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -36,12 +36,12 @@ import { Global } from "@opencode/util/global";
|
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
38
|
import { available as available3 } from "#persistent-pty-binary";
|
|
39
|
-
var
|
|
39
|
+
var Options4 = Schema.Struct({
|
|
40
40
|
handoff: Schema.optional(Handoff),
|
|
41
41
|
root: Schema.optional(Schema.String)
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
class
|
|
44
|
+
class UnavailableError4 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
45
45
|
message: Schema.String
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
@@ -51,9 +51,9 @@ class NotFoundError6 extends Schema.TaggedError()("PersistentPty.NotFoundError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service53 extends Context.Service()("@opencode/PersistentPty") {
|
|
55
55
|
}
|
|
56
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
56
|
+
var makeLayer = (options = {}) => Layer.effect(Service53, Effect.gen(function* () {
|
|
57
57
|
const bus = yield* Service85;
|
|
58
58
|
const global = yield* Global.Service;
|
|
59
59
|
const context = yield* Effect.context();
|
|
@@ -166,7 +166,7 @@ var makeLayer = (options = {}) => Layer.effect(Service49, Effect.gen(function* (
|
|
|
166
166
|
});
|
|
167
167
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
168
168
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new UnavailableError4({ message: "lines must be an integer between 1 and 65535" });
|
|
170
170
|
const id = current.get(sessionID);
|
|
171
171
|
if (!id)
|
|
172
172
|
return null;
|
|
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service49, Effect.gen(function* (
|
|
|
243
243
|
detach: attachment.detach
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
|
-
return
|
|
246
|
+
return Service53.of({
|
|
247
247
|
list,
|
|
248
248
|
get,
|
|
249
249
|
create,
|
|
@@ -260,16 +260,16 @@ var makeLayer = (options = {}) => Layer.effect(Service49, Effect.gen(function* (
|
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
262
|
var layer21 = makeLayer();
|
|
263
|
-
var
|
|
264
|
-
service:
|
|
263
|
+
var configured4 = (options) => makeGlobalNode({
|
|
264
|
+
service: Service53,
|
|
265
265
|
layer: options === undefined ? layer21 : makeLayer(options),
|
|
266
266
|
deps: [node89, Global.node]
|
|
267
267
|
});
|
|
268
|
-
var
|
|
268
|
+
var node55 = configured4();
|
|
269
269
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
270
270
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
271
|
-
var unexpected = (response) => Effect.fail(new
|
|
272
|
-
var unavailable = (error) => new
|
|
271
|
+
var unexpected = (response) => Effect.fail(new UnavailableError4({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
272
|
+
var unavailable = (error) => new UnavailableError4({ message: error instanceof Error ? error.message : String(error) });
|
|
273
273
|
function toInfo(value) {
|
|
274
274
|
const status = value.lifecycle.status;
|
|
275
275
|
return {
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options4, UnavailableError4, NotFoundError6, Service53, layer21, configured4, node55, exports_persistent_pty, Handoff2, available3 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID14,
|
|
3
|
+
Service77
|
|
4
|
+
} from "./form-bbk4sw4d.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service77;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID14.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|
|
@@ -1,34 +1,34 @@
|
|
|
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
9
|
Event21
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./form-bvdpv0z0.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./form-bbk4sw4d.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID13
|
|
17
|
+
} from "./form-kwqx9ezn.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID12,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./form-bvse6ds2.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./form-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID13.make("digitalocean");
|
|
31
|
+
var integrationID = ID14.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID12.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
policy3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-fcy631f0.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionEvent2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-ec1grn59.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./form-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
13
13
|
__export(exports_retry, {
|
|
14
14
|
SessionRunnerRetry: () => exports_retry,
|
|
15
15
|
isRetryable: () => isRetryable2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make9,
|
|
17
17
|
policy: () => policy2
|
|
18
18
|
});
|
|
19
19
|
import { isRetryable as isRetryable2 } from "@opencode/ai";
|
|
@@ -39,7 +39,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
|
|
|
39
39
|
return { retry: true, attempt: next.attempt, delay: normalized };
|
|
40
40
|
});
|
|
41
41
|
});
|
|
42
|
-
var
|
|
42
|
+
var make9 = (bus, sessionID) => Effect.gen(function* () {
|
|
43
43
|
const decide = yield* policy2(sessionID);
|
|
44
44
|
const wait = (input) => Effect.gen(function* () {
|
|
45
45
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -56,4 +56,4 @@ var make10 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
56
56
|
return { decide, wait };
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
export { isRetryable2, policy2,
|
|
59
|
+
export { isRetryable2, policy2, make9, exports_retry };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service73
|
|
4
|
+
} from "./form-nb3eeafx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service47
|
|
7
|
+
} from "./form-99x6s37t.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./form-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./form-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin37
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin37 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service73;
|
|
27
|
+
const snapshot = yield* Service47;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin42 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin37, exports_snapshot };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service74,
|
|
3
|
+
node78
|
|
4
|
+
} from "./form-dbt3qtfn.js";
|
|
5
5
|
import {
|
|
6
6
|
Service81,
|
|
7
7
|
node85
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./form-2jybnyep.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service73,
|
|
11
|
+
node77
|
|
12
|
+
} from "./form-nb3eeafx.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./form-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./form-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service12,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer8,
|
|
28
|
+
node: () => node14
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,11 +33,11 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service12 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer8 = Layer.effect(Service12, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service73;
|
|
40
|
+
const watcher = yield* Service74;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
42
|
const location = yield* Service81;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
@@ -58,7 +58,7 @@ var layer7 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service12.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer7 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node14 = makeLocationNode({
|
|
74
|
+
service: Service12,
|
|
75
|
+
layer: layer8,
|
|
76
|
+
deps: [node77, FSUtil.node, node78, node85]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service12,
|
|
80
|
+
layer: Layer.succeed(Service12, Service12.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service12, layer8, node14, empty2, exports_source };
|