@fses/workbench-app 0.2.21 → 0.3.1
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-BxRFAZDG.js → WorkbenchCardCenterDrawer-CNSq1coL.js} +2 -2
- package/dist/{WorkbenchDiagnosticsFooter-BXQJLBMu.js → WorkbenchDiagnosticsFooter-DlRWlL9q.js} +1 -1
- package/dist/{WorkbenchDiagnosticsPage-OdYSvQ2O.js → WorkbenchDiagnosticsPage-CeXZkp9k.js} +1 -1
- package/dist/{Workspace-C4Co3cIc.js → Workspace-562qQHC3.js} +3953 -3956
- package/dist/{customCardCatalog-D8woQgB9.js → customCardCatalog-DhntP1Sk.js} +1 -1
- package/dist/fses-workbench-app.js +2 -2
- package/dist/{index-C1Y_OWV9.js → index-p9gr-rM0.js} +5 -5
- package/dist/internal/personal-workbench/lib/workbenchApi.d.ts +7 -0
- package/dist/internal/personal-workbench/lib/workbenchChatHistoryReplay.d.ts +6 -0
- package/dist/internal/personal-workbench/vue-types/workbenchRuntime.d.ts +3 -0
- package/dist/runtime/index.js +1 -1
- package/dist/style.css +1 -1
- package/dist/{useWorkbenchRuntime-CJLqEtgU.js → useWorkbenchRuntime-DJujrl4a.js} +3859 -3815
- package/dist/version.d.ts +1 -1
- package/node_modules/@fses/ai-chat/dist/fses-ai-chat.js +4408 -4393
- package/node_modules/@fses/ai-chat/dist/fses-ai-chat.umd.cjs +15 -15
- 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 +6193 -6130
- package/node_modules/@fses/workbench-card/dist/renderers/chart/types.d.ts +7 -0
- package/node_modules/@fses/workbench-card/dist/renderers/native/nativeBindings.d.ts +1 -0
- package/node_modules/@fses/workbench-card/dist/renderers/useWorkbenchBlockRendererBindings.d.ts +5 -1
- package/node_modules/@fses/workbench-card/dist/style.css +1 -1
- package/node_modules/@fses/workbench-card/dist/types/block.d.ts +9 -0
- package/node_modules/@fses/workbench-card/package.json +1 -1
- package/node_modules/@fses/workbench-card/src/renderers/WorkbenchBlockRenderer.vue +11 -3
- package/node_modules/@fses/workbench-card/src/renderers/chart/types.ts +7 -0
- package/node_modules/@fses/workbench-card/src/renderers/native/nativeBindings.ts +14 -0
- package/node_modules/@fses/workbench-card/src/renderers/useWorkbenchBlockRendererBindings.ts +78 -2
- package/node_modules/@fses/workbench-card/src/styles/workbench-card.css +98 -0
- package/node_modules/@fses/workbench-card/src/types/block.ts +9 -0
- package/package.json +3 -3
|
@@ -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-
|
|
7
|
+
import { _ as ce } from "./index-p9gr-rM0.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-
|
|
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-p9gr-rM0.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-
|
|
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-DJujrl4a.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-
|
|
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-DJujrl4a.js";
|
|
8
8
|
import "./canvasFacade-ZFqB_i7z.js";
|
|
9
9
|
import { useRoute as at } from "vue-router";
|
|
10
|
-
const it = "0.
|
|
10
|
+
const it = "0.3.1", 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-
|
|
306
|
+
() => import("./WorkbenchCardCenterDrawer-CNSq1coL.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-
|
|
334
|
+
const Tt = "workbench.optional.diagnostics", Nt = "workbench.diagnostics.route", Ot = "workbench.diagnostics.refresh", Dt = "workbench.diagnostics.refreshed", ue = Q(() => import("./WorkbenchDiagnosticsPage-CeXZkp9k.js")), Mt = Q(() => import("./WorkbenchDiagnosticsFooter-DlRWlL9q.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-
|
|
1050
|
+
const s = Q(() => import("./Workspace-562qQHC3.js"));
|
|
1051
1051
|
return (a, i) => (k(), V(J(s), {
|
|
1052
1052
|
"embed-in-portal": t.embedInPortal
|
|
1053
1053
|
}, {
|
|
@@ -421,6 +421,10 @@ export interface WorkbenchDataBindingQueryResult {
|
|
|
421
421
|
type: string;
|
|
422
422
|
}>;
|
|
423
423
|
rowCount?: number;
|
|
424
|
+
pageIndex?: number;
|
|
425
|
+
pageSize?: number;
|
|
426
|
+
total?: number;
|
|
427
|
+
hasMore?: boolean;
|
|
424
428
|
latencyMs?: number;
|
|
425
429
|
errorCode?: string;
|
|
426
430
|
errorMessage?: string;
|
|
@@ -481,6 +485,9 @@ export declare function queryWorkbenchDataBinding(context: Pick<WorkbenchContext
|
|
|
481
485
|
semanticAppId?: string;
|
|
482
486
|
filterValues?: Record<string, unknown>;
|
|
483
487
|
metricFilterBindings?: MetricFilterBinding[];
|
|
488
|
+
pageIndex?: number;
|
|
489
|
+
pageSize?: number;
|
|
490
|
+
needCount?: boolean;
|
|
484
491
|
}, transport?: WorkbenchApiTransportOptions): Promise<WorkbenchDataBindingQueryResult>;
|
|
485
492
|
/**
|
|
486
493
|
* 更新已有运行态指标卡的 FDE 筛选绑定。
|
|
@@ -17,6 +17,12 @@ export declare function workbenchChatInterleavedTurnMessages(turn: ConversationT
|
|
|
17
17
|
* @returns Interleaved history messages with deferred recommendation rendering.
|
|
18
18
|
*/
|
|
19
19
|
export declare function restoredWorkbenchChatInterleavedTurnMessages(turn: ConversationTurn): FsesAiChatTransportMessageInput[];
|
|
20
|
+
/**
|
|
21
|
+
* 构建历史恢复时用于替换或补回的可见回答消息。
|
|
22
|
+
* @param turn - 已恢复的工作台会话轮次。
|
|
23
|
+
* @returns 多结果分段回答,或该轮唯一的最终回答;无可见回答时返回空数组。
|
|
24
|
+
*/
|
|
25
|
+
export declare function restoredWorkbenchChatAnswerMessages(turn: ConversationTurn): FsesAiChatTransportMessageInput[];
|
|
20
26
|
/**
|
|
21
27
|
* 从历史会话轮次恢复聊天区可展示的过程与结构化产物。
|
|
22
28
|
* @param turns - 已恢复的工作台会话轮次。
|
|
@@ -155,6 +155,9 @@ export interface WorkbenchRuntimeActions {
|
|
|
155
155
|
businessWording?: string;
|
|
156
156
|
bindingId?: string;
|
|
157
157
|
filterValues?: Record<string, unknown>;
|
|
158
|
+
pageIndex?: number;
|
|
159
|
+
pageSize?: number;
|
|
160
|
+
needCount?: boolean;
|
|
158
161
|
}) => Promise<WorkbenchDataBindingQueryResult>;
|
|
159
162
|
rebindCardDataBinding: (blockId: string, options: {
|
|
160
163
|
businessWording: string;
|
package/dist/runtime/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { W as o, c as r, a as t, u as a, b as c } from "../useWorkbenchRuntime-
|
|
1
|
+
import { W as o, c as r, a as t, u as a, b as c } from "../useWorkbenchRuntime-DJujrl4a.js";
|
|
2
2
|
export {
|
|
3
3
|
o as WORKBENCH_RUNTIME_STORE_DEFINITION_KEY,
|
|
4
4
|
r as createWorkbenchRuntimeScope,
|