@opencode-ai/core 0.0.0-beta-19192 → 0.0.0-beta-19213
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 +67 -67
- package/dist/catalog.js +83 -82
- package/dist/chunks/{image-9dknczgv.js → config-061jmrcd.js} +11 -11
- package/dist/chunks/{image-075hqz1p.js → config-0d3z7n3v.js} +4 -4
- package/dist/chunks/{image-0e0xafbb.js → config-0e0xafbb.js} +2 -2
- package/dist/chunks/{image-r82wxrk3.js → config-0eq6scaw.js} +24 -24
- package/dist/chunks/{image-qkxs7z50.js → config-0hnzrfya.js} +12 -12
- package/dist/chunks/{image-zjv8y9ya.js → config-0kka2cce.js} +23 -23
- package/dist/chunks/{image-r5w2ssxe.js → config-0myjdyv6.js} +9 -9
- package/dist/chunks/{image-0paq2nw3.js → config-0paq2nw3.js} +1 -1
- package/dist/chunks/config-0q0f95c6.js +37 -0
- package/dist/chunks/{image-ncdrabr4.js → config-0rh3kdcc.js} +5 -5
- package/dist/chunks/{image-0s9ayhjt.js → config-0s9ayhjt.js} +1 -1
- package/dist/chunks/{image-6h414ywr.js → config-0xd2d7hb.js} +5 -5
- package/dist/chunks/{image-r5vb7384.js → config-125x8yrg.js} +64 -64
- package/dist/chunks/{image-qhywa2va.js → config-12zagvq5.js} +11 -11
- package/dist/chunks/{image-mhkvc446.js → config-1bbkgx8g.js} +3 -3
- package/dist/chunks/{image-1ct4r87x.js → config-1ct4r87x.js} +1 -1
- package/dist/chunks/{image-ngt1cn5s.js → config-1g5vg7jg.js} +35 -35
- package/dist/chunks/{image-hzxq4bdr.js → config-1hy241bm.js} +3 -3
- package/dist/chunks/{image-y9a9s7mp.js → config-1ksmjq1b.js} +15 -15
- package/dist/chunks/{image-5e15319b.js → config-1q5awywt.js} +5 -5
- package/dist/chunks/{image-1226r2df.js → config-1qd474pp.js} +83 -83
- package/dist/chunks/{image-zjwxsg17.js → config-1qhtjtvh.js} +16 -16
- package/dist/chunks/{image-49z4sxtc.js → config-1rm0drdm.js} +2 -2
- package/dist/chunks/{image-qkmcd2xy.js → config-1s0bkp3w.js} +20 -20
- package/dist/chunks/{image-1tjjswnh.js → config-1szztnv1.js} +46 -46
- package/dist/chunks/{image-9r22tjds.js → config-1x5g2886.js} +13 -13
- package/dist/chunks/{image-21r38tys.js → config-21r38tys.js} +1 -1
- package/dist/chunks/{image-nbxe4rdy.js → config-25wcb9q3.js} +26 -26
- package/dist/chunks/{image-z63w68vq.js → config-29x78va6.js} +6 -6
- package/dist/chunks/{image-2a5m3afh.js → config-2a5m3afh.js} +1 -1
- package/dist/chunks/{image-n1kbsmd5.js → config-2cbb5et2.js} +18 -18
- package/dist/chunks/{image-z1mrzrph.js → config-2cp3nfy6.js} +18 -18
- package/dist/chunks/{image-2ht70gj7.js → config-2ht70gj7.js} +1 -1
- package/dist/chunks/{image-4ehv4ads.js → config-2w6bfmvf.js} +1 -1
- package/dist/chunks/{image-fffs3heh.js → config-31p5zh2n.js} +16 -16
- package/dist/chunks/{image-nphrg578.js → config-31x7p75b.js} +8 -8
- package/dist/chunks/{image-7x53jcvj.js → config-33jxrbwg.js} +22 -22
- package/dist/chunks/{image-v5rgjsm5.js → config-34595bsr.js} +27 -27
- package/dist/chunks/{image-jwy076d6.js → config-34gj6exr.js} +25 -25
- package/dist/chunks/{image-fdh5tbn3.js → config-3567rzqq.js} +4 -4
- package/dist/chunks/{image-6m3crmzc.js → config-3b3zr0wm.js} +24 -24
- package/dist/chunks/{image-3fc6dm20.js → config-3fc6dm20.js} +1 -1
- package/dist/chunks/{image-3hepkmqq.js → config-3hepkmqq.js} +1 -1
- package/dist/chunks/{image-shzqw592.js → config-3mp3qnpc.js} +3 -3
- package/dist/chunks/{image-3qzbfqsy.js → config-3qzbfqsy.js} +2 -2
- package/dist/chunks/{image-x4vht8q3.js → config-3qze2g25.js} +2 -2
- package/dist/chunks/{image-3smtnn6g.js → config-3smtnn6g.js} +1 -1
- package/dist/chunks/{image-3tvqynh2.js → config-3tvqynh2.js} +1 -1
- package/dist/chunks/{image-x4j0zqk8.js → config-42yc5jqn.js} +8 -8
- package/dist/chunks/{image-454k5vzh.js → config-454k5vzh.js} +1 -1
- package/dist/chunks/config-49szrax7.js +193 -0
- package/dist/chunks/{image-9pdz2n87.js → config-4caeeh9x.js} +21 -21
- package/dist/chunks/{image-jpmhptrj.js → config-4d8x6c4r.js} +24 -24
- package/dist/chunks/{image-4r2nyarf.js → config-4r2nyarf.js} +1 -1
- package/dist/chunks/{image-5daktx2q.js → config-5daktx2q.js} +1 -1
- package/dist/chunks/{image-5fmxt4p5.js → config-5fmxt4p5.js} +1 -1
- package/dist/chunks/{image-h0nyqvwm.js → config-5g1rmrcr.js} +17 -17
- package/dist/chunks/{image-cam0w9m9.js → config-5gf0fqf4.js} +7 -7
- package/dist/chunks/{image-5jvc5tg2.js → config-5jvc5tg2.js} +1 -1
- package/dist/chunks/{image-jrhxhxw8.js → config-5kwxw01f.js} +17 -17
- package/dist/chunks/{image-c6hb7xc2.js → config-5s58fjqb.js} +82 -82
- package/dist/chunks/{image-7skcpgmc.js → config-5thcqahd.js} +9 -9
- package/dist/chunks/config-5yahp969.js +22 -0
- package/dist/chunks/{image-fv5fa0fb.js → config-64p3nd57.js} +43 -43
- package/dist/chunks/{image-qv4r87jq.js → config-66e0jw58.js} +10 -10
- package/dist/chunks/{image-dxnmgjbm.js → config-66r7hxb5.js} +7 -7
- package/dist/chunks/{image-1s3p39g4.js → config-6anwy9fs.js} +6 -6
- package/dist/chunks/{image-dvx7ppq8.js → config-6bz4kze7.js} +12 -12
- package/dist/chunks/{image-ak4wpdp5.js → config-6cdt56q6.js} +31 -31
- package/dist/chunks/{image-2402vzrj.js → config-6h73sxmp.js} +5 -5
- package/dist/chunks/{image-9nrx719g.js → config-6kd929vb.js} +6 -6
- package/dist/chunks/{image-1wne4z4q.js → config-6m3ezb16.js} +21 -21
- package/dist/chunks/{image-j2rs2004.js → config-6v7n0t7d.js} +14 -14
- package/dist/chunks/{image-j3g33syr.js → config-6vtapc9a.js} +7 -7
- package/dist/chunks/{image-711hfp6y.js → config-711hfp6y.js} +2 -2
- package/dist/chunks/{image-72nftnjy.js → config-72nftnjy.js} +2 -2
- package/dist/chunks/{image-pq15x4g3.js → config-768z0hjh.js} +1 -1
- package/dist/chunks/{image-c5fpz85k.js → config-772t4z0t.js} +18 -18
- package/dist/chunks/{image-zpfznfa2.js → config-781c0shr.js} +39 -39
- package/dist/chunks/{image-7bmhse3q.js → config-7bmhse3q.js} +1 -1
- package/dist/chunks/{image-qgn6gcr1.js → config-7dqw4kz8.js} +5 -5
- package/dist/chunks/{image-7dntkcaf.js → config-7ev6n2de.js} +16 -16
- package/dist/chunks/config-7fj5dwt0.js +18 -0
- package/dist/chunks/{image-9tpbkn8j.js → config-7m25f6tj.js} +35 -35
- package/dist/chunks/{image-1jcnaza9.js → config-8a43n134.js} +7 -7
- package/dist/chunks/{image-hh10djt1.js → config-8edgd9kc.js} +19 -19
- package/dist/chunks/{image-30gfay9h.js → config-8tbmtt69.js} +11 -11
- package/dist/chunks/{image-q2qhh3tp.js → config-8zg6crxs.js} +9 -9
- package/dist/chunks/{image-r9gjvh9g.js → config-927n2qw7.js} +4 -4
- package/dist/chunks/{image-93a8yfjt.js → config-93a8yfjt.js} +2 -2
- package/dist/chunks/{image-s8kvec8m.js → config-99tv9yfq.js} +80 -50
- package/dist/chunks/{image-kt9eqfxj.js → config-9cwwn6v6.js} +15 -15
- package/dist/chunks/{image-kqtysscw.js → config-9qdabgrg.js} +13 -13
- package/dist/chunks/{image-qvbcabdc.js → config-9qm9egsn.js} +2 -2
- package/dist/chunks/{image-cqfmdc01.js → config-a48wttwm.js} +20 -20
- package/dist/chunks/{image-80c43yza.js → config-a84e6zwm.js} +6 -6
- package/dist/chunks/{image-aaet6srn.js → config-aaet6srn.js} +2 -2
- package/dist/chunks/{image-wxhc8dy1.js → config-ajhg4wh8.js} +18 -18
- package/dist/chunks/{image-yg7sb877.js → config-ajtjthsy.js} +2 -2
- package/dist/chunks/{image-0v53mg2y.js → config-an7cqtb7.js} +4 -4
- package/dist/chunks/{image-mstkx0nw.js → config-aqyb8ags.js} +3 -3
- package/dist/chunks/{image-1g7epwpd.js → config-at5d07az.js} +7 -7
- package/dist/chunks/{image-373aghza.js → config-ate8839h.js} +23 -23
- package/dist/chunks/{image-b45hdq4g.js → config-b01v16mj.js} +5 -5
- package/dist/chunks/{image-27t0qrmd.js → config-b232drbw.js} +22 -22
- package/dist/chunks/{image-cek3fbn3.js → config-b2ajq5jm.js} +13 -13
- package/dist/chunks/{image-2m4g9ewj.js → config-b5gjhjfs.js} +20 -20
- package/dist/chunks/{image-b6gygkdw.js → config-b6gygkdw.js} +2 -2
- package/dist/chunks/{image-h40ga2ve.js → config-b77p7m16.js} +6 -6
- package/dist/chunks/{image-b9wsbatv.js → config-b9wsbatv.js} +1 -1
- package/dist/chunks/{image-yqapfx1s.js → config-bbkddy5p.js} +15 -15
- package/dist/chunks/{image-8weygxvf.js → config-bpgxrmx0.js} +43 -43
- package/dist/chunks/{image-bcezcar3.js → config-bphmvjfp.js} +5 -5
- package/dist/chunks/{image-g18dkc9a.js → config-bqa69dka.js} +10 -10
- package/dist/chunks/{image-smn3ewtm.js → config-bskfj634.js} +2 -2
- package/dist/chunks/{image-ev17xj63.js → config-bwyjgagk.js} +20 -20
- package/dist/chunks/{image-tqqej2s1.js → config-bxnxgyw0.js} +8 -8
- package/dist/chunks/{image-mj3zgynk.js → config-c3yfqhda.js} +11 -11
- package/dist/chunks/{image-qm4x1tv3.js → config-cx2xxwvj.js} +11 -11
- package/dist/chunks/{image-5pn8t89y.js → config-d1a1bt21.js} +5 -5
- package/dist/chunks/{image-g2gt0w0k.js → config-d72308c8.js} +2 -2
- package/dist/chunks/{image-hgrms83d.js → config-d8kth2xv.js} +28 -28
- package/dist/chunks/{image-mjhwcw5v.js → config-dfa19mh9.js} +9 -9
- package/dist/chunks/{image-5qkxfyep.js → config-dg5bcj4q.js} +6 -6
- package/dist/chunks/{image-5zx8vqtq.js → config-dhj68qnj.js} +37 -37
- package/dist/chunks/{image-dm7yrpwm.js → config-dkbgd4kx.js} +5 -5
- package/dist/chunks/{image-r2t05dft.js → config-dn0akby4.js} +11 -11
- package/dist/chunks/{image-4m7v3r37.js → config-dvpfeqay.js} +30 -30
- package/dist/chunks/{image-6eew7fj7.js → config-dz34hndh.js} +19 -19
- package/dist/chunks/{image-2gbqcpts.js → config-e5wtx6yp.js} +27 -27
- package/dist/chunks/{image-c3ffnjw8.js → config-e61e1850.js} +9 -9
- package/dist/chunks/{image-epess5q8.js → config-e7hw5pty.js} +8 -8
- package/dist/chunks/{image-f8fjkg66.js → config-eedkthq6.js} +15 -15
- package/dist/chunks/{image-jasnfvjs.js → config-eg4pr325.js} +10 -10
- package/dist/chunks/{image-zrt27vz2.js → config-ehp0t27a.js} +11 -11
- package/dist/chunks/{image-rbx8vs9s.js → config-ek71w6eh.js} +31 -31
- package/dist/chunks/{image-37ekrbj5.js → config-eya5rc2y.js} +7 -7
- package/dist/chunks/{image-prt3w6sm.js → config-ezwsq5k5.js} +20 -20
- package/dist/chunks/{image-dwn642yz.js → config-f1tbd7xn.js} +151 -151
- package/dist/chunks/{image-yhngtrw1.js → config-fb0g3c6b.js} +17 -17
- package/dist/chunks/{image-mrdd2gsj.js → config-fqah0yx0.js} +13 -13
- package/dist/chunks/{image-g4p50gac.js → config-ftwhdg9r.js} +26 -26
- package/dist/chunks/{image-v55y9sra.js → config-fwac4zez.js} +1 -1
- package/dist/chunks/{image-fxbjtjnd.js → config-fxbjtjnd.js} +1 -1
- package/dist/chunks/{image-fxypknc8.js → config-fxypknc8.js} +1 -1
- package/dist/chunks/{image-75bx6y3z.js → config-g670t05w.js} +75 -30
- package/dist/chunks/{image-qy76r1wf.js → config-g7d0txer.js} +10 -10
- package/dist/chunks/{image-x42jkk5j.js → config-g83hhac8.js} +38 -55
- package/dist/chunks/{image-gd4qta3r.js → config-gd4qta3r.js} +1 -1
- package/dist/chunks/{image-stfc1yc9.js → config-gy0exn3t.js} +30 -30
- package/dist/chunks/{image-e1yg3ztk.js → config-h03b8j0b.js} +28 -28
- package/dist/chunks/{image-h6vf3j39.js → config-h6vf3j39.js} +1 -1
- package/dist/chunks/{image-heyhwy2w.js → config-heyhwy2w.js} +1 -1
- package/dist/chunks/{image-q7wd5sqm.js → config-hfs9c98a.js} +34 -34
- package/dist/chunks/{image-p37ez7j2.js → config-hna3j416.js} +16 -16
- package/dist/chunks/{image-bp57azs0.js → config-hnzcb2y8.js} +15 -15
- package/dist/chunks/{image-g2dy4bvs.js → config-hrvm11jt.js} +3 -3
- package/dist/chunks/{image-astevrj0.js → config-j1c7ngy9.js} +41 -41
- package/dist/chunks/{image-hvpnsy1s.js → config-j3nwj9gm.js} +9 -9
- package/dist/chunks/{image-z9dmagnb.js → config-j7ddqhb7.js} +293 -293
- package/dist/chunks/{image-paphc93g.js → config-j935v87r.js} +2 -2
- package/dist/chunks/{image-nwqw0f9p.js → config-jd18dr6a.js} +23 -23
- package/dist/chunks/{image-9e975f95.js → config-jeqa7pvb.js} +8 -8
- package/dist/chunks/{image-m207hpws.js → config-jnmmvqjs.js} +1 -1
- package/dist/chunks/{image-gaq06wk0.js → config-jpbcpdat.js} +6 -6
- package/dist/chunks/{image-sr6d0xpj.js → config-k1gcpd3w.js} +11 -11
- package/dist/chunks/{image-k4bwy1x5.js → config-k4bwy1x5.js} +1 -1
- package/dist/chunks/{image-5mm5wtvx.js → config-k661xtrb.js} +8 -8
- package/dist/chunks/{image-k68abf46.js → config-k6m5m9e2.js} +3 -3
- package/dist/chunks/{image-kg06axw8.js → config-kg06axw8.js} +1 -1
- package/dist/chunks/{image-xyxexyrh.js → config-kjjn4d3m.js} +14 -14
- package/dist/chunks/{image-nha5563d.js → config-kts0agpf.js} +9 -9
- package/dist/chunks/{image-hw4pv20g.js → config-kvsjn1dr.js} +2 -2
- package/dist/chunks/{image-h10tdy9q.js → config-m1gyy32w.js} +11 -11
- package/dist/chunks/{image-ynhf0h2x.js → config-m9v3vvct.js} +21 -21
- package/dist/chunks/{image-m9w0rfyh.js → config-m9w0rfyh.js} +1 -1
- package/dist/chunks/{image-nsrf1zd9.js → config-mcdn99dn.js} +3 -3
- package/dist/chunks/{image-6z5bwd8g.js → config-mfqp6xfm.js} +8 -8
- package/dist/chunks/{image-fh1werz4.js → config-mhf9e8sk.js} +5 -5
- package/dist/chunks/{image-1qw2s0et.js → config-n8qe30xq.js} +9 -9
- package/dist/chunks/{image-2y3ph1yz.js → config-nebq2wbp.js} +42 -42
- package/dist/chunks/{image-m3xe71g4.js → config-nfc98c1n.js} +4 -4
- package/dist/chunks/{image-p6yzb5ay.js → config-nhy5jxhy.js} +4 -4
- package/dist/chunks/{image-6bkgre9x.js → config-nkb5ds67.js} +24 -24
- package/dist/chunks/{image-meyfevqx.js → config-nr6sang8.js} +5 -5
- package/dist/chunks/{image-0j8b5gw6.js → config-nsad1e5g.js} +7 -7
- package/dist/chunks/{image-rae26gbb.js → config-pae9v2p1.js} +8 -8
- package/dist/chunks/config-pf14h3xc.js +247 -0
- package/dist/chunks/{image-pjvnvgmy.js → config-pjvnvgmy.js} +1 -1
- package/dist/chunks/{image-xsk66m3q.js → config-pkfzfw01.js} +15 -15
- package/dist/chunks/{image-pknna89w.js → config-pknna89w.js} +1 -1
- package/dist/chunks/{image-kh6b770z.js → config-pshrjpqq.js} +9 -9
- package/dist/chunks/{image-eq19x63z.js → config-pt7wq7x0.js} +1 -1
- package/dist/chunks/{image-c7aw7383.js → config-ptx5rqgb.js} +21 -21
- package/dist/chunks/{image-xw0wvw3m.js → config-q3hs2jyf.js} +9 -9
- package/dist/chunks/{image-esk2a4yz.js → config-qayqf0g2.js} +11 -11
- package/dist/chunks/{image-6xyvfjmy.js → config-qba0e80z.js} +9 -9
- package/dist/chunks/{image-5a0p3v26.js → config-qczvrgn6.js} +7 -7
- package/dist/chunks/{image-nfy329at.js → config-qk7j34hs.js} +9 -9
- package/dist/chunks/{image-tz7j0ah5.js → config-qmmgsmq5.js} +30 -30
- package/dist/chunks/{image-6wee0njb.js → config-qr1eqhjp.js} +16 -16
- package/dist/chunks/{image-pbxt2nhv.js → config-qs4avvkb.js} +1 -1
- package/dist/chunks/{image-qsdy395h.js → config-qsdy395h.js} +1 -1
- package/dist/chunks/{image-r8qcw76d.js → config-qswgdxr2.js} +27 -27
- package/dist/chunks/{image-7n2tcerd.js → config-r3j4zcsz.js} +11 -11
- package/dist/chunks/{image-r8dhm0tv.js → config-r8dhm0tv.js} +1 -1
- package/dist/chunks/{image-rbp25qjd.js → config-rr9jc8eh.js} +8 -8
- package/dist/chunks/{image-zfdtt056.js → config-rvb2zp0m.js} +6 -6
- package/dist/chunks/{image-1n116cmy.js → config-rvn46zq7.js} +9 -9
- package/dist/chunks/{image-t44ethcb.js → config-s5nnbhpc.js} +28 -28
- package/dist/chunks/{image-sba4qhjf.js → config-sba4qhjf.js} +1 -1
- package/dist/chunks/{image-1jmsknjd.js → config-sbabsw9p.js} +6 -6
- package/dist/chunks/{image-1rms16wb.js → config-sc3k6mhh.js} +10 -10
- package/dist/chunks/{image-nzmvpftv.js → config-smdsd39q.js} +12 -12
- package/dist/chunks/{image-n70sksgk.js → config-smt3exbz.js} +14 -14
- package/dist/chunks/{image-gnzetk2a.js → config-sne4bgax.js} +15 -15
- package/dist/chunks/{image-mgwvmahn.js → config-snxwbbja.js} +4 -4
- package/dist/chunks/{image-nwkrf4xa.js → config-st2ye5gy.js} +4 -4
- package/dist/chunks/{image-szs3c7md.js → config-swawfrtc.js} +14 -14
- package/dist/chunks/config-sy7czwgb.js +20 -0
- package/dist/chunks/{image-pvjg77yk.js → config-t1qwxm7n.js} +4 -4
- package/dist/chunks/{image-200tvc8g.js → config-t7m2jygx.js} +24 -23
- package/dist/chunks/{image-t2az9yje.js → config-t7n9q6bq.js} +4 -4
- package/dist/chunks/{image-tazgh4e4.js → config-tazgh4e4.js} +1 -1
- package/dist/chunks/{image-tcezcvh9.js → config-tcezcvh9.js} +1 -1
- package/dist/chunks/{image-tjykrgmx.js → config-tjykrgmx.js} +1 -1
- package/dist/chunks/{image-hzajzqrq.js → config-tmpnype6.js} +39 -39
- package/dist/chunks/{image-nag7dxjf.js → config-tppvcy65.js} +5 -5
- package/dist/chunks/{image-jw78s2kh.js → config-tq5842k7.js} +8 -8
- package/dist/chunks/{image-pfb3hsz8.js → config-tqtgqpep.js} +31 -31
- package/dist/chunks/{image-285h785p.js → config-trrfevf4.js} +26 -26
- package/dist/chunks/{image-pzx0zbh6.js → config-v6cm343t.js} +6 -6
- package/dist/chunks/{image-fvqftnr7.js → config-vptg3p32.js} +33 -33
- package/dist/chunks/{image-bj98hyx2.js → config-vscvxt5h.js} +32 -32
- package/dist/chunks/{image-srexs3pv.js → config-vsksdvqk.js} +10 -10
- package/dist/chunks/{image-xr5by3j4.js → config-vtfd0wn0.js} +22 -22
- package/dist/chunks/{image-5tacz69j.js → config-w150ghxd.js} +13 -13
- package/dist/chunks/{image-sg1nqqxe.js → config-w28qetpj.js} +18 -18
- package/dist/chunks/{image-w3wsvvr9.js → config-w3wsvvr9.js} +1 -1
- package/dist/chunks/{image-c6qdtz30.js → config-w4ckd608.js} +9 -9
- package/dist/chunks/{image-4apz7g8v.js → config-wchqn469.js} +10 -10
- package/dist/chunks/{image-wd87259q.js → config-wd87259q.js} +1 -1
- package/dist/chunks/{image-z9hwx18z.js → config-wdbm444n.js} +41 -41
- package/dist/chunks/{image-9ka0zpp0.js → config-wf7fyefm.js} +11 -11
- package/dist/chunks/{image-w97wc9k9.js → config-wfzhhzam.js} +4 -4
- package/dist/chunks/{image-6zjvkj2h.js → config-wt69nczh.js} +30 -30
- package/dist/chunks/{image-m3fm0fm8.js → config-ww8c32hp.js} +5 -5
- package/dist/chunks/{image-x1ezjp6w.js → config-x1ezjp6w.js} +1 -1
- package/dist/chunks/{image-nkj2jv88.js → config-x21v200d.js} +15 -15
- package/dist/chunks/{image-ae8v5dmx.js → config-x40p63aq.js} +11 -11
- package/dist/chunks/{image-0ayszzbx.js → config-x8psm3y1.js} +4 -4
- package/dist/chunks/{image-48my4t0a.js → config-xbpwrv4k.js} +20 -20
- package/dist/chunks/{image-agvy7375.js → config-xvz51zke.js} +52 -52
- package/dist/chunks/{image-d4fga7fm.js → config-xxz5bf5t.js} +3 -3
- package/dist/chunks/{image-envd7176.js → config-xzst0pqg.js} +20 -20
- package/dist/chunks/{image-y1fvbwt7.js → config-y1fvbwt7.js} +1 -1
- package/dist/chunks/{image-q3xf9qyh.js → config-y5z4htr6.js} +4 -4
- package/dist/chunks/{image-rkr4sv9x.js → config-y66syx4k.js} +20 -20
- package/dist/chunks/{image-y71avatq.js → config-y71avatq.js} +1 -1
- package/dist/chunks/{image-sscgwwvp.js → config-y7qh7890.js} +19 -19
- package/dist/chunks/{image-v2tpghv8.js → config-y86ghdgz.js} +3 -3
- package/dist/chunks/{image-m59e1w6s.js → config-yd25cjpk.js} +4 -4
- package/dist/chunks/{image-yfbd16n1.js → config-yfbd16n1.js} +2 -2
- package/dist/chunks/{image-7hj53tkn.js → config-ygmyy038.js} +39 -39
- package/dist/chunks/{image-75yf2d83.js → config-yhr218qz.js} +6 -6
- package/dist/chunks/{image-5g186b3w.js → config-yj3e99fm.js} +1 -1
- package/dist/chunks/{image-243q2zkz.js → config-ykxs3m22.js} +16 -16
- package/dist/chunks/{image-djtdz80w.js → config-yp2x3t23.js} +15 -5
- package/dist/chunks/{image-4d04p2vw.js → config-ys4c75jc.js} +20 -20
- package/dist/chunks/{image-z1k01bn4.js → config-z1k01bn4.js} +2 -2
- package/dist/chunks/{image-1p8bnmch.js → config-z3h7hm3n.js} +4 -4
- package/dist/chunks/{image-2kykh1mj.js → config-zajwd6at.js} +5 -5
- package/dist/chunks/{image-6wsskzzx.js → config-zaqrafaq.js} +9 -9
- package/dist/chunks/{image-gtcj13ca.js → config-zeb8mwjb.js} +4 -4
- package/dist/chunks/{image-e1rfyyrx.js → config-zgkmrr91.js} +8 -8
- package/dist/chunks/{image-0b64gfhy.js → config-znbmjvpk.js} +21 -21
- package/dist/chunks/{image-zxq2ej10.js → config-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -116
- package/dist/config/plugin/command.js +208 -207
- package/dist/config/plugin/compaction.js +154 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -116
- package/dist/config/plugin/image.js +115 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -114
- package/dist/config/plugin/mcp.js +126 -125
- package/dist/config/plugin/policy.js +114 -113
- package/dist/config/plugin/provider.js +113 -112
- package/dist/config/plugin/reference.js +117 -116
- package/dist/config/plugin/shell.js +114 -113
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +135 -134
- package/dist/config/plugin/snapshot.js +115 -114
- package/dist/config/plugin/source.js +117 -116
- package/dist/config/plugin/tool-output.js +117 -116
- package/dist/config/plugin/websearch.js +113 -112
- package/dist/config/plugin/worktree.js +118 -117
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -78
- 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 +359 -358
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +68 -68
- 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 +219 -218
- 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 +13 -13
- package/dist/filesystem.js +96 -96
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +78 -78
- package/dist/generate.js +91 -90
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +7 -7
- package/dist/instance.js +350 -349
- package/dist/instruction-discovery.js +79 -79
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -83
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +147 -87
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +347 -346
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -87
- package/dist/mcp/index.js +97 -96
- package/dist/mcp/instructions.js +121 -120
- package/dist/mcp/oauth.js +78 -12
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -85
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +105 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +80 -80
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +96 -95
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +212 -211
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +321 -320
- 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 +96 -96
- 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 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -113
- 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 -79
- 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 -75
- package/dist/plugin/provider/lmstudio.js +117 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +115 -114
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -79
- package/dist/plugin/provider/opencode.js +76 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -116
- package/dist/plugin/provider/xai.js +77 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +155 -154
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +5 -5
- package/dist/plugin/skill.js +132 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +340 -339
- 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 -111
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +219 -218
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +88 -88
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +86 -86
- 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 +126 -125
- package/dist/session/context.js +146 -145
- 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 +215 -214
- package/dist/session/execution.js +121 -120
- package/dist/session/generate.js +145 -144
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +86 -86
- 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 +91 -91
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +110 -110
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +125 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- 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 +224 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +120 -119
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +168 -167
- package/dist/session/shell.js +131 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +202 -201
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +150 -149
- package/dist/session/to-session-error.js +106 -105
- package/dist/session/transfer.js +211 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +208 -207
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +131 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +104 -104
- 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 +118 -117
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +114 -114
- package/dist/tool/plugin/question.js +95 -95
- package/dist/tool/plugin/read.js +114 -114
- package/dist/tool/plugin/shell.js +209 -208
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +213 -212
- package/dist/tool/plugin/webfetch.js +102 -102
- package/dist/tool/plugin/websearch.js +100 -100
- package/dist/tool/plugin/write.js +116 -116
- 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 +11 -11
- package/dist/types/location-activity.d.ts +3 -1
- package/dist/types/mcp/oauth.d.ts +6 -0
- package/dist/types/plugin/websearch/mcp.d.ts +1 -1
- package/dist/types/project/schema.d.ts +1 -0
- package/dist/types/project.d.ts +1 -0
- package/dist/types/session/execution.d.ts +5 -2
- package/dist/types/session/run-coordinator.d.ts +5 -2
- package/dist/types/util/error-summary.d.ts +7 -0
- package/dist/types/websearch.d.ts +5 -1
- package/dist/util/error-summary.js +8 -0
- 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 +5 -5
- 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 +78 -78
- 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 +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +337 -336
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +7 -7
- package/dist/chunks/image-35zwc601.js +0 -247
- package/dist/chunks/image-8n0gk8bj.js +0 -138
- package/dist/chunks/image-kpe4sfyz.js +0 -20
- package/dist/chunks/image-wqqnj2ff.js +0 -18
- package/dist/chunks/image-xacb94nx.js +0 -22
- /package/dist/chunks/{image-0fabt78z.js → config-0fabt78z.js} +0 -0
- /package/dist/chunks/{image-0qkdqm5v.js → config-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{image-0zkw76rk.js → config-0zkw76rk.js} +0 -0
- /package/dist/chunks/{image-17cy0kzp.js → config-17cy0kzp.js} +0 -0
- /package/dist/chunks/{image-1cnp2v09.js → config-1cnp2v09.js} +0 -0
- /package/dist/chunks/{image-1kg9ymc8.js → config-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{image-2710q6r3.js → config-2710q6r3.js} +0 -0
- /package/dist/chunks/{image-2axfhc9x.js → config-2axfhc9x.js} +0 -0
- /package/dist/chunks/{image-2c3vjs8z.js → config-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{image-359p4xyc.js → config-359p4xyc.js} +0 -0
- /package/dist/chunks/{image-3asan66x.js → config-3asan66x.js} +0 -0
- /package/dist/chunks/{image-3t738kvx.js → config-3t738kvx.js} +0 -0
- /package/dist/chunks/{image-3v8g72cx.js → config-3v8g72cx.js} +0 -0
- /package/dist/chunks/{image-3wcehsnq.js → config-3wcehsnq.js} +0 -0
- /package/dist/chunks/{image-41nvscxy.js → config-41nvscxy.js} +0 -0
- /package/dist/chunks/{image-43n2bw4t.js → config-43n2bw4t.js} +0 -0
- /package/dist/chunks/{image-4knz6hnm.js → config-4knz6hnm.js} +0 -0
- /package/dist/chunks/{image-4y7fprxs.js → config-4y7fprxs.js} +0 -0
- /package/dist/chunks/{image-53557ph1.js → config-53557ph1.js} +0 -0
- /package/dist/chunks/{image-550bvhaj.js → config-550bvhaj.js} +0 -0
- /package/dist/chunks/{image-6prwharc.js → config-6prwharc.js} +0 -0
- /package/dist/chunks/{image-7akdwqpd.js → config-7akdwqpd.js} +0 -0
- /package/dist/chunks/{image-7m9af43g.js → config-7m9af43g.js} +0 -0
- /package/dist/chunks/{image-7zk4hah4.js → config-7zk4hah4.js} +0 -0
- /package/dist/chunks/{image-822emrt2.js → config-822emrt2.js} +0 -0
- /package/dist/chunks/{image-88xbtdfr.js → config-88xbtdfr.js} +0 -0
- /package/dist/chunks/{image-8n3pysct.js → config-8n3pysct.js} +0 -0
- /package/dist/chunks/{image-982e01ww.js → config-982e01ww.js} +0 -0
- /package/dist/chunks/{image-9a4afbnw.js → config-9a4afbnw.js} +0 -0
- /package/dist/chunks/{image-9rqn6x4v.js → config-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{image-a1tpkmh4.js → config-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{image-af5trqkr.js → config-af5trqkr.js} +0 -0
- /package/dist/chunks/{image-afrmfg78.js → config-afrmfg78.js} +0 -0
- /package/dist/chunks/{image-aqzs7mqg.js → config-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{image-atq7p7m5.js → config-atq7p7m5.js} +0 -0
- /package/dist/chunks/{image-bkyjaxrp.js → config-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{image-bmr6ed5q.js → config-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{image-cf4snx6d.js → config-cf4snx6d.js} +0 -0
- /package/dist/chunks/{image-cvy3z8tj.js → config-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{image-d9fn303g.js → config-d9fn303g.js} +0 -0
- /package/dist/chunks/{image-d9jj8t3e.js → config-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{image-dajrwvna.js → config-dajrwvna.js} +0 -0
- /package/dist/chunks/{image-dap0rakb.js → config-dap0rakb.js} +0 -0
- /package/dist/chunks/{image-df08tz66.js → config-df08tz66.js} +0 -0
- /package/dist/chunks/{image-dy18nga0.js → config-dy18nga0.js} +0 -0
- /package/dist/chunks/{image-e5kj55wp.js → config-e5kj55wp.js} +0 -0
- /package/dist/chunks/{image-e73j6tqm.js → config-e73j6tqm.js} +0 -0
- /package/dist/chunks/{image-eh3zwz77.js → config-eh3zwz77.js} +0 -0
- /package/dist/chunks/{image-emrn6kk6.js → config-emrn6kk6.js} +0 -0
- /package/dist/chunks/{image-f0mxakyp.js → config-f0mxakyp.js} +0 -0
- /package/dist/chunks/{image-f6n9ztr4.js → config-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{image-faypxj3z.js → config-faypxj3z.js} +0 -0
- /package/dist/chunks/{image-fd410y7t.js → config-fd410y7t.js} +0 -0
- /package/dist/chunks/{image-fxgpk5d8.js → config-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{image-g4wezp1m.js → config-g4wezp1m.js} +0 -0
- /package/dist/chunks/{image-g86h250q.js → config-g86h250q.js} +0 -0
- /package/dist/chunks/{image-gebd4c9n.js → config-gebd4c9n.js} +0 -0
- /package/dist/chunks/{image-hk9envan.js → config-hk9envan.js} +0 -0
- /package/dist/chunks/{image-j2ntwpah.js → config-j2ntwpah.js} +0 -0
- /package/dist/chunks/{image-j5zkgpj8.js → config-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{image-jr7sbwjy.js → config-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{image-jwfs4k6c.js → config-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{image-jzg6c2d5.js → config-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{image-mntxs535.js → config-mntxs535.js} +0 -0
- /package/dist/chunks/{image-mp448xyj.js → config-mp448xyj.js} +0 -0
- /package/dist/chunks/{image-msx8hqn2.js → config-msx8hqn2.js} +0 -0
- /package/dist/chunks/{image-n05xt0ee.js → config-n05xt0ee.js} +0 -0
- /package/dist/chunks/{image-n3j8tn72.js → config-n3j8tn72.js} +0 -0
- /package/dist/chunks/{image-njntx4h6.js → config-njntx4h6.js} +0 -0
- /package/dist/chunks/{image-p8qxwesx.js → config-p8qxwesx.js} +0 -0
- /package/dist/chunks/{image-q3sfg36h.js → config-q3sfg36h.js} +0 -0
- /package/dist/chunks/{image-q74kybfr.js → config-q74kybfr.js} +0 -0
- /package/dist/chunks/{image-qaymkmh1.js → config-qaymkmh1.js} +0 -0
- /package/dist/chunks/{image-qb87gjwd.js → config-qb87gjwd.js} +0 -0
- /package/dist/chunks/{image-qfa1cgps.js → config-qfa1cgps.js} +0 -0
- /package/dist/chunks/{image-qrg20bc0.js → config-qrg20bc0.js} +0 -0
- /package/dist/chunks/{image-rcb2kzg1.js → config-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{image-sdp7kfr6.js → config-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{image-se0s1eqw.js → config-se0s1eqw.js} +0 -0
- /package/dist/chunks/{image-sk3qaz4a.js → config-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{image-ssg3fenm.js → config-ssg3fenm.js} +0 -0
- /package/dist/chunks/{image-twg0f83k.js → config-twg0f83k.js} +0 -0
- /package/dist/chunks/{image-w803qqfp.js → config-w803qqfp.js} +0 -0
- /package/dist/chunks/{image-wer8tq1h.js → config-wer8tq1h.js} +0 -0
- /package/dist/chunks/{image-wtztk69x.js → config-wtztk69x.js} +0 -0
- /package/dist/chunks/{image-x0ckcb58.js → config-x0ckcb58.js} +0 -0
- /package/dist/chunks/{image-x1b8g1yb.js → config-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{image-x61499pn.js → config-x61499pn.js} +0 -0
- /package/dist/chunks/{image-y44na4kk.js → config-y44na4kk.js} +0 -0
- /package/dist/chunks/{image-y8cydn3q.js → config-y8cydn3q.js} +0 -0
- /package/dist/chunks/{image-ygaqb7jw.js → config-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{image-z9919s4g.js → config-z9919s4g.js} +0 -0
- /package/dist/chunks/{image-zbjnn3ac.js → config-zbjnn3ac.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-p8qxwesx.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service78,
|
|
9
|
+
node83
|
|
10
|
+
} from "./config-eg4pr325.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service76,
|
|
13
|
+
node81
|
|
14
|
+
} from "./config-kjjn4d3m.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./config-kg06axw8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./config-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID8,
|
|
27
|
+
Service: () => Service54,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node57,
|
|
30
30
|
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -34,22 +34,22 @@ import path from "path";
|
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode-ai/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID8 } from "@opencode-ai/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode-ai/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service54 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service78;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service76;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID8.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -122,25 +122,25 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
122
122
|
for (const [file, snapshot] of input.files) {
|
|
123
123
|
const absolute = path.resolve(worktree, file);
|
|
124
124
|
if (!FSUtil.contains(worktree, absolute))
|
|
125
|
-
return yield* new
|
|
125
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
126
126
|
files.set(file, TreeID2.make(snapshot));
|
|
127
127
|
}
|
|
128
128
|
return files;
|
|
129
129
|
});
|
|
130
130
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
131
131
|
if (!enabled())
|
|
132
|
-
return yield* new
|
|
132
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
133
133
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
134
134
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service54.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
137
137
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
138
|
-
var
|
|
139
|
-
service:
|
|
138
|
+
var node57 = makeLocationNode({
|
|
139
|
+
service: Service54,
|
|
140
140
|
layer,
|
|
141
|
-
deps: [FSUtil.node,
|
|
141
|
+
deps: [FSUtil.node, node83, Global.node, node81]
|
|
142
142
|
});
|
|
143
|
-
var noopLayer3 = Layer.succeed(
|
|
143
|
+
var noopLayer3 = Layer.succeed(Service54, Service54.of({
|
|
144
144
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
145
145
|
reload: () => Effect.void,
|
|
146
146
|
capture: () => Effect.undefined,
|
|
@@ -149,13 +149,13 @@ var noopLayer3 = Layer.succeed(Service60, Service60.of({
|
|
|
149
149
|
restore: () => Effect.void
|
|
150
150
|
}));
|
|
151
151
|
function failure(operation, cause) {
|
|
152
|
-
if (cause instanceof
|
|
152
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
153
153
|
return cause;
|
|
154
|
-
return new
|
|
154
|
+
return new Error3({
|
|
155
155
|
operation,
|
|
156
156
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
157
157
|
cause
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
export {
|
|
161
|
+
export { ID8, Error3, Service54, node57, noopLayer3, exports_snapshot2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-k6m5m9e2.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-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: () => Service69,
|
|
17
|
+
node: () => node74
|
|
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-ai/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service69 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service80).db;
|
|
26
|
-
return
|
|
26
|
+
return Service69.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 node74 = makeGlobalNode({ service: Service69, layer, deps: [node85] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service69, node74, exports_kv };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
load3
|
|
6
|
+
} from "./config-j935v87r.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event13,
|
|
15
15
|
Native: () => Native3,
|
|
16
16
|
Options: () => Options8,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service67,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured10,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer23,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node72,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper";
|
|
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event13 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
|
-
return createWrapper(
|
|
39
|
+
return createWrapper(load3());
|
|
40
40
|
} catch {
|
|
41
41
|
return;
|
|
42
42
|
}
|
|
@@ -57,14 +57,14 @@ var Options8 = Schema.Struct({
|
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service67 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer23 = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service67.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer20 = (options) => Layer.effect(Service48, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service67.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer23().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service67).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service67, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured10(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service67, layer: layer23(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node72 = configured10();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event13, hasNativeBinding2, Native3, Options8, Service67, Test3, layer23, testLayer3, nativeLayer2, nativeNode2, configured10, node72, exports_watcher };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service56,
|
|
6
|
+
node59
|
|
7
|
+
} from "./config-3b3zr0wm.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service15,
|
|
17
|
+
node: () => node18,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode-ai/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service15 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service56;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service15.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node18 = makeLocationNode({ service: Service15, layer, deps: [node59] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service15, readText2, syncTextBom2, node18, exports_file_mutation };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./config-p8qxwesx.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service56,
|
|
8
|
+
node59
|
|
9
|
+
} from "./config-3b3zr0wm.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./config-5jvc5tg2.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./config-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service25,
|
|
24
|
+
node: () => node29
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service25 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error2({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service56;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service25.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -174,6 +174,6 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
174
174
|
}))))
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
177
|
+
var node29 = makeLocationNode({ service: Service25, layer, deps: [node59, RipgrepBinary2.node] });
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Error2, InvalidPatternError2, Service25, node29, exports_ripgrep };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-x40p63aq.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-mfqp6xfm.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin24,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint4
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint4 = "https://search.parallel.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
objective: Schema.String,
|
|
24
24
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin24 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -69,7 +69,7 @@ var Plugin8 = define({
|
|
|
69
69
|
execute: (input) => Effect.gen(function* () {
|
|
70
70
|
const connection = yield* ctx.integration.connection.active("parallel");
|
|
71
71
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
72
|
-
const result = yield* call2(http,
|
|
72
|
+
const result = yield* call2(http, endpoint4, "web_search", { input: McpInput, output: McpOutput }, {
|
|
73
73
|
objective: input.query,
|
|
74
74
|
search_queries: [input.query]
|
|
75
75
|
}, {
|
|
@@ -93,4 +93,4 @@ var Plugin8 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { endpoint4, Plugin24, exports_parallel };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID14
|
|
3
|
+
} from "./config-smdsd39q.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service66
|
|
6
|
+
} from "./config-bpgxrmx0.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-qczvrgn6.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make4(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service66;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make6(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
catalog.model.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID14.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make4();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make4, VLLMPlugin2 };
|