@opencode/core 0.0.0-beta-19398 → 0.0.0-beta-19419
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{location-mutation-02nrjc1r.js → mime-02a7j1yb.js} +8 -8
- package/dist/chunks/{location-mutation-b83fz2rh.js → mime-0a8nx4x7.js} +9 -9
- package/dist/chunks/{location-mutation-5sz580sy.js → mime-0bgf9fe6.js} +24 -24
- package/dist/chunks/{location-mutation-j0mn1je3.js → mime-0ddh214q.js} +19 -19
- package/dist/chunks/{location-mutation-88x5955g.js → mime-0e2sbrgk.js} +32 -32
- package/dist/chunks/{location-mutation-za4kfshb.js → mime-0egdssbc.js} +43 -43
- package/dist/chunks/{location-mutation-tryp60pv.js → mime-0n9gyfew.js} +4 -4
- package/dist/chunks/{location-mutation-0paq2nw3.js → mime-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-mutation-0q0f95c6.js → mime-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-mutation-51qfk2sn.js → mime-0q38mt5t.js} +5 -5
- package/dist/chunks/{location-mutation-8ga6zesv.js → mime-11zr91fq.js} +29 -29
- package/dist/chunks/{location-mutation-hhmedmrs.js → mime-13y3ez7k.js} +37 -37
- package/dist/chunks/{location-mutation-mhkvc446.js → mime-1bbkgx8g.js} +3 -3
- package/dist/chunks/{location-mutation-1dazxqgg.js → mime-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-mutation-1eyaby9q.js → mime-1eyaby9q.js} +2 -2
- package/dist/chunks/{location-mutation-ppxehy7v.js → mime-1k4qyr7g.js} +22 -22
- package/dist/chunks/{location-mutation-r17fvq36.js → mime-1pp8xbfm.js} +33 -33
- package/dist/chunks/{location-mutation-dcqbhrtj.js → mime-1rtd1a51.js} +15 -15
- package/dist/chunks/{location-mutation-rstnkd3y.js → mime-1wxb385z.js} +1 -1
- package/dist/chunks/{location-mutation-mfqp6xfm.js → mime-1ygqh575.js} +6 -6
- package/dist/chunks/{location-mutation-21r38tys.js → mime-21r38tys.js} +1 -1
- package/dist/chunks/{location-mutation-p6cfp1ja.js → mime-21x2v0p5.js} +30 -30
- package/dist/chunks/{location-mutation-0gaj4617.js → mime-23pqda6t.js} +6 -6
- package/dist/chunks/{location-mutation-pjedbq3k.js → mime-23sxaqwc.js} +6 -6
- package/dist/chunks/{location-mutation-6h73sxmp.js → mime-2402vzrj.js} +5 -5
- package/dist/chunks/{location-mutation-ehntj2pc.js → mime-263cr94x.js} +41 -41
- package/dist/chunks/{location-mutation-p4nzc36k.js → mime-28555vz3.js} +32 -32
- package/dist/chunks/{location-mutation-z63w68vq.js → mime-29x78va6.js} +6 -6
- package/dist/chunks/{location-mutation-2a5m3afh.js → mime-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-mutation-s0hza5ac.js → mime-2evyaa68.js} +4 -4
- package/dist/chunks/{location-mutation-k8756053.js → mime-2f35vdk7.js} +10 -10
- package/dist/chunks/{location-mutation-v271ywhn.js → mime-2gcap31n.js} +52 -52
- package/dist/chunks/{location-mutation-tregh9zc.js → mime-2gfgcbzh.js} +2 -2
- package/dist/chunks/{location-mutation-sy45pk4d.js → mime-2h5epps5.js} +9 -9
- package/dist/chunks/{location-mutation-9b5secnr.js → mime-2q41p91w.js} +12 -12
- package/dist/chunks/{location-mutation-kqaz0ej3.js → mime-2t5kqt1k.js} +1 -1
- package/dist/chunks/{location-mutation-8kwzm53y.js → mime-39cv1g88.js} +4 -4
- package/dist/chunks/{location-mutation-fxqygnfa.js → mime-3amprz0f.js} +4 -4
- package/dist/chunks/{location-mutation-3fc6dm20.js → mime-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-mutation-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-mutation-nydj1emx.js → mime-3jt9w4q0.js} +13 -13
- package/dist/chunks/{location-mutation-5ecgp29h.js → mime-3mp8pt0x.js} +12 -12
- package/dist/chunks/{location-mutation-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-mutation-j55g5gc5.js → mime-3tey5e4w.js} +10 -10
- package/dist/chunks/{location-mutation-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-mutation-sd5675wn.js → mime-3wvc1ncp.js} +40 -47
- package/dist/chunks/{location-mutation-b5efxae6.js → mime-3zf9b344.js} +4 -4
- package/dist/chunks/{location-mutation-t5dz2dvd.js → mime-3znnwrk0.js} +28 -28
- package/dist/chunks/{location-mutation-1sm8r3sx.js → mime-4ecwqft3.js} +85 -85
- package/dist/chunks/{location-mutation-wvx0h6x9.js → mime-4hg443tm.js} +19 -19
- package/dist/chunks/{location-mutation-xsdh20fb.js → mime-4mkcvr19.js} +5 -5
- package/dist/chunks/{location-mutation-pzpywyfj.js → mime-4qdk51ny.js} +44 -44
- package/dist/chunks/{location-mutation-dgemy49w.js → mime-4xqs2w7b.js} +20 -20
- package/dist/chunks/{location-mutation-p1n7jv0z.js → mime-4ynsrnbk.js} +22 -22
- package/dist/chunks/{location-mutation-m5erp1k4.js → mime-4zrw1ey2.js} +2 -2
- package/dist/chunks/{location-mutation-5daktx2q.js → mime-5daktx2q.js} +1 -1
- package/dist/chunks/{location-mutation-b2jx7zxs.js → mime-5nsrms9d.js} +1 -1
- package/dist/chunks/{location-mutation-gkm5mcy5.js → mime-5prtz2zp.js} +23 -23
- package/dist/chunks/{location-mutation-00zne7qa.js → mime-5ps71a92.js} +23 -23
- package/dist/chunks/{location-mutation-y2ccry63.js → mime-5qy0qq0f.js} +18 -18
- package/dist/chunks/{location-mutation-cw3cq2se.js → mime-5rgkh6ng.js} +17 -17
- package/dist/chunks/{location-mutation-5t3nmthw.js → mime-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-mutation-844ef7ks.js → mime-5xtgfte3.js} +8 -8
- package/dist/chunks/{location-mutation-hhb7sktp.js → mime-5zwz8q23.js} +14 -14
- package/dist/chunks/{location-mutation-669tq793.js → mime-669tq793.js} +1 -1
- package/dist/chunks/{location-mutation-hds58mhb.js → mime-6b2vme4h.js} +2 -2
- package/dist/chunks/{location-mutation-gtsm3tea.js → mime-6csgaxec.js} +9 -9
- package/dist/chunks/{location-mutation-8k159x2e.js → mime-6e5hn325.js} +28 -28
- package/dist/chunks/{location-mutation-6msgmcgs.js → mime-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-mutation-71q4at8m.js → mime-71q4at8m.js} +1 -1
- package/dist/chunks/{location-mutation-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-mutation-fcrkznn8.js → mime-7dqw4kz8.js} +5 -5
- package/dist/chunks/{location-mutation-rd25f8yh.js → mime-7jpcrm6h.js} +5 -5
- package/dist/chunks/{location-mutation-a33f6fh4.js → mime-7krgh5xj.js} +11 -11
- package/dist/chunks/{location-mutation-1f01g00k.js → mime-7sek35zn.js} +35 -35
- package/dist/chunks/{location-mutation-r6gw4gsf.js → mime-7wtyjh8h.js} +43 -43
- package/dist/chunks/{location-mutation-whvneb9k.js → mime-7xdwve5v.js} +3 -3
- package/dist/chunks/{location-mutation-hrf55331.js → mime-7y4hfxng.js} +10 -10
- package/dist/chunks/{location-mutation-a2ew8a62.js → mime-806j49yq.js} +4 -4
- package/dist/chunks/{location-mutation-kcwf74x3.js → mime-83x6p9kd.js} +1 -1
- package/dist/chunks/{location-mutation-dmpamw93.js → mime-8azwg042.js} +5 -5
- package/dist/chunks/{location-mutation-tpw3wqby.js → mime-8cd2h94e.js} +11 -11
- package/dist/chunks/{location-mutation-8d7r5vzw.js → mime-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-mutation-gyqj5dqq.js → mime-8dgc1ynf.js} +45 -45
- package/dist/chunks/{location-mutation-8p4f9s12.js → mime-8p4f9s12.js} +2 -2
- package/dist/chunks/{location-mutation-8y31xnqm.js → mime-8ryk0bb9.js} +5 -5
- package/dist/chunks/{location-mutation-p0kdf59p.js → mime-8sjdtssw.js} +29 -29
- package/dist/chunks/{location-mutation-zx352kk7.js → mime-8zsmxnhb.js} +22 -22
- package/dist/chunks/{location-mutation-y6bqj6hh.js → mime-95wcbadv.js} +3 -3
- package/dist/chunks/{location-mutation-m512vzfg.js → mime-988ynk0k.js} +3 -3
- package/dist/chunks/{location-mutation-yed0t1d5.js → mime-9cer4v2n.js} +20 -20
- package/dist/chunks/{location-mutation-ka2k270b.js → mime-9pm6y0s1.js} +8 -8
- package/dist/chunks/{location-mutation-tj1a712e.js → mime-9sh3bnfq.js} +9 -9
- package/dist/chunks/{location-mutation-a1bz86dw.js → mime-a1bz86dw.js} +3 -3
- package/dist/chunks/{location-mutation-26xsg9sg.js → mime-a1zt0rvf.js} +21 -21
- package/dist/chunks/{location-mutation-p1wf2k30.js → mime-a5gt7g2r.js} +9 -9
- package/dist/chunks/{location-mutation-6nf03a2p.js → mime-a8e6cjej.js} +6 -6
- package/dist/chunks/{location-mutation-aaet6srn.js → mime-aaet6srn.js} +2 -2
- package/dist/chunks/{location-mutation-p44d8wdy.js → mime-af04s6ss.js} +5 -5
- package/dist/chunks/{location-mutation-fvscxbve.js → mime-aq3m41mm.js} +4 -4
- package/dist/chunks/{location-mutation-ghv39z3q.js → mime-av3fccqd.js} +6 -6
- package/dist/chunks/{location-mutation-mhn5tcby.js → mime-awxqjzce.js} +11 -11
- package/dist/chunks/{location-mutation-nwwfgs0n.js → mime-b33nk6kn.js} +27 -25
- package/dist/chunks/{location-mutation-mmxv3gw3.js → mime-b69s27a6.js} +12 -12
- package/dist/chunks/{location-mutation-b6gygkdw.js → mime-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-mutation-m2s78sav.js → mime-bb9ege9n.js} +15 -15
- package/dist/chunks/{location-mutation-paegk39x.js → mime-bccb6npm.js} +4 -4
- package/dist/chunks/{location-mutation-jah5aqqf.js → mime-bty5rg6y.js} +10 -10
- package/dist/chunks/{location-mutation-zm48185g.js → mime-bwqere5e.js} +36 -36
- package/dist/chunks/{location-mutation-wc0kbtjh.js → mime-c3x6hdz3.js} +32 -32
- package/dist/chunks/{location-mutation-jtp7wgq3.js → mime-c7ecgrk6.js} +8 -8
- package/dist/chunks/{location-mutation-t8wk4avw.js → mime-caw866h7.js} +11 -11
- package/dist/chunks/{location-mutation-cfpkc3c9.js → mime-cfpkc3c9.js} +2 -2
- package/dist/chunks/{location-mutation-3dv89ket.js → mime-cjkcyj3g.js} +9 -9
- package/dist/chunks/{location-mutation-sedkckjb.js → mime-d414zwqj.js} +12 -12
- package/dist/chunks/{location-mutation-cyznyexp.js → mime-d4mfdrq6.js} +42 -42
- package/dist/chunks/{location-mutation-nz1x447f.js → mime-d9g4k2aw.js} +6 -6
- package/dist/chunks/{location-mutation-kw1gmdxk.js → mime-db2vyhy0.js} +43 -43
- package/dist/chunks/{location-mutation-w7fytw90.js → mime-dbt2jb7m.js} +19 -19
- package/dist/chunks/{location-mutation-zjccgr9f.js → mime-depwzj9d.js} +9 -9
- package/dist/chunks/{location-mutation-rk7m7srh.js → mime-dhwr7h25.js} +11 -11
- package/dist/chunks/{location-mutation-vyjfqv4t.js → mime-dw3qxs43.js} +20 -20
- package/dist/chunks/{location-mutation-bs9q8pck.js → mime-e09f1gvr.js} +12 -12
- package/dist/chunks/{location-mutation-r5rdn9gc.js → mime-e7ps77ar.js} +19 -18
- package/dist/chunks/{location-mutation-z1z2vb6z.js → mime-ebc8jb1d.js} +14 -14
- package/dist/chunks/{location-mutation-xn33xk03.js → mime-eewpk6jb.js} +8 -8
- package/dist/chunks/{location-mutation-1scpfsh2.js → mime-eff31b2h.js} +36 -36
- package/dist/chunks/{location-mutation-6qxca1fz.js → mime-emts032f.js} +15 -15
- package/dist/chunks/{location-mutation-t8r3ep1g.js → mime-en74w496.js} +5 -5
- package/dist/chunks/{location-mutation-bzx4zv3s.js → mime-eq67g8tv.js} +18 -18
- package/dist/chunks/{location-mutation-etq0c3wd.js → mime-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-mutation-t768js4p.js → mime-etxs3v4e.js} +8 -8
- package/dist/chunks/{location-mutation-3cfzdc8e.js → mime-evbgk2k8.js} +5 -5
- package/dist/chunks/{location-mutation-27hkvsk8.js → mime-ex105f0g.js} +7 -7
- package/dist/chunks/{location-mutation-981wd75n.js → mime-ez804y10.js} +23 -23
- package/dist/chunks/{location-mutation-1acjjqhc.js → mime-f2n192rq.js} +4 -4
- package/dist/chunks/{location-mutation-f828m53h.js → mime-f828m53h.js} +2 -2
- package/dist/chunks/{location-mutation-cnymy2f0.js → mime-fcnjm40w.js} +167 -167
- package/dist/chunks/{location-mutation-xw1r19dr.js → mime-fkgafzhm.js} +11 -11
- package/dist/chunks/{location-mutation-t61n1tw8.js → mime-fpgqbm61.js} +16 -16
- package/dist/chunks/{location-mutation-vnaah6bw.js → mime-ftp331h4.js} +22 -22
- package/dist/chunks/{location-mutation-fxbjtjnd.js → mime-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-mutation-jtpp2ykg.js → mime-g2bcegda.js} +25 -25
- package/dist/chunks/{location-mutation-3v97kze0.js → mime-g95x1rp7.js} +36 -36
- package/dist/chunks/{location-mutation-n9sdwvwy.js → mime-g95z8t2a.js} +62 -62
- package/dist/chunks/{location-mutation-gy8bp4n5.js → mime-ga6hqhxm.js} +9 -9
- package/dist/chunks/{location-mutation-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-mutation-7tms9jw2.js → mime-gfffwwn8.js} +10 -10
- package/dist/chunks/{location-mutation-bta0jsnn.js → mime-gpfpyv44.js} +29 -29
- package/dist/chunks/{location-mutation-zcrspsvn.js → mime-gst7axd9.js} +4 -4
- package/dist/chunks/{location-mutation-4b6bntqd.js → mime-gt0cxfk7.js} +1 -1
- package/dist/chunks/{location-mutation-avcnr8ja.js → mime-gx2yqbrf.js} +26 -26
- package/dist/chunks/{location-mutation-h03wrkyp.js → mime-h03wrkyp.js} +2 -2
- package/dist/chunks/{location-mutation-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-mutation-yvvy1a1h.js → mime-h7f00xnw.js} +13 -13
- package/dist/chunks/{location-mutation-ttrnch24.js → mime-j1tqpjge.js} +11 -11
- package/dist/chunks/{location-mutation-j56e64zr.js → mime-j56e64zr.js} +1 -1
- package/dist/chunks/{location-mutation-paphc93g.js → mime-j935v87r.js} +2 -2
- package/dist/chunks/{location-mutation-r6hbbyz4.js → mime-jb0k481j.js} +15 -15
- package/dist/chunks/{location-mutation-8vv3zxpc.js → mime-jc28ky3p.js} +25 -25
- package/dist/chunks/{location-mutation-7ybwwvvx.js → mime-jhetwysa.js} +3 -3
- package/dist/chunks/{location-mutation-4jhgwcfy.js → mime-jj4txyk5.js} +41 -41
- package/dist/chunks/{location-mutation-rtvpdrsv.js → mime-jj93sfwh.js} +11 -11
- package/dist/chunks/{location-mutation-k52252t7.js → mime-jrrn2k62.js} +4 -4
- package/dist/chunks/{location-mutation-3ey06gfw.js → mime-k62eh0b0.js} +18 -18
- package/dist/chunks/{location-mutation-cwkw9hxx.js → mime-k7jm4f84.js} +13 -13
- package/dist/chunks/mime-ke91xv87.js +22 -0
- package/dist/chunks/{location-mutation-kg06axw8.js → mime-kg06axw8.js} +1 -1
- package/dist/chunks/{location-mutation-x09zjz10.js → mime-kj2znnrq.js} +17 -17
- package/dist/chunks/{location-mutation-rdg9mn3e.js → mime-ks5zvpf5.js} +20 -20
- package/dist/chunks/{location-mutation-mtk4wbwh.js → mime-ksxmc9x1.js} +21 -21
- package/dist/chunks/{location-mutation-82b3faa1.js → mime-m68nj7r9.js} +17 -17
- package/dist/chunks/{location-mutation-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-mutation-hzee8rjr.js → mime-mjvjnw4h.js} +9 -9
- package/dist/chunks/{location-mutation-mkcjrzeh.js → mime-mkcjrzeh.js} +1 -1
- package/dist/chunks/{location-mutation-er8gb86w.js → mime-mnf23ea4.js} +26 -26
- package/dist/chunks/{location-mutation-wvt7g9ep.js → mime-mr2v9wf4.js} +24 -24
- package/dist/chunks/{location-mutation-0xtb2bpj.js → mime-mtk5ndsr.js} +14 -14
- package/dist/chunks/{location-mutation-3ft82nyq.js → mime-n5kwx7gq.js} +4 -4
- package/dist/chunks/{location-mutation-ydnbdpr3.js → mime-n5xbayh6.js} +22 -22
- package/dist/chunks/{location-mutation-zerdtc7d.js → mime-nhvhf6q8.js} +6 -6
- package/dist/chunks/{location-mutation-hjt4xg1x.js → mime-nhy5jxhy.js} +4 -4
- package/dist/chunks/{location-mutation-dk6r9dar.js → mime-nrywpzpw.js} +35 -35
- package/dist/chunks/{location-mutation-fra1pztx.js → mime-nvv6ksyw.js} +11 -11
- package/dist/chunks/{location-mutation-7358hqzw.js → mime-nwdm76cq.js} +5 -5
- package/dist/chunks/{location-mutation-vyjzrkx0.js → mime-nzwzy72p.js} +9 -9
- package/dist/chunks/{location-mutation-326n6wzt.js → mime-p20t4hgc.js} +4 -4
- package/dist/chunks/{location-mutation-ey5r276z.js → mime-p457xpe5.js} +24 -24
- package/dist/chunks/{location-mutation-82sjhv5t.js → mime-pcfbqvzv.js} +18 -18
- package/dist/chunks/{location-mutation-tkfj7zmc.js → mime-pepxxxk4.js} +15 -15
- package/dist/chunks/mime-pf31ssb9.js +18 -0
- package/dist/chunks/{location-mutation-q9hbvwne.js → mime-ph4vew0r.js} +27 -27
- package/dist/chunks/{location-mutation-gxw8tk06.js → mime-pjbf9ctw.js} +23 -23
- package/dist/chunks/{location-mutation-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-mutation-pknna89w.js → mime-pknna89w.js} +1 -1
- package/dist/chunks/{location-mutation-h7ygw6q4.js → mime-pnv527nz.js} +9 -9
- package/dist/chunks/{location-mutation-vhsk3ep2.js → mime-ptx1re91.js} +16 -16
- package/dist/chunks/{location-mutation-gz0k60p5.js → mime-pysvbzwn.js} +11 -11
- package/dist/chunks/{location-mutation-2c2zxp3e.js → mime-q5qz823n.js} +8 -8
- package/dist/chunks/{location-mutation-01qzhqb7.js → mime-q8yqvf1x.js} +46 -46
- package/dist/chunks/{location-mutation-pnhga6ht.js → mime-q91m3jje.js} +27 -27
- package/dist/chunks/{location-mutation-qk64x1h5.js → mime-qas58w1m.js} +17 -17
- package/dist/chunks/{location-mutation-m46exch3.js → mime-qfzde7bh.js} +6 -6
- package/dist/chunks/{location-mutation-qsdy395h.js → mime-qsdy395h.js} +1 -1
- package/dist/chunks/{location-mutation-kqg17zeb.js → mime-qtz3a6jv.js} +18 -18
- package/dist/chunks/{location-mutation-6ds839xg.js → mime-qzrpvtg4.js} +30 -30
- package/dist/chunks/{location-mutation-m75h0q20.js → mime-r8h10sqf.js} +18 -18
- package/dist/chunks/{location-mutation-ps2ghfx6.js → mime-raesbxmz.js} +17 -17
- package/dist/chunks/{location-mutation-5t94bsj9.js → mime-raswn23k.js} +6 -6
- package/dist/chunks/{location-mutation-rsym84ch.js → mime-rk0rec3h.js} +9 -9
- package/dist/chunks/{location-mutation-ch56cc6g.js → mime-rqb94c9k.js} +32 -32
- package/dist/chunks/{location-mutation-ds2mmwsg.js → mime-rqcbxq1a.js} +8 -8
- package/dist/chunks/{location-mutation-kvgx6hxn.js → mime-rwgm3mzx.js} +18 -18
- package/dist/chunks/{location-mutation-yrznvahk.js → mime-s4enseaf.js} +2 -2
- package/dist/chunks/{location-mutation-57f52h2e.js → mime-sgcz6c7m.js} +6 -6
- package/dist/chunks/{location-mutation-qx1qep3t.js → mime-sgfkh1bp.js} +4 -4
- package/dist/chunks/{location-mutation-1z2mvqeh.js → mime-sqbb1ame.js} +77 -77
- package/dist/chunks/{location-mutation-7yg93r1e.js → mime-ss0w00xq.js} +25 -25
- package/dist/chunks/{location-mutation-w79zsp0s.js → mime-t23qze4t.js} +1 -1
- package/dist/chunks/mime-t63dq77n.js +462 -0
- package/dist/chunks/{location-mutation-380vjcmd.js → mime-t8mcaem5.js} +1 -1
- package/dist/chunks/{location-mutation-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-mutation-tcezcvh9.js → mime-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-mutation-tdstcens.js → mime-tdstcens.js} +1 -1
- package/dist/chunks/{location-mutation-gv6a8nnw.js → mime-th5km1p3.js} +5 -5
- package/dist/chunks/{location-mutation-wtvz3wcx.js → mime-trnmv04k.js} +7 -7
- package/dist/chunks/{location-mutation-rm353m6a.js → mime-trt080zq.js} +11 -11
- package/dist/chunks/{location-mutation-tvtrv512.js → mime-tvtrv512.js} +1 -1
- package/dist/chunks/{location-mutation-nzt9a98p.js → mime-tw1xqvj0.js} +15 -15
- package/dist/chunks/{location-mutation-xmsvvm95.js → mime-v066hq9k.js} +9 -9
- package/dist/chunks/{location-mutation-9crejs1k.js → mime-v6wgkvby.js} +16 -16
- package/dist/chunks/{location-mutation-c1rv2yct.js → mime-v9c0yk75.js} +23 -23
- package/dist/chunks/{location-mutation-sb3d3j8p.js → mime-vac3gahf.js} +7 -7
- package/dist/chunks/{location-mutation-3xztec2w.js → mime-vbedh2fb.js} +10 -10
- package/dist/chunks/{location-mutation-0v53mg2y.js → mime-ve4pfa0n.js} +4 -4
- package/dist/chunks/{location-mutation-veqvce7d.js → mime-veqvce7d.js} +1 -1
- package/dist/chunks/{location-mutation-19hac7dy.js → mime-vqm5846v.js} +23 -23
- package/dist/chunks/{location-mutation-8hmgw1ak.js → mime-vsp1fds9.js} +21 -21
- package/dist/chunks/{location-mutation-vzcthcp8.js → mime-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-mutation-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-mutation-rmdyxgmk.js → mime-w49382pb.js} +8 -8
- package/dist/chunks/{location-mutation-mx4qes0k.js → mime-w4ry6v67.js} +15 -15
- package/dist/chunks/{location-mutation-510m7gjw.js → mime-wbkyxrgf.js} +5 -5
- package/dist/chunks/{location-mutation-wd87259q.js → mime-wd87259q.js} +1 -1
- package/dist/chunks/{location-mutation-g63tzfz2.js → mime-wk6ejfve.js} +86 -86
- package/dist/chunks/mime-wrph251t.js +260 -0
- package/dist/chunks/{location-mutation-knva4kt0.js → mime-wy6y1t1e.js} +11 -11
- package/dist/chunks/{location-mutation-x1ezjp6w.js → mime-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-mutation-52r26j8c.js → mime-x2xrmj38.js} +14 -14
- package/dist/chunks/{location-mutation-12fsa0de.js → mime-x3f1r9fb.js} +46 -46
- package/dist/chunks/{location-mutation-x43y2vfs.js → mime-x43y2vfs.js} +2 -2
- package/dist/chunks/{location-mutation-y871meh9.js → mime-xbektcpe.js} +14 -14
- package/dist/chunks/{location-mutation-0tpcnmcw.js → mime-xmvnw2y2.js} +6 -6
- package/dist/chunks/{location-mutation-8n1yswe0.js → mime-xnx3yphe.js} +17 -17
- package/dist/chunks/{location-mutation-gvcpdg76.js → mime-xnxgv7d0.js} +24 -24
- package/dist/chunks/{location-mutation-aggs0gse.js → mime-xqxzstc2.js} +22 -22
- package/dist/chunks/mime-xrsqh21y.js +4 -0
- package/dist/chunks/{location-mutation-zf5mq5hd.js → mime-xw855dvr.js} +5 -5
- package/dist/chunks/{location-mutation-7wdjtyr9.js → mime-xxynqx5z.js} +3 -3
- package/dist/chunks/{location-mutation-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-mutation-cfyxn8mg.js → mime-y2vyg5am.js} +9 -9
- package/dist/chunks/{location-mutation-trqnt801.js → mime-y4bv9z8t.js} +9 -9
- package/dist/chunks/{location-mutation-0mbwctnz.js → mime-y6r7tp3a.js} +3 -3
- package/dist/chunks/{location-mutation-jwcy2c2z.js → mime-y71avatq.js} +4 -4
- package/dist/chunks/{location-mutation-1zk7d5w4.js → mime-y9rm29sj.js} +13 -13
- package/dist/chunks/mime-ycmhfh0q.js +247 -0
- package/dist/chunks/{location-mutation-1nx36s23.js → mime-ym5c4crg.js} +25 -25
- package/dist/chunks/{location-mutation-ea47fqf8.js → mime-yndz2tmv.js} +27 -27
- package/dist/chunks/{location-mutation-yrhqyw5v.js → mime-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-mutation-36ch212h.js → mime-yteqj4qp.js} +11 -11
- package/dist/chunks/{location-mutation-p14yjxpe.js → mime-yvmq8qxx.js} +14 -14
- package/dist/chunks/{location-mutation-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-mutation-zbqs32x3.js → mime-z10kvaap.js} +58 -58
- package/dist/chunks/{location-mutation-csw82taa.js → mime-z7rmcad6.js} +50 -50
- package/dist/chunks/{location-mutation-v7q5x8q4.js → mime-zb35j76j.js} +36 -36
- package/dist/chunks/{location-mutation-fqj9nv8j.js → mime-ze5v0a14.js} +8 -8
- package/dist/chunks/{location-mutation-zeh9ct20.js → mime-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-mutation-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-mutation-9nhtjm7a.js → mime-zrw1v1rz.js} +32 -32
- package/dist/chunks/{location-mutation-6mv28wt3.js → mime-zt7bfs1h.js} +22 -22
- package/dist/chunks/{location-mutation-zxq2ej10.js → mime-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-mutation-q1c4k7jk.js → mime-zxwpk2nb.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +88 -88
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +89 -89
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +133 -133
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +350 -350
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +10 -10
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +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 +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +88 -88
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +86 -86
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +112 -112
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +115 -115
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +104 -104
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +99 -99
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +111 -111
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/types/session/compaction.d.ts +2 -2
- package/dist/types/session/context.d.ts +1 -1
- package/dist/types/session/model-request.d.ts +18 -37
- package/dist/types/session/runner/step.d.ts +1 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +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 +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +74 -74
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/location-mutation-0mesazry.js +0 -4
- package/dist/chunks/location-mutation-8amm28tb.js +0 -462
- package/dist/chunks/location-mutation-8c4fmeec.js +0 -247
- package/dist/chunks/location-mutation-ht5y0zrb.js +0 -18
- package/dist/chunks/location-mutation-hv8hjp39.js +0 -270
- package/dist/chunks/location-mutation-pv53ra6t.js +0 -22
- /package/dist/chunks/{location-mutation-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-mutation-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-mutation-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-mutation-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-mutation-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-mutation-2710q6r3.js → mime-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-mutation-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-mutation-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-mutation-359p4xyc.js → mime-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-mutation-3asan66x.js → mime-3asan66x.js} +0 -0
- /package/dist/chunks/{location-mutation-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-mutation-3w5fmr99.js → mime-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-mutation-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-mutation-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-mutation-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-mutation-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-mutation-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-mutation-53557ph1.js → mime-53557ph1.js} +0 -0
- /package/dist/chunks/{location-mutation-550bvhaj.js → mime-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-mutation-6prwharc.js → mime-6prwharc.js} +0 -0
- /package/dist/chunks/{location-mutation-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-mutation-7m9af43g.js → mime-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-mutation-822emrt2.js → mime-822emrt2.js} +0 -0
- /package/dist/chunks/{location-mutation-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-mutation-8n3pysct.js → mime-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-mutation-922hggd3.js → mime-922hggd3.js} +0 -0
- /package/dist/chunks/{location-mutation-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-mutation-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-mutation-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-mutation-af5trqkr.js → mime-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-mutation-afrmfg78.js → mime-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-mutation-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-mutation-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-mutation-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-mutation-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-mutation-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-mutation-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-mutation-d9fn303g.js → mime-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-mutation-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-mutation-dajrwvna.js → mime-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-mutation-dap0rakb.js → mime-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-mutation-df08tz66.js → mime-df08tz66.js} +0 -0
- /package/dist/chunks/{location-mutation-dy18nga0.js → mime-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-mutation-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-mutation-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-mutation-ec1grn59.js → mime-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-mutation-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-mutation-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-mutation-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-mutation-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-mutation-faypxj3z.js → mime-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-mutation-fd410y7t.js → mime-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-mutation-fxgpk5d8.js → mime-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-mutation-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-mutation-g86h250q.js → mime-g86h250q.js} +0 -0
- /package/dist/chunks/{location-mutation-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-mutation-gftt206x.js → mime-gftt206x.js} +0 -0
- /package/dist/chunks/{location-mutation-hjbc5kem.js → mime-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-mutation-hk9envan.js → mime-hk9envan.js} +0 -0
- /package/dist/chunks/{location-mutation-hrnqkpcd.js → mime-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{location-mutation-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-mutation-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-mutation-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-mutation-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-mutation-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mutation-mp448xyj.js → mime-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-mutation-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-mutation-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-mutation-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-mutation-njntx4h6.js → mime-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-mutation-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-mutation-q74kybfr.js → mime-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-mutation-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-mutation-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-mutation-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-mutation-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-mutation-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-mutation-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-mutation-sk3qaz4a.js → mime-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-mutation-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-mutation-twg0f83k.js → mime-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-mutation-w803qqfp.js → mime-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-mutation-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-mutation-wtztk69x.js → mime-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-mutation-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-mutation-x61499pn.js → mime-x61499pn.js} +0 -0
- /package/dist/chunks/{location-mutation-y44na4kk.js → mime-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-mutation-y8cydn3q.js → mime-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-mutation-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-mutation-ym463w8f.js → mime-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-mutation-z9919s4g.js → mime-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service66,
|
|
6
|
+
node71
|
|
7
|
+
} from "./mime-raesbxmz.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service48,
|
|
10
|
+
node51
|
|
11
|
+
} from "./mime-k62eh0b0.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./mime-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options5,
|
|
25
|
+
Service: () => Service47,
|
|
26
|
+
configured: () => configured5,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer18,
|
|
29
|
+
node: () => node50,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options5 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service47 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service47, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service66;
|
|
63
|
+
const ripgrep = yield* Service48;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service47.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service47, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service66;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service47.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service47.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer18 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service66;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured5(options) {
|
|
186
|
+
return makeLocationNode({ service: Service47, layer: layer18(options), deps: [node71, node51] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node50 = configured5();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options5, Service47, ripgrepLayer2, fffLayer2, layer18, configured5, node50, exports_search };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/lsp.ts
|
|
6
6
|
var exports_lsp = {};
|
|
7
7
|
__export(exports_lsp, {
|
|
8
8
|
ConfigLSPV1: () => exports_lsp,
|
|
9
9
|
Disabled: () => Disabled2,
|
|
10
|
-
Entry: () =>
|
|
11
|
-
Info: () =>
|
|
10
|
+
Entry: () => Entry3,
|
|
11
|
+
Info: () => Info14,
|
|
12
12
|
builtinServerIds: () => builtinServerIds2,
|
|
13
13
|
requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
|
|
14
14
|
});
|
|
@@ -16,7 +16,7 @@ import { Schema } from "effect";
|
|
|
16
16
|
var Disabled2 = Schema.Struct({
|
|
17
17
|
disabled: Schema.Literal(true)
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Entry3 = Schema.Union([
|
|
20
20
|
Disabled2,
|
|
21
21
|
Schema.Struct({
|
|
22
22
|
command: Schema.mutable(Schema.Array(Schema.String)),
|
|
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
|
|
|
79
79
|
});
|
|
80
80
|
return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
|
|
81
81
|
});
|
|
82
|
-
var
|
|
82
|
+
var Info14 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]).check(requiresExtensionsForCustomServers2);
|
|
83
83
|
|
|
84
|
-
export { Disabled2,
|
|
84
|
+
export { Disabled2, Entry3, builtinServerIds2, requiresExtensionsForCustomServers2, Info14, exports_lsp };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/formatter.ts
|
|
6
6
|
var exports_formatter3 = {};
|
|
7
7
|
__export(exports_formatter3, {
|
|
8
8
|
ConfigFormatterV1: () => exports_formatter3,
|
|
9
|
-
Entry: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
Entry: () => Entry4,
|
|
10
|
+
Info: () => Info17
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
13
|
+
var Entry4 = Schema.Struct({
|
|
14
14
|
disabled: Schema.optional(Schema.Boolean),
|
|
15
15
|
command: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
16
16
|
environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
17
17
|
extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Info17 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]);
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Entry4, Info17, exports_formatter3 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/repository.ts
|
|
6
6
|
var exports_repository = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_repository, {
|
|
|
13
13
|
cachePath: () => cachePath2,
|
|
14
14
|
isFile: () => isFile2,
|
|
15
15
|
isRemote: () => isRemote2,
|
|
16
|
-
parse: () =>
|
|
16
|
+
parse: () => parse4,
|
|
17
17
|
parseRemote: () => parseRemote2,
|
|
18
18
|
same: () => same2,
|
|
19
19
|
validateBranch: () => validateBranch3
|
|
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
|
|
|
39
39
|
message: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function parse4(input) {
|
|
43
43
|
const cleaned = normalizeInput(input);
|
|
44
44
|
if (!cleaned)
|
|
45
45
|
return;
|
|
@@ -72,7 +72,7 @@ function parse5(input) {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
function parseRemote2(input) {
|
|
75
|
-
const reference =
|
|
75
|
+
const reference = parse4(input);
|
|
76
76
|
if (!reference) {
|
|
77
77
|
throw new InvalidReferenceError2({
|
|
78
78
|
repository: input,
|
|
@@ -172,4 +172,4 @@ function buildFile(input) {
|
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3,
|
|
175
|
+
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse4, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-988ynk0k.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node84
|
|
8
|
+
} from "./mime-d414zwqj.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service63,
|
|
11
|
+
node68
|
|
12
|
+
} from "./mime-5rgkh6ng.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service40,
|
|
15
|
+
node43
|
|
16
|
+
} from "./mime-qfzde7bh.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./mime-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make15
|
|
22
|
+
} from "./mime-f2n192rq.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service37
|
|
26
|
+
} from "./mime-gst7axd9.js";
|
|
27
27
|
import {
|
|
28
28
|
UserInterruptedError2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./mime-ga6hqhxm.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
31
|
+
Service43,
|
|
32
|
+
node46
|
|
33
|
+
} from "./mime-mtk5ndsr.js";
|
|
34
34
|
import {
|
|
35
35
|
toSessionError2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./mime-39cv1g88.js";
|
|
37
37
|
import {
|
|
38
38
|
nextPromotable2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./mime-ph4vew0r.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./mime-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/session/execution.ts
|
|
45
45
|
var exports_execution = {};
|
|
46
46
|
__export(exports_execution, {
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service36,
|
|
48
48
|
SessionExecution: () => exports_execution,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
51
|
-
noopLayer: () =>
|
|
49
|
+
layer: () => layer15,
|
|
50
|
+
node: () => node40,
|
|
51
|
+
noopLayer: () => noopLayer3,
|
|
52
52
|
terminal: () => terminal2
|
|
53
53
|
});
|
|
54
54
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
55
55
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
56
|
-
class
|
|
56
|
+
class Service36 extends Context.Service()("@opencode/SessionExecution") {
|
|
57
57
|
}
|
|
58
58
|
function terminal2(exit, reason) {
|
|
59
59
|
if (Exit.isSuccess(exit))
|
|
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
|
|
|
65
65
|
return { type: "interrupted", reason: "user" };
|
|
66
66
|
return { type: "failed", error: toSessionError2(failure) };
|
|
67
67
|
}
|
|
68
|
-
var
|
|
69
|
-
const store = yield*
|
|
70
|
-
const instances = yield*
|
|
71
|
-
const bus = yield*
|
|
72
|
-
const jobs = yield*
|
|
68
|
+
var layer15 = Layer.effect(Service36, Effect.gen(function* () {
|
|
69
|
+
const store = yield* Service43;
|
|
70
|
+
const instances = yield* Service40;
|
|
71
|
+
const bus = yield* Service79;
|
|
72
|
+
const jobs = yield* Service63;
|
|
73
73
|
const db = (yield* Service80).db;
|
|
74
74
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
75
75
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -82,13 +82,13 @@ var layer17 = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
82
82
|
const session = yield* store.get(sessionID);
|
|
83
83
|
if (!session)
|
|
84
84
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
85
|
-
const result = yield*
|
|
85
|
+
const result = yield* Service37.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
86
86
|
return yield* DrainResult2.$match(result, {
|
|
87
87
|
Complete: () => Effect.void,
|
|
88
88
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable)
|
|
89
89
|
});
|
|
90
90
|
});
|
|
91
|
-
const coordinator = yield*
|
|
91
|
+
const coordinator = yield* make15({
|
|
92
92
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
93
93
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
94
94
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -109,7 +109,7 @@ var layer17 = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
109
109
|
}, releaseOnCommit(sessionID));
|
|
110
110
|
}))
|
|
111
111
|
});
|
|
112
|
-
return
|
|
112
|
+
return Service36.of({
|
|
113
113
|
active: coordinator.active,
|
|
114
114
|
isActive: coordinator.isActive,
|
|
115
115
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -128,12 +128,12 @@ var layer17 = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
128
128
|
awaitIdle: coordinator.awaitIdle
|
|
129
129
|
});
|
|
130
130
|
}));
|
|
131
|
-
var
|
|
132
|
-
service:
|
|
133
|
-
layer:
|
|
134
|
-
deps: [
|
|
131
|
+
var node40 = makeGlobalNode({
|
|
132
|
+
service: Service36,
|
|
133
|
+
layer: layer15,
|
|
134
|
+
deps: [node46, node43, node84, node85, node68]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
136
|
+
var noopLayer3 = Layer.succeed(Service36, Service36.of({
|
|
137
137
|
active: Effect.succeed(new Set),
|
|
138
138
|
isActive: () => Effect.succeed(false),
|
|
139
139
|
resume: () => Effect.void,
|
|
@@ -142,4 +142,4 @@ var noopLayer2 = Layer.succeed(Service40, Service40.of({
|
|
|
142
142
|
awaitIdle: () => Effect.void
|
|
143
143
|
}));
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { Service36, terminal2, layer15, node40, noopLayer3, exports_execution };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./mime-d414zwqj.js";
|
|
5
|
+
import {
|
|
6
|
+
Key4,
|
|
2
7
|
Service77,
|
|
3
8
|
node82
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Key3,
|
|
7
|
-
Service65,
|
|
8
|
-
node70
|
|
9
|
-
} from "./location-mutation-r17fvq36.js";
|
|
9
|
+
} from "./mime-1pp8xbfm.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./mime-8sjdtssw.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./mime-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -30,17 +30,17 @@ __export(exports_integration, {
|
|
|
30
30
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
31
31
|
CommandMethod: () => CommandMethod2,
|
|
32
32
|
EnvMethod: () => EnvMethod2,
|
|
33
|
-
Event: () =>
|
|
34
|
-
ID: () =>
|
|
35
|
-
Info: () =>
|
|
33
|
+
Event: () => Event18,
|
|
34
|
+
ID: () => ID14,
|
|
35
|
+
Info: () => Info29,
|
|
36
36
|
Integration: () => exports_integration,
|
|
37
37
|
KeyMethod: () => KeyMethod2,
|
|
38
38
|
Method: () => Method2,
|
|
39
39
|
MethodID: () => MethodID2,
|
|
40
40
|
OAuthMethod: () => OAuthMethod2,
|
|
41
|
-
Ref: () =>
|
|
42
|
-
Service: () =>
|
|
43
|
-
node: () =>
|
|
41
|
+
Ref: () => Ref3,
|
|
42
|
+
Service: () => Service76,
|
|
43
|
+
node: () => node81
|
|
44
44
|
});
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import {
|
|
@@ -61,8 +61,8 @@ import {
|
|
|
61
61
|
import { Integration } from "@opencode/schema/integration";
|
|
62
62
|
import { AppProcess } from "@opencode/util/process";
|
|
63
63
|
import { ChildProcess } from "effect/unstable/process";
|
|
64
|
-
import { Event as
|
|
65
|
-
var
|
|
64
|
+
import { Event as Event18 } from "@opencode/schema/integration";
|
|
65
|
+
var ID14 = Integration.ID;
|
|
66
66
|
var MethodID2 = Integration.MethodID;
|
|
67
67
|
var AttemptID2 = Integration.AttemptID;
|
|
68
68
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
70
70
|
var KeyMethod2 = Integration.KeyMethod;
|
|
71
71
|
var EnvMethod2 = Integration.EnvMethod;
|
|
72
72
|
var Method2 = Integration.Method;
|
|
73
|
-
var
|
|
73
|
+
var Info29 = Integration.Info;
|
|
74
74
|
var Attempt2 = Integration.Attempt;
|
|
75
75
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
76
76
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -85,16 +85,16 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
85
85
|
cause: Schema.Defect()
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Ref3 = Integration.Ref;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service76 extends Context.Service()("@opencode/Integration") {
|
|
91
91
|
}
|
|
92
92
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
93
93
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
94
94
|
var scrubInterval = Duration.seconds(30);
|
|
95
|
-
var layer = Layer.effect(
|
|
96
|
-
const credentials = yield*
|
|
97
|
-
const bus = yield*
|
|
95
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
96
|
+
const credentials = yield* Service77;
|
|
97
|
+
const bus = yield* Service79;
|
|
98
98
|
const processes = yield* AppProcess.Service;
|
|
99
99
|
const scope = yield* Scope.Scope;
|
|
100
100
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
187
187
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
188
188
|
return [...credentials, ...env];
|
|
189
189
|
};
|
|
190
|
-
const project = (entry, connections) =>
|
|
190
|
+
const project = (entry, connections) => Info29.make({
|
|
191
191
|
id: entry.ref.id,
|
|
192
192
|
name: entry.ref.name,
|
|
193
193
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -271,7 +271,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
271
271
|
const persistence = yield* createCredential({
|
|
272
272
|
integrationID: attempt.integrationID,
|
|
273
273
|
label: attempt.label,
|
|
274
|
-
value:
|
|
274
|
+
value: Key4.make({ type: "key", key: exit.value })
|
|
275
275
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
276
276
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
277
277
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
417
417
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
418
418
|
return CommandAttempt2.make({ attemptID, time });
|
|
419
419
|
});
|
|
420
|
-
return
|
|
420
|
+
return Service76.of({
|
|
421
421
|
transform: state.transform,
|
|
422
422
|
reload: state.reload,
|
|
423
423
|
get: Effect.fn("Integration.get")(function* (id) {
|
|
@@ -438,7 +438,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
438
438
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
439
439
|
if (connection.type === "env") {
|
|
440
440
|
const key = process.env[connection.name];
|
|
441
|
-
return key ?
|
|
441
|
+
return key ? Key4.make({ type: "key", key }) : undefined;
|
|
442
442
|
}
|
|
443
443
|
const credential = yield* credentials.get(connection.id);
|
|
444
444
|
if (!credential)
|
|
@@ -471,7 +471,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
471
471
|
yield* createCredential({
|
|
472
472
|
integrationID: input.integrationID,
|
|
473
473
|
label: input.label,
|
|
474
|
-
value:
|
|
474
|
+
value: Key4.make({
|
|
475
475
|
type: "key",
|
|
476
476
|
key: input.key,
|
|
477
477
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
565
565
|
}
|
|
566
566
|
});
|
|
567
567
|
}));
|
|
568
|
-
var
|
|
569
|
-
service:
|
|
568
|
+
var node81 = makeLocationNode({
|
|
569
|
+
service: Service76,
|
|
570
570
|
layer,
|
|
571
|
-
deps: [
|
|
571
|
+
deps: [node82, node84, AppProcess.node]
|
|
572
572
|
});
|
|
573
573
|
|
|
574
|
-
export {
|
|
574
|
+
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info29, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref3, Service76, node81, exports_integration, Event18 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NamedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-2axfhc9x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/error.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
ConfigErrorV1: () =>
|
|
9
|
+
var exports_error2 = {};
|
|
10
|
+
__export(exports_error2, {
|
|
11
|
+
ConfigErrorV1: () => exports_error2,
|
|
12
12
|
DirectoryTypoError: () => DirectoryTypoError2,
|
|
13
13
|
FrontmatterError: () => FrontmatterError2,
|
|
14
14
|
InvalidError: () => InvalidError2,
|
|
@@ -43,4 +43,4 @@ var RemoteAuthError2 = NamedError2.create("ConfigRemoteAuthError", {
|
|
|
43
43
|
remote: Schema.String
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2,
|
|
46
|
+
export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-exclusion.ts
|
|
6
6
|
var exports_mcp_codemode_exclusion = {};
|
|
7
7
|
__export(exports_mcp_codemode_exclusion, {
|
|
8
8
|
McpCodeModeExclusionPlugin: () => exports_mcp_codemode_exclusion,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin9
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
|
-
var
|
|
14
|
+
var Plugin9 = define({
|
|
15
15
|
id: "opencode.mcp.codemode.exclusion",
|
|
16
16
|
effect: Effect.fn(function* (ctx) {
|
|
17
17
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -34,4 +34,4 @@ var Plugin28 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin9, exports_mcp_codemode_exclusion };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-988ynk0k.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service64,
|
|
17
|
+
node: () => node69
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service64 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service80).db;
|
|
26
|
-
return
|
|
26
|
+
return Service64.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node69 = makeGlobalNode({ service: Service64, layer, deps: [node85] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service64, node69, exports_kv };
|