@opencode/core 0.0.0-dev-19306 → 0.0.0-dev-19309
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 +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{file-retention-p06n4w0k.js → catalog-0e1sw8g7.js} +18 -18
- package/dist/chunks/{file-retention-d7y1ze3m.js → catalog-0evts91x.js} +18 -18
- package/dist/chunks/{file-retention-1dfhrqqs.js → catalog-0hpxrkyb.js} +5 -5
- package/dist/chunks/catalog-0kwcw7fy.js +4 -0
- package/dist/chunks/{file-retention-7hat9k3a.js → catalog-0n9gyfew.js} +4 -4
- package/dist/chunks/{file-retention-0paq2nw3.js → catalog-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-retention-p3he229h.js → catalog-0pcfrhz7.js} +9 -9
- package/dist/chunks/{file-retention-0q0f95c6.js → catalog-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-retention-gvrrxk8n.js → catalog-0zgh7kk5.js} +62 -62
- package/dist/chunks/{file-retention-bvzpqjkv.js → catalog-181agvn4.js} +13 -13
- package/dist/chunks/{file-retention-b27vhd2z.js → catalog-19vf66h0.js} +4 -4
- package/dist/chunks/{file-retention-r8xr0va3.js → catalog-1acjjqhc.js} +4 -4
- package/dist/chunks/{file-retention-mhkvc446.js → catalog-1bbkgx8g.js} +3 -3
- package/dist/chunks/catalog-1ce0xttj.js +247 -0
- package/dist/chunks/{file-retention-1dazxqgg.js → catalog-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-retention-1h5gp861.js → catalog-1nqyn2md.js} +18 -18
- package/dist/chunks/{file-retention-9vs0xtad.js → catalog-1w9a9pv3.js} +3 -3
- package/dist/chunks/{file-retention-r9babyk8.js → catalog-1wxb385z.js} +1 -1
- package/dist/chunks/{file-retention-mfqp6xfm.js → catalog-1ygqh575.js} +6 -6
- package/dist/chunks/{file-retention-21r38tys.js → catalog-21r38tys.js} +1 -1
- package/dist/chunks/{file-retention-84ajknms.js → catalog-21s79zm0.js} +32 -32
- package/dist/chunks/{file-retention-7tpxex51.js → catalog-2336b01z.js} +8 -8
- package/dist/chunks/{file-retention-2402vzrj.js → catalog-2402vzrj.js} +1 -1
- package/dist/chunks/{file-retention-m7ty3jyf.js → catalog-277t2eea.js} +17 -17
- package/dist/chunks/{file-retention-z63w68vq.js → catalog-29x78va6.js} +6 -6
- package/dist/chunks/{file-retention-2a5m3afh.js → catalog-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-retention-yzn9e0gg.js → catalog-2j0cq4hw.js} +11 -11
- package/dist/chunks/{file-retention-tqaee6jy.js → catalog-2t8xysc7.js} +11 -11
- package/dist/chunks/{file-retention-fhjm97q2.js → catalog-2twcyph9.js} +10 -10
- package/dist/chunks/{file-retention-bcvm2kkr.js → catalog-324g3shg.js} +15 -15
- package/dist/chunks/{file-retention-ffprybq0.js → catalog-3518rj0x.js} +20 -20
- package/dist/chunks/{file-retention-3fc6dm20.js → catalog-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-retention-3hepkmqq.js → catalog-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-retention-27cjzptm.js → catalog-3m0hcevc.js} +42 -42
- package/dist/chunks/{file-retention-5kmyd2yp.js → catalog-3mfye48b.js} +20 -20
- package/dist/chunks/{file-retention-5n3vgq58.js → catalog-3mp8tw93.js} +2 -2
- package/dist/chunks/{file-retention-jfmshy3a.js → catalog-3n15d110.js} +35 -35
- package/dist/chunks/{file-retention-n4pj3cng.js → catalog-3p5n9sjf.js} +10 -10
- package/dist/chunks/{file-retention-3smtnn6g.js → catalog-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-retention-70y17xeh.js → catalog-3tt1qkhr.js} +5 -5
- package/dist/chunks/{file-retention-3tvqynh2.js → catalog-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-retention-evbgk2k8.js → catalog-3w2b2yj4.js} +5 -5
- package/dist/chunks/{file-retention-63h173xj.js → catalog-3yjx2qxr.js} +40 -40
- package/dist/chunks/{file-retention-v7k7pv50.js → catalog-3ypbmvbe.js} +4 -4
- package/dist/chunks/{file-retention-mkw2wvv0.js → catalog-439dx3w9.js} +12 -12
- package/dist/chunks/{file-retention-5ejrhezz.js → catalog-43ptgj31.js} +7 -7
- package/dist/chunks/{file-retention-8t01676a.js → catalog-493f7437.js} +11 -11
- package/dist/chunks/{file-retention-w899n6rm.js → catalog-4as1skcx.js} +92 -92
- package/dist/chunks/{file-retention-9kze6ep1.js → catalog-4ck6zdkc.js} +20 -20
- package/dist/chunks/{file-retention-zznwmpd0.js → catalog-4fq0az5r.js} +5 -5
- package/dist/chunks/{file-retention-wct24b0s.js → catalog-4h427kqb.js} +51 -51
- package/dist/chunks/{file-retention-n76fdqym.js → catalog-4mkcvr19.js} +5 -5
- package/dist/chunks/{file-retention-hgtjkr46.js → catalog-4rt9mjng.js} +9 -9
- package/dist/chunks/{file-retention-a6ycgxr6.js → catalog-4sqgnae3.js} +30 -30
- package/dist/chunks/catalog-4v7qdvcn.js +18 -0
- package/dist/chunks/{file-retention-5yf98bmk.js → catalog-4xjg4q2t.js} +18 -18
- package/dist/chunks/{file-retention-a8npxwp2.js → catalog-4zbwj09h.js} +11 -11
- package/dist/chunks/{file-retention-1xwk6ww1.js → catalog-509mfy7b.js} +4 -4
- package/dist/chunks/{file-retention-2f9mkkej.js → catalog-51mnv1qp.js} +15 -15
- package/dist/chunks/{file-retention-5daktx2q.js → catalog-5daktx2q.js} +1 -1
- package/dist/chunks/{file-retention-d2f1arkd.js → catalog-5mphm999.js} +24 -24
- package/dist/chunks/{file-retention-k16ay38w.js → catalog-5nsrms9d.js} +1 -1
- package/dist/chunks/{file-retention-5t3nmthw.js → catalog-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-retention-w9tpqwqq.js → catalog-5tfj1zwh.js} +20 -20
- package/dist/chunks/{file-retention-t9yc267w.js → catalog-63ypb7gw.js} +24 -24
- package/dist/chunks/{file-retention-669tq793.js → catalog-669tq793.js} +1 -1
- package/dist/chunks/{file-retention-p1wf2k30.js → catalog-6ck2t1rv.js} +9 -9
- package/dist/chunks/{file-retention-m73qne7a.js → catalog-6kdk6nqh.js} +3 -3
- package/dist/chunks/{file-retention-me5vgs2m.js → catalog-6mav0crw.js} +34 -34
- package/dist/chunks/{file-retention-6msgmcgs.js → catalog-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-retention-bha4atvq.js → catalog-6tt5evqq.js} +4 -4
- package/dist/chunks/{file-retention-c85sskq6.js → catalog-6ymtcdfp.js} +8 -8
- package/dist/chunks/{file-retention-71q4at8m.js → catalog-71q4at8m.js} +1 -1
- package/dist/chunks/{file-retention-7bmhse3q.js → catalog-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-retention-cspft70r.js → catalog-7g3sek8k.js} +9 -9
- package/dist/chunks/{file-retention-dr20mx92.js → catalog-7nzmz6w9.js} +28 -28
- package/dist/chunks/catalog-7sh2c558.js +462 -0
- package/dist/chunks/{file-retention-gtb749hc.js → catalog-82a5wx02.js} +15 -15
- package/dist/chunks/{file-retention-96yt6zt0.js → catalog-83x6p9kd.js} +1 -1
- package/dist/chunks/{file-retention-cd428q19.js → catalog-85eqaws9.js} +9 -9
- package/dist/chunks/{file-retention-rc9898mc.js → catalog-86vv7gh8.js} +11 -11
- package/dist/chunks/{file-retention-q7s3pq4a.js → catalog-887bxmqj.js} +9 -9
- package/dist/chunks/{file-retention-1hc11dc4.js → catalog-88sz8qcd.js} +4 -4
- package/dist/chunks/{file-retention-8d7r5vzw.js → catalog-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-retention-pp615gng.js → catalog-8f447577.js} +22 -22
- package/dist/chunks/{file-retention-mypwhdkk.js → catalog-8k4hkv5d.js} +6 -6
- package/dist/chunks/{file-retention-8p4f9s12.js → catalog-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-retention-jnsa8b46.js → catalog-91brfrwq.js} +1 -1
- package/dist/chunks/{file-retention-mdgez6a3.js → catalog-96qecsp7.js} +20 -20
- package/dist/chunks/{file-retention-r1c48803.js → catalog-9d82n428.js} +70 -70
- package/dist/chunks/{file-retention-fvt1yp66.js → catalog-9hxjxzzj.js} +35 -35
- package/dist/chunks/{file-retention-8w2h3xst.js → catalog-9yzgp4j1.js} +26 -26
- package/dist/chunks/{file-retention-a1bz86dw.js → catalog-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-retention-tx1bbn1t.js → catalog-a8j8hhs2.js} +2 -2
- package/dist/chunks/{file-retention-aaet6srn.js → catalog-aaet6srn.js} +2 -2
- package/dist/chunks/{file-retention-e042tyrs.js → catalog-agqtpwbj.js} +5 -5
- package/dist/chunks/{file-retention-ymxag59m.js → catalog-annfvqzd.js} +60 -60
- package/dist/chunks/{file-retention-0rn2bysh.js → catalog-ap7992nw.js} +12 -12
- package/dist/chunks/catalog-atswkcm9.js +22 -0
- package/dist/chunks/{file-retention-t4w73mrs.js → catalog-avf8efec.js} +46 -46
- package/dist/chunks/{file-retention-3q1jyqhd.js → catalog-b3wkxfg9.js} +1 -1
- package/dist/chunks/{file-retention-8rxc0pzs.js → catalog-b5n790m1.js} +20 -20
- package/dist/chunks/{file-retention-wxqxce1x.js → catalog-b5x3zw73.js} +9 -9
- package/dist/chunks/{file-retention-b6gygkdw.js → catalog-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-retention-b62r6jkh.js → catalog-bbjrxcfr.js} +23 -23
- package/dist/chunks/{file-retention-eppr9y53.js → catalog-bfg6wmvt.js} +3 -3
- package/dist/chunks/{file-retention-v6jrwn5c.js → catalog-bjfdh5sq.js} +28 -28
- package/dist/chunks/{file-retention-jn37jswd.js → catalog-bpggscz5.js} +22 -22
- package/dist/chunks/{file-retention-gj9xpvv3.js → catalog-bv56xrks.js} +6 -6
- package/dist/chunks/{file-retention-r4s8w3sh.js → catalog-bxphq6yf.js} +35 -35
- package/dist/chunks/{file-retention-mbq90t60.js → catalog-c0gpyqcs.js} +43 -43
- package/dist/chunks/{file-retention-e5rkeknp.js → catalog-c3d70zs9.js} +7 -7
- package/dist/chunks/{file-retention-pqrzdjtx.js → catalog-c64pkv7q.js} +18 -18
- package/dist/chunks/{file-retention-m27pyyd3.js → catalog-c7ecgrk6.js} +6 -6
- package/dist/chunks/{file-retention-v51hrxtf.js → catalog-c8kn0e1j.js} +7 -7
- package/dist/chunks/{file-retention-th1rzrqw.js → catalog-c9whyjqe.js} +10 -10
- package/dist/chunks/{file-retention-qth1fxpg.js → catalog-cavm9het.js} +23 -23
- package/dist/chunks/{file-retention-228st694.js → catalog-cd3kn8g3.js} +11 -11
- package/dist/chunks/{file-retention-cfpkc3c9.js → catalog-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-retention-jj63jgrn.js → catalog-cpsw9aga.js} +8 -8
- package/dist/chunks/{file-retention-11fxjgwx.js → catalog-crn2g2j7.js} +25 -25
- package/dist/chunks/{file-retention-nn8g4bnz.js → catalog-cye7csfb.js} +11 -11
- package/dist/chunks/{file-retention-8xgh37q2.js → catalog-d3zdjdg4.js} +39 -39
- package/dist/chunks/{file-retention-afdssyjb.js → catalog-ddt2bs9e.js} +4 -4
- package/dist/chunks/{file-retention-j83byb14.js → catalog-dfe8djrf.js} +4 -4
- package/dist/chunks/{file-retention-mb5m7hjx.js → catalog-dkr6v1jj.js} +6 -6
- package/dist/chunks/{file-retention-dpkg50ah.js → catalog-dpkg50ah.js} +1 -1
- package/dist/chunks/{file-retention-844ef7ks.js → catalog-dv1qgsyq.js} +8 -8
- package/dist/chunks/{file-retention-rccdk6ga.js → catalog-dwgyz8t6.js} +3 -3
- package/dist/chunks/{file-retention-fp1hhbvz.js → catalog-e34b6n40.js} +30 -30
- package/dist/chunks/{file-retention-0b96kjwf.js → catalog-e3t7z67s.js} +8 -8
- package/dist/chunks/{file-retention-frhqnhmj.js → catalog-ea4szbf4.js} +15 -15
- package/dist/chunks/{file-retention-b963bmgr.js → catalog-eks9y43h.js} +13 -13
- package/dist/chunks/{file-retention-mqgfyy2s.js → catalog-ekxqnygj.js} +20 -20
- package/dist/chunks/{file-retention-z69s9t6b.js → catalog-en74w496.js} +5 -5
- package/dist/chunks/{file-retention-v0ak0tys.js → catalog-en89ywvk.js} +19 -19
- package/dist/chunks/{file-retention-etq0c3wd.js → catalog-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-retention-0thxwbsq.js → catalog-ezewvdhd.js} +11 -11
- package/dist/chunks/{file-retention-pkxxvzx1.js → catalog-f20xgh69.js} +29 -29
- package/dist/chunks/{file-retention-f828m53h.js → catalog-f828m53h.js} +2 -2
- package/dist/chunks/{file-retention-qgn6gcr1.js → catalog-fcrkznn8.js} +5 -5
- package/dist/chunks/{file-retention-tmw9t85a.js → catalog-fe83msa9.js} +13 -13
- package/dist/chunks/{file-retention-jf6dr2d9.js → catalog-fppsb3b5.js} +36 -36
- package/dist/chunks/{file-retention-79v6krhr.js → catalog-fq51289s.js} +35 -35
- package/dist/chunks/{file-retention-fxbjtjnd.js → catalog-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-retention-r4cndbqv.js → catalog-g07620wm.js} +20 -20
- package/dist/chunks/{file-retention-nfkc2kma.js → catalog-g0mr4btt.js} +8 -8
- package/dist/chunks/{file-retention-ykjy0bm0.js → catalog-g85prm42.js} +8 -8
- package/dist/chunks/{file-retention-wndheb9r.js → catalog-gc7xqtvn.js} +6 -6
- package/dist/chunks/{file-retention-gd4qta3r.js → catalog-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-retention-y3xzpef0.js → catalog-gda9nas2.js} +15 -15
- package/dist/chunks/{file-retention-43eky7fv.js → catalog-gg87hdr1.js} +85 -85
- package/dist/chunks/{file-retention-ebah8r6x.js → catalog-ghk9cxjs.js} +6 -6
- package/dist/chunks/{file-retention-fgh0kbhd.js → catalog-gt0cxfk7.js} +1 -1
- package/dist/chunks/{file-retention-gv6a8nnw.js → catalog-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-retention-7hhdtzm1.js → catalog-gw93046e.js} +10 -10
- package/dist/chunks/{file-retention-h03wrkyp.js → catalog-h03wrkyp.js} +2 -2
- package/dist/chunks/{file-retention-h6vf3j39.js → catalog-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-retention-9c22vnh3.js → catalog-h9v53t8b.js} +28 -28
- package/dist/chunks/{file-retention-5h2ak588.js → catalog-hccqy9de.js} +25 -25
- package/dist/chunks/{file-retention-rkbztq4a.js → catalog-hfe15vta.js} +27 -27
- package/dist/chunks/{file-retention-nhy5jxhy.js → catalog-hjt4xg1x.js} +4 -4
- package/dist/chunks/{file-retention-zwph3s3x.js → catalog-hjyq8txy.js} +19 -19
- package/dist/chunks/{file-retention-beqz24q2.js → catalog-hs0dft44.js} +43 -43
- package/dist/chunks/{file-retention-ta89s5je.js → catalog-j22ne1jm.js} +33 -33
- package/dist/chunks/{file-retention-j56e64zr.js → catalog-j56e64zr.js} +1 -1
- package/dist/chunks/{file-retention-aks9j4w4.js → catalog-j58tsep0.js} +15 -15
- package/dist/chunks/{file-retention-paphc93g.js → catalog-j935v87r.js} +2 -2
- package/dist/chunks/{file-retention-fg50ch7r.js → catalog-jfw7ranw.js} +4 -4
- package/dist/chunks/{file-retention-fygdb7h7.js → catalog-jhetwysa.js} +3 -3
- package/dist/chunks/{file-retention-t2y34ej4.js → catalog-jsckaant.js} +13 -13
- package/dist/chunks/{file-retention-cmx0cyjn.js → catalog-jt93vp5f.js} +9 -9
- package/dist/chunks/{file-retention-0r7yqxbf.js → catalog-jv01nqvq.js} +5 -5
- package/dist/chunks/{file-retention-f2fvptgs.js → catalog-jvgf59s5.js} +46 -46
- package/dist/chunks/{file-retention-dhgj89qr.js → catalog-jz7qjw6y.js} +9 -9
- package/dist/chunks/{file-retention-sf0yp864.js → catalog-k0nnq3t9.js} +6 -6
- package/dist/chunks/{file-retention-cjsb4aez.js → catalog-k52252t7.js} +4 -4
- package/dist/chunks/{file-retention-eenpnbqj.js → catalog-kcj2091p.js} +10 -10
- package/dist/chunks/{file-retention-kg06axw8.js → catalog-kg06axw8.js} +1 -1
- package/dist/chunks/{file-retention-f3ngv102.js → catalog-kk00bynn.js} +21 -21
- package/dist/chunks/{file-retention-wgvs8t5x.js → catalog-kmzz9pas.js} +25 -25
- package/dist/chunks/{file-retention-1x4qabqm.js → catalog-kqnty0aw.js} +17 -17
- package/dist/chunks/{file-retention-164jdkrd.js → catalog-kxfy9v2j.js} +21 -21
- package/dist/chunks/{file-retention-h7ygw6q4.js → catalog-m2d0j7c0.js} +9 -9
- package/dist/chunks/{file-retention-r0yk3wys.js → catalog-m5ehmq0h.js} +21 -21
- package/dist/chunks/{file-retention-t4y4c1va.js → catalog-m74w19w0.js} +171 -171
- package/dist/chunks/{file-retention-m9w0rfyh.js → catalog-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-retention-j8zzr2am.js → catalog-mjncxbbh.js} +4 -4
- package/dist/chunks/{file-retention-mkcjrzeh.js → catalog-mkcjrzeh.js} +1 -1
- package/dist/chunks/{file-retention-5qkbsren.js → catalog-mncc4vzv.js} +15 -15
- package/dist/chunks/{file-retention-8gjywk27.js → catalog-mp02gzc9.js} +26 -26
- package/dist/chunks/{file-retention-g1xb33sa.js → catalog-n2w5zf4y.js} +30 -30
- package/dist/chunks/{file-retention-d09006c3.js → catalog-n37c4crj.js} +9 -9
- package/dist/chunks/{file-retention-mb6jxekh.js → catalog-n41t07j9.js} +32 -32
- package/dist/chunks/{file-retention-26nm669z.js → catalog-n4ejk7vt.js} +37 -37
- package/dist/chunks/{file-retention-tmmaw7dm.js → catalog-n68ab1tc.js} +15 -15
- package/dist/chunks/{file-retention-j4jqbx4j.js → catalog-n71y3dbp.js} +11 -11
- package/dist/chunks/{file-retention-9edcvf27.js → catalog-ncmz7v5j.js} +10 -10
- package/dist/chunks/{file-retention-hces5vk3.js → catalog-ne6jr7py.js} +8 -8
- package/dist/chunks/{file-retention-5w90zcr2.js → catalog-nfj734wy.js} +43 -43
- package/dist/chunks/{file-retention-085p4wzr.js → catalog-nh5sasdk.js} +22 -22
- package/dist/chunks/{file-retention-0e552dan.js → catalog-p17pfsmd.js} +22 -22
- package/dist/chunks/{file-retention-4e4kessa.js → catalog-p6sy7vrx.js} +11 -11
- package/dist/chunks/{file-retention-pgpxt5ny.js → catalog-pdcqshfj.js} +30 -30
- package/dist/chunks/{file-retention-pjvnvgmy.js → catalog-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-retention-pknna89w.js → catalog-pknna89w.js} +1 -1
- package/dist/chunks/{file-retention-p0r3vkqq.js → catalog-pv83a8g9.js} +5 -5
- package/dist/chunks/{file-retention-p1gkab00.js → catalog-pygrm44j.js} +24 -24
- package/dist/chunks/{file-retention-vr7f0f2w.js → catalog-qgxradse.js} +24 -24
- package/dist/chunks/{file-retention-3ad4b8jh.js → catalog-qjq8d7da.js} +14 -14
- package/dist/chunks/{file-retention-e6hd9jay.js → catalog-qqtwvk4z.js} +4 -4
- package/dist/chunks/{file-retention-qsdy395h.js → catalog-qsdy395h.js} +1 -1
- package/dist/chunks/{file-retention-x35m90n0.js → catalog-qx9naz5h.js} +27 -27
- package/dist/chunks/{file-retention-atnf5533.js → catalog-r441rk8t.js} +14 -14
- package/dist/chunks/{file-retention-v4cx5xjq.js → catalog-rade8k7x.js} +6 -6
- package/dist/chunks/{file-retention-mhd0t4xv.js → catalog-rkqame75.js} +23 -23
- package/dist/chunks/{file-retention-c5hwayjq.js → catalog-rpz3wezz.js} +4 -4
- package/dist/chunks/{file-retention-4t92r5y5.js → catalog-rxjrk2nw.js} +16 -16
- package/dist/chunks/{file-retention-9fjt8dzc.js → catalog-s3na88hc.js} +16 -16
- package/dist/chunks/{file-retention-yrznvahk.js → catalog-s4enseaf.js} +2 -2
- package/dist/chunks/{file-retention-3fk22zg7.js → catalog-s7sd9pj0.js} +18 -18
- package/dist/chunks/{file-retention-eaj1djv9.js → catalog-s8d7rejh.js} +6 -6
- package/dist/chunks/{file-retention-m3800wpb.js → catalog-sg6ndnsg.js} +24 -24
- package/dist/chunks/{file-retention-vrgc17vv.js → catalog-sgfkh1bp.js} +4 -4
- package/dist/chunks/{file-retention-fyymr9xg.js → catalog-shh6fz4q.js} +4 -4
- package/dist/chunks/{file-retention-pecb0brz.js → catalog-sra9araw.js} +5 -5
- package/dist/chunks/{file-retention-638rxdhc.js → catalog-ssd64hap.js} +22 -22
- package/dist/chunks/{file-retention-401vwfxe.js → catalog-sse12fwf.js} +8 -8
- package/dist/chunks/{file-retention-xdvgyr5e.js → catalog-styqsms2.js} +17 -17
- package/dist/chunks/{file-retention-p5jcd3cr.js → catalog-sv2dresp.js} +11 -11
- package/dist/chunks/{file-retention-yn2w03ty.js → catalog-sx4z2wkx.js} +4 -4
- package/dist/chunks/{file-retention-nwht2get.js → catalog-t41sh3fy.js} +12 -12
- package/dist/chunks/{file-retention-rc2324vf.js → catalog-t89hfesc.js} +9 -9
- package/dist/chunks/{file-retention-f8q7mv7a.js → catalog-t8mcaem5.js} +1 -1
- package/dist/chunks/{file-retention-znx0z9vv.js → catalog-takea01j.js} +30 -30
- package/dist/chunks/{file-retention-tazgh4e4.js → catalog-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-retention-tcezcvh9.js → catalog-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-retention-tdstcens.js → catalog-tdstcens.js} +1 -1
- package/dist/chunks/{file-retention-s841er54.js → catalog-te5wzfm2.js} +35 -35
- package/dist/chunks/{file-retention-6xyaxxp3.js → catalog-trdmtmn1.js} +33 -33
- package/dist/chunks/{file-retention-tvtrv512.js → catalog-tvtrv512.js} +1 -1
- package/dist/chunks/{file-retention-qp4pmkb7.js → catalog-v01artfa.js} +16 -16
- package/dist/chunks/{file-retention-vf4s9505.js → catalog-v1sz7r3a.js} +16 -16
- package/dist/chunks/{file-retention-rsym84ch.js → catalog-v33xfvcj.js} +9 -9
- package/dist/chunks/{file-retention-ha1ky52e.js → catalog-v4v7wqz2.js} +25 -25
- package/dist/chunks/{file-retention-8rcbgw1c.js → catalog-v9nb272c.js} +6 -6
- package/dist/chunks/{file-retention-veqvce7d.js → catalog-veqvce7d.js} +1 -1
- package/dist/chunks/{file-retention-fhp7qqsj.js → catalog-vk7myt1t.js} +24 -24
- package/dist/chunks/{file-retention-4jxr6rzv.js → catalog-vtss28jw.js} +7 -7
- package/dist/chunks/{file-retention-3pbjq009.js → catalog-vyrd71eq.js} +11 -11
- package/dist/chunks/{file-retention-vzcthcp8.js → catalog-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-retention-4xr7dxah.js → catalog-vzr1015d.js} +31 -31
- package/dist/chunks/{file-retention-089z8d2q.js → catalog-w17639j7.js} +4 -4
- package/dist/chunks/{file-retention-zxrs8q2n.js → catalog-w2f3tag7.js} +46 -46
- package/dist/chunks/{file-retention-w3wsvvr9.js → catalog-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-retention-q8k5va6t.js → catalog-w6dsm74z.js} +13 -13
- package/dist/chunks/{file-retention-4a8afqtg.js → catalog-w7t7hmp4.js} +11 -11
- package/dist/chunks/{file-retention-afqe321m.js → catalog-w834zwzr.js} +46 -46
- package/dist/chunks/{file-retention-wd87259q.js → catalog-wd87259q.js} +1 -1
- package/dist/chunks/{file-retention-yygg97b6.js → catalog-wdg8v3k8.js} +30 -30
- package/dist/chunks/{file-retention-jwws7wxw.js → catalog-wmhr3c7y.js} +7 -7
- package/dist/chunks/{file-retention-g8nf464k.js → catalog-wr9en1my.js} +39 -39
- package/dist/chunks/{file-retention-x1ezjp6w.js → catalog-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-retention-m7hd4rhs.js → catalog-x24zbaxc.js} +24 -24
- package/dist/chunks/{file-retention-2xcd4pkq.js → catalog-x36451fn.js} +9 -9
- package/dist/chunks/{file-retention-x43y2vfs.js → catalog-x43y2vfs.js} +2 -2
- package/dist/chunks/{file-retention-m821g7ez.js → catalog-xdh98823.js} +17 -17
- package/dist/chunks/{file-retention-4c8bw516.js → catalog-xn5rvdk3.js} +8 -8
- package/dist/chunks/{file-retention-4rcz7n1w.js → catalog-xrdn9kgh.js} +13 -13
- package/dist/chunks/{file-retention-zhxw6mnd.js → catalog-xycjtdwc.js} +2 -2
- package/dist/chunks/{file-retention-y1fvbwt7.js → catalog-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-retention-mwsztzac.js → catalog-ynj9sc9b.js} +14 -14
- package/dist/chunks/{file-retention-yrhqyw5v.js → catalog-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-retention-nk32hk52.js → catalog-yvmq8qxx.js} +12 -12
- package/dist/chunks/{file-retention-xa4djcz0.js → catalog-yvz2amb9.js} +8 -8
- package/dist/chunks/{file-retention-z0bkrqjs.js → catalog-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-retention-b4s1xj5x.js → catalog-z4rzbvzf.js} +9 -9
- package/dist/chunks/{file-retention-zeh9ct20.js → catalog-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-retention-zr2ceqn5.js → catalog-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-retention-zxq2ej10.js → catalog-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-retention-ksz0h0wp.js → catalog-zxwpk2nb.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 +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +68 -68
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +77 -77
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +85 -85
- 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 +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +95 -95
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +93 -93
- 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 +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +349 -349
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +97 -97
- package/dist/mcp/instructions.js +118 -118
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +84 -84
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- 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 +110 -110
- 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 +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- 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 +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- 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/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- 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 +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- 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 +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- 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 +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- 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 +92 -92
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- 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 +219 -219
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- 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 +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +15 -15
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +100 -100
- package/dist/skill.js +103 -103
- package/dist/snapshot.js +84 -84
- 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 +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +104 -104
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +6 -6
- package/dist/tool.js +11 -11
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- 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 +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/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- 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 +89 -89
- package/package.json +8 -8
- package/dist/chunks/file-retention-a5hbfrzd.js +0 -247
- package/dist/chunks/file-retention-f37dn1ey.js +0 -462
- package/dist/chunks/file-retention-hxa7m5za.js +0 -4
- package/dist/chunks/file-retention-jch0v1y2.js +0 -22
- package/dist/chunks/file-retention-q509s3k3.js +0 -18
- /package/dist/chunks/{file-retention-0qkdqm5v.js → catalog-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-retention-0zkw76rk.js → catalog-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-retention-17cy0kzp.js → catalog-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-retention-1cnp2v09.js → catalog-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-retention-1kg9ymc8.js → catalog-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-retention-2710q6r3.js → catalog-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-retention-2axfhc9x.js → catalog-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-retention-2c3vjs8z.js → catalog-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-retention-359p4xyc.js → catalog-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-retention-3asan66x.js → catalog-3asan66x.js} +0 -0
- /package/dist/chunks/{file-retention-3v8g72cx.js → catalog-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-retention-3w5fmr99.js → catalog-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-retention-3wcehsnq.js → catalog-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-retention-43n2bw4t.js → catalog-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-retention-4knz6hnm.js → catalog-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-retention-4y7fprxs.js → catalog-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-retention-53557ph1.js → catalog-53557ph1.js} +0 -0
- /package/dist/chunks/{file-retention-550bvhaj.js → catalog-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-retention-6prwharc.js → catalog-6prwharc.js} +0 -0
- /package/dist/chunks/{file-retention-7akdwqpd.js → catalog-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-retention-7m9af43g.js → catalog-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-retention-822emrt2.js → catalog-822emrt2.js} +0 -0
- /package/dist/chunks/{file-retention-88xbtdfr.js → catalog-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-retention-8n3pysct.js → catalog-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-retention-922hggd3.js → catalog-922hggd3.js} +0 -0
- /package/dist/chunks/{file-retention-9a4afbnw.js → catalog-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-retention-9rqn6x4v.js → catalog-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-retention-a1tpkmh4.js → catalog-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{file-retention-a6k6eb26.js → catalog-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-retention-af5trqkr.js → catalog-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-retention-afrmfg78.js → catalog-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-retention-aqzs7mqg.js → catalog-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-retention-atq7p7m5.js → catalog-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-retention-bkyjaxrp.js → catalog-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-retention-bmr6ed5q.js → catalog-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-retention-cf4snx6d.js → catalog-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-retention-cvy3z8tj.js → catalog-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-retention-d9fn303g.js → catalog-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-retention-d9jj8t3e.js → catalog-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-retention-dajrwvna.js → catalog-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-retention-dap0rakb.js → catalog-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-retention-df08tz66.js → catalog-df08tz66.js} +0 -0
- /package/dist/chunks/{file-retention-dy18nga0.js → catalog-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-retention-e5kj55wp.js → catalog-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-retention-e73j6tqm.js → catalog-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-retention-ec1grn59.js → catalog-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-retention-eh3zwz77.js → catalog-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-retention-emrn6kk6.js → catalog-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-retention-f0mxakyp.js → catalog-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-retention-f6n9ztr4.js → catalog-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-retention-faypxj3z.js → catalog-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-retention-fd410y7t.js → catalog-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-retention-fxgpk5d8.js → catalog-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-retention-g4wezp1m.js → catalog-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-retention-g86h250q.js → catalog-g86h250q.js} +0 -0
- /package/dist/chunks/{file-retention-gebd4c9n.js → catalog-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-retention-gftt206x.js → catalog-gftt206x.js} +0 -0
- /package/dist/chunks/{file-retention-hjbc5kem.js → catalog-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-retention-hk9envan.js → catalog-hk9envan.js} +0 -0
- /package/dist/chunks/{file-retention-hrnqkpcd.js → catalog-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{file-retention-j2ntwpah.js → catalog-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-retention-j5zkgpj8.js → catalog-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-retention-jr7sbwjy.js → catalog-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-retention-jwfs4k6c.js → catalog-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-retention-jzg6c2d5.js → catalog-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-retention-mp448xyj.js → catalog-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-retention-msx8hqn2.js → catalog-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-retention-n05xt0ee.js → catalog-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-retention-n3j8tn72.js → catalog-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-retention-njntx4h6.js → catalog-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-retention-q3sfg36h.js → catalog-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-retention-q74kybfr.js → catalog-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-retention-qaymkmh1.js → catalog-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-retention-qb87gjwd.js → catalog-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-retention-qfa1cgps.js → catalog-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-retention-qrg20bc0.js → catalog-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-retention-rcb2kzg1.js → catalog-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-retention-sdp7kfr6.js → catalog-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-retention-sk3qaz4a.js → catalog-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-retention-ssg3fenm.js → catalog-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-retention-twg0f83k.js → catalog-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-retention-w803qqfp.js → catalog-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-retention-wer8tq1h.js → catalog-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-retention-wtztk69x.js → catalog-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-retention-x0ckcb58.js → catalog-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-retention-x61499pn.js → catalog-x61499pn.js} +0 -0
- /package/dist/chunks/{file-retention-y44na4kk.js → catalog-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-retention-y8cydn3q.js → catalog-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-retention-ygaqb7jw.js → catalog-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-retention-ym463w8f.js → catalog-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-retention-z9919s4g.js → catalog-z9919s4g.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./catalog-2t8xysc7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./catalog-v01artfa.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service38
|
|
9
|
+
} from "./catalog-ghk9cxjs.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./catalog-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID9,
|
|
15
|
+
Service54
|
|
16
|
+
} from "./catalog-rkqame75.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./catalog-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./catalog-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./catalog-jz7qjw6y.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./catalog-a1bz86dw.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./catalog-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
46
|
-
const database = yield*
|
|
47
|
-
const bus = yield*
|
|
45
|
+
const instances = yield* Service38;
|
|
46
|
+
const database = yield* Service80;
|
|
47
|
+
const bus = yield* Service79;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service54;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID9.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
78
|
-
const bus = yield*
|
|
77
|
+
const instances = yield* Service38;
|
|
78
|
+
const bus = yield* Service79;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service54;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID9.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID9.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service66
|
|
3
|
+
} from "./catalog-jvgf59s5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service6
|
|
6
|
+
} from "./catalog-6ck2t1rv.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./catalog-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./catalog-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
15
|
var exports_location_watcher2 = {};
|
|
16
16
|
__export(exports_location_watcher2, {
|
|
17
17
|
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin20
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin20 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service66;
|
|
26
|
+
const policy = yield* Service6;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin14 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin20, exports_location_watcher2 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID17,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
loadPackage2,
|
|
6
6
|
mergeOverlay2,
|
|
7
7
|
mergeHeaders2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./catalog-c7ecgrk6.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service72,
|
|
11
|
+
node77
|
|
12
|
+
} from "./catalog-p6sy7vrx.js";
|
|
13
13
|
import {
|
|
14
14
|
map2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./catalog-xycjtdwc.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID16,
|
|
18
18
|
VariantID2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Ref4
|
|
20
|
+
} from "./catalog-yvmq8qxx.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID14,
|
|
23
|
+
Service74,
|
|
24
|
+
node79
|
|
25
|
+
} from "./catalog-trdmtmn1.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service73,
|
|
28
|
+
node78
|
|
29
|
+
} from "./catalog-h9v53t8b.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./catalog-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/model-resolver.ts
|
|
35
35
|
var exports_model_resolver = {};
|
|
36
36
|
__export(exports_model_resolver, {
|
|
37
37
|
ModelResolver: () => exports_model_resolver,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service71,
|
|
39
39
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
40
40
|
UnsupportedCompactionError: () => UnsupportedCompactionError3,
|
|
41
41
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
@@ -43,7 +43,7 @@ __export(exports_model_resolver, {
|
|
|
43
43
|
fromCatalogModel: () => fromCatalogModel2,
|
|
44
44
|
hasPackage: () => hasPackage2,
|
|
45
45
|
layer: () => layer24,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node76,
|
|
47
47
|
resolveModel: () => resolveModel2,
|
|
48
48
|
withVariant: () => withVariant2
|
|
49
49
|
});
|
|
@@ -53,8 +53,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
53
53
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
54
54
|
import { Npm } from "@opencode/util/npm";
|
|
55
55
|
class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
56
|
-
providerID:
|
|
57
|
-
modelID:
|
|
56
|
+
providerID: ID17,
|
|
57
|
+
modelID: ID16,
|
|
58
58
|
variant: VariantID2
|
|
59
59
|
}) {
|
|
60
60
|
get message() {
|
|
@@ -63,8 +63,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
66
|
-
providerID:
|
|
67
|
-
modelID:
|
|
66
|
+
providerID: ID17,
|
|
67
|
+
modelID: ID16,
|
|
68
68
|
package: Schema.String
|
|
69
69
|
}) {
|
|
70
70
|
get message() {
|
|
@@ -73,8 +73,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
76
|
-
providerID:
|
|
77
|
-
modelID:
|
|
76
|
+
providerID: ID17,
|
|
77
|
+
modelID: ID16,
|
|
78
78
|
variables: Schema.Array(Schema.String)
|
|
79
79
|
}) {
|
|
80
80
|
get message() {
|
|
@@ -83,8 +83,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
86
|
-
providerID:
|
|
87
|
-
modelID:
|
|
86
|
+
providerID: ID17,
|
|
87
|
+
modelID: ID16,
|
|
88
88
|
route: Schema.String
|
|
89
89
|
}) {
|
|
90
90
|
get message() {
|
|
@@ -92,7 +92,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service71 extends Context.Service()("@opencode/ModelResolver") {
|
|
96
96
|
}
|
|
97
97
|
var withVariant2 = (model, variantID) => {
|
|
98
98
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -218,14 +218,14 @@ var unsupported = (model) => new UnsupportedPackageError3({
|
|
|
218
218
|
});
|
|
219
219
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
220
220
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
221
|
-
var layer24 = Layer.effect(
|
|
222
|
-
const catalog = yield*
|
|
223
|
-
const integrations = yield*
|
|
221
|
+
var layer24 = Layer.effect(Service71, Effect.gen(function* () {
|
|
222
|
+
const catalog = yield* Service73;
|
|
223
|
+
const integrations = yield* Service74;
|
|
224
224
|
const npm = yield* Npm.Service;
|
|
225
|
-
const aisdk = yield*
|
|
225
|
+
const aisdk = yield* Service72;
|
|
226
226
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
227
227
|
const provider = yield* catalog.provider.get(selected.providerID);
|
|
228
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
228
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
|
|
229
229
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
230
230
|
const runtimeInfo = yield* withVariant2(selected, variant);
|
|
231
231
|
const model = yield* fromCatalogModel2(runtimeInfo, credential, {
|
|
@@ -235,7 +235,7 @@ var layer24 = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
235
235
|
const runtime = provider?.activation === "enabled" && credential === undefined && !hasConfiguredAuth(runtimeInfo) && usesAPIKeyAuth(runtimeInfo.package) ? LanguageModel.update(model, { route: model.route.with({ auth: Auth.none }) }) : model;
|
|
236
236
|
return {
|
|
237
237
|
model: runtime,
|
|
238
|
-
ref:
|
|
238
|
+
ref: Ref4.make({
|
|
239
239
|
id: selected.id,
|
|
240
240
|
providerID: selected.providerID,
|
|
241
241
|
...variant === undefined ? {} : { variant }
|
|
@@ -246,7 +246,7 @@ var layer24 = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
246
246
|
compaction: selected.compaction
|
|
247
247
|
};
|
|
248
248
|
});
|
|
249
|
-
return
|
|
249
|
+
return Service71.of({
|
|
250
250
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
251
251
|
const selected = requested ? yield* catalog.model.get(requested.providerID, requested.id) : yield* catalog.model.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(catalog.model.available(), (models) => models.find(hasPackage2))));
|
|
252
252
|
if (!selected)
|
|
@@ -263,10 +263,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
263
263
|
const name = packageName2(packageName);
|
|
264
264
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
265
265
|
}
|
|
266
|
-
var
|
|
267
|
-
service:
|
|
266
|
+
var node76 = makeLocationNode({
|
|
267
|
+
service: Service71,
|
|
268
268
|
layer: layer24,
|
|
269
|
-
deps: [
|
|
269
|
+
deps: [node78, node79, Npm.node, node77]
|
|
270
270
|
});
|
|
271
271
|
|
|
272
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3,
|
|
272
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service71, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node76, exports_model_resolver };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./catalog-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service36,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service36 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service36, exports_runner };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./catalog-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/skills.ts
|
|
6
6
|
var exports_skills = {};
|
|
7
7
|
__export(exports_skills, {
|
|
8
8
|
ConfigSkillsV1: () => exports_skills,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info17
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info17 = Schema.Struct({
|
|
13
13
|
paths: Schema.optional(Schema.Array(Schema.String)).annotate({
|
|
14
14
|
description: "Additional paths to skill folders"
|
|
15
15
|
}),
|
|
@@ -18,4 +18,4 @@ var Info12 = Schema.Struct({
|
|
|
18
18
|
})
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info17, exports_skills };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./catalog-ezewvdhd.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID17
|
|
6
|
+
} from "./catalog-c7ecgrk6.js";
|
|
7
7
|
import {
|
|
8
8
|
iife2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./catalog-1kg9ymc8.js";
|
|
10
10
|
import {
|
|
11
11
|
configuredSettings2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./catalog-vtss28jw.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
15
15
|
import os from "os";
|
|
16
16
|
import { Effect, Option, Schema } from "effect";
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
18
18
|
import { Form } from "@opencode/schema/form";
|
|
19
|
-
var providerID =
|
|
19
|
+
var providerID = ID17.make("cloudflare-ai-gateway");
|
|
20
20
|
var CloudflareAIGatewayPlugin2 = define({
|
|
21
21
|
id: "opencode.provider.cloudflare.ai.gateway",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./catalog-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service3,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node5
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service3 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node5 = makeLocationNode({
|
|
19
|
+
service: Service3,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service3, Service3.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service3, node5, bound2, exports_instance2 };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./catalog-91brfrwq.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
9
|
make22,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./catalog-bfg6wmvt.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./catalog-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./catalog-2t8xysc7.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./catalog-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service79,
|
|
10
|
+
node84
|
|
11
|
+
} from "./catalog-v01artfa.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./catalog-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./catalog-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./catalog-1w9a9pv3.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./catalog-a1bz86dw.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./catalog-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: () => Info6,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service39,
|
|
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: () =>
|
|
49
|
-
list: () =>
|
|
50
|
-
make: () =>
|
|
48
|
+
layer: () => layer16,
|
|
49
|
+
list: () => list3,
|
|
50
|
+
make: () => make16,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node42,
|
|
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 Info6,
|
|
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 Service39 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* Service80;
|
|
158
158
|
const db = database.db;
|
|
159
|
-
const bus = yield*
|
|
159
|
+
const bus = yield* Service79;
|
|
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) => Info6.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
timeCreated: DateTime.makeUnsafe(event.created),
|
|
@@ -193,7 +193,7 @@ var make19 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
193
193
|
}
|
|
194
194
|
if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
|
|
195
195
|
return yield* new LifecycleConflict2({ id: input.id });
|
|
196
|
-
const pending = (yield*
|
|
196
|
+
const pending = (yield* list3(db, input.sessionID)).find((item) => item.type === "compaction");
|
|
197
197
|
if (pending)
|
|
198
198
|
return pending;
|
|
199
199
|
return yield* admit({
|
|
@@ -218,7 +218,7 @@ var make19 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
218
218
|
delivery: "queue"
|
|
219
219
|
})));
|
|
220
220
|
return {
|
|
221
|
-
list: (sessionID) =>
|
|
221
|
+
list: (sessionID) => list3(db, sessionID),
|
|
222
222
|
reconcile,
|
|
223
223
|
admit,
|
|
224
224
|
admitCompaction,
|
|
@@ -227,8 +227,8 @@ var make19 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer16 = Layer.effect(Service39, make16());
|
|
231
|
+
var node42 = makeGlobalNode({ service: Service39, layer: layer16, deps: [node85, node84] });
|
|
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)
|
|
@@ -266,7 +266,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
|
|
|
266
266
|
from: input.delivery === "steer" ? "queue" : "steer",
|
|
267
267
|
to: input.delivery
|
|
268
268
|
}));
|
|
269
|
-
var
|
|
269
|
+
var list3 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
|
|
270
270
|
const rows = yield* db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
|
|
271
271
|
return rows.map(fromRow);
|
|
272
272
|
});
|
|
@@ -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, Info6, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service39, make16, layer16, node42, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service66
|
|
4
|
+
} from "./catalog-jvgf59s5.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./catalog-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./catalog-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
13
|
var exports_websearch = {};
|
|
14
14
|
__export(exports_websearch, {
|
|
15
15
|
ConfigWebSearchPlugin: () => exports_websearch,
|
|
16
|
-
Plugin: () =>
|
|
16
|
+
Plugin: () => Plugin18
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin18 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service66;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin12 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin18, exports_websearch };
|