@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,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service66
|
|
7
|
+
} from "./config-bpgxrmx0.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service56
|
|
13
|
+
} from "./config-3b3zr0wm.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service58
|
|
16
|
+
} from "./config-5g1rmrcr.js";
|
|
17
17
|
import {
|
|
18
18
|
resolvePath2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service18
|
|
20
|
+
} from "./config-hna3j416.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service49
|
|
23
|
+
} from "./config-nebq2wbp.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./config-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service53,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./config-y7qh7890.js";
|
|
34
34
|
import {
|
|
35
35
|
NotFoundError5,
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service41
|
|
37
|
+
} from "./config-j1c7ngy9.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service27
|
|
40
|
+
} from "./config-5s58fjqb.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./config-wfzhhzam.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./config-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input5,
|
|
53
|
+
Plugin: () => Plugin36,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name5
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name5 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. DO NOT run sleep commands or poll the output file to check for completion. You can read from the file when its current output would be useful, such as when inspecting logs from a background server. Otherwise, continue with other work or end your response.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input5 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin36 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service27;
|
|
122
|
+
const jobs = yield* Service58;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const mutation = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service56;
|
|
125
|
+
const mutation = yield* Service18;
|
|
126
|
+
const shell = yield* Service41;
|
|
127
|
+
const shellSelect = yield* Service53;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service49;
|
|
130
|
+
const config = yield* Service66;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -155,7 +155,7 @@ var Plugin40 = {
|
|
|
155
155
|
});
|
|
156
156
|
if (parsed.commands.length > 0)
|
|
157
157
|
yield* permission.assert({
|
|
158
|
-
action:
|
|
158
|
+
action: name5,
|
|
159
159
|
resources: parsed.commands.map((command) => command.resource),
|
|
160
160
|
save: parsed.commands.map((command) => command.save),
|
|
161
161
|
sessionID: context.sessionID,
|
|
@@ -192,10 +192,10 @@ var Plugin40 = {
|
|
|
192
192
|
yield* jobs.completeBackground(info.notificationID);
|
|
193
193
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
194
194
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
195
|
-
name:
|
|
195
|
+
name: name5,
|
|
196
196
|
options: { codemode: false },
|
|
197
197
|
description: description(),
|
|
198
|
-
input:
|
|
198
|
+
input: Input5,
|
|
199
199
|
output: Output,
|
|
200
200
|
execute: (input, context) => Effect.gen(function* () {
|
|
201
201
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -228,7 +228,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
228
228
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
229
229
|
const job = yield* jobs.start({
|
|
230
230
|
id: info.id,
|
|
231
|
-
type:
|
|
231
|
+
type: name5,
|
|
232
232
|
title: info.command,
|
|
233
233
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
234
234
|
recovery: {
|
|
@@ -258,7 +258,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
258
258
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
259
259
|
})).pipe(Effect.orDie);
|
|
260
260
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
261
|
-
const tool = event.tools[
|
|
261
|
+
const tool = event.tools[name5];
|
|
262
262
|
if (!tool)
|
|
263
263
|
return;
|
|
264
264
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name5, DEFAULT_TIMEOUT_MS2, Input5, Plugin36, exports_shell2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-k6m5m9e2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service46
|
|
6
|
+
} from "./config-sy7czwgb.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-7fj5dwt0.js";
|
|
10
10
|
import {
|
|
11
11
|
preview2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./config-66e0jw58.js";
|
|
13
13
|
import {
|
|
14
14
|
baseTranscript2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./config-34595bsr.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service29
|
|
18
|
+
} from "./config-1qd474pp.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./config-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/session/generate.ts
|
|
24
24
|
var exports_generate2 = {};
|
|
@@ -29,12 +29,12 @@ __export(exports_generate2, {
|
|
|
29
29
|
import { LLMClient, Message } from "@opencode-ai/ai";
|
|
30
30
|
import { Effect } from "effect";
|
|
31
31
|
var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
32
|
-
const instances = yield*
|
|
32
|
+
const instances = yield* Service46;
|
|
33
33
|
const database = yield* Service80;
|
|
34
34
|
const llm = yield* LLMClient.Service;
|
|
35
35
|
return yield* Effect.gen(function* () {
|
|
36
36
|
yield* awaitActivation2;
|
|
37
|
-
const context = yield*
|
|
37
|
+
const context = yield* Service29;
|
|
38
38
|
const selection = yield* context.select(input.session.id);
|
|
39
39
|
const model = yield* context.resolveModel(selection.session);
|
|
40
40
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-y7qh7890.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-88xbtdfr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./config-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/shell/parse.ts
|
|
15
15
|
var exports_parse = {};
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./config-kjjn4d3m.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service56
|
|
6
|
+
} from "./config-3b3zr0wm.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service15,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./config-w150ghxd.js";
|
|
12
12
|
import {
|
|
13
13
|
Service21
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./config-nsad1e5g.js";
|
|
15
15
|
import {
|
|
16
16
|
externalDirectoryPermission2,
|
|
17
17
|
resolvePath2,
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service18
|
|
19
|
+
} from "./config-hna3j416.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service49
|
|
22
|
+
} from "./config-nebq2wbp.js";
|
|
23
23
|
import {
|
|
24
24
|
fileDiff2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./config-6prwharc.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./config-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool/plugin/edit.ts
|
|
31
31
|
var exports_edit = {};
|
|
32
32
|
__export(exports_edit, {
|
|
33
33
|
EditTool: () => exports_edit,
|
|
34
|
-
Input: () =>
|
|
35
|
-
Output: () =>
|
|
36
|
-
Plugin: () =>
|
|
37
|
-
name: () =>
|
|
34
|
+
Input: () => Input4,
|
|
35
|
+
Output: () => Output3,
|
|
36
|
+
Plugin: () => Plugin34,
|
|
37
|
+
name: () => name4
|
|
38
38
|
});
|
|
39
39
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
40
40
|
import { FileDiff } from "@opencode-ai/schema/file-diff";
|
|
41
41
|
import { Bom } from "@opencode-ai/util/bom";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
|
-
var
|
|
44
|
-
var
|
|
43
|
+
var name4 = "edit";
|
|
44
|
+
var Input4 = Schema.Struct({
|
|
45
45
|
path: Schema.String.annotate({
|
|
46
46
|
description: "File to edit"
|
|
47
47
|
}),
|
|
@@ -51,7 +51,7 @@ var Input11 = Schema.Struct({
|
|
|
51
51
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
52
52
|
})
|
|
53
53
|
});
|
|
54
|
-
var
|
|
54
|
+
var Output3 = Schema.Struct({
|
|
55
55
|
files: Schema.Array(FileDiff.Info),
|
|
56
56
|
replacements: Schema.Number
|
|
57
57
|
});
|
|
@@ -104,21 +104,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
104
104
|
return result;
|
|
105
105
|
}, []);
|
|
106
106
|
};
|
|
107
|
-
var
|
|
107
|
+
var Plugin34 = {
|
|
108
108
|
id: "opencode.tool.edit",
|
|
109
109
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
110
|
-
const mutation = yield*
|
|
111
|
-
const fileMutation = yield*
|
|
112
|
-
const environment = yield*
|
|
110
|
+
const mutation = yield* Service18;
|
|
111
|
+
const fileMutation = yield* Service15;
|
|
112
|
+
const environment = yield* Service56;
|
|
113
113
|
const formatter = yield* Service21;
|
|
114
|
-
const location = yield*
|
|
115
|
-
const permission = yield*
|
|
114
|
+
const location = yield* Service76;
|
|
115
|
+
const permission = yield* Service49;
|
|
116
116
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
117
|
-
name:
|
|
117
|
+
name: name4,
|
|
118
118
|
options: { codemode: false, permission: "edit" },
|
|
119
119
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
120
|
-
input:
|
|
121
|
-
output:
|
|
120
|
+
input: Input4,
|
|
121
|
+
output: Output3,
|
|
122
122
|
execute: (input, context) => {
|
|
123
123
|
return Effect.gen(function* () {
|
|
124
124
|
const permissionSource = {
|
|
@@ -203,4 +203,4 @@ var Plugin43 = {
|
|
|
203
203
|
})
|
|
204
204
|
};
|
|
205
205
|
|
|
206
|
-
export {
|
|
206
|
+
export { name4, Input4, Output3, Plugin34, exports_edit };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/attachment.ts
|
|
9
9
|
var exports_attachment = {};
|
|
10
10
|
__export(exports_attachment, {
|
|
11
11
|
ConfigAttachmentV1: () => exports_attachment,
|
|
12
12
|
Image: () => Image2,
|
|
13
|
-
Info: () =>
|
|
13
|
+
Info: () => Info19
|
|
14
14
|
});
|
|
15
15
|
import { Schema } from "effect";
|
|
16
16
|
var Image2 = Schema.Struct({
|
|
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
|
|
|
27
27
|
description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
|
|
28
28
|
})
|
|
29
29
|
}).annotate({ identifier: "ImageAttachmentConfig" });
|
|
30
|
-
var
|
|
30
|
+
var Info19 = Schema.Struct({
|
|
31
31
|
image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
|
|
32
32
|
}).annotate({ identifier: "AttachmentConfig" });
|
|
33
33
|
|
|
34
|
-
export { Image2,
|
|
34
|
+
export { Image2, Info19, exports_attachment };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-t1qwxm7n.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./config-p8qxwesx.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service76,
|
|
12
|
+
node81
|
|
13
|
+
} from "./config-kjjn4d3m.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./config-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service17,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node21
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode-ai/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode-ai/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
29
29
|
import { Context, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service17 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service79;
|
|
44
|
-
const location = yield*
|
|
44
|
+
const location = yield* Service76;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const callContext = {
|
|
47
47
|
error: (type, message, data) => new DeclaredError(type, message, data)
|
|
@@ -115,14 +115,14 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
115
115
|
const registered = events.get(name);
|
|
116
116
|
if (!registered)
|
|
117
117
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
118
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
118
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service76, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
};
|
|
122
122
|
};
|
|
123
|
-
return
|
|
123
|
+
return Service17.of({ register, call, client });
|
|
124
124
|
}));
|
|
125
|
-
var
|
|
125
|
+
var node21 = makeLocationNode({ service: Service17, layer, deps: [node84, node81] });
|
|
126
126
|
var fields = {
|
|
127
127
|
id: Event.ID,
|
|
128
128
|
created: Schema.Finite,
|
|
@@ -207,4 +207,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
207
207
|
};
|
|
208
208
|
});
|
|
209
209
|
|
|
210
|
-
export {
|
|
210
|
+
export { Service17, node21, exports_rpc, define2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured8,
|
|
11
|
+
layer: () => layer20,
|
|
12
|
+
make: () => make20,
|
|
13
|
+
node: () => node68,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make20()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make20(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make19(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer20 = (input) => Layer.succeed(Metadata2, make20(input));
|
|
32
|
+
var configured8 = (input) => makeGlobalNode({ service: Metadata2, layer: layer20(input), deps: [] });
|
|
33
|
+
var node68 = configured8();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make20, useragent2, layer20, configured8, node68, exports_app };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service56
|
|
3
|
+
} from "./config-3b3zr0wm.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
20
20
|
var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
21
21
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
22
|
-
const environment = yield*
|
|
22
|
+
const environment = yield* Service56;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-3t738kvx.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./config-72nftnjy.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./config-kg06axw8.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service62,
|
|
17
|
+
node66
|
|
18
|
+
} from "./config-dfa19mh9.js";
|
|
19
19
|
import {
|
|
20
20
|
Service63,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node67
|
|
22
|
+
} from "./config-927n2qw7.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./config-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./config-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
34
|
Content: () => Content3,
|
|
35
|
-
Error: () =>
|
|
35
|
+
Error: () => Error5,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service61,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
41
|
node: () => node65
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as Content3, Error as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error5, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode-ai/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode-ai/ai";
|
|
45
45
|
import { Tool } from "@opencode-ai/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service61 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
56
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
57
57
|
const hooks = yield* Service63;
|
|
58
|
-
const image = yield*
|
|
58
|
+
const image = yield* Service62;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
180
180
|
error: error.message
|
|
181
181
|
}), { discard: true })
|
|
182
182
|
});
|
|
183
|
-
return
|
|
183
|
+
return Service61.of({
|
|
184
184
|
transform: state.transform,
|
|
185
185
|
reload: state.reload,
|
|
186
186
|
snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
|
|
@@ -263,9 +263,9 @@ function namespaceError(name) {
|
|
|
263
263
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
264
264
|
}
|
|
265
265
|
var node65 = makeLocationNode({
|
|
266
|
-
service:
|
|
266
|
+
service: Service61,
|
|
267
267
|
layer,
|
|
268
|
-
deps: [
|
|
268
|
+
deps: [node67, node66]
|
|
269
269
|
});
|
|
270
270
|
|
|
271
|
-
export { RegistrationError2,
|
|
271
|
+
export { RegistrationError2, Service61, node65, exports_tool, CallID2, Content3, Error5, FileContent3, TextContent2 };
|