@opencode/core 0.0.0-dev-19872 → 0.0.0-dev-19874
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 +78 -78
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{worktree-3ckfe0gn.js → permission-03ytb9na.js} +5 -5
- package/dist/chunks/{worktree-b8gtgm9a.js → permission-07s31j3g.js} +12 -12
- package/dist/chunks/{worktree-ntn63d0h.js → permission-0d6t75mw.js} +24 -24
- package/dist/chunks/permission-0mesazry.js +4 -0
- package/dist/chunks/{worktree-0paq2nw3.js → permission-0paq2nw3.js} +1 -1
- package/dist/chunks/{worktree-0q0f95c6.js → permission-0q0f95c6.js} +1 -1
- package/dist/chunks/{worktree-yjptyezs.js → permission-0r7yqxbf.js} +5 -5
- package/dist/chunks/{worktree-ef1sz92s.js → permission-0s0p4cwd.js} +24 -24
- package/dist/chunks/{worktree-24jxm842.js → permission-0vh97m80.js} +18 -18
- package/dist/chunks/{worktree-yjmcsphm.js → permission-0xj6gk8c.js} +26 -26
- package/dist/chunks/{worktree-zdfdg6f3.js → permission-0xqqcv88.js} +301 -301
- package/dist/chunks/{worktree-56400ha2.js → permission-0yj7bxag.js} +14 -14
- package/dist/chunks/{worktree-an1ythzp.js → permission-133z2wzy.js} +16 -16
- package/dist/chunks/{worktree-qp8jc7h3.js → permission-135kh9zw.js} +9 -9
- package/dist/chunks/{worktree-af4q118x.js → permission-160m4fy4.js} +15 -15
- package/dist/chunks/{worktree-wkt0yqpq.js → permission-16brjxab.js} +3 -3
- package/dist/chunks/{worktree-shh6fz4q.js → permission-18e56dsp.js} +4 -4
- package/dist/chunks/{worktree-1dazxqgg.js → permission-1dazxqgg.js} +2 -2
- package/dist/chunks/{worktree-2sz976k1.js → permission-1e6x7hc1.js} +46 -46
- package/dist/chunks/{worktree-d0mt1vja.js → permission-1gcjnbtt.js} +10 -10
- package/dist/chunks/{worktree-xzbq4t52.js → permission-1gpfze3n.js} +35 -35
- package/dist/chunks/{worktree-jyaxjask.js → permission-1r87s44f.js} +23 -23
- package/dist/chunks/{worktree-2k4q641w.js → permission-1sax9vwk.js} +5 -5
- package/dist/chunks/{worktree-x9wq683r.js → permission-1t7w4vhc.js} +10 -10
- package/dist/chunks/{worktree-21r38tys.js → permission-21r38tys.js} +1 -1
- package/dist/chunks/{worktree-2402vzrj.js → permission-2402vzrj.js} +1 -1
- package/dist/chunks/{worktree-2a5m3afh.js → permission-2a5m3afh.js} +1 -1
- package/dist/chunks/{worktree-pydpba5n.js → permission-2j859j03.js} +167 -167
- package/dist/chunks/{worktree-m183j3hp.js → permission-2wfsvdr5.js} +5 -5
- package/dist/chunks/{worktree-d7m6g9v6.js → permission-2ydfvjrk.js} +4 -4
- package/dist/chunks/{worktree-k03db8z3.js → permission-306dmwek.js} +17 -17
- package/dist/chunks/{worktree-qrq3k7hv.js → permission-34fed7dh.js} +36 -36
- package/dist/chunks/{worktree-m2g4r6ez.js → permission-39q1dpaa.js} +8 -8
- package/dist/chunks/{worktree-3fc6dm20.js → permission-3fc6dm20.js} +1 -1
- package/dist/chunks/{worktree-3hepkmqq.js → permission-3hepkmqq.js} +1 -1
- package/dist/chunks/{worktree-w5npym6y.js → permission-3rprmdbm.js} +4 -4
- package/dist/chunks/{worktree-3smtnn6g.js → permission-3smtnn6g.js} +1 -1
- package/dist/chunks/{worktree-4jv7e9dq.js → permission-3svv6ct8.js} +6 -6
- package/dist/chunks/{worktree-3tvqynh2.js → permission-3tvqynh2.js} +1 -1
- package/dist/chunks/permission-41qt2ada.js +26 -0
- package/dist/chunks/{worktree-srq7twvs.js → permission-42v4jjsm.js} +25 -25
- package/dist/chunks/{worktree-y9854d0h.js → permission-49nj8t94.js} +3 -3
- package/dist/chunks/{worktree-18j04j79.js → permission-4cp637r5.js} +19 -19
- package/dist/chunks/{worktree-h6r3nrb9.js → permission-4dgbcxzg.js} +4 -4
- package/dist/chunks/{worktree-28zap5n3.js → permission-4dpfvdcx.js} +24 -24
- package/dist/chunks/{worktree-m81pe42t.js → permission-4e5yfvn2.js} +16 -16
- package/dist/chunks/{worktree-x9w52knk.js → permission-4gevcj4v.js} +22 -22
- package/dist/chunks/{worktree-gn0qs0ez.js → permission-4mw7cqc8.js} +28 -28
- package/dist/chunks/{worktree-myvehfjc.js → permission-4w9jmjsg.js} +23 -23
- package/dist/chunks/{worktree-dh787sn1.js → permission-512e3z52.js} +33 -33
- package/dist/chunks/{worktree-1ygqh575.js → permission-56gdpj1q.js} +9 -9
- package/dist/chunks/{worktree-3bvwqdfr.js → permission-57bw15e8.js} +4 -4
- package/dist/chunks/{worktree-dc6tzc5b.js → permission-57ez7d0k.js} +9 -9
- package/dist/chunks/{worktree-w5xsrbnb.js → permission-59jyad5k.js} +29 -29
- package/dist/chunks/{worktree-5xzwezzv.js → permission-5arezbtz.js} +38 -38
- package/dist/chunks/{worktree-06dxphr1.js → permission-5c0f1prt.js} +4 -4
- package/dist/chunks/{worktree-xxynqx5z.js → permission-5cmxdwv8.js} +3 -3
- package/dist/chunks/{worktree-5daktx2q.js → permission-5daktx2q.js} +1 -1
- package/dist/chunks/{worktree-dsymck0a.js → permission-5m6jm1x1.js} +2 -2
- package/dist/chunks/{worktree-050bv84r.js → permission-5px2cs4c.js} +82 -82
- package/dist/chunks/{worktree-5t3nmthw.js → permission-5t3nmthw.js} +2 -2
- package/dist/chunks/{worktree-x2eykcsk.js → permission-5zqemvv0.js} +35 -35
- package/dist/chunks/{worktree-ng12e52f.js → permission-65gdz2z6.js} +5 -5
- package/dist/chunks/{worktree-669tq793.js → permission-669tq793.js} +1 -1
- package/dist/chunks/{worktree-q7hnyx62.js → permission-68n6sm91.js} +8 -8
- package/dist/chunks/{worktree-8mqynssf.js → permission-6be1vwa6.js} +38 -38
- package/dist/chunks/{worktree-f40tx9v5.js → permission-6c9jyh3c.js} +7 -7
- package/dist/chunks/{worktree-23pqda6t.js → permission-6ersrjne.js} +6 -6
- package/dist/chunks/{worktree-k39q4sf2.js → permission-6jgheagj.js} +15 -15
- package/dist/chunks/{worktree-6msgmcgs.js → permission-6msgmcgs.js} +1 -1
- package/dist/chunks/{worktree-bd4e439d.js → permission-6s8fh9nr.js} +14 -14
- package/dist/chunks/{worktree-1ay3g9r2.js → permission-6yta8p2v.js} +13 -13
- package/dist/chunks/{worktree-8hcfs6jd.js → permission-70mvqem8.js} +22 -22
- package/dist/chunks/{worktree-cscxcgsg.js → permission-78nctmg8.js} +14 -14
- package/dist/chunks/{worktree-rvemz3qf.js → permission-7a9jqt52.js} +9 -9
- package/dist/chunks/{worktree-ackyxpj1.js → permission-7adq96wr.js} +11 -11
- package/dist/chunks/{worktree-7bmhse3q.js → permission-7bmhse3q.js} +1 -1
- package/dist/chunks/{worktree-k78r674t.js → permission-7d2bdg1a.js} +19 -19
- package/dist/chunks/{worktree-7dqw4kz8.js → permission-7dqw4kz8.js} +1 -1
- package/dist/chunks/{worktree-7h6v3mqz.js → permission-7e6qx1a4.js} +85 -85
- package/dist/chunks/permission-7fj5dwt0.js +18 -0
- package/dist/chunks/{worktree-83xp5e3e.js → permission-7ndjbrc9.js} +2 -2
- package/dist/chunks/{worktree-w4ppdpd0.js → permission-7p3wth53.js} +16 -16
- package/dist/chunks/{worktree-ykze60hc.js → permission-7tpfyxf5.js} +16 -16
- package/dist/chunks/{worktree-r4v7sw5j.js → permission-7x3nv8st.js} +6 -6
- package/dist/chunks/{worktree-cejdfrv6.js → permission-803ez6w8.js} +15 -15
- package/dist/chunks/{worktree-a68v6zx7.js → permission-818pfwc9.js} +8 -8
- package/dist/chunks/{worktree-37zv03r8.js → permission-86v8vtpw.js} +13 -13
- package/dist/chunks/{worktree-wgz7hchk.js → permission-8aa1j6tz.js} +6 -6
- package/dist/chunks/{worktree-8d7r5vzw.js → permission-8d7r5vzw.js} +1 -1
- package/dist/chunks/{worktree-ep7dn8jk.js → permission-8fdpqyga.js} +17 -17
- package/dist/chunks/{worktree-8p4f9s12.js → permission-8p4f9s12.js} +2 -2
- package/dist/chunks/{worktree-t4ke9ew4.js → permission-90bsn2hc.js} +12 -12
- package/dist/chunks/{worktree-smzykshb.js → permission-95v3jvss.js} +6 -6
- package/dist/chunks/{worktree-ydg01c3p.js → permission-9c6xxb7z.js} +15 -15
- package/dist/chunks/{worktree-f0svag7k.js → permission-9feq07d2.js} +51 -51
- package/dist/chunks/{worktree-jaek9wet.js → permission-9hj1fhe6.js} +27 -27
- package/dist/chunks/{worktree-1d5d9h0t.js → permission-9mcntd17.js} +4 -4
- package/dist/chunks/{worktree-ncv4r2bp.js → permission-9skgweab.js} +16 -16
- package/dist/chunks/{worktree-dk764wf3.js → permission-9vjqw7av.js} +22 -22
- package/dist/chunks/{worktree-8kzgg7jc.js → permission-9ytcz3ec.js} +12 -12
- package/dist/chunks/{worktree-a1bz86dw.js → permission-a1bz86dw.js} +3 -3
- package/dist/chunks/{worktree-aaet6srn.js → permission-aaet6srn.js} +2 -2
- package/dist/chunks/{worktree-rd8gh7p5.js → permission-asft4ygz.js} +3 -3
- package/dist/chunks/permission-b552wxns.js +252 -0
- package/dist/chunks/{worktree-b6gygkdw.js → permission-b6gygkdw.js} +2 -2
- package/dist/chunks/{worktree-f62qkzqr.js → permission-b7b4ctej.js} +5 -5
- package/dist/chunks/{worktree-dgrza9ek.js → permission-b7dhfy6q.js} +13 -13
- package/dist/chunks/{worktree-kccwy87p.js → permission-b8hr5nf1.js} +13 -13
- package/dist/chunks/{worktree-2tk7wazy.js → permission-bcc8ye10.js} +13 -13
- package/dist/chunks/{worktree-cd7c4bdb.js → permission-bewkccxp.js} +9 -9
- package/dist/chunks/{worktree-p8d83q2f.js → permission-bmkqs0vg.js} +15 -15
- package/dist/chunks/{worktree-kaagn64m.js → permission-bphr9z6m.js} +25 -25
- package/dist/chunks/{worktree-nwwa308c.js → permission-bqwjt6km.js} +7 -7
- package/dist/chunks/{worktree-qd60702v.js → permission-br6fbg0g.js} +15 -15
- package/dist/chunks/{worktree-nnc51gs2.js → permission-bsm67k4q.js} +11 -11
- package/dist/chunks/{worktree-01xkgkan.js → permission-bv1ptma2.js} +4 -4
- package/dist/chunks/{worktree-q17qcqnk.js → permission-byrn5b2b.js} +11 -11
- package/dist/chunks/{worktree-j93fbyzs.js → permission-bzkxn2s0.js} +13 -13
- package/dist/chunks/{worktree-bk3tsm7g.js → permission-c1azftch.js} +8 -8
- package/dist/chunks/{worktree-3eeqg3ch.js → permission-c214zv56.js} +23 -23
- package/dist/chunks/{worktree-6pbgrpz1.js → permission-c41a26xd.js} +5 -5
- package/dist/chunks/{worktree-mdpcq19b.js → permission-c51mfwr9.js} +11 -11
- package/dist/chunks/{worktree-0jkw1j53.js → permission-c8bydgjz.js} +6 -6
- package/dist/chunks/{worktree-cfpkc3c9.js → permission-cfpkc3c9.js} +2 -2
- package/dist/chunks/{worktree-9hn6k4tm.js → permission-cmwkp3r5.js} +8 -8
- package/dist/chunks/{worktree-cq37gk0t.js → permission-cq37gk0t.js} +4 -4
- package/dist/chunks/{worktree-jtz05rza.js → permission-cwva85yx.js} +43 -43
- package/dist/chunks/{worktree-djszqvmq.js → permission-d4he2qe1.js} +9 -9
- package/dist/chunks/{worktree-bxy5ajfv.js → permission-d50pwz5n.js} +9 -9
- package/dist/chunks/{worktree-0029brse.js → permission-dbz5yhxv.js} +3 -3
- package/dist/chunks/{worktree-d737nyfv.js → permission-dvep9rg9.js} +9 -9
- package/dist/chunks/{worktree-qpx06cdk.js → permission-dvq28a24.js} +27 -27
- package/dist/chunks/{worktree-5we7r0eg.js → permission-dwq6ryhm.js} +8 -8
- package/dist/chunks/{worktree-frr8ma5g.js → permission-dy1hyvsp.js} +11 -11
- package/dist/chunks/{worktree-1gvkbw2g.js → permission-e1226ca0.js} +70 -70
- package/dist/chunks/{worktree-ja2xmr49.js → permission-e1cdkeep.js} +47 -47
- package/dist/chunks/{worktree-92frf9bc.js → permission-e2g8s77q.js} +19 -19
- package/dist/chunks/{worktree-zh8xk7my.js → permission-e3jxvqwn.js} +21 -21
- package/dist/chunks/{worktree-d8c3ffv1.js → permission-e4rx3krv.js} +10 -10
- package/dist/chunks/{worktree-6hh8tjw2.js → permission-edrmdtr5.js} +7 -7
- package/dist/chunks/{worktree-0c5gn5bj.js → permission-eew9svzj.js} +17 -17
- package/dist/chunks/{worktree-ef5x83kb.js → permission-ef5x83kb.js} +1 -1
- package/dist/chunks/{worktree-baaqp4zd.js → permission-embw8kgh.js} +4 -4
- package/dist/chunks/{worktree-z5z5sd66.js → permission-emvjk7qx.js} +24 -24
- package/dist/chunks/{worktree-tnx6ann6.js → permission-eq911n7z.js} +1 -1
- package/dist/chunks/{worktree-erw5rpbs.js → permission-erw5rpbs.js} +2 -2
- package/dist/chunks/{worktree-etq0c3wd.js → permission-etq0c3wd.js} +1 -1
- package/dist/chunks/{worktree-pnd0g9pf.js → permission-ex96t11j.js} +5 -5
- package/dist/chunks/{worktree-ba2a1zxc.js → permission-ez18smvf.js} +46 -46
- package/dist/chunks/{worktree-wder9crj.js → permission-f54bqyfb.js} +15 -15
- package/dist/chunks/{worktree-f828m53h.js → permission-f828m53h.js} +2 -2
- package/dist/chunks/{worktree-rr217x4v.js → permission-f9hd2wq9.js} +26 -26
- package/dist/chunks/{worktree-mhyqqp67.js → permission-fjpj0srt.js} +22 -22
- package/dist/chunks/{worktree-nq9nxgcr.js → permission-fkahr21w.js} +22 -22
- package/dist/chunks/{worktree-6snte3jf.js → permission-fkf150rf.js} +3 -3
- package/dist/chunks/{worktree-fxbjtjnd.js → permission-fxbjtjnd.js} +1 -1
- package/dist/chunks/{worktree-dz8x4rxg.js → permission-fxmgg4aj.js} +4 -4
- package/dist/chunks/{worktree-nrdmrqsx.js → permission-g190xswt.js} +4 -4
- package/dist/chunks/{worktree-c8a4jtjn.js → permission-g3tbz564.js} +11 -11
- package/dist/chunks/{worktree-n4efq2p3.js → permission-gb2fhh5e.js} +23 -23
- package/dist/chunks/{worktree-gd4qta3r.js → permission-gd4qta3r.js} +1 -1
- package/dist/chunks/{worktree-bnq6mr9x.js → permission-gf7f2369.js} +5 -5
- package/dist/chunks/{worktree-mnzq238h.js → permission-gjtr2zzm.js} +12 -12
- package/dist/chunks/{worktree-gv6a8nnw.js → permission-gv6a8nnw.js} +2 -2
- package/dist/chunks/{worktree-h6vf3j39.js → permission-h6vf3j39.js} +1 -1
- package/dist/chunks/{worktree-11dqjexa.js → permission-h71w788e.js} +9 -9
- package/dist/chunks/{worktree-3dfzya26.js → permission-hgfez23e.js} +24 -24
- package/dist/chunks/{worktree-d2ax4fej.js → permission-hk7qdcav.js} +11 -11
- package/dist/chunks/{worktree-hkfg6fzm.js → permission-hkfg6fzm.js} +2 -2
- package/dist/chunks/{worktree-49efg6hh.js → permission-hqxaqnsz.js} +9 -9
- package/dist/chunks/{worktree-ma48de29.js → permission-j34dxvpb.js} +5 -5
- package/dist/chunks/{worktree-j56e64zr.js → permission-j56e64zr.js} +1 -1
- package/dist/chunks/{worktree-1rqq8hq9.js → permission-jg2dhj3p.js} +5 -5
- package/dist/chunks/{worktree-ax36eyar.js → permission-k18ytf7m.js} +6 -6
- package/dist/chunks/{worktree-30846h32.js → permission-k1gkpfdk.js} +8 -8
- package/dist/chunks/{worktree-k3c624dm.js → permission-k3c624dm.js} +3 -3
- package/dist/chunks/{worktree-y7abhsg2.js → permission-k4az9nbp.js} +10 -10
- package/dist/chunks/{worktree-530x511h.js → permission-k906dc9m.js} +28 -12
- package/dist/chunks/{worktree-44ke2mar.js → permission-k9kj6xed.js} +6 -6
- package/dist/chunks/{worktree-cs064az4.js → permission-kqw5tw9b.js} +10 -10
- package/dist/chunks/{worktree-pvr04t1x.js → permission-kw2fbk1j.js} +20 -20
- package/dist/chunks/{worktree-1gjr3geq.js → permission-m2c5z8sg.js} +14 -14
- package/dist/chunks/{worktree-m3fdjcah.js → permission-m3fdjcah.js} +1 -1
- package/dist/chunks/{worktree-12egnza5.js → permission-m7510d1m.js} +9 -9
- package/dist/chunks/{worktree-m9w0rfyh.js → permission-m9w0rfyh.js} +1 -1
- package/dist/chunks/{worktree-r5ec8tk0.js → permission-mmdsn9e0.js} +4 -4
- package/dist/chunks/{worktree-mn14093j.js → permission-msy3c7cy.js} +10 -10
- package/dist/chunks/{worktree-47rg4hp1.js → permission-n1r5w7py.js} +13 -13
- package/dist/chunks/{worktree-81pca9ss.js → permission-n451abxa.js} +17 -17
- package/dist/chunks/{worktree-v3n2aj7f.js → permission-n4zx6whp.js} +32 -32
- package/dist/chunks/{worktree-3n1pthd2.js → permission-n8q6nskq.js} +9 -9
- package/dist/chunks/{worktree-6e4g0mmd.js → permission-nv194scf.js} +4 -4
- package/dist/chunks/{worktree-pd8tqg4h.js → permission-nz3vmc8v.js} +27 -27
- package/dist/chunks/{worktree-8c185vwj.js → permission-p1a36bg3.js} +8 -8
- package/dist/chunks/{worktree-6skacn9s.js → permission-p21hmvcj.js} +32 -32
- package/dist/chunks/{worktree-p28j5sbe.js → permission-p28j5sbe.js} +2 -2
- package/dist/chunks/{worktree-mc5yagq3.js → permission-p466wxty.js} +20 -20
- package/dist/chunks/{worktree-f2da3tzf.js → permission-panegg9t.js} +18 -18
- package/dist/chunks/{worktree-1rpj62d2.js → permission-pdw7g21z.js} +13 -13
- package/dist/chunks/{worktree-pjvnvgmy.js → permission-pjvnvgmy.js} +1 -1
- package/dist/chunks/{worktree-pknna89w.js → permission-pknna89w.js} +1 -1
- package/dist/chunks/{worktree-pnv527nz.js → permission-pnv527nz.js} +2 -2
- package/dist/chunks/{worktree-sjwxqtfk.js → permission-py1xb1z4.js} +9 -9
- package/dist/chunks/{worktree-wxffcvth.js → permission-q1zmm1c6.js} +3 -3
- package/dist/chunks/{worktree-0z8c9324.js → permission-q3hz49bq.js} +11 -11
- package/dist/chunks/{worktree-8jgc84wx.js → permission-qbf0tqxf.js} +10 -10
- package/dist/chunks/{worktree-z9yzr4jj.js → permission-qhwxzw2t.js} +30 -30
- package/dist/chunks/{worktree-6dpcvaj3.js → permission-qk0wvp08.js} +30 -30
- package/dist/chunks/{worktree-1ddefpyr.js → permission-qrtt9f51.js} +20 -20
- package/dist/chunks/{worktree-qsdy395h.js → permission-qsdy395h.js} +1 -1
- package/dist/chunks/{worktree-75wt9k9g.js → permission-qt2fr0mw.js} +3 -3
- package/dist/chunks/{worktree-nmb2jxzm.js → permission-qtxsx7xp.js} +23 -23
- package/dist/chunks/{worktree-w3x9v1nk.js → permission-qvb3nf84.js} +8 -8
- package/dist/chunks/{worktree-xrm9dfb1.js → permission-qyvqs0b8.js} +15 -15
- package/dist/chunks/{worktree-73tb2d7t.js → permission-r5x6zcsm.js} +3 -3
- package/dist/chunks/{worktree-5j6r72e5.js → permission-r6y9hygx.js} +1 -1
- package/dist/chunks/{worktree-jhyw6xje.js → permission-r98tqh7p.js} +18 -18
- package/dist/chunks/{worktree-rdw6cm16.js → permission-rdw6cm16.js} +1 -1
- package/dist/chunks/{worktree-rhjbct0v.js → permission-rhjbct0v.js} +1 -1
- package/dist/chunks/{worktree-y1ygrsmg.js → permission-rpzb8neq.js} +3 -3
- package/dist/chunks/{worktree-xk8j9t28.js → permission-rrrtzsfn.js} +23 -23
- package/dist/chunks/{worktree-z2cyrkj5.js → permission-rzjcgha3.js} +12 -12
- package/dist/chunks/{worktree-k7zs4xcs.js → permission-s6m8pms3.js} +5 -5
- package/dist/chunks/{worktree-5pj5yv8y.js → permission-sf47z3a9.js} +18 -18
- package/dist/chunks/{worktree-bggj1spx.js → permission-sh642x3g.js} +38 -38
- package/dist/chunks/{worktree-fbf3se4r.js → permission-t9402zjh.js} +20 -20
- package/dist/chunks/{worktree-bct739vz.js → permission-t9zs3egg.js} +4 -4
- package/dist/chunks/{worktree-tazgh4e4.js → permission-tazgh4e4.js} +1 -1
- package/dist/chunks/{worktree-tcezcvh9.js → permission-tcezcvh9.js} +1 -1
- package/dist/chunks/{worktree-tdstcens.js → permission-tdstcens.js} +1 -1
- package/dist/chunks/{worktree-f06r0vcj.js → permission-th0ks2de.js} +8 -8
- package/dist/chunks/{worktree-k03y7cqw.js → permission-thv1n79j.js} +42 -42
- package/dist/chunks/{worktree-wv5sfath.js → permission-thx5dacy.js} +7 -7
- package/dist/chunks/{worktree-d4q36r9n.js → permission-tq8prkjp.js} +11 -11
- package/dist/chunks/{worktree-tvtrv512.js → permission-tvtrv512.js} +1 -1
- package/dist/chunks/{worktree-3w0fmcng.js → permission-tz2bjj40.js} +5 -5
- package/dist/chunks/{worktree-dje2ev5t.js → permission-v0y2tgz2.js} +4 -4
- package/dist/chunks/{worktree-rc43q7gj.js → permission-v76k1zv1.js} +15 -15
- package/dist/chunks/{worktree-x96eb595.js → permission-v8rx1wg5.js} +26 -26
- package/dist/chunks/{worktree-veqvce7d.js → permission-veqvce7d.js} +1 -1
- package/dist/chunks/{worktree-adpqb9ts.js → permission-vjcfhfmy.js} +11 -11
- package/dist/chunks/{worktree-ky3seynh.js → permission-vmgq4x8b.js} +2 -2
- package/dist/chunks/{worktree-e63kay3b.js → permission-vq5a0586.js} +32 -32
- package/dist/chunks/{worktree-vzcthcp8.js → permission-vzcthcp8.js} +1 -1
- package/dist/chunks/{worktree-8wgc21mb.js → permission-w2bgfj5s.js} +39 -39
- package/dist/chunks/{worktree-w3wsvvr9.js → permission-w3wsvvr9.js} +1 -1
- package/dist/chunks/{worktree-gg184eje.js → permission-w7t6xnda.js} +15 -15
- package/dist/chunks/{worktree-2a2ncbm6.js → permission-w98a9qes.js} +20 -20
- package/dist/chunks/{worktree-n48a3wtd.js → permission-wa1v3csk.js} +9 -9
- package/dist/chunks/{worktree-6j2syc76.js → permission-wb9vexz9.js} +4 -4
- package/dist/chunks/{worktree-wd87259q.js → permission-wd87259q.js} +1 -1
- package/dist/chunks/{worktree-qvb4r7jj.js → permission-whsdeetv.js} +36 -36
- package/dist/chunks/{worktree-tjedn1bk.js → permission-wj76ss2k.js} +4 -4
- package/dist/chunks/{worktree-cem17g90.js → permission-wsw716k0.js} +41 -41
- package/dist/chunks/{worktree-x1ezjp6w.js → permission-x1ezjp6w.js} +1 -1
- package/dist/chunks/{worktree-xfkkasph.js → permission-xfkkasph.js} +1 -1
- package/dist/chunks/{worktree-jvdmeb00.js → permission-xrx26rk8.js} +23 -23
- package/dist/chunks/{worktree-nye5f74f.js → permission-xv1bbbzm.js} +11 -11
- package/dist/chunks/{worktree-smyb6yf6.js → permission-xxhb2w1s.js} +15 -15
- package/dist/chunks/{worktree-y1fvbwt7.js → permission-y1fvbwt7.js} +1 -1
- package/dist/chunks/{worktree-knhmpdmt.js → permission-y44dwybn.js} +10 -10
- package/dist/chunks/{worktree-m2zz6rv6.js → permission-y5df08dr.js} +12 -12
- package/dist/chunks/{worktree-dpkg50ah.js → permission-y71avatq.js} +4 -4
- package/dist/chunks/{worktree-dmabgk2v.js → permission-ybfk0s63.js} +10 -10
- package/dist/chunks/{worktree-s3nqtxxj.js → permission-yfqf8r8t.js} +28 -28
- package/dist/chunks/{worktree-hmkf95c9.js → permission-ymcpp32q.js} +9 -9
- package/dist/chunks/{worktree-1acjjqhc.js → permission-yp2x3t23.js} +4 -4
- package/dist/chunks/{worktree-yrhqyw5v.js → permission-yrhqyw5v.js} +1 -1
- package/dist/chunks/{worktree-yrznvahk.js → permission-yrznvahk.js} +2 -2
- package/dist/chunks/{worktree-z0bkrqjs.js → permission-z0bkrqjs.js} +1 -1
- package/dist/chunks/{worktree-z63w68vq.js → permission-z63w68vq.js} +2 -2
- package/dist/chunks/{worktree-3bapk1gs.js → permission-zbvcjcjk.js} +11 -11
- package/dist/chunks/{worktree-gzhks085.js → permission-zcnmdaxq.js} +7 -7
- package/dist/chunks/{worktree-zeh9ct20.js → permission-zeh9ct20.js} +2 -2
- package/dist/chunks/{worktree-90j31e8f.js → permission-zeyt33w1.js} +39 -39
- package/dist/chunks/{worktree-9d5hdd7t.js → permission-zf0cp0vx.js} +28 -28
- package/dist/chunks/{worktree-bz85s9hh.js → permission-zhq6vg7a.js} +1 -1
- package/dist/chunks/{worktree-mtthj00s.js → permission-zmhev87s.js} +37 -37
- package/dist/chunks/{worktree-9724qm49.js → permission-zpgpekp4.js} +23 -23
- package/dist/chunks/{worktree-35dwm1he.js → permission-zqbabpbm.js} +31 -31
- package/dist/chunks/{worktree-zr2ceqn5.js → permission-zr2ceqn5.js} +1 -1
- package/dist/chunks/{worktree-zxq2ej10.js → permission-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +99 -99
- package/dist/form.js +77 -77
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- 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 +98 -98
- 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/id/id.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 +80 -80
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +83 -83
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +99 -99
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +97 -97
- package/dist/models-dev.js +94 -94
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- 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 +6 -6
- 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 +228 -228
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +96 -96
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +92 -92
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +116 -116
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +90 -90
- 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 +122 -122
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +95 -95
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +75 -75
- 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 +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/worktree-6a3y69ev.js +0 -26
- package/dist/chunks/worktree-6kdq0pjd.js +0 -4
- package/dist/chunks/worktree-gqqsgceb.js +0 -252
- package/dist/chunks/worktree-jqh9b0xq.js +0 -18
- /package/dist/chunks/{worktree-0qkdqm5v.js → permission-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{worktree-0zkw76rk.js → permission-0zkw76rk.js} +0 -0
- /package/dist/chunks/{worktree-17cy0kzp.js → permission-17cy0kzp.js} +0 -0
- /package/dist/chunks/{worktree-1cnp2v09.js → permission-1cnp2v09.js} +0 -0
- /package/dist/chunks/{worktree-1kg9ymc8.js → permission-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{worktree-24dcb14g.js → permission-24dcb14g.js} +0 -0
- /package/dist/chunks/{worktree-2710q6r3.js → permission-2710q6r3.js} +0 -0
- /package/dist/chunks/{worktree-2axfhc9x.js → permission-2axfhc9x.js} +0 -0
- /package/dist/chunks/{worktree-2c3vjs8z.js → permission-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{worktree-359p4xyc.js → permission-359p4xyc.js} +0 -0
- /package/dist/chunks/{worktree-3asan66x.js → permission-3asan66x.js} +0 -0
- /package/dist/chunks/{worktree-3v8g72cx.js → permission-3v8g72cx.js} +0 -0
- /package/dist/chunks/{worktree-3w5fmr99.js → permission-3w5fmr99.js} +0 -0
- /package/dist/chunks/{worktree-3wcehsnq.js → permission-3wcehsnq.js} +0 -0
- /package/dist/chunks/{worktree-43n2bw4t.js → permission-43n2bw4t.js} +0 -0
- /package/dist/chunks/{worktree-4knz6hnm.js → permission-4knz6hnm.js} +0 -0
- /package/dist/chunks/{worktree-4vcrnpx2.js → permission-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{worktree-4y7fprxs.js → permission-4y7fprxs.js} +0 -0
- /package/dist/chunks/{worktree-53557ph1.js → permission-53557ph1.js} +0 -0
- /package/dist/chunks/{worktree-550bvhaj.js → permission-550bvhaj.js} +0 -0
- /package/dist/chunks/{worktree-5qd3pb7m.js → permission-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{worktree-6prwharc.js → permission-6prwharc.js} +0 -0
- /package/dist/chunks/{worktree-7akdwqpd.js → permission-7akdwqpd.js} +0 -0
- /package/dist/chunks/{worktree-7m9af43g.js → permission-7m9af43g.js} +0 -0
- /package/dist/chunks/{worktree-822emrt2.js → permission-822emrt2.js} +0 -0
- /package/dist/chunks/{worktree-88xbtdfr.js → permission-88xbtdfr.js} +0 -0
- /package/dist/chunks/{worktree-8n3pysct.js → permission-8n3pysct.js} +0 -0
- /package/dist/chunks/{worktree-922hggd3.js → permission-922hggd3.js} +0 -0
- /package/dist/chunks/{worktree-9a4afbnw.js → permission-9a4afbnw.js} +0 -0
- /package/dist/chunks/{worktree-9rqn6x4v.js → permission-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{worktree-a6k6eb26.js → permission-a6k6eb26.js} +0 -0
- /package/dist/chunks/{worktree-af5trqkr.js → permission-af5trqkr.js} +0 -0
- /package/dist/chunks/{worktree-afrmfg78.js → permission-afrmfg78.js} +0 -0
- /package/dist/chunks/{worktree-aqzs7mqg.js → permission-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{worktree-atq7p7m5.js → permission-atq7p7m5.js} +0 -0
- /package/dist/chunks/{worktree-bkyjaxrp.js → permission-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{worktree-bmr6ed5q.js → permission-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{worktree-cf4snx6d.js → permission-cf4snx6d.js} +0 -0
- /package/dist/chunks/{worktree-cvy3z8tj.js → permission-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{worktree-d9fn303g.js → permission-d9fn303g.js} +0 -0
- /package/dist/chunks/{worktree-d9jj8t3e.js → permission-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{worktree-dajrwvna.js → permission-dajrwvna.js} +0 -0
- /package/dist/chunks/{worktree-dap0rakb.js → permission-dap0rakb.js} +0 -0
- /package/dist/chunks/{worktree-df08tz66.js → permission-df08tz66.js} +0 -0
- /package/dist/chunks/{worktree-dy18nga0.js → permission-dy18nga0.js} +0 -0
- /package/dist/chunks/{worktree-e5kj55wp.js → permission-e5kj55wp.js} +0 -0
- /package/dist/chunks/{worktree-e73j6tqm.js → permission-e73j6tqm.js} +0 -0
- /package/dist/chunks/{worktree-ec1grn59.js → permission-ec1grn59.js} +0 -0
- /package/dist/chunks/{worktree-eh3zwz77.js → permission-eh3zwz77.js} +0 -0
- /package/dist/chunks/{worktree-emrn6kk6.js → permission-emrn6kk6.js} +0 -0
- /package/dist/chunks/{worktree-f0mxakyp.js → permission-f0mxakyp.js} +0 -0
- /package/dist/chunks/{worktree-f6n9ztr4.js → permission-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{worktree-faypxj3z.js → permission-faypxj3z.js} +0 -0
- /package/dist/chunks/{worktree-fd410y7t.js → permission-fd410y7t.js} +0 -0
- /package/dist/chunks/{worktree-fxgpk5d8.js → permission-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{worktree-g4wezp1m.js → permission-g4wezp1m.js} +0 -0
- /package/dist/chunks/{worktree-g86h250q.js → permission-g86h250q.js} +0 -0
- /package/dist/chunks/{worktree-gebd4c9n.js → permission-gebd4c9n.js} +0 -0
- /package/dist/chunks/{worktree-gftt206x.js → permission-gftt206x.js} +0 -0
- /package/dist/chunks/{worktree-hjbc5kem.js → permission-hjbc5kem.js} +0 -0
- /package/dist/chunks/{worktree-hk9envan.js → permission-hk9envan.js} +0 -0
- /package/dist/chunks/{worktree-j2ntwpah.js → permission-j2ntwpah.js} +0 -0
- /package/dist/chunks/{worktree-j5zkgpj8.js → permission-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{worktree-jjkms2e6.js → permission-jjkms2e6.js} +0 -0
- /package/dist/chunks/{worktree-jr7sbwjy.js → permission-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{worktree-jwfs4k6c.js → permission-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{worktree-jzg6c2d5.js → permission-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{worktree-mp448xyj.js → permission-mp448xyj.js} +0 -0
- /package/dist/chunks/{worktree-msx8hqn2.js → permission-msx8hqn2.js} +0 -0
- /package/dist/chunks/{worktree-n05xt0ee.js → permission-n05xt0ee.js} +0 -0
- /package/dist/chunks/{worktree-n3j8tn72.js → permission-n3j8tn72.js} +0 -0
- /package/dist/chunks/{worktree-njntx4h6.js → permission-njntx4h6.js} +0 -0
- /package/dist/chunks/{worktree-q3sfg36h.js → permission-q3sfg36h.js} +0 -0
- /package/dist/chunks/{worktree-q74kybfr.js → permission-q74kybfr.js} +0 -0
- /package/dist/chunks/{worktree-qaymkmh1.js → permission-qaymkmh1.js} +0 -0
- /package/dist/chunks/{worktree-qb87gjwd.js → permission-qb87gjwd.js} +0 -0
- /package/dist/chunks/{worktree-qfa1cgps.js → permission-qfa1cgps.js} +0 -0
- /package/dist/chunks/{worktree-qg3g05ea.js → permission-qg3g05ea.js} +0 -0
- /package/dist/chunks/{worktree-qrg20bc0.js → permission-qrg20bc0.js} +0 -0
- /package/dist/chunks/{worktree-rcb2kzg1.js → permission-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{worktree-sdp7kfr6.js → permission-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{worktree-sk3qaz4a.js → permission-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{worktree-ssg3fenm.js → permission-ssg3fenm.js} +0 -0
- /package/dist/chunks/{worktree-twg0f83k.js → permission-twg0f83k.js} +0 -0
- /package/dist/chunks/{worktree-w803qqfp.js → permission-w803qqfp.js} +0 -0
- /package/dist/chunks/{worktree-wc3fc9cn.js → permission-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{worktree-wer8tq1h.js → permission-wer8tq1h.js} +0 -0
- /package/dist/chunks/{worktree-wtztk69x.js → permission-wtztk69x.js} +0 -0
- /package/dist/chunks/{worktree-x0ckcb58.js → permission-x0ckcb58.js} +0 -0
- /package/dist/chunks/{worktree-x61499pn.js → permission-x61499pn.js} +0 -0
- /package/dist/chunks/{worktree-y44na4kk.js → permission-y44na4kk.js} +0 -0
- /package/dist/chunks/{worktree-y8cydn3q.js → permission-y8cydn3q.js} +0 -0
- /package/dist/chunks/{worktree-y8f7s663.js → permission-y8f7s663.js} +0 -0
- /package/dist/chunks/{worktree-ygaqb7jw.js → permission-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{worktree-ym463w8f.js → permission-ym463w8f.js} +0 -0
- /package/dist/chunks/{worktree-z9919s4g.js → permission-z9919s4g.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./permission-9ytcz3ec.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service65
|
|
6
|
+
} from "./permission-zmhev87s.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./permission-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -53,8 +53,8 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin49 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service76;
|
|
57
|
+
const permission = yield* Service65;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
Service74,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node78
|
|
5
|
+
} from "./permission-t9402zjh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID12,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -13,22 +13,22 @@ import {
|
|
|
13
13
|
mergeOverlay2,
|
|
14
14
|
mergeHeaders2,
|
|
15
15
|
Service73,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
node77
|
|
17
|
+
} from "./permission-emvjk7qx.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service72,
|
|
20
|
+
node76
|
|
21
|
+
} from "./permission-bsm67k4q.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID11,
|
|
24
24
|
VariantID2,
|
|
25
25
|
Ref2,
|
|
26
|
-
|
|
26
|
+
Service71,
|
|
27
27
|
node75
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./permission-nz3vmc8v.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./permission-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/model-resolver.ts
|
|
34
34
|
var exports_model_resolver = {};
|
|
@@ -37,15 +37,15 @@ __export(exports_model_resolver, {
|
|
|
37
37
|
ModelConfigurationError: () => ModelConfigurationError3,
|
|
38
38
|
ModelInitializationError: () => ModelInitializationError3,
|
|
39
39
|
ModelResolver: () => exports_model_resolver,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service70,
|
|
41
41
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
42
42
|
UnsupportedCompactionError: () => UnsupportedCompactionError3,
|
|
43
43
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
44
44
|
VariantUnavailableError: () => VariantUnavailableError3,
|
|
45
45
|
fromCatalogModel: () => fromCatalogModel2,
|
|
46
46
|
hasPackage: () => hasPackage2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer24,
|
|
48
|
+
node: () => node74,
|
|
49
49
|
resolveModel: () => resolveModel2,
|
|
50
50
|
withVariant: () => withVariant2
|
|
51
51
|
});
|
|
@@ -55,8 +55,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
55
55
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
56
56
|
import { Npm } from "@opencode/util/npm";
|
|
57
57
|
class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
58
|
-
providerID:
|
|
59
|
-
modelID:
|
|
58
|
+
providerID: ID12,
|
|
59
|
+
modelID: ID11,
|
|
60
60
|
variant: VariantID2
|
|
61
61
|
}) {
|
|
62
62
|
get message() {
|
|
@@ -65,8 +65,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
68
|
-
providerID:
|
|
69
|
-
modelID:
|
|
68
|
+
providerID: ID12,
|
|
69
|
+
modelID: ID11,
|
|
70
70
|
package: Schema.String
|
|
71
71
|
}) {
|
|
72
72
|
get message() {
|
|
@@ -76,8 +76,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
76
76
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
77
77
|
|
|
78
78
|
class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
79
|
-
providerID:
|
|
80
|
-
modelID:
|
|
79
|
+
providerID: ID12,
|
|
80
|
+
modelID: ID11,
|
|
81
81
|
package: Schema.String,
|
|
82
82
|
detail: Schema.String
|
|
83
83
|
}) {
|
|
@@ -87,8 +87,8 @@ class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
90
|
-
providerID:
|
|
91
|
-
modelID:
|
|
90
|
+
providerID: ID12,
|
|
91
|
+
modelID: ID11,
|
|
92
92
|
package: Schema.String,
|
|
93
93
|
phase: InitializationPhase2,
|
|
94
94
|
detail: Schema.String
|
|
@@ -99,8 +99,8 @@ class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
102
|
-
providerID:
|
|
103
|
-
modelID:
|
|
102
|
+
providerID: ID12,
|
|
103
|
+
modelID: ID11,
|
|
104
104
|
variables: Schema.Array(Schema.String)
|
|
105
105
|
}) {
|
|
106
106
|
get message() {
|
|
@@ -109,8 +109,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
112
|
-
providerID:
|
|
113
|
-
modelID:
|
|
112
|
+
providerID: ID12,
|
|
113
|
+
modelID: ID11,
|
|
114
114
|
route: Schema.String
|
|
115
115
|
}) {
|
|
116
116
|
get message() {
|
|
@@ -118,7 +118,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
class
|
|
121
|
+
class Service70 extends Context.Service()("@opencode/ModelResolver") {
|
|
122
122
|
}
|
|
123
123
|
var withVariant2 = (model, variantID) => {
|
|
124
124
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -258,15 +258,15 @@ var causeMessage = (cause) => {
|
|
|
258
258
|
};
|
|
259
259
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
260
260
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
261
|
-
var
|
|
261
|
+
var layer24 = Layer.effect(Service70, Effect.gen(function* () {
|
|
262
262
|
const providers = yield* Service73;
|
|
263
|
-
const models = yield*
|
|
263
|
+
const models = yield* Service71;
|
|
264
264
|
const integrations = yield* Service74;
|
|
265
265
|
const npm = yield* Npm.Service;
|
|
266
|
-
const aisdk = yield*
|
|
266
|
+
const aisdk = yield* Service72;
|
|
267
267
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
268
268
|
const provider = yield* providers.get(selected.providerID);
|
|
269
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
269
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID13.make(selected.providerID));
|
|
270
270
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
271
271
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
272
272
|
const runtimeInfo = {
|
|
@@ -292,7 +292,7 @@ var layer23 = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
292
292
|
transport: provider?.settings?.transport
|
|
293
293
|
};
|
|
294
294
|
});
|
|
295
|
-
return
|
|
295
|
+
return Service70.of({
|
|
296
296
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
297
297
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
|
|
298
298
|
if (!selected)
|
|
@@ -309,10 +309,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
309
309
|
const name = packageName2(packageName);
|
|
310
310
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
311
311
|
}
|
|
312
|
-
var
|
|
313
|
-
service:
|
|
314
|
-
layer:
|
|
315
|
-
deps: [
|
|
312
|
+
var node74 = makeLocationNode({
|
|
313
|
+
service: Service70,
|
|
314
|
+
layer: layer24,
|
|
315
|
+
deps: [node77, node75, node78, Npm.node, node76]
|
|
316
316
|
});
|
|
317
317
|
|
|
318
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3,
|
|
318
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service70, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node74, exports_model_resolver };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-4dgbcxzg.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-mmdsn9e0.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./permission-yfqf8r8t.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID13,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./permission-t9402zjh.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID12,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
19
|
Service73
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./permission-emvjk7qx.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID11
|
|
23
|
+
} from "./permission-nz3vmc8v.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load3,
|
|
26
|
+
derive3
|
|
27
|
+
} from "./permission-4gevcj4v.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./permission-q3hz49bq.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/github-copilot.ts
|
|
33
33
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
59
59
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
60
60
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
61
61
|
var oauth = (app) => ({
|
|
62
|
-
integrationID:
|
|
62
|
+
integrationID: ID13.make("github-copilot"),
|
|
63
63
|
method: {
|
|
64
64
|
id: methodID,
|
|
65
65
|
type: "oauth",
|
|
@@ -173,9 +173,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
173
173
|
return;
|
|
174
174
|
}
|
|
175
175
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
176
|
-
const provider = yield* providers.get(
|
|
176
|
+
const provider = yield* providers.get(ID12.githubCopilot);
|
|
177
177
|
const remote = yield* Effect.tryPromise({
|
|
178
|
-
try: () =>
|
|
178
|
+
try: () => load3(url, {
|
|
179
179
|
...provider?.headers,
|
|
180
180
|
Authorization: `Bearer ${credential.refresh}`,
|
|
181
181
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -194,13 +194,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
194
194
|
editor.method.update(oauth(ctx.app));
|
|
195
195
|
});
|
|
196
196
|
yield* ctx.provider.transform((evt) => {
|
|
197
|
-
const item = evt.get(
|
|
197
|
+
const item = evt.get(ID12.githubCopilot);
|
|
198
198
|
if (!item)
|
|
199
199
|
return;
|
|
200
200
|
if (loaded.models) {
|
|
201
201
|
evt.add({
|
|
202
202
|
info: item.provider,
|
|
203
|
-
models: Array.from(
|
|
203
|
+
models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
204
204
|
sourceConnection: loaded.connection
|
|
205
205
|
});
|
|
206
206
|
return;
|
|
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
yield* ctx.model.transform((models) => {
|
|
217
|
-
if (models.get(
|
|
218
|
-
models.update(
|
|
217
|
+
if (models.get(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"))) {
|
|
218
|
+
models.update(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"), (model) => {
|
|
219
219
|
model.enabled = false;
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
224
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
225
225
|
yield* refresh().pipe(Effect.forkScoped);
|
|
226
226
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
227
|
-
if (evt.model.providerID !==
|
|
227
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
228
228
|
return;
|
|
229
229
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
230
230
|
return;
|
|
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
233
233
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
234
234
|
}));
|
|
235
235
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
236
|
-
if (evt.model.providerID !==
|
|
236
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
237
237
|
return;
|
|
238
238
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
239
239
|
return;
|
|
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
243
243
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
244
244
|
if (interaction !== "conversation-agent")
|
|
245
245
|
evt.headers["x-initiator"] = "agent";
|
|
246
|
-
}), { providerID:
|
|
246
|
+
}), { providerID: ID12.githubCopilot });
|
|
247
247
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
248
|
-
if (evt.model.providerID !==
|
|
248
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
249
249
|
return;
|
|
250
250
|
const token = evt.request.headers.get("x-api-key");
|
|
251
251
|
if (!token)
|
|
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
253
253
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
254
254
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
255
255
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
256
|
-
}), { providerID:
|
|
256
|
+
}), { providerID: ID12.githubCopilot });
|
|
257
257
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
258
|
-
if (evt.model.providerID !==
|
|
258
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
259
259
|
return;
|
|
260
260
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
261
261
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./permission-mmdsn9e0.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./permission-9skgweab.js";
|
|
9
9
|
import {
|
|
10
10
|
ID10,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service69,
|
|
12
|
+
node73
|
|
13
|
+
} from "./permission-6jgheagj.js";
|
|
14
14
|
import {
|
|
15
15
|
NotFoundError9
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./permission-q1zmm1c6.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service67,
|
|
19
|
+
node71
|
|
20
|
+
} from "./permission-gjtr2zzm.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
24
|
-
import {
|
|
25
|
-
Service62,
|
|
26
|
-
node65
|
|
27
|
-
} from "./worktree-b8gtgm9a.js";
|
|
23
|
+
} from "./permission-y1fvbwt7.js";
|
|
28
24
|
import {
|
|
29
|
-
|
|
25
|
+
Service66,
|
|
30
26
|
node70
|
|
31
|
-
} from "./
|
|
27
|
+
} from "./permission-07s31j3g.js";
|
|
28
|
+
import {
|
|
29
|
+
Service68,
|
|
30
|
+
node72
|
|
31
|
+
} from "./permission-k1gkpfdk.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./permission-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
37
|
var exports_permission2 = {};
|
|
@@ -42,7 +42,7 @@ __export(exports_permission2, {
|
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
45
|
+
Event: () => Event14,
|
|
46
46
|
ID: () => ID8,
|
|
47
47
|
NotFoundError: () => NotFoundError8,
|
|
48
48
|
Permission: () => exports_permission2,
|
|
@@ -51,21 +51,21 @@ __export(exports_permission2, {
|
|
|
51
51
|
Request: () => Request2,
|
|
52
52
|
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
55
|
-
Source: () =>
|
|
54
|
+
Service: () => Service65,
|
|
55
|
+
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node69
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
63
|
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
-
import { Event as
|
|
64
|
+
import { Event as Event14 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
67
|
var ID8 = Permission.ID;
|
|
68
|
-
var
|
|
68
|
+
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
71
71
|
action: Permission.Request.fields.action,
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service65 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
130
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service82;
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
132
|
+
const location = yield* Service79;
|
|
133
|
+
const agents = yield* Service69;
|
|
134
|
+
const sessions = yield* Service67;
|
|
135
|
+
const saved = yield* Service66;
|
|
136
|
+
const hooks = yield* Service68;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service65.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node69 = makeLocationNode({
|
|
303
|
+
service: Service65,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [node86,
|
|
305
|
+
deps: [node86, node83, node73, node71, node70, node72]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect, ID8,
|
|
308
|
+
export { PermissionEffect, ID8, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service65, node69, exports_permission2, Rule3, Ruleset2, Event14 };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./permission-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service79,
|
|
8
|
+
node83
|
|
9
|
+
} from "./permission-9skgweab.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service18,
|
|
12
12
|
node20
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./permission-4w9jmjsg.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./permission-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -22,16 +22,16 @@ __export(exports_filesystem, {
|
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
24
|
Entry: () => Entry2,
|
|
25
|
-
Event: () =>
|
|
25
|
+
Event: () => Event4,
|
|
26
26
|
FileSystem: () => exports_filesystem,
|
|
27
27
|
FindInput: () => FindInput2,
|
|
28
28
|
GlobInput: () => GlobInput2,
|
|
29
29
|
GrepInput: () => GrepInput2,
|
|
30
30
|
ListInput: () => ListInput2,
|
|
31
31
|
Match: () => Match2,
|
|
32
|
-
NotFoundError: () =>
|
|
32
|
+
NotFoundError: () => NotFoundError3,
|
|
33
33
|
ReadInput: () => ReadInput2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service17,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
37
|
WriteInput: () => WriteInput2,
|
|
@@ -51,7 +51,7 @@ var WriteInput2 = Schema.Struct({
|
|
|
51
51
|
data: Schema.Uint8Array
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class NotFoundError3 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
55
55
|
path: RelativePath2
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
85
85
|
limit: Schema.optionalKey(PositiveInt2)
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Event4 = FileSystem.Event;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service17 extends Context.Service()("@opencode/FileSystem") {
|
|
91
91
|
}
|
|
92
|
-
var baseLayer = Layer.effect(
|
|
92
|
+
var baseLayer = Layer.effect(Service17, Effect.gen(function* () {
|
|
93
93
|
const fs = yield* FSUtil.Service;
|
|
94
|
-
const location = yield*
|
|
95
|
-
const search = yield*
|
|
94
|
+
const location = yield* Service79;
|
|
95
|
+
const search = yield* Service18;
|
|
96
96
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
97
97
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
98
98
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
103
103
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
104
104
|
return { absolute, real, directory: location.directory };
|
|
105
105
|
});
|
|
106
|
-
return
|
|
106
|
+
return Service17.of({
|
|
107
107
|
find: search.find,
|
|
108
108
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
109
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
110
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
109
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
|
|
110
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
|
|
111
111
|
if (info.type !== "File")
|
|
112
112
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
113
113
|
return {
|
|
114
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
114
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error))),
|
|
115
115
|
mime: FSUtil.mimeType(target.real)
|
|
116
116
|
};
|
|
117
117
|
}),
|
|
@@ -141,9 +141,9 @@ var baseLayer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
141
141
|
});
|
|
142
142
|
}));
|
|
143
143
|
var node19 = makeLocationNode({
|
|
144
|
-
service:
|
|
144
|
+
service: Service17,
|
|
145
145
|
layer: baseLayer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node83, node20]
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
149
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError3, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event4, Service17, node19, exports_filesystem, Entry2, Match2, Submatch2 };
|