Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/mcp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const SERVER_VERSION: &str = "4.0.0";
pub(crate) const MODERN_MCP_PROTOCOL_VERSION: &str = "2026-07-28";
const SERVER_INFO_META_KEY: &str = "io.modelcontextprotocol/serverInfo";
const UI_TEMPLATE_URI: &str = "ui://widget/catdesk-dashboard.html";
const WIDGET_RESOURCE_REVISION: u32 = 3;
const WIDGET_RESOURCE_REVISION: u32 = 4;
const UI_TEMPLATE_MIME_TYPE: &str = "text/html;profile=mcp-app";
pub(crate) const WIDGET_PAYLOAD_META_KEY: &str = "catdesk/widgetPayload";
const CATDESK_WIDGET_HTML: &str = include_str!("widget/catdesk_dashboard.html");
Expand Down Expand Up @@ -6381,7 +6381,7 @@ hello world"
#[test]
fn widget_resource_uri_includes_revision_for_cache_busting() {
let uri = current_widget_resource_uri_for_tool("catdesk_instruction");
assert!(uri.contains("widgetRevision=3"));
assert!(uri.contains("widgetRevision=4"));
assert!(uri.contains("toolName=catdesk_instruction"));
}

Expand Down
Loading