@fses/workbench-app 0.2.17 → 0.2.20
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 +14 -14
- package/dist/WorkbenchCardCenterDrawer-CWBuBD04.js +421 -0
- package/dist/WorkbenchDiagnosticsFooter-BxpwRNMe.js +22 -0
- package/dist/WorkbenchDiagnosticsPage-D0mWFNWS.js +72 -0
- package/dist/Workspace-DwnUU7_7.js +22678 -0
- package/dist/adapters/defaultAgentTransportAdapter.d.ts +6 -0
- package/dist/adapters/defaultBrowserAdapters.d.ts +22 -0
- package/dist/adapters/defaultPlatformRequestAdapter.d.ts +6 -0
- package/dist/adapters/defaultRealtimeAdapter.d.ts +6 -0
- package/dist/adapters/endpointResolver.d.ts +16 -0
- package/dist/adapters/index.d.ts +7 -1
- package/dist/adapters/servicePorts.d.ts +20 -0
- package/dist/adapters/types.d.ts +27 -1
- package/dist/canvas/api/index.js +1 -1
- package/dist/canvas/bridge/workbenchCanvasBus.d.ts +13 -1
- package/dist/canvas/persistence/canvasSnapshotStorage.d.ts +3 -2
- package/dist/{canvasFacade-B8jYm_aO.js → canvasFacade-ZFqB_i7z.js} +1 -1
- package/dist/{cardFactory-DmEBcCf4.js → cardFactory-D5dyYSC3.js} +197 -161
- package/dist/components/WorkbenchAppHost.vue.d.ts +5 -5
- package/dist/components/WorkbenchApplication.vue.d.ts +2 -2
- package/dist/components/WorkbenchCardCenterDrawer.vue.d.ts +2 -0
- package/dist/components/WorkbenchDiagnosticsFooter.vue.d.ts +2 -0
- package/dist/components/WorkbenchDiagnosticsPage.vue.d.ts +2 -0
- package/dist/components/WorkbenchDrawerOutlet.vue.d.ts +6 -0
- package/dist/components/WorkbenchFeatureOutlet.vue.d.ts +2 -0
- package/dist/components/WorkbenchSlotOutlet.vue.d.ts +5 -0
- package/dist/config/workbenchAppConfig.d.ts +4 -0
- package/dist/customCardCatalog-DcoxF7gK.js +512 -0
- package/dist/extensions/index.d.ts +3 -54
- package/dist/extensions/index.js +7 -5
- package/dist/extensions/manifest.d.ts +27 -0
- package/dist/extensions/normalizeWorkbenchExtensions.d.ts +19 -0
- package/dist/extensions/types.d.ts +62 -0
- package/dist/fses-workbench-app.js +106 -89
- package/dist/index-CytMrt6f.js +1771 -0
- package/dist/index-DkGYPLLJ.js +34 -0
- package/dist/index.d.ts +10 -1
- package/dist/internal/personal-workbench/components/workbench/WorkbenchCanvas.vue.d.ts +4 -4
- package/dist/internal/personal-workbench/components/workbench/WorkbenchCanvasSettingsMenu.vue.d.ts +4 -4
- package/dist/internal/personal-workbench/components/workbench/WorkbenchFdeImageComposeDrawer.vue.d.ts +19 -0
- package/dist/internal/personal-workbench/components/workbench/WorkbenchFdeToolbar.vue.d.ts +36 -0
- package/dist/internal/personal-workbench/components/workbench/WorkbenchStudio.vue.d.ts +5 -4
- package/dist/internal/personal-workbench/components/workbench/controllers/canvasConfigController.d.ts +23 -0
- package/dist/internal/personal-workbench/components/workbench/controllers/canvasLayoutController.d.ts +12 -0
- package/dist/internal/personal-workbench/components/workbench/controllers/canvasRefreshController.d.ts +11 -0
- package/dist/internal/personal-workbench/components/workbench/controllers/canvasSelectionController.d.ts +11 -0
- package/dist/internal/personal-workbench/components/workbench/showcase/WorkbenchShowcase.vue.d.ts +4 -4
- package/dist/internal/personal-workbench/controllers/workbenchBuiltinPluginBridge.d.ts +32 -0
- package/dist/internal/personal-workbench/controllers/workbenchChartConfigModel.d.ts +68 -0
- package/dist/internal/personal-workbench/controllers/workbenchChartDataSourceController.d.ts +100 -0
- package/dist/internal/personal-workbench/controllers/workbenchChartDrilldownController.d.ts +96 -0
- package/dist/internal/personal-workbench/controllers/workbenchChartDrilldownTable.d.ts +34 -0
- package/dist/internal/personal-workbench/controllers/workbenchFdeVersionController.d.ts +107 -0
- package/dist/internal/personal-workbench/controllers/workbenchRecommendationConfigModel.d.ts +82 -0
- package/dist/internal/personal-workbench/lib/deepAgentApi.d.ts +13 -9
- package/dist/internal/personal-workbench/lib/deepAgentQueueState.d.ts +3 -1
- package/dist/internal/personal-workbench/lib/fdeWorkbenchConfigClient.d.ts +6 -5
- package/dist/internal/personal-workbench/lib/runtimeIdentity.d.ts +5 -0
- package/dist/internal/personal-workbench/lib/runtimePrimitiveRegistry.d.ts +1 -1
- package/dist/internal/personal-workbench/lib/vueRuntimeAdapters.d.ts +22 -5
- package/dist/internal/personal-workbench/lib/workbenchApi.d.ts +61 -47
- package/dist/internal/personal-workbench/lib/workbenchMetricDetailApi.d.ts +2 -1
- package/dist/internal/personal-workbench/lib/workbenchRemoteClient.d.ts +3 -1
- package/dist/internal/personal-workbench/lib/workbenchRequestTransport.d.ts +24 -0
- package/dist/internal/personal-workbench/lib/workbenchStorage.d.ts +8 -7
- package/dist/internal/personal-workbench/pages/Workspace.vue.d.ts +2 -2
- package/dist/internal/personal-workbench/stores/domains/actionsRuntime.d.ts +35 -0
- package/dist/internal/personal-workbench/stores/domains/canvasRuntime.d.ts +44 -0
- package/dist/internal/personal-workbench/stores/domains/conversationRuntime.d.ts +29 -0
- package/dist/internal/personal-workbench/stores/domains/dataBindingRuntime.d.ts +27 -0
- package/dist/internal/personal-workbench/stores/domains/fdeRuntime.d.ts +38 -0
- package/dist/internal/personal-workbench/stores/domains/memoryRuntime.d.ts +53 -0
- package/dist/internal/personal-workbench/stores/workbenchRuntime.d.ts +28 -1
- package/dist/kernel/command/createCommandRegistry.d.ts +19 -0
- package/dist/kernel/createWorkbenchHostContext.d.ts +43 -0
- package/dist/kernel/createWorkbenchKernel.d.ts +7 -0
- package/dist/kernel/diagnostics/createWorkbenchDiagnostics.d.ts +35 -0
- package/dist/kernel/event/createEventBus.d.ts +16 -0
- package/dist/kernel/plugin/createPluginManager.d.ts +7 -0
- package/dist/kernel/plugin/registrationScope.d.ts +15 -0
- package/dist/kernel/plugin/types.d.ts +30 -0
- package/dist/kernel/registry/createRegistry.d.ts +42 -0
- package/dist/kernel/registry/resolveSlotContributions.d.ts +14 -0
- package/dist/kernel/types.d.ts +52 -0
- package/dist/kernel/workbenchHostContext.d.ts +14 -0
- package/dist/normalizeWorkbenchExtensions-Ccv3n3fC.js +425 -0
- package/dist/plugin/index.d.ts +7 -0
- package/dist/plugin/index.js +8 -0
- package/dist/plugin/types.d.ts +106 -0
- package/dist/plugins/defaultWorkbenchPlugins.d.ts +11 -0
- package/dist/plugins/workbenchCardCenterPlugin.d.ts +13 -0
- package/dist/plugins/workbenchDiagnosticsPlugin.d.ts +15 -0
- package/dist/plugins/workbenchDrawerCommands.d.ts +16 -0
- package/dist/plugins/workbenchSettingsPlugin.d.ts +19 -0
- package/dist/plugins/workbenchThemePlugin.d.ts +15 -0
- package/dist/routing/createWorkbenchFeatureRoute.d.ts +11 -0
- package/dist/routing/resolveWorkbenchFeatureRoute.d.ts +23 -0
- package/dist/runtime/index.d.ts +6 -1
- package/dist/runtime/index.js +6 -3
- package/dist/runtime/scope/createWorkbenchRuntimeScope.d.ts +10 -0
- package/dist/runtime/store/workbenchRuntimeContext.d.ts +12 -0
- package/dist/runtime/store/workbenchRuntimeFacade.d.ts +3 -0
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/useWorkbenchRuntime-CJLqEtgU.js +24062 -0
- package/dist/version.d.ts +1 -1
- package/node_modules/@fses/ai-chat/dist/components/FsesAiChat.vue.d.ts +9 -1
- package/node_modules/@fses/ai-chat/dist/composables/types.d.ts +9 -0
- package/node_modules/@fses/ai-chat/dist/fses-ai-chat.js +28238 -7473
- package/node_modules/@fses/ai-chat/dist/fses-ai-chat.umd.cjs +17 -17
- package/node_modules/@fses/ai-chat/dist/index.d.ts +1 -1
- package/node_modules/@fses/ai-chat/dist/style.css +1 -1
- package/node_modules/@fses/ai-chat/package.json +3 -3
- package/node_modules/@fses/workbench-card/dist/fses-workbench-card-renderers.js +5 -5
- package/node_modules/@fses/workbench-card/dist/fses-workbench-card.js +5 -5
- package/node_modules/@fses/workbench-card/dist/fses-workbench-card.umd.cjs +1 -1
- package/node_modules/@fses/workbench-card/dist/types/block.d.ts +4 -1
- package/node_modules/@fses/workbench-card/package.json +1 -1
- package/node_modules/@fses/workbench-card/src/registry/cardRegistry.ts +4 -4
- package/node_modules/@fses/workbench-card/src/registry/echartsTemplateRegistry.generated.js +1 -1
- package/node_modules/@fses/workbench-card/src/registry/echartsTemplateRegistry.generated.ts +1 -1
- package/node_modules/@fses/workbench-card/src/types/block.ts +4 -12
- package/package.json +7 -3
- package/dist/Workspace-r8ayksVF.js +0 -23176
- package/dist/index-DEOR_GPc.js +0 -829
- package/dist/useWorkbenchRuntime-DDD22mdF.js +0 -23831
- package/dist/workbenchCustomComponentRegistry-CWUPjCnJ.js +0 -267
package/dist/version.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @author seadon
|
|
5
5
|
* @created 2026-08-17
|
|
6
6
|
*/
|
|
7
|
-
export declare const WORKBENCH_APP_VERSION = "0.2.
|
|
7
|
+
export declare const WORKBENCH_APP_VERSION = "0.2.20";
|
|
8
8
|
export declare const WORKBENCH_APP_VERSION_META_NAME = "workbench-app-version";
|
|
9
9
|
/**
|
|
10
10
|
* 将当前包版本写入页面 head 的 meta 标签。
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @created 2026-05-06
|
|
5
5
|
*/
|
|
6
6
|
import type { ChartCardSpec, MetricWorkbenchCardSpec } from "../chart-card/types";
|
|
7
|
-
import type { AssistantPersonaPayload, AttachmentPayload, CardRecommendationChooseFeedback, CardRecommendationDraft, CardRecommendationItem, ChatMessage, BusinessGroupContext, BusinessGroupOption, FsesAiChatConversationChangeMeta, FsesAiChatTransport, FsesAiChatTransportMessageInput, ImagePayload } from "../composables/types";
|
|
7
|
+
import type { AssistantPersonaPayload, AttachmentPayload, CardRecommendationChooseFeedback, CardRecommendationDraft, CardRecommendationItem, ChatMessage, BusinessGroupContext, BusinessGroupOption, FsesAiChatConversationChangeMeta, FsesAiChatTransport, FsesAiChatTransportMessageInput, ImagePayload, RestoredWorkbenchUserAttachmentPatch } from "../composables/types";
|
|
8
8
|
import type { PlanDraft } from "../composables/types";
|
|
9
9
|
import "@opentiny/tiny-robot/dist/style.css";
|
|
10
10
|
import "../styles/codex-theme.css";
|
|
@@ -131,6 +131,13 @@ declare function appendMessage(message: FsesAiChatTransportMessageInput, convers
|
|
|
131
131
|
* @returns Whether any message metadata changed.
|
|
132
132
|
*/
|
|
133
133
|
declare function assignWorkbenchTurnIds(conversationId: string, turnIds: string[]): boolean;
|
|
134
|
+
/**
|
|
135
|
+
* 用 DeepAgent transcript 附件补全已有历史用户消息。
|
|
136
|
+
* @param conversationId - 目标历史会话 ID。
|
|
137
|
+
* @param patches - 按会话顺序排列的附件补丁。
|
|
138
|
+
* @returns 是否更新了至少一条消息。
|
|
139
|
+
*/
|
|
140
|
+
declare function restoreWorkbenchUserAttachments(conversationId: string, patches: RestoredWorkbenchUserAttachmentPatch[]): boolean;
|
|
134
141
|
/**
|
|
135
142
|
* Replaces one restored workbench answer with host-provided ordered sections and artifacts.
|
|
136
143
|
* @param conversationId - Target conversation id.
|
|
@@ -175,6 +182,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
175
182
|
pushCardRecommendationDraft: typeof pushCardRecommendationDraft;
|
|
176
183
|
assignWorkbenchTurnIds: typeof assignWorkbenchTurnIds;
|
|
177
184
|
appendMessage: typeof appendMessage;
|
|
185
|
+
restoreWorkbenchUserAttachments: typeof restoreWorkbenchUserAttachments;
|
|
178
186
|
replaceWorkbenchTurnAnswer: typeof replaceWorkbenchTurnAnswer;
|
|
179
187
|
sendText: typeof sendText;
|
|
180
188
|
setInputText: typeof setInputText;
|
|
@@ -189,6 +189,14 @@ export interface TaskStateDraft {
|
|
|
189
189
|
export type RuntimeStringOption = (() => string | undefined) | string;
|
|
190
190
|
export type RuntimeBusinessGroupOption = (() => BusinessGroupContext | undefined) | BusinessGroupContext;
|
|
191
191
|
export type FsesAiChatTransportMessageInput = Omit<ChatMessage, 'id' | 'timestamp'> & Partial<Pick<ChatMessage, 'id' | 'timestamp'>>;
|
|
192
|
+
/**
|
|
193
|
+
* 宿主从权威 transcript 恢复的用户消息附件补丁。
|
|
194
|
+
*/
|
|
195
|
+
export interface RestoredWorkbenchUserAttachmentPatch {
|
|
196
|
+
turnId: string;
|
|
197
|
+
content: string;
|
|
198
|
+
attachments: ChatAttachment[];
|
|
199
|
+
}
|
|
192
200
|
export interface FsesAiChatQuickEntryActionPayload {
|
|
193
201
|
action?: string;
|
|
194
202
|
capabilityId: string;
|
|
@@ -453,6 +461,7 @@ export interface UseChatReturn {
|
|
|
453
461
|
latestMetricCard: Ref<MetricWorkbenchCardSpec | null>;
|
|
454
462
|
assignWorkbenchTurnIds: (conversationId: string, turnIds: string[]) => boolean;
|
|
455
463
|
appendMessage: (message: FsesAiChatTransportMessageInput, conversationId?: string) => ChatMessage;
|
|
464
|
+
restoreWorkbenchUserAttachments: (conversationId: string, patches: RestoredWorkbenchUserAttachmentPatch[]) => boolean;
|
|
456
465
|
replaceWorkbenchTurnAnswer: (conversationId: string, turnId: string, replacementMessages: FsesAiChatTransportMessageInput[]) => boolean;
|
|
457
466
|
loadConversations: () => Promise<void>;
|
|
458
467
|
loadHistory: (id: string) => Promise<void>;
|