@tano.page/mcp 0.9.0 → 0.9.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/dist/tano-mcp.cjs CHANGED
@@ -36845,6 +36845,8 @@ function workspaceIdentity(root) {
36845
36845
  if (metadata.isSymbolicLink() || !metadata.isFile())
36846
36846
  throw new Error("\u5DE5\u4F5C\u533A\u914D\u7F6E\u4E0D\u80FD\u662F\u7B26\u53F7\u94FE\u63A5\u6216\u975E\u6587\u4EF6");
36847
36847
  const config2 = JSON.parse((0, import_node_fs.readFileSync)(file2, "utf8"));
36848
+ if (config2 && Object.hasOwn(config2, "format") && config2.format !== 1)
36849
+ throw new Error("\u6B64\u5DE5\u4F5C\u533A\u7684\u6570\u636E\u683C\u5F0F\u4E0D\u53D7\u5F53\u524D\u7248\u672C\u652F\u6301\uFF0C\u8BF7\u5347\u7EA7 Tano \u6216 Tano Local\uFF1B\u5DF2\u505C\u6B62\u6253\u5F00\u548C\u5199\u5165\uFF0C\u539F\u6587\u4EF6\u5DF2\u4FDD\u7559");
36848
36850
  if (!/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(config2.id))
36849
36851
  throw new Error("\u8BF7\u5148\u7528 Tano \u6253\u5F00\u6B64\u5DE5\u4F5C\u6587\u4EF6\u5939");
36850
36852
  return config2.id;
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@tano.page/mcp",
3
- "version": "0.9.0",
3
+ "version": "0.9.2",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": ">=24.12.0"
7
7
  },
8
8
  "dependencies": {
9
9
  "@modelcontextprotocol/sdk": "^1.30.0",
10
- "@tano/protocol": "npm:@tano.page/protocol@0.9.0",
10
+ "@tano/protocol": "npm:@tano.page/protocol@0.9.2",
11
11
  "zod": "^4.6.5"
12
12
  },
13
13
  "license": "MIT",
@@ -28,8 +28,8 @@
28
28
  "url": "git+https://github.com/Dramwig/Tano.git"
29
29
  },
30
30
  "tanoCore": {
31
- "sourceCommit": "18c6d69c1b0c818a84519bd6e051259cd485410c",
32
- "version": "0.9.0",
31
+ "sourceCommit": "58fa1c412b888b2160eb48e0abd297bdfd8e5948",
32
+ "version": "0.9.2",
33
33
  "importName": "@tano/mcp"
34
34
  }
35
35
  }