Files
paseo/plugin-examples/provider-direct
Mohamed Boudra 5b4636b856 fix(server): a rewound plugin session reopens with its options as they stand
The reopen merged the plugin's reported options over the launch record, so a
key the plugin reset by leaving it out came back at its launch value. The
session now keeps the committed options, removals included. The provider-direct
example also refuses a combined request before changing anything.
2026-11-02 00:52:17 +01:00
..

Direct provider example

This plugin implements ProviderRegistration directly. It demonstrates connection negotiation, catalog and session listing, session creation, prompt and command disposition, option controls with icons (controls and providerOptions), persistence and replay, archive actions, and an ordinary child session.

The provider emits versioned provider-result timeline items for its root and child sessions. index.client.tsx registers the Zod schema and React Native renderer for those items. The server and client share only the item kind and schema under shared/.

The provider receives Paseo host tools through config.mcpServers; it does not receive a second callback tool API.