@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,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-emy2mr0p.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service71,
|
|
7
|
+
node75
|
|
8
|
+
} from "./vcs-00c9h3yh.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service79,
|
|
11
|
+
node83
|
|
12
|
+
} from "./vcs-8nn5nyt2.js";
|
|
13
13
|
import {
|
|
14
14
|
Ref4,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service78,
|
|
16
|
+
node82
|
|
17
|
+
} from "./vcs-1x3tt5d7.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./vcs-t4dttzpk.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./vcs-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service73,
|
|
26
|
+
node77
|
|
27
|
+
} from "./vcs-9zdhcr13.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service69,
|
|
30
|
+
node73
|
|
31
|
+
} from "./vcs-jpvtfgsr.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./vcs-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service68,
|
|
41
|
+
node: () => node72
|
|
42
42
|
});
|
|
43
43
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service68 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
51
51
|
const bus = yield* Service83;
|
|
52
|
-
const location = yield*
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
56
|
-
const project = yield*
|
|
52
|
+
const location = yield* Service78;
|
|
53
|
+
const permission = yield* Service73;
|
|
54
|
+
const forms = yield* Service71;
|
|
55
|
+
const rpc = yield* Service69;
|
|
56
|
+
const project = yield* Service79;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
59
59
|
const unsubscribe = yield* bus.listen((event) => {
|
|
@@ -75,15 +75,15 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
75
75
|
location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
76
76
|
});
|
|
77
77
|
}).pipe(Effect.uninterruptible));
|
|
78
|
-
return
|
|
78
|
+
return Service68.of({
|
|
79
79
|
isClosed: () => closed,
|
|
80
80
|
shutdown
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
84
|
-
service:
|
|
83
|
+
var node72 = makeLocationNode({
|
|
84
|
+
service: Service68,
|
|
85
85
|
layer,
|
|
86
|
-
deps: [node87,
|
|
86
|
+
deps: [node87, node82, node77, node83, node75, node73]
|
|
87
87
|
});
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Service68, node72, exports_location_lifecycle };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service48,
|
|
3
|
+
node51
|
|
4
|
+
} from "./vcs-4rrjew3c.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-8whp40kv.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/session/runner/model.ts
|
|
13
13
|
var exports_model = {};
|
|
14
14
|
__export(exports_model, {
|
|
15
15
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
16
16
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service46,
|
|
18
18
|
SessionRunnerModel: () => exports_model,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node48,
|
|
20
20
|
resolved: () => resolved2
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service46 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
43
43
|
}
|
|
44
44
|
var resolved2 = (model, options) => ({
|
|
45
45
|
model,
|
|
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
|
|
|
54
54
|
compaction: options.compaction,
|
|
55
55
|
transport: options.transport
|
|
56
56
|
});
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const resolver = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
58
|
+
const resolver = yield* Service48;
|
|
59
|
+
return Service46.of({
|
|
60
60
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
61
61
|
if (!session.model) {
|
|
62
62
|
const resolved = yield* resolver.resolve();
|
|
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
}));
|
|
77
|
-
var
|
|
77
|
+
var node48 = makeLocationNode({ service: Service46, layer, deps: [node51] });
|
|
78
78
|
|
|
79
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
79
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service46, resolved2, node48, exports_model };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-4dmfh7tm.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-emy2mr0p.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID9,
|
|
9
9
|
OAuth3,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Event15,
|
|
11
|
+
Service67
|
|
12
|
+
} from "./vcs-6qm8nm6h.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-gqtdsdt7.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID8,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-p6czjpb3.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID7,
|
|
22
22
|
mergeOverlay2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./vcs-3etjgs1z.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID4,
|
|
26
26
|
VariantID2,
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info13
|
|
28
|
+
} from "./vcs-b58yghq3.js";
|
|
29
29
|
import {
|
|
30
30
|
success2,
|
|
31
31
|
error2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./vcs-pjvnvgmy.js";
|
|
33
33
|
|
|
34
34
|
// src/plugin/provider/chatgpt.ts
|
|
35
35
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -41,8 +41,8 @@ var issuer = "https://auth.openai.com";
|
|
|
41
41
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
42
42
|
var resource = "https://api.openai.com/v1";
|
|
43
43
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
44
|
-
var providerID =
|
|
45
|
-
var integrationID =
|
|
44
|
+
var providerID = ID7.openai;
|
|
45
|
+
var integrationID = ID8.make("openai");
|
|
46
46
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
47
47
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
48
48
|
var fallbackModels = new Set([
|
|
@@ -172,7 +172,7 @@ var ChatGPTPlugin2 = define({
|
|
|
172
172
|
id: "opencode.provider.chatgpt",
|
|
173
173
|
effect: Effect.fn(function* (ctx) {
|
|
174
174
|
const bus = yield* Service83;
|
|
175
|
-
const credentials = yield*
|
|
175
|
+
const credentials = yield* Service67;
|
|
176
176
|
const loading = Semaphore.makeUnsafe(1);
|
|
177
177
|
let chatgpt;
|
|
178
178
|
let available;
|
|
@@ -194,7 +194,7 @@ var ChatGPTPlugin2 = define({
|
|
|
194
194
|
yield* ctx.integration.transform((editor) => {
|
|
195
195
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
196
196
|
});
|
|
197
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
197
|
+
yield* Effect.forEach(yield* credentials.list(ID8.make("openai")), (entry) => {
|
|
198
198
|
const value = entry.value;
|
|
199
199
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
200
200
|
return Effect.void;
|
|
@@ -259,7 +259,7 @@ var ChatGPTPlugin2 = define({
|
|
|
259
259
|
});
|
|
260
260
|
const refreshModels = Effect.fn("ChatGPTPlugin.refreshModels")(function* () {
|
|
261
261
|
const connection = source;
|
|
262
|
-
const credential = connection?.type === "credential" ? (yield* credentials.get(
|
|
262
|
+
const credential = connection?.type === "credential" ? (yield* credentials.get(ID9.make(connection.id)))?.value : undefined;
|
|
263
263
|
if (credential?.type !== "oauth" || credential.methodID !== methodID || credential.expires <= Date.now() + 60000)
|
|
264
264
|
return;
|
|
265
265
|
const metadata = Option.getOrUndefined(decodeMetadata(credential.metadata));
|
|
@@ -279,7 +279,7 @@ var ChatGPTPlugin2 = define({
|
|
|
279
279
|
}));
|
|
280
280
|
});
|
|
281
281
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload()))).pipe(Effect.andThen(refreshModels().pipe(Effect.forkScoped, Effect.asVoid)));
|
|
282
|
-
yield* bus.subscribe(
|
|
282
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
283
283
|
yield* refreshModels().pipe(Effect.forkScoped);
|
|
284
284
|
yield* Effect.sleep(Duration.minutes(15)).pipe(Effect.andThen(refreshModels), Effect.forever, Effect.forkScoped);
|
|
285
285
|
})
|
|
@@ -338,7 +338,7 @@ function deriveModels2(remote, existing) {
|
|
|
338
338
|
const found = byID.get(model.modelID);
|
|
339
339
|
return found ? [deriveModel(found, model)] : [];
|
|
340
340
|
}),
|
|
341
|
-
...remote.filter((model) => !known.has(
|
|
341
|
+
...remote.filter((model) => !known.has(ID4.make(model.slug))).map((model) => deriveModel(model, Info13.default(ID7.openai, ID4.make(model.slug))))
|
|
342
342
|
];
|
|
343
343
|
}
|
|
344
344
|
function deriveModel(remote, previous) {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service80,
|
|
6
|
+
node84
|
|
7
|
+
} from "./vcs-dfjxtsf9.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-84txncab.js";
|
|
14
14
|
import {
|
|
15
15
|
Service82,
|
|
16
16
|
node86
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./vcs-mk899n6x.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./vcs-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service50,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node53,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service50 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service80;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
109
|
const kv = yield* Service82;
|
|
110
|
-
return
|
|
110
|
+
return Service50.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node53 = makeGlobalNode({
|
|
171
|
+
service: Service50,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node84, Global.node, node86]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service50, isError2, validateBranch2, node53, exports_repository_cache };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-emy2mr0p.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command5 = {};
|
|
14
14
|
__export(exports_command5, {
|
|
15
15
|
Command: () => exports_command5,
|
|
16
|
-
Event: () =>
|
|
16
|
+
Event: () => Event10,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info14,
|
|
19
|
+
NotFoundError: () => NotFoundError6,
|
|
20
|
+
Service: () => Service53,
|
|
21
|
+
layer: () => layer22,
|
|
22
|
+
node: () => node56
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event10 } from "@opencode/schema/command";
|
|
28
|
+
var Info14 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service53 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer22 = Layer.effect(Service53, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service83;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer24 = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info14.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service53.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,14 +66,14 @@ var layer24 = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
74
|
+
var node56 = makeLocationNode({
|
|
75
|
+
service: Service53,
|
|
76
|
+
layer: layer22,
|
|
77
77
|
deps: [node87]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info14, NotFoundError6, ExecutionError2, Service53, layer22, node56, exports_command5, Event10 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service38
|
|
3
|
+
} from "./vcs-1ysz3b88.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service62
|
|
6
|
+
} from "./vcs-e0378qy6.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin33
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin33 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service38;
|
|
26
|
+
const image = yield* Service62;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin9 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin33, exports_image };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info22,
|
|
6
|
+
ID11,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-c0wyzfrh.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service38
|
|
11
|
+
} from "./vcs-1ysz3b88.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
17
|
var exports_skill2 = {};
|
|
18
18
|
__export(exports_skill2, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin27,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
23
|
SkillPlugin: () => exports_skill2
|
|
24
24
|
});
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin27 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
434
|
-
id:
|
|
433
|
+
editor.add(Info22.make({
|
|
434
|
+
id: ID11.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
441
|
-
id:
|
|
440
|
+
editor.add(Info22.make({
|
|
441
|
+
id: ID11.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service38;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin27, exports_skill2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-7f5fnqp2.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options7,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options7 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options7]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options7, Spec2, exports_plugin3 };
|