@sdata/web-vue-mcp 2.2.1 → 2.3.1

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.
Files changed (2) hide show
  1. package/dist/index.js +16 -32
  2. 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.1.0",
9
- generatedAt: "2026-08-19T03:46:30.757Z",
8
+ version: "4.3.0",
9
+ generatedAt: "2026-08-28T07:18:44.194Z",
10
10
  library: {
11
11
  "name": "@sdata/web-vue",
12
12
  "framework": "Vue 3",
@@ -6140,35 +6140,19 @@ const data = {
6140
6140
  "docUrl": "https://sd-design.js.org/components/ellipsis",
6141
6141
  "importPath": "@sdata/web-vue",
6142
6142
  "importName": "Ellipsis",
6143
- "props": [
6144
- {
6145
- "name": "line-clamp",
6146
- "type": "number | string",
6147
- "default": "undefined",
6148
- "description": {
6149
- "zh": "最大显示行数。不传时为单行省略。",
6150
- "en": "Maximum number of displayed lines. Single-line ellipsis is used by default."
6151
- }
6152
- },
6153
- {
6154
- "name": "expand-trigger",
6155
- "type": "'click'",
6156
- "default": "undefined",
6157
- "description": {
6158
- "zh": "展开的触发方式",
6159
- "en": "Trigger mode for expansion"
6160
- }
6161
- },
6162
- {
6163
- "name": "tooltip",
6164
- "type": "boolean | EllipsisTooltipProps",
6165
- "default": "true",
6166
- "description": {
6167
- "zh": "省略时是否展示提示。可传入 Tooltip 属性。",
6168
- "en": "Whether to show a tooltip when ellipsis is active. Tooltip props are supported."
6169
- }
6170
- }
6171
- ],
6143
+ "props": [],
6144
+ "events": [],
6145
+ "slots": []
6146
+ },
6147
+ {
6148
+ "name": "sd-clamp",
6149
+ "title": "内容裁剪 Clamp",
6150
+ "category": "内容与媒体",
6151
+ "description": "原样提供 vue-clamp 的文本、富文本、单行字符串与原子项响应式裁剪能力。",
6152
+ "docUrl": "https://sd-design.js.org/components/clamp",
6153
+ "importPath": "@sdata/web-vue",
6154
+ "importName": "Clamp",
6155
+ "props": [],
6172
6156
  "events": [],
6173
6157
  "slots": []
6174
6158
  },
@@ -8453,7 +8437,7 @@ const findByProp = (prop) => {
8453
8437
  const createServer = () => {
8454
8438
  const server = new McpServer({
8455
8439
  name: PKG_NAME,
8456
- version: "2.2.1"
8440
+ version: "2.3.1"
8457
8441
  });
8458
8442
  server.registerTool("list_components", {
8459
8443
  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.",
package/package.json CHANGED
@@ -64,7 +64,7 @@
64
64
  "engines": {
65
65
  "node": ">=20"
66
66
  },
67
- "version": "2.2.1",
67
+ "version": "2.3.1",
68
68
  "scripts": {
69
69
  "gen": "node ./scripts/gen-component-data.mjs",
70
70
  "build": "node ./scripts/build.mjs",