@glodon-aiot/agent-cli-ui 3.22.2-alpha.6 → 3.22.2-alpha.7

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.
@@ -11,6 +11,18 @@ export declare enum ApiUrl {
11
11
  prod = "https://copilot.glodon.com/api/cvforce",
12
12
  local = "http://localhost:3000/api/cvforcepd"
13
13
  }
14
+ export interface ReasoningContentConfig {
15
+ /** 展开且最小化时的内容区高度 */
16
+ minHeight?: number | string;
17
+ /** 展开且完整展示时的内容区上限,超出滚动 */
18
+ maxHeight?: number | string;
19
+ /**
20
+ * 默认展开时是否走最小化高度。
21
+ * true → 展开后使用 minHeight
22
+ * false → 展开后使用 maxHeight(未配置则不限制)
23
+ */
24
+ defaultMinimized?: boolean;
25
+ }
14
26
  export interface AgentClientUITransform {
15
27
  greet?: boolean;
16
28
  sessionList?: boolean;
@@ -27,6 +39,7 @@ export interface AgentClientUITransform {
27
39
  metadata?: boolean;
28
40
  reasoning?: boolean;
29
41
  reasoningExpand?: boolean;
42
+ reasoningContent?: ReasoningContentConfig;
30
43
  reference?: {
31
44
  iconVisible?: boolean;
32
45
  referenceFirst?: boolean;
@@ -70,6 +83,7 @@ export interface AgentFeaturesConfig {
70
83
  relatedQuesions?: boolean;
71
84
  reasoning?: boolean;
72
85
  reasoningExpand?: boolean;
86
+ reasoningContent?: ReasoningContentConfig;
73
87
  footer?: {
74
88
  items?: MessageBoxFooterItem[];
75
89
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glodon-aiot/agent-cli-ui",
3
- "version": "3.22.2-alpha.6",
3
+ "version": "3.22.2-alpha.7",
4
4
  "module": "./dist/es/index.mjs",
5
5
  "main": "./dist/lib/index.js",
6
6
  "typings": "./dist/src/index.d.ts",
@@ -31,9 +31,9 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "@ant-design/icons": "^5.3.4",
34
- "@glodon-aiot/apis": "^3.22.2-alpha.6",
35
- "@glodon-aiot/bot-client-sdk": "^3.22.2-alpha.6",
36
- "@glodon-aiot/react-components": "^3.22.2-alpha.6",
34
+ "@glodon-aiot/apis": "^3.22.2-alpha.7",
35
+ "@glodon-aiot/bot-client-sdk": "^3.22.2-alpha.7",
36
+ "@glodon-aiot/react-components": "^3.22.2-alpha.7",
37
37
  "@matejmazur/react-mathjax": "^0.1.10",
38
38
  "@react-pdf-viewer/core": "^3.12.0",
39
39
  "@react-pdf-viewer/default-layout": "^3.12.0",