mirror of
https://github.com/getpaseo/paseo.git
synced 2026-12-01 04:36:26 +00:00
* feat(protocol): let older readers accept newer wire messages A field or variant added by a newer daemon, app, or plugin made an older reader reject the whole message: strict objects failed on any unknown key, and one unknown tag in a list (a timeline item, a tool detail, a prompt content block) failed the page, the RPC, or the provider event. Wire objects now strip unknown keys, and readers parse through safeParseSkippingUnknownVariants: when the only failures are unknown tags or enum values inside lists, those elements are removed and the value is validated once more. Schemas stay closed so consumer switches stay exhaustive and the generated validators need no catch-all branch; the reader works on issues, so the generated validator and Zod agree. An unknown variant outside a list still fails that one message, flagged unknownVariant. config.json stays strict through local strict copies so typos still fail, the browser automation request stays strict so legacy tab targeting is rejected, and plugin hook results stay strict so a host without wrap fails closed. * docs(plugins): plugins read the provider protocol with the host SDK