@opencode/core 0.0.0-dev-19484 → 0.0.0-dev-19485
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 +80 -80
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{pty-gw1k03mf.js → event-logger-00wt4ynx.js} +15 -15
- package/dist/chunks/{pty-qzgv9fd5.js → event-logger-01cm8mn3.js} +17 -17
- package/dist/chunks/{pty-bpzbj5p0.js → event-logger-0grf9r3f.js} +9 -9
- package/dist/chunks/{pty-0paq2nw3.js → event-logger-0paq2nw3.js} +1 -1
- package/dist/chunks/{pty-0q0f95c6.js → event-logger-0q0f95c6.js} +1 -1
- package/dist/chunks/{pty-qn4ba14w.js → event-logger-0r7yqxbf.js} +5 -5
- package/dist/chunks/{pty-yt9d908j.js → event-logger-0xnxk7my.js} +11 -11
- package/dist/chunks/{pty-9e0z2fhc.js → event-logger-165ggcpb.js} +7 -7
- package/dist/chunks/{pty-md2xj9nf.js → event-logger-16mcezjr.js} +30 -30
- package/dist/chunks/{pty-r8xr0va3.js → event-logger-1acjjqhc.js} +4 -4
- package/dist/chunks/{pty-1dazxqgg.js → event-logger-1dazxqgg.js} +2 -2
- package/dist/chunks/{pty-wfdn8615.js → event-logger-1nsbqewp.js} +23 -23
- package/dist/chunks/{pty-21r38tys.js → event-logger-21r38tys.js} +1 -1
- package/dist/chunks/{pty-wsd4t4dw.js → event-logger-22sd2eh9.js} +11 -11
- package/dist/chunks/{pty-2402vzrj.js → event-logger-2402vzrj.js} +1 -1
- package/dist/chunks/{pty-2akhs850.js → event-logger-28ynmmp6.js} +5 -5
- package/dist/chunks/{pty-2a5m3afh.js → event-logger-2a5m3afh.js} +1 -1
- package/dist/chunks/{pty-aep6w25k.js → event-logger-2axwxhdm.js} +12 -12
- package/dist/chunks/{pty-v62dx6xs.js → event-logger-2e3rmnjd.js} +4 -4
- package/dist/chunks/{pty-fhmdnm6f.js → event-logger-2k6kcpy5.js} +40 -40
- package/dist/chunks/{pty-g2twwaw3.js → event-logger-2khzfaxq.js} +3 -3
- package/dist/chunks/{pty-1qdmrsyh.js → event-logger-2syw43ez.js} +11 -11
- package/dist/chunks/{pty-cs7ja426.js → event-logger-2xe7pz9m.js} +72 -72
- package/dist/chunks/{pty-b5ybn7cd.js → event-logger-3cabbhzt.js} +16 -16
- package/dist/chunks/{pty-7yp3q20c.js → event-logger-3d3d3t07.js} +41 -41
- package/dist/chunks/{pty-em649qsx.js → event-logger-3dk1grkc.js} +15 -15
- package/dist/chunks/{pty-3fc6dm20.js → event-logger-3fc6dm20.js} +1 -1
- package/dist/chunks/{pty-3hepkmqq.js → event-logger-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-8yrxd28w.js → event-logger-3jz8fm0k.js} +9 -9
- package/dist/chunks/{pty-th49mj5v.js → event-logger-3mqvnat0.js} +15 -15
- package/dist/chunks/{pty-d801t9mc.js → event-logger-3p07c31z.js} +28 -28
- package/dist/chunks/{pty-3smtnn6g.js → event-logger-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-3tn94wys.js → event-logger-3t6kxnnx.js} +32 -32
- package/dist/chunks/{pty-3tvqynh2.js → event-logger-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-0nrybmqd.js → event-logger-3v07c2h1.js} +7 -7
- package/dist/chunks/{pty-hd29wc17.js → event-logger-4334gj7r.js} +8 -8
- package/dist/chunks/{pty-byprkm3h.js → event-logger-4e07kcxv.js} +47 -47
- package/dist/chunks/{pty-9b90cabz.js → event-logger-4e4kessa.js} +11 -11
- package/dist/chunks/{pty-4541pte3.js → event-logger-4jv7e9dq.js} +9 -9
- package/dist/chunks/{pty-0ajdgxne.js → event-logger-4y66k410.js} +5 -5
- package/dist/chunks/{pty-zftpq6gn.js → event-logger-52q3355q.js} +14 -14
- package/dist/chunks/{pty-1ygqh575.js → event-logger-56gdpj1q.js} +9 -9
- package/dist/chunks/{pty-a1bz86dw.js → event-logger-5c4hm403.js} +3 -3
- package/dist/chunks/{pty-5daktx2q.js → event-logger-5daktx2q.js} +1 -1
- package/dist/chunks/{pty-5t3nmthw.js → event-logger-5t3nmthw.js} +2 -2
- package/dist/chunks/{pty-x8efcx2v.js → event-logger-5vtx7p9q.js} +35 -35
- package/dist/chunks/{pty-p5d32tz9.js → event-logger-5yx5nctn.js} +22 -22
- package/dist/chunks/{pty-669tq793.js → event-logger-669tq793.js} +1 -1
- package/dist/chunks/{pty-txmfp3zj.js → event-logger-6b2rz76g.js} +30 -30
- package/dist/chunks/{pty-jg24vk6e.js → event-logger-6e49marm.js} +5 -5
- package/dist/chunks/{pty-2ta0t88y.js → event-logger-6e8ygkvh.js} +20 -20
- package/dist/chunks/{pty-6msgmcgs.js → event-logger-6msgmcgs.js} +1 -1
- package/dist/chunks/{pty-6532tvj7.js → event-logger-6p6dp87j.js} +18 -18
- package/dist/chunks/{pty-jfaxz2yb.js → event-logger-6yx6a64s.js} +30 -30
- package/dist/chunks/{pty-71q4at8m.js → event-logger-71q4at8m.js} +1 -1
- package/dist/chunks/{pty-vkkm3dp3.js → event-logger-73ttdt4y.js} +20 -20
- package/dist/chunks/{pty-ns15zm60.js → event-logger-786r1gss.js} +6 -6
- package/dist/chunks/{pty-pd1qwn8m.js → event-logger-7art3s1y.js} +24 -24
- package/dist/chunks/{pty-7bmhse3q.js → event-logger-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-1fh16wq8.js → event-logger-7c5ys648.js} +3 -3
- package/dist/chunks/{pty-tbesmne2.js → event-logger-7fspq4zk.js} +11 -11
- package/dist/chunks/{pty-3nvk9ben.js → event-logger-7r6ahe9b.js} +4 -4
- package/dist/chunks/{pty-b0grxa7w.js → event-logger-7xyrrtj6.js} +5 -5
- package/dist/chunks/{pty-1bbkgx8g.js → event-logger-7yh4e7ss.js} +3 -3
- package/dist/chunks/{pty-jtanr3ta.js → event-logger-81s594hr.js} +166 -166
- package/dist/chunks/{pty-bgcsb0ew.js → event-logger-89kd35fp.js} +16 -16
- package/dist/chunks/{pty-8d7r5vzw.js → event-logger-8d7r5vzw.js} +1 -1
- package/dist/chunks/{pty-9fhqnxhc.js → event-logger-8dgsm9nq.js} +22 -22
- package/dist/chunks/{pty-2kbb5zhh.js → event-logger-8nxtavbw.js} +20 -20
- package/dist/chunks/{pty-bahtkn95.js → event-logger-8yh8a9jj.js} +17 -17
- package/dist/chunks/{pty-v71xcev7.js → event-logger-96yt6zt0.js} +1 -1
- package/dist/chunks/{pty-tph7kmz7.js → event-logger-9849f2wz.js} +6 -6
- package/dist/chunks/{pty-zr1b15nt.js → event-logger-98cx1nxj.js} +7 -7
- package/dist/chunks/event-logger-9dzf7mc4.js +22 -0
- package/dist/chunks/{pty-gzcsr6sv.js → event-logger-9h22cmvn.js} +26 -26
- package/dist/chunks/{pty-t99v83jx.js → event-logger-9meg7rhv.js} +8 -8
- package/dist/chunks/{pty-hde40vmr.js → event-logger-9px5pcxd.js} +43 -43
- package/dist/chunks/{pty-gdmgw3kk.js → event-logger-9qrkzpr4.js} +13 -13
- package/dist/chunks/{pty-5ftnf5hj.js → event-logger-9qt9fpsb.js} +20 -20
- package/dist/chunks/{pty-0td8n8vp.js → event-logger-9xz59r4m.js} +15 -15
- package/dist/chunks/{pty-etyswav2.js → event-logger-a2mxf9e3.js} +13 -13
- package/dist/chunks/{pty-fn71bqeg.js → event-logger-a8fk01pg.js} +18 -18
- package/dist/chunks/{pty-aaet6srn.js → event-logger-aaet6srn.js} +2 -2
- package/dist/chunks/{pty-a1a50ys5.js → event-logger-af04s6ss.js} +5 -5
- package/dist/chunks/{pty-hgrjhmfr.js → event-logger-af4zm9ec.js} +8 -8
- package/dist/chunks/{pty-qygybdk4.js → event-logger-at7cee29.js} +13 -13
- package/dist/chunks/{pty-d4p8tyg8.js → event-logger-b4e6gncp.js} +8 -8
- package/dist/chunks/{pty-fjnewxg5.js → event-logger-b665r9b6.js} +24 -24
- package/dist/chunks/{pty-b6gygkdw.js → event-logger-b6gygkdw.js} +2 -2
- package/dist/chunks/{pty-45rd5fs9.js → event-logger-bcx3swfk.js} +28 -28
- package/dist/chunks/{pty-yvykdhx6.js → event-logger-c0fxzqc3.js} +25 -25
- package/dist/chunks/{pty-3ythc6yv.js → event-logger-c5gn303e.js} +4 -4
- package/dist/chunks/{pty-9fgn877f.js → event-logger-c735gd42.js} +11 -11
- package/dist/chunks/{pty-0953varj.js → event-logger-cav5nwdw.js} +43 -43
- package/dist/chunks/{pty-vkgkjc09.js → event-logger-cjwrb2qh.js} +31 -31
- package/dist/chunks/{pty-cmceympy.js → event-logger-cnfjrs31.js} +6 -6
- package/dist/chunks/{pty-1f2zrtgd.js → event-logger-cppatfp5.js} +32 -32
- package/dist/chunks/{pty-fhs97t90.js → event-logger-crptryd9.js} +9 -9
- package/dist/chunks/{pty-nt6p7phb.js → event-logger-cv1m1kxe.js} +35 -35
- package/dist/chunks/{pty-63sp6hdr.js → event-logger-cy6q1q6j.js} +18 -18
- package/dist/chunks/{pty-tz7qhazt.js → event-logger-d1gbmq1q.js} +17 -17
- package/dist/chunks/{pty-vbzxk3ff.js → event-logger-d5tc08nt.js} +11 -11
- package/dist/chunks/{pty-y28xdhk3.js → event-logger-da6kr1wx.js} +2 -2
- package/dist/chunks/{pty-mehhkwtb.js → event-logger-df6dewn3.js} +8 -8
- package/dist/chunks/{pty-cmwkp3r5.js → event-logger-dgj0dq1g.js} +8 -8
- package/dist/chunks/{pty-q5asdkn4.js → event-logger-dhmh7aw6.js} +4 -4
- package/dist/chunks/{pty-8p4f9s12.js → event-logger-dj2t23y0.js} +2 -2
- package/dist/chunks/{pty-st8jmgs2.js → event-logger-dkcc4be6.js} +31 -31
- package/dist/chunks/{pty-dpkg50ah.js → event-logger-dpkg50ah.js} +1 -1
- package/dist/chunks/{pty-btvz5hhj.js → event-logger-e2hdy98q.js} +9 -9
- package/dist/chunks/{pty-rgr9kwfb.js → event-logger-e3524ays.js} +7 -7
- package/dist/chunks/{pty-g3xj57nv.js → event-logger-e7vkd9bt.js} +22 -22
- package/dist/chunks/{pty-86rj60hj.js → event-logger-eg02ks85.js} +17 -17
- package/dist/chunks/{pty-nkscrdhp.js → event-logger-en4r2rcx.js} +5 -5
- package/dist/chunks/{pty-18r19y7d.js → event-logger-eryjt14q.js} +11 -11
- package/dist/chunks/{pty-etq0c3wd.js → event-logger-etq0c3wd.js} +1 -1
- package/dist/chunks/{pty-evbgk2k8.js → event-logger-evbgk2k8.js} +2 -2
- package/dist/chunks/{pty-a6xvd2sc.js → event-logger-ez7mrp8m.js} +25 -25
- package/dist/chunks/{pty-mnbh32fx.js → event-logger-ezy2bptn.js} +8 -8
- package/dist/chunks/{pty-yfs8r58s.js → event-logger-f1m35rn1.js} +21 -21
- package/dist/chunks/{pty-8nf61fqw.js → event-logger-f5hzg3fn.js} +10 -10
- package/dist/chunks/{pty-45796egf.js → event-logger-f8q7mv7a.js} +1 -1
- package/dist/chunks/{pty-4wn8n9sn.js → event-logger-fea947tx.js} +9 -9
- package/dist/chunks/{pty-s1a57xgp.js → event-logger-fgh0kbhd.js} +1 -1
- package/dist/chunks/{pty-a5gt7g2r.js → event-logger-fjmrr6sh.js} +5 -5
- package/dist/chunks/{pty-fxbjtjnd.js → event-logger-fxbjtjnd.js} +1 -1
- package/dist/chunks/{pty-mgtytz9t.js → event-logger-fygdb7h7.js} +3 -3
- package/dist/chunks/{pty-6wfk2szc.js → event-logger-g7ezgpnw.js} +28 -28
- package/dist/chunks/{pty-14ahvy0s.js → event-logger-ga7ywfrk.js} +14 -14
- package/dist/chunks/{pty-gd4qta3r.js → event-logger-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-arf9772r.js → event-logger-ggwvze0n.js} +7 -7
- package/dist/chunks/{pty-c0g3mrmp.js → event-logger-gjb4y0wk.js} +4 -4
- package/dist/chunks/{pty-w0vnt3w8.js → event-logger-gjjf51xs.js} +9 -9
- package/dist/chunks/{pty-k4wwmme7.js → event-logger-gn2hfjap.js} +8 -8
- package/dist/chunks/{pty-gv6a8nnw.js → event-logger-gv6a8nnw.js} +2 -2
- package/dist/chunks/{pty-h03wrkyp.js → event-logger-h03wrkyp.js} +2 -2
- package/dist/chunks/{pty-1n1j5phf.js → event-logger-h0m545r4.js} +1 -1
- package/dist/chunks/{pty-wjsewdbp.js → event-logger-h0r8722a.js} +9 -9
- package/dist/chunks/{pty-h7p7r1dx.js → event-logger-h2mgs7e6.js} +26 -26
- package/dist/chunks/{pty-h6vf3j39.js → event-logger-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-7w5wmfhw.js → event-logger-h8e939zk.js} +8 -8
- package/dist/chunks/{pty-f828m53h.js → event-logger-hdnk95c8.js} +2 -2
- package/dist/chunks/{pty-x4wsccvh.js → event-logger-hjt4xg1x.js} +4 -4
- package/dist/chunks/{pty-ht1qtvc3.js → event-logger-j4147n4y.js} +7 -7
- package/dist/chunks/{pty-j56e64zr.js → event-logger-j56e64zr.js} +1 -1
- package/dist/chunks/{pty-kmy1ax01.js → event-logger-jcm85fjb.js} +10 -10
- package/dist/chunks/{pty-hfdr1yjj.js → event-logger-jmphe03k.js} +4 -4
- package/dist/chunks/{pty-sxw0ed71.js → event-logger-jn9d4d7h.js} +24 -24
- package/dist/chunks/{pty-77nagcj1.js → event-logger-jnmqjdkf.js} +4 -4
- package/dist/chunks/{pty-cyxdd1cp.js → event-logger-jrskb714.js} +54 -54
- package/dist/chunks/{pty-jmn8yr3h.js → event-logger-jt58nnw6.js} +27 -27
- package/dist/chunks/{pty-3dqftnvs.js → event-logger-k16ay38w.js} +1 -1
- package/dist/chunks/{pty-ge2ncj9q.js → event-logger-k1pcqpq8.js} +18 -18
- package/dist/chunks/{pty-jexxy024.js → event-logger-k6yq57aq.js} +3 -3
- package/dist/chunks/{pty-kg06axw8.js → event-logger-kg06axw8.js} +1 -1
- package/dist/chunks/{pty-tdhe5xga.js → event-logger-km9fdhsq.js} +8 -8
- package/dist/chunks/{pty-fnvmrkhd.js → event-logger-kz2z97wx.js} +3 -3
- package/dist/chunks/{pty-cfpkc3c9.js → event-logger-m0jqrx5p.js} +2 -2
- package/dist/chunks/{pty-r2qzv5a7.js → event-logger-m27pyyd3.js} +6 -6
- package/dist/chunks/{pty-yjy4g1rw.js → event-logger-m3vwttw1.js} +30 -30
- package/dist/chunks/{pty-r9abkved.js → event-logger-m4hrtj7g.js} +18 -18
- package/dist/chunks/{pty-g646es06.js → event-logger-m9japtd8.js} +12 -12
- package/dist/chunks/{pty-m9w0rfyh.js → event-logger-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-mjymc32g.js → event-logger-magykp64.js} +4 -4
- package/dist/chunks/{pty-newyp0rw.js → event-logger-mds1fn0w.js} +6 -6
- package/dist/chunks/{pty-1t6v7t1p.js → event-logger-mke74ywt.js} +13 -13
- package/dist/chunks/event-logger-mkzb76vv.js +462 -0
- package/dist/chunks/{pty-5c0f1prt.js → event-logger-msq0jde0.js} +4 -4
- package/dist/chunks/{pty-jp3k4seg.js → event-logger-msydzq3r.js} +11 -11
- package/dist/chunks/{pty-3dzkcghm.js → event-logger-mszym7b5.js} +27 -27
- package/dist/chunks/{pty-9vwx9k7w.js → event-logger-myzpqcan.js} +23 -23
- package/dist/chunks/{pty-jqy04vj9.js → event-logger-n0cm6f7x.js} +28 -28
- package/dist/chunks/{pty-r4x5wh38.js → event-logger-n16grh7c.js} +15 -15
- package/dist/chunks/{pty-c20cpmqm.js → event-logger-n7x4jgdx.js} +5 -5
- package/dist/chunks/{pty-d55k3a02.js → event-logger-n9e1pbg6.js} +25 -25
- package/dist/chunks/{pty-my653yp5.js → event-logger-nfrxxpny.js} +25 -25
- package/dist/chunks/{pty-z599ng88.js → event-logger-nh3nz7zc.js} +6 -6
- package/dist/chunks/{pty-jnyfd4gm.js → event-logger-njr7wza7.js} +11 -11
- package/dist/chunks/{pty-32wbc79b.js → event-logger-nkdzkb3h.js} +11 -11
- package/dist/chunks/{pty-s9zga7k6.js → event-logger-nkngnxhn.js} +20 -20
- package/dist/chunks/{pty-dedzq1ka.js → event-logger-p2fr31ma.js} +43 -43
- package/dist/chunks/{pty-b3t12aqp.js → event-logger-p33ejz0k.js} +1 -1
- package/dist/chunks/{pty-7ae90jyv.js → event-logger-p3bmtfza.js} +2 -2
- package/dist/chunks/{pty-3az9pvaz.js → event-logger-p4qs7kgv.js} +16 -16
- package/dist/chunks/{pty-s1k0znnr.js → event-logger-p5skxhfn.js} +35 -35
- package/dist/chunks/{pty-rph3zd4r.js → event-logger-pf2hb43r.js} +4 -4
- package/dist/chunks/{pty-pjvnvgmy.js → event-logger-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-pknna89w.js → event-logger-pknna89w.js} +1 -1
- package/dist/chunks/{pty-x7ns4d9a.js → event-logger-pks06gch.js} +47 -47
- package/dist/chunks/{pty-7y947she.js → event-logger-pv444m59.js} +26 -26
- package/dist/chunks/{pty-ea3fqg3s.js → event-logger-pv8p17fy.js} +13 -13
- package/dist/chunks/{pty-j6frpzgk.js → event-logger-py6fnjvp.js} +19 -19
- package/dist/chunks/{pty-4tty76jr.js → event-logger-q1x21mf0.js} +28 -28
- package/dist/chunks/{pty-rx9j2q4y.js → event-logger-q2qpq2mh.js} +9 -9
- package/dist/chunks/{pty-9v9vhtqj.js → event-logger-qcdfmerr.js} +88 -88
- package/dist/chunks/{pty-qgn6gcr1.js → event-logger-qgn6gcr1.js} +1 -1
- package/dist/chunks/{pty-qsdy395h.js → event-logger-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-nnvetb0x.js → event-logger-qsgekh27.js} +8 -8
- package/dist/chunks/{pty-w3vr4dnx.js → event-logger-qv9hkmfm.js} +47 -47
- package/dist/chunks/{pty-2drds6a2.js → event-logger-qxn7sfw1.js} +5 -5
- package/dist/chunks/{pty-m77xbvte.js → event-logger-r2v4j81b.js} +86 -86
- package/dist/chunks/{pty-t3w9f47z.js → event-logger-r9babyk8.js} +1 -1
- package/dist/chunks/{pty-r9mregkx.js → event-logger-r9mregkx.js} +2 -2
- package/dist/chunks/event-logger-rap9a73h.js +18 -0
- package/dist/chunks/{pty-drknmmyh.js → event-logger-rc2324vf.js} +9 -9
- package/dist/chunks/{pty-faw67snb.js → event-logger-ref3dz8p.js} +37 -37
- package/dist/chunks/{pty-2bek0fz1.js → event-logger-rgp0xy6k.js} +12 -12
- package/dist/chunks/{pty-88k2vggc.js → event-logger-rkmq0ftz.js} +11 -11
- package/dist/chunks/{pty-m01vtssh.js → event-logger-rmwqerav.js} +8 -8
- package/dist/chunks/{pty-2kze3sed.js → event-logger-rrxmggdy.js} +11 -11
- package/dist/chunks/{pty-81swgkk7.js → event-logger-rsym84ch.js} +7 -7
- package/dist/chunks/{pty-fqb2p7cx.js → event-logger-ryr25ayn.js} +4 -4
- package/dist/chunks/{pty-yttnsetk.js → event-logger-s2jbkb1q.js} +8 -8
- package/dist/chunks/{pty-apnw61nd.js → event-logger-sjvqrz59.js} +3 -3
- package/dist/chunks/{pty-d8qmdhbf.js → event-logger-ssx2atvp.js} +6 -6
- package/dist/chunks/{pty-5n7nm18q.js → event-logger-stqzacd7.js} +27 -27
- package/dist/chunks/{pty-yj3bp0fe.js → event-logger-svb6z590.js} +26 -26
- package/dist/chunks/{pty-bct739vz.js → event-logger-sx1n432n.js} +4 -4
- package/dist/chunks/{pty-dy8qh9xy.js → event-logger-t33aqq77.js} +8 -8
- package/dist/chunks/{pty-s8d7rejh.js → event-logger-t550f9t1.js} +4 -4
- package/dist/chunks/{pty-h7m0p69y.js → event-logger-t59x1kp2.js} +10 -10
- package/dist/chunks/{pty-rzxn8jq1.js → event-logger-t7z3zppm.js} +2 -2
- package/dist/chunks/event-logger-t8g04pec.js +247 -0
- package/dist/chunks/{pty-tya93gxg.js → event-logger-t8j12ba3.js} +13 -13
- package/dist/chunks/{pty-45vpyk18.js → event-logger-t8z6dkmk.js} +44 -44
- package/dist/chunks/{pty-tazgh4e4.js → event-logger-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-89znhe33.js → event-logger-tcezcvh9.js} +4 -4
- package/dist/chunks/{pty-tdstcens.js → event-logger-tdstcens.js} +1 -1
- package/dist/chunks/{pty-9edcvf27.js → event-logger-tdz9b6vr.js} +10 -10
- package/dist/chunks/{pty-vednfjt6.js → event-logger-tfbymgd2.js} +4 -4
- package/dist/chunks/{pty-t6jsq5az.js → event-logger-tj06h6ge.js} +12 -12
- package/dist/chunks/{pty-r88ayxsh.js → event-logger-tjjaenf2.js} +5 -5
- package/dist/chunks/{pty-geymd4gz.js → event-logger-tp5r4a12.js} +18 -18
- package/dist/chunks/{pty-nw3t2cyt.js → event-logger-tq8nwz6v.js} +18 -18
- package/dist/chunks/{pty-tvtrv512.js → event-logger-tvtrv512.js} +1 -1
- package/dist/chunks/{pty-6z42be60.js → event-logger-tzr81ypp.js} +6 -6
- package/dist/chunks/{pty-ecrv93z9.js → event-logger-v8jfbz3g.js} +6 -6
- package/dist/chunks/{pty-veqvce7d.js → event-logger-veqvce7d.js} +1 -1
- package/dist/chunks/{pty-wb96fp8p.js → event-logger-vezcpp24.js} +18 -18
- package/dist/chunks/{pty-411gfsap.js → event-logger-vfvfv47x.js} +18 -18
- package/dist/chunks/{pty-j1jpgbqt.js → event-logger-vm5abjg2.js} +4 -4
- package/dist/chunks/{pty-3esrdmkk.js → event-logger-vxbynqkk.js} +32 -32
- package/dist/chunks/{pty-vzcthcp8.js → event-logger-vzcthcp8.js} +1 -1
- package/dist/chunks/{pty-j71f32vt.js → event-logger-w1y9cvm8.js} +11 -11
- package/dist/chunks/{pty-w3wsvvr9.js → event-logger-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-wd87259q.js → event-logger-wd87259q.js} +1 -1
- package/dist/chunks/{pty-8kyaadyc.js → event-logger-wf0sjdq3.js} +4 -4
- package/dist/chunks/{pty-ndm8q3nx.js → event-logger-wg3rwg1y.js} +25 -25
- package/dist/chunks/{pty-8rqsbye2.js → event-logger-wj75hbv8.js} +29 -29
- package/dist/chunks/{pty-a3r4dcrj.js → event-logger-wqc6684y.js} +2 -2
- package/dist/chunks/{pty-x1ezjp6w.js → event-logger-x1ezjp6w.js} +1 -1
- package/dist/chunks/{pty-y9ech7jt.js → event-logger-xdrt8cc9.js} +20 -20
- package/dist/chunks/{pty-11qx6zpw.js → event-logger-xffgaj39.js} +41 -41
- package/dist/chunks/{pty-qyxb3rgr.js → event-logger-xkmds9fp.js} +30 -30
- package/dist/chunks/{pty-xfqxjp11.js → event-logger-xpyf9ghk.js} +28 -28
- package/dist/chunks/{pty-brbfzzmd.js → event-logger-xr7qrm3q.js} +17 -17
- package/dist/chunks/event-logger-xrsqh21y.js +4 -0
- package/dist/chunks/{pty-eymhvwwk.js → event-logger-xw8111cb.js} +14 -14
- package/dist/chunks/{pty-y1fvbwt7.js → event-logger-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-n4m74tcd.js → event-logger-yap9dffs.js} +13 -13
- package/dist/chunks/{pty-7ey0dyp0.js → event-logger-yb5b95vk.js} +36 -36
- package/dist/chunks/{pty-n37c4crj.js → event-logger-yb94xmg0.js} +9 -9
- package/dist/chunks/{pty-4w0n3ep9.js → event-logger-ymbcfbqx.js} +28 -28
- package/dist/chunks/{pty-yrhqyw5v.js → event-logger-yrhqyw5v.js} +1 -1
- package/dist/chunks/{pty-yrznvahk.js → event-logger-yrznvahk.js} +2 -2
- package/dist/chunks/{pty-0ra4p3k2.js → event-logger-yt4rhm4a.js} +44 -44
- package/dist/chunks/{pty-0647zyye.js → event-logger-yv7j7fqg.js} +28 -28
- package/dist/chunks/{pty-fv7vkzc0.js → event-logger-yy8cpz62.js} +30 -30
- package/dist/chunks/{pty-z0bkrqjs.js → event-logger-z0bkrqjs.js} +1 -1
- package/dist/chunks/{pty-vm26s0dq.js → event-logger-z1tsgz63.js} +24 -24
- package/dist/chunks/{pty-gzq6qehx.js → event-logger-z305y992.js} +21 -21
- package/dist/chunks/{pty-sj6g8xhe.js → event-logger-z4pr50f0.js} +13 -13
- package/dist/chunks/{pty-z63w68vq.js → event-logger-z63w68vq.js} +2 -2
- package/dist/chunks/{pty-ras7gexc.js → event-logger-z69s9t6b.js} +5 -5
- package/dist/chunks/{pty-tv8e1ghk.js → event-logger-ze22c3jz.js} +27 -27
- package/dist/chunks/{pty-zeh9ct20.js → event-logger-zeh9ct20.js} +2 -2
- package/dist/chunks/{pty-zr2ceqn5.js → event-logger-zr2ceqn5.js} +1 -1
- package/dist/chunks/{pty-2a010xm9.js → event-logger-zt4bdyzr.js} +4 -4
- package/dist/chunks/{pty-zxq2ej10.js → event-logger-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +80 -80
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +78 -78
- package/dist/database/database.js +69 -69
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- 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 +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- 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 +73 -73
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +86 -86
- 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 +4 -4
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +103 -103
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +85 -85
- package/dist/generate.js +94 -94
- package/dist/git.js +7 -7
- 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 +3 -3
- 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 +352 -352
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +132 -132
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +82 -82
- package/dist/location-services.js +349 -349
- package/dist/location.js +79 -79
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +8 -8
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +103 -103
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +100 -100
- package/dist/plugin/command.js +97 -97
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +98 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +118 -118
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -118
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +148 -148
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +122 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +9 -9
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +89 -89
- 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 +120 -120
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +5 -5
- package/dist/v1/config/attachment.js +2 -2
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +90 -90
- package/package.json +8 -8
- package/dist/chunks/pty-1r48vspq.js +0 -247
- package/dist/chunks/pty-1tm0r3ht.js +0 -4
- package/dist/chunks/pty-1x11rq2a.js +0 -18
- package/dist/chunks/pty-axgp0vgr.js +0 -22
- package/dist/chunks/pty-pmvrcxp3.js +0 -462
- /package/dist/chunks/{pty-0qkdqm5v.js → event-logger-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → event-logger-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → event-logger-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → event-logger-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → event-logger-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → event-logger-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → event-logger-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → event-logger-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → event-logger-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → event-logger-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → event-logger-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3w5fmr99.js → event-logger-3w5fmr99.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → event-logger-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → event-logger-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → event-logger-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4vcrnpx2.js → event-logger-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → event-logger-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → event-logger-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → event-logger-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → event-logger-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → event-logger-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → event-logger-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → event-logger-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → event-logger-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → event-logger-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-922hggd3.js → event-logger-922hggd3.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → event-logger-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → event-logger-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a6k6eb26.js → event-logger-a6k6eb26.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → event-logger-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → event-logger-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → event-logger-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → event-logger-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → event-logger-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → event-logger-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → event-logger-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → event-logger-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → event-logger-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → event-logger-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → event-logger-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → event-logger-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → event-logger-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → event-logger-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → event-logger-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → event-logger-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-ec1grn59.js → event-logger-ec1grn59.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → event-logger-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → event-logger-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → event-logger-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → event-logger-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → event-logger-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → event-logger-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-fxgpk5d8.js → event-logger-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → event-logger-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → event-logger-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → event-logger-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-gftt206x.js → event-logger-gftt206x.js} +0 -0
- /package/dist/chunks/{pty-hjbc5kem.js → event-logger-hjbc5kem.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → event-logger-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-hrnqkpcd.js → event-logger-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → event-logger-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → event-logger-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → event-logger-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → event-logger-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → event-logger-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → event-logger-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → event-logger-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → event-logger-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → event-logger-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → event-logger-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-paphc93g.js → event-logger-paphc93g.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → event-logger-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → event-logger-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → event-logger-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → event-logger-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → event-logger-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → event-logger-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → event-logger-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → event-logger-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-sk3qaz4a.js → event-logger-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → event-logger-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-twg0f83k.js → event-logger-twg0f83k.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → event-logger-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → event-logger-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → event-logger-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → event-logger-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → event-logger-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → event-logger-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8cydn3q.js → event-logger-y8cydn3q.js} +0 -0
- /package/dist/chunks/{pty-y8f7s663.js → event-logger-y8f7s663.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → event-logger-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-ym463w8f.js → event-logger-ym463w8f.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → event-logger-z9919s4g.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service77,
|
|
6
|
+
node82
|
|
7
|
+
} from "./event-logger-3cabbhzt.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
Event17,
|
|
10
10
|
Service70,
|
|
11
11
|
node75
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./event-logger-q1x21mf0.js";
|
|
13
13
|
import {
|
|
14
14
|
Service75,
|
|
15
15
|
node80
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./event-logger-28ynmmp6.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service52,
|
|
19
|
+
node55
|
|
20
|
+
} from "./event-logger-z305y992.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID12,
|
|
23
|
+
Service69,
|
|
24
|
+
node74
|
|
25
|
+
} from "./event-logger-jt58nnw6.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./event-logger-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID11,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service68,
|
|
34
|
+
node73
|
|
35
|
+
} from "./event-logger-h2mgs7e6.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError3,
|
|
45
|
+
Options: () => Options5,
|
|
46
46
|
Prompt: () => Prompt2,
|
|
47
47
|
PromptArgument: () => PromptArgument2,
|
|
48
48
|
PromptMessage: () => PromptMessage2,
|
|
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
|
|
|
56
56
|
ServerInfo: () => ServerInfo2,
|
|
57
57
|
ServerInstructions: () => ServerInstructions2,
|
|
58
58
|
ServerName: () => ServerName2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service32,
|
|
60
60
|
Status: () => Status2,
|
|
61
61
|
Tool: () => Tool3,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
63
|
ToolResult: () => ToolResult2,
|
|
64
64
|
ToolResultContent: () => ToolResultContent2,
|
|
65
|
-
configured: () =>
|
|
66
|
-
layer: () =>
|
|
67
|
-
node: () =>
|
|
65
|
+
configured: () => configured5,
|
|
66
|
+
layer: () => layer15,
|
|
67
|
+
node: () => node37
|
|
68
68
|
});
|
|
69
69
|
import { Mcp } from "@opencode/schema/mcp";
|
|
70
70
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
|
|
|
81
81
|
class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
|
|
82
82
|
name: ServerName2,
|
|
83
83
|
status: Status2,
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID11.pipe(Schema.optional)
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -147,7 +147,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
147
147
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
148
148
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
149
149
|
|
|
150
|
-
class
|
|
150
|
+
class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
151
151
|
server: ServerName2
|
|
152
152
|
}) {
|
|
153
153
|
get message() {
|
|
@@ -165,20 +165,20 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
165
165
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
166
166
|
var cloneConfig = (config) => structuredClone(config);
|
|
167
167
|
|
|
168
|
-
class
|
|
168
|
+
class Service32 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var Options5 = Schema.Struct({
|
|
171
171
|
clientInfo: Schema.optional(Schema.Struct({
|
|
172
172
|
name: Schema.String,
|
|
173
173
|
version: Schema.String
|
|
174
174
|
}))
|
|
175
175
|
});
|
|
176
|
-
var
|
|
176
|
+
var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
177
177
|
const location = yield* Service75;
|
|
178
|
-
const environment = yield*
|
|
179
|
-
const bus = yield*
|
|
180
|
-
const forms = yield*
|
|
181
|
-
const integration = yield*
|
|
178
|
+
const environment = yield* Service52;
|
|
179
|
+
const bus = yield* Service77;
|
|
180
|
+
const forms = yield* Service69;
|
|
181
|
+
const integration = yield* Service68;
|
|
182
182
|
const credentials = yield* Service70;
|
|
183
183
|
const root = yield* Effect.scope;
|
|
184
184
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -191,7 +191,7 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
191
191
|
return;
|
|
192
192
|
const remote = entry.config;
|
|
193
193
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
194
|
-
const integrationID =
|
|
194
|
+
const integrationID = ID11.make(suffix);
|
|
195
195
|
entry.integrationID = integrationID;
|
|
196
196
|
owned.add(integrationID);
|
|
197
197
|
const methodID = MethodID2.make(suffix);
|
|
@@ -216,7 +216,7 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
216
216
|
const name = ServerName2.make(server);
|
|
217
217
|
const entry = entries.get(name);
|
|
218
218
|
if (!entry)
|
|
219
|
-
return yield* new
|
|
219
|
+
return yield* new NotFoundError3({ server: name });
|
|
220
220
|
return { name, entry };
|
|
221
221
|
});
|
|
222
222
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
@@ -315,7 +315,7 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
315
315
|
const elicitation = {
|
|
316
316
|
create: (input) => Effect.gen(function* () {
|
|
317
317
|
if (input.params.mode === "url") {
|
|
318
|
-
const formID =
|
|
318
|
+
const formID = ID12.create();
|
|
319
319
|
const key = input.server + "\x00" + input.params.elicitationId;
|
|
320
320
|
urlElicitations.set(key, formID);
|
|
321
321
|
return yield* forms.ask({
|
|
@@ -433,7 +433,7 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
433
433
|
entry.scope = scope;
|
|
434
434
|
const authProvider = yield* connectProvider(entry);
|
|
435
435
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
436
|
-
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
436
|
+
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service52, environment), Scope.provide(scope), Effect.exit);
|
|
437
437
|
if (Exit.isSuccess(result)) {
|
|
438
438
|
entry.client = result.value.connection;
|
|
439
439
|
entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
|
|
@@ -557,7 +557,7 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
557
557
|
yield* startServer(name, entry);
|
|
558
558
|
}).pipe(locks.withLock(name));
|
|
559
559
|
});
|
|
560
|
-
fork(bus.subscribe(
|
|
560
|
+
fork(bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
561
561
|
const state = create3({
|
|
562
562
|
name: "mcp",
|
|
563
563
|
initial: () => ({
|
|
@@ -587,7 +587,7 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
587
587
|
concurrency: "unbounded",
|
|
588
588
|
discard: true
|
|
589
589
|
}));
|
|
590
|
-
return
|
|
590
|
+
return Service32.of({
|
|
591
591
|
transform: state.transform,
|
|
592
592
|
reload: state.reload,
|
|
593
593
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -707,14 +707,14 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
707
707
|
})
|
|
708
708
|
});
|
|
709
709
|
}));
|
|
710
|
-
function
|
|
710
|
+
function configured5(options) {
|
|
711
711
|
return makeLocationNode({
|
|
712
|
-
service:
|
|
713
|
-
layer:
|
|
714
|
-
deps: [node80,
|
|
712
|
+
service: Service32,
|
|
713
|
+
layer: layer15(options),
|
|
714
|
+
deps: [node80, node55, node82, node74, node73, node75]
|
|
715
715
|
});
|
|
716
716
|
}
|
|
717
|
-
var
|
|
717
|
+
var node37 = configured5();
|
|
718
718
|
function toElicitationField(key, property, required) {
|
|
719
719
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
720
720
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -765,4 +765,4 @@ function toElicitationField(key, property, required) {
|
|
|
765
765
|
}
|
|
766
766
|
}
|
|
767
767
|
|
|
768
|
-
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
768
|
+
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service32, Options5, layer15, configured5, node37, exports_mcp4 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./event-logger-eryjt14q.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./event-logger-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service77,
|
|
10
|
+
node82
|
|
11
|
+
} from "./event-logger-3cabbhzt.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./event-logger-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./event-logger-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./event-logger-k6yq57aq.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./event-logger-5c4hm403.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info18,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service47,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
48
|
+
layer: () => layer20,
|
|
49
49
|
list: () => list3,
|
|
50
|
-
make: () =>
|
|
50
|
+
make: () => make16,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node50,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info18,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,12 +151,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service47 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
157
|
-
const database = yield*
|
|
156
|
+
var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
|
+
const database = yield* Service78;
|
|
158
158
|
const db = database.db;
|
|
159
|
-
const bus = yield*
|
|
159
|
+
const bus = yield* Service77;
|
|
160
160
|
const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
|
|
161
161
|
const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
|
|
162
162
|
if (existing === undefined)
|
|
@@ -173,7 +173,7 @@ var make19 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info18.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
timeCreated: DateTime.makeUnsafe(event.created),
|
|
@@ -227,8 +227,8 @@ var make19 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer20 = Layer.effect(Service47, make16());
|
|
231
|
+
var node50 = makeGlobalNode({ service: Service47, layer: layer20, deps: [node83, node82] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info18, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service47, make16, layer20, node50, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service43
|
|
3
|
+
} from "./event-logger-m4hrtj7g.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./event-logger-t550f9t1.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./event-logger-922hggd3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service51
|
|
13
|
+
} from "./event-logger-yv7j7fqg.js";
|
|
14
14
|
import {
|
|
15
15
|
Service75
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./event-logger-28ynmmp6.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin7
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin7 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
|
-
const discovery = yield*
|
|
35
|
+
const discovery = yield* Service51;
|
|
36
36
|
if (!discovery.project && !discovery.global)
|
|
37
37
|
return;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const global = yield* Global.Service;
|
|
41
41
|
const location = yield* Service75;
|
|
42
|
-
const watcher = yield*
|
|
42
|
+
const watcher = yield* Service43;
|
|
43
43
|
const changes = yield* PubSub.sliding(1);
|
|
44
44
|
const lock = Semaphore.makeUnsafe(1);
|
|
45
45
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin7, exports_instruction };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service77,
|
|
3
|
+
node82
|
|
4
|
+
} from "./event-logger-3cabbhzt.js";
|
|
5
5
|
import {
|
|
6
6
|
Service75,
|
|
7
7
|
node80
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./event-logger-28ynmmp6.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./event-logger-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service56,
|
|
14
|
+
node60
|
|
15
|
+
} from "./event-logger-8yh8a9jj.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service8,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node11
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,12 +32,12 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service8 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const bus = yield*
|
|
37
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
38
|
+
const bus = yield* Service77;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
40
|
+
const store = yield* Service56;
|
|
41
41
|
const location = yield* Service75;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service8.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node11 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [
|
|
101
|
+
deps: [node82, FSUtil.node, node80, node60]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service8, node11, exports_instructions };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service79,
|
|
3
|
-
node84
|
|
4
|
-
} from "./pty-18r19y7d.js";
|
|
5
1
|
import {
|
|
6
2
|
Service78,
|
|
7
3
|
node83
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./event-logger-eryjt14q.js";
|
|
5
|
+
import {
|
|
6
|
+
Service77,
|
|
7
|
+
node82
|
|
8
|
+
} from "./event-logger-3cabbhzt.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./event-logger-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./event-logger-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./event-logger-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: () => Event17,
|
|
24
|
+
ID: () => ID13,
|
|
25
|
+
Info: () => Info28,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
28
|
Service: () => Service70,
|
|
@@ -34,14 +34,14 @@ 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 ID13 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event17 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info28 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID13,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
@@ -51,13 +51,13 @@ class Info29 extends Schema.Class("Credential.Info")({
|
|
|
51
51
|
class Service70 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
53
|
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
54
|
-
const db = (yield*
|
|
55
|
-
const bus = yield*
|
|
54
|
+
const db = (yield* Service78).db;
|
|
55
|
+
const bus = yield* Service77;
|
|
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 Info28({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -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 Info28({
|
|
80
|
+
id: ID13.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(Event17.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event17.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(Event17.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(Event17.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(Event17.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event17.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var node75 = makeGlobalNode({ service: Service70, layer, deps: [
|
|
196
|
+
var node75 = makeGlobalNode({ service: Service70, layer, deps: [node83, node82] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID13, OAuth3, Key4, Value2, Event17, Info28, Service70, node75, exports_credential };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./event-logger-m27pyyd3.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service42
|
|
8
|
+
} from "./event-logger-2k6kcpy5.js";
|
|
9
9
|
import {
|
|
10
10
|
observe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./event-logger-qsdy395h.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/config/plugin/provider.ts
|
|
17
17
|
var exports_provider = {};
|
|
18
18
|
__export(exports_provider, {
|
|
19
19
|
ConfigProviderPlugin: () => exports_provider,
|
|
20
|
-
Plugin: () =>
|
|
20
|
+
Plugin: () => Plugin10
|
|
21
21
|
});
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Effect } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin10 = define({
|
|
26
26
|
id: "opencode.config.provider",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
|
-
const config = yield*
|
|
28
|
+
const config = yield* Service42;
|
|
29
29
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
30
30
|
yield* ctx.integration.transform((integrations) => {
|
|
31
31
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -159,4 +159,4 @@ function configuredProviders(entries) {
|
|
|
159
159
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
export {
|
|
162
|
+
export { Plugin10, exports_provider };
|