@fses/workbench-app 0.2.11 → 0.2.13
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 +12 -12
- package/dist/{Workspace-BXVcpu9n.js → Workspace-Zcro-FS-.js} +5306 -5216
- package/dist/fses-workbench-app.js +47 -46
- package/dist/{index-D8_xtgM8.js → index-BPItQZvf.js} +3 -3
- package/dist/internal/personal-workbench/fde-skill-cards/runtime/fdeSkillTemplatePageTypes.d.ts +8 -0
- package/dist/internal/personal-workbench/lib/deepAgentQueueState.d.ts +6 -0
- package/dist/internal/personal-workbench/lib/workbenchChatPendingTurn.d.ts +1 -1
- package/dist/runtime/deep-agent/deepAgentProcessGroups.d.ts +7 -0
- package/dist/runtime/index.js +1 -1
- package/dist/{useWorkbenchRuntime-C3RRfCDd.js → useWorkbenchRuntime-DxtdDpY1.js} +4386 -4345
- package/dist/version.d.ts +1 -1
- package/node_modules/@fses/ai-chat/package.json +5 -5
- package/node_modules/@fses/workbench-card/package.json +1 -1
- package/package.json +3 -3
|
@@ -1,33 +1,33 @@
|
|
|
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
|
|
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
2
|
import { c as f } from "./canvasFacade-B0oy__da.js";
|
|
3
|
-
import { D
|
|
4
|
-
import { D as Ee, L as
|
|
5
|
-
import { W as
|
|
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";
|
|
6
6
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
12
|
-
|
|
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
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
Ie as WORKBENCH_CUSTOM_CARD_CATALOG,
|
|
17
|
+
xe as WORKBENCH_TEMPLATE_WEATHER_CAPABILITY_ID,
|
|
18
|
+
He as WORKBENCH_TEMPLATE_WEATHER_COMPONENT_REF,
|
|
19
|
+
we 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
|
-
|
|
24
|
+
O as applyDeepAgentPreambleMessageToTurn,
|
|
25
25
|
B as applyDeepAgentProcessEventToTurn,
|
|
26
26
|
I as approveMemory,
|
|
27
|
-
|
|
27
|
+
ue as canvasLogicalHeight,
|
|
28
28
|
p as cardStyleConfigFromSnapshotVisualConfig,
|
|
29
29
|
Re as clampLogicalRect,
|
|
30
|
-
|
|
30
|
+
Pe as compactLogicalBlocksAfterInsert,
|
|
31
31
|
Se as compactLogicalRows,
|
|
32
32
|
C as createBrowserStorageAdapter,
|
|
33
33
|
f as createCanvasApiFacade,
|
|
@@ -35,61 +35,62 @@ export {
|
|
|
35
35
|
H as createManualMemoryCandidate,
|
|
36
36
|
A as createWorkbenchAppContext,
|
|
37
37
|
m as createWorkbenchAppTestAdapters,
|
|
38
|
-
|
|
38
|
+
Fe as customComponentRegistry,
|
|
39
39
|
w as deepAgentToolDisplayName,
|
|
40
40
|
Te as defaultLogicalSize,
|
|
41
|
-
|
|
42
|
-
|
|
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
|
-
|
|
47
|
+
Me as findAutoInsertLogicalRect,
|
|
48
48
|
he as findFreeLogicalRect,
|
|
49
49
|
U as forgetMemory,
|
|
50
50
|
_ as formatAmount,
|
|
51
51
|
V as getConversationContextSnapshot,
|
|
52
52
|
Le as getLogicalScale,
|
|
53
53
|
j as getMemoryMarkdown,
|
|
54
|
-
|
|
54
|
+
u as isDefaultWorkbenchCardStyleConfig,
|
|
55
55
|
z as isPossibleDeepAgentProgressMessagePrefix,
|
|
56
|
-
|
|
56
|
+
ve as isSlotFree,
|
|
57
57
|
Y as listAgentMemoryItems,
|
|
58
58
|
q as listMemoryEvents,
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
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
|
-
|
|
67
|
+
fe as rectsOverlap,
|
|
68
68
|
$ as refreshConversationContextSnapshot,
|
|
69
69
|
ee as rejectMemory,
|
|
70
|
-
ae as
|
|
71
|
-
|
|
72
|
-
be as
|
|
73
|
-
|
|
74
|
-
|
|
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
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
77
|
+
T as resolveWorkbenchCompletedStatusContent,
|
|
78
|
+
M as resolveWorkbenchCompletedStatusPatch,
|
|
79
|
+
h as returnItemPayloadSignature,
|
|
80
|
+
oe as reviewConversationMemories,
|
|
81
|
+
re as saveSimplifiedConversationMemory,
|
|
82
|
+
L as shouldAutoRefreshWorkbenchDataBinding,
|
|
82
83
|
Oe as snapLogical,
|
|
83
|
-
|
|
84
|
+
te as splitDeepAgentProgressMessage,
|
|
84
85
|
v as syncWorkbenchChatStructuredMessageFields,
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
86
|
+
ne as toggleConversationProcessCollapsed,
|
|
87
|
+
ce as updateMemoryContent,
|
|
88
|
+
ie as updateMemoryMarkdown,
|
|
89
|
+
le as updateMemoryPolicy,
|
|
89
90
|
y as useWorkbenchAppContext,
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
91
|
+
pe as useWorkbenchRuntime,
|
|
92
|
+
Ce as useWorkbenchRuntimeStore,
|
|
93
|
+
Ae as workbenchCanvasBus,
|
|
93
94
|
W as workbenchDataBindingRefreshApi,
|
|
94
|
-
|
|
95
|
+
me as writeCanvasLocalSnapshot
|
|
95
96
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { toRefs as oe, shallowReadonly as W, inject as ae, defineComponent as T, provide as se, openBlock as b, createElementBlock as k, renderSlot as y, createElementVNode as A, normalizeClass as q, normalizeStyle as R, withModifiers as ie, createCommentVNode as P, createVNode as K, Transition as de, withCtx as w, computed as ce, createBlock as G, defineAsyncComponent as le, unref as ue } from "vue";
|
|
2
2
|
import "./canvasFacade-B0oy__da.js";
|
|
3
|
-
import { b as fe } from "./useWorkbenchRuntime-
|
|
3
|
+
import { b as fe } from "./useWorkbenchRuntime-DxtdDpY1.js";
|
|
4
4
|
import "./cardFactory-CoDF-zsR.js";
|
|
5
5
|
import "./workbenchCustomComponentRegistry-6GHzavdM.js";
|
|
6
|
-
const me = "0.2.
|
|
6
|
+
const me = "0.2.13", L = "workbench-app-version";
|
|
7
7
|
function he() {
|
|
8
8
|
if (typeof document > "u" || document.querySelector(`meta[name="${L}"]`)) return !1;
|
|
9
9
|
const e = document.createElement("meta");
|
|
@@ -204,7 +204,7 @@ const lr = /* @__PURE__ */ T({
|
|
|
204
204
|
setup(e) {
|
|
205
205
|
const r = e;
|
|
206
206
|
Re(r.adapters, r.config, r.extensions);
|
|
207
|
-
const n = le(() => import("./Workspace-
|
|
207
|
+
const n = le(() => import("./Workspace-Zcro-FS-.js"));
|
|
208
208
|
return (t, o) => (b(), G(ue(n), {
|
|
209
209
|
"embed-in-portal": r.embedInPortal
|
|
210
210
|
}, {
|
package/dist/internal/personal-workbench/fde-skill-cards/runtime/fdeSkillTemplatePageTypes.d.ts
CHANGED
|
@@ -22,6 +22,8 @@ export interface FdeSkillTemplateRegionSpec {
|
|
|
22
22
|
export type FdeSkillTemplateRegionRenderMode = 'slot_card' | 'html_native_echarts';
|
|
23
23
|
/** 原生 HTML ECharts 数据补丁模式 */
|
|
24
24
|
export type FdeSkillTemplateNativeEchartsPatchMode = 'series_data' | 'option_patch';
|
|
25
|
+
/** 原生 HTML ECharts 分类轴转换:仅在映射显式声明时启用 */
|
|
26
|
+
export type FdeSkillTemplateNativeEchartsCategoryTransform = 'date_day';
|
|
25
27
|
/** 原生 HTML 模板中的运行态目标 */
|
|
26
28
|
export interface FdeSkillTemplateNativeTarget {
|
|
27
29
|
kind: 'echarts';
|
|
@@ -29,6 +31,12 @@ export interface FdeSkillTemplateNativeTarget {
|
|
|
29
31
|
dom_id: string;
|
|
30
32
|
/** 默认 series_data:只替换分类与系列数据,保留原样式 */
|
|
31
33
|
patch_mode?: FdeSkillTemplateNativeEchartsPatchMode;
|
|
34
|
+
/** 可选分类轴转换,例如将时间戳折成日期并按日汇总 */
|
|
35
|
+
category_transform?: FdeSkillTemplateNativeEchartsCategoryTransform;
|
|
36
|
+
/** 可选分类展示顺序;用于真实数据缺少 0 值分类时仍保持原模板口径 */
|
|
37
|
+
category_order?: string[];
|
|
38
|
+
/** true 时将 category_order 中缺失的分类补 0 */
|
|
39
|
+
category_fill_missing?: boolean;
|
|
32
40
|
}
|
|
33
41
|
/**
|
|
34
42
|
* MD 卡序号 → 模板区域映射。
|
|
@@ -58,6 +58,12 @@ export interface DeepAgentQueueSnapshot extends VersionedDeepAgentQueueSnapshot
|
|
|
58
58
|
active: DeepAgentQueueSnapshotRun | null;
|
|
59
59
|
pending: DeepAgentQueueSnapshotRun[];
|
|
60
60
|
}
|
|
61
|
+
/**
|
|
62
|
+
* 判断后端状态是否表示 run 已对用户终止、但仍在等待 worker 清理。
|
|
63
|
+
* @param status - 后端 run 状态。
|
|
64
|
+
* @returns 处于后端清理阶段时返回 true。
|
|
65
|
+
*/
|
|
66
|
+
export declare function isDeepAgentBackendCleanupStatus(status: string): boolean;
|
|
61
67
|
export interface DeepAgentQueueProjectedTurn {
|
|
62
68
|
id: string;
|
|
63
69
|
conversationId: string;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @created 2026-05-31
|
|
5
5
|
*/
|
|
6
6
|
import type { ConversationTurn } from '@fses/workbench-app/types';
|
|
7
|
-
export declare const WORKBENCH_CHAT_IDLE_TIMEOUT_MS =
|
|
7
|
+
export declare const WORKBENCH_CHAT_IDLE_TIMEOUT_MS = 180000;
|
|
8
8
|
export interface WorkbenchChatPendingTurnMatcherInput {
|
|
9
9
|
conversationId?: string;
|
|
10
10
|
input: string;
|
|
@@ -81,4 +81,11 @@ export declare function applyDeepAgentPreambleMessageToTurn(turn: ConversationTu
|
|
|
81
81
|
* @returns 更新后的会话轮次
|
|
82
82
|
*/
|
|
83
83
|
export declare function removeTemporaryPreambleProcessGroup(turn: ConversationTurn, sourceMessageId: string | undefined): ConversationTurn;
|
|
84
|
+
/**
|
|
85
|
+
* 删除由指定 assistant 消息生成的临时或正式过程组。
|
|
86
|
+
* @param turn - 当前会话轮次
|
|
87
|
+
* @param sourceMessageId - 被提升为 final 的消息 ID
|
|
88
|
+
* @returns 删除匹配过程组后的会话轮次
|
|
89
|
+
*/
|
|
90
|
+
export declare function removeDeepAgentMessageProcessGroups(turn: ConversationTurn, sourceMessageId: string | undefined): ConversationTurn;
|
|
84
91
|
export {};
|
package/dist/runtime/index.js
CHANGED