@fses/workbench-app 0.2.12 → 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.
Files changed (30) hide show
  1. package/WORKBENCH-CLOSURE.json +12 -12
  2. package/dist/{Workspace-DpiZ5Yap.js → Workspace-BJlQDkH9.js} +5574 -5483
  3. package/dist/canvas/api/index.js +1 -1
  4. package/dist/{canvasFacade-B0oy__da.js → canvasFacade-B2EHgdqA.js} +1 -1
  5. package/dist/{cardFactory-CoDF-zsR.js → cardFactory-BK3CA-Gn.js} +240 -189
  6. package/dist/config/workbenchAppConfig.d.ts +5 -0
  7. package/dist/extensions/index.js +1 -1
  8. package/dist/fses-workbench-app.js +52 -51
  9. package/dist/{index-BsT_8HEV.js → index-CBS49_nQ.js} +256 -281
  10. package/dist/internal/personal-workbench/fde-skill-cards/runtime/fdeSkillTemplatePageTypes.d.ts +8 -0
  11. package/dist/internal/personal-workbench/lib/deepAgentApi.d.ts +14 -3
  12. package/dist/internal/personal-workbench/lib/deepAgentQueueState.d.ts +6 -0
  13. package/dist/internal/personal-workbench/lib/echartsTemplateAssets.d.ts +25 -0
  14. package/dist/internal/personal-workbench/lib/workbenchCardRecommendationReturnItemUpsert.d.ts +1 -0
  15. package/dist/internal/personal-workbench/lib/workbenchChatPendingTurn.d.ts +1 -1
  16. package/dist/runtime/deep-agent/deepAgentProcessGroups.d.ts +7 -0
  17. package/dist/runtime/index.js +1 -1
  18. package/dist/style.css +1 -1
  19. package/dist/{useWorkbenchRuntime-Ct0HRmOA.js → useWorkbenchRuntime-DLf_FgC7.js} +6305 -6211
  20. package/dist/version.d.ts +1 -1
  21. package/dist/{workbenchCustomComponentRegistry-6GHzavdM.js → workbenchCustomComponentRegistry-Bt94Lgko.js} +1 -1
  22. package/node_modules/@fses/ai-chat/dist/components/FsesAiChat.vue.d.ts +2 -0
  23. package/node_modules/@fses/ai-chat/dist/composables/useSystemEChartsIcon.d.ts +19 -2
  24. package/node_modules/@fses/ai-chat/dist/fses-ai-chat.js +4816 -4789
  25. package/node_modules/@fses/ai-chat/dist/fses-ai-chat.umd.cjs +16 -16
  26. package/node_modules/@fses/ai-chat/dist/plugin.d.ts +7 -2
  27. package/node_modules/@fses/ai-chat/dist/style.css +1 -1
  28. package/node_modules/@fses/ai-chat/package.json +3 -3
  29. package/node_modules/@fses/workbench-card/package.json +1 -1
  30. package/package.json +3 -3
@@ -4,6 +4,10 @@
4
4
  * @created 2026-08-11
5
5
  */
6
6
  import type { RoleId } from '@fses/workbench-card/types';
7
+ export interface WorkbenchAppAssetsConfig {
8
+ /** ECharts 模板静态资产 CDN base URL,未配置时前端继续使用同源 public path。 */
9
+ echartsTemplateCdnBaseUrl?: string;
10
+ }
7
11
  export interface WorkbenchAppBrandConfig {
8
12
  logoUrl?: string;
9
13
  name?: string;
@@ -32,6 +36,7 @@ export interface WorkbenchAppRouteConfig {
32
36
  }) => string;
33
37
  }
34
38
  export interface WorkbenchAppConfig {
39
+ assets?: WorkbenchAppAssetsConfig;
35
40
  brand?: WorkbenchAppBrandConfig;
36
41
  defaults?: WorkbenchAppDefaults;
37
42
  features?: WorkbenchAppFeatureFlags;
@@ -1,4 +1,4 @@
1
- import { W as T, a as R, b as A, c as C, d as W } from "../workbenchCustomComponentRegistry-6GHzavdM.js";
1
+ import { W as T, a as R, b as A, c as C, d as W } from "../workbenchCustomComponentRegistry-Bt94Lgko.js";
2
2
  export {
3
3
  T as WORKBENCH_CUSTOM_CARD_CATALOG,
4
4
  R as WORKBENCH_TEMPLATE_WEATHER_CAPABILITY_ID,
@@ -1,95 +1,96 @@
1
- import { D as s, q as o, t as r, u as t, k as n, v as c, x as i, y as l, l as p, z as C, A, B as m, C as E, E as g, F as d, G as _, m as R, p as u, j as S, a as T, c as P, e as h, g as L, s as M, d as v, H as y, w as W } from "./index-BsT_8HEV.js";
2
- import { c as f } from "./canvasFacade-B0oy__da.js";
3
- import { D as N, c as O, d as D, e as B, f as I, g as x, h as H, i as w, j as F, k as G, l as K, m as U, n as V, o as j, p as z, q as Y, r as q, s as X, t as J, v as Z, w as Q, x as $, y as ee, z as ae, A as se, B as oe, C as re, E as te, F as ne, G as ce, H as ie, u as le, a as pe, I as Ce, J as Ae } from "./useWorkbenchRuntime-Ct0HRmOA.js";
4
- import { D as Ee, L as ge, S as de, d as _e, e as Re, b as ue, f as Se, g as Te, h as Pe, i as he, j as Le, k as Me, l as ve, m as ye, p as We, n as ke, o as fe, q as be, r as Ne, s as Oe } from "./cardFactory-CoDF-zsR.js";
5
- import { W as Be, a as Ie, b as xe, c as He, d as we } from "./workbenchCustomComponentRegistry-6GHzavdM.js";
1
+ import { D as s, k as o, l as r, m as t, g as n, o as c, q as i, t as l, h as p, u as C, v as A, x as m, y as g, z as E, A as d, B as _, i as u, p as R, e as P, r as S, a as T, c as h, d as M, s as L, b as v, C as y, w as W } from "./index-CBS49_nQ.js";
2
+ import { c as f } from "./canvasFacade-B2EHgdqA.js";
3
+ import { D, c as N, d as O, e as B, f as I, g as x, h as w, i as H, j as F, k as G, l as K, m as U, n as V, o as z, p as Y, q as j, r as q, s as X, t as J, v as Z, w as Q, x as $, y as ee, z as ae, A as se, B as oe, C as re, E as te, F as ne, G as ce, H as ie, I as le, u as pe, a as Ce, J as Ae, K as me } from "./useWorkbenchRuntime-DLf_FgC7.js";
4
+ import { D as Ee, L as de, S as _e, e as ue, f as Re, b as Pe, g as Se, h as Te, i as he, j as Me, k as Le, m as ve, l as ye, n as We, p as ke, o as fe, q as be, s as De, r as Ne, t as Oe } from "./cardFactory-BK3CA-Gn.js";
5
+ import { W as Ie, a as xe, b as we, c as He, d as Fe } from "./workbenchCustomComponentRegistry-Bt94Lgko.js";
6
6
  export {
7
- N as DEEP_AGENT_TOOL_DISPLAY_NAMES,
8
- O as DEEP_AGENT_VISIBLE_PROGRESS_TEXTS,
7
+ D as DEEP_AGENT_TOOL_DISPLAY_NAMES,
8
+ N as DEEP_AGENT_VISIBLE_PROGRESS_TEXTS,
9
9
  Ee as DEFAULT_LOGICAL_CARD_PRESET_SIZES,
10
10
  s as DEFAULT_WORKBENCH_CARD_STYLE_CONFIG,
11
- ge as LOGICAL_CANVAS_COLUMNS,
12
- de as SNAP_UNIT,
11
+ de as LOGICAL_CANVAS_COLUMNS,
12
+ _e as SNAP_UNIT,
13
13
  o as WORKBENCH_APP_CONTEXT_KEY,
14
14
  r as WORKBENCH_APP_PACKAGE_NAME,
15
15
  t as WORKBENCH_APP_VERSION,
16
- Be as WORKBENCH_CUSTOM_CARD_CATALOG,
17
- Ie as WORKBENCH_TEMPLATE_WEATHER_CAPABILITY_ID,
18
- xe as WORKBENCH_TEMPLATE_WEATHER_COMPONENT_REF,
16
+ Ie as WORKBENCH_CUSTOM_CARD_CATALOG,
17
+ xe as WORKBENCH_TEMPLATE_WEATHER_CAPABILITY_ID,
18
+ we as WORKBENCH_TEMPLATE_WEATHER_COMPONENT_REF,
19
19
  He as WORKBENCH_TEMPLATE_WEATHER_PREVIEW_URL,
20
20
  n as WorkbenchAppHost,
21
21
  c as WorkbenchApplication,
22
22
  i as WorkbenchShell,
23
23
  l as WorkbenchWorkspaceCore,
24
- D as applyDeepAgentPreambleMessageToTurn,
24
+ O as applyDeepAgentPreambleMessageToTurn,
25
25
  B as applyDeepAgentProcessEventToTurn,
26
26
  I as approveMemory,
27
- _e as canvasLogicalHeight,
27
+ ue as canvasLogicalHeight,
28
28
  p as cardStyleConfigFromSnapshotVisualConfig,
29
29
  Re as clampLogicalRect,
30
- ue as compactLogicalBlocksAfterInsert,
30
+ Pe as compactLogicalBlocksAfterInsert,
31
31
  Se as compactLogicalRows,
32
32
  C as createBrowserStorageAdapter,
33
33
  f as createCanvasApiFacade,
34
34
  x as createConversationMemoryCandidate,
35
- H as createManualMemoryCandidate,
35
+ w as createManualMemoryCandidate,
36
36
  A as createWorkbenchAppContext,
37
37
  m as createWorkbenchAppTestAdapters,
38
- we as customComponentRegistry,
39
- w as deepAgentToolDisplayName,
38
+ Fe as customComponentRegistry,
39
+ H as deepAgentToolDisplayName,
40
40
  Te as defaultLogicalSize,
41
- E as defaultWorkbenchAssetAdapter,
42
- g as defaultWorkbenchLoggerAdapter,
41
+ g as defaultWorkbenchAssetAdapter,
42
+ E as defaultWorkbenchLoggerAdapter,
43
43
  d as defaultWorkbenchMessageAdapter,
44
44
  F as deleteMemoryPermanently,
45
45
  G as ensurePlatformUserSessionReady,
46
46
  K as extractConversationMemoryCandidates,
47
- Pe as findAutoInsertLogicalRect,
48
- he as findFreeLogicalRect,
47
+ he as findAutoInsertLogicalRect,
48
+ Me as findFreeLogicalRect,
49
49
  U as forgetMemory,
50
50
  _ as formatAmount,
51
51
  V as getConversationContextSnapshot,
52
52
  Le as getLogicalScale,
53
- j as getMemoryMarkdown,
54
- R as isDefaultWorkbenchCardStyleConfig,
55
- z as isPossibleDeepAgentProgressMessagePrefix,
56
- Me as isSlotFree,
57
- Y as listAgentMemoryItems,
53
+ z as getMemoryMarkdown,
54
+ u as isDefaultWorkbenchCardStyleConfig,
55
+ Y as isPossibleDeepAgentProgressMessagePrefix,
56
+ ve as isSlotFree,
57
+ j as listAgentMemoryItems,
58
58
  q as listMemoryEvents,
59
- ve as logicalRectToBlockLayout,
60
- ye as logicalToPixel,
61
- We as pixelToLogical,
62
- u as placeCardRecommendationDraftMessagesAfterTurnReplies,
59
+ ye as logicalRectToBlockLayout,
60
+ We as logicalToPixel,
61
+ ke as pixelToLogical,
62
+ R as placeCardRecommendationDraftMessagesAfterTurnReplies,
63
63
  X as previewConversationMemoryCandidates,
64
64
  J as previewMemoryRecall,
65
65
  Z as previewRecentConversationMemory,
66
66
  Q as readCanvasLocalSnapshot,
67
- ke as rectsOverlap,
67
+ fe as rectsOverlap,
68
68
  $ as refreshConversationContextSnapshot,
69
69
  ee as rejectMemory,
70
- ae as removeTemporaryPreambleProcessGroup,
71
- fe as repackLogicalBlocksPreserveSize,
72
- be as resolveAutoInsertLogicalRect,
73
- S as resolveBrowserWorkbenchEntryParams,
74
- T as resolveFdeSkillVisibleColumnTitle,
70
+ ae as removeDeepAgentMessageProcessGroups,
71
+ se as removeTemporaryPreambleProcessGroup,
72
+ be as repackLogicalBlocksPreserveSize,
73
+ De as resolveAutoInsertLogicalRect,
74
+ P as resolveBrowserWorkbenchEntryParams,
75
+ S as resolveFdeSkillVisibleColumnTitle,
75
76
  Ne as resolveInitialLogicalRect,
76
- P as resolveWorkbenchCompletedStatusContent,
77
+ T as resolveWorkbenchCompletedStatusContent,
77
78
  h as resolveWorkbenchCompletedStatusPatch,
78
- L as returnItemPayloadSignature,
79
- se as reviewConversationMemories,
80
- oe as saveSimplifiedConversationMemory,
81
- M as shouldAutoRefreshWorkbenchDataBinding,
79
+ M as returnItemPayloadSignature,
80
+ oe as reviewConversationMemories,
81
+ re as saveSimplifiedConversationMemory,
82
+ L as shouldAutoRefreshWorkbenchDataBinding,
82
83
  Oe as snapLogical,
83
- re as splitDeepAgentProgressMessage,
84
+ te as splitDeepAgentProgressMessage,
84
85
  v as syncWorkbenchChatStructuredMessageFields,
85
- te as toggleConversationProcessCollapsed,
86
- ne as updateMemoryContent,
87
- ce as updateMemoryMarkdown,
88
- ie as updateMemoryPolicy,
86
+ ne as toggleConversationProcessCollapsed,
87
+ ce as updateMemoryContent,
88
+ ie as updateMemoryMarkdown,
89
+ le as updateMemoryPolicy,
89
90
  y as useWorkbenchAppContext,
90
- le as useWorkbenchRuntime,
91
- pe as useWorkbenchRuntimeStore,
92
- Ce as workbenchCanvasBus,
91
+ pe as useWorkbenchRuntime,
92
+ Ce as useWorkbenchRuntimeStore,
93
+ Ae as workbenchCanvasBus,
93
94
  W as workbenchDataBindingRefreshApi,
94
- Ae as writeCanvasLocalSnapshot
95
+ me as writeCanvasLocalSnapshot
95
96
  };