@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,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node88
|
|
4
|
+
} from "./location-02pzv384.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
node87
|
|
8
|
+
} from "./location-bt7n4pmb.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event19,
|
|
24
|
+
ID: () => ID15,
|
|
25
|
+
Info: () => Info30,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service77,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node81
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID15 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event19 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info30 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID15,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service77 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service84).db;
|
|
55
55
|
const bus = yield* Service83;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info30({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service77.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id: input.id ??
|
|
79
|
+
const credential = new Info30({
|
|
80
|
+
id: input.id ?? ID15.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -108,9 +108,9 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
108
108
|
type: credential.value.type,
|
|
109
109
|
active: activated
|
|
110
110
|
});
|
|
111
|
-
yield* bus.publish(
|
|
111
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
112
112
|
if (activated)
|
|
113
|
-
yield* bus.publish(
|
|
113
|
+
yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
114
114
|
return credential;
|
|
115
115
|
}),
|
|
116
116
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
130
130
|
})), Effect.orDie);
|
|
131
131
|
if (integrationID) {
|
|
132
132
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
133
|
-
yield* bus.publish(
|
|
133
|
+
yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
|
|
134
134
|
}
|
|
135
135
|
}),
|
|
136
136
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -162,7 +162,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
162
162
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
163
163
|
});
|
|
164
164
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
165
|
-
yield* bus.publish(
|
|
165
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
166
166
|
}),
|
|
167
167
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
168
168
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -195,12 +195,12 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
195
195
|
active: removed.switched,
|
|
196
196
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
197
197
|
});
|
|
198
|
-
yield* bus.publish(
|
|
198
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
199
199
|
if (removed.switched)
|
|
200
|
-
yield* bus.publish(
|
|
200
|
+
yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
201
201
|
})
|
|
202
202
|
});
|
|
203
203
|
}));
|
|
204
|
-
var
|
|
204
|
+
var node81 = makeGlobalNode({ service: Service77, layer, deps: [node88, node87] });
|
|
205
205
|
|
|
206
|
-
export {
|
|
206
|
+
export { ID15, OAuth3, Key4, Value2, Event19, Info30, Service77, node81, exports_credential };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-watadjga.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service70
|
|
7
|
+
} from "./location-4ms6454k.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-mwacmns3.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
|
|
|
45
45
|
});
|
|
46
46
|
var discovery = new Map;
|
|
47
47
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
48
|
-
function
|
|
48
|
+
function make8(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
49
49
|
return define({
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service70;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -77,7 +77,7 @@ function make5(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
77
77
|
});
|
|
78
78
|
for (const item of loaded.models) {
|
|
79
79
|
providers.models.update(providerID, item.model, (model) => {
|
|
80
|
-
model.modelID =
|
|
80
|
+
model.modelID = ID12.make(item.model);
|
|
81
81
|
model.name = item.name || item.model;
|
|
82
82
|
model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
|
|
83
83
|
model.capabilities = {
|
|
@@ -151,7 +151,7 @@ function make5(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
151
151
|
})
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
var OllamaPlugin2 =
|
|
154
|
+
var OllamaPlugin2 = make8();
|
|
155
155
|
function configured(entries, origin) {
|
|
156
156
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
157
157
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -170,4 +170,4 @@ function configured(entries, origin) {
|
|
|
170
170
|
return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
export {
|
|
173
|
+
export { make8, OllamaPlugin2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node88
|
|
4
|
+
} from "./location-02pzv384.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node73
|
|
12
|
+
} from "./location-r01t9b5y.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID11,
|
|
25
|
+
Info: () => Info15,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service69,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured9,
|
|
30
|
+
node: () => node72
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID11 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info15 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID11,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info26 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID11 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID11,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service69 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured9 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service69,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [
|
|
64
|
+
deps: [node88, node73]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service69, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service84).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info15({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service69.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID11.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node72 = configured9();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID11, Info15, NotFound3, CreateConflict2, Service69, configured9, node72, exports_workspace };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-y8cydn3q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service70
|
|
7
|
+
} from "./location-4ms6454k.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service68
|
|
13
|
+
} from "./location-xxfd829z.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service44
|
|
16
|
+
} from "./location-6cqxdj14.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service60
|
|
19
|
+
} from "./location-dv0n9c2x.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service37,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-nkp651gc.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service56,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-yks39n9z.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError3,
|
|
36
|
+
Service27
|
|
37
|
+
} from "./location-09q1akkk.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service13
|
|
40
|
+
} from "./location-8dg5vm6z.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./location-h4c91pay.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./location-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell = {};
|
|
50
|
+
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input2,
|
|
53
|
+
Plugin: () => Plugin2,
|
|
54
|
+
ShellTool: () => exports_shell,
|
|
55
|
+
name: () => name2
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name2 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input2 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
|
|
|
116
116
|
truncated: false,
|
|
117
117
|
status: "running"
|
|
118
118
|
});
|
|
119
|
-
var
|
|
119
|
+
var Plugin2 = {
|
|
120
120
|
id: "opencode.tool.shell",
|
|
121
121
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
122
|
-
const sessions = yield*
|
|
123
|
-
const jobs = yield*
|
|
122
|
+
const sessions = yield* Service13;
|
|
123
|
+
const jobs = yield* Service44;
|
|
124
124
|
const scope = yield* Scope.Scope;
|
|
125
|
-
const environment = yield*
|
|
126
|
-
const access = yield*
|
|
127
|
-
const shell = yield*
|
|
128
|
-
const shellSelect = yield*
|
|
125
|
+
const environment = yield* Service68;
|
|
126
|
+
const access = yield* Service37;
|
|
127
|
+
const shell = yield* Service27;
|
|
128
|
+
const shellSelect = yield* Service56;
|
|
129
129
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
130
|
-
const permission = yield*
|
|
131
|
-
const config = yield*
|
|
130
|
+
const permission = yield* Service60;
|
|
131
|
+
const config = yield* Service70;
|
|
132
132
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
133
133
|
const source = {
|
|
134
134
|
type: "tool",
|
|
@@ -147,7 +147,7 @@ var Plugin39 = {
|
|
|
147
147
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
148
148
|
if (parsed.commands.length > 0)
|
|
149
149
|
yield* permission.assert({
|
|
150
|
-
action:
|
|
150
|
+
action: name2,
|
|
151
151
|
resources: parsed.commands.map((command) => command.resource),
|
|
152
152
|
save: parsed.commands.map((command) => command.save),
|
|
153
153
|
sessionID: context.sessionID,
|
|
@@ -184,10 +184,10 @@ var Plugin39 = {
|
|
|
184
184
|
yield* jobs.completeBackground(info.notificationID);
|
|
185
185
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
186
186
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
187
|
-
name:
|
|
187
|
+
name: name2,
|
|
188
188
|
options: { codemode: false },
|
|
189
189
|
description: description(),
|
|
190
|
-
input:
|
|
190
|
+
input: Input2,
|
|
191
191
|
output: Output,
|
|
192
192
|
execute: (input, context) => Effect.gen(function* () {
|
|
193
193
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -210,7 +210,7 @@ var Plugin39 = {
|
|
|
210
210
|
const run = Effect.gen(function* () {
|
|
211
211
|
const result = yield* shell.result(info);
|
|
212
212
|
if (!result.capture)
|
|
213
|
-
return yield* new
|
|
213
|
+
return yield* new NotFoundError3({ id: info.id });
|
|
214
214
|
const output = output2(result);
|
|
215
215
|
return {
|
|
216
216
|
...output,
|
|
@@ -224,7 +224,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
224
224
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
225
225
|
const job = yield* jobs.start({
|
|
226
226
|
id: info.id,
|
|
227
|
-
type:
|
|
227
|
+
type: name2,
|
|
228
228
|
title: info.command,
|
|
229
229
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
230
230
|
recovery: {
|
|
@@ -254,7 +254,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
254
254
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
255
255
|
})).pipe(Effect.orDie);
|
|
256
256
|
const hook = (event) => Effect.gen(function* () {
|
|
257
|
-
const tool = event.tools[
|
|
257
|
+
const tool = event.tools[name2];
|
|
258
258
|
if (!tool)
|
|
259
259
|
return;
|
|
260
260
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
265
265
|
})
|
|
266
266
|
};
|
|
267
267
|
|
|
268
|
-
export {
|
|
268
|
+
export { name2, DEFAULT_TIMEOUT_MS2, Input2, Plugin2, exports_shell };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node88
|
|
7
|
+
} from "./location-02pzv384.js";
|
|
8
8
|
import {
|
|
9
9
|
Service83,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
node87
|
|
11
|
+
} from "./location-bt7n4pmb.js";
|
|
12
12
|
import {
|
|
13
13
|
Service82,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
node86
|
|
15
|
+
} from "./location-68y7phbn.js";
|
|
16
16
|
import {
|
|
17
17
|
ID18,
|
|
18
18
|
Current3,
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-57ez7d0k.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-psazpmmj.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-gfvb90ym.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
@@ -43,7 +43,7 @@ __export(exports_project, {
|
|
|
43
43
|
Service: () => Service81,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node85,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -284,10 +284,10 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
284
284
|
});
|
|
285
285
|
return Service81.of({ list, update, activate, resolve });
|
|
286
286
|
}));
|
|
287
|
-
var
|
|
287
|
+
var node85 = makeGlobalNode({
|
|
288
288
|
service: Service81,
|
|
289
289
|
layer,
|
|
290
|
-
deps: [
|
|
290
|
+
deps: [node87, node88, FSUtil.node, node86, AppProcess.node]
|
|
291
291
|
});
|
|
292
292
|
|
|
293
|
-
export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service81,
|
|
293
|
+
export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service81, node85, exports_project };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -27,7 +27,7 @@ __export(exports_git3, {
|
|
|
27
27
|
TreeID: () => TreeID2,
|
|
28
28
|
Worktree: () => Worktree2,
|
|
29
29
|
WorktreeError: () => WorktreeError2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node86
|
|
31
31
|
});
|
|
32
32
|
import path from "path";
|
|
33
33
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -435,7 +435,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
435
435
|
}
|
|
436
436
|
});
|
|
437
437
|
}));
|
|
438
|
-
var
|
|
438
|
+
var node86 = makeGlobalNode({ service: Service82, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
439
439
|
function run(cwd, proc, args) {
|
|
440
440
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
441
441
|
}
|
|
@@ -463,4 +463,4 @@ function resolvePath(cwd, value) {
|
|
|
463
463
|
return path.resolve(cwd, normalized);
|
|
464
464
|
}
|
|
465
465
|
|
|
466
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service82,
|
|
466
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service82, node86, exports_git3 };
|