@opencode/core 0.0.0-dev-20522 → 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 +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{location-activity-ap09pqdy.js → vcs-00c9h3yh.js} +26 -26
- package/dist/chunks/{location-activity-wa9g86nq.js → vcs-0a1yp5ev.js} +4 -4
- package/dist/chunks/{location-activity-9qfaj48x.js → vcs-0b83k0qn.js} +5 -5
- package/dist/chunks/{location-activity-w16b05e8.js → vcs-0f2k15r0.js} +17 -17
- package/dist/chunks/{location-activity-8a1aw2sq.js → vcs-0n6s3he6.js} +15 -15
- package/dist/chunks/{location-activity-0paq2nw3.js → vcs-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-activity-5vej8e4s.js → vcs-0v2qpmda.js} +46 -46
- package/dist/chunks/{location-activity-0vbcp93d.js → vcs-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-activity-9hj49pra.js → vcs-0w8wvs1r.js} +8 -8
- package/dist/chunks/{location-activity-bp17tqv6.js → vcs-143vszks.js} +11 -11
- package/dist/chunks/{location-activity-2254y0xw.js → vcs-154fjpss.js} +8 -8
- package/dist/chunks/{location-activity-afy8swxe.js → vcs-15jxxpks.js} +22 -22
- package/dist/chunks/{location-activity-gdb2mabm.js → vcs-17gjvyxf.js} +20 -20
- package/dist/chunks/{location-activity-r8xr0va3.js → vcs-1acjjqhc.js} +4 -4
- package/dist/chunks/{location-activity-9afc0m5f.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-fn21qp3n.js → vcs-1kfk229s.js} +30 -30
- package/dist/chunks/{location-activity-acs0mjra.js → vcs-1x3tt5d7.js} +16 -16
- package/dist/chunks/{location-activity-w9h8gxsn.js → vcs-1xpf0exr.js} +15 -15
- package/dist/chunks/{location-activity-vbgjz5a1.js → vcs-1xsx8vwt.js} +20 -20
- package/dist/chunks/{location-activity-mkr9wt4g.js → vcs-1ysz3b88.js} +46 -46
- package/dist/chunks/{location-activity-ndgpmpdy.js → vcs-1yzcjwqk.js} +168 -168
- package/dist/chunks/{location-activity-y1bj3ch0.js → vcs-263mmtss.js} +51 -51
- package/dist/chunks/{location-activity-n9vn1n74.js → vcs-273heg4k.js} +3 -3
- package/dist/chunks/{location-activity-2a5m3afh.js → vcs-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-activity-4a0nv7mx.js → vcs-2eegacq4.js} +8 -8
- package/dist/chunks/{location-activity-8gn6bx6q.js → vcs-2fsnkaeb.js} +10 -10
- package/dist/chunks/{location-activity-gzbnsqd9.js → vcs-2pqkge4e.js} +9 -9
- package/dist/chunks/{location-activity-s7zwke6p.js → vcs-2rvt81jv.js} +8 -8
- package/dist/chunks/{location-activity-9qyq87xn.js → vcs-2tsvqd0c.js} +15 -15
- package/dist/chunks/{location-activity-0r3c1bmw.js → vcs-2xdh0w28.js} +5 -5
- package/dist/chunks/{location-activity-px2g2hh5.js → vcs-30pk4ngn.js} +11 -11
- package/dist/chunks/{location-activity-qdwc8vjd.js → vcs-3318eyp5.js} +3 -3
- package/dist/chunks/{location-activity-mfqp6xfm.js → vcs-33w4ejhs.js} +9 -9
- package/dist/chunks/{location-activity-jgsyvnsr.js → vcs-39vpe6qw.js} +16 -16
- package/dist/chunks/{location-activity-99fevm3r.js → vcs-3etjgs1z.js} +313 -313
- package/dist/chunks/{location-activity-3fc6dm20.js → vcs-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-activity-eh032nwn.js → vcs-3fp39bc5.js} +11 -11
- package/dist/chunks/{location-activity-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-activity-reg6q42h.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-98xtp2tr.js → vcs-3xqy4ymt.js} +17 -17
- package/dist/chunks/{location-activity-3zsf4n22.js → vcs-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-activity-aexez079.js → vcs-41ssepmq.js} +11 -11
- package/dist/chunks/{location-activity-mf0fq1rn.js → vcs-437mn6c1.js} +24 -24
- package/dist/chunks/{location-activity-8hzx03zf.js → vcs-4dmfh7tm.js} +11 -11
- package/dist/chunks/{location-activity-4d9g26n8.js → vcs-4fdg3v2k.js} +9 -9
- package/dist/chunks/{location-activity-bydnjh3t.js → vcs-4jyvzrab.js} +2 -2
- package/dist/chunks/{location-activity-8zmkrsrs.js → vcs-4rev9cvp.js} +15 -15
- package/dist/chunks/{location-activity-50n9sz5p.js → vcs-4rrjew3c.js} +44 -44
- package/dist/chunks/{location-activity-4ts7tf6z.js → vcs-4ts7tf6z.js} +2 -2
- package/dist/chunks/{location-activity-r785z29n.js → vcs-4w0k5wea.js} +10 -10
- package/dist/chunks/{location-activity-yn8chsfy.js → vcs-4y5cztj8.js} +25 -25
- package/dist/chunks/{location-activity-z58fbe9d.js → vcs-52f2jrtr.js} +20 -20
- package/dist/chunks/{location-activity-54ma36ye.js → vcs-54ma36ye.js} +1 -1
- package/dist/chunks/{location-activity-naemj1ng.js → vcs-58rdqtcw.js} +32 -32
- package/dist/chunks/{location-activity-5daktx2q.js → vcs-5daktx2q.js} +1 -1
- package/dist/chunks/{location-activity-dwe4pxwy.js → vcs-5f3z425y.js} +54 -54
- package/dist/chunks/{location-activity-w39jehkq.js → vcs-5fykfdj7.js} +5 -5
- package/dist/chunks/{location-activity-73nbr5nh.js → vcs-5g992y3e.js} +17 -17
- package/dist/chunks/{location-activity-5t3nmthw.js → vcs-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-activity-4sf4b4a1.js → vcs-642sd9r2.js} +19 -19
- package/dist/chunks/{location-activity-vevatqc6.js → vcs-64s65d1n.js} +5 -5
- package/dist/chunks/{location-activity-rzp9svrs.js → vcs-652g5ww1.js} +20 -20
- package/dist/chunks/{location-activity-669tq793.js → vcs-669tq793.js} +1 -1
- package/dist/chunks/{location-activity-66mt488d.js → vcs-698jedh3.js} +19 -19
- package/dist/chunks/{location-activity-gvh84zx5.js → vcs-6e2c24zy.js} +33 -33
- package/dist/chunks/{location-activity-scb56zj4.js → vcs-6nn06123.js} +17 -17
- package/dist/chunks/{location-activity-51mtghs0.js → vcs-6qkjgc87.js} +9 -9
- package/dist/chunks/{location-activity-418bx8zc.js → vcs-6qm8nm6h.js} +30 -30
- package/dist/chunks/{location-activity-n9jt44w2.js → vcs-6tfrbyrn.js} +24 -24
- package/dist/chunks/{location-activity-71az546q.js → vcs-71az546q.js} +2 -2
- package/dist/chunks/{location-activity-0p53prm6.js → vcs-72ct2ksy.js} +48 -48
- package/dist/chunks/{location-activity-r5x6zcsm.js → vcs-73tb2d7t.js} +3 -3
- package/dist/chunks/{location-activity-t01ewf6t.js → vcs-75jaekcr.js} +11 -11
- package/dist/chunks/{location-activity-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-activity-5jrbfcyk.js → vcs-7f5fnqp2.js} +7 -7
- package/dist/chunks/{location-activity-n88x4h2h.js → vcs-7h0e419p.js} +1 -1
- package/dist/chunks/{location-activity-6dj2pvc2.js → vcs-7pgd7918.js} +32 -32
- package/dist/chunks/{location-activity-84txncab.js → vcs-84txncab.js} +1 -1
- package/dist/chunks/{location-activity-8kjnhfq5.js → vcs-875tjbvc.js} +5 -5
- package/dist/chunks/{location-activity-03xyy9gs.js → vcs-89rvcjqs.js} +8 -8
- package/dist/chunks/{location-activity-tcezcvh9.js → vcs-89znhe33.js} +4 -4
- package/dist/chunks/{location-activity-68b41rp7.js → vcs-8bqprwpq.js} +19 -19
- package/dist/chunks/{location-activity-8d7r5vzw.js → vcs-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-activity-468ehe8a.js → vcs-8dnd3zn1.js} +89 -89
- package/dist/chunks/{location-activity-5e25xdga.js → vcs-8jnczxdz.js} +5 -5
- package/dist/chunks/{location-activity-7dy85ahw.js → vcs-8m5xe4tx.js} +6 -6
- package/dist/chunks/{location-activity-0n82bpqs.js → vcs-8nn5nyt2.js} +30 -30
- package/dist/chunks/{location-activity-4cvdhpp6.js → vcs-8qyfkx8k.js} +17 -17
- package/dist/chunks/{location-activity-my4zabxr.js → vcs-8whp40kv.js} +3 -3
- package/dist/chunks/{location-activity-gwfkrg1w.js → vcs-8xd7pg9c.js} +10 -10
- package/dist/chunks/{location-activity-5v5gbwv4.js → vcs-8zp34bdd.js} +10 -10
- package/dist/chunks/{location-activity-jgttmm4a.js → vcs-96te9d4b.js} +5 -5
- package/dist/chunks/{location-activity-1kdzyrgh.js → vcs-98d9cgwq.js} +24 -24
- package/dist/chunks/{location-activity-yxxv8mf9.js → vcs-9dmf3jht.js} +5 -5
- package/dist/chunks/{location-activity-9e5bzkjp.js → vcs-9e5bzkjp.js} +3 -3
- package/dist/chunks/{location-activity-051rvy53.js → vcs-9pd3a9ej.js} +69 -69
- package/dist/chunks/{location-activity-v1ztxmmr.js → vcs-9rzbrnek.js} +32 -32
- package/dist/chunks/{location-activity-wn7nbw01.js → vcs-9zdhcr13.js} +55 -55
- package/dist/chunks/vcs-9zdhvgqs.js +18 -0
- package/dist/chunks/{location-activity-21j09tbr.js → vcs-a9myb2xz.js} +25 -25
- package/dist/chunks/{location-activity-aaet6srn.js → vcs-aaet6srn.js} +2 -2
- package/dist/chunks/{location-activity-evgw80pf.js → vcs-anpxxvvk.js} +11 -11
- package/dist/chunks/{location-activity-1zpn74ap.js → vcs-apm9d5pk.js} +4 -4
- package/dist/chunks/{location-activity-7pd44fd0.js → vcs-asjhz5jz.js} +11 -11
- package/dist/chunks/{location-activity-7xgtyd0c.js → vcs-atpksgz1.js} +5 -5
- package/dist/chunks/{location-activity-xg14kqgb.js → vcs-ay23zzs3.js} +35 -35
- package/dist/chunks/{location-activity-zmkf53nt.js → vcs-ayrfqrmp.js} +13 -13
- package/dist/chunks/{location-activity-htjw9qza.js → vcs-b34sdxkh.js} +8 -8
- package/dist/chunks/{location-activity-k8acefyd.js → vcs-b58yghq3.js} +31 -31
- package/dist/chunks/{location-activity-b6gygkdw.js → vcs-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-activity-22ajkdrs.js → vcs-bfh2072t.js} +20 -20
- package/dist/chunks/{location-activity-2y184v0h.js → vcs-bmyw6ydg.js} +18 -18
- package/dist/chunks/{location-activity-6mxq6vmh.js → vcs-bws3grwa.js} +5 -5
- package/dist/chunks/{location-activity-snj9fk4t.js → vcs-bzawqrey.js} +4 -4
- package/dist/chunks/{location-activity-gvgk8c7e.js → vcs-c0wyzfrh.js} +22 -22
- package/dist/chunks/vcs-c2rqwj43.js +253 -0
- package/dist/chunks/{location-activity-yxkyp4ge.js → vcs-c34wdaxc.js} +18 -18
- package/dist/chunks/{location-activity-r16s11gq.js → vcs-c6fqm3pf.js} +27 -27
- package/dist/chunks/{location-activity-ts23464c.js → vcs-cfsekr6v.js} +4 -4
- package/dist/chunks/{location-activity-cmwkp3r5.js → vcs-cmwkp3r5.js} +1 -1
- package/dist/chunks/{location-activity-zw7rn1n2.js → vcs-cvd0t7zh.js} +22 -22
- package/dist/chunks/{location-activity-d4he2qe1.js → vcs-cwa6csj7.js} +9 -9
- package/dist/chunks/{location-activity-yg042q6e.js → vcs-d3d03f5w.js} +6 -6
- package/dist/chunks/{location-activity-w3h6nx8g.js → vcs-d7x58568.js} +23 -23
- package/dist/chunks/{location-activity-9xw7cs1j.js → vcs-dddf77t3.js} +12 -12
- package/dist/chunks/{location-activity-52qcnbw8.js → vcs-dfjxtsf9.js} +12 -12
- package/dist/chunks/{location-activity-tppswmz8.js → vcs-dj8dytcn.js} +47 -47
- package/dist/chunks/{location-activity-5ewsbr1h.js → vcs-dr3cfjye.js} +18 -18
- package/dist/chunks/{location-activity-1ywctte3.js → vcs-dsgjd3rn.js} +6 -6
- package/dist/chunks/{location-activity-95qzmsxv.js → vcs-dy50r7f0.js} +24 -24
- package/dist/chunks/{location-activity-p5kec882.js → vcs-dypdtx22.js} +10 -10
- package/dist/chunks/{location-activity-6n4b0dsb.js → vcs-e0378qy6.js} +9 -9
- package/dist/chunks/{location-activity-0tv3788e.js → vcs-e5245gfw.js} +18 -18
- package/dist/chunks/{location-activity-tkmwgdpd.js → vcs-edrmdtr5.js} +4 -4
- 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-3sp6t7s4.js → vcs-emy2mr0p.js} +4 -4
- package/dist/chunks/{location-activity-t9ss9ncx.js → vcs-engz9tk1.js} +13 -13
- package/dist/chunks/{location-activity-ea5q4p4y.js → vcs-eqzw3791.js} +10 -10
- package/dist/chunks/{location-activity-vyq9csrv.js → vcs-ert91amk.js} +8 -8
- package/dist/chunks/{location-activity-nm81pwyf.js → vcs-esmd944f.js} +17 -17
- package/dist/chunks/{location-activity-etq0c3wd.js → vcs-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-activity-hve73jz4.js → vcs-ezy85fdf.js} +32 -32
- package/dist/chunks/{location-activity-yrcj3v3g.js → vcs-f29mbr7f.js} +4 -4
- package/dist/chunks/{location-activity-m6f3t844.js → vcs-f5gy8qwh.js} +8 -8
- package/dist/chunks/{location-activity-spexwv49.js → vcs-fe5va1gq.js} +18 -18
- package/dist/chunks/{location-activity-36yn6w2w.js → vcs-g34qytme.js} +13 -13
- package/dist/chunks/{location-activity-xqtnfxs2.js → vcs-g53b9crq.js} +10 -10
- package/dist/chunks/{location-activity-w19d8598.js → vcs-g5w8qwbj.js} +7 -7
- package/dist/chunks/{location-activity-6xx2thcq.js → vcs-g60qacmp.js} +6 -6
- package/dist/chunks/{location-activity-dgg25580.js → vcs-g8w68j7a.js} +20 -20
- package/dist/chunks/{location-activity-hw84rczb.js → vcs-g99bb5tx.js} +17 -17
- package/dist/chunks/{location-activity-ewkxbvxb.js → vcs-gb88hfpn.js} +3 -3
- package/dist/chunks/{location-activity-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-activity-mvk5sdk3.js → vcs-gfmgy62m.js} +28 -28
- package/dist/chunks/{location-activity-4c8hafs5.js → vcs-gg1q1rgs.js} +37 -37
- package/dist/chunks/{location-activity-gh5z95q3.js → vcs-gh5z95q3.js} +2 -2
- package/dist/chunks/{location-activity-x661k3y3.js → vcs-gqtdsdt7.js} +4 -4
- package/dist/chunks/{location-activity-ga3wt1wb.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-axezsv51.js → vcs-ha3enmw3.js} +17 -17
- package/dist/chunks/{location-activity-0gfhevnz.js → vcs-ha3s5v70.js} +45 -45
- package/dist/chunks/{location-activity-rbrpr0tf.js → vcs-hvr28mne.js} +11 -11
- package/dist/chunks/{location-activity-pdk76dby.js → vcs-j0qpe3xs.js} +13 -13
- package/dist/chunks/{location-activity-j56e64zr.js → vcs-j56e64zr.js} +1 -1
- package/dist/chunks/{location-activity-h90v2x9d.js → vcs-j5rxtxht.js} +4 -4
- package/dist/chunks/{location-activity-bm71xt6b.js → vcs-j6f1xn30.js} +14 -14
- package/dist/chunks/{location-activity-c8cj4gj9.js → vcs-jh6se4gm.js} +6 -6
- package/dist/chunks/{location-activity-h3rnfpnk.js → vcs-jk03ymz1.js} +14 -14
- package/dist/chunks/{location-activity-ta90yy0m.js → vcs-jpvtfgsr.js} +15 -15
- package/dist/chunks/{location-activity-8546h873.js → vcs-k017qpd0.js} +9 -9
- package/dist/chunks/{location-activity-afdssyjb.js → vcs-kne8f3cn.js} +4 -4
- package/dist/chunks/{location-activity-mjymc32g.js → vcs-kvvk39gs.js} +4 -4
- package/dist/chunks/{location-activity-kfxyjhp2.js → vcs-kxd45bf8.js} +6 -6
- package/dist/chunks/{location-activity-e7rfq5qk.js → vcs-kym3tbjm.js} +9 -9
- package/dist/chunks/{location-activity-hm01m7g7.js → vcs-m2rmbrrw.js} +4 -4
- package/dist/chunks/{location-activity-m3fdjcah.js → vcs-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-activity-vppqr6rw.js → vcs-m3pq9nvw.js} +11 -11
- package/dist/chunks/{location-activity-yn77b1tp.js → vcs-m3qcfrsh.js} +16 -16
- package/dist/chunks/{location-activity-ccg33wfc.js → vcs-m6peh6cd.js} +22 -22
- package/dist/chunks/{location-activity-aq4sdar7.js → vcs-m8835y2n.js} +15 -15
- package/dist/chunks/{location-activity-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-activity-tchy2as6.js → vcs-mk899n6x.js} +3 -3
- package/dist/chunks/{location-activity-93ygb5af.js → vcs-mx9vqzsb.js} +6 -6
- package/dist/chunks/{location-activity-hh9g5y67.js → vcs-n47yxx3n.js} +25 -25
- package/dist/chunks/{location-activity-b8tjczfr.js → vcs-ngcyadx4.js} +26 -26
- package/dist/chunks/{location-activity-1bvbmmvc.js → vcs-ns33pmaz.js} +3 -3
- package/dist/chunks/{location-activity-dpkg50ah.js → vcs-nxm207yx.js} +4 -4
- package/dist/chunks/{location-activity-v14bmgrr.js → vcs-p4vte420.js} +28 -28
- package/dist/chunks/{location-activity-drnf6xwf.js → vcs-p5p5kne1.js} +2 -2
- package/dist/chunks/{location-activity-4rjwr4eq.js → vcs-p6czjpb3.js} +30 -30
- package/dist/chunks/{location-activity-p5phergm.js → vcs-p9zzjwz0.js} +13 -13
- 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-zfs8ae4p.js → vcs-pkqb68ka.js} +4 -4
- package/dist/chunks/{location-activity-s1nnv2jb.js → vcs-psn196xm.js} +33 -33
- package/dist/chunks/{location-activity-68hckj5e.js → vcs-pvpz454p.js} +13 -13
- package/dist/chunks/{location-activity-n26b8tgx.js → vcs-px5rzwm9.js} +22 -22
- package/dist/chunks/{location-activity-r8pwahr2.js → vcs-q05af3em.js} +17 -17
- package/dist/chunks/{location-activity-q0xm7vwc.js → vcs-q0xm7vwc.js} +2 -2
- package/dist/chunks/{location-activity-74j61hac.js → vcs-q781ceqg.js} +21 -21
- package/dist/chunks/{location-activity-qwk0c288.js → vcs-q86e9bsp.js} +11 -11
- package/dist/chunks/{location-activity-8r3ezcdp.js → vcs-qbfvtt5h.js} +15 -15
- package/dist/chunks/{location-activity-wgn1zfzh.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-0ym7r8mw.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-hdkng2sj.js → vcs-qygbw77c.js} +5 -5
- package/dist/chunks/vcs-r1as3zj2.js +26 -0
- package/dist/chunks/{location-activity-yztx57rc.js → vcs-r71n597x.js} +3 -3
- package/dist/chunks/{location-activity-4g07jad7.js → vcs-r8518j31.js} +11 -11
- package/dist/chunks/{location-activity-40mqjk0w.js → vcs-r9pkg3wj.js} +22 -22
- package/dist/chunks/{location-activity-rdw6cm16.js → vcs-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-activity-b69jv39p.js → vcs-rk1r2hx8.js} +1 -1
- package/dist/chunks/{location-activity-sfezx90q.js → vcs-rn39wzk6.js} +28 -28
- package/dist/chunks/{location-activity-es45hdqm.js → vcs-rtk327b3.js} +13 -13
- package/dist/chunks/{location-activity-9c3np669.js → vcs-rzs3gq0x.js} +8 -8
- package/dist/chunks/{location-activity-tspry12c.js → vcs-s6vagn1s.js} +89 -89
- package/dist/chunks/{location-activity-25mvv2sj.js → vcs-sm4ranxy.js} +11 -11
- package/dist/chunks/{location-activity-bpvkws8n.js → vcs-sv59d8wy.js} +15 -15
- package/dist/chunks/{location-activity-zkwghzym.js → vcs-t4dttzpk.js} +9 -9
- package/dist/chunks/{location-activity-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-activity-5bc52nhv.js → vcs-tbnf0mzz.js} +36 -36
- package/dist/chunks/{location-activity-tdstcens.js → vcs-tdstcens.js} +1 -1
- package/dist/chunks/{location-activity-yjdcspkt.js → vcs-tn76sa66.js} +24 -24
- package/dist/chunks/{location-activity-k5qa7074.js → vcs-twtpbk14.js} +26 -26
- package/dist/chunks/{location-activity-gnhsmmqn.js → vcs-v2p4rfxw.js} +6 -6
- package/dist/chunks/{location-activity-xs433dsw.js → vcs-v5mwb5nv.js} +21 -21
- package/dist/chunks/{location-activity-kcqsx82s.js → vcs-v6eqk4q9.js} +12 -12
- package/dist/chunks/{location-activity-veqvce7d.js → vcs-veqvce7d.js} +1 -1
- package/dist/chunks/{location-activity-pfyxntht.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-70z78qrv.js → vcs-w1bc1hs8.js} +5 -5
- package/dist/chunks/{location-activity-dwkbn076.js → vcs-w1sywbce.js} +22 -22
- package/dist/chunks/{location-activity-jhx55dda.js → vcs-w347braj.js} +21 -21
- package/dist/chunks/{location-activity-h9aj4q11.js → vcs-w3bk7c2d.js} +33 -33
- package/dist/chunks/{location-activity-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-activity-bbqry935.js → vcs-waza03q7.js} +16 -16
- package/dist/chunks/{location-activity-wd87259q.js → vcs-wd87259q.js} +1 -1
- package/dist/chunks/{location-activity-mcrs9awc.js → vcs-whzv333q.js} +5 -5
- package/dist/chunks/{location-activity-antpa588.js → vcs-wkwj6cw5.js} +11 -11
- package/dist/chunks/{location-activity-s8d7rejh.js → vcs-wv396vej.js} +8 -8
- package/dist/chunks/{location-activity-x1ezjp6w.js → vcs-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-activity-89zvgz62.js → vcs-x7ypjh20.js} +12 -12
- package/dist/chunks/{location-activity-jtystvs1.js → vcs-x87d2c5t.js} +45 -45
- package/dist/chunks/{location-activity-cv2eqrse.js → vcs-x8xp47jc.js} +30 -30
- package/dist/chunks/{location-activity-21w5p5ea.js → vcs-xaccx4pc.js} +5 -5
- package/dist/chunks/{location-activity-1wg7ekty.js → vcs-xagkhdgg.js} +15 -15
- package/dist/chunks/{location-activity-3c002fa5.js → vcs-xdax5pw4.js} +4 -4
- package/dist/chunks/{location-activity-rt6atwe1.js → vcs-xf7k239c.js} +7 -7
- package/dist/chunks/{location-activity-xkntkrq7.js → vcs-xkntkrq7.js} +2 -2
- package/dist/chunks/{location-activity-my5mqtqa.js → vcs-xkq4qhjg.js} +4 -4
- package/dist/chunks/{location-activity-qe22njxj.js → vcs-xry2b1cq.js} +36 -36
- package/dist/chunks/{location-activity-pc4b88sv.js → vcs-xs53z2pm.js} +4 -4
- package/dist/chunks/{location-activity-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-activity-xmme1gw6.js → vcs-y1n096b6.js} +27 -27
- package/dist/chunks/{location-activity-v60p8033.js → vcs-y1ztjnch.js} +17 -17
- package/dist/chunks/{location-activity-7d822byb.js → vcs-y4xh0pmk.js} +7 -7
- package/dist/chunks/{location-activity-8k57ph5q.js → vcs-ygnv88eq.js} +4 -4
- package/dist/chunks/{location-activity-45xkc9f1.js → vcs-yjfktaj5.js} +15 -15
- package/dist/chunks/{location-activity-twbhs20w.js → vcs-yjg24re3.js} +29 -29
- package/dist/chunks/{location-activity-sc8ekjdv.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-2phr5t4g.js → vcs-z249rqtp.js} +26 -26
- package/dist/chunks/{location-activity-chg82f90.js → vcs-z6fm47wz.js} +11 -11
- package/dist/chunks/{location-activity-ynpd00ff.js → vcs-zac3hdf5.js} +22 -22
- package/dist/chunks/{location-activity-d1zf30g2.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 +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +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 +70 -70
- 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 +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +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 +69 -69
- package/dist/location-activity.js +131 -131
- 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 +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +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 +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- 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 +2 -2
- 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 +115 -115
- 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 +93 -93
- 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 +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +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 +214 -214
- 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 +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- 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 +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +210 -210
- 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 +2 -2
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +116 -116
- 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 +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +114 -114
- 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 +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +74 -74
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/location-activity-6acre9fv.js +0 -253
- package/dist/chunks/location-activity-by5v678g.js +0 -18
- package/dist/chunks/location-activity-ch4bgybv.js +0 -26
- package/dist/chunks/location-activity-ntdxhb5b.js +0 -507
- /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,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-ns33pmaz.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make22,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-wv396vej.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-9e5bzkjp.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./vcs-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info5,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service28,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node32,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info5 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service28 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
65
|
-
key:
|
|
64
|
+
var source = (entry) => make22({
|
|
65
|
+
key: Key4.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
68
68
|
render: {
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make21({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service84;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service28.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node32 = makeLocationNode({ service: Service28, layer, deps: [node88] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service28, node32, exports_instruction_entry };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service78,
|
|
6
|
+
node82
|
|
7
|
+
} from "./vcs-1x3tt5d7.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service58,
|
|
10
|
+
node61
|
|
11
|
+
} from "./vcs-fe5va1gq.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
names4
|
|
15
|
+
} from "./vcs-89znhe33.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./vcs-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options9,
|
|
25
|
+
Service: () => Service57,
|
|
26
|
+
configured: () => configured9,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer23,
|
|
29
|
+
node: () => node60,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options9 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service57 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service57, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service78;
|
|
63
|
+
const ripgrep = yield* Service58;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
77
77
|
cwd: location.directory,
|
|
78
78
|
pattern: "*",
|
|
79
79
|
limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
|
|
80
|
-
exclude: home ? [...
|
|
80
|
+
exclude: home ? [...names4()].map((name) => `${name}/**`) : undefined,
|
|
81
81
|
onEntry: (entry) => Effect.sync(() => {
|
|
82
82
|
next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
|
|
83
83
|
const parts = entry.path.split("/");
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service57.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service57, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service78;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service57.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service57.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer23 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service78;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured9(options) {
|
|
186
|
+
return makeLocationNode({ service: Service57, layer: layer23(options), deps: [node82, node61] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node60 = configured9();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options9, Service57, ripgrepLayer2, fffLayer2, layer23, configured9, node60, exports_search };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info23,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Predicate, Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info23 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -66,4 +66,4 @@ function upgradeLegacyMedia(input) {
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Info23, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/managed-policy.ts
|
|
6
6
|
var exports_managed_policy = {};
|
|
7
7
|
__export(exports_managed_policy, {
|
|
8
8
|
ManagedPolicy: () => exports_managed_policy,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service14,
|
|
10
|
+
node: () => node16
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service14 extends Context.Service()("@opencode/ManagedPolicy") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service14, () => {
|
|
18
18
|
const state = { current: { statements: [] } };
|
|
19
|
-
return
|
|
19
|
+
return Service14.of({
|
|
20
20
|
current: () => state.current,
|
|
21
21
|
set: (next) => Effect.sync(() => {
|
|
22
22
|
state.current = next;
|
|
23
23
|
})
|
|
24
24
|
});
|
|
25
25
|
});
|
|
26
|
-
var
|
|
26
|
+
var node16 = makeGlobalNode({ service: Service14, layer, deps: [] });
|
|
27
27
|
|
|
28
|
-
export {
|
|
28
|
+
export { Service14, node16, exports_managed_policy };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./vcs-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service59,
|
|
8
|
+
node62
|
|
9
|
+
} from "./vcs-98d9cgwq.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error3,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service58,
|
|
24
|
+
node: () => node61
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error3 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service58 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error3({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service59;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service58.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node61 = makeLocationNode({ service: Service58, layer, deps: [node62, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error3, InvalidPatternError2, Service58, node61, exports_ripgrep };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service70,
|
|
3
|
+
node74,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./vcs-t4dttzpk.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service45,
|
|
8
|
+
node47
|
|
9
|
+
} from "./vcs-mx9vqzsb.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service68
|
|
12
|
+
} from "./vcs-psn196xm.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-c2rqwj43.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service70, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service68);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node47.replace(Layer.succeed(Service45, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node74.replace(Layer.succeed(Service70, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID4
|
|
3
|
+
} from "./vcs-b58yghq3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service38
|
|
6
|
+
} from "./vcs-1ysz3b88.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-g60qacmp.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make6(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service38;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make9(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
providers.models.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID4.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make6();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make6, VLLMPlugin2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
10
|
-
render: () =>
|
|
9
|
+
make: () => make16,
|
|
10
|
+
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// src/session/runner/prompt/system.txt
|
|
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
33
|
-
return
|
|
32
|
+
function make16(tools) {
|
|
33
|
+
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function render3(prompt, tools) {
|
|
36
36
|
const instructions = [];
|
|
37
37
|
if (tools.includes("shell")) {
|
|
38
38
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -47,4 +47,4 @@ function render2(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make16, render3, exports_system_prompt };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service65
|
|
4
|
+
} from "./vcs-3etjgs1z.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service38
|
|
7
|
+
} from "./vcs-1ysz3b88.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service65;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service38);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service39
|
|
3
|
+
} from "./vcs-cvd0t7zh.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
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
|
+
Service38
|
|
12
|
+
} from "./vcs-1ysz3b88.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
16
|
Source4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./vcs-c0wyzfrh.js";
|
|
18
18
|
import {
|
|
19
19
|
Service10
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./vcs-gh5z95q3.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./vcs-d3d03f5w.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./vcs-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigSkillPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_skill3 = {};
|
|
30
|
+
__export(exports_skill3, {
|
|
31
|
+
ConfigSkillPlugin: () => exports_skill3,
|
|
32
|
+
Plugin: () => Plugin45
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin45 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
42
|
+
const config = yield* Service38;
|
|
43
43
|
const discovery = yield* Service10;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service78;
|
|
47
|
+
const watcher = yield* Service39;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -176,4 +176,4 @@ var Plugin19 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin45, exports_skill3 };
|