@opencode/core 0.0.0-dev-19934 → 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 +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 +72 -72
- package/dist/chunks/{persistent-pty-06dxphr1.js → vcs-06dxphr1.js} +1 -1
- package/dist/chunks/{persistent-pty-gb9jw3zf.js → vcs-06h4x05t.js} +6 -6
- package/dist/chunks/{persistent-pty-jcz9anth.js → vcs-0eaen06d.js} +47 -47
- package/dist/chunks/{persistent-pty-8hz3g5y0.js → vcs-0ekmhm49.js} +19 -19
- package/dist/chunks/{persistent-pty-deq2z4hf.js → vcs-0f2p0cnd.js} +3 -3
- package/dist/chunks/{persistent-pty-x5x7kcgs.js → vcs-0h9cdpmt.js} +15 -15
- package/dist/chunks/{persistent-pty-sqdxss6w.js → vcs-0hy412gj.js} +9 -9
- package/dist/chunks/{persistent-pty-d0fsejzd.js → vcs-0jvye1j3.js} +31 -31
- package/dist/chunks/{persistent-pty-0paq2nw3.js → vcs-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-0q0f95c6.js → vcs-0q0f95c6.js} +1 -1
- package/dist/chunks/{persistent-pty-61h0qsnp.js → vcs-0x71c255.js} +10 -10
- package/dist/chunks/{persistent-pty-82ahnwkf.js → vcs-1129d28p.js} +20 -20
- package/dist/chunks/{persistent-pty-qw85ht6d.js → vcs-14b7wbmv.js} +33 -33
- package/dist/chunks/{persistent-pty-p4a5cx5p.js → vcs-16p9b2hb.js} +14 -14
- package/dist/chunks/{persistent-pty-ysfwx83j.js → vcs-19k94sh9.js} +6 -6
- package/dist/chunks/{persistent-pty-1dazxqgg.js → vcs-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-e84rd1xk.js → vcs-1earv0bc.js} +24 -24
- package/dist/chunks/{persistent-pty-xjbekv6e.js → vcs-1ev0r8qr.js} +14 -14
- package/dist/chunks/{persistent-pty-68tggvtb.js → vcs-1g3fsypj.js} +9 -9
- package/dist/chunks/{persistent-pty-cv5frkqy.js → vcs-1nb1b4r0.js} +1 -1
- package/dist/chunks/{persistent-pty-nqyhrfcc.js → vcs-1rmaqtrx.js} +4 -4
- package/dist/chunks/{persistent-pty-ab8cnxkj.js → vcs-1v6wmkfd.js} +5 -5
- package/dist/chunks/{persistent-pty-21r38tys.js → vcs-21r38tys.js} +1 -1
- package/dist/chunks/{persistent-pty-mfs5sj5t.js → vcs-29pcd0xy.js} +9 -9
- package/dist/chunks/{persistent-pty-2a5m3afh.js → vcs-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-jsqr29s7.js → vcs-2amj1e7d.js} +26 -26
- package/dist/chunks/{persistent-pty-k6w2t1ya.js → vcs-2ketmxte.js} +4 -4
- package/dist/chunks/{persistent-pty-71vt42kc.js → vcs-2mpk35kb.js} +3 -3
- package/dist/chunks/{persistent-pty-qr405v0d.js → vcs-2pe4qx6f.js} +6 -6
- package/dist/chunks/{persistent-pty-3fs6smyb.js → vcs-2y4j37hv.js} +11 -11
- package/dist/chunks/{persistent-pty-xjebcb6c.js → vcs-2zh6qkk0.js} +7 -7
- package/dist/chunks/{persistent-pty-6p5ms1em.js → vcs-39zd88tj.js} +21 -21
- package/dist/chunks/{persistent-pty-7fmgbjr3.js → vcs-3b9j3znx.js} +9 -9
- package/dist/chunks/{persistent-pty-3w0fmcng.js → vcs-3cfzdc8e.js} +5 -5
- package/dist/chunks/{persistent-pty-3fc6dm20.js → vcs-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-sz24j28z.js → vcs-3gz6fvbw.js} +17 -17
- package/dist/chunks/{persistent-pty-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-br0tr5aq.js → vcs-3hfr6h8q.js} +8 -8
- package/dist/chunks/{persistent-pty-brg56pc6.js → vcs-3kkapxkb.js} +30 -30
- package/dist/chunks/{persistent-pty-6n88yxkj.js → vcs-3pbjq009.js} +8 -8
- package/dist/chunks/{persistent-pty-e8qyrgb1.js → vcs-3qaj82j9.js} +5 -5
- package/dist/chunks/{persistent-pty-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-4z7tbtat.js → vcs-3v5p2af4.js} +6 -6
- package/dist/chunks/{persistent-pty-69cccy7z.js → vcs-3zssdy64.js} +16 -16
- package/dist/chunks/{persistent-pty-yqz4sd6t.js → vcs-4327cfd7.js} +8 -8
- package/dist/chunks/{persistent-pty-0akym11d.js → vcs-47b46ckc.js} +16 -16
- package/dist/chunks/{persistent-pty-kftvnv3j.js → vcs-4dq7w5d5.js} +22 -22
- package/dist/chunks/{persistent-pty-w18y63wv.js → vcs-4e3rb2jf.js} +23 -23
- package/dist/chunks/{persistent-pty-wngp58at.js → vcs-4ezb7q2p.js} +24 -24
- package/dist/chunks/{persistent-pty-1g2zd6q9.js → vcs-4sgj07f0.js} +3 -3
- package/dist/chunks/{persistent-pty-t71v2ka4.js → vcs-4v4bfvma.js} +5 -5
- package/dist/chunks/vcs-4v7qdvcn.js +18 -0
- package/dist/chunks/{persistent-pty-tvtydw96.js → vcs-51b2bmqd.js} +40 -40
- package/dist/chunks/{persistent-pty-cwtvnkts.js → vcs-51sx1yec.js} +9 -9
- package/dist/chunks/{persistent-pty-0ke265bw.js → vcs-57ez7d0k.js} +5 -5
- package/dist/chunks/{persistent-pty-td55jj2j.js → vcs-5b4qx53s.js} +17 -17
- package/dist/chunks/{persistent-pty-5c4hm403.js → vcs-5c4hm403.js} +3 -3
- package/dist/chunks/{persistent-pty-d4he2qe1.js → vcs-5d607bsg.js} +9 -9
- package/dist/chunks/{persistent-pty-5daktx2q.js → vcs-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-jfcm29bp.js → vcs-5pfc8d83.js} +4 -4
- package/dist/chunks/{persistent-pty-2y34zzjz.js → vcs-5qkxfyep.js} +4 -4
- package/dist/chunks/{persistent-pty-9c77jpjf.js → vcs-5rj8bxsq.js} +1 -1
- package/dist/chunks/vcs-5sp2ncag.js +26 -0
- package/dist/chunks/{persistent-pty-5t3nmthw.js → vcs-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-669tq793.js → vcs-669tq793.js} +1 -1
- package/dist/chunks/{persistent-pty-2402vzrj.js → vcs-6h73sxmp.js} +5 -5
- package/dist/chunks/{persistent-pty-b27vhd2z.js → vcs-6hh8tjw2.js} +4 -4
- package/dist/chunks/{persistent-pty-2wzrjk5c.js → vcs-6kga2vek.js} +30 -30
- package/dist/chunks/{persistent-pty-6msgmcgs.js → vcs-6msgmcgs.js} +1 -1
- package/dist/chunks/{persistent-pty-ffw5jcp2.js → vcs-6ryx9ps2.js} +18 -18
- package/dist/chunks/{persistent-pty-6zthmp17.js → vcs-6ta9z22m.js} +30 -30
- package/dist/chunks/{persistent-pty-grhxn6he.js → vcs-70gcdeha.js} +24 -24
- package/dist/chunks/{persistent-pty-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-9tx45s8b.js → vcs-7bx1v618.js} +40 -40
- package/dist/chunks/{persistent-pty-w65z2jz3.js → vcs-7d8zg9gx.js} +8 -8
- package/dist/chunks/{persistent-pty-2k8khapm.js → vcs-7dqw4kz8.js} +5 -5
- package/dist/chunks/{persistent-pty-8y3s9r1h.js → vcs-7fmqyxrg.js} +6 -6
- package/dist/chunks/{persistent-pty-mnaz46m9.js → vcs-7h67ny3t.js} +75 -75
- package/dist/chunks/{persistent-pty-de5mzfxd.js → vcs-7mwckwg9.js} +29 -29
- package/dist/chunks/{persistent-pty-jexxy024.js → vcs-7w99qc9d.js} +3 -3
- package/dist/chunks/{persistent-pty-4vdcjjmt.js → vcs-7xysjcne.js} +9 -9
- package/dist/chunks/{persistent-pty-5rfwsh5d.js → vcs-7y8kks1y.js} +3 -3
- package/dist/chunks/{persistent-pty-6p7zr8ep.js → vcs-812nv9mx.js} +3 -3
- package/dist/chunks/{persistent-pty-qc5y93g2.js → vcs-88xe3h0x.js} +34 -34
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → vcs-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-1p0trksj.js → vcs-8jrz81g3.js} +6 -6
- package/dist/chunks/{persistent-pty-63mpdmm6.js → vcs-8r5e5k2b.js} +32 -32
- package/dist/chunks/{persistent-pty-vcdb3gbk.js → vcs-8tpp31a7.js} +1 -1
- package/dist/chunks/{persistent-pty-z52a6mw5.js → vcs-8xyxe0k6.js} +20 -20
- package/dist/chunks/{persistent-pty-v4px02z6.js → vcs-96a94ynr.js} +25 -25
- package/dist/chunks/{persistent-pty-edwvx061.js → vcs-9q2xgg2a.js} +4 -4
- package/dist/chunks/{persistent-pty-0zkrmmra.js → vcs-9qdxdzys.js} +13 -13
- package/dist/chunks/{persistent-pty-r72bb3g5.js → vcs-9r3s6h1d.js} +6 -6
- package/dist/chunks/{persistent-pty-x38sqvf4.js → vcs-9satqzp7.js} +3 -3
- package/dist/chunks/{persistent-pty-4113bgx8.js → vcs-9zt3rpbx.js} +9 -9
- package/dist/chunks/{persistent-pty-2ym62d1y.js → vcs-a4ygzzn7.js} +1 -1
- package/dist/chunks/{persistent-pty-3gs18der.js → vcs-a54p35w8.js} +22 -22
- package/dist/chunks/{persistent-pty-aaet6srn.js → vcs-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-nyacxbzj.js → vcs-abp10mhy.js} +42 -42
- package/dist/chunks/{persistent-pty-qdwxcfza.js → vcs-akmzmx51.js} +9 -9
- package/dist/chunks/{persistent-pty-13f6jh0f.js → vcs-avdnydw5.js} +25 -25
- package/dist/chunks/{persistent-pty-t808dn5w.js → vcs-az8a6wh9.js} +40 -40
- package/dist/chunks/{persistent-pty-r5zvm12r.js → vcs-b6d70fxy.js} +2 -2
- package/dist/chunks/{persistent-pty-b6gygkdw.js → vcs-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-4e13r3ts.js → vcs-b78gz254.js} +16 -16
- package/dist/chunks/{persistent-pty-s8cev9wy.js → vcs-b8ph01mp.js} +3 -3
- package/dist/chunks/vcs-ba8pdmgh.js +252 -0
- package/dist/chunks/{persistent-pty-p513dnzd.js → vcs-bbcxste1.js} +120 -120
- package/dist/chunks/{persistent-pty-hds23wzw.js → vcs-bep0w5gt.js} +16 -16
- package/dist/chunks/{persistent-pty-dk2em0p3.js → vcs-bg1f9jg4.js} +8 -8
- package/dist/chunks/{persistent-pty-jsx9wcxe.js → vcs-bt6xph39.js} +9 -9
- package/dist/chunks/{persistent-pty-bz85s9hh.js → vcs-bz85s9hh.js} +1 -1
- package/dist/chunks/{persistent-pty-wk2ay995.js → vcs-c0f5yvkw.js} +28 -28
- package/dist/chunks/{persistent-pty-6tr59r50.js → vcs-c5sgv8bh.js} +20 -20
- package/dist/chunks/{persistent-pty-hq654dja.js → vcs-caqaq1fh.js} +22 -22
- package/dist/chunks/{persistent-pty-9h0hyds4.js → vcs-cgqr5041.js} +17 -17
- package/dist/chunks/{persistent-pty-jtwa0aj6.js → vcs-cmapt9ge.js} +15 -15
- package/dist/chunks/{persistent-pty-2gbsvbx5.js → vcs-csxdrzv8.js} +12 -12
- package/dist/chunks/{persistent-pty-jpxb4059.js → vcs-cwd41q9p.js} +7 -7
- package/dist/chunks/{persistent-pty-twca9fjq.js → vcs-d00kjjsm.js} +7 -7
- package/dist/chunks/{persistent-pty-b7r080c3.js → vcs-dbbj9rpz.js} +11 -11
- package/dist/chunks/{persistent-pty-ytpw4txd.js → vcs-df2ntcbh.js} +9 -9
- package/dist/chunks/{persistent-pty-dj2t23y0.js → vcs-dj2t23y0.js} +2 -2
- package/dist/chunks/{persistent-pty-dpkg50ah.js → vcs-dpkg50ah.js} +1 -1
- package/dist/chunks/{persistent-pty-2rnnjxth.js → vcs-dr8rk799.js} +5 -5
- package/dist/chunks/{persistent-pty-xfkkasph.js → vcs-drwq78ky.js} +4 -4
- package/dist/chunks/{persistent-pty-kfgf5fep.js → vcs-dx0dvesr.js} +20 -20
- package/dist/chunks/{persistent-pty-6vrsc7tt.js → vcs-ecdgphmt.js} +18 -18
- package/dist/chunks/{persistent-pty-ef5x83kb.js → vcs-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-t4nhm12y.js → vcs-emnb89zc.js} +11 -11
- package/dist/chunks/{persistent-pty-erw5rpbs.js → vcs-erw5rpbs.js} +2 -2
- package/dist/chunks/{persistent-pty-nm55ymfc.js → vcs-es4mmrw2.js} +22 -22
- package/dist/chunks/{persistent-pty-etq0c3wd.js → vcs-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-qt5mdn6g.js → vcs-f003b7jf.js} +12 -12
- package/dist/chunks/{persistent-pty-j9vp638d.js → vcs-f3dknz62.js} +33 -33
- package/dist/chunks/{persistent-pty-k2h4r4s0.js → vcs-f3ngv102.js} +4 -4
- package/dist/chunks/{persistent-pty-qryrftmh.js → vcs-f9hj67e2.js} +31 -31
- package/dist/chunks/{persistent-pty-gnx4ytbv.js → vcs-fab8hzt3.js} +4 -4
- package/dist/chunks/{persistent-pty-r4wc6fxm.js → vcs-fmrwzk15.js} +3 -3
- package/dist/chunks/{persistent-pty-fwft7q1r.js → vcs-fnrq1gfx.js} +3 -3
- package/dist/chunks/{persistent-pty-0rqdjtcb.js → vcs-fvmzft5f.js} +4 -4
- package/dist/chunks/{persistent-pty-fxbjtjnd.js → vcs-fxbjtjnd.js} +1 -1
- package/dist/chunks/{persistent-pty-57sn279e.js → vcs-fydb8hdh.js} +10 -10
- package/dist/chunks/{persistent-pty-26v7198b.js → vcs-g2y5hfts.js} +25 -25
- package/dist/chunks/{persistent-pty-ace40s22.js → vcs-g5fx37j3.js} +7 -7
- package/dist/chunks/{persistent-pty-jdvrzx2t.js → vcs-gb5fbz62.js} +13 -13
- package/dist/chunks/{persistent-pty-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-jzphxtev.js → vcs-ghp0w54x.js} +8 -8
- package/dist/chunks/{persistent-pty-4pxrwfad.js → vcs-gm22bbjf.js} +21 -21
- package/dist/chunks/{persistent-pty-k1gkpfdk.js → vcs-gs3s1a1g.js} +7 -7
- package/dist/chunks/{persistent-pty-gv6a8nnw.js → vcs-gv6a8nnw.js} +2 -2
- package/dist/chunks/{persistent-pty-5531r29v.js → vcs-h189dv89.js} +19 -19
- package/dist/chunks/{persistent-pty-h6r3nrb9.js → vcs-h6r3nrb9.js} +1 -1
- package/dist/chunks/{persistent-pty-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-mbgq0mmx.js → vcs-h6y08xfm.js} +4 -4
- package/dist/chunks/{persistent-pty-bsgfsq91.js → vcs-h8cmfs3y.js} +12 -12
- package/dist/chunks/{persistent-pty-90y57r1y.js → vcs-h9hj8dvh.js} +16 -16
- package/dist/chunks/{persistent-pty-tnasdg6y.js → vcs-hae7xxqe.js} +33 -33
- package/dist/chunks/{persistent-pty-hdnk95c8.js → vcs-hdnk95c8.js} +2 -2
- package/dist/chunks/{persistent-pty-q8pxfdwq.js → vcs-hk0qcfr9.js} +4 -4
- package/dist/chunks/{persistent-pty-ytqvkck2.js → vcs-hkezz57s.js} +5 -5
- package/dist/chunks/{persistent-pty-yt0fqk68.js → vcs-hkfg6fzm.js} +5 -5
- package/dist/chunks/{persistent-pty-n4j23rry.js → vcs-hngd1esa.js} +2 -2
- package/dist/chunks/{persistent-pty-xcrk435t.js → vcs-hr8jfkms.js} +20 -20
- package/dist/chunks/{persistent-pty-431eg44t.js → vcs-hx4rvhe7.js} +6 -6
- package/dist/chunks/{persistent-pty-mvfsc1pv.js → vcs-j028xdjb.js} +3 -3
- package/dist/chunks/{persistent-pty-fvanntqq.js → vcs-j15mfg1p.js} +4 -4
- package/dist/chunks/{persistent-pty-s9ax1raf.js → vcs-j18p6by6.js} +31 -31
- package/dist/chunks/{persistent-pty-m2d0j7c0.js → vcs-j3s2z371.js} +9 -9
- package/dist/chunks/{persistent-pty-j56e64zr.js → vcs-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-n36xcpgr.js → vcs-j72e7fz8.js} +6 -6
- package/dist/chunks/{persistent-pty-4kg54np8.js → vcs-jbvv2m36.js} +16 -16
- package/dist/chunks/{persistent-pty-fsy2n4n3.js → vcs-jdbkxndk.js} +7 -7
- package/dist/chunks/{persistent-pty-rya495mf.js → vcs-jetea0vp.js} +11 -11
- package/dist/chunks/{persistent-pty-r449bwkw.js → vcs-jgtdf2ky.js} +9 -9
- package/dist/chunks/{persistent-pty-rvt9ga0f.js → vcs-jksx53dk.js} +29 -29
- package/dist/chunks/{persistent-pty-gxr7q3nf.js → vcs-jm1eh7vn.js} +22 -22
- package/dist/chunks/{persistent-pty-1ev3hptz.js → vcs-jwxzbpf5.js} +13 -13
- package/dist/chunks/{persistent-pty-ta417yjh.js → vcs-jz609cgm.js} +26 -26
- package/dist/chunks/{persistent-pty-vmnj2x1v.js → vcs-k0w3k13e.js} +26 -26
- package/dist/chunks/{persistent-pty-k3c624dm.js → vcs-k3c624dm.js} +3 -3
- package/dist/chunks/{persistent-pty-hv2snex1.js → vcs-k5ssnk24.js} +10 -10
- package/dist/chunks/{persistent-pty-ybhbtxjg.js → vcs-k9avtbwf.js} +3 -3
- package/dist/chunks/{persistent-pty-s83kg3p0.js → vcs-km3nayh5.js} +15 -15
- package/dist/chunks/{persistent-pty-44ke2mar.js → vcs-knb7evpn.js} +2 -2
- package/dist/chunks/{persistent-pty-mmmrdbr8.js → vcs-ky36v99m.js} +9 -9
- package/dist/chunks/{persistent-pty-m0jqrx5p.js → vcs-m0jqrx5p.js} +2 -2
- package/dist/chunks/{persistent-pty-m3fdjcah.js → vcs-m3fdjcah.js} +1 -1
- package/dist/chunks/{persistent-pty-h4eh15d6.js → vcs-m4fq2941.js} +20 -20
- package/dist/chunks/{persistent-pty-n2eg1d0h.js → vcs-m7ra2w5s.js} +16 -16
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-56gdpj1q.js → vcs-mfqp6xfm.js} +6 -6
- package/dist/chunks/{persistent-pty-fr9ym6sp.js → vcs-mhxfxc91.js} +44 -44
- package/dist/chunks/{persistent-pty-q3j5ebgq.js → vcs-mpqf5yw5.js} +22 -22
- package/dist/chunks/{persistent-pty-7s8gb34t.js → vcs-nawy2c6h.js} +30 -30
- package/dist/chunks/{persistent-pty-a3r4dcrj.js → vcs-nng2ktcm.js} +2 -2
- package/dist/chunks/{persistent-pty-tbz0fdvh.js → vcs-p28j5sbe.js} +5 -5
- package/dist/chunks/{persistent-pty-vg6ckggx.js → vcs-p5k1ykss.js} +72 -72
- package/dist/chunks/{persistent-pty-tegs1ycp.js → vcs-p7a39gy5.js} +6 -6
- package/dist/chunks/{persistent-pty-9ex8f1cq.js → vcs-pakcngh0.js} +8 -8
- package/dist/chunks/{persistent-pty-xaftkv44.js → vcs-pc0mvq6d.js} +43 -43
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → vcs-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-2hsgj57k.js → vcs-pstxsap6.js} +23 -23
- package/dist/chunks/{persistent-pty-epqb7qpy.js → vcs-pv91942f.js} +3 -3
- package/dist/chunks/{persistent-pty-6yh2fsej.js → vcs-pzn0jms3.js} +11 -11
- package/dist/chunks/{persistent-pty-yr8p71ks.js → vcs-qg6dnfrp.js} +12 -12
- package/dist/chunks/{persistent-pty-78b8afjy.js → vcs-qsaqrdx1.js} +11 -11
- package/dist/chunks/{persistent-pty-qsdy395h.js → vcs-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-encztx8n.js → vcs-qxnmhf0h.js} +28 -28
- package/dist/chunks/{persistent-pty-zq3sp2de.js → vcs-qzn4r9yc.js} +31 -31
- package/dist/chunks/{persistent-pty-j58c5xyq.js → vcs-r9w3djhf.js} +9 -9
- package/dist/chunks/{persistent-pty-kkzayper.js → vcs-rbnp9ynp.js} +29 -29
- package/dist/chunks/{persistent-pty-qsx6xwjc.js → vcs-rc2k9h5j.js} +22 -22
- package/dist/chunks/{persistent-pty-rdw6cm16.js → vcs-rdw6cm16.js} +1 -1
- package/dist/chunks/{persistent-pty-s4mb84p1.js → vcs-rffnqpzc.js} +34 -34
- package/dist/chunks/{persistent-pty-eaj1djv9.js → vcs-rhjbct0v.js} +8 -8
- package/dist/chunks/{persistent-pty-bph3v013.js → vcs-rtxfz5fz.js} +14 -14
- package/dist/chunks/{persistent-pty-s4b84khr.js → vcs-rtybfwtv.js} +9 -9
- package/dist/chunks/{persistent-pty-r2w5wzr7.js → vcs-sjpq2v3x.js} +13 -13
- package/dist/chunks/{persistent-pty-74fmk9vn.js → vcs-sr0e3xdc.js} +12 -12
- package/dist/chunks/{persistent-pty-tvc0b3mj.js → vcs-srmpna97.js} +9 -9
- package/dist/chunks/{persistent-pty-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-tcezcvh9.js → vcs-tcezcvh9.js} +1 -1
- package/dist/chunks/{persistent-pty-r2a07nrz.js → vcs-tcfhdmjk.js} +13 -13
- package/dist/chunks/{persistent-pty-tdstcens.js → vcs-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-yppwdz7t.js → vcs-tk4ydb92.js} +9 -9
- package/dist/chunks/{persistent-pty-sxn79y37.js → vcs-tk9vbt1t.js} +6 -6
- package/dist/chunks/{persistent-pty-1w7qre35.js → vcs-tr206bvd.js} +35 -35
- package/dist/chunks/{persistent-pty-tvtrv512.js → vcs-tvtrv512.js} +1 -1
- package/dist/chunks/{persistent-pty-afdssyjb.js → vcs-tz4n1mmd.js} +4 -4
- package/dist/chunks/{persistent-pty-4yy5d4qw.js → vcs-v2j8ahbr.js} +1 -1
- package/dist/chunks/{persistent-pty-hmp6wt3x.js → vcs-v4hh2g4f.js} +11 -11
- package/dist/chunks/{persistent-pty-veqvce7d.js → vcs-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-vncycja5.js → vcs-vncycja5.js} +1 -1
- package/dist/chunks/{persistent-pty-ze9ygk7z.js → vcs-vqnj8dxw.js} +11 -11
- package/dist/chunks/{persistent-pty-vzcthcp8.js → vcs-vzcthcp8.js} +1 -1
- package/dist/chunks/{persistent-pty-va45f1s8.js → vcs-w0173919.js} +31 -31
- package/dist/chunks/{persistent-pty-5rt7pep6.js → vcs-w170pgjs.js} +6 -6
- package/dist/chunks/{persistent-pty-patgj9rf.js → vcs-w3jg838k.js} +9 -9
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-75q2ps1k.js → vcs-w6bagakh.js} +1 -1
- package/dist/chunks/{persistent-pty-hnac9jpe.js → vcs-wa9tvrt4.js} +15 -15
- package/dist/chunks/{persistent-pty-xcjhgh37.js → vcs-wad31dta.js} +6 -6
- package/dist/chunks/{persistent-pty-wd87259q.js → vcs-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-p84dsdfh.js → vcs-wh3mwy9y.js} +5 -5
- package/dist/chunks/{persistent-pty-w6qqzf7t.js → vcs-wmgzx6be.js} +2 -2
- package/dist/chunks/{persistent-pty-p0h2c1j9.js → vcs-wnjpenje.js} +10 -10
- package/dist/chunks/{persistent-pty-cdq49ytp.js → vcs-wrgbtw9m.js} +25 -25
- package/dist/chunks/{persistent-pty-x1ezjp6w.js → vcs-x1ezjp6w.js} +1 -1
- package/dist/chunks/{persistent-pty-tfxzrdmk.js → vcs-x5whvs7g.js} +13 -13
- package/dist/chunks/{persistent-pty-btpphd88.js → vcs-x7pnhj05.js} +27 -27
- package/dist/chunks/{persistent-pty-p3x7gx7a.js → vcs-xa75ctwz.js} +28 -28
- package/dist/chunks/{persistent-pty-zsphfh87.js → vcs-xm8y3y9s.js} +20 -20
- package/dist/chunks/{persistent-pty-92xv3hjf.js → vcs-xn3k6s4r.js} +20 -20
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-rr6jacvf.js → vcs-ya6x4a7c.js} +32 -32
- package/dist/chunks/{persistent-pty-bmcyf7gj.js → vcs-ycnz6d4p.js} +20 -20
- package/dist/chunks/{persistent-pty-p52j3anj.js → vcs-yfdygd1b.js} +43 -43
- package/dist/chunks/{persistent-pty-qn4ba14w.js → vcs-yjptyezs.js} +5 -5
- package/dist/chunks/{persistent-pty-rhraev7y.js → vcs-yp2x3t23.js} +4 -4
- package/dist/chunks/{persistent-pty-wayd1cz3.js → vcs-yq9bb241.js} +9 -9
- package/dist/chunks/{persistent-pty-yrhqyw5v.js → vcs-yrhqyw5v.js} +1 -1
- package/dist/chunks/{persistent-pty-5dbxvay1.js → vcs-yrwszt74.js} +29 -29
- package/dist/chunks/{persistent-pty-yrznvahk.js → vcs-yrznvahk.js} +2 -2
- package/dist/chunks/{persistent-pty-3ewed21c.js → vcs-z0aj456m.js} +4 -4
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-mg83pbjr.js → vcs-z2qvtray.js} +8 -8
- package/dist/chunks/{persistent-pty-aba8dj31.js → vcs-z5cw6b3r.js} +11 -11
- package/dist/chunks/{persistent-pty-z63w68vq.js → vcs-z63w68vq.js} +2 -2
- package/dist/chunks/{persistent-pty-4acetgwp.js → vcs-z6xvyrz8.js} +2 -2
- package/dist/chunks/{persistent-pty-5h8807ma.js → vcs-z9e3n7tj.js} +15 -15
- package/dist/chunks/{persistent-pty-wcycnpg6.js → vcs-zcdeq6ts.js} +12 -12
- package/dist/chunks/{persistent-pty-zeh9ct20.js → vcs-zeh9ct20.js} +2 -2
- package/dist/chunks/{persistent-pty-5kmakpsy.js → vcs-zg80xw90.js} +302 -302
- package/dist/chunks/{persistent-pty-41ssmn02.js → vcs-zgs7zzqg.js} +78 -78
- package/dist/chunks/{persistent-pty-tbgyadps.js → vcs-zhk3mejr.js} +8 -8
- package/dist/chunks/{persistent-pty-h6jr292a.js → vcs-zj09a0ew.js} +4 -4
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → vcs-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-65w3833t.js → vcs-zvkdwvzy.js} +13 -13
- package/dist/chunks/{persistent-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 +80 -80
- 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 +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.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 +1 -1
- 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 +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +103 -103
- package/dist/form.js +73 -73
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- package/dist/git.js +6 -6
- 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 +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- 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 +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +97 -97
- package/dist/mcp/instructions.js +127 -127
- 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 +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +97 -97
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +75 -75
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +102 -102
- 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 +3 -3
- 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 +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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +94 -94
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- 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 +133 -133
- package/dist/session/context.js +147 -147
- 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 +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +125 -125
- package/dist/session/projector.js +83 -83
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +1 -1
- 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 +74 -74
- 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 +3 -3
- 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 +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 +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 +119 -119
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- 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 +5 -5
- 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 +2 -2
- 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 +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +1 -1
- 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 +75 -75
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- 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 +95 -95
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-a7qcy6v8.js +0 -26
- package/dist/chunks/persistent-pty-dxj72tfx.js +0 -18
- package/dist/chunks/persistent-pty-gfx0waae.js +0 -252
- /package/dist/chunks/{persistent-pty-0mesazry.js → vcs-0mesazry.js} +0 -0
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → vcs-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → vcs-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → vcs-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → vcs-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → vcs-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → vcs-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → vcs-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-5qd3pb7m.js → vcs-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → vcs-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → vcs-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → vcs-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → vcs-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-922hggd3.js → vcs-922hggd3.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → vcs-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → vcs-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → vcs-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → vcs-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → vcs-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → vcs-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → vcs-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → vcs-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → vcs-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → vcs-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → vcs-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → vcs-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → vcs-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hjbc5kem.js → vcs-hjbc5kem.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → vcs-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → vcs-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → vcs-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → vcs-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → vcs-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → vcs-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-sk3qaz4a.js → vcs-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-twg0f83k.js → vcs-twg0f83k.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → vcs-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → vcs-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → vcs-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → vcs-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → vcs-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → vcs-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → vcs-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → vcs-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → vcs-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service83
|
|
3
|
-
} from "./persistent-pty-hmp6wt3x.js";
|
|
4
1
|
import {
|
|
5
2
|
Service82
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./vcs-v4hh2g4f.js";
|
|
4
|
+
import {
|
|
5
|
+
Service81
|
|
6
|
+
} from "./vcs-b78gz254.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service38
|
|
9
|
+
} from "./vcs-p7a39gy5.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
NotFoundError9,
|
|
18
18
|
PromptConflictError2,
|
|
@@ -20,55 +20,55 @@ import {
|
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./vcs-k9avtbwf.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./vcs-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service67
|
|
29
|
+
} from "./vcs-0h9cdpmt.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service36
|
|
34
|
+
} from "./vcs-6kga2vek.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service34
|
|
37
|
+
} from "./vcs-yfdygd1b.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./vcs-47b46ckc.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./vcs-96a94ynr.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./vcs-tk4ydb92.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./vcs-rtybfwtv.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./vcs-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
58
58
|
__export(exports_session2, {
|
|
59
59
|
Session: () => exports_session2,
|
|
60
|
-
make: () =>
|
|
60
|
+
make: () => make12
|
|
61
61
|
});
|
|
62
62
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
|
-
var
|
|
66
|
-
const bus = yield*
|
|
67
|
-
const database = yield*
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
65
|
+
var make12 = Effect.fn("Session.make")(function* () {
|
|
66
|
+
const bus = yield* Service81;
|
|
67
|
+
const database = yield* Service82;
|
|
68
|
+
const store = yield* Service67;
|
|
69
|
+
const instances = yield* Service38;
|
|
70
|
+
const execution = yield* Service34;
|
|
71
|
+
const admission = yield* Service36;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
@@ -131,7 +131,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
131
131
|
});
|
|
132
132
|
if (existing)
|
|
133
133
|
return existing;
|
|
134
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
134
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service38, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
135
135
|
if (session.revert)
|
|
136
136
|
yield* commit2(bus, session);
|
|
137
137
|
return yield* admission.admit({
|
|
@@ -147,7 +147,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
147
147
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
148
148
|
const session = yield* get(sessionID);
|
|
149
149
|
const running = yield* Effect.gen(function* () {
|
|
150
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
150
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service38, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
151
151
|
text: `User shell command failed to start:
|
|
152
152
|
${input.command}
|
|
153
153
|
|
|
@@ -176,7 +176,7 @@ ${error.message}`,
|
|
|
176
176
|
});
|
|
177
177
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
178
178
|
const session = yield* get(sessionID);
|
|
179
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
179
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service38, instances));
|
|
180
180
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
181
181
|
sessionID,
|
|
182
182
|
id: skill.id,
|
|
@@ -233,13 +233,13 @@ ${error.message}`,
|
|
|
233
233
|
const session = yield* get(sessionID);
|
|
234
234
|
if (yield* execution.isActive(sessionID))
|
|
235
235
|
return yield* new BusyError2({ sessionID });
|
|
236
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
236
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service38, instances), Effect.provideService(Service82, database), Effect.provideService(Service81, bus));
|
|
237
237
|
});
|
|
238
238
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
239
239
|
const session = yield* get(sessionID);
|
|
240
240
|
if (yield* execution.isActive(sessionID))
|
|
241
241
|
return yield* new BusyError2({ sessionID });
|
|
242
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
242
|
+
yield* clear2(session).pipe(Effect.provideService(Service38, instances), Effect.provideService(Service81, bus));
|
|
243
243
|
return yield* execution.wake(sessionID);
|
|
244
244
|
});
|
|
245
245
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -322,4 +322,4 @@ ${error.message}`,
|
|
|
322
322
|
return { forSession };
|
|
323
323
|
});
|
|
324
324
|
|
|
325
|
-
export {
|
|
325
|
+
export { make12, exports_session2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service35,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service35 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service35, exports_runner };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-9satqzp7.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-7y8kks1y.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
13
13
|
__export(exports_database, {
|
|
14
14
|
Database: () => exports_database,
|
|
15
15
|
Options: () => Options11,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service82,
|
|
17
17
|
configured: () => configured13,
|
|
18
18
|
configuredClient: () => configuredClient2,
|
|
19
19
|
layer: () => layer26,
|
|
20
20
|
layerFromClient: () => layerFromClient2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node86
|
|
22
22
|
});
|
|
23
23
|
import { sqliteLayer, supportsForeignKeyToggle, supportsTuningPragmas } from "#sqlite";
|
|
24
24
|
import { Context, Effect, Layer, Schema, Semaphore } from "effect";
|
|
@@ -30,9 +30,9 @@ var Options11 = Schema.Struct({
|
|
|
30
30
|
path: Schema.optional(Schema.String)
|
|
31
31
|
});
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class Service82 extends Context.Service()("@opencode/storage/Database") {
|
|
34
34
|
}
|
|
35
|
-
var databaseLayer = (lock) => Layer.effect(
|
|
35
|
+
var databaseLayer = (lock) => Layer.effect(Service82, Effect.gen(function* () {
|
|
36
36
|
const db = yield* makeDatabase;
|
|
37
37
|
if (supportsTuningPragmas) {
|
|
38
38
|
yield* db.run("PRAGMA journal_mode = WAL");
|
|
@@ -68,15 +68,15 @@ function layer26(options = { path: ":memory:" }) {
|
|
|
68
68
|
}
|
|
69
69
|
var layerFromClient2 = databaseLayer(Semaphore.make(1));
|
|
70
70
|
function configured13(options) {
|
|
71
|
-
return makeGlobalNode({ service:
|
|
71
|
+
return makeGlobalNode({ service: Service82, layer: layer26(options), deps: [Global.node] });
|
|
72
72
|
}
|
|
73
73
|
function configuredClient2(client) {
|
|
74
74
|
return makeGlobalNode({
|
|
75
|
-
service:
|
|
75
|
+
service: Service82,
|
|
76
76
|
layer: layerFromClient2.pipe(Layer.provide(client)),
|
|
77
77
|
deps: [Global.node]
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
|
-
var
|
|
80
|
+
var node86 = configured13({ path: ":memory:" });
|
|
81
81
|
|
|
82
|
-
export { Options11,
|
|
82
|
+
export { Options11, Service82, layer26, layerFromClient2, configured13, configuredClient2, node86, exports_database };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-qsaqrdx1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./vcs-b78gz254.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./vcs-x7pnhj05.js";
|
|
11
11
|
import {
|
|
12
12
|
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-2amj1e7d.js";
|
|
15
15
|
import {
|
|
16
16
|
ID13
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./vcs-pstxsap6.js";
|
|
18
18
|
import {
|
|
19
19
|
ID12,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./vcs-1earv0bc.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./vcs-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -116,7 +116,7 @@ var oauth = {
|
|
|
116
116
|
var DigitalOceanPlugin2 = define({
|
|
117
117
|
id: "opencode.provider.digitalocean",
|
|
118
118
|
effect: Effect.fn(function* (ctx) {
|
|
119
|
-
const bus = yield*
|
|
119
|
+
const bus = yield* Service81;
|
|
120
120
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
121
121
|
const loading = Semaphore.makeUnsafe(1);
|
|
122
122
|
const loaded = { routers: [] };
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node79
|
|
5
|
+
} from "./vcs-qsaqrdx1.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-06dxphr1.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service69,
|
|
12
12
|
node72
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-gs3s1a1g.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./vcs-rffnqpzc.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-srmpna97.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error3
|
|
22
|
+
} from "./vcs-4e3rb2jf.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service26,
|
|
25
|
+
node30
|
|
26
|
+
} from "./vcs-jetea0vp.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
make14
|
|
29
|
+
} from "./vcs-drwq78ky.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./vcs-bz85s9hh.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./vcs-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/session/model-request.ts
|
|
38
38
|
var exports_model_request = {};
|
|
39
39
|
__export(exports_model_request, {
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service25,
|
|
41
41
|
SessionModelRequest: () => exports_model_request,
|
|
42
42
|
baseTranscript: () => baseTranscript2,
|
|
43
43
|
boundImages: () => boundImages2,
|
|
44
|
-
layer: () =>
|
|
45
|
-
node: () =>
|
|
44
|
+
layer: () => layer9,
|
|
45
|
+
node: () => node29,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
48
48
|
import {
|
|
@@ -66,7 +66,7 @@ var baseTranscript2 = (input) => {
|
|
|
66
66
|
return {
|
|
67
67
|
providerMetadataKey,
|
|
68
68
|
system: [
|
|
69
|
-
input.agent.system ? input.agent.system :
|
|
69
|
+
input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
|
|
70
70
|
input.initial
|
|
71
71
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
72
72
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -150,11 +150,11 @@ var boundImages2 = (messages) => {
|
|
|
150
150
|
}));
|
|
151
151
|
};
|
|
152
152
|
|
|
153
|
-
class
|
|
153
|
+
class Service25 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
154
154
|
}
|
|
155
|
-
var
|
|
156
|
-
const hooks = yield*
|
|
157
|
-
const transport = yield*
|
|
155
|
+
var layer9 = Layer.effect(Service25, Effect.gen(function* () {
|
|
156
|
+
const hooks = yield* Service69;
|
|
157
|
+
const transport = yield* Service26;
|
|
158
158
|
const app = yield* Metadata2;
|
|
159
159
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
160
160
|
const session = input.session;
|
|
@@ -162,7 +162,7 @@ var layer11 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
162
162
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
163
163
|
const tools = input.tools ?? {
|
|
164
164
|
definitions: [],
|
|
165
|
-
execute: () => new
|
|
165
|
+
execute: () => new Error3({ message: "Tools are not available for this request" })
|
|
166
166
|
};
|
|
167
167
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
168
168
|
const shaped = yield* shape({ sessionID: session.id, model: model.ref, system: input.system, messages: input.messages, options: {} }, Object.fromEntries(Array.from(given, ([d, t]) => [t.name, d])));
|
|
@@ -252,17 +252,17 @@ var layer11 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
252
252
|
};
|
|
253
253
|
});
|
|
254
254
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
255
|
-
return
|
|
255
|
+
return Service25.of({
|
|
256
256
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
257
257
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
258
258
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
259
259
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
|
-
var
|
|
263
|
-
service:
|
|
264
|
-
layer:
|
|
265
|
-
deps: [node72,
|
|
262
|
+
var node29 = makeLocationNode({
|
|
263
|
+
service: Service25,
|
|
264
|
+
layer: layer9,
|
|
265
|
+
deps: [node72, node30, node79]
|
|
266
266
|
});
|
|
267
267
|
|
|
268
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
268
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service25, layer9, node29, exports_model_request };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-pstxsap6.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-1earv0bc.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
13
13
|
__export(exports_variant, {
|
|
14
14
|
Variant: () => exports_variant,
|
|
15
|
-
resolve: () =>
|
|
15
|
+
resolve: () => resolve4
|
|
16
16
|
});
|
|
17
|
-
function
|
|
17
|
+
function resolve4(model, supports = [{ type: "effort" }]) {
|
|
18
18
|
const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
|
|
19
19
|
if (!protocol)
|
|
20
20
|
return [];
|
|
@@ -494,4 +494,4 @@ var PROTOCOLS = {
|
|
|
494
494
|
[aisdk2("@ai-sdk/cohere")]: cohere
|
|
495
495
|
};
|
|
496
496
|
|
|
497
|
-
export {
|
|
497
|
+
export { resolve4, exports_variant };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service44,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node46
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service44 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service44.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node46 = makeLocationNode({ service: Service44, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service44, node46, exports_image2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-3gz6fvbw.js";
|
|
7
7
|
import {
|
|
8
8
|
Service78,
|
|
9
9
|
node82
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-hngd1esa.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service66,
|
|
13
|
+
node69
|
|
14
|
+
} from "./vcs-rffnqpzc.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./vcs-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,9 +22,9 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service65,
|
|
26
26
|
externalDirectoryPermission: () => externalDirectoryPermission2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node68,
|
|
28
28
|
resolvePath: () => resolvePath2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
|
|
|
43
43
|
save: [input.save]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service65 extends Context.Service()("@opencode/FileAccess") {
|
|
47
47
|
}
|
|
48
48
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
49
49
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -55,10 +55,10 @@ var invocation = (context) => ({
|
|
|
55
55
|
agent: context.agent,
|
|
56
56
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
57
57
|
});
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
59
59
|
const fs = yield* FSUtil.Service;
|
|
60
60
|
const location = yield* Service78;
|
|
61
|
-
const permission = yield*
|
|
61
|
+
const permission = yield* Service66;
|
|
62
62
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
63
63
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
64
64
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
107
107
|
});
|
|
108
108
|
return target;
|
|
109
109
|
});
|
|
110
|
-
return
|
|
110
|
+
return Service65.of({ resolve, authorizeExternal, authorizeRead });
|
|
111
111
|
}));
|
|
112
|
-
var
|
|
112
|
+
var node68 = makeLocationNode({ service: Service65, layer, deps: [FSUtil.node, node82, node69] });
|
|
113
113
|
|
|
114
|
-
export { Kind2, ResolveInput2, externalDirectoryPermission2,
|
|
114
|
+
export { Kind2, ResolveInput2, externalDirectoryPermission2, Service65, resolvePath2, node68, exports_file_access };
|