@opencode-ai/core 0.0.0-beta-19213 → 0.0.0-beta-19228
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 +73 -73
- package/dist/catalog.js +83 -83
- package/dist/chunks/{config-ek71w6eh.js → integration-00th4a5r.js} +33 -33
- package/dist/chunks/{config-rr9jc8eh.js → integration-02gvdgew.js} +11 -11
- package/dist/chunks/{config-dfa19mh9.js → integration-051qdrr2.js} +9 -9
- package/dist/chunks/{config-qmmgsmq5.js → integration-089r6rfv.js} +28 -28
- package/dist/chunks/{config-ate8839h.js → integration-0arvn5f6.js} +26 -26
- package/dist/chunks/{config-xvz51zke.js → integration-0bhrx1x9.js} +54 -54
- package/dist/chunks/{config-66e0jw58.js → integration-0dh1sqzr.js} +10 -10
- package/dist/chunks/{config-0e0xafbb.js → integration-0e0xafbb.js} +2 -2
- package/dist/chunks/{config-061jmrcd.js → integration-0khar44x.js} +11 -11
- package/dist/chunks/{config-33jxrbwg.js → integration-0naqfmpk.js} +22 -22
- package/dist/chunks/{config-0paq2nw3.js → integration-0paq2nw3.js} +1 -1
- package/dist/chunks/{config-0q0f95c6.js → integration-0q0f95c6.js} +1 -1
- package/dist/chunks/{config-0s9ayhjt.js → integration-0s9ayhjt.js} +1 -1
- package/dist/chunks/{config-dkbgd4kx.js → integration-0t8hhwgh.js} +5 -5
- package/dist/chunks/{config-m9v3vvct.js → integration-0zbay0d2.js} +19 -19
- package/dist/chunks/{config-pshrjpqq.js → integration-0zgbz30q.js} +9 -9
- package/dist/chunks/{config-xzst0pqg.js → integration-10fgs14z.js} +22 -22
- package/dist/chunks/{config-3mp3qnpc.js → integration-13gt56f3.js} +6 -6
- package/dist/chunks/{config-1ct4r87x.js → integration-1ct4r87x.js} +1 -1
- package/dist/chunks/{config-nr6sang8.js → integration-1jp9daeg.js} +3 -3
- package/dist/chunks/{config-qr1eqhjp.js → integration-1kjrg5h4.js} +20 -20
- package/dist/chunks/{config-rvn46zq7.js → integration-1n116cmy.js} +9 -9
- package/dist/chunks/{config-mfqp6xfm.js → integration-1ygqh575.js} +6 -6
- package/dist/chunks/{config-1ksmjq1b.js → integration-21pvg7kt.js} +12 -12
- package/dist/chunks/{config-21r38tys.js → integration-21r38tys.js} +1 -1
- package/dist/chunks/{config-k661xtrb.js → integration-2571w2b0.js} +8 -8
- package/dist/chunks/{config-x40p63aq.js → integration-26bs89kh.js} +11 -11
- package/dist/chunks/{config-2a5m3afh.js → integration-2a5m3afh.js} +1 -1
- package/dist/chunks/{config-pkfzfw01.js → integration-2gk5cp3r.js} +13 -13
- package/dist/chunks/{config-sy7czwgb.js → integration-2h194s0m.js} +6 -6
- package/dist/chunks/{config-2ht70gj7.js → integration-2ht70gj7.js} +1 -1
- package/dist/chunks/{config-7dqw4kz8.js → integration-2k8khapm.js} +5 -5
- package/dist/chunks/{config-bqa69dka.js → integration-2pvtkfrt.js} +12 -12
- package/dist/chunks/{config-qczvrgn6.js → integration-30z9ekqv.js} +7 -7
- package/dist/chunks/{config-927n2qw7.js → integration-327n2tt7.js} +8 -8
- package/dist/chunks/{config-3fc6dm20.js → integration-3fc6dm20.js} +1 -1
- package/dist/chunks/{config-0xd2d7hb.js → integration-3g2y1byn.js} +5 -5
- package/dist/chunks/{config-3hepkmqq.js → integration-3hepkmqq.js} +1 -1
- package/dist/chunks/{config-6kd929vb.js → integration-3jwyfetg.js} +8 -8
- package/dist/chunks/{config-qayqf0g2.js → integration-3mygrb37.js} +11 -11
- package/dist/chunks/{config-hna3j416.js → integration-3nf7bh68.js} +14 -14
- package/dist/chunks/{config-8tbmtt69.js → integration-3qbt326n.js} +8 -8
- package/dist/chunks/{config-3qzbfqsy.js → integration-3qzbfqsy.js} +2 -2
- package/dist/chunks/{config-3smtnn6g.js → integration-3smtnn6g.js} +1 -1
- package/dist/chunks/{config-3tvqynh2.js → integration-3tvqynh2.js} +1 -1
- package/dist/chunks/{config-4d8x6c4r.js → integration-432pw3c5.js} +24 -24
- package/dist/chunks/{config-64p3nd57.js → integration-433q4afj.js} +43 -43
- package/dist/chunks/{config-454k5vzh.js → integration-454k5vzh.js} +1 -1
- package/dist/chunks/{config-ys4c75jc.js → integration-4ha7507h.js} +22 -22
- package/dist/chunks/{config-e61e1850.js → integration-4ktjq5jv.js} +9 -9
- package/dist/chunks/{config-tmpnype6.js → integration-4qnq6xhv.js} +42 -42
- package/dist/chunks/{config-4r2nyarf.js → integration-4r2nyarf.js} +1 -1
- package/dist/chunks/{config-d1a1bt21.js → integration-4sxg11az.js} +5 -5
- package/dist/chunks/integration-4y7bcn0g.js +4 -0
- package/dist/chunks/{config-qba0e80z.js → integration-53b1td34.js} +11 -11
- package/dist/chunks/{config-ezwsq5k5.js → integration-56kfp8bc.js} +22 -22
- package/dist/chunks/{config-h03b8j0b.js → integration-588w1t3p.js} +27 -27
- package/dist/chunks/{config-g83hhac8.js → integration-5ajcezws.js} +26 -26
- package/dist/chunks/{config-5daktx2q.js → integration-5daktx2q.js} +1 -1
- package/dist/chunks/{config-5gf0fqf4.js → integration-5fex8bb2.js} +7 -7
- package/dist/chunks/{config-5fmxt4p5.js → integration-5fmxt4p5.js} +1 -1
- package/dist/chunks/{config-zajwd6at.js → integration-5fq934vj.js} +5 -5
- package/dist/chunks/{config-ajhg4wh8.js → integration-5hy0rtfk.js} +16 -16
- package/dist/chunks/{config-5jvc5tg2.js → integration-5jvc5tg2.js} +1 -1
- package/dist/chunks/{config-1q5awywt.js → integration-5nrew705.js} +5 -5
- package/dist/chunks/{config-sc3k6mhh.js → integration-5phv6q8y.js} +10 -10
- package/dist/chunks/{config-fqah0yx0.js → integration-5t9nxpj3.js} +13 -13
- package/dist/chunks/{config-eg4pr325.js → integration-5vxncqj9.js} +9 -9
- package/dist/chunks/{config-vscvxt5h.js → integration-5xzsz4y7.js} +30 -30
- package/dist/chunks/{config-7ev6n2de.js → integration-68y46v3g.js} +20 -20
- package/dist/chunks/{config-wt69nczh.js → integration-6a04dbgb.js} +30 -30
- package/dist/chunks/{config-b2ajq5jm.js → integration-6g5h5enh.js} +13 -13
- package/dist/chunks/{config-6h73sxmp.js → integration-6h73sxmp.js} +1 -1
- package/dist/chunks/{config-gy0exn3t.js → integration-6k1x2hq7.js} +26 -26
- package/dist/chunks/{config-jd18dr6a.js → integration-6kzsdjmr.js} +35 -35
- package/dist/chunks/{config-vtfd0wn0.js → integration-6w2ebves.js} +24 -24
- package/dist/chunks/{config-711hfp6y.js → integration-711hfp6y.js} +2 -2
- package/dist/chunks/{config-72nftnjy.js → integration-72nftnjy.js} +2 -2
- package/dist/chunks/{config-1bbkgx8g.js → integration-73tb2d7t.js} +3 -3
- package/dist/chunks/{config-7bmhse3q.js → integration-7bmhse3q.js} +1 -1
- package/dist/chunks/{config-6bz4kze7.js → integration-7dwyp953.js} +12 -12
- package/dist/chunks/{config-y66syx4k.js → integration-7nzzgtdj.js} +28 -28
- package/dist/chunks/{config-6v7n0t7d.js → integration-7s54ph47.js} +14 -14
- package/dist/chunks/{config-tqtgqpep.js → integration-7tzxs4gx.js} +34 -34
- package/dist/chunks/{config-dg5bcj4q.js → integration-7w3s9kd0.js} +6 -6
- package/dist/chunks/{config-772t4z0t.js → integration-80nx285x.js} +27 -27
- package/dist/chunks/{config-ehp0t27a.js → integration-8aa81zbh.js} +14 -14
- package/dist/chunks/{config-93a8yfjt.js → integration-93a8yfjt.js} +2 -2
- package/dist/chunks/{config-qs4avvkb.js → integration-9exd6xtw.js} +1 -1
- package/dist/chunks/{config-9qm9egsn.js → integration-9qm9egsn.js} +2 -2
- package/dist/chunks/{config-34gj6exr.js → integration-9r8ws15v.js} +28 -28
- package/dist/chunks/{config-znbmjvpk.js → integration-9sftbbn6.js} +27 -27
- package/dist/chunks/{config-31x7p75b.js → integration-9x9phxhw.js} +8 -8
- package/dist/chunks/{config-y86ghdgz.js → integration-a1w1fpj3.js} +3 -3
- package/dist/chunks/{config-b77p7m16.js → integration-a4rgs0hc.js} +2 -2
- package/dist/chunks/{config-trrfevf4.js → integration-a5n2dake.js} +30 -30
- package/dist/chunks/{config-12zagvq5.js → integration-a7pjgb0j.js} +11 -11
- package/dist/chunks/{config-49szrax7.js → integration-a8z03gk5.js} +25 -25
- package/dist/chunks/{config-aaet6srn.js → integration-aaet6srn.js} +2 -2
- package/dist/chunks/{config-b232drbw.js → integration-ag62pq98.js} +24 -24
- package/dist/chunks/{config-ajtjthsy.js → integration-ajtjthsy.js} +2 -2
- package/dist/chunks/{config-xbpwrv4k.js → integration-amcb702e.js} +24 -24
- package/dist/chunks/{config-34595bsr.js → integration-ava0yb97.js} +31 -31
- package/dist/chunks/{config-g7d0txer.js → integration-avsd5b6b.js} +10 -10
- package/dist/chunks/{config-w150ghxd.js → integration-axrkenmh.js} +13 -13
- package/dist/chunks/{config-781c0shr.js → integration-az4t7x9p.js} +40 -40
- package/dist/chunks/{config-bbkddy5p.js → integration-b5nf4epv.js} +15 -15
- package/dist/chunks/{config-b6gygkdw.js → integration-b6gygkdw.js} +2 -2
- package/dist/chunks/{config-b9wsbatv.js → integration-b9wsbatv.js} +1 -1
- package/dist/chunks/{config-8zg6crxs.js → integration-ba8a6aak.js} +9 -9
- package/dist/chunks/{config-t7n9q6bq.js → integration-baaqp4zd.js} +4 -4
- package/dist/chunks/{config-1x5g2886.js → integration-bjp14p5h.js} +16 -16
- package/dist/chunks/{config-bphmvjfp.js → integration-bphmvjfp.js} +2 -2
- package/dist/chunks/{config-3qze2g25.js → integration-bpnz08mb.js} +2 -2
- package/dist/chunks/{config-rvb2zp0m.js → integration-chtrmnkp.js} +6 -6
- package/dist/chunks/{config-qswgdxr2.js → integration-cp2fwpzt.js} +25 -25
- package/dist/chunks/{config-e5wtx6yp.js → integration-cqvb8n3q.js} +20 -20
- package/dist/chunks/{config-kts0agpf.js → integration-cv4ckjj3.js} +7 -7
- package/dist/chunks/{config-4caeeh9x.js → integration-czarjmjc.js} +16 -16
- package/dist/chunks/{config-yj3e99fm.js → integration-d1qjg7yf.js} +1 -1
- package/dist/chunks/{config-d72308c8.js → integration-d72308c8.js} +2 -2
- package/dist/chunks/{config-bpgxrmx0.js → integration-d7rthvks.js} +44 -44
- package/dist/chunks/{config-q3hs2jyf.js → integration-dz86g41b.js} +9 -9
- package/dist/chunks/{config-zgkmrr91.js → integration-e1rfyyrx.js} +8 -8
- package/dist/chunks/{config-nkb5ds67.js → integration-e3ntb6n0.js} +27 -27
- package/dist/chunks/integration-e62b8887.js +22 -0
- package/dist/chunks/{config-w4ckd608.js → integration-e82pn39z.js} +9 -9
- package/dist/chunks/{config-vptg3p32.js → integration-ebbs9ney.js} +35 -35
- package/dist/chunks/{config-b01v16mj.js → integration-es2wkwv6.js} +5 -5
- package/dist/chunks/{config-smdsd39q.js → integration-ey04d52n.js} +12 -12
- package/dist/chunks/{config-jpbcpdat.js → integration-ezt9sm97.js} +6 -6
- package/dist/chunks/{config-wfzhhzam.js → integration-fn34x8gt.js} +4 -4
- package/dist/chunks/{config-fxbjtjnd.js → integration-fxbjtjnd.js} +1 -1
- package/dist/chunks/{config-fxypknc8.js → integration-fxypknc8.js} +1 -1
- package/dist/chunks/{config-m1gyy32w.js → integration-g3by5vjq.js} +13 -13
- package/dist/chunks/{config-2w6bfmvf.js → integration-ga2g4a2e.js} +1 -1
- package/dist/chunks/{config-fb0g3c6b.js → integration-gart8bfz.js} +18 -18
- package/dist/chunks/{config-gd4qta3r.js → integration-gd4qta3r.js} +1 -1
- package/dist/chunks/{config-z3h7hm3n.js → integration-gdkjhw4h.js} +4 -4
- package/dist/chunks/{config-t7m2jygx.js → integration-gej0j4pk.js} +17 -17
- package/dist/chunks/{config-pt7wq7x0.js → integration-gks1q0wj.js} +1 -1
- package/dist/chunks/{config-9cwwn6v6.js → integration-gmfar029.js} +11 -11
- package/dist/chunks/{config-k6m5m9e2.js → integration-gny0aj3z.js} +11 -11
- package/dist/chunks/{config-smt3exbz.js → integration-gr0yca18.js} +16 -16
- package/dist/chunks/{config-3567rzqq.js → integration-gzx0b0mt.js} +4 -4
- package/dist/chunks/{config-k1gcpd3w.js → integration-h63taqsq.js} +11 -11
- package/dist/chunks/{config-nsad1e5g.js → integration-h6phs3m3.js} +13 -13
- package/dist/chunks/{config-h6vf3j39.js → integration-h6vf3j39.js} +1 -1
- package/dist/chunks/integration-h8c5g50t.js +247 -0
- package/dist/chunks/{config-nebq2wbp.js → integration-h8zz2ecm.js} +43 -43
- package/dist/chunks/{config-y7qh7890.js → integration-hdd17qa4.js} +19 -19
- package/dist/chunks/{config-heyhwy2w.js → integration-heyhwy2w.js} +1 -1
- package/dist/chunks/{config-sbabsw9p.js → integration-hf3t0h2k.js} +6 -6
- package/dist/chunks/{config-b5gjhjfs.js → integration-hha4zry8.js} +20 -20
- package/dist/chunks/{config-nhy5jxhy.js → integration-hjt4xg1x.js} +4 -4
- package/dist/chunks/{config-hrvm11jt.js → integration-hrvm11jt.js} +3 -3
- package/dist/chunks/{config-kvsjn1dr.js → integration-hw4pv20g.js} +2 -2
- package/dist/chunks/{config-an7cqtb7.js → integration-j83byb14.js} +4 -4
- package/dist/chunks/{config-5thcqahd.js → integration-jgx0heh4.js} +8 -8
- package/dist/chunks/{config-2cp3nfy6.js → integration-jp7d3tsh.js} +15 -15
- package/dist/chunks/{config-dhj68qnj.js → integration-js3a5baj.js} +39 -39
- package/dist/chunks/{config-y71avatq.js → integration-jwcy2c2z.js} +4 -4
- package/dist/chunks/{config-v6cm343t.js → integration-jyprvyx1.js} +6 -6
- package/dist/chunks/{config-eya5rc2y.js → integration-k2en0fft.js} +10 -10
- package/dist/chunks/{config-e7hw5pty.js → integration-k2gqysrh.js} +11 -11
- package/dist/chunks/{config-k4bwy1x5.js → integration-k4bwy1x5.js} +1 -1
- package/dist/chunks/{config-25wcb9q3.js → integration-kfrje9nb.js} +26 -26
- package/dist/chunks/{config-kg06axw8.js → integration-kg06axw8.js} +1 -1
- package/dist/chunks/{config-1g5vg7jg.js → integration-knh3mbp0.js} +33 -33
- package/dist/chunks/{config-s5nnbhpc.js → integration-krtzpnj6.js} +32 -32
- package/dist/chunks/{config-yd25cjpk.js → integration-kx2gvdct.js} +4 -4
- package/dist/chunks/{config-0hnzrfya.js → integration-kzzvpjj3.js} +18 -18
- package/dist/chunks/{config-1rm0drdm.js → integration-m1rpt5yb.js} +2 -2
- package/dist/chunks/{config-vsksdvqk.js → integration-m5kbf3jc.js} +10 -10
- package/dist/chunks/{config-0d3z7n3v.js → integration-m6jbwjsh.js} +4 -4
- package/dist/chunks/{config-m9w0rfyh.js → integration-m9w0rfyh.js} +1 -1
- package/dist/chunks/{config-n8qe30xq.js → integration-mjzw1bzx.js} +9 -9
- package/dist/chunks/{config-zaqrafaq.js → integration-mmb49dvx.js} +7 -7
- package/dist/chunks/{config-xxz5bf5t.js → integration-mq9r6drf.js} +3 -3
- package/dist/chunks/{config-yhr218qz.js → integration-mtcjf44p.js} +4 -4
- package/dist/chunks/{config-cx2xxwvj.js → integration-n0tc3be6.js} +17 -17
- package/dist/chunks/{config-0myjdyv6.js → integration-n38qs1ar.js} +9 -9
- package/dist/chunks/{config-125x8yrg.js → integration-n3scjepk.js} +67 -67
- package/dist/chunks/{config-y5z4htr6.js → integration-n4q030rw.js} +4 -4
- package/dist/chunks/{config-st2ye5gy.js → integration-n8295sxz.js} +4 -4
- package/dist/chunks/{config-ygmyy038.js → integration-nhczefgv.js} +38 -38
- package/dist/chunks/{config-ww8c32hp.js → integration-nkd0m12v.js} +5 -5
- package/dist/chunks/{config-bwyjgagk.js → integration-nngpx1ez.js} +20 -20
- package/dist/chunks/{config-c3yfqhda.js → integration-npjzd5yf.js} +11 -11
- package/dist/chunks/{config-x21v200d.js → integration-nqh50ffv.js} +15 -15
- package/dist/chunks/{config-6cdt56q6.js → integration-p8j18qeb.js} +32 -32
- package/dist/chunks/{config-2cbb5et2.js → integration-p8zhn1ry.js} +22 -22
- package/dist/chunks/{config-768z0hjh.js → integration-p9vx44pc.js} +1 -1
- package/dist/chunks/{config-j935v87r.js → integration-paphc93g.js} +2 -2
- package/dist/chunks/{config-dn0akby4.js → integration-pdp8j59c.js} +11 -11
- package/dist/chunks/{config-1qhtjtvh.js → integration-pdxe2edq.js} +14 -14
- package/dist/chunks/{config-6vtapc9a.js → integration-pe587v0q.js} +7 -7
- package/dist/chunks/integration-pf31ssb9.js +18 -0
- package/dist/chunks/{config-f1tbd7xn.js → integration-pfwd1k69.js} +158 -158
- package/dist/chunks/{config-99tv9yfq.js → integration-pg4tqg4j.js} +49 -49
- package/dist/chunks/{config-bxnxgyw0.js → integration-pgaw07cd.js} +8 -8
- package/dist/chunks/{config-pjvnvgmy.js → integration-pjvnvgmy.js} +1 -1
- package/dist/chunks/{config-pknna89w.js → integration-pknna89w.js} +1 -1
- package/dist/chunks/integration-pmbgjyp9.js +460 -0
- package/dist/chunks/{config-nfc98c1n.js → integration-psgkh1f7.js} +4 -4
- package/dist/chunks/{config-jnmmvqjs.js → integration-pvg228j8.js} +1 -1
- package/dist/chunks/{config-9qdabgrg.js → integration-qgj1bmkg.js} +11 -11
- package/dist/chunks/{config-pae9v2p1.js → integration-qja7rspw.js} +6 -6
- package/dist/chunks/{config-qsdy395h.js → integration-qsdy395h.js} +1 -1
- package/dist/chunks/{config-6anwy9fs.js → integration-r33ff4dw.js} +6 -6
- package/dist/chunks/{config-7m25f6tj.js → integration-r4e2f98f.js} +33 -33
- package/dist/chunks/{config-6m3ezb16.js → integration-r7ddtr8e.js} +21 -21
- package/dist/chunks/{config-r8dhm0tv.js → integration-r8dhm0tv.js} +1 -1
- package/dist/chunks/{config-hnzcb2y8.js → integration-radpzgs0.js} +18 -18
- package/dist/chunks/{config-kjjn4d3m.js → integration-rbqj5q8p.js} +7 -7
- package/dist/chunks/{config-a48wttwm.js → integration-re8qbn3m.js} +21 -21
- package/dist/chunks/{config-r3j4zcsz.js → integration-reyds50y.js} +11 -11
- package/dist/chunks/{config-ykxs3m22.js → integration-rkar1xve.js} +16 -16
- package/dist/chunks/{config-bskfj634.js → integration-rke5v8gv.js} +2 -2
- package/dist/chunks/{config-0kka2cce.js → integration-rn3ywvk5.js} +17 -17
- package/dist/chunks/{config-mhf9e8sk.js → integration-rtyzczqf.js} +5 -5
- package/dist/chunks/{config-at5d07az.js → integration-ryr25ayn.js} +4 -4
- package/dist/chunks/{config-sba4qhjf.js → integration-sba4qhjf.js} +1 -1
- package/dist/chunks/{config-t1qwxm7n.js → integration-scmtthwv.js} +16 -16
- package/dist/chunks/{config-jeqa7pvb.js → integration-sgv69984.js} +8 -8
- package/dist/chunks/{config-0rh3kdcc.js → integration-sh7bh2kf.js} +5 -5
- package/dist/chunks/{config-ftwhdg9r.js → integration-skm6vzx1.js} +27 -27
- package/dist/chunks/{config-5kwxw01f.js → integration-sspp9p5y.js} +20 -20
- package/dist/chunks/{config-aqyb8ags.js → integration-sv1bgkh6.js} +3 -3
- package/dist/chunks/{config-a84e6zwm.js → integration-sxnbked4.js} +6 -6
- package/dist/chunks/{config-tq5842k7.js → integration-sz4dw7gm.js} +14 -14
- package/dist/chunks/{config-1qd474pp.js → integration-sz4gjawx.js} +85 -85
- package/dist/chunks/{config-j3nwj9gm.js → integration-t3jgv66k.js} +11 -11
- package/dist/chunks/{config-zeb8mwjb.js → integration-t89cxbfz.js} +4 -4
- package/dist/chunks/{config-tazgh4e4.js → integration-tazgh4e4.js} +1 -1
- package/dist/chunks/{config-tcezcvh9.js → integration-tcezcvh9.js} +1 -1
- package/dist/chunks/{config-tjykrgmx.js → integration-tjykrgmx.js} +1 -1
- package/dist/chunks/{config-31p5zh2n.js → integration-tkhgbb47.js} +17 -17
- package/dist/chunks/{config-wchqn469.js → integration-tm74we8j.js} +10 -10
- package/dist/chunks/{config-w28qetpj.js → integration-tpg9ytbh.js} +14 -14
- package/dist/chunks/{config-tppvcy65.js → integration-tppvcy65.js} +2 -2
- package/dist/chunks/{config-8edgd9kc.js → integration-tq9bnbkc.js} +20 -20
- package/dist/chunks/{config-0eq6scaw.js → integration-vjxchawq.js} +28 -28
- package/dist/chunks/{config-ptx5rqgb.js → integration-vmb983vf.js} +25 -25
- package/dist/chunks/{config-1szztnv1.js → integration-vzvx7g7e.js} +46 -46
- package/dist/chunks/{config-mcdn99dn.js → integration-w0968pv7.js} +5 -5
- package/dist/chunks/{config-fwac4zez.js → integration-w19w1qkx.js} +1 -1
- package/dist/chunks/{config-w3wsvvr9.js → integration-w3wsvvr9.js} +1 -1
- package/dist/chunks/{config-d8kth2xv.js → integration-w8ztvw7q.js} +29 -29
- package/dist/chunks/{config-3b3zr0wm.js → integration-wd5ma2ph.js} +22 -22
- package/dist/chunks/{config-wd87259q.js → integration-wd87259q.js} +1 -1
- package/dist/chunks/{config-42yc5jqn.js → integration-whyqf77n.js} +8 -8
- package/dist/chunks/{config-1s0bkp3w.js → integration-wjzbj88c.js} +23 -23
- package/dist/chunks/{config-g670t05w.js → integration-wp8mzxcn.js} +32 -32
- package/dist/chunks/{config-8a43n134.js → integration-wqpfxacs.js} +7 -7
- package/dist/chunks/{config-dvpfeqay.js → integration-wr27bwq7.js} +32 -32
- package/dist/chunks/{config-dz34hndh.js → integration-wy76m6zk.js} +25 -25
- package/dist/chunks/{config-5g1rmrcr.js → integration-wzny3sya.js} +14 -14
- package/dist/chunks/{config-x1ezjp6w.js → integration-x1ezjp6w.js} +1 -1
- package/dist/chunks/{config-j1c7ngy9.js → integration-x8nhbgtx.js} +44 -44
- package/dist/chunks/{config-hfs9c98a.js → integration-x9ktxn4p.js} +32 -32
- package/dist/chunks/{config-snxwbbja.js → integration-xg3vtz5h.js} +4 -4
- package/dist/chunks/{config-eedkthq6.js → integration-xtrrbz3n.js} +15 -15
- package/dist/chunks/{config-sne4bgax.js → integration-xxht2zme.js} +13 -13
- package/dist/chunks/{config-wf7fyefm.js → integration-xzhshwgm.js} +11 -11
- package/dist/chunks/{config-y1fvbwt7.js → integration-y1fvbwt7.js} +1 -1
- package/dist/chunks/{config-66r7hxb5.js → integration-y1sxvda5.js} +7 -7
- package/dist/chunks/{config-swawfrtc.js → integration-y3c3mzvm.js} +15 -15
- package/dist/chunks/{config-yfbd16n1.js → integration-yfbd16n1.js} +2 -2
- package/dist/chunks/{config-yp2x3t23.js → integration-yp2x3t23.js} +1 -1
- package/dist/chunks/{config-z1k01bn4.js → integration-z1k01bn4.js} +2 -2
- package/dist/chunks/{config-qk7j34hs.js → integration-z4btfpw8.js} +9 -9
- package/dist/chunks/{config-29x78va6.js → integration-z63w68vq.js} +6 -6
- package/dist/chunks/{config-wdbm444n.js → integration-z8145smf.js} +44 -44
- package/dist/chunks/{config-x8psm3y1.js → integration-zbp985em.js} +4 -4
- package/dist/chunks/{config-1hy241bm.js → integration-zkn0w8ks.js} +3 -3
- package/dist/chunks/{config-5s58fjqb.js → integration-zw0t7b2b.js} +84 -84
- package/dist/chunks/{config-zxq2ej10.js → integration-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 -359
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +88 -88
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-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 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +91 -91
- package/dist/git.js +5 -5
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +350 -350
- package/dist/instruction-discovery.js +83 -83
- 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 +86 -86
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +69 -69
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +347 -347
- package/dist/location.js +78 -78
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +121 -121
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +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 +103 -103
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- 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 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +321 -321
- 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 +2 -2
- 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 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +76 -76
- 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 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +70 -70
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +340 -340
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +77 -77
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +146 -146
- 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 +218 -218
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +145 -145
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- 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 +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +125 -125
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +120 -120
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +168 -168
- package/dist/session/shell.js +131 -131
- 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 +204 -204
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +106 -106
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +208 -208
- 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 -131
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +99 -99
- package/dist/skill.js +98 -98
- package/dist/snapshot.js +88 -88
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +118 -118
- 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 +116 -116
- package/dist/tool/plugin/question.js +95 -95
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +211 -211
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +94 -94
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- 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 +339 -339
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +7 -7
- package/dist/chunks/config-5yahp969.js +0 -22
- package/dist/chunks/config-7fj5dwt0.js +0 -18
- package/dist/chunks/config-7zk4hah4.js +0 -4
- package/dist/chunks/config-j7ddqhb7.js +0 -460
- package/dist/chunks/config-pf14h3xc.js +0 -247
- /package/dist/chunks/{config-0fabt78z.js → integration-0fabt78z.js} +0 -0
- /package/dist/chunks/{config-0qkdqm5v.js → integration-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{config-0zkw76rk.js → integration-0zkw76rk.js} +0 -0
- /package/dist/chunks/{config-17cy0kzp.js → integration-17cy0kzp.js} +0 -0
- /package/dist/chunks/{config-1cnp2v09.js → integration-1cnp2v09.js} +0 -0
- /package/dist/chunks/{config-1kg9ymc8.js → integration-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{config-2710q6r3.js → integration-2710q6r3.js} +0 -0
- /package/dist/chunks/{config-2axfhc9x.js → integration-2axfhc9x.js} +0 -0
- /package/dist/chunks/{config-2c3vjs8z.js → integration-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{config-359p4xyc.js → integration-359p4xyc.js} +0 -0
- /package/dist/chunks/{config-3asan66x.js → integration-3asan66x.js} +0 -0
- /package/dist/chunks/{config-3t738kvx.js → integration-3t738kvx.js} +0 -0
- /package/dist/chunks/{config-3v8g72cx.js → integration-3v8g72cx.js} +0 -0
- /package/dist/chunks/{config-3wcehsnq.js → integration-3wcehsnq.js} +0 -0
- /package/dist/chunks/{config-41nvscxy.js → integration-41nvscxy.js} +0 -0
- /package/dist/chunks/{config-43n2bw4t.js → integration-43n2bw4t.js} +0 -0
- /package/dist/chunks/{config-4knz6hnm.js → integration-4knz6hnm.js} +0 -0
- /package/dist/chunks/{config-4y7fprxs.js → integration-4y7fprxs.js} +0 -0
- /package/dist/chunks/{config-53557ph1.js → integration-53557ph1.js} +0 -0
- /package/dist/chunks/{config-550bvhaj.js → integration-550bvhaj.js} +0 -0
- /package/dist/chunks/{config-6prwharc.js → integration-6prwharc.js} +0 -0
- /package/dist/chunks/{config-7akdwqpd.js → integration-7akdwqpd.js} +0 -0
- /package/dist/chunks/{config-7m9af43g.js → integration-7m9af43g.js} +0 -0
- /package/dist/chunks/{config-822emrt2.js → integration-822emrt2.js} +0 -0
- /package/dist/chunks/{config-88xbtdfr.js → integration-88xbtdfr.js} +0 -0
- /package/dist/chunks/{config-8n3pysct.js → integration-8n3pysct.js} +0 -0
- /package/dist/chunks/{config-982e01ww.js → integration-982e01ww.js} +0 -0
- /package/dist/chunks/{config-9a4afbnw.js → integration-9a4afbnw.js} +0 -0
- /package/dist/chunks/{config-9rqn6x4v.js → integration-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{config-a1tpkmh4.js → integration-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{config-af5trqkr.js → integration-af5trqkr.js} +0 -0
- /package/dist/chunks/{config-afrmfg78.js → integration-afrmfg78.js} +0 -0
- /package/dist/chunks/{config-aqzs7mqg.js → integration-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{config-atq7p7m5.js → integration-atq7p7m5.js} +0 -0
- /package/dist/chunks/{config-bkyjaxrp.js → integration-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{config-bmr6ed5q.js → integration-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{config-cf4snx6d.js → integration-cf4snx6d.js} +0 -0
- /package/dist/chunks/{config-cvy3z8tj.js → integration-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{config-d9fn303g.js → integration-d9fn303g.js} +0 -0
- /package/dist/chunks/{config-d9jj8t3e.js → integration-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{config-dajrwvna.js → integration-dajrwvna.js} +0 -0
- /package/dist/chunks/{config-dap0rakb.js → integration-dap0rakb.js} +0 -0
- /package/dist/chunks/{config-df08tz66.js → integration-df08tz66.js} +0 -0
- /package/dist/chunks/{config-dy18nga0.js → integration-dy18nga0.js} +0 -0
- /package/dist/chunks/{config-e5kj55wp.js → integration-e5kj55wp.js} +0 -0
- /package/dist/chunks/{config-e73j6tqm.js → integration-e73j6tqm.js} +0 -0
- /package/dist/chunks/{config-eh3zwz77.js → integration-eh3zwz77.js} +0 -0
- /package/dist/chunks/{config-emrn6kk6.js → integration-emrn6kk6.js} +0 -0
- /package/dist/chunks/{config-f0mxakyp.js → integration-f0mxakyp.js} +0 -0
- /package/dist/chunks/{config-f6n9ztr4.js → integration-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{config-faypxj3z.js → integration-faypxj3z.js} +0 -0
- /package/dist/chunks/{config-fd410y7t.js → integration-fd410y7t.js} +0 -0
- /package/dist/chunks/{config-fxgpk5d8.js → integration-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{config-g4wezp1m.js → integration-g4wezp1m.js} +0 -0
- /package/dist/chunks/{config-g86h250q.js → integration-g86h250q.js} +0 -0
- /package/dist/chunks/{config-gebd4c9n.js → integration-gebd4c9n.js} +0 -0
- /package/dist/chunks/{config-hk9envan.js → integration-hk9envan.js} +0 -0
- /package/dist/chunks/{config-j2ntwpah.js → integration-j2ntwpah.js} +0 -0
- /package/dist/chunks/{config-j5zkgpj8.js → integration-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{config-jr7sbwjy.js → integration-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{config-jwfs4k6c.js → integration-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{config-jzg6c2d5.js → integration-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{config-mntxs535.js → integration-mntxs535.js} +0 -0
- /package/dist/chunks/{config-mp448xyj.js → integration-mp448xyj.js} +0 -0
- /package/dist/chunks/{config-msx8hqn2.js → integration-msx8hqn2.js} +0 -0
- /package/dist/chunks/{config-n05xt0ee.js → integration-n05xt0ee.js} +0 -0
- /package/dist/chunks/{config-n3j8tn72.js → integration-n3j8tn72.js} +0 -0
- /package/dist/chunks/{config-njntx4h6.js → integration-njntx4h6.js} +0 -0
- /package/dist/chunks/{config-p8qxwesx.js → integration-p8qxwesx.js} +0 -0
- /package/dist/chunks/{config-q3sfg36h.js → integration-q3sfg36h.js} +0 -0
- /package/dist/chunks/{config-q74kybfr.js → integration-q74kybfr.js} +0 -0
- /package/dist/chunks/{config-qaymkmh1.js → integration-qaymkmh1.js} +0 -0
- /package/dist/chunks/{config-qb87gjwd.js → integration-qb87gjwd.js} +0 -0
- /package/dist/chunks/{config-qfa1cgps.js → integration-qfa1cgps.js} +0 -0
- /package/dist/chunks/{config-qrg20bc0.js → integration-qrg20bc0.js} +0 -0
- /package/dist/chunks/{config-rcb2kzg1.js → integration-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{config-sdp7kfr6.js → integration-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{config-se0s1eqw.js → integration-se0s1eqw.js} +0 -0
- /package/dist/chunks/{config-sk3qaz4a.js → integration-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{config-ssg3fenm.js → integration-ssg3fenm.js} +0 -0
- /package/dist/chunks/{config-twg0f83k.js → integration-twg0f83k.js} +0 -0
- /package/dist/chunks/{config-w803qqfp.js → integration-w803qqfp.js} +0 -0
- /package/dist/chunks/{config-wer8tq1h.js → integration-wer8tq1h.js} +0 -0
- /package/dist/chunks/{config-wtztk69x.js → integration-wtztk69x.js} +0 -0
- /package/dist/chunks/{config-x0ckcb58.js → integration-x0ckcb58.js} +0 -0
- /package/dist/chunks/{config-x1b8g1yb.js → integration-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{config-x61499pn.js → integration-x61499pn.js} +0 -0
- /package/dist/chunks/{config-y44na4kk.js → integration-y44na4kk.js} +0 -0
- /package/dist/chunks/{config-y8cydn3q.js → integration-y8cydn3q.js} +0 -0
- /package/dist/chunks/{config-ygaqb7jw.js → integration-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{config-z9919s4g.js → integration-z9919s4g.js} +0 -0
- /package/dist/chunks/{config-zbjnn3ac.js → integration-zbjnn3ac.js} +0 -0
|
@@ -2,27 +2,27 @@ import {
|
|
|
2
2
|
VariantUnavailableError3,
|
|
3
3
|
UnsupportedPackageError3,
|
|
4
4
|
UnresolvedProviderVariablesError3,
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service58,
|
|
6
|
+
node61
|
|
7
|
+
} from "./integration-js3a5baj.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-mq9r6drf.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./integration-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/runner/model.ts
|
|
16
16
|
var exports_model = {};
|
|
17
17
|
__export(exports_model, {
|
|
18
18
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
19
19
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
20
|
-
Service: () =>
|
|
20
|
+
Service: () => Service53,
|
|
21
21
|
SessionRunnerModel: () => exports_model,
|
|
22
22
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
23
23
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
24
24
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node56,
|
|
26
26
|
resolved: () => resolved2
|
|
27
27
|
});
|
|
28
28
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -48,7 +48,7 @@ var VariantUnavailableError2 = VariantUnavailableError3;
|
|
|
48
48
|
var UnsupportedPackageError2 = UnsupportedPackageError3;
|
|
49
49
|
var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service53 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
52
52
|
}
|
|
53
53
|
var resolved2 = (model, options) => ({
|
|
54
54
|
model,
|
|
@@ -61,9 +61,9 @@ var resolved2 = (model, options) => ({
|
|
|
61
61
|
cost: options.cost,
|
|
62
62
|
limit: options.limit
|
|
63
63
|
});
|
|
64
|
-
var layer = Layer.effect(
|
|
65
|
-
const resolver = yield*
|
|
66
|
-
return
|
|
64
|
+
var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
65
|
+
const resolver = yield* Service58;
|
|
66
|
+
return Service53.of({
|
|
67
67
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
68
68
|
if (!session.model) {
|
|
69
69
|
const resolved = yield* resolver.resolve();
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node56 = makeLocationNode({ service: Service53, layer, deps: [node61] });
|
|
85
85
|
|
|
86
|
-
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, UnresolvedProviderVariablesError2,
|
|
86
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, UnresolvedProviderVariablesError2, Service53, resolved2, node56, exports_model };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-p8qxwesx.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./integration-jwcy2c2z.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/git.ts
|
|
13
13
|
var exports_git3 = {};
|
|
@@ -15,7 +15,7 @@ __export(exports_git3, {
|
|
|
15
15
|
Git: () => exports_git3,
|
|
16
16
|
OperationError: () => OperationError3,
|
|
17
17
|
Repository: () => Repository2,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service79,
|
|
19
19
|
TreeID: () => TreeID2,
|
|
20
20
|
Worktree: () => Worktree2,
|
|
21
21
|
WorktreeError: () => WorktreeError2,
|
|
@@ -85,9 +85,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
class
|
|
88
|
+
class Service79 extends Context.Service()("@opencode/Git") {
|
|
89
89
|
}
|
|
90
|
-
var layer = Layer.effect(
|
|
90
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
91
91
|
const fs = yield* FSUtil.Service;
|
|
92
92
|
const proc = yield* AppProcess.Service;
|
|
93
93
|
const locks = makeUnsafe2();
|
|
@@ -409,7 +409,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
409
409
|
kind: index === 0 ? "main" : "linked"
|
|
410
410
|
}));
|
|
411
411
|
});
|
|
412
|
-
return
|
|
412
|
+
return Service79.of({
|
|
413
413
|
repo: { discover, clone, create },
|
|
414
414
|
remote: { get: remote },
|
|
415
415
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -425,7 +425,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
425
425
|
}
|
|
426
426
|
});
|
|
427
427
|
}));
|
|
428
|
-
var node83 = makeGlobalNode({ service:
|
|
428
|
+
var node83 = makeGlobalNode({ service: Service79, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
429
429
|
function run(cwd, proc, args) {
|
|
430
430
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
431
431
|
}
|
|
@@ -450,4 +450,4 @@ function resolvePath(cwd, value) {
|
|
|
450
450
|
return path.resolve(cwd, normalized);
|
|
451
451
|
}
|
|
452
452
|
|
|
453
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
453
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service79, node83, exports_git3 };
|
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-p8qxwesx.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
8
|
+
Service79,
|
|
9
9
|
node83
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-5vxncqj9.js";
|
|
11
11
|
import {
|
|
12
12
|
Service76,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
node80
|
|
14
|
+
} from "./integration-rbqj5q8p.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./integration-kg06axw8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./integration-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error4,
|
|
26
|
+
ID: () => ID4,
|
|
27
|
+
Service: () => Service38,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node42,
|
|
30
|
+
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode-ai/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID4 } from "@opencode-ai/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode-ai/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error4 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service38 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service79;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const location = yield* Service76;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID4.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -122,25 +122,25 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
122
122
|
for (const [file, snapshot] of input.files) {
|
|
123
123
|
const absolute = path.resolve(worktree, file);
|
|
124
124
|
if (!FSUtil.contains(worktree, absolute))
|
|
125
|
-
return yield* new
|
|
125
|
+
return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
126
126
|
files.set(file, TreeID2.make(snapshot));
|
|
127
127
|
}
|
|
128
128
|
return files;
|
|
129
129
|
});
|
|
130
130
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
131
131
|
if (!enabled())
|
|
132
|
-
return yield* new
|
|
132
|
+
return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
|
|
133
133
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
134
134
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service38.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
137
137
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
138
|
-
var
|
|
139
|
-
service:
|
|
138
|
+
var node42 = makeLocationNode({
|
|
139
|
+
service: Service38,
|
|
140
140
|
layer,
|
|
141
|
-
deps: [FSUtil.node, node83, Global.node,
|
|
141
|
+
deps: [FSUtil.node, node83, Global.node, node80]
|
|
142
142
|
});
|
|
143
|
-
var
|
|
143
|
+
var noopLayer2 = Layer.succeed(Service38, Service38.of({
|
|
144
144
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
145
145
|
reload: () => Effect.void,
|
|
146
146
|
capture: () => Effect.undefined,
|
|
@@ -149,13 +149,13 @@ var noopLayer3 = Layer.succeed(Service54, Service54.of({
|
|
|
149
149
|
restore: () => Effect.void
|
|
150
150
|
}));
|
|
151
151
|
function failure(operation, cause) {
|
|
152
|
-
if (cause instanceof
|
|
152
|
+
if (cause instanceof Error4 && cause.operation === operation)
|
|
153
153
|
return cause;
|
|
154
|
-
return new
|
|
154
|
+
return new Error4({
|
|
155
155
|
operation,
|
|
156
156
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
157
157
|
cause
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
export {
|
|
161
|
+
export { ID4, Error4, Service38, node42, noopLayer2, exports_snapshot2 };
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node84
|
|
4
|
+
} from "./integration-gny0aj3z.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service78,
|
|
8
|
+
node82
|
|
9
|
+
} from "./integration-scmtthwv.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./integration-mntxs535.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./integration-982e01ww.js";
|
|
16
16
|
import {
|
|
17
17
|
update2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./integration-yfbd16n1.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./integration-p8qxwesx.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./integration-9qm9egsn.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./integration-hrvm11jt.js";
|
|
31
31
|
import {
|
|
32
32
|
projectAdmitted2,
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./integration-56kfp8bc.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./integration-xg3vtz5h.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./integration-bjp14p5h.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./integration-gebd4c9n.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./integration-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/projector.ts
|
|
54
54
|
var exports_projector = {};
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node31
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -275,7 +275,7 @@ function projectIdle(db, event) {
|
|
|
275
275
|
});
|
|
276
276
|
}
|
|
277
277
|
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
278
|
-
const bus = yield*
|
|
278
|
+
const bus = yield* Service78;
|
|
279
279
|
const db = (yield* Service80).db;
|
|
280
280
|
yield* bus.project(SessionEvent2.Created, (event) => Effect.gen(function* () {
|
|
281
281
|
const stored = yield* db.insert(SessionTable2).values({
|
|
@@ -455,6 +455,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
455
455
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
456
456
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
457
457
|
}));
|
|
458
|
-
var
|
|
458
|
+
var node31 = makeGlobalNode({ name: "session-projector", layer, deps: [node82, node84] });
|
|
459
459
|
|
|
460
|
-
export { SessionAlreadyProjected2,
|
|
460
|
+
export { SessionAlreadyProjected2, node31, exports_projector };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service76
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-rbqj5q8p.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service74
|
|
6
|
+
} from "./integration-wd5ma2ph.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service73,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./integration-axrkenmh.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service19
|
|
14
|
+
} from "./integration-h6phs3m3.js";
|
|
15
15
|
import {
|
|
16
16
|
externalDirectoryPermission2,
|
|
17
17
|
resolvePath2,
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service72
|
|
19
|
+
} from "./integration-3nf7bh68.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service54
|
|
22
|
+
} from "./integration-h8zz2ecm.js";
|
|
23
23
|
import {
|
|
24
24
|
fileDiff2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./integration-6prwharc.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./integration-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: () => Input9,
|
|
35
|
+
Output: () => Output6,
|
|
36
|
+
Plugin: () => Plugin23,
|
|
37
|
+
name: () => name9
|
|
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 name9 = "edit";
|
|
44
|
+
var Input9 = Schema.Struct({
|
|
45
45
|
path: Schema.String.annotate({
|
|
46
46
|
description: "File to edit"
|
|
47
47
|
}),
|
|
@@ -51,7 +51,7 @@ var Input4 = 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 Output6 = 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 Plugin23 = {
|
|
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*
|
|
113
|
-
const formatter = yield*
|
|
110
|
+
const mutation = yield* Service72;
|
|
111
|
+
const fileMutation = yield* Service73;
|
|
112
|
+
const environment = yield* Service74;
|
|
113
|
+
const formatter = yield* Service19;
|
|
114
114
|
const location = yield* Service76;
|
|
115
|
-
const permission = yield*
|
|
115
|
+
const permission = yield* Service54;
|
|
116
116
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
117
|
-
name:
|
|
117
|
+
name: name9,
|
|
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: Input9,
|
|
121
|
+
output: Output6,
|
|
122
122
|
execute: (input, context) => {
|
|
123
123
|
return Effect.gen(function* () {
|
|
124
124
|
const permissionSource = {
|
|
@@ -203,4 +203,4 @@ var Plugin34 = {
|
|
|
203
203
|
})
|
|
204
204
|
};
|
|
205
205
|
|
|
206
|
-
export {
|
|
206
|
+
export { name9, Input9, Output6, Plugin23, exports_edit };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service44
|
|
3
|
+
} from "./integration-d7rthvks.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service33
|
|
6
|
+
} from "./integration-pg4tqg4j.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigMcpPlugin: () =>
|
|
15
|
-
Plugin: () =>
|
|
12
|
+
var exports_mcp2 = {};
|
|
13
|
+
__export(exports_mcp2, {
|
|
14
|
+
ConfigMcpPlugin: () => exports_mcp2,
|
|
15
|
+
Plugin: () => Plugin28,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin28 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service44;
|
|
28
|
+
const mcp = yield* Service33;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin28, register2, exports_mcp2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
5
|
Service76,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node80
|
|
7
|
+
} from "./integration-rbqj5q8p.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service18,
|
|
10
|
+
node22
|
|
11
|
+
} from "./integration-tpg9ytbh.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./integration-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./integration-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options2,
|
|
25
|
+
Service: () => Service16,
|
|
26
|
+
configured: () => configured2,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer9,
|
|
29
|
+
node: () => node20,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode-ai/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options2 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service16 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service16, Effect.gen(function* () {
|
|
62
62
|
const location = yield* Service76;
|
|
63
|
-
const ripgrep = yield*
|
|
63
|
+
const ripgrep = yield* Service18;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,14 +105,14 @@ var ripgrepLayer2 = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service16.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
115
|
+
var fffLayer2 = Layer.effect(Service16, Effect.gen(function* () {
|
|
116
116
|
const location = yield* Service76;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service16.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service16.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,7 +174,7 @@ var fffLayer2 = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
177
|
+
var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
178
|
const location = yield* Service76;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
@@ -182,9 +182,9 @@ var layer10 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured2(options) {
|
|
186
|
+
return makeLocationNode({ service: Service16, layer: layer9(options), deps: [node80, node22] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node20 = configured2();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options2, Service16, ripgrepLayer2, fffLayer2, layer9, configured2, node20, exports_search };
|