@sdata/web-vue-mcp 2.3.1 → 2.4.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 +27 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5,8 +5,8 @@ import * as z from "zod/v4";
|
|
|
5
5
|
//#endregion
|
|
6
6
|
//#region src/index.ts
|
|
7
7
|
const data = {
|
|
8
|
-
version: "4.3.
|
|
9
|
-
generatedAt: "2026-
|
|
8
|
+
version: "4.3.1",
|
|
9
|
+
generatedAt: "2026-09-01T04:10:57.563Z",
|
|
10
10
|
library: {
|
|
11
11
|
"name": "@sdata/web-vue",
|
|
12
12
|
"framework": "Vue 3",
|
|
@@ -6132,6 +6132,30 @@ const data = {
|
|
|
6132
6132
|
}],
|
|
6133
6133
|
"slots": []
|
|
6134
6134
|
},
|
|
6135
|
+
{
|
|
6136
|
+
"name": "sd-regex-vis",
|
|
6137
|
+
"title": "正则可视化 RegexVis",
|
|
6138
|
+
"category": "内容与媒体",
|
|
6139
|
+
"description": "将 ECMAScript 正则表达式解析为可交互的 SVG 铁路图,支持受控输入、标志、错误反馈和节点选择。",
|
|
6140
|
+
"docUrl": "https://sd-design.js.org/components/regex-vis",
|
|
6141
|
+
"importPath": "@sdata/web-vue",
|
|
6142
|
+
"importName": "RegexVis",
|
|
6143
|
+
"props": [],
|
|
6144
|
+
"events": [{
|
|
6145
|
+
"name": "select",
|
|
6146
|
+
"description": {
|
|
6147
|
+
"zh": "选择可视图节点时触发",
|
|
6148
|
+
"en": "Triggered when a visualization node is selected"
|
|
6149
|
+
}
|
|
6150
|
+
}, {
|
|
6151
|
+
"name": "error",
|
|
6152
|
+
"description": {
|
|
6153
|
+
"zh": "正则校验状态变化时触发,无错误时为 undefined",
|
|
6154
|
+
"en": "Triggered when regex validation changes; undefined means valid"
|
|
6155
|
+
}
|
|
6156
|
+
}],
|
|
6157
|
+
"slots": []
|
|
6158
|
+
},
|
|
6135
6159
|
{
|
|
6136
6160
|
"name": "sd-ellipsis",
|
|
6137
6161
|
"title": "文本省略 Ellipsis",
|
|
@@ -8437,7 +8461,7 @@ const findByProp = (prop) => {
|
|
|
8437
8461
|
const createServer = () => {
|
|
8438
8462
|
const server = new McpServer({
|
|
8439
8463
|
name: PKG_NAME,
|
|
8440
|
-
version: "2.
|
|
8464
|
+
version: "2.4.0"
|
|
8441
8465
|
});
|
|
8442
8466
|
server.registerTool("list_components", {
|
|
8443
8467
|
description: "List all SD Design components with their category, bilingual title and API size. Optionally filter by category. Use this first to discover what is available.",
|