@fses/workbench-app 0.2.13 → 0.2.14
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/WORKBENCH-CLOSURE.json +12 -12
- package/dist/{Workspace-Zcro-FS-.js → Workspace-BJlQDkH9.js} +1057 -1056
- package/dist/canvas/api/index.js +1 -1
- package/dist/{canvasFacade-B0oy__da.js → canvasFacade-B2EHgdqA.js} +1 -1
- package/dist/{cardFactory-CoDF-zsR.js → cardFactory-BK3CA-Gn.js} +240 -189
- package/dist/config/workbenchAppConfig.d.ts +5 -0
- package/dist/extensions/index.js +1 -1
- package/dist/fses-workbench-app.js +16 -16
- package/dist/{index-BPItQZvf.js → index-CBS49_nQ.js} +256 -281
- package/dist/internal/personal-workbench/lib/deepAgentApi.d.ts +14 -3
- package/dist/internal/personal-workbench/lib/echartsTemplateAssets.d.ts +25 -0
- package/dist/internal/personal-workbench/lib/workbenchCardRecommendationReturnItemUpsert.d.ts +1 -0
- package/dist/runtime/index.js +1 -1
- package/dist/style.css +1 -1
- package/dist/{useWorkbenchRuntime-DxtdDpY1.js → useWorkbenchRuntime-DLf_FgC7.js} +6256 -6187
- package/dist/version.d.ts +1 -1
- package/dist/{workbenchCustomComponentRegistry-6GHzavdM.js → workbenchCustomComponentRegistry-Bt94Lgko.js} +1 -1
- package/node_modules/@fses/ai-chat/dist/components/FsesAiChat.vue.d.ts +2 -0
- package/node_modules/@fses/ai-chat/dist/composables/useSystemEChartsIcon.d.ts +19 -2
- package/node_modules/@fses/ai-chat/dist/fses-ai-chat.js +4816 -4789
- package/node_modules/@fses/ai-chat/dist/fses-ai-chat.umd.cjs +16 -16
- package/node_modules/@fses/ai-chat/dist/plugin.d.ts +7 -2
- package/node_modules/@fses/ai-chat/dist/style.css +1 -1
- package/node_modules/@fses/ai-chat/package.json +5 -5
- package/node_modules/@fses/workbench-card/package.json +1 -1
- package/package.json +3 -3
|
@@ -26,15 +26,26 @@ export interface DeepAgentRunView {
|
|
|
26
26
|
runId: string;
|
|
27
27
|
threadId: string;
|
|
28
28
|
status: string;
|
|
29
|
+
resumeId?: string;
|
|
29
30
|
eventsUrl?: string;
|
|
30
|
-
currentInterrupt?:
|
|
31
|
-
error?:
|
|
31
|
+
currentInterrupt?: DeepAgentPublicInterrupt;
|
|
32
|
+
error?: DeepAgentPublicRunError;
|
|
32
33
|
queuePosition?: number;
|
|
33
34
|
startedAt?: string;
|
|
34
35
|
lastProgressAt?: string;
|
|
35
36
|
cancellingAt?: string;
|
|
36
37
|
terminationReason?: string;
|
|
37
38
|
}
|
|
39
|
+
export interface DeepAgentPublicInterrupt {
|
|
40
|
+
interruptId: string;
|
|
41
|
+
reason: string;
|
|
42
|
+
allowedDecisions: Array<'approve' | 'edit' | 'reject' | 'respond'>;
|
|
43
|
+
payload?: unknown;
|
|
44
|
+
}
|
|
45
|
+
export interface DeepAgentPublicRunError {
|
|
46
|
+
code: 'DEEP_AGENT_RUN_FAILED';
|
|
47
|
+
retryable: boolean;
|
|
48
|
+
}
|
|
38
49
|
export interface DeepAgentQueueRunInputSummary {
|
|
39
50
|
content: string;
|
|
40
51
|
clientTurnId?: string;
|
|
@@ -132,7 +143,7 @@ export declare function listDeepAgentMessages(context: DeepAgentClientContext, t
|
|
|
132
143
|
* @param payload - resume payload
|
|
133
144
|
* @returns resume 结果
|
|
134
145
|
*/
|
|
135
|
-
export declare function resumeDeepAgentRun(context: DeepAgentClientContext, threadId: string, runId: string, payload: ResumeDeepAgentRunPayload): Promise<
|
|
146
|
+
export declare function resumeDeepAgentRun(context: DeepAgentClientContext, threadId: string, runId: string, payload: ResumeDeepAgentRunPayload): Promise<DeepAgentRunView>;
|
|
136
147
|
/**
|
|
137
148
|
* 取消 run。
|
|
138
149
|
* @param context - 运行态身份上下文
|
|
@@ -16,9 +16,34 @@ export interface EChartsTemplateDeployManifest {
|
|
|
16
16
|
* @returns manifest 条目。
|
|
17
17
|
*/
|
|
18
18
|
export declare function echartsTemplateDeployEntry(manifest: EChartsTemplateDeployManifest | null | undefined, exampleId: string): EChartsTemplateDeployManifestEntry | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* 清空 ECharts 模板 JSON 前端缓存,仅供测试使用。
|
|
21
|
+
* @returns 无返回值。
|
|
22
|
+
*/
|
|
23
|
+
export declare function clearEChartsTemplateJsonCacheForTest(): void;
|
|
19
24
|
/**
|
|
20
25
|
* 加载 ECharts 模板 JSON 资源。
|
|
21
26
|
* @param publicPath - public 下可访问的 JSON 路径。
|
|
22
27
|
* @returns JSON 资源内容。
|
|
23
28
|
*/
|
|
24
29
|
export declare function loadEChartsTemplateJson<T extends ProtocolConfigPayload | ProtocolDataPayload>(publicPath: string): Promise<T>;
|
|
30
|
+
/**
|
|
31
|
+
* 测试用 CDN URL 拼接入口。
|
|
32
|
+
* @param publicPath - 原 public path。
|
|
33
|
+
* @param baseUrl - CDN base URL。
|
|
34
|
+
* @returns CDN URL,未配置时返回 undefined。
|
|
35
|
+
*/
|
|
36
|
+
export declare function resolveEChartsTemplateCdnUrlForTest(publicPath: string, baseUrl: string | undefined): string | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* 解析 ECharts 模板静态资产 URL。
|
|
39
|
+
* @param publicPath - 原 public path。
|
|
40
|
+
* @returns 配置 CDN 时返回 CDN URL,否则返回原 public path。
|
|
41
|
+
*/
|
|
42
|
+
export declare function resolveEChartsTemplateAssetUrl(publicPath: string): string;
|
|
43
|
+
/**
|
|
44
|
+
* 测试用静态资产 URL 拼接入口。
|
|
45
|
+
* @param publicPath - 原 public path。
|
|
46
|
+
* @param baseUrl - CDN base URL。
|
|
47
|
+
* @returns 配置 CDN 时返回 CDN URL,否则返回原 public path。
|
|
48
|
+
*/
|
|
49
|
+
export declare function resolveEChartsTemplateAssetUrlForTest(publicPath: string, baseUrl: string | undefined): string;
|
package/dist/internal/personal-workbench/lib/workbenchCardRecommendationReturnItemUpsert.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ export interface UpsertCardRecommendationReturnItemInput {
|
|
|
16
16
|
conversationId?: string;
|
|
17
17
|
answerSectionKey?: string;
|
|
18
18
|
producer: 'card_module' | 'deep_agent_transcript' | 'standalone_query_result_api';
|
|
19
|
+
replaceExistingForSource?: boolean;
|
|
19
20
|
createdAt?: string;
|
|
20
21
|
}
|
|
21
22
|
/**
|
package/dist/runtime/index.js
CHANGED