@fses/workbench-app 0.3.9 → 0.3.10
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/{WorkbenchCardCenterDrawer-ZdHSYtIc.js → WorkbenchCardCenterDrawer-CeH7HX5L.js} +2 -2
- package/dist/{WorkbenchDiagnosticsFooter-cARmVMuz.js → WorkbenchDiagnosticsFooter-Bpd1oWL7.js} +1 -1
- package/dist/{WorkbenchDiagnosticsPage-BKL7_58M.js → WorkbenchDiagnosticsPage-U6SNTAbv.js} +1 -1
- package/dist/{Workspace-D3kNWtQL.js → Workspace-Ddy-6I46.js} +3 -3
- package/dist/{customCardCatalog-DCYv8PhV.js → customCardCatalog-D_NgCKca.js} +1 -1
- package/dist/fses-workbench-app.js +2 -2
- package/dist/{index-DyaGO03n.js → index-DhDmdkzy.js} +6 -5
- package/dist/internal/personal-workbench/lib/actionSubmissionFollowUp.d.ts +15 -0
- package/dist/runtime/conversation/workbenchChatMessageOrdering.d.ts +1 -0
- package/dist/runtime/deep-agent/deepAgentProcessGroups.d.ts +0 -5
- package/dist/runtime/deep-agent/deepAgentToolDisplayName.d.ts +6 -3
- package/dist/runtime/deep-agent/deepAgentToolMessages.d.ts +30 -0
- package/dist/runtime/index.js +1 -1
- package/dist/style.css +1 -1
- package/dist/{useWorkbenchRuntime-R27CPK5L.js → useWorkbenchRuntime-BV0oNt2a.js} +4376 -4296
- package/dist/version.d.ts +1 -1
- package/node_modules/@fses/ai-chat/dist/composables/types.d.ts +5 -0
- package/node_modules/@fses/ai-chat/dist/fses-ai-chat.js +1631 -1624
- package/node_modules/@fses/ai-chat/dist/fses-ai-chat.umd.cjs +17 -17
- package/node_modules/@fses/ai-chat/dist/style.css +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
package/WORKBENCH-CLOSURE.json
CHANGED
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
{
|
|
22
22
|
"name": "@fses/ai-chat",
|
|
23
23
|
"relativePath": "node_modules/@fses/ai-chat",
|
|
24
|
-
"treeIntegrity": "sha512-
|
|
25
|
-
"version": "2.0.
|
|
24
|
+
"treeIntegrity": "sha512-ZWMxIA34s3X0sgZuT4zmnAHAvEHL6CjWh6DCv+LD5p1HoxvFyFYU0NheqX1L+raeJ76Ii17KaJr204I3T8Aqmw==",
|
|
25
|
+
"version": "2.0.10"
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
"name": "@fses/workbench-card",
|
|
29
29
|
"relativePath": "node_modules/@fses/workbench-card",
|
|
30
|
-
"treeIntegrity": "sha512-
|
|
31
|
-
"version": "0.4.
|
|
30
|
+
"treeIntegrity": "sha512-q9yupvmWhYLkcC9aK4KcU5cMGpHn9sr/zp8VVLFB7SSklALvHXpgXfJ5qI8mb2/6UlszbxdTiaumBuwhdb0/Tg==",
|
|
31
|
+
"version": "0.4.10"
|
|
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-
|
|
62
|
-
"treeIntegrity": "sha512-
|
|
63
|
-
"version": "2.0.
|
|
61
|
+
"sourceTarballIntegrity": "sha512-IA6rTwcWialy/bfI8Q+f1+bAzRLcd4juvGU8rYsWrGZ+2Yvfe9cPX6DEoFVtWTSQXB3KHCV6vPwvgW8xjodaTA==",
|
|
62
|
+
"treeIntegrity": "sha512-ZWMxIA34s3X0sgZuT4zmnAHAvEHL6CjWh6DCv+LD5p1HoxvFyFYU0NheqX1L+raeJ76Ii17KaJr204I3T8Aqmw==",
|
|
63
|
+
"version": "2.0.10"
|
|
64
64
|
},
|
|
65
65
|
{
|
|
66
66
|
"name": "@fses/workbench-card",
|
|
67
|
-
"sourceTarballIntegrity": "sha512-
|
|
68
|
-
"treeIntegrity": "sha512-
|
|
69
|
-
"version": "0.4.
|
|
67
|
+
"sourceTarballIntegrity": "sha512-efStfgSGIyGqDQNgGf7qzeJCU5Tw7cUsdZTeR1D5CEChaiRqkNgu1TlhB2qssOA9lq8gsoRrf+9uIKf2dyUmag==",
|
|
68
|
+
"treeIntegrity": "sha512-q9yupvmWhYLkcC9aK4KcU5cMGpHn9sr/zp8VVLFB7SSklALvHXpgXfJ5qI8mb2/6UlszbxdTiaumBuwhdb0/Tg==",
|
|
69
|
+
"version": "0.4.10"
|
|
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": "
|
|
84
|
-
"version": "0.3.
|
|
83
|
+
"sourceGitCommit": "3cedf1da7901188bd9b618c8291c115fc328419e",
|
|
84
|
+
"version": "0.3.10"
|
|
85
85
|
}
|
|
86
86
|
}
|
package/dist/{WorkbenchCardCenterDrawer-ZdHSYtIc.js → WorkbenchCardCenterDrawer-CeH7HX5L.js}
RENAMED
|
@@ -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-Bmt-0aZg.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-
|
|
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-D_NgCKca.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-
|
|
8
|
+
import { _ as re, u as ke, a as Ae, b as Se, c as Ie } from "./index-DhDmdkzy.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"
|
package/dist/{WorkbenchDiagnosticsFooter-cARmVMuz.js → WorkbenchDiagnosticsFooter-Bpd1oWL7.js}
RENAMED
|
@@ -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-
|
|
2
|
+
import { u as c, _ as r } from "./index-DhDmdkzy.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-
|
|
2
|
+
import { u as m, W as v, _ as b } from "./index-DhDmdkzy.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 t1, canShowRecommendationFieldConfig as n1 } 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 un, r as Tg, D as il, n as Oo, d as r1, f as a1, s as o1, w as i1, e as Om, g as s1, p as l1, h as c1, i as d1, a as u1, b as f1, j as m1, k as h1, l as g1, m as p1, o as v1, q as b1, t as y1, v as w1, x as _1, u as x1, y as Hm, z as C1, A as k1, B as A1, C as S1, E as I1 } from "./index-
|
|
10
|
+
import { _ as un, r as Tg, D as il, n as Oo, d as r1, f as a1, s as o1, w as i1, e as Om, g as s1, p as l1, h as c1, i as d1, a as u1, b as f1, j as m1, k as h1, l as g1, m as p1, o as v1, q as b1, t as y1, v as w1, x as _1, u as x1, y as Hm, z as C1, A as k1, B as A1, C as S1, E as I1 } from "./index-DhDmdkzy.js";
|
|
11
11
|
import "./normalizeWorkbenchExtensions-Ve5GcdIX.js";
|
|
12
12
|
import "@microsoft/fetch-event-source";
|
|
13
|
-
import { S as Eg, T as st, U as In, V as fl, X as jc, b as Ff, Y as Dg, Z as vl, _ as F1, $ as Vt, a0 as le, a1 as dt, a2 as tr, a3 as Un, a4 as M1, a5 as Ze, a6 as ga, a7 as Vc, a8 as bl, a9 as Mf, aa as cd, ab as Lg, ac as Uc, ad as ds, ae as sl, af as Ua, ag as W1, ah as R1, ai as B1, aj as Gm, ak as Ru, al as zm, am as qm, an as jm, ao as T1, ap as Bu, aq as E1, ar as xc, as as Vm, at as D1, au as L1, av as Ng, aw as Pg, ax as N1, ay as P1, az as $1, aA as O1, aB as Um, aC as Km, aD as Ym, aE as Xm, d as $g, aF as as, aG as ml, aH as Wf, aI as H1, aJ as Js, h as G1, aK as z1, aL as q1, aM as j1, aN as V1, aO as Qm, aP as U1, aQ as K1, aR as Y1, aS as Jm, aT as Og, aU as nf, aV as Hg, aW as X1, aX as Gg, aY as zg, aZ as Q1, a_ as J1, f as qg, a$ as Tu, b0 as Z1, b1 as ey, e as ty, b2 as ny, b3 as ry, b4 as ay, b5 as oy, b6 as iy, b7 as sy, b8 as ly, b9 as cy, ba as Zm, bb as dy, bc as uy, bd as fy, be as my, bf as hy, bg as gy, bh as py, bi as vy, bj as by, bk as yy, bl as wy, bm as _y, bn as xy } from "./useWorkbenchRuntime-
|
|
13
|
+
import { S as Eg, T as st, U as In, V as fl, X as jc, b as Ff, Y as Dg, Z as vl, _ as F1, $ as Vt, a0 as le, a1 as dt, a2 as tr, a3 as Un, a4 as M1, a5 as Ze, a6 as ga, a7 as Vc, a8 as bl, a9 as Mf, aa as cd, ab as Lg, ac as Uc, ad as ds, ae as sl, af as Ua, ag as W1, ah as R1, ai as B1, aj as Gm, ak as Ru, al as zm, am as qm, an as jm, ao as T1, ap as Bu, aq as E1, ar as xc, as as Vm, at as D1, au as L1, av as Ng, aw as Pg, ax as N1, ay as P1, az as $1, aA as O1, aB as Um, aC as Km, aD as Ym, aE as Xm, d as $g, aF as as, aG as ml, aH as Wf, aI as H1, aJ as Js, h as G1, aK as z1, aL as q1, aM as j1, aN as V1, aO as Qm, aP as U1, aQ as K1, aR as Y1, aS as Jm, aT as Og, aU as nf, aV as Hg, aW as X1, aX as Gg, aY as zg, aZ as Q1, a_ as J1, f as qg, a$ as Tu, b0 as Z1, b1 as ey, e as ty, b2 as ny, b3 as ry, b4 as ay, b5 as oy, b6 as iy, b7 as sy, b8 as ly, b9 as cy, ba as Zm, bb as dy, bc as uy, bd as fy, be as my, bf as hy, bg as gy, bh as py, bi as vy, bj as by, bk as yy, bl as wy, bm as _y, bn as xy } from "./useWorkbenchRuntime-BV0oNt2a.js";
|
|
14
14
|
import "socket.io-client";
|
|
15
15
|
import { workbenchCardShellStyle as Cy } from "@fses/workbench-card";
|
|
16
16
|
import { CARD_CATEGORIES as eh, CARD_REGISTRY as ky } from "@fses/workbench-card/registry";
|
|
@@ -19,7 +19,7 @@ import { i as Wy, d as yl, e as Ry, p as By, R as Ty, f as Ey, h as qa, n as Dy,
|
|
|
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 Gy, S as zy, _ as qy, a as nh, e as jy, d as Vy, r as Uy, f as Ky } from "./customCardCatalog-
|
|
22
|
+
import { c as Ma, w as Gy, S as zy, _ as qy, a as nh, e as jy, d as Vy, r as Uy, f as Ky } from "./customCardCatalog-D_NgCKca.js";
|
|
23
23
|
function Yy(e) {
|
|
24
24
|
return e ? "h-full min-h-0" : "h-screen min-h-0 overflow-hidden";
|
|
25
25
|
}
|
|
@@ -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-Ve5GcdIX.js";
|
|
7
|
-
import { _ as ce } from "./index-
|
|
7
|
+
import { _ as ce } from "./index-DhDmdkzy.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-DhDmdkzy.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-Bmt-0aZg.js";
|
|
4
4
|
import { c as me } from "./canvasFacade-DlebDEqi.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-BV0oNt2a.js";
|
|
6
6
|
import { W as sa, a as oa, b as ra, c as ta, d as na } from "./normalizeWorkbenchExtensions-Ve5GcdIX.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-Bmt-0a
|
|
|
4
4
|
import { n as Ge, w as ze } from "./normalizeWorkbenchExtensions-Ve5GcdIX.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-BV0oNt2a.js";
|
|
8
8
|
import "./canvasFacade-DlebDEqi.js";
|
|
9
9
|
import { useRoute as at } from "vue-router";
|
|
10
|
-
const it = "0.3.
|
|
10
|
+
const it = "0.3.10", 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-CeH7HX5L.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-U6SNTAbv.js")), Mt = Q(() => import("./WorkbenchDiagnosticsFooter-Bpd1oWL7.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-Ddy-6I46.js"));
|
|
1051
1051
|
return (a, i) => (k(), V(J(s), {
|
|
1052
1052
|
"embed-in-portal": t.embedInPortal
|
|
1053
1053
|
}, {
|
|
@@ -1100,6 +1100,7 @@ function mn(e = {}) {
|
|
|
1100
1100
|
};
|
|
1101
1101
|
}
|
|
1102
1102
|
const wr = [
|
|
1103
|
+
"followUpActions",
|
|
1103
1104
|
"attachments",
|
|
1104
1105
|
"cards",
|
|
1105
1106
|
"cardRecommendationDraft",
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview 业务行动执行反馈仅展示正文,统一关闭实时和历史消息的后续操作按钮。
|
|
3
|
+
* @author seadon
|
|
4
|
+
* @created 2026-09-18
|
|
5
|
+
*/
|
|
6
|
+
import type { ConversationTurn } from '@fses/workbench-app/types';
|
|
7
|
+
/**
|
|
8
|
+
* 已提交的业务行动不生成重试按钮,也不从失败正文推断后续操作。
|
|
9
|
+
* @param turn - 保存了工具结果的对话轮次。
|
|
10
|
+
* @returns 有执行反馈时返回空操作列表;其他消息保留既有行为。
|
|
11
|
+
*/
|
|
12
|
+
export declare function actionSubmissionFollowUpActions(turn: Pick<ConversationTurn, 'processGroups'>): Array<{
|
|
13
|
+
label: string;
|
|
14
|
+
prompt: string;
|
|
15
|
+
}> | undefined;
|
|
@@ -15,6 +15,7 @@ export interface WorkbenchChatMessageOrderController<TMessage extends WorkbenchC
|
|
|
15
15
|
messages: TMessage[];
|
|
16
16
|
}
|
|
17
17
|
export interface WorkbenchChatStructuredMessageFields {
|
|
18
|
+
followUpActions?: unknown;
|
|
18
19
|
attachments?: unknown;
|
|
19
20
|
cards?: unknown;
|
|
20
21
|
cardRecommendationDraft?: unknown;
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview DeepAgent 处理过程归约 - 将公开过程事件转换为会话过程树。
|
|
3
|
-
* @author seadon
|
|
4
|
-
* @created 2026-07-05
|
|
5
|
-
*/
|
|
6
1
|
import type { ConversationProcessInvocationKind, ConversationProcessStatus, ConversationTurn } from '@fses/workbench-card/types';
|
|
7
2
|
export type TerminalStatus = 'completed' | 'failed' | 'interrupted' | 'cancelled';
|
|
8
3
|
interface BaseDeepAgentProcessUiEvent {
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @fileoverview DeepAgent
|
|
2
|
+
* @fileoverview DeepAgent 工具国际化展示名 - 为实时过程、最终回答和历史回显提供当前语言的展示标签。
|
|
3
3
|
* @author seadon
|
|
4
4
|
* @created 2026-07-05
|
|
5
5
|
*/
|
|
6
|
+
/**
|
|
7
|
+
* 保持公开展示名表的字符串接口,延迟到读取时翻译,避免缓存初始化前或旧语言的文案。
|
|
8
|
+
*/
|
|
6
9
|
export declare const DEEP_AGENT_TOOL_DISPLAY_NAMES: Record<string, string>;
|
|
7
10
|
/**
|
|
8
|
-
* 获取 DeepAgent
|
|
11
|
+
* 获取 DeepAgent 工具的当前语言展示名。
|
|
9
12
|
* @param toolName - 原始工具名。
|
|
10
|
-
* @returns
|
|
13
|
+
* @returns 当前语言展示名;未知工具返回原始工具名。
|
|
11
14
|
*/
|
|
12
15
|
export declare function deepAgentToolDisplayName(toolName: string): string;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/** 与 i18n_messages.json 中的平台文案编号保持一致,平台文案优先于包内兜底。 */
|
|
2
|
+
export declare const DEEP_AGENT_CONTEXT_TOOL_MESSAGES: {
|
|
3
|
+
readonly discover_tool_capabilities: {
|
|
4
|
+
readonly key: "FWA.3b9a1791792000001";
|
|
5
|
+
readonly zh: "发现工具能力";
|
|
6
|
+
readonly en: "Discover tool capabilities";
|
|
7
|
+
readonly ja: "ツール機能を検索";
|
|
8
|
+
readonly id: "Temukan kemampuan alat";
|
|
9
|
+
};
|
|
10
|
+
readonly activate_tool_capabilities: {
|
|
11
|
+
readonly key: "FWA.3b9a1791792000002";
|
|
12
|
+
readonly zh: "激活工具能力";
|
|
13
|
+
readonly en: "Activate tool capabilities";
|
|
14
|
+
readonly ja: "ツール機能を有効化";
|
|
15
|
+
readonly id: "Aktifkan kemampuan alat";
|
|
16
|
+
};
|
|
17
|
+
readonly read_artifact: {
|
|
18
|
+
readonly key: "FWA.3b9a1791792000003";
|
|
19
|
+
readonly zh: "读取结果内容";
|
|
20
|
+
readonly en: "Read result content";
|
|
21
|
+
readonly ja: "結果の内容を読み取り";
|
|
22
|
+
readonly id: "Baca isi hasil";
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* 按当前工作台语言读取新增工具的本地文案。
|
|
27
|
+
* @param toolName - 原始工具名。
|
|
28
|
+
* @returns 本地化兜底;不属于新增工具时返回 undefined。
|
|
29
|
+
*/
|
|
30
|
+
export declare function deepAgentToolFallbackLabel(toolName: string): string | undefined;
|
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-BV0oNt2a.js";
|
|
2
2
|
export {
|
|
3
3
|
o as WORKBENCH_RUNTIME_STORE_DEFINITION_KEY,
|
|
4
4
|
r as createWorkbenchRuntimeScope,
|