@ant-design/agentic-ui 2.30.6 → 2.30.8
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/MarkdownEditor/editor/parser/parserMarkdownToSlateNode.js +1 -3
- package/dist/MarkdownEditor/editor/parser/remarkDirectiveContainersOnly.d.ts +14 -0
- package/dist/MarkdownEditor/editor/parser/remarkDirectiveContainersOnly.js +26 -0
- package/dist/MarkdownEditor/editor/parser/remarkParse.d.ts +1 -1
- package/dist/MarkdownEditor/editor/parser/remarkParse.js +2 -2
- package/dist/MarkdownEditor/editor/style.js +7 -5
- package/dist/MarkdownEditor/editor/utils/markdownToHtml.js +2 -2
- package/dist/MarkdownInputField/FileMapView/FileMapViewItem.js +54 -16
- package/dist/MarkdownInputField/FileMapView/index.js +8 -2
- package/dist/MarkdownInputField/FileMapView/style.js +5 -1
- package/dist/MarkdownRenderer/MarkdownRenderer.js +2 -1
- package/dist/MarkdownRenderer/index.d.ts +2 -0
- package/dist/MarkdownRenderer/index.js +1 -0
- package/dist/MarkdownRenderer/markdownReactShared.d.ts +93 -0
- package/dist/MarkdownRenderer/markdownReactShared.js +1159 -0
- package/dist/MarkdownRenderer/streaming/MarkdownBlockPiece.d.ts +15 -0
- package/dist/MarkdownRenderer/streaming/MarkdownBlockPiece.js +61 -0
- package/dist/MarkdownRenderer/streaming/lastBlockThrottle.d.ts +4 -0
- package/dist/MarkdownRenderer/streaming/lastBlockThrottle.js +14 -0
- package/dist/MarkdownRenderer/streaming/revisionPolicy.d.ts +5 -0
- package/dist/MarkdownRenderer/streaming/revisionPolicy.js +10 -0
- package/dist/MarkdownRenderer/streaming/useStreamingMarkdownReact.d.ts +6 -0
- package/dist/MarkdownRenderer/streaming/useStreamingMarkdownReact.js +70 -0
- package/dist/MarkdownRenderer/useMarkdownToReact.d.ts +3 -22
- package/dist/MarkdownRenderer/useMarkdownToReact.js +3 -1286
- package/dist/Types/micromark-extension-directive-subpath.d.ts +8 -0
- package/package.json +4 -2
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* micromark-extension-directive 未在 package exports 中声明子路径;运行时由 bundler 解析至 lib/
|
|
3
|
+
*/
|
|
4
|
+
declare module 'micromark-extension-directive/lib/directive-container.js' {
|
|
5
|
+
import type { Construct } from 'micromark-util-types';
|
|
6
|
+
|
|
7
|
+
export const directiveContainer: Construct;
|
|
8
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ant-design/agentic-ui",
|
|
3
|
-
"version": "2.30.
|
|
3
|
+
"version": "2.30.8",
|
|
4
4
|
"description": "面向智能体的 UI 组件库,提供多步推理可视化、工具调用展示、任务执行协同等 Agentic UI 能力",
|
|
5
5
|
"repository": "git@github.com:ant-design/agentic-ui.git",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
"lint:css": "stylelint \"{src,test}/**/*.{css,less}\"",
|
|
25
25
|
"lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\"",
|
|
26
26
|
"prepare": "husky install && dumi setup",
|
|
27
|
+
"prepublishOnly": "npm run build && npm run test",
|
|
27
28
|
"prettier": "prettier --write \"{src,docs,test}/**/*.{js,jsx,ts,tsx,css,less,json,md}\"",
|
|
28
29
|
"preview": "pnpm dumi preview",
|
|
29
30
|
"report:demo": "node scripts/generateDemoReport.js",
|
|
@@ -90,6 +91,8 @@
|
|
|
90
91
|
"lodash-es": "^4.17.23",
|
|
91
92
|
"lottie-react": "^2.4.1",
|
|
92
93
|
"markdown-it": "^14.1.1",
|
|
94
|
+
"mdast-util-directive": "^3.1.0",
|
|
95
|
+
"micromark-extension-directive": "^4.0.0",
|
|
93
96
|
"markdown-it-container": "^4.0.0",
|
|
94
97
|
"mermaid": "^11.12.2",
|
|
95
98
|
"mustache": "^4.2.0",
|
|
@@ -108,7 +111,6 @@
|
|
|
108
111
|
"rehype-raw": "^7.0.0",
|
|
109
112
|
"rehype-stringify": "^10.0.1",
|
|
110
113
|
"remark": "^15.0.1",
|
|
111
|
-
"remark-directive": "^4.0.0",
|
|
112
114
|
"remark-frontmatter": "^5.0.0",
|
|
113
115
|
"remark-gfm": "^4.0.1",
|
|
114
116
|
"remark-html": "^16.0.1",
|