@zero-library/chat-copilot 3.2.1 → 3.2.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.
package/dist/index.d.mts CHANGED
@@ -610,14 +610,6 @@ interface ConversationMessage {
610
610
  toolCallId?: string;
611
611
  }
612
612
 
613
- /**
614
- * 智能体执行链展示模式
615
- * - aggregate:聚合模式(默认)。将每次执行压缩为「状态图标 + 类型标签 + 单行截断详情」的折叠列表,
616
- * 顶部展示「X 项完成 | Y 项失败」汇总头,最终回答独立渲染在列表下方。
617
- * - sequence:顺序模式(非聚合)。按真实事件顺序平铺渲染思维链(深度思考)、工具调用、文件、计划与回答,
618
- * 不做汇总折叠,忠实还原执行时间线。
619
- */
620
- type AgentExecMode = 'aggregate' | 'sequence';
621
613
  /**
622
614
  * 聊天布局会话列表配置接口
623
615
  * 控制会话列表区域的显示和功能
@@ -687,15 +679,21 @@ interface ChatLayoutHeader {
687
679
  interface CustomButtonProps extends Omit<ButtonProps, 'icon'> {
688
680
  icon?: () => ReactNode;
689
681
  }
690
- type CommandConfig = {
691
- component: string;
682
+ type AvailableResourceType = 'skill' | 'knowledge' | 'datasource' | 'mcp_server' | 'sub_agent' | 'tool';
683
+ type HashCommandConfig = {
684
+ component?: string;
692
685
  dataSource: CascadeCategory[];
693
686
  };
687
+ type CommandConfig = Partial<Record<string, AvailableResourceType[] | HashCommandConfig>>;
694
688
  type CascadeCategory = {
695
689
  value: string;
696
690
  label: string;
697
691
  ext?: string;
698
692
  children?: CascadeCategory[];
693
+ data?: CascadeCategory[];
694
+ };
695
+ type ResourceBtnProps = {
696
+ types?: AvailableResourceType[];
699
697
  };
700
698
  /**
701
699
  * 聊天布局输入框配置接口
@@ -727,6 +725,8 @@ interface ChatLayoutSender {
727
725
  skillsBtn?: RenderControl<void, void>;
728
726
  /** 知识库按钮渲染控制 */
729
727
  knowledgeBtn?: RenderControl<void, void>;
728
+ /** 资源按钮渲染控制 */
729
+ resourceBtn?: RenderControl<void, ResourceBtnProps>;
730
730
  /** 发送按钮属性配置函数 */
731
731
  sendBtnProps?: () => ButtonProps;
732
732
  /** 模型下拉选择配置控制 */
@@ -734,7 +734,7 @@ interface ChatLayoutSender {
734
734
  /** 深度思考按钮渲染控制 */
735
735
  reasonBtn?: RenderControl<void, void>;
736
736
  /** 特殊指令渲染控制 */
737
- commandConfig?: ObjectType<CommandConfig>;
737
+ commandConfig?: CommandConfig;
738
738
  /** 上传文件配置 */
739
739
  uploadConfig?: FileUploadConfig;
740
740
  }
@@ -859,7 +859,7 @@ interface SenderProps {
859
859
  /** 输入框占位符 */
860
860
  placeholder?: string;
861
861
  /** 特殊指令配置 */
862
- commandConfig?: ObjectType<CommandConfig>;
862
+ commandConfig?: CommandConfig;
863
863
  /** 输入框内容 */
864
864
  content?: string;
865
865
  /** 文件列表 */
@@ -931,6 +931,7 @@ declare const createChatService: (request: ReturnType<typeof createRequest>, con
931
931
  conversationFavorite: (conversationId: string, isFavorite: boolean) => Promise<R<boolean>>;
932
932
  shareConversation: (conversationId: string) => Promise<R<ShareConversationResponse>>;
933
933
  fetchExecutionDebug: (conversationId: string) => Promise<R<PageRes<ExecutionDebug>>>;
934
+ fetchAvailableResources: (types?: AvailableResourceType[] | string) => Promise<R<AgentResourcesResp>>;
934
935
  };
935
936
 
936
937
  type RequestInstance = Partial<ReturnType<typeof createChatService>>;
@@ -1723,6 +1724,8 @@ interface ChatConfig {
1723
1724
  agent?: AgentInfo;
1724
1725
  conversationId?: string;
1725
1726
  conversationStrategy?: ConversationStrategy;
1727
+ /** 是否显示执行轨迹日志面板 */
1728
+ showDebugLog?: boolean;
1726
1729
  }
1727
1730
  interface ChatParams {
1728
1731
  convMeta?: ConvMeta;
@@ -1829,6 +1832,59 @@ interface Datasource {
1829
1832
  createdAt: string;
1830
1833
  updatedAt: string;
1831
1834
  }
1835
+ interface SkillSummary {
1836
+ id: string;
1837
+ name: string;
1838
+ aliasName: string;
1839
+ description: string;
1840
+ type: number;
1841
+ state: number;
1842
+ }
1843
+ interface KnowledgeSummary {
1844
+ id: string;
1845
+ name: string;
1846
+ description: string;
1847
+ icon: string;
1848
+ libraryType: number;
1849
+ }
1850
+ interface DatasourceSummary {
1851
+ id: string;
1852
+ name: string;
1853
+ type: number;
1854
+ state: number;
1855
+ }
1856
+ interface McpServerSummary {
1857
+ id: string;
1858
+ serverName: string;
1859
+ displayName?: string;
1860
+ description?: string;
1861
+ transportType: string;
1862
+ state: number;
1863
+ /** 兼容部分接口直接返回 name 字段 */
1864
+ name?: string;
1865
+ }
1866
+ interface SubAgentSummary {
1867
+ id: string;
1868
+ name: string;
1869
+ description?: string;
1870
+ iconUrl?: string;
1871
+ agentType: number;
1872
+ kind: number;
1873
+ }
1874
+ interface ToolSummary {
1875
+ name: string;
1876
+ description: string;
1877
+ category?: string;
1878
+ icon?: string;
1879
+ }
1880
+ interface AgentResourcesResp {
1881
+ skills: SkillSummary[];
1882
+ knowledges: KnowledgeSummary[];
1883
+ datasources: DatasourceSummary[];
1884
+ mcpServers: McpServerSummary[];
1885
+ subAgents: SubAgentSummary[];
1886
+ tools: ToolSummary[];
1887
+ }
1832
1888
  interface DownloadFileReq {
1833
1889
  workspaceType?: WorkspaceTypeEnum;
1834
1890
  workspaceId?: string;
@@ -1944,8 +2000,14 @@ declare const chatCopilotEnUS: {
1944
2000
  summaryAnalysis: string;
1945
2001
  headerClose: string;
1946
2002
  deepThinking: string;
2003
+ resource: string;
1947
2004
  skill: string;
1948
2005
  knowledge: string;
2006
+ datasource: string;
2007
+ mcpServer: string;
2008
+ subAgent: string;
2009
+ tool: string;
2010
+ loading: string;
1949
2011
  supportedExtensions: string;
1950
2012
  empty: string;
1951
2013
  selectFile: string;
@@ -2005,8 +2067,6 @@ declare const chatCopilotEnUS: {
2005
2067
  previewEdit: string;
2006
2068
  copy: string;
2007
2069
  continueText: string;
2008
- aggregate: string;
2009
- sequence: string;
2010
2070
  chatTab: string;
2011
2071
  traceTab: string;
2012
2072
  previewTab: string;
@@ -2019,9 +2079,6 @@ declare const chatCopilotEnUS: {
2019
2079
  execItemThinking: string;
2020
2080
  execItemFile: string;
2021
2081
  execItemPlan: string;
2022
- execItemSummaryDone: string;
2023
- execItemSummaryFailed: string;
2024
- execItemSummaryRunning: string;
2025
2082
  toolCallFallback: string;
2026
2083
  viewExecutionDetail: string;
2027
2084
  executionStart: string;
@@ -2133,8 +2190,14 @@ declare const chatCopilotJaJP: {
2133
2190
  summaryAnalysis: string;
2134
2191
  headerClose: string;
2135
2192
  deepThinking: string;
2193
+ resource: string;
2136
2194
  skill: string;
2137
2195
  knowledge: string;
2196
+ datasource: string;
2197
+ mcpServer: string;
2198
+ subAgent: string;
2199
+ tool: string;
2200
+ loading: string;
2138
2201
  supportedExtensions: string;
2139
2202
  empty: string;
2140
2203
  selectFile: string;
@@ -2194,8 +2257,6 @@ declare const chatCopilotJaJP: {
2194
2257
  previewEdit: string;
2195
2258
  copy: string;
2196
2259
  continueText: string;
2197
- aggregate: string;
2198
- sequence: string;
2199
2260
  chatTab: string;
2200
2261
  traceTab: string;
2201
2262
  previewTab: string;
@@ -2208,9 +2269,6 @@ declare const chatCopilotJaJP: {
2208
2269
  execItemThinking: string;
2209
2270
  execItemFile: string;
2210
2271
  execItemPlan: string;
2211
- execItemSummaryDone: string;
2212
- execItemSummaryFailed: string;
2213
- execItemSummaryRunning: string;
2214
2272
  toolCallFallback: string;
2215
2273
  viewExecutionDetail: string;
2216
2274
  executionStart: string;
@@ -2322,8 +2380,14 @@ declare const chatCopilotZhCN: {
2322
2380
  readonly summaryAnalysis: "概要解读";
2323
2381
  readonly headerClose: "关闭";
2324
2382
  readonly deepThinking: "深度思考";
2383
+ readonly resource: "资源";
2325
2384
  readonly skill: "技能";
2326
2385
  readonly knowledge: "知识库";
2386
+ readonly datasource: "数据源";
2387
+ readonly mcpServer: "MCP Server";
2388
+ readonly subAgent: "子智能体";
2389
+ readonly tool: "工具";
2390
+ readonly loading: "加载中...";
2327
2391
  readonly supportedExtensions: "支持扩展名:{{types}}";
2328
2392
  readonly empty: "暂无数据";
2329
2393
  readonly selectFile: "选择文件";
@@ -2383,8 +2447,6 @@ declare const chatCopilotZhCN: {
2383
2447
  readonly previewEdit: "预览编辑";
2384
2448
  readonly copy: "复制";
2385
2449
  readonly continueText: "继续";
2386
- readonly aggregate: "聚合";
2387
- readonly sequence: "顺序";
2388
2450
  readonly chatTab: "对话";
2389
2451
  readonly traceTab: "执行轨迹";
2390
2452
  readonly previewTab: "文件预览";
@@ -2397,9 +2459,6 @@ declare const chatCopilotZhCN: {
2397
2459
  readonly execItemThinking: "思考过程";
2398
2460
  readonly execItemFile: "文件";
2399
2461
  readonly execItemPlan: "执行计划";
2400
- readonly execItemSummaryDone: "{{count}} 项完成";
2401
- readonly execItemSummaryFailed: "{{count}} 项失败";
2402
- readonly execItemSummaryRunning: "{{count}} 项执行中";
2403
2462
  readonly toolCallFallback: "工具调用";
2404
2463
  readonly viewExecutionDetail: "查看执行详情";
2405
2464
  readonly executionStart: "开始";
@@ -2467,4 +2526,4 @@ declare const chatCopilotZhCN: {
2467
2526
  readonly startConversation: "开始会话";
2468
2527
  };
2469
2528
 
2470
- export { type AgentConfig, type AgentExecMode, type AgentInfo, type AgentSpec, _default$1 as Attachments, type AttachmentsProps, type ChatConfig, _default as ChatCopilot, type ChatHandle, type ChatHooks, type ChatLayout, type ChatParams, type ChatProps, _default$2 as ChatSender, type ChatServices, type ConversationMessage, type ConversationMessageSend, type ConversationStrategy, type CustomButtonProps, type FileTextType, type FileUploadConfig, type FileUrlType, type InputFile, type MessageRenderProps, NS_CHAT_COPILOT, type ReferencesType, type RequestInstance, type SenderProps, WorkspaceTypeEnum, chatCopilotEnUS, chatCopilotJaJP, chatCopilotZhCN, getFileIcon, getFileUrl };
2529
+ export { type AgentConfig, type AgentInfo, type AgentSpec, _default$1 as Attachments, type AttachmentsProps, type AvailableResourceType, type ChatConfig, _default as ChatCopilot, type ChatHandle, type ChatHooks, type ChatLayout, type ChatParams, type ChatProps, _default$2 as ChatSender, type ChatServices, type CommandConfig, type ConversationMessage, type ConversationMessageSend, type ConversationStrategy, type CustomButtonProps, type FileTextType, type FileUploadConfig, type FileUrlType, type HashCommandConfig, type InputFile, type MessageRenderProps, NS_CHAT_COPILOT, type ReferencesType, type RequestInstance, type ResourceBtnProps, type SenderProps, WorkspaceTypeEnum, chatCopilotEnUS, chatCopilotJaJP, chatCopilotZhCN, getFileIcon, getFileUrl };
package/dist/index.d.ts CHANGED
@@ -610,14 +610,6 @@ interface ConversationMessage {
610
610
  toolCallId?: string;
611
611
  }
612
612
 
613
- /**
614
- * 智能体执行链展示模式
615
- * - aggregate:聚合模式(默认)。将每次执行压缩为「状态图标 + 类型标签 + 单行截断详情」的折叠列表,
616
- * 顶部展示「X 项完成 | Y 项失败」汇总头,最终回答独立渲染在列表下方。
617
- * - sequence:顺序模式(非聚合)。按真实事件顺序平铺渲染思维链(深度思考)、工具调用、文件、计划与回答,
618
- * 不做汇总折叠,忠实还原执行时间线。
619
- */
620
- type AgentExecMode = 'aggregate' | 'sequence';
621
613
  /**
622
614
  * 聊天布局会话列表配置接口
623
615
  * 控制会话列表区域的显示和功能
@@ -687,15 +679,21 @@ interface ChatLayoutHeader {
687
679
  interface CustomButtonProps extends Omit<ButtonProps, 'icon'> {
688
680
  icon?: () => ReactNode;
689
681
  }
690
- type CommandConfig = {
691
- component: string;
682
+ type AvailableResourceType = 'skill' | 'knowledge' | 'datasource' | 'mcp_server' | 'sub_agent' | 'tool';
683
+ type HashCommandConfig = {
684
+ component?: string;
692
685
  dataSource: CascadeCategory[];
693
686
  };
687
+ type CommandConfig = Partial<Record<string, AvailableResourceType[] | HashCommandConfig>>;
694
688
  type CascadeCategory = {
695
689
  value: string;
696
690
  label: string;
697
691
  ext?: string;
698
692
  children?: CascadeCategory[];
693
+ data?: CascadeCategory[];
694
+ };
695
+ type ResourceBtnProps = {
696
+ types?: AvailableResourceType[];
699
697
  };
700
698
  /**
701
699
  * 聊天布局输入框配置接口
@@ -727,6 +725,8 @@ interface ChatLayoutSender {
727
725
  skillsBtn?: RenderControl<void, void>;
728
726
  /** 知识库按钮渲染控制 */
729
727
  knowledgeBtn?: RenderControl<void, void>;
728
+ /** 资源按钮渲染控制 */
729
+ resourceBtn?: RenderControl<void, ResourceBtnProps>;
730
730
  /** 发送按钮属性配置函数 */
731
731
  sendBtnProps?: () => ButtonProps;
732
732
  /** 模型下拉选择配置控制 */
@@ -734,7 +734,7 @@ interface ChatLayoutSender {
734
734
  /** 深度思考按钮渲染控制 */
735
735
  reasonBtn?: RenderControl<void, void>;
736
736
  /** 特殊指令渲染控制 */
737
- commandConfig?: ObjectType<CommandConfig>;
737
+ commandConfig?: CommandConfig;
738
738
  /** 上传文件配置 */
739
739
  uploadConfig?: FileUploadConfig;
740
740
  }
@@ -859,7 +859,7 @@ interface SenderProps {
859
859
  /** 输入框占位符 */
860
860
  placeholder?: string;
861
861
  /** 特殊指令配置 */
862
- commandConfig?: ObjectType<CommandConfig>;
862
+ commandConfig?: CommandConfig;
863
863
  /** 输入框内容 */
864
864
  content?: string;
865
865
  /** 文件列表 */
@@ -931,6 +931,7 @@ declare const createChatService: (request: ReturnType<typeof createRequest>, con
931
931
  conversationFavorite: (conversationId: string, isFavorite: boolean) => Promise<R<boolean>>;
932
932
  shareConversation: (conversationId: string) => Promise<R<ShareConversationResponse>>;
933
933
  fetchExecutionDebug: (conversationId: string) => Promise<R<PageRes<ExecutionDebug>>>;
934
+ fetchAvailableResources: (types?: AvailableResourceType[] | string) => Promise<R<AgentResourcesResp>>;
934
935
  };
935
936
 
936
937
  type RequestInstance = Partial<ReturnType<typeof createChatService>>;
@@ -1723,6 +1724,8 @@ interface ChatConfig {
1723
1724
  agent?: AgentInfo;
1724
1725
  conversationId?: string;
1725
1726
  conversationStrategy?: ConversationStrategy;
1727
+ /** 是否显示执行轨迹日志面板 */
1728
+ showDebugLog?: boolean;
1726
1729
  }
1727
1730
  interface ChatParams {
1728
1731
  convMeta?: ConvMeta;
@@ -1829,6 +1832,59 @@ interface Datasource {
1829
1832
  createdAt: string;
1830
1833
  updatedAt: string;
1831
1834
  }
1835
+ interface SkillSummary {
1836
+ id: string;
1837
+ name: string;
1838
+ aliasName: string;
1839
+ description: string;
1840
+ type: number;
1841
+ state: number;
1842
+ }
1843
+ interface KnowledgeSummary {
1844
+ id: string;
1845
+ name: string;
1846
+ description: string;
1847
+ icon: string;
1848
+ libraryType: number;
1849
+ }
1850
+ interface DatasourceSummary {
1851
+ id: string;
1852
+ name: string;
1853
+ type: number;
1854
+ state: number;
1855
+ }
1856
+ interface McpServerSummary {
1857
+ id: string;
1858
+ serverName: string;
1859
+ displayName?: string;
1860
+ description?: string;
1861
+ transportType: string;
1862
+ state: number;
1863
+ /** 兼容部分接口直接返回 name 字段 */
1864
+ name?: string;
1865
+ }
1866
+ interface SubAgentSummary {
1867
+ id: string;
1868
+ name: string;
1869
+ description?: string;
1870
+ iconUrl?: string;
1871
+ agentType: number;
1872
+ kind: number;
1873
+ }
1874
+ interface ToolSummary {
1875
+ name: string;
1876
+ description: string;
1877
+ category?: string;
1878
+ icon?: string;
1879
+ }
1880
+ interface AgentResourcesResp {
1881
+ skills: SkillSummary[];
1882
+ knowledges: KnowledgeSummary[];
1883
+ datasources: DatasourceSummary[];
1884
+ mcpServers: McpServerSummary[];
1885
+ subAgents: SubAgentSummary[];
1886
+ tools: ToolSummary[];
1887
+ }
1832
1888
  interface DownloadFileReq {
1833
1889
  workspaceType?: WorkspaceTypeEnum;
1834
1890
  workspaceId?: string;
@@ -1944,8 +2000,14 @@ declare const chatCopilotEnUS: {
1944
2000
  summaryAnalysis: string;
1945
2001
  headerClose: string;
1946
2002
  deepThinking: string;
2003
+ resource: string;
1947
2004
  skill: string;
1948
2005
  knowledge: string;
2006
+ datasource: string;
2007
+ mcpServer: string;
2008
+ subAgent: string;
2009
+ tool: string;
2010
+ loading: string;
1949
2011
  supportedExtensions: string;
1950
2012
  empty: string;
1951
2013
  selectFile: string;
@@ -2005,8 +2067,6 @@ declare const chatCopilotEnUS: {
2005
2067
  previewEdit: string;
2006
2068
  copy: string;
2007
2069
  continueText: string;
2008
- aggregate: string;
2009
- sequence: string;
2010
2070
  chatTab: string;
2011
2071
  traceTab: string;
2012
2072
  previewTab: string;
@@ -2019,9 +2079,6 @@ declare const chatCopilotEnUS: {
2019
2079
  execItemThinking: string;
2020
2080
  execItemFile: string;
2021
2081
  execItemPlan: string;
2022
- execItemSummaryDone: string;
2023
- execItemSummaryFailed: string;
2024
- execItemSummaryRunning: string;
2025
2082
  toolCallFallback: string;
2026
2083
  viewExecutionDetail: string;
2027
2084
  executionStart: string;
@@ -2133,8 +2190,14 @@ declare const chatCopilotJaJP: {
2133
2190
  summaryAnalysis: string;
2134
2191
  headerClose: string;
2135
2192
  deepThinking: string;
2193
+ resource: string;
2136
2194
  skill: string;
2137
2195
  knowledge: string;
2196
+ datasource: string;
2197
+ mcpServer: string;
2198
+ subAgent: string;
2199
+ tool: string;
2200
+ loading: string;
2138
2201
  supportedExtensions: string;
2139
2202
  empty: string;
2140
2203
  selectFile: string;
@@ -2194,8 +2257,6 @@ declare const chatCopilotJaJP: {
2194
2257
  previewEdit: string;
2195
2258
  copy: string;
2196
2259
  continueText: string;
2197
- aggregate: string;
2198
- sequence: string;
2199
2260
  chatTab: string;
2200
2261
  traceTab: string;
2201
2262
  previewTab: string;
@@ -2208,9 +2269,6 @@ declare const chatCopilotJaJP: {
2208
2269
  execItemThinking: string;
2209
2270
  execItemFile: string;
2210
2271
  execItemPlan: string;
2211
- execItemSummaryDone: string;
2212
- execItemSummaryFailed: string;
2213
- execItemSummaryRunning: string;
2214
2272
  toolCallFallback: string;
2215
2273
  viewExecutionDetail: string;
2216
2274
  executionStart: string;
@@ -2322,8 +2380,14 @@ declare const chatCopilotZhCN: {
2322
2380
  readonly summaryAnalysis: "概要解读";
2323
2381
  readonly headerClose: "关闭";
2324
2382
  readonly deepThinking: "深度思考";
2383
+ readonly resource: "资源";
2325
2384
  readonly skill: "技能";
2326
2385
  readonly knowledge: "知识库";
2386
+ readonly datasource: "数据源";
2387
+ readonly mcpServer: "MCP Server";
2388
+ readonly subAgent: "子智能体";
2389
+ readonly tool: "工具";
2390
+ readonly loading: "加载中...";
2327
2391
  readonly supportedExtensions: "支持扩展名:{{types}}";
2328
2392
  readonly empty: "暂无数据";
2329
2393
  readonly selectFile: "选择文件";
@@ -2383,8 +2447,6 @@ declare const chatCopilotZhCN: {
2383
2447
  readonly previewEdit: "预览编辑";
2384
2448
  readonly copy: "复制";
2385
2449
  readonly continueText: "继续";
2386
- readonly aggregate: "聚合";
2387
- readonly sequence: "顺序";
2388
2450
  readonly chatTab: "对话";
2389
2451
  readonly traceTab: "执行轨迹";
2390
2452
  readonly previewTab: "文件预览";
@@ -2397,9 +2459,6 @@ declare const chatCopilotZhCN: {
2397
2459
  readonly execItemThinking: "思考过程";
2398
2460
  readonly execItemFile: "文件";
2399
2461
  readonly execItemPlan: "执行计划";
2400
- readonly execItemSummaryDone: "{{count}} 项完成";
2401
- readonly execItemSummaryFailed: "{{count}} 项失败";
2402
- readonly execItemSummaryRunning: "{{count}} 项执行中";
2403
2462
  readonly toolCallFallback: "工具调用";
2404
2463
  readonly viewExecutionDetail: "查看执行详情";
2405
2464
  readonly executionStart: "开始";
@@ -2467,4 +2526,4 @@ declare const chatCopilotZhCN: {
2467
2526
  readonly startConversation: "开始会话";
2468
2527
  };
2469
2528
 
2470
- export { type AgentConfig, type AgentExecMode, type AgentInfo, type AgentSpec, _default$1 as Attachments, type AttachmentsProps, type ChatConfig, _default as ChatCopilot, type ChatHandle, type ChatHooks, type ChatLayout, type ChatParams, type ChatProps, _default$2 as ChatSender, type ChatServices, type ConversationMessage, type ConversationMessageSend, type ConversationStrategy, type CustomButtonProps, type FileTextType, type FileUploadConfig, type FileUrlType, type InputFile, type MessageRenderProps, NS_CHAT_COPILOT, type ReferencesType, type RequestInstance, type SenderProps, WorkspaceTypeEnum, chatCopilotEnUS, chatCopilotJaJP, chatCopilotZhCN, getFileIcon, getFileUrl };
2529
+ export { type AgentConfig, type AgentInfo, type AgentSpec, _default$1 as Attachments, type AttachmentsProps, type AvailableResourceType, type ChatConfig, _default as ChatCopilot, type ChatHandle, type ChatHooks, type ChatLayout, type ChatParams, type ChatProps, _default$2 as ChatSender, type ChatServices, type CommandConfig, type ConversationMessage, type ConversationMessageSend, type ConversationStrategy, type CustomButtonProps, type FileTextType, type FileUploadConfig, type FileUrlType, type HashCommandConfig, type InputFile, type MessageRenderProps, NS_CHAT_COPILOT, type ReferencesType, type RequestInstance, type ResourceBtnProps, type SenderProps, WorkspaceTypeEnum, chatCopilotEnUS, chatCopilotJaJP, chatCopilotZhCN, getFileIcon, getFileUrl };