@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,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service78
|
|
9
|
+
} from "./vcs-1x3tt5d7.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service59
|
|
12
|
+
} from "./vcs-98d9cgwq.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service58
|
|
16
|
+
} from "./vcs-fe5va1gq.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./vcs-gfmgy62m.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service73
|
|
26
|
+
} from "./vcs-9zdhcr13.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service16
|
|
29
|
+
} from "./vcs-c34wdaxc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./vcs-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input10,
|
|
39
|
+
Output: () => Output7,
|
|
40
|
+
Plugin: () => Plugin11,
|
|
41
|
+
name: () => name10,
|
|
42
|
+
toModelContent: () => toModelContent6
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name10 = "grep";
|
|
48
|
+
var Input10 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input8 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output7 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent6 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent3 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin11 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service59;
|
|
90
|
+
const ripgrep = yield* Service58;
|
|
91
|
+
const location = yield* Service78;
|
|
92
|
+
const access = yield* Service16;
|
|
93
|
+
const permission = yield* Service73;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name10,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input10,
|
|
99
|
+
output: Output7,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name10,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin26 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent6(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin26 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name10, Input10, Output7, toModelContent6, Plugin11, exports_grep };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-3etjgs1z.js";
|
|
5
5
|
import {
|
|
6
6
|
mergeCapabilities2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-b58yghq3.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service38
|
|
11
|
+
} from "./vcs-1ysz3b88.js";
|
|
12
12
|
import {
|
|
13
13
|
resolve4
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-dsgjd3rn.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./vcs-qsdy395h.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./vcs-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/config/plugin/provider.ts
|
|
23
23
|
var exports_provider = {};
|
|
24
24
|
__export(exports_provider, {
|
|
25
25
|
ConfigProviderPlugin: () => exports_provider,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin42
|
|
27
27
|
});
|
|
28
28
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
29
29
|
import { Money } from "@opencode/schema/money";
|
|
30
30
|
import { Effect } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Plugin42 = define({
|
|
32
32
|
id: "opencode.config.provider",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
34
|
+
const config = yield* Service38;
|
|
35
35
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
36
36
|
yield* ctx.integration.transform((integrations) => {
|
|
37
37
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -190,4 +190,4 @@ function configuredProviders(entries) {
|
|
|
190
190
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { Plugin42, exports_provider };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error4,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make21,
|
|
14
|
+
node: () => node64,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error4 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make21 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node64 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error4, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node64, exports_driver };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./vcs-emy2mr0p.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service78,
|
|
11
|
+
node82
|
|
12
|
+
} from "./vcs-1x3tt5d7.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
ID11,
|
|
14
|
+
ID7,
|
|
16
15
|
modelSettings2,
|
|
17
16
|
mergeOverlay2,
|
|
18
17
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
18
|
+
Service65,
|
|
19
|
+
node69,
|
|
20
|
+
Event13,
|
|
21
|
+
rewrite2
|
|
22
|
+
} from "./vcs-3etjgs1z.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./vcs-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,26 +30,26 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event9,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID4,
|
|
36
|
+
Info: () => Info13,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service52,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
43
|
mergeCapabilities: () => mergeCapabilities2,
|
|
44
|
-
node: () =>
|
|
45
|
-
parse: () =>
|
|
44
|
+
node: () => node55,
|
|
45
|
+
parse: () => parse5
|
|
46
46
|
});
|
|
47
47
|
import { Model } from "@opencode/schema/model";
|
|
48
48
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
49
49
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
50
50
|
import { freeze } from "immer";
|
|
51
|
-
import { Event as
|
|
52
|
-
var
|
|
51
|
+
import { Event as Event9 } from "@opencode/schema/model";
|
|
52
|
+
var ID4 = Model.ID;
|
|
53
53
|
var VariantID2 = Model.VariantID;
|
|
54
54
|
var Family2 = Model.Family;
|
|
55
55
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -65,14 +65,14 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
65
65
|
};
|
|
66
66
|
var Cost2 = Model.Cost;
|
|
67
67
|
var Ref2 = Model.Ref;
|
|
68
|
-
var
|
|
68
|
+
var Info13 = Model.Info;
|
|
69
69
|
|
|
70
|
-
class
|
|
70
|
+
class Service52 extends Context.Service()("@opencode/Model") {
|
|
71
71
|
}
|
|
72
|
-
var layer = Layer.effect(
|
|
73
|
-
const providers = yield*
|
|
74
|
-
const bus = yield*
|
|
75
|
-
const location = yield*
|
|
72
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
73
|
+
const providers = yield* Service65;
|
|
74
|
+
const bus = yield* Service83;
|
|
75
|
+
const location = yield* Service78;
|
|
76
76
|
let input;
|
|
77
77
|
const state = create3({
|
|
78
78
|
name: "model",
|
|
@@ -117,7 +117,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
117
117
|
const models = writable(providerID);
|
|
118
118
|
if (!models)
|
|
119
119
|
return;
|
|
120
|
-
const model = draft(providerID, modelID) ??
|
|
120
|
+
const model = draft(providerID, modelID) ?? Info13.default(providerID, modelID);
|
|
121
121
|
update(model);
|
|
122
122
|
model.id = modelID;
|
|
123
123
|
model.providerID = providerID;
|
|
@@ -206,8 +206,8 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
206
206
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
207
207
|
});
|
|
208
208
|
});
|
|
209
|
-
yield* bus.subscribe(
|
|
210
|
-
return
|
|
209
|
+
yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
210
|
+
return Service52.of({
|
|
211
211
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
212
212
|
reload,
|
|
213
213
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -226,7 +226,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
226
226
|
})
|
|
227
227
|
});
|
|
228
228
|
}));
|
|
229
|
-
var
|
|
229
|
+
var node55 = makeLocationNode({ service: Service52, layer, deps: [node69, node87, node82] });
|
|
230
230
|
function compatibility2(input) {
|
|
231
231
|
if (typeof input === "string")
|
|
232
232
|
return { reasoningField: input };
|
|
@@ -234,12 +234,12 @@ function compatibility2(input) {
|
|
|
234
234
|
return;
|
|
235
235
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
236
236
|
}
|
|
237
|
-
function
|
|
237
|
+
function parse5(input) {
|
|
238
238
|
const index = input.indexOf("/");
|
|
239
239
|
return {
|
|
240
|
-
providerID:
|
|
241
|
-
modelID:
|
|
240
|
+
providerID: ID7.make(index === -1 ? input : input.slice(0, index)),
|
|
241
|
+
modelID: ID4.make(index === -1 ? "" : input.slice(index + 1))
|
|
242
242
|
};
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
-
export {
|
|
245
|
+
export { ID4, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info13, Service52, node55, compatibility2, parse5, exports_model2, Event9 };
|
|
@@ -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/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service40,
|
|
3
|
+
node43
|
|
4
|
+
} from "./vcs-dy50r7f0.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make22,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-wv396vej.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions3 = {};
|
|
17
|
+
__export(exports_instructions3, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions3,
|
|
19
|
+
Service: () => Service29,
|
|
20
|
+
node: () => node33
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,19 +57,19 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service29 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service40;
|
|
64
|
+
return Service29.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
72
|
-
key:
|
|
71
|
+
return make22({
|
|
72
|
+
key: Key4.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
75
75
|
render: {
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node33 = makeLocationNode({ service: Service29, layer, deps: [node43] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service29, node33, exports_instructions3 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-ns33pmaz.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-nxm207yx.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node64
|
|
12
|
+
} from "./vcs-b34sdxkh.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./vcs-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID6,
|
|
25
|
+
Info: () => Info15,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service60,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured10,
|
|
30
|
+
node: () => node63
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID6 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info15 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID6,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info29 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID6 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID6,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service60 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured10 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service60,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node88,
|
|
64
|
+
deps: [node88, node64]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service84).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service83, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info15({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service83, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service60.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID6.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service83, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node63 = configured10();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID6, Info15, NotFound3, CreateConflict2, Service60, configured10, node63, exports_workspace };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID7
|
|
3
|
+
} from "./vcs-3etjgs1z.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID7.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID7.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-e5245gfw.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-88xbtdfr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/shell/parse.ts
|
|
15
15
|
var exports_parse = {};
|