@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,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service39
|
|
7
|
+
} from "./kv-xdfad79h.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
12
|
Service78
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./kv-42t96xj3.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service51
|
|
16
|
+
} from "./kv-sajthb1z.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service57
|
|
19
|
+
} from "./kv-3k6tstd2.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service56,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./kv-948csc8n.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./kv-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service76,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./kv-67d2xr1y.js";
|
|
34
34
|
import {
|
|
35
35
|
NotFoundError5,
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service37
|
|
37
|
+
} from "./kv-3ptewvj2.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service18
|
|
40
|
+
} from "./kv-nnnd3cph.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./kv-9jzm7v48.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./kv-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell = {};
|
|
50
|
+
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input3,
|
|
53
|
+
Plugin: () => Plugin20,
|
|
54
|
+
ShellTool: () => exports_shell,
|
|
55
|
+
name: () => name3
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name3 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input3 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
|
|
|
116
116
|
truncated: false,
|
|
117
117
|
status: "running"
|
|
118
118
|
});
|
|
119
|
-
var
|
|
119
|
+
var Plugin20 = {
|
|
120
120
|
id: "opencode.tool.shell",
|
|
121
121
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
122
|
-
const sessions = yield*
|
|
123
|
-
const jobs = yield*
|
|
122
|
+
const sessions = yield* Service18;
|
|
123
|
+
const jobs = yield* Service51;
|
|
124
124
|
const scope = yield* Scope.Scope;
|
|
125
125
|
const environment = yield* Service78;
|
|
126
|
-
const access = yield*
|
|
127
|
-
const shell = yield*
|
|
128
|
-
const shellSelect = yield*
|
|
126
|
+
const access = yield* Service56;
|
|
127
|
+
const shell = yield* Service37;
|
|
128
|
+
const shellSelect = yield* Service76;
|
|
129
129
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
130
|
-
const permission = yield*
|
|
131
|
-
const config = yield*
|
|
130
|
+
const permission = yield* Service57;
|
|
131
|
+
const config = yield* Service39;
|
|
132
132
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
133
133
|
const source = {
|
|
134
134
|
type: "tool",
|
|
@@ -147,7 +147,7 @@ var Plugin48 = {
|
|
|
147
147
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
148
148
|
if (parsed.commands.length > 0)
|
|
149
149
|
yield* permission.assert({
|
|
150
|
-
action:
|
|
150
|
+
action: name3,
|
|
151
151
|
resources: parsed.commands.map((command) => command.resource),
|
|
152
152
|
save: parsed.commands.map((command) => command.save),
|
|
153
153
|
sessionID: context.sessionID,
|
|
@@ -184,10 +184,10 @@ var Plugin48 = {
|
|
|
184
184
|
yield* jobs.completeBackground(info.notificationID);
|
|
185
185
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
186
186
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
187
|
-
name:
|
|
187
|
+
name: name3,
|
|
188
188
|
options: { codemode: false },
|
|
189
189
|
description: description(),
|
|
190
|
-
input:
|
|
190
|
+
input: Input3,
|
|
191
191
|
output: Output,
|
|
192
192
|
execute: (input, context) => Effect.gen(function* () {
|
|
193
193
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -224,7 +224,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
224
224
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
225
225
|
const job = yield* jobs.start({
|
|
226
226
|
id: info.id,
|
|
227
|
-
type:
|
|
227
|
+
type: name3,
|
|
228
228
|
title: info.command,
|
|
229
229
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
230
230
|
recovery: {
|
|
@@ -254,7 +254,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
254
254
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
255
255
|
})).pipe(Effect.orDie);
|
|
256
256
|
const hook = (event) => Effect.gen(function* () {
|
|
257
|
-
const tool = event.tools[
|
|
257
|
+
const tool = event.tools[name3];
|
|
258
258
|
if (!tool)
|
|
259
259
|
return;
|
|
260
260
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
265
265
|
})
|
|
266
266
|
};
|
|
267
267
|
|
|
268
|
-
export {
|
|
268
|
+
export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin20, exports_shell };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-fxgpk5d8.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./kv-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./kv-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service39
|
|
3
|
+
} from "./kv-xdfad79h.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service11
|
|
6
|
+
} from "./kv-2sejkfem.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
15
|
var exports_location_watcher2 = {};
|
|
16
16
|
__export(exports_location_watcher2, {
|
|
17
17
|
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin48
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin48 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service39;
|
|
26
|
+
const policy = yield* Service11;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin4 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin48, exports_location_watcher2 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./kv-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./kv-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-qnc92qwc.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-h2b79v29.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -2,42 +2,42 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./kv-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
7
|
Service80,
|
|
8
8
|
node84
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-vg59hbfz.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service14,
|
|
12
|
+
node16
|
|
13
|
+
} from "./kv-qkybe0c6.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./kv-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
20
20
|
__export(exports_filesystem, {
|
|
21
|
-
Content: () =>
|
|
21
|
+
Content: () => Content2,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
24
|
DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
|
|
25
25
|
DirectoryNotFoundError: () => DirectoryNotFoundError2,
|
|
26
26
|
Entry: () => Entry2,
|
|
27
|
-
Event: () =>
|
|
27
|
+
Event: () => Event2,
|
|
28
28
|
FileSystem: () => exports_filesystem,
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
|
-
ListInput: () =>
|
|
32
|
+
ListInput: () => ListInput2,
|
|
33
33
|
Match: () => Match2,
|
|
34
|
-
NotFoundError: () =>
|
|
34
|
+
NotFoundError: () => NotFoundError2,
|
|
35
35
|
ReadInput: () => ReadInput2,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service13,
|
|
37
37
|
Submatch: () => Submatch2,
|
|
38
38
|
Write: () => Write2,
|
|
39
39
|
WriteInput: () => WriteInput2,
|
|
40
|
-
node: () =>
|
|
40
|
+
node: () => node15
|
|
41
41
|
});
|
|
42
42
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
43
43
|
import path from "path";
|
|
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
|
|
|
53
53
|
data: Schema.Uint8Array
|
|
54
54
|
});
|
|
55
55
|
|
|
56
|
-
class
|
|
56
|
+
class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
57
57
|
path: RelativePath2
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
@@ -75,14 +75,14 @@ class DirectoryAccessDeniedError2 extends Schema.TaggedError()("FileSystem.Direc
|
|
|
75
75
|
return `Access denied to directory: ${this.directory}`;
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
var
|
|
78
|
+
var Content2 = Schema.Struct({
|
|
79
79
|
uri: Schema.String,
|
|
80
80
|
name: Schema.String.pipe(Schema.optional),
|
|
81
81
|
content: Schema.String,
|
|
82
82
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
83
83
|
mime: Schema.String
|
|
84
84
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
85
|
-
var
|
|
85
|
+
var ListInput2 = Schema.Struct({
|
|
86
86
|
path: Schema.String.pipe(Schema.optional)
|
|
87
87
|
});
|
|
88
88
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
105
105
|
limit: Schema.optionalKey(PositiveInt2)
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Event2 = FileSystem.Event;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service13 extends Context.Service()("@opencode/FileSystem") {
|
|
111
111
|
}
|
|
112
|
-
var baseLayer = Layer.effect(
|
|
112
|
+
var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
|
|
113
113
|
const fs = yield* FSUtil.Service;
|
|
114
114
|
const location = yield* Service80;
|
|
115
|
-
const search = yield*
|
|
115
|
+
const search = yield* Service14;
|
|
116
116
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
|
|
117
117
|
if (cause.reason._tag === "NotFound")
|
|
118
118
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -122,22 +122,22 @@ var baseLayer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
122
122
|
}));
|
|
123
123
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
124
124
|
if (input.includes("\x00"))
|
|
125
|
-
return yield* Effect.fail(new
|
|
125
|
+
return yield* Effect.fail(new NotFoundError2({ path: input }));
|
|
126
126
|
const absolute = path.resolve(location.directory, input);
|
|
127
127
|
if (!FSUtil.contains(location.directory, absolute))
|
|
128
|
-
return yield* Effect.fail(new
|
|
129
|
-
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
128
|
+
return yield* Effect.fail(new NotFoundError2({ path: input }));
|
|
129
|
+
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input })), (_, error) => Effect.die(error)));
|
|
130
130
|
if (!FSUtil.contains(root, real))
|
|
131
|
-
return yield* Effect.fail(new
|
|
131
|
+
return yield* Effect.fail(new NotFoundError2({ path: input }));
|
|
132
132
|
return { absolute, real, directory: location.directory };
|
|
133
133
|
});
|
|
134
|
-
return
|
|
134
|
+
return Service13.of({
|
|
135
135
|
find: search.find,
|
|
136
136
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
137
137
|
const target = yield* resolve(input.path);
|
|
138
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
138
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
139
139
|
if (info.type !== "File")
|
|
140
|
-
return yield* Effect.fail(new
|
|
140
|
+
return yield* Effect.fail(new NotFoundError2({ path: input.path }));
|
|
141
141
|
return {
|
|
142
142
|
mime: FSUtil.mimeType(target.real),
|
|
143
143
|
size: Number(info.size),
|
|
@@ -170,10 +170,10 @@ var baseLayer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
170
170
|
})
|
|
171
171
|
});
|
|
172
172
|
}));
|
|
173
|
-
var
|
|
174
|
-
service:
|
|
173
|
+
var node15 = makeLocationNode({
|
|
174
|
+
service: Service13,
|
|
175
175
|
layer: baseLayer,
|
|
176
|
-
deps: [FSUtil.node, node84,
|
|
176
|
+
deps: [FSUtil.node, node84, node16]
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
179
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service13, node15, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
9
|
+
var exports_mcp = {};
|
|
10
|
+
__export(exports_mcp, {
|
|
11
11
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
12
|
-
WebSearchMcp: () =>
|
|
12
|
+
WebSearchMcp: () => exports_mcp,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export { MAX_RESPONSE_BYTES2, parseResponse2, call2,
|
|
64
|
+
export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-tsaxfawh.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-r8pf2rje.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service15,
|
|
9
|
+
Event3
|
|
10
|
+
} from "./kv-pkq59grd.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -32,7 +32,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
32
32
|
var ModelsDevPlugin2 = define({
|
|
33
33
|
id: "opencode.models.dev",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const modelsDev = yield*
|
|
35
|
+
const modelsDev = yield* Service15;
|
|
36
36
|
const bus = yield* Service83;
|
|
37
37
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
38
38
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -66,7 +66,7 @@ var ModelsDevPlugin2 = define({
|
|
|
66
66
|
loaded.data = snapshots(data);
|
|
67
67
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
68
68
|
};
|
|
69
|
-
yield* bus.subscribe(
|
|
69
|
+
yield* bus.subscribe(Event3.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
70
70
|
const latest = yield* modelsDev.get();
|
|
71
71
|
if (snapshots(latest) !== loaded.data)
|
|
72
72
|
yield* apply(latest);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./kv-tsaxfawh.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/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
@@ -15,26 +15,26 @@ __export(exports_agent4, {
|
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
17
|
Event: () => Event14,
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
18
|
+
ID: () => ID9,
|
|
19
|
+
Info: () => Info16,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service60,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node63
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Array, Context, Effect, Layer } from "effect";
|
|
27
27
|
import { Agent } from "@opencode/schema/agent";
|
|
28
28
|
import { Event as Event14 } from "@opencode/schema/agent";
|
|
29
|
-
var
|
|
29
|
+
var ID9 = Agent.ID;
|
|
30
30
|
var Name3 = Agent.Name;
|
|
31
|
-
var defaultID2 =
|
|
31
|
+
var defaultID2 = ID9.make("build");
|
|
32
32
|
var Color2 = Agent.Color;
|
|
33
|
-
var
|
|
33
|
+
var Info16 = Agent.Info;
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service60 extends Context.Service()("@opencode/Agent") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service83;
|
|
39
39
|
const state = create3({
|
|
40
40
|
name: "agent",
|
|
@@ -46,7 +46,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
46
46
|
editor.default = id;
|
|
47
47
|
},
|
|
48
48
|
update: (id, fn) => {
|
|
49
|
-
const current = editor.agents.get(id) ??
|
|
49
|
+
const current = editor.agents.get(id) ?? Info16.default(id);
|
|
50
50
|
if (!editor.agents.has(id))
|
|
51
51
|
editor.agents.set(id, current);
|
|
52
52
|
fn(current);
|
|
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
64
64
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
65
65
|
if (configured)
|
|
66
66
|
return configured;
|
|
67
|
-
const build = selectable(data.agents.get(
|
|
67
|
+
const build = selectable(data.agents.get(ID9.make("build")));
|
|
68
68
|
if (build)
|
|
69
69
|
return build;
|
|
70
70
|
for (const agent of data.agents.values()) {
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
73
73
|
return fallback;
|
|
74
74
|
}
|
|
75
75
|
};
|
|
76
|
-
return
|
|
76
|
+
return Service60.of({
|
|
77
77
|
transform: state.transform,
|
|
78
78
|
reload: state.reload,
|
|
79
79
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -81,12 +81,12 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
81
81
|
}),
|
|
82
82
|
resolve: Effect.fnUntraced(function* (id) {
|
|
83
83
|
if (id !== undefined)
|
|
84
|
-
return state.get().agents.get(
|
|
84
|
+
return state.get().agents.get(ID9.make(id));
|
|
85
85
|
return selectedDefault();
|
|
86
86
|
}),
|
|
87
87
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
88
88
|
if (id !== undefined) {
|
|
89
|
-
const selected =
|
|
89
|
+
const selected = ID9.make(id);
|
|
90
90
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
91
91
|
}
|
|
92
92
|
const info = selectedDefault();
|
|
@@ -101,6 +101,6 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
103
|
}));
|
|
104
|
-
var
|
|
104
|
+
var node63 = makeLocationNode({ service: Service60, layer, deps: [node87] });
|
|
105
105
|
|
|
106
|
-
export {
|
|
106
|
+
export { ID9, Name3, defaultID2, Color2, Info16, Service60, node63, exports_agent4, Event14 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-wehq120m.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
6
|
Service74
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./kv-dphc24b4.js";
|
|
8
8
|
import {
|
|
9
9
|
ID13,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./kv-qne4kd6g.js";
|
|
12
12
|
import {
|
|
13
13
|
ID12,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./kv-6rxsm8b2.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service11,
|
|
13
|
+
node: () => node13
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service11 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service11.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node13 = makeLocationNode({ service: Service11, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service11, node13, exports_location_watcher_policy };
|