@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,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-service-map-pq4fkvn9.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID10,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info19
|
|
11
|
+
} from "./location-service-map-3c5h48k2.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 = ID10.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
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
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info19.make({
|
|
122
|
+
...Info19.default(ID11.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
125
|
-
providerID:
|
|
124
|
+
modelID: ID10.make(remote.id),
|
|
125
|
+
providerID: ID11.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 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service81,
|
|
4
|
+
node85
|
|
5
|
+
} from "./location-service-map-12v3t7pj.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make18,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-0gdmqesm.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-service-map-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
@@ -27,10 +27,10 @@ __export(exports_instruction_discovery, {
|
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
29
|
Options: () => Options5,
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
30
|
+
Service: () => Service43,
|
|
31
|
+
configured: () => configured5,
|
|
32
|
+
layer: () => layer17,
|
|
33
|
+
node: () => node45
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -50,10 +50,10 @@ var Options5 = Schema.Struct({
|
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service43 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
56
|
-
const bus = yield*
|
|
55
|
+
var layer17 = (options) => Layer.effect(Service43, Effect.gen(function* () {
|
|
56
|
+
const bus = yield* Service81;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
59
59
|
initial: () => ({ files: new Map, available: true }),
|
|
@@ -74,7 +74,7 @@ var layer19 = (options) => Layer.effect(Service48, Effect.gen(function* () {
|
|
|
74
74
|
}),
|
|
75
75
|
notify: () => bus.publish(Event7.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make18({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer19 = (options) => Layer.effect(Service48, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service43.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer19 = (options) => Layer.effect(Service48, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured5(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
111
|
-
deps: [
|
|
109
|
+
service: Service43,
|
|
110
|
+
layer: layer17(options),
|
|
111
|
+
deps: [node85]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node45 = configured5();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2, Event7, Options5,
|
|
145
|
+
export { File2, Event7, Options5, Service43, layer17, configured5, node45, exports_instruction_discovery };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service66
|
|
7
|
+
} from "./location-service-map-9w37xrbm.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service76
|
|
13
|
+
} from "./location-service-map-xmx3w9c2.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service62
|
|
16
|
+
} from "./location-service-map-s8gchy1y.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service46
|
|
19
|
+
} from "./location-service-map-0h2462b6.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service14,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-service-map-9epjyw8n.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-service-map-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service68,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-service-map-ts0gh8et.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError9,
|
|
36
|
+
Service64
|
|
37
|
+
} from "./location-service-map-1z6v8c1m.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service25
|
|
40
|
+
} from "./location-service-map-5kr8sr9w.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./location-service-map-qvvyz0z2.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell2 = {};
|
|
50
|
+
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
52
|
Input: () => Input12,
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
53
|
+
Plugin: () => Plugin33,
|
|
54
|
+
ShellTool: () => exports_shell2,
|
|
55
55
|
name: () => name12
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
|
|
|
116
116
|
truncated: false,
|
|
117
117
|
status: "running"
|
|
118
118
|
});
|
|
119
|
-
var
|
|
119
|
+
var Plugin33 = {
|
|
120
120
|
id: "opencode.tool.shell",
|
|
121
121
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
122
|
-
const sessions = yield*
|
|
123
|
-
const jobs = yield*
|
|
122
|
+
const sessions = yield* Service25;
|
|
123
|
+
const jobs = yield* Service62;
|
|
124
124
|
const scope = yield* Scope.Scope;
|
|
125
|
-
const environment = yield*
|
|
126
|
-
const access = yield*
|
|
127
|
-
const shell = yield*
|
|
128
|
-
const shellSelect = yield*
|
|
125
|
+
const environment = yield* Service76;
|
|
126
|
+
const access = yield* Service14;
|
|
127
|
+
const shell = yield* Service64;
|
|
128
|
+
const shellSelect = yield* Service68;
|
|
129
129
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
130
|
-
const permission = yield*
|
|
131
|
-
const config = yield*
|
|
130
|
+
const permission = yield* Service46;
|
|
131
|
+
const config = yield* Service66;
|
|
132
132
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
133
133
|
const source = {
|
|
134
134
|
type: "tool",
|
|
@@ -210,7 +210,7 @@ var Plugin30 = {
|
|
|
210
210
|
const run = Effect.gen(function* () {
|
|
211
211
|
const result = yield* shell.result(info);
|
|
212
212
|
if (!result.capture)
|
|
213
|
-
return yield* new
|
|
213
|
+
return yield* new NotFoundError9({ id: info.id });
|
|
214
214
|
const output = output2(result);
|
|
215
215
|
return {
|
|
216
216
|
...output,
|
|
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
265
265
|
})
|
|
266
266
|
};
|
|
267
267
|
|
|
268
|
-
export { name12, DEFAULT_TIMEOUT_MS2, Input12,
|
|
268
|
+
export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin33, exports_shell2 };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service84,
|
|
6
|
+
node88
|
|
7
|
+
} from "./location-service-map-cqfs93hb.js";
|
|
8
|
+
import {
|
|
9
|
+
Service81,
|
|
10
|
+
node85
|
|
11
|
+
} from "./location-service-map-12v3t7pj.js";
|
|
8
12
|
import {
|
|
9
13
|
Service82,
|
|
10
14
|
node86
|
|
11
|
-
} from "./
|
|
12
|
-
import {
|
|
13
|
-
Service84,
|
|
14
|
-
node88
|
|
15
|
-
} from "./filesystem-64kw0922.js";
|
|
15
|
+
} from "./location-service-map-rrpq0de9.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID17,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info28,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-service-map-fpecnkgp.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-service-map-h2b79v29.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-service-map-1dvck2a7.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
39
|
+
ID: () => ID16,
|
|
40
|
+
Info: () => Info27,
|
|
41
41
|
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service79,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node83,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID16 = ID17;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info27 = Info28;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
64
|
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
-
projectID:
|
|
65
|
+
projectID: ID16
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -72,7 +72,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
72
72
|
});
|
|
73
73
|
var ACTIVATE_INTERVAL = 60000;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class Service79 extends Context.Service()("@opencode/Project") {
|
|
76
76
|
}
|
|
77
77
|
function fromRow(row) {
|
|
78
78
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -95,12 +95,12 @@ function fromRow(row) {
|
|
|
95
95
|
sandboxes: row.sandboxes
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
|
-
const git = yield*
|
|
100
|
+
const git = yield* Service82;
|
|
101
101
|
const proc = yield* AppProcess.Service;
|
|
102
|
-
const bus = yield*
|
|
103
|
-
const db = (yield*
|
|
102
|
+
const bus = yield* Service81;
|
|
103
|
+
const db = (yield* Service84).db;
|
|
104
104
|
const announcing = new Set;
|
|
105
105
|
const persist = Effect.fnUntraced(function* (project) {
|
|
106
106
|
const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
108
108
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
109
109
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
110
110
|
if (row)
|
|
111
|
-
yield* bus.publish(
|
|
111
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
112
112
|
}
|
|
113
113
|
if (!project.vcs)
|
|
114
114
|
return project;
|
|
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
145
145
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
146
146
|
projectID: item.projectID,
|
|
147
147
|
directory: item.directory,
|
|
148
|
-
previous: project.previous ??
|
|
148
|
+
previous: project.previous ?? ID16.global,
|
|
149
149
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
150
150
|
}, {
|
|
151
151
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -170,7 +170,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
170
170
|
if (!row)
|
|
171
171
|
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
172
172
|
const project = fromRow(row);
|
|
173
|
-
yield* bus.publish(
|
|
173
|
+
yield* bus.publish(Event20.Updated, project);
|
|
174
174
|
return project;
|
|
175
175
|
});
|
|
176
176
|
const activated = new Map;
|
|
@@ -181,10 +181,10 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
181
181
|
activated.set(projectID, now);
|
|
182
182
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
183
183
|
if (row)
|
|
184
|
-
yield* bus.publish(
|
|
184
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
185
185
|
});
|
|
186
186
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
187
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
187
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
188
188
|
return;
|
|
189
189
|
}));
|
|
190
190
|
});
|
|
@@ -195,7 +195,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
195
195
|
const normalized = url(origin);
|
|
196
196
|
if (!normalized)
|
|
197
197
|
return;
|
|
198
|
-
return
|
|
198
|
+
return ID16.make(Hash.fast(`git-remote:${normalized}`));
|
|
199
199
|
});
|
|
200
200
|
function url(input) {
|
|
201
201
|
const value = input.trim();
|
|
@@ -220,7 +220,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
220
220
|
}
|
|
221
221
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
222
222
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
223
|
-
return root ?
|
|
223
|
+
return root ? ID16.make(root) : undefined;
|
|
224
224
|
});
|
|
225
225
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
226
226
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
236
236
|
return;
|
|
237
237
|
const node = result.stdout.toString("utf8").split(`
|
|
238
238
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
239
|
-
return node ?
|
|
239
|
+
return node ? ID16.make(node) : undefined;
|
|
240
240
|
});
|
|
241
241
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
242
242
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -245,7 +245,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
245
245
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
246
246
|
return {
|
|
247
247
|
previous,
|
|
248
|
-
id: id ??
|
|
248
|
+
id: id ?? ID16.global,
|
|
249
249
|
directory: worktree,
|
|
250
250
|
vcs: { type: "hg", store }
|
|
251
251
|
};
|
|
@@ -262,7 +262,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
262
262
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
263
263
|
return yield* persist({
|
|
264
264
|
previous,
|
|
265
|
-
id: id ??
|
|
265
|
+
id: id ?? ID16.global,
|
|
266
266
|
directory: repo.worktree,
|
|
267
267
|
canonical,
|
|
268
268
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -276,18 +276,18 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
276
276
|
});
|
|
277
277
|
}
|
|
278
278
|
return yield* persist({
|
|
279
|
-
id:
|
|
279
|
+
id: ID16.make(Hash.fast(`directory:${directory}`)),
|
|
280
280
|
directory,
|
|
281
281
|
canonical: directory,
|
|
282
282
|
vcs: undefined
|
|
283
283
|
});
|
|
284
284
|
});
|
|
285
|
-
return
|
|
285
|
+
return Service79.of({ list, update, activate, resolve });
|
|
286
286
|
}));
|
|
287
|
-
var
|
|
288
|
-
service:
|
|
287
|
+
var node83 = makeGlobalNode({
|
|
288
|
+
service: Service79,
|
|
289
289
|
layer,
|
|
290
|
-
deps: [
|
|
290
|
+
deps: [node85, node88, FSUtil.node, node86, AppProcess.node]
|
|
291
291
|
});
|
|
292
292
|
|
|
293
|
-
export {
|
|
293
|
+
export { ID16, Vcs2, Current2, Info27, UpdateInput3, NotFoundError11, root2, Service79, node83, exports_project };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-pq4fkvn9.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-3c5h48k2.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
13
13
|
__export(exports_variant, {
|
|
14
14
|
Variant: () => exports_variant,
|
|
15
|
-
resolve: () =>
|
|
15
|
+
resolve: () => resolve2
|
|
16
16
|
});
|
|
17
|
-
function
|
|
17
|
+
function resolve2(model, supports = [{ type: "effort" }]) {
|
|
18
18
|
const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
|
|
19
19
|
if (!protocol)
|
|
20
20
|
return [];
|
|
@@ -520,4 +520,4 @@ var PROTOCOLS = {
|
|
|
520
520
|
[aisdk2("@jerome-benoit/sap-ai-provider-v2")]: sapAICore
|
|
521
521
|
};
|
|
522
522
|
|
|
523
|
-
export {
|
|
523
|
+
export { resolve2, exports_variant };
|