@opencode/core 0.0.0-dev-21745 → 0.0.0-dev-21747
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +5 -5
- package/dist/bus.js +75 -75
- package/dist/chunks/{snapshot-kfbj1vfn.js → location-service-map-003kegp2.js} +10 -10
- package/dist/chunks/{snapshot-qrnt2mf5.js → location-service-map-013vhq9d.js} +41 -41
- package/dist/chunks/{snapshot-034tev2y.js → location-service-map-034tev2y.js} +2 -2
- package/dist/chunks/location-service-map-03p9d38e.js +257 -0
- package/dist/chunks/{snapshot-bzhcfbtm.js → location-service-map-0b9rhbpe.js} +33 -33
- package/dist/chunks/{snapshot-8vvxxr3d.js → location-service-map-0bhrze2p.js} +23 -23
- package/dist/chunks/{snapshot-t4jqr6z5.js → location-service-map-0pnxwcyc.js} +10 -10
- package/dist/chunks/{snapshot-bcey06z6.js → location-service-map-0r6mtjdh.js} +30 -30
- package/dist/chunks/{snapshot-tasvem1v.js → location-service-map-0vx028ky.js} +6 -6
- package/dist/chunks/{snapshot-6e1r9k58.js → location-service-map-0w2m92gv.js} +15 -15
- package/dist/chunks/{snapshot-f5pnm9ht.js → location-service-map-0z1tt7er.js} +5 -5
- package/dist/chunks/{snapshot-rh14b8v9.js → location-service-map-139nr8yw.js} +11 -11
- package/dist/chunks/{snapshot-b5g8zywb.js → location-service-map-15x7rp3m.js} +5 -5
- package/dist/chunks/{snapshot-pcc0bmtm.js → location-service-map-188drt2q.js} +29 -29
- package/dist/chunks/{snapshot-gkwb1x3r.js → location-service-map-1ak811wc.js} +38 -38
- package/dist/chunks/{snapshot-1ep2p91f.js → location-service-map-1ep2p91f.js} +2 -2
- package/dist/chunks/{snapshot-jy35taan.js → location-service-map-1px3a2xb.js} +21 -21
- package/dist/chunks/{snapshot-xqya8bhb.js → location-service-map-1sme1v1k.js} +21 -21
- package/dist/chunks/{snapshot-1x2knyw4.js → location-service-map-1x2knyw4.js} +1 -1
- package/dist/chunks/{snapshot-w2frxgzv.js → location-service-map-1x6pf1gv.js} +88 -88
- package/dist/chunks/location-service-map-1y25g81x.js +517 -0
- package/dist/chunks/{snapshot-zy2m570x.js → location-service-map-1yqqrz0x.js} +11 -11
- package/dist/chunks/{snapshot-rwppv50t.js → location-service-map-27jee16v.js} +24 -24
- package/dist/chunks/{snapshot-r1nmjmkp.js → location-service-map-2g2v5pv8.js} +11 -11
- package/dist/chunks/{snapshot-c0jtyzjh.js → location-service-map-2hp83xyv.js} +18 -18
- package/dist/chunks/{snapshot-x9s9q40r.js → location-service-map-2kagezbr.js} +33 -33
- package/dist/chunks/{snapshot-tqxvqvy9.js → location-service-map-2meyg87m.js} +20 -20
- package/dist/chunks/{snapshot-9xvj91tm.js → location-service-map-2svr78gq.js} +21 -21
- package/dist/chunks/{snapshot-2z1j29yd.js → location-service-map-2z1j29yd.js} +1 -1
- package/dist/chunks/{snapshot-c1ny7psb.js → location-service-map-355rvjhq.js} +13 -13
- package/dist/chunks/{snapshot-k8hjh5qf.js → location-service-map-388njdkr.js} +21 -21
- package/dist/chunks/{snapshot-3y5jkgnv.js → location-service-map-3f8v07ch.js} +11 -11
- package/dist/chunks/{snapshot-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
- package/dist/chunks/{snapshot-dz8hhvgv.js → location-service-map-3mgb105e.js} +9 -9
- package/dist/chunks/{snapshot-6hzzfs8d.js → location-service-map-3mjk875x.js} +20 -20
- package/dist/chunks/{snapshot-3nnrz6f6.js → location-service-map-3nnrz6f6.js} +1 -1
- package/dist/chunks/{snapshot-x453mv9b.js → location-service-map-3twxkf78.js} +36 -36
- package/dist/chunks/{snapshot-67pdg5mz.js → location-service-map-3xbacp9g.js} +2 -2
- package/dist/chunks/{snapshot-a8azxzn2.js → location-service-map-3zrv9gmq.js} +24 -24
- package/dist/chunks/{snapshot-6g24mm1y.js → location-service-map-40008bk8.js} +3 -3
- package/dist/chunks/{snapshot-ed24c9s1.js → location-service-map-44sw466x.js} +20 -20
- package/dist/chunks/{snapshot-fkdm3x4n.js → location-service-map-4c2w6q79.js} +15 -15
- package/dist/chunks/{snapshot-3qwxnent.js → location-service-map-4ed14fdp.js} +22 -22
- package/dist/chunks/{snapshot-pbdpbsbw.js → location-service-map-4etbn6tz.js} +3 -3
- package/dist/chunks/{snapshot-y3rgpzve.js → location-service-map-4fde41kk.js} +21 -21
- package/dist/chunks/{snapshot-znnhxh9a.js → location-service-map-4pxnxcp5.js} +12 -12
- package/dist/chunks/{snapshot-dhn570bz.js → location-service-map-4sp541mw.js} +2 -2
- package/dist/chunks/{snapshot-4v008n1t.js → location-service-map-4v008n1t.js} +1 -1
- package/dist/chunks/{snapshot-4xvmh7wp.js → location-service-map-4xvmh7wp.js} +3 -3
- package/dist/chunks/{snapshot-1g4xnxab.js → location-service-map-4xvztgkr.js} +9 -9
- package/dist/chunks/{snapshot-p1nmqc4v.js → location-service-map-50y1xsz1.js} +25 -25
- package/dist/chunks/{snapshot-xyjma05j.js → location-service-map-53x1cw92.js} +7 -7
- package/dist/chunks/{snapshot-pg6c20a0.js → location-service-map-582e04r8.js} +12 -12
- package/dist/chunks/{snapshot-96te9d4b.js → location-service-map-5e15319b.js} +5 -5
- package/dist/chunks/{snapshot-07c3528d.js → location-service-map-5em4e5nr.js} +39 -39
- package/dist/chunks/{snapshot-wfa3pkfz.js → location-service-map-5g505q1a.js} +27 -27
- package/dist/chunks/{snapshot-5m9w47nd.js → location-service-map-5m9w47nd.js} +1 -1
- package/dist/chunks/{snapshot-5nnwax6m.js → location-service-map-5nnwax6m.js} +2 -2
- package/dist/chunks/{snapshot-tjbpd8jx.js → location-service-map-5p1db6qh.js} +20 -20
- package/dist/chunks/{snapshot-58rbgd2h.js → location-service-map-5rffwtjg.js} +22 -22
- package/dist/chunks/{snapshot-pyka91yh.js → location-service-map-5vh4rcr3.js} +18 -18
- package/dist/chunks/{snapshot-a5qg0yvf.js → location-service-map-6281ma0y.js} +11 -11
- package/dist/chunks/{snapshot-6esdw8yj.js → location-service-map-6esdw8yj.js} +1 -1
- package/dist/chunks/{snapshot-stzta4q0.js → location-service-map-6ga3t03x.js} +13 -13
- package/dist/chunks/{snapshot-6pjqjmy2.js → location-service-map-6pjqjmy2.js} +1 -1
- package/dist/chunks/{snapshot-81sa6vvk.js → location-service-map-6xjs6dtv.js} +22 -22
- package/dist/chunks/{snapshot-n6v2b7cw.js → location-service-map-6y263vp8.js} +5 -5
- package/dist/chunks/{snapshot-2njjtkdw.js → location-service-map-6zr8wwz2.js} +43 -43
- package/dist/chunks/{snapshot-76cb1hcw.js → location-service-map-76cb1hcw.js} +1 -1
- package/dist/chunks/{snapshot-hx3mz2q2.js → location-service-map-7bg5w1mh.js} +8 -8
- package/dist/chunks/{snapshot-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
- package/dist/chunks/{snapshot-frncqm0b.js → location-service-map-7ddrbmq5.js} +25 -25
- package/dist/chunks/{snapshot-t0n1m2fz.js → location-service-map-7fts76r7.js} +77 -77
- package/dist/chunks/{snapshot-7w2ypzdf.js → location-service-map-7w2ypzdf.js} +1 -1
- package/dist/chunks/location-service-map-7yv5xa0k.js +18 -0
- package/dist/chunks/{snapshot-skwwrjz6.js → location-service-map-86yd8n6t.js} +52 -52
- package/dist/chunks/{snapshot-59t3c98x.js → location-service-map-89yw32r8.js} +6 -6
- package/dist/chunks/{snapshot-ks2yvdq8.js → location-service-map-8bbz0hfx.js} +19 -19
- package/dist/chunks/{snapshot-5crety7g.js → location-service-map-8bc2ahr8.js} +3 -3
- package/dist/chunks/{snapshot-j368hqxn.js → location-service-map-8bya8z2e.js} +43 -43
- package/dist/chunks/{snapshot-vpm8vpz0.js → location-service-map-8n9x2wf6.js} +3 -3
- package/dist/chunks/{snapshot-8wtp7s3z.js → location-service-map-8wtp7s3z.js} +1 -1
- package/dist/chunks/{snapshot-jj9caqwr.js → location-service-map-8ykqf5wm.js} +11 -11
- package/dist/chunks/{snapshot-p1qgn14a.js → location-service-map-8z0nn26j.js} +9 -9
- package/dist/chunks/{snapshot-4kk5y41y.js → location-service-map-90z9wy20.js} +38 -38
- package/dist/chunks/{snapshot-91rj84md.js → location-service-map-91rj84md.js} +1 -1
- package/dist/chunks/{snapshot-998yhzzq.js → location-service-map-998yhzzq.js} +3 -3
- package/dist/chunks/{snapshot-xh9mmxn9.js → location-service-map-9abkctgc.js} +4 -4
- package/dist/chunks/{snapshot-1vdntpm3.js → location-service-map-9b28cy4d.js} +5 -5
- package/dist/chunks/{snapshot-7m8hecea.js → location-service-map-9ec60z8p.js} +18 -18
- package/dist/chunks/{snapshot-0v17xkyr.js → location-service-map-9ef8rrka.js} +8 -8
- package/dist/chunks/{snapshot-tvw5eq5w.js → location-service-map-9sz3mafc.js} +4 -4
- package/dist/chunks/{snapshot-ew333j68.js → location-service-map-9zskf68x.js} +35 -35
- package/dist/chunks/{snapshot-4v48c47j.js → location-service-map-a2x4jk9y.js} +14 -14
- package/dist/chunks/{snapshot-rfwvsy21.js → location-service-map-a3en8ngd.js} +3 -3
- package/dist/chunks/{snapshot-7yect7x1.js → location-service-map-a5g15581.js} +2 -2
- package/dist/chunks/{snapshot-k8repwgk.js → location-service-map-a7n5phyp.js} +32 -32
- package/dist/chunks/{snapshot-8f85gbek.js → location-service-map-aecf60s0.js} +13 -13
- package/dist/chunks/{snapshot-nca90r8m.js → location-service-map-aedgfdwr.js} +17 -17
- package/dist/chunks/{snapshot-9ekt8wk3.js → location-service-map-afmr3pea.js} +4 -4
- package/dist/chunks/{snapshot-4t0h3ecc.js → location-service-map-ahke7ec0.js} +20 -20
- package/dist/chunks/{snapshot-9jfbssnq.js → location-service-map-asregxpd.js} +13 -13
- package/dist/chunks/{snapshot-jxffhsbt.js → location-service-map-aw84gg2e.js} +20 -20
- package/dist/chunks/{snapshot-ayjs7tqn.js → location-service-map-ayjs7tqn.js} +2 -2
- package/dist/chunks/{snapshot-d2121cgz.js → location-service-map-b0bkrffq.js} +15 -15
- package/dist/chunks/{snapshot-b0mv4wxm.js → location-service-map-b0mv4wxm.js} +2 -2
- package/dist/chunks/{snapshot-pbnk69jw.js → location-service-map-bd45fzh3.js} +11 -11
- package/dist/chunks/{snapshot-r83r493t.js → location-service-map-bemj2y7b.js} +36 -36
- package/dist/chunks/{snapshot-p180b23n.js → location-service-map-bhsvbham.js} +18 -18
- package/dist/chunks/{snapshot-bjhzkqyk.js → location-service-map-bjhzkqyk.js} +1 -1
- package/dist/chunks/{snapshot-bstexjd6.js → location-service-map-bstexjd6.js} +1 -1
- package/dist/chunks/{snapshot-rvyv8nvn.js → location-service-map-ctz1338s.js} +44 -44
- package/dist/chunks/{snapshot-9bqzx224.js → location-service-map-d00ejkj2.js} +28 -28
- package/dist/chunks/{snapshot-gxket47c.js → location-service-map-d00p4xa9.js} +15 -15
- package/dist/chunks/{snapshot-d2887f8n.js → location-service-map-d2887f8n.js} +1 -1
- package/dist/chunks/{snapshot-d4v9tmah.js → location-service-map-d4v9tmah.js} +2 -2
- package/dist/chunks/{snapshot-w71sye8r.js → location-service-map-d9x798yd.js} +6 -6
- package/dist/chunks/{snapshot-z0h4wvmy.js → location-service-map-dh7axqeh.js} +11 -11
- package/dist/chunks/{snapshot-0p88zpcm.js → location-service-map-dk5xnaxx.js} +4 -4
- package/dist/chunks/{snapshot-c63yzxyg.js → location-service-map-dkdbv7e2.js} +11 -11
- package/dist/chunks/{snapshot-r6wgv8c9.js → location-service-map-dkq45v8d.js} +2 -2
- package/dist/chunks/{snapshot-p0z6e7n7.js → location-service-map-dqmnshvt.js} +12 -12
- package/dist/chunks/{snapshot-62w55z8x.js → location-service-map-drtqd3vk.js} +8 -8
- package/dist/chunks/{snapshot-yc89j42n.js → location-service-map-dsd5z2sr.js} +21 -21
- package/dist/chunks/{snapshot-5qd3pb7m.js → location-service-map-e3qxr5gk.js} +2 -2
- package/dist/chunks/{snapshot-5x10bg3a.js → location-service-map-e3ym3z1q.js} +22 -22
- package/dist/chunks/{snapshot-teer94dd.js → location-service-map-e4fwp3bx.js} +11 -11
- package/dist/chunks/{snapshot-erw1a2px.js → location-service-map-e63tw6zr.js} +11 -11
- package/dist/chunks/{snapshot-cbdaszja.js → location-service-map-e6b8fvx8.js} +25 -25
- package/dist/chunks/{snapshot-e834z07m.js → location-service-map-e834z07m.js} +1 -1
- package/dist/chunks/{snapshot-brpe5pm9.js → location-service-map-eayp7z6c.js} +3 -3
- package/dist/chunks/{snapshot-ef5x83kb.js → location-service-map-ef5x83kb.js} +1 -1
- package/dist/chunks/{snapshot-rsgnsn16.js → location-service-map-ejmz6kkm.js} +25 -25
- package/dist/chunks/{snapshot-zpn8gsta.js → location-service-map-etsym5j7.js} +27 -27
- package/dist/chunks/{snapshot-jaqz1j5c.js → location-service-map-f0k0jrg1.js} +17 -17
- package/dist/chunks/{snapshot-r3t0nk92.js → location-service-map-f6a8s9j6.js} +11 -11
- package/dist/chunks/{snapshot-fffv3p7h.js → location-service-map-fffv3p7h.js} +1 -1
- package/dist/chunks/{snapshot-5kbev7nh.js → location-service-map-ffxnyj3q.js} +6 -6
- package/dist/chunks/{snapshot-4xz63ymp.js → location-service-map-fgn5d73r.js} +32 -32
- package/dist/chunks/{snapshot-gxrd13cp.js → location-service-map-fvvfx1zv.js} +170 -170
- package/dist/chunks/{snapshot-xfzdx1cq.js → location-service-map-fytkpx2m.js} +1 -1
- package/dist/chunks/{snapshot-z1v7eazc.js → location-service-map-g3j8z5p4.js} +29 -29
- package/dist/chunks/{snapshot-7633k18y.js → location-service-map-g3s8w1rf.js} +3 -3
- package/dist/chunks/{snapshot-1nqgcrc1.js → location-service-map-g431yjwv.js} +46 -46
- package/dist/chunks/{snapshot-g5h9c0rr.js → location-service-map-g5h9c0rr.js} +2 -2
- package/dist/chunks/{snapshot-y3g4yaer.js → location-service-map-g6wjc1x4.js} +21 -21
- package/dist/chunks/{snapshot-75dns9y2.js → location-service-map-gah3njre.js} +16 -16
- package/dist/chunks/{snapshot-fk87wxfh.js → location-service-map-gvcwdp68.js} +17 -17
- package/dist/chunks/{snapshot-0pchwhq8.js → location-service-map-gw690m90.js} +8 -8
- package/dist/chunks/{snapshot-ky596kc3.js → location-service-map-h0rg6s60.js} +4 -4
- package/dist/chunks/{snapshot-8xa1336w.js → location-service-map-h8vvdn21.js} +74 -74
- package/dist/chunks/{snapshot-ps2yext1.js → location-service-map-hmc8wnkn.js} +8 -8
- package/dist/chunks/{snapshot-zedte0ep.js → location-service-map-hpyhs3fr.js} +11 -11
- package/dist/chunks/{snapshot-0k1j1wdr.js → location-service-map-hw8460a0.js} +11 -11
- package/dist/chunks/{snapshot-j113cymg.js → location-service-map-j113cymg.js} +1 -1
- package/dist/chunks/{snapshot-p9pds4nr.js → location-service-map-j13zswh9.js} +3 -3
- package/dist/chunks/{snapshot-5bn25yvx.js → location-service-map-j43965rx.js} +9 -9
- package/dist/chunks/{snapshot-qz087kyw.js → location-service-map-j49x6kf4.js} +8 -8
- package/dist/chunks/{snapshot-s4gp6xhn.js → location-service-map-j71y8rmy.js} +21 -21
- package/dist/chunks/{snapshot-e5dqjz6v.js → location-service-map-jchrqzf6.js} +4 -4
- package/dist/chunks/{snapshot-gxj7r0cm.js → location-service-map-jq5wkjk8.js} +4 -4
- package/dist/chunks/{snapshot-v2k3kh21.js → location-service-map-jypar2fs.js} +11 -11
- package/dist/chunks/{snapshot-k814nvkf.js → location-service-map-k814nvkf.js} +1 -1
- package/dist/chunks/{snapshot-9ydy8fkm.js → location-service-map-kb5qgkwh.js} +10 -10
- package/dist/chunks/{snapshot-nb2pkzvt.js → location-service-map-kjedcq3q.js} +9 -9
- package/dist/chunks/{snapshot-qhacjaam.js → location-service-map-kvh9ftvy.js} +4 -4
- package/dist/chunks/{snapshot-veg4raah.js → location-service-map-kz6h04bd.js} +50 -50
- package/dist/chunks/{snapshot-m1714858.js → location-service-map-m1714858.js} +1 -1
- package/dist/chunks/{snapshot-vmfhgzt5.js → location-service-map-m37sd98t.js} +4 -4
- package/dist/chunks/{snapshot-5tnc4nbn.js → location-service-map-m428dt5q.js} +16 -16
- package/dist/chunks/{snapshot-k4a9rn7k.js → location-service-map-m4n0g2r5.js} +30 -30
- package/dist/chunks/{snapshot-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
- package/dist/chunks/{snapshot-maspj1v3.js → location-service-map-maspj1v3.js} +1 -1
- package/dist/chunks/{snapshot-mbvkkv9q.js → location-service-map-mrtxr4cp.js} +4 -4
- package/dist/chunks/{snapshot-k5q8ak4g.js → location-service-map-mx438yzb.js} +15 -15
- package/dist/chunks/{snapshot-6vh6abp7.js → location-service-map-mzrvsmc2.js} +4 -4
- package/dist/chunks/{snapshot-8xmxx3r8.js → location-service-map-n0fgk9jt.js} +21 -21
- package/dist/chunks/{snapshot-n0p0277s.js → location-service-map-n0p0277s.js} +1 -1
- package/dist/chunks/{snapshot-fagjz3hv.js → location-service-map-n4vfsstt.js} +7 -7
- package/dist/chunks/{snapshot-9pjcyyyz.js → location-service-map-n5ec28k5.js} +38 -38
- package/dist/chunks/{snapshot-hvbtf1fc.js → location-service-map-na462m5h.js} +20 -20
- package/dist/chunks/{snapshot-nah043kf.js → location-service-map-nah043kf.js} +1 -1
- package/dist/chunks/{snapshot-jevs3q22.js → location-service-map-nb5axcyq.js} +8 -8
- package/dist/chunks/{snapshot-41peksc2.js → location-service-map-nch9as0x.js} +12 -12
- package/dist/chunks/{snapshot-99e1pwyw.js → location-service-map-nj07n8jc.js} +54 -54
- package/dist/chunks/{snapshot-tej0rhj5.js → location-service-map-nr8jt6t8.js} +20 -20
- package/dist/chunks/{snapshot-06efqm8m.js → location-service-map-nt999nhx.js} +17 -17
- package/dist/chunks/{snapshot-vkc62rge.js → location-service-map-nzm9dq78.js} +18 -18
- package/dist/chunks/{snapshot-p015t6z3.js → location-service-map-p015t6z3.js} +2 -2
- package/dist/chunks/{snapshot-dak4ewys.js → location-service-map-p0cbjzex.js} +33 -33
- package/dist/chunks/{snapshot-an558sqv.js → location-service-map-p0tsr9h6.js} +4 -4
- package/dist/chunks/{snapshot-qgt613xz.js → location-service-map-p2426226.js} +3 -3
- package/dist/chunks/{snapshot-fp2kss3x.js → location-service-map-p9jvgf3w.js} +6 -6
- package/dist/chunks/{snapshot-pknna89w.js → location-service-map-pknna89w.js} +1 -1
- package/dist/chunks/{snapshot-d4txh1kp.js → location-service-map-pmy4yzzf.js} +28 -28
- package/dist/chunks/{snapshot-kv3e8w2a.js → location-service-map-ppr22hv7.js} +4 -4
- package/dist/chunks/{snapshot-n95zghxh.js → location-service-map-q2yrdpfv.js} +5 -5
- package/dist/chunks/{snapshot-zv5q208p.js → location-service-map-q6s5gc9a.js} +3 -3
- package/dist/chunks/{snapshot-bjk9yhz6.js → location-service-map-q9s78g4e.js} +18 -18
- package/dist/chunks/{snapshot-22whgeeb.js → location-service-map-qbkx5tms.js} +14 -14
- package/dist/chunks/{snapshot-m8nqxsmt.js → location-service-map-qbmvg479.js} +20 -20
- package/dist/chunks/{snapshot-qjgzc4b4.js → location-service-map-qjgzc4b4.js} +1 -1
- package/dist/chunks/{snapshot-gs87y69e.js → location-service-map-qmthnpq9.js} +34 -34
- package/dist/chunks/{snapshot-kc3jq4k5.js → location-service-map-qmx84djp.js} +9 -9
- package/dist/chunks/{snapshot-0vn2ss9c.js → location-service-map-qrdfdxph.js} +5 -5
- package/dist/chunks/{snapshot-0kjrd2qd.js → location-service-map-qrscgvzd.js} +19 -19
- package/dist/chunks/{snapshot-r0yr0wbs.js → location-service-map-r0yr0wbs.js} +1 -1
- package/dist/chunks/{snapshot-j0mfwgby.js → location-service-map-r35n27g2.js} +21 -21
- package/dist/chunks/{snapshot-49waears.js → location-service-map-r4qf8hg2.js} +22 -22
- package/dist/chunks/{snapshot-ky5h0dy4.js → location-service-map-r8bgrvjg.js} +12 -12
- package/dist/chunks/{snapshot-146q7e0b.js → location-service-map-r8fhaa0s.js} +12 -12
- package/dist/chunks/{snapshot-hw621kav.js → location-service-map-ra6js1h8.js} +8 -8
- package/dist/chunks/{snapshot-rb9dy4dg.js → location-service-map-rb9dy4dg.js} +1 -1
- package/dist/chunks/{snapshot-30ee3db1.js → location-service-map-rhdbdzx3.js} +2 -2
- package/dist/chunks/{snapshot-xajebrz9.js → location-service-map-rr7wf6ce.js} +40 -40
- package/dist/chunks/{snapshot-rt5dr6hb.js → location-service-map-rt5dr6hb.js} +1 -1
- package/dist/chunks/{snapshot-wqscedq8.js → location-service-map-s7kyse9r.js} +9 -9
- package/dist/chunks/{snapshot-5js31cy8.js → location-service-map-s9kc5ksh.js} +4 -4
- package/dist/chunks/{snapshot-791mgs72.js → location-service-map-sc9zg7jb.js} +12 -12
- package/dist/chunks/{snapshot-d69d80k0.js → location-service-map-sdmn02p2.js} +11 -11
- package/dist/chunks/{snapshot-6n1s1dfa.js → location-service-map-se2sj8va.js} +7 -7
- package/dist/chunks/{snapshot-n7bnkb3p.js → location-service-map-smfcvx02.js} +9 -9
- package/dist/chunks/{snapshot-fjdpkb6n.js → location-service-map-sq86wmmj.js} +15 -15
- package/dist/chunks/{snapshot-sqjzf8x2.js → location-service-map-sqjzf8x2.js} +1 -1
- package/dist/chunks/{snapshot-8ny5g7zq.js → location-service-map-t1ngx2fg.js} +19 -19
- package/dist/chunks/{snapshot-pyr79hg3.js → location-service-map-t1xvrdec.js} +12 -12
- package/dist/chunks/{snapshot-wrj7qkae.js → location-service-map-t72mevzp.js} +1 -1
- package/dist/chunks/{snapshot-z642n2d8.js → location-service-map-t8qws3g8.js} +12 -12
- package/dist/chunks/{snapshot-tczq8hjw.js → location-service-map-tczq8hjw.js} +1 -1
- package/dist/chunks/{snapshot-80pwfyqn.js → location-service-map-tdyhpgr0.js} +13 -13
- package/dist/chunks/{snapshot-nnbr5qt6.js → location-service-map-tn28sp3a.js} +11 -11
- package/dist/chunks/{snapshot-tw8zr1ps.js → location-service-map-tw8zr1ps.js} +1 -1
- package/dist/chunks/{snapshot-twv2r8f4.js → location-service-map-twv2r8f4.js} +2 -2
- package/dist/chunks/{snapshot-s7v4tzf9.js → location-service-map-tx2wf29d.js} +11 -11
- package/dist/chunks/{snapshot-jcvhz0ne.js → location-service-map-txs0e95y.js} +5 -5
- package/dist/chunks/{snapshot-hyg60882.js → location-service-map-v2eqhgdw.js} +25 -25
- package/dist/chunks/{snapshot-v2r1d0zg.js → location-service-map-v2r1d0zg.js} +1 -1
- package/dist/chunks/{snapshot-f4p1w2yj.js → location-service-map-v4sey8dh.js} +14 -14
- package/dist/chunks/{snapshot-5zrxpy3q.js → location-service-map-v9ez2kgh.js} +5 -5
- package/dist/chunks/{snapshot-vd3b3yk9.js → location-service-map-vd3b3yk9.js} +1 -1
- package/dist/chunks/{snapshot-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
- package/dist/chunks/{snapshot-q110d9ad.js → location-service-map-vgpm9ca5.js} +16 -16
- package/dist/chunks/{snapshot-sxs6dstq.js → location-service-map-vgw3dfza.js} +7 -7
- package/dist/chunks/{snapshot-c76bvptd.js → location-service-map-vmztxwx7.js} +20 -20
- package/dist/chunks/{snapshot-6tjk5bs4.js → location-service-map-vzb2t1dt.js} +6 -6
- package/dist/chunks/{snapshot-9g4cv0f3.js → location-service-map-w059c7vr.js} +5 -5
- package/dist/chunks/{snapshot-w2eysc6j.js → location-service-map-w2eysc6j.js} +2 -2
- package/dist/chunks/{snapshot-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
- package/dist/chunks/{snapshot-henamrq6.js → location-service-map-w8j8mkqh.js} +25 -25
- package/dist/chunks/{snapshot-ftzbw7kw.js → location-service-map-w9dsj9zn.js} +9 -9
- package/dist/chunks/{snapshot-f3zns29m.js → location-service-map-wa35tw6v.js} +13 -13
- package/dist/chunks/{snapshot-wakvkjy4.js → location-service-map-wakvkjy4.js} +1 -1
- package/dist/chunks/{snapshot-wd87259q.js → location-service-map-wd87259q.js} +1 -1
- package/dist/chunks/{snapshot-c3cfh5w6.js → location-service-map-wdmx20pv.js} +7 -7
- package/dist/chunks/{snapshot-zng1ess9.js → location-service-map-wk6xk37q.js} +12 -12
- package/dist/chunks/{snapshot-v67055n8.js → location-service-map-wksxchbw.js} +4 -4
- package/dist/chunks/{snapshot-6zxm3gf7.js → location-service-map-wm5nwgxs.js} +9 -9
- package/dist/chunks/{snapshot-fznmdakp.js → location-service-map-wr3re1en.js} +4 -4
- package/dist/chunks/{snapshot-n3q07mde.js → location-service-map-ww12ck0g.js} +18 -18
- package/dist/chunks/{snapshot-bkh5f3ma.js → location-service-map-x6qr1hyp.js} +4 -4
- package/dist/chunks/{snapshot-vzmjdaw1.js → location-service-map-xrpfz6f8.js} +9 -9
- package/dist/chunks/{snapshot-p2y5jf41.js → location-service-map-xzhqqqxc.js} +19 -19
- package/dist/chunks/{snapshot-damdxvc5.js → location-service-map-y2s0ta7g.js} +32 -32
- package/dist/chunks/{snapshot-rtza7ceg.js → location-service-map-y736c7qs.js} +17 -17
- package/dist/chunks/{snapshot-z6p19xhz.js → location-service-map-y81cv5eb.js} +17 -17
- package/dist/chunks/{snapshot-yb20nhc3.js → location-service-map-yb20nhc3.js} +1 -1
- package/dist/chunks/{snapshot-q6swskfy.js → location-service-map-yb48csac.js} +47 -47
- package/dist/chunks/{snapshot-qt0rakd9.js → location-service-map-yccdn1y1.js} +7 -7
- package/dist/chunks/{snapshot-hp1h3ap0.js → location-service-map-yexkrg4y.js} +8 -8
- package/dist/chunks/{snapshot-c547q8a8.js → location-service-map-yg0c2r26.js} +3 -3
- package/dist/chunks/{snapshot-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
- package/dist/chunks/{snapshot-zndjfy4q.js → location-service-map-z35z7ez2.js} +4 -4
- package/dist/chunks/{snapshot-z38nccrw.js → location-service-map-z38nccrw.js} +1 -1
- package/dist/chunks/{snapshot-epqefa0z.js → location-service-map-z9r2qbyv.js} +3 -3
- package/dist/chunks/{snapshot-dds9zz6p.js → location-service-map-zdat2xwq.js} +4 -4
- package/dist/chunks/{snapshot-r8f6rk3c.js → location-service-map-zg5bfpcj.js} +8 -8
- package/dist/chunks/{snapshot-1nhpz7zk.js → location-service-map-zhq0k9nq.js} +4 -4
- package/dist/chunks/{snapshot-zkg84ctx.js → location-service-map-zkg84ctx.js} +1 -1
- package/dist/chunks/{snapshot-pgbwge99.js → location-service-map-zknj5k26.js} +29 -29
- package/dist/chunks/{snapshot-h740tfnc.js → location-service-map-zpzb2he9.js} +8 -8
- package/dist/chunks/{snapshot-01ve1yxr.js → location-service-map-zqp8ase3.js} +27 -27
- package/dist/chunks/{snapshot-kk6qbz20.js → location-service-map-zwfqh4cf.js} +19 -19
- 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 +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +210 -210
- 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 +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +68 -68
- 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/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +92 -92
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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 +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +104 -104
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +107 -107
- 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 +101 -101
- 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 +361 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +159 -159
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +138 -138
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +96 -96
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai-context-caps.js +92 -92
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +4 -4
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- 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 +224 -224
- package/dist/session/execution.js +130 -130
- package/dist/session/generate.js +164 -164
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +93 -93
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +102 -102
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +95 -95
- 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 +139 -139
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +132 -132
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +104 -104
- 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/git-executable.js +2 -2
- 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 +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/snapshot-4a4jqpwz.js +0 -257
- package/dist/chunks/snapshot-a610t88q.js +0 -18
- package/dist/chunks/snapshot-cyy23x7w.js +0 -517
- /package/dist/chunks/{snapshot-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{snapshot-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
- /package/dist/chunks/{snapshot-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
- /package/dist/chunks/{snapshot-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
- /package/dist/chunks/{snapshot-24dcb14g.js → location-service-map-24dcb14g.js} +0 -0
- /package/dist/chunks/{snapshot-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
- /package/dist/chunks/{snapshot-2bv980vf.js → location-service-map-2bv980vf.js} +0 -0
- /package/dist/chunks/{snapshot-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{snapshot-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
- /package/dist/chunks/{snapshot-3asan66x.js → location-service-map-3asan66x.js} +0 -0
- /package/dist/chunks/{snapshot-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
- /package/dist/chunks/{snapshot-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
- /package/dist/chunks/{snapshot-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
- /package/dist/chunks/{snapshot-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
- /package/dist/chunks/{snapshot-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{snapshot-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
- /package/dist/chunks/{snapshot-53557ph1.js → location-service-map-53557ph1.js} +0 -0
- /package/dist/chunks/{snapshot-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
- /package/dist/chunks/{snapshot-5fjb7ams.js → location-service-map-5fjb7ams.js} +0 -0
- /package/dist/chunks/{snapshot-6prwharc.js → location-service-map-6prwharc.js} +0 -0
- /package/dist/chunks/{snapshot-6q2bdcd1.js → location-service-map-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{snapshot-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
- /package/dist/chunks/{snapshot-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
- /package/dist/chunks/{snapshot-822emrt2.js → location-service-map-822emrt2.js} +0 -0
- /package/dist/chunks/{snapshot-84wd9syh.js → location-service-map-84wd9syh.js} +0 -0
- /package/dist/chunks/{snapshot-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
- /package/dist/chunks/{snapshot-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
- /package/dist/chunks/{snapshot-8wj87zfr.js → location-service-map-8wj87zfr.js} +0 -0
- /package/dist/chunks/{snapshot-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
- /package/dist/chunks/{snapshot-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{snapshot-a058387c.js → location-service-map-a058387c.js} +0 -0
- /package/dist/chunks/{snapshot-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
- /package/dist/chunks/{snapshot-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
- /package/dist/chunks/{snapshot-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
- /package/dist/chunks/{snapshot-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{snapshot-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
- /package/dist/chunks/{snapshot-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{snapshot-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{snapshot-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
- /package/dist/chunks/{snapshot-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{snapshot-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
- /package/dist/chunks/{snapshot-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{snapshot-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
- /package/dist/chunks/{snapshot-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
- /package/dist/chunks/{snapshot-df08tz66.js → location-service-map-df08tz66.js} +0 -0
- /package/dist/chunks/{snapshot-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
- /package/dist/chunks/{snapshot-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
- /package/dist/chunks/{snapshot-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
- /package/dist/chunks/{snapshot-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
- /package/dist/chunks/{snapshot-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
- /package/dist/chunks/{snapshot-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
- /package/dist/chunks/{snapshot-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
- /package/dist/chunks/{snapshot-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{snapshot-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
- /package/dist/chunks/{snapshot-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
- /package/dist/chunks/{snapshot-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
- /package/dist/chunks/{snapshot-g86h250q.js → location-service-map-g86h250q.js} +0 -0
- /package/dist/chunks/{snapshot-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
- /package/dist/chunks/{snapshot-gftt206x.js → location-service-map-gftt206x.js} +0 -0
- /package/dist/chunks/{snapshot-hcxmzztb.js → location-service-map-hcxmzztb.js} +0 -0
- /package/dist/chunks/{snapshot-hk9envan.js → location-service-map-hk9envan.js} +0 -0
- /package/dist/chunks/{snapshot-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
- /package/dist/chunks/{snapshot-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{snapshot-jjkms2e6.js → location-service-map-jjkms2e6.js} +0 -0
- /package/dist/chunks/{snapshot-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{snapshot-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{snapshot-jze0r7bz.js → location-service-map-jze0r7bz.js} +0 -0
- /package/dist/chunks/{snapshot-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{snapshot-m18g726c.js → location-service-map-m18g726c.js} +0 -0
- /package/dist/chunks/{snapshot-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
- /package/dist/chunks/{snapshot-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
- /package/dist/chunks/{snapshot-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
- /package/dist/chunks/{snapshot-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
- /package/dist/chunks/{snapshot-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
- /package/dist/chunks/{snapshot-pkyv6v7h.js → location-service-map-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{snapshot-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
- /package/dist/chunks/{snapshot-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
- /package/dist/chunks/{snapshot-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
- /package/dist/chunks/{snapshot-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
- /package/dist/chunks/{snapshot-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
- /package/dist/chunks/{snapshot-qg3g05ea.js → location-service-map-qg3g05ea.js} +0 -0
- /package/dist/chunks/{snapshot-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
- /package/dist/chunks/{snapshot-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{snapshot-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{snapshot-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
- /package/dist/chunks/{snapshot-ve7vex1e.js → location-service-map-ve7vex1e.js} +0 -0
- /package/dist/chunks/{snapshot-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
- /package/dist/chunks/{snapshot-wc3fc9cn.js → location-service-map-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{snapshot-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
- /package/dist/chunks/{snapshot-wjj7prxr.js → location-service-map-wjj7prxr.js} +0 -0
- /package/dist/chunks/{snapshot-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
- /package/dist/chunks/{snapshot-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
- /package/dist/chunks/{snapshot-x61499pn.js → location-service-map-x61499pn.js} +0 -0
- /package/dist/chunks/{snapshot-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
- /package/dist/chunks/{snapshot-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
- /package/dist/chunks/{snapshot-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{snapshot-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
- /package/dist/chunks/{snapshot-z5v4ffb3.js → location-service-map-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{snapshot-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
|
@@ -1,79 +1,79 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-g3s8w1rf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service84
|
|
6
|
+
} from "./location-service-map-r8fhaa0s.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service43
|
|
9
|
+
} from "./location-service-map-p9jvgf3w.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-k814nvkf.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError8,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-service-map-ffxnyj3q.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-service-map-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service56
|
|
29
|
+
} from "./location-service-map-a2x4jk9y.js";
|
|
30
30
|
import {
|
|
31
31
|
SyntheticPayload2,
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
Service42
|
|
33
|
+
} from "./location-service-map-j71y8rmy.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
Service39
|
|
36
|
+
} from "./location-service-map-90z9wy20.js";
|
|
37
37
|
import {
|
|
38
38
|
prepare2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./location-service-map-gah3njre.js";
|
|
40
40
|
import {
|
|
41
41
|
stage2,
|
|
42
42
|
clear2,
|
|
43
43
|
commit2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./location-service-map-8bbz0hfx.js";
|
|
45
45
|
import {
|
|
46
46
|
start2
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./location-service-map-qmx84djp.js";
|
|
48
48
|
import {
|
|
49
49
|
get4
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./location-service-map-wm5nwgxs.js";
|
|
51
51
|
import {
|
|
52
52
|
__export
|
|
53
|
-
} from "./
|
|
53
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
54
54
|
|
|
55
55
|
// src/session/session.ts
|
|
56
56
|
var exports_session2 = {};
|
|
57
57
|
__export(exports_session2, {
|
|
58
58
|
Session: () => exports_session2,
|
|
59
|
-
make: () =>
|
|
59
|
+
make: () => make14
|
|
60
60
|
});
|
|
61
61
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
62
62
|
import { Event } from "@opencode/schema/event";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
|
-
var
|
|
65
|
-
const bus = yield*
|
|
64
|
+
var make14 = Effect.fn("Session.make")(function* () {
|
|
65
|
+
const bus = yield* Service84;
|
|
66
66
|
const database = yield* Service86;
|
|
67
|
-
const store = yield*
|
|
68
|
-
const instances = yield*
|
|
69
|
-
const execution = yield*
|
|
70
|
-
const admission = yield*
|
|
67
|
+
const store = yield* Service56;
|
|
68
|
+
const instances = yield* Service43;
|
|
69
|
+
const execution = yield* Service39;
|
|
70
|
+
const admission = yield* Service42;
|
|
71
71
|
const fs = yield* FSUtil.Service;
|
|
72
72
|
const scope = yield* Scope.Scope;
|
|
73
73
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
74
74
|
const session = yield* store.get(sessionID);
|
|
75
75
|
if (!session)
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new NotFoundError8({ sessionID });
|
|
77
77
|
return session;
|
|
78
78
|
});
|
|
79
79
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -146,7 +146,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
146
146
|
});
|
|
147
147
|
if (existing)
|
|
148
148
|
return existing;
|
|
149
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
149
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service43, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
150
150
|
if (session.revert)
|
|
151
151
|
yield* commit2(bus, session);
|
|
152
152
|
return yield* admission.admit({
|
|
@@ -162,7 +162,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
162
162
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
163
163
|
const session = yield* get(sessionID);
|
|
164
164
|
const running = yield* Effect.gen(function* () {
|
|
165
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
165
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service43, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
166
166
|
text: `User shell command failed to start:
|
|
167
167
|
${input.command}
|
|
168
168
|
|
|
@@ -191,7 +191,7 @@ ${error.message}`,
|
|
|
191
191
|
});
|
|
192
192
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
193
193
|
const session = yield* get(sessionID);
|
|
194
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
194
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service43, instances));
|
|
195
195
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
196
196
|
sessionID,
|
|
197
197
|
id: skill.id,
|
|
@@ -248,13 +248,13 @@ ${error.message}`,
|
|
|
248
248
|
const session = yield* get(sessionID);
|
|
249
249
|
if (yield* execution.isActive(sessionID))
|
|
250
250
|
return yield* new BusyError2({ sessionID });
|
|
251
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
251
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service43, instances), Effect.provideService(Service86, database), Effect.provideService(Service84, bus));
|
|
252
252
|
});
|
|
253
253
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
254
254
|
const session = yield* get(sessionID);
|
|
255
255
|
if (yield* execution.isActive(sessionID))
|
|
256
256
|
return yield* new BusyError2({ sessionID });
|
|
257
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
257
|
+
yield* clear2(session).pipe(Effect.provideService(Service43, instances), Effect.provideService(Service84, bus));
|
|
258
258
|
return yield* execution.wake(sessionID);
|
|
259
259
|
});
|
|
260
260
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -346,4 +346,4 @@ ${error.message}`,
|
|
|
346
346
|
return { forSession };
|
|
347
347
|
});
|
|
348
348
|
|
|
349
|
-
export {
|
|
349
|
+
export { make14, exports_session2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-g3s8w1rf.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-service-map-998yhzzq.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
load4
|
|
12
|
+
} from "./location-service-map-0pnxwcyc.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-a5g15581.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
23
|
ListInput: () => ListInput3,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service56,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node58
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -53,11 +53,11 @@ var ListProjectInput = Schema.Struct({
|
|
|
53
53
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
54
54
|
var ListInput3 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
55
55
|
|
|
56
|
-
class
|
|
56
|
+
class Service56 extends Context.Service()("@opencode/SessionStore") {
|
|
57
57
|
}
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
59
59
|
const { db } = yield* Service86;
|
|
60
|
-
return
|
|
60
|
+
return Service56.of({
|
|
61
61
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
62
62
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
63
63
|
return row ? fromRow2(row) : undefined;
|
|
@@ -101,7 +101,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
101
101
|
const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
|
|
102
102
|
return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
|
|
103
103
|
}),
|
|
104
|
-
context: Effect.fn("SessionStore.context")((sessionID) =>
|
|
104
|
+
context: Effect.fn("SessionStore.context")((sessionID) => load4(db, sessionID, "latest")),
|
|
105
105
|
message: Effect.fn("SessionStore.message")(function* (messageID) {
|
|
106
106
|
const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
|
|
107
107
|
return row ? {
|
|
@@ -128,6 +128,6 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
128
128
|
})
|
|
129
129
|
});
|
|
130
130
|
}));
|
|
131
|
-
var
|
|
131
|
+
var node58 = makeGlobalNode({ service: Service56, layer, deps: [node90] });
|
|
132
132
|
|
|
133
|
-
export { ListInput3,
|
|
133
|
+
export { ListInput3, Service56, node58, exports_store };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-g3s8w1rf.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-8n9x2wf6.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./location-service-map-r8fhaa0s.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node83
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-service-map-3xbacp9g.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service70,
|
|
11
11
|
login2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
node72
|
|
13
|
+
} from "./location-service-map-y736c7qs.js";
|
|
14
14
|
import {
|
|
15
15
|
lazy2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-service-map-88xbtdfr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
24
|
CreateInput: () => CreateInput2,
|
|
25
|
-
Event: () =>
|
|
25
|
+
Event: () => Event3,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
|
-
ID: () =>
|
|
28
|
-
Info: () =>
|
|
29
|
-
NotFoundError: () =>
|
|
27
|
+
ID: () => ID3,
|
|
28
|
+
Info: () => Info4,
|
|
29
|
+
NotFoundError: () => NotFoundError2,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service16,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node19
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
37
37
|
import { Pty } from "@opencode/schema/pty";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event3 } from "@opencode/schema/pty";
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var ID3 = Pty.ID;
|
|
43
|
+
var Info4 = Pty.Info;
|
|
44
44
|
var CreateInput2 = Pty.CreateInput;
|
|
45
45
|
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
ptyID:
|
|
47
|
+
class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
|
+
ptyID: ID3
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
53
|
-
ptyID:
|
|
53
|
+
ptyID: ID3
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service16 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
60
|
-
const bus = yield*
|
|
59
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
60
|
+
const bus = yield* Service84;
|
|
61
61
|
const location = yield* Service80;
|
|
62
|
-
const shell = yield*
|
|
62
|
+
const shell = yield* Service70;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
96
96
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
97
97
|
const session = sessions.get(id);
|
|
98
98
|
if (!session)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError2({ ptyID: id });
|
|
100
100
|
return session;
|
|
101
101
|
});
|
|
102
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
122
122
|
return (yield* requireSession(id)).info;
|
|
123
123
|
});
|
|
124
124
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
125
|
-
const id =
|
|
125
|
+
const id = ID3.ascending();
|
|
126
126
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
127
127
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
128
128
|
const cwd = input.cwd || location.directory;
|
|
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
|
-
return
|
|
270
|
+
return Service16.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node19 = makeLocationNode({
|
|
273
|
+
service: Service16,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [
|
|
275
|
+
deps: [node88, node83, node72]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export {
|
|
278
|
+
export { ID3, Info4, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service16, node19, exports_pty, Event3 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service68,
|
|
3
|
+
node70,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-service-map-8z0nn26j.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service43,
|
|
8
|
+
node45
|
|
9
|
+
} from "./location-service-map-p9jvgf3w.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service19
|
|
12
|
+
} from "./location-service-map-etsym5j7.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-03p9d38e.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(Service68, 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, Service19);
|
|
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
|
+
node45.replace(Layer.succeed(Service43, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node70.replace(Layer.succeed(Service68, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service70,
|
|
3
|
-
node73
|
|
4
|
-
} from "./snapshot-rsgnsn16.js";
|
|
5
1
|
import {
|
|
6
2
|
Service57,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
3
|
+
node59
|
|
4
|
+
} from "./location-service-map-ejmz6kkm.js";
|
|
5
|
+
import {
|
|
6
|
+
Service44,
|
|
7
|
+
node46
|
|
8
|
+
} from "./location-service-map-3twxkf78.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-service-map-8n9x2wf6.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/session/runner/model.ts
|
|
17
17
|
var exports_model = {};
|
|
18
18
|
__export(exports_model, {
|
|
19
19
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
20
20
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service41,
|
|
22
22
|
SessionRunnerModel: () => exports_model,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node43,
|
|
24
24
|
resolved: () => resolved2
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service41 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
47
47
|
}
|
|
48
48
|
var resolved2 = (model, options) => ({
|
|
49
49
|
model,
|
|
@@ -58,10 +58,10 @@ var resolved2 = (model, options) => ({
|
|
|
58
58
|
compaction: options.compaction,
|
|
59
59
|
transport: options.transport
|
|
60
60
|
});
|
|
61
|
-
var layer = Layer.effect(
|
|
62
|
-
const resolver = yield*
|
|
63
|
-
const agents = yield*
|
|
64
|
-
return
|
|
61
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
62
|
+
const resolver = yield* Service44;
|
|
63
|
+
const agents = yield* Service57;
|
|
64
|
+
return Service41.of({
|
|
65
65
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
66
66
|
if (!session.model) {
|
|
67
67
|
const agent = (yield* agents.select(session.agent)).info?.model;
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node43 = makeLocationNode({ service: Service41, layer, deps: [node46, node59] });
|
|
85
85
|
|
|
86
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
86
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service41, resolved2, node43, exports_model };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-t1xvrdec.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/lmstudio.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
|
|
|
19
19
|
}).pipe(Schema.optional)
|
|
20
20
|
});
|
|
21
21
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
22
|
-
var
|
|
22
|
+
var make9 = createLocalProviderPlugin2({
|
|
23
23
|
id: "opencode.provider.lmstudio",
|
|
24
24
|
providerID: "lmstudio",
|
|
25
25
|
name: "LM Studio",
|
|
@@ -38,6 +38,6 @@ var make7 = createLocalProviderPlugin2({
|
|
|
38
38
|
context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
|
-
var LMStudioPlugin2 =
|
|
41
|
+
var LMStudioPlugin2 = make9();
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { make9, LMStudioPlugin2 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-service-map-qrscgvzd.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID11,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
10
|
Info21
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-service-map-g6wjc1x4.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
derive: () =>
|
|
21
|
-
get: () =>
|
|
22
|
-
load: () =>
|
|
17
|
+
var exports_models = {};
|
|
18
|
+
__export(exports_models, {
|
|
19
|
+
CopilotModels: () => exports_models,
|
|
20
|
+
derive: () => derive2,
|
|
21
|
+
get: () => get2,
|
|
22
|
+
load: () => load2
|
|
23
23
|
});
|
|
24
24
|
import { Money } from "@opencode/schema/money";
|
|
25
25
|
import { Option, Schema } from "effect";
|
|
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
|
|
|
68
68
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
69
69
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
70
70
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
71
|
-
async function
|
|
72
|
-
return
|
|
71
|
+
async function get2(baseURL, headers, existing) {
|
|
72
|
+
return derive2(baseURL, await load2(baseURL, headers), existing);
|
|
73
73
|
}
|
|
74
|
-
async function
|
|
74
|
+
async function load2(baseURL, headers) {
|
|
75
75
|
const response = await fetch(`${baseURL}/models`, {
|
|
76
76
|
headers,
|
|
77
77
|
signal: AbortSignal.timeout(5000)
|
|
@@ -83,7 +83,7 @@ async function load3(baseURL, headers) {
|
|
|
83
83
|
return model && usable(model) ? [[model.id, model]] : [];
|
|
84
84
|
}));
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function derive2(baseURL, remote, existing) {
|
|
87
87
|
const result = new Map(existing.map((model) => [model.id, model]));
|
|
88
88
|
for (const [id, model] of result) {
|
|
89
89
|
const current = remote.get(model.modelID);
|
|
@@ -94,7 +94,7 @@ function derive3(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID11.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -119,10 +119,10 @@ function build(id, remote, baseURL, previous) {
|
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
121
|
return Info21.make({
|
|
122
|
-
...Info21.default(
|
|
122
|
+
...Info21.default(ID12.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
125
|
-
providerID:
|
|
124
|
+
modelID: ID11.make(remote.id),
|
|
125
|
+
providerID: ID12.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
128
128
|
package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
|
|
@@ -197,4 +197,4 @@ function variants(remote, messages) {
|
|
|
197
197
|
];
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
export {
|
|
200
|
+
export { get2, load2, derive2, exports_models };
|