@opencode/core 0.0.0-dev-20735 → 0.0.0-dev-20738
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 +80 -80
- package/dist/aisdk-native.js +90 -90
- package/dist/aisdk.js +95 -95
- package/dist/app.js +9 -9
- package/dist/bus.js +70 -70
- package/dist/chunks/{location-service-map-v0xmac3n.js → kv-007agb8z.js} +2 -2
- package/dist/chunks/{location-service-map-1109kv5r.js → kv-05xfxpq7.js} +8 -8
- package/dist/chunks/{location-service-map-5s9sacvh.js → kv-0jck1kcq.js} +10 -10
- package/dist/chunks/{location-service-map-dewj8197.js → kv-0p15mrma.js} +39 -39
- package/dist/chunks/{location-service-map-0paq2nw3.js → kv-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-service-map-swg79b35.js → kv-0re18gy8.js} +14 -14
- package/dist/chunks/{location-service-map-9kw1gp9b.js → kv-0v09vagk.js} +13 -13
- package/dist/chunks/{location-service-map-0emb60td.js → kv-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-service-map-k5n7mtkn.js → kv-10h2grd6.js} +11 -11
- package/dist/chunks/{location-service-map-wr9mz46y.js → kv-12a3t8vh.js} +42 -42
- package/dist/chunks/{location-service-map-020j3mp2.js → kv-13bwbegs.js} +6 -6
- package/dist/chunks/{location-service-map-cdf44jq4.js → kv-1cgd7pha.js} +11 -11
- package/dist/chunks/{location-service-map-1dazxqgg.js → kv-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-service-map-84h8c373.js → kv-1dvck2a7.js} +2 -2
- package/dist/chunks/{location-service-map-wwwjdszg.js → kv-1vq0vbyf.js} +30 -30
- package/dist/chunks/{location-service-map-mfqp6xfm.js → kv-1ygqh575.js} +6 -6
- package/dist/chunks/{location-service-map-rb8bt062.js → kv-2579kh9d.js} +7 -7
- package/dist/chunks/{location-service-map-4fx98jam.js → kv-25py64se.js} +19 -19
- package/dist/chunks/{location-service-map-2a5m3afh.js → kv-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-service-map-0zr63e5x.js → kv-2nyjj8hd.js} +4 -4
- package/dist/chunks/{location-service-map-2mq1h16s.js → kv-2sejkfem.js} +9 -9
- package/dist/chunks/{location-service-map-hv5wevtb.js → kv-35a7vcrd.js} +3 -3
- package/dist/chunks/{location-service-map-2zbf90ch.js → kv-366ph4b8.js} +11 -11
- package/dist/chunks/{location-service-map-2p623br6.js → kv-3801kdgp.js} +5 -5
- package/dist/chunks/{location-service-map-8x62bep5.js → kv-39259x0v.js} +13 -13
- package/dist/chunks/{location-service-map-fr637340.js → kv-39eerbas.js} +23 -23
- package/dist/chunks/{location-service-map-3jq3pnk6.js → kv-3bh97vej.js} +22 -22
- package/dist/chunks/{location-service-map-3fc6dm20.js → kv-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-service-map-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-service-map-pm7gqfwt.js → kv-3hxhjqkg.js} +13 -13
- package/dist/chunks/{location-service-map-8r1f1zwq.js → kv-3k6tstd2.js} +34 -34
- package/dist/chunks/{location-service-map-xdc3sm7c.js → kv-3ptewvj2.js} +35 -35
- package/dist/chunks/{location-service-map-3smtnn6g.js → kv-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-service-map-3tvqynh2.js → kv-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-service-map-4bgzx16c.js → kv-3vxensx3.js} +13 -13
- package/dist/chunks/{location-service-map-3zsf4n22.js → kv-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-service-map-v5fbhvxb.js → kv-42t96xj3.js} +7 -7
- package/dist/chunks/{location-service-map-ax1z2ndw.js → kv-45595hde.js} +27 -27
- package/dist/chunks/{location-service-map-c2wr4gbn.js → kv-47mf4edr.js} +11 -11
- package/dist/chunks/{location-service-map-5aw4d85b.js → kv-4ckpdmry.js} +19 -19
- package/dist/chunks/{location-service-map-39r23z6b.js → kv-4ddjjg0p.js} +5 -5
- package/dist/chunks/{location-service-map-kbj2dgab.js → kv-4drgpw32.js} +5 -5
- package/dist/chunks/{location-service-map-20g1jh9k.js → kv-4g1zz2v1.js} +8 -8
- package/dist/chunks/{location-service-map-4ts7tf6z.js → kv-4ts7tf6z.js} +2 -2
- package/dist/chunks/{location-service-map-p5vcwgcv.js → kv-54fe0yvq.js} +7 -7
- package/dist/chunks/{location-service-map-54ma36ye.js → kv-54ma36ye.js} +1 -1
- package/dist/chunks/{location-service-map-198ssmbw.js → kv-5epaq3n7.js} +17 -17
- package/dist/chunks/{location-service-map-7y8fvpvp.js → kv-5evczv99.js} +11 -11
- package/dist/chunks/{location-service-map-5m9w47nd.js → kv-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-service-map-5t3nmthw.js → kv-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-service-map-1gpjfezg.js → kv-5ymsght2.js} +10 -10
- package/dist/chunks/{location-service-map-jz7r8edy.js → kv-67d2xr1y.js} +19 -19
- package/dist/chunks/{location-service-map-8n69n882.js → kv-69apea2v.js} +8 -8
- package/dist/chunks/{location-service-map-g3kvhe3m.js → kv-6cdytb58.js} +14 -14
- package/dist/chunks/{location-service-map-jdpqn6n9.js → kv-6dtqx3zc.js} +13 -13
- package/dist/chunks/{location-service-map-dmsxtrss.js → kv-6evx7sdp.js} +9 -9
- package/dist/chunks/{location-service-map-vy7v463h.js → kv-6fddr8vc.js} +4 -4
- package/dist/chunks/{location-service-map-b27ghv1r.js → kv-6g5spzhr.js} +25 -25
- package/dist/chunks/{location-service-map-e3h34950.js → kv-6rxsm8b2.js} +17 -17
- package/dist/chunks/{location-service-map-vc9hav61.js → kv-6t5kp9rh.js} +11 -11
- package/dist/chunks/{location-service-map-kx705y8y.js → kv-6w7198b7.js} +3 -3
- package/dist/chunks/{location-service-map-6xb47vfp.js → kv-6xb47vfp.js} +1 -1
- package/dist/chunks/{location-service-map-5w9yjztw.js → kv-6xcvt31d.js} +1 -1
- package/dist/chunks/{location-service-map-711y4ma3.js → kv-6zz3m0fh.js} +14 -14
- package/dist/chunks/{location-service-map-f75zav2x.js → kv-71az546q.js} +2 -2
- package/dist/chunks/{location-service-map-92pnwrb8.js → kv-77pjx4k4.js} +24 -24
- package/dist/chunks/{location-service-map-tmm18trm.js → kv-78wqg8jh.js} +8 -8
- package/dist/chunks/{location-service-map-3fxhvxgd.js → kv-79r4g3vq.js} +1 -1
- package/dist/chunks/{location-service-map-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
- package/dist/chunks/kv-7gbq6z1m.js +26 -0
- package/dist/chunks/{location-service-map-3p88kp5b.js → kv-7ghw0wmm.js} +3 -3
- package/dist/chunks/{location-service-map-aezf7b9z.js → kv-7k3bpw74.js} +24 -24
- package/dist/chunks/{location-service-map-rd3hqfd2.js → kv-7n34cqd6.js} +11 -11
- package/dist/chunks/{location-service-map-4esgd2h9.js → kv-7wgvetf0.js} +18 -18
- package/dist/chunks/{location-service-map-wm5kwffx.js → kv-808z5t55.js} +1 -1
- package/dist/chunks/{location-service-map-84txncab.js → kv-84txncab.js} +1 -1
- package/dist/chunks/{location-service-map-5wq08njd.js → kv-84wpbtae.js} +14 -14
- package/dist/chunks/{location-service-map-8d7r5vzw.js → kv-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-service-map-snr9kmf9.js → kv-8gqa7j8v.js} +7 -7
- package/dist/chunks/{location-service-map-8m6m0r52.js → kv-8m6m0r52.js} +1 -1
- package/dist/chunks/{location-service-map-f59s4cc3.js → kv-8me8kj13.js} +11 -11
- package/dist/chunks/{location-service-map-811a529q.js → kv-8n5pds5p.js} +10 -10
- package/dist/chunks/{location-service-map-w319nhgc.js → kv-930gsck4.js} +16 -16
- package/dist/chunks/{location-service-map-dm2pdpx2.js → kv-948csc8n.js} +15 -15
- package/dist/chunks/{location-service-map-3h3m3rpf.js → kv-984x661q.js} +12 -12
- package/dist/chunks/{location-service-map-p7a39gy5.js → kv-9ae44cfy.js} +6 -6
- package/dist/chunks/{location-service-map-kb9j3d72.js → kv-9e5bzkjp.js} +3 -3
- package/dist/chunks/{location-service-map-egh0nd0j.js → kv-9jzm7v48.js} +4 -4
- package/dist/chunks/{location-service-map-xg9smtde.js → kv-9p5sgrfb.js} +74 -74
- package/dist/chunks/{location-service-map-bsqx64w4.js → kv-9x77fmbz.js} +4 -4
- package/dist/chunks/{location-service-map-rtb52qhq.js → kv-a4r3dq2k.js} +13 -13
- package/dist/chunks/{location-service-map-m4qbna0r.js → kv-a5pr435h.js} +17 -17
- package/dist/chunks/{location-service-map-ezhqr4dw.js → kv-a68x47kk.js} +24 -24
- package/dist/chunks/{location-service-map-w40abp0x.js → kv-a998vwew.js} +1 -1
- package/dist/chunks/{location-service-map-aaet6srn.js → kv-aaet6srn.js} +2 -2
- package/dist/chunks/{location-service-map-kpxkaw22.js → kv-acvt02vq.js} +8 -8
- package/dist/chunks/{location-service-map-e4g6rnfs.js → kv-ajzsbz6h.js} +9 -9
- package/dist/chunks/{location-service-map-v3axjhay.js → kv-amf37a4y.js} +8 -8
- package/dist/chunks/{location-service-map-jp3y83b8.js → kv-ang9sdtn.js} +8 -8
- package/dist/chunks/{location-service-map-kneamgfa.js → kv-at2kzgpx.js} +17 -17
- package/dist/chunks/{location-service-map-3baj6v9a.js → kv-azh8f6zy.js} +22 -22
- package/dist/chunks/{location-service-map-e0xpb80v.js → kv-b45880ax.js} +32 -32
- package/dist/chunks/{location-service-map-b6gygkdw.js → kv-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-service-map-ptxaygn1.js → kv-bfkzbq3x.js} +39 -39
- package/dist/chunks/{location-service-map-664v0k6q.js → kv-bfvwgmyn.js} +10 -10
- package/dist/chunks/{location-service-map-5jswmftw.js → kv-bgj4gnp0.js} +11 -11
- package/dist/chunks/{location-service-map-ryb4sabt.js → kv-bj94ydjv.js} +3 -3
- package/dist/chunks/{location-service-map-782taykb.js → kv-brhts8he.js} +9 -9
- package/dist/chunks/{location-service-map-hz6nra5z.js → kv-bxkg5nem.js} +9 -9
- package/dist/chunks/{location-service-map-xf8yqmad.js → kv-bydnjh3t.js} +9 -9
- package/dist/chunks/{location-service-map-jvnghvnw.js → kv-c27esgm9.js} +8 -8
- package/dist/chunks/{location-service-map-8dnsnve2.js → kv-cdj8tbqs.js} +1 -1
- package/dist/chunks/{location-service-map-zwfhe8jc.js → kv-cekf18da.js} +26 -26
- package/dist/chunks/{location-service-map-sxkj110m.js → kv-ch3jzc50.js} +28 -28
- package/dist/chunks/{location-service-map-1ajx6rf5.js → kv-cmwkp3r5.js} +8 -8
- package/dist/chunks/{location-service-map-2qbvmajs.js → kv-cp7jndq9.js} +6 -6
- package/dist/chunks/{location-service-map-1r0m8s4k.js → kv-ctgn3mrz.js} +16 -16
- package/dist/chunks/{location-service-map-a8vtzv7h.js → kv-cvv2w4hc.js} +14 -14
- package/dist/chunks/{location-service-map-p0n75hrs.js → kv-cy4egse2.js} +7 -7
- package/dist/chunks/{location-service-map-k6ybn7as.js → kv-d1me7hxe.js} +13 -13
- package/dist/chunks/{location-service-map-qg91mhk9.js → kv-d20y7eht.js} +20 -20
- package/dist/chunks/{location-service-map-b70cp975.js → kv-d6mdrvww.js} +29 -29
- package/dist/chunks/{location-service-map-vynmvp9h.js → kv-d737nyfv.js} +9 -9
- package/dist/chunks/{location-service-map-faxn7cy8.js → kv-ddcxhxh9.js} +23 -23
- package/dist/chunks/{location-service-map-p8p13f12.js → kv-dkhgx6kw.js} +1 -1
- package/dist/chunks/{location-service-map-hqsbmb15.js → kv-dphc24b4.js} +14 -14
- package/dist/chunks/{location-service-map-dpkg50ah.js → kv-dpkg50ah.js} +1 -1
- package/dist/chunks/{location-service-map-ezk2k2nc.js → kv-dssbfrwz.js} +5 -5
- package/dist/chunks/{location-service-map-ypafjwkk.js → kv-e5tewtqz.js} +1 -1
- package/dist/chunks/{location-service-map-20cj7b67.js → kv-e9ra3rc2.js} +32 -32
- package/dist/chunks/{location-service-map-7a1hshqp.js → kv-ecfxfkv3.js} +10 -10
- package/dist/chunks/{location-service-map-ef5x83kb.js → kv-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-service-map-5y8fd58d.js → kv-enf12tk9.js} +5 -5
- package/dist/chunks/{location-service-map-kzce54ng.js → kv-etag6te0.js} +3 -3
- package/dist/chunks/{location-service-map-etq0c3wd.js → kv-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-service-map-f4cke4kj.js → kv-f3wh3a97.js} +9 -9
- package/dist/chunks/{location-service-map-cvx0e1bt.js → kv-f96bhag2.js} +32 -32
- package/dist/chunks/{location-service-map-6h9s4x6n.js → kv-fb8mpv19.js} +3 -3
- package/dist/chunks/{location-service-map-rqb87221.js → kv-fhpe866r.js} +6 -6
- package/dist/chunks/{location-service-map-xa056vn0.js → kv-fkz2j366.js} +69 -69
- package/dist/chunks/{location-service-map-6p6p53k2.js → kv-fmgcz1aj.js} +11 -11
- package/dist/chunks/{location-service-map-byjhjrmz.js → kv-ftkcznmp.js} +4 -4
- package/dist/chunks/{location-service-map-dvkrz2pa.js → kv-fwnbcsnm.js} +11 -11
- package/dist/chunks/{location-service-map-kbx8m6gb.js → kv-fx0gd3c1.js} +1 -1
- package/dist/chunks/{location-service-map-53vxm274.js → kv-g0yaekcy.js} +24 -24
- package/dist/chunks/{location-service-map-qb6b4g4m.js → kv-g3a7jf08.js} +10 -10
- package/dist/chunks/{location-service-map-gd4qta3r.js → kv-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-service-map-3b1n4c0v.js → kv-gejbtgaw.js} +20 -20
- package/dist/chunks/{location-service-map-dch9g1ez.js → kv-gmdr493m.js} +31 -31
- package/dist/chunks/{location-service-map-47fh37dc.js → kv-h22y87dx.js} +25 -25
- package/dist/chunks/{location-service-map-3cegwx68.js → kv-h2b79v29.js} +2 -2
- package/dist/chunks/{location-service-map-6rm5yzkt.js → kv-h6310vsd.js} +4 -4
- package/dist/chunks/{location-service-map-h6vf3j39.js → kv-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-service-map-x5qamb68.js → kv-h7696n0v.js} +15 -15
- package/dist/chunks/{location-service-map-vqtj5sg4.js → kv-h7bdckh5.js} +28 -28
- package/dist/chunks/{location-service-map-9ph3ycpc.js → kv-hndwyk0r.js} +17 -17
- package/dist/chunks/{location-service-map-7rq69z08.js → kv-j2h4gsx3.js} +9 -9
- package/dist/chunks/{location-service-map-j56e64zr.js → kv-j56e64zr.js} +1 -1
- package/dist/chunks/{location-service-map-cag4tck2.js → kv-ja01233w.js} +13 -13
- package/dist/chunks/kv-jb1p813v.js +253 -0
- package/dist/chunks/{location-service-map-x33nvbwv.js → kv-jgegdacd.js} +49 -49
- package/dist/chunks/{location-service-map-x65zb6ev.js → kv-jsqb560b.js} +24 -24
- package/dist/chunks/{location-service-map-xw2x94wp.js → kv-k2271zhj.js} +29 -29
- package/dist/chunks/{location-service-map-4y4r5z5b.js → kv-k25jt64g.js} +4 -4
- package/dist/chunks/{location-service-map-zmhs9j3z.js → kv-k7gjbccb.js} +24 -24
- package/dist/chunks/{location-service-map-8kq9p8jz.js → kv-kyeq8fzm.js} +18 -18
- package/dist/chunks/{location-service-map-m3fdjcah.js → kv-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-service-map-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-service-map-5fde8rf2.js → kv-mae2kdyr.js} +17 -17
- package/dist/chunks/{location-service-map-6jps0nvq.js → kv-mb87pwt1.js} +6 -6
- package/dist/chunks/{location-service-map-kzn4295t.js → kv-mgt2meas.js} +1 -1
- package/dist/chunks/{location-service-map-mvfsc1pv.js → kv-mhkvc446.js} +3 -3
- package/dist/chunks/{location-service-map-zkyrpvtj.js → kv-mj4srff6.js} +10 -10
- package/dist/chunks/{location-service-map-2q116s0g.js → kv-mm9h18qq.js} +3 -3
- package/dist/chunks/{location-service-map-cpwfp1a9.js → kv-mnm8ds97.js} +31 -31
- package/dist/chunks/{location-service-map-3j09gcwn.js → kv-mwb2myx2.js} +8 -8
- package/dist/chunks/{location-service-map-gvr8ekz8.js → kv-n2kj1sg0.js} +5 -5
- package/dist/chunks/{location-service-map-xevjxxfx.js → kv-n3ph6zq5.js} +24 -24
- package/dist/chunks/{location-service-map-a55jx63h.js → kv-n4r13bs7.js} +23 -23
- package/dist/chunks/{location-service-map-n57qrn3a.js → kv-n57qrn3a.js} +1 -1
- package/dist/chunks/{location-service-map-jf28ek8f.js → kv-ncsnqhtp.js} +20 -20
- package/dist/chunks/{location-service-map-anwrx3vb.js → kv-nnnd3cph.js} +81 -81
- package/dist/chunks/{location-service-map-csmm5m4x.js → kv-npfvvr87.js} +17 -17
- package/dist/chunks/{location-service-map-5h9eqmsr.js → kv-nphwcreh.js} +30 -30
- package/dist/chunks/{location-service-map-50mzsvk4.js → kv-nrdmrqsx.js} +4 -4
- package/dist/chunks/{location-service-map-1ze35xh4.js → kv-nv1zm4pp.js} +8 -8
- package/dist/chunks/{location-service-map-3sj8yt8v.js → kv-nxe4pcap.js} +4 -4
- package/dist/chunks/kv-p87d201m.js +507 -0
- package/dist/chunks/{location-service-map-tkmwgdpd.js → kv-pbfwh0cy.js} +4 -4
- package/dist/chunks/kv-phz3h32g.js +18 -0
- package/dist/chunks/{location-service-map-pjvnvgmy.js → kv-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-service-map-pknna89w.js → kv-pknna89w.js} +1 -1
- package/dist/chunks/{location-service-map-dc1bnmm6.js → kv-pkq59grd.js} +30 -30
- package/dist/chunks/{location-service-map-8sze2n9a.js → kv-py3kkmfq.js} +6 -6
- package/dist/chunks/{location-service-map-q0xm7vwc.js → kv-q0xm7vwc.js} +2 -2
- package/dist/chunks/{location-service-map-tv9et59k.js → kv-q9pqtv1v.js} +12 -12
- package/dist/chunks/{location-service-map-x24mjvnp.js → kv-qcmtpxqx.js} +10 -10
- package/dist/chunks/{location-service-map-2k8khapm.js → kv-qgn6gcr1.js} +5 -5
- package/dist/chunks/{location-service-map-ppzsh8xz.js → kv-qkybe0c6.js} +27 -27
- package/dist/chunks/{location-service-map-qnc92qwc.js → kv-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-service-map-f4d9c169.js → kv-qne4kd6g.js} +9 -9
- package/dist/chunks/{location-service-map-cqv2wkh6.js → kv-qq0p66nj.js} +9 -9
- package/dist/chunks/{location-service-map-janz2r1q.js → kv-qq1s2205.js} +3 -3
- package/dist/chunks/{location-service-map-qsdy395h.js → kv-qsdy395h.js} +1 -1
- package/dist/chunks/{location-service-map-qxjc9qry.js → kv-qxjc9qry.js} +3 -3
- package/dist/chunks/{location-service-map-zyk1yjk8.js → kv-qygbw77c.js} +5 -5
- package/dist/chunks/{location-service-map-sten0bqb.js → kv-r8pf2rje.js} +14 -14
- package/dist/chunks/{location-service-map-nw42y7ya.js → kv-rbknh4pb.js} +2 -2
- package/dist/chunks/{location-service-map-vedpmp6c.js → kv-rck9djz0.js} +18 -18
- package/dist/chunks/{location-service-map-vthg97h9.js → kv-rcmda6tc.js} +3 -3
- package/dist/chunks/{location-service-map-rdw6cm16.js → kv-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-service-map-tmq2emtr.js → kv-rjgdgsdr.js} +24 -24
- package/dist/chunks/{location-service-map-2mb2919b.js → kv-rns5tpwh.js} +11 -11
- package/dist/chunks/{location-service-map-p79d271j.js → kv-rqyrrfya.js} +20 -20
- package/dist/chunks/{location-service-map-xaaj1tye.js → kv-rszma2xn.js} +4 -4
- package/dist/chunks/{location-service-map-73esx20d.js → kv-rty6w89f.js} +2 -2
- package/dist/chunks/{location-service-map-0jmyq18g.js → kv-rvkykd53.js} +20 -20
- package/dist/chunks/{location-service-map-a6v06961.js → kv-s4h2qwma.js} +6 -6
- package/dist/chunks/{location-service-map-t550f9t1.js → kv-s8d7rejh.js} +4 -4
- package/dist/chunks/{location-service-map-nbfk4spf.js → kv-s8g2njyt.js} +32 -32
- package/dist/chunks/{location-service-map-pwqp88nm.js → kv-sajthb1z.js} +14 -14
- package/dist/chunks/{location-service-map-m5jcjszt.js → kv-sjgsw2hk.js} +2 -2
- package/dist/chunks/{location-service-map-3knmg7hh.js → kv-snaz9310.js} +7 -7
- package/dist/chunks/{location-service-map-tv7q41xk.js → kv-srq8z0b0.js} +9 -9
- package/dist/chunks/{location-service-map-1shzte8w.js → kv-ssabpyyc.js} +11 -11
- package/dist/chunks/{location-service-map-w9zfbjp4.js → kv-syzt422z.js} +12 -12
- package/dist/chunks/{location-service-map-tz4n1mmd.js → kv-t2az9yje.js} +4 -4
- package/dist/chunks/{location-service-map-j6d8s83h.js → kv-t6ymfg4y.js} +18 -18
- package/dist/chunks/{location-service-map-b1psh6s2.js → kv-t82wkkdn.js} +9 -9
- package/dist/chunks/{location-service-map-tazgh4e4.js → kv-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-service-map-89znhe33.js → kv-tcezcvh9.js} +4 -4
- package/dist/chunks/{location-service-map-tdstcens.js → kv-tdstcens.js} +1 -1
- package/dist/chunks/{location-service-map-mg9mkpg3.js → kv-th451jzy.js} +48 -48
- package/dist/chunks/{location-service-map-fv6z39q6.js → kv-tpsfpmb6.js} +14 -14
- package/dist/chunks/{location-service-map-2y6zpsdj.js → kv-tsaxfawh.js} +4 -4
- package/dist/chunks/{location-service-map-xecxzrdp.js → kv-v0es1rhs.js} +2 -2
- package/dist/chunks/{location-service-map-veqvce7d.js → kv-veqvce7d.js} +1 -1
- package/dist/chunks/{location-service-map-9hp16pdx.js → kv-vg59hbfz.js} +2 -2
- package/dist/chunks/{location-service-map-afrtgck4.js → kv-vkfdnwpx.js} +4 -4
- package/dist/chunks/{location-service-map-cjk3yztn.js → kv-vqhvr9h8.js} +3 -3
- package/dist/chunks/{location-service-map-rf4vyrz7.js → kv-vw57tvh8.js} +40 -40
- package/dist/chunks/{location-service-map-1y43ym7q.js → kv-vxepadaa.js} +2 -2
- package/dist/chunks/{location-service-map-0jd8n8rn.js → kv-vy7h43fk.js} +16 -16
- package/dist/chunks/{location-service-map-gm6f8w1r.js → kv-vyrrmp6x.js} +11 -11
- package/dist/chunks/{location-service-map-vzs5sf6e.js → kv-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-service-map-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-service-map-9vaedqxn.js → kv-w3zwv4wx.js} +14 -14
- package/dist/chunks/{location-service-map-wd87259q.js → kv-wd87259q.js} +1 -1
- package/dist/chunks/{location-service-map-zpts693v.js → kv-wdp4gayr.js} +9 -9
- package/dist/chunks/{location-service-map-c3zehg50.js → kv-wehq120m.js} +11 -11
- package/dist/chunks/{location-service-map-tx2y3b3g.js → kv-wemkyzrv.js} +5 -5
- package/dist/chunks/{location-service-map-v1f6cgh9.js → kv-wjxa98ap.js} +19 -19
- package/dist/chunks/{location-service-map-7qtaxanh.js → kv-ws4sjaxf.js} +5 -5
- package/dist/chunks/{location-service-map-x661k3y3.js → kv-x661k3y3.js} +1 -1
- package/dist/chunks/{location-service-map-xcprcbs0.js → kv-x6byvdkw.js} +3 -3
- package/dist/chunks/{location-service-map-zpkmj148.js → kv-xayvb0hr.js} +6 -6
- package/dist/chunks/{location-service-map-3br01mcr.js → kv-xdfad79h.js} +40 -40
- package/dist/chunks/{location-service-map-xfkkasph.js → kv-xfkkasph.js} +1 -1
- package/dist/chunks/{location-service-map-xkntkrq7.js → kv-xkntkrq7.js} +2 -2
- package/dist/chunks/{location-service-map-9d29k2sy.js → kv-xmd9wz50.js} +2 -2
- package/dist/chunks/{location-service-map-2ky06ky9.js → kv-xpcvy2br.js} +15 -15
- package/dist/chunks/{location-service-map-y1fvbwt7.js → kv-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-service-map-em5gwgnx.js → kv-yc7nxbe2.js} +119 -119
- package/dist/chunks/{location-service-map-s7nv2rwz.js → kv-ygdna4kr.js} +5 -5
- package/dist/chunks/{location-service-map-snyghj24.js → kv-yjkarpge.js} +15 -15
- package/dist/chunks/{location-service-map-vc751hta.js → kv-ykgnqdw6.js} +9 -9
- package/dist/chunks/{location-service-map-yp2x3t23.js → kv-yp2x3t23.js} +1 -1
- package/dist/chunks/{location-service-map-6req7aj4.js → kv-ys2gqn7k.js} +18 -18
- package/dist/chunks/{location-service-map-tbwdsz02.js → kv-ys3pca7w.js} +11 -11
- package/dist/chunks/{location-service-map-9vmwa021.js → kv-ytyv5eys.js} +16 -16
- package/dist/chunks/{location-service-map-z0bkrqjs.js → kv-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-service-map-dgm945yk.js → kv-z182drtd.js} +20 -20
- package/dist/chunks/{location-service-map-rfrf17aw.js → kv-zc5g640q.js} +5 -5
- package/dist/chunks/{location-service-map-aywfxs4m.js → kv-zfs8ae4p.js} +4 -4
- package/dist/chunks/{location-service-map-zr2ceqn5.js → kv-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-service-map-r2gzg7ce.js → kv-zszxba2s.js} +17 -17
- package/dist/chunks/{location-service-map-zxq2ej10.js → kv-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +85 -85
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +100 -100
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +91 -91
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +118 -118
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +76 -76
- package/dist/database/database.js +67 -67
- 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/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration.gen.js +50 -50
- package/dist/database/migration.js +52 -52
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- 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 +90 -90
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- 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 +71 -71
- package/dist/file-access.js +105 -105
- package/dist/file-mutation.js +95 -95
- package/dist/file-retention.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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +73 -73
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- package/dist/git.js +6 -6
- 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 +92 -92
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +88 -88
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +80 -80
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +74 -74
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +108 -108
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +352 -352
- package/dist/location.js +82 -82
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +76 -76
- package/dist/mcp/stdio.js +91 -91
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +92 -92
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +93 -93
- package/dist/models-dev.js +108 -108
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +91 -91
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +76 -76
- package/dist/plugin/agent.js +77 -77
- package/dist/plugin/command.js +103 -103
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +97 -97
- package/dist/plugin/module.js +118 -118
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +103 -103
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +91 -91
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +95 -95
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/digitalocean.js +94 -94
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +96 -96
- package/dist/plugin/provider/gitlab.js +94 -94
- package/dist/plugin/provider/google-vertex.js +91 -91
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +79 -79
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/local.js +114 -114
- package/dist/plugin/provider/modal.js +93 -93
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai.js +96 -96
- package/dist/plugin/provider/opencode.js +98 -98
- package/dist/plugin/provider/openrouter.js +92 -92
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +80 -80
- package/dist/plugin/provider/prompt-cache-key.js +91 -91
- package/dist/plugin/provider/sap-ai-core.js +92 -92
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +91 -91
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +92 -92
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +77 -77
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +87 -87
- package/dist/plugin/vcs/hg.js +87 -87
- package/dist/plugin/verbosity.js +94 -94
- package/dist/plugin/warming.js +115 -115
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- 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/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +81 -81
- package/dist/provider.js +96 -96
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +96 -96
- package/dist/reference/instructions.js +90 -90
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +75 -75
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +154 -154
- package/dist/session/diff.js +89 -89
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +80 -80
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +98 -98
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +121 -121
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +87 -87
- package/dist/session/prompt.js +106 -106
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +91 -91
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +99 -99
- package/dist/session/runner/publish-llm-event.js +114 -114
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +163 -163
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +104 -104
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +88 -88
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +208 -208
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- 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 +106 -106
- package/dist/skill.js +113 -113
- package/dist/snapshot.js +90 -90
- 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 +125 -125
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +125 -125
- package/dist/tool/plugin/grep.js +125 -125
- package/dist/tool/plugin/mcp-resource.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +123 -123
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +126 -126
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +114 -114
- package/dist/tool/plugin/subagent.js +211 -211
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +123 -123
- package/dist/tool/read-filesystem.js +101 -101
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +93 -93
- package/dist/v1/config/permission.js +3 -3
- 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/variant.js +94 -94
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +90 -90
- package/dist/websearch.js +85 -85
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +82 -82
- package/dist/workspace/driver.js +1 -1
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +71 -71
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +90 -90
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/location-service-map-9zdhvgqs.js +0 -18
- package/dist/chunks/location-service-map-eq4v9m8y.js +0 -253
- package/dist/chunks/location-service-map-nyf6va6s.js +0 -507
- package/dist/chunks/location-service-map-tp2bs2c5.js +0 -26
- /package/dist/chunks/{location-service-map-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-service-map-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-service-map-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-service-map-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-service-map-1kg9ymc8.js → kv-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-service-map-24dcb14g.js → kv-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-service-map-2710q6r3.js → kv-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-service-map-2axfhc9x.js → kv-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-service-map-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-service-map-34c7v6d4.js → kv-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-service-map-359p4xyc.js → kv-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-service-map-3asan66x.js → kv-3asan66x.js} +0 -0
- /package/dist/chunks/{location-service-map-3t0ybcrp.js → kv-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{location-service-map-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-service-map-3w5fmr99.js → kv-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-service-map-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-service-map-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-service-map-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-service-map-4vcrnpx2.js → kv-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-service-map-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-service-map-53557ph1.js → kv-53557ph1.js} +0 -0
- /package/dist/chunks/{location-service-map-550bvhaj.js → kv-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-service-map-5qd3pb7m.js → kv-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-service-map-6prwharc.js → kv-6prwharc.js} +0 -0
- /package/dist/chunks/{location-service-map-6q2bdcd1.js → kv-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-service-map-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-service-map-7m9af43g.js → kv-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-service-map-822emrt2.js → kv-822emrt2.js} +0 -0
- /package/dist/chunks/{location-service-map-84wd9syh.js → kv-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-service-map-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-service-map-8n3pysct.js → kv-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-service-map-8wj87zfr.js → kv-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-service-map-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-service-map-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-service-map-a6k6eb26.js → kv-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-service-map-af5trqkr.js → kv-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-service-map-afrmfg78.js → kv-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-service-map-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-service-map-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-service-map-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-service-map-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-service-map-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-service-map-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-service-map-d9fn303g.js → kv-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-service-map-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-service-map-dajrwvna.js → kv-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-service-map-dap0rakb.js → kv-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-service-map-df08tz66.js → kv-df08tz66.js} +0 -0
- /package/dist/chunks/{location-service-map-dy18nga0.js → kv-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-service-map-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-service-map-e73j6tqm.js → kv-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-service-map-ec1grn59.js → kv-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-service-map-eh3zwz77.js → kv-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-service-map-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-service-map-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-service-map-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-service-map-faypxj3z.js → kv-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-service-map-fd410y7t.js → kv-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-service-map-fxgpk5d8.js → kv-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-service-map-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-service-map-g86h250q.js → kv-g86h250q.js} +0 -0
- /package/dist/chunks/{location-service-map-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-service-map-gftt206x.js → kv-gftt206x.js} +0 -0
- /package/dist/chunks/{location-service-map-hk9envan.js → kv-hk9envan.js} +0 -0
- /package/dist/chunks/{location-service-map-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-service-map-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-service-map-jjkms2e6.js → kv-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-service-map-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-service-map-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-service-map-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-service-map-mp448xyj.js → kv-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-service-map-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-service-map-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-service-map-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-service-map-njntx4h6.js → kv-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-service-map-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-service-map-q74kybfr.js → kv-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-service-map-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-service-map-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-service-map-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-service-map-qg3g05ea.js → kv-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-service-map-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-service-map-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-service-map-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-service-map-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-service-map-w803qqfp.js → kv-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-service-map-wc3fc9cn.js → kv-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-service-map-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-service-map-wtztk69x.js → kv-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-service-map-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-service-map-x61499pn.js → kv-x61499pn.js} +0 -0
- /package/dist/chunks/{location-service-map-y44na4kk.js → kv-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-service-map-y8cydn3q.js → kv-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-service-map-y8f7s663.js → kv-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-service-map-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-service-map-ym463w8f.js → kv-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-service-map-z5v4ffb3.js → kv-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-service-map-z9919s4g.js → kv-z9919s4g.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./kv-tsaxfawh.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./kv-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./kv-x661k3y3.js";
|
|
12
12
|
import {
|
|
13
13
|
ID13,
|
|
14
14
|
Service72,
|
|
15
15
|
node75,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Event18
|
|
17
|
+
} from "./kv-qne4kd6g.js";
|
|
18
18
|
import {
|
|
19
19
|
Service80,
|
|
20
20
|
node84
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./kv-vg59hbfz.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./kv-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -38,13 +38,13 @@ __export(exports_provider3, {
|
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
40
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
41
|
-
Event: () =>
|
|
41
|
+
Event: () => Event17,
|
|
42
42
|
ID: () => ID12,
|
|
43
43
|
Info: () => Info21,
|
|
44
44
|
LoadError: () => LoadError3,
|
|
45
45
|
Provider: () => exports_provider3,
|
|
46
46
|
Request: () => Request3,
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service71,
|
|
48
48
|
Settings: () => Settings2,
|
|
49
49
|
Transport: () => Transport2,
|
|
50
50
|
aisdk: () => aisdk2,
|
|
@@ -54,7 +54,7 @@ __export(exports_provider3, {
|
|
|
54
54
|
mergeOverlay: () => mergeOverlay2,
|
|
55
55
|
modelSettings: () => modelSettings2,
|
|
56
56
|
nativeSettings: () => nativeSettings2,
|
|
57
|
-
node: () =>
|
|
57
|
+
node: () => node74,
|
|
58
58
|
packageName: () => packageName2,
|
|
59
59
|
timeout: () => timeout2,
|
|
60
60
|
timeouts: () => timeouts2
|
|
@@ -68,7 +68,7 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
68
68
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
69
69
|
import { Credential } from "@opencode/schema/credential";
|
|
70
70
|
import { freeze } from "immer";
|
|
71
|
-
import { Event as
|
|
71
|
+
import { Event as Event17 } from "@opencode/schema/provider";
|
|
72
72
|
var ID12 = Provider.ID;
|
|
73
73
|
var AISDK_PREFIX2 = "aisdk:";
|
|
74
74
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
@@ -243,7 +243,7 @@ var Transport2 = Provider.Transport;
|
|
|
243
243
|
var Settings2 = Provider.Settings;
|
|
244
244
|
var Info21 = Provider.Info;
|
|
245
245
|
|
|
246
|
-
class
|
|
246
|
+
class Service71 extends Context.Service()("@opencode/Provider") {
|
|
247
247
|
}
|
|
248
248
|
var definitions = new WeakMap;
|
|
249
249
|
function index(providerID, models) {
|
|
@@ -256,7 +256,7 @@ function index(providerID, models) {
|
|
|
256
256
|
definitions.set(models, indexes);
|
|
257
257
|
return result;
|
|
258
258
|
}
|
|
259
|
-
var layer = Layer.effect(
|
|
259
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
260
260
|
const bus = yield* Service83;
|
|
261
261
|
const integrations = yield* Service72;
|
|
262
262
|
const location = yield* Service80;
|
|
@@ -377,8 +377,8 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
377
377
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
378
378
|
});
|
|
379
379
|
});
|
|
380
|
-
yield* bus.subscribe([
|
|
381
|
-
return
|
|
380
|
+
yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
381
|
+
return Service71.of({
|
|
382
382
|
transform: state.transform,
|
|
383
383
|
reload: state.reload,
|
|
384
384
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -387,7 +387,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
387
387
|
snapshot
|
|
388
388
|
});
|
|
389
389
|
}));
|
|
390
|
-
var
|
|
390
|
+
var node74 = makeLocationNode({ service: Service71, layer, deps: [node87, node75, node84] });
|
|
391
391
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
392
392
|
const module = yield* Effect.tryPromise({
|
|
393
393
|
try: () => {
|
|
@@ -662,4 +662,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
662
662
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
663
663
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
664
664
|
|
|
665
|
-
export { rewrite2, native2, exports_aisdk_native, ID12, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, timeout2, timeouts2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info21,
|
|
665
|
+
export { rewrite2, native2, exports_aisdk_native, ID12, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, timeout2, timeouts2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info21, Service71, node74, exports_provider3, Event17 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./kv-vg59hbfz.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./kv-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service54,
|
|
17
|
+
node: () => node57
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/unstable/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service54 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
27
27
|
const location = yield* Service80;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service54.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node57 = makeLocationNode({
|
|
91
|
+
service: Service54,
|
|
92
92
|
layer,
|
|
93
93
|
deps: [node84, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service54, node57, exports_formatter2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-sjgsw2hk.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error2 = {};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service40
|
|
6
|
+
} from "./kv-3bh97vej.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service39
|
|
9
|
+
} from "./kv-xdfad79h.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service52,
|
|
12
12
|
statements2,
|
|
13
13
|
decision2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./kv-5ymsght2.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./kv-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/plugin/module.ts
|
|
20
20
|
var exports_module = {};
|
|
21
21
|
__export(exports_module, {
|
|
22
22
|
LoadError: () => LoadError2,
|
|
23
23
|
PluginModule: () => exports_module,
|
|
24
|
-
make: () =>
|
|
24
|
+
make: () => make8
|
|
25
25
|
});
|
|
26
26
|
import { Host } from "@opencode/plugin/host";
|
|
27
27
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -30,10 +30,10 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
30
30
|
import path from "path";
|
|
31
31
|
import { stat } from "node:fs/promises";
|
|
32
32
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
33
|
-
var
|
|
34
|
-
const config = yield*
|
|
35
|
-
const managed = yield*
|
|
36
|
-
const watcher = yield*
|
|
33
|
+
var make8 = Effect.fn("PluginModule.make")(function* () {
|
|
34
|
+
const config = yield* Service39;
|
|
35
|
+
const managed = yield* Service52;
|
|
36
|
+
const watcher = yield* Service40;
|
|
37
37
|
const scope = yield* Effect.scope;
|
|
38
38
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
39
39
|
const changes = yield* PubSub.unbounded();
|
|
@@ -118,4 +118,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
118
118
|
};
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { make8, LoadError2, exports_module };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-h2b79v29.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service40,
|
|
3
|
+
node42
|
|
4
|
+
} from "./kv-3bh97vej.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./kv-vg59hbfz.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service39,
|
|
11
|
+
node41
|
|
12
|
+
} from "./kv-xdfad79h.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./kv-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./kv-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service10,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer6,
|
|
28
|
+
node: () => node12
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,11 +33,11 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service10 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer6 = Layer.effect(Service10, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service39;
|
|
40
|
+
const watcher = yield* Service40;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
42
|
const location = yield* Service80;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service10.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node12 = makeLocationNode({
|
|
74
|
+
service: Service10,
|
|
75
|
+
layer: layer6,
|
|
76
|
+
deps: [node41, FSUtil.node, node42, node84]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service10,
|
|
80
|
+
layer: Layer.succeed(Service10, Service10.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service10, layer6, node12, empty2, exports_source };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-wehq120m.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin8,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint5
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint5 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin8 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin24 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin24 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint5, Plugin8, exports_tavily };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./kv-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin7
|
|
3
|
+
} from "./kv-05xfxpq7.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin5
|
|
6
|
+
} from "./kv-fhpe866r.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin9
|
|
9
|
+
} from "./kv-wdp4gayr.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin8
|
|
12
|
+
} from "./kv-78wqg8jh.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin6
|
|
15
|
+
} from "./kv-f3wh3a97.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin7,
|
|
20
|
+
Plugin5,
|
|
21
|
+
Plugin9,
|
|
22
|
+
Plugin8,
|
|
23
|
+
Plugin6
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./kv-79r4g3vq.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
9
|
make24,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./kv-fb8mpv19.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./kv-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service73
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-n2kj1sg0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service57
|
|
6
|
+
} from "./kv-3k6tstd2.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID3,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service16
|
|
14
|
+
} from "./kv-h22y87dx.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./kv-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch = {};
|
|
21
|
+
__export(exports_websearch, {
|
|
22
|
+
Input: () => Input12,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
24
|
+
Plugin: () => Plugin31,
|
|
25
|
+
WebSearchTool: () => exports_websearch,
|
|
26
26
|
description: () => description5,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name12
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name12 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
@@ -39,28 +39,28 @@ var httpErrors = new Map([
|
|
|
39
39
|
var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input12 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID3,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin31 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
52
|
+
const permission = yield* Service57;
|
|
53
53
|
const forms = yield* Service73;
|
|
54
|
-
const websearch = yield*
|
|
54
|
+
const websearch = yield* Service16;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name12,
|
|
57
57
|
options: { codemode: false },
|
|
58
58
|
description: description5,
|
|
59
|
-
input:
|
|
59
|
+
input: Input12,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name12,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name12];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name12, NO_RESULTS2, description5, Input12, Plugin31, exports_websearch };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-vg59hbfz.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service39
|
|
9
|
+
} from "./kv-xdfad79h.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./kv-g0yaekcy.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./kv-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./kv-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin41
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin41 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
34
|
+
const config = yield* Service39;
|
|
35
35
|
const location = yield* Service80;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin41, exports_reference };
|