@modelcontextprotocol/ext-apps 0.4.2 → 1.0.1

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.
@@ -7,7 +7,7 @@
7
7
  * - Use `@description` JSDoc tags to generate `.describe()` calls on schemas
8
8
  * - Run `npm run generate:schemas` to regenerate schemas from these types
9
9
  *
10
- * @see https://github.com/modelcontextprotocol/ext-apps/blob/main/specification/draft/apps.mdx
10
+ * @see https://github.com/modelcontextprotocol/ext-apps/blob/main/specification/2026-01-26/apps.mdx
11
11
  */
12
12
  import type { CallToolResult, ContentBlock, Implementation, RequestId, Tool } from "@modelcontextprotocol/sdk/types.js";
13
13
  /**
@@ -16,7 +16,7 @@ import type { CallToolResult, ContentBlock, Implementation, RequestId, Tool } fr
16
16
  * The SDK automatically handles version negotiation during initialization.
17
17
  * Apps and hosts don't need to manage protocol versions manually.
18
18
  */
19
- export declare const LATEST_PROTOCOL_VERSION = "2025-11-21";
19
+ export declare const LATEST_PROTOCOL_VERSION = "2026-01-26";
20
20
  /**
21
21
  * @description Color theme preference for the host environment.
22
22
  */
@@ -92,7 +92,7 @@ export interface McpUiMessageResult {
92
92
  /**
93
93
  * @description Notification that the sandbox proxy iframe is ready to receive content.
94
94
  * @internal
95
- * @see https://github.com/modelcontextprotocol/ext-apps/blob/main/specification/draft/apps.mdx#sandbox-proxy
95
+ * @see https://github.com/modelcontextprotocol/ext-apps/blob/main/specification/2026-01-26/apps.mdx#sandbox-proxy
96
96
  */
97
97
  export interface McpUiSandboxProxyReadyNotification {
98
98
  method: "ui/notifications/sandbox-proxy-ready";
@@ -101,7 +101,7 @@ export interface McpUiSandboxProxyReadyNotification {
101
101
  /**
102
102
  * @description Notification containing HTML resource for the sandbox proxy to load.
103
103
  * @internal
104
- * @see https://github.com/modelcontextprotocol/ext-apps/blob/main/specification/draft/apps.mdx#sandbox-proxy
104
+ * @see https://github.com/modelcontextprotocol/ext-apps/blob/main/specification/2026-01-26/apps.mdx#sandbox-proxy
105
105
  */
106
106
  export interface McpUiSandboxResourceReadyNotification {
107
107
  method: "ui/notifications/sandbox-resource-ready";
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "url": "https://github.com/modelcontextprotocol/ext-apps"
6
6
  },
7
7
  "homepage": "https://github.com/modelcontextprotocol/ext-apps",
8
- "version": "0.4.2",
8
+ "version": "1.0.1",
9
9
  "license": "MIT",
10
10
  "description": "MCP Apps SDK — Enable MCP servers to display interactive user interfaces in conversational clients.",
11
11
  "type": "module",
@@ -69,7 +69,7 @@
69
69
  "prettier": "prettier -u \"**/*.{js,jsx,ts,tsx,mjs,json,md,yml,yaml}\" --check",
70
70
  "prettier:fix": "prettier -u \"**/*.{js,jsx,ts,tsx,mjs,json,md,yml,yaml}\" --write",
71
71
  "check:versions": "node scripts/check-versions.mjs",
72
- "update-lock:docker": "rm -rf node_modules package-lock.json && docker run --rm --platform linux/amd64 -v $(pwd):/work -w /work node:latest npm i --registry=https://registry.npmjs.org/ && rm -rf node_modules && npm i"
72
+ "update-lock:docker": "rm -rf node_modules package-lock.json examples/*/node_modules && docker run --rm --platform linux/amd64 -v $(pwd):/work -w /work -e HOME=/tmp node:latest npm i --registry=https://registry.npmjs.org/ --ignore-scripts && rm -rf node_modules examples/*/node_modules && npm i --registry=https://registry.npmjs.org/"
73
73
  },
74
74
  "author": "Olivier Chafik",
75
75
  "devDependencies": {