Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/x-skill/skills-zh/x-components/reference/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -1078,7 +1078,7 @@ interface FileContentService {
}
```

## 语义化 DOM
## Semantic DOM
Comment thread
Rain120 marked this conversation as resolved.

<code src="./demo/_semantic.tsx" simplify="true"></code>

Expand Down
18 changes: 9 additions & 9 deletions packages/x-skill/src/skill-meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,31 @@
{
"skill": "use-x-chat",
"name": "use-x-chat",
"version": "2.5.0",
"version": "2.6.0",
"desc": "Focus on explaining how to use the useXChat Hook, including custom Provider integration, message management, error handling, multi-conversation management, and more",
"descZh": "专注讲解如何使用 useXChat Hook,包括自定义 Provider 的集成、消息管理、错误处理、多会话管理等",
"tags": ["agent", "chat", "hook", "sdk"]
"tags": ["chat", "hook", "sdk"]
},
{
"skill": "x-card",
"name": "x-card",
"version": "2.5.0",
"version": "2.6.0",
"desc": "Use when building AI-driven UIs with @ant-design/x-card — covers XCard.Box, XCard.Card, A2UI v0.9 commands, data binding, catalogs, actions, and streaming patterns.",
"descZh": "当需要用 @ant-design/x-card 让 AI Agent 动态渲染富交互 UI 时使用——涵盖 XCard.Box、XCard.Card、A2UI v0.9 命令、数据绑定、Catalog、Actions 和流式渲染模式。",
"tags": ["A2UI", "agent"]
},
{
"skill": "x-chat-provider",
"name": "x-chat-provider",
"version": "2.5.0",
"version": "2.6.0",
"desc": "Focus on implementing custom Chat Provider, helping to adapt any streaming interface to Ant Design X standard format",
"descZh": "专注于自定义 Chat Provider 的实现,帮助将任意流式接口适配为 Ant Design X 标准格式",
"tags": ["chat", "provider", "sdk"]
},
{
"skill": "x-request",
"name": "x-request",
"version": "2.5.0",
"version": "2.6.0",
"desc": "Focus on explaining the practical configuration and usage of XRequest, providing accurate configuration instructions based on official documentation",
"descZh": "专注讲解 XRequest 的实际配置和使用,基于官方文档提供准确的配置说明",
"tags": ["request", "sdk"]
Expand All @@ -44,10 +44,10 @@
{
"skill": "x-components",
"name": "x-components",
"version": "2.5.0",
"version": "2.6.0",
"desc": "Use when building AI chat UIs with @ant-design/x components — covers Bubble, Sender, Conversations, Prompts, ThoughtChain, Actions, Welcome, Attachments, Sources, Suggestion, Think, FileCard, CodeHighlighter, Mermaid, Folder, XProvider, and Notification.",
"descZh": "使用 @ant-design/x 组件库构建 AI 对话 UI 时使用 —— 涵盖 Bubble、Sender、Conversations、Prompts、ThoughtChain、Actions、Welcome、Attachments、Sources、Suggestion、Think、FileCard、CodeHighlighter、Mermaid、Folder、XProvider 和 Notification。",
"tags": ["components", "agent"]
"tags": ["sdk"]
}
]
},
Expand All @@ -58,10 +58,10 @@
{
"skill": "x-markdown",
"name": "x-markdown",
"version": "2.5.0",
"version": "2.6.0",
"desc": "Use when building or reviewing Markdown rendering with @ant-design/x-markdown, including streaming Markdown, custom component mapping, plugins, themes, and chat-oriented rich content.",
"descZh": "当任务涉及 @ant-design/x-markdown 的 Markdown 渲染、流式输出、自定义组件映射、插件、主题或聊天富内容展示时使用。",
"tags": ["markdown"]
"tags": ["sdk"]
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion packages/x/components/file-card/index.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ type PresetIcons =
| extension | 扩展内容 | React.ReactNode | - | - |
| overflow | 超出展示方式 | 'scrollX' \| 'scrollY' \| 'wrap' | 'wrap' | - |

## 语义化 DOM
## Semantic DOM

### FileCard

Expand Down
2 changes: 1 addition & 1 deletion packages/x/components/folder/index.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ interface FileContentService {
}
```

## 语义化 DOM
## Semantic DOM

<code src="./demo/_semantic.tsx" simplify="true"></code>

Expand Down
Loading