@opencode/core 0.0.0-dev-19935 → 0.0.0-dev-19937
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 +68 -68
- package/dist/chunks/{pty-bccb6npm.js → persistent-pty-06dxphr1.js} +4 -4
- package/dist/chunks/{pty-8gvkar91.js → persistent-pty-0akym11d.js} +16 -16
- package/dist/chunks/{pty-81swgkk7.js → persistent-pty-0ke265bw.js} +5 -5
- package/dist/chunks/persistent-pty-0mesazry.js +4 -0
- package/dist/chunks/{pty-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{pty-0q0f95c6.js → persistent-pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{pty-hm0swns8.js → persistent-pty-0rqdjtcb.js} +4 -4
- package/dist/chunks/{pty-w60ddt80.js → persistent-pty-0zkrmmra.js} +15 -15
- package/dist/chunks/{pty-r98b7zm4.js → persistent-pty-13f6jh0f.js} +30 -30
- package/dist/chunks/{pty-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{pty-c84hahnz.js → persistent-pty-1g2zd6q9.js} +3 -3
- package/dist/chunks/{pty-ywb2092b.js → persistent-pty-1p0trksj.js} +8 -8
- package/dist/chunks/{pty-karrgenz.js → persistent-pty-1w7qre35.js} +33 -33
- package/dist/chunks/{pty-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
- package/dist/chunks/{pty-6h73sxmp.js → persistent-pty-2402vzrj.js} +5 -5
- package/dist/chunks/{pty-dgsc5ysd.js → persistent-pty-26v7198b.js} +30 -30
- package/dist/chunks/{pty-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{pty-04tfxcdr.js → persistent-pty-2gbsvbx5.js} +12 -12
- package/dist/chunks/{pty-x7tehcsj.js → persistent-pty-2hsgj57k.js} +22 -22
- package/dist/chunks/{pty-7dqw4kz8.js → persistent-pty-2k8khapm.js} +5 -5
- package/dist/chunks/{pty-8yf0cvxd.js → persistent-pty-2rnnjxth.js} +7 -7
- package/dist/chunks/{pty-q9p4606t.js → persistent-pty-2wzrjk5c.js} +24 -24
- package/dist/chunks/{pty-pjedbq3k.js → persistent-pty-2y34zzjz.js} +4 -4
- package/dist/chunks/{pty-w4mwq8bs.js → persistent-pty-2ym62d1y.js} +1 -1
- package/dist/chunks/{pty-8tsdq50x.js → persistent-pty-3ewed21c.js} +4 -4
- package/dist/chunks/{pty-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{pty-ydsbnknk.js → persistent-pty-3fs6smyb.js} +11 -11
- package/dist/chunks/{pty-qv3cmgwj.js → persistent-pty-3gs18der.js} +22 -22
- package/dist/chunks/{pty-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-2f0bjgcj.js → persistent-pty-3w0fmcng.js} +5 -5
- package/dist/chunks/{pty-y2eym35f.js → persistent-pty-4113bgx8.js} +8 -8
- package/dist/chunks/{pty-sd0vhpay.js → persistent-pty-41ssmn02.js} +91 -91
- package/dist/chunks/{pty-ta94ydyf.js → persistent-pty-431eg44t.js} +10 -10
- package/dist/chunks/{pty-zqx8wcya.js → persistent-pty-44ke2mar.js} +4 -4
- package/dist/chunks/{pty-56c3q4gh.js → persistent-pty-4acetgwp.js} +2 -2
- package/dist/chunks/{pty-z8k7ba4y.js → persistent-pty-4e13r3ts.js} +4 -4
- package/dist/chunks/{pty-d170h7tj.js → persistent-pty-4kg54np8.js} +19 -19
- package/dist/chunks/{pty-2jn1a9mb.js → persistent-pty-4pxrwfad.js} +24 -24
- package/dist/chunks/{pty-5p5kf06w.js → persistent-pty-4vdcjjmt.js} +13 -13
- package/dist/chunks/{pty-e3rw4ffc.js → persistent-pty-4yy5d4qw.js} +1 -1
- package/dist/chunks/{pty-ajv9ph60.js → persistent-pty-4z7tbtat.js} +6 -6
- package/dist/chunks/{pty-rrtzm0z5.js → persistent-pty-5531r29v.js} +25 -25
- package/dist/chunks/{pty-tyxp03c1.js → persistent-pty-554knveg.js} +33 -33
- package/dist/chunks/{pty-56gdpj1q.js → persistent-pty-56gdpj1q.js} +2 -2
- package/dist/chunks/{pty-n0m5xdp9.js → persistent-pty-57sn279e.js} +10 -10
- package/dist/chunks/{pty-a1bz86dw.js → persistent-pty-5c4hm403.js} +3 -3
- package/dist/chunks/{pty-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
- package/dist/chunks/{pty-abb4bxme.js → persistent-pty-5dbxvay1.js} +27 -27
- package/dist/chunks/{pty-xnbn90dq.js → persistent-pty-5h8807ma.js} +17 -17
- package/dist/chunks/{pty-e3qxr5gk.js → persistent-pty-5qd3pb7m.js} +2 -2
- package/dist/chunks/{pty-br51nt48.js → persistent-pty-5rfwsh5d.js} +3 -3
- package/dist/chunks/{pty-mqbat9jp.js → persistent-pty-5rt7pep6.js} +3 -3
- package/dist/chunks/{pty-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{pty-8tr0qdz4.js → persistent-pty-61h0qsnp.js} +8 -8
- package/dist/chunks/{pty-fnf91rh6.js → persistent-pty-63mpdmm6.js} +30 -30
- package/dist/chunks/{pty-s7q0bjyb.js → persistent-pty-65w3833t.js} +13 -13
- package/dist/chunks/{pty-669tq793.js → persistent-pty-669tq793.js} +1 -1
- package/dist/chunks/{pty-9j4rwzvb.js → persistent-pty-68tggvtb.js} +11 -11
- package/dist/chunks/{pty-3fhvbsdb.js → persistent-pty-69cccy7z.js} +15 -15
- package/dist/chunks/{pty-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{pty-acp7khxw.js → persistent-pty-6n88yxkj.js} +11 -11
- package/dist/chunks/{pty-g49r3ea3.js → persistent-pty-6p5ms1em.js} +16 -16
- package/dist/chunks/{pty-zxv0wf82.js → persistent-pty-6p7zr8ep.js} +6 -6
- package/dist/chunks/{pty-httfvynw.js → persistent-pty-6tr59r50.js} +15 -15
- package/dist/chunks/{pty-ks3r113m.js → persistent-pty-6vrsc7tt.js} +18 -18
- package/dist/chunks/{pty-1jvwysfd.js → persistent-pty-6yh2fsej.js} +21 -21
- package/dist/chunks/{pty-ftffx8fq.js → persistent-pty-6zthmp17.js} +26 -26
- package/dist/chunks/{pty-772f7zcq.js → persistent-pty-71vt42kc.js} +3 -3
- package/dist/chunks/{pty-w9fkbwq5.js → persistent-pty-74fmk9vn.js} +10 -10
- package/dist/chunks/{pty-aads351p.js → persistent-pty-75q2ps1k.js} +1 -1
- package/dist/chunks/{pty-gjyhvyzk.js → persistent-pty-78b8afjy.js} +11 -11
- package/dist/chunks/{pty-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-0kh0dn2a.js → persistent-pty-7fmgbjr3.js} +9 -9
- package/dist/chunks/persistent-pty-7h3cdw3p.js +252 -0
- package/dist/chunks/{pty-4ptcp2em.js → persistent-pty-7s8gb34t.js} +26 -26
- package/dist/chunks/{pty-1nsrs91v.js → persistent-pty-82ahnwkf.js} +23 -23
- package/dist/chunks/{pty-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{pty-d21c9hyv.js → persistent-pty-8hz3g5y0.js} +19 -19
- package/dist/chunks/{pty-10ztk21w.js → persistent-pty-8y3s9r1h.js} +3 -3
- package/dist/chunks/{pty-wmt2jdxs.js → persistent-pty-90y57r1y.js} +21 -21
- package/dist/chunks/{pty-2w9fymad.js → persistent-pty-92xv3hjf.js} +17 -17
- package/dist/chunks/{pty-3jd4ahw0.js → persistent-pty-9c77jpjf.js} +1 -1
- package/dist/chunks/{pty-89bb6baa.js → persistent-pty-9ex8f1cq.js} +8 -8
- package/dist/chunks/{pty-58mbwdrb.js → persistent-pty-9h0hyds4.js} +17 -17
- package/dist/chunks/{pty-fkjaqdxa.js → persistent-pty-9tx45s8b.js} +44 -44
- package/dist/chunks/{pty-cmkj70ft.js → persistent-pty-a3r4dcrj.js} +2 -2
- package/dist/chunks/{pty-ffgm1r5f.js → persistent-pty-a7qcy6v8.js} +13 -13
- package/dist/chunks/{pty-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
- package/dist/chunks/{pty-y5df08dr.js → persistent-pty-ab8cnxkj.js} +12 -12
- package/dist/chunks/{pty-6mwr1jqd.js → persistent-pty-aba8dj31.js} +15 -15
- package/dist/chunks/{pty-whhr0qbd.js → persistent-pty-ace40s22.js} +7 -7
- package/dist/chunks/{pty-hn57h045.js → persistent-pty-afdssyjb.js} +4 -4
- package/dist/chunks/{pty-ps1arbjd.js → persistent-pty-axwsqknt.js} +29 -29
- package/dist/chunks/{pty-b27vhd2z.js → persistent-pty-b27vhd2z.js} +1 -1
- package/dist/chunks/{pty-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{pty-vcbz1vdx.js → persistent-pty-b7r080c3.js} +15 -15
- package/dist/chunks/{pty-h5prsy26.js → persistent-pty-bmcyf7gj.js} +20 -20
- package/dist/chunks/{pty-xxs85xy1.js → persistent-pty-bph3v013.js} +12 -12
- package/dist/chunks/{pty-tpw6cwsb.js → persistent-pty-br0tr5aq.js} +8 -8
- package/dist/chunks/{pty-pnchrenk.js → persistent-pty-brg56pc6.js} +30 -30
- package/dist/chunks/{pty-sf1tgbav.js → persistent-pty-bsgfsq91.js} +12 -12
- package/dist/chunks/{pty-bc62gbf5.js → persistent-pty-btpphd88.js} +26 -26
- package/dist/chunks/{pty-ryt7pzqc.js → persistent-pty-bz85s9hh.js} +1 -1
- package/dist/chunks/{pty-wjv0bjkz.js → persistent-pty-cdq49ytp.js} +27 -27
- package/dist/chunks/{pty-sz5c3476.js → persistent-pty-cv5frkqy.js} +1 -1
- package/dist/chunks/{pty-r1dq1bn8.js → persistent-pty-cwtvnkts.js} +8 -8
- package/dist/chunks/{pty-7y216y5p.js → persistent-pty-d0fsejzd.js} +34 -34
- package/dist/chunks/{pty-qmqgtz8f.js → persistent-pty-d4he2qe1.js} +9 -9
- package/dist/chunks/{pty-dep4keqg.js → persistent-pty-de5mzfxd.js} +26 -26
- package/dist/chunks/{pty-40rggeet.js → persistent-pty-deq2z4hf.js} +5 -5
- package/dist/chunks/{pty-8p4f9s12.js → persistent-pty-dj2t23y0.js} +2 -2
- package/dist/chunks/{pty-y71avatq.js → persistent-pty-dpkg50ah.js} +4 -4
- package/dist/chunks/{pty-rwmws8eb.js → persistent-pty-dtwkq6be.js} +13 -13
- package/dist/chunks/persistent-pty-dxj72tfx.js +18 -0
- package/dist/chunks/{pty-e1rbgcj4.js → persistent-pty-e84rd1xk.js} +23 -23
- package/dist/chunks/{pty-x2d9qy7d.js → persistent-pty-e8qyrgb1.js} +5 -5
- package/dist/chunks/{pty-0gdmqesm.js → persistent-pty-eaj1djv9.js} +8 -8
- package/dist/chunks/{pty-znfg10s7.js → persistent-pty-edwvx061.js} +4 -4
- package/dist/chunks/{pty-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{pty-2zqfv34k.js → persistent-pty-encztx8n.js} +22 -22
- package/dist/chunks/{pty-3zgfwzda.js → persistent-pty-epqb7qpy.js} +3 -3
- package/dist/chunks/{pty-erw5rpbs.js → persistent-pty-erw5rpbs.js} +2 -2
- package/dist/chunks/{pty-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{pty-nsvd1f8s.js → persistent-pty-ffw5jcp2.js} +18 -18
- package/dist/chunks/{pty-2vtswabk.js → persistent-pty-fsy2n4n3.js} +9 -9
- package/dist/chunks/{pty-0gaj4617.js → persistent-pty-fvanntqq.js} +4 -4
- package/dist/chunks/{pty-ps4an3s3.js → persistent-pty-fwft7q1r.js} +3 -3
- package/dist/chunks/{pty-fxbjtjnd.js → persistent-pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{pty-vnr19yaz.js → persistent-pty-gb9jw3zf.js} +6 -6
- package/dist/chunks/{pty-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-vkxpz7g2.js → persistent-pty-gnx4ytbv.js} +4 -4
- package/dist/chunks/{pty-1ms15p6n.js → persistent-pty-grhxn6he.js} +27 -27
- package/dist/chunks/{pty-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{pty-gmt621qa.js → persistent-pty-gxr7q3nf.js} +22 -22
- package/dist/chunks/{pty-t2qsjm8j.js → persistent-pty-h4eh15d6.js} +20 -20
- package/dist/chunks/{pty-y67gsgy6.js → persistent-pty-h6jr292a.js} +4 -4
- package/dist/chunks/{pty-4dgbcxzg.js → persistent-pty-h6r3nrb9.js} +4 -4
- package/dist/chunks/{pty-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-f828m53h.js → persistent-pty-hdnk95c8.js} +2 -2
- package/dist/chunks/{pty-ndkp1pbx.js → persistent-pty-hds23wzw.js} +18 -18
- package/dist/chunks/{pty-0mp324rf.js → persistent-pty-hmp6wt3x.js} +3 -3
- package/dist/chunks/{pty-5s7v9c7v.js → persistent-pty-hnac9jpe.js} +18 -18
- package/dist/chunks/{pty-7t45mvbd.js → persistent-pty-hq654dja.js} +23 -23
- package/dist/chunks/{pty-479h0rpz.js → persistent-pty-hv2snex1.js} +12 -12
- package/dist/chunks/{pty-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
- package/dist/chunks/{pty-h71w788e.js → persistent-pty-j58c5xyq.js} +9 -9
- package/dist/chunks/{pty-fyynqrjc.js → persistent-pty-j9vp638d.js} +43 -43
- package/dist/chunks/{pty-21yscatf.js → persistent-pty-jcz9anth.js} +47 -47
- package/dist/chunks/{pty-125gwrbg.js → persistent-pty-jdvrzx2t.js} +17 -17
- package/dist/chunks/{pty-ba07h9gm.js → persistent-pty-jexxy024.js} +3 -3
- package/dist/chunks/{pty-fxv6f51q.js → persistent-pty-jfcm29bp.js} +4 -4
- package/dist/chunks/{pty-5z94pt16.js → persistent-pty-jpxb4059.js} +11 -11
- package/dist/chunks/{pty-7sttfjma.js → persistent-pty-jsqr29s7.js} +24 -24
- package/dist/chunks/{pty-24q3h2ph.js → persistent-pty-jsx9wcxe.js} +9 -9
- package/dist/chunks/{pty-d4f5zm7n.js → persistent-pty-jtwa0aj6.js} +13 -13
- package/dist/chunks/{pty-30jzjac2.js → persistent-pty-jvekhsax.js} +6 -6
- package/dist/chunks/{pty-c7byg8pj.js → persistent-pty-jzphxtev.js} +10 -10
- package/dist/chunks/{pty-37ea9c2d.js → persistent-pty-k1gkpfdk.js} +8 -8
- package/dist/chunks/{pty-kk00bynn.js → persistent-pty-k2h4r4s0.js} +21 -21
- package/dist/chunks/{pty-nzks3jc8.js → persistent-pty-k3c624dm.js} +3 -3
- package/dist/chunks/{pty-f2btm3ds.js → persistent-pty-k6w2t1ya.js} +4 -4
- package/dist/chunks/{pty-7zgazq3n.js → persistent-pty-kfgf5fep.js} +26 -26
- package/dist/chunks/{pty-a48s4pqa.js → persistent-pty-kftvnv3j.js} +24 -24
- package/dist/chunks/{pty-8f1v9drm.js → persistent-pty-kkzayper.js} +24 -24
- package/dist/chunks/{pty-cfpkc3c9.js → persistent-pty-m0jqrx5p.js} +2 -2
- package/dist/chunks/{pty-nq7qbqzc.js → persistent-pty-m2d0j7c0.js} +9 -9
- package/dist/chunks/{pty-m3fdjcah.js → persistent-pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{pty-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-q29thqgw.js → persistent-pty-mbgq0mmx.js} +6 -6
- package/dist/chunks/{pty-fzdsdhyy.js → persistent-pty-mfs5sj5t.js} +9 -9
- package/dist/chunks/{pty-8qh6anns.js → persistent-pty-mg83pbjr.js} +8 -8
- package/dist/chunks/persistent-pty-mj93e3gy.js +492 -0
- package/dist/chunks/{pty-xk4hfm6m.js → persistent-pty-mmmrdbr8.js} +11 -11
- package/dist/chunks/{pty-v9a7a4zt.js → persistent-pty-mnaz46m9.js} +83 -83
- package/dist/chunks/{pty-r5x6zcsm.js → persistent-pty-mvfsc1pv.js} +3 -3
- package/dist/chunks/{pty-crwbn2y9.js → persistent-pty-n2eg1d0h.js} +24 -24
- package/dist/chunks/{pty-bm550x0b.js → persistent-pty-n36xcpgr.js} +8 -8
- package/dist/chunks/{pty-hgyhsn9t.js → persistent-pty-n4j23rry.js} +16 -16
- package/dist/chunks/{pty-emwwjpt7.js → persistent-pty-nm55ymfc.js} +19 -19
- package/dist/chunks/{pty-m9g140gf.js → persistent-pty-nqyhrfcc.js} +4 -4
- package/dist/chunks/{pty-crc6eftr.js → persistent-pty-nyacxbzj.js} +46 -46
- package/dist/chunks/{pty-94ycm6fd.js → persistent-pty-p0h2c1j9.js} +10 -10
- package/dist/chunks/{pty-rz6pad5v.js → persistent-pty-p3x7gx7a.js} +25 -25
- package/dist/chunks/{pty-pgadv6bt.js → persistent-pty-p4a5cx5p.js} +15 -15
- package/dist/chunks/{pty-yensex2p.js → persistent-pty-p513dnzd.js} +145 -145
- package/dist/chunks/{pty-79wtkhdx.js → persistent-pty-p52j3anj.js} +37 -37
- package/dist/chunks/{pty-57e9z27j.js → persistent-pty-p84dsdfh.js} +8 -8
- package/dist/chunks/{pty-j1mj860n.js → persistent-pty-patgj9rf.js} +9 -9
- package/dist/chunks/{pty-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{pty-rscnw2jy.js → persistent-pty-q3j5ebgq.js} +17 -17
- package/dist/chunks/{pty-jsm1w6zq.js → persistent-pty-q8pxfdwq.js} +4 -4
- package/dist/chunks/{pty-s1vgemc7.js → persistent-pty-qdwxcfza.js} +9 -9
- package/dist/chunks/{pty-510m7gjw.js → persistent-pty-qn4ba14w.js} +5 -5
- package/dist/chunks/{pty-4ty2257w.js → persistent-pty-qr405v0d.js} +8 -8
- package/dist/chunks/{pty-92s5ksem.js → persistent-pty-qryrftmh.js} +48 -48
- package/dist/chunks/{pty-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-pkatsdp4.js → persistent-pty-qsx6xwjc.js} +18 -18
- package/dist/chunks/{pty-9vj1cv01.js → persistent-pty-qt5mdn6g.js} +12 -12
- package/dist/chunks/{pty-wgh0awmw.js → persistent-pty-qw85ht6d.js} +32 -32
- package/dist/chunks/{pty-n44333yt.js → persistent-pty-r2a07nrz.js} +13 -13
- package/dist/chunks/{pty-hvrxfwdm.js → persistent-pty-r2w5wzr7.js} +10 -10
- package/dist/chunks/{pty-x8ssrn04.js → persistent-pty-r449bwkw.js} +11 -11
- package/dist/chunks/{pty-9q2chv03.js → persistent-pty-r4wc6fxm.js} +5 -5
- package/dist/chunks/{pty-mm0y4phk.js → persistent-pty-r5zvm12r.js} +2 -2
- package/dist/chunks/{pty-q8n9d2sh.js → persistent-pty-r72bb3g5.js} +8 -8
- package/dist/chunks/{pty-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{pty-1acjjqhc.js → persistent-pty-rhraev7y.js} +4 -4
- package/dist/chunks/{pty-2k0605zp.js → persistent-pty-rr6jacvf.js} +43 -43
- package/dist/chunks/{pty-vv67fzzf.js → persistent-pty-rvt9ga0f.js} +16 -16
- package/dist/chunks/{pty-23yqmb8f.js → persistent-pty-rya495mf.js} +9 -9
- package/dist/chunks/{pty-ny05sq48.js → persistent-pty-s4b84khr.js} +9 -9
- package/dist/chunks/{pty-dmrxm1ex.js → persistent-pty-s4mb84p1.js} +57 -57
- package/dist/chunks/{pty-sc7m4xfj.js → persistent-pty-s83kg3p0.js} +17 -17
- package/dist/chunks/{pty-r56jycby.js → persistent-pty-s8cev9wy.js} +6 -6
- package/dist/chunks/{pty-ftbyp22j.js → persistent-pty-s9ax1raf.js} +31 -31
- package/dist/chunks/{pty-tmdgs4qc.js → persistent-pty-sqdxss6w.js} +11 -11
- package/dist/chunks/{pty-jz9w4cgt.js → persistent-pty-sxn79y37.js} +9 -9
- package/dist/chunks/{pty-0qjksd3p.js → persistent-pty-sz24j28z.js} +23 -23
- package/dist/chunks/{pty-2xtspnhm.js → persistent-pty-t4nhm12y.js} +7 -7
- package/dist/chunks/{pty-2vgzs72b.js → persistent-pty-t71v2ka4.js} +5 -5
- package/dist/chunks/{pty-mzbph88c.js → persistent-pty-t808dn5w.js} +35 -35
- package/dist/chunks/{pty-487tjbbd.js → persistent-pty-ta417yjh.js} +24 -24
- package/dist/chunks/{pty-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-9y446jqg.js → persistent-pty-tbgyadps.js} +11 -11
- package/dist/chunks/{pty-p28j5sbe.js → persistent-pty-tbz0fdvh.js} +5 -5
- package/dist/chunks/{pty-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{pty-xxz86ynf.js → persistent-pty-td55jj2j.js} +22 -22
- package/dist/chunks/{pty-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
- package/dist/chunks/{pty-3ppptnan.js → persistent-pty-tegs1ycp.js} +6 -6
- package/dist/chunks/{pty-ke2bgdcy.js → persistent-pty-tfxzrdmk.js} +10 -10
- package/dist/chunks/{pty-729ex4wk.js → persistent-pty-tnasdg6y.js} +32 -32
- package/dist/chunks/{pty-hnrh7jv9.js → persistent-pty-tvc0b3mj.js} +11 -11
- package/dist/chunks/{pty-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
- package/dist/chunks/{pty-rc72nxnw.js → persistent-pty-tvtydw96.js} +41 -41
- package/dist/chunks/{pty-b23z4qnb.js → persistent-pty-twca9fjq.js} +7 -7
- package/dist/chunks/{pty-tbe9f1mn.js → persistent-pty-v4px02z6.js} +20 -20
- package/dist/chunks/{pty-67s6xyqv.js → persistent-pty-va45f1s8.js} +30 -30
- package/dist/chunks/{pty-x2xsxqnt.js → persistent-pty-vcdb3gbk.js} +1 -1
- package/dist/chunks/{pty-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{pty-3dvt7t1w.js → persistent-pty-vg6ckggx.js} +59 -59
- package/dist/chunks/{pty-81jw091s.js → persistent-pty-vmnj2x1v.js} +34 -34
- package/dist/chunks/{pty-bf0ztrs3.js → persistent-pty-vncycja5.js} +4 -4
- package/dist/chunks/{pty-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{pty-1xj4prap.js → persistent-pty-w18y63wv.js} +23 -23
- package/dist/chunks/{pty-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-r8f2g607.js → persistent-pty-w65z2jz3.js} +8 -8
- package/dist/chunks/{pty-v5g0yskm.js → persistent-pty-w6qqzf7t.js} +2 -2
- package/dist/chunks/{pty-p6d074gg.js → persistent-pty-wayd1cz3.js} +11 -11
- package/dist/chunks/{pty-qygprnkz.js → persistent-pty-wcycnpg6.js} +11 -11
- package/dist/chunks/{pty-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{pty-mp49sbvf.js → persistent-pty-wk2ay995.js} +27 -27
- package/dist/chunks/{pty-wx3n4hzp.js → persistent-pty-wngp58at.js} +22 -22
- package/dist/chunks/{pty-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{pty-hkw89x8s.js → persistent-pty-x38sqvf4.js} +6 -6
- package/dist/chunks/{pty-5s45kcve.js → persistent-pty-x5x7kcgs.js} +16 -16
- package/dist/chunks/{pty-ppt37g3q.js → persistent-pty-xaftkv44.js} +54 -54
- package/dist/chunks/{pty-s6ymxyzv.js → persistent-pty-xcjhgh37.js} +6 -6
- package/dist/chunks/{pty-pa29zzk8.js → persistent-pty-xcrk435t.js} +20 -20
- package/dist/chunks/{pty-qqeeq2t9.js → persistent-pty-xfkkasph.js} +7 -7
- package/dist/chunks/{pty-61g3b1pw.js → persistent-pty-xjbekv6e.js} +25 -25
- package/dist/chunks/{pty-d5z7kk5f.js → persistent-pty-xjebcb6c.js} +9 -9
- package/dist/chunks/{pty-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-bg2bzas4.js → persistent-pty-ybhbtxjg.js} +9 -9
- package/dist/chunks/{pty-54c9gbn9.js → persistent-pty-yppwdz7t.js} +9 -9
- package/dist/chunks/{pty-y8s8jbmk.js → persistent-pty-yqz4sd6t.js} +8 -8
- package/dist/chunks/{pty-2x41v6hj.js → persistent-pty-yr8p71ks.js} +10 -10
- package/dist/chunks/{pty-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{pty-s4enseaf.js → persistent-pty-yrznvahk.js} +2 -2
- package/dist/chunks/{pty-7cge7rm7.js → persistent-pty-ysfwx83j.js} +8 -8
- package/dist/chunks/{pty-avm8jn6n.js → persistent-pty-yt0fqk68.js} +5 -5
- package/dist/chunks/{pty-dqsgs04j.js → persistent-pty-ytpw4txd.js} +11 -11
- package/dist/chunks/{pty-6qw955q2.js → persistent-pty-ytqvkck2.js} +5 -5
- package/dist/chunks/{pty-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{pty-0m1yaj0w.js → persistent-pty-z52a6mw5.js} +20 -20
- package/dist/chunks/{pty-29x78va6.js → persistent-pty-z63w68vq.js} +6 -6
- package/dist/chunks/{pty-72s2ce21.js → persistent-pty-ze9ygk7z.js} +9 -9
- package/dist/chunks/{pty-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{pty-e15f0xpb.js → persistent-pty-zq3sp2de.js} +28 -28
- package/dist/chunks/{pty-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{pty-t3gyxbgb.js → persistent-pty-zsphfh87.js} +16 -16
- package/dist/chunks/{pty-zxq2ej10.js → persistent-pty-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 +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +120 -120
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +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 +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +102 -102
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +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 +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- 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 +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 +87 -87
- 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 +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 +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +4 -4
- 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 +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 +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 +220 -220
- 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 +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 +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 +228 -228
- 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 +111 -111
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +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 +149 -149
- 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 +215 -215
- 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 +109 -109
- package/dist/snapshot.js +88 -88
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +1 -1
- 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 +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 +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- 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/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-ymeqjvqr.js +0 -492
- /package/dist/chunks/{pty-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{pty-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{pty-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID14,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./pty-
|
|
3
|
+
Service75,
|
|
4
|
+
node79
|
|
5
|
+
} from "./persistent-pty-jsqr29s7.js";
|
|
6
6
|
import {
|
|
7
7
|
ID13,
|
|
8
8
|
isAISDK2,
|
|
@@ -12,23 +12,23 @@ import {
|
|
|
12
12
|
modelSettings2,
|
|
13
13
|
mergeOverlay2,
|
|
14
14
|
mergeHeaders2,
|
|
15
|
+
Service74,
|
|
16
|
+
node78
|
|
17
|
+
} from "./persistent-pty-2hsgj57k.js";
|
|
18
|
+
import {
|
|
15
19
|
Service72,
|
|
16
20
|
node76
|
|
17
|
-
} from "./pty-
|
|
18
|
-
import {
|
|
19
|
-
Service46,
|
|
20
|
-
node48
|
|
21
|
-
} from "./pty-24q3h2ph.js";
|
|
21
|
+
} from "./persistent-pty-jsx9wcxe.js";
|
|
22
22
|
import {
|
|
23
23
|
ID12,
|
|
24
24
|
VariantID2,
|
|
25
25
|
Ref2,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./pty-
|
|
26
|
+
Service73,
|
|
27
|
+
node77
|
|
28
|
+
} from "./persistent-pty-e84rd1xk.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./pty-9rqn6x4v.js";
|
|
31
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/model-resolver.ts
|
|
34
34
|
var exports_model_resolver = {};
|
|
@@ -37,15 +37,15 @@ __export(exports_model_resolver, {
|
|
|
37
37
|
ModelConfigurationError: () => ModelConfigurationError3,
|
|
38
38
|
ModelInitializationError: () => ModelInitializationError3,
|
|
39
39
|
ModelResolver: () => exports_model_resolver,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service71,
|
|
41
41
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
42
42
|
UnsupportedCompactionError: () => UnsupportedCompactionError3,
|
|
43
43
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
44
44
|
VariantUnavailableError: () => VariantUnavailableError3,
|
|
45
45
|
fromCatalogModel: () => fromCatalogModel2,
|
|
46
46
|
hasPackage: () => hasPackage2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer23,
|
|
48
|
+
node: () => node75,
|
|
49
49
|
resolveModel: () => resolveModel2,
|
|
50
50
|
withVariant: () => withVariant2
|
|
51
51
|
});
|
|
@@ -118,7 +118,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
class
|
|
121
|
+
class Service71 extends Context.Service()("@opencode/ModelResolver") {
|
|
122
122
|
}
|
|
123
123
|
var withVariant2 = (model, variantID) => {
|
|
124
124
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -258,12 +258,12 @@ var causeMessage = (cause) => {
|
|
|
258
258
|
};
|
|
259
259
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
260
260
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
261
|
-
var
|
|
262
|
-
const providers = yield*
|
|
263
|
-
const models = yield*
|
|
264
|
-
const integrations = yield*
|
|
261
|
+
var layer23 = Layer.effect(Service71, Effect.gen(function* () {
|
|
262
|
+
const providers = yield* Service74;
|
|
263
|
+
const models = yield* Service73;
|
|
264
|
+
const integrations = yield* Service75;
|
|
265
265
|
const npm = yield* Npm.Service;
|
|
266
|
-
const aisdk = yield*
|
|
266
|
+
const aisdk = yield* Service72;
|
|
267
267
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
268
268
|
const provider = yield* providers.get(selected.providerID);
|
|
269
269
|
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
|
|
@@ -292,7 +292,7 @@ var layer18 = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
292
292
|
transport: provider?.settings?.transport
|
|
293
293
|
};
|
|
294
294
|
});
|
|
295
|
-
return
|
|
295
|
+
return Service71.of({
|
|
296
296
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
297
297
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
|
|
298
298
|
if (!selected)
|
|
@@ -309,10 +309,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
309
309
|
const name = packageName2(packageName);
|
|
310
310
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
311
311
|
}
|
|
312
|
-
var
|
|
313
|
-
service:
|
|
314
|
-
layer:
|
|
315
|
-
deps: [
|
|
312
|
+
var node75 = makeLocationNode({
|
|
313
|
+
service: Service71,
|
|
314
|
+
layer: layer23,
|
|
315
|
+
deps: [node78, node77, node79, Npm.node, node76]
|
|
316
316
|
});
|
|
317
317
|
|
|
318
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3,
|
|
318
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service71, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer23, node75, exports_model_resolver };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./pty-922hggd3.js";
|
|
3
|
+
} from "./persistent-pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./pty-
|
|
6
|
+
} from "./persistent-pty-k2h4r4s0.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./pty-
|
|
8
|
+
Info19
|
|
9
|
+
} from "./persistent-pty-6n88yxkj.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./pty-
|
|
11
|
+
Info15
|
|
12
|
+
} from "./persistent-pty-3w0fmcng.js";
|
|
13
13
|
import {
|
|
14
14
|
Info16
|
|
15
|
-
} from "./pty-b27vhd2z.js";
|
|
15
|
+
} from "./persistent-pty-b27vhd2z.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./pty-
|
|
17
|
+
Info17
|
|
18
|
+
} from "./persistent-pty-yt0fqk68.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./pty-
|
|
21
|
+
} from "./persistent-pty-2k8khapm.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./pty-
|
|
23
|
+
Info12
|
|
24
|
+
} from "./persistent-pty-qn4ba14w.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./pty-
|
|
26
|
+
Info11
|
|
27
|
+
} from "./persistent-pty-tvtydw96.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./pty-
|
|
36
|
+
} from "./persistent-pty-q8pxfdwq.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./pty-9rqn6x4v.js";
|
|
39
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info11.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info15, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info19, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info19, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info17, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info12, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./pty-emrn6kk6.js";
|
|
3
|
+
} from "./persistent-pty-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./pty-
|
|
6
|
+
} from "./persistent-pty-twca9fjq.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./pty-
|
|
9
|
+
} from "./persistent-pty-75q2ps1k.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -20,7 +20,7 @@ class EffectSQLiteDatabase2 extends SQLiteEffectDatabase2 {
|
|
|
20
20
|
static [entityKind] = "EffectSQLiteDatabase";
|
|
21
21
|
}
|
|
22
22
|
var DefaultServices2 = Layer.merge(EffectCache.Default, EffectLogger.Default);
|
|
23
|
-
var
|
|
23
|
+
var make22 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
|
|
24
24
|
const client = yield* SqlClient;
|
|
25
25
|
const cache = yield* EffectCache;
|
|
26
26
|
const logger = yield* EffectLogger;
|
|
@@ -37,6 +37,6 @@ var make23 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
|
|
|
37
37
|
db.$cache.invalidate = cache.onMutate;
|
|
38
38
|
return db;
|
|
39
39
|
});
|
|
40
|
-
var makeWithDefaults2 = (config = {}) =>
|
|
40
|
+
var makeWithDefaults2 = (config = {}) => make22(config).pipe(Effect.provide(DefaultServices2));
|
|
41
41
|
|
|
42
|
-
export { EffectSQLiteDatabase2, DefaultServices2,
|
|
42
|
+
export { EffectSQLiteDatabase2, DefaultServices2, make22, makeWithDefaults2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./pty-
|
|
4
|
+
} from "./persistent-pty-hmp6wt3x.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./pty-
|
|
8
|
+
} from "./persistent-pty-5c4hm403.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
|
-
|
|
12
|
-
} from "./pty-
|
|
11
|
+
load5
|
|
12
|
+
} from "./persistent-pty-tbgyadps.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./pty-
|
|
15
|
+
} from "./persistent-pty-a3r4dcrj.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./pty-9rqn6x4v.js";
|
|
18
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
|
-
ListInput: () =>
|
|
24
|
-
Service: () =>
|
|
23
|
+
ListInput: () => ListInput4,
|
|
24
|
+
Service: () => Service64,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node68
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -50,13 +50,13 @@ var ListProjectInput = Schema.Struct({
|
|
|
50
50
|
subpath: RelativePath.pipe(Schema.optional)
|
|
51
51
|
});
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
|
-
var
|
|
53
|
+
var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service64 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
58
58
|
const { db } = yield* Service83;
|
|
59
|
-
return
|
|
59
|
+
return Service64.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -98,7 +98,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
98
98
|
const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
|
|
99
99
|
return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
|
|
100
100
|
}),
|
|
101
|
-
context: Effect.fn("SessionStore.context")((sessionID) =>
|
|
101
|
+
context: Effect.fn("SessionStore.context")((sessionID) => load5(db, sessionID, "latest")),
|
|
102
102
|
message: Effect.fn("SessionStore.message")(function* (messageID) {
|
|
103
103
|
const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
|
|
104
104
|
return row ? {
|
|
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node68 = makeGlobalNode({ service: Service64, layer, deps: [node87] });
|
|
129
129
|
|
|
130
|
-
export {
|
|
130
|
+
export { ListInput4, Service64, node68, exports_store };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./pty-
|
|
4
|
+
} from "./persistent-pty-hmp6wt3x.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./pty-
|
|
8
|
+
} from "./persistent-pty-4e13r3ts.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./pty-
|
|
10
|
+
Service60,
|
|
11
|
+
node64
|
|
12
|
+
} from "./persistent-pty-tegs1ycp.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./pty-922hggd3.js";
|
|
16
|
+
} from "./persistent-pty-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./pty-
|
|
18
|
+
Service79,
|
|
19
|
+
node83
|
|
20
|
+
} from "./persistent-pty-sz24j28z.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./pty-
|
|
23
|
+
} from "./persistent-pty-n4j23rry.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./pty-
|
|
25
|
+
Service62,
|
|
26
|
+
node66
|
|
27
|
+
} from "./persistent-pty-7fmgbjr3.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./pty-gftt206x.js";
|
|
30
|
+
} from "./persistent-pty-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./pty-
|
|
32
|
+
NotFoundError9
|
|
33
|
+
} from "./persistent-pty-ybhbtxjg.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./pty-ec1grn59.js";
|
|
36
|
+
} from "./persistent-pty-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./pty-
|
|
38
|
+
Service58
|
|
39
|
+
} from "./persistent-pty-afdssyjb.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./pty-
|
|
41
|
+
Service64,
|
|
42
|
+
node68
|
|
43
|
+
} from "./persistent-pty-x5x7kcgs.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service59,
|
|
48
|
+
node63,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./pty-
|
|
50
|
+
} from "./persistent-pty-2wzrjk5c.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./pty-
|
|
52
|
+
Service57,
|
|
53
|
+
node62
|
|
54
|
+
} from "./persistent-pty-p52j3anj.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./pty-
|
|
56
|
+
node25
|
|
57
|
+
} from "./persistent-pty-qsx6xwjc.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./pty-9rqn6x4v.js";
|
|
60
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service21,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node24
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service21 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
91
|
+
const projects = yield* Service79;
|
|
92
|
+
const locations = yield* Service62;
|
|
93
|
+
const store = yield* Service64;
|
|
94
|
+
const execution = yield* Service57;
|
|
95
|
+
const instances = yield* Service60;
|
|
96
|
+
const admission = yield* Service59;
|
|
97
97
|
const database = yield* Service83;
|
|
98
98
|
const bus = yield* Service82;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError9({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service58.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service21.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node24 = makeGlobalNode({
|
|
167
|
+
service: Service21,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
172
|
+
node83,
|
|
173
|
+
node66,
|
|
174
|
+
node68,
|
|
175
|
+
node62,
|
|
176
|
+
node64,
|
|
177
|
+
node63,
|
|
178
178
|
node87,
|
|
179
179
|
node86,
|
|
180
|
-
|
|
180
|
+
node25
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service21, node24, exports_move };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./pty-fxgpk5d8.js";
|
|
3
|
+
} from "./persistent-pty-fxgpk5d8.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./pty-g4wezp1m.js";
|
|
6
|
+
} from "./persistent-pty-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./pty-x61499pn.js";
|
|
9
|
+
} from "./persistent-pty-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./pty-af5trqkr.js";
|
|
12
|
+
} from "./persistent-pty-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./pty-afrmfg78.js";
|
|
15
|
+
} from "./persistent-pty-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./pty-x0ckcb58.js";
|
|
18
|
+
} from "./persistent-pty-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./pty-
|
|
3
|
+
} from "./persistent-pty-4e13r3ts.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./pty-
|
|
5
|
+
Service69
|
|
6
|
+
} from "./persistent-pty-tfxzrdmk.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./pty-rdw6cm16.js";
|
|
12
|
+
} from "./persistent-pty-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service31,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./pty-
|
|
16
|
+
} from "./persistent-pty-dxj72tfx.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./pty-
|
|
21
|
+
} from "./persistent-pty-p513dnzd.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./pty-9rqn6x4v.js";
|
|
24
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
29
|
+
Event: () => Event3,
|
|
30
|
+
ID: () => ID3,
|
|
31
|
+
Info: () => Info3,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service31,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node17
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event3, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service82;
|
|
45
|
-
const kv = yield*
|
|
45
|
+
const kv = yield* Service69;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service31.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node17 = Node.makeLocationNode({
|
|
226
|
+
service: Service31,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node17, exports_plugin2, Event3, ID3, Info3, Source2, State2 };
|