@fses/workbench-app 0.3.3 → 0.3.5

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.
@@ -21,14 +21,14 @@
21
21
  {
22
22
  "name": "@fses/ai-chat",
23
23
  "relativePath": "node_modules/@fses/ai-chat",
24
- "treeIntegrity": "sha512-RnU0864GjZLndOtANVWoq+XvUFh9ta0O1QFj09OPI67cSDaTQVyb2UsK+WkT4uBE0BzUarH7WD/YS2OciPqSsA==",
25
- "version": "2.0.3"
24
+ "treeIntegrity": "sha512-iigDTF6HHJJKdotKr2l+D8fxAI21rVoXyY/oavaIzdzlwi/AFBGvfM7od5PDa+2yPtURVRA+F0etph/UQ1XlLg==",
25
+ "version": "2.0.5"
26
26
  },
27
27
  {
28
28
  "name": "@fses/workbench-card",
29
29
  "relativePath": "node_modules/@fses/workbench-card",
30
- "treeIntegrity": "sha512-BUz7hglBzv2HGEy6i8KtiQ5yskB2wlTvIxJcOZ589v2bGyjo5tqGS2Poz1pf7F0acoqnCXIefG9PTO1/PRE1eg==",
31
- "version": "0.4.3"
30
+ "treeIntegrity": "sha512-F6nyxCn32Z35d6pIRpAh3/EpkQdnnPMPRet+GhLstXick6JSSVVZmRBxEEawam173KgueYCYbHE5OdgV83xwsw==",
31
+ "version": "0.4.5"
32
32
  },
33
33
  {
34
34
  "name": "dompurify",
@@ -58,15 +58,15 @@
58
58
  },
59
59
  {
60
60
  "name": "@fses/ai-chat",
61
- "sourceTarballIntegrity": "sha512-SlZtYtd2r+pF4B758SCAqH2B4d48oP0ImBE8Xwlkjar4AOCIQB2eOYVTHFi33P4cizqK4Alx+DcWagGF0EaNYg==",
62
- "treeIntegrity": "sha512-RnU0864GjZLndOtANVWoq+XvUFh9ta0O1QFj09OPI67cSDaTQVyb2UsK+WkT4uBE0BzUarH7WD/YS2OciPqSsA==",
63
- "version": "2.0.3"
61
+ "sourceTarballIntegrity": "sha512-lgfCKlUVmYl9wdVY42TIZsDeuylLEvSuzu4xJoZNC7paxsSQ+1u1qOoccUOfN7d66KooXW66Gx0mGRTwrZnKyg==",
62
+ "treeIntegrity": "sha512-iigDTF6HHJJKdotKr2l+D8fxAI21rVoXyY/oavaIzdzlwi/AFBGvfM7od5PDa+2yPtURVRA+F0etph/UQ1XlLg==",
63
+ "version": "2.0.5"
64
64
  },
65
65
  {
66
66
  "name": "@fses/workbench-card",
67
- "sourceTarballIntegrity": "sha512-1bJxcmB+UhVYtWqWPhY5hfyXWWRaAexUVofakNwhjaSEtvY0yrMYpKhTgxzxe1WFjJr370I4++bBz1I8r6Ci2A==",
68
- "treeIntegrity": "sha512-BUz7hglBzv2HGEy6i8KtiQ5yskB2wlTvIxJcOZ589v2bGyjo5tqGS2Poz1pf7F0acoqnCXIefG9PTO1/PRE1eg==",
69
- "version": "0.4.3"
67
+ "sourceTarballIntegrity": "sha512-DNeIuN8oa+qYNqruQ4PLUV0GDQ00LC/WwXzqdvf2t/W+VEFlouSNL4Mtl1BlUZ2JSkHLMmLBY2dlREllNACJbA==",
68
+ "treeIntegrity": "sha512-F6nyxCn32Z35d6pIRpAh3/EpkQdnnPMPRet+GhLstXick6JSSVVZmRBxEEawam173KgueYCYbHE5OdgV83xwsw==",
69
+ "version": "0.4.5"
70
70
  }
71
71
  ],
72
72
  "omittedOptionalDependencies": [
@@ -80,7 +80,7 @@
80
80
  "schemaVersion": 1,
81
81
  "workbenchApp": {
82
82
  "name": "@fses/workbench-app",
83
- "sourceGitCommit": "3f87f53a58cf185c3ba2e5da8db381d0f0f44055",
84
- "version": "0.3.3"
83
+ "sourceGitCommit": "06b642c916cff63ca2a52b760e325dc12d64ab47",
84
+ "version": "0.3.5"
85
85
  }
86
86
  }
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as ne, ref as _, computed as w, onBeforeUnmount as fe, openBlock as l, createElementBlock as r, createElementVNode as s, toDisplayString as i, unref as o, normalizeClass as x, Fragment as y, renderList as k, createVNode as A, createBlock as M, withCtx as ee, createCommentVNode as P, withModifiers as te } from "vue";
2
2
  import { d as n, D as _e } from "./cardFactory-D5dyYSC3.js";
3
3
  import { ChevronRight as se, Plus as ae } from "lucide-vue-next";
4
- import { b as xe, w as Ce, c as C, S as ie, _ as ve, r as ge, a as $, d as we, e as ye } from "./customCardCatalog-CSmqz_Lg.js";
4
+ import { b as xe, w as Ce, c as C, S as ie, _ as ve, r as ge, a as $, d as we, e as ye } from "./customCardCatalog-B8GSXii6.js";
5
5
  import "@fses/workbench-card";
6
6
  import { CARD_CATEGORIES as oe, CARD_REGISTRY as le } from "@fses/workbench-card/registry";
7
7
  import "@fses/workbench-card/renderers";
8
- import { _ as re, u as ke, a as Ae, b as Se, c as Ie } from "./index-B_FhbxRB.js";
8
+ import { _ as re, u as ke, a as Ae, b as Se, c as Ie } from "./index-B91WNNqp.js";
9
9
  const Ee = { class: "workbench-fde-card-catalog flex h-full min-h-[420px] flex-col gap-3" }, We = { class: "flex items-center justify-between gap-3" }, Fe = { class: "min-w-0" }, De = {
10
10
  class: "truncate text-xs font-semibold text-slate-950",
11
11
  "data-i18n": "FWA.80dc1787571398044"
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as t, openBlock as n, createElementBlock as s } from "vue";
2
- import { u as c, _ as r } from "./index-B_FhbxRB.js";
2
+ import { u as c, _ as r } from "./index-B91WNNqp.js";
3
3
  import { W as a, a as _ } from "./index-DkGYPLLJ.js";
4
4
  const i = /* @__PURE__ */ t({
5
5
  __name: "WorkbenchDiagnosticsFooter",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as g, ref as p, computed as _, openBlock as o, createElementBlock as i, createElementVNode as n, toDisplayString as s, unref as f, Fragment as r, renderList as d, createCommentVNode as k } from "vue";
2
- import { u as m, W as v, _ as b } from "./index-B_FhbxRB.js";
2
+ import { u as m, W as v, _ as b } from "./index-B91WNNqp.js";
3
3
  const h = { class: "workbench-diagnostics-page" }, w = { class: "workbench-diagnostics-page__header" }, y = ["disabled"], C = { class: "workbench-diagnostics-page__summary" }, x = { class: "workbench-diagnostics-page__section" }, D = {
4
4
  key: 0,
5
5
  class: "workbench-diagnostics-page__section"
@@ -7,10 +7,10 @@ import { FsesAiChat as Zb, canShowRecommendationFieldConfig as e1 } from "@fses/
7
7
  import "@fses/ai-chat/chart-card/from-markdown";
8
8
  import { resolveCardRecommendationFieldLabel as Lo } from "@fses/ai-chat/utils/card-recommendation-field-label";
9
9
  import "@fses/ai-chat/utils/card-recommendation-source";
10
- import { _ as cn, r as Tg, D as ol, n as Oo, d as t1, f as n1, s as r1, w as a1, e as $m, g as o1, p as i1, h as s1, i as l1, a as c1, b as d1, j as u1, k as f1, l as m1, m as h1, o as g1, q as p1, t as v1, v as b1, x as y1, u as w1, y as Om, z as _1, A as x1, B as C1, C as k1, E as A1 } from "./index-B_FhbxRB.js";
10
+ import { _ as cn, r as Tg, D as ol, n as Oo, d as t1, f as n1, s as r1, w as a1, e as $m, g as o1, p as i1, h as s1, i as l1, a as c1, b as d1, j as u1, k as f1, l as m1, m as h1, o as g1, q as p1, t as v1, v as b1, x as y1, u as w1, y as Om, z as _1, A as x1, B as C1, C as k1, E as A1 } from "./index-B91WNNqp.js";
11
11
  import "./normalizeWorkbenchExtensions-Ccv3n3fC.js";
12
12
  import "@microsoft/fetch-event-source";
13
- import { S as Eg, T as ot, U as In, V as ul, X as zc, b as If, Y as Dg, Z as gl, _ as S1, $ as Ut, a0 as ce, a1 as lt, a2 as Zn, a3 as jn, a4 as I1, a5 as Qe, a6 as ga, a7 as qc, a8 as pl, a9 as Ff, aa as sd, ab as Lg, ac as jc, ad as ds, ae as il, af as Ua, ag as F1, ah as M1, ai as W1, aj as Hm, ak as Wu, al as Gm, am as zm, an as qm, ao as R1, ap as Ru, aq as B1, ar as wc, as as jm, at as T1, au as E1, av as Ng, aw as Pg, ax as D1, ay as L1, az as N1, aA as P1, aB as Vm, aC as Um, aD as Km, aE as Ym, d as $g, aF as as, aG as ld, aH as Mf, aI as $1, h as O1, aJ as H1, aK as G1, aL as z1, aM as Bu, aN as q1, aO as Xm, aP as j1, aQ as V1, aR as U1, aS as Qm, aT as Og, aU as nf, aV as Hg, aW as K1, aX as Gg, aY as zg, aZ as Y1, a_ as X1, f as qg, a$ as Tu, b0 as Q1, b1 as J1, e as Z1, b2 as ey, b3 as ty, b4 as ny, b5 as ry, b6 as ay, b7 as oy, b8 as iy, b9 as sy, ba as Jm, bb as ly, bc as cy, bd as dy, be as uy, bf as fy, bg as my, bh as hy, bi as gy, bj as py, bk as vy, bl as by, bm as yy, bn as wy } from "./useWorkbenchRuntime-BDVKnPln.js";
13
+ import { S as Eg, T as ot, U as In, V as ul, X as zc, b as If, Y as Dg, Z as gl, _ as S1, $ as Ut, a0 as ce, a1 as lt, a2 as Zn, a3 as jn, a4 as I1, a5 as Qe, a6 as ga, a7 as qc, a8 as pl, a9 as Ff, aa as sd, ab as Lg, ac as jc, ad as ds, ae as il, af as Ua, ag as F1, ah as M1, ai as W1, aj as Hm, ak as Wu, al as Gm, am as zm, an as qm, ao as R1, ap as Ru, aq as B1, ar as wc, as as jm, at as T1, au as E1, av as Ng, aw as Pg, ax as D1, ay as L1, az as N1, aA as P1, aB as Vm, aC as Um, aD as Km, aE as Ym, d as $g, aF as as, aG as ld, aH as Mf, aI as $1, h as O1, aJ as H1, aK as G1, aL as z1, aM as Bu, aN as q1, aO as Xm, aP as j1, aQ as V1, aR as U1, aS as Qm, aT as Og, aU as nf, aV as Hg, aW as K1, aX as Gg, aY as zg, aZ as Y1, a_ as X1, f as qg, a$ as Tu, b0 as Q1, b1 as J1, e as Z1, b2 as ey, b3 as ty, b4 as ny, b5 as ry, b6 as ay, b7 as oy, b8 as iy, b9 as sy, ba as Jm, bb as ly, bc as cy, bd as dy, be as uy, bf as fy, bg as my, bh as hy, bi as gy, bj as py, bk as vy, bl as by, bm as yy, bn as wy } from "./useWorkbenchRuntime-Dhqcfdj5.js";
14
14
  import "socket.io-client";
15
15
  import { workbenchCardShellStyle as _y } from "@fses/workbench-card";
16
16
  import { CARD_CATEGORIES as Zm, CARD_REGISTRY as xy } from "@fses/workbench-card/registry";
@@ -19,7 +19,7 @@ import { i as Fy, d as vl, e as My, p as Wy, R as Ry, f as By, h as qa, n as Ty,
19
19
  import "pinia";
20
20
  import "gridstack/dist/gridstack.css";
21
21
  import { GridStack as Kg } from "gridstack";
22
- import { c as Ma, w as Oy, S as Hy, _ as Gy, a as th, e as zy, d as qy, r as jy, f as Vy } from "./customCardCatalog-CSmqz_Lg.js";
22
+ import { c as Ma, w as Oy, S as Hy, _ as Gy, a as th, e as zy, d as qy, r as jy, f as Vy } from "./customCardCatalog-B8GSXii6.js";
23
23
  function Uy(e) {
24
24
  return e ? "h-full min-h-0" : "h-screen min-h-0 overflow-hidden";
25
25
  }
@@ -21592,7 +21592,10 @@ const ZB = ["data-image-workbench", "data-workbench-style", "data-card-radius",
21592
21592
  return y == null || y.done(!1), Kt(l("FWA.242c1787571497723"), Ft), !1;
21593
21593
  }
21594
21594
  if (!Z)
21595
- return y == null || y.done(!1), Kt(l("FWA.59d91787571291677"), l("FWA.b6641787570497006")), !1;
21595
+ return y == null || y.done(!1), Kt(
21596
+ l("FWA.59d91787571291677"),
21597
+ t.error || l("FWA.b6641787570497006")
21598
+ ), !1;
21596
21599
  const Re = (Z == null ? void 0 : Z.blocks.find((ht) => !j.has(ht.id))) || [...(Z == null ? void 0 : Z.blocks) || []].reverse().find((ht) => {
21597
21600
  var Ft;
21598
21601
  return ((Ft = ht.meta) == null ? void 0 : Ft.capabilityId) === m.capabilityId;
@@ -22678,7 +22681,7 @@ const ZB = ["data-image-workbench", "data-workbench-style", "data-card-radius",
22678
22681
  ], 14, ZB);
22679
22682
  };
22680
22683
  }
22681
- }), kT = /* @__PURE__ */ cn(tT, [["__scopeId", "data-v-31033ed1"]]);
22684
+ }), kT = /* @__PURE__ */ cn(tT, [["__scopeId", "data-v-d5e840b8"]]);
22682
22685
  export {
22683
22686
  kT as default
22684
22687
  };
@@ -4,7 +4,7 @@ import "@fses/workbench-card";
4
4
  import "@fses/workbench-card/registry";
5
5
  import { WorkbenchBlockRenderer as se } from "@fses/workbench-card/renderers";
6
6
  import { s as ne, e as de } from "./normalizeWorkbenchExtensions-Ccv3n3fC.js";
7
- import { _ as ce } from "./index-B_FhbxRB.js";
7
+ import { _ as ce } from "./index-B91WNNqp.js";
8
8
  import { X as ue, AlertCircle as pe, Check as me } from "lucide-vue-next";
9
9
  import { clsx as be } from "clsx";
10
10
  import { twMerge as fe } from "tailwind-merge";
@@ -1,8 +1,8 @@
1
- import { D as s, F as o, G as r, H as t, I as n, A as c, J as l, K as i, L as p, B as A, M as C, N as d, O as m, P as E, Q as u, R as g, S as h, T as R, U as W, V as _, X as k, Y as P, Z as S, $ as b, a0 as T, C as v, p as f, y as M, r as L, e as y, h as O, i as N, s as D, g as I, a1 as B, u as H, w as x } from "./index-B_FhbxRB.js";
1
+ import { D as s, F as o, G as r, H as t, I as n, A as c, J as l, K as i, L as p, B as A, M as C, N as d, O as m, P as E, Q as u, R as g, S as h, T as R, U as W, V as _, X as k, Y as P, Z as S, $ as b, a0 as T, C as v, p as f, y as M, r as L, e as y, h as O, i as N, s as D, g as I, a1 as B, u as H, w as x } from "./index-B91WNNqp.js";
2
2
  import { WORKBENCH_APP_I18N_PROJECTS as K, resolveWorkbenchI18nProjects as F } from "./i18n/index.js";
3
3
  import { D as U, L as V, S as Y, j, k as z, a as X, m as q, n as J, o as Q, h as Z, g as $, f as ee, p as ae, q as se, s as oe, t as re, l as te, u as ne, v as ce, w as le, x as ie, y as pe, r as Ae, z as Ce } from "./cardFactory-D5dyYSC3.js";
4
4
  import { c as me } from "./canvasFacade-ZFqB_i7z.js";
5
- import { D as ue, i as ge, j as he, k as Re, l as We, m as _e, n as ke, o as Pe, c as Se, a as be, p as Te, q as ve, e as fe, s as Me, t as Le, v as ye, w as Oe, x as Ne, y as De, z as Ie, A as Be, B as He, C as xe, E as we, F as Ke, G as Fe, H as Ge, I as Ue, J as Ve, K as Ye, L as je, M as ze, N as Xe, O as qe, P as Je, u as Qe, b as Ze, Q as $e, R as ea } from "./useWorkbenchRuntime-BDVKnPln.js";
5
+ import { D as ue, i as ge, j as he, k as Re, l as We, m as _e, n as ke, o as Pe, c as Se, a as be, p as Te, q as ve, e as fe, s as Me, t as Le, v as ye, w as Oe, x as Ne, y as De, z as Ie, A as Be, B as He, C as xe, E as we, F as Ke, G as Fe, H as Ge, I as Ue, J as Ve, K as Ye, L as je, M as ze, N as Xe, O as qe, P as Je, u as Qe, b as Ze, Q as $e, R as ea } from "./useWorkbenchRuntime-Dhqcfdj5.js";
6
6
  import { W as sa, a as oa, b as ra, c as ta, d as na } from "./normalizeWorkbenchExtensions-Ccv3n3fC.js";
7
7
  export {
8
8
  ue as DEEP_AGENT_TOOL_DISPLAY_NAMES,
@@ -4,10 +4,10 @@ import { d as u, f as Ae, g as _e, h as Re, i as Ve } from "./cardFactory-D5dyYS
4
4
  import { n as Ge, w as ze } from "./normalizeWorkbenchExtensions-Ccv3n3fC.js";
5
5
  import { W as Ce, a as Qe, c as je } from "./index-DkGYPLLJ.js";
6
6
  import { fetchEventSource as Ye } from "@microsoft/fetch-event-source";
7
- import { r as Je, e as Xe, d as Ze, f as et, g as tt, c as rt, a as nt, W as ot, h as st } from "./useWorkbenchRuntime-BDVKnPln.js";
7
+ import { r as Je, e as Xe, d as Ze, f as et, g as tt, c as rt, a as nt, W as ot, h as st } from "./useWorkbenchRuntime-Dhqcfdj5.js";
8
8
  import "./canvasFacade-ZFqB_i7z.js";
9
9
  import { useRoute as at } from "vue-router";
10
- const it = "0.3.3", ce = "workbench-app-version";
10
+ const it = "0.3.5", ce = "workbench-app-version";
11
11
  function ct() {
12
12
  if (typeof document > "u" || document.querySelector(`meta[name="${ce}"]`)) return !1;
13
13
  const e = document.createElement("meta");
@@ -303,7 +303,7 @@ const F = /* @__PURE__ */ M({
303
303
  }, 8, ["adapters", "config", "extensions"]));
304
304
  }
305
305
  }), Ct = "workbench.builtin.card-center", Wt = "workbench.card-center", le = "workbench.card-center.drawer", vt = "workbench.card-center.open", dn = "workbench.card-center.insert-system-card", ln = "workbench.card-center.insert-custom-card", un = "workbench.card-center.config-dialog-change", St = Q(
306
- () => import("./WorkbenchCardCenterDrawer-DMo5dpdg.js")
306
+ () => import("./WorkbenchCardCenterDrawer-Dp5ygyZ3.js")
307
307
  );
308
308
  function Pt() {
309
309
  return {
@@ -331,7 +331,7 @@ function Pt() {
331
331
  version: "1.0.0"
332
332
  };
333
333
  }
334
- const Tt = "workbench.optional.diagnostics", Nt = "workbench.diagnostics.route", Ot = "workbench.diagnostics.refresh", Dt = "workbench.diagnostics.refreshed", ue = Q(() => import("./WorkbenchDiagnosticsPage-o-S-VCI4.js")), Mt = Q(() => import("./WorkbenchDiagnosticsFooter-DsZcWn7r.js"));
334
+ const Tt = "workbench.optional.diagnostics", Nt = "workbench.diagnostics.route", Ot = "workbench.diagnostics.refresh", Dt = "workbench.diagnostics.refreshed", ue = Q(() => import("./WorkbenchDiagnosticsPage-DOa2B34l.js")), Mt = Q(() => import("./WorkbenchDiagnosticsFooter-C0is4UXX.js"));
335
335
  function Bt() {
336
336
  return {
337
337
  id: Tt,
@@ -1047,7 +1047,7 @@ const hn = /* @__PURE__ */ M({
1047
1047
  });
1048
1048
  const o = ze(r.extensions);
1049
1049
  Ve(t.adapters, t.config, o);
1050
- const s = Q(() => import("./Workspace-D9n6dCC6.js"));
1050
+ const s = Q(() => import("./Workspace-CgFYrVQM.js"));
1051
1051
  return (a, i) => (k(), V(J(s), {
1052
1052
  "embed-in-portal": t.embedInPortal
1053
1053
  }, {
@@ -26,6 +26,12 @@ export declare function recommendationDataBindingCandidatesFromItem(value: unkno
26
26
  * @returns 首个有效对象绑定或 undefined。
27
27
  */
28
28
  export declare function recommendationDataBindingFromItem(value: unknown): RecommendationRecord | undefined;
29
+ /**
30
+ * 判断推荐项是否携带可由后端重新执行的可信刷新绑定。
31
+ * @param value - 推荐项或绑定载荷。
32
+ * @returns SQL 绑定含权限上下文,或指标绑定含完整指标身份时返回 true。
33
+ */
34
+ export declare function hasTrustedRecommendationRefreshBinding(value: unknown): boolean;
29
35
  /**
30
36
  * 递归收集无法解析为普通对象的字符串绑定路径。
31
37
  * @param value - 推荐项或 queryResult carrier。
@@ -32,7 +32,7 @@ export declare function isBusinessActionInvocationToolName(toolName: string | un
32
32
  /**
33
33
  * 判断工具名是否会抑制灰度自动推荐卡片。
34
34
  * @param toolName - DeepAgent 工具名。
35
- * @returns 业务动作、知识库、澄清或普通问答工具返回 true。
35
+ * @returns 业务动作、知识库或普通问答工具返回 true。
36
36
  */
37
37
  export declare function isAutoCardRecommendationSuppressingToolName(toolName: string | undefined): boolean;
38
38
  /**
@@ -44,7 +44,7 @@ export declare function turnHasBusinessActionSignals(turn: ConversationTurn): bo
44
44
  /**
45
45
  * 判断当前回合是否不应自动弹出推荐卡片。
46
46
  * @param turn - 工作台对话轮次。
47
- * @returns 业务动作、知识库、澄清、普通问答等非问数主路径返回 true。
47
+ * @returns 业务动作、知识库、结构化澄清状态或普通问答等非问数主路径返回 true。
48
48
  */
49
49
  export declare function turnHasAutoCardRecommendationSuppressingSignals(turn: ConversationTurn): boolean;
50
50
  /**
@@ -1,4 +1,4 @@
1
- import { W as o, c as r, a as t, u as a, b as c } from "../useWorkbenchRuntime-BDVKnPln.js";
1
+ import { W as o, c as r, a as t, u as a, b as c } from "../useWorkbenchRuntime-Dhqcfdj5.js";
2
2
  export {
3
3
  o as WORKBENCH_RUNTIME_STORE_DEFINITION_KEY,
4
4
  r as createWorkbenchRuntimeScope,