@opencode/core 0.0.0-dev-21032 → 0.0.0-dev-21034
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{model-resolver-0jq9fyba.js → permission-0996nyz8.js} +9 -9
- package/dist/chunks/{model-resolver-yqee2774.js → permission-0hc7hhgr.js} +24 -24
- package/dist/chunks/{model-resolver-0vbcp93d.js → permission-0vbcp93d.js} +2 -2
- package/dist/chunks/{model-resolver-tnabgbb7.js → permission-0xz6yqwx.js} +17 -17
- package/dist/chunks/{model-resolver-rk5c66hf.js → permission-14ep8ry0.js} +48 -48
- package/dist/chunks/{model-resolver-7r94a8zm.js → permission-153d154m.js} +15 -15
- package/dist/chunks/{model-resolver-8wf75xe6.js → permission-1baefqf3.js} +13 -13
- package/dist/chunks/{model-resolver-e9az0enp.js → permission-1csb2yrm.js} +31 -31
- package/dist/chunks/{model-resolver-j2rkz0eh.js → permission-1dx3f2q5.js} +23 -23
- package/dist/chunks/{model-resolver-bjx1sjef.js → permission-1ffvrpkg.js} +6 -6
- package/dist/chunks/{model-resolver-09k7wrv4.js → permission-1gf2gmws.js} +19 -19
- package/dist/chunks/{model-resolver-w92k2e0p.js → permission-1p07q0wb.js} +6 -6
- package/dist/chunks/{model-resolver-qbmv3hq3.js → permission-1qvp4azq.js} +9 -9
- package/dist/chunks/{model-resolver-vmmrq9g8.js → permission-1wdnxaaj.js} +44 -44
- package/dist/chunks/{model-resolver-70cnkcsv.js → permission-22erkmks.js} +32 -32
- package/dist/chunks/{model-resolver-392bmkv0.js → permission-23264cxh.js} +28 -28
- package/dist/chunks/{model-resolver-wwwg8pmm.js → permission-2887bapx.js} +27 -27
- package/dist/chunks/{model-resolver-zxdyc6t8.js → permission-2ghdqs35.js} +24 -24
- package/dist/chunks/{model-resolver-jx6fkytk.js → permission-2gwccfbm.js} +31 -31
- package/dist/chunks/{model-resolver-dafg4d8k.js → permission-2n5svhne.js} +3 -3
- package/dist/chunks/{model-resolver-jtbrrh68.js → permission-2th8mz0v.js} +16 -16
- package/dist/chunks/{model-resolver-ry5rj60g.js → permission-33298kgb.js} +11 -11
- package/dist/chunks/{model-resolver-gxx80edd.js → permission-34jyn7hz.js} +43 -43
- package/dist/chunks/{model-resolver-3fc6dm20.js → permission-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-resolver-3hepkmqq.js → permission-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-3hwn7j4h.js → permission-3hwn7j4h.js} +2 -2
- package/dist/chunks/{model-resolver-7bzg5cgk.js → permission-3m6xk0bp.js} +27 -27
- package/dist/chunks/{model-resolver-e1k4xdgj.js → permission-3rjtyjd2.js} +4 -4
- package/dist/chunks/{model-resolver-3smtnn6g.js → permission-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-3tvqynh2.js → permission-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-x661k3y3.js → permission-3y377wv9.js} +4 -4
- package/dist/chunks/{model-resolver-3zsf4n22.js → permission-3zsf4n22.js} +1 -1
- package/dist/chunks/{model-resolver-fpecnkgp.js → permission-4434d9q2.js} +9 -9
- package/dist/chunks/{model-resolver-3n7sqfmk.js → permission-45awh1kf.js} +20 -20
- package/dist/chunks/{model-resolver-jn47bq7y.js → permission-4b7ybz5b.js} +12 -12
- package/dist/chunks/{model-resolver-rttpym1x.js → permission-4h1gcyaj.js} +28 -28
- package/dist/chunks/{model-resolver-hjpw2ktw.js → permission-4k4yh3eh.js} +40 -40
- package/dist/chunks/{model-resolver-rtk67pzp.js → permission-4mq2q23e.js} +30 -30
- package/dist/chunks/{model-resolver-nmfgk2za.js → permission-4t1p4zp6.js} +5 -5
- package/dist/chunks/{model-resolver-rjrvrrm1.js → permission-4tafczye.js} +23 -23
- package/dist/chunks/{model-resolver-3k0t8dzv.js → permission-53jpvkec.js} +19 -19
- package/dist/chunks/{model-resolver-54ma36ye.js → permission-54ma36ye.js} +1 -1
- package/dist/chunks/{model-resolver-57b9ws8p.js → permission-57b9ws8p.js} +1 -1
- package/dist/chunks/{model-resolver-crz08krd.js → permission-5g1sze8q.js} +3 -3
- package/dist/chunks/{model-resolver-6x64453h.js → permission-5h6ge2fr.js} +11 -11
- package/dist/chunks/{model-resolver-d426qwtt.js → permission-5kbjjhnf.js} +11 -11
- package/dist/chunks/{model-resolver-5m9w47nd.js → permission-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-resolver-fenh6xsq.js → permission-5nsgr0gj.js} +19 -19
- package/dist/chunks/{model-resolver-e3qxr5gk.js → permission-5qd3pb7m.js} +2 -2
- package/dist/chunks/{model-resolver-y0msmzz5.js → permission-5vf61gew.js} +38 -38
- package/dist/chunks/{model-resolver-7ffb04cr.js → permission-5zwedtnq.js} +31 -31
- package/dist/chunks/{model-resolver-rcyxvf8g.js → permission-60yjs5dy.js} +51 -51
- package/dist/chunks/{model-resolver-rya3mfce.js → permission-648gm199.js} +59 -59
- package/dist/chunks/{model-resolver-yemwmjqt.js → permission-6k18ajg3.js} +31 -31
- package/dist/chunks/{model-resolver-pepx8s05.js → permission-6kbd2zbs.js} +16 -16
- package/dist/chunks/{model-resolver-6xb47vfp.js → permission-6xb47vfp.js} +1 -1
- package/dist/chunks/{model-resolver-5sd65k63.js → permission-742gqgh1.js} +19 -19
- package/dist/chunks/{model-resolver-775gj3j1.js → permission-775gj3j1.js} +2 -2
- package/dist/chunks/{model-resolver-7bmhse3q.js → permission-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-1a12x520.js → permission-7bzkc1rr.js} +35 -35
- package/dist/chunks/{model-resolver-2fcwg21n.js → permission-7j2pqq7h.js} +35 -35
- package/dist/chunks/{model-resolver-dk9awe6p.js → permission-7j40s2r4.js} +11 -11
- package/dist/chunks/{model-resolver-793pmwr3.js → permission-7k4why36.js} +5 -5
- package/dist/chunks/{model-resolver-s56kyd1y.js → permission-7z8gvswz.js} +9 -9
- package/dist/chunks/{model-resolver-w1eejvng.js → permission-84txncab.js} +5 -5
- package/dist/chunks/{model-resolver-r61qxybf.js → permission-89bb6baa.js} +8 -8
- package/dist/chunks/{model-resolver-c90mqxem.js → permission-8gh9ssjf.js} +71 -71
- package/dist/chunks/{model-resolver-k4nc0g6z.js → permission-8kdcfzk2.js} +13 -13
- package/dist/chunks/{model-resolver-8m6m0r52.js → permission-8m6m0r52.js} +1 -1
- package/dist/chunks/{model-resolver-xawvyy5x.js → permission-8m77a02w.js} +22 -22
- package/dist/chunks/{model-resolver-2bbfedhs.js → permission-8pkvpwbj.js} +40 -40
- package/dist/chunks/{model-resolver-tcay1cqt.js → permission-909p1r3q.js} +6 -6
- package/dist/chunks/{model-resolver-zcfjyxn9.js → permission-92t7a21n.js} +30 -30
- package/dist/chunks/{model-resolver-ryaerzpp.js → permission-938tk9nf.js} +1 -1
- package/dist/chunks/{model-resolver-0kydaqed.js → permission-99yn9h4a.js} +6 -6
- package/dist/chunks/{model-resolver-rendx1gy.js → permission-9sfdxggx.js} +30 -30
- package/dist/chunks/{model-resolver-gpm60zja.js → permission-9sgsjpgv.js} +11 -11
- package/dist/chunks/permission-9sh4wc5j.js +18 -0
- package/dist/chunks/{model-resolver-2w7tcbkg.js → permission-a4kqnag4.js} +4 -4
- package/dist/chunks/{model-resolver-9n6m857c.js → permission-a9wjkxfh.js} +13 -13
- package/dist/chunks/{model-resolver-cqcppvwa.js → permission-ajc8at71.js} +14 -14
- package/dist/chunks/{model-resolver-hkc4w8pe.js → permission-ak6f91g9.js} +4 -4
- package/dist/chunks/{model-resolver-my4zabxr.js → permission-arz7hw7x.js} +2 -2
- package/dist/chunks/{model-resolver-jdnq93kg.js → permission-b3kkr7qp.js} +24 -24
- package/dist/chunks/{model-resolver-zmr78fwr.js → permission-b674v2dg.js} +5 -5
- package/dist/chunks/permission-b6m4cby7.js +513 -0
- package/dist/chunks/{model-resolver-cecf97zp.js → permission-b8h9y7f5.js} +22 -22
- package/dist/chunks/{model-resolver-mcwabzk9.js → permission-bbbn9fzd.js} +13 -13
- package/dist/chunks/{model-resolver-nvx1vskb.js → permission-bcq02gdz.js} +31 -31
- package/dist/chunks/{model-resolver-0prbvn1s.js → permission-bda0f28w.js} +11 -11
- package/dist/chunks/{model-resolver-w5rka97k.js → permission-bkxyw0dr.js} +9 -9
- package/dist/chunks/{model-resolver-h30rxhwn.js → permission-bvddf8vf.js} +12 -12
- package/dist/chunks/{model-resolver-6z7f3aj9.js → permission-c0qy4m0j.js} +32 -32
- package/dist/chunks/{model-resolver-c1fqxshp.js → permission-c1fqxshp.js} +3 -3
- package/dist/chunks/{model-resolver-mdf2ba13.js → permission-ck2gdpfz.js} +193 -193
- package/dist/chunks/{model-resolver-ft3hqk2c.js → permission-cwa6csj7.js} +9 -9
- package/dist/chunks/{model-resolver-vy6fg5p6.js → permission-cx5300j9.js} +24 -24
- package/dist/chunks/{model-resolver-hdck4srb.js → permission-cxt8x7ww.js} +13 -13
- package/dist/chunks/{model-resolver-dc3k7rmc.js → permission-d1qanby1.js} +4 -4
- package/dist/chunks/{model-resolver-9g3a9q2q.js → permission-d21twn6y.js} +81 -81
- package/dist/chunks/{model-resolver-a22q20jk.js → permission-d5by9a6x.js} +18 -18
- package/dist/chunks/{model-resolver-qyp94w8s.js → permission-d5r8dnpk.js} +17 -17
- package/dist/chunks/{model-resolver-r5536f5q.js → permission-dabcn3s5.js} +11 -11
- package/dist/chunks/{model-resolver-ppk3ywg1.js → permission-dat9v65c.js} +1 -1
- package/dist/chunks/{model-resolver-ghe25ndt.js → permission-dc2bfpf9.js} +17 -17
- package/dist/chunks/{model-resolver-c0nagjzw.js → permission-dhk68jr1.js} +11 -11
- package/dist/chunks/{model-resolver-1deqag97.js → permission-dkkmrv04.js} +7 -7
- package/dist/chunks/{model-resolver-fdwgrwmf.js → permission-dmyyeg6p.js} +20 -20
- package/dist/chunks/{model-resolver-dqxsqydv.js → permission-dqxsqydv.js} +1 -1
- package/dist/chunks/{model-resolver-32q9bdbf.js → permission-dvehvma1.js} +4 -4
- package/dist/chunks/{model-resolver-ymgkxg7n.js → permission-dys7k0s0.js} +11 -11
- package/dist/chunks/{model-resolver-nma959mg.js → permission-e80seqcp.js} +3 -3
- package/dist/chunks/{model-resolver-sznyev98.js → permission-e89xj288.js} +5 -5
- package/dist/chunks/{model-resolver-eej6y6fw.js → permission-eej6y6fw.js} +2 -2
- package/dist/chunks/{model-resolver-ef5x83kb.js → permission-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-y44p5hdc.js → permission-efe6kghm.js} +33 -33
- package/dist/chunks/{model-resolver-sfvacr6d.js → permission-egjkkfp9.js} +32 -32
- package/dist/chunks/{model-resolver-zp79st75.js → permission-ep1dxfdr.js} +4 -4
- package/dist/chunks/{model-resolver-v2k5f06t.js → permission-er72b08t.js} +5 -5
- package/dist/chunks/{model-resolver-7hhqs9ev.js → permission-et7yaydb.js} +11 -11
- package/dist/chunks/{model-resolver-sfatkps4.js → permission-f43bd211.js} +22 -22
- package/dist/chunks/{model-resolver-wzked6k4.js → permission-ffkb5zj3.js} +8 -8
- package/dist/chunks/{model-resolver-8ajv5xtq.js → permission-fjrq0cmg.js} +5 -5
- package/dist/chunks/{model-resolver-axxh5741.js → permission-fm34v9xh.js} +38 -38
- package/dist/chunks/{model-resolver-z1v1h6at.js → permission-g0n95j50.js} +10 -10
- package/dist/chunks/{model-resolver-v1vh7s4p.js → permission-g686f6pq.js} +9 -9
- package/dist/chunks/{model-resolver-6yz0wx8n.js → permission-g6yfr6ja.js} +5 -5
- package/dist/chunks/{model-resolver-r18rd4df.js → permission-g8kx0h9e.js} +15 -15
- package/dist/chunks/{model-resolver-q95fhctt.js → permission-g8v9wvba.js} +41 -41
- package/dist/chunks/{model-resolver-67ggwtmd.js → permission-g9ft5mjf.js} +20 -20
- package/dist/chunks/{model-resolver-gd4qta3r.js → permission-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-yw8t9dwe.js → permission-gs3s1a1g.js} +8 -8
- package/dist/chunks/{model-resolver-6v699sff.js → permission-gtwdv3mg.js} +2 -2
- package/dist/chunks/{model-resolver-9be2kz6z.js → permission-gzmh2jz2.js} +29 -29
- package/dist/chunks/{model-resolver-h6vf3j39.js → permission-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-k5khmzd0.js → permission-h7aq57jg.js} +9 -9
- package/dist/chunks/{model-resolver-h7s7r6s9.js → permission-h7s7r6s9.js} +2 -2
- package/dist/chunks/{model-resolver-t4mxe9mg.js → permission-ha8d3m37.js} +12 -12
- package/dist/chunks/{model-resolver-hgz4x7wa.js → permission-hgz4x7wa.js} +1 -1
- package/dist/chunks/{model-resolver-6x4admn2.js → permission-hzdwag85.js} +41 -41
- package/dist/chunks/{model-resolver-j09zfasm.js → permission-j09zfasm.js} +3 -3
- package/dist/chunks/{model-resolver-csfpqy7c.js → permission-j2mwqrk9.js} +6 -6
- package/dist/chunks/{model-resolver-89za3yyg.js → permission-j8s9ab9g.js} +9 -9
- package/dist/chunks/{model-resolver-4qybra34.js → permission-j9wm7hm3.js} +9 -9
- package/dist/chunks/{model-resolver-ak9msbxp.js → permission-jj72jhew.js} +6 -6
- package/dist/chunks/{model-resolver-6g107h22.js → permission-jk540des.js} +2 -2
- package/dist/chunks/{model-resolver-acq2jkv0.js → permission-kcmhn17p.js} +8 -8
- package/dist/chunks/{model-resolver-fxaymqdw.js → permission-khmqacep.js} +4 -4
- package/dist/chunks/{model-resolver-6r767sng.js → permission-kmgc3kat.js} +18 -18
- package/dist/chunks/{model-resolver-dhmh7aw6.js → permission-kne8f3cn.js} +4 -4
- package/dist/chunks/{model-resolver-d3y6n0b6.js → permission-kqx1b4hy.js} +4 -4
- package/dist/chunks/{model-resolver-bgst5jmd.js → permission-ktqjqn2m.js} +22 -22
- package/dist/chunks/{model-resolver-vbfgae2j.js → permission-kzc3h1h3.js} +4 -4
- package/dist/chunks/{model-resolver-m9w0rfyh.js → permission-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-s541pesz.js → permission-maff1z3r.js} +13 -13
- package/dist/chunks/{model-resolver-maspj1v3.js → permission-maspj1v3.js} +1 -1
- package/dist/chunks/{model-resolver-zmnv7sx5.js → permission-mjjd50hp.js} +11 -11
- package/dist/chunks/{model-resolver-t11n65rj.js → permission-mn8j277p.js} +19 -19
- package/dist/chunks/{model-resolver-0jskk18s.js → permission-ms78wxrz.js} +3 -3
- package/dist/chunks/{model-resolver-yzwajjfv.js → permission-mxjpgj4j.js} +5 -5
- package/dist/chunks/{model-resolver-4msazfqr.js → permission-mymc06dv.js} +23 -23
- package/dist/chunks/{model-resolver-drnf6xwf.js → permission-nqxj0yn4.js} +2 -2
- package/dist/chunks/{model-resolver-w0nw3455.js → permission-nvvt7nj2.js} +36 -36
- package/dist/chunks/{model-resolver-9mmjpn4f.js → permission-nz6nrzam.js} +16 -16
- package/dist/chunks/{model-resolver-j48y8drp.js → permission-p1j7vwh1.js} +22 -22
- package/dist/chunks/{model-resolver-pjvnvgmy.js → permission-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-qnq8y3bv.js → permission-pkmyvcfm.js} +23 -23
- package/dist/chunks/{model-resolver-pknna89w.js → permission-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-ncny1qzz.js → permission-pmzgey83.js} +37 -37
- package/dist/chunks/{model-resolver-yqc6bamn.js → permission-pnzf6mjf.js} +1 -1
- package/dist/chunks/{model-resolver-cgcq2d6q.js → permission-py3hn6da.js} +5 -5
- package/dist/chunks/{model-resolver-5f50v25j.js → permission-pzvfe581.js} +16 -16
- package/dist/chunks/{model-resolver-0j77ygfz.js → permission-q0xm7vwc.js} +6 -6
- package/dist/chunks/{model-resolver-22q50vj6.js → permission-q8bf1f5m.js} +23 -23
- package/dist/chunks/{model-resolver-7dqw4kz8.js → permission-qgn6gcr1.js} +5 -5
- package/dist/chunks/{model-resolver-qnc92qwc.js → permission-qnc92qwc.js} +1 -1
- package/dist/chunks/permission-qr6jqbwf.js +253 -0
- package/dist/chunks/{model-resolver-qsdy395h.js → permission-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-fb8g9918.js → permission-qyxmprj2.js} +4 -4
- package/dist/chunks/{model-resolver-esme7ehw.js → permission-r13tw487.js} +4 -4
- package/dist/chunks/{model-resolver-7cf56ajb.js → permission-r1bja6w2.js} +13 -13
- package/dist/chunks/{model-resolver-2gbv331w.js → permission-r2ah3mqq.js} +49 -49
- package/dist/chunks/{model-resolver-tmnq69cf.js → permission-r45epcsw.js} +9 -9
- package/dist/chunks/{model-resolver-ytw0b5ae.js → permission-rag5a5h8.js} +5 -5
- package/dist/chunks/{model-resolver-rdw6cm16.js → permission-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-resolver-rert0e01.js → permission-rert0e01.js} +2 -2
- package/dist/chunks/{model-resolver-ebj1p111.js → permission-rfp1373t.js} +60 -60
- package/dist/chunks/{model-resolver-rhjbct0v.js → permission-rhjbct0v.js} +1 -1
- package/dist/chunks/{model-resolver-rj3eygr5.js → permission-rj3eygr5.js} +2 -2
- package/dist/chunks/{model-resolver-tj7kxczc.js → permission-rkwes2ma.js} +5 -5
- package/dist/chunks/{model-resolver-8wbxkt1z.js → permission-rpf1qvc3.js} +4 -4
- package/dist/chunks/{model-resolver-8h8nb9x6.js → permission-rr3czjrw.js} +11 -11
- package/dist/chunks/{model-resolver-qk84nr82.js → permission-rwe9ykvx.js} +10 -10
- package/dist/chunks/{model-resolver-43sqknmp.js → permission-rz5nsjsp.js} +15 -15
- package/dist/chunks/{model-resolver-sa8ekw3f.js → permission-sa8ekw3f.js} +2 -2
- package/dist/chunks/{model-resolver-dybxmwj9.js → permission-sapmxwcf.js} +1 -1
- package/dist/chunks/{model-resolver-b3f8fkhc.js → permission-scgrse2b.js} +5 -5
- package/dist/chunks/{model-resolver-121zk92f.js → permission-se0j3x8r.js} +22 -22
- package/dist/chunks/{model-resolver-mcv1dfk8.js → permission-sfd48vvp.js} +5 -5
- package/dist/chunks/{model-resolver-mhtf1agk.js → permission-shah6846.js} +17 -17
- package/dist/chunks/{model-resolver-av7cjdq7.js → permission-spt5yz3s.js} +9 -9
- package/dist/chunks/{model-resolver-5srkvmy1.js → permission-sryhev4y.js} +24 -24
- package/dist/chunks/{model-resolver-a6j0r2sw.js → permission-syt365hw.js} +13 -13
- package/dist/chunks/{model-resolver-syv4x271.js → permission-syv4x271.js} +1 -1
- package/dist/chunks/{model-resolver-qa3qhgw8.js → permission-t2fc4mz5.js} +4 -4
- package/dist/chunks/{model-resolver-rah8ek0q.js → permission-t8bfn5pj.js} +19 -19
- package/dist/chunks/{model-resolver-shncg65v.js → permission-t9440qjv.js} +14 -14
- package/dist/chunks/{model-resolver-rss8evm2.js → permission-t9cx4xn0.js} +32 -32
- package/dist/chunks/{model-resolver-tazgh4e4.js → permission-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-tcezcvh9.js → permission-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-resolver-88hkx883.js → permission-td3rcjyz.js} +12 -12
- package/dist/chunks/{model-resolver-tdstcens.js → permission-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-jb03hw38.js → permission-tfkv0wmz.js} +18 -18
- package/dist/chunks/{model-resolver-gefhqhbp.js → permission-tgs1p1xc.js} +5 -5
- package/dist/chunks/{model-resolver-4qsb07a0.js → permission-tgwcphfy.js} +14 -14
- package/dist/chunks/{model-resolver-k6exk33w.js → permission-thm23b5q.js} +8 -8
- package/dist/chunks/{model-resolver-jq8znyjb.js → permission-tj1csd6t.js} +9 -9
- package/dist/chunks/{model-resolver-tm0kqsz3.js → permission-tm0kqsz3.js} +1 -1
- package/dist/chunks/{model-resolver-7ppyhzjx.js → permission-tm6m41eq.js} +8 -8
- package/dist/chunks/{model-resolver-rngsm5nq.js → permission-tpsw7xgg.js} +18 -18
- package/dist/chunks/{model-resolver-p37cw4rj.js → permission-tpw6cwsb.js} +8 -8
- package/dist/chunks/{model-resolver-32nmwdhe.js → permission-ttpkrh20.js} +15 -15
- package/dist/chunks/{model-resolver-tyytaxap.js → permission-tyytaxap.js} +1 -1
- package/dist/chunks/{model-resolver-y4xxc7mq.js → permission-tz1tcexv.js} +14 -14
- package/dist/chunks/{model-resolver-v7p4zvkq.js → permission-v7p4zvkq.js} +2 -2
- package/dist/chunks/{model-resolver-mf39t390.js → permission-vc9ae3va.js} +50 -50
- package/dist/chunks/{model-resolver-veqvce7d.js → permission-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-z7pkff1z.js → permission-vk03cjtq.js} +3 -3
- package/dist/chunks/{model-resolver-ztmj8phm.js → permission-vx38rsfq.js} +11 -11
- package/dist/chunks/{model-resolver-vzs5sf6e.js → permission-vzs5sf6e.js} +1 -1
- package/dist/chunks/{model-resolver-w3wsvvr9.js → permission-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-p2cz521y.js → permission-w7wtcht5.js} +23 -23
- package/dist/chunks/{model-resolver-1j6m29mr.js → permission-waskdk5r.js} +9 -9
- package/dist/chunks/{model-resolver-wm6vgevc.js → permission-wavnys1r.js} +8 -8
- package/dist/chunks/{model-resolver-v5h246c5.js → permission-wbrh8mmr.js} +7 -7
- package/dist/chunks/{model-resolver-wd87259q.js → permission-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-mm8y8jbb.js → permission-wg6qbvzk.js} +19 -19
- package/dist/chunks/{model-resolver-qz1medfn.js → permission-wrr44y83.js} +47 -47
- package/dist/chunks/{model-resolver-2wnpv58w.js → permission-wx6ysfrr.js} +5 -5
- package/dist/chunks/permission-wzdeabzg.js +26 -0
- package/dist/chunks/{model-resolver-x30w6bae.js → permission-x0c96f0p.js} +22 -22
- package/dist/chunks/{model-resolver-fjakydk0.js → permission-x1bfa1ah.js} +90 -90
- package/dist/chunks/{model-resolver-8rmcv8hn.js → permission-x1ztzwvb.js} +17 -17
- package/dist/chunks/{model-resolver-k1sxn049.js → permission-x2k0j4yz.js} +24 -24
- package/dist/chunks/{model-resolver-nt66sm3b.js → permission-x3tt2f5j.js} +23 -23
- package/dist/chunks/{model-resolver-kq1bqq66.js → permission-x3yz0wp2.js} +12 -12
- package/dist/chunks/{model-resolver-a6wgvm8d.js → permission-x9t96n0e.js} +23 -23
- package/dist/chunks/{model-resolver-171a9z80.js → permission-xcanf8j4.js} +6 -6
- package/dist/chunks/{model-resolver-v6exexfb.js → permission-xg7ezs5d.js} +3 -3
- package/dist/chunks/{model-resolver-rf3mqbns.js → permission-xgs0xwn0.js} +18 -18
- package/dist/chunks/{model-resolver-dhb2hta4.js → permission-xj1aydcy.js} +5 -5
- package/dist/chunks/{model-resolver-2bhwdn85.js → permission-xk6srgdn.js} +22 -22
- package/dist/chunks/{model-resolver-vghjwcv5.js → permission-xk8jcm0s.js} +46 -46
- package/dist/chunks/{model-resolver-5hj1971d.js → permission-xm1cm3hv.js} +27 -27
- package/dist/chunks/{model-resolver-4xx2cn4x.js → permission-xqsvy1tg.js} +11 -11
- package/dist/chunks/{model-resolver-8e83x98h.js → permission-xtc9s16z.js} +11 -11
- package/dist/chunks/{model-resolver-nn6qn2mt.js → permission-xwek5b6q.js} +13 -13
- package/dist/chunks/{model-resolver-y1fvbwt7.js → permission-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-y71avatq.js → permission-y71avatq.js} +1 -1
- package/dist/chunks/{model-resolver-kf03r3fp.js → permission-y8wpa335.js} +19 -19
- package/dist/chunks/{model-resolver-yp2x3t23.js → permission-yp2x3t23.js} +1 -1
- package/dist/chunks/{model-resolver-h9wp8z5w.js → permission-yrcj3v3g.js} +4 -4
- package/dist/chunks/{model-resolver-m3atekq7.js → permission-ys73z5xj.js} +47 -47
- package/dist/chunks/{model-resolver-e73819aa.js → permission-ytfgcw1m.js} +19 -19
- package/dist/chunks/{model-resolver-vtr2qm7r.js → permission-yxverjr8.js} +16 -16
- package/dist/chunks/{model-resolver-z0bkrqjs.js → permission-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-ahv2j09c.js → permission-z0y96w2z.js} +11 -11
- package/dist/chunks/{model-resolver-1bbkrr1z.js → permission-z0yxrh1z.js} +34 -34
- package/dist/chunks/{model-resolver-kak0n85x.js → permission-z1k9g4m5.js} +3 -3
- package/dist/chunks/{model-resolver-5nnetc6k.js → permission-z3bm8755.js} +7 -7
- package/dist/chunks/{model-resolver-h449cfbc.js → permission-z8ny8jx3.js} +17 -17
- package/dist/chunks/{model-resolver-3m0b5fsq.js → permission-zaknb5bk.js} +10 -10
- package/dist/chunks/{model-resolver-ads5hjyh.js → permission-zcpv5rz7.js} +10 -10
- package/dist/chunks/{model-resolver-hs73t9tm.js → permission-zd58mz13.js} +11 -11
- package/dist/chunks/{model-resolver-e5vt2zzh.js → permission-zntx85zg.js} +9 -9
- package/dist/chunks/{model-resolver-zr2ceqn5.js → permission-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-cc3zbjhe.js → permission-zrhtmc5e.js} +34 -34
- package/dist/chunks/{model-resolver-zxq2ej10.js → permission-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +367 -367
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- 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 +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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 +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +104 -104
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- 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 +101 -101
- 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 +359 -359
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +6 -6
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +120 -120
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- 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 +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +219 -219
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +219 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- 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 +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- 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 +94 -94
- 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 +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/model-resolver-4zfvjxth.js +0 -253
- package/dist/chunks/model-resolver-d9c50y5c.js +0 -26
- package/dist/chunks/model-resolver-nfeetva4.js +0 -513
- package/dist/chunks/model-resolver-qc068m1q.js +0 -18
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → permission-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → permission-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → permission-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → permission-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → permission-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → permission-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → permission-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → permission-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2bv980vf.js → permission-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → permission-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → permission-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → permission-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3t0ybcrp.js → permission-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → permission-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → permission-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → permission-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → permission-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → permission-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → permission-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → permission-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → permission-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → permission-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-6q2bdcd1.js → permission-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → permission-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → permission-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → permission-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-84wd9syh.js → permission-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → permission-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → permission-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-8wj87zfr.js → permission-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → permission-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → permission-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → permission-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → permission-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → permission-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → permission-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → permission-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → permission-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → permission-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → permission-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → permission-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → permission-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → permission-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → permission-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → permission-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → permission-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → permission-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → permission-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → permission-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → permission-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → permission-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → permission-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → permission-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → permission-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → permission-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → permission-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → permission-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → permission-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → permission-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → permission-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hcxmzztb.js → permission-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → permission-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → permission-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → permission-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → permission-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → permission-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → permission-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jze0r7bz.js → permission-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → permission-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-m18g726c.js → permission-m18g726c.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → permission-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → permission-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → permission-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → permission-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → permission-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-pkyv6v7h.js → permission-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-resolver-pyv0edze.js → permission-pyv0edze.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → permission-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → permission-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → permission-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → permission-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → permission-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → permission-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → permission-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → permission-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → permission-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → permission-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-ve7vex1e.js → permission-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → permission-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → permission-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → permission-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wjj7prxr.js → permission-wjj7prxr.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → permission-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → permission-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → permission-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → permission-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → permission-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → permission-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → permission-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z5v4ffb3.js → permission-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → permission-z9919s4g.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin25,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin25 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin10 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin25, exports_identity };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./permission-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
batch2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service55
|
|
6
|
+
} from "./permission-r2ah3mqq.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./permission-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service25,
|
|
12
12
|
statements2,
|
|
13
13
|
decision2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./permission-zntx85zg.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./permission-qsdy395h.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./permission-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/config/plugin/policy.ts
|
|
23
23
|
var exports_policy = {};
|
|
24
24
|
__export(exports_policy, {
|
|
25
25
|
ConfigPolicyPlugin: () => exports_policy,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin35
|
|
27
27
|
});
|
|
28
28
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
29
29
|
import { Effect, Stream } from "effect";
|
|
30
|
-
var
|
|
30
|
+
var Plugin35 = define({
|
|
31
31
|
id: "opencode.config.policy",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const managed = yield*
|
|
33
|
+
const config = yield* Service55;
|
|
34
|
+
const managed = yield* Service25;
|
|
35
35
|
const reload = batch2(Effect.all([ctx.provider.reload(), ctx.mcp.reload(), ctx.skill.reload()], { discard: true }));
|
|
36
36
|
const loaded = yield* observe2(config, ctx.event, reload);
|
|
37
37
|
yield* managed.changes().pipe(Stream.runForEach(() => reload), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -69,4 +69,4 @@ var Plugin46 = define({
|
|
|
69
69
|
})
|
|
70
70
|
});
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { Plugin35, exports_policy };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-xqsvy1tg.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service83
|
|
7
|
+
} from "./permission-1csb2yrm.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID16,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./permission-2gwccfbm.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID13,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./permission-bcq02gdz.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
24
24
|
var pollingSafetyMargin = 3000;
|
|
25
25
|
var browserMethodID = MethodID2.make("browser");
|
|
26
26
|
var deviceMethodID = MethodID2.make("device");
|
|
27
|
-
var providerID =
|
|
27
|
+
var providerID = ID13.make("xai");
|
|
28
28
|
var Token = Schema.Struct({
|
|
29
29
|
access_token: Schema.String,
|
|
30
30
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
|
|
|
44
44
|
});
|
|
45
45
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
46
46
|
var device = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID16.make("xai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: deviceMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -69,8 +69,8 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
73
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
72
|
+
const credentials = yield* Service83;
|
|
73
|
+
yield* Effect.forEach(yield* credentials.list(ID16.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
76
76
|
return credentials.update(credential.id, {
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./permission-bvddf8vf.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-3y377wv9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event21
|
|
9
|
+
} from "./permission-1csb2yrm.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID16
|
|
12
|
+
} from "./permission-2gwccfbm.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID13,
|
|
15
|
+
Service76
|
|
16
|
+
} from "./permission-bcq02gdz.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
load3,
|
|
19
|
+
derive3
|
|
20
|
+
} from "./permission-1dx3f2q5.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID13.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
30
|
-
const bus = yield*
|
|
29
|
+
const providers = yield* Service76;
|
|
30
|
+
const bus = yield* Service84;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
33
33
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const remote = yield* Effect.tryPromise({
|
|
48
|
-
try: () =>
|
|
48
|
+
try: () => load3(baseURL, apiKey),
|
|
49
49
|
catch: (cause) => cause
|
|
50
50
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
51
51
|
if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
|
|
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
|
|
|
62
62
|
return;
|
|
63
63
|
evt.add({
|
|
64
64
|
info: item.provider,
|
|
65
|
-
models: Array.from(
|
|
65
|
+
models: Array.from(derive3(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
|
|
66
66
|
sourceConnection: loaded.connection
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-5g1sze8q.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-xg7ezs5d.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./permission-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./permission-td3rcjyz.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./permission-0vbcp93d.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./permission-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
@@ -20,7 +20,7 @@ import { Worktree } from "@opencode/schema/worktree";
|
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
var make12 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service80;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service83,
|
|
3
|
-
node87
|
|
4
|
-
} from "./model-resolver-h30rxhwn.js";
|
|
5
1
|
import {
|
|
6
2
|
Service84,
|
|
7
3
|
node88
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./permission-bvddf8vf.js";
|
|
5
|
+
import {
|
|
6
|
+
Service72,
|
|
7
|
+
node75
|
|
8
|
+
} from "./permission-zcpv5rz7.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./permission-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./permission-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
20
|
Event: () => Event5,
|
|
21
|
-
ID: () =>
|
|
21
|
+
ID: () => ID4,
|
|
22
22
|
Input: () => Input13,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
@@ -28,9 +28,9 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service20,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node23
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
@@ -38,19 +38,19 @@ import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
|
38
38
|
import { HttpClientError } from "effect/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import { Event as Event5 } from "@opencode/schema/websearch";
|
|
41
|
-
var
|
|
41
|
+
var ID4 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
43
|
var Input13 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID4, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID4
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID4,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service20 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
69
|
-
const bus = yield*
|
|
70
|
-
const kv = yield*
|
|
68
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
69
|
+
const bus = yield* Service84;
|
|
70
|
+
const kv = yield* Service72;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service20.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node23 = makeLocationNode({
|
|
188
|
+
service: Service20,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [
|
|
190
|
+
deps: [node88, node75]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID4, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service20, node23, exports_websearch3, Event5 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./permission-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./permission-arz7hw7x.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./permission-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service78
|
|
8
|
+
} from "./permission-0xz6yqwx.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service59
|
|
11
|
+
} from "./permission-x2k0j4yz.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service77
|
|
14
|
+
} from "./permission-153d154m.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service27,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./permission-xwek5b6q.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service65
|
|
22
|
+
} from "./permission-rfp1373t.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service15,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./permission-tpsw7xgg.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./permission-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./permission-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input7,
|
|
39
|
+
Output: () => Output5,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin7,
|
|
42
|
+
name: () => name7,
|
|
43
|
+
toModelContent: () => toModelContent4
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name7 = "patch";
|
|
89
|
+
var Input7 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output5 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent4 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin7 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service59;
|
|
112
|
+
const access = yield* Service15;
|
|
113
|
+
const fileMutation = yield* Service27;
|
|
114
|
+
const formatter = yield* Service77;
|
|
115
|
+
const location = yield* Service78;
|
|
116
|
+
const permission = yield* Service65;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name7,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input7,
|
|
122
|
+
output: Output5,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin24 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent4(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name7, Input7, Applied2, Output5, toModelContent4, Plugin7, exports_patch };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service49
|
|
3
|
+
} from "./permission-bkxyw0dr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service46
|
|
6
|
+
} from "./permission-909p1r3q.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./permission-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./permission-9sh4wc5j.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service69
|
|
15
|
+
} from "./permission-gs3s1a1g.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./permission-j8s9ab9g.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service52
|
|
23
|
+
} from "./permission-kmgc3kat.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./permission-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service46;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service69;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service52;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service49;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|