@fses/workbench-app 0.2.18 → 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 +2 -2
- 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 +4 -4
- 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/fses-ai-chat.js +28256 -7528
- package/node_modules/@fses/ai-chat/dist/fses-ai-chat.umd.cjs +17 -17
- 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-JvnSC-w9.js +0 -23186
- package/dist/index-D-WW3bXH.js +0 -829
- package/dist/useWorkbenchRuntime-D_AtkXIX.js +0 -23865
- package/dist/workbenchCustomComponentRegistry-CWUPjCnJ.js +0 -267
package/dist/runtime/index.d.ts
CHANGED
|
@@ -3,6 +3,11 @@
|
|
|
3
3
|
* @author seadon
|
|
4
4
|
* @created 2026-08-12
|
|
5
5
|
*/
|
|
6
|
-
export { useWorkbenchRuntimeStore } from '../internal/personal-workbench/stores/workbenchRuntime';
|
|
6
|
+
export { createWorkbenchRuntimeStoreDefinition, useWorkbenchRuntimeStore, } from '../internal/personal-workbench/stores/workbenchRuntime';
|
|
7
|
+
export type { CreateWorkbenchRuntimeStoreDefinitionOptions, } from '../internal/personal-workbench/stores/workbenchRuntime';
|
|
7
8
|
export { useWorkbenchRuntime } from '../internal/personal-workbench/composables/useWorkbenchRuntime';
|
|
9
|
+
export { createWorkbenchRuntimeScope } from './scope/createWorkbenchRuntimeScope';
|
|
10
|
+
export type { WorkbenchRuntimeScope } from './scope/createWorkbenchRuntimeScope';
|
|
11
|
+
export { WORKBENCH_RUNTIME_STORE_DEFINITION_KEY } from './store/workbenchRuntimeContext';
|
|
12
|
+
export type { WorkbenchRuntimeStoreDefinition } from './store/workbenchRuntimeContext';
|
|
8
13
|
export type * from '../internal/personal-workbench/vue-types/workbenchRuntime';
|
package/dist/runtime/index.js
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { W as o, c as r, a as t, u as a, b as c } from "../useWorkbenchRuntime-CJLqEtgU.js";
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
o as WORKBENCH_RUNTIME_STORE_DEFINITION_KEY,
|
|
4
|
+
r as createWorkbenchRuntimeScope,
|
|
5
|
+
t as createWorkbenchRuntimeStoreDefinition,
|
|
6
|
+
a as useWorkbenchRuntime,
|
|
7
|
+
c as useWorkbenchRuntimeStore
|
|
5
8
|
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { WorkbenchRuntimePluginApi } from '../../plugin/types';
|
|
2
|
+
export interface WorkbenchRuntimeScope extends WorkbenchRuntimePluginApi {
|
|
3
|
+
dispose(): void;
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* 创建一个新内核实例专属运行时作用域。
|
|
7
|
+
* @param instanceId - 当前工作台实例 ID。
|
|
8
|
+
* @returns 独立 Canvas bus 和可逆清理栈。
|
|
9
|
+
*/
|
|
10
|
+
export declare function createWorkbenchRuntimeScope(instanceId: string): WorkbenchRuntimeScope;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview 工作台 runtime store 注入上下文 - 为每个 HostContext 提供实例级 store definition。
|
|
3
|
+
* @author seadon
|
|
4
|
+
* @created 2026-08-31
|
|
5
|
+
*/
|
|
6
|
+
import type { InjectionKey } from 'vue';
|
|
7
|
+
/**
|
|
8
|
+
* 可被 Vue 注入的 runtime store definition 最小合同。
|
|
9
|
+
* 使用结构化调用签名避免上下文文件反向依赖大型 runtime store 实现。
|
|
10
|
+
*/
|
|
11
|
+
export type WorkbenchRuntimeStoreDefinition = (...args: any[]) => any;
|
|
12
|
+
export declare const WORKBENCH_RUNTIME_STORE_DEFINITION_KEY: InjectionKey<WorkbenchRuntimeStoreDefinition>;
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
export interface WorkbenchRuntimeFacade {
|
|
7
7
|
canvasFocusMode?: boolean;
|
|
8
8
|
drawerOpen?: boolean;
|
|
9
|
+
drawerId?: string;
|
|
9
10
|
drawerWidth?: number;
|
|
10
11
|
imageWorkbench?: boolean;
|
|
11
12
|
studioPanelCollapsed?: boolean;
|
|
@@ -13,4 +14,6 @@ export interface WorkbenchRuntimeFacade {
|
|
|
13
14
|
studioPanelWidth?: number;
|
|
14
15
|
dragging?: boolean;
|
|
15
16
|
startStudioPanelDrag?: (event: PointerEvent) => void;
|
|
17
|
+
openDrawer?: (drawerId: string) => void;
|
|
18
|
+
closeDrawer?: () => void;
|
|
16
19
|
}
|