@sdata/web-vue-mcp 5.6.0 → 5.7.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.
Files changed (2) hide show
  1. package/dist/index.js +38 -26
  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: "7.7.0",
9
- generatedAt: "2026-10-27T05:35:23.991Z",
8
+ version: "7.8.2",
9
+ generatedAt: "2026-11-16T08:22:48.069Z",
10
10
  library: {
11
11
  "name": "@sdata/web-vue",
12
12
  "framework": "Vue 3",
@@ -364,6 +364,18 @@ const data = {
364
364
  }
365
365
  ]
366
366
  },
367
+ {
368
+ "name": "sd-icon",
369
+ "title": "图标 Icon",
370
+ "category": "基础与配置",
371
+ "description": "基于同一批 SVG 源文件生成的完整图标目录。",
372
+ "docUrl": "https://sd-design.js.org/components/icon",
373
+ "importPath": "@sdata/web-vue",
374
+ "importName": "Icon",
375
+ "props": [],
376
+ "events": [],
377
+ "slots": []
378
+ },
367
379
  {
368
380
  "name": "sd-markdown-render",
369
381
  "title": "Markdown 渲染 MarkdownRender",
@@ -7911,7 +7923,7 @@ const data = {
7911
7923
  "name": "sd-rich-text-editor",
7912
7924
  "title": "富文本编辑器 RichTextEditor",
7913
7925
  "category": "数据录入",
7914
- "description": "基于 Lexical 的可扩展 Vue 富文本编辑器,支持完整 EditorState、组件节点、HTML、Markdown、历史记录和底层 API 访问。",
7926
+ "description": "基于 Lexical 的可扩展富文本编辑器,支持完整 EditorState、组件节点、HTML、Markdown、历史记录和底层 API 访问。",
7915
7927
  "docUrl": "https://sd-design.js.org/components/rich-text-editor",
7916
7928
  "importPath": "@sdata/web-vue",
7917
7929
  "importName": "RichTextEditor",
@@ -11789,7 +11801,7 @@ const data = {
11789
11801
  {
11790
11802
  "name": "time-to",
11791
11803
  "type": "number",
11792
- "default": "minutesInADay",
11804
+ "default": "24 * 60",
11793
11805
  "description": {
11794
11806
  "zh": "时间列的结束时间(分钟)",
11795
11807
  "en": "End time of the time column, in minutes"
@@ -12687,7 +12699,7 @@ const data = {
12687
12699
  },
12688
12700
  {
12689
12701
  "name": "key-props",
12690
- "type": "KvListKeyProps",
12702
+ "type": "KeyProps",
12691
12703
  "default": "",
12692
12704
  "description": {
12693
12705
  "zh": "透传给键编辑组件的属性",
@@ -12696,7 +12708,7 @@ const data = {
12696
12708
  },
12697
12709
  {
12698
12710
  "name": "value-props",
12699
- "type": "KvListValueProps",
12711
+ "type": "ValueProps",
12700
12712
  "default": "",
12701
12713
  "description": {
12702
12714
  "zh": "透传给值编辑组件的属性",
@@ -13834,7 +13846,7 @@ const data = {
13834
13846
  },
13835
13847
  {
13836
13848
  "name": "flags",
13837
- "type": "import(\"@sdata/web-core/regex-vis/parser/ast\").Flag[] | undefined",
13849
+ "type": "import(\"@sdata/web-core/regex-vis/parser\").Flag[] | undefined",
13838
13850
  "default": "() => []",
13839
13851
  "description": {
13840
13852
  "zh": "正则标志(v-model:flags)",
@@ -16821,7 +16833,7 @@ const data = {
16821
16833
  "name": "sd-tour",
16822
16834
  "title": "漫游式引导 Tour",
16823
16835
  "category": "反馈",
16824
- "description": "driver.js 的 Vue 封装,完整沿用原生配置和实例方法,并适配 SD Design 样式。",
16836
+ "description": "driver.js 的组件封装,完整沿用原生配置和实例方法,并适配 SD Design 样式。",
16825
16837
  "docUrl": "https://sd-design.js.org/components/tour",
16826
16838
  "importPath": "@sdata/web-vue",
16827
16839
  "importName": "Tour",
@@ -17757,7 +17769,7 @@ const data = {
17757
17769
  "props": [
17758
17770
  {
17759
17771
  "name": "items",
17760
- "type": "readonly BloomMenuItem[]",
17772
+ "type": "readonly BloomMenuItem<import(\"vue\").Component>[]",
17761
17773
  "default": "",
17762
17774
  "description": {
17763
17775
  "zh": "菜单项",
@@ -17811,7 +17823,7 @@ const data = {
17811
17823
  },
17812
17824
  {
17813
17825
  "name": "button-props",
17814
- "type": "BloomMenuButtonProps",
17826
+ "type": "ButtonProps",
17815
17827
  "default": "",
17816
17828
  "description": {
17817
17829
  "zh": "触发按钮属性",
@@ -19003,7 +19015,7 @@ const data = {
19003
19015
  {
19004
19016
  "name": "type",
19005
19017
  "type": "VoiceGlowType | undefined",
19006
- "default": "'default'",
19018
+ "default": "",
19007
19019
  "description": {
19008
19020
  "zh": "",
19009
19021
  "en": "Host preset: 'default' (chat input), 'pill' (recording pill) or\n'mobile' (bottom of a phone screen). Sets the defaults of the\ngeometry props below for that host; any prop you pass still wins."
@@ -19030,7 +19042,7 @@ const data = {
19030
19042
  {
19031
19043
  "name": "level",
19032
19044
  "type": "VoiceGlowLevel | undefined",
19033
- "default": "0",
19045
+ "default": "",
19034
19046
  "description": {
19035
19047
  "zh": "",
19036
19048
  "en": "Manual drive, 0–1, used when no `stream` is given. A number re-renders\non change; a getter is sampled once per frame without re-rendering."
@@ -19039,7 +19051,7 @@ const data = {
19039
19051
  {
19040
19052
  "name": "sensitivity",
19041
19053
  "type": "number | undefined",
19042
- "default": "3.1",
19054
+ "default": "",
19043
19055
  "description": {
19044
19056
  "zh": "",
19045
19057
  "en": "Input gain on the analysed audio. The default suits a laptop microphone\nat conversational distance; raise it for quiet sources, lower it for a\nclose or hot one."
@@ -19048,7 +19060,7 @@ const data = {
19048
19060
  {
19049
19061
  "name": "threshold",
19050
19062
  "type": "number | undefined",
19051
- "default": "0.015",
19063
+ "default": "",
19052
19064
  "description": {
19053
19065
  "zh": "",
19054
19066
  "en": "Noise gate, 0–1. Levels below it read as silence, so room hum and\nfan noise do not keep the beam twitching."
@@ -19057,7 +19069,7 @@ const data = {
19057
19069
  {
19058
19070
  "name": "attack",
19059
19071
  "type": "number | undefined",
19060
- "default": "0.325",
19072
+ "default": "",
19061
19073
  "description": {
19062
19074
  "zh": "",
19063
19075
  "en": "Seconds the glow takes to rise toward a louder level."
@@ -19066,7 +19078,7 @@ const data = {
19066
19078
  {
19067
19079
  "name": "release",
19068
19080
  "type": "number | undefined",
19069
- "default": "0.86",
19081
+ "default": "",
19070
19082
  "description": {
19071
19083
  "zh": "",
19072
19084
  "en": "Seconds the glow takes to settle after the sound drops."
@@ -19084,7 +19096,7 @@ const data = {
19084
19096
  {
19085
19097
  "name": "breathe-duration",
19086
19098
  "type": "number | undefined",
19087
- "default": "5.2",
19099
+ "default": "",
19088
19100
  "description": {
19089
19101
  "zh": "",
19090
19102
  "en": "Period of the idle breathing in seconds."
@@ -19111,7 +19123,7 @@ const data = {
19111
19123
  {
19112
19124
  "name": "bands",
19113
19125
  "type": "boolean | undefined",
19114
- "default": "true",
19126
+ "default": "",
19115
19127
  "description": {
19116
19128
  "zh": "",
19117
19129
  "en": "Let the low / mid / high bands move the colored lobes independently\n(center follows the lows, the sides the mids and highs). With a\nmanual `level` the bands are synthesised from the level, so the lobes\nstill dance. Off, every lobe follows the one level."
@@ -19129,7 +19141,7 @@ const data = {
19129
19141
  {
19130
19142
  "name": "processing",
19131
19143
  "type": "boolean | undefined",
19132
- "default": "false",
19144
+ "default": "",
19133
19145
  "description": {
19134
19146
  "zh": "",
19135
19147
  "en": "Processing state — turn it on once the voice has been captured and\nsomething is working on it. The lobes gather into one compact beam\nthat travels the glow's range left to right and back, eased at each\nend and looped — border-beam's `line` type, confined to the voice\nglow — and the glow is held lit at `processingLevel` so the beam has\ncolour. Both blend in and out smoothly. The distortion settles out in\nabout a quarter second and stays off while processing."
@@ -19156,7 +19168,7 @@ const data = {
19156
19168
  {
19157
19169
  "name": "processing-ease",
19158
19170
  "type": "number | undefined",
19159
- "default": "0.6",
19171
+ "default": "",
19160
19172
  "description": {
19161
19173
  "zh": "",
19162
19174
  "en": "Seconds the morph between the voice glow and the travelling beam\ntakes, in either direction — the gather, the narrowing and the travel\nease in and out over it."
@@ -19192,7 +19204,7 @@ const data = {
19192
19204
  {
19193
19205
  "name": "color-variant",
19194
19206
  "type": "VoiceGlowColorVariant | undefined",
19195
- "default": "'colorful'",
19207
+ "default": "",
19196
19208
  "description": {
19197
19209
  "zh": "",
19198
19210
  "en": "Color variant for the beam"
@@ -19219,7 +19231,7 @@ const data = {
19219
19231
  {
19220
19232
  "name": "theme",
19221
19233
  "type": "VoiceGlowTheme | undefined",
19222
- "default": "'auto'",
19234
+ "default": "",
19223
19235
  "description": {
19224
19236
  "zh": "",
19225
19237
  "en": "Theme mode — adapts beam colors for dark or light backgrounds;\n'auto' follows prefers-color-scheme"
@@ -19228,7 +19240,7 @@ const data = {
19228
19240
  {
19229
19241
  "name": "static-colors",
19230
19242
  "type": "boolean | undefined",
19231
- "default": "false",
19243
+ "default": "",
19232
19244
  "description": {
19233
19245
  "zh": "",
19234
19246
  "en": "Disable the slow hue drift for static colors"
@@ -19255,7 +19267,7 @@ const data = {
19255
19267
  {
19256
19268
  "name": "active",
19257
19269
  "type": "boolean | undefined",
19258
- "default": "true",
19270
+ "default": "",
19259
19271
  "description": {
19260
19272
  "zh": "",
19261
19273
  "en": "Whether the effect is on. Off fades the beam out and stops the audio\nanalysis."
@@ -19264,7 +19276,7 @@ const data = {
19264
19276
  {
19265
19277
  "name": "paused",
19266
19278
  "type": "boolean | undefined",
19267
- "default": "false",
19279
+ "default": "",
19268
19280
  "description": {
19269
19281
  "zh": "",
19270
19282
  "en": "Freezes the effect where it is — the glow, the band and the audio\nanalysis all hold their last frame — without fading it out. Other\nprops still shape the held frame, and the clocks resume where they\nstopped."
@@ -19803,7 +19815,7 @@ const findByProp = (prop) => {
19803
19815
  const createServer = () => {
19804
19816
  const server = new McpServer({
19805
19817
  name: PKG_NAME,
19806
- version: "5.6.0"
19818
+ version: "5.7.0"
19807
19819
  });
19808
19820
  server.registerTool("list_components", {
19809
19821
  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": "5.6.0",
67
+ "version": "5.7.0",
68
68
  "scripts": {
69
69
  "gen": "node ./scripts/gen-component-data.ts",
70
70
  "build": "node ./scripts/build.ts",