@opencode-ai/core 0.0.0-dev-18704 → 0.0.0-dev-18708
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 +2 -2
- package/dist/agent.js +70 -70
- package/dist/aisdk-native.js +3 -3
- package/dist/aisdk.js +4 -4
- package/dist/app.js +2 -2
- package/dist/bus.js +68 -68
- package/dist/catalog.js +78 -78
- package/dist/chunks/{persistent-pty-02dbfq60.js → snapshot-02dbfq60.js} +1 -1
- package/dist/chunks/{persistent-pty-02f9w0t0.js → snapshot-02f9w0t0.js} +2 -2
- package/dist/chunks/{persistent-pty-ytmm4eg3.js → snapshot-04z16340.js} +10 -10
- package/dist/chunks/{persistent-pty-0687t5rp.js → snapshot-0687t5rp.js} +4 -4
- package/dist/chunks/{persistent-pty-aa4047bt.js → snapshot-088108r6.js} +11 -11
- package/dist/chunks/{persistent-pty-m0xcm5nq.js → snapshot-0by3mmbc.js} +4 -4
- package/dist/chunks/{persistent-pty-0d4mk87s.js → snapshot-0d4mk87s.js} +3 -3
- package/dist/chunks/{persistent-pty-ahjbn81e.js → snapshot-0dzkq4zw.js} +4 -4
- package/dist/chunks/{persistent-pty-0bhg94n7.js → snapshot-0ghf6sgm.js} +4 -4
- package/dist/chunks/{persistent-pty-0kvmztkf.js → snapshot-0kvmztkf.js} +1 -1
- package/dist/chunks/{persistent-pty-10p29vm9.js → snapshot-10p29vm9.js} +1 -1
- package/dist/chunks/{persistent-pty-15hpbjb6.js → snapshot-15hpbjb6.js} +1 -1
- package/dist/chunks/{persistent-pty-ewpm1cy6.js → snapshot-17se0em4.js} +6 -6
- package/dist/chunks/{persistent-pty-18pv8fg3.js → snapshot-18pv8fg3.js} +2 -2
- package/dist/chunks/{persistent-pty-pv3xrrr6.js → snapshot-22rc7a0v.js} +8 -8
- package/dist/chunks/{persistent-pty-264e1nfp.js → snapshot-264e1nfp.js} +2 -2
- package/dist/chunks/{persistent-pty-2m0hgr65.js → snapshot-2m0hgr65.js} +1 -1
- package/dist/chunks/{persistent-pty-2nmyybe0.js → snapshot-2nmyybe0.js} +1 -1
- package/dist/chunks/{persistent-pty-2pd1mgzx.js → snapshot-2pd1mgzx.js} +2 -2
- package/dist/chunks/{persistent-pty-07yx39w6.js → snapshot-31gspz3p.js} +2 -2
- package/dist/chunks/{persistent-pty-393a352g.js → snapshot-393a352g.js} +2 -2
- package/dist/chunks/{persistent-pty-3g8vftxb.js → snapshot-3g8vftxb.js} +2 -2
- package/dist/chunks/{persistent-pty-x4j6jx9f.js → snapshot-3nh85m90.js} +91 -87
- package/dist/chunks/{persistent-pty-1zwxx27z.js → snapshot-3p9k7bvd.js} +3 -3
- package/dist/chunks/{persistent-pty-6a4bsyka.js → snapshot-3t6ck0jc.js} +9 -9
- package/dist/chunks/{persistent-pty-3thh6229.js → snapshot-3thh6229.js} +2 -2
- package/dist/chunks/{persistent-pty-1qhjw2ds.js → snapshot-40drgvzz.js} +4 -4
- package/dist/chunks/{persistent-pty-41qzzbpz.js → snapshot-41qzzbpz.js} +1 -1
- package/dist/chunks/{persistent-pty-abja1edj.js → snapshot-4a1nfcxw.js} +10 -10
- package/dist/chunks/{persistent-pty-t9w4mq0b.js → snapshot-4de74446.js} +5 -5
- package/dist/chunks/{persistent-pty-4h896fer.js → snapshot-4h896fer.js} +2 -2
- package/dist/chunks/{persistent-pty-3c47jrvm.js → snapshot-4x7gqgdr.js} +6 -6
- package/dist/chunks/{persistent-pty-fc6c9bj5.js → snapshot-4y6pnx75.js} +3 -3
- package/dist/chunks/{persistent-pty-4zzdwbaz.js → snapshot-4zzdwbaz.js} +2 -2
- package/dist/chunks/{persistent-pty-94x18gnx.js → snapshot-5069ry97.js} +10 -10
- package/dist/chunks/{persistent-pty-50jxp3hw.js → snapshot-50jxp3hw.js} +1 -1
- package/dist/chunks/{persistent-pty-ga63pzdt.js → snapshot-54fj9yzx.js} +6 -6
- package/dist/chunks/{persistent-pty-57ej80dx.js → snapshot-57ej80dx.js} +2 -2
- package/dist/chunks/{persistent-pty-57tzwnz4.js → snapshot-57tzwnz4.js} +1 -1
- package/dist/chunks/{persistent-pty-58xdvehb.js → snapshot-58xdvehb.js} +1 -1
- package/dist/chunks/{persistent-pty-5fe026tx.js → snapshot-5fe026tx.js} +3 -3
- package/dist/chunks/{persistent-pty-wee7chc2.js → snapshot-5pzsvbdf.js} +4 -4
- package/dist/chunks/{persistent-pty-5rs65q6p.js → snapshot-5rs65q6p.js} +1 -1
- package/dist/chunks/{persistent-pty-5vcssjzn.js → snapshot-5vcssjzn.js} +1 -1
- package/dist/chunks/{persistent-pty-gjehdkn2.js → snapshot-61qfs2z5.js} +4 -4
- package/dist/chunks/{persistent-pty-xd1vdq01.js → snapshot-62950g7w.js} +2 -2
- package/dist/chunks/{persistent-pty-2r19qk3j.js → snapshot-69rxn1qb.js} +2 -2
- package/dist/chunks/snapshot-6ff5gsdz.js +207 -0
- package/dist/chunks/{persistent-pty-6ky7rqk7.js → snapshot-6ky7rqk7.js} +1 -1
- package/dist/chunks/{persistent-pty-6wkzvma0.js → snapshot-6wkzvma0.js} +2 -2
- package/dist/chunks/{persistent-pty-4ytgwq70.js → snapshot-72b3wh0z.js} +16 -16
- package/dist/chunks/{persistent-pty-7ccgh94t.js → snapshot-7ccgh94t.js} +4 -4
- package/dist/chunks/{persistent-pty-6kafwz0d.js → snapshot-7cz711vf.js} +4 -4
- package/dist/chunks/{persistent-pty-1dzrb874.js → snapshot-7ezyc67s.js} +9 -9
- package/dist/chunks/{persistent-pty-7mrpdsq5.js → snapshot-7mrpdsq5.js} +1 -1
- package/dist/chunks/{persistent-pty-0yyh8es2.js → snapshot-7n22qcw0.js} +6 -6
- package/dist/chunks/{persistent-pty-xttgdk4b.js → snapshot-7ndx8tvz.js} +11 -11
- package/dist/chunks/{persistent-pty-zd5cksee.js → snapshot-7rb7phgr.js} +15 -15
- package/dist/chunks/{persistent-pty-5tyxxdsr.js → snapshot-7t08kkhg.js} +2 -2
- package/dist/chunks/{persistent-pty-7wcmqxrc.js → snapshot-7wcmqxrc.js} +1 -1
- package/dist/chunks/{persistent-pty-ra9kxm7a.js → snapshot-7yrztfrs.js} +13 -13
- package/dist/chunks/{persistent-pty-nfzzkggw.js → snapshot-84n7jwd4.js} +14 -14
- package/dist/chunks/{persistent-pty-j9sfk0x9.js → snapshot-8mpm904y.js} +10 -10
- package/dist/chunks/{persistent-pty-y6bn3p5q.js → snapshot-8nt88kky.js} +31 -31
- package/dist/chunks/{persistent-pty-n4aw2y4f.js → snapshot-8qbttp74.js} +11 -11
- package/dist/chunks/{persistent-pty-t39dv4t8.js → snapshot-909a8pcb.js} +5 -5
- package/dist/chunks/{persistent-pty-ptcb3hgj.js → snapshot-956f8v07.js} +10 -10
- package/dist/chunks/{persistent-pty-yn4td71r.js → snapshot-97h4v86t.js} +4 -4
- package/dist/chunks/{persistent-pty-4fejty8y.js → snapshot-9ed488ep.js} +5 -5
- package/dist/chunks/{persistent-pty-9f0rnpkn.js → snapshot-9f0rnpkn.js} +1 -1
- package/dist/chunks/{persistent-pty-aze7eqjt.js → snapshot-9wramq2k.js} +34 -34
- package/dist/chunks/{persistent-pty-zdzrzw14.js → snapshot-9x32j97f.js} +9 -9
- package/dist/chunks/{persistent-pty-pkkgxrht.js → snapshot-9ysqm7gq.js} +3 -3
- package/dist/chunks/{persistent-pty-gzeezqzj.js → snapshot-a2g0ftc0.js} +44 -38
- package/dist/chunks/{persistent-pty-a7zp47hx.js → snapshot-a7zp47hx.js} +1 -1
- package/dist/chunks/{persistent-pty-tgarvkxw.js → snapshot-ambzzkps.js} +6 -6
- package/dist/chunks/{persistent-pty-ccfmsr2k.js → snapshot-at8b4xfb.js} +13 -13
- package/dist/chunks/{persistent-pty-bbhffenw.js → snapshot-bbhffenw.js} +3 -3
- package/dist/chunks/{persistent-pty-rbhr3g50.js → snapshot-bfdvssz8.js} +3 -3
- package/dist/chunks/{persistent-pty-bh1wr8rq.js → snapshot-bh1wr8rq.js} +2 -2
- package/dist/chunks/{persistent-pty-byab506k.js → snapshot-byab506k.js} +1 -1
- package/dist/chunks/{persistent-pty-7t3e2ep1.js → snapshot-c2w9gaqw.js} +24 -24
- package/dist/chunks/{persistent-pty-c4wcb9vc.js → snapshot-c4wcb9vc.js} +2 -2
- package/dist/chunks/{persistent-pty-p8ez4tw4.js → snapshot-c7pdmwyb.js} +9 -9
- package/dist/chunks/{persistent-pty-c8ya26sa.js → snapshot-c8ya26sa.js} +2 -2
- package/dist/chunks/{persistent-pty-7tqh2h7e.js → snapshot-cdfsnx0m.js} +5 -5
- package/dist/chunks/{persistent-pty-cgqn2mrm.js → snapshot-cgqn2mrm.js} +3 -3
- package/dist/chunks/{persistent-pty-rj9tjjtt.js → snapshot-cjefm0zp.js} +7 -7
- package/dist/chunks/{persistent-pty-1qvvp9by.js → snapshot-cmccdgw3.js} +11 -11
- package/dist/chunks/{persistent-pty-rdsy98c5.js → snapshot-cpnjcaxe.js} +13 -14
- package/dist/chunks/{persistent-pty-cpqd33tw.js → snapshot-cpqd33tw.js} +2 -2
- package/dist/chunks/{persistent-pty-d0bks71a.js → snapshot-cv9hzhhn.js} +3 -3
- package/dist/chunks/{persistent-pty-6vybht4p.js → snapshot-cxan2k7r.js} +9 -9
- package/dist/chunks/{persistent-pty-0zyzpev9.js → snapshot-czkt65ds.js} +4 -4
- package/dist/chunks/{persistent-pty-d2gk9vpf.js → snapshot-d2gk9vpf.js} +2 -2
- package/dist/chunks/{persistent-pty-d4h7vwhh.js → snapshot-d4h7vwhh.js} +2 -2
- package/dist/chunks/{persistent-pty-r6kz6k3q.js → snapshot-dczkak3f.js} +5 -5
- package/dist/chunks/{persistent-pty-dhphtf1x.js → snapshot-dhphtf1x.js} +1 -1
- package/dist/chunks/{persistent-pty-kys8y101.js → snapshot-dqxaevn6.js} +8 -8
- package/dist/chunks/{persistent-pty-dyj7wa6j.js → snapshot-dyj7wa6j.js} +3 -3
- package/dist/chunks/{persistent-pty-e1z9a0ts.js → snapshot-e1z9a0ts.js} +2 -2
- package/dist/chunks/{persistent-pty-eednhw9s.js → snapshot-e5s3352q.js} +4 -4
- package/dist/chunks/{persistent-pty-j6n4vpec.js → snapshot-e9k7ezd5.js} +3 -3
- package/dist/chunks/{persistent-pty-ec8vrfw5.js → snapshot-ec8vrfw5.js} +1 -1
- package/dist/chunks/{persistent-pty-3q8ejsnf.js → snapshot-en3dznrc.js} +3 -3
- package/dist/chunks/{persistent-pty-ep35cpen.js → snapshot-ep35cpen.js} +1 -1
- package/dist/chunks/{persistent-pty-ax28sn05.js → snapshot-esym60nh.js} +7 -7
- package/dist/chunks/{persistent-pty-etvrgfqj.js → snapshot-etvrgfqj.js} +1 -1
- package/dist/chunks/{persistent-pty-qy1mvzqy.js → snapshot-ev2z3fpb.js} +4 -4
- package/dist/chunks/{persistent-pty-tmex4pn7.js → snapshot-f5ewafqq.js} +17 -17
- package/dist/chunks/{persistent-pty-f9wt0tjw.js → snapshot-f9wt0tjw.js} +2 -2
- package/dist/chunks/{persistent-pty-w1aqehdd.js → snapshot-fbgz6kpj.js} +2 -2
- package/dist/chunks/{persistent-pty-fex42j86.js → snapshot-fex42j86.js} +1 -1
- package/dist/chunks/{persistent-pty-rd5nxsyz.js → snapshot-fgf9a806.js} +4 -4
- package/dist/chunks/{persistent-pty-tk0bj1t2.js → snapshot-fhr0pe4q.js} +7 -7
- package/dist/chunks/{persistent-pty-vwgfgczy.js → snapshot-fj694x29.js} +91 -91
- package/dist/chunks/{persistent-pty-fm3b2wbt.js → snapshot-fm3b2wbt.js} +2 -2
- package/dist/chunks/{persistent-pty-n1sb8exq.js → snapshot-fv2dv243.js} +4 -4
- package/dist/chunks/{persistent-pty-gxr0tsne.js → snapshot-fvfxwn0d.js} +5 -5
- package/dist/chunks/{persistent-pty-fvzd795v.js → snapshot-fvzd795v.js} +4 -4
- package/dist/chunks/{persistent-pty-93z4fmp7.js → snapshot-g3kv6jka.js} +5 -5
- package/dist/chunks/{persistent-pty-g68hwncr.js → snapshot-g68hwncr.js} +1 -1
- package/dist/chunks/{persistent-pty-15e2snwa.js → snapshot-g78v1sr0.js} +10 -10
- package/dist/chunks/{persistent-pty-4qnfex2p.js → snapshot-g9w6j4f4.js} +6 -6
- package/dist/chunks/{persistent-pty-gb1z7yet.js → snapshot-gb1z7yet.js} +2 -2
- package/dist/chunks/{persistent-pty-9ph7n1pk.js → snapshot-gc8r7re2.js} +3 -3
- package/dist/chunks/{persistent-pty-gcay93cp.js → snapshot-gcay93cp.js} +1 -1
- package/dist/chunks/{persistent-pty-6phh68ce.js → snapshot-gchmtfwy.js} +59 -59
- package/dist/chunks/{persistent-pty-gd2xppx8.js → snapshot-gd2xppx8.js} +1 -1
- package/dist/chunks/{persistent-pty-zf3tk2yb.js → snapshot-geq2d5bg.js} +3 -3
- package/dist/chunks/{persistent-pty-gz9s6gpj.js → snapshot-gz9s6gpj.js} +2 -2
- package/dist/chunks/{persistent-pty-b5fqjamb.js → snapshot-h191194t.js} +3 -3
- package/dist/chunks/{persistent-pty-h5wnyjzw.js → snapshot-h5wnyjzw.js} +3 -3
- package/dist/chunks/{persistent-pty-h6q26knr.js → snapshot-h6q26knr.js} +2 -2
- package/dist/chunks/{persistent-pty-h94zdhz8.js → snapshot-h94zdhz8.js} +2 -2
- package/dist/chunks/{persistent-pty-sxqyt7k5.js → snapshot-hctrtp5a.js} +4 -4
- package/dist/chunks/{persistent-pty-hgr9y616.js → snapshot-hgr9y616.js} +1 -1
- package/dist/chunks/{persistent-pty-kk7yzr61.js → snapshot-hh9mcd3w.js} +6 -6
- package/dist/chunks/{persistent-pty-qmz9vqw4.js → snapshot-hn0f7qz6.js} +5 -5
- package/dist/chunks/{persistent-pty-hp6rpdnc.js → snapshot-hp6rpdnc.js} +1 -1
- package/dist/chunks/{persistent-pty-emjj9yxv.js → snapshot-hp9zzwsy.js} +7 -7
- package/dist/chunks/{persistent-pty-gw09k194.js → snapshot-hy9za5qp.js} +3 -3
- package/dist/chunks/{persistent-pty-j0feex7e.js → snapshot-j0feex7e.js} +1 -1
- package/dist/chunks/{persistent-pty-j281xcgt.js → snapshot-j281xcgt.js} +3 -3
- package/dist/chunks/{persistent-pty-q51w8n2j.js → snapshot-j540978c.js} +37 -37
- package/dist/chunks/{persistent-pty-2tyg1vqw.js → snapshot-j6rccavm.js} +6 -6
- package/dist/chunks/{persistent-pty-n929awbe.js → snapshot-jb41pkjy.js} +13 -13
- package/dist/chunks/{persistent-pty-wdwm1239.js → snapshot-jgdt41jw.js} +3 -3
- package/dist/chunks/{persistent-pty-170p1cb8.js → snapshot-jgnhaxt3.js} +2 -2
- package/dist/chunks/{persistent-pty-mb5v4hhn.js → snapshot-jtvc31jj.js} +4 -4
- package/dist/chunks/{persistent-pty-g5tvq2z7.js → snapshot-jv2akzxs.js} +26 -6
- package/dist/chunks/{persistent-pty-6272rtjg.js → snapshot-k5e6kcej.js} +8 -15
- package/dist/chunks/{persistent-pty-k828h0dz.js → snapshot-k828h0dz.js} +4 -4
- package/dist/chunks/{persistent-pty-q3saj2pa.js → snapshot-kddr1d47.js} +7 -7
- package/dist/chunks/{persistent-pty-kg1345f7.js → snapshot-kg1345f7.js} +1 -1
- package/dist/chunks/{persistent-pty-kp1t5rcy.js → snapshot-kp1t5rcy.js} +1 -1
- package/dist/chunks/{persistent-pty-gged3mb9.js → snapshot-kwq78app.js} +3 -3
- package/dist/chunks/{persistent-pty-3h475m8t.js → snapshot-kwtbbg0b.js} +9 -9
- package/dist/chunks/{persistent-pty-kww0mg52.js → snapshot-kww0mg52.js} +1 -1
- package/dist/chunks/{persistent-pty-qv9hhpp5.js → snapshot-kwzmxcxp.js} +3 -3
- package/dist/chunks/{persistent-pty-mf0hyk7z.js → snapshot-mf0hyk7z.js} +1 -1
- package/dist/chunks/{persistent-pty-mnb85w6b.js → snapshot-mnb85w6b.js} +2 -2
- package/dist/chunks/{persistent-pty-mxvw03gv.js → snapshot-mxvw03gv.js} +1 -1
- package/dist/chunks/{persistent-pty-6zg7jjrd.js → snapshot-n3ganp4w.js} +4 -4
- package/dist/chunks/{persistent-pty-7gj3eerm.js → snapshot-n6ph9aa8.js} +4 -4
- package/dist/chunks/{persistent-pty-jhzcy2p5.js → snapshot-n7ha36ag.js} +10 -10
- package/dist/chunks/{persistent-pty-xr4f5ax8.js → snapshot-nb6nsz78.js} +149 -149
- package/dist/chunks/{persistent-pty-fjc3xefr.js → snapshot-ncm41sv7.js} +3 -3
- package/dist/chunks/{persistent-pty-7awf2zqy.js → snapshot-ngg7reh8.js} +4 -4
- package/dist/chunks/{persistent-pty-ngz3v23c.js → snapshot-ngz3v23c.js} +2 -2
- package/dist/chunks/{persistent-pty-npwkm078.js → snapshot-npwkm078.js} +1 -1
- package/dist/chunks/{persistent-pty-nr76rjj3.js → snapshot-nr76rjj3.js} +2 -2
- package/dist/chunks/{persistent-pty-ns0sdez7.js → snapshot-ns0sdez7.js} +3 -3
- package/dist/chunks/{persistent-pty-wf7trzdx.js → snapshot-nt266sny.js} +9 -9
- package/dist/chunks/{persistent-pty-vb58zpn6.js → snapshot-nvxf6hna.js} +6 -6
- package/dist/chunks/{persistent-pty-nzrjycs5.js → snapshot-nzrjycs5.js} +1 -1
- package/dist/chunks/{persistent-pty-af62ft4e.js → snapshot-p1cekw1a.js} +17 -17
- package/dist/chunks/{persistent-pty-hp6y8nf6.js → snapshot-pped2r51.js} +3 -3
- package/dist/chunks/{persistent-pty-pq4b4pqk.js → snapshot-pq4b4pqk.js} +2 -2
- package/dist/chunks/{persistent-pty-ps01fcq7.js → snapshot-ps01fcq7.js} +1 -1
- package/dist/chunks/{persistent-pty-65na1h6s.js → snapshot-pvetq075.js} +7 -7
- package/dist/chunks/{persistent-pty-x1pqj3g1.js → snapshot-q1eqnf6f.js} +3 -3
- package/dist/chunks/{persistent-pty-dd4x0px9.js → snapshot-q4a7ke7b.js} +5 -5
- package/dist/chunks/{persistent-pty-q606pcse.js → snapshot-q606pcse.js} +3 -3
- package/dist/chunks/{persistent-pty-q66tjefk.js → snapshot-q66tjefk.js} +2 -2
- package/dist/chunks/{persistent-pty-qe0d689s.js → snapshot-qe0d689s.js} +2 -2
- package/dist/chunks/{persistent-pty-cbv7bbyz.js → snapshot-qgqnvyc2.js} +12 -12
- package/dist/chunks/{persistent-pty-qwn30307.js → snapshot-qwn30307.js} +2 -2
- package/dist/chunks/{persistent-pty-a8e09ts2.js → snapshot-qzm7ebjd.js} +10 -10
- package/dist/chunks/{persistent-pty-9kn8f6an.js → snapshot-r1bkn0ez.js} +18 -18
- package/dist/chunks/{persistent-pty-r3k9abhd.js → snapshot-r3k9abhd.js} +2 -2
- package/dist/chunks/{persistent-pty-8g883nkb.js → snapshot-r966gb93.js} +10 -10
- package/dist/chunks/{persistent-pty-r9d3d23r.js → snapshot-r9d3d23r.js} +1 -1
- package/dist/chunks/{persistent-pty-rahat93a.js → snapshot-rahat93a.js} +1 -1
- package/dist/chunks/{persistent-pty-rdqmt1vp.js → snapshot-rdqmt1vp.js} +2 -2
- package/dist/chunks/{persistent-pty-rb3knyw0.js → snapshot-rgmx728j.js} +15 -15
- package/dist/chunks/{persistent-pty-rmjj1pjh.js → snapshot-rmjj1pjh.js} +2 -2
- package/dist/chunks/{persistent-pty-0dbr1r9c.js → snapshot-ryvmja2s.js} +8 -8
- package/dist/chunks/{persistent-pty-h3vgs59w.js → snapshot-s1e5khte.js} +2 -2
- package/dist/chunks/{persistent-pty-s2kjqxd3.js → snapshot-s2kjqxd3.js} +1 -1
- package/dist/chunks/{persistent-pty-s33fw6zm.js → snapshot-s33fw6zm.js} +1 -1
- package/dist/chunks/{persistent-pty-2d163v1v.js → snapshot-skqamp3z.js} +2 -2
- package/dist/chunks/{persistent-pty-smpeg8c9.js → snapshot-smpeg8c9.js} +2 -2
- package/dist/chunks/{persistent-pty-sw84ckhj.js → snapshot-sw84ckhj.js} +1 -1
- package/dist/chunks/{persistent-pty-34rpebb3.js → snapshot-szemg54b.js} +2 -2
- package/dist/chunks/{persistent-pty-t14kykx1.js → snapshot-t14kykx1.js} +1 -1
- package/dist/chunks/{persistent-pty-sc1dzyaa.js → snapshot-t1fxgcqj.js} +7 -7
- package/dist/chunks/{persistent-pty-qx8jjdtn.js → snapshot-t4gkvh68.js} +4 -4
- package/dist/chunks/{persistent-pty-t683wdge.js → snapshot-t683wdge.js} +2 -2
- package/dist/chunks/{persistent-pty-t6ma3p1k.js → snapshot-t6ma3p1k.js} +3 -3
- package/dist/chunks/{persistent-pty-fd59p3az.js → snapshot-tbffsskb.js} +11 -11
- package/dist/chunks/{persistent-pty-zt89z65e.js → snapshot-tfgh4jwn.js} +21 -8
- package/dist/chunks/{persistent-pty-thstd87d.js → snapshot-thstd87d.js} +1 -1
- package/dist/chunks/{persistent-pty-cj90afyr.js → snapshot-tjgf655h.js} +7 -7
- package/dist/chunks/{persistent-pty-tjrfm0xh.js → snapshot-tjrfm0xh.js} +2 -2
- package/dist/chunks/{persistent-pty-gfs4ghw3.js → snapshot-tk7cfzs1.js} +8 -8
- package/dist/chunks/{persistent-pty-je94n5yr.js → snapshot-tnqtpne4.js} +10 -10
- package/dist/chunks/{persistent-pty-tt4t8knh.js → snapshot-tw54geqb.js} +4 -4
- package/dist/chunks/{persistent-pty-v2wshkax.js → snapshot-v2wshkax.js} +1 -1
- package/dist/chunks/{persistent-pty-v80zsxnb.js → snapshot-v80zsxnb.js} +1 -1
- package/dist/chunks/{persistent-pty-ctjfmkzh.js → snapshot-v85bpf20.js} +1 -1
- package/dist/chunks/{persistent-pty-v972xay6.js → snapshot-v972xay6.js} +1 -1
- package/dist/chunks/{persistent-pty-v9bfv94f.js → snapshot-v9bfv94f.js} +1 -1
- package/dist/chunks/{persistent-pty-vcwr2vpf.js → snapshot-vcwr2vpf.js} +1 -1
- package/dist/chunks/{persistent-pty-c4h955ve.js → snapshot-vepz915t.js} +44 -40
- package/dist/chunks/{persistent-pty-vqbmgfq1.js → snapshot-vqbmgfq1.js} +3 -3
- package/dist/chunks/{persistent-pty-x8je57hj.js → snapshot-vs7w38c9.js} +8 -8
- package/dist/chunks/{persistent-pty-htrkat48.js → snapshot-vww5jjv0.js} +3 -3
- package/dist/chunks/{persistent-pty-vz89hfgr.js → snapshot-vz89hfgr.js} +1 -1
- package/dist/chunks/{persistent-pty-9hfbchjr.js → snapshot-vzhw870r.js} +21 -21
- package/dist/chunks/{persistent-pty-w385wtt6.js → snapshot-w385wtt6.js} +2 -2
- package/dist/chunks/{persistent-pty-wbkt8qpj.js → snapshot-wbkt8qpj.js} +1 -1
- package/dist/chunks/{persistent-pty-wmxdh12w.js → snapshot-wmxdh12w.js} +1 -1
- package/dist/chunks/{persistent-pty-wps8gh8n.js → snapshot-wps8gh8n.js} +2 -2
- package/dist/chunks/{persistent-pty-20pgdgj1.js → snapshot-wq4sv44h.js} +3 -3
- package/dist/chunks/{persistent-pty-wq5r9j83.js → snapshot-wq5r9j83.js} +2 -2
- package/dist/chunks/{persistent-pty-hb8hzzt1.js → snapshot-wrj4xyck.js} +6 -6
- package/dist/chunks/{persistent-pty-72bza8n1.js → snapshot-wtq6jd4d.js} +5 -5
- package/dist/chunks/{persistent-pty-1cp10rkm.js → snapshot-wvm1pwe0.js} +13 -13
- package/dist/chunks/{persistent-pty-50324w8t.js → snapshot-wvvhnme6.js} +6 -6
- package/dist/chunks/{persistent-pty-7b5fk8c8.js → snapshot-ww1vjbs7.js} +6 -6
- package/dist/chunks/{persistent-pty-ftt8xx6q.js → snapshot-x2z7j7c5.js} +7 -7
- package/dist/chunks/{persistent-pty-39gtwfqc.js → snapshot-x38pw2za.js} +2 -2
- package/dist/chunks/{persistent-pty-x89rah0x.js → snapshot-x89rah0x.js} +1 -1
- package/dist/chunks/{persistent-pty-x8ejds6g.js → snapshot-x8ejds6g.js} +4 -4
- package/dist/chunks/{persistent-pty-bw4xyd92.js → snapshot-x8nna4ym.js} +3 -3
- package/dist/chunks/{persistent-pty-rvrw414b.js → snapshot-x8ttdr67.js} +3 -3
- package/dist/chunks/{persistent-pty-5tm9czr3.js → snapshot-x9hzgfvp.js} +7 -7
- package/dist/chunks/{persistent-pty-xczfw7dq.js → snapshot-xczfw7dq.js} +1 -1
- package/dist/chunks/{persistent-pty-xgv25zxy.js → snapshot-xgv25zxy.js} +1 -1
- package/dist/chunks/{persistent-pty-xj0xhwdw.js → snapshot-xj0xhwdw.js} +1 -1
- package/dist/chunks/{persistent-pty-xwftk1fd.js → snapshot-xwftk1fd.js} +2 -2
- package/dist/chunks/{persistent-pty-xxpvz42q.js → snapshot-xxpvz42q.js} +3 -3
- package/dist/chunks/{persistent-pty-y0x38cee.js → snapshot-y0x38cee.js} +1 -1
- package/dist/chunks/{persistent-pty-fmbdrqgc.js → snapshot-y10dmm0x.js} +5 -5
- package/dist/chunks/{persistent-pty-y198y2ra.js → snapshot-y198y2ra.js} +1 -1
- package/dist/chunks/{persistent-pty-y67x6rf6.js → snapshot-y67x6rf6.js} +1 -1
- package/dist/chunks/{persistent-pty-yt02w91s.js → snapshot-yt02w91s.js} +2 -2
- package/dist/chunks/{persistent-pty-v1jb2arw.js → snapshot-z18kv4p2.js} +9 -9
- package/dist/chunks/{persistent-pty-1w6hzqp6.js → snapshot-z7b25mq1.js} +5 -5
- package/dist/chunks/{persistent-pty-zbqqnp0n.js → snapshot-zbqqnp0n.js} +1 -1
- package/dist/chunks/{persistent-pty-zdkg1k91.js → snapshot-zdkg1k91.js} +1 -1
- package/dist/chunks/{persistent-pty-adyjmtgr.js → snapshot-zf8h5pcg.js} +7 -7
- package/dist/chunks/{persistent-pty-4qp5kxcj.js → snapshot-zk7pmxkj.js} +4 -4
- package/dist/chunks/{persistent-pty-3bdbpvze.js → snapshot-zm939w8n.js} +5 -5
- package/dist/chunks/{persistent-pty-j56z6w09.js → snapshot-zsh1cj3f.js} +3 -3
- package/dist/chunks/{persistent-pty-e2v6zn83.js → snapshot-zvfpvgeq.js} +3 -3
- package/dist/chunks/{persistent-pty-zxe9jjhn.js → snapshot-zxe9jjhn.js} +2 -2
- package/dist/codemode/catalog.js +2 -2
- package/dist/codemode/instructions.js +4 -4
- package/dist/codemode/tool.js +3 -3
- package/dist/command.js +70 -70
- package/dist/config/markdown.js +2 -2
- package/dist/config/normalize.js +20 -20
- package/dist/config/plugin/agent.js +132 -132
- package/dist/config/plugin/command.js +118 -118
- package/dist/config/plugin/compaction.js +146 -146
- package/dist/config/plugin/entry-observer.js +114 -114
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +131 -131
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +116 -116
- package/dist/config/plugin/provider.js +115 -115
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +114 -114
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/variable.js +4 -4
- package/dist/config.js +113 -113
- package/dist/credential/sql.js +3 -3
- package/dist/credential.js +71 -71
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +13 -13
- package/dist/database/drizzle/effect-sqlite/index.js +13 -13
- package/dist/database/drizzle/effect-sqlite/session.js +12 -12
- package/dist/database/drizzle/index.js +14 -14
- package/dist/database/drizzle/internal/drizzle-utils.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/count.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/db.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/delete.js +3 -3
- package/dist/database/drizzle/sqlite-core/effect/index.js +16 -16
- package/dist/database/drizzle/sqlite-core/effect/insert.js +3 -3
- package/dist/database/drizzle/sqlite-core/effect/query.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/raw.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/select.js +3 -3
- package/dist/database/drizzle/sqlite-core/effect/session.js +11 -11
- package/dist/database/drizzle/sqlite-core/effect/update.js +3 -3
- package/dist/database/drizzle.js +15 -15
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +2 -2
- package/dist/database/migration/20260211171708_add_project_commands.js +2 -2
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +2 -2
- package/dist/database/migration/20260225215848_workspace.js +2 -2
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +2 -2
- package/dist/database/migration/20260228203230_blue_harpoon.js +2 -2
- package/dist/database/migration/20260303231226_add_workspace_fields.js +2 -2
- package/dist/database/migration/20260309230000_move_org_to_state.js +2 -2
- package/dist/database/migration/20260312043431_session_message_cursor.js +2 -2
- package/dist/database/migration/20260323234822_events.js +2 -2
- package/dist/database/migration/20260410174513_workspace-name.js +2 -2
- package/dist/database/migration/20260413175956_chief_energizer.js +2 -2
- package/dist/database/migration/20260423070820_add_icon_url_override.js +2 -2
- package/dist/database/migration/20260427172553_slow_nightmare.js +2 -2
- package/dist/database/migration/20260428004200_add_session_path.js +2 -2
- package/dist/database/migration/20260501142318_next_venus.js +2 -2
- package/dist/database/migration/20260504145000_add_sync_owner.js +2 -2
- package/dist/database/migration/20260507164347_add_workspace_time.js +2 -2
- package/dist/database/migration/20260510033149_session_usage.js +2 -2
- package/dist/database/migration/20260511000411_data_migration_state.js +2 -2
- package/dist/database/migration/20260511173437_session-metadata.js +2 -2
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +2 -2
- package/dist/database/migration/20260601202201_amazing_prowler.js +2 -2
- package/dist/database/migration/20260602002951_lowly_union_jack.js +2 -2
- package/dist/database/migration/20260602182828_add_project_directories.js +2 -2
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +2 -2
- package/dist/database/migration/20260603040000_session_message_projection_order.js +2 -2
- package/dist/database/migration/20260603141458_session_input_inbox.js +2 -2
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +2 -2
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +2 -2
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +2 -2
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +2 -2
- package/dist/database/migration/20260611035744_credential.js +2 -2
- package/dist/database/migration/20260611192811_lush_chimera.js +2 -2
- package/dist/database/migration/20260612174303_project_dir_strategy.js +2 -2
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +2 -2
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +2 -2
- package/dist/database/migration/20260622202450_simplify_session_input.js +2 -2
- package/dist/database/migration/20260804233008_loose_psylocke.js +2 -2
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +2 -2
- package/dist/database/migration/20260808023530_workspace_domain.js +2 -2
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +2 -2
- package/dist/database/migration/20260812181746_session_inbox.js +2 -2
- package/dist/database/migration/20260812213948_worktree.js +2 -2
- package/dist/database/migration/20260819222447_session_viewed_state.js +2 -2
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +2 -2
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +3 -3
- package/dist/database/schema.gen.js +2 -2
- package/dist/database/schema.sql.js +2 -2
- package/dist/database/sqlite.bun.js +2 -2
- package/dist/database/sqlite.js +2 -2
- package/dist/database/sqlite.node.js +2 -2
- package/dist/database/sqlite.workerd.js +2 -2
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +2 -2
- package/dist/database/v1-migration.noop.js +1 -1
- package/dist/effect/app-node-builder.js +340 -339
- package/dist/effect/app-node-platform.js +3 -3
- package/dist/effect/keyed-mutex.js +2 -2
- package/dist/effect/websocket-constructor.js +2 -2
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +91 -91
- package/dist/environment/exec-defaults.js +3 -3
- package/dist/environment/files.js +2 -2
- package/dist/environment/index.js +93 -93
- package/dist/environment/local.js +3 -3
- package/dist/environment/memory.js +3 -3
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +2 -2
- package/dist/event-logger.js +68 -68
- package/dist/file-mutation.js +92 -92
- package/dist/file-retention.js +2 -2
- package/dist/file.js +2 -2
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +2 -2
- 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 +3 -3
- package/dist/filesystem/location-watcher.js +314 -313
- package/dist/filesystem/protected.js +2 -2
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +2 -2
- package/dist/filesystem/watcher.js +4 -4
- package/dist/filesystem.js +97 -97
- package/dist/form.js +69 -69
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +85 -85
- package/dist/generate.js +84 -84
- package/dist/git.js +5 -5
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +2 -2
- package/dist/github-copilot/chat/get-response-metadata.js +2 -2
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +2 -2
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +8 -8
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +2 -2
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +2 -2
- package/dist/github-copilot/copilot-provider.js +20 -20
- package/dist/github-copilot/models.js +4 -4
- package/dist/github-copilot/openai-compatible-error.js +2 -2
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +2 -2
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +2 -2
- package/dist/github-copilot/responses/openai-error.js +2 -2
- package/dist/github-copilot/responses/openai-responses-language-model.js +11 -11
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +7 -7
- package/dist/github-copilot/responses/tool/code-interpreter.js +2 -2
- package/dist/github-copilot/responses/tool/file-search.js +2 -2
- package/dist/github-copilot/responses/tool/image-generation.js +2 -2
- package/dist/github-copilot/responses/tool/web-search-preview.js +2 -2
- package/dist/github-copilot/responses/tool/web-search.js +2 -2
- package/dist/id/id.js +2 -2
- package/dist/image/photon-wasm.bun.js +1 -1
- package/dist/image/photon-wasm.node.js +1 -1
- package/dist/image/photon-wasm.workerd.js +1 -1
- package/dist/image/photon.js +99 -99
- package/dist/image.js +99 -99
- package/dist/instance.js +339 -338
- package/dist/instruction-discovery.js +72 -72
- package/dist/instructions/builtins.js +85 -85
- package/dist/instructions/index.js +2 -2
- package/dist/integration/connection.js +2 -2
- package/dist/integration.js +75 -75
- package/dist/job.js +72 -72
- package/dist/kv/sql.js +3 -3
- package/dist/kv.js +68 -68
- package/dist/location-activity.js +85 -85
- package/dist/location-mutation.js +84 -84
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +340 -339
- package/dist/location.js +83 -83
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +98 -98
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +2 -2
- package/dist/model-resolver.js +81 -81
- package/dist/model.js +3 -3
- package/dist/models-dev.js +75 -75
- package/dist/oauth/page.js +2 -2
- package/dist/permission/saved.js +71 -71
- package/dist/permission/sql.js +6 -6
- package/dist/permission.js +100 -100
- package/dist/persistent-pty/binary.bun.js +2 -2
- package/dist/persistent-pty/binary.node.js +1 -1
- package/dist/persistent-pty/binary.workerd.js +1 -1
- package/dist/persistent-pty/daemon.js +2 -2
- package/dist/persistent-pty/index.js +73 -73
- package/dist/persistent-pty/pty-binding.js +2 -2
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +203 -202
- package/dist/plugin/instance.js +2 -2
- package/dist/plugin/internal.js +307 -307
- package/dist/plugin/mcp-codemode-exclusion.js +2 -2
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +3 -3
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +2 -2
- package/dist/plugin/provider/alibaba.js +3 -3
- package/dist/plugin/provider/amazon-bedrock.js +3 -3
- package/dist/plugin/provider/anthropic.js +3 -3
- package/dist/plugin/provider/azure.js +123 -123
- package/dist/plugin/provider/cerebras.js +3 -3
- package/dist/plugin/provider/cloudflare-ai-gateway.js +122 -122
- package/dist/plugin/provider/cloudflare-workers-ai.js +122 -122
- package/dist/plugin/provider/cohere.js +3 -3
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/dynamic.js +3 -3
- package/dist/plugin/provider/factory.js +2 -2
- package/dist/plugin/provider/gateway.js +3 -3
- package/dist/plugin/provider/github-copilot.js +82 -82
- package/dist/plugin/provider/gitlab.js +4 -4
- package/dist/plugin/provider/google-vertex.js +3 -3
- package/dist/plugin/provider/kilo.js +3 -3
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/mistral.js +3 -3
- package/dist/plugin/provider/nvidia.js +3 -3
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai-compatible.js +2 -2
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +93 -93
- package/dist/plugin/provider/openrouter.js +4 -4
- package/dist/plugin/provider/perplexity.js +3 -3
- package/dist/plugin/provider/sap-ai-core.js +4 -4
- package/dist/plugin/provider/sdk-factory.js +2 -2
- package/dist/plugin/provider/snowflake-cortex.js +3 -3
- package/dist/plugin/provider/venice.js +3 -3
- package/dist/plugin/provider/vercel.js +3 -3
- package/dist/plugin/provider/vllm.js +120 -120
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +3 -3
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/runtime.js +190 -190
- package/dist/plugin/sdk.js +69 -69
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +4 -2
- package/dist/plugin/supervisor-service.js +2 -2
- package/dist/plugin/supervisor.js +313 -312
- package/dist/plugin/system-prompt.js +2 -2
- package/dist/plugin/variant.js +3 -3
- package/dist/plugin/vcs/git.js +87 -87
- package/dist/plugin/vcs/hg.js +87 -87
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +4 -4
- package/dist/plugin/websearch/firecrawl.js +5 -5
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +3 -3
- package/dist/plugin/websearch/parallel.js +5 -5
- package/dist/plugin/websearch/tavily.js +3 -3
- package/dist/plugin.js +206 -203
- package/dist/project/markers.js +74 -74
- package/dist/project/schema.js +3 -3
- package/dist/project/sql.js +5 -5
- package/dist/project.js +82 -82
- package/dist/provider.js +2 -2
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/pty.bun.js +1 -1
- package/dist/pty/pty.node.js +1 -1
- package/dist/pty/pty.workerd.js +1 -1
- package/dist/pty/schema.js +2 -2
- package/dist/pty/ticket.js +2 -2
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +77 -77
- package/dist/reference.js +75 -75
- package/dist/repository-cache.js +7 -7
- package/dist/repository.js +2 -2
- package/dist/ripgrep/binary.js +3 -3
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +95 -0
- package/dist/schema.js +2 -2
- package/dist/session/compaction.js +118 -118
- package/dist/session/context.js +323 -322
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +4 -4
- package/dist/session/event.js +2 -2
- package/dist/session/execution/restart.js +189 -189
- package/dist/session/execution.js +122 -122
- package/dist/session/generate-node.js +324 -323
- package/dist/session/generate.js +2 -2
- package/dist/session/history.js +77 -77
- package/dist/session/inbox.js +77 -77
- package/dist/session/info.js +4 -4
- package/dist/session/instruction-entry.js +73 -73
- package/dist/session/instruction-state.js +10 -10
- package/dist/session/instructions.js +94 -94
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +2 -2
- package/dist/session/model-request.js +139 -139
- package/dist/session/model-transport.js +5 -5
- package/dist/session/projector.js +83 -83
- package/dist/session/prompt-node.js +314 -313
- package/dist/session/prompt.js +119 -119
- package/dist/session/revert-node.js +314 -313
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +2 -2
- package/dist/session/runner/index.js +84 -84
- package/dist/session/runner/llm.js +329 -328
- package/dist/session/runner/max-steps.js +2 -2
- package/dist/session/runner/model.js +83 -83
- package/dist/session/runner/publish-llm-event.js +4 -4
- package/dist/session/runner/retry.js +72 -72
- package/dist/session/runner/step.js +148 -148
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +2 -2
- package/dist/session/session.js +174 -174
- package/dist/session/sql.js +6 -6
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +79 -79
- package/dist/session/subagent-completion.js +2 -2
- package/dist/session/system-prompt.js +2 -2
- package/dist/session/title.js +324 -323
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +188 -188
- package/dist/session/usage.js +2 -2
- package/dist/session.js +185 -185
- package/dist/shell/parse.js +7 -7
- package/dist/shell/parser-wasm.bun.js +1 -1
- package/dist/shell/parser-wasm.node.js +1 -1
- package/dist/shell/parser-wasm.workerd.js +1 -1
- package/dist/shell/result.js +2 -2
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +4 -4
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +3 -3
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +101 -101
- package/dist/snapshot.js +85 -85
- package/dist/state.js +2 -2
- package/dist/tool/html-markdown.js +2 -2
- package/dist/tool/http-body.js +2 -2
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +113 -113
- package/dist/tool/plugin/file-diff.js +2 -2
- package/dist/tool/plugin/glob.js +116 -116
- package/dist/tool/plugin/grep.js +116 -116
- package/dist/tool/plugin/patch.js +113 -113
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +193 -193
- package/dist/tool/plugin/skill.js +102 -102
- package/dist/tool/plugin/subagent.js +192 -192
- package/dist/tool/plugin/webfetch.js +103 -103
- package/dist/tool/plugin/websearch.js +105 -105
- package/dist/tool/plugin/write.js +113 -113
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +2 -2
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +119 -119
- package/dist/types/instance.d.ts +3 -2
- package/dist/types/location-service-map.d.ts +2 -2
- package/dist/types/plugin/host.d.ts +13 -34
- package/dist/types/plugin/module.d.ts +1 -1
- package/dist/types/plugin/source-directory.d.ts +2 -1
- package/dist/types/plugin.d.ts +8 -4
- package/dist/types/rpc.d.ts +15 -0
- package/dist/util/array.js +1 -1
- package/dist/util/error.js +2 -2
- package/dist/util/identifier.js +1 -1
- package/dist/util/iife.js +2 -2
- package/dist/util/lazy.js +2 -2
- package/dist/util/process-lock-ffi.bun.js +1 -1
- package/dist/util/process-lock-ffi.node.js +1 -1
- package/dist/util/process-lock-ffi.workerd.js +1 -1
- package/dist/util/process-lock.js +1 -1
- package/dist/util/slug.js +2 -2
- package/dist/util/token.js +2 -2
- package/dist/util/which.js +2 -2
- package/dist/util/wildcard.js +2 -2
- package/dist/v1/config/agent.js +4 -4
- package/dist/v1/config/attachment.js +3 -3
- package/dist/v1/config/command.js +2 -2
- package/dist/v1/config/config.js +15 -15
- package/dist/v1/config/error.js +3 -3
- package/dist/v1/config/formatter.js +2 -2
- package/dist/v1/config/layout.js +2 -2
- package/dist/v1/config/lsp.js +2 -2
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +19 -19
- package/dist/v1/config/permission.js +2 -2
- package/dist/v1/config/plugin.js +2 -2
- package/dist/v1/config/provider-options.js +2 -2
- package/dist/v1/config/provider.js +3 -3
- package/dist/v1/config/server.js +3 -3
- package/dist/v1/config/skills.js +2 -2
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +2 -2
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +73 -73
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +72 -72
- package/dist/workspace/driver.js +2 -2
- package/dist/workspace/sql.js +2 -2
- package/dist/workspace.js +69 -69
- package/dist/worktree/directory.js +3 -3
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/sql.js +6 -6
- package/dist/worktree.js +87 -87
- package/package.json +7 -7
- /package/dist/chunks/{persistent-pty-0cgt0xh2.js → snapshot-0cgt0xh2.js} +0 -0
- /package/dist/chunks/{persistent-pty-0f48qthw.js → snapshot-0f48qthw.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zz82cjq.js → snapshot-0zz82cjq.js} +0 -0
- /package/dist/chunks/{persistent-pty-1fb7bmpf.js → snapshot-1fb7bmpf.js} +0 -0
- /package/dist/chunks/{persistent-pty-1wcz8fvj.js → snapshot-1wcz8fvj.js} +0 -0
- /package/dist/chunks/{persistent-pty-29n7vfk2.js → snapshot-29n7vfk2.js} +0 -0
- /package/dist/chunks/{persistent-pty-2qdx6zz3.js → snapshot-2qdx6zz3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2xb0r1c6.js → snapshot-2xb0r1c6.js} +0 -0
- /package/dist/chunks/{persistent-pty-39ktntah.js → snapshot-39ktntah.js} +0 -0
- /package/dist/chunks/{persistent-pty-3g3rpp2x.js → snapshot-3g3rpp2x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w3ybtfd.js → snapshot-3w3ybtfd.js} +0 -0
- /package/dist/chunks/{persistent-pty-47ty4mvs.js → snapshot-47ty4mvs.js} +0 -0
- /package/dist/chunks/{persistent-pty-4b2tz2m9.js → snapshot-4b2tz2m9.js} +0 -0
- /package/dist/chunks/{persistent-pty-5a5ch9ts.js → snapshot-5a5ch9ts.js} +0 -0
- /package/dist/chunks/{persistent-pty-5va1yh78.js → snapshot-5va1yh78.js} +0 -0
- /package/dist/chunks/{persistent-pty-61ek4hj9.js → snapshot-61ek4hj9.js} +0 -0
- /package/dist/chunks/{persistent-pty-69qrqpw0.js → snapshot-69qrqpw0.js} +0 -0
- /package/dist/chunks/{persistent-pty-6zqxzw0a.js → snapshot-6zqxzw0a.js} +0 -0
- /package/dist/chunks/{persistent-pty-7n9qwqk4.js → snapshot-7n9qwqk4.js} +0 -0
- /package/dist/chunks/{persistent-pty-8nn8kqcn.js → snapshot-8nn8kqcn.js} +0 -0
- /package/dist/chunks/{persistent-pty-8rpfd2h6.js → snapshot-8rpfd2h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-8sj3ajy5.js → snapshot-8sj3ajy5.js} +0 -0
- /package/dist/chunks/{persistent-pty-8w9tzfz1.js → snapshot-8w9tzfz1.js} +0 -0
- /package/dist/chunks/{persistent-pty-906y0b6d.js → snapshot-906y0b6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-9dct5xhx.js → snapshot-9dct5xhx.js} +0 -0
- /package/dist/chunks/{persistent-pty-9maxscqf.js → snapshot-9maxscqf.js} +0 -0
- /package/dist/chunks/{persistent-pty-9sdtsapf.js → snapshot-9sdtsapf.js} +0 -0
- /package/dist/chunks/{persistent-pty-a02svayp.js → snapshot-a02svayp.js} +0 -0
- /package/dist/chunks/{persistent-pty-a83yvq99.js → snapshot-a83yvq99.js} +0 -0
- /package/dist/chunks/{persistent-pty-ayevdmef.js → snapshot-ayevdmef.js} +0 -0
- /package/dist/chunks/{persistent-pty-b02txbh8.js → snapshot-b02txbh8.js} +0 -0
- /package/dist/chunks/{persistent-pty-bbqs2y60.js → snapshot-bbqs2y60.js} +0 -0
- /package/dist/chunks/{persistent-pty-bjwj8hwv.js → snapshot-bjwj8hwv.js} +0 -0
- /package/dist/chunks/{persistent-pty-brsh5f65.js → snapshot-brsh5f65.js} +0 -0
- /package/dist/chunks/{persistent-pty-bxdhjb3y.js → snapshot-bxdhjb3y.js} +0 -0
- /package/dist/chunks/{persistent-pty-c77ad0vh.js → snapshot-c77ad0vh.js} +0 -0
- /package/dist/chunks/{persistent-pty-cm67rqy2.js → snapshot-cm67rqy2.js} +0 -0
- /package/dist/chunks/{persistent-pty-df3v2q6j.js → snapshot-df3v2q6j.js} +0 -0
- /package/dist/chunks/{persistent-pty-dhcq6c44.js → snapshot-dhcq6c44.js} +0 -0
- /package/dist/chunks/{persistent-pty-dht5baf0.js → snapshot-dht5baf0.js} +0 -0
- /package/dist/chunks/{persistent-pty-dkmkay92.js → snapshot-dkmkay92.js} +0 -0
- /package/dist/chunks/{persistent-pty-ehj9csmv.js → snapshot-ehj9csmv.js} +0 -0
- /package/dist/chunks/{persistent-pty-em6xpscd.js → snapshot-em6xpscd.js} +0 -0
- /package/dist/chunks/{persistent-pty-emmqknsm.js → snapshot-emmqknsm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ezs3tagn.js → snapshot-ezs3tagn.js} +0 -0
- /package/dist/chunks/{persistent-pty-f14r7hfz.js → snapshot-f14r7hfz.js} +0 -0
- /package/dist/chunks/{persistent-pty-f1jj19e8.js → snapshot-f1jj19e8.js} +0 -0
- /package/dist/chunks/{persistent-pty-f4cp4g4a.js → snapshot-f4cp4g4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypg4r1.js → snapshot-faypg4r1.js} +0 -0
- /package/dist/chunks/{persistent-pty-fg7fz4q3.js → snapshot-fg7fz4q3.js} +0 -0
- /package/dist/chunks/{persistent-pty-fgbfdq62.js → snapshot-fgbfdq62.js} +0 -0
- /package/dist/chunks/{persistent-pty-g23fad86.js → snapshot-g23fad86.js} +0 -0
- /package/dist/chunks/{persistent-pty-gd5xeqc2.js → snapshot-gd5xeqc2.js} +0 -0
- /package/dist/chunks/{persistent-pty-ghm4673n.js → snapshot-ghm4673n.js} +0 -0
- /package/dist/chunks/{persistent-pty-ghwjy7my.js → snapshot-ghwjy7my.js} +0 -0
- /package/dist/chunks/{persistent-pty-gy500k2r.js → snapshot-gy500k2r.js} +0 -0
- /package/dist/chunks/{persistent-pty-hzeg9cfr.js → snapshot-hzeg9cfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-j07kk359.js → snapshot-j07kk359.js} +0 -0
- /package/dist/chunks/{persistent-pty-j32vdj8r.js → snapshot-j32vdj8r.js} +0 -0
- /package/dist/chunks/{persistent-pty-jqms80b0.js → snapshot-jqms80b0.js} +0 -0
- /package/dist/chunks/{persistent-pty-jve7t217.js → snapshot-jve7t217.js} +0 -0
- /package/dist/chunks/{persistent-pty-k3e42drn.js → snapshot-k3e42drn.js} +0 -0
- /package/dist/chunks/{persistent-pty-k8b45nas.js → snapshot-k8b45nas.js} +0 -0
- /package/dist/chunks/{persistent-pty-kpdbz7gn.js → snapshot-kpdbz7gn.js} +0 -0
- /package/dist/chunks/{persistent-pty-kxy11nzk.js → snapshot-kxy11nzk.js} +0 -0
- /package/dist/chunks/{persistent-pty-kyyqvx4s.js → snapshot-kyyqvx4s.js} +0 -0
- /package/dist/chunks/{persistent-pty-m8cbvarh.js → snapshot-m8cbvarh.js} +0 -0
- /package/dist/chunks/{persistent-pty-ma60vzgv.js → snapshot-ma60vzgv.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3m50c2t.js → snapshot-n3m50c2t.js} +0 -0
- /package/dist/chunks/{persistent-pty-n6ag8q95.js → snapshot-n6ag8q95.js} +0 -0
- /package/dist/chunks/{persistent-pty-nkm1m8dz.js → snapshot-nkm1m8dz.js} +0 -0
- /package/dist/chunks/{persistent-pty-nsc0c3zb.js → snapshot-nsc0c3zb.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaarhjrp.js → snapshot-qaarhjrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-qc167nrn.js → snapshot-qc167nrn.js} +0 -0
- /package/dist/chunks/{persistent-pty-qp95y4jb.js → snapshot-qp95y4jb.js} +0 -0
- /package/dist/chunks/{persistent-pty-r8f4w671.js → snapshot-r8f4w671.js} +0 -0
- /package/dist/chunks/{persistent-pty-rdfev9jy.js → snapshot-rdfev9jy.js} +0 -0
- /package/dist/chunks/{persistent-pty-rvfvac9x.js → snapshot-rvfvac9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-s7whb9gt.js → snapshot-s7whb9gt.js} +0 -0
- /package/dist/chunks/{persistent-pty-se76j685.js → snapshot-se76j685.js} +0 -0
- /package/dist/chunks/{persistent-pty-sem2g21k.js → snapshot-sem2g21k.js} +0 -0
- /package/dist/chunks/{persistent-pty-sp575ygv.js → snapshot-sp575ygv.js} +0 -0
- /package/dist/chunks/{persistent-pty-tmb1f636.js → snapshot-tmb1f636.js} +0 -0
- /package/dist/chunks/{persistent-pty-ttxf0gsy.js → snapshot-ttxf0gsy.js} +0 -0
- /package/dist/chunks/{persistent-pty-tvmhrvfj.js → snapshot-tvmhrvfj.js} +0 -0
- /package/dist/chunks/{persistent-pty-v2adqbbe.js → snapshot-v2adqbbe.js} +0 -0
- /package/dist/chunks/{persistent-pty-vac9eqd2.js → snapshot-vac9eqd2.js} +0 -0
- /package/dist/chunks/{persistent-pty-wj4sxzqa.js → snapshot-wj4sxzqa.js} +0 -0
- /package/dist/chunks/{persistent-pty-wwntjmk1.js → snapshot-wwntjmk1.js} +0 -0
- /package/dist/chunks/{persistent-pty-wyqjaaa5.js → snapshot-wyqjaaa5.js} +0 -0
- /package/dist/chunks/{persistent-pty-x4q807cx.js → snapshot-x4q807cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-yrqrg4vp.js → snapshot-yrqrg4vp.js} +0 -0
- /package/dist/chunks/{persistent-pty-z47nswr2.js → snapshot-z47nswr2.js} +0 -0
- /package/dist/chunks/{persistent-pty-zsf8rs93.js → snapshot-zsf8rs93.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import {
|
|
2
|
-
exports_skill_file
|
|
3
|
-
} from "./persistent-pty-gjehdkn2.js";
|
|
4
1
|
import {
|
|
5
2
|
exports_discovery
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./snapshot-fm3b2wbt.js";
|
|
4
|
+
import {
|
|
5
|
+
exports_skill_file
|
|
6
|
+
} from "./snapshot-61qfs2z5.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_skill
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-ngg7reh8.js";
|
|
10
10
|
import {
|
|
11
11
|
exports_config
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-jb41pkjy.js";
|
|
13
13
|
import {
|
|
14
14
|
exports_watcher
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-ns0sdez7.js";
|
|
16
16
|
import {
|
|
17
17
|
exports_location
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-szemg54b.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./snapshot-j07kk359.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./snapshot-rvfvac9x.js";
|
|
25
25
|
|
|
26
26
|
// src/config/plugin/skill.ts
|
|
27
27
|
var exports_skill2 = {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_markdown
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-7wcmqxrc.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_config
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-jb41pkjy.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_select
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-bbhffenw.js";
|
|
10
10
|
import {
|
|
11
11
|
exports_location
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-szemg54b.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-rvfvac9x.js";
|
|
16
16
|
|
|
17
17
|
// src/config/plugin/command.ts
|
|
18
18
|
var exports_command = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_model
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-t683wdge.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_provider
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-fex42j86.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/openrouter.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler
|
|
3
|
-
} from "./
|
|
4
|
-
import {
|
|
5
|
-
mapOpenAIResponseFinishReason
|
|
6
|
-
} from "./persistent-pty-m8cbvarh.js";
|
|
3
|
+
} from "./snapshot-r8f4w671.js";
|
|
7
4
|
import {
|
|
8
5
|
prepareResponsesTools
|
|
9
|
-
} from "./
|
|
6
|
+
} from "./snapshot-nt266sny.js";
|
|
10
7
|
import {
|
|
11
8
|
convertToOpenAIResponsesInput
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./snapshot-vac9eqd2.js";
|
|
10
|
+
import {
|
|
11
|
+
mapOpenAIResponseFinishReason
|
|
12
|
+
} from "./snapshot-m8cbvarh.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_permission
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-at8b4xfb.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_agent
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-q1eqnf6f.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-rvfvac9x.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/agent.ts
|
|
12
12
|
var exports_agent2 = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createProviderPlugin
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-0zz82cjq.js";
|
|
4
4
|
import {
|
|
5
5
|
__require
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-rvfvac9x.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/alibaba.ts
|
|
9
9
|
var AlibabaPlugin = createProviderPlugin({
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fileDiff
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-c77ad0vh.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_location_mutation
|
|
6
|
-
} from "./
|
|
7
|
-
import {
|
|
8
|
-
exports_file_mutation
|
|
9
|
-
} from "./persistent-pty-wdwm1239.js";
|
|
6
|
+
} from "./snapshot-fvfxwn0d.js";
|
|
10
7
|
import {
|
|
11
8
|
exports_formatter
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./snapshot-hn0f7qz6.js";
|
|
13
10
|
import {
|
|
14
11
|
exports_permission
|
|
15
|
-
} from "./
|
|
12
|
+
} from "./snapshot-at8b4xfb.js";
|
|
13
|
+
import {
|
|
14
|
+
exports_file_mutation
|
|
15
|
+
} from "./snapshot-jgdt41jw.js";
|
|
16
16
|
import {
|
|
17
17
|
exports_environment1 as exports_environment
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-9x32j97f.js";
|
|
19
19
|
import {
|
|
20
20
|
exports_location
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./snapshot-szemg54b.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./snapshot-rvfvac9x.js";
|
|
25
25
|
|
|
26
26
|
// src/tool/plugin/edit.ts
|
|
27
27
|
var exports_edit = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
exports_entry_observer
|
|
3
|
-
} from "./persistent-pty-kp1t5rcy.js";
|
|
4
1
|
import {
|
|
5
2
|
exports_location_watcher_policy
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./snapshot-6wkzvma0.js";
|
|
4
|
+
import {
|
|
5
|
+
exports_entry_observer
|
|
6
|
+
} from "./snapshot-kp1t5rcy.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_config
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-jb41pkjy.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-rvfvac9x.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
15
|
var exports_location_watcher = {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition,
|
|
3
3
|
normalizedName
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-f1jj19e8.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-rvfvac9x.js";
|
|
8
8
|
|
|
9
9
|
// src/codemode/tool.ts
|
|
10
10
|
var exports_tool = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_mcp
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-c4wcb9vc.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_app
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-50jxp3hw.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-rvfvac9x.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_entry_observer
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-kp1t5rcy.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_config
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-jb41pkjy.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_select
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-bbhffenw.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-rvfvac9x.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/shell.ts
|
|
15
15
|
var exports_shell = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_markdown
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-7wcmqxrc.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_skill
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-ngg7reh8.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-j07kk359.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-rvfvac9x.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/skill-file.ts
|
|
15
15
|
var exports_skill_file = {};
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
import {
|
|
2
|
+
exports_location
|
|
3
|
+
} from "./snapshot-szemg54b.js";
|
|
4
|
+
import {
|
|
5
|
+
optional,
|
|
6
|
+
statics
|
|
7
|
+
} from "./snapshot-j07kk359.js";
|
|
8
|
+
import {
|
|
9
|
+
exports_bus
|
|
10
|
+
} from "./snapshot-fv2dv243.js";
|
|
11
|
+
import {
|
|
12
|
+
__export
|
|
13
|
+
} from "./snapshot-rvfvac9x.js";
|
|
14
|
+
|
|
15
|
+
// src/rpc.ts
|
|
16
|
+
var exports_rpc = {};
|
|
17
|
+
__export(exports_rpc, {
|
|
18
|
+
node: () => node,
|
|
19
|
+
define: () => define,
|
|
20
|
+
Service: () => Service,
|
|
21
|
+
Rpc: () => exports_rpc
|
|
22
|
+
});
|
|
23
|
+
import { define } from "@opencode-ai/schema/rpc";
|
|
24
|
+
import { Event } from "@opencode-ai/schema/event";
|
|
25
|
+
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
26
|
+
import { Context, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
27
|
+
class Service extends Context.Service()("@opencode/Rpc") {
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
class DeclaredError extends Error {
|
|
31
|
+
type;
|
|
32
|
+
data;
|
|
33
|
+
constructor(type, message, data) {
|
|
34
|
+
super(message);
|
|
35
|
+
this.type = type;
|
|
36
|
+
this.data = data;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
var layer = Layer.effect(Service, Effect.gen(function* () {
|
|
40
|
+
const bus = yield* exports_bus.Service;
|
|
41
|
+
const location = yield* exports_location.Service;
|
|
42
|
+
const ref = exports_location.Ref.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
43
|
+
const callContext = {
|
|
44
|
+
error: (type, message, data) => new DeclaredError(type, message, data)
|
|
45
|
+
};
|
|
46
|
+
const registrations = new Map;
|
|
47
|
+
const definitions = new WeakMap;
|
|
48
|
+
const eventsFor = (definition) => {
|
|
49
|
+
const existing = definitions.get(definition);
|
|
50
|
+
if (existing)
|
|
51
|
+
return existing;
|
|
52
|
+
const events = new Map(Object.entries(definition.events).map(([name, event]) => [
|
|
53
|
+
name,
|
|
54
|
+
{ event, definition: eventDefinition(definition, name) }
|
|
55
|
+
]));
|
|
56
|
+
definitions.set(definition, events);
|
|
57
|
+
return events;
|
|
58
|
+
};
|
|
59
|
+
const register = Effect.fn("Rpc.register")(function* (definition, handlers) {
|
|
60
|
+
const entry = { definition, handlers };
|
|
61
|
+
const dispose = Effect.sync(() => {
|
|
62
|
+
const remaining = (registrations.get(definition.id) ?? []).filter((candidate) => candidate !== entry);
|
|
63
|
+
if (remaining.length === 0) {
|
|
64
|
+
registrations.delete(definition.id);
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
registrations.set(definition.id, remaining);
|
|
68
|
+
});
|
|
69
|
+
yield* Effect.acquireRelease(Effect.sync(() => registrations.set(definition.id, [...registrations.get(definition.id) ?? [], entry])), () => dispose);
|
|
70
|
+
const events = eventsFor(definition);
|
|
71
|
+
return {
|
|
72
|
+
dispose,
|
|
73
|
+
events: {
|
|
74
|
+
emit: Effect.fn("Rpc.emit")(function* (...args) {
|
|
75
|
+
const registered = events.get(args[0]);
|
|
76
|
+
if (!registered)
|
|
77
|
+
return yield* Effect.fail(new Error(`Unknown RPC event: ${definition.id}.${args[0]}`));
|
|
78
|
+
const event = registered.event;
|
|
79
|
+
const data = yield* encode(event.schema, args[1]);
|
|
80
|
+
return yield* bus.publish(registered.definition, data, {
|
|
81
|
+
location: exports_location.Ref.make({ directory: ref.directory, workspaceID: ref.workspaceID })
|
|
82
|
+
}).pipe(Effect.asVoid);
|
|
83
|
+
})
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
});
|
|
87
|
+
const call = Effect.fn("Rpc.call")(function* (rpcID, name, input) {
|
|
88
|
+
const entry = registrations.get(rpcID)?.at(-1);
|
|
89
|
+
if (!entry)
|
|
90
|
+
return yield* Effect.fail(failure("rpc.unavailable", `RPC is unavailable: ${rpcID}`));
|
|
91
|
+
if (!Object.hasOwn(entry.definition.methods, name) || !Object.hasOwn(entry.handlers, name))
|
|
92
|
+
return yield* Effect.fail(failure("rpc.method_not_found", `Unknown RPC method: ${rpcID}.${name}`));
|
|
93
|
+
const method = entry.definition.methods[name];
|
|
94
|
+
const handler = entry.handlers[name];
|
|
95
|
+
const parsed = yield* parse(method.input, input).pipe(Effect.mapError((error) => failure("rpc.invalid_input", errorMessage(error, "Invalid RPC input"))));
|
|
96
|
+
const result = yield* Effect.suspend(() => {
|
|
97
|
+
const execution = Reflect.apply(handler, undefined, [parsed, callContext]);
|
|
98
|
+
return execution;
|
|
99
|
+
}).pipe(Effect.catch((error) => encodeError(method, error)));
|
|
100
|
+
return yield* encode(method.output, result).pipe(Effect.mapError((error) => failure("rpc.invalid_output", errorMessage(error, "Invalid RPC output"))));
|
|
101
|
+
});
|
|
102
|
+
const client = (definition) => {
|
|
103
|
+
const events = eventsFor(definition);
|
|
104
|
+
const methods = Object.fromEntries(Object.entries(definition.methods).map(([name, method]) => [
|
|
105
|
+
name,
|
|
106
|
+
(input) => call(definition.id, name, input).pipe(Effect.catch((error) => decodeError(method, error)), Effect.flatMap((value) => read(method.output, value).pipe(Effect.catch((cause) => Effect.die(cause)))))
|
|
107
|
+
]));
|
|
108
|
+
return {
|
|
109
|
+
...methods,
|
|
110
|
+
events: {
|
|
111
|
+
subscribe: (name) => {
|
|
112
|
+
const registered = events.get(name);
|
|
113
|
+
if (!registered)
|
|
114
|
+
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
115
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(exports_location.Service, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
return Service.of({ register, call, client });
|
|
121
|
+
}));
|
|
122
|
+
var node = makeLocationNode({ service: Service, layer, deps: [exports_bus.node, exports_location.node] });
|
|
123
|
+
var fields = {
|
|
124
|
+
id: Event.ID,
|
|
125
|
+
created: Schema.Finite,
|
|
126
|
+
metadata: optional(Schema.Record(Schema.String, Schema.Unknown)),
|
|
127
|
+
location: optional(exports_location.Ref)
|
|
128
|
+
};
|
|
129
|
+
var EventData = Schema.Record(Schema.String, Schema.Unknown);
|
|
130
|
+
var jsonSchemas = new WeakMap;
|
|
131
|
+
function eventType(definition, name) {
|
|
132
|
+
return `rpc.${definition.id}.${name}`;
|
|
133
|
+
}
|
|
134
|
+
function eventDefinition(definition, name) {
|
|
135
|
+
const type = eventType(definition, name);
|
|
136
|
+
const data = EventData;
|
|
137
|
+
return Schema.Struct({ ...fields, type: Schema.Literal(type), data }).pipe(statics(() => ({ type, durability: "ephemeral", durable: undefined, data })));
|
|
138
|
+
}
|
|
139
|
+
function parse(schema, value) {
|
|
140
|
+
if (Schema.isSchema(schema))
|
|
141
|
+
return Schema.decodeUnknownEffect(schema)(value);
|
|
142
|
+
if (isStandardSchema(schema)) {
|
|
143
|
+
return Effect.gen(function* () {
|
|
144
|
+
const parsed = yield* Effect.try({ try: () => schema["~standard"].validate(value), catch: (cause) => cause });
|
|
145
|
+
const result = parsed instanceof Promise ? yield* Effect.tryPromise({ try: () => parsed, catch: (cause) => cause }) : parsed;
|
|
146
|
+
if (result.issues)
|
|
147
|
+
return yield* Effect.fail(new Error(result.issues.map((issue) => issue.message).join(`
|
|
148
|
+
`)));
|
|
149
|
+
return result.value;
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
return Effect.try({
|
|
153
|
+
try: () => {
|
|
154
|
+
const existing = jsonSchemas.get(schema);
|
|
155
|
+
if (existing)
|
|
156
|
+
return existing;
|
|
157
|
+
const codec = Schema.make(SchemaRepresentation.fromJsonSchemaDocument(JsonSchema.fromSchemaDraft2020_12(schema)).ast);
|
|
158
|
+
jsonSchemas.set(schema, codec);
|
|
159
|
+
return codec;
|
|
160
|
+
},
|
|
161
|
+
catch: (cause) => cause
|
|
162
|
+
}).pipe(Effect.flatMap((codec) => Schema.decodeUnknownEffect(codec)(value)));
|
|
163
|
+
}
|
|
164
|
+
function encode(schema, value) {
|
|
165
|
+
return Schema.isSchema(schema) ? Schema.encodeUnknownEffect(schema)(value) : parse(schema, value);
|
|
166
|
+
}
|
|
167
|
+
function encodeError(method, error) {
|
|
168
|
+
if (!(error instanceof DeclaredError))
|
|
169
|
+
return Effect.die(error);
|
|
170
|
+
if (!method.errors || !Object.hasOwn(method.errors, error.type)) {
|
|
171
|
+
return Effect.die(new Error(`Undeclared RPC error: ${error.type}`));
|
|
172
|
+
}
|
|
173
|
+
return encode(method.errors[error.type], error.data).pipe(Effect.catch((cause) => Effect.die(cause)), Effect.flatMap((data) => Effect.fail(failure(error.type, error.message, data))));
|
|
174
|
+
}
|
|
175
|
+
function decodeError(method, error) {
|
|
176
|
+
if (!method.errors || !Object.hasOwn(method.errors, error.type))
|
|
177
|
+
return Effect.fail(error);
|
|
178
|
+
return read(method.errors[error.type], error.data).pipe(Effect.catch((cause) => Effect.die(cause)), Effect.flatMap((data) => Effect.fail(failure(error.type, error.message, data))));
|
|
179
|
+
}
|
|
180
|
+
function failure(type, message, data) {
|
|
181
|
+
return data === undefined ? { type, message } : { type, message, data };
|
|
182
|
+
}
|
|
183
|
+
function errorMessage(error, fallback) {
|
|
184
|
+
if (error instanceof Error)
|
|
185
|
+
return error.message;
|
|
186
|
+
if (typeof error === "string")
|
|
187
|
+
return error;
|
|
188
|
+
return fallback;
|
|
189
|
+
}
|
|
190
|
+
function isStandardSchema(schema) {
|
|
191
|
+
return "~standard" in schema;
|
|
192
|
+
}
|
|
193
|
+
function read(schema, value) {
|
|
194
|
+
return Schema.isSchema(schema) ? Schema.decodeUnknownEffect(schema)(value) : Effect.succeed(value);
|
|
195
|
+
}
|
|
196
|
+
var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, payload, ref) {
|
|
197
|
+
const event = definition.events[name];
|
|
198
|
+
const data = yield* read(event.schema, payload.data);
|
|
199
|
+
return {
|
|
200
|
+
...payload,
|
|
201
|
+
type: eventType(definition, name),
|
|
202
|
+
data,
|
|
203
|
+
location: exports_location.Ref.make({ directory: ref.directory, workspaceID: ref.workspaceID })
|
|
204
|
+
};
|
|
205
|
+
});
|
|
206
|
+
|
|
207
|
+
export { Service, node, exports_rpc, define };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_state
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-x89rah0x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-rvfvac9x.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_runner
|
|
3
|
-
} from "./
|
|
4
|
-
import {
|
|
5
|
-
exports_inbox
|
|
6
|
-
} from "./persistent-pty-je94n5yr.js";
|
|
3
|
+
} from "./snapshot-2m0hgr65.js";
|
|
7
4
|
import {
|
|
8
5
|
exports_run_coordinator
|
|
9
|
-
} from "./
|
|
6
|
+
} from "./snapshot-41qzzbpz.js";
|
|
7
|
+
import {
|
|
8
|
+
exports_inbox
|
|
9
|
+
} from "./snapshot-tnqtpne4.js";
|
|
10
10
|
import {
|
|
11
11
|
toSessionError
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-0ghf6sgm.js";
|
|
13
|
+
import {
|
|
14
|
+
exports_job
|
|
15
|
+
} from "./snapshot-y10dmm0x.js";
|
|
13
16
|
import {
|
|
14
17
|
exports_store
|
|
15
|
-
} from "./
|
|
18
|
+
} from "./snapshot-g3kv6jka.js";
|
|
16
19
|
import {
|
|
17
20
|
UserInterruptedError
|
|
18
|
-
} from "./
|
|
19
|
-
import {
|
|
20
|
-
exports_job
|
|
21
|
-
} from "./persistent-pty-fmbdrqgc.js";
|
|
21
|
+
} from "./snapshot-cgqn2mrm.js";
|
|
22
22
|
import {
|
|
23
23
|
SessionEvent
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./snapshot-a83yvq99.js";
|
|
25
25
|
import {
|
|
26
26
|
exports_location_service_map
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./snapshot-zdkg1k91.js";
|
|
28
28
|
import {
|
|
29
29
|
exports_bus
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./snapshot-fv2dv243.js";
|
|
31
31
|
import {
|
|
32
32
|
exports_database
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./snapshot-x8ttdr67.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./snapshot-rvfvac9x.js";
|
|
37
37
|
|
|
38
38
|
// src/session/execution.ts
|
|
39
39
|
var exports_execution = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_file_retention
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-hp6rpdnc.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_id
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-58xdvehb.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_state
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-x89rah0x.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-rvfvac9x.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_entry_observer
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-kp1t5rcy.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_config
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-jb41pkjy.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_provider
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-fex42j86.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-rvfvac9x.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/provider.ts
|
|
15
15
|
var exports_provider2 = {};
|