@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,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./location-service-map-12v3t7pj.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-ts0gh8et.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-3t0ybcrp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError7,
|
|
20
|
+
Options: () => Options6,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
available: () =>
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
22
|
+
Service: () => Service52,
|
|
23
|
+
UnavailableError: () => UnavailableError3,
|
|
24
|
+
available: () => available3,
|
|
25
|
+
configured: () => configured6,
|
|
26
|
+
layer: () => layer20,
|
|
27
|
+
node: () => node54
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -35,26 +35,26 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
import { available as
|
|
39
|
-
var
|
|
38
|
+
import { available as available3 } from "#persistent-pty-binary";
|
|
39
|
+
var Options6 = Schema.Struct({
|
|
40
40
|
handoff: Schema.optional(Handoff),
|
|
41
41
|
root: Schema.optional(Schema.String)
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
class
|
|
44
|
+
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
45
45
|
message: Schema.String
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class NotFoundError7 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
50
50
|
ptyID: Pty.ID
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service52 extends Context.Service()("@opencode/PersistentPty") {
|
|
55
55
|
}
|
|
56
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
57
|
-
const bus = yield*
|
|
56
|
+
var makeLayer = (options = {}) => Layer.effect(Service52, Effect.gen(function* () {
|
|
57
|
+
const bus = yield* Service81;
|
|
58
58
|
const global = yield* Global.Service;
|
|
59
59
|
const context = yield* Effect.context();
|
|
60
60
|
const runFork = Effect.runForkWith(context);
|
|
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service40, Effect.gen(function* (
|
|
|
76
76
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
77
77
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
78
78
|
if (!found)
|
|
79
|
-
return yield* new
|
|
79
|
+
return yield* new NotFoundError7({ ptyID: id });
|
|
80
80
|
return found;
|
|
81
81
|
});
|
|
82
82
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -166,7 +166,7 @@ var makeLayer = (options = {}) => Layer.effect(Service40, Effect.gen(function* (
|
|
|
166
166
|
});
|
|
167
167
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
168
168
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
|
|
170
170
|
const id = current.get(sessionID);
|
|
171
171
|
if (!id)
|
|
172
172
|
return null;
|
|
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service40, Effect.gen(function* (
|
|
|
243
243
|
detach: attachment.detach
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
|
-
return
|
|
246
|
+
return Service52.of({
|
|
247
247
|
list,
|
|
248
248
|
get,
|
|
249
249
|
create,
|
|
@@ -259,17 +259,17 @@ var makeLayer = (options = {}) => Layer.effect(Service40, Effect.gen(function* (
|
|
|
259
259
|
attach
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
|
-
var
|
|
263
|
-
var
|
|
264
|
-
service:
|
|
265
|
-
layer: options === undefined ?
|
|
266
|
-
deps: [
|
|
262
|
+
var layer20 = makeLayer();
|
|
263
|
+
var configured6 = (options) => makeGlobalNode({
|
|
264
|
+
service: Service52,
|
|
265
|
+
layer: options === undefined ? layer20 : makeLayer(options),
|
|
266
|
+
deps: [node85, Global.node]
|
|
267
267
|
});
|
|
268
|
-
var
|
|
268
|
+
var node54 = configured6();
|
|
269
269
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
270
270
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
271
|
-
var unexpected = (response) => Effect.fail(new
|
|
272
|
-
var unavailable = (error) => new
|
|
271
|
+
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
272
|
+
var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
|
|
273
273
|
function toInfo(value) {
|
|
274
274
|
const status = value.lifecycle.status;
|
|
275
275
|
return {
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options6, UnavailableError3, NotFoundError7, Service52, layer20, configured6, node54, exports_persistent_pty, Handoff2, available3 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-tzg5e4wv.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,29 +1,29 @@
|
|
|
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
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service83,
|
|
8
|
+
node87
|
|
9
|
+
} from "./location-service-map-p98ncs1z.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event21,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service80,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node84,
|
|
26
|
+
resolve: () => resolve4
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service80 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event21 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
56
56
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
57
57
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
60
60
|
const manifest = yield* inspect2(input.origin);
|
|
61
61
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
62
62
|
});
|
|
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
81
|
-
const bus = yield*
|
|
80
|
+
const kv = yield* Service83;
|
|
81
|
+
const bus = yield* Service81;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
84
84
|
const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event21.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service80.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event21.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event21.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node84 = makeGlobalNode({ service: Service80, layer, deps: [httpClient, node87, node85] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service80, Event21, inspect2, resolve4, node84, exports_wellknown };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service76,
|
|
8
|
+
node79
|
|
9
|
+
} from "./location-service-map-xmx3w9c2.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service22,
|
|
24
|
+
node: () => node24
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service22 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error2({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service76;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service22.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node24 = makeLocationNode({ service: Service22, layer, deps: [node79, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error2, InvalidPatternError2, Service22, node24, exports_ripgrep };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-pbbf8beh.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service61,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node64,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service61 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service61, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node64 = LayerNode.unbound(Service61, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service61;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -45,4 +45,4 @@ function canonical3(ref) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service61, node64, reload2, canonical3, exports_location_service_map };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service42
|
|
3
|
+
} from "./location-service-map-sxzvkvgj.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-by5v678g.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-frxn4dna.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service45
|
|
12
|
+
} from "./location-service-map-v4wjv8wb.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service42;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service45), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./location-service-map-pbbf8beh.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service14
|
|
9
|
+
} from "./location-service-map-9epjyw8n.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service9
|
|
12
|
+
} from "./location-service-map-c9j62see.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service10
|
|
27
|
+
} from "./location-service-map-rapdwame.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
35
|
+
Input: () => Input9,
|
|
36
36
|
Plugin: () => Plugin29,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name9,
|
|
39
|
+
toModelContent: () => toModelContent5
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name9 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input9 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
58
|
var Plugin29 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service10;
|
|
62
|
+
const access = yield* Service14;
|
|
63
|
+
const sessionInstructions = yield* Service9;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service78;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name9,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input9,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -113,7 +113,7 @@ var Plugin29 = {
|
|
|
113
113
|
return { output: result.content, path: result.path };
|
|
114
114
|
}).pipe(Effect.map((result) => ({
|
|
115
115
|
output: result.output,
|
|
116
|
-
content:
|
|
116
|
+
content: toModelContent5(result.path, input.offset, result.output),
|
|
117
117
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
118
118
|
})), Effect.mapError((error) => {
|
|
119
119
|
if (error instanceof ToolFailure)
|
|
@@ -146,7 +146,7 @@ ${suggestions.join(`
|
|
|
146
146
|
});
|
|
147
147
|
})
|
|
148
148
|
};
|
|
149
|
-
var
|
|
149
|
+
var toModelContent5 = (path, offset, output) => {
|
|
150
150
|
if (output.type === "file" && output.encoding === "base64")
|
|
151
151
|
return [
|
|
152
152
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -182,4 +182,4 @@ var toModelContent6 = (path, offset, output) => {
|
|
|
182
182
|
`);
|
|
183
183
|
};
|
|
184
184
|
|
|
185
|
-
export {
|
|
185
|
+
export { name9, Input9, Plugin29, toModelContent5, exports_read };
|