Add utility to set + read theme

This commit is contained in:
martinalong 2025-12-10 15:44:48 -08:00
commit a8b3bf0ccd
No known key found for this signature in database

View file

@ -47,7 +47,11 @@ import { Transport } from "@modelcontextprotocol/sdk/shared/transport.js";
export { PostMessageTransport } from "./message-transport";
export * from "./types";
export { applyHostStyles } from "./styles";
export {
applyHostStyles,
getDocumentTheme,
applyDocumentTheme,
} from "./styles";
/**
* Metadata key for associating a resource URI with a tool call.