@opencode/core 0.0.0-dev-20126 → 0.0.0-dev-20127
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{file-mutation-zy43x3f1.js → config-0br3sbwn.js} +4 -4
- package/dist/chunks/{file-mutation-eaj1djv9.js → config-0gdmqesm.js} +8 -8
- package/dist/chunks/{file-mutation-0paq2nw3.js → config-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-mutation-mjdddjem.js → config-0pedt0qh.js} +187 -187
- package/dist/chunks/{file-mutation-r2qgc71p.js → config-0vk9pt22.js} +13 -13
- package/dist/chunks/{file-mutation-7gzfq6z6.js → config-0xytrptb.js} +8 -8
- package/dist/chunks/{file-mutation-4hz2mmtn.js → config-10zsszfr.js} +6 -6
- package/dist/chunks/{file-mutation-6r966qhx.js → config-16g44qj3.js} +18 -18
- package/dist/chunks/{file-mutation-72rb9p64.js → config-16kxxb61.js} +13 -13
- package/dist/chunks/{file-mutation-dbw36xtc.js → config-1a4sspre.js} +4 -4
- package/dist/chunks/{file-mutation-1dazxqgg.js → config-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-mutation-4tpa30t3.js → config-1dsw9fq7.js} +31 -31
- package/dist/chunks/{file-mutation-fmp81qfg.js → config-1h60jvfy.js} +32 -32
- package/dist/chunks/{file-mutation-khddj82n.js → config-1hhnftxq.js} +24 -24
- package/dist/chunks/{file-mutation-e37h8kwf.js → config-1mr1eyme.js} +12 -12
- package/dist/chunks/{file-mutation-t2tp239d.js → config-1mxw8x31.js} +17 -17
- package/dist/chunks/{file-mutation-y1y63myq.js → config-1q8wa827.js} +11 -11
- package/dist/chunks/{file-mutation-v303bt05.js → config-1rxr7f6r.js} +89 -89
- package/dist/chunks/config-1x11rq2a.js +18 -0
- package/dist/chunks/{file-mutation-33w4ejhs.js → config-1ygqh575.js} +6 -6
- package/dist/chunks/{file-mutation-ksxdz0cj.js → config-1zh869pz.js} +11 -11
- package/dist/chunks/{file-mutation-3r6ehhfq.js → config-20j0fgcq.js} +11 -11
- package/dist/chunks/{file-mutation-21r38tys.js → config-21r38tys.js} +1 -1
- package/dist/chunks/{file-mutation-yen1bsc2.js → config-22aaza4z.js} +26 -26
- package/dist/chunks/{file-mutation-z63w68vq.js → config-29x78va6.js} +6 -6
- package/dist/chunks/{file-mutation-2a5m3afh.js → config-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-mutation-gy8ga202.js → config-2c60h6pz.js} +23 -23
- package/dist/chunks/{file-mutation-ers6jmne.js → config-2dnv9bpn.js} +1 -1
- package/dist/chunks/{file-mutation-k7k78j8n.js → config-2hq4rz85.js} +9 -9
- package/dist/chunks/{file-mutation-f3vt2bxc.js → config-2nfs6qc9.js} +42 -42
- package/dist/chunks/{file-mutation-cwa6csj7.js → config-2sejkfem.js} +9 -9
- package/dist/chunks/{file-mutation-9jx8908j.js → config-2v0fm1hw.js} +12 -12
- package/dist/chunks/{file-mutation-8trrbr72.js → config-2xs629qk.js} +8 -8
- package/dist/chunks/{file-mutation-4n5421a4.js → config-2xxgvyge.js} +15 -15
- package/dist/chunks/{file-mutation-qkb8ch3h.js → config-2ywgxq1j.js} +4 -4
- package/dist/chunks/{file-mutation-sqy4ahhk.js → config-37mwd34b.js} +1 -1
- package/dist/chunks/{file-mutation-sra9araw.js → config-3cz8rj72.js} +5 -5
- package/dist/chunks/{file-mutation-3fc6dm20.js → config-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-mutation-4zvwzfyb.js → config-3h592g7x.js} +11 -11
- package/dist/chunks/{file-mutation-3hepkmqq.js → config-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-mutation-8gh9a73j.js → config-3m46j07d.js} +28 -28
- package/dist/chunks/{file-mutation-57ez7d0k.js → config-3nxb9rvh.js} +9 -9
- package/dist/chunks/{file-mutation-3smtnn6g.js → config-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-mutation-3tvqynh2.js → config-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-mutation-epa3bmw4.js → config-3wd95d96.js} +13 -13
- package/dist/chunks/{file-mutation-3zsf4n22.js → config-3zsf4n22.js} +1 -1
- package/dist/chunks/{file-mutation-44h5tttr.js → config-4dgbcxzg.js} +4 -4
- package/dist/chunks/{file-mutation-qfbfp1v0.js → config-4n68vvn4.js} +4 -4
- package/dist/chunks/{file-mutation-etcxff87.js → config-4w6knpbj.js} +40 -40
- package/dist/chunks/{file-mutation-0tmgye68.js → config-4y7j986s.js} +9 -9
- package/dist/chunks/{file-mutation-4fpbqhmf.js → config-4ye6r6fn.js} +6 -6
- package/dist/chunks/{file-mutation-nktykkx9.js → config-515z4g5k.js} +21 -21
- package/dist/chunks/{file-mutation-h32yg4c8.js → config-52zhtxpf.js} +20 -20
- package/dist/chunks/{file-mutation-e2artx0a.js → config-5c29qaae.js} +11 -11
- package/dist/chunks/{file-mutation-5daktx2q.js → config-5daktx2q.js} +1 -1
- package/dist/chunks/{file-mutation-zj5k55ky.js → config-5erymg1w.js} +10 -10
- package/dist/chunks/{file-mutation-hb5spttd.js → config-5pt7ermt.js} +28 -28
- package/dist/chunks/{file-mutation-5t3nmthw.js → config-5t3nmthw.js} +2 -2
- package/dist/chunks/config-5w2nd07z.js +252 -0
- package/dist/chunks/{file-mutation-9w1tyxn7.js → config-5y2798r0.js} +11 -11
- package/dist/chunks/{file-mutation-669tq793.js → config-669tq793.js} +1 -1
- package/dist/chunks/{file-mutation-ss0awb04.js → config-6anwy9fs.js} +6 -6
- package/dist/chunks/{file-mutation-1n1tx8h8.js → config-6b65ztv1.js} +9 -9
- package/dist/chunks/{file-mutation-2402vzrj.js → config-6h73sxmp.js} +5 -5
- package/dist/chunks/{file-mutation-0996nyz8.js → config-6hjx5zpb.js} +5 -5
- package/dist/chunks/{file-mutation-6msgmcgs.js → config-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-mutation-cs08gwkb.js → config-6np4m6hv.js} +35 -35
- package/dist/chunks/{file-mutation-8sze2n9a.js → config-6pc27hjz.js} +2 -2
- package/dist/chunks/{file-mutation-s0hycazx.js → config-6qg5yf3b.js} +23 -23
- package/dist/chunks/{file-mutation-7x5j9h8t.js → config-6qgk5hzy.js} +15 -15
- package/dist/chunks/{file-mutation-jp0n41mz.js → config-6qttmjpq.js} +3 -3
- package/dist/chunks/{file-mutation-f5gy8qwh.js → config-6ysrkrkr.js} +8 -8
- package/dist/chunks/{file-mutation-68gs9314.js → config-7174pgp6.js} +3 -3
- package/dist/chunks/{file-mutation-3c7f6ssd.js → config-72g3zqyf.js} +12 -12
- package/dist/chunks/{file-mutation-73tb2d7t.js → config-73tb2d7t.js} +1 -1
- package/dist/chunks/{file-mutation-0jg22twd.js → config-799hf882.js} +18 -18
- package/dist/chunks/{file-mutation-7bmhse3q.js → config-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-mutation-4cdew6sp.js → config-7nbgfms9.js} +4 -4
- package/dist/chunks/{file-mutation-hdy211xa.js → config-7t3tfz5t.js} +16 -16
- package/dist/chunks/{file-mutation-22y2m3bg.js → config-8cmfe1vg.js} +37 -37
- package/dist/chunks/{file-mutation-8d7r5vzw.js → config-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-mutation-21mj4bn4.js → config-8j7axh46.js} +10 -10
- package/dist/chunks/{file-mutation-248sfqkf.js → config-8q9k32tn.js} +12 -12
- package/dist/chunks/{file-mutation-6y91m51w.js → config-8sbtcq5s.js} +16 -16
- package/dist/chunks/{file-mutation-rwd5573c.js → config-8v1m0y60.js} +7 -7
- package/dist/chunks/{file-mutation-2p8k3371.js → config-8ved8jnx.js} +8 -8
- package/dist/chunks/{file-mutation-ratrq7cm.js → config-8x96bj0m.js} +7 -7
- package/dist/chunks/{file-mutation-94ek1h2f.js → config-94ek1h2f.js} +2 -2
- package/dist/chunks/{file-mutation-h2y3yhav.js → config-99wrhtss.js} +43 -43
- package/dist/chunks/{file-mutation-fhtpvx45.js → config-9dn6mvr2.js} +6 -6
- package/dist/chunks/{file-mutation-v23j6r7v.js → config-9hccfhrx.js} +22 -22
- package/dist/chunks/{file-mutation-tpw6cwsb.js → config-9hn6k4tm.js} +8 -8
- package/dist/chunks/{file-mutation-wngw2qw7.js → config-9q25103b.js} +20 -20
- package/dist/chunks/{file-mutation-qknka9dr.js → config-9x8w7p4j.js} +24 -24
- package/dist/chunks/{file-mutation-q0frpy02.js → config-a0ghkavf.js} +11 -11
- package/dist/chunks/{file-mutation-g7n3fm64.js → config-a2tjvjty.js} +23 -23
- package/dist/chunks/{file-mutation-qx0wyz6f.js → config-a7e40s8p.js} +6 -6
- package/dist/chunks/{file-mutation-688x7pqg.js → config-a87twgwr.js} +15 -15
- package/dist/chunks/{file-mutation-aaet6srn.js → config-aaet6srn.js} +2 -2
- package/dist/chunks/{file-mutation-agdwaq9x.js → config-adx83z8t.js} +26 -26
- package/dist/chunks/{file-mutation-d0rz62a2.js → config-akqqet5h.js} +26 -26
- package/dist/chunks/{file-mutation-x8jha37b.js → config-az63ayr1.js} +7 -7
- package/dist/chunks/{file-mutation-sh6458vc.js → config-b3q826kt.js} +32 -32
- package/dist/chunks/{file-mutation-qw2jr3s2.js → config-b4pwz10k.js} +12 -12
- package/dist/chunks/{file-mutation-b6gygkdw.js → config-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-mutation-v6ghzfeb.js → config-b7v4cx43.js} +5 -5
- package/dist/chunks/{file-mutation-s7cavm8f.js → config-b8p7xqbm.js} +7 -7
- package/dist/chunks/{file-mutation-er7g126a.js → config-bbf2nzw2.js} +20 -20
- package/dist/chunks/{file-mutation-s4q9yqp5.js → config-bpcdvc6b.js} +68 -68
- package/dist/chunks/{file-mutation-b9jeenbt.js → config-bxk1md5p.js} +6 -6
- package/dist/chunks/{file-mutation-jrpt1xcd.js → config-byggynze.js} +26 -26
- package/dist/chunks/{file-mutation-4whvt6s6.js → config-c0g3q3bg.js} +35 -35
- package/dist/chunks/{file-mutation-kbszyzqp.js → config-c35kps7f.js} +19 -19
- package/dist/chunks/{file-mutation-hvmbg5dq.js → config-cfavsdh4.js} +11 -11
- package/dist/chunks/{file-mutation-55ayhf34.js → config-cgt6twhd.js} +14 -14
- package/dist/chunks/{file-mutation-ckecvw8r.js → config-ckecvw8r.js} +2 -2
- package/dist/chunks/{file-mutation-8jptg25a.js → config-cnwyxq1e.js} +4 -4
- package/dist/chunks/{file-mutation-0nd9yvwt.js → config-cx4bma5z.js} +8 -8
- package/dist/chunks/{file-mutation-vkk8vd4a.js → config-d884m17t.js} +3 -3
- package/dist/chunks/{file-mutation-ve4pfa0n.js → config-dfe8djrf.js} +4 -4
- package/dist/chunks/{file-mutation-7w3s9kd0.js → config-dg5bcj4q.js} +6 -6
- package/dist/chunks/{file-mutation-h2r7bbkd.js → config-dhwr7h25.js} +11 -11
- package/dist/chunks/{file-mutation-dnzwjmsp.js → config-dpn9gxbb.js} +24 -24
- package/dist/chunks/{file-mutation-xfkkasph.js → config-drwq78ky.js} +4 -4
- package/dist/chunks/{file-mutation-w8kkwjfy.js → config-dssafcpe.js} +18 -18
- package/dist/chunks/{file-mutation-5qd3pb7m.js → config-e3qxr5gk.js} +2 -2
- package/dist/chunks/{file-mutation-80scg3y3.js → config-eahhehpg.js} +4 -4
- package/dist/chunks/{file-mutation-ecfe7b91.js → config-ecfe7b91.js} +2 -2
- package/dist/chunks/{file-mutation-cd6bm0sq.js → config-eddmhssm.js} +9 -9
- package/dist/chunks/{file-mutation-ef5x83kb.js → config-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-mutation-b2p42515.js → config-epmkw3y8.js} +5 -5
- package/dist/chunks/{file-mutation-etq0c3wd.js → config-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-mutation-t1c0b4ed.js → config-eydfqfz8.js} +32 -32
- package/dist/chunks/{file-mutation-j4nwb9pe.js → config-ezbsm7tg.js} +51 -51
- package/dist/chunks/{file-mutation-1acjjqhc.js → config-f2n192rq.js} +4 -4
- package/dist/chunks/{file-mutation-fj10zqs3.js → config-f7e5rkha.js} +7 -7
- package/dist/chunks/{file-mutation-1813d5zh.js → config-fcbbx3j9.js} +13 -13
- package/dist/chunks/{file-mutation-7dqw4kz8.js → config-fcrkznn8.js} +5 -5
- package/dist/chunks/{file-mutation-4jk0qxj4.js → config-fdzkgkhq.js} +6 -6
- package/dist/chunks/{file-mutation-mzga79vb.js → config-ffn32vtp.js} +9 -9
- package/dist/chunks/{file-mutation-5mf3y8mk.js → config-fjkr4zhg.js} +20 -20
- package/dist/chunks/{file-mutation-wavqdc1d.js → config-fps507qa.js} +25 -25
- package/dist/chunks/{file-mutation-wyhm8gxt.js → config-frw0pd7b.js} +5 -5
- package/dist/chunks/{file-mutation-a1szppz9.js → config-fxvr7k3s.js} +3 -3
- package/dist/chunks/{file-mutation-hr3q54ky.js → config-fze14hen.js} +44 -44
- package/dist/chunks/{file-mutation-r7hn1375.js → config-g5prf4y9.js} +11 -11
- package/dist/chunks/{file-mutation-8ag1zg7r.js → config-gbhvfqq2.js} +15 -15
- package/dist/chunks/config-gbs378er.js +26 -0
- package/dist/chunks/{file-mutation-gd4qta3r.js → config-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-mutation-q3t37ft6.js → config-grqp3cmb.js} +3 -3
- package/dist/chunks/{file-mutation-gv6a8nnw.js → config-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-mutation-rr3c0cyq.js → config-gy9at9sn.js} +5 -5
- package/dist/chunks/{file-mutation-k7v2hf9f.js → config-h5xc503t.js} +32 -32
- package/dist/chunks/{file-mutation-h6vf3j39.js → config-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-mutation-tzf2xzra.js → config-hw3jf7zs.js} +17 -17
- package/dist/chunks/{file-mutation-8443f5nj.js → config-hy258ha3.js} +11 -11
- package/dist/chunks/{file-mutation-j56e64zr.js → config-j56e64zr.js} +1 -1
- package/dist/chunks/{file-mutation-sb57s57d.js → config-j7sgts27.js} +11 -11
- package/dist/chunks/{file-mutation-tfp9qs7d.js → config-jcfd94wa.js} +4 -4
- package/dist/chunks/{file-mutation-x5793zcz.js → config-jfap9aer.js} +46 -46
- package/dist/chunks/{file-mutation-hpx69k21.js → config-jh2rg891.js} +11 -11
- package/dist/chunks/{file-mutation-gmjjhz4f.js → config-jvaehxt1.js} +9 -9
- package/dist/chunks/{file-mutation-ckv2q7n9.js → config-jvjbkr9j.js} +5 -5
- package/dist/chunks/{file-mutation-vz0rnvv0.js → config-jy58bwtx.js} +5 -5
- package/dist/chunks/{file-mutation-k3c624dm.js → config-k3c624dm.js} +3 -3
- package/dist/chunks/{file-mutation-a3hc19rv.js → config-kkt1pvxq.js} +48 -48
- package/dist/chunks/{file-mutation-ttqh24zm.js → config-kne8f3cn.js} +4 -4
- package/dist/chunks/{file-mutation-6mfh7f1f.js → config-krg1mvne.js} +3 -3
- package/dist/chunks/{file-mutation-m3fdjcah.js → config-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-mutation-fntxa7wr.js → config-m853nhb8.js} +5 -5
- package/dist/chunks/{file-mutation-m9w0rfyh.js → config-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-mutation-mfa1dnmq.js → config-mbmxjtmc.js} +10 -10
- package/dist/chunks/{file-mutation-3t6g7wkp.js → config-msvrdtvz.js} +18 -18
- package/dist/chunks/{file-mutation-sd5f6jdk.js → config-mx9vqzsb.js} +6 -6
- package/dist/chunks/{file-mutation-zz4yapdm.js → config-n135dnsm.js} +15 -15
- package/dist/chunks/{file-mutation-qawdn968.js → config-ne09twhz.js} +26 -26
- package/dist/chunks/{file-mutation-v0t54ggg.js → config-nfg9kq59.js} +21 -21
- package/dist/chunks/{file-mutation-nscznvay.js → config-nq7qbqzc.js} +9 -9
- package/dist/chunks/{file-mutation-v9zq9qxn.js → config-nr2w2189.js} +23 -23
- package/dist/chunks/{file-mutation-qte5z7bc.js → config-p1nm93x7.js} +5 -5
- package/dist/chunks/{file-mutation-9t03g7zr.js → config-p2j1q75x.js} +15 -15
- package/dist/chunks/{file-mutation-5ns2bjf8.js → config-p3cpk4pp.js} +32 -32
- package/dist/chunks/{file-mutation-5afv1qet.js → config-p6ayam82.js} +12 -12
- package/dist/chunks/{file-mutation-jgwpfrf8.js → config-pbas15b9.js} +35 -35
- package/dist/chunks/{file-mutation-zdngn9xm.js → config-pc13wr2c.js} +10 -10
- package/dist/chunks/{file-mutation-k9d40v1y.js → config-pf9pgydg.js} +4 -4
- package/dist/chunks/{file-mutation-36dfs4g1.js → config-pfc5wcba.js} +43 -43
- package/dist/chunks/{file-mutation-rwx7wstb.js → config-phwsvaab.js} +3 -3
- package/dist/chunks/{file-mutation-vy0eyd8e.js → config-pjpqce74.js} +6 -6
- package/dist/chunks/{file-mutation-pjvnvgmy.js → config-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-mutation-pknna89w.js → config-pknna89w.js} +1 -1
- package/dist/chunks/{file-mutation-tjja5a9k.js → config-pm9twwzx.js} +24 -24
- package/dist/chunks/{file-mutation-sd3a96zz.js → config-pz8tbp7j.js} +24 -24
- package/dist/chunks/{file-mutation-h1yars53.js → config-q0hrn92q.js} +24 -24
- package/dist/chunks/{file-mutation-f0dqn4g8.js → config-q7tnj3cs.js} +55 -55
- package/dist/chunks/{file-mutation-ds82e11p.js → config-qh9bhcvf.js} +19 -19
- package/dist/chunks/{file-mutation-zx7xtja6.js → config-qm5bh2zg.js} +16 -16
- package/dist/chunks/{file-mutation-qsdy395h.js → config-qsdy395h.js} +1 -1
- package/dist/chunks/{file-mutation-3bc8czyk.js → config-qsr9synt.js} +5 -5
- package/dist/chunks/config-qvh4m5s3.js +507 -0
- package/dist/chunks/{file-mutation-a917t0md.js → config-qyhc2ect.js} +22 -22
- package/dist/chunks/{file-mutation-dqsr6cvb.js → config-qzp3w3dw.js} +1 -1
- package/dist/chunks/{file-mutation-qnjd433t.js → config-r1fsesgm.js} +83 -83
- package/dist/chunks/{file-mutation-rdw6cm16.js → config-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-mutation-bxn4xr1t.js → config-rk33hdvr.js} +13 -13
- package/dist/chunks/{file-mutation-jca4demv.js → config-rm23jeyq.js} +2 -2
- package/dist/chunks/{file-mutation-ae1rh8jg.js → config-rw2gjr4k.js} +32 -32
- package/dist/chunks/{file-mutation-y8z3vmm6.js → config-ryjbxne7.js} +5 -5
- package/dist/chunks/{file-mutation-eeaf82dq.js → config-rzs3gq0x.js} +8 -8
- package/dist/chunks/{file-mutation-fxxdr4p9.js → config-s1b4b48z.js} +37 -37
- package/dist/chunks/{file-mutation-3m353frz.js → config-s26g1336.js} +3 -3
- package/dist/chunks/{file-mutation-yrznvahk.js → config-s4enseaf.js} +2 -2
- package/dist/chunks/{file-mutation-ht0r88e0.js → config-s6376x3p.js} +15 -15
- package/dist/chunks/{file-mutation-nn73askr.js → config-sadtqq7n.js} +42 -42
- package/dist/chunks/{file-mutation-h53p64px.js → config-sgc52vgw.js} +17 -17
- package/dist/chunks/{file-mutation-en7c0xf8.js → config-shpyybr3.js} +24 -24
- package/dist/chunks/{file-mutation-8e2atk35.js → config-spz7pvpb.js} +30 -30
- package/dist/chunks/{file-mutation-tvedvvzn.js → config-sr5e78z3.js} +8 -8
- package/dist/chunks/{file-mutation-zbvb58e6.js → config-ssn372xj.js} +8 -8
- package/dist/chunks/{file-mutation-jtx09q4b.js → config-svc2yp16.js} +5 -5
- package/dist/chunks/{file-mutation-hxg545me.js → config-t6ka9dx9.js} +17 -17
- package/dist/chunks/{file-mutation-v8fkb6at.js → config-t73e6et9.js} +11 -11
- package/dist/chunks/{file-mutation-tazgh4e4.js → config-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-mutation-wq4mmp7m.js → config-tazp3vs0.js} +4 -4
- package/dist/chunks/{file-mutation-tcezcvh9.js → config-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-mutation-tdstcens.js → config-tdstcens.js} +1 -1
- package/dist/chunks/{file-mutation-tvtrv512.js → config-tvtrv512.js} +1 -1
- package/dist/chunks/{file-mutation-cjnmt50d.js → config-tyn74aag.js} +10 -10
- package/dist/chunks/{file-mutation-tq0nabwy.js → config-v13penc1.js} +37 -37
- package/dist/chunks/{file-mutation-h9bgfx4d.js → config-v1djkr2w.js} +27 -27
- package/dist/chunks/{file-mutation-j5155tgc.js → config-v78vw6yh.js} +10 -10
- package/dist/chunks/{file-mutation-kg2qn9rr.js → config-v8h8cbks.js} +27 -27
- package/dist/chunks/{file-mutation-gr6t64sj.js → config-v92p9kc0.js} +59 -59
- package/dist/chunks/{file-mutation-vy4zg7qh.js → config-vcfreb8r.js} +12 -12
- package/dist/chunks/{file-mutation-veqvce7d.js → config-veqvce7d.js} +1 -1
- package/dist/chunks/{file-mutation-5qwkxp89.js → config-vgepzxbh.js} +4 -4
- package/dist/chunks/{file-mutation-vz7d5c1g.js → config-vkt5fbj2.js} +5 -5
- package/dist/chunks/{file-mutation-jw80jp6b.js → config-vsp1fds9.js} +21 -21
- package/dist/chunks/{file-mutation-x22cg2sb.js → config-vt7nys27.js} +21 -21
- package/dist/chunks/{file-mutation-n2ethy7h.js → config-vwxfqwvv.js} +2 -2
- package/dist/chunks/{file-mutation-vzcthcp8.js → config-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-mutation-vzs5sf6e.js → config-vzs5sf6e.js} +1 -1
- package/dist/chunks/{file-mutation-xwnmf787.js → config-w2m16rkb.js} +10 -10
- package/dist/chunks/{file-mutation-w3wsvvr9.js → config-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-mutation-k8eg9jwz.js → config-w4rqcj1w.js} +5 -5
- package/dist/chunks/{file-mutation-nz6ejssm.js → config-w87rt6qs.js} +24 -24
- package/dist/chunks/{file-mutation-wd3x2cqz.js → config-wd3x2cqz.js} +2 -2
- package/dist/chunks/{file-mutation-wd87259q.js → config-wd87259q.js} +1 -1
- package/dist/chunks/{file-mutation-xvjsxppn.js → config-werwj205.js} +10 -10
- package/dist/chunks/{file-mutation-1sedp1z2.js → config-wt4b75er.js} +39 -39
- package/dist/chunks/{file-mutation-st1j8ztb.js → config-wvdf2pxg.js} +13 -13
- package/dist/chunks/{file-mutation-mjsk7061.js → config-wwbfbydv.js} +20 -20
- package/dist/chunks/{file-mutation-x1ezjp6w.js → config-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-mutation-4x86753r.js → config-xc58nfyg.js} +15 -15
- package/dist/chunks/{file-mutation-w0wrcbs3.js → config-xdka3trx.js} +19 -19
- package/dist/chunks/{file-mutation-dsxey55j.js → config-xka7mv2v.js} +9 -9
- package/dist/chunks/{file-mutation-zz9ajb7v.js → config-xka9c7fg.js} +17 -17
- package/dist/chunks/{file-mutation-xkntkrq7.js → config-xkntkrq7.js} +2 -2
- package/dist/chunks/{file-mutation-1p2kvy81.js → config-xvfh2x84.js} +3 -3
- package/dist/chunks/{file-mutation-dh52qfvh.js → config-xvx8kafd.js} +26 -26
- package/dist/chunks/{file-mutation-r4jpc7y8.js → config-xy5sj35e.js} +20 -20
- package/dist/chunks/{file-mutation-y1fvbwt7.js → config-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-mutation-z4vrctzg.js → config-y3842byn.js} +23 -23
- package/dist/chunks/{file-mutation-y71avatq.js → config-y71avatq.js} +1 -1
- package/dist/chunks/{file-mutation-9ckhw4yx.js → config-yfyk3984.js} +36 -36
- package/dist/chunks/{file-mutation-zf5bw61z.js → config-ymptrdr6.js} +11 -11
- package/dist/chunks/{file-mutation-yecq0v11.js → config-yp947cz6.js} +11 -11
- package/dist/chunks/{file-mutation-wpg3r5fy.js → config-yqqd4sa6.js} +18 -18
- package/dist/chunks/{file-mutation-yrhqyw5v.js → config-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-mutation-5h1gmvy4.js → config-ysxwcaka.js} +33 -33
- package/dist/chunks/{file-mutation-djgt5fnj.js → config-yv1fjq0p.js} +11 -11
- package/dist/chunks/{file-mutation-6w51mpm2.js → config-yvppk48a.js} +26 -26
- package/dist/chunks/{file-mutation-54xs9e4z.js → config-yxz8806d.js} +31 -31
- package/dist/chunks/{file-mutation-wn4wqpvw.js → config-yzep51rf.js} +30 -30
- package/dist/chunks/{file-mutation-z07pqspn.js → config-z07pqspn.js} +3 -3
- package/dist/chunks/{file-mutation-z0bkrqjs.js → config-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-mutation-evbgk2k8.js → config-z3pw5915.js} +5 -5
- package/dist/chunks/{file-mutation-3pdjw33a.js → config-z7227wrg.js} +14 -14
- package/dist/chunks/{file-mutation-tx9w5tca.js → config-ze75yzft.js} +8 -8
- package/dist/chunks/{file-mutation-zeh9ct20.js → config-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-mutation-08w54g8k.js → config-zkhserxx.js} +13 -13
- package/dist/chunks/{file-mutation-tprfwfyz.js → config-zpm5mcr1.js} +20 -20
- package/dist/chunks/{file-mutation-zr2ceqn5.js → config-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-mutation-6d2d39e9.js → config-zt2th1vh.js} +26 -26
- package/dist/chunks/{file-mutation-zxq2ej10.js → config-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- 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 +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- 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 +123 -123
- 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 +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +140 -140
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- 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 +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- 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 +371 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.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 +221 -221
- package/dist/filesystem/protected.js +1 -1
- 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 +2 -2
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +88 -88
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- 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 +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- 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/cloudflare-ai-gateway.js +121 -121
- 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 +93 -93
- 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 +77 -77
- 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 +92 -92
- 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 +78 -78
- 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 +160 -160
- 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 +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- 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 +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- 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 +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- 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 +119 -119
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- 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 +112 -112
- 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 +208 -208
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +125 -125
- 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 +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +98 -98
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +77 -77
- 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 +96 -96
- package/package.json +8 -8
- package/dist/chunks/file-mutation-2ab25d2y.js +0 -26
- package/dist/chunks/file-mutation-54ytyew1.js +0 -507
- package/dist/chunks/file-mutation-97gjng12.js +0 -252
- package/dist/chunks/file-mutation-by5v678g.js +0 -18
- /package/dist/chunks/{file-mutation-0mesazry.js → config-0mesazry.js} +0 -0
- /package/dist/chunks/{file-mutation-0qkdqm5v.js → config-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-mutation-0zkw76rk.js → config-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-mutation-17cy0kzp.js → config-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-mutation-1cnp2v09.js → config-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-mutation-1kg9ymc8.js → config-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-mutation-24dcb14g.js → config-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-mutation-2710q6r3.js → config-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-mutation-2axfhc9x.js → config-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-mutation-2c3vjs8z.js → config-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-mutation-34c7v6d4.js → config-34c7v6d4.js} +0 -0
- /package/dist/chunks/{file-mutation-359p4xyc.js → config-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-mutation-3asan66x.js → config-3asan66x.js} +0 -0
- /package/dist/chunks/{file-mutation-3v8g72cx.js → config-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-mutation-3w5fmr99.js → config-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-mutation-3wcehsnq.js → config-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-mutation-43n2bw4t.js → config-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-mutation-4knz6hnm.js → config-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-mutation-4vcrnpx2.js → config-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-mutation-4y7fprxs.js → config-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-mutation-53557ph1.js → config-53557ph1.js} +0 -0
- /package/dist/chunks/{file-mutation-550bvhaj.js → config-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-mutation-6prwharc.js → config-6prwharc.js} +0 -0
- /package/dist/chunks/{file-mutation-7akdwqpd.js → config-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-mutation-7m9af43g.js → config-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-mutation-822emrt2.js → config-822emrt2.js} +0 -0
- /package/dist/chunks/{file-mutation-88xbtdfr.js → config-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-mutation-8n3pysct.js → config-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-mutation-8wj87zfr.js → config-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-mutation-922hggd3.js → config-922hggd3.js} +0 -0
- /package/dist/chunks/{file-mutation-9a4afbnw.js → config-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-mutation-9rqn6x4v.js → config-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-mutation-a6k6eb26.js → config-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-mutation-af5trqkr.js → config-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-mutation-afrmfg78.js → config-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-mutation-aqzs7mqg.js → config-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-mutation-atq7p7m5.js → config-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-mutation-bkyjaxrp.js → config-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-mutation-bmr6ed5q.js → config-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-mutation-cf4snx6d.js → config-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-mutation-cvy3z8tj.js → config-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-mutation-d9fn303g.js → config-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-mutation-d9jj8t3e.js → config-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-mutation-dajrwvna.js → config-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-mutation-dap0rakb.js → config-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-mutation-df08tz66.js → config-df08tz66.js} +0 -0
- /package/dist/chunks/{file-mutation-dy18nga0.js → config-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-mutation-e5kj55wp.js → config-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-mutation-e73j6tqm.js → config-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-mutation-ec1grn59.js → config-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-mutation-eh3zwz77.js → config-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-mutation-emrn6kk6.js → config-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-mutation-f0mxakyp.js → config-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-mutation-f6n9ztr4.js → config-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-mutation-faypxj3z.js → config-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-mutation-fd410y7t.js → config-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-mutation-fxgpk5d8.js → config-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-mutation-g4wezp1m.js → config-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-mutation-g86h250q.js → config-g86h250q.js} +0 -0
- /package/dist/chunks/{file-mutation-gebd4c9n.js → config-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-mutation-gftt206x.js → config-gftt206x.js} +0 -0
- /package/dist/chunks/{file-mutation-hjbc5kem.js → config-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-mutation-hk9envan.js → config-hk9envan.js} +0 -0
- /package/dist/chunks/{file-mutation-j2ntwpah.js → config-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-mutation-j5zkgpj8.js → config-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-mutation-jjkms2e6.js → config-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-mutation-jr7sbwjy.js → config-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-mutation-jwfs4k6c.js → config-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-mutation-jzg6c2d5.js → config-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mutation-mp448xyj.js → config-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-mutation-msx8hqn2.js → config-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-mutation-n05xt0ee.js → config-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-mutation-n3j8tn72.js → config-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-mutation-njntx4h6.js → config-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-mutation-q3sfg36h.js → config-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-mutation-q74kybfr.js → config-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-mutation-qaymkmh1.js → config-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-mutation-qb87gjwd.js → config-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-mutation-qfa1cgps.js → config-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-mutation-qg3g05ea.js → config-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-mutation-qrg20bc0.js → config-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-mutation-rcb2kzg1.js → config-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-mutation-sdp7kfr6.js → config-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-mutation-sk3qaz4a.js → config-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-mutation-ssg3fenm.js → config-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-mutation-w803qqfp.js → config-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-mutation-wc3fc9cn.js → config-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-mutation-wer8tq1h.js → config-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-mutation-wtztk69x.js → config-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-mutation-x0ckcb58.js → config-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-mutation-x61499pn.js → config-x61499pn.js} +0 -0
- /package/dist/chunks/{file-mutation-y44na4kk.js → config-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-mutation-y8cydn3q.js → config-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-mutation-y8f7s663.js → config-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-mutation-ygaqb7jw.js → config-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-mutation-ym463w8f.js → config-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-mutation-z9919s4g.js → config-z9919s4g.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
toSessionError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-2ywgxq1j.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-hy258ha3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-7nbgfms9.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./config-spz7pvpb.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID16,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./config-yxz8806d.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID13
|
|
17
|
+
} from "./config-b3q826kt.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID12,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./config-h5xc503t.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./config-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID13.make("digitalocean");
|
|
31
|
+
var integrationID = ID16.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID12.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
6
|
node88
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-6qttmjpq.js";
|
|
8
8
|
import {
|
|
9
9
|
Service83,
|
|
10
10
|
node87
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./config-7nbgfms9.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service75,
|
|
14
|
+
node78
|
|
15
|
+
} from "./config-vcfreb8r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID15,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info30,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event17,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./config-3nxb9rvh.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./config-wd3x2cqz.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./config-94ek1h2f.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./config-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID14,
|
|
40
|
+
Info: () => Info29,
|
|
41
|
+
NotFoundError: () => NotFoundError9,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service74,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node77,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID14 = ID15;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info29 = Info30;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
|
-
class
|
|
65
|
-
projectID:
|
|
64
|
+
class NotFoundError9 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
+
projectID: ID14
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -72,7 +72,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
72
72
|
});
|
|
73
73
|
var ACTIVATE_INTERVAL = 60000;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class Service74 extends Context.Service()("@opencode/Project") {
|
|
76
76
|
}
|
|
77
77
|
function fromRow(row) {
|
|
78
78
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -95,9 +95,9 @@ function fromRow(row) {
|
|
|
95
95
|
sandboxes: row.sandboxes
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
|
-
const git = yield*
|
|
100
|
+
const git = yield* Service75;
|
|
101
101
|
const proc = yield* AppProcess.Service;
|
|
102
102
|
const bus = yield* Service83;
|
|
103
103
|
const db = (yield* Service84).db;
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
108
108
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
109
109
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
110
110
|
if (row)
|
|
111
|
-
yield* bus.publish(
|
|
111
|
+
yield* bus.publish(Event17.Updated, fromRow(row));
|
|
112
112
|
}
|
|
113
113
|
if (!project.vcs)
|
|
114
114
|
return project;
|
|
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
145
145
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
146
146
|
projectID: item.projectID,
|
|
147
147
|
directory: item.directory,
|
|
148
|
-
previous: project.previous ??
|
|
148
|
+
previous: project.previous ?? ID14.global,
|
|
149
149
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
150
150
|
}, {
|
|
151
151
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -168,9 +168,9 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
168
168
|
time_updated: Date.now()
|
|
169
169
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
170
170
|
if (!row)
|
|
171
|
-
return yield* new
|
|
171
|
+
return yield* new NotFoundError9({ projectID: input.projectID });
|
|
172
172
|
const project = fromRow(row);
|
|
173
|
-
yield* bus.publish(
|
|
173
|
+
yield* bus.publish(Event17.Updated, project);
|
|
174
174
|
return project;
|
|
175
175
|
});
|
|
176
176
|
const activated = new Map;
|
|
@@ -181,10 +181,10 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
181
181
|
activated.set(projectID, now);
|
|
182
182
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
183
183
|
if (row)
|
|
184
|
-
yield* bus.publish(
|
|
184
|
+
yield* bus.publish(Event17.Updated, fromRow(row));
|
|
185
185
|
});
|
|
186
186
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
187
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
187
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID14.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
188
188
|
return;
|
|
189
189
|
}));
|
|
190
190
|
});
|
|
@@ -195,7 +195,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
195
195
|
const normalized = url(origin);
|
|
196
196
|
if (!normalized)
|
|
197
197
|
return;
|
|
198
|
-
return
|
|
198
|
+
return ID14.make(Hash.fast(`git-remote:${normalized}`));
|
|
199
199
|
});
|
|
200
200
|
function url(input) {
|
|
201
201
|
const value = input.trim();
|
|
@@ -220,7 +220,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
220
220
|
}
|
|
221
221
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
222
222
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
223
|
-
return root ?
|
|
223
|
+
return root ? ID14.make(root) : undefined;
|
|
224
224
|
});
|
|
225
225
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
226
226
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
236
236
|
return;
|
|
237
237
|
const node = result.stdout.toString("utf8").split(`
|
|
238
238
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
239
|
-
return node ?
|
|
239
|
+
return node ? ID14.make(node) : undefined;
|
|
240
240
|
});
|
|
241
241
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
242
242
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -245,7 +245,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
245
245
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
246
246
|
return {
|
|
247
247
|
previous,
|
|
248
|
-
id: id ??
|
|
248
|
+
id: id ?? ID14.global,
|
|
249
249
|
directory: worktree,
|
|
250
250
|
vcs: { type: "hg", store }
|
|
251
251
|
};
|
|
@@ -262,7 +262,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
262
262
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
263
263
|
return yield* persist({
|
|
264
264
|
previous,
|
|
265
|
-
id: id ??
|
|
265
|
+
id: id ?? ID14.global,
|
|
266
266
|
directory: repo.worktree,
|
|
267
267
|
canonical,
|
|
268
268
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -276,18 +276,18 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
276
276
|
});
|
|
277
277
|
}
|
|
278
278
|
return yield* persist({
|
|
279
|
-
id:
|
|
279
|
+
id: ID14.make(Hash.fast(`directory:${directory}`)),
|
|
280
280
|
directory,
|
|
281
281
|
canonical: directory,
|
|
282
282
|
vcs: undefined
|
|
283
283
|
});
|
|
284
284
|
});
|
|
285
|
-
return
|
|
285
|
+
return Service74.of({ list, update, activate, resolve });
|
|
286
286
|
}));
|
|
287
|
-
var
|
|
288
|
-
service:
|
|
287
|
+
var node77 = makeGlobalNode({
|
|
288
|
+
service: Service74,
|
|
289
289
|
layer,
|
|
290
|
-
deps: [node87, node88, FSUtil.node,
|
|
290
|
+
deps: [node87, node88, FSUtil.node, node78, AppProcess.node]
|
|
291
291
|
});
|
|
292
292
|
|
|
293
|
-
export {
|
|
293
|
+
export { ID14, Vcs2, Current2, Info29, UpdateInput3, NotFoundError9, root2, Service74, node77, exports_project };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service74,
|
|
3
|
+
node77
|
|
4
|
+
} from "./config-sadtqq7n.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info28,
|
|
13
13
|
Location: () => exports_location,
|
|
14
|
-
Ref: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Ref: () => Ref3,
|
|
15
|
+
Service: () => Service73,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node76,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info28, Ref as Ref3, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service73 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref, options) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node76 = LayerNode.unbound(Service73, tags.values.location);
|
|
27
|
+
var layer = (ref, options) => Layer.effect(Service73, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service74;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory, options);
|
|
30
|
-
return
|
|
30
|
+
return Service73.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service80, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref, options) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service73,
|
|
39
39
|
layer: layer(ref, options),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node77]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info28, Ref3, response2, Service73, node76, boundNode2, exports_location };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
load5
|
|
6
|
+
} from "./config-e3qxr5gk.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event13,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options9,
|
|
17
|
+
Service: () => Service68,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured10,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer22,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node71,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event13 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
|
-
return createWrapper(
|
|
39
|
+
return createWrapper(load5());
|
|
40
40
|
} catch {
|
|
41
41
|
return;
|
|
42
42
|
}
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options9 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service68 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer22 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service68.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer24 = (options) => Layer.effect(Service64, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service68.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer22().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service68).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service68, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured10(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service68, layer: layer22(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node71 = configured10();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event13, hasNativeBinding2, Native3, Options9, Service68, Test3, layer22, testLayer3, nativeLayer2, nativeNode2, configured10, node71, exports_watcher };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-6qttmjpq.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./config-7nbgfms9.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./config-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./config-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./config-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: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event19,
|
|
24
|
+
ID: () => ID17,
|
|
25
|
+
Info: () => Info32,
|
|
26
|
+
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service80,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node83
|
|
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 ID17 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
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 Info32 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID17,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service80 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service80, 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 Info32({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service80.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(Service70, 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:
|
|
79
|
+
const credential = new Info32({
|
|
80
|
+
id: ID17.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node83 = makeGlobalNode({ service: Service80, layer, deps: [node88, node87] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID17, OAuth3, Key4, Value2, Event19, Info32, Service80, node83, exports_credential };
|