@opencode/core 0.0.0-dev-20602 → 0.0.0-dev-20604
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 +5 -5
- package/dist/bus.js +73 -73
- package/dist/chunks/{filesystem-d0e1hgt3.js → permission-00e39a3x.js} +16 -16
- package/dist/chunks/{filesystem-vwmxq978.js → permission-00gsd20n.js} +8 -8
- package/dist/chunks/{filesystem-bnm8fb8h.js → permission-0884y5jx.js} +42 -42
- package/dist/chunks/{filesystem-a3xzgxah.js → permission-0a3x0gwb.js} +11 -11
- package/dist/chunks/{filesystem-nshzc8pb.js → permission-0cwz5y17.js} +6 -6
- package/dist/chunks/{filesystem-a8jhphkq.js → permission-0fmtf5bj.js} +16 -16
- package/dist/chunks/{filesystem-6b2zjn2e.js → permission-0jq9fyba.js} +2 -2
- package/dist/chunks/{filesystem-0paq2nw3.js → permission-0paq2nw3.js} +1 -1
- package/dist/chunks/{filesystem-tp320r54.js → permission-0sxv3pp0.js} +19 -19
- package/dist/chunks/{filesystem-0vbcp93d.js → permission-0vbcp93d.js} +2 -2
- package/dist/chunks/{filesystem-n7d88tpn.js → permission-143qq2q9.js} +3 -3
- package/dist/chunks/{filesystem-r8xr0va3.js → permission-1acjjqhc.js} +4 -4
- package/dist/chunks/{filesystem-1dazxqgg.js → permission-1dazxqgg.js} +2 -2
- package/dist/chunks/{filesystem-84h8c373.js → permission-1dvck2a7.js} +2 -2
- package/dist/chunks/{filesystem-k2955xap.js → permission-1gg1hvxq.js} +6 -6
- package/dist/chunks/{filesystem-5jhahjrw.js → permission-1mxy96qq.js} +11 -11
- package/dist/chunks/{filesystem-6pzw4973.js → permission-1nzh38e4.js} +9 -9
- package/dist/chunks/{filesystem-x6pyv2yz.js → permission-1q5awywt.js} +5 -5
- package/dist/chunks/{filesystem-bzx1h3sx.js → permission-1qpyfznp.js} +36 -36
- package/dist/chunks/{filesystem-y1bjwcm4.js → permission-1tt5by41.js} +5 -5
- package/dist/chunks/{filesystem-cqnpbd2p.js → permission-1wqtjhvw.js} +9 -9
- package/dist/chunks/{filesystem-49kvfp1r.js → permission-23gfma1f.js} +8 -8
- package/dist/chunks/{filesystem-z3t1gjd3.js → permission-26r65mmz.js} +23 -23
- package/dist/chunks/{filesystem-m69ksr44.js → permission-29aemqww.js} +2 -2
- package/dist/chunks/{filesystem-2a5m3afh.js → permission-2a5m3afh.js} +1 -1
- package/dist/chunks/{filesystem-p76qarx3.js → permission-2c7szbvb.js} +11 -11
- package/dist/chunks/{filesystem-hkv302dx.js → permission-2g3180ww.js} +14 -14
- package/dist/chunks/{filesystem-hpfvhvya.js → permission-2hr5nhwa.js} +8 -8
- package/dist/chunks/{filesystem-7dqw4kz8.js → permission-2k8khapm.js} +5 -5
- package/dist/chunks/{filesystem-bvxyc9gc.js → permission-2mn8wmah.js} +19 -19
- package/dist/chunks/{filesystem-djszqvmq.js → permission-2sejkfem.js} +9 -9
- package/dist/chunks/{filesystem-ddt2bs9e.js → permission-2vs2nh1n.js} +4 -4
- package/dist/chunks/{filesystem-1ygqh575.js → permission-33w4ejhs.js} +6 -6
- package/dist/chunks/{filesystem-a0g5q532.js → permission-38an4xka.js} +25 -25
- package/dist/chunks/{filesystem-3fc6dm20.js → permission-3fc6dm20.js} +1 -1
- package/dist/chunks/{filesystem-3hepkmqq.js → permission-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-3g7aw0e2.js → permission-3jp4dwzq.js} +11 -11
- package/dist/chunks/{filesystem-3smtnn6g.js → permission-3smtnn6g.js} +1 -1
- package/dist/chunks/{filesystem-3tvqynh2.js → permission-3tvqynh2.js} +1 -1
- package/dist/chunks/{filesystem-b22x9jmk.js → permission-3z3v210x.js} +9 -9
- package/dist/chunks/{filesystem-3zsf4n22.js → permission-3zsf4n22.js} +1 -1
- package/dist/chunks/{filesystem-de9p37qw.js → permission-43sdyzvt.js} +17 -17
- package/dist/chunks/{filesystem-zmr78fwr.js → permission-47jkzegy.js} +5 -5
- package/dist/chunks/{filesystem-3j9bgvtg.js → permission-49exe669.js} +5 -5
- package/dist/chunks/{filesystem-8t4stv32.js → permission-4ddfa0cg.js} +7 -7
- package/dist/chunks/{filesystem-af4g4tm2.js → permission-4tp4qy7h.js} +6 -6
- package/dist/chunks/{filesystem-2ccvkpx1.js → permission-4ts7tf6z.js} +2 -2
- package/dist/chunks/{filesystem-54ma36ye.js → permission-54ma36ye.js} +1 -1
- package/dist/chunks/{filesystem-5daktx2q.js → permission-5daktx2q.js} +1 -1
- package/dist/chunks/{filesystem-m1213s2d.js → permission-5ej9v7gj.js} +4 -4
- package/dist/chunks/{filesystem-yvfhqz1f.js → permission-5hprk68m.js} +45 -45
- package/dist/chunks/{filesystem-4vw64pvn.js → permission-5n867fq8.js} +6 -6
- package/dist/chunks/{filesystem-e94fm7xg.js → permission-5nch08cz.js} +11 -11
- package/dist/chunks/{filesystem-0shza7wa.js → permission-5nesmw8h.js} +20 -20
- package/dist/chunks/{filesystem-yf10kn3d.js → permission-5q13c62c.js} +8 -8
- package/dist/chunks/{filesystem-e3qxr5gk.js → permission-5qd3pb7m.js} +2 -2
- package/dist/chunks/{filesystem-5t3nmthw.js → permission-5t3nmthw.js} +2 -2
- package/dist/chunks/{filesystem-p37cw4rj.js → permission-5yzzbxa7.js} +8 -8
- package/dist/chunks/{filesystem-5vdbc3f9.js → permission-60gjm7fv.js} +32 -32
- package/dist/chunks/{filesystem-v6q8pczy.js → permission-644z2gzf.js} +35 -35
- package/dist/chunks/{filesystem-6gwdhv30.js → permission-65c6by1w.js} +11 -11
- package/dist/chunks/{filesystem-669tq793.js → permission-669tq793.js} +1 -1
- package/dist/chunks/{filesystem-9nvbss96.js → permission-69g3aw61.js} +15 -15
- package/dist/chunks/{filesystem-69mxx76a.js → permission-69sm1b52.js} +21 -21
- package/dist/chunks/{filesystem-wvg70fph.js → permission-6ae6sp2d.js} +15 -15
- package/dist/chunks/{filesystem-8a6ws7jr.js → permission-6b8kbxwq.js} +9 -9
- package/dist/chunks/{filesystem-60zs3p88.js → permission-6bxg0bw0.js} +22 -22
- package/dist/chunks/{filesystem-70hw7rqt.js → permission-6g8zr4cm.js} +26 -26
- package/dist/chunks/{filesystem-6z9mwsmt.js → permission-6hjv98hr.js} +24 -24
- package/dist/chunks/{filesystem-7m5zn0j1.js → permission-6mtk3z9h.js} +42 -42
- package/dist/chunks/{filesystem-6xb47vfp.js → permission-6xb47vfp.js} +1 -1
- package/dist/chunks/{filesystem-f75zav2x.js → permission-71az546q.js} +2 -2
- package/dist/chunks/{filesystem-cg8t7cy8.js → permission-71r9vgx9.js} +22 -22
- package/dist/chunks/{filesystem-ka78bvwr.js → permission-75nvsedk.js} +34 -34
- package/dist/chunks/{filesystem-nwwy52aa.js → permission-770qc6mt.js} +9 -9
- package/dist/chunks/{filesystem-7bmhse3q.js → permission-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-k3qk5v9m.js → permission-7ds92y67.js} +24 -24
- package/dist/chunks/{filesystem-q3p7br47.js → permission-7f71sm1z.js} +5 -5
- package/dist/chunks/{filesystem-xnpkzqyy.js → permission-7p8gf456.js} +8 -8
- package/dist/chunks/{filesystem-g29q4m4m.js → permission-7qy03stn.js} +25 -25
- package/dist/chunks/{filesystem-5p2ddtg9.js → permission-7sfe6dv3.js} +21 -21
- package/dist/chunks/{filesystem-ttmczaxh.js → permission-7wqm2yv5.js} +36 -36
- package/dist/chunks/{filesystem-s3f3na3g.js → permission-7xe9wvm3.js} +5 -5
- package/dist/chunks/{filesystem-84txncab.js → permission-84txncab.js} +1 -1
- package/dist/chunks/{filesystem-2aw5gy1a.js → permission-88prsvra.js} +5 -5
- package/dist/chunks/{filesystem-ewvqjf2t.js → permission-8bjekac9.js} +13 -13
- package/dist/chunks/{filesystem-mpjek28k.js → permission-8bq48k7n.js} +88 -88
- package/dist/chunks/{filesystem-8d7r5vzw.js → permission-8d7r5vzw.js} +1 -1
- package/dist/chunks/{filesystem-7pp4szkv.js → permission-8ejv9xea.js} +29 -29
- package/dist/chunks/{filesystem-da0gtaay.js → permission-8xsq28zb.js} +3 -3
- package/dist/chunks/{filesystem-fntkcw1e.js → permission-97t75hz2.js} +13 -13
- package/dist/chunks/{filesystem-4pjc529k.js → permission-99pktxqp.js} +5 -5
- package/dist/chunks/{filesystem-d6dyd3fd.js → permission-9ay967g1.js} +6 -6
- package/dist/chunks/{filesystem-yfz2rgwt.js → permission-9dch9wd5.js} +3 -3
- package/dist/chunks/{filesystem-3t5mk94f.js → permission-9dg3fafx.js} +41 -41
- package/dist/chunks/{filesystem-kb9j3d72.js → permission-9e5bzkjp.js} +3 -3
- package/dist/chunks/{filesystem-dp49ea5z.js → permission-9f7dkgxj.js} +1 -1
- package/dist/chunks/{filesystem-zfqr1f4t.js → permission-9mdebkpc.js} +8 -8
- package/dist/chunks/{filesystem-9fxhyr9d.js → permission-9n7e9qv6.js} +3 -3
- package/dist/chunks/{filesystem-706phk7x.js → permission-9pa8tak9.js} +2 -2
- package/dist/chunks/permission-9rzpc29h.js +253 -0
- package/dist/chunks/{filesystem-ndv6xaj5.js → permission-9s4dvbn1.js} +13 -13
- package/dist/chunks/permission-9sh4wc5j.js +18 -0
- package/dist/chunks/{filesystem-e67e6j0j.js → permission-a1hg7787.js} +23 -23
- package/dist/chunks/{filesystem-s4363v40.js → permission-a63fz61b.js} +18 -18
- package/dist/chunks/{filesystem-4rx3papc.js → permission-a9c2j8vb.js} +33 -33
- package/dist/chunks/{filesystem-aaet6srn.js → permission-aaet6srn.js} +2 -2
- package/dist/chunks/{filesystem-w2apjenm.js → permission-ac7fjd0k.js} +9 -9
- package/dist/chunks/{filesystem-h43jn5d4.js → permission-adnq28qh.js} +18 -18
- package/dist/chunks/{filesystem-vfavjxm7.js → permission-atmbxkg4.js} +1 -1
- package/dist/chunks/{filesystem-b6gygkdw.js → permission-b6gygkdw.js} +2 -2
- package/dist/chunks/{filesystem-j7zryc91.js → permission-b9grawmm.js} +6 -6
- package/dist/chunks/{filesystem-ddmpsqd0.js → permission-b9mpmp2e.js} +33 -33
- package/dist/chunks/{filesystem-7zx1qa5e.js → permission-ba15hegp.js} +18 -18
- package/dist/chunks/{filesystem-j2865w2v.js → permission-bawh0585.js} +11 -11
- package/dist/chunks/{filesystem-8q267h9v.js → permission-bb7vbq9e.js} +28 -28
- package/dist/chunks/{filesystem-dj6rd612.js → permission-c609tqc9.js} +11 -11
- package/dist/chunks/{filesystem-9dftrr8m.js → permission-c7d3p40w.js} +4 -4
- package/dist/chunks/{filesystem-vsp1fds9.js → permission-cavr175a.js} +21 -21
- package/dist/chunks/{filesystem-b6yzx5gq.js → permission-cfz5nncy.js} +25 -25
- package/dist/chunks/{filesystem-0y55kwzf.js → permission-crqsntkm.js} +3 -3
- package/dist/chunks/{filesystem-vwy2dwsg.js → permission-d8m19jsj.js} +97 -97
- package/dist/chunks/{filesystem-x72cyxkw.js → permission-dbvz0f1m.js} +3 -3
- package/dist/chunks/{filesystem-addxnjmp.js → permission-dgpsrprm.js} +4 -4
- package/dist/chunks/{filesystem-x2q3h1g0.js → permission-dhe3gj8p.js} +16 -16
- package/dist/chunks/{filesystem-xkntkrq7.js → permission-dmqcgk4z.js} +5 -5
- package/dist/chunks/permission-dp1nvkh1.js +26 -0
- package/dist/chunks/{filesystem-dh3k95jc.js → permission-drb78rg7.js} +5 -5
- package/dist/chunks/{filesystem-5w7jvsny.js → permission-e48bcawz.js} +28 -28
- package/dist/chunks/{filesystem-bjkh11zp.js → permission-e79stncd.js} +8 -8
- package/dist/chunks/{filesystem-167apanm.js → permission-e7fs0wrv.js} +13 -13
- package/dist/chunks/{filesystem-7htmkn1c.js → permission-eb834mee.js} +46 -46
- package/dist/chunks/{filesystem-hrd1nde7.js → permission-edejkwws.js} +4 -4
- package/dist/chunks/{filesystem-ef5x83kb.js → permission-ef5x83kb.js} +1 -1
- package/dist/chunks/{filesystem-64kw0922.js → permission-enwgpnyk.js} +12 -12
- package/dist/chunks/{filesystem-641m1tbz.js → permission-epq2y0vr.js} +26 -26
- package/dist/chunks/{filesystem-a1gpj94z.js → permission-eq1pz5kg.js} +3 -3
- package/dist/chunks/{filesystem-etq0c3wd.js → permission-etq0c3wd.js} +1 -1
- package/dist/chunks/{filesystem-dt2w98wh.js → permission-evtq5b1r.js} +22 -22
- package/dist/chunks/{filesystem-4326jr2k.js → permission-ffb47xh8.js} +18 -18
- package/dist/chunks/{filesystem-q1ebemwr.js → permission-ffrcvzvb.js} +11 -11
- package/dist/chunks/{filesystem-scxjzwy3.js → permission-fq94d442.js} +11 -11
- package/dist/chunks/{filesystem-606e7s57.js → permission-g1qz6sq4.js} +11 -11
- package/dist/chunks/{filesystem-sy6m8g0m.js → permission-g3bq8mbp.js} +12 -12
- package/dist/chunks/{filesystem-dgytgmtw.js → permission-g8z7qf9b.js} +7 -7
- package/dist/chunks/{filesystem-gd4qta3r.js → permission-gd4qta3r.js} +1 -1
- package/dist/chunks/{filesystem-5sh4vwnj.js → permission-ggcd8st8.js} +24 -24
- package/dist/chunks/{filesystem-yn6pjxmn.js → permission-gm6kyty9.js} +48 -48
- package/dist/chunks/{filesystem-xk2tzhhe.js → permission-gp9qt0tx.js} +34 -34
- package/dist/chunks/{filesystem-t6msp11s.js → permission-gx8hye9g.js} +6 -6
- package/dist/chunks/{filesystem-y94qedfr.js → permission-gz0wsfr5.js} +26 -26
- package/dist/chunks/{filesystem-3cegwx68.js → permission-h2b79v29.js} +2 -2
- package/dist/chunks/{filesystem-9acv8a8q.js → permission-h4cp1ex5.js} +4 -4
- package/dist/chunks/{filesystem-x35qpc5t.js → permission-h540debk.js} +36 -36
- package/dist/chunks/{filesystem-7f7etyks.js → permission-h6dvam5x.js} +23 -23
- package/dist/chunks/{filesystem-h6vf3j39.js → permission-h6vf3j39.js} +1 -1
- package/dist/chunks/{filesystem-cdwz3t6x.js → permission-h6x13cr5.js} +46 -46
- package/dist/chunks/{filesystem-ftg1wqvm.js → permission-h9v4cxwf.js} +11 -11
- package/dist/chunks/{filesystem-qqv1hm2r.js → permission-hv4w9ws6.js} +40 -40
- package/dist/chunks/{filesystem-j56e64zr.js → permission-j56e64zr.js} +1 -1
- package/dist/chunks/{filesystem-dkgbpsr5.js → permission-j6qf5p6p.js} +32 -32
- package/dist/chunks/{filesystem-bmc7r4t8.js → permission-j7f5zatd.js} +46 -46
- package/dist/chunks/{filesystem-pabbzeed.js → permission-j9wvjn6p.js} +3 -3
- package/dist/chunks/{filesystem-93bn1gw0.js → permission-jakqvpyg.js} +12 -12
- package/dist/chunks/{filesystem-eyvwcx88.js → permission-jd1qp3xj.js} +9 -9
- package/dist/chunks/{filesystem-70he0n48.js → permission-jenr0xkc.js} +18 -18
- package/dist/chunks/{filesystem-7gmmhyav.js → permission-jqag1j2a.js} +16 -16
- package/dist/chunks/{filesystem-a0nrfapa.js → permission-jzbgvabf.js} +26 -26
- package/dist/chunks/{filesystem-0rp1rmqj.js → permission-jzrazkk5.js} +8 -8
- package/dist/chunks/{filesystem-9jbvj98d.js → permission-k1gkpfdk.js} +8 -8
- package/dist/chunks/{filesystem-7z7kh450.js → permission-kadc288y.js} +4 -4
- package/dist/chunks/{filesystem-w2h15q85.js → permission-kjdm35cs.js} +5 -5
- package/dist/chunks/{filesystem-yssy4yg8.js → permission-kjgg9g67.js} +9 -9
- package/dist/chunks/{filesystem-22f357wt.js → permission-ktw141zw.js} +9 -9
- package/dist/chunks/{filesystem-rjmaf817.js → permission-kv3fvbwa.js} +7 -7
- package/dist/chunks/{filesystem-54evr9qc.js → permission-kxf98e9f.js} +6 -6
- package/dist/chunks/{filesystem-m3fdjcah.js → permission-m3fdjcah.js} +1 -1
- package/dist/chunks/{filesystem-v0es1rhs.js → permission-m4hbgkfe.js} +9 -9
- package/dist/chunks/{filesystem-m9w0rfyh.js → permission-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-bn3rhc52.js → permission-maqk305m.js} +11 -11
- package/dist/chunks/{filesystem-vp7x5tg7.js → permission-mchhnxvs.js} +34 -34
- package/dist/chunks/{filesystem-hr4wrrf6.js → permission-mj1r145h.js} +48 -48
- package/dist/chunks/{filesystem-kbx9zp93.js → permission-mjt5bava.js} +30 -30
- package/dist/chunks/{filesystem-w1bpwr2w.js → permission-mqsshfys.js} +17 -17
- package/dist/chunks/{filesystem-npd1vztc.js → permission-msvanq8f.js} +8 -8
- package/dist/chunks/{filesystem-azc0px7x.js → permission-mw8m46jf.js} +34 -34
- package/dist/chunks/{filesystem-tq3jytt0.js → permission-mzyt63pd.js} +14 -14
- package/dist/chunks/{filesystem-2ydbbtvs.js → permission-nc9zy37s.js} +15 -15
- package/dist/chunks/{filesystem-znsx74x0.js → permission-ncnm8wen.js} +1 -1
- package/dist/chunks/{filesystem-svmhx4z4.js → permission-njzgf4wm.js} +13 -13
- package/dist/chunks/{filesystem-pedtrev3.js → permission-nsdrznep.js} +19 -19
- package/dist/chunks/{filesystem-wj5nvfcv.js → permission-nsnw0xt6.js} +21 -21
- package/dist/chunks/{filesystem-d3r3dk6y.js → permission-nycr5db2.js} +15 -15
- package/dist/chunks/{filesystem-yvekp6xe.js → permission-p8p65hpp.js} +28 -28
- package/dist/chunks/{filesystem-grhtzbr5.js → permission-pfgms54f.js} +24 -24
- package/dist/chunks/{filesystem-h6jnqrbn.js → permission-pfjyvnz5.js} +12 -12
- package/dist/chunks/{filesystem-pjvnvgmy.js → permission-pjvnvgmy.js} +1 -1
- package/dist/chunks/{filesystem-pknna89w.js → permission-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-0wpypy9k.js → permission-ppjfazz9.js} +35 -35
- package/dist/chunks/{filesystem-jktqzjpa.js → permission-py3kkmfq.js} +8 -8
- package/dist/chunks/{filesystem-wyyxkk5r.js → permission-py6gzvge.js} +23 -23
- package/dist/chunks/{filesystem-0j77ygfz.js → permission-q0xm7vwc.js} +6 -6
- package/dist/chunks/{filesystem-e82jk1xa.js → permission-q5tnjhnb.js} +24 -24
- package/dist/chunks/{filesystem-qqe847jd.js → permission-q7bjf408.js} +22 -22
- package/dist/chunks/{filesystem-qnc92qwc.js → permission-qnc92qwc.js} +1 -1
- package/dist/chunks/{filesystem-bj4xrtzj.js → permission-qnpw3kt7.js} +8 -8
- package/dist/chunks/{filesystem-qsdy395h.js → permission-qsdy395h.js} +1 -1
- package/dist/chunks/{filesystem-scgrse2b.js → permission-qygbw77c.js} +5 -5
- package/dist/chunks/{filesystem-ht6a65zw.js → permission-r0v4ngcf.js} +14 -14
- package/dist/chunks/{filesystem-5hftm4dp.js → permission-r45sy161.js} +1 -1
- package/dist/chunks/{filesystem-rdw6cm16.js → permission-rdw6cm16.js} +1 -1
- package/dist/chunks/{filesystem-93tcn014.js → permission-rew2afvs.js} +21 -21
- package/dist/chunks/{filesystem-ph3trhh7.js → permission-rfxhdb7f.js} +36 -36
- package/dist/chunks/{filesystem-w1ad28wa.js → permission-rgzsnrwz.js} +8 -8
- package/dist/chunks/{filesystem-gnt2zf9m.js → permission-rjtfhk7h.js} +313 -313
- package/dist/chunks/{filesystem-74jethyg.js → permission-rthm24p7.js} +27 -27
- package/dist/chunks/{filesystem-0dygnakk.js → permission-rz911c4y.js} +4 -4
- package/dist/chunks/{filesystem-f2mw6jyj.js → permission-s5qxm7c2.js} +11 -11
- package/dist/chunks/{filesystem-rhjbct0v.js → permission-s8d7rejh.js} +4 -4
- package/dist/chunks/{filesystem-3124xjv5.js → permission-s952n1fa.js} +5 -5
- package/dist/chunks/{filesystem-277myemf.js → permission-sav4csbm.js} +17 -17
- package/dist/chunks/{filesystem-wst4rpdj.js → permission-sepctg8w.js} +17 -17
- package/dist/chunks/{filesystem-52wy7q97.js → permission-sj2vw28a.js} +30 -30
- package/dist/chunks/{filesystem-74qydh90.js → permission-sk2nnq70.js} +63 -63
- package/dist/chunks/{filesystem-h6xrewk0.js → permission-skzed618.js} +71 -71
- package/dist/chunks/{filesystem-q7d95chg.js → permission-snnjf9ks.js} +49 -49
- package/dist/chunks/{filesystem-h63vhw9z.js → permission-snpprpcc.js} +19 -19
- package/dist/chunks/{filesystem-nh3a7tvc.js → permission-sx40egzg.js} +10 -10
- package/dist/chunks/{filesystem-d1mtykxg.js → permission-sxzvkvgj.js} +6 -6
- package/dist/chunks/{filesystem-tazgh4e4.js → permission-tazgh4e4.js} +1 -1
- package/dist/chunks/{filesystem-30w2jk0g.js → permission-tb6k9e59.js} +15 -15
- package/dist/chunks/{filesystem-tcezcvh9.js → permission-tcezcvh9.js} +1 -1
- package/dist/chunks/{filesystem-tdstcens.js → permission-tdstcens.js} +1 -1
- package/dist/chunks/{filesystem-dy46c2ft.js → permission-tjgx8t34.js} +15 -15
- package/dist/chunks/{filesystem-3tx1qjh6.js → permission-tw3ah6ks.js} +20 -20
- package/dist/chunks/{filesystem-fyhztkyq.js → permission-twynfapg.js} +153 -153
- package/dist/chunks/{filesystem-dbv05mm3.js → permission-tx92n959.js} +4 -4
- package/dist/chunks/{filesystem-gq5cp2m4.js → permission-v5bd4xxk.js} +29 -29
- package/dist/chunks/{filesystem-b27vhd2z.js → permission-v5dkyp31.js} +4 -4
- package/dist/chunks/{filesystem-716v4pk6.js → permission-vdt6mrd1.js} +4 -4
- package/dist/chunks/{filesystem-5pfs40b8.js → permission-venz3k50.js} +33 -33
- package/dist/chunks/{filesystem-veqvce7d.js → permission-veqvce7d.js} +1 -1
- package/dist/chunks/{filesystem-npy1jpkw.js → permission-vg70crqm.js} +8 -8
- package/dist/chunks/{filesystem-vbfgae2j.js → permission-vkfdnwpx.js} +4 -4
- package/dist/chunks/{filesystem-dh7g9f8f.js → permission-vkq9qw9d.js} +9 -9
- package/dist/chunks/{filesystem-qv57k41b.js → permission-vwxje0c5.js} +48 -48
- package/dist/chunks/{filesystem-vzcthcp8.js → permission-vzcthcp8.js} +1 -1
- package/dist/chunks/{filesystem-vzs5sf6e.js → permission-vzs5sf6e.js} +1 -1
- package/dist/chunks/{filesystem-w3wsvvr9.js → permission-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-x3kctc80.js → permission-w4nz8w6d.js} +39 -39
- package/dist/chunks/{filesystem-wd87259q.js → permission-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-gxv90b6f.js → permission-wedb4xh7.js} +5 -5
- package/dist/chunks/{filesystem-re6fq1vt.js → permission-wexe3njk.js} +13 -13
- package/dist/chunks/{filesystem-ws9vx4zj.js → permission-wk583528.js} +16 -16
- package/dist/chunks/{filesystem-agas6951.js → permission-wp2vm3yk.js} +26 -26
- package/dist/chunks/{filesystem-mk9jrdj5.js → permission-x3d6wr3q.js} +1 -1
- package/dist/chunks/{filesystem-vjf1hyyy.js → permission-xe0rvvn8.js} +7 -7
- package/dist/chunks/{filesystem-w19d8598.js → permission-xfkkasph.js} +5 -5
- package/dist/chunks/{filesystem-cdrvgdex.js → permission-xmxt430q.js} +20 -20
- package/dist/chunks/{filesystem-66f30m3k.js → permission-xpx4cxwa.js} +11 -11
- package/dist/chunks/{filesystem-xyafkbt0.js → permission-xyafkbt0.js} +3 -3
- package/dist/chunks/{filesystem-60t2pvv5.js → permission-y1e280sq.js} +16 -16
- package/dist/chunks/{filesystem-y1fvbwt7.js → permission-y1fvbwt7.js} +1 -1
- package/dist/chunks/{filesystem-nxm207yx.js → permission-y71avatq.js} +4 -4
- package/dist/chunks/{filesystem-rgn471sa.js → permission-y7dep1mh.js} +21 -21
- package/dist/chunks/{filesystem-byf7jksx.js → permission-yrbjjz2a.js} +18 -18
- package/dist/chunks/{filesystem-tetvtk1x.js → permission-yxjwayz8.js} +37 -37
- package/dist/chunks/{filesystem-z0bkrqjs.js → permission-z0bkrqjs.js} +1 -1
- package/dist/chunks/{filesystem-adrc3k43.js → permission-z1n3f02h.js} +26 -26
- package/dist/chunks/{filesystem-64g412fh.js → permission-z642r631.js} +27 -27
- package/dist/chunks/{filesystem-czw6kqc3.js → permission-z6p7bzdp.js} +4 -4
- package/dist/chunks/{filesystem-pvz2ybrw.js → permission-z7pfxgdb.js} +5 -5
- package/dist/chunks/{filesystem-89w5ekkf.js → permission-z9vd2tva.js} +19 -19
- package/dist/chunks/{filesystem-xgsp1r84.js → permission-zd2x0gx4.js} +17 -17
- package/dist/chunks/{filesystem-zr2ceqn5.js → permission-zr2ceqn5.js} +1 -1
- package/dist/chunks/{filesystem-h9wp8z5w.js → permission-zsr4wwhv.js} +4 -4
- package/dist/chunks/{filesystem-v7exs4mj.js → permission-zts3cpsy.js} +24 -24
- package/dist/chunks/{filesystem-zxq2ej10.js → permission-zxq2ej10.js} +1 -1
- package/dist/chunks/{filesystem-8wbxkt1z.js → permission-zy43x3f1.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- 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 +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- 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 +83 -83
- package/dist/database/database.js +70 -70
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +82 -82
- 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 +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +81 -81
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +352 -352
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +129 -129
- 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 +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +114 -114
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- 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 +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +87 -87
- 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 +84 -84
- 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 +131 -131
- 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 +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +201 -201
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +204 -204
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +96 -96
- 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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- 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 +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/filesystem-3rbawgv7.js +0 -26
- package/dist/chunks/filesystem-v8d9pxf2.js +0 -253
- package/dist/chunks/filesystem-vnkjks7b.js +0 -18
- /package/dist/chunks/{filesystem-0qkdqm5v.js → permission-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → permission-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → permission-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → permission-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-1kg9ymc8.js → permission-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{filesystem-24dcb14g.js → permission-24dcb14g.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → permission-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2axfhc9x.js → permission-2axfhc9x.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → permission-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-34c7v6d4.js → permission-34c7v6d4.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → permission-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3asan66x.js → permission-3asan66x.js} +0 -0
- /package/dist/chunks/{filesystem-3t0ybcrp.js → permission-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → permission-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-3w5fmr99.js → permission-3w5fmr99.js} +0 -0
- /package/dist/chunks/{filesystem-3wcehsnq.js → permission-3wcehsnq.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → permission-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → permission-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4vcrnpx2.js → permission-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{filesystem-4y7fprxs.js → permission-4y7fprxs.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → permission-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-550bvhaj.js → permission-550bvhaj.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → permission-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → permission-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → permission-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → permission-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → permission-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → permission-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-8wj87zfr.js → permission-8wj87zfr.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → permission-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → permission-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-a6k6eb26.js → permission-a6k6eb26.js} +0 -0
- /package/dist/chunks/{filesystem-af5trqkr.js → permission-af5trqkr.js} +0 -0
- /package/dist/chunks/{filesystem-afrmfg78.js → permission-afrmfg78.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → permission-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → permission-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → permission-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → permission-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → permission-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → permission-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → permission-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → permission-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-dajrwvna.js → permission-dajrwvna.js} +0 -0
- /package/dist/chunks/{filesystem-dap0rakb.js → permission-dap0rakb.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → permission-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → permission-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → permission-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-e73j6tqm.js → permission-e73j6tqm.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → permission-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-eh3zwz77.js → permission-eh3zwz77.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → permission-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → permission-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → permission-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → permission-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → permission-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-fxgpk5d8.js → permission-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{filesystem-g4wezp1m.js → permission-g4wezp1m.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → permission-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → permission-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → permission-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hjbc5kem.js → permission-hjbc5kem.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → permission-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → permission-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-j5zkgpj8.js → permission-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{filesystem-jjkms2e6.js → permission-jjkms2e6.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → permission-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → permission-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → permission-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → permission-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → permission-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → permission-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → permission-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → permission-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → permission-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → permission-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qaymkmh1.js → permission-qaymkmh1.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → permission-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → permission-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qg3g05ea.js → permission-qg3g05ea.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → permission-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → permission-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → permission-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → permission-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → permission-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wc3fc9cn.js → permission-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → permission-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → permission-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → permission-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x61499pn.js → permission-x61499pn.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → permission-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8cydn3q.js → permission-y8cydn3q.js} +0 -0
- /package/dist/chunks/{filesystem-y8f7s663.js → permission-y8f7s663.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → permission-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-ym463w8f.js → permission-ym463w8f.js} +0 -0
- /package/dist/chunks/{filesystem-z5v4ffb3.js → permission-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → permission-z9919s4g.js} +0 -0
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-dgpsrprm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./permission-jqag1j2a.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event20
|
|
10
|
+
} from "./permission-gp9qt0tx.js";
|
|
11
11
|
import {
|
|
12
12
|
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./permission-nsdrznep.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID11,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service73
|
|
20
|
+
} from "./permission-z1n3f02h.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID10
|
|
23
|
+
} from "./permission-venz3k50.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load2,
|
|
26
|
+
derive2
|
|
27
|
+
} from "./permission-evtq5b1r.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./permission-00gsd20n.js";
|
|
31
31
|
import {
|
|
32
32
|
ID9
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./permission-69sm1b52.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./permission-54ma36ye.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -163,8 +163,8 @@ var oauth = (app) => ({
|
|
|
163
163
|
var GithubCopilotPlugin2 = define({
|
|
164
164
|
id: "opencode.provider.github.copilot",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const providers = yield*
|
|
167
|
-
const bus = yield*
|
|
166
|
+
const providers = yield* Service73;
|
|
167
|
+
const bus = yield* Service81;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
170
170
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -180,9 +180,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
180
180
|
return;
|
|
181
181
|
}
|
|
182
182
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
183
|
-
const provider = yield* providers.get(
|
|
183
|
+
const provider = yield* providers.get(ID11.githubCopilot);
|
|
184
184
|
const remote = yield* Effect.tryPromise({
|
|
185
|
-
try: () =>
|
|
185
|
+
try: () => load2(url, {
|
|
186
186
|
...provider?.headers,
|
|
187
187
|
Authorization: `Bearer ${credential.refresh}`,
|
|
188
188
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -202,13 +202,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
202
202
|
editor.method.update(oauth(ctx.app));
|
|
203
203
|
});
|
|
204
204
|
yield* ctx.provider.transform((evt) => {
|
|
205
|
-
const item = evt.get(
|
|
205
|
+
const item = evt.get(ID11.githubCopilot);
|
|
206
206
|
if (!item)
|
|
207
207
|
return;
|
|
208
208
|
if (loaded.models) {
|
|
209
209
|
evt.add({
|
|
210
210
|
info: item.provider,
|
|
211
|
-
models: Array.from(
|
|
211
|
+
models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
212
212
|
sourceConnection: loaded.connection
|
|
213
213
|
});
|
|
214
214
|
return;
|
|
@@ -222,17 +222,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
222
222
|
}
|
|
223
223
|
});
|
|
224
224
|
yield* ctx.model.transform((models) => {
|
|
225
|
-
if (models.get(
|
|
226
|
-
models.update(
|
|
225
|
+
if (models.get(ID11.githubCopilot, ID10.make("gpt-5-chat-latest"))) {
|
|
226
|
+
models.update(ID11.githubCopilot, ID10.make("gpt-5-chat-latest"), (model) => {
|
|
227
227
|
model.enabled = false;
|
|
228
228
|
});
|
|
229
229
|
}
|
|
230
230
|
});
|
|
231
231
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
232
|
-
yield* bus.subscribe(
|
|
232
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
233
233
|
yield* refresh().pipe(Effect.forkScoped);
|
|
234
234
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
235
|
-
if (evt.model.providerID !==
|
|
235
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
236
236
|
return;
|
|
237
237
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
238
238
|
return;
|
|
@@ -241,7 +241,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
241
241
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
242
242
|
}));
|
|
243
243
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
244
|
-
if (evt.model.providerID !==
|
|
244
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
245
245
|
return;
|
|
246
246
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
247
247
|
return;
|
|
@@ -251,9 +251,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
251
251
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
252
252
|
if (interaction !== "conversation-agent")
|
|
253
253
|
evt.headers["x-initiator"] = "agent";
|
|
254
|
-
}), { providerID:
|
|
254
|
+
}), { providerID: ID11.githubCopilot });
|
|
255
255
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
256
|
-
if (evt.model.providerID !==
|
|
256
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
257
257
|
return;
|
|
258
258
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
259
259
|
return;
|
|
@@ -268,9 +268,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
268
268
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
269
269
|
return;
|
|
270
270
|
}));
|
|
271
|
-
}), { providerID:
|
|
271
|
+
}), { providerID: ID11.githubCopilot });
|
|
272
272
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
273
|
-
if (evt.model.providerID !==
|
|
273
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
274
274
|
return;
|
|
275
275
|
const token = evt.request.headers.get("x-api-key");
|
|
276
276
|
if (!token)
|
|
@@ -278,9 +278,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
278
278
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
279
279
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
280
280
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
281
|
-
}), { providerID:
|
|
281
|
+
}), { providerID: ID11.githubCopilot });
|
|
282
282
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
283
|
-
if (evt.model.providerID !==
|
|
283
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
284
284
|
return;
|
|
285
285
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
286
286
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./permission-jqag1j2a.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-venz3k50.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service20,
|
|
9
|
+
Event4
|
|
10
|
+
} from "./permission-hv4w9ws6.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -32,8 +32,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
32
32
|
var ModelsDevPlugin2 = define({
|
|
33
33
|
id: "opencode.models.dev",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const modelsDev = yield*
|
|
36
|
-
const bus = yield*
|
|
35
|
+
const modelsDev = yield* Service20;
|
|
36
|
+
const bus = yield* Service81;
|
|
37
37
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
38
38
|
yield* ctx.integration.transform((integrations) => {
|
|
39
39
|
for (const provider of loaded.data) {
|
|
@@ -66,7 +66,7 @@ var ModelsDevPlugin2 = define({
|
|
|
66
66
|
loaded.data = snapshots(data);
|
|
67
67
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
68
68
|
};
|
|
69
|
-
yield* bus.subscribe(
|
|
69
|
+
yield* bus.subscribe(Event4.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
70
70
|
const latest = yield* modelsDev.get();
|
|
71
71
|
if (snapshots(latest) !== loaded.data)
|
|
72
72
|
yield* apply(latest);
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./permission-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./permission-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./permission-xyafkbt0.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./permission-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service46,
|
|
17
|
+
node48
|
|
18
|
+
} from "./permission-1nzh38e4.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service68,
|
|
21
|
+
node72
|
|
22
|
+
} from "./permission-k1gkpfdk.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./permission-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./permission-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
|
-
Content: () =>
|
|
34
|
+
Content: () => Content3,
|
|
35
35
|
Error: () => Error3,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service45,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node47
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service45 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service68;
|
|
58
|
+
const image = yield* Service46;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service45.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node47 = makeLocationNode({
|
|
277
|
+
service: Service45,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node72, node48]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service45, node47, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID11
|
|
3
|
+
} from "./permission-z1n3f02h.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./permission-5n867fq8.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
14
14
|
import { Form } from "@opencode/schema/form";
|
|
15
|
-
var providerID =
|
|
15
|
+
var providerID = ID11.make("cloudflare-workers-ai");
|
|
16
16
|
var CloudflareWorkersAIPlugin2 = define({
|
|
17
17
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -3,27 +3,27 @@ import {
|
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
5
|
Service30
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-5hprk68m.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service64
|
|
9
|
+
} from "./permission-mj1r145h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./permission-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool/plugin/mcp-resource.ts
|
|
15
15
|
var exports_mcp_resource = {};
|
|
16
16
|
__export(exports_mcp_resource, {
|
|
17
17
|
McpResourceTools: () => exports_mcp_resource,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin7
|
|
19
19
|
});
|
|
20
20
|
import { ToolFailure } from "@opencode/ai";
|
|
21
21
|
import { Effect, Schema } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin7 = {
|
|
23
23
|
id: "opencode.tools.mcp-resources",
|
|
24
24
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
25
25
|
const mcp = yield* Service30;
|
|
26
|
-
const permission = yield*
|
|
26
|
+
const permission = yield* Service64;
|
|
27
27
|
yield* ctx.tool.transform((editor) => {
|
|
28
28
|
editor.add({
|
|
29
29
|
name: "list_mcp_resources",
|
|
@@ -93,4 +93,4 @@ var Plugin20 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin7, exports_mcp_resource };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./permission-jqag1j2a.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./permission-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./permission-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command4 = {};
|
|
14
14
|
__export(exports_command4, {
|
|
15
15
|
Command: () => exports_command4,
|
|
16
|
-
Event: () =>
|
|
16
|
+
Event: () => Event7,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info6,
|
|
19
|
+
NotFoundError: () => NotFoundError5,
|
|
20
|
+
Service: () => Service37,
|
|
21
|
+
layer: () => layer15,
|
|
22
|
+
node: () => node40
|
|
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 Event7 } from "@opencode/schema/command";
|
|
28
|
+
var Info6 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service37 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
45
|
-
const bus = yield*
|
|
44
|
+
var layer15 = Layer.effect(Service37, Effect.gen(function* () {
|
|
45
|
+
const bus = yield* Service81;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
48
48
|
initial: () => new Map,
|
|
@@ -51,11 +51,11 @@ var layer21 = Layer.effect(Service52, 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) => Info6.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service37.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,15 +66,15 @@ var layer21 = Layer.effect(Service52, 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 NotFoundError5({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
77
|
-
deps: [
|
|
74
|
+
var node40 = makeLocationNode({
|
|
75
|
+
service: Service37,
|
|
76
|
+
layer: layer15,
|
|
77
|
+
deps: [node85]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info6, NotFoundError5, ExecutionError2, Service37, layer15, node40, exports_command4, Event7 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-00gsd20n.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./permission-jqag1j2a.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event20
|
|
10
|
+
} from "./permission-gp9qt0tx.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./permission-dgpsrprm.js";
|
|
14
14
|
import {
|
|
15
15
|
ID14,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./permission-nsdrznep.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service22
|
|
21
|
+
} from "./permission-5q13c62c.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID11,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./permission-z1n3f02h.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./permission-venz3k50.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID17,
|
|
32
32
|
Input14,
|
|
33
33
|
Response2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./permission-wp2vm3yk.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/opencode.ts
|
|
37
37
|
import { Duration, Effect, Equal, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -47,7 +47,7 @@ var methodID = MethodID2.make("device");
|
|
|
47
47
|
var RemoteResponse = Schema.Struct({
|
|
48
48
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
49
49
|
websearch: Schema.Struct({
|
|
50
|
-
providerID:
|
|
50
|
+
providerID: ID17
|
|
51
51
|
}).pipe(Schema.optional),
|
|
52
52
|
mcp: Schema.Struct({
|
|
53
53
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -163,10 +163,10 @@ function oauth(http) {
|
|
|
163
163
|
var OpencodePlugin2 = define({
|
|
164
164
|
id: "opencode.provider.opencode",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const bus = yield*
|
|
166
|
+
const bus = yield* Service81;
|
|
167
167
|
const client = yield* HttpClient.HttpClient;
|
|
168
168
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
169
|
-
const managed = yield*
|
|
169
|
+
const managed = yield* Service22;
|
|
170
170
|
const scope = yield* Scope.Scope;
|
|
171
171
|
const loading = Semaphore.makeUnsafe(1);
|
|
172
172
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -281,7 +281,7 @@ var OpencodePlugin2 = define({
|
|
|
281
281
|
sourceConnection: snapshot.connection
|
|
282
282
|
});
|
|
283
283
|
}
|
|
284
|
-
const item = providers.get(
|
|
284
|
+
const item = providers.get(ID11.opencode);
|
|
285
285
|
if (!item)
|
|
286
286
|
return;
|
|
287
287
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -293,7 +293,7 @@ var OpencodePlugin2 = define({
|
|
|
293
293
|
});
|
|
294
294
|
});
|
|
295
295
|
yield* ctx.model.transform((models) => {
|
|
296
|
-
const item = models.provider.get(
|
|
296
|
+
const item = models.provider.get(ID11.opencode);
|
|
297
297
|
if (!item)
|
|
298
298
|
return;
|
|
299
299
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -382,10 +382,10 @@ var OpencodePlugin2 = define({
|
|
|
382
382
|
});
|
|
383
383
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
384
384
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
385
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
385
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID11.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
386
386
|
});
|
|
387
387
|
yield* guard(snapshot);
|
|
388
|
-
yield* bus.subscribe(
|
|
388
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
389
389
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
390
390
|
})
|
|
391
391
|
});
|