@yuku123/z-team-component 0.2.104 → 0.2.105

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 (45) hide show
  1. package/dist/{ChangeLogView-DG-ogBff.js → ChangeLogView-B0ML82u0.js} +1 -1
  2. package/dist/{ComponentDoc-BW1SyDxk.js → ComponentDoc-C_289lsE.js} +12 -12
  3. package/dist/{InvitationManagementPage-hYvoPEcm.js → InvitationManagementPage-D2ezz4ZQ.js} +1 -1
  4. package/dist/{OnboardingPage-KDp-DrzY.js → OnboardingPage-BXsJ-kcJ.js} +2 -2
  5. package/dist/{ScheduledTasks-CErSDgyW.js → ScheduledTasks-Cn8BsDkN.js} +6 -6
  6. package/dist/{SystemShell-DvrY4Bl7.js → SystemShell-gcfNlt2L.js} +4 -4
  7. package/dist/{admin-logs-uPnnclwN.js → admin-logs-B6K1DwRL.js} +5 -5
  8. package/dist/api-BdP8mK8v.js +101 -0
  9. package/dist/{api-B__qdRIf.js → api-DxSgE7qw.js} +1 -1
  10. package/dist/{createWorkspaceWsHandler-BXbn5-Ft.js → createWorkspaceWsHandler-DcNA1pfi.js} +3 -3
  11. package/dist/{index-D-xPVrY3.js → index-54iTaRVW.js} +1 -1
  12. package/dist/{index-0smeCTnr.js → index-BCw3Oxp1.js} +1255 -1255
  13. package/dist/{index-ByhCWenF.js → index-BDq0ofl2.js} +102 -188
  14. package/dist/{index-DtHoMz1H.js → index-BN-o5nZM.js} +1 -1
  15. package/dist/{index-BwJPAN8f.js → index-Bf1K9zpk.js} +19 -19
  16. package/dist/{index-Cb88Xdh4.js → index-BfMFQ6RD.js} +3 -3
  17. package/dist/{index-DIFIvVWE.js → index-C-8n6xxK.js} +2 -2
  18. package/dist/{index-aI2EXKED.js → index-C8m8s-SU.js} +26 -26
  19. package/dist/{index-BK3YDeXH.js → index-CXJXSmhB.js} +6 -6
  20. package/dist/{index-BnJ8UEeZ.js → index-CdugR2_4.js} +3 -3
  21. package/dist/{index-YVtm1SRy.js → index-CeCsncoT.js} +28 -28
  22. package/dist/{index-CkWKJORv.js → index-CgCB0-yK.js} +1 -1
  23. package/dist/{index-DcurzowX.js → index-Cjddvrij.js} +4 -4
  24. package/dist/{index-q_TPea69.js → index-D487Inba.js} +15 -15
  25. package/dist/{index-BOJm25by.js → index-DK71mfJn.js} +1 -1
  26. package/dist/{index-C9fGup9t.js → index-DLHcoHS9.js} +3 -3
  27. package/dist/{index-Cih0yoxc.js → index-DUiFk01c.js} +5 -5
  28. package/dist/{index-2isWwv1X.js → index-DgN13A-E.js} +9 -9
  29. package/dist/{index-DOgCfVB2.js → index-DpLamT1r.js} +2 -2
  30. package/dist/{index-DBnH-lRh.js → index-DszzQwsc.js} +1 -1
  31. package/dist/index-HJ3Kt-NT.js +358 -0
  32. package/dist/{index-BC8f-JP9.js → index-Nj-dlFKY.js} +3 -3
  33. package/dist/{index-C2_tfpEj.js → index-ZuYJoo9E.js} +2 -2
  34. package/dist/{index-DAGa9v8r.js → index-etyS3HY2.js} +2 -2
  35. package/dist/{index-CsaGecGX.js → index-jIh52A4c.js} +6 -6
  36. package/dist/index.js +1 -1
  37. package/dist/{instance-pdQ_wAhB.js → instance-p-ezisoS.js} +5 -5
  38. package/dist/{menuPermission-CCQjJVXg.js → menuPermission-u3Gd_c8S.js} +11 -11
  39. package/dist/pages.js +1 -1
  40. package/dist/{send-default-agent-team-message-BzeR4ahf.js → send-default-agent-team-message-BhIV6T6O.js} +1 -1
  41. package/dist/{sso-user-DI7oiDdc.js → sso-user-Ib1jhF7t.js} +1 -1
  42. package/dist/{training-Bz7Sr5yC.js → training-D3Uy5K_M.js} +1 -1
  43. package/dist/{webide-NcHLDiSn.js → webide-BGQnArzY.js} +3 -3
  44. package/dist/z-team-component.css +1 -1
  45. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { jsxs as n, jsx as a, Fragment as te } from "react/jsx-runtime";
2
- import { l as ve, m as ae, r as Ne, n as Te } from "./ComponentDoc-BW1SyDxk.js";
2
+ import { l as ve, m as ae, r as Ne, n as Te } from "./ComponentDoc-C_289lsE.js";
3
3
  import { message as ie, Button as V, DatePicker as De, Spin as j, Empty as ne, Tag as re } from "antd";
4
4
  import S from "dayjs";
5
5
  import "./echarts-B1OU1xr4.js";
@@ -3962,9 +3962,9 @@ Pa();
3962
3962
  const ne = (e) => {
3963
3963
  const t = wr(e);
3964
3964
  return (n) => /* @__PURE__ */ a(_r, { fallback: null, children: /* @__PURE__ */ a(t, { ...n }) });
3965
- }, Le = ne(() => import("./index-2isWwv1X.js").then((e) => e.ax)), Ea = ne(() => import("./index-aI2EXKED.js")), Ra = ne(() => import("./index-DAGa9v8r.js")), Oa = ne(() => import("./index-Cb88Xdh4.js")), Ma = ne(() => import("./index-q_TPea69.js")), ja = ne(() => import("./index-ByhCWenF.js"));
3966
- ne(() => import("./index-0smeCTnr.js"));
3967
- const Na = ne(() => import("./index-C815hPWS.js")), Ua = ne(() => import("./index-Dpii3P5J.js")), za = ne(() => import("./index-DhDdFRHC.js")), La = ne(() => import("./index-DtHoMz1H.js")), Da = ne(() => import("./index-BOJm25by.js")), Fa = ne(() => import("./index-B_LJRFsK.js")), qa = ne(() => import("./index-CsaGecGX.js"));
3965
+ }, Le = ne(() => import("./index-DgN13A-E.js").then((e) => e.ax)), Ea = ne(() => import("./index-C8m8s-SU.js")), Ra = ne(() => import("./index-etyS3HY2.js")), Oa = ne(() => import("./index-BfMFQ6RD.js")), Ma = ne(() => import("./index-D487Inba.js")), ja = ne(() => import("./index-BDq0ofl2.js"));
3966
+ ne(() => import("./index-BCw3Oxp1.js"));
3967
+ const Na = ne(() => import("./index-C815hPWS.js")), Ua = ne(() => import("./index-Dpii3P5J.js")), za = ne(() => import("./index-DhDdFRHC.js")), La = ne(() => import("./index-BN-o5nZM.js")), Da = ne(() => import("./index-DK71mfJn.js")), Fa = ne(() => import("./index-B_LJRFsK.js")), qa = ne(() => import("./index-jIh52A4c.js"));
3968
3968
  function gl({ forcedMode: e }) {
3969
3969
  const { pathname: t } = Tr(), n = t.replace(/\/+$/, "") || "/";
3970
3970
  return e === "system" ? /* @__PURE__ */ a(Le, { forcedChatMode: $a(n) }) : e === "dev" ? /* @__PURE__ */ a(Le, { forcedChatMode: "dev" }) : n === "/workspace" ? /* @__PURE__ */ a(Le, {}) : n === "/workspace/phone" ? /* @__PURE__ */ a(Ea, {}) : n === "/workspace/from-ticket" ? /* @__PURE__ */ a(Ra, {}) : n === "/workspace/from-scenario" ? /* @__PURE__ */ a(Oa, {}) : n === "/workspace/build-by-form" ? /* @__PURE__ */ a(Ma, {}) : n === "/scenario" ? /* @__PURE__ */ a(ja, {}) : n === "/admin" ? /* @__PURE__ */ a(Le, {}) : n === "/welcome" ? /* @__PURE__ */ a(Ua, {}) : n === "/portal" ? /* @__PURE__ */ a(za, {}) : n === "/chatdemo" ? /* @__PURE__ */ a(Na, {}) : n === "/embed/chat" || n.startsWith("/embed/chat/") ? /* @__PURE__ */ a(qa, {}) : n === "/change-log" ? /* @__PURE__ */ a(La, {}) : n === "/docs" ? /* @__PURE__ */ a(Da, {}) : n === "/download" ? /* @__PURE__ */ a(Fa, {}) : /* @__PURE__ */ a(Le, {});
@@ -7916,7 +7916,7 @@ export {
7916
7916
  Di as ax,
7917
7917
  Vc as ay,
7918
7918
  fi as az,
7919
- bl as b,
7919
+ Ie as b,
7920
7920
  Hc as b$,
7921
7921
  al as b0,
7922
7922
  sl as b1,
@@ -7981,7 +7981,7 @@ export {
7981
7981
  Si as bx,
7982
7982
  wi as by,
7983
7983
  yi as bz,
7984
- we as c,
7984
+ Ht as c,
7985
7985
  Kc as c0,
7986
7986
  Gc as c1,
7987
7987
  Jc as c2,
@@ -8009,14 +8009,14 @@ export {
8009
8009
  wl as co,
8010
8010
  Cl as cp,
8011
8011
  Al as cq,
8012
- $n as d,
8013
- sr as e,
8012
+ bl as d,
8013
+ we as e,
8014
8014
  ge as f,
8015
- di as g,
8016
- ii as h,
8015
+ sr as g,
8016
+ di as h,
8017
8017
  Ha as i,
8018
- si as j,
8019
- Ht as k,
8018
+ ii as j,
8019
+ si as k,
8020
8020
  Qi as l,
8021
8021
  ec as m,
8022
8022
  he as n,
@@ -8026,7 +8026,7 @@ export {
8026
8026
  Vr as r,
8027
8027
  ot as s,
8028
8028
  q as t,
8029
- Ie as u,
8029
+ $n as u,
8030
8030
  Ho as v,
8031
8031
  fl as w,
8032
8032
  yl as x,
@@ -2,7 +2,7 @@ import { jsxs as i, jsx as e, Fragment as A } from "react/jsx-runtime";
2
2
  import { useState as o, useEffect as oe } from "react";
3
3
  import { Form as m, message as l, Button as d, Input as B, Row as ae, Col as z, Card as v, Statistic as O, Alert as T, Space as p, Typography as se, Tabs as de, Popconfirm as F, Tag as h, Tooltip as ce, Modal as he, Radio as S, Select as w, InputNumber as ue } from "antd";
4
4
  import { PlusOutlined as me, ClockCircleOutlined as _, CheckCircleOutlined as $, LinkOutlined as D, CopyOutlined as b, QrcodeOutlined as U, UserDeleteOutlined as K, TeamOutlined as pe, MailOutlined as j, DeleteOutlined as ye, UserAddOutlined as q, CloseCircleOutlined as N } from "@ant-design/icons";
5
- import { l as fe, b as ge, g as ve, c as we, d as be, e as Ce, f as xe } from "./api-B__qdRIf.js";
5
+ import { l as fe, b as ge, g as ve, c as we, d as be, e as Ce, f as xe } from "./api-DxSgE7qw.js";
6
6
  import { PageHeader as Ie, TableToolbar as ke, ListTable as W } from "@yuku123/z-frontend-common/ui";
7
7
  const { Text: c } = se, Me = () => {
8
8
  const [C] = m.useForm(), [M, P] = o(!1), [y, G] = o([]), [L, H] = o([]), [J, Q] = o(null), [u, V] = o(""), [X, x] = o(!1), [Y, R] = o(!1), [a, E] = o(null), [r, Z] = o(localStorage.getItem("userInfo") && JSON.parse(localStorage.getItem("userInfo") || "{}").tenantCode || "");
@@ -3,8 +3,8 @@ import { useState as a, useMemo as oe, useEffect as W } from "react";
3
3
  import { useNavigate as le, useSearchParams as se } from "react-router-dom";
4
4
  import { Form as c, message as o, Spin as ce, Typography as de, Card as d, Tag as x, Empty as me, Row as he, Col as fe, Space as S, Avatar as ge, Pagination as pe, Button as T, Result as ue, Modal as E, Input as k, Alert as U } from "antd";
5
5
  import { RocketOutlined as q, ApartmentOutlined as ye, CheckCircleOutlined as Ce, PlusOutlined as z, KeyOutlined as m, GiftOutlined as ve, HomeOutlined as we, CrownOutlined as be } from "@ant-design/icons";
6
- import { g as xe, a as Se, s as Te, r as ke } from "./api-B__qdRIf.js";
7
- import { b as ze } from "./ComponentDoc-BW1SyDxk.js";
6
+ import { g as xe, a as Se, s as Te, r as ke } from "./api-DxSgE7qw.js";
7
+ import { d as ze } from "./ComponentDoc-C_289lsE.js";
8
8
  const { Title: u, Text: O, Paragraph: Oe } = de, y = 12, Me = () => {
9
9
  const L = le(), [H] = se(), [_, I] = a(!0), [i, $] = a(null), [l, G] = a([]), [A, F] = a(0), [h, B] = a(""), [C, K] = a(1), X = oe(() => {
10
10
  const e = (C - 1) * y;
@@ -4,21 +4,21 @@ import { useState as o, useRef as fe, useMemo as Le, useEffect as te, useCallbac
4
4
  import Mn from "react-markdown";
5
5
  import ss from "rehype-highlight";
6
6
  import En from "remark-gfm";
7
- import { a as ls, f as is, B as os, u as rs, d as dt, ag as Tl, ah as cs, n as Ct, ai as Il, t as ds, aj as xl, ak as Bl, al as Ll, a6 as Wn, a8 as _a, a5 as Al, a7 as Rl, o as $l, am as Dl, an as Ml, T as El, ao as Pl, a4 as Hl, ap as Ol, a0 as jl } from "./ComponentDoc-BW1SyDxk.js";
8
- import { _ as us, j as Fl, $ as Vn, a0 as Gl, a1 as ql, a2 as Ul, r as zl, a3 as Wl, a4 as Vl, a5 as ms, a6 as hs, a7 as Kl, a8 as Jl, a9 as ps, aa as _s, ab as fs, ac as gs, ad as ys, ae as Yl, af as Ql, ag as bs, ah as fa, ai as vs, aj as Xl, F as ga, R as ra, L as ya, P as Zl, D as ei, ak as Ns, al as ti, am as ni, an as ai, ao as si, ap as ba, aq as Ln, ar as ks, k as Cs, as as li, at as ii, au as oi, av as ri, aw as Yt } from "./index-2isWwv1X.js";
9
- import { u as $n, a as ca, i as ws, T as ci, t as di, s as ui, v as mi, w as hi, x as Ss, y as pi } from "./createWorkspaceWsHandler-BXbn5-Ft.js";
7
+ import { a as ls, f as is, B as os, b as rs, u as dt, ag as Tl, ah as cs, n as Ct, ai as Il, t as ds, aj as xl, ak as Bl, al as Ll, a6 as Wn, a8 as _a, a5 as Al, a7 as Rl, o as $l, am as Dl, an as Ml, T as El, ao as Pl, a4 as Hl, ap as Ol, a0 as jl } from "./ComponentDoc-C_289lsE.js";
8
+ import { _ as us, j as Fl, $ as Vn, a0 as Gl, a1 as ql, a2 as Ul, r as zl, a3 as Wl, a4 as Vl, a5 as ms, a6 as hs, a7 as Kl, a8 as Jl, a9 as ps, aa as _s, ab as fs, ac as gs, ad as ys, ae as Yl, af as Ql, ag as bs, ah as fa, ai as vs, aj as Xl, F as ga, R as ra, L as ya, P as Zl, D as ei, ak as Ns, al as ti, am as ni, an as ai, ao as si, ap as ba, aq as Ln, ar as ks, k as Cs, as as li, at as ii, au as oi, av as ri, aw as Yt } from "./index-DgN13A-E.js";
9
+ import { u as $n, a as ca, i as ws, T as ci, t as di, s as ui, v as mi, w as hi, x as Ss, y as pi } from "./createWorkspaceWsHandler-DcNA1pfi.js";
10
10
  import { message as ke, Spin as $t, Input as $e, Switch as _n, Select as Gt, InputNumber as _i, Tabs as fi, Card as gi, Tag as ue, Table as yi, DatePicker as bi, Segmented as vi, Empty as gt, Modal as Pt, Button as J, Space as Ze, Typography as Ni, Radio as Ht, Row as At, Col as lt, List as va, Statistic as ki, Tooltip as da, Form as fn, Progress as cn } from "antd";
11
- import { f as Ci, u as wi, a as Si, b as Ti, s as Ii } from "./webide-NcHLDiSn.js";
11
+ import { f as Ci, u as wi, a as Si, b as Ti, s as Ii } from "./webide-BGQnArzY.js";
12
12
  import an from "dayjs";
13
13
  import * as Dn from "echarts/core";
14
14
  import { BarChart as xi, LineChart as Bi, PieChart as Li } from "echarts/charts";
15
15
  import { GridComponent as Ai, LegendComponent as Ri, TitleComponent as $i, TooltipComponent as Di } from "echarts/components";
16
16
  import { CanvasRenderer as Mi } from "echarts/renderers";
17
- import { a as Ei } from "./instance-pdQ_wAhB.js";
17
+ import { a as Ei } from "./instance-p-ezisoS.js";
18
18
  import { diffLines as Pi } from "diff";
19
19
  import Hi, { DiffMethod as Oi } from "react-diff-viewer-continued";
20
20
  import { format as ji } from "sql-formatter";
21
- import { V as Ts, W as Fi, k as Gi, h as qi, X as Is, Y as Ui, Z as zi, _ as Na, $ as Wi, a0 as Vi, a1 as xs, a2 as Ki, a3 as Ji, a4 as Yi, a5 as Qi, a6 as Xi, a7 as Zi } from "./training-Bz7Sr5yC.js";
21
+ import { V as Ts, W as Fi, k as Gi, h as qi, X as Is, Y as Ui, Z as zi, _ as Na, $ as Wi, a0 as Vi, a1 as xs, a2 as Ki, a3 as Ji, a4 as Yi, a5 as Qi, a6 as Xi, a7 as Zi } from "./training-D3Uy5K_M.js";
22
22
  async function eo(t = {}, s = "") {
23
23
  const a = new URLSearchParams();
24
24
  t.keyword && a.set("keyword", t.keyword), t.category && a.set("category", t.category), t.status !== void 0 && a.set("status", String(t.status)), s && a.set("token", s);
@@ -2,10 +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-CCQjJVXg.js";
6
- import { d as B, y as ge } from "./ComponentDoc-BW1SyDxk.js";
5
+ import { f as he, M as be } from "./menuPermission-u3Gd_c8S.js";
6
+ import { u as B, y as ge } from "./ComponentDoc-C_289lsE.js";
7
7
  import { ProductApp as ke } from "@yuku123/z-product-component";
8
- import { P as _e, R as ye } from "./index-DIFIvVWE.js";
8
+ import { P as _e, R as ye } from "./index-C-8n6xxK.js";
9
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 = {
10
10
  container: Se,
11
11
  sidebar: Ae,
@@ -494,7 +494,7 @@ const Fe = "_shell_10jrt_6", Qe = "_main_10jrt_21", Ye = "_empty_10jrt_31", Ze =
494
494
  emptyText: Ve
495
495
  };
496
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-Cih0yoxc.js"), "AgentTeamIM"), U = t(() => import("./index-Cih0yoxc.js"), "DebugPlayground"), _t = t(() => import("./index-Cih0yoxc.js"), "Overview"), W = t(() => import("./index-Cih0yoxc.js"), "Webide"), yt = u(() => import("./OnboardingPage-KDp-DrzY.js")), St = u(() => import("./InvitationManagementPage-hYvoPEcm.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-BW1SyDxk.js").then((o) => o.cp)), Ct = u(() => import("./ComponentDoc-BW1SyDxk.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-BW1SyDxk.js").then((o) => o.co)), K = u(() => import("@yuku123/z-qa-component"));
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-DUiFk01c.js"), "AgentTeamIM"), U = t(() => import("./index-DUiFk01c.js"), "DebugPlayground"), _t = t(() => import("./index-DUiFk01c.js"), "Overview"), W = t(() => import("./index-DUiFk01c.js"), "Webide"), yt = u(() => import("./OnboardingPage-BXsJ-kcJ.js")), St = u(() => import("./InvitationManagementPage-D2ezz4ZQ.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-C_289lsE.js").then((o) => o.cp)), Ct = u(() => import("./ComponentDoc-C_289lsE.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-C_289lsE.js").then((o) => o.co)), K = u(() => import("@yuku123/z-qa-component"));
498
498
  function Jt() {
499
499
  return /* @__PURE__ */ p("div", { className: h.empty, children: [
500
500
  /* @__PURE__ */ e("div", { className: h.emptyIcon, children: "📋" }),
@@ -1,4 +1,4 @@
1
- import { d as f, q as p, a, f as s, B as r, v as $, u as i } from "./ComponentDoc-BW1SyDxk.js";
1
+ import { u as f, q as p, a, f as s, B as r, v as $, b as i } from "./ComponentDoc-C_289lsE.js";
2
2
  async function m() {
3
3
  f.getState().token && await p().catch(() => {
4
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 });
@@ -93,14 +93,14 @@ async function O(t, e = "") {
93
93
  });
94
94
  return i(o, "取消收藏失败");
95
95
  }
96
- async function R(t, e = 50) {
96
+ async function b(t, e = 50) {
97
97
  const n = await a(
98
98
  `${r}/scenario-instances/${t}/observer-dispatch-logs?limit=${e}`,
99
99
  { ...s }
100
100
  );
101
101
  return i(n, "查询派发日志失败");
102
102
  }
103
- async function b(t, e) {
103
+ async function R(t, e) {
104
104
  const n = await a(
105
105
  `${r}/scenario-instances/${t}/observer-dispatch-logs/${e}`,
106
106
  { ...s }
@@ -182,8 +182,8 @@ export {
182
182
  O as g,
183
183
  N as h,
184
184
  T as i,
185
- R as j,
186
- b as k,
185
+ b as j,
186
+ R as k,
187
187
  P as l,
188
188
  v as m,
189
189
  k as n,
@@ -0,0 +1,101 @@
1
+ import { T as p, c as r } from "./ComponentDoc-C_289lsE.js";
2
+ async function c(t, n) {
3
+ const s = await t.text().catch(() => "");
4
+ let e = {};
5
+ if (s)
6
+ try {
7
+ e = JSON.parse(s);
8
+ } catch {
9
+ if (!t.ok) throw new Error(n);
10
+ return s;
11
+ }
12
+ if (typeof e.success == "boolean") {
13
+ if (e.success)
14
+ return r(e.data !== void 0 ? e.data : !0);
15
+ throw new Error(e.message || n);
16
+ }
17
+ if (!t.ok) throw new Error(n);
18
+ return r(e);
19
+ }
20
+ const o = p;
21
+ async function d(t, n, s) {
22
+ const e = n ? `?token=${encodeURIComponent(n)}` : "", a = {
23
+ ...t,
24
+ extend_params: {
25
+ skip_init_task: "true",
26
+ ...s ?? {}
27
+ }
28
+ }, i = await fetch(`${o}/scenario-instances${e}`, {
29
+ method: "POST",
30
+ credentials: "include",
31
+ headers: {
32
+ Accept: "application/json",
33
+ "Content-Type": "application/json",
34
+ "project-env": "local"
35
+ },
36
+ body: JSON.stringify(a)
37
+ });
38
+ return c(i, "Failed to create scenario instance");
39
+ }
40
+ async function u(t) {
41
+ const n = t ? `?token=${encodeURIComponent(t)}` : "", s = await fetch(`${o}/scenario-instances${n}`, {
42
+ credentials: "include",
43
+ headers: {
44
+ Accept: "application/json",
45
+ "project-env": "local"
46
+ }
47
+ });
48
+ return c(s, "Failed to list scenario instances");
49
+ }
50
+ async function m(t, n, s) {
51
+ const e = s ? `?token=${encodeURIComponent(s)}` : "", a = await fetch(
52
+ `${o}/scenario-instances/${t}/messages${e}`,
53
+ {
54
+ method: "POST",
55
+ credentials: "include",
56
+ headers: {
57
+ Accept: "application/json",
58
+ "Content-Type": "application/json",
59
+ "project-env": "local"
60
+ },
61
+ body: JSON.stringify(n)
62
+ }
63
+ );
64
+ return c(a, "Failed to send message");
65
+ }
66
+ async function f(t, n = 50, s, e) {
67
+ const a = new URLSearchParams({ limit: String(n) });
68
+ e && a.set("token", e);
69
+ const i = await fetch(
70
+ `${o}/scenario-instances/${t}/messages?${a}`,
71
+ {
72
+ credentials: "include",
73
+ headers: {
74
+ Accept: "application/json",
75
+ "project-env": "local"
76
+ }
77
+ }
78
+ );
79
+ return c(i, "Failed to list messages");
80
+ }
81
+ async function h(t, n) {
82
+ const s = n ? `?token=${encodeURIComponent(n)}` : "", e = await fetch(
83
+ // 后端成员列表在 /team(TeamController),没有 /members
84
+ `${o}/scenario-instances/${t}/team${s}`,
85
+ {
86
+ credentials: "include",
87
+ headers: {
88
+ Accept: "application/json",
89
+ "project-env": "local"
90
+ }
91
+ }
92
+ );
93
+ return c(e, "Failed to list members");
94
+ }
95
+ export {
96
+ f as a,
97
+ h as b,
98
+ d as c,
99
+ u as l,
100
+ m as p
101
+ };
@@ -1,5 +1,5 @@
1
1
  import "@yuku123/z-frontend-common";
2
- import { b as a } from "./ComponentDoc-BW1SyDxk.js";
2
+ import { d as a } from "./ComponentDoc-C_289lsE.js";
3
3
  import "react/jsx-runtime";
4
4
  import "react";
5
5
  import "antd";
@@ -3,12 +3,12 @@ import { ShareAltOutlined as mo, EditOutlined as ho, EyeOutlined as Hi, FileText
3
3
  import { message as ze, Drawer as Is, Spin as lt, Input as gn, Button as tt, Segmented as ar, Modal as _n, AutoComplete as or, Typography as Ut, Checkbox as ps, Space as ln, Radio as _a, Skeleton as Gn, Popover as gs, Timeline as fa, Tag as ot, Tooltip as Rn, Tree as ir, Empty as dn, Dropdown as rr, Progress as cr, Collapse as ka } from "antd";
4
4
  import it, { useState as T, useRef as Te, useEffect as oe, useCallback as q, useMemo as ye, useContext as lr, createContext as dr, useLayoutEffect as vo, memo as To, useImperativeHandle as ur } from "react";
5
5
  import { createPortal as No } from "react-dom";
6
- import { a as be, aE as fn, f as Le, u as Je, B as Ee, v as Xe, aa as mr, d as F, n as Wt, aF as Co, ay as So, a6 as J, aC as hr, aG as As, aH as Zn, t as Ae, aI as pr, aJ as gr, aK as _r, at as je, aL as fr, aM as wo, aN as Io, aO as xs, aP as kr, aQ as Ao, aR as xo, aS as Lo, aT as Bo, aU as _s, aV as Ls, aW as yr, aX as br, aY as vr, aZ as Tr, a_ as Nr, a$ as Cr, b0 as Rt, b1 as Pt, b2 as Sr, b3 as wr, b4 as Ir, c as un, b5 as Ar, b6 as xr, b7 as Lr, b8 as Br, b9 as Rr, ba as Pr, bb as $r, bc as Er, bd as Dr, be as Mr, bf as Bs, bg as Or, bh as Fr, o as Hr, bi as qr, bj as ya, bk as Ro, T as Rs, bl as St, bm as ba, s as jr, bn as Gr, bo as Wr, bp as va, as as Ta, bq as Ur, br as zr, bs as Vr, bt as Na, bu as Jr } from "./ComponentDoc-BW1SyDxk.js";
7
- import { d as Kr, e as Qr, j as Yr, g as Xr, r as Zr, h as ec, i as tc, k as nc, m as sc } from "./instance-pdQ_wAhB.js";
6
+ import { a as be, aE as fn, f as Le, b as Je, B as Ee, v as Xe, aa as mr, u as F, n as Wt, aF as Co, ay as So, a6 as J, aC as hr, aG as As, aH as Zn, t as Ae, aI as pr, aJ as gr, aK as _r, at as je, aL as fr, aM as wo, aN as Io, aO as xs, aP as kr, aQ as Ao, aR as xo, aS as Lo, aT as Bo, aU as _s, aV as Ls, aW as yr, aX as br, aY as vr, aZ as Tr, a_ as Nr, a$ as Cr, b0 as Rt, b1 as Pt, b2 as Sr, b3 as wr, b4 as Ir, e as un, b5 as Ar, b6 as xr, b7 as Lr, b8 as Br, b9 as Rr, ba as Pr, bb as $r, bc as Er, bd as Dr, be as Mr, bf as Bs, bg as Or, bh as Fr, o as Hr, bi as qr, bj as ya, bk as Ro, T as Rs, bl as St, bm as ba, s as jr, bn as Gr, bo as Wr, bp as va, as as Ta, bq as Ur, br as zr, bs as Vr, bt as Na, bu as Jr } from "./ComponentDoc-C_289lsE.js";
7
+ import { d as Kr, e as Qr, j as Yr, g as Xr, r as Zr, h as ec, i as tc, k as nc, m as sc } from "./instance-p-ezisoS.js";
8
8
  import ft from "react-markdown";
9
9
  import Bn from "rehype-highlight";
10
10
  import kt from "remark-gfm";
11
- import { i as ac, u as oc, e as ic, j as rc, k as cc, t as lc } from "./admin-logs-uPnnclwN.js";
11
+ import { i as ac, u as oc, e as ic, j as rc, k as cc, t as lc } from "./admin-logs-B6K1DwRL.js";
12
12
  import Ge from "handlebars";
13
13
  async function dc(e) {
14
14
  try {
@@ -1,4 +1,4 @@
1
- import { a as h, f as _, B as N, v as A, t as g } from "./ComponentDoc-BW1SyDxk.js";
1
+ import { a as h, f as _, B as N, v as A, t as g } from "./ComponentDoc-C_289lsE.js";
2
2
  import { jsx as p, jsxs as I } from "react/jsx-runtime";
3
3
  import { useMemo as S, useState as C, useEffect as G, Component as L } from "react";
4
4
  function $(t) {