@yuku123/z-team-component 0.2.90 → 0.2.91
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/dist/{ComponentDoc-DgjWNYvc.js → ComponentDoc-Bqfu128t.js} +3 -3
- package/dist/{InvitationManagementPage-BWeW0h7p.js → InvitationManagementPage-DYoqQA0v.js} +1 -1
- package/dist/{OnboardingPage-tW2xXPui.js → OnboardingPage-D2Gm8MRd.js} +2 -2
- package/dist/{ScheduledTasks-2X5KfwFi.js → ScheduledTasks-DB3VxAnb.js} +3519 -3389
- package/dist/{SystemShell-CSiNt2JL.js → SystemShell-D3jHItxY.js} +5 -5
- package/dist/admin-logs-ogvMwS4O.js +302 -0
- package/dist/{api-WqoLUPy-.js → api-DYsAzJJo.js} +1 -1
- package/dist/{createWorkspaceWsHandler-rKc7vc8k.js → createWorkspaceWsHandler-D8h5BEzH.js} +2 -2
- package/dist/{index-MYohlrH6.js → index-152G-_4j.js} +1 -1
- package/dist/{index-DyFaoD5W.js → index-BYe87pnq.js} +1 -1
- package/dist/{index-DKWvNjHa.js → index-BZ12pY96.js} +2 -2
- package/dist/{index-iCpFhLce.js → index-BaCqZeiw.js} +1 -1
- package/dist/{index-pScDd5cp.js → index-BfzgRKii.js} +3 -3
- package/dist/{index-ji8TPz9K.js → index-C8cR7lJw.js} +1 -1
- package/dist/{index-CGSWoJJv.js → index-CLD5lLa6.js} +3 -3
- package/dist/{index-s_ikMJ2V.js → index-CLfhHxPf.js} +1 -1
- package/dist/{index-BIbkA-jX.js → index-CSpckSHg.js} +2 -2
- package/dist/{index-v3WaXkDJ.js → index-CYyFYmlZ.js} +1 -1
- package/dist/{index-BxBGVGKQ.js → index-CZyFAmEq.js} +1 -1
- package/dist/{index-DcHrkop2.js → index-CgWa7RFv.js} +1 -1
- package/dist/{index-DBEdsfjb.js → index-Cggl78j7.js} +2 -2
- package/dist/{index-7iEmueKf.js → index-Cw6MIoNv.js} +4 -4
- package/dist/{index-Ds6Ac0UE.js → index-DE82vM_4.js} +3 -3
- package/dist/{index-ClRT3ECx.js → index-DVaTGA2z.js} +5 -5
- package/dist/{index-NCoTXpQ0.js → index-Dwqa30HZ.js} +1 -1
- package/dist/{index-Pt4RiXWL.js → index-DyQ9YnMd.js} +5 -5
- package/dist/{index-B8mikT45.js → index-E4Q6JmzX.js} +3 -3
- package/dist/{index-DS4IgliO.js → index-W_4faD_M.js} +2 -2
- package/dist/{index-B51WSpDM.js → index-ues0LW7p.js} +3 -3
- package/dist/index.js +1 -1
- package/dist/{menuPermission-BqZsG_Fz.js → menuPermission-C33I6ujb.js} +2 -2
- package/dist/pages.js +1 -1
- package/dist/{useAppStore-BFO_h1L2.js → useAppStore-uc8v8XZC.js} +1 -1
- package/dist/{webide-DTZ46LPR.js → webide-BuUYLPSp.js} +2 -2
- package/dist/z-team-component.css +1 -1
- package/package.json +1 -1
- package/dist/personal-D-eMMf0_.js +0 -294
|
@@ -2,11 +2,11 @@ import { jsxs as p, jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import { useNavigate as Q, useLocation as M, Navigate as l } from "react-router-dom";
|
|
3
3
|
import { useMemo as g, useState as z, Suspense as oe, lazy as u } from "react";
|
|
4
4
|
import { DownOutlined as L, RightOutlined as T, AppstoreOutlined as Y, UserOutlined as ce, SafetyCertificateOutlined as E, CloudOutlined as v, DeploymentUnitOutlined as x, AuditOutlined as j, CodeOutlined as f, FolderOpenOutlined as le, DesktopOutlined as Z, ThunderboltOutlined as se, BookOutlined as H, DashboardOutlined as S, ProfileOutlined as R, ApartmentOutlined as pe, FileImageOutlined as re, FileTextOutlined as A, CalendarOutlined as b, ApiOutlined as ie, ProjectOutlined as V, ClusterOutlined as me, DatabaseOutlined as ue, TeamOutlined as de, BarChartOutlined as q } from "@ant-design/icons";
|
|
5
|
-
import { f as he, M as be } from "./menuPermission-
|
|
6
|
-
import { u as B } from "./useAppStore-
|
|
5
|
+
import { f as he, M as be } from "./menuPermission-C33I6ujb.js";
|
|
6
|
+
import { u as B } from "./useAppStore-uc8v8XZC.js";
|
|
7
7
|
import { ProductApp as ge } from "@yuku123/z-product-component";
|
|
8
|
-
import { P as ke, R as _e } from "./index-
|
|
9
|
-
import { b as ye } from "./ComponentDoc-
|
|
8
|
+
import { P as ke, R as _e } from "./index-Dwqa30HZ.js";
|
|
9
|
+
import { b as ye } from "./ComponentDoc-Bqfu128t.js";
|
|
10
10
|
const Se = "_container_wbul9_7", Ae = "_sidebar_wbul9_17", we = "_menuList_wbul9_37", fe = "_menuGroup_wbul9_44", Pe = "_menuGroupHeader_wbul9_48", ve = "_menuGroupIcon_wbul9_66", De = "_menuGroupLabel_wbul9_75", Me = "_menuGroupArrow_wbul9_80", Ge = "_menuSubList_wbul9_87", Ie = "_menuSubItem_wbul9_93", Ce = "_menuSubItemActive_wbul9_110", Ne = "_menuSubItemIcon_wbul9_117", Oe = "_menuSubGroup_wbul9_132", ze = "_menuSubGroupHeader_wbul9_136", Le = "_menuSubGroupHeaderActive_wbul9_154", Te = "_menuSubGroupLabel_wbul9_158", Ee = "_main_wbul9_169", xe = "_detailPanel_wbul9_179", je = "_detailHeader_wbul9_189", He = "_detailIcon_wbul9_196", Re = "_detailTitle_wbul9_209", qe = "_detailDesc_wbul9_216", Be = "_detailAction_wbul9_223", $e = "_goBtn_wbul9_228", Ue = "_emptyState_wbul9_248", n = {
|
|
11
11
|
container: Se,
|
|
12
12
|
sidebar: Ae,
|
|
@@ -495,7 +495,7 @@ const Fe = "_shell_10jrt_6", Qe = "_main_10jrt_21", Ye = "_empty_10jrt_31", Ze =
|
|
|
495
495
|
emptyText: Ve
|
|
496
496
|
};
|
|
497
497
|
ye();
|
|
498
|
-
const t = (o, s) => u(() => o().then((r) => ({ default: r[s] }))), Je = t(() => import("@yuku123/z-ctc-component"), "AccountManagement"), Xe = t(() => import("@yuku123/z-ctc-component"), "ApplicationManagement"), et = t(() => import("@yuku123/z-ctc-component"), "AuditPage"), tt = t(() => import("@yuku123/z-ctc-component"), "CtcOverview"), at = t(() => import("@yuku123/z-ctc-component"), "DictPage"), nt = t(() => import("@yuku123/z-ctc-component"), "OrgPage"), ot = t(() => import("@yuku123/z-ctc-component"), "PermissionManagement"), ct = t(() => import("@yuku123/z-ctc-component"), "RoleManagement"), $ = t(() => import("@yuku123/z-ctc-component"), "SurlManagement"), lt = t(() => import("@yuku123/z-ctc-component"), "TenantManagement"), st = t(() => import("@yuku123/z-agent-component"), "AgentAppList"), pt = t(() => import("@yuku123/z-agent-component"), "AgentDashboard"), rt = t(() => import("@yuku123/z-agent-component"), "AkManage"), it = t(() => import("@yuku123/z-agent-component"), "BucketList"), mt = t(() => import("@yuku123/z-agent-component"), "LlmManage"), ut = t(() => import("@yuku123/z-agent-component"), "McpPage"), dt = t(() => import("@yuku123/z-agent-component"), "ObjectBrowser"), ht = t(() => import("@yuku123/z-agent-component"), "ScriptCenterPage"), bt = t(() => import("@yuku123/z-agent-component"), "ScriptProductizationPage"), gt = t(() => import("@yuku123/z-agent-component"), "SkillMarket"), kt = t(() => import("./index-
|
|
498
|
+
const t = (o, s) => u(() => o().then((r) => ({ default: r[s] }))), Je = t(() => import("@yuku123/z-ctc-component"), "AccountManagement"), Xe = t(() => import("@yuku123/z-ctc-component"), "ApplicationManagement"), et = t(() => import("@yuku123/z-ctc-component"), "AuditPage"), tt = t(() => import("@yuku123/z-ctc-component"), "CtcOverview"), at = t(() => import("@yuku123/z-ctc-component"), "DictPage"), nt = t(() => import("@yuku123/z-ctc-component"), "OrgPage"), ot = t(() => import("@yuku123/z-ctc-component"), "PermissionManagement"), ct = t(() => import("@yuku123/z-ctc-component"), "RoleManagement"), $ = t(() => import("@yuku123/z-ctc-component"), "SurlManagement"), lt = t(() => import("@yuku123/z-ctc-component"), "TenantManagement"), st = t(() => import("@yuku123/z-agent-component"), "AgentAppList"), pt = t(() => import("@yuku123/z-agent-component"), "AgentDashboard"), rt = t(() => import("@yuku123/z-agent-component"), "AkManage"), it = t(() => import("@yuku123/z-agent-component"), "BucketList"), mt = t(() => import("@yuku123/z-agent-component"), "LlmManage"), ut = t(() => import("@yuku123/z-agent-component"), "McpPage"), dt = t(() => import("@yuku123/z-agent-component"), "ObjectBrowser"), ht = t(() => import("@yuku123/z-agent-component"), "ScriptCenterPage"), bt = t(() => import("@yuku123/z-agent-component"), "ScriptProductizationPage"), gt = t(() => import("@yuku123/z-agent-component"), "SkillMarket"), kt = t(() => import("./index-CSpckSHg.js"), "AgentTeamIM"), U = t(() => import("./index-CSpckSHg.js"), "DebugPlayground"), _t = t(() => import("./index-CSpckSHg.js"), "Overview"), W = t(() => import("./index-CSpckSHg.js"), "Webide"), yt = u(() => import("./OnboardingPage-D2Gm8MRd.js")), St = u(() => import("./InvitationManagementPage-DYoqQA0v.js")), At = t(() => import("@yuku123/z-config-component"), "ConfigApp"), wt = t(() => import("@yuku123/z-task-component"), "TaskApp"), ft = t(() => import("@yuku123/z-wf-component"), "WorkflowApp"), Pt = t(() => import("@yuku123/z-schedule-component"), "ScheduleApp"), vt = t(() => import("@yuku123/z-mist-component"), "MistApp"), Dt = t(() => import("@yuku123/z-meta-component"), "MetaApp"), Mt = t(() => import("@yuku123/z-msg-component"), "MsgApp"), Gt = t(() => import("@yuku123/z-rpc-component"), "RpcApp"), It = u(() => import("./ComponentDoc-Bqfu128t.js").then((o) => o.p)), Ct = u(() => import("./ComponentDoc-Bqfu128t.js").then((o) => o.q)), Nt = t(() => import("@yuku123/z-config-component"), "ComponentDocPage"), Ot = t(() => import("@yuku123/z-task-component"), "ComponentDocPage"), zt = t(() => import("@yuku123/z-wf-component"), "ComponentDocPage"), Lt = t(() => import("@yuku123/z-schedule-component"), "ComponentDocPage"), Tt = t(() => import("@yuku123/z-mist-component"), "ComponentDocPage"), Et = t(() => import("@yuku123/z-meta-component"), "ComponentDocPage"), xt = t(() => import("@yuku123/z-msg-component"), "ComponentDocPage"), jt = t(() => import("@yuku123/z-rpc-component"), "ComponentDocPage"), Ht = t(() => import("@yuku123/z-kb-component"), "ComponentDocPage"), Rt = t(() => import("@yuku123/z-product-component"), "ComponentDocPage"), qt = t(() => import("@yuku123/z-oss-component"), "ComponentDocPage"), Bt = t(() => import("@yuku123/z-vector-component"), "ComponentDocPage"), $t = t(() => import("@yuku123/z-graph-component"), "ComponentDocPage"), Ut = t(() => import("@yuku123/z-gw-component"), "ComponentDocPage"), Wt = t(() => import("@yuku123/z-cache-component"), "ComponentDocPage"), Kt = t(() => import("@yuku123/z-mq-component"), "ComponentDocPage"), Ft = t(() => import("@yuku123/z-ctc-component"), "ComponentDocPage"), Qt = t(() => import("@yuku123/z-agent-component"), "ComponentDocPage"), Yt = t(() => import("@yuku123/z-lc-component"), "ComponentDocPage"), Zt = t(() => import("@yuku123/z-qa-component"), "ComponentDocPage"), Vt = u(() => import("./ComponentDoc-Bqfu128t.js").then((o) => o.o)), K = u(() => import("@yuku123/z-qa-component"));
|
|
499
499
|
function Jt() {
|
|
500
500
|
return /* @__PURE__ */ p("div", { className: h.empty, children: [
|
|
501
501
|
/* @__PURE__ */ e("div", { className: h.emptyIcon, children: "📋" }),
|
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
import { a, u as i, B as r, f as c, m as d, n as $ } from "./api-BftpestH.js";
|
|
2
|
+
import { u as p } from "./useAppStore-uc8v8XZC.js";
|
|
3
|
+
async function m(e = "") {
|
|
4
|
+
const n = e ? `?token=${encodeURIComponent(e)}` : "", t = await a(`${r}/personal-agents${n}`, c);
|
|
5
|
+
return i(t, "获取个人 Agent 列表失败");
|
|
6
|
+
}
|
|
7
|
+
async function g(e) {
|
|
8
|
+
const n = e ? `?token=${encodeURIComponent(e)}` : "", t = await a(
|
|
9
|
+
`${r}/personal-agents/custom-models${n}`,
|
|
10
|
+
c
|
|
11
|
+
);
|
|
12
|
+
return i(t, "获取自定义模型失败");
|
|
13
|
+
}
|
|
14
|
+
async function h(e, n) {
|
|
15
|
+
const t = e ? `?token=${encodeURIComponent(e)}` : "", o = await a(`${r}/personal-agents/custom-models${t}`, {
|
|
16
|
+
...c,
|
|
17
|
+
method: "POST",
|
|
18
|
+
headers: { "Content-Type": "application/json" },
|
|
19
|
+
body: JSON.stringify(n)
|
|
20
|
+
});
|
|
21
|
+
return i(o, "创建自定义模型失败");
|
|
22
|
+
}
|
|
23
|
+
async function S(e, n, t) {
|
|
24
|
+
const o = e ? `?token=${encodeURIComponent(e)}` : "", s = await a(
|
|
25
|
+
`${r}/personal-agents/custom-models/${n}/toggle${o}`,
|
|
26
|
+
{
|
|
27
|
+
...c,
|
|
28
|
+
method: "POST",
|
|
29
|
+
headers: { "Content-Type": "application/json" },
|
|
30
|
+
body: JSON.stringify({ enable: t })
|
|
31
|
+
}
|
|
32
|
+
);
|
|
33
|
+
return i(s, "切换自定义模型失败");
|
|
34
|
+
}
|
|
35
|
+
async function w(e, n) {
|
|
36
|
+
const t = e ? `?token=${encodeURIComponent(e)}` : "", o = await a(
|
|
37
|
+
`${r}/personal-agents/custom-models/${n}${t}`,
|
|
38
|
+
{ ...c, method: "DELETE" }
|
|
39
|
+
);
|
|
40
|
+
await i(o, "删除自定义模型失败");
|
|
41
|
+
}
|
|
42
|
+
async function C(e) {
|
|
43
|
+
const n = e ? `?token=${encodeURIComponent(e)}` : "", t = await a(
|
|
44
|
+
`${r}/personal-agents/user-settings${n}`,
|
|
45
|
+
c
|
|
46
|
+
), o = await i(t, "获取设置失败");
|
|
47
|
+
try {
|
|
48
|
+
return JSON.parse(o.config || "{}");
|
|
49
|
+
} catch {
|
|
50
|
+
return {};
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
async function I(e, n) {
|
|
54
|
+
const t = e ? `?token=${encodeURIComponent(e)}` : "", o = await a(`${r}/personal-agents/user-settings${t}`, {
|
|
55
|
+
...c,
|
|
56
|
+
method: "POST",
|
|
57
|
+
headers: { "Content-Type": "application/json" },
|
|
58
|
+
body: JSON.stringify({ config: JSON.stringify(n) })
|
|
59
|
+
});
|
|
60
|
+
await i(o, "保存设置失败");
|
|
61
|
+
}
|
|
62
|
+
async function U(e) {
|
|
63
|
+
const n = e ? `?token=${encodeURIComponent(e)}` : "", t = await a(
|
|
64
|
+
`${r}/personal-agents/sessions/export${n}`,
|
|
65
|
+
c
|
|
66
|
+
);
|
|
67
|
+
return i(t, "导出失败");
|
|
68
|
+
}
|
|
69
|
+
async function T(e, n) {
|
|
70
|
+
const t = e ? `?token=${encodeURIComponent(e)}` : "", o = await a(`${r}/personal-agents/devices/touch${t}`, {
|
|
71
|
+
...c,
|
|
72
|
+
method: "POST",
|
|
73
|
+
headers: { "Content-Type": "application/json" },
|
|
74
|
+
body: JSON.stringify({ deviceLabel: n })
|
|
75
|
+
});
|
|
76
|
+
return i(o, "设备上报失败");
|
|
77
|
+
}
|
|
78
|
+
async function v(e) {
|
|
79
|
+
const n = e ? `?token=${encodeURIComponent(e)}` : "", t = await a(`${r}/personal-agents/devices${n}`, c);
|
|
80
|
+
return (await i(t, "加载设备失败") || []).map((s) => ({
|
|
81
|
+
id: Number(s.id),
|
|
82
|
+
userId: String(s.user_id ?? s.userId ?? ""),
|
|
83
|
+
deviceLabel: String(s.device_label ?? s.deviceLabel ?? ""),
|
|
84
|
+
firstSeenAt: String(s.first_seen_at ?? s.firstSeenAt ?? ""),
|
|
85
|
+
lastSeenAt: String(s.last_seen_at ?? s.lastSeenAt ?? "")
|
|
86
|
+
}));
|
|
87
|
+
}
|
|
88
|
+
async function O(e, n, t) {
|
|
89
|
+
const o = t ? `?token=${encodeURIComponent(t)}` : "", s = await a(
|
|
90
|
+
`${r}/personal-agents/${e}/sessions/${n}/suggestions${o}`,
|
|
91
|
+
{ ...c, method: "POST" }
|
|
92
|
+
);
|
|
93
|
+
return i(s, "加载建议失败");
|
|
94
|
+
}
|
|
95
|
+
async function R() {
|
|
96
|
+
p.getState().token && await d().catch(() => {
|
|
97
|
+
}), localStorage.removeItem("token"), localStorage.removeItem("z_team_token"), localStorage.removeItem("userInfo"), localStorage.removeItem("USER_INFO"), localStorage.removeItem("z_ctc_token"), localStorage.removeItem("ctcUrl"), window.USER_INFO = void 0, p.setState({ currentUser: null, token: "", currentProject: void 0 });
|
|
98
|
+
}
|
|
99
|
+
async function P(e = "", n = !1) {
|
|
100
|
+
const t = new URLSearchParams();
|
|
101
|
+
e && t.set("token", e), n && t.set("allUsers", "true");
|
|
102
|
+
const o = t.toString() ? `?${t.toString()}` : "", s = await a(`${r}/personal-note/tree${o}`, c);
|
|
103
|
+
return $(s, "获取笔记文件树失败");
|
|
104
|
+
}
|
|
105
|
+
async function N(e, n = "") {
|
|
106
|
+
const t = n ? `?token=${encodeURIComponent(n)}` : "", o = await a(`${r}/personal-note${t}`, {
|
|
107
|
+
...c,
|
|
108
|
+
method: "POST",
|
|
109
|
+
headers: { "Content-Type": "application/json" },
|
|
110
|
+
body: JSON.stringify(e)
|
|
111
|
+
});
|
|
112
|
+
return i(o, "新建笔记失败");
|
|
113
|
+
}
|
|
114
|
+
async function b(e, n = "") {
|
|
115
|
+
const t = n ? `?token=${encodeURIComponent(n)}` : "", o = await a(`${r}/personal-note/${e}${t}`, c);
|
|
116
|
+
return $(o, "获取笔记内容失败");
|
|
117
|
+
}
|
|
118
|
+
async function q(e, n, t = "") {
|
|
119
|
+
const o = t ? `?token=${encodeURIComponent(t)}` : "", s = await a(`${r}/personal-note/${e}${o}`, {
|
|
120
|
+
...c,
|
|
121
|
+
method: "PUT",
|
|
122
|
+
headers: { "Content-Type": "application/json" },
|
|
123
|
+
body: JSON.stringify(n)
|
|
124
|
+
});
|
|
125
|
+
return i(s, "保存笔记失败");
|
|
126
|
+
}
|
|
127
|
+
async function E(e, n, t = "") {
|
|
128
|
+
const o = t ? `?token=${encodeURIComponent(t)}` : "", s = await a(`${r}/personal-note/${e}/rename${o}`, {
|
|
129
|
+
...c,
|
|
130
|
+
method: "PUT",
|
|
131
|
+
headers: { "Content-Type": "application/json" },
|
|
132
|
+
body: JSON.stringify({ title: n })
|
|
133
|
+
});
|
|
134
|
+
return i(s, "重命名失败");
|
|
135
|
+
}
|
|
136
|
+
async function A(e, n, t = "") {
|
|
137
|
+
const o = t ? `?token=${encodeURIComponent(t)}` : "", s = await a(`${r}/personal-note/${e}/move${o}`, {
|
|
138
|
+
...c,
|
|
139
|
+
method: "PUT",
|
|
140
|
+
headers: { "Content-Type": "application/json" },
|
|
141
|
+
body: JSON.stringify(n)
|
|
142
|
+
});
|
|
143
|
+
return i(s, "移动节点失败");
|
|
144
|
+
}
|
|
145
|
+
async function L(e, n = "") {
|
|
146
|
+
const t = n ? `?token=${encodeURIComponent(n)}` : "", o = await a(`${r}/personal-note/${e}${t}`, {
|
|
147
|
+
...c,
|
|
148
|
+
method: "DELETE"
|
|
149
|
+
});
|
|
150
|
+
return i(o, "删除笔记失败");
|
|
151
|
+
}
|
|
152
|
+
async function _(e, n, t, o = "") {
|
|
153
|
+
const s = new URLSearchParams();
|
|
154
|
+
s.set("bindKey", e), s.set("defaultTitle", n), s.set("extraInfo", t), o && s.set("token", o);
|
|
155
|
+
const l = await a(
|
|
156
|
+
`${r}/personal-note/bound?${s.toString()}`,
|
|
157
|
+
c
|
|
158
|
+
);
|
|
159
|
+
return $(l, "获取绑定笔记失败");
|
|
160
|
+
}
|
|
161
|
+
async function j(e, n = "") {
|
|
162
|
+
const t = n ? `?token=${encodeURIComponent(n)}` : "", o = await a(`${r}/personal-note/${e}/share${t}`, {
|
|
163
|
+
...c,
|
|
164
|
+
method: "POST"
|
|
165
|
+
});
|
|
166
|
+
return i(o, "生成分享链接失败");
|
|
167
|
+
}
|
|
168
|
+
async function D(e = "") {
|
|
169
|
+
const n = e ? `?token=${encodeURIComponent(e)}` : "", t = await a(
|
|
170
|
+
`${r}/personal-note/favorites${n}`,
|
|
171
|
+
c
|
|
172
|
+
);
|
|
173
|
+
return $(t, "获取收藏列表失败");
|
|
174
|
+
}
|
|
175
|
+
async function J(e, n = "") {
|
|
176
|
+
const t = n ? `?token=${encodeURIComponent(n)}` : "", o = await a(`${r}/personal-note/${e}/favorite${t}`, {
|
|
177
|
+
...c,
|
|
178
|
+
method: "POST"
|
|
179
|
+
});
|
|
180
|
+
return i(o, "收藏笔记失败");
|
|
181
|
+
}
|
|
182
|
+
async function k(e, n = "") {
|
|
183
|
+
const t = n ? `?token=${encodeURIComponent(n)}` : "", o = await a(`${r}/personal-note/${e}/favorite${t}`, {
|
|
184
|
+
...c,
|
|
185
|
+
method: "DELETE"
|
|
186
|
+
});
|
|
187
|
+
return i(o, "取消收藏失败");
|
|
188
|
+
}
|
|
189
|
+
async function x(e, n = 50) {
|
|
190
|
+
const t = await a(
|
|
191
|
+
`${r}/scenario-instances/${e}/observer-dispatch-logs?limit=${n}`,
|
|
192
|
+
{ ...c }
|
|
193
|
+
);
|
|
194
|
+
return i(t, "查询派发日志失败");
|
|
195
|
+
}
|
|
196
|
+
async function F(e, n) {
|
|
197
|
+
const t = await a(
|
|
198
|
+
`${r}/scenario-instances/${e}/observer-dispatch-logs/${n}`,
|
|
199
|
+
{ ...c }
|
|
200
|
+
);
|
|
201
|
+
return i(t, "查询派发日志详情失败");
|
|
202
|
+
}
|
|
203
|
+
async function B(e) {
|
|
204
|
+
const n = await a(
|
|
205
|
+
`${r}/scenario-instances/${e}/observer/trigger`,
|
|
206
|
+
{ ...c, method: "POST" }
|
|
207
|
+
);
|
|
208
|
+
return i(n, "触发观察失败");
|
|
209
|
+
}
|
|
210
|
+
function u(e) {
|
|
211
|
+
const n = new URLSearchParams();
|
|
212
|
+
Object.entries(e).forEach(([o, s]) => {
|
|
213
|
+
if (!(s == null || s === "")) {
|
|
214
|
+
if (Array.isArray(s)) {
|
|
215
|
+
s.forEach((l) => {
|
|
216
|
+
l != null && l !== "" && n.append(o, String(l));
|
|
217
|
+
});
|
|
218
|
+
return;
|
|
219
|
+
}
|
|
220
|
+
n.append(o, String(s));
|
|
221
|
+
}
|
|
222
|
+
});
|
|
223
|
+
const t = n.toString();
|
|
224
|
+
return t ? `?${t}` : "";
|
|
225
|
+
}
|
|
226
|
+
async function M(e) {
|
|
227
|
+
const n = await a(
|
|
228
|
+
`${r}/admin/tool-call-logs${u(e)}`,
|
|
229
|
+
c
|
|
230
|
+
);
|
|
231
|
+
return i(n, "查询工具调用日志失败");
|
|
232
|
+
}
|
|
233
|
+
async function z(e, n = "") {
|
|
234
|
+
const t = await a(
|
|
235
|
+
`${r}/admin/tool-call-logs/${e}${u({ token: n })}`,
|
|
236
|
+
c
|
|
237
|
+
);
|
|
238
|
+
return i(t, "查询工具调用日志详情失败");
|
|
239
|
+
}
|
|
240
|
+
async function G(e = "") {
|
|
241
|
+
const n = await a(
|
|
242
|
+
`${r}/admin/tool-call-logs/tool-types${u({ token: e })}`,
|
|
243
|
+
c
|
|
244
|
+
);
|
|
245
|
+
return i(n, "查询工具类型失败");
|
|
246
|
+
}
|
|
247
|
+
async function H(e = "") {
|
|
248
|
+
const n = await a(
|
|
249
|
+
`${r}/admin/tool-call-logs/agents/names${u({ token: e })}`,
|
|
250
|
+
c
|
|
251
|
+
);
|
|
252
|
+
return i(n, "查询 Agent 名称失败");
|
|
253
|
+
}
|
|
254
|
+
async function K(e) {
|
|
255
|
+
const n = await a(
|
|
256
|
+
`${r}/admin/tool-call-logs/stats${u(e)}`,
|
|
257
|
+
c
|
|
258
|
+
);
|
|
259
|
+
return i(n, "查询工具调用统计失败");
|
|
260
|
+
}
|
|
261
|
+
async function Q(e) {
|
|
262
|
+
const n = await a(
|
|
263
|
+
`${r}/admin/tool-call-logs/overview${u(e)}`,
|
|
264
|
+
c
|
|
265
|
+
);
|
|
266
|
+
return i(n, "查询工具调用概览统计失败");
|
|
267
|
+
}
|
|
268
|
+
export {
|
|
269
|
+
T as A,
|
|
270
|
+
G as B,
|
|
271
|
+
H as C,
|
|
272
|
+
M as D,
|
|
273
|
+
z as E,
|
|
274
|
+
Q as F,
|
|
275
|
+
K as G,
|
|
276
|
+
b as a,
|
|
277
|
+
D as b,
|
|
278
|
+
j as c,
|
|
279
|
+
k as d,
|
|
280
|
+
J as e,
|
|
281
|
+
O as f,
|
|
282
|
+
m as g,
|
|
283
|
+
P as h,
|
|
284
|
+
N as i,
|
|
285
|
+
L as j,
|
|
286
|
+
C as k,
|
|
287
|
+
I as l,
|
|
288
|
+
A as m,
|
|
289
|
+
g as n,
|
|
290
|
+
v as o,
|
|
291
|
+
w as p,
|
|
292
|
+
h as q,
|
|
293
|
+
E as r,
|
|
294
|
+
R as s,
|
|
295
|
+
S as t,
|
|
296
|
+
q as u,
|
|
297
|
+
U as v,
|
|
298
|
+
_ as w,
|
|
299
|
+
x,
|
|
300
|
+
F as y,
|
|
301
|
+
B as z
|
|
302
|
+
};
|
|
@@ -5,11 +5,11 @@ import it, { useState as T, useRef as Te, useEffect as se, useCallback as H, use
|
|
|
5
5
|
import { createPortal as vr } from "react-dom";
|
|
6
6
|
import { a as Le, aO as fn, f as $e, u as Bt, B as Fe, n as Xe, ar as ui, k as Vt, X as Tr, H as mi, t as Ie, aP as pi, aQ as hi, aR as _i, K as Oe, aS as Aa, aT as Nr, aU as ga, aV as xa, aW as gi, aX as fi, aY as ki, i as un, aZ as yi, a_ as bi, l as vi, Y as Ti, a$ as ks, T as La, b0 as Nt, a3 as ys, s as Ni, a8 as Ci, b1 as Si, b2 as bs, aG as vs, b3 as wi, b4 as Ii, b5 as Ai } from "./api-BftpestH.js";
|
|
7
7
|
import { d as xi, e as Li, j as Bi, g as Ri, r as Pi, h as $i, i as Ei, k as Di, m as Mi } from "./instance-CI6-4BZ6.js";
|
|
8
|
-
import { u as O, i as Cr, s as K, a as Ba, n as ea, h as ji, r as Sr, b as wr, m as Oi, c as Ir, d as Ar, e as xr, g as Fi, j as Hi, k as qi, l as Gi, o as xt, q as Lt, t as Wi, v as Ui, w as zi, x as Vi, y as Ji, z as Ki, A as Qi, B as Yi, C as Xi, D as Zi, E as el, F as tl, G as Ra, H as Lr, I as Ts, J as nl } from "./useAppStore-
|
|
8
|
+
import { u as O, i as Cr, s as K, a as Ba, n as ea, h as ji, r as Sr, b as wr, m as Oi, c as Ir, d as Ar, e as xr, g as Fi, j as Hi, k as qi, l as Gi, o as xt, q as Lt, t as Wi, v as Ui, w as zi, x as Vi, y as Ji, z as Ki, A as Qi, B as Yi, C as Xi, D as Zi, E as el, F as tl, G as Ra, H as Lr, I as Ts, J as nl } from "./useAppStore-uc8v8XZC.js";
|
|
9
9
|
import ft from "react-markdown";
|
|
10
10
|
import Rn from "rehype-highlight";
|
|
11
11
|
import kt from "remark-gfm";
|
|
12
|
-
import {
|
|
12
|
+
import { w as al, u as sl, c as rl, x as ol, y as il, z as ll, k as cl, A as dl } from "./admin-logs-ogvMwS4O.js";
|
|
13
13
|
import qe from "handlebars";
|
|
14
14
|
const Ns = (e) => Symbol.iterator in e, Cs = (e) => (
|
|
15
15
|
// HACK: avoid checking entries type
|
|
@@ -8,7 +8,7 @@ import { useState as d, useRef as K, useCallback as O, useMemo as R, useEffect a
|
|
|
8
8
|
import { useLocation as Q } from "react-router-dom";
|
|
9
9
|
import { h as b } from "./history-BlrA1eaW.js";
|
|
10
10
|
import { d as V, e as X } from "./api-BftpestH.js";
|
|
11
|
-
import { u as s } from "./useAppStore-
|
|
11
|
+
import { u as s } from "./useAppStore-uc8v8XZC.js";
|
|
12
12
|
import { b as Y } from "./mobile-client-O3yr9h6t.js";
|
|
13
13
|
import { s as Z } from "./send-default-agent-team-message-c5oKdQQA.js";
|
|
14
14
|
function de() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as a, jsx as i, Fragment as B } from "react/jsx-runtime";
|
|
2
2
|
import { useState as d, useRef as F, useCallback as D, useEffect as R } from "react";
|
|
3
|
-
import { u as O } from "./useAppStore-
|
|
3
|
+
import { u as O } from "./useAppStore-uc8v8XZC.js";
|
|
4
4
|
/* empty css */
|
|
5
5
|
import { T as P, g as U } from "./api-BftpestH.js";
|
|
6
6
|
async function y(o, s) {
|
|
@@ -2,7 +2,7 @@ import { jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import { Navigate as t } from "react-router-dom";
|
|
3
3
|
import { lazy as A } from "react";
|
|
4
4
|
import { UnorderedListOutlined as i, HistoryOutlined as T, ClusterOutlined as p, DashboardOutlined as s, ExperimentOutlined as q, SettingOutlined as d, KeyOutlined as n, AppstoreOutlined as r, SafetyCertificateOutlined as P, TeamOutlined as w, ProfileOutlined as b, ApiOutlined as u, HddOutlined as l, ApartmentOutlined as g, InboxOutlined as k, FileTextOutlined as y, SendOutlined as G, CloudServerOutlined as a, NodeIndexOutlined as z, TableOutlined as f, SearchOutlined as m, DatabaseOutlined as v, ConsoleSqlOutlined as E, BranchesOutlined as I, DeploymentUnitOutlined as M, BookOutlined as h, FundOutlined as N, CloudUploadOutlined as _, TagsOutlined as x, CodeOutlined as B } from "@ant-design/icons";
|
|
5
|
-
import { W as R } from "./index-
|
|
5
|
+
import { W as R } from "./index-CLD5lLa6.js";
|
|
6
6
|
import { ConfigApp as U } from "@yuku123/z-config-component";
|
|
7
7
|
import { MistApp as H } from "@yuku123/z-mist-component";
|
|
8
8
|
import { MetaApp as L } from "@yuku123/z-meta-component";
|
|
@@ -16,7 +16,7 @@ import { MqApp as Z } from "@yuku123/z-mq-component";
|
|
|
16
16
|
import { OssApp as J } from "@yuku123/z-oss-component";
|
|
17
17
|
import { ZkbApp as X } from "@yuku123/z-kb-component";
|
|
18
18
|
import { ScriptProductizationPage as o } from "@yuku123/z-agent-component";
|
|
19
|
-
import "./index-
|
|
19
|
+
import "./index-DyQ9YnMd.js";
|
|
20
20
|
const $ = "/api/graph";
|
|
21
21
|
let O = !1;
|
|
22
22
|
function ee() {
|
|
@@ -3,7 +3,7 @@ import { useNavigate as X, useParams as me, useLocation as ye, useRoutes as ge }
|
|
|
3
3
|
import { useState as m, useEffect as M, useMemo as be } from "react";
|
|
4
4
|
import { RocketOutlined as fe, AppstoreOutlined as ce, CheckCircleOutlined as W, PlayCircleOutlined as K, CloseCircleOutlined as Z, BellOutlined as oe, BulbOutlined as ee, EditOutlined as _e, CloudUploadOutlined as we, CopyOutlined as ve, DeleteOutlined as Ie, ReloadOutlined as te, PlusOutlined as re, ArrowLeftOutlined as Ce, SaveOutlined as le, ShopOutlined as de, StarFilled as Te, CloudDownloadOutlined as ke, DashboardOutlined as xe, InfoCircleOutlined as Pe } from "@ant-design/icons";
|
|
5
5
|
import { Typography as j, Row as q, Col as R, Card as E, Statistic as N, Table as Oe, Tag as T, Form as b, Space as D, Button as u, Popconfirm as pe, Drawer as V, Input as A, Select as H, message as d, Tabs as Ae, Descriptions as C, Alert as Se, Switch as Re, Spin as De } from "antd";
|
|
6
|
-
import { r as _ } from "./ComponentDoc-
|
|
6
|
+
import { r as _ } from "./ComponentDoc-Bqfu128t.js";
|
|
7
7
|
import { ListTable as Y } from "@yuku123/z-frontend-common/ui";
|
|
8
8
|
const z = (r) => `script-admin/scripts/${encodeURIComponent(r)}`, P = {
|
|
9
9
|
list: () => _.get("script-admin/scripts"),
|
|
@@ -7,13 +7,13 @@ import Q from "query-string";
|
|
|
7
7
|
import { useState as y, useRef as E, useEffect as w, useMemo as Y, useCallback as B } from "react";
|
|
8
8
|
import { useLocation as ke } from "react-router-dom";
|
|
9
9
|
import { h as A } from "./history-BlrA1eaW.js";
|
|
10
|
-
import { c as we, C as Se } from "./createWorkspaceWsHandler-
|
|
11
|
-
import { u as i, f as ye, T as ve } from "./useAppStore-
|
|
10
|
+
import { c as we, C as Se } from "./createWorkspaceWsHandler-D8h5BEzH.js";
|
|
11
|
+
import { u as i, f as ye, T as ve } from "./useAppStore-uc8v8XZC.js";
|
|
12
12
|
import { o as Te, q as Ne, v as je, w as Ce, e as ee } from "./api-BftpestH.js";
|
|
13
13
|
import { l as Pe, j as xe } from "./instance-CI6-4BZ6.js";
|
|
14
14
|
import { i as _e, s as Ee } from "./mobile-client-O3yr9h6t.js";
|
|
15
15
|
/* empty css */
|
|
16
|
-
import { s as Ae } from "./
|
|
16
|
+
import { s as Ae } from "./admin-logs-ogvMwS4O.js";
|
|
17
17
|
const re = 2e4;
|
|
18
18
|
function Ie(o, s = re, n = globalThis) {
|
|
19
19
|
let c = null;
|
|
@@ -4,7 +4,7 @@ import { Input as K, Select as ae, Button as M, Modal as ve, Space as qe, Toolti
|
|
|
4
4
|
import { ListTable as Ae, DEFAULT_PAGINATION as hl } from "@yuku123/z-frontend-common/ui";
|
|
5
5
|
import { useState as o, useCallback as de, useEffect as ce, useMemo as pe, useRef as Ft } from "react";
|
|
6
6
|
import { f as Ut, a as Gt, b as ct, c as ut, s as vt, d as ml, e as pl, g as tt, h as gl, i as yl, j as vl, k as jt, l as ft, m as fl, n as wl, o as Cl, r as Wt, p as Ht, q as bl, t as wt, u as Il, v as ht, w as mt, x as xl, y as Tl, z as Nl, A as kl, B as Ct, C as Sl, D as _l, E as Al, F as El, G as Dl, H as bt, I as Rl, J as Ll, K as $l, L as Pl, M as Ol, N as Bl, O as Ml, P as It, Q as zl, R as Fl, S as Ul, T as Gl, U as jl } from "./training-B38tnwLL.js";
|
|
7
|
-
import { u as Ce } from "./useAppStore-
|
|
7
|
+
import { u as Ce } from "./useAppStore-uc8v8XZC.js";
|
|
8
8
|
import { s as r } from "./index.module-UI0iz8K0.js";
|
|
9
9
|
import Wl from "dayjs";
|
|
10
10
|
import xt from "react-markdown";
|
|
@@ -2,9 +2,9 @@ import { jsxs as u, jsx as t } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as L, useMemo as p } from "react";
|
|
3
3
|
import { useNavigate as v, useLocation as A } from "react-router-dom";
|
|
4
4
|
import { DownOutlined as k, RightOutlined as w } from "@ant-design/icons";
|
|
5
|
-
import { P as W, R as $ } from "./index-
|
|
6
|
-
import { f as E, M as g } from "./menuPermission-
|
|
7
|
-
import { u as j } from "./useAppStore-
|
|
5
|
+
import { P as W, R as $ } from "./index-Dwqa30HZ.js";
|
|
6
|
+
import { f as E, M as g } from "./menuPermission-C33I6ujb.js";
|
|
7
|
+
import { u as j } from "./useAppStore-uc8v8XZC.js";
|
|
8
8
|
const H = "_shell_1jjcx_7", M = "_sidebar_1jjcx_15", R = "_menuList_1jjcx_37", T = "_menuGroup_1jjcx_43", C = "_menuGroupHeader_1jjcx_47", P = "_menuGroupIcon_1jjcx_65", z = "_menuGroupLabel_1jjcx_70", K = "_menuGroupArrow_1jjcx_74", U = "_menuSubList_1jjcx_80", Z = "_menuSubItem_1jjcx_86", B = "_menuSubItemActive_1jjcx_103", D = "_menuSubItemIcon_1jjcx_110", O = "_menuSubItemLabel_1jjcx_115", q = "_menuSubItemWrap_1jjcx_119", F = "_main_1jjcx_123", J = "_empty_1jjcx_134", Q = "_emptyIcon_1jjcx_144", V = "_emptyText_1jjcx_149", n = {
|
|
9
9
|
shell: H,
|
|
10
10
|
sidebar: M,
|
|
@@ -2,7 +2,7 @@ import { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import { CopyOutlined as oe, ReloadOutlined as ve, PlusOutlined as Te, DeleteOutlined as Oe, ClearOutlined as Ue, CloseOutlined as Re, SendOutlined as De, RobotOutlined as Se, CloudServerOutlined as He, MessageOutlined as Fe, KeyOutlined as je, ApiOutlined as qe, ToolOutlined as Ge, BarChartOutlined as Je } from "@ant-design/icons";
|
|
3
3
|
import { Tooltip as Y, Tabs as we, Input as pe, Button as D, Modal as ue, Drawer as Ae, Spin as X, Statistic as K, Table as Be, message as J, Tag as W, Select as We, Checkbox as Qe } from "antd";
|
|
4
4
|
import { useState as N, useEffect as Z, useCallback as j, useRef as he, useMemo as ze, Suspense as Ve, lazy as Ye } from "react";
|
|
5
|
-
import { u as Me } from "./useAppStore-
|
|
5
|
+
import { u as Me } from "./useAppStore-uc8v8XZC.js";
|
|
6
6
|
import { AgentAppList as Xe, McpPage as Ze, SkillMarket as et } from "@yuku123/z-agent-component";
|
|
7
7
|
const le = "ft_gateway_default_ak", Ie = "system-default", ee = "", ke = "";
|
|
8
8
|
function te(a = {}) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AppLayout as v, ErrorBoundary as H, LoginPage as _, StatusTag as z, defaultStatusMap as F } from "@yuku123/z-frontend-common";
|
|
2
|
-
import { a as y } from "./ComponentDoc-
|
|
3
|
-
import { c as J, E as Q, d as X, e as Y, f as Z, O as $, h as ee, R as te, j as re, k as ae, T as oe, l as ne, r as le, r as ie, m as se } from "./ComponentDoc-
|
|
2
|
+
import { a as y } from "./ComponentDoc-Bqfu128t.js";
|
|
3
|
+
import { c as J, E as Q, d as X, e as Y, f as Z, O as $, h as ee, R as te, j as re, k as ae, T as oe, l as ne, r as le, r as ie, m as se } from "./ComponentDoc-Bqfu128t.js";
|
|
4
4
|
import { jsxs as r, Fragment as h, jsx as e } from "react/jsx-runtime";
|
|
5
5
|
import { useState as n, useEffect as T } from "react";
|
|
6
6
|
import { Alert as I, Space as x, Button as l, Tag as c, Result as R } from "antd";
|
|
@@ -8,7 +8,7 @@ import { useMemo as P, useState as p, useCallback as A, useEffect as U } from "r
|
|
|
8
8
|
import { useLocation as F } from "react-router-dom";
|
|
9
9
|
import { h as H } from "./history-BlrA1eaW.js";
|
|
10
10
|
import { c as Y, e as B } from "./api-BftpestH.js";
|
|
11
|
-
import { u as m } from "./useAppStore-
|
|
11
|
+
import { u as m } from "./useAppStore-uc8v8XZC.js";
|
|
12
12
|
/* empty css */
|
|
13
13
|
import { b as G } from "./mobile-client-O3yr9h6t.js";
|
|
14
14
|
function ne() {
|
|
@@ -8,7 +8,7 @@ import { useState as f, useRef as Y, useMemo as K, useCallback as w, useEffect a
|
|
|
8
8
|
import { useLocation as ge } from "react-router-dom";
|
|
9
9
|
import { h as W } from "./history-BlrA1eaW.js";
|
|
10
10
|
import { l as he, d as be, e as _e } from "./api-BftpestH.js";
|
|
11
|
-
import { u as c } from "./useAppStore-
|
|
11
|
+
import { u as c } from "./useAppStore-uc8v8XZC.js";
|
|
12
12
|
/* empty css */
|
|
13
13
|
import { b as ye } from "./mobile-client-O3yr9h6t.js";
|
|
14
14
|
import { a as ve, s as we } from "./send-default-agent-team-message-c5oKdQQA.js";
|
|
@@ -7,7 +7,7 @@ import { useMemo as j, useState as f, useRef as q, useCallback as A, useEffect a
|
|
|
7
7
|
import { useLocation as W } from "react-router-dom";
|
|
8
8
|
import { h as y } from "./history-BlrA1eaW.js";
|
|
9
9
|
import { l as Z, j as z, f as H, b as L, p as M } from "./instance-CI6-4BZ6.js";
|
|
10
|
-
import { u as w } from "./useAppStore-
|
|
10
|
+
import { u as w } from "./useAppStore-uc8v8XZC.js";
|
|
11
11
|
import { b as N } from "./mobile-client-O3yr9h6t.js";
|
|
12
12
|
function ct() {
|
|
13
13
|
const m = W(), p = B.parse(m.search), o = String(
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as i, jsx as e, Fragment as le } from "react/jsx-runtime";
|
|
2
2
|
import { useState as u, useEffect as re, useCallback as O } from "react";
|
|
3
3
|
import { a as b, f as $, B, u as D } from "./api-BftpestH.js";
|
|
4
|
-
import { u as F } from "./useAppStore-
|
|
4
|
+
import { u as F } from "./useAppStore-uc8v8XZC.js";
|
|
5
5
|
import { SearchOutlined as Ce, ReloadOutlined as Se, PlusOutlined as Te, FileZipOutlined as Z, CloudDownloadOutlined as Y, EditOutlined as he, UserSwitchOutlined as Ue, ArrowLeftOutlined as fe, UserOutlined as be, CloudUploadOutlined as $e, PictureOutlined as de, EyeOutlined as Be } from "@ant-design/icons";
|
|
6
6
|
import { message as U, Input as H, Tooltip as se, Button as g, Spin as ce, Empty as De, Popconfirm as pe, Tag as ie, Modal as Re, Select as Pe, Upload as me, Tabs as Le } from "antd";
|
|
7
7
|
import ve from "react-markdown";
|
|
8
8
|
import _e from "rehype-highlight";
|
|
9
9
|
import ge from "remark-gfm";
|
|
10
|
-
import { M as oa } from "./index-
|
|
10
|
+
import { M as oa } from "./index-Cw6MIoNv.js";
|
|
11
11
|
function j(a) {
|
|
12
12
|
return a ? `?token=${encodeURIComponent(a)}` : "";
|
|
13
13
|
}
|
|
@@ -7,9 +7,9 @@ import Vp, { defaultUrlTransform as KA } from "react-markdown";
|
|
|
7
7
|
import gp from "rehype-highlight";
|
|
8
8
|
import Jp from "remark-gfm";
|
|
9
9
|
import { ar as xa, as as jA } from "./api-BftpestH.js";
|
|
10
|
-
import { u as Dp } from "./useAppStore-
|
|
11
|
-
import { H as ia, I as oA, J as fA, K as lA, i as xA, M as iA, O as cA, Q as TA, V as vA, X as up, Y as Yp, Z as mp, _ as yp, $ as Ip, a0 as FA, a1 as dA, a2 as OA, a3 as XA } from "./index-
|
|
12
|
-
import { d as RA, e as NA, f as kA, g as WA, h as Cp, j as DA, k as qA, r as uA, l as mA, m as wA, n as BA, o as GA, p as LA, q as zA, t as VA } from "./createWorkspaceWsHandler-
|
|
10
|
+
import { u as Dp } from "./useAppStore-uc8v8XZC.js";
|
|
11
|
+
import { H as ia, I as oA, J as fA, K as lA, i as xA, M as iA, O as cA, Q as TA, V as vA, X as up, Y as Yp, Z as mp, _ as yp, $ as Ip, a0 as FA, a1 as dA, a2 as OA, a3 as XA } from "./index-DyQ9YnMd.js";
|
|
12
|
+
import { d as RA, e as NA, f as kA, g as WA, h as Cp, j as DA, k as qA, r as uA, l as mA, m as wA, n as BA, o as GA, p as LA, q as zA, t as VA } from "./createWorkspaceWsHandler-D8h5BEzH.js";
|
|
13
13
|
import { h as r } from "./index.module-CAa-2T7m.js";
|
|
14
14
|
const gA = "_editorView_as93v_7", JA = "_editorTopBar_as93v_16", bA = "_backBtn_as93v_25", MA = "_titleInput_as93v_39", sA = "_summaryBar_as93v_50", QA = "_summaryInput_as93v_55", hA = "_mdToolbar_as93v_67", YA = "_mdBtn_as93v_77", yA = "_mdSep_as93v_84", IA = "_editorBody_as93v_93", CA = "_tocPanel_as93v_100", ZA = "_tocHeader_as93v_108", EA = "_tocList_as93v_117", _A = "_tocItem_as93v_122", $A = "_tocEmpty_as93v_137", pt = "_textarea_as93v_144", at = "_half_as93v_160", At = "_preview_as93v_163", tt = "_markdown_as93v_173", et = "_videoEmbed_as93v_185", w = {
|
|
15
15
|
editorView: gA,
|
|
@@ -1682,7 +1682,7 @@ const Rt = [
|
|
|
1682
1682
|
draftDeleteBtn: T0,
|
|
1683
1683
|
markdown: v0
|
|
1684
1684
|
}, F0 = HA(
|
|
1685
|
-
() => import("./index-
|
|
1685
|
+
() => import("./index-Cggl78j7.js").then((a) => ({ default: a.MarketContent }))
|
|
1686
1686
|
);
|
|
1687
1687
|
function d0(a) {
|
|
1688
1688
|
const n = [], x = a.split(`
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as r, jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { useState as c, useCallback as b } from "react";
|
|
3
|
-
import { S as N, T as I, P as W } from "./webide-
|
|
4
|
-
import { P as H, S as $, C as B, E as j, a as q, W as h, b as u, T as E, c as K } from "./ScheduledTasks-
|
|
5
|
-
import { p as L } from "./index-
|
|
3
|
+
import { S as N, T as I, P as W } from "./webide-BuUYLPSp.js";
|
|
4
|
+
import { P as H, S as $, C as B, E as j, a as q, W as h, b as u, T as E, c as K } from "./ScheduledTasks-DB3VxAnb.js";
|
|
5
|
+
import { p as L } from "./index-DyQ9YnMd.js";
|
|
6
6
|
function M({
|
|
7
7
|
view: t,
|
|
8
8
|
agents: e,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as e, jsxs as i, Fragment as Ke } from "react/jsx-runtime";
|
|
2
|
-
import { S as pn, T as hn, P as mn } from "./webide-
|
|
2
|
+
import { S as pn, T as hn, P as mn } from "./webide-BuUYLPSp.js";
|
|
3
3
|
import { message as Bt, Tooltip as jt, Dropdown as Yt } from "antd";
|
|
4
4
|
import { RightOutlined as gn, PlusOutlined as fn, LeftOutlined as xn, CheckOutlined as _n, LoadingOutlined as $t, EditOutlined as Jt, DeleteOutlined as On, FolderOpenOutlined as Kt, DownOutlined as Pt, UpOutlined as qt, RedoOutlined as $n, StopOutlined as Pn, CloseOutlined as qn, FolderOutlined as Hn, CopyOutlined as Fn, MessageOutlined as yn, MoreOutlined as jn, DashboardOutlined as bn, MenuUnfoldOutlined as Kn, MenuFoldOutlined as Wn, SettingOutlined as vn, TeamOutlined as Un, BarChartOutlined as Vn, PieChartOutlined as Gn, CodeOutlined as zn, LinkOutlined as Zn, UnorderedListOutlined as Nn, FileTextOutlined as Qt, ReadOutlined as Qn, ConsoleSqlOutlined as Xn, PlayCircleOutlined as Yn, ClockCircleOutlined as Jn, AppstoreOutlined as ea } from "@ant-design/icons";
|
|
5
5
|
import { useState as m, useRef as K, useMemo as fe, useEffect as x, useCallback as V } from "react";
|
|
6
6
|
import { af as ta, ag as kn, k as Re, ah as na, ai as aa, aj as sa, ak as la, al as ia, am as ra, t as oa, an as ca, ao as da, ap as ua } from "./api-BftpestH.js";
|
|
7
|
-
import { l as pa, f as Cn, c as Ht, a as ha, b as ma, u as ga, r as wn, s as fa, t as _a, d as Wt, e as Ut, g as ya, h as ba, i as Tn, j as u, T as va, R as Vt, D as Rt, k as Na, m as ka, F as Gt, P as Ca, L as wa, A as Ta, C as Ia, n as Sa, o as Aa, p as Ba, q as en, v as tn, W as La, w as Da, S as Ra, x as Ea, y as Ma, z as xa, U as Oa, B as $a, E as Pa, G as qa } from "./index-
|
|
8
|
-
import { u as Xt, a as yt, i as In, T as Ha, b as Fa, s as nn } from "./createWorkspaceWsHandler-
|
|
9
|
-
import { u as Pe, s as Lt } from "./useAppStore-
|
|
7
|
+
import { l as pa, f as Cn, c as Ht, a as ha, b as ma, u as ga, r as wn, s as fa, t as _a, d as Wt, e as Ut, g as ya, h as ba, i as Tn, j as u, T as va, R as Vt, D as Rt, k as Na, m as ka, F as Gt, P as Ca, L as wa, A as Ta, C as Ia, n as Sa, o as Aa, p as Ba, q as en, v as tn, W as La, w as Da, S as Ra, x as Ea, y as Ma, z as xa, U as Oa, B as $a, E as Pa, G as qa } from "./index-DyQ9YnMd.js";
|
|
8
|
+
import { u as Xt, a as yt, i as In, T as Ha, b as Fa, s as nn } from "./createWorkspaceWsHandler-D8h5BEzH.js";
|
|
9
|
+
import { u as Pe, s as Lt } from "./useAppStore-uc8v8XZC.js";
|
|
10
10
|
import { h as Sn, f as ja } from "./schedule-ChO2xIGd.js";
|
|
11
11
|
import Ka from "react-markdown";
|
|
12
12
|
import Wa from "rehype-highlight";
|
|
13
13
|
import Ua from "remark-gfm";
|
|
14
|
-
import { W as zt, b as Et, T as An, c as Bn, a as Ln, P as Dn, S as Va, E as Ga, C as za } from "./ScheduledTasks-
|
|
14
|
+
import { W as zt, b as Et, T as An, c as Bn, a as Ln, P as Dn, S as Va, E as Ga, C as za } from "./ScheduledTasks-DB3VxAnb.js";
|
|
15
15
|
const Za = "_container_u2p4q_1", Qa = "_sessionPanel_u2p4q_9", Xa = "_sessionHeader_u2p4q_19", Ya = "_sessionHeaderActions_u2p4q_32", Ja = "_sessionBtnSm_u2p4q_37", es = "_sessionList_u2p4q_55", ts = "_sessionItem_u2p4q_61", ns = "_sessionItemActive_u2p4q_79", as = "_sessionItemTitle_u2p4q_84", ss = "_sessionLiveDot_u2p4q_93", ls = "_sessionItemTime_u2p4q_100", is = "_sessionDeleteBtn_u2p4q_106", rs = "_sessionRenameBtn_u2p4q_127", os = "_sessionRenameInput_u2p4q_148", cs = "_sessionCreateRow_u2p4q_160", ds = "_sessionCreateInput_u2p4q_166", us = "_sessionCreateConfirm_u2p4q_180", ps = "_sessionCreateCancel_u2p4q_181", hs = "_sessionSearchRow_u2p4q_203", ms = "_sessionSearchInput_u2p4q_209", gs = "_sessionSearchClear_u2p4q_224", fs = "_sessionEmpty_u2p4q_245", _s = "_sessionExpandBtn_u2p4q_255", ys = "_chatPanel_u2p4q_275", bs = "_chatHeader_u2p4q_284", vs = "_agentAvatar_u2p4q_296", Ns = "_chatHeaderMeta_u2p4q_309", ks = "_chatHeaderName_u2p4q_317", Cs = "_chatHeaderSession_u2p4q_324", ws = "_chatHeaderBadge_u2p4q_332", Ts = "_streamingIndicator_u2p4q_342", Is = "_threadScroll_u2p4q_351", Ss = "_threadInner_u2p4q_357", As = "_landing_u2p4q_368", Bs = "_landingLogo_u2p4q_378", Ls = "_landingTitle_u2p4q_392", Ds = "_landingHint_u2p4q_398", Rs = "_newChatLanding_u2p4q_404", Es = "_landingComposer_u2p4q_415", Ms = "_landingInput_u2p4q_432", xs = "_chatEmpty_u2p4q_448", Os = "_userRow_u2p4q_459", $s = "_userBubble_u2p4q_464", Ps = "_assistantBlock_u2p4q_478", qs = "_md_u2p4q_488", Hs = "_mdPreWrap_u2p4q_546", Fs = "_mdPreCopy_u2p4q_550", js = "_thinkingHint_u2p4q_585", Ks = "_caretCursor_u2p4q_600", Ws = "_errorBar_u2p4q_617", Us = "_errorRetryBtn_u2p4q_626", Vs = "_stoppedBar_u2p4q_641", Gs = "_scrollTopBtn_u2p4q_651", zs = "_scrollTopBtnVisible_u2p4q_673", Zs = "_composerWrap_u2p4q_684", Qs = "_composer_u2p4q_684", Xs = "_composerInput_u2p4q_706", Ys = "_sendBtn_u2p4q_724", Js = "_stopBtn_u2p4q_725", el = "_sendBtnReady_u2p4q_745", tl = "_composerHint_u2p4q_763", nl = "_msgMeta_u2p4q_773", al = "_copyBtn_u2p4q_784", sl = "_copyBtnInline_u2p4q_814", ll = "_copyBtnDone_u2p4q_821", il = "_landingChips_u2p4q_826", rl = "_landingChip_u2p4q_826", ol = "_userActions_u2p4q_853", cl = "_userActionBtn_u2p4q_866", dl = "_editingBar_u2p4q_889", ul = "_pendingBar_u2p4q_904", pl = "_editingCancel_u2p4q_925", hl = "_workdirBar_u2p4q_942", ml = "_workdirChip_u2p4q_951", gl = "_workdirCaret_u2p4q_978", fl = "_workdirPath_u2p4q_983", _l = "_dirMask_u2p4q_993", yl = "_dirModal_u2p4q_1003", bl = "_dirHead_u2p4q_1014", vl = "_dirClose_u2p4q_1024", Nl = "_dirBar_u2p4q_1041", kl = "_dirUp_u2p4q_1049", Cl = "_dirPathText_u2p4q_1068", wl = "_dirList_u2p4q_1077", Tl = "_dirItem_u2p4q_1084", Il = "_dirEmpty_u2p4q_1109", Sl = "_dirError_u2p4q_1119", Al = "_dirFoot_u2p4q_1125", Bl = "_dirCancel_u2p4q_1133", Ll = "_dirConfirm_u2p4q_1134", r = {
|
|
16
16
|
container: Za,
|
|
17
17
|
sessionPanel: Qa,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as c, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import v, { useState as d, useEffect as _, useMemo as h } from "react";
|
|
3
3
|
import { useLocation as N } from "react-router-dom";
|
|
4
|
-
import { g as b, s as g } from "./ComponentDoc-
|
|
4
|
+
import { g as b, s as g } from "./ComponentDoc-Bqfu128t.js";
|
|
5
5
|
import { i as K, P as x } from "./schedule-ChO2xIGd.js";
|
|
6
6
|
const E = "_banner_2v7mc_1", S = "_dot_2v7mc_18", f = "_text_2v7mc_26", A = "_retry_2v7mc_31", F = "_dismiss_2v7mc_44", P = "_details_2v7mc_57", k = "_method_2v7mc_85", C = "_status_2v7mc_86", D = "_statusNet_2v7mc_87", $ = "_url_2v7mc_88", e = {
|
|
7
7
|
banner: E,
|