@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,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node86
|
|
4
|
+
} from "./vcs-mk899n6x.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionMessage2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-gftt206x.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-8whp40kv.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/job.ts
|
|
16
16
|
var exports_job = {};
|
|
17
17
|
__export(exports_job, {
|
|
18
18
|
Job: () => exports_job,
|
|
19
|
-
Service: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
node: () =>
|
|
19
|
+
Service: () => Service47,
|
|
20
|
+
make: () => make19,
|
|
21
|
+
node: () => node49
|
|
22
22
|
});
|
|
23
23
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
24
24
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -48,7 +48,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
48
48
|
var backgroundPrefix = "job.background/";
|
|
49
49
|
var COMPLETED_LIMIT = 25;
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service47 extends Context.Service()("@opencode/Job") {
|
|
52
52
|
}
|
|
53
53
|
function snapshot(job) {
|
|
54
54
|
return {
|
|
@@ -83,7 +83,7 @@ function decrementSession(input, sessionID) {
|
|
|
83
83
|
next.set(sessionID, count - 1);
|
|
84
84
|
return next;
|
|
85
85
|
}
|
|
86
|
-
var
|
|
86
|
+
var make19 = Effect.gen(function* () {
|
|
87
87
|
const kv = yield* Service82;
|
|
88
88
|
const state = {
|
|
89
89
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
@@ -342,7 +342,7 @@ var make21 = Effect.gen(function* () {
|
|
|
342
342
|
next.delete(entry[0]);
|
|
343
343
|
return next;
|
|
344
344
|
})));
|
|
345
|
-
return
|
|
345
|
+
return Service47.of({
|
|
346
346
|
get,
|
|
347
347
|
start,
|
|
348
348
|
wait,
|
|
@@ -354,7 +354,7 @@ var make21 = Effect.gen(function* () {
|
|
|
354
354
|
completeBackground
|
|
355
355
|
});
|
|
356
356
|
});
|
|
357
|
-
var layer = Layer.effect(
|
|
358
|
-
var
|
|
357
|
+
var layer = Layer.effect(Service47, make19);
|
|
358
|
+
var node49 = makeGlobalNode({ service: Service47, layer, deps: [node86] });
|
|
359
359
|
|
|
360
|
-
export {
|
|
360
|
+
export { Service47, make19, node49, exports_job };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-wv396vej.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-9e5bzkjp.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./vcs-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./vcs-emy2mr0p.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service71,
|
|
7
|
+
node75
|
|
8
|
+
} from "./vcs-00c9h3yh.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service79,
|
|
11
|
+
node83
|
|
12
|
+
} from "./vcs-8nn5nyt2.js";
|
|
13
13
|
import {
|
|
14
14
|
Ref4,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service78,
|
|
16
|
+
node82
|
|
17
|
+
} from "./vcs-1x3tt5d7.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./vcs-t4dttzpk.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./vcs-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service73,
|
|
26
|
+
node77
|
|
27
|
+
} from "./vcs-9zdhcr13.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service69,
|
|
30
|
+
node73
|
|
31
|
+
} from "./vcs-jpvtfgsr.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./vcs-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service68,
|
|
41
|
+
node: () => node72
|
|
42
42
|
});
|
|
43
43
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service68 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
51
|
-
const bus = yield*
|
|
52
|
-
const location = yield*
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
56
|
-
const project = yield*
|
|
50
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
51
|
+
const bus = yield* Service83;
|
|
52
|
+
const location = yield* Service78;
|
|
53
|
+
const permission = yield* Service73;
|
|
54
|
+
const forms = yield* Service71;
|
|
55
|
+
const rpc = yield* Service69;
|
|
56
|
+
const project = yield* Service79;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
59
59
|
const unsubscribe = yield* bus.listen((event) => {
|
|
@@ -75,15 +75,15 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
75
75
|
location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
76
76
|
});
|
|
77
77
|
}).pipe(Effect.uninterruptible));
|
|
78
|
-
return
|
|
78
|
+
return Service68.of({
|
|
79
79
|
isClosed: () => closed,
|
|
80
80
|
shutdown
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
84
|
-
service:
|
|
83
|
+
var node72 = makeLocationNode({
|
|
84
|
+
service: Service68,
|
|
85
85
|
layer,
|
|
86
|
-
deps: [
|
|
86
|
+
deps: [node87, node82, node77, node83, node75, node73]
|
|
87
87
|
});
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Service68, node72, exports_location_lifecycle };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service48,
|
|
3
|
+
node51
|
|
4
|
+
} from "./vcs-4rrjew3c.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-8whp40kv.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/session/runner/model.ts
|
|
13
13
|
var exports_model = {};
|
|
14
14
|
__export(exports_model, {
|
|
15
15
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
16
16
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service46,
|
|
18
18
|
SessionRunnerModel: () => exports_model,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node48,
|
|
20
20
|
resolved: () => resolved2
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service46 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
43
43
|
}
|
|
44
44
|
var resolved2 = (model, options) => ({
|
|
45
45
|
model,
|
|
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
|
|
|
54
54
|
compaction: options.compaction,
|
|
55
55
|
transport: options.transport
|
|
56
56
|
});
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const resolver = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
58
|
+
const resolver = yield* Service48;
|
|
59
|
+
return Service46.of({
|
|
60
60
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
61
61
|
if (!session.model) {
|
|
62
62
|
const resolved = yield* resolver.resolve();
|
|
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
}));
|
|
77
|
-
var
|
|
77
|
+
var node48 = makeLocationNode({ service: Service46, layer, deps: [node51] });
|
|
78
78
|
|
|
79
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
79
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service46, resolved2, node48, exports_model };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-4dmfh7tm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./vcs-emy2mr0p.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID9,
|
|
9
9
|
OAuth3,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Event15,
|
|
11
|
+
Service67
|
|
12
|
+
} from "./vcs-6qm8nm6h.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-gqtdsdt7.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID8,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-p6czjpb3.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID7,
|
|
22
22
|
mergeOverlay2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./vcs-3etjgs1z.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID4,
|
|
26
26
|
VariantID2,
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info13
|
|
28
|
+
} from "./vcs-b58yghq3.js";
|
|
29
29
|
import {
|
|
30
30
|
success2,
|
|
31
31
|
error2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./vcs-pjvnvgmy.js";
|
|
33
33
|
|
|
34
34
|
// src/plugin/provider/chatgpt.ts
|
|
35
35
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -41,8 +41,8 @@ var issuer = "https://auth.openai.com";
|
|
|
41
41
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
42
42
|
var resource = "https://api.openai.com/v1";
|
|
43
43
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
44
|
-
var providerID =
|
|
45
|
-
var integrationID =
|
|
44
|
+
var providerID = ID7.openai;
|
|
45
|
+
var integrationID = ID8.make("openai");
|
|
46
46
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
47
47
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
48
48
|
var fallbackModels = new Set([
|
|
@@ -171,8 +171,8 @@ function listen(server) {
|
|
|
171
171
|
var ChatGPTPlugin2 = define({
|
|
172
172
|
id: "opencode.provider.chatgpt",
|
|
173
173
|
effect: Effect.fn(function* (ctx) {
|
|
174
|
-
const bus = yield*
|
|
175
|
-
const credentials = yield*
|
|
174
|
+
const bus = yield* Service83;
|
|
175
|
+
const credentials = yield* Service67;
|
|
176
176
|
const loading = Semaphore.makeUnsafe(1);
|
|
177
177
|
let chatgpt;
|
|
178
178
|
let available;
|
|
@@ -194,7 +194,7 @@ var ChatGPTPlugin2 = define({
|
|
|
194
194
|
yield* ctx.integration.transform((editor) => {
|
|
195
195
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
196
196
|
});
|
|
197
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
197
|
+
yield* Effect.forEach(yield* credentials.list(ID8.make("openai")), (entry) => {
|
|
198
198
|
const value = entry.value;
|
|
199
199
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
200
200
|
return Effect.void;
|
|
@@ -259,7 +259,7 @@ var ChatGPTPlugin2 = define({
|
|
|
259
259
|
});
|
|
260
260
|
const refreshModels = Effect.fn("ChatGPTPlugin.refreshModels")(function* () {
|
|
261
261
|
const connection = source;
|
|
262
|
-
const credential = connection?.type === "credential" ? (yield* credentials.get(
|
|
262
|
+
const credential = connection?.type === "credential" ? (yield* credentials.get(ID9.make(connection.id)))?.value : undefined;
|
|
263
263
|
if (credential?.type !== "oauth" || credential.methodID !== methodID || credential.expires <= Date.now() + 60000)
|
|
264
264
|
return;
|
|
265
265
|
const metadata = Option.getOrUndefined(decodeMetadata(credential.metadata));
|
|
@@ -279,7 +279,7 @@ var ChatGPTPlugin2 = define({
|
|
|
279
279
|
}));
|
|
280
280
|
});
|
|
281
281
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload()))).pipe(Effect.andThen(refreshModels().pipe(Effect.forkScoped, Effect.asVoid)));
|
|
282
|
-
yield* bus.subscribe(
|
|
282
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
283
283
|
yield* refreshModels().pipe(Effect.forkScoped);
|
|
284
284
|
yield* Effect.sleep(Duration.minutes(15)).pipe(Effect.andThen(refreshModels), Effect.forever, Effect.forkScoped);
|
|
285
285
|
})
|
|
@@ -338,7 +338,7 @@ function deriveModels2(remote, existing) {
|
|
|
338
338
|
const found = byID.get(model.modelID);
|
|
339
339
|
return found ? [deriveModel(found, model)] : [];
|
|
340
340
|
}),
|
|
341
|
-
...remote.filter((model) => !known.has(
|
|
341
|
+
...remote.filter((model) => !known.has(ID4.make(model.slug))).map((model) => deriveModel(model, Info13.default(ID7.openai, ID4.make(model.slug))))
|
|
342
342
|
];
|
|
343
343
|
}
|
|
344
344
|
function deriveModel(remote, previous) {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service80,
|
|
6
6
|
node84
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-dfjxtsf9.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-84txncab.js";
|
|
14
14
|
import {
|
|
15
15
|
Service82,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
node86
|
|
17
|
+
} from "./vcs-mk899n6x.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./vcs-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service50,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node53,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service50 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service80;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
109
|
const kv = yield* Service82;
|
|
110
|
-
return
|
|
110
|
+
return Service50.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse4(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse4(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node53 = makeGlobalNode({
|
|
171
|
+
service: Service50,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node, node84, Global.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node84, Global.node, node86]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service50, isError2, validateBranch2, node53, exports_repository_cache };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./vcs-emy2mr0p.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command5 = {};
|
|
14
14
|
__export(exports_command5, {
|
|
15
15
|
Command: () => exports_command5,
|
|
16
|
-
Event: () =>
|
|
16
|
+
Event: () => Event10,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info14,
|
|
19
|
+
NotFoundError: () => NotFoundError6,
|
|
20
|
+
Service: () => Service53,
|
|
21
|
+
layer: () => layer22,
|
|
22
|
+
node: () => node56
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event10 } from "@opencode/schema/command";
|
|
28
|
+
var Info14 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service53 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
45
|
-
const bus = yield*
|
|
44
|
+
var layer22 = Layer.effect(Service53, Effect.gen(function* () {
|
|
45
|
+
const bus = yield* Service83;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
48
48
|
initial: () => new Map,
|
|
@@ -51,11 +51,11 @@ var layer24 = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info14.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service53.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,15 +66,15 @@ var layer24 = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
77
|
-
deps: [
|
|
74
|
+
var node56 = makeLocationNode({
|
|
75
|
+
service: Service53,
|
|
76
|
+
layer: layer22,
|
|
77
|
+
deps: [node87]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info14, NotFoundError6, ExecutionError2, Service53, layer22, node56, exports_command5, Event10 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service38
|
|
3
|
+
} from "./vcs-1ysz3b88.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service62
|
|
6
|
+
} from "./vcs-e0378qy6.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin33
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin33 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service38;
|
|
26
|
+
const image = yield* Service62;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin49 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin33, exports_image };
|