@oscloudlab/vgen-agent-assistant 0.0.9 → 0.0.11

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.
Binary file
@@ -92,3 +92,21 @@ export declare const getSessionListByBiz: (params: {
92
92
  export declare const deleteSession: (params: {
93
93
  ids: number[];
94
94
  }) => any;
95
+ export declare const createEvalutionFlow: (params: {
96
+ "dataId": number;
97
+ "dataType": number;
98
+ "taskType": number;
99
+ }) => any;
100
+ export declare const queryEvalutionTaskDetail: (taskId: number) => any;
101
+ export declare const saveEvalutionDir: (params: {
102
+ "directionName": string;
103
+ "levels": {
104
+ "levelId": number;
105
+ "dims": {
106
+ "name": string;
107
+ "weight": number;
108
+ "description": string;
109
+ }[];
110
+ }[];
111
+ }) => any;
112
+ export declare const queryEvalutionRecordDetail: (id: number) => any;
@@ -31,6 +31,7 @@ interface MessageContentProps {
31
31
  }) => void;
32
32
  isTaskPage?: boolean;
33
33
  isDev?: boolean;
34
+ userInfo: any;
34
35
  }
35
36
  declare const _default: React.NamedExoticComponent<MessageContentProps>;
36
37
  export default _default;
@@ -1,4 +1,4 @@
1
- import { VgenAgentProps } from './type';
1
+ import { VgenAgentProps, VgenAgentRefProps } from './type';
2
2
 
3
- declare const VgenAgent: import('react').ForwardRefExoticComponent<VgenAgentProps & import('react').RefAttributes<unknown>>;
3
+ declare const VgenAgent: import('react').ForwardRefExoticComponent<VgenAgentProps & import('react').RefAttributes<VgenAgentRefProps>>;
4
4
  export default VgenAgent;
@@ -34,18 +34,20 @@ export declare enum msgType {
34
34
  TEXT = "text",// 文本消息
35
35
  NODE = "node",// 节点消息
36
36
  FROM_QUESTION = "form_question",// 生题表单
37
- FROM_LEARN_PATH = "form_learn_path",// 学习路径表单
37
+ FROM_LEARN_PATH = "form_learn_path",// 学习计划表单
38
38
  FROM_PARSE_VIDEO = "form_parse_video",// 视频解析表单
39
39
  FROM_KNOWLEDGE_CARD = "form_knowledge_card",// 知识卡片表单
40
40
  FROM_LEARN_TASK = "form_learn_task",// 创建任务表单
41
41
  REL_RECORD = "rel_record",// 视频解析锚点
42
42
  REL_QUESTION = "rel_question",// 练习题锚点
43
- REL_LEARN_PATH = "rel_learn_path",// 学习路径锚点
43
+ REL_LEARN_PATH = "rel_learn_path",// 学习计划锚点
44
44
  REL_KNOWLEDGE_CARD = "rel_knowledge_card",// 知识卡片锚点
45
45
  RECOMMEND_VIDEO = "recommend_video",// 视频推荐
46
- LEARN_PATH_TREE = "learn_path_tree",// 学习路径树数据
46
+ LEARN_PATH_TREE = "learn_path_tree",// 学习计划树数据
47
47
  REL_LEARN_TASK = "rel_learn_task",// 学习任务锚点
48
- INVISIBLE_TEXT = "invisible_text"
48
+ INVISIBLE_TEXT = "invisible_text",// 不可见文本消息
49
+ REL_PLAN_TASK = "rel_plan_task",// 计划任务锚点
50
+ REL_EVALUATION = "rel_evaluation"
49
51
  }
50
52
  export interface MessageProps {
51
53
  id: number | string;
@@ -92,6 +94,7 @@ export interface MessageProps {
92
94
  description: string;
93
95
  filesCount: number;
94
96
  };
97
+ evaStatus?: number;
95
98
  }
96
99
  export interface resourceType {
97
100
  id: number | string;
@@ -227,3 +230,10 @@ export interface sessionProps {
227
230
  id: number;
228
231
  summary: string;
229
232
  }
233
+ /** VgenAgent 组件 Ref 类型定义 */
234
+ export interface VgenAgentRefProps {
235
+ /** 设置引用文本并打开输入面板 */
236
+ setQuotedText: (val: string) => void;
237
+ /** 发送消息 */
238
+ sendMsg: (val: string) => void;
239
+ }