@opencode/core 0.0.0-dev-20521 → 0.0.0-dev-20523
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{location-activity-en6vk7kh.js → vcs-00c9h3yh.js} +28 -28
- package/dist/chunks/{location-activity-a3c7ahw6.js → vcs-0a1yp5ev.js} +4 -4
- package/dist/chunks/{location-activity-bxjbhrgj.js → vcs-0b83k0qn.js} +5 -5
- package/dist/chunks/{location-activity-wkm1v3rg.js → vcs-0f2k15r0.js} +19 -19
- package/dist/chunks/{location-activity-fq0k09qp.js → vcs-0n6s3he6.js} +17 -17
- package/dist/chunks/{location-activity-0paq2nw3.js → vcs-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-activity-160scmv2.js → vcs-0v2qpmda.js} +43 -43
- package/dist/chunks/{location-activity-0vbcp93d.js → vcs-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-activity-q58p899m.js → vcs-0w8wvs1r.js} +8 -8
- package/dist/chunks/{location-activity-8gj5hy41.js → vcs-143vszks.js} +11 -11
- package/dist/chunks/{location-activity-ewyax98d.js → vcs-154fjpss.js} +8 -8
- package/dist/chunks/{location-activity-w1v59pe1.js → vcs-15jxxpks.js} +35 -35
- package/dist/chunks/{location-activity-4551vydq.js → vcs-17gjvyxf.js} +22 -22
- package/dist/chunks/{location-activity-r8xr0va3.js → vcs-1acjjqhc.js} +4 -4
- package/dist/chunks/{location-activity-s4nntvmh.js → vcs-1avcv9p8.js} +29 -29
- package/dist/chunks/{location-activity-1dazxqgg.js → vcs-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-activity-1dvck2a7.js → vcs-1dvck2a7.js} +2 -2
- package/dist/chunks/{location-activity-7sc99g37.js → vcs-1kfk229s.js} +32 -32
- package/dist/chunks/{location-activity-e6y7vv2n.js → vcs-1x3tt5d7.js} +16 -16
- package/dist/chunks/{location-activity-rw34hyyf.js → vcs-1xpf0exr.js} +15 -15
- package/dist/chunks/{location-activity-jyh3tc31.js → vcs-1xsx8vwt.js} +23 -23
- package/dist/chunks/{location-activity-ezkf672b.js → vcs-1ysz3b88.js} +49 -49
- package/dist/chunks/{location-activity-k0hp4vmt.js → vcs-1yzcjwqk.js} +181 -181
- package/dist/chunks/{location-activity-n3m3k3m8.js → vcs-263mmtss.js} +54 -54
- package/dist/chunks/{location-activity-rt043p7b.js → vcs-273heg4k.js} +3 -3
- package/dist/chunks/{location-activity-2a5m3afh.js → vcs-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-activity-zrq8kphx.js → vcs-2eegacq4.js} +8 -8
- package/dist/chunks/{location-activity-0j9anxys.js → vcs-2fsnkaeb.js} +10 -10
- package/dist/chunks/{location-activity-28svkdeb.js → vcs-2pqkge4e.js} +9 -9
- package/dist/chunks/{location-activity-4864cdyv.js → vcs-2rvt81jv.js} +8 -8
- package/dist/chunks/{location-activity-kzxncgwt.js → vcs-2tsvqd0c.js} +23 -23
- package/dist/chunks/{location-activity-6kzp9tjq.js → vcs-2xdh0w28.js} +5 -5
- package/dist/chunks/{location-activity-ww0jdshn.js → vcs-30pk4ngn.js} +11 -11
- package/dist/chunks/{location-activity-wyv8bs3b.js → vcs-3318eyp5.js} +3 -3
- package/dist/chunks/{location-activity-1ygqh575.js → vcs-33w4ejhs.js} +6 -6
- package/dist/chunks/{location-activity-9t0ctetm.js → vcs-39vpe6qw.js} +21 -21
- package/dist/chunks/{location-activity-rgre93k7.js → vcs-3etjgs1z.js} +316 -316
- package/dist/chunks/{location-activity-3fc6dm20.js → vcs-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-activity-98c1vh8m.js → vcs-3fp39bc5.js} +7 -7
- package/dist/chunks/{location-activity-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-activity-4n607a2z.js → vcs-3qaj82j9.js} +5 -5
- package/dist/chunks/{location-activity-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-activity-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-activity-68hbh74y.js → vcs-3xqy4ymt.js} +22 -22
- package/dist/chunks/{location-activity-3zsf4n22.js → vcs-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-activity-r5k95fb4.js → vcs-41ssepmq.js} +11 -11
- package/dist/chunks/{location-activity-7pv3en3p.js → vcs-437mn6c1.js} +24 -24
- package/dist/chunks/{location-activity-3vtc4pgb.js → vcs-4dmfh7tm.js} +10 -10
- package/dist/chunks/{location-activity-xq3dk71y.js → vcs-4fdg3v2k.js} +9 -9
- package/dist/chunks/{location-activity-r9w3djhf.js → vcs-4jyvzrab.js} +9 -9
- package/dist/chunks/{location-activity-c2w9nh9f.js → vcs-4rev9cvp.js} +15 -15
- package/dist/chunks/{location-activity-9anxccrj.js → vcs-4rrjew3c.js} +44 -44
- package/dist/chunks/{location-activity-4ts7tf6z.js → vcs-4ts7tf6z.js} +2 -2
- package/dist/chunks/{location-activity-pfpzmfy3.js → vcs-4w0k5wea.js} +10 -10
- package/dist/chunks/{location-activity-pb9wnr0k.js → vcs-4y5cztj8.js} +26 -26
- package/dist/chunks/{location-activity-cs30bwkd.js → vcs-52f2jrtr.js} +15 -15
- package/dist/chunks/{location-activity-54ma36ye.js → vcs-54ma36ye.js} +1 -1
- package/dist/chunks/{location-activity-yar1mcnj.js → vcs-58rdqtcw.js} +34 -34
- package/dist/chunks/{location-activity-5daktx2q.js → vcs-5daktx2q.js} +1 -1
- package/dist/chunks/{location-activity-dmbmpn6h.js → vcs-5f3z425y.js} +57 -57
- package/dist/chunks/{location-activity-g6yfr6ja.js → vcs-5fykfdj7.js} +5 -5
- package/dist/chunks/{location-activity-qbv95z2b.js → vcs-5g992y3e.js} +17 -17
- package/dist/chunks/{location-activity-5t3nmthw.js → vcs-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-activity-f1n1je73.js → vcs-642sd9r2.js} +22 -22
- package/dist/chunks/{location-activity-g2y161wv.js → vcs-64s65d1n.js} +8 -8
- package/dist/chunks/{location-activity-e75k7gt1.js → vcs-652g5ww1.js} +24 -24
- package/dist/chunks/{location-activity-669tq793.js → vcs-669tq793.js} +1 -1
- package/dist/chunks/{location-activity-twsfbymt.js → vcs-698jedh3.js} +20 -20
- package/dist/chunks/{location-activity-s3qvcq0a.js → vcs-6e2c24zy.js} +33 -33
- package/dist/chunks/{location-activity-gs3arnfd.js → vcs-6nn06123.js} +19 -19
- package/dist/chunks/{location-activity-txn989v4.js → vcs-6qkjgc87.js} +9 -9
- package/dist/chunks/{location-activity-mvkj911g.js → vcs-6qm8nm6h.js} +33 -33
- package/dist/chunks/{location-activity-9yswjp79.js → vcs-6tfrbyrn.js} +29 -29
- package/dist/chunks/{location-activity-71az546q.js → vcs-71az546q.js} +2 -2
- package/dist/chunks/{location-activity-yq8dak3p.js → vcs-72ct2ksy.js} +48 -48
- package/dist/chunks/{location-activity-eq1pz5kg.js → vcs-73tb2d7t.js} +3 -3
- package/dist/chunks/{location-activity-evg9512y.js → vcs-75jaekcr.js} +11 -11
- package/dist/chunks/{location-activity-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-activity-5wzag2z6.js → vcs-7f5fnqp2.js} +7 -7
- package/dist/chunks/{location-activity-wv95tysd.js → vcs-7h0e419p.js} +1 -1
- package/dist/chunks/{location-activity-atpkxcjq.js → vcs-7pgd7918.js} +41 -41
- package/dist/chunks/{location-activity-w1eejvng.js → vcs-84txncab.js} +5 -5
- package/dist/chunks/{location-activity-691xqr4y.js → vcs-875tjbvc.js} +5 -5
- package/dist/chunks/{location-activity-89rvcjqs.js → vcs-89rvcjqs.js} +3 -3
- package/dist/chunks/{location-activity-tcezcvh9.js → vcs-89znhe33.js} +4 -4
- package/dist/chunks/{location-activity-m4afetfz.js → vcs-8bqprwpq.js} +19 -19
- package/dist/chunks/{location-activity-8d7r5vzw.js → vcs-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-activity-rj252jhe.js → vcs-8dnd3zn1.js} +88 -88
- package/dist/chunks/{location-activity-h1dds5vx.js → vcs-8jnczxdz.js} +5 -5
- package/dist/chunks/{location-activity-pcqce75p.js → vcs-8m5xe4tx.js} +6 -6
- package/dist/chunks/{location-activity-40wf16dd.js → vcs-8nn5nyt2.js} +44 -44
- package/dist/chunks/{location-activity-jmh888fr.js → vcs-8qyfkx8k.js} +16 -16
- package/dist/chunks/{location-activity-m89858wj.js → vcs-8whp40kv.js} +3 -3
- package/dist/chunks/{location-activity-kwmtrvkt.js → vcs-8xd7pg9c.js} +10 -10
- package/dist/chunks/{location-activity-r2bszs7a.js → vcs-8zp34bdd.js} +12 -12
- package/dist/chunks/{location-activity-fwfdmgk0.js → vcs-96te9d4b.js} +5 -5
- package/dist/chunks/{location-activity-py5e2b36.js → vcs-98d9cgwq.js} +24 -24
- package/dist/chunks/{location-activity-0nh6kzyg.js → vcs-9dmf3jht.js} +5 -5
- package/dist/chunks/{location-activity-9e5bzkjp.js → vcs-9e5bzkjp.js} +3 -3
- package/dist/chunks/{location-activity-df2wbre9.js → vcs-9pd3a9ej.js} +72 -72
- package/dist/chunks/{location-activity-azz24fzd.js → vcs-9rzbrnek.js} +32 -32
- package/dist/chunks/{location-activity-2nhms0n3.js → vcs-9zdhcr13.js} +58 -58
- package/dist/chunks/vcs-9zdhvgqs.js +18 -0
- package/dist/chunks/{location-activity-hd3y20fa.js → vcs-a9myb2xz.js} +37 -37
- package/dist/chunks/{location-activity-aaet6srn.js → vcs-aaet6srn.js} +2 -2
- package/dist/chunks/{location-activity-raf959tk.js → vcs-anpxxvvk.js} +11 -11
- package/dist/chunks/{location-activity-rdmbyq3e.js → vcs-apm9d5pk.js} +4 -4
- package/dist/chunks/{location-activity-zzh1kv67.js → vcs-asjhz5jz.js} +8 -8
- package/dist/chunks/{location-activity-zctryyn5.js → vcs-atpksgz1.js} +8 -8
- package/dist/chunks/{location-activity-1y7mca2y.js → vcs-ay23zzs3.js} +35 -35
- package/dist/chunks/{location-activity-wkp4k51m.js → vcs-ayrfqrmp.js} +11 -11
- package/dist/chunks/{location-activity-9szwjyee.js → vcs-b34sdxkh.js} +8 -8
- package/dist/chunks/{location-activity-qespzq9h.js → vcs-b58yghq3.js} +36 -36
- package/dist/chunks/{location-activity-b6gygkdw.js → vcs-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-activity-3dyrv95m.js → vcs-bfh2072t.js} +20 -20
- package/dist/chunks/{location-activity-evv3dzvs.js → vcs-bmyw6ydg.js} +26 -26
- package/dist/chunks/{location-activity-v0fcw5g9.js → vcs-bws3grwa.js} +5 -5
- package/dist/chunks/{location-activity-ywhkxfss.js → vcs-bzawqrey.js} +4 -4
- package/dist/chunks/{location-activity-wp1ncj2v.js → vcs-c0wyzfrh.js} +28 -28
- package/dist/chunks/vcs-c2rqwj43.js +253 -0
- package/dist/chunks/{location-activity-sfwtkxz8.js → vcs-c34wdaxc.js} +18 -18
- package/dist/chunks/{location-activity-1hgyh5xj.js → vcs-c6fqm3pf.js} +27 -27
- package/dist/chunks/{location-activity-8sze2n9a.js → vcs-cfsekr6v.js} +6 -6
- package/dist/chunks/{location-activity-5yzzbxa7.js → vcs-cmwkp3r5.js} +8 -8
- package/dist/chunks/{location-activity-4k26tt2c.js → vcs-cvd0t7zh.js} +22 -22
- package/dist/chunks/{location-activity-r2m716tb.js → vcs-cwa6csj7.js} +9 -9
- package/dist/chunks/{location-activity-w7srsw53.js → vcs-d3d03f5w.js} +6 -6
- package/dist/chunks/{location-activity-4pg6v30t.js → vcs-d7x58568.js} +23 -23
- package/dist/chunks/{location-activity-vd1y1hms.js → vcs-dddf77t3.js} +12 -12
- package/dist/chunks/{location-activity-jy6n4x97.js → vcs-dfjxtsf9.js} +11 -11
- package/dist/chunks/{location-activity-6bnezdwd.js → vcs-dj8dytcn.js} +51 -51
- package/dist/chunks/{location-activity-a3ynkskz.js → vcs-dr3cfjye.js} +13 -13
- package/dist/chunks/{location-activity-m2g6eass.js → vcs-dsgjd3rn.js} +3 -3
- package/dist/chunks/{location-activity-77m0p7r2.js → vcs-dy50r7f0.js} +29 -29
- package/dist/chunks/{location-activity-aw6ckkaw.js → vcs-dypdtx22.js} +7 -7
- package/dist/chunks/{location-activity-7v81x33d.js → vcs-e0378qy6.js} +9 -9
- package/dist/chunks/{location-activity-fp5441vb.js → vcs-e5245gfw.js} +18 -18
- package/dist/chunks/{location-activity-edrmdtr5.js → vcs-edrmdtr5.js} +1 -1
- package/dist/chunks/{location-activity-ef5x83kb.js → vcs-ef5x83kb.js} +1 -1
- package/dist/chunks/vcs-ekaexw2z.js +507 -0
- package/dist/chunks/{location-activity-4zaxszxh.js → vcs-emy2mr0p.js} +14 -14
- package/dist/chunks/{location-activity-kmbm8s16.js → vcs-engz9tk1.js} +10 -10
- package/dist/chunks/{location-activity-t5zdfcg6.js → vcs-eqzw3791.js} +10 -10
- package/dist/chunks/{location-activity-rrfqxz7e.js → vcs-ert91amk.js} +8 -8
- package/dist/chunks/{location-activity-30tes4bs.js → vcs-esmd944f.js} +17 -17
- package/dist/chunks/{location-activity-etq0c3wd.js → vcs-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-activity-1z0xnmzn.js → vcs-ezy85fdf.js} +32 -32
- package/dist/chunks/{location-activity-3sj8yt8v.js → vcs-f29mbr7f.js} +4 -4
- package/dist/chunks/{location-activity-6ysrkrkr.js → vcs-f5gy8qwh.js} +8 -8
- package/dist/chunks/{location-activity-x8snrdqj.js → vcs-fe5va1gq.js} +18 -18
- package/dist/chunks/{location-activity-58qd9brx.js → vcs-g34qytme.js} +13 -13
- package/dist/chunks/{location-activity-0rvxctrv.js → vcs-g53b9crq.js} +10 -10
- package/dist/chunks/{location-activity-xfkkasph.js → vcs-g5w8qwbj.js} +4 -4
- package/dist/chunks/{location-activity-x5w19dj0.js → vcs-g60qacmp.js} +6 -6
- package/dist/chunks/{location-activity-k1vbp5vp.js → vcs-g8w68j7a.js} +24 -24
- package/dist/chunks/{location-activity-fcdty1ra.js → vcs-g99bb5tx.js} +19 -19
- package/dist/chunks/{location-activity-4nve2rnj.js → vcs-gb88hfpn.js} +3 -3
- package/dist/chunks/{location-activity-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-activity-xdjjd8je.js → vcs-gfmgy62m.js} +28 -28
- package/dist/chunks/{location-activity-fe9yc616.js → vcs-gg1q1rgs.js} +40 -40
- package/dist/chunks/{location-activity-c01nkytp.js → vcs-gh5z95q3.js} +9 -9
- package/dist/chunks/{location-activity-db2wf4at.js → vcs-gqtdsdt7.js} +4 -4
- package/dist/chunks/{location-activity-axw8psg0.js → vcs-gy16a72j.js} +5 -5
- package/dist/chunks/{location-activity-h2b79v29.js → vcs-h2b79v29.js} +2 -2
- package/dist/chunks/{location-activity-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-activity-7ksze7ve.js → vcs-ha3enmw3.js} +22 -22
- package/dist/chunks/{location-activity-rmfgnaan.js → vcs-ha3s5v70.js} +47 -47
- package/dist/chunks/{location-activity-tp1cmem0.js → vcs-hvr28mne.js} +11 -11
- package/dist/chunks/{location-activity-8awxj94f.js → vcs-j0qpe3xs.js} +13 -13
- package/dist/chunks/{location-activity-j56e64zr.js → vcs-j56e64zr.js} +1 -1
- package/dist/chunks/{location-activity-tjedn1bk.js → vcs-j5rxtxht.js} +4 -4
- package/dist/chunks/{location-activity-93wx4btr.js → vcs-j6f1xn30.js} +11 -11
- package/dist/chunks/{location-activity-92pkkjkx.js → vcs-jh6se4gm.js} +13 -13
- package/dist/chunks/{location-activity-nthpf047.js → vcs-jk03ymz1.js} +13 -13
- package/dist/chunks/{location-activity-xcp1w62v.js → vcs-jpvtfgsr.js} +18 -18
- package/dist/chunks/{location-activity-ep3pq24z.js → vcs-k017qpd0.js} +9 -9
- package/dist/chunks/{location-activity-f73rjn58.js → vcs-kne8f3cn.js} +4 -4
- package/dist/chunks/{location-activity-kvvk39gs.js → vcs-kvvk39gs.js} +1 -1
- package/dist/chunks/{location-activity-4f62khv0.js → vcs-kxd45bf8.js} +6 -6
- package/dist/chunks/{location-activity-74cdqdj4.js → vcs-kym3tbjm.js} +9 -9
- package/dist/chunks/{location-activity-xdnz35gs.js → vcs-m2rmbrrw.js} +4 -4
- package/dist/chunks/{location-activity-m3fdjcah.js → vcs-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-activity-s8ne19c9.js → vcs-m3pq9nvw.js} +11 -11
- package/dist/chunks/{location-activity-yhysz8aj.js → vcs-m3qcfrsh.js} +16 -16
- package/dist/chunks/{location-activity-1saa9w2b.js → vcs-m6peh6cd.js} +19 -19
- package/dist/chunks/{location-activity-yep97pyq.js → vcs-m8835y2n.js} +15 -15
- package/dist/chunks/{location-activity-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-activity-19jk5r44.js → vcs-mk899n6x.js} +6 -6
- package/dist/chunks/{location-activity-9gea571p.js → vcs-mx9vqzsb.js} +6 -6
- package/dist/chunks/{location-activity-1c9fxvqt.js → vcs-n47yxx3n.js} +32 -32
- package/dist/chunks/{location-activity-k8h7fr5j.js → vcs-ngcyadx4.js} +45 -45
- package/dist/chunks/{location-activity-5n6f22tt.js → vcs-ns33pmaz.js} +3 -3
- package/dist/chunks/{location-activity-dpkg50ah.js → vcs-nxm207yx.js} +4 -4
- package/dist/chunks/{location-activity-v3mm3c9w.js → vcs-p4vte420.js} +25 -25
- package/dist/chunks/{location-activity-k0dn768s.js → vcs-p5p5kne1.js} +2 -2
- package/dist/chunks/{location-activity-t5ykwrj9.js → vcs-p6czjpb3.js} +33 -33
- package/dist/chunks/{location-activity-h1jr262y.js → vcs-p9zzjwz0.js} +14 -14
- package/dist/chunks/{location-activity-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-activity-pknna89w.js → vcs-pknna89w.js} +1 -1
- package/dist/chunks/{location-activity-as7cf5zz.js → vcs-pkqb68ka.js} +4 -4
- package/dist/chunks/{location-activity-1ae0fb0f.js → vcs-psn196xm.js} +36 -36
- package/dist/chunks/{location-activity-fbqjtz0c.js → vcs-pvpz454p.js} +13 -13
- package/dist/chunks/{location-activity-15cj8qrs.js → vcs-px5rzwm9.js} +24 -24
- package/dist/chunks/{location-activity-9mhdh3s2.js → vcs-q05af3em.js} +20 -20
- package/dist/chunks/{location-activity-q0xm7vwc.js → vcs-q0xm7vwc.js} +2 -2
- package/dist/chunks/{location-activity-pvbzzedf.js → vcs-q781ceqg.js} +25 -25
- package/dist/chunks/{location-activity-hqa377zx.js → vcs-q86e9bsp.js} +11 -11
- package/dist/chunks/{location-activity-m32k1dn8.js → vcs-qbfvtt5h.js} +18 -18
- package/dist/chunks/{location-activity-aqz60ka6.js → vcs-qbt3t408.js} +2 -2
- package/dist/chunks/{location-activity-7dqw4kz8.js → vcs-qgn6gcr1.js} +5 -5
- package/dist/chunks/{location-activity-qnc92qwc.js → vcs-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-activity-f1k3hqn9.js → vcs-qqjzd42y.js} +1 -1
- package/dist/chunks/{location-activity-qsdy395h.js → vcs-qsdy395h.js} +1 -1
- package/dist/chunks/{location-activity-qxjc9qry.js → vcs-qxjc9qry.js} +3 -3
- package/dist/chunks/{location-activity-qygbw77c.js → vcs-qygbw77c.js} +2 -2
- package/dist/chunks/vcs-r1as3zj2.js +26 -0
- package/dist/chunks/{location-activity-22dwcya1.js → vcs-r71n597x.js} +3 -3
- package/dist/chunks/{location-activity-c4gwav79.js → vcs-r8518j31.js} +11 -11
- package/dist/chunks/{location-activity-hr3asgbz.js → vcs-r9pkg3wj.js} +22 -22
- package/dist/chunks/{location-activity-rdw6cm16.js → vcs-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-activity-n2thn3nx.js → vcs-rk1r2hx8.js} +1 -1
- package/dist/chunks/{location-activity-3v7fz22j.js → vcs-rn39wzk6.js} +25 -25
- package/dist/chunks/{location-activity-xa33e9e0.js → vcs-rtk327b3.js} +13 -13
- package/dist/chunks/{location-activity-n27a7nb2.js → vcs-rzs3gq0x.js} +8 -8
- package/dist/chunks/{location-activity-zqy94ts4.js → vcs-s6vagn1s.js} +96 -96
- package/dist/chunks/{location-activity-rvg7fvdb.js → vcs-sm4ranxy.js} +11 -11
- package/dist/chunks/{location-activity-1j3dgyx5.js → vcs-sv59d8wy.js} +17 -17
- package/dist/chunks/{location-activity-fmdv976f.js → vcs-t4dttzpk.js} +9 -9
- package/dist/chunks/{location-activity-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-activity-b0tb73q3.js → vcs-tbnf0mzz.js} +38 -38
- package/dist/chunks/{location-activity-tdstcens.js → vcs-tdstcens.js} +1 -1
- package/dist/chunks/{location-activity-s9jw59ev.js → vcs-tn76sa66.js} +27 -27
- package/dist/chunks/{location-activity-r57psfea.js → vcs-twtpbk14.js} +29 -29
- package/dist/chunks/{location-activity-as4zy6vm.js → vcs-v2p4rfxw.js} +6 -6
- package/dist/chunks/{location-activity-nj5d45w8.js → vcs-v5mwb5nv.js} +24 -24
- package/dist/chunks/{location-activity-98vraqt9.js → vcs-v6eqk4q9.js} +14 -14
- package/dist/chunks/{location-activity-veqvce7d.js → vcs-veqvce7d.js} +1 -1
- package/dist/chunks/{location-activity-mnyyh52c.js → vcs-vg24h9cg.js} +6 -6
- package/dist/chunks/{location-activity-vzcthcp8.js → vcs-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-activity-vzs5sf6e.js → vcs-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-activity-1dkcmh1t.js → vcs-w1bc1hs8.js} +8 -8
- package/dist/chunks/{location-activity-jyq4wy3w.js → vcs-w1sywbce.js} +19 -19
- package/dist/chunks/{location-activity-pd12hwc5.js → vcs-w347braj.js} +24 -24
- package/dist/chunks/{location-activity-01tx8f53.js → vcs-w3bk7c2d.js} +36 -36
- package/dist/chunks/{location-activity-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-activity-s5w3pd96.js → vcs-waza03q7.js} +19 -19
- package/dist/chunks/{location-activity-wd87259q.js → vcs-wd87259q.js} +1 -1
- package/dist/chunks/{location-activity-w0kqh2my.js → vcs-whzv333q.js} +5 -5
- package/dist/chunks/{location-activity-adbzb285.js → vcs-wkwj6cw5.js} +11 -11
- package/dist/chunks/{location-activity-rhjbct0v.js → vcs-wv396vej.js} +8 -8
- package/dist/chunks/{location-activity-x1ezjp6w.js → vcs-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-activity-zgnngwqk.js → vcs-x7ypjh20.js} +12 -12
- package/dist/chunks/{location-activity-sfepvqeg.js → vcs-x87d2c5t.js} +35 -35
- package/dist/chunks/{location-activity-qsaz8ezt.js → vcs-x8xp47jc.js} +35 -35
- package/dist/chunks/{location-activity-tvvjd900.js → vcs-xaccx4pc.js} +5 -5
- package/dist/chunks/{location-activity-n76pv0kn.js → vcs-xagkhdgg.js} +15 -15
- package/dist/chunks/{location-activity-e2tmtcte.js → vcs-xdax5pw4.js} +24 -24
- package/dist/chunks/{location-activity-y202wsz6.js → vcs-xf7k239c.js} +7 -7
- package/dist/chunks/{location-activity-dmqcgk4z.js → vcs-xkntkrq7.js} +5 -5
- package/dist/chunks/{location-activity-1pkjp48q.js → vcs-xkq4qhjg.js} +4 -4
- package/dist/chunks/{location-activity-3zyhkej9.js → vcs-xry2b1cq.js} +30 -30
- package/dist/chunks/{location-activity-afjydgk3.js → vcs-xs53z2pm.js} +4 -4
- package/dist/chunks/{location-activity-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-activity-vzdd8svv.js → vcs-y1n096b6.js} +27 -27
- package/dist/chunks/{location-activity-zxqvfsh3.js → vcs-y1ztjnch.js} +21 -21
- package/dist/chunks/{location-activity-x327rsa8.js → vcs-y4xh0pmk.js} +9 -9
- package/dist/chunks/{location-activity-3wp60njz.js → vcs-ygnv88eq.js} +4 -4
- package/dist/chunks/{location-activity-a7hcjh87.js → vcs-yjfktaj5.js} +12 -12
- package/dist/chunks/{location-activity-rag26639.js → vcs-yjg24re3.js} +28 -28
- package/dist/chunks/{location-activity-d9shzvfq.js → vcs-yq9f48r1.js} +3 -3
- package/dist/chunks/{location-activity-yrhqyw5v.js → vcs-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-activity-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-activity-q3hpcm59.js → vcs-z249rqtp.js} +30 -30
- package/dist/chunks/{location-activity-nandancc.js → vcs-z6fm47wz.js} +8 -8
- package/dist/chunks/{location-activity-3gd3w2pg.js → vcs-zac3hdf5.js} +20 -20
- package/dist/chunks/{location-activity-999aqn6p.js → vcs-znge2k26.js} +9 -9
- package/dist/chunks/{location-activity-zr2ceqn5.js → vcs-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-activity-zxq2ej10.js → vcs-zxq2ej10.js} +1 -1
- 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 +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- 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 +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 +102 -102
- 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 +115 -115
- package/dist/config/plugin/websearch.js +115 -115
- 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 +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- 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 +76 -76
- 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 +94 -94
- 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 +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +8 -8
- 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 +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- 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 +5 -5
- 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 +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +99 -99
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +80 -80
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- 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 +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- 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/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- 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 +4 -4
- 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 +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- 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 +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- 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 +133 -133
- 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 +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- 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 +2 -2
- 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 +73 -73
- package/dist/session/store.js +87 -87
- 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 +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +126 -126
- 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 +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +208 -208
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +120 -120
- 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 +14 -14
- 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 +3 -3
- package/dist/v1/config/command.js +1 -1
- 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 +1 -1
- 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 +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- 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/location-activity-g1p6fzp9.js +0 -26
- package/dist/chunks/location-activity-ht5y0zrb.js +0 -18
- package/dist/chunks/location-activity-kpht16y1.js +0 -507
- package/dist/chunks/location-activity-ygxrzp7v.js +0 -253
- /package/dist/chunks/{location-activity-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-activity-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-activity-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-activity-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-activity-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-activity-24dcb14g.js → vcs-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-activity-2710q6r3.js → vcs-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-activity-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-activity-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-activity-34c7v6d4.js → vcs-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-activity-359p4xyc.js → vcs-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-activity-3asan66x.js → vcs-3asan66x.js} +0 -0
- /package/dist/chunks/{location-activity-3t0ybcrp.js → vcs-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{location-activity-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-activity-3w5fmr99.js → vcs-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-activity-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-activity-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-activity-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-activity-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-activity-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-activity-53557ph1.js → vcs-53557ph1.js} +0 -0
- /package/dist/chunks/{location-activity-550bvhaj.js → vcs-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-activity-5qd3pb7m.js → vcs-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-activity-6prwharc.js → vcs-6prwharc.js} +0 -0
- /package/dist/chunks/{location-activity-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-activity-7m9af43g.js → vcs-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-activity-822emrt2.js → vcs-822emrt2.js} +0 -0
- /package/dist/chunks/{location-activity-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-activity-8n3pysct.js → vcs-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-activity-8wj87zfr.js → vcs-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-activity-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-activity-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-activity-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-activity-af5trqkr.js → vcs-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-activity-afrmfg78.js → vcs-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-activity-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-activity-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-activity-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-activity-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-activity-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-activity-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-activity-d9fn303g.js → vcs-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-activity-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-activity-dajrwvna.js → vcs-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-activity-dap0rakb.js → vcs-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-activity-df08tz66.js → vcs-df08tz66.js} +0 -0
- /package/dist/chunks/{location-activity-dy18nga0.js → vcs-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-activity-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-activity-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-activity-ec1grn59.js → vcs-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-activity-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-activity-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-activity-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-activity-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-activity-faypxj3z.js → vcs-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-activity-fd410y7t.js → vcs-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-activity-fxgpk5d8.js → vcs-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-activity-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-activity-g86h250q.js → vcs-g86h250q.js} +0 -0
- /package/dist/chunks/{location-activity-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-activity-gftt206x.js → vcs-gftt206x.js} +0 -0
- /package/dist/chunks/{location-activity-hjbc5kem.js → vcs-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-activity-hk9envan.js → vcs-hk9envan.js} +0 -0
- /package/dist/chunks/{location-activity-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-activity-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-activity-jjkms2e6.js → vcs-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-activity-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-activity-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-activity-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-activity-mp448xyj.js → vcs-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-activity-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-activity-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-activity-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-activity-njntx4h6.js → vcs-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-activity-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-activity-q74kybfr.js → vcs-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-activity-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-activity-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-activity-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-activity-qg3g05ea.js → vcs-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-activity-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-activity-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-activity-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-activity-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-activity-w803qqfp.js → vcs-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-activity-wc3fc9cn.js → vcs-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-activity-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-activity-wtztk69x.js → vcs-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-activity-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-activity-x61499pn.js → vcs-x61499pn.js} +0 -0
- /package/dist/chunks/{location-activity-y44na4kk.js → vcs-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-activity-y8cydn3q.js → vcs-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-activity-y8f7s663.js → vcs-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-activity-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-activity-ym463w8f.js → vcs-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-activity-z5v4ffb3.js → vcs-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-activity-z9919s4g.js → vcs-z9919s4g.js} +0 -0
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service59
|
|
3
|
+
} from "./vcs-98d9cgwq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service13,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-j0qpe3xs.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service18
|
|
11
|
+
} from "./vcs-xagkhdgg.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service73
|
|
14
|
+
} from "./vcs-9zdhcr13.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service16
|
|
17
|
+
} from "./vcs-c34wdaxc.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./vcs-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./vcs-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
28
|
+
Input: () => Input8,
|
|
29
29
|
Output: () => Output5,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin9,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name8,
|
|
33
|
+
toModelContent: () => toModelContent5
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name8 = "write";
|
|
39
|
+
var Input8 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
@@ -48,24 +48,24 @@ var Output5 = Schema.Struct({
|
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin9 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service16;
|
|
56
|
+
const fileMutation = yield* Service13;
|
|
57
|
+
const environment = yield* Service59;
|
|
58
|
+
const formatter = yield* Service18;
|
|
59
|
+
const permission = yield* Service73;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name8,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
68
|
+
input: Input8,
|
|
69
69
|
output: Output5,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name8, Input8, Output5, toModelContent5, Plugin9, exports_write };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./vcs-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-qnc92qwc.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-h2b79v29.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./vcs-emy2mr0p.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-dfjxtsf9.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service78,
|
|
11
|
+
node82
|
|
12
|
+
} from "./vcs-1x3tt5d7.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-9zdhvgqs.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service39,
|
|
18
|
+
node42
|
|
19
|
+
} from "./vcs-cvd0t7zh.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node21
|
|
22
|
+
} from "./vcs-waza03q7.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service12,
|
|
25
|
+
node14
|
|
26
|
+
} from "./vcs-cwa6csj7.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./vcs-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
32
|
var exports_location_watcher = {};
|
|
33
33
|
__export(exports_location_watcher, {
|
|
34
34
|
LocationWatcher: () => exports_location_watcher,
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
Service: () => Service8,
|
|
36
|
+
node: () => node10
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service8 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
48
|
-
const bus = yield*
|
|
45
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service78;
|
|
47
|
+
const watcher = yield* Service39;
|
|
48
|
+
const bus = yield* Service83;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service80;
|
|
51
|
+
const policy = yield* Service12;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service8.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node10 = makeLocationNode({
|
|
106
|
+
service: Service8,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node42, FSUtil.node, node82, node84, node87, node21, node14]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service8, node10, exports_location_watcher };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node83
|
|
4
|
+
} from "./vcs-8nn5nyt2.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: () => Service78,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node82,
|
|
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 Service78 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node82 = LayerNode.unbound(Service78, tags.values.location);
|
|
27
|
+
var layer = (ref) => Layer.effect(Service78, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service79;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory);
|
|
30
|
-
return
|
|
30
|
+
return Service78.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(Service74, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service78,
|
|
39
39
|
layer: layer(ref),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node83]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info27, Ref4, response2, Service78, node82, boundNode2, exports_location };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./vcs-1x3tt5d7.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service38
|
|
9
|
+
} from "./vcs-1ysz3b88.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service20
|
|
12
|
+
} from "./vcs-698jedh3.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./vcs-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin37
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin37 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service38;
|
|
34
|
+
const location = yield* Service78;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service20;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin38 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin37, exports_worktree };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-ns33pmaz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./vcs-emy2mr0p.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service45
|
|
9
|
+
} from "./vcs-mx9vqzsb.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-z5v4ffb3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID5,
|
|
15
|
+
Service54
|
|
16
|
+
} from "./vcs-n47yxx3n.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./vcs-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./vcs-8m5xe4tx.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./vcs-9e5bzkjp.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./vcs-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -41,12 +41,12 @@ __export(exports_revert, {
|
|
|
41
41
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
43
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
44
|
-
const instances = yield*
|
|
44
|
+
const instances = yield* Service45;
|
|
45
45
|
const database = yield* Service84;
|
|
46
|
-
const bus = yield*
|
|
46
|
+
const bus = yield* Service83;
|
|
47
47
|
return yield* Effect.gen(function* () {
|
|
48
|
-
const snapshot = yield*
|
|
49
|
-
const original = input.session.revert?.snapshot ?
|
|
48
|
+
const snapshot = yield* Service54;
|
|
49
|
+
const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
50
50
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
51
51
|
const restore = new Map;
|
|
52
52
|
if (original) {
|
|
@@ -73,13 +73,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
73
73
|
}).pipe(instances.provide(input.session));
|
|
74
74
|
});
|
|
75
75
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
76
|
-
const instances = yield*
|
|
77
|
-
const bus = yield*
|
|
76
|
+
const instances = yield* Service45;
|
|
77
|
+
const bus = yield* Service83;
|
|
78
78
|
yield* Effect.gen(function* () {
|
|
79
|
-
const snapshot = yield*
|
|
79
|
+
const snapshot = yield* Service54;
|
|
80
80
|
if (!session.revert)
|
|
81
81
|
return;
|
|
82
|
-
const original = session.revert.snapshot ?
|
|
82
|
+
const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
|
|
83
83
|
if (original)
|
|
84
84
|
yield* snapshot.restore({
|
|
85
85
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -110,7 +110,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
110
110
|
continue;
|
|
111
111
|
for (const file of message.snapshot.files ?? [])
|
|
112
112
|
if (!files.has(file))
|
|
113
|
-
files.set(file,
|
|
113
|
+
files.set(file, ID5.make(message.snapshot.start));
|
|
114
114
|
}
|
|
115
115
|
return files;
|
|
116
116
|
});
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./vcs-emy2mr0p.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event15,
|
|
7
|
+
Service67,
|
|
8
|
+
node71
|
|
9
|
+
} from "./vcs-6qm8nm6h.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service39,
|
|
12
|
+
node42
|
|
13
|
+
} from "./vcs-cvd0t7zh.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./vcs-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service78,
|
|
19
|
+
node82
|
|
20
|
+
} from "./vcs-1x3tt5d7.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./vcs-4ts7tf6z.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./vcs-dr3cfjye.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
names3,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./vcs-2fsnkaeb.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./vcs-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service41,
|
|
36
|
+
Event8,
|
|
37
|
+
node44
|
|
38
|
+
} from "./vcs-0f2k15r0.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./vcs-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options5,
|
|
48
|
+
Service: () => Service38,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured5,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer16,
|
|
53
|
+
node: () => node41,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options5 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service38 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service38, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
|
-
const location = yield*
|
|
97
|
-
const watcher = yield*
|
|
98
|
-
const bus = yield*
|
|
99
|
-
const credentials = yield*
|
|
96
|
+
const location = yield* Service78;
|
|
97
|
+
const watcher = yield* Service39;
|
|
98
|
+
const bus = yield* Service83;
|
|
99
|
+
const credentials = yield* Service67;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service41;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -167,7 +167,7 @@ var layer18 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
167
167
|
});
|
|
168
168
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
169
169
|
return [
|
|
170
|
-
...yield* Effect.forEach(
|
|
170
|
+
...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
171
171
|
new Directory({ type: "directory", path: directory })
|
|
172
172
|
];
|
|
173
173
|
});
|
|
@@ -221,8 +221,8 @@ var layer18 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
221
221
|
}, (effect) => reloadLock.withPermit(effect));
|
|
222
222
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
223
223
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
224
|
-
yield* bus.subscribe(
|
|
225
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
225
|
+
yield* bus.subscribe(Event8.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
227
227
|
if (!wellknown.snapshot().length)
|
|
228
228
|
return Effect.void;
|
|
@@ -235,7 +235,7 @@ var layer18 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
235
235
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
236
236
|
const update = Effect.fn("Config.update")(function* (patch) {
|
|
237
237
|
const directory = initial.global ?? AbsolutePath2.make(globalService.config);
|
|
238
|
-
const candidates =
|
|
238
|
+
const candidates = names3.map((name) => path.join(directory, name));
|
|
239
239
|
const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
|
|
240
240
|
const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
|
|
241
241
|
`;
|
|
@@ -250,7 +250,7 @@ var layer18 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service38.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -262,13 +262,13 @@ var layer18 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
262
262
|
update
|
|
263
263
|
});
|
|
264
264
|
}));
|
|
265
|
-
function
|
|
265
|
+
function configured5(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
267
|
+
service: Service38,
|
|
268
|
+
layer: layer16(options),
|
|
269
|
+
deps: [node42, node87, FSUtil.node, Global.node, node82, node71, node44]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node41 = configured5();
|
|
273
273
|
|
|
274
|
-
export { latest2,
|
|
274
|
+
export { latest2, Options5, Service38, Test2, testLayer2, layer16, configured5, node41, exports_config };
|