sunpeak 0.19.12 → 0.20.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/README.md +2 -2
- package/bin/commands/inspect.mjs +361 -12
- package/bin/commands/test-init.mjs +190 -118
- package/bin/commands/test.mjs +12 -1
- package/bin/lib/eval/eval-runner.mjs +7 -1
- package/bin/lib/inspect/inspect-config.mjs +17 -2
- package/bin/lib/inspect/inspect-server.d.mts +32 -0
- package/bin/lib/inspect/inspect-server.mjs +11 -0
- package/bin/lib/live/live-config.d.mts +10 -0
- package/bin/lib/live/live-config.mjs +34 -2
- package/bin/lib/resolve-bin.mjs +39 -0
- package/bin/lib/test/base-config.mjs +6 -3
- package/bin/lib/test/matchers.mjs +2 -2
- package/bin/lib/test/test-config.mjs +19 -8
- package/bin/lib/test/test-fixtures.d.mts +52 -92
- package/bin/lib/test/test-fixtures.mjs +174 -147
- package/dist/chatgpt/index.cjs +1 -1
- package/dist/chatgpt/index.js +1 -1
- package/dist/claude/index.cjs +1 -1
- package/dist/claude/index.js +1 -1
- package/dist/host/chatgpt/index.cjs +1 -1
- package/dist/host/chatgpt/index.js +1 -1
- package/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/inspector/index.cjs +1 -1
- package/dist/inspector/index.js +1 -1
- package/dist/{inspector-D5DckQuU.js → inspector-BBDa5yCm.js} +57 -23
- package/dist/inspector-BBDa5yCm.js.map +1 -0
- package/dist/{inspector-jY9O18z9.cjs → inspector-DAA1Wiyh.cjs} +58 -24
- package/dist/inspector-DAA1Wiyh.cjs.map +1 -0
- package/dist/lib/discovery-cli.cjs +1 -1
- package/dist/mcp/index.cjs +22 -25
- package/dist/mcp/index.cjs.map +1 -1
- package/dist/mcp/index.js +19 -22
- package/dist/mcp/index.js.map +1 -1
- package/dist/{use-app-Bfargfa3.js → use-app-Cr0auUa1.js} +2 -2
- package/dist/{use-app-Bfargfa3.js.map → use-app-Cr0auUa1.js.map} +1 -1
- package/dist/{use-app-CbsBEmwv.cjs → use-app-DPkj5Jp_.cjs} +2 -2
- package/dist/{use-app-CbsBEmwv.cjs.map → use-app-DPkj5Jp_.cjs.map} +1 -1
- package/package.json +17 -11
- package/template/dist/albums/albums.html +4 -4
- package/template/dist/albums/albums.json +1 -1
- package/template/dist/carousel/carousel.html +4 -4
- package/template/dist/carousel/carousel.json +1 -1
- package/template/dist/map/map.html +6 -6
- package/template/dist/map/map.json +1 -1
- package/template/dist/review/review.html +4 -4
- package/template/dist/review/review.json +1 -1
- package/template/node_modules/.bin/vite +2 -2
- package/template/node_modules/.bin/vitest +2 -2
- package/template/node_modules/.vite/deps/_metadata.json +4 -4
- package/template/node_modules/.vite-mcp/deps/@modelcontextprotocol_ext-apps.js +1 -1
- package/template/node_modules/.vite-mcp/deps/@modelcontextprotocol_ext-apps.js.map +1 -1
- package/template/node_modules/.vite-mcp/deps/@modelcontextprotocol_ext-apps_app-bridge.js +1 -1
- package/template/node_modules/.vite-mcp/deps/@modelcontextprotocol_ext-apps_app-bridge.js.map +1 -1
- package/template/node_modules/.vite-mcp/deps/@modelcontextprotocol_ext-apps_react.js +1 -1
- package/template/node_modules/.vite-mcp/deps/@modelcontextprotocol_ext-apps_react.js.map +1 -1
- package/template/node_modules/.vite-mcp/deps/@testing-library_react.js +4 -4
- package/template/node_modules/.vite-mcp/deps/@testing-library_react.js.map +1 -1
- package/template/node_modules/.vite-mcp/deps/_metadata.json +33 -33
- package/template/node_modules/.vite-mcp/deps/{client-CU1wWud4.js → client-B_5CX--u.js} +7 -7
- package/template/node_modules/.vite-mcp/deps/{client-CU1wWud4.js.map → client-B_5CX--u.js.map} +1 -1
- package/template/node_modules/.vite-mcp/deps/embla-carousel-react.js +1 -1
- package/template/node_modules/.vite-mcp/deps/embla-carousel-react.js.map +1 -1
- package/template/node_modules/.vite-mcp/deps/react-dom.js +3 -3
- package/template/node_modules/.vite-mcp/deps/react-dom.js.map +1 -1
- package/template/node_modules/.vite-mcp/deps/react-dom_client.js +1 -1
- package/template/node_modules/.vite-mcp/deps/react.js +3 -3
- package/template/node_modules/.vite-mcp/deps/react.js.map +1 -1
- package/template/node_modules/.vite-mcp/deps/react_jsx-dev-runtime.js +2 -2
- package/template/node_modules/.vite-mcp/deps/react_jsx-dev-runtime.js.map +1 -1
- package/template/node_modules/.vite-mcp/deps/react_jsx-runtime.js +2 -2
- package/template/node_modules/.vite-mcp/deps/react_jsx-runtime.js.map +1 -1
- package/template/node_modules/.vite-mcp/deps/vitest.js +1024 -622
- package/template/node_modules/.vite-mcp/deps/vitest.js.map +1 -1
- package/template/package.json +6 -6
- package/template/tests/e2e/albums.spec.ts +24 -52
- package/template/tests/e2e/carousel.spec.ts +36 -58
- package/template/tests/e2e/map.spec.ts +35 -56
- package/template/tests/e2e/review.spec.ts +56 -85
- package/template/tests/e2e/visual.spec.ts +14 -12
- package/dist/inspector-D5DckQuU.js.map +0 -1
- package/dist/inspector-jY9O18z9.cjs.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sunpeak",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.2",
|
|
4
4
|
"description": "Inspector, testing framework, and app framework for MCP Apps.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -96,6 +96,12 @@
|
|
|
96
96
|
"default": "./bin/lib/inspect/inspect-config.mjs"
|
|
97
97
|
}
|
|
98
98
|
},
|
|
99
|
+
"./inspect": {
|
|
100
|
+
"import": {
|
|
101
|
+
"types": "./bin/lib/inspect/inspect-server.d.mts",
|
|
102
|
+
"default": "./bin/lib/inspect/inspect-server.mjs"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
99
105
|
"./eval": {
|
|
100
106
|
"import": {
|
|
101
107
|
"types": "./bin/lib/eval/eval-types.d.mts",
|
|
@@ -169,9 +175,9 @@
|
|
|
169
175
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
170
176
|
"@vitejs/plugin-react": "^6.0.1",
|
|
171
177
|
"clsx": "^2.1.1",
|
|
172
|
-
"esbuild": "^0.
|
|
178
|
+
"esbuild": "^0.28.0",
|
|
173
179
|
"tailwind-merge": "^3.5.0",
|
|
174
|
-
"vite": "^8.0.
|
|
180
|
+
"vite": "^8.0.8",
|
|
175
181
|
"zod": "^4.3.6"
|
|
176
182
|
},
|
|
177
183
|
"devDependencies": {
|
|
@@ -179,26 +185,26 @@
|
|
|
179
185
|
"@testing-library/jest-dom": "^6.9.1",
|
|
180
186
|
"@testing-library/react": "^16.3.2",
|
|
181
187
|
"@testing-library/user-event": "^14.6.1",
|
|
182
|
-
"@types/node": "^25.
|
|
188
|
+
"@types/node": "^25.6.0",
|
|
183
189
|
"@types/react": "^19.2.14",
|
|
184
190
|
"@types/react-dom": "^19.2.3",
|
|
185
|
-
"@typescript-eslint/eslint-plugin": "^8.58.
|
|
186
|
-
"@typescript-eslint/parser": "^8.58.
|
|
191
|
+
"@typescript-eslint/eslint-plugin": "^8.58.1",
|
|
192
|
+
"@typescript-eslint/parser": "^8.58.1",
|
|
187
193
|
"eslint": "^9.39.4",
|
|
188
194
|
"eslint-config-prettier": "^10.1.8",
|
|
189
195
|
"eslint-plugin-react": "^7.37.5",
|
|
190
196
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
191
|
-
"happy-dom": "^
|
|
192
|
-
"prettier": "^3.8.
|
|
193
|
-
"react": "^19.2.
|
|
194
|
-
"react-dom": "^19.2.
|
|
197
|
+
"happy-dom": "^20.8.9",
|
|
198
|
+
"prettier": "^3.8.2",
|
|
199
|
+
"react": "^19.2.5",
|
|
200
|
+
"react-dom": "^19.2.5",
|
|
195
201
|
"tailwindcss": "^4.2.2",
|
|
196
202
|
"ts-node": "^10.9.2",
|
|
197
203
|
"tsx": "^4.21.0",
|
|
198
204
|
"typescript": "^5.9.3",
|
|
199
205
|
"vite-plugin-dts": "^4.5.4",
|
|
200
206
|
"@playwright/test": "^1.59.1",
|
|
201
|
-
"vitest": "^4.1.
|
|
207
|
+
"vitest": "^4.1.4"
|
|
202
208
|
},
|
|
203
209
|
"repository": {
|
|
204
210
|
"type": "git",
|