@modelcontextprotocol/ext-apps 1.2.0 → 1.2.2

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.
package/package.json CHANGED
@@ -5,10 +5,13 @@
5
5
  "url": "https://github.com/modelcontextprotocol/ext-apps"
6
6
  },
7
7
  "homepage": "https://github.com/modelcontextprotocol/ext-apps",
8
- "version": "1.2.0",
8
+ "version": "1.2.2",
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",
12
+ "engines": {
13
+ "node": ">=20"
14
+ },
12
15
  "main": "./dist/src/app.js",
13
16
  "exports": {
14
17
  ".": {
@@ -50,7 +53,7 @@
50
53
  "build": "npm run generate:schemas && npm run sync:snippets && node scripts/run-bun.mjs build.bun.ts && node scripts/link-self.mjs",
51
54
  "prepack": "npm run build",
52
55
  "build:all": "npm run examples:build",
53
- "test": "bun test src",
56
+ "test": "bun test src examples",
54
57
  "test:e2e": "playwright test",
55
58
  "test:e2e:update": "playwright test --update-snapshots",
56
59
  "test:e2e:ui": "playwright test --ui",
@@ -64,7 +67,7 @@
64
67
  "prepare": "npm run build && husky",
65
68
  "docs": "typedoc",
66
69
  "docs:watch": "typedoc --watch",
67
- "generate:screenshots": "npm run build:all && docker run --rm -e EXAMPLE -v $(pwd):/work -w /work mcr.microsoft.com/playwright:v1.57.0-noble sh -c 'apt-get update -qq && apt-get install -qq -y python3-venv curl > /dev/null && curl -LsSf https://astral.sh/uv/install.sh | sh && export PATH=\"$HOME/.local/bin:$PATH\" && npm i -g bun && npm ci && npx playwright test tests/e2e/generate-grid-screenshots.spec.ts'",
70
+ "generate:screenshots": "npm run build:all && docker run --rm -e EXAMPLE -e GENERATE_SCREENSHOTS=1 -v $(pwd):/work -w /work mcr.microsoft.com/playwright:v1.57.0-noble sh -c 'apt-get update -qq && apt-get install -qq -y python3-venv curl > /dev/null && curl -LsSf https://astral.sh/uv/install.sh | sh && export PATH=\"$HOME/.local/bin:$PATH\" && npm i -g bun && npm ci && npx playwright test tests/e2e/generate-grid-screenshots.spec.ts'",
68
71
  "prettier": "prettier -u \"**/*.{js,jsx,ts,tsx,mjs,json,md,yml,yaml}\" --check",
69
72
  "prettier:fix": "prettier -u \"**/*.{js,jsx,ts,tsx,mjs,json,md,yml,yaml}\" --write",
70
73
  "check:versions": "node scripts/check-versions.mjs",
@@ -76,9 +79,10 @@
76
79
  "@modelcontextprotocol/sdk": "1.25.2",
77
80
  "@playwright/test": "1.57.0",
78
81
  "@types/bun": "^1.3.2",
82
+ "@types/node": "20.19.27",
79
83
  "@types/react": "^19.2.2",
80
84
  "@types/react-dom": "^19.2.2",
81
- "@types/node": "20.19.27",
85
+ "bun": "^1.2.21",
82
86
  "caniuse-lite": "1.0.30001763",
83
87
  "cheerio": "1.1.2",
84
88
  "concurrently": "^9.2.1",
@@ -100,7 +104,6 @@
100
104
  "typedoc": "^0.28.14",
101
105
  "typedoc-github-theme": "^0.4.0",
102
106
  "typescript": "^5.9.3",
103
- "bun": "^1.2.21",
104
107
  "zod": "^4.1.13"
105
108
  },
106
109
  "peerDependencies": {
@@ -121,7 +124,6 @@
121
124
  "seroval": "1.4.1",
122
125
  "seroval-plugins": "1.4.2",
123
126
  "solid-js": "1.9.10",
124
- "@hono/node-server": "1.19.7",
125
127
  "@types/node": "20.19.27"
126
128
  }
127
129
  }