@mxmweb/rtext 1.5.5 → 1.5.6
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/index.js +3963 -3979
- package/package.json +1 -1
- package/stats.html +1 -1
- package/utils/thought_chain_mapper.d.ts +5 -0
|
@@ -13,6 +13,11 @@ export interface RawChainNode {
|
|
|
13
13
|
* 统一的标题映射
|
|
14
14
|
*/
|
|
15
15
|
export declare function getThoughtTitleByBusinessType(type: ThoughtBusinessType): string;
|
|
16
|
+
/**
|
|
17
|
+
* 根据业务类型和节点状态动态生成标题
|
|
18
|
+
* 节点状态:1.待执行 2.运行中 3.执行完成 4.执行失败 5.异常
|
|
19
|
+
*/
|
|
20
|
+
export declare function getThoughtTitleByBusinessTypeAndStatus(type: ThoughtBusinessType, nodeStatus: ThoughtNodeStatus): string;
|
|
16
21
|
/**
|
|
17
22
|
* 将历史回复中的 chain 数组映射为 UI 使用的 ThoughtNode 列表
|
|
18
23
|
* 2025-12-19 新增: 支持 rtext 思维链 UI 升级。
|