@zero-library/chat-copilot 3.2.1 → 3.2.3
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.cjs.js +409 -627
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.css +106 -24
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +88 -32
- package/dist/index.d.ts +88 -32
- package/dist/index.esm.js +410 -628
- package/dist/index.esm.js.map +1 -1
- package/package.json +3 -3
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,22 @@ interface ChatLayoutHeader {
|
|
|
687
679
|
interface CustomButtonProps extends Omit<ButtonProps, 'icon'> {
|
|
688
680
|
icon?: () => ReactNode;
|
|
689
681
|
}
|
|
690
|
-
type
|
|
691
|
-
|
|
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
|
+
/** 资源按钮可请求的资源类型;未传时使用组件默认值 */
|
|
697
|
+
types?: AvailableResourceType[];
|
|
699
698
|
};
|
|
700
699
|
/**
|
|
701
700
|
* 聊天布局输入框配置接口
|
|
@@ -723,10 +722,8 @@ interface ChatLayoutSender {
|
|
|
723
722
|
referencesBtn?: RenderControl<void, void>;
|
|
724
723
|
/** 底部额外内容渲染控制 */
|
|
725
724
|
footerBelow?: RenderControl<void, void>;
|
|
726
|
-
/**
|
|
727
|
-
|
|
728
|
-
/** 知识库按钮渲染控制 */
|
|
729
|
-
knowledgeBtn?: RenderControl<void, void>;
|
|
725
|
+
/** 资源按钮渲染控制:不传不显示;传 true 使用默认 types;传 props 时使用 props.types */
|
|
726
|
+
resourceBtn?: RenderControl<void, ResourceBtnProps>;
|
|
730
727
|
/** 发送按钮属性配置函数 */
|
|
731
728
|
sendBtnProps?: () => ButtonProps;
|
|
732
729
|
/** 模型下拉选择配置控制 */
|
|
@@ -734,7 +731,7 @@ interface ChatLayoutSender {
|
|
|
734
731
|
/** 深度思考按钮渲染控制 */
|
|
735
732
|
reasonBtn?: RenderControl<void, void>;
|
|
736
733
|
/** 特殊指令渲染控制 */
|
|
737
|
-
commandConfig?:
|
|
734
|
+
commandConfig?: CommandConfig;
|
|
738
735
|
/** 上传文件配置 */
|
|
739
736
|
uploadConfig?: FileUploadConfig;
|
|
740
737
|
}
|
|
@@ -859,7 +856,7 @@ interface SenderProps {
|
|
|
859
856
|
/** 输入框占位符 */
|
|
860
857
|
placeholder?: string;
|
|
861
858
|
/** 特殊指令配置 */
|
|
862
|
-
commandConfig?:
|
|
859
|
+
commandConfig?: CommandConfig;
|
|
863
860
|
/** 输入框内容 */
|
|
864
861
|
content?: string;
|
|
865
862
|
/** 文件列表 */
|
|
@@ -931,6 +928,7 @@ declare const createChatService: (request: ReturnType<typeof createRequest>, con
|
|
|
931
928
|
conversationFavorite: (conversationId: string, isFavorite: boolean) => Promise<R<boolean>>;
|
|
932
929
|
shareConversation: (conversationId: string) => Promise<R<ShareConversationResponse>>;
|
|
933
930
|
fetchExecutionDebug: (conversationId: string) => Promise<R<PageRes<ExecutionDebug>>>;
|
|
931
|
+
fetchAvailableResources: (types?: AvailableResourceType[] | string) => Promise<R<AgentResourcesResp>>;
|
|
934
932
|
};
|
|
935
933
|
|
|
936
934
|
type RequestInstance = Partial<ReturnType<typeof createChatService>>;
|
|
@@ -1723,6 +1721,8 @@ interface ChatConfig {
|
|
|
1723
1721
|
agent?: AgentInfo;
|
|
1724
1722
|
conversationId?: string;
|
|
1725
1723
|
conversationStrategy?: ConversationStrategy;
|
|
1724
|
+
/** 是否显示执行轨迹日志面板 */
|
|
1725
|
+
showDebugLog?: boolean;
|
|
1726
1726
|
}
|
|
1727
1727
|
interface ChatParams {
|
|
1728
1728
|
convMeta?: ConvMeta;
|
|
@@ -1829,6 +1829,59 @@ interface Datasource {
|
|
|
1829
1829
|
createdAt: string;
|
|
1830
1830
|
updatedAt: string;
|
|
1831
1831
|
}
|
|
1832
|
+
interface SkillSummary {
|
|
1833
|
+
id: string;
|
|
1834
|
+
name: string;
|
|
1835
|
+
aliasName: string;
|
|
1836
|
+
description: string;
|
|
1837
|
+
type: number;
|
|
1838
|
+
state: number;
|
|
1839
|
+
}
|
|
1840
|
+
interface KnowledgeSummary {
|
|
1841
|
+
id: string;
|
|
1842
|
+
name: string;
|
|
1843
|
+
description: string;
|
|
1844
|
+
icon: string;
|
|
1845
|
+
libraryType: number;
|
|
1846
|
+
}
|
|
1847
|
+
interface DatasourceSummary {
|
|
1848
|
+
id: string;
|
|
1849
|
+
name: string;
|
|
1850
|
+
type: number;
|
|
1851
|
+
state: number;
|
|
1852
|
+
}
|
|
1853
|
+
interface McpServerSummary {
|
|
1854
|
+
id: string;
|
|
1855
|
+
serverName: string;
|
|
1856
|
+
displayName?: string;
|
|
1857
|
+
description?: string;
|
|
1858
|
+
transportType: string;
|
|
1859
|
+
state: number;
|
|
1860
|
+
/** 兼容部分接口直接返回 name 字段 */
|
|
1861
|
+
name?: string;
|
|
1862
|
+
}
|
|
1863
|
+
interface SubAgentSummary {
|
|
1864
|
+
id: string;
|
|
1865
|
+
name: string;
|
|
1866
|
+
description?: string;
|
|
1867
|
+
iconUrl?: string;
|
|
1868
|
+
agentType: number;
|
|
1869
|
+
kind: number;
|
|
1870
|
+
}
|
|
1871
|
+
interface ToolSummary {
|
|
1872
|
+
name: string;
|
|
1873
|
+
description: string;
|
|
1874
|
+
category?: string;
|
|
1875
|
+
icon?: string;
|
|
1876
|
+
}
|
|
1877
|
+
interface AgentResourcesResp {
|
|
1878
|
+
skills: SkillSummary[];
|
|
1879
|
+
knowledges: KnowledgeSummary[];
|
|
1880
|
+
datasources: DatasourceSummary[];
|
|
1881
|
+
mcpServers: McpServerSummary[];
|
|
1882
|
+
subAgents: SubAgentSummary[];
|
|
1883
|
+
tools: ToolSummary[];
|
|
1884
|
+
}
|
|
1832
1885
|
interface DownloadFileReq {
|
|
1833
1886
|
workspaceType?: WorkspaceTypeEnum;
|
|
1834
1887
|
workspaceId?: string;
|
|
@@ -1944,8 +1997,14 @@ declare const chatCopilotEnUS: {
|
|
|
1944
1997
|
summaryAnalysis: string;
|
|
1945
1998
|
headerClose: string;
|
|
1946
1999
|
deepThinking: string;
|
|
2000
|
+
resource: string;
|
|
1947
2001
|
skill: string;
|
|
1948
2002
|
knowledge: string;
|
|
2003
|
+
datasource: string;
|
|
2004
|
+
mcpServer: string;
|
|
2005
|
+
subAgent: string;
|
|
2006
|
+
tool: string;
|
|
2007
|
+
loading: string;
|
|
1949
2008
|
supportedExtensions: string;
|
|
1950
2009
|
empty: string;
|
|
1951
2010
|
selectFile: string;
|
|
@@ -2005,8 +2064,6 @@ declare const chatCopilotEnUS: {
|
|
|
2005
2064
|
previewEdit: string;
|
|
2006
2065
|
copy: string;
|
|
2007
2066
|
continueText: string;
|
|
2008
|
-
aggregate: string;
|
|
2009
|
-
sequence: string;
|
|
2010
2067
|
chatTab: string;
|
|
2011
2068
|
traceTab: string;
|
|
2012
2069
|
previewTab: string;
|
|
@@ -2019,9 +2076,6 @@ declare const chatCopilotEnUS: {
|
|
|
2019
2076
|
execItemThinking: string;
|
|
2020
2077
|
execItemFile: string;
|
|
2021
2078
|
execItemPlan: string;
|
|
2022
|
-
execItemSummaryDone: string;
|
|
2023
|
-
execItemSummaryFailed: string;
|
|
2024
|
-
execItemSummaryRunning: string;
|
|
2025
2079
|
toolCallFallback: string;
|
|
2026
2080
|
viewExecutionDetail: string;
|
|
2027
2081
|
executionStart: string;
|
|
@@ -2133,8 +2187,14 @@ declare const chatCopilotJaJP: {
|
|
|
2133
2187
|
summaryAnalysis: string;
|
|
2134
2188
|
headerClose: string;
|
|
2135
2189
|
deepThinking: string;
|
|
2190
|
+
resource: string;
|
|
2136
2191
|
skill: string;
|
|
2137
2192
|
knowledge: string;
|
|
2193
|
+
datasource: string;
|
|
2194
|
+
mcpServer: string;
|
|
2195
|
+
subAgent: string;
|
|
2196
|
+
tool: string;
|
|
2197
|
+
loading: string;
|
|
2138
2198
|
supportedExtensions: string;
|
|
2139
2199
|
empty: string;
|
|
2140
2200
|
selectFile: string;
|
|
@@ -2194,8 +2254,6 @@ declare const chatCopilotJaJP: {
|
|
|
2194
2254
|
previewEdit: string;
|
|
2195
2255
|
copy: string;
|
|
2196
2256
|
continueText: string;
|
|
2197
|
-
aggregate: string;
|
|
2198
|
-
sequence: string;
|
|
2199
2257
|
chatTab: string;
|
|
2200
2258
|
traceTab: string;
|
|
2201
2259
|
previewTab: string;
|
|
@@ -2208,9 +2266,6 @@ declare const chatCopilotJaJP: {
|
|
|
2208
2266
|
execItemThinking: string;
|
|
2209
2267
|
execItemFile: string;
|
|
2210
2268
|
execItemPlan: string;
|
|
2211
|
-
execItemSummaryDone: string;
|
|
2212
|
-
execItemSummaryFailed: string;
|
|
2213
|
-
execItemSummaryRunning: string;
|
|
2214
2269
|
toolCallFallback: string;
|
|
2215
2270
|
viewExecutionDetail: string;
|
|
2216
2271
|
executionStart: string;
|
|
@@ -2322,8 +2377,14 @@ declare const chatCopilotZhCN: {
|
|
|
2322
2377
|
readonly summaryAnalysis: "概要解读";
|
|
2323
2378
|
readonly headerClose: "关闭";
|
|
2324
2379
|
readonly deepThinking: "深度思考";
|
|
2380
|
+
readonly resource: "资源";
|
|
2325
2381
|
readonly skill: "技能";
|
|
2326
2382
|
readonly knowledge: "知识库";
|
|
2383
|
+
readonly datasource: "数据源";
|
|
2384
|
+
readonly mcpServer: "MCP Server";
|
|
2385
|
+
readonly subAgent: "子智能体";
|
|
2386
|
+
readonly tool: "工具";
|
|
2387
|
+
readonly loading: "加载中...";
|
|
2327
2388
|
readonly supportedExtensions: "支持扩展名:{{types}}";
|
|
2328
2389
|
readonly empty: "暂无数据";
|
|
2329
2390
|
readonly selectFile: "选择文件";
|
|
@@ -2383,8 +2444,6 @@ declare const chatCopilotZhCN: {
|
|
|
2383
2444
|
readonly previewEdit: "预览编辑";
|
|
2384
2445
|
readonly copy: "复制";
|
|
2385
2446
|
readonly continueText: "继续";
|
|
2386
|
-
readonly aggregate: "聚合";
|
|
2387
|
-
readonly sequence: "顺序";
|
|
2388
2447
|
readonly chatTab: "对话";
|
|
2389
2448
|
readonly traceTab: "执行轨迹";
|
|
2390
2449
|
readonly previewTab: "文件预览";
|
|
@@ -2397,9 +2456,6 @@ declare const chatCopilotZhCN: {
|
|
|
2397
2456
|
readonly execItemThinking: "思考过程";
|
|
2398
2457
|
readonly execItemFile: "文件";
|
|
2399
2458
|
readonly execItemPlan: "执行计划";
|
|
2400
|
-
readonly execItemSummaryDone: "{{count}} 项完成";
|
|
2401
|
-
readonly execItemSummaryFailed: "{{count}} 项失败";
|
|
2402
|
-
readonly execItemSummaryRunning: "{{count}} 项执行中";
|
|
2403
2459
|
readonly toolCallFallback: "工具调用";
|
|
2404
2460
|
readonly viewExecutionDetail: "查看执行详情";
|
|
2405
2461
|
readonly executionStart: "开始";
|
|
@@ -2467,4 +2523,4 @@ declare const chatCopilotZhCN: {
|
|
|
2467
2523
|
readonly startConversation: "开始会话";
|
|
2468
2524
|
};
|
|
2469
2525
|
|
|
2470
|
-
export { type AgentConfig, type
|
|
2526
|
+
export { type AgentConfig, type AgentInfo, type AgentSpec, _default$1 as Attachments, type AttachmentsProps, type AvailableResourceType, type CascadeCategory, 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,22 @@ interface ChatLayoutHeader {
|
|
|
687
679
|
interface CustomButtonProps extends Omit<ButtonProps, 'icon'> {
|
|
688
680
|
icon?: () => ReactNode;
|
|
689
681
|
}
|
|
690
|
-
type
|
|
691
|
-
|
|
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
|
+
/** 资源按钮可请求的资源类型;未传时使用组件默认值 */
|
|
697
|
+
types?: AvailableResourceType[];
|
|
699
698
|
};
|
|
700
699
|
/**
|
|
701
700
|
* 聊天布局输入框配置接口
|
|
@@ -723,10 +722,8 @@ interface ChatLayoutSender {
|
|
|
723
722
|
referencesBtn?: RenderControl<void, void>;
|
|
724
723
|
/** 底部额外内容渲染控制 */
|
|
725
724
|
footerBelow?: RenderControl<void, void>;
|
|
726
|
-
/**
|
|
727
|
-
|
|
728
|
-
/** 知识库按钮渲染控制 */
|
|
729
|
-
knowledgeBtn?: RenderControl<void, void>;
|
|
725
|
+
/** 资源按钮渲染控制:不传不显示;传 true 使用默认 types;传 props 时使用 props.types */
|
|
726
|
+
resourceBtn?: RenderControl<void, ResourceBtnProps>;
|
|
730
727
|
/** 发送按钮属性配置函数 */
|
|
731
728
|
sendBtnProps?: () => ButtonProps;
|
|
732
729
|
/** 模型下拉选择配置控制 */
|
|
@@ -734,7 +731,7 @@ interface ChatLayoutSender {
|
|
|
734
731
|
/** 深度思考按钮渲染控制 */
|
|
735
732
|
reasonBtn?: RenderControl<void, void>;
|
|
736
733
|
/** 特殊指令渲染控制 */
|
|
737
|
-
commandConfig?:
|
|
734
|
+
commandConfig?: CommandConfig;
|
|
738
735
|
/** 上传文件配置 */
|
|
739
736
|
uploadConfig?: FileUploadConfig;
|
|
740
737
|
}
|
|
@@ -859,7 +856,7 @@ interface SenderProps {
|
|
|
859
856
|
/** 输入框占位符 */
|
|
860
857
|
placeholder?: string;
|
|
861
858
|
/** 特殊指令配置 */
|
|
862
|
-
commandConfig?:
|
|
859
|
+
commandConfig?: CommandConfig;
|
|
863
860
|
/** 输入框内容 */
|
|
864
861
|
content?: string;
|
|
865
862
|
/** 文件列表 */
|
|
@@ -931,6 +928,7 @@ declare const createChatService: (request: ReturnType<typeof createRequest>, con
|
|
|
931
928
|
conversationFavorite: (conversationId: string, isFavorite: boolean) => Promise<R<boolean>>;
|
|
932
929
|
shareConversation: (conversationId: string) => Promise<R<ShareConversationResponse>>;
|
|
933
930
|
fetchExecutionDebug: (conversationId: string) => Promise<R<PageRes<ExecutionDebug>>>;
|
|
931
|
+
fetchAvailableResources: (types?: AvailableResourceType[] | string) => Promise<R<AgentResourcesResp>>;
|
|
934
932
|
};
|
|
935
933
|
|
|
936
934
|
type RequestInstance = Partial<ReturnType<typeof createChatService>>;
|
|
@@ -1723,6 +1721,8 @@ interface ChatConfig {
|
|
|
1723
1721
|
agent?: AgentInfo;
|
|
1724
1722
|
conversationId?: string;
|
|
1725
1723
|
conversationStrategy?: ConversationStrategy;
|
|
1724
|
+
/** 是否显示执行轨迹日志面板 */
|
|
1725
|
+
showDebugLog?: boolean;
|
|
1726
1726
|
}
|
|
1727
1727
|
interface ChatParams {
|
|
1728
1728
|
convMeta?: ConvMeta;
|
|
@@ -1829,6 +1829,59 @@ interface Datasource {
|
|
|
1829
1829
|
createdAt: string;
|
|
1830
1830
|
updatedAt: string;
|
|
1831
1831
|
}
|
|
1832
|
+
interface SkillSummary {
|
|
1833
|
+
id: string;
|
|
1834
|
+
name: string;
|
|
1835
|
+
aliasName: string;
|
|
1836
|
+
description: string;
|
|
1837
|
+
type: number;
|
|
1838
|
+
state: number;
|
|
1839
|
+
}
|
|
1840
|
+
interface KnowledgeSummary {
|
|
1841
|
+
id: string;
|
|
1842
|
+
name: string;
|
|
1843
|
+
description: string;
|
|
1844
|
+
icon: string;
|
|
1845
|
+
libraryType: number;
|
|
1846
|
+
}
|
|
1847
|
+
interface DatasourceSummary {
|
|
1848
|
+
id: string;
|
|
1849
|
+
name: string;
|
|
1850
|
+
type: number;
|
|
1851
|
+
state: number;
|
|
1852
|
+
}
|
|
1853
|
+
interface McpServerSummary {
|
|
1854
|
+
id: string;
|
|
1855
|
+
serverName: string;
|
|
1856
|
+
displayName?: string;
|
|
1857
|
+
description?: string;
|
|
1858
|
+
transportType: string;
|
|
1859
|
+
state: number;
|
|
1860
|
+
/** 兼容部分接口直接返回 name 字段 */
|
|
1861
|
+
name?: string;
|
|
1862
|
+
}
|
|
1863
|
+
interface SubAgentSummary {
|
|
1864
|
+
id: string;
|
|
1865
|
+
name: string;
|
|
1866
|
+
description?: string;
|
|
1867
|
+
iconUrl?: string;
|
|
1868
|
+
agentType: number;
|
|
1869
|
+
kind: number;
|
|
1870
|
+
}
|
|
1871
|
+
interface ToolSummary {
|
|
1872
|
+
name: string;
|
|
1873
|
+
description: string;
|
|
1874
|
+
category?: string;
|
|
1875
|
+
icon?: string;
|
|
1876
|
+
}
|
|
1877
|
+
interface AgentResourcesResp {
|
|
1878
|
+
skills: SkillSummary[];
|
|
1879
|
+
knowledges: KnowledgeSummary[];
|
|
1880
|
+
datasources: DatasourceSummary[];
|
|
1881
|
+
mcpServers: McpServerSummary[];
|
|
1882
|
+
subAgents: SubAgentSummary[];
|
|
1883
|
+
tools: ToolSummary[];
|
|
1884
|
+
}
|
|
1832
1885
|
interface DownloadFileReq {
|
|
1833
1886
|
workspaceType?: WorkspaceTypeEnum;
|
|
1834
1887
|
workspaceId?: string;
|
|
@@ -1944,8 +1997,14 @@ declare const chatCopilotEnUS: {
|
|
|
1944
1997
|
summaryAnalysis: string;
|
|
1945
1998
|
headerClose: string;
|
|
1946
1999
|
deepThinking: string;
|
|
2000
|
+
resource: string;
|
|
1947
2001
|
skill: string;
|
|
1948
2002
|
knowledge: string;
|
|
2003
|
+
datasource: string;
|
|
2004
|
+
mcpServer: string;
|
|
2005
|
+
subAgent: string;
|
|
2006
|
+
tool: string;
|
|
2007
|
+
loading: string;
|
|
1949
2008
|
supportedExtensions: string;
|
|
1950
2009
|
empty: string;
|
|
1951
2010
|
selectFile: string;
|
|
@@ -2005,8 +2064,6 @@ declare const chatCopilotEnUS: {
|
|
|
2005
2064
|
previewEdit: string;
|
|
2006
2065
|
copy: string;
|
|
2007
2066
|
continueText: string;
|
|
2008
|
-
aggregate: string;
|
|
2009
|
-
sequence: string;
|
|
2010
2067
|
chatTab: string;
|
|
2011
2068
|
traceTab: string;
|
|
2012
2069
|
previewTab: string;
|
|
@@ -2019,9 +2076,6 @@ declare const chatCopilotEnUS: {
|
|
|
2019
2076
|
execItemThinking: string;
|
|
2020
2077
|
execItemFile: string;
|
|
2021
2078
|
execItemPlan: string;
|
|
2022
|
-
execItemSummaryDone: string;
|
|
2023
|
-
execItemSummaryFailed: string;
|
|
2024
|
-
execItemSummaryRunning: string;
|
|
2025
2079
|
toolCallFallback: string;
|
|
2026
2080
|
viewExecutionDetail: string;
|
|
2027
2081
|
executionStart: string;
|
|
@@ -2133,8 +2187,14 @@ declare const chatCopilotJaJP: {
|
|
|
2133
2187
|
summaryAnalysis: string;
|
|
2134
2188
|
headerClose: string;
|
|
2135
2189
|
deepThinking: string;
|
|
2190
|
+
resource: string;
|
|
2136
2191
|
skill: string;
|
|
2137
2192
|
knowledge: string;
|
|
2193
|
+
datasource: string;
|
|
2194
|
+
mcpServer: string;
|
|
2195
|
+
subAgent: string;
|
|
2196
|
+
tool: string;
|
|
2197
|
+
loading: string;
|
|
2138
2198
|
supportedExtensions: string;
|
|
2139
2199
|
empty: string;
|
|
2140
2200
|
selectFile: string;
|
|
@@ -2194,8 +2254,6 @@ declare const chatCopilotJaJP: {
|
|
|
2194
2254
|
previewEdit: string;
|
|
2195
2255
|
copy: string;
|
|
2196
2256
|
continueText: string;
|
|
2197
|
-
aggregate: string;
|
|
2198
|
-
sequence: string;
|
|
2199
2257
|
chatTab: string;
|
|
2200
2258
|
traceTab: string;
|
|
2201
2259
|
previewTab: string;
|
|
@@ -2208,9 +2266,6 @@ declare const chatCopilotJaJP: {
|
|
|
2208
2266
|
execItemThinking: string;
|
|
2209
2267
|
execItemFile: string;
|
|
2210
2268
|
execItemPlan: string;
|
|
2211
|
-
execItemSummaryDone: string;
|
|
2212
|
-
execItemSummaryFailed: string;
|
|
2213
|
-
execItemSummaryRunning: string;
|
|
2214
2269
|
toolCallFallback: string;
|
|
2215
2270
|
viewExecutionDetail: string;
|
|
2216
2271
|
executionStart: string;
|
|
@@ -2322,8 +2377,14 @@ declare const chatCopilotZhCN: {
|
|
|
2322
2377
|
readonly summaryAnalysis: "概要解读";
|
|
2323
2378
|
readonly headerClose: "关闭";
|
|
2324
2379
|
readonly deepThinking: "深度思考";
|
|
2380
|
+
readonly resource: "资源";
|
|
2325
2381
|
readonly skill: "技能";
|
|
2326
2382
|
readonly knowledge: "知识库";
|
|
2383
|
+
readonly datasource: "数据源";
|
|
2384
|
+
readonly mcpServer: "MCP Server";
|
|
2385
|
+
readonly subAgent: "子智能体";
|
|
2386
|
+
readonly tool: "工具";
|
|
2387
|
+
readonly loading: "加载中...";
|
|
2327
2388
|
readonly supportedExtensions: "支持扩展名:{{types}}";
|
|
2328
2389
|
readonly empty: "暂无数据";
|
|
2329
2390
|
readonly selectFile: "选择文件";
|
|
@@ -2383,8 +2444,6 @@ declare const chatCopilotZhCN: {
|
|
|
2383
2444
|
readonly previewEdit: "预览编辑";
|
|
2384
2445
|
readonly copy: "复制";
|
|
2385
2446
|
readonly continueText: "继续";
|
|
2386
|
-
readonly aggregate: "聚合";
|
|
2387
|
-
readonly sequence: "顺序";
|
|
2388
2447
|
readonly chatTab: "对话";
|
|
2389
2448
|
readonly traceTab: "执行轨迹";
|
|
2390
2449
|
readonly previewTab: "文件预览";
|
|
@@ -2397,9 +2456,6 @@ declare const chatCopilotZhCN: {
|
|
|
2397
2456
|
readonly execItemThinking: "思考过程";
|
|
2398
2457
|
readonly execItemFile: "文件";
|
|
2399
2458
|
readonly execItemPlan: "执行计划";
|
|
2400
|
-
readonly execItemSummaryDone: "{{count}} 项完成";
|
|
2401
|
-
readonly execItemSummaryFailed: "{{count}} 项失败";
|
|
2402
|
-
readonly execItemSummaryRunning: "{{count}} 项执行中";
|
|
2403
2459
|
readonly toolCallFallback: "工具调用";
|
|
2404
2460
|
readonly viewExecutionDetail: "查看执行详情";
|
|
2405
2461
|
readonly executionStart: "开始";
|
|
@@ -2467,4 +2523,4 @@ declare const chatCopilotZhCN: {
|
|
|
2467
2523
|
readonly startConversation: "开始会话";
|
|
2468
2524
|
};
|
|
2469
2525
|
|
|
2470
|
-
export { type AgentConfig, type
|
|
2526
|
+
export { type AgentConfig, type AgentInfo, type AgentSpec, _default$1 as Attachments, type AttachmentsProps, type AvailableResourceType, type CascadeCategory, 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 };
|