@opencode/core 0.0.0-dev-19631 → 0.0.0-dev-19633
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 +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{location-ejjvavc8.js → file-08gdyecf.js} +11 -11
- package/dist/chunks/{location-cx6817x4.js → file-0akazjeg.js} +8 -8
- package/dist/chunks/{location-8vvc7kdn.js → file-0j37mfc2.js} +10 -10
- package/dist/chunks/{location-kbq8etb1.js → file-0mwr2md3.js} +10 -10
- package/dist/chunks/{location-0paq2nw3.js → file-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-0q0f95c6.js → file-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-p132gxzd.js → file-0w7q9ets.js} +13 -13
- package/dist/chunks/{location-g4a6era7.js → file-12s5y6q5.js} +21 -21
- package/dist/chunks/{location-1dazxqgg.js → file-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-r3gbt3jp.js → file-1hzb5dnf.js} +35 -35
- package/dist/chunks/{location-ke21jj3y.js → file-1jxs8g3d.js} +6 -6
- package/dist/chunks/{location-dhwrr4jy.js → file-20gnpxcd.js} +5 -5
- package/dist/chunks/{location-21r38tys.js → file-21r38tys.js} +1 -1
- package/dist/chunks/{location-t9hwq8k2.js → file-22qgyz1x.js} +46 -46
- package/dist/chunks/{location-89g9pdqq.js → file-22rr13z9.js} +5 -5
- package/dist/chunks/{location-paffydma.js → file-236n6ceq.js} +10 -10
- package/dist/chunks/{location-6h73sxmp.js → file-2402vzrj.js} +5 -5
- package/dist/chunks/{location-kjdar36t.js → file-24zw8df7.js} +5 -5
- package/dist/chunks/{location-q858cr49.js → file-25tbh0a9.js} +35 -35
- package/dist/chunks/{location-29x78va6.js → file-29x78va6.js} +2 -2
- package/dist/chunks/{location-2a5m3afh.js → file-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-ae7j6849.js → file-2bbg8wfw.js} +17 -17
- package/dist/chunks/{location-r3648v35.js → file-2hg7403c.js} +15 -15
- package/dist/chunks/{location-2k8khapm.js → file-2k8khapm.js} +1 -1
- package/dist/chunks/{location-15tm9q3z.js → file-2nf7qav7.js} +10 -10
- package/dist/chunks/{location-swqfa4q3.js → file-305s6fsh.js} +25 -25
- package/dist/chunks/{location-fee9ry81.js → file-3098jbw5.js} +17 -17
- package/dist/chunks/{location-7pa101rz.js → file-33jbksaf.js} +39 -39
- package/dist/chunks/{location-3hk432b6.js → file-36ne1e23.js} +41 -41
- package/dist/chunks/{location-f14adf9f.js → file-388ha1kr.js} +11 -11
- package/dist/chunks/{location-3fc6dm20.js → file-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-3hepkmqq.js → file-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-zs1be8nq.js → file-3qqhfkar.js} +11 -11
- package/dist/chunks/{location-3smtnn6g.js → file-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-3tvqynh2.js → file-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-37ea9c2d.js → file-4a0nv7mx.js} +8 -8
- package/dist/chunks/{location-hxr4ws4r.js → file-4aywyc6v.js} +8 -8
- package/dist/chunks/{location-sxzvkvgj.js → file-51f5btjf.js} +6 -6
- package/dist/chunks/{location-6t7vpv8v.js → file-564ycq4z.js} +28 -28
- package/dist/chunks/{location-56gdpj1q.js → file-56gdpj1q.js} +2 -2
- package/dist/chunks/{location-57ez7d0k.js → file-57ez7d0k.js} +2 -2
- package/dist/chunks/{location-y14psceh.js → file-5bw4mdqz.js} +11 -11
- package/dist/chunks/{location-z76rvear.js → file-5c70fjhz.js} +4 -4
- package/dist/chunks/{location-5daktx2q.js → file-5daktx2q.js} +1 -1
- package/dist/chunks/{location-kf11waxr.js → file-5fgw95me.js} +24 -24
- package/dist/chunks/{location-hph2erh9.js → file-5gvwq26r.js} +15 -15
- package/dist/chunks/{location-pvrjs4yz.js → file-5jjjy8t8.js} +11 -11
- package/dist/chunks/{location-rk7y43hf.js → file-5mmf2z69.js} +4 -4
- package/dist/chunks/{location-gs12886w.js → file-5mt8epf5.js} +28 -28
- package/dist/chunks/{location-amtcdxb0.js → file-5rtg8v4f.js} +4 -4
- package/dist/chunks/{location-5t3nmthw.js → file-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-zbb6f2kh.js → file-5x56vrz6.js} +40 -40
- package/dist/chunks/file-619r8v3y.js +18 -0
- package/dist/chunks/{location-tbnfv1pf.js → file-63rgkb2p.js} +10 -10
- package/dist/chunks/{location-669tq793.js → file-669tq793.js} +1 -1
- package/dist/chunks/{location-y16882bh.js → file-6d18bct7.js} +5 -5
- package/dist/chunks/{location-gzzsg5dy.js → file-6d916rqt.js} +4 -4
- package/dist/chunks/{location-njabt98v.js → file-6j5sab4m.js} +2 -2
- package/dist/chunks/{location-gdcqe04r.js → file-6kgc56n8.js} +6 -6
- package/dist/chunks/{location-6msgmcgs.js → file-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-qfw0430s.js → file-6p7btwhh.js} +29 -29
- package/dist/chunks/{location-7bmhse3q.js → file-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-n7dgzw6q.js → file-7ssa17s4.js} +11 -11
- package/dist/chunks/{location-fjs5xx1d.js → file-7w99qc9d.js} +2 -2
- package/dist/chunks/{location-8a1axwae.js → file-7x76c1sj.js} +3 -3
- package/dist/chunks/{location-0twsnrm2.js → file-7yk17z6w.js} +8 -8
- package/dist/chunks/{location-1nzs1dt7.js → file-7yqjxrmz.js} +6 -6
- package/dist/chunks/{location-bacq2ea4.js → file-83shcc6r.js} +31 -31
- package/dist/chunks/{location-8d7r5vzw.js → file-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-8p4f9s12.js → file-8p4f9s12.js} +2 -2
- package/dist/chunks/{location-v9xsj6pf.js → file-8qvyn53n.js} +14 -14
- package/dist/chunks/{location-1gqsytf7.js → file-8ts4f0wa.js} +18 -18
- package/dist/chunks/{location-2aqjzvxw.js → file-9053hp5s.js} +21 -21
- package/dist/chunks/{location-axt0rzpy.js → file-93h1d1zs.js} +6 -6
- package/dist/chunks/{location-pgeftpx4.js → file-99fd2cyh.js} +9 -9
- package/dist/chunks/{location-b8hzf7nw.js → file-9eg4jjgq.js} +3 -3
- package/dist/chunks/{location-4y72ap3v.js → file-9g3kc011.js} +5 -5
- package/dist/chunks/{location-b6enga28.js → file-9jbarykq.js} +12 -12
- package/dist/chunks/{location-h1t9w82k.js → file-9kb4ne1f.js} +44 -44
- package/dist/chunks/{location-wgre8czs.js → file-9qg8fg04.js} +16 -16
- package/dist/chunks/{location-a1bz86dw.js → file-a1bz86dw.js} +3 -3
- package/dist/chunks/{location-5xjbzt31.js → file-a4encqx6.js} +20 -20
- package/dist/chunks/{location-n9h856x1.js → file-a9geq6an.js} +20 -20
- package/dist/chunks/{location-h0cvahep.js → file-a9ws9tp6.js} +162 -162
- package/dist/chunks/{location-aaet6srn.js → file-aaet6srn.js} +2 -2
- package/dist/chunks/{location-074pt63z.js → file-aecg16pk.js} +13 -13
- package/dist/chunks/{location-50hhjvx3.js → file-ah70y75m.js} +4 -4
- package/dist/chunks/{location-k9b4hh1d.js → file-amxqwxb9.js} +1 -1
- package/dist/chunks/{location-js2bxmsr.js → file-apyhee51.js} +29 -29
- package/dist/chunks/{location-11cks9p9.js → file-asrky1px.js} +16 -16
- package/dist/chunks/{location-sra9araw.js → file-avm8jn6n.js} +5 -5
- package/dist/chunks/{location-3bg215ag.js → file-b5p7kkhd.js} +20 -20
- package/dist/chunks/{location-b6gygkdw.js → file-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-bajakh74.js → file-bajakh74.js} +4 -4
- package/dist/chunks/{location-3xa758da.js → file-bbjrdapj.js} +3 -3
- package/dist/chunks/{location-bf0ztrs3.js → file-bct739vz.js} +4 -4
- package/dist/chunks/{location-wgsyq2g2.js → file-bjmdedkt.js} +6 -6
- package/dist/chunks/{location-ta2sz16v.js → file-btpzzfa7.js} +18 -18
- package/dist/chunks/{location-y806bx01.js → file-bzryrp9c.js} +4 -4
- package/dist/chunks/{location-f4ywtdzx.js → file-c4xsvfhx.js} +2 -2
- package/dist/chunks/{location-wvng7zrg.js → file-c5dg5qah.js} +3 -3
- package/dist/chunks/{location-d5my93c7.js → file-c9qrq06s.js} +22 -22
- package/dist/chunks/{location-ep45g7a1.js → file-ccex73ek.js} +13 -13
- package/dist/chunks/{location-fjven42y.js → file-cd03251h.js} +24 -24
- package/dist/chunks/{location-cfpkc3c9.js → file-cfpkc3c9.js} +2 -2
- package/dist/chunks/{location-c4y595wv.js → file-cgng3gqm.js} +20 -20
- package/dist/chunks/{location-87deq66t.js → file-cjwramev.js} +4 -4
- package/dist/chunks/{location-1ajx6rf5.js → file-cmwkp3r5.js} +8 -8
- package/dist/chunks/{location-6cadhda4.js → file-cpkr92p5.js} +15 -15
- package/dist/chunks/{location-h61p2mjp.js → file-cqc56ez4.js} +3 -3
- package/dist/chunks/{location-bccb6npm.js → file-csf2jhsg.js} +4 -4
- package/dist/chunks/{location-cwa6csj7.js → file-cwa6csj7.js} +2 -2
- package/dist/chunks/{location-tm1qqpd4.js → file-cym3vtn1.js} +7 -7
- package/dist/chunks/{location-tx3fqe1r.js → file-d1z55vfk.js} +9 -9
- package/dist/chunks/{location-az4749a7.js → file-dbdrkm7d.js} +10 -10
- package/dist/chunks/{location-wseq2wer.js → file-dfv5nr8w.js} +26 -26
- package/dist/chunks/{location-5dx64r44.js → file-dhwr7h25.js} +8 -8
- package/dist/chunks/{location-my6q1kj9.js → file-dvbce6e0.js} +9 -9
- package/dist/chunks/{location-57e9z27j.js → file-dwq6ryhm.js} +8 -8
- package/dist/chunks/{location-kcfppy95.js → file-dxv1v3h4.js} +9 -9
- package/dist/chunks/{location-vahtdhsf.js → file-dya7y50p.js} +30 -30
- package/dist/chunks/{location-e5nv3ght.js → file-e5nv3ght.js} +2 -2
- package/dist/chunks/{location-jva4mgym.js → file-ec8389mk.js} +4 -4
- package/dist/chunks/{location-ef5x83kb.js → file-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-gg5tcp93.js → file-estyg5p5.js} +26 -26
- package/dist/chunks/{location-etq0c3wd.js → file-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-yd2t4f4q.js → file-ex563nqe.js} +18 -18
- package/dist/chunks/{location-1z8e5f7y.js → file-f0kq08np.js} +14 -14
- package/dist/chunks/{location-6r3wktb6.js → file-f52r61pg.js} +8 -8
- package/dist/chunks/{location-f828m53h.js → file-f828m53h.js} +2 -2
- package/dist/chunks/{location-66r9f6z1.js → file-fegk541e.js} +5 -5
- package/dist/chunks/{location-pjedbq3k.js → file-fjvydvzm.js} +4 -4
- package/dist/chunks/{location-5008mk82.js → file-fqk05stv.js} +12 -12
- package/dist/chunks/{location-f5qz3jzy.js → file-fv79fttw.js} +3 -3
- package/dist/chunks/{location-323n19w4.js → file-fvhy57rz.js} +22 -22
- package/dist/chunks/{location-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-a5dv1fsr.js → file-fz6z0z24.js} +27 -27
- package/dist/chunks/{location-mx09shfg.js → file-g7jvb7c9.js} +12 -12
- package/dist/chunks/{location-gd4qta3r.js → file-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-t87rd070.js → file-gfda2rw4.js} +10 -10
- package/dist/chunks/{location-tyxhm0p2.js → file-ggggb6p4.js} +6 -6
- package/dist/chunks/{location-156aka68.js → file-gp1zxvd9.js} +8 -8
- package/dist/chunks/{location-e1krdr4f.js → file-gssz6jt1.js} +11 -11
- package/dist/chunks/{location-gv6a8nnw.js → file-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-jv984b6y.js → file-gw8pa80z.js} +3 -3
- package/dist/chunks/{location-7jyz8t5r.js → file-gz7yhg24.js} +24 -24
- package/dist/chunks/{location-h03wrkyp.js → file-h03wrkyp.js} +2 -2
- package/dist/chunks/{location-5hbjas2j.js → file-h2tct5hm.js} +5 -5
- package/dist/chunks/{location-ebvkxj71.js → file-h3fpqjd9.js} +11 -11
- package/dist/chunks/file-h47he10w.js +4 -0
- package/dist/chunks/{location-ebe9bak5.js → file-h6r3nrb9.js} +4 -4
- package/dist/chunks/{location-h6vf3j39.js → file-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-a3ftg8j6.js → file-h71w788e.js} +9 -9
- package/dist/chunks/{location-7ctrm1dc.js → file-h8te88f7.js} +18 -18
- package/dist/chunks/{location-8n5wyrft.js → file-havg7an4.js} +16 -16
- package/dist/chunks/{location-2m31qgzj.js → file-hestywzr.js} +4 -4
- package/dist/chunks/{location-sxragm8h.js → file-hfm7y40f.js} +15 -15
- package/dist/chunks/{location-47gsdddb.js → file-hjt4xg1x.js} +7 -7
- package/dist/chunks/{location-9vhxz3jd.js → file-hrfc27x2.js} +52 -52
- package/dist/chunks/{location-9y4jm800.js → file-hwcf7hy3.js} +15 -15
- package/dist/chunks/{location-j56e64zr.js → file-j56e64zr.js} +1 -1
- package/dist/chunks/{location-a1254jaz.js → file-j9psxn98.js} +35 -35
- package/dist/chunks/{location-z3dbx3sy.js → file-jb9s1h96.js} +20 -20
- package/dist/chunks/{location-pv3p64vq.js → file-jp2aae4f.js} +15 -15
- package/dist/chunks/{location-p8nbz4mm.js → file-jpat3yz2.js} +12 -12
- package/dist/chunks/{location-djcy9x12.js → file-jrw4dqw4.js} +8 -8
- package/dist/chunks/{location-510m7gjw.js → file-jv01nqvq.js} +5 -5
- package/dist/chunks/{location-3kara66y.js → file-jyx8080g.js} +15 -15
- package/dist/chunks/{location-qr1gr1bz.js → file-k0b1k2q1.js} +1 -1
- package/dist/chunks/{location-4q2gvvft.js → file-ketnx304.js} +5 -5
- package/dist/chunks/{location-a1788f7w.js → file-kmfs3jc4.js} +24 -24
- package/dist/chunks/{location-qm2zhff3.js → file-kn86f5kn.js} +11 -11
- package/dist/chunks/{location-dqhwfw66.js → file-kz1rrfb1.js} +10 -10
- package/dist/chunks/{location-n5dqecfz.js → file-m10hdbyk.js} +16 -16
- package/dist/chunks/{location-dr2yesb8.js → file-m4bjxehm.js} +25 -25
- package/dist/chunks/{location-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-zaz698nn.js → file-mb48mf1e.js} +9 -9
- package/dist/chunks/{location-vpw3edpt.js → file-mck6zt6s.js} +48 -48
- package/dist/chunks/{location-b1frtypz.js → file-mdv2xdqa.js} +30 -30
- package/dist/chunks/{location-my8v8pz1.js → file-mfxefjzv.js} +79 -79
- package/dist/chunks/{location-yfccazc5.js → file-mpsnqy3c.js} +41 -41
- package/dist/chunks/{location-d079nfyg.js → file-myw9zgpz.js} +13 -13
- package/dist/chunks/{location-617xwdkc.js → file-mzhbp9vf.js} +27 -27
- package/dist/chunks/{location-32qx2cqk.js → file-n5t1yewa.js} +8 -8
- package/dist/chunks/{location-skzj3dtk.js → file-n8vja0c5.js} +43 -43
- package/dist/chunks/{location-jcxqzaz3.js → file-nez2y5es.js} +13 -13
- package/dist/chunks/{location-etn2manz.js → file-nh8yrv9m.js} +12 -12
- package/dist/chunks/{location-xekh0j5r.js → file-nnfbgt4m.js} +15 -15
- package/dist/chunks/{location-r8ste1ck.js → file-nng2ktcm.js} +2 -2
- package/dist/chunks/{location-ywkfy99j.js → file-nscznvay.js} +9 -9
- package/dist/chunks/{location-em5xkjbs.js → file-pfbhhdtd.js} +11 -11
- package/dist/chunks/{location-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-s245kgzv.js → file-pkhtpr4x.js} +11 -11
- package/dist/chunks/{location-pknna89w.js → file-pknna89w.js} +1 -1
- package/dist/chunks/{location-v98rq2xh.js → file-q09ks72y.js} +9 -9
- package/dist/chunks/{location-w27pm9me.js → file-q1c6gfm2.js} +19 -19
- package/dist/chunks/{location-fz01tdmw.js → file-q6p28vg6.js} +24 -24
- package/dist/chunks/{location-8vehx84x.js → file-qcx0cfj6.js} +13 -13
- package/dist/chunks/{location-6fnbs7de.js → file-qe5hvpyx.js} +11 -11
- package/dist/chunks/{location-g2dazt51.js → file-qfdya410.js} +7 -7
- package/dist/chunks/{location-2m8nb1h0.js → file-qfv7kwmk.js} +78 -78
- package/dist/chunks/{location-t96ncvbk.js → file-qp80rvch.js} +10 -10
- package/dist/chunks/{location-qsdy395h.js → file-qsdy395h.js} +1 -1
- package/dist/chunks/{location-gkyvheh7.js → file-qv7q8zdk.js} +8 -8
- package/dist/chunks/{location-01mcbsxa.js → file-qwrktqhq.js} +11 -11
- package/dist/chunks/{location-cenkhvam.js → file-qx85yg7y.js} +7 -7
- package/dist/chunks/{location-r5x6zcsm.js → file-r5x6zcsm.js} +1 -1
- package/dist/chunks/{location-r9mregkx.js → file-r9mregkx.js} +2 -2
- package/dist/chunks/{location-qa3qhgw8.js → file-ratrq7cm.js} +4 -4
- package/dist/chunks/{location-rdw6cm16.js → file-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-c6t8208k.js → file-reaqst9e.js} +16 -16
- package/dist/chunks/{location-fjwgd49k.js → file-rmwvaztm.js} +14 -14
- package/dist/chunks/{location-68wv0erp.js → file-rsdpy3wf.js} +47 -47
- package/dist/chunks/{location-xdt3s13f.js → file-rwr42tkk.js} +20 -20
- package/dist/chunks/{location-n0re1kpp.js → file-rza1nmht.js} +49 -49
- package/dist/chunks/{location-s4enseaf.js → file-s4enseaf.js} +2 -2
- package/dist/chunks/{location-na0vc07j.js → file-s95gtvp0.js} +33 -33
- package/dist/chunks/{location-2pavbj2f.js → file-sjf89ma5.js} +4 -4
- package/dist/chunks/{location-5bd7vy8t.js → file-sr1664q2.js} +34 -34
- package/dist/chunks/{location-8y6m80vy.js → file-srdy1k96.js} +5 -5
- package/dist/chunks/{location-t550f9t1.js → file-t550f9t1.js} +1 -1
- package/dist/chunks/{location-tazgh4e4.js → file-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-89znhe33.js → file-tcezcvh9.js} +4 -4
- package/dist/chunks/{location-tdstcens.js → file-tdstcens.js} +1 -1
- package/dist/chunks/{location-jp31vt9x.js → file-tgjsfk5w.js} +12 -12
- package/dist/chunks/{location-13yde72h.js → file-tj0w0ggk.js} +27 -27
- package/dist/chunks/{location-zzccx3d7.js → file-tk3067ym.js} +6 -6
- package/dist/chunks/file-tqgcjhcb.js +247 -0
- package/dist/chunks/{location-gjg6hemq.js → file-trfk6ytm.js} +25 -25
- package/dist/chunks/{location-ryt7pzqc.js → file-ts2x07a1.js} +1 -1
- package/dist/chunks/{location-tvtrv512.js → file-tvtrv512.js} +1 -1
- package/dist/chunks/{location-pd1sw0zy.js → file-v2jewarz.js} +22 -22
- package/dist/chunks/{location-r3n1f5t9.js → file-v39rhahm.js} +4 -4
- package/dist/chunks/{location-x2t5q3mx.js → file-v7kq0jqq.js} +13 -13
- package/dist/chunks/{location-6r7kkwrh.js → file-v7rddagg.js} +11 -11
- package/dist/chunks/{location-veqvce7d.js → file-veqvce7d.js} +1 -1
- package/dist/chunks/{location-7rfg73ak.js → file-vf8h0b9e.js} +4 -4
- package/dist/chunks/{location-avc8n21j.js → file-vr7gxye5.js} +13 -13
- package/dist/chunks/{location-2pnhn36q.js → file-vsp1fds9.js} +4 -4
- package/dist/chunks/{location-t11smtq6.js → file-vxkh401z.js} +13 -13
- package/dist/chunks/{location-vzcthcp8.js → file-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-p0cgaswm.js → file-w08fgf6n.js} +19 -19
- package/dist/chunks/{location-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-msv9qz60.js → file-w81nape4.js} +12 -12
- package/dist/chunks/{location-wd87259q.js → file-wd87259q.js} +1 -1
- package/dist/chunks/{location-ew828j3w.js → file-wsvc6zbt.js} +20 -20
- package/dist/chunks/{location-a7bb2qk3.js → file-x05tasj6.js} +22 -22
- package/dist/chunks/{location-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-szk5yzmn.js → file-xc31d4e1.js} +14 -14
- package/dist/chunks/{location-phtx5pzp.js → file-xc3e9g44.js} +30 -30
- package/dist/chunks/{location-02khppbe.js → file-xdx7acry.js} +9 -9
- package/dist/chunks/{location-btp88bps.js → file-xhdd11xv.js} +5 -5
- package/dist/chunks/{location-1fm22rx7.js → file-xv5q61nr.js} +47 -47
- package/dist/chunks/{location-0c5388rw.js → file-xz51q8fv.js} +300 -300
- package/dist/chunks/{location-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-2hr5nhwa.js → file-y1qqcj8h.js} +8 -8
- package/dist/chunks/{location-5d530p9y.js → file-y3pfkng4.js} +23 -23
- package/dist/chunks/{location-61nnwajg.js → file-y4gsk34f.js} +16 -16
- package/dist/chunks/{location-y71avatq.js → file-y71avatq.js} +1 -1
- package/dist/chunks/{location-g9kz57e4.js → file-yktx02z7.js} +21 -21
- package/dist/chunks/{location-yp2x3t23.js → file-yp2x3t23.js} +1 -1
- package/dist/chunks/{location-yrhqyw5v.js → file-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-qb97jg0r.js → file-ysqbqr9v.js} +9 -9
- package/dist/chunks/{location-avb4mchm.js → file-yv7s2srq.js} +15 -15
- package/dist/chunks/{location-2d47syzh.js → file-ywv8d6na.js} +3 -3
- package/dist/chunks/{location-z0bkrqjs.js → file-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-vjnvk4fc.js → file-z1mqgmhk.js} +27 -27
- package/dist/chunks/{location-y190ygrp.js → file-z38cfxs8.js} +29 -29
- package/dist/chunks/{location-ag9w8cw1.js → file-z3pw5915.js} +5 -5
- package/dist/chunks/{location-eev3q2gn.js → file-z5b2tyzk.js} +10 -10
- package/dist/chunks/{location-q0sr5rc9.js → file-zakcdkb2.js} +11 -11
- package/dist/chunks/{location-06x8he3q.js → file-zcrspsvn.js} +4 -4
- package/dist/chunks/{location-zeh9ct20.js → file-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-b4ae2b13.js → file-zfyzxy80.js} +20 -20
- package/dist/chunks/{location-5krmfrm4.js → file-znfm1bq2.js} +3 -3
- package/dist/chunks/{location-zr2ceqn5.js → file-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-zxq2ej10.js → file-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +158 -158
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +65 -65
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- 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 +90 -90
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- 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 +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +103 -103
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +86 -86
- package/dist/generate.js +100 -100
- package/dist/git.js +6 -6
- 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 +90 -90
- 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 +353 -353
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +350 -350
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +124 -124
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- 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 +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 +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +325 -325
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- 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 +138 -138
- 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/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +4 -4
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +98 -98
- 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 +97 -97
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +148 -148
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +115 -115
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- 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 +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +122 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- 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 +5 -5
- package/dist/session/title.js +148 -148
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +90 -90
- 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 +123 -123
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +103 -103
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- 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 +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- 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/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +75 -75
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/location-0mesazry.js +0 -4
- package/dist/chunks/location-64ezs4vy.js +0 -247
- package/dist/chunks/location-by5v678g.js +0 -18
- /package/dist/chunks/{location-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → file-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → file-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → file-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → file-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → file-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → file-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → file-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → file-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → file-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3w5fmr99.js → file-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → file-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → file-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → file-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → file-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → file-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → file-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → file-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → file-6prwharc.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → file-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → file-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → file-822emrt2.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → file-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → file-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-922hggd3.js → file-922hggd3.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → file-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → file-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → file-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → file-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → file-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → file-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → file-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → file-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → file-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → file-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → file-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e3qxr5gk.js → file-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → file-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → file-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → file-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → file-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → file-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → file-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → file-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → file-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → file-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → file-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → file-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → file-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hjbc5kem.js → file-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → file-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → file-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → file-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → file-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → file-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → file-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → file-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → file-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → file-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → file-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → file-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → file-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → file-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → file-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → file-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → file-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-twg0f83k.js → file-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → file-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → file-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → file-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → file-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → file-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → file-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → file-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8cydn3q.js → file-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → file-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → file-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → file-z9919s4g.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-v39rhahm.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event20,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID16,
|
|
20
|
+
Info: () => Info31,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError10,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service77,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer25,
|
|
29
|
+
node: () => node81,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event20 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID16 = Form.ID;
|
|
39
|
+
var Info31 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID16
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError9 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID16
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID16
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID16,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,17 +79,17 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service77 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer25 = Layer.effect(Service77, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service81;
|
|
86
86
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
87
87
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
88
88
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
89
89
|
});
|
|
90
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
90
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
|
|
91
91
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
92
|
-
const id = input.id ??
|
|
92
|
+
const id = input.id ?? ID16.create();
|
|
93
93
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
94
94
|
if (Option.isSome(existing))
|
|
95
95
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -153,9 +153,9 @@ var layer23 = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
153
153
|
yield* Deferred.succeed(entry.deferred, next);
|
|
154
154
|
})));
|
|
155
155
|
yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
|
|
156
|
-
return
|
|
156
|
+
return Service77.of({ create, ask, get, list, state, reply, cancel });
|
|
157
157
|
}));
|
|
158
|
-
var
|
|
158
|
+
var node81 = makeLocationNode({ service: Service77, layer: layer25, deps: [node85] });
|
|
159
159
|
function validateAnswer2(form, answer) {
|
|
160
160
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
161
161
|
for (const key of Object.keys(answer)) {
|
|
@@ -307,4 +307,4 @@ function isDateTime(value) {
|
|
|
307
307
|
return !Number.isNaN(new Date(value).getTime());
|
|
308
308
|
}
|
|
309
309
|
|
|
310
|
-
export {
|
|
310
|
+
export { ID16, Info31, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service77, layer25, node81, validateAnswer2, validateFields2, exports_form, Event20 };
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Service69,
|
|
8
8
|
node72
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-m10hdbyk.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service58,
|
|
24
|
+
node: () => node60
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service58 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service69;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service58.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node60 = makeLocationNode({ service: Service58, layer, deps: [node72, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export { Error4, InvalidPatternError2,
|
|
180
|
+
export { Error4, InvalidPatternError2, Service58, node60, exports_ripgrep };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service65
|
|
3
|
+
} from "./file-36ne1e23.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service54
|
|
6
|
+
} from "./file-xdx7acry.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin22
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin22 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service65;
|
|
26
|
+
const image = yield* Service54;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin9 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin22, exports_image };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service65
|
|
4
|
+
} from "./file-36ne1e23.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin45,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin45 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service65;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -93,4 +93,4 @@ var Plugin40 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin45, exports_warming };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID10,
|
|
3
|
-
|
|
3
|
+
Info24,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-7w99qc9d.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service82,
|
|
11
11
|
node86
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-c5dg5qah.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
15
|
Service81,
|
|
16
16
|
node85
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-v39rhahm.js";
|
|
18
18
|
import {
|
|
19
19
|
Service79,
|
|
20
20
|
node83
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-gp1zxvd9.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service44,
|
|
24
|
+
node46
|
|
25
|
+
} from "./file-51f5btjf.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./file-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./file-a1bz86dw.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node44
|
|
34
|
+
} from "./file-8ts4f0wa.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./file-bajakh74.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./file-h3fpqjd9.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./file-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node33
|
|
47
|
+
} from "./file-reaqst9e.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node63
|
|
51
|
+
} from "./file-5jjjy8t8.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError6,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
ForkEmptyError2,
|
|
56
56
|
MessageDecodeError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./file-bjmdedkt.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
66
|
+
ListInput4,
|
|
67
|
+
Service47,
|
|
68
|
+
node49
|
|
69
|
+
} from "./file-f0kq08np.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service49,
|
|
72
|
+
node51
|
|
73
|
+
} from "./file-2hg7403c.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service40,
|
|
76
|
+
node43
|
|
77
|
+
} from "./file-1hzb5dnf.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./file-5t3nmthw.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
82
|
+
Service29,
|
|
83
83
|
node32
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./file-dbdrkm7d.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./file-tgjsfk5w.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./file-7yk17z6w.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service51,
|
|
93
|
+
node53
|
|
94
|
+
} from "./file-f52r61pg.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service24,
|
|
100
|
+
node27
|
|
101
|
+
} from "./file-rza1nmht.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service63,
|
|
104
|
+
node66
|
|
105
|
+
} from "./file-y1qqcj8h.js";
|
|
106
106
|
import {
|
|
107
107
|
make13
|
|
108
|
-
} from "./
|
|
108
|
+
} from "./file-xc3e9g44.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./file-388ha1kr.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./file-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -125,20 +125,20 @@ __export(exports_session, {
|
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
126
|
ID: () => ID10,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info24,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
130
|
ListInput: () => ListInput2,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
|
-
NotFoundError: () =>
|
|
133
|
+
NotFoundError: () => NotFoundError6,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service23,
|
|
136
136
|
Session: () => exports_session,
|
|
137
137
|
SessionSchema: () => SessionSchema2,
|
|
138
138
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
139
139
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
140
140
|
TurnRangeError: () => TurnRangeError2,
|
|
141
|
-
node: () =>
|
|
141
|
+
node: () => node26
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -148,27 +148,27 @@ import { Model } from "@opencode/schema/model";
|
|
|
148
148
|
import path from "path";
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
|
-
var ListInput2 =
|
|
152
|
-
class
|
|
151
|
+
var ListInput2 = ListInput4;
|
|
152
|
+
class Service23 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
156
|
const database = yield* Service82;
|
|
157
157
|
const db = database.db;
|
|
158
158
|
const bus = yield* Service81;
|
|
159
159
|
const projects = yield* Service79;
|
|
160
|
-
const execution = yield*
|
|
160
|
+
const execution = yield* Service40;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
162
|
+
const transport = yield* Service29;
|
|
163
|
+
const store = yield* Service47;
|
|
164
|
+
const instances = yield* Service44;
|
|
165
|
+
const moves = yield* Service24;
|
|
166
|
+
const jobs = yield* Service49;
|
|
167
|
+
const environments = yield* Service63;
|
|
168
|
+
const locations = yield* Service51;
|
|
169
169
|
const sessions = yield* make13();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service23.of({
|
|
172
172
|
create: Effect.fn("Session.create")(function* (input) {
|
|
173
173
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
174
174
|
const recorded = yield* store.get(sessionID);
|
|
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
176
176
|
return recorded;
|
|
177
177
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
178
178
|
if (input.parentID && parent === undefined)
|
|
179
|
-
return yield* new
|
|
179
|
+
return yield* new NotFoundError6({ sessionID: input.parentID });
|
|
180
180
|
const location = parent?.location ?? input.location;
|
|
181
181
|
if (location === undefined)
|
|
182
182
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service44, instances), Effect.provideService(Service82, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service44, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -326,27 +326,27 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
326
326
|
});
|
|
327
327
|
return result;
|
|
328
328
|
}));
|
|
329
|
-
var
|
|
330
|
-
service:
|
|
329
|
+
var node26 = Node.makeGlobalNode({
|
|
330
|
+
service: Service23,
|
|
331
331
|
layer,
|
|
332
332
|
deps: [
|
|
333
|
-
node46,
|
|
334
333
|
node51,
|
|
334
|
+
node66,
|
|
335
335
|
node86,
|
|
336
336
|
node85,
|
|
337
337
|
node83,
|
|
338
|
-
|
|
338
|
+
node43,
|
|
339
339
|
node32,
|
|
340
340
|
llmClient2,
|
|
341
|
-
|
|
341
|
+
node49,
|
|
342
|
+
node46,
|
|
342
343
|
node44,
|
|
343
|
-
node42,
|
|
344
|
-
node26,
|
|
345
344
|
node27,
|
|
346
|
-
|
|
345
|
+
node33,
|
|
346
|
+
node53,
|
|
347
347
|
FSUtil.node,
|
|
348
|
-
|
|
348
|
+
node63
|
|
349
349
|
]
|
|
350
350
|
});
|
|
351
351
|
|
|
352
|
-
export { ListAnchor2, ListInput2,
|
|
352
|
+
export { ListAnchor2, ListInput2, Service23, node26, exports_session };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./file-6p7btwhh.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service65
|
|
6
|
+
} from "./file-36ne1e23.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-tk3067ym.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make9(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service65;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make8(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
providers.models.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID12.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make9();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make9, VLLMPlugin2 };
|