@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
|
@@ -158,7 +158,8 @@ export type ConversationTurnStatus = 'streaming' | 'ready' | 'preview_failed' |
|
|
|
158
158
|
export type WorkbenchTurnMode = WorkbenchIntentChannel;
|
|
159
159
|
export type TraceBlockType = 'thought' | 'json' | 'code' | 'file_change' | 'summary';
|
|
160
160
|
export type TraceAttachmentType = 'json' | 'code' | 'file_change' | 'text';
|
|
161
|
-
|
|
161
|
+
/** 工作日志阶段展示文案,由当前 locale 决定,不作为运行状态协议。 */
|
|
162
|
+
export type WorklogStageText = string;
|
|
162
163
|
export type ConfirmationScope = 'layout' | 'preview' | 'insert' | 'patch' | 'submit' | 'execute' | 'high_risk_action';
|
|
163
164
|
export type ConfirmationStatus = 'draft' | 'needs_confirmation' | 'confirmed' | 'executing' | 'submitted' | 'applied' | 'failed' | 'cancelled';
|
|
164
165
|
export interface ConversationTraceAttachment {
|
|
@@ -174,6 +175,8 @@ export interface ConversationConfirmation {
|
|
|
174
175
|
summary?: string;
|
|
175
176
|
questions?: string[];
|
|
176
177
|
missingFields?: string[];
|
|
178
|
+
/** Durable backend confirmation identity for structured card mutations. */
|
|
179
|
+
pendingPatchId?: string;
|
|
177
180
|
}
|
|
178
181
|
export type ConversationTaskKind = 'data_action' | 'data_query' | 'metric_query' | 'attachment_analysis' | 'approval_analysis' | 'workbench_card' | 'general_answer';
|
|
179
182
|
export type ConversationTaskStatus = 'intent_detected' | 'collecting_fields' | 'waiting_confirmation' | 'confirmed' | 'executing' | 'success' | 'failed' | 'cancelled' | 'topic_shifted';
|
|
@@ -80,9 +80,9 @@ const metricEntries = [
|
|
|
80
80
|
|
|
81
81
|
const chartEntries = [
|
|
82
82
|
['bar', getLocaleText('FWC.563c1787581443454'), 'bar', 'multiSeries'],
|
|
83
|
-
['customEcharts', '
|
|
83
|
+
['customEcharts', getLocaleText('FWC.f66d1787580641924'), 'customEcharts', 'echartsOption'],
|
|
84
84
|
['line', getLocaleText('FWC.f4d91787581443945'), 'line', 'singleSeries'],
|
|
85
|
-
['mixedBarLine', '
|
|
85
|
+
['mixedBarLine', getLocaleText('FWC.74c61787581170214'), 'mixedBarLine', 'multiSeries'],
|
|
86
86
|
['waterfall', getLocaleText('FWC.201c1787581444470'), 'waterfall', 'waterfallSteps'],
|
|
87
87
|
['heatmap', getLocaleText('FWC.a9da1787581444994'), 'heatmap', 'heatmapMatrix'],
|
|
88
88
|
['pie', getLocaleText('FWC.f07d1787581593894'), 'pie', 'pieSlices'],
|
|
@@ -100,10 +100,10 @@ const chartEntries = [
|
|
|
100
100
|
['kline', getLocaleText('FWC.d56e1787580427981'), 'candlestick', 'candlestickSeries'],
|
|
101
101
|
['boxplot', getLocaleText('FWC.5adf1787581477753'), 'boxplot', 'boxplotSeries'],
|
|
102
102
|
['area', getLocaleText('FWC.9b681787581477790'), 'area', 'singleSeries'],
|
|
103
|
-
['stackedBar', '
|
|
103
|
+
['stackedBar', getLocaleText('FWC.7c111787580785011'), 'stackedBar', 'multiSeries'],
|
|
104
104
|
['pareto', getLocaleText('FWC.c7241787581115211'), 'pareto', 'paretoSeries'],
|
|
105
105
|
['drilldownTree', getLocaleText('FWC.20731787581115735'), 'drilldownTree', 'treeHierarchy'],
|
|
106
|
-
['network', '
|
|
106
|
+
['network', getLocaleText('FWC.b4701787581333612'), 'network', 'networkGraph'],
|
|
107
107
|
] as const;
|
|
108
108
|
|
|
109
109
|
const tableEntries = [
|
|
@@ -3699,7 +3699,7 @@ export const ECHARTS_TEMPLATE_REGISTRY = [
|
|
|
3699
3699
|
"capabilityId": "card.echarts.bar.barStack",
|
|
3700
3700
|
"category": "card.echarts.bar",
|
|
3701
3701
|
"type": "bar-stack",
|
|
3702
|
-
"title":
|
|
3702
|
+
"title": getLocaleText('FWC.7c111787580785011'),
|
|
3703
3703
|
"description": getLocaleText('FWC.d7651787578733971'),
|
|
3704
3704
|
"blockType": "display",
|
|
3705
3705
|
"subType": "chart",
|
|
@@ -3701,7 +3701,7 @@ export const ECHARTS_TEMPLATE_REGISTRY = [
|
|
|
3701
3701
|
"capabilityId": "card.echarts.bar.barStack",
|
|
3702
3702
|
"category": "card.echarts.bar",
|
|
3703
3703
|
"type": "bar-stack",
|
|
3704
|
-
"title":
|
|
3704
|
+
"title": getLocaleText('FWC.7c111787580785011'),
|
|
3705
3705
|
"description": getLocaleText('FWC.d7651787578733971'),
|
|
3706
3706
|
"blockType": "display",
|
|
3707
3707
|
"subType": "chart",
|
|
@@ -274,18 +274,8 @@ export type ConversationTurnStatus =
|
|
|
274
274
|
export type WorkbenchTurnMode = WorkbenchIntentChannel;
|
|
275
275
|
export type TraceBlockType = 'thought' | 'json' | 'code' | 'file_change' | 'summary';
|
|
276
276
|
export type TraceAttachmentType = 'json' | 'code' | 'file_change' | 'text';
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
| '正在计划'
|
|
280
|
-
| '正在执行'
|
|
281
|
-
| '正在收尾'
|
|
282
|
-
// Legacy values may exist in persisted turns; new runtime code should not emit them.
|
|
283
|
-
| '正在读取'
|
|
284
|
-
| '正在回复'
|
|
285
|
-
| '正在展示'
|
|
286
|
-
| '正在生成预览'
|
|
287
|
-
| '等待确认'
|
|
288
|
-
;
|
|
277
|
+
/** 工作日志阶段展示文案,由当前 locale 决定,不作为运行状态协议。 */
|
|
278
|
+
export type WorklogStageText = string;
|
|
289
279
|
export type ConfirmationScope = 'layout' | 'preview' | 'insert' | 'patch' | 'submit' | 'execute' | 'high_risk_action';
|
|
290
280
|
export type ConfirmationStatus =
|
|
291
281
|
| 'draft'
|
|
@@ -311,6 +301,8 @@ export interface ConversationConfirmation {
|
|
|
311
301
|
summary?: string;
|
|
312
302
|
questions?: string[];
|
|
313
303
|
missingFields?: string[];
|
|
304
|
+
/** Durable backend confirmation identity for structured card mutations. */
|
|
305
|
+
pendingPatchId?: string;
|
|
314
306
|
}
|
|
315
307
|
|
|
316
308
|
export type ConversationTaskKind =
|
package/package.json
CHANGED
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"@byteluck-fe/workbench-template": "0.1.1",
|
|
12
12
|
"@byteluck/agentic-protocol": "2.2.1",
|
|
13
13
|
"@byteluck/workbench-skill-contracts": "0.1.0",
|
|
14
|
-
"@fses/ai-chat": "1.0.
|
|
15
|
-
"@fses/workbench-card": "0.3.
|
|
14
|
+
"@fses/ai-chat": "1.0.17",
|
|
15
|
+
"@fses/workbench-card": "0.3.17",
|
|
16
16
|
"@microsoft/fetch-event-source": "2.0.1",
|
|
17
17
|
"axios": "^1.15.0",
|
|
18
18
|
"clsx": "^2.1.1",
|
|
@@ -70,6 +70,10 @@
|
|
|
70
70
|
"import": "./dist/fses-workbench-app.js",
|
|
71
71
|
"types": "./dist/fde-runtime/runtime/fdeSkillDisplayLabel.d.ts"
|
|
72
72
|
},
|
|
73
|
+
"./plugin": {
|
|
74
|
+
"import": "./dist/plugin/index.js",
|
|
75
|
+
"types": "./dist/plugin/index.d.ts"
|
|
76
|
+
},
|
|
73
77
|
"./runtime": {
|
|
74
78
|
"import": "./dist/runtime/index.js",
|
|
75
79
|
"types": "./dist/runtime/index.d.ts"
|
|
@@ -143,5 +147,5 @@
|
|
|
143
147
|
},
|
|
144
148
|
"type": "module",
|
|
145
149
|
"types": "./dist/index.d.ts",
|
|
146
|
-
"version": "0.2.
|
|
150
|
+
"version": "0.2.20"
|
|
147
151
|
}
|