@opencode/core 0.0.0-dev-19934 → 0.0.0-dev-19935
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/{persistent-pty-2gbsvbx5.js → pty-04tfxcdr.js} +12 -12
- package/dist/chunks/{persistent-pty-fvanntqq.js → pty-0gaj4617.js} +4 -4
- package/dist/chunks/{persistent-pty-eaj1djv9.js → pty-0gdmqesm.js} +8 -8
- package/dist/chunks/{persistent-pty-7fmgbjr3.js → pty-0kh0dn2a.js} +9 -9
- package/dist/chunks/{persistent-pty-z52a6mw5.js → pty-0m1yaj0w.js} +20 -20
- package/dist/chunks/{persistent-pty-hmp6wt3x.js → pty-0mp324rf.js} +3 -3
- package/dist/chunks/{persistent-pty-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{persistent-pty-sz24j28z.js → pty-0qjksd3p.js} +23 -23
- package/dist/chunks/{persistent-pty-8y3s9r1h.js → pty-10ztk21w.js} +3 -3
- package/dist/chunks/{persistent-pty-jdvrzx2t.js → pty-125gwrbg.js} +17 -17
- package/dist/chunks/{persistent-pty-rhraev7y.js → pty-1acjjqhc.js} +4 -4
- package/dist/chunks/{persistent-pty-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-6yh2fsej.js → pty-1jvwysfd.js} +21 -21
- package/dist/chunks/{persistent-pty-grhxn6he.js → pty-1ms15p6n.js} +27 -27
- package/dist/chunks/{persistent-pty-82ahnwkf.js → pty-1nsrs91v.js} +23 -23
- package/dist/chunks/{persistent-pty-w18y63wv.js → pty-1xj4prap.js} +23 -23
- package/dist/chunks/{persistent-pty-21r38tys.js → pty-21r38tys.js} +1 -1
- package/dist/chunks/{persistent-pty-jcz9anth.js → pty-21yscatf.js} +47 -47
- package/dist/chunks/{persistent-pty-rya495mf.js → pty-23yqmb8f.js} +9 -9
- package/dist/chunks/{persistent-pty-jsx9wcxe.js → pty-24q3h2ph.js} +9 -9
- package/dist/chunks/{persistent-pty-z63w68vq.js → pty-29x78va6.js} +6 -6
- package/dist/chunks/{persistent-pty-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-3w0fmcng.js → pty-2f0bjgcj.js} +5 -5
- package/dist/chunks/{persistent-pty-4pxrwfad.js → pty-2jn1a9mb.js} +24 -24
- package/dist/chunks/{persistent-pty-rr6jacvf.js → pty-2k0605zp.js} +43 -43
- package/dist/chunks/{persistent-pty-t71v2ka4.js → pty-2vgzs72b.js} +5 -5
- package/dist/chunks/{persistent-pty-fsy2n4n3.js → pty-2vtswabk.js} +9 -9
- package/dist/chunks/{persistent-pty-92xv3hjf.js → pty-2w9fymad.js} +17 -17
- package/dist/chunks/{persistent-pty-yr8p71ks.js → pty-2x41v6hj.js} +10 -10
- package/dist/chunks/{persistent-pty-t4nhm12y.js → pty-2xtspnhm.js} +7 -7
- package/dist/chunks/{persistent-pty-encztx8n.js → pty-2zqfv34k.js} +22 -22
- package/dist/chunks/{persistent-pty-dk2em0p3.js → pty-30jzjac2.js} +6 -6
- package/dist/chunks/{persistent-pty-k1gkpfdk.js → pty-37ea9c2d.js} +8 -8
- package/dist/chunks/{persistent-pty-vg6ckggx.js → pty-3dvt7t1w.js} +59 -59
- package/dist/chunks/{persistent-pty-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-69cccy7z.js → pty-3fhvbsdb.js} +15 -15
- package/dist/chunks/{persistent-pty-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-9c77jpjf.js → pty-3jd4ahw0.js} +1 -1
- package/dist/chunks/{persistent-pty-tegs1ycp.js → pty-3ppptnan.js} +6 -6
- package/dist/chunks/{persistent-pty-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-epqb7qpy.js → pty-3zgfwzda.js} +3 -3
- package/dist/chunks/{persistent-pty-deq2z4hf.js → pty-40rggeet.js} +5 -5
- package/dist/chunks/{persistent-pty-hv2snex1.js → pty-479h0rpz.js} +12 -12
- package/dist/chunks/{persistent-pty-ta417yjh.js → pty-487tjbbd.js} +24 -24
- package/dist/chunks/{persistent-pty-h6r3nrb9.js → pty-4dgbcxzg.js} +4 -4
- package/dist/chunks/{persistent-pty-7s8gb34t.js → pty-4ptcp2em.js} +26 -26
- package/dist/chunks/{persistent-pty-qr405v0d.js → pty-4ty2257w.js} +8 -8
- package/dist/chunks/{persistent-pty-qn4ba14w.js → pty-510m7gjw.js} +5 -5
- package/dist/chunks/{persistent-pty-yppwdz7t.js → pty-54c9gbn9.js} +9 -9
- package/dist/chunks/{persistent-pty-4acetgwp.js → pty-56c3q4gh.js} +2 -2
- package/dist/chunks/{persistent-pty-56gdpj1q.js → pty-56gdpj1q.js} +2 -2
- package/dist/chunks/{persistent-pty-p84dsdfh.js → pty-57e9z27j.js} +8 -8
- package/dist/chunks/{persistent-pty-9h0hyds4.js → pty-58mbwdrb.js} +17 -17
- package/dist/chunks/{persistent-pty-5daktx2q.js → pty-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-4vdcjjmt.js → pty-5p5kf06w.js} +13 -13
- package/dist/chunks/{persistent-pty-x5x7kcgs.js → pty-5s45kcve.js} +16 -16
- package/dist/chunks/{persistent-pty-hnac9jpe.js → pty-5s7v9c7v.js} +18 -18
- package/dist/chunks/{persistent-pty-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-jpxb4059.js → pty-5z94pt16.js} +11 -11
- package/dist/chunks/{persistent-pty-xjbekv6e.js → pty-61g3b1pw.js} +25 -25
- package/dist/chunks/{persistent-pty-669tq793.js → pty-669tq793.js} +1 -1
- package/dist/chunks/{persistent-pty-va45f1s8.js → pty-67s6xyqv.js} +30 -30
- package/dist/chunks/{persistent-pty-2402vzrj.js → pty-6h73sxmp.js} +5 -5
- package/dist/chunks/{persistent-pty-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{persistent-pty-aba8dj31.js → pty-6mwr1jqd.js} +15 -15
- package/dist/chunks/{persistent-pty-ytqvkck2.js → pty-6qw955q2.js} +5 -5
- package/dist/chunks/{persistent-pty-tnasdg6y.js → pty-729ex4wk.js} +32 -32
- package/dist/chunks/{persistent-pty-ze9ygk7z.js → pty-72s2ce21.js} +9 -9
- package/dist/chunks/{persistent-pty-71vt42kc.js → pty-772f7zcq.js} +3 -3
- package/dist/chunks/{persistent-pty-p52j3anj.js → pty-79wtkhdx.js} +37 -37
- package/dist/chunks/{persistent-pty-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-ysfwx83j.js → pty-7cge7rm7.js} +8 -8
- package/dist/chunks/{persistent-pty-2k8khapm.js → pty-7dqw4kz8.js} +5 -5
- package/dist/chunks/{persistent-pty-jsqr29s7.js → pty-7sttfjma.js} +24 -24
- package/dist/chunks/{persistent-pty-hq654dja.js → pty-7t45mvbd.js} +23 -23
- package/dist/chunks/{persistent-pty-d0fsejzd.js → pty-7y216y5p.js} +34 -34
- package/dist/chunks/{persistent-pty-kfgf5fep.js → pty-7zgazq3n.js} +26 -26
- package/dist/chunks/{persistent-pty-vmnj2x1v.js → pty-81jw091s.js} +34 -34
- package/dist/chunks/{persistent-pty-0ke265bw.js → pty-81swgkk7.js} +5 -5
- package/dist/chunks/{persistent-pty-9ex8f1cq.js → pty-89bb6baa.js} +8 -8
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-kkzayper.js → pty-8f1v9drm.js} +24 -24
- package/dist/chunks/{persistent-pty-0akym11d.js → pty-8gvkar91.js} +16 -16
- package/dist/chunks/{persistent-pty-dj2t23y0.js → pty-8p4f9s12.js} +2 -2
- package/dist/chunks/{persistent-pty-mg83pbjr.js → pty-8qh6anns.js} +8 -8
- package/dist/chunks/{persistent-pty-61h0qsnp.js → pty-8tr0qdz4.js} +8 -8
- package/dist/chunks/{persistent-pty-3ewed21c.js → pty-8tsdq50x.js} +4 -4
- package/dist/chunks/{persistent-pty-2rnnjxth.js → pty-8yf0cvxd.js} +7 -7
- package/dist/chunks/{persistent-pty-qryrftmh.js → pty-92s5ksem.js} +48 -48
- package/dist/chunks/{persistent-pty-p0h2c1j9.js → pty-94ycm6fd.js} +10 -10
- package/dist/chunks/{persistent-pty-68tggvtb.js → pty-9j4rwzvb.js} +11 -11
- package/dist/chunks/{persistent-pty-r4wc6fxm.js → pty-9q2chv03.js} +5 -5
- package/dist/chunks/{persistent-pty-qt5mdn6g.js → pty-9vj1cv01.js} +12 -12
- package/dist/chunks/{persistent-pty-tbgyadps.js → pty-9y446jqg.js} +11 -11
- package/dist/chunks/{persistent-pty-5c4hm403.js → pty-a1bz86dw.js} +3 -3
- package/dist/chunks/{persistent-pty-kftvnv3j.js → pty-a48s4pqa.js} +24 -24
- package/dist/chunks/{persistent-pty-75q2ps1k.js → pty-aads351p.js} +1 -1
- package/dist/chunks/{persistent-pty-aaet6srn.js → pty-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-5dbxvay1.js → pty-abb4bxme.js} +27 -27
- package/dist/chunks/{persistent-pty-6n88yxkj.js → pty-acp7khxw.js} +11 -11
- package/dist/chunks/{persistent-pty-4z7tbtat.js → pty-ajv9ph60.js} +6 -6
- package/dist/chunks/{persistent-pty-yt0fqk68.js → pty-avm8jn6n.js} +5 -5
- package/dist/chunks/{persistent-pty-twca9fjq.js → pty-b23z4qnb.js} +7 -7
- package/dist/chunks/{persistent-pty-b27vhd2z.js → pty-b27vhd2z.js} +1 -1
- package/dist/chunks/{persistent-pty-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-jexxy024.js → pty-ba07h9gm.js} +3 -3
- package/dist/chunks/{persistent-pty-btpphd88.js → pty-bc62gbf5.js} +26 -26
- package/dist/chunks/{persistent-pty-06dxphr1.js → pty-bccb6npm.js} +4 -4
- package/dist/chunks/{persistent-pty-vncycja5.js → pty-bf0ztrs3.js} +4 -4
- package/dist/chunks/{persistent-pty-ybhbtxjg.js → pty-bg2bzas4.js} +9 -9
- package/dist/chunks/{persistent-pty-n36xcpgr.js → pty-bm550x0b.js} +8 -8
- package/dist/chunks/{persistent-pty-5rfwsh5d.js → pty-br51nt48.js} +3 -3
- package/dist/chunks/{persistent-pty-jzphxtev.js → pty-c7byg8pj.js} +10 -10
- package/dist/chunks/{persistent-pty-1g2zd6q9.js → pty-c84hahnz.js} +3 -3
- package/dist/chunks/{persistent-pty-m0jqrx5p.js → pty-cfpkc3c9.js} +2 -2
- package/dist/chunks/{persistent-pty-a3r4dcrj.js → pty-cmkj70ft.js} +2 -2
- package/dist/chunks/{persistent-pty-nyacxbzj.js → pty-crc6eftr.js} +46 -46
- package/dist/chunks/{persistent-pty-n2eg1d0h.js → pty-crwbn2y9.js} +24 -24
- package/dist/chunks/{persistent-pty-4kg54np8.js → pty-d170h7tj.js} +19 -19
- package/dist/chunks/{persistent-pty-8hz3g5y0.js → pty-d21c9hyv.js} +19 -19
- package/dist/chunks/{persistent-pty-jtwa0aj6.js → pty-d4f5zm7n.js} +13 -13
- package/dist/chunks/{persistent-pty-xjebcb6c.js → pty-d5z7kk5f.js} +9 -9
- package/dist/chunks/{persistent-pty-de5mzfxd.js → pty-dep4keqg.js} +26 -26
- package/dist/chunks/{persistent-pty-26v7198b.js → pty-dgsc5ysd.js} +30 -30
- package/dist/chunks/{persistent-pty-s4mb84p1.js → pty-dmrxm1ex.js} +57 -57
- package/dist/chunks/{persistent-pty-ytpw4txd.js → pty-dqsgs04j.js} +11 -11
- package/dist/chunks/{persistent-pty-zq3sp2de.js → pty-e15f0xpb.js} +28 -28
- package/dist/chunks/{persistent-pty-e84rd1xk.js → pty-e1rbgcj4.js} +23 -23
- package/dist/chunks/{persistent-pty-5qd3pb7m.js → pty-e3qxr5gk.js} +2 -2
- package/dist/chunks/{persistent-pty-4yy5d4qw.js → pty-e3rw4ffc.js} +1 -1
- package/dist/chunks/{persistent-pty-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-nm55ymfc.js → pty-emwwjpt7.js} +19 -19
- package/dist/chunks/{persistent-pty-erw5rpbs.js → pty-erw5rpbs.js} +2 -2
- package/dist/chunks/{persistent-pty-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-k6w2t1ya.js → pty-f2btm3ds.js} +4 -4
- package/dist/chunks/{persistent-pty-hdnk95c8.js → pty-f828m53h.js} +2 -2
- package/dist/chunks/{persistent-pty-a7qcy6v8.js → pty-ffgm1r5f.js} +13 -13
- package/dist/chunks/{persistent-pty-9tx45s8b.js → pty-fkjaqdxa.js} +44 -44
- package/dist/chunks/{persistent-pty-63mpdmm6.js → pty-fnf91rh6.js} +30 -30
- package/dist/chunks/{persistent-pty-s9ax1raf.js → pty-ftbyp22j.js} +31 -31
- package/dist/chunks/{persistent-pty-6zthmp17.js → pty-ftffx8fq.js} +26 -26
- package/dist/chunks/{persistent-pty-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{persistent-pty-jfcm29bp.js → pty-fxv6f51q.js} +4 -4
- package/dist/chunks/{persistent-pty-j9vp638d.js → pty-fyynqrjc.js} +43 -43
- package/dist/chunks/{persistent-pty-mfs5sj5t.js → pty-fzdsdhyy.js} +9 -9
- package/dist/chunks/{persistent-pty-6p5ms1em.js → pty-g49r3ea3.js} +16 -16
- package/dist/chunks/{persistent-pty-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-78b8afjy.js → pty-gjyhvyzk.js} +11 -11
- package/dist/chunks/{persistent-pty-gxr7q3nf.js → pty-gmt621qa.js} +22 -22
- package/dist/chunks/{persistent-pty-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{persistent-pty-bmcyf7gj.js → pty-h5prsy26.js} +20 -20
- package/dist/chunks/{persistent-pty-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-j58c5xyq.js → pty-h71w788e.js} +9 -9
- package/dist/chunks/{persistent-pty-n4j23rry.js → pty-hgyhsn9t.js} +16 -16
- package/dist/chunks/{persistent-pty-x38sqvf4.js → pty-hkw89x8s.js} +6 -6
- package/dist/chunks/{persistent-pty-0rqdjtcb.js → pty-hm0swns8.js} +4 -4
- package/dist/chunks/{persistent-pty-afdssyjb.js → pty-hn57h045.js} +4 -4
- package/dist/chunks/{persistent-pty-tvc0b3mj.js → pty-hnrh7jv9.js} +11 -11
- package/dist/chunks/{persistent-pty-6tr59r50.js → pty-httfvynw.js} +15 -15
- package/dist/chunks/{persistent-pty-r2w5wzr7.js → pty-hvrxfwdm.js} +10 -10
- package/dist/chunks/{persistent-pty-patgj9rf.js → pty-j1mj860n.js} +9 -9
- package/dist/chunks/{persistent-pty-j56e64zr.js → pty-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-q8pxfdwq.js → pty-jsm1w6zq.js} +4 -4
- package/dist/chunks/{persistent-pty-sxn79y37.js → pty-jz9w4cgt.js} +9 -9
- package/dist/chunks/{persistent-pty-1w7qre35.js → pty-karrgenz.js} +33 -33
- package/dist/chunks/{persistent-pty-tfxzrdmk.js → pty-ke2bgdcy.js} +10 -10
- package/dist/chunks/{persistent-pty-k2h4r4s0.js → pty-kk00bynn.js} +21 -21
- package/dist/chunks/{persistent-pty-6vrsc7tt.js → pty-ks3r113m.js} +18 -18
- package/dist/chunks/{persistent-pty-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{persistent-pty-nqyhrfcc.js → pty-m9g140gf.js} +4 -4
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-r5zvm12r.js → pty-mm0y4phk.js} +2 -2
- package/dist/chunks/{persistent-pty-wk2ay995.js → pty-mp49sbvf.js} +27 -27
- package/dist/chunks/{persistent-pty-5rt7pep6.js → pty-mqbat9jp.js} +3 -3
- package/dist/chunks/{persistent-pty-t808dn5w.js → pty-mzbph88c.js} +35 -35
- package/dist/chunks/{persistent-pty-57sn279e.js → pty-n0m5xdp9.js} +10 -10
- package/dist/chunks/{persistent-pty-r2a07nrz.js → pty-n44333yt.js} +13 -13
- package/dist/chunks/{persistent-pty-hds23wzw.js → pty-ndkp1pbx.js} +18 -18
- package/dist/chunks/{persistent-pty-m2d0j7c0.js → pty-nq7qbqzc.js} +9 -9
- package/dist/chunks/{persistent-pty-ffw5jcp2.js → pty-nsvd1f8s.js} +18 -18
- package/dist/chunks/{persistent-pty-s4b84khr.js → pty-ny05sq48.js} +9 -9
- package/dist/chunks/{persistent-pty-k3c624dm.js → pty-nzks3jc8.js} +3 -3
- package/dist/chunks/{persistent-pty-tbz0fdvh.js → pty-p28j5sbe.js} +5 -5
- package/dist/chunks/{persistent-pty-wayd1cz3.js → pty-p6d074gg.js} +11 -11
- package/dist/chunks/{persistent-pty-xcrk435t.js → pty-pa29zzk8.js} +20 -20
- package/dist/chunks/{persistent-pty-p4a5cx5p.js → pty-pgadv6bt.js} +15 -15
- package/dist/chunks/{persistent-pty-2y34zzjz.js → pty-pjedbq3k.js} +4 -4
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-qsx6xwjc.js → pty-pkatsdp4.js} +18 -18
- package/dist/chunks/{persistent-pty-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-brg56pc6.js → pty-pnchrenk.js} +30 -30
- package/dist/chunks/{persistent-pty-xaftkv44.js → pty-ppt37g3q.js} +54 -54
- package/dist/chunks/{persistent-pty-qc5y93g2.js → pty-ps1arbjd.js} +28 -28
- package/dist/chunks/{persistent-pty-fwft7q1r.js → pty-ps4an3s3.js} +3 -3
- package/dist/chunks/{persistent-pty-mbgq0mmx.js → pty-q29thqgw.js} +6 -6
- package/dist/chunks/{persistent-pty-r72bb3g5.js → pty-q8n9d2sh.js} +8 -8
- package/dist/chunks/{persistent-pty-2wzrjk5c.js → pty-q9p4606t.js} +24 -24
- package/dist/chunks/{persistent-pty-d4he2qe1.js → pty-qmqgtz8f.js} +9 -9
- package/dist/chunks/{persistent-pty-xfkkasph.js → pty-qqeeq2t9.js} +7 -7
- package/dist/chunks/{persistent-pty-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-3gs18der.js → pty-qv3cmgwj.js} +22 -22
- package/dist/chunks/{persistent-pty-wcycnpg6.js → pty-qygprnkz.js} +11 -11
- package/dist/chunks/{persistent-pty-cwtvnkts.js → pty-r1dq1bn8.js} +8 -8
- package/dist/chunks/{persistent-pty-s8cev9wy.js → pty-r56jycby.js} +6 -6
- package/dist/chunks/{persistent-pty-mvfsc1pv.js → pty-r5x6zcsm.js} +3 -3
- package/dist/chunks/{persistent-pty-w65z2jz3.js → pty-r8f2g607.js} +8 -8
- package/dist/chunks/{persistent-pty-13f6jh0f.js → pty-r98b7zm4.js} +30 -30
- package/dist/chunks/{persistent-pty-tvtydw96.js → pty-rc72nxnw.js} +41 -41
- package/dist/chunks/{persistent-pty-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{persistent-pty-5531r29v.js → pty-rrtzm0z5.js} +25 -25
- package/dist/chunks/{persistent-pty-q3j5ebgq.js → pty-rscnw2jy.js} +17 -17
- package/dist/chunks/{persistent-pty-1ev3hptz.js → pty-rwmws8eb.js} +13 -13
- package/dist/chunks/{persistent-pty-bz85s9hh.js → pty-ryt7pzqc.js} +1 -1
- package/dist/chunks/{persistent-pty-p3x7gx7a.js → pty-rz6pad5v.js} +25 -25
- package/dist/chunks/{persistent-pty-qdwxcfza.js → pty-s1vgemc7.js} +9 -9
- package/dist/chunks/{persistent-pty-yrznvahk.js → pty-s4enseaf.js} +2 -2
- package/dist/chunks/{persistent-pty-xcjhgh37.js → pty-s6ymxyzv.js} +6 -6
- package/dist/chunks/{persistent-pty-65w3833t.js → pty-s7q0bjyb.js} +13 -13
- package/dist/chunks/{persistent-pty-s83kg3p0.js → pty-sc7m4xfj.js} +17 -17
- package/dist/chunks/{persistent-pty-41ssmn02.js → pty-sd0vhpay.js} +91 -91
- package/dist/chunks/{persistent-pty-bsgfsq91.js → pty-sf1tgbav.js} +12 -12
- package/dist/chunks/{persistent-pty-cv5frkqy.js → pty-sz5c3476.js} +1 -1
- package/dist/chunks/{persistent-pty-h4eh15d6.js → pty-t2qsjm8j.js} +20 -20
- package/dist/chunks/{persistent-pty-zsphfh87.js → pty-t3gyxbgb.js} +16 -16
- package/dist/chunks/{persistent-pty-431eg44t.js → pty-ta94ydyf.js} +10 -10
- package/dist/chunks/{persistent-pty-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-v4px02z6.js → pty-tbe9f1mn.js} +20 -20
- package/dist/chunks/{persistent-pty-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{persistent-pty-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-sqdxss6w.js → pty-tmdgs4qc.js} +11 -11
- package/dist/chunks/{persistent-pty-br0tr5aq.js → pty-tpw6cwsb.js} +8 -8
- package/dist/chunks/{persistent-pty-tvtrv512.js → pty-tvtrv512.js} +1 -1
- package/dist/chunks/{persistent-pty-fr9ym6sp.js → pty-tyxp03c1.js} +33 -33
- package/dist/chunks/pty-v1faaxn9.js +18 -0
- package/dist/chunks/{persistent-pty-w6qqzf7t.js → pty-v5g0yskm.js} +2 -2
- package/dist/chunks/{persistent-pty-mnaz46m9.js → pty-v9a7a4zt.js} +83 -83
- package/dist/chunks/{persistent-pty-b7r080c3.js → pty-vcbz1vdx.js} +15 -15
- package/dist/chunks/{persistent-pty-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-gnx4ytbv.js → pty-vkxpz7g2.js} +4 -4
- package/dist/chunks/{persistent-pty-gb9jw3zf.js → pty-vnr19yaz.js} +6 -6
- package/dist/chunks/{persistent-pty-rvt9ga0f.js → pty-vv67fzzf.js} +16 -16
- package/dist/chunks/{persistent-pty-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-2ym62d1y.js → pty-w4mwq8bs.js} +1 -1
- package/dist/chunks/{persistent-pty-0zkrmmra.js → pty-w60ddt80.js} +15 -15
- package/dist/chunks/{persistent-pty-74fmk9vn.js → pty-w9fkbwq5.js} +10 -10
- package/dist/chunks/{persistent-pty-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-qw85ht6d.js → pty-wgh0awmw.js} +32 -32
- package/dist/chunks/pty-wh560a5b.js +252 -0
- package/dist/chunks/{persistent-pty-ace40s22.js → pty-whhr0qbd.js} +7 -7
- package/dist/chunks/{persistent-pty-cdq49ytp.js → pty-wjv0bjkz.js} +27 -27
- package/dist/chunks/{persistent-pty-90y57r1y.js → pty-wmt2jdxs.js} +21 -21
- package/dist/chunks/{persistent-pty-wngp58at.js → pty-wx3n4hzp.js} +22 -22
- package/dist/chunks/{persistent-pty-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{persistent-pty-e8qyrgb1.js → pty-x2d9qy7d.js} +5 -5
- package/dist/chunks/{persistent-pty-vcdb3gbk.js → pty-x2xsxqnt.js} +1 -1
- package/dist/chunks/{persistent-pty-2hsgj57k.js → pty-x7tehcsj.js} +22 -22
- package/dist/chunks/{persistent-pty-r449bwkw.js → pty-x8ssrn04.js} +11 -11
- package/dist/chunks/{persistent-pty-mmmrdbr8.js → pty-xk4hfm6m.js} +11 -11
- package/dist/chunks/{persistent-pty-5h8807ma.js → pty-xnbn90dq.js} +17 -17
- package/dist/chunks/pty-xrsqh21y.js +4 -0
- package/dist/chunks/{persistent-pty-bph3v013.js → pty-xxs85xy1.js} +12 -12
- package/dist/chunks/{persistent-pty-td55jj2j.js → pty-xxz86ynf.js} +22 -22
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-4113bgx8.js → pty-y2eym35f.js} +8 -8
- package/dist/chunks/{persistent-pty-ab8cnxkj.js → pty-y5df08dr.js} +12 -12
- package/dist/chunks/{persistent-pty-h6jr292a.js → pty-y67gsgy6.js} +4 -4
- package/dist/chunks/{persistent-pty-dpkg50ah.js → pty-y71avatq.js} +4 -4
- package/dist/chunks/{persistent-pty-yqz4sd6t.js → pty-y8s8jbmk.js} +8 -8
- package/dist/chunks/{persistent-pty-3fs6smyb.js → pty-ydsbnknk.js} +11 -11
- package/dist/chunks/{persistent-pty-p513dnzd.js → pty-yensex2p.js} +145 -145
- package/dist/chunks/pty-ymeqjvqr.js +492 -0
- package/dist/chunks/{persistent-pty-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{persistent-pty-1p0trksj.js → pty-ywb2092b.js} +8 -8
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-4e13r3ts.js → pty-z8k7ba4y.js} +4 -4
- package/dist/chunks/{persistent-pty-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{persistent-pty-edwvx061.js → pty-znfg10s7.js} +4 -4
- package/dist/chunks/{persistent-pty-44ke2mar.js → pty-zqx8wcya.js} +4 -4
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{persistent-pty-6p7zr8ep.js → pty-zxv0wf82.js} +6 -6
- 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/persistent-pty-0mesazry.js +0 -4
- package/dist/chunks/persistent-pty-5kmakpsy.js +0 -492
- package/dist/chunks/persistent-pty-dxj72tfx.js +0 -18
- package/dist/chunks/persistent-pty-gfx0waae.js +0 -252
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-922hggd3.js → pty-922hggd3.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-twg0f83k.js → pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./pty-a48s4pqa.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./pty-dmrxm1ex.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./pty-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
14
|
var exports_agent2 = {};
|
|
15
15
|
__export(exports_agent2, {
|
|
16
16
|
AgentPlugin: () => exports_agent2,
|
|
17
|
-
Plugin: () =>
|
|
17
|
+
Plugin: () => Plugin43
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin43 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -100,13 +100,13 @@ var Plugin44 = define({
|
|
|
100
100
|
item.mode = "primary";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID8.make("general"), (item) => {
|
|
104
104
|
item.name = Name3.make("General");
|
|
105
105
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
106
106
|
item.mode = "subagent";
|
|
107
107
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
108
108
|
});
|
|
109
|
-
editor.update(
|
|
109
|
+
editor.update(ID8.make("explore"), (item) => {
|
|
110
110
|
const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
|
|
111
111
|
item.name = Name3.make("Explore");
|
|
112
112
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
@@ -125,19 +125,19 @@ var Plugin44 = define({
|
|
|
125
125
|
{ action: "subagent", resource: "*", effect: "deny" }
|
|
126
126
|
], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
|
|
127
127
|
});
|
|
128
|
-
editor.update(
|
|
128
|
+
editor.update(ID8.make("compaction"), (item) => {
|
|
129
129
|
item.name = Name3.make("Compaction");
|
|
130
130
|
item.mode = "primary";
|
|
131
131
|
item.hidden = true;
|
|
132
132
|
});
|
|
133
|
-
editor.update(
|
|
133
|
+
editor.update(ID8.make("title"), (item) => {
|
|
134
134
|
item.name = Name3.make("Title");
|
|
135
135
|
item.mode = "primary";
|
|
136
136
|
item.hidden = true;
|
|
137
137
|
item.system = PROMPT_TITLE;
|
|
138
138
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
139
139
|
});
|
|
140
|
-
editor.update(
|
|
140
|
+
editor.update(ID8.make("summary"), (item) => {
|
|
141
141
|
item.name = Name3.make("Summary");
|
|
142
142
|
item.mode = "primary";
|
|
143
143
|
item.hidden = true;
|
|
@@ -148,4 +148,4 @@ var Plugin44 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin43, exports_agent2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-ba07h9gm.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-bg2bzas4.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-0gdmqesm.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-a1bz86dw.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./pty-vkxpz7g2.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./pty-bccb6npm.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./pty-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -35,7 +35,7 @@ __export(exports_history, {
|
|
|
35
35
|
entriesForRunner: () => entriesForRunner2,
|
|
36
36
|
firstUserMessage: () => firstUserMessage2,
|
|
37
37
|
latestCompaction: () => latestCompaction2,
|
|
38
|
-
load: () =>
|
|
38
|
+
load: () => load4,
|
|
39
39
|
preview: () => preview2
|
|
40
40
|
});
|
|
41
41
|
import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
|
|
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
|
|
|
56
56
|
const native = entries.findLast((entry) => isCheckpoint2(entry.message));
|
|
57
57
|
return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var load4 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
|
|
60
60
|
return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
|
|
61
61
|
});
|
|
62
62
|
var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
|
|
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
|
|
|
92
92
|
return message?.type === "user" ? message : undefined;
|
|
93
93
|
});
|
|
94
94
|
|
|
95
|
-
export { latestCompaction2, decodeMessageRow2,
|
|
95
|
+
export { latestCompaction2, decodeMessageRow2, load4, entriesForRunner2, preview2, firstUserMessage2, exports_history };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-8p4f9s12.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-z8k7ba4y.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Agent: () =>
|
|
13
|
+
var exports_agent3 = {};
|
|
14
|
+
__export(exports_agent3, {
|
|
15
|
+
Agent: () => exports_agent3,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event9,
|
|
18
|
+
ID: () => ID8,
|
|
19
|
+
Info: () => Info11,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service52,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node54
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event9 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID8 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID8.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info11 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service52 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
42
42
|
const bus = yield* Service82;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info11.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID8.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service52.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID8.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID8.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node54 = makeLocationNode({ service: Service52, layer, deps: [node86, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID8, Name3, defaultID2, Color2, Info11, Service52, node54, exports_agent3, Event9 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./pty-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./pty-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-z8k7ba4y.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-t3gyxbgb.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError3,
|
|
20
|
+
Options: () => Options3,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
22
|
+
Service: () => Service33,
|
|
23
|
+
UnavailableError: () => UnavailableError2,
|
|
24
|
+
configured: () => configured3,
|
|
25
|
+
layer: () => layer13,
|
|
26
|
+
node: () => node36
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,21 +35,21 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options3 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service33 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service33, Effect.gen(function* () {
|
|
53
53
|
const bus = yield* Service82;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service51, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError3({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service51, Effect.gen(function* (
|
|
|
162
162
|
});
|
|
163
163
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
164
164
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
165
|
-
return yield* new
|
|
165
|
+
return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
|
|
166
166
|
const id = current.get(sessionID);
|
|
167
167
|
if (!id)
|
|
168
168
|
return null;
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service51, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service33.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service51, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
258
|
+
var layer13 = makeLayer();
|
|
259
|
+
var configured3 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service33,
|
|
261
|
+
layer: options === undefined ? layer13 : makeLayer(options),
|
|
262
262
|
deps: [node86, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node36 = configured3();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
|
-
var unexpected = (response) => Effect.fail(new
|
|
268
|
-
var unavailable = (error) => new
|
|
267
|
+
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
268
|
+
var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
|
|
269
269
|
var runtimeDirectory = () => {
|
|
270
270
|
const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
|
|
271
271
|
return path.join(root, crypto.randomUUID());
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options3, UnavailableError2, NotFoundError3, Service33, layer13, configured3, node36, exports_persistent_pty, Handoff2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info24
|
|
6
|
+
} from "./pty-kk00bynn.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigAgentV1: () =>
|
|
15
|
-
Info: () =>
|
|
12
|
+
var exports_agent4 = {};
|
|
13
|
+
__export(exports_agent4, {
|
|
14
|
+
ConfigAgentV1: () => exports_agent4,
|
|
15
|
+
Info: () => Info22
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info24)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info22 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info22, exports_agent4 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-gjyhvyzk.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service75
|
|
7
|
+
} from "./pty-bc62gbf5.js";
|
|
8
8
|
import {
|
|
9
9
|
ID14,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./pty-7sttfjma.js";
|
|
12
12
|
import {
|
|
13
13
|
ID13,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-x7tehcsj.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -69,7 +69,7 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
72
|
+
const credentials = yield* Service75;
|
|
73
73
|
yield* Effect.forEach(yield* credentials.list(ID14.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info23,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info23 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info23, exports_mcp5 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./pty-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./pty-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./pty-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./pty-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID9 = Session.ID;
|
|
5
|
+
var Info12 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID9, Info12, SessionSchema2 };
|