@opencode/core 0.0.0-dev-19588 → 0.0.0-dev-19589
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +80 -80
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{repository-4etetb1j.js → generate-00rza3cb.js} +25 -25
- package/dist/chunks/{repository-haj0byqn.js → generate-02b4kzbq.js} +4 -4
- package/dist/chunks/{repository-v7eqyjmy.js → generate-08xvefmx.js} +5 -5
- package/dist/chunks/{repository-8028yanh.js → generate-0bes2rj4.js} +19 -19
- package/dist/chunks/{repository-9whdk0qy.js → generate-0n8ns8gx.js} +13 -13
- package/dist/chunks/{repository-0paq2nw3.js → generate-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-0q0f95c6.js → generate-0q0f95c6.js} +1 -1
- package/dist/chunks/{repository-74jx9dmy.js → generate-0zzb6e4a.js} +43 -43
- package/dist/chunks/{repository-d4shdzcf.js → generate-10sykk4e.js} +24 -24
- package/dist/chunks/{repository-a8ve50ng.js → generate-12v0qx6f.js} +3 -3
- package/dist/chunks/{repository-hx4p0gz5.js → generate-16c77kcq.js} +26 -26
- package/dist/chunks/{repository-1dazxqgg.js → generate-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-j4z2qnee.js → generate-1msf33w2.js} +11 -11
- package/dist/chunks/{repository-5a78h29x.js → generate-1qezbnxe.js} +10 -10
- package/dist/chunks/{repository-jydw0f72.js → generate-1wys6wms.js} +23 -23
- package/dist/chunks/{repository-zfdedwf3.js → generate-20h7pzdp.js} +36 -36
- package/dist/chunks/{repository-21r38tys.js → generate-21r38tys.js} +1 -1
- package/dist/chunks/{repository-2402vzrj.js → generate-2402vzrj.js} +1 -1
- package/dist/chunks/{repository-m2weea1a.js → generate-24j5m5j2.js} +43 -43
- package/dist/chunks/{repository-2a5m3afh.js → generate-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-y6f0p4jw.js → generate-2f04pwep.js} +3 -3
- package/dist/chunks/{repository-pa8pe2x7.js → generate-2hyh68ab.js} +8 -8
- package/dist/chunks/{repository-2k8khapm.js → generate-2k8khapm.js} +1 -1
- package/dist/chunks/{repository-mhfnevvs.js → generate-2kqh0ztw.js} +20 -20
- package/dist/chunks/{repository-te29s6sc.js → generate-2xfe5qwb.js} +12 -12
- package/dist/chunks/{repository-wz0ehf68.js → generate-32nvexxh.js} +45 -45
- package/dist/chunks/{repository-7qpszgx3.js → generate-37qnb1a0.js} +20 -20
- package/dist/chunks/{repository-cyhxv4yp.js → generate-3avmt772.js} +10 -10
- package/dist/chunks/{repository-swh40x6v.js → generate-3dd05w7p.js} +12 -12
- package/dist/chunks/{repository-3fc6dm20.js → generate-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-6a88x1v8.js → generate-3fqwgmhf.js} +13 -13
- package/dist/chunks/{repository-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-deanft1t.js → generate-3w8fp492.js} +32 -32
- package/dist/chunks/{repository-8fcwscdw.js → generate-3x5jgmm4.js} +28 -28
- package/dist/chunks/{repository-c9wtqnwj.js → generate-45tnwva7.js} +11 -11
- package/dist/chunks/{repository-swc0nz61.js → generate-4d8bqxce.js} +15 -15
- package/dist/chunks/{repository-6cbvf3zm.js → generate-4dpyenvm.js} +44 -44
- package/dist/chunks/{repository-sznyev98.js → generate-4drgpw32.js} +5 -5
- package/dist/chunks/{repository-h13rq2ha.js → generate-4nyc7g3g.js} +39 -39
- package/dist/chunks/generate-4v7qdvcn.js +18 -0
- package/dist/chunks/{repository-m12fw1ht.js → generate-50kfk4rp.js} +32 -32
- package/dist/chunks/{repository-56gdpj1q.js → generate-56gdpj1q.js} +2 -2
- package/dist/chunks/{repository-eztf1wzg.js → generate-56mz75yv.js} +1 -1
- package/dist/chunks/{repository-5daktx2q.js → generate-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-xqax0h2z.js → generate-5nayf2hz.js} +23 -23
- package/dist/chunks/{repository-5t3nmthw.js → generate-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-vpwejdc6.js → generate-5xyazqxs.js} +15 -15
- package/dist/chunks/{repository-p807tth1.js → generate-6275my5r.js} +16 -16
- package/dist/chunks/{repository-1e17p1v6.js → generate-62en8r1m.js} +17 -17
- package/dist/chunks/{repository-1bvekr7f.js → generate-63xctefh.js} +6 -6
- package/dist/chunks/{repository-669tq793.js → generate-669tq793.js} +1 -1
- package/dist/chunks/{repository-r33ff4dw.js → generate-6anwy9fs.js} +6 -6
- package/dist/chunks/{repository-2d802nvw.js → generate-6f9y8hff.js} +1 -1
- package/dist/chunks/{repository-6msgmcgs.js → generate-6msgmcgs.js} +1 -1
- package/dist/chunks/{repository-1jv4xg0p.js → generate-6q78kr02.js} +33 -33
- package/dist/chunks/{repository-j5xt7epv.js → generate-6qqtbadc.js} +12 -12
- package/dist/chunks/{repository-t9cms4w2.js → generate-6t8hmcr4.js} +11 -11
- package/dist/chunks/{repository-71q4at8m.js → generate-71q4at8m.js} +1 -1
- package/dist/chunks/{repository-5892jdtn.js → generate-73t188jy.js} +8 -8
- package/dist/chunks/{repository-jwttr378.js → generate-76awjvz1.js} +44 -44
- package/dist/chunks/{repository-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-4j90697n.js → generate-7g5fcwbq.js} +31 -31
- package/dist/chunks/{repository-s8zy8myc.js → generate-7gvwkz6m.js} +5 -5
- package/dist/chunks/{repository-e5xpd6yj.js → generate-7p797550.js} +6 -6
- package/dist/chunks/{repository-8c7y8dn0.js → generate-7pvxdgd3.js} +5 -5
- package/dist/chunks/{repository-6jdhkm56.js → generate-7r6j96x8.js} +17 -17
- package/dist/chunks/{repository-206yk4e9.js → generate-7wce90dj.js} +4 -4
- package/dist/chunks/{repository-473n3n7b.js → generate-7ybm1f9d.js} +4 -4
- package/dist/chunks/{repository-hqjg1cx1.js → generate-81swgkk7.js} +9 -9
- package/dist/chunks/{repository-w4axh9wz.js → generate-87deq66t.js} +6 -6
- package/dist/chunks/{repository-x20sjj3e.js → generate-87pnyk16.js} +44 -44
- package/dist/chunks/{repository-592a4gpn.js → generate-8ak0x4nb.js} +18 -18
- package/dist/chunks/{repository-8d7r5vzw.js → generate-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-wx95frst.js → generate-8n3jwev3.js} +13 -13
- package/dist/chunks/{repository-8p4f9s12.js → generate-8p4f9s12.js} +2 -2
- package/dist/chunks/{repository-peejr10p.js → generate-8vhgkqm3.js} +1 -1
- package/dist/chunks/{repository-dht5s97y.js → generate-91nn3y69.js} +9 -9
- package/dist/chunks/{repository-pye8sh6e.js → generate-938z9950.js} +8 -8
- package/dist/chunks/{repository-sm236kpq.js → generate-9ag79664.js} +11 -11
- package/dist/chunks/{repository-5n6hsxyx.js → generate-9crdg4t6.js} +25 -25
- package/dist/chunks/{repository-0h00gbcb.js → generate-9ffm2vsk.js} +20 -20
- package/dist/chunks/{repository-t3p48s2k.js → generate-9n2nj1bj.js} +11 -11
- package/dist/chunks/{repository-jxvsdwym.js → generate-9wewr7va.js} +13 -13
- package/dist/chunks/{repository-a1bz86dw.js → generate-a1bz86dw.js} +3 -3
- package/dist/chunks/{repository-t5wmzvpv.js → generate-a1z932ek.js} +14 -14
- package/dist/chunks/{repository-bmtr48j2.js → generate-a77201cw.js} +6 -6
- package/dist/chunks/{repository-1j9stpns.js → generate-a9q879s9.js} +29 -29
- package/dist/chunks/{repository-aaet6srn.js → generate-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-5dt15a5r.js → generate-am3ejsbr.js} +18 -18
- package/dist/chunks/{repository-fahke4hq.js → generate-aqfcjpct.js} +4 -4
- package/dist/chunks/{repository-6ht32ya1.js → generate-b0j5wwjs.js} +18 -18
- package/dist/chunks/{repository-pjrv1sn1.js → generate-b36s3smy.js} +1 -1
- package/dist/chunks/{repository-b6gygkdw.js → generate-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-f9apq077.js → generate-bd774qr3.js} +70 -70
- package/dist/chunks/{repository-0kc779ng.js → generate-bfaa1j0f.js} +12 -12
- package/dist/chunks/{repository-cq37gk0t.js → generate-bha4atvq.js} +4 -4
- package/dist/chunks/{repository-bbarxbyb.js → generate-bjkv1hdp.js} +1 -1
- package/dist/chunks/{repository-h6jr292a.js → generate-bjn91642.js} +4 -4
- package/dist/chunks/{repository-b6f6xskg.js → generate-bkmwhnwd.js} +7 -7
- package/dist/chunks/{repository-fgqgf88m.js → generate-bn8ndby6.js} +15 -15
- package/dist/chunks/{repository-e5nv3ght.js → generate-bndc73cn.js} +5 -5
- package/dist/chunks/{repository-hm7n6gxm.js → generate-bp49gp0s.js} +16 -16
- package/dist/chunks/{repository-52f3envg.js → generate-btvmhe1w.js} +20 -20
- package/dist/chunks/{repository-1vnsgk5t.js → generate-bw5dejcj.js} +35 -35
- package/dist/chunks/{repository-745ca1rp.js → generate-c4he4ws2.js} +3 -3
- package/dist/chunks/{repository-gd0jy5mm.js → generate-c7y10hhw.js} +11 -11
- package/dist/chunks/{repository-pgw46sns.js → generate-c7y5nz0h.js} +24 -24
- package/dist/chunks/{repository-ky16kd9n.js → generate-cd6ptskk.js} +12 -12
- package/dist/chunks/{repository-cfpkc3c9.js → generate-cfpkc3c9.js} +2 -2
- package/dist/chunks/{repository-6035qjw6.js → generate-cjq82wfa.js} +11 -11
- package/dist/chunks/{repository-aemscjqt.js → generate-cknds85b.js} +20 -20
- package/dist/chunks/{repository-pwf15mvc.js → generate-cwkg32z7.js} +4 -4
- package/dist/chunks/{repository-cg1ew3t4.js → generate-cyaz419g.js} +3 -3
- package/dist/chunks/{repository-drknmmyh.js → generate-d2t1ewjp.js} +9 -9
- package/dist/chunks/{repository-x1f4bnb6.js → generate-d4pcbfc2.js} +2 -2
- package/dist/chunks/{repository-7a1nds04.js → generate-d8jj1mc6.js} +8 -8
- package/dist/chunks/{repository-5qkxfyep.js → generate-dg5bcj4q.js} +6 -6
- package/dist/chunks/{repository-t0fxg8b9.js → generate-dj9sq318.js} +5 -5
- package/dist/chunks/{repository-zc2xj3qj.js → generate-dq61m4ak.js} +1 -1
- package/dist/chunks/{repository-kmbbtncp.js → generate-dvmmef1m.js} +23 -23
- package/dist/chunks/{repository-6yp6qgnr.js → generate-e1ffenq0.js} +27 -27
- package/dist/chunks/{repository-qjnxxf51.js → generate-e6hmchc5.js} +5 -5
- package/dist/chunks/{repository-p2t1ayvx.js → generate-e9bv773h.js} +46 -46
- package/dist/chunks/{repository-rhjbct0v.js → generate-eaj1djv9.js} +8 -8
- package/dist/chunks/{repository-pxbzt21m.js → generate-eex2agwy.js} +6 -6
- package/dist/chunks/{repository-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-wdhn35hf.js → generate-efy70ew4.js} +9 -9
- package/dist/chunks/{repository-16cax9zb.js → generate-ep6z9mt6.js} +8 -8
- package/dist/chunks/{repository-tx9qvpbt.js → generate-eraanh1f.js} +2 -2
- package/dist/chunks/{repository-0996nyz8.js → generate-esj243wz.js} +9 -9
- package/dist/chunks/{repository-etq0c3wd.js → generate-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-r8xr0va3.js → generate-f2n192rq.js} +4 -4
- package/dist/chunks/{repository-q9fqv6nm.js → generate-f5k1bfnh.js} +54 -54
- package/dist/chunks/{repository-f828m53h.js → generate-f828m53h.js} +2 -2
- package/dist/chunks/{repository-51hcmbxq.js → generate-f8epy2bg.js} +8 -8
- package/dist/chunks/{repository-kee0d0vv.js → generate-fbbsfk4x.js} +24 -24
- package/dist/chunks/{repository-gma6pakk.js → generate-fbv7bwdr.js} +12 -12
- package/dist/chunks/{repository-mfeb23pb.js → generate-fg4htv37.js} +23 -23
- package/dist/chunks/{repository-g8d3gcyj.js → generate-fm2qvscf.js} +7 -7
- package/dist/chunks/{repository-mwdf18ba.js → generate-fmc8few3.js} +37 -37
- package/dist/chunks/{repository-qp8nwhvn.js → generate-fntg193g.js} +57 -57
- package/dist/chunks/{repository-bgxa3gb8.js → generate-fq9xr2c7.js} +15 -15
- package/dist/chunks/{repository-fxbjtjnd.js → generate-fxbjtjnd.js} +1 -1
- package/dist/chunks/{repository-t0x5rdq8.js → generate-g3n6es57.js} +9 -9
- package/dist/chunks/{repository-2a25p4mv.js → generate-g5hnschj.js} +32 -32
- package/dist/chunks/{repository-gs36njwm.js → generate-g8cc633c.js} +45 -45
- package/dist/chunks/{repository-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-yn35vfdn.js → generate-ggtqa3p1.js} +17 -17
- package/dist/chunks/{repository-0qevpf4w.js → generate-gxyd59xe.js} +11 -11
- package/dist/chunks/{repository-5dwnc6b3.js → generate-gynya4d5.js} +24 -24
- package/dist/chunks/{repository-h03wrkyp.js → generate-h03wrkyp.js} +2 -2
- package/dist/chunks/{repository-8fsnk1kc.js → generate-h0rjc7hp.js} +10 -10
- package/dist/chunks/{repository-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-w26xsmnw.js → generate-h8bvkk4n.js} +23 -23
- package/dist/chunks/{repository-7207rjaj.js → generate-h8c9t6tg.js} +11 -11
- package/dist/chunks/{repository-9q22g6vd.js → generate-hatn0rtw.js} +4 -4
- package/dist/chunks/{repository-nb1yf551.js → generate-hb0vn0db.js} +28 -28
- package/dist/chunks/{repository-r628x9jn.js → generate-hf0cb6zs.js} +28 -28
- package/dist/chunks/{repository-bw0vgseb.js → generate-hr5bc81f.js} +8 -8
- package/dist/chunks/{repository-rqpczt31.js → generate-hsh8wwzp.js} +18 -18
- package/dist/chunks/{repository-nxamnhdf.js → generate-htd8zck5.js} +12 -12
- package/dist/chunks/generate-hxyh9mjp.js +247 -0
- package/dist/chunks/{repository-1kwjmtsc.js → generate-hy86y6ky.js} +35 -35
- package/dist/chunks/{repository-y5ff4yjy.js → generate-j1k42z14.js} +11 -11
- package/dist/chunks/{repository-j56e64zr.js → generate-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-5ct4k76c.js → generate-j8k25my2.js} +22 -22
- package/dist/chunks/{repository-cpn39njb.js → generate-jcww1zet.js} +16 -16
- package/dist/chunks/{repository-fmgfnr5t.js → generate-jz915pxj.js} +9 -9
- package/dist/chunks/{repository-cxkh8aa2.js → generate-k5qasypg.js} +32 -32
- package/dist/chunks/{repository-7s5hb2nx.js → generate-k6yvpnmg.js} +22 -22
- package/dist/chunks/{repository-p5q26rjs.js → generate-k94sgdxv.js} +17 -17
- package/dist/chunks/{repository-kg06axw8.js → generate-kg06axw8.js} +1 -1
- package/dist/chunks/{repository-1zfadm9n.js → generate-knzt4y7a.js} +13 -13
- package/dist/chunks/{repository-gay8ct22.js → generate-kpq4kzcn.js} +28 -28
- package/dist/chunks/{repository-83wzj7ta.js → generate-kx9vnwq1.js} +3 -3
- package/dist/chunks/{repository-2ce9th4e.js → generate-kz8df0x3.js} +173 -173
- package/dist/chunks/{repository-1cfwn2bt.js → generate-m2b5h28j.js} +7 -7
- package/dist/chunks/{repository-9zpvy9zc.js → generate-m37xfvad.js} +27 -27
- package/dist/chunks/{repository-8gxqpgph.js → generate-m70sbz6t.js} +4 -4
- package/dist/chunks/{repository-sr7k2y9v.js → generate-m97kazgs.js} +32 -32
- package/dist/chunks/{repository-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-g190xswt.js → generate-magykp64.js} +4 -4
- package/dist/chunks/{repository-94d58mvd.js → generate-mb8sdv6y.js} +32 -32
- package/dist/chunks/{repository-qkrnz1pz.js → generate-mgkvz3hx.js} +5 -5
- package/dist/chunks/{repository-4emwyx28.js → generate-mnxb74j9.js} +92 -92
- package/dist/chunks/{repository-1bbkgx8g.js → generate-mvfsc1pv.js} +3 -3
- package/dist/chunks/{repository-yyzm5aws.js → generate-mznknh9a.js} +10 -10
- package/dist/chunks/{repository-cfv81dax.js → generate-n66sm98c.js} +8 -8
- package/dist/chunks/{repository-nphm860s.js → generate-n84h1qjv.js} +18 -18
- package/dist/chunks/{repository-dfey964p.js → generate-n9a29wxm.js} +14 -14
- package/dist/chunks/{repository-q7cmwac7.js → generate-ngr3dbwj.js} +9 -9
- package/dist/chunks/{repository-7gnac2s0.js → generate-nhpb30s9.js} +62 -62
- package/dist/chunks/{repository-hjt4xg1x.js → generate-nhy5jxhy.js} +4 -4
- package/dist/chunks/{repository-car4fhb7.js → generate-nrcfyptd.js} +19 -19
- package/dist/chunks/{repository-ht8esz14.js → generate-nss8rsah.js} +5 -5
- package/dist/chunks/{repository-3s8rj46j.js → generate-p37avawd.js} +30 -30
- package/dist/chunks/{repository-gaf3dhda.js → generate-p4we2g2j.js} +8 -8
- package/dist/chunks/{repository-hgg8kawy.js → generate-p6bpmqk9.js} +11 -11
- package/dist/chunks/{repository-msq0jde0.js → generate-paegk39x.js} +4 -4
- package/dist/chunks/generate-pgc5v9v9.js +466 -0
- package/dist/chunks/{repository-1r601apj.js → generate-pj4yccrm.js} +21 -21
- package/dist/chunks/{repository-d50dhb3t.js → generate-pjr7ywh7.js} +9 -9
- package/dist/chunks/{repository-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-pknna89w.js → generate-pknna89w.js} +1 -1
- package/dist/chunks/{repository-6gfqk85e.js → generate-ps1wcy89.js} +28 -28
- package/dist/chunks/{repository-hjr4mjkc.js → generate-psckrajw.js} +27 -27
- package/dist/chunks/{repository-630f9zf9.js → generate-q178qezn.js} +8 -8
- package/dist/chunks/{repository-b1kv8p8w.js → generate-q6wdy971.js} +6 -6
- package/dist/chunks/{repository-bfntb90j.js → generate-qfcza57d.js} +9 -9
- package/dist/chunks/{repository-qsdy395h.js → generate-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-dn0vp9ws.js → generate-r51729b7.js} +6 -6
- package/dist/chunks/{repository-mtkf2msq.js → generate-r7w3sbwp.js} +46 -46
- package/dist/chunks/{repository-ms3qkpaz.js → generate-r9jh7s6f.js} +14 -14
- package/dist/chunks/{repository-r9mregkx.js → generate-r9mregkx.js} +2 -2
- package/dist/chunks/{repository-shg3amz7.js → generate-rcap56wv.js} +22 -22
- package/dist/chunks/{repository-a8rkycwa.js → generate-rfbpjv35.js} +16 -16
- package/dist/chunks/{repository-ewq2135v.js → generate-rkq934e2.js} +24 -24
- package/dist/chunks/{repository-n64yq744.js → generate-rmapgh8g.js} +30 -30
- package/dist/chunks/{repository-96987kcb.js → generate-s45b13rg.js} +98 -98
- package/dist/chunks/{repository-b3pcj4k8.js → generate-s539y83q.js} +34 -34
- package/dist/chunks/{repository-h27f8war.js → generate-s5p5f75z.js} +11 -11
- package/dist/chunks/{repository-b09hzw3k.js → generate-s8610hey.js} +2 -2
- package/dist/chunks/{repository-0dh2v9fk.js → generate-sdvhpjr9.js} +26 -26
- package/dist/chunks/{repository-j3ht12x2.js → generate-sjmtbwe8.js} +15 -15
- package/dist/chunks/{repository-rjt1dhz0.js → generate-snxqqawc.js} +11 -11
- package/dist/chunks/{repository-y5znnrem.js → generate-sqvy6n39.js} +29 -29
- package/dist/chunks/{repository-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-tcezcvh9.js → generate-tcezcvh9.js} +1 -1
- package/dist/chunks/{repository-tdstcens.js → generate-tdstcens.js} +1 -1
- package/dist/chunks/{repository-gv6a8nnw.js → generate-th5km1p3.js} +5 -5
- package/dist/chunks/{repository-tvtrv512.js → generate-tvtrv512.js} +1 -1
- package/dist/chunks/{repository-jmr68t6h.js → generate-tx792pd3.js} +5 -5
- package/dist/chunks/{repository-3pjcaesv.js → generate-v26dmcdy.js} +11 -11
- package/dist/chunks/{repository-dg6ptqm6.js → generate-v7e79jg1.js} +28 -28
- package/dist/chunks/{repository-kq7s33qp.js → generate-v7qghhq8.js} +8 -8
- package/dist/chunks/{repository-vapde0g8.js → generate-vch9w268.js} +3 -3
- package/dist/chunks/{repository-s2t8c8fj.js → generate-vej037r9.js} +4 -4
- package/dist/chunks/{repository-veqvce7d.js → generate-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-pxhak851.js → generate-vfnexndp.js} +6 -6
- package/dist/chunks/{repository-pmr4s4kc.js → generate-vncycja5.js} +4 -4
- package/dist/chunks/{repository-vzcthcp8.js → generate-vzcthcp8.js} +1 -1
- package/dist/chunks/{repository-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
- package/dist/chunks/generate-w4wj1qng.js +26 -0
- package/dist/chunks/{repository-dqgjsbg6.js → generate-w6904abx.js} +19 -19
- package/dist/chunks/{repository-wd87259q.js → generate-wd87259q.js} +1 -1
- package/dist/chunks/{repository-rg7n2a7e.js → generate-whrq6171.js} +47 -47
- package/dist/chunks/{repository-vtxfwj71.js → generate-wtnysg9m.js} +5 -5
- package/dist/chunks/{repository-hqxaqnsz.js → generate-x0e6qwje.js} +16 -16
- package/dist/chunks/{repository-ngs1gmwy.js → generate-x10gc1af.js} +6 -6
- package/dist/chunks/{repository-x1ezjp6w.js → generate-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-k2dherqe.js → generate-x569bdqa.js} +1 -1
- package/dist/chunks/{repository-2kesvzjb.js → generate-xa31kddj.js} +13 -13
- package/dist/chunks/{repository-5mp00kj1.js → generate-xcpgzh2v.js} +32 -32
- package/dist/chunks/{repository-m2d0j7c0.js → generate-xekzrwwc.js} +5 -5
- package/dist/chunks/{repository-g2c4pnq1.js → generate-xmwtbrer.js} +4 -4
- package/dist/chunks/{repository-qqyxjxre.js → generate-xrv51t12.js} +22 -22
- package/dist/chunks/{repository-g8mks886.js → generate-xx7xr3bh.js} +11 -11
- package/dist/chunks/{repository-m74ad31j.js → generate-y0h0ync2.js} +11 -11
- package/dist/chunks/{repository-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-fscyzxmk.js → generate-y33ajj4x.js} +9 -9
- package/dist/chunks/{repository-e8x92nmy.js → generate-y587sa4j.js} +7 -7
- package/dist/chunks/{repository-y71avatq.js → generate-y71avatq.js} +1 -1
- package/dist/chunks/{repository-b6hy6gkz.js → generate-y7wana11.js} +2 -2
- package/dist/chunks/{repository-vh329328.js → generate-ye75azwm.js} +17 -17
- package/dist/chunks/{repository-d4exv1s8.js → generate-yg4n1b3c.js} +31 -31
- package/dist/chunks/{repository-62rpeqaf.js → generate-yg8tzxp7.js} +10 -10
- package/dist/chunks/{repository-vjjm1fp8.js → generate-yqar7kj7.js} +11 -11
- package/dist/chunks/{repository-fr89gf7f.js → generate-yqfnpkff.js} +25 -25
- package/dist/chunks/{repository-yrhqyw5v.js → generate-yrhqyw5v.js} +1 -1
- package/dist/chunks/{repository-yrznvahk.js → generate-yrznvahk.js} +2 -2
- package/dist/chunks/{repository-3163b9jg.js → generate-yy0bersf.js} +22 -22
- package/dist/chunks/{repository-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-z63w68vq.js → generate-z63w68vq.js} +2 -2
- package/dist/chunks/{repository-jbdvhc0s.js → generate-z7m2s2v7.js} +20 -20
- package/dist/chunks/{repository-zeh9ct20.js → generate-zeh9ct20.js} +2 -2
- package/dist/chunks/{repository-y86j32r6.js → generate-zhnshq9c.js} +25 -25
- package/dist/chunks/{repository-9j2s9z86.js → generate-znk0r93t.js} +8 -8
- package/dist/chunks/{repository-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-86agcrtg.js → generate-zwf0y1k1.js} +29 -29
- package/dist/chunks/{repository-zxq2ej10.js → generate-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 +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +137 -137
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +120 -120
- package/dist/config/plugin/image.js +119 -119
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +121 -121
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +121 -121
- package/dist/config/plugin/shell.js +121 -121
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +140 -140
- package/dist/config/plugin/snapshot.js +119 -119
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +121 -121
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +122 -122
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -365
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +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 +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +92 -92
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +356 -356
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +137 -137
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +353 -353
- package/dist/location.js +88 -88
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +126 -126
- 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 +3 -3
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +8 -8
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- 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 +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +80 -80
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- 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 +223 -223
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -112
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +134 -134
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +7 -7
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +111 -111
- 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 +121 -121
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/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 +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/refresh.js +345 -345
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/repository-0c6pz7ms.js +0 -466
- package/dist/chunks/repository-9zxwq9ha.js +0 -26
- package/dist/chunks/repository-ejvrra8h.js +0 -247
- package/dist/chunks/repository-jqh9b0xq.js +0 -18
- /package/dist/chunks/{repository-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → generate-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → generate-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3asan66x.js → generate-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-3w5fmr99.js → generate-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → generate-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-550bvhaj.js → generate-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → generate-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → generate-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → generate-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → generate-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-922hggd3.js → generate-922hggd3.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-af5trqkr.js → generate-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-afrmfg78.js → generate-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → generate-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-dajrwvna.js → generate-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-dap0rakb.js → generate-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → generate-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → generate-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-ec1grn59.js → generate-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → generate-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → generate-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fxgpk5d8.js → generate-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → generate-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-gftt206x.js → generate-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-hjbc5kem.js → generate-hjbc5kem.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → generate-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-hrnqkpcd.js → generate-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → generate-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → generate-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-paphc93g.js → generate-paphc93g.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → generate-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qapv375x.js → generate-qapv375x.js} +0 -0
- /package/dist/chunks/{repository-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-sk3qaz4a.js → generate-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-twg0f83k.js → generate-twg0f83k.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → generate-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → generate-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-x61499pn.js → generate-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → generate-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8cydn3q.js → generate-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-y8f7s663.js → generate-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-ym463w8f.js → generate-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → generate-z9919s4g.js} +0 -0
|
@@ -1,63 +1,63 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./generate-j1k42z14.js";
|
|
1
5
|
import {
|
|
2
6
|
Service79,
|
|
3
7
|
node84
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service78,
|
|
7
|
-
node83
|
|
8
|
-
} from "./repository-cpn39njb.js";
|
|
8
|
+
} from "./generate-jcww1zet.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./generate-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./generate-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event16,
|
|
24
|
+
ID: () => ID9,
|
|
25
|
+
Info: () => Info24,
|
|
26
|
+
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service63,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node67
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID9 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key3 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event16 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info24 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID9,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service63 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
54
|
-
const db = (yield*
|
|
55
|
-
const bus = yield*
|
|
53
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
54
|
+
const db = (yield* Service80).db;
|
|
55
|
+
const bus = yield* Service79;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info24({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service63.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info24({
|
|
80
|
+
id: ID9.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event16.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event16.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event16.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node67 = makeGlobalNode({ service: Service63, layer, deps: [node85, node84] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID9, OAuth3, Key3, Value2, Event16, Info24, Service63, node67, exports_credential };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-y587sa4j.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-6f9y8hff.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./generate-e9bv773h.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service12
|
|
6
|
+
} from "./generate-v7e79jg1.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin16
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin16 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service53;
|
|
26
|
+
const compaction = yield* Service12;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin18 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin16, exports_compaction };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./generate-r9mregkx.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-kg06axw8.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service32,
|
|
17
|
+
node36
|
|
18
|
+
} from "./generate-d2t1ewjp.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service75,
|
|
21
|
+
node80
|
|
22
|
+
} from "./generate-n66sm98c.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./generate-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./generate-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
34
|
Content: () => Content3,
|
|
35
|
-
Error: () =>
|
|
35
|
+
Error: () => Error2,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service31,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node35
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as Content3, Error as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error2, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service31 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service75;
|
|
58
|
+
const image = yield* Service32;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
180
180
|
error: error.message
|
|
181
181
|
}), { discard: true })
|
|
182
182
|
});
|
|
183
|
-
return
|
|
183
|
+
return Service31.of({
|
|
184
184
|
transform: state.transform,
|
|
185
185
|
reload: state.reload,
|
|
186
186
|
snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
|
|
@@ -264,10 +264,10 @@ function namespaceError(name) {
|
|
|
264
264
|
return;
|
|
265
265
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
266
266
|
}
|
|
267
|
-
var
|
|
268
|
-
service:
|
|
267
|
+
var node35 = makeLocationNode({
|
|
268
|
+
service: Service31,
|
|
269
269
|
layer,
|
|
270
|
-
deps: [
|
|
270
|
+
deps: [node80, node36]
|
|
271
271
|
});
|
|
272
272
|
|
|
273
|
-
export { RegistrationError2,
|
|
273
|
+
export { RegistrationError2, Service31, node35, exports_tool, CallID2, Content3, Error2, FileContent3, TextContent2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-kg06axw8.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service52,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node56
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service52 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service52.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node56 = makeLocationNode({
|
|
143
|
+
service: Service52,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service52, node56, exports_tool_output2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-6msgmcgs.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-8p4f9s12.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./generate-3dd05w7p.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
canonical3
|
|
7
|
+
} from "./generate-th5km1p3.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make18
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make18 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service78;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -28,7 +28,7 @@ var make12 = Effect.gen(function* () {
|
|
|
28
28
|
if (!repository)
|
|
29
29
|
return yield* new DirectoryUnavailableError2({ directory: input.sourceDirectory });
|
|
30
30
|
yield* git.worktree.create({ repository, directory: input.directory, ref: input.branch });
|
|
31
|
-
return { directory: yield*
|
|
31
|
+
return { directory: yield* canonical3(fs, input.directory) };
|
|
32
32
|
}),
|
|
33
33
|
remove: Effect.fn("Worktree.Git.remove")(function* (input) {
|
|
34
34
|
const repository = yield* git.repo.discover(input.directory);
|
|
@@ -41,9 +41,9 @@ var make12 = Effect.gen(function* () {
|
|
|
41
41
|
if (!repository)
|
|
42
42
|
return yield* new DirectoryUnavailableError2({ directory });
|
|
43
43
|
const entries = yield* git.worktree.list(repository);
|
|
44
|
-
return yield* Effect.forEach(entries, (entry) =>
|
|
44
|
+
return yield* Effect.forEach(entries, (entry) => canonical3(fs, entry.directory).pipe(Effect.map((directory) => ({ directory, type: entry.kind === "main" ? "root" : "worktree" })), Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined))).pipe(Effect.map((items) => items.filter((item) => item !== undefined)));
|
|
45
45
|
})
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make18, exports_git2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service78,
|
|
6
|
+
node83
|
|
7
|
+
} from "./generate-3dd05w7p.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-2402vzrj.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service56,
|
|
16
|
+
node60
|
|
17
|
+
} from "./generate-0n8ns8gx.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./generate-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service46,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node49,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service46 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service78;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service56;
|
|
110
|
+
return Service46.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node49 = makeGlobalNode({
|
|
171
|
+
service: Service46,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node83, Global.node, node60]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service46, isError2, validateBranch2, node49, exports_repository_cache };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-938z9950.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./generate-htd8zck5.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-938z9950.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/amazon-bedrock.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -22,7 +22,7 @@ var AmazonBedrockPlugin2 = define({
|
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* ctx.integration.transform((editor) => {
|
|
24
24
|
editor.method.update({
|
|
25
|
-
integrationID:
|
|
25
|
+
integrationID: ID8.amazonBedrock,
|
|
26
26
|
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
27
27
|
});
|
|
28
28
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service32,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node36
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service32 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service32.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node36 = makeLocationNode({ service: Service32, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service32, node36, exports_image2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-y587sa4j.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|