@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,57 +1,57 @@
|
|
|
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
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service58,
|
|
11
|
+
node61
|
|
12
|
+
} from "./permission-9vjqw7av.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./permission-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service43,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node46
|
|
20
|
+
} from "./permission-sf47z3a9.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service68,
|
|
23
|
+
node72
|
|
24
|
+
} from "./permission-k1gkpfdk.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service41,
|
|
27
|
+
node44
|
|
28
|
+
} from "./permission-qvb3nf84.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./permission-5cmxdwv8.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service44,
|
|
35
|
+
node47
|
|
36
|
+
} from "./permission-cwva85yx.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./permission-90bsn2hc.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./permission-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError6,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service40,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node43
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
62
62
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
64
|
import { Global } from "@opencode/util/global";
|
|
65
|
-
class
|
|
65
|
+
class NotFoundError6 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
66
66
|
id: Shell.ID
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service40 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
89
|
+
var layer = () => Layer.effect(Service40, Effect.gen(function* () {
|
|
90
90
|
const bus = yield* Service82;
|
|
91
|
-
const location = yield*
|
|
91
|
+
const location = yield* Service79;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
|
-
const shell = yield*
|
|
94
|
-
const environment = yield*
|
|
95
|
-
const hooks = yield*
|
|
96
|
-
const environments = yield*
|
|
97
|
-
const config = yield*
|
|
93
|
+
const shell = yield* Service43;
|
|
94
|
+
const environment = yield* Service58;
|
|
95
|
+
const hooks = yield* Service68;
|
|
96
|
+
const environments = yield* Service41;
|
|
97
|
+
const config = yield* Service44;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
100
100
|
const commands = new Map;
|
|
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service43, Effect.gen(function* () {
|
|
|
115
115
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
116
116
|
const command = commands.get(id);
|
|
117
117
|
if (!command)
|
|
118
|
-
return yield* new
|
|
118
|
+
return yield* new NotFoundError6({ id });
|
|
119
119
|
return command;
|
|
120
120
|
});
|
|
121
121
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service43, Effect.gen(function* () {
|
|
|
128
128
|
commands.delete(id);
|
|
129
129
|
if (command.timeoutFiber)
|
|
130
130
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
131
|
-
yield* Deferred.fail(command.done, new
|
|
131
|
+
yield* Deferred.fail(command.done, new NotFoundError6({ id }));
|
|
132
132
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
133
133
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
134
134
|
});
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service43, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service40.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node43 = makeLocationNode({
|
|
320
|
+
service: Service40,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
323
|
node86,
|
|
324
|
-
|
|
324
|
+
node83,
|
|
325
325
|
Global.node,
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
326
|
+
node46,
|
|
327
|
+
node61,
|
|
328
|
+
node72,
|
|
329
|
+
node44,
|
|
329
330
|
node47,
|
|
330
|
-
node49,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { NotFoundError6, RETENTION2, DIRECTORY2, Service40, cleanup2, node43, exports_shell4 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./permission-mmdsn9e0.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./permission-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service79,
|
|
12
|
+
node83
|
|
13
|
+
} from "./permission-9skgweab.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: () => Service61,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node65
|
|
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 Service61 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service82;
|
|
44
|
-
const location = yield*
|
|
44
|
+
const location = yield* Service79;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service25, 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(Service79, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service61.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node65 = makeLocationNode({ service: Service61, layer, deps: [node86, node83] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service61, node65, exports_rpc, define2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-8p4f9s12.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./permission-dbz5yhxv.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service82,
|
|
8
8
|
node86
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./permission-mmdsn9e0.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./permission-5t3nmthw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./permission-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./permission-39q1dpaa.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service67,
|
|
21
|
+
node71
|
|
22
|
+
} from "./permission-gjtr2zzm.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service28,
|
|
25
|
+
node32
|
|
26
|
+
} from "./permission-5px2cs4c.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./permission-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./permission-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service3,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer3,
|
|
42
|
+
node: () => node4
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service3 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var
|
|
61
|
+
var layer3 = Layer.effect(Service3, Effect.gen(function* () {
|
|
62
62
|
const bus = yield* Service82;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
64
|
+
const context = yield* Service28;
|
|
65
|
+
const store = yield* Service67;
|
|
66
66
|
const db = (yield* Service83).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service3.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
152
|
-
layer:
|
|
153
|
-
deps: [node86, llmClient2,
|
|
150
|
+
var node4 = makeLocationNode({
|
|
151
|
+
service: Service3,
|
|
152
|
+
layer: layer3,
|
|
153
|
+
deps: [node86, llmClient2, node32, node71, node87]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service3, isUntitled2, layer3, node4, exports_title };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
7
|
-
import {
|
|
8
|
-
Info9
|
|
9
|
-
} from "./worktree-a68v6zx7.js";
|
|
6
|
+
} from "./permission-g190xswt.js";
|
|
10
7
|
import {
|
|
11
8
|
Info15
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./permission-818pfwc9.js";
|
|
10
|
+
import {
|
|
11
|
+
Info9
|
|
12
|
+
} from "./permission-tz2bjj40.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info10
|
|
15
|
+
} from "./permission-edrmdtr5.js";
|
|
16
16
|
import {
|
|
17
17
|
Info12
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./permission-hkfg6fzm.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./permission-7dqw4kz8.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info14
|
|
24
|
+
} from "./permission-0r7yqxbf.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info7
|
|
27
|
+
} from "./permission-wsw716k0.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./permission-bv1ptma2.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./permission-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info7.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info9, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info10, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info15, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info15, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info14, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./permission-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event9,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options10,
|
|
17
|
+
Service: () => Service45,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured9,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer19,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node48,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event9 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load4());
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options10 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service45 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer19 = (options) => Layer.effect(Service45, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service45.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer20 = (options) => Layer.effect(Service47, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service45.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer19().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service45).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service45, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured9(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service45, layer: layer19(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node48 = configured9();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event9, hasNativeBinding2, Native3, Options10, Service45, Test3, layer19, testLayer3, nativeLayer2, nativeNode2, configured9, node48, exports_watcher };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-e1cdkeep.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-twg0f83k.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./permission-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_opencode, {
|
|
|
8
8
|
ModelsInput: () => ModelsInput2,
|
|
9
9
|
MoveInput: () => MoveInput2,
|
|
10
10
|
OpenCodeTools: () => exports_opencode,
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin27,
|
|
12
12
|
RenameInput: () => RenameInput2
|
|
13
13
|
});
|
|
14
14
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
|
|
|
64
64
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
65
65
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
66
66
|
});
|
|
67
|
-
var
|
|
67
|
+
var Plugin27 = {
|
|
68
68
|
id: "opencode.tools",
|
|
69
69
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
70
70
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -161,4 +161,4 @@ var Plugin21 = {
|
|
|
161
161
|
})
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
export { RenameInput2, MoveInput2, ModelsInput2,
|
|
164
|
+
export { RenameInput2, MoveInput2, ModelsInput2, Plugin27, exports_opencode };
|