@yuku123/z-team-component 0.2.91 → 0.2.93

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.
Files changed (54) hide show
  1. package/dist/{ChangeLogView-DagOxr6O.js → ChangeLogView-BjV4gBq4.js} +12 -12
  2. package/dist/ComponentDoc-C9lt-45y.js +8035 -0
  3. package/dist/{InvitationManagementPage-DYoqQA0v.js → InvitationManagementPage-CWtBWLd9.js} +1 -1
  4. package/dist/{OnboardingPage-D2Gm8MRd.js → OnboardingPage-B2fwh4gu.js} +2 -2
  5. package/dist/{ScheduledTasks-DB3VxAnb.js → ScheduledTasks-CuQyjAK-.js} +4341 -4337
  6. package/dist/{SystemShell-D3jHItxY.js → SystemShell-CTkRb3jk.js} +11 -12
  7. package/dist/admin-logs-Dh41ezP6.js +198 -0
  8. package/dist/{api-DYsAzJJo.js → api-ChrRZOc4.js} +1 -1
  9. package/dist/createWorkspaceWsHandler-DMw_Vk6i.js +13135 -0
  10. package/dist/{index-152G-_4j.js → index-3JPBTMXq.js} +5 -6
  11. package/dist/{index-CLD5lLa6.js → index-7glbcqX1.js} +19 -19
  12. package/dist/{index-CSpckSHg.js → index-BYpA6zMn.js} +23 -23
  13. package/dist/{index-BydWNuk5.js → index-BZCQSW-G.js} +44 -51
  14. package/dist/{index-CLfhHxPf.js → index-B_2fxZ6u.js} +1 -1
  15. package/dist/{index-B5dDwxhs.js → index-BnRRZ6Iv.js} +1 -1
  16. package/dist/{index-W_4faD_M.js → index-C-XgeN0c.js} +2 -2
  17. package/dist/index-CA0ql0r3.js +3495 -0
  18. package/dist/{index-CgWa7RFv.js → index-CIGBLmd6.js} +23 -24
  19. package/dist/{index-Cggl78j7.js → index-CLSOhZRs.js} +5 -6
  20. package/dist/index-CLnmI_a7.js +316 -0
  21. package/dist/{index-BfzgRKii.js → index-CSXrOBjf.js} +90 -91
  22. package/dist/{index-ues0LW7p.js → index-CdqU0NUf.js} +1257 -1258
  23. package/dist/{index-BMQ6XkO3.js → index-CnWYolUK.js} +1 -1
  24. package/dist/{index-CYyFYmlZ.js → index-CrQpBHe1.js} +8 -9
  25. package/dist/{index-BZ12pY96.js → index-D1_tbmUH.js} +2 -2
  26. package/dist/{index-CZyFAmEq.js → index-DNo7i9f6.js} +10 -11
  27. package/dist/{index-DE82vM_4.js → index-DPyEBso8.js} +19 -18
  28. package/dist/{index-DyQ9YnMd.js → index-DdvzONMo.js} +3663 -3537
  29. package/dist/{index-Dwqa30HZ.js → index-Dq4oBpcb.js} +4 -4
  30. package/dist/{index-C8cR7lJw.js → index-DtIPLfks.js} +10 -11
  31. package/dist/{index-Cw6MIoNv.js → index-Dy6vNz1c.js} +6 -7
  32. package/dist/{index-VGtET31b.js → index-bkqC-Ys8.js} +1 -1
  33. package/dist/{index-E4Q6JmzX.js → index-fab1eszg.js} +3 -3
  34. package/dist/{index-BYe87pnq.js → index-vIdK5WMU.js} +11 -12
  35. package/dist/index.js +1 -1
  36. package/dist/{instance-CI6-4BZ6.js → instance-BY043pYn.js} +1 -1
  37. package/dist/{menuPermission-C33I6ujb.js → menuPermission-BeYwZcoW.js} +11 -11
  38. package/dist/pages.js +8 -8
  39. package/dist/{send-default-agent-team-message-c5oKdQQA.js → send-default-agent-team-message-BN61cG7q.js} +1 -1
  40. package/dist/{sso-user-DToM5dPy.js → sso-user-DmsDr1MJ.js} +1 -1
  41. package/dist/{training-B38tnwLL.js → training-CU6j5m-5.js} +1 -1
  42. package/dist/webide-BYaEjOx6.js +5233 -0
  43. package/dist/z-team-component.css +1 -26
  44. package/package.json +3 -2
  45. package/dist/ComponentDoc-Bqfu128t.js +0 -3998
  46. package/dist/admin-logs-ogvMwS4O.js +0 -302
  47. package/dist/api-BftpestH.js +0 -2156
  48. package/dist/createWorkspaceWsHandler-D8h5BEzH.js +0 -13030
  49. package/dist/index-BaCqZeiw.js +0 -1143
  50. package/dist/index-CUVdeb8y.js +0 -638
  51. package/dist/index-DVaTGA2z.js +0 -3488
  52. package/dist/schedule-ChO2xIGd.js +0 -625
  53. package/dist/useAppStore-uc8v8XZC.js +0 -1920
  54. package/dist/webide-BuUYLPSp.js +0 -8399
@@ -2,11 +2,10 @@ 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-C33I6ujb.js";
6
- import { u as B } from "./useAppStore-uc8v8XZC.js";
7
- import { ProductApp as ge } from "@yuku123/z-product-component";
8
- import { P as ke, R as _e } from "./index-Dwqa30HZ.js";
9
- import { b as ye } from "./ComponentDoc-Bqfu128t.js";
5
+ import { f as he, M as be } from "./menuPermission-BeYwZcoW.js";
6
+ import { d as B, y as ge } from "./ComponentDoc-C9lt-45y.js";
7
+ import { ProductApp as ke } from "@yuku123/z-product-component";
8
+ import { P as _e, R as ye } from "./index-Dq4oBpcb.js";
10
9
  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
10
  container: Se,
12
11
  sidebar: Ae,
@@ -494,8 +493,8 @@ const Fe = "_shell_10jrt_6", Qe = "_main_10jrt_21", Ye = "_empty_10jrt_31", Ze =
494
493
  emptyIcon: Ze,
495
494
  emptyText: Ve
496
495
  };
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-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"));
496
+ ge();
497
+ 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-BYpA6zMn.js"), "AgentTeamIM"), U = t(() => import("./index-BYpA6zMn.js"), "DebugPlayground"), _t = t(() => import("./index-BYpA6zMn.js"), "Overview"), W = t(() => import("./index-BYpA6zMn.js"), "Webide"), yt = u(() => import("./OnboardingPage-B2fwh4gu.js")), St = u(() => import("./InvitationManagementPage-CWtBWLd9.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-C9lt-45y.js").then((o) => o.cp)), Ct = u(() => import("./ComponentDoc-C9lt-45y.js").then((o) => o.cq)), 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-C9lt-45y.js").then((o) => o.co)), K = u(() => import("@yuku123/z-qa-component"));
499
498
  function Jt() {
500
499
  return /* @__PURE__ */ p("div", { className: h.empty, children: [
501
500
  /* @__PURE__ */ e("div", { className: h.emptyIcon, children: "📋" }),
@@ -581,7 +580,7 @@ const F = [
581
580
  // 产品域的默认落地页是工坊:它是「一个面板干完产品业务开发」的入口,
582
581
  // 全景/蓝图是看板,不是第一动作。
583
582
  { path: "/z-product", element: /* @__PURE__ */ e(l, { to: "/z-product/atelier", replace: !0 }) },
584
- { path: "/z-product/*", element: /* @__PURE__ */ e(ge, { basePath: "/z-product" }) },
583
+ { path: "/z-product/*", element: /* @__PURE__ */ e(ke, { basePath: "/z-product" }) },
585
584
  // 旧前缀 /product/* → 新前缀 /z-product/*:§14 前缀化之前的老 URL 仍可达(书签 / 旧分享链接)。
586
585
  { path: "/product", element: /* @__PURE__ */ e(l, { to: "/z-product/atelier", replace: !0 }) },
587
586
  { path: "/product/*", element: /* @__PURE__ */ e(Xt, {}) },
@@ -666,7 +665,7 @@ function ta(o, s) {
666
665
  const r = "^" + o.replace(/[.+?^${}()|[\]\\]/g, "\\$&").replace(/\*/g, ".*").replace(/:([a-zA-Z_][a-zA-Z0-9_]*)/g, "[^/]+") + "$";
667
666
  return new RegExp(r).test(s);
668
667
  }
669
- function ma() {
668
+ function ia() {
670
669
  Q();
671
670
  const { pathname: o } = M(), s = o.startsWith("/test/"), r = g(() => o, [o]), k = g(() => ea(o), [o]);
672
671
  return /* @__PURE__ */ p("div", { className: h.shell, children: [
@@ -679,11 +678,11 @@ function ma() {
679
678
  }
680
679
  ),
681
680
  /* @__PURE__ */ p("main", { className: h.main, children: [
682
- /* @__PURE__ */ e(ke, {}),
683
- /* @__PURE__ */ e(_e, { resetKey: o, children: /* @__PURE__ */ e(oe, { fallback: /* @__PURE__ */ e("div", { className: h.empty, children: "加载中…" }), children: k }) })
681
+ /* @__PURE__ */ e(_e, {}),
682
+ /* @__PURE__ */ e(ye, { resetKey: o, children: /* @__PURE__ */ e(oe, { fallback: /* @__PURE__ */ e("div", { className: h.empty, children: "加载中…" }), children: k }) })
684
683
  ] })
685
684
  ] });
686
685
  }
687
686
  export {
688
- ma as default
687
+ ia as default
689
688
  };
@@ -0,0 +1,198 @@
1
+ import { d as f, q as p, a, f as s, B as r, v as $, u as i } from "./ComponentDoc-C9lt-45y.js";
2
+ async function m() {
3
+ f.getState().token && await p().catch(() => {
4
+ }), 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, f.setState({ currentUser: null, token: "", currentProject: void 0 });
5
+ }
6
+ async function y(t = "", e = !1) {
7
+ const n = new URLSearchParams();
8
+ t && n.set("token", t), e && n.set("allUsers", "true");
9
+ const o = n.toString() ? `?${n.toString()}` : "", c = await a(`${r}/personal-note/tree${o}`, s);
10
+ return $(c, "获取笔记文件树失败");
11
+ }
12
+ async function g(t, e = "") {
13
+ const n = e ? `?token=${encodeURIComponent(e)}` : "", o = await a(`${r}/personal-note${n}`, {
14
+ ...s,
15
+ method: "POST",
16
+ headers: { "Content-Type": "application/json" },
17
+ body: JSON.stringify(t)
18
+ });
19
+ return i(o, "新建笔记失败");
20
+ }
21
+ async function h(t, e = "") {
22
+ const n = e ? `?token=${encodeURIComponent(e)}` : "", o = await a(`${r}/personal-note/${t}${n}`, s);
23
+ return $(o, "获取笔记内容失败");
24
+ }
25
+ async function w(t, e, n = "") {
26
+ const o = n ? `?token=${encodeURIComponent(n)}` : "", c = await a(`${r}/personal-note/${t}${o}`, {
27
+ ...s,
28
+ method: "PUT",
29
+ headers: { "Content-Type": "application/json" },
30
+ body: JSON.stringify(e)
31
+ });
32
+ return i(c, "保存笔记失败");
33
+ }
34
+ async function S(t, e, n = "") {
35
+ const o = n ? `?token=${encodeURIComponent(n)}` : "", c = await a(`${r}/personal-note/${t}/rename${o}`, {
36
+ ...s,
37
+ method: "PUT",
38
+ headers: { "Content-Type": "application/json" },
39
+ body: JSON.stringify({ title: e })
40
+ });
41
+ return i(c, "重命名失败");
42
+ }
43
+ async function v(t, e, n = "") {
44
+ const o = n ? `?token=${encodeURIComponent(n)}` : "", c = await a(`${r}/personal-note/${t}/move${o}`, {
45
+ ...s,
46
+ method: "PUT",
47
+ headers: { "Content-Type": "application/json" },
48
+ body: JSON.stringify(e)
49
+ });
50
+ return i(c, "移动节点失败");
51
+ }
52
+ async function C(t, e = "") {
53
+ const n = e ? `?token=${encodeURIComponent(e)}` : "", o = await a(`${r}/personal-note/${t}${n}`, {
54
+ ...s,
55
+ method: "DELETE"
56
+ });
57
+ return i(o, "删除笔记失败");
58
+ }
59
+ async function T(t, e, n, o = "") {
60
+ const c = new URLSearchParams();
61
+ c.set("bindKey", t), c.set("defaultTitle", e), c.set("extraInfo", n), o && c.set("token", o);
62
+ const l = await a(
63
+ `${r}/personal-note/bound?${c.toString()}`,
64
+ s
65
+ );
66
+ return $(l, "获取绑定笔记失败");
67
+ }
68
+ async function I(t, e = "") {
69
+ const n = e ? `?token=${encodeURIComponent(e)}` : "", o = await a(`${r}/personal-note/${t}/share${n}`, {
70
+ ...s,
71
+ method: "POST"
72
+ });
73
+ return i(o, "生成分享链接失败");
74
+ }
75
+ async function U(t = "") {
76
+ const e = t ? `?token=${encodeURIComponent(t)}` : "", n = await a(
77
+ `${r}/personal-note/favorites${e}`,
78
+ s
79
+ );
80
+ return $(n, "获取收藏列表失败");
81
+ }
82
+ async function N(t, e = "") {
83
+ const n = e ? `?token=${encodeURIComponent(e)}` : "", o = await a(`${r}/personal-note/${t}/favorite${n}`, {
84
+ ...s,
85
+ method: "POST"
86
+ });
87
+ return i(o, "收藏笔记失败");
88
+ }
89
+ async function O(t, e = "") {
90
+ const n = e ? `?token=${encodeURIComponent(e)}` : "", o = await a(`${r}/personal-note/${t}/favorite${n}`, {
91
+ ...s,
92
+ method: "DELETE"
93
+ });
94
+ return i(o, "取消收藏失败");
95
+ }
96
+ async function R(t, e = 50) {
97
+ const n = await a(
98
+ `${r}/scenario-instances/${t}/observer-dispatch-logs?limit=${e}`,
99
+ { ...s }
100
+ );
101
+ return i(n, "查询派发日志失败");
102
+ }
103
+ async function b(t, e) {
104
+ const n = await a(
105
+ `${r}/scenario-instances/${t}/observer-dispatch-logs/${e}`,
106
+ { ...s }
107
+ );
108
+ return i(n, "查询派发日志详情失败");
109
+ }
110
+ async function q(t) {
111
+ const e = await a(
112
+ `${r}/scenario-instances/${t}/observer/trigger`,
113
+ { ...s, method: "POST" }
114
+ );
115
+ return i(e, "触发观察失败");
116
+ }
117
+ function u(t) {
118
+ const e = new URLSearchParams();
119
+ Object.entries(t).forEach(([o, c]) => {
120
+ if (!(c == null || c === "")) {
121
+ if (Array.isArray(c)) {
122
+ c.forEach((l) => {
123
+ l != null && l !== "" && e.append(o, String(l));
124
+ });
125
+ return;
126
+ }
127
+ e.append(o, String(c));
128
+ }
129
+ });
130
+ const n = e.toString();
131
+ return n ? `?${n}` : "";
132
+ }
133
+ async function E(t) {
134
+ const e = await a(
135
+ `${r}/admin/tool-call-logs${u(t)}`,
136
+ s
137
+ );
138
+ return i(e, "查询工具调用日志失败");
139
+ }
140
+ async function L(t, e = "") {
141
+ const n = await a(
142
+ `${r}/admin/tool-call-logs/${t}${u({ token: e })}`,
143
+ s
144
+ );
145
+ return i(n, "查询工具调用日志详情失败");
146
+ }
147
+ async function P(t = "") {
148
+ const e = await a(
149
+ `${r}/admin/tool-call-logs/tool-types${u({ token: t })}`,
150
+ s
151
+ );
152
+ return i(e, "查询工具类型失败");
153
+ }
154
+ async function k(t = "") {
155
+ const e = await a(
156
+ `${r}/admin/tool-call-logs/agents/names${u({ token: t })}`,
157
+ s
158
+ );
159
+ return i(e, "查询 Agent 名称失败");
160
+ }
161
+ async function j(t) {
162
+ const e = await a(
163
+ `${r}/admin/tool-call-logs/stats${u(t)}`,
164
+ s
165
+ );
166
+ return i(e, "查询工具调用统计失败");
167
+ }
168
+ async function A(t) {
169
+ const e = await a(
170
+ `${r}/admin/tool-call-logs/overview${u(t)}`,
171
+ s
172
+ );
173
+ return i(e, "查询工具调用概览统计失败");
174
+ }
175
+ export {
176
+ U as a,
177
+ h as b,
178
+ g as c,
179
+ C as d,
180
+ I as e,
181
+ y as f,
182
+ O as g,
183
+ N as h,
184
+ T as i,
185
+ R as j,
186
+ b as k,
187
+ P as l,
188
+ v as m,
189
+ k as n,
190
+ E as o,
191
+ L as p,
192
+ A as q,
193
+ S as r,
194
+ m as s,
195
+ q as t,
196
+ w as u,
197
+ j as v
198
+ };
@@ -1,5 +1,5 @@
1
1
  import "@yuku123/z-frontend-common";
2
- import { a } from "./ComponentDoc-Bqfu128t.js";
2
+ import { b as a } from "./ComponentDoc-C9lt-45y.js";
3
3
  import "react/jsx-runtime";
4
4
  import "react";
5
5
  import "antd";