@opencode/core 0.0.0-dev-20717 → 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 +84 -84
- 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/{bus-wdgfqfb8.js → location-service-map-07zt2qvc.js} +34 -34
- package/dist/chunks/{bus-k9ew0x4h.js → location-service-map-09bd12ja.js} +17 -17
- package/dist/chunks/{bus-qr6f2pwv.js → location-service-map-0bg0bx69.js} +7 -7
- package/dist/chunks/{bus-xadn7sc3.js → location-service-map-0d586qqe.js} +26 -26
- package/dist/chunks/{bus-a74vk8t0.js → location-service-map-0gsvzdev.js} +9 -9
- package/dist/chunks/{bus-0paq2nw3.js → location-service-map-0paq2nw3.js} +1 -1
- package/dist/chunks/{bus-mewra3jg.js → location-service-map-0tc4sbnt.js} +21 -21
- package/dist/chunks/{bus-0vbcp93d.js → location-service-map-0vbcp93d.js} +2 -2
- package/dist/chunks/{bus-8428mbzp.js → location-service-map-0ydt6dm7.js} +13 -13
- package/dist/chunks/{bus-vz63xazc.js → location-service-map-110ahdj7.js} +5 -5
- package/dist/chunks/{bus-0v9naeh7.js → location-service-map-172wvaws.js} +46 -46
- package/dist/chunks/{bus-hf9ehm1e.js → location-service-map-18gphh5f.js} +21 -21
- package/dist/chunks/{bus-c57kr184.js → location-service-map-19enz01j.js} +29 -29
- package/dist/chunks/{bus-kzqbv2ef.js → location-service-map-19haxzmr.js} +35 -35
- package/dist/chunks/{bus-yp2x3t23.js → location-service-map-1acjjqhc.js} +4 -4
- package/dist/chunks/{bus-kctg07cb.js → location-service-map-1bzh630m.js} +20 -20
- package/dist/chunks/{bus-1dazxqgg.js → location-service-map-1dazxqgg.js} +2 -2
- package/dist/chunks/{bus-1dvck2a7.js → location-service-map-1dvck2a7.js} +2 -2
- package/dist/chunks/{bus-v96fb61g.js → location-service-map-1f14f7t8.js} +14 -14
- package/dist/chunks/{bus-ch8h0cmv.js → location-service-map-1nz5ft8r.js} +11 -11
- package/dist/chunks/{bus-0wqkrk39.js → location-service-map-1qmsp7br.js} +16 -16
- package/dist/chunks/{bus-wf7jkce5.js → location-service-map-1tvpne0k.js} +81 -81
- package/dist/chunks/{bus-e375atp3.js → location-service-map-1vtzkph7.js} +11 -11
- package/dist/chunks/{bus-h54ekfxy.js → location-service-map-1vyye6zk.js} +1 -1
- package/dist/chunks/{bus-jnffje0a.js → location-service-map-1ynmqc5g.js} +9 -9
- package/dist/chunks/{bus-2a5m3afh.js → location-service-map-2a5m3afh.js} +1 -1
- package/dist/chunks/{bus-7dqw4kz8.js → location-service-map-2k8khapm.js} +5 -5
- package/dist/chunks/{bus-92swnv4m.js → location-service-map-2ktf0ed2.js} +8 -8
- package/dist/chunks/{bus-zj3vg3nr.js → location-service-map-2rwm6het.js} +28 -28
- package/dist/chunks/{bus-06x8he3q.js → location-service-map-2vs2nh1n.js} +4 -4
- package/dist/chunks/{bus-pbyaj4br.js → location-service-map-2x07dkj1.js} +17 -17
- package/dist/chunks/{bus-grnn7sex.js → location-service-map-30s28g32.js} +33 -33
- package/dist/chunks/{bus-sgp384a4.js → location-service-map-361tt197.js} +26 -26
- package/dist/chunks/{bus-16h5vx33.js → location-service-map-37mjbavn.js} +11 -11
- package/dist/chunks/{bus-03sww6te.js → location-service-map-37xgxhys.js} +14 -14
- package/dist/chunks/{bus-ndsx31w4.js → location-service-map-3b39sg5x.js} +32 -32
- package/dist/chunks/{bus-3fc6dm20.js → location-service-map-3fc6dm20.js} +1 -1
- package/dist/chunks/{bus-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
- package/dist/chunks/{bus-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
- package/dist/chunks/{bus-ejxtpekp.js → location-service-map-3yccbcdd.js} +32 -32
- package/dist/chunks/{bus-3zsf4n22.js → location-service-map-3zsf4n22.js} +1 -1
- package/dist/chunks/{bus-f6gfhbzj.js → location-service-map-4165drj7.js} +23 -23
- package/dist/chunks/{bus-v7808e1w.js → location-service-map-44wtnatd.js} +11 -11
- package/dist/chunks/{bus-xm90a83n.js → location-service-map-47tg06m4.js} +30 -30
- package/dist/chunks/{bus-143qq2q9.js → location-service-map-48kw51zw.js} +3 -3
- package/dist/chunks/{bus-3rtxz4nr.js → location-service-map-4c2df9zx.js} +8 -8
- package/dist/chunks/{bus-2ccvkpx1.js → location-service-map-4ts7tf6z.js} +2 -2
- package/dist/chunks/{bus-e1h55cs2.js → location-service-map-4w3089e4.js} +14 -14
- package/dist/chunks/{bus-2agezns5.js → location-service-map-50pt0x8w.js} +8 -8
- package/dist/chunks/{bus-r94pvvab.js → location-service-map-54ma36ye.js} +4 -4
- package/dist/chunks/{bus-mfqp6xfm.js → location-service-map-56gdpj1q.js} +6 -6
- package/dist/chunks/{bus-dc7n4fmx.js → location-service-map-5cgqc3x3.js} +23 -23
- package/dist/chunks/{bus-5m9w47nd.js → location-service-map-5m9w47nd.js} +1 -1
- package/dist/chunks/{bus-9an6z3zg.js → location-service-map-5msxywwp.js} +6 -6
- package/dist/chunks/{bus-yh9hw8gt.js → location-service-map-5p6yzmyk.js} +46 -46
- package/dist/chunks/{bus-e3qxr5gk.js → location-service-map-5qd3pb7m.js} +2 -2
- package/dist/chunks/{bus-5t3nmthw.js → location-service-map-5t3nmthw.js} +2 -2
- package/dist/chunks/{bus-zbfyanxm.js → location-service-map-609c7rjf.js} +6 -6
- package/dist/chunks/{bus-rcqmksdz.js → location-service-map-60djhz4b.js} +8 -8
- package/dist/chunks/{bus-2x6wmvtw.js → location-service-map-66h5prr0.js} +11 -11
- package/dist/chunks/{bus-ejvnp2ks.js → location-service-map-6fjvkjmf.js} +11 -11
- package/dist/chunks/{bus-ytzgz0qd.js → location-service-map-6tv2dc1y.js} +4 -4
- package/dist/chunks/{bus-t0teqtp6.js → location-service-map-6whmb1gy.js} +6 -6
- package/dist/chunks/{bus-4ngxe3th.js → location-service-map-6x8py820.js} +22 -22
- package/dist/chunks/{bus-6xb47vfp.js → location-service-map-6xb47vfp.js} +1 -1
- package/dist/chunks/{bus-5mc86df6.js → location-service-map-6z93bexb.js} +4 -4
- package/dist/chunks/{bus-71az546q.js → location-service-map-71az546q.js} +2 -2
- package/dist/chunks/{bus-sstbnqm0.js → location-service-map-751a2whf.js} +86 -86
- package/dist/chunks/{bus-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
- package/dist/chunks/{bus-6rxtg7gn.js → location-service-map-7mc2ry9x.js} +22 -22
- package/dist/chunks/{bus-4g8499m9.js → location-service-map-7xzk2ja0.js} +33 -33
- package/dist/chunks/{bus-grf59032.js → location-service-map-808e0e9m.js} +5 -5
- package/dist/chunks/{bus-wj3cgm7c.js → location-service-map-80fpm30f.js} +15 -15
- package/dist/chunks/{bus-5z7krgsm.js → location-service-map-81cyf240.js} +17 -17
- package/dist/chunks/{bus-xnkhzy4t.js → location-service-map-86h8k6m6.js} +13 -13
- package/dist/chunks/{bus-cwrzxn64.js → location-service-map-8aededdx.js} +20 -20
- package/dist/chunks/{bus-8d7r5vzw.js → location-service-map-8d7r5vzw.js} +1 -1
- package/dist/chunks/{bus-8m6m0r52.js → location-service-map-8m6m0r52.js} +1 -1
- package/dist/chunks/{bus-jmqgqzta.js → location-service-map-8qywzkts.js} +7 -7
- package/dist/chunks/{bus-4ew5rnj4.js → location-service-map-8rr49vs5.js} +11 -11
- package/dist/chunks/{bus-afh8ba5a.js → location-service-map-982x9exe.js} +31 -31
- package/dist/chunks/{bus-g59t3z9x.js → location-service-map-9bxqtg3b.js} +12 -12
- package/dist/chunks/{bus-chkwe70y.js → location-service-map-9dyqnwf5.js} +11 -11
- package/dist/chunks/{bus-9e5bzkjp.js → location-service-map-9e5bzkjp.js} +3 -3
- package/dist/chunks/{bus-snkf0wzq.js → location-service-map-9hb6vc0y.js} +30 -30
- package/dist/chunks/{bus-9t8z9rdd.js → location-service-map-9hvq36ef.js} +49 -49
- package/dist/chunks/{bus-nct9s1hw.js → location-service-map-9mex3hvh.js} +16 -16
- package/dist/chunks/{bus-2t3mzhjr.js → location-service-map-9rjc0rad.js} +18 -18
- package/dist/chunks/{bus-tn2f5wk8.js → location-service-map-9y2478vc.js} +21 -21
- package/dist/chunks/{bus-k5p0xmg8.js → location-service-map-9yss0z5k.js} +30 -30
- package/dist/chunks/{bus-aaet6srn.js → location-service-map-aaet6srn.js} +2 -2
- package/dist/chunks/{bus-bqszwq89.js → location-service-map-abmjstf3.js} +6 -6
- package/dist/chunks/{bus-x8yqvqn2.js → location-service-map-agwwgfea.js} +33 -33
- package/dist/chunks/{bus-50ws1j4q.js → location-service-map-ahgzg1vr.js} +178 -178
- package/dist/chunks/{bus-37rfkxtg.js → location-service-map-av5kawyv.js} +29 -29
- package/dist/chunks/{bus-4ykyqmv9.js → location-service-map-avxptg0x.js} +24 -24
- package/dist/chunks/{bus-47jkzegy.js → location-service-map-b674v2dg.js} +5 -5
- package/dist/chunks/{bus-b6gygkdw.js → location-service-map-b6gygkdw.js} +2 -2
- package/dist/chunks/{bus-k4p30yx3.js → location-service-map-b8s7k8rc.js} +22 -22
- package/dist/chunks/{bus-sywdhydk.js → location-service-map-be9ey150.js} +11 -11
- package/dist/chunks/{bus-h4gayt2r.js → location-service-map-bensmjx5.js} +40 -40
- package/dist/chunks/{bus-wcdqrb7q.js → location-service-map-c9wq230p.js} +17 -17
- package/dist/chunks/{bus-d62vewej.js → location-service-map-ccryn8zn.js} +17 -17
- package/dist/chunks/{bus-py3kkmfq.js → location-service-map-cfsekr6v.js} +2 -2
- package/dist/chunks/{bus-448v1y6b.js → location-service-map-cjv4tna3.js} +10 -10
- package/dist/chunks/{bus-p37cw4rj.js → location-service-map-cmwkp3r5.js} +8 -8
- package/dist/chunks/{bus-wk7y1wk7.js → location-service-map-cq7nt5f0.js} +19 -19
- package/dist/chunks/{bus-w8re96tr.js → location-service-map-cqbwes34.js} +33 -33
- package/dist/chunks/{bus-5d607bsg.js → location-service-map-cwa6csj7.js} +9 -9
- package/dist/chunks/{bus-2k8vvcse.js → location-service-map-de6djj4w.js} +32 -32
- package/dist/chunks/{bus-j0crpdb9.js → location-service-map-dert2q3q.js} +20 -20
- package/dist/chunks/{bus-3n9wzqh8.js → location-service-map-dkdb6g76.js} +5 -5
- package/dist/chunks/{bus-7bka8wt5.js → location-service-map-dndpcrtm.js} +3 -3
- package/dist/chunks/{bus-y71avatq.js → location-service-map-dpkg50ah.js} +4 -4
- package/dist/chunks/{bus-2wwb7yfm.js → location-service-map-dvf7dy8s.js} +5 -5
- package/dist/chunks/{bus-rket6atq.js → location-service-map-dz2gz8y6.js} +18 -18
- package/dist/chunks/{bus-ef5x83kb.js → location-service-map-ef5x83kb.js} +1 -1
- package/dist/chunks/{bus-8w469hvp.js → location-service-map-epkz7j4p.js} +18 -18
- package/dist/chunks/{bus-thka7k42.js → location-service-map-epqnd6yv.js} +3 -3
- package/dist/chunks/{bus-4adjf9qe.js → location-service-map-eqgmthtk.js} +11 -11
- package/dist/chunks/{bus-s6mj4d9f.js → location-service-map-er7kjfpm.js} +26 -26
- package/dist/chunks/{bus-etq0c3wd.js → location-service-map-etq0c3wd.js} +1 -1
- package/dist/chunks/{bus-5w5p7qgm.js → location-service-map-ezathb5h.js} +45 -45
- package/dist/chunks/{bus-4z58m4b4.js → location-service-map-f29mbr7f.js} +4 -4
- package/dist/chunks/{bus-40kgmzpw.js → location-service-map-fag80he9.js} +13 -13
- package/dist/chunks/{bus-cvh4a6ak.js → location-service-map-ff864t43.js} +15 -15
- package/dist/chunks/{bus-2m8jawch.js → location-service-map-fpc4h9pq.js} +4 -4
- package/dist/chunks/{bus-crqm33dp.js → location-service-map-g1ne3t05.js} +47 -47
- package/dist/chunks/{bus-t78f7576.js → location-service-map-g3t34t86.js} +23 -23
- package/dist/chunks/{bus-msz6jcxw.js → location-service-map-g59n3g2g.js} +19 -19
- package/dist/chunks/{bus-xfkkasph.js → location-service-map-g5w8qwbj.js} +4 -4
- package/dist/chunks/{bus-w2h15q85.js → location-service-map-g6yfr6ja.js} +5 -5
- package/dist/chunks/{bus-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
- package/dist/chunks/{bus-a1g1snd0.js → location-service-map-gezq61am.js} +4 -4
- package/dist/chunks/{bus-k8hpw67k.js → location-service-map-gg4dpy88.js} +5 -5
- package/dist/chunks/{bus-mxvxcxwy.js → location-service-map-gqtdsdt7.js} +4 -4
- package/dist/chunks/{bus-j045qakk.js → location-service-map-gr7ksxyk.js} +7 -7
- package/dist/chunks/{bus-1s608d8d.js → location-service-map-gyrxv018.js} +11 -11
- package/dist/chunks/{bus-ze83rx7h.js → location-service-map-h24rnrqv.js} +20 -20
- package/dist/chunks/{bus-h2b79v29.js → location-service-map-h2b79v29.js} +2 -2
- package/dist/chunks/{bus-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
- package/dist/chunks/{bus-w3w22yba.js → location-service-map-hbrzgkfe.js} +19 -19
- package/dist/chunks/{bus-qygbw77c.js → location-service-map-hdkng2sj.js} +5 -5
- package/dist/chunks/{bus-03wzhvf1.js → location-service-map-hkf7t372.js} +9 -9
- package/dist/chunks/{bus-ytnhha0b.js → location-service-map-hnknrzez.js} +11 -11
- package/dist/chunks/{bus-djfg9dqa.js → location-service-map-hpdf27hd.js} +23 -23
- package/dist/chunks/{bus-gch621w7.js → location-service-map-htawd9aw.js} +5 -5
- package/dist/chunks/{bus-j56e64zr.js → location-service-map-j56e64zr.js} +1 -1
- package/dist/chunks/{bus-x2aynqqh.js → location-service-map-j58c5xyq.js} +9 -9
- package/dist/chunks/{bus-7c08hygz.js → location-service-map-jervv9x6.js} +11 -11
- package/dist/chunks/location-service-map-jqh9b0xq.js +18 -0
- package/dist/chunks/{bus-phveq2xn.js → location-service-map-js837q00.js} +9 -9
- package/dist/chunks/{bus-j7bdx0mg.js → location-service-map-k0j79r8a.js} +19 -19
- package/dist/chunks/{bus-pb4zsb95.js → location-service-map-k4k3zjar.js} +1 -1
- package/dist/chunks/{bus-dwmvx258.js → location-service-map-kj83vect.js} +11 -11
- package/dist/chunks/{bus-y6mhz57t.js → location-service-map-kkp8zx71.js} +4 -4
- package/dist/chunks/{bus-xxndcd6m.js → location-service-map-kmx0na6r.js} +4 -4
- package/dist/chunks/{bus-89vjf07m.js → location-service-map-kzdcqyn1.js} +5 -5
- package/dist/chunks/{bus-m3fdjcah.js → location-service-map-m3fdjcah.js} +1 -1
- package/dist/chunks/{bus-5dn96qcv.js → location-service-map-m49nzdcs.js} +3 -3
- package/dist/chunks/{bus-g17byzt8.js → location-service-map-m9kwhf9v.js} +3 -3
- package/dist/chunks/{bus-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-yfctmqzq.js → location-service-map-maxk6ewv.js} +24 -24
- package/dist/chunks/{bus-1fcqmh0f.js → location-service-map-mfpshbb4.js} +4 -4
- package/dist/chunks/{bus-q63c569t.js → location-service-map-mnnc3g6z.js} +22 -22
- package/dist/chunks/{bus-rdber3y1.js → location-service-map-mx8dahtm.js} +30 -30
- package/dist/chunks/{bus-zge5mp1t.js → location-service-map-n5x1cq8y.js} +24 -24
- package/dist/chunks/{bus-4z8sycdz.js → location-service-map-n88049k6.js} +25 -25
- package/dist/chunks/{bus-y5hsvsvt.js → location-service-map-nat6pp2g.js} +11 -11
- package/dist/chunks/{bus-gsqzrz8w.js → location-service-map-nfznd11q.js} +26 -26
- package/dist/chunks/{bus-m9retq26.js → location-service-map-ng13dac4.js} +5 -5
- package/dist/chunks/{bus-dckjds39.js → location-service-map-ngwhnfk9.js} +28 -28
- package/dist/chunks/{bus-yck8tg9e.js → location-service-map-nnm6kbep.js} +12 -12
- package/dist/chunks/{bus-85f8ybn1.js → location-service-map-nq9ea4j8.js} +37 -37
- package/dist/chunks/{bus-c20khjev.js → location-service-map-nrdmrqsx.js} +21 -21
- package/dist/chunks/{bus-zke0g2sf.js → location-service-map-nzv90650.js} +11 -11
- package/dist/chunks/{bus-hqcv0nt6.js → location-service-map-p5m7y213.js} +75 -75
- package/dist/chunks/{bus-w3jg838k.js → location-service-map-patgj9rf.js} +9 -9
- package/dist/chunks/{bus-gd1azcth.js → location-service-map-pdv99r2c.js} +4 -4
- package/dist/chunks/{bus-2w9zm6x6.js → location-service-map-pj7gwawn.js} +7 -7
- package/dist/chunks/{bus-mg4hhe4f.js → location-service-map-pjb77rqj.js} +20 -20
- package/dist/chunks/{bus-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
- package/dist/chunks/{bus-pknna89w.js → location-service-map-pknna89w.js} +1 -1
- package/dist/chunks/{bus-5k6y69wn.js → location-service-map-pnsfzjaq.js} +13 -13
- package/dist/chunks/{bus-8wr5kw0m.js → location-service-map-pr5dj105.js} +22 -22
- package/dist/chunks/{bus-fw687wex.js → location-service-map-pw5txj2g.js} +10 -10
- package/dist/chunks/location-service-map-pwz0j98n.js +26 -0
- package/dist/chunks/{bus-w2mrnr68.js → location-service-map-py0crcbs.js} +4 -4
- package/dist/chunks/{bus-21qwd7zh.js → location-service-map-pygdbkqd.js} +7 -7
- package/dist/chunks/{bus-0j77ygfz.js → location-service-map-q0xm7vwc.js} +6 -6
- package/dist/chunks/{bus-gd0tnyjc.js → location-service-map-q5e7cmwt.js} +1 -1
- package/dist/chunks/{bus-78zj2w3x.js → location-service-map-q775cfcp.js} +23 -23
- package/dist/chunks/{bus-1hzxxycf.js → location-service-map-qacyxcy1.js} +5 -5
- package/dist/chunks/{bus-vatq0zec.js → location-service-map-qbgaprsj.js} +3 -3
- package/dist/chunks/{bus-t450s2gd.js → location-service-map-qhyp6tf8.js} +7 -7
- package/dist/chunks/{bus-a2ew8a62.js → location-service-map-qm0v3jhh.js} +7 -7
- package/dist/chunks/{bus-qnc92qwc.js → location-service-map-qnc92qwc.js} +1 -1
- package/dist/chunks/{bus-jvbg9edc.js → location-service-map-qq9x5xwx.js} +16 -16
- package/dist/chunks/{bus-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
- package/dist/chunks/{bus-qxjc9qry.js → location-service-map-qxjc9qry.js} +3 -3
- package/dist/chunks/{bus-apdsa737.js → location-service-map-qy08r2e9.js} +60 -60
- package/dist/chunks/{bus-mhkvc446.js → location-service-map-r5x6zcsm.js} +3 -3
- package/dist/chunks/{bus-g21r4nge.js → location-service-map-r79jpe1g.js} +13 -13
- package/dist/chunks/location-service-map-rawh7ba9.js +507 -0
- package/dist/chunks/{bus-rdw6cm16.js → location-service-map-rdw6cm16.js} +1 -1
- package/dist/chunks/{bus-wm4vkbe2.js → location-service-map-rnxaexrj.js} +3 -3
- package/dist/chunks/{bus-9pa8tak9.js → location-service-map-rqa1jxse.js} +2 -2
- package/dist/chunks/{bus-chc0kx6d.js → location-service-map-rqd6cqfw.js} +5 -5
- package/dist/chunks/{bus-q6d53jre.js → location-service-map-rtathh62.js} +8 -8
- package/dist/chunks/{bus-t14r6jk1.js → location-service-map-rtbawy8j.js} +3 -3
- package/dist/chunks/{bus-h79qd4dv.js → location-service-map-rttzrg3r.js} +5 -5
- package/dist/chunks/{bus-x8ba1gzy.js → location-service-map-s1nm8bs6.js} +11 -11
- package/dist/chunks/{bus-dg9e8shs.js → location-service-map-savh6m7q.js} +50 -50
- package/dist/chunks/{bus-pdpp1bnv.js → location-service-map-sb31txgw.js} +13 -13
- package/dist/chunks/{bus-en9mxp96.js → location-service-map-srq8z0b0.js} +9 -9
- package/dist/chunks/{bus-50mfpd21.js → location-service-map-ss8j4n3s.js} +28 -28
- package/dist/chunks/{bus-fj9gb212.js → location-service-map-sw9xx0b5.js} +10 -10
- package/dist/chunks/{bus-sgn9eezn.js → location-service-map-sww13f9d.js} +6 -6
- package/dist/chunks/{bus-sxzvkvgj.js → location-service-map-sxzvkvgj.js} +1 -1
- package/dist/chunks/{bus-2ac6q9fr.js → location-service-map-syzaabgy.js} +23 -23
- package/dist/chunks/{bus-wg96wy5v.js → location-service-map-t6r754qz.js} +2 -2
- package/dist/chunks/{bus-gn2reamh.js → location-service-map-t8mcpqdf.js} +10 -10
- package/dist/chunks/{bus-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
- package/dist/chunks/{bus-tcezcvh9.js → location-service-map-tcezcvh9.js} +1 -1
- package/dist/chunks/{bus-tdstcens.js → location-service-map-tdstcens.js} +1 -1
- package/dist/chunks/{bus-5ktns266.js → location-service-map-tmhy7k15.js} +14 -14
- package/dist/chunks/{bus-wqgzkz37.js → location-service-map-twwzjqdf.js} +9 -9
- package/dist/chunks/{bus-ptfmnse7.js → location-service-map-tykvc6z5.js} +11 -11
- package/dist/chunks/{bus-r8afh34n.js → location-service-map-tyy2z68n.js} +41 -41
- package/dist/chunks/{bus-fzk3mefm.js → location-service-map-v34c5xhw.js} +10 -10
- package/dist/chunks/{bus-3trzjgwr.js → location-service-map-v4my49bs.js} +28 -28
- package/dist/chunks/{bus-6694p3b8.js → location-service-map-v802ev33.js} +22 -22
- package/dist/chunks/{bus-vfqq47st.js → location-service-map-v8wjdh0k.js} +11 -11
- package/dist/chunks/{bus-knxpcbk1.js → location-service-map-v9vdgxc9.js} +13 -13
- package/dist/chunks/{bus-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
- package/dist/chunks/{bus-5ywnpb1q.js → location-service-map-vq4sfnvy.js} +46 -46
- package/dist/chunks/{bus-0ffzpc2q.js → location-service-map-vqwa452p.js} +4 -4
- package/dist/chunks/{bus-vzs5sf6e.js → location-service-map-vzs5sf6e.js} +1 -1
- package/dist/chunks/{bus-b1g5rpv7.js → location-service-map-w02p7c3m.js} +10 -10
- package/dist/chunks/{bus-84txncab.js → location-service-map-w1eejvng.js} +5 -5
- package/dist/chunks/{bus-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-0v822vvc.js → location-service-map-wbm8szc8.js} +3 -3
- package/dist/chunks/{bus-wd87259q.js → location-service-map-wd87259q.js} +1 -1
- package/dist/chunks/{bus-8zxmwjep.js → location-service-map-wep7xf8r.js} +5 -5
- package/dist/chunks/{bus-2f3b10ch.js → location-service-map-wqc8tc6t.js} +49 -49
- package/dist/chunks/{bus-g5nhetnh.js → location-service-map-wtscf74w.js} +8 -8
- package/dist/chunks/{bus-t550f9t1.js → location-service-map-wv396vej.js} +8 -8
- package/dist/chunks/{bus-vvk5zfmw.js → location-service-map-wwdw0p70.js} +16 -16
- package/dist/chunks/{bus-e0kgmy75.js → location-service-map-wyxhp63x.js} +14 -14
- package/dist/chunks/{bus-jkt162fx.js → location-service-map-x1t5xdb7.js} +29 -29
- package/dist/chunks/{bus-vfjhn2wd.js → location-service-map-x3gqap9d.js} +4 -4
- package/dist/chunks/{bus-9s0ng0ae.js → location-service-map-xf9995wn.js} +4 -4
- package/dist/chunks/{bus-xkntkrq7.js → location-service-map-xkntkrq7.js} +2 -2
- package/dist/chunks/{bus-ftfsszrc.js → location-service-map-xnshncyy.js} +36 -36
- package/dist/chunks/{bus-f1k90085.js → location-service-map-xpsknwne.js} +25 -25
- package/dist/chunks/{bus-n8849sdr.js → location-service-map-xr043pp4.js} +20 -20
- package/dist/chunks/{bus-hewsjq8z.js → location-service-map-xtrj88ht.js} +25 -25
- package/dist/chunks/{bus-8xp7mz7t.js → location-service-map-xwr6kkpa.js} +30 -30
- package/dist/chunks/{bus-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
- package/dist/chunks/{bus-n3q78mhp.js → location-service-map-yahs3v6f.js} +6 -6
- package/dist/chunks/{bus-y64r4fk7.js → location-service-map-yc20c6b8.js} +18 -18
- package/dist/chunks/location-service-map-ygfddkhq.js +253 -0
- package/dist/chunks/{bus-41cwz3p6.js → location-service-map-ym7wte4t.js} +19 -19
- package/dist/chunks/{bus-rdk08ed1.js → location-service-map-ytwhma2w.js} +27 -27
- package/dist/chunks/{bus-3pm9060n.js → location-service-map-yzyc98yn.js} +6 -6
- package/dist/chunks/{bus-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
- package/dist/chunks/{bus-1v3x8h5m.js → location-service-map-z2wj5dew.js} +13 -13
- package/dist/chunks/{bus-bmssw0wc.js → location-service-map-z5wd7jf4.js} +11 -11
- package/dist/chunks/{bus-sya89326.js → location-service-map-z6nsm8af.js} +47 -47
- package/dist/chunks/{bus-4c536per.js → location-service-map-z7kvc2g4.js} +32 -32
- package/dist/chunks/{bus-t5ka509r.js → location-service-map-z990n4az.js} +13 -13
- package/dist/chunks/{bus-tn2fka87.js → location-service-map-zbwehrfx.js} +42 -42
- package/dist/chunks/{bus-v0hecgst.js → location-service-map-zgct5ygq.js} +9 -9
- package/dist/chunks/{bus-5187rmdv.js → location-service-map-zr19srz6.js} +6 -6
- package/dist/chunks/{bus-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
- package/dist/chunks/{bus-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
- package/dist/chunks/{bus-n90gr1mm.js → location-service-map-zzeyhfg4.js} +3 -3
- 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 +358 -358
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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 +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +107 -107
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- 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 +100 -100
- 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 +1 -1
- package/dist/instance.js +351 -351
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +88 -88
- package/dist/instructions/index.js +5 -5
- 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 +70 -70
- 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 +84 -84
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +110 -110
- package/dist/mcp/instructions.js +130 -130
- 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 +100 -100
- package/dist/model-resolver.js +99 -99
- package/dist/model.js +103 -103
- package/dist/models-dev.js +108 -108
- 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 +118 -118
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- 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 +2 -2
- 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 +94 -94
- 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 +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 +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 +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +102 -102
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +90 -90
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +98 -98
- package/dist/rpc.js +87 -87
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- 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 +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- 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 +3 -3
- 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 +165 -165
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +106 -106
- 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 +3 -3
- package/dist/session/title.js +158 -158
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +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 +94 -94
- 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 +127 -127
- 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 +121 -121
- 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 +110 -110
- 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 +121 -121
- 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 +16 -16
- 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 +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +93 -93
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +94 -94
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +90 -90
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +77 -77
- package/dist/wellknown.js +82 -82
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +81 -81
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +90 -90
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/bus-9zpzztxj.js +0 -507
- package/dist/chunks/bus-dxctn4km.js +0 -26
- package/dist/chunks/bus-efjadhkr.js +0 -253
- package/dist/chunks/bus-rap9a73h.js +0 -18
- /package/dist/chunks/{bus-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{bus-24dcb14g.js → location-service-map-24dcb14g.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-34c7v6d4.js → location-service-map-34c7v6d4.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3asan66x.js → location-service-map-3asan66x.js} +0 -0
- /package/dist/chunks/{bus-3t0ybcrp.js → location-service-map-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-3w5fmr99.js → location-service-map-3w5fmr99.js} +0 -0
- /package/dist/chunks/{bus-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{bus-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → location-service-map-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → location-service-map-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-6q2bdcd1.js → location-service-map-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → location-service-map-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-84wd9syh.js → location-service-map-84wd9syh.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-8wj87zfr.js → location-service-map-8wj87zfr.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
- /package/dist/chunks/{bus-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
- /package/dist/chunks/{bus-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
- /package/dist/chunks/{bus-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → location-service-map-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
- /package/dist/chunks/{bus-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
- /package/dist/chunks/{bus-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-fxgpk5d8.js → location-service-map-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{bus-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → location-service-map-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-gftt206x.js → location-service-map-gftt206x.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → location-service-map-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{bus-jjkms2e6.js → location-service-map-jjkms2e6.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qg3g05ea.js → location-service-map-qg3g05ea.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wc3fc9cn.js → location-service-map-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
- /package/dist/chunks/{bus-x61499pn.js → location-service-map-x61499pn.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8cydn3q.js → location-service-map-y8cydn3q.js} +0 -0
- /package/dist/chunks/{bus-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
- /package/dist/chunks/{bus-z5v4ffb3.js → location-service-map-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service79,
|
|
9
9
|
node83
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-rttzrg3r.js";
|
|
11
11
|
import {
|
|
12
12
|
Service77,
|
|
13
13
|
node81
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-service-map-110ahdj7.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-service-map-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID5,
|
|
27
|
+
Service: () => Service44,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node47,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID5 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service44 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service79;
|
|
51
51
|
const global = yield* Global.Service;
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID5.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service44.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node47 = makeLocationNode({
|
|
144
|
+
service: Service44,
|
|
145
145
|
layer,
|
|
146
146
|
deps: [FSUtil.node, node83, Global.node, node81]
|
|
147
147
|
});
|
|
148
|
-
var
|
|
148
|
+
var noopLayer3 = Layer.succeed(Service44, Service44.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service34, Service34.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error3({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID5, Error3, Service44, node47, noopLayer3, exports_snapshot2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service65,
|
|
4
|
+
node69
|
|
5
|
+
} from "./location-service-map-30s28g32.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID8,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -14,24 +14,24 @@ import {
|
|
|
14
14
|
timeouts2,
|
|
15
15
|
mergeOverlay2,
|
|
16
16
|
mergeHeaders2,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service62,
|
|
18
|
+
node66
|
|
19
|
+
} from "./location-service-map-de6djj4w.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service60,
|
|
22
|
+
node64
|
|
23
|
+
} from "./location-service-map-hnknrzez.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID7,
|
|
26
26
|
VariantID2,
|
|
27
27
|
Ref2,
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
Service61,
|
|
29
|
+
node65,
|
|
30
30
|
supportsText2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-service-map-3yccbcdd.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/model-resolver.ts
|
|
37
37
|
var exports_model_resolver = {};
|
|
@@ -40,15 +40,15 @@ __export(exports_model_resolver, {
|
|
|
40
40
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
41
41
|
ModelInitializationError: () => ModelInitializationError2,
|
|
42
42
|
ModelResolver: () => exports_model_resolver,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service59,
|
|
44
44
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
45
45
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
46
46
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
47
47
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
48
48
|
fromCatalogModel: () => fromCatalogModel2,
|
|
49
49
|
hasPackage: () => hasPackage2,
|
|
50
|
-
layer: () =>
|
|
51
|
-
node: () =>
|
|
50
|
+
layer: () => layer23,
|
|
51
|
+
node: () => node63,
|
|
52
52
|
resolveModel: () => resolveModel2,
|
|
53
53
|
withVariant: () => withVariant2
|
|
54
54
|
});
|
|
@@ -58,8 +58,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
58
58
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
59
59
|
import { Npm } from "@opencode/util/npm";
|
|
60
60
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
61
|
-
providerID:
|
|
62
|
-
modelID:
|
|
61
|
+
providerID: ID8,
|
|
62
|
+
modelID: ID7,
|
|
63
63
|
variant: VariantID2
|
|
64
64
|
}) {
|
|
65
65
|
get message() {
|
|
@@ -68,8 +68,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
71
|
-
providerID:
|
|
72
|
-
modelID:
|
|
71
|
+
providerID: ID8,
|
|
72
|
+
modelID: ID7,
|
|
73
73
|
package: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
get message() {
|
|
@@ -79,8 +79,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
79
79
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
80
80
|
|
|
81
81
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
82
|
-
providerID:
|
|
83
|
-
modelID:
|
|
82
|
+
providerID: ID8,
|
|
83
|
+
modelID: ID7,
|
|
84
84
|
package: Schema.String,
|
|
85
85
|
detail: Schema.String
|
|
86
86
|
}) {
|
|
@@ -90,8 +90,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
93
|
-
providerID:
|
|
94
|
-
modelID:
|
|
93
|
+
providerID: ID8,
|
|
94
|
+
modelID: ID7,
|
|
95
95
|
package: Schema.String,
|
|
96
96
|
phase: InitializationPhase2,
|
|
97
97
|
detail: Schema.String
|
|
@@ -102,8 +102,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
105
|
-
providerID:
|
|
106
|
-
modelID:
|
|
105
|
+
providerID: ID8,
|
|
106
|
+
modelID: ID7,
|
|
107
107
|
variables: Schema.Array(Schema.String)
|
|
108
108
|
}) {
|
|
109
109
|
get message() {
|
|
@@ -112,8 +112,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
115
|
-
providerID:
|
|
116
|
-
modelID:
|
|
115
|
+
providerID: ID8,
|
|
116
|
+
modelID: ID7,
|
|
117
117
|
route: Schema.String
|
|
118
118
|
}) {
|
|
119
119
|
get message() {
|
|
@@ -121,7 +121,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
class
|
|
124
|
+
class Service59 extends Context.Service()("@opencode/ModelResolver") {
|
|
125
125
|
}
|
|
126
126
|
var withVariant2 = (model, variantID) => {
|
|
127
127
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -235,7 +235,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
|
|
|
235
235
|
return tokenSettings(specifier, credential.access);
|
|
236
236
|
if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
|
|
237
237
|
return { auth: "sigv4" };
|
|
238
|
-
if (model.providerID ===
|
|
238
|
+
if (model.providerID === ID8.azure)
|
|
239
239
|
return tokenSettings(specifier, "azure-cli");
|
|
240
240
|
return {};
|
|
241
241
|
};
|
|
@@ -270,15 +270,15 @@ var causeMessage = (cause) => {
|
|
|
270
270
|
};
|
|
271
271
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
272
272
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
273
|
-
var
|
|
274
|
-
const providers = yield*
|
|
275
|
-
const models = yield*
|
|
276
|
-
const integrations = yield*
|
|
273
|
+
var layer23 = Layer.effect(Service59, Effect.gen(function* () {
|
|
274
|
+
const providers = yield* Service62;
|
|
275
|
+
const models = yield* Service61;
|
|
276
|
+
const integrations = yield* Service65;
|
|
277
277
|
const npm = yield* Npm.Service;
|
|
278
|
-
const aisdk = yield*
|
|
278
|
+
const aisdk = yield* Service60;
|
|
279
279
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
280
280
|
const provider = yield* providers.get(selected.providerID);
|
|
281
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
281
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID9.make(selected.providerID));
|
|
282
282
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
283
283
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
284
284
|
const runtimeInfo = {
|
|
@@ -305,7 +305,7 @@ var layer17 = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
305
305
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
306
306
|
};
|
|
307
307
|
});
|
|
308
|
-
return
|
|
308
|
+
return Service59.of({
|
|
309
309
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
310
310
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
311
311
|
if (!selected)
|
|
@@ -322,10 +322,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
322
322
|
const name = packageName2(packageName);
|
|
323
323
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
324
324
|
}
|
|
325
|
-
var
|
|
326
|
-
service:
|
|
327
|
-
layer:
|
|
328
|
-
deps: [
|
|
325
|
+
var node63 = makeLocationNode({
|
|
326
|
+
service: Service59,
|
|
327
|
+
layer: layer23,
|
|
328
|
+
deps: [node66, node65, node69, Npm.node, node64]
|
|
329
329
|
});
|
|
330
330
|
|
|
331
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
331
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service59, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer23, node63, exports_model_resolver };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info23,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Predicate, Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info23 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -66,4 +66,4 @@ function upgradeLegacyMedia(input) {
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Info23, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service77
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-110ahdj7.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service48
|
|
9
|
+
} from "./location-service-map-tyy2z68n.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service25
|
|
12
|
+
} from "./location-service-map-wwdw0p70.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin30
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin30 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
33
|
+
const config = yield* Service48;
|
|
34
34
|
const location = yield* Service77;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service25;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin17 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin30, exports_worktree };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service77
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-110ahdj7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service48
|
|
6
|
+
} from "./location-service-map-tyy2z68n.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service16
|
|
9
|
+
} from "./location-service-map-nat6pp2g.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
make5
|
|
12
|
+
} from "./location-service-map-r5x6zcsm.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/formatter.ts
|
|
21
21
|
var exports_formatter = {};
|
|
22
22
|
__export(exports_formatter, {
|
|
23
23
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin16
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -29,11 +29,11 @@ import { Global } from "@opencode/util/global";
|
|
|
29
29
|
import { Npm } from "@opencode/util/npm";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
31
|
import { Effect } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin16 = define({
|
|
33
33
|
id: "opencode.config.formatter",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const config = yield*
|
|
36
|
-
const formatter = yield*
|
|
35
|
+
const config = yield* Service48;
|
|
36
|
+
const formatter = yield* Service16;
|
|
37
37
|
const fs = yield* FSUtil.Service;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
39
|
const location = yield* Service77;
|
|
@@ -44,7 +44,7 @@ var Plugin15 = define({
|
|
|
44
44
|
const configured = resolve(loaded.entries);
|
|
45
45
|
if (!configured)
|
|
46
46
|
return;
|
|
47
|
-
const builtIns =
|
|
47
|
+
const builtIns = make5({
|
|
48
48
|
directory: location.directory,
|
|
49
49
|
worktree: location.project.directory,
|
|
50
50
|
fs,
|
|
@@ -85,4 +85,4 @@ function resolve(entries) {
|
|
|
85
85
|
}, undefined);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Plugin16, exports_formatter };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-service-map-wv396vej.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-service-map-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-9e5bzkjp.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|