@opencode/core 0.0.0-dev-20602 → 0.0.0-dev-20607
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 +79 -79
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{filesystem-rgn471sa.js → location-service-map-033x7sps.js} +22 -22
- package/dist/chunks/{filesystem-ddt2bs9e.js → location-service-map-06x8he3q.js} +4 -4
- package/dist/chunks/{filesystem-yvfhqz1f.js → location-service-map-07y2zfp9.js} +51 -51
- package/dist/chunks/{filesystem-rhjbct0v.js → location-service-map-0gdmqesm.js} +4 -4
- package/dist/chunks/{filesystem-hr4wrrf6.js → location-service-map-0h2462b6.js} +45 -45
- package/dist/chunks/{filesystem-49kvfp1r.js → location-service-map-0j73fd1e.js} +11 -11
- package/dist/chunks/{filesystem-0j77ygfz.js → location-service-map-0j77ygfz.js} +2 -2
- package/dist/chunks/{filesystem-0paq2nw3.js → location-service-map-0paq2nw3.js} +1 -1
- package/dist/chunks/{filesystem-dy46c2ft.js → location-service-map-0tn2dqn2.js} +18 -18
- package/dist/chunks/{filesystem-0vbcp93d.js → location-service-map-0vbcp93d.js} +2 -2
- package/dist/chunks/{filesystem-agas6951.js → location-service-map-10t1vvrx.js} +21 -21
- package/dist/chunks/{filesystem-7gmmhyav.js → location-service-map-12v3t7pj.js} +16 -16
- package/dist/chunks/{filesystem-ht6a65zw.js → location-service-map-133f32ka.js} +17 -17
- package/dist/chunks/{filesystem-n7d88tpn.js → location-service-map-143qq2q9.js} +3 -3
- package/dist/chunks/{filesystem-70hw7rqt.js → location-service-map-17gnabje.js} +32 -32
- package/dist/chunks/{filesystem-1dazxqgg.js → location-service-map-1dazxqgg.js} +2 -2
- package/dist/chunks/{filesystem-84h8c373.js → location-service-map-1dvck2a7.js} +2 -2
- package/dist/chunks/{filesystem-cdrvgdex.js → location-service-map-1hqv1s8z.js} +20 -20
- package/dist/chunks/{filesystem-jktqzjpa.js → location-service-map-1p07q0wb.js} +6 -6
- package/dist/chunks/{filesystem-q7d95chg.js → location-service-map-1z6v8c1m.js} +50 -50
- package/dist/chunks/{filesystem-2a5m3afh.js → location-service-map-2a5m3afh.js} +1 -1
- package/dist/chunks/{filesystem-2ccvkpx1.js → location-service-map-2ccvkpx1.js} +2 -2
- package/dist/chunks/{filesystem-2aw5gy1a.js → location-service-map-2f8dg7r9.js} +5 -5
- package/dist/chunks/{filesystem-w1bpwr2w.js → location-service-map-2g1wxhtt.js} +17 -17
- package/dist/chunks/{filesystem-sy6m8g0m.js → location-service-map-2kvpt9hx.js} +10 -10
- package/dist/chunks/{filesystem-vsp1fds9.js → location-service-map-2pnhn36q.js} +4 -4
- package/dist/chunks/{filesystem-dt2w98wh.js → location-service-map-2vw1vn8h.js} +22 -22
- package/dist/chunks/{filesystem-8q267h9v.js → location-service-map-32rvz8xj.js} +23 -23
- package/dist/chunks/{filesystem-vp7x5tg7.js → location-service-map-32tj18ed.js} +37 -37
- package/dist/chunks/{filesystem-qv57k41b.js → location-service-map-34rw04q0.js} +44 -44
- package/dist/chunks/{filesystem-af4g4tm2.js → location-service-map-395tfjq6.js} +6 -6
- package/dist/chunks/{filesystem-6z9mwsmt.js → location-service-map-3b485cc9.js} +18 -18
- package/dist/chunks/{filesystem-5pfs40b8.js → location-service-map-3c5h48k2.js} +33 -33
- package/dist/chunks/{filesystem-3fc6dm20.js → location-service-map-3fc6dm20.js} +1 -1
- package/dist/chunks/{filesystem-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
- package/dist/chunks/{filesystem-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
- package/dist/chunks/{filesystem-y94qedfr.js → location-service-map-3vjabw50.js} +23 -23
- package/dist/chunks/{filesystem-tp320r54.js → location-service-map-3wbj7zy6.js} +20 -20
- package/dist/chunks/{filesystem-3zsf4n22.js → location-service-map-3zsf4n22.js} +1 -1
- package/dist/chunks/{filesystem-t6msp11s.js → location-service-map-41v30afh.js} +6 -6
- package/dist/chunks/{filesystem-nh3a7tvc.js → location-service-map-46adtf6k.js} +10 -10
- package/dist/chunks/{filesystem-5w7jvsny.js → location-service-map-4a79q9fk.js} +33 -33
- package/dist/chunks/{filesystem-m69ksr44.js → location-service-map-4j15tkb2.js} +2 -2
- package/dist/chunks/{filesystem-wyyxkk5r.js → location-service-map-4rb0mg85.js} +23 -23
- package/dist/chunks/{filesystem-h43jn5d4.js → location-service-map-50bm5rnf.js} +18 -18
- package/dist/chunks/{filesystem-a3xzgxah.js → location-service-map-520y73pd.js} +9 -9
- package/dist/chunks/{filesystem-eyvwcx88.js → location-service-map-53bgxfmk.js} +9 -9
- package/dist/chunks/{filesystem-54ma36ye.js → location-service-map-54ma36ye.js} +1 -1
- package/dist/chunks/{filesystem-b6yzx5gq.js → location-service-map-55negpg1.js} +25 -25
- package/dist/chunks/{filesystem-tetvtk1x.js → location-service-map-560ev8b8.js} +37 -37
- package/dist/chunks/{filesystem-1ygqh575.js → location-service-map-56gdpj1q.js} +9 -9
- package/dist/chunks/{filesystem-w19d8598.js → location-service-map-57b9ws8p.js} +4 -4
- package/dist/chunks/{filesystem-dgytgmtw.js → location-service-map-586dhpg4.js} +7 -7
- package/dist/chunks/{filesystem-wj5nvfcv.js → location-service-map-59p7gm1v.js} +26 -26
- package/dist/chunks/{filesystem-5daktx2q.js → location-service-map-5daktx2q.js} +1 -1
- package/dist/chunks/{filesystem-x6pyv2yz.js → location-service-map-5ebw3s4g.js} +5 -5
- package/dist/chunks/{filesystem-xk2tzhhe.js → location-service-map-5fjhcnze.js} +26 -26
- package/dist/chunks/{filesystem-vwmxq978.js → location-service-map-5jjjy8t8.js} +11 -11
- package/dist/chunks/{filesystem-vwy2dwsg.js → location-service-map-5kr8sr9w.js} +96 -96
- package/dist/chunks/{filesystem-vzcthcp8.js → location-service-map-5m9w47nd.js} +1 -1
- package/dist/chunks/{filesystem-5t3nmthw.js → location-service-map-5t3nmthw.js} +2 -2
- package/dist/chunks/{filesystem-e67e6j0j.js → location-service-map-5t6fafd4.js} +27 -27
- package/dist/chunks/{filesystem-azc0px7x.js → location-service-map-613tc84b.js} +46 -46
- package/dist/chunks/{filesystem-x3kctc80.js → location-service-map-62ebmhy1.js} +42 -42
- package/dist/chunks/{filesystem-716v4pk6.js → location-service-map-62mtkykz.js} +4 -4
- package/dist/chunks/{filesystem-tq3jytt0.js → location-service-map-62w77xhp.js} +14 -14
- package/dist/chunks/{filesystem-d6dyd3fd.js → location-service-map-64evdrs9.js} +6 -6
- package/dist/chunks/{filesystem-669tq793.js → location-service-map-669tq793.js} +1 -1
- package/dist/chunks/{filesystem-nshzc8pb.js → location-service-map-66mvr3tw.js} +6 -6
- package/dist/chunks/{filesystem-svmhx4z4.js → location-service-map-6cmgmd4a.js} +7 -7
- package/dist/chunks/{filesystem-bn3rhc52.js → location-service-map-6h1ernme.js} +8 -8
- package/dist/chunks/{filesystem-d0e1hgt3.js → location-service-map-6hsaqmjv.js} +16 -16
- package/dist/chunks/{filesystem-hjbc5kem.js → location-service-map-6q2bdcd1.js} +4 -1
- package/dist/chunks/{filesystem-6xb47vfp.js → location-service-map-6xb47vfp.js} +1 -1
- package/dist/chunks/{filesystem-w2h15q85.js → location-service-map-6yz0wx8n.js} +5 -5
- package/dist/chunks/{filesystem-f75zav2x.js → location-service-map-71az546q.js} +2 -2
- package/dist/chunks/{filesystem-x72cyxkw.js → location-service-map-74wszxt4.js} +3 -3
- package/dist/chunks/{filesystem-pedtrev3.js → location-service-map-77gq4haj.js} +29 -29
- package/dist/chunks/{filesystem-znsx74x0.js → location-service-map-78sc1d6s.js} +1 -1
- package/dist/chunks/{filesystem-grhtzbr5.js → location-service-map-7bgx5xkz.js} +22 -22
- package/dist/chunks/{filesystem-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-7dqw4kz8.js → location-service-map-7dqw4kz8.js} +1 -1
- package/dist/chunks/{filesystem-hpfvhvya.js → location-service-map-7rwqf82v.js} +8 -8
- package/dist/chunks/{filesystem-a1gpj94z.js → location-service-map-7yh4e7ss.js} +3 -3
- package/dist/chunks/{filesystem-k2955xap.js → location-service-map-82tw8e42.js} +9 -9
- package/dist/chunks/{filesystem-8t4stv32.js → location-service-map-84fey7wp.js} +7 -7
- package/dist/chunks/{filesystem-84txncab.js → location-service-map-84txncab.js} +1 -1
- package/dist/chunks/{filesystem-scxjzwy3.js → location-service-map-8b314kvc.js} +8 -8
- package/dist/chunks/{filesystem-8d7r5vzw.js → location-service-map-8d7r5vzw.js} +1 -1
- package/dist/chunks/{filesystem-ewvqjf2t.js → location-service-map-8hw5gh57.js} +13 -13
- package/dist/chunks/{filesystem-ddmpsqd0.js → location-service-map-8nsp40k9.js} +33 -33
- package/dist/chunks/{filesystem-4vw64pvn.js → location-service-map-8saq18sj.js} +6 -6
- package/dist/chunks/{filesystem-7z7kh450.js → location-service-map-8wrnx5a9.js} +4 -4
- package/dist/chunks/{filesystem-60t2pvv5.js → location-service-map-9028vjky.js} +16 -16
- package/dist/chunks/{filesystem-606e7s57.js → location-service-map-906tg66d.js} +11 -11
- package/dist/chunks/{filesystem-bj4xrtzj.js → location-service-map-91vfa48t.js} +8 -8
- package/dist/chunks/{filesystem-dh3k95jc.js → location-service-map-96dqts0d.js} +5 -5
- package/dist/chunks/{filesystem-6gwdhv30.js → location-service-map-96q8bx9w.js} +11 -11
- package/dist/chunks/{filesystem-kb9j3d72.js → location-service-map-9e5bzkjp.js} +3 -3
- package/dist/chunks/{filesystem-70he0n48.js → location-service-map-9epjyw8n.js} +18 -18
- package/dist/chunks/{filesystem-66f30m3k.js → location-service-map-9hj6ajcg.js} +11 -11
- package/dist/chunks/{filesystem-3124xjv5.js → location-service-map-9jrbrbxe.js} +8 -8
- package/dist/chunks/{filesystem-cdwz3t6x.js → location-service-map-9w37xrbm.js} +42 -42
- package/dist/chunks/{filesystem-qqv1hm2r.js → location-service-map-9xf3evrj.js} +34 -34
- package/dist/chunks/{filesystem-9dftrr8m.js → location-service-map-a1tm9zkc.js} +4 -4
- package/dist/chunks/{filesystem-npd1vztc.js → location-service-map-a20kw498.js} +13 -13
- package/dist/chunks/{filesystem-k3qk5v9m.js → location-service-map-a8b9z964.js} +25 -25
- package/dist/chunks/{filesystem-aaet6srn.js → location-service-map-aaet6srn.js} +2 -2
- package/dist/chunks/{filesystem-e94fm7xg.js → location-service-map-ahf8jrpg.js} +14 -14
- package/dist/chunks/{filesystem-9fxhyr9d.js → location-service-map-ajtvjqy3.js} +3 -3
- package/dist/chunks/{filesystem-gq5cp2m4.js → location-service-map-aynabq2n.js} +29 -29
- package/dist/chunks/{filesystem-v7exs4mj.js → location-service-map-b1nsrqhe.js} +24 -24
- package/dist/chunks/{filesystem-yssy4yg8.js → location-service-map-b4rapxnm.js} +9 -9
- package/dist/chunks/{filesystem-b6gygkdw.js → location-service-map-b6gygkdw.js} +2 -2
- package/dist/chunks/{filesystem-vfavjxm7.js → location-service-map-b795bzbv.js} +1 -1
- package/dist/chunks/{filesystem-3j9bgvtg.js → location-service-map-b7b4ctej.js} +5 -5
- package/dist/chunks/{filesystem-4rx3papc.js → location-service-map-be97bsse.js} +33 -33
- package/dist/chunks/{filesystem-fyhztkyq.js → location-service-map-bee6msjx.js} +180 -180
- package/dist/chunks/{filesystem-5p2ddtg9.js → location-service-map-bge34x1m.js} +21 -21
- package/dist/chunks/{filesystem-54evr9qc.js → location-service-map-bmqeg3pf.js} +9 -9
- package/dist/chunks/{filesystem-da0gtaay.js → location-service-map-bxsvygap.js} +3 -3
- package/dist/chunks/location-service-map-by5v678g.js +18 -0
- package/dist/chunks/{filesystem-qqe847jd.js → location-service-map-c9j62see.js} +22 -22
- package/dist/chunks/{filesystem-w2apjenm.js → location-service-map-cbtv127h.js} +9 -9
- package/dist/chunks/{filesystem-4326jr2k.js → location-service-map-ckke8bsh.js} +18 -18
- package/dist/chunks/{filesystem-h9wp8z5w.js → location-service-map-cq0e7jrz.js} +4 -4
- package/dist/chunks/{filesystem-ftg1wqvm.js → location-service-map-cqfs93hb.js} +11 -11
- package/dist/chunks/location-service-map-csprr9mj.js +507 -0
- package/dist/chunks/{filesystem-nwwy52aa.js → location-service-map-cszmsfrf.js} +9 -9
- package/dist/chunks/{filesystem-bjkh11zp.js → location-service-map-cvkm58k9.js} +8 -8
- package/dist/chunks/{filesystem-djszqvmq.js → location-service-map-d4he2qe1.js} +9 -9
- package/dist/chunks/{filesystem-re6fq1vt.js → location-service-map-dc7x1t2f.js} +13 -13
- package/dist/chunks/{filesystem-ndv6xaj5.js → location-service-map-desyrp9f.js} +12 -12
- package/dist/chunks/{filesystem-nxm207yx.js → location-service-map-dpkg50ah.js} +4 -4
- package/dist/chunks/{filesystem-yn6pjxmn.js → location-service-map-dsp31b57.js} +48 -48
- package/dist/chunks/{filesystem-9nvbss96.js → location-service-map-e05wtj98.js} +17 -17
- package/dist/chunks/{filesystem-s3f3na3g.js → location-service-map-eda1mp39.js} +5 -5
- package/dist/chunks/{filesystem-ef5x83kb.js → location-service-map-ef5x83kb.js} +1 -1
- package/dist/chunks/{filesystem-30w2jk0g.js → location-service-map-eggqfxmw.js} +15 -15
- package/dist/chunks/{filesystem-etq0c3wd.js → location-service-map-etq0c3wd.js} +1 -1
- package/dist/chunks/{filesystem-3g7aw0e2.js → location-service-map-f4mqptv1.js} +11 -11
- package/dist/chunks/{filesystem-167apanm.js → location-service-map-f73rw7rj.js} +13 -13
- package/dist/chunks/{filesystem-93tcn014.js → location-service-map-fjhp2044.js} +21 -21
- package/dist/chunks/{filesystem-v0es1rhs.js → location-service-map-fpecnkgp.js} +9 -9
- package/dist/chunks/{filesystem-22f357wt.js → location-service-map-frxn4dna.js} +6 -6
- package/dist/chunks/{filesystem-mk9jrdj5.js → location-service-map-fxbae48g.js} +1 -1
- package/dist/chunks/{filesystem-q1ebemwr.js → location-service-map-fyrzxvtg.js} +11 -11
- package/dist/chunks/{filesystem-ttmczaxh.js → location-service-map-g27m04hy.js} +37 -37
- package/dist/chunks/{filesystem-706phk7x.js → location-service-map-g6j9t2jv.js} +2 -2
- package/dist/chunks/{filesystem-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
- package/dist/chunks/{filesystem-7m5zn0j1.js → location-service-map-gpkzke8p.js} +43 -43
- package/dist/chunks/{filesystem-9jbvj98d.js → location-service-map-gs3s1a1g.js} +8 -8
- package/dist/chunks/{filesystem-ka78bvwr.js → location-service-map-gsgxb0qd.js} +35 -35
- package/dist/chunks/{filesystem-kbx9zp93.js → location-service-map-gwmt3hf6.js} +30 -30
- package/dist/chunks/{filesystem-0wpypy9k.js → location-service-map-gy3v3m9v.js} +35 -35
- package/dist/chunks/{filesystem-3cegwx68.js → location-service-map-h2b79v29.js} +2 -2
- package/dist/chunks/{filesystem-7f7etyks.js → location-service-map-h48t94e1.js} +23 -23
- package/dist/chunks/{filesystem-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
- package/dist/chunks/{filesystem-5vdbc3f9.js → location-service-map-hd0bdjsh.js} +30 -30
- package/dist/chunks/{filesystem-xnpkzqyy.js → location-service-map-hdsbstzs.js} +10 -10
- package/dist/chunks/{filesystem-64g412fh.js → location-service-map-hf17jqb6.js} +29 -29
- package/dist/chunks/{filesystem-b22x9jmk.js → location-service-map-hy66f6me.js} +9 -9
- package/dist/chunks/{filesystem-hrd1nde7.js → location-service-map-j4z37g3r.js} +4 -4
- package/dist/chunks/{filesystem-j56e64zr.js → location-service-map-j56e64zr.js} +1 -1
- package/dist/chunks/{filesystem-vbfgae2j.js → location-service-map-jewzahs7.js} +4 -4
- package/dist/chunks/{filesystem-j2865w2v.js → location-service-map-jzmk770h.js} +11 -11
- package/dist/chunks/{filesystem-8a6ws7jr.js → location-service-map-k70p9jzb.js} +9 -9
- package/dist/chunks/{filesystem-v6q8pczy.js → location-service-map-kdfckzyx.js} +35 -35
- package/dist/chunks/{filesystem-6pzw4973.js → location-service-map-kgen349b.js} +9 -9
- package/dist/chunks/{filesystem-q3p7br47.js → location-service-map-kjtqqvjp.js} +5 -5
- package/dist/chunks/{filesystem-69mxx76a.js → location-service-map-krfj817j.js} +18 -18
- package/dist/chunks/{filesystem-a0g5q532.js → location-service-map-krmqkxhm.js} +25 -25
- package/dist/chunks/{filesystem-0shza7wa.js → location-service-map-ktz1yp7f.js} +22 -22
- package/dist/chunks/{filesystem-m3fdjcah.js → location-service-map-m3fdjcah.js} +1 -1
- package/dist/chunks/{filesystem-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-yvekp6xe.js → location-service-map-mn05aezp.js} +12 -12
- package/dist/chunks/{filesystem-s4363v40.js → location-service-map-mnh7yhes.js} +20 -20
- package/dist/chunks/{filesystem-mpjek28k.js → location-service-map-mrktx663.js} +89 -89
- package/dist/chunks/{filesystem-m1213s2d.js → location-service-map-mvzc1faf.js} +4 -4
- package/dist/chunks/{filesystem-addxnjmp.js → location-service-map-mxvxcxwy.js} +4 -4
- package/dist/chunks/{filesystem-0rp1rmqj.js → location-service-map-mzcs760k.js} +11 -11
- package/dist/chunks/{filesystem-dj6rd612.js → location-service-map-nbhr2m4b.js} +16 -16
- package/dist/chunks/{filesystem-czw6kqc3.js → location-service-map-nj0hjdtg.js} +4 -4
- package/dist/chunks/{filesystem-dp49ea5z.js → location-service-map-nm3dz3wq.js} +5 -5
- package/dist/chunks/{filesystem-a0nrfapa.js → location-service-map-np5yfqm9.js} +21 -21
- package/dist/chunks/{filesystem-bvxyc9gc.js → location-service-map-ns4vjkyd.js} +18 -18
- package/dist/chunks/{filesystem-pabbzeed.js → location-service-map-nsa9c7jf.js} +3 -3
- package/dist/chunks/{filesystem-fntkcw1e.js → location-service-map-p98ncs1z.js} +13 -13
- package/dist/chunks/{filesystem-xgsp1r84.js → location-service-map-pbbf8beh.js} +16 -16
- package/dist/chunks/{filesystem-bzx1h3sx.js → location-service-map-pbeet7aa.js} +32 -32
- package/dist/chunks/{filesystem-d3r3dk6y.js → location-service-map-pbtkpxkp.js} +15 -15
- package/dist/chunks/{filesystem-p37cw4rj.js → location-service-map-phstrbs2.js} +8 -8
- package/dist/chunks/{filesystem-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
- package/dist/chunks/{filesystem-pknna89w.js → location-service-map-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-adrc3k43.js → location-service-map-pq4fkvn9.js} +33 -33
- package/dist/chunks/{filesystem-zfqr1f4t.js → location-service-map-q63kc7bn.js} +8 -8
- package/dist/chunks/{filesystem-b27vhd2z.js → location-service-map-qa3qhgw8.js} +4 -4
- package/dist/chunks/{filesystem-qnc92qwc.js → location-service-map-qnc92qwc.js} +1 -1
- package/dist/chunks/{filesystem-g29q4m4m.js → location-service-map-qnq6130q.js} +23 -23
- package/dist/chunks/{filesystem-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
- package/dist/chunks/{filesystem-9acv8a8q.js → location-service-map-qvvyz0z2.js} +4 -4
- package/dist/chunks/{filesystem-de9p37qw.js → location-service-map-qyzkbgen.js} +15 -15
- package/dist/chunks/{filesystem-z3t1gjd3.js → location-service-map-qzb16wfa.js} +23 -23
- package/dist/chunks/{filesystem-7pp4szkv.js → location-service-map-r1810nq3.js} +33 -33
- package/dist/chunks/location-service-map-r3024ajp.js +253 -0
- package/dist/chunks/{filesystem-h6xrewk0.js → location-service-map-rabyk6ss.js} +78 -78
- package/dist/chunks/{filesystem-p76qarx3.js → location-service-map-rapdwame.js} +17 -17
- package/dist/chunks/{filesystem-bmc7r4t8.js → location-service-map-rc3vp2rk.js} +42 -42
- package/dist/chunks/{filesystem-rdw6cm16.js → location-service-map-rdw6cm16.js} +1 -1
- package/dist/chunks/{filesystem-wst4rpdj.js → location-service-map-re4s1yam.js} +17 -17
- package/dist/chunks/{filesystem-cqnpbd2p.js → location-service-map-rfq80a3s.js} +9 -9
- package/dist/chunks/{filesystem-0y55kwzf.js → location-service-map-rnc49fc2.js} +5 -5
- package/dist/chunks/{filesystem-dkgbpsr5.js → location-service-map-rnps2brk.js} +30 -30
- package/dist/chunks/{filesystem-64kw0922.js → location-service-map-rrpq0de9.js} +12 -12
- package/dist/chunks/{filesystem-npy1jpkw.js → location-service-map-s0y0yn56.js} +8 -8
- package/dist/chunks/{filesystem-x2q3h1g0.js → location-service-map-s8gchy1y.js} +14 -14
- package/dist/chunks/{filesystem-yfz2rgwt.js → location-service-map-s8x0g29c.js} +3 -3
- package/dist/chunks/{filesystem-3tx1qjh6.js → location-service-map-sajsdr88.js} +20 -20
- package/dist/chunks/{filesystem-h6jnqrbn.js → location-service-map-sjtbnqvp.js} +13 -13
- package/dist/chunks/{filesystem-74jethyg.js → location-service-map-smh0ga8y.js} +27 -27
- package/dist/chunks/{filesystem-d1mtykxg.js → location-service-map-sxzvkvgj.js} +6 -6
- package/dist/chunks/{filesystem-7htmkn1c.js → location-service-map-t2wk90xf.js} +46 -46
- package/dist/chunks/{filesystem-bnm8fb8h.js → location-service-map-t4zv7akb.js} +46 -46
- package/dist/chunks/{filesystem-4pjc529k.js → location-service-map-tahc9pmx.js} +5 -5
- package/dist/chunks/{filesystem-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
- package/dist/chunks/{filesystem-tcezcvh9.js → location-service-map-tcezcvh9.js} +1 -1
- package/dist/chunks/{filesystem-tdstcens.js → location-service-map-tdstcens.js} +1 -1
- package/dist/chunks/{filesystem-5jhahjrw.js → location-service-map-tm1x6fre.js} +11 -11
- package/dist/chunks/{filesystem-a8jhphkq.js → location-service-map-ts0gh8et.js} +19 -19
- package/dist/chunks/{filesystem-89w5ekkf.js → location-service-map-twnyj2nz.js} +27 -27
- package/dist/chunks/{filesystem-vjf1hyyy.js → location-service-map-tzg5e4wv.js} +7 -7
- package/dist/chunks/{filesystem-277myemf.js → location-service-map-v0m7kjv3.js} +20 -20
- package/dist/chunks/{filesystem-2ydbbtvs.js → location-service-map-v15fws8v.js} +15 -15
- package/dist/chunks/{filesystem-5hftm4dp.js → location-service-map-v1bshzbv.js} +4 -4
- package/dist/chunks/{filesystem-e82jk1xa.js → location-service-map-v4wjv8wb.js} +28 -28
- package/dist/chunks/{filesystem-gxv90b6f.js → location-service-map-vd0hs1zq.js} +5 -5
- package/dist/chunks/{filesystem-byf7jksx.js → location-service-map-vdvmyr32.js} +18 -18
- package/dist/chunks/{filesystem-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
- package/dist/chunks/{filesystem-dbv05mm3.js → location-service-map-vgepzxbh.js} +4 -4
- package/dist/chunks/{filesystem-h63vhw9z.js → location-service-map-vgw03me9.js} +15 -15
- package/dist/chunks/{filesystem-93bn1gw0.js → location-service-map-vhdbs3a1.js} +12 -12
- package/dist/chunks/{filesystem-wvg70fph.js → location-service-map-vwr7v31p.js} +15 -15
- package/dist/chunks/{filesystem-vzs5sf6e.js → location-service-map-vzs5sf6e.js} +1 -1
- package/dist/chunks/{filesystem-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-7zx1qa5e.js → location-service-map-wcpje083.js} +8 -8
- package/dist/chunks/{filesystem-wd87259q.js → location-service-map-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-cg8t7cy8.js → location-service-map-whw0b61x.js} +19 -19
- package/dist/chunks/{filesystem-ph3trhh7.js → location-service-map-wjay1z98.js} +35 -35
- package/dist/chunks/{filesystem-0dygnakk.js → location-service-map-wqxhcm17.js} +4 -4
- package/dist/chunks/{filesystem-641m1tbz.js → location-service-map-wtqp5rca.js} +32 -32
- package/dist/chunks/{filesystem-ws9vx4zj.js → location-service-map-wwyhy73j.js} +16 -16
- package/dist/chunks/{filesystem-3t5mk94f.js → location-service-map-x97kt9p9.js} +43 -43
- package/dist/chunks/{filesystem-xkntkrq7.js → location-service-map-xkntkrq7.js} +2 -2
- package/dist/chunks/{filesystem-y1bjwcm4.js → location-service-map-xmwwa52d.js} +5 -5
- package/dist/chunks/{filesystem-5sh4vwnj.js → location-service-map-xmx3w9c2.js} +24 -24
- package/dist/chunks/{filesystem-j7zryc91.js → location-service-map-xsgjgyxe.js} +4 -4
- package/dist/chunks/{filesystem-x35qpc5t.js → location-service-map-xtg4sac9.js} +34 -34
- package/dist/chunks/{filesystem-xyafkbt0.js → location-service-map-xyafkbt0.js} +3 -3
- package/dist/chunks/{filesystem-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
- package/dist/chunks/{filesystem-pvz2ybrw.js → location-service-map-y3cnzfcw.js} +11 -11
- package/dist/chunks/{filesystem-6b2zjn2e.js → location-service-map-y56ehv6b.js} +9 -9
- package/dist/chunks/{filesystem-8wbxkt1z.js → location-service-map-y5rf7nzv.js} +4 -4
- package/dist/chunks/{filesystem-74qydh90.js → location-service-map-ybp4bmjn.js} +60 -60
- package/dist/chunks/{filesystem-hkv302dx.js → location-service-map-yeg9y40q.js} +11 -11
- package/dist/chunks/{filesystem-yf10kn3d.js → location-service-map-yf10kn3d.js} +1 -1
- package/dist/chunks/{filesystem-w1ad28wa.js → location-service-map-yhgxvs9m.js} +8 -8
- package/dist/chunks/location-service-map-yhwrsasc.js +26 -0
- package/dist/chunks/{filesystem-rjmaf817.js → location-service-map-yks67vbm.js} +14 -14
- package/dist/chunks/{filesystem-52wy7q97.js → location-service-map-ymyjxh18.js} +30 -30
- package/dist/chunks/{filesystem-r8xr0va3.js → location-service-map-yp2x3t23.js} +4 -4
- package/dist/chunks/{filesystem-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
- package/dist/chunks/{filesystem-f2mw6jyj.js → location-service-map-z3gh34g3.js} +11 -11
- package/dist/chunks/{filesystem-zmr78fwr.js → location-service-map-z6c3x22d.js} +5 -5
- package/dist/chunks/{filesystem-dh7g9f8f.js → location-service-map-z8ezx559.js} +11 -11
- package/dist/chunks/{filesystem-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
- package/dist/chunks/{filesystem-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
- package/dist/chunks/{filesystem-scgrse2b.js → location-service-map-zyk1yjk8.js} +5 -5
- package/dist/chunks/{filesystem-60zs3p88.js → location-service-map-zz4sn9q4.js} +22 -22
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- 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 +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- 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 +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- 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 +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- 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 +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +90 -90
- 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 +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +106 -106
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- 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 +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +352 -352
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +1 -1
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +100 -100
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- 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 +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- 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 +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- 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 +6 -6
- 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 +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +99 -99
- 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 +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +217 -217
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +206 -206
- package/dist/tool/plugin/skill.js +103 -103
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- 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 +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/filesystem-3rbawgv7.js +0 -26
- package/dist/chunks/filesystem-gnt2zf9m.js +0 -507
- package/dist/chunks/filesystem-v8d9pxf2.js +0 -253
- package/dist/chunks/filesystem-vnkjks7b.js +0 -18
- /package/dist/chunks/{filesystem-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{filesystem-24dcb14g.js → location-service-map-24dcb14g.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-34c7v6d4.js → location-service-map-34c7v6d4.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3asan66x.js → location-service-map-3asan66x.js} +0 -0
- /package/dist/chunks/{filesystem-3t0ybcrp.js → location-service-map-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-3w5fmr99.js → location-service-map-3w5fmr99.js} +0 -0
- /package/dist/chunks/{filesystem-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{filesystem-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → location-service-map-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → location-service-map-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → location-service-map-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-8wj87zfr.js → location-service-map-8wj87zfr.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
- /package/dist/chunks/{filesystem-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
- /package/dist/chunks/{filesystem-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
- /package/dist/chunks/{filesystem-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → location-service-map-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e3qxr5gk.js → location-service-map-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-fxgpk5d8.js → location-service-map-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{filesystem-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → location-service-map-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → location-service-map-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → location-service-map-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{filesystem-jjkms2e6.js → location-service-map-jjkms2e6.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qg3g05ea.js → location-service-map-qg3g05ea.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wc3fc9cn.js → location-service-map-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x61499pn.js → location-service-map-x61499pn.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8cydn3q.js → location-service-map-y8cydn3q.js} +0 -0
- /package/dist/chunks/{filesystem-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
- /package/dist/chunks/{filesystem-z5v4ffb3.js → location-service-map-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service11,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node13
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service11 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node13 = makeLocationNode({
|
|
19
|
+
service: Service11,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service11, Service11.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service11, node13, bound2, exports_instance2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./location-service-map-12v3t7pj.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-service-map-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-service-map-mxvxcxwy.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID12,
|
|
14
|
+
Service73,
|
|
15
|
+
node76,
|
|
16
|
+
Event17
|
|
17
|
+
} from "./location-service-map-77gq4haj.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service78,
|
|
20
|
+
node82
|
|
21
|
+
} from "./location-service-map-pbbf8beh.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -38,13 +38,13 @@ __export(exports_provider3, {
|
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
40
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
41
|
-
Event: () =>
|
|
42
|
-
ID: () =>
|
|
43
|
-
Info: () =>
|
|
41
|
+
Event: () => Event16,
|
|
42
|
+
ID: () => ID11,
|
|
43
|
+
Info: () => Info20,
|
|
44
44
|
LoadError: () => LoadError3,
|
|
45
45
|
Provider: () => exports_provider3,
|
|
46
46
|
Request: () => Request3,
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service72,
|
|
48
48
|
Settings: () => Settings2,
|
|
49
49
|
Transport: () => Transport2,
|
|
50
50
|
aisdk: () => aisdk2,
|
|
@@ -54,7 +54,7 @@ __export(exports_provider3, {
|
|
|
54
54
|
mergeOverlay: () => mergeOverlay2,
|
|
55
55
|
modelSettings: () => modelSettings2,
|
|
56
56
|
nativeSettings: () => nativeSettings2,
|
|
57
|
-
node: () =>
|
|
57
|
+
node: () => node75,
|
|
58
58
|
packageName: () => packageName2,
|
|
59
59
|
timeout: () => timeout2,
|
|
60
60
|
timeouts: () => timeouts2
|
|
@@ -68,8 +68,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
68
68
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
69
69
|
import { Credential } from "@opencode/schema/credential";
|
|
70
70
|
import { freeze } from "immer";
|
|
71
|
-
import { Event as
|
|
72
|
-
var
|
|
71
|
+
import { Event as Event16 } from "@opencode/schema/provider";
|
|
72
|
+
var ID11 = Provider.ID;
|
|
73
73
|
var AISDK_PREFIX2 = "aisdk:";
|
|
74
74
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
75
75
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -231,9 +231,9 @@ var Request3 = Provider.Request;
|
|
|
231
231
|
var Compaction3 = Provider.Compaction;
|
|
232
232
|
var Transport2 = Provider.Transport;
|
|
233
233
|
var Settings2 = Provider.Settings;
|
|
234
|
-
var
|
|
234
|
+
var Info20 = Provider.Info;
|
|
235
235
|
|
|
236
|
-
class
|
|
236
|
+
class Service72 extends Context.Service()("@opencode/Provider") {
|
|
237
237
|
}
|
|
238
238
|
var definitions = new WeakMap;
|
|
239
239
|
function index(providerID, models) {
|
|
@@ -246,10 +246,10 @@ function index(providerID, models) {
|
|
|
246
246
|
definitions.set(models, indexes);
|
|
247
247
|
return result;
|
|
248
248
|
}
|
|
249
|
-
var layer = Layer.effect(
|
|
250
|
-
const bus = yield*
|
|
251
|
-
const integrations = yield*
|
|
252
|
-
const location = yield*
|
|
249
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
250
|
+
const bus = yield* Service81;
|
|
251
|
+
const integrations = yield* Service73;
|
|
252
|
+
const location = yield* Service78;
|
|
253
253
|
const state = create3({
|
|
254
254
|
name: "provider",
|
|
255
255
|
initial: () => new Map,
|
|
@@ -260,7 +260,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
260
260
|
const current = records.get(id);
|
|
261
261
|
if (current)
|
|
262
262
|
return current;
|
|
263
|
-
const added = { provider:
|
|
263
|
+
const added = { provider: Info20.empty(id), models: new Map };
|
|
264
264
|
records.set(id, added);
|
|
265
265
|
maps.add(added.models);
|
|
266
266
|
return added;
|
|
@@ -341,7 +341,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
341
341
|
const available = Array.from(records.values()).filter((record) => {
|
|
342
342
|
if (record.provider.activation === "disabled")
|
|
343
343
|
return false;
|
|
344
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
344
|
+
const integration = byID.get(record.provider.integrationID ?? ID12.make(record.provider.id));
|
|
345
345
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
346
346
|
return false;
|
|
347
347
|
if (record.provider.activation === "enabled")
|
|
@@ -367,8 +367,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
367
367
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
368
368
|
});
|
|
369
369
|
});
|
|
370
|
-
yield* bus.subscribe([
|
|
371
|
-
return
|
|
370
|
+
yield* bus.subscribe([Event17.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
371
|
+
return Service72.of({
|
|
372
372
|
transform: state.transform,
|
|
373
373
|
reload: state.reload,
|
|
374
374
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -377,7 +377,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
377
377
|
snapshot
|
|
378
378
|
});
|
|
379
379
|
}));
|
|
380
|
-
var
|
|
380
|
+
var node75 = makeLocationNode({ service: Service72, layer, deps: [node85, node76, node82] });
|
|
381
381
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
382
382
|
const module = yield* Effect.tryPromise({
|
|
383
383
|
try: () => {
|
|
@@ -651,4 +651,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
651
651
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
652
652
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
653
653
|
|
|
654
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
654
|
+
export { rewrite2, native2, exports_aisdk_native, ID11, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, timeout2, timeouts2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info20, Service72, node75, exports_provider3, Event16 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-5jjjy8t8.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin40,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint3
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint3 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin40 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin5 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin5 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint3, Plugin40, exports_tavily };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
6
|
var exports_command5 = {};
|
|
7
7
|
__export(exports_command5, {
|
|
8
8
|
ConfigCommandV1: () => exports_command5,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info14
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info14 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info16 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info14, exports_command5 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./location-service-map-12v3t7pj.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command4 = {};
|
|
14
14
|
__export(exports_command4, {
|
|
15
15
|
Command: () => exports_command4,
|
|
16
|
-
Event: () =>
|
|
16
|
+
Event: () => Event13,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
18
|
+
Info: () => Info13,
|
|
19
|
+
NotFoundError: () => NotFoundError8,
|
|
20
|
+
Service: () => Service60,
|
|
21
21
|
layer: () => layer21,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node62
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event13 } from "@opencode/schema/command";
|
|
28
|
+
var Info13 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError8 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service60 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var layer21 = Layer.effect(
|
|
45
|
-
const bus = yield*
|
|
44
|
+
var layer21 = Layer.effect(Service60, Effect.gen(function* () {
|
|
45
|
+
const bus = yield* Service81;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
48
48
|
initial: () => new Map,
|
|
@@ -51,11 +51,11 @@ var layer21 = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info13.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service60.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,15 +66,15 @@ var layer21 = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError8({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
74
|
+
var node62 = makeLocationNode({
|
|
75
|
+
service: Service60,
|
|
76
76
|
layer: layer21,
|
|
77
|
-
deps: [
|
|
77
|
+
deps: [node85]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info13, NotFoundError8, ExecutionError2, Service60, layer21, node62, exports_command4, Event13 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
name15,
|
|
3
3
|
ps2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-ts0gh8et.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
9
|
match2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-y1fvbwt7.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/shell/parse.ts
|
|
16
16
|
var exports_parse = {};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service56,
|
|
3
|
+
node58
|
|
4
|
+
} from "./location-service-map-hf17jqb6.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make18,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-0gdmqesm.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
16
|
var exports_instructions3 = {};
|
|
17
17
|
__export(exports_instructions3, {
|
|
18
18
|
ReferenceInstructions: () => exports_instructions3,
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
Service: () => Service32,
|
|
20
|
+
node: () => node36
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,18 +57,18 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service32 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service56;
|
|
64
|
+
return Service32.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
71
|
+
return make18({
|
|
72
72
|
key: Key3.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node36 = makeLocationNode({ service: Service32, layer, deps: [node58] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service32, node36, exports_instructions3 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-pq4fkvn9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID10,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info19,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-3c5h48k2.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models2 = {};
|
|
17
|
+
__export(exports_models2, {
|
|
18
|
+
ModalModels: () => exports_models2,
|
|
19
|
+
derive: () => derive3,
|
|
20
|
+
get: () => get3,
|
|
21
|
+
load: () => load3
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID11.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
55
55
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
async function
|
|
58
|
-
return
|
|
57
|
+
async function get3(baseURL, apiKey, existing) {
|
|
58
|
+
return derive3(baseURL, await load3(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load3(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,12 +71,12 @@ async function load2(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function derive3(baseURL, remote, existing) {
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID10.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID10.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info19.make({
|
|
98
|
+
...Info19.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID10.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get3, load3, derive3, exports_models2 };
|