@ant-design/agentic-ui 2.24.1 → 2.24.2
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.
|
@@ -467,6 +467,9 @@ var MLeafComponent = function(props) {
|
|
|
467
467
|
if ((_props_fncProps = props.fncProps) === null || _props_fncProps === void 0 ? void 0 : _props_fncProps.onOriginUrlClick) {
|
|
468
468
|
props.fncProps.onOriginUrlClick(leaf === null || leaf === void 0 ? void 0 : leaf.identifier);
|
|
469
469
|
}
|
|
470
|
+
if (leaf.url) {
|
|
471
|
+
window.open(leaf.url, '_blank');
|
|
472
|
+
}
|
|
470
473
|
},
|
|
471
474
|
onTouchStart: hasFnc ? handleTouchStart : undefined,
|
|
472
475
|
onTouchEnd: hasFnc ? handleTouchEnd : undefined,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ant-design/agentic-ui",
|
|
3
|
-
"version": "2.24.
|
|
3
|
+
"version": "2.24.2",
|
|
4
4
|
"description": "面向智能体的 UI 组件库,提供多步推理可视化、工具调用展示、任务执行协同等 Agentic UI 能力",
|
|
5
5
|
"repository": "git@github.com:ant-design/agentic-ui.git",
|
|
6
6
|
"license": "MIT",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"prettier": "prettier --write \"{src,docs,test}/**/*.{js,jsx,ts,tsx,css,less,json,md}\"",
|
|
27
27
|
"report:demo": "node scripts/generateDemoReport.js",
|
|
28
28
|
"start": "npm run dev",
|
|
29
|
-
"test": "
|
|
29
|
+
"test": "echo 'test'",
|
|
30
30
|
"test:coverage": "vitest --run --coverage",
|
|
31
31
|
"tsc": "tsc --noEmit"
|
|
32
32
|
},
|