@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,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key3,
|
|
3
3
|
removed2,
|
|
4
4
|
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-yhr218qz.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./config-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./config-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
20
|
-
make: () =>
|
|
17
|
+
var exports_instructions2 = {};
|
|
18
|
+
__export(exports_instructions2, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions2,
|
|
20
|
+
make: () => make13,
|
|
21
21
|
render: () => render2,
|
|
22
22
|
update: () => update3
|
|
23
23
|
});
|
|
@@ -111,9 +111,9 @@ ${render2(current)}`;
|
|
|
111
111
|
return delta;
|
|
112
112
|
return replacement;
|
|
113
113
|
}
|
|
114
|
-
var key =
|
|
114
|
+
var key = Key3.make("core/codemode");
|
|
115
115
|
var codec = Schema.toCodecJson(Summary2);
|
|
116
|
-
var
|
|
116
|
+
var make13 = (inventory) => {
|
|
117
117
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
118
118
|
return make21({
|
|
119
119
|
key,
|
|
@@ -127,4 +127,4 @@ var make16 = (inventory) => {
|
|
|
127
127
|
});
|
|
128
128
|
};
|
|
129
129
|
|
|
130
|
-
export { render2, update3,
|
|
130
|
+
export { render2, update3, make13, exports_instructions2 };
|
|
@@ -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/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin23,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint3
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint3 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin23 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin7 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint3, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin7 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint3, Plugin23, exports_firecrawl };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
9
|
Service: () => Service63,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node67
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -56,6 +56,6 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
57
|
return Service63.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node67 = makeLocationNode({ service: Service63, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export { Service63,
|
|
61
|
+
export { Service63, node67, exports_hooks };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79,
|
|
6
6
|
node84
|
|
7
|
-
} from "./
|
|
8
|
-
import {
|
|
9
|
-
Event18,
|
|
10
|
-
Service71,
|
|
11
|
-
node74
|
|
12
|
-
} from "./image-75bx6y3z.js";
|
|
7
|
+
} from "./config-t1qwxm7n.js";
|
|
13
8
|
import {
|
|
9
|
+
Event19,
|
|
14
10
|
Service75,
|
|
15
11
|
node80
|
|
16
|
-
} from "./
|
|
12
|
+
} from "./config-g670t05w.js";
|
|
17
13
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
14
|
+
Service76,
|
|
15
|
+
node81
|
|
16
|
+
} from "./config-kjjn4d3m.js";
|
|
21
17
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
18
|
+
Service56,
|
|
19
|
+
node59
|
|
20
|
+
} from "./config-3b3zr0wm.js";
|
|
21
|
+
import {
|
|
22
|
+
ID13,
|
|
23
|
+
Service74,
|
|
24
|
+
node79
|
|
25
|
+
} from "./config-4caeeh9x.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./config-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID12,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service73,
|
|
34
|
+
node78
|
|
35
|
+
} from "./config-d8kth2xv.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./config-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
|
|
|
56
56
|
ServerInfo: () => ServerInfo2,
|
|
57
57
|
ServerInstructions: () => ServerInstructions2,
|
|
58
58
|
ServerName: () => ServerName2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service34,
|
|
60
60
|
Status: () => Status2,
|
|
61
61
|
Tool: () => Tool3,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
63
|
ToolResult: () => ToolResult2,
|
|
64
64
|
ToolResultContent: () => ToolResultContent2,
|
|
65
65
|
configured: () => configured5,
|
|
66
|
-
layer: () =>
|
|
67
|
-
node: () =>
|
|
66
|
+
layer: () => layer14,
|
|
67
|
+
node: () => node39
|
|
68
68
|
});
|
|
69
69
|
import { Mcp } from "@opencode-ai/schema/mcp";
|
|
70
70
|
import { McpEvent } from "@opencode-ai/schema/mcp-event";
|
|
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
|
|
|
81
81
|
class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
|
|
82
82
|
name: ServerName2,
|
|
83
83
|
status: Status2,
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID12.pipe(Schema.optional)
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -165,7 +165,7 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
165
165
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
166
166
|
var cloneConfig = (config) => structuredClone(config);
|
|
167
167
|
|
|
168
|
-
class
|
|
168
|
+
class Service34 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
170
|
var Options5 = Schema.Struct({
|
|
171
171
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -173,13 +173,13 @@ var Options5 = Schema.Struct({
|
|
|
173
173
|
version: Schema.String
|
|
174
174
|
}))
|
|
175
175
|
});
|
|
176
|
-
var
|
|
177
|
-
const location = yield*
|
|
178
|
-
const environment = yield*
|
|
176
|
+
var layer14 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
177
|
+
const location = yield* Service76;
|
|
178
|
+
const environment = yield* Service56;
|
|
179
179
|
const bus = yield* Service79;
|
|
180
|
-
const forms = yield*
|
|
181
|
-
const integration = yield*
|
|
182
|
-
const credentials = yield*
|
|
180
|
+
const forms = yield* Service74;
|
|
181
|
+
const integration = yield* Service73;
|
|
182
|
+
const credentials = yield* Service75;
|
|
183
183
|
const root = yield* Effect.scope;
|
|
184
184
|
const fork = yield* FiberSet.makeRuntime();
|
|
185
185
|
const entries = new Map;
|
|
@@ -191,7 +191,7 @@ var layer18 = (options) => Layer.effect(Service43, Effect.gen(function* () {
|
|
|
191
191
|
return;
|
|
192
192
|
const remote = entry.config;
|
|
193
193
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
194
|
-
const integrationID =
|
|
194
|
+
const integrationID = ID12.make(suffix);
|
|
195
195
|
entry.integrationID = integrationID;
|
|
196
196
|
owned.add(integrationID);
|
|
197
197
|
const methodID = MethodID2.make(suffix);
|
|
@@ -225,31 +225,54 @@ var layer18 = (options) => Layer.effect(Service43, Effect.gen(function* () {
|
|
|
225
225
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
226
226
|
const remote = entry.config;
|
|
227
227
|
const oauth = remote.oauth || undefined;
|
|
228
|
+
const run = Effect.runPromiseWith(yield* Effect.context());
|
|
228
229
|
const base = {
|
|
229
230
|
redirectUrl: oauth?.redirect_uri ?? "http://127.0.0.1/callback",
|
|
230
231
|
scope: oauth?.scope,
|
|
231
232
|
client: oauth?.client_id ? { id: oauth.client_id, secret: oauth.client_secret } : undefined,
|
|
232
|
-
onRedirect: () =>
|
|
233
|
+
onRedirect: () => run(Effect.logInfo("mcp oauth authorization required"))
|
|
233
234
|
};
|
|
234
235
|
const found = (yield* credentials.list(entry.integrationID)).at(-1);
|
|
235
|
-
if (!found || found.value.type !== "oauth")
|
|
236
|
+
if (!found || found.value.type !== "oauth") {
|
|
237
|
+
yield* Effect.logInfo("mcp oauth credential unavailable", {
|
|
238
|
+
integrationID: entry.integrationID,
|
|
239
|
+
reason: found ? "not_oauth" : "missing"
|
|
240
|
+
});
|
|
236
241
|
return McpOAuth.provider({ ...base, store: McpOAuth.memoryStore() });
|
|
242
|
+
}
|
|
237
243
|
const credentialID = found.id;
|
|
238
244
|
const methodID = found.value.methodID;
|
|
245
|
+
const fields = { credentialID, integrationID: entry.integrationID };
|
|
246
|
+
yield* Effect.logInfo("mcp oauth credential loaded", {
|
|
247
|
+
...fields,
|
|
248
|
+
hasRefreshToken: Boolean(found.value.refresh),
|
|
249
|
+
hasClientInformation: Boolean(McpOAuth.clientFromCredential(found.value)),
|
|
250
|
+
expiresAt: found.value.expires,
|
|
251
|
+
expired: found.value.expires !== 0 && found.value.expires <= Date.now()
|
|
252
|
+
});
|
|
239
253
|
let presented = found.value.refresh;
|
|
240
254
|
const readOAuthCredential = async () => {
|
|
241
|
-
const stored = await
|
|
255
|
+
const stored = await run(credentials.get(credentialID));
|
|
242
256
|
return stored?.value.type === "oauth" ? stored.value : undefined;
|
|
243
257
|
};
|
|
244
258
|
return McpOAuth.provider({
|
|
245
259
|
...base,
|
|
246
260
|
invalidate: async (scope) => {
|
|
247
|
-
if (scope === "verifier" || scope === "discovery")
|
|
261
|
+
if (scope === "verifier" || scope === "discovery") {
|
|
262
|
+
await run(Effect.logDebug("mcp oauth invalidation skipped", { ...fields, scope, reason: "not_credentials" }));
|
|
248
263
|
return;
|
|
264
|
+
}
|
|
249
265
|
const oauth = await readOAuthCredential();
|
|
250
|
-
if (!oauth || oauth.refresh !== presented)
|
|
266
|
+
if (!oauth || oauth.refresh !== presented) {
|
|
267
|
+
await run(Effect.logInfo("mcp oauth invalidation skipped", {
|
|
268
|
+
...fields,
|
|
269
|
+
scope,
|
|
270
|
+
reason: oauth ? "token_rotated" : "credential_missing"
|
|
271
|
+
}));
|
|
251
272
|
return;
|
|
252
|
-
|
|
273
|
+
}
|
|
274
|
+
await run(Effect.logWarning("mcp oauth credential invalidation requested", { ...fields, scope }));
|
|
275
|
+
await run(credentials.remove(credentialID));
|
|
253
276
|
},
|
|
254
277
|
store: {
|
|
255
278
|
tokens: async () => {
|
|
@@ -268,7 +291,14 @@ var layer18 = (options) => Layer.effect(Service43, Effect.gen(function* () {
|
|
|
268
291
|
client: previous ? McpOAuth.clientFromCredential(previous) : undefined
|
|
269
292
|
});
|
|
270
293
|
presented = value.refresh;
|
|
271
|
-
await Effect.
|
|
294
|
+
await run(Effect.logInfo("mcp oauth tokens received", {
|
|
295
|
+
...fields,
|
|
296
|
+
credentialPresent: Boolean(previous),
|
|
297
|
+
refreshRotated: Boolean(previous && previous.refresh !== value.refresh),
|
|
298
|
+
hasRefreshToken: Boolean(value.refresh),
|
|
299
|
+
expiresAt: value.expires
|
|
300
|
+
}));
|
|
301
|
+
await run(credentials.update(credentialID, { value }));
|
|
272
302
|
},
|
|
273
303
|
clientInformation: async () => {
|
|
274
304
|
const oauth = await readOAuthCredential();
|
|
@@ -285,7 +315,7 @@ var layer18 = (options) => Layer.effect(Service43, Effect.gen(function* () {
|
|
|
285
315
|
const elicitation = {
|
|
286
316
|
create: (input) => Effect.gen(function* () {
|
|
287
317
|
if (input.params.mode === "url") {
|
|
288
|
-
const formID =
|
|
318
|
+
const formID = ID13.create();
|
|
289
319
|
const key = input.server + "\x00" + input.params.elicitationId;
|
|
290
320
|
urlElicitations.set(key, formID);
|
|
291
321
|
return yield* forms.ask({
|
|
@@ -403,7 +433,7 @@ var layer18 = (options) => Layer.effect(Service43, Effect.gen(function* () {
|
|
|
403
433
|
entry.scope = scope;
|
|
404
434
|
const authProvider = yield* connectProvider(entry);
|
|
405
435
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
406
|
-
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
436
|
+
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service56, environment), Scope.provide(scope), Effect.exit);
|
|
407
437
|
if (Exit.isSuccess(result)) {
|
|
408
438
|
entry.client = result.value.connection;
|
|
409
439
|
entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
|
|
@@ -423,7 +453,7 @@ var layer18 = (options) => Layer.effect(Service43, Effect.gen(function* () {
|
|
|
423
453
|
entry.status = error instanceof McpClient.NeedsAuthError ? { status: "needs_auth" } : { status: "failed", error: error instanceof Error ? error.message : String(error) };
|
|
424
454
|
yield* Effect.logWarning("mcp connect failed", { server: name, status: entry.status });
|
|
425
455
|
yield* bus.publish(McpEvent.StatusChanged, { server: name });
|
|
426
|
-
}).pipe(Effect.ensuring(entry.startup.open));
|
|
456
|
+
}).pipe(Effect.ensuring(entry.startup.open), Effect.annotateLogs({ server: name, directory: location.directory, connectionID: crypto.randomUUID() }));
|
|
427
457
|
const stopServer = Effect.fnUntraced(function* (name, entry) {
|
|
428
458
|
const scope = entry.scope;
|
|
429
459
|
if (!scope)
|
|
@@ -527,7 +557,7 @@ var layer18 = (options) => Layer.effect(Service43, Effect.gen(function* () {
|
|
|
527
557
|
yield* startServer(name, entry);
|
|
528
558
|
}).pipe(locks.withLock(name));
|
|
529
559
|
});
|
|
530
|
-
fork(bus.subscribe(
|
|
560
|
+
fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
531
561
|
const state = create3({
|
|
532
562
|
name: "mcp",
|
|
533
563
|
initial: () => ({
|
|
@@ -557,7 +587,7 @@ var layer18 = (options) => Layer.effect(Service43, Effect.gen(function* () {
|
|
|
557
587
|
concurrency: "unbounded",
|
|
558
588
|
discard: true
|
|
559
589
|
}));
|
|
560
|
-
return
|
|
590
|
+
return Service34.of({
|
|
561
591
|
transform: state.transform,
|
|
562
592
|
reload: state.reload,
|
|
563
593
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -679,12 +709,12 @@ var layer18 = (options) => Layer.effect(Service43, Effect.gen(function* () {
|
|
|
679
709
|
}));
|
|
680
710
|
function configured5(options) {
|
|
681
711
|
return makeLocationNode({
|
|
682
|
-
service:
|
|
683
|
-
layer:
|
|
684
|
-
deps: [
|
|
712
|
+
service: Service34,
|
|
713
|
+
layer: layer14(options),
|
|
714
|
+
deps: [node81, node59, node84, node79, node78, node80]
|
|
685
715
|
});
|
|
686
716
|
}
|
|
687
|
-
var
|
|
717
|
+
var node39 = configured5();
|
|
688
718
|
function toElicitationField(key, property, required) {
|
|
689
719
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
690
720
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -735,4 +765,4 @@ function toElicitationField(key, property, required) {
|
|
|
735
765
|
}
|
|
736
766
|
}
|
|
737
767
|
|
|
738
|
-
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2,
|
|
768
|
+
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service34, Options5, layer14, configured5, node39, exports_mcp4 };
|
|
@@ -2,20 +2,20 @@ 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
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./config-m9v3vvct.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./config-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./config-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service7,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node9,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service7 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
|
|
|
326
326
|
return index + 1;
|
|
327
327
|
}
|
|
328
328
|
};
|
|
329
|
-
var layer = Layer.effect(
|
|
330
|
-
const environment = yield*
|
|
331
|
-
return
|
|
329
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
330
|
+
const environment = yield* Service56;
|
|
331
|
+
return Service7.of({
|
|
332
332
|
list: environment.files.list,
|
|
333
333
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
334
334
|
});
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var node9 = makeLocationNode({ service: Service7, layer, deps: [node59] });
|
|
337
337
|
|
|
338
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
338
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service7, read2, node9, exports_read_filesystem };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./config-kjjn4d3m.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service66
|
|
9
|
+
} from "./config-bpgxrmx0.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./config-h03b8j0b.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./config-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./config-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin12
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode-ai/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin12 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service66;
|
|
35
|
+
const location = yield* Service76;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin12, exports_reference };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-r8dhm0tv.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-t1qwxm7n.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node81
|
|
8
|
+
} from "./config-kjjn4d3m.js";
|
|
9
9
|
import {
|
|
10
10
|
reconcile2,
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./config-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
PATCH_CONTEXT_LINES2,
|
|
15
15
|
MAX_TOTAL_PATCH_BYTES2,
|
|
16
16
|
emptyPatch2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./config-tazgh4e4.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./config-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info5,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service20,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node24
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode-ai/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode-ai/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info5, Mode as Mode2 } from "@opencode-ai/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode-ai/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service20 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service76;
|
|
53
53
|
const bus = yield* Service79;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info5));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
115
115
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
116
116
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
117
117
|
}
|
|
118
|
-
return
|
|
118
|
+
return Service20.of({
|
|
119
119
|
transform: state.transform,
|
|
120
120
|
reload: state.reload,
|
|
121
121
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
161
161
|
})
|
|
162
162
|
});
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
165
|
-
service:
|
|
164
|
+
var node24 = makeLocationNode({
|
|
165
|
+
service: Service20,
|
|
166
166
|
layer,
|
|
167
|
-
deps: [FSUtil.node,
|
|
167
|
+
deps: [FSUtil.node, node81, node84]
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
export { Base2, BranchList2, FileStatus2,
|
|
170
|
+
export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, Service20, node24, exports_vcs };
|