@fses/workbench-app 0.2.13 → 0.2.15

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 (26) hide show
  1. package/WORKBENCH-CLOSURE.json +12 -12
  2. package/dist/{Workspace-Zcro-FS-.js → Workspace-_r17G1XR.js} +1057 -1056
  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 +16 -16
  9. package/dist/{index-BPItQZvf.js → index-C0L5xASu.js} +256 -281
  10. package/dist/internal/personal-workbench/lib/deepAgentApi.d.ts +14 -3
  11. package/dist/internal/personal-workbench/lib/echartsTemplateAssets.d.ts +25 -0
  12. package/dist/internal/personal-workbench/lib/workbenchCardRecommendationReturnItemUpsert.d.ts +1 -0
  13. package/dist/runtime/index.js +1 -1
  14. package/dist/style.css +1 -1
  15. package/dist/{useWorkbenchRuntime-DxtdDpY1.js → useWorkbenchRuntime-DLf_FgC7.js} +6256 -6187
  16. package/dist/version.d.ts +1 -1
  17. package/dist/{workbenchCustomComponentRegistry-6GHzavdM.js → workbenchCustomComponentRegistry-Bt94Lgko.js} +1 -1
  18. package/node_modules/@fses/ai-chat/dist/components/FsesAiChat.vue.d.ts +2 -0
  19. package/node_modules/@fses/ai-chat/dist/composables/useSystemEChartsIcon.d.ts +19 -2
  20. package/node_modules/@fses/ai-chat/dist/fses-ai-chat.js +4816 -4789
  21. package/node_modules/@fses/ai-chat/dist/fses-ai-chat.umd.cjs +16 -16
  22. package/node_modules/@fses/ai-chat/dist/plugin.d.ts +7 -2
  23. package/node_modules/@fses/ai-chat/dist/style.css +1 -1
  24. package/node_modules/@fses/ai-chat/package.json +5 -5
  25. package/node_modules/@fses/workbench-card/package.json +1 -1
  26. 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,8 +1,8 @@
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 g, E, F as d, G as _, m as u, p as R, j as P, a as S, c as T, e as M, g as h, s as L, d as v, H as y, w as W } from "./index-BPItQZvf.js";
2
- import { c as f } from "./canvasFacade-B0oy__da.js";
3
- import { D, c as N, d as O, 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, I as le, u as pe, a as Ce, J as Ae, K as me } from "./useWorkbenchRuntime-DxtdDpY1.js";
4
- import { D as Ee, L as de, S as _e, d as ue, e as Re, b as Pe, f as Se, g as Te, h as Me, i as he, j as Le, k as ve, l as ye, m as We, p as ke, n as fe, o as be, q as De, r as Ne, s as Oe } from "./cardFactory-CoDF-zsR.js";
5
- import { W as Ie, a as xe, b as He, c as we, d as Fe } 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-C0L5xASu.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
7
  D as DEEP_AGENT_TOOL_DISPLAY_NAMES,
8
8
  N as DEEP_AGENT_VISIBLE_PROGRESS_TEXTS,
@@ -15,8 +15,8 @@ export {
15
15
  t as WORKBENCH_APP_VERSION,
16
16
  Ie as WORKBENCH_CUSTOM_CARD_CATALOG,
17
17
  xe as WORKBENCH_TEMPLATE_WEATHER_CAPABILITY_ID,
18
- He as WORKBENCH_TEMPLATE_WEATHER_COMPONENT_REF,
19
- we as WORKBENCH_TEMPLATE_WEATHER_PREVIEW_URL,
18
+ we as WORKBENCH_TEMPLATE_WEATHER_COMPONENT_REF,
19
+ He as WORKBENCH_TEMPLATE_WEATHER_PREVIEW_URL,
20
20
  n as WorkbenchAppHost,
21
21
  c as WorkbenchApplication,
22
22
  i as WorkbenchShell,
@@ -32,11 +32,11 @@ export {
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
38
  Fe as customComponentRegistry,
39
- w as deepAgentToolDisplayName,
39
+ H as deepAgentToolDisplayName,
40
40
  Te as defaultLogicalSize,
41
41
  g as defaultWorkbenchAssetAdapter,
42
42
  E as defaultWorkbenchLoggerAdapter,
@@ -44,17 +44,17 @@ export {
44
44
  F as deleteMemoryPermanently,
45
45
  G as ensurePlatformUserSessionReady,
46
46
  K as extractConversationMemoryCandidates,
47
- Me 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,
53
+ z as getMemoryMarkdown,
54
54
  u as isDefaultWorkbenchCardStyleConfig,
55
- z as isPossibleDeepAgentProgressMessagePrefix,
55
+ Y as isPossibleDeepAgentProgressMessagePrefix,
56
56
  ve as isSlotFree,
57
- Y as listAgentMemoryItems,
57
+ j as listAgentMemoryItems,
58
58
  q as listMemoryEvents,
59
59
  ye as logicalRectToBlockLayout,
60
60
  We as logicalToPixel,
@@ -75,8 +75,8 @@ export {
75
75
  S as resolveFdeSkillVisibleColumnTitle,
76
76
  Ne as resolveInitialLogicalRect,
77
77
  T as resolveWorkbenchCompletedStatusContent,
78
- M as resolveWorkbenchCompletedStatusPatch,
79
- h as returnItemPayloadSignature,
78
+ h as resolveWorkbenchCompletedStatusPatch,
79
+ M as returnItemPayloadSignature,
80
80
  oe as reviewConversationMemories,
81
81
  re as saveSimplifiedConversationMemory,
82
82
  L as shouldAutoRefreshWorkbenchDataBinding,