@opencode/core 0.0.0-dev-19855 → 0.0.0-dev-19858
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 +72 -72
- package/dist/chunks/{generate-xq0xrt9q.js → vcs-01m6t6a9.js} +25 -25
- package/dist/chunks/{generate-3me7xvq2.js → vcs-05ema446.js} +16 -16
- package/dist/chunks/{generate-nxma9dwh.js → vcs-05ne224h.js} +36 -36
- package/dist/chunks/{generate-5yrb1hyq.js → vcs-06zrjgay.js} +11 -11
- package/dist/chunks/{generate-af04s6ss.js → vcs-0f9afca0.js} +5 -5
- package/dist/chunks/{generate-0paq2nw3.js → vcs-0paq2nw3.js} +1 -1
- package/dist/chunks/{generate-0q0f95c6.js → vcs-0q0f95c6.js} +1 -1
- package/dist/chunks/{generate-ad30yrp4.js → vcs-0w296mef.js} +19 -19
- package/dist/chunks/{generate-dj5jbh3k.js → vcs-113z30mj.js} +8 -8
- package/dist/chunks/{generate-4wn4k6h8.js → vcs-12v7f4hg.js} +41 -41
- package/dist/chunks/{generate-x1xcpfha.js → vcs-13q063b0.js} +17 -17
- package/dist/chunks/{generate-6psvz8ty.js → vcs-173jzaqb.js} +42 -42
- package/dist/chunks/{generate-xwwz9aqf.js → vcs-18e56dsp.js} +4 -4
- package/dist/chunks/{generate-e42h5ahx.js → vcs-1axrxgdc.js} +17 -17
- package/dist/chunks/{generate-mn09qs46.js → vcs-1c63232t.js} +5 -5
- package/dist/chunks/{generate-1dazxqgg.js → vcs-1dazxqgg.js} +2 -2
- package/dist/chunks/{generate-xynf7807.js → vcs-1vx51w1w.js} +18 -18
- package/dist/chunks/{generate-21r38tys.js → vcs-21r38tys.js} +1 -1
- package/dist/chunks/{generate-6h73sxmp.js → vcs-2402vzrj.js} +5 -5
- package/dist/chunks/{generate-2a5m3afh.js → vcs-2a5m3afh.js} +1 -1
- package/dist/chunks/{generate-tq5tpcth.js → vcs-2cdg16k9.js} +3 -3
- package/dist/chunks/{generate-nqztsxrq.js → vcs-2djq4902.js} +14 -14
- package/dist/chunks/{generate-fjfjkvsk.js → vcs-2f5wythd.js} +10 -10
- package/dist/chunks/{generate-5y5048hk.js → vcs-2hkvphhc.js} +5 -5
- package/dist/chunks/{generate-tpky79q6.js → vcs-2m1f7cy6.js} +15 -15
- package/dist/chunks/{generate-b79sd35x.js → vcs-2t103h6b.js} +11 -11
- package/dist/chunks/{generate-ece0bb7d.js → vcs-3664dkb2.js} +43 -43
- package/dist/chunks/{generate-n8phb4a1.js → vcs-379sbzbq.js} +24 -24
- package/dist/chunks/{generate-s26hbv8p.js → vcs-3ewed21c.js} +4 -4
- package/dist/chunks/{generate-3fc6dm20.js → vcs-3fc6dm20.js} +1 -1
- package/dist/chunks/{generate-zcfwmhvf.js → vcs-3h1vqtm7.js} +50 -50
- package/dist/chunks/{generate-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
- package/dist/chunks/{generate-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
- package/dist/chunks/{generate-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
- package/dist/chunks/{generate-ga4egkhq.js → vcs-40j9bccr.js} +5 -5
- package/dist/chunks/{generate-wrgx4w2j.js → vcs-45xbaj3v.js} +5 -5
- package/dist/chunks/{generate-35z3x0k8.js → vcs-4nenax5m.js} +6 -6
- package/dist/chunks/{generate-z2xmq33e.js → vcs-4qacd19w.js} +5 -5
- package/dist/chunks/{generate-65k90k27.js → vcs-4qqvttyb.js} +9 -9
- package/dist/chunks/{generate-nx0wqpae.js → vcs-4rrs1rky.js} +13 -13
- package/dist/chunks/{generate-wqqvw1c8.js → vcs-4we6rgn1.js} +5 -5
- package/dist/chunks/{generate-8bv2nfrp.js → vcs-4xvd153e.js} +7 -7
- package/dist/chunks/vcs-50hbbtx8.js +26 -0
- package/dist/chunks/{generate-33w4ejhs.js → vcs-56gdpj1q.js} +6 -6
- package/dist/chunks/{generate-57ez7d0k.js → vcs-57ez7d0k.js} +2 -2
- package/dist/chunks/{generate-1mdt3y9r.js → vcs-59gxncmk.js} +22 -22
- package/dist/chunks/{generate-w1k39n5e.js → vcs-5c0f1prt.js} +4 -4
- package/dist/chunks/{generate-5daktx2q.js → vcs-5daktx2q.js} +1 -1
- package/dist/chunks/{generate-mwxyq70t.js → vcs-5gh21e1w.js} +2 -2
- package/dist/chunks/{generate-yq2cczkq.js → vcs-5qkxfyep.js} +9 -9
- package/dist/chunks/{generate-5t3nmthw.js → vcs-5t3nmthw.js} +2 -2
- package/dist/chunks/{generate-6d9py4x2.js → vcs-5wdaxb8f.js} +21 -21
- package/dist/chunks/{generate-aktk9sm4.js → vcs-5xhftgj4.js} +26 -26
- package/dist/chunks/vcs-619r8v3y.js +18 -0
- package/dist/chunks/{generate-jv04y93d.js → vcs-6226hgya.js} +39 -39
- package/dist/chunks/{generate-669tq793.js → vcs-669tq793.js} +1 -1
- package/dist/chunks/{generate-19qb098d.js → vcs-68hsc098.js} +20 -20
- package/dist/chunks/{generate-3wwt8ag2.js → vcs-698nh4g1.js} +15 -15
- package/dist/chunks/{generate-zfw9zvab.js → vcs-6kjxsdk9.js} +18 -18
- package/dist/chunks/{generate-avnnb6ne.js → vcs-6knq39fp.js} +6 -6
- package/dist/chunks/{generate-6msgmcgs.js → vcs-6msgmcgs.js} +1 -1
- package/dist/chunks/{generate-j7dy6vn2.js → vcs-6r81f25e.js} +16 -16
- package/dist/chunks/{generate-1yhb7mxs.js → vcs-71rwez9w.js} +9 -9
- package/dist/chunks/{generate-3wyrrtvb.js → vcs-72n6j39c.js} +17 -17
- package/dist/chunks/{generate-y906m0ew.js → vcs-762r0j46.js} +5 -5
- package/dist/chunks/{generate-tsxtcmfm.js → vcs-78ht92vq.js} +13 -13
- package/dist/chunks/{generate-0zrznfxv.js → vcs-7aqqp7sg.js} +17 -17
- package/dist/chunks/{generate-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
- package/dist/chunks/{generate-6vbjb61c.js → vcs-7k1t81qn.js} +30 -30
- package/dist/chunks/{generate-c1np9tvh.js → vcs-7m2tq7cp.js} +12 -12
- package/dist/chunks/{generate-czy49zar.js → vcs-7md8yzhz.js} +22 -22
- package/dist/chunks/{generate-scf1vc11.js → vcs-7yevm10q.js} +16 -16
- package/dist/chunks/{generate-xebs09ex.js → vcs-8662gdp4.js} +25 -25
- package/dist/chunks/{generate-b06f0n62.js → vcs-87ghn5kx.js} +5 -5
- package/dist/chunks/{generate-vvaxxqy4.js → vcs-8ctj0vet.js} +32 -32
- package/dist/chunks/{generate-8d7r5vzw.js → vcs-8d7r5vzw.js} +1 -1
- package/dist/chunks/{generate-9kfkee5r.js → vcs-8jf52wdv.js} +8 -8
- package/dist/chunks/{generate-sm4hqy5c.js → vcs-8kwpxbq8.js} +11 -11
- package/dist/chunks/{generate-dj2t23y0.js → vcs-8p4f9s12.js} +2 -2
- package/dist/chunks/{generate-eznat62v.js → vcs-8ta8hfpz.js} +15 -15
- package/dist/chunks/{generate-6h96z4ze.js → vcs-8vc35css.js} +20 -20
- package/dist/chunks/{generate-s6m25ze6.js → vcs-8xh6cseh.js} +16 -16
- package/dist/chunks/{generate-vkaf6dfs.js → vcs-98n6zb1h.js} +23 -23
- package/dist/chunks/{generate-qvb3nf84.js → vcs-9c3np669.js} +8 -8
- package/dist/chunks/{generate-q3hz49bq.js → vcs-9cze0bjq.js} +11 -11
- package/dist/chunks/{generate-k75ej8z1.js → vcs-9pqkkp2e.js} +11 -11
- package/dist/chunks/{generate-3w9sxyad.js → vcs-9waxhxyt.js} +58 -58
- package/dist/chunks/{generate-5c4hm403.js → vcs-a1bz86dw.js} +3 -3
- package/dist/chunks/{generate-xp9wpaq4.js → vcs-a20pgr88.js} +24 -24
- package/dist/chunks/{generate-wk5z6jzv.js → vcs-a3ftg8j6.js} +9 -9
- package/dist/chunks/{generate-jca4demv.js → vcs-a3r4dcrj.js} +2 -2
- package/dist/chunks/{generate-mjymc32g.js → vcs-a8bn8zg0.js} +4 -4
- package/dist/chunks/{generate-wssz113n.js → vcs-a8zr1srk.js} +8 -8
- package/dist/chunks/{generate-aaet6srn.js → vcs-aaet6srn.js} +2 -2
- package/dist/chunks/{generate-mfs7rf5z.js → vcs-amnjnv1s.js} +42 -42
- package/dist/chunks/{generate-q8c34ndx.js → vcs-anq7mq7z.js} +12 -12
- package/dist/chunks/{generate-23jpcpdv.js → vcs-apevh53r.js} +20 -20
- package/dist/chunks/{generate-b6gygkdw.js → vcs-b6gygkdw.js} +2 -2
- package/dist/chunks/{generate-5k11540m.js → vcs-bbp8a8gj.js} +24 -24
- package/dist/chunks/{generate-aegj8t8z.js → vcs-bfwdkgar.js} +16 -16
- package/dist/chunks/{generate-ym7n73vr.js → vcs-bgsd6ce6.js} +309 -309
- package/dist/chunks/{generate-rv45v1t9.js → vcs-bp9gkt27.js} +11 -11
- package/dist/chunks/{generate-9p8ghzvs.js → vcs-bq6j9g1b.js} +6 -6
- package/dist/chunks/{generate-2sejkfem.js → vcs-c765mh8b.js} +9 -9
- package/dist/chunks/{generate-a7y6e3a6.js → vcs-cfgw6j6z.js} +11 -11
- package/dist/chunks/{generate-m0jqrx5p.js → vcs-cfpkc3c9.js} +2 -2
- package/dist/chunks/{generate-23pqda6t.js → vcs-cpy6gm2a.js} +6 -6
- package/dist/chunks/{generate-2tfmgkzg.js → vcs-cq37gk0t.js} +4 -4
- package/dist/chunks/{generate-5jjne4g5.js → vcs-cvv1tyh9.js} +7 -7
- package/dist/chunks/{generate-8fsfkhfw.js → vcs-d7r05era.js} +3 -3
- package/dist/chunks/{generate-2nv59kjc.js → vcs-d7r387ef.js} +6 -6
- package/dist/chunks/{generate-s8n8qvwn.js → vcs-dc8pdabb.js} +10 -10
- package/dist/chunks/{generate-v2sqepxp.js → vcs-deajjef3.js} +23 -23
- package/dist/chunks/{generate-ar4smkw2.js → vcs-dmxkarkb.js} +27 -27
- package/dist/chunks/{generate-2rv3v382.js → vcs-dn92n4b8.js} +26 -26
- package/dist/chunks/{generate-ehc7wmzq.js → vcs-ds81ph87.js} +12 -12
- package/dist/chunks/{generate-s0e4x3j4.js → vcs-dv3zezwm.js} +22 -22
- package/dist/chunks/{generate-as9yt2q1.js → vcs-e34xd838.js} +5 -5
- package/dist/chunks/{generate-dgmwn8ez.js → vcs-e7710hd6.js} +8 -8
- package/dist/chunks/{generate-kxbt8c2v.js → vcs-ebym5fch.js} +11 -11
- package/dist/chunks/{generate-ef5x83kb.js → vcs-ef5x83kb.js} +1 -1
- package/dist/chunks/{generate-6km3vgt3.js → vcs-ehpg0rej.js} +4 -4
- package/dist/chunks/{generate-tgvpjzzv.js → vcs-envqdpax.js} +13 -13
- package/dist/chunks/{generate-erw5rpbs.js → vcs-erw5rpbs.js} +2 -2
- package/dist/chunks/{generate-wq5k2qjs.js → vcs-erz15eev.js} +9 -9
- package/dist/chunks/{generate-749bja2b.js → vcs-etazx9r2.js} +20 -20
- package/dist/chunks/{generate-etq0c3wd.js → vcs-etq0c3wd.js} +1 -1
- package/dist/chunks/{generate-mepve0dy.js → vcs-ew7chs6w.js} +28 -28
- package/dist/chunks/{generate-hdnk95c8.js → vcs-f828m53h.js} +2 -2
- package/dist/chunks/{generate-n3mfym48.js → vcs-fam871qv.js} +10 -10
- package/dist/chunks/{generate-0gq147r8.js → vcs-fb101560.js} +17 -17
- package/dist/chunks/{generate-t2fc4mz5.js → vcs-fdv30zvt.js} +7 -7
- package/dist/chunks/{generate-fxbjtjnd.js → vcs-fxbjtjnd.js} +1 -1
- package/dist/chunks/{generate-428xen5b.js → vcs-fzspm7j1.js} +6 -6
- package/dist/chunks/{generate-thjxzeng.js → vcs-g1sxm558.js} +8 -8
- package/dist/chunks/{generate-evjjx1vq.js → vcs-g9zwg0je.js} +8 -8
- package/dist/chunks/{generate-qr33bsk7.js → vcs-gar06bvm.js} +13 -13
- package/dist/chunks/{generate-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
- package/dist/chunks/{generate-wyg10aaj.js → vcs-gn9g1pwf.js} +19 -19
- package/dist/chunks/{generate-7aq15hb2.js → vcs-gsjgh4hm.js} +15 -15
- package/dist/chunks/{generate-gv6a8nnw.js → vcs-gv6a8nnw.js} +2 -2
- package/dist/chunks/{generate-3yw61v8w.js → vcs-gyxn878h.js} +27 -27
- package/dist/chunks/{generate-cpvqkx5f.js → vcs-h1p741k4.js} +9 -9
- package/dist/chunks/{generate-44h5tttr.js → vcs-h6r3nrb9.js} +4 -4
- package/dist/chunks/{generate-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
- package/dist/chunks/{generate-kp2k2y4n.js → vcs-h82njgbp.js} +35 -35
- package/dist/chunks/{generate-gew6kykq.js → vcs-h9ynannw.js} +4 -4
- package/dist/chunks/{generate-km0vtszt.js → vcs-hmgqkarr.js} +45 -45
- package/dist/chunks/{generate-8hb0tesj.js → vcs-hmkrxbsd.js} +1 -1
- package/dist/chunks/{generate-n8p7g8ff.js → vcs-hv00q5g0.js} +19 -19
- package/dist/chunks/{generate-yn9kt59b.js → vcs-j23gxyft.js} +13 -13
- package/dist/chunks/{generate-ckackzkx.js → vcs-j2zgkdb5.js} +21 -21
- package/dist/chunks/{generate-j56e64zr.js → vcs-j56e64zr.js} +1 -1
- package/dist/chunks/{generate-evcg0f16.js → vcs-j7mpm1wr.js} +12 -12
- package/dist/chunks/{generate-2zbvw8ym.js → vcs-jat0edw6.js} +6 -6
- package/dist/chunks/{generate-q3t37ft6.js → vcs-jexxy024.js} +3 -3
- package/dist/chunks/{generate-e8q8b5r7.js → vcs-jhgqne7p.js} +10 -10
- package/dist/chunks/{generate-h354z1xq.js → vcs-jknhfhr2.js} +31 -31
- package/dist/chunks/{generate-yfwz1ge5.js → vcs-jphrr7s4.js} +19 -19
- package/dist/chunks/{generate-wreftsvd.js → vcs-jw7qx2m6.js} +4 -4
- package/dist/chunks/{generate-hww2tpcj.js → vcs-jz93xfa4.js} +29 -29
- package/dist/chunks/{generate-ha58ddsa.js → vcs-k6bjvtpx.js} +9 -9
- package/dist/chunks/{generate-dtx01xgx.js → vcs-ke3jsz6r.js} +34 -34
- package/dist/chunks/{generate-8qpnwd8f.js → vcs-kef0rm51.js} +15 -15
- package/dist/chunks/{generate-envn6cbq.js → vcs-kgtte2k4.js} +24 -24
- package/dist/chunks/{generate-4rn4k3y1.js → vcs-kvdph0hb.js} +3 -3
- package/dist/chunks/{generate-q5tqy2pa.js → vcs-kxhmg965.js} +25 -25
- package/dist/chunks/{generate-qq2a7b2d.js → vcs-kxphd5c7.js} +3 -3
- package/dist/chunks/{generate-m3fdjcah.js → vcs-m3fdjcah.js} +1 -1
- package/dist/chunks/{generate-tavk7hys.js → vcs-m42kpekn.js} +46 -46
- package/dist/chunks/{generate-d4xesebd.js → vcs-m6em83jz.js} +28 -28
- package/dist/chunks/{generate-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
- package/dist/chunks/{generate-xbr0me04.js → vcs-mdkr6fq5.js} +15 -15
- package/dist/chunks/{generate-wkx6bdd3.js → vcs-mhg46e0p.js} +35 -35
- package/dist/chunks/{generate-c6vbkewx.js → vcs-mk3kndb3.js} +32 -32
- package/dist/chunks/{generate-fkjmw100.js → vcs-mmr7bq34.js} +4 -4
- package/dist/chunks/{generate-jcyhwa0n.js → vcs-mzr7febk.js} +9 -9
- package/dist/chunks/{generate-cav2k78t.js → vcs-n22a5g2a.js} +38 -38
- package/dist/chunks/{generate-meqv6g6e.js → vcs-n2rc481p.js} +32 -32
- package/dist/chunks/{generate-x58jw002.js → vcs-n5ej7v0r.js} +17 -17
- package/dist/chunks/{generate-pzbe5kae.js → vcs-n6gjtqa4.js} +32 -32
- package/dist/chunks/{generate-827wsj90.js → vcs-n8jyz0fj.js} +20 -20
- package/dist/chunks/{generate-wz5mftv5.js → vcs-nhja5bmb.js} +21 -21
- package/dist/chunks/{generate-qg0jgkcp.js → vcs-nq7qbqzc.js} +9 -9
- package/dist/chunks/{generate-fwrss4ad.js → vcs-nqyhrfcc.js} +4 -4
- package/dist/chunks/{generate-74wqaqcm.js → vcs-nv09mq9g.js} +9 -9
- package/dist/chunks/{generate-e2erk39a.js → vcs-nw2p6qkx.js} +26 -26
- package/dist/chunks/{generate-k3c624dm.js → vcs-nzks3jc8.js} +3 -3
- package/dist/chunks/{generate-p28j5sbe.js → vcs-p28j5sbe.js} +2 -2
- package/dist/chunks/{generate-zz1cpcq9.js → vcs-p70617b8.js} +30 -30
- package/dist/chunks/{generate-qayav0h2.js → vcs-p841sg60.js} +27 -27
- package/dist/chunks/{generate-1ajx6rf5.js → vcs-phstrbs2.js} +8 -8
- package/dist/chunks/{generate-308q9nny.js → vcs-pj7by5mk.js} +67 -67
- package/dist/chunks/{generate-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
- package/dist/chunks/{generate-pknna89w.js → vcs-pknna89w.js} +1 -1
- package/dist/chunks/{generate-r28r364k.js → vcs-py7tvzcg.js} +35 -35
- package/dist/chunks/{generate-dfe8djrf.js → vcs-q2b1ymqp.js} +4 -4
- package/dist/chunks/{generate-j5b0023w.js → vcs-q9t0j652.js} +19 -19
- package/dist/chunks/vcs-qapv375x.js +4 -0
- package/dist/chunks/{generate-7dqw4kz8.js → vcs-qgn6gcr1.js} +5 -5
- package/dist/chunks/{generate-drwq78ky.js → vcs-qqeeq2t9.js} +7 -7
- package/dist/chunks/{generate-qsdy395h.js → vcs-qsdy395h.js} +1 -1
- package/dist/chunks/{generate-73tb2d7t.js → vcs-r5x6zcsm.js} +3 -3
- package/dist/chunks/{generate-f2n192rq.js → vcs-r8xr0va3.js} +4 -4
- package/dist/chunks/{generate-fhhct1rs.js → vcs-r9chjg2t.js} +9 -9
- package/dist/chunks/{generate-zz2a84p4.js → vcs-rcgznhtg.js} +11 -11
- package/dist/chunks/{generate-25dvt1bv.js → vcs-rdmr8h45.js} +13 -13
- package/dist/chunks/{generate-rdw6cm16.js → vcs-rdw6cm16.js} +1 -1
- package/dist/chunks/{generate-nd37ta7v.js → vcs-repb58am.js} +8 -8
- package/dist/chunks/{generate-k0b7m8ck.js → vcs-rfm2565c.js} +52 -52
- package/dist/chunks/{generate-eaj1djv9.js → vcs-rhjbct0v.js} +8 -8
- package/dist/chunks/{generate-m833tcjx.js → vcs-rqk1njnt.js} +20 -20
- package/dist/chunks/{generate-drz9gnx0.js → vcs-ry85pwrz.js} +11 -11
- package/dist/chunks/{generate-jne44bes.js → vcs-s1pxbdt0.js} +17 -17
- package/dist/chunks/{generate-w1bs92j7.js → vcs-sbrmgv3y.js} +12 -12
- package/dist/chunks/{generate-y8gwgsgx.js → vcs-seeezy3s.js} +11 -11
- package/dist/chunks/{generate-zyaxyk36.js → vcs-sme2kac2.js} +24 -24
- package/dist/chunks/{generate-9v6je5c8.js → vcs-snabfqxp.js} +4 -4
- package/dist/chunks/{generate-50qqv18y.js → vcs-spe3g0hp.js} +169 -169
- package/dist/chunks/{generate-wf06wpac.js → vcs-spr050er.js} +10 -10
- package/dist/chunks/{generate-dj30mz7y.js → vcs-t9a3q6q8.js} +3 -3
- package/dist/chunks/{generate-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
- package/dist/chunks/{generate-tcezcvh9.js → vcs-tcezcvh9.js} +1 -1
- package/dist/chunks/{generate-h694sfcs.js → vcs-tcsc0whj.js} +10 -10
- package/dist/chunks/{generate-tdstcens.js → vcs-tdstcens.js} +1 -1
- package/dist/chunks/{generate-55ntkbd9.js → vcs-tsvqgg8r.js} +20 -20
- package/dist/chunks/{generate-tvtrv512.js → vcs-tvtrv512.js} +1 -1
- package/dist/chunks/{generate-mwdg7gr3.js → vcs-twnj3zvd.js} +23 -23
- package/dist/chunks/{generate-7w4zp1nj.js → vcs-tyg3r6mh.js} +4 -4
- package/dist/chunks/{generate-t0fxg8b9.js → vcs-tz2bjj40.js} +5 -5
- package/dist/chunks/{generate-gvv2c7z7.js → vcs-v5zftknb.js} +24 -24
- package/dist/chunks/{generate-6wf6y384.js → vcs-vbsshj49.js} +28 -28
- package/dist/chunks/{generate-zvc0f6jz.js → vcs-ve62qrz7.js} +5 -5
- package/dist/chunks/{generate-veqvce7d.js → vcs-veqvce7d.js} +1 -1
- package/dist/chunks/{generate-pnkm92bb.js → vcs-vpdthv1w.js} +47 -47
- package/dist/chunks/{generate-vzcthcp8.js → vcs-vzcthcp8.js} +1 -1
- package/dist/chunks/{generate-e4ve3fg3.js → vcs-w2jpnjzn.js} +4 -4
- package/dist/chunks/{generate-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
- package/dist/chunks/{generate-zj4sr8je.js → vcs-w4wvvbc4.js} +5 -5
- package/dist/chunks/{generate-pg2n4xn0.js → vcs-w5fm7hkw.js} +26 -26
- package/dist/chunks/{generate-e6hmchc5.js → vcs-wbkyxrgf.js} +5 -5
- package/dist/chunks/vcs-wcr4e3c6.js +252 -0
- package/dist/chunks/{generate-73erw28z.js → vcs-wczd338b.js} +33 -33
- package/dist/chunks/{generate-wd87259q.js → vcs-wd87259q.js} +1 -1
- package/dist/chunks/{generate-sykf9ha3.js → vcs-wepc9txd.js} +17 -17
- package/dist/chunks/{generate-6ddjfwvz.js → vcs-whenjg63.js} +18 -18
- package/dist/chunks/{generate-psb5g46b.js → vcs-wjwsazx2.js} +23 -23
- package/dist/chunks/{generate-fr5pngye.js → vcs-wprfv400.js} +35 -35
- package/dist/chunks/{generate-61nhyxw9.js → vcs-wqteacnb.js} +84 -84
- package/dist/chunks/{generate-1kkcsqyr.js → vcs-wvyg63f2.js} +31 -31
- package/dist/chunks/{generate-xsqbfv8n.js → vcs-ww2ppt95.js} +13 -13
- package/dist/chunks/{generate-yxat9xne.js → vcs-wy1aae89.js} +35 -35
- package/dist/chunks/{generate-rw88jhax.js → vcs-wz7c3pjz.js} +13 -13
- package/dist/chunks/{generate-x1ezjp6w.js → vcs-x1ezjp6w.js} +1 -1
- package/dist/chunks/{generate-cvqk7wv7.js → vcs-x41dyxnd.js} +32 -32
- package/dist/chunks/{generate-43rrycvc.js → vcs-x4gr8kd6.js} +8 -8
- package/dist/chunks/{generate-2yycsk2q.js → vcs-x8h0pz8m.js} +14 -14
- package/dist/chunks/{generate-efc3bqfr.js → vcs-xar9seh6.js} +7 -7
- package/dist/chunks/{generate-gr1f03ws.js → vcs-y15vpdnr.js} +9 -9
- package/dist/chunks/{generate-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
- package/dist/chunks/{generate-zh2a5dp2.js → vcs-y346bt7s.js} +3 -3
- package/dist/chunks/{generate-kns1vj7f.js → vcs-y5df08dr.js} +12 -12
- package/dist/chunks/{generate-y71avatq.js → vcs-y71avatq.js} +1 -1
- package/dist/chunks/{generate-3ktbe3hf.js → vcs-ybhbtxjg.js} +6 -6
- package/dist/chunks/{generate-h896pcm5.js → vcs-ycjb11n5.js} +6 -6
- package/dist/chunks/{generate-abf6npx4.js → vcs-ygrrhazr.js} +26 -26
- package/dist/chunks/{generate-d71fyk5e.js → vcs-ykmdpqna.js} +1 -1
- package/dist/chunks/{generate-yrhqyw5v.js → vcs-yrhqyw5v.js} +1 -1
- package/dist/chunks/{generate-yrznvahk.js → vcs-yrznvahk.js} +2 -2
- package/dist/chunks/{generate-bxks3rwe.js → vcs-yt3hy1g9.js} +5 -5
- package/dist/chunks/{generate-x2540b37.js → vcs-yz9726cp.js} +11 -11
- package/dist/chunks/{generate-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
- package/dist/chunks/{generate-tv1mb0q8.js → vcs-z2fmrg3w.js} +23 -23
- package/dist/chunks/{generate-dqs3j4gr.js → vcs-z2ghjjem.js} +3 -3
- package/dist/chunks/{generate-z63w68vq.js → vcs-z63w68vq.js} +2 -2
- package/dist/chunks/{generate-0kmmcsnv.js → vcs-z7z0ddsh.js} +8 -8
- package/dist/chunks/{generate-zav06jzw.js → vcs-zee1rnkq.js} +4 -4
- package/dist/chunks/{generate-zeh9ct20.js → vcs-zeh9ct20.js} +2 -2
- package/dist/chunks/{generate-m0gbvpmm.js → vcs-zg00w177.js} +80 -80
- package/dist/chunks/{generate-4jc5c4h4.js → vcs-zhq6vg7a.js} +1 -1
- package/dist/chunks/{generate-8gj9m7an.js → vcs-zk9jfaqz.js} +15 -15
- package/dist/chunks/{generate-zr2ceqn5.js → vcs-zr2ceqn5.js} +1 -1
- package/dist/chunks/{generate-zxq2ej10.js → vcs-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- 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 +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- 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 +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- 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 +122 -122
- 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 +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- 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 +127 -127
- 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 +368 -368
- 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 +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +101 -101
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +100 -100
- 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 +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 +359 -359
- 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 +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +99 -99
- package/dist/mcp/instructions.js +121 -121
- 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 +95 -95
- package/dist/model.js +101 -101
- package/dist/models-dev.js +100 -100
- 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 +79 -79
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- 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/prompt-cache-key.js +89 -89
- 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 +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +100 -100
- 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 +95 -95
- 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 +92 -92
- package/dist/rpc.js +81 -81
- 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 +149 -149
- 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 +220 -220
- package/dist/session/execution.js +125 -125
- 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 +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +116 -116
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +125 -125
- 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 +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 +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- 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 +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +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 +88 -88
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +120 -120
- package/dist/tool/plugin/edit.js +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 +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- 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 +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +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 +7 -7
- 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 +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +77 -77
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +75 -75
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/generate-0mesazry.js +0 -4
- package/dist/chunks/generate-9x18tffv.js +0 -252
- package/dist/chunks/generate-9zdhvgqs.js +0 -18
- package/dist/chunks/generate-eszte112.js +0 -26
- /package/dist/chunks/{generate-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{generate-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
- /package/dist/chunks/{generate-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
- /package/dist/chunks/{generate-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
- /package/dist/chunks/{generate-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{generate-24dcb14g.js → vcs-24dcb14g.js} +0 -0
- /package/dist/chunks/{generate-2710q6r3.js → vcs-2710q6r3.js} +0 -0
- /package/dist/chunks/{generate-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
- /package/dist/chunks/{generate-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{generate-359p4xyc.js → vcs-359p4xyc.js} +0 -0
- /package/dist/chunks/{generate-3asan66x.js → vcs-3asan66x.js} +0 -0
- /package/dist/chunks/{generate-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
- /package/dist/chunks/{generate-3w5fmr99.js → vcs-3w5fmr99.js} +0 -0
- /package/dist/chunks/{generate-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
- /package/dist/chunks/{generate-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
- /package/dist/chunks/{generate-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
- /package/dist/chunks/{generate-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{generate-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
- /package/dist/chunks/{generate-53557ph1.js → vcs-53557ph1.js} +0 -0
- /package/dist/chunks/{generate-550bvhaj.js → vcs-550bvhaj.js} +0 -0
- /package/dist/chunks/{generate-5qd3pb7m.js → vcs-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{generate-6prwharc.js → vcs-6prwharc.js} +0 -0
- /package/dist/chunks/{generate-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
- /package/dist/chunks/{generate-7m9af43g.js → vcs-7m9af43g.js} +0 -0
- /package/dist/chunks/{generate-822emrt2.js → vcs-822emrt2.js} +0 -0
- /package/dist/chunks/{generate-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
- /package/dist/chunks/{generate-8n3pysct.js → vcs-8n3pysct.js} +0 -0
- /package/dist/chunks/{generate-922hggd3.js → vcs-922hggd3.js} +0 -0
- /package/dist/chunks/{generate-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
- /package/dist/chunks/{generate-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{generate-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
- /package/dist/chunks/{generate-af5trqkr.js → vcs-af5trqkr.js} +0 -0
- /package/dist/chunks/{generate-afrmfg78.js → vcs-afrmfg78.js} +0 -0
- /package/dist/chunks/{generate-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{generate-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
- /package/dist/chunks/{generate-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{generate-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{generate-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
- /package/dist/chunks/{generate-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{generate-d9fn303g.js → vcs-d9fn303g.js} +0 -0
- /package/dist/chunks/{generate-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{generate-dajrwvna.js → vcs-dajrwvna.js} +0 -0
- /package/dist/chunks/{generate-dap0rakb.js → vcs-dap0rakb.js} +0 -0
- /package/dist/chunks/{generate-df08tz66.js → vcs-df08tz66.js} +0 -0
- /package/dist/chunks/{generate-dy18nga0.js → vcs-dy18nga0.js} +0 -0
- /package/dist/chunks/{generate-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
- /package/dist/chunks/{generate-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
- /package/dist/chunks/{generate-ec1grn59.js → vcs-ec1grn59.js} +0 -0
- /package/dist/chunks/{generate-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
- /package/dist/chunks/{generate-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
- /package/dist/chunks/{generate-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
- /package/dist/chunks/{generate-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{generate-faypxj3z.js → vcs-faypxj3z.js} +0 -0
- /package/dist/chunks/{generate-fd410y7t.js → vcs-fd410y7t.js} +0 -0
- /package/dist/chunks/{generate-fxgpk5d8.js → vcs-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{generate-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
- /package/dist/chunks/{generate-g86h250q.js → vcs-g86h250q.js} +0 -0
- /package/dist/chunks/{generate-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
- /package/dist/chunks/{generate-gftt206x.js → vcs-gftt206x.js} +0 -0
- /package/dist/chunks/{generate-hjbc5kem.js → vcs-hjbc5kem.js} +0 -0
- /package/dist/chunks/{generate-hk9envan.js → vcs-hk9envan.js} +0 -0
- /package/dist/chunks/{generate-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
- /package/dist/chunks/{generate-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{generate-jjkms2e6.js → vcs-jjkms2e6.js} +0 -0
- /package/dist/chunks/{generate-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{generate-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{generate-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{generate-mp448xyj.js → vcs-mp448xyj.js} +0 -0
- /package/dist/chunks/{generate-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
- /package/dist/chunks/{generate-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
- /package/dist/chunks/{generate-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
- /package/dist/chunks/{generate-njntx4h6.js → vcs-njntx4h6.js} +0 -0
- /package/dist/chunks/{generate-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
- /package/dist/chunks/{generate-q74kybfr.js → vcs-q74kybfr.js} +0 -0
- /package/dist/chunks/{generate-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
- /package/dist/chunks/{generate-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
- /package/dist/chunks/{generate-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
- /package/dist/chunks/{generate-qg3g05ea.js → vcs-qg3g05ea.js} +0 -0
- /package/dist/chunks/{generate-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
- /package/dist/chunks/{generate-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{generate-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{generate-sk3qaz4a.js → vcs-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{generate-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
- /package/dist/chunks/{generate-twg0f83k.js → vcs-twg0f83k.js} +0 -0
- /package/dist/chunks/{generate-w803qqfp.js → vcs-w803qqfp.js} +0 -0
- /package/dist/chunks/{generate-wc3fc9cn.js → vcs-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{generate-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
- /package/dist/chunks/{generate-wtztk69x.js → vcs-wtztk69x.js} +0 -0
- /package/dist/chunks/{generate-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
- /package/dist/chunks/{generate-x61499pn.js → vcs-x61499pn.js} +0 -0
- /package/dist/chunks/{generate-y44na4kk.js → vcs-y44na4kk.js} +0 -0
- /package/dist/chunks/{generate-y8cydn3q.js → vcs-y8cydn3q.js} +0 -0
- /package/dist/chunks/{generate-y8f7s663.js → vcs-y8f7s663.js} +0 -0
- /package/dist/chunks/{generate-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{generate-ym463w8f.js → vcs-ym463w8f.js} +0 -0
- /package/dist/chunks/{generate-z9919s4g.js → vcs-z9919s4g.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./vcs-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service57,
|
|
8
|
+
node61
|
|
9
|
+
} from "./vcs-379sbzbq.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-nw2p6qkx.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./vcs-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service5,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node7,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service5 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
|
|
|
326
326
|
return index + 1;
|
|
327
327
|
}
|
|
328
328
|
};
|
|
329
|
-
var layer = Layer.effect(
|
|
330
|
-
const environment = yield*
|
|
331
|
-
return
|
|
329
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
330
|
+
const environment = yield* Service57;
|
|
331
|
+
return Service5.of({
|
|
332
332
|
list: environment.files.list,
|
|
333
333
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
334
334
|
});
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var node7 = makeLocationNode({ service: Service5, layer, deps: [node61] });
|
|
337
337
|
|
|
338
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
338
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service5, read2, node7, exports_read_filesystem };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service64
|
|
3
|
+
} from "./vcs-9waxhxyt.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
19
|
+
Input: () => Input12,
|
|
20
20
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin14,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description5,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name12
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
33
|
+
var name12 = "webfetch";
|
|
34
34
|
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input12 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input4 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input12.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin14 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service64;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name12,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description5,
|
|
104
|
+
input: Input12,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin4 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name12,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name12, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input12, Plugin14, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./vcs-cfgw6j6z.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-y71avatq.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
18
18
|
__export(exports_bus, {
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service82,
|
|
22
22
|
configured: () => configured12,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node86,
|
|
28
28
|
reserveSequence: () => reserveSequence2,
|
|
29
29
|
versionedType: () => versionedType2
|
|
30
30
|
});
|
|
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
|
|
|
76
76
|
var isSynced2 = (item) => item.type === "log.synced";
|
|
77
77
|
var isDefinition = (input) => !Array.isArray(input);
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service82 extends Context.Service()("@opencode/Bus") {
|
|
80
80
|
}
|
|
81
81
|
function configured12(options) {
|
|
82
82
|
return makeGlobalNode({
|
|
83
|
-
service:
|
|
84
|
-
deps: [
|
|
85
|
-
layer: Layer.effect(
|
|
83
|
+
service: Service82,
|
|
84
|
+
deps: [node87],
|
|
85
|
+
layer: Layer.effect(Service82, Effect.gen(function* () {
|
|
86
86
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
87
87
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
88
88
|
const pubsub = {
|
|
@@ -93,7 +93,7 @@ function configured12(options) {
|
|
|
93
93
|
const projectors = new Map;
|
|
94
94
|
const listeners = new Array;
|
|
95
95
|
const durableLocks = makeUnsafe2();
|
|
96
|
-
const { db } = yield*
|
|
96
|
+
const { db } = yield* Service83;
|
|
97
97
|
const logReadPageSize = options?.logReadPageSize ?? 512;
|
|
98
98
|
const persist = options?.persist ?? false;
|
|
99
99
|
const sessions = new Map;
|
|
@@ -525,7 +525,7 @@ function configured12(options) {
|
|
|
525
525
|
list.push((event) => projector(event));
|
|
526
526
|
projectors.set(key, list);
|
|
527
527
|
});
|
|
528
|
-
return
|
|
528
|
+
return Service82.of({
|
|
529
529
|
publish,
|
|
530
530
|
publishAll,
|
|
531
531
|
subscribe,
|
|
@@ -539,6 +539,6 @@ function configured12(options) {
|
|
|
539
539
|
}))
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
|
-
var
|
|
542
|
+
var node86 = configured12();
|
|
543
543
|
|
|
544
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2,
|
|
544
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service82, configured12, node86, exports_bus };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
+
Service81,
|
|
9
|
+
node85
|
|
10
|
+
} from "./vcs-y5df08dr.js";
|
|
11
|
+
import {
|
|
8
12
|
Service79,
|
|
9
13
|
node83
|
|
10
|
-
} from "./
|
|
11
|
-
import {
|
|
12
|
-
Service76,
|
|
13
|
-
node80
|
|
14
|
-
} from "./generate-nqztsxrq.js";
|
|
14
|
+
} from "./vcs-2djq4902.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./vcs-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./vcs-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
25
|
Error: () => Error3,
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
26
|
+
ID: () => ID5,
|
|
27
|
+
Service: () => Service37,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node40,
|
|
30
30
|
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,7 +34,7 @@ import path from "path";
|
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID5 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
39
|
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
@@ -43,13 +43,13 @@ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service37 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service81;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service79;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID5.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -138,14 +138,14 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service37.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node40 = makeLocationNode({
|
|
144
|
+
service: Service37,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node85, Global.node, node83]
|
|
147
147
|
});
|
|
148
|
-
var noopLayer2 = Layer.succeed(
|
|
148
|
+
var noopLayer2 = Layer.succeed(Service37, Service37.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -163,4 +163,4 @@ function failure(operation, cause) {
|
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID5, Error3, Service37, node40, noopLayer2, exports_snapshot2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service42,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node45
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service42 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service42, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service42.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service41, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node45 = makeGlobalNode({ service: Service42, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service42, node45, exports_environment };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured8,
|
|
11
|
+
layer: () => layer18,
|
|
12
|
+
make: () => make15,
|
|
13
|
+
node: () => node49,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make15()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make15(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make18(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer18 = (input) => Layer.succeed(Metadata2, make15(input));
|
|
32
|
+
var configured8 = (input) => makeGlobalNode({ service: Metadata2, layer: layer18(input), deps: [] });
|
|
33
|
+
var node49 = configured8();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make15, useragent2, layer18, configured8, node49, exports_app };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service43
|
|
4
|
+
} from "./vcs-m42kpekn.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service37
|
|
7
|
+
} from "./vcs-98n6zb1h.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin18
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin18 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service43;
|
|
27
|
+
const snapshot = yield* Service37;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin48 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin18, exports_snapshot };
|