@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,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service68
|
|
7
|
+
} from "./pty-2k0605zp.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service66
|
|
13
|
+
} from "./pty-2jn1a9mb.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service59
|
|
16
|
+
} from "./pty-58mbwdrb.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service49
|
|
19
|
+
} from "./pty-dmrxm1ex.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service16,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./pty-5s7v9c7v.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./pty-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service62,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./pty-t3gyxbgb.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError7,
|
|
36
|
+
Service53
|
|
37
|
+
} from "./pty-crc6eftr.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service17
|
|
40
|
+
} from "./pty-sd0vhpay.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./pty-f2btm3ds.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./pty-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell = {};
|
|
50
50
|
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input3,
|
|
53
|
+
Plugin: () => Plugin3,
|
|
54
54
|
ShellTool: () => exports_shell,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name3
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name3 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input3 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin3 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service17;
|
|
122
|
+
const jobs = yield* Service59;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service66;
|
|
125
|
+
const access = yield* Service16;
|
|
126
|
+
const shell = yield* Service53;
|
|
127
|
+
const shellSelect = yield* Service62;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service49;
|
|
130
|
+
const config = yield* Service68;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin6 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name3,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin6 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name3,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input3,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin6 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError7({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name3,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
const hook = (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name3];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
260
260
|
})
|
|
261
261
|
};
|
|
262
262
|
|
|
263
|
-
export {
|
|
263
|
+
export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin3, exports_shell };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-gjyhvyzk.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin35,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint2 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin35 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin36 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint2, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin36 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint2, Plugin35, exports_firecrawl };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service69
|
|
3
|
+
} from "./pty-crwbn2y9.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service76
|
|
9
|
+
} from "./pty-hgyhsn9t.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service68
|
|
12
|
+
} from "./pty-2k0605zp.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
16
|
Source3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./pty-2zqfv34k.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service12
|
|
20
|
+
} from "./pty-nq7qbqzc.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./pty-vnr19yaz.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./pty-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
29
|
var exports_skill2 = {};
|
|
@@ -39,12 +39,12 @@ import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
|
39
39
|
var Plugin15 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service68;
|
|
43
|
+
const discovery = yield* Service12;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service76;
|
|
47
|
+
const watcher = yield* Service69;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured6,
|
|
11
|
+
layer: () => layer21,
|
|
12
|
+
make: () => make20,
|
|
13
|
+
node: () => node63,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make20()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make20(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make16(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer21 = (input) => Layer.succeed(Metadata2, make20(input));
|
|
32
|
+
var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer: layer21(input), deps: [] });
|
|
33
|
+
var node63 = configured6();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make20, useragent2, layer21, configured6, node63, exports_app };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service45,
|
|
6
|
+
node47
|
|
7
|
+
} from "./pty-mp49sbvf.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
13
|
var exports_generate2 = {};
|
|
14
14
|
__export(exports_generate2, {
|
|
15
15
|
Generate: () => exports_generate2,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
17
|
+
Service: () => Service34,
|
|
18
|
+
UnavailableError: () => UnavailableError3,
|
|
19
|
+
layer: () => layer14,
|
|
20
|
+
node: () => node37
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -27,17 +27,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
27
27
|
}) {
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
31
31
|
message: Schema.String,
|
|
32
32
|
service: Schema.optional(Schema.String)
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service34 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer14 = Layer.effect(Service34, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service45;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -47,28 +47,28 @@ var layer16 = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
47
47
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
48
48
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
49
49
|
], (error) => {
|
|
50
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
50
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
|
|
51
51
|
return Effect.fail(mapped);
|
|
52
52
|
}));
|
|
53
53
|
if (!resolved)
|
|
54
54
|
return yield* new ModelSelectionError2({
|
|
55
55
|
message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
|
|
56
56
|
});
|
|
57
|
-
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new
|
|
57
|
+
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError3({
|
|
58
58
|
message: error.message,
|
|
59
59
|
service: resolved.ref.providerID
|
|
60
60
|
})));
|
|
61
61
|
return response.text;
|
|
62
62
|
});
|
|
63
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
63
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
64
64
|
message: "Generation credentials are unavailable"
|
|
65
65
|
})));
|
|
66
|
-
return
|
|
66
|
+
return Service34.of({ text });
|
|
67
67
|
}));
|
|
68
|
-
var
|
|
69
|
-
service:
|
|
70
|
-
layer:
|
|
71
|
-
deps: [
|
|
68
|
+
var node37 = makeLocationNode({
|
|
69
|
+
service: Service34,
|
|
70
|
+
layer: layer14,
|
|
71
|
+
deps: [node47, llmClient2]
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { ModelSelectionError2,
|
|
74
|
+
export { ModelSelectionError2, UnavailableError3, Service34, layer14, node37, exports_generate2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node82
|
|
4
|
+
} from "./pty-e15f0xpb.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make18,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-0gdmqesm.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions3 = {};
|
|
17
|
+
__export(exports_instructions3, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions3,
|
|
19
|
+
Service: () => Service23,
|
|
20
|
+
node: () => node27
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,19 +57,19 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service23 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service78;
|
|
64
|
+
return Service23.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
72
|
-
key:
|
|
71
|
+
return make18({
|
|
72
|
+
key: Key3.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
75
75
|
render: {
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node27 = makeLocationNode({ service: Service23, layer, deps: [node82] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service23, node27, exports_instructions3 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service6,
|
|
13
|
+
node: () => node8
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service6 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service6.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node8 = makeGlobalNode({ service: Service6, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service6, node8, exports_update };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service77,
|
|
3
|
+
node81
|
|
4
|
+
} from "./pty-0qjksd3p.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info31,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref4,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service76,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node80,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info31, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service76 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref, options) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node80 = LayerNode.unbound(Service76, tags.values.location);
|
|
27
|
+
var layer = (ref, options) => Layer.effect(Service76, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service77;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory, options);
|
|
30
|
-
return
|
|
30
|
+
return Service76.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service78, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref, options) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service76,
|
|
39
39
|
layer: layer(ref, options),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node81]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info31, Ref4, response2, Service76, node80, boundNode2, exports_location };
|