@opencode/core 0.0.0-dev-20718 → 0.0.0-dev-20719
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 +82 -82
- package/dist/aisdk-native.js +90 -90
- package/dist/aisdk.js +95 -95
- package/dist/app.js +9 -9
- package/dist/bus.js +74 -74
- package/dist/chunks/{aisdk-8vb1kfxm.js → location-service-map-07zt2qvc.js} +39 -39
- package/dist/chunks/{aisdk-d827s438.js → location-service-map-09bd12ja.js} +25 -25
- package/dist/chunks/{aisdk-fpecnkgp.js → location-service-map-0bg0bx69.js} +7 -7
- package/dist/chunks/{aisdk-nf8q49m4.js → location-service-map-0d586qqe.js} +22 -22
- package/dist/chunks/{aisdk-094ctrsg.js → location-service-map-0gsvzdev.js} +9 -9
- package/dist/chunks/{aisdk-0paq2nw3.js → location-service-map-0paq2nw3.js} +1 -1
- package/dist/chunks/{aisdk-mfjeqe8f.js → location-service-map-0tc4sbnt.js} +21 -21
- package/dist/chunks/{aisdk-0vbcp93d.js → location-service-map-0vbcp93d.js} +2 -2
- package/dist/chunks/{aisdk-dc606gpm.js → location-service-map-0ydt6dm7.js} +13 -13
- package/dist/chunks/{aisdk-7q65g6rf.js → location-service-map-110ahdj7.js} +16 -16
- package/dist/chunks/{aisdk-gebd7nce.js → location-service-map-172wvaws.js} +46 -46
- package/dist/chunks/{aisdk-d3bsz2ft.js → location-service-map-18gphh5f.js} +24 -24
- package/dist/chunks/{aisdk-ahbzt5yt.js → location-service-map-19enz01j.js} +29 -29
- package/dist/chunks/{aisdk-aae6qf80.js → location-service-map-19haxzmr.js} +31 -31
- package/dist/chunks/{aisdk-1acjjqhc.js → location-service-map-1acjjqhc.js} +1 -1
- package/dist/chunks/{aisdk-rexaqj00.js → location-service-map-1bzh630m.js} +18 -18
- package/dist/chunks/{aisdk-1dazxqgg.js → location-service-map-1dazxqgg.js} +2 -2
- package/dist/chunks/{aisdk-84h8c373.js → location-service-map-1dvck2a7.js} +2 -2
- package/dist/chunks/{aisdk-m3tsmga5.js → location-service-map-1f14f7t8.js} +14 -14
- package/dist/chunks/{aisdk-wkjw17bc.js → location-service-map-1nz5ft8r.js} +11 -11
- package/dist/chunks/{aisdk-vde1hawv.js → location-service-map-1qmsp7br.js} +16 -16
- package/dist/chunks/{aisdk-nn0jcdjx.js → location-service-map-1tvpne0k.js} +88 -88
- package/dist/chunks/{aisdk-hdnacwsd.js → location-service-map-1vtzkph7.js} +11 -11
- package/dist/chunks/{aisdk-kvtt08kh.js → location-service-map-1vyye6zk.js} +1 -1
- package/dist/chunks/{aisdk-c4swjyak.js → location-service-map-1ynmqc5g.js} +9 -9
- package/dist/chunks/{aisdk-2a5m3afh.js → location-service-map-2a5m3afh.js} +1 -1
- package/dist/chunks/{aisdk-2k8khapm.js → location-service-map-2k8khapm.js} +1 -1
- package/dist/chunks/{aisdk-4e8vs6eh.js → location-service-map-2ktf0ed2.js} +8 -8
- package/dist/chunks/{aisdk-c3x7741y.js → location-service-map-2rwm6het.js} +32 -32
- package/dist/chunks/{aisdk-embw8kgh.js → location-service-map-2vs2nh1n.js} +4 -4
- package/dist/chunks/{aisdk-h45t1q73.js → location-service-map-2x07dkj1.js} +17 -17
- package/dist/chunks/{aisdk-4e5ceejs.js → location-service-map-30s28g32.js} +33 -33
- package/dist/chunks/{aisdk-67mfe1v3.js → location-service-map-361tt197.js} +26 -26
- package/dist/chunks/{aisdk-pcbf55sh.js → location-service-map-37mjbavn.js} +11 -11
- package/dist/chunks/{aisdk-kpkp6m3y.js → location-service-map-37xgxhys.js} +14 -14
- package/dist/chunks/{aisdk-85fnhgs1.js → location-service-map-3b39sg5x.js} +32 -32
- package/dist/chunks/{aisdk-3fc6dm20.js → location-service-map-3fc6dm20.js} +1 -1
- package/dist/chunks/{aisdk-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
- package/dist/chunks/{aisdk-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
- package/dist/chunks/{aisdk-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
- package/dist/chunks/{aisdk-s5n8rxy8.js → location-service-map-3yccbcdd.js} +35 -35
- package/dist/chunks/{aisdk-3zsf4n22.js → location-service-map-3zsf4n22.js} +1 -1
- package/dist/chunks/{aisdk-7wg7867s.js → location-service-map-4165drj7.js} +21 -21
- package/dist/chunks/{aisdk-z1v05bgy.js → location-service-map-44wtnatd.js} +11 -11
- package/dist/chunks/{aisdk-n48gz485.js → location-service-map-47tg06m4.js} +32 -32
- package/dist/chunks/{aisdk-vx3jgdek.js → location-service-map-48kw51zw.js} +3 -3
- package/dist/chunks/{aisdk-89bb6baa.js → location-service-map-4c2df9zx.js} +8 -8
- package/dist/chunks/{aisdk-4ts7tf6z.js → location-service-map-4ts7tf6z.js} +2 -2
- package/dist/chunks/{aisdk-dt6wnj9q.js → location-service-map-4w3089e4.js} +14 -14
- package/dist/chunks/{aisdk-r100n5nc.js → location-service-map-50pt0x8w.js} +8 -8
- package/dist/chunks/{aisdk-54ma36ye.js → location-service-map-54ma36ye.js} +1 -1
- package/dist/chunks/{aisdk-mfqp6xfm.js → location-service-map-56gdpj1q.js} +6 -6
- package/dist/chunks/{aisdk-12d6p297.js → location-service-map-5cgqc3x3.js} +20 -20
- package/dist/chunks/{aisdk-5m9w47nd.js → location-service-map-5m9w47nd.js} +1 -1
- package/dist/chunks/{aisdk-40bve78s.js → location-service-map-5msxywwp.js} +8 -8
- package/dist/chunks/{aisdk-btkedg0r.js → location-service-map-5p6yzmyk.js} +50 -50
- package/dist/chunks/{aisdk-5t3nmthw.js → location-service-map-5t3nmthw.js} +2 -2
- package/dist/chunks/{aisdk-p558d1j2.js → location-service-map-609c7rjf.js} +5 -5
- package/dist/chunks/{aisdk-sy3wpk96.js → location-service-map-60djhz4b.js} +10 -10
- package/dist/chunks/{aisdk-6b6b0p3x.js → location-service-map-66h5prr0.js} +11 -11
- package/dist/chunks/{aisdk-8cw6acet.js → location-service-map-6fjvkjmf.js} +11 -11
- package/dist/chunks/{aisdk-4n7ky6ky.js → location-service-map-6tv2dc1y.js} +4 -4
- package/dist/chunks/{aisdk-nbrc9aa0.js → location-service-map-6whmb1gy.js} +3 -3
- package/dist/chunks/{aisdk-0mjfw0rd.js → location-service-map-6x8py820.js} +28 -28
- package/dist/chunks/{aisdk-6xb47vfp.js → location-service-map-6xb47vfp.js} +1 -1
- package/dist/chunks/{aisdk-kdwekf82.js → location-service-map-6z93bexb.js} +4 -4
- package/dist/chunks/{aisdk-f75zav2x.js → location-service-map-71az546q.js} +2 -2
- package/dist/chunks/{aisdk-jv8f1fdp.js → location-service-map-751a2whf.js} +93 -93
- package/dist/chunks/{aisdk-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
- package/dist/chunks/{aisdk-4gqmja2c.js → location-service-map-7mc2ry9x.js} +20 -20
- package/dist/chunks/{aisdk-3z2pgn2e.js → location-service-map-7xzk2ja0.js} +35 -35
- package/dist/chunks/{aisdk-qmbazkjd.js → location-service-map-808e0e9m.js} +5 -5
- package/dist/chunks/{aisdk-6bct72er.js → location-service-map-80fpm30f.js} +18 -18
- package/dist/chunks/{aisdk-9dg7gv22.js → location-service-map-81cyf240.js} +17 -17
- package/dist/chunks/{aisdk-3pkdw9ej.js → location-service-map-86h8k6m6.js} +11 -11
- package/dist/chunks/{aisdk-d59k028k.js → location-service-map-8aededdx.js} +22 -22
- package/dist/chunks/{aisdk-8d7r5vzw.js → location-service-map-8d7r5vzw.js} +1 -1
- package/dist/chunks/{aisdk-8m6m0r52.js → location-service-map-8m6m0r52.js} +1 -1
- package/dist/chunks/{aisdk-68v7wfjx.js → location-service-map-8qywzkts.js} +7 -7
- package/dist/chunks/{aisdk-a5wv1q3m.js → location-service-map-8rr49vs5.js} +13 -13
- package/dist/chunks/{aisdk-xd47ttqy.js → location-service-map-982x9exe.js} +36 -36
- package/dist/chunks/{aisdk-bymgkydd.js → location-service-map-9bxqtg3b.js} +12 -12
- package/dist/chunks/{aisdk-xm0sfyx2.js → location-service-map-9dyqnwf5.js} +11 -11
- package/dist/chunks/{aisdk-kb9j3d72.js → location-service-map-9e5bzkjp.js} +3 -3
- package/dist/chunks/{aisdk-338jypc4.js → location-service-map-9hb6vc0y.js} +35 -35
- package/dist/chunks/{aisdk-j1bwjtdy.js → location-service-map-9hvq36ef.js} +49 -49
- package/dist/chunks/{aisdk-v72hdzvn.js → location-service-map-9mex3hvh.js} +14 -14
- package/dist/chunks/{aisdk-qp4nwdz3.js → location-service-map-9rjc0rad.js} +14 -14
- package/dist/chunks/{aisdk-hyfgp2gj.js → location-service-map-9y2478vc.js} +21 -21
- package/dist/chunks/{aisdk-ccwrtn9t.js → location-service-map-9yss0z5k.js} +32 -32
- package/dist/chunks/{aisdk-aaet6srn.js → location-service-map-aaet6srn.js} +2 -2
- package/dist/chunks/{aisdk-5r3w98ry.js → location-service-map-abmjstf3.js} +8 -8
- package/dist/chunks/{aisdk-7f35wzte.js → location-service-map-agwwgfea.js} +33 -33
- package/dist/chunks/{aisdk-9s9a6maz.js → location-service-map-ahgzg1vr.js} +178 -178
- package/dist/chunks/{aisdk-6gb2fxnc.js → location-service-map-av5kawyv.js} +28 -28
- package/dist/chunks/{aisdk-g67ghwv4.js → location-service-map-avxptg0x.js} +22 -22
- package/dist/chunks/{aisdk-b674v2dg.js → location-service-map-b674v2dg.js} +2 -2
- package/dist/chunks/{aisdk-b6gygkdw.js → location-service-map-b6gygkdw.js} +2 -2
- package/dist/chunks/{aisdk-axy7hhva.js → location-service-map-b8s7k8rc.js} +22 -22
- package/dist/chunks/{aisdk-kqrd183v.js → location-service-map-be9ey150.js} +11 -11
- package/dist/chunks/{aisdk-thathje8.js → location-service-map-bensmjx5.js} +34 -34
- package/dist/chunks/{aisdk-cbfarec0.js → location-service-map-c9wq230p.js} +15 -15
- package/dist/chunks/{aisdk-7ptkxh7r.js → location-service-map-ccryn8zn.js} +17 -17
- package/dist/chunks/{aisdk-jktqzjpa.js → location-service-map-cfsekr6v.js} +8 -8
- package/dist/chunks/{aisdk-z24sbaqw.js → location-service-map-cjv4tna3.js} +13 -13
- package/dist/chunks/{aisdk-eys57y9b.js → location-service-map-cmwkp3r5.js} +8 -8
- package/dist/chunks/{aisdk-82xh11mn.js → location-service-map-cq7nt5f0.js} +15 -15
- package/dist/chunks/{aisdk-5h2y2y6j.js → location-service-map-cqbwes34.js} +35 -35
- package/dist/chunks/{aisdk-r2m716tb.js → location-service-map-cwa6csj7.js} +9 -9
- package/dist/chunks/{aisdk-dkc4gvyb.js → location-service-map-de6djj4w.js} +35 -35
- package/dist/chunks/{aisdk-byfghf8b.js → location-service-map-dert2q3q.js} +23 -23
- package/dist/chunks/{aisdk-sye3hfcy.js → location-service-map-dkdb6g76.js} +5 -5
- package/dist/chunks/{aisdk-9pnzhqc7.js → location-service-map-dndpcrtm.js} +3 -3
- package/dist/chunks/{aisdk-dpkg50ah.js → location-service-map-dpkg50ah.js} +1 -1
- package/dist/chunks/{aisdk-tzmp54vm.js → location-service-map-dvf7dy8s.js} +5 -5
- package/dist/chunks/{aisdk-9n4785an.js → location-service-map-dz2gz8y6.js} +16 -16
- package/dist/chunks/{aisdk-ef5x83kb.js → location-service-map-ef5x83kb.js} +1 -1
- package/dist/chunks/{aisdk-rpj7en0j.js → location-service-map-epkz7j4p.js} +18 -18
- package/dist/chunks/{aisdk-5v05r06m.js → location-service-map-epqnd6yv.js} +3 -3
- package/dist/chunks/{aisdk-f6ms68ht.js → location-service-map-eqgmthtk.js} +11 -11
- package/dist/chunks/{aisdk-cg8cfg6z.js → location-service-map-er7kjfpm.js} +31 -31
- package/dist/chunks/{aisdk-etq0c3wd.js → location-service-map-etq0c3wd.js} +1 -1
- package/dist/chunks/{aisdk-32fqvz19.js → location-service-map-ezathb5h.js} +45 -45
- package/dist/chunks/{aisdk-d2czbp48.js → location-service-map-f29mbr7f.js} +4 -4
- package/dist/chunks/{aisdk-x0h4vpz5.js → location-service-map-fag80he9.js} +15 -15
- package/dist/chunks/{aisdk-sydgkmjh.js → location-service-map-ff864t43.js} +17 -17
- package/dist/chunks/{aisdk-r2dnqh6n.js → location-service-map-fpc4h9pq.js} +4 -4
- package/dist/chunks/{aisdk-10zfs9v4.js → location-service-map-g1ne3t05.js} +47 -47
- package/dist/chunks/{aisdk-p8rc01br.js → location-service-map-g3t34t86.js} +18 -18
- package/dist/chunks/{aisdk-mzv0hta7.js → location-service-map-g59n3g2g.js} +22 -22
- package/dist/chunks/{aisdk-w19d8598.js → location-service-map-g5w8qwbj.js} +7 -7
- package/dist/chunks/{aisdk-kjdm35cs.js → location-service-map-g6yfr6ja.js} +5 -5
- package/dist/chunks/{aisdk-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
- package/dist/chunks/{aisdk-xzc90kzk.js → location-service-map-gezq61am.js} +4 -4
- package/dist/chunks/{aisdk-4a6jpjer.js → location-service-map-gg4dpy88.js} +5 -5
- package/dist/chunks/{aisdk-x661k3y3.js → location-service-map-gqtdsdt7.js} +4 -4
- package/dist/chunks/{aisdk-2qw3ex0c.js → location-service-map-gr7ksxyk.js} +9 -9
- package/dist/chunks/{aisdk-9skkajgp.js → location-service-map-gyrxv018.js} +8 -8
- package/dist/chunks/{aisdk-8r9ww22p.js → location-service-map-h24rnrqv.js} +20 -20
- package/dist/chunks/{aisdk-3cegwx68.js → location-service-map-h2b79v29.js} +2 -2
- package/dist/chunks/{aisdk-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
- package/dist/chunks/{aisdk-wghqh80a.js → location-service-map-hbrzgkfe.js} +19 -19
- package/dist/chunks/{aisdk-b3f8fkhc.js → location-service-map-hdkng2sj.js} +5 -5
- package/dist/chunks/{aisdk-7tc3rzgd.js → location-service-map-hkf7t372.js} +9 -9
- package/dist/chunks/{aisdk-wq6aswdf.js → location-service-map-hnknrzez.js} +11 -11
- package/dist/chunks/{aisdk-ak966m7n.js → location-service-map-hpdf27hd.js} +12 -12
- package/dist/chunks/{aisdk-cbjgg9ej.js → location-service-map-htawd9aw.js} +5 -5
- package/dist/chunks/{aisdk-j56e64zr.js → location-service-map-j56e64zr.js} +1 -1
- package/dist/chunks/{aisdk-4nj4bn9q.js → location-service-map-j58c5xyq.js} +9 -9
- package/dist/chunks/{aisdk-6kgskxtw.js → location-service-map-jervv9x6.js} +8 -8
- package/dist/chunks/location-service-map-jqh9b0xq.js +18 -0
- package/dist/chunks/{aisdk-fshcdfd1.js → location-service-map-js837q00.js} +9 -9
- package/dist/chunks/{aisdk-9amd8k98.js → location-service-map-k0j79r8a.js} +15 -15
- package/dist/chunks/{aisdk-gsh07107.js → location-service-map-k4k3zjar.js} +1 -1
- package/dist/chunks/{aisdk-4j6k3mdb.js → location-service-map-kj83vect.js} +11 -11
- package/dist/chunks/{aisdk-80scg3y3.js → location-service-map-kkp8zx71.js} +4 -4
- package/dist/chunks/{aisdk-kb6gw2zp.js → location-service-map-kmx0na6r.js} +4 -4
- package/dist/chunks/{aisdk-wr7ps67x.js → location-service-map-kzdcqyn1.js} +5 -5
- package/dist/chunks/{aisdk-m3fdjcah.js → location-service-map-m3fdjcah.js} +1 -1
- package/dist/chunks/{aisdk-nqvhmk1c.js → location-service-map-m49nzdcs.js} +5 -5
- package/dist/chunks/{aisdk-a0bsrstn.js → location-service-map-m9kwhf9v.js} +3 -3
- package/dist/chunks/{aisdk-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
- package/dist/chunks/{aisdk-dtmxbh2p.js → location-service-map-maxk6ewv.js} +24 -24
- package/dist/chunks/{aisdk-cnsh48jf.js → location-service-map-mfpshbb4.js} +1 -1
- package/dist/chunks/{aisdk-405megzh.js → location-service-map-mnnc3g6z.js} +20 -20
- package/dist/chunks/{aisdk-jmj0fv2f.js → location-service-map-mx8dahtm.js} +21 -21
- package/dist/chunks/{aisdk-r0m4b8s8.js → location-service-map-n5x1cq8y.js} +29 -29
- package/dist/chunks/{aisdk-4mse7y1r.js → location-service-map-n88049k6.js} +22 -22
- package/dist/chunks/{aisdk-xkw5kz5c.js → location-service-map-nat6pp2g.js} +15 -15
- package/dist/chunks/{aisdk-13mc0h3d.js → location-service-map-nfznd11q.js} +20 -20
- package/dist/chunks/{aisdk-ze8sn7h2.js → location-service-map-ng13dac4.js} +5 -5
- package/dist/chunks/{aisdk-ae0txsc2.js → location-service-map-ngwhnfk9.js} +38 -38
- package/dist/chunks/{aisdk-zdm1px9r.js → location-service-map-nnm6kbep.js} +12 -12
- package/dist/chunks/{aisdk-v0ewstpe.js → location-service-map-nq9ea4j8.js} +36 -36
- package/dist/chunks/{aisdk-50mzsvk4.js → location-service-map-nrdmrqsx.js} +4 -4
- package/dist/chunks/{aisdk-1d5zt5jt.js → location-service-map-nzv90650.js} +13 -13
- package/dist/chunks/{aisdk-p48gy0gp.js → location-service-map-p5m7y213.js} +75 -75
- package/dist/chunks/{aisdk-w9vf9qqj.js → location-service-map-patgj9rf.js} +9 -9
- package/dist/chunks/{aisdk-r2f95n35.js → location-service-map-pdv99r2c.js} +4 -4
- package/dist/chunks/{aisdk-ty0fwvcb.js → location-service-map-pj7gwawn.js} +7 -7
- package/dist/chunks/{aisdk-t9ebzdva.js → location-service-map-pjb77rqj.js} +22 -22
- package/dist/chunks/{aisdk-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
- package/dist/chunks/{aisdk-pknna89w.js → location-service-map-pknna89w.js} +1 -1
- package/dist/chunks/{aisdk-fvt3t9ag.js → location-service-map-pnsfzjaq.js} +15 -15
- package/dist/chunks/{aisdk-jfweghsk.js → location-service-map-pr5dj105.js} +11 -11
- package/dist/chunks/{aisdk-yddkn4c7.js → location-service-map-pw5txj2g.js} +16 -16
- package/dist/chunks/location-service-map-pwz0j98n.js +26 -0
- package/dist/chunks/{aisdk-7syps78g.js → location-service-map-py0crcbs.js} +4 -4
- package/dist/chunks/{aisdk-1a34xymg.js → location-service-map-pygdbkqd.js} +7 -7
- package/dist/chunks/{aisdk-q0xm7vwc.js → location-service-map-q0xm7vwc.js} +2 -2
- package/dist/chunks/{aisdk-xybefm6f.js → location-service-map-q5e7cmwt.js} +1 -1
- package/dist/chunks/{aisdk-s00fnecv.js → location-service-map-q775cfcp.js} +24 -24
- package/dist/chunks/{aisdk-ne0t6hxj.js → location-service-map-qacyxcy1.js} +5 -5
- package/dist/chunks/{aisdk-kq7tnyq1.js → location-service-map-qbgaprsj.js} +3 -3
- package/dist/chunks/{aisdk-rbrg03cy.js → location-service-map-qhyp6tf8.js} +9 -9
- package/dist/chunks/{aisdk-ryr25ayn.js → location-service-map-qm0v3jhh.js} +7 -7
- package/dist/chunks/{aisdk-qnc92qwc.js → location-service-map-qnc92qwc.js} +1 -1
- package/dist/chunks/{aisdk-f1smy17a.js → location-service-map-qq9x5xwx.js} +21 -21
- package/dist/chunks/{aisdk-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
- package/dist/chunks/{aisdk-xyafkbt0.js → location-service-map-qxjc9qry.js} +3 -3
- package/dist/chunks/{aisdk-59ghbxbk.js → location-service-map-qy08r2e9.js} +58 -58
- package/dist/chunks/{aisdk-mvfsc1pv.js → location-service-map-r5x6zcsm.js} +3 -3
- package/dist/chunks/{aisdk-vrfdq27c.js → location-service-map-r79jpe1g.js} +12 -12
- package/dist/chunks/location-service-map-rawh7ba9.js +507 -0
- package/dist/chunks/{aisdk-rdw6cm16.js → location-service-map-rdw6cm16.js} +1 -1
- package/dist/chunks/{aisdk-j0krdp1f.js → location-service-map-rnxaexrj.js} +3 -3
- package/dist/chunks/{aisdk-5pyjqqve.js → location-service-map-rqa1jxse.js} +2 -2
- package/dist/chunks/{aisdk-svk60gjy.js → location-service-map-rqd6cqfw.js} +5 -5
- package/dist/chunks/{aisdk-9eq5kwq7.js → location-service-map-rtathh62.js} +8 -8
- package/dist/chunks/{aisdk-z4syh5yy.js → location-service-map-rtbawy8j.js} +3 -3
- package/dist/chunks/{aisdk-r44petzp.js → location-service-map-rttzrg3r.js} +12 -12
- package/dist/chunks/{aisdk-5xkk72ep.js → location-service-map-s1nm8bs6.js} +11 -11
- package/dist/chunks/{aisdk-ng9xra76.js → location-service-map-savh6m7q.js} +58 -58
- package/dist/chunks/{aisdk-2cdv17s0.js → location-service-map-sb31txgw.js} +16 -16
- package/dist/chunks/{aisdk-n8sna2wb.js → location-service-map-srq8z0b0.js} +9 -9
- package/dist/chunks/{aisdk-pyg17xra.js → location-service-map-ss8j4n3s.js} +28 -28
- package/dist/chunks/{aisdk-m55qy151.js → location-service-map-sw9xx0b5.js} +10 -10
- package/dist/chunks/{aisdk-j3qy8zzr.js → location-service-map-sww13f9d.js} +9 -9
- package/dist/chunks/{aisdk-tcay1cqt.js → location-service-map-sxzvkvgj.js} +6 -6
- package/dist/chunks/{aisdk-1169xqyh.js → location-service-map-syzaabgy.js} +25 -25
- package/dist/chunks/{aisdk-8j21hf7j.js → location-service-map-t6r754qz.js} +2 -2
- package/dist/chunks/{aisdk-mn8cz3nb.js → location-service-map-t8mcpqdf.js} +10 -10
- package/dist/chunks/{aisdk-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
- package/dist/chunks/{aisdk-tcezcvh9.js → location-service-map-tcezcvh9.js} +1 -1
- package/dist/chunks/{aisdk-tdstcens.js → location-service-map-tdstcens.js} +1 -1
- package/dist/chunks/{aisdk-jsr8nbtc.js → location-service-map-tmhy7k15.js} +16 -16
- package/dist/chunks/{aisdk-bsprd9wx.js → location-service-map-twwzjqdf.js} +6 -6
- package/dist/chunks/{aisdk-prht8xn4.js → location-service-map-tykvc6z5.js} +11 -11
- package/dist/chunks/{aisdk-c1tbcnkt.js → location-service-map-tyy2z68n.js} +44 -44
- package/dist/chunks/{aisdk-sdc1h1a9.js → location-service-map-v34c5xhw.js} +9 -9
- package/dist/chunks/{aisdk-5d46m1s1.js → location-service-map-v4my49bs.js} +36 -36
- package/dist/chunks/{aisdk-qp1fnkgb.js → location-service-map-v802ev33.js} +20 -20
- package/dist/chunks/{aisdk-trxcxm74.js → location-service-map-v8wjdh0k.js} +13 -13
- package/dist/chunks/{aisdk-3hdhfc6s.js → location-service-map-v9vdgxc9.js} +13 -13
- package/dist/chunks/{aisdk-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
- package/dist/chunks/{aisdk-90qmze2t.js → location-service-map-vq4sfnvy.js} +42 -42
- package/dist/chunks/{aisdk-8ka639ry.js → location-service-map-vqwa452p.js} +4 -4
- package/dist/chunks/{aisdk-vzs5sf6e.js → location-service-map-vzs5sf6e.js} +1 -1
- package/dist/chunks/{aisdk-zc1nd8v7.js → location-service-map-w02p7c3m.js} +10 -10
- package/dist/chunks/{aisdk-84txncab.js → location-service-map-w1eejvng.js} +5 -5
- package/dist/chunks/{aisdk-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
- package/dist/chunks/{aisdk-hjjfw830.js → location-service-map-wbm8szc8.js} +3 -3
- package/dist/chunks/{aisdk-wd87259q.js → location-service-map-wd87259q.js} +1 -1
- package/dist/chunks/{aisdk-h010z3gc.js → location-service-map-wep7xf8r.js} +5 -5
- package/dist/chunks/{aisdk-9dh32pzn.js → location-service-map-wqc8tc6t.js} +47 -47
- package/dist/chunks/{aisdk-pjzpwaef.js → location-service-map-wtscf74w.js} +8 -8
- package/dist/chunks/{aisdk-9t7a50xb.js → location-service-map-wv396vej.js} +6 -6
- package/dist/chunks/{aisdk-gqr0qac7.js → location-service-map-wwdw0p70.js} +19 -19
- package/dist/chunks/{aisdk-g8ksfxxf.js → location-service-map-wyxhp63x.js} +18 -18
- package/dist/chunks/{aisdk-2nrvvkjz.js → location-service-map-x1t5xdb7.js} +32 -32
- package/dist/chunks/{aisdk-k0a3z2qz.js → location-service-map-x3gqap9d.js} +4 -4
- package/dist/chunks/{aisdk-epag531p.js → location-service-map-xf9995wn.js} +4 -4
- package/dist/chunks/{aisdk-xkntkrq7.js → location-service-map-xkntkrq7.js} +2 -2
- package/dist/chunks/{aisdk-2c4c8eb8.js → location-service-map-xnshncyy.js} +37 -37
- package/dist/chunks/{aisdk-0kkjrqx1.js → location-service-map-xpsknwne.js} +30 -30
- package/dist/chunks/{aisdk-14cg4zwm.js → location-service-map-xr043pp4.js} +23 -23
- package/dist/chunks/{aisdk-6wr5pqyy.js → location-service-map-xtrj88ht.js} +27 -27
- package/dist/chunks/{aisdk-geak4k47.js → location-service-map-xwr6kkpa.js} +24 -24
- package/dist/chunks/{aisdk-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
- package/dist/chunks/{aisdk-858snxx8.js → location-service-map-yahs3v6f.js} +6 -6
- package/dist/chunks/{aisdk-vz02fre1.js → location-service-map-yc20c6b8.js} +21 -21
- package/dist/chunks/location-service-map-ygfddkhq.js +253 -0
- package/dist/chunks/{aisdk-05j2vfq8.js → location-service-map-ym7wte4t.js} +19 -19
- package/dist/chunks/{aisdk-w25bqsme.js → location-service-map-ytwhma2w.js} +24 -24
- package/dist/chunks/{aisdk-6147m9bn.js → location-service-map-yzyc98yn.js} +6 -6
- package/dist/chunks/{aisdk-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
- package/dist/chunks/{aisdk-njfztfhq.js → location-service-map-z2wj5dew.js} +13 -13
- package/dist/chunks/{aisdk-sqwtan2t.js → location-service-map-z5wd7jf4.js} +11 -11
- package/dist/chunks/{aisdk-vwztch6z.js → location-service-map-z6nsm8af.js} +45 -45
- package/dist/chunks/{aisdk-cs3h3v80.js → location-service-map-z7kvc2g4.js} +29 -29
- package/dist/chunks/{aisdk-gnfcjh5e.js → location-service-map-z990n4az.js} +10 -10
- package/dist/chunks/{aisdk-8ye6c6xa.js → location-service-map-zbwehrfx.js} +45 -45
- package/dist/chunks/{aisdk-q9v66sme.js → location-service-map-zgct5ygq.js} +11 -11
- package/dist/chunks/{aisdk-tfanqrhs.js → location-service-map-zr19srz6.js} +6 -6
- package/dist/chunks/{aisdk-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
- package/dist/chunks/{aisdk-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
- package/dist/chunks/{aisdk-hpz74jw5.js → location-service-map-zzeyhfg4.js} +10 -10
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +86 -86
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +100 -100
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +206 -206
- 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 +119 -119
- package/dist/config/plugin/mcp.js +124 -124
- 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 +118 -118
- 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 +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +86 -86
- 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 +94 -94
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +96 -96
- 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 +75 -75
- 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 +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +101 -101
- package/dist/form.js +87 -87
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +106 -106
- package/dist/git.js +10 -10
- 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 +82 -82
- package/dist/instructions/builtins.js +88 -88
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +88 -88
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +74 -74
- package/dist/location-activity.js +135 -135
- 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 +88 -88
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +79 -79
- 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 +99 -99
- package/dist/model.js +103 -103
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +83 -83
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +76 -76
- package/dist/plugin/agent.js +75 -75
- package/dist/plugin/command.js +101 -101
- 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 +117 -117
- 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 +115 -115
- 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 +75 -75
- 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 +346 -346
- 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 +8 -8
- 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 +219 -219
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +102 -102
- 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 +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +87 -87
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- 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 +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- 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 +5 -5
- package/dist/session/title.js +158 -158
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +9 -9
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +108 -108
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +92 -92
- 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 +129 -129
- package/dist/tool/plugin/edit.js +121 -121
- 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 +213 -213
- package/dist/tool/plugin/webfetch.js +113 -113
- 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 +12 -12
- 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 +5 -5
- 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 +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +77 -77
- package/dist/wellknown.js +82 -82
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- 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 +99 -99
- package/package.json +8 -8
- package/dist/chunks/aisdk-27sa8ph3.js +0 -26
- package/dist/chunks/aisdk-9sh4wc5j.js +0 -18
- package/dist/chunks/aisdk-rwfgbrd2.js +0 -253
- package/dist/chunks/aisdk-yrcn8vah.js +0 -507
- /package/dist/chunks/{aisdk-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{aisdk-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
- /package/dist/chunks/{aisdk-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
- /package/dist/chunks/{aisdk-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
- /package/dist/chunks/{aisdk-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{aisdk-24dcb14g.js → location-service-map-24dcb14g.js} +0 -0
- /package/dist/chunks/{aisdk-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
- /package/dist/chunks/{aisdk-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
- /package/dist/chunks/{aisdk-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{aisdk-34c7v6d4.js → location-service-map-34c7v6d4.js} +0 -0
- /package/dist/chunks/{aisdk-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
- /package/dist/chunks/{aisdk-3asan66x.js → location-service-map-3asan66x.js} +0 -0
- /package/dist/chunks/{aisdk-3t0ybcrp.js → location-service-map-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{aisdk-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
- /package/dist/chunks/{aisdk-3w5fmr99.js → location-service-map-3w5fmr99.js} +0 -0
- /package/dist/chunks/{aisdk-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
- /package/dist/chunks/{aisdk-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
- /package/dist/chunks/{aisdk-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
- /package/dist/chunks/{aisdk-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{aisdk-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
- /package/dist/chunks/{aisdk-53557ph1.js → location-service-map-53557ph1.js} +0 -0
- /package/dist/chunks/{aisdk-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
- /package/dist/chunks/{aisdk-5qd3pb7m.js → location-service-map-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{aisdk-6prwharc.js → location-service-map-6prwharc.js} +0 -0
- /package/dist/chunks/{aisdk-6q2bdcd1.js → location-service-map-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{aisdk-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
- /package/dist/chunks/{aisdk-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
- /package/dist/chunks/{aisdk-822emrt2.js → location-service-map-822emrt2.js} +0 -0
- /package/dist/chunks/{aisdk-84wd9syh.js → location-service-map-84wd9syh.js} +0 -0
- /package/dist/chunks/{aisdk-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
- /package/dist/chunks/{aisdk-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
- /package/dist/chunks/{aisdk-8wj87zfr.js → location-service-map-8wj87zfr.js} +0 -0
- /package/dist/chunks/{aisdk-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
- /package/dist/chunks/{aisdk-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{aisdk-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
- /package/dist/chunks/{aisdk-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
- /package/dist/chunks/{aisdk-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
- /package/dist/chunks/{aisdk-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{aisdk-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
- /package/dist/chunks/{aisdk-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{aisdk-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{aisdk-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
- /package/dist/chunks/{aisdk-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{aisdk-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
- /package/dist/chunks/{aisdk-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{aisdk-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
- /package/dist/chunks/{aisdk-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
- /package/dist/chunks/{aisdk-df08tz66.js → location-service-map-df08tz66.js} +0 -0
- /package/dist/chunks/{aisdk-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
- /package/dist/chunks/{aisdk-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
- /package/dist/chunks/{aisdk-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
- /package/dist/chunks/{aisdk-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
- /package/dist/chunks/{aisdk-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
- /package/dist/chunks/{aisdk-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
- /package/dist/chunks/{aisdk-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
- /package/dist/chunks/{aisdk-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{aisdk-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
- /package/dist/chunks/{aisdk-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
- /package/dist/chunks/{aisdk-fxgpk5d8.js → location-service-map-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{aisdk-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
- /package/dist/chunks/{aisdk-g86h250q.js → location-service-map-g86h250q.js} +0 -0
- /package/dist/chunks/{aisdk-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
- /package/dist/chunks/{aisdk-gftt206x.js → location-service-map-gftt206x.js} +0 -0
- /package/dist/chunks/{aisdk-hk9envan.js → location-service-map-hk9envan.js} +0 -0
- /package/dist/chunks/{aisdk-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
- /package/dist/chunks/{aisdk-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{aisdk-jjkms2e6.js → location-service-map-jjkms2e6.js} +0 -0
- /package/dist/chunks/{aisdk-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{aisdk-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{aisdk-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{aisdk-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
- /package/dist/chunks/{aisdk-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
- /package/dist/chunks/{aisdk-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
- /package/dist/chunks/{aisdk-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
- /package/dist/chunks/{aisdk-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
- /package/dist/chunks/{aisdk-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
- /package/dist/chunks/{aisdk-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
- /package/dist/chunks/{aisdk-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
- /package/dist/chunks/{aisdk-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
- /package/dist/chunks/{aisdk-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
- /package/dist/chunks/{aisdk-qg3g05ea.js → location-service-map-qg3g05ea.js} +0 -0
- /package/dist/chunks/{aisdk-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
- /package/dist/chunks/{aisdk-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{aisdk-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{aisdk-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
- /package/dist/chunks/{aisdk-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
- /package/dist/chunks/{aisdk-wc3fc9cn.js → location-service-map-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{aisdk-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
- /package/dist/chunks/{aisdk-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
- /package/dist/chunks/{aisdk-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
- /package/dist/chunks/{aisdk-x61499pn.js → location-service-map-x61499pn.js} +0 -0
- /package/dist/chunks/{aisdk-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
- /package/dist/chunks/{aisdk-y8cydn3q.js → location-service-map-y8cydn3q.js} +0 -0
- /package/dist/chunks/{aisdk-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
- /package/dist/chunks/{aisdk-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{aisdk-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
- /package/dist/chunks/{aisdk-z5v4ffb3.js → location-service-map-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{aisdk-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-qbgaprsj.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-71az546q.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID14,
|
|
17
|
+
Info: () => Info24,
|
|
18
|
+
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service75,
|
|
21
|
+
node: () => node79
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID14 = PermissionSaved.ID;
|
|
29
|
+
var Info24 = PermissionSaved.Info;
|
|
30
|
+
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service75 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service84).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID14.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service75.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node79 = makeGlobalNode({ service: Service75, layer, deps: [node88] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID14, Info24, ListInput5, AddInput2, Service75, node79, exports_saved };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
render3
|
|
3
|
+
} from "./location-service-map-g5w8qwbj.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_optimize, {
|
|
|
13
13
|
ArceePlugin: () => ArceePlugin2,
|
|
14
14
|
KimiPlugin: () => KimiPlugin2,
|
|
15
15
|
MetaPlugin: () => MetaPlugin2,
|
|
16
|
-
OpenAIPlugin: () =>
|
|
16
|
+
OpenAIPlugin: () => OpenAIPlugin3,
|
|
17
17
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
18
18
|
OptimizePlugin: () => exports_optimize,
|
|
19
19
|
Plugins: () => Plugins2
|
|
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
|
|
|
374
374
|
`;
|
|
375
375
|
|
|
376
376
|
// src/plugin/optimize.ts
|
|
377
|
-
var
|
|
377
|
+
var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
|
|
378
378
|
const id = model.id.toLowerCase();
|
|
379
379
|
if (!id.includes("gpt"))
|
|
380
380
|
return;
|
|
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
409
409
|
return;
|
|
410
410
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
411
411
|
});
|
|
412
|
-
var Plugins2 = [
|
|
412
|
+
var Plugins2 = [OpenAIPlugin3, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
413
413
|
function make(id, optimize, mode = "override") {
|
|
414
414
|
return define({
|
|
415
415
|
id,
|
|
@@ -424,7 +424,7 @@ function make(id, optimize, mode = "override") {
|
|
|
424
424
|
const system = event.system[0];
|
|
425
425
|
if (!system)
|
|
426
426
|
return;
|
|
427
|
-
const rendered =
|
|
427
|
+
const rendered = render3(template, Object.keys(event.tools));
|
|
428
428
|
const text = mode === "append" ? `${system.text}
|
|
429
429
|
|
|
430
430
|
${rendered}` : rendered;
|
|
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
|
|
|
437
437
|
});
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
export {
|
|
440
|
+
export { OpenAIPlugin3, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service67,
|
|
3
|
+
node71,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-service-map-0gsvzdev.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service42,
|
|
8
|
+
node44
|
|
9
|
+
} from "./location-service-map-sxzvkvgj.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service23
|
|
12
|
+
} from "./location-service-map-v4my49bs.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-ygfddkhq.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service67, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service23);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node44.replace(Layer.succeed(Service42, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node71.replace(Layer.succeed(Service67, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service5,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node7
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service5 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node7 = makeLocationNode({
|
|
19
|
+
service: Service5,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service5, Service5.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service5, node7, bound2, exports_instance2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
14
|
Options: () => Options9,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service52,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
18
|
configured: () => configured9,
|
|
@@ -21,9 +21,9 @@ __export(exports_select, {
|
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node55,
|
|
25
25
|
ps: () => ps2,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { readFile } from "fs/promises";
|
|
@@ -47,7 +47,7 @@ var Options9 = Schema.Struct({
|
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service52 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
|
|
|
164
164
|
}
|
|
165
165
|
var defaultConfigured;
|
|
166
166
|
var defaultCompatible;
|
|
167
|
-
function
|
|
167
|
+
function resolve3(input, configShell, options, bin) {
|
|
168
168
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
169
169
|
if (configShell)
|
|
170
170
|
return select(configShell, options, filter, bin);
|
|
@@ -180,7 +180,7 @@ function resolve4(input, configShell, options, bin) {
|
|
|
180
180
|
defaultConfigured = { bin, value };
|
|
181
181
|
return value;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
resolve3.reset = () => {
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service52, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service52.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
|
-
resolve: (input) => Effect.sync(() =>
|
|
205
|
+
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
|
|
206
206
|
list: () => Effect.promise(() => list4(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
209
|
function configured9(options) {
|
|
210
|
-
return makeLocationNode({ service:
|
|
210
|
+
return makeLocationNode({ service: Service52, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node55 = configured9();
|
|
213
213
|
|
|
214
|
-
export { Options9,
|
|
214
|
+
export { Options9, Service52, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured9, node55, exports_select };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service77
|
|
9
|
+
} from "./location-service-map-110ahdj7.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service53
|
|
12
|
+
} from "./location-service-map-18gphh5f.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service17
|
|
15
|
+
} from "./location-service-map-9rjc0rad.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-service-map-mx8dahtm.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service73
|
|
24
|
+
} from "./location-service-map-qy08r2e9.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service64
|
|
27
|
+
} from "./location-service-map-80fpm30f.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input12,
|
|
37
|
+
Output: () => Output8,
|
|
38
|
+
Plugin: () => Plugin14,
|
|
39
|
+
name: () => name12,
|
|
40
|
+
toModelContent: () => toModelContent6
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name12 = "glob";
|
|
46
|
+
var Input12 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input6 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output8 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent6 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin14 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service53;
|
|
70
|
+
const ripgrep = yield* Service17;
|
|
71
|
+
const location = yield* Service77;
|
|
72
|
+
const access = yield* Service64;
|
|
73
|
+
const permission = yield* Service73;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name12,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input12,
|
|
79
|
+
output: Output8,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name12,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin41 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent6(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name12, Input12, Output8, toModelContent6, Plugin14, exports_glob };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-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: () => Service12,
|
|
13
|
+
node: () => node14
|
|
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 Service12 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service12, 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(Service7, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service12.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 node14 = makeLocationNode({ service: Service12, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service12, node14, exports_location_watcher_policy };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./location-service-map-9bxqtg3b.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-service-map-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-service-map-gqtdsdt7.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID9,
|
|
14
|
+
Service65,
|
|
15
|
+
node69,
|
|
16
|
+
Event14
|
|
17
|
+
} from "./location-service-map-30s28g32.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service77,
|
|
20
|
+
node81
|
|
21
|
+
} from "./location-service-map-110ahdj7.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-service-map-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: () =>
|
|
42
|
-
ID: () =>
|
|
43
|
-
Info: () =>
|
|
41
|
+
Event: () => Event13,
|
|
42
|
+
ID: () => ID8,
|
|
43
|
+
Info: () => Info17,
|
|
44
44
|
LoadError: () => LoadError3,
|
|
45
45
|
Provider: () => exports_provider3,
|
|
46
|
-
Request: () =>
|
|
47
|
-
Service: () =>
|
|
46
|
+
Request: () => Request2,
|
|
47
|
+
Service: () => Service62,
|
|
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: () => node66,
|
|
58
58
|
packageName: () => packageName2,
|
|
59
59
|
timeout: () => timeout2,
|
|
60
60
|
timeouts: () => timeouts2
|
|
@@ -68,8 +68,8 @@ 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
|
|
72
|
-
var
|
|
71
|
+
import { Event as Event13 } from "@opencode/schema/provider";
|
|
72
|
+
var ID8 = Provider.ID;
|
|
73
73
|
var AISDK_PREFIX2 = "aisdk:";
|
|
74
74
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
75
75
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -228,13 +228,13 @@ function mergeHeaders2(base, overlay) {
|
|
|
228
228
|
return result;
|
|
229
229
|
}, new Map).values());
|
|
230
230
|
}
|
|
231
|
-
var
|
|
231
|
+
var Request2 = Provider.Request;
|
|
232
232
|
var Compaction3 = Provider.Compaction;
|
|
233
233
|
var Transport2 = Provider.Transport;
|
|
234
234
|
var Settings2 = Provider.Settings;
|
|
235
|
-
var
|
|
235
|
+
var Info17 = Provider.Info;
|
|
236
236
|
|
|
237
|
-
class
|
|
237
|
+
class Service62 extends Context.Service()("@opencode/Provider") {
|
|
238
238
|
}
|
|
239
239
|
var definitions = new WeakMap;
|
|
240
240
|
function index(providerID, models) {
|
|
@@ -247,10 +247,10 @@ function index(providerID, models) {
|
|
|
247
247
|
definitions.set(models, indexes);
|
|
248
248
|
return result;
|
|
249
249
|
}
|
|
250
|
-
var layer = Layer.effect(
|
|
251
|
-
const bus = yield*
|
|
252
|
-
const integrations = yield*
|
|
253
|
-
const location = yield*
|
|
250
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
251
|
+
const bus = yield* Service82;
|
|
252
|
+
const integrations = yield* Service65;
|
|
253
|
+
const location = yield* Service77;
|
|
254
254
|
const state = create3({
|
|
255
255
|
name: "provider",
|
|
256
256
|
initial: () => new Map,
|
|
@@ -261,7 +261,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
261
261
|
const current = records.get(id);
|
|
262
262
|
if (current)
|
|
263
263
|
return current;
|
|
264
|
-
const added = { provider:
|
|
264
|
+
const added = { provider: Info17.empty(id), models: new Map };
|
|
265
265
|
records.set(id, added);
|
|
266
266
|
maps.add(added.models);
|
|
267
267
|
return added;
|
|
@@ -342,7 +342,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
342
342
|
const available = Array.from(records.values()).filter((record) => {
|
|
343
343
|
if (record.provider.activation === "disabled")
|
|
344
344
|
return false;
|
|
345
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
345
|
+
const integration = byID.get(record.provider.integrationID ?? ID9.make(record.provider.id));
|
|
346
346
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
347
347
|
return false;
|
|
348
348
|
if (record.provider.activation === "enabled")
|
|
@@ -368,8 +368,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
368
368
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
369
369
|
});
|
|
370
370
|
});
|
|
371
|
-
yield* bus.subscribe([
|
|
372
|
-
return
|
|
371
|
+
yield* bus.subscribe([Event14.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
372
|
+
return Service62.of({
|
|
373
373
|
transform: state.transform,
|
|
374
374
|
reload: state.reload,
|
|
375
375
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -378,7 +378,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
378
378
|
snapshot
|
|
379
379
|
});
|
|
380
380
|
}));
|
|
381
|
-
var
|
|
381
|
+
var node66 = makeLocationNode({ service: Service62, layer, deps: [node86, node69, node81] });
|
|
382
382
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
383
383
|
const module = yield* Effect.tryPromise({
|
|
384
384
|
try: () => {
|
|
@@ -653,4 +653,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
653
653
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
654
654
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
655
655
|
|
|
656
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
656
|
+
export { rewrite2, native2, exports_aisdk_native, ID8, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, timeout2, timeouts2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info17, Service62, node66, exports_provider3, Event13 };
|