@opencode/core 0.0.0-dev-21106 → 0.0.0-dev-21108
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{location-services-6p69xtgv.js → vcs-02e36gs3.js} +18 -18
- package/dist/chunks/{location-services-3mqpzj3c.js → vcs-0aqfmf5v.js} +35 -35
- package/dist/chunks/{location-services-ks2azddx.js → vcs-0p6hghjm.js} +11 -11
- package/dist/chunks/{location-services-gvdcyqq1.js → vcs-0pnx5nh0.js} +10 -10
- package/dist/chunks/{location-services-7kk48pxy.js → vcs-0qke7b7v.js} +18 -18
- package/dist/chunks/{location-services-0vbcp93d.js → vcs-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-services-4v7ngy20.js → vcs-0xqyf95c.js} +4 -4
- package/dist/chunks/{location-services-1tmzd80p.js → vcs-15fn43ap.js} +10 -10
- package/dist/chunks/{location-services-fzg7cpa7.js → vcs-1a430sh5.js} +15 -15
- package/dist/chunks/{location-services-k2gjqwpp.js → vcs-1bmjn0qh.js} +8 -8
- package/dist/chunks/{location-services-bjx1sjef.js → vcs-1ffvrpkg.js} +6 -6
- package/dist/chunks/{location-services-qcjrpjwa.js → vcs-1vayj7pv.js} +7 -7
- package/dist/chunks/{location-services-ryzasrd4.js → vcs-1xwjxjf0.js} +42 -42
- package/dist/chunks/{location-services-tnz01zr5.js → vcs-23fmqdqn.js} +10 -10
- package/dist/chunks/{location-services-dthcv1wz.js → vcs-278dshqs.js} +8 -8
- package/dist/chunks/{location-services-cknd69cm.js → vcs-29m6mk6w.js} +5 -5
- package/dist/chunks/{location-services-762r0j46.js → vcs-2cmv458r.js} +5 -5
- package/dist/chunks/{location-services-706phk7x.js → vcs-2cybgqhz.js} +2 -2
- package/dist/chunks/{location-services-tdcr03np.js → vcs-2hcv2g42.js} +9 -9
- package/dist/chunks/{location-services-xa9ys1dk.js → vcs-2kz8np98.js} +34 -34
- package/dist/chunks/{location-services-qwtectgj.js → vcs-2x84g0hg.js} +16 -16
- package/dist/chunks/{location-services-h7s7r6s9.js → vcs-31xfzrxg.js} +5 -5
- package/dist/chunks/{location-services-0wxtr9f2.js → vcs-3bz86aqc.js} +10 -10
- package/dist/chunks/{location-services-3fc6dm20.js → vcs-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-services-0by4cv8g.js → vcs-3febqyrh.js} +15 -15
- package/dist/chunks/{location-services-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-services-3hwn7j4h.js → vcs-3hwn7j4h.js} +2 -2
- package/dist/chunks/{location-services-hz8xhk9p.js → vcs-3k043h5p.js} +11 -11
- package/dist/chunks/{location-services-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-services-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-services-ge04r35n.js → vcs-3wvege5j.js} +5 -5
- package/dist/chunks/{location-services-evx684vz.js → vcs-3xxwenrj.js} +6 -6
- package/dist/chunks/{location-services-3zsf4n22.js → vcs-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-services-gqgz49fy.js → vcs-4ztejm5p.js} +29 -29
- package/dist/chunks/{location-services-54ma36ye.js → vcs-54ma36ye.js} +1 -1
- package/dist/chunks/{location-services-qv7ea5pm.js → vcs-57mezkvj.js} +18 -18
- package/dist/chunks/{location-services-653zxppr.js → vcs-5bvwnfz3.js} +9 -9
- package/dist/chunks/{location-services-w2h15q85.js → vcs-5fykfdj7.js} +5 -5
- package/dist/chunks/{location-services-ffsgb9yq.js → vcs-5hpssq55.js} +35 -35
- package/dist/chunks/{location-services-5m9w47nd.js → vcs-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-services-e3qxr5gk.js → vcs-5qd3pb7m.js} +2 -2
- package/dist/chunks/{location-services-kqdsm7er.js → vcs-5ryha89e.js} +22 -22
- package/dist/chunks/{location-services-42ta3yv6.js → vcs-5wzb8f99.js} +23 -23
- package/dist/chunks/{location-services-mwn5775p.js → vcs-5ywzfb3j.js} +9 -9
- package/dist/chunks/{location-services-bnb2m7vh.js → vcs-5z6fkxtw.js} +9 -9
- package/dist/chunks/{location-services-p1342kz7.js → vcs-694900vg.js} +13 -13
- package/dist/chunks/{location-services-0ft0yr9w.js → vcs-6e6k9ee1.js} +6 -6
- package/dist/chunks/{location-services-wygx0h61.js → vcs-6fh64ftw.js} +21 -21
- package/dist/chunks/{location-services-58r1jg05.js → vcs-6jn4zywt.js} +19 -19
- package/dist/chunks/{location-services-gywhxt4f.js → vcs-6kbcj5hv.js} +10 -10
- package/dist/chunks/{location-services-6xb47vfp.js → vcs-6xb47vfp.js} +1 -1
- package/dist/chunks/{location-services-yqc6bamn.js → vcs-6xcvt31d.js} +1 -1
- package/dist/chunks/{location-services-6g6g97n0.js → vcs-6xnzn5r9.js} +12 -12
- package/dist/chunks/{location-services-e6eeg2pk.js → vcs-70n7ee7d.js} +26 -26
- package/dist/chunks/{location-services-xbvnm2ed.js → vcs-749m9j3c.js} +7 -7
- package/dist/chunks/{location-services-ry4dxtnx.js → vcs-74g3bhj7.js} +8 -8
- package/dist/chunks/{location-services-775gj3j1.js → vcs-775gj3j1.js} +2 -2
- package/dist/chunks/{location-services-4bjwhnbm.js → vcs-7ar02ars.js} +23 -23
- package/dist/chunks/{location-services-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-services-jeb2epxq.js → vcs-7em5ghts.js} +22 -22
- package/dist/chunks/{location-services-e01edv31.js → vcs-7evj5wva.js} +3 -3
- package/dist/chunks/{location-services-xxa1172v.js → vcs-7h4aqy0s.js} +10 -10
- package/dist/chunks/{location-services-dpfc21fw.js → vcs-7hvkf8ba.js} +25 -25
- package/dist/chunks/{location-services-tyekzr88.js → vcs-7jsc1qpe.js} +3 -3
- package/dist/chunks/{location-services-7tkggmat.js → vcs-8034592z.js} +24 -24
- package/dist/chunks/{location-services-ajzsbz6h.js → vcs-80vk4pbp.js} +14 -14
- package/dist/chunks/{location-services-30h8q41b.js → vcs-81ncqz2m.js} +17 -17
- package/dist/chunks/{location-services-6hjx5zpb.js → vcs-82rhge12.js} +9 -9
- package/dist/chunks/{location-services-0e8vet4q.js → vcs-84msw036.js} +11 -11
- package/dist/chunks/{location-services-84txncab.js → vcs-84txncab.js} +1 -1
- package/dist/chunks/{location-services-tcezcvh9.js → vcs-89znhe33.js} +4 -4
- package/dist/chunks/{location-services-6b6pzbqj.js → vcs-8chrd1c9.js} +10 -10
- package/dist/chunks/{location-services-8m6m0r52.js → vcs-8m6m0r52.js} +1 -1
- package/dist/chunks/{location-services-m2svmn72.js → vcs-8mnysrst.js} +3 -3
- package/dist/chunks/{location-services-fxh8jgjs.js → vcs-8vkwsqvz.js} +18 -18
- package/dist/chunks/{location-services-bda90bqx.js → vcs-8wpwcw2c.js} +33 -33
- package/dist/chunks/{location-services-j09zfasm.js → vcs-91qna3x0.js} +3 -3
- package/dist/chunks/{location-services-cfz2qr34.js → vcs-98v90pwc.js} +31 -31
- package/dist/chunks/{location-services-sfvwbqhk.js → vcs-9dawpgdd.js} +6 -6
- package/dist/chunks/{location-services-scp5ngm2.js → vcs-9h5geed1.js} +23 -23
- package/dist/chunks/{location-services-rntq0wr5.js → vcs-9jvzcmy4.js} +1 -1
- package/dist/chunks/{location-services-bkmex65f.js → vcs-9s83jr1p.js} +9 -9
- package/dist/chunks/{location-services-4dx3mpd0.js → vcs-9zm0mfan.js} +3 -3
- package/dist/chunks/{location-services-1rhdwmpp.js → vcs-a2wv01vg.js} +15 -15
- package/dist/chunks/{location-services-ytqr7vs8.js → vcs-a72zk5vh.js} +2 -2
- package/dist/chunks/{location-services-hbq4e136.js → vcs-a8r1ndjr.js} +13 -13
- package/dist/chunks/{location-services-67kwpczx.js → vcs-abwx4fz1.js} +11 -11
- package/dist/chunks/{location-services-m8d65krt.js → vcs-ah9qjh8p.js} +11 -11
- package/dist/chunks/{location-services-ft8ey32c.js → vcs-apbzx1qy.js} +1 -1
- package/dist/chunks/{location-services-9tqvd253.js → vcs-aqab6bvk.js} +4 -4
- package/dist/chunks/{location-services-979pd12m.js → vcs-at768xak.js} +18 -18
- package/dist/chunks/{location-services-k3bj973j.js → vcs-az977ysh.js} +35 -35
- package/dist/chunks/{location-services-chj935f8.js → vcs-b3xja3vs.js} +11 -11
- package/dist/chunks/{location-services-a4hk43zv.js → vcs-b4gkm0yn.js} +17 -17
- package/dist/chunks/{location-services-tf6n1kae.js → vcs-b6770wny.js} +46 -46
- package/dist/chunks/{location-services-77yn7j3n.js → vcs-bbpptzmy.js} +32 -32
- package/dist/chunks/{location-services-2vke4pdf.js → vcs-bcq6ngff.js} +93 -93
- package/dist/chunks/{location-services-k6e47qvb.js → vcs-bf12m7kx.js} +11 -11
- package/dist/chunks/{location-services-11ndvexq.js → vcs-bh74vh5r.js} +12 -12
- package/dist/chunks/{location-services-7xxhw447.js → vcs-bsegt2fq.js} +5 -5
- package/dist/chunks/{location-services-859s541j.js → vcs-c1dxt66b.js} +13 -13
- package/dist/chunks/{location-services-c1fqxshp.js → vcs-c1fqxshp.js} +3 -3
- package/dist/chunks/{location-services-fcjdc125.js → vcs-c44mjgcb.js} +24 -24
- package/dist/chunks/{location-services-n7d88tpn.js → vcs-c8zwaxmp.js} +3 -3
- package/dist/chunks/{location-services-rma58dd1.js → vcs-cjmfqnq2.js} +35 -35
- package/dist/chunks/{location-services-e3x2st6d.js → vcs-cqbghwqx.js} +27 -27
- package/dist/chunks/{location-services-er1tw77y.js → vcs-cqwdbp8s.js} +20 -20
- package/dist/chunks/{location-services-kw7rcx37.js → vcs-cv00cvbs.js} +58 -58
- package/dist/chunks/{location-services-2sejkfem.js → vcs-cwa6csj7.js} +9 -9
- package/dist/chunks/{location-services-h462p6mc.js → vcs-d1pkjdrj.js} +18 -18
- package/dist/chunks/{location-services-jfqtm2ew.js → vcs-d216944b.js} +7 -7
- package/dist/chunks/{location-services-83peqxcv.js → vcs-de3tz8ce.js} +6 -6
- package/dist/chunks/{location-services-dqxsqydv.js → vcs-dqxsqydv.js} +1 -1
- package/dist/chunks/{location-services-xfkkasph.js → vcs-drwq78ky.js} +4 -4
- package/dist/chunks/{location-services-278mzw34.js → vcs-e497y9d1.js} +9 -9
- package/dist/chunks/{location-services-2pqjgx71.js → vcs-e7w08kap.js} +32 -32
- package/dist/chunks/vcs-e7x5qhf1.js +513 -0
- package/dist/chunks/{location-services-e80seqcp.js → vcs-e80seqcp.js} +1 -1
- package/dist/chunks/{location-services-2j00ac8a.js → vcs-ec487xam.js} +16 -16
- package/dist/chunks/{location-services-wfsnrcf2.js → vcs-ecja6gpk.js} +3 -3
- package/dist/chunks/{location-services-eej6y6fw.js → vcs-eej6y6fw.js} +2 -2
- package/dist/chunks/{location-services-ef5x83kb.js → vcs-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-services-bzh6wz94.js → vcs-ev6xeesc.js} +11 -11
- package/dist/chunks/{location-services-htmqamza.js → vcs-ewcy99y7.js} +25 -25
- package/dist/chunks/{location-services-4s6xf1pa.js → vcs-eyn1arby.js} +53 -53
- package/dist/chunks/{location-services-3zjzsznw.js → vcs-f00h63f7.js} +28 -28
- package/dist/chunks/{location-services-r8xr0va3.js → vcs-f2n192rq.js} +4 -4
- package/dist/chunks/{location-services-fcy631f0.js → vcs-fcy631f0.js} +1 -1
- package/dist/chunks/{location-services-0d56ha6q.js → vcs-fkyvq0kx.js} +26 -26
- package/dist/chunks/{location-services-fn9t717r.js → vcs-fn9t717r.js} +3 -3
- package/dist/chunks/{location-services-khmqacep.js → vcs-fxaymqdw.js} +4 -4
- package/dist/chunks/{location-services-yqad5krn.js → vcs-g1kppfdc.js} +28 -28
- package/dist/chunks/{location-services-k82gsvwq.js → vcs-g72yd4k4.js} +12 -12
- package/dist/chunks/{location-services-z6171qj4.js → vcs-gcr4j17e.js} +34 -34
- package/dist/chunks/{location-services-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-services-br0e8tcs.js → vcs-gdvrp62c.js} +7 -7
- package/dist/chunks/{location-services-z6c3x22d.js → vcs-gj71zhbs.js} +5 -5
- package/dist/chunks/{location-services-548m99gt.js → vcs-gqmeawtn.js} +18 -18
- package/dist/chunks/{location-services-wc20fpmx.js → vcs-gxv64e4w.js} +15 -15
- package/dist/chunks/{location-services-70yx33t2.js → vcs-gz9sjfgx.js} +6 -6
- package/dist/chunks/{location-services-9c2ce4kp.js → vcs-gzx41zxb.js} +28 -28
- package/dist/chunks/{location-services-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-services-hgz4x7wa.js → vcs-hgz4x7wa.js} +1 -1
- package/dist/chunks/vcs-ht5y0zrb.js +18 -0
- package/dist/chunks/{location-services-n9s1y3ra.js → vcs-j0bxzt0p.js} +4 -4
- package/dist/chunks/{location-services-ysm8xkcf.js → vcs-j2s852az.js} +36 -36
- package/dist/chunks/{location-services-1tgfvtjy.js → vcs-j758eka2.js} +17 -17
- package/dist/chunks/{location-services-h8dg8d02.js → vcs-j9s0qvjv.js} +12 -12
- package/dist/chunks/{location-services-2b73xj9b.js → vcs-jf22arnf.js} +3 -3
- package/dist/chunks/{location-services-d0k1g5nx.js → vcs-jhf3jymm.js} +6 -6
- package/dist/chunks/{location-services-kw2spxn4.js → vcs-jj5ks10b.js} +2 -2
- package/dist/chunks/vcs-jwkxpzhb.js +257 -0
- package/dist/chunks/{location-services-5e8c4hth.js → vcs-jwrbm3d8.js} +16 -16
- package/dist/chunks/{location-services-fghpxytk.js → vcs-jxg22agt.js} +14 -14
- package/dist/chunks/{location-services-xk6vykwg.js → vcs-jypkjyjj.js} +149 -149
- package/dist/chunks/{location-services-s60aqfjt.js → vcs-k80zjrbm.js} +26 -26
- package/dist/chunks/{location-services-mnxc4h6z.js → vcs-kbgg0xp7.js} +25 -25
- package/dist/chunks/{location-services-89226jmx.js → vcs-kbs69a2x.js} +4 -4
- package/dist/chunks/{location-services-e5y4m074.js → vcs-kbvzwwv7.js} +11 -11
- package/dist/chunks/{location-services-y88c22bj.js → vcs-kqx1b4hy.js} +4 -4
- package/dist/chunks/{location-services-zysvs9g8.js → vcs-kr3za5q8.js} +37 -37
- package/dist/chunks/{location-services-v1szxf8c.js → vcs-ksqkdsfg.js} +27 -27
- package/dist/chunks/{location-services-vqvqkmng.js → vcs-kw0erqyq.js} +18 -18
- package/dist/chunks/{location-services-kwb1v3vj.js → vcs-kwb1v3vj.js} +1 -1
- package/dist/chunks/{location-services-zsb6ammf.js → vcs-kwztdq7h.js} +6 -6
- package/dist/chunks/{location-services-eahhehpg.js → vcs-kzc3h1h3.js} +4 -4
- package/dist/chunks/{location-services-rbynycgd.js → vcs-m27qakrx.js} +15 -15
- package/dist/chunks/{location-services-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-services-maspj1v3.js → vcs-maspj1v3.js} +1 -1
- package/dist/chunks/{location-services-qc2c1fqt.js → vcs-mm8g4k7x.js} +40 -40
- package/dist/chunks/{location-services-9sgsjpgv.js → vcs-mp6m6hpj.js} +11 -11
- package/dist/chunks/{location-services-rpsbzg2t.js → vcs-mq3zggt6.js} +24 -24
- package/dist/chunks/{location-services-kqv3x6rj.js → vcs-mv3hx7wz.js} +9 -9
- package/dist/chunks/{location-services-52tmw1jj.js → vcs-mwpybj7y.js} +12 -12
- package/dist/chunks/{location-services-x661k3y3.js → vcs-mxvxcxwy.js} +4 -4
- package/dist/chunks/{location-services-cygrsq30.js → vcs-my0tytnd.js} +25 -25
- package/dist/chunks/{location-services-rnhrd9ke.js → vcs-my4qtva3.js} +19 -19
- package/dist/chunks/{location-services-33qe6zx4.js → vcs-n1f7gktn.js} +32 -32
- package/dist/chunks/{location-services-ztak1syt.js → vcs-n8rrra3a.js} +9 -9
- package/dist/chunks/{location-services-tt34s15d.js → vcs-nrkkc40d.js} +89 -89
- package/dist/chunks/{location-services-h9wp8z5w.js → vcs-nxe4pcap.js} +4 -4
- package/dist/chunks/{location-services-9gf2ktjb.js → vcs-p1j52kwe.js} +8 -8
- package/dist/chunks/{location-services-9qgs4twx.js → vcs-p9p9s22a.js} +5 -5
- package/dist/chunks/{location-services-0rv9k1bd.js → vcs-pa2b1817.js} +47 -47
- package/dist/chunks/{location-services-5yzzbxa7.js → vcs-pa8pe2x7.js} +8 -8
- package/dist/chunks/{location-services-eegbd1nb.js → vcs-pgcq6gba.js} +10 -10
- package/dist/chunks/{location-services-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-services-pknna89w.js → vcs-pknna89w.js} +1 -1
- package/dist/chunks/{location-services-gnbn4h0h.js → vcs-pn9m0qmr.js} +2 -2
- package/dist/chunks/{location-services-7dbmnfn4.js → vcs-ppbmqrvr.js} +8 -8
- package/dist/chunks/{location-services-vr5k6743.js → vcs-ps6734b0.js} +15 -15
- package/dist/chunks/{location-services-6jcfgqfv.js → vcs-py94f0e0.js} +24 -24
- package/dist/chunks/{location-services-taj93ebv.js → vcs-pymsrck8.js} +16 -16
- package/dist/chunks/{location-services-bcrzxpkv.js → vcs-q0qjy1zt.js} +17 -17
- package/dist/chunks/{location-services-9m5zssg8.js → vcs-q4rtw0sm.js} +50 -50
- package/dist/chunks/{location-services-dmyw4w9k.js → vcs-q6cvmfpv.js} +11 -11
- package/dist/chunks/{location-services-1j8yzcpc.js → vcs-qf76qvkk.js} +5 -5
- package/dist/chunks/{location-services-7dqw4kz8.js → vcs-qgn6gcr1.js} +5 -5
- package/dist/chunks/{location-services-ny5mns9s.js → vcs-qkfkzs5q.js} +17 -17
- package/dist/chunks/{location-services-qnc92qwc.js → vcs-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-services-qsdy395h.js → vcs-qsdy395h.js} +1 -1
- package/dist/chunks/{location-services-bpdrcxe3.js → vcs-qzawr4c0.js} +43 -43
- package/dist/chunks/{location-services-tbznjfkf.js → vcs-r5tp3nbh.js} +4 -4
- package/dist/chunks/{location-services-bacj9t34.js → vcs-r70na3yp.js} +9 -9
- package/dist/chunks/{location-services-8zhzggcd.js → vcs-rd3e5ygt.js} +11 -11
- package/dist/chunks/{location-services-rdw6cm16.js → vcs-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-services-3ez2zsgj.js → vcs-regzcayk.js} +9 -9
- package/dist/chunks/{location-services-rert0e01.js → vcs-rert0e01.js} +2 -2
- package/dist/chunks/{location-services-s8d7rejh.js → vcs-rhjbct0v.js} +4 -4
- package/dist/chunks/{location-services-rj3eygr5.js → vcs-rj3eygr5.js} +2 -2
- package/dist/chunks/{location-services-py3kkmfq.js → vcs-rkprpv83.js} +2 -2
- package/dist/chunks/{location-services-5220mkhv.js → vcs-rnn4727b.js} +13 -13
- package/dist/chunks/{location-services-pby3wrs0.js → vcs-rqds5wzt.js} +16 -16
- package/dist/chunks/{location-services-sa8ekw3f.js → vcs-sa8ekw3f.js} +2 -2
- package/dist/chunks/{location-services-8waf3vza.js → vcs-sdkx3pjx.js} +51 -51
- package/dist/chunks/{location-services-s5btqgfz.js → vcs-sesj2hvf.js} +56 -56
- package/dist/chunks/{location-services-5r6s66xm.js → vcs-snhrfy7w.js} +24 -24
- package/dist/chunks/{location-services-dgym8gdj.js → vcs-ssprmpe5.js} +48 -48
- package/dist/chunks/{location-services-zy513mdr.js → vcs-sswp2h42.js} +11 -11
- package/dist/chunks/{location-services-grzrst1y.js → vcs-st8atvy4.js} +16 -16
- package/dist/chunks/{location-services-ssvhepmq.js → vcs-stwte7t7.js} +32 -32
- package/dist/chunks/{location-services-syv4x271.js → vcs-syv4x271.js} +1 -1
- package/dist/chunks/{location-services-jz10bmv8.js → vcs-t08z9s5h.js} +8 -8
- package/dist/chunks/{location-services-hy1va3t8.js → vcs-t0pyhqcw.js} +11 -11
- package/dist/chunks/{location-services-fayr1t93.js → vcs-t1n56gek.js} +72 -72
- package/dist/chunks/{location-services-ad746bsv.js → vcs-t7nkm7zy.js} +11 -11
- package/dist/chunks/{location-services-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-services-a0rzy1ew.js → vcs-tb2eav5j.js} +27 -27
- package/dist/chunks/{location-services-19rsyt1c.js → vcs-tcdv4xxx.js} +1 -1
- package/dist/chunks/{location-services-tdstcens.js → vcs-tdstcens.js} +1 -1
- package/dist/chunks/{location-services-62b6r9gt.js → vcs-tf57n56z.js} +14 -14
- package/dist/chunks/{location-services-tm0kqsz3.js → vcs-tm0kqsz3.js} +1 -1
- package/dist/chunks/{location-services-38596mmf.js → vcs-tprpskj3.js} +3 -3
- package/dist/chunks/{location-services-6anx6hye.js → vcs-tre5yt63.js} +8 -8
- package/dist/chunks/{location-services-sycxn284.js → vcs-trt0dew0.js} +20 -20
- package/dist/chunks/{location-services-s8n139ky.js → vcs-tx5fk5pn.js} +4 -4
- package/dist/chunks/{location-services-tyytaxap.js → vcs-tyytaxap.js} +1 -1
- package/dist/chunks/{location-services-rpg9c19m.js → vcs-tz4n1mmd.js} +4 -4
- package/dist/chunks/{location-services-btvs9fn2.js → vcs-v0es1rhs.js} +9 -9
- package/dist/chunks/{location-services-v7p4zvkq.js → vcs-v7p4zvkq.js} +2 -2
- package/dist/chunks/{location-services-vyq134yh.js → vcs-v9cgcx37.js} +28 -28
- package/dist/chunks/{location-services-veqvce7d.js → vcs-veqvce7d.js} +1 -1
- package/dist/chunks/{location-services-k1140vbz.js → vcs-vh1d1c6z.js} +17 -17
- package/dist/chunks/{location-services-sh5rpbpc.js → vcs-vrja8bfg.js} +1 -1
- package/dist/chunks/{location-services-vzs5sf6e.js → vcs-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-services-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-services-9w1af9qb.js → vcs-w6xajd1d.js} +22 -22
- package/dist/chunks/{location-services-kbckpb3k.js → vcs-w7xw82wb.js} +11 -11
- package/dist/chunks/{location-services-s7zbh9mg.js → vcs-wbzy543d.js} +25 -25
- package/dist/chunks/{location-services-wd87259q.js → vcs-wd87259q.js} +1 -1
- package/dist/chunks/{location-services-v6rz958s.js → vcs-wdk0efzn.js} +25 -25
- package/dist/chunks/{location-services-h9kwetak.js → vcs-wqffb857.js} +15 -15
- package/dist/chunks/{location-services-ah0p05m1.js → vcs-wt2f84b9.js} +4 -4
- package/dist/chunks/{location-services-vgr4p7dw.js → vcs-wtv33j88.js} +29 -29
- package/dist/chunks/{location-services-q3cd1dmr.js → vcs-x1bbg2xd.js} +13 -13
- package/dist/chunks/{location-services-mb2rzwp2.js → vcs-xa1ekjr5.js} +21 -21
- package/dist/chunks/vcs-xb6h6tjx.js +26 -0
- package/dist/chunks/{location-services-1ze76vsx.js → vcs-xbarvga5.js} +48 -48
- package/dist/chunks/{location-services-ydwws4tr.js → vcs-xset6v8e.js} +27 -27
- package/dist/chunks/{location-services-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-services-te4j4htj.js → vcs-y1kqc1p7.js} +31 -31
- package/dist/chunks/{location-services-h4x85t77.js → vcs-y4v5ah6d.js} +23 -23
- package/dist/chunks/{location-services-y71avatq.js → vcs-y71avatq.js} +1 -1
- package/dist/chunks/{location-services-1vpyt6w9.js → vcs-yh2wrcre.js} +18 -18
- package/dist/chunks/{location-services-djaw7b23.js → vcs-yw1yd8am.js} +11 -11
- package/dist/chunks/{location-services-5bdbc12f.js → vcs-yx0rmv9r.js} +6 -6
- package/dist/chunks/{location-services-degx4mba.js → vcs-yyjjzvwv.js} +28 -28
- package/dist/chunks/{location-services-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-services-8y5sne0z.js → vcs-z0c53cnc.js} +18 -18
- package/dist/chunks/{location-services-ntk88cs4.js → vcs-z1z60s25.js} +4 -4
- package/dist/chunks/{location-services-xdrba4jw.js → vcs-z3nay82g.js} +9 -9
- package/dist/chunks/{location-services-nk454yk1.js → vcs-z4rktwb2.js} +6 -6
- package/dist/chunks/{location-services-eswm4xzm.js → vcs-zae46mp4.js} +3 -3
- package/dist/chunks/{location-services-64j9cy2v.js → vcs-zbzfepeb.js} +4 -4
- package/dist/chunks/{location-services-zr2ceqn5.js → vcs-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-services-0xezjjjn.js → vcs-zrq8kphx.js} +8 -8
- package/dist/chunks/{location-services-34kgva51.js → vcs-zsaystjn.js} +17 -17
- package/dist/chunks/{location-services-zxq2ej10.js → vcs-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-services-7jyptewp.js → vcs-zz2r6mts.js} +26 -26
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +155 -155
- 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 +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +92 -92
- 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 +219 -219
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +108 -108
- 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 +93 -93
- 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 +359 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +356 -356
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +100 -100
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- 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 +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- 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 +91 -91
- 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 +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +157 -157
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +128 -128
- 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 +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- 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 +130 -130
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +211 -211
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +110 -110
- 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/types/account/sql.d.ts +3 -3
- package/dist/types/codemode/tool.d.ts +9 -9
- package/dist/types/config/discovery.d.ts +2 -2
- package/dist/types/config/plugin/entry-observer.d.ts +1 -1
- package/dist/types/config/plugin/instruction.d.ts +1 -1
- package/dist/types/config.d.ts +1 -1
- package/dist/types/credential/sql.d.ts +1 -1
- package/dist/types/database/drizzle/effect-sqlite/driver.d.ts +1 -1
- package/dist/types/database/migration/20260805200742_import_legacy_credentials.d.ts +1 -1
- package/dist/types/database/path.d.ts +16 -16
- package/dist/types/database/sqlite.bun.d.ts +1 -1
- package/dist/types/database/sqlite.node.d.ts +1 -1
- package/dist/types/database/sqlite.workerd.d.ts +1 -1
- package/dist/types/effect/websocket-constructor.d.ts +2 -1
- package/dist/types/environment/files.d.ts +1 -1
- package/dist/types/event/sql.d.ts +2 -2
- package/dist/types/file-mutation.d.ts +4 -3
- package/dist/types/filesystem.d.ts +1 -1
- package/dist/types/form.d.ts +55 -55
- package/dist/types/github-copilot/chat/openai-compatible-chat-language-model.d.ts +27 -27
- package/dist/types/github-copilot/responses/openai-responses-language-model.d.ts +80 -80
- package/dist/types/github-copilot/responses/tool/file-search.d.ts +1 -1
- package/dist/types/github-copilot/responses/tool/image-generation.d.ts +5 -5
- package/dist/types/github-copilot/responses/tool/web-search-preview.d.ts +1 -1
- package/dist/types/github-copilot/responses/tool/web-search.d.ts +1 -1
- package/dist/types/image/photon-wasm.workerd.d.ts +1 -1
- package/dist/types/image/photon.d.ts +5 -5
- package/dist/types/instance.d.ts +1 -1
- package/dist/types/integration.d.ts +257 -257
- package/dist/types/kv/sql.d.ts +1 -1
- package/dist/types/managed-policy.d.ts +2 -2
- package/dist/types/mcp/client.d.ts +74 -74
- package/dist/types/mcp/index.d.ts +1 -1
- package/dist/types/mime.d.ts +1 -1
- package/dist/types/model-resolver.d.ts +1 -1
- package/dist/types/model.d.ts +73 -73
- package/dist/types/permission/sql.d.ts +1 -1
- package/dist/types/permission.d.ts +1 -1
- package/dist/types/plugin/command.d.ts +1 -1
- package/dist/types/plugin/host.d.ts +2 -2
- package/dist/types/plugin/internal.d.ts +1 -1
- package/dist/types/plugin/module.d.ts +7 -7
- package/dist/types/plugin/provider/azure.d.ts +2 -2
- package/dist/types/plugin/provider/chatgpt.d.ts +2 -2
- package/dist/types/plugin/provider/digitalocean.d.ts +1 -1
- package/dist/types/plugin/provider/github-copilot.d.ts +2 -2
- package/dist/types/plugin/provider/gitlab.d.ts +1 -1
- package/dist/types/plugin/provider/lmstudio.d.ts +2 -2
- package/dist/types/plugin/provider/local.d.ts +3 -3
- package/dist/types/plugin/provider/ollama.d.ts +2 -2
- package/dist/types/plugin/provider/opencode.d.ts +1 -1
- package/dist/types/plugin/provider/poe.d.ts +1 -1
- package/dist/types/plugin/provider/snowflake-cortex.d.ts +1 -1
- package/dist/types/plugin/provider/vllm.d.ts +2 -2
- package/dist/types/plugin/supervisor.d.ts +2 -2
- package/dist/types/plugin/websearch/exa.d.ts +1 -1
- package/dist/types/plugin/websearch/firecrawl.d.ts +1 -1
- package/dist/types/plugin/websearch/index.d.ts +1 -1
- package/dist/types/plugin/websearch/mcp.d.ts +1 -1
- package/dist/types/plugin/websearch/parallel.d.ts +1 -1
- package/dist/types/plugin/websearch/tavily.d.ts +1 -1
- package/dist/types/plugin/websearch/tinyfish.d.ts +1 -1
- package/dist/types/project/sql.d.ts +75 -75
- package/dist/types/provider.d.ts +1 -1
- package/dist/types/session/command.d.ts +1 -1
- package/dist/types/session/compaction.d.ts +1 -1
- package/dist/types/session/diff.d.ts +1 -1
- package/dist/types/session/execution/restart.d.ts +1 -1
- package/dist/types/session/execution.d.ts +2 -2
- package/dist/types/session/generate.d.ts +1 -1
- package/dist/types/session/history.d.ts +826 -826
- package/dist/types/session/inbox.d.ts +110 -110
- package/dist/types/session/instruction-entry.d.ts +2 -2
- package/dist/types/session/instruction-state.d.ts +1 -1
- package/dist/types/session/model-request.d.ts +1 -1
- package/dist/types/session/prompt.d.ts +7 -7
- package/dist/types/session/revert.d.ts +1 -1
- package/dist/types/session/runner/index.d.ts +42 -46
- package/dist/types/session/runner/step.d.ts +86 -96
- package/dist/types/session/session.d.ts +27 -27
- package/dist/types/session/skill.d.ts +1 -1
- package/dist/types/session/sql.d.ts +139 -139
- package/dist/types/session/stats.d.ts +1 -1
- package/dist/types/session/store.d.ts +5 -5
- package/dist/types/session/subagent-completion.d.ts +1 -1
- package/dist/types/session/title.d.ts +1 -1
- package/dist/types/session/transfer.d.ts +26 -26
- package/dist/types/session.d.ts +5 -5
- package/dist/types/shell/result.d.ts +14 -14
- package/dist/types/state.d.ts +1 -1
- package/dist/types/tool/plugin/read.d.ts +2 -2
- package/dist/types/tool/plugin/shell.d.ts +1 -1
- package/dist/types/tool/plugin/skill.d.ts +1 -1
- package/dist/types/tool/plugin/webfetch.d.ts +1 -1
- package/dist/types/tool/read-filesystem.d.ts +4 -4
- package/dist/types/tool/runtime.d.ts +1 -1
- package/dist/types/util/error.d.ts +36 -32
- package/dist/types/v1/config/agent.d.ts +2 -2
- package/dist/types/v1/config/error.d.ts +51 -46
- package/dist/types/v1/config/migrate.d.ts +14 -14
- package/dist/types/v1/config/permission.d.ts +3 -3
- package/dist/types/wellknown.d.ts +4 -6
- package/dist/types/workspace/sql.d.ts +1 -1
- package/dist/types/worktree/git.d.ts +3 -3
- package/dist/types/worktree/sql.d.ts +1 -1
- 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 +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +9 -9
- package/dist/chunks/location-services-9sh4wc5j.js +0 -18
- package/dist/chunks/location-services-kd6e3p5z.js +0 -26
- package/dist/chunks/location-services-mwjx7n7y.js +0 -513
- package/dist/chunks/location-services-yy75bg6z.js +0 -257
- /package/dist/chunks/{location-services-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-services-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-services-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-services-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-services-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-services-24dcb14g.js → vcs-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-services-2710q6r3.js → vcs-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-services-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-services-2bv980vf.js → vcs-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-services-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-services-359p4xyc.js → vcs-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-services-3asan66x.js → vcs-3asan66x.js} +0 -0
- /package/dist/chunks/{location-services-3t0ybcrp.js → vcs-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{location-services-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-services-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-services-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-services-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-services-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-services-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-services-53557ph1.js → vcs-53557ph1.js} +0 -0
- /package/dist/chunks/{location-services-550bvhaj.js → vcs-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-services-6prwharc.js → vcs-6prwharc.js} +0 -0
- /package/dist/chunks/{location-services-6q2bdcd1.js → vcs-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-services-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-services-7m9af43g.js → vcs-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-services-822emrt2.js → vcs-822emrt2.js} +0 -0
- /package/dist/chunks/{location-services-84wd9syh.js → vcs-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-services-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-services-8n3pysct.js → vcs-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-services-8wj87zfr.js → vcs-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-services-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-services-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-services-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-services-af5trqkr.js → vcs-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-services-afrmfg78.js → vcs-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-services-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-services-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-services-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-services-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-services-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-services-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-services-d9fn303g.js → vcs-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-services-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-services-dajrwvna.js → vcs-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-services-dap0rakb.js → vcs-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-services-df08tz66.js → vcs-df08tz66.js} +0 -0
- /package/dist/chunks/{location-services-dy18nga0.js → vcs-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-services-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-services-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-services-ec1grn59.js → vcs-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-services-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-services-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-services-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-services-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-services-faypxj3z.js → vcs-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-services-fd410y7t.js → vcs-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-services-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-services-g86h250q.js → vcs-g86h250q.js} +0 -0
- /package/dist/chunks/{location-services-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-services-gftt206x.js → vcs-gftt206x.js} +0 -0
- /package/dist/chunks/{location-services-hcxmzztb.js → vcs-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-services-hk9envan.js → vcs-hk9envan.js} +0 -0
- /package/dist/chunks/{location-services-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-services-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-services-jjkms2e6.js → vcs-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-services-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-services-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-services-jze0r7bz.js → vcs-jze0r7bz.js} +0 -0
- /package/dist/chunks/{location-services-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-services-m18g726c.js → vcs-m18g726c.js} +0 -0
- /package/dist/chunks/{location-services-mp448xyj.js → vcs-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-services-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-services-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-services-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-services-njntx4h6.js → vcs-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-services-pkyv6v7h.js → vcs-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{location-services-pyv0edze.js → vcs-pyv0edze.js} +0 -0
- /package/dist/chunks/{location-services-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-services-q74kybfr.js → vcs-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-services-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-services-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-services-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-services-qg3g05ea.js → vcs-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-services-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-services-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-services-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-services-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-services-ve7vex1e.js → vcs-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-services-w803qqfp.js → vcs-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-services-wc3fc9cn.js → vcs-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-services-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-services-wjj7prxr.js → vcs-wjj7prxr.js} +0 -0
- /package/dist/chunks/{location-services-wtztk69x.js → vcs-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-services-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-services-x61499pn.js → vcs-x61499pn.js} +0 -0
- /package/dist/chunks/{location-services-y44na4kk.js → vcs-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-services-y8f7s663.js → vcs-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-services-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-services-ym463w8f.js → vcs-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-services-z5v4ffb3.js → vcs-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-services-z9919s4g.js → vcs-z9919s4g.js} +0 -0
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-7jsc1qpe.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service85,
|
|
7
|
+
node89
|
|
8
|
+
} from "./vcs-j9s0qvjv.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service37,
|
|
11
|
+
node39
|
|
12
|
+
} from "./vcs-jhf3jymm.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./vcs-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service83,
|
|
19
|
+
node87
|
|
20
|
+
} from "./vcs-ssprmpe5.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./vcs-st8atvy4.js";
|
|
24
24
|
import {
|
|
25
25
|
Service65,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
node68
|
|
27
|
+
} from "./vcs-p9p9s22a.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./vcs-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError7
|
|
33
|
+
} from "./vcs-gz9sjfgx.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./vcs-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service35
|
|
39
|
+
} from "./vcs-tz4n1mmd.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service61,
|
|
42
|
+
node64
|
|
43
|
+
} from "./vcs-rqds5wzt.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service36,
|
|
48
|
+
node38,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./vcs-y4v5ah6d.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service34,
|
|
53
|
+
node37
|
|
54
|
+
} from "./vcs-mm8g4k7x.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node29
|
|
57
|
+
} from "./vcs-6fh64ftw.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./vcs-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service25,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node28
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service25 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
91
|
+
const projects = yield* Service83;
|
|
92
92
|
const locations = yield* Service65;
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
93
|
+
const store = yield* Service61;
|
|
94
|
+
const execution = yield* Service34;
|
|
95
|
+
const instances = yield* Service37;
|
|
96
|
+
const admission = yield* Service36;
|
|
97
97
|
const database = yield* Service86;
|
|
98
|
-
const bus = yield*
|
|
98
|
+
const bus = yield* Service85;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError7({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service35.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service25.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node28 = makeGlobalNode({
|
|
167
|
+
service: Service25,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
172
|
+
node87,
|
|
173
|
+
node68,
|
|
174
|
+
node64,
|
|
175
|
+
node37,
|
|
176
|
+
node39,
|
|
177
|
+
node38,
|
|
178
178
|
node90,
|
|
179
|
-
|
|
180
|
-
|
|
179
|
+
node89,
|
|
180
|
+
node29
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service25, node28, exports_move };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./vcs-st8atvy4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./vcs-c44mjgcb.js";
|
|
7
7
|
import {
|
|
8
8
|
Service14,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
12
|
-
import {
|
|
13
|
-
Service21
|
|
14
|
-
} from "./location-services-fzg7cpa7.js";
|
|
11
|
+
} from "./vcs-gdvrp62c.js";
|
|
15
12
|
import {
|
|
16
13
|
Service66
|
|
17
|
-
} from "./
|
|
14
|
+
} from "./vcs-1a430sh5.js";
|
|
15
|
+
import {
|
|
16
|
+
Service60
|
|
17
|
+
} from "./vcs-cv00cvbs.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service51,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./vcs-z0c53cnc.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./vcs-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./vcs-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
33
|
Input: () => Input4,
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
34
|
+
Output: () => Output2,
|
|
35
|
+
Plugin: () => Plugin5,
|
|
36
36
|
name: () => name4
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
@@ -50,7 +50,7 @@ var Input4 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output2 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -190,21 +190,21 @@ var countBefore = (positions, offset) => {
|
|
|
190
190
|
}
|
|
191
191
|
return low;
|
|
192
192
|
};
|
|
193
|
-
var
|
|
193
|
+
var Plugin5 = {
|
|
194
194
|
id: "opencode.tool.edit",
|
|
195
195
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
196
|
-
const access = yield*
|
|
196
|
+
const access = yield* Service51;
|
|
197
197
|
const fileMutation = yield* Service14;
|
|
198
|
-
const environment = yield*
|
|
199
|
-
const formatter = yield*
|
|
200
|
-
const location = yield*
|
|
201
|
-
const permission = yield*
|
|
198
|
+
const environment = yield* Service80;
|
|
199
|
+
const formatter = yield* Service66;
|
|
200
|
+
const location = yield* Service82;
|
|
201
|
+
const permission = yield* Service60;
|
|
202
202
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
203
203
|
name: name4,
|
|
204
204
|
options: { codemode: false, permission: "edit" },
|
|
205
205
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
206
206
|
input: Input4,
|
|
207
|
-
output:
|
|
207
|
+
output: Output2,
|
|
208
208
|
execute: (input, context) => {
|
|
209
209
|
return Effect.gen(function* () {
|
|
210
210
|
const permissionSource = {
|
|
@@ -276,4 +276,4 @@ var Plugin21 = {
|
|
|
276
276
|
})
|
|
277
277
|
};
|
|
278
278
|
|
|
279
|
-
export { name4, Input4,
|
|
279
|
+
export { name4, Input4, Output2, Plugin5, exports_edit };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86,
|
|
6
6
|
node90
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-7jsc1qpe.js";
|
|
8
|
+
import {
|
|
9
|
+
Service85,
|
|
10
|
+
node89
|
|
11
|
+
} from "./vcs-j9s0qvjv.js";
|
|
8
12
|
import {
|
|
9
13
|
Service84,
|
|
10
14
|
node88
|
|
11
|
-
} from "./
|
|
12
|
-
import {
|
|
13
|
-
Service81,
|
|
14
|
-
node85
|
|
15
|
-
} from "./location-services-k82gsvwq.js";
|
|
15
|
+
} from "./vcs-g72yd4k4.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID18,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info29,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./vcs-v0es1rhs.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./vcs-rj3eygr5.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./vcs-sa8ekw3f.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./vcs-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: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID17,
|
|
40
|
+
Info: () => Info28,
|
|
41
|
+
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service83,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node87,
|
|
47
47
|
root: () => root2,
|
|
48
48
|
sweepNode: () => sweepNode2
|
|
49
49
|
});
|
|
@@ -56,14 +56,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
56
56
|
import { AppProcess } from "@opencode/util/process";
|
|
57
57
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
58
58
|
import { Hash } from "@opencode/util/hash";
|
|
59
|
-
var
|
|
59
|
+
var ID17 = ID18;
|
|
60
60
|
var Vcs2 = Vcs3;
|
|
61
61
|
var Current2 = Current3;
|
|
62
|
-
var
|
|
62
|
+
var Info28 = Info29;
|
|
63
63
|
var UpdateInput3 = UpdateInput4;
|
|
64
64
|
|
|
65
|
-
class
|
|
66
|
-
projectID:
|
|
65
|
+
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
66
|
+
projectID: ID17
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
69
69
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -74,7 +74,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
74
74
|
var ACTIVATE_INTERVAL = 60000;
|
|
75
75
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service83 extends Context.Service()("@opencode/Project") {
|
|
78
78
|
}
|
|
79
79
|
function fromRow(row) {
|
|
80
80
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -98,11 +98,11 @@ function fromRow(row) {
|
|
|
98
98
|
sandboxes: row.sandboxes
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
|
-
const git = yield*
|
|
103
|
+
const git = yield* Service84;
|
|
104
104
|
const proc = yield* AppProcess.Service;
|
|
105
|
-
const bus = yield*
|
|
105
|
+
const bus = yield* Service85;
|
|
106
106
|
const db = (yield* Service86).db;
|
|
107
107
|
const announcing = new Set;
|
|
108
108
|
const persist = Effect.fnUntraced(function* (project) {
|
|
@@ -112,7 +112,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
112
112
|
const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
|
|
113
113
|
const changed = replaced ?? unarchived;
|
|
114
114
|
if (changed)
|
|
115
|
-
yield* bus.publish(
|
|
115
|
+
yield* bus.publish(Event21.Updated, fromRow(changed));
|
|
116
116
|
if (!project.vcs)
|
|
117
117
|
return project;
|
|
118
118
|
const directories = [
|
|
@@ -148,7 +148,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
148
148
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
149
149
|
projectID: item.projectID,
|
|
150
150
|
directory: item.directory,
|
|
151
|
-
previous: project.previous ??
|
|
151
|
+
previous: project.previous ?? ID17.global,
|
|
152
152
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
153
153
|
}, {
|
|
154
154
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -171,9 +171,9 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
171
171
|
time_updated: Date.now()
|
|
172
172
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
173
173
|
if (!row)
|
|
174
|
-
return yield* new
|
|
174
|
+
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
175
175
|
const project = fromRow(row);
|
|
176
|
-
yield* bus.publish(
|
|
176
|
+
yield* bus.publish(Event21.Updated, project);
|
|
177
177
|
return project;
|
|
178
178
|
});
|
|
179
179
|
const activated = new Map;
|
|
@@ -184,10 +184,10 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
184
184
|
activated.set(projectID, now);
|
|
185
185
|
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);
|
|
186
186
|
if (row)
|
|
187
|
-
yield* bus.publish(
|
|
187
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
188
188
|
});
|
|
189
189
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
190
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
190
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
191
191
|
return;
|
|
192
192
|
}));
|
|
193
193
|
});
|
|
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
198
198
|
const normalized = url(origin);
|
|
199
199
|
if (!normalized)
|
|
200
200
|
return;
|
|
201
|
-
return
|
|
201
|
+
return ID17.make(Hash.fast(`git-remote:${normalized}`));
|
|
202
202
|
});
|
|
203
203
|
function url(input) {
|
|
204
204
|
const value = input.trim();
|
|
@@ -223,7 +223,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
223
223
|
}
|
|
224
224
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
225
225
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
226
|
-
return root ?
|
|
226
|
+
return root ? ID17.make(root) : undefined;
|
|
227
227
|
});
|
|
228
228
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
229
229
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
239
239
|
return;
|
|
240
240
|
const node = result.stdout.toString("utf8").split(`
|
|
241
241
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
242
|
-
return node ?
|
|
242
|
+
return node ? ID17.make(node) : undefined;
|
|
243
243
|
});
|
|
244
244
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
245
245
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -248,7 +248,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
248
248
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
249
249
|
return {
|
|
250
250
|
previous,
|
|
251
|
-
id: id ??
|
|
251
|
+
id: id ?? ID17.global,
|
|
252
252
|
directory: worktree,
|
|
253
253
|
vcs: { type: "hg", store }
|
|
254
254
|
};
|
|
@@ -265,7 +265,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
265
265
|
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));
|
|
266
266
|
return yield* persist({
|
|
267
267
|
previous,
|
|
268
|
-
id: id ??
|
|
268
|
+
id: id ?? ID17.global,
|
|
269
269
|
directory: repo.worktree,
|
|
270
270
|
canonical,
|
|
271
271
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -279,7 +279,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
279
279
|
});
|
|
280
280
|
}
|
|
281
281
|
return yield* persist({
|
|
282
|
-
id:
|
|
282
|
+
id: ID17.make(Hash.fast(`directory:${directory}`)),
|
|
283
283
|
directory,
|
|
284
284
|
canonical: directory,
|
|
285
285
|
vcs: undefined
|
|
@@ -288,7 +288,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
288
288
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
289
289
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
290
290
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
291
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
291
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID17.global))).all().pipe(Effect.orDie);
|
|
292
292
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
293
293
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
294
294
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -301,23 +301,23 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
301
301
|
return;
|
|
302
302
|
const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
|
|
303
303
|
if (row)
|
|
304
|
-
yield* bus.publish(
|
|
304
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
305
305
|
}), { concurrency: 8, discard: true });
|
|
306
306
|
});
|
|
307
|
-
return
|
|
307
|
+
return Service83.of({ list, update, activate, resolve, sweep });
|
|
308
308
|
}));
|
|
309
|
-
var
|
|
310
|
-
service:
|
|
309
|
+
var node87 = makeGlobalNode({
|
|
310
|
+
service: Service83,
|
|
311
311
|
layer,
|
|
312
|
-
deps: [
|
|
312
|
+
deps: [node89, node90, FSUtil.node, node88, AppProcess.node]
|
|
313
313
|
});
|
|
314
314
|
var sweepNode2 = makeGlobalNode({
|
|
315
315
|
name: "project-archive-sweep",
|
|
316
316
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
317
|
-
const project = yield*
|
|
317
|
+
const project = yield* Service83;
|
|
318
318
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
319
319
|
})),
|
|
320
|
-
deps: [
|
|
320
|
+
deps: [node87]
|
|
321
321
|
});
|
|
322
322
|
|
|
323
|
-
export {
|
|
323
|
+
export { ID17, Vcs2, Current2, Info28, UpdateInput3, NotFoundError11, root2, Service83, node87, sweepNode2, exports_project };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./vcs-mq3zggt6.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/agent.ts
|
|
11
11
|
var exports_agent = {};
|
|
12
12
|
__export(exports_agent, {
|
|
13
13
|
AgentPlugin: () => exports_agent,
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin30
|
|
15
15
|
});
|
|
16
16
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
17
17
|
import { Effect } from "effect";
|
|
@@ -81,7 +81,7 @@ Rules:
|
|
|
81
81
|
- Never ask questions or add new questions
|
|
82
82
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
83
83
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
84
|
-
var
|
|
84
|
+
var Plugin30 = define({
|
|
85
85
|
id: "opencode.agent",
|
|
86
86
|
effect: Effect.fn(function* (ctx) {
|
|
87
87
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -91,32 +91,32 @@ var Plugin17 = define({
|
|
|
91
91
|
item.mode = "primary";
|
|
92
92
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
93
93
|
});
|
|
94
|
-
editor.update(
|
|
94
|
+
editor.update(ID8.make("general"), (item) => {
|
|
95
95
|
item.name = Name3.make("General");
|
|
96
96
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
97
97
|
item.mode = "subagent";
|
|
98
98
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
99
99
|
});
|
|
100
|
-
editor.update(
|
|
100
|
+
editor.update(ID8.make("explore"), (item) => {
|
|
101
101
|
item.name = Name3.make("Explore");
|
|
102
102
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
103
103
|
item.system = PROMPT_EXPLORE;
|
|
104
104
|
item.mode = "subagent";
|
|
105
105
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
|
|
106
106
|
});
|
|
107
|
-
editor.update(
|
|
107
|
+
editor.update(ID8.make("compaction"), (item) => {
|
|
108
108
|
item.name = Name3.make("Compaction");
|
|
109
109
|
item.mode = "primary";
|
|
110
110
|
item.hidden = true;
|
|
111
111
|
});
|
|
112
|
-
editor.update(
|
|
112
|
+
editor.update(ID8.make("title"), (item) => {
|
|
113
113
|
item.name = Name3.make("Title");
|
|
114
114
|
item.mode = "primary";
|
|
115
115
|
item.hidden = true;
|
|
116
116
|
item.system = PROMPT_TITLE;
|
|
117
117
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
118
118
|
});
|
|
119
|
-
editor.update(
|
|
119
|
+
editor.update(ID8.make("summary"), (item) => {
|
|
120
120
|
item.name = Name3.make("Summary");
|
|
121
121
|
item.mode = "primary";
|
|
122
122
|
item.hidden = true;
|
|
@@ -127,4 +127,4 @@ var Plugin17 = define({
|
|
|
127
127
|
})
|
|
128
128
|
});
|
|
129
129
|
|
|
130
|
-
export {
|
|
130
|
+
export { Plugin30, exports_agent };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./vcs-ssprmpe5.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info27,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref4,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service82,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node86,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info27, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service82 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node86 = LayerNode.unbound(Service82, tags.values.location);
|
|
27
|
+
var layer = (ref) => Layer.effect(Service82, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service83;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory);
|
|
30
|
-
return
|
|
30
|
+
return Service82.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service79, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service82,
|
|
39
39
|
layer: layer(ref),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node87]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info27, Ref4, response2, Service82, node86, boundNode2, exports_location };
|