@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
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.12";
7
+ export declare const WORKBENCH_APP_VERSION = "0.2.14";
8
8
  export declare const WORKBENCH_APP_VERSION_META_NAME = "workbench-app-version";
9
9
  /**
10
10
  * 将当前包版本写入页面 head 的 meta 标签。
@@ -1,4 +1,4 @@
1
- import { c as x, a as z } from "./cardFactory-CoDF-zsR.js";
1
+ import { c as x, a as z } from "./cardFactory-BK3CA-Gn.js";
2
2
  import { defineComponent as V, computed as A, ref as C, watch as F, onBeforeUnmount as j, openBlock as h, createElementBlock as y, createElementVNode as o, toDisplayString as u, createCommentVNode as W, normalizeClass as T } from "vue";
3
3
  const I = "/workbench-card-previews/custom-cards";
4
4
  function U(r) {
@@ -30,6 +30,8 @@ type __VLS_Props = {
30
30
  assistantPersonaKey?: "warm" | "professional" | "reserved" | string;
31
31
  routeImagesAsAttachments?: boolean;
32
32
  showTaskTodoPlan?: boolean;
33
+ /** 系统 ECharts 模板静态资产 CDN base URL,模板属性为 system-echarts-template-cdn-base-url */
34
+ systemEchartsTemplateCdnBaseUrl?: string;
33
35
  /** 对话模式标识,'fde' 或 'runtime',用于按模式筛选对话历史 */
34
36
  chatMode?: string;
35
37
  };
@@ -1,11 +1,28 @@
1
+ /**
2
+ * @fileoverview 系统 ECharts 推荐图标状态 - 校验静态 SVG 路径并隔离单项加载失败
3
+ * @author seadon
4
+ * @created 2026-07-11
5
+ */
6
+ import { type Ref } from 'vue';
7
+ /**
8
+ * 把可信 public path 拼接为系统 ECharts 模板 CDN URL。
9
+ * @param publicPath - 无前导斜杠的可信 public path。
10
+ * @param baseUrl - 归一化前的 CDN base URL。
11
+ * @returns CDN SVG URL。
12
+ */
13
+ export declare function joinSystemEChartsCdnUrl(publicPath: string, baseUrl: string): string;
1
14
  /**
2
15
  * 创建系统 ECharts 推荐图标路径状态。
3
- * @returns 路径解析、失败标记和可见性判断方法。
16
+ * @param options - 可选 CDN base URL 覆盖,测试或独立使用时直接注入;缺省时从 FsesAiChat provide 读取。
17
+ * @returns 路径解析、显示 URL 解析、失败标记和可见性判断方法。
4
18
  */
5
- export declare function useSystemEChartsIcon(): {
19
+ export declare function useSystemEChartsIcon(options?: {
20
+ cdnBaseUrl?: string | Readonly<Ref<string>>;
21
+ }): {
6
22
  isLoaded: (iconPath: string) => boolean;
7
23
  markFailed: (iconPath: string) => void;
8
24
  markLoaded: (iconPath: string) => void;
9
25
  resolvePath: (value: unknown) => string;
26
+ resolveSrc: (value: unknown) => string;
10
27
  shouldShow: (iconPath: string) => boolean;
11
28
  };