@opencode/core 0.0.0-dev-19935 → 0.0.0-dev-19936
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 +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{pty-bccb6npm.js → vcs-06dxphr1.js} +4 -4
- package/dist/chunks/{pty-vnr19yaz.js → vcs-06h4x05t.js} +6 -6
- package/dist/chunks/{pty-21yscatf.js → vcs-0eaen06d.js} +47 -47
- package/dist/chunks/{pty-d21c9hyv.js → vcs-0ekmhm49.js} +22 -22
- package/dist/chunks/{pty-40rggeet.js → vcs-0f2p0cnd.js} +5 -5
- package/dist/chunks/{pty-5s45kcve.js → vcs-0h9cdpmt.js} +19 -19
- package/dist/chunks/{pty-tmdgs4qc.js → vcs-0hy412gj.js} +11 -11
- package/dist/chunks/{pty-7y216y5p.js → vcs-0jvye1j3.js} +36 -36
- package/dist/chunks/vcs-0mesazry.js +4 -0
- package/dist/chunks/{pty-0paq2nw3.js → vcs-0paq2nw3.js} +1 -1
- package/dist/chunks/{pty-0q0f95c6.js → vcs-0q0f95c6.js} +1 -1
- package/dist/chunks/{pty-8tr0qdz4.js → vcs-0x71c255.js} +8 -8
- package/dist/chunks/{pty-1nsrs91v.js → vcs-1129d28p.js} +20 -20
- package/dist/chunks/{pty-wgh0awmw.js → vcs-14b7wbmv.js} +35 -35
- package/dist/chunks/{pty-pgadv6bt.js → vcs-16p9b2hb.js} +18 -18
- package/dist/chunks/{pty-7cge7rm7.js → vcs-19k94sh9.js} +8 -8
- package/dist/chunks/{pty-1dazxqgg.js → vcs-1dazxqgg.js} +2 -2
- package/dist/chunks/{pty-e1rbgcj4.js → vcs-1earv0bc.js} +26 -26
- package/dist/chunks/{pty-61g3b1pw.js → vcs-1ev0r8qr.js} +28 -28
- package/dist/chunks/{pty-9j4rwzvb.js → vcs-1g3fsypj.js} +11 -11
- package/dist/chunks/{pty-sz5c3476.js → vcs-1nb1b4r0.js} +1 -1
- package/dist/chunks/{pty-m9g140gf.js → vcs-1rmaqtrx.js} +4 -4
- package/dist/chunks/{pty-y5df08dr.js → vcs-1v6wmkfd.js} +12 -12
- package/dist/chunks/{pty-21r38tys.js → vcs-21r38tys.js} +1 -1
- package/dist/chunks/{pty-fzdsdhyy.js → vcs-29pcd0xy.js} +9 -9
- package/dist/chunks/{pty-2a5m3afh.js → vcs-2a5m3afh.js} +1 -1
- package/dist/chunks/{pty-7sttfjma.js → vcs-2amj1e7d.js} +21 -21
- package/dist/chunks/{pty-f2btm3ds.js → vcs-2ketmxte.js} +4 -4
- package/dist/chunks/{pty-772f7zcq.js → vcs-2mpk35kb.js} +3 -3
- package/dist/chunks/{pty-4ty2257w.js → vcs-2pe4qx6f.js} +8 -8
- package/dist/chunks/{pty-ydsbnknk.js → vcs-2y4j37hv.js} +11 -11
- package/dist/chunks/{pty-d5z7kk5f.js → vcs-2zh6qkk0.js} +9 -9
- package/dist/chunks/{pty-g49r3ea3.js → vcs-39zd88tj.js} +27 -27
- package/dist/chunks/{pty-0kh0dn2a.js → vcs-3b9j3znx.js} +9 -9
- package/dist/chunks/{pty-2f0bjgcj.js → vcs-3cfzdc8e.js} +5 -5
- package/dist/chunks/{pty-3fc6dm20.js → vcs-3fc6dm20.js} +1 -1
- package/dist/chunks/{pty-0qjksd3p.js → vcs-3gz6fvbw.js} +29 -29
- package/dist/chunks/{pty-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-tpw6cwsb.js → vcs-3hfr6h8q.js} +4 -4
- package/dist/chunks/{pty-pnchrenk.js → vcs-3kkapxkb.js} +29 -29
- package/dist/chunks/{pty-acp7khxw.js → vcs-3pbjq009.js} +11 -11
- package/dist/chunks/{pty-x2d9qy7d.js → vcs-3qaj82j9.js} +5 -5
- package/dist/chunks/{pty-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-ajv9ph60.js → vcs-3v5p2af4.js} +4 -4
- package/dist/chunks/{pty-3fhvbsdb.js → vcs-3zssdy64.js} +18 -18
- package/dist/chunks/{pty-y8s8jbmk.js → vcs-4327cfd7.js} +8 -8
- package/dist/chunks/{pty-8gvkar91.js → vcs-47b46ckc.js} +16 -16
- package/dist/chunks/{pty-a48s4pqa.js → vcs-4dq7w5d5.js} +27 -27
- package/dist/chunks/{pty-1xj4prap.js → vcs-4e3rb2jf.js} +24 -24
- package/dist/chunks/{pty-wx3n4hzp.js → vcs-4ezb7q2p.js} +24 -24
- package/dist/chunks/{pty-c84hahnz.js → vcs-4sgj07f0.js} +3 -3
- package/dist/chunks/{pty-2vgzs72b.js → vcs-4v4bfvma.js} +5 -5
- package/dist/chunks/vcs-4v7qdvcn.js +18 -0
- package/dist/chunks/{pty-rc72nxnw.js → vcs-51b2bmqd.js} +43 -43
- package/dist/chunks/{pty-r1dq1bn8.js → vcs-51sx1yec.js} +11 -11
- package/dist/chunks/{pty-81swgkk7.js → vcs-57ez7d0k.js} +7 -7
- package/dist/chunks/{pty-xxz86ynf.js → vcs-5b4qx53s.js} +24 -24
- package/dist/chunks/{pty-a1bz86dw.js → vcs-5c4hm403.js} +3 -3
- package/dist/chunks/{pty-qmqgtz8f.js → vcs-5d607bsg.js} +9 -9
- package/dist/chunks/{pty-5daktx2q.js → vcs-5daktx2q.js} +1 -1
- package/dist/chunks/{pty-fxv6f51q.js → vcs-5pfc8d83.js} +4 -4
- package/dist/chunks/{pty-e3qxr5gk.js → vcs-5qd3pb7m.js} +2 -2
- package/dist/chunks/{pty-pjedbq3k.js → vcs-5qkxfyep.js} +4 -4
- package/dist/chunks/{pty-3jd4ahw0.js → vcs-5rj8bxsq.js} +1 -1
- package/dist/chunks/vcs-5sp2ncag.js +26 -0
- package/dist/chunks/{pty-5t3nmthw.js → vcs-5t3nmthw.js} +2 -2
- package/dist/chunks/{pty-669tq793.js → vcs-669tq793.js} +1 -1
- package/dist/chunks/{pty-6h73sxmp.js → vcs-6h73sxmp.js} +1 -1
- package/dist/chunks/{pty-b27vhd2z.js → vcs-6hh8tjw2.js} +4 -4
- package/dist/chunks/{pty-q9p4606t.js → vcs-6kga2vek.js} +25 -25
- package/dist/chunks/{pty-6msgmcgs.js → vcs-6msgmcgs.js} +1 -1
- package/dist/chunks/{pty-nsvd1f8s.js → vcs-6ryx9ps2.js} +23 -23
- package/dist/chunks/{pty-ftffx8fq.js → vcs-6ta9z22m.js} +30 -30
- package/dist/chunks/{pty-1ms15p6n.js → vcs-70gcdeha.js} +30 -30
- package/dist/chunks/{pty-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-fkjaqdxa.js → vcs-7bx1v618.js} +44 -44
- package/dist/chunks/{pty-r8f2g607.js → vcs-7d8zg9gx.js} +8 -8
- package/dist/chunks/{pty-7dqw4kz8.js → vcs-7dqw4kz8.js} +1 -1
- package/dist/chunks/{pty-10ztk21w.js → vcs-7fmqyxrg.js} +6 -6
- package/dist/chunks/{pty-v9a7a4zt.js → vcs-7h67ny3t.js} +85 -85
- package/dist/chunks/{pty-dep4keqg.js → vcs-7mwckwg9.js} +27 -27
- package/dist/chunks/{pty-ba07h9gm.js → vcs-7w99qc9d.js} +3 -3
- package/dist/chunks/{pty-5p5kf06w.js → vcs-7xysjcne.js} +13 -13
- package/dist/chunks/{pty-br51nt48.js → vcs-7y8kks1y.js} +3 -3
- package/dist/chunks/{pty-zxv0wf82.js → vcs-812nv9mx.js} +6 -6
- package/dist/chunks/{pty-ps1arbjd.js → vcs-88xe3h0x.js} +34 -34
- package/dist/chunks/{pty-8d7r5vzw.js → vcs-8d7r5vzw.js} +1 -1
- package/dist/chunks/{pty-ywb2092b.js → vcs-8jrz81g3.js} +8 -8
- package/dist/chunks/{pty-fnf91rh6.js → vcs-8r5e5k2b.js} +23 -23
- package/dist/chunks/{pty-x2xsxqnt.js → vcs-8tpp31a7.js} +1 -1
- package/dist/chunks/{pty-0m1yaj0w.js → vcs-8xyxe0k6.js} +23 -23
- package/dist/chunks/{pty-tbe9f1mn.js → vcs-96a94ynr.js} +25 -25
- package/dist/chunks/{pty-znfg10s7.js → vcs-9q2xgg2a.js} +4 -4
- package/dist/chunks/{pty-w60ddt80.js → vcs-9qdxdzys.js} +17 -17
- package/dist/chunks/{pty-q8n9d2sh.js → vcs-9r3s6h1d.js} +8 -8
- package/dist/chunks/{pty-hkw89x8s.js → vcs-9satqzp7.js} +6 -6
- package/dist/chunks/{pty-y2eym35f.js → vcs-9zt3rpbx.js} +11 -11
- package/dist/chunks/{pty-w4mwq8bs.js → vcs-a4ygzzn7.js} +1 -1
- package/dist/chunks/{pty-qv3cmgwj.js → vcs-a54p35w8.js} +20 -20
- package/dist/chunks/{pty-aaet6srn.js → vcs-aaet6srn.js} +2 -2
- package/dist/chunks/{pty-crc6eftr.js → vcs-abp10mhy.js} +50 -50
- package/dist/chunks/{pty-s1vgemc7.js → vcs-akmzmx51.js} +6 -6
- package/dist/chunks/{pty-r98b7zm4.js → vcs-avdnydw5.js} +30 -30
- package/dist/chunks/{pty-mzbph88c.js → vcs-az8a6wh9.js} +43 -43
- package/dist/chunks/{pty-mm0y4phk.js → vcs-b6d70fxy.js} +2 -2
- package/dist/chunks/{pty-b6gygkdw.js → vcs-b6gygkdw.js} +2 -2
- package/dist/chunks/{pty-z8k7ba4y.js → vcs-b78gz254.js} +16 -16
- package/dist/chunks/{pty-r56jycby.js → vcs-b8ph01mp.js} +6 -6
- package/dist/chunks/vcs-ba8pdmgh.js +252 -0
- package/dist/chunks/{pty-yensex2p.js → vcs-bbcxste1.js} +145 -145
- package/dist/chunks/{pty-ndkp1pbx.js → vcs-bep0w5gt.js} +15 -15
- package/dist/chunks/{pty-30jzjac2.js → vcs-bg1f9jg4.js} +8 -8
- package/dist/chunks/{pty-24q3h2ph.js → vcs-bt6xph39.js} +9 -9
- package/dist/chunks/{pty-ryt7pzqc.js → vcs-bz85s9hh.js} +1 -1
- package/dist/chunks/{pty-mp49sbvf.js → vcs-c0f5yvkw.js} +25 -25
- package/dist/chunks/{pty-httfvynw.js → vcs-c5sgv8bh.js} +27 -27
- package/dist/chunks/{pty-7t45mvbd.js → vcs-caqaq1fh.js} +23 -23
- package/dist/chunks/{pty-58mbwdrb.js → vcs-cgqr5041.js} +17 -17
- package/dist/chunks/{pty-d4f5zm7n.js → vcs-cmapt9ge.js} +11 -11
- package/dist/chunks/{pty-04tfxcdr.js → vcs-csxdrzv8.js} +12 -12
- package/dist/chunks/{pty-5z94pt16.js → vcs-cwd41q9p.js} +11 -11
- package/dist/chunks/{pty-b23z4qnb.js → vcs-d00kjjsm.js} +7 -7
- package/dist/chunks/{pty-vcbz1vdx.js → vcs-dbbj9rpz.js} +15 -15
- package/dist/chunks/{pty-dqsgs04j.js → vcs-df2ntcbh.js} +11 -11
- package/dist/chunks/{pty-8p4f9s12.js → vcs-dj2t23y0.js} +2 -2
- package/dist/chunks/{pty-y71avatq.js → vcs-dpkg50ah.js} +4 -4
- package/dist/chunks/{pty-8yf0cvxd.js → vcs-dr8rk799.js} +7 -7
- package/dist/chunks/{pty-qqeeq2t9.js → vcs-drwq78ky.js} +7 -7
- package/dist/chunks/{pty-7zgazq3n.js → vcs-dx0dvesr.js} +29 -29
- package/dist/chunks/{pty-ks3r113m.js → vcs-ecdgphmt.js} +18 -18
- package/dist/chunks/{pty-ef5x83kb.js → vcs-ef5x83kb.js} +1 -1
- package/dist/chunks/{pty-2xtspnhm.js → vcs-emnb89zc.js} +15 -15
- package/dist/chunks/{pty-erw5rpbs.js → vcs-erw5rpbs.js} +2 -2
- package/dist/chunks/{pty-emwwjpt7.js → vcs-es4mmrw2.js} +25 -25
- package/dist/chunks/{pty-etq0c3wd.js → vcs-etq0c3wd.js} +1 -1
- package/dist/chunks/{pty-9vj1cv01.js → vcs-f003b7jf.js} +12 -12
- package/dist/chunks/{pty-fyynqrjc.js → vcs-f3dknz62.js} +46 -46
- package/dist/chunks/{pty-kk00bynn.js → vcs-f3ngv102.js} +21 -21
- package/dist/chunks/{pty-92s5ksem.js → vcs-f9hj67e2.js} +45 -45
- package/dist/chunks/{pty-vkxpz7g2.js → vcs-fab8hzt3.js} +4 -4
- package/dist/chunks/{pty-9q2chv03.js → vcs-fmrwzk15.js} +5 -5
- package/dist/chunks/{pty-ps4an3s3.js → vcs-fnrq1gfx.js} +3 -3
- package/dist/chunks/{pty-hm0swns8.js → vcs-fvmzft5f.js} +4 -4
- package/dist/chunks/{pty-fxbjtjnd.js → vcs-fxbjtjnd.js} +1 -1
- package/dist/chunks/{pty-n0m5xdp9.js → vcs-fydb8hdh.js} +12 -12
- package/dist/chunks/{pty-dgsc5ysd.js → vcs-g2y5hfts.js} +30 -30
- package/dist/chunks/{pty-whhr0qbd.js → vcs-g5fx37j3.js} +7 -7
- package/dist/chunks/{pty-125gwrbg.js → vcs-gb5fbz62.js} +20 -20
- package/dist/chunks/{pty-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-c7byg8pj.js → vcs-ghp0w54x.js} +10 -10
- package/dist/chunks/{pty-2jn1a9mb.js → vcs-gm22bbjf.js} +24 -24
- package/dist/chunks/{pty-37ea9c2d.js → vcs-gs3s1a1g.js} +8 -8
- package/dist/chunks/{pty-gv6a8nnw.js → vcs-gv6a8nnw.js} +2 -2
- package/dist/chunks/{pty-rrtzm0z5.js → vcs-h189dv89.js} +25 -25
- package/dist/chunks/{pty-4dgbcxzg.js → vcs-h6r3nrb9.js} +4 -4
- package/dist/chunks/{pty-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-q29thqgw.js → vcs-h6y08xfm.js} +6 -6
- package/dist/chunks/{pty-sf1tgbav.js → vcs-h8cmfs3y.js} +14 -14
- package/dist/chunks/{pty-wmt2jdxs.js → vcs-h9hj8dvh.js} +21 -21
- package/dist/chunks/{pty-729ex4wk.js → vcs-hae7xxqe.js} +35 -35
- package/dist/chunks/{pty-f828m53h.js → vcs-hdnk95c8.js} +2 -2
- package/dist/chunks/{pty-jsm1w6zq.js → vcs-hk0qcfr9.js} +4 -4
- package/dist/chunks/{pty-6qw955q2.js → vcs-hkezz57s.js} +5 -5
- package/dist/chunks/{pty-avm8jn6n.js → vcs-hkfg6fzm.js} +5 -5
- package/dist/chunks/{pty-hgyhsn9t.js → vcs-hngd1esa.js} +16 -16
- package/dist/chunks/{pty-pa29zzk8.js → vcs-hr8jfkms.js} +22 -22
- package/dist/chunks/{pty-ta94ydyf.js → vcs-hx4rvhe7.js} +10 -10
- package/dist/chunks/{pty-r5x6zcsm.js → vcs-j028xdjb.js} +3 -3
- package/dist/chunks/{pty-0gaj4617.js → vcs-j15mfg1p.js} +4 -4
- package/dist/chunks/{pty-ftbyp22j.js → vcs-j18p6by6.js} +31 -31
- package/dist/chunks/{pty-nq7qbqzc.js → vcs-j3s2z371.js} +9 -9
- package/dist/chunks/{pty-j56e64zr.js → vcs-j56e64zr.js} +1 -1
- package/dist/chunks/{pty-bm550x0b.js → vcs-j72e7fz8.js} +8 -8
- package/dist/chunks/{pty-d170h7tj.js → vcs-jbvv2m36.js} +16 -16
- package/dist/chunks/{pty-2vtswabk.js → vcs-jdbkxndk.js} +9 -9
- package/dist/chunks/{pty-23yqmb8f.js → vcs-jetea0vp.js} +10 -10
- package/dist/chunks/{pty-x8ssrn04.js → vcs-jgtdf2ky.js} +11 -11
- package/dist/chunks/{pty-vv67fzzf.js → vcs-jksx53dk.js} +32 -32
- package/dist/chunks/{pty-gmt621qa.js → vcs-jm1eh7vn.js} +17 -17
- package/dist/chunks/{pty-rwmws8eb.js → vcs-jwxzbpf5.js} +13 -13
- package/dist/chunks/{pty-487tjbbd.js → vcs-jz609cgm.js} +33 -33
- package/dist/chunks/{pty-81jw091s.js → vcs-k0w3k13e.js} +37 -37
- package/dist/chunks/{pty-nzks3jc8.js → vcs-k3c624dm.js} +3 -3
- package/dist/chunks/{pty-479h0rpz.js → vcs-k5ssnk24.js} +12 -12
- package/dist/chunks/{pty-bg2bzas4.js → vcs-k9avtbwf.js} +9 -9
- package/dist/chunks/{pty-sc7m4xfj.js → vcs-km3nayh5.js} +17 -17
- package/dist/chunks/{pty-zqx8wcya.js → vcs-knb7evpn.js} +4 -4
- package/dist/chunks/{pty-xk4hfm6m.js → vcs-ky36v99m.js} +11 -11
- package/dist/chunks/{pty-cfpkc3c9.js → vcs-m0jqrx5p.js} +2 -2
- package/dist/chunks/{pty-m3fdjcah.js → vcs-m3fdjcah.js} +1 -1
- package/dist/chunks/{pty-t2qsjm8j.js → vcs-m4fq2941.js} +23 -23
- package/dist/chunks/{pty-crwbn2y9.js → vcs-m7ra2w5s.js} +24 -24
- package/dist/chunks/{pty-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-56gdpj1q.js → vcs-mfqp6xfm.js} +6 -6
- package/dist/chunks/{pty-tyxp03c1.js → vcs-mhxfxc91.js} +42 -42
- package/dist/chunks/{pty-rscnw2jy.js → vcs-mpqf5yw5.js} +20 -20
- package/dist/chunks/{pty-4ptcp2em.js → vcs-nawy2c6h.js} +21 -21
- package/dist/chunks/{pty-cmkj70ft.js → vcs-nng2ktcm.js} +2 -2
- package/dist/chunks/{pty-p28j5sbe.js → vcs-p28j5sbe.js} +2 -2
- package/dist/chunks/{pty-3dvt7t1w.js → vcs-p5k1ykss.js} +75 -75
- package/dist/chunks/{pty-3ppptnan.js → vcs-p7a39gy5.js} +6 -6
- package/dist/chunks/{pty-89bb6baa.js → vcs-pakcngh0.js} +8 -8
- package/dist/chunks/{pty-ppt37g3q.js → vcs-pc0mvq6d.js} +59 -59
- package/dist/chunks/{pty-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-pknna89w.js → vcs-pknna89w.js} +1 -1
- package/dist/chunks/{pty-x7tehcsj.js → vcs-pstxsap6.js} +27 -27
- package/dist/chunks/{pty-3zgfwzda.js → vcs-pv91942f.js} +3 -3
- package/dist/chunks/{pty-1jvwysfd.js → vcs-pzn0jms3.js} +23 -23
- package/dist/chunks/{pty-2x41v6hj.js → vcs-qg6dnfrp.js} +10 -10
- package/dist/chunks/{pty-gjyhvyzk.js → vcs-qsaqrdx1.js} +11 -11
- package/dist/chunks/{pty-qsdy395h.js → vcs-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-2zqfv34k.js → vcs-qxnmhf0h.js} +28 -28
- package/dist/chunks/{pty-e15f0xpb.js → vcs-qzn4r9yc.js} +29 -29
- package/dist/chunks/{pty-h71w788e.js → vcs-r9w3djhf.js} +9 -9
- package/dist/chunks/{pty-8f1v9drm.js → vcs-rbnp9ynp.js} +32 -32
- package/dist/chunks/{pty-pkatsdp4.js → vcs-rc2k9h5j.js} +22 -22
- package/dist/chunks/{pty-rdw6cm16.js → vcs-rdw6cm16.js} +1 -1
- package/dist/chunks/{pty-dmrxm1ex.js → vcs-rffnqpzc.js} +60 -60
- package/dist/chunks/{pty-0gdmqesm.js → vcs-rhjbct0v.js} +4 -4
- package/dist/chunks/{pty-xxs85xy1.js → vcs-rtxfz5fz.js} +12 -12
- package/dist/chunks/{pty-ny05sq48.js → vcs-rtybfwtv.js} +9 -9
- package/dist/chunks/{pty-hvrxfwdm.js → vcs-sjpq2v3x.js} +13 -13
- package/dist/chunks/{pty-w9fkbwq5.js → vcs-sr0e3xdc.js} +10 -10
- package/dist/chunks/{pty-hnrh7jv9.js → vcs-srmpna97.js} +14 -14
- package/dist/chunks/{pty-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-tcezcvh9.js → vcs-tcezcvh9.js} +1 -1
- package/dist/chunks/{pty-n44333yt.js → vcs-tcfhdmjk.js} +13 -13
- package/dist/chunks/{pty-tdstcens.js → vcs-tdstcens.js} +1 -1
- package/dist/chunks/{pty-54c9gbn9.js → vcs-tk4ydb92.js} +9 -9
- package/dist/chunks/{pty-jz9w4cgt.js → vcs-tk9vbt1t.js} +9 -9
- package/dist/chunks/{pty-karrgenz.js → vcs-tr206bvd.js} +34 -34
- package/dist/chunks/{pty-tvtrv512.js → vcs-tvtrv512.js} +1 -1
- package/dist/chunks/{pty-hn57h045.js → vcs-tz4n1mmd.js} +4 -4
- package/dist/chunks/{pty-e3rw4ffc.js → vcs-v2j8ahbr.js} +1 -1
- package/dist/chunks/{pty-0mp324rf.js → vcs-v4hh2g4f.js} +11 -11
- package/dist/chunks/{pty-veqvce7d.js → vcs-veqvce7d.js} +1 -1
- package/dist/chunks/{pty-bf0ztrs3.js → vcs-vncycja5.js} +4 -4
- package/dist/chunks/{pty-72s2ce21.js → vcs-vqnj8dxw.js} +9 -9
- package/dist/chunks/{pty-vzcthcp8.js → vcs-vzcthcp8.js} +1 -1
- package/dist/chunks/{pty-67s6xyqv.js → vcs-w0173919.js} +27 -27
- package/dist/chunks/{pty-mqbat9jp.js → vcs-w170pgjs.js} +6 -6
- package/dist/chunks/{pty-j1mj860n.js → vcs-w3jg838k.js} +9 -9
- package/dist/chunks/{pty-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-aads351p.js → vcs-w6bagakh.js} +1 -1
- package/dist/chunks/{pty-5s7v9c7v.js → vcs-wa9tvrt4.js} +18 -18
- package/dist/chunks/{pty-s6ymxyzv.js → vcs-wad31dta.js} +6 -6
- package/dist/chunks/{pty-wd87259q.js → vcs-wd87259q.js} +1 -1
- package/dist/chunks/{pty-57e9z27j.js → vcs-wh3mwy9y.js} +8 -8
- package/dist/chunks/{pty-v5g0yskm.js → vcs-wmgzx6be.js} +2 -2
- package/dist/chunks/{pty-94ycm6fd.js → vcs-wnjpenje.js} +12 -12
- package/dist/chunks/{pty-wjv0bjkz.js → vcs-wrgbtw9m.js} +27 -27
- package/dist/chunks/{pty-x1ezjp6w.js → vcs-x1ezjp6w.js} +1 -1
- package/dist/chunks/{pty-ke2bgdcy.js → vcs-x5whvs7g.js} +13 -13
- package/dist/chunks/{pty-bc62gbf5.js → vcs-x7pnhj05.js} +17 -17
- package/dist/chunks/{pty-rz6pad5v.js → vcs-xa75ctwz.js} +28 -28
- package/dist/chunks/{pty-t3gyxbgb.js → vcs-xm8y3y9s.js} +17 -17
- package/dist/chunks/{pty-2w9fymad.js → vcs-xn3k6s4r.js} +18 -18
- package/dist/chunks/{pty-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-2k0605zp.js → vcs-ya6x4a7c.js} +42 -42
- package/dist/chunks/{pty-h5prsy26.js → vcs-ycnz6d4p.js} +13 -13
- package/dist/chunks/{pty-79wtkhdx.js → vcs-yfdygd1b.js} +41 -41
- package/dist/chunks/{pty-510m7gjw.js → vcs-yjptyezs.js} +5 -5
- package/dist/chunks/{pty-1acjjqhc.js → vcs-yp2x3t23.js} +4 -4
- package/dist/chunks/{pty-p6d074gg.js → vcs-yq9bb241.js} +13 -13
- package/dist/chunks/{pty-yrhqyw5v.js → vcs-yrhqyw5v.js} +1 -1
- package/dist/chunks/{pty-abb4bxme.js → vcs-yrwszt74.js} +26 -26
- package/dist/chunks/{pty-s4enseaf.js → vcs-yrznvahk.js} +2 -2
- package/dist/chunks/{pty-8tsdq50x.js → vcs-z0aj456m.js} +4 -4
- package/dist/chunks/{pty-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
- package/dist/chunks/{pty-8qh6anns.js → vcs-z2qvtray.js} +6 -6
- package/dist/chunks/{pty-6mwr1jqd.js → vcs-z5cw6b3r.js} +15 -15
- package/dist/chunks/{pty-29x78va6.js → vcs-z63w68vq.js} +6 -6
- package/dist/chunks/{pty-56c3q4gh.js → vcs-z6xvyrz8.js} +2 -2
- package/dist/chunks/{pty-xnbn90dq.js → vcs-z9e3n7tj.js} +17 -17
- package/dist/chunks/{pty-qygprnkz.js → vcs-zcdeq6ts.js} +14 -14
- package/dist/chunks/{pty-zeh9ct20.js → vcs-zeh9ct20.js} +2 -2
- package/dist/chunks/{pty-ymeqjvqr.js → vcs-zg80xw90.js} +311 -311
- package/dist/chunks/{pty-sd0vhpay.js → vcs-zgs7zzqg.js} +95 -95
- package/dist/chunks/{pty-9y446jqg.js → vcs-zhk3mejr.js} +11 -11
- package/dist/chunks/{pty-y67gsgy6.js → vcs-zj09a0ew.js} +4 -4
- package/dist/chunks/{pty-zr2ceqn5.js → vcs-zr2ceqn5.js} +1 -1
- package/dist/chunks/{pty-s7q0bjyb.js → vcs-zvkdwvzy.js} +13 -13
- package/dist/chunks/{pty-zxq2ej10.js → vcs-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- 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 +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- 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 +129 -129
- 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 +76 -76
- package/dist/database/database.js +69 -69
- 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 +78 -78
- 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 +73 -73
- 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 +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +105 -105
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +100 -100
- 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 +90 -90
- 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 +78 -78
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +81 -81
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- 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 +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +74 -74
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +95 -95
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- 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 +3 -3
- 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 +2 -2
- 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 +91 -91
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +94 -94
- 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 +97 -97
- package/dist/reference/instructions.js +84 -84
- 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 +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- 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 +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- 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 +169 -169
- 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 +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +11 -11
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +92 -92
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +117 -117
- 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 +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +115 -115
- package/dist/tool/read-filesystem.js +99 -99
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- 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 +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/pty-ffgm1r5f.js +0 -26
- package/dist/chunks/pty-v1faaxn9.js +0 -18
- package/dist/chunks/pty-wh560a5b.js +0 -252
- package/dist/chunks/pty-xrsqh21y.js +0 -4
- /package/dist/chunks/{pty-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-24dcb14g.js → vcs-24dcb14g.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → vcs-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → vcs-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → vcs-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3w5fmr99.js → vcs-3w5fmr99.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → vcs-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → vcs-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → vcs-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → vcs-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → vcs-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → vcs-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-922hggd3.js → vcs-922hggd3.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → vcs-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → vcs-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → vcs-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → vcs-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → vcs-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → vcs-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → vcs-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-ec1grn59.js → vcs-ec1grn59.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → vcs-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → vcs-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-fxgpk5d8.js → vcs-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → vcs-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-gftt206x.js → vcs-gftt206x.js} +0 -0
- /package/dist/chunks/{pty-hjbc5kem.js → vcs-hjbc5kem.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → vcs-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jjkms2e6.js → vcs-jjkms2e6.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → vcs-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → vcs-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → vcs-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qg3g05ea.js → vcs-qg3g05ea.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-sk3qaz4a.js → vcs-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-twg0f83k.js → vcs-twg0f83k.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → vcs-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wc3fc9cn.js → vcs-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → vcs-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → vcs-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → vcs-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8cydn3q.js → vcs-y8cydn3q.js} +0 -0
- /package/dist/chunks/{pty-y8f7s663.js → vcs-y8f7s663.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-ym463w8f.js → vcs-ym463w8f.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → vcs-z9919s4g.js} +0 -0
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service54
|
|
7
|
+
} from "./vcs-ya6x4a7c.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service56
|
|
13
|
+
} from "./vcs-gm22bbjf.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service42
|
|
16
|
+
} from "./vcs-cgqr5041.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service66
|
|
19
|
+
} from "./vcs-rffnqpzc.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service65,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./vcs-wa9tvrt4.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./vcs-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service50,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./vcs-xm8y3y9s.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError5,
|
|
36
|
+
Service40
|
|
37
|
+
} from "./vcs-abp10mhy.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service20
|
|
40
|
+
} from "./vcs-zgs7zzqg.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./vcs-2ketmxte.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./vcs-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell2 = {};
|
|
50
|
+
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input6,
|
|
53
|
+
Plugin: () => Plugin41,
|
|
54
|
+
ShellTool: () => exports_shell2,
|
|
55
|
+
name: () => name6
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name6 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input6 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin41 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service20;
|
|
122
|
+
const jobs = yield* Service42;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service56;
|
|
125
|
+
const access = yield* Service65;
|
|
126
|
+
const shell = yield* Service40;
|
|
127
|
+
const shellSelect = yield* Service50;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service66;
|
|
130
|
+
const config = yield* Service54;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin3 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name6,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin3 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name6,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input6,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin3 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError5({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name6,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
const hook = (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name6];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
260
260
|
})
|
|
261
261
|
};
|
|
262
262
|
|
|
263
|
-
export {
|
|
263
|
+
export { name6, DEFAULT_TIMEOUT_MS2, Input6, Plugin41, exports_shell2 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
6
|
+
var exports_permission = {};
|
|
7
|
+
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
|
-
ConfigPermissionV1: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ConfigPermissionV1: () => exports_permission,
|
|
10
|
+
Info: () => Info18,
|
|
11
11
|
Object: () => Object2,
|
|
12
|
-
Rule: () =>
|
|
12
|
+
Rule: () => Rule2
|
|
13
13
|
});
|
|
14
14
|
import { Schema, SchemaGetter } from "effect";
|
|
15
15
|
var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
|
|
16
16
|
var Object2 = Schema.Record(Schema.String, Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
17
|
-
var
|
|
17
|
+
var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
18
18
|
var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
19
|
-
read: Schema.optional(
|
|
20
|
-
edit: Schema.optional(
|
|
21
|
-
glob: Schema.optional(
|
|
22
|
-
grep: Schema.optional(
|
|
23
|
-
list: Schema.optional(
|
|
24
|
-
bash: Schema.optional(
|
|
25
|
-
task: Schema.optional(
|
|
26
|
-
external_directory: Schema.optional(
|
|
19
|
+
read: Schema.optional(Rule2),
|
|
20
|
+
edit: Schema.optional(Rule2),
|
|
21
|
+
glob: Schema.optional(Rule2),
|
|
22
|
+
grep: Schema.optional(Rule2),
|
|
23
|
+
list: Schema.optional(Rule2),
|
|
24
|
+
bash: Schema.optional(Rule2),
|
|
25
|
+
task: Schema.optional(Rule2),
|
|
26
|
+
external_directory: Schema.optional(Rule2),
|
|
27
27
|
question: Schema.optional(Action2),
|
|
28
|
-
webfetch: Schema.optional(
|
|
28
|
+
webfetch: Schema.optional(Rule2),
|
|
29
29
|
websearch: Schema.optional(Action2),
|
|
30
|
-
lsp: Schema.optional(
|
|
30
|
+
lsp: Schema.optional(Rule2),
|
|
31
31
|
doom_loop: Schema.optional(Action2),
|
|
32
|
-
skill: Schema.optional(
|
|
33
|
-
}), [Schema.Record(Schema.String,
|
|
32
|
+
skill: Schema.optional(Rule2)
|
|
33
|
+
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info18 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info18, exports_permission };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service81,
|
|
6
|
+
node85
|
|
7
|
+
} from "./vcs-b78gz254.js";
|
|
8
8
|
import {
|
|
9
9
|
Event19,
|
|
10
10
|
Service75,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node78
|
|
12
|
+
} from "./vcs-x7pnhj05.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service78,
|
|
15
|
+
node82
|
|
16
|
+
} from "./vcs-hngd1esa.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service56,
|
|
19
|
+
node58
|
|
20
|
+
} from "./vcs-gm22bbjf.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID16,
|
|
23
|
+
Service77,
|
|
24
|
+
node81
|
|
25
|
+
} from "./vcs-pzn0jms3.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./vcs-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
31
|
ID14,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
33
|
+
Service74,
|
|
34
34
|
node77
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./vcs-2amj1e7d.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./vcs-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError4,
|
|
45
|
+
Options: () => Options3,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service32,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
57
|
-
layer: () =>
|
|
58
|
-
node: () =>
|
|
56
|
+
configured: () => configured3,
|
|
57
|
+
layer: () => layer13,
|
|
58
|
+
node: () => node35
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
74
74
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
75
75
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
78
78
|
server: ServerName2
|
|
79
79
|
}) {
|
|
80
80
|
get message() {
|
|
@@ -93,20 +93,20 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
93
93
|
var endpointLoads = makeUnsafe2();
|
|
94
94
|
var cloneConfig = (config) => structuredClone(config);
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service32 extends Context.Service()("@opencode/MCP") {
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var Options3 = Schema.Struct({
|
|
99
99
|
clientInfo: Schema.optional(Schema.Struct({
|
|
100
100
|
name: Schema.String,
|
|
101
101
|
version: Schema.String
|
|
102
102
|
}))
|
|
103
103
|
});
|
|
104
|
-
var
|
|
105
|
-
const location = yield*
|
|
106
|
-
const environment = yield*
|
|
107
|
-
const bus = yield*
|
|
108
|
-
const forms = yield*
|
|
109
|
-
const integration = yield*
|
|
104
|
+
var layer13 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
105
|
+
const location = yield* Service78;
|
|
106
|
+
const environment = yield* Service56;
|
|
107
|
+
const bus = yield* Service81;
|
|
108
|
+
const forms = yield* Service77;
|
|
109
|
+
const integration = yield* Service74;
|
|
110
110
|
const credentials = yield* Service75;
|
|
111
111
|
const root = yield* Effect.scope;
|
|
112
112
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -144,7 +144,7 @@ var layer10 = (options) => Layer.effect(Service25, Effect.gen(function* () {
|
|
|
144
144
|
const name = ServerName2.make(server);
|
|
145
145
|
const entry = entries.get(name);
|
|
146
146
|
if (!entry)
|
|
147
|
-
return yield* new
|
|
147
|
+
return yield* new NotFoundError4({ server: name });
|
|
148
148
|
return { name, entry };
|
|
149
149
|
});
|
|
150
150
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
@@ -156,7 +156,7 @@ var layer10 = (options) => Layer.effect(Service25, Effect.gen(function* () {
|
|
|
156
156
|
const elicitation = {
|
|
157
157
|
create: (input) => Effect.gen(function* () {
|
|
158
158
|
if (input.params.mode === "url") {
|
|
159
|
-
const formID =
|
|
159
|
+
const formID = ID16.create();
|
|
160
160
|
const elicitationID = input.params.elicitationId;
|
|
161
161
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
162
162
|
if (key)
|
|
@@ -240,7 +240,7 @@ var layer10 = (options) => Layer.effect(Service25, Effect.gen(function* () {
|
|
|
240
240
|
entry.scope = scope;
|
|
241
241
|
const authProvider = yield* connectProvider(entry);
|
|
242
242
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
243
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
243
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service56, environment), Scope.provide(scope));
|
|
244
244
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
245
245
|
if (Exit.isSuccess(result)) {
|
|
246
246
|
entry.client = result.value.connection;
|
|
@@ -391,7 +391,7 @@ var layer10 = (options) => Layer.effect(Service25, Effect.gen(function* () {
|
|
|
391
391
|
}),
|
|
392
392
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
393
393
|
});
|
|
394
|
-
return
|
|
394
|
+
return Service32.of({
|
|
395
395
|
transform: state.transform,
|
|
396
396
|
reload: state.reload,
|
|
397
397
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -510,14 +510,14 @@ var layer10 = (options) => Layer.effect(Service25, Effect.gen(function* () {
|
|
|
510
510
|
})
|
|
511
511
|
});
|
|
512
512
|
}));
|
|
513
|
-
function
|
|
513
|
+
function configured3(options) {
|
|
514
514
|
return makeLocationNode({
|
|
515
|
-
service:
|
|
516
|
-
layer:
|
|
517
|
-
deps: [
|
|
515
|
+
service: Service32,
|
|
516
|
+
layer: layer13(options),
|
|
517
|
+
deps: [node82, node58, node85, node81, node77, node78]
|
|
518
518
|
});
|
|
519
519
|
}
|
|
520
|
-
var
|
|
520
|
+
var node35 = configured3();
|
|
521
521
|
function toElicitationField(key, property, required) {
|
|
522
522
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
523
523
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -568,4 +568,4 @@ function toElicitationField(key, property, required) {
|
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
570
|
|
|
571
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
571
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service32, Options3, layer13, configured3, node35, exports_mcp4 };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-rhjbct0v.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-5c4hm403.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./vcs-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./vcs-w6bagakh.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
|
-
|
|
9
|
+
make22,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-9satqzp7.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
|
|
|
22
22
|
EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
|
|
23
23
|
EffectSQLiteSession: () => EffectSQLiteSession2,
|
|
24
24
|
EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
|
|
25
|
-
make: () =>
|
|
25
|
+
make: () => make22,
|
|
26
26
|
makeWithDefaults: () => makeWithDefaults2,
|
|
27
27
|
managesTransactionsNatively: () => managesTransactionsNatively2
|
|
28
28
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-pstxsap6.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-h6y08xfm.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2,
|
|
4
4
|
UserInterruptedError2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./vcs-k9avtbwf.js";
|
|
6
6
|
import {
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-rffnqpzc.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-2amj1e7d.js";
|
|
12
12
|
import {
|
|
13
13
|
ModelNotSelectedError2,
|
|
14
14
|
ModelUnavailableError2,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
ModelInitializationError2,
|
|
19
19
|
UnresolvedProviderVariablesError2,
|
|
20
20
|
UnsupportedCompactionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./vcs-tcfhdmjk.js";
|
|
22
22
|
|
|
23
23
|
// src/session/to-session-error.ts
|
|
24
24
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-pstxsap6.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service54
|
|
8
|
+
} from "./vcs-ya6x4a7c.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
resolve4
|
|
11
|
+
} from "./vcs-w170pgjs.js";
|
|
12
12
|
import {
|
|
13
13
|
observe2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-qsdy395h.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./vcs-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/config/plugin/provider.ts
|
|
20
20
|
var exports_provider = {};
|
|
21
21
|
__export(exports_provider, {
|
|
22
22
|
ConfigProviderPlugin: () => exports_provider,
|
|
23
|
-
Plugin: () =>
|
|
23
|
+
Plugin: () => Plugin3
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Money } from "@opencode/schema/money";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
|
-
var
|
|
28
|
+
var Plugin3 = define({
|
|
29
29
|
id: "opencode.config.provider",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
|
-
const config = yield*
|
|
31
|
+
const config = yield* Service54;
|
|
32
32
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
33
33
|
yield* ctx.integration.transform((integrations) => {
|
|
34
34
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -177,7 +177,7 @@ var Plugin22 = define({
|
|
|
177
177
|
if (config.variants === undefined && !source?.base)
|
|
178
178
|
models.update(providerID, id, (model) => {
|
|
179
179
|
model.variants = [
|
|
180
|
-
...
|
|
180
|
+
...resolve4({
|
|
181
181
|
...model,
|
|
182
182
|
package: model.package ?? models.provider.get(providerID)?.provider.package
|
|
183
183
|
})
|
|
@@ -192,4 +192,4 @@ function configuredProviders(entries) {
|
|
|
192
192
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
export {
|
|
195
|
+
export { Plugin3, exports_provider };
|