@mcp-use/inspector 0.12.5 → 0.13.0-canary.10
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/dist/cli.js +11 -3
- package/dist/client/assets/browser-CQhvXRgA.js +501 -0
- package/dist/client/assets/{display-A5IEINAP-BX11cXGe.js → display-A5IEINAP-BsKaiMOX.js} +2 -2
- package/dist/client/assets/{embeddings-Azb3VHue.js → embeddings-DpSXEv5n.js} +1 -1
- package/dist/client/assets/{index-O0gjGlMB.js → index-1oOUdn3H.js} +1 -1
- package/dist/client/assets/{index-CbvsEzXT.js → index-B0cN6CyQ.js} +1 -1
- package/dist/client/assets/{index-Dh_Vxoku.js → index-B4gW2Mq2.js} +1 -1
- package/dist/client/assets/index-BW8kJiKz.js +7 -0
- package/dist/client/assets/index-BYYChQ84.js +1707 -0
- package/dist/client/assets/{index-CYBG3mWU.js → index-CyHacqJj.js} +1 -1
- package/dist/client/assets/{index-DMdheUGh.js → index-CyjpFzxN.js} +1 -1
- package/dist/client/assets/index-D-zrynRj.css +1 -0
- package/dist/client/assets/{index-BFcdg9p1.js → index-DdjBoJpx.js} +1 -1
- package/dist/client/assets/{index-VGF5GoM6.js → index-DkySmQtm.js} +2 -2
- package/dist/client/assets/langfuse-74RGPTAH-DyVjdY8Y.js +1 -0
- package/dist/client/assets/path-DYKDF_ga.js +1 -0
- package/dist/client/assets/path-MNZaYwxc.js +1 -0
- package/dist/client/assets/{winston-Yd0Tb9GZ.js → winston-j3ELiB8E.js} +15 -15
- package/dist/client/index.html +3 -3
- package/dist/server/{chunk-V5FEV5SU.js → chunk-67ROKQZG.js} +36 -4
- package/dist/server/{chunk-PBQJCPZX.js → chunk-OS2WTNLR.js} +3 -3
- package/dist/server/{chunk-XU7SXB3C.js → chunk-WLIY2SQG.js} +1 -1
- package/dist/server/{chunk-LNMQYGXR.js → chunk-YLX7JQDX.js} +1 -1
- package/dist/server/{chunk-KW44WB52.js → chunk-Z5QIR3IS.js} +11 -3
- package/dist/server/cli.js +4 -4
- package/dist/server/index.js +5 -5
- package/dist/server/middleware.js +5 -5
- package/dist/server/server.js +4 -4
- package/dist/server/shared-routes.js +2 -2
- package/dist/server/shared-static.js +2 -2
- package/dist/server/shared-utils-browser.d.ts +1 -0
- package/dist/server/shared-utils-browser.d.ts.map +1 -1
- package/dist/server/shared-utils-browser.js +1 -1
- package/dist/server/shared-utils.d.ts +1 -0
- package/dist/server/shared-utils.d.ts.map +1 -1
- package/dist/server/shared-utils.js +1 -1
- package/package.json +13 -7
- package/dist/client/assets/__vite-browser-external-D7Ct-6yo.js +0 -1
- package/dist/client/assets/browser-BzPxdp9T.js +0 -408
- package/dist/client/assets/index-BZHKq4Gu.js +0 -1676
- package/dist/client/assets/index-beDRbW3x.css +0 -1
- package/dist/client/assets/index-dr09MWBF.js +0 -40
- package/dist/client/assets/path-C2bN6h38.js +0 -1
package/dist/client/index.html
CHANGED
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
rel="stylesheet"
|
|
28
28
|
/>
|
|
29
29
|
<title>Inspector | mcp-use</title>
|
|
30
|
-
<script type="module" crossorigin src="/inspector/assets/index-
|
|
31
|
-
<link rel="stylesheet" crossorigin href="/inspector/assets/index-
|
|
32
|
-
<script>window.__INSPECTOR_VERSION__ = "0.
|
|
30
|
+
<script type="module" crossorigin src="/inspector/assets/index-BYYChQ84.js"></script>
|
|
31
|
+
<link rel="stylesheet" crossorigin href="/inspector/assets/index-D-zrynRj.css">
|
|
32
|
+
<script>window.__INSPECTOR_VERSION__ = "0.13.0-canary.10";</script>
|
|
33
33
|
</head>
|
|
34
34
|
<body>
|
|
35
35
|
<script>
|
|
@@ -265,11 +265,13 @@ function storeWidgetData(data) {
|
|
|
265
265
|
uri,
|
|
266
266
|
toolInput,
|
|
267
267
|
toolOutput,
|
|
268
|
+
toolResponseMetadata,
|
|
268
269
|
resourceData,
|
|
269
270
|
toolId,
|
|
270
271
|
widgetCSP: _widgetCSP,
|
|
271
272
|
devWidgetUrl,
|
|
272
|
-
devServerBaseUrl
|
|
273
|
+
devServerBaseUrl,
|
|
274
|
+
theme
|
|
273
275
|
} = data;
|
|
274
276
|
console.log("[Widget Store] Received request for toolId:", toolId);
|
|
275
277
|
console.log("[Widget Store] Fields:", {
|
|
@@ -278,6 +280,8 @@ function storeWidgetData(data) {
|
|
|
278
280
|
hasResourceData: !!resourceData,
|
|
279
281
|
hasToolInput: !!toolInput,
|
|
280
282
|
hasToolOutput: !!toolOutput,
|
|
283
|
+
hasToolResponseMetadata: !!toolResponseMetadata,
|
|
284
|
+
toolResponseMetadata,
|
|
281
285
|
hasWidgetCSP: !!_widgetCSP,
|
|
282
286
|
devWidgetUrl,
|
|
283
287
|
devServerBaseUrl
|
|
@@ -299,12 +303,14 @@ function storeWidgetData(data) {
|
|
|
299
303
|
uri,
|
|
300
304
|
toolInput,
|
|
301
305
|
toolOutput,
|
|
306
|
+
toolResponseMetadata,
|
|
302
307
|
resourceData,
|
|
303
308
|
toolId,
|
|
304
309
|
timestamp: Date.now(),
|
|
305
310
|
widgetCSP: _widgetCSP,
|
|
306
311
|
devWidgetUrl,
|
|
307
|
-
devServerBaseUrl
|
|
312
|
+
devServerBaseUrl,
|
|
313
|
+
theme
|
|
308
314
|
});
|
|
309
315
|
console.log("[Widget Store] Data stored successfully for toolId:", toolId);
|
|
310
316
|
return { success: true };
|
|
@@ -352,6 +358,7 @@ function generateWidgetContentHtml(widgetData) {
|
|
|
352
358
|
uri,
|
|
353
359
|
toolInput,
|
|
354
360
|
toolOutput,
|
|
361
|
+
toolResponseMetadata,
|
|
355
362
|
resourceData,
|
|
356
363
|
toolId,
|
|
357
364
|
widgetCSP: _widgetCSP,
|
|
@@ -386,6 +393,7 @@ function generateWidgetContentHtml(widgetData) {
|
|
|
386
393
|
const widgetStateKey = `openai-widget-state:${toolId}`;
|
|
387
394
|
const safeToolInput = JSON.stringify(toolInput ?? null).replace(/</g, "\\u003c").replace(/>/g, "\\u003e");
|
|
388
395
|
const safeToolOutput = JSON.stringify(toolOutput ?? null).replace(/</g, "\\u003c").replace(/>/g, "\\u003e");
|
|
396
|
+
const safeToolResponseMetadata = JSON.stringify(toolResponseMetadata ?? null).replace(/</g, "\\u003c").replace(/>/g, "\\u003e");
|
|
389
397
|
const safeToolId = JSON.stringify(toolId);
|
|
390
398
|
const safeWidgetStateKey = JSON.stringify(widgetStateKey);
|
|
391
399
|
const safeTheme = JSON.stringify(theme === "dark" ? "dark" : "light");
|
|
@@ -408,8 +416,8 @@ function generateWidgetContentHtml(widgetData) {
|
|
|
408
416
|
|
|
409
417
|
const openaiAPI = {
|
|
410
418
|
toolInput: ${safeToolInput},
|
|
411
|
-
toolOutput:
|
|
412
|
-
toolResponseMetadata: null,
|
|
419
|
+
toolOutput: null, // Initially null to emulate OpenAI behavior (widget renders before tool completes)
|
|
420
|
+
toolResponseMetadata: null, // Initially null to emulate OpenAI behavior
|
|
413
421
|
displayMode: 'inline',
|
|
414
422
|
maxHeight: 600,
|
|
415
423
|
theme: ${safeTheme},
|
|
@@ -548,6 +556,30 @@ function generateWidgetContentHtml(widgetData) {
|
|
|
548
556
|
}
|
|
549
557
|
} catch (err) {}
|
|
550
558
|
}, 0);
|
|
559
|
+
|
|
560
|
+
// Emulate OpenAI behavior: initially toolOutput and toolResponseMetadata are null,
|
|
561
|
+
// then they get populated when the "tool execution completes"
|
|
562
|
+
setTimeout(() => {
|
|
563
|
+
try {
|
|
564
|
+
if (window.openai) {
|
|
565
|
+
window.openai.toolOutput = ${safeToolOutput};
|
|
566
|
+
window.openai.toolResponseMetadata = ${safeToolResponseMetadata};
|
|
567
|
+
|
|
568
|
+
// Dispatch set_globals event to notify React components
|
|
569
|
+
const globalsEvent = new CustomEvent('openai:set_globals', {
|
|
570
|
+
detail: {
|
|
571
|
+
globals: {
|
|
572
|
+
toolOutput: window.openai.toolOutput,
|
|
573
|
+
toolResponseMetadata: window.openai.toolResponseMetadata,
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
});
|
|
577
|
+
window.dispatchEvent(globalsEvent);
|
|
578
|
+
}
|
|
579
|
+
} catch (err) {
|
|
580
|
+
console.error('[Inspector] Failed to populate toolOutput:', err);
|
|
581
|
+
}
|
|
582
|
+
}, 100); // Small delay to emulate tool execution time
|
|
551
583
|
})();
|
|
552
584
|
</script>
|
|
553
585
|
`;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registerInspectorRoutes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WLIY2SQG.js";
|
|
4
4
|
import {
|
|
5
5
|
registerStaticRoutes
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YLX7JQDX.js";
|
|
7
7
|
import {
|
|
8
8
|
checkClientFiles,
|
|
9
9
|
getClientDistPath
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-67ROKQZG.js";
|
|
11
11
|
|
|
12
12
|
// src/server/middleware.ts
|
|
13
13
|
import { Hono } from "hono";
|
|
@@ -230,11 +230,13 @@ function storeWidgetData(data) {
|
|
|
230
230
|
uri,
|
|
231
231
|
toolInput,
|
|
232
232
|
toolOutput,
|
|
233
|
+
toolResponseMetadata,
|
|
233
234
|
resourceData,
|
|
234
235
|
toolId,
|
|
235
236
|
widgetCSP,
|
|
236
237
|
devWidgetUrl,
|
|
237
|
-
devServerBaseUrl
|
|
238
|
+
devServerBaseUrl,
|
|
239
|
+
theme
|
|
238
240
|
} = data;
|
|
239
241
|
console.log("[Widget Store] Received request for toolId:", toolId);
|
|
240
242
|
console.log("[Widget Store] Fields:", {
|
|
@@ -243,6 +245,8 @@ function storeWidgetData(data) {
|
|
|
243
245
|
hasResourceData: !!resourceData,
|
|
244
246
|
hasToolInput: !!toolInput,
|
|
245
247
|
hasToolOutput: !!toolOutput,
|
|
248
|
+
hasToolResponseMetadata: !!toolResponseMetadata,
|
|
249
|
+
toolResponseMetadata,
|
|
246
250
|
hasWidgetCSP: !!widgetCSP,
|
|
247
251
|
devWidgetUrl,
|
|
248
252
|
devServerBaseUrl
|
|
@@ -264,12 +268,14 @@ function storeWidgetData(data) {
|
|
|
264
268
|
uri,
|
|
265
269
|
toolInput,
|
|
266
270
|
toolOutput,
|
|
271
|
+
toolResponseMetadata,
|
|
267
272
|
resourceData,
|
|
268
273
|
toolId,
|
|
269
274
|
timestamp: Date.now(),
|
|
270
275
|
widgetCSP,
|
|
271
276
|
devWidgetUrl,
|
|
272
|
-
devServerBaseUrl
|
|
277
|
+
devServerBaseUrl,
|
|
278
|
+
theme
|
|
273
279
|
});
|
|
274
280
|
console.log("[Widget Store] Data stored successfully for toolId:", toolId);
|
|
275
281
|
return { success: true };
|
|
@@ -317,6 +323,7 @@ function generateWidgetContentHtml(widgetData) {
|
|
|
317
323
|
uri,
|
|
318
324
|
toolInput,
|
|
319
325
|
toolOutput,
|
|
326
|
+
toolResponseMetadata,
|
|
320
327
|
resourceData,
|
|
321
328
|
toolId,
|
|
322
329
|
devServerBaseUrl,
|
|
@@ -350,6 +357,7 @@ function generateWidgetContentHtml(widgetData) {
|
|
|
350
357
|
const widgetStateKey = `openai-widget-state:${toolId}`;
|
|
351
358
|
const safeToolInput = JSON.stringify(toolInput ?? null).replace(/</g, "\\u003c").replace(/>/g, "\\u003e");
|
|
352
359
|
const safeToolOutput = JSON.stringify(toolOutput ?? null).replace(/</g, "\\u003c").replace(/>/g, "\\u003e");
|
|
360
|
+
const safeToolResponseMetadata = JSON.stringify(toolResponseMetadata ?? null).replace(/</g, "\\u003c").replace(/>/g, "\\u003e");
|
|
353
361
|
const safeToolId = JSON.stringify(toolId);
|
|
354
362
|
const safeWidgetStateKey = JSON.stringify(widgetStateKey);
|
|
355
363
|
const safeTheme = JSON.stringify(theme === "dark" ? "dark" : "light");
|
|
@@ -373,7 +381,7 @@ function generateWidgetContentHtml(widgetData) {
|
|
|
373
381
|
const openaiAPI = {
|
|
374
382
|
toolInput: ${safeToolInput},
|
|
375
383
|
toolOutput: ${safeToolOutput},
|
|
376
|
-
toolResponseMetadata:
|
|
384
|
+
toolResponseMetadata: ${safeToolResponseMetadata},
|
|
377
385
|
displayMode: 'inline',
|
|
378
386
|
maxHeight: 600,
|
|
379
387
|
theme: ${safeTheme},
|
package/dist/server/cli.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
registerInspectorRoutes
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WLIY2SQG.js";
|
|
5
5
|
import {
|
|
6
6
|
findAvailablePort,
|
|
7
7
|
isValidUrl
|
|
@@ -9,9 +9,9 @@ import {
|
|
|
9
9
|
import "./chunk-CVECQ7BJ.js";
|
|
10
10
|
import {
|
|
11
11
|
registerStaticRoutes
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-YLX7JQDX.js";
|
|
13
|
+
import "./chunk-67ROKQZG.js";
|
|
14
|
+
import "./chunk-Z5QIR3IS.js";
|
|
15
15
|
import "./chunk-PKBMQBKP.js";
|
|
16
16
|
|
|
17
17
|
// src/server/cli.ts
|
package/dist/server/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mountInspector
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-OS2WTNLR.js";
|
|
4
|
+
import "./chunk-WLIY2SQG.js";
|
|
5
5
|
import "./chunk-JCLAFMDT.js";
|
|
6
6
|
import "./chunk-CVECQ7BJ.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-YLX7JQDX.js";
|
|
8
|
+
import "./chunk-67ROKQZG.js";
|
|
9
9
|
import {
|
|
10
10
|
handleChatRequest,
|
|
11
11
|
handleChatRequestStream
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-Z5QIR3IS.js";
|
|
13
13
|
import "./chunk-PKBMQBKP.js";
|
|
14
14
|
export {
|
|
15
15
|
handleChatRequest,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mountInspector
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-OS2WTNLR.js";
|
|
4
|
+
import "./chunk-WLIY2SQG.js";
|
|
5
5
|
import "./chunk-JCLAFMDT.js";
|
|
6
6
|
import "./chunk-CVECQ7BJ.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-YLX7JQDX.js";
|
|
8
|
+
import "./chunk-67ROKQZG.js";
|
|
9
|
+
import "./chunk-Z5QIR3IS.js";
|
|
10
10
|
import "./chunk-PKBMQBKP.js";
|
|
11
11
|
export {
|
|
12
12
|
mountInspector
|
package/dist/server/server.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registerInspectorRoutes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WLIY2SQG.js";
|
|
4
4
|
import {
|
|
5
5
|
isPortAvailable
|
|
6
6
|
} from "./chunk-JCLAFMDT.js";
|
|
7
7
|
import "./chunk-CVECQ7BJ.js";
|
|
8
8
|
import {
|
|
9
9
|
registerStaticRoutesWithDevProxy
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-YLX7JQDX.js";
|
|
11
|
+
import "./chunk-67ROKQZG.js";
|
|
12
|
+
import "./chunk-Z5QIR3IS.js";
|
|
13
13
|
import "./chunk-PKBMQBKP.js";
|
|
14
14
|
|
|
15
15
|
// src/server/server.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registerInspectorRoutes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WLIY2SQG.js";
|
|
4
4
|
import "./chunk-JCLAFMDT.js";
|
|
5
5
|
import "./chunk-CVECQ7BJ.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-Z5QIR3IS.js";
|
|
7
7
|
import "./chunk-PKBMQBKP.js";
|
|
8
8
|
export {
|
|
9
9
|
registerInspectorRoutes
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registerStaticRoutes,
|
|
3
3
|
registerStaticRoutesWithDevProxy
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-YLX7JQDX.js";
|
|
5
|
+
import "./chunk-67ROKQZG.js";
|
|
6
6
|
import "./chunk-PKBMQBKP.js";
|
|
7
7
|
export {
|
|
8
8
|
registerStaticRoutes,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared-utils-browser.d.ts","sourceRoot":"","sources":["../../src/server/shared-utils-browser.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,UAAU,SAAS;IACjB,QAAQ,EAAE,QAAQ,GAAG,WAAW,GAAG,QAAQ,CAAC;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,UAAU,WAAW;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,UAAU,UAAU;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAA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AAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAuRA;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CACtC,SAAS,CAAC,EAAE;IACV,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;CAC7B,EACD,gBAAgB,CAAC,EAAE,MAAM,GACxB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CA+FxB"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcp-use/inspector",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.13.0-canary.10",
|
|
5
5
|
"description": "MCP Inspector - A tool for inspecting and debugging MCP servers",
|
|
6
6
|
"author": "",
|
|
7
7
|
"license": "MIT",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
11
|
"url": "git+https://github.com/mcp-use/mcp-use.git",
|
|
12
|
-
"directory": "packages/inspector"
|
|
12
|
+
"directory": "libraries/typescript/packages/inspector"
|
|
13
13
|
},
|
|
14
14
|
"bugs": {
|
|
15
15
|
"url": "https://github.com/mcp-use/mcp-use/issues"
|
|
@@ -34,8 +34,14 @@
|
|
|
34
34
|
"files": [
|
|
35
35
|
"dist"
|
|
36
36
|
],
|
|
37
|
+
"engines": {
|
|
38
|
+
"node": "^20.19.0 || >=22.12.0"
|
|
39
|
+
},
|
|
37
40
|
"peerDependencies": {
|
|
38
|
-
"express": "^4.21.2 || ^5.0.0"
|
|
41
|
+
"express": "^4.21.2 || ^5.0.0",
|
|
42
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
43
|
+
"react-dom": "^18.0.0 || ^19.0.0",
|
|
44
|
+
"react-router": "^7.0.0"
|
|
39
45
|
},
|
|
40
46
|
"peerDependenciesMeta": {
|
|
41
47
|
"express": {
|
|
@@ -75,15 +81,12 @@
|
|
|
75
81
|
"next-themes": "^0.4.6",
|
|
76
82
|
"open": "^11.0.0",
|
|
77
83
|
"posthog-node": "^5.14.1",
|
|
78
|
-
"react": "^19.2.0",
|
|
79
|
-
"react-dom": "^19.2.0",
|
|
80
84
|
"react-resizable-panels": "^3.0.6",
|
|
81
|
-
"react-router-dom": "^7.9.6",
|
|
82
85
|
"react-syntax-highlighter": "^16.1.0",
|
|
83
86
|
"sonner": "^2.0.7",
|
|
84
87
|
"tailwind-merge": "^3.4.0",
|
|
85
88
|
"vite-express": "^0.21.1",
|
|
86
|
-
"mcp-use": "1.10
|
|
89
|
+
"mcp-use": "1.11.0-canary.10"
|
|
87
90
|
},
|
|
88
91
|
"publishConfig": {
|
|
89
92
|
"access": "public"
|
|
@@ -101,6 +104,9 @@
|
|
|
101
104
|
"@types/react": "^19.2.7",
|
|
102
105
|
"@types/react-dom": "^19.2.3",
|
|
103
106
|
"@vitejs/plugin-react": "^5.1.1",
|
|
107
|
+
"react": "^19.2.0",
|
|
108
|
+
"react-dom": "^19.2.0",
|
|
109
|
+
"react-router": "^7.9.6",
|
|
104
110
|
"concurrently": "^9.2.1",
|
|
105
111
|
"eslint": "^9.39.1",
|
|
106
112
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e={},t=Object.freeze(Object.defineProperty({__proto__:null,default:e},Symbol.toStringTag,{value:"Module"}));export{t as _};
|