@opencode/core 0.0.0-dev-20341 → 0.0.0-dev-20344
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 +79 -79
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{persistent-pty-cj0q7yrn.js → location-02ncb0r7.js} +21 -21
- package/dist/chunks/{persistent-pty-880ef89g.js → location-02pzv384.js} +11 -11
- package/dist/chunks/{persistent-pty-vaydq29x.js → location-09q1akkk.js} +45 -45
- package/dist/chunks/{persistent-pty-zjasv8zh.js → location-0djkakhq.js} +25 -25
- package/dist/chunks/{persistent-pty-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-bdhtmqf5.js → location-0prctygm.js} +35 -35
- package/dist/chunks/{persistent-pty-vv4wkjrp.js → location-0v2sk5j6.js} +8 -8
- package/dist/chunks/{persistent-pty-f4xqw7wa.js → location-100xjj6b.js} +19 -19
- package/dist/chunks/{persistent-pty-k8962brh.js → location-19vf66h0.js} +7 -7
- package/dist/chunks/{persistent-pty-x9ate6zv.js → location-1ceye290.js} +6 -6
- package/dist/chunks/{persistent-pty-1dazxqgg.js → location-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-yabnvfn3.js → location-1nrdzak4.js} +82 -82
- package/dist/chunks/{persistent-pty-qfqtz2mg.js → location-1qmb30g3.js} +3 -3
- package/dist/chunks/{persistent-pty-te9eb2ne.js → location-1s7a7rc8.js} +18 -18
- package/dist/chunks/{persistent-pty-m97jxw3r.js → location-21a7rb1f.js} +9 -9
- package/dist/chunks/{persistent-pty-21r38tys.js → location-21r38tys.js} +1 -1
- package/dist/chunks/{persistent-pty-k2cf7ycz.js → location-23xej63c.js} +9 -9
- package/dist/chunks/{persistent-pty-z63w68vq.js → location-29x78va6.js} +6 -6
- package/dist/chunks/{persistent-pty-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-6q8zcy5k.js → location-2crtrvgv.js} +11 -11
- package/dist/chunks/{persistent-pty-1nzs1dt7.js → location-2d57kztd.js} +6 -6
- package/dist/chunks/{persistent-pty-fq1eaaax.js → location-2pmtme7c.js} +26 -26
- package/dist/chunks/{persistent-pty-zyrwm43r.js → location-2qfnc9v9.js} +20 -20
- package/dist/chunks/{persistent-pty-zcrspsvn.js → location-2vs2nh1n.js} +4 -4
- package/dist/chunks/{persistent-pty-7hpm9vff.js → location-2zmtdwwa.js} +13 -13
- package/dist/chunks/{persistent-pty-2h15mtsb.js → location-3ea3aynk.js} +11 -11
- package/dist/chunks/{persistent-pty-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-a2yvrr1e.js → location-3pr8te96.js} +45 -45
- package/dist/chunks/{persistent-pty-6n8a4jjg.js → location-3r5gxg73.js} +14 -14
- package/dist/chunks/{persistent-pty-6ypennq8.js → location-3r5v0g1e.js} +43 -43
- package/dist/chunks/{persistent-pty-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-kyktj0vd.js → location-3wrtxrr4.js} +6 -6
- package/dist/chunks/{persistent-pty-pmth53f6.js → location-3xxwahma.js} +27 -27
- package/dist/chunks/{persistent-pty-h1s4ax7h.js → location-3zhghk4y.js} +13 -13
- package/dist/chunks/{persistent-pty-3zsf4n22.js → location-3zsf4n22.js} +1 -1
- package/dist/chunks/{persistent-pty-xkaxm87r.js → location-4aj77gpq.js} +9 -9
- package/dist/chunks/{persistent-pty-9zrtdmhy.js → location-4m6thn4g.js} +11 -11
- package/dist/chunks/{persistent-pty-5xq1sedg.js → location-4ms6454k.js} +45 -45
- package/dist/chunks/{persistent-pty-51f5btjf.js → location-4mwpykj0.js} +6 -6
- package/dist/chunks/{persistent-pty-jk236s1c.js → location-4p7vd6rv.js} +30 -30
- package/dist/chunks/{persistent-pty-efxgthxc.js → location-4ygrs1t9.js} +20 -20
- package/dist/chunks/{persistent-pty-v8n97m4h.js → location-5475xd7t.js} +8 -8
- package/dist/chunks/{persistent-pty-54ma36ye.js → location-54ma36ye.js} +1 -1
- package/dist/chunks/{persistent-pty-54tcyq79.js → location-54tcyq79.js} +2 -2
- package/dist/chunks/{persistent-pty-mfqp6xfm.js → location-56gdpj1q.js} +6 -6
- package/dist/chunks/{persistent-pty-57ez7d0k.js → location-57ez7d0k.js} +2 -2
- package/dist/chunks/{persistent-pty-0ymbac85.js → location-5a824ydm.js} +30 -30
- package/dist/chunks/{persistent-pty-b985cns1.js → location-5b7ts617.js} +10 -10
- package/dist/chunks/{persistent-pty-5daktx2q.js → location-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-mwxvj69v.js → location-5jkbe8f2.js} +27 -27
- package/dist/chunks/{persistent-pty-5t3nmthw.js → location-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-mb8ahhxd.js → location-5xeggsjb.js} +46 -46
- package/dist/chunks/{persistent-pty-8jyzywxv.js → location-5ys6ptk8.js} +15 -15
- package/dist/chunks/{persistent-pty-669tq793.js → location-669tq793.js} +1 -1
- package/dist/chunks/{persistent-pty-20zz1ang.js → location-68y7phbn.js} +8 -8
- package/dist/chunks/{persistent-pty-4hvfhxsc.js → location-6cqxdj14.js} +15 -15
- package/dist/chunks/{persistent-pty-9vjccf17.js → location-6dz1qw9v.js} +6 -6
- package/dist/chunks/{persistent-pty-v2xh51ss.js → location-6hwp1n2b.js} +22 -22
- package/dist/chunks/{persistent-pty-aapjkkww.js → location-6j6h2v05.js} +40 -40
- package/dist/chunks/{persistent-pty-dbkkmbew.js → location-6ktz889z.js} +10 -10
- package/dist/chunks/{persistent-pty-6msgmcgs.js → location-6msgmcgs.js} +1 -1
- package/dist/chunks/{persistent-pty-8sze2n9a.js → location-6pc27hjz.js} +2 -2
- package/dist/chunks/{persistent-pty-jcenn4a0.js → location-6z9mwsmt.js} +24 -24
- package/dist/chunks/{persistent-pty-981fg1k8.js → location-77bexmsv.js} +10 -10
- package/dist/chunks/{persistent-pty-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-0jwsre1p.js → location-7dqw4kz8.js} +5 -5
- package/dist/chunks/{persistent-pty-dy5mtzz8.js → location-7k9teg1e.js} +11 -11
- package/dist/chunks/{persistent-pty-z4szxkd7.js → location-7nh1fm73.js} +9 -9
- package/dist/chunks/{persistent-pty-1jyay2fm.js → location-7rx9p9hh.js} +23 -23
- package/dist/chunks/{persistent-pty-hn4w1bkj.js → location-7ypqrqvy.js} +18 -18
- package/dist/chunks/{persistent-pty-84txncab.js → location-84txncab.js} +1 -1
- package/dist/chunks/{persistent-pty-bw6eqvc2.js → location-85sw6847.js} +24 -24
- package/dist/chunks/{persistent-pty-nyh6yxg3.js → location-86jdww2w.js} +17 -17
- package/dist/chunks/{persistent-pty-6khx4p0d.js → location-89n34mzq.js} +73 -73
- package/dist/chunks/{persistent-pty-1v8stjbz.js → location-8cqwjt8t.js} +1 -1
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-3878e13v.js → location-8dg5vm6z.js} +90 -90
- package/dist/chunks/{persistent-pty-s4rskdge.js → location-8dywwfr0.js} +6 -6
- package/dist/chunks/{persistent-pty-kt0am480.js → location-8jqzhmtt.js} +3 -3
- package/dist/chunks/{persistent-pty-ect61mw4.js → location-8kzf8c2b.js} +10 -10
- package/dist/chunks/{persistent-pty-hym2md94.js → location-8mqyqb4j.js} +10 -10
- package/dist/chunks/{persistent-pty-6b79em31.js → location-8qf8ceg9.js} +18 -18
- package/dist/chunks/{persistent-pty-f1as396s.js → location-8v1cm23h.js} +9 -9
- package/dist/chunks/{persistent-pty-yt5c9h39.js → location-95cjtnmc.js} +31 -31
- package/dist/chunks/{persistent-pty-pcxghkgz.js → location-96ctqc5x.js} +4 -4
- package/dist/chunks/{persistent-pty-new922dw.js → location-9jzbk5r7.js} +21 -21
- package/dist/chunks/{persistent-pty-31jg3jzd.js → location-a02r20w9.js} +10 -10
- package/dist/chunks/{persistent-pty-hr7t50ew.js → location-a67xc8v7.js} +13 -13
- package/dist/chunks/{persistent-pty-2w7feyg1.js → location-a6j3e98v.js} +9 -9
- package/dist/chunks/{persistent-pty-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-5rwf64p2.js → location-adqdpybp.js} +9 -9
- package/dist/chunks/{persistent-pty-s4df5zxh.js → location-ajevxyj5.js} +17 -17
- package/dist/chunks/{persistent-pty-cjdtr2ds.js → location-anyjerdd.js} +32 -32
- package/dist/chunks/{persistent-pty-hsz3e5dy.js → location-aqjetw3w.js} +24 -24
- package/dist/chunks/{persistent-pty-mnxyjaz9.js → location-as89ak57.js} +19 -19
- package/dist/chunks/{persistent-pty-p44d8wdy.js → location-avm8jn6n.js} +5 -5
- package/dist/chunks/{persistent-pty-vz9db08s.js → location-b6763zrq.js} +4 -4
- package/dist/chunks/{persistent-pty-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-9qb76avw.js → location-bddt2pqj.js} +11 -11
- package/dist/chunks/{persistent-pty-cjs1c48m.js → location-be3vrfba.js} +13 -13
- package/dist/chunks/{persistent-pty-nbwqk53a.js → location-bg5p7gs6.js} +16 -16
- package/dist/chunks/{persistent-pty-2nes80nj.js → location-bj98hwq8.js} +11 -11
- package/dist/chunks/{persistent-pty-bjtzbw4r.js → location-bjtzbw4r.js} +3 -3
- package/dist/chunks/{persistent-pty-784hb5j4.js → location-bk7jaeqh.js} +4 -4
- package/dist/chunks/{persistent-pty-jgg5903p.js → location-bkcw67jg.js} +40 -40
- package/dist/chunks/{persistent-pty-qkt14v07.js → location-bks6cz2k.js} +33 -33
- package/dist/chunks/{persistent-pty-g0445xdp.js → location-br0tr5aq.js} +8 -8
- package/dist/chunks/{persistent-pty-55zfesz9.js → location-bt7n4pmb.js} +11 -11
- package/dist/chunks/{persistent-pty-qy1187xz.js → location-c91k7ad4.js} +35 -35
- package/dist/chunks/{persistent-pty-7ews3x9x.js → location-ckqfqcne.js} +43 -43
- package/dist/chunks/{persistent-pty-2f0bjgcj.js → location-d87ppnb3.js} +5 -5
- package/dist/chunks/{persistent-pty-75jb4kyn.js → location-d8h50pbm.js} +12 -12
- package/dist/chunks/{persistent-pty-9b50t81g.js → location-ddrs7t2j.js} +6 -6
- package/dist/chunks/{persistent-pty-jh34xga3.js → location-dgadgb83.js} +9 -9
- package/dist/chunks/{persistent-pty-k5nxbakh.js → location-djanh1gf.js} +26 -26
- package/dist/chunks/{persistent-pty-1fkbnb3h.js → location-dk95rs1h.js} +33 -33
- package/dist/chunks/{persistent-pty-dmqcgk4z.js → location-dmqcgk4z.js} +2 -2
- package/dist/chunks/{persistent-pty-dnxkq42g.js → location-dnxkq42g.js} +1 -1
- package/dist/chunks/{persistent-pty-jwcy2c2z.js → location-dpkg50ah.js} +4 -4
- package/dist/chunks/{persistent-pty-xfkkasph.js → location-drwq78ky.js} +4 -4
- package/dist/chunks/{persistent-pty-jxg7w2yt.js → location-dv0n9c2x.js} +46 -46
- package/dist/chunks/{persistent-pty-ng06zct7.js → location-dz88wbe7.js} +25 -25
- package/dist/chunks/{persistent-pty-dsv4qt6d.js → location-dzpwn25x.js} +20 -20
- package/dist/chunks/{persistent-pty-kt98sm59.js → location-e0m7kynn.js} +3 -3
- package/dist/chunks/{persistent-pty-5qd3pb7m.js → location-e3qxr5gk.js} +2 -2
- package/dist/chunks/{persistent-pty-ecfe7b91.js → location-ecfe7b91.js} +2 -2
- package/dist/chunks/{persistent-pty-ef5x83kb.js → location-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-fdmgm320.js → location-em07s6t6.js} +12 -12
- package/dist/chunks/{persistent-pty-kb09e3ps.js → location-emdq8hvp.js} +2 -2
- package/dist/chunks/{persistent-pty-pgp1nwjn.js → location-espax8zg.js} +4 -4
- package/dist/chunks/{persistent-pty-etq0c3wd.js → location-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-pdrz96x4.js → location-exptz1jn.js} +8 -8
- package/dist/chunks/{persistent-pty-vwcfpena.js → location-f04hbnz0.js} +9 -9
- package/dist/chunks/{persistent-pty-0aksezd1.js → location-f08wkcbe.js} +3 -3
- package/dist/chunks/{persistent-pty-w936gsj9.js → location-f1w4z5f6.js} +11 -11
- package/dist/chunks/{persistent-pty-wf2zhhrq.js → location-f2y0nrye.js} +30 -30
- package/dist/chunks/{persistent-pty-fhs97t90.js → location-fhs97t90.js} +2 -2
- package/dist/chunks/{persistent-pty-chmcxnpv.js → location-fq4hkzfh.js} +5 -5
- package/dist/chunks/{persistent-pty-qxv5x38a.js → location-fy4xcsnd.js} +11 -11
- package/dist/chunks/{persistent-pty-jsqbbv53.js → location-g05cwh14.js} +12 -12
- package/dist/chunks/{persistent-pty-q63sg9wh.js → location-g6996jmd.js} +14 -14
- package/dist/chunks/{persistent-pty-hnkth8hh.js → location-g78cg05n.js} +7 -7
- package/dist/chunks/{persistent-pty-vdphxgnn.js → location-gb5fcfe9.js} +8 -8
- package/dist/chunks/{persistent-pty-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-rsjwp548.js → location-gec89q0r.js} +26 -26
- package/dist/chunks/{persistent-pty-gfvb90ym.js → location-gfvb90ym.js} +2 -2
- package/dist/chunks/{persistent-pty-c1m7agks.js → location-gh2q5f0h.js} +13 -13
- package/dist/chunks/{persistent-pty-5cpzvd3j.js → location-gnhm909b.js} +15 -15
- package/dist/chunks/{persistent-pty-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
- package/dist/chunks/{persistent-pty-wvq7e1s4.js → location-h4c91pay.js} +4 -4
- package/dist/chunks/{persistent-pty-xvp1j2dc.js → location-h6b02349.js} +5 -5
- package/dist/chunks/{persistent-pty-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-4j4tgtq5.js → location-h9wp8z5w.js} +4 -4
- package/dist/chunks/{persistent-pty-a0ga5595.js → location-hbkd0kx9.js} +11 -11
- package/dist/chunks/{persistent-pty-8s8r9gf0.js → location-he6fwm9p.js} +19 -19
- package/dist/chunks/{persistent-pty-hgsmh1nh.js → location-hnwtc367.js} +13 -13
- package/dist/chunks/{persistent-pty-azexmtne.js → location-hs5zt0a8.js} +3 -3
- package/dist/chunks/{persistent-pty-0cmajtfh.js → location-j03hpba4.js} +18 -18
- package/dist/chunks/{persistent-pty-7j5zvf86.js → location-j2z7g6g4.js} +4 -4
- package/dist/chunks/{persistent-pty-j56e64zr.js → location-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-gdgx11yp.js → location-j8svvbq4.js} +10 -10
- package/dist/chunks/{persistent-pty-4p2v91mq.js → location-jasex9we.js} +20 -20
- package/dist/chunks/{persistent-pty-6yfg5v83.js → location-jjpdfk8h.js} +23 -23
- package/dist/chunks/{persistent-pty-v4qes6kb.js → location-jv7gn18a.js} +15 -15
- package/dist/chunks/{persistent-pty-72hvh6jh.js → location-k18kvgqw.js} +27 -27
- package/dist/chunks/{persistent-pty-k3c624dm.js → location-k3c624dm.js} +3 -3
- package/dist/chunks/{persistent-pty-4n3sdfe5.js → location-k81hr64f.js} +6 -6
- package/dist/chunks/{persistent-pty-84y3cxrg.js → location-khkvak3g.js} +7 -7
- package/dist/chunks/{persistent-pty-05hmz687.js → location-kxf9nzd0.js} +11 -11
- package/dist/chunks/{persistent-pty-00vf67kq.js → location-m1a691bq.js} +9 -9
- package/dist/chunks/{persistent-pty-m3fdjcah.js → location-m3fdjcah.js} +1 -1
- package/dist/chunks/{persistent-pty-32tkr9wa.js → location-m4x4aq54.js} +34 -34
- package/dist/chunks/{persistent-pty-ygxhnps7.js → location-m5jy6c1p.js} +17 -17
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-b0grxa7w.js → location-ma15yhyh.js} +5 -5
- package/dist/chunks/{persistent-pty-nd5pg0jd.js → location-mg7d5g79.js} +13 -13
- package/dist/chunks/{persistent-pty-fjvydvzm.js → location-mjncxbbh.js} +6 -6
- package/dist/chunks/{persistent-pty-rhe6q90e.js → location-mt41vr8a.js} +21 -21
- package/dist/chunks/{persistent-pty-pknkq1ya.js → location-mtr9da87.js} +8 -8
- package/dist/chunks/{persistent-pty-9v2r64bp.js → location-mtzh4w76.js} +1 -1
- package/dist/chunks/{persistent-pty-mhkvc446.js → location-mvfsc1pv.js} +3 -3
- package/dist/chunks/{persistent-pty-fw7a63m3.js → location-mwacmns3.js} +6 -6
- package/dist/chunks/{persistent-pty-zvxz31za.js → location-myd9kayg.js} +7 -7
- package/dist/chunks/{persistent-pty-811rfafr.js → location-n3csj6mp.js} +25 -25
- package/dist/chunks/{persistent-pty-pysk3085.js → location-n4thbxy5.js} +133 -132
- package/dist/chunks/{persistent-pty-29cwx4ks.js → location-n6rcy4mh.js} +2 -2
- package/dist/chunks/{persistent-pty-b95vg044.js → location-ndcdw9g8.js} +20 -20
- package/dist/chunks/{persistent-pty-sd75nvd1.js → location-nkp651gc.js} +15 -15
- package/dist/chunks/{persistent-pty-r2cdb093.js → location-nqeb2avx.js} +16 -16
- package/dist/chunks/{persistent-pty-jexxy024.js → location-nvxqht09.js} +3 -3
- package/dist/chunks/{persistent-pty-8aaqm6qj.js → location-nw53exab.js} +8 -8
- package/dist/chunks/{persistent-pty-k8hpw67k.js → location-nz569jqt.js} +5 -5
- package/dist/chunks/{persistent-pty-3fv5zerb.js → location-p1nmr6zw.js} +12 -12
- package/dist/chunks/{persistent-pty-fqj9nv8j.js → location-p84dsdfh.js} +8 -8
- package/dist/chunks/{persistent-pty-04wpcwjp.js → location-p91yt6mk.js} +14 -14
- package/dist/chunks/{persistent-pty-qkk4yay7.js → location-pbw0r91s.js} +11 -11
- package/dist/chunks/{persistent-pty-h0n6hth2.js → location-ph85sfvw.js} +28 -28
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-5jqc7mmh.js → location-pq4fj8xc.js} +48 -48
- package/dist/chunks/{persistent-pty-psazpmmj.js → location-psazpmmj.js} +2 -2
- package/dist/chunks/{persistent-pty-eye44qas.js → location-q0raz0xt.js} +9 -9
- package/dist/chunks/location-q509s3k3.js +18 -0
- package/dist/chunks/{persistent-pty-2vjymgz4.js → location-qa3tmgdp.js} +11 -11
- package/dist/chunks/{persistent-pty-64wymc54.js → location-qkaqxm3y.js} +6 -6
- package/dist/chunks/{persistent-pty-djszqvmq.js → location-qmqgtz8f.js} +9 -9
- package/dist/chunks/{persistent-pty-rev16gg1.js → location-qpcrevt6.js} +32 -32
- package/dist/chunks/{persistent-pty-g8jasmdt.js → location-qs001aqx.js} +11 -11
- package/dist/chunks/{persistent-pty-vnqycjs3.js → location-qs2a9kth.js} +32 -32
- package/dist/chunks/{persistent-pty-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-wbkyxrgf.js → location-qte5z7bc.js} +5 -5
- package/dist/chunks/{persistent-pty-zfq801h6.js → location-r01t9b5y.js} +6 -6
- package/dist/chunks/{persistent-pty-9wncg805.js → location-r2vmt3px.js} +8 -8
- package/dist/chunks/{persistent-pty-3bkzp6nm.js → location-r539qsq3.js} +11 -11
- package/dist/chunks/{persistent-pty-rebxb36w.js → location-r5h3vakg.js} +7 -7
- package/dist/chunks/{persistent-pty-efm7cqaz.js → location-r9fqj8ns.js} +29 -29
- package/dist/chunks/location-rbnh57a3.js +507 -0
- package/dist/chunks/{persistent-pty-rdw6cm16.js → location-rdw6cm16.js} +1 -1
- package/dist/chunks/{persistent-pty-t550f9t1.js → location-rhjbct0v.js} +4 -4
- package/dist/chunks/{persistent-pty-jhcrq6fy.js → location-rscp1sre.js} +18 -18
- package/dist/chunks/{persistent-pty-yrznvahk.js → location-s4enseaf.js} +2 -2
- package/dist/chunks/{persistent-pty-6nweqnhb.js → location-s6tgk9vn.js} +33 -33
- package/dist/chunks/{persistent-pty-wp1mqwss.js → location-s85wev1h.js} +3 -3
- package/dist/chunks/{persistent-pty-m142re3c.js → location-sjcx3g3r.js} +24 -24
- package/dist/chunks/{persistent-pty-b6sgv4g0.js → location-smwhbszz.js} +17 -17
- package/dist/chunks/{persistent-pty-2pw9t7y0.js → location-t1e7skfr.js} +18 -18
- package/dist/chunks/{persistent-pty-ek57zv8b.js → location-t35kk4m3.js} +15 -15
- package/dist/chunks/{persistent-pty-42mqjpyj.js → location-t6zqrtn1.js} +13 -13
- package/dist/chunks/{persistent-pty-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-h90v2x9d.js → location-tbmac1c7.js} +4 -4
- package/dist/chunks/{persistent-pty-89znhe33.js → location-tcezcvh9.js} +4 -4
- package/dist/chunks/{persistent-pty-pqsj7wgp.js → location-td97gtjv.js} +5 -5
- package/dist/chunks/{persistent-pty-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-a3r4dcrj.js → location-tqkrwgse.js} +2 -2
- package/dist/chunks/{persistent-pty-f9t0t77v.js → location-trf615cw.js} +25 -25
- package/dist/chunks/{persistent-pty-yxdp53eh.js → location-tsb833f7.js} +1 -1
- package/dist/chunks/{persistent-pty-tvtrv512.js → location-tvtrv512.js} +1 -1
- package/dist/chunks/{persistent-pty-xen1zbvx.js → location-twmzk99d.js} +2 -2
- package/dist/chunks/{persistent-pty-hs14hted.js → location-tx44wenv.js} +10 -10
- package/dist/chunks/{persistent-pty-0fq9kbe5.js → location-v0a36qrn.js} +14 -14
- package/dist/chunks/{persistent-pty-edbn27ge.js → location-v4bf4b2h.js} +4 -4
- package/dist/chunks/{persistent-pty-yy0dcyjw.js → location-vakeda38.js} +5 -5
- package/dist/chunks/{persistent-pty-wq4zc2h0.js → location-vd3e338q.js} +16 -16
- package/dist/chunks/{persistent-pty-4wfraw0w.js → location-vdb8q7n5.js} +23 -23
- package/dist/chunks/{persistent-pty-t9zs3egg.js → location-ve4pfa0n.js} +4 -4
- package/dist/chunks/{persistent-pty-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-vzcthcp8.js → location-vzcthcp8.js} +1 -1
- package/dist/chunks/{persistent-pty-vzs5sf6e.js → location-vzs5sf6e.js} +1 -1
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-46pet8gs.js → location-w4m15ch3.js} +13 -13
- package/dist/chunks/{persistent-pty-ggr88sj4.js → location-w561axtn.js} +14 -14
- package/dist/chunks/{persistent-pty-8e7wxhqf.js → location-w8h3bv79.js} +31 -31
- package/dist/chunks/{persistent-pty-s7h7at2m.js → location-watadjga.js} +24 -24
- package/dist/chunks/{persistent-pty-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-be3be266.js → location-x19b8bje.js} +3 -3
- package/dist/chunks/{persistent-pty-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
- package/dist/chunks/{persistent-pty-aq6cef94.js → location-x594m8gs.js} +10 -10
- package/dist/chunks/{persistent-pty-cavr175a.js → location-xdk9p2qn.js} +21 -21
- package/dist/chunks/{persistent-pty-m3nayt80.js → location-xdzxe0wf.js} +8 -8
- package/dist/chunks/{persistent-pty-vs8k4vg6.js → location-xeeh34fw.js} +18 -18
- package/dist/chunks/{persistent-pty-3vb8825b.js → location-xfgqgyq2.js} +19 -19
- package/dist/chunks/{persistent-pty-0jnnzt4k.js → location-xhq66er1.js} +30 -30
- package/dist/chunks/{persistent-pty-kazy0ayh.js → location-xj05n8sj.js} +1 -1
- package/dist/chunks/{persistent-pty-apbqs3pw.js → location-xnwq07qp.js} +1 -1
- package/dist/chunks/{persistent-pty-bp98ntrt.js → location-xxfd829z.js} +22 -22
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-zvs730z4.js → location-y3ts0hry.js} +8 -8
- package/dist/chunks/{persistent-pty-ajdjch6h.js → location-y56ehv6b.js} +9 -9
- package/dist/chunks/location-y6qt5j83.js +26 -0
- package/dist/chunks/{persistent-pty-k3akrp7q.js → location-ybx772w1.js} +52 -52
- package/dist/chunks/location-ycn72enr.js +252 -0
- package/dist/chunks/{persistent-pty-3efxt51q.js → location-yks39n9z.js} +19 -19
- package/dist/chunks/{persistent-pty-yp2x3t23.js → location-yp2x3t23.js} +1 -1
- package/dist/chunks/{persistent-pty-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
- package/dist/chunks/{persistent-pty-qreq96fy.js → location-ys0deajw.js} +16 -16
- package/dist/chunks/{persistent-pty-55zqgwvr.js → location-ysbspvw2.js} +11 -11
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-6vyb99v6.js → location-zbt3cmbn.js} +10 -10
- package/dist/chunks/{persistent-pty-zeh9ct20.js → location-zeh9ct20.js} +2 -2
- package/dist/chunks/{persistent-pty-avvhg6ef.js → location-zh9b217t.js} +3 -3
- package/dist/chunks/{persistent-pty-hd8vw2pw.js → location-znsx74x0.js} +1 -1
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-bjmt3h04.js → location-zrq8kphx.js} +7 -7
- package/dist/chunks/{persistent-pty-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- package/dist/chunks/{persistent-pty-14xhwdvx.js → location-zzmaa19e.js} +11 -11
- 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 +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +228 -228
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +8 -8
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.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 +363 -363
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +79 -79
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- 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 +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +91 -91
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- 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 +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-01qtd5dc.js +0 -252
- package/dist/chunks/persistent-pty-0ntnwng5.js +0 -507
- package/dist/chunks/persistent-pty-6k12j7x1.js +0 -26
- package/dist/chunks/persistent-pty-ht5y0zrb.js +0 -18
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-34c7v6d4.js → location-34c7v6d4.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → location-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-8wj87zfr.js → location-8wj87zfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-922hggd3.js → location-922hggd3.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hjbc5kem.js → location-hjbc5kem.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
|
|
|
18
18
|
diffByKey: () => diffByKey2,
|
|
19
19
|
empty: () => empty3,
|
|
20
20
|
hash: () => hash2,
|
|
21
|
-
make: () =>
|
|
21
|
+
make: () => make20,
|
|
22
22
|
read: () => read3,
|
|
23
23
|
removed: () => removed2,
|
|
24
24
|
renderInitial: () => renderInitial2,
|
|
@@ -50,7 +50,7 @@ class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKey
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
var empty3 = [];
|
|
53
|
-
function
|
|
53
|
+
function make20(source) {
|
|
54
54
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
55
55
|
const encode = Schema.encodeSync(source.codec);
|
|
56
56
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3,
|
|
196
|
+
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make20, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node86
|
|
7
|
+
} from "./location-68y7phbn.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-84txncab.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service73,
|
|
16
|
+
node77
|
|
17
|
+
} from "./location-kxf9nzd0.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service36,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node39,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service36 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
106
|
const git = yield* Service82;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service73;
|
|
110
|
+
return Service36.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node39 = makeGlobalNode({
|
|
171
|
+
service: Service36,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node77]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service36, isError2, validateBranch2, node39, exports_repository_cache };
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node87
|
|
4
|
+
} from "./location-bt7n4pmb.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
node84
|
|
8
|
+
} from "./location-khkvak3g.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service56,
|
|
11
11
|
login2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
node59
|
|
13
|
+
} from "./location-yks39n9z.js";
|
|
14
14
|
import {
|
|
15
15
|
lazy2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-88xbtdfr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
|
-
CreateInput: () =>
|
|
25
|
-
Event: () =>
|
|
24
|
+
CreateInput: () => CreateInput3,
|
|
25
|
+
Event: () => Event8,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
|
-
ID: () =>
|
|
28
|
-
Info: () =>
|
|
29
|
-
NotFoundError: () =>
|
|
27
|
+
ID: () => ID5,
|
|
28
|
+
Info: () => Info9,
|
|
29
|
+
NotFoundError: () => NotFoundError6,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service55,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node58
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
37
37
|
import { Pty } from "@opencode/schema/pty";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event8 } from "@opencode/schema/pty";
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
42
|
+
var ID5 = Pty.ID;
|
|
43
|
+
var Info9 = Pty.Info;
|
|
44
|
+
var CreateInput3 = Pty.CreateInput;
|
|
45
45
|
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
ptyID:
|
|
47
|
+
class NotFoundError6 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
|
+
ptyID: ID5
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
53
|
-
ptyID:
|
|
53
|
+
ptyID: ID5
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service55 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
60
60
|
const bus = yield* Service83;
|
|
61
61
|
const location = yield* Service80;
|
|
62
|
-
const shell = yield*
|
|
62
|
+
const shell = yield* Service56;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
96
96
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
97
97
|
const session = sessions.get(id);
|
|
98
98
|
if (!session)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError6({ ptyID: id });
|
|
100
100
|
return session;
|
|
101
101
|
});
|
|
102
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
122
122
|
return (yield* requireSession(id)).info;
|
|
123
123
|
});
|
|
124
124
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
125
|
-
const id =
|
|
125
|
+
const id = ID5.ascending();
|
|
126
126
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
127
127
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
128
128
|
const cwd = input.cwd || location.directory;
|
|
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
|
-
return
|
|
270
|
+
return Service55.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node58 = makeLocationNode({
|
|
273
|
+
service: Service55,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [
|
|
275
|
+
deps: [node87, node84, node59]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export {
|
|
278
|
+
export { ID5, Info9, CreateInput3, UpdateInput2, NotFoundError6, ExitedError2, Service55, node58, exports_pty, Event8 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID14,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service76
|
|
4
|
+
} from "./location-ajevxyj5.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* Service76;
|
|
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()) {
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-xdk9p2qn.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info20
|
|
9
|
+
} from "./location-qs001aqx.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info24
|
|
12
|
+
} from "./location-d87ppnb3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info22
|
|
15
|
+
} from "./location-19vf66h0.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info23
|
|
18
|
+
} from "./location-avm8jn6n.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-7dqw4kz8.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info19
|
|
24
|
+
} from "./location-qte5z7bc.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info16
|
|
27
|
+
} from "./location-3r5v0g1e.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./location-v4bf4b2h.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./location-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info16.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info24, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info22, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info20, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info20, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info23, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info19, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service51,
|
|
6
|
+
node54
|
|
7
|
+
} from "./location-dk95rs1h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
13
|
var exports_generate2 = {};
|
|
14
14
|
__export(exports_generate2, {
|
|
15
15
|
Generate: () => exports_generate2,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service31,
|
|
18
18
|
UnavailableError: () => UnavailableError2,
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
layer: () => layer13,
|
|
20
|
+
node: () => node34
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -34,11 +34,11 @@ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
34
34
|
}) {
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class Service31 extends Context.Service()("@opencode/Generate") {
|
|
38
38
|
}
|
|
39
|
-
var
|
|
39
|
+
var layer13 = Layer.effect(Service31, Effect.gen(function* () {
|
|
40
40
|
const llm = yield* LLMClient.Service;
|
|
41
|
-
const resolver = yield*
|
|
41
|
+
const resolver = yield* Service51;
|
|
42
42
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
43
43
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
44
44
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -68,12 +68,12 @@ var layer14 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
68
68
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
69
69
|
message: "Generation credentials are unavailable"
|
|
70
70
|
})));
|
|
71
|
-
return
|
|
71
|
+
return Service31.of({ text });
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node34 = makeLocationNode({
|
|
74
|
+
service: Service31,
|
|
75
|
+
layer: layer13,
|
|
76
|
+
deps: [node54, llmClient2]
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export { ModelSelectionError2, UnavailableError2,
|
|
79
|
+
export { ModelSelectionError2, UnavailableError2, Service31, layer13, node34, exports_generate2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service34,
|
|
3
|
+
node37
|
|
4
|
+
} from "./location-k18kvgqw.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make20,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-rhjbct0v.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions4 = {};
|
|
17
|
+
__export(exports_instructions4, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions4,
|
|
19
|
+
Service: () => Service18,
|
|
20
|
+
node: () => node22
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,18 +57,18 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service18 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service34;
|
|
64
|
+
return Service18.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
71
|
+
return make20({
|
|
72
72
|
key: Key3.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node22 = makeLocationNode({ service: Service18, layer, deps: [node37] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service18, node22, exports_instructions4 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-khkvak3g.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service70
|
|
7
|
+
} from "./location-4ms6454k.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service57
|
|
10
|
+
} from "./location-mg7d5g79.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
make4
|
|
13
|
+
} from "./location-mvfsc1pv.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/formatter.ts
|
|
22
22
|
var exports_formatter = {};
|
|
23
23
|
__export(exports_formatter, {
|
|
24
24
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin31
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -30,11 +30,11 @@ import { Global } from "@opencode/util/global";
|
|
|
30
30
|
import { Npm } from "@opencode/util/npm";
|
|
31
31
|
import { AppProcess } from "@opencode/util/process";
|
|
32
32
|
import { Effect } from "effect";
|
|
33
|
-
var
|
|
33
|
+
var Plugin31 = define({
|
|
34
34
|
id: "opencode.config.formatter",
|
|
35
35
|
effect: Effect.fn(function* (ctx) {
|
|
36
|
-
const config = yield*
|
|
37
|
-
const formatter = yield*
|
|
36
|
+
const config = yield* Service70;
|
|
37
|
+
const formatter = yield* Service57;
|
|
38
38
|
const fs = yield* FSUtil.Service;
|
|
39
39
|
const global = yield* Global.Service;
|
|
40
40
|
const location = yield* Service80;
|
|
@@ -45,7 +45,7 @@ var Plugin14 = define({
|
|
|
45
45
|
const configured = latest2(loaded.entries, "formatter");
|
|
46
46
|
if (!configured)
|
|
47
47
|
return;
|
|
48
|
-
const builtIns =
|
|
48
|
+
const builtIns = make4({
|
|
49
49
|
directory: location.directory,
|
|
50
50
|
worktree: location.project.directory,
|
|
51
51
|
fs,
|
|
@@ -74,4 +74,4 @@ var Plugin14 = define({
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
|
|
77
|
-
export {
|
|
77
|
+
export { Plugin31, exports_formatter };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-qa3tmgdp.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-bt7n4pmb.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service77
|
|
11
|
+
} from "./location-5a824ydm.js";
|
|
12
12
|
import {
|
|
13
13
|
ID14,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service76
|
|
16
|
+
} from "./location-ajevxyj5.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
22
|
ID13
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-vd3e338q.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-mwacmns3.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
56
|
+
const credentials = yield* Service77;
|
|
57
|
+
const integrations = yield* Service76;
|
|
58
58
|
const bus = yield* Service83;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
184
184
|
});
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
yield* bus.subscribe(
|
|
187
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
188
188
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
189
189
|
const token = envToken();
|
|
190
190
|
if (token)
|