@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
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./permission-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service52,
|
|
8
|
+
node55
|
|
9
|
+
} from "./permission-ggcd8st8.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content2
|
|
12
|
+
} from "./permission-sj2vw28a.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./permission-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./permission-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content2.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -331,12 +331,12 @@ var nthNewline = (bytes, count) => {
|
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
333
|
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
334
|
-
const environment = yield*
|
|
334
|
+
const environment = yield* Service52;
|
|
335
335
|
return Service5.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var node6 = makeLocationNode({ service: Service5, layer, deps: [
|
|
340
|
+
var node6 = makeLocationNode({ service: Service5, layer, deps: [node55] });
|
|
341
341
|
|
|
342
342
|
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service5, read2, node6, exports_read_filesystem };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service57
|
|
3
|
+
} from "./permission-h6x13cr5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service11
|
|
6
|
+
} from "./permission-2sejkfem.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./permission-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./permission-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
|
-
var
|
|
16
|
-
__export(
|
|
17
|
-
ConfigLocationWatcherPlugin: () =>
|
|
18
|
-
Plugin: () =>
|
|
15
|
+
var exports_location_watcher = {};
|
|
16
|
+
__export(exports_location_watcher, {
|
|
17
|
+
ConfigLocationWatcherPlugin: () => exports_location_watcher,
|
|
18
|
+
Plugin: () => Plugin37
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin37 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service57;
|
|
26
|
+
const policy = yield* Service11;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin36 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin37, exports_location_watcher };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service49,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node51
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service49 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service49, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service49.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service54, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node51 = makeGlobalNode({ service: Service49, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service49, node51, exports_environment };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-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: () => Options8,
|
|
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 Options8 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options8]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options8, Spec2, exports_plugin3 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./permission-jqag1j2a.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./permission-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
Ref3,
|
|
11
|
+
Service74,
|
|
12
|
+
node78
|
|
13
|
+
} from "./permission-zd2x0gx4.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./permission-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
@@ -21,7 +21,7 @@ __export(exports_rpc, {
|
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
22
|
Service: () => Service47,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node49
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
@@ -40,9 +40,9 @@ class DeclaredError extends Error {
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const location = yield*
|
|
45
|
-
const ref =
|
|
43
|
+
const bus = yield* Service81;
|
|
44
|
+
const location = yield* Service74;
|
|
45
|
+
const ref = Ref3.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
48
48
|
error: (type, message, data) => new DeclaredError(type, message, data)
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
82
82
|
const event = registered.event;
|
|
83
83
|
const data = yield* encode(event.schema, args[1]);
|
|
84
84
|
return yield* bus.publish(registered.definition, data, {
|
|
85
|
-
location:
|
|
85
|
+
location: Ref3.make({ directory: ref.directory, workspaceID: ref.workspaceID })
|
|
86
86
|
}).pipe(Effect.asVoid);
|
|
87
87
|
})
|
|
88
88
|
}
|
|
@@ -118,19 +118,19 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service74, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
126
|
return Service47.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node49 = makeLocationNode({ service: Service47, layer, deps: [node85, node78] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
132
132
|
metadata: optional2(Schema.Record(Schema.String, Schema.Unknown)),
|
|
133
|
-
location: optional2(
|
|
133
|
+
location: optional2(Ref3)
|
|
134
134
|
};
|
|
135
135
|
var EventData = Schema.Record(Schema.String, Schema.Unknown);
|
|
136
136
|
var jsonSchemas = new WeakMap;
|
|
@@ -206,8 +206,8 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
206
206
|
...payload,
|
|
207
207
|
type: eventType(definition, name),
|
|
208
208
|
data,
|
|
209
|
-
location:
|
|
209
|
+
location: Ref3.make({ directory: ref.directory, workspaceID: ref.workspaceID })
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export { Service47,
|
|
213
|
+
export { Service47, node49, exports_rpc, define2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service11,
|
|
13
|
+
node: () => node13
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service11 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service11.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node13 = makeLocationNode({ service: Service11, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service11, node13, exports_location_watcher_policy };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service40,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service40 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service40, exports_runner };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
9
|
var exports_mcp = {};
|
|
10
10
|
__export(exports_mcp, {
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
12
12
|
WebSearchMcp: () => exports_mcp,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES3 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.scoped, Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./permission-h9v4cxwf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./permission-jqag1j2a.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service42
|
|
9
|
+
} from "./permission-sxzvkvgj.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./permission-z5v4ffb3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID5,
|
|
15
|
+
Service51
|
|
16
|
+
} from "./permission-a9c2j8vb.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./permission-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./permission-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./permission-ktw141zw.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./permission-9e5bzkjp.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./permission-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -41,12 +41,12 @@ __export(exports_revert, {
|
|
|
41
41
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
43
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
44
|
-
const instances = yield*
|
|
45
|
-
const database = yield*
|
|
46
|
-
const bus = yield*
|
|
44
|
+
const instances = yield* Service42;
|
|
45
|
+
const database = yield* Service84;
|
|
46
|
+
const bus = yield* Service81;
|
|
47
47
|
return yield* Effect.gen(function* () {
|
|
48
|
-
const snapshot = yield*
|
|
49
|
-
const original = input.session.revert?.snapshot ?
|
|
48
|
+
const snapshot = yield* Service51;
|
|
49
|
+
const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
50
50
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
51
51
|
const restore = new Map;
|
|
52
52
|
if (original) {
|
|
@@ -73,13 +73,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
73
73
|
}).pipe(instances.provide(input.session));
|
|
74
74
|
});
|
|
75
75
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
76
|
-
const instances = yield*
|
|
77
|
-
const bus = yield*
|
|
76
|
+
const instances = yield* Service42;
|
|
77
|
+
const bus = yield* Service81;
|
|
78
78
|
yield* Effect.gen(function* () {
|
|
79
|
-
const snapshot = yield*
|
|
79
|
+
const snapshot = yield* Service51;
|
|
80
80
|
if (!session.revert)
|
|
81
81
|
return;
|
|
82
|
-
const original = session.revert.snapshot ?
|
|
82
|
+
const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
|
|
83
83
|
if (original)
|
|
84
84
|
yield* snapshot.restore({
|
|
85
85
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -110,7 +110,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
110
110
|
continue;
|
|
111
111
|
for (const file of message.snapshot.files ?? [])
|
|
112
112
|
if (!files.has(file))
|
|
113
|
-
files.set(file,
|
|
113
|
+
files.set(file, ID5.make(message.snapshot.start));
|
|
114
114
|
}
|
|
115
115
|
return files;
|
|
116
116
|
});
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./permission-6hjv98hr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service57
|
|
6
|
+
} from "./permission-h6x13cr5.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./permission-0cwz5y17.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./permission-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compatibility.ts
|
|
15
15
|
var exports_compatibility = {};
|
|
16
16
|
__export(exports_compatibility, {
|
|
17
17
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin42
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
24
|
-
var
|
|
24
|
+
var Plugin42 = define({
|
|
25
25
|
id: "opencode.config.compatibility",
|
|
26
26
|
effect: Effect.fn(function* (ctx) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service57;
|
|
28
28
|
const fs = yield* FSUtil.Service;
|
|
29
|
-
const watcher = yield*
|
|
29
|
+
const watcher = yield* Service58;
|
|
30
30
|
const watches = yield* FiberMap.make();
|
|
31
31
|
const changes = yield* PubSub.sliding(1);
|
|
32
32
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -73,4 +73,4 @@ var Plugin40 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin42, exports_compatibility };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service42
|
|
3
|
+
} from "./permission-sxzvkvgj.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-9sh4wc5j.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service48
|
|
9
|
+
} from "./permission-snnjf9ks.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./permission-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./permission-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service42;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service48), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service36,
|
|
3
|
+
node39
|
|
4
|
+
} from "./permission-z642r631.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./permission-s8d7rejh.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./permission-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
16
|
+
var exports_instructions2 = {};
|
|
17
|
+
__export(exports_instructions2, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions2,
|
|
19
|
+
Service: () => Service27,
|
|
20
20
|
node: () => node31
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -57,18 +57,18 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service27 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service36;
|
|
64
|
+
return Service27.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
71
|
+
return make21({
|
|
72
72
|
key: Key3.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var node31 = makeLocationNode({ service:
|
|
84
|
+
var node31 = makeLocationNode({ service: Service27, layer, deps: [node39] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service27, node31, exports_instructions2 };
|