sunpeak 0.18.7 → 0.18.12
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 +12 -0
- package/bin/commands/dev.mjs +3 -3
- package/bin/commands/inspect.mjs +4 -1
- package/bin/lib/sandbox-server.mjs +31 -1
- package/dist/chatgpt/index.cjs +1 -2
- package/dist/chatgpt/index.js +1 -2
- package/dist/claude/index.cjs +1 -2
- package/dist/claude/index.js +1 -2
- package/dist/host/chatgpt/index.cjs +1 -2
- package/dist/host/chatgpt/index.cjs.map +1 -1
- package/dist/host/chatgpt/index.js +1 -2
- package/dist/host/chatgpt/index.js.map +1 -1
- package/dist/index.cjs +93 -93
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +54 -54
- package/dist/index.js.map +1 -1
- package/dist/inspector/hosts.d.ts +12 -0
- package/dist/inspector/index.cjs +1 -2
- package/dist/inspector/index.js +1 -2
- package/dist/{inspector-CKc58UuI.cjs → inspector-8nPV2A-z.cjs} +104 -54
- package/dist/inspector-8nPV2A-z.cjs.map +1 -0
- package/dist/{inspector-DZrN0kej.js → inspector-Cdo5BK2D.js} +103 -53
- package/dist/inspector-Cdo5BK2D.js.map +1 -0
- package/dist/mcp/index.cjs +85 -71
- package/dist/mcp/index.cjs.map +1 -1
- package/dist/mcp/index.js +79 -65
- package/dist/mcp/index.js.map +1 -1
- package/dist/{protocol-DJmRaBzO.js → protocol-BfAACnv0.js} +14 -9
- package/dist/{protocol-DJmRaBzO.js.map → protocol-BfAACnv0.js.map} +1 -1
- package/dist/{protocol-jbxhzcnS.cjs → protocol-C7kTcBr_.cjs} +14 -9
- package/dist/{protocol-jbxhzcnS.cjs.map → protocol-C7kTcBr_.cjs.map} +1 -1
- package/dist/style.css +36 -1
- package/dist/{use-app-BNbz1uzj.js → use-app-CfP9VypY.js} +107 -56
- package/dist/use-app-CfP9VypY.js.map +1 -0
- package/dist/{use-app-Dqh20JPP.cjs → use-app-CzcYw1Kz.cjs} +165 -114
- package/dist/use-app-CzcYw1Kz.cjs.map +1 -0
- package/package.json +7 -7
- package/template/README.md +12 -0
- package/template/dist/albums/albums.html +16 -15
- package/template/dist/albums/albums.json +1 -1
- package/template/dist/carousel/carousel.html +20 -19
- package/template/dist/carousel/carousel.json +1 -1
- package/template/dist/map/map.html +7 -6
- package/template/dist/map/map.json +1 -1
- package/template/dist/review/review.html +6 -5
- 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 +49 -49
- 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 +49 -49
- 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 +89 -89
- 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 +9 -6
- package/template/node_modules/.vite-mcp/deps/@testing-library_react.js.map +1 -1
- package/template/node_modules/.vite-mcp/deps/_metadata.json +26 -26
- package/template/node_modules/.vite-mcp/deps/{protocol-CTflwIfG.js → protocol-B_qKkui_.js} +14 -9
- package/template/node_modules/.vite-mcp/deps/protocol-B_qKkui_.js.map +1 -0
- package/template/node_modules/.vite-mcp/deps/vitest.js +366 -128
- package/template/node_modules/.vite-mcp/deps/vitest.js.map +1 -1
- package/template/package.json +2 -2
- package/template/src/resources/carousel/carousel.test.tsx +16 -2
- package/template/src/resources/carousel/carousel.tsx +42 -14
- package/template/src/resources/carousel/components/carousel.tsx +20 -0
- package/template/src/resources/carousel/components/index.ts +1 -0
- package/template/src/resources/carousel/components/place-detail.tsx +153 -0
- package/template/tests/e2e/carousel.spec.ts +125 -0
- package/template/tests/live/carousel.spec.ts +2 -2
- package/template/tests/simulations/show-carousel.json +54 -5
- package/dist/inspector-CKc58UuI.cjs.map +0 -1
- package/dist/inspector-DZrN0kej.js.map +0 -1
- package/dist/use-app-BNbz1uzj.js.map +0 -1
- package/dist/use-app-Dqh20JPP.cjs.map +0 -1
- package/template/node_modules/.vite-mcp/deps/protocol-CTflwIfG.js.map +0 -1
|
@@ -1,103 +1,103 @@
|
|
|
1
1
|
{
|
|
2
|
-
"hash": "
|
|
3
|
-
"configHash": "
|
|
4
|
-
"lockfileHash": "
|
|
5
|
-
"browserHash": "
|
|
2
|
+
"hash": "1463a2b8",
|
|
3
|
+
"configHash": "6557b1df",
|
|
4
|
+
"lockfileHash": "ce6a397b",
|
|
5
|
+
"browserHash": "18a13a2f",
|
|
6
6
|
"optimized": {
|
|
7
7
|
"@modelcontextprotocol/ext-apps": {
|
|
8
|
-
"src": "../../../../../../node_modules/.pnpm/@modelcontextprotocol+ext-apps@1.3.
|
|
8
|
+
"src": "../../../../../../node_modules/.pnpm/@modelcontextprotocol+ext-apps@1.3.2_@modelcontextprotocol+sdk@1.29.0_zod@4.3.6__react-_38e5f6c50a4ca9cf3f1dffc73a60c951/node_modules/@modelcontextprotocol/ext-apps/dist/src/app.js",
|
|
9
9
|
"file": "@modelcontextprotocol_ext-apps.js",
|
|
10
|
-
"fileHash": "
|
|
10
|
+
"fileHash": "f5a93cf8",
|
|
11
11
|
"needsInterop": false
|
|
12
12
|
},
|
|
13
13
|
"@modelcontextprotocol/ext-apps/app-bridge": {
|
|
14
|
-
"src": "../../../../../../node_modules/.pnpm/@modelcontextprotocol+ext-apps@1.3.
|
|
14
|
+
"src": "../../../../../../node_modules/.pnpm/@modelcontextprotocol+ext-apps@1.3.2_@modelcontextprotocol+sdk@1.29.0_zod@4.3.6__react-_38e5f6c50a4ca9cf3f1dffc73a60c951/node_modules/@modelcontextprotocol/ext-apps/dist/src/app-bridge.js",
|
|
15
15
|
"file": "@modelcontextprotocol_ext-apps_app-bridge.js",
|
|
16
|
-
"fileHash": "
|
|
16
|
+
"fileHash": "d22d8fe4",
|
|
17
17
|
"needsInterop": false
|
|
18
18
|
},
|
|
19
19
|
"@modelcontextprotocol/ext-apps/react": {
|
|
20
|
-
"src": "../../../../../../node_modules/.pnpm/@modelcontextprotocol+ext-apps@1.3.
|
|
20
|
+
"src": "../../../../../../node_modules/.pnpm/@modelcontextprotocol+ext-apps@1.3.2_@modelcontextprotocol+sdk@1.29.0_zod@4.3.6__react-_38e5f6c50a4ca9cf3f1dffc73a60c951/node_modules/@modelcontextprotocol/ext-apps/dist/src/react/index.js",
|
|
21
21
|
"file": "@modelcontextprotocol_ext-apps_react.js",
|
|
22
|
-
"fileHash": "
|
|
22
|
+
"fileHash": "19b567ce",
|
|
23
23
|
"needsInterop": false
|
|
24
24
|
},
|
|
25
25
|
"@testing-library/react": {
|
|
26
26
|
"src": "../../../../../../node_modules/.pnpm/@testing-library+react@16.3.2_@testing-library+dom@10.4.1_@types+react-dom@19.2.3_@type_893f466751a7d66081fd06e9edb9241a/node_modules/@testing-library/react/dist/@testing-library/react.esm.js",
|
|
27
27
|
"file": "@testing-library_react.js",
|
|
28
|
-
"fileHash": "
|
|
28
|
+
"fileHash": "444f7e28",
|
|
29
29
|
"needsInterop": false
|
|
30
30
|
},
|
|
31
31
|
"clsx": {
|
|
32
32
|
"src": "../../../../../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs",
|
|
33
33
|
"file": "clsx.js",
|
|
34
|
-
"fileHash": "
|
|
34
|
+
"fileHash": "04e4a96c",
|
|
35
35
|
"needsInterop": false
|
|
36
36
|
},
|
|
37
37
|
"embla-carousel-react": {
|
|
38
38
|
"src": "../../../../../../node_modules/.pnpm/embla-carousel-react@8.6.0_react@19.2.4/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.js",
|
|
39
39
|
"file": "embla-carousel-react.js",
|
|
40
|
-
"fileHash": "
|
|
40
|
+
"fileHash": "b120dbb8",
|
|
41
41
|
"needsInterop": false
|
|
42
42
|
},
|
|
43
43
|
"embla-carousel-wheel-gestures": {
|
|
44
44
|
"src": "../../../../../../node_modules/.pnpm/embla-carousel-wheel-gestures@8.1.0_embla-carousel@8.6.0/node_modules/embla-carousel-wheel-gestures/dist/embla-carousel-wheel-gestures.esm.js",
|
|
45
45
|
"file": "embla-carousel-wheel-gestures.js",
|
|
46
|
-
"fileHash": "
|
|
46
|
+
"fileHash": "31abbbbf",
|
|
47
47
|
"needsInterop": false
|
|
48
48
|
},
|
|
49
49
|
"mapbox-gl": {
|
|
50
50
|
"src": "../../../../../../node_modules/.pnpm/mapbox-gl@3.20.0/node_modules/mapbox-gl/dist/mapbox-gl.js",
|
|
51
51
|
"file": "mapbox-gl.js",
|
|
52
|
-
"fileHash": "
|
|
52
|
+
"fileHash": "99b484eb",
|
|
53
53
|
"needsInterop": true
|
|
54
54
|
},
|
|
55
55
|
"react-dom": {
|
|
56
56
|
"src": "../../../../../../node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/index.js",
|
|
57
57
|
"file": "react-dom.js",
|
|
58
|
-
"fileHash": "
|
|
58
|
+
"fileHash": "c7e6f814",
|
|
59
59
|
"needsInterop": true
|
|
60
60
|
},
|
|
61
61
|
"react-dom/client": {
|
|
62
62
|
"src": "../../../../../../node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/client.js",
|
|
63
63
|
"file": "react-dom_client.js",
|
|
64
|
-
"fileHash": "
|
|
64
|
+
"fileHash": "f4513e25",
|
|
65
65
|
"needsInterop": true
|
|
66
66
|
},
|
|
67
67
|
"react": {
|
|
68
68
|
"src": "../../../../../../node_modules/.pnpm/react@19.2.4/node_modules/react/index.js",
|
|
69
69
|
"file": "react.js",
|
|
70
|
-
"fileHash": "
|
|
70
|
+
"fileHash": "44556913",
|
|
71
71
|
"needsInterop": true
|
|
72
72
|
},
|
|
73
73
|
"react/jsx-dev-runtime": {
|
|
74
74
|
"src": "../../../../../../node_modules/.pnpm/react@19.2.4/node_modules/react/jsx-dev-runtime.js",
|
|
75
75
|
"file": "react_jsx-dev-runtime.js",
|
|
76
|
-
"fileHash": "
|
|
76
|
+
"fileHash": "11cb20e9",
|
|
77
77
|
"needsInterop": true
|
|
78
78
|
},
|
|
79
79
|
"react/jsx-runtime": {
|
|
80
80
|
"src": "../../../../../../node_modules/.pnpm/react@19.2.4/node_modules/react/jsx-runtime.js",
|
|
81
81
|
"file": "react_jsx-runtime.js",
|
|
82
|
-
"fileHash": "
|
|
82
|
+
"fileHash": "1fc1ef3f",
|
|
83
83
|
"needsInterop": true
|
|
84
84
|
},
|
|
85
85
|
"tailwind-merge": {
|
|
86
86
|
"src": "../../../../../../node_modules/.pnpm/tailwind-merge@3.5.0/node_modules/tailwind-merge/dist/bundle-mjs.mjs",
|
|
87
87
|
"file": "tailwind-merge.js",
|
|
88
|
-
"fileHash": "
|
|
88
|
+
"fileHash": "4d87ab6b",
|
|
89
89
|
"needsInterop": false
|
|
90
90
|
},
|
|
91
91
|
"vitest": {
|
|
92
|
-
"src": "../../../../../../node_modules/.pnpm/vitest@4.1.
|
|
92
|
+
"src": "../../../../../../node_modules/.pnpm/vitest@4.1.2_@types+node@25.5.0_jsdom@29.0.1_vite@8.0.3_@types+node@25.5.0_esbuild@0.27.4_jiti@2.6.1_tsx@4.21.0_/node_modules/vitest/dist/index.js",
|
|
93
93
|
"file": "vitest.js",
|
|
94
|
-
"fileHash": "
|
|
94
|
+
"fileHash": "279ec79a",
|
|
95
95
|
"needsInterop": false
|
|
96
96
|
},
|
|
97
97
|
"zod": {
|
|
98
98
|
"src": "../../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/index.js",
|
|
99
99
|
"file": "zod.js",
|
|
100
|
-
"fileHash": "
|
|
100
|
+
"fileHash": "6a59db68",
|
|
101
101
|
"needsInterop": false
|
|
102
102
|
}
|
|
103
103
|
},
|
|
@@ -118,8 +118,8 @@
|
|
|
118
118
|
"file": "magic-string.es-Cklsmr-5.js",
|
|
119
119
|
"isDynamicEntry": true
|
|
120
120
|
},
|
|
121
|
-
"protocol-
|
|
122
|
-
"file": "protocol-
|
|
121
|
+
"protocol-B_qKkui_": {
|
|
122
|
+
"file": "protocol-B_qKkui_.js",
|
|
123
123
|
"isDynamicEntry": false
|
|
124
124
|
},
|
|
125
125
|
"schemas-NsgmY9QV": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Cn as object, In as string, It as custom, Jn as union, On as preprocess, Sn as number, Tt as array, Yn as unknown, jn as record, kt as boolean, ln as literal, mi as safeParse$1, tn as intersection, un as looseObject, vt as _enum, wn as optional, xr as datetime, xt as _null, zt as discriminatedUnion } from "./schemas-NsgmY9QV.js";
|
|
2
|
-
//#region ../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
2
|
+
//#region ../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.3.6/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js
|
|
3
3
|
function isZ4Schema(s) {
|
|
4
4
|
return !!s._zod;
|
|
5
5
|
}
|
|
@@ -42,7 +42,7 @@ function getLiteralValue(schema) {
|
|
|
42
42
|
if (directValue !== void 0) return directValue;
|
|
43
43
|
}
|
|
44
44
|
//#endregion
|
|
45
|
-
//#region ../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
45
|
+
//#region ../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.3.6/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
|
|
46
46
|
var RELATED_TASK_META_KEY = "io.modelcontextprotocol/related-task";
|
|
47
47
|
/**
|
|
48
48
|
* Assert 'object' type schema.
|
|
@@ -59,7 +59,7 @@ var ProgressTokenSchema = union([string(), number().int()]);
|
|
|
59
59
|
*/
|
|
60
60
|
var CursorSchema = string();
|
|
61
61
|
looseObject({
|
|
62
|
-
ttl:
|
|
62
|
+
ttl: number().optional(),
|
|
63
63
|
pollInterval: number().optional()
|
|
64
64
|
});
|
|
65
65
|
var TaskMetadataSchema = object({ ttl: number().optional() });
|
|
@@ -260,7 +260,8 @@ var ClientCapabilitiesSchema = object({
|
|
|
260
260
|
}).optional(),
|
|
261
261
|
elicitation: ElicitationCapabilitySchema.optional(),
|
|
262
262
|
roots: object({ listChanged: boolean().optional() }).optional(),
|
|
263
|
-
tasks: ClientTasksCapabilitySchema.optional()
|
|
263
|
+
tasks: ClientTasksCapabilitySchema.optional(),
|
|
264
|
+
extensions: record(string(), AssertObjectSchema).optional()
|
|
264
265
|
});
|
|
265
266
|
var InitializeRequestParamsSchema = BaseRequestParamsSchema.extend({
|
|
266
267
|
protocolVersion: string(),
|
|
@@ -287,7 +288,8 @@ var ServerCapabilitiesSchema = object({
|
|
|
287
288
|
listChanged: boolean().optional()
|
|
288
289
|
}).optional(),
|
|
289
290
|
tools: object({ listChanged: boolean().optional() }).optional(),
|
|
290
|
-
tasks: ServerTasksCapabilitySchema.optional()
|
|
291
|
+
tasks: ServerTasksCapabilitySchema.optional(),
|
|
292
|
+
extensions: record(string(), AssertObjectSchema).optional()
|
|
291
293
|
});
|
|
292
294
|
/**
|
|
293
295
|
* After receiving an initialize request from the client, the server sends this response.
|
|
@@ -453,6 +455,7 @@ var ResourceSchema = object({
|
|
|
453
455
|
uri: string(),
|
|
454
456
|
description: optional(string()),
|
|
455
457
|
mimeType: optional(string()),
|
|
458
|
+
size: optional(number()),
|
|
456
459
|
annotations: AnnotationsSchema.optional(),
|
|
457
460
|
_meta: optional(looseObject({}))
|
|
458
461
|
});
|
|
@@ -1228,7 +1231,7 @@ var UrlElicitationRequiredError = class extends McpError {
|
|
|
1228
1231
|
}
|
|
1229
1232
|
};
|
|
1230
1233
|
//#endregion
|
|
1231
|
-
//#region ../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
1234
|
+
//#region ../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.3.6/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js
|
|
1232
1235
|
/**
|
|
1233
1236
|
* Experimental task interfaces for MCP SDK.
|
|
1234
1237
|
* WARNING: These APIs are experimental and may change without notice.
|
|
@@ -1245,7 +1248,7 @@ function isTerminal(status) {
|
|
|
1245
1248
|
return status === "completed" || status === "failed" || status === "cancelled";
|
|
1246
1249
|
}
|
|
1247
1250
|
//#endregion
|
|
1248
|
-
//#region ../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
1251
|
+
//#region ../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.3.6/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js
|
|
1249
1252
|
function getMethodLiteral(schema) {
|
|
1250
1253
|
const methodSchema = getObjectShape(schema)?.method;
|
|
1251
1254
|
if (!methodSchema) throw new Error("Schema is missing a method literal");
|
|
@@ -1439,6 +1442,8 @@ var Protocol = class {
|
|
|
1439
1442
|
this._progressHandlers.clear();
|
|
1440
1443
|
this._taskProgressTokens.clear();
|
|
1441
1444
|
this._pendingDebouncedNotifications.clear();
|
|
1445
|
+
for (const info of this._timeoutInfo.values()) clearTimeout(info.timeoutId);
|
|
1446
|
+
this._timeoutInfo.clear();
|
|
1442
1447
|
for (const controller of this._requestHandlerAbortControllers.values()) controller.abort();
|
|
1443
1448
|
this._requestHandlerAbortControllers.clear();
|
|
1444
1449
|
const error = McpError.fromError(ErrorCode.ConnectionClosed, "Connection closed");
|
|
@@ -1542,7 +1547,7 @@ var Protocol = class {
|
|
|
1542
1547
|
}, capturedTransport?.sessionId);
|
|
1543
1548
|
else await capturedTransport?.send(errorResponse);
|
|
1544
1549
|
}).catch((error) => this._onerror(/* @__PURE__ */ new Error(`Failed to send response: ${error}`))).finally(() => {
|
|
1545
|
-
this._requestHandlerAbortControllers.delete(request.id);
|
|
1550
|
+
if (this._requestHandlerAbortControllers.get(request.id) === abortController) this._requestHandlerAbortControllers.delete(request.id);
|
|
1546
1551
|
});
|
|
1547
1552
|
}
|
|
1548
1553
|
_onprogress(notification) {
|
|
@@ -2087,4 +2092,4 @@ var Protocol = class {
|
|
|
2087
2092
|
//#endregion
|
|
2088
2093
|
export { ResourceListChangedNotificationSchema as C, ResourceLinkSchema as S, ToolSchema as T, PingRequestSchema as _, EmbeddedResourceSchema as a, ReadResourceResultSchema as b, JSONRPCMessageSchema as c, ListResourceTemplatesRequestSchema as d, ListResourceTemplatesResultSchema as f, LoggingMessageNotificationSchema as g, ListToolsRequestSchema as h, ContentBlockSchema as i, ListPromptsRequestSchema as l, ListResourcesResultSchema as m, CallToolRequestSchema as n, EmptyResultSchema as o, ListResourcesRequestSchema as p, CallToolResultSchema as r, ImplementationSchema as s, Protocol as t, ListPromptsResultSchema as u, PromptListChangedNotificationSchema as v, ToolListChangedNotificationSchema as w, RequestIdSchema as x, ReadResourceRequestSchema as y };
|
|
2089
2094
|
|
|
2090
|
-
//# sourceMappingURL=protocol-
|
|
2095
|
+
//# sourceMappingURL=protocol-B_qKkui_.js.map
|