@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,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
Info19,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./permission-arz7hw7x.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./permission-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service85,
|
|
11
11
|
node89
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./permission-ms78wxrz.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service84,
|
|
16
|
+
node88
|
|
17
|
+
} from "./permission-bvddf8vf.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service79,
|
|
20
|
+
node83
|
|
21
|
+
} from "./permission-xk8jcm0s.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service46,
|
|
24
|
+
node48
|
|
25
|
+
} from "./permission-909p1r3q.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./permission-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./permission-c1fqxshp.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node46
|
|
34
|
+
} from "./permission-xgs0xwn0.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./permission-kqx1b4hy.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./permission-rr3czjrw.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./permission-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node33
|
|
47
|
+
} from "./permission-ytfgcw1m.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node80
|
|
51
|
+
} from "./permission-xqsvy1tg.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError9,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
ForkEmptyError2,
|
|
56
56
|
MessageDecodeError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./permission-j8s9ab9g.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
66
|
+
ListInput4,
|
|
67
|
+
Service66,
|
|
68
|
+
node69
|
|
69
|
+
} from "./permission-6kbd2zbs.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service62,
|
|
72
|
+
node65
|
|
73
|
+
} from "./permission-2th8mz0v.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service42,
|
|
76
|
+
node45
|
|
77
|
+
} from "./permission-fm34v9xh.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./permission-775gj3j1.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service34,
|
|
83
|
+
node37
|
|
84
|
+
} from "./permission-9sgsjpgv.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./permission-4b7ybz5b.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./permission-ffkb5zj3.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service48,
|
|
93
|
+
node50
|
|
94
|
+
} from "./permission-xtc9s16z.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service29,
|
|
100
|
+
node32
|
|
101
|
+
} from "./permission-648gm199.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service54,
|
|
104
|
+
node56
|
|
105
|
+
} from "./permission-89bb6baa.js";
|
|
106
106
|
import {
|
|
107
107
|
make13
|
|
108
|
-
} from "./
|
|
108
|
+
} from "./permission-c0qy4m0j.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./permission-thm23b5q.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./permission-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -123,22 +123,22 @@ __export(exports_session, {
|
|
|
123
123
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
124
124
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
|
-
ID: () =>
|
|
126
|
+
ID: () => ID11,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
128
|
Info: () => Info19,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
130
|
ListInput: () => ListInput3,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
|
-
NotFoundError: () =>
|
|
133
|
+
NotFoundError: () => NotFoundError9,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service28,
|
|
136
136
|
Session: () => exports_session,
|
|
137
137
|
SessionSchema: () => SessionSchema2,
|
|
138
138
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
139
139
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
140
140
|
TurnRangeError: () => TurnRangeError2,
|
|
141
|
-
node: () =>
|
|
141
|
+
node: () => node31
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -148,27 +148,27 @@ import { Model } from "@opencode/schema/model";
|
|
|
148
148
|
import path from "path";
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
|
-
var ListInput3 =
|
|
152
|
-
class
|
|
151
|
+
var ListInput3 = ListInput4;
|
|
152
|
+
class Service28 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
156
|
const database = yield* Service85;
|
|
157
157
|
const db = database.db;
|
|
158
|
-
const bus = yield*
|
|
159
|
-
const projects = yield*
|
|
160
|
-
const execution = yield*
|
|
158
|
+
const bus = yield* Service84;
|
|
159
|
+
const projects = yield* Service79;
|
|
160
|
+
const execution = yield* Service42;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
162
|
+
const transport = yield* Service34;
|
|
163
|
+
const store = yield* Service66;
|
|
164
|
+
const instances = yield* Service46;
|
|
165
|
+
const moves = yield* Service29;
|
|
166
|
+
const jobs = yield* Service62;
|
|
167
|
+
const environments = yield* Service54;
|
|
168
|
+
const locations = yield* Service48;
|
|
169
169
|
const sessions = yield* make13();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service28.of({
|
|
172
172
|
create: Effect.fn("Session.create")(function* (input) {
|
|
173
173
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
174
174
|
const recorded = yield* store.get(sessionID);
|
|
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
176
176
|
return recorded;
|
|
177
177
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
178
178
|
if (input.parentID && parent === undefined)
|
|
179
|
-
return yield* new
|
|
179
|
+
return yield* new NotFoundError9({ sessionID: input.parentID });
|
|
180
180
|
const location = parent?.location ?? input.location;
|
|
181
181
|
if (location === undefined)
|
|
182
182
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service46, instances), Effect.provideService(Service85, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service46, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -327,27 +327,27 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
327
327
|
});
|
|
328
328
|
return result;
|
|
329
329
|
}));
|
|
330
|
-
var
|
|
331
|
-
service:
|
|
330
|
+
var node31 = Node.makeGlobalNode({
|
|
331
|
+
service: Service28,
|
|
332
332
|
layer,
|
|
333
333
|
deps: [
|
|
334
|
-
|
|
335
|
-
|
|
334
|
+
node65,
|
|
335
|
+
node56,
|
|
336
336
|
node89,
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
337
|
+
node88,
|
|
338
|
+
node83,
|
|
339
|
+
node45,
|
|
340
|
+
node37,
|
|
341
341
|
llmClient2,
|
|
342
|
-
|
|
342
|
+
node69,
|
|
343
|
+
node48,
|
|
344
|
+
node46,
|
|
345
|
+
node32,
|
|
346
|
+
node33,
|
|
343
347
|
node50,
|
|
344
|
-
node51,
|
|
345
|
-
node35,
|
|
346
|
-
node40,
|
|
347
|
-
node57,
|
|
348
348
|
FSUtil.node,
|
|
349
|
-
|
|
349
|
+
node80
|
|
350
350
|
]
|
|
351
351
|
});
|
|
352
352
|
|
|
353
|
-
export { ListAnchor2, ListInput3,
|
|
353
|
+
export { ListAnchor2, ListInput3, Service28, node31, exports_session };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./permission-ms78wxrz.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./permission-rert0e01.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./permission-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID9,
|
|
17
|
+
Info: () => Info17,
|
|
18
|
+
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service67,
|
|
21
|
+
node: () => node70
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID9 = PermissionSaved.ID;
|
|
29
|
+
var Info17 = PermissionSaved.Info;
|
|
30
|
+
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service67 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service85).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID9.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service67.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node70 = makeGlobalNode({ service: Service67, layer, deps: [node89] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID9, Info17, ListInput5, AddInput2, Service67, node70, exports_saved };
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-hgz4x7wa.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./permission-eej6y6fw.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./permission-3hwn7j4h.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
16
|
-
import {
|
|
17
|
-
Service79,
|
|
18
|
-
node83
|
|
19
|
-
} from "./model-resolver-tnabgbb7.js";
|
|
15
|
+
} from "./permission-v7p4zvkq.js";
|
|
20
16
|
import {
|
|
21
17
|
Service78,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
18
|
+
node82
|
|
19
|
+
} from "./permission-0xz6yqwx.js";
|
|
20
|
+
import {
|
|
21
|
+
Service61,
|
|
22
|
+
node63
|
|
23
|
+
} from "./permission-23264cxh.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./permission-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service59,
|
|
33
|
+
node: () => node61
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound3,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service59,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node61,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service59 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service78;
|
|
66
|
+
const workspace = yield* Service61;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service59.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node61 = makeLocationNode({
|
|
71
|
+
service: Service59,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node82, node63]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service59, node61, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./permission-bvddf8vf.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
|
+
Service78,
|
|
12
|
+
node82
|
|
13
|
+
} from "./permission-0xz6yqwx.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 = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service64,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node67
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service64 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,10 +39,10 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const location = yield*
|
|
45
|
-
const ref =
|
|
42
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
43
|
+
const bus = yield* Service84;
|
|
44
|
+
const location = yield* Service78;
|
|
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(Service26, 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(Service26, 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(Service78, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service64.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node67 = makeLocationNode({ service: Service64, layer, deps: [node88, node82] });
|
|
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 {
|
|
213
|
+
export { Service64, node67, exports_rpc, define2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./permission-bvddf8vf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service57,
|
|
6
|
+
Event11
|
|
7
|
+
} from "./permission-b8h9y7f5.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./permission-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin49,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin49 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const bus = yield*
|
|
24
|
-
const wellknown = yield*
|
|
23
|
+
const bus = yield* Service84;
|
|
24
|
+
const wellknown = yield* Service57;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin2 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event11.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin49, exports_plugin };
|