@modelcontextprotocol/server-basic-solid 1.0.0 → 1.1.0
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/index.js +9 -9
- package/dist/mcp-app.html +12 -12
- package/dist/server.js +4 -4
- package/package.json +3 -3
package/dist/server.js
CHANGED
|
@@ -11682,7 +11682,7 @@ class Doc {
|
|
|
11682
11682
|
var version = {
|
|
11683
11683
|
major: 4,
|
|
11684
11684
|
minor: 3,
|
|
11685
|
-
patch:
|
|
11685
|
+
patch: 5
|
|
11686
11686
|
};
|
|
11687
11687
|
|
|
11688
11688
|
// ../../node_modules/zod/v4/core/schemas.js
|
|
@@ -12722,7 +12722,7 @@ var $ZodRecord = /* @__PURE__ */ $constructor("$ZodRecord", (inst, def) => {
|
|
|
12722
12722
|
if (keyResult instanceof Promise) {
|
|
12723
12723
|
throw new Error("Async schemas not supported in object keys currently");
|
|
12724
12724
|
}
|
|
12725
|
-
const checkNumericKey = typeof key === "string" && number.test(key) && keyResult.issues.length;
|
|
12725
|
+
const checkNumericKey = typeof key === "string" && number.test(key) && keyResult.issues.length && keyResult.issues.some((iss) => iss.code === "invalid_type" && iss.expected === "number");
|
|
12726
12726
|
if (checkNumericKey) {
|
|
12727
12727
|
const retryResult = def.keyType._zod.run({ value: Number(key), issues: [] }, ctx);
|
|
12728
12728
|
if (retryResult instanceof Promise) {
|
|
@@ -13888,7 +13888,7 @@ function finalize(ctx, schema) {
|
|
|
13888
13888
|
}
|
|
13889
13889
|
}
|
|
13890
13890
|
}
|
|
13891
|
-
if (refSchema.$ref
|
|
13891
|
+
if (refSchema.$ref) {
|
|
13892
13892
|
for (const key in schema2) {
|
|
13893
13893
|
if (key === "$ref" || key === "allOf")
|
|
13894
13894
|
continue;
|
|
@@ -19688,7 +19688,7 @@ var EMPTY_COMPLETION_RESULT = {
|
|
|
19688
19688
|
import fs from "node:fs/promises";
|
|
19689
19689
|
import path from "node:path";
|
|
19690
19690
|
|
|
19691
|
-
// ../../dist/src/server/index.js
|
|
19691
|
+
// ../../node_modules/@modelcontextprotocol/ext-apps/dist/src/server/index.js
|
|
19692
19692
|
var QI = Object.defineProperty;
|
|
19693
19693
|
var s = (r, i) => {
|
|
19694
19694
|
for (var o in i)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@modelcontextprotocol/server-basic-solid",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Basic MCP App Server example using Solid",
|
|
6
6
|
"repository": {
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"watch": "cross-env INPUT=mcp-app.html vite build --watch",
|
|
19
19
|
"serve": "bun --watch main.ts",
|
|
20
20
|
"start": "cross-env NODE_ENV=development npm run build && npm run serve",
|
|
21
|
-
"dev": "cross-env NODE_ENV=development concurrently
|
|
21
|
+
"dev": "cross-env NODE_ENV=development concurrently \"npm run watch\" \"npm run serve\"",
|
|
22
22
|
"prepublishOnly": "npm run build"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@modelcontextprotocol/ext-apps": "
|
|
25
|
+
"@modelcontextprotocol/ext-apps": "^1.0.0",
|
|
26
26
|
"@modelcontextprotocol/sdk": "^1.24.0",
|
|
27
27
|
"cors": "^2.8.5",
|
|
28
28
|
"express": "^5.1.0",
|