@yuku123/z-team-component 0.2.136 → 0.2.137

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 (44) hide show
  1. package/dist/{AdminModuleContent-T7ZXoVAV.js → AdminModuleContent-B1YxyaNI.js} +202 -202
  2. package/dist/{ChangeLogView-ChmYvz8Z.js → ChangeLogView-BKQfeeag.js} +1 -1
  3. package/dist/{ComponentDoc-D5Gbd6B_.js → ComponentDoc-DHTIWtcE.js} +3 -3
  4. package/dist/{InvitationManagementPage-kaqwNuPz.js → InvitationManagementPage-DgVqNUvK.js} +1 -1
  5. package/dist/{OnboardingPage-Cy_sPHS1.js → OnboardingPage-DiBVtw23.js} +2 -2
  6. package/dist/{ScheduledTasks-GAP-U6s9.js → ScheduledTasks-DuR4sg4k.js} +6 -6
  7. package/dist/{SystemShell-69TBLWk8.js → SystemShell-DoMowhBn.js} +265 -262
  8. package/dist/{admin-logs-BdwcT77i.js → admin-logs-BZasxvF5.js} +1 -1
  9. package/dist/{api-B0S5AhOe.js → api-BhdcdwWj.js} +1 -1
  10. package/dist/{api-6nYxtAbN.js → api-CELjpxxS.js} +1 -1
  11. package/dist/{createWorkspaceWsHandler-B9UE_uoO.js → createWorkspaceWsHandler-SY-wVjjh.js} +3 -3
  12. package/dist/{index-C7DP8H_Q.js → index-B0xiWAhM.js} +2964 -2962
  13. package/dist/{index-tln7BkiQ.js → index-B2iHgJnx.js} +6 -6
  14. package/dist/{index-DgYhtv8V.js → index-B3K7b3Bf.js} +4 -4
  15. package/dist/{index-CnKYpM41.js → index-B6Nj2_Zo.js} +1 -1
  16. package/dist/{index-DOYSz9Bg.js → index-BB7G9ZN4.js} +1 -1
  17. package/dist/{index-B0f8tIBU.js → index-BDZOz1cm.js} +2 -2
  18. package/dist/{index-T4Rvjyn0.js → index-BHBuOhK5.js} +3 -3
  19. package/dist/{index-DJ2TNQP6.js → index-Btpel9AF.js} +2 -2
  20. package/dist/{index-DbThmpZg.js → index-Bwe4EN63.js} +1 -1
  21. package/dist/{index-DJu6AFf9.js → index-CV3kkXgP.js} +3 -3
  22. package/dist/{index-Y9EcfhJG.js → index-C_OjaGAs.js} +3 -3
  23. package/dist/{index-BWaPbYG2.js → index-Cd3a7nol.js} +2 -2
  24. package/dist/{index-CCsvaPw9.js → index-CtFdsOsR.js} +2 -2
  25. package/dist/{index-CazCOFR2.js → index-Cxvua23F.js} +2 -2
  26. package/dist/{index-g36zRqmZ.js → index-D3YkA5j4.js} +5 -5
  27. package/dist/{index-B6n7ueTc.js → index-D9NoVz2x.js} +2 -2
  28. package/dist/{index-eqbuW74W.js → index-DOdAlZfA.js} +5 -5
  29. package/dist/{index-BC6eLVMc.js → index-DSH-wcoD.js} +1 -1
  30. package/dist/{index-BQYKmytF.js → index-DkF5EnSi.js} +2 -2
  31. package/dist/{index-CE1Vtf-B.js → index-DlxfYOdw.js} +1 -1
  32. package/dist/{index-DNAeZe0a.js → index-DpiQW5SO.js} +4 -4
  33. package/dist/{index-CX19wylA.js → index-NfGgVmob.js} +3 -3
  34. package/dist/{index-cY1tZiV2.js → index-X-n1B8fi.js} +3 -3
  35. package/dist/index.js +1 -1
  36. package/dist/{instance-ChzeFK3e.js → instance-BOFjc82M.js} +1 -1
  37. package/dist/{menuPermission-DDzb20pQ.js → menuPermission-Dfwf-EJP.js} +3 -3
  38. package/dist/pages.js +1 -1
  39. package/dist/{send-default-agent-team-message-DOgtkW6m.js → send-default-agent-team-message-CvPaOp3a.js} +1 -1
  40. package/dist/{sso-user-DaRbfrdM.js → sso-user-CAWQupk5.js} +1 -1
  41. package/dist/{training-N-5-qsDf.js → training-BYjqU8sn.js} +1 -1
  42. package/dist/{webide-BEV0VT3u.js → webide-CDZpzRfx.js} +3 -3
  43. package/dist/z-team-component.css +1 -1
  44. package/package.json +1 -1
@@ -1,15 +1,15 @@
1
1
  import { jsxs as n, jsx as e, Fragment as Ke } from "react/jsx-runtime";
2
- import { Form as Ve, Space as Ye, Input as me, Button as b, Typography as gt, Card as Qn, Empty as It, Table as At, Modal as et, Divider as Un, Select as Fe, InputNumber as zn, Switch as yn, message as m, Tooltip as ge, Tag as U, Spin as ot, Drawer as bn, Tabs as bt, Alert as an, Radio as Rn, Collapse as sn, Popconfirm as nn, DatePicker as Bn, Row as Sr, Col as la, Statistic as dn, Skeleton as Ks, Dropdown as Ur, Descriptions as kt, List as Ba, Layout as Ld, Tree as Ed, Checkbox as na, Steps as mm, Upload as hm, Progress as Gr, Image as Dd, Badge as Gn, AutoComplete as pm, Breadcrumb as Li } from "antd";
2
+ import { Form as Ve, Space as Ye, Input as me, Button as b, Typography as gt, Card as Qn, Empty as At, Table as kt, Modal as et, Divider as Un, Select as Fe, InputNumber as zn, Switch as yn, message as m, Tooltip as ge, Tag as U, Spin as ot, Drawer as bn, Tabs as bt, Alert as an, Radio as Rn, Collapse as sn, Popconfirm as nn, DatePicker as Bn, Row as Sr, Col as la, Statistic as dn, Skeleton as Ks, Dropdown as Ur, Descriptions as xt, List as Ba, Layout as Ld, Tree as Ed, Checkbox as na, Steps as mm, Upload as hm, Progress as Gr, Image as Dd, Badge as Gn, AutoComplete as pm, Breadcrumb as Li } from "antd";
3
3
  import { useState as i, useEffect as ke, useCallback as re, useMemo as Ee, useRef as zt, useLayoutEffect as Rd } from "react";
4
4
  import { useNavigate as gm } from "react-router-dom";
5
- import fm from "./index-DOYSz9Bg.js";
6
- import { c as ym, d as _m, e as qr, g as Od, h as vm, i as ns, j as Ei, k as bm, l as Cm, r as Nm, u as wm, m as Tm, n as Sm, f as km, o as xm, p as Im, v as Am, q as $m, t as Lm, w as Em, x as Dm, y as Rm, z as Om, A as zm, B as Pm, C as Mm, D as kr, E as zd, F as Bm, G as Fm, H as Hm, I as jm, J as Um, K as Co, L as Gm, M as qm, N as No, O as si, Q as Wm, R as Vm, T as Ym, U as Km, V as Jm, W as Qm, X as Xm, Y as Zm, Z as eh, _ as th, $ as nh, a0 as ah, a1 as lh, a2 as sh, a3 as ih, a4 as rh, a5 as oh, a6 as ch, a7 as dh, a8 as uh, a9 as mh, aa as hh, ab as Ce, ac as Zt, ad as Xe, ae as il, af as Pd, ag as Md, ah as xr, ai as xa, aj as Et, ak as Ga, al, am as ph, an as gh, ao as ua, ap as Wr, aq as fh, ar as yh, as as _h, at as vh, au as bh, av as Ch, aw as Nh, ax as wh, ay as Th, az as Sh, aA as kh, aB as xh, aC as Ih, aD as Ah, aE as $h, aF as Lh, aG as wo, aH as Eh, P as Dh, S as Rh } from "./webide-BEV0VT3u.js";
7
- import { a as ct, f as Dt, B as Ct, b as yt, bu as Vr, u as xt, bv as Oh, t as st, bw as zh, bx as Ph, ad as Mh, by as Bh, n as In, bz as Fh, ax as Hh, bA as jh, bB as To, bC as Uh, bD as Gh, bE as qh, a7 as ra, bF as Wh, e as ls, a4 as Js, bG as ds, bH as Di, bI as Dl, bJ as So, bK as Vh, bL as Yh, bM as Kh, bN as Jh, bO as Qh, bP as Xh, bQ as Zh, bR as ep, bS as tp, bT as np, bU as ap, bV as lp, bW as ko, bX as sp, bY as xo, bZ as Io, b_ as ip, b$ as rp, c0 as op, c1 as cp, c2 as dp, c3 as up, az as Bd, bl as Ao, c4 as Yr, c5 as Kr, c6 as Qs, ai as mp, c7 as hp, c8 as pp, c9 as gp, ca as fp, cb as yp, cc as _p, cd as vp, ce as bp, cf as Cp, cg as Np, ch as wp, ci as Tp, cj as Sp, ck as Fd, cl as kp, cm as xp } from "./ComponentDoc-D5Gbd6B_.js";
5
+ import fm from "./index-BB7G9ZN4.js";
6
+ import { c as ym, d as _m, e as qr, g as Od, h as vm, i as ns, j as Ei, k as bm, l as Cm, r as Nm, u as wm, m as Tm, n as Sm, f as km, o as xm, p as Im, v as Am, q as $m, t as Lm, w as Em, x as Dm, y as Rm, z as Om, A as zm, B as Pm, C as Mm, D as kr, E as zd, F as Bm, G as Fm, H as Hm, I as jm, J as Um, K as Co, L as Gm, M as qm, N as No, O as si, Q as Wm, R as Vm, T as Ym, U as Km, V as Jm, W as Qm, X as Xm, Y as Zm, Z as eh, _ as th, $ as nh, a0 as ah, a1 as lh, a2 as sh, a3 as ih, a4 as rh, a5 as oh, a6 as ch, a7 as dh, a8 as uh, a9 as mh, aa as hh, ab as Ce, ac as Zt, ad as Xe, ae as il, af as Pd, ag as Md, ah as xr, ai as xa, aj as Et, ak as Ga, al, am as ph, an as gh, ao as ua, ap as Wr, aq as fh, ar as yh, as as _h, at as vh, au as bh, av as Ch, aw as Nh, ax as wh, ay as Th, az as Sh, aA as kh, aB as xh, aC as Ih, aD as Ah, aE as $h, aF as Lh, aG as wo, aH as Eh, P as Dh, S as Rh } from "./webide-CDZpzRfx.js";
7
+ import { a as ct, f as Dt, B as Ct, b as yt, bu as Vr, u as It, bv as Oh, t as st, bw as zh, bx as Ph, ad as Mh, by as Bh, n as In, bz as Fh, ax as Hh, bA as jh, bB as To, bC as Uh, bD as Gh, bE as qh, a7 as ra, bF as Wh, e as ls, a4 as Js, bG as ds, bH as Di, bI as Dl, bJ as So, bK as Vh, bL as Yh, bM as Kh, bN as Jh, bO as Qh, bP as Xh, bQ as Zh, bR as ep, bS as tp, bT as np, bU as ap, bV as lp, bW as ko, bX as sp, bY as xo, bZ as Io, b_ as ip, b$ as rp, c0 as op, c1 as cp, c2 as dp, c3 as up, az as Bd, bl as Ao, c4 as Yr, c5 as Kr, c6 as Qs, ai as mp, c7 as hp, c8 as pp, c9 as gp, ca as fp, cb as yp, cc as _p, cd as vp, ce as bp, cf as Cp, cg as Np, ch as wp, ci as Tp, cj as Sp, ck as Fd, cl as kp, cm as xp } from "./ComponentDoc-DHTIWtcE.js";
8
8
  import { PlusOutlined as Ht, SaveOutlined as ma, DeleteOutlined as On, ReloadOutlined as $t, RobotOutlined as ia, ControlOutlined as Ip, ProfileOutlined as Ap, MessageOutlined as Hd, SettingOutlined as ss, ToolOutlined as Ha, ApiOutlined as Jr, ClusterOutlined as $p, InfoCircleOutlined as Ln, CaretDownOutlined as ii, CaretRightOutlined as ri, FolderOpenOutlined as Qr, FolderOutlined as rl, ExperimentOutlined as jd, SearchOutlined as Xn, CodeOutlined as $o, PlayCircleOutlined as oi, FormOutlined as Ud, CopyOutlined as Xr, AppstoreOutlined as Jl, CheckCircleOutlined as Al, NotificationOutlined as Lp, CloseOutlined as fi, ThunderboltOutlined as Ll, SyncOutlined as Gd, CloseCircleOutlined as ci, FieldTimeOutlined as Ep, DownOutlined as yi, RightOutlined as qd, EditOutlined as ol, RollbackOutlined as Wd, TagOutlined as Vd, CheckOutlined as Dp, UserAddOutlined as Xs, DatabaseOutlined as Zr, CloudSyncOutlined as Rp, FileTextOutlined as Yd, SwapOutlined as Op, CloudUploadOutlined as zp, FileMarkdownOutlined as Pp, BellOutlined as Mp, RocketOutlined as Bp, SendOutlined as Lo, LeftOutlined as Fp, CalendarOutlined as Hp, WarningOutlined as Ir, TeamOutlined as Eo, SafetyCertificateOutlined as jp, MinusCircleOutlined as eo, PlusCircleOutlined as Ar, WarningFilled as Up, CheckCircleFilled as Kd, CloseCircleFilled as Jd, NodeIndexOutlined as Zs, FileImageOutlined as Qd, BookOutlined as Gp, BranchesOutlined as Xd, ExclamationCircleOutlined as $r, ArrowLeftOutlined as Zd, BulbOutlined as qp, FileSearchOutlined as Do, UpOutlined as Wp, LoadingOutlined as Ro, ExclamationCircleFilled as Vp, ExportOutlined as Yp, StarFilled as Oo, StarOutlined as Kp, EyeOutlined as Jp, ClockCircleOutlined as eu, BarChartOutlined as Qp, TableOutlined as Xp, ShareAltOutlined as Zp, UndoOutlined as eg, PictureOutlined as tg, LaptopOutlined as ng, UserOutlined as zo, DesktopOutlined as ag, LockOutlined as lg } from "@ant-design/icons";
9
9
  import { ListTable as on, EmptyState as sg } from "@yuku123/z-frontend-common/ui";
10
10
  import pt from "dayjs";
11
11
  import { s as lt } from "./index.module-UI0iz8K0.js";
12
- import { l as tu, n as nu, o as au, p as lu, q as ig, v as su, f as Po, b as rg, u as Mo, c as Ri, d as og } from "./admin-logs-BdwcT77i.js";
12
+ import { l as tu, n as nu, o as au, p as lu, q as ig, v as su, f as Po, b as rg, u as Mo, c as Ri, d as og } from "./admin-logs-BZasxvF5.js";
13
13
  import "./echarts-B1OU1xr4.js";
14
14
  import * as Na from "echarts/core";
15
15
  import Zn from "highlight.js/lib/core";
@@ -28,7 +28,7 @@ import bg from "highlight.js/lib/languages/xml";
28
28
  import Cg from "highlight.js/lib/languages/yaml";
29
29
  import Bo from "react-markdown";
30
30
  import Fo from "remark-gfm";
31
- import { h as Ng } from "./index-DbThmpZg.js";
31
+ import { h as Ng } from "./index-Bwe4EN63.js";
32
32
  import { h as di } from "./history-BlrA1eaW.js";
33
33
  function El(t) {
34
34
  return t ? `?token=${encodeURIComponent(t)}` : "";
@@ -628,7 +628,7 @@ const vf = "_agentPage_1ggvo_1", bf = "_leftPanel_1ggvo_13", Cf = "_panelHeader_
628
628
  }, { Text: qo } = gt;
629
629
  function $y({ agentCode: t }) {
630
630
  var W;
631
- const a = xt((_) => _.token), [l, s] = i([]), [r, c] = i(!1), [d, o] = i(!1), [h, u] = i(""), y = h.trim() ? l.filter(
631
+ const a = It((_) => _.token), [l, s] = i([]), [r, c] = i(!1), [d, o] = i(!1), [h, u] = i(""), y = h.trim() ? l.filter(
632
632
  (_) => {
633
633
  var F, x, he, ye;
634
634
  return `${_.nodeName || ""} ${((F = _.nodeInfo) == null ? void 0 : F.ontologyName) || ""} ${((x = _.nodeInfo) == null ? void 0 : x.ontologyCode) || ""} ${((he = _.nodeInfo) == null ? void 0 : he.knowledgeName) || ""} ${((ye = _.nodeInfo) == null ? void 0 : ye.knowledgeCode) || ""}`.toLowerCase().includes(h.trim().toLowerCase());
@@ -916,8 +916,8 @@ function $y({ agentCode: t }) {
916
916
  ]
917
917
  }
918
918
  ),
919
- l.length === 0 ? /* @__PURE__ */ e(Qn, { children: /* @__PURE__ */ e(It, { description: "暂无本体绑定" }) }) : /* @__PURE__ */ e(
920
- At,
919
+ l.length === 0 ? /* @__PURE__ */ e(Qn, { children: /* @__PURE__ */ e(At, { description: "暂无本体绑定" }) }) : /* @__PURE__ */ e(
920
+ kt,
921
921
  {
922
922
  dataSource: y,
923
923
  columns: ee,
@@ -1147,7 +1147,7 @@ function Oy() {
1147
1147
  void 0
1148
1148
  ), [ut, De] = i(!1), [je, Tt] = i(!1), [St, ln] = i(!1), [en, _n] = i(!0), [En, xn] = i(!1), [Tn, pn] = i([]), [Bt, mn] = i([]), [tn, fe] = i([]), [ne, $e] = i([]), [Be, Rt] = i([]), [Jt, Yt] = i(""), [Sn, _e] = i(""), [G, Te] = i(!1), [ce, Ue] = i(!1), [_t, Nt] = i(""), [wt, hn] = i([]), [Dn, Wn] = i(!1), [K, He] = i([]), [Ze, jt] = i(
1149
1149
  null
1150
- ), [Cn, gn] = i(!1), Pt = xt((J) => J.token), Pn = re(async () => {
1150
+ ), [Cn, gn] = i(!1), Pt = It((J) => J.token), Pn = re(async () => {
1151
1151
  gn(!0);
1152
1152
  try {
1153
1153
  const J = await qr(Pt);
@@ -2363,7 +2363,7 @@ function Oy() {
2363
2363
  }
2364
2364
  )
2365
2365
  ] }) : /* @__PURE__ */ e(
2366
- At,
2366
+ kt,
2367
2367
  {
2368
2368
  rowKey: (J) => J.agent_code || "",
2369
2369
  dataSource: po,
@@ -2522,7 +2522,7 @@ function Oy() {
2522
2522
  children: "暂无扩展配置"
2523
2523
  }
2524
2524
  ) : /* @__PURE__ */ e(
2525
- At,
2525
+ kt,
2526
2526
  {
2527
2527
  rowKey: "id",
2528
2528
  dataSource: E,
@@ -2729,7 +2729,7 @@ function Jy({
2729
2729
  onSelectAgent: a,
2730
2730
  showAllNode: l = !0
2731
2731
  }) {
2732
- const s = xt((N) => N.token), [r, c] = i([]), [d, o] = i([]), [h, u] = i(!1), [y, T] = i(/* @__PURE__ */ new Set()), C = re(async () => {
2732
+ const s = It((N) => N.token), [r, c] = i([]), [d, o] = i([]), [h, u] = i(!1), [y, T] = i(/* @__PURE__ */ new Set()), C = re(async () => {
2733
2733
  u(!0);
2734
2734
  try {
2735
2735
  const [N, M] = await Promise.all([
@@ -2854,7 +2854,7 @@ const Qy = "_identityPage_1n94b_1", Xy = "_agentTreePanel_1n94b_7", Zy = "_panel
2854
2854
  }, { Option: Ea } = Fe, Rl = "司内";
2855
2855
  function m_() {
2856
2856
  var oe;
2857
- const t = xt((D) => D.token), [a, l] = i(), [s, r] = i(
2857
+ const t = It((D) => D.token), [a, l] = i(), [s, r] = i(
2858
2858
  null
2859
2859
  ), [c, d] = i([]), [o, h] = i(!1), [u, y] = i(!1), [T, C] = i(!1), [f, $] = i(null), [p, g] = i([]), [v, N] = i(!1), [M, I] = i(null), [k, E] = i(!1), [V, X] = i(null), [R, w] = i([]), [Y, le] = i(!1), [q] = Ve.useForm(), de = re(async () => {
2860
2860
  N(!0);
@@ -3073,7 +3073,7 @@ function m_() {
3073
3073
  a && /* @__PURE__ */ e(b, { type: "primary", icon: /* @__PURE__ */ e(Ht, {}), onClick: ae, children: "添加环境绑定" })
3074
3074
  ] }),
3075
3075
  o ? /* @__PURE__ */ e("div", { className: Hn.loadingWrap, children: /* @__PURE__ */ e(ot, { description: "加载中..." }) }) : a ? /* @__PURE__ */ e(Qn, { className: Hn.identityCard, title: "已绑定的环境身份", children: /* @__PURE__ */ e(
3076
- At,
3076
+ kt,
3077
3077
  {
3078
3078
  columns: A,
3079
3079
  dataSource: c,
@@ -3086,7 +3086,7 @@ function m_() {
3086
3086
  }
3087
3087
  }
3088
3088
  ) }) : /* @__PURE__ */ e("div", { className: Hn.emptyWrap, children: /* @__PURE__ */ e(
3089
- It,
3089
+ At,
3090
3090
  {
3091
3091
  image: /* @__PURE__ */ e(ia, { className: Hn.emptyIcon }),
3092
3092
  description: "请选择左侧 Agent 进行身份绑定"
@@ -4303,7 +4303,7 @@ function lv() {
4303
4303
  }
4304
4304
  )
4305
4305
  ] }) : /* @__PURE__ */ e(
4306
- It,
4306
+ At,
4307
4307
  {
4308
4308
  description: "请从左侧选择一个脚本",
4309
4309
  style: { marginTop: 80 }
@@ -4389,7 +4389,7 @@ const sv = "_toolPage_9wzw4_1", iv = "_tabs_9wzw4_12", rv = "_toolbar_9wzw4_49",
4389
4389
  function uu({
4390
4390
  defaultTab: t = "definitions"
4391
4391
  }) {
4392
- const [a, l] = i(t), s = xt((K) => K.token), [r, c] = i([]), [d, o] = i(!1), [h, u] = i(!1), [y, T] = i(null), [C, f] = i({
4392
+ const [a, l] = i(t), s = It((K) => K.token), [r, c] = i([]), [d, o] = i(!1), [h, u] = i(!1), [y, T] = i(null), [C, f] = i({
4393
4393
  toolName: "",
4394
4394
  displayName: "",
4395
4395
  description: "",
@@ -5107,7 +5107,7 @@ function uu({
5107
5107
  }
5108
5108
  )
5109
5109
  ] }) : /* @__PURE__ */ e(
5110
- At,
5110
+ kt,
5111
5111
  {
5112
5112
  rowKey: (K) => String(K.toolName),
5113
5113
  dataSource: w,
@@ -5164,7 +5164,7 @@ function uu({
5164
5164
  }
5165
5165
  )
5166
5166
  ] }) : /* @__PURE__ */ e(
5167
- At,
5167
+ kt,
5168
5168
  {
5169
5169
  rowKey: (K) => String(K.groupCode),
5170
5170
  dataSource: We,
@@ -6042,7 +6042,7 @@ const lc = {
6042
6042
  sortOrder: 0
6043
6043
  };
6044
6044
  function nC() {
6045
- const t = xt((_) => _.token), [a, l] = i(""), [s, r] = i(""), [c, d] = i(""), [o, h] = i(""), [u, y] = i(""), [T, C] = i(null), [f, $] = i([]), [p, g] = i(0), [v, N] = i(1), [M, I] = i(20), [k, E] = i(!1), [V, X] = i(!1), [R, w] = i(null), [Y, le] = i(!1), [q, de] = i({ ...lc }), [Se, Z] = i(
6045
+ const t = It((_) => _.token), [a, l] = i(""), [s, r] = i(""), [c, d] = i(""), [o, h] = i(""), [u, y] = i(""), [T, C] = i(null), [f, $] = i([]), [p, g] = i(0), [v, N] = i(1), [M, I] = i(20), [k, E] = i(!1), [V, X] = i(!1), [R, w] = i(null), [Y, le] = i(!1), [q, de] = i({ ...lc }), [Se, Z] = i(
6046
6046
  Xo
6047
6047
  ), [se, ae] = i(!1);
6048
6048
  ke(() => {
@@ -6959,7 +6959,7 @@ function uC({ token: t = "" }) {
6959
6959
  }
6960
6960
  ) }),
6961
6961
  /* @__PURE__ */ e(
6962
- At,
6962
+ kt,
6963
6963
  {
6964
6964
  rowKey: "id",
6965
6965
  size: "small",
@@ -7561,7 +7561,7 @@ function yC({ token: t = "" }) {
7561
7561
  ] }) })
7562
7562
  ] }) }),
7563
7563
  /* @__PURE__ */ e(Qn, { size: "small", title: "按工具类型统计", children: /* @__PURE__ */ e(
7564
- At,
7564
+ kt,
7565
7565
  {
7566
7566
  size: "small",
7567
7567
  rowKey: "toolName",
@@ -7594,7 +7594,7 @@ function yC({ token: t = "" }) {
7594
7594
  ] });
7595
7595
  }
7596
7596
  function _C() {
7597
- const t = xt((s) => s.token) || "", [a, l] = i("tool-call");
7597
+ const t = It((s) => s.token) || "", [a, l] = i("tool-call");
7598
7598
  return /* @__PURE__ */ e("div", { className: lC.page, children: /* @__PURE__ */ e(
7599
7599
  bt,
7600
7600
  {
@@ -7929,7 +7929,7 @@ function TN({
7929
7929
  if (t)
7930
7930
  return /* @__PURE__ */ e(Ks, { active: !0, paragraph: { rows: 3 } });
7931
7931
  if (!a || a.length === 0)
7932
- return /* @__PURE__ */ e(It, { description: "无详细记录" });
7932
+ return /* @__PURE__ */ e(At, { description: "无详细记录" });
7933
7933
  const l = (r) => r === "MEMORY" ? "blue" : r === "NEW_SKILL" ? "cyan" : r === "SKILL_REVISION" ? "orange" : r === "PREFERENCE" ? "green" : "default", s = (r) => r === "APPLIED" ? "green" : r === "REJECTED" ? "red" : r === "EXTRACTED" ? "gold" : "default";
7934
7934
  return /* @__PURE__ */ e("div", { style: { marginTop: 8 }, children: /* @__PURE__ */ e(
7935
7935
  on,
@@ -8014,7 +8014,7 @@ function SN({
8014
8014
  onExpand: r
8015
8015
  }) {
8016
8016
  if (!t || t.length === 0)
8017
- return /* @__PURE__ */ e(It, { description: "暂无进化记录" });
8017
+ return /* @__PURE__ */ e(At, { description: "暂无进化记录" });
8018
8018
  const c = t.reduce((o, h) => o + (h.passedCount || 0), 0), d = t.reduce((o, h) => o + (h.rejectedCount || 0), 0);
8019
8019
  return /* @__PURE__ */ n("div", { children: [
8020
8020
  /* @__PURE__ */ n("div", { className: Ie.pipelineSummary, children: [
@@ -8396,7 +8396,7 @@ function kN() {
8396
8396
  showIcon: !0
8397
8397
  }
8398
8398
  ),
8399
- h ? /* @__PURE__ */ e(Ks, { active: !0, paragraph: { rows: 4 } }) : t.length === 0 ? /* @__PURE__ */ e(It, { description: "暂无 Agent" }) : t.map((G) => {
8399
+ h ? /* @__PURE__ */ e(Ks, { active: !0, paragraph: { rows: 4 } }) : t.length === 0 ? /* @__PURE__ */ e(At, { description: "暂无 Agent" }) : t.map((G) => {
8400
8400
  var hn, Dn, Wn, K, He, Ze;
8401
8401
  const Te = Tn(G), ce = ((hn = G.manifest) == null ? void 0 : hn.displayName) || ((Dn = G.manifest) == null ? void 0 : Dn.agentId) || "未知", Ue = ((Wn = G.manifest) == null ? void 0 : Wn.currentVersion) || "v0", _t = ((K = G.skills) == null ? void 0 : K.length) || 0, Nt = ((He = G.memoryEntries) == null ? void 0 : He.length) || 0, wt = ((Ze = G.pipelineHistory) == null ? void 0 : Ze.length) || 0;
8402
8402
  return /* @__PURE__ */ n(
@@ -8516,7 +8516,7 @@ function kN() {
8516
8516
  ]
8517
8517
  },
8518
8518
  G.skillName
8519
- )) : /* @__PURE__ */ e(It, { description: "暂无进化 skill" })
8519
+ )) : /* @__PURE__ */ e(At, { description: "暂无进化 skill" })
8520
8520
  ] }),
8521
8521
  /* @__PURE__ */ e(
8522
8522
  "div",
@@ -8671,7 +8671,7 @@ function kN() {
8671
8671
  "Memory 原始记忆文件",
8672
8672
  /* @__PURE__ */ e(U, { children: ((Rt = r.memoryEntries) == null ? void 0 : Rt.length) || 0 })
8673
8673
  ] }),
8674
- r.memoryEntries && r.memoryEntries.length > 0 ? r.memoryEntries.map((G) => /* @__PURE__ */ e(wN, { entry: G }, G.name)) : r.memoryCurrent ? /* @__PURE__ */ e("pre", { className: Ie.memoryBlock, children: r.memoryCurrent }) : /* @__PURE__ */ e(It, { description: "暂无记忆条目" })
8674
+ r.memoryEntries && r.memoryEntries.length > 0 ? r.memoryEntries.map((G) => /* @__PURE__ */ e(wN, { entry: G }, G.name)) : r.memoryCurrent ? /* @__PURE__ */ e("pre", { className: Ie.memoryBlock, children: r.memoryCurrent }) : /* @__PURE__ */ e(At, { description: "暂无记忆条目" })
8675
8675
  ] }),
8676
8676
  /* @__PURE__ */ n("div", { className: Ie.contentCard, children: [
8677
8677
  /* @__PURE__ */ n("div", { className: Ie.contentCardTitle, children: [
@@ -8687,7 +8687,7 @@ function kN() {
8687
8687
  children: G
8688
8688
  },
8689
8689
  G
8690
- )) }) : /* @__PURE__ */ e(It, { description: "暂无历史版本" })
8690
+ )) }) : /* @__PURE__ */ e(At, { description: "暂无历史版本" })
8691
8691
  ] }),
8692
8692
  /* @__PURE__ */ n("div", { className: Ie.contentCard, children: [
8693
8693
  /* @__PURE__ */ n("div", { className: Ie.contentCardTitle, children: [
@@ -8820,7 +8820,7 @@ function kN() {
8820
8820
  }
8821
8821
  ]
8822
8822
  }
8823
- ) : /* @__PURE__ */ e(It, { description: "暂无溯源记录" })
8823
+ ) : /* @__PURE__ */ e(At, { description: "暂无溯源记录" })
8824
8824
  ] }),
8825
8825
  /* @__PURE__ */ n("div", { className: Ie.contentCard, children: [
8826
8826
  /* @__PURE__ */ n("div", { className: Ie.contentCardTitle, children: [
@@ -8834,7 +8834,7 @@ function kN() {
8834
8834
  children: G
8835
8835
  },
8836
8836
  G
8837
- )) }) : /* @__PURE__ */ e(It, { description: "暂无训练会话" })
8837
+ )) }) : /* @__PURE__ */ e(At, { description: "暂无训练会话" })
8838
8838
  ] })
8839
8839
  ] }, "memory"),
8840
8840
  /* @__PURE__ */ e(bt.TabPane, { tab: "位点管理", children: /* @__PURE__ */ n("div", { className: Ie.contentCard, children: [
@@ -8929,9 +8929,9 @@ function kN() {
8929
8929
  }
8930
8930
  ]
8931
8931
  }
8932
- ) : /* @__PURE__ */ e(It, { description: "暂无学习位点记录" })
8932
+ ) : /* @__PURE__ */ e(At, { description: "暂无学习位点记录" })
8933
8933
  ] }) }, "checkpoints")
8934
- ] }) }) : /* @__PURE__ */ e("div", { className: Ie.emptyState, children: /* @__PURE__ */ e(It, { description: "加载失败" }) }) : /* @__PURE__ */ e("div", { className: Ie.emptyState, children: /* @__PURE__ */ e(It, { description: "选择左侧 Agent 查看进化详情" }) }),
8934
+ ] }) }) : /* @__PURE__ */ e("div", { className: Ie.emptyState, children: /* @__PURE__ */ e(At, { description: "加载失败" }) }) : /* @__PURE__ */ e("div", { className: Ie.emptyState, children: /* @__PURE__ */ e(At, { description: "选择左侧 Agent 查看进化详情" }) }),
8935
8935
  /* @__PURE__ */ e(
8936
8936
  et,
8937
8937
  {
@@ -9144,8 +9144,8 @@ function kN() {
9144
9144
  }
9145
9145
  ]
9146
9146
  }
9147
- ) : /* @__PURE__ */ e(It, { description: "无记录" })
9148
- ] }) : /* @__PURE__ */ e(It, { description: "无结果" })
9147
+ ) : /* @__PURE__ */ e(At, { description: "无记录" })
9148
+ ] }) : /* @__PURE__ */ e(At, { description: "无结果" })
9149
9149
  }
9150
9150
  )
9151
9151
  ] })
@@ -9368,7 +9368,7 @@ function LN() {
9368
9368
  /* @__PURE__ */ e("div", { style: { flex: 1, overflow: "hidden", minHeight: 0 }, children: /* @__PURE__ */ e(bt, { defaultActiveKey: "memory", size: "small", style: { height: "100%" }, children: l ? /* @__PURE__ */ n(Ke, { children: [
9369
9369
  /* @__PURE__ */ e(bt.TabPane, { tab: "场景记忆", children: /* @__PURE__ */ e(EN, { scenarioType: l }) }, "memory"),
9370
9370
  /* @__PURE__ */ e(bt.TabPane, { tab: "进化过程", children: /* @__PURE__ */ e(DN, { scenarioType: l }) }, "process")
9371
- ] }) : /* @__PURE__ */ e(bt.TabPane, { tab: "场景记忆", children: /* @__PURE__ */ e(It, { description: "请先选择场景" }) }, "memory") }) })
9371
+ ] }) : /* @__PURE__ */ e(bt.TabPane, { tab: "场景记忆", children: /* @__PURE__ */ e(At, { description: "请先选择场景" }) }, "memory") }) })
9372
9372
  ] });
9373
9373
  }
9374
9374
  function EN({ scenarioType: t }) {
@@ -9538,10 +9538,10 @@ function EN({ scenarioType: t }) {
9538
9538
  }
9539
9539
  ) }),
9540
9540
  /* @__PURE__ */ e("div", { className: Ie.panelBody, children: /* @__PURE__ */ e(ot, { spinning: c, children: a.length === 0 && !c ? /* @__PURE__ */ e(
9541
- It,
9541
+ At,
9542
9542
  {
9543
9543
  description: "暂无记忆",
9544
- image: It.PRESENTED_IMAGE_SIMPLE
9544
+ image: At.PRESENTED_IMAGE_SIMPLE
9545
9545
  }
9546
9546
  ) : a.map((Oe) => /* @__PURE__ */ n(
9547
9547
  "div",
@@ -9709,10 +9709,10 @@ function EN({ scenarioType: t }) {
9709
9709
  }
9710
9710
  ) }),
9711
9711
  R === "versions" && /* @__PURE__ */ e(ot, { spinning: k, style: { flex: 1 }, children: M.length === 0 ? /* @__PURE__ */ e(
9712
- It,
9712
+ At,
9713
9713
  {
9714
9714
  description: "暂无历史版本",
9715
- image: It.PRESENTED_IMAGE_SIMPLE
9715
+ image: At.PRESENTED_IMAGE_SIMPLE
9716
9716
  }
9717
9717
  ) : /* @__PURE__ */ n(
9718
9718
  "div",
@@ -9855,7 +9855,7 @@ function EN({ scenarioType: t }) {
9855
9855
  alignItems: "center",
9856
9856
  justifyContent: "center"
9857
9857
  },
9858
- children: /* @__PURE__ */ e(It, { description: "请选择左侧的记忆条目" })
9858
+ children: /* @__PURE__ */ e(At, { description: "请选择左侧的记忆条目" })
9859
9859
  }
9860
9860
  ) }),
9861
9861
  /* @__PURE__ */ n(
@@ -10095,7 +10095,7 @@ function DN({ scenarioType: t }) {
10095
10095
  ] })
10096
10096
  ] }),
10097
10097
  /* @__PURE__ */ e("div", { className: Ie.processTableWrap, children: /* @__PURE__ */ e(
10098
- At,
10098
+ kt,
10099
10099
  {
10100
10100
  size: "small",
10101
10101
  loading: s,
@@ -10592,7 +10592,7 @@ const uc = {
10592
10592
  configValueText: "{}"
10593
10593
  };
10594
10594
  function jN() {
10595
- const t = xt((k) => k.token), [a, l] = i([]), [s, r] = i(!1), [c, d] = i(""), [o, h] = i(!1), [u, y] = i(null), [T, C] = i(!1), [f, $] = i({ ...uc }), p = re(async () => {
10595
+ const t = It((k) => k.token), [a, l] = i([]), [s, r] = i(!1), [c, d] = i(""), [o, h] = i(!1), [u, y] = i(null), [T, C] = i(!1), [f, $] = i({ ...uc }), p = re(async () => {
10596
10596
  r(!0);
10597
10597
  try {
10598
10598
  const k = await Lm(c, t);
@@ -11441,7 +11441,7 @@ function $0({
11441
11441
  onStartAudit: t
11442
11442
  }) {
11443
11443
  var A, oe, D, Q;
11444
- const a = xt((ee) => ee.token) || "", [l, s] = i(), [r, c] = i(), [d, o] = i(null), [h, u] = i(1), [y, T] = i(20), [C, f] = i(!1), [$, p] = i(0), [g, v] = i([]), [N, M] = i([]), [I, k] = i(v0), [E, V] = i(
11444
+ const a = It((ee) => ee.token) || "", [l, s] = i(), [r, c] = i(), [d, o] = i(null), [h, u] = i(1), [y, T] = i(20), [C, f] = i(!1), [$, p] = i(0), [g, v] = i([]), [N, M] = i([]), [I, k] = i(v0), [E, V] = i(
11445
11445
  null
11446
11446
  ), [X, R] = i(!1), [w, Y] = i("header"), [le, q] = i(
11447
11447
  null
@@ -12119,7 +12119,7 @@ function W0({
12119
12119
  onOpenInBrowser: a
12120
12120
  }) {
12121
12121
  var x, he, ye, We, qe, Oe, j, ve, O;
12122
- const l = xt((z) => z.token) || "", [s, r] = i(!0), [c, d] = i(!1), [o, h] = i(null), [u, y] = i(
12122
+ const l = It((z) => z.token) || "", [s, r] = i(!0), [c, d] = i(!1), [o, h] = i(null), [u, y] = i(
12123
12123
  null
12124
12124
  ), [T, C] = i([]), [f, $] = i(!1), [p, g] = i(""), [v, N] = i(!1), [M, I] = i(!1), [k, E] = i([]), [V, X] = i(!1), [R, w] = i(null), [Y, le] = i(!1), [q, de] = i(!1), Se = re(async () => {
12125
12125
  try {
@@ -12514,7 +12514,7 @@ function W0({
12514
12514
  title: `进行中 Trial(${H.length})`,
12515
12515
  style: { marginTop: 12 },
12516
12516
  children: /* @__PURE__ */ e(
12517
- At,
12517
+ kt,
12518
12518
  {
12519
12519
  rowKey: (z) => String(z.id),
12520
12520
  size: "small",
@@ -12561,15 +12561,15 @@ function W0({
12561
12561
  ) : null
12562
12562
  ] }),
12563
12563
  children: [
12564
- /* @__PURE__ */ n(kt, { column: 2, size: "small", children: [
12565
- /* @__PURE__ */ e(kt.Item, { label: "状态", children: /* @__PURE__ */ e(U, { color: ui(u.status), children: u.status }) }),
12566
- /* @__PURE__ */ e(kt.Item, { label: "场景实例", children: u.scenario_instance_id ?? "—" }),
12567
- /* @__PURE__ */ e(kt.Item, { label: "Dataset", children: u.dataset_code || "—" }),
12568
- /* @__PURE__ */ e(kt.Item, { label: "Case", children: u.case_code || "—" }),
12569
- /* @__PURE__ */ e(kt.Item, { label: "开始时间", children: Bl(u.started_at) }),
12570
- /* @__PURE__ */ e(kt.Item, { label: "更新时间", children: Bl(u.update_time) }),
12571
- /* @__PURE__ */ e(kt.Item, { label: "租约 owner", children: u.lease_owner || "—" }),
12572
- u.claude_session_id ? /* @__PURE__ */ e(kt.Item, { label: "Claude Session", span: 2, children: /* @__PURE__ */ e(gt.Text, { code: !0, copyable: !0, children: u.claude_session_id }) }) : null
12564
+ /* @__PURE__ */ n(xt, { column: 2, size: "small", children: [
12565
+ /* @__PURE__ */ e(xt.Item, { label: "状态", children: /* @__PURE__ */ e(U, { color: ui(u.status), children: u.status }) }),
12566
+ /* @__PURE__ */ e(xt.Item, { label: "场景实例", children: u.scenario_instance_id ?? "—" }),
12567
+ /* @__PURE__ */ e(xt.Item, { label: "Dataset", children: u.dataset_code || "—" }),
12568
+ /* @__PURE__ */ e(xt.Item, { label: "Case", children: u.case_code || "—" }),
12569
+ /* @__PURE__ */ e(xt.Item, { label: "开始时间", children: Bl(u.started_at) }),
12570
+ /* @__PURE__ */ e(xt.Item, { label: "更新时间", children: Bl(u.update_time) }),
12571
+ /* @__PURE__ */ e(xt.Item, { label: "租约 owner", children: u.lease_owner || "—" }),
12572
+ u.claude_session_id ? /* @__PURE__ */ e(xt.Item, { label: "Claude Session", span: 2, children: /* @__PURE__ */ e(gt.Text, { code: !0, copyable: !0, children: u.claude_session_id }) }) : null
12573
12573
  ] }),
12574
12574
  /* @__PURE__ */ e(gt.Text, { strong: !0, style: { display: "block", marginTop: 12 }, children: "Claude Code 会话" }),
12575
12575
  /* @__PURE__ */ n(gt.Paragraph, { type: "secondary", style: { marginBottom: 8 }, children: [
@@ -12577,7 +12577,7 @@ function W0({
12577
12577
  u.id
12578
12578
  ] }),
12579
12579
  /* @__PURE__ */ e(
12580
- At,
12580
+ kt,
12581
12581
  {
12582
12582
  rowKey: (z) => z.session_id || Math.random().toString(),
12583
12583
  size: "small",
@@ -12653,14 +12653,14 @@ function W0({
12653
12653
  width: 860,
12654
12654
  bodyStyle: { maxHeight: "calc(100vh - 120px)", overflow: "auto" },
12655
12655
  children: Y ? /* @__PURE__ */ e(gt.Text, { type: "secondary", children: "加载中…" }) : R ? /* @__PURE__ */ n(Ke, { children: [
12656
- /* @__PURE__ */ n(kt, { column: 1, size: "small", style: { marginBottom: 12 }, children: [
12657
- /* @__PURE__ */ e(kt.Item, { label: "Session ID", children: /* @__PURE__ */ e(gt.Text, { code: !0, copyable: !0, children: R.session_id }) }),
12658
- /* @__PURE__ */ e(kt.Item, { label: "Project", children: R.project_dir || "—" }),
12659
- /* @__PURE__ */ n(kt.Item, { label: "消息数", children: [
12656
+ /* @__PURE__ */ n(xt, { column: 1, size: "small", style: { marginBottom: 12 }, children: [
12657
+ /* @__PURE__ */ e(xt.Item, { label: "Session ID", children: /* @__PURE__ */ e(gt.Text, { code: !0, copyable: !0, children: R.session_id }) }),
12658
+ /* @__PURE__ */ e(xt.Item, { label: "Project", children: R.project_dir || "—" }),
12659
+ /* @__PURE__ */ n(xt.Item, { label: "消息数", children: [
12660
12660
  R.message_count ?? "—",
12661
12661
  D > 0 && !q ? `(展示 ${Q.length},已隐藏 ${D})` : ""
12662
12662
  ] }),
12663
- /* @__PURE__ */ e(kt.Item, { label: "修改时间", children: Bl(R.modified_at) })
12663
+ /* @__PURE__ */ e(xt.Item, { label: "修改时间", children: Bl(R.modified_at) })
12664
12664
  ] }),
12665
12665
  D > 0 ? /* @__PURE__ */ n("div", { className: Ne.sessionMessageToolbar, children: [
12666
12666
  /* @__PURE__ */ e(
@@ -12717,7 +12717,7 @@ function Q0({
12717
12717
  focusPath: t,
12718
12718
  onFocusPathHandled: a
12719
12719
  }) {
12720
- const l = xt((R) => R.token) || "", [s, r] = i(null), [c, d] = i([]), [o, h] = i([]), [u, y] = i(""), [T, C] = i(
12720
+ const l = It((R) => R.token) || "", [s, r] = i(null), [c, d] = i([]), [o, h] = i([]), [u, y] = i(""), [T, C] = i(
12721
12721
  null
12722
12722
  ), [f, $] = i(!1), [p, g] = i(!1), v = re(async () => {
12723
12723
  try {
@@ -13023,7 +13023,7 @@ function s1(t) {
13023
13023
  return t == null || Number.isNaN(Number(t)) ? "—" : `${(Number(t) * 100).toFixed(2)}%`;
13024
13024
  }
13025
13025
  function i1() {
13026
- const t = xt((p) => p.token) || "", [a, l] = i(), [s, r] = i(30), [c, d] = i([]), [o, h] = i(null), [u, y] = i(null), [T, C] = i(!1), f = re(async () => {
13026
+ const t = It((p) => p.token) || "", [a, l] = i(), [s, r] = i(30), [c, d] = i([]), [o, h] = i(null), [u, y] = i(null), [T, C] = i(!1), f = re(async () => {
13027
13027
  try {
13028
13028
  const p = await _i(t);
13029
13029
  d(p.items || p.list || []);
@@ -13118,7 +13118,7 @@ const o1 = [
13118
13118
  { value: "REPLAY", label: "REPLAY 回放" }
13119
13119
  ];
13120
13120
  function d1() {
13121
- const t = xt((S) => S.token) || "", [a, l] = i(bc), [s, r] = i(""), [c, d] = i(r1), [o, h] = i(), [u, y] = i(!1), [T, C] = i(!1), [f, $] = i(!1), [p, g] = i(null), [v, N] = i(!1), [M, I] = i(), [k, E] = i("AUDIT"), [V, X] = i(), [R, w] = i(1), [Y, le] = i(20), [q, de] = i(!1), [Se, Z] = i(0), [se, ae] = i([]), [xe, B] = i([]), [H, L] = i([]), [P, A] = i(o1), [oe, D] = i(null), [Q, ee] = i(null), [W, _] = i(!1), F = re((S) => {
13121
+ const t = It((S) => S.token) || "", [a, l] = i(bc), [s, r] = i(""), [c, d] = i(r1), [o, h] = i(), [u, y] = i(!1), [T, C] = i(!1), [f, $] = i(!1), [p, g] = i(null), [v, N] = i(!1), [M, I] = i(), [k, E] = i("AUDIT"), [V, X] = i(), [R, w] = i(1), [Y, le] = i(20), [q, de] = i(!1), [Se, Z] = i(0), [se, ae] = i([]), [xe, B] = i([]), [H, L] = i([]), [P, A] = i(o1), [oe, D] = i(null), [Q, ee] = i(null), [W, _] = i(!1), F = re((S) => {
13122
13122
  const pe = new URLSearchParams(window.location.search);
13123
13123
  pe.set("menu", "evaluation-group-chat-audits"), S === "audit" ? pe.delete("tab") : pe.set("tab", S);
13124
13124
  const at = pe.toString();
@@ -13645,7 +13645,7 @@ function Wi({ text: t }) {
13645
13645
  function h1({
13646
13646
  onStartAudit: t
13647
13647
  }) {
13648
- const a = xt((R) => R.token) || "", [l, s] = i(null), [r, c] = i(!1), [d, o] = i(null), [h, u] = i(), [y, T] = i(), [C, f] = i(1), [$, p] = i(20), [g, v] = i(!1), [N, M] = i(0), [I, k] = i([]), E = re(async () => {
13648
+ const a = It((R) => R.token) || "", [l, s] = i(null), [r, c] = i(!1), [d, o] = i(null), [h, u] = i(), [y, T] = i(), [C, f] = i(1), [$, p] = i(20), [g, v] = i(!1), [N, M] = i(0), [I, k] = i([]), E = re(async () => {
13649
13649
  v(!0);
13650
13650
  try {
13651
13651
  const R = await Rg({
@@ -13862,7 +13862,7 @@ const p1 = [
13862
13862
  function g1({
13863
13863
  embedded: t = !1
13864
13864
  }) {
13865
- const a = xt((W) => W.token) || "", l = xt((W) => W.currentUser), [s, r] = i([]), [c, d] = i(!1), [o, h] = i(null), [u, y] = i([]), [T, C] = i(!1), [f, $] = i(!1), [p, g] = i(!1), [v] = Ve.useForm(), [N] = Ve.useForm(), [M, I] = i(null), [k, E] = i(null), [V, X] = i(!1), [R, w] = i([]), [Y, le] = i("{}"), [q] = Ve.useForm(), [de, Se] = i(""), [Z, se] = i(""), ae = de.trim() ? s.filter(
13865
+ const a = It((W) => W.token) || "", l = It((W) => W.currentUser), [s, r] = i([]), [c, d] = i(!1), [o, h] = i(null), [u, y] = i([]), [T, C] = i(!1), [f, $] = i(!1), [p, g] = i(!1), [v] = Ve.useForm(), [N] = Ve.useForm(), [M, I] = i(null), [k, E] = i(null), [V, X] = i(!1), [R, w] = i([]), [Y, le] = i("{}"), [q] = Ve.useForm(), [de, Se] = i(""), [Z, se] = i(""), ae = de.trim() ? s.filter(
13866
13866
  (W) => `${W.name || ""} ${W.code || ""}`.toLowerCase().includes(de.trim().toLowerCase())
13867
13867
  ) : s, xe = Z.trim() ? u.filter(
13868
13868
  (W) => `${W.case_code || ""} ${W.scenario_code || ""} ${W.source_type || ""} ${W.sha256 || ""}`.toLowerCase().includes(Z.trim().toLowerCase())
@@ -14148,7 +14148,7 @@ function g1({
14148
14148
  }
14149
14149
  ) }),
14150
14150
  /* @__PURE__ */ e(
14151
- At,
14151
+ kt,
14152
14152
  {
14153
14153
  rowKey: (W) => String(W.code || W.id),
14154
14154
  size: "small",
@@ -14198,7 +14198,7 @@ function g1({
14198
14198
  /* @__PURE__ */ e(b, { onClick: () => void H(), children: "刷新" })
14199
14199
  ] }),
14200
14200
  /* @__PURE__ */ e("div", { className: Ne.tableWrap, children: /* @__PURE__ */ e(
14201
- At,
14201
+ kt,
14202
14202
  {
14203
14203
  rowKey: (W) => String(W.case_code || W.id),
14204
14204
  size: "small",
@@ -14316,7 +14316,7 @@ function g1({
14316
14316
  /* @__PURE__ */ e(b, { onClick: () => void oe(), children: "追加不可变版本" }),
14317
14317
  /* @__PURE__ */ e(gt.Text, { strong: !0, children: "人工标注" }),
14318
14318
  /* @__PURE__ */ e(
14319
- At,
14319
+ kt,
14320
14320
  {
14321
14321
  size: "small",
14322
14322
  rowKey: (W) => String(W.id),
@@ -14423,7 +14423,7 @@ function b1(t) {
14423
14423
  }
14424
14424
  }
14425
14425
  function C1({ embedded: t = !1 }) {
14426
- const a = xt((B) => B.token) || "", [l, s] = i([]), [r, c] = i(!1), [d, o] = i(!1), [h] = Ve.useForm(), [u, y] = i(null), [T, C] = i(null), [f, $] = i({
14426
+ const a = It((B) => B.token) || "", [l, s] = i([]), [r, c] = i(!1), [d, o] = i(!1), [h] = Ve.useForm(), [u, y] = i(null), [T, C] = i(null), [f, $] = i({
14427
14427
  metrics: "",
14428
14428
  budget: "",
14429
14429
  composite: ""
@@ -14649,7 +14649,7 @@ function C1({ embedded: t = !1 }) {
14649
14649
  )
14650
14650
  ] }),
14651
14651
  /* @__PURE__ */ e("div", { className: Ne.tableWrap, children: /* @__PURE__ */ e(
14652
- At,
14652
+ kt,
14653
14653
  {
14654
14654
  rowKey: (B) => `${B.spec_code}@${B.version}@${B.id}`,
14655
14655
  size: "small",
@@ -15092,7 +15092,7 @@ function k1({
15092
15092
  /* @__PURE__ */ e(b, { onClick: () => void E(), children: "刷新" })
15093
15093
  ] }),
15094
15094
  /* @__PURE__ */ e("div", { className: Ne.tableWrap, children: /* @__PURE__ */ e(
15095
- At,
15095
+ kt,
15096
15096
  {
15097
15097
  rowKey: (w) => String(w.id),
15098
15098
  size: "small",
@@ -15139,13 +15139,13 @@ function k1({
15139
15139
  onClose: () => p(null),
15140
15140
  title: `候选 #${($ == null ? void 0 : $.id) ?? ""}`,
15141
15141
  children: $ ? /* @__PURE__ */ n(Ye, { direction: "vertical", style: { width: "100%" }, size: 12, children: [
15142
- /* @__PURE__ */ n(kt, { size: "small", column: 2, bordered: !0, children: [
15143
- /* @__PURE__ */ e(kt.Item, { label: "场景", children: $.scenario_code || "—" }),
15144
- /* @__PURE__ */ e(kt.Item, { label: "状态", children: $.status || "—" }),
15145
- /* @__PURE__ */ e(kt.Item, { label: "合并包 ID", children: $.package_id ?? "—" }),
15146
- /* @__PURE__ */ e(kt.Item, { label: "轮次", children: $.round_id ?? "—" }),
15147
- /* @__PURE__ */ e(kt.Item, { label: "payload_sha256", span: 2, children: $.payload_sha256 || "—" }),
15148
- /* @__PURE__ */ e(kt.Item, { label: "摘要", span: 2, children: R($.payload_json) })
15142
+ /* @__PURE__ */ n(xt, { size: "small", column: 2, bordered: !0, children: [
15143
+ /* @__PURE__ */ e(xt.Item, { label: "场景", children: $.scenario_code || "—" }),
15144
+ /* @__PURE__ */ e(xt.Item, { label: "状态", children: $.status || "—" }),
15145
+ /* @__PURE__ */ e(xt.Item, { label: "合并包 ID", children: $.package_id ?? "—" }),
15146
+ /* @__PURE__ */ e(xt.Item, { label: "轮次", children: $.round_id ?? "—" }),
15147
+ /* @__PURE__ */ e(xt.Item, { label: "payload_sha256", span: 2, children: $.payload_sha256 || "—" }),
15148
+ /* @__PURE__ */ e(xt.Item, { label: "摘要", span: 2, children: R($.payload_json) })
15149
15149
  ] }),
15150
15150
  $.payload_json ? /* @__PURE__ */ e("pre", { className: Ne.jsonBlock, children: wi(
15151
15151
  (() => {
@@ -15225,28 +15225,28 @@ function x1({
15225
15225
  ),
15226
15226
  d ? /* @__PURE__ */ e(U, { color: y ? "green" : "orange", children: y ? "配置就绪" : "存在缺口" }) : null
15227
15227
  ] }),
15228
- d ? /* @__PURE__ */ e("div", { className: Ne.tableWrap, style: { padding: "8px 16px" }, children: /* @__PURE__ */ n(kt, { bordered: !0, size: "small", column: 2, children: [
15229
- /* @__PURE__ */ e(kt.Item, { label: "bench 启用", children: Da(d.enabled, "已启用", "未启用") }),
15230
- /* @__PURE__ */ e(kt.Item, { label: "AgentHub 灰度目录", children: Da(d.agenthub_gray_tree_configured, "已配置", "未配置") }),
15231
- /* @__PURE__ */ e(kt.Item, { label: "AgentHub 正式目录", children: Da(d.agenthub_prod_tree_configured, "已配置", "未配置") }),
15232
- /* @__PURE__ */ e(kt.Item, { label: "AgentHub Cookie", children: Da(
15228
+ d ? /* @__PURE__ */ e("div", { className: Ne.tableWrap, style: { padding: "8px 16px" }, children: /* @__PURE__ */ n(xt, { bordered: !0, size: "small", column: 2, children: [
15229
+ /* @__PURE__ */ e(xt.Item, { label: "bench 启用", children: Da(d.enabled, "已启用", "未启用") }),
15230
+ /* @__PURE__ */ e(xt.Item, { label: "AgentHub 灰度目录", children: Da(d.agenthub_gray_tree_configured, "已配置", "未配置") }),
15231
+ /* @__PURE__ */ e(xt.Item, { label: "AgentHub 正式目录", children: Da(d.agenthub_prod_tree_configured, "已配置", "未配置") }),
15232
+ /* @__PURE__ */ e(xt.Item, { label: "AgentHub Cookie", children: Da(
15233
15233
  d.agenthub_service_cookie_configured,
15234
15234
  "已配置",
15235
15235
  "未配置"
15236
15236
  ) }),
15237
- /* @__PURE__ */ e(kt.Item, { label: "AgentHub Base URL", children: Da(d.agenthub_base_url_configured, "已配置", "未配置") }),
15238
- /* @__PURE__ */ e(kt.Item, { label: "FT Collaboration URL", children: Da(
15237
+ /* @__PURE__ */ e(xt.Item, { label: "AgentHub Base URL", children: Da(d.agenthub_base_url_configured, "已配置", "未配置") }),
15238
+ /* @__PURE__ */ e(xt.Item, { label: "FT Collaboration URL", children: Da(
15239
15239
  d.collaboration_base_url_configured,
15240
15240
  "已配置",
15241
15241
  "未配置"
15242
15242
  ) }),
15243
- /* @__PURE__ */ e(kt.Item, { label: "FT Internal 免登录", children: Da(
15243
+ /* @__PURE__ */ e(xt.Item, { label: "FT Internal 免登录", children: Da(
15244
15244
  d.ft_internal_reachable,
15245
15245
  "可达",
15246
15246
  "不可达(SSO 拦截?)"
15247
15247
  ) }),
15248
- /* @__PURE__ */ e(kt.Item, { label: "Judge 工作区", span: 2, children: d.judge_workspace_root || "—" }),
15249
- /* @__PURE__ */ e(kt.Item, { label: "收集队列", children: /* @__PURE__ */ n(Ye, { size: 4, children: [
15248
+ /* @__PURE__ */ e(xt.Item, { label: "Judge 工作区", span: 2, children: d.judge_workspace_root || "—" }),
15249
+ /* @__PURE__ */ e(xt.Item, { label: "收集队列", children: /* @__PURE__ */ n(Ye, { size: 4, children: [
15250
15250
  /* @__PURE__ */ n("span", { children: [
15251
15251
  "执行 ",
15252
15252
  ((T = d.collect_queue) == null ? void 0 : T.active) ?? 0
@@ -15260,7 +15260,7 @@ function x1({
15260
15260
  ((f = d.collect_queue) == null ? void 0 : f.rejected) ?? 0
15261
15261
  ] })
15262
15262
  ] }) }),
15263
- /* @__PURE__ */ n(kt.Item, { label: "证据积压", children: [
15263
+ /* @__PURE__ */ n(xt.Item, { label: "证据积压", children: [
15264
15264
  "不完整 ",
15265
15265
  d.incomplete_count ?? 0,
15266
15266
  " · 待收关单",
@@ -15268,12 +15268,12 @@ function x1({
15268
15268
  d.pending_closed_count ?? 0
15269
15269
  ] }),
15270
15270
  l ? /* @__PURE__ */ n(Ke, { children: [
15271
- /* @__PURE__ */ e(kt.Item, { label: "探测场景", children: d.probe_scenario_code || l }),
15272
- /* @__PURE__ */ e(kt.Item, { label: "灰度场景", children: /* @__PURE__ */ n(Ye, { size: 4, children: [
15271
+ /* @__PURE__ */ e(xt.Item, { label: "探测场景", children: d.probe_scenario_code || l }),
15272
+ /* @__PURE__ */ e(xt.Item, { label: "灰度场景", children: /* @__PURE__ */ n(Ye, { size: 4, children: [
15273
15273
  /* @__PURE__ */ e(U, { children: d.gray_scenario_code || `${l}-gray` }),
15274
15274
  Da(d.gray_scenario_exists, "存在", "不存在")
15275
15275
  ] }) }),
15276
- d.gray_scenario_exists ? /* @__PURE__ */ e(kt.Item, { label: "活跃实例数", span: 2, children: d.active_instance_count ?? 0 }) : null
15276
+ d.gray_scenario_exists ? /* @__PURE__ */ e(xt.Item, { label: "活跃实例数", span: 2, children: d.active_instance_count ?? 0 }) : null
15277
15277
  ] }) : null
15278
15278
  ] }) }) : null
15279
15279
  ] });
@@ -15396,7 +15396,7 @@ function A1({
15396
15396
  /* @__PURE__ */ e(b, { onClick: () => void y(), children: "刷新" })
15397
15397
  ] }),
15398
15398
  /* @__PURE__ */ e("div", { className: Ne.tableWrap, children: /* @__PURE__ */ e(
15399
- At,
15399
+ kt,
15400
15400
  {
15401
15401
  rowKey: (C) => String(C.id ?? C.candidate_id),
15402
15402
  size: "small",
@@ -15471,7 +15471,7 @@ function $1({
15471
15471
  c.origin ? /* @__PURE__ */ e(U, { children: c.origin }) : null
15472
15472
  ] }),
15473
15473
  /* @__PURE__ */ e(
15474
- At,
15474
+ kt,
15475
15475
  {
15476
15476
  size: "small",
15477
15477
  rowKey: (h) => String(h.id || h.metric_code),
@@ -15858,7 +15858,7 @@ function E1({
15858
15858
  )
15859
15859
  ] }),
15860
15860
  /* @__PURE__ */ e("div", { className: Ne.tableWrap, children: /* @__PURE__ */ e(
15861
- At,
15861
+ kt,
15862
15862
  {
15863
15863
  rowKey: (S) => String(S.round_id),
15864
15864
  size: "small",
@@ -15969,16 +15969,16 @@ function E1({
15969
15969
  /* @__PURE__ */ e(gc, { outcome: B.outcome }),
15970
15970
  B.status && Or.has(B.status) ? /* @__PURE__ */ e(U, { color: "blue", children: "流水线执行中,5s 自动刷新" }) : null
15971
15971
  ] }),
15972
- /* @__PURE__ */ n(kt, { size: "small", column: 2, bordered: !0, children: [
15973
- /* @__PURE__ */ e(kt.Item, { label: "Round ID", children: B.round_id ?? "—" }),
15974
- /* @__PURE__ */ e(kt.Item, { label: "场景", children: B.scenario_code || "—" }),
15975
- /* @__PURE__ */ e(kt.Item, { label: "基线总分", children: ys(B.baseline_overall_score) }),
15976
- /* @__PURE__ */ e(kt.Item, { label: "灰度总分", children: ys(B.gray_overall_score) }),
15977
- /* @__PURE__ */ e(kt.Item, { label: "合并包 ID", children: B.merged_package_id ?? "—" }),
15978
- /* @__PURE__ */ e(kt.Item, { label: "回放计划 ID", children: B.execution_plan_id ?? "—" }),
15979
- /* @__PURE__ */ e(kt.Item, { label: "报告 ID", children: B.report_id ?? "—" }),
15980
- /* @__PURE__ */ e(kt.Item, { label: "评审决定", children: B.review_decision || "—" }),
15981
- B.error_code ? /* @__PURE__ */ n(kt.Item, { label: "错误", span: 2, children: [
15972
+ /* @__PURE__ */ n(xt, { size: "small", column: 2, bordered: !0, children: [
15973
+ /* @__PURE__ */ e(xt.Item, { label: "Round ID", children: B.round_id ?? "—" }),
15974
+ /* @__PURE__ */ e(xt.Item, { label: "场景", children: B.scenario_code || "—" }),
15975
+ /* @__PURE__ */ e(xt.Item, { label: "基线总分", children: ys(B.baseline_overall_score) }),
15976
+ /* @__PURE__ */ e(xt.Item, { label: "灰度总分", children: ys(B.gray_overall_score) }),
15977
+ /* @__PURE__ */ e(xt.Item, { label: "合并包 ID", children: B.merged_package_id ?? "—" }),
15978
+ /* @__PURE__ */ e(xt.Item, { label: "回放计划 ID", children: B.execution_plan_id ?? "—" }),
15979
+ /* @__PURE__ */ e(xt.Item, { label: "报告 ID", children: B.report_id ?? "—" }),
15980
+ /* @__PURE__ */ e(xt.Item, { label: "评审决定", children: B.review_decision || "—" }),
15981
+ B.error_code ? /* @__PURE__ */ n(xt.Item, { label: "错误", span: 2, children: [
15982
15982
  /* @__PURE__ */ e(U, { color: "red", children: B.error_code }),
15983
15983
  B.error_message || ""
15984
15984
  ] }) : null
@@ -16003,7 +16003,7 @@ function E1({
16003
16003
  {
16004
16004
  header: `绑定 Trial(${_.length})`,
16005
16005
  children: /* @__PURE__ */ e(
16006
- At,
16006
+ kt,
16007
16007
  {
16008
16008
  size: "small",
16009
16009
  rowKey: (S) => String(S.trial_id),
@@ -16126,7 +16126,7 @@ function R1(t) {
16126
16126
  return t ? sa(t.enabled) && sa(t.agenthub_gray_tree_configured) && sa(t.ft_internal_reachable) ? { color: "green", label: "bench 就绪" } : { color: "orange", label: "存在配置缺口" } : { color: "default", label: "探测未运行" };
16127
16127
  }
16128
16128
  function O1() {
16129
- const t = xt(($) => $.token) || "", a = xt(($) => $.currentUser), l = !!(a != null && a.is_global_admin), [s, r] = i(wc), [c, d] = i(
16129
+ const t = It(($) => $.token) || "", a = It(($) => $.currentUser), l = !!(a != null && a.is_global_admin), [s, r] = i(wc), [c, d] = i(
16130
16130
  D1
16131
16131
  ), [o, h] = i([]), [u, y] = i(
16132
16132
  null
@@ -16274,7 +16274,7 @@ function Ra(t) {
16274
16274
  }
16275
16275
  function eT() {
16276
16276
  var Vn;
16277
- const t = xt((we) => we.token), [a, l] = i("global"), [s, r] = i("human"), [c, d] = i([]), [o, h] = i([]), [u, y] = i(!1), [T, C] = i(""), f = re(
16277
+ const t = It((we) => we.token), [a, l] = i("global"), [s, r] = i("human"), [c, d] = i([]), [o, h] = i([]), [u, y] = i(!1), [T, C] = i(""), f = re(
16278
16278
  async (we = "") => {
16279
16279
  y(!0);
16280
16280
  try {
@@ -17058,7 +17058,7 @@ function eT() {
17058
17058
  ] })
17059
17059
  ] }),
17060
17060
  /* @__PURE__ */ e("div", { className: rt.tableCard, style: { flex: 1 }, children: /* @__PURE__ */ e("div", { className: rt.tableWrap, style: { height: "100%" }, children: S ? /* @__PURE__ */ e("div", { className: rt.loadingWrap, children: /* @__PURE__ */ e(ot, {}) }) : /* @__PURE__ */ e(
17061
- Table,
17061
+ kt,
17062
17062
  {
17063
17063
  rowKey: (we) => `${we.scenarioCode ?? ""}-${we.refId ?? ""}`,
17064
17064
  dataSource: Pe,
@@ -17513,7 +17513,7 @@ function lT(t) {
17513
17513
  return a ? a.length <= 4 ? "****" : `****${a.slice(-4)}` : "";
17514
17514
  }
17515
17515
  function sT() {
17516
- const t = xt((L) => L.token), [a, l] = i([]), [s, r] = i({}), [c, d] = i(!1), [o, h] = i(""), [u, y] = i(!0), [T, C] = i(!1), [f, $] = i(!1), [p, g] = i({ ...Sc }), [v, N] = i(() => !!So()), [M, I] = i(!1), [k, E] = i(""), V = zt(null), X = re(async () => {
17516
+ const t = It((L) => L.token), [a, l] = i([]), [s, r] = i({}), [c, d] = i(!1), [o, h] = i(""), [u, y] = i(!0), [T, C] = i(!1), [f, $] = i(!1), [p, g] = i({ ...Sc }), [v, N] = i(() => !!So()), [M, I] = i(!1), [k, E] = i(""), V = zt(null), X = re(async () => {
17517
17517
  d(!0);
17518
17518
  try {
17519
17519
  const [L, P] = await Promise.all([
@@ -17901,7 +17901,7 @@ function sT() {
17901
17901
  /* @__PURE__ */ e(ge, { title: `最近轮询:${H}`, children: /* @__PURE__ */ e(U, { style: { cursor: "help" }, children: `轮询:${H}` }) })
17902
17902
  ] }),
17903
17903
  /* @__PURE__ */ e(
17904
- At,
17904
+ kt,
17905
17905
  {
17906
17906
  rowKey: (L) => L.repoCode || "",
17907
17907
  size: "small",
@@ -18819,10 +18819,10 @@ function NS() {
18819
18819
  onRenameDir: _n
18820
18820
  }
18821
18821
  ) : /* @__PURE__ */ e("div", { className: nt.emptyState, children: /* @__PURE__ */ e(
18822
- It,
18822
+ At,
18823
18823
  {
18824
18824
  description: "请先选择知识库",
18825
- image: It.PRESENTED_IMAGE_SIMPLE
18825
+ image: At.PRESENTED_IMAGE_SIMPLE
18826
18826
  }
18827
18827
  ) })
18828
18828
  }
@@ -18886,10 +18886,10 @@ function NS() {
18886
18886
  key: "docs",
18887
18887
  label: "原始文档",
18888
18888
  children: /* @__PURE__ */ e("div", { children: C ? /* @__PURE__ */ e("div", { className: nt.loadingWrap, children: /* @__PURE__ */ e(ot, {}) }) : r.length === 0 ? /* @__PURE__ */ e(
18889
- It,
18889
+ At,
18890
18890
  {
18891
18891
  description: "暂无文档",
18892
- image: It.PRESENTED_IMAGE_SIMPLE
18892
+ image: At.PRESENTED_IMAGE_SIMPLE
18893
18893
  }
18894
18894
  ) : /* @__PURE__ */ e("div", { children: r.map((ce) => /* @__PURE__ */ n(
18895
18895
  "div",
@@ -18987,10 +18987,10 @@ function NS() {
18987
18987
  key: "cases",
18988
18988
  label: `全部 Case${d.length ? ` (${d.length})` : ""}`,
18989
18989
  children: /* @__PURE__ */ e("div", { children: $ ? /* @__PURE__ */ e("div", { className: nt.loadingWrap, children: /* @__PURE__ */ e(ot, {}) }) : d.length === 0 ? /* @__PURE__ */ e(
18990
- It,
18990
+ At,
18991
18991
  {
18992
18992
  description: "暂无 Case,请先上传文档并解析",
18993
- image: It.PRESENTED_IMAGE_SIMPLE
18993
+ image: At.PRESENTED_IMAGE_SIMPLE
18994
18994
  }
18995
18995
  ) : /* @__PURE__ */ e("div", { children: d.map((ce) => {
18996
18996
  const Ue = G(ce);
@@ -19056,7 +19056,7 @@ function NS() {
19056
19056
  }
19057
19057
  ]
19058
19058
  }
19059
- ) : /* @__PURE__ */ e("div", { className: nt.emptyState, children: /* @__PURE__ */ e(It, { description: "请选择或创建知识库" }) })
19059
+ ) : /* @__PURE__ */ e("div", { className: nt.emptyState, children: /* @__PURE__ */ e(At, { description: "请选择或创建知识库" }) })
19060
19060
  ] }),
19061
19061
  /* @__PURE__ */ n(
19062
19062
  et,
@@ -19357,12 +19357,12 @@ function NS() {
19357
19357
  }
19358
19358
  },
19359
19359
  children: E ? /* @__PURE__ */ n(Ke, { children: [
19360
- /* @__PURE__ */ e("div", { className: nt.drawerMetaSection, children: /* @__PURE__ */ n(kt, { column: 1, size: "small", bordered: !0, children: [
19361
- /* @__PURE__ */ e(kt.Item, { label: "来源文档", children: E.sourceFile || "—" }),
19362
- /* @__PURE__ */ e(kt.Item, { label: "分类", children: /* @__PURE__ */ e(U, { color: "blue", children: E.category || "未分类" }) }),
19363
- /* @__PURE__ */ e(kt.Item, { label: "摘要", children: E.summary || "—" }),
19364
- /* @__PURE__ */ e(kt.Item, { label: "标签", children: /* @__PURE__ */ e("div", { className: nt.tagList, children: (E.tags || []).map((ce, Ue) => /* @__PURE__ */ e(U, { children: ce }, Ue)) }) }),
19365
- E.createdAt && /* @__PURE__ */ e(kt.Item, { label: "创建时间", children: new Date(E.createdAt).toLocaleString("zh-CN") })
19360
+ /* @__PURE__ */ e("div", { className: nt.drawerMetaSection, children: /* @__PURE__ */ n(xt, { column: 1, size: "small", bordered: !0, children: [
19361
+ /* @__PURE__ */ e(xt.Item, { label: "来源文档", children: E.sourceFile || "—" }),
19362
+ /* @__PURE__ */ e(xt.Item, { label: "分类", children: /* @__PURE__ */ e(U, { color: "blue", children: E.category || "未分类" }) }),
19363
+ /* @__PURE__ */ e(xt.Item, { label: "摘要", children: E.summary || "—" }),
19364
+ /* @__PURE__ */ e(xt.Item, { label: "标签", children: /* @__PURE__ */ e("div", { className: nt.tagList, children: (E.tags || []).map((ce, Ue) => /* @__PURE__ */ e(U, { children: ce }, Ue)) }) }),
19365
+ E.createdAt && /* @__PURE__ */ e(xt.Item, { label: "创建时间", children: new Date(E.createdAt).toLocaleString("zh-CN") })
19366
19366
  ] }) }),
19367
19367
  /* @__PURE__ */ e("div", { className: nt.drawerContentSection, children: /* @__PURE__ */ e("div", { className: nt.mdViewer, children: /* @__PURE__ */ e(Bo, { remarkPlugins: [Fo], children: xc(E.content || "") }) }) })
19368
19368
  ] }) : /* @__PURE__ */ e("div", { className: nt.loadingWrap, children: /* @__PURE__ */ e(ot, {}) })
@@ -19385,7 +19385,7 @@ function wS(t) {
19385
19385
  return a.isValid() ? a.format("YYYY-MM-DD HH:mm:ss") : String(t);
19386
19386
  }
19387
19387
  function TS() {
19388
- const t = xt((x) => x.token), [a, l] = i(1), [s, r] = i(!0), [c, d] = i(!1), [o, h] = i("metrics"), [u, y] = i(null), [T, C] = i([]), [f, $] = i(
19388
+ const t = It((x) => x.token), [a, l] = i(1), [s, r] = i(!0), [c, d] = i(!1), [o, h] = i("metrics"), [u, y] = i(null), [T, C] = i([]), [f, $] = i(
19389
19389
  []
19390
19390
  ), [p, g] = i([]), [v, N] = i([]), [M, I] = i(0), [k, E] = i(1), [V, X] = i(!1), [R, w] = i(
19391
19391
  void 0
@@ -20701,7 +20701,7 @@ function QS({ item: t }) {
20701
20701
  );
20702
20702
  }
20703
20703
  function XS() {
20704
- const t = xt((V) => V.token), a = xt((V) => V.currentUser), l = Ng(a, "OPS_CONFIG_MANAGE"), [s, r] = i([]), [c, d] = i(!1), [o, h] = i(null), [u, y] = i(""), [T, C] = i(""), [f, $] = i(""), [p, g] = i(!1), [v, N] = i(null), M = re(async () => {
20704
+ const t = It((V) => V.token), a = It((V) => V.currentUser), l = Ng(a, "OPS_CONFIG_MANAGE"), [s, r] = i([]), [c, d] = i(!1), [o, h] = i(null), [u, y] = i(""), [T, C] = i(""), [f, $] = i(""), [p, g] = i(!1), [v, N] = i(null), M = re(async () => {
20705
20705
  d(!0);
20706
20706
  try {
20707
20707
  const V = await np(t);
@@ -20906,7 +20906,7 @@ const ZS = "_onCallPage_j539h_1", ek = "_leftPanel_j539h_9", tk = "_panelHeader_
20906
20906
  emptyState: Dk
20907
20907
  }, Ec = ["周一", "周二", "周三", "周四", "周五", "周六", "周日"], Rk = "00:00:00", Ok = "23:59:59";
20908
20908
  function zk() {
20909
- const t = xt((Z) => Z.token), [a, l] = i([]), [s, r] = i(null), [c, d] = i([]), [o, h] = i(!1), [u, y] = i(!1), [T, C] = i(null), [f, $] = i("weekly"), [p, g] = i(pt()), [v, N] = i([]), [M, I] = i(""), k = re(async () => {
20909
+ const t = It((Z) => Z.token), [a, l] = i([]), [s, r] = i(null), [c, d] = i([]), [o, h] = i(!1), [u, y] = i(!1), [T, C] = i(null), [f, $] = i("weekly"), [p, g] = i(pt()), [v, N] = i([]), [M, I] = i(""), k = re(async () => {
20910
20910
  h(!0);
20911
20911
  try {
20912
20912
  const Z = await ra(t);
@@ -21041,9 +21041,9 @@ function zk() {
21041
21041
  ae && w(se.dayOfWeek, ae);
21042
21042
  },
21043
21043
  notFoundContent: M ? /* @__PURE__ */ e(ot, { size: "small" }) : /* @__PURE__ */ e(
21044
- It,
21044
+ At,
21045
21045
  {
21046
- image: It.PRESENTED_IMAGE_SIMPLE,
21046
+ image: At.PRESENTED_IMAGE_SIMPLE,
21047
21047
  description: "输入关键字搜索"
21048
21048
  }
21049
21049
  ),
@@ -21149,7 +21149,7 @@ function zk() {
21149
21149
  " 周循环"
21150
21150
  ] }),
21151
21151
  children: /* @__PURE__ */ e("div", { className: qt.tableCard, children: /* @__PURE__ */ e(
21152
- At,
21152
+ kt,
21153
21153
  {
21154
21154
  rowKey: "dayOfWeek",
21155
21155
  dataSource: X,
@@ -21220,7 +21220,7 @@ function zk() {
21220
21220
  ]
21221
21221
  }
21222
21222
  )
21223
- ] }) : /* @__PURE__ */ e("div", { className: qt.emptyState, children: /* @__PURE__ */ e(It, { description: "请选择左侧场景" }) }) })
21223
+ ] }) : /* @__PURE__ */ e("div", { className: qt.emptyState, children: /* @__PURE__ */ e(At, { description: "请选择左侧场景" }) }) })
21224
21224
  ] });
21225
21225
  }
21226
21226
  function Aa(t) {
@@ -21532,7 +21532,7 @@ function Qx({
21532
21532
  ) : null
21533
21533
  ] }),
21534
21534
  /* @__PURE__ */ e("div", { className: Ae.tableWrap, children: /* @__PURE__ */ e(
21535
- At,
21535
+ kt,
21536
21536
  {
21537
21537
  rowKey: "instance_id",
21538
21538
  size: "small",
@@ -22198,7 +22198,7 @@ function iI({
22198
22198
  "」· 按日期倒序,最多 60 条;点日期跳到「日报详情」查看当日内容"
22199
22199
  ] }),
22200
22200
  /* @__PURE__ */ e("div", { className: Ae.tableWrap, children: /* @__PURE__ */ e(
22201
- At,
22201
+ kt,
22202
22202
  {
22203
22203
  rowKey: "id",
22204
22204
  size: "small",
@@ -22431,7 +22431,7 @@ function oI({
22431
22431
  ] })
22432
22432
  ] }),
22433
22433
  /* @__PURE__ */ e(
22434
- At,
22434
+ kt,
22435
22435
  {
22436
22436
  rowKey: "code",
22437
22437
  size: "small",
@@ -22937,7 +22937,7 @@ function pI(t) {
22937
22937
  return !!(t && t.editable);
22938
22938
  }
22939
22939
  function gI() {
22940
- const t = xt((O) => O.token) || "", [a, l] = i("detail"), [s, r] = i(pt()), [c, d] = i(!1), [o, h] = i(null), [u, y] = i(null), [T, C] = i(!0), [f, $] = i(""), [p, g] = i([]), [v, N] = i({}), [M, I] = i("wide"), [k, E] = i(
22940
+ const t = It((O) => O.token) || "", [a, l] = i("detail"), [s, r] = i(pt()), [c, d] = i(!1), [o, h] = i(null), [u, y] = i(null), [T, C] = i(!0), [f, $] = i(""), [p, g] = i([]), [v, N] = i({}), [M, I] = i("wide"), [k, E] = i(
22941
22941
  "dingtalk"
22942
22942
  ), [V, X] = i([]), [R, w] = i(
22943
22943
  null
@@ -23579,7 +23579,7 @@ function vI(t) {
23579
23579
  return t === "GLOBAL_ADMIN" ? "red" : t.endsWith("_VIEW") ? "cyan" : t.endsWith("_MANAGE") ? "purple" : "blue";
23580
23580
  }
23581
23581
  function bI() {
23582
- const t = xt((_e) => _e.token), [a, l] = i([]), [s, r] = i(!1), [c, d] = i({}), [o, h] = i([]), [u, y] = i(!1), [T, C] = i(!1), [f, $] = i(null), [p, g] = i({
23582
+ const t = It((_e) => _e.token), [a, l] = i([]), [s, r] = i(!1), [c, d] = i({}), [o, h] = i([]), [u, y] = i(!1), [T, C] = i(!1), [f, $] = i(null), [p, g] = i({
23583
23583
  roleCode: "",
23584
23584
  roleName: "",
23585
23585
  description: ""
@@ -24373,7 +24373,7 @@ function bI() {
24373
24373
  }
24374
24374
  ),
24375
24375
  /* @__PURE__ */ e(
24376
- Table,
24376
+ kt,
24377
24377
  {
24378
24378
  rowKey: "staffId",
24379
24379
  columns: [
@@ -24405,10 +24405,10 @@ function bI() {
24405
24405
  scroll: { y: 320 },
24406
24406
  locale: {
24407
24407
  emptyText: /* @__PURE__ */ e(
24408
- It,
24408
+ At,
24409
24409
  {
24410
24410
  description: "暂无已选成员",
24411
- image: It.PRESENTED_IMAGE_SIMPLE
24411
+ image: At.PRESENTED_IMAGE_SIMPLE
24412
24412
  }
24413
24413
  )
24414
24414
  },
@@ -24439,7 +24439,7 @@ function bI() {
24439
24439
  }
24440
24440
  ),
24441
24441
  /* @__PURE__ */ e(
24442
- Table,
24442
+ kt,
24443
24443
  {
24444
24444
  rowKey: "staffId",
24445
24445
  columns: [
@@ -24471,10 +24471,10 @@ function bI() {
24471
24471
  scroll: { y: 320 },
24472
24472
  locale: {
24473
24473
  emptyText: /* @__PURE__ */ e(
24474
- It,
24474
+ At,
24475
24475
  {
24476
24476
  description: "暂无未选成员",
24477
- image: It.PRESENTED_IMAGE_SIMPLE
24477
+ image: At.PRESENTED_IMAGE_SIMPLE
24478
24478
  }
24479
24479
  )
24480
24480
  },
@@ -24517,7 +24517,7 @@ function bI() {
24517
24517
  ]
24518
24518
  }
24519
24519
  ),
24520
- ve === "roles" ? o.length === 0 ? /* @__PURE__ */ e(It, { description: "暂无角色,请先在「角色管理」创建" }) : /* @__PURE__ */ e(
24520
+ ve === "roles" ? o.length === 0 ? /* @__PURE__ */ e(At, { description: "暂无角色,请先在「角色管理」创建" }) : /* @__PURE__ */ e(
24521
24521
  na.Group,
24522
24522
  {
24523
24523
  value: he,
@@ -25725,9 +25725,9 @@ function q$({
25725
25725
  ] })
25726
25726
  ] }),
25727
25727
  a.length === 0 ? /* @__PURE__ */ e(
25728
- It,
25728
+ At,
25729
25729
  {
25730
- image: It.PRESENTED_IMAGE_SIMPLE,
25730
+ image: At.PRESENTED_IMAGE_SIMPLE,
25731
25731
  description: /* @__PURE__ */ e("span", { className: ue.evalEmpty, children: "未蒸馏出核心业务问题" }),
25732
25732
  style: { margin: "8px 0" }
25733
25733
  }
@@ -26645,7 +26645,7 @@ function oL({
26645
26645
  reportSummary: c,
26646
26646
  questions: d
26647
26647
  }) {
26648
- const o = xt((A) => A.token) || "", h = xt((A) => A.currentUser), [u, y] = i([]), [T, C] = i(!1), [f, $] = i(!1), [p, g] = i(!1), [v, N] = i(null), [M, I] = i(""), [k, E] = i(""), [V, X] = i(null), [R, w] = i(null), [Y, le] = i(0);
26648
+ const o = It((A) => A.token) || "", h = It((A) => A.currentUser), [u, y] = i([]), [T, C] = i(!1), [f, $] = i(!1), [p, g] = i(!1), [v, N] = i(null), [M, I] = i(""), [k, E] = i(""), [V, X] = i(null), [R, w] = i(null), [Y, le] = i(0);
26649
26649
  ke(() => {
26650
26650
  if (!t) return;
26651
26651
  if (!o) {
@@ -26991,9 +26991,9 @@ ${nr(W, "无本体返回质量异常问题")}
26991
26991
  ) : (
26992
26992
  /* ──── 笔记列表:按创建时间倒序 ──── */
26993
26993
  /* @__PURE__ */ e(ot, { spinning: T, children: /* @__PURE__ */ e("div", { className: ue.noteList, style: { gap: 12 }, children: u.length === 0 ? /* @__PURE__ */ e(
26994
- It,
26994
+ At,
26995
26995
  {
26996
- image: It.PRESENTED_IMAGE_SIMPLE,
26996
+ image: At.PRESENTED_IMAGE_SIMPLE,
26997
26997
  description: T ? "笔记加载中" : "暂无笔记,点击「新增笔记」或上方模板快速记录"
26998
26998
  }
26999
26999
  ) : u.map((A) => {
@@ -27529,7 +27529,7 @@ const QL = [
27529
27529
  function XL({
27530
27530
  onBack: t
27531
27531
  } = {}) {
27532
- const a = xt((v) => v.token) || "", [l] = i(JL), [s, r] = i(null), [c, d] = i(!1), [o, h] = i(null), [u, y] = i("eval"), [T, C] = i(!1), f = re(async () => {
27532
+ const a = It((v) => v.token) || "", [l] = i(JL), [s, r] = i(null), [c, d] = i(!1), [o, h] = i(null), [u, y] = i("eval"), [T, C] = i(!1), f = re(async () => {
27533
27533
  if (l != null) {
27534
27534
  d(!0), h(null);
27535
27535
  try {
@@ -27874,9 +27874,9 @@ function uo({
27874
27874
  "知识库"
27875
27875
  ] }),
27876
27876
  /* @__PURE__ */ e("div", { className: Ft.panelBody, children: u ? /* @__PURE__ */ e("div", { className: Ft.panelLoading, children: /* @__PURE__ */ e(ot, { size: "small" }) }) : s.length === 0 ? /* @__PURE__ */ e(
27877
- It,
27877
+ At,
27878
27878
  {
27879
- image: It.PRESENTED_IMAGE_SIMPLE,
27879
+ image: At.PRESENTED_IMAGE_SIMPLE,
27880
27880
  description: "暂无知识库",
27881
27881
  className: Ft.panelEmpty
27882
27882
  }
@@ -27973,9 +27973,9 @@ function uo({
27973
27973
  );
27974
27974
  })
27975
27975
  ] }) : /* @__PURE__ */ e(
27976
- It,
27976
+ At,
27977
27977
  {
27978
- image: It.PRESENTED_IMAGE_SIMPLE,
27978
+ image: At.PRESENTED_IMAGE_SIMPLE,
27979
27979
  description: "请先选择知识库",
27980
27980
  className: Ft.panelEmpty
27981
27981
  }
@@ -27987,9 +27987,9 @@ function uo({
27987
27987
  "文件"
27988
27988
  ] }),
27989
27989
  /* @__PURE__ */ e("div", { className: Ft.panelBody, children: p ? f ? /* @__PURE__ */ e("div", { className: Ft.panelLoading, children: /* @__PURE__ */ e(ot, { size: "small" }) }) : o.length === 0 ? /* @__PURE__ */ e(
27990
- It,
27990
+ At,
27991
27991
  {
27992
- image: It.PRESENTED_IMAGE_SIMPLE,
27992
+ image: At.PRESENTED_IMAGE_SIMPLE,
27993
27993
  description: "暂无文档",
27994
27994
  className: Ft.panelEmpty
27995
27995
  }
@@ -28024,9 +28024,9 @@ function uo({
28024
28024
  `${Q ?? sr}/${D.filename}`
28025
28025
  );
28026
28026
  }) : /* @__PURE__ */ e(
28027
- It,
28027
+ At,
28028
28028
  {
28029
- image: It.PRESENTED_IMAGE_SIMPLE,
28029
+ image: At.PRESENTED_IMAGE_SIMPLE,
28030
28030
  description: "请先选择知识库",
28031
28031
  className: Ft.panelEmpty
28032
28032
  }
@@ -28281,7 +28281,7 @@ function uD(t) {
28281
28281
  }) : [];
28282
28282
  }
28283
28283
  function mD() {
28284
- const t = xt((O) => O.token) || "", [a, l] = i([]), [s, r] = i(!1), [c, d] = i([]), [o, h] = i(!1), [u, y] = i([]), [T, C] = i("strategies"), [f, $] = i(/* @__PURE__ */ new Set()), [p, g] = i(/* @__PURE__ */ new Set()), [v, N] = i(!1), [M, I] = i(null), [k, E] = i(!1), [V] = Ve.useForm(), [X, R] = i(Sl[0].value), [w, Y] = i([]), [le, q] = i(!1), [de, Se] = i("ALL"), [Z, se] = i("ALL"), [ae, xe] = i(""), B = Ee(() => {
28284
+ const t = It((O) => O.token) || "", [a, l] = i([]), [s, r] = i(!1), [c, d] = i([]), [o, h] = i(!1), [u, y] = i([]), [T, C] = i("strategies"), [f, $] = i(/* @__PURE__ */ new Set()), [p, g] = i(/* @__PURE__ */ new Set()), [v, N] = i(!1), [M, I] = i(null), [k, E] = i(!1), [V] = Ve.useForm(), [X, R] = i(Sl[0].value), [w, Y] = i([]), [le, q] = i(!1), [de, Se] = i("ALL"), [Z, se] = i("ALL"), [ae, xe] = i(""), B = Ee(() => {
28285
28285
  const O = ae.trim().toLowerCase();
28286
28286
  return O ? a.filter(
28287
28287
  (z) => `${z.name || ""} ${z.taskCode || ""}`.toLowerCase().includes(O)
@@ -28665,7 +28665,7 @@ function mD() {
28665
28665
  ] })
28666
28666
  ] }),
28667
28667
  /* @__PURE__ */ e("div", { className: ht.tableWrap, children: /* @__PURE__ */ e(
28668
- At,
28668
+ kt,
28669
28669
  {
28670
28670
  rowKey: "taskCode",
28671
28671
  size: "small",
@@ -28726,7 +28726,7 @@ function mD() {
28726
28726
  ) })
28727
28727
  ] }),
28728
28728
  /* @__PURE__ */ e("div", { className: ht.tableWrap, children: /* @__PURE__ */ e(
28729
- At,
28729
+ kt,
28730
28730
  {
28731
28731
  rowKey: "id",
28732
28732
  size: "small",
@@ -29602,7 +29602,7 @@ function qR({
29602
29602
  onEnterProject: t,
29603
29603
  onOpenDetail: a
29604
29604
  }) {
29605
- const l = xt((fe) => fe.token) || "", [s, r] = i(null), [c, d] = i(), [o, h] = i(""), u = GR(o, 400), [y, T] = i(), [C, f] = i(), [$, p] = i(), [g, v] = i(null), [N, M] = i(1), [I, k] = i(100), E = s ? s[0].format("YYYY-MM-DD") : "", V = s ? s[1].format("YYYY-MM-DD") : "", X = !!s && E === V, [R, w] = i(null), [Y, le] = i(!1), q = re(async () => {
29605
+ const l = It((fe) => fe.token) || "", [s, r] = i(null), [c, d] = i(), [o, h] = i(""), u = GR(o, 400), [y, T] = i(), [C, f] = i(), [$, p] = i(), [g, v] = i(null), [N, M] = i(1), [I, k] = i(100), E = s ? s[0].format("YYYY-MM-DD") : "", V = s ? s[1].format("YYYY-MM-DD") : "", X = !!s && E === V, [R, w] = i(null), [Y, le] = i(!1), q = re(async () => {
29606
29606
  le(!0);
29607
29607
  try {
29608
29608
  const fe = await Qs({
@@ -30337,7 +30337,7 @@ function qR({
30337
30337
  ] }),
30338
30338
  /* @__PURE__ */ n("div", { className: ze.tableWrap, children: [
30339
30339
  /* @__PURE__ */ e(
30340
- At,
30340
+ kt,
30341
30341
  {
30342
30342
  rowKey: "id",
30343
30343
  size: "small",
@@ -31012,7 +31012,7 @@ function vO({
31012
31012
  ] }, w.label)) }),
31013
31013
  /* @__PURE__ */ e("div", { ref: g, children: /* @__PURE__ */ n(bt, { defaultActiveKey: "tasks", size: "small", className: Ge.subTabs, children: [
31014
31014
  /* @__PURE__ */ e(bt.TabPane, { tab: `活跃任务(${$})`, children: /* @__PURE__ */ e(
31015
- At,
31015
+ kt,
31016
31016
  {
31017
31017
  rowKey: "id",
31018
31018
  size: "small",
@@ -31039,7 +31039,7 @@ function vO({
31039
31039
  {
31040
31040
  tab: `Agent 执行队列(${k.length} 群聊 / ${((R = s == null ? void 0 : s.agent_queues) == null ? void 0 : R.length) ?? 0} Agent)`,
31041
31041
  children: /* @__PURE__ */ e(
31042
- At,
31042
+ kt,
31043
31043
  {
31044
31044
  rowKey: (w) => String(w.scenario_instance_id ?? "__none__"),
31045
31045
  size: "small",
@@ -31050,7 +31050,7 @@ function vO({
31050
31050
  scroll: { x: "max-content" },
31051
31051
  expandable: {
31052
31052
  expandedRowRender: (w) => /* @__PURE__ */ e(
31053
- At,
31053
+ kt,
31054
31054
  {
31055
31055
  rowKey: "queue_key",
31056
31056
  size: "small",
@@ -31243,7 +31243,7 @@ function NO({
31243
31243
  {
31244
31244
  tab: `当前生效值(${((T = l == null ? void 0 : l.current) == null ? void 0 : T.length) ?? 0})`,
31245
31245
  children: /* @__PURE__ */ e(
31246
- At,
31246
+ kt,
31247
31247
  {
31248
31248
  rowKey: (f) => `${f.config_group}:${f.config_key}`,
31249
31249
  size: "small",
@@ -31263,7 +31263,7 @@ function NO({
31263
31263
  {
31264
31264
  tab: `最近 24h 变更(${((C = l == null ? void 0 : l.changes) == null ? void 0 : C.length) ?? 0})`,
31265
31265
  children: /* @__PURE__ */ e(
31266
- At,
31266
+ kt,
31267
31267
  {
31268
31268
  rowKey: "snapshot_time",
31269
31269
  size: "small",
@@ -31287,7 +31287,7 @@ function NO({
31287
31287
  function wO({
31288
31288
  onEnterProject: t
31289
31289
  }) {
31290
- const a = xt((f) => f.token) || "", [l, s] = i(!0), [r, c] = i(0), [d, o] = i(1), [h, u] = i(
31290
+ const a = It((f) => f.token) || "", [l, s] = i(!0), [r, c] = i(0), [d, o] = i(1), [h, u] = i(
31291
31291
  []
31292
31292
  ), y = zt(null), T = re(() => {
31293
31293
  c((f) => f + 1);
@@ -31380,7 +31380,7 @@ function wO({
31380
31380
  ] });
31381
31381
  }
31382
31382
  function TO() {
31383
- const t = xt((s) => s.token) || "", [a, l] = i(0);
31383
+ const t = It((s) => s.token) || "", [a, l] = i(0);
31384
31384
  return /* @__PURE__ */ n("div", { className: Ge.page, children: [
31385
31385
  /* @__PURE__ */ n("div", { className: Ge.toolbar, children: [
31386
31386
  /* @__PURE__ */ e("div", { className: Ge.toolbarLeft, children: /* @__PURE__ */ e("h1", { className: Ge.pageTitle, children: "运行配置" }) }),
@@ -31931,7 +31931,7 @@ function AO() {
31931
31931
  }
31932
31932
  )
31933
31933
  ] }) : /* @__PURE__ */ e(
31934
- At,
31934
+ kt,
31935
31935
  {
31936
31936
  rowKey: "id",
31937
31937
  dataSource: _,
@@ -32499,7 +32499,7 @@ function ez({
32499
32499
  }) {
32500
32500
  const [a, l] = i(), [s, r] = i(), [c, d] = i(), [o, h] = i(), [u, y] = i(""), [T, C] = i(""), [f, $] = i(
32501
32501
  null
32502
- ), [p, g] = i(), [v, N] = i(), [M, I] = i(), [k, E] = i([]), [V, X] = i(!1), [R, w] = i([]), [Y, le] = i([]), [q, de] = i(!1), [Se, Z] = i([]), [se, ae] = i(null), [xe, B] = i(!1), [H, L] = i(0), [P, A] = i(1), [oe, D] = i(50), [Q, ee] = i(""), [W, _] = i(""), F = xt((ie) => ie.token);
32502
+ ), [p, g] = i(), [v, N] = i(), [M, I] = i(), [k, E] = i([]), [V, X] = i(!1), [R, w] = i([]), [Y, le] = i([]), [q, de] = i(!1), [Se, Z] = i([]), [se, ae] = i(null), [xe, B] = i(!1), [H, L] = i(0), [P, A] = i(1), [oe, D] = i(50), [Q, ee] = i(""), [W, _] = i(""), F = It((ie) => ie.token);
32503
32503
  ke(() => {
32504
32504
  let ie = !1;
32505
32505
  return X(!0), kr(void 0, F).then((S) => {
@@ -33121,7 +33121,7 @@ const dd = {
33121
33121
  status: "ACTIVE"
33122
33122
  };
33123
33123
  function tz() {
33124
- const t = xt().token ?? "", [a, l] = i([]), [s, r] = i(!1), [c, d] = i(""), [o, h] = i(""), [u, y] = i(null), [T, C] = i([]), [f, $] = i(!1), [p, g] = i(
33124
+ const t = It().token ?? "", [a, l] = i([]), [s, r] = i(!1), [c, d] = i(""), [o, h] = i(""), [u, y] = i(null), [T, C] = i([]), [f, $] = i(!1), [p, g] = i(
33125
33125
  null
33126
33126
  ), [v, N] = i(""), [M, I] = i("{}"), [k, E] = i(!1), [V, X] = i(!1), [R, w] = i(!1), [Y, le] = i({
33127
33127
  ...ud
@@ -33379,7 +33379,7 @@ function tz() {
33379
33379
  )
33380
33380
  ] }),
33381
33381
  /* @__PURE__ */ e(
33382
- At,
33382
+ kt,
33383
33383
  {
33384
33384
  rowKey: "id",
33385
33385
  size: "small",
@@ -33424,7 +33424,7 @@ function tz() {
33424
33424
  )
33425
33425
  ] }),
33426
33426
  /* @__PURE__ */ e(
33427
- At,
33427
+ kt,
33428
33428
  {
33429
33429
  rowKey: "id",
33430
33430
  size: "small",
@@ -33612,7 +33612,7 @@ function md(t) {
33612
33612
  }
33613
33613
  function sz() {
33614
33614
  var p;
33615
- const t = xt((g) => g.token) || "", [a, l] = i(!0), [s, r] = i(0), [c, d] = i(null), [o, h] = i(!1), u = re(async () => {
33615
+ const t = It((g) => g.token) || "", [a, l] = i(!0), [s, r] = i(0), [c, d] = i(null), [o, h] = i(!1), u = re(async () => {
33616
33616
  h(!0);
33617
33617
  try {
33618
33618
  const g = await fp(t);
@@ -33817,7 +33817,7 @@ function sz() {
33817
33817
  /* @__PURE__ */ e("span", { className: Ge.listHint, children: "按创建顺序展示,最多 200 条" })
33818
33818
  ] }),
33819
33819
  /* @__PURE__ */ e(
33820
- At,
33820
+ kt,
33821
33821
  {
33822
33822
  rowKey: "id",
33823
33823
  size: "small",
@@ -33840,7 +33840,7 @@ function sz() {
33840
33840
  /* @__PURE__ */ e("span", { className: Ge.listHint, children: "按开始时间倒序,最近 20 条" })
33841
33841
  ] }),
33842
33842
  /* @__PURE__ */ e(
33843
- At,
33843
+ kt,
33844
33844
  {
33845
33845
  rowKey: "id",
33846
33846
  size: "small",
@@ -34088,7 +34088,7 @@ function pd({ value: t }) {
34088
34088
  }
34089
34089
  function Cz() {
34090
34090
  var E, V;
34091
- const t = xt((X) => X.token) || "", [a, l] = i([]), [s, r] = i(!1), [c, d] = i(""), [o, h] = i(""), [u, y] = i(""), [T, C] = i(""), [f, $] = i(!1), [p, g] = i(null), v = re(async () => {
34091
+ const t = It((X) => X.token) || "", [a, l] = i([]), [s, r] = i(!1), [c, d] = i(""), [o, h] = i(""), [u, y] = i(""), [T, C] = i(""), [f, $] = i(!1), [p, g] = i(null), v = re(async () => {
34092
34092
  r(!0);
34093
34093
  try {
34094
34094
  const X = await yp(
@@ -34335,7 +34335,7 @@ function Cz() {
34335
34335
  )
34336
34336
  ] }) }),
34337
34337
  /* @__PURE__ */ e("div", { style: vz, children: /* @__PURE__ */ e("div", { className: `${lt.tableWrap} ${ju}`, children: /* @__PURE__ */ e(
34338
- At,
34338
+ kt,
34339
34339
  {
34340
34340
  rowKey: "id",
34341
34341
  size: "small",
@@ -34723,7 +34723,7 @@ const _d = {
34723
34723
  };
34724
34724
  function Oz() {
34725
34725
  var xe, B;
34726
- const t = xt((H) => H.token) || "", [a, l] = i([]), [s, r] = i(!1), [c, d] = i(""), [o, h] = i(""), [u, y] = i(""), [T, C] = i(!1), [f, $] = i(null), [p, g] = i(!1), [v, N] = i({ ..._d }), [M, I] = i(!1), [k, E] = i(null), V = re(async () => {
34726
+ const t = It((H) => H.token) || "", [a, l] = i([]), [s, r] = i(!1), [c, d] = i(""), [o, h] = i(""), [u, y] = i(""), [T, C] = i(!1), [f, $] = i(null), [p, g] = i(!1), [v, N] = i({ ..._d }), [M, I] = i(!1), [k, E] = i(null), V = re(async () => {
34727
34727
  r(!0);
34728
34728
  try {
34729
34729
  const H = await _p(
@@ -35138,7 +35138,7 @@ function Oz() {
35138
35138
  )
35139
35139
  ] }) }),
35140
35140
  /* @__PURE__ */ e("div", { style: Ez, children: /* @__PURE__ */ e("div", { className: `${lt.tableWrap} ${Uu}`, children: /* @__PURE__ */ e(
35141
- At,
35141
+ kt,
35142
35142
  {
35143
35143
  rowKey: "id",
35144
35144
  size: "small",
@@ -35582,7 +35582,7 @@ function IP() {
35582
35582
  void 0
35583
35583
  ), [ae, xe] = i(!0), [B, H] = i(!1), [L, P] = i(""), [A, oe] = i(""), [D, Q] = i(""), [ee, W] = i([]), [_, F] = i(""), [x, he] = i(""), [ye, We] = i([]), [qe, Oe] = i(
35584
35584
  null
35585
- ), [j, ve] = i(!1), O = xt((ne) => ne.token), z = re(async () => {
35585
+ ), [j, ve] = i(!1), O = It((ne) => ne.token), z = re(async () => {
35586
35586
  ve(!0);
35587
35587
  try {
35588
35588
  const ne = await oh(O);
@@ -36147,7 +36147,7 @@ function IP() {
36147
36147
  }
36148
36148
  )
36149
36149
  ] }) : /* @__PURE__ */ e(
36150
- At,
36150
+ kt,
36151
36151
  {
36152
36152
  rowKey: (ne) => ne.id || "",
36153
36153
  dataSource: at,
@@ -36463,7 +36463,7 @@ function $P({
36463
36463
  personalUsers: l
36464
36464
  }) {
36465
36465
  var C;
36466
- const s = xt((f) => f.currentUser), [r, c] = i(null), d = (l == null ? void 0 : l.length) || 0, o = ((C = t == null ? void 0 : t.personalChat) == null ? void 0 : C.messageCount) || 0, h = d > 0 ? Math.round(o / d) : 0, u = (l || []).find(
36466
+ const s = It((f) => f.currentUser), [r, c] = i(null), d = (l == null ? void 0 : l.length) || 0, o = ((C = t == null ? void 0 : t.personalChat) == null ? void 0 : C.messageCount) || 0, h = d > 0 ? Math.round(o / d) : 0, u = (l || []).find(
36467
36467
  (f) => String(f.userId) === String(s == null ? void 0 : s.id) || f.displayName === (s == null ? void 0 : s.display_name)
36468
36468
  ), y = (f) => f ? /* @__PURE__ */ n(Ke, { children: [
36469
36469
  /* @__PURE__ */ n("div", { className: Ce.kpiGrid, children: [
@@ -36720,7 +36720,7 @@ function Fs({
36720
36720
  key: String(r.date ?? c)
36721
36721
  }));
36722
36722
  return /* @__PURE__ */ e(
36723
- At,
36723
+ kt,
36724
36724
  {
36725
36725
  className: Ce.trendTable,
36726
36726
  size: "small",
@@ -37300,7 +37300,7 @@ const js = {
37300
37300
  function Us({
37301
37301
  panel: t = "global"
37302
37302
  }) {
37303
- const a = xt((B) => B.token), [l] = i(() => WP(t)), [s, r] = i(
37303
+ const a = It((B) => B.token), [l] = i(() => WP(t)), [s, r] = i(
37304
37304
  () => l.rangePreset
37305
37305
  ), [c, d] = i(
37306
37306
  () => l.customRange
@@ -37640,7 +37640,7 @@ function KP({
37640
37640
  );
37641
37641
  }
37642
37642
  function JP() {
37643
- const t = xt((I) => I.token), [a, l] = i("30d"), [s, r] = i(null), [c, d] = i(null), [o, h] = i(!1), u = Ee(() => {
37643
+ const t = It((I) => I.token), [a, l] = i("30d"), [s, r] = i(null), [c, d] = i(null), [o, h] = i(!1), u = Ee(() => {
37644
37644
  const I = pt();
37645
37645
  return a === "7d" ? [
37646
37646
  I.subtract(6, "day").format("YYYY-MM-DD"),
@@ -37899,7 +37899,7 @@ function JP() {
37899
37899
  )
37900
37900
  ] }),
37901
37901
  T.length > 0 ? /* @__PURE__ */ e(
37902
- At,
37902
+ kt,
37903
37903
  {
37904
37904
  className: Ce.trendTable,
37905
37905
  size: "small",
@@ -37910,8 +37910,8 @@ function JP() {
37910
37910
  scroll: { x: 960, y: 480 },
37911
37911
  columns: g,
37912
37912
  dataSource: T,
37913
- summary: () => /* @__PURE__ */ e(At.Summary, { fixed: !0, children: /* @__PURE__ */ e(At.Summary.Row, { children: g.map((I, k) => /* @__PURE__ */ e(
37914
- At.Summary.Cell,
37913
+ summary: () => /* @__PURE__ */ e(kt.Summary, { fixed: !0, children: /* @__PURE__ */ e(kt.Summary.Row, { children: g.map((I, k) => /* @__PURE__ */ e(
37914
+ kt.Summary.Cell,
37915
37915
  {
37916
37916
  index: k,
37917
37917
  align: I.key === "scenarioCode" ? void 0 : "center",
@@ -37926,7 +37926,7 @@ function JP() {
37926
37926
  }
37927
37927
  const { RangePicker: QP } = Bn;
37928
37928
  function XP() {
37929
- const t = xt((s) => s.token), [a, l] = i([]);
37929
+ const t = It((s) => s.token), [a, l] = i([]);
37930
37930
  return ke(() => {
37931
37931
  let s = !1;
37932
37932
  return ra(t).then((r) => {
@@ -37969,7 +37969,7 @@ function ZP({
37969
37969
  scenarioOptions: t
37970
37970
  }) {
37971
37971
  var $, p, g, v;
37972
- const a = xt((N) => N.token), [l, s] = i("30d"), [r, c] = i(null), [d, o] = i(), [h, u] = i(null), [y, T] = i(!1), C = Ee(() => {
37972
+ const a = It((N) => N.token), [l, s] = i("30d"), [r, c] = i(null), [d, o] = i(), [h, u] = i(null), [y, T] = i(!1), C = Ee(() => {
37973
37973
  const N = pt();
37974
37974
  return l === "7d" ? [
37975
37975
  N.subtract(6, "day").format("YYYY-MM-DD"),
@@ -38089,7 +38089,7 @@ function eM({
38089
38089
  scenarioOptions: t
38090
38090
  }) {
38091
38091
  var C, f, $, p;
38092
- const a = xt((g) => g.token), [l, s] = i(pt()), [r, c] = i(), [d, o] = i(null), [h, u] = i(!1), y = re(async () => {
38092
+ const a = It((g) => g.token), [l, s] = i(pt()), [r, c] = i(), [d, o] = i(null), [h, u] = i(!1), y = re(async () => {
38093
38093
  u(!0);
38094
38094
  try {
38095
38095
  const g = await Fd({
@@ -38391,7 +38391,7 @@ function lM({
38391
38391
  }
38392
38392
  function sM() {
38393
38393
  var N, M, I, k, E, V, X;
38394
- const t = xt((R) => R.token), [a, l] = i(pt()), [s, r] = i(), [c, d] = i([]), [o, h] = i(!1), [u, y] = i(null), [T, C] = i(null), [f, $] = i([]);
38394
+ const t = It((R) => R.token), [a, l] = i(pt()), [s, r] = i(), [c, d] = i([]), [o, h] = i(!1), [u, y] = i(null), [T, C] = i(null), [f, $] = i([]);
38395
38395
  ke(() => {
38396
38396
  let R = !1;
38397
38397
  return ra(t).then((w) => {
@@ -39198,7 +39198,7 @@ function J4({
39198
39198
  instanceId: t,
39199
39199
  onBack: a
39200
39200
  }) {
39201
- const l = xt((M) => M.token) || "", [s, r] = i(null), [c, d] = i(!1), [o, h] = i(null), u = re(async () => {
39201
+ const l = It((M) => M.token) || "", [s, r] = i(null), [c, d] = i(!1), [o, h] = i(null), u = re(async () => {
39202
39202
  d(!0);
39203
39203
  try {
39204
39204
  const M = await zd(t, l);
@@ -39460,7 +39460,7 @@ function Ad({
39460
39460
  function X4({
39461
39461
  onOpenDetail: t
39462
39462
  }) {
39463
- const a = xt((L) => L.token) || "", [l, s] = i(() => pt()), [r, c] = i(), d = l.format("YYYY-MM-DD"), [o, h] = i(null), [u, y] = i(!1), T = re(async () => {
39463
+ const a = It((L) => L.token) || "", [l, s] = i(() => pt()), [r, c] = i(), d = l.format("YYYY-MM-DD"), [o, h] = i(null), [u, y] = i(!1), T = re(async () => {
39464
39464
  y(!0);
39465
39465
  try {
39466
39466
  const L = await Qs({
@@ -39806,7 +39806,7 @@ function X4({
39806
39806
  /* @__PURE__ */ e("span", { className: be.listHint, children: "点击行查看评测报告;重新评测将覆盖原报告" })
39807
39807
  ] }),
39808
39808
  /* @__PURE__ */ e(
39809
- At,
39809
+ kt,
39810
39810
  {
39811
39811
  rowKey: "id",
39812
39812
  size: "small",
@@ -39938,7 +39938,7 @@ const t6 = "_tagPage_1f1il_4", n6 = "_leftPanel_1f1il_48", a6 = "_panelHeader_1f
39938
39938
  tagTooltip: W6
39939
39939
  }, Ws = (t) => t.tagKey ?? "", Kl = (t) => t.tagName ?? "", Cr = (t) => t.tagColor ?? "", Vs = (t) => t.sortOrder ?? 0, Nr = (t) => t.value ?? "", $d = (t) => t.valueDesc ?? "", Ys = (t) => t.sortOrder ?? 0, Xl = "#1890ff", V6 = (t) => /^#[0-9a-fA-F]{6}$/.test(t.trim()) ? t.trim() : Xl;
39940
39940
  function Y6() {
39941
- const t = xt((De) => De.token), [a, l] = i([]), [s, r] = i(!1), [c, d] = i(null), [o, h] = i([]), [u, y] = i(!1), [T, C] = i(!1), [f, $] = i(null), [p, g] = i([]), [v, N] = i(!1), [M, I] = i(!1), [k, E] = i(null), [V, X] = i(!1), [R, w] = i(""), [Y, le] = i(""), [q, de] = i(Xl), [Se, Z] = i(""), [se, ae] = i(0), [xe, B] = i(!1), [H, L] = i(
39941
+ const t = It((De) => De.token), [a, l] = i([]), [s, r] = i(!1), [c, d] = i(null), [o, h] = i([]), [u, y] = i(!1), [T, C] = i(!1), [f, $] = i(null), [p, g] = i([]), [v, N] = i(!1), [M, I] = i(!1), [k, E] = i(null), [V, X] = i(!1), [R, w] = i(""), [Y, le] = i(""), [q, de] = i(Xl), [Se, Z] = i(""), [se, ae] = i(0), [xe, B] = i(!1), [H, L] = i(
39942
39942
  null
39943
39943
  ), [P, A] = i(!1), [oe, D] = i(""), [Q, ee] = i(""), [W, _] = i(0), [F, x] = i(""), he = Ee(() => {
39944
39944
  const De = F.trim().toLowerCase();
@@ -40322,7 +40322,7 @@ function Y6() {
40322
40322
  ] })
40323
40323
  ] }),
40324
40324
  u ? /* @__PURE__ */ e("div", { className: Je.loadingWrap, children: /* @__PURE__ */ e(ot, { size: "small", tip: "加载中..." }) }) : /* @__PURE__ */ e("div", { className: `${Je.tableWrap} ${Je.compactTable}`, children: /* @__PURE__ */ e(
40325
- At,
40325
+ kt,
40326
40326
  {
40327
40327
  rowKey: (De) => String(De.id),
40328
40328
  dataSource: he,
@@ -40373,7 +40373,7 @@ function Y6() {
40373
40373
  )
40374
40374
  ] }),
40375
40375
  v ? /* @__PURE__ */ e("div", { className: Je.loadingWrap, children: /* @__PURE__ */ e(ot, { size: "small", tip: "加载中..." }) }) : /* @__PURE__ */ e("div", { className: `${Je.drawerTableWrap} ${Je.compactTable}`, children: /* @__PURE__ */ e(
40376
- At,
40376
+ kt,
40377
40377
  {
40378
40378
  rowKey: (De) => String(De.id),
40379
40379
  dataSource: p,